| @@ -1,3411 +1,3498 @@ | ||
| 1 | +/*! elementor - v3.7.3 - 29-08-2022 */ | |
| 2 | +(self["webpackChunkelementor"] = self["webpackChunkelementor"] || []).push([["frontend-modules"],{ | |
| 3 | + | |
| 4 | +/***/ "../assets/dev/js/editor/utils/is-instanceof.js": | |
| 5 | +/*!******************************************************!*\ | |
| 6 | + !*** ../assets/dev/js/editor/utils/is-instanceof.js ***! | |
| 7 | + \******************************************************/ | |
| 8 | +/***/ ((__unused_webpack_module, exports) => { | |
| 9 | + | |
| 1 | 10 | "use strict"; |
| 2 | 11 | |
| 3 | -(function() { | |
| 4 | 12 | |
| 5 | -//#region \0rolldown/runtime.js | |
| 6 | - var __defProp = Object.defineProperty; | |
| 7 | - var __name = (target, value) => __defProp(target, "name", { | |
| 8 | - value, | |
| 9 | - configurable: true | |
| 10 | - }); | |
| 11 | - var __esmMin = (fn, res, err) => () => { | |
| 12 | - if (err) throw err[0]; | |
| 13 | - try { | |
| 14 | - return fn && (res = fn(fn = 0)), res; | |
| 15 | - } catch (e) { | |
| 16 | - throw err = [e], e; | |
| 17 | - } | |
| 18 | - }; | |
| 19 | - var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports); | |
| 13 | +Object.defineProperty(exports, "__esModule", ({ | |
| 14 | + value: true | |
| 15 | +})); | |
| 16 | +exports["default"] = void 0; | |
| 20 | 17 | |
| 21 | -//#endregion | |
| 18 | +/** | |
| 19 | + * Some FileAPI objects such as FileList, DataTransferItem and DataTransferItemList has inconsistency with the retrieved | |
| 20 | + * object (from events, etc.) and the actual JavaScript object so a regular instanceof doesn't work. This function can | |
| 21 | + * check whether it's instanceof by using the objects constructor and prototype names. | |
| 22 | + * | |
| 23 | + * @param object | |
| 24 | + * @param constructors | |
| 25 | + * @return {boolean} | |
| 26 | + */ | |
| 27 | +var _default = (object, constructors) => { | |
| 28 | + constructors = Array.isArray(constructors) ? constructors : [constructors]; | |
| 22 | 29 | |
| 23 | -//#region node_modules/@babel/runtime/helpers/interopRequireDefault.js | |
| 24 | - var require_interopRequireDefault = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 25 | - function _interopRequireDefault(e) { | |
| 26 | - return e && e.__esModule ? e : { "default": e }; | |
| 27 | - } | |
| 28 | - module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 29 | - })); | |
| 30 | + for (const constructor of constructors) { | |
| 31 | + if (object.constructor.name === constructor.prototype[Symbol.toStringTag]) { | |
| 32 | + return true; | |
| 33 | + } | |
| 34 | + } | |
| 30 | 35 | |
| 31 | -//#endregion | |
| 32 | -//#region node_modules/core-js/internals/global-this.js | |
| 33 | - var require_global_this = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 34 | - var check = function(it) { | |
| 35 | - return it && it.Math === Math && it; | |
| 36 | - }; | |
| 37 | - module.exports = check(typeof globalThis == "object" && globalThis) || check(typeof window == "object" && window) || check(typeof self == "object" && self) || check(typeof global == "object" && global) || check(typeof exports == "object" && exports) || (function() { | |
| 38 | - return this; | |
| 39 | - })() || Function("return this")(); | |
| 40 | - })); | |
| 36 | + return false; | |
| 37 | +}; | |
| 41 | 38 | |
| 42 | -//#endregion | |
| 43 | -//#region node_modules/core-js/internals/fails.js | |
| 44 | - var require_fails = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 45 | - module.exports = function(exec) { | |
| 46 | - try { | |
| 47 | - return !!exec(); | |
| 48 | - } catch (error) { | |
| 49 | - return true; | |
| 50 | - } | |
| 51 | - }; | |
| 52 | - })); | |
| 39 | +exports["default"] = _default; | |
| 53 | 40 | |
| 54 | -//#endregion | |
| 55 | -//#region node_modules/core-js/internals/descriptors.js | |
| 56 | - var require_descriptors = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 57 | - var fails = require_fails(); | |
| 58 | - module.exports = !fails(function() { | |
| 59 | - return Object.defineProperty({}, 1, { get: function() { | |
| 60 | - return 7; | |
| 61 | - } })[1] !== 7; | |
| 62 | - }); | |
| 63 | - })); | |
| 41 | +/***/ }), | |
| 64 | 42 | |
| 65 | -//#endregion | |
| 66 | -//#region node_modules/core-js/internals/function-bind-native.js | |
| 67 | - var require_function_bind_native = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 68 | - var fails = require_fails(); | |
| 69 | - module.exports = !fails(function() { | |
| 70 | - var test = (function() {}).bind(); | |
| 71 | - return typeof test != "function" || test.hasOwnProperty("prototype"); | |
| 72 | - }); | |
| 73 | - })); | |
| 43 | +/***/ "../assets/dev/js/frontend/document.js": | |
| 44 | +/*!*********************************************!*\ | |
| 45 | + !*** ../assets/dev/js/frontend/document.js ***! | |
| 46 | + \*********************************************/ | |
| 47 | +/***/ ((__unused_webpack_module, exports) => { | |
| 74 | 48 | |
| 75 | -//#endregion | |
| 76 | -//#region node_modules/core-js/internals/function-call.js | |
| 77 | - var require_function_call = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 78 | - var NATIVE_BIND = require_function_bind_native(); | |
| 79 | - var call = Function.prototype.call; | |
| 80 | - module.exports = NATIVE_BIND ? call.bind(call) : function() { | |
| 81 | - return call.apply(call, arguments); | |
| 82 | - }; | |
| 83 | - })); | |
| 49 | +"use strict"; | |
| 84 | 50 | |
| 85 | -//#endregion | |
| 86 | -//#region node_modules/core-js/internals/object-property-is-enumerable.js | |
| 87 | - var require_object_property_is_enumerable = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 88 | - var $propertyIsEnumerable = {}.propertyIsEnumerable; | |
| 89 | - var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
| 90 | - var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1); | |
| 91 | - exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { | |
| 92 | - var descriptor = getOwnPropertyDescriptor(this, V); | |
| 93 | - return !!descriptor && descriptor.enumerable; | |
| 94 | - } : $propertyIsEnumerable; | |
| 95 | - })); | |
| 96 | 51 | |
| 97 | -//#endregion | |
| 98 | -//#region node_modules/core-js/internals/create-property-descriptor.js | |
| 99 | - var require_create_property_descriptor = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 100 | - module.exports = function(bitmap, value) { | |
| 101 | - return { | |
| 102 | - enumerable: !(bitmap & 1), | |
| 103 | - configurable: !(bitmap & 2), | |
| 104 | - writable: !(bitmap & 4), | |
| 105 | - value | |
| 106 | - }; | |
| 107 | - }; | |
| 108 | - })); | |
| 52 | +Object.defineProperty(exports, "__esModule", ({ | |
| 53 | + value: true | |
| 54 | +})); | |
| 55 | +exports["default"] = void 0; | |
| 109 | 56 | |
| 110 | -//#endregion | |
| 111 | -//#region node_modules/core-js/internals/function-uncurry-this.js | |
| 112 | - var require_function_uncurry_this = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 113 | - var NATIVE_BIND = require_function_bind_native(); | |
| 114 | - var FunctionPrototype = Function.prototype; | |
| 115 | - var call = FunctionPrototype.call; | |
| 116 | - var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); | |
| 117 | - module.exports = NATIVE_BIND ? uncurryThisWithBind : function(fn) { | |
| 118 | - return function() { | |
| 119 | - return call.apply(fn, arguments); | |
| 120 | - }; | |
| 121 | - }; | |
| 122 | - })); | |
| 57 | +class _default extends elementorModules.ViewModule { | |
| 58 | + getDefaultSettings() { | |
| 59 | + return { | |
| 60 | + selectors: { | |
| 61 | + elements: '.elementor-element', | |
| 62 | + nestedDocumentElements: '.elementor .elementor-element' | |
| 63 | + }, | |
| 64 | + classes: { | |
| 65 | + editMode: 'elementor-edit-mode' | |
| 66 | + } | |
| 67 | + }; | |
| 68 | + } | |
| 123 | 69 | |
| 124 | -//#endregion | |
| 125 | -//#region node_modules/core-js/internals/classof-raw.js | |
| 126 | - var require_classof_raw = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 127 | - var uncurryThis = require_function_uncurry_this(); | |
| 128 | - var toString = uncurryThis({}.toString); | |
| 129 | - var stringSlice = uncurryThis("".slice); | |
| 130 | - module.exports = function(it) { | |
| 131 | - return stringSlice(toString(it), 8, -1); | |
| 132 | - }; | |
| 133 | - })); | |
| 70 | + getDefaultElements() { | |
| 71 | + const selectors = this.getSettings('selectors'); | |
| 72 | + return { | |
| 73 | + $elements: this.$element.find(selectors.elements).not(this.$element.find(selectors.nestedDocumentElements)) | |
| 74 | + }; | |
| 75 | + } | |
| 134 | 76 | |
| 135 | -//#endregion | |
| 136 | -//#region node_modules/core-js/internals/indexed-object.js | |
| 137 | - var require_indexed_object = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 138 | - var uncurryThis = require_function_uncurry_this(); | |
| 139 | - var fails = require_fails(); | |
| 140 | - var classof = require_classof_raw(); | |
| 141 | - var $Object = Object; | |
| 142 | - var split = uncurryThis("".split); | |
| 143 | - module.exports = fails(function() { | |
| 144 | - return !$Object("z").propertyIsEnumerable(0); | |
| 145 | - }) ? function(it) { | |
| 146 | - return classof(it) === "String" ? split(it, "") : $Object(it); | |
| 147 | - } : $Object; | |
| 148 | - })); | |
| 77 | + getDocumentSettings(setting) { | |
| 78 | + let elementSettings; | |
| 149 | 79 | |
| 150 | -//#endregion | |
| 151 | -//#region node_modules/core-js/internals/is-null-or-undefined.js | |
| 152 | - var require_is_null_or_undefined = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 153 | - module.exports = function(it) { | |
| 154 | - return it === null || it === void 0; | |
| 155 | - }; | |
| 156 | - })); | |
| 80 | + if (this.isEdit) { | |
| 81 | + elementSettings = {}; | |
| 82 | + const settings = elementor.settings.page.model; | |
| 83 | + jQuery.each(settings.getActiveControls(), controlKey => { | |
| 84 | + elementSettings[controlKey] = settings.attributes[controlKey]; | |
| 85 | + }); | |
| 86 | + } else { | |
| 87 | + elementSettings = this.$element.data('elementor-settings') || {}; | |
| 88 | + } | |
| 157 | 89 | |
| 158 | -//#endregion | |
| 159 | -//#region node_modules/core-js/internals/require-object-coercible.js | |
| 160 | - var require_require_object_coercible = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 161 | - var isNullOrUndefined = require_is_null_or_undefined(); | |
| 162 | - var $TypeError = TypeError; | |
| 163 | - module.exports = function(it) { | |
| 164 | - if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it); | |
| 165 | - return it; | |
| 166 | - }; | |
| 167 | - })); | |
| 90 | + return this.getItems(elementSettings, setting); | |
| 91 | + } | |
| 168 | 92 | |
| 169 | -//#endregion | |
| 170 | -//#region node_modules/core-js/internals/to-indexed-object.js | |
| 171 | - var require_to_indexed_object = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 172 | - var IndexedObject = require_indexed_object(); | |
| 173 | - var requireObjectCoercible = require_require_object_coercible(); | |
| 174 | - module.exports = function(it) { | |
| 175 | - return IndexedObject(requireObjectCoercible(it)); | |
| 176 | - }; | |
| 177 | - })); | |
| 93 | + runElementsHandlers() { | |
| 94 | + this.elements.$elements.each((index, element) => elementorFrontend.elementsHandler.runReadyTrigger(element)); | |
| 95 | + } | |
| 178 | 96 | |
| 179 | -//#endregion | |
| 180 | -//#region node_modules/core-js/internals/is-callable.js | |
| 181 | - var require_is_callable = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 182 | - var documentAll = typeof document == "object" && document.all; | |
| 183 | - module.exports = typeof documentAll == "undefined" && documentAll !== void 0 ? function(argument) { | |
| 184 | - return typeof argument == "function" || argument === documentAll; | |
| 185 | - } : function(argument) { | |
| 186 | - return typeof argument == "function"; | |
| 187 | - }; | |
| 188 | - })); | |
| 97 | + onInit() { | |
| 98 | + this.$element = this.getSettings('$element'); | |
| 99 | + super.onInit(); | |
| 100 | + this.isEdit = this.$element.hasClass(this.getSettings('classes.editMode')); | |
| 189 | 101 | |
| 190 | -//#endregion | |
| 191 | -//#region node_modules/core-js/internals/is-object.js | |
| 192 | - var require_is_object = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 193 | - var isCallable = require_is_callable(); | |
| 194 | - module.exports = function(it) { | |
| 195 | - return typeof it == "object" ? it !== null : isCallable(it); | |
| 196 | - }; | |
| 197 | - })); | |
| 102 | + if (this.isEdit) { | |
| 103 | + elementor.on('document:loaded', () => { | |
| 104 | + elementor.settings.page.model.on('change', this.onSettingsChange.bind(this)); | |
| 105 | + }); | |
| 106 | + } else { | |
| 107 | + this.runElementsHandlers(); | |
| 108 | + } | |
| 109 | + } | |
| 198 | 110 | |
| 199 | -//#endregion | |
| 200 | -//#region node_modules/core-js/internals/get-built-in.js | |
| 201 | - var require_get_built_in = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 202 | - var globalThis = require_global_this(); | |
| 203 | - var isCallable = require_is_callable(); | |
| 204 | - var aFunction = function(argument) { | |
| 205 | - return isCallable(argument) ? argument : void 0; | |
| 206 | - }; | |
| 207 | - module.exports = function(namespace, method) { | |
| 208 | - return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method]; | |
| 209 | - }; | |
| 210 | - })); | |
| 111 | + onSettingsChange() {} | |
| 211 | 112 | |
| 212 | -//#endregion | |
| 213 | -//#region node_modules/core-js/internals/object-is-prototype-of.js | |
| 214 | - var require_object_is_prototype_of = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 215 | - var uncurryThis = require_function_uncurry_this(); | |
| 216 | - module.exports = uncurryThis({}.isPrototypeOf); | |
| 217 | - })); | |
| 113 | +} | |
| 218 | 114 | |
| 219 | -//#endregion | |
| 220 | -//#region node_modules/core-js/internals/environment-user-agent.js | |
| 221 | - var require_environment_user_agent = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 222 | - var navigator = require_global_this().navigator; | |
| 223 | - var userAgent = navigator && navigator.userAgent; | |
| 224 | - module.exports = userAgent ? String(userAgent) : ""; | |
| 225 | - })); | |
| 115 | +exports["default"] = _default; | |
| 226 | 116 | |
| 227 | -//#endregion | |
| 228 | -//#region node_modules/core-js/internals/environment-v8-version.js | |
| 229 | - var require_environment_v8_version = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 230 | - var globalThis = require_global_this(); | |
| 231 | - var userAgent = require_environment_user_agent(); | |
| 232 | - var process = globalThis.process; | |
| 233 | - var Deno = globalThis.Deno; | |
| 234 | - var versions = process && process.versions || Deno && Deno.version; | |
| 235 | - var v8 = versions && versions.v8; | |
| 236 | - var match; | |
| 237 | - var version; | |
| 238 | - if (v8) { | |
| 239 | - match = v8.split("."); | |
| 240 | - version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); | |
| 241 | - } | |
| 242 | - if (!version && userAgent) { | |
| 243 | - match = userAgent.match(/Edge\/(\d+)/); | |
| 244 | - if (!match || match[1] >= 74) { | |
| 245 | - match = userAgent.match(/Chrome\/(\d+)/); | |
| 246 | - if (match) version = +match[1]; | |
| 247 | - } | |
| 248 | - } | |
| 249 | - module.exports = version; | |
| 250 | - })); | |
| 117 | +/***/ }), | |
| 251 | 118 | |
| 252 | -//#endregion | |
| 253 | -//#region node_modules/core-js/internals/symbol-constructor-detection.js | |
| 254 | - var require_symbol_constructor_detection = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 255 | - var V8_VERSION = require_environment_v8_version(); | |
| 256 | - var fails = require_fails(); | |
| 257 | - var $String = require_global_this().String; | |
| 258 | - module.exports = !!Object.getOwnPropertySymbols && !fails(function() { | |
| 259 | - var symbol = Symbol("symbol detection"); | |
| 260 | - return !$String(symbol) || !(Object(symbol) instanceof Symbol) || !Symbol.sham && V8_VERSION && V8_VERSION < 41; | |
| 261 | - }); | |
| 262 | - })); | |
| 119 | +/***/ "../assets/dev/js/frontend/handlers/base-swiper.js": | |
| 120 | +/*!*********************************************************!*\ | |
| 121 | + !*** ../assets/dev/js/frontend/handlers/base-swiper.js ***! | |
| 122 | + \*********************************************************/ | |
| 123 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 263 | 124 | |
| 264 | -//#endregion | |
| 265 | -//#region node_modules/core-js/internals/use-symbol-as-uid.js | |
| 266 | - var require_use_symbol_as_uid = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 267 | - var NATIVE_SYMBOL = require_symbol_constructor_detection(); | |
| 268 | - module.exports = NATIVE_SYMBOL && !Symbol.sham && typeof Symbol.iterator == "symbol"; | |
| 269 | - })); | |
| 125 | +"use strict"; | |
| 270 | 126 | |
| 271 | -//#endregion | |
| 272 | -//#region node_modules/core-js/internals/is-symbol.js | |
| 273 | - var require_is_symbol = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 274 | - var getBuiltIn = require_get_built_in(); | |
| 275 | - var isCallable = require_is_callable(); | |
| 276 | - var isPrototypeOf = require_object_is_prototype_of(); | |
| 277 | - var USE_SYMBOL_AS_UID = require_use_symbol_as_uid(); | |
| 278 | - var $Object = Object; | |
| 279 | - module.exports = USE_SYMBOL_AS_UID ? function(it) { | |
| 280 | - return typeof it == "symbol"; | |
| 281 | - } : function(it) { | |
| 282 | - var $Symbol = getBuiltIn("Symbol"); | |
| 283 | - return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it)); | |
| 284 | - }; | |
| 285 | - })); | |
| 286 | 127 | |
| 287 | -//#endregion | |
| 288 | -//#region node_modules/core-js/internals/try-to-string.js | |
| 289 | - var require_try_to_string = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 290 | - var $String = String; | |
| 291 | - module.exports = function(argument) { | |
| 292 | - try { | |
| 293 | - return $String(argument); | |
| 294 | - } catch (error) { | |
| 295 | - return "Object"; | |
| 296 | - } | |
| 297 | - }; | |
| 298 | - })); | |
| 128 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 299 | 129 | |
| 300 | -//#endregion | |
| 301 | -//#region node_modules/core-js/internals/a-callable.js | |
| 302 | - var require_a_callable = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 303 | - var isCallable = require_is_callable(); | |
| 304 | - var tryToString = require_try_to_string(); | |
| 305 | - var $TypeError = TypeError; | |
| 306 | - module.exports = function(argument) { | |
| 307 | - if (isCallable(argument)) return argument; | |
| 308 | - throw new $TypeError(tryToString(argument) + " is not a function"); | |
| 309 | - }; | |
| 310 | - })); | |
| 130 | +Object.defineProperty(exports, "__esModule", ({ | |
| 131 | + value: true | |
| 132 | +})); | |
| 133 | +exports["default"] = void 0; | |
| 311 | 134 | |
| 312 | -//#endregion | |
| 313 | -//#region node_modules/core-js/internals/get-method.js | |
| 314 | - var require_get_method = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 315 | - var aCallable = require_a_callable(); | |
| 316 | - var isNullOrUndefined = require_is_null_or_undefined(); | |
| 317 | - module.exports = function(V, P) { | |
| 318 | - var func = V[P]; | |
| 319 | - return isNullOrUndefined(func) ? void 0 : aCallable(func); | |
| 320 | - }; | |
| 321 | - })); | |
| 135 | +var _base = _interopRequireDefault(__webpack_require__(/*! ./base */ "../assets/dev/js/frontend/handlers/base.js")); | |
| 322 | 136 | |
| 323 | -//#endregion | |
| 324 | -//#region node_modules/core-js/internals/ordinary-to-primitive.js | |
| 325 | - var require_ordinary_to_primitive = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 326 | - var call = require_function_call(); | |
| 327 | - var isCallable = require_is_callable(); | |
| 328 | - var isObject = require_is_object(); | |
| 329 | - var $TypeError = TypeError; | |
| 330 | - module.exports = function(input, pref) { | |
| 331 | - var fn; | |
| 332 | - var val; | |
| 333 | - if (pref === "string" && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; | |
| 334 | - if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val; | |
| 335 | - if (pref !== "string" && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; | |
| 336 | - throw new $TypeError("Can't convert object to primitive value"); | |
| 337 | - }; | |
| 338 | - })); | |
| 137 | +class SwiperHandlerBase extends _base.default { | |
| 138 | + getInitialSlide() { | |
| 139 | + const editSettings = this.getEditSettings(); | |
| 140 | + return editSettings.activeItemIndex ? editSettings.activeItemIndex - 1 : 0; | |
| 141 | + } | |
| 339 | 142 | |
| 340 | -//#endregion | |
| 341 | -//#region node_modules/core-js/internals/is-pure.js | |
| 342 | - var require_is_pure = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 343 | - module.exports = false; | |
| 344 | - })); | |
| 143 | + getSlidesCount() { | |
| 144 | + return this.elements.$slides.length; | |
| 145 | + } // This method live-handles the 'Pause On Hover' control's value being changed in the Editor Panel | |
| 345 | 146 | |
| 346 | -//#endregion | |
| 347 | -//#region node_modules/core-js/internals/define-global-property.js | |
| 348 | - var require_define_global_property = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 349 | - var globalThis = require_global_this(); | |
| 350 | - var defineProperty = Object.defineProperty; | |
| 351 | - module.exports = function(key, value) { | |
| 352 | - try { | |
| 353 | - defineProperty(globalThis, key, { | |
| 354 | - value, | |
| 355 | - configurable: true, | |
| 356 | - writable: true | |
| 357 | - }); | |
| 358 | - } catch (error) { | |
| 359 | - globalThis[key] = value; | |
| 360 | - } | |
| 361 | - return value; | |
| 362 | - }; | |
| 363 | - })); | |
| 364 | 147 | |
| 365 | -//#endregion | |
| 366 | -//#region node_modules/core-js/internals/shared-store.js | |
| 367 | - var require_shared_store = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 368 | - var IS_PURE = require_is_pure(); | |
| 369 | - var globalThis = require_global_this(); | |
| 370 | - var defineGlobalProperty = require_define_global_property(); | |
| 371 | - var SHARED = "__core-js_shared__"; | |
| 372 | - var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {}); | |
| 373 | - (store.versions || (store.versions = [])).push({ | |
| 374 | - version: "3.46.0", | |
| 375 | - mode: IS_PURE ? "pure" : "global", | |
| 376 | - copyright: "© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)", | |
| 377 | - license: "https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE", | |
| 378 | - source: "https://github.com/zloirock/core-js" | |
| 379 | - }); | |
| 380 | - })); | |
| 148 | + togglePauseOnHover(toggleOn) { | |
| 149 | + if (toggleOn) { | |
| 150 | + this.elements.$swiperContainer.on({ | |
| 151 | + mouseenter: () => { | |
| 152 | + this.swiper.autoplay.stop(); | |
| 153 | + }, | |
| 154 | + mouseleave: () => { | |
| 155 | + this.swiper.autoplay.start(); | |
| 156 | + } | |
| 157 | + }); | |
| 158 | + } else { | |
| 159 | + this.elements.$swiperContainer.off('mouseenter mouseleave'); | |
| 160 | + } | |
| 161 | + } | |
| 381 | 162 | |
| 382 | -//#endregion | |
| 383 | -//#region node_modules/core-js/internals/shared.js | |
| 384 | - var require_shared = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 385 | - var store = require_shared_store(); | |
| 386 | - module.exports = function(key, value) { | |
| 387 | - return store[key] || (store[key] = value || {}); | |
| 388 | - }; | |
| 389 | - })); | |
| 163 | + handleKenBurns() { | |
| 164 | + const settings = this.getSettings(); | |
| 390 | 165 | |
| 391 | -//#endregion | |
| 392 | -//#region node_modules/core-js/internals/to-object.js | |
| 393 | - var require_to_object = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 394 | - var requireObjectCoercible = require_require_object_coercible(); | |
| 395 | - var $Object = Object; | |
| 396 | - module.exports = function(argument) { | |
| 397 | - return $Object(requireObjectCoercible(argument)); | |
| 398 | - }; | |
| 399 | - })); | |
| 166 | + if (this.$activeImageBg) { | |
| 167 | + this.$activeImageBg.removeClass(settings.classes.kenBurnsActive); | |
| 168 | + } | |
| 400 | 169 | |
| 401 | -//#endregion | |
| 402 | -//#region node_modules/core-js/internals/has-own-property.js | |
| 403 | - var require_has_own_property = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 404 | - var uncurryThis = require_function_uncurry_this(); | |
| 405 | - var toObject = require_to_object(); | |
| 406 | - var hasOwnProperty = uncurryThis({}.hasOwnProperty); | |
| 407 | - module.exports = Object.hasOwn || function hasOwn(it, key) { | |
| 408 | - return hasOwnProperty(toObject(it), key); | |
| 409 | - }; | |
| 410 | - })); | |
| 170 | + this.activeItemIndex = this.swiper ? this.swiper.activeIndex : this.getInitialSlide(); | |
| 411 | 171 | |
| 412 | -//#endregion | |
| 413 | -//#region node_modules/core-js/internals/uid.js | |
| 414 | - var require_uid = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 415 | - var uncurryThis = require_function_uncurry_this(); | |
| 416 | - var id = 0; | |
| 417 | - var postfix = Math.random(); | |
| 418 | - var toString = uncurryThis(1.1.toString); | |
| 419 | - module.exports = function(key) { | |
| 420 | - return "Symbol(" + (key === void 0 ? "" : key) + ")_" + toString(++id + postfix, 36); | |
| 421 | - }; | |
| 422 | - })); | |
| 172 | + if (this.swiper) { | |
| 173 | + this.$activeImageBg = jQuery(this.swiper.slides[this.activeItemIndex]).children('.' + settings.classes.slideBackground); | |
| 174 | + } else { | |
| 175 | + this.$activeImageBg = jQuery(this.elements.$slides[0]).children('.' + settings.classes.slideBackground); | |
| 176 | + } | |
| 423 | 177 | |
| 424 | -//#endregion | |
| 425 | -//#region node_modules/core-js/internals/well-known-symbol.js | |
| 426 | - var require_well_known_symbol = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 427 | - var globalThis = require_global_this(); | |
| 428 | - var shared = require_shared(); | |
| 429 | - var hasOwn = require_has_own_property(); | |
| 430 | - var uid = require_uid(); | |
| 431 | - var NATIVE_SYMBOL = require_symbol_constructor_detection(); | |
| 432 | - var USE_SYMBOL_AS_UID = require_use_symbol_as_uid(); | |
| 433 | - var Symbol = globalThis.Symbol; | |
| 434 | - var WellKnownSymbolsStore = shared("wks"); | |
| 435 | - var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol["for"] || Symbol : Symbol && Symbol.withoutSetter || uid; | |
| 436 | - module.exports = function(name) { | |
| 437 | - if (!hasOwn(WellKnownSymbolsStore, name)) WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name) ? Symbol[name] : createWellKnownSymbol("Symbol." + name); | |
| 438 | - return WellKnownSymbolsStore[name]; | |
| 439 | - }; | |
| 440 | - })); | |
| 178 | + this.$activeImageBg.addClass(settings.classes.kenBurnsActive); | |
| 179 | + } | |
| 441 | 180 | |
| 442 | -//#endregion | |
| 443 | -//#region node_modules/core-js/internals/to-primitive.js | |
| 444 | - var require_to_primitive = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 445 | - var call = require_function_call(); | |
| 446 | - var isObject = require_is_object(); | |
| 447 | - var isSymbol = require_is_symbol(); | |
| 448 | - var getMethod = require_get_method(); | |
| 449 | - var ordinaryToPrimitive = require_ordinary_to_primitive(); | |
| 450 | - var wellKnownSymbol = require_well_known_symbol(); | |
| 451 | - var $TypeError = TypeError; | |
| 452 | - var TO_PRIMITIVE = wellKnownSymbol("toPrimitive"); | |
| 453 | - module.exports = function(input, pref) { | |
| 454 | - if (!isObject(input) || isSymbol(input)) return input; | |
| 455 | - var exoticToPrim = getMethod(input, TO_PRIMITIVE); | |
| 456 | - var result; | |
| 457 | - if (exoticToPrim) { | |
| 458 | - if (pref === void 0) pref = "default"; | |
| 459 | - result = call(exoticToPrim, input, pref); | |
| 460 | - if (!isObject(result) || isSymbol(result)) return result; | |
| 461 | - throw new $TypeError("Can't convert object to primitive value"); | |
| 462 | - } | |
| 463 | - if (pref === void 0) pref = "number"; | |
| 464 | - return ordinaryToPrimitive(input, pref); | |
| 465 | - }; | |
| 466 | - })); | |
| 181 | +} | |
| 467 | 182 | |
| 468 | -//#endregion | |
| 469 | -//#region node_modules/core-js/internals/to-property-key.js | |
| 470 | - var require_to_property_key = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 471 | - var toPrimitive = require_to_primitive(); | |
| 472 | - var isSymbol = require_is_symbol(); | |
| 473 | - module.exports = function(argument) { | |
| 474 | - var key = toPrimitive(argument, "string"); | |
| 475 | - return isSymbol(key) ? key : key + ""; | |
| 476 | - }; | |
| 477 | - })); | |
| 183 | +exports["default"] = SwiperHandlerBase; | |
| 478 | 184 | |
| 479 | -//#endregion | |
| 480 | -//#region node_modules/core-js/internals/document-create-element.js | |
| 481 | - var require_document_create_element = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 482 | - var globalThis = require_global_this(); | |
| 483 | - var isObject = require_is_object(); | |
| 484 | - var document = globalThis.document; | |
| 485 | - var EXISTS = isObject(document) && isObject(document.createElement); | |
| 486 | - module.exports = function(it) { | |
| 487 | - return EXISTS ? document.createElement(it) : {}; | |
| 488 | - }; | |
| 489 | - })); | |
| 185 | +/***/ }), | |
| 490 | 186 | |
| 491 | -//#endregion | |
| 492 | -//#region node_modules/core-js/internals/ie8-dom-define.js | |
| 493 | - var require_ie8_dom_define = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 494 | - var DESCRIPTORS = require_descriptors(); | |
| 495 | - var fails = require_fails(); | |
| 496 | - var createElement = require_document_create_element(); | |
| 497 | - module.exports = !DESCRIPTORS && !fails(function() { | |
| 498 | - return Object.defineProperty(createElement("div"), "a", { get: function() { | |
| 499 | - return 7; | |
| 500 | - } }).a !== 7; | |
| 501 | - }); | |
| 502 | - })); | |
| 187 | +/***/ "../assets/dev/js/frontend/handlers/base.js": | |
| 188 | +/*!**************************************************!*\ | |
| 189 | + !*** ../assets/dev/js/frontend/handlers/base.js ***! | |
| 190 | + \**************************************************/ | |
| 191 | +/***/ ((module) => { | |
| 503 | 192 | |
| 504 | -//#endregion | |
| 505 | -//#region node_modules/core-js/internals/object-get-own-property-descriptor.js | |
| 506 | - var require_object_get_own_property_descriptor = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 507 | - var DESCRIPTORS = require_descriptors(); | |
| 508 | - var call = require_function_call(); | |
| 509 | - var propertyIsEnumerableModule = require_object_property_is_enumerable(); | |
| 510 | - var createPropertyDescriptor = require_create_property_descriptor(); | |
| 511 | - var toIndexedObject = require_to_indexed_object(); | |
| 512 | - var toPropertyKey = require_to_property_key(); | |
| 513 | - var hasOwn = require_has_own_property(); | |
| 514 | - var IE8_DOM_DEFINE = require_ie8_dom_define(); | |
| 515 | - var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
| 516 | - exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { | |
| 517 | - O = toIndexedObject(O); | |
| 518 | - P = toPropertyKey(P); | |
| 519 | - if (IE8_DOM_DEFINE) try { | |
| 520 | - return $getOwnPropertyDescriptor(O, P); | |
| 521 | - } catch (error) {} | |
| 522 | - if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]); | |
| 523 | - }; | |
| 524 | - })); | |
| 193 | +"use strict"; | |
| 525 | 194 | |
| 526 | -//#endregion | |
| 527 | -//#region node_modules/core-js/internals/v8-prototype-define-bug.js | |
| 528 | - var require_v8_prototype_define_bug = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 529 | - var DESCRIPTORS = require_descriptors(); | |
| 530 | - var fails = require_fails(); | |
| 531 | - module.exports = DESCRIPTORS && fails(function() { | |
| 532 | - return Object.defineProperty(function() {}, "prototype", { | |
| 533 | - value: 42, | |
| 534 | - writable: false | |
| 535 | - }).prototype !== 42; | |
| 536 | - }); | |
| 537 | - })); | |
| 538 | 195 | |
| 539 | -//#endregion | |
| 540 | -//#region node_modules/core-js/internals/an-object.js | |
| 541 | - var require_an_object = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 542 | - var isObject = require_is_object(); | |
| 543 | - var $String = String; | |
| 544 | - var $TypeError = TypeError; | |
| 545 | - module.exports = function(argument) { | |
| 546 | - if (isObject(argument)) return argument; | |
| 547 | - throw new $TypeError($String(argument) + " is not an object"); | |
| 548 | - }; | |
| 549 | - })); | |
| 196 | +module.exports = elementorModules.ViewModule.extend({ | |
| 197 | + $element: null, | |
| 198 | + editorListeners: null, | |
| 199 | + onElementChange: null, | |
| 200 | + onEditSettingsChange: null, | |
| 201 | + onPageSettingsChange: null, | |
| 202 | + isEdit: null, | |
| 550 | 203 | |
| 551 | -//#endregion | |
| 552 | -//#region node_modules/core-js/internals/object-define-property.js | |
| 553 | - var require_object_define_property = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 554 | - var DESCRIPTORS = require_descriptors(); | |
| 555 | - var IE8_DOM_DEFINE = require_ie8_dom_define(); | |
| 556 | - var V8_PROTOTYPE_DEFINE_BUG = require_v8_prototype_define_bug(); | |
| 557 | - var anObject = require_an_object(); | |
| 558 | - var toPropertyKey = require_to_property_key(); | |
| 559 | - var $TypeError = TypeError; | |
| 560 | - var $defineProperty = Object.defineProperty; | |
| 561 | - var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
| 562 | - var ENUMERABLE = "enumerable"; | |
| 563 | - var CONFIGURABLE = "configurable"; | |
| 564 | - var WRITABLE = "writable"; | |
| 565 | - exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) { | |
| 566 | - anObject(O); | |
| 567 | - P = toPropertyKey(P); | |
| 568 | - anObject(Attributes); | |
| 569 | - if (typeof O === "function" && P === "prototype" && "value" in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { | |
| 570 | - var current = $getOwnPropertyDescriptor(O, P); | |
| 571 | - if (current && current[WRITABLE]) { | |
| 572 | - O[P] = Attributes.value; | |
| 573 | - Attributes = { | |
| 574 | - configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE], | |
| 575 | - enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE], | |
| 576 | - writable: false | |
| 577 | - }; | |
| 578 | - } | |
| 579 | - } | |
| 580 | - return $defineProperty(O, P, Attributes); | |
| 581 | - } : $defineProperty : function defineProperty(O, P, Attributes) { | |
| 582 | - anObject(O); | |
| 583 | - P = toPropertyKey(P); | |
| 584 | - anObject(Attributes); | |
| 585 | - if (IE8_DOM_DEFINE) try { | |
| 586 | - return $defineProperty(O, P, Attributes); | |
| 587 | - } catch (error) {} | |
| 588 | - if ("get" in Attributes || "set" in Attributes) throw new $TypeError("Accessors not supported"); | |
| 589 | - if ("value" in Attributes) O[P] = Attributes.value; | |
| 590 | - return O; | |
| 591 | - }; | |
| 592 | - })); | |
| 204 | + __construct(settings) { | |
| 205 | + if (!this.isActive(settings)) { | |
| 206 | + return; | |
| 207 | + } | |
| 593 | 208 | |
| 594 | -//#endregion | |
| 595 | -//#region node_modules/core-js/internals/create-non-enumerable-property.js | |
| 596 | - var require_create_non_enumerable_property = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 597 | - var DESCRIPTORS = require_descriptors(); | |
| 598 | - var definePropertyModule = require_object_define_property(); | |
| 599 | - var createPropertyDescriptor = require_create_property_descriptor(); | |
| 600 | - module.exports = DESCRIPTORS ? function(object, key, value) { | |
| 601 | - return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); | |
| 602 | - } : function(object, key, value) { | |
| 603 | - object[key] = value; | |
| 604 | - return object; | |
| 605 | - }; | |
| 606 | - })); | |
| 209 | + this.$element = settings.$element; | |
| 210 | + this.isEdit = this.$element.hasClass('elementor-element-edit-mode'); | |
| 607 | 211 | |
| 608 | -//#endregion | |
| 609 | -//#region node_modules/core-js/internals/function-name.js | |
| 610 | - var require_function_name = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 611 | - var DESCRIPTORS = require_descriptors(); | |
| 612 | - var hasOwn = require_has_own_property(); | |
| 613 | - var FunctionPrototype = Function.prototype; | |
| 614 | - var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor; | |
| 615 | - var EXISTS = hasOwn(FunctionPrototype, "name"); | |
| 616 | - var PROPER = EXISTS && (function something() {}).name === "something"; | |
| 617 | - var CONFIGURABLE = EXISTS && (!DESCRIPTORS || DESCRIPTORS && getDescriptor(FunctionPrototype, "name").configurable); | |
| 618 | - module.exports = { | |
| 619 | - EXISTS, | |
| 620 | - PROPER, | |
| 621 | - CONFIGURABLE | |
| 622 | - }; | |
| 623 | - })); | |
| 212 | + if (this.isEdit) { | |
| 213 | + this.addEditorListeners(); | |
| 214 | + } | |
| 215 | + }, | |
| 624 | 216 | |
| 625 | -//#endregion | |
| 626 | -//#region node_modules/core-js/internals/inspect-source.js | |
| 627 | - var require_inspect_source = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 628 | - var uncurryThis = require_function_uncurry_this(); | |
| 629 | - var isCallable = require_is_callable(); | |
| 630 | - var store = require_shared_store(); | |
| 631 | - var functionToString = uncurryThis(Function.toString); | |
| 632 | - if (!isCallable(store.inspectSource)) store.inspectSource = function(it) { | |
| 633 | - return functionToString(it); | |
| 634 | - }; | |
| 635 | - module.exports = store.inspectSource; | |
| 636 | - })); | |
| 217 | + isActive() { | |
| 218 | + return true; | |
| 219 | + }, | |
| 637 | 220 | |
| 638 | -//#endregion | |
| 639 | -//#region node_modules/core-js/internals/weak-map-basic-detection.js | |
| 640 | - var require_weak_map_basic_detection = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 641 | - var globalThis = require_global_this(); | |
| 642 | - var isCallable = require_is_callable(); | |
| 643 | - var WeakMap = globalThis.WeakMap; | |
| 644 | - module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap)); | |
| 645 | - })); | |
| 221 | + findElement(selector) { | |
| 222 | + var $mainElement = this.$element; | |
| 223 | + return $mainElement.find(selector).filter(function () { | |
| 224 | + // Start `closest` from parent since self can be `.elementor-element`. | |
| 225 | + return jQuery(this).parent().closest('.elementor-element').is($mainElement); | |
| 226 | + }); | |
| 227 | + }, | |
| 646 | 228 | |
| 647 | -//#endregion | |
| 648 | -//#region node_modules/core-js/internals/shared-key.js | |
| 649 | - var require_shared_key = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 650 | - var shared = require_shared(); | |
| 651 | - var uid = require_uid(); | |
| 652 | - var keys = shared("keys"); | |
| 653 | - module.exports = function(key) { | |
| 654 | - return keys[key] || (keys[key] = uid(key)); | |
| 655 | - }; | |
| 656 | - })); | |
| 229 | + getUniqueHandlerID(cid, $element) { | |
| 230 | + if (!cid) { | |
| 231 | + cid = this.getModelCID(); | |
| 232 | + } | |
| 657 | 233 | |
| 658 | -//#endregion | |
| 659 | -//#region node_modules/core-js/internals/hidden-keys.js | |
| 660 | - var require_hidden_keys = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 661 | - module.exports = {}; | |
| 662 | - })); | |
| 234 | + if (!$element) { | |
| 235 | + $element = this.$element; | |
| 236 | + } | |
| 663 | 237 | |
| 664 | -//#endregion | |
| 665 | -//#region node_modules/core-js/internals/internal-state.js | |
| 666 | - var require_internal_state = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 667 | - var NATIVE_WEAK_MAP = require_weak_map_basic_detection(); | |
| 668 | - var globalThis = require_global_this(); | |
| 669 | - var isObject = require_is_object(); | |
| 670 | - var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
| 671 | - var hasOwn = require_has_own_property(); | |
| 672 | - var shared = require_shared_store(); | |
| 673 | - var sharedKey = require_shared_key(); | |
| 674 | - var hiddenKeys = require_hidden_keys(); | |
| 675 | - var OBJECT_ALREADY_INITIALIZED = "Object already initialized"; | |
| 676 | - var TypeError = globalThis.TypeError; | |
| 677 | - var WeakMap = globalThis.WeakMap; | |
| 678 | - var set; | |
| 679 | - var get; | |
| 680 | - var has; | |
| 681 | - var enforce = function(it) { | |
| 682 | - return has(it) ? get(it) : set(it, {}); | |
| 683 | - }; | |
| 684 | - var getterFor = function(TYPE) { | |
| 685 | - return function(it) { | |
| 686 | - var state; | |
| 687 | - if (!isObject(it) || (state = get(it)).type !== TYPE) throw new TypeError("Incompatible receiver, " + TYPE + " required"); | |
| 688 | - return state; | |
| 689 | - }; | |
| 690 | - }; | |
| 691 | - if (NATIVE_WEAK_MAP || shared.state) { | |
| 692 | - var store = shared.state || (shared.state = new WeakMap()); | |
| 693 | - store.get = store.get; | |
| 694 | - store.has = store.has; | |
| 695 | - store.set = store.set; | |
| 696 | - set = function(it, metadata) { | |
| 697 | - if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); | |
| 698 | - metadata.facade = it; | |
| 699 | - store.set(it, metadata); | |
| 700 | - return metadata; | |
| 701 | - }; | |
| 702 | - get = function(it) { | |
| 703 | - return store.get(it) || {}; | |
| 704 | - }; | |
| 705 | - has = function(it) { | |
| 706 | - return store.has(it); | |
| 707 | - }; | |
| 708 | - } else { | |
| 709 | - var STATE = sharedKey("state"); | |
| 710 | - hiddenKeys[STATE] = true; | |
| 711 | - set = function(it, metadata) { | |
| 712 | - if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); | |
| 713 | - metadata.facade = it; | |
| 714 | - createNonEnumerableProperty(it, STATE, metadata); | |
| 715 | - return metadata; | |
| 716 | - }; | |
| 717 | - get = function(it) { | |
| 718 | - return hasOwn(it, STATE) ? it[STATE] : {}; | |
| 719 | - }; | |
| 720 | - has = function(it) { | |
| 721 | - return hasOwn(it, STATE); | |
| 722 | - }; | |
| 723 | - } | |
| 724 | - module.exports = { | |
| 725 | - set, | |
| 726 | - get, | |
| 727 | - has, | |
| 728 | - enforce, | |
| 729 | - getterFor | |
| 730 | - }; | |
| 731 | - })); | |
| 238 | + return cid + $element.attr('data-element_type') + this.getConstructorID(); | |
| 239 | + }, | |
| 732 | 240 | |
| 733 | -//#endregion | |
| 734 | -//#region node_modules/core-js/internals/make-built-in.js | |
| 735 | - var require_make_built_in = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 736 | - var uncurryThis = require_function_uncurry_this(); | |
| 737 | - var fails = require_fails(); | |
| 738 | - var isCallable = require_is_callable(); | |
| 739 | - var hasOwn = require_has_own_property(); | |
| 740 | - var DESCRIPTORS = require_descriptors(); | |
| 741 | - var CONFIGURABLE_FUNCTION_NAME = require_function_name().CONFIGURABLE; | |
| 742 | - var inspectSource = require_inspect_source(); | |
| 743 | - var InternalStateModule = require_internal_state(); | |
| 744 | - var enforceInternalState = InternalStateModule.enforce; | |
| 745 | - var getInternalState = InternalStateModule.get; | |
| 746 | - var $String = String; | |
| 747 | - var defineProperty = Object.defineProperty; | |
| 748 | - var stringSlice = uncurryThis("".slice); | |
| 749 | - var replace = uncurryThis("".replace); | |
| 750 | - var join = uncurryThis([].join); | |
| 751 | - var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function() { | |
| 752 | - return defineProperty(function() {}, "length", { value: 8 }).length !== 8; | |
| 753 | - }); | |
| 754 | - var TEMPLATE = String(String).split("String"); | |
| 755 | - var makeBuiltIn = module.exports = function(value, name, options) { | |
| 756 | - if (stringSlice($String(name), 0, 7) === "Symbol(") name = "[" + replace($String(name), /^Symbol\(([^)]*)\).*$/, "$1") + "]"; | |
| 757 | - if (options && options.getter) name = "get " + name; | |
| 758 | - if (options && options.setter) name = "set " + name; | |
| 759 | - if (!hasOwn(value, "name") || CONFIGURABLE_FUNCTION_NAME && value.name !== name) if (DESCRIPTORS) defineProperty(value, "name", { | |
| 760 | - value: name, | |
| 761 | - configurable: true | |
| 762 | - }); | |
| 763 | - else value.name = name; | |
| 764 | - if (CONFIGURABLE_LENGTH && options && hasOwn(options, "arity") && value.length !== options.arity) defineProperty(value, "length", { value: options.arity }); | |
| 765 | - try { | |
| 766 | - if (options && hasOwn(options, "constructor") && options.constructor) { | |
| 767 | - if (DESCRIPTORS) defineProperty(value, "prototype", { writable: false }); | |
| 768 | - } else if (value.prototype) value.prototype = void 0; | |
| 769 | - } catch (error) {} | |
| 770 | - var state = enforceInternalState(value); | |
| 771 | - if (!hasOwn(state, "source")) state.source = join(TEMPLATE, typeof name == "string" ? name : ""); | |
| 772 | - return value; | |
| 773 | - }; | |
| 774 | - Function.prototype.toString = makeBuiltIn(function toString() { | |
| 775 | - return isCallable(this) && getInternalState(this).source || inspectSource(this); | |
| 776 | - }, "toString"); | |
| 777 | - })); | |
| 241 | + initEditorListeners() { | |
| 242 | + var self = this; | |
| 243 | + self.editorListeners = [{ | |
| 244 | + event: 'element:destroy', | |
| 245 | + to: elementor.channels.data, | |
| 778 | 246 | |
| 779 | -//#endregion | |
| 780 | -//#region node_modules/core-js/internals/define-built-in.js | |
| 781 | - var require_define_built_in = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 782 | - var isCallable = require_is_callable(); | |
| 783 | - var definePropertyModule = require_object_define_property(); | |
| 784 | - var makeBuiltIn = require_make_built_in(); | |
| 785 | - var defineGlobalProperty = require_define_global_property(); | |
| 786 | - module.exports = function(O, key, value, options) { | |
| 787 | - if (!options) options = {}; | |
| 788 | - var simple = options.enumerable; | |
| 789 | - var name = options.name !== void 0 ? options.name : key; | |
| 790 | - if (isCallable(value)) makeBuiltIn(value, name, options); | |
| 791 | - if (options.global) if (simple) O[key] = value; | |
| 792 | - else defineGlobalProperty(key, value); | |
| 793 | - else { | |
| 794 | - try { | |
| 795 | - if (!options.unsafe) delete O[key]; | |
| 796 | - else if (O[key]) simple = true; | |
| 797 | - } catch (error) {} | |
| 798 | - if (simple) O[key] = value; | |
| 799 | - else definePropertyModule.f(O, key, { | |
| 800 | - value, | |
| 801 | - enumerable: false, | |
| 802 | - configurable: !options.nonConfigurable, | |
| 803 | - writable: !options.nonWritable | |
| 804 | - }); | |
| 805 | - } | |
| 806 | - return O; | |
| 807 | - }; | |
| 808 | - })); | |
| 247 | + callback(removedModel) { | |
| 248 | + if (removedModel.cid !== self.getModelCID()) { | |
| 249 | + return; | |
| 250 | + } | |
| 809 | 251 | |
| 810 | -//#endregion | |
| 811 | -//#region node_modules/core-js/internals/math-trunc.js | |
| 812 | - var require_math_trunc = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 813 | - var ceil = Math.ceil; | |
| 814 | - var floor = Math.floor; | |
| 815 | - module.exports = Math.trunc || function trunc(x) { | |
| 816 | - var n = +x; | |
| 817 | - return (n > 0 ? floor : ceil)(n); | |
| 818 | - }; | |
| 819 | - })); | |
| 252 | + self.onDestroy(); | |
| 253 | + } | |
| 820 | 254 | |
| 821 | -//#endregion | |
| 822 | -//#region node_modules/core-js/internals/to-integer-or-infinity.js | |
| 823 | - var require_to_integer_or_infinity = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 824 | - var trunc = require_math_trunc(); | |
| 825 | - module.exports = function(argument) { | |
| 826 | - var number = +argument; | |
| 827 | - return number !== number || number === 0 ? 0 : trunc(number); | |
| 828 | - }; | |
| 829 | - })); | |
| 255 | + }]; | |
| 830 | 256 | |
| 831 | -//#endregion | |
| 832 | -//#region node_modules/core-js/internals/to-absolute-index.js | |
| 833 | - var require_to_absolute_index = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 834 | - var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
| 835 | - var max = Math.max; | |
| 836 | - var min = Math.min; | |
| 837 | - module.exports = function(index, length) { | |
| 838 | - var integer = toIntegerOrInfinity(index); | |
| 839 | - return integer < 0 ? max(integer + length, 0) : min(integer, length); | |
| 840 | - }; | |
| 841 | - })); | |
| 257 | + if (self.onElementChange) { | |
| 258 | + const elementType = self.getWidgetType() || self.getElementType(); | |
| 259 | + let eventName = 'change'; | |
| 842 | 260 | |
| 843 | -//#endregion | |
| 844 | -//#region node_modules/core-js/internals/to-length.js | |
| 845 | - var require_to_length = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 846 | - var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
| 847 | - var min = Math.min; | |
| 848 | - module.exports = function(argument) { | |
| 849 | - var len = toIntegerOrInfinity(argument); | |
| 850 | - return len > 0 ? min(len, 9007199254740991) : 0; | |
| 851 | - }; | |
| 852 | - })); | |
| 261 | + if ('global' !== elementType) { | |
| 262 | + eventName += ':' + elementType; | |
| 263 | + } | |
| 853 | 264 | |
| 854 | -//#endregion | |
| 855 | -//#region node_modules/core-js/internals/length-of-array-like.js | |
| 856 | - var require_length_of_array_like = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 857 | - var toLength = require_to_length(); | |
| 858 | - module.exports = function(obj) { | |
| 859 | - return toLength(obj.length); | |
| 860 | - }; | |
| 861 | - })); | |
| 265 | + self.editorListeners.push({ | |
| 266 | + event: eventName, | |
| 267 | + to: elementor.channels.editor, | |
| 862 | 268 | |
| 863 | -//#endregion | |
| 864 | -//#region node_modules/core-js/internals/array-includes.js | |
| 865 | - var require_array_includes = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 866 | - var toIndexedObject = require_to_indexed_object(); | |
| 867 | - var toAbsoluteIndex = require_to_absolute_index(); | |
| 868 | - var lengthOfArrayLike = require_length_of_array_like(); | |
| 869 | - var createMethod = function(IS_INCLUDES) { | |
| 870 | - return function($this, el, fromIndex) { | |
| 871 | - var O = toIndexedObject($this); | |
| 872 | - var length = lengthOfArrayLike(O); | |
| 873 | - if (length === 0) return !IS_INCLUDES && -1; | |
| 874 | - var index = toAbsoluteIndex(fromIndex, length); | |
| 875 | - var value; | |
| 876 | - if (IS_INCLUDES && el !== el) while (length > index) { | |
| 877 | - value = O[index++]; | |
| 878 | - if (value !== value) return true; | |
| 879 | - } | |
| 880 | - else for (; length > index; index++) if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; | |
| 881 | - return !IS_INCLUDES && -1; | |
| 882 | - }; | |
| 883 | - }; | |
| 884 | - module.exports = { | |
| 885 | - includes: createMethod(true), | |
| 886 | - indexOf: createMethod(false) | |
| 887 | - }; | |
| 888 | - })); | |
| 269 | + callback(controlView, elementView) { | |
| 270 | + var elementViewHandlerID = self.getUniqueHandlerID(elementView.model.cid, elementView.$el); | |
| 889 | 271 | |
| 890 | -//#endregion | |
| 891 | -//#region node_modules/core-js/internals/object-keys-internal.js | |
| 892 | - var require_object_keys_internal = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 893 | - var uncurryThis = require_function_uncurry_this(); | |
| 894 | - var hasOwn = require_has_own_property(); | |
| 895 | - var toIndexedObject = require_to_indexed_object(); | |
| 896 | - var indexOf = require_array_includes().indexOf; | |
| 897 | - var hiddenKeys = require_hidden_keys(); | |
| 898 | - var push = uncurryThis([].push); | |
| 899 | - module.exports = function(object, names) { | |
| 900 | - var O = toIndexedObject(object); | |
| 901 | - var i = 0; | |
| 902 | - var result = []; | |
| 903 | - var key; | |
| 904 | - for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key); | |
| 905 | - while (names.length > i) if (hasOwn(O, key = names[i++])) ~indexOf(result, key) || push(result, key); | |
| 906 | - return result; | |
| 907 | - }; | |
| 908 | - })); | |
| 272 | + if (elementViewHandlerID !== self.getUniqueHandlerID()) { | |
| 273 | + return; | |
| 274 | + } | |
| 909 | 275 | |
| 910 | -//#endregion | |
| 911 | -//#region node_modules/core-js/internals/enum-bug-keys.js | |
| 912 | - var require_enum_bug_keys = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 913 | - module.exports = [ | |
| 914 | - "constructor", | |
| 915 | - "hasOwnProperty", | |
| 916 | - "isPrototypeOf", | |
| 917 | - "propertyIsEnumerable", | |
| 918 | - "toLocaleString", | |
| 919 | - "toString", | |
| 920 | - "valueOf" | |
| 921 | - ]; | |
| 922 | - })); | |
| 276 | + self.onElementChange(controlView.model.get('name'), controlView, elementView); | |
| 277 | + } | |
| 923 | 278 | |
| 924 | -//#endregion | |
| 925 | -//#region node_modules/core-js/internals/object-get-own-property-names.js | |
| 926 | - var require_object_get_own_property_names = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 927 | - var internalObjectKeys = require_object_keys_internal(); | |
| 928 | - var hiddenKeys = require_enum_bug_keys().concat("length", "prototype"); | |
| 929 | - exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { | |
| 930 | - return internalObjectKeys(O, hiddenKeys); | |
| 931 | - }; | |
| 932 | - })); | |
| 279 | + }); | |
| 280 | + } | |
| 933 | 281 | |
| 934 | -//#endregion | |
| 935 | -//#region node_modules/core-js/internals/object-get-own-property-symbols.js | |
| 936 | - var require_object_get_own_property_symbols = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 937 | - exports.f = Object.getOwnPropertySymbols; | |
| 938 | - })); | |
| 282 | + if (self.onEditSettingsChange) { | |
| 283 | + self.editorListeners.push({ | |
| 284 | + event: 'change:editSettings', | |
| 285 | + to: elementor.channels.editor, | |
| 939 | 286 | |
| 940 | -//#endregion | |
| 941 | -//#region node_modules/core-js/internals/own-keys.js | |
| 942 | - var require_own_keys = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 943 | - var getBuiltIn = require_get_built_in(); | |
| 944 | - var uncurryThis = require_function_uncurry_this(); | |
| 945 | - var getOwnPropertyNamesModule = require_object_get_own_property_names(); | |
| 946 | - var getOwnPropertySymbolsModule = require_object_get_own_property_symbols(); | |
| 947 | - var anObject = require_an_object(); | |
| 948 | - var concat = uncurryThis([].concat); | |
| 949 | - module.exports = getBuiltIn("Reflect", "ownKeys") || function ownKeys(it) { | |
| 950 | - var keys = getOwnPropertyNamesModule.f(anObject(it)); | |
| 951 | - var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; | |
| 952 | - return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys; | |
| 953 | - }; | |
| 954 | - })); | |
| 287 | + callback(changedModel, view) { | |
| 288 | + if (view.model.cid !== self.getModelCID()) { | |
| 289 | + return; | |
| 290 | + } | |
| 955 | 291 | |
| 956 | -//#endregion | |
| 957 | -//#region node_modules/core-js/internals/copy-constructor-properties.js | |
| 958 | - var require_copy_constructor_properties = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 959 | - var hasOwn = require_has_own_property(); | |
| 960 | - var ownKeys = require_own_keys(); | |
| 961 | - var getOwnPropertyDescriptorModule = require_object_get_own_property_descriptor(); | |
| 962 | - var definePropertyModule = require_object_define_property(); | |
| 963 | - module.exports = function(target, source, exceptions) { | |
| 964 | - var keys = ownKeys(source); | |
| 965 | - var defineProperty = definePropertyModule.f; | |
| 966 | - var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; | |
| 967 | - for (var i = 0; i < keys.length; i++) { | |
| 968 | - var key = keys[i]; | |
| 969 | - if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) defineProperty(target, key, getOwnPropertyDescriptor(source, key)); | |
| 970 | - } | |
| 971 | - }; | |
| 972 | - })); | |
| 292 | + const propName = Object.keys(changedModel.changed)[0]; | |
| 293 | + self.onEditSettingsChange(propName, changedModel.changed[propName]); | |
| 294 | + } | |
| 973 | 295 | |
| 974 | -//#endregion | |
| 975 | -//#region node_modules/core-js/internals/is-forced.js | |
| 976 | - var require_is_forced = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 977 | - var fails = require_fails(); | |
| 978 | - var isCallable = require_is_callable(); | |
| 979 | - var replacement = /#|\.prototype\./; | |
| 980 | - var isForced = function(feature, detection) { | |
| 981 | - var value = data[normalize(feature)]; | |
| 982 | - return value === POLYFILL ? true : value === NATIVE ? false : isCallable(detection) ? fails(detection) : !!detection; | |
| 983 | - }; | |
| 984 | - var normalize = isForced.normalize = function(string) { | |
| 985 | - return String(string).replace(replacement, ".").toLowerCase(); | |
| 986 | - }; | |
| 987 | - var data = isForced.data = {}; | |
| 988 | - var NATIVE = isForced.NATIVE = "N"; | |
| 989 | - var POLYFILL = isForced.POLYFILL = "P"; | |
| 990 | - module.exports = isForced; | |
| 991 | - })); | |
| 296 | + }); | |
| 297 | + } | |
| 992 | 298 | |
| 993 | -//#endregion | |
| 994 | -//#region node_modules/core-js/internals/export.js | |
| 995 | - var require_export = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 996 | - var globalThis = require_global_this(); | |
| 997 | - var getOwnPropertyDescriptor = require_object_get_own_property_descriptor().f; | |
| 998 | - var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
| 999 | - var defineBuiltIn = require_define_built_in(); | |
| 1000 | - var defineGlobalProperty = require_define_global_property(); | |
| 1001 | - var copyConstructorProperties = require_copy_constructor_properties(); | |
| 1002 | - var isForced = require_is_forced(); | |
| 1003 | - module.exports = function(options, source) { | |
| 1004 | - var TARGET = options.target; | |
| 1005 | - var GLOBAL = options.global; | |
| 1006 | - var STATIC = options.stat; | |
| 1007 | - var FORCED; | |
| 1008 | - var target; | |
| 1009 | - var key; | |
| 1010 | - var targetProperty; | |
| 1011 | - var sourceProperty; | |
| 1012 | - var descriptor; | |
| 1013 | - if (GLOBAL) target = globalThis; | |
| 1014 | - else if (STATIC) target = globalThis[TARGET] || defineGlobalProperty(TARGET, {}); | |
| 1015 | - else target = globalThis[TARGET] && globalThis[TARGET].prototype; | |
| 1016 | - if (target) for (key in source) { | |
| 1017 | - sourceProperty = source[key]; | |
| 1018 | - if (options.dontCallGetSet) { | |
| 1019 | - descriptor = getOwnPropertyDescriptor(target, key); | |
| 1020 | - targetProperty = descriptor && descriptor.value; | |
| 1021 | - } else targetProperty = target[key]; | |
| 1022 | - FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? "." : "#") + key, options.forced); | |
| 1023 | - if (!FORCED && targetProperty !== void 0) { | |
| 1024 | - if (typeof sourceProperty == typeof targetProperty) continue; | |
| 1025 | - copyConstructorProperties(sourceProperty, targetProperty); | |
| 1026 | - } | |
| 1027 | - if (options.sham || targetProperty && targetProperty.sham) createNonEnumerableProperty(sourceProperty, "sham", true); | |
| 1028 | - defineBuiltIn(target, key, sourceProperty, options); | |
| 1029 | - } | |
| 1030 | - }; | |
| 1031 | - })); | |
| 299 | + ['page'].forEach(function (settingsType) { | |
| 300 | + var listenerMethodName = 'on' + settingsType[0].toUpperCase() + settingsType.slice(1) + 'SettingsChange'; | |
| 1032 | 301 | |
| 1033 | -//#endregion | |
| 1034 | -//#region node_modules/core-js/internals/is-array.js | |
| 1035 | - var require_is_array = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1036 | - var classof = require_classof_raw(); | |
| 1037 | - module.exports = Array.isArray || function isArray(argument) { | |
| 1038 | - return classof(argument) === "Array"; | |
| 1039 | - }; | |
| 1040 | - })); | |
| 302 | + if (self[listenerMethodName]) { | |
| 303 | + self.editorListeners.push({ | |
| 304 | + event: 'change', | |
| 305 | + to: elementor.settings[settingsType].model, | |
| 1041 | 306 | |
| 1042 | -//#endregion | |
| 1043 | -//#region node_modules/core-js/internals/array-set-length.js | |
| 1044 | - var require_array_set_length = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1045 | - var DESCRIPTORS = require_descriptors(); | |
| 1046 | - var isArray = require_is_array(); | |
| 1047 | - var $TypeError = TypeError; | |
| 1048 | - var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
| 1049 | - var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function() { | |
| 1050 | - if (this !== void 0) return true; | |
| 1051 | - try { | |
| 1052 | - Object.defineProperty([], "length", { writable: false }).length = 1; | |
| 1053 | - } catch (error) { | |
| 1054 | - return error instanceof TypeError; | |
| 1055 | - } | |
| 1056 | - }(); | |
| 1057 | - module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function(O, length) { | |
| 1058 | - if (isArray(O) && !getOwnPropertyDescriptor(O, "length").writable) throw new $TypeError("Cannot set read only .length"); | |
| 1059 | - return O.length = length; | |
| 1060 | - } : function(O, length) { | |
| 1061 | - return O.length = length; | |
| 1062 | - }; | |
| 1063 | - })); | |
| 307 | + callback(model) { | |
| 308 | + self[listenerMethodName](model.changed); | |
| 309 | + } | |
| 1064 | 310 | |
| 1065 | -//#endregion | |
| 1066 | -//#region node_modules/core-js/internals/does-not-exceed-safe-integer.js | |
| 1067 | - var require_does_not_exceed_safe_integer = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1068 | - var $TypeError = TypeError; | |
| 1069 | - var MAX_SAFE_INTEGER = 9007199254740991; | |
| 1070 | - module.exports = function(it) { | |
| 1071 | - if (it > MAX_SAFE_INTEGER) throw $TypeError("Maximum allowed index exceeded"); | |
| 1072 | - return it; | |
| 1073 | - }; | |
| 1074 | - })); | |
| 311 | + }); | |
| 312 | + } | |
| 313 | + }); | |
| 314 | + }, | |
| 1075 | 315 | |
| 1076 | -//#endregion | |
| 1077 | -//#region node_modules/core-js/modules/es.array.push.js | |
| 1078 | - var require_es_array_push = /* @__PURE__ */ __commonJSMin((() => { | |
| 1079 | - var $ = require_export(); | |
| 1080 | - var toObject = require_to_object(); | |
| 1081 | - var lengthOfArrayLike = require_length_of_array_like(); | |
| 1082 | - var setArrayLength = require_array_set_length(); | |
| 1083 | - var doesNotExceedSafeInteger = require_does_not_exceed_safe_integer(); | |
| 1084 | - var INCORRECT_TO_LENGTH = require_fails()(function() { | |
| 1085 | - return [].push.call({ length: 4294967296 }, 1) !== 4294967297; | |
| 1086 | - }); | |
| 1087 | - var properErrorOnNonWritableLength = function() { | |
| 1088 | - try { | |
| 1089 | - Object.defineProperty([], "length", { writable: false }).push(); | |
| 1090 | - } catch (error) { | |
| 1091 | - return error instanceof TypeError; | |
| 1092 | - } | |
| 1093 | - }; | |
| 1094 | - $({ | |
| 1095 | - target: "Array", | |
| 1096 | - proto: true, | |
| 1097 | - arity: 1, | |
| 1098 | - forced: INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength() | |
| 1099 | - }, { push: function push(item) { | |
| 1100 | - var O = toObject(this); | |
| 1101 | - var len = lengthOfArrayLike(O); | |
| 1102 | - var argCount = arguments.length; | |
| 1103 | - doesNotExceedSafeInteger(len + argCount); | |
| 1104 | - for (var i = 0; i < argCount; i++) { | |
| 1105 | - O[len] = arguments[i]; | |
| 1106 | - len++; | |
| 1107 | - } | |
| 1108 | - setArrayLength(O, len); | |
| 1109 | - return len; | |
| 1110 | - } }); | |
| 1111 | - })); | |
| 316 | + getEditorListeners() { | |
| 317 | + if (!this.editorListeners) { | |
| 318 | + this.initEditorListeners(); | |
| 319 | + } | |
| 1112 | 320 | |
| 1113 | -//#endregion | |
| 1114 | -//#region node_modules/core-js/internals/an-instance.js | |
| 1115 | - var require_an_instance = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1116 | - var isPrototypeOf = require_object_is_prototype_of(); | |
| 1117 | - var $TypeError = TypeError; | |
| 1118 | - module.exports = function(it, Prototype) { | |
| 1119 | - if (isPrototypeOf(Prototype, it)) return it; | |
| 1120 | - throw new $TypeError("Incorrect invocation"); | |
| 1121 | - }; | |
| 1122 | - })); | |
| 321 | + return this.editorListeners; | |
| 322 | + }, | |
| 1123 | 323 | |
| 1124 | -//#endregion | |
| 1125 | -//#region node_modules/core-js/internals/correct-prototype-getter.js | |
| 1126 | - var require_correct_prototype_getter = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1127 | - var fails = require_fails(); | |
| 1128 | - module.exports = !fails(function() { | |
| 1129 | - function F() {} | |
| 1130 | - F.prototype.constructor = null; | |
| 1131 | - return Object.getPrototypeOf(new F()) !== F.prototype; | |
| 1132 | - }); | |
| 1133 | - })); | |
| 324 | + addEditorListeners() { | |
| 325 | + var uniqueHandlerID = this.getUniqueHandlerID(); | |
| 326 | + this.getEditorListeners().forEach(function (listener) { | |
| 327 | + elementorFrontend.addListenerOnce(uniqueHandlerID, listener.event, listener.callback, listener.to); | |
| 328 | + }); | |
| 329 | + }, | |
| 1134 | 330 | |
| 1135 | -//#endregion | |
| 1136 | -//#region node_modules/core-js/internals/object-get-prototype-of.js | |
| 1137 | - var require_object_get_prototype_of = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1138 | - var hasOwn = require_has_own_property(); | |
| 1139 | - var isCallable = require_is_callable(); | |
| 1140 | - var toObject = require_to_object(); | |
| 1141 | - var sharedKey = require_shared_key(); | |
| 1142 | - var CORRECT_PROTOTYPE_GETTER = require_correct_prototype_getter(); | |
| 1143 | - var IE_PROTO = sharedKey("IE_PROTO"); | |
| 1144 | - var $Object = Object; | |
| 1145 | - var ObjectPrototype = $Object.prototype; | |
| 1146 | - module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function(O) { | |
| 1147 | - var object = toObject(O); | |
| 1148 | - if (hasOwn(object, IE_PROTO)) return object[IE_PROTO]; | |
| 1149 | - var constructor = object.constructor; | |
| 1150 | - if (isCallable(constructor) && object instanceof constructor) return constructor.prototype; | |
| 1151 | - return object instanceof $Object ? ObjectPrototype : null; | |
| 1152 | - }; | |
| 1153 | - })); | |
| 331 | + removeEditorListeners() { | |
| 332 | + var uniqueHandlerID = this.getUniqueHandlerID(); | |
| 333 | + this.getEditorListeners().forEach(function (listener) { | |
| 334 | + elementorFrontend.removeListeners(uniqueHandlerID, listener.event, null, listener.to); | |
| 335 | + }); | |
| 336 | + }, | |
| 1154 | 337 | |
| 1155 | -//#endregion | |
| 1156 | -//#region node_modules/core-js/internals/define-built-in-accessor.js | |
| 1157 | - var require_define_built_in_accessor = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1158 | - var makeBuiltIn = require_make_built_in(); | |
| 1159 | - var defineProperty = require_object_define_property(); | |
| 1160 | - module.exports = function(target, name, descriptor) { | |
| 1161 | - if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true }); | |
| 1162 | - if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true }); | |
| 1163 | - return defineProperty.f(target, name, descriptor); | |
| 1164 | - }; | |
| 1165 | - })); | |
| 338 | + getElementType() { | |
| 339 | + return this.$element.data('element_type'); | |
| 340 | + }, | |
| 1166 | 341 | |
| 1167 | -//#endregion | |
| 1168 | -//#region node_modules/core-js/internals/create-property.js | |
| 1169 | - var require_create_property = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1170 | - var DESCRIPTORS = require_descriptors(); | |
| 1171 | - var definePropertyModule = require_object_define_property(); | |
| 1172 | - var createPropertyDescriptor = require_create_property_descriptor(); | |
| 1173 | - module.exports = function(object, key, value) { | |
| 1174 | - if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value)); | |
| 1175 | - else object[key] = value; | |
| 1176 | - }; | |
| 1177 | - })); | |
| 342 | + getWidgetType() { | |
| 343 | + const widgetType = this.$element.data('widget_type'); | |
| 1178 | 344 | |
| 1179 | -//#endregion | |
| 1180 | -//#region node_modules/core-js/internals/object-keys.js | |
| 1181 | - var require_object_keys = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1182 | - var internalObjectKeys = require_object_keys_internal(); | |
| 1183 | - var enumBugKeys = require_enum_bug_keys(); | |
| 1184 | - module.exports = Object.keys || function keys(O) { | |
| 1185 | - return internalObjectKeys(O, enumBugKeys); | |
| 1186 | - }; | |
| 1187 | - })); | |
| 345 | + if (!widgetType) { | |
| 346 | + return; | |
| 347 | + } | |
| 1188 | 348 | |
| 1189 | -//#endregion | |
| 1190 | -//#region node_modules/core-js/internals/object-define-properties.js | |
| 1191 | - var require_object_define_properties = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 1192 | - var DESCRIPTORS = require_descriptors(); | |
| 1193 | - var V8_PROTOTYPE_DEFINE_BUG = require_v8_prototype_define_bug(); | |
| 1194 | - var definePropertyModule = require_object_define_property(); | |
| 1195 | - var anObject = require_an_object(); | |
| 1196 | - var toIndexedObject = require_to_indexed_object(); | |
| 1197 | - var objectKeys = require_object_keys(); | |
| 1198 | - exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { | |
| 1199 | - anObject(O); | |
| 1200 | - var props = toIndexedObject(Properties); | |
| 1201 | - var keys = objectKeys(Properties); | |
| 1202 | - var length = keys.length; | |
| 1203 | - var index = 0; | |
| 1204 | - var key; | |
| 1205 | - while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]); | |
| 1206 | - return O; | |
| 1207 | - }; | |
| 1208 | - })); | |
| 349 | + return widgetType.split('.')[0]; | |
| 350 | + }, | |
| 1209 | 351 | |
| 1210 | -//#endregion | |
| 1211 | -//#region node_modules/core-js/internals/html.js | |
| 1212 | - var require_html = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1213 | - var getBuiltIn = require_get_built_in(); | |
| 1214 | - module.exports = getBuiltIn("document", "documentElement"); | |
| 1215 | - })); | |
| 352 | + getID() { | |
| 353 | + return this.$element.data('id'); | |
| 354 | + }, | |
| 1216 | 355 | |
| 1217 | -//#endregion | |
| 1218 | -//#region node_modules/core-js/internals/object-create.js | |
| 1219 | - var require_object_create = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1220 | - var anObject = require_an_object(); | |
| 1221 | - var definePropertiesModule = require_object_define_properties(); | |
| 1222 | - var enumBugKeys = require_enum_bug_keys(); | |
| 1223 | - var hiddenKeys = require_hidden_keys(); | |
| 1224 | - var html = require_html(); | |
| 1225 | - var documentCreateElement = require_document_create_element(); | |
| 1226 | - var sharedKey = require_shared_key(); | |
| 1227 | - var GT = ">"; | |
| 1228 | - var LT = "<"; | |
| 1229 | - var PROTOTYPE = "prototype"; | |
| 1230 | - var SCRIPT = "script"; | |
| 1231 | - var IE_PROTO = sharedKey("IE_PROTO"); | |
| 1232 | - var EmptyConstructor = function() {}; | |
| 1233 | - var scriptTag = function(content) { | |
| 1234 | - return LT + SCRIPT + GT + content + LT + "/" + SCRIPT + GT; | |
| 1235 | - }; | |
| 1236 | - var NullProtoObjectViaActiveX = function(activeXDocument) { | |
| 1237 | - activeXDocument.write(scriptTag("")); | |
| 1238 | - activeXDocument.close(); | |
| 1239 | - var temp = activeXDocument.parentWindow.Object; | |
| 1240 | - activeXDocument = null; | |
| 1241 | - return temp; | |
| 1242 | - }; | |
| 1243 | - var NullProtoObjectViaIFrame = function() { | |
| 1244 | - var iframe = documentCreateElement("iframe"); | |
| 1245 | - var JS = "java" + SCRIPT + ":"; | |
| 1246 | - var iframeDocument; | |
| 1247 | - iframe.style.display = "none"; | |
| 1248 | - html.appendChild(iframe); | |
| 1249 | - iframe.src = String(JS); | |
| 1250 | - iframeDocument = iframe.contentWindow.document; | |
| 1251 | - iframeDocument.open(); | |
| 1252 | - iframeDocument.write(scriptTag("document.F=Object")); | |
| 1253 | - iframeDocument.close(); | |
| 1254 | - return iframeDocument.F; | |
| 1255 | - }; | |
| 1256 | - var activeXDocument; | |
| 1257 | - var NullProtoObject = function() { | |
| 1258 | - try { | |
| 1259 | - activeXDocument = new ActiveXObject("htmlfile"); | |
| 1260 | - } catch (error) {} | |
| 1261 | - NullProtoObject = typeof document != "undefined" ? document.domain && activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame() : NullProtoObjectViaActiveX(activeXDocument); | |
| 1262 | - var length = enumBugKeys.length; | |
| 1263 | - while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; | |
| 1264 | - return NullProtoObject(); | |
| 1265 | - }; | |
| 1266 | - hiddenKeys[IE_PROTO] = true; | |
| 1267 | - module.exports = Object.create || function create(O, Properties) { | |
| 1268 | - var result; | |
| 1269 | - if (O !== null) { | |
| 1270 | - EmptyConstructor[PROTOTYPE] = anObject(O); | |
| 1271 | - result = new EmptyConstructor(); | |
| 1272 | - EmptyConstructor[PROTOTYPE] = null; | |
| 1273 | - result[IE_PROTO] = O; | |
| 1274 | - } else result = NullProtoObject(); | |
| 1275 | - return Properties === void 0 ? result : definePropertiesModule.f(result, Properties); | |
| 1276 | - }; | |
| 1277 | - })); | |
| 356 | + getModelCID() { | |
| 357 | + return this.$element.data('model-cid'); | |
| 358 | + }, | |
| 1278 | 359 | |
| 1279 | -//#endregion | |
| 1280 | -//#region node_modules/core-js/internals/iterators-core.js | |
| 1281 | - var require_iterators_core = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1282 | - var fails = require_fails(); | |
| 1283 | - var isCallable = require_is_callable(); | |
| 1284 | - var isObject = require_is_object(); | |
| 1285 | - var create = require_object_create(); | |
| 1286 | - var getPrototypeOf = require_object_get_prototype_of(); | |
| 1287 | - var defineBuiltIn = require_define_built_in(); | |
| 1288 | - var wellKnownSymbol = require_well_known_symbol(); | |
| 1289 | - var IS_PURE = require_is_pure(); | |
| 1290 | - var ITERATOR = wellKnownSymbol("iterator"); | |
| 1291 | - var BUGGY_SAFARI_ITERATORS = false; | |
| 1292 | - var IteratorPrototype; | |
| 1293 | - var PrototypeOfArrayIteratorPrototype; | |
| 1294 | - var arrayIterator; | |
| 1295 | - if ([].keys) { | |
| 1296 | - arrayIterator = [].keys(); | |
| 1297 | - if (!("next" in arrayIterator)) BUGGY_SAFARI_ITERATORS = true; | |
| 1298 | - else { | |
| 1299 | - PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator)); | |
| 1300 | - if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype; | |
| 1301 | - } | |
| 1302 | - } | |
| 1303 | - if (!isObject(IteratorPrototype) || fails(function() { | |
| 1304 | - var test = {}; | |
| 1305 | - return IteratorPrototype[ITERATOR].call(test) !== test; | |
| 1306 | - })) IteratorPrototype = {}; | |
| 1307 | - else if (IS_PURE) IteratorPrototype = create(IteratorPrototype); | |
| 1308 | - if (!isCallable(IteratorPrototype[ITERATOR])) defineBuiltIn(IteratorPrototype, ITERATOR, function() { | |
| 1309 | - return this; | |
| 1310 | - }); | |
| 1311 | - module.exports = { | |
| 1312 | - IteratorPrototype, | |
| 1313 | - BUGGY_SAFARI_ITERATORS | |
| 1314 | - }; | |
| 1315 | - })); | |
| 360 | + getElementSettings(setting) { | |
| 361 | + let elementSettings = {}; | |
| 362 | + const modelCID = this.getModelCID(); | |
| 1316 | 363 | |
| 1317 | -//#endregion | |
| 1318 | -//#region node_modules/core-js/modules/es.iterator.constructor.js | |
| 1319 | - var require_es_iterator_constructor = /* @__PURE__ */ __commonJSMin((() => { | |
| 1320 | - var $ = require_export(); | |
| 1321 | - var globalThis = require_global_this(); | |
| 1322 | - var anInstance = require_an_instance(); | |
| 1323 | - var anObject = require_an_object(); | |
| 1324 | - var isCallable = require_is_callable(); | |
| 1325 | - var getPrototypeOf = require_object_get_prototype_of(); | |
| 1326 | - var defineBuiltInAccessor = require_define_built_in_accessor(); | |
| 1327 | - var createProperty = require_create_property(); | |
| 1328 | - var fails = require_fails(); | |
| 1329 | - var hasOwn = require_has_own_property(); | |
| 1330 | - var wellKnownSymbol = require_well_known_symbol(); | |
| 1331 | - var IteratorPrototype = require_iterators_core().IteratorPrototype; | |
| 1332 | - var DESCRIPTORS = require_descriptors(); | |
| 1333 | - var IS_PURE = require_is_pure(); | |
| 1334 | - var CONSTRUCTOR = "constructor"; | |
| 1335 | - var ITERATOR = "Iterator"; | |
| 1336 | - var TO_STRING_TAG = wellKnownSymbol("toStringTag"); | |
| 1337 | - var $TypeError = TypeError; | |
| 1338 | - var NativeIterator = globalThis[ITERATOR]; | |
| 1339 | - var FORCED = IS_PURE || !isCallable(NativeIterator) || NativeIterator.prototype !== IteratorPrototype || !fails(function() { | |
| 1340 | - NativeIterator({}); | |
| 1341 | - }); | |
| 1342 | - var IteratorConstructor = function Iterator() { | |
| 1343 | - anInstance(this, IteratorPrototype); | |
| 1344 | - if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError("Abstract class Iterator not directly constructable"); | |
| 1345 | - }; | |
| 1346 | - var defineIteratorPrototypeAccessor = function(key, value) { | |
| 1347 | - if (DESCRIPTORS) defineBuiltInAccessor(IteratorPrototype, key, { | |
| 1348 | - configurable: true, | |
| 1349 | - get: function() { | |
| 1350 | - return value; | |
| 1351 | - }, | |
| 1352 | - set: function(replacement) { | |
| 1353 | - anObject(this); | |
| 1354 | - if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property"); | |
| 1355 | - if (hasOwn(this, key)) this[key] = replacement; | |
| 1356 | - else createProperty(this, key, replacement); | |
| 1357 | - } | |
| 1358 | - }); | |
| 1359 | - else IteratorPrototype[key] = value; | |
| 1360 | - }; | |
| 1361 | - if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR); | |
| 1362 | - if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor); | |
| 1363 | - IteratorConstructor.prototype = IteratorPrototype; | |
| 1364 | - $({ | |
| 1365 | - global: true, | |
| 1366 | - constructor: true, | |
| 1367 | - forced: FORCED | |
| 1368 | - }, { Iterator: IteratorConstructor }); | |
| 1369 | - })); | |
| 364 | + if (this.isEdit && modelCID) { | |
| 365 | + const settings = elementorFrontend.config.elements.data[modelCID], | |
| 366 | + attributes = settings.attributes; | |
| 367 | + let type = attributes.widgetType || attributes.elType; | |
| 1370 | 368 | |
| 1371 | -//#endregion | |
| 1372 | -//#region node_modules/core-js/modules/esnext.iterator.constructor.js | |
| 1373 | - var require_esnext_iterator_constructor = /* @__PURE__ */ __commonJSMin((() => { | |
| 1374 | - require_es_iterator_constructor(); | |
| 1375 | - })); | |
| 369 | + if (attributes.isInner) { | |
| 370 | + type = 'inner-' + type; | |
| 371 | + } | |
| 1376 | 372 | |
| 1377 | -//#endregion | |
| 1378 | -//#region node_modules/core-js/internals/get-iterator-direct.js | |
| 1379 | - var require_get_iterator_direct = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1380 | - module.exports = function(obj) { | |
| 1381 | - return { | |
| 1382 | - iterator: obj, | |
| 1383 | - next: obj.next, | |
| 1384 | - done: false | |
| 1385 | - }; | |
| 1386 | - }; | |
| 1387 | - })); | |
| 373 | + let settingsKeys = elementorFrontend.config.elements.keys[type]; | |
| 1388 | 374 | |
| 1389 | -//#endregion | |
| 1390 | -//#region node_modules/core-js/internals/define-built-ins.js | |
| 1391 | - var require_define_built_ins = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1392 | - var defineBuiltIn = require_define_built_in(); | |
| 1393 | - module.exports = function(target, src, options) { | |
| 1394 | - for (var key in src) defineBuiltIn(target, key, src[key], options); | |
| 1395 | - return target; | |
| 1396 | - }; | |
| 1397 | - })); | |
| 375 | + if (!settingsKeys) { | |
| 376 | + settingsKeys = elementorFrontend.config.elements.keys[type] = []; | |
| 377 | + jQuery.each(settings.controls, (name, control) => { | |
| 378 | + if (control.frontend_available) { | |
| 379 | + settingsKeys.push(name); | |
| 380 | + } | |
| 381 | + }); | |
| 382 | + } | |
| 1398 | 383 | |
| 1399 | -//#endregion | |
| 1400 | -//#region node_modules/core-js/internals/create-iter-result-object.js | |
| 1401 | - var require_create_iter_result_object = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1402 | - module.exports = function(value, done) { | |
| 1403 | - return { | |
| 1404 | - value, | |
| 1405 | - done | |
| 1406 | - }; | |
| 1407 | - }; | |
| 1408 | - })); | |
| 384 | + jQuery.each(settings.getActiveControls(), function (controlKey) { | |
| 385 | + if (-1 !== settingsKeys.indexOf(controlKey)) { | |
| 386 | + let value = attributes[controlKey]; | |
| 1409 | 387 | |
| 1410 | -//#endregion | |
| 1411 | -//#region node_modules/core-js/internals/iterator-close.js | |
| 1412 | - var require_iterator_close = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1413 | - var call = require_function_call(); | |
| 1414 | - var anObject = require_an_object(); | |
| 1415 | - var getMethod = require_get_method(); | |
| 1416 | - module.exports = function(iterator, kind, value) { | |
| 1417 | - var innerResult; | |
| 1418 | - var innerError; | |
| 1419 | - anObject(iterator); | |
| 1420 | - try { | |
| 1421 | - innerResult = getMethod(iterator, "return"); | |
| 1422 | - if (!innerResult) { | |
| 1423 | - if (kind === "throw") throw value; | |
| 1424 | - return value; | |
| 1425 | - } | |
| 1426 | - innerResult = call(innerResult, iterator); | |
| 1427 | - } catch (error) { | |
| 1428 | - innerError = true; | |
| 1429 | - innerResult = error; | |
| 1430 | - } | |
| 1431 | - if (kind === "throw") throw value; | |
| 1432 | - if (innerError) throw innerResult; | |
| 1433 | - anObject(innerResult); | |
| 1434 | - return value; | |
| 1435 | - }; | |
| 1436 | - })); | |
| 388 | + if (value.toJSON) { | |
| 389 | + value = value.toJSON(); | |
| 390 | + } | |
| 1437 | 391 | |
| 1438 | -//#endregion | |
| 1439 | -//#region node_modules/core-js/internals/iterator-close-all.js | |
| 1440 | - var require_iterator_close_all = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1441 | - var iteratorClose = require_iterator_close(); | |
| 1442 | - module.exports = function(iters, kind, value) { | |
| 1443 | - for (var i = iters.length - 1; i >= 0; i--) { | |
| 1444 | - if (iters[i] === void 0) continue; | |
| 1445 | - try { | |
| 1446 | - value = iteratorClose(iters[i].iterator, kind, value); | |
| 1447 | - } catch (error) { | |
| 1448 | - kind = "throw"; | |
| 1449 | - value = error; | |
| 1450 | - } | |
| 1451 | - } | |
| 1452 | - if (kind === "throw") throw value; | |
| 1453 | - return value; | |
| 1454 | - }; | |
| 1455 | - })); | |
| 392 | + elementSettings[controlKey] = value; | |
| 393 | + } | |
| 394 | + }); | |
| 395 | + } else { | |
| 396 | + elementSettings = this.$element.data('settings') || {}; | |
| 397 | + } | |
| 1456 | 398 | |
| 1457 | -//#endregion | |
| 1458 | -//#region node_modules/core-js/internals/iterator-create-proxy.js | |
| 1459 | - var require_iterator_create_proxy = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1460 | - var call = require_function_call(); | |
| 1461 | - var create = require_object_create(); | |
| 1462 | - var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
| 1463 | - var defineBuiltIns = require_define_built_ins(); | |
| 1464 | - var wellKnownSymbol = require_well_known_symbol(); | |
| 1465 | - var InternalStateModule = require_internal_state(); | |
| 1466 | - var getMethod = require_get_method(); | |
| 1467 | - var IteratorPrototype = require_iterators_core().IteratorPrototype; | |
| 1468 | - var createIterResultObject = require_create_iter_result_object(); | |
| 1469 | - var iteratorClose = require_iterator_close(); | |
| 1470 | - var iteratorCloseAll = require_iterator_close_all(); | |
| 1471 | - var TO_STRING_TAG = wellKnownSymbol("toStringTag"); | |
| 1472 | - var ITERATOR_HELPER = "IteratorHelper"; | |
| 1473 | - var WRAP_FOR_VALID_ITERATOR = "WrapForValidIterator"; | |
| 1474 | - var NORMAL = "normal"; | |
| 1475 | - var THROW = "throw"; | |
| 1476 | - var setInternalState = InternalStateModule.set; | |
| 1477 | - var createIteratorProxyPrototype = function(IS_ITERATOR) { | |
| 1478 | - var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER); | |
| 1479 | - return defineBuiltIns(create(IteratorPrototype), { | |
| 1480 | - next: function next() { | |
| 1481 | - var state = getInternalState(this); | |
| 1482 | - if (IS_ITERATOR) return state.nextHandler(); | |
| 1483 | - if (state.done) return createIterResultObject(void 0, true); | |
| 1484 | - try { | |
| 1485 | - var result = state.nextHandler(); | |
| 1486 | - return state.returnHandlerResult ? result : createIterResultObject(result, state.done); | |
| 1487 | - } catch (error) { | |
| 1488 | - state.done = true; | |
| 1489 | - throw error; | |
| 1490 | - } | |
| 1491 | - }, | |
| 1492 | - "return": function() { | |
| 1493 | - var state = getInternalState(this); | |
| 1494 | - var iterator = state.iterator; | |
| 1495 | - state.done = true; | |
| 1496 | - if (IS_ITERATOR) { | |
| 1497 | - var returnMethod = getMethod(iterator, "return"); | |
| 1498 | - return returnMethod ? call(returnMethod, iterator) : createIterResultObject(void 0, true); | |
| 1499 | - } | |
| 1500 | - if (state.inner) try { | |
| 1501 | - iteratorClose(state.inner.iterator, NORMAL); | |
| 1502 | - } catch (error) { | |
| 1503 | - return iteratorClose(iterator, THROW, error); | |
| 1504 | - } | |
| 1505 | - if (state.openIters) try { | |
| 1506 | - iteratorCloseAll(state.openIters, NORMAL); | |
| 1507 | - } catch (error) { | |
| 1508 | - return iteratorClose(iterator, THROW, error); | |
| 1509 | - } | |
| 1510 | - if (iterator) iteratorClose(iterator, NORMAL); | |
| 1511 | - return createIterResultObject(void 0, true); | |
| 1512 | - } | |
| 1513 | - }); | |
| 1514 | - }; | |
| 1515 | - var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true); | |
| 1516 | - var IteratorHelperPrototype = createIteratorProxyPrototype(false); | |
| 1517 | - createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, "Iterator Helper"); | |
| 1518 | - module.exports = function(nextHandler, IS_ITERATOR, RETURN_HANDLER_RESULT) { | |
| 1519 | - var IteratorProxy = function Iterator(record, state) { | |
| 1520 | - if (state) { | |
| 1521 | - state.iterator = record.iterator; | |
| 1522 | - state.next = record.next; | |
| 1523 | - } else state = record; | |
| 1524 | - state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER; | |
| 1525 | - state.returnHandlerResult = !!RETURN_HANDLER_RESULT; | |
| 1526 | - state.nextHandler = nextHandler; | |
| 1527 | - state.counter = 0; | |
| 1528 | - state.done = false; | |
| 1529 | - setInternalState(this, state); | |
| 1530 | - }; | |
| 1531 | - IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype; | |
| 1532 | - return IteratorProxy; | |
| 1533 | - }; | |
| 1534 | - })); | |
| 399 | + return this.getItems(elementSettings, setting); | |
| 400 | + }, | |
| 1535 | 401 | |
| 1536 | -//#endregion | |
| 1537 | -//#region node_modules/core-js/internals/call-with-safe-iteration-closing.js | |
| 1538 | - var require_call_with_safe_iteration_closing = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1539 | - var anObject = require_an_object(); | |
| 1540 | - var iteratorClose = require_iterator_close(); | |
| 1541 | - module.exports = function(iterator, fn, value, ENTRIES) { | |
| 1542 | - try { | |
| 1543 | - return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); | |
| 1544 | - } catch (error) { | |
| 1545 | - iteratorClose(iterator, "throw", error); | |
| 1546 | - } | |
| 1547 | - }; | |
| 1548 | - })); | |
| 402 | + getEditSettings(setting) { | |
| 403 | + var attributes = {}; | |
| 1549 | 404 | |
| 1550 | -//#endregion | |
| 1551 | -//#region node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js | |
| 1552 | - var require_iterator_helper_throws_on_invalid_iterator = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1553 | - module.exports = function(methodName, argument) { | |
| 1554 | - var method = typeof Iterator == "function" && Iterator.prototype[methodName]; | |
| 1555 | - if (method) try { | |
| 1556 | - method.call({ next: null }, argument).next(); | |
| 1557 | - } catch (error) { | |
| 1558 | - return true; | |
| 1559 | - } | |
| 1560 | - }; | |
| 1561 | - })); | |
| 405 | + if (this.isEdit) { | |
| 406 | + attributes = elementorFrontend.config.elements.editSettings[this.getModelCID()].attributes; | |
| 407 | + } | |
| 1562 | 408 | |
| 1563 | -//#endregion | |
| 1564 | -//#region node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js | |
| 1565 | - var require_iterator_helper_without_closing_on_early_error = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1566 | - var globalThis = require_global_this(); | |
| 1567 | - module.exports = function(METHOD_NAME, ExpectedError) { | |
| 1568 | - var Iterator = globalThis.Iterator; | |
| 1569 | - var IteratorPrototype = Iterator && Iterator.prototype; | |
| 1570 | - var method = IteratorPrototype && IteratorPrototype[METHOD_NAME]; | |
| 1571 | - var CLOSED = false; | |
| 1572 | - if (method) try { | |
| 1573 | - method.call({ | |
| 1574 | - next: function() { | |
| 1575 | - return { done: true }; | |
| 1576 | - }, | |
| 1577 | - "return": function() { | |
| 1578 | - CLOSED = true; | |
| 1579 | - } | |
| 1580 | - }, -1); | |
| 1581 | - } catch (error) { | |
| 1582 | - if (!(error instanceof ExpectedError)) CLOSED = false; | |
| 1583 | - } | |
| 1584 | - if (!CLOSED) return method; | |
| 1585 | - }; | |
| 1586 | - })); | |
| 409 | + return this.getItems(attributes, setting); | |
| 410 | + }, | |
| 1587 | 411 | |
| 1588 | -//#endregion | |
| 1589 | -//#region node_modules/core-js/modules/es.iterator.filter.js | |
| 1590 | - var require_es_iterator_filter = /* @__PURE__ */ __commonJSMin((() => { | |
| 1591 | - var $ = require_export(); | |
| 1592 | - var call = require_function_call(); | |
| 1593 | - var aCallable = require_a_callable(); | |
| 1594 | - var anObject = require_an_object(); | |
| 1595 | - var getIteratorDirect = require_get_iterator_direct(); | |
| 1596 | - var createIteratorProxy = require_iterator_create_proxy(); | |
| 1597 | - var callWithSafeIterationClosing = require_call_with_safe_iteration_closing(); | |
| 1598 | - var IS_PURE = require_is_pure(); | |
| 1599 | - var iteratorClose = require_iterator_close(); | |
| 1600 | - var iteratorHelperThrowsOnInvalidIterator = require_iterator_helper_throws_on_invalid_iterator(); | |
| 1601 | - var iteratorHelperWithoutClosingOnEarlyError = require_iterator_helper_without_closing_on_early_error(); | |
| 1602 | - var FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator("filter", function() {}); | |
| 1603 | - var filterWithoutClosingOnEarlyError = !IS_PURE && !FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR && iteratorHelperWithoutClosingOnEarlyError("filter", TypeError); | |
| 1604 | - var FORCED = IS_PURE || FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR || filterWithoutClosingOnEarlyError; | |
| 1605 | - var IteratorProxy = createIteratorProxy(function() { | |
| 1606 | - var iterator = this.iterator; | |
| 1607 | - var predicate = this.predicate; | |
| 1608 | - var next = this.next; | |
| 1609 | - var result; | |
| 1610 | - var done; | |
| 1611 | - var value; | |
| 1612 | - while (true) { | |
| 1613 | - result = anObject(call(next, iterator)); | |
| 1614 | - done = this.done = !!result.done; | |
| 1615 | - if (done) return; | |
| 1616 | - value = result.value; | |
| 1617 | - if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value; | |
| 1618 | - } | |
| 1619 | - }); | |
| 1620 | - $({ | |
| 1621 | - target: "Iterator", | |
| 1622 | - proto: true, | |
| 1623 | - real: true, | |
| 1624 | - forced: FORCED | |
| 1625 | - }, { filter: function filter(predicate) { | |
| 1626 | - anObject(this); | |
| 1627 | - try { | |
| 1628 | - aCallable(predicate); | |
| 1629 | - } catch (error) { | |
| 1630 | - iteratorClose(this, "throw", error); | |
| 1631 | - } | |
| 1632 | - if (filterWithoutClosingOnEarlyError) return call(filterWithoutClosingOnEarlyError, this, predicate); | |
| 1633 | - return new IteratorProxy(getIteratorDirect(this), { predicate }); | |
| 1634 | - } }); | |
| 1635 | - })); | |
| 412 | + getCurrentDeviceSetting(settingKey) { | |
| 413 | + return elementorFrontend.getCurrentDeviceSetting(this.getElementSettings(), settingKey); | |
| 414 | + }, | |
| 1636 | 415 | |
| 1637 | -//#endregion | |
| 1638 | -//#region node_modules/core-js/modules/esnext.iterator.filter.js | |
| 1639 | - var require_esnext_iterator_filter = /* @__PURE__ */ __commonJSMin((() => { | |
| 1640 | - require_es_iterator_filter(); | |
| 1641 | - })); | |
| 416 | + onInit() { | |
| 417 | + if (this.isActive(this.getSettings())) { | |
| 418 | + elementorModules.ViewModule.prototype.onInit.apply(this, arguments); | |
| 419 | + } | |
| 420 | + }, | |
| 1642 | 421 | |
| 1643 | -//#endregion | |
| 1644 | -//#region node_modules/core-js/internals/function-uncurry-this-clause.js | |
| 1645 | - var require_function_uncurry_this_clause = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1646 | - var classofRaw = require_classof_raw(); | |
| 1647 | - var uncurryThis = require_function_uncurry_this(); | |
| 1648 | - module.exports = function(fn) { | |
| 1649 | - if (classofRaw(fn) === "Function") return uncurryThis(fn); | |
| 1650 | - }; | |
| 1651 | - })); | |
| 422 | + onDestroy() { | |
| 423 | + if (this.isEdit) { | |
| 424 | + this.removeEditorListeners(); | |
| 425 | + } | |
| 1652 | 426 | |
| 1653 | -//#endregion | |
| 1654 | -//#region node_modules/core-js/internals/function-bind-context.js | |
| 1655 | - var require_function_bind_context = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1656 | - var uncurryThis = require_function_uncurry_this_clause(); | |
| 1657 | - var aCallable = require_a_callable(); | |
| 1658 | - var NATIVE_BIND = require_function_bind_native(); | |
| 1659 | - var bind = uncurryThis(uncurryThis.bind); | |
| 1660 | - module.exports = function(fn, that) { | |
| 1661 | - aCallable(fn); | |
| 1662 | - return that === void 0 ? fn : NATIVE_BIND ? bind(fn, that) : function() { | |
| 1663 | - return fn.apply(that, arguments); | |
| 1664 | - }; | |
| 1665 | - }; | |
| 1666 | - })); | |
| 427 | + if (this.unbindEvents) { | |
| 428 | + this.unbindEvents(); | |
| 429 | + } | |
| 430 | + } | |
| 1667 | 431 | |
| 1668 | -//#endregion | |
| 1669 | -//#region node_modules/core-js/internals/iterators.js | |
| 1670 | - var require_iterators = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1671 | - module.exports = {}; | |
| 1672 | - })); | |
| 432 | +}); | |
| 1673 | 433 | |
| 1674 | -//#endregion | |
| 1675 | -//#region node_modules/core-js/internals/is-array-iterator-method.js | |
| 1676 | - var require_is_array_iterator_method = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1677 | - var wellKnownSymbol = require_well_known_symbol(); | |
| 1678 | - var Iterators = require_iterators(); | |
| 1679 | - var ITERATOR = wellKnownSymbol("iterator"); | |
| 1680 | - var ArrayPrototype = Array.prototype; | |
| 1681 | - module.exports = function(it) { | |
| 1682 | - return it !== void 0 && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); | |
| 1683 | - }; | |
| 1684 | - })); | |
| 434 | +/***/ }), | |
| 1685 | 435 | |
| 1686 | -//#endregion | |
| 1687 | -//#region node_modules/core-js/internals/to-string-tag-support.js | |
| 1688 | - var require_to_string_tag_support = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1689 | - var TO_STRING_TAG = require_well_known_symbol()("toStringTag"); | |
| 1690 | - var test = {}; | |
| 1691 | - test[TO_STRING_TAG] = "z"; | |
| 1692 | - module.exports = String(test) === "[object z]"; | |
| 1693 | - })); | |
| 436 | +/***/ "../assets/dev/js/frontend/modules.js": | |
| 437 | +/*!********************************************!*\ | |
| 438 | + !*** ../assets/dev/js/frontend/modules.js ***! | |
| 439 | + \********************************************/ | |
| 440 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 1694 | 441 | |
| 1695 | -//#endregion | |
| 1696 | -//#region node_modules/core-js/internals/classof.js | |
| 1697 | - var require_classof = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1698 | - var TO_STRING_TAG_SUPPORT = require_to_string_tag_support(); | |
| 1699 | - var isCallable = require_is_callable(); | |
| 1700 | - var classofRaw = require_classof_raw(); | |
| 1701 | - var TO_STRING_TAG = require_well_known_symbol()("toStringTag"); | |
| 1702 | - var $Object = Object; | |
| 1703 | - var CORRECT_ARGUMENTS = classofRaw(function() { | |
| 1704 | - return arguments; | |
| 1705 | - }()) === "Arguments"; | |
| 1706 | - var tryGet = function(it, key) { | |
| 1707 | - try { | |
| 1708 | - return it[key]; | |
| 1709 | - } catch (error) {} | |
| 1710 | - }; | |
| 1711 | - module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function(it) { | |
| 1712 | - var O; | |
| 1713 | - var tag; | |
| 1714 | - var result; | |
| 1715 | - return it === void 0 ? "Undefined" : it === null ? "Null" : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == "string" ? tag : CORRECT_ARGUMENTS ? classofRaw(O) : (result = classofRaw(O)) === "Object" && isCallable(O.callee) ? "Arguments" : result; | |
| 1716 | - }; | |
| 1717 | - })); | |
| 442 | +"use strict"; | |
| 1718 | 443 | |
| 1719 | -//#endregion | |
| 1720 | -//#region node_modules/core-js/internals/get-iterator-method.js | |
| 1721 | - var require_get_iterator_method = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1722 | - var classof = require_classof(); | |
| 1723 | - var getMethod = require_get_method(); | |
| 1724 | - var isNullOrUndefined = require_is_null_or_undefined(); | |
| 1725 | - var Iterators = require_iterators(); | |
| 1726 | - var ITERATOR = require_well_known_symbol()("iterator"); | |
| 1727 | - module.exports = function(it) { | |
| 1728 | - if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR) || getMethod(it, "@@iterator") || Iterators[classof(it)]; | |
| 1729 | - }; | |
| 1730 | - })); | |
| 1731 | 444 | |
| 1732 | -//#endregion | |
| 1733 | -//#region node_modules/core-js/internals/get-iterator.js | |
| 1734 | - var require_get_iterator = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1735 | - var call = require_function_call(); | |
| 1736 | - var aCallable = require_a_callable(); | |
| 1737 | - var anObject = require_an_object(); | |
| 1738 | - var tryToString = require_try_to_string(); | |
| 1739 | - var getIteratorMethod = require_get_iterator_method(); | |
| 1740 | - var $TypeError = TypeError; | |
| 1741 | - module.exports = function(argument, usingIterator) { | |
| 1742 | - var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator; | |
| 1743 | - if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument)); | |
| 1744 | - throw new $TypeError(tryToString(argument) + " is not iterable"); | |
| 1745 | - }; | |
| 1746 | - })); | |
| 445 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1747 | 446 | |
| 1748 | -//#endregion | |
| 1749 | -//#region node_modules/core-js/internals/iterate.js | |
| 1750 | - var require_iterate = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1751 | - var bind = require_function_bind_context(); | |
| 1752 | - var call = require_function_call(); | |
| 1753 | - var anObject = require_an_object(); | |
| 1754 | - var tryToString = require_try_to_string(); | |
| 1755 | - var isArrayIteratorMethod = require_is_array_iterator_method(); | |
| 1756 | - var lengthOfArrayLike = require_length_of_array_like(); | |
| 1757 | - var isPrototypeOf = require_object_is_prototype_of(); | |
| 1758 | - var getIterator = require_get_iterator(); | |
| 1759 | - var getIteratorMethod = require_get_iterator_method(); | |
| 1760 | - var iteratorClose = require_iterator_close(); | |
| 1761 | - var $TypeError = TypeError; | |
| 1762 | - var Result = function(stopped, result) { | |
| 1763 | - this.stopped = stopped; | |
| 1764 | - this.result = result; | |
| 1765 | - }; | |
| 1766 | - var ResultPrototype = Result.prototype; | |
| 1767 | - module.exports = function(iterable, unboundFunction, options) { | |
| 1768 | - var that = options && options.that; | |
| 1769 | - var AS_ENTRIES = !!(options && options.AS_ENTRIES); | |
| 1770 | - var IS_RECORD = !!(options && options.IS_RECORD); | |
| 1771 | - var IS_ITERATOR = !!(options && options.IS_ITERATOR); | |
| 1772 | - var INTERRUPTED = !!(options && options.INTERRUPTED); | |
| 1773 | - var fn = bind(unboundFunction, that); | |
| 1774 | - var iterator; | |
| 1775 | - var iterFn; | |
| 1776 | - var index; | |
| 1777 | - var length; | |
| 1778 | - var result; | |
| 1779 | - var next; | |
| 1780 | - var step; | |
| 1781 | - var stop = function(condition) { | |
| 1782 | - if (iterator) iteratorClose(iterator, "normal"); | |
| 1783 | - return new Result(true, condition); | |
| 1784 | - }; | |
| 1785 | - var callFn = function(value) { | |
| 1786 | - if (AS_ENTRIES) { | |
| 1787 | - anObject(value); | |
| 1788 | - return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]); | |
| 1789 | - } | |
| 1790 | - return INTERRUPTED ? fn(value, stop) : fn(value); | |
| 1791 | - }; | |
| 1792 | - if (IS_RECORD) iterator = iterable.iterator; | |
| 1793 | - else if (IS_ITERATOR) iterator = iterable; | |
| 1794 | - else { | |
| 1795 | - iterFn = getIteratorMethod(iterable); | |
| 1796 | - if (!iterFn) throw new $TypeError(tryToString(iterable) + " is not iterable"); | |
| 1797 | - if (isArrayIteratorMethod(iterFn)) { | |
| 1798 | - for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) { | |
| 1799 | - result = callFn(iterable[index]); | |
| 1800 | - if (result && isPrototypeOf(ResultPrototype, result)) return result; | |
| 1801 | - } | |
| 1802 | - return new Result(false); | |
| 1803 | - } | |
| 1804 | - iterator = getIterator(iterable, iterFn); | |
| 1805 | - } | |
| 1806 | - next = IS_RECORD ? iterable.next : iterator.next; | |
| 1807 | - while (!(step = call(next, iterator)).done) { | |
| 1808 | - try { | |
| 1809 | - result = callFn(step.value); | |
| 1810 | - } catch (error) { | |
| 1811 | - iteratorClose(iterator, "throw", error); | |
| 1812 | - } | |
| 1813 | - if (typeof result == "object" && result && isPrototypeOf(ResultPrototype, result)) return result; | |
| 1814 | - } | |
| 1815 | - return new Result(false); | |
| 1816 | - }; | |
| 1817 | - })); | |
| 447 | +var _modules = _interopRequireDefault(__webpack_require__(/*! ../modules/modules */ "../assets/dev/js/modules/modules.js")); | |
| 1818 | 448 | |
| 1819 | -//#endregion | |
| 1820 | -//#region node_modules/core-js/modules/es.iterator.for-each.js | |
| 1821 | - var require_es_iterator_for_each = /* @__PURE__ */ __commonJSMin((() => { | |
| 1822 | - var $ = require_export(); | |
| 1823 | - var call = require_function_call(); | |
| 1824 | - var iterate = require_iterate(); | |
| 1825 | - var aCallable = require_a_callable(); | |
| 1826 | - var anObject = require_an_object(); | |
| 1827 | - var getIteratorDirect = require_get_iterator_direct(); | |
| 1828 | - var iteratorClose = require_iterator_close(); | |
| 1829 | - var forEachWithoutClosingOnEarlyError = require_iterator_helper_without_closing_on_early_error()("forEach", TypeError); | |
| 1830 | - $({ | |
| 1831 | - target: "Iterator", | |
| 1832 | - proto: true, | |
| 1833 | - real: true, | |
| 1834 | - forced: forEachWithoutClosingOnEarlyError | |
| 1835 | - }, { forEach: function forEach(fn) { | |
| 1836 | - anObject(this); | |
| 1837 | - try { | |
| 1838 | - aCallable(fn); | |
| 1839 | - } catch (error) { | |
| 1840 | - iteratorClose(this, "throw", error); | |
| 1841 | - } | |
| 1842 | - if (forEachWithoutClosingOnEarlyError) return call(forEachWithoutClosingOnEarlyError, this, fn); | |
| 1843 | - var record = getIteratorDirect(this); | |
| 1844 | - var counter = 0; | |
| 1845 | - iterate(record, function(value) { | |
| 1846 | - fn(value, counter++); | |
| 1847 | - }, { IS_RECORD: true }); | |
| 1848 | - } }); | |
| 1849 | - })); | |
| 449 | +var _document = _interopRequireDefault(__webpack_require__(/*! ./document */ "../assets/dev/js/frontend/document.js")); | |
| 1850 | 450 | |
| 1851 | -//#endregion | |
| 1852 | -//#region node_modules/core-js/modules/esnext.iterator.for-each.js | |
| 1853 | - var require_esnext_iterator_for_each = /* @__PURE__ */ __commonJSMin((() => { | |
| 1854 | - require_es_iterator_for_each(); | |
| 1855 | - })); | |
| 451 | +var _stretchElement = _interopRequireDefault(__webpack_require__(/*! ./tools/stretch-element */ "../assets/dev/js/frontend/tools/stretch-element.js")); | |
| 1856 | 452 | |
| 1857 | -//#endregion | |
| 1858 | -//#region assets/dev/js/modules/imports/module.js | |
| 1859 | - var require_module = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1860 | - require_es_array_push(); | |
| 1861 | - require_esnext_iterator_constructor(); | |
| 1862 | - require_esnext_iterator_filter(); | |
| 1863 | - require_esnext_iterator_for_each(); | |
| 1864 | - var Module = function() { | |
| 1865 | - const $ = jQuery; | |
| 1866 | - const instanceParams = arguments; | |
| 1867 | - const self = this; | |
| 1868 | - const events = {}; | |
| 1869 | - let settings; | |
| 1870 | - const ensureClosureMethods = function() { | |
| 1871 | - $.each(self, function(methodName) { | |
| 1872 | - const oldMethod = self[methodName]; | |
| 1873 | - if ("function" !== typeof oldMethod) return; | |
| 1874 | - self[methodName] = function() { | |
| 1875 | - return oldMethod.apply(self, arguments); | |
| 1876 | - }; | |
| 1877 | - }); | |
| 1878 | - }; | |
| 1879 | - const initSettings = function() { | |
| 1880 | - settings = self.getDefaultSettings(); | |
| 1881 | - const instanceSettings = instanceParams[0]; | |
| 1882 | - if (instanceSettings) $.extend(true, settings, instanceSettings); | |
| 1883 | - }; | |
| 1884 | - const init = function() { | |
| 1885 | - self.__construct.apply(self, instanceParams); | |
| 1886 | - ensureClosureMethods(); | |
| 1887 | - initSettings(); | |
| 1888 | - self.trigger("init"); | |
| 1889 | - }; | |
| 1890 | - this.getItems = function(items, itemKey) { | |
| 1891 | - if (itemKey) { | |
| 1892 | - const keyStack = itemKey.split("."); | |
| 1893 | - const currentKey = keyStack.splice(0, 1); | |
| 1894 | - if (!keyStack.length) return items[currentKey]; | |
| 1895 | - if (!items[currentKey]) return; | |
| 1896 | - return this.getItems(items[currentKey], keyStack.join(".")); | |
| 1897 | - } | |
| 1898 | - return items; | |
| 1899 | - }; | |
| 1900 | - this.getSettings = function(setting) { | |
| 1901 | - return this.getItems(settings, setting); | |
| 1902 | - }; | |
| 1903 | - this.setSettings = function(settingKey, value, settingsContainer) { | |
| 1904 | - if (!settingsContainer) settingsContainer = settings; | |
| 1905 | - if ("object" === typeof settingKey) { | |
| 1906 | - $.extend(settingsContainer, settingKey); | |
| 1907 | - return self; | |
| 1908 | - } | |
| 1909 | - const keyStack = settingKey.split("."); | |
| 1910 | - const currentKey = keyStack.splice(0, 1); | |
| 1911 | - if (!keyStack.length) { | |
| 1912 | - settingsContainer[currentKey] = value; | |
| 1913 | - return self; | |
| 1914 | - } | |
| 1915 | - if (!settingsContainer[currentKey]) settingsContainer[currentKey] = {}; | |
| 1916 | - return self.setSettings(keyStack.join("."), value, settingsContainer[currentKey]); | |
| 1917 | - }; | |
| 1918 | - this.getErrorMessage = function(type, functionName) { | |
| 1919 | - let message; | |
| 1920 | - switch (type) { | |
| 1921 | - case "forceMethodImplementation": | |
| 1922 | - message = `The method '${functionName}' must to be implemented in the inheritor child.`; | |
| 1923 | - break; | |
| 1924 | - default: message = "An error occurs"; | |
| 1925 | - } | |
| 1926 | - return message; | |
| 1927 | - }; | |
| 1928 | - this.forceMethodImplementation = function(functionName) { | |
| 1929 | - throw new Error(this.getErrorMessage("forceMethodImplementation", functionName)); | |
| 1930 | - }; | |
| 1931 | - this.on = function(eventName, callback) { | |
| 1932 | - if ("object" === typeof eventName) { | |
| 1933 | - $.each(eventName, function(singleEventName) { | |
| 1934 | - self.on(singleEventName, this); | |
| 1935 | - }); | |
| 1936 | - return self; | |
| 1937 | - } | |
| 1938 | - eventName.split(" ").forEach(function(singleEventName) { | |
| 1939 | - if (!events[singleEventName]) events[singleEventName] = []; | |
| 1940 | - events[singleEventName].push(callback); | |
| 1941 | - }); | |
| 1942 | - return self; | |
| 1943 | - }; | |
| 1944 | - this.off = function(eventName, callback) { | |
| 1945 | - if (!events[eventName]) return self; | |
| 1946 | - if (!callback) { | |
| 1947 | - delete events[eventName]; | |
| 1948 | - return self; | |
| 1949 | - } | |
| 1950 | - const callbackIndex = events[eventName].indexOf(callback); | |
| 1951 | - if (-1 !== callbackIndex) { | |
| 1952 | - delete events[eventName][callbackIndex]; | |
| 1953 | - events[eventName] = events[eventName].filter((val) => val); | |
| 1954 | - } | |
| 1955 | - return self; | |
| 1956 | - }; | |
| 1957 | - this.trigger = function(eventName) { | |
| 1958 | - const methodName = "on" + eventName[0].toUpperCase() + eventName.slice(1); | |
| 1959 | - const params = Array.prototype.slice.call(arguments, 1); | |
| 1960 | - if (self[methodName]) self[methodName].apply(self, params); | |
| 1961 | - const callbacks = events[eventName]; | |
| 1962 | - if (!callbacks) return self; | |
| 1963 | - $.each(callbacks, function(index, callback) { | |
| 1964 | - callback.apply(self, params); | |
| 1965 | - }); | |
| 1966 | - return self; | |
| 1967 | - }; | |
| 1968 | - init(); | |
| 1969 | - }; | |
| 1970 | - Module.prototype.__construct = function() {}; | |
| 1971 | - Module.prototype.getDefaultSettings = function() { | |
| 1972 | - return {}; | |
| 1973 | - }; | |
| 1974 | - Module.prototype.getConstructorID = function() { | |
| 1975 | - return this.constructor.name; | |
| 1976 | - }; | |
| 1977 | - Module.extend = function(properties) { | |
| 1978 | - const $ = jQuery; | |
| 1979 | - const parent = this; | |
| 1980 | - const child = function() { | |
| 1981 | - return parent.apply(this, arguments); | |
| 1982 | - }; | |
| 1983 | - $.extend(child, parent); | |
| 1984 | - child.prototype = Object.create($.extend({}, parent.prototype, properties)); | |
| 1985 | - child.prototype.constructor = child; | |
| 1986 | - child.__super__ = parent.prototype; | |
| 1987 | - return child; | |
| 1988 | - }; | |
| 1989 | - module.exports = Module; | |
| 1990 | - })); | |
| 453 | +var _base = _interopRequireDefault(__webpack_require__(/*! ./handlers/base */ "../assets/dev/js/frontend/handlers/base.js")); | |
| 1991 | 454 | |
| 1992 | -//#endregion | |
| 1993 | -//#region assets/dev/js/modules/imports/view-module.js | |
| 1994 | - var require_view_module = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 1995 | - var _interopRequireDefault = require_interopRequireDefault(); | |
| 1996 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 1997 | - exports.default = void 0; | |
| 1998 | - var _module = _interopRequireDefault(require_module()); | |
| 1999 | - exports.default = _module.default.extend({ | |
| 2000 | - elements: null, | |
| 2001 | - getDefaultElements() { | |
| 2002 | - return {}; | |
| 2003 | - }, | |
| 2004 | - bindEvents() {}, | |
| 2005 | - onInit() { | |
| 2006 | - this.initElements(); | |
| 2007 | - this.bindEvents(); | |
| 2008 | - }, | |
| 2009 | - initElements() { | |
| 2010 | - this.elements = this.getDefaultElements(); | |
| 2011 | - } | |
| 2012 | - }); | |
| 2013 | - })); | |
| 455 | +var _baseSwiper = _interopRequireDefault(__webpack_require__(/*! ./handlers/base-swiper */ "../assets/dev/js/frontend/handlers/base-swiper.js")); | |
| 2014 | 456 | |
| 2015 | -//#endregion | |
| 2016 | -//#region assets/dev/js/modules/imports/instance-type.js | |
| 2017 | - var require_instance_type = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2018 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2019 | - exports.default = void 0; | |
| 2020 | - require_es_array_push(); | |
| 2021 | - require_esnext_iterator_constructor(); | |
| 2022 | - require_esnext_iterator_for_each(); | |
| 2023 | - var InstanceType = class InstanceType { | |
| 2024 | - static [Symbol.hasInstance](target) { | |
| 2025 | - /** | |
| 2026 | - * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class | |
| 2027 | - * its give's opportunity to mange capabilities of instanceOf operator. | |
| 2028 | - * saving current class each time will give option later to handle instanceOf manually. | |
| 2029 | - */ | |
| 2030 | - let result = super[Symbol.hasInstance](target); | |
| 2031 | - if (target && !target.constructor.getInstanceType) return result; | |
| 2032 | - if (target) { | |
| 2033 | - if (!target.instanceTypes) target.instanceTypes = []; | |
| 2034 | - if (!result) { | |
| 2035 | - if (this.getInstanceType() === target.constructor.getInstanceType()) result = true; | |
| 2036 | - } | |
| 2037 | - if (result) { | |
| 2038 | - const name = this.getInstanceType === InstanceType.getInstanceType ? "BaseInstanceType" : this.getInstanceType(); | |
| 2039 | - if (-1 === target.instanceTypes.indexOf(name)) target.instanceTypes.push(name); | |
| 2040 | - } | |
| 2041 | - } | |
| 2042 | - if (!result && target) result = target.instanceTypes && Array.isArray(target.instanceTypes) && -1 !== target.instanceTypes.indexOf(this.getInstanceType()); | |
| 2043 | - return result; | |
| 2044 | - } | |
| 2045 | - static getInstanceType() { | |
| 2046 | - elementorModules.ForceMethodImplementation(); | |
| 2047 | - } | |
| 2048 | - constructor() { | |
| 2049 | - let target = new.target; | |
| 2050 | - const prototypes = []; | |
| 2051 | - while (target.__proto__ && target.__proto__.name) { | |
| 2052 | - prototypes.push(target.__proto__); | |
| 2053 | - target = target.__proto__; | |
| 2054 | - } | |
| 2055 | - prototypes.reverse().forEach((proto) => this instanceof proto); | |
| 2056 | - } | |
| 2057 | - }; | |
| 2058 | - exports.default = InstanceType; | |
| 2059 | - })); | |
| 457 | +_modules.default.frontend = { | |
| 458 | + Document: _document.default, | |
| 459 | + tools: { | |
| 460 | + StretchElement: _stretchElement.default | |
| 461 | + }, | |
| 462 | + handlers: { | |
| 463 | + Base: _base.default, | |
| 464 | + SwiperBase: _baseSwiper.default | |
| 465 | + } | |
| 466 | +}; | |
| 2060 | 467 | |
| 2061 | -//#endregion | |
| 2062 | -//#region assets/dev/js/editor/utils/is-instanceof.js | |
| 2063 | - var require_is_instanceof = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2064 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2065 | - exports.default = void 0; | |
| 2066 | - /** | |
| 2067 | - * Some FileAPI objects such as FileList, DataTransferItem and DataTransferItemList has inconsistency with the retrieved | |
| 2068 | - * object (from events, etc.) and the actual JavaScript object so a regular instanceof doesn't work. This function can | |
| 2069 | - * check whether it's instanceof by using the objects constructor and prototype names. | |
| 2070 | - * | |
| 2071 | - * @param object | |
| 2072 | - * @param constructors | |
| 2073 | - * @return {boolean} | |
| 2074 | - */ | |
| 2075 | - var _default = (object, constructors) => { | |
| 2076 | - constructors = Array.isArray(constructors) ? constructors : [constructors]; | |
| 2077 | - for (const constructor of constructors) if (object.constructor.name === constructor.prototype[Symbol.toStringTag]) return true; | |
| 2078 | - return false; | |
| 2079 | - }; | |
| 2080 | - exports.default = _default; | |
| 2081 | - })); | |
| 468 | +/***/ }), | |
| 2082 | 469 | |
| 2083 | -//#endregion | |
| 2084 | -//#region assets/dev/js/modules/imports/args-object.js | |
| 2085 | - var require_args_object = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2086 | - var _interopRequireDefault = require_interopRequireDefault(); | |
| 2087 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2088 | - exports.default = void 0; | |
| 2089 | - var _instanceType = _interopRequireDefault(require_instance_type()); | |
| 2090 | - var _isInstanceof = _interopRequireDefault(require_is_instanceof()); | |
| 2091 | - var ArgsObject = class extends _instanceType.default { | |
| 2092 | - static getInstanceType() { | |
| 2093 | - return "ArgsObject"; | |
| 2094 | - } | |
| 2095 | - /** | |
| 2096 | - * Function constructor(). | |
| 2097 | - * | |
| 2098 | - * Create ArgsObject. | |
| 2099 | - * | |
| 2100 | - * @param {{}} args | |
| 2101 | - */ | |
| 2102 | - constructor(args) { | |
| 2103 | - super(); | |
| 2104 | - this.args = args; | |
| 2105 | - } | |
| 2106 | - /** | |
| 2107 | - * Function requireArgument(). | |
| 2108 | - * | |
| 2109 | - * Validate property in args. | |
| 2110 | - * | |
| 2111 | - * @param {string} property | |
| 2112 | - * @param {{}} args | |
| 2113 | - * | |
| 2114 | - * @throws {Error} | |
| 2115 | - */ | |
| 2116 | - requireArgument(property, args = this.args) { | |
| 2117 | - if (!Object.prototype.hasOwnProperty.call(args, property)) throw Error(`${property} is required.`); | |
| 2118 | - } | |
| 2119 | - /** | |
| 2120 | - * Function requireArgumentType(). | |
| 2121 | - * | |
| 2122 | - * Validate property in args using `type === typeof(args.whatever)`. | |
| 2123 | - * | |
| 2124 | - * @param {string} property | |
| 2125 | - * @param {string} type | |
| 2126 | - * @param {{}} args | |
| 2127 | - * | |
| 2128 | - * @throws {Error} | |
| 2129 | - */ | |
| 2130 | - requireArgumentType(property, type, args = this.args) { | |
| 2131 | - this.requireArgument(property, args); | |
| 2132 | - if (typeof args[property] !== type) throw Error(`${property} invalid type: ${type}.`); | |
| 2133 | - } | |
| 2134 | - /** | |
| 2135 | - * Function requireArgumentInstance(). | |
| 2136 | - * | |
| 2137 | - * Validate property in args using `args.whatever instanceof instance`. | |
| 2138 | - * | |
| 2139 | - * @param {string} property | |
| 2140 | - * @param {*} instance | |
| 2141 | - * @param {{}} args | |
| 2142 | - * | |
| 2143 | - * @throws {Error} | |
| 2144 | - */ | |
| 2145 | - requireArgumentInstance(property, instance, args = this.args) { | |
| 2146 | - this.requireArgument(property, args); | |
| 2147 | - if (!(args[property] instanceof instance) && !(0, _isInstanceof.default)(args[property], instance)) throw Error(`${property} invalid instance.`); | |
| 2148 | - } | |
| 2149 | - /** | |
| 2150 | - * Function requireArgumentConstructor(). | |
| 2151 | - * | |
| 2152 | - * Validate property in args using `type === args.whatever.constructor`. | |
| 2153 | - * | |
| 2154 | - * @param {string} property | |
| 2155 | - * @param {*} type | |
| 2156 | - * @param {{}} args | |
| 2157 | - * | |
| 2158 | - * @throws {Error} | |
| 2159 | - */ | |
| 2160 | - requireArgumentConstructor(property, type, args = this.args) { | |
| 2161 | - this.requireArgument(property, args); | |
| 2162 | - if (args[property].constructor.toString() !== type.prototype.constructor.toString()) throw Error(`${property} invalid constructor type.`); | |
| 2163 | - } | |
| 2164 | - }; | |
| 2165 | - exports.default = ArgsObject; | |
| 2166 | - })); | |
| 470 | +/***/ "../assets/dev/js/frontend/tools/stretch-element.js": | |
| 471 | +/*!**********************************************************!*\ | |
| 472 | + !*** ../assets/dev/js/frontend/tools/stretch-element.js ***! | |
| 473 | + \**********************************************************/ | |
| 474 | +/***/ ((module) => { | |
| 2167 | 475 | |
| 2168 | -//#endregion | |
| 2169 | -//#region assets/dev/js/modules/imports/utils/masonry.js | |
| 2170 | - var require_masonry = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2171 | - var _interopRequireDefault = require_interopRequireDefault(); | |
| 2172 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2173 | - exports.default = void 0; | |
| 2174 | - require_es_array_push(); | |
| 2175 | - var _viewModule = _interopRequireDefault(require_view_module()); | |
| 2176 | - exports.default = _viewModule.default.extend({ | |
| 2177 | - getDefaultSettings() { | |
| 2178 | - return { | |
| 2179 | - container: null, | |
| 2180 | - items: null, | |
| 2181 | - columnsCount: 3, | |
| 2182 | - verticalSpaceBetween: 30 | |
| 2183 | - }; | |
| 2184 | - }, | |
| 2185 | - getDefaultElements() { | |
| 2186 | - return { | |
| 2187 | - $container: jQuery(this.getSettings("container")), | |
| 2188 | - $items: jQuery(this.getSettings("items")) | |
| 2189 | - }; | |
| 2190 | - }, | |
| 2191 | - run() { | |
| 2192 | - var heights = []; | |
| 2193 | - var distanceFromTop = this.elements.$container.position().top; | |
| 2194 | - var settings = this.getSettings(); | |
| 2195 | - var columnsCount = settings.columnsCount; | |
| 2196 | - distanceFromTop += parseInt(this.elements.$container.css("margin-top"), 10); | |
| 2197 | - this.elements.$items.each(function(index) { | |
| 2198 | - var row = Math.floor(index / columnsCount); | |
| 2199 | - var $item = jQuery(this); | |
| 2200 | - var itemHeight = $item[0].getBoundingClientRect().height + settings.verticalSpaceBetween; | |
| 2201 | - if (row) { | |
| 2202 | - var itemPosition = $item.position(); | |
| 2203 | - var indexAtRow = index % columnsCount; | |
| 2204 | - var pullHeight = itemPosition.top - distanceFromTop - heights[indexAtRow]; | |
| 2205 | - pullHeight -= parseInt($item.css("margin-top"), 10); | |
| 2206 | - pullHeight *= -1; | |
| 2207 | - $item.css("margin-top", pullHeight + "px"); | |
| 2208 | - heights[indexAtRow] += itemHeight; | |
| 2209 | - } else heights.push(itemHeight); | |
| 2210 | - }); | |
| 2211 | - } | |
| 2212 | - }); | |
| 2213 | - })); | |
| 476 | +"use strict"; | |
| 2214 | 477 | |
| 2215 | -//#endregion | |
| 2216 | -//#region assets/dev/js/modules/imports/utils/scroll.js | |
| 2217 | - var require_scroll = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2218 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2219 | - exports.default = void 0; | |
| 2220 | - require_es_array_push(); | |
| 2221 | - var Scroll = class { | |
| 2222 | - /** | |
| 2223 | - * @param {Object} obj | |
| 2224 | - * @param {number} obj.sensitivity - Value between 0-100 - Will determine the intersection trigger points on the element | |
| 2225 | - * @param {Function} obj.callback - Will be triggered on each intersection point between the element and the viewport top/bottom | |
| 2226 | - * @param {string} obj.offset - Offset between the element intersection points and the viewport, written like in CSS: '-50% 0 -25%' | |
| 2227 | - * @param {HTMLElement} obj.root - The element that the events will be relative to, if 'null' will be relative to the viewport | |
| 2228 | - */ | |
| 2229 | - static scrollObserver(obj) { | |
| 2230 | - let lastScrollY = 0; | |
| 2231 | - const buildThresholds = (sensitivityPercentage = 0) => { | |
| 2232 | - const thresholds = []; | |
| 2233 | - if (sensitivityPercentage > 0 && sensitivityPercentage <= 100) { | |
| 2234 | - const increment = 100 / sensitivityPercentage; | |
| 2235 | - for (let i = 0; i <= 100; i += increment) thresholds.push(i / 100); | |
| 2236 | - } else thresholds.push(0); | |
| 2237 | - return thresholds; | |
| 2238 | - }; | |
| 2239 | - const options = { | |
| 2240 | - root: obj.root || null, | |
| 2241 | - rootMargin: obj.offset || "0px", | |
| 2242 | - threshold: buildThresholds(obj.sensitivity) | |
| 2243 | - }; | |
| 2244 | - function handleIntersect(entries) { | |
| 2245 | - const currentScrollY = entries[0].boundingClientRect.y; | |
| 2246 | - const isInViewport = entries[0].isIntersecting; | |
| 2247 | - const intersectionScrollDirection = currentScrollY < lastScrollY ? "down" : "up"; | |
| 2248 | - const scrollPercentage = Math.abs(parseFloat((entries[0].intersectionRatio * 100).toFixed(2))); | |
| 2249 | - obj.callback({ | |
| 2250 | - sensitivity: obj.sensitivity, | |
| 2251 | - isInViewport, | |
| 2252 | - scrollPercentage, | |
| 2253 | - intersectionScrollDirection | |
| 2254 | - }); | |
| 2255 | - lastScrollY = currentScrollY; | |
| 2256 | - } | |
| 2257 | - return new IntersectionObserver(handleIntersect, options); | |
| 2258 | - } | |
| 2259 | - /** | |
| 2260 | - * @param {jQuery.Element} $element | |
| 2261 | - * @param {Object} offsetObj | |
| 2262 | - * @param {number} offsetObj.start - Offset start value in percentages | |
| 2263 | - * @param {number} offsetObj.end - Offset end value in percentages | |
| 2264 | - */ | |
| 2265 | - static getElementViewportPercentage($element, offsetObj = {}) { | |
| 2266 | - const elementOffset = $element[0].getBoundingClientRect(); | |
| 2267 | - const offsetStart = offsetObj.start || 0; | |
| 2268 | - const offsetEnd = offsetObj.end || 0; | |
| 2269 | - const windowStartOffset = window.innerHeight * offsetStart / 100; | |
| 2270 | - const windowEndOffset = window.innerHeight * offsetEnd / 100; | |
| 2271 | - const y1 = elementOffset.top - window.innerHeight; | |
| 2272 | - const y2 = elementOffset.top + windowStartOffset + $element.height(); | |
| 2273 | - const startPosition = 0 - y1 + windowStartOffset; | |
| 2274 | - const endPosition = y2 - y1 + windowEndOffset; | |
| 2275 | - const percent = Math.max(0, Math.min(startPosition / endPosition, 1)); | |
| 2276 | - return parseFloat((percent * 100).toFixed(2)); | |
| 2277 | - } | |
| 2278 | - /** | |
| 2279 | - * @param {Object} offsetObj | |
| 2280 | - * @param {number} offsetObj.start - Offset start value in percentages | |
| 2281 | - * @param {number} offsetObj.end - Offset end value in percentages | |
| 2282 | - * @param {number} limitPageHeight - Will limit the page height calculation | |
| 2283 | - */ | |
| 2284 | - static getPageScrollPercentage(offsetObj = {}, limitPageHeight) { | |
| 2285 | - const offsetStart = offsetObj.start || 0; | |
| 2286 | - const offsetEnd = offsetObj.end || 0; | |
| 2287 | - const initialPageHeight = limitPageHeight || document.documentElement.scrollHeight - document.documentElement.clientHeight; | |
| 2288 | - const heightOffset = initialPageHeight * offsetStart / 100; | |
| 2289 | - const pageRange = initialPageHeight + heightOffset + initialPageHeight * offsetEnd / 100; | |
| 2290 | - return (document.documentElement.scrollTop + document.body.scrollTop + heightOffset) / pageRange * 100; | |
| 2291 | - } | |
| 2292 | - }; | |
| 2293 | - exports.default = Scroll; | |
| 2294 | - })); | |
| 2295 | 478 | |
| 2296 | -//#endregion | |
| 2297 | -//#region node_modules/core-js/internals/add-to-unscopables.js | |
| 2298 | - var require_add_to_unscopables = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 2299 | - var wellKnownSymbol = require_well_known_symbol(); | |
| 2300 | - var create = require_object_create(); | |
| 2301 | - var defineProperty = require_object_define_property().f; | |
| 2302 | - var UNSCOPABLES = wellKnownSymbol("unscopables"); | |
| 2303 | - var ArrayPrototype = Array.prototype; | |
| 2304 | - if (ArrayPrototype[UNSCOPABLES] === void 0) defineProperty(ArrayPrototype, UNSCOPABLES, { | |
| 2305 | - configurable: true, | |
| 2306 | - value: create(null) | |
| 2307 | - }); | |
| 2308 | - module.exports = function(key) { | |
| 2309 | - ArrayPrototype[UNSCOPABLES][key] = true; | |
| 2310 | - }; | |
| 2311 | - })); | |
| 479 | +module.exports = elementorModules.ViewModule.extend({ | |
| 480 | + getDefaultSettings() { | |
| 481 | + return { | |
| 482 | + element: null, | |
| 483 | + direction: elementorFrontend.config.is_rtl ? 'right' : 'left', | |
| 484 | + selectors: { | |
| 485 | + container: window | |
| 486 | + } | |
| 487 | + }; | |
| 488 | + }, | |
| 2312 | 489 | |
| 2313 | -//#endregion | |
| 2314 | -//#region node_modules/core-js/modules/es.array.includes.js | |
| 2315 | - var require_es_array_includes = /* @__PURE__ */ __commonJSMin((() => { | |
| 2316 | - var $ = require_export(); | |
| 2317 | - var $includes = require_array_includes().includes; | |
| 2318 | - var fails = require_fails(); | |
| 2319 | - var addToUnscopables = require_add_to_unscopables(); | |
| 2320 | - $({ | |
| 2321 | - target: "Array", | |
| 2322 | - proto: true, | |
| 2323 | - forced: fails(function() { | |
| 2324 | - return !Array(1).includes(); | |
| 2325 | - }) | |
| 2326 | - }, { includes: function includes(el) { | |
| 2327 | - return $includes(this, el, arguments.length > 1 ? arguments[1] : void 0); | |
| 2328 | - } }); | |
| 2329 | - addToUnscopables("includes"); | |
| 2330 | - })); | |
| 490 | + getDefaultElements() { | |
| 491 | + return { | |
| 492 | + $element: jQuery(this.getSettings('element')) | |
| 493 | + }; | |
| 494 | + }, | |
| 2331 | 495 | |
| 2332 | -//#endregion | |
| 2333 | -//#region assets/dev/js/modules/imports/force-method-implementation.js | |
| 2334 | - var require_force_method_implementation = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2335 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2336 | - exports.default = exports.ForceMethodImplementation = void 0; | |
| 2337 | - require_es_array_includes(); | |
| 2338 | - var ForceMethodImplementation = class ForceMethodImplementation extends Error { | |
| 2339 | - constructor(info = {}, args = {}) { | |
| 2340 | - super(`${info.isStatic ? "static " : ""}${info.fullName}() should be implemented, please provide '${info.functionName || info.fullName}' functionality.`, args); | |
| 2341 | - if (Object.keys(args).length) console.error(args); | |
| 2342 | - Error.captureStackTrace(this, ForceMethodImplementation); | |
| 2343 | - } | |
| 2344 | - }; | |
| 2345 | - exports.ForceMethodImplementation = ForceMethodImplementation; | |
| 2346 | - var _default = (args) => { | |
| 2347 | - const caller = Error().stack.split("\n")[2].trim(); | |
| 2348 | - const callerName = caller.startsWith("at new") ? "constructor" : caller.split(" ")[1]; | |
| 2349 | - const info = {}; | |
| 2350 | - info.functionName = callerName; | |
| 2351 | - info.fullName = callerName; | |
| 2352 | - if (info.functionName.includes(".")) { | |
| 2353 | - const parts = info.functionName.split("."); | |
| 2354 | - info.className = parts[0]; | |
| 2355 | - info.functionName = parts[1]; | |
| 2356 | - } else info.isStatic = true; | |
| 2357 | - throw new ForceMethodImplementation(info, args); | |
| 2358 | - }; | |
| 2359 | - exports.default = _default; | |
| 2360 | - })); | |
| 496 | + stretch() { | |
| 497 | + var containerSelector = this.getSettings('selectors.container'), | |
| 498 | + $container; | |
| 2361 | 499 | |
| 2362 | -//#endregion | |
| 2363 | -//#region \0@[email protected]/helpers/esm/typeof.js | |
| 2364 | - function _typeof(o) { | |
| 2365 | - "@babel/helpers - typeof"; | |
| 2366 | - return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) { | |
| 2367 | - return typeof o; | |
| 2368 | - } : function(o) { | |
| 2369 | - return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; | |
| 2370 | - }, _typeof(o); | |
| 2371 | - } | |
| 2372 | - var init_typeof = __esmMin((() => {})); | |
| 500 | + try { | |
| 501 | + $container = jQuery(containerSelector); // eslint-disable-next-line no-empty | |
| 502 | + } catch (e) {} | |
| 2373 | 503 | |
| 2374 | -//#endregion | |
| 2375 | -//#region \0@[email protected]/helpers/esm/toPrimitive.js | |
| 2376 | - function toPrimitive(t, r) { | |
| 2377 | - if ("object" != _typeof(t) || !t) return t; | |
| 2378 | - var e = t[Symbol.toPrimitive]; | |
| 2379 | - if (void 0 !== e) { | |
| 2380 | - var i = e.call(t, r || "default"); | |
| 2381 | - if ("object" != _typeof(i)) return i; | |
| 2382 | - throw new TypeError("@@toPrimitive must return a primitive value."); | |
| 2383 | - } | |
| 2384 | - return ("string" === r ? String : Number)(t); | |
| 2385 | - } | |
| 2386 | - var init_toPrimitive = __esmMin((() => { | |
| 2387 | - init_typeof(); | |
| 2388 | - })); | |
| 504 | + if (!$container || !$container.length) { | |
| 505 | + $container = jQuery(this.getDefaultSettings().selectors.container); | |
| 506 | + } | |
| 2389 | 507 | |
| 2390 | -//#endregion | |
| 2391 | -//#region \0@[email protected]/helpers/esm/toPropertyKey.js | |
| 2392 | - function toPropertyKey(t) { | |
| 2393 | - var i = toPrimitive(t, "string"); | |
| 2394 | - return "symbol" == _typeof(i) ? i : i + ""; | |
| 2395 | - } | |
| 2396 | - var init_toPropertyKey = __esmMin((() => { | |
| 2397 | - init_typeof(); | |
| 2398 | - init_toPrimitive(); | |
| 2399 | - })); | |
| 508 | + this.reset(); | |
| 509 | + var $element = this.elements.$element, | |
| 510 | + containerWidth = $container.innerWidth(), | |
| 511 | + elementOffset = $element.offset().left, | |
| 512 | + isFixed = 'fixed' === $element.css('position'), | |
| 513 | + correctOffset = isFixed ? 0 : elementOffset; | |
| 2400 | 514 | |
| 2401 | -//#endregion | |
| 2402 | -//#region \0@[email protected]/helpers/esm/defineProperty.js | |
| 2403 | - function _defineProperty(e, r, t) { | |
| 2404 | - return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, { | |
| 2405 | - value: t, | |
| 2406 | - enumerable: !0, | |
| 2407 | - configurable: !0, | |
| 2408 | - writable: !0 | |
| 2409 | - }) : e[r] = t, e; | |
| 2410 | - } | |
| 2411 | - var init_defineProperty = __esmMin((() => { | |
| 2412 | - init_toPropertyKey(); | |
| 2413 | - })); | |
| 515 | + if (window !== $container[0]) { | |
| 516 | + var containerOffset = $container.offset().left; | |
| 2414 | 517 | |
| 2415 | -//#endregion | |
| 2416 | -//#region \0@[email protected]/helpers/esm/objectSpread2.js | |
| 2417 | - function ownKeys(e, r) { | |
| 2418 | - var t = Object.keys(e); | |
| 2419 | - if (Object.getOwnPropertySymbols) { | |
| 2420 | - var o = Object.getOwnPropertySymbols(e); | |
| 2421 | - r && (o = o.filter(function(r) { | |
| 2422 | - return Object.getOwnPropertyDescriptor(e, r).enumerable; | |
| 2423 | - })), t.push.apply(t, o); | |
| 2424 | - } | |
| 2425 | - return t; | |
| 2426 | - } | |
| 2427 | - function _objectSpread2(e) { | |
| 2428 | - for (var r = 1; r < arguments.length; r++) { | |
| 2429 | - var t = null != arguments[r] ? arguments[r] : {}; | |
| 2430 | - r % 2 ? ownKeys(Object(t), !0).forEach(function(r) { | |
| 2431 | - _defineProperty(e, r, t[r]); | |
| 2432 | - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r) { | |
| 2433 | - Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); | |
| 2434 | - }); | |
| 2435 | - } | |
| 2436 | - return e; | |
| 2437 | - } | |
| 2438 | - var init_objectSpread2 = __esmMin((() => { | |
| 2439 | - init_defineProperty(); | |
| 2440 | - })); | |
| 518 | + if (isFixed) { | |
| 519 | + correctOffset = containerOffset; | |
| 520 | + } | |
| 2441 | 521 | |
| 2442 | -//#endregion | |
| 2443 | -//#region app/modules/import-export-customization/assets/js/shared/utils/template-registry-helpers.js | |
| 2444 | - var require_template_registry_helpers = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2445 | - init_objectSpread2(); | |
| 2446 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2447 | - exports.createGetInitialState = createGetInitialState; | |
| 2448 | - function createGetInitialState(exportGroup, additionalProps = {}) { | |
| 2449 | - return (data, parentInitialState) => { | |
| 2450 | - let isEnabled = parentInitialState; | |
| 2451 | - if (data.hasOwnProperty("uploadedData")) { | |
| 2452 | - var _elementorAppConfig; | |
| 2453 | - isEnabled = false; | |
| 2454 | - const templates = data.uploadedData.manifest.templates; | |
| 2455 | - const exportGroups = ((_elementorAppConfig = elementorAppConfig) === null || _elementorAppConfig === void 0 || (_elementorAppConfig = _elementorAppConfig["import-export-customization"]) === null || _elementorAppConfig === void 0 ? void 0 : _elementorAppConfig.exportGroups) || {}; | |
| 2456 | - for (const templateId in templates) if (exportGroups[templates[templateId].doc_type] === exportGroup) { | |
| 2457 | - isEnabled = true; | |
| 2458 | - break; | |
| 2459 | - } | |
| 2460 | - } | |
| 2461 | - return _objectSpread2({ enabled: isEnabled }, additionalProps); | |
| 2462 | - }; | |
| 2463 | - } | |
| 2464 | - })); | |
| 522 | + if (elementOffset > containerOffset) { | |
| 523 | + correctOffset = elementOffset - containerOffset; | |
| 524 | + } | |
| 525 | + } | |
| 2465 | 526 | |
| 2466 | -//#endregion | |
| 2467 | -//#region \0@[email protected]/helpers/esm/objectWithoutPropertiesLoose.js | |
| 2468 | - function _objectWithoutPropertiesLoose(r, e) { | |
| 2469 | - if (null == r) return {}; | |
| 2470 | - var t = {}; | |
| 2471 | - for (var n in r) if ({}.hasOwnProperty.call(r, n)) { | |
| 2472 | - if (e.includes(n)) continue; | |
| 2473 | - t[n] = r[n]; | |
| 2474 | - } | |
| 2475 | - return t; | |
| 2476 | - } | |
| 2477 | - var init_objectWithoutPropertiesLoose = __esmMin((() => {})); | |
| 527 | + if (!isFixed) { | |
| 528 | + if (elementorFrontend.config.is_rtl) { | |
| 529 | + correctOffset = containerWidth - ($element.outerWidth() + correctOffset); | |
| 530 | + } | |
| 2478 | 531 | |
| 2479 | -//#endregion | |
| 2480 | -//#region \0@[email protected]/helpers/esm/objectWithoutProperties.js | |
| 2481 | - function _objectWithoutProperties(e, t) { | |
| 2482 | - if (null == e) return {}; | |
| 2483 | - var o; | |
| 2484 | - var r; | |
| 2485 | - var i = _objectWithoutPropertiesLoose(e, t); | |
| 2486 | - if (Object.getOwnPropertySymbols) { | |
| 2487 | - var s = Object.getOwnPropertySymbols(e); | |
| 2488 | - for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); | |
| 2489 | - } | |
| 2490 | - return i; | |
| 2491 | - } | |
| 2492 | - var init_objectWithoutProperties = __esmMin((() => { | |
| 2493 | - init_objectWithoutPropertiesLoose(); | |
| 2494 | - })); | |
| 532 | + correctOffset = -correctOffset; | |
| 533 | + } | |
| 2495 | 534 | |
| 2496 | -//#endregion | |
| 2497 | -//#region node_modules/core-js/modules/es.iterator.map.js | |
| 2498 | - var require_es_iterator_map = /* @__PURE__ */ __commonJSMin((() => { | |
| 2499 | - var $ = require_export(); | |
| 2500 | - var call = require_function_call(); | |
| 2501 | - var aCallable = require_a_callable(); | |
| 2502 | - var anObject = require_an_object(); | |
| 2503 | - var getIteratorDirect = require_get_iterator_direct(); | |
| 2504 | - var createIteratorProxy = require_iterator_create_proxy(); | |
| 2505 | - var callWithSafeIterationClosing = require_call_with_safe_iteration_closing(); | |
| 2506 | - var iteratorClose = require_iterator_close(); | |
| 2507 | - var iteratorHelperThrowsOnInvalidIterator = require_iterator_helper_throws_on_invalid_iterator(); | |
| 2508 | - var iteratorHelperWithoutClosingOnEarlyError = require_iterator_helper_without_closing_on_early_error(); | |
| 2509 | - var IS_PURE = require_is_pure(); | |
| 2510 | - var MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator("map", function() {}); | |
| 2511 | - var mapWithoutClosingOnEarlyError = !IS_PURE && !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR && iteratorHelperWithoutClosingOnEarlyError("map", TypeError); | |
| 2512 | - var FORCED = IS_PURE || MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError; | |
| 2513 | - var IteratorProxy = createIteratorProxy(function() { | |
| 2514 | - var iterator = this.iterator; | |
| 2515 | - var result = anObject(call(this.next, iterator)); | |
| 2516 | - if (!(this.done = !!result.done)) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true); | |
| 2517 | - }); | |
| 2518 | - $({ | |
| 2519 | - target: "Iterator", | |
| 2520 | - proto: true, | |
| 2521 | - real: true, | |
| 2522 | - forced: FORCED | |
| 2523 | - }, { map: function map(mapper) { | |
| 2524 | - anObject(this); | |
| 2525 | - try { | |
| 2526 | - aCallable(mapper); | |
| 2527 | - } catch (error) { | |
| 2528 | - iteratorClose(this, "throw", error); | |
| 2529 | - } | |
| 2530 | - if (mapWithoutClosingOnEarlyError) return call(mapWithoutClosingOnEarlyError, this, mapper); | |
| 2531 | - return new IteratorProxy(getIteratorDirect(this), { mapper }); | |
| 2532 | - } }); | |
| 2533 | - })); | |
| 535 | + var css = {}; | |
| 536 | + css.width = containerWidth + 'px'; | |
| 537 | + css[this.getSettings('direction')] = correctOffset + 'px'; | |
| 538 | + $element.css(css); | |
| 539 | + }, | |
| 2534 | 540 | |
| 2535 | -//#endregion | |
| 2536 | -//#region node_modules/core-js/modules/esnext.iterator.map.js | |
| 2537 | - var require_esnext_iterator_map = /* @__PURE__ */ __commonJSMin((() => { | |
| 2538 | - require_es_iterator_map(); | |
| 2539 | - })); | |
| 541 | + reset() { | |
| 542 | + var css = {}; | |
| 543 | + css.width = ''; | |
| 544 | + css[this.getSettings('direction')] = ''; | |
| 545 | + this.elements.$element.css(css); | |
| 546 | + } | |
| 2540 | 547 | |
| 2541 | -//#endregion | |
| 2542 | -//#region app/modules/import-export-customization/assets/js/shared/registry/base.js | |
| 2543 | - var require_base$1 = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2544 | - init_objectWithoutProperties(); | |
| 2545 | - init_objectSpread2(); | |
| 2546 | - var _excluded = ["children"]; | |
| 2547 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2548 | - exports.BaseRegistry = void 0; | |
| 2549 | - require_esnext_iterator_constructor(); | |
| 2550 | - require_esnext_iterator_filter(); | |
| 2551 | - require_esnext_iterator_for_each(); | |
| 2552 | - require_esnext_iterator_map(); | |
| 2553 | - var BaseRegistry = class { | |
| 2554 | - constructor() { | |
| 2555 | - this.sections = /* @__PURE__ */ new Map(); | |
| 2556 | - } | |
| 2557 | - register(section) { | |
| 2558 | - if (!section.key || !section.title) throw new Error("Template type must have key and title"); | |
| 2559 | - const formattedSection = this.get(section.key) || this.formatSection(section); | |
| 2560 | - if (section.children) if (formattedSection.children) { | |
| 2561 | - const existingChildrenMap = new Map(formattedSection.children.map((child) => [child.key, child])); | |
| 2562 | - section.children.forEach((childSection) => { | |
| 2563 | - const formattedChild = this.formatSection(childSection); | |
| 2564 | - existingChildrenMap.set(childSection.key, formattedChild); | |
| 2565 | - }); | |
| 2566 | - formattedSection.children = Array.from(existingChildrenMap.values()); | |
| 2567 | - } else formattedSection.children = section.children.map((childSection) => this.formatSection(childSection)); | |
| 2568 | - this.sections.set(section.key, formattedSection); | |
| 2569 | - } | |
| 2570 | - formatSection(_ref) { | |
| 2571 | - let { children } = _ref, section = _objectWithoutProperties(_ref, _excluded); | |
| 2572 | - return _objectSpread2({ | |
| 2573 | - key: section.key, | |
| 2574 | - title: section.title, | |
| 2575 | - description: section.description || "", | |
| 2576 | - useParentDefault: section.useParentDefault !== false, | |
| 2577 | - getInitialState: section.getInitialState || null, | |
| 2578 | - component: section.component || null, | |
| 2579 | - order: section.order || 10, | |
| 2580 | - isAvailable: section.isAvailable || (() => true) | |
| 2581 | - }, section); | |
| 2582 | - } | |
| 2583 | - getAll() { | |
| 2584 | - return Array.from(this.sections.values()).filter((type) => type.isAvailable()).map((type) => { | |
| 2585 | - if (type.children) return _objectSpread2(_objectSpread2({}, type), {}, { children: [...type.children].sort((a, b) => a.order - b.order) }); | |
| 2586 | - return type; | |
| 2587 | - }).sort((a, b) => a.order - b.order); | |
| 2588 | - } | |
| 2589 | - get(key) { | |
| 2590 | - return this.sections.get(key); | |
| 2591 | - } | |
| 2592 | - }; | |
| 2593 | - exports.BaseRegistry = BaseRegistry; | |
| 2594 | - })); | |
| 548 | +}); | |
| 2595 | 549 | |
| 2596 | -//#endregion | |
| 2597 | -//#region app/modules/import-export-customization/assets/js/shared/registry/customization-dialogs.js | |
| 2598 | - var require_customization_dialogs = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2599 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2600 | - exports.customizationDialogsRegistry = void 0; | |
| 2601 | - var _base = require_base$1(); | |
| 2602 | - exports.customizationDialogsRegistry = new _base.BaseRegistry(); | |
| 2603 | - })); | |
| 550 | +/***/ }), | |
| 2604 | 551 | |
| 2605 | -//#endregion | |
| 2606 | -//#region assets/dev/js/modules/modules.js | |
| 2607 | - var require_modules = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2608 | - var _interopRequireDefault = require_interopRequireDefault(); | |
| 2609 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2610 | - exports.default = void 0; | |
| 2611 | - var _module = _interopRequireDefault(require_module()); | |
| 2612 | - var _viewModule = _interopRequireDefault(require_view_module()); | |
| 2613 | - var _argsObject = _interopRequireDefault(require_args_object()); | |
| 2614 | - var _masonry = _interopRequireDefault(require_masonry()); | |
| 2615 | - var _scroll = _interopRequireDefault(require_scroll()); | |
| 2616 | - var _forceMethodImplementation = _interopRequireDefault(require_force_method_implementation()); | |
| 2617 | - var _templateRegistryHelpers = require_template_registry_helpers(); | |
| 2618 | - var _customizationDialogs = require_customization_dialogs(); | |
| 2619 | - var baseModules = { | |
| 2620 | - Module: _module.default, | |
| 2621 | - ViewModule: _viewModule.default, | |
| 2622 | - ArgsObject: _argsObject.default, | |
| 2623 | - ForceMethodImplementation: _forceMethodImplementation.default, | |
| 2624 | - utils: { | |
| 2625 | - Masonry: _masonry.default, | |
| 2626 | - Scroll: _scroll.default | |
| 2627 | - }, | |
| 2628 | - importExport: { | |
| 2629 | - createGetInitialState: _templateRegistryHelpers.createGetInitialState, | |
| 2630 | - customizationDialogsRegistry: _customizationDialogs.customizationDialogsRegistry | |
| 2631 | - } | |
| 2632 | - }; | |
| 2633 | - if (!window.elementorModules) window.elementorModules = baseModules; | |
| 2634 | - else Object.assign(window.elementorModules, baseModules); | |
| 2635 | - exports.default = window.elementorModules; | |
| 2636 | - })); | |
| 552 | +/***/ "../assets/dev/js/modules/imports/args-object.js": | |
| 553 | +/*!*******************************************************!*\ | |
| 554 | + !*** ../assets/dev/js/modules/imports/args-object.js ***! | |
| 555 | + \*******************************************************/ | |
| 556 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 2637 | 557 | |
| 2638 | -//#endregion | |
| 2639 | -//#region node_modules/core-js/modules/es.iterator.find.js | |
| 2640 | - var require_es_iterator_find = /* @__PURE__ */ __commonJSMin((() => { | |
| 2641 | - var $ = require_export(); | |
| 2642 | - var call = require_function_call(); | |
| 2643 | - var iterate = require_iterate(); | |
| 2644 | - var aCallable = require_a_callable(); | |
| 2645 | - var anObject = require_an_object(); | |
| 2646 | - var getIteratorDirect = require_get_iterator_direct(); | |
| 2647 | - var iteratorClose = require_iterator_close(); | |
| 2648 | - var findWithoutClosingOnEarlyError = require_iterator_helper_without_closing_on_early_error()("find", TypeError); | |
| 2649 | - $({ | |
| 2650 | - target: "Iterator", | |
| 2651 | - proto: true, | |
| 2652 | - real: true, | |
| 2653 | - forced: findWithoutClosingOnEarlyError | |
| 2654 | - }, { find: function find(predicate) { | |
| 2655 | - anObject(this); | |
| 2656 | - try { | |
| 2657 | - aCallable(predicate); | |
| 2658 | - } catch (error) { | |
| 2659 | - iteratorClose(this, "throw", error); | |
| 2660 | - } | |
| 2661 | - if (findWithoutClosingOnEarlyError) return call(findWithoutClosingOnEarlyError, this, predicate); | |
| 2662 | - var record = getIteratorDirect(this); | |
| 2663 | - var counter = 0; | |
| 2664 | - return iterate(record, function(value, stop) { | |
| 2665 | - if (predicate(value, counter++)) return stop(value); | |
| 2666 | - }, { | |
| 2667 | - IS_RECORD: true, | |
| 2668 | - INTERRUPTED: true | |
| 2669 | - }).result; | |
| 2670 | - } }); | |
| 2671 | - })); | |
| 558 | +"use strict"; | |
| 2672 | 559 | |
| 2673 | -//#endregion | |
| 2674 | -//#region node_modules/core-js/modules/esnext.iterator.find.js | |
| 2675 | - var require_esnext_iterator_find = /* @__PURE__ */ __commonJSMin((() => { | |
| 2676 | - require_es_iterator_find(); | |
| 2677 | - })); | |
| 2678 | 560 | |
| 2679 | -//#endregion | |
| 2680 | -//#region assets/dev/js/frontend/document.js | |
| 2681 | - var require_document = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2682 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2683 | - exports.default = void 0; | |
| 2684 | - require_esnext_iterator_constructor(); | |
| 2685 | - require_esnext_iterator_find(); | |
| 2686 | - var _default = class extends elementorModules.ViewModule { | |
| 2687 | - getDefaultSettings() { | |
| 2688 | - return { | |
| 2689 | - selectors: { | |
| 2690 | - elements: ".elementor-element", | |
| 2691 | - nestedDocumentElements: ".elementor .elementor-element" | |
| 2692 | - }, | |
| 2693 | - classes: { editMode: "elementor-edit-mode" } | |
| 2694 | - }; | |
| 2695 | - } | |
| 2696 | - getDefaultElements() { | |
| 2697 | - const selectors = this.getSettings("selectors"); | |
| 2698 | - return { $elements: this.$element.find(selectors.elements).not(this.$element.find(selectors.nestedDocumentElements)) }; | |
| 2699 | - } | |
| 2700 | - getDocumentSettings(setting) { | |
| 2701 | - let elementSettings; | |
| 2702 | - if (this.isEdit) { | |
| 2703 | - elementSettings = {}; | |
| 2704 | - const settings = elementor.settings.page.model; | |
| 2705 | - jQuery.each(settings.getActiveControls(), (controlKey) => { | |
| 2706 | - elementSettings[controlKey] = settings.attributes[controlKey]; | |
| 2707 | - }); | |
| 2708 | - } else elementSettings = this.$element.data("elementor-settings") || {}; | |
| 2709 | - return this.getItems(elementSettings, setting); | |
| 2710 | - } | |
| 2711 | - runElementsHandlers() { | |
| 2712 | - this.elements.$elements.each((index, element) => setTimeout(() => elementorFrontend.elementsHandler.runReadyTrigger(element))); | |
| 2713 | - } | |
| 2714 | - onInit() { | |
| 2715 | - this.$element = this.getSettings("$element"); | |
| 2716 | - super.onInit(); | |
| 2717 | - this.isEdit = this.$element.hasClass(this.getSettings("classes.editMode")); | |
| 2718 | - if (this.isEdit) elementor.on("document:loaded", () => { | |
| 2719 | - elementor.settings.page.model.on("change", this.onSettingsChange.bind(this)); | |
| 2720 | - }); | |
| 2721 | - else this.runElementsHandlers(); | |
| 2722 | - } | |
| 2723 | - onSettingsChange() {} | |
| 2724 | - }; | |
| 2725 | - exports.default = _default; | |
| 2726 | - })); | |
| 561 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 2727 | 562 | |
| 2728 | -//#endregion | |
| 2729 | -//#region assets/dev/js/frontend/tools/stretch-element.js | |
| 2730 | - var require_stretch_element = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 2731 | - module.exports = elementorModules.ViewModule.extend({ | |
| 2732 | - getDefaultSettings() { | |
| 2733 | - return { | |
| 2734 | - element: null, | |
| 2735 | - direction: elementorFrontend.config.is_rtl ? "right" : "left", | |
| 2736 | - selectors: { container: window }, | |
| 2737 | - considerScrollbar: false, | |
| 2738 | - cssOutput: "inline" | |
| 2739 | - }; | |
| 2740 | - }, | |
| 2741 | - getDefaultElements() { | |
| 2742 | - return { $element: jQuery(this.getSettings("element")) }; | |
| 2743 | - }, | |
| 2744 | - stretch() { | |
| 2745 | - const settings = this.getSettings(); | |
| 2746 | - let $container; | |
| 2747 | - try { | |
| 2748 | - $container = jQuery(settings.selectors.container); | |
| 2749 | - } catch (e) {} | |
| 2750 | - if (!$container || !$container.length) $container = jQuery(this.getDefaultSettings().selectors.container); | |
| 2751 | - this.reset(); | |
| 2752 | - var $element = this.elements.$element; | |
| 2753 | - var containerWidth = $container.innerWidth(); | |
| 2754 | - var elementOffset = $element.offset().left; | |
| 2755 | - var isFixed = "fixed" === $element.css("position"); | |
| 2756 | - var correctOffset = isFixed ? 0 : elementOffset; | |
| 2757 | - var isContainerFullScreen = window === $container[0]; | |
| 2758 | - if (!isContainerFullScreen) { | |
| 2759 | - var containerOffset = $container.offset().left; | |
| 2760 | - if (isFixed) correctOffset = containerOffset; | |
| 2761 | - if (elementOffset > containerOffset) correctOffset = elementOffset - containerOffset; | |
| 2762 | - } | |
| 2763 | - if (settings.considerScrollbar && isContainerFullScreen) { | |
| 2764 | - const scrollbarWidth = window.innerWidth - containerWidth; | |
| 2765 | - correctOffset -= scrollbarWidth; | |
| 2766 | - } | |
| 2767 | - if (!isFixed) { | |
| 2768 | - if (elementorFrontend.config.is_rtl) correctOffset = containerWidth - ($element.outerWidth() + correctOffset); | |
| 2769 | - correctOffset = -correctOffset; | |
| 2770 | - } | |
| 2771 | - if (settings.margin) correctOffset += settings.margin; | |
| 2772 | - var css = {}; | |
| 2773 | - let width = containerWidth; | |
| 2774 | - if (settings.margin) width -= settings.margin * 2; | |
| 2775 | - css.width = width + "px"; | |
| 2776 | - css[settings.direction] = correctOffset + "px"; | |
| 2777 | - if ("variables" === settings.cssOutput) { | |
| 2778 | - this.applyCssVariables($element, css); | |
| 2779 | - return; | |
| 2780 | - } | |
| 2781 | - $element.css(css); | |
| 2782 | - }, | |
| 2783 | - reset() { | |
| 2784 | - const css = {}; | |
| 2785 | - const settings = this.getSettings(); | |
| 2786 | - const $element = this.elements.$element; | |
| 2787 | - if ("variables" === settings.cssOutput) { | |
| 2788 | - this.resetCssVariables($element); | |
| 2789 | - return; | |
| 2790 | - } | |
| 2791 | - css.width = ""; | |
| 2792 | - css[settings.direction] = ""; | |
| 2793 | - $element.css(css); | |
| 2794 | - }, | |
| 2795 | - applyCssVariables($element, css) { | |
| 2796 | - $element.css("--stretch-width", css.width); | |
| 2797 | - if (!!css.left) $element.css("--stretch-left", css.left); | |
| 2798 | - else $element.css("--stretch-right", css.right); | |
| 2799 | - }, | |
| 2800 | - resetCssVariables($element) { | |
| 2801 | - $element.css({ | |
| 2802 | - "--stretch-width": "", | |
| 2803 | - "--stretch-left": "", | |
| 2804 | - "--stretch-right": "" | |
| 2805 | - }); | |
| 2806 | - } | |
| 2807 | - }); | |
| 2808 | - })); | |
| 563 | +Object.defineProperty(exports, "__esModule", ({ | |
| 564 | + value: true | |
| 565 | +})); | |
| 566 | +exports["default"] = void 0; | |
| 2809 | 567 | |
| 2810 | -//#endregion | |
| 2811 | -//#region assets/dev/js/frontend/handlers/base.js | |
| 2812 | - var require_base = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 2813 | - require_es_array_push(); | |
| 2814 | - require_esnext_iterator_constructor(); | |
| 2815 | - require_esnext_iterator_filter(); | |
| 2816 | - require_esnext_iterator_find(); | |
| 2817 | - require_esnext_iterator_for_each(); | |
| 2818 | - module.exports = elementorModules.ViewModule.extend({ | |
| 2819 | - $element: null, | |
| 2820 | - editorListeners: null, | |
| 2821 | - onElementChange: null, | |
| 2822 | - onEditSettingsChange: null, | |
| 2823 | - onPageSettingsChange: null, | |
| 2824 | - isEdit: null, | |
| 2825 | - __construct(settings) { | |
| 2826 | - if (!this.isActive(settings)) return; | |
| 2827 | - this.$element = settings.$element; | |
| 2828 | - this.isEdit = this.$element.hasClass("elementor-element-edit-mode"); | |
| 2829 | - if (this.isEdit) this.addEditorListeners(); | |
| 2830 | - }, | |
| 2831 | - isActive() { | |
| 2832 | - return true; | |
| 2833 | - }, | |
| 2834 | - isElementInTheCurrentDocument() { | |
| 2835 | - if (!elementorFrontend.isEditMode()) return false; | |
| 2836 | - return elementor.documents.currentDocument.id.toString() === this.$element[0].closest(".elementor").dataset.elementorId; | |
| 2837 | - }, | |
| 2838 | - findElement(selector) { | |
| 2839 | - var $mainElement = this.$element; | |
| 2840 | - return $mainElement.find(selector).filter(function() { | |
| 2841 | - return jQuery(this).parent().closest(".elementor-element").is($mainElement); | |
| 2842 | - }); | |
| 2843 | - }, | |
| 2844 | - getUniqueHandlerID(cid, $element) { | |
| 2845 | - if (!cid) cid = this.getModelCID(); | |
| 2846 | - if (!$element) $element = this.$element; | |
| 2847 | - return cid + $element.attr("data-element_type") + this.getConstructorID(); | |
| 2848 | - }, | |
| 2849 | - initEditorListeners() { | |
| 2850 | - var self = this; | |
| 2851 | - self.editorListeners = [{ | |
| 2852 | - event: "element:destroy", | |
| 2853 | - to: elementor.channels.data, | |
| 2854 | - callback(removedModel) { | |
| 2855 | - if (removedModel.cid !== self.getModelCID()) return; | |
| 2856 | - self.onDestroy(); | |
| 2857 | - } | |
| 2858 | - }]; | |
| 2859 | - if (self.onElementChange) { | |
| 2860 | - const elementType = self.getWidgetType() || self.getElementType(); | |
| 2861 | - let eventName = "change"; | |
| 2862 | - if ("global" !== elementType) eventName += ":" + elementType; | |
| 2863 | - self.editorListeners.push({ | |
| 2864 | - event: eventName, | |
| 2865 | - to: elementor.channels.editor, | |
| 2866 | - callback(controlView, elementView) { | |
| 2867 | - if (self.getUniqueHandlerID(elementView.model.cid, elementView.$el) !== self.getUniqueHandlerID()) return; | |
| 2868 | - self.onElementChange(controlView.model.get("name"), controlView, elementView); | |
| 2869 | - } | |
| 2870 | - }); | |
| 2871 | - } | |
| 2872 | - if (self.onEditSettingsChange) self.editorListeners.push({ | |
| 2873 | - event: "change:editSettings", | |
| 2874 | - to: elementor.channels.editor, | |
| 2875 | - callback(changedModel, view) { | |
| 2876 | - if (view.model.cid !== self.getModelCID()) return; | |
| 2877 | - const propName = Object.keys(changedModel.changed)[0]; | |
| 2878 | - self.onEditSettingsChange(propName, changedModel.changed[propName]); | |
| 2879 | - } | |
| 2880 | - }); | |
| 2881 | - ["page"].forEach(function(settingsType) { | |
| 2882 | - var listenerMethodName = "on" + settingsType[0].toUpperCase() + settingsType.slice(1) + "SettingsChange"; | |
| 2883 | - if (self[listenerMethodName]) self.editorListeners.push({ | |
| 2884 | - event: "change", | |
| 2885 | - to: elementor.settings[settingsType].model, | |
| 2886 | - callback(model) { | |
| 2887 | - self[listenerMethodName](model.changed); | |
| 2888 | - } | |
| 2889 | - }); | |
| 2890 | - }); | |
| 2891 | - }, | |
| 2892 | - getEditorListeners() { | |
| 2893 | - if (!this.editorListeners) this.initEditorListeners(); | |
| 2894 | - return this.editorListeners; | |
| 2895 | - }, | |
| 2896 | - addEditorListeners() { | |
| 2897 | - var uniqueHandlerID = this.getUniqueHandlerID(); | |
| 2898 | - this.getEditorListeners().forEach(function(listener) { | |
| 2899 | - elementorFrontend.addListenerOnce(uniqueHandlerID, listener.event, listener.callback, listener.to); | |
| 2900 | - }); | |
| 2901 | - }, | |
| 2902 | - removeEditorListeners() { | |
| 2903 | - var uniqueHandlerID = this.getUniqueHandlerID(); | |
| 2904 | - this.getEditorListeners().forEach(function(listener) { | |
| 2905 | - elementorFrontend.removeListeners(uniqueHandlerID, listener.event, null, listener.to); | |
| 2906 | - }); | |
| 2907 | - }, | |
| 2908 | - getElementType() { | |
| 2909 | - return this.$element.data("element_type"); | |
| 2910 | - }, | |
| 2911 | - getWidgetType() { | |
| 2912 | - const widgetType = this.$element.data("widget_type"); | |
| 2913 | - if (!widgetType) return; | |
| 2914 | - return widgetType.split(".")[0]; | |
| 2915 | - }, | |
| 2916 | - getID() { | |
| 2917 | - return this.$element.data("id"); | |
| 2918 | - }, | |
| 2919 | - getModelCID() { | |
| 2920 | - return this.$element.data("model-cid"); | |
| 2921 | - }, | |
| 2922 | - getElementSettings(setting) { | |
| 2923 | - let elementSettings = {}; | |
| 2924 | - const modelCID = this.getModelCID(); | |
| 2925 | - if (this.isEdit && modelCID) { | |
| 2926 | - const settings = elementorFrontend.config.elements.data[modelCID]; | |
| 2927 | - const attributes = settings.attributes; | |
| 2928 | - let type = attributes.widgetType || attributes.elType; | |
| 2929 | - if (attributes.isInner) type = "inner-" + type; | |
| 2930 | - let settingsKeys = elementorFrontend.config.elements.keys[type]; | |
| 2931 | - if (!settingsKeys) { | |
| 2932 | - settingsKeys = elementorFrontend.config.elements.keys[type] = []; | |
| 2933 | - jQuery.each(settings.controls, (name, control) => { | |
| 2934 | - if (control.frontend_available || control.editor_available) settingsKeys.push(name); | |
| 2935 | - }); | |
| 2936 | - } | |
| 2937 | - jQuery.each(settings.getActiveControls(), function(controlKey) { | |
| 2938 | - if (-1 !== settingsKeys.indexOf(controlKey)) { | |
| 2939 | - let value = attributes[controlKey]; | |
| 2940 | - if (value.toJSON) value = value.toJSON(); | |
| 2941 | - elementSettings[controlKey] = value; | |
| 2942 | - } | |
| 2943 | - }); | |
| 2944 | - } else elementSettings = this.$element.data("settings") || {}; | |
| 2945 | - return this.getItems(elementSettings, setting); | |
| 2946 | - }, | |
| 2947 | - getEditSettings(setting) { | |
| 2948 | - var attributes = {}; | |
| 2949 | - if (this.isEdit) attributes = elementorFrontend.config.elements.editSettings[this.getModelCID()].attributes; | |
| 2950 | - return this.getItems(attributes, setting); | |
| 2951 | - }, | |
| 2952 | - getCurrentDeviceSetting(settingKey) { | |
| 2953 | - return elementorFrontend.getCurrentDeviceSetting(this.getElementSettings(), settingKey); | |
| 2954 | - }, | |
| 2955 | - onInit() { | |
| 2956 | - if (this.isActive(this.getSettings())) elementorModules.ViewModule.prototype.onInit.apply(this, arguments); | |
| 2957 | - }, | |
| 2958 | - onDestroy() { | |
| 2959 | - if (this.isEdit) this.removeEditorListeners(); | |
| 2960 | - if (this.unbindEvents) this.unbindEvents(); | |
| 2961 | - } | |
| 2962 | - }); | |
| 2963 | - })); | |
| 568 | +__webpack_require__(/*! core-js/modules/es.error.cause.js */ "../node_modules/core-js/modules/es.error.cause.js"); | |
| 2964 | 569 | |
| 2965 | -//#endregion | |
| 2966 | -//#region assets/dev/js/frontend/handlers/stretched-element.js | |
| 2967 | - var require_stretched_element = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2968 | - var _interopRequireDefault = require_interopRequireDefault(); | |
| 2969 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2970 | - exports.default = void 0; | |
| 2971 | - require_esnext_iterator_constructor(); | |
| 2972 | - require_esnext_iterator_find(); | |
| 2973 | - var _base = _interopRequireDefault(require_base()); | |
| 2974 | - var StretchedElement = class extends _base.default { | |
| 2975 | - getStretchedClass() { | |
| 2976 | - return "e-stretched"; | |
| 2977 | - } | |
| 2978 | - getStretchSettingName() { | |
| 2979 | - return "stretch_element"; | |
| 2980 | - } | |
| 2981 | - getStretchActiveValue() { | |
| 2982 | - return "yes"; | |
| 2983 | - } | |
| 2984 | - bindEvents() { | |
| 2985 | - const handlerID = this.getUniqueHandlerID(); | |
| 2986 | - elementorFrontend.addListenerOnce(handlerID, "resize", this.stretch); | |
| 2987 | - elementorFrontend.addListenerOnce(handlerID, "sticky:stick", this.stretch, this.$element); | |
| 2988 | - elementorFrontend.addListenerOnce(handlerID, "sticky:unstick", this.stretch, this.$element); | |
| 2989 | - if (elementorFrontend.isEditMode()) { | |
| 2990 | - this.onKitChangeStretchContainerChange = this.onKitChangeStretchContainerChange.bind(this); | |
| 2991 | - elementor.channels.editor.on("kit:change:stretchContainer", this.onKitChangeStretchContainerChange); | |
| 2992 | - } | |
| 2993 | - } | |
| 2994 | - unbindEvents() { | |
| 2995 | - elementorFrontend.removeListeners(this.getUniqueHandlerID(), "resize", this.stretch); | |
| 2996 | - if (elementorFrontend.isEditMode()) elementor.channels.editor.off("kit:change:stretchContainer", this.onKitChangeStretchContainerChange); | |
| 2997 | - } | |
| 2998 | - isActive(settings) { | |
| 2999 | - return elementorFrontend.isEditMode() || settings.$element.hasClass(this.getStretchedClass()); | |
| 3000 | - } | |
| 3001 | - getStretchElementForConfig(childSelector = null) { | |
| 3002 | - if (childSelector) return this.$element.find(childSelector); | |
| 3003 | - return this.$element; | |
| 3004 | - } | |
| 3005 | - getStretchElementConfig() { | |
| 3006 | - return { | |
| 3007 | - element: this.getStretchElementForConfig(), | |
| 3008 | - selectors: { container: this.getStretchContainer() }, | |
| 3009 | - considerScrollbar: elementorFrontend.isEditMode() && elementorFrontend.config.is_rtl | |
| 3010 | - }; | |
| 3011 | - } | |
| 3012 | - initStretch() { | |
| 3013 | - this.stretch = this.stretch.bind(this); | |
| 3014 | - this.stretchElement = new elementorModules.frontend.tools.StretchElement(this.getStretchElementConfig()); | |
| 3015 | - } | |
| 3016 | - getStretchContainer() { | |
| 3017 | - return elementorFrontend.getKitSettings("stretched_section_container") || window; | |
| 3018 | - } | |
| 3019 | - isStretchSettingEnabled() { | |
| 3020 | - return this.getElementSettings(this.getStretchSettingName()) === this.getStretchActiveValue(); | |
| 3021 | - } | |
| 3022 | - stretch() { | |
| 3023 | - if (!this.isStretchSettingEnabled()) return; | |
| 3024 | - this.stretchElement.stretch(); | |
| 3025 | - } | |
| 3026 | - onInit(...args) { | |
| 3027 | - if (!this.isActive(this.getSettings())) return; | |
| 3028 | - this.initStretch(); | |
| 3029 | - super.onInit(...args); | |
| 3030 | - this.stretch(); | |
| 3031 | - } | |
| 3032 | - onElementChange(propertyName) { | |
| 3033 | - if (this.getStretchSettingName() === propertyName) if (this.isStretchSettingEnabled()) this.stretch(); | |
| 3034 | - else this.stretchElement.reset(); | |
| 3035 | - } | |
| 3036 | - onKitChangeStretchContainerChange() { | |
| 3037 | - this.stretchElement.setSettings("selectors.container", this.getStretchContainer()); | |
| 3038 | - this.stretch(); | |
| 3039 | - } | |
| 3040 | - }; | |
| 3041 | - exports.default = StretchedElement; | |
| 3042 | - })); | |
| 570 | +var _instanceType = _interopRequireDefault(__webpack_require__(/*! ./instance-type */ "../assets/dev/js/modules/imports/instance-type.js")); | |
| 3043 | 571 | |
| 3044 | -//#endregion | |
| 3045 | -//#region assets/dev/js/frontend/handlers/base-swiper.js | |
| 3046 | - var require_base_swiper = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 3047 | - var _interopRequireDefault = require_interopRequireDefault(); | |
| 3048 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 3049 | - exports.default = void 0; | |
| 3050 | - var _base = _interopRequireDefault(require_base()); | |
| 3051 | - var SwiperHandlerBase = class extends _base.default { | |
| 3052 | - getInitialSlide() { | |
| 3053 | - const editSettings = this.getEditSettings(); | |
| 3054 | - return editSettings.activeItemIndex ? editSettings.activeItemIndex - 1 : 0; | |
| 3055 | - } | |
| 3056 | - getSlidesCount() { | |
| 3057 | - return this.elements.$slides.length; | |
| 3058 | - } | |
| 3059 | - togglePauseOnHover(toggleOn) { | |
| 3060 | - if (toggleOn) this.elements.$swiperContainer.on({ | |
| 3061 | - mouseenter: () => { | |
| 3062 | - this.swiper.autoplay.stop(); | |
| 3063 | - }, | |
| 3064 | - mouseleave: () => { | |
| 3065 | - this.swiper.autoplay.start(); | |
| 3066 | - } | |
| 3067 | - }); | |
| 3068 | - else this.elements.$swiperContainer.off("mouseenter mouseleave"); | |
| 3069 | - } | |
| 3070 | - handleKenBurns() { | |
| 3071 | - const settings = this.getSettings(); | |
| 3072 | - if (this.$activeImageBg) this.$activeImageBg.removeClass(settings.classes.kenBurnsActive); | |
| 3073 | - this.activeItemIndex = this.swiper ? this.swiper.activeIndex : this.getInitialSlide(); | |
| 3074 | - if (this.swiper) this.$activeImageBg = jQuery(this.swiper.slides[this.activeItemIndex]).children("." + settings.classes.slideBackground); | |
| 3075 | - else this.$activeImageBg = jQuery(this.elements.$slides[0]).children("." + settings.classes.slideBackground); | |
| 3076 | - this.$activeImageBg.addClass(settings.classes.kenBurnsActive); | |
| 3077 | - } | |
| 3078 | - }; | |
| 3079 | - exports.default = SwiperHandlerBase; | |
| 3080 | - })); | |
| 572 | +var _isInstanceof = _interopRequireDefault(__webpack_require__(/*! ../../editor/utils/is-instanceof */ "../assets/dev/js/editor/utils/is-instanceof.js")); | |
| 3081 | 573 | |
| 3082 | -//#endregion | |
| 3083 | -//#region \0@[email protected]/helpers/esm/asyncToGenerator.js | |
| 3084 | - function asyncGeneratorStep(n, t, e, r, o, a, c) { | |
| 3085 | - try { | |
| 3086 | - var i = n[a](c); | |
| 3087 | - var u = i.value; | |
| 3088 | - } catch (n) { | |
| 3089 | - e(n); | |
| 3090 | - return; | |
| 3091 | - } | |
| 3092 | - i.done ? t(u) : Promise.resolve(u).then(r, o); | |
| 3093 | - } | |
| 3094 | - function _asyncToGenerator(n) { | |
| 3095 | - return function() { | |
| 3096 | - var t = this; | |
| 3097 | - var e = arguments; | |
| 3098 | - return new Promise(function(r, o) { | |
| 3099 | - var a = n.apply(t, e); | |
| 3100 | - function _next(n) { | |
| 3101 | - asyncGeneratorStep(a, r, o, _next, _throw, "next", n); | |
| 3102 | - } | |
| 3103 | - function _throw(n) { | |
| 3104 | - asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); | |
| 3105 | - } | |
| 3106 | - _next(void 0); | |
| 3107 | - }); | |
| 3108 | - }; | |
| 3109 | - } | |
| 3110 | - var init_asyncToGenerator = __esmMin((() => {})); | |
| 574 | +class ArgsObject extends _instanceType.default { | |
| 575 | + static getInstanceType() { | |
| 576 | + return 'ArgsObject'; | |
| 577 | + } | |
| 578 | + /** | |
| 579 | + * Function constructor(). | |
| 580 | + * | |
| 581 | + * Create ArgsObject. | |
| 582 | + * | |
| 583 | + * @param {{}} args | |
| 584 | + */ | |
| 3111 | 585 | |
| 3112 | -//#endregion | |
| 3113 | -//#region assets/dev/js/frontend/handlers/base-carousel.js | |
| 3114 | - var require_base_carousel = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 3115 | - init_asyncToGenerator(); | |
| 3116 | - var _interopRequireDefault = require_interopRequireDefault(); | |
| 3117 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 3118 | - exports.default = void 0; | |
| 3119 | - require_esnext_iterator_constructor(); | |
| 3120 | - require_esnext_iterator_find(); | |
| 3121 | - require_esnext_iterator_for_each(); | |
| 3122 | - var _baseSwiper = _interopRequireDefault(require_base_swiper()); | |
| 3123 | - var CarouselHandlerBase = class extends _baseSwiper.default { | |
| 3124 | - getDefaultSettings() { | |
| 3125 | - return { selectors: { | |
| 3126 | - carousel: ".swiper", | |
| 3127 | - swiperWrapper: ".swiper-wrapper", | |
| 3128 | - slideContent: ".swiper-slide", | |
| 3129 | - swiperArrow: ".elementor-swiper-button", | |
| 3130 | - paginationWrapper: ".swiper-pagination", | |
| 3131 | - paginationBullet: ".swiper-pagination-bullet", | |
| 3132 | - paginationBulletWrapper: ".swiper-pagination-bullets" | |
| 3133 | - } }; | |
| 3134 | - } | |
| 3135 | - getDefaultElements() { | |
| 3136 | - const selectors = this.getSettings("selectors"); | |
| 3137 | - const elements = { | |
| 3138 | - $swiperContainer: this.$element.find(selectors.carousel), | |
| 3139 | - $swiperWrapper: this.$element.find(selectors.swiperWrapper), | |
| 3140 | - $swiperArrows: this.$element.find(selectors.swiperArrow), | |
| 3141 | - $paginationWrapper: this.$element.find(selectors.paginationWrapper), | |
| 3142 | - $paginationBullets: this.$element.find(selectors.paginationBullet), | |
| 3143 | - $paginationBulletWrapper: this.$element.find(selectors.paginationBulletWrapper) | |
| 3144 | - }; | |
| 3145 | - elements.$slides = elements.$swiperContainer.find(selectors.slideContent); | |
| 3146 | - return elements; | |
| 3147 | - } | |
| 3148 | - getSwiperSettings() { | |
| 3149 | - const elementSettings = this.getElementSettings(); | |
| 3150 | - const slidesToShow = +elementSettings.slides_to_show || 3; | |
| 3151 | - const isSingleSlide = 1 === slidesToShow; | |
| 3152 | - const elementorBreakpoints = elementorFrontend.config.responsive.activeBreakpoints; | |
| 3153 | - const defaultSlidesToShowMap = { | |
| 3154 | - mobile: 1, | |
| 3155 | - tablet: isSingleSlide ? 1 : 2 | |
| 3156 | - }; | |
| 3157 | - const swiperOptions = { | |
| 3158 | - slidesPerView: slidesToShow, | |
| 3159 | - loop: "yes" === elementSettings.infinite, | |
| 3160 | - speed: elementSettings.speed, | |
| 3161 | - handleElementorBreakpoints: true | |
| 3162 | - }; | |
| 3163 | - swiperOptions.breakpoints = {}; | |
| 3164 | - let lastBreakpointSlidesToShowValue = slidesToShow; | |
| 3165 | - Object.keys(elementorBreakpoints).reverse().forEach((breakpointName) => { | |
| 3166 | - const defaultSlidesToShow = defaultSlidesToShowMap[breakpointName] ? defaultSlidesToShowMap[breakpointName] : lastBreakpointSlidesToShowValue; | |
| 3167 | - swiperOptions.breakpoints[elementorBreakpoints[breakpointName].value] = { | |
| 3168 | - slidesPerView: +elementSettings["slides_to_show_" + breakpointName] || defaultSlidesToShow, | |
| 3169 | - slidesPerGroup: +elementSettings["slides_to_scroll_" + breakpointName] || 1 | |
| 3170 | - }; | |
| 3171 | - if (elementSettings.image_spacing_custom) swiperOptions.breakpoints[elementorBreakpoints[breakpointName].value].spaceBetween = this.getSpaceBetween(breakpointName); | |
| 3172 | - lastBreakpointSlidesToShowValue = +elementSettings["slides_to_show_" + breakpointName] || defaultSlidesToShow; | |
| 3173 | - }); | |
| 3174 | - if ("yes" === elementSettings.autoplay) swiperOptions.autoplay = { | |
| 3175 | - delay: elementSettings.autoplay_speed, | |
| 3176 | - disableOnInteraction: "yes" === elementSettings.pause_on_interaction | |
| 3177 | - }; | |
| 3178 | - if (isSingleSlide) { | |
| 3179 | - swiperOptions.effect = elementSettings.effect; | |
| 3180 | - if ("fade" === elementSettings.effect) swiperOptions.fadeEffect = { crossFade: true }; | |
| 3181 | - } else swiperOptions.slidesPerGroup = +elementSettings.slides_to_scroll || 1; | |
| 3182 | - if (elementSettings.image_spacing_custom) swiperOptions.spaceBetween = this.getSpaceBetween(); | |
| 3183 | - const showArrows = "arrows" === elementSettings.navigation || "both" === elementSettings.navigation; | |
| 3184 | - const showPagination = "dots" === elementSettings.navigation || "both" === elementSettings.navigation || elementSettings.pagination; | |
| 3185 | - if (showArrows) swiperOptions.navigation = { | |
| 3186 | - prevEl: ".elementor-swiper-button-prev", | |
| 3187 | - nextEl: ".elementor-swiper-button-next" | |
| 3188 | - }; | |
| 3189 | - if (showPagination) swiperOptions.pagination = { | |
| 3190 | - el: `.elementor-element-${this.getID()} .swiper-pagination`, | |
| 3191 | - type: !!elementSettings.pagination ? elementSettings.pagination : "bullets", | |
| 3192 | - clickable: true, | |
| 3193 | - renderBullet: (index, classname) => { | |
| 3194 | - return `<span class="${classname}" role="button" tabindex="0" data-bullet-index="${index}" aria-label="${elementorFrontend.config.i18n.a11yCarouselPaginationBulletMessage} ${index + 1}"></span>`; | |
| 3195 | - } | |
| 3196 | - }; | |
| 3197 | - if ("yes" === elementSettings.lazyload) swiperOptions.lazy = { | |
| 3198 | - loadPrevNext: true, | |
| 3199 | - loadPrevNextAmount: 1 | |
| 3200 | - }; | |
| 3201 | - swiperOptions.a11y = { | |
| 3202 | - enabled: true, | |
| 3203 | - prevSlideMessage: elementorFrontend.config.i18n.a11yCarouselPrevSlideMessage, | |
| 3204 | - nextSlideMessage: elementorFrontend.config.i18n.a11yCarouselNextSlideMessage, | |
| 3205 | - firstSlideMessage: elementorFrontend.config.i18n.a11yCarouselFirstSlideMessage, | |
| 3206 | - lastSlideMessage: elementorFrontend.config.i18n.a11yCarouselLastSlideMessage | |
| 3207 | - }; | |
| 3208 | - swiperOptions.on = { | |
| 3209 | - slideChange: () => { | |
| 3210 | - this.a11ySetPaginationTabindex(); | |
| 3211 | - this.handleElementHandlers(); | |
| 3212 | - this.a11ySetSlideAriaHidden(); | |
| 3213 | - }, | |
| 3214 | - init: () => { | |
| 3215 | - this.a11ySetPaginationTabindex(); | |
| 3216 | - this.a11ySetSlideAriaHidden("initialisation"); | |
| 3217 | - } | |
| 3218 | - }; | |
| 3219 | - this.applyOffsetSettings(elementSettings, swiperOptions, slidesToShow); | |
| 3220 | - return swiperOptions; | |
| 3221 | - } | |
| 3222 | - getOffsetWidth() { | |
| 3223 | - const currentDevice = elementorFrontend.getCurrentDeviceMode(); | |
| 3224 | - return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), "offset_width", "size", currentDevice) || 0; | |
| 3225 | - } | |
| 3226 | - applyOffsetSettings(elementSettings, swiperOptions, slidesToShow) { | |
| 3227 | - const offsetSide = elementSettings.offset_sides; | |
| 3228 | - if (elementorFrontend.isEditMode() && "NestedCarousel" === this.constructor.name || !offsetSide || "none" === offsetSide) return; | |
| 3229 | - switch (offsetSide) { | |
| 3230 | - case "right": | |
| 3231 | - this.forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow); | |
| 3232 | - this.addClassToSwiperContainer("offset-right"); | |
| 3233 | - break; | |
| 3234 | - case "left": | |
| 3235 | - this.addClassToSwiperContainer("offset-left"); | |
| 3236 | - break; | |
| 3237 | - case "both": | |
| 3238 | - this.forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow); | |
| 3239 | - this.addClassToSwiperContainer("offset-both"); | |
| 3240 | - break; | |
| 3241 | - } | |
| 3242 | - } | |
| 3243 | - forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow) { | |
| 3244 | - swiperOptions.slidesPerView = slidesToShow + .001; | |
| 3245 | - } | |
| 3246 | - addClassToSwiperContainer(className) { | |
| 3247 | - this.getDefaultElements().$swiperContainer[0].classList.add(className); | |
| 3248 | - } | |
| 3249 | - onInit(...args) { | |
| 3250 | - var _superprop_getOnInit = () => super.onInit; | |
| 3251 | - var _this = this; | |
| 3252 | - return _asyncToGenerator(function* () { | |
| 3253 | - _superprop_getOnInit().call(_this, ...args); | |
| 3254 | - if (!_this.elements.$swiperContainer.length || 2 > _this.elements.$slides.length) return; | |
| 3255 | - yield _this.initSwiper(); | |
| 3256 | - if ("yes" === _this.getElementSettings().pause_on_hover) _this.togglePauseOnHover(true); | |
| 3257 | - })(); | |
| 3258 | - } | |
| 3259 | - initSwiper() { | |
| 3260 | - var _this2 = this; | |
| 3261 | - return _asyncToGenerator(function* () { | |
| 3262 | - const Swiper = elementorFrontend.utils.swiper; | |
| 3263 | - _this2.swiper = yield new Swiper(_this2.elements.$swiperContainer, _this2.getSwiperSettings()); | |
| 3264 | - _this2.elements.$swiperContainer.data("swiper", _this2.swiper); | |
| 3265 | - })(); | |
| 3266 | - } | |
| 3267 | - bindEvents() { | |
| 3268 | - this.elements.$swiperArrows.on("keydown", this.onDirectionArrowKeydown.bind(this)); | |
| 3269 | - this.elements.$paginationWrapper.on("keydown", ".swiper-pagination-bullet", this.onDirectionArrowKeydown.bind(this)); | |
| 3270 | - this.elements.$swiperContainer.on("keydown", ".swiper-slide", this.onDirectionArrowKeydown.bind(this)); | |
| 3271 | - this.$element.find(":focusable").on("focus", this.onFocusDisableAutoplay.bind(this)); | |
| 3272 | - elementorFrontend.elements.$window.on("resize", this.getSwiperSettings.bind(this)); | |
| 3273 | - } | |
| 3274 | - unbindEvents() { | |
| 3275 | - this.elements.$swiperArrows.off(); | |
| 3276 | - this.elements.$paginationWrapper.off(); | |
| 3277 | - this.elements.$swiperContainer.off(); | |
| 3278 | - this.$element.find(":focusable").off(); | |
| 3279 | - elementorFrontend.elements.$window.off("resize"); | |
| 3280 | - } | |
| 3281 | - onDirectionArrowKeydown(event) { | |
| 3282 | - const isRTL = elementorFrontend.config.is_rtl; | |
| 3283 | - const inlineDirectionArrows = ["ArrowLeft", "ArrowRight"]; | |
| 3284 | - const currentKeydown = event.originalEvent.code; | |
| 3285 | - const isDirectionInlineKeydown = -1 !== inlineDirectionArrows.indexOf(currentKeydown); | |
| 3286 | - const directionStart = isRTL ? "ArrowRight" : "ArrowLeft"; | |
| 3287 | - const directionEnd = isRTL ? "ArrowLeft" : "ArrowRight"; | |
| 3288 | - if (!isDirectionInlineKeydown) return true; | |
| 3289 | - else if (directionStart === currentKeydown) this.swiper.slidePrev(); | |
| 3290 | - else if (directionEnd === currentKeydown) this.swiper.slideNext(); | |
| 3291 | - } | |
| 3292 | - onFocusDisableAutoplay() { | |
| 3293 | - this.swiper.autoplay.stop(); | |
| 3294 | - } | |
| 3295 | - updateSwiperOption(propertyName) { | |
| 3296 | - const newSettingValue = this.getElementSettings()[propertyName]; | |
| 3297 | - const params = this.swiper.params; | |
| 3298 | - switch (propertyName) { | |
| 3299 | - case "autoplay_speed": | |
| 3300 | - params.autoplay.delay = newSettingValue; | |
| 3301 | - break; | |
| 3302 | - case "speed": | |
| 3303 | - params.speed = newSettingValue; | |
| 3304 | - break; | |
| 3305 | - } | |
| 3306 | - this.swiper.update(); | |
| 3307 | - } | |
| 3308 | - getChangeableProperties() { | |
| 3309 | - return { | |
| 3310 | - pause_on_hover: "pauseOnHover", | |
| 3311 | - autoplay_speed: "delay", | |
| 3312 | - speed: "speed", | |
| 3313 | - arrows_position: "arrows_position" | |
| 3314 | - }; | |
| 3315 | - } | |
| 3316 | - onElementChange(propertyName) { | |
| 3317 | - if (0 === propertyName.indexOf("image_spacing_custom")) { | |
| 3318 | - this.updateSpaceBetween(propertyName); | |
| 3319 | - return; | |
| 3320 | - } | |
| 3321 | - if (this.getChangeableProperties()[propertyName]) if ("pause_on_hover" === propertyName) { | |
| 3322 | - const newSettingValue = this.getElementSettings("pause_on_hover"); | |
| 3323 | - this.togglePauseOnHover("yes" === newSettingValue); | |
| 3324 | - } else this.updateSwiperOption(propertyName); | |
| 3325 | - } | |
| 3326 | - onEditSettingsChange(propertyName) { | |
| 3327 | - if ("activeItemIndex" === propertyName) this.swiper.slideToLoop(this.getEditSettings("activeItemIndex") - 1); | |
| 3328 | - } | |
| 3329 | - getSpaceBetween(device = null) { | |
| 3330 | - const responsiveControlValue = elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), "image_spacing_custom", "size", device); | |
| 3331 | - return Number(responsiveControlValue) || 0; | |
| 3332 | - } | |
| 3333 | - updateSpaceBetween(propertyName) { | |
| 3334 | - const deviceMatch = propertyName.match("image_spacing_custom_(.*)"); | |
| 3335 | - const device = deviceMatch ? deviceMatch[1] : "desktop"; | |
| 3336 | - const newSpaceBetween = this.getSpaceBetween(device); | |
| 3337 | - if ("desktop" !== device) this.swiper.params.breakpoints[elementorFrontend.config.responsive.activeBreakpoints[device].value].spaceBetween = newSpaceBetween; | |
| 3338 | - this.swiper.params.spaceBetween = newSpaceBetween; | |
| 3339 | - this.swiper.update(); | |
| 3340 | - } | |
| 3341 | - getPaginationBullets(type = "array") { | |
| 3342 | - const paginationBullets = this.$element.find(this.getSettings("selectors").paginationBullet); | |
| 3343 | - return "array" === type ? Array.from(paginationBullets) : paginationBullets; | |
| 3344 | - } | |
| 3345 | - a11ySetPaginationTabindex() { | |
| 3346 | - var _this$swiper; | |
| 3347 | - var _this$swiper2; | |
| 3348 | - var _event; | |
| 3349 | - var _event2; | |
| 3350 | - var _event3; | |
| 3351 | - const bulletClass = (_this$swiper = this.swiper) === null || _this$swiper === void 0 || (_this$swiper = _this$swiper.params) === null || _this$swiper === void 0 ? void 0 : _this$swiper.pagination.bulletClass; | |
| 3352 | - const activeBulletClass = (_this$swiper2 = this.swiper) === null || _this$swiper2 === void 0 || (_this$swiper2 = _this$swiper2.params) === null || _this$swiper2 === void 0 ? void 0 : _this$swiper2.pagination.bulletActiveClass; | |
| 3353 | - this.getPaginationBullets().forEach((bullet) => { | |
| 3354 | - var _bullet$classList; | |
| 3355 | - if (!((_bullet$classList = bullet.classList) === null || _bullet$classList === void 0 ? void 0 : _bullet$classList.contains(activeBulletClass))) bullet.removeAttribute("tabindex"); | |
| 3356 | - }); | |
| 3357 | - const isDirectionInlineArrowKey = "ArrowLeft" === ((_event = event) === null || _event === void 0 ? void 0 : _event.code) || "ArrowRight" === ((_event2 = event) === null || _event2 === void 0 ? void 0 : _event2.code); | |
| 3358 | - if (((_event3 = event) === null || _event3 === void 0 || (_event3 = _event3.target) === null || _event3 === void 0 || (_event3 = _event3.classList) === null || _event3 === void 0 ? void 0 : _event3.contains(bulletClass)) && isDirectionInlineArrowKey) this.$element.find(`.${activeBulletClass}`).trigger("focus"); | |
| 3359 | - } | |
| 3360 | - getSwiperWrapperTranformXValue() { | |
| 3361 | - var _this$elements$$swipe; | |
| 3362 | - let transformValue = (_this$elements$$swipe = this.elements.$swiperWrapper[0]) === null || _this$elements$$swipe === void 0 ? void 0 : _this$elements$$swipe.style.transform; | |
| 3363 | - transformValue = transformValue.replace("translate3d(", ""); | |
| 3364 | - transformValue = transformValue.split(","); | |
| 3365 | - transformValue = parseInt(transformValue[0].replace("px", "")); | |
| 3366 | - return !!transformValue ? transformValue : 0; | |
| 3367 | - } | |
| 3368 | - a11ySetSlideAriaHidden(status = "") { | |
| 3369 | - var _this$swiper3; | |
| 3370 | - if ("number" !== typeof ("initialisation" === status ? 0 : (_this$swiper3 = this.swiper) === null || _this$swiper3 === void 0 ? void 0 : _this$swiper3.activeIndex)) return; | |
| 3371 | - const swiperWrapperTransformXValue = this.getSwiperWrapperTranformXValue(); | |
| 3372 | - const swiperWrapperWidth = this.elements.$swiperWrapper[0].clientWidth; | |
| 3373 | - this.elements.$swiperContainer.find(this.getSettings("selectors").slideContent).each((index, slide) => { | |
| 3374 | - if (!(0 <= slide.offsetLeft + swiperWrapperTransformXValue && swiperWrapperWidth > slide.offsetLeft + swiperWrapperTransformXValue)) { | |
| 3375 | - slide.setAttribute("aria-hidden", true); | |
| 3376 | - slide.setAttribute("inert", ""); | |
| 3377 | - } else { | |
| 3378 | - slide.removeAttribute("aria-hidden"); | |
| 3379 | - slide.removeAttribute("inert"); | |
| 3380 | - } | |
| 3381 | - }); | |
| 3382 | - } | |
| 3383 | - handleElementHandlers() {} | |
| 3384 | - }; | |
| 3385 | - exports.default = CarouselHandlerBase; | |
| 3386 | - })); | |
| 3387 | 586 | |
| 3388 | -//#endregion | |
| 3389 | -//#region assets/dev/js/frontend/modules.js | |
| 3390 | - var _interopRequireDefault = require_interopRequireDefault(); | |
| 3391 | - var _modules = _interopRequireDefault(require_modules()); | |
| 3392 | - var _document = _interopRequireDefault(require_document()); | |
| 3393 | - var _stretchElement = _interopRequireDefault(require_stretch_element()); | |
| 3394 | - var _stretchedElement = _interopRequireDefault(require_stretched_element()); | |
| 3395 | - var _base = _interopRequireDefault(require_base()); | |
| 3396 | - var _baseSwiper = _interopRequireDefault(require_base_swiper()); | |
| 3397 | - var _baseCarousel = _interopRequireDefault(require_base_carousel()); | |
| 3398 | - _modules.default.frontend = { | |
| 3399 | - Document: _document.default, | |
| 3400 | - tools: { StretchElement: _stretchElement.default }, | |
| 3401 | - handlers: { | |
| 3402 | - Base: _base.default, | |
| 3403 | - StretchedElement: _stretchedElement.default, | |
| 3404 | - SwiperBase: _baseSwiper.default, | |
| 3405 | - CarouselBase: _baseCarousel.default | |
| 3406 | - } | |
| 3407 | - }; | |
| 587 | + constructor(args) { | |
| 588 | + super(); | |
| 589 | + this.args = args; | |
| 590 | + } | |
| 591 | + /** | |
| 592 | + * Function requireArgument(). | |
| 593 | + * | |
| 594 | + * Validate property in args. | |
| 595 | + * | |
| 596 | + * @param {string} property | |
| 597 | + * @param {{}} args | |
| 598 | + * | |
| 599 | + * @throws {Error} | |
| 600 | + * | |
| 601 | + */ | |
| 3408 | 602 | |
| 3409 | -//#endregion | |
| 3410 | -})(); | |
| 603 | + | |
| 604 | + requireArgument(property) { | |
| 605 | + let args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.args; | |
| 606 | + | |
| 607 | + if (!Object.prototype.hasOwnProperty.call(args, property)) { | |
| 608 | + throw Error(`${property} is required.`); | |
| 609 | + } | |
| 610 | + } | |
| 611 | + /** | |
| 612 | + * Function requireArgumentType(). | |
| 613 | + * | |
| 614 | + * Validate property in args using `type === typeof(args.whatever)`. | |
| 615 | + * | |
| 616 | + * @param {string} property | |
| 617 | + * @param {string} type | |
| 618 | + * @param {{}} args | |
| 619 | + * | |
| 620 | + * @throws {Error} | |
| 621 | + * | |
| 622 | + */ | |
| 623 | + | |
| 624 | + | |
| 625 | + requireArgumentType(property, type) { | |
| 626 | + let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 627 | + this.requireArgument(property, args); | |
| 628 | + | |
| 629 | + if (typeof args[property] !== type) { | |
| 630 | + throw Error(`${property} invalid type: ${type}.`); | |
| 631 | + } | |
| 632 | + } | |
| 633 | + /** | |
| 634 | + * Function requireArgumentInstance(). | |
| 635 | + * | |
| 636 | + * Validate property in args using `args.whatever instanceof instance`. | |
| 637 | + * | |
| 638 | + * @param {string} property | |
| 639 | + * @param {*} instance | |
| 640 | + * @param {{}} args | |
| 641 | + * | |
| 642 | + * @throws {Error} | |
| 643 | + * | |
| 644 | + */ | |
| 645 | + | |
| 646 | + | |
| 647 | + requireArgumentInstance(property, instance) { | |
| 648 | + let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 649 | + this.requireArgument(property, args); | |
| 650 | + | |
| 651 | + if (!(args[property] instanceof instance) && !(0, _isInstanceof.default)(args[property], instance)) { | |
| 652 | + throw Error(`${property} invalid instance.`); | |
| 653 | + } | |
| 654 | + } | |
| 655 | + /** | |
| 656 | + * Function requireArgumentConstructor(). | |
| 657 | + * | |
| 658 | + * Validate property in args using `type === args.whatever.constructor`. | |
| 659 | + * | |
| 660 | + * @param {string} property | |
| 661 | + * @param {*} type | |
| 662 | + * @param {{}} args | |
| 663 | + * | |
| 664 | + * @throws {Error} | |
| 665 | + * | |
| 666 | + */ | |
| 667 | + | |
| 668 | + | |
| 669 | + requireArgumentConstructor(property, type) { | |
| 670 | + let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 671 | + this.requireArgument(property, args); // Note: Converting the constructor to string in order to avoid equation issues | |
| 672 | + // due to different memory addresses between iframes (window.Object !== window.top.Object). | |
| 673 | + | |
| 674 | + if (args[property].constructor.toString() !== type.prototype.constructor.toString()) { | |
| 675 | + throw Error(`${property} invalid constructor type.`); | |
| 676 | + } | |
| 677 | + } | |
| 678 | + | |
| 679 | +} | |
| 680 | + | |
| 681 | +exports["default"] = ArgsObject; | |
| 682 | + | |
| 683 | +/***/ }), | |
| 684 | + | |
| 685 | +/***/ "../assets/dev/js/modules/imports/force-method-implementation.js": | |
| 686 | +/*!***********************************************************************!*\ | |
| 687 | + !*** ../assets/dev/js/modules/imports/force-method-implementation.js ***! | |
| 688 | + \***********************************************************************/ | |
| 689 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 690 | + | |
| 691 | +"use strict"; | |
| 692 | + | |
| 693 | + | |
| 694 | +Object.defineProperty(exports, "__esModule", ({ | |
| 695 | + value: true | |
| 696 | +})); | |
| 697 | +exports["default"] = exports.ForceMethodImplementation = void 0; | |
| 698 | + | |
| 699 | +__webpack_require__(/*! core-js/modules/es.error.cause.js */ "../node_modules/core-js/modules/es.error.cause.js"); | |
| 700 | + | |
| 701 | +__webpack_require__(/*! core-js/modules/es.array.includes.js */ "../node_modules/core-js/modules/es.array.includes.js"); | |
| 702 | + | |
| 703 | +// TODO: Wrong location used as `elementorModules.ForceMethodImplementation(); should be` `elementorUtils.forceMethodImplementation()`; | |
| 704 | +class ForceMethodImplementation extends Error { | |
| 705 | + constructor() { | |
| 706 | + let info = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 707 | + let args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | |
| 708 | + super(`${info.isStatic ? 'static ' : ''}${info.fullName}() should be implemented, please provide '${info.functionName || info.fullName}' functionality.`, args); // Allow to pass custom properties to the error. | |
| 709 | + | |
| 710 | + if (Object.keys(args).length) { | |
| 711 | + // eslint-disable-next-line no-console | |
| 712 | + console.error(args); | |
| 713 | + } | |
| 714 | + | |
| 715 | + Error.captureStackTrace(this, ForceMethodImplementation); | |
| 716 | + } | |
| 717 | + | |
| 718 | +} | |
| 719 | + | |
| 720 | +exports.ForceMethodImplementation = ForceMethodImplementation; | |
| 721 | + | |
| 722 | +var _default = args => { | |
| 723 | + const stack = Error().stack, | |
| 724 | + caller = stack.split('\n')[2].trim(), | |
| 725 | + callerName = caller.startsWith('at new') ? 'constructor' : caller.split(' ')[1], | |
| 726 | + info = {}; | |
| 727 | + info.functionName = callerName; | |
| 728 | + info.fullName = callerName; | |
| 729 | + | |
| 730 | + if (info.functionName.includes('.')) { | |
| 731 | + const parts = info.functionName.split('.'); | |
| 732 | + info.className = parts[0]; | |
| 733 | + info.functionName = parts[1]; | |
| 734 | + } else { | |
| 735 | + info.isStatic = true; | |
| 736 | + } | |
| 737 | + | |
| 738 | + throw new ForceMethodImplementation(info, args); | |
| 739 | +}; | |
| 740 | + | |
| 741 | +exports["default"] = _default; | |
| 742 | + | |
| 743 | +/***/ }), | |
| 744 | + | |
| 745 | +/***/ "../assets/dev/js/modules/imports/instance-type.js": | |
| 746 | +/*!*********************************************************!*\ | |
| 747 | + !*** ../assets/dev/js/modules/imports/instance-type.js ***! | |
| 748 | + \*********************************************************/ | |
| 749 | +/***/ ((__unused_webpack_module, exports) => { | |
| 750 | + | |
| 751 | +"use strict"; | |
| 752 | + | |
| 753 | + | |
| 754 | +Object.defineProperty(exports, "__esModule", ({ | |
| 755 | + value: true | |
| 756 | +})); | |
| 757 | +exports["default"] = void 0; | |
| 758 | + | |
| 759 | +class InstanceType { | |
| 760 | + static [Symbol.hasInstance](target) { | |
| 761 | + /** | |
| 762 | + * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class | |
| 763 | + * its give's opportunity to mange capabilities of instanceOf operator. | |
| 764 | + * saving current class each time will give option later to handle instanceOf manually. | |
| 765 | + */ | |
| 766 | + let result = super[Symbol.hasInstance](target); // Act normal when validate a class, which does not have instance type. | |
| 767 | + | |
| 768 | + if (target && !target.constructor.getInstanceType) { | |
| 769 | + return result; | |
| 770 | + } | |
| 771 | + | |
| 772 | + if (target) { | |
| 773 | + if (!target.instanceTypes) { | |
| 774 | + target.instanceTypes = []; | |
| 775 | + } | |
| 776 | + | |
| 777 | + if (!result) { | |
| 778 | + if (this.getInstanceType() === target.constructor.getInstanceType()) { | |
| 779 | + result = true; | |
| 780 | + } | |
| 781 | + } | |
| 782 | + | |
| 783 | + if (result) { | |
| 784 | + const name = this.getInstanceType === InstanceType.getInstanceType ? 'BaseInstanceType' : this.getInstanceType(); | |
| 785 | + | |
| 786 | + if (-1 === target.instanceTypes.indexOf(name)) { | |
| 787 | + target.instanceTypes.push(name); | |
| 788 | + } | |
| 789 | + } | |
| 790 | + } | |
| 791 | + | |
| 792 | + if (!result && target) { | |
| 793 | + // Check if the given 'target', is instance of known types. | |
| 794 | + result = target.instanceTypes && Array.isArray(target.instanceTypes) && -1 !== target.instanceTypes.indexOf(this.getInstanceType()); | |
| 795 | + } | |
| 796 | + | |
| 797 | + return result; | |
| 798 | + } | |
| 799 | + | |
| 800 | + static getInstanceType() { | |
| 801 | + elementorModules.ForceMethodImplementation(); | |
| 802 | + } | |
| 803 | + | |
| 804 | + constructor() { | |
| 805 | + // Since anonymous classes sometimes do not get validated by babel, do it manually. | |
| 806 | + let target = new.target; | |
| 807 | + const prototypes = []; | |
| 808 | + | |
| 809 | + while (target.__proto__ && target.__proto__.name) { | |
| 810 | + prototypes.push(target.__proto__); | |
| 811 | + target = target.__proto__; | |
| 812 | + } | |
| 813 | + | |
| 814 | + prototypes.reverse().forEach(proto => this instanceof proto); | |
| 815 | + } | |
| 816 | + | |
| 817 | +} | |
| 818 | + | |
| 819 | +exports["default"] = InstanceType; | |
| 820 | + | |
| 821 | +/***/ }), | |
| 822 | + | |
| 823 | +/***/ "../assets/dev/js/modules/imports/module.js": | |
| 824 | +/*!**************************************************!*\ | |
| 825 | + !*** ../assets/dev/js/modules/imports/module.js ***! | |
| 826 | + \**************************************************/ | |
| 827 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 828 | + | |
| 829 | +"use strict"; | |
| 830 | + | |
| 831 | + | |
| 832 | +__webpack_require__(/*! core-js/modules/es.error.cause.js */ "../node_modules/core-js/modules/es.error.cause.js"); | |
| 833 | + | |
| 834 | +const Module = function () { | |
| 835 | + const $ = jQuery, | |
| 836 | + instanceParams = arguments, | |
| 837 | + self = this, | |
| 838 | + events = {}; | |
| 839 | + let settings; | |
| 840 | + | |
| 841 | + const ensureClosureMethods = function () { | |
| 842 | + $.each(self, function (methodName) { | |
| 843 | + const oldMethod = self[methodName]; | |
| 844 | + | |
| 845 | + if ('function' !== typeof oldMethod) { | |
| 846 | + return; | |
| 847 | + } | |
| 848 | + | |
| 849 | + self[methodName] = function () { | |
| 850 | + return oldMethod.apply(self, arguments); | |
| 851 | + }; | |
| 852 | + }); | |
| 853 | + }; | |
| 854 | + | |
| 855 | + const initSettings = function () { | |
| 856 | + settings = self.getDefaultSettings(); | |
| 857 | + const instanceSettings = instanceParams[0]; | |
| 858 | + | |
| 859 | + if (instanceSettings) { | |
| 860 | + $.extend(true, settings, instanceSettings); | |
| 861 | + } | |
| 862 | + }; | |
| 863 | + | |
| 864 | + const init = function () { | |
| 865 | + self.__construct.apply(self, instanceParams); | |
| 866 | + | |
| 867 | + ensureClosureMethods(); | |
| 868 | + initSettings(); | |
| 869 | + self.trigger('init'); | |
| 870 | + }; | |
| 871 | + | |
| 872 | + this.getItems = function (items, itemKey) { | |
| 873 | + if (itemKey) { | |
| 874 | + const keyStack = itemKey.split('.'), | |
| 875 | + currentKey = keyStack.splice(0, 1); | |
| 876 | + | |
| 877 | + if (!keyStack.length) { | |
| 878 | + return items[currentKey]; | |
| 879 | + } | |
| 880 | + | |
| 881 | + if (!items[currentKey]) { | |
| 882 | + return; | |
| 883 | + } | |
| 884 | + | |
| 885 | + return this.getItems(items[currentKey], keyStack.join('.')); | |
| 886 | + } | |
| 887 | + | |
| 888 | + return items; | |
| 889 | + }; | |
| 890 | + | |
| 891 | + this.getSettings = function (setting) { | |
| 892 | + return this.getItems(settings, setting); | |
| 893 | + }; | |
| 894 | + | |
| 895 | + this.setSettings = function (settingKey, value, settingsContainer) { | |
| 896 | + if (!settingsContainer) { | |
| 897 | + settingsContainer = settings; | |
| 898 | + } | |
| 899 | + | |
| 900 | + if ('object' === typeof settingKey) { | |
| 901 | + $.extend(settingsContainer, settingKey); | |
| 902 | + return self; | |
| 903 | + } | |
| 904 | + | |
| 905 | + const keyStack = settingKey.split('.'), | |
| 906 | + currentKey = keyStack.splice(0, 1); | |
| 907 | + | |
| 908 | + if (!keyStack.length) { | |
| 909 | + settingsContainer[currentKey] = value; | |
| 910 | + return self; | |
| 911 | + } | |
| 912 | + | |
| 913 | + if (!settingsContainer[currentKey]) { | |
| 914 | + settingsContainer[currentKey] = {}; | |
| 915 | + } | |
| 916 | + | |
| 917 | + return self.setSettings(keyStack.join('.'), value, settingsContainer[currentKey]); | |
| 918 | + }; | |
| 919 | + | |
| 920 | + this.getErrorMessage = function (type, functionName) { | |
| 921 | + let message; | |
| 922 | + | |
| 923 | + switch (type) { | |
| 924 | + case 'forceMethodImplementation': | |
| 925 | + message = `The method '${functionName}' must to be implemented in the inheritor child.`; | |
| 926 | + break; | |
| 927 | + | |
| 928 | + default: | |
| 929 | + message = 'An error occurs'; | |
| 930 | + } | |
| 931 | + | |
| 932 | + return message; | |
| 933 | + }; // TODO: This function should be deleted ?. | |
| 934 | + | |
| 935 | + | |
| 936 | + this.forceMethodImplementation = function (functionName) { | |
| 937 | + throw new Error(this.getErrorMessage('forceMethodImplementation', functionName)); | |
| 938 | + }; | |
| 939 | + | |
| 940 | + this.on = function (eventName, callback) { | |
| 941 | + if ('object' === typeof eventName) { | |
| 942 | + $.each(eventName, function (singleEventName) { | |
| 943 | + self.on(singleEventName, this); | |
| 944 | + }); | |
| 945 | + return self; | |
| 946 | + } | |
| 947 | + | |
| 948 | + const eventNames = eventName.split(' '); | |
| 949 | + eventNames.forEach(function (singleEventName) { | |
| 950 | + if (!events[singleEventName]) { | |
| 951 | + events[singleEventName] = []; | |
| 952 | + } | |
| 953 | + | |
| 954 | + events[singleEventName].push(callback); | |
| 955 | + }); | |
| 956 | + return self; | |
| 957 | + }; | |
| 958 | + | |
| 959 | + this.off = function (eventName, callback) { | |
| 960 | + if (!events[eventName]) { | |
| 961 | + return self; | |
| 962 | + } | |
| 963 | + | |
| 964 | + if (!callback) { | |
| 965 | + delete events[eventName]; | |
| 966 | + return self; | |
| 967 | + } | |
| 968 | + | |
| 969 | + const callbackIndex = events[eventName].indexOf(callback); | |
| 970 | + | |
| 971 | + if (-1 !== callbackIndex) { | |
| 972 | + delete events[eventName][callbackIndex]; // Reset array index (for next off on same event). | |
| 973 | + | |
| 974 | + events[eventName] = events[eventName].filter(val => val); | |
| 975 | + } | |
| 976 | + | |
| 977 | + return self; | |
| 978 | + }; | |
| 979 | + | |
| 980 | + this.trigger = function (eventName) { | |
| 981 | + const methodName = 'on' + eventName[0].toUpperCase() + eventName.slice(1), | |
| 982 | + params = Array.prototype.slice.call(arguments, 1); | |
| 983 | + | |
| 984 | + if (self[methodName]) { | |
| 985 | + self[methodName].apply(self, params); | |
| 986 | + } | |
| 987 | + | |
| 988 | + const callbacks = events[eventName]; | |
| 989 | + | |
| 990 | + if (!callbacks) { | |
| 991 | + return self; | |
| 992 | + } | |
| 993 | + | |
| 994 | + $.each(callbacks, function (index, callback) { | |
| 995 | + callback.apply(self, params); | |
| 996 | + }); | |
| 997 | + return self; | |
| 998 | + }; | |
| 999 | + | |
| 1000 | + init(); | |
| 1001 | +}; | |
| 1002 | + | |
| 1003 | +Module.prototype.__construct = function () {}; | |
| 1004 | + | |
| 1005 | +Module.prototype.getDefaultSettings = function () { | |
| 1006 | + return {}; | |
| 1007 | +}; | |
| 1008 | + | |
| 1009 | +Module.prototype.getConstructorID = function () { | |
| 1010 | + return this.constructor.name; | |
| 1011 | +}; | |
| 1012 | + | |
| 1013 | +Module.extend = function (properties) { | |
| 1014 | + const $ = jQuery, | |
| 1015 | + parent = this; | |
| 1016 | + | |
| 1017 | + const child = function () { | |
| 1018 | + return parent.apply(this, arguments); | |
| 1019 | + }; | |
| 1020 | + | |
| 1021 | + $.extend(child, parent); | |
| 1022 | + child.prototype = Object.create($.extend({}, parent.prototype, properties)); | |
| 1023 | + child.prototype.constructor = child; | |
| 1024 | + child.__super__ = parent.prototype; | |
| 1025 | + return child; | |
| 1026 | +}; | |
| 1027 | + | |
| 1028 | +module.exports = Module; | |
| 1029 | + | |
| 1030 | +/***/ }), | |
| 1031 | + | |
| 1032 | +/***/ "../assets/dev/js/modules/imports/utils/masonry.js": | |
| 1033 | +/*!*********************************************************!*\ | |
| 1034 | + !*** ../assets/dev/js/modules/imports/utils/masonry.js ***! | |
| 1035 | + \*********************************************************/ | |
| 1036 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1037 | + | |
| 1038 | +"use strict"; | |
| 1039 | + | |
| 1040 | + | |
| 1041 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1042 | + | |
| 1043 | +Object.defineProperty(exports, "__esModule", ({ | |
| 1044 | + value: true | |
| 1045 | +})); | |
| 1046 | +exports["default"] = void 0; | |
| 1047 | + | |
| 1048 | +var _viewModule = _interopRequireDefault(__webpack_require__(/*! ../view-module */ "../assets/dev/js/modules/imports/view-module.js")); | |
| 1049 | + | |
| 1050 | +var _default = _viewModule.default.extend({ | |
| 1051 | + getDefaultSettings() { | |
| 1052 | + return { | |
| 1053 | + container: null, | |
| 1054 | + items: null, | |
| 1055 | + columnsCount: 3, | |
| 1056 | + verticalSpaceBetween: 30 | |
| 1057 | + }; | |
| 1058 | + }, | |
| 1059 | + | |
| 1060 | + getDefaultElements() { | |
| 1061 | + return { | |
| 1062 | + $container: jQuery(this.getSettings('container')), | |
| 1063 | + $items: jQuery(this.getSettings('items')) | |
| 1064 | + }; | |
| 1065 | + }, | |
| 1066 | + | |
| 1067 | + run() { | |
| 1068 | + var heights = [], | |
| 1069 | + distanceFromTop = this.elements.$container.position().top, | |
| 1070 | + settings = this.getSettings(), | |
| 1071 | + columnsCount = settings.columnsCount; | |
| 1072 | + distanceFromTop += parseInt(this.elements.$container.css('margin-top'), 10); | |
| 1073 | + this.elements.$items.each(function (index) { | |
| 1074 | + var row = Math.floor(index / columnsCount), | |
| 1075 | + $item = jQuery(this), | |
| 1076 | + itemHeight = $item[0].getBoundingClientRect().height + settings.verticalSpaceBetween; | |
| 1077 | + | |
| 1078 | + if (row) { | |
| 1079 | + var itemPosition = $item.position(), | |
| 1080 | + indexAtRow = index % columnsCount, | |
| 1081 | + pullHeight = itemPosition.top - distanceFromTop - heights[indexAtRow]; | |
| 1082 | + pullHeight -= parseInt($item.css('margin-top'), 10); | |
| 1083 | + pullHeight *= -1; | |
| 1084 | + $item.css('margin-top', pullHeight + 'px'); | |
| 1085 | + heights[indexAtRow] += itemHeight; | |
| 1086 | + } else { | |
| 1087 | + heights.push(itemHeight); | |
| 1088 | + } | |
| 1089 | + }); | |
| 1090 | + } | |
| 1091 | + | |
| 1092 | +}); | |
| 1093 | + | |
| 1094 | +exports["default"] = _default; | |
| 1095 | + | |
| 1096 | +/***/ }), | |
| 1097 | + | |
| 1098 | +/***/ "../assets/dev/js/modules/imports/utils/scroll.js": | |
| 1099 | +/*!********************************************************!*\ | |
| 1100 | + !*** ../assets/dev/js/modules/imports/utils/scroll.js ***! | |
| 1101 | + \********************************************************/ | |
| 1102 | +/***/ ((__unused_webpack_module, exports) => { | |
| 1103 | + | |
| 1104 | +"use strict"; | |
| 1105 | + | |
| 1106 | + | |
| 1107 | +Object.defineProperty(exports, "__esModule", ({ | |
| 1108 | + value: true | |
| 1109 | +})); | |
| 1110 | +exports["default"] = void 0; | |
| 1111 | + | |
| 1112 | +// Moved from elementor pro: 'assets/dev/js/frontend/utils' | |
| 1113 | +class Scroll { | |
| 1114 | + /** | |
| 1115 | + * @param {Object} obj | |
| 1116 | + * @param {number} obj.sensitivity - Value between 0-100 - Will determine the intersection trigger points on the element | |
| 1117 | + * @param {Function} obj.callback - Will be triggered on each intersection point between the element and the viewport top/bottom | |
| 1118 | + * @param {string} obj.offset - Offset between the element intersection points and the viewport, written like in CSS: '-50% 0 -25%' | |
| 1119 | + * @param {HTMLElement} obj.root - The element that the events will be relative to, if 'null' will be relative to the viewport | |
| 1120 | + */ | |
| 1121 | + static scrollObserver(obj) { | |
| 1122 | + let lastScrollY = 0; // Generating threshholds points along the animation height | |
| 1123 | + // More threshholds points = more trigger points of the callback | |
| 1124 | + | |
| 1125 | + const buildThreshholds = function () { | |
| 1126 | + let sensitivityPercentage = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; | |
| 1127 | + const threshholds = []; | |
| 1128 | + | |
| 1129 | + if (sensitivityPercentage > 0 && sensitivityPercentage <= 100) { | |
| 1130 | + const increment = 100 / sensitivityPercentage; | |
| 1131 | + | |
| 1132 | + for (let i = 0; i <= 100; i += increment) { | |
| 1133 | + threshholds.push(i / 100); | |
| 1134 | + } | |
| 1135 | + } else { | |
| 1136 | + threshholds.push(0); | |
| 1137 | + } | |
| 1138 | + | |
| 1139 | + return threshholds; | |
| 1140 | + }; | |
| 1141 | + | |
| 1142 | + const options = { | |
| 1143 | + root: obj.root || null, | |
| 1144 | + rootMargin: obj.offset || '0px', | |
| 1145 | + threshold: buildThreshholds(obj.sensitivity) | |
| 1146 | + }; | |
| 1147 | + | |
| 1148 | + function handleIntersect(entries) { | |
| 1149 | + const currentScrollY = entries[0].boundingClientRect.y, | |
| 1150 | + isInViewport = entries[0].isIntersecting, | |
| 1151 | + intersectionScrollDirection = currentScrollY < lastScrollY ? 'down' : 'up', | |
| 1152 | + scrollPercentage = Math.abs(parseFloat((entries[0].intersectionRatio * 100).toFixed(2))); | |
| 1153 | + obj.callback({ | |
| 1154 | + sensitivity: obj.sensitivity, | |
| 1155 | + isInViewport, | |
| 1156 | + scrollPercentage, | |
| 1157 | + intersectionScrollDirection | |
| 1158 | + }); | |
| 1159 | + lastScrollY = currentScrollY; | |
| 1160 | + } | |
| 1161 | + | |
| 1162 | + return new IntersectionObserver(handleIntersect, options); | |
| 1163 | + } | |
| 1164 | + /** | |
| 1165 | + * @param {jQuery.Element} $element | |
| 1166 | + * @param {Object} offsetObj | |
| 1167 | + * @param {number} offsetObj.start - Offset start value in percentages | |
| 1168 | + * @param {number} offsetObj.end - Offset end value in percentages | |
| 1169 | + */ | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + static getElementViewportPercentage($element) { | |
| 1173 | + let offsetObj = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | |
| 1174 | + const elementOffset = $element[0].getBoundingClientRect(), | |
| 1175 | + offsetStart = offsetObj.start || 0, | |
| 1176 | + offsetEnd = offsetObj.end || 0, | |
| 1177 | + windowStartOffset = window.innerHeight * offsetStart / 100, | |
| 1178 | + windowEndOffset = window.innerHeight * offsetEnd / 100, | |
| 1179 | + y1 = elementOffset.top - window.innerHeight, | |
| 1180 | + y2 = elementOffset.top + windowStartOffset + $element.height(), | |
| 1181 | + startPosition = 0 - y1 + windowStartOffset, | |
| 1182 | + endPosition = y2 - y1 + windowEndOffset, | |
| 1183 | + percent = Math.max(0, Math.min(startPosition / endPosition, 1)); | |
| 1184 | + return parseFloat((percent * 100).toFixed(2)); | |
| 1185 | + } | |
| 1186 | + /** | |
| 1187 | + * @param {Object} offsetObj | |
| 1188 | + * @param {number} offsetObj.start - Offset start value in percentages | |
| 1189 | + * @param {number} offsetObj.end - Offset end value in percentages | |
| 1190 | + * @param {number} limitPageHeight - Will limit the page height calculation | |
| 1191 | + */ | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + static getPageScrollPercentage() { | |
| 1195 | + let offsetObj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 1196 | + let limitPageHeight = arguments.length > 1 ? arguments[1] : undefined; | |
| 1197 | + const offsetStart = offsetObj.start || 0, | |
| 1198 | + offsetEnd = offsetObj.end || 0, | |
| 1199 | + initialPageHeight = limitPageHeight || document.documentElement.scrollHeight - document.documentElement.clientHeight, | |
| 1200 | + heightOffset = initialPageHeight * offsetStart / 100, | |
| 1201 | + pageRange = initialPageHeight + heightOffset + initialPageHeight * offsetEnd / 100, | |
| 1202 | + scrollPos = document.documentElement.scrollTop + document.body.scrollTop + heightOffset; | |
| 1203 | + return scrollPos / pageRange * 100; | |
| 1204 | + } | |
| 1205 | + | |
| 1206 | +} | |
| 1207 | + | |
| 1208 | +exports["default"] = Scroll; | |
| 1209 | + | |
| 1210 | +/***/ }), | |
| 1211 | + | |
| 1212 | +/***/ "../assets/dev/js/modules/imports/view-module.js": | |
| 1213 | +/*!*******************************************************!*\ | |
| 1214 | + !*** ../assets/dev/js/modules/imports/view-module.js ***! | |
| 1215 | + \*******************************************************/ | |
| 1216 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1217 | + | |
| 1218 | +"use strict"; | |
| 1219 | + | |
| 1220 | + | |
| 1221 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1222 | + | |
| 1223 | +Object.defineProperty(exports, "__esModule", ({ | |
| 1224 | + value: true | |
| 1225 | +})); | |
| 1226 | +exports["default"] = void 0; | |
| 1227 | + | |
| 1228 | +var _module = _interopRequireDefault(__webpack_require__(/*! ./module */ "../assets/dev/js/modules/imports/module.js")); | |
| 1229 | + | |
| 1230 | +var _default = _module.default.extend({ | |
| 1231 | + elements: null, | |
| 1232 | + | |
| 1233 | + getDefaultElements() { | |
| 1234 | + return {}; | |
| 1235 | + }, | |
| 1236 | + | |
| 1237 | + bindEvents() {}, | |
| 1238 | + | |
| 1239 | + onInit() { | |
| 1240 | + this.initElements(); | |
| 1241 | + this.bindEvents(); | |
| 1242 | + }, | |
| 1243 | + | |
| 1244 | + initElements() { | |
| 1245 | + this.elements = this.getDefaultElements(); | |
| 1246 | + } | |
| 1247 | + | |
| 1248 | +}); | |
| 1249 | + | |
| 1250 | +exports["default"] = _default; | |
| 1251 | + | |
| 1252 | +/***/ }), | |
| 1253 | + | |
| 1254 | +/***/ "../assets/dev/js/modules/modules.js": | |
| 1255 | +/*!*******************************************!*\ | |
| 1256 | + !*** ../assets/dev/js/modules/modules.js ***! | |
| 1257 | + \*******************************************/ | |
| 1258 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1259 | + | |
| 1260 | +"use strict"; | |
| 1261 | + | |
| 1262 | + | |
| 1263 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1264 | + | |
| 1265 | +Object.defineProperty(exports, "__esModule", ({ | |
| 1266 | + value: true | |
| 1267 | +})); | |
| 1268 | +exports["default"] = void 0; | |
| 1269 | + | |
| 1270 | +var _module = _interopRequireDefault(__webpack_require__(/*! ./imports/module */ "../assets/dev/js/modules/imports/module.js")); | |
| 1271 | + | |
| 1272 | +var _viewModule = _interopRequireDefault(__webpack_require__(/*! ./imports/view-module */ "../assets/dev/js/modules/imports/view-module.js")); | |
| 1273 | + | |
| 1274 | +var _argsObject = _interopRequireDefault(__webpack_require__(/*! ./imports/args-object */ "../assets/dev/js/modules/imports/args-object.js")); | |
| 1275 | + | |
| 1276 | +var _masonry = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/masonry */ "../assets/dev/js/modules/imports/utils/masonry.js")); | |
| 1277 | + | |
| 1278 | +var _scroll = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/scroll */ "../assets/dev/js/modules/imports/utils/scroll.js")); | |
| 1279 | + | |
| 1280 | +var _forceMethodImplementation = _interopRequireDefault(__webpack_require__(/*! ./imports/force-method-implementation */ "../assets/dev/js/modules/imports/force-method-implementation.js")); | |
| 1281 | + | |
| 1282 | +var _default = window.elementorModules = { | |
| 1283 | + Module: _module.default, | |
| 1284 | + ViewModule: _viewModule.default, | |
| 1285 | + ArgsObject: _argsObject.default, | |
| 1286 | + ForceMethodImplementation: _forceMethodImplementation.default, | |
| 1287 | + utils: { | |
| 1288 | + Masonry: _masonry.default, | |
| 1289 | + Scroll: _scroll.default | |
| 1290 | + } | |
| 1291 | +}; | |
| 1292 | + | |
| 1293 | +exports["default"] = _default; | |
| 1294 | + | |
| 1295 | +/***/ }), | |
| 1296 | + | |
| 1297 | +/***/ "../node_modules/core-js/internals/a-callable.js": | |
| 1298 | +/*!*******************************************************!*\ | |
| 1299 | + !*** ../node_modules/core-js/internals/a-callable.js ***! | |
| 1300 | + \*******************************************************/ | |
| 1301 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1302 | + | |
| 1303 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 1304 | +var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../node_modules/core-js/internals/try-to-string.js"); | |
| 1305 | + | |
| 1306 | +var $TypeError = TypeError; | |
| 1307 | + | |
| 1308 | +// `Assert: IsCallable(argument) is true` | |
| 1309 | +module.exports = function (argument) { | |
| 1310 | + if (isCallable(argument)) return argument; | |
| 1311 | + throw $TypeError(tryToString(argument) + ' is not a function'); | |
| 1312 | +}; | |
| 1313 | + | |
| 1314 | + | |
| 1315 | +/***/ }), | |
| 1316 | + | |
| 1317 | +/***/ "../node_modules/core-js/internals/a-possible-prototype.js": | |
| 1318 | +/*!*****************************************************************!*\ | |
| 1319 | + !*** ../node_modules/core-js/internals/a-possible-prototype.js ***! | |
| 1320 | + \*****************************************************************/ | |
| 1321 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1322 | + | |
| 1323 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 1324 | + | |
| 1325 | +var $String = String; | |
| 1326 | +var $TypeError = TypeError; | |
| 1327 | + | |
| 1328 | +module.exports = function (argument) { | |
| 1329 | + if (typeof argument == 'object' || isCallable(argument)) return argument; | |
| 1330 | + throw $TypeError("Can't set " + $String(argument) + ' as a prototype'); | |
| 1331 | +}; | |
| 1332 | + | |
| 1333 | + | |
| 1334 | +/***/ }), | |
| 1335 | + | |
| 1336 | +/***/ "../node_modules/core-js/internals/add-to-unscopables.js": | |
| 1337 | +/*!***************************************************************!*\ | |
| 1338 | + !*** ../node_modules/core-js/internals/add-to-unscopables.js ***! | |
| 1339 | + \***************************************************************/ | |
| 1340 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1341 | + | |
| 1342 | +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); | |
| 1343 | +var create = __webpack_require__(/*! ../internals/object-create */ "../node_modules/core-js/internals/object-create.js"); | |
| 1344 | +var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js").f); | |
| 1345 | + | |
| 1346 | +var UNSCOPABLES = wellKnownSymbol('unscopables'); | |
| 1347 | +var ArrayPrototype = Array.prototype; | |
| 1348 | + | |
| 1349 | +// Array.prototype[@@unscopables] | |
| 1350 | +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables | |
| 1351 | +if (ArrayPrototype[UNSCOPABLES] == undefined) { | |
| 1352 | + defineProperty(ArrayPrototype, UNSCOPABLES, { | |
| 1353 | + configurable: true, | |
| 1354 | + value: create(null) | |
| 1355 | + }); | |
| 1356 | +} | |
| 1357 | + | |
| 1358 | +// add a key to Array.prototype[@@unscopables] | |
| 1359 | +module.exports = function (key) { | |
| 1360 | + ArrayPrototype[UNSCOPABLES][key] = true; | |
| 1361 | +}; | |
| 1362 | + | |
| 1363 | + | |
| 1364 | +/***/ }), | |
| 1365 | + | |
| 1366 | +/***/ "../node_modules/core-js/internals/an-object.js": | |
| 1367 | +/*!******************************************************!*\ | |
| 1368 | + !*** ../node_modules/core-js/internals/an-object.js ***! | |
| 1369 | + \******************************************************/ | |
| 1370 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1371 | + | |
| 1372 | +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); | |
| 1373 | + | |
| 1374 | +var $String = String; | |
| 1375 | +var $TypeError = TypeError; | |
| 1376 | + | |
| 1377 | +// `Assert: Type(argument) is Object` | |
| 1378 | +module.exports = function (argument) { | |
| 1379 | + if (isObject(argument)) return argument; | |
| 1380 | + throw $TypeError($String(argument) + ' is not an object'); | |
| 1381 | +}; | |
| 1382 | + | |
| 1383 | + | |
| 1384 | +/***/ }), | |
| 1385 | + | |
| 1386 | +/***/ "../node_modules/core-js/internals/array-includes.js": | |
| 1387 | +/*!***********************************************************!*\ | |
| 1388 | + !*** ../node_modules/core-js/internals/array-includes.js ***! | |
| 1389 | + \***********************************************************/ | |
| 1390 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1391 | + | |
| 1392 | +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js"); | |
| 1393 | +var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "../node_modules/core-js/internals/to-absolute-index.js"); | |
| 1394 | +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "../node_modules/core-js/internals/length-of-array-like.js"); | |
| 1395 | + | |
| 1396 | +// `Array.prototype.{ indexOf, includes }` methods implementation | |
| 1397 | +var createMethod = function (IS_INCLUDES) { | |
| 1398 | + return function ($this, el, fromIndex) { | |
| 1399 | + var O = toIndexedObject($this); | |
| 1400 | + var length = lengthOfArrayLike(O); | |
| 1401 | + var index = toAbsoluteIndex(fromIndex, length); | |
| 1402 | + var value; | |
| 1403 | + // Array#includes uses SameValueZero equality algorithm | |
| 1404 | + // eslint-disable-next-line no-self-compare -- NaN check | |
| 1405 | + if (IS_INCLUDES && el != el) while (length > index) { | |
| 1406 | + value = O[index++]; | |
| 1407 | + // eslint-disable-next-line no-self-compare -- NaN check | |
| 1408 | + if (value != value) return true; | |
| 1409 | + // Array#indexOf ignores holes, Array#includes - not | |
| 1410 | + } else for (;length > index; index++) { | |
| 1411 | + if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; | |
| 1412 | + } return !IS_INCLUDES && -1; | |
| 1413 | + }; | |
| 1414 | +}; | |
| 1415 | + | |
| 1416 | +module.exports = { | |
| 1417 | + // `Array.prototype.includes` method | |
| 1418 | + // https://tc39.es/ecma262/#sec-array.prototype.includes | |
| 1419 | + includes: createMethod(true), | |
| 1420 | + // `Array.prototype.indexOf` method | |
| 1421 | + // https://tc39.es/ecma262/#sec-array.prototype.indexof | |
| 1422 | + indexOf: createMethod(false) | |
| 1423 | +}; | |
| 1424 | + | |
| 1425 | + | |
| 1426 | +/***/ }), | |
| 1427 | + | |
| 1428 | +/***/ "../node_modules/core-js/internals/classof-raw.js": | |
| 1429 | +/*!********************************************************!*\ | |
| 1430 | + !*** ../node_modules/core-js/internals/classof-raw.js ***! | |
| 1431 | + \********************************************************/ | |
| 1432 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1433 | + | |
| 1434 | +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); | |
| 1435 | + | |
| 1436 | +var toString = uncurryThis({}.toString); | |
| 1437 | +var stringSlice = uncurryThis(''.slice); | |
| 1438 | + | |
| 1439 | +module.exports = function (it) { | |
| 1440 | + return stringSlice(toString(it), 8, -1); | |
| 1441 | +}; | |
| 1442 | + | |
| 1443 | + | |
| 1444 | +/***/ }), | |
| 1445 | + | |
| 1446 | +/***/ "../node_modules/core-js/internals/classof.js": | |
| 1447 | +/*!****************************************************!*\ | |
| 1448 | + !*** ../node_modules/core-js/internals/classof.js ***! | |
| 1449 | + \****************************************************/ | |
| 1450 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1451 | + | |
| 1452 | +var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "../node_modules/core-js/internals/to-string-tag-support.js"); | |
| 1453 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 1454 | +var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js"); | |
| 1455 | +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); | |
| 1456 | + | |
| 1457 | +var TO_STRING_TAG = wellKnownSymbol('toStringTag'); | |
| 1458 | +var $Object = Object; | |
| 1459 | + | |
| 1460 | +// ES3 wrong here | |
| 1461 | +var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; | |
| 1462 | + | |
| 1463 | +// fallback for IE11 Script Access Denied error | |
| 1464 | +var tryGet = function (it, key) { | |
| 1465 | + try { | |
| 1466 | + return it[key]; | |
| 1467 | + } catch (error) { /* empty */ } | |
| 1468 | +}; | |
| 1469 | + | |
| 1470 | +// getting tag from ES6+ `Object.prototype.toString` | |
| 1471 | +module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { | |
| 1472 | + var O, tag, result; | |
| 1473 | + return it === undefined ? 'Undefined' : it === null ? 'Null' | |
| 1474 | + // @@toStringTag case | |
| 1475 | + : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag | |
| 1476 | + // builtinTag case | |
| 1477 | + : CORRECT_ARGUMENTS ? classofRaw(O) | |
| 1478 | + // ES3 arguments fallback | |
| 1479 | + : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result; | |
| 1480 | +}; | |
| 1481 | + | |
| 1482 | + | |
| 1483 | +/***/ }), | |
| 1484 | + | |
| 1485 | +/***/ "../node_modules/core-js/internals/clear-error-stack.js": | |
| 1486 | +/*!**************************************************************!*\ | |
| 1487 | + !*** ../node_modules/core-js/internals/clear-error-stack.js ***! | |
| 1488 | + \**************************************************************/ | |
| 1489 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1490 | + | |
| 1491 | +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); | |
| 1492 | + | |
| 1493 | +var $Error = Error; | |
| 1494 | +var replace = uncurryThis(''.replace); | |
| 1495 | + | |
| 1496 | +var TEST = (function (arg) { return String($Error(arg).stack); })('zxcasd'); | |
| 1497 | +var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/; | |
| 1498 | +var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST); | |
| 1499 | + | |
| 1500 | +module.exports = function (stack, dropEntries) { | |
| 1501 | + if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) { | |
| 1502 | + while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, ''); | |
| 1503 | + } return stack; | |
| 1504 | +}; | |
| 1505 | + | |
| 1506 | + | |
| 1507 | +/***/ }), | |
| 1508 | + | |
| 1509 | +/***/ "../node_modules/core-js/internals/copy-constructor-properties.js": | |
| 1510 | +/*!************************************************************************!*\ | |
| 1511 | + !*** ../node_modules/core-js/internals/copy-constructor-properties.js ***! | |
| 1512 | + \************************************************************************/ | |
| 1513 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1514 | + | |
| 1515 | +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); | |
| 1516 | +var ownKeys = __webpack_require__(/*! ../internals/own-keys */ "../node_modules/core-js/internals/own-keys.js"); | |
| 1517 | +var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../node_modules/core-js/internals/object-get-own-property-descriptor.js"); | |
| 1518 | +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js"); | |
| 1519 | + | |
| 1520 | +module.exports = function (target, source, exceptions) { | |
| 1521 | + var keys = ownKeys(source); | |
| 1522 | + var defineProperty = definePropertyModule.f; | |
| 1523 | + var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; | |
| 1524 | + for (var i = 0; i < keys.length; i++) { | |
| 1525 | + var key = keys[i]; | |
| 1526 | + if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) { | |
| 1527 | + defineProperty(target, key, getOwnPropertyDescriptor(source, key)); | |
| 1528 | + } | |
| 1529 | + } | |
| 1530 | +}; | |
| 1531 | + | |
| 1532 | + | |
| 1533 | +/***/ }), | |
| 1534 | + | |
| 1535 | +/***/ "../node_modules/core-js/internals/create-non-enumerable-property.js": | |
| 1536 | +/*!***************************************************************************!*\ | |
| 1537 | + !*** ../node_modules/core-js/internals/create-non-enumerable-property.js ***! | |
| 1538 | + \***************************************************************************/ | |
| 1539 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1540 | + | |
| 1541 | +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); | |
| 1542 | +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js"); | |
| 1543 | +var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js"); | |
| 1544 | + | |
| 1545 | +module.exports = DESCRIPTORS ? function (object, key, value) { | |
| 1546 | + return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); | |
| 1547 | +} : function (object, key, value) { | |
| 1548 | + object[key] = value; | |
| 1549 | + return object; | |
| 1550 | +}; | |
| 1551 | + | |
| 1552 | + | |
| 1553 | +/***/ }), | |
| 1554 | + | |
| 1555 | +/***/ "../node_modules/core-js/internals/create-property-descriptor.js": | |
| 1556 | +/*!***********************************************************************!*\ | |
| 1557 | + !*** ../node_modules/core-js/internals/create-property-descriptor.js ***! | |
| 1558 | + \***********************************************************************/ | |
| 1559 | +/***/ ((module) => { | |
| 1560 | + | |
| 1561 | +module.exports = function (bitmap, value) { | |
| 1562 | + return { | |
| 1563 | + enumerable: !(bitmap & 1), | |
| 1564 | + configurable: !(bitmap & 2), | |
| 1565 | + writable: !(bitmap & 4), | |
| 1566 | + value: value | |
| 1567 | + }; | |
| 1568 | +}; | |
| 1569 | + | |
| 1570 | + | |
| 1571 | +/***/ }), | |
| 1572 | + | |
| 1573 | +/***/ "../node_modules/core-js/internals/define-built-in.js": | |
| 1574 | +/*!************************************************************!*\ | |
| 1575 | + !*** ../node_modules/core-js/internals/define-built-in.js ***! | |
| 1576 | + \************************************************************/ | |
| 1577 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1578 | + | |
| 1579 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 1580 | +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js"); | |
| 1581 | +var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ "../node_modules/core-js/internals/make-built-in.js"); | |
| 1582 | +var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js"); | |
| 1583 | + | |
| 1584 | +module.exports = function (O, key, value, options) { | |
| 1585 | + if (!options) options = {}; | |
| 1586 | + var simple = options.enumerable; | |
| 1587 | + var name = options.name !== undefined ? options.name : key; | |
| 1588 | + if (isCallable(value)) makeBuiltIn(value, name, options); | |
| 1589 | + if (options.global) { | |
| 1590 | + if (simple) O[key] = value; | |
| 1591 | + else defineGlobalProperty(key, value); | |
| 1592 | + } else { | |
| 1593 | + try { | |
| 1594 | + if (!options.unsafe) delete O[key]; | |
| 1595 | + else if (O[key]) simple = true; | |
| 1596 | + } catch (error) { /* empty */ } | |
| 1597 | + if (simple) O[key] = value; | |
| 1598 | + else definePropertyModule.f(O, key, { | |
| 1599 | + value: value, | |
| 1600 | + enumerable: false, | |
| 1601 | + configurable: !options.nonConfigurable, | |
| 1602 | + writable: !options.nonWritable | |
| 1603 | + }); | |
| 1604 | + } return O; | |
| 1605 | +}; | |
| 1606 | + | |
| 1607 | + | |
| 1608 | +/***/ }), | |
| 1609 | + | |
| 1610 | +/***/ "../node_modules/core-js/internals/define-global-property.js": | |
| 1611 | +/*!*******************************************************************!*\ | |
| 1612 | + !*** ../node_modules/core-js/internals/define-global-property.js ***! | |
| 1613 | + \*******************************************************************/ | |
| 1614 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1615 | + | |
| 1616 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 1617 | + | |
| 1618 | +// eslint-disable-next-line es-x/no-object-defineproperty -- safe | |
| 1619 | +var defineProperty = Object.defineProperty; | |
| 1620 | + | |
| 1621 | +module.exports = function (key, value) { | |
| 1622 | + try { | |
| 1623 | + defineProperty(global, key, { value: value, configurable: true, writable: true }); | |
| 1624 | + } catch (error) { | |
| 1625 | + global[key] = value; | |
| 1626 | + } return value; | |
| 1627 | +}; | |
| 1628 | + | |
| 1629 | + | |
| 1630 | +/***/ }), | |
| 1631 | + | |
| 1632 | +/***/ "../node_modules/core-js/internals/descriptors.js": | |
| 1633 | +/*!********************************************************!*\ | |
| 1634 | + !*** ../node_modules/core-js/internals/descriptors.js ***! | |
| 1635 | + \********************************************************/ | |
| 1636 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1637 | + | |
| 1638 | +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 1639 | + | |
| 1640 | +// Detect IE8's incomplete defineProperty implementation | |
| 1641 | +module.exports = !fails(function () { | |
| 1642 | + // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing | |
| 1643 | + return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; | |
| 1644 | +}); | |
| 1645 | + | |
| 1646 | + | |
| 1647 | +/***/ }), | |
| 1648 | + | |
| 1649 | +/***/ "../node_modules/core-js/internals/document-create-element.js": | |
| 1650 | +/*!********************************************************************!*\ | |
| 1651 | + !*** ../node_modules/core-js/internals/document-create-element.js ***! | |
| 1652 | + \********************************************************************/ | |
| 1653 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1654 | + | |
| 1655 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 1656 | +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); | |
| 1657 | + | |
| 1658 | +var document = global.document; | |
| 1659 | +// typeof document.createElement is 'object' in old IE | |
| 1660 | +var EXISTS = isObject(document) && isObject(document.createElement); | |
| 1661 | + | |
| 1662 | +module.exports = function (it) { | |
| 1663 | + return EXISTS ? document.createElement(it) : {}; | |
| 1664 | +}; | |
| 1665 | + | |
| 1666 | + | |
| 1667 | +/***/ }), | |
| 1668 | + | |
| 1669 | +/***/ "../node_modules/core-js/internals/engine-user-agent.js": | |
| 1670 | +/*!**************************************************************!*\ | |
| 1671 | + !*** ../node_modules/core-js/internals/engine-user-agent.js ***! | |
| 1672 | + \**************************************************************/ | |
| 1673 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1674 | + | |
| 1675 | +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js"); | |
| 1676 | + | |
| 1677 | +module.exports = getBuiltIn('navigator', 'userAgent') || ''; | |
| 1678 | + | |
| 1679 | + | |
| 1680 | +/***/ }), | |
| 1681 | + | |
| 1682 | +/***/ "../node_modules/core-js/internals/engine-v8-version.js": | |
| 1683 | +/*!**************************************************************!*\ | |
| 1684 | + !*** ../node_modules/core-js/internals/engine-v8-version.js ***! | |
| 1685 | + \**************************************************************/ | |
| 1686 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1687 | + | |
| 1688 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 1689 | +var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ "../node_modules/core-js/internals/engine-user-agent.js"); | |
| 1690 | + | |
| 1691 | +var process = global.process; | |
| 1692 | +var Deno = global.Deno; | |
| 1693 | +var versions = process && process.versions || Deno && Deno.version; | |
| 1694 | +var v8 = versions && versions.v8; | |
| 1695 | +var match, version; | |
| 1696 | + | |
| 1697 | +if (v8) { | |
| 1698 | + match = v8.split('.'); | |
| 1699 | + // in old Chrome, versions of V8 isn't V8 = Chrome / 10 | |
| 1700 | + // but their correct versions are not interesting for us | |
| 1701 | + version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); | |
| 1702 | +} | |
| 1703 | + | |
| 1704 | +// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0` | |
| 1705 | +// so check `userAgent` even if `.v8` exists, but 0 | |
| 1706 | +if (!version && userAgent) { | |
| 1707 | + match = userAgent.match(/Edge\/(\d+)/); | |
| 1708 | + if (!match || match[1] >= 74) { | |
| 1709 | + match = userAgent.match(/Chrome\/(\d+)/); | |
| 1710 | + if (match) version = +match[1]; | |
| 1711 | + } | |
| 1712 | +} | |
| 1713 | + | |
| 1714 | +module.exports = version; | |
| 1715 | + | |
| 1716 | + | |
| 1717 | +/***/ }), | |
| 1718 | + | |
| 1719 | +/***/ "../node_modules/core-js/internals/enum-bug-keys.js": | |
| 1720 | +/*!**********************************************************!*\ | |
| 1721 | + !*** ../node_modules/core-js/internals/enum-bug-keys.js ***! | |
| 1722 | + \**********************************************************/ | |
| 1723 | +/***/ ((module) => { | |
| 1724 | + | |
| 1725 | +// IE8- don't enum bug keys | |
| 1726 | +module.exports = [ | |
| 1727 | + 'constructor', | |
| 1728 | + 'hasOwnProperty', | |
| 1729 | + 'isPrototypeOf', | |
| 1730 | + 'propertyIsEnumerable', | |
| 1731 | + 'toLocaleString', | |
| 1732 | + 'toString', | |
| 1733 | + 'valueOf' | |
| 1734 | +]; | |
| 1735 | + | |
| 1736 | + | |
| 1737 | +/***/ }), | |
| 1738 | + | |
| 1739 | +/***/ "../node_modules/core-js/internals/error-stack-installable.js": | |
| 1740 | +/*!********************************************************************!*\ | |
| 1741 | + !*** ../node_modules/core-js/internals/error-stack-installable.js ***! | |
| 1742 | + \********************************************************************/ | |
| 1743 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1744 | + | |
| 1745 | +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 1746 | +var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js"); | |
| 1747 | + | |
| 1748 | +module.exports = !fails(function () { | |
| 1749 | + var error = Error('a'); | |
| 1750 | + if (!('stack' in error)) return true; | |
| 1751 | + // eslint-disable-next-line es-x/no-object-defineproperty -- safe | |
| 1752 | + Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7)); | |
| 1753 | + return error.stack !== 7; | |
| 1754 | +}); | |
| 1755 | + | |
| 1756 | + | |
| 1757 | +/***/ }), | |
| 1758 | + | |
| 1759 | +/***/ "../node_modules/core-js/internals/export.js": | |
| 1760 | +/*!***************************************************!*\ | |
| 1761 | + !*** ../node_modules/core-js/internals/export.js ***! | |
| 1762 | + \***************************************************/ | |
| 1763 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1764 | + | |
| 1765 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 1766 | +var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../node_modules/core-js/internals/object-get-own-property-descriptor.js").f); | |
| 1767 | +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); | |
| 1768 | +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../node_modules/core-js/internals/define-built-in.js"); | |
| 1769 | +var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js"); | |
| 1770 | +var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "../node_modules/core-js/internals/copy-constructor-properties.js"); | |
| 1771 | +var isForced = __webpack_require__(/*! ../internals/is-forced */ "../node_modules/core-js/internals/is-forced.js"); | |
| 1772 | + | |
| 1773 | +/* | |
| 1774 | + options.target - name of the target object | |
| 1775 | + options.global - target is the global object | |
| 1776 | + options.stat - export as static methods of target | |
| 1777 | + options.proto - export as prototype methods of target | |
| 1778 | + options.real - real prototype method for the `pure` version | |
| 1779 | + options.forced - export even if the native feature is available | |
| 1780 | + options.bind - bind methods to the target, required for the `pure` version | |
| 1781 | + options.wrap - wrap constructors to preventing global pollution, required for the `pure` version | |
| 1782 | + options.unsafe - use the simple assignment of property instead of delete + defineProperty | |
| 1783 | + options.sham - add a flag to not completely full polyfills | |
| 1784 | + options.enumerable - export as enumerable property | |
| 1785 | + options.dontCallGetSet - prevent calling a getter on target | |
| 1786 | + options.name - the .name of the function if it does not match the key | |
| 1787 | +*/ | |
| 1788 | +module.exports = function (options, source) { | |
| 1789 | + var TARGET = options.target; | |
| 1790 | + var GLOBAL = options.global; | |
| 1791 | + var STATIC = options.stat; | |
| 1792 | + var FORCED, target, key, targetProperty, sourceProperty, descriptor; | |
| 1793 | + if (GLOBAL) { | |
| 1794 | + target = global; | |
| 1795 | + } else if (STATIC) { | |
| 1796 | + target = global[TARGET] || defineGlobalProperty(TARGET, {}); | |
| 1797 | + } else { | |
| 1798 | + target = (global[TARGET] || {}).prototype; | |
| 1799 | + } | |
| 1800 | + if (target) for (key in source) { | |
| 1801 | + sourceProperty = source[key]; | |
| 1802 | + if (options.dontCallGetSet) { | |
| 1803 | + descriptor = getOwnPropertyDescriptor(target, key); | |
| 1804 | + targetProperty = descriptor && descriptor.value; | |
| 1805 | + } else targetProperty = target[key]; | |
| 1806 | + FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); | |
| 1807 | + // contained in target | |
| 1808 | + if (!FORCED && targetProperty !== undefined) { | |
| 1809 | + if (typeof sourceProperty == typeof targetProperty) continue; | |
| 1810 | + copyConstructorProperties(sourceProperty, targetProperty); | |
| 1811 | + } | |
| 1812 | + // add a flag to not completely full polyfills | |
| 1813 | + if (options.sham || (targetProperty && targetProperty.sham)) { | |
| 1814 | + createNonEnumerableProperty(sourceProperty, 'sham', true); | |
| 1815 | + } | |
| 1816 | + defineBuiltIn(target, key, sourceProperty, options); | |
| 1817 | + } | |
| 1818 | +}; | |
| 1819 | + | |
| 1820 | + | |
| 1821 | +/***/ }), | |
| 1822 | + | |
| 1823 | +/***/ "../node_modules/core-js/internals/fails.js": | |
| 1824 | +/*!**************************************************!*\ | |
| 1825 | + !*** ../node_modules/core-js/internals/fails.js ***! | |
| 1826 | + \**************************************************/ | |
| 1827 | +/***/ ((module) => { | |
| 1828 | + | |
| 1829 | +module.exports = function (exec) { | |
| 1830 | + try { | |
| 1831 | + return !!exec(); | |
| 1832 | + } catch (error) { | |
| 1833 | + return true; | |
| 1834 | + } | |
| 1835 | +}; | |
| 1836 | + | |
| 1837 | + | |
| 1838 | +/***/ }), | |
| 1839 | + | |
| 1840 | +/***/ "../node_modules/core-js/internals/function-apply.js": | |
| 1841 | +/*!***********************************************************!*\ | |
| 1842 | + !*** ../node_modules/core-js/internals/function-apply.js ***! | |
| 1843 | + \***********************************************************/ | |
| 1844 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1845 | + | |
| 1846 | +var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js"); | |
| 1847 | + | |
| 1848 | +var FunctionPrototype = Function.prototype; | |
| 1849 | +var apply = FunctionPrototype.apply; | |
| 1850 | +var call = FunctionPrototype.call; | |
| 1851 | + | |
| 1852 | +// eslint-disable-next-line es-x/no-reflect -- safe | |
| 1853 | +module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () { | |
| 1854 | + return call.apply(apply, arguments); | |
| 1855 | +}); | |
| 1856 | + | |
| 1857 | + | |
| 1858 | +/***/ }), | |
| 1859 | + | |
| 1860 | +/***/ "../node_modules/core-js/internals/function-bind-native.js": | |
| 1861 | +/*!*****************************************************************!*\ | |
| 1862 | + !*** ../node_modules/core-js/internals/function-bind-native.js ***! | |
| 1863 | + \*****************************************************************/ | |
| 1864 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1865 | + | |
| 1866 | +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 1867 | + | |
| 1868 | +module.exports = !fails(function () { | |
| 1869 | + // eslint-disable-next-line es-x/no-function-prototype-bind -- safe | |
| 1870 | + var test = (function () { /* empty */ }).bind(); | |
| 1871 | + // eslint-disable-next-line no-prototype-builtins -- safe | |
| 1872 | + return typeof test != 'function' || test.hasOwnProperty('prototype'); | |
| 1873 | +}); | |
| 1874 | + | |
| 1875 | + | |
| 1876 | +/***/ }), | |
| 1877 | + | |
| 1878 | +/***/ "../node_modules/core-js/internals/function-call.js": | |
| 1879 | +/*!**********************************************************!*\ | |
| 1880 | + !*** ../node_modules/core-js/internals/function-call.js ***! | |
| 1881 | + \**********************************************************/ | |
| 1882 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1883 | + | |
| 1884 | +var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js"); | |
| 1885 | + | |
| 1886 | +var call = Function.prototype.call; | |
| 1887 | + | |
| 1888 | +module.exports = NATIVE_BIND ? call.bind(call) : function () { | |
| 1889 | + return call.apply(call, arguments); | |
| 1890 | +}; | |
| 1891 | + | |
| 1892 | + | |
| 1893 | +/***/ }), | |
| 1894 | + | |
| 1895 | +/***/ "../node_modules/core-js/internals/function-name.js": | |
| 1896 | +/*!**********************************************************!*\ | |
| 1897 | + !*** ../node_modules/core-js/internals/function-name.js ***! | |
| 1898 | + \**********************************************************/ | |
| 1899 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1900 | + | |
| 1901 | +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); | |
| 1902 | +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); | |
| 1903 | + | |
| 1904 | +var FunctionPrototype = Function.prototype; | |
| 1905 | +// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe | |
| 1906 | +var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor; | |
| 1907 | + | |
| 1908 | +var EXISTS = hasOwn(FunctionPrototype, 'name'); | |
| 1909 | +// additional protection from minified / mangled / dropped function names | |
| 1910 | +var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; | |
| 1911 | +var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable)); | |
| 1912 | + | |
| 1913 | +module.exports = { | |
| 1914 | + EXISTS: EXISTS, | |
| 1915 | + PROPER: PROPER, | |
| 1916 | + CONFIGURABLE: CONFIGURABLE | |
| 1917 | +}; | |
| 1918 | + | |
| 1919 | + | |
| 1920 | +/***/ }), | |
| 1921 | + | |
| 1922 | +/***/ "../node_modules/core-js/internals/function-uncurry-this.js": | |
| 1923 | +/*!******************************************************************!*\ | |
| 1924 | + !*** ../node_modules/core-js/internals/function-uncurry-this.js ***! | |
| 1925 | + \******************************************************************/ | |
| 1926 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1927 | + | |
| 1928 | +var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js"); | |
| 1929 | + | |
| 1930 | +var FunctionPrototype = Function.prototype; | |
| 1931 | +var bind = FunctionPrototype.bind; | |
| 1932 | +var call = FunctionPrototype.call; | |
| 1933 | +var uncurryThis = NATIVE_BIND && bind.bind(call, call); | |
| 1934 | + | |
| 1935 | +module.exports = NATIVE_BIND ? function (fn) { | |
| 1936 | + return fn && uncurryThis(fn); | |
| 1937 | +} : function (fn) { | |
| 1938 | + return fn && function () { | |
| 1939 | + return call.apply(fn, arguments); | |
| 1940 | + }; | |
| 1941 | +}; | |
| 1942 | + | |
| 1943 | + | |
| 1944 | +/***/ }), | |
| 1945 | + | |
| 1946 | +/***/ "../node_modules/core-js/internals/get-built-in.js": | |
| 1947 | +/*!*********************************************************!*\ | |
| 1948 | + !*** ../node_modules/core-js/internals/get-built-in.js ***! | |
| 1949 | + \*********************************************************/ | |
| 1950 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1951 | + | |
| 1952 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 1953 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 1954 | + | |
| 1955 | +var aFunction = function (argument) { | |
| 1956 | + return isCallable(argument) ? argument : undefined; | |
| 1957 | +}; | |
| 1958 | + | |
| 1959 | +module.exports = function (namespace, method) { | |
| 1960 | + return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method]; | |
| 1961 | +}; | |
| 1962 | + | |
| 1963 | + | |
| 1964 | +/***/ }), | |
| 1965 | + | |
| 1966 | +/***/ "../node_modules/core-js/internals/get-method.js": | |
| 1967 | +/*!*******************************************************!*\ | |
| 1968 | + !*** ../node_modules/core-js/internals/get-method.js ***! | |
| 1969 | + \*******************************************************/ | |
| 1970 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1971 | + | |
| 1972 | +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); | |
| 1973 | + | |
| 1974 | +// `GetMethod` abstract operation | |
| 1975 | +// https://tc39.es/ecma262/#sec-getmethod | |
| 1976 | +module.exports = function (V, P) { | |
| 1977 | + var func = V[P]; | |
| 1978 | + return func == null ? undefined : aCallable(func); | |
| 1979 | +}; | |
| 1980 | + | |
| 1981 | + | |
| 1982 | +/***/ }), | |
| 1983 | + | |
| 1984 | +/***/ "../node_modules/core-js/internals/global.js": | |
| 1985 | +/*!***************************************************!*\ | |
| 1986 | + !*** ../node_modules/core-js/internals/global.js ***! | |
| 1987 | + \***************************************************/ | |
| 1988 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1989 | + | |
| 1990 | +var check = function (it) { | |
| 1991 | + return it && it.Math == Math && it; | |
| 1992 | +}; | |
| 1993 | + | |
| 1994 | +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 | |
| 1995 | +module.exports = | |
| 1996 | + // eslint-disable-next-line es-x/no-global-this -- safe | |
| 1997 | + check(typeof globalThis == 'object' && globalThis) || | |
| 1998 | + check(typeof window == 'object' && window) || | |
| 1999 | + // eslint-disable-next-line no-restricted-globals -- safe | |
| 2000 | + check(typeof self == 'object' && self) || | |
| 2001 | + check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) || | |
| 2002 | + // eslint-disable-next-line no-new-func -- fallback | |
| 2003 | + (function () { return this; })() || Function('return this')(); | |
| 2004 | + | |
| 2005 | + | |
| 2006 | +/***/ }), | |
| 2007 | + | |
| 2008 | +/***/ "../node_modules/core-js/internals/has-own-property.js": | |
| 2009 | +/*!*************************************************************!*\ | |
| 2010 | + !*** ../node_modules/core-js/internals/has-own-property.js ***! | |
| 2011 | + \*************************************************************/ | |
| 2012 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2013 | + | |
| 2014 | +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); | |
| 2015 | +var toObject = __webpack_require__(/*! ../internals/to-object */ "../node_modules/core-js/internals/to-object.js"); | |
| 2016 | + | |
| 2017 | +var hasOwnProperty = uncurryThis({}.hasOwnProperty); | |
| 2018 | + | |
| 2019 | +// `HasOwnProperty` abstract operation | |
| 2020 | +// https://tc39.es/ecma262/#sec-hasownproperty | |
| 2021 | +// eslint-disable-next-line es-x/no-object-hasown -- safe | |
| 2022 | +module.exports = Object.hasOwn || function hasOwn(it, key) { | |
| 2023 | + return hasOwnProperty(toObject(it), key); | |
| 2024 | +}; | |
| 2025 | + | |
| 2026 | + | |
| 2027 | +/***/ }), | |
| 2028 | + | |
| 2029 | +/***/ "../node_modules/core-js/internals/hidden-keys.js": | |
| 2030 | +/*!********************************************************!*\ | |
| 2031 | + !*** ../node_modules/core-js/internals/hidden-keys.js ***! | |
| 2032 | + \********************************************************/ | |
| 2033 | +/***/ ((module) => { | |
| 2034 | + | |
| 2035 | +module.exports = {}; | |
| 2036 | + | |
| 2037 | + | |
| 2038 | +/***/ }), | |
| 2039 | + | |
| 2040 | +/***/ "../node_modules/core-js/internals/html.js": | |
| 2041 | +/*!*************************************************!*\ | |
| 2042 | + !*** ../node_modules/core-js/internals/html.js ***! | |
| 2043 | + \*************************************************/ | |
| 2044 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2045 | + | |
| 2046 | +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js"); | |
| 2047 | + | |
| 2048 | +module.exports = getBuiltIn('document', 'documentElement'); | |
| 2049 | + | |
| 2050 | + | |
| 2051 | +/***/ }), | |
| 2052 | + | |
| 2053 | +/***/ "../node_modules/core-js/internals/ie8-dom-define.js": | |
| 2054 | +/*!***********************************************************!*\ | |
| 2055 | + !*** ../node_modules/core-js/internals/ie8-dom-define.js ***! | |
| 2056 | + \***********************************************************/ | |
| 2057 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2058 | + | |
| 2059 | +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); | |
| 2060 | +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 2061 | +var createElement = __webpack_require__(/*! ../internals/document-create-element */ "../node_modules/core-js/internals/document-create-element.js"); | |
| 2062 | + | |
| 2063 | +// Thanks to IE8 for its funny defineProperty | |
| 2064 | +module.exports = !DESCRIPTORS && !fails(function () { | |
| 2065 | + // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing | |
| 2066 | + return Object.defineProperty(createElement('div'), 'a', { | |
| 2067 | + get: function () { return 7; } | |
| 2068 | + }).a != 7; | |
| 2069 | +}); | |
| 2070 | + | |
| 2071 | + | |
| 2072 | +/***/ }), | |
| 2073 | + | |
| 2074 | +/***/ "../node_modules/core-js/internals/indexed-object.js": | |
| 2075 | +/*!***********************************************************!*\ | |
| 2076 | + !*** ../node_modules/core-js/internals/indexed-object.js ***! | |
| 2077 | + \***********************************************************/ | |
| 2078 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2079 | + | |
| 2080 | +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); | |
| 2081 | +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 2082 | +var classof = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js"); | |
| 2083 | + | |
| 2084 | +var $Object = Object; | |
| 2085 | +var split = uncurryThis(''.split); | |
| 2086 | + | |
| 2087 | +// fallback for non-array-like ES3 and non-enumerable old V8 strings | |
| 2088 | +module.exports = fails(function () { | |
| 2089 | + // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 | |
| 2090 | + // eslint-disable-next-line no-prototype-builtins -- safe | |
| 2091 | + return !$Object('z').propertyIsEnumerable(0); | |
| 2092 | +}) ? function (it) { | |
| 2093 | + return classof(it) == 'String' ? split(it, '') : $Object(it); | |
| 2094 | +} : $Object; | |
| 2095 | + | |
| 2096 | + | |
| 2097 | +/***/ }), | |
| 2098 | + | |
| 2099 | +/***/ "../node_modules/core-js/internals/inherit-if-required.js": | |
| 2100 | +/*!****************************************************************!*\ | |
| 2101 | + !*** ../node_modules/core-js/internals/inherit-if-required.js ***! | |
| 2102 | + \****************************************************************/ | |
| 2103 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2104 | + | |
| 2105 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 2106 | +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); | |
| 2107 | +var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "../node_modules/core-js/internals/object-set-prototype-of.js"); | |
| 2108 | + | |
| 2109 | +// makes subclassing work correct for wrapped built-ins | |
| 2110 | +module.exports = function ($this, dummy, Wrapper) { | |
| 2111 | + var NewTarget, NewTargetPrototype; | |
| 2112 | + if ( | |
| 2113 | + // it can work only with native `setPrototypeOf` | |
| 2114 | + setPrototypeOf && | |
| 2115 | + // we haven't completely correct pre-ES6 way for getting `new.target`, so use this | |
| 2116 | + isCallable(NewTarget = dummy.constructor) && | |
| 2117 | + NewTarget !== Wrapper && | |
| 2118 | + isObject(NewTargetPrototype = NewTarget.prototype) && | |
| 2119 | + NewTargetPrototype !== Wrapper.prototype | |
| 2120 | + ) setPrototypeOf($this, NewTargetPrototype); | |
| 2121 | + return $this; | |
| 2122 | +}; | |
| 2123 | + | |
| 2124 | + | |
| 2125 | +/***/ }), | |
| 2126 | + | |
| 2127 | +/***/ "../node_modules/core-js/internals/inspect-source.js": | |
| 2128 | +/*!***********************************************************!*\ | |
| 2129 | + !*** ../node_modules/core-js/internals/inspect-source.js ***! | |
| 2130 | + \***********************************************************/ | |
| 2131 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2132 | + | |
| 2133 | +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); | |
| 2134 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 2135 | +var store = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js"); | |
| 2136 | + | |
| 2137 | +var functionToString = uncurryThis(Function.toString); | |
| 2138 | + | |
| 2139 | +// this helper broken in `[email protected]`, so we can't use `shared` helper | |
| 2140 | +if (!isCallable(store.inspectSource)) { | |
| 2141 | + store.inspectSource = function (it) { | |
| 2142 | + return functionToString(it); | |
| 2143 | + }; | |
| 2144 | +} | |
| 2145 | + | |
| 2146 | +module.exports = store.inspectSource; | |
| 2147 | + | |
| 2148 | + | |
| 2149 | +/***/ }), | |
| 2150 | + | |
| 2151 | +/***/ "../node_modules/core-js/internals/install-error-cause.js": | |
| 2152 | +/*!****************************************************************!*\ | |
| 2153 | + !*** ../node_modules/core-js/internals/install-error-cause.js ***! | |
| 2154 | + \****************************************************************/ | |
| 2155 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2156 | + | |
| 2157 | +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); | |
| 2158 | +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); | |
| 2159 | + | |
| 2160 | +// `InstallErrorCause` abstract operation | |
| 2161 | +// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause | |
| 2162 | +module.exports = function (O, options) { | |
| 2163 | + if (isObject(options) && 'cause' in options) { | |
| 2164 | + createNonEnumerableProperty(O, 'cause', options.cause); | |
| 2165 | + } | |
| 2166 | +}; | |
| 2167 | + | |
| 2168 | + | |
| 2169 | +/***/ }), | |
| 2170 | + | |
| 2171 | +/***/ "../node_modules/core-js/internals/internal-state.js": | |
| 2172 | +/*!***********************************************************!*\ | |
| 2173 | + !*** ../node_modules/core-js/internals/internal-state.js ***! | |
| 2174 | + \***********************************************************/ | |
| 2175 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2176 | + | |
| 2177 | +var NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/native-weak-map */ "../node_modules/core-js/internals/native-weak-map.js"); | |
| 2178 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 2179 | +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); | |
| 2180 | +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); | |
| 2181 | +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); | |
| 2182 | +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); | |
| 2183 | +var shared = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js"); | |
| 2184 | +var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "../node_modules/core-js/internals/shared-key.js"); | |
| 2185 | +var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js"); | |
| 2186 | + | |
| 2187 | +var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; | |
| 2188 | +var TypeError = global.TypeError; | |
| 2189 | +var WeakMap = global.WeakMap; | |
| 2190 | +var set, get, has; | |
| 2191 | + | |
| 2192 | +var enforce = function (it) { | |
| 2193 | + return has(it) ? get(it) : set(it, {}); | |
| 2194 | +}; | |
| 2195 | + | |
| 2196 | +var getterFor = function (TYPE) { | |
| 2197 | + return function (it) { | |
| 2198 | + var state; | |
| 2199 | + if (!isObject(it) || (state = get(it)).type !== TYPE) { | |
| 2200 | + throw TypeError('Incompatible receiver, ' + TYPE + ' required'); | |
| 2201 | + } return state; | |
| 2202 | + }; | |
| 2203 | +}; | |
| 2204 | + | |
| 2205 | +if (NATIVE_WEAK_MAP || shared.state) { | |
| 2206 | + var store = shared.state || (shared.state = new WeakMap()); | |
| 2207 | + var wmget = uncurryThis(store.get); | |
| 2208 | + var wmhas = uncurryThis(store.has); | |
| 2209 | + var wmset = uncurryThis(store.set); | |
| 2210 | + set = function (it, metadata) { | |
| 2211 | + if (wmhas(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); | |
| 2212 | + metadata.facade = it; | |
| 2213 | + wmset(store, it, metadata); | |
| 2214 | + return metadata; | |
| 2215 | + }; | |
| 2216 | + get = function (it) { | |
| 2217 | + return wmget(store, it) || {}; | |
| 2218 | + }; | |
| 2219 | + has = function (it) { | |
| 2220 | + return wmhas(store, it); | |
| 2221 | + }; | |
| 2222 | +} else { | |
| 2223 | + var STATE = sharedKey('state'); | |
| 2224 | + hiddenKeys[STATE] = true; | |
| 2225 | + set = function (it, metadata) { | |
| 2226 | + if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); | |
| 2227 | + metadata.facade = it; | |
| 2228 | + createNonEnumerableProperty(it, STATE, metadata); | |
| 2229 | + return metadata; | |
| 2230 | + }; | |
| 2231 | + get = function (it) { | |
| 2232 | + return hasOwn(it, STATE) ? it[STATE] : {}; | |
| 2233 | + }; | |
| 2234 | + has = function (it) { | |
| 2235 | + return hasOwn(it, STATE); | |
| 2236 | + }; | |
| 2237 | +} | |
| 2238 | + | |
| 2239 | +module.exports = { | |
| 2240 | + set: set, | |
| 2241 | + get: get, | |
| 2242 | + has: has, | |
| 2243 | + enforce: enforce, | |
| 2244 | + getterFor: getterFor | |
| 2245 | +}; | |
| 2246 | + | |
| 2247 | + | |
| 2248 | +/***/ }), | |
| 2249 | + | |
| 2250 | +/***/ "../node_modules/core-js/internals/is-callable.js": | |
| 2251 | +/*!********************************************************!*\ | |
| 2252 | + !*** ../node_modules/core-js/internals/is-callable.js ***! | |
| 2253 | + \********************************************************/ | |
| 2254 | +/***/ ((module) => { | |
| 2255 | + | |
| 2256 | +// `IsCallable` abstract operation | |
| 2257 | +// https://tc39.es/ecma262/#sec-iscallable | |
| 2258 | +module.exports = function (argument) { | |
| 2259 | + return typeof argument == 'function'; | |
| 2260 | +}; | |
| 2261 | + | |
| 2262 | + | |
| 2263 | +/***/ }), | |
| 2264 | + | |
| 2265 | +/***/ "../node_modules/core-js/internals/is-forced.js": | |
| 2266 | +/*!******************************************************!*\ | |
| 2267 | + !*** ../node_modules/core-js/internals/is-forced.js ***! | |
| 2268 | + \******************************************************/ | |
| 2269 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2270 | + | |
| 2271 | +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 2272 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 2273 | + | |
| 2274 | +var replacement = /#|\.prototype\./; | |
| 2275 | + | |
| 2276 | +var isForced = function (feature, detection) { | |
| 2277 | + var value = data[normalize(feature)]; | |
| 2278 | + return value == POLYFILL ? true | |
| 2279 | + : value == NATIVE ? false | |
| 2280 | + : isCallable(detection) ? fails(detection) | |
| 2281 | + : !!detection; | |
| 2282 | +}; | |
| 2283 | + | |
| 2284 | +var normalize = isForced.normalize = function (string) { | |
| 2285 | + return String(string).replace(replacement, '.').toLowerCase(); | |
| 2286 | +}; | |
| 2287 | + | |
| 2288 | +var data = isForced.data = {}; | |
| 2289 | +var NATIVE = isForced.NATIVE = 'N'; | |
| 2290 | +var POLYFILL = isForced.POLYFILL = 'P'; | |
| 2291 | + | |
| 2292 | +module.exports = isForced; | |
| 2293 | + | |
| 2294 | + | |
| 2295 | +/***/ }), | |
| 2296 | + | |
| 2297 | +/***/ "../node_modules/core-js/internals/is-object.js": | |
| 2298 | +/*!******************************************************!*\ | |
| 2299 | + !*** ../node_modules/core-js/internals/is-object.js ***! | |
| 2300 | + \******************************************************/ | |
| 2301 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2302 | + | |
| 2303 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 2304 | + | |
| 2305 | +module.exports = function (it) { | |
| 2306 | + return typeof it == 'object' ? it !== null : isCallable(it); | |
| 2307 | +}; | |
| 2308 | + | |
| 2309 | + | |
| 2310 | +/***/ }), | |
| 2311 | + | |
| 2312 | +/***/ "../node_modules/core-js/internals/is-pure.js": | |
| 2313 | +/*!****************************************************!*\ | |
| 2314 | + !*** ../node_modules/core-js/internals/is-pure.js ***! | |
| 2315 | + \****************************************************/ | |
| 2316 | +/***/ ((module) => { | |
| 2317 | + | |
| 2318 | +module.exports = false; | |
| 2319 | + | |
| 2320 | + | |
| 2321 | +/***/ }), | |
| 2322 | + | |
| 2323 | +/***/ "../node_modules/core-js/internals/is-symbol.js": | |
| 2324 | +/*!******************************************************!*\ | |
| 2325 | + !*** ../node_modules/core-js/internals/is-symbol.js ***! | |
| 2326 | + \******************************************************/ | |
| 2327 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2328 | + | |
| 2329 | +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js"); | |
| 2330 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 2331 | +var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js"); | |
| 2332 | +var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../node_modules/core-js/internals/use-symbol-as-uid.js"); | |
| 2333 | + | |
| 2334 | +var $Object = Object; | |
| 2335 | + | |
| 2336 | +module.exports = USE_SYMBOL_AS_UID ? function (it) { | |
| 2337 | + return typeof it == 'symbol'; | |
| 2338 | +} : function (it) { | |
| 2339 | + var $Symbol = getBuiltIn('Symbol'); | |
| 2340 | + return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it)); | |
| 2341 | +}; | |
| 2342 | + | |
| 2343 | + | |
| 2344 | +/***/ }), | |
| 2345 | + | |
| 2346 | +/***/ "../node_modules/core-js/internals/length-of-array-like.js": | |
| 2347 | +/*!*****************************************************************!*\ | |
| 2348 | + !*** ../node_modules/core-js/internals/length-of-array-like.js ***! | |
| 2349 | + \*****************************************************************/ | |
| 2350 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2351 | + | |
| 2352 | +var toLength = __webpack_require__(/*! ../internals/to-length */ "../node_modules/core-js/internals/to-length.js"); | |
| 2353 | + | |
| 2354 | +// `LengthOfArrayLike` abstract operation | |
| 2355 | +// https://tc39.es/ecma262/#sec-lengthofarraylike | |
| 2356 | +module.exports = function (obj) { | |
| 2357 | + return toLength(obj.length); | |
| 2358 | +}; | |
| 2359 | + | |
| 2360 | + | |
| 2361 | +/***/ }), | |
| 2362 | + | |
| 2363 | +/***/ "../node_modules/core-js/internals/make-built-in.js": | |
| 2364 | +/*!**********************************************************!*\ | |
| 2365 | + !*** ../node_modules/core-js/internals/make-built-in.js ***! | |
| 2366 | + \**********************************************************/ | |
| 2367 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2368 | + | |
| 2369 | +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 2370 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 2371 | +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); | |
| 2372 | +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); | |
| 2373 | +var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ "../node_modules/core-js/internals/function-name.js").CONFIGURABLE); | |
| 2374 | +var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../node_modules/core-js/internals/inspect-source.js"); | |
| 2375 | +var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "../node_modules/core-js/internals/internal-state.js"); | |
| 2376 | + | |
| 2377 | +var enforceInternalState = InternalStateModule.enforce; | |
| 2378 | +var getInternalState = InternalStateModule.get; | |
| 2379 | +// eslint-disable-next-line es-x/no-object-defineproperty -- safe | |
| 2380 | +var defineProperty = Object.defineProperty; | |
| 2381 | + | |
| 2382 | +var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () { | |
| 2383 | + return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; | |
| 2384 | +}); | |
| 2385 | + | |
| 2386 | +var TEMPLATE = String(String).split('String'); | |
| 2387 | + | |
| 2388 | +var makeBuiltIn = module.exports = function (value, name, options) { | |
| 2389 | + if (String(name).slice(0, 7) === 'Symbol(') { | |
| 2390 | + name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']'; | |
| 2391 | + } | |
| 2392 | + if (options && options.getter) name = 'get ' + name; | |
| 2393 | + if (options && options.setter) name = 'set ' + name; | |
| 2394 | + if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { | |
| 2395 | + if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true }); | |
| 2396 | + else value.name = name; | |
| 2397 | + } | |
| 2398 | + if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) { | |
| 2399 | + defineProperty(value, 'length', { value: options.arity }); | |
| 2400 | + } | |
| 2401 | + try { | |
| 2402 | + if (options && hasOwn(options, 'constructor') && options.constructor) { | |
| 2403 | + if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false }); | |
| 2404 | + // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable | |
| 2405 | + } else if (value.prototype) value.prototype = undefined; | |
| 2406 | + } catch (error) { /* empty */ } | |
| 2407 | + var state = enforceInternalState(value); | |
| 2408 | + if (!hasOwn(state, 'source')) { | |
| 2409 | + state.source = TEMPLATE.join(typeof name == 'string' ? name : ''); | |
| 2410 | + } return value; | |
| 2411 | +}; | |
| 2412 | + | |
| 2413 | +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative | |
| 2414 | +// eslint-disable-next-line no-extend-native -- required | |
| 2415 | +Function.prototype.toString = makeBuiltIn(function toString() { | |
| 2416 | + return isCallable(this) && getInternalState(this).source || inspectSource(this); | |
| 2417 | +}, 'toString'); | |
| 2418 | + | |
| 2419 | + | |
| 2420 | +/***/ }), | |
| 2421 | + | |
| 2422 | +/***/ "../node_modules/core-js/internals/math-trunc.js": | |
| 2423 | +/*!*******************************************************!*\ | |
| 2424 | + !*** ../node_modules/core-js/internals/math-trunc.js ***! | |
| 2425 | + \*******************************************************/ | |
| 2426 | +/***/ ((module) => { | |
| 2427 | + | |
| 2428 | +var ceil = Math.ceil; | |
| 2429 | +var floor = Math.floor; | |
| 2430 | + | |
| 2431 | +// `Math.trunc` method | |
| 2432 | +// https://tc39.es/ecma262/#sec-math.trunc | |
| 2433 | +// eslint-disable-next-line es-x/no-math-trunc -- safe | |
| 2434 | +module.exports = Math.trunc || function trunc(x) { | |
| 2435 | + var n = +x; | |
| 2436 | + return (n > 0 ? floor : ceil)(n); | |
| 2437 | +}; | |
| 2438 | + | |
| 2439 | + | |
| 2440 | +/***/ }), | |
| 2441 | + | |
| 2442 | +/***/ "../node_modules/core-js/internals/native-symbol.js": | |
| 2443 | +/*!**********************************************************!*\ | |
| 2444 | + !*** ../node_modules/core-js/internals/native-symbol.js ***! | |
| 2445 | + \**********************************************************/ | |
| 2446 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2447 | + | |
| 2448 | +/* eslint-disable es-x/no-symbol -- required for testing */ | |
| 2449 | +var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "../node_modules/core-js/internals/engine-v8-version.js"); | |
| 2450 | +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 2451 | + | |
| 2452 | +// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing | |
| 2453 | +module.exports = !!Object.getOwnPropertySymbols && !fails(function () { | |
| 2454 | + var symbol = Symbol(); | |
| 2455 | + // Chrome 38 Symbol has incorrect toString conversion | |
| 2456 | + // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances | |
| 2457 | + return !String(symbol) || !(Object(symbol) instanceof Symbol) || | |
| 2458 | + // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances | |
| 2459 | + !Symbol.sham && V8_VERSION && V8_VERSION < 41; | |
| 2460 | +}); | |
| 2461 | + | |
| 2462 | + | |
| 2463 | +/***/ }), | |
| 2464 | + | |
| 2465 | +/***/ "../node_modules/core-js/internals/native-weak-map.js": | |
| 2466 | +/*!************************************************************!*\ | |
| 2467 | + !*** ../node_modules/core-js/internals/native-weak-map.js ***! | |
| 2468 | + \************************************************************/ | |
| 2469 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2470 | + | |
| 2471 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 2472 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 2473 | +var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../node_modules/core-js/internals/inspect-source.js"); | |
| 2474 | + | |
| 2475 | +var WeakMap = global.WeakMap; | |
| 2476 | + | |
| 2477 | +module.exports = isCallable(WeakMap) && /native code/.test(inspectSource(WeakMap)); | |
| 2478 | + | |
| 2479 | + | |
| 2480 | +/***/ }), | |
| 2481 | + | |
| 2482 | +/***/ "../node_modules/core-js/internals/normalize-string-argument.js": | |
| 2483 | +/*!**********************************************************************!*\ | |
| 2484 | + !*** ../node_modules/core-js/internals/normalize-string-argument.js ***! | |
| 2485 | + \**********************************************************************/ | |
| 2486 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2487 | + | |
| 2488 | +var toString = __webpack_require__(/*! ../internals/to-string */ "../node_modules/core-js/internals/to-string.js"); | |
| 2489 | + | |
| 2490 | +module.exports = function (argument, $default) { | |
| 2491 | + return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument); | |
| 2492 | +}; | |
| 2493 | + | |
| 2494 | + | |
| 2495 | +/***/ }), | |
| 2496 | + | |
| 2497 | +/***/ "../node_modules/core-js/internals/object-create.js": | |
| 2498 | +/*!**********************************************************!*\ | |
| 2499 | + !*** ../node_modules/core-js/internals/object-create.js ***! | |
| 2500 | + \**********************************************************/ | |
| 2501 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2502 | + | |
| 2503 | +/* global ActiveXObject -- old IE, WSH */ | |
| 2504 | +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); | |
| 2505 | +var definePropertiesModule = __webpack_require__(/*! ../internals/object-define-properties */ "../node_modules/core-js/internals/object-define-properties.js"); | |
| 2506 | +var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "../node_modules/core-js/internals/enum-bug-keys.js"); | |
| 2507 | +var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js"); | |
| 2508 | +var html = __webpack_require__(/*! ../internals/html */ "../node_modules/core-js/internals/html.js"); | |
| 2509 | +var documentCreateElement = __webpack_require__(/*! ../internals/document-create-element */ "../node_modules/core-js/internals/document-create-element.js"); | |
| 2510 | +var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "../node_modules/core-js/internals/shared-key.js"); | |
| 2511 | + | |
| 2512 | +var GT = '>'; | |
| 2513 | +var LT = '<'; | |
| 2514 | +var PROTOTYPE = 'prototype'; | |
| 2515 | +var SCRIPT = 'script'; | |
| 2516 | +var IE_PROTO = sharedKey('IE_PROTO'); | |
| 2517 | + | |
| 2518 | +var EmptyConstructor = function () { /* empty */ }; | |
| 2519 | + | |
| 2520 | +var scriptTag = function (content) { | |
| 2521 | + return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT; | |
| 2522 | +}; | |
| 2523 | + | |
| 2524 | +// Create object with fake `null` prototype: use ActiveX Object with cleared prototype | |
| 2525 | +var NullProtoObjectViaActiveX = function (activeXDocument) { | |
| 2526 | + activeXDocument.write(scriptTag('')); | |
| 2527 | + activeXDocument.close(); | |
| 2528 | + var temp = activeXDocument.parentWindow.Object; | |
| 2529 | + activeXDocument = null; // avoid memory leak | |
| 2530 | + return temp; | |
| 2531 | +}; | |
| 2532 | + | |
| 2533 | +// Create object with fake `null` prototype: use iframe Object with cleared prototype | |
| 2534 | +var NullProtoObjectViaIFrame = function () { | |
| 2535 | + // Thrash, waste and sodomy: IE GC bug | |
| 2536 | + var iframe = documentCreateElement('iframe'); | |
| 2537 | + var JS = 'java' + SCRIPT + ':'; | |
| 2538 | + var iframeDocument; | |
| 2539 | + iframe.style.display = 'none'; | |
| 2540 | + html.appendChild(iframe); | |
| 2541 | + // https://github.com/zloirock/core-js/issues/475 | |
| 2542 | + iframe.src = String(JS); | |
| 2543 | + iframeDocument = iframe.contentWindow.document; | |
| 2544 | + iframeDocument.open(); | |
| 2545 | + iframeDocument.write(scriptTag('document.F=Object')); | |
| 2546 | + iframeDocument.close(); | |
| 2547 | + return iframeDocument.F; | |
| 2548 | +}; | |
| 2549 | + | |
| 2550 | +// Check for document.domain and active x support | |
| 2551 | +// No need to use active x approach when document.domain is not set | |
| 2552 | +// see https://github.com/es-shims/es5-shim/issues/150 | |
| 2553 | +// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346 | |
| 2554 | +// avoid IE GC bug | |
| 2555 | +var activeXDocument; | |
| 2556 | +var NullProtoObject = function () { | |
| 2557 | + try { | |
| 2558 | + activeXDocument = new ActiveXObject('htmlfile'); | |
| 2559 | + } catch (error) { /* ignore */ } | |
| 2560 | + NullProtoObject = typeof document != 'undefined' | |
| 2561 | + ? document.domain && activeXDocument | |
| 2562 | + ? NullProtoObjectViaActiveX(activeXDocument) // old IE | |
| 2563 | + : NullProtoObjectViaIFrame() | |
| 2564 | + : NullProtoObjectViaActiveX(activeXDocument); // WSH | |
| 2565 | + var length = enumBugKeys.length; | |
| 2566 | + while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; | |
| 2567 | + return NullProtoObject(); | |
| 2568 | +}; | |
| 2569 | + | |
| 2570 | +hiddenKeys[IE_PROTO] = true; | |
| 2571 | + | |
| 2572 | +// `Object.create` method | |
| 2573 | +// https://tc39.es/ecma262/#sec-object.create | |
| 2574 | +// eslint-disable-next-line es-x/no-object-create -- safe | |
| 2575 | +module.exports = Object.create || function create(O, Properties) { | |
| 2576 | + var result; | |
| 2577 | + if (O !== null) { | |
| 2578 | + EmptyConstructor[PROTOTYPE] = anObject(O); | |
| 2579 | + result = new EmptyConstructor(); | |
| 2580 | + EmptyConstructor[PROTOTYPE] = null; | |
| 2581 | + // add "__proto__" for Object.getPrototypeOf polyfill | |
| 2582 | + result[IE_PROTO] = O; | |
| 2583 | + } else result = NullProtoObject(); | |
| 2584 | + return Properties === undefined ? result : definePropertiesModule.f(result, Properties); | |
| 2585 | +}; | |
| 2586 | + | |
| 2587 | + | |
| 2588 | +/***/ }), | |
| 2589 | + | |
| 2590 | +/***/ "../node_modules/core-js/internals/object-define-properties.js": | |
| 2591 | +/*!*********************************************************************!*\ | |
| 2592 | + !*** ../node_modules/core-js/internals/object-define-properties.js ***! | |
| 2593 | + \*********************************************************************/ | |
| 2594 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 2595 | + | |
| 2596 | +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); | |
| 2597 | +var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "../node_modules/core-js/internals/v8-prototype-define-bug.js"); | |
| 2598 | +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js"); | |
| 2599 | +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); | |
| 2600 | +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js"); | |
| 2601 | +var objectKeys = __webpack_require__(/*! ../internals/object-keys */ "../node_modules/core-js/internals/object-keys.js"); | |
| 2602 | + | |
| 2603 | +// `Object.defineProperties` method | |
| 2604 | +// https://tc39.es/ecma262/#sec-object.defineproperties | |
| 2605 | +// eslint-disable-next-line es-x/no-object-defineproperties -- safe | |
| 2606 | +exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { | |
| 2607 | + anObject(O); | |
| 2608 | + var props = toIndexedObject(Properties); | |
| 2609 | + var keys = objectKeys(Properties); | |
| 2610 | + var length = keys.length; | |
| 2611 | + var index = 0; | |
| 2612 | + var key; | |
| 2613 | + while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]); | |
| 2614 | + return O; | |
| 2615 | +}; | |
| 2616 | + | |
| 2617 | + | |
| 2618 | +/***/ }), | |
| 2619 | + | |
| 2620 | +/***/ "../node_modules/core-js/internals/object-define-property.js": | |
| 2621 | +/*!*******************************************************************!*\ | |
| 2622 | + !*** ../node_modules/core-js/internals/object-define-property.js ***! | |
| 2623 | + \*******************************************************************/ | |
| 2624 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 2625 | + | |
| 2626 | +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); | |
| 2627 | +var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../node_modules/core-js/internals/ie8-dom-define.js"); | |
| 2628 | +var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "../node_modules/core-js/internals/v8-prototype-define-bug.js"); | |
| 2629 | +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); | |
| 2630 | +var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../node_modules/core-js/internals/to-property-key.js"); | |
| 2631 | + | |
| 2632 | +var $TypeError = TypeError; | |
| 2633 | +// eslint-disable-next-line es-x/no-object-defineproperty -- safe | |
| 2634 | +var $defineProperty = Object.defineProperty; | |
| 2635 | +// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe | |
| 2636 | +var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
| 2637 | +var ENUMERABLE = 'enumerable'; | |
| 2638 | +var CONFIGURABLE = 'configurable'; | |
| 2639 | +var WRITABLE = 'writable'; | |
| 2640 | + | |
| 2641 | +// `Object.defineProperty` method | |
| 2642 | +// https://tc39.es/ecma262/#sec-object.defineproperty | |
| 2643 | +exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) { | |
| 2644 | + anObject(O); | |
| 2645 | + P = toPropertyKey(P); | |
| 2646 | + anObject(Attributes); | |
| 2647 | + if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { | |
| 2648 | + var current = $getOwnPropertyDescriptor(O, P); | |
| 2649 | + if (current && current[WRITABLE]) { | |
| 2650 | + O[P] = Attributes.value; | |
| 2651 | + Attributes = { | |
| 2652 | + configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE], | |
| 2653 | + enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE], | |
| 2654 | + writable: false | |
| 2655 | + }; | |
| 2656 | + } | |
| 2657 | + } return $defineProperty(O, P, Attributes); | |
| 2658 | +} : $defineProperty : function defineProperty(O, P, Attributes) { | |
| 2659 | + anObject(O); | |
| 2660 | + P = toPropertyKey(P); | |
| 2661 | + anObject(Attributes); | |
| 2662 | + if (IE8_DOM_DEFINE) try { | |
| 2663 | + return $defineProperty(O, P, Attributes); | |
| 2664 | + } catch (error) { /* empty */ } | |
| 2665 | + if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported'); | |
| 2666 | + if ('value' in Attributes) O[P] = Attributes.value; | |
| 2667 | + return O; | |
| 2668 | +}; | |
| 2669 | + | |
| 2670 | + | |
| 2671 | +/***/ }), | |
| 2672 | + | |
| 2673 | +/***/ "../node_modules/core-js/internals/object-get-own-property-descriptor.js": | |
| 2674 | +/*!*******************************************************************************!*\ | |
| 2675 | + !*** ../node_modules/core-js/internals/object-get-own-property-descriptor.js ***! | |
| 2676 | + \*******************************************************************************/ | |
| 2677 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 2678 | + | |
| 2679 | +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); | |
| 2680 | +var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); | |
| 2681 | +var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ "../node_modules/core-js/internals/object-property-is-enumerable.js"); | |
| 2682 | +var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js"); | |
| 2683 | +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js"); | |
| 2684 | +var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../node_modules/core-js/internals/to-property-key.js"); | |
| 2685 | +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); | |
| 2686 | +var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../node_modules/core-js/internals/ie8-dom-define.js"); | |
| 2687 | + | |
| 2688 | +// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe | |
| 2689 | +var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
| 2690 | + | |
| 2691 | +// `Object.getOwnPropertyDescriptor` method | |
| 2692 | +// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor | |
| 2693 | +exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { | |
| 2694 | + O = toIndexedObject(O); | |
| 2695 | + P = toPropertyKey(P); | |
| 2696 | + if (IE8_DOM_DEFINE) try { | |
| 2697 | + return $getOwnPropertyDescriptor(O, P); | |
| 2698 | + } catch (error) { /* empty */ } | |
| 2699 | + if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]); | |
| 2700 | +}; | |
| 2701 | + | |
| 2702 | + | |
| 2703 | +/***/ }), | |
| 2704 | + | |
| 2705 | +/***/ "../node_modules/core-js/internals/object-get-own-property-names.js": | |
| 2706 | +/*!**************************************************************************!*\ | |
| 2707 | + !*** ../node_modules/core-js/internals/object-get-own-property-names.js ***! | |
| 2708 | + \**************************************************************************/ | |
| 2709 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 2710 | + | |
| 2711 | +var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "../node_modules/core-js/internals/object-keys-internal.js"); | |
| 2712 | +var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "../node_modules/core-js/internals/enum-bug-keys.js"); | |
| 2713 | + | |
| 2714 | +var hiddenKeys = enumBugKeys.concat('length', 'prototype'); | |
| 2715 | + | |
| 2716 | +// `Object.getOwnPropertyNames` method | |
| 2717 | +// https://tc39.es/ecma262/#sec-object.getownpropertynames | |
| 2718 | +// eslint-disable-next-line es-x/no-object-getownpropertynames -- safe | |
| 2719 | +exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { | |
| 2720 | + return internalObjectKeys(O, hiddenKeys); | |
| 2721 | +}; | |
| 2722 | + | |
| 2723 | + | |
| 2724 | +/***/ }), | |
| 2725 | + | |
| 2726 | +/***/ "../node_modules/core-js/internals/object-get-own-property-symbols.js": | |
| 2727 | +/*!****************************************************************************!*\ | |
| 2728 | + !*** ../node_modules/core-js/internals/object-get-own-property-symbols.js ***! | |
| 2729 | + \****************************************************************************/ | |
| 2730 | +/***/ ((__unused_webpack_module, exports) => { | |
| 2731 | + | |
| 2732 | +// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe | |
| 2733 | +exports.f = Object.getOwnPropertySymbols; | |
| 2734 | + | |
| 2735 | + | |
| 2736 | +/***/ }), | |
| 2737 | + | |
| 2738 | +/***/ "../node_modules/core-js/internals/object-is-prototype-of.js": | |
| 2739 | +/*!*******************************************************************!*\ | |
| 2740 | + !*** ../node_modules/core-js/internals/object-is-prototype-of.js ***! | |
| 2741 | + \*******************************************************************/ | |
| 2742 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2743 | + | |
| 2744 | +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); | |
| 2745 | + | |
| 2746 | +module.exports = uncurryThis({}.isPrototypeOf); | |
| 2747 | + | |
| 2748 | + | |
| 2749 | +/***/ }), | |
| 2750 | + | |
| 2751 | +/***/ "../node_modules/core-js/internals/object-keys-internal.js": | |
| 2752 | +/*!*****************************************************************!*\ | |
| 2753 | + !*** ../node_modules/core-js/internals/object-keys-internal.js ***! | |
| 2754 | + \*****************************************************************/ | |
| 2755 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2756 | + | |
| 2757 | +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); | |
| 2758 | +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); | |
| 2759 | +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js"); | |
| 2760 | +var indexOf = (__webpack_require__(/*! ../internals/array-includes */ "../node_modules/core-js/internals/array-includes.js").indexOf); | |
| 2761 | +var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js"); | |
| 2762 | + | |
| 2763 | +var push = uncurryThis([].push); | |
| 2764 | + | |
| 2765 | +module.exports = function (object, names) { | |
| 2766 | + var O = toIndexedObject(object); | |
| 2767 | + var i = 0; | |
| 2768 | + var result = []; | |
| 2769 | + var key; | |
| 2770 | + for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key); | |
| 2771 | + // Don't enum bug & hidden keys | |
| 2772 | + while (names.length > i) if (hasOwn(O, key = names[i++])) { | |
| 2773 | + ~indexOf(result, key) || push(result, key); | |
| 2774 | + } | |
| 2775 | + return result; | |
| 2776 | +}; | |
| 2777 | + | |
| 2778 | + | |
| 2779 | +/***/ }), | |
| 2780 | + | |
| 2781 | +/***/ "../node_modules/core-js/internals/object-keys.js": | |
| 2782 | +/*!********************************************************!*\ | |
| 2783 | + !*** ../node_modules/core-js/internals/object-keys.js ***! | |
| 2784 | + \********************************************************/ | |
| 2785 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2786 | + | |
| 2787 | +var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "../node_modules/core-js/internals/object-keys-internal.js"); | |
| 2788 | +var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "../node_modules/core-js/internals/enum-bug-keys.js"); | |
| 2789 | + | |
| 2790 | +// `Object.keys` method | |
| 2791 | +// https://tc39.es/ecma262/#sec-object.keys | |
| 2792 | +// eslint-disable-next-line es-x/no-object-keys -- safe | |
| 2793 | +module.exports = Object.keys || function keys(O) { | |
| 2794 | + return internalObjectKeys(O, enumBugKeys); | |
| 2795 | +}; | |
| 2796 | + | |
| 2797 | + | |
| 2798 | +/***/ }), | |
| 2799 | + | |
| 2800 | +/***/ "../node_modules/core-js/internals/object-property-is-enumerable.js": | |
| 2801 | +/*!**************************************************************************!*\ | |
| 2802 | + !*** ../node_modules/core-js/internals/object-property-is-enumerable.js ***! | |
| 2803 | + \**************************************************************************/ | |
| 2804 | +/***/ ((__unused_webpack_module, exports) => { | |
| 2805 | + | |
| 2806 | +"use strict"; | |
| 2807 | + | |
| 2808 | +var $propertyIsEnumerable = {}.propertyIsEnumerable; | |
| 2809 | +// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe | |
| 2810 | +var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
| 2811 | + | |
| 2812 | +// Nashorn ~ JDK8 bug | |
| 2813 | +var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1); | |
| 2814 | + | |
| 2815 | +// `Object.prototype.propertyIsEnumerable` method implementation | |
| 2816 | +// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable | |
| 2817 | +exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { | |
| 2818 | + var descriptor = getOwnPropertyDescriptor(this, V); | |
| 2819 | + return !!descriptor && descriptor.enumerable; | |
| 2820 | +} : $propertyIsEnumerable; | |
| 2821 | + | |
| 2822 | + | |
| 2823 | +/***/ }), | |
| 2824 | + | |
| 2825 | +/***/ "../node_modules/core-js/internals/object-set-prototype-of.js": | |
| 2826 | +/*!********************************************************************!*\ | |
| 2827 | + !*** ../node_modules/core-js/internals/object-set-prototype-of.js ***! | |
| 2828 | + \********************************************************************/ | |
| 2829 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2830 | + | |
| 2831 | +/* eslint-disable no-proto -- safe */ | |
| 2832 | +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); | |
| 2833 | +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); | |
| 2834 | +var aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototype */ "../node_modules/core-js/internals/a-possible-prototype.js"); | |
| 2835 | + | |
| 2836 | +// `Object.setPrototypeOf` method | |
| 2837 | +// https://tc39.es/ecma262/#sec-object.setprototypeof | |
| 2838 | +// Works with __proto__ only. Old v8 can't work with null proto objects. | |
| 2839 | +// eslint-disable-next-line es-x/no-object-setprototypeof -- safe | |
| 2840 | +module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { | |
| 2841 | + var CORRECT_SETTER = false; | |
| 2842 | + var test = {}; | |
| 2843 | + var setter; | |
| 2844 | + try { | |
| 2845 | + // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe | |
| 2846 | + setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set); | |
| 2847 | + setter(test, []); | |
| 2848 | + CORRECT_SETTER = test instanceof Array; | |
| 2849 | + } catch (error) { /* empty */ } | |
| 2850 | + return function setPrototypeOf(O, proto) { | |
| 2851 | + anObject(O); | |
| 2852 | + aPossiblePrototype(proto); | |
| 2853 | + if (CORRECT_SETTER) setter(O, proto); | |
| 2854 | + else O.__proto__ = proto; | |
| 2855 | + return O; | |
| 2856 | + }; | |
| 2857 | +}() : undefined); | |
| 2858 | + | |
| 2859 | + | |
| 2860 | +/***/ }), | |
| 2861 | + | |
| 2862 | +/***/ "../node_modules/core-js/internals/ordinary-to-primitive.js": | |
| 2863 | +/*!******************************************************************!*\ | |
| 2864 | + !*** ../node_modules/core-js/internals/ordinary-to-primitive.js ***! | |
| 2865 | + \******************************************************************/ | |
| 2866 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2867 | + | |
| 2868 | +var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); | |
| 2869 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 2870 | +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); | |
| 2871 | + | |
| 2872 | +var $TypeError = TypeError; | |
| 2873 | + | |
| 2874 | +// `OrdinaryToPrimitive` abstract operation | |
| 2875 | +// https://tc39.es/ecma262/#sec-ordinarytoprimitive | |
| 2876 | +module.exports = function (input, pref) { | |
| 2877 | + var fn, val; | |
| 2878 | + if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; | |
| 2879 | + if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val; | |
| 2880 | + if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; | |
| 2881 | + throw $TypeError("Can't convert object to primitive value"); | |
| 2882 | +}; | |
| 2883 | + | |
| 2884 | + | |
| 2885 | +/***/ }), | |
| 2886 | + | |
| 2887 | +/***/ "../node_modules/core-js/internals/own-keys.js": | |
| 2888 | +/*!*****************************************************!*\ | |
| 2889 | + !*** ../node_modules/core-js/internals/own-keys.js ***! | |
| 2890 | + \*****************************************************/ | |
| 2891 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2892 | + | |
| 2893 | +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js"); | |
| 2894 | +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); | |
| 2895 | +var getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ "../node_modules/core-js/internals/object-get-own-property-names.js"); | |
| 2896 | +var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ "../node_modules/core-js/internals/object-get-own-property-symbols.js"); | |
| 2897 | +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); | |
| 2898 | + | |
| 2899 | +var concat = uncurryThis([].concat); | |
| 2900 | + | |
| 2901 | +// all object keys, includes non-enumerable and symbols | |
| 2902 | +module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { | |
| 2903 | + var keys = getOwnPropertyNamesModule.f(anObject(it)); | |
| 2904 | + var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; | |
| 2905 | + return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys; | |
| 2906 | +}; | |
| 2907 | + | |
| 2908 | + | |
| 2909 | +/***/ }), | |
| 2910 | + | |
| 2911 | +/***/ "../node_modules/core-js/internals/proxy-accessor.js": | |
| 2912 | +/*!***********************************************************!*\ | |
| 2913 | + !*** ../node_modules/core-js/internals/proxy-accessor.js ***! | |
| 2914 | + \***********************************************************/ | |
| 2915 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2916 | + | |
| 2917 | +var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js").f); | |
| 2918 | + | |
| 2919 | +module.exports = function (Target, Source, key) { | |
| 2920 | + key in Target || defineProperty(Target, key, { | |
| 2921 | + configurable: true, | |
| 2922 | + get: function () { return Source[key]; }, | |
| 2923 | + set: function (it) { Source[key] = it; } | |
| 2924 | + }); | |
| 2925 | +}; | |
| 2926 | + | |
| 2927 | + | |
| 2928 | +/***/ }), | |
| 2929 | + | |
| 2930 | +/***/ "../node_modules/core-js/internals/require-object-coercible.js": | |
| 2931 | +/*!*********************************************************************!*\ | |
| 2932 | + !*** ../node_modules/core-js/internals/require-object-coercible.js ***! | |
| 2933 | + \*********************************************************************/ | |
| 2934 | +/***/ ((module) => { | |
| 2935 | + | |
| 2936 | +var $TypeError = TypeError; | |
| 2937 | + | |
| 2938 | +// `RequireObjectCoercible` abstract operation | |
| 2939 | +// https://tc39.es/ecma262/#sec-requireobjectcoercible | |
| 2940 | +module.exports = function (it) { | |
| 2941 | + if (it == undefined) throw $TypeError("Can't call method on " + it); | |
| 2942 | + return it; | |
| 2943 | +}; | |
| 2944 | + | |
| 2945 | + | |
| 2946 | +/***/ }), | |
| 2947 | + | |
| 2948 | +/***/ "../node_modules/core-js/internals/shared-key.js": | |
| 2949 | +/*!*******************************************************!*\ | |
| 2950 | + !*** ../node_modules/core-js/internals/shared-key.js ***! | |
| 2951 | + \*******************************************************/ | |
| 2952 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2953 | + | |
| 2954 | +var shared = __webpack_require__(/*! ../internals/shared */ "../node_modules/core-js/internals/shared.js"); | |
| 2955 | +var uid = __webpack_require__(/*! ../internals/uid */ "../node_modules/core-js/internals/uid.js"); | |
| 2956 | + | |
| 2957 | +var keys = shared('keys'); | |
| 2958 | + | |
| 2959 | +module.exports = function (key) { | |
| 2960 | + return keys[key] || (keys[key] = uid(key)); | |
| 2961 | +}; | |
| 2962 | + | |
| 2963 | + | |
| 2964 | +/***/ }), | |
| 2965 | + | |
| 2966 | +/***/ "../node_modules/core-js/internals/shared-store.js": | |
| 2967 | +/*!*********************************************************!*\ | |
| 2968 | + !*** ../node_modules/core-js/internals/shared-store.js ***! | |
| 2969 | + \*********************************************************/ | |
| 2970 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2971 | + | |
| 2972 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 2973 | +var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js"); | |
| 2974 | + | |
| 2975 | +var SHARED = '__core-js_shared__'; | |
| 2976 | +var store = global[SHARED] || defineGlobalProperty(SHARED, {}); | |
| 2977 | + | |
| 2978 | +module.exports = store; | |
| 2979 | + | |
| 2980 | + | |
| 2981 | +/***/ }), | |
| 2982 | + | |
| 2983 | +/***/ "../node_modules/core-js/internals/shared.js": | |
| 2984 | +/*!***************************************************!*\ | |
| 2985 | + !*** ../node_modules/core-js/internals/shared.js ***! | |
| 2986 | + \***************************************************/ | |
| 2987 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2988 | + | |
| 2989 | +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js"); | |
| 2990 | +var store = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js"); | |
| 2991 | + | |
| 2992 | +(module.exports = function (key, value) { | |
| 2993 | + return store[key] || (store[key] = value !== undefined ? value : {}); | |
| 2994 | +})('versions', []).push({ | |
| 2995 | + version: '3.24.1', | |
| 2996 | + mode: IS_PURE ? 'pure' : 'global', | |
| 2997 | + copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)', | |
| 2998 | + license: 'https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE', | |
| 2999 | + source: 'https://github.com/zloirock/core-js' | |
| 3000 | +}); | |
| 3001 | + | |
| 3002 | + | |
| 3003 | +/***/ }), | |
| 3004 | + | |
| 3005 | +/***/ "../node_modules/core-js/internals/to-absolute-index.js": | |
| 3006 | +/*!**************************************************************!*\ | |
| 3007 | + !*** ../node_modules/core-js/internals/to-absolute-index.js ***! | |
| 3008 | + \**************************************************************/ | |
| 3009 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3010 | + | |
| 3011 | +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "../node_modules/core-js/internals/to-integer-or-infinity.js"); | |
| 3012 | + | |
| 3013 | +var max = Math.max; | |
| 3014 | +var min = Math.min; | |
| 3015 | + | |
| 3016 | +// Helper for a popular repeating case of the spec: | |
| 3017 | +// Let integer be ? ToInteger(index). | |
| 3018 | +// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). | |
| 3019 | +module.exports = function (index, length) { | |
| 3020 | + var integer = toIntegerOrInfinity(index); | |
| 3021 | + return integer < 0 ? max(integer + length, 0) : min(integer, length); | |
| 3022 | +}; | |
| 3023 | + | |
| 3024 | + | |
| 3025 | +/***/ }), | |
| 3026 | + | |
| 3027 | +/***/ "../node_modules/core-js/internals/to-indexed-object.js": | |
| 3028 | +/*!**************************************************************!*\ | |
| 3029 | + !*** ../node_modules/core-js/internals/to-indexed-object.js ***! | |
| 3030 | + \**************************************************************/ | |
| 3031 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3032 | + | |
| 3033 | +// toObject with fallback for non-array-like ES3 strings | |
| 3034 | +var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "../node_modules/core-js/internals/indexed-object.js"); | |
| 3035 | +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../node_modules/core-js/internals/require-object-coercible.js"); | |
| 3036 | + | |
| 3037 | +module.exports = function (it) { | |
| 3038 | + return IndexedObject(requireObjectCoercible(it)); | |
| 3039 | +}; | |
| 3040 | + | |
| 3041 | + | |
| 3042 | +/***/ }), | |
| 3043 | + | |
| 3044 | +/***/ "../node_modules/core-js/internals/to-integer-or-infinity.js": | |
| 3045 | +/*!*******************************************************************!*\ | |
| 3046 | + !*** ../node_modules/core-js/internals/to-integer-or-infinity.js ***! | |
| 3047 | + \*******************************************************************/ | |
| 3048 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3049 | + | |
| 3050 | +var trunc = __webpack_require__(/*! ../internals/math-trunc */ "../node_modules/core-js/internals/math-trunc.js"); | |
| 3051 | + | |
| 3052 | +// `ToIntegerOrInfinity` abstract operation | |
| 3053 | +// https://tc39.es/ecma262/#sec-tointegerorinfinity | |
| 3054 | +module.exports = function (argument) { | |
| 3055 | + var number = +argument; | |
| 3056 | + // eslint-disable-next-line no-self-compare -- NaN check | |
| 3057 | + return number !== number || number === 0 ? 0 : trunc(number); | |
| 3058 | +}; | |
| 3059 | + | |
| 3060 | + | |
| 3061 | +/***/ }), | |
| 3062 | + | |
| 3063 | +/***/ "../node_modules/core-js/internals/to-length.js": | |
| 3064 | +/*!******************************************************!*\ | |
| 3065 | + !*** ../node_modules/core-js/internals/to-length.js ***! | |
| 3066 | + \******************************************************/ | |
| 3067 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3068 | + | |
| 3069 | +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "../node_modules/core-js/internals/to-integer-or-infinity.js"); | |
| 3070 | + | |
| 3071 | +var min = Math.min; | |
| 3072 | + | |
| 3073 | +// `ToLength` abstract operation | |
| 3074 | +// https://tc39.es/ecma262/#sec-tolength | |
| 3075 | +module.exports = function (argument) { | |
| 3076 | + return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 | |
| 3077 | +}; | |
| 3078 | + | |
| 3079 | + | |
| 3080 | +/***/ }), | |
| 3081 | + | |
| 3082 | +/***/ "../node_modules/core-js/internals/to-object.js": | |
| 3083 | +/*!******************************************************!*\ | |
| 3084 | + !*** ../node_modules/core-js/internals/to-object.js ***! | |
| 3085 | + \******************************************************/ | |
| 3086 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3087 | + | |
| 3088 | +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../node_modules/core-js/internals/require-object-coercible.js"); | |
| 3089 | + | |
| 3090 | +var $Object = Object; | |
| 3091 | + | |
| 3092 | +// `ToObject` abstract operation | |
| 3093 | +// https://tc39.es/ecma262/#sec-toobject | |
| 3094 | +module.exports = function (argument) { | |
| 3095 | + return $Object(requireObjectCoercible(argument)); | |
| 3096 | +}; | |
| 3097 | + | |
| 3098 | + | |
| 3099 | +/***/ }), | |
| 3100 | + | |
| 3101 | +/***/ "../node_modules/core-js/internals/to-primitive.js": | |
| 3102 | +/*!*********************************************************!*\ | |
| 3103 | + !*** ../node_modules/core-js/internals/to-primitive.js ***! | |
| 3104 | + \*********************************************************/ | |
| 3105 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3106 | + | |
| 3107 | +var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); | |
| 3108 | +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); | |
| 3109 | +var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../node_modules/core-js/internals/is-symbol.js"); | |
| 3110 | +var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js"); | |
| 3111 | +var ordinaryToPrimitive = __webpack_require__(/*! ../internals/ordinary-to-primitive */ "../node_modules/core-js/internals/ordinary-to-primitive.js"); | |
| 3112 | +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); | |
| 3113 | + | |
| 3114 | +var $TypeError = TypeError; | |
| 3115 | +var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); | |
| 3116 | + | |
| 3117 | +// `ToPrimitive` abstract operation | |
| 3118 | +// https://tc39.es/ecma262/#sec-toprimitive | |
| 3119 | +module.exports = function (input, pref) { | |
| 3120 | + if (!isObject(input) || isSymbol(input)) return input; | |
| 3121 | + var exoticToPrim = getMethod(input, TO_PRIMITIVE); | |
| 3122 | + var result; | |
| 3123 | + if (exoticToPrim) { | |
| 3124 | + if (pref === undefined) pref = 'default'; | |
| 3125 | + result = call(exoticToPrim, input, pref); | |
| 3126 | + if (!isObject(result) || isSymbol(result)) return result; | |
| 3127 | + throw $TypeError("Can't convert object to primitive value"); | |
| 3128 | + } | |
| 3129 | + if (pref === undefined) pref = 'number'; | |
| 3130 | + return ordinaryToPrimitive(input, pref); | |
| 3131 | +}; | |
| 3132 | + | |
| 3133 | + | |
| 3134 | +/***/ }), | |
| 3135 | + | |
| 3136 | +/***/ "../node_modules/core-js/internals/to-property-key.js": | |
| 3137 | +/*!************************************************************!*\ | |
| 3138 | + !*** ../node_modules/core-js/internals/to-property-key.js ***! | |
| 3139 | + \************************************************************/ | |
| 3140 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3141 | + | |
| 3142 | +var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "../node_modules/core-js/internals/to-primitive.js"); | |
| 3143 | +var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../node_modules/core-js/internals/is-symbol.js"); | |
| 3144 | + | |
| 3145 | +// `ToPropertyKey` abstract operation | |
| 3146 | +// https://tc39.es/ecma262/#sec-topropertykey | |
| 3147 | +module.exports = function (argument) { | |
| 3148 | + var key = toPrimitive(argument, 'string'); | |
| 3149 | + return isSymbol(key) ? key : key + ''; | |
| 3150 | +}; | |
| 3151 | + | |
| 3152 | + | |
| 3153 | +/***/ }), | |
| 3154 | + | |
| 3155 | +/***/ "../node_modules/core-js/internals/to-string-tag-support.js": | |
| 3156 | +/*!******************************************************************!*\ | |
| 3157 | + !*** ../node_modules/core-js/internals/to-string-tag-support.js ***! | |
| 3158 | + \******************************************************************/ | |
| 3159 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3160 | + | |
| 3161 | +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); | |
| 3162 | + | |
| 3163 | +var TO_STRING_TAG = wellKnownSymbol('toStringTag'); | |
| 3164 | +var test = {}; | |
| 3165 | + | |
| 3166 | +test[TO_STRING_TAG] = 'z'; | |
| 3167 | + | |
| 3168 | +module.exports = String(test) === '[object z]'; | |
| 3169 | + | |
| 3170 | + | |
| 3171 | +/***/ }), | |
| 3172 | + | |
| 3173 | +/***/ "../node_modules/core-js/internals/to-string.js": | |
| 3174 | +/*!******************************************************!*\ | |
| 3175 | + !*** ../node_modules/core-js/internals/to-string.js ***! | |
| 3176 | + \******************************************************/ | |
| 3177 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3178 | + | |
| 3179 | +var classof = __webpack_require__(/*! ../internals/classof */ "../node_modules/core-js/internals/classof.js"); | |
| 3180 | + | |
| 3181 | +var $String = String; | |
| 3182 | + | |
| 3183 | +module.exports = function (argument) { | |
| 3184 | + if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string'); | |
| 3185 | + return $String(argument); | |
| 3186 | +}; | |
| 3187 | + | |
| 3188 | + | |
| 3189 | +/***/ }), | |
| 3190 | + | |
| 3191 | +/***/ "../node_modules/core-js/internals/try-to-string.js": | |
| 3192 | +/*!**********************************************************!*\ | |
| 3193 | + !*** ../node_modules/core-js/internals/try-to-string.js ***! | |
| 3194 | + \**********************************************************/ | |
| 3195 | +/***/ ((module) => { | |
| 3196 | + | |
| 3197 | +var $String = String; | |
| 3198 | + | |
| 3199 | +module.exports = function (argument) { | |
| 3200 | + try { | |
| 3201 | + return $String(argument); | |
| 3202 | + } catch (error) { | |
| 3203 | + return 'Object'; | |
| 3204 | + } | |
| 3205 | +}; | |
| 3206 | + | |
| 3207 | + | |
| 3208 | +/***/ }), | |
| 3209 | + | |
| 3210 | +/***/ "../node_modules/core-js/internals/uid.js": | |
| 3211 | +/*!************************************************!*\ | |
| 3212 | + !*** ../node_modules/core-js/internals/uid.js ***! | |
| 3213 | + \************************************************/ | |
| 3214 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3215 | + | |
| 3216 | +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); | |
| 3217 | + | |
| 3218 | +var id = 0; | |
| 3219 | +var postfix = Math.random(); | |
| 3220 | +var toString = uncurryThis(1.0.toString); | |
| 3221 | + | |
| 3222 | +module.exports = function (key) { | |
| 3223 | + return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); | |
| 3224 | +}; | |
| 3225 | + | |
| 3226 | + | |
| 3227 | +/***/ }), | |
| 3228 | + | |
| 3229 | +/***/ "../node_modules/core-js/internals/use-symbol-as-uid.js": | |
| 3230 | +/*!**************************************************************!*\ | |
| 3231 | + !*** ../node_modules/core-js/internals/use-symbol-as-uid.js ***! | |
| 3232 | + \**************************************************************/ | |
| 3233 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3234 | + | |
| 3235 | +/* eslint-disable es-x/no-symbol -- required for testing */ | |
| 3236 | +var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/native-symbol */ "../node_modules/core-js/internals/native-symbol.js"); | |
| 3237 | + | |
| 3238 | +module.exports = NATIVE_SYMBOL | |
| 3239 | + && !Symbol.sham | |
| 3240 | + && typeof Symbol.iterator == 'symbol'; | |
| 3241 | + | |
| 3242 | + | |
| 3243 | +/***/ }), | |
| 3244 | + | |
| 3245 | +/***/ "../node_modules/core-js/internals/v8-prototype-define-bug.js": | |
| 3246 | +/*!********************************************************************!*\ | |
| 3247 | + !*** ../node_modules/core-js/internals/v8-prototype-define-bug.js ***! | |
| 3248 | + \********************************************************************/ | |
| 3249 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3250 | + | |
| 3251 | +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); | |
| 3252 | +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 3253 | + | |
| 3254 | +// V8 ~ Chrome 36- | |
| 3255 | +// https://bugs.chromium.org/p/v8/issues/detail?id=3334 | |
| 3256 | +module.exports = DESCRIPTORS && fails(function () { | |
| 3257 | + // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing | |
| 3258 | + return Object.defineProperty(function () { /* empty */ }, 'prototype', { | |
| 3259 | + value: 42, | |
| 3260 | + writable: false | |
| 3261 | + }).prototype != 42; | |
| 3262 | +}); | |
| 3263 | + | |
| 3264 | + | |
| 3265 | +/***/ }), | |
| 3266 | + | |
| 3267 | +/***/ "../node_modules/core-js/internals/well-known-symbol.js": | |
| 3268 | +/*!**************************************************************!*\ | |
| 3269 | + !*** ../node_modules/core-js/internals/well-known-symbol.js ***! | |
| 3270 | + \**************************************************************/ | |
| 3271 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3272 | + | |
| 3273 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 3274 | +var shared = __webpack_require__(/*! ../internals/shared */ "../node_modules/core-js/internals/shared.js"); | |
| 3275 | +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); | |
| 3276 | +var uid = __webpack_require__(/*! ../internals/uid */ "../node_modules/core-js/internals/uid.js"); | |
| 3277 | +var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/native-symbol */ "../node_modules/core-js/internals/native-symbol.js"); | |
| 3278 | +var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../node_modules/core-js/internals/use-symbol-as-uid.js"); | |
| 3279 | + | |
| 3280 | +var WellKnownSymbolsStore = shared('wks'); | |
| 3281 | +var Symbol = global.Symbol; | |
| 3282 | +var symbolFor = Symbol && Symbol['for']; | |
| 3283 | +var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid; | |
| 3284 | + | |
| 3285 | +module.exports = function (name) { | |
| 3286 | + if (!hasOwn(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) { | |
| 3287 | + var description = 'Symbol.' + name; | |
| 3288 | + if (NATIVE_SYMBOL && hasOwn(Symbol, name)) { | |
| 3289 | + WellKnownSymbolsStore[name] = Symbol[name]; | |
| 3290 | + } else if (USE_SYMBOL_AS_UID && symbolFor) { | |
| 3291 | + WellKnownSymbolsStore[name] = symbolFor(description); | |
| 3292 | + } else { | |
| 3293 | + WellKnownSymbolsStore[name] = createWellKnownSymbol(description); | |
| 3294 | + } | |
| 3295 | + } return WellKnownSymbolsStore[name]; | |
| 3296 | +}; | |
| 3297 | + | |
| 3298 | + | |
| 3299 | +/***/ }), | |
| 3300 | + | |
| 3301 | +/***/ "../node_modules/core-js/internals/wrap-error-constructor-with-cause.js": | |
| 3302 | +/*!******************************************************************************!*\ | |
| 3303 | + !*** ../node_modules/core-js/internals/wrap-error-constructor-with-cause.js ***! | |
| 3304 | + \******************************************************************************/ | |
| 3305 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3306 | + | |
| 3307 | +"use strict"; | |
| 3308 | + | |
| 3309 | +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js"); | |
| 3310 | +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); | |
| 3311 | +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); | |
| 3312 | +var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js"); | |
| 3313 | +var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "../node_modules/core-js/internals/object-set-prototype-of.js"); | |
| 3314 | +var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "../node_modules/core-js/internals/copy-constructor-properties.js"); | |
| 3315 | +var proxyAccessor = __webpack_require__(/*! ../internals/proxy-accessor */ "../node_modules/core-js/internals/proxy-accessor.js"); | |
| 3316 | +var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ "../node_modules/core-js/internals/inherit-if-required.js"); | |
| 3317 | +var normalizeStringArgument = __webpack_require__(/*! ../internals/normalize-string-argument */ "../node_modules/core-js/internals/normalize-string-argument.js"); | |
| 3318 | +var installErrorCause = __webpack_require__(/*! ../internals/install-error-cause */ "../node_modules/core-js/internals/install-error-cause.js"); | |
| 3319 | +var clearErrorStack = __webpack_require__(/*! ../internals/clear-error-stack */ "../node_modules/core-js/internals/clear-error-stack.js"); | |
| 3320 | +var ERROR_STACK_INSTALLABLE = __webpack_require__(/*! ../internals/error-stack-installable */ "../node_modules/core-js/internals/error-stack-installable.js"); | |
| 3321 | +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); | |
| 3322 | +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js"); | |
| 3323 | + | |
| 3324 | +module.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) { | |
| 3325 | + var STACK_TRACE_LIMIT = 'stackTraceLimit'; | |
| 3326 | + var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1; | |
| 3327 | + var path = FULL_NAME.split('.'); | |
| 3328 | + var ERROR_NAME = path[path.length - 1]; | |
| 3329 | + var OriginalError = getBuiltIn.apply(null, path); | |
| 3330 | + | |
| 3331 | + if (!OriginalError) return; | |
| 3332 | + | |
| 3333 | + var OriginalErrorPrototype = OriginalError.prototype; | |
| 3334 | + | |
| 3335 | + // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006 | |
| 3336 | + if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause; | |
| 3337 | + | |
| 3338 | + if (!FORCED) return OriginalError; | |
| 3339 | + | |
| 3340 | + var BaseError = getBuiltIn('Error'); | |
| 3341 | + | |
| 3342 | + var WrappedError = wrapper(function (a, b) { | |
| 3343 | + var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined); | |
| 3344 | + var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError(); | |
| 3345 | + if (message !== undefined) createNonEnumerableProperty(result, 'message', message); | |
| 3346 | + if (ERROR_STACK_INSTALLABLE) createNonEnumerableProperty(result, 'stack', clearErrorStack(result.stack, 2)); | |
| 3347 | + if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError); | |
| 3348 | + if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]); | |
| 3349 | + return result; | |
| 3350 | + }); | |
| 3351 | + | |
| 3352 | + WrappedError.prototype = OriginalErrorPrototype; | |
| 3353 | + | |
| 3354 | + if (ERROR_NAME !== 'Error') { | |
| 3355 | + if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError); | |
| 3356 | + else copyConstructorProperties(WrappedError, BaseError, { name: true }); | |
| 3357 | + } else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) { | |
| 3358 | + proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT); | |
| 3359 | + proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace'); | |
| 3360 | + } | |
| 3361 | + | |
| 3362 | + copyConstructorProperties(WrappedError, OriginalError); | |
| 3363 | + | |
| 3364 | + if (!IS_PURE) try { | |
| 3365 | + // Safari 13- bug: WebAssembly errors does not have a proper `.name` | |
| 3366 | + if (OriginalErrorPrototype.name !== ERROR_NAME) { | |
| 3367 | + createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME); | |
| 3368 | + } | |
| 3369 | + OriginalErrorPrototype.constructor = WrappedError; | |
| 3370 | + } catch (error) { /* empty */ } | |
| 3371 | + | |
| 3372 | + return WrappedError; | |
| 3373 | +}; | |
| 3374 | + | |
| 3375 | + | |
| 3376 | +/***/ }), | |
| 3377 | + | |
| 3378 | +/***/ "../node_modules/core-js/modules/es.array.includes.js": | |
| 3379 | +/*!************************************************************!*\ | |
| 3380 | + !*** ../node_modules/core-js/modules/es.array.includes.js ***! | |
| 3381 | + \************************************************************/ | |
| 3382 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 3383 | + | |
| 3384 | +"use strict"; | |
| 3385 | + | |
| 3386 | +var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js"); | |
| 3387 | +var $includes = (__webpack_require__(/*! ../internals/array-includes */ "../node_modules/core-js/internals/array-includes.js").includes); | |
| 3388 | +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 3389 | +var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "../node_modules/core-js/internals/add-to-unscopables.js"); | |
| 3390 | + | |
| 3391 | +// FF99+ bug | |
| 3392 | +var BROKEN_ON_SPARSE = fails(function () { | |
| 3393 | + return !Array(1).includes(); | |
| 3394 | +}); | |
| 3395 | + | |
| 3396 | +// `Array.prototype.includes` method | |
| 3397 | +// https://tc39.es/ecma262/#sec-array.prototype.includes | |
| 3398 | +$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, { | |
| 3399 | + includes: function includes(el /* , fromIndex = 0 */) { | |
| 3400 | + return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); | |
| 3401 | + } | |
| 3402 | +}); | |
| 3403 | + | |
| 3404 | +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables | |
| 3405 | +addToUnscopables('includes'); | |
| 3406 | + | |
| 3407 | + | |
| 3408 | +/***/ }), | |
| 3409 | + | |
| 3410 | +/***/ "../node_modules/core-js/modules/es.error.cause.js": | |
| 3411 | +/*!*********************************************************!*\ | |
| 3412 | + !*** ../node_modules/core-js/modules/es.error.cause.js ***! | |
| 3413 | + \*********************************************************/ | |
| 3414 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 3415 | + | |
| 3416 | +/* eslint-disable no-unused-vars -- required for functions `.length` */ | |
| 3417 | +var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js"); | |
| 3418 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 3419 | +var apply = __webpack_require__(/*! ../internals/function-apply */ "../node_modules/core-js/internals/function-apply.js"); | |
| 3420 | +var wrapErrorConstructorWithCause = __webpack_require__(/*! ../internals/wrap-error-constructor-with-cause */ "../node_modules/core-js/internals/wrap-error-constructor-with-cause.js"); | |
| 3421 | + | |
| 3422 | +var WEB_ASSEMBLY = 'WebAssembly'; | |
| 3423 | +var WebAssembly = global[WEB_ASSEMBLY]; | |
| 3424 | + | |
| 3425 | +var FORCED = Error('e', { cause: 7 }).cause !== 7; | |
| 3426 | + | |
| 3427 | +var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) { | |
| 3428 | + var O = {}; | |
| 3429 | + O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED); | |
| 3430 | + $({ global: true, constructor: true, arity: 1, forced: FORCED }, O); | |
| 3431 | +}; | |
| 3432 | + | |
| 3433 | +var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) { | |
| 3434 | + if (WebAssembly && WebAssembly[ERROR_NAME]) { | |
| 3435 | + var O = {}; | |
| 3436 | + O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED); | |
| 3437 | + $({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED }, O); | |
| 3438 | + } | |
| 3439 | +}; | |
| 3440 | + | |
| 3441 | +// https://github.com/tc39/proposal-error-cause | |
| 3442 | +exportGlobalErrorCauseWrapper('Error', function (init) { | |
| 3443 | + return function Error(message) { return apply(init, this, arguments); }; | |
| 3444 | +}); | |
| 3445 | +exportGlobalErrorCauseWrapper('EvalError', function (init) { | |
| 3446 | + return function EvalError(message) { return apply(init, this, arguments); }; | |
| 3447 | +}); | |
| 3448 | +exportGlobalErrorCauseWrapper('RangeError', function (init) { | |
| 3449 | + return function RangeError(message) { return apply(init, this, arguments); }; | |
| 3450 | +}); | |
| 3451 | +exportGlobalErrorCauseWrapper('ReferenceError', function (init) { | |
| 3452 | + return function ReferenceError(message) { return apply(init, this, arguments); }; | |
| 3453 | +}); | |
| 3454 | +exportGlobalErrorCauseWrapper('SyntaxError', function (init) { | |
| 3455 | + return function SyntaxError(message) { return apply(init, this, arguments); }; | |
| 3456 | +}); | |
| 3457 | +exportGlobalErrorCauseWrapper('TypeError', function (init) { | |
| 3458 | + return function TypeError(message) { return apply(init, this, arguments); }; | |
| 3459 | +}); | |
| 3460 | +exportGlobalErrorCauseWrapper('URIError', function (init) { | |
| 3461 | + return function URIError(message) { return apply(init, this, arguments); }; | |
| 3462 | +}); | |
| 3463 | +exportWebAssemblyErrorCauseWrapper('CompileError', function (init) { | |
| 3464 | + return function CompileError(message) { return apply(init, this, arguments); }; | |
| 3465 | +}); | |
| 3466 | +exportWebAssemblyErrorCauseWrapper('LinkError', function (init) { | |
| 3467 | + return function LinkError(message) { return apply(init, this, arguments); }; | |
| 3468 | +}); | |
| 3469 | +exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) { | |
| 3470 | + return function RuntimeError(message) { return apply(init, this, arguments); }; | |
| 3471 | +}); | |
| 3472 | + | |
| 3473 | + | |
| 3474 | +/***/ }), | |
| 3475 | + | |
| 3476 | +/***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js": | |
| 3477 | +/*!***********************************************************************!*\ | |
| 3478 | + !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! | |
| 3479 | + \***********************************************************************/ | |
| 3480 | +/***/ ((module) => { | |
| 3481 | + | |
| 3482 | +function _interopRequireDefault(obj) { | |
| 3483 | + return obj && obj.__esModule ? obj : { | |
| 3484 | + "default": obj | |
| 3485 | + }; | |
| 3486 | +} | |
| 3487 | + | |
| 3488 | +module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 3489 | + | |
| 3490 | +/***/ }) | |
| 3491 | + | |
| 3492 | +}, | |
| 3493 | +/******/ __webpack_require__ => { // webpackRuntimeModules | |
| 3494 | +/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId)) | |
| 3495 | +/******/ var __webpack_exports__ = (__webpack_exec__("../assets/dev/js/frontend/modules.js")); | |
| 3496 | +/******/ } | |
| 3497 | +]); | |
| 3411 | 3498 | //# sourceMappingURL=frontend-modules.js.map |