| @@ -1,4043 +1,9914 @@ | ||
| 1 | +/*! elementor - v3.0.3 - 27-08-2020 */ | |
| 2 | +/******/ (function(modules) { // webpackBootstrap | |
| 3 | +/******/ // The module cache | |
| 4 | +/******/ var installedModules = {}; | |
| 5 | +/******/ | |
| 6 | +/******/ // The require function | |
| 7 | +/******/ function __webpack_require__(moduleId) { | |
| 8 | +/******/ | |
| 9 | +/******/ // Check if module is in cache | |
| 10 | +/******/ if(installedModules[moduleId]) { | |
| 11 | +/******/ return installedModules[moduleId].exports; | |
| 12 | +/******/ } | |
| 13 | +/******/ // Create a new module (and put it into the cache) | |
| 14 | +/******/ var module = installedModules[moduleId] = { | |
| 15 | +/******/ i: moduleId, | |
| 16 | +/******/ l: false, | |
| 17 | +/******/ exports: {} | |
| 18 | +/******/ }; | |
| 19 | +/******/ | |
| 20 | +/******/ // Execute the module function | |
| 21 | +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); | |
| 22 | +/******/ | |
| 23 | +/******/ // Flag the module as loaded | |
| 24 | +/******/ module.l = true; | |
| 25 | +/******/ | |
| 26 | +/******/ // Return the exports of the module | |
| 27 | +/******/ return module.exports; | |
| 28 | +/******/ } | |
| 29 | +/******/ | |
| 30 | +/******/ | |
| 31 | +/******/ // expose the modules object (__webpack_modules__) | |
| 32 | +/******/ __webpack_require__.m = modules; | |
| 33 | +/******/ | |
| 34 | +/******/ // expose the module cache | |
| 35 | +/******/ __webpack_require__.c = installedModules; | |
| 36 | +/******/ | |
| 37 | +/******/ // define getter function for harmony exports | |
| 38 | +/******/ __webpack_require__.d = function(exports, name, getter) { | |
| 39 | +/******/ if(!__webpack_require__.o(exports, name)) { | |
| 40 | +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); | |
| 41 | +/******/ } | |
| 42 | +/******/ }; | |
| 43 | +/******/ | |
| 44 | +/******/ // define __esModule on exports | |
| 45 | +/******/ __webpack_require__.r = function(exports) { | |
| 46 | +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | |
| 47 | +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | |
| 48 | +/******/ } | |
| 49 | +/******/ Object.defineProperty(exports, '__esModule', { value: true }); | |
| 50 | +/******/ }; | |
| 51 | +/******/ | |
| 52 | +/******/ // create a fake namespace object | |
| 53 | +/******/ // mode & 1: value is a module id, require it | |
| 54 | +/******/ // mode & 2: merge all properties of value into the ns | |
| 55 | +/******/ // mode & 4: return value when already ns object | |
| 56 | +/******/ // mode & 8|1: behave like require | |
| 57 | +/******/ __webpack_require__.t = function(value, mode) { | |
| 58 | +/******/ if(mode & 1) value = __webpack_require__(value); | |
| 59 | +/******/ if(mode & 8) return value; | |
| 60 | +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; | |
| 61 | +/******/ var ns = Object.create(null); | |
| 62 | +/******/ __webpack_require__.r(ns); | |
| 63 | +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); | |
| 64 | +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); | |
| 65 | +/******/ return ns; | |
| 66 | +/******/ }; | |
| 67 | +/******/ | |
| 68 | +/******/ // getDefaultExport function for compatibility with non-harmony modules | |
| 69 | +/******/ __webpack_require__.n = function(module) { | |
| 70 | +/******/ var getter = module && module.__esModule ? | |
| 71 | +/******/ function getDefault() { return module['default']; } : | |
| 72 | +/******/ function getModuleExports() { return module; }; | |
| 73 | +/******/ __webpack_require__.d(getter, 'a', getter); | |
| 74 | +/******/ return getter; | |
| 75 | +/******/ }; | |
| 76 | +/******/ | |
| 77 | +/******/ // Object.prototype.hasOwnProperty.call | |
| 78 | +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; | |
| 79 | +/******/ | |
| 80 | +/******/ // __webpack_public_path__ | |
| 81 | +/******/ __webpack_require__.p = ""; | |
| 82 | +/******/ | |
| 83 | +/******/ | |
| 84 | +/******/ // Load entry module and return exports | |
| 85 | +/******/ return __webpack_require__(__webpack_require__.s = 785); | |
| 86 | +/******/ }) | |
| 87 | +/************************************************************************/ | |
| 88 | +/******/ ([ | |
| 89 | +/* 0 */ | |
| 90 | +/***/ (function(module, exports) { | |
| 91 | + | |
| 92 | +function _interopRequireDefault(obj) { | |
| 93 | + return obj && obj.__esModule ? obj : { | |
| 94 | + "default": obj | |
| 95 | + }; | |
| 96 | +} | |
| 97 | + | |
| 98 | +module.exports = _interopRequireDefault; | |
| 99 | + | |
| 100 | +/***/ }), | |
| 101 | +/* 1 */ | |
| 102 | +/***/ (function(module, exports, __webpack_require__) { | |
| 103 | + | |
| 104 | +module.exports = __webpack_require__(155); | |
| 105 | + | |
| 106 | +/***/ }), | |
| 107 | +/* 2 */ | |
| 108 | +/***/ (function(module, exports) { | |
| 109 | + | |
| 110 | +function _classCallCheck(instance, Constructor) { | |
| 111 | + if (!(instance instanceof Constructor)) { | |
| 112 | + throw new TypeError("Cannot call a class as a function"); | |
| 113 | + } | |
| 114 | +} | |
| 115 | + | |
| 116 | +module.exports = _classCallCheck; | |
| 117 | + | |
| 118 | +/***/ }), | |
| 119 | +/* 3 */ | |
| 120 | +/***/ (function(module, exports, __webpack_require__) { | |
| 121 | + | |
| 122 | +var _Object$defineProperty = __webpack_require__(1); | |
| 123 | + | |
| 124 | +function _defineProperties(target, props) { | |
| 125 | + for (var i = 0; i < props.length; i++) { | |
| 126 | + var descriptor = props[i]; | |
| 127 | + descriptor.enumerable = descriptor.enumerable || false; | |
| 128 | + descriptor.configurable = true; | |
| 129 | + if ("value" in descriptor) descriptor.writable = true; | |
| 130 | + | |
| 131 | + _Object$defineProperty(target, descriptor.key, descriptor); | |
| 132 | + } | |
| 133 | +} | |
| 134 | + | |
| 135 | +function _createClass(Constructor, protoProps, staticProps) { | |
| 136 | + if (protoProps) _defineProperties(Constructor.prototype, protoProps); | |
| 137 | + if (staticProps) _defineProperties(Constructor, staticProps); | |
| 138 | + return Constructor; | |
| 139 | +} | |
| 140 | + | |
| 141 | +module.exports = _createClass; | |
| 142 | + | |
| 143 | +/***/ }), | |
| 144 | +/* 4 */ | |
| 145 | +/***/ (function(module, exports, __webpack_require__) { | |
| 146 | + | |
| 147 | +var _Object$create = __webpack_require__(137); | |
| 148 | + | |
| 149 | +var setPrototypeOf = __webpack_require__(135); | |
| 150 | + | |
| 151 | +function _inherits(subClass, superClass) { | |
| 152 | + if (typeof superClass !== "function" && superClass !== null) { | |
| 153 | + throw new TypeError("Super expression must either be null or a function"); | |
| 154 | + } | |
| 155 | + | |
| 156 | + subClass.prototype = _Object$create(superClass && superClass.prototype, { | |
| 157 | + constructor: { | |
| 158 | + value: subClass, | |
| 159 | + writable: true, | |
| 160 | + configurable: true | |
| 161 | + } | |
| 162 | + }); | |
| 163 | + if (superClass) setPrototypeOf(subClass, superClass); | |
| 164 | +} | |
| 165 | + | |
| 166 | +module.exports = _inherits; | |
| 167 | + | |
| 168 | +/***/ }), | |
| 169 | +/* 5 */ | |
| 170 | +/***/ (function(module, exports, __webpack_require__) { | |
| 171 | + | |
| 172 | +var _Reflect$construct = __webpack_require__(107); | |
| 173 | + | |
| 174 | +var getPrototypeOf = __webpack_require__(16); | |
| 175 | + | |
| 176 | +var isNativeReflectConstruct = __webpack_require__(148); | |
| 177 | + | |
| 178 | +var possibleConstructorReturn = __webpack_require__(170); | |
| 179 | + | |
| 180 | +function _createSuper(Derived) { | |
| 181 | + var hasNativeReflectConstruct = isNativeReflectConstruct(); | |
| 182 | + return function _createSuperInternal() { | |
| 183 | + var Super = getPrototypeOf(Derived), | |
| 184 | + result; | |
| 185 | + | |
| 186 | + if (hasNativeReflectConstruct) { | |
| 187 | + var NewTarget = getPrototypeOf(this).constructor; | |
| 188 | + result = _Reflect$construct(Super, arguments, NewTarget); | |
| 189 | + } else { | |
| 190 | + result = Super.apply(this, arguments); | |
| 191 | + } | |
| 192 | + | |
| 193 | + return possibleConstructorReturn(this, result); | |
| 194 | + }; | |
| 195 | +} | |
| 196 | + | |
| 197 | +module.exports = _createSuper; | |
| 198 | + | |
| 199 | +/***/ }), | |
| 200 | +/* 6 */ | |
| 201 | +/***/ (function(module, exports) { | |
| 202 | + | |
| 203 | +var core = module.exports = { version: '2.6.11' }; | |
| 204 | +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef | |
| 205 | + | |
| 206 | + | |
| 207 | +/***/ }), | |
| 208 | +/* 7 */ | |
| 209 | +/***/ (function(module, exports, __webpack_require__) { | |
| 210 | + | |
| 211 | +var global = __webpack_require__(8); | |
| 212 | +var core = __webpack_require__(6); | |
| 213 | +var ctx = __webpack_require__(31); | |
| 214 | +var hide = __webpack_require__(24); | |
| 215 | +var has = __webpack_require__(19); | |
| 216 | +var PROTOTYPE = 'prototype'; | |
| 217 | + | |
| 218 | +var $export = function (type, name, source) { | |
| 219 | + var IS_FORCED = type & $export.F; | |
| 220 | + var IS_GLOBAL = type & $export.G; | |
| 221 | + var IS_STATIC = type & $export.S; | |
| 222 | + var IS_PROTO = type & $export.P; | |
| 223 | + var IS_BIND = type & $export.B; | |
| 224 | + var IS_WRAP = type & $export.W; | |
| 225 | + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); | |
| 226 | + var expProto = exports[PROTOTYPE]; | |
| 227 | + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]; | |
| 228 | + var key, own, out; | |
| 229 | + if (IS_GLOBAL) source = name; | |
| 230 | + for (key in source) { | |
| 231 | + // contains in native | |
| 232 | + own = !IS_FORCED && target && target[key] !== undefined; | |
| 233 | + if (own && has(exports, key)) continue; | |
| 234 | + // export native or passed | |
| 235 | + out = own ? target[key] : source[key]; | |
| 236 | + // prevent global pollution for namespaces | |
| 237 | + exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key] | |
| 238 | + // bind timers to global for call from export context | |
| 239 | + : IS_BIND && own ? ctx(out, global) | |
| 240 | + // wrap global constructors for prevent change them in library | |
| 241 | + : IS_WRAP && target[key] == out ? (function (C) { | |
| 242 | + var F = function (a, b, c) { | |
| 243 | + if (this instanceof C) { | |
| 244 | + switch (arguments.length) { | |
| 245 | + case 0: return new C(); | |
| 246 | + case 1: return new C(a); | |
| 247 | + case 2: return new C(a, b); | |
| 248 | + } return new C(a, b, c); | |
| 249 | + } return C.apply(this, arguments); | |
| 250 | + }; | |
| 251 | + F[PROTOTYPE] = C[PROTOTYPE]; | |
| 252 | + return F; | |
| 253 | + // make static versions for prototype methods | |
| 254 | + })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; | |
| 255 | + // export proto methods to core.%CONSTRUCTOR%.methods.%NAME% | |
| 256 | + if (IS_PROTO) { | |
| 257 | + (exports.virtual || (exports.virtual = {}))[key] = out; | |
| 258 | + // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME% | |
| 259 | + if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out); | |
| 260 | + } | |
| 261 | + } | |
| 262 | +}; | |
| 263 | +// type bitmap | |
| 264 | +$export.F = 1; // forced | |
| 265 | +$export.G = 2; // global | |
| 266 | +$export.S = 4; // static | |
| 267 | +$export.P = 8; // proto | |
| 268 | +$export.B = 16; // bind | |
| 269 | +$export.W = 32; // wrap | |
| 270 | +$export.U = 64; // safe | |
| 271 | +$export.R = 128; // real proto method for `library` | |
| 272 | +module.exports = $export; | |
| 273 | + | |
| 274 | + | |
| 275 | +/***/ }), | |
| 276 | +/* 8 */ | |
| 277 | +/***/ (function(module, exports) { | |
| 278 | + | |
| 279 | +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 | |
| 280 | +var global = module.exports = typeof window != 'undefined' && window.Math == Math | |
| 281 | + ? window : typeof self != 'undefined' && self.Math == Math ? self | |
| 282 | + // eslint-disable-next-line no-new-func | |
| 283 | + : Function('return this')(); | |
| 284 | +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef | |
| 285 | + | |
| 286 | + | |
| 287 | +/***/ }), | |
| 288 | +/* 9 */ | |
| 289 | +/***/ (function(module, exports) { | |
| 290 | + | |
| 291 | +module.exports = function (it) { | |
| 292 | + return typeof it === 'object' ? it !== null : typeof it === 'function'; | |
| 293 | +}; | |
| 294 | + | |
| 295 | + | |
| 296 | +/***/ }), | |
| 297 | +/* 10 */ | |
| 298 | +/***/ (function(module, exports, __webpack_require__) { | |
| 299 | + | |
| 300 | +var store = __webpack_require__(76)('wks'); | |
| 301 | +var uid = __webpack_require__(59); | |
| 302 | +var Symbol = __webpack_require__(8).Symbol; | |
| 303 | +var USE_SYMBOL = typeof Symbol == 'function'; | |
| 304 | + | |
| 305 | +var $exports = module.exports = function (name) { | |
| 306 | + return store[name] || (store[name] = | |
| 307 | + USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); | |
| 308 | +}; | |
| 309 | + | |
| 310 | +$exports.store = store; | |
| 311 | + | |
| 312 | + | |
| 313 | +/***/ }), | |
| 314 | +/* 11 */, | |
| 315 | +/* 12 */ | |
| 316 | +/***/ (function(module, exports, __webpack_require__) { | |
| 317 | + | |
| 318 | +var store = __webpack_require__(66)('wks'); | |
| 319 | +var uid = __webpack_require__(67); | |
| 320 | +var Symbol = __webpack_require__(17).Symbol; | |
| 321 | +var USE_SYMBOL = typeof Symbol == 'function'; | |
| 322 | + | |
| 323 | +var $exports = module.exports = function (name) { | |
| 324 | + return store[name] || (store[name] = | |
| 325 | + USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); | |
| 326 | +}; | |
| 327 | + | |
| 328 | +$exports.store = store; | |
| 329 | + | |
| 330 | + | |
| 331 | +/***/ }), | |
| 332 | +/* 13 */ | |
| 333 | +/***/ (function(module, exports, __webpack_require__) { | |
| 334 | + | |
| 335 | +var isObject = __webpack_require__(9); | |
| 336 | +module.exports = function (it) { | |
| 337 | + if (!isObject(it)) throw TypeError(it + ' is not an object!'); | |
| 338 | + return it; | |
| 339 | +}; | |
| 340 | + | |
| 341 | + | |
| 342 | +/***/ }), | |
| 343 | +/* 14 */ | |
| 344 | +/***/ (function(module, exports, __webpack_require__) { | |
| 345 | + | |
| 346 | +// Thank's IE8 for his funny defineProperty | |
| 347 | +module.exports = !__webpack_require__(22)(function () { | |
| 348 | + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; | |
| 349 | +}); | |
| 350 | + | |
| 351 | + | |
| 352 | +/***/ }), | |
| 353 | +/* 15 */ | |
| 354 | +/***/ (function(module, exports, __webpack_require__) { | |
| 355 | + | |
| 356 | +var anObject = __webpack_require__(13); | |
| 357 | +var IE8_DOM_DEFINE = __webpack_require__(114); | |
| 358 | +var toPrimitive = __webpack_require__(74); | |
| 359 | +var dP = Object.defineProperty; | |
| 360 | + | |
| 361 | +exports.f = __webpack_require__(14) ? Object.defineProperty : function defineProperty(O, P, Attributes) { | |
| 362 | + anObject(O); | |
| 363 | + P = toPrimitive(P, true); | |
| 364 | + anObject(Attributes); | |
| 365 | + if (IE8_DOM_DEFINE) try { | |
| 366 | + return dP(O, P, Attributes); | |
| 367 | + } catch (e) { /* empty */ } | |
| 368 | + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); | |
| 369 | + if ('value' in Attributes) O[P] = Attributes.value; | |
| 370 | + return O; | |
| 371 | +}; | |
| 372 | + | |
| 373 | + | |
| 374 | +/***/ }), | |
| 375 | +/* 16 */ | |
| 376 | +/***/ (function(module, exports, __webpack_require__) { | |
| 377 | + | |
| 378 | +var _Object$getPrototypeOf = __webpack_require__(157); | |
| 379 | + | |
| 380 | +var _Object$setPrototypeOf = __webpack_require__(115); | |
| 381 | + | |
| 382 | +function _getPrototypeOf(o) { | |
| 383 | + module.exports = _getPrototypeOf = _Object$setPrototypeOf ? _Object$getPrototypeOf : function _getPrototypeOf(o) { | |
| 384 | + return o.__proto__ || _Object$getPrototypeOf(o); | |
| 385 | + }; | |
| 386 | + return _getPrototypeOf(o); | |
| 387 | +} | |
| 388 | + | |
| 389 | +module.exports = _getPrototypeOf; | |
| 390 | + | |
| 391 | +/***/ }), | |
| 392 | +/* 17 */ | |
| 393 | +/***/ (function(module, exports) { | |
| 394 | + | |
| 395 | +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 | |
| 396 | +var global = module.exports = typeof window != 'undefined' && window.Math == Math | |
| 397 | + ? window : typeof self != 'undefined' && self.Math == Math ? self | |
| 398 | + // eslint-disable-next-line no-new-func | |
| 399 | + : Function('return this')(); | |
| 400 | +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef | |
| 401 | + | |
| 402 | + | |
| 403 | +/***/ }), | |
| 404 | +/* 18 */ | |
| 405 | +/***/ (function(module, exports, __webpack_require__) { | |
| 406 | + | |
| 407 | +var isObject = __webpack_require__(30); | |
| 408 | +module.exports = function (it) { | |
| 409 | + if (!isObject(it)) throw TypeError(it + ' is not an object!'); | |
| 410 | + return it; | |
| 411 | +}; | |
| 412 | + | |
| 413 | + | |
| 414 | +/***/ }), | |
| 415 | +/* 19 */ | |
| 416 | +/***/ (function(module, exports) { | |
| 417 | + | |
| 418 | +var hasOwnProperty = {}.hasOwnProperty; | |
| 419 | +module.exports = function (it, key) { | |
| 420 | + return hasOwnProperty.call(it, key); | |
| 421 | +}; | |
| 422 | + | |
| 423 | + | |
| 424 | +/***/ }), | |
| 425 | +/* 20 */ | |
| 426 | +/***/ (function(module, exports, __webpack_require__) { | |
| 427 | + | |
| 428 | +// to indexed object, toObject with fallback for non-array-like ES3 strings | |
| 429 | +var IObject = __webpack_require__(103); | |
| 430 | +var defined = __webpack_require__(65); | |
| 431 | +module.exports = function (it) { | |
| 432 | + return IObject(defined(it)); | |
| 433 | +}; | |
| 434 | + | |
| 435 | + | |
| 436 | +/***/ }), | |
| 437 | +/* 21 */, | |
| 438 | +/* 22 */ | |
| 439 | +/***/ (function(module, exports) { | |
| 440 | + | |
| 441 | +module.exports = function (exec) { | |
| 442 | + try { | |
| 443 | + return !!exec(); | |
| 444 | + } catch (e) { | |
| 445 | + return true; | |
| 446 | + } | |
| 447 | +}; | |
| 448 | + | |
| 449 | + | |
| 450 | +/***/ }), | |
| 451 | +/* 23 */ | |
| 452 | +/***/ (function(module, exports, __webpack_require__) { | |
| 453 | + | |
| 454 | +module.exports = __webpack_require__(201); | |
| 455 | + | |
| 456 | +/***/ }), | |
| 457 | +/* 24 */ | |
| 458 | +/***/ (function(module, exports, __webpack_require__) { | |
| 459 | + | |
| 460 | +var dP = __webpack_require__(15); | |
| 461 | +var createDesc = __webpack_require__(44); | |
| 462 | +module.exports = __webpack_require__(14) ? function (object, key, value) { | |
| 463 | + return dP.f(object, key, createDesc(1, value)); | |
| 464 | +} : function (object, key, value) { | |
| 465 | + object[key] = value; | |
| 466 | + return object; | |
| 467 | +}; | |
| 468 | + | |
| 469 | + | |
| 470 | +/***/ }), | |
| 471 | +/* 25 */ | |
| 472 | +/***/ (function(module, exports, __webpack_require__) { | |
| 473 | + | |
| 474 | +var _Object$getOwnPropertyDescriptor = __webpack_require__(124); | |
| 475 | + | |
| 476 | +var _Reflect$get = __webpack_require__(193); | |
| 477 | + | |
| 478 | +var superPropBase = __webpack_require__(196); | |
| 479 | + | |
| 480 | +function _get(target, property, receiver) { | |
| 481 | + if (typeof Reflect !== "undefined" && _Reflect$get) { | |
| 482 | + module.exports = _get = _Reflect$get; | |
| 483 | + } else { | |
| 484 | + module.exports = _get = function _get(target, property, receiver) { | |
| 485 | + var base = superPropBase(target, property); | |
| 486 | + if (!base) return; | |
| 487 | + | |
| 488 | + var desc = _Object$getOwnPropertyDescriptor(base, property); | |
| 489 | + | |
| 490 | + if (desc.get) { | |
| 491 | + return desc.get.call(receiver); | |
| 492 | + } | |
| 493 | + | |
| 494 | + return desc.value; | |
| 495 | + }; | |
| 496 | + } | |
| 497 | + | |
| 498 | + return _get(target, property, receiver || target); | |
| 499 | +} | |
| 500 | + | |
| 501 | +module.exports = _get; | |
| 502 | + | |
| 503 | +/***/ }), | |
| 504 | +/* 26 */ | |
| 505 | +/***/ (function(module, exports, __webpack_require__) { | |
| 506 | + | |
| 1 | 507 | "use strict"; |
| 2 | 508 | |
| 3 | -(function() { | |
| 509 | +// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined) | |
| 510 | +var $export = __webpack_require__(37); | |
| 511 | +var $find = __webpack_require__(181)(5); | |
| 512 | +var KEY = 'find'; | |
| 513 | +var forced = true; | |
| 514 | +// Shouldn't skip holes | |
| 515 | +if (KEY in []) Array(1)[KEY](function () { forced = false; }); | |
| 516 | +$export($export.P + $export.F * forced, 'Array', { | |
| 517 | + find: function find(callbackfn /* , that = undefined */) { | |
| 518 | + return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); | |
| 519 | + } | |
| 520 | +}); | |
| 521 | +__webpack_require__(85)(KEY); | |
| 4 | 522 | |
| 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); | |
| 20 | 523 | |
| 21 | -//#endregion | |
| 524 | +/***/ }), | |
| 525 | +/* 27 */ | |
| 526 | +/***/ (function(module, exports, __webpack_require__) { | |
| 22 | 527 | |
| 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 | - })); | |
| 528 | +// Thank's IE8 for his funny defineProperty | |
| 529 | +module.exports = !__webpack_require__(33)(function () { | |
| 530 | + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; | |
| 531 | +}); | |
| 30 | 532 | |
| 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 | - })); | |
| 41 | 533 | |
| 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 | - })); | |
| 534 | +/***/ }), | |
| 535 | +/* 28 */, | |
| 536 | +/* 29 */ | |
| 537 | +/***/ (function(module, exports, __webpack_require__) { | |
| 53 | 538 | |
| 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 | - })); | |
| 539 | +var dP = __webpack_require__(45); | |
| 540 | +var createDesc = __webpack_require__(102); | |
| 541 | +module.exports = __webpack_require__(27) ? function (object, key, value) { | |
| 542 | + return dP.f(object, key, createDesc(1, value)); | |
| 543 | +} : function (object, key, value) { | |
| 544 | + object[key] = value; | |
| 545 | + return object; | |
| 546 | +}; | |
| 64 | 547 | |
| 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 | - })); | |
| 74 | 548 | |
| 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 | - })); | |
| 549 | +/***/ }), | |
| 550 | +/* 30 */ | |
| 551 | +/***/ (function(module, exports) { | |
| 84 | 552 | |
| 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 | - })); | |
| 553 | +module.exports = function (it) { | |
| 554 | + return typeof it === 'object' ? it !== null : typeof it === 'function'; | |
| 555 | +}; | |
| 96 | 556 | |
| 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 | - })); | |
| 109 | 557 | |
| 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 | - })); | |
| 558 | +/***/ }), | |
| 559 | +/* 31 */ | |
| 560 | +/***/ (function(module, exports, __webpack_require__) { | |
| 123 | 561 | |
| 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 | - })); | |
| 562 | +// optional / simple context binding | |
| 563 | +var aFunction = __webpack_require__(38); | |
| 564 | +module.exports = function (fn, that, length) { | |
| 565 | + aFunction(fn); | |
| 566 | + if (that === undefined) return fn; | |
| 567 | + switch (length) { | |
| 568 | + case 1: return function (a) { | |
| 569 | + return fn.call(that, a); | |
| 570 | + }; | |
| 571 | + case 2: return function (a, b) { | |
| 572 | + return fn.call(that, a, b); | |
| 573 | + }; | |
| 574 | + case 3: return function (a, b, c) { | |
| 575 | + return fn.call(that, a, b, c); | |
| 576 | + }; | |
| 577 | + } | |
| 578 | + return function (/* ...args */) { | |
| 579 | + return fn.apply(that, arguments); | |
| 580 | + }; | |
| 581 | +}; | |
| 134 | 582 | |
| 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 | - })); | |
| 149 | 583 | |
| 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 | - })); | |
| 584 | +/***/ }), | |
| 585 | +/* 32 */ | |
| 586 | +/***/ (function(module, exports, __webpack_require__) { | |
| 157 | 587 | |
| 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 | - })); | |
| 588 | +// 7.1.13 ToObject(argument) | |
| 589 | +var defined = __webpack_require__(65); | |
| 590 | +module.exports = function (it) { | |
| 591 | + return Object(defined(it)); | |
| 592 | +}; | |
| 168 | 593 | |
| 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 | - })); | |
| 178 | 594 | |
| 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 | - })); | |
| 595 | +/***/ }), | |
| 596 | +/* 33 */ | |
| 597 | +/***/ (function(module, exports) { | |
| 189 | 598 | |
| 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 | - })); | |
| 599 | +module.exports = function (exec) { | |
| 600 | + try { | |
| 601 | + return !!exec(); | |
| 602 | + } catch (e) { | |
| 603 | + return true; | |
| 604 | + } | |
| 605 | +}; | |
| 198 | 606 | |
| 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 | - })); | |
| 211 | 607 | |
| 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 | - })); | |
| 608 | +/***/ }), | |
| 609 | +/* 34 */ | |
| 610 | +/***/ (function(module, exports) { | |
| 218 | 611 | |
| 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 | - })); | |
| 612 | +module.exports = {}; | |
| 226 | 613 | |
| 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 | - })); | |
| 251 | 614 | |
| 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 | - })); | |
| 615 | +/***/ }), | |
| 616 | +/* 35 */ | |
| 617 | +/***/ (function(module, exports, __webpack_require__) { | |
| 263 | 618 | |
| 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 | - })); | |
| 619 | +var global = __webpack_require__(17); | |
| 620 | +var hide = __webpack_require__(29); | |
| 621 | +var has = __webpack_require__(61); | |
| 622 | +var SRC = __webpack_require__(67)('src'); | |
| 623 | +var $toString = __webpack_require__(143); | |
| 624 | +var TO_STRING = 'toString'; | |
| 625 | +var TPL = ('' + $toString).split(TO_STRING); | |
| 270 | 626 | |
| 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 | - })); | |
| 627 | +__webpack_require__(55).inspectSource = function (it) { | |
| 628 | + return $toString.call(it); | |
| 629 | +}; | |
| 286 | 630 | |
| 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 | - })); | |
| 631 | +(module.exports = function (O, key, val, safe) { | |
| 632 | + var isFunction = typeof val == 'function'; | |
| 633 | + if (isFunction) has(val, 'name') || hide(val, 'name', key); | |
| 634 | + if (O[key] === val) return; | |
| 635 | + if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))); | |
| 636 | + if (O === global) { | |
| 637 | + O[key] = val; | |
| 638 | + } else if (!safe) { | |
| 639 | + delete O[key]; | |
| 640 | + hide(O, key, val); | |
| 641 | + } else if (O[key]) { | |
| 642 | + O[key] = val; | |
| 643 | + } else { | |
| 644 | + hide(O, key, val); | |
| 645 | + } | |
| 646 | +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative | |
| 647 | +})(Function.prototype, TO_STRING, function toString() { | |
| 648 | + return typeof this == 'function' && this[SRC] || $toString.call(this); | |
| 649 | +}); | |
| 299 | 650 | |
| 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 | - })); | |
| 311 | 651 | |
| 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 | - })); | |
| 652 | +/***/ }), | |
| 653 | +/* 36 */, | |
| 654 | +/* 37 */ | |
| 655 | +/***/ (function(module, exports, __webpack_require__) { | |
| 322 | 656 | |
| 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 | - })); | |
| 657 | +var global = __webpack_require__(17); | |
| 658 | +var core = __webpack_require__(55); | |
| 659 | +var hide = __webpack_require__(29); | |
| 660 | +var redefine = __webpack_require__(35); | |
| 661 | +var ctx = __webpack_require__(73); | |
| 662 | +var PROTOTYPE = 'prototype'; | |
| 339 | 663 | |
| 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 | - })); | |
| 664 | +var $export = function (type, name, source) { | |
| 665 | + var IS_FORCED = type & $export.F; | |
| 666 | + var IS_GLOBAL = type & $export.G; | |
| 667 | + var IS_STATIC = type & $export.S; | |
| 668 | + var IS_PROTO = type & $export.P; | |
| 669 | + var IS_BIND = type & $export.B; | |
| 670 | + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]; | |
| 671 | + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); | |
| 672 | + var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}); | |
| 673 | + var key, own, out, exp; | |
| 674 | + if (IS_GLOBAL) source = name; | |
| 675 | + for (key in source) { | |
| 676 | + // contains in native | |
| 677 | + own = !IS_FORCED && target && target[key] !== undefined; | |
| 678 | + // export native or passed | |
| 679 | + out = (own ? target : source)[key]; | |
| 680 | + // bind timers to global for call from export context | |
| 681 | + exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; | |
| 682 | + // extend global | |
| 683 | + if (target) redefine(target, key, out, type & $export.U); | |
| 684 | + // export | |
| 685 | + if (exports[key] != out) hide(exports, key, exp); | |
| 686 | + if (IS_PROTO && expProto[key] != out) expProto[key] = out; | |
| 687 | + } | |
| 688 | +}; | |
| 689 | +global.core = core; | |
| 690 | +// type bitmap | |
| 691 | +$export.F = 1; // forced | |
| 692 | +$export.G = 2; // global | |
| 693 | +$export.S = 4; // static | |
| 694 | +$export.P = 8; // proto | |
| 695 | +$export.B = 16; // bind | |
| 696 | +$export.W = 32; // wrap | |
| 697 | +$export.U = 64; // safe | |
| 698 | +$export.R = 128; // real proto method for `library` | |
| 699 | +module.exports = $export; | |
| 345 | 700 | |
| 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 | 701 | |
| 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 | - })); | |
| 702 | +/***/ }), | |
| 703 | +/* 38 */ | |
| 704 | +/***/ (function(module, exports) { | |
| 381 | 705 | |
| 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 | - })); | |
| 706 | +module.exports = function (it) { | |
| 707 | + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); | |
| 708 | + return it; | |
| 709 | +}; | |
| 390 | 710 | |
| 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 | - })); | |
| 400 | 711 | |
| 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 | - })); | |
| 712 | +/***/ }), | |
| 713 | +/* 39 */, | |
| 714 | +/* 40 */ | |
| 715 | +/***/ (function(module, exports, __webpack_require__) { | |
| 411 | 716 | |
| 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 | - })); | |
| 717 | +// 19.1.2.14 / 15.2.3.14 Object.keys(O) | |
| 718 | +var $keys = __webpack_require__(116); | |
| 719 | +var enumBugKeys = __webpack_require__(78); | |
| 423 | 720 | |
| 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 | - })); | |
| 721 | +module.exports = Object.keys || function keys(O) { | |
| 722 | + return $keys(O, enumBugKeys); | |
| 723 | +}; | |
| 441 | 724 | |
| 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 | - })); | |
| 467 | 725 | |
| 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 | - })); | |
| 726 | +/***/ }), | |
| 727 | +/* 41 */, | |
| 728 | +/* 42 */ | |
| 729 | +/***/ (function(module, exports) { | |
| 478 | 730 | |
| 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 | - })); | |
| 731 | +// 7.2.1 RequireObjectCoercible(argument) | |
| 732 | +module.exports = function (it) { | |
| 733 | + if (it == undefined) throw TypeError("Can't call method on " + it); | |
| 734 | + return it; | |
| 735 | +}; | |
| 490 | 736 | |
| 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 | - })); | |
| 503 | 737 | |
| 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 | - })); | |
| 738 | +/***/ }), | |
| 739 | +/* 43 */ | |
| 740 | +/***/ (function(module, exports, __webpack_require__) { | |
| 525 | 741 | |
| 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 | - })); | |
| 742 | +// 7.1.15 ToLength | |
| 743 | +var toInteger = __webpack_require__(57); | |
| 744 | +var min = Math.min; | |
| 745 | +module.exports = function (it) { | |
| 746 | + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 | |
| 747 | +}; | |
| 538 | 748 | |
| 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 | - })); | |
| 550 | 749 | |
| 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 | - })); | |
| 750 | +/***/ }), | |
| 751 | +/* 44 */ | |
| 752 | +/***/ (function(module, exports) { | |
| 593 | 753 | |
| 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 | - })); | |
| 754 | +module.exports = function (bitmap, value) { | |
| 755 | + return { | |
| 756 | + enumerable: !(bitmap & 1), | |
| 757 | + configurable: !(bitmap & 2), | |
| 758 | + writable: !(bitmap & 4), | |
| 759 | + value: value | |
| 760 | + }; | |
| 761 | +}; | |
| 607 | 762 | |
| 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 | - })); | |
| 624 | 763 | |
| 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 | - })); | |
| 764 | +/***/ }), | |
| 765 | +/* 45 */ | |
| 766 | +/***/ (function(module, exports, __webpack_require__) { | |
| 637 | 767 | |
| 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 | - })); | |
| 768 | +var anObject = __webpack_require__(18); | |
| 769 | +var IE8_DOM_DEFINE = __webpack_require__(129); | |
| 770 | +var toPrimitive = __webpack_require__(123); | |
| 771 | +var dP = Object.defineProperty; | |
| 646 | 772 | |
| 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 | - })); | |
| 773 | +exports.f = __webpack_require__(27) ? Object.defineProperty : function defineProperty(O, P, Attributes) { | |
| 774 | + anObject(O); | |
| 775 | + P = toPrimitive(P, true); | |
| 776 | + anObject(Attributes); | |
| 777 | + if (IE8_DOM_DEFINE) try { | |
| 778 | + return dP(O, P, Attributes); | |
| 779 | + } catch (e) { /* empty */ } | |
| 780 | + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); | |
| 781 | + if ('value' in Attributes) O[P] = Attributes.value; | |
| 782 | + return O; | |
| 783 | +}; | |
| 657 | 784 | |
| 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 | - })); | |
| 663 | 785 | |
| 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 | - })); | |
| 786 | +/***/ }), | |
| 787 | +/* 46 */ | |
| 788 | +/***/ (function(module, exports) { | |
| 732 | 789 | |
| 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 | - })); | |
| 790 | +var toString = {}.toString; | |
| 778 | 791 | |
| 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 | - })); | |
| 792 | +module.exports = function (it) { | |
| 793 | + return toString.call(it).slice(8, -1); | |
| 794 | +}; | |
| 809 | 795 | |
| 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 | - })); | |
| 820 | 796 | |
| 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 | - })); | |
| 797 | +/***/ }), | |
| 798 | +/* 47 */ | |
| 799 | +/***/ (function(module, exports) { | |
| 830 | 800 | |
| 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 | - })); | |
| 801 | +module.exports = true; | |
| 842 | 802 | |
| 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 | - })); | |
| 853 | 803 | |
| 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 | - })); | |
| 804 | +/***/ }), | |
| 805 | +/* 48 */ | |
| 806 | +/***/ (function(module, exports, __webpack_require__) { | |
| 862 | 807 | |
| 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 | - })); | |
| 808 | +var _Symbol$iterator = __webpack_require__(151); | |
| 889 | 809 | |
| 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 | - })); | |
| 810 | +var _Symbol = __webpack_require__(111); | |
| 909 | 811 | |
| 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 | - })); | |
| 812 | +function _typeof(obj) { | |
| 813 | + "@babel/helpers - typeof"; | |
| 923 | 814 | |
| 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 | - })); | |
| 815 | + if (typeof _Symbol === "function" && typeof _Symbol$iterator === "symbol") { | |
| 816 | + module.exports = _typeof = function _typeof(obj) { | |
| 817 | + return typeof obj; | |
| 818 | + }; | |
| 819 | + } else { | |
| 820 | + module.exports = _typeof = function _typeof(obj) { | |
| 821 | + return obj && typeof _Symbol === "function" && obj.constructor === _Symbol && obj !== _Symbol.prototype ? "symbol" : typeof obj; | |
| 822 | + }; | |
| 823 | + } | |
| 933 | 824 | |
| 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 | - })); | |
| 825 | + return _typeof(obj); | |
| 826 | +} | |
| 939 | 827 | |
| 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 | - })); | |
| 828 | +module.exports = _typeof; | |
| 955 | 829 | |
| 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 | - })); | |
| 830 | +/***/ }), | |
| 831 | +/* 49 */ | |
| 832 | +/***/ (function(module, exports) { | |
| 973 | 833 | |
| 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 | - })); | |
| 834 | +function _assertThisInitialized(self) { | |
| 835 | + if (self === void 0) { | |
| 836 | + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
| 837 | + } | |
| 992 | 838 | |
| 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 | - })); | |
| 839 | + return self; | |
| 840 | +} | |
| 1032 | 841 | |
| 1033 | -//#endregion | |
| 1034 | -//#region node_modules/core-js/internals/an-instance.js | |
| 1035 | - var require_an_instance = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1036 | - var isPrototypeOf = require_object_is_prototype_of(); | |
| 1037 | - var $TypeError = TypeError; | |
| 1038 | - module.exports = function(it, Prototype) { | |
| 1039 | - if (isPrototypeOf(Prototype, it)) return it; | |
| 1040 | - throw new $TypeError("Incorrect invocation"); | |
| 1041 | - }; | |
| 1042 | - })); | |
| 842 | +module.exports = _assertThisInitialized; | |
| 1043 | 843 | |
| 1044 | -//#endregion | |
| 1045 | -//#region node_modules/core-js/internals/correct-prototype-getter.js | |
| 1046 | - var require_correct_prototype_getter = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1047 | - var fails = require_fails(); | |
| 1048 | - module.exports = !fails(function() { | |
| 1049 | - function F() {} | |
| 1050 | - F.prototype.constructor = null; | |
| 1051 | - return Object.getPrototypeOf(new F()) !== F.prototype; | |
| 1052 | - }); | |
| 1053 | - })); | |
| 844 | +/***/ }), | |
| 845 | +/* 50 */ | |
| 846 | +/***/ (function(module, exports) { | |
| 1054 | 847 | |
| 1055 | -//#endregion | |
| 1056 | -//#region node_modules/core-js/internals/object-get-prototype-of.js | |
| 1057 | - var require_object_get_prototype_of = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1058 | - var hasOwn = require_has_own_property(); | |
| 1059 | - var isCallable = require_is_callable(); | |
| 1060 | - var toObject = require_to_object(); | |
| 1061 | - var sharedKey = require_shared_key(); | |
| 1062 | - var CORRECT_PROTOTYPE_GETTER = require_correct_prototype_getter(); | |
| 1063 | - var IE_PROTO = sharedKey("IE_PROTO"); | |
| 1064 | - var $Object = Object; | |
| 1065 | - var ObjectPrototype = $Object.prototype; | |
| 1066 | - module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function(O) { | |
| 1067 | - var object = toObject(O); | |
| 1068 | - if (hasOwn(object, IE_PROTO)) return object[IE_PROTO]; | |
| 1069 | - var constructor = object.constructor; | |
| 1070 | - if (isCallable(constructor) && object instanceof constructor) return constructor.prototype; | |
| 1071 | - return object instanceof $Object ? ObjectPrototype : null; | |
| 1072 | - }; | |
| 1073 | - })); | |
| 848 | +exports.f = {}.propertyIsEnumerable; | |
| 1074 | 849 | |
| 1075 | -//#endregion | |
| 1076 | -//#region node_modules/core-js/internals/define-built-in-accessor.js | |
| 1077 | - var require_define_built_in_accessor = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1078 | - var makeBuiltIn = require_make_built_in(); | |
| 1079 | - var defineProperty = require_object_define_property(); | |
| 1080 | - module.exports = function(target, name, descriptor) { | |
| 1081 | - if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true }); | |
| 1082 | - if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true }); | |
| 1083 | - return defineProperty.f(target, name, descriptor); | |
| 1084 | - }; | |
| 1085 | - })); | |
| 1086 | 850 | |
| 1087 | -//#endregion | |
| 1088 | -//#region node_modules/core-js/internals/create-property.js | |
| 1089 | - var require_create_property = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1090 | - var DESCRIPTORS = require_descriptors(); | |
| 1091 | - var definePropertyModule = require_object_define_property(); | |
| 1092 | - var createPropertyDescriptor = require_create_property_descriptor(); | |
| 1093 | - module.exports = function(object, key, value) { | |
| 1094 | - if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value)); | |
| 1095 | - else object[key] = value; | |
| 1096 | - }; | |
| 1097 | - })); | |
| 851 | +/***/ }), | |
| 852 | +/* 51 */ | |
| 853 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1098 | 854 | |
| 1099 | -//#endregion | |
| 1100 | -//#region node_modules/core-js/internals/object-keys.js | |
| 1101 | - var require_object_keys = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1102 | - var internalObjectKeys = require_object_keys_internal(); | |
| 1103 | - var enumBugKeys = require_enum_bug_keys(); | |
| 1104 | - module.exports = Object.keys || function keys(O) { | |
| 1105 | - return internalObjectKeys(O, enumBugKeys); | |
| 1106 | - }; | |
| 1107 | - })); | |
| 855 | +var pIE = __webpack_require__(50); | |
| 856 | +var createDesc = __webpack_require__(44); | |
| 857 | +var toIObject = __webpack_require__(20); | |
| 858 | +var toPrimitive = __webpack_require__(74); | |
| 859 | +var has = __webpack_require__(19); | |
| 860 | +var IE8_DOM_DEFINE = __webpack_require__(114); | |
| 861 | +var gOPD = Object.getOwnPropertyDescriptor; | |
| 1108 | 862 | |
| 1109 | -//#endregion | |
| 1110 | -//#region node_modules/core-js/internals/object-define-properties.js | |
| 1111 | - var require_object_define_properties = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 1112 | - var DESCRIPTORS = require_descriptors(); | |
| 1113 | - var V8_PROTOTYPE_DEFINE_BUG = require_v8_prototype_define_bug(); | |
| 1114 | - var definePropertyModule = require_object_define_property(); | |
| 1115 | - var anObject = require_an_object(); | |
| 1116 | - var toIndexedObject = require_to_indexed_object(); | |
| 1117 | - var objectKeys = require_object_keys(); | |
| 1118 | - exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { | |
| 1119 | - anObject(O); | |
| 1120 | - var props = toIndexedObject(Properties); | |
| 1121 | - var keys = objectKeys(Properties); | |
| 1122 | - var length = keys.length; | |
| 1123 | - var index = 0; | |
| 1124 | - var key; | |
| 1125 | - while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]); | |
| 1126 | - return O; | |
| 1127 | - }; | |
| 1128 | - })); | |
| 863 | +exports.f = __webpack_require__(14) ? gOPD : function getOwnPropertyDescriptor(O, P) { | |
| 864 | + O = toIObject(O); | |
| 865 | + P = toPrimitive(P, true); | |
| 866 | + if (IE8_DOM_DEFINE) try { | |
| 867 | + return gOPD(O, P); | |
| 868 | + } catch (e) { /* empty */ } | |
| 869 | + if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); | |
| 870 | +}; | |
| 1129 | 871 | |
| 1130 | -//#endregion | |
| 1131 | -//#region node_modules/core-js/internals/html.js | |
| 1132 | - var require_html = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1133 | - var getBuiltIn = require_get_built_in(); | |
| 1134 | - module.exports = getBuiltIn("document", "documentElement"); | |
| 1135 | - })); | |
| 1136 | 872 | |
| 1137 | -//#endregion | |
| 1138 | -//#region node_modules/core-js/internals/object-create.js | |
| 1139 | - var require_object_create = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1140 | - var anObject = require_an_object(); | |
| 1141 | - var definePropertiesModule = require_object_define_properties(); | |
| 1142 | - var enumBugKeys = require_enum_bug_keys(); | |
| 1143 | - var hiddenKeys = require_hidden_keys(); | |
| 1144 | - var html = require_html(); | |
| 1145 | - var documentCreateElement = require_document_create_element(); | |
| 1146 | - var sharedKey = require_shared_key(); | |
| 1147 | - var GT = ">"; | |
| 1148 | - var LT = "<"; | |
| 1149 | - var PROTOTYPE = "prototype"; | |
| 1150 | - var SCRIPT = "script"; | |
| 1151 | - var IE_PROTO = sharedKey("IE_PROTO"); | |
| 1152 | - var EmptyConstructor = function() {}; | |
| 1153 | - var scriptTag = function(content) { | |
| 1154 | - return LT + SCRIPT + GT + content + LT + "/" + SCRIPT + GT; | |
| 1155 | - }; | |
| 1156 | - var NullProtoObjectViaActiveX = function(activeXDocument) { | |
| 1157 | - activeXDocument.write(scriptTag("")); | |
| 1158 | - activeXDocument.close(); | |
| 1159 | - var temp = activeXDocument.parentWindow.Object; | |
| 1160 | - activeXDocument = null; | |
| 1161 | - return temp; | |
| 1162 | - }; | |
| 1163 | - var NullProtoObjectViaIFrame = function() { | |
| 1164 | - var iframe = documentCreateElement("iframe"); | |
| 1165 | - var JS = "java" + SCRIPT + ":"; | |
| 1166 | - var iframeDocument; | |
| 1167 | - iframe.style.display = "none"; | |
| 1168 | - html.appendChild(iframe); | |
| 1169 | - iframe.src = String(JS); | |
| 1170 | - iframeDocument = iframe.contentWindow.document; | |
| 1171 | - iframeDocument.open(); | |
| 1172 | - iframeDocument.write(scriptTag("document.F=Object")); | |
| 1173 | - iframeDocument.close(); | |
| 1174 | - return iframeDocument.F; | |
| 1175 | - }; | |
| 1176 | - var activeXDocument; | |
| 1177 | - var NullProtoObject = function() { | |
| 1178 | - try { | |
| 1179 | - activeXDocument = new ActiveXObject("htmlfile"); | |
| 1180 | - } catch (error) {} | |
| 1181 | - NullProtoObject = typeof document != "undefined" ? document.domain && activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame() : NullProtoObjectViaActiveX(activeXDocument); | |
| 1182 | - var length = enumBugKeys.length; | |
| 1183 | - while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; | |
| 1184 | - return NullProtoObject(); | |
| 1185 | - }; | |
| 1186 | - hiddenKeys[IE_PROTO] = true; | |
| 1187 | - module.exports = Object.create || function create(O, Properties) { | |
| 1188 | - var result; | |
| 1189 | - if (O !== null) { | |
| 1190 | - EmptyConstructor[PROTOTYPE] = anObject(O); | |
| 1191 | - result = new EmptyConstructor(); | |
| 1192 | - EmptyConstructor[PROTOTYPE] = null; | |
| 1193 | - result[IE_PROTO] = O; | |
| 1194 | - } else result = NullProtoObject(); | |
| 1195 | - return Properties === void 0 ? result : definePropertiesModule.f(result, Properties); | |
| 1196 | - }; | |
| 1197 | - })); | |
| 873 | +/***/ }), | |
| 874 | +/* 52 */ | |
| 875 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1198 | 876 | |
| 1199 | -//#endregion | |
| 1200 | -//#region node_modules/core-js/internals/iterators-core.js | |
| 1201 | - var require_iterators_core = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1202 | - var fails = require_fails(); | |
| 1203 | - var isCallable = require_is_callable(); | |
| 1204 | - var isObject = require_is_object(); | |
| 1205 | - var create = require_object_create(); | |
| 1206 | - var getPrototypeOf = require_object_get_prototype_of(); | |
| 1207 | - var defineBuiltIn = require_define_built_in(); | |
| 1208 | - var wellKnownSymbol = require_well_known_symbol(); | |
| 1209 | - var IS_PURE = require_is_pure(); | |
| 1210 | - var ITERATOR = wellKnownSymbol("iterator"); | |
| 1211 | - var BUGGY_SAFARI_ITERATORS = false; | |
| 1212 | - var IteratorPrototype; | |
| 1213 | - var PrototypeOfArrayIteratorPrototype; | |
| 1214 | - var arrayIterator; | |
| 1215 | - if ([].keys) { | |
| 1216 | - arrayIterator = [].keys(); | |
| 1217 | - if (!("next" in arrayIterator)) BUGGY_SAFARI_ITERATORS = true; | |
| 1218 | - else { | |
| 1219 | - PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator)); | |
| 1220 | - if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype; | |
| 1221 | - } | |
| 1222 | - } | |
| 1223 | - if (!isObject(IteratorPrototype) || fails(function() { | |
| 1224 | - var test = {}; | |
| 1225 | - return IteratorPrototype[ITERATOR].call(test) !== test; | |
| 1226 | - })) IteratorPrototype = {}; | |
| 1227 | - else if (IS_PURE) IteratorPrototype = create(IteratorPrototype); | |
| 1228 | - if (!isCallable(IteratorPrototype[ITERATOR])) defineBuiltIn(IteratorPrototype, ITERATOR, function() { | |
| 1229 | - return this; | |
| 1230 | - }); | |
| 1231 | - module.exports = { | |
| 1232 | - IteratorPrototype, | |
| 1233 | - BUGGY_SAFARI_ITERATORS | |
| 1234 | - }; | |
| 1235 | - })); | |
| 877 | +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) | |
| 878 | +var anObject = __webpack_require__(13); | |
| 879 | +var dPs = __webpack_require__(134); | |
| 880 | +var enumBugKeys = __webpack_require__(78); | |
| 881 | +var IE_PROTO = __webpack_require__(75)('IE_PROTO'); | |
| 882 | +var Empty = function () { /* empty */ }; | |
| 883 | +var PROTOTYPE = 'prototype'; | |
| 1236 | 884 | |
| 1237 | -//#endregion | |
| 1238 | -//#region node_modules/core-js/modules/es.iterator.constructor.js | |
| 1239 | - var require_es_iterator_constructor = /* @__PURE__ */ __commonJSMin((() => { | |
| 1240 | - var $ = require_export(); | |
| 1241 | - var globalThis = require_global_this(); | |
| 1242 | - var anInstance = require_an_instance(); | |
| 1243 | - var anObject = require_an_object(); | |
| 1244 | - var isCallable = require_is_callable(); | |
| 1245 | - var getPrototypeOf = require_object_get_prototype_of(); | |
| 1246 | - var defineBuiltInAccessor = require_define_built_in_accessor(); | |
| 1247 | - var createProperty = require_create_property(); | |
| 1248 | - var fails = require_fails(); | |
| 1249 | - var hasOwn = require_has_own_property(); | |
| 1250 | - var wellKnownSymbol = require_well_known_symbol(); | |
| 1251 | - var IteratorPrototype = require_iterators_core().IteratorPrototype; | |
| 1252 | - var DESCRIPTORS = require_descriptors(); | |
| 1253 | - var IS_PURE = require_is_pure(); | |
| 1254 | - var CONSTRUCTOR = "constructor"; | |
| 1255 | - var ITERATOR = "Iterator"; | |
| 1256 | - var TO_STRING_TAG = wellKnownSymbol("toStringTag"); | |
| 1257 | - var $TypeError = TypeError; | |
| 1258 | - var NativeIterator = globalThis[ITERATOR]; | |
| 1259 | - var FORCED = IS_PURE || !isCallable(NativeIterator) || NativeIterator.prototype !== IteratorPrototype || !fails(function() { | |
| 1260 | - NativeIterator({}); | |
| 1261 | - }); | |
| 1262 | - var IteratorConstructor = function Iterator() { | |
| 1263 | - anInstance(this, IteratorPrototype); | |
| 1264 | - if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError("Abstract class Iterator not directly constructable"); | |
| 1265 | - }; | |
| 1266 | - var defineIteratorPrototypeAccessor = function(key, value) { | |
| 1267 | - if (DESCRIPTORS) defineBuiltInAccessor(IteratorPrototype, key, { | |
| 1268 | - configurable: true, | |
| 1269 | - get: function() { | |
| 1270 | - return value; | |
| 1271 | - }, | |
| 1272 | - set: function(replacement) { | |
| 1273 | - anObject(this); | |
| 1274 | - if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property"); | |
| 1275 | - if (hasOwn(this, key)) this[key] = replacement; | |
| 1276 | - else createProperty(this, key, replacement); | |
| 1277 | - } | |
| 1278 | - }); | |
| 1279 | - else IteratorPrototype[key] = value; | |
| 1280 | - }; | |
| 1281 | - if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR); | |
| 1282 | - if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor); | |
| 1283 | - IteratorConstructor.prototype = IteratorPrototype; | |
| 1284 | - $({ | |
| 1285 | - global: true, | |
| 1286 | - constructor: true, | |
| 1287 | - forced: FORCED | |
| 1288 | - }, { Iterator: IteratorConstructor }); | |
| 1289 | - })); | |
| 885 | +// Create object with fake `null` prototype: use iframe Object with cleared prototype | |
| 886 | +var createDict = function () { | |
| 887 | + // Thrash, waste and sodomy: IE GC bug | |
| 888 | + var iframe = __webpack_require__(92)('iframe'); | |
| 889 | + var i = enumBugKeys.length; | |
| 890 | + var lt = '<'; | |
| 891 | + var gt = '>'; | |
| 892 | + var iframeDocument; | |
| 893 | + iframe.style.display = 'none'; | |
| 894 | + __webpack_require__(131).appendChild(iframe); | |
| 895 | + iframe.src = 'javascript:'; // eslint-disable-line no-script-url | |
| 896 | + // createDict = iframe.contentWindow.Object; | |
| 897 | + // html.removeChild(iframe); | |
| 898 | + iframeDocument = iframe.contentWindow.document; | |
| 899 | + iframeDocument.open(); | |
| 900 | + iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); | |
| 901 | + iframeDocument.close(); | |
| 902 | + createDict = iframeDocument.F; | |
| 903 | + while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; | |
| 904 | + return createDict(); | |
| 905 | +}; | |
| 1290 | 906 | |
| 1291 | -//#endregion | |
| 1292 | -//#region node_modules/core-js/modules/esnext.iterator.constructor.js | |
| 1293 | - var require_esnext_iterator_constructor = /* @__PURE__ */ __commonJSMin((() => { | |
| 1294 | - require_es_iterator_constructor(); | |
| 1295 | - })); | |
| 907 | +module.exports = Object.create || function create(O, Properties) { | |
| 908 | + var result; | |
| 909 | + if (O !== null) { | |
| 910 | + Empty[PROTOTYPE] = anObject(O); | |
| 911 | + result = new Empty(); | |
| 912 | + Empty[PROTOTYPE] = null; | |
| 913 | + // add "__proto__" for Object.getPrototypeOf polyfill | |
| 914 | + result[IE_PROTO] = O; | |
| 915 | + } else result = createDict(); | |
| 916 | + return Properties === undefined ? result : dPs(result, Properties); | |
| 917 | +}; | |
| 1296 | 918 | |
| 1297 | -//#endregion | |
| 1298 | -//#region node_modules/core-js/internals/function-uncurry-this-clause.js | |
| 1299 | - var require_function_uncurry_this_clause = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1300 | - var classofRaw = require_classof_raw(); | |
| 1301 | - var uncurryThis = require_function_uncurry_this(); | |
| 1302 | - module.exports = function(fn) { | |
| 1303 | - if (classofRaw(fn) === "Function") return uncurryThis(fn); | |
| 1304 | - }; | |
| 1305 | - })); | |
| 1306 | 919 | |
| 1307 | -//#endregion | |
| 1308 | -//#region node_modules/core-js/internals/function-bind-context.js | |
| 1309 | - var require_function_bind_context = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1310 | - var uncurryThis = require_function_uncurry_this_clause(); | |
| 1311 | - var aCallable = require_a_callable(); | |
| 1312 | - var NATIVE_BIND = require_function_bind_native(); | |
| 1313 | - var bind = uncurryThis(uncurryThis.bind); | |
| 1314 | - module.exports = function(fn, that) { | |
| 1315 | - aCallable(fn); | |
| 1316 | - return that === void 0 ? fn : NATIVE_BIND ? bind(fn, that) : function() { | |
| 1317 | - return fn.apply(that, arguments); | |
| 1318 | - }; | |
| 1319 | - }; | |
| 1320 | - })); | |
| 920 | +/***/ }), | |
| 921 | +/* 53 */ | |
| 922 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1321 | 923 | |
| 1322 | -//#endregion | |
| 1323 | -//#region node_modules/core-js/internals/iterators.js | |
| 1324 | - var require_iterators = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1325 | - module.exports = {}; | |
| 1326 | - })); | |
| 924 | +var def = __webpack_require__(15).f; | |
| 925 | +var has = __webpack_require__(19); | |
| 926 | +var TAG = __webpack_require__(10)('toStringTag'); | |
| 1327 | 927 | |
| 1328 | -//#endregion | |
| 1329 | -//#region node_modules/core-js/internals/is-array-iterator-method.js | |
| 1330 | - var require_is_array_iterator_method = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1331 | - var wellKnownSymbol = require_well_known_symbol(); | |
| 1332 | - var Iterators = require_iterators(); | |
| 1333 | - var ITERATOR = wellKnownSymbol("iterator"); | |
| 1334 | - var ArrayPrototype = Array.prototype; | |
| 1335 | - module.exports = function(it) { | |
| 1336 | - return it !== void 0 && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); | |
| 1337 | - }; | |
| 1338 | - })); | |
| 928 | +module.exports = function (it, tag, stat) { | |
| 929 | + if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); | |
| 930 | +}; | |
| 1339 | 931 | |
| 1340 | -//#endregion | |
| 1341 | -//#region node_modules/core-js/internals/to-string-tag-support.js | |
| 1342 | - var require_to_string_tag_support = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1343 | - var TO_STRING_TAG = require_well_known_symbol()("toStringTag"); | |
| 1344 | - var test = {}; | |
| 1345 | - test[TO_STRING_TAG] = "z"; | |
| 1346 | - module.exports = String(test) === "[object z]"; | |
| 1347 | - })); | |
| 1348 | 932 | |
| 1349 | -//#endregion | |
| 1350 | -//#region node_modules/core-js/internals/classof.js | |
| 1351 | - var require_classof = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1352 | - var TO_STRING_TAG_SUPPORT = require_to_string_tag_support(); | |
| 1353 | - var isCallable = require_is_callable(); | |
| 1354 | - var classofRaw = require_classof_raw(); | |
| 1355 | - var TO_STRING_TAG = require_well_known_symbol()("toStringTag"); | |
| 1356 | - var $Object = Object; | |
| 1357 | - var CORRECT_ARGUMENTS = classofRaw(function() { | |
| 1358 | - return arguments; | |
| 1359 | - }()) === "Arguments"; | |
| 1360 | - var tryGet = function(it, key) { | |
| 1361 | - try { | |
| 1362 | - return it[key]; | |
| 1363 | - } catch (error) {} | |
| 1364 | - }; | |
| 1365 | - module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function(it) { | |
| 1366 | - var O; | |
| 1367 | - var tag; | |
| 1368 | - var result; | |
| 1369 | - 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; | |
| 1370 | - }; | |
| 1371 | - })); | |
| 933 | +/***/ }), | |
| 934 | +/* 54 */ | |
| 935 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1372 | 936 | |
| 1373 | -//#endregion | |
| 1374 | -//#region node_modules/core-js/internals/get-iterator-method.js | |
| 1375 | - var require_get_iterator_method = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1376 | - var classof = require_classof(); | |
| 1377 | - var getMethod = require_get_method(); | |
| 1378 | - var isNullOrUndefined = require_is_null_or_undefined(); | |
| 1379 | - var Iterators = require_iterators(); | |
| 1380 | - var ITERATOR = require_well_known_symbol()("iterator"); | |
| 1381 | - module.exports = function(it) { | |
| 1382 | - if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR) || getMethod(it, "@@iterator") || Iterators[classof(it)]; | |
| 1383 | - }; | |
| 1384 | - })); | |
| 937 | +module.exports = __webpack_require__(239); | |
| 1385 | 938 | |
| 1386 | -//#endregion | |
| 1387 | -//#region node_modules/core-js/internals/get-iterator.js | |
| 1388 | - var require_get_iterator = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1389 | - var call = require_function_call(); | |
| 1390 | - var aCallable = require_a_callable(); | |
| 1391 | - var anObject = require_an_object(); | |
| 1392 | - var tryToString = require_try_to_string(); | |
| 1393 | - var getIteratorMethod = require_get_iterator_method(); | |
| 1394 | - var $TypeError = TypeError; | |
| 1395 | - module.exports = function(argument, usingIterator) { | |
| 1396 | - var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator; | |
| 1397 | - if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument)); | |
| 1398 | - throw new $TypeError(tryToString(argument) + " is not iterable"); | |
| 1399 | - }; | |
| 1400 | - })); | |
| 939 | +/***/ }), | |
| 940 | +/* 55 */ | |
| 941 | +/***/ (function(module, exports) { | |
| 1401 | 942 | |
| 1402 | -//#endregion | |
| 1403 | -//#region node_modules/core-js/internals/iterator-close.js | |
| 1404 | - var require_iterator_close = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1405 | - var call = require_function_call(); | |
| 1406 | - var anObject = require_an_object(); | |
| 1407 | - var getMethod = require_get_method(); | |
| 1408 | - module.exports = function(iterator, kind, value) { | |
| 1409 | - var innerResult; | |
| 1410 | - var innerError; | |
| 1411 | - anObject(iterator); | |
| 1412 | - try { | |
| 1413 | - innerResult = getMethod(iterator, "return"); | |
| 1414 | - if (!innerResult) { | |
| 1415 | - if (kind === "throw") throw value; | |
| 1416 | - return value; | |
| 1417 | - } | |
| 1418 | - innerResult = call(innerResult, iterator); | |
| 1419 | - } catch (error) { | |
| 1420 | - innerError = true; | |
| 1421 | - innerResult = error; | |
| 1422 | - } | |
| 1423 | - if (kind === "throw") throw value; | |
| 1424 | - if (innerError) throw innerResult; | |
| 1425 | - anObject(innerResult); | |
| 1426 | - return value; | |
| 1427 | - }; | |
| 1428 | - })); | |
| 943 | +var core = module.exports = { version: '2.6.11' }; | |
| 944 | +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef | |
| 1429 | 945 | |
| 1430 | -//#endregion | |
| 1431 | -//#region node_modules/core-js/internals/iterate.js | |
| 1432 | - var require_iterate = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1433 | - var bind = require_function_bind_context(); | |
| 1434 | - var call = require_function_call(); | |
| 1435 | - var anObject = require_an_object(); | |
| 1436 | - var tryToString = require_try_to_string(); | |
| 1437 | - var isArrayIteratorMethod = require_is_array_iterator_method(); | |
| 1438 | - var lengthOfArrayLike = require_length_of_array_like(); | |
| 1439 | - var isPrototypeOf = require_object_is_prototype_of(); | |
| 1440 | - var getIterator = require_get_iterator(); | |
| 1441 | - var getIteratorMethod = require_get_iterator_method(); | |
| 1442 | - var iteratorClose = require_iterator_close(); | |
| 1443 | - var $TypeError = TypeError; | |
| 1444 | - var Result = function(stopped, result) { | |
| 1445 | - this.stopped = stopped; | |
| 1446 | - this.result = result; | |
| 1447 | - }; | |
| 1448 | - var ResultPrototype = Result.prototype; | |
| 1449 | - module.exports = function(iterable, unboundFunction, options) { | |
| 1450 | - var that = options && options.that; | |
| 1451 | - var AS_ENTRIES = !!(options && options.AS_ENTRIES); | |
| 1452 | - var IS_RECORD = !!(options && options.IS_RECORD); | |
| 1453 | - var IS_ITERATOR = !!(options && options.IS_ITERATOR); | |
| 1454 | - var INTERRUPTED = !!(options && options.INTERRUPTED); | |
| 1455 | - var fn = bind(unboundFunction, that); | |
| 1456 | - var iterator; | |
| 1457 | - var iterFn; | |
| 1458 | - var index; | |
| 1459 | - var length; | |
| 1460 | - var result; | |
| 1461 | - var next; | |
| 1462 | - var step; | |
| 1463 | - var stop = function(condition) { | |
| 1464 | - if (iterator) iteratorClose(iterator, "normal"); | |
| 1465 | - return new Result(true, condition); | |
| 1466 | - }; | |
| 1467 | - var callFn = function(value) { | |
| 1468 | - if (AS_ENTRIES) { | |
| 1469 | - anObject(value); | |
| 1470 | - return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]); | |
| 1471 | - } | |
| 1472 | - return INTERRUPTED ? fn(value, stop) : fn(value); | |
| 1473 | - }; | |
| 1474 | - if (IS_RECORD) iterator = iterable.iterator; | |
| 1475 | - else if (IS_ITERATOR) iterator = iterable; | |
| 1476 | - else { | |
| 1477 | - iterFn = getIteratorMethod(iterable); | |
| 1478 | - if (!iterFn) throw new $TypeError(tryToString(iterable) + " is not iterable"); | |
| 1479 | - if (isArrayIteratorMethod(iterFn)) { | |
| 1480 | - for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) { | |
| 1481 | - result = callFn(iterable[index]); | |
| 1482 | - if (result && isPrototypeOf(ResultPrototype, result)) return result; | |
| 1483 | - } | |
| 1484 | - return new Result(false); | |
| 1485 | - } | |
| 1486 | - iterator = getIterator(iterable, iterFn); | |
| 1487 | - } | |
| 1488 | - next = IS_RECORD ? iterable.next : iterator.next; | |
| 1489 | - while (!(step = call(next, iterator)).done) { | |
| 1490 | - try { | |
| 1491 | - result = callFn(step.value); | |
| 1492 | - } catch (error) { | |
| 1493 | - iteratorClose(iterator, "throw", error); | |
| 1494 | - } | |
| 1495 | - if (typeof result == "object" && result && isPrototypeOf(ResultPrototype, result)) return result; | |
| 1496 | - } | |
| 1497 | - return new Result(false); | |
| 1498 | - }; | |
| 1499 | - })); | |
| 1500 | 946 | |
| 1501 | -//#endregion | |
| 1502 | -//#region node_modules/core-js/internals/get-iterator-direct.js | |
| 1503 | - var require_get_iterator_direct = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1504 | - module.exports = function(obj) { | |
| 1505 | - return { | |
| 1506 | - iterator: obj, | |
| 1507 | - next: obj.next, | |
| 1508 | - done: false | |
| 1509 | - }; | |
| 1510 | - }; | |
| 1511 | - })); | |
| 947 | +/***/ }), | |
| 948 | +/* 56 */ | |
| 949 | +/***/ (function(module, exports) { | |
| 1512 | 950 | |
| 1513 | -//#endregion | |
| 1514 | -//#region node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js | |
| 1515 | - var require_iterator_helper_without_closing_on_early_error = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1516 | - var globalThis = require_global_this(); | |
| 1517 | - module.exports = function(METHOD_NAME, ExpectedError) { | |
| 1518 | - var Iterator = globalThis.Iterator; | |
| 1519 | - var IteratorPrototype = Iterator && Iterator.prototype; | |
| 1520 | - var method = IteratorPrototype && IteratorPrototype[METHOD_NAME]; | |
| 1521 | - var CLOSED = false; | |
| 1522 | - if (method) try { | |
| 1523 | - method.call({ | |
| 1524 | - next: function() { | |
| 1525 | - return { done: true }; | |
| 1526 | - }, | |
| 1527 | - "return": function() { | |
| 1528 | - CLOSED = true; | |
| 1529 | - } | |
| 1530 | - }, -1); | |
| 1531 | - } catch (error) { | |
| 1532 | - if (!(error instanceof ExpectedError)) CLOSED = false; | |
| 1533 | - } | |
| 1534 | - if (!CLOSED) return method; | |
| 1535 | - }; | |
| 1536 | - })); | |
| 951 | +var toString = {}.toString; | |
| 1537 | 952 | |
| 1538 | -//#endregion | |
| 1539 | -//#region node_modules/core-js/modules/es.iterator.find.js | |
| 1540 | - var require_es_iterator_find = /* @__PURE__ */ __commonJSMin((() => { | |
| 1541 | - var $ = require_export(); | |
| 1542 | - var call = require_function_call(); | |
| 1543 | - var iterate = require_iterate(); | |
| 1544 | - var aCallable = require_a_callable(); | |
| 1545 | - var anObject = require_an_object(); | |
| 1546 | - var getIteratorDirect = require_get_iterator_direct(); | |
| 1547 | - var iteratorClose = require_iterator_close(); | |
| 1548 | - var findWithoutClosingOnEarlyError = require_iterator_helper_without_closing_on_early_error()("find", TypeError); | |
| 1549 | - $({ | |
| 1550 | - target: "Iterator", | |
| 1551 | - proto: true, | |
| 1552 | - real: true, | |
| 1553 | - forced: findWithoutClosingOnEarlyError | |
| 1554 | - }, { find: function find(predicate) { | |
| 1555 | - anObject(this); | |
| 1556 | - try { | |
| 1557 | - aCallable(predicate); | |
| 1558 | - } catch (error) { | |
| 1559 | - iteratorClose(this, "throw", error); | |
| 1560 | - } | |
| 1561 | - if (findWithoutClosingOnEarlyError) return call(findWithoutClosingOnEarlyError, this, predicate); | |
| 1562 | - var record = getIteratorDirect(this); | |
| 1563 | - var counter = 0; | |
| 1564 | - return iterate(record, function(value, stop) { | |
| 1565 | - if (predicate(value, counter++)) return stop(value); | |
| 1566 | - }, { | |
| 1567 | - IS_RECORD: true, | |
| 1568 | - INTERRUPTED: true | |
| 1569 | - }).result; | |
| 1570 | - } }); | |
| 1571 | - })); | |
| 953 | +module.exports = function (it) { | |
| 954 | + return toString.call(it).slice(8, -1); | |
| 955 | +}; | |
| 1572 | 956 | |
| 1573 | -//#endregion | |
| 1574 | -//#region node_modules/core-js/modules/esnext.iterator.find.js | |
| 1575 | - var require_esnext_iterator_find = /* @__PURE__ */ __commonJSMin((() => { | |
| 1576 | - require_es_iterator_find(); | |
| 1577 | - })); | |
| 1578 | 957 | |
| 1579 | -//#endregion | |
| 1580 | -//#region node_modules/core-js/modules/es.iterator.for-each.js | |
| 1581 | - var require_es_iterator_for_each = /* @__PURE__ */ __commonJSMin((() => { | |
| 1582 | - var $ = require_export(); | |
| 1583 | - var call = require_function_call(); | |
| 1584 | - var iterate = require_iterate(); | |
| 1585 | - var aCallable = require_a_callable(); | |
| 1586 | - var anObject = require_an_object(); | |
| 1587 | - var getIteratorDirect = require_get_iterator_direct(); | |
| 1588 | - var iteratorClose = require_iterator_close(); | |
| 1589 | - var forEachWithoutClosingOnEarlyError = require_iterator_helper_without_closing_on_early_error()("forEach", TypeError); | |
| 1590 | - $({ | |
| 1591 | - target: "Iterator", | |
| 1592 | - proto: true, | |
| 1593 | - real: true, | |
| 1594 | - forced: forEachWithoutClosingOnEarlyError | |
| 1595 | - }, { forEach: function forEach(fn) { | |
| 1596 | - anObject(this); | |
| 1597 | - try { | |
| 1598 | - aCallable(fn); | |
| 1599 | - } catch (error) { | |
| 1600 | - iteratorClose(this, "throw", error); | |
| 1601 | - } | |
| 1602 | - if (forEachWithoutClosingOnEarlyError) return call(forEachWithoutClosingOnEarlyError, this, fn); | |
| 1603 | - var record = getIteratorDirect(this); | |
| 1604 | - var counter = 0; | |
| 1605 | - iterate(record, function(value) { | |
| 1606 | - fn(value, counter++); | |
| 1607 | - }, { IS_RECORD: true }); | |
| 1608 | - } }); | |
| 1609 | - })); | |
| 958 | +/***/ }), | |
| 959 | +/* 57 */ | |
| 960 | +/***/ (function(module, exports) { | |
| 1610 | 961 | |
| 1611 | -//#endregion | |
| 1612 | -//#region node_modules/core-js/modules/esnext.iterator.for-each.js | |
| 1613 | - var require_esnext_iterator_for_each = /* @__PURE__ */ __commonJSMin((() => { | |
| 1614 | - require_es_iterator_for_each(); | |
| 1615 | - })); | |
| 962 | +// 7.1.4 ToInteger | |
| 963 | +var ceil = Math.ceil; | |
| 964 | +var floor = Math.floor; | |
| 965 | +module.exports = function (it) { | |
| 966 | + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); | |
| 967 | +}; | |
| 1616 | 968 | |
| 1617 | -//#endregion | |
| 1618 | -//#region assets/dev/js/public-path.js | |
| 1619 | - var require_public_path = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 1620 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 1621 | - })); | |
| 1622 | 969 | |
| 1623 | -//#endregion | |
| 1624 | -//#region assets/dev/js/frontend/utils/chunk-loader.js | |
| 1625 | - var require_chunk_loader = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 1626 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 1627 | - exports.loadChunk = loadChunk; | |
| 1628 | - /** | |
| 1629 | - * On-demand loader for frontend code chunks. | |
| 1630 | - * | |
| 1631 | - * Rolldown's IIFE output cannot code split, so every dynamic `import()` would otherwise be inlined | |
| 1632 | - * into the entry. That regressed `frontend.min.js` from 10.4 KiB gzip to 53.7 KiB, most of it | |
| 1633 | - * unused on any given page. The build rewrites those imports at build time to `loadChunk(name)` | |
| 1634 | - * so the entry stays small and each handler ships as its own bundle fetched only when a widget | |
| 1635 | - * needs it. | |
| 1636 | - * | |
| 1637 | - * A chunk bundle is an IIFE that assigns its default export to `window.__elementorChunks[name]`. | |
| 1638 | - * The `__ELEMENTOR_CHUNK_SUFFIX__` constant is replaced at build time with `.min` for the | |
| 1639 | - * production build and the empty string otherwise, so a dev frontend loads dev chunks and a prod | |
| 1640 | - * frontend loads minified ones. | |
| 1641 | - */ | |
| 1642 | - function chunkUrl(name) { | |
| 1643 | - var _config$urls; | |
| 1644 | - const config = window.elementorFrontendConfig || {}; | |
| 1645 | - const assetsUrl = ((_config$urls = config.urls) === null || _config$urls === void 0 ? void 0 : _config$urls.assets) || ""; | |
| 1646 | - const version = config.version ? "?ver=" + encodeURIComponent(config.version) : ""; | |
| 1647 | - return assetsUrl + "js/chunks/" + name + ".js" + version; | |
| 1648 | - } | |
| 1649 | - var registry = window.__elementorChunks = window.__elementorChunks || {}; | |
| 1650 | - var inflight = /* @__PURE__ */ new Map(); | |
| 1651 | - function appendChunkScript(name) { | |
| 1652 | - return new Promise((resolve, reject) => { | |
| 1653 | - const script = document.createElement("script"); | |
| 1654 | - script.src = chunkUrl(name); | |
| 1655 | - script.async = true; | |
| 1656 | - script.onload = () => { | |
| 1657 | - if (registry[name]) resolve(registry[name]); | |
| 1658 | - else reject(/* @__PURE__ */ new Error(`[elementor] chunk "${name}" loaded but did not register`)); | |
| 1659 | - }; | |
| 1660 | - script.onerror = () => reject(/* @__PURE__ */ new Error(`[elementor] failed to load chunk "${name}" from ${script.src}`)); | |
| 1661 | - document.head.appendChild(script); | |
| 1662 | - }); | |
| 1663 | - } | |
| 1664 | - /** | |
| 1665 | - * Returns a promise for the module namespace of a chunk, appending its script tag on first | |
| 1666 | - * request. The build rewrites `import( './handlers/video' )` in frontend sources to | |
| 1667 | - * `loadChunk( 'video' )`, so call sites see the same then-able interface they wrote against. | |
| 1668 | - * | |
| 1669 | - * @param {string} name | |
| 1670 | - */ | |
| 1671 | - function loadChunk(name) { | |
| 1672 | - if (registry[name]) return Promise.resolve(registry[name]); | |
| 1673 | - if (!inflight.has(name)) inflight.set(name, appendChunkScript(name)); | |
| 1674 | - return inflight.get(name); | |
| 1675 | - } | |
| 1676 | - window.__elementorLoadChunk = loadChunk; | |
| 1677 | - })); | |
| 970 | +/***/ }), | |
| 971 | +/* 58 */ | |
| 972 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1678 | 973 | |
| 1679 | -//#endregion | |
| 1680 | -//#region assets/dev/js/frontend/document.js | |
| 1681 | - var require_document = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 1682 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 1683 | - exports.default = void 0; | |
| 1684 | - require_esnext_iterator_constructor(); | |
| 1685 | - require_esnext_iterator_find(); | |
| 1686 | - var _default = class extends elementorModules.ViewModule { | |
| 1687 | - getDefaultSettings() { | |
| 1688 | - return { | |
| 1689 | - selectors: { | |
| 1690 | - elements: ".elementor-element", | |
| 1691 | - nestedDocumentElements: ".elementor .elementor-element" | |
| 1692 | - }, | |
| 1693 | - classes: { editMode: "elementor-edit-mode" } | |
| 1694 | - }; | |
| 1695 | - } | |
| 1696 | - getDefaultElements() { | |
| 1697 | - const selectors = this.getSettings("selectors"); | |
| 1698 | - return { $elements: this.$element.find(selectors.elements).not(this.$element.find(selectors.nestedDocumentElements)) }; | |
| 1699 | - } | |
| 1700 | - getDocumentSettings(setting) { | |
| 1701 | - let elementSettings; | |
| 1702 | - if (this.isEdit) { | |
| 1703 | - elementSettings = {}; | |
| 1704 | - const settings = elementor.settings.page.model; | |
| 1705 | - jQuery.each(settings.getActiveControls(), (controlKey) => { | |
| 1706 | - elementSettings[controlKey] = settings.attributes[controlKey]; | |
| 1707 | - }); | |
| 1708 | - } else elementSettings = this.$element.data("elementor-settings") || {}; | |
| 1709 | - return this.getItems(elementSettings, setting); | |
| 1710 | - } | |
| 1711 | - runElementsHandlers() { | |
| 1712 | - this.elements.$elements.each((index, element) => setTimeout(() => elementorFrontend.elementsHandler.runReadyTrigger(element))); | |
| 1713 | - } | |
| 1714 | - onInit() { | |
| 1715 | - this.$element = this.getSettings("$element"); | |
| 1716 | - super.onInit(); | |
| 1717 | - this.isEdit = this.$element.hasClass(this.getSettings("classes.editMode")); | |
| 1718 | - if (this.isEdit) elementor.on("document:loaded", () => { | |
| 1719 | - elementor.settings.page.model.on("change", this.onSettingsChange.bind(this)); | |
| 1720 | - }); | |
| 1721 | - else this.runElementsHandlers(); | |
| 1722 | - } | |
| 1723 | - onSettingsChange() {} | |
| 1724 | - }; | |
| 1725 | - exports.default = _default; | |
| 1726 | - })); | |
| 974 | +"use strict"; | |
| 1727 | 975 | |
| 1728 | -//#endregion | |
| 1729 | -//#region assets/dev/js/frontend/documents-manager.js | |
| 1730 | - var require_documents_manager = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 1731 | - var _interopRequireDefault = require_interopRequireDefault(); | |
| 1732 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 1733 | - exports.default = void 0; | |
| 1734 | - var _document = _interopRequireDefault(require_document()); | |
| 1735 | - var _default = class extends elementorModules.ViewModule { | |
| 1736 | - constructor(...args) { | |
| 1737 | - super(...args); | |
| 1738 | - this.documents = {}; | |
| 1739 | - this.initDocumentClasses(); | |
| 1740 | - this.attachDocumentsClasses(); | |
| 1741 | - } | |
| 1742 | - getDefaultSettings() { | |
| 1743 | - return { selectors: { document: ".elementor" } }; | |
| 1744 | - } | |
| 1745 | - getDefaultElements() { | |
| 1746 | - const selectors = this.getSettings("selectors"); | |
| 1747 | - return { $documents: jQuery(selectors.document) }; | |
| 1748 | - } | |
| 1749 | - initDocumentClasses() { | |
| 1750 | - this.documentClasses = { base: _document.default }; | |
| 1751 | - elementorFrontend.hooks.doAction("elementor/frontend/documents-manager/init-classes", this); | |
| 1752 | - } | |
| 1753 | - addDocumentClass(documentType, documentClass) { | |
| 1754 | - this.documentClasses[documentType] = documentClass; | |
| 1755 | - } | |
| 1756 | - attachDocumentsClasses() { | |
| 1757 | - this.elements.$documents.each((index, document) => this.attachDocumentClass(jQuery(document))); | |
| 1758 | - } | |
| 1759 | - attachDocumentClass($document) { | |
| 1760 | - const documentData = $document.data(); | |
| 1761 | - const documentID = documentData.elementorId; | |
| 1762 | - const documentType = documentData.elementorType; | |
| 1763 | - const DocumentClass = this.documentClasses[documentType] || this.documentClasses.base; | |
| 1764 | - this.documents[documentID] = new DocumentClass({ | |
| 1765 | - $element: $document, | |
| 1766 | - id: documentID | |
| 1767 | - }); | |
| 1768 | - } | |
| 1769 | - }; | |
| 1770 | - exports.default = _default; | |
| 1771 | - })); | |
| 1772 | 976 | |
| 1773 | -//#endregion | |
| 1774 | -//#region core/common/assets/js/utils/storage.js | |
| 1775 | - var require_storage = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 1776 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 1777 | - exports.default = void 0; | |
| 1778 | - require_esnext_iterator_constructor(); | |
| 1779 | - require_esnext_iterator_for_each(); | |
| 1780 | - var _default = class extends elementorModules.Module { | |
| 1781 | - get(key, options) { | |
| 1782 | - options = options || {}; | |
| 1783 | - let storage; | |
| 1784 | - try { | |
| 1785 | - storage = options.session ? sessionStorage : localStorage; | |
| 1786 | - } catch (e) { | |
| 1787 | - return key ? void 0 : {}; | |
| 1788 | - } | |
| 1789 | - let elementorStorage = storage.getItem("elementor"); | |
| 1790 | - if (elementorStorage) elementorStorage = JSON.parse(elementorStorage); | |
| 1791 | - else elementorStorage = {}; | |
| 1792 | - if (!elementorStorage.__expiration) elementorStorage.__expiration = {}; | |
| 1793 | - const expiration = elementorStorage.__expiration; | |
| 1794 | - let expirationToCheck = []; | |
| 1795 | - if (key) { | |
| 1796 | - if (expiration[key]) expirationToCheck = [key]; | |
| 1797 | - } else expirationToCheck = Object.keys(expiration); | |
| 1798 | - let entryExpired = false; | |
| 1799 | - expirationToCheck.forEach((expirationKey) => { | |
| 1800 | - if (new Date(expiration[expirationKey]) < /* @__PURE__ */ new Date()) { | |
| 1801 | - delete elementorStorage[expirationKey]; | |
| 1802 | - delete expiration[expirationKey]; | |
| 1803 | - entryExpired = true; | |
| 1804 | - } | |
| 1805 | - }); | |
| 1806 | - if (entryExpired) this.save(elementorStorage, options.session); | |
| 1807 | - if (key) return elementorStorage[key]; | |
| 1808 | - return elementorStorage; | |
| 1809 | - } | |
| 1810 | - set(key, value, options) { | |
| 1811 | - options = options || {}; | |
| 1812 | - const elementorStorage = this.get(null, options); | |
| 1813 | - elementorStorage[key] = value; | |
| 1814 | - if (options.lifetimeInSeconds) { | |
| 1815 | - const date = /* @__PURE__ */ new Date(); | |
| 1816 | - date.setTime(date.getTime() + options.lifetimeInSeconds * 1e3); | |
| 1817 | - elementorStorage.__expiration[key] = date.getTime(); | |
| 1818 | - } | |
| 1819 | - this.save(elementorStorage, options.session); | |
| 1820 | - } | |
| 1821 | - save(object, session) { | |
| 1822 | - let storage; | |
| 1823 | - try { | |
| 1824 | - storage = session ? sessionStorage : localStorage; | |
| 1825 | - } catch (e) { | |
| 1826 | - return; | |
| 1827 | - } | |
| 1828 | - storage.setItem("elementor", JSON.stringify(object)); | |
| 1829 | - } | |
| 1830 | - }; | |
| 1831 | - exports.default = _default; | |
| 1832 | - })); | |
| 977 | +var anObject = __webpack_require__(18); | |
| 978 | +var toObject = __webpack_require__(96); | |
| 979 | +var toLength = __webpack_require__(43); | |
| 980 | +var toInteger = __webpack_require__(57); | |
| 981 | +var advanceStringIndex = __webpack_require__(105); | |
| 982 | +var regExpExec = __webpack_require__(94); | |
| 983 | +var max = Math.max; | |
| 984 | +var min = Math.min; | |
| 985 | +var floor = Math.floor; | |
| 986 | +var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g; | |
| 987 | +var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g; | |
| 1833 | 988 | |
| 1834 | -//#endregion | |
| 1835 | -//#region core/common/assets/js/utils/environment.js | |
| 1836 | - var require_environment = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 1837 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 1838 | - exports.default = void 0; | |
| 1839 | - var matchUserAgent = (UserAgentStr) => { | |
| 1840 | - return userAgent.indexOf(UserAgentStr) >= 0; | |
| 1841 | - }; | |
| 1842 | - var userAgent = navigator.userAgent; | |
| 1843 | - var isOpera = !!window.opr && !!opr.addons || !!window.opera || matchUserAgent(" OPR/"); | |
| 1844 | - var isFirefox = matchUserAgent("Firefox"); | |
| 1845 | - var isSafari = /^((?!chrome|android).)*safari/i.test(userAgent) || /constructor/i.test(window.HTMLElement) || ((p) => { | |
| 1846 | - return "[object SafariRemoteNotification]" === p.toString(); | |
| 1847 | - })(!window.safari || typeof safari !== "undefined" && safari.pushNotification); | |
| 1848 | - var isIE = /Trident|MSIE/.test(userAgent) && !!document.documentMode; | |
| 1849 | - var isEdge = !isIE && !!window.StyleMedia || matchUserAgent("Edg"); | |
| 1850 | - var isChrome = !!window.chrome && matchUserAgent("Chrome") && !(isEdge || isOpera); | |
| 1851 | - var isBlink = matchUserAgent("Chrome") && !!window.CSS; | |
| 1852 | - var isAppleWebkit = matchUserAgent("AppleWebKit") && !isBlink; | |
| 1853 | - var environment = { | |
| 1854 | - isTouchDevice: "ontouchstart" in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0, | |
| 1855 | - appleWebkit: isAppleWebkit, | |
| 1856 | - blink: isBlink, | |
| 1857 | - chrome: isChrome, | |
| 1858 | - edge: isEdge, | |
| 1859 | - firefox: isFirefox, | |
| 1860 | - ie: isIE, | |
| 1861 | - mac: matchUserAgent("Macintosh"), | |
| 1862 | - opera: isOpera, | |
| 1863 | - safari: isSafari, | |
| 1864 | - webkit: matchUserAgent("AppleWebKit") | |
| 1865 | - }; | |
| 1866 | - exports.default = environment; | |
| 1867 | - })); | |
| 989 | +var maybeToString = function (it) { | |
| 990 | + return it === undefined ? it : String(it); | |
| 991 | +}; | |
| 1868 | 992 | |
| 1869 | -//#endregion | |
| 1870 | -//#region assets/dev/js/frontend/utils/video-api/base-loader.js | |
| 1871 | - var require_base_loader = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 1872 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 1873 | - exports.default = void 0; | |
| 1874 | - var BaseLoader = class extends elementorModules.ViewModule { | |
| 1875 | - getDefaultSettings() { | |
| 1876 | - return { | |
| 1877 | - isInserted: false, | |
| 1878 | - selectors: { firstScript: "script:first" } | |
| 1879 | - }; | |
| 1880 | - } | |
| 1881 | - getDefaultElements() { | |
| 1882 | - return { $firstScript: jQuery(this.getSettings("selectors.firstScript")) }; | |
| 1883 | - } | |
| 1884 | - insertAPI() { | |
| 1885 | - this.elements.$firstScript.before(jQuery("<script>", { src: this.getApiURL() })); | |
| 1886 | - this.setSettings("isInserted", true); | |
| 1887 | - } | |
| 1888 | - getVideoIDFromURL(url) { | |
| 1889 | - const videoIDParts = url.match(this.getURLRegex()); | |
| 1890 | - return videoIDParts && videoIDParts[1]; | |
| 1891 | - } | |
| 1892 | - onApiReady(callback) { | |
| 1893 | - if (!this.getSettings("isInserted")) this.insertAPI(); | |
| 1894 | - if (this.isApiLoaded()) callback(this.getApiObject()); | |
| 1895 | - else setTimeout(() => { | |
| 1896 | - this.onApiReady(callback); | |
| 1897 | - }, 350); | |
| 1898 | - } | |
| 1899 | - getAutoplayURL(videoURL) { | |
| 1900 | - return videoURL.replace("&autoplay=0", "") + "&autoplay=1"; | |
| 1901 | - } | |
| 1902 | - }; | |
| 1903 | - exports.default = BaseLoader; | |
| 1904 | - })); | |
| 993 | +// @@replace logic | |
| 994 | +__webpack_require__(95)('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) { | |
| 995 | + return [ | |
| 996 | + // `String.prototype.replace` method | |
| 997 | + // https://tc39.github.io/ecma262/#sec-string.prototype.replace | |
| 998 | + function replace(searchValue, replaceValue) { | |
| 999 | + var O = defined(this); | |
| 1000 | + var fn = searchValue == undefined ? undefined : searchValue[REPLACE]; | |
| 1001 | + return fn !== undefined | |
| 1002 | + ? fn.call(searchValue, O, replaceValue) | |
| 1003 | + : $replace.call(String(O), searchValue, replaceValue); | |
| 1004 | + }, | |
| 1005 | + // `RegExp.prototype[@@replace]` method | |
| 1006 | + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace | |
| 1007 | + function (regexp, replaceValue) { | |
| 1008 | + var res = maybeCallNative($replace, regexp, this, replaceValue); | |
| 1009 | + if (res.done) return res.value; | |
| 1905 | 1010 | |
| 1906 | -//#endregion | |
| 1907 | -//#region assets/dev/js/frontend/utils/video-api/youtube-loader.js | |
| 1908 | - var require_youtube_loader = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 1909 | - var _interopRequireDefault = require_interopRequireDefault(); | |
| 1910 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 1911 | - exports.default = void 0; | |
| 1912 | - var _baseLoader = _interopRequireDefault(require_base_loader()); | |
| 1913 | - var YoutubeLoader = class extends _baseLoader.default { | |
| 1914 | - getApiURL() { | |
| 1915 | - return "https://www.youtube.com/iframe_api"; | |
| 1916 | - } | |
| 1917 | - getURLRegex() { | |
| 1918 | - return /^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com\/(?:(?:watch)?\?(?:.*&)?vi?=|(?:embed|v|vi|user|shorts)\/))([^?&"'>]+)/; | |
| 1919 | - } | |
| 1920 | - isApiLoaded() { | |
| 1921 | - return window.YT && YT.loaded; | |
| 1922 | - } | |
| 1923 | - getApiObject() { | |
| 1924 | - return YT; | |
| 1925 | - } | |
| 1926 | - }; | |
| 1927 | - exports.default = YoutubeLoader; | |
| 1928 | - })); | |
| 1011 | + var rx = anObject(regexp); | |
| 1012 | + var S = String(this); | |
| 1013 | + var functionalReplace = typeof replaceValue === 'function'; | |
| 1014 | + if (!functionalReplace) replaceValue = String(replaceValue); | |
| 1015 | + var global = rx.global; | |
| 1016 | + if (global) { | |
| 1017 | + var fullUnicode = rx.unicode; | |
| 1018 | + rx.lastIndex = 0; | |
| 1019 | + } | |
| 1020 | + var results = []; | |
| 1021 | + while (true) { | |
| 1022 | + var result = regExpExec(rx, S); | |
| 1023 | + if (result === null) break; | |
| 1024 | + results.push(result); | |
| 1025 | + if (!global) break; | |
| 1026 | + var matchStr = String(result[0]); | |
| 1027 | + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); | |
| 1028 | + } | |
| 1029 | + var accumulatedResult = ''; | |
| 1030 | + var nextSourcePosition = 0; | |
| 1031 | + for (var i = 0; i < results.length; i++) { | |
| 1032 | + result = results[i]; | |
| 1033 | + var matched = String(result[0]); | |
| 1034 | + var position = max(min(toInteger(result.index), S.length), 0); | |
| 1035 | + var captures = []; | |
| 1036 | + // NOTE: This is equivalent to | |
| 1037 | + // captures = result.slice(1).map(maybeToString) | |
| 1038 | + // but for some reason `nativeSlice.call(result, 1, result.length)` (called in | |
| 1039 | + // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and | |
| 1040 | + // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. | |
| 1041 | + for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j])); | |
| 1042 | + var namedCaptures = result.groups; | |
| 1043 | + if (functionalReplace) { | |
| 1044 | + var replacerArgs = [matched].concat(captures, position, S); | |
| 1045 | + if (namedCaptures !== undefined) replacerArgs.push(namedCaptures); | |
| 1046 | + var replacement = String(replaceValue.apply(undefined, replacerArgs)); | |
| 1047 | + } else { | |
| 1048 | + replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); | |
| 1049 | + } | |
| 1050 | + if (position >= nextSourcePosition) { | |
| 1051 | + accumulatedResult += S.slice(nextSourcePosition, position) + replacement; | |
| 1052 | + nextSourcePosition = position + matched.length; | |
| 1053 | + } | |
| 1054 | + } | |
| 1055 | + return accumulatedResult + S.slice(nextSourcePosition); | |
| 1056 | + } | |
| 1057 | + ]; | |
| 1929 | 1058 | |
| 1930 | -//#endregion | |
| 1931 | -//#region assets/dev/js/frontend/utils/video-api/vimeo-loader.js | |
| 1932 | - var require_vimeo_loader = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 1933 | - var _interopRequireDefault = require_interopRequireDefault(); | |
| 1934 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 1935 | - exports.default = void 0; | |
| 1936 | - var _baseLoader = _interopRequireDefault(require_base_loader()); | |
| 1937 | - var VimeoLoader = class extends _baseLoader.default { | |
| 1938 | - getApiURL() { | |
| 1939 | - return "https://player.vimeo.com/api/player.js"; | |
| 1940 | - } | |
| 1941 | - getURLRegex() { | |
| 1942 | - return /^(?:https?:\/\/)?(?:www|player\.)?(?:vimeo\.com\/)?(?:video\/|external\/)?(\d+)([^.?&#"'>]?)/; | |
| 1943 | - } | |
| 1944 | - isApiLoaded() { | |
| 1945 | - return window.Vimeo; | |
| 1946 | - } | |
| 1947 | - getApiObject() { | |
| 1948 | - return Vimeo; | |
| 1949 | - } | |
| 1950 | - getAutoplayURL(videoURL) { | |
| 1951 | - const timeMatch = videoURL.match(/#t=[^&]*/); | |
| 1952 | - return videoURL.replace(timeMatch[0], "") + timeMatch; | |
| 1953 | - } | |
| 1954 | - }; | |
| 1955 | - exports.default = VimeoLoader; | |
| 1956 | - })); | |
| 1059 | + // https://tc39.github.io/ecma262/#sec-getsubstitution | |
| 1060 | + function getSubstitution(matched, str, position, captures, namedCaptures, replacement) { | |
| 1061 | + var tailPos = position + matched.length; | |
| 1062 | + var m = captures.length; | |
| 1063 | + var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; | |
| 1064 | + if (namedCaptures !== undefined) { | |
| 1065 | + namedCaptures = toObject(namedCaptures); | |
| 1066 | + symbols = SUBSTITUTION_SYMBOLS; | |
| 1067 | + } | |
| 1068 | + return $replace.call(replacement, symbols, function (match, ch) { | |
| 1069 | + var capture; | |
| 1070 | + switch (ch.charAt(0)) { | |
| 1071 | + case '$': return '$'; | |
| 1072 | + case '&': return matched; | |
| 1073 | + case '`': return str.slice(0, position); | |
| 1074 | + case "'": return str.slice(tailPos); | |
| 1075 | + case '<': | |
| 1076 | + capture = namedCaptures[ch.slice(1, -1)]; | |
| 1077 | + break; | |
| 1078 | + default: // \d\d? | |
| 1079 | + var n = +ch; | |
| 1080 | + if (n === 0) return match; | |
| 1081 | + if (n > m) { | |
| 1082 | + var f = floor(n / 10); | |
| 1083 | + if (f === 0) return match; | |
| 1084 | + if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); | |
| 1085 | + return match; | |
| 1086 | + } | |
| 1087 | + capture = captures[n - 1]; | |
| 1088 | + } | |
| 1089 | + return capture === undefined ? '' : capture; | |
| 1090 | + }); | |
| 1091 | + } | |
| 1092 | +}); | |
| 1957 | 1093 | |
| 1958 | -//#endregion | |
| 1959 | -//#region \0@[email protected]/helpers/esm/asyncToGenerator.js | |
| 1960 | - function asyncGeneratorStep(n, t, e, r, o, a, c) { | |
| 1961 | - try { | |
| 1962 | - var i = n[a](c); | |
| 1963 | - var u = i.value; | |
| 1964 | - } catch (n) { | |
| 1965 | - e(n); | |
| 1966 | - return; | |
| 1967 | - } | |
| 1968 | - i.done ? t(u) : Promise.resolve(u).then(r, o); | |
| 1969 | - } | |
| 1970 | - function _asyncToGenerator(n) { | |
| 1971 | - return function() { | |
| 1972 | - var t = this; | |
| 1973 | - var e = arguments; | |
| 1974 | - return new Promise(function(r, o) { | |
| 1975 | - var a = n.apply(t, e); | |
| 1976 | - function _next(n) { | |
| 1977 | - asyncGeneratorStep(a, r, o, _next, _throw, "next", n); | |
| 1978 | - } | |
| 1979 | - function _throw(n) { | |
| 1980 | - asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); | |
| 1981 | - } | |
| 1982 | - _next(void 0); | |
| 1983 | - }); | |
| 1984 | - }; | |
| 1985 | - } | |
| 1986 | - var init_asyncToGenerator = __esmMin((() => {})); | |
| 1987 | 1094 | |
| 1988 | -//#endregion | |
| 1989 | -//#region node_modules/core-js/internals/function-uncurry-this-accessor.js | |
| 1990 | - var require_function_uncurry_this_accessor = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1991 | - var uncurryThis = require_function_uncurry_this(); | |
| 1992 | - var aCallable = require_a_callable(); | |
| 1993 | - module.exports = function(object, key, method) { | |
| 1994 | - try { | |
| 1995 | - return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method])); | |
| 1996 | - } catch (error) {} | |
| 1997 | - }; | |
| 1998 | - })); | |
| 1095 | +/***/ }), | |
| 1096 | +/* 59 */ | |
| 1097 | +/***/ (function(module, exports) { | |
| 1999 | 1098 | |
| 2000 | -//#endregion | |
| 2001 | -//#region node_modules/core-js/internals/is-possible-prototype.js | |
| 2002 | - var require_is_possible_prototype = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 2003 | - var isObject = require_is_object(); | |
| 2004 | - module.exports = function(argument) { | |
| 2005 | - return isObject(argument) || argument === null; | |
| 2006 | - }; | |
| 2007 | - })); | |
| 1099 | +var id = 0; | |
| 1100 | +var px = Math.random(); | |
| 1101 | +module.exports = function (key) { | |
| 1102 | + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); | |
| 1103 | +}; | |
| 2008 | 1104 | |
| 2009 | -//#endregion | |
| 2010 | -//#region node_modules/core-js/internals/a-possible-prototype.js | |
| 2011 | - var require_a_possible_prototype = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 2012 | - var isPossiblePrototype = require_is_possible_prototype(); | |
| 2013 | - var $String = String; | |
| 2014 | - var $TypeError = TypeError; | |
| 2015 | - module.exports = function(argument) { | |
| 2016 | - if (isPossiblePrototype(argument)) return argument; | |
| 2017 | - throw new $TypeError("Can't set " + $String(argument) + " as a prototype"); | |
| 2018 | - }; | |
| 2019 | - })); | |
| 2020 | 1105 | |
| 2021 | -//#endregion | |
| 2022 | -//#region node_modules/core-js/internals/object-set-prototype-of.js | |
| 2023 | - var require_object_set_prototype_of = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 2024 | - var uncurryThisAccessor = require_function_uncurry_this_accessor(); | |
| 2025 | - var isObject = require_is_object(); | |
| 2026 | - var requireObjectCoercible = require_require_object_coercible(); | |
| 2027 | - var aPossiblePrototype = require_a_possible_prototype(); | |
| 2028 | - module.exports = Object.setPrototypeOf || ("__proto__" in {} ? function() { | |
| 2029 | - var CORRECT_SETTER = false; | |
| 2030 | - var test = {}; | |
| 2031 | - var setter; | |
| 2032 | - try { | |
| 2033 | - setter = uncurryThisAccessor(Object.prototype, "__proto__", "set"); | |
| 2034 | - setter(test, []); | |
| 2035 | - CORRECT_SETTER = test instanceof Array; | |
| 2036 | - } catch (error) {} | |
| 2037 | - return function setPrototypeOf(O, proto) { | |
| 2038 | - requireObjectCoercible(O); | |
| 2039 | - aPossiblePrototype(proto); | |
| 2040 | - if (!isObject(O)) return O; | |
| 2041 | - if (CORRECT_SETTER) setter(O, proto); | |
| 2042 | - else O.__proto__ = proto; | |
| 2043 | - return O; | |
| 2044 | - }; | |
| 2045 | - }() : void 0); | |
| 2046 | - })); | |
| 1106 | +/***/ }), | |
| 1107 | +/* 60 */ | |
| 1108 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2047 | 1109 | |
| 2048 | -//#endregion | |
| 2049 | -//#region node_modules/core-js/internals/inherit-if-required.js | |
| 2050 | - var require_inherit_if_required = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 2051 | - var isCallable = require_is_callable(); | |
| 2052 | - var isObject = require_is_object(); | |
| 2053 | - var setPrototypeOf = require_object_set_prototype_of(); | |
| 2054 | - module.exports = function($this, dummy, Wrapper) { | |
| 2055 | - var NewTarget; | |
| 2056 | - var NewTargetPrototype; | |
| 2057 | - if (setPrototypeOf && isCallable(NewTarget = dummy.constructor) && NewTarget !== Wrapper && isObject(NewTargetPrototype = NewTarget.prototype) && NewTargetPrototype !== Wrapper.prototype) setPrototypeOf($this, NewTargetPrototype); | |
| 2058 | - return $this; | |
| 2059 | - }; | |
| 2060 | - })); | |
| 1110 | +"use strict"; | |
| 2061 | 1111 | |
| 2062 | -//#endregion | |
| 2063 | -//#region node_modules/core-js/internals/to-string.js | |
| 2064 | - var require_to_string = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 2065 | - var classof = require_classof(); | |
| 2066 | - var $String = String; | |
| 2067 | - module.exports = function(argument) { | |
| 2068 | - if (classof(argument) === "Symbol") throw new TypeError("Cannot convert a Symbol value to a string"); | |
| 2069 | - return $String(argument); | |
| 2070 | - }; | |
| 2071 | - })); | |
| 1112 | +var $at = __webpack_require__(172)(true); | |
| 2072 | 1113 | |
| 2073 | -//#endregion | |
| 2074 | -//#region node_modules/core-js/internals/normalize-string-argument.js | |
| 2075 | - var require_normalize_string_argument = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 2076 | - var toString = require_to_string(); | |
| 2077 | - module.exports = function(argument, $default) { | |
| 2078 | - return argument === void 0 ? arguments.length < 2 ? "" : $default : toString(argument); | |
| 2079 | - }; | |
| 2080 | - })); | |
| 1114 | +// 21.1.3.27 String.prototype[@@iterator]() | |
| 1115 | +__webpack_require__(108)(String, 'String', function (iterated) { | |
| 1116 | + this._t = String(iterated); // target | |
| 1117 | + this._i = 0; // next index | |
| 1118 | +// 21.1.5.2.1 %StringIteratorPrototype%.next() | |
| 1119 | +}, function () { | |
| 1120 | + var O = this._t; | |
| 1121 | + var index = this._i; | |
| 1122 | + var point; | |
| 1123 | + if (index >= O.length) return { value: undefined, done: true }; | |
| 1124 | + point = $at(O, index); | |
| 1125 | + this._i += point.length; | |
| 1126 | + return { value: point, done: false }; | |
| 1127 | +}); | |
| 2081 | 1128 | |
| 2082 | -//#endregion | |
| 2083 | -//#region node_modules/core-js/internals/dom-exception-constants.js | |
| 2084 | - var require_dom_exception_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 2085 | - module.exports = { | |
| 2086 | - IndexSizeError: { | |
| 2087 | - s: "INDEX_SIZE_ERR", | |
| 2088 | - c: 1, | |
| 2089 | - m: 1 | |
| 2090 | - }, | |
| 2091 | - DOMStringSizeError: { | |
| 2092 | - s: "DOMSTRING_SIZE_ERR", | |
| 2093 | - c: 2, | |
| 2094 | - m: 0 | |
| 2095 | - }, | |
| 2096 | - HierarchyRequestError: { | |
| 2097 | - s: "HIERARCHY_REQUEST_ERR", | |
| 2098 | - c: 3, | |
| 2099 | - m: 1 | |
| 2100 | - }, | |
| 2101 | - WrongDocumentError: { | |
| 2102 | - s: "WRONG_DOCUMENT_ERR", | |
| 2103 | - c: 4, | |
| 2104 | - m: 1 | |
| 2105 | - }, | |
| 2106 | - InvalidCharacterError: { | |
| 2107 | - s: "INVALID_CHARACTER_ERR", | |
| 2108 | - c: 5, | |
| 2109 | - m: 1 | |
| 2110 | - }, | |
| 2111 | - NoDataAllowedError: { | |
| 2112 | - s: "NO_DATA_ALLOWED_ERR", | |
| 2113 | - c: 6, | |
| 2114 | - m: 0 | |
| 2115 | - }, | |
| 2116 | - NoModificationAllowedError: { | |
| 2117 | - s: "NO_MODIFICATION_ALLOWED_ERR", | |
| 2118 | - c: 7, | |
| 2119 | - m: 1 | |
| 2120 | - }, | |
| 2121 | - NotFoundError: { | |
| 2122 | - s: "NOT_FOUND_ERR", | |
| 2123 | - c: 8, | |
| 2124 | - m: 1 | |
| 2125 | - }, | |
| 2126 | - NotSupportedError: { | |
| 2127 | - s: "NOT_SUPPORTED_ERR", | |
| 2128 | - c: 9, | |
| 2129 | - m: 1 | |
| 2130 | - }, | |
| 2131 | - InUseAttributeError: { | |
| 2132 | - s: "INUSE_ATTRIBUTE_ERR", | |
| 2133 | - c: 10, | |
| 2134 | - m: 1 | |
| 2135 | - }, | |
| 2136 | - InvalidStateError: { | |
| 2137 | - s: "INVALID_STATE_ERR", | |
| 2138 | - c: 11, | |
| 2139 | - m: 1 | |
| 2140 | - }, | |
| 2141 | - SyntaxError: { | |
| 2142 | - s: "SYNTAX_ERR", | |
| 2143 | - c: 12, | |
| 2144 | - m: 1 | |
| 2145 | - }, | |
| 2146 | - InvalidModificationError: { | |
| 2147 | - s: "INVALID_MODIFICATION_ERR", | |
| 2148 | - c: 13, | |
| 2149 | - m: 1 | |
| 2150 | - }, | |
| 2151 | - NamespaceError: { | |
| 2152 | - s: "NAMESPACE_ERR", | |
| 2153 | - c: 14, | |
| 2154 | - m: 1 | |
| 2155 | - }, | |
| 2156 | - InvalidAccessError: { | |
| 2157 | - s: "INVALID_ACCESS_ERR", | |
| 2158 | - c: 15, | |
| 2159 | - m: 1 | |
| 2160 | - }, | |
| 2161 | - ValidationError: { | |
| 2162 | - s: "VALIDATION_ERR", | |
| 2163 | - c: 16, | |
| 2164 | - m: 0 | |
| 2165 | - }, | |
| 2166 | - TypeMismatchError: { | |
| 2167 | - s: "TYPE_MISMATCH_ERR", | |
| 2168 | - c: 17, | |
| 2169 | - m: 1 | |
| 2170 | - }, | |
| 2171 | - SecurityError: { | |
| 2172 | - s: "SECURITY_ERR", | |
| 2173 | - c: 18, | |
| 2174 | - m: 1 | |
| 2175 | - }, | |
| 2176 | - NetworkError: { | |
| 2177 | - s: "NETWORK_ERR", | |
| 2178 | - c: 19, | |
| 2179 | - m: 1 | |
| 2180 | - }, | |
| 2181 | - AbortError: { | |
| 2182 | - s: "ABORT_ERR", | |
| 2183 | - c: 20, | |
| 2184 | - m: 1 | |
| 2185 | - }, | |
| 2186 | - URLMismatchError: { | |
| 2187 | - s: "URL_MISMATCH_ERR", | |
| 2188 | - c: 21, | |
| 2189 | - m: 1 | |
| 2190 | - }, | |
| 2191 | - QuotaExceededError: { | |
| 2192 | - s: "QUOTA_EXCEEDED_ERR", | |
| 2193 | - c: 22, | |
| 2194 | - m: 1 | |
| 2195 | - }, | |
| 2196 | - TimeoutError: { | |
| 2197 | - s: "TIMEOUT_ERR", | |
| 2198 | - c: 23, | |
| 2199 | - m: 1 | |
| 2200 | - }, | |
| 2201 | - InvalidNodeTypeError: { | |
| 2202 | - s: "INVALID_NODE_TYPE_ERR", | |
| 2203 | - c: 24, | |
| 2204 | - m: 1 | |
| 2205 | - }, | |
| 2206 | - DataCloneError: { | |
| 2207 | - s: "DATA_CLONE_ERR", | |
| 2208 | - c: 25, | |
| 2209 | - m: 1 | |
| 2210 | - } | |
| 2211 | - }; | |
| 2212 | - })); | |
| 2213 | 1129 | |
| 2214 | -//#endregion | |
| 2215 | -//#region node_modules/core-js/internals/error-stack-clear.js | |
| 2216 | - var require_error_stack_clear = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 2217 | - var uncurryThis = require_function_uncurry_this(); | |
| 2218 | - var $Error = Error; | |
| 2219 | - var replace = uncurryThis("".replace); | |
| 2220 | - var TEST = (function(arg) { | |
| 2221 | - return String(new $Error(arg).stack); | |
| 2222 | - })("zxcasd"); | |
| 2223 | - var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/; | |
| 2224 | - var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST); | |
| 2225 | - module.exports = function(stack, dropEntries) { | |
| 2226 | - if (IS_V8_OR_CHAKRA_STACK && typeof stack == "string" && !$Error.prepareStackTrace) while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, ""); | |
| 2227 | - return stack; | |
| 2228 | - }; | |
| 2229 | - })); | |
| 1130 | +/***/ }), | |
| 1131 | +/* 61 */ | |
| 1132 | +/***/ (function(module, exports) { | |
| 2230 | 1133 | |
| 2231 | -//#endregion | |
| 2232 | -//#region node_modules/core-js/modules/web.dom-exception.stack.js | |
| 2233 | - var require_web_dom_exception_stack = /* @__PURE__ */ __commonJSMin((() => { | |
| 2234 | - var $ = require_export(); | |
| 2235 | - var globalThis = require_global_this(); | |
| 2236 | - var getBuiltIn = require_get_built_in(); | |
| 2237 | - var createPropertyDescriptor = require_create_property_descriptor(); | |
| 2238 | - var defineProperty = require_object_define_property().f; | |
| 2239 | - var hasOwn = require_has_own_property(); | |
| 2240 | - var anInstance = require_an_instance(); | |
| 2241 | - var inheritIfRequired = require_inherit_if_required(); | |
| 2242 | - var normalizeStringArgument = require_normalize_string_argument(); | |
| 2243 | - var DOMExceptionConstants = require_dom_exception_constants(); | |
| 2244 | - var clearErrorStack = require_error_stack_clear(); | |
| 2245 | - var DESCRIPTORS = require_descriptors(); | |
| 2246 | - var IS_PURE = require_is_pure(); | |
| 2247 | - var DOM_EXCEPTION = "DOMException"; | |
| 2248 | - var Error = getBuiltIn("Error"); | |
| 2249 | - var NativeDOMException = getBuiltIn(DOM_EXCEPTION); | |
| 2250 | - var $DOMException = function DOMException() { | |
| 2251 | - anInstance(this, DOMExceptionPrototype); | |
| 2252 | - var argumentsLength = arguments.length; | |
| 2253 | - var message = normalizeStringArgument(argumentsLength < 1 ? void 0 : arguments[0]); | |
| 2254 | - var that = new NativeDOMException(message, normalizeStringArgument(argumentsLength < 2 ? void 0 : arguments[1], "Error")); | |
| 2255 | - var error = new Error(message); | |
| 2256 | - error.name = DOM_EXCEPTION; | |
| 2257 | - defineProperty(that, "stack", createPropertyDescriptor(1, clearErrorStack(error.stack, 1))); | |
| 2258 | - inheritIfRequired(that, this, $DOMException); | |
| 2259 | - return that; | |
| 2260 | - }; | |
| 2261 | - var DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype; | |
| 2262 | - var ERROR_HAS_STACK = "stack" in new Error(DOM_EXCEPTION); | |
| 2263 | - var DOM_EXCEPTION_HAS_STACK = "stack" in new NativeDOMException(1, 2); | |
| 2264 | - var descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(globalThis, DOM_EXCEPTION); | |
| 2265 | - var BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable); | |
| 2266 | - var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK; | |
| 2267 | - $({ | |
| 2268 | - global: true, | |
| 2269 | - constructor: true, | |
| 2270 | - forced: IS_PURE || FORCED_CONSTRUCTOR | |
| 2271 | - }, { DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException }); | |
| 2272 | - var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION); | |
| 2273 | - var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype; | |
| 2274 | - if (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) { | |
| 2275 | - if (!IS_PURE) defineProperty(PolyfilledDOMExceptionPrototype, "constructor", createPropertyDescriptor(1, PolyfilledDOMException)); | |
| 2276 | - for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) { | |
| 2277 | - var constant = DOMExceptionConstants[key]; | |
| 2278 | - var constantName = constant.s; | |
| 2279 | - if (!hasOwn(PolyfilledDOMException, constantName)) defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c)); | |
| 2280 | - } | |
| 2281 | - } | |
| 2282 | - })); | |
| 1134 | +var hasOwnProperty = {}.hasOwnProperty; | |
| 1135 | +module.exports = function (it, key) { | |
| 1136 | + return hasOwnProperty.call(it, key); | |
| 1137 | +}; | |
| 2283 | 1138 | |
| 2284 | -//#endregion | |
| 2285 | -//#region assets/dev/js/frontend/utils/url-actions.js | |
| 2286 | - var require_url_actions = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2287 | - init_asyncToGenerator(); | |
| 2288 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2289 | - exports.default = void 0; | |
| 2290 | - require_web_dom_exception_stack(); | |
| 2291 | - var _default = class extends elementorModules.ViewModule { | |
| 2292 | - getDefaultSettings() { | |
| 2293 | - return { selectors: { links: "a[href^=\"%23elementor-action\"], a[href^=\"#elementor-action\"]" } }; | |
| 2294 | - } | |
| 2295 | - bindEvents() { | |
| 2296 | - elementorFrontend.elements.$document.on("click", this.getSettings("selectors.links"), this.runLinkAction.bind(this)); | |
| 2297 | - } | |
| 2298 | - initActions() { | |
| 2299 | - this.actions = { lightbox: function() { | |
| 2300 | - var _ref = _asyncToGenerator(function* (settings) { | |
| 2301 | - const lightbox = yield elementorFrontend.utils.lightbox; | |
| 2302 | - if (settings.slideshow) lightbox.openSlideshow(settings.slideshow, settings.url); | |
| 2303 | - else { | |
| 2304 | - if (settings.id) settings.type = "image"; | |
| 2305 | - lightbox.showModal(settings); | |
| 2306 | - } | |
| 2307 | - }); | |
| 2308 | - return function lightbox(_x) { | |
| 2309 | - return _ref.apply(this, arguments); | |
| 2310 | - }; | |
| 2311 | - }() }; | |
| 2312 | - } | |
| 2313 | - addAction(name, callback) { | |
| 2314 | - this.actions[name] = callback; | |
| 2315 | - } | |
| 2316 | - runAction(url, ...restArgs) { | |
| 2317 | - url = decodeURI(url); | |
| 2318 | - url = decodeURIComponent(url); | |
| 2319 | - const actionMatch = url.match(/action=(.+?)&/); | |
| 2320 | - if (!actionMatch) return; | |
| 2321 | - const action = this.actions[actionMatch[1]]; | |
| 2322 | - if (!action) return; | |
| 2323 | - let settings = {}; | |
| 2324 | - const settingsMatch = url.match(/settings=(.+)/); | |
| 2325 | - if (settingsMatch) settings = JSON.parse(atob(settingsMatch[1])); | |
| 2326 | - settings.previousEvent = event; | |
| 2327 | - action(settings, ...restArgs); | |
| 2328 | - } | |
| 2329 | - runLinkAction(event) { | |
| 2330 | - event.preventDefault(); | |
| 2331 | - this.runAction(jQuery(event.currentTarget).attr("href"), event); | |
| 2332 | - } | |
| 2333 | - runHashAction() { | |
| 2334 | - if (!location.hash) return; | |
| 2335 | - const elementWithHash = document.querySelector(`[data-e-action-hash="${location.hash}"], a[href*="${location.hash}"]`); | |
| 2336 | - if (elementWithHash) this.runAction(elementWithHash.getAttribute("data-e-action-hash")); | |
| 2337 | - } | |
| 2338 | - createActionHash(action, settings) { | |
| 2339 | - return encodeURIComponent(`#elementor-action:action=${action}&settings=${btoa(JSON.stringify(settings))}`); | |
| 2340 | - } | |
| 2341 | - onInit() { | |
| 2342 | - super.onInit(); | |
| 2343 | - this.initActions(); | |
| 2344 | - elementorFrontend.on("components:init", this.runHashAction.bind(this)); | |
| 2345 | - } | |
| 2346 | - }; | |
| 2347 | - exports.default = _default; | |
| 2348 | - })); | |
| 2349 | 1139 | |
| 2350 | -//#endregion | |
| 2351 | -//#region assets/dev/js/frontend/utils/swiper.js | |
| 2352 | - var require_swiper = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2353 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2354 | - exports.default = void 0; | |
| 2355 | - require_esnext_iterator_constructor(); | |
| 2356 | - require_esnext_iterator_for_each(); | |
| 2357 | - var SwiperHandler = class { | |
| 2358 | - constructor(container, config) { | |
| 2359 | - var _container$closest; | |
| 2360 | - var _container$closest2; | |
| 2361 | - this.config = config; | |
| 2362 | - if (this.config.breakpoints) this.config = this.adjustConfig(config); | |
| 2363 | - if (container instanceof jQuery) container = container[0]; | |
| 2364 | - (_container$closest = container.closest(".elementor-widget-wrap")) === null || _container$closest === void 0 || _container$closest.classList.add("e-swiper-container"); | |
| 2365 | - (_container$closest2 = container.closest(".elementor-widget")) === null || _container$closest2 === void 0 || _container$closest2.classList.add("e-widget-swiper"); | |
| 2366 | - return new Promise((resolve) => { | |
| 2367 | - if ("undefined" === typeof Swiper) { | |
| 2368 | - elementorFrontend.utils.assetsLoader.load("script", "swiper").then(() => resolve(this.createSwiperInstance(container, this.config))); | |
| 2369 | - return; | |
| 2370 | - } | |
| 2371 | - if ("function" === typeof Swiper && "undefined" === typeof window.Swiper) window.Swiper = Swiper; | |
| 2372 | - resolve(this.createSwiperInstance(container, this.config)); | |
| 2373 | - }); | |
| 2374 | - } | |
| 2375 | - createSwiperInstance(container, config) { | |
| 2376 | - const SwiperSource = window.Swiper; | |
| 2377 | - SwiperSource.prototype.adjustConfig = this.adjustConfig; | |
| 2378 | - config = this.applyMotionPreferences(config); | |
| 2379 | - return new SwiperSource(container, config); | |
| 2380 | - } | |
| 2381 | - adjustConfig(config) { | |
| 2382 | - if (!config.handleElementorBreakpoints) return config; | |
| 2383 | - const elementorBreakpoints = elementorFrontend.config.responsive.activeBreakpoints; | |
| 2384 | - const elementorBreakpointValues = elementorFrontend.breakpoints.getBreakpointValues(); | |
| 2385 | - Object.keys(config.breakpoints).forEach((configBPKey) => { | |
| 2386 | - const configBPKeyInt = parseInt(configBPKey); | |
| 2387 | - let breakpointToUpdate; | |
| 2388 | - if (configBPKeyInt === elementorBreakpoints.mobile.value || configBPKeyInt + 1 === elementorBreakpoints.mobile.value) breakpointToUpdate = 0; | |
| 2389 | - else if (elementorBreakpoints.widescreen && (configBPKeyInt === elementorBreakpoints.widescreen.value || configBPKeyInt + 1 === elementorBreakpoints.widescreen.value)) breakpointToUpdate = configBPKeyInt; | |
| 2390 | - else { | |
| 2391 | - const currentBPIndexInElementorBPs = elementorBreakpointValues.findIndex((elementorBP) => { | |
| 2392 | - return configBPKeyInt === elementorBP || configBPKeyInt + 1 === elementorBP; | |
| 2393 | - }); | |
| 2394 | - breakpointToUpdate = elementorBreakpointValues[currentBPIndexInElementorBPs - 1]; | |
| 2395 | - } | |
| 2396 | - config.breakpoints[breakpointToUpdate] = config.breakpoints[configBPKey]; | |
| 2397 | - config.breakpoints[configBPKey] = { | |
| 2398 | - slidesPerView: config.slidesPerView, | |
| 2399 | - slidesPerGroup: config.slidesPerGroup ? config.slidesPerGroup : 1 | |
| 2400 | - }; | |
| 2401 | - }); | |
| 2402 | - return config; | |
| 2403 | - } | |
| 2404 | - applyMotionPreferences(config) { | |
| 2405 | - if (!window.matchMedia("(prefers-reduced-motion: reduce)").matches) return config; | |
| 2406 | - return Object.assign({}, config, { | |
| 2407 | - speed: 0, | |
| 2408 | - autoplay: false | |
| 2409 | - }); | |
| 2410 | - } | |
| 2411 | - }; | |
| 2412 | - exports.default = SwiperHandler; | |
| 2413 | - })); | |
| 1140 | +/***/ }), | |
| 1141 | +/* 62 */ | |
| 1142 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2414 | 1143 | |
| 2415 | -//#endregion | |
| 2416 | -//#region assets/dev/js/frontend/utils/lightbox/lightbox-manager.js | |
| 2417 | - var require_lightbox_manager = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2418 | - init_asyncToGenerator(); | |
| 2419 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2420 | - exports.default = void 0; | |
| 2421 | - require_esnext_iterator_constructor(); | |
| 2422 | - require_esnext_iterator_find(); | |
| 2423 | - var LightboxManager = class LightboxManager extends elementorModules.ViewModule { | |
| 2424 | - static getLightbox() { | |
| 2425 | - const lightboxPromise = new Promise((resolveLightbox) => { | |
| 2426 | - __elementorLoadChunk("lightbox-lightbox").then(({ default: LightboxModule }) => resolveLightbox(new LightboxModule())); | |
| 2427 | - }); | |
| 2428 | - const dialogScriptPromise = elementorFrontend.utils.assetsLoader.load("script", "dialog"); | |
| 2429 | - const dialogStylePromise = elementorFrontend.utils.assetsLoader.load("style", "dialog"); | |
| 2430 | - const shareLinkPromise = elementorFrontend.utils.assetsLoader.load("script", "share-link"); | |
| 2431 | - const swiperStylePromise = elementorFrontend.utils.assetsLoader.load("style", "swiper"); | |
| 2432 | - const lightboxStylePromise = elementorFrontend.utils.assetsLoader.load("style", "e-lightbox"); | |
| 2433 | - return Promise.all([ | |
| 2434 | - lightboxPromise, | |
| 2435 | - dialogScriptPromise, | |
| 2436 | - dialogStylePromise, | |
| 2437 | - shareLinkPromise, | |
| 2438 | - swiperStylePromise, | |
| 2439 | - lightboxStylePromise | |
| 2440 | - ]).then(() => lightboxPromise); | |
| 2441 | - } | |
| 2442 | - getDefaultSettings() { | |
| 2443 | - return { selectors: { | |
| 2444 | - links: "a, [data-elementor-lightbox]", | |
| 2445 | - slideshow: "[data-elementor-lightbox-slideshow]" | |
| 2446 | - } }; | |
| 2447 | - } | |
| 2448 | - getDefaultElements() { | |
| 2449 | - return { | |
| 2450 | - $links: jQuery(this.getSettings("selectors.links")), | |
| 2451 | - $slideshow: jQuery(this.getSettings("selectors.slideshow")) | |
| 2452 | - }; | |
| 2453 | - } | |
| 2454 | - isLightboxLink(element) { | |
| 2455 | - if ("a" === element.tagName.toLowerCase() && (element.hasAttribute("download") || !/^[^?]+\.(png|jpe?g|gif|svg|webp|avif)(\?.*)?$/i.test(element.href)) && !element.dataset.elementorLightboxVideo) return false; | |
| 2456 | - const generalOpenInLightbox = elementorFrontend.getKitSettings("global_image_lightbox"); | |
| 2457 | - const currentLinkOpenInLightbox = element.dataset.elementorOpenLightbox; | |
| 2458 | - return "yes" === currentLinkOpenInLightbox || generalOpenInLightbox && "no" !== currentLinkOpenInLightbox; | |
| 2459 | - } | |
| 2460 | - isLightboxSlideshow() { | |
| 2461 | - return 0 !== this.elements.$slideshow.length; | |
| 2462 | - } | |
| 2463 | - onLinkClick(event) { | |
| 2464 | - var _this = this; | |
| 2465 | - return _asyncToGenerator(function* () { | |
| 2466 | - const element = event.currentTarget; | |
| 2467 | - const $target = jQuery(event.target); | |
| 2468 | - const editMode = elementorFrontend.isEditMode(); | |
| 2469 | - const isColorPickingMode = editMode && elementor.$previewContents.find("body").hasClass("elementor-editor__ui-state__color-picker"); | |
| 2470 | - const isClickInsideElementor = !!$target.closest(".elementor-edit-area").length; | |
| 2471 | - if (!_this.isLightboxLink(element)) { | |
| 2472 | - if (editMode && isClickInsideElementor) event.preventDefault(); | |
| 2473 | - return; | |
| 2474 | - } | |
| 2475 | - event.preventDefault(); | |
| 2476 | - if (editMode && !elementor.getPreferences("lightbox_in_editor")) return; | |
| 2477 | - if (isColorPickingMode) return; | |
| 2478 | - (yield LightboxManager.getLightbox()).createLightbox(element); | |
| 2479 | - })(); | |
| 2480 | - } | |
| 2481 | - bindEvents() { | |
| 2482 | - elementorFrontend.elements.$document.on("click", this.getSettings("selectors.links"), (event) => this.onLinkClick(event)); | |
| 2483 | - } | |
| 2484 | - onInit(...args) { | |
| 2485 | - super.onInit(...args); | |
| 2486 | - if (elementorFrontend.isEditMode()) return; | |
| 2487 | - this.maybeActivateLightboxOnLink(); | |
| 2488 | - } | |
| 2489 | - maybeActivateLightboxOnLink() { | |
| 2490 | - this.elements.$links.each((index, element) => { | |
| 2491 | - if (this.isLightboxLink(element)) { | |
| 2492 | - LightboxManager.getLightbox(); | |
| 2493 | - return false; | |
| 2494 | - } | |
| 2495 | - }); | |
| 2496 | - } | |
| 2497 | - }; | |
| 2498 | - exports.default = LightboxManager; | |
| 2499 | - })); | |
| 1144 | +__webpack_require__(174); | |
| 1145 | +var global = __webpack_require__(8); | |
| 1146 | +var hide = __webpack_require__(24); | |
| 1147 | +var Iterators = __webpack_require__(34); | |
| 1148 | +var TO_STRING_TAG = __webpack_require__(10)('toStringTag'); | |
| 2500 | 1149 | |
| 2501 | -//#endregion | |
| 2502 | -//#region assets/dev/js/frontend/utils/assets-loader.js | |
| 2503 | - var require_assets_loader = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2504 | - var _elementorFrontendCon; | |
| 2505 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2506 | - exports.default = void 0; | |
| 2507 | - var AssetsLoader = class AssetsLoader { | |
| 2508 | - getScriptElement(src) { | |
| 2509 | - const scriptElement = document.createElement("script"); | |
| 2510 | - scriptElement.src = src; | |
| 2511 | - return scriptElement; | |
| 2512 | - } | |
| 2513 | - getStyleElement(src) { | |
| 2514 | - const styleElement = document.createElement("link"); | |
| 2515 | - styleElement.rel = "stylesheet"; | |
| 2516 | - styleElement.href = src; | |
| 2517 | - return styleElement; | |
| 2518 | - } | |
| 2519 | - load(type, key) { | |
| 2520 | - const assetData = AssetsLoader.assets[type][key]; | |
| 2521 | - if (!assetData.loader) assetData.loader = this.isAssetLoaded(assetData, type) ? Promise.resolve(true) : this.loadAsset(assetData, type); | |
| 2522 | - return assetData.loader; | |
| 2523 | - } | |
| 2524 | - isAssetLoaded(assetData, assetType) { | |
| 2525 | - var _document$querySelect; | |
| 2526 | - const filePath = "script" === assetType ? `script[src="${assetData.src}"]` : `link[href="${assetData.src}"]`; | |
| 2527 | - return !!((_document$querySelect = document.querySelectorAll(filePath)) === null || _document$querySelect === void 0 ? void 0 : _document$querySelect.length); | |
| 2528 | - } | |
| 2529 | - loadAsset(assetData, assetType) { | |
| 2530 | - return new Promise((resolve) => { | |
| 2531 | - const element = "style" === assetType ? this.getStyleElement(assetData.src) : this.getScriptElement(assetData.src); | |
| 2532 | - element.onload = () => resolve(true); | |
| 2533 | - this.appendAsset(assetData, element); | |
| 2534 | - }); | |
| 2535 | - } | |
| 2536 | - appendAsset(assetData, element) { | |
| 2537 | - const beforeElement = document.querySelector(assetData.before); | |
| 2538 | - if (!!beforeElement) { | |
| 2539 | - beforeElement.insertAdjacentElement("beforebegin", element); | |
| 2540 | - return; | |
| 2541 | - } | |
| 2542 | - const parent = "head" === assetData.parent ? assetData.parent : "body"; | |
| 2543 | - document[parent].appendChild(element); | |
| 2544 | - } | |
| 2545 | - }; | |
| 2546 | - exports.default = AssetsLoader; | |
| 2547 | - var assetsUrl = elementorFrontendConfig.urls.assets; | |
| 2548 | - var fileSuffix = elementorFrontendConfig.environmentMode.isScriptDebug ? "" : ".min"; | |
| 2549 | - var pluginVersion = elementorFrontendConfig.version; | |
| 2550 | - AssetsLoader.assets = { | |
| 2551 | - script: { | |
| 2552 | - dialog: { src: `${assetsUrl}lib/dialog/dialog${fileSuffix}.js?ver=4.9.3` }, | |
| 2553 | - "share-link": { src: `${assetsUrl}lib/share-link/share-link${fileSuffix}.js?ver=${pluginVersion}` }, | |
| 2554 | - swiper: { src: `${assetsUrl}lib/swiper/v8/swiper${fileSuffix}.js?ver=8.4.5` } | |
| 2555 | - }, | |
| 2556 | - style: { | |
| 2557 | - swiper: { | |
| 2558 | - src: `${assetsUrl}lib/swiper/v8/css/swiper${fileSuffix}.css?ver=8.4.5`, | |
| 2559 | - parent: "head" | |
| 2560 | - }, | |
| 2561 | - "e-lightbox": { src: ((_elementorFrontendCon = elementorFrontendConfig) === null || _elementorFrontendCon === void 0 || (_elementorFrontendCon = _elementorFrontendCon.responsive) === null || _elementorFrontendCon === void 0 ? void 0 : _elementorFrontendCon.hasCustomBreakpoints) ? `${elementorFrontendConfig.urls.uploadUrl}/elementor/css/custom-lightbox.min.css?ver=${pluginVersion}` : `${assetsUrl}css/conditionals/lightbox${fileSuffix}.css?ver=${pluginVersion}` }, | |
| 2562 | - dialog: { | |
| 2563 | - src: `${assetsUrl}css/conditionals/dialog${fileSuffix}.css?ver=${pluginVersion}`, | |
| 2564 | - parent: "head", | |
| 2565 | - before: "#elementor-frontend-css" | |
| 2566 | - } | |
| 2567 | - } | |
| 2568 | - }; | |
| 2569 | - })); | |
| 1150 | +var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' + | |
| 1151 | + 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' + | |
| 1152 | + 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' + | |
| 1153 | + 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' + | |
| 1154 | + 'TextTrackList,TouchList').split(','); | |
| 2570 | 1155 | |
| 2571 | -//#endregion | |
| 2572 | -//#region \0@[email protected]/helpers/esm/typeof.js | |
| 2573 | - function _typeof(o) { | |
| 2574 | - "@babel/helpers - typeof"; | |
| 2575 | - return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) { | |
| 2576 | - return typeof o; | |
| 2577 | - } : function(o) { | |
| 2578 | - return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; | |
| 2579 | - }, _typeof(o); | |
| 2580 | - } | |
| 2581 | - var init_typeof = __esmMin((() => {})); | |
| 1156 | +for (var i = 0; i < DOMIterables.length; i++) { | |
| 1157 | + var NAME = DOMIterables[i]; | |
| 1158 | + var Collection = global[NAME]; | |
| 1159 | + var proto = Collection && Collection.prototype; | |
| 1160 | + if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); | |
| 1161 | + Iterators[NAME] = Iterators.Array; | |
| 1162 | +} | |
| 2582 | 1163 | |
| 2583 | -//#endregion | |
| 2584 | -//#region \0@[email protected]/helpers/esm/toPrimitive.js | |
| 2585 | - function toPrimitive(t, r) { | |
| 2586 | - if ("object" != _typeof(t) || !t) return t; | |
| 2587 | - var e = t[Symbol.toPrimitive]; | |
| 2588 | - if (void 0 !== e) { | |
| 2589 | - var i = e.call(t, r || "default"); | |
| 2590 | - if ("object" != _typeof(i)) return i; | |
| 2591 | - throw new TypeError("@@toPrimitive must return a primitive value."); | |
| 2592 | - } | |
| 2593 | - return ("string" === r ? String : Number)(t); | |
| 2594 | - } | |
| 2595 | - var init_toPrimitive = __esmMin((() => { | |
| 2596 | - init_typeof(); | |
| 2597 | - })); | |
| 2598 | 1164 | |
| 2599 | -//#endregion | |
| 2600 | -//#region \0@[email protected]/helpers/esm/toPropertyKey.js | |
| 2601 | - function toPropertyKey(t) { | |
| 2602 | - var i = toPrimitive(t, "string"); | |
| 2603 | - return "symbol" == _typeof(i) ? i : i + ""; | |
| 2604 | - } | |
| 2605 | - var init_toPropertyKey = __esmMin((() => { | |
| 2606 | - init_typeof(); | |
| 2607 | - init_toPrimitive(); | |
| 2608 | - })); | |
| 1165 | +/***/ }), | |
| 1166 | +/* 63 */ | |
| 1167 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2609 | 1168 | |
| 2610 | -//#endregion | |
| 2611 | -//#region \0@[email protected]/helpers/esm/defineProperty.js | |
| 2612 | - function _defineProperty(e, r, t) { | |
| 2613 | - return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, { | |
| 2614 | - value: t, | |
| 2615 | - enumerable: !0, | |
| 2616 | - configurable: !0, | |
| 2617 | - writable: !0 | |
| 2618 | - }) : e[r] = t, e; | |
| 2619 | - } | |
| 2620 | - var init_defineProperty = __esmMin((() => { | |
| 2621 | - init_toPropertyKey(); | |
| 2622 | - })); | |
| 1169 | +exports.f = __webpack_require__(10); | |
| 2623 | 1170 | |
| 2624 | -//#endregion | |
| 2625 | -//#region \0@[email protected]/helpers/esm/objectSpread2.js | |
| 2626 | - function ownKeys(e, r) { | |
| 2627 | - var t = Object.keys(e); | |
| 2628 | - if (Object.getOwnPropertySymbols) { | |
| 2629 | - var o = Object.getOwnPropertySymbols(e); | |
| 2630 | - r && (o = o.filter(function(r) { | |
| 2631 | - return Object.getOwnPropertyDescriptor(e, r).enumerable; | |
| 2632 | - })), t.push.apply(t, o); | |
| 2633 | - } | |
| 2634 | - return t; | |
| 2635 | - } | |
| 2636 | - function _objectSpread2(e) { | |
| 2637 | - for (var r = 1; r < arguments.length; r++) { | |
| 2638 | - var t = null != arguments[r] ? arguments[r] : {}; | |
| 2639 | - r % 2 ? ownKeys(Object(t), !0).forEach(function(r) { | |
| 2640 | - _defineProperty(e, r, t[r]); | |
| 2641 | - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r) { | |
| 2642 | - Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); | |
| 2643 | - }); | |
| 2644 | - } | |
| 2645 | - return e; | |
| 2646 | - } | |
| 2647 | - var init_objectSpread2 = __esmMin((() => { | |
| 2648 | - init_defineProperty(); | |
| 2649 | - })); | |
| 2650 | 1171 | |
| 2651 | -//#endregion | |
| 2652 | -//#region node_modules/core-js/internals/is-array.js | |
| 2653 | - var require_is_array = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 2654 | - var classof = require_classof_raw(); | |
| 2655 | - module.exports = Array.isArray || function isArray(argument) { | |
| 2656 | - return classof(argument) === "Array"; | |
| 2657 | - }; | |
| 2658 | - })); | |
| 1172 | +/***/ }), | |
| 1173 | +/* 64 */ | |
| 1174 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2659 | 1175 | |
| 2660 | -//#endregion | |
| 2661 | -//#region node_modules/core-js/internals/array-set-length.js | |
| 2662 | - var require_array_set_length = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 2663 | - var DESCRIPTORS = require_descriptors(); | |
| 2664 | - var isArray = require_is_array(); | |
| 2665 | - var $TypeError = TypeError; | |
| 2666 | - var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
| 2667 | - var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function() { | |
| 2668 | - if (this !== void 0) return true; | |
| 2669 | - try { | |
| 2670 | - Object.defineProperty([], "length", { writable: false }).length = 1; | |
| 2671 | - } catch (error) { | |
| 2672 | - return error instanceof TypeError; | |
| 2673 | - } | |
| 2674 | - }(); | |
| 2675 | - module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function(O, length) { | |
| 2676 | - if (isArray(O) && !getOwnPropertyDescriptor(O, "length").writable) throw new $TypeError("Cannot set read only .length"); | |
| 2677 | - return O.length = length; | |
| 2678 | - } : function(O, length) { | |
| 2679 | - return O.length = length; | |
| 2680 | - }; | |
| 2681 | - })); | |
| 1176 | +// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) | |
| 1177 | +var has = __webpack_require__(19); | |
| 1178 | +var toObject = __webpack_require__(32); | |
| 1179 | +var IE_PROTO = __webpack_require__(75)('IE_PROTO'); | |
| 1180 | +var ObjectProto = Object.prototype; | |
| 2682 | 1181 | |
| 2683 | -//#endregion | |
| 2684 | -//#region node_modules/core-js/internals/does-not-exceed-safe-integer.js | |
| 2685 | - var require_does_not_exceed_safe_integer = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 2686 | - var $TypeError = TypeError; | |
| 2687 | - var MAX_SAFE_INTEGER = 9007199254740991; | |
| 2688 | - module.exports = function(it) { | |
| 2689 | - if (it > MAX_SAFE_INTEGER) throw $TypeError("Maximum allowed index exceeded"); | |
| 2690 | - return it; | |
| 2691 | - }; | |
| 2692 | - })); | |
| 1182 | +module.exports = Object.getPrototypeOf || function (O) { | |
| 1183 | + O = toObject(O); | |
| 1184 | + if (has(O, IE_PROTO)) return O[IE_PROTO]; | |
| 1185 | + if (typeof O.constructor == 'function' && O instanceof O.constructor) { | |
| 1186 | + return O.constructor.prototype; | |
| 1187 | + } return O instanceof Object ? ObjectProto : null; | |
| 1188 | +}; | |
| 2693 | 1189 | |
| 2694 | -//#endregion | |
| 2695 | -//#region node_modules/core-js/modules/es.array.push.js | |
| 2696 | - var require_es_array_push = /* @__PURE__ */ __commonJSMin((() => { | |
| 2697 | - var $ = require_export(); | |
| 2698 | - var toObject = require_to_object(); | |
| 2699 | - var lengthOfArrayLike = require_length_of_array_like(); | |
| 2700 | - var setArrayLength = require_array_set_length(); | |
| 2701 | - var doesNotExceedSafeInteger = require_does_not_exceed_safe_integer(); | |
| 2702 | - var INCORRECT_TO_LENGTH = require_fails()(function() { | |
| 2703 | - return [].push.call({ length: 4294967296 }, 1) !== 4294967297; | |
| 2704 | - }); | |
| 2705 | - var properErrorOnNonWritableLength = function() { | |
| 2706 | - try { | |
| 2707 | - Object.defineProperty([], "length", { writable: false }).push(); | |
| 2708 | - } catch (error) { | |
| 2709 | - return error instanceof TypeError; | |
| 2710 | - } | |
| 2711 | - }; | |
| 2712 | - $({ | |
| 2713 | - target: "Array", | |
| 2714 | - proto: true, | |
| 2715 | - arity: 1, | |
| 2716 | - forced: INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength() | |
| 2717 | - }, { push: function push(item) { | |
| 2718 | - var O = toObject(this); | |
| 2719 | - var len = lengthOfArrayLike(O); | |
| 2720 | - var argCount = arguments.length; | |
| 2721 | - doesNotExceedSafeInteger(len + argCount); | |
| 2722 | - for (var i = 0; i < argCount; i++) { | |
| 2723 | - O[len] = arguments[i]; | |
| 2724 | - len++; | |
| 2725 | - } | |
| 2726 | - setArrayLength(O, len); | |
| 2727 | - return len; | |
| 2728 | - } }); | |
| 2729 | - })); | |
| 2730 | 1190 | |
| 2731 | -//#endregion | |
| 2732 | -//#region node_modules/core-js/internals/define-built-ins.js | |
| 2733 | - var require_define_built_ins = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 2734 | - var defineBuiltIn = require_define_built_in(); | |
| 2735 | - module.exports = function(target, src, options) { | |
| 2736 | - for (var key in src) defineBuiltIn(target, key, src[key], options); | |
| 2737 | - return target; | |
| 2738 | - }; | |
| 2739 | - })); | |
| 1191 | +/***/ }), | |
| 1192 | +/* 65 */ | |
| 1193 | +/***/ (function(module, exports) { | |
| 2740 | 1194 | |
| 2741 | -//#endregion | |
| 2742 | -//#region node_modules/core-js/internals/create-iter-result-object.js | |
| 2743 | - var require_create_iter_result_object = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 2744 | - module.exports = function(value, done) { | |
| 2745 | - return { | |
| 2746 | - value, | |
| 2747 | - done | |
| 2748 | - }; | |
| 2749 | - }; | |
| 2750 | - })); | |
| 1195 | +// 7.2.1 RequireObjectCoercible(argument) | |
| 1196 | +module.exports = function (it) { | |
| 1197 | + if (it == undefined) throw TypeError("Can't call method on " + it); | |
| 1198 | + return it; | |
| 1199 | +}; | |
| 2751 | 1200 | |
| 2752 | -//#endregion | |
| 2753 | -//#region node_modules/core-js/internals/iterator-close-all.js | |
| 2754 | - var require_iterator_close_all = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 2755 | - var iteratorClose = require_iterator_close(); | |
| 2756 | - module.exports = function(iters, kind, value) { | |
| 2757 | - for (var i = iters.length - 1; i >= 0; i--) { | |
| 2758 | - if (iters[i] === void 0) continue; | |
| 2759 | - try { | |
| 2760 | - value = iteratorClose(iters[i].iterator, kind, value); | |
| 2761 | - } catch (error) { | |
| 2762 | - kind = "throw"; | |
| 2763 | - value = error; | |
| 2764 | - } | |
| 2765 | - } | |
| 2766 | - if (kind === "throw") throw value; | |
| 2767 | - return value; | |
| 2768 | - }; | |
| 2769 | - })); | |
| 2770 | 1201 | |
| 2771 | -//#endregion | |
| 2772 | -//#region node_modules/core-js/internals/iterator-create-proxy.js | |
| 2773 | - var require_iterator_create_proxy = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 2774 | - var call = require_function_call(); | |
| 2775 | - var create = require_object_create(); | |
| 2776 | - var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
| 2777 | - var defineBuiltIns = require_define_built_ins(); | |
| 2778 | - var wellKnownSymbol = require_well_known_symbol(); | |
| 2779 | - var InternalStateModule = require_internal_state(); | |
| 2780 | - var getMethod = require_get_method(); | |
| 2781 | - var IteratorPrototype = require_iterators_core().IteratorPrototype; | |
| 2782 | - var createIterResultObject = require_create_iter_result_object(); | |
| 2783 | - var iteratorClose = require_iterator_close(); | |
| 2784 | - var iteratorCloseAll = require_iterator_close_all(); | |
| 2785 | - var TO_STRING_TAG = wellKnownSymbol("toStringTag"); | |
| 2786 | - var ITERATOR_HELPER = "IteratorHelper"; | |
| 2787 | - var WRAP_FOR_VALID_ITERATOR = "WrapForValidIterator"; | |
| 2788 | - var NORMAL = "normal"; | |
| 2789 | - var THROW = "throw"; | |
| 2790 | - var setInternalState = InternalStateModule.set; | |
| 2791 | - var createIteratorProxyPrototype = function(IS_ITERATOR) { | |
| 2792 | - var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER); | |
| 2793 | - return defineBuiltIns(create(IteratorPrototype), { | |
| 2794 | - next: function next() { | |
| 2795 | - var state = getInternalState(this); | |
| 2796 | - if (IS_ITERATOR) return state.nextHandler(); | |
| 2797 | - if (state.done) return createIterResultObject(void 0, true); | |
| 2798 | - try { | |
| 2799 | - var result = state.nextHandler(); | |
| 2800 | - return state.returnHandlerResult ? result : createIterResultObject(result, state.done); | |
| 2801 | - } catch (error) { | |
| 2802 | - state.done = true; | |
| 2803 | - throw error; | |
| 2804 | - } | |
| 2805 | - }, | |
| 2806 | - "return": function() { | |
| 2807 | - var state = getInternalState(this); | |
| 2808 | - var iterator = state.iterator; | |
| 2809 | - state.done = true; | |
| 2810 | - if (IS_ITERATOR) { | |
| 2811 | - var returnMethod = getMethod(iterator, "return"); | |
| 2812 | - return returnMethod ? call(returnMethod, iterator) : createIterResultObject(void 0, true); | |
| 2813 | - } | |
| 2814 | - if (state.inner) try { | |
| 2815 | - iteratorClose(state.inner.iterator, NORMAL); | |
| 2816 | - } catch (error) { | |
| 2817 | - return iteratorClose(iterator, THROW, error); | |
| 2818 | - } | |
| 2819 | - if (state.openIters) try { | |
| 2820 | - iteratorCloseAll(state.openIters, NORMAL); | |
| 2821 | - } catch (error) { | |
| 2822 | - return iteratorClose(iterator, THROW, error); | |
| 2823 | - } | |
| 2824 | - if (iterator) iteratorClose(iterator, NORMAL); | |
| 2825 | - return createIterResultObject(void 0, true); | |
| 2826 | - } | |
| 2827 | - }); | |
| 2828 | - }; | |
| 2829 | - var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true); | |
| 2830 | - var IteratorHelperPrototype = createIteratorProxyPrototype(false); | |
| 2831 | - createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, "Iterator Helper"); | |
| 2832 | - module.exports = function(nextHandler, IS_ITERATOR, RETURN_HANDLER_RESULT) { | |
| 2833 | - var IteratorProxy = function Iterator(record, state) { | |
| 2834 | - if (state) { | |
| 2835 | - state.iterator = record.iterator; | |
| 2836 | - state.next = record.next; | |
| 2837 | - } else state = record; | |
| 2838 | - state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER; | |
| 2839 | - state.returnHandlerResult = !!RETURN_HANDLER_RESULT; | |
| 2840 | - state.nextHandler = nextHandler; | |
| 2841 | - state.counter = 0; | |
| 2842 | - state.done = false; | |
| 2843 | - setInternalState(this, state); | |
| 2844 | - }; | |
| 2845 | - IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype; | |
| 2846 | - return IteratorProxy; | |
| 2847 | - }; | |
| 2848 | - })); | |
| 1202 | +/***/ }), | |
| 1203 | +/* 66 */ | |
| 1204 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2849 | 1205 | |
| 2850 | -//#endregion | |
| 2851 | -//#region node_modules/core-js/internals/call-with-safe-iteration-closing.js | |
| 2852 | - var require_call_with_safe_iteration_closing = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 2853 | - var anObject = require_an_object(); | |
| 2854 | - var iteratorClose = require_iterator_close(); | |
| 2855 | - module.exports = function(iterator, fn, value, ENTRIES) { | |
| 2856 | - try { | |
| 2857 | - return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); | |
| 2858 | - } catch (error) { | |
| 2859 | - iteratorClose(iterator, "throw", error); | |
| 2860 | - } | |
| 2861 | - }; | |
| 2862 | - })); | |
| 1206 | +var core = __webpack_require__(55); | |
| 1207 | +var global = __webpack_require__(17); | |
| 1208 | +var SHARED = '__core-js_shared__'; | |
| 1209 | +var store = global[SHARED] || (global[SHARED] = {}); | |
| 2863 | 1210 | |
| 2864 | -//#endregion | |
| 2865 | -//#region node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js | |
| 2866 | - var require_iterator_helper_throws_on_invalid_iterator = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 2867 | - module.exports = function(methodName, argument) { | |
| 2868 | - var method = typeof Iterator == "function" && Iterator.prototype[methodName]; | |
| 2869 | - if (method) try { | |
| 2870 | - method.call({ next: null }, argument).next(); | |
| 2871 | - } catch (error) { | |
| 2872 | - return true; | |
| 2873 | - } | |
| 2874 | - }; | |
| 2875 | - })); | |
| 1211 | +(module.exports = function (key, value) { | |
| 1212 | + return store[key] || (store[key] = value !== undefined ? value : {}); | |
| 1213 | +})('versions', []).push({ | |
| 1214 | + version: core.version, | |
| 1215 | + mode: __webpack_require__(110) ? 'pure' : 'global', | |
| 1216 | + copyright: '© 2019 Denis Pushkarev (zloirock.ru)' | |
| 1217 | +}); | |
| 2876 | 1218 | |
| 2877 | -//#endregion | |
| 2878 | -//#region node_modules/core-js/modules/es.iterator.map.js | |
| 2879 | - var require_es_iterator_map = /* @__PURE__ */ __commonJSMin((() => { | |
| 2880 | - var $ = require_export(); | |
| 2881 | - var call = require_function_call(); | |
| 2882 | - var aCallable = require_a_callable(); | |
| 2883 | - var anObject = require_an_object(); | |
| 2884 | - var getIteratorDirect = require_get_iterator_direct(); | |
| 2885 | - var createIteratorProxy = require_iterator_create_proxy(); | |
| 2886 | - var callWithSafeIterationClosing = require_call_with_safe_iteration_closing(); | |
| 2887 | - var iteratorClose = require_iterator_close(); | |
| 2888 | - var iteratorHelperThrowsOnInvalidIterator = require_iterator_helper_throws_on_invalid_iterator(); | |
| 2889 | - var iteratorHelperWithoutClosingOnEarlyError = require_iterator_helper_without_closing_on_early_error(); | |
| 2890 | - var IS_PURE = require_is_pure(); | |
| 2891 | - var MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator("map", function() {}); | |
| 2892 | - var mapWithoutClosingOnEarlyError = !IS_PURE && !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR && iteratorHelperWithoutClosingOnEarlyError("map", TypeError); | |
| 2893 | - var FORCED = IS_PURE || MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError; | |
| 2894 | - var IteratorProxy = createIteratorProxy(function() { | |
| 2895 | - var iterator = this.iterator; | |
| 2896 | - var result = anObject(call(this.next, iterator)); | |
| 2897 | - if (!(this.done = !!result.done)) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true); | |
| 2898 | - }); | |
| 2899 | - $({ | |
| 2900 | - target: "Iterator", | |
| 2901 | - proto: true, | |
| 2902 | - real: true, | |
| 2903 | - forced: FORCED | |
| 2904 | - }, { map: function map(mapper) { | |
| 2905 | - anObject(this); | |
| 2906 | - try { | |
| 2907 | - aCallable(mapper); | |
| 2908 | - } catch (error) { | |
| 2909 | - iteratorClose(this, "throw", error); | |
| 2910 | - } | |
| 2911 | - if (mapWithoutClosingOnEarlyError) return call(mapWithoutClosingOnEarlyError, this, mapper); | |
| 2912 | - return new IteratorProxy(getIteratorDirect(this), { mapper }); | |
| 2913 | - } }); | |
| 2914 | - })); | |
| 2915 | 1219 | |
| 2916 | -//#endregion | |
| 2917 | -//#region node_modules/core-js/modules/esnext.iterator.map.js | |
| 2918 | - var require_esnext_iterator_map = /* @__PURE__ */ __commonJSMin((() => { | |
| 2919 | - require_es_iterator_map(); | |
| 2920 | - })); | |
| 1220 | +/***/ }), | |
| 1221 | +/* 67 */ | |
| 1222 | +/***/ (function(module, exports) { | |
| 2921 | 1223 | |
| 2922 | -//#endregion | |
| 2923 | -//#region assets/dev/js/utils/breakpoints.js | |
| 2924 | - var require_breakpoints = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2925 | - init_objectSpread2(); | |
| 2926 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2927 | - exports.default = void 0; | |
| 2928 | - require_es_array_push(); | |
| 2929 | - require_esnext_iterator_constructor(); | |
| 2930 | - require_esnext_iterator_for_each(); | |
| 2931 | - require_esnext_iterator_map(); | |
| 2932 | - /** | |
| 2933 | - * Breakpoints | |
| 2934 | - * | |
| 2935 | - * This utility class contains helper functions relating to Elementor's breakpoints system. | |
| 2936 | - * | |
| 2937 | - * @since 3.4.0 | |
| 2938 | - */ | |
| 2939 | - var Breakpoints = class extends elementorModules.Module { | |
| 2940 | - constructor(responsiveConfig) { | |
| 2941 | - super(); | |
| 2942 | - this.responsiveConfig = responsiveConfig; | |
| 2943 | - } | |
| 2944 | - /** | |
| 2945 | - * Get Active Breakpoints List | |
| 2946 | - * | |
| 2947 | - * Returns a flat array containing the active breakpoints/devices. By default, it returns the li | |
| 2948 | - * the list ordered from smallest to largest breakpoint. If `true` is passed as a parameter, it reverses the order. | |
| 2949 | - * | |
| 2950 | - * @since 3.4.0 | |
| 2951 | - * | |
| 2952 | - * @param {Object} args | |
| 2953 | - */ | |
| 2954 | - getActiveBreakpointsList(args = {}) { | |
| 2955 | - args = _objectSpread2(_objectSpread2({}, { | |
| 2956 | - largeToSmall: false, | |
| 2957 | - withDesktop: false | |
| 2958 | - }), args); | |
| 2959 | - const breakpointKeys = Object.keys(this.responsiveConfig.activeBreakpoints); | |
| 2960 | - if (args.withDesktop) { | |
| 2961 | - const indexToInsertDesktopDevice = -1 === breakpointKeys.indexOf("widescreen") ? breakpointKeys.length : breakpointKeys.length - 1; | |
| 2962 | - breakpointKeys.splice(indexToInsertDesktopDevice, 0, "desktop"); | |
| 2963 | - } | |
| 2964 | - if (args.largeToSmall) breakpointKeys.reverse(); | |
| 2965 | - return breakpointKeys; | |
| 2966 | - } | |
| 2967 | - /** | |
| 2968 | - * Get Active Breakpoint Values | |
| 2969 | - * | |
| 2970 | - * Returns a flat array containing the list of active breakpoint values, from smallest to largest. | |
| 2971 | - * | |
| 2972 | - * @since 3.4.0 | |
| 2973 | - */ | |
| 2974 | - getBreakpointValues() { | |
| 2975 | - const { activeBreakpoints } = this.responsiveConfig, breakpointValues = []; | |
| 2976 | - Object.values(activeBreakpoints).forEach((breakpointConfig) => { | |
| 2977 | - breakpointValues.push(breakpointConfig.value); | |
| 2978 | - }); | |
| 2979 | - return breakpointValues; | |
| 2980 | - } | |
| 2981 | - /** | |
| 2982 | - * Get Desktop Previous Device Key | |
| 2983 | - * | |
| 2984 | - * Returns the key of the device directly under desktop (can be 'tablet', 'tablet_extra', 'laptop'). | |
| 2985 | - * | |
| 2986 | - * @since 3.4.0 | |
| 2987 | - * | |
| 2988 | - * @return {string} device key | |
| 2989 | - */ | |
| 2990 | - getDesktopPreviousDeviceKey() { | |
| 2991 | - let desktopPreviousDevice = ""; | |
| 2992 | - const { activeBreakpoints } = this.responsiveConfig, breakpointKeys = Object.keys(activeBreakpoints), numOfDevices = breakpointKeys.length; | |
| 2993 | - if ("min" === activeBreakpoints[breakpointKeys[numOfDevices - 1]].direction) desktopPreviousDevice = breakpointKeys[numOfDevices - 2]; | |
| 2994 | - else desktopPreviousDevice = breakpointKeys[numOfDevices - 1]; | |
| 2995 | - return desktopPreviousDevice; | |
| 2996 | - } | |
| 2997 | - /** | |
| 2998 | - * Get Device Minimum Breakpoint | |
| 2999 | - * | |
| 3000 | - * Returns the minimum point in the device's display range. For each device, the minimum point of its display range | |
| 3001 | - * is the max point of the device below it + 1px. For example, if the active devices are mobile, tablet, | |
| 3002 | - * and desktop, and the mobile breakpoint is 767px, the minimum display point for tablet devices is 768px. | |
| 3003 | - * | |
| 3004 | - * @since 3.4.0 | |
| 3005 | - * | |
| 3006 | - * @return {number|*} minimum breakpoint | |
| 3007 | - */ | |
| 3008 | - getDesktopMinPoint() { | |
| 3009 | - const { activeBreakpoints } = this.responsiveConfig; | |
| 3010 | - return activeBreakpoints[this.getDesktopPreviousDeviceKey()].value + 1; | |
| 3011 | - } | |
| 3012 | - /** | |
| 3013 | - * Get Device Minimum Breakpoint | |
| 3014 | - * | |
| 3015 | - * Returns the minimum point in the device's display range. For each device, the minimum point of its display range | |
| 3016 | - * is the max point of the device below it + 1px. For example, if the active devices are mobile, tablet, | |
| 3017 | - * and desktop, and the mobile breakpoint is 767px, the minimum display point for tablet devices is 768px. | |
| 3018 | - * | |
| 3019 | - * @since 3.4.0 | |
| 3020 | - * | |
| 3021 | - * @param {string} device | |
| 3022 | - * @return {number|*} minimum breakpoint | |
| 3023 | - */ | |
| 3024 | - getDeviceMinBreakpoint(device) { | |
| 3025 | - if ("desktop" === device) return this.getDesktopMinPoint(); | |
| 3026 | - const { activeBreakpoints } = this.responsiveConfig, breakpointNames = Object.keys(activeBreakpoints); | |
| 3027 | - let minBreakpoint; | |
| 3028 | - if (breakpointNames[0] === device) minBreakpoint = 320; | |
| 3029 | - else if ("widescreen" === device) if (activeBreakpoints[device]) minBreakpoint = activeBreakpoints[device].value; | |
| 3030 | - else minBreakpoint = this.responsiveConfig.breakpoints.widescreen; | |
| 3031 | - else minBreakpoint = activeBreakpoints[breakpointNames[breakpointNames.indexOf(device) - 1]].value + 1; | |
| 3032 | - return minBreakpoint; | |
| 3033 | - } | |
| 3034 | - /** | |
| 3035 | - * Get Active Match Regex | |
| 3036 | - * | |
| 3037 | - * Returns a regular expression containing all active breakpoints prefixed with an underscore. | |
| 3038 | - * | |
| 3039 | - * @return {RegExp} Active Match Regex | |
| 3040 | - */ | |
| 3041 | - getActiveMatchRegex() { | |
| 3042 | - return new RegExp(this.getActiveBreakpointsList().map((device) => "_" + device).join("|") + "$"); | |
| 3043 | - } | |
| 3044 | - }; | |
| 3045 | - exports.default = Breakpoints; | |
| 3046 | - })); | |
| 1224 | +var id = 0; | |
| 1225 | +var px = Math.random(); | |
| 1226 | +module.exports = function (key) { | |
| 1227 | + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); | |
| 1228 | +}; | |
| 3047 | 1229 | |
| 3048 | -//#endregion | |
| 3049 | -//#region assets/dev/js/utils/events.js | |
| 3050 | - var require_events = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 3051 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 3052 | - exports.default = exports.Events = void 0; | |
| 3053 | - var Events = class { | |
| 3054 | - /** | |
| 3055 | - * Dispatch an Elementor event. | |
| 3056 | - * | |
| 3057 | - * Will dispatch both native event & jQuery event (as BC). | |
| 3058 | - * By default, `bcEvent` is `null`. | |
| 3059 | - * | |
| 3060 | - * @param {Object} context - The context that will dispatch the event. | |
| 3061 | - * @param {string} event - Event to dispatch. | |
| 3062 | - * @param {*} data - Data to pass to the event, default to `null`. | |
| 3063 | - * @param {string|null} bcEvent - BC event to dispatch, default to `null`. | |
| 3064 | - * | |
| 3065 | - * @return {void} | |
| 3066 | - */ | |
| 3067 | - static dispatch(context, event, data = null, bcEvent = null) { | |
| 3068 | - context = context instanceof jQuery ? context[0] : context; | |
| 3069 | - if (bcEvent) context.dispatchEvent(new CustomEvent(bcEvent, { detail: data })); | |
| 3070 | - context.dispatchEvent(new CustomEvent(event, { detail: data })); | |
| 3071 | - } | |
| 3072 | - }; | |
| 3073 | - exports.Events = Events; | |
| 3074 | - exports.default = Events; | |
| 3075 | - })); | |
| 3076 | 1230 | |
| 3077 | -//#endregion | |
| 3078 | -//#region modules/shapes/assets/js/frontend/frontend.js | |
| 3079 | - var require_frontend$1 = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 3080 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 3081 | - exports.default = void 0; | |
| 3082 | - var _default = class extends elementorModules.Module { | |
| 3083 | - constructor() { | |
| 3084 | - super(); | |
| 3085 | - elementorFrontend.elementsHandler.attachHandler("text-path", () => __elementorLoadChunk("text-path")); | |
| 3086 | - } | |
| 3087 | - }; | |
| 3088 | - exports.default = _default; | |
| 3089 | - })); | |
| 1231 | +/***/ }), | |
| 1232 | +/* 68 */ | |
| 1233 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3090 | 1234 | |
| 3091 | -//#endregion | |
| 3092 | -//#region assets/dev/js/frontend/utils/controls.js | |
| 3093 | - var require_controls = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 3094 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 3095 | - exports.default = void 0; | |
| 3096 | - var Controls = class { | |
| 3097 | - /** | |
| 3098 | - * Get Control Value | |
| 3099 | - * | |
| 3100 | - * Retrieves a control value. | |
| 3101 | - * This function has been copied from `elementor/assets/dev/js/editor/utils/conditions.js`. | |
| 3102 | - * | |
| 3103 | - * @since 3.11.0 | |
| 3104 | - * | |
| 3105 | - * @param {{}} controlSettings A settings object (e.g. element settings - keys and values) | |
| 3106 | - * @param {string} controlKey The control key name | |
| 3107 | - * @param {string} controlSubKey A specific property of the control object. | |
| 3108 | - * @return {*} Control Value | |
| 3109 | - */ | |
| 3110 | - getControlValue(controlSettings, controlKey, controlSubKey) { | |
| 3111 | - let value; | |
| 3112 | - if ("object" === typeof controlSettings[controlKey] && controlSubKey) value = controlSettings[controlKey][controlSubKey]; | |
| 3113 | - else value = controlSettings[controlKey]; | |
| 3114 | - return value; | |
| 3115 | - } | |
| 3116 | - /** | |
| 3117 | - * Get the value of a responsive control. | |
| 3118 | - * | |
| 3119 | - * Retrieves the value of a responsive control for the current device or for this first parent device which has a control value. | |
| 3120 | - * | |
| 3121 | - * @since 3.11.0 | |
| 3122 | - * | |
| 3123 | - * @param {{}} controlSettings A settings object (e.g. element settings - keys and values) | |
| 3124 | - * @param {string} controlKey The control key name | |
| 3125 | - * @param {string} controlSubKey A specific property of the control object. | |
| 3126 | - * @param {string} device If we want to get a value for a specific device mode. | |
| 3127 | - * @return {*} Control Value | |
| 3128 | - */ | |
| 3129 | - getResponsiveControlValue(controlSettings, controlKey, controlSubKey = "", device = null) { | |
| 3130 | - const currentDeviceMode = device || elementorFrontend.getCurrentDeviceMode(); | |
| 3131 | - const controlValueDesktop = this.getControlValue(controlSettings, controlKey, controlSubKey); | |
| 3132 | - if ("widescreen" === currentDeviceMode) { | |
| 3133 | - const controlValueWidescreen = this.getControlValue(controlSettings, `${controlKey}_widescreen`, controlSubKey); | |
| 3134 | - return !!controlValueWidescreen || 0 === controlValueWidescreen ? controlValueWidescreen : controlValueDesktop; | |
| 3135 | - } | |
| 3136 | - const activeBreakpoints = elementorFrontend.breakpoints.getActiveBreakpointsList({ withDesktop: true }); | |
| 3137 | - let parentDeviceMode = currentDeviceMode; | |
| 3138 | - let deviceIndex = activeBreakpoints.indexOf(currentDeviceMode); | |
| 3139 | - let controlValue = ""; | |
| 3140 | - while (deviceIndex <= activeBreakpoints.length) { | |
| 3141 | - if ("desktop" === parentDeviceMode) { | |
| 3142 | - controlValue = controlValueDesktop; | |
| 3143 | - break; | |
| 3144 | - } | |
| 3145 | - const responsiveControlKey = `${controlKey}_${parentDeviceMode}`; | |
| 3146 | - const responsiveControlValue = this.getControlValue(controlSettings, responsiveControlKey, controlSubKey); | |
| 3147 | - if (!!responsiveControlValue || 0 === responsiveControlValue) { | |
| 3148 | - controlValue = responsiveControlValue; | |
| 3149 | - break; | |
| 3150 | - } | |
| 3151 | - deviceIndex++; | |
| 3152 | - parentDeviceMode = activeBreakpoints[deviceIndex]; | |
| 3153 | - } | |
| 3154 | - return controlValue; | |
| 3155 | - } | |
| 3156 | - }; | |
| 3157 | - exports.default = Controls; | |
| 3158 | - })); | |
| 1235 | +// 7.1.15 ToLength | |
| 1236 | +var toInteger = __webpack_require__(77); | |
| 1237 | +var min = Math.min; | |
| 1238 | +module.exports = function (it) { | |
| 1239 | + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 | |
| 1240 | +}; | |
| 3159 | 1241 | |
| 3160 | -//#endregion | |
| 3161 | -//#region node_modules/core-js/modules/es.iterator.filter.js | |
| 3162 | - var require_es_iterator_filter = /* @__PURE__ */ __commonJSMin((() => { | |
| 3163 | - var $ = require_export(); | |
| 3164 | - var call = require_function_call(); | |
| 3165 | - var aCallable = require_a_callable(); | |
| 3166 | - var anObject = require_an_object(); | |
| 3167 | - var getIteratorDirect = require_get_iterator_direct(); | |
| 3168 | - var createIteratorProxy = require_iterator_create_proxy(); | |
| 3169 | - var callWithSafeIterationClosing = require_call_with_safe_iteration_closing(); | |
| 3170 | - var IS_PURE = require_is_pure(); | |
| 3171 | - var iteratorClose = require_iterator_close(); | |
| 3172 | - var iteratorHelperThrowsOnInvalidIterator = require_iterator_helper_throws_on_invalid_iterator(); | |
| 3173 | - var iteratorHelperWithoutClosingOnEarlyError = require_iterator_helper_without_closing_on_early_error(); | |
| 3174 | - var FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator("filter", function() {}); | |
| 3175 | - var filterWithoutClosingOnEarlyError = !IS_PURE && !FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR && iteratorHelperWithoutClosingOnEarlyError("filter", TypeError); | |
| 3176 | - var FORCED = IS_PURE || FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR || filterWithoutClosingOnEarlyError; | |
| 3177 | - var IteratorProxy = createIteratorProxy(function() { | |
| 3178 | - var iterator = this.iterator; | |
| 3179 | - var predicate = this.predicate; | |
| 3180 | - var next = this.next; | |
| 3181 | - var result; | |
| 3182 | - var done; | |
| 3183 | - var value; | |
| 3184 | - while (true) { | |
| 3185 | - result = anObject(call(next, iterator)); | |
| 3186 | - done = this.done = !!result.done; | |
| 3187 | - if (done) return; | |
| 3188 | - value = result.value; | |
| 3189 | - if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value; | |
| 3190 | - } | |
| 3191 | - }); | |
| 3192 | - $({ | |
| 3193 | - target: "Iterator", | |
| 3194 | - proto: true, | |
| 3195 | - real: true, | |
| 3196 | - forced: FORCED | |
| 3197 | - }, { filter: function filter(predicate) { | |
| 3198 | - anObject(this); | |
| 3199 | - try { | |
| 3200 | - aCallable(predicate); | |
| 3201 | - } catch (error) { | |
| 3202 | - iteratorClose(this, "throw", error); | |
| 3203 | - } | |
| 3204 | - if (filterWithoutClosingOnEarlyError) return call(filterWithoutClosingOnEarlyError, this, predicate); | |
| 3205 | - return new IteratorProxy(getIteratorDirect(this), { predicate }); | |
| 3206 | - } }); | |
| 3207 | - })); | |
| 3208 | 1242 | |
| 3209 | -//#endregion | |
| 3210 | -//#region node_modules/core-js/modules/esnext.iterator.filter.js | |
| 3211 | - var require_esnext_iterator_filter = /* @__PURE__ */ __commonJSMin((() => { | |
| 3212 | - require_es_iterator_filter(); | |
| 3213 | - })); | |
| 1243 | +/***/ }), | |
| 1244 | +/* 69 */, | |
| 1245 | +/* 70 */ | |
| 1246 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3214 | 1247 | |
| 3215 | -//#endregion | |
| 3216 | -//#region assets/dev/js/frontend/utils/anchor-scroll-margin.js | |
| 3217 | - var require_anchor_scroll_margin = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 3218 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 3219 | - exports.default = void 0; | |
| 3220 | - require_es_array_push(); | |
| 3221 | - require_esnext_iterator_constructor(); | |
| 3222 | - require_esnext_iterator_filter(); | |
| 3223 | - require_esnext_iterator_for_each(); | |
| 3224 | - var _default = class extends elementorModules.ViewModule { | |
| 3225 | - getDefaultSettings() { | |
| 3226 | - return { selectors: { | |
| 3227 | - links: ".elementor-element a[href*=\"#\"]", | |
| 3228 | - stickyElements: ".elementor-element.elementor-sticky" | |
| 3229 | - } }; | |
| 3230 | - } | |
| 3231 | - onInit() { | |
| 3232 | - this.observeStickyElements(() => { | |
| 3233 | - this.initializeStickyAndAnchorTracking(); | |
| 3234 | - }); | |
| 3235 | - } | |
| 3236 | - observeStickyElements(callback) { | |
| 3237 | - new MutationObserver((mutationsList) => { | |
| 3238 | - for (const mutation of mutationsList) if ("childList" === mutation.type || "attributes" === mutation.type && mutation.target.classList.contains("elementor-sticky")) callback(); | |
| 3239 | - }).observe(document.body, { | |
| 3240 | - childList: true, | |
| 3241 | - subtree: true, | |
| 3242 | - attributes: true, | |
| 3243 | - attributeFilter: ["class", "style"] | |
| 3244 | - }); | |
| 3245 | - } | |
| 3246 | - initializeStickyAndAnchorTracking() { | |
| 3247 | - const anchorLinks = this.getAllAnchorLinks(); | |
| 3248 | - const stickyElements = this.getAllStickyElements(); | |
| 3249 | - const trackedElements = []; | |
| 3250 | - if (!stickyElements.length > 0 && !anchorLinks.length > 0) return; | |
| 3251 | - this.trackStickyElements(stickyElements, trackedElements); | |
| 3252 | - this.trackAnchorLinks(anchorLinks, trackedElements); | |
| 3253 | - this.organizeStickyAndAnchors(trackedElements); | |
| 3254 | - } | |
| 3255 | - trackAnchorLinks(anchorLinks, trackedElements) { | |
| 3256 | - anchorLinks.forEach((element) => { | |
| 3257 | - const target = this.getAnchorTarget(element); | |
| 3258 | - const scrollPosition = this.getScrollPosition(target); | |
| 3259 | - trackedElements.push({ | |
| 3260 | - element: target, | |
| 3261 | - type: "anchor", | |
| 3262 | - scrollPosition | |
| 3263 | - }); | |
| 3264 | - }); | |
| 3265 | - } | |
| 3266 | - trackStickyElements(stickyElements, trackedElements) { | |
| 3267 | - stickyElements.forEach((element) => { | |
| 3268 | - const settings = this.getElementSettings(element); | |
| 3269 | - if (!settings || !settings.sticky_anchor_link_offset) return; | |
| 3270 | - const { sticky_anchor_link_offset: scrollMarginTop } = settings; | |
| 3271 | - if (0 === scrollMarginTop) return; | |
| 3272 | - const scrollPosition = this.getScrollPosition(element); | |
| 3273 | - trackedElements.push({ | |
| 3274 | - scrollMarginTop, | |
| 3275 | - type: "sticky", | |
| 3276 | - scrollPosition | |
| 3277 | - }); | |
| 3278 | - }); | |
| 3279 | - } | |
| 3280 | - organizeStickyAndAnchors(elements) { | |
| 3281 | - const stickyList = this.filterAndSortElementsByType(elements, "sticky"); | |
| 3282 | - const anchorList = this.filterAndSortElementsByType(elements, "anchor"); | |
| 3283 | - stickyList.forEach((sticky, index) => { | |
| 3284 | - this.defineCurrentStickyRange(sticky, index, stickyList, anchorList); | |
| 3285 | - }); | |
| 3286 | - } | |
| 3287 | - defineCurrentStickyRange(sticky, index, stickyList, anchorList) { | |
| 3288 | - const nextStickyScrollPosition = index + 1 < stickyList.length ? stickyList[index + 1].scrollPosition : Infinity; | |
| 3289 | - sticky.anchor = anchorList.filter((anchor) => { | |
| 3290 | - const withinRange = anchor.scrollPosition > sticky.scrollPosition && anchor.scrollPosition < nextStickyScrollPosition; | |
| 3291 | - if (withinRange) anchor.element.style.scrollMarginTop = `${sticky.scrollMarginTop}px`; | |
| 3292 | - return withinRange; | |
| 3293 | - }); | |
| 3294 | - } | |
| 3295 | - getScrollPosition(element) { | |
| 3296 | - let offsetTop = 0; | |
| 3297 | - while (element) { | |
| 3298 | - offsetTop += element.offsetTop; | |
| 3299 | - element = element.offsetParent; | |
| 3300 | - } | |
| 3301 | - return offsetTop; | |
| 3302 | - } | |
| 3303 | - getAllStickyElements() { | |
| 3304 | - const allStickyElements = document.querySelectorAll(this.getSettings("selectors.stickyElements")); | |
| 3305 | - return Array.from(allStickyElements).filter((anchor, index, self) => index === self.findIndex((t) => t.getAttribute("data-id") === anchor.getAttribute("data-id"))); | |
| 3306 | - } | |
| 3307 | - getAllAnchorLinks() { | |
| 3308 | - const allAnchors = document.querySelectorAll(this.getSettings("selectors.links")); | |
| 3309 | - return Array.from(allAnchors).filter((anchor, index, self) => index === self.findIndex((t) => t.getAttribute("href") === anchor.getAttribute("href"))); | |
| 3310 | - } | |
| 3311 | - filterAndSortElementsByType(elements, type) { | |
| 3312 | - return elements.filter((item) => type === item.type).sort((a, b) => a.scrollPosition - b.scrollPosition); | |
| 3313 | - } | |
| 3314 | - isValidSelector(hash) { | |
| 3315 | - return /^#[A-Za-z_][\w-]*$/.test(hash); | |
| 3316 | - } | |
| 3317 | - getAnchorTarget(element) { | |
| 3318 | - const hash = element === null || element === void 0 ? void 0 : element.hash; | |
| 3319 | - if (!this.isValidSelector(hash)) return null; | |
| 3320 | - return document.querySelector(hash); | |
| 3321 | - } | |
| 3322 | - getElementSettings(element) { | |
| 3323 | - return JSON.parse(element.getAttribute("data-settings")); | |
| 3324 | - } | |
| 3325 | - }; | |
| 3326 | - exports.default = _default; | |
| 3327 | - })); | |
| 1248 | +var META = __webpack_require__(59)('meta'); | |
| 1249 | +var isObject = __webpack_require__(9); | |
| 1250 | +var has = __webpack_require__(19); | |
| 1251 | +var setDesc = __webpack_require__(15).f; | |
| 1252 | +var id = 0; | |
| 1253 | +var isExtensible = Object.isExtensible || function () { | |
| 1254 | + return true; | |
| 1255 | +}; | |
| 1256 | +var FREEZE = !__webpack_require__(22)(function () { | |
| 1257 | + return isExtensible(Object.preventExtensions({})); | |
| 1258 | +}); | |
| 1259 | +var setMeta = function (it) { | |
| 1260 | + setDesc(it, META, { value: { | |
| 1261 | + i: 'O' + ++id, // object ID | |
| 1262 | + w: {} // weak collections IDs | |
| 1263 | + } }); | |
| 1264 | +}; | |
| 1265 | +var fastKey = function (it, create) { | |
| 1266 | + // return primitive with prefix | |
| 1267 | + if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; | |
| 1268 | + if (!has(it, META)) { | |
| 1269 | + // can't set metadata to uncaught frozen object | |
| 1270 | + if (!isExtensible(it)) return 'F'; | |
| 1271 | + // not necessary to add metadata | |
| 1272 | + if (!create) return 'E'; | |
| 1273 | + // add missing metadata | |
| 1274 | + setMeta(it); | |
| 1275 | + // return object ID | |
| 1276 | + } return it[META].i; | |
| 1277 | +}; | |
| 1278 | +var getWeak = function (it, create) { | |
| 1279 | + if (!has(it, META)) { | |
| 1280 | + // can't set metadata to uncaught frozen object | |
| 1281 | + if (!isExtensible(it)) return true; | |
| 1282 | + // not necessary to add metadata | |
| 1283 | + if (!create) return false; | |
| 1284 | + // add missing metadata | |
| 1285 | + setMeta(it); | |
| 1286 | + // return hash weak collections IDs | |
| 1287 | + } return it[META].w; | |
| 1288 | +}; | |
| 1289 | +// add metadata on freeze-family methods calling | |
| 1290 | +var onFreeze = function (it) { | |
| 1291 | + if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it); | |
| 1292 | + return it; | |
| 1293 | +}; | |
| 1294 | +var meta = module.exports = { | |
| 1295 | + KEY: META, | |
| 1296 | + NEED: false, | |
| 1297 | + fastKey: fastKey, | |
| 1298 | + getWeak: getWeak, | |
| 1299 | + onFreeze: onFreeze | |
| 1300 | +}; | |
| 3328 | 1301 | |
| 3329 | -//#endregion | |
| 3330 | -//#region assets/dev/js/frontend/utils/utils.js | |
| 3331 | - var require_utils = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 3332 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 3333 | - exports.isScrollSnapActive = exports.escapeHTML = void 0; | |
| 3334 | - var escapeHTML = (str) => { | |
| 3335 | - const specialChars = { | |
| 3336 | - "&": "&", | |
| 3337 | - "<": "<", | |
| 3338 | - ">": ">", | |
| 3339 | - "'": "'", | |
| 3340 | - "\"": """ | |
| 3341 | - }; | |
| 3342 | - return str.replace(/[&<>'"]/g, (tag) => specialChars[tag] || tag); | |
| 3343 | - }; | |
| 3344 | - exports.escapeHTML = escapeHTML; | |
| 3345 | - var isScrollSnapActive = () => { | |
| 3346 | - var _elementor$settings$p; | |
| 3347 | - var _elementorFrontend$co; | |
| 3348 | - return "yes" === (elementorFrontend.isEditMode() ? (_elementor$settings$p = elementor.settings.page.model.attributes) === null || _elementor$settings$p === void 0 ? void 0 : _elementor$settings$p.scroll_snap : (_elementorFrontend$co = elementorFrontend.config.settings.page) === null || _elementorFrontend$co === void 0 ? void 0 : _elementorFrontend$co.scroll_snap) ? true : false; | |
| 3349 | - }; | |
| 3350 | - exports.isScrollSnapActive = isScrollSnapActive; | |
| 3351 | - })); | |
| 3352 | 1302 | |
| 3353 | -//#endregion | |
| 3354 | -//#region assets/dev/js/utils/hooks.js | |
| 3355 | - var require_hooks = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 3356 | - /** | |
| 3357 | - * Handles managing all events for whatever you plug it into. Priorities for hooks are based on lowest to highest in | |
| 3358 | - * that, lowest priority hooks are fired first. | |
| 3359 | - */ | |
| 3360 | - require_es_array_push(); | |
| 3361 | - var EventManager = function() { | |
| 3362 | - var slice = Array.prototype.slice; | |
| 3363 | - var MethodsAvailable; | |
| 3364 | - /** | |
| 3365 | - * Contains the hooks that get registered with this EventManager. The array for storage utilizes a "flat" | |
| 3366 | - * object literal such that looking up the hook utilizes the native object literal hash. | |
| 3367 | - */ | |
| 3368 | - var STORAGE = { | |
| 3369 | - actions: {}, | |
| 3370 | - filters: {} | |
| 3371 | - }; | |
| 3372 | - /** | |
| 3373 | - * Removes the specified hook by resetting the value of it. | |
| 3374 | - * | |
| 3375 | - * @param {string} type Type of hook, either 'actions' or 'filters' | |
| 3376 | - * @param {Function} hook The hook (namespace.identifier) to remove | |
| 3377 | - * @param {Function} callback | |
| 3378 | - * @param {*} context | |
| 3379 | - * @private | |
| 3380 | - */ | |
| 3381 | - function _removeHook(type, hook, callback, context) { | |
| 3382 | - var handlers; | |
| 3383 | - var handler; | |
| 3384 | - var i; | |
| 3385 | - if (!STORAGE[type][hook]) return; | |
| 3386 | - if (!callback) STORAGE[type][hook] = []; | |
| 3387 | - else { | |
| 3388 | - handlers = STORAGE[type][hook]; | |
| 3389 | - if (!context) { | |
| 3390 | - for (i = handlers.length; i--;) if (handlers[i].callback === callback) handlers.splice(i, 1); | |
| 3391 | - } else for (i = handlers.length; i--;) { | |
| 3392 | - handler = handlers[i]; | |
| 3393 | - if (handler.callback === callback && handler.context === context) handlers.splice(i, 1); | |
| 3394 | - } | |
| 3395 | - } | |
| 3396 | - } | |
| 3397 | - /** | |
| 3398 | - * Use an insert sort for keeping our hooks organized based on priority. This function is ridiculously faster | |
| 3399 | - * than bubble sort, etc: http://jsperf.com/javascript-sort | |
| 3400 | - * | |
| 3401 | - * @param {Array<*>} hooks The custom array containing all of the appropriate hooks to perform an insert sort on. | |
| 3402 | - * @private | |
| 3403 | - */ | |
| 3404 | - function _hookInsertSort(hooks) { | |
| 3405 | - var tmpHook; | |
| 3406 | - var j; | |
| 3407 | - var prevHook; | |
| 3408 | - for (var i = 1, len = hooks.length; i < len; i++) { | |
| 3409 | - tmpHook = hooks[i]; | |
| 3410 | - j = i; | |
| 3411 | - while ((prevHook = hooks[j - 1]) && prevHook.priority > tmpHook.priority) { | |
| 3412 | - hooks[j] = hooks[j - 1]; | |
| 3413 | - --j; | |
| 3414 | - } | |
| 3415 | - hooks[j] = tmpHook; | |
| 3416 | - } | |
| 3417 | - return hooks; | |
| 3418 | - } | |
| 3419 | - /** | |
| 3420 | - * Adds the hook to the appropriate storage container | |
| 3421 | - * | |
| 3422 | - * @param {string} type 'actions' or 'filters' | |
| 3423 | - * @param {Array<*>} hook The hook (namespace.identifier) to add to our event manager | |
| 3424 | - * @param {Function} callback The function that will be called when the hook is executed. | |
| 3425 | - * @param {number} priority The priority of this hook. Must be an integer. | |
| 3426 | - * @param {*} [context] A value to be used for this | |
| 3427 | - * @private | |
| 3428 | - */ | |
| 3429 | - function _addHook(type, hook, callback, priority, context) { | |
| 3430 | - var hookObject = { | |
| 3431 | - callback, | |
| 3432 | - priority, | |
| 3433 | - context | |
| 3434 | - }; | |
| 3435 | - var hooks = STORAGE[type][hook]; | |
| 3436 | - if (hooks) { | |
| 3437 | - var hasSameCallback = false; | |
| 3438 | - jQuery.each(hooks, function() { | |
| 3439 | - if (this.callback === callback) { | |
| 3440 | - hasSameCallback = true; | |
| 3441 | - return false; | |
| 3442 | - } | |
| 3443 | - }); | |
| 3444 | - if (hasSameCallback) return; | |
| 3445 | - hooks.push(hookObject); | |
| 3446 | - hooks = _hookInsertSort(hooks); | |
| 3447 | - } else hooks = [hookObject]; | |
| 3448 | - STORAGE[type][hook] = hooks; | |
| 3449 | - } | |
| 3450 | - /** | |
| 3451 | - * Runs the specified hook. If it is an action, the value is not modified but if it is a filter, it is. | |
| 3452 | - * | |
| 3453 | - * @param {string} type 'actions' or 'filters' | |
| 3454 | - * @param {*} hook The hook ( namespace.identifier ) to be ran. | |
| 3455 | - * @param {Array<*>} args Arguments to pass to the action/filter. If it's a filter, args is actually a single parameter. | |
| 3456 | - * @private | |
| 3457 | - */ | |
| 3458 | - function _runHook(type, hook, args) { | |
| 3459 | - var handlers = STORAGE[type][hook]; | |
| 3460 | - var i; | |
| 3461 | - var len; | |
| 3462 | - if (!handlers) return "filters" === type ? args[0] : false; | |
| 3463 | - len = handlers.length; | |
| 3464 | - if ("filters" === type) for (i = 0; i < len; i++) args[0] = handlers[i].callback.apply(handlers[i].context, args); | |
| 3465 | - else for (i = 0; i < len; i++) handlers[i].callback.apply(handlers[i].context, args); | |
| 3466 | - return "filters" === type ? args[0] : true; | |
| 3467 | - } | |
| 3468 | - /** | |
| 3469 | - * Adds an action to the event manager. | |
| 3470 | - * | |
| 3471 | - * @param {string} action Must contain namespace.identifier | |
| 3472 | - * @param {Function} callback Must be a valid callback function before this action is added | |
| 3473 | - * @param {number} [priority=10] Used to control when the function is executed in relation to other callbacks bound to the same hook | |
| 3474 | - * @param {*} [context] Supply a value to be used for this | |
| 3475 | - */ | |
| 3476 | - function addAction(action, callback, priority, context) { | |
| 3477 | - if ("string" === typeof action && "function" === typeof callback) { | |
| 3478 | - priority = parseInt(priority || 10, 10); | |
| 3479 | - _addHook("actions", action, callback, priority, context); | |
| 3480 | - } | |
| 3481 | - return MethodsAvailable; | |
| 3482 | - } | |
| 3483 | - /** | |
| 3484 | - * Performs an action if it exists. You can pass as many arguments as you want to this function; the only rule is | |
| 3485 | - * that the first argument must always be the action. | |
| 3486 | - */ | |
| 3487 | - function doAction() { | |
| 3488 | - var args = slice.call(arguments); | |
| 3489 | - var action = args.shift(); | |
| 3490 | - if ("string" === typeof action) _runHook("actions", action, args); | |
| 3491 | - return MethodsAvailable; | |
| 3492 | - } | |
| 3493 | - /** | |
| 3494 | - * Removes the specified action if it contains a namespace.identifier & exists. | |
| 3495 | - * | |
| 3496 | - * @param {string} action The action to remove | |
| 3497 | - * @param {Function} [callback] Callback function to remove | |
| 3498 | - */ | |
| 3499 | - function removeAction(action, callback) { | |
| 3500 | - if ("string" === typeof action) _removeHook("actions", action, callback); | |
| 3501 | - return MethodsAvailable; | |
| 3502 | - } | |
| 3503 | - /** | |
| 3504 | - * Adds a filter to the event manager. | |
| 3505 | - * | |
| 3506 | - * @param {string} filter Must contain namespace.identifier | |
| 3507 | - * @param {Function} callback Must be a valid callback function before this action is added | |
| 3508 | - * @param {number} [priority=10] Used to control when the function is executed in relation to other callbacks bound to the same hook | |
| 3509 | - * @param {*} [context] Supply a value to be used for this | |
| 3510 | - */ | |
| 3511 | - function addFilter(filter, callback, priority, context) { | |
| 3512 | - if ("string" === typeof filter && "function" === typeof callback) { | |
| 3513 | - priority = parseInt(priority || 10, 10); | |
| 3514 | - _addHook("filters", filter, callback, priority, context); | |
| 3515 | - } | |
| 3516 | - return MethodsAvailable; | |
| 3517 | - } | |
| 3518 | - /** | |
| 3519 | - * Performs a filter if it exists. You should only ever pass 1 argument to be filtered. The only rule is that | |
| 3520 | - * the first argument must always be the filter. | |
| 3521 | - */ | |
| 3522 | - function applyFilters() { | |
| 3523 | - var args = slice.call(arguments); | |
| 3524 | - var filter = args.shift(); | |
| 3525 | - if ("string" === typeof filter) return _runHook("filters", filter, args); | |
| 3526 | - return MethodsAvailable; | |
| 3527 | - } | |
| 3528 | - /** | |
| 3529 | - * Removes the specified filter if it contains a namespace.identifier & exists. | |
| 3530 | - * | |
| 3531 | - * @param {string} filter The action to remove | |
| 3532 | - * @param {Function} [callback] Callback function to remove | |
| 3533 | - */ | |
| 3534 | - function removeFilter(filter, callback) { | |
| 3535 | - if ("string" === typeof filter) _removeHook("filters", filter, callback); | |
| 3536 | - return MethodsAvailable; | |
| 3537 | - } | |
| 3538 | - /** | |
| 3539 | - * Maintain a reference to the object scope so our public methods never get confusing. | |
| 3540 | - */ | |
| 3541 | - MethodsAvailable = { | |
| 3542 | - removeFilter, | |
| 3543 | - applyFilters, | |
| 3544 | - addFilter, | |
| 3545 | - removeAction, | |
| 3546 | - doAction, | |
| 3547 | - addAction | |
| 3548 | - }; | |
| 3549 | - return MethodsAvailable; | |
| 3550 | - }; | |
| 3551 | - module.exports = EventManager; | |
| 3552 | - })); | |
| 1303 | +/***/ }), | |
| 1304 | +/* 71 */ | |
| 1305 | +/***/ (function(module, exports) { | |
| 3553 | 1306 | |
| 3554 | -//#endregion | |
| 3555 | -//#region assets/dev/js/frontend/handlers/global.js | |
| 3556 | - var require_global = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 3557 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 3558 | - exports.default = void 0; | |
| 3559 | - var GlobalHandler = class extends elementorModules.frontend.handlers.Base { | |
| 3560 | - getWidgetType() { | |
| 3561 | - return "global"; | |
| 3562 | - } | |
| 3563 | - animate() { | |
| 3564 | - const $element = this.$element; | |
| 3565 | - const animation = this.getAnimation(); | |
| 3566 | - if ("none" === animation) { | |
| 3567 | - $element.removeClass("elementor-invisible"); | |
| 3568 | - return; | |
| 3569 | - } | |
| 3570 | - const elementSettings = this.getElementSettings(); | |
| 3571 | - const animationDelay = elementSettings._animation_delay || elementSettings.animation_delay || 0; | |
| 3572 | - $element.removeClass(animation); | |
| 3573 | - if (this.currentAnimation) $element.removeClass(this.currentAnimation); | |
| 3574 | - this.currentAnimation = animation; | |
| 3575 | - setTimeout(() => { | |
| 3576 | - $element.removeClass("elementor-invisible").addClass("animated " + animation); | |
| 3577 | - }, animationDelay); | |
| 3578 | - } | |
| 3579 | - getAnimation() { | |
| 3580 | - return this.getCurrentDeviceSetting("animation") || this.getCurrentDeviceSetting("_animation"); | |
| 3581 | - } | |
| 3582 | - onInit(...args) { | |
| 3583 | - super.onInit(...args); | |
| 3584 | - if (this.getAnimation()) { | |
| 3585 | - const observer = elementorModules.utils.Scroll.scrollObserver({ callback: (event) => { | |
| 3586 | - if (event.isInViewport) { | |
| 3587 | - this.animate(); | |
| 3588 | - observer.unobserve(this.$element[0]); | |
| 3589 | - } | |
| 3590 | - } }); | |
| 3591 | - observer.observe(this.$element[0]); | |
| 3592 | - } | |
| 3593 | - } | |
| 3594 | - onElementChange(propertyName) { | |
| 3595 | - if (/^_?animation/.test(propertyName)) this.animate(); | |
| 3596 | - } | |
| 3597 | - }; | |
| 3598 | - var _default = ($scope) => { | |
| 3599 | - elementorFrontend.elementsHandler.addHandler(GlobalHandler, { $element: $scope }); | |
| 3600 | - }; | |
| 3601 | - exports.default = _default; | |
| 3602 | - })); | |
| 1307 | +exports.f = Object.getOwnPropertySymbols; | |
| 3603 | 1308 | |
| 3604 | -//#endregion | |
| 3605 | -//#region assets/dev/js/frontend/handlers/create-editor-handler.js | |
| 3606 | - var require_create_editor_handler = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 3607 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 3608 | - exports.createEditorHandler = createEditorHandler; | |
| 3609 | - function createEditorHandler(importer) { | |
| 3610 | - return () => { | |
| 3611 | - return new Promise((resolve) => { | |
| 3612 | - if (elementorFrontend.isEditMode()) importer().then(resolve); | |
| 3613 | - }); | |
| 3614 | - }; | |
| 3615 | - } | |
| 3616 | - })); | |
| 3617 | 1309 | |
| 3618 | -//#endregion | |
| 3619 | -//#region assets/dev/js/frontend/handlers/container/container.js | |
| 3620 | - var require_container = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 3621 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 3622 | - exports.default = void 0; | |
| 3623 | - var _createEditorHandler = require_create_editor_handler(); | |
| 3624 | - exports.default = [ | |
| 3625 | - () => __elementorLoadChunk("background-slideshow"), | |
| 3626 | - () => __elementorLoadChunk("background-video"), | |
| 3627 | - (0, _createEditorHandler.createEditorHandler)(() => __elementorLoadChunk("handles-position")), | |
| 3628 | - (0, _createEditorHandler.createEditorHandler)(() => __elementorLoadChunk("container-shapes")), | |
| 3629 | - (0, _createEditorHandler.createEditorHandler)(() => __elementorLoadChunk("container-grid-container")) | |
| 3630 | - ]; | |
| 3631 | - })); | |
| 1310 | +/***/ }), | |
| 1311 | +/* 72 */ | |
| 1312 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3632 | 1313 | |
| 3633 | -//#endregion | |
| 3634 | -//#region assets/dev/js/frontend/handlers/section/section.js | |
| 3635 | - var require_section = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 3636 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 3637 | - exports.default = void 0; | |
| 3638 | - var _createEditorHandler = require_create_editor_handler(); | |
| 3639 | - exports.default = [ | |
| 3640 | - () => __elementorLoadChunk("section-stretched-section"), | |
| 3641 | - () => __elementorLoadChunk("background-slideshow"), | |
| 3642 | - () => __elementorLoadChunk("background-video"), | |
| 3643 | - (0, _createEditorHandler.createEditorHandler)(() => __elementorLoadChunk("handles-position")), | |
| 3644 | - (0, _createEditorHandler.createEditorHandler)(() => __elementorLoadChunk("section-shapes")) | |
| 3645 | - ]; | |
| 3646 | - })); | |
| 1314 | +"use strict"; | |
| 3647 | 1315 | |
| 3648 | -//#endregion | |
| 3649 | -//#region assets/dev/js/frontend/handlers/column.js | |
| 3650 | - var require_column = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 3651 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 3652 | - exports.default = void 0; | |
| 3653 | - exports.default = [() => __elementorLoadChunk("background-slideshow")]; | |
| 3654 | - })); | |
| 1316 | +// 19.1.3.6 Object.prototype.toString() | |
| 1317 | +var classof = __webpack_require__(113); | |
| 1318 | +var test = {}; | |
| 1319 | +test[__webpack_require__(12)('toStringTag')] = 'z'; | |
| 1320 | +if (test + '' != '[object z]') { | |
| 1321 | + __webpack_require__(35)(Object.prototype, 'toString', function toString() { | |
| 1322 | + return '[object ' + classof(this) + ']'; | |
| 1323 | + }, true); | |
| 1324 | +} | |
| 3655 | 1325 | |
| 3656 | -//#endregion | |
| 3657 | -//#region assets/dev/js/frontend/elements-handlers-manager.js | |
| 3658 | - var require_elements_handlers_manager = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 3659 | - var _interopRequireDefault = require_interopRequireDefault(); | |
| 3660 | - require_esnext_iterator_constructor(); | |
| 3661 | - require_esnext_iterator_for_each(); | |
| 3662 | - var _global = _interopRequireDefault(require_global()); | |
| 3663 | - var _container = _interopRequireDefault(require_container()); | |
| 3664 | - var _section = _interopRequireDefault(require_section()); | |
| 3665 | - var _column = _interopRequireDefault(require_column()); | |
| 3666 | - module.exports = function($) { | |
| 3667 | - const handlersInstances = {}; | |
| 3668 | - this.elementsHandlers = { | |
| 3669 | - "accordion.default": () => __elementorLoadChunk("accordion"), | |
| 3670 | - "alert.default": () => __elementorLoadChunk("alert"), | |
| 3671 | - "counter.default": () => __elementorLoadChunk("counter"), | |
| 3672 | - "progress.default": () => __elementorLoadChunk("progress"), | |
| 3673 | - "tabs.default": () => __elementorLoadChunk("tabs"), | |
| 3674 | - "toggle.default": () => __elementorLoadChunk("toggle"), | |
| 3675 | - "video.default": () => __elementorLoadChunk("video"), | |
| 3676 | - "image-carousel.default": () => __elementorLoadChunk("image-carousel"), | |
| 3677 | - "text-editor.default": () => __elementorLoadChunk("text-editor"), | |
| 3678 | - "wp-widget-media_audio.default": () => __elementorLoadChunk("wp-audio"), | |
| 3679 | - container: _container.default, | |
| 3680 | - section: _section.default, | |
| 3681 | - column: _column.default | |
| 3682 | - }; | |
| 3683 | - if (elementorFrontendConfig.experimentalFeatures.container) { | |
| 3684 | - this.elementsHandlers["nested-tabs.default"] = () => __elementorLoadChunk("nested-tabs"); | |
| 3685 | - this.elementsHandlers["nested-accordion.default"] = () => __elementorLoadChunk("nested-accordion"); | |
| 3686 | - } | |
| 3687 | - if (elementorFrontendConfig.experimentalFeatures.container) { | |
| 3688 | - this.elementsHandlers["contact-buttons.default"] = () => __elementorLoadChunk("contact-buttons"); | |
| 3689 | - this.elementsHandlers["floating-bars-var-1.default"] = () => __elementorLoadChunk("floating-bars"); | |
| 3690 | - } | |
| 3691 | - const addGlobalHandlers = () => elementorFrontend.hooks.addAction("frontend/element_ready/global", _global.default); | |
| 3692 | - const addElementsHandlers = () => { | |
| 3693 | - $.each(this.elementsHandlers, (elementName, Handlers) => { | |
| 3694 | - const elementData = elementName.split("."); | |
| 3695 | - elementName = elementData[0]; | |
| 3696 | - const skin = elementData[1] || null; | |
| 3697 | - this.attachHandler(elementName, Handlers, skin); | |
| 3698 | - }); | |
| 3699 | - }; | |
| 3700 | - const isClassHandler = (Handler) => { | |
| 3701 | - var _Handler$prototype; | |
| 3702 | - return (_Handler$prototype = Handler.prototype) === null || _Handler$prototype === void 0 ? void 0 : _Handler$prototype.getUniqueHandlerID; | |
| 3703 | - }; | |
| 3704 | - const addHandlerWithHook = (elementBaseName, Handler, skin = "default") => { | |
| 3705 | - skin = skin ? "." + skin : ""; | |
| 3706 | - const elementName = elementBaseName + skin; | |
| 3707 | - elementorFrontend.hooks.addAction(`frontend/element_ready/${elementName}`, ($element) => { | |
| 3708 | - if (isClassHandler(Handler)) this.addHandler(Handler, { | |
| 3709 | - $element, | |
| 3710 | - elementName | |
| 3711 | - }, true); | |
| 3712 | - else { | |
| 3713 | - const handlerValue = Handler(); | |
| 3714 | - if (!handlerValue) return; | |
| 3715 | - if (handlerValue instanceof Promise) handlerValue.then(({ default: dynamicHandler }) => { | |
| 3716 | - this.addHandler(dynamicHandler, { | |
| 3717 | - $element, | |
| 3718 | - elementName | |
| 3719 | - }, true); | |
| 3720 | - }); | |
| 3721 | - else this.addHandler(handlerValue, { | |
| 3722 | - $element, | |
| 3723 | - elementName | |
| 3724 | - }, true); | |
| 3725 | - } | |
| 3726 | - }); | |
| 3727 | - }; | |
| 3728 | - this.addHandler = function(HandlerClass, options) { | |
| 3729 | - const elementID = options.$element.data("model-cid"); | |
| 3730 | - let handlerID; | |
| 3731 | - if (elementID) { | |
| 3732 | - handlerID = HandlerClass.prototype.getConstructorID(); | |
| 3733 | - if (!handlersInstances[elementID]) handlersInstances[elementID] = {}; | |
| 3734 | - const oldHandler = handlersInstances[elementID][handlerID]; | |
| 3735 | - if (oldHandler) oldHandler.onDestroy(); | |
| 3736 | - } | |
| 3737 | - const newHandler = new HandlerClass(options); | |
| 3738 | - elementorFrontend.hooks.doAction(`frontend/element_handler_ready/${options.elementName}`, options.$element, $); | |
| 3739 | - if (elementID) handlersInstances[elementID][handlerID] = newHandler; | |
| 3740 | - }; | |
| 3741 | - this.attachHandler = (elementName, Handlers, skin) => { | |
| 3742 | - if (!Array.isArray(Handlers)) Handlers = [Handlers]; | |
| 3743 | - Handlers.forEach((Handler) => addHandlerWithHook(elementName, Handler, skin)); | |
| 3744 | - }; | |
| 3745 | - this.getHandler = function(handlerName) { | |
| 3746 | - const elementHandler = this.elementsHandlers[handlerName]; | |
| 3747 | - if (isClassHandler(elementHandler)) return elementHandler; | |
| 3748 | - return new Promise((res) => { | |
| 3749 | - elementHandler().then(({ default: dynamicHandler }) => { | |
| 3750 | - res(dynamicHandler); | |
| 3751 | - }); | |
| 3752 | - }); | |
| 3753 | - }; | |
| 3754 | - /** | |
| 3755 | - * @param {string} handlerName | |
| 3756 | - * @deprecated since 3.1.0, use `elementorFrontend.elementsHandler.getHandler` instead. | |
| 3757 | - */ | |
| 3758 | - this.getHandlers = function(handlerName) { | |
| 3759 | - elementorDevTools.deprecation.deprecated("getHandlers", "3.1.0", "elementorFrontend.elementsHandler.getHandler"); | |
| 3760 | - if (handlerName) return this.getHandler(handlerName); | |
| 3761 | - return this.elementsHandlers; | |
| 3762 | - }; | |
| 3763 | - this.runReadyTrigger = function(scope) { | |
| 3764 | - const isDelayChildHandlers = !!scope.closest("[data-delay-child-handlers=\"true\"]") && 0 !== scope.closest("[data-delay-child-handlers=\"true\"]").length; | |
| 3765 | - if (elementorFrontend.config.is_static || isDelayChildHandlers) return; | |
| 3766 | - const $scope = jQuery(scope); | |
| 3767 | - const elementType = $scope.attr("data-element_type"); | |
| 3768 | - if (!elementType) return; | |
| 3769 | - elementorFrontend.hooks.doAction("frontend/element_ready/global", $scope, $); | |
| 3770 | - elementorFrontend.hooks.doAction(`frontend/element_ready/${elementType}`, $scope, $); | |
| 3771 | - if ("widget" === elementType) { | |
| 3772 | - const widgetType = $scope.attr("data-widget_type"); | |
| 3773 | - elementorFrontend.hooks.doAction(`frontend/element_ready/${widgetType}`, $scope, $); | |
| 3774 | - } | |
| 3775 | - }; | |
| 3776 | - this.init = () => { | |
| 3777 | - addGlobalHandlers(); | |
| 3778 | - addElementsHandlers(); | |
| 3779 | - }; | |
| 3780 | - }; | |
| 3781 | - })); | |
| 3782 | 1326 | |
| 3783 | -//#endregion | |
| 3784 | -//#region assets/dev/js/frontend/frontend.js | |
| 3785 | - var require_frontend = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 3786 | - var _interopRequireDefault = require_interopRequireDefault(); | |
| 3787 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 3788 | - exports.default = void 0; | |
| 3789 | - require_esnext_iterator_constructor(); | |
| 3790 | - require_esnext_iterator_find(); | |
| 3791 | - require_esnext_iterator_for_each(); | |
| 3792 | - require_public_path(); | |
| 3793 | - require_chunk_loader(); | |
| 3794 | - var _documentsManager = _interopRequireDefault(require_documents_manager()); | |
| 3795 | - var _storage = _interopRequireDefault(require_storage()); | |
| 3796 | - var _environment = _interopRequireDefault(require_environment()); | |
| 3797 | - var _youtubeLoader = _interopRequireDefault(require_youtube_loader()); | |
| 3798 | - var _vimeoLoader = _interopRequireDefault(require_vimeo_loader()); | |
| 3799 | - var _baseLoader = _interopRequireDefault(require_base_loader()); | |
| 3800 | - var _urlActions = _interopRequireDefault(require_url_actions()); | |
| 3801 | - var _swiper = _interopRequireDefault(require_swiper()); | |
| 3802 | - var _lightboxManager = _interopRequireDefault(require_lightbox_manager()); | |
| 3803 | - var _assetsLoader = _interopRequireDefault(require_assets_loader()); | |
| 3804 | - var _breakpoints = _interopRequireDefault(require_breakpoints()); | |
| 3805 | - var _events = _interopRequireDefault(require_events()); | |
| 3806 | - var _frontend = _interopRequireDefault(require_frontend$1()); | |
| 3807 | - var _controls = _interopRequireDefault(require_controls()); | |
| 3808 | - var _anchorScrollMargin = _interopRequireDefault(require_anchor_scroll_margin()); | |
| 3809 | - var _utils = require_utils(); | |
| 3810 | - var EventManager = require_hooks(); | |
| 3811 | - var ElementsHandler = require_elements_handlers_manager(); | |
| 3812 | - var Frontend = class extends elementorModules.ViewModule { | |
| 3813 | - constructor(...args) { | |
| 3814 | - super(...args); | |
| 3815 | - this.config = elementorFrontendConfig; | |
| 3816 | - this.config.legacyMode = { | |
| 3817 | - /** | |
| 3818 | - * @deprecated since 3.1.0 | |
| 3819 | - */ | |
| 3820 | -get elementWrappers() { | |
| 3821 | - if (elementorFrontend.isEditMode()) window.top.elementorDevTools.deprecation.deprecated("elementorFrontend.config.legacyMode.elementWrappers", "3.1.0"); | |
| 3822 | - return false; | |
| 3823 | - } }; | |
| 3824 | - this.populateActiveBreakpointsConfig(); | |
| 3825 | - } | |
| 3826 | - /** | |
| 3827 | - * @deprecated since 2.5.0, use `elementorModules.frontend.handlers.Base` instead. | |
| 3828 | - */ | |
| 3829 | - get Module() { | |
| 3830 | - if (this.isEditMode()) parent.elementorDevTools.deprecation.deprecated("elementorFrontend.Module", "2.5.0", "elementorModules.frontend.handlers.Base"); | |
| 3831 | - return elementorModules.frontend.handlers.Base; | |
| 3832 | - } | |
| 3833 | - getDefaultSettings() { | |
| 3834 | - return { selectors: { | |
| 3835 | - elementor: ".elementor", | |
| 3836 | - adminBar: "#wpadminbar" | |
| 3837 | - } }; | |
| 3838 | - } | |
| 3839 | - getDefaultElements() { | |
| 3840 | - const defaultElements = { | |
| 3841 | - window, | |
| 3842 | - $window: jQuery(window), | |
| 3843 | - $document: jQuery(document), | |
| 3844 | - $head: jQuery(document.head), | |
| 3845 | - $body: jQuery(document.body), | |
| 3846 | - $deviceMode: jQuery("<span>", { | |
| 3847 | - id: "elementor-device-mode", | |
| 3848 | - class: "elementor-screen-only" | |
| 3849 | - }) | |
| 3850 | - }; | |
| 3851 | - defaultElements.$body.append(defaultElements.$deviceMode); | |
| 3852 | - return defaultElements; | |
| 3853 | - } | |
| 3854 | - bindEvents() { | |
| 3855 | - this.elements.$window.on("resize", () => this.setDeviceModeData()); | |
| 3856 | - } | |
| 3857 | - /** | |
| 3858 | - * @param {string} elementName | |
| 3859 | - * @deprecated since 2.4.0, use `this.elements` instead. | |
| 3860 | - */ | |
| 3861 | - getElements(elementName) { | |
| 3862 | - return this.getItems(this.elements, elementName); | |
| 3863 | - } | |
| 3864 | - /** | |
| 3865 | - * @param {string} settingName | |
| 3866 | - * @deprecated since 2.4.0, this method was never in use. | |
| 3867 | - */ | |
| 3868 | - getPageSettings(settingName) { | |
| 3869 | - const settingsObject = this.isEditMode() ? elementor.settings.page.model.attributes : this.config.settings.page; | |
| 3870 | - return this.getItems(settingsObject, settingName); | |
| 3871 | - } | |
| 3872 | - /** | |
| 3873 | - * @param {string} settingName | |
| 3874 | - * @deprecated since 3.0.0, use `getKitSettings()` instead and remove the `elementor_` prefix. | |
| 3875 | - */ | |
| 3876 | - getGeneralSettings(settingName) { | |
| 3877 | - if (this.isEditMode()) parent.elementorDevTools.deprecation.deprecated("getGeneralSettings()", "3.0.0", "getKitSettings() and remove the `elementor_` prefix"); | |
| 3878 | - return this.getKitSettings(`elementor_${settingName}`); | |
| 3879 | - } | |
| 3880 | - getKitSettings(settingName) { | |
| 3881 | - return this.getItems(this.config.kit, settingName); | |
| 3882 | - } | |
| 3883 | - getCurrentDeviceMode() { | |
| 3884 | - return getComputedStyle(this.elements.$deviceMode[0], ":after").content.replace(/"/g, ""); | |
| 3885 | - } | |
| 3886 | - getDeviceSetting(deviceMode, settings, settingKey) { | |
| 3887 | - if ("widescreen" === deviceMode) return this.getWidescreenSetting(settings, settingKey); | |
| 3888 | - const devices = elementorFrontend.breakpoints.getActiveBreakpointsList({ | |
| 3889 | - largeToSmall: true, | |
| 3890 | - withDesktop: true | |
| 3891 | - }); | |
| 3892 | - let deviceIndex = devices.indexOf(deviceMode); | |
| 3893 | - while (deviceIndex > 0) { | |
| 3894 | - const currentDevice = devices[deviceIndex]; | |
| 3895 | - const deviceValue = settings[settingKey + "_" + currentDevice]; | |
| 3896 | - if (deviceValue || 0 === deviceValue) return deviceValue; | |
| 3897 | - deviceIndex--; | |
| 3898 | - } | |
| 3899 | - return settings[settingKey]; | |
| 3900 | - } | |
| 3901 | - getWidescreenSetting(settings, settingKey) { | |
| 3902 | - const widescreenSettingKey = settingKey + "_widescreen"; | |
| 3903 | - let settingToReturn; | |
| 3904 | - if (settings[widescreenSettingKey]) settingToReturn = settings[widescreenSettingKey]; | |
| 3905 | - else settingToReturn = settings[settingKey]; | |
| 3906 | - return settingToReturn; | |
| 3907 | - } | |
| 3908 | - getCurrentDeviceSetting(settings, settingKey) { | |
| 3909 | - return this.getDeviceSetting(elementorFrontend.getCurrentDeviceMode(), settings, settingKey); | |
| 3910 | - } | |
| 3911 | - isEditMode() { | |
| 3912 | - return this.config.environmentMode.edit; | |
| 3913 | - } | |
| 3914 | - isWPPreviewMode() { | |
| 3915 | - return this.config.environmentMode.wpPreview; | |
| 3916 | - } | |
| 3917 | - initDialogsManager() { | |
| 3918 | - let dialogsManager; | |
| 3919 | - this.getDialogsManager = () => { | |
| 3920 | - if (!dialogsManager) dialogsManager = new DialogsManager.Instance(); | |
| 3921 | - return dialogsManager; | |
| 3922 | - }; | |
| 3923 | - } | |
| 3924 | - initOnReadyComponents() { | |
| 3925 | - this.utils = { | |
| 3926 | - youtube: new _youtubeLoader.default(), | |
| 3927 | - vimeo: new _vimeoLoader.default(), | |
| 3928 | - baseVideoLoader: new _baseLoader.default(), | |
| 3929 | - get lightbox() { | |
| 3930 | - return _lightboxManager.default.getLightbox(); | |
| 3931 | - }, | |
| 3932 | - urlActions: new _urlActions.default(), | |
| 3933 | - swiper: _swiper.default, | |
| 3934 | - environment: _environment.default, | |
| 3935 | - assetsLoader: new _assetsLoader.default(), | |
| 3936 | - escapeHTML: _utils.escapeHTML, | |
| 3937 | - events: _events.default, | |
| 3938 | - controls: new _controls.default(), | |
| 3939 | - anchor_scroll_margin: new _anchorScrollMargin.default() | |
| 3940 | - }; | |
| 3941 | - this.modules = { | |
| 3942 | - StretchElement: elementorModules.frontend.tools.StretchElement, | |
| 3943 | - Masonry: elementorModules.utils.Masonry | |
| 3944 | - }; | |
| 3945 | - this.elementsHandler.init(); | |
| 3946 | - if (this.isEditMode()) elementor.once("document:loaded", () => this.onDocumentLoaded()); | |
| 3947 | - else this.onDocumentLoaded(); | |
| 3948 | - } | |
| 3949 | - initOnReadyElements() { | |
| 3950 | - this.elements.$wpAdminBar = this.elements.$document.find(this.getSettings("selectors.adminBar")); | |
| 3951 | - } | |
| 3952 | - addUserAgentClasses() { | |
| 3953 | - for (const [key, value] of Object.entries(_environment.default)) if (value) this.elements.$body.addClass("e--ua-" + key); | |
| 3954 | - } | |
| 3955 | - setDeviceModeData() { | |
| 3956 | - this.elements.$body.attr("data-elementor-device-mode", this.getCurrentDeviceMode()); | |
| 3957 | - } | |
| 3958 | - addListenerOnce(listenerID, event, callback, to) { | |
| 3959 | - if (!to) to = this.elements.$window; | |
| 3960 | - if (!this.isEditMode()) { | |
| 3961 | - to.on(event, callback); | |
| 3962 | - return; | |
| 3963 | - } | |
| 3964 | - this.removeListeners(listenerID, event, to); | |
| 3965 | - if (to instanceof jQuery) { | |
| 3966 | - const eventNS = event + "." + listenerID; | |
| 3967 | - to.on(eventNS, callback); | |
| 3968 | - } else to.on(event, callback, listenerID); | |
| 3969 | - } | |
| 3970 | - removeListeners(listenerID, event, callback, from) { | |
| 3971 | - if (!from) from = this.elements.$window; | |
| 3972 | - if (from instanceof jQuery) { | |
| 3973 | - const eventNS = event + "." + listenerID; | |
| 3974 | - from.off(eventNS, callback); | |
| 3975 | - } else from.off(event, callback, listenerID); | |
| 3976 | - } | |
| 3977 | - debounce(func, wait) { | |
| 3978 | - let timeout; | |
| 3979 | - return function() { | |
| 3980 | - const context = this; | |
| 3981 | - const args = arguments; | |
| 3982 | - const later = () => { | |
| 3983 | - timeout = null; | |
| 3984 | - func.apply(context, args); | |
| 3985 | - }; | |
| 3986 | - const callNow = !timeout; | |
| 3987 | - clearTimeout(timeout); | |
| 3988 | - timeout = setTimeout(later, wait); | |
| 3989 | - if (callNow) func.apply(context, args); | |
| 3990 | - }; | |
| 3991 | - } | |
| 3992 | - muteMigrationTraces() { | |
| 3993 | - jQuery.migrateMute = true; | |
| 3994 | - jQuery.migrateTrace = false; | |
| 3995 | - } | |
| 3996 | - /** | |
| 3997 | - * Initialize the modules' widgets handlers. | |
| 3998 | - */ | |
| 3999 | - initModules() { | |
| 4000 | - const handlers = { shapes: _frontend.default }; | |
| 4001 | - elementorFrontend.trigger("elementor/modules/init:before"); | |
| 4002 | - elementorFrontend.trigger("elementor/modules/init/before"); | |
| 4003 | - Object.entries(handlers).forEach(([moduleName, ModuleClass]) => { | |
| 4004 | - this.modulesHandlers[moduleName] = new ModuleClass(); | |
| 4005 | - }); | |
| 4006 | - } | |
| 4007 | - populateActiveBreakpointsConfig() { | |
| 4008 | - this.config.responsive.activeBreakpoints = {}; | |
| 4009 | - Object.entries(this.config.responsive.breakpoints).forEach(([breakpointKey, breakpointData]) => { | |
| 4010 | - if (breakpointData.is_enabled) this.config.responsive.activeBreakpoints[breakpointKey] = breakpointData; | |
| 4011 | - }); | |
| 4012 | - } | |
| 4013 | - init() { | |
| 4014 | - this.hooks = new EventManager(); | |
| 4015 | - this.breakpoints = new _breakpoints.default(this.config.responsive); | |
| 4016 | - this.storage = new _storage.default(); | |
| 4017 | - this.elementsHandler = new ElementsHandler(jQuery); | |
| 4018 | - this.modulesHandlers = {}; | |
| 4019 | - this.addUserAgentClasses(); | |
| 4020 | - this.setDeviceModeData(); | |
| 4021 | - this.initDialogsManager(); | |
| 4022 | - if (this.isEditMode()) this.muteMigrationTraces(); | |
| 4023 | - _events.default.dispatch(this.elements.$window, "elementor/frontend/init"); | |
| 4024 | - this.initModules(); | |
| 4025 | - this.initOnReadyElements(); | |
| 4026 | - this.initOnReadyComponents(); | |
| 4027 | - } | |
| 4028 | - onDocumentLoaded() { | |
| 4029 | - this.documentsManager = new _documentsManager.default(); | |
| 4030 | - this.trigger("components:init"); | |
| 4031 | - new _lightboxManager.default(); | |
| 4032 | - } | |
| 4033 | - }; | |
| 4034 | - exports.default = Frontend; | |
| 4035 | - window.elementorFrontend = new Frontend(); | |
| 4036 | - if (!elementorFrontend.isEditMode()) jQuery(() => elementorFrontend.init()); | |
| 4037 | - })); | |
| 1327 | +/***/ }), | |
| 1328 | +/* 73 */ | |
| 1329 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4038 | 1330 | |
| 4039 | -//#endregion | |
| 4040 | -return require_frontend(); | |
| 1331 | +// optional / simple context binding | |
| 1332 | +var aFunction = __webpack_require__(91); | |
| 1333 | +module.exports = function (fn, that, length) { | |
| 1334 | + aFunction(fn); | |
| 1335 | + if (that === undefined) return fn; | |
| 1336 | + switch (length) { | |
| 1337 | + case 1: return function (a) { | |
| 1338 | + return fn.call(that, a); | |
| 1339 | + }; | |
| 1340 | + case 2: return function (a, b) { | |
| 1341 | + return fn.call(that, a, b); | |
| 1342 | + }; | |
| 1343 | + case 3: return function (a, b, c) { | |
| 1344 | + return fn.call(that, a, b, c); | |
| 1345 | + }; | |
| 1346 | + } | |
| 1347 | + return function (/* ...args */) { | |
| 1348 | + return fn.apply(that, arguments); | |
| 1349 | + }; | |
| 1350 | +}; | |
| 4041 | 1351 | |
| 1352 | + | |
| 1353 | +/***/ }), | |
| 1354 | +/* 74 */ | |
| 1355 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1356 | + | |
| 1357 | +// 7.1.1 ToPrimitive(input [, PreferredType]) | |
| 1358 | +var isObject = __webpack_require__(9); | |
| 1359 | +// instead of the ES6 spec version, we didn't implement @@toPrimitive case | |
| 1360 | +// and the second argument - flag - preferred type is a string | |
| 1361 | +module.exports = function (it, S) { | |
| 1362 | + if (!isObject(it)) return it; | |
| 1363 | + var fn, val; | |
| 1364 | + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 1365 | + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 1366 | + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 1367 | + throw TypeError("Can't convert object to primitive value"); | |
| 1368 | +}; | |
| 1369 | + | |
| 1370 | + | |
| 1371 | +/***/ }), | |
| 1372 | +/* 75 */ | |
| 1373 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1374 | + | |
| 1375 | +var shared = __webpack_require__(76)('keys'); | |
| 1376 | +var uid = __webpack_require__(59); | |
| 1377 | +module.exports = function (key) { | |
| 1378 | + return shared[key] || (shared[key] = uid(key)); | |
| 1379 | +}; | |
| 1380 | + | |
| 1381 | + | |
| 1382 | +/***/ }), | |
| 1383 | +/* 76 */ | |
| 1384 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1385 | + | |
| 1386 | +var core = __webpack_require__(6); | |
| 1387 | +var global = __webpack_require__(8); | |
| 1388 | +var SHARED = '__core-js_shared__'; | |
| 1389 | +var store = global[SHARED] || (global[SHARED] = {}); | |
| 1390 | + | |
| 1391 | +(module.exports = function (key, value) { | |
| 1392 | + return store[key] || (store[key] = value !== undefined ? value : {}); | |
| 1393 | +})('versions', []).push({ | |
| 1394 | + version: core.version, | |
| 1395 | + mode: __webpack_require__(47) ? 'pure' : 'global', | |
| 1396 | + copyright: '© 2019 Denis Pushkarev (zloirock.ru)' | |
| 1397 | +}); | |
| 1398 | + | |
| 1399 | + | |
| 1400 | +/***/ }), | |
| 1401 | +/* 77 */ | |
| 1402 | +/***/ (function(module, exports) { | |
| 1403 | + | |
| 1404 | +// 7.1.4 ToInteger | |
| 1405 | +var ceil = Math.ceil; | |
| 1406 | +var floor = Math.floor; | |
| 1407 | +module.exports = function (it) { | |
| 1408 | + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); | |
| 1409 | +}; | |
| 1410 | + | |
| 1411 | + | |
| 1412 | +/***/ }), | |
| 1413 | +/* 78 */ | |
| 1414 | +/***/ (function(module, exports) { | |
| 1415 | + | |
| 1416 | +// IE 8- don't enum bug keys | |
| 1417 | +module.exports = ( | |
| 1418 | + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' | |
| 1419 | +).split(','); | |
| 1420 | + | |
| 1421 | + | |
| 1422 | +/***/ }), | |
| 1423 | +/* 79 */ | |
| 1424 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1425 | + | |
| 1426 | +var global = __webpack_require__(8); | |
| 1427 | +var core = __webpack_require__(6); | |
| 1428 | +var LIBRARY = __webpack_require__(47); | |
| 1429 | +var wksExt = __webpack_require__(63); | |
| 1430 | +var defineProperty = __webpack_require__(15).f; | |
| 1431 | +module.exports = function (name) { | |
| 1432 | + var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {}); | |
| 1433 | + if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) }); | |
| 1434 | +}; | |
| 1435 | + | |
| 1436 | + | |
| 1437 | +/***/ }), | |
| 1438 | +/* 80 */ | |
| 1439 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1440 | + | |
| 1441 | +"use strict"; | |
| 1442 | + | |
| 1443 | + | |
| 1444 | +var isRegExp = __webpack_require__(122); | |
| 1445 | +var anObject = __webpack_require__(18); | |
| 1446 | +var speciesConstructor = __webpack_require__(154); | |
| 1447 | +var advanceStringIndex = __webpack_require__(105); | |
| 1448 | +var toLength = __webpack_require__(43); | |
| 1449 | +var callRegExpExec = __webpack_require__(94); | |
| 1450 | +var regexpExec = __webpack_require__(88); | |
| 1451 | +var fails = __webpack_require__(33); | |
| 1452 | +var $min = Math.min; | |
| 1453 | +var $push = [].push; | |
| 1454 | +var $SPLIT = 'split'; | |
| 1455 | +var LENGTH = 'length'; | |
| 1456 | +var LAST_INDEX = 'lastIndex'; | |
| 1457 | +var MAX_UINT32 = 0xffffffff; | |
| 1458 | + | |
| 1459 | +// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError | |
| 1460 | +var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); }); | |
| 1461 | + | |
| 1462 | +// @@split logic | |
| 1463 | +__webpack_require__(95)('split', 2, function (defined, SPLIT, $split, maybeCallNative) { | |
| 1464 | + var internalSplit; | |
| 1465 | + if ( | |
| 1466 | + 'abbc'[$SPLIT](/(b)*/)[1] == 'c' || | |
| 1467 | + 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 || | |
| 1468 | + 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 || | |
| 1469 | + '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 || | |
| 1470 | + '.'[$SPLIT](/()()/)[LENGTH] > 1 || | |
| 1471 | + ''[$SPLIT](/.?/)[LENGTH] | |
| 1472 | + ) { | |
| 1473 | + // based on es5-shim implementation, need to rework it | |
| 1474 | + internalSplit = function (separator, limit) { | |
| 1475 | + var string = String(this); | |
| 1476 | + if (separator === undefined && limit === 0) return []; | |
| 1477 | + // If `separator` is not a regex, use native split | |
| 1478 | + if (!isRegExp(separator)) return $split.call(string, separator, limit); | |
| 1479 | + var output = []; | |
| 1480 | + var flags = (separator.ignoreCase ? 'i' : '') + | |
| 1481 | + (separator.multiline ? 'm' : '') + | |
| 1482 | + (separator.unicode ? 'u' : '') + | |
| 1483 | + (separator.sticky ? 'y' : ''); | |
| 1484 | + var lastLastIndex = 0; | |
| 1485 | + var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0; | |
| 1486 | + // Make `global` and avoid `lastIndex` issues by working with a copy | |
| 1487 | + var separatorCopy = new RegExp(separator.source, flags + 'g'); | |
| 1488 | + var match, lastIndex, lastLength; | |
| 1489 | + while (match = regexpExec.call(separatorCopy, string)) { | |
| 1490 | + lastIndex = separatorCopy[LAST_INDEX]; | |
| 1491 | + if (lastIndex > lastLastIndex) { | |
| 1492 | + output.push(string.slice(lastLastIndex, match.index)); | |
| 1493 | + if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1)); | |
| 1494 | + lastLength = match[0][LENGTH]; | |
| 1495 | + lastLastIndex = lastIndex; | |
| 1496 | + if (output[LENGTH] >= splitLimit) break; | |
| 1497 | + } | |
| 1498 | + if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop | |
| 1499 | + } | |
| 1500 | + if (lastLastIndex === string[LENGTH]) { | |
| 1501 | + if (lastLength || !separatorCopy.test('')) output.push(''); | |
| 1502 | + } else output.push(string.slice(lastLastIndex)); | |
| 1503 | + return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output; | |
| 1504 | + }; | |
| 1505 | + // Chakra, V8 | |
| 1506 | + } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) { | |
| 1507 | + internalSplit = function (separator, limit) { | |
| 1508 | + return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit); | |
| 1509 | + }; | |
| 1510 | + } else { | |
| 1511 | + internalSplit = $split; | |
| 1512 | + } | |
| 1513 | + | |
| 1514 | + return [ | |
| 1515 | + // `String.prototype.split` method | |
| 1516 | + // https://tc39.github.io/ecma262/#sec-string.prototype.split | |
| 1517 | + function split(separator, limit) { | |
| 1518 | + var O = defined(this); | |
| 1519 | + var splitter = separator == undefined ? undefined : separator[SPLIT]; | |
| 1520 | + return splitter !== undefined | |
| 1521 | + ? splitter.call(separator, O, limit) | |
| 1522 | + : internalSplit.call(String(O), separator, limit); | |
| 1523 | + }, | |
| 1524 | + // `RegExp.prototype[@@split]` method | |
| 1525 | + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split | |
| 1526 | + // | |
| 1527 | + // NOTE: This cannot be properly polyfilled in engines that don't support | |
| 1528 | + // the 'y' flag. | |
| 1529 | + function (regexp, limit) { | |
| 1530 | + var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split); | |
| 1531 | + if (res.done) return res.value; | |
| 1532 | + | |
| 1533 | + var rx = anObject(regexp); | |
| 1534 | + var S = String(this); | |
| 1535 | + var C = speciesConstructor(rx, RegExp); | |
| 1536 | + | |
| 1537 | + var unicodeMatching = rx.unicode; | |
| 1538 | + var flags = (rx.ignoreCase ? 'i' : '') + | |
| 1539 | + (rx.multiline ? 'm' : '') + | |
| 1540 | + (rx.unicode ? 'u' : '') + | |
| 1541 | + (SUPPORTS_Y ? 'y' : 'g'); | |
| 1542 | + | |
| 1543 | + // ^(? + rx + ) is needed, in combination with some S slicing, to | |
| 1544 | + // simulate the 'y' flag. | |
| 1545 | + var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags); | |
| 1546 | + var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; | |
| 1547 | + if (lim === 0) return []; | |
| 1548 | + if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; | |
| 1549 | + var p = 0; | |
| 1550 | + var q = 0; | |
| 1551 | + var A = []; | |
| 1552 | + while (q < S.length) { | |
| 1553 | + splitter.lastIndex = SUPPORTS_Y ? q : 0; | |
| 1554 | + var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q)); | |
| 1555 | + var e; | |
| 1556 | + if ( | |
| 1557 | + z === null || | |
| 1558 | + (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p | |
| 1559 | + ) { | |
| 1560 | + q = advanceStringIndex(S, q, unicodeMatching); | |
| 1561 | + } else { | |
| 1562 | + A.push(S.slice(p, q)); | |
| 1563 | + if (A.length === lim) return A; | |
| 1564 | + for (var i = 1; i <= z.length - 1; i++) { | |
| 1565 | + A.push(z[i]); | |
| 1566 | + if (A.length === lim) return A; | |
| 1567 | + } | |
| 1568 | + q = p = e; | |
| 1569 | + } | |
| 1570 | + } | |
| 1571 | + A.push(S.slice(p)); | |
| 1572 | + return A; | |
| 1573 | + } | |
| 1574 | + ]; | |
| 1575 | +}); | |
| 1576 | + | |
| 1577 | + | |
| 1578 | +/***/ }), | |
| 1579 | +/* 81 */, | |
| 1580 | +/* 82 */, | |
| 1581 | +/* 83 */ | |
| 1582 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1583 | + | |
| 1584 | +// most Object methods by ES6 should accept primitives | |
| 1585 | +var $export = __webpack_require__(7); | |
| 1586 | +var core = __webpack_require__(6); | |
| 1587 | +var fails = __webpack_require__(22); | |
| 1588 | +module.exports = function (KEY, exec) { | |
| 1589 | + var fn = (core.Object || {})[KEY] || Object[KEY]; | |
| 1590 | + var exp = {}; | |
| 1591 | + exp[KEY] = exec(fn); | |
| 1592 | + $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp); | |
| 1593 | +}; | |
| 1594 | + | |
| 1595 | + | |
| 1596 | +/***/ }), | |
| 1597 | +/* 84 */, | |
| 1598 | +/* 85 */ | |
| 1599 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1600 | + | |
| 1601 | +// 22.1.3.31 Array.prototype[@@unscopables] | |
| 1602 | +var UNSCOPABLES = __webpack_require__(12)('unscopables'); | |
| 1603 | +var ArrayProto = Array.prototype; | |
| 1604 | +if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(29)(ArrayProto, UNSCOPABLES, {}); | |
| 1605 | +module.exports = function (key) { | |
| 1606 | + ArrayProto[UNSCOPABLES][key] = true; | |
| 1607 | +}; | |
| 1608 | + | |
| 1609 | + | |
| 1610 | +/***/ }), | |
| 1611 | +/* 86 */ | |
| 1612 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1613 | + | |
| 1614 | +var ctx = __webpack_require__(31); | |
| 1615 | +var call = __webpack_require__(139); | |
| 1616 | +var isArrayIter = __webpack_require__(140); | |
| 1617 | +var anObject = __webpack_require__(13); | |
| 1618 | +var toLength = __webpack_require__(68); | |
| 1619 | +var getIterFn = __webpack_require__(112); | |
| 1620 | +var BREAK = {}; | |
| 1621 | +var RETURN = {}; | |
| 1622 | +var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) { | |
| 1623 | + var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable); | |
| 1624 | + var f = ctx(fn, that, entries ? 2 : 1); | |
| 1625 | + var index = 0; | |
| 1626 | + var length, step, iterator, result; | |
| 1627 | + if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!'); | |
| 1628 | + // fast case for arrays with default iterator | |
| 1629 | + if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) { | |
| 1630 | + result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]); | |
| 1631 | + if (result === BREAK || result === RETURN) return result; | |
| 1632 | + } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) { | |
| 1633 | + result = call(iterator, f, step.value, entries); | |
| 1634 | + if (result === BREAK || result === RETURN) return result; | |
| 1635 | + } | |
| 1636 | +}; | |
| 1637 | +exports.BREAK = BREAK; | |
| 1638 | +exports.RETURN = RETURN; | |
| 1639 | + | |
| 1640 | + | |
| 1641 | +/***/ }), | |
| 1642 | +/* 87 */, | |
| 1643 | +/* 88 */ | |
| 1644 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1645 | + | |
| 1646 | +"use strict"; | |
| 1647 | + | |
| 1648 | + | |
| 1649 | +var regexpFlags = __webpack_require__(106); | |
| 1650 | + | |
| 1651 | +var nativeExec = RegExp.prototype.exec; | |
| 1652 | +// This always refers to the native implementation, because the | |
| 1653 | +// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js, | |
| 1654 | +// which loads this file before patching the method. | |
| 1655 | +var nativeReplace = String.prototype.replace; | |
| 1656 | + | |
| 1657 | +var patchedExec = nativeExec; | |
| 1658 | + | |
| 1659 | +var LAST_INDEX = 'lastIndex'; | |
| 1660 | + | |
| 1661 | +var UPDATES_LAST_INDEX_WRONG = (function () { | |
| 1662 | + var re1 = /a/, | |
| 1663 | + re2 = /b*/g; | |
| 1664 | + nativeExec.call(re1, 'a'); | |
| 1665 | + nativeExec.call(re2, 'a'); | |
| 1666 | + return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0; | |
| 4042 | 1667 | })(); |
| 1668 | + | |
| 1669 | +// nonparticipating capturing group, copied from es5-shim's String#split patch. | |
| 1670 | +var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; | |
| 1671 | + | |
| 1672 | +var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED; | |
| 1673 | + | |
| 1674 | +if (PATCH) { | |
| 1675 | + patchedExec = function exec(str) { | |
| 1676 | + var re = this; | |
| 1677 | + var lastIndex, reCopy, match, i; | |
| 1678 | + | |
| 1679 | + if (NPCG_INCLUDED) { | |
| 1680 | + reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re)); | |
| 1681 | + } | |
| 1682 | + if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX]; | |
| 1683 | + | |
| 1684 | + match = nativeExec.call(re, str); | |
| 1685 | + | |
| 1686 | + if (UPDATES_LAST_INDEX_WRONG && match) { | |
| 1687 | + re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex; | |
| 1688 | + } | |
| 1689 | + if (NPCG_INCLUDED && match && match.length > 1) { | |
| 1690 | + // Fix browsers whose `exec` methods don't consistently return `undefined` | |
| 1691 | + // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ | |
| 1692 | + // eslint-disable-next-line no-loop-func | |
| 1693 | + nativeReplace.call(match[0], reCopy, function () { | |
| 1694 | + for (i = 1; i < arguments.length - 2; i++) { | |
| 1695 | + if (arguments[i] === undefined) match[i] = undefined; | |
| 1696 | + } | |
| 1697 | + }); | |
| 1698 | + } | |
| 1699 | + | |
| 1700 | + return match; | |
| 1701 | + }; | |
| 1702 | +} | |
| 1703 | + | |
| 1704 | +module.exports = patchedExec; | |
| 1705 | + | |
| 1706 | + | |
| 1707 | +/***/ }), | |
| 1708 | +/* 89 */, | |
| 1709 | +/* 90 */, | |
| 1710 | +/* 91 */ | |
| 1711 | +/***/ (function(module, exports) { | |
| 1712 | + | |
| 1713 | +module.exports = function (it) { | |
| 1714 | + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); | |
| 1715 | + return it; | |
| 1716 | +}; | |
| 1717 | + | |
| 1718 | + | |
| 1719 | +/***/ }), | |
| 1720 | +/* 92 */ | |
| 1721 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1722 | + | |
| 1723 | +var isObject = __webpack_require__(9); | |
| 1724 | +var document = __webpack_require__(8).document; | |
| 1725 | +// typeof document.createElement is 'object' in old IE | |
| 1726 | +var is = isObject(document) && isObject(document.createElement); | |
| 1727 | +module.exports = function (it) { | |
| 1728 | + return is ? document.createElement(it) : {}; | |
| 1729 | +}; | |
| 1730 | + | |
| 1731 | + | |
| 1732 | +/***/ }), | |
| 1733 | +/* 93 */ | |
| 1734 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1735 | + | |
| 1736 | +module.exports = __webpack_require__(24); | |
| 1737 | + | |
| 1738 | + | |
| 1739 | +/***/ }), | |
| 1740 | +/* 94 */ | |
| 1741 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1742 | + | |
| 1743 | +"use strict"; | |
| 1744 | + | |
| 1745 | + | |
| 1746 | +var classof = __webpack_require__(113); | |
| 1747 | +var builtinExec = RegExp.prototype.exec; | |
| 1748 | + | |
| 1749 | + // `RegExpExec` abstract operation | |
| 1750 | +// https://tc39.github.io/ecma262/#sec-regexpexec | |
| 1751 | +module.exports = function (R, S) { | |
| 1752 | + var exec = R.exec; | |
| 1753 | + if (typeof exec === 'function') { | |
| 1754 | + var result = exec.call(R, S); | |
| 1755 | + if (typeof result !== 'object') { | |
| 1756 | + throw new TypeError('RegExp exec method returned something other than an Object or null'); | |
| 1757 | + } | |
| 1758 | + return result; | |
| 1759 | + } | |
| 1760 | + if (classof(R) !== 'RegExp') { | |
| 1761 | + throw new TypeError('RegExp#exec called on incompatible receiver'); | |
| 1762 | + } | |
| 1763 | + return builtinExec.call(R, S); | |
| 1764 | +}; | |
| 1765 | + | |
| 1766 | + | |
| 1767 | +/***/ }), | |
| 1768 | +/* 95 */ | |
| 1769 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1770 | + | |
| 1771 | +"use strict"; | |
| 1772 | + | |
| 1773 | +__webpack_require__(190); | |
| 1774 | +var redefine = __webpack_require__(35); | |
| 1775 | +var hide = __webpack_require__(29); | |
| 1776 | +var fails = __webpack_require__(33); | |
| 1777 | +var defined = __webpack_require__(42); | |
| 1778 | +var wks = __webpack_require__(12); | |
| 1779 | +var regexpExec = __webpack_require__(88); | |
| 1780 | + | |
| 1781 | +var SPECIES = wks('species'); | |
| 1782 | + | |
| 1783 | +var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { | |
| 1784 | + // #replace needs built-in support for named groups. | |
| 1785 | + // #match works fine because it just return the exec results, even if it has | |
| 1786 | + // a "grops" property. | |
| 1787 | + var re = /./; | |
| 1788 | + re.exec = function () { | |
| 1789 | + var result = []; | |
| 1790 | + result.groups = { a: '7' }; | |
| 1791 | + return result; | |
| 1792 | + }; | |
| 1793 | + return ''.replace(re, '$<a>') !== '7'; | |
| 1794 | +}); | |
| 1795 | + | |
| 1796 | +var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () { | |
| 1797 | + // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec | |
| 1798 | + var re = /(?:)/; | |
| 1799 | + var originalExec = re.exec; | |
| 1800 | + re.exec = function () { return originalExec.apply(this, arguments); }; | |
| 1801 | + var result = 'ab'.split(re); | |
| 1802 | + return result.length === 2 && result[0] === 'a' && result[1] === 'b'; | |
| 1803 | +})(); | |
| 1804 | + | |
| 1805 | +module.exports = function (KEY, length, exec) { | |
| 1806 | + var SYMBOL = wks(KEY); | |
| 1807 | + | |
| 1808 | + var DELEGATES_TO_SYMBOL = !fails(function () { | |
| 1809 | + // String methods call symbol-named RegEp methods | |
| 1810 | + var O = {}; | |
| 1811 | + O[SYMBOL] = function () { return 7; }; | |
| 1812 | + return ''[KEY](O) != 7; | |
| 1813 | + }); | |
| 1814 | + | |
| 1815 | + var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () { | |
| 1816 | + // Symbol-named RegExp methods call .exec | |
| 1817 | + var execCalled = false; | |
| 1818 | + var re = /a/; | |
| 1819 | + re.exec = function () { execCalled = true; return null; }; | |
| 1820 | + if (KEY === 'split') { | |
| 1821 | + // RegExp[@@split] doesn't call the regex's exec method, but first creates | |
| 1822 | + // a new one. We need to return the patched regex when creating the new one. | |
| 1823 | + re.constructor = {}; | |
| 1824 | + re.constructor[SPECIES] = function () { return re; }; | |
| 1825 | + } | |
| 1826 | + re[SYMBOL](''); | |
| 1827 | + return !execCalled; | |
| 1828 | + }) : undefined; | |
| 1829 | + | |
| 1830 | + if ( | |
| 1831 | + !DELEGATES_TO_SYMBOL || | |
| 1832 | + !DELEGATES_TO_EXEC || | |
| 1833 | + (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) || | |
| 1834 | + (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) | |
| 1835 | + ) { | |
| 1836 | + var nativeRegExpMethod = /./[SYMBOL]; | |
| 1837 | + var fns = exec( | |
| 1838 | + defined, | |
| 1839 | + SYMBOL, | |
| 1840 | + ''[KEY], | |
| 1841 | + function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) { | |
| 1842 | + if (regexp.exec === regexpExec) { | |
| 1843 | + if (DELEGATES_TO_SYMBOL && !forceStringMethod) { | |
| 1844 | + // The native String method already delegates to @@method (this | |
| 1845 | + // polyfilled function), leasing to infinite recursion. | |
| 1846 | + // We avoid it by directly calling the native @@method method. | |
| 1847 | + return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) }; | |
| 1848 | + } | |
| 1849 | + return { done: true, value: nativeMethod.call(str, regexp, arg2) }; | |
| 1850 | + } | |
| 1851 | + return { done: false }; | |
| 1852 | + } | |
| 1853 | + ); | |
| 1854 | + var strfn = fns[0]; | |
| 1855 | + var rxfn = fns[1]; | |
| 1856 | + | |
| 1857 | + redefine(String.prototype, KEY, strfn); | |
| 1858 | + hide(RegExp.prototype, SYMBOL, length == 2 | |
| 1859 | + // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) | |
| 1860 | + // 21.2.5.11 RegExp.prototype[@@split](string, limit) | |
| 1861 | + ? function (string, arg) { return rxfn.call(string, this, arg); } | |
| 1862 | + // 21.2.5.6 RegExp.prototype[@@match](string) | |
| 1863 | + // 21.2.5.9 RegExp.prototype[@@search](string) | |
| 1864 | + : function (string) { return rxfn.call(string, this); } | |
| 1865 | + ); | |
| 1866 | + } | |
| 1867 | +}; | |
| 1868 | + | |
| 1869 | + | |
| 1870 | +/***/ }), | |
| 1871 | +/* 96 */ | |
| 1872 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1873 | + | |
| 1874 | +// 7.1.13 ToObject(argument) | |
| 1875 | +var defined = __webpack_require__(42); | |
| 1876 | +module.exports = function (it) { | |
| 1877 | + return Object(defined(it)); | |
| 1878 | +}; | |
| 1879 | + | |
| 1880 | + | |
| 1881 | +/***/ }), | |
| 1882 | +/* 97 */ | |
| 1883 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1884 | + | |
| 1885 | +// 7.2.2 IsArray(argument) | |
| 1886 | +var cof = __webpack_require__(56); | |
| 1887 | +module.exports = Array.isArray || function isArray(arg) { | |
| 1888 | + return cof(arg) == 'Array'; | |
| 1889 | +}; | |
| 1890 | + | |
| 1891 | + | |
| 1892 | +/***/ }), | |
| 1893 | +/* 98 */ | |
| 1894 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1895 | + | |
| 1896 | +// to indexed object, toObject with fallback for non-array-like ES3 strings | |
| 1897 | +var IObject = __webpack_require__(120); | |
| 1898 | +var defined = __webpack_require__(42); | |
| 1899 | +module.exports = function (it) { | |
| 1900 | + return IObject(defined(it)); | |
| 1901 | +}; | |
| 1902 | + | |
| 1903 | + | |
| 1904 | +/***/ }), | |
| 1905 | +/* 99 */ | |
| 1906 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1907 | + | |
| 1908 | +// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) | |
| 1909 | +var $keys = __webpack_require__(116); | |
| 1910 | +var hiddenKeys = __webpack_require__(78).concat('length', 'prototype'); | |
| 1911 | + | |
| 1912 | +exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { | |
| 1913 | + return $keys(O, hiddenKeys); | |
| 1914 | +}; | |
| 1915 | + | |
| 1916 | + | |
| 1917 | +/***/ }), | |
| 1918 | +/* 100 */ | |
| 1919 | +/***/ (function(module, exports) { | |
| 1920 | + | |
| 1921 | + | |
| 1922 | + | |
| 1923 | +/***/ }), | |
| 1924 | +/* 101 */ | |
| 1925 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1926 | + | |
| 1927 | +// getting tag from 19.1.3.6 Object.prototype.toString() | |
| 1928 | +var cof = __webpack_require__(56); | |
| 1929 | +var TAG = __webpack_require__(10)('toStringTag'); | |
| 1930 | +// ES3 wrong here | |
| 1931 | +var ARG = cof(function () { return arguments; }()) == 'Arguments'; | |
| 1932 | + | |
| 1933 | +// fallback for IE11 Script Access Denied error | |
| 1934 | +var tryGet = function (it, key) { | |
| 1935 | + try { | |
| 1936 | + return it[key]; | |
| 1937 | + } catch (e) { /* empty */ } | |
| 1938 | +}; | |
| 1939 | + | |
| 1940 | +module.exports = function (it) { | |
| 1941 | + var O, T, B; | |
| 1942 | + return it === undefined ? 'Undefined' : it === null ? 'Null' | |
| 1943 | + // @@toStringTag case | |
| 1944 | + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T | |
| 1945 | + // builtinTag case | |
| 1946 | + : ARG ? cof(O) | |
| 1947 | + // ES3 arguments fallback | |
| 1948 | + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; | |
| 1949 | +}; | |
| 1950 | + | |
| 1951 | + | |
| 1952 | +/***/ }), | |
| 1953 | +/* 102 */ | |
| 1954 | +/***/ (function(module, exports) { | |
| 1955 | + | |
| 1956 | +module.exports = function (bitmap, value) { | |
| 1957 | + return { | |
| 1958 | + enumerable: !(bitmap & 1), | |
| 1959 | + configurable: !(bitmap & 2), | |
| 1960 | + writable: !(bitmap & 4), | |
| 1961 | + value: value | |
| 1962 | + }; | |
| 1963 | +}; | |
| 1964 | + | |
| 1965 | + | |
| 1966 | +/***/ }), | |
| 1967 | +/* 103 */ | |
| 1968 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1969 | + | |
| 1970 | +// fallback for non-array-like ES3 and non-enumerable old V8 strings | |
| 1971 | +var cof = __webpack_require__(56); | |
| 1972 | +// eslint-disable-next-line no-prototype-builtins | |
| 1973 | +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { | |
| 1974 | + return cof(it) == 'String' ? it.split('') : Object(it); | |
| 1975 | +}; | |
| 1976 | + | |
| 1977 | + | |
| 1978 | +/***/ }), | |
| 1979 | +/* 104 */, | |
| 1980 | +/* 105 */ | |
| 1981 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1982 | + | |
| 1983 | +"use strict"; | |
| 1984 | + | |
| 1985 | +var at = __webpack_require__(142)(true); | |
| 1986 | + | |
| 1987 | + // `AdvanceStringIndex` abstract operation | |
| 1988 | +// https://tc39.github.io/ecma262/#sec-advancestringindex | |
| 1989 | +module.exports = function (S, index, unicode) { | |
| 1990 | + return index + (unicode ? at(S, index).length : 1); | |
| 1991 | +}; | |
| 1992 | + | |
| 1993 | + | |
| 1994 | +/***/ }), | |
| 1995 | +/* 106 */ | |
| 1996 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1997 | + | |
| 1998 | +"use strict"; | |
| 1999 | + | |
| 2000 | +// 21.2.5.3 get RegExp.prototype.flags | |
| 2001 | +var anObject = __webpack_require__(18); | |
| 2002 | +module.exports = function () { | |
| 2003 | + var that = anObject(this); | |
| 2004 | + var result = ''; | |
| 2005 | + if (that.global) result += 'g'; | |
| 2006 | + if (that.ignoreCase) result += 'i'; | |
| 2007 | + if (that.multiline) result += 'm'; | |
| 2008 | + if (that.unicode) result += 'u'; | |
| 2009 | + if (that.sticky) result += 'y'; | |
| 2010 | + return result; | |
| 2011 | +}; | |
| 2012 | + | |
| 2013 | + | |
| 2014 | +/***/ }), | |
| 2015 | +/* 107 */ | |
| 2016 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2017 | + | |
| 2018 | +module.exports = __webpack_require__(167); | |
| 2019 | + | |
| 2020 | +/***/ }), | |
| 2021 | +/* 108 */ | |
| 2022 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2023 | + | |
| 2024 | +"use strict"; | |
| 2025 | + | |
| 2026 | +var LIBRARY = __webpack_require__(47); | |
| 2027 | +var $export = __webpack_require__(7); | |
| 2028 | +var redefine = __webpack_require__(93); | |
| 2029 | +var hide = __webpack_require__(24); | |
| 2030 | +var Iterators = __webpack_require__(34); | |
| 2031 | +var $iterCreate = __webpack_require__(173); | |
| 2032 | +var setToStringTag = __webpack_require__(53); | |
| 2033 | +var getPrototypeOf = __webpack_require__(64); | |
| 2034 | +var ITERATOR = __webpack_require__(10)('iterator'); | |
| 2035 | +var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` | |
| 2036 | +var FF_ITERATOR = '@@iterator'; | |
| 2037 | +var KEYS = 'keys'; | |
| 2038 | +var VALUES = 'values'; | |
| 2039 | + | |
| 2040 | +var returnThis = function () { return this; }; | |
| 2041 | + | |
| 2042 | +module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { | |
| 2043 | + $iterCreate(Constructor, NAME, next); | |
| 2044 | + var getMethod = function (kind) { | |
| 2045 | + if (!BUGGY && kind in proto) return proto[kind]; | |
| 2046 | + switch (kind) { | |
| 2047 | + case KEYS: return function keys() { return new Constructor(this, kind); }; | |
| 2048 | + case VALUES: return function values() { return new Constructor(this, kind); }; | |
| 2049 | + } return function entries() { return new Constructor(this, kind); }; | |
| 2050 | + }; | |
| 2051 | + var TAG = NAME + ' Iterator'; | |
| 2052 | + var DEF_VALUES = DEFAULT == VALUES; | |
| 2053 | + var VALUES_BUG = false; | |
| 2054 | + var proto = Base.prototype; | |
| 2055 | + var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; | |
| 2056 | + var $default = $native || getMethod(DEFAULT); | |
| 2057 | + var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; | |
| 2058 | + var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; | |
| 2059 | + var methods, key, IteratorPrototype; | |
| 2060 | + // Fix native | |
| 2061 | + if ($anyNative) { | |
| 2062 | + IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); | |
| 2063 | + if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { | |
| 2064 | + // Set @@toStringTag to native iterators | |
| 2065 | + setToStringTag(IteratorPrototype, TAG, true); | |
| 2066 | + // fix for some old engines | |
| 2067 | + if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis); | |
| 2068 | + } | |
| 2069 | + } | |
| 2070 | + // fix Array#{values, @@iterator}.name in V8 / FF | |
| 2071 | + if (DEF_VALUES && $native && $native.name !== VALUES) { | |
| 2072 | + VALUES_BUG = true; | |
| 2073 | + $default = function values() { return $native.call(this); }; | |
| 2074 | + } | |
| 2075 | + // Define iterator | |
| 2076 | + if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { | |
| 2077 | + hide(proto, ITERATOR, $default); | |
| 2078 | + } | |
| 2079 | + // Plug for library | |
| 2080 | + Iterators[NAME] = $default; | |
| 2081 | + Iterators[TAG] = returnThis; | |
| 2082 | + if (DEFAULT) { | |
| 2083 | + methods = { | |
| 2084 | + values: DEF_VALUES ? $default : getMethod(VALUES), | |
| 2085 | + keys: IS_SET ? $default : getMethod(KEYS), | |
| 2086 | + entries: $entries | |
| 2087 | + }; | |
| 2088 | + if (FORCED) for (key in methods) { | |
| 2089 | + if (!(key in proto)) redefine(proto, key, methods[key]); | |
| 2090 | + } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); | |
| 2091 | + } | |
| 2092 | + return methods; | |
| 2093 | +}; | |
| 2094 | + | |
| 2095 | + | |
| 2096 | +/***/ }), | |
| 2097 | +/* 109 */ | |
| 2098 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2099 | + | |
| 2100 | +var isObject = __webpack_require__(30); | |
| 2101 | +var document = __webpack_require__(17).document; | |
| 2102 | +// typeof document.createElement is 'object' in old IE | |
| 2103 | +var is = isObject(document) && isObject(document.createElement); | |
| 2104 | +module.exports = function (it) { | |
| 2105 | + return is ? document.createElement(it) : {}; | |
| 2106 | +}; | |
| 2107 | + | |
| 2108 | + | |
| 2109 | +/***/ }), | |
| 2110 | +/* 110 */ | |
| 2111 | +/***/ (function(module, exports) { | |
| 2112 | + | |
| 2113 | +module.exports = false; | |
| 2114 | + | |
| 2115 | + | |
| 2116 | +/***/ }), | |
| 2117 | +/* 111 */ | |
| 2118 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2119 | + | |
| 2120 | +module.exports = __webpack_require__(176); | |
| 2121 | + | |
| 2122 | +/***/ }), | |
| 2123 | +/* 112 */ | |
| 2124 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2125 | + | |
| 2126 | +var classof = __webpack_require__(101); | |
| 2127 | +var ITERATOR = __webpack_require__(10)('iterator'); | |
| 2128 | +var Iterators = __webpack_require__(34); | |
| 2129 | +module.exports = __webpack_require__(6).getIteratorMethod = function (it) { | |
| 2130 | + if (it != undefined) return it[ITERATOR] | |
| 2131 | + || it['@@iterator'] | |
| 2132 | + || Iterators[classof(it)]; | |
| 2133 | +}; | |
| 2134 | + | |
| 2135 | + | |
| 2136 | +/***/ }), | |
| 2137 | +/* 113 */ | |
| 2138 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2139 | + | |
| 2140 | +// getting tag from 19.1.3.6 Object.prototype.toString() | |
| 2141 | +var cof = __webpack_require__(46); | |
| 2142 | +var TAG = __webpack_require__(12)('toStringTag'); | |
| 2143 | +// ES3 wrong here | |
| 2144 | +var ARG = cof(function () { return arguments; }()) == 'Arguments'; | |
| 2145 | + | |
| 2146 | +// fallback for IE11 Script Access Denied error | |
| 2147 | +var tryGet = function (it, key) { | |
| 2148 | + try { | |
| 2149 | + return it[key]; | |
| 2150 | + } catch (e) { /* empty */ } | |
| 2151 | +}; | |
| 2152 | + | |
| 2153 | +module.exports = function (it) { | |
| 2154 | + var O, T, B; | |
| 2155 | + return it === undefined ? 'Undefined' : it === null ? 'Null' | |
| 2156 | + // @@toStringTag case | |
| 2157 | + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T | |
| 2158 | + // builtinTag case | |
| 2159 | + : ARG ? cof(O) | |
| 2160 | + // ES3 arguments fallback | |
| 2161 | + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; | |
| 2162 | +}; | |
| 2163 | + | |
| 2164 | + | |
| 2165 | +/***/ }), | |
| 2166 | +/* 114 */ | |
| 2167 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2168 | + | |
| 2169 | +module.exports = !__webpack_require__(14) && !__webpack_require__(22)(function () { | |
| 2170 | + return Object.defineProperty(__webpack_require__(92)('div'), 'a', { get: function () { return 7; } }).a != 7; | |
| 2171 | +}); | |
| 2172 | + | |
| 2173 | + | |
| 2174 | +/***/ }), | |
| 2175 | +/* 115 */ | |
| 2176 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2177 | + | |
| 2178 | +module.exports = __webpack_require__(160); | |
| 2179 | + | |
| 2180 | +/***/ }), | |
| 2181 | +/* 116 */ | |
| 2182 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2183 | + | |
| 2184 | +var has = __webpack_require__(19); | |
| 2185 | +var toIObject = __webpack_require__(20); | |
| 2186 | +var arrayIndexOf = __webpack_require__(165)(false); | |
| 2187 | +var IE_PROTO = __webpack_require__(75)('IE_PROTO'); | |
| 2188 | + | |
| 2189 | +module.exports = function (object, names) { | |
| 2190 | + var O = toIObject(object); | |
| 2191 | + var i = 0; | |
| 2192 | + var result = []; | |
| 2193 | + var key; | |
| 2194 | + for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); | |
| 2195 | + // Don't enum bug & hidden keys | |
| 2196 | + while (names.length > i) if (has(O, key = names[i++])) { | |
| 2197 | + ~arrayIndexOf(result, key) || result.push(key); | |
| 2198 | + } | |
| 2199 | + return result; | |
| 2200 | +}; | |
| 2201 | + | |
| 2202 | + | |
| 2203 | +/***/ }), | |
| 2204 | +/* 117 */, | |
| 2205 | +/* 118 */, | |
| 2206 | +/* 119 */ | |
| 2207 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2208 | + | |
| 2209 | +"use strict"; | |
| 2210 | + | |
| 2211 | + | |
| 2212 | +var anObject = __webpack_require__(18); | |
| 2213 | +var toLength = __webpack_require__(43); | |
| 2214 | +var advanceStringIndex = __webpack_require__(105); | |
| 2215 | +var regExpExec = __webpack_require__(94); | |
| 2216 | + | |
| 2217 | +// @@match logic | |
| 2218 | +__webpack_require__(95)('match', 1, function (defined, MATCH, $match, maybeCallNative) { | |
| 2219 | + return [ | |
| 2220 | + // `String.prototype.match` method | |
| 2221 | + // https://tc39.github.io/ecma262/#sec-string.prototype.match | |
| 2222 | + function match(regexp) { | |
| 2223 | + var O = defined(this); | |
| 2224 | + var fn = regexp == undefined ? undefined : regexp[MATCH]; | |
| 2225 | + return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O)); | |
| 2226 | + }, | |
| 2227 | + // `RegExp.prototype[@@match]` method | |
| 2228 | + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match | |
| 2229 | + function (regexp) { | |
| 2230 | + var res = maybeCallNative($match, regexp, this); | |
| 2231 | + if (res.done) return res.value; | |
| 2232 | + var rx = anObject(regexp); | |
| 2233 | + var S = String(this); | |
| 2234 | + if (!rx.global) return regExpExec(rx, S); | |
| 2235 | + var fullUnicode = rx.unicode; | |
| 2236 | + rx.lastIndex = 0; | |
| 2237 | + var A = []; | |
| 2238 | + var n = 0; | |
| 2239 | + var result; | |
| 2240 | + while ((result = regExpExec(rx, S)) !== null) { | |
| 2241 | + var matchStr = String(result[0]); | |
| 2242 | + A[n] = matchStr; | |
| 2243 | + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); | |
| 2244 | + n++; | |
| 2245 | + } | |
| 2246 | + return n === 0 ? null : A; | |
| 2247 | + } | |
| 2248 | + ]; | |
| 2249 | +}); | |
| 2250 | + | |
| 2251 | + | |
| 2252 | +/***/ }), | |
| 2253 | +/* 120 */ | |
| 2254 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2255 | + | |
| 2256 | +// fallback for non-array-like ES3 and non-enumerable old V8 strings | |
| 2257 | +var cof = __webpack_require__(46); | |
| 2258 | +// eslint-disable-next-line no-prototype-builtins | |
| 2259 | +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { | |
| 2260 | + return cof(it) == 'String' ? it.split('') : Object(it); | |
| 2261 | +}; | |
| 2262 | + | |
| 2263 | + | |
| 2264 | +/***/ }), | |
| 2265 | +/* 121 */, | |
| 2266 | +/* 122 */ | |
| 2267 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2268 | + | |
| 2269 | +// 7.2.8 IsRegExp(argument) | |
| 2270 | +var isObject = __webpack_require__(30); | |
| 2271 | +var cof = __webpack_require__(46); | |
| 2272 | +var MATCH = __webpack_require__(12)('match'); | |
| 2273 | +module.exports = function (it) { | |
| 2274 | + var isRegExp; | |
| 2275 | + return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp'); | |
| 2276 | +}; | |
| 2277 | + | |
| 2278 | + | |
| 2279 | +/***/ }), | |
| 2280 | +/* 123 */ | |
| 2281 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2282 | + | |
| 2283 | +// 7.1.1 ToPrimitive(input [, PreferredType]) | |
| 2284 | +var isObject = __webpack_require__(30); | |
| 2285 | +// instead of the ES6 spec version, we didn't implement @@toPrimitive case | |
| 2286 | +// and the second argument - flag - preferred type is a string | |
| 2287 | +module.exports = function (it, S) { | |
| 2288 | + if (!isObject(it)) return it; | |
| 2289 | + var fn, val; | |
| 2290 | + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 2291 | + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 2292 | + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 2293 | + throw TypeError("Can't convert object to primitive value"); | |
| 2294 | +}; | |
| 2295 | + | |
| 2296 | + | |
| 2297 | +/***/ }), | |
| 2298 | +/* 124 */ | |
| 2299 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2300 | + | |
| 2301 | +module.exports = __webpack_require__(191); | |
| 2302 | + | |
| 2303 | +/***/ }), | |
| 2304 | +/* 125 */ | |
| 2305 | +/***/ (function(module, exports) { | |
| 2306 | + | |
| 2307 | +module.exports = function (it, Constructor, name, forbiddenField) { | |
| 2308 | + if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) { | |
| 2309 | + throw TypeError(name + ': incorrect invocation!'); | |
| 2310 | + } return it; | |
| 2311 | +}; | |
| 2312 | + | |
| 2313 | + | |
| 2314 | +/***/ }), | |
| 2315 | +/* 126 */ | |
| 2316 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2317 | + | |
| 2318 | +var hide = __webpack_require__(24); | |
| 2319 | +module.exports = function (target, src, safe) { | |
| 2320 | + for (var key in src) { | |
| 2321 | + if (safe && target[key]) target[key] = src[key]; | |
| 2322 | + else hide(target, key, src[key]); | |
| 2323 | + } return target; | |
| 2324 | +}; | |
| 2325 | + | |
| 2326 | + | |
| 2327 | +/***/ }), | |
| 2328 | +/* 127 */, | |
| 2329 | +/* 128 */, | |
| 2330 | +/* 129 */ | |
| 2331 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2332 | + | |
| 2333 | +module.exports = !__webpack_require__(27) && !__webpack_require__(33)(function () { | |
| 2334 | + return Object.defineProperty(__webpack_require__(109)('div'), 'a', { get: function () { return 7; } }).a != 7; | |
| 2335 | +}); | |
| 2336 | + | |
| 2337 | + | |
| 2338 | +/***/ }), | |
| 2339 | +/* 130 */, | |
| 2340 | +/* 131 */ | |
| 2341 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2342 | + | |
| 2343 | +var document = __webpack_require__(8).document; | |
| 2344 | +module.exports = document && document.documentElement; | |
| 2345 | + | |
| 2346 | + | |
| 2347 | +/***/ }), | |
| 2348 | +/* 132 */ | |
| 2349 | +/***/ (function(module, exports) { | |
| 2350 | + | |
| 2351 | +// fast apply, http://jsperf.lnkit.com/fast-apply/5 | |
| 2352 | +module.exports = function (fn, args, that) { | |
| 2353 | + var un = that === undefined; | |
| 2354 | + switch (args.length) { | |
| 2355 | + case 0: return un ? fn() | |
| 2356 | + : fn.call(that); | |
| 2357 | + case 1: return un ? fn(args[0]) | |
| 2358 | + : fn.call(that, args[0]); | |
| 2359 | + case 2: return un ? fn(args[0], args[1]) | |
| 2360 | + : fn.call(that, args[0], args[1]); | |
| 2361 | + case 3: return un ? fn(args[0], args[1], args[2]) | |
| 2362 | + : fn.call(that, args[0], args[1], args[2]); | |
| 2363 | + case 4: return un ? fn(args[0], args[1], args[2], args[3]) | |
| 2364 | + : fn.call(that, args[0], args[1], args[2], args[3]); | |
| 2365 | + } return fn.apply(that, args); | |
| 2366 | +}; | |
| 2367 | + | |
| 2368 | + | |
| 2369 | +/***/ }), | |
| 2370 | +/* 133 */ | |
| 2371 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2372 | + | |
| 2373 | +module.exports = __webpack_require__(257); | |
| 2374 | + | |
| 2375 | +/***/ }), | |
| 2376 | +/* 134 */ | |
| 2377 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2378 | + | |
| 2379 | +var dP = __webpack_require__(15); | |
| 2380 | +var anObject = __webpack_require__(13); | |
| 2381 | +var getKeys = __webpack_require__(40); | |
| 2382 | + | |
| 2383 | +module.exports = __webpack_require__(14) ? Object.defineProperties : function defineProperties(O, Properties) { | |
| 2384 | + anObject(O); | |
| 2385 | + var keys = getKeys(Properties); | |
| 2386 | + var length = keys.length; | |
| 2387 | + var i = 0; | |
| 2388 | + var P; | |
| 2389 | + while (length > i) dP.f(O, P = keys[i++], Properties[P]); | |
| 2390 | + return O; | |
| 2391 | +}; | |
| 2392 | + | |
| 2393 | + | |
| 2394 | +/***/ }), | |
| 2395 | +/* 135 */ | |
| 2396 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2397 | + | |
| 2398 | +var _Object$setPrototypeOf = __webpack_require__(115); | |
| 2399 | + | |
| 2400 | +function _setPrototypeOf(o, p) { | |
| 2401 | + module.exports = _setPrototypeOf = _Object$setPrototypeOf || function _setPrototypeOf(o, p) { | |
| 2402 | + o.__proto__ = p; | |
| 2403 | + return o; | |
| 2404 | + }; | |
| 2405 | + | |
| 2406 | + return _setPrototypeOf(o, p); | |
| 2407 | +} | |
| 2408 | + | |
| 2409 | +module.exports = _setPrototypeOf; | |
| 2410 | + | |
| 2411 | +/***/ }), | |
| 2412 | +/* 136 */, | |
| 2413 | +/* 137 */ | |
| 2414 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2415 | + | |
| 2416 | +module.exports = __webpack_require__(163); | |
| 2417 | + | |
| 2418 | +/***/ }), | |
| 2419 | +/* 138 */ | |
| 2420 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2421 | + | |
| 2422 | +"use strict"; | |
| 2423 | + | |
| 2424 | +// ECMAScript 6 symbols shim | |
| 2425 | +var global = __webpack_require__(8); | |
| 2426 | +var has = __webpack_require__(19); | |
| 2427 | +var DESCRIPTORS = __webpack_require__(14); | |
| 2428 | +var $export = __webpack_require__(7); | |
| 2429 | +var redefine = __webpack_require__(93); | |
| 2430 | +var META = __webpack_require__(70).KEY; | |
| 2431 | +var $fails = __webpack_require__(22); | |
| 2432 | +var shared = __webpack_require__(76); | |
| 2433 | +var setToStringTag = __webpack_require__(53); | |
| 2434 | +var uid = __webpack_require__(59); | |
| 2435 | +var wks = __webpack_require__(10); | |
| 2436 | +var wksExt = __webpack_require__(63); | |
| 2437 | +var wksDefine = __webpack_require__(79); | |
| 2438 | +var enumKeys = __webpack_require__(177); | |
| 2439 | +var isArray = __webpack_require__(97); | |
| 2440 | +var anObject = __webpack_require__(13); | |
| 2441 | +var isObject = __webpack_require__(9); | |
| 2442 | +var toObject = __webpack_require__(32); | |
| 2443 | +var toIObject = __webpack_require__(20); | |
| 2444 | +var toPrimitive = __webpack_require__(74); | |
| 2445 | +var createDesc = __webpack_require__(44); | |
| 2446 | +var _create = __webpack_require__(52); | |
| 2447 | +var gOPNExt = __webpack_require__(178); | |
| 2448 | +var $GOPD = __webpack_require__(51); | |
| 2449 | +var $GOPS = __webpack_require__(71); | |
| 2450 | +var $DP = __webpack_require__(15); | |
| 2451 | +var $keys = __webpack_require__(40); | |
| 2452 | +var gOPD = $GOPD.f; | |
| 2453 | +var dP = $DP.f; | |
| 2454 | +var gOPN = gOPNExt.f; | |
| 2455 | +var $Symbol = global.Symbol; | |
| 2456 | +var $JSON = global.JSON; | |
| 2457 | +var _stringify = $JSON && $JSON.stringify; | |
| 2458 | +var PROTOTYPE = 'prototype'; | |
| 2459 | +var HIDDEN = wks('_hidden'); | |
| 2460 | +var TO_PRIMITIVE = wks('toPrimitive'); | |
| 2461 | +var isEnum = {}.propertyIsEnumerable; | |
| 2462 | +var SymbolRegistry = shared('symbol-registry'); | |
| 2463 | +var AllSymbols = shared('symbols'); | |
| 2464 | +var OPSymbols = shared('op-symbols'); | |
| 2465 | +var ObjectProto = Object[PROTOTYPE]; | |
| 2466 | +var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f; | |
| 2467 | +var QObject = global.QObject; | |
| 2468 | +// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 | |
| 2469 | +var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; | |
| 2470 | + | |
| 2471 | +// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 | |
| 2472 | +var setSymbolDesc = DESCRIPTORS && $fails(function () { | |
| 2473 | + return _create(dP({}, 'a', { | |
| 2474 | + get: function () { return dP(this, 'a', { value: 7 }).a; } | |
| 2475 | + })).a != 7; | |
| 2476 | +}) ? function (it, key, D) { | |
| 2477 | + var protoDesc = gOPD(ObjectProto, key); | |
| 2478 | + if (protoDesc) delete ObjectProto[key]; | |
| 2479 | + dP(it, key, D); | |
| 2480 | + if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc); | |
| 2481 | +} : dP; | |
| 2482 | + | |
| 2483 | +var wrap = function (tag) { | |
| 2484 | + var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]); | |
| 2485 | + sym._k = tag; | |
| 2486 | + return sym; | |
| 2487 | +}; | |
| 2488 | + | |
| 2489 | +var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) { | |
| 2490 | + return typeof it == 'symbol'; | |
| 2491 | +} : function (it) { | |
| 2492 | + return it instanceof $Symbol; | |
| 2493 | +}; | |
| 2494 | + | |
| 2495 | +var $defineProperty = function defineProperty(it, key, D) { | |
| 2496 | + if (it === ObjectProto) $defineProperty(OPSymbols, key, D); | |
| 2497 | + anObject(it); | |
| 2498 | + key = toPrimitive(key, true); | |
| 2499 | + anObject(D); | |
| 2500 | + if (has(AllSymbols, key)) { | |
| 2501 | + if (!D.enumerable) { | |
| 2502 | + if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {})); | |
| 2503 | + it[HIDDEN][key] = true; | |
| 2504 | + } else { | |
| 2505 | + if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false; | |
| 2506 | + D = _create(D, { enumerable: createDesc(0, false) }); | |
| 2507 | + } return setSymbolDesc(it, key, D); | |
| 2508 | + } return dP(it, key, D); | |
| 2509 | +}; | |
| 2510 | +var $defineProperties = function defineProperties(it, P) { | |
| 2511 | + anObject(it); | |
| 2512 | + var keys = enumKeys(P = toIObject(P)); | |
| 2513 | + var i = 0; | |
| 2514 | + var l = keys.length; | |
| 2515 | + var key; | |
| 2516 | + while (l > i) $defineProperty(it, key = keys[i++], P[key]); | |
| 2517 | + return it; | |
| 2518 | +}; | |
| 2519 | +var $create = function create(it, P) { | |
| 2520 | + return P === undefined ? _create(it) : $defineProperties(_create(it), P); | |
| 2521 | +}; | |
| 2522 | +var $propertyIsEnumerable = function propertyIsEnumerable(key) { | |
| 2523 | + var E = isEnum.call(this, key = toPrimitive(key, true)); | |
| 2524 | + if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false; | |
| 2525 | + return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true; | |
| 2526 | +}; | |
| 2527 | +var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { | |
| 2528 | + it = toIObject(it); | |
| 2529 | + key = toPrimitive(key, true); | |
| 2530 | + if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return; | |
| 2531 | + var D = gOPD(it, key); | |
| 2532 | + if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true; | |
| 2533 | + return D; | |
| 2534 | +}; | |
| 2535 | +var $getOwnPropertyNames = function getOwnPropertyNames(it) { | |
| 2536 | + var names = gOPN(toIObject(it)); | |
| 2537 | + var result = []; | |
| 2538 | + var i = 0; | |
| 2539 | + var key; | |
| 2540 | + while (names.length > i) { | |
| 2541 | + if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key); | |
| 2542 | + } return result; | |
| 2543 | +}; | |
| 2544 | +var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { | |
| 2545 | + var IS_OP = it === ObjectProto; | |
| 2546 | + var names = gOPN(IS_OP ? OPSymbols : toIObject(it)); | |
| 2547 | + var result = []; | |
| 2548 | + var i = 0; | |
| 2549 | + var key; | |
| 2550 | + while (names.length > i) { | |
| 2551 | + if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]); | |
| 2552 | + } return result; | |
| 2553 | +}; | |
| 2554 | + | |
| 2555 | +// 19.4.1.1 Symbol([description]) | |
| 2556 | +if (!USE_NATIVE) { | |
| 2557 | + $Symbol = function Symbol() { | |
| 2558 | + if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!'); | |
| 2559 | + var tag = uid(arguments.length > 0 ? arguments[0] : undefined); | |
| 2560 | + var $set = function (value) { | |
| 2561 | + if (this === ObjectProto) $set.call(OPSymbols, value); | |
| 2562 | + if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; | |
| 2563 | + setSymbolDesc(this, tag, createDesc(1, value)); | |
| 2564 | + }; | |
| 2565 | + if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set }); | |
| 2566 | + return wrap(tag); | |
| 2567 | + }; | |
| 2568 | + redefine($Symbol[PROTOTYPE], 'toString', function toString() { | |
| 2569 | + return this._k; | |
| 2570 | + }); | |
| 2571 | + | |
| 2572 | + $GOPD.f = $getOwnPropertyDescriptor; | |
| 2573 | + $DP.f = $defineProperty; | |
| 2574 | + __webpack_require__(99).f = gOPNExt.f = $getOwnPropertyNames; | |
| 2575 | + __webpack_require__(50).f = $propertyIsEnumerable; | |
| 2576 | + $GOPS.f = $getOwnPropertySymbols; | |
| 2577 | + | |
| 2578 | + if (DESCRIPTORS && !__webpack_require__(47)) { | |
| 2579 | + redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true); | |
| 2580 | + } | |
| 2581 | + | |
| 2582 | + wksExt.f = function (name) { | |
| 2583 | + return wrap(wks(name)); | |
| 2584 | + }; | |
| 2585 | +} | |
| 2586 | + | |
| 2587 | +$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol }); | |
| 2588 | + | |
| 2589 | +for (var es6Symbols = ( | |
| 2590 | + // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14 | |
| 2591 | + 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables' | |
| 2592 | +).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]); | |
| 2593 | + | |
| 2594 | +for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]); | |
| 2595 | + | |
| 2596 | +$export($export.S + $export.F * !USE_NATIVE, 'Symbol', { | |
| 2597 | + // 19.4.2.1 Symbol.for(key) | |
| 2598 | + 'for': function (key) { | |
| 2599 | + return has(SymbolRegistry, key += '') | |
| 2600 | + ? SymbolRegistry[key] | |
| 2601 | + : SymbolRegistry[key] = $Symbol(key); | |
| 2602 | + }, | |
| 2603 | + // 19.4.2.5 Symbol.keyFor(sym) | |
| 2604 | + keyFor: function keyFor(sym) { | |
| 2605 | + if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!'); | |
| 2606 | + for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; | |
| 2607 | + }, | |
| 2608 | + useSetter: function () { setter = true; }, | |
| 2609 | + useSimple: function () { setter = false; } | |
| 2610 | +}); | |
| 2611 | + | |
| 2612 | +$export($export.S + $export.F * !USE_NATIVE, 'Object', { | |
| 2613 | + // 19.1.2.2 Object.create(O [, Properties]) | |
| 2614 | + create: $create, | |
| 2615 | + // 19.1.2.4 Object.defineProperty(O, P, Attributes) | |
| 2616 | + defineProperty: $defineProperty, | |
| 2617 | + // 19.1.2.3 Object.defineProperties(O, Properties) | |
| 2618 | + defineProperties: $defineProperties, | |
| 2619 | + // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) | |
| 2620 | + getOwnPropertyDescriptor: $getOwnPropertyDescriptor, | |
| 2621 | + // 19.1.2.7 Object.getOwnPropertyNames(O) | |
| 2622 | + getOwnPropertyNames: $getOwnPropertyNames, | |
| 2623 | + // 19.1.2.8 Object.getOwnPropertySymbols(O) | |
| 2624 | + getOwnPropertySymbols: $getOwnPropertySymbols | |
| 2625 | +}); | |
| 2626 | + | |
| 2627 | +// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives | |
| 2628 | +// https://bugs.chromium.org/p/v8/issues/detail?id=3443 | |
| 2629 | +var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); }); | |
| 2630 | + | |
| 2631 | +$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', { | |
| 2632 | + getOwnPropertySymbols: function getOwnPropertySymbols(it) { | |
| 2633 | + return $GOPS.f(toObject(it)); | |
| 2634 | + } | |
| 2635 | +}); | |
| 2636 | + | |
| 2637 | +// 24.3.2 JSON.stringify(value [, replacer [, space]]) | |
| 2638 | +$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () { | |
| 2639 | + var S = $Symbol(); | |
| 2640 | + // MS Edge converts symbol values to JSON as {} | |
| 2641 | + // WebKit converts symbol values to JSON as null | |
| 2642 | + // V8 throws on boxed symbols | |
| 2643 | + return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}'; | |
| 2644 | +})), 'JSON', { | |
| 2645 | + stringify: function stringify(it) { | |
| 2646 | + var args = [it]; | |
| 2647 | + var i = 1; | |
| 2648 | + var replacer, $replacer; | |
| 2649 | + while (arguments.length > i) args.push(arguments[i++]); | |
| 2650 | + $replacer = replacer = args[1]; | |
| 2651 | + if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined | |
| 2652 | + if (!isArray(replacer)) replacer = function (key, value) { | |
| 2653 | + if (typeof $replacer == 'function') value = $replacer.call(this, key, value); | |
| 2654 | + if (!isSymbol(value)) return value; | |
| 2655 | + }; | |
| 2656 | + args[1] = replacer; | |
| 2657 | + return _stringify.apply($JSON, args); | |
| 2658 | + } | |
| 2659 | +}); | |
| 2660 | + | |
| 2661 | +// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint) | |
| 2662 | +$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(24)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); | |
| 2663 | +// 19.4.3.5 Symbol.prototype[@@toStringTag] | |
| 2664 | +setToStringTag($Symbol, 'Symbol'); | |
| 2665 | +// 20.2.1.9 Math[@@toStringTag] | |
| 2666 | +setToStringTag(Math, 'Math', true); | |
| 2667 | +// 24.3.3 JSON[@@toStringTag] | |
| 2668 | +setToStringTag(global.JSON, 'JSON', true); | |
| 2669 | + | |
| 2670 | + | |
| 2671 | +/***/ }), | |
| 2672 | +/* 139 */ | |
| 2673 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2674 | + | |
| 2675 | +// call something on iterator step with safe closing on error | |
| 2676 | +var anObject = __webpack_require__(13); | |
| 2677 | +module.exports = function (iterator, fn, value, entries) { | |
| 2678 | + try { | |
| 2679 | + return entries ? fn(anObject(value)[0], value[1]) : fn(value); | |
| 2680 | + // 7.4.6 IteratorClose(iterator, completion) | |
| 2681 | + } catch (e) { | |
| 2682 | + var ret = iterator['return']; | |
| 2683 | + if (ret !== undefined) anObject(ret.call(iterator)); | |
| 2684 | + throw e; | |
| 2685 | + } | |
| 2686 | +}; | |
| 2687 | + | |
| 2688 | + | |
| 2689 | +/***/ }), | |
| 2690 | +/* 140 */ | |
| 2691 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2692 | + | |
| 2693 | +// check on default Array iterator | |
| 2694 | +var Iterators = __webpack_require__(34); | |
| 2695 | +var ITERATOR = __webpack_require__(10)('iterator'); | |
| 2696 | +var ArrayProto = Array.prototype; | |
| 2697 | + | |
| 2698 | +module.exports = function (it) { | |
| 2699 | + return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); | |
| 2700 | +}; | |
| 2701 | + | |
| 2702 | + | |
| 2703 | +/***/ }), | |
| 2704 | +/* 141 */ | |
| 2705 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2706 | + | |
| 2707 | +"use strict"; | |
| 2708 | + | |
| 2709 | +// https://github.com/tc39/Array.prototype.includes | |
| 2710 | +var $export = __webpack_require__(37); | |
| 2711 | +var $includes = __webpack_require__(146)(true); | |
| 2712 | + | |
| 2713 | +$export($export.P, 'Array', { | |
| 2714 | + includes: function includes(el /* , fromIndex = 0 */) { | |
| 2715 | + return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); | |
| 2716 | + } | |
| 2717 | +}); | |
| 2718 | + | |
| 2719 | +__webpack_require__(85)('includes'); | |
| 2720 | + | |
| 2721 | + | |
| 2722 | +/***/ }), | |
| 2723 | +/* 142 */ | |
| 2724 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2725 | + | |
| 2726 | +var toInteger = __webpack_require__(57); | |
| 2727 | +var defined = __webpack_require__(42); | |
| 2728 | +// true -> String#at | |
| 2729 | +// false -> String#codePointAt | |
| 2730 | +module.exports = function (TO_STRING) { | |
| 2731 | + return function (that, pos) { | |
| 2732 | + var s = String(defined(that)); | |
| 2733 | + var i = toInteger(pos); | |
| 2734 | + var l = s.length; | |
| 2735 | + var a, b; | |
| 2736 | + if (i < 0 || i >= l) return TO_STRING ? '' : undefined; | |
| 2737 | + a = s.charCodeAt(i); | |
| 2738 | + return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff | |
| 2739 | + ? TO_STRING ? s.charAt(i) : a | |
| 2740 | + : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; | |
| 2741 | + }; | |
| 2742 | +}; | |
| 2743 | + | |
| 2744 | + | |
| 2745 | +/***/ }), | |
| 2746 | +/* 143 */ | |
| 2747 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2748 | + | |
| 2749 | +module.exports = __webpack_require__(66)('native-function-to-string', Function.toString); | |
| 2750 | + | |
| 2751 | + | |
| 2752 | +/***/ }), | |
| 2753 | +/* 144 */ | |
| 2754 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2755 | + | |
| 2756 | +"use strict"; | |
| 2757 | + | |
| 2758 | +// 25.4.1.5 NewPromiseCapability(C) | |
| 2759 | +var aFunction = __webpack_require__(38); | |
| 2760 | + | |
| 2761 | +function PromiseCapability(C) { | |
| 2762 | + var resolve, reject; | |
| 2763 | + this.promise = new C(function ($$resolve, $$reject) { | |
| 2764 | + if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor'); | |
| 2765 | + resolve = $$resolve; | |
| 2766 | + reject = $$reject; | |
| 2767 | + }); | |
| 2768 | + this.resolve = aFunction(resolve); | |
| 2769 | + this.reject = aFunction(reject); | |
| 2770 | +} | |
| 2771 | + | |
| 2772 | +module.exports.f = function (C) { | |
| 2773 | + return new PromiseCapability(C); | |
| 2774 | +}; | |
| 2775 | + | |
| 2776 | + | |
| 2777 | +/***/ }), | |
| 2778 | +/* 145 */, | |
| 2779 | +/* 146 */ | |
| 2780 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2781 | + | |
| 2782 | +// false -> Array#indexOf | |
| 2783 | +// true -> Array#includes | |
| 2784 | +var toIObject = __webpack_require__(98); | |
| 2785 | +var toLength = __webpack_require__(43); | |
| 2786 | +var toAbsoluteIndex = __webpack_require__(198); | |
| 2787 | +module.exports = function (IS_INCLUDES) { | |
| 2788 | + return function ($this, el, fromIndex) { | |
| 2789 | + var O = toIObject($this); | |
| 2790 | + var length = toLength(O.length); | |
| 2791 | + var index = toAbsoluteIndex(fromIndex, length); | |
| 2792 | + var value; | |
| 2793 | + // Array#includes uses SameValueZero equality algorithm | |
| 2794 | + // eslint-disable-next-line no-self-compare | |
| 2795 | + if (IS_INCLUDES && el != el) while (length > index) { | |
| 2796 | + value = O[index++]; | |
| 2797 | + // eslint-disable-next-line no-self-compare | |
| 2798 | + if (value != value) return true; | |
| 2799 | + // Array#indexOf ignores holes, Array#includes - not | |
| 2800 | + } else for (;length > index; index++) if (IS_INCLUDES || index in O) { | |
| 2801 | + if (O[index] === el) return IS_INCLUDES || index || 0; | |
| 2802 | + } return !IS_INCLUDES && -1; | |
| 2803 | + }; | |
| 2804 | +}; | |
| 2805 | + | |
| 2806 | + | |
| 2807 | +/***/ }), | |
| 2808 | +/* 147 */, | |
| 2809 | +/* 148 */ | |
| 2810 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2811 | + | |
| 2812 | +var _Reflect$construct = __webpack_require__(107); | |
| 2813 | + | |
| 2814 | +function _isNativeReflectConstruct() { | |
| 2815 | + if (typeof Reflect === "undefined" || !_Reflect$construct) return false; | |
| 2816 | + if (_Reflect$construct.sham) return false; | |
| 2817 | + if (typeof Proxy === "function") return true; | |
| 2818 | + | |
| 2819 | + try { | |
| 2820 | + Date.prototype.toString.call(_Reflect$construct(Date, [], function () {})); | |
| 2821 | + return true; | |
| 2822 | + } catch (e) { | |
| 2823 | + return false; | |
| 2824 | + } | |
| 2825 | +} | |
| 2826 | + | |
| 2827 | +module.exports = _isNativeReflectConstruct; | |
| 2828 | + | |
| 2829 | +/***/ }), | |
| 2830 | +/* 149 */ | |
| 2831 | +/***/ (function(module, exports) { | |
| 2832 | + | |
| 2833 | +module.exports = function (done, value) { | |
| 2834 | + return { value: value, done: !!done }; | |
| 2835 | +}; | |
| 2836 | + | |
| 2837 | + | |
| 2838 | +/***/ }), | |
| 2839 | +/* 150 */, | |
| 2840 | +/* 151 */ | |
| 2841 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2842 | + | |
| 2843 | +module.exports = __webpack_require__(171); | |
| 2844 | + | |
| 2845 | +/***/ }), | |
| 2846 | +/* 152 */ | |
| 2847 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2848 | + | |
| 2849 | +var ITERATOR = __webpack_require__(10)('iterator'); | |
| 2850 | +var SAFE_CLOSING = false; | |
| 2851 | + | |
| 2852 | +try { | |
| 2853 | + var riter = [7][ITERATOR](); | |
| 2854 | + riter['return'] = function () { SAFE_CLOSING = true; }; | |
| 2855 | + // eslint-disable-next-line no-throw-literal | |
| 2856 | + Array.from(riter, function () { throw 2; }); | |
| 2857 | +} catch (e) { /* empty */ } | |
| 2858 | + | |
| 2859 | +module.exports = function (exec, skipClosing) { | |
| 2860 | + if (!skipClosing && !SAFE_CLOSING) return false; | |
| 2861 | + var safe = false; | |
| 2862 | + try { | |
| 2863 | + var arr = [7]; | |
| 2864 | + var iter = arr[ITERATOR](); | |
| 2865 | + iter.next = function () { return { done: safe = true }; }; | |
| 2866 | + arr[ITERATOR] = function () { return iter; }; | |
| 2867 | + exec(arr); | |
| 2868 | + } catch (e) { /* empty */ } | |
| 2869 | + return safe; | |
| 2870 | +}; | |
| 2871 | + | |
| 2872 | + | |
| 2873 | +/***/ }), | |
| 2874 | +/* 153 */, | |
| 2875 | +/* 154 */ | |
| 2876 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2877 | + | |
| 2878 | +// 7.3.20 SpeciesConstructor(O, defaultConstructor) | |
| 2879 | +var anObject = __webpack_require__(18); | |
| 2880 | +var aFunction = __webpack_require__(91); | |
| 2881 | +var SPECIES = __webpack_require__(12)('species'); | |
| 2882 | +module.exports = function (O, D) { | |
| 2883 | + var C = anObject(O).constructor; | |
| 2884 | + var S; | |
| 2885 | + return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); | |
| 2886 | +}; | |
| 2887 | + | |
| 2888 | + | |
| 2889 | +/***/ }), | |
| 2890 | +/* 155 */ | |
| 2891 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2892 | + | |
| 2893 | +__webpack_require__(156); | |
| 2894 | +var $Object = __webpack_require__(6).Object; | |
| 2895 | +module.exports = function defineProperty(it, key, desc) { | |
| 2896 | + return $Object.defineProperty(it, key, desc); | |
| 2897 | +}; | |
| 2898 | + | |
| 2899 | + | |
| 2900 | +/***/ }), | |
| 2901 | +/* 156 */ | |
| 2902 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2903 | + | |
| 2904 | +var $export = __webpack_require__(7); | |
| 2905 | +// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) | |
| 2906 | +$export($export.S + $export.F * !__webpack_require__(14), 'Object', { defineProperty: __webpack_require__(15).f }); | |
| 2907 | + | |
| 2908 | + | |
| 2909 | +/***/ }), | |
| 2910 | +/* 157 */ | |
| 2911 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2912 | + | |
| 2913 | +module.exports = __webpack_require__(158); | |
| 2914 | + | |
| 2915 | +/***/ }), | |
| 2916 | +/* 158 */ | |
| 2917 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2918 | + | |
| 2919 | +__webpack_require__(159); | |
| 2920 | +module.exports = __webpack_require__(6).Object.getPrototypeOf; | |
| 2921 | + | |
| 2922 | + | |
| 2923 | +/***/ }), | |
| 2924 | +/* 159 */ | |
| 2925 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2926 | + | |
| 2927 | +// 19.1.2.9 Object.getPrototypeOf(O) | |
| 2928 | +var toObject = __webpack_require__(32); | |
| 2929 | +var $getPrototypeOf = __webpack_require__(64); | |
| 2930 | + | |
| 2931 | +__webpack_require__(83)('getPrototypeOf', function () { | |
| 2932 | + return function getPrototypeOf(it) { | |
| 2933 | + return $getPrototypeOf(toObject(it)); | |
| 2934 | + }; | |
| 2935 | +}); | |
| 2936 | + | |
| 2937 | + | |
| 2938 | +/***/ }), | |
| 2939 | +/* 160 */ | |
| 2940 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2941 | + | |
| 2942 | +__webpack_require__(161); | |
| 2943 | +module.exports = __webpack_require__(6).Object.setPrototypeOf; | |
| 2944 | + | |
| 2945 | + | |
| 2946 | +/***/ }), | |
| 2947 | +/* 161 */ | |
| 2948 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2949 | + | |
| 2950 | +// 19.1.3.19 Object.setPrototypeOf(O, proto) | |
| 2951 | +var $export = __webpack_require__(7); | |
| 2952 | +$export($export.S, 'Object', { setPrototypeOf: __webpack_require__(162).set }); | |
| 2953 | + | |
| 2954 | + | |
| 2955 | +/***/ }), | |
| 2956 | +/* 162 */ | |
| 2957 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2958 | + | |
| 2959 | +// Works with __proto__ only. Old v8 can't work with null proto objects. | |
| 2960 | +/* eslint-disable no-proto */ | |
| 2961 | +var isObject = __webpack_require__(9); | |
| 2962 | +var anObject = __webpack_require__(13); | |
| 2963 | +var check = function (O, proto) { | |
| 2964 | + anObject(O); | |
| 2965 | + if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); | |
| 2966 | +}; | |
| 2967 | +module.exports = { | |
| 2968 | + set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line | |
| 2969 | + function (test, buggy, set) { | |
| 2970 | + try { | |
| 2971 | + set = __webpack_require__(31)(Function.call, __webpack_require__(51).f(Object.prototype, '__proto__').set, 2); | |
| 2972 | + set(test, []); | |
| 2973 | + buggy = !(test instanceof Array); | |
| 2974 | + } catch (e) { buggy = true; } | |
| 2975 | + return function setPrototypeOf(O, proto) { | |
| 2976 | + check(O, proto); | |
| 2977 | + if (buggy) O.__proto__ = proto; | |
| 2978 | + else set(O, proto); | |
| 2979 | + return O; | |
| 2980 | + }; | |
| 2981 | + }({}, false) : undefined), | |
| 2982 | + check: check | |
| 2983 | +}; | |
| 2984 | + | |
| 2985 | + | |
| 2986 | +/***/ }), | |
| 2987 | +/* 163 */ | |
| 2988 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2989 | + | |
| 2990 | +__webpack_require__(164); | |
| 2991 | +var $Object = __webpack_require__(6).Object; | |
| 2992 | +module.exports = function create(P, D) { | |
| 2993 | + return $Object.create(P, D); | |
| 2994 | +}; | |
| 2995 | + | |
| 2996 | + | |
| 2997 | +/***/ }), | |
| 2998 | +/* 164 */ | |
| 2999 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3000 | + | |
| 3001 | +var $export = __webpack_require__(7); | |
| 3002 | +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) | |
| 3003 | +$export($export.S, 'Object', { create: __webpack_require__(52) }); | |
| 3004 | + | |
| 3005 | + | |
| 3006 | +/***/ }), | |
| 3007 | +/* 165 */ | |
| 3008 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3009 | + | |
| 3010 | +// false -> Array#indexOf | |
| 3011 | +// true -> Array#includes | |
| 3012 | +var toIObject = __webpack_require__(20); | |
| 3013 | +var toLength = __webpack_require__(68); | |
| 3014 | +var toAbsoluteIndex = __webpack_require__(166); | |
| 3015 | +module.exports = function (IS_INCLUDES) { | |
| 3016 | + return function ($this, el, fromIndex) { | |
| 3017 | + var O = toIObject($this); | |
| 3018 | + var length = toLength(O.length); | |
| 3019 | + var index = toAbsoluteIndex(fromIndex, length); | |
| 3020 | + var value; | |
| 3021 | + // Array#includes uses SameValueZero equality algorithm | |
| 3022 | + // eslint-disable-next-line no-self-compare | |
| 3023 | + if (IS_INCLUDES && el != el) while (length > index) { | |
| 3024 | + value = O[index++]; | |
| 3025 | + // eslint-disable-next-line no-self-compare | |
| 3026 | + if (value != value) return true; | |
| 3027 | + // Array#indexOf ignores holes, Array#includes - not | |
| 3028 | + } else for (;length > index; index++) if (IS_INCLUDES || index in O) { | |
| 3029 | + if (O[index] === el) return IS_INCLUDES || index || 0; | |
| 3030 | + } return !IS_INCLUDES && -1; | |
| 3031 | + }; | |
| 3032 | +}; | |
| 3033 | + | |
| 3034 | + | |
| 3035 | +/***/ }), | |
| 3036 | +/* 166 */ | |
| 3037 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3038 | + | |
| 3039 | +var toInteger = __webpack_require__(77); | |
| 3040 | +var max = Math.max; | |
| 3041 | +var min = Math.min; | |
| 3042 | +module.exports = function (index, length) { | |
| 3043 | + index = toInteger(index); | |
| 3044 | + return index < 0 ? max(index + length, 0) : min(index, length); | |
| 3045 | +}; | |
| 3046 | + | |
| 3047 | + | |
| 3048 | +/***/ }), | |
| 3049 | +/* 167 */ | |
| 3050 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3051 | + | |
| 3052 | +__webpack_require__(168); | |
| 3053 | +module.exports = __webpack_require__(6).Reflect.construct; | |
| 3054 | + | |
| 3055 | + | |
| 3056 | +/***/ }), | |
| 3057 | +/* 168 */ | |
| 3058 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3059 | + | |
| 3060 | +// 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) | |
| 3061 | +var $export = __webpack_require__(7); | |
| 3062 | +var create = __webpack_require__(52); | |
| 3063 | +var aFunction = __webpack_require__(38); | |
| 3064 | +var anObject = __webpack_require__(13); | |
| 3065 | +var isObject = __webpack_require__(9); | |
| 3066 | +var fails = __webpack_require__(22); | |
| 3067 | +var bind = __webpack_require__(169); | |
| 3068 | +var rConstruct = (__webpack_require__(8).Reflect || {}).construct; | |
| 3069 | + | |
| 3070 | +// MS Edge supports only 2 arguments and argumentsList argument is optional | |
| 3071 | +// FF Nightly sets third argument as `new.target`, but does not create `this` from it | |
| 3072 | +var NEW_TARGET_BUG = fails(function () { | |
| 3073 | + function F() { /* empty */ } | |
| 3074 | + return !(rConstruct(function () { /* empty */ }, [], F) instanceof F); | |
| 3075 | +}); | |
| 3076 | +var ARGS_BUG = !fails(function () { | |
| 3077 | + rConstruct(function () { /* empty */ }); | |
| 3078 | +}); | |
| 3079 | + | |
| 3080 | +$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { | |
| 3081 | + construct: function construct(Target, args /* , newTarget */) { | |
| 3082 | + aFunction(Target); | |
| 3083 | + anObject(args); | |
| 3084 | + var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]); | |
| 3085 | + if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget); | |
| 3086 | + if (Target == newTarget) { | |
| 3087 | + // w/o altered newTarget, optimization for 0-4 arguments | |
| 3088 | + switch (args.length) { | |
| 3089 | + case 0: return new Target(); | |
| 3090 | + case 1: return new Target(args[0]); | |
| 3091 | + case 2: return new Target(args[0], args[1]); | |
| 3092 | + case 3: return new Target(args[0], args[1], args[2]); | |
| 3093 | + case 4: return new Target(args[0], args[1], args[2], args[3]); | |
| 3094 | + } | |
| 3095 | + // w/o altered newTarget, lot of arguments case | |
| 3096 | + var $args = [null]; | |
| 3097 | + $args.push.apply($args, args); | |
| 3098 | + return new (bind.apply(Target, $args))(); | |
| 3099 | + } | |
| 3100 | + // with altered newTarget, not support built-in constructors | |
| 3101 | + var proto = newTarget.prototype; | |
| 3102 | + var instance = create(isObject(proto) ? proto : Object.prototype); | |
| 3103 | + var result = Function.apply.call(Target, instance, args); | |
| 3104 | + return isObject(result) ? result : instance; | |
| 3105 | + } | |
| 3106 | +}); | |
| 3107 | + | |
| 3108 | + | |
| 3109 | +/***/ }), | |
| 3110 | +/* 169 */ | |
| 3111 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3112 | + | |
| 3113 | +"use strict"; | |
| 3114 | + | |
| 3115 | +var aFunction = __webpack_require__(38); | |
| 3116 | +var isObject = __webpack_require__(9); | |
| 3117 | +var invoke = __webpack_require__(132); | |
| 3118 | +var arraySlice = [].slice; | |
| 3119 | +var factories = {}; | |
| 3120 | + | |
| 3121 | +var construct = function (F, len, args) { | |
| 3122 | + if (!(len in factories)) { | |
| 3123 | + for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']'; | |
| 3124 | + // eslint-disable-next-line no-new-func | |
| 3125 | + factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')'); | |
| 3126 | + } return factories[len](F, args); | |
| 3127 | +}; | |
| 3128 | + | |
| 3129 | +module.exports = Function.bind || function bind(that /* , ...args */) { | |
| 3130 | + var fn = aFunction(this); | |
| 3131 | + var partArgs = arraySlice.call(arguments, 1); | |
| 3132 | + var bound = function (/* args... */) { | |
| 3133 | + var args = partArgs.concat(arraySlice.call(arguments)); | |
| 3134 | + return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that); | |
| 3135 | + }; | |
| 3136 | + if (isObject(fn.prototype)) bound.prototype = fn.prototype; | |
| 3137 | + return bound; | |
| 3138 | +}; | |
| 3139 | + | |
| 3140 | + | |
| 3141 | +/***/ }), | |
| 3142 | +/* 170 */ | |
| 3143 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3144 | + | |
| 3145 | +var _typeof = __webpack_require__(48); | |
| 3146 | + | |
| 3147 | +var assertThisInitialized = __webpack_require__(49); | |
| 3148 | + | |
| 3149 | +function _possibleConstructorReturn(self, call) { | |
| 3150 | + if (call && (_typeof(call) === "object" || typeof call === "function")) { | |
| 3151 | + return call; | |
| 3152 | + } | |
| 3153 | + | |
| 3154 | + return assertThisInitialized(self); | |
| 3155 | +} | |
| 3156 | + | |
| 3157 | +module.exports = _possibleConstructorReturn; | |
| 3158 | + | |
| 3159 | +/***/ }), | |
| 3160 | +/* 171 */ | |
| 3161 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3162 | + | |
| 3163 | +__webpack_require__(60); | |
| 3164 | +__webpack_require__(62); | |
| 3165 | +module.exports = __webpack_require__(63).f('iterator'); | |
| 3166 | + | |
| 3167 | + | |
| 3168 | +/***/ }), | |
| 3169 | +/* 172 */ | |
| 3170 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3171 | + | |
| 3172 | +var toInteger = __webpack_require__(77); | |
| 3173 | +var defined = __webpack_require__(65); | |
| 3174 | +// true -> String#at | |
| 3175 | +// false -> String#codePointAt | |
| 3176 | +module.exports = function (TO_STRING) { | |
| 3177 | + return function (that, pos) { | |
| 3178 | + var s = String(defined(that)); | |
| 3179 | + var i = toInteger(pos); | |
| 3180 | + var l = s.length; | |
| 3181 | + var a, b; | |
| 3182 | + if (i < 0 || i >= l) return TO_STRING ? '' : undefined; | |
| 3183 | + a = s.charCodeAt(i); | |
| 3184 | + return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff | |
| 3185 | + ? TO_STRING ? s.charAt(i) : a | |
| 3186 | + : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; | |
| 3187 | + }; | |
| 3188 | +}; | |
| 3189 | + | |
| 3190 | + | |
| 3191 | +/***/ }), | |
| 3192 | +/* 173 */ | |
| 3193 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3194 | + | |
| 3195 | +"use strict"; | |
| 3196 | + | |
| 3197 | +var create = __webpack_require__(52); | |
| 3198 | +var descriptor = __webpack_require__(44); | |
| 3199 | +var setToStringTag = __webpack_require__(53); | |
| 3200 | +var IteratorPrototype = {}; | |
| 3201 | + | |
| 3202 | +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() | |
| 3203 | +__webpack_require__(24)(IteratorPrototype, __webpack_require__(10)('iterator'), function () { return this; }); | |
| 3204 | + | |
| 3205 | +module.exports = function (Constructor, NAME, next) { | |
| 3206 | + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); | |
| 3207 | + setToStringTag(Constructor, NAME + ' Iterator'); | |
| 3208 | +}; | |
| 3209 | + | |
| 3210 | + | |
| 3211 | +/***/ }), | |
| 3212 | +/* 174 */ | |
| 3213 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3214 | + | |
| 3215 | +"use strict"; | |
| 3216 | + | |
| 3217 | +var addToUnscopables = __webpack_require__(175); | |
| 3218 | +var step = __webpack_require__(149); | |
| 3219 | +var Iterators = __webpack_require__(34); | |
| 3220 | +var toIObject = __webpack_require__(20); | |
| 3221 | + | |
| 3222 | +// 22.1.3.4 Array.prototype.entries() | |
| 3223 | +// 22.1.3.13 Array.prototype.keys() | |
| 3224 | +// 22.1.3.29 Array.prototype.values() | |
| 3225 | +// 22.1.3.30 Array.prototype[@@iterator]() | |
| 3226 | +module.exports = __webpack_require__(108)(Array, 'Array', function (iterated, kind) { | |
| 3227 | + this._t = toIObject(iterated); // target | |
| 3228 | + this._i = 0; // next index | |
| 3229 | + this._k = kind; // kind | |
| 3230 | +// 22.1.5.2.1 %ArrayIteratorPrototype%.next() | |
| 3231 | +}, function () { | |
| 3232 | + var O = this._t; | |
| 3233 | + var kind = this._k; | |
| 3234 | + var index = this._i++; | |
| 3235 | + if (!O || index >= O.length) { | |
| 3236 | + this._t = undefined; | |
| 3237 | + return step(1); | |
| 3238 | + } | |
| 3239 | + if (kind == 'keys') return step(0, index); | |
| 3240 | + if (kind == 'values') return step(0, O[index]); | |
| 3241 | + return step(0, [index, O[index]]); | |
| 3242 | +}, 'values'); | |
| 3243 | + | |
| 3244 | +// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) | |
| 3245 | +Iterators.Arguments = Iterators.Array; | |
| 3246 | + | |
| 3247 | +addToUnscopables('keys'); | |
| 3248 | +addToUnscopables('values'); | |
| 3249 | +addToUnscopables('entries'); | |
| 3250 | + | |
| 3251 | + | |
| 3252 | +/***/ }), | |
| 3253 | +/* 175 */ | |
| 3254 | +/***/ (function(module, exports) { | |
| 3255 | + | |
| 3256 | +module.exports = function () { /* empty */ }; | |
| 3257 | + | |
| 3258 | + | |
| 3259 | +/***/ }), | |
| 3260 | +/* 176 */ | |
| 3261 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3262 | + | |
| 3263 | +__webpack_require__(138); | |
| 3264 | +__webpack_require__(100); | |
| 3265 | +__webpack_require__(179); | |
| 3266 | +__webpack_require__(180); | |
| 3267 | +module.exports = __webpack_require__(6).Symbol; | |
| 3268 | + | |
| 3269 | + | |
| 3270 | +/***/ }), | |
| 3271 | +/* 177 */ | |
| 3272 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3273 | + | |
| 3274 | +// all enumerable object keys, includes symbols | |
| 3275 | +var getKeys = __webpack_require__(40); | |
| 3276 | +var gOPS = __webpack_require__(71); | |
| 3277 | +var pIE = __webpack_require__(50); | |
| 3278 | +module.exports = function (it) { | |
| 3279 | + var result = getKeys(it); | |
| 3280 | + var getSymbols = gOPS.f; | |
| 3281 | + if (getSymbols) { | |
| 3282 | + var symbols = getSymbols(it); | |
| 3283 | + var isEnum = pIE.f; | |
| 3284 | + var i = 0; | |
| 3285 | + var key; | |
| 3286 | + while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key); | |
| 3287 | + } return result; | |
| 3288 | +}; | |
| 3289 | + | |
| 3290 | + | |
| 3291 | +/***/ }), | |
| 3292 | +/* 178 */ | |
| 3293 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3294 | + | |
| 3295 | +// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window | |
| 3296 | +var toIObject = __webpack_require__(20); | |
| 3297 | +var gOPN = __webpack_require__(99).f; | |
| 3298 | +var toString = {}.toString; | |
| 3299 | + | |
| 3300 | +var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames | |
| 3301 | + ? Object.getOwnPropertyNames(window) : []; | |
| 3302 | + | |
| 3303 | +var getWindowNames = function (it) { | |
| 3304 | + try { | |
| 3305 | + return gOPN(it); | |
| 3306 | + } catch (e) { | |
| 3307 | + return windowNames.slice(); | |
| 3308 | + } | |
| 3309 | +}; | |
| 3310 | + | |
| 3311 | +module.exports.f = function getOwnPropertyNames(it) { | |
| 3312 | + return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); | |
| 3313 | +}; | |
| 3314 | + | |
| 3315 | + | |
| 3316 | +/***/ }), | |
| 3317 | +/* 179 */ | |
| 3318 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3319 | + | |
| 3320 | +__webpack_require__(79)('asyncIterator'); | |
| 3321 | + | |
| 3322 | + | |
| 3323 | +/***/ }), | |
| 3324 | +/* 180 */ | |
| 3325 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3326 | + | |
| 3327 | +__webpack_require__(79)('observable'); | |
| 3328 | + | |
| 3329 | + | |
| 3330 | +/***/ }), | |
| 3331 | +/* 181 */ | |
| 3332 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3333 | + | |
| 3334 | +// 0 -> Array#forEach | |
| 3335 | +// 1 -> Array#map | |
| 3336 | +// 2 -> Array#filter | |
| 3337 | +// 3 -> Array#some | |
| 3338 | +// 4 -> Array#every | |
| 3339 | +// 5 -> Array#find | |
| 3340 | +// 6 -> Array#findIndex | |
| 3341 | +var ctx = __webpack_require__(73); | |
| 3342 | +var IObject = __webpack_require__(120); | |
| 3343 | +var toObject = __webpack_require__(96); | |
| 3344 | +var toLength = __webpack_require__(43); | |
| 3345 | +var asc = __webpack_require__(216); | |
| 3346 | +module.exports = function (TYPE, $create) { | |
| 3347 | + var IS_MAP = TYPE == 1; | |
| 3348 | + var IS_FILTER = TYPE == 2; | |
| 3349 | + var IS_SOME = TYPE == 3; | |
| 3350 | + var IS_EVERY = TYPE == 4; | |
| 3351 | + var IS_FIND_INDEX = TYPE == 6; | |
| 3352 | + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; | |
| 3353 | + var create = $create || asc; | |
| 3354 | + return function ($this, callbackfn, that) { | |
| 3355 | + var O = toObject($this); | |
| 3356 | + var self = IObject(O); | |
| 3357 | + var f = ctx(callbackfn, that, 3); | |
| 3358 | + var length = toLength(self.length); | |
| 3359 | + var index = 0; | |
| 3360 | + var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; | |
| 3361 | + var val, res; | |
| 3362 | + for (;length > index; index++) if (NO_HOLES || index in self) { | |
| 3363 | + val = self[index]; | |
| 3364 | + res = f(val, index, O); | |
| 3365 | + if (TYPE) { | |
| 3366 | + if (IS_MAP) result[index] = res; // map | |
| 3367 | + else if (res) switch (TYPE) { | |
| 3368 | + case 3: return true; // some | |
| 3369 | + case 5: return val; // find | |
| 3370 | + case 6: return index; // findIndex | |
| 3371 | + case 2: result.push(val); // filter | |
| 3372 | + } else if (IS_EVERY) return false; // every | |
| 3373 | + } | |
| 3374 | + } | |
| 3375 | + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; | |
| 3376 | + }; | |
| 3377 | +}; | |
| 3378 | + | |
| 3379 | + | |
| 3380 | +/***/ }), | |
| 3381 | +/* 182 */ | |
| 3382 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3383 | + | |
| 3384 | +"use strict"; | |
| 3385 | + | |
| 3386 | +__webpack_require__(279); | |
| 3387 | +var anObject = __webpack_require__(18); | |
| 3388 | +var $flags = __webpack_require__(106); | |
| 3389 | +var DESCRIPTORS = __webpack_require__(27); | |
| 3390 | +var TO_STRING = 'toString'; | |
| 3391 | +var $toString = /./[TO_STRING]; | |
| 3392 | + | |
| 3393 | +var define = function (fn) { | |
| 3394 | + __webpack_require__(35)(RegExp.prototype, TO_STRING, fn, true); | |
| 3395 | +}; | |
| 3396 | + | |
| 3397 | +// 21.2.5.14 RegExp.prototype.toString() | |
| 3398 | +if (__webpack_require__(33)(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) { | |
| 3399 | + define(function toString() { | |
| 3400 | + var R = anObject(this); | |
| 3401 | + return '/'.concat(R.source, '/', | |
| 3402 | + 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined); | |
| 3403 | + }); | |
| 3404 | +// FF44- RegExp#toString has a wrong name | |
| 3405 | +} else if ($toString.name != TO_STRING) { | |
| 3406 | + define(function toString() { | |
| 3407 | + return $toString.call(this); | |
| 3408 | + }); | |
| 3409 | +} | |
| 3410 | + | |
| 3411 | + | |
| 3412 | +/***/ }), | |
| 3413 | +/* 183 */, | |
| 3414 | +/* 184 */ | |
| 3415 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3416 | + | |
| 3417 | +var DESCRIPTORS = __webpack_require__(14); | |
| 3418 | +var getKeys = __webpack_require__(40); | |
| 3419 | +var toIObject = __webpack_require__(20); | |
| 3420 | +var isEnum = __webpack_require__(50).f; | |
| 3421 | +module.exports = function (isEntries) { | |
| 3422 | + return function (it) { | |
| 3423 | + var O = toIObject(it); | |
| 3424 | + var keys = getKeys(O); | |
| 3425 | + var length = keys.length; | |
| 3426 | + var i = 0; | |
| 3427 | + var result = []; | |
| 3428 | + var key; | |
| 3429 | + while (length > i) { | |
| 3430 | + key = keys[i++]; | |
| 3431 | + if (!DESCRIPTORS || isEnum.call(O, key)) { | |
| 3432 | + result.push(isEntries ? [key, O[key]] : O[key]); | |
| 3433 | + } | |
| 3434 | + } | |
| 3435 | + return result; | |
| 3436 | + }; | |
| 3437 | +}; | |
| 3438 | + | |
| 3439 | + | |
| 3440 | +/***/ }), | |
| 3441 | +/* 185 */, | |
| 3442 | +/* 186 */, | |
| 3443 | +/* 187 */, | |
| 3444 | +/* 188 */ | |
| 3445 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3446 | + | |
| 3447 | +"use strict"; | |
| 3448 | +// 21.1.3.7 String.prototype.includes(searchString, position = 0) | |
| 3449 | + | |
| 3450 | +var $export = __webpack_require__(37); | |
| 3451 | +var context = __webpack_require__(213); | |
| 3452 | +var INCLUDES = 'includes'; | |
| 3453 | + | |
| 3454 | +$export($export.P + $export.F * __webpack_require__(214)(INCLUDES), 'String', { | |
| 3455 | + includes: function includes(searchString /* , position = 0 */) { | |
| 3456 | + return !!~context(this, searchString, INCLUDES) | |
| 3457 | + .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined); | |
| 3458 | + } | |
| 3459 | +}); | |
| 3460 | + | |
| 3461 | + | |
| 3462 | +/***/ }), | |
| 3463 | +/* 189 */, | |
| 3464 | +/* 190 */ | |
| 3465 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3466 | + | |
| 3467 | +"use strict"; | |
| 3468 | + | |
| 3469 | +var regexpExec = __webpack_require__(88); | |
| 3470 | +__webpack_require__(37)({ | |
| 3471 | + target: 'RegExp', | |
| 3472 | + proto: true, | |
| 3473 | + forced: regexpExec !== /./.exec | |
| 3474 | +}, { | |
| 3475 | + exec: regexpExec | |
| 3476 | +}); | |
| 3477 | + | |
| 3478 | + | |
| 3479 | +/***/ }), | |
| 3480 | +/* 191 */ | |
| 3481 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3482 | + | |
| 3483 | +__webpack_require__(192); | |
| 3484 | +var $Object = __webpack_require__(6).Object; | |
| 3485 | +module.exports = function getOwnPropertyDescriptor(it, key) { | |
| 3486 | + return $Object.getOwnPropertyDescriptor(it, key); | |
| 3487 | +}; | |
| 3488 | + | |
| 3489 | + | |
| 3490 | +/***/ }), | |
| 3491 | +/* 192 */ | |
| 3492 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3493 | + | |
| 3494 | +// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) | |
| 3495 | +var toIObject = __webpack_require__(20); | |
| 3496 | +var $getOwnPropertyDescriptor = __webpack_require__(51).f; | |
| 3497 | + | |
| 3498 | +__webpack_require__(83)('getOwnPropertyDescriptor', function () { | |
| 3499 | + return function getOwnPropertyDescriptor(it, key) { | |
| 3500 | + return $getOwnPropertyDescriptor(toIObject(it), key); | |
| 3501 | + }; | |
| 3502 | +}); | |
| 3503 | + | |
| 3504 | + | |
| 3505 | +/***/ }), | |
| 3506 | +/* 193 */ | |
| 3507 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3508 | + | |
| 3509 | +module.exports = __webpack_require__(194); | |
| 3510 | + | |
| 3511 | +/***/ }), | |
| 3512 | +/* 194 */ | |
| 3513 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3514 | + | |
| 3515 | +__webpack_require__(195); | |
| 3516 | +module.exports = __webpack_require__(6).Reflect.get; | |
| 3517 | + | |
| 3518 | + | |
| 3519 | +/***/ }), | |
| 3520 | +/* 195 */ | |
| 3521 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3522 | + | |
| 3523 | +// 26.1.6 Reflect.get(target, propertyKey [, receiver]) | |
| 3524 | +var gOPD = __webpack_require__(51); | |
| 3525 | +var getPrototypeOf = __webpack_require__(64); | |
| 3526 | +var has = __webpack_require__(19); | |
| 3527 | +var $export = __webpack_require__(7); | |
| 3528 | +var isObject = __webpack_require__(9); | |
| 3529 | +var anObject = __webpack_require__(13); | |
| 3530 | + | |
| 3531 | +function get(target, propertyKey /* , receiver */) { | |
| 3532 | + var receiver = arguments.length < 3 ? target : arguments[2]; | |
| 3533 | + var desc, proto; | |
| 3534 | + if (anObject(target) === receiver) return target[propertyKey]; | |
| 3535 | + if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value') | |
| 3536 | + ? desc.value | |
| 3537 | + : desc.get !== undefined | |
| 3538 | + ? desc.get.call(receiver) | |
| 3539 | + : undefined; | |
| 3540 | + if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver); | |
| 3541 | +} | |
| 3542 | + | |
| 3543 | +$export($export.S, 'Reflect', { get: get }); | |
| 3544 | + | |
| 3545 | + | |
| 3546 | +/***/ }), | |
| 3547 | +/* 196 */ | |
| 3548 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3549 | + | |
| 3550 | +var getPrototypeOf = __webpack_require__(16); | |
| 3551 | + | |
| 3552 | +function _superPropBase(object, property) { | |
| 3553 | + while (!Object.prototype.hasOwnProperty.call(object, property)) { | |
| 3554 | + object = getPrototypeOf(object); | |
| 3555 | + if (object === null) break; | |
| 3556 | + } | |
| 3557 | + | |
| 3558 | + return object; | |
| 3559 | +} | |
| 3560 | + | |
| 3561 | +module.exports = _superPropBase; | |
| 3562 | + | |
| 3563 | +/***/ }), | |
| 3564 | +/* 197 */, | |
| 3565 | +/* 198 */ | |
| 3566 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3567 | + | |
| 3568 | +var toInteger = __webpack_require__(57); | |
| 3569 | +var max = Math.max; | |
| 3570 | +var min = Math.min; | |
| 3571 | +module.exports = function (index, length) { | |
| 3572 | + index = toInteger(index); | |
| 3573 | + return index < 0 ? max(index + length, 0) : min(index, length); | |
| 3574 | +}; | |
| 3575 | + | |
| 3576 | + | |
| 3577 | +/***/ }), | |
| 3578 | +/* 199 */, | |
| 3579 | +/* 200 */, | |
| 3580 | +/* 201 */ | |
| 3581 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3582 | + | |
| 3583 | +__webpack_require__(202); | |
| 3584 | +module.exports = __webpack_require__(6).Object.keys; | |
| 3585 | + | |
| 3586 | + | |
| 3587 | +/***/ }), | |
| 3588 | +/* 202 */ | |
| 3589 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3590 | + | |
| 3591 | +// 19.1.2.14 Object.keys(O) | |
| 3592 | +var toObject = __webpack_require__(32); | |
| 3593 | +var $keys = __webpack_require__(40); | |
| 3594 | + | |
| 3595 | +__webpack_require__(83)('keys', function () { | |
| 3596 | + return function keys(it) { | |
| 3597 | + return $keys(toObject(it)); | |
| 3598 | + }; | |
| 3599 | +}); | |
| 3600 | + | |
| 3601 | + | |
| 3602 | +/***/ }), | |
| 3603 | +/* 203 */, | |
| 3604 | +/* 204 */ | |
| 3605 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3606 | + | |
| 3607 | +module.exports = __webpack_require__(316); | |
| 3608 | + | |
| 3609 | +/***/ }), | |
| 3610 | +/* 205 */ | |
| 3611 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3612 | + | |
| 3613 | +// 7.3.20 SpeciesConstructor(O, defaultConstructor) | |
| 3614 | +var anObject = __webpack_require__(13); | |
| 3615 | +var aFunction = __webpack_require__(38); | |
| 3616 | +var SPECIES = __webpack_require__(10)('species'); | |
| 3617 | +module.exports = function (O, D) { | |
| 3618 | + var C = anObject(O).constructor; | |
| 3619 | + var S; | |
| 3620 | + return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); | |
| 3621 | +}; | |
| 3622 | + | |
| 3623 | + | |
| 3624 | +/***/ }), | |
| 3625 | +/* 206 */ | |
| 3626 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3627 | + | |
| 3628 | +var ctx = __webpack_require__(31); | |
| 3629 | +var invoke = __webpack_require__(132); | |
| 3630 | +var html = __webpack_require__(131); | |
| 3631 | +var cel = __webpack_require__(92); | |
| 3632 | +var global = __webpack_require__(8); | |
| 3633 | +var process = global.process; | |
| 3634 | +var setTask = global.setImmediate; | |
| 3635 | +var clearTask = global.clearImmediate; | |
| 3636 | +var MessageChannel = global.MessageChannel; | |
| 3637 | +var Dispatch = global.Dispatch; | |
| 3638 | +var counter = 0; | |
| 3639 | +var queue = {}; | |
| 3640 | +var ONREADYSTATECHANGE = 'onreadystatechange'; | |
| 3641 | +var defer, channel, port; | |
| 3642 | +var run = function () { | |
| 3643 | + var id = +this; | |
| 3644 | + // eslint-disable-next-line no-prototype-builtins | |
| 3645 | + if (queue.hasOwnProperty(id)) { | |
| 3646 | + var fn = queue[id]; | |
| 3647 | + delete queue[id]; | |
| 3648 | + fn(); | |
| 3649 | + } | |
| 3650 | +}; | |
| 3651 | +var listener = function (event) { | |
| 3652 | + run.call(event.data); | |
| 3653 | +}; | |
| 3654 | +// Node.js 0.9+ & IE10+ has setImmediate, otherwise: | |
| 3655 | +if (!setTask || !clearTask) { | |
| 3656 | + setTask = function setImmediate(fn) { | |
| 3657 | + var args = []; | |
| 3658 | + var i = 1; | |
| 3659 | + while (arguments.length > i) args.push(arguments[i++]); | |
| 3660 | + queue[++counter] = function () { | |
| 3661 | + // eslint-disable-next-line no-new-func | |
| 3662 | + invoke(typeof fn == 'function' ? fn : Function(fn), args); | |
| 3663 | + }; | |
| 3664 | + defer(counter); | |
| 3665 | + return counter; | |
| 3666 | + }; | |
| 3667 | + clearTask = function clearImmediate(id) { | |
| 3668 | + delete queue[id]; | |
| 3669 | + }; | |
| 3670 | + // Node.js 0.8- | |
| 3671 | + if (__webpack_require__(56)(process) == 'process') { | |
| 3672 | + defer = function (id) { | |
| 3673 | + process.nextTick(ctx(run, id, 1)); | |
| 3674 | + }; | |
| 3675 | + // Sphere (JS game engine) Dispatch API | |
| 3676 | + } else if (Dispatch && Dispatch.now) { | |
| 3677 | + defer = function (id) { | |
| 3678 | + Dispatch.now(ctx(run, id, 1)); | |
| 3679 | + }; | |
| 3680 | + // Browsers with MessageChannel, includes WebWorkers | |
| 3681 | + } else if (MessageChannel) { | |
| 3682 | + channel = new MessageChannel(); | |
| 3683 | + port = channel.port2; | |
| 3684 | + channel.port1.onmessage = listener; | |
| 3685 | + defer = ctx(port.postMessage, port, 1); | |
| 3686 | + // Browsers with postMessage, skip WebWorkers | |
| 3687 | + // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' | |
| 3688 | + } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) { | |
| 3689 | + defer = function (id) { | |
| 3690 | + global.postMessage(id + '', '*'); | |
| 3691 | + }; | |
| 3692 | + global.addEventListener('message', listener, false); | |
| 3693 | + // IE8- | |
| 3694 | + } else if (ONREADYSTATECHANGE in cel('script')) { | |
| 3695 | + defer = function (id) { | |
| 3696 | + html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () { | |
| 3697 | + html.removeChild(this); | |
| 3698 | + run.call(id); | |
| 3699 | + }; | |
| 3700 | + }; | |
| 3701 | + // Rest old browsers | |
| 3702 | + } else { | |
| 3703 | + defer = function (id) { | |
| 3704 | + setTimeout(ctx(run, id, 1), 0); | |
| 3705 | + }; | |
| 3706 | + } | |
| 3707 | +} | |
| 3708 | +module.exports = { | |
| 3709 | + set: setTask, | |
| 3710 | + clear: clearTask | |
| 3711 | +}; | |
| 3712 | + | |
| 3713 | + | |
| 3714 | +/***/ }), | |
| 3715 | +/* 207 */ | |
| 3716 | +/***/ (function(module, exports) { | |
| 3717 | + | |
| 3718 | +module.exports = function (exec) { | |
| 3719 | + try { | |
| 3720 | + return { e: false, v: exec() }; | |
| 3721 | + } catch (e) { | |
| 3722 | + return { e: true, v: e }; | |
| 3723 | + } | |
| 3724 | +}; | |
| 3725 | + | |
| 3726 | + | |
| 3727 | +/***/ }), | |
| 3728 | +/* 208 */ | |
| 3729 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3730 | + | |
| 3731 | +var anObject = __webpack_require__(13); | |
| 3732 | +var isObject = __webpack_require__(9); | |
| 3733 | +var newPromiseCapability = __webpack_require__(144); | |
| 3734 | + | |
| 3735 | +module.exports = function (C, x) { | |
| 3736 | + anObject(C); | |
| 3737 | + if (isObject(x) && x.constructor === C) return x; | |
| 3738 | + var promiseCapability = newPromiseCapability.f(C); | |
| 3739 | + var resolve = promiseCapability.resolve; | |
| 3740 | + resolve(x); | |
| 3741 | + return promiseCapability.promise; | |
| 3742 | +}; | |
| 3743 | + | |
| 3744 | + | |
| 3745 | +/***/ }), | |
| 3746 | +/* 209 */, | |
| 3747 | +/* 210 */, | |
| 3748 | +/* 211 */ | |
| 3749 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3750 | + | |
| 3751 | +module.exports = __webpack_require__(281); | |
| 3752 | + | |
| 3753 | +/***/ }), | |
| 3754 | +/* 212 */, | |
| 3755 | +/* 213 */ | |
| 3756 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3757 | + | |
| 3758 | +// helper for String#{startsWith, endsWith, includes} | |
| 3759 | +var isRegExp = __webpack_require__(122); | |
| 3760 | +var defined = __webpack_require__(42); | |
| 3761 | + | |
| 3762 | +module.exports = function (that, searchString, NAME) { | |
| 3763 | + if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!"); | |
| 3764 | + return String(defined(that)); | |
| 3765 | +}; | |
| 3766 | + | |
| 3767 | + | |
| 3768 | +/***/ }), | |
| 3769 | +/* 214 */ | |
| 3770 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3771 | + | |
| 3772 | +var MATCH = __webpack_require__(12)('match'); | |
| 3773 | +module.exports = function (KEY) { | |
| 3774 | + var re = /./; | |
| 3775 | + try { | |
| 3776 | + '/./'[KEY](re); | |
| 3777 | + } catch (e) { | |
| 3778 | + try { | |
| 3779 | + re[MATCH] = false; | |
| 3780 | + return !'/./'[KEY](re); | |
| 3781 | + } catch (f) { /* empty */ } | |
| 3782 | + } return true; | |
| 3783 | +}; | |
| 3784 | + | |
| 3785 | + | |
| 3786 | +/***/ }), | |
| 3787 | +/* 215 */, | |
| 3788 | +/* 216 */ | |
| 3789 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3790 | + | |
| 3791 | +// 9.4.2.3 ArraySpeciesCreate(originalArray, length) | |
| 3792 | +var speciesConstructor = __webpack_require__(217); | |
| 3793 | + | |
| 3794 | +module.exports = function (original, length) { | |
| 3795 | + return new (speciesConstructor(original))(length); | |
| 3796 | +}; | |
| 3797 | + | |
| 3798 | + | |
| 3799 | +/***/ }), | |
| 3800 | +/* 217 */ | |
| 3801 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3802 | + | |
| 3803 | +var isObject = __webpack_require__(30); | |
| 3804 | +var isArray = __webpack_require__(218); | |
| 3805 | +var SPECIES = __webpack_require__(12)('species'); | |
| 3806 | + | |
| 3807 | +module.exports = function (original) { | |
| 3808 | + var C; | |
| 3809 | + if (isArray(original)) { | |
| 3810 | + C = original.constructor; | |
| 3811 | + // cross-realm fallback | |
| 3812 | + if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; | |
| 3813 | + if (isObject(C)) { | |
| 3814 | + C = C[SPECIES]; | |
| 3815 | + if (C === null) C = undefined; | |
| 3816 | + } | |
| 3817 | + } return C === undefined ? Array : C; | |
| 3818 | +}; | |
| 3819 | + | |
| 3820 | + | |
| 3821 | +/***/ }), | |
| 3822 | +/* 218 */ | |
| 3823 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3824 | + | |
| 3825 | +// 7.2.2 IsArray(argument) | |
| 3826 | +var cof = __webpack_require__(46); | |
| 3827 | +module.exports = Array.isArray || function isArray(arg) { | |
| 3828 | + return cof(arg) == 'Array'; | |
| 3829 | +}; | |
| 3830 | + | |
| 3831 | + | |
| 3832 | +/***/ }), | |
| 3833 | +/* 219 */, | |
| 3834 | +/* 220 */, | |
| 3835 | +/* 221 */, | |
| 3836 | +/* 222 */, | |
| 3837 | +/* 223 */, | |
| 3838 | +/* 224 */, | |
| 3839 | +/* 225 */ | |
| 3840 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3841 | + | |
| 3842 | +"use strict"; | |
| 3843 | + | |
| 3844 | +var global = __webpack_require__(8); | |
| 3845 | +var core = __webpack_require__(6); | |
| 3846 | +var dP = __webpack_require__(15); | |
| 3847 | +var DESCRIPTORS = __webpack_require__(14); | |
| 3848 | +var SPECIES = __webpack_require__(10)('species'); | |
| 3849 | + | |
| 3850 | +module.exports = function (KEY) { | |
| 3851 | + var C = typeof core[KEY] == 'function' ? core[KEY] : global[KEY]; | |
| 3852 | + if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, { | |
| 3853 | + configurable: true, | |
| 3854 | + get: function () { return this; } | |
| 3855 | + }); | |
| 3856 | +}; | |
| 3857 | + | |
| 3858 | + | |
| 3859 | +/***/ }), | |
| 3860 | +/* 226 */, | |
| 3861 | +/* 227 */, | |
| 3862 | +/* 228 */, | |
| 3863 | +/* 229 */, | |
| 3864 | +/* 230 */, | |
| 3865 | +/* 231 */, | |
| 3866 | +/* 232 */, | |
| 3867 | +/* 233 */, | |
| 3868 | +/* 234 */, | |
| 3869 | +/* 235 */ | |
| 3870 | +/***/ (function(module, exports) { | |
| 3871 | + | |
| 3872 | +module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' + | |
| 3873 | + '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; | |
| 3874 | + | |
| 3875 | + | |
| 3876 | +/***/ }), | |
| 3877 | +/* 236 */, | |
| 3878 | +/* 237 */, | |
| 3879 | +/* 238 */, | |
| 3880 | +/* 239 */ | |
| 3881 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3882 | + | |
| 3883 | +__webpack_require__(240); | |
| 3884 | +module.exports = __webpack_require__(6).Object.values; | |
| 3885 | + | |
| 3886 | + | |
| 3887 | +/***/ }), | |
| 3888 | +/* 240 */ | |
| 3889 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3890 | + | |
| 3891 | +// https://github.com/tc39/proposal-object-values-entries | |
| 3892 | +var $export = __webpack_require__(7); | |
| 3893 | +var $values = __webpack_require__(184)(false); | |
| 3894 | + | |
| 3895 | +$export($export.S, 'Object', { | |
| 3896 | + values: function values(it) { | |
| 3897 | + return $values(it); | |
| 3898 | + } | |
| 3899 | +}); | |
| 3900 | + | |
| 3901 | + | |
| 3902 | +/***/ }), | |
| 3903 | +/* 241 */, | |
| 3904 | +/* 242 */, | |
| 3905 | +/* 243 */, | |
| 3906 | +/* 244 */, | |
| 3907 | +/* 245 */, | |
| 3908 | +/* 246 */, | |
| 3909 | +/* 247 */, | |
| 3910 | +/* 248 */, | |
| 3911 | +/* 249 */, | |
| 3912 | +/* 250 */, | |
| 3913 | +/* 251 */, | |
| 3914 | +/* 252 */, | |
| 3915 | +/* 253 */, | |
| 3916 | +/* 254 */, | |
| 3917 | +/* 255 */, | |
| 3918 | +/* 256 */, | |
| 3919 | +/* 257 */ | |
| 3920 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3921 | + | |
| 3922 | +__webpack_require__(100); | |
| 3923 | +__webpack_require__(60); | |
| 3924 | +__webpack_require__(62); | |
| 3925 | +__webpack_require__(258); | |
| 3926 | +__webpack_require__(261); | |
| 3927 | +__webpack_require__(262); | |
| 3928 | +module.exports = __webpack_require__(6).Promise; | |
| 3929 | + | |
| 3930 | + | |
| 3931 | +/***/ }), | |
| 3932 | +/* 258 */ | |
| 3933 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3934 | + | |
| 3935 | +"use strict"; | |
| 3936 | + | |
| 3937 | +var LIBRARY = __webpack_require__(47); | |
| 3938 | +var global = __webpack_require__(8); | |
| 3939 | +var ctx = __webpack_require__(31); | |
| 3940 | +var classof = __webpack_require__(101); | |
| 3941 | +var $export = __webpack_require__(7); | |
| 3942 | +var isObject = __webpack_require__(9); | |
| 3943 | +var aFunction = __webpack_require__(38); | |
| 3944 | +var anInstance = __webpack_require__(125); | |
| 3945 | +var forOf = __webpack_require__(86); | |
| 3946 | +var speciesConstructor = __webpack_require__(205); | |
| 3947 | +var task = __webpack_require__(206).set; | |
| 3948 | +var microtask = __webpack_require__(259)(); | |
| 3949 | +var newPromiseCapabilityModule = __webpack_require__(144); | |
| 3950 | +var perform = __webpack_require__(207); | |
| 3951 | +var userAgent = __webpack_require__(260); | |
| 3952 | +var promiseResolve = __webpack_require__(208); | |
| 3953 | +var PROMISE = 'Promise'; | |
| 3954 | +var TypeError = global.TypeError; | |
| 3955 | +var process = global.process; | |
| 3956 | +var versions = process && process.versions; | |
| 3957 | +var v8 = versions && versions.v8 || ''; | |
| 3958 | +var $Promise = global[PROMISE]; | |
| 3959 | +var isNode = classof(process) == 'process'; | |
| 3960 | +var empty = function () { /* empty */ }; | |
| 3961 | +var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper; | |
| 3962 | +var newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f; | |
| 3963 | + | |
| 3964 | +var USE_NATIVE = !!function () { | |
| 3965 | + try { | |
| 3966 | + // correct subclassing with @@species support | |
| 3967 | + var promise = $Promise.resolve(1); | |
| 3968 | + var FakePromise = (promise.constructor = {})[__webpack_require__(10)('species')] = function (exec) { | |
| 3969 | + exec(empty, empty); | |
| 3970 | + }; | |
| 3971 | + // unhandled rejections tracking support, NodeJS Promise without it fails @@species test | |
| 3972 | + return (isNode || typeof PromiseRejectionEvent == 'function') | |
| 3973 | + && promise.then(empty) instanceof FakePromise | |
| 3974 | + // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables | |
| 3975 | + // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 | |
| 3976 | + // we can't detect it synchronously, so just check versions | |
| 3977 | + && v8.indexOf('6.6') !== 0 | |
| 3978 | + && userAgent.indexOf('Chrome/66') === -1; | |
| 3979 | + } catch (e) { /* empty */ } | |
| 3980 | +}(); | |
| 3981 | + | |
| 3982 | +// helpers | |
| 3983 | +var isThenable = function (it) { | |
| 3984 | + var then; | |
| 3985 | + return isObject(it) && typeof (then = it.then) == 'function' ? then : false; | |
| 3986 | +}; | |
| 3987 | +var notify = function (promise, isReject) { | |
| 3988 | + if (promise._n) return; | |
| 3989 | + promise._n = true; | |
| 3990 | + var chain = promise._c; | |
| 3991 | + microtask(function () { | |
| 3992 | + var value = promise._v; | |
| 3993 | + var ok = promise._s == 1; | |
| 3994 | + var i = 0; | |
| 3995 | + var run = function (reaction) { | |
| 3996 | + var handler = ok ? reaction.ok : reaction.fail; | |
| 3997 | + var resolve = reaction.resolve; | |
| 3998 | + var reject = reaction.reject; | |
| 3999 | + var domain = reaction.domain; | |
| 4000 | + var result, then, exited; | |
| 4001 | + try { | |
| 4002 | + if (handler) { | |
| 4003 | + if (!ok) { | |
| 4004 | + if (promise._h == 2) onHandleUnhandled(promise); | |
| 4005 | + promise._h = 1; | |
| 4006 | + } | |
| 4007 | + if (handler === true) result = value; | |
| 4008 | + else { | |
| 4009 | + if (domain) domain.enter(); | |
| 4010 | + result = handler(value); // may throw | |
| 4011 | + if (domain) { | |
| 4012 | + domain.exit(); | |
| 4013 | + exited = true; | |
| 4014 | + } | |
| 4015 | + } | |
| 4016 | + if (result === reaction.promise) { | |
| 4017 | + reject(TypeError('Promise-chain cycle')); | |
| 4018 | + } else if (then = isThenable(result)) { | |
| 4019 | + then.call(result, resolve, reject); | |
| 4020 | + } else resolve(result); | |
| 4021 | + } else reject(value); | |
| 4022 | + } catch (e) { | |
| 4023 | + if (domain && !exited) domain.exit(); | |
| 4024 | + reject(e); | |
| 4025 | + } | |
| 4026 | + }; | |
| 4027 | + while (chain.length > i) run(chain[i++]); // variable length - can't use forEach | |
| 4028 | + promise._c = []; | |
| 4029 | + promise._n = false; | |
| 4030 | + if (isReject && !promise._h) onUnhandled(promise); | |
| 4031 | + }); | |
| 4032 | +}; | |
| 4033 | +var onUnhandled = function (promise) { | |
| 4034 | + task.call(global, function () { | |
| 4035 | + var value = promise._v; | |
| 4036 | + var unhandled = isUnhandled(promise); | |
| 4037 | + var result, handler, console; | |
| 4038 | + if (unhandled) { | |
| 4039 | + result = perform(function () { | |
| 4040 | + if (isNode) { | |
| 4041 | + process.emit('unhandledRejection', value, promise); | |
| 4042 | + } else if (handler = global.onunhandledrejection) { | |
| 4043 | + handler({ promise: promise, reason: value }); | |
| 4044 | + } else if ((console = global.console) && console.error) { | |
| 4045 | + console.error('Unhandled promise rejection', value); | |
| 4046 | + } | |
| 4047 | + }); | |
| 4048 | + // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should | |
| 4049 | + promise._h = isNode || isUnhandled(promise) ? 2 : 1; | |
| 4050 | + } promise._a = undefined; | |
| 4051 | + if (unhandled && result.e) throw result.v; | |
| 4052 | + }); | |
| 4053 | +}; | |
| 4054 | +var isUnhandled = function (promise) { | |
| 4055 | + return promise._h !== 1 && (promise._a || promise._c).length === 0; | |
| 4056 | +}; | |
| 4057 | +var onHandleUnhandled = function (promise) { | |
| 4058 | + task.call(global, function () { | |
| 4059 | + var handler; | |
| 4060 | + if (isNode) { | |
| 4061 | + process.emit('rejectionHandled', promise); | |
| 4062 | + } else if (handler = global.onrejectionhandled) { | |
| 4063 | + handler({ promise: promise, reason: promise._v }); | |
| 4064 | + } | |
| 4065 | + }); | |
| 4066 | +}; | |
| 4067 | +var $reject = function (value) { | |
| 4068 | + var promise = this; | |
| 4069 | + if (promise._d) return; | |
| 4070 | + promise._d = true; | |
| 4071 | + promise = promise._w || promise; // unwrap | |
| 4072 | + promise._v = value; | |
| 4073 | + promise._s = 2; | |
| 4074 | + if (!promise._a) promise._a = promise._c.slice(); | |
| 4075 | + notify(promise, true); | |
| 4076 | +}; | |
| 4077 | +var $resolve = function (value) { | |
| 4078 | + var promise = this; | |
| 4079 | + var then; | |
| 4080 | + if (promise._d) return; | |
| 4081 | + promise._d = true; | |
| 4082 | + promise = promise._w || promise; // unwrap | |
| 4083 | + try { | |
| 4084 | + if (promise === value) throw TypeError("Promise can't be resolved itself"); | |
| 4085 | + if (then = isThenable(value)) { | |
| 4086 | + microtask(function () { | |
| 4087 | + var wrapper = { _w: promise, _d: false }; // wrap | |
| 4088 | + try { | |
| 4089 | + then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1)); | |
| 4090 | + } catch (e) { | |
| 4091 | + $reject.call(wrapper, e); | |
| 4092 | + } | |
| 4093 | + }); | |
| 4094 | + } else { | |
| 4095 | + promise._v = value; | |
| 4096 | + promise._s = 1; | |
| 4097 | + notify(promise, false); | |
| 4098 | + } | |
| 4099 | + } catch (e) { | |
| 4100 | + $reject.call({ _w: promise, _d: false }, e); // wrap | |
| 4101 | + } | |
| 4102 | +}; | |
| 4103 | + | |
| 4104 | +// constructor polyfill | |
| 4105 | +if (!USE_NATIVE) { | |
| 4106 | + // 25.4.3.1 Promise(executor) | |
| 4107 | + $Promise = function Promise(executor) { | |
| 4108 | + anInstance(this, $Promise, PROMISE, '_h'); | |
| 4109 | + aFunction(executor); | |
| 4110 | + Internal.call(this); | |
| 4111 | + try { | |
| 4112 | + executor(ctx($resolve, this, 1), ctx($reject, this, 1)); | |
| 4113 | + } catch (err) { | |
| 4114 | + $reject.call(this, err); | |
| 4115 | + } | |
| 4116 | + }; | |
| 4117 | + // eslint-disable-next-line no-unused-vars | |
| 4118 | + Internal = function Promise(executor) { | |
| 4119 | + this._c = []; // <- awaiting reactions | |
| 4120 | + this._a = undefined; // <- checked in isUnhandled reactions | |
| 4121 | + this._s = 0; // <- state | |
| 4122 | + this._d = false; // <- done | |
| 4123 | + this._v = undefined; // <- value | |
| 4124 | + this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled | |
| 4125 | + this._n = false; // <- notify | |
| 4126 | + }; | |
| 4127 | + Internal.prototype = __webpack_require__(126)($Promise.prototype, { | |
| 4128 | + // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected) | |
| 4129 | + then: function then(onFulfilled, onRejected) { | |
| 4130 | + var reaction = newPromiseCapability(speciesConstructor(this, $Promise)); | |
| 4131 | + reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true; | |
| 4132 | + reaction.fail = typeof onRejected == 'function' && onRejected; | |
| 4133 | + reaction.domain = isNode ? process.domain : undefined; | |
| 4134 | + this._c.push(reaction); | |
| 4135 | + if (this._a) this._a.push(reaction); | |
| 4136 | + if (this._s) notify(this, false); | |
| 4137 | + return reaction.promise; | |
| 4138 | + }, | |
| 4139 | + // 25.4.5.1 Promise.prototype.catch(onRejected) | |
| 4140 | + 'catch': function (onRejected) { | |
| 4141 | + return this.then(undefined, onRejected); | |
| 4142 | + } | |
| 4143 | + }); | |
| 4144 | + OwnPromiseCapability = function () { | |
| 4145 | + var promise = new Internal(); | |
| 4146 | + this.promise = promise; | |
| 4147 | + this.resolve = ctx($resolve, promise, 1); | |
| 4148 | + this.reject = ctx($reject, promise, 1); | |
| 4149 | + }; | |
| 4150 | + newPromiseCapabilityModule.f = newPromiseCapability = function (C) { | |
| 4151 | + return C === $Promise || C === Wrapper | |
| 4152 | + ? new OwnPromiseCapability(C) | |
| 4153 | + : newGenericPromiseCapability(C); | |
| 4154 | + }; | |
| 4155 | +} | |
| 4156 | + | |
| 4157 | +$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise }); | |
| 4158 | +__webpack_require__(53)($Promise, PROMISE); | |
| 4159 | +__webpack_require__(225)(PROMISE); | |
| 4160 | +Wrapper = __webpack_require__(6)[PROMISE]; | |
| 4161 | + | |
| 4162 | +// statics | |
| 4163 | +$export($export.S + $export.F * !USE_NATIVE, PROMISE, { | |
| 4164 | + // 25.4.4.5 Promise.reject(r) | |
| 4165 | + reject: function reject(r) { | |
| 4166 | + var capability = newPromiseCapability(this); | |
| 4167 | + var $$reject = capability.reject; | |
| 4168 | + $$reject(r); | |
| 4169 | + return capability.promise; | |
| 4170 | + } | |
| 4171 | +}); | |
| 4172 | +$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, { | |
| 4173 | + // 25.4.4.6 Promise.resolve(x) | |
| 4174 | + resolve: function resolve(x) { | |
| 4175 | + return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x); | |
| 4176 | + } | |
| 4177 | +}); | |
| 4178 | +$export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(152)(function (iter) { | |
| 4179 | + $Promise.all(iter)['catch'](empty); | |
| 4180 | +})), PROMISE, { | |
| 4181 | + // 25.4.4.1 Promise.all(iterable) | |
| 4182 | + all: function all(iterable) { | |
| 4183 | + var C = this; | |
| 4184 | + var capability = newPromiseCapability(C); | |
| 4185 | + var resolve = capability.resolve; | |
| 4186 | + var reject = capability.reject; | |
| 4187 | + var result = perform(function () { | |
| 4188 | + var values = []; | |
| 4189 | + var index = 0; | |
| 4190 | + var remaining = 1; | |
| 4191 | + forOf(iterable, false, function (promise) { | |
| 4192 | + var $index = index++; | |
| 4193 | + var alreadyCalled = false; | |
| 4194 | + values.push(undefined); | |
| 4195 | + remaining++; | |
| 4196 | + C.resolve(promise).then(function (value) { | |
| 4197 | + if (alreadyCalled) return; | |
| 4198 | + alreadyCalled = true; | |
| 4199 | + values[$index] = value; | |
| 4200 | + --remaining || resolve(values); | |
| 4201 | + }, reject); | |
| 4202 | + }); | |
| 4203 | + --remaining || resolve(values); | |
| 4204 | + }); | |
| 4205 | + if (result.e) reject(result.v); | |
| 4206 | + return capability.promise; | |
| 4207 | + }, | |
| 4208 | + // 25.4.4.4 Promise.race(iterable) | |
| 4209 | + race: function race(iterable) { | |
| 4210 | + var C = this; | |
| 4211 | + var capability = newPromiseCapability(C); | |
| 4212 | + var reject = capability.reject; | |
| 4213 | + var result = perform(function () { | |
| 4214 | + forOf(iterable, false, function (promise) { | |
| 4215 | + C.resolve(promise).then(capability.resolve, reject); | |
| 4216 | + }); | |
| 4217 | + }); | |
| 4218 | + if (result.e) reject(result.v); | |
| 4219 | + return capability.promise; | |
| 4220 | + } | |
| 4221 | +}); | |
| 4222 | + | |
| 4223 | + | |
| 4224 | +/***/ }), | |
| 4225 | +/* 259 */ | |
| 4226 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4227 | + | |
| 4228 | +var global = __webpack_require__(8); | |
| 4229 | +var macrotask = __webpack_require__(206).set; | |
| 4230 | +var Observer = global.MutationObserver || global.WebKitMutationObserver; | |
| 4231 | +var process = global.process; | |
| 4232 | +var Promise = global.Promise; | |
| 4233 | +var isNode = __webpack_require__(56)(process) == 'process'; | |
| 4234 | + | |
| 4235 | +module.exports = function () { | |
| 4236 | + var head, last, notify; | |
| 4237 | + | |
| 4238 | + var flush = function () { | |
| 4239 | + var parent, fn; | |
| 4240 | + if (isNode && (parent = process.domain)) parent.exit(); | |
| 4241 | + while (head) { | |
| 4242 | + fn = head.fn; | |
| 4243 | + head = head.next; | |
| 4244 | + try { | |
| 4245 | + fn(); | |
| 4246 | + } catch (e) { | |
| 4247 | + if (head) notify(); | |
| 4248 | + else last = undefined; | |
| 4249 | + throw e; | |
| 4250 | + } | |
| 4251 | + } last = undefined; | |
| 4252 | + if (parent) parent.enter(); | |
| 4253 | + }; | |
| 4254 | + | |
| 4255 | + // Node.js | |
| 4256 | + if (isNode) { | |
| 4257 | + notify = function () { | |
| 4258 | + process.nextTick(flush); | |
| 4259 | + }; | |
| 4260 | + // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339 | |
| 4261 | + } else if (Observer && !(global.navigator && global.navigator.standalone)) { | |
| 4262 | + var toggle = true; | |
| 4263 | + var node = document.createTextNode(''); | |
| 4264 | + new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new | |
| 4265 | + notify = function () { | |
| 4266 | + node.data = toggle = !toggle; | |
| 4267 | + }; | |
| 4268 | + // environments with maybe non-completely correct, but existent Promise | |
| 4269 | + } else if (Promise && Promise.resolve) { | |
| 4270 | + // Promise.resolve without an argument throws an error in LG WebOS 2 | |
| 4271 | + var promise = Promise.resolve(undefined); | |
| 4272 | + notify = function () { | |
| 4273 | + promise.then(flush); | |
| 4274 | + }; | |
| 4275 | + // for other environments - macrotask based on: | |
| 4276 | + // - setImmediate | |
| 4277 | + // - MessageChannel | |
| 4278 | + // - window.postMessag | |
| 4279 | + // - onreadystatechange | |
| 4280 | + // - setTimeout | |
| 4281 | + } else { | |
| 4282 | + notify = function () { | |
| 4283 | + // strange IE + webpack dev server bug - use .call(global) | |
| 4284 | + macrotask.call(global, flush); | |
| 4285 | + }; | |
| 4286 | + } | |
| 4287 | + | |
| 4288 | + return function (fn) { | |
| 4289 | + var task = { fn: fn, next: undefined }; | |
| 4290 | + if (last) last.next = task; | |
| 4291 | + if (!head) { | |
| 4292 | + head = task; | |
| 4293 | + notify(); | |
| 4294 | + } last = task; | |
| 4295 | + }; | |
| 4296 | +}; | |
| 4297 | + | |
| 4298 | + | |
| 4299 | +/***/ }), | |
| 4300 | +/* 260 */ | |
| 4301 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4302 | + | |
| 4303 | +var global = __webpack_require__(8); | |
| 4304 | +var navigator = global.navigator; | |
| 4305 | + | |
| 4306 | +module.exports = navigator && navigator.userAgent || ''; | |
| 4307 | + | |
| 4308 | + | |
| 4309 | +/***/ }), | |
| 4310 | +/* 261 */ | |
| 4311 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4312 | + | |
| 4313 | +"use strict"; | |
| 4314 | +// https://github.com/tc39/proposal-promise-finally | |
| 4315 | + | |
| 4316 | +var $export = __webpack_require__(7); | |
| 4317 | +var core = __webpack_require__(6); | |
| 4318 | +var global = __webpack_require__(8); | |
| 4319 | +var speciesConstructor = __webpack_require__(205); | |
| 4320 | +var promiseResolve = __webpack_require__(208); | |
| 4321 | + | |
| 4322 | +$export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) { | |
| 4323 | + var C = speciesConstructor(this, core.Promise || global.Promise); | |
| 4324 | + var isFunction = typeof onFinally == 'function'; | |
| 4325 | + return this.then( | |
| 4326 | + isFunction ? function (x) { | |
| 4327 | + return promiseResolve(C, onFinally()).then(function () { return x; }); | |
| 4328 | + } : onFinally, | |
| 4329 | + isFunction ? function (e) { | |
| 4330 | + return promiseResolve(C, onFinally()).then(function () { throw e; }); | |
| 4331 | + } : onFinally | |
| 4332 | + ); | |
| 4333 | +} }); | |
| 4334 | + | |
| 4335 | + | |
| 4336 | +/***/ }), | |
| 4337 | +/* 262 */ | |
| 4338 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4339 | + | |
| 4340 | +"use strict"; | |
| 4341 | + | |
| 4342 | +// https://github.com/tc39/proposal-promise-try | |
| 4343 | +var $export = __webpack_require__(7); | |
| 4344 | +var newPromiseCapability = __webpack_require__(144); | |
| 4345 | +var perform = __webpack_require__(207); | |
| 4346 | + | |
| 4347 | +$export($export.S, 'Promise', { 'try': function (callbackfn) { | |
| 4348 | + var promiseCapability = newPromiseCapability.f(this); | |
| 4349 | + var result = perform(callbackfn); | |
| 4350 | + (result.e ? promiseCapability.reject : promiseCapability.resolve)(result.v); | |
| 4351 | + return promiseCapability.promise; | |
| 4352 | +} }); | |
| 4353 | + | |
| 4354 | + | |
| 4355 | +/***/ }), | |
| 4356 | +/* 263 */, | |
| 4357 | +/* 264 */, | |
| 4358 | +/* 265 */, | |
| 4359 | +/* 266 */, | |
| 4360 | +/* 267 */, | |
| 4361 | +/* 268 */, | |
| 4362 | +/* 269 */, | |
| 4363 | +/* 270 */, | |
| 4364 | +/* 271 */, | |
| 4365 | +/* 272 */ | |
| 4366 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4367 | + | |
| 4368 | +"use strict"; | |
| 4369 | + | |
| 4370 | + | |
| 4371 | +var _Object$defineProperty = __webpack_require__(1); | |
| 4372 | + | |
| 4373 | +_Object$defineProperty(exports, "__esModule", { | |
| 4374 | + value: true | |
| 4375 | +}); | |
| 4376 | + | |
| 4377 | +exports.default = void 0; | |
| 4378 | +var userAgent = navigator.userAgent; | |
| 4379 | +var _default = { | |
| 4380 | + webkit: -1 !== userAgent.indexOf('AppleWebKit'), | |
| 4381 | + firefox: -1 !== userAgent.indexOf('Firefox'), | |
| 4382 | + ie: /Trident|MSIE/.test(userAgent), | |
| 4383 | + edge: -1 !== userAgent.indexOf('Edge'), | |
| 4384 | + mac: -1 !== userAgent.indexOf('Macintosh'), | |
| 4385 | + safari: /^((?!chrome|android).)*safari/i.test(userAgent) | |
| 4386 | +}; | |
| 4387 | +exports.default = _default; | |
| 4388 | + | |
| 4389 | +/***/ }), | |
| 4390 | +/* 273 */, | |
| 4391 | +/* 274 */, | |
| 4392 | +/* 275 */, | |
| 4393 | +/* 276 */, | |
| 4394 | +/* 277 */, | |
| 4395 | +/* 278 */, | |
| 4396 | +/* 279 */ | |
| 4397 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4398 | + | |
| 4399 | +// 21.2.5.3 get RegExp.prototype.flags() | |
| 4400 | +if (__webpack_require__(27) && /./g.flags != 'g') __webpack_require__(45).f(RegExp.prototype, 'flags', { | |
| 4401 | + configurable: true, | |
| 4402 | + get: __webpack_require__(106) | |
| 4403 | +}); | |
| 4404 | + | |
| 4405 | + | |
| 4406 | +/***/ }), | |
| 4407 | +/* 280 */, | |
| 4408 | +/* 281 */ | |
| 4409 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4410 | + | |
| 4411 | +__webpack_require__(282); | |
| 4412 | +module.exports = __webpack_require__(6).parseInt; | |
| 4413 | + | |
| 4414 | + | |
| 4415 | +/***/ }), | |
| 4416 | +/* 282 */ | |
| 4417 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4418 | + | |
| 4419 | +var $export = __webpack_require__(7); | |
| 4420 | +var $parseInt = __webpack_require__(283); | |
| 4421 | +// 18.2.5 parseInt(string, radix) | |
| 4422 | +$export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt }); | |
| 4423 | + | |
| 4424 | + | |
| 4425 | +/***/ }), | |
| 4426 | +/* 283 */ | |
| 4427 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4428 | + | |
| 4429 | +var $parseInt = __webpack_require__(8).parseInt; | |
| 4430 | +var $trim = __webpack_require__(284).trim; | |
| 4431 | +var ws = __webpack_require__(235); | |
| 4432 | +var hex = /^[-+]?0[xX]/; | |
| 4433 | + | |
| 4434 | +module.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) { | |
| 4435 | + var string = $trim(String(str), 3); | |
| 4436 | + return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10)); | |
| 4437 | +} : $parseInt; | |
| 4438 | + | |
| 4439 | + | |
| 4440 | +/***/ }), | |
| 4441 | +/* 284 */ | |
| 4442 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4443 | + | |
| 4444 | +var $export = __webpack_require__(7); | |
| 4445 | +var defined = __webpack_require__(65); | |
| 4446 | +var fails = __webpack_require__(22); | |
| 4447 | +var spaces = __webpack_require__(235); | |
| 4448 | +var space = '[' + spaces + ']'; | |
| 4449 | +var non = '\u200b\u0085'; | |
| 4450 | +var ltrim = RegExp('^' + space + space + '*'); | |
| 4451 | +var rtrim = RegExp(space + space + '*$'); | |
| 4452 | + | |
| 4453 | +var exporter = function (KEY, exec, ALIAS) { | |
| 4454 | + var exp = {}; | |
| 4455 | + var FORCE = fails(function () { | |
| 4456 | + return !!spaces[KEY]() || non[KEY]() != non; | |
| 4457 | + }); | |
| 4458 | + var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY]; | |
| 4459 | + if (ALIAS) exp[ALIAS] = fn; | |
| 4460 | + $export($export.P + $export.F * FORCE, 'String', exp); | |
| 4461 | +}; | |
| 4462 | + | |
| 4463 | +// 1 -> String#trimLeft | |
| 4464 | +// 2 -> String#trimRight | |
| 4465 | +// 3 -> String#trim | |
| 4466 | +var trim = exporter.trim = function (string, TYPE) { | |
| 4467 | + string = String(defined(string)); | |
| 4468 | + if (TYPE & 1) string = string.replace(ltrim, ''); | |
| 4469 | + if (TYPE & 2) string = string.replace(rtrim, ''); | |
| 4470 | + return string; | |
| 4471 | +}; | |
| 4472 | + | |
| 4473 | +module.exports = exporter; | |
| 4474 | + | |
| 4475 | + | |
| 4476 | +/***/ }), | |
| 4477 | +/* 285 */, | |
| 4478 | +/* 286 */, | |
| 4479 | +/* 287 */, | |
| 4480 | +/* 288 */, | |
| 4481 | +/* 289 */ | |
| 4482 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4483 | + | |
| 4484 | +module.exports = __webpack_require__(290); | |
| 4485 | + | |
| 4486 | +/***/ }), | |
| 4487 | +/* 290 */ | |
| 4488 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4489 | + | |
| 4490 | +__webpack_require__(291); | |
| 4491 | +var $Object = __webpack_require__(6).Object; | |
| 4492 | +module.exports = function defineProperties(T, D) { | |
| 4493 | + return $Object.defineProperties(T, D); | |
| 4494 | +}; | |
| 4495 | + | |
| 4496 | + | |
| 4497 | +/***/ }), | |
| 4498 | +/* 291 */ | |
| 4499 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4500 | + | |
| 4501 | +var $export = __webpack_require__(7); | |
| 4502 | +// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties) | |
| 4503 | +$export($export.S + $export.F * !__webpack_require__(14), 'Object', { defineProperties: __webpack_require__(134) }); | |
| 4504 | + | |
| 4505 | + | |
| 4506 | +/***/ }), | |
| 4507 | +/* 292 */, | |
| 4508 | +/* 293 */, | |
| 4509 | +/* 294 */, | |
| 4510 | +/* 295 */, | |
| 4511 | +/* 296 */, | |
| 4512 | +/* 297 */, | |
| 4513 | +/* 298 */, | |
| 4514 | +/* 299 */, | |
| 4515 | +/* 300 */, | |
| 4516 | +/* 301 */, | |
| 4517 | +/* 302 */ | |
| 4518 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4519 | + | |
| 4520 | +"use strict"; | |
| 4521 | + | |
| 4522 | +// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined) | |
| 4523 | +var $export = __webpack_require__(37); | |
| 4524 | +var $find = __webpack_require__(181)(6); | |
| 4525 | +var KEY = 'findIndex'; | |
| 4526 | +var forced = true; | |
| 4527 | +// Shouldn't skip holes | |
| 4528 | +if (KEY in []) Array(1)[KEY](function () { forced = false; }); | |
| 4529 | +$export($export.P + $export.F * forced, 'Array', { | |
| 4530 | + findIndex: function findIndex(callbackfn /* , that = undefined */) { | |
| 4531 | + return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); | |
| 4532 | + } | |
| 4533 | +}); | |
| 4534 | +__webpack_require__(85)(KEY); | |
| 4535 | + | |
| 4536 | + | |
| 4537 | +/***/ }), | |
| 4538 | +/* 303 */, | |
| 4539 | +/* 304 */, | |
| 4540 | +/* 305 */, | |
| 4541 | +/* 306 */, | |
| 4542 | +/* 307 */, | |
| 4543 | +/* 308 */, | |
| 4544 | +/* 309 */, | |
| 4545 | +/* 310 */, | |
| 4546 | +/* 311 */, | |
| 4547 | +/* 312 */, | |
| 4548 | +/* 313 */, | |
| 4549 | +/* 314 */, | |
| 4550 | +/* 315 */, | |
| 4551 | +/* 316 */ | |
| 4552 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4553 | + | |
| 4554 | +var core = __webpack_require__(6); | |
| 4555 | +var $JSON = core.JSON || (core.JSON = { stringify: JSON.stringify }); | |
| 4556 | +module.exports = function stringify(it) { // eslint-disable-line no-unused-vars | |
| 4557 | + return $JSON.stringify.apply($JSON, arguments); | |
| 4558 | +}; | |
| 4559 | + | |
| 4560 | + | |
| 4561 | +/***/ }), | |
| 4562 | +/* 317 */, | |
| 4563 | +/* 318 */, | |
| 4564 | +/* 319 */, | |
| 4565 | +/* 320 */, | |
| 4566 | +/* 321 */, | |
| 4567 | +/* 322 */, | |
| 4568 | +/* 323 */, | |
| 4569 | +/* 324 */, | |
| 4570 | +/* 325 */, | |
| 4571 | +/* 326 */, | |
| 4572 | +/* 327 */, | |
| 4573 | +/* 328 */, | |
| 4574 | +/* 329 */, | |
| 4575 | +/* 330 */, | |
| 4576 | +/* 331 */, | |
| 4577 | +/* 332 */, | |
| 4578 | +/* 333 */, | |
| 4579 | +/* 334 */, | |
| 4580 | +/* 335 */, | |
| 4581 | +/* 336 */, | |
| 4582 | +/* 337 */, | |
| 4583 | +/* 338 */, | |
| 4584 | +/* 339 */, | |
| 4585 | +/* 340 */, | |
| 4586 | +/* 341 */, | |
| 4587 | +/* 342 */, | |
| 4588 | +/* 343 */, | |
| 4589 | +/* 344 */, | |
| 4590 | +/* 345 */, | |
| 4591 | +/* 346 */, | |
| 4592 | +/* 347 */, | |
| 4593 | +/* 348 */, | |
| 4594 | +/* 349 */, | |
| 4595 | +/* 350 */, | |
| 4596 | +/* 351 */, | |
| 4597 | +/* 352 */, | |
| 4598 | +/* 353 */, | |
| 4599 | +/* 354 */, | |
| 4600 | +/* 355 */, | |
| 4601 | +/* 356 */, | |
| 4602 | +/* 357 */, | |
| 4603 | +/* 358 */, | |
| 4604 | +/* 359 */, | |
| 4605 | +/* 360 */, | |
| 4606 | +/* 361 */, | |
| 4607 | +/* 362 */, | |
| 4608 | +/* 363 */, | |
| 4609 | +/* 364 */, | |
| 4610 | +/* 365 */, | |
| 4611 | +/* 366 */, | |
| 4612 | +/* 367 */, | |
| 4613 | +/* 368 */, | |
| 4614 | +/* 369 */, | |
| 4615 | +/* 370 */, | |
| 4616 | +/* 371 */, | |
| 4617 | +/* 372 */, | |
| 4618 | +/* 373 */, | |
| 4619 | +/* 374 */, | |
| 4620 | +/* 375 */, | |
| 4621 | +/* 376 */, | |
| 4622 | +/* 377 */, | |
| 4623 | +/* 378 */, | |
| 4624 | +/* 379 */, | |
| 4625 | +/* 380 */, | |
| 4626 | +/* 381 */, | |
| 4627 | +/* 382 */, | |
| 4628 | +/* 383 */, | |
| 4629 | +/* 384 */, | |
| 4630 | +/* 385 */, | |
| 4631 | +/* 386 */, | |
| 4632 | +/* 387 */ | |
| 4633 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4634 | + | |
| 4635 | +"use strict"; | |
| 4636 | + | |
| 4637 | +/** | |
| 4638 | + * Handles managing all events for whatever you plug it into. Priorities for hooks are based on lowest to highest in | |
| 4639 | + * that, lowest priority hooks are fired first. | |
| 4640 | + */ | |
| 4641 | + | |
| 4642 | +var _interopRequireDefault = __webpack_require__(0); | |
| 4643 | + | |
| 4644 | +var _parseInt2 = _interopRequireDefault(__webpack_require__(211)); | |
| 4645 | + | |
| 4646 | +var EventManager = function EventManager() { | |
| 4647 | + var slice = Array.prototype.slice, | |
| 4648 | + MethodsAvailable; | |
| 4649 | + /** | |
| 4650 | + * Contains the hooks that get registered with this EventManager. The array for storage utilizes a "flat" | |
| 4651 | + * object literal such that looking up the hook utilizes the native object literal hash. | |
| 4652 | + */ | |
| 4653 | + | |
| 4654 | + var STORAGE = { | |
| 4655 | + actions: {}, | |
| 4656 | + filters: {} | |
| 4657 | + }; | |
| 4658 | + /** | |
| 4659 | + * Removes the specified hook by resetting the value of it. | |
| 4660 | + * | |
| 4661 | + * @param type Type of hook, either 'actions' or 'filters' | |
| 4662 | + * @param hook The hook (namespace.identifier) to remove | |
| 4663 | + * | |
| 4664 | + * @private | |
| 4665 | + */ | |
| 4666 | + | |
| 4667 | + function _removeHook(type, hook, callback, context) { | |
| 4668 | + var handlers, handler, i; | |
| 4669 | + | |
| 4670 | + if (!STORAGE[type][hook]) { | |
| 4671 | + return; | |
| 4672 | + } | |
| 4673 | + | |
| 4674 | + if (!callback) { | |
| 4675 | + STORAGE[type][hook] = []; | |
| 4676 | + } else { | |
| 4677 | + handlers = STORAGE[type][hook]; | |
| 4678 | + | |
| 4679 | + if (!context) { | |
| 4680 | + for (i = handlers.length; i--;) { | |
| 4681 | + if (handlers[i].callback === callback) { | |
| 4682 | + handlers.splice(i, 1); | |
| 4683 | + } | |
| 4684 | + } | |
| 4685 | + } else { | |
| 4686 | + for (i = handlers.length; i--;) { | |
| 4687 | + handler = handlers[i]; | |
| 4688 | + | |
| 4689 | + if (handler.callback === callback && handler.context === context) { | |
| 4690 | + handlers.splice(i, 1); | |
| 4691 | + } | |
| 4692 | + } | |
| 4693 | + } | |
| 4694 | + } | |
| 4695 | + } | |
| 4696 | + /** | |
| 4697 | + * Use an insert sort for keeping our hooks organized based on priority. This function is ridiculously faster | |
| 4698 | + * than bubble sort, etc: http://jsperf.com/javascript-sort | |
| 4699 | + * | |
| 4700 | + * @param hooks The custom array containing all of the appropriate hooks to perform an insert sort on. | |
| 4701 | + * @private | |
| 4702 | + */ | |
| 4703 | + | |
| 4704 | + | |
| 4705 | + function _hookInsertSort(hooks) { | |
| 4706 | + var tmpHook, j, prevHook; | |
| 4707 | + | |
| 4708 | + for (var i = 1, len = hooks.length; i < len; i++) { | |
| 4709 | + tmpHook = hooks[i]; | |
| 4710 | + j = i; | |
| 4711 | + | |
| 4712 | + while ((prevHook = hooks[j - 1]) && prevHook.priority > tmpHook.priority) { | |
| 4713 | + hooks[j] = hooks[j - 1]; | |
| 4714 | + --j; | |
| 4715 | + } | |
| 4716 | + | |
| 4717 | + hooks[j] = tmpHook; | |
| 4718 | + } | |
| 4719 | + | |
| 4720 | + return hooks; | |
| 4721 | + } | |
| 4722 | + /** | |
| 4723 | + * Adds the hook to the appropriate storage container | |
| 4724 | + * | |
| 4725 | + * @param type 'actions' or 'filters' | |
| 4726 | + * @param hook The hook (namespace.identifier) to add to our event manager | |
| 4727 | + * @param callback The function that will be called when the hook is executed. | |
| 4728 | + * @param priority The priority of this hook. Must be an integer. | |
| 4729 | + * @param [context] A value to be used for this | |
| 4730 | + * @private | |
| 4731 | + */ | |
| 4732 | + | |
| 4733 | + | |
| 4734 | + function _addHook(type, hook, callback, priority, context) { | |
| 4735 | + var hookObject = { | |
| 4736 | + callback: callback, | |
| 4737 | + priority: priority, | |
| 4738 | + context: context | |
| 4739 | + }; // Utilize 'prop itself' : http://jsperf.com/hasownproperty-vs-in-vs-undefined/19 | |
| 4740 | + | |
| 4741 | + var hooks = STORAGE[type][hook]; | |
| 4742 | + | |
| 4743 | + if (hooks) { | |
| 4744 | + // TEMP FIX BUG | |
| 4745 | + var hasSameCallback = false; | |
| 4746 | + jQuery.each(hooks, function () { | |
| 4747 | + if (this.callback === callback) { | |
| 4748 | + hasSameCallback = true; | |
| 4749 | + return false; | |
| 4750 | + } | |
| 4751 | + }); | |
| 4752 | + | |
| 4753 | + if (hasSameCallback) { | |
| 4754 | + return; | |
| 4755 | + } // END TEMP FIX BUG | |
| 4756 | + | |
| 4757 | + | |
| 4758 | + hooks.push(hookObject); | |
| 4759 | + hooks = _hookInsertSort(hooks); | |
| 4760 | + } else { | |
| 4761 | + hooks = [hookObject]; | |
| 4762 | + } | |
| 4763 | + | |
| 4764 | + STORAGE[type][hook] = hooks; | |
| 4765 | + } | |
| 4766 | + /** | |
| 4767 | + * Runs the specified hook. If it is an action, the value is not modified but if it is a filter, it is. | |
| 4768 | + * | |
| 4769 | + * @param type 'actions' or 'filters' | |
| 4770 | + * @param hook The hook ( namespace.identifier ) to be ran. | |
| 4771 | + * @param args Arguments to pass to the action/filter. If it's a filter, args is actually a single parameter. | |
| 4772 | + * @private | |
| 4773 | + */ | |
| 4774 | + | |
| 4775 | + | |
| 4776 | + function _runHook(type, hook, args) { | |
| 4777 | + var handlers = STORAGE[type][hook], | |
| 4778 | + i, | |
| 4779 | + len; | |
| 4780 | + | |
| 4781 | + if (!handlers) { | |
| 4782 | + return 'filters' === type ? args[0] : false; | |
| 4783 | + } | |
| 4784 | + | |
| 4785 | + len = handlers.length; | |
| 4786 | + | |
| 4787 | + if ('filters' === type) { | |
| 4788 | + for (i = 0; i < len; i++) { | |
| 4789 | + args[0] = handlers[i].callback.apply(handlers[i].context, args); | |
| 4790 | + } | |
| 4791 | + } else { | |
| 4792 | + for (i = 0; i < len; i++) { | |
| 4793 | + handlers[i].callback.apply(handlers[i].context, args); | |
| 4794 | + } | |
| 4795 | + } | |
| 4796 | + | |
| 4797 | + return 'filters' === type ? args[0] : true; | |
| 4798 | + } | |
| 4799 | + /** | |
| 4800 | + * Adds an action to the event manager. | |
| 4801 | + * | |
| 4802 | + * @param action Must contain namespace.identifier | |
| 4803 | + * @param callback Must be a valid callback function before this action is added | |
| 4804 | + * @param [priority=10] Used to control when the function is executed in relation to other callbacks bound to the same hook | |
| 4805 | + * @param [context] Supply a value to be used for this | |
| 4806 | + */ | |
| 4807 | + | |
| 4808 | + | |
| 4809 | + function addAction(action, callback, priority, context) { | |
| 4810 | + if ('string' === typeof action && 'function' === typeof callback) { | |
| 4811 | + priority = (0, _parseInt2.default)(priority || 10, 10); | |
| 4812 | + | |
| 4813 | + _addHook('actions', action, callback, priority, context); | |
| 4814 | + } | |
| 4815 | + | |
| 4816 | + return MethodsAvailable; | |
| 4817 | + } | |
| 4818 | + /** | |
| 4819 | + * Performs an action if it exists. You can pass as many arguments as you want to this function; the only rule is | |
| 4820 | + * that the first argument must always be the action. | |
| 4821 | + */ | |
| 4822 | + | |
| 4823 | + | |
| 4824 | + function doAction() | |
| 4825 | + /* action, arg1, arg2, ... */ | |
| 4826 | + { | |
| 4827 | + var args = slice.call(arguments); | |
| 4828 | + var action = args.shift(); | |
| 4829 | + | |
| 4830 | + if ('string' === typeof action) { | |
| 4831 | + _runHook('actions', action, args); | |
| 4832 | + } | |
| 4833 | + | |
| 4834 | + return MethodsAvailable; | |
| 4835 | + } | |
| 4836 | + /** | |
| 4837 | + * Removes the specified action if it contains a namespace.identifier & exists. | |
| 4838 | + * | |
| 4839 | + * @param action The action to remove | |
| 4840 | + * @param [callback] Callback function to remove | |
| 4841 | + */ | |
| 4842 | + | |
| 4843 | + | |
| 4844 | + function removeAction(action, callback) { | |
| 4845 | + if ('string' === typeof action) { | |
| 4846 | + _removeHook('actions', action, callback); | |
| 4847 | + } | |
| 4848 | + | |
| 4849 | + return MethodsAvailable; | |
| 4850 | + } | |
| 4851 | + /** | |
| 4852 | + * Adds a filter to the event manager. | |
| 4853 | + * | |
| 4854 | + * @param filter Must contain namespace.identifier | |
| 4855 | + * @param callback Must be a valid callback function before this action is added | |
| 4856 | + * @param [priority=10] Used to control when the function is executed in relation to other callbacks bound to the same hook | |
| 4857 | + * @param [context] Supply a value to be used for this | |
| 4858 | + */ | |
| 4859 | + | |
| 4860 | + | |
| 4861 | + function addFilter(filter, callback, priority, context) { | |
| 4862 | + if ('string' === typeof filter && 'function' === typeof callback) { | |
| 4863 | + priority = (0, _parseInt2.default)(priority || 10, 10); | |
| 4864 | + | |
| 4865 | + _addHook('filters', filter, callback, priority, context); | |
| 4866 | + } | |
| 4867 | + | |
| 4868 | + return MethodsAvailable; | |
| 4869 | + } | |
| 4870 | + /** | |
| 4871 | + * Performs a filter if it exists. You should only ever pass 1 argument to be filtered. The only rule is that | |
| 4872 | + * the first argument must always be the filter. | |
| 4873 | + */ | |
| 4874 | + | |
| 4875 | + | |
| 4876 | + function applyFilters() | |
| 4877 | + /* filter, filtered arg, arg2, ... */ | |
| 4878 | + { | |
| 4879 | + var args = slice.call(arguments); | |
| 4880 | + var filter = args.shift(); | |
| 4881 | + | |
| 4882 | + if ('string' === typeof filter) { | |
| 4883 | + return _runHook('filters', filter, args); | |
| 4884 | + } | |
| 4885 | + | |
| 4886 | + return MethodsAvailable; | |
| 4887 | + } | |
| 4888 | + /** | |
| 4889 | + * Removes the specified filter if it contains a namespace.identifier & exists. | |
| 4890 | + * | |
| 4891 | + * @param filter The action to remove | |
| 4892 | + * @param [callback] Callback function to remove | |
| 4893 | + */ | |
| 4894 | + | |
| 4895 | + | |
| 4896 | + function removeFilter(filter, callback) { | |
| 4897 | + if ('string' === typeof filter) { | |
| 4898 | + _removeHook('filters', filter, callback); | |
| 4899 | + } | |
| 4900 | + | |
| 4901 | + return MethodsAvailable; | |
| 4902 | + } | |
| 4903 | + /** | |
| 4904 | + * Maintain a reference to the object scope so our public methods never get confusing. | |
| 4905 | + */ | |
| 4906 | + | |
| 4907 | + | |
| 4908 | + MethodsAvailable = { | |
| 4909 | + removeFilter: removeFilter, | |
| 4910 | + applyFilters: applyFilters, | |
| 4911 | + addFilter: addFilter, | |
| 4912 | + removeAction: removeAction, | |
| 4913 | + doAction: doAction, | |
| 4914 | + addAction: addAction | |
| 4915 | + }; // return all of the publicly available methods | |
| 4916 | + | |
| 4917 | + return MethodsAvailable; | |
| 4918 | +}; | |
| 4919 | + | |
| 4920 | +module.exports = EventManager; | |
| 4921 | + | |
| 4922 | +/***/ }), | |
| 4923 | +/* 388 */, | |
| 4924 | +/* 389 */, | |
| 4925 | +/* 390 */, | |
| 4926 | +/* 391 */, | |
| 4927 | +/* 392 */, | |
| 4928 | +/* 393 */, | |
| 4929 | +/* 394 */, | |
| 4930 | +/* 395 */, | |
| 4931 | +/* 396 */, | |
| 4932 | +/* 397 */, | |
| 4933 | +/* 398 */, | |
| 4934 | +/* 399 */, | |
| 4935 | +/* 400 */, | |
| 4936 | +/* 401 */, | |
| 4937 | +/* 402 */, | |
| 4938 | +/* 403 */, | |
| 4939 | +/* 404 */, | |
| 4940 | +/* 405 */, | |
| 4941 | +/* 406 */, | |
| 4942 | +/* 407 */, | |
| 4943 | +/* 408 */, | |
| 4944 | +/* 409 */, | |
| 4945 | +/* 410 */, | |
| 4946 | +/* 411 */, | |
| 4947 | +/* 412 */, | |
| 4948 | +/* 413 */, | |
| 4949 | +/* 414 */, | |
| 4950 | +/* 415 */, | |
| 4951 | +/* 416 */, | |
| 4952 | +/* 417 */, | |
| 4953 | +/* 418 */, | |
| 4954 | +/* 419 */, | |
| 4955 | +/* 420 */, | |
| 4956 | +/* 421 */, | |
| 4957 | +/* 422 */, | |
| 4958 | +/* 423 */, | |
| 4959 | +/* 424 */, | |
| 4960 | +/* 425 */, | |
| 4961 | +/* 426 */, | |
| 4962 | +/* 427 */, | |
| 4963 | +/* 428 */, | |
| 4964 | +/* 429 */, | |
| 4965 | +/* 430 */, | |
| 4966 | +/* 431 */, | |
| 4967 | +/* 432 */, | |
| 4968 | +/* 433 */, | |
| 4969 | +/* 434 */, | |
| 4970 | +/* 435 */, | |
| 4971 | +/* 436 */, | |
| 4972 | +/* 437 */, | |
| 4973 | +/* 438 */, | |
| 4974 | +/* 439 */, | |
| 4975 | +/* 440 */, | |
| 4976 | +/* 441 */, | |
| 4977 | +/* 442 */, | |
| 4978 | +/* 443 */, | |
| 4979 | +/* 444 */, | |
| 4980 | +/* 445 */, | |
| 4981 | +/* 446 */, | |
| 4982 | +/* 447 */, | |
| 4983 | +/* 448 */, | |
| 4984 | +/* 449 */, | |
| 4985 | +/* 450 */, | |
| 4986 | +/* 451 */, | |
| 4987 | +/* 452 */, | |
| 4988 | +/* 453 */, | |
| 4989 | +/* 454 */, | |
| 4990 | +/* 455 */, | |
| 4991 | +/* 456 */, | |
| 4992 | +/* 457 */, | |
| 4993 | +/* 458 */, | |
| 4994 | +/* 459 */, | |
| 4995 | +/* 460 */, | |
| 4996 | +/* 461 */, | |
| 4997 | +/* 462 */, | |
| 4998 | +/* 463 */, | |
| 4999 | +/* 464 */, | |
| 5000 | +/* 465 */, | |
| 5001 | +/* 466 */, | |
| 5002 | +/* 467 */, | |
| 5003 | +/* 468 */, | |
| 5004 | +/* 469 */, | |
| 5005 | +/* 470 */, | |
| 5006 | +/* 471 */, | |
| 5007 | +/* 472 */, | |
| 5008 | +/* 473 */, | |
| 5009 | +/* 474 */, | |
| 5010 | +/* 475 */, | |
| 5011 | +/* 476 */, | |
| 5012 | +/* 477 */, | |
| 5013 | +/* 478 */, | |
| 5014 | +/* 479 */, | |
| 5015 | +/* 480 */, | |
| 5016 | +/* 481 */, | |
| 5017 | +/* 482 */, | |
| 5018 | +/* 483 */, | |
| 5019 | +/* 484 */, | |
| 5020 | +/* 485 */, | |
| 5021 | +/* 486 */, | |
| 5022 | +/* 487 */, | |
| 5023 | +/* 488 */, | |
| 5024 | +/* 489 */, | |
| 5025 | +/* 490 */, | |
| 5026 | +/* 491 */, | |
| 5027 | +/* 492 */, | |
| 5028 | +/* 493 */, | |
| 5029 | +/* 494 */, | |
| 5030 | +/* 495 */, | |
| 5031 | +/* 496 */, | |
| 5032 | +/* 497 */, | |
| 5033 | +/* 498 */, | |
| 5034 | +/* 499 */, | |
| 5035 | +/* 500 */, | |
| 5036 | +/* 501 */, | |
| 5037 | +/* 502 */, | |
| 5038 | +/* 503 */, | |
| 5039 | +/* 504 */, | |
| 5040 | +/* 505 */, | |
| 5041 | +/* 506 */, | |
| 5042 | +/* 507 */, | |
| 5043 | +/* 508 */, | |
| 5044 | +/* 509 */, | |
| 5045 | +/* 510 */, | |
| 5046 | +/* 511 */, | |
| 5047 | +/* 512 */, | |
| 5048 | +/* 513 */, | |
| 5049 | +/* 514 */, | |
| 5050 | +/* 515 */, | |
| 5051 | +/* 516 */, | |
| 5052 | +/* 517 */, | |
| 5053 | +/* 518 */, | |
| 5054 | +/* 519 */, | |
| 5055 | +/* 520 */, | |
| 5056 | +/* 521 */, | |
| 5057 | +/* 522 */, | |
| 5058 | +/* 523 */, | |
| 5059 | +/* 524 */, | |
| 5060 | +/* 525 */, | |
| 5061 | +/* 526 */, | |
| 5062 | +/* 527 */, | |
| 5063 | +/* 528 */, | |
| 5064 | +/* 529 */, | |
| 5065 | +/* 530 */, | |
| 5066 | +/* 531 */, | |
| 5067 | +/* 532 */, | |
| 5068 | +/* 533 */, | |
| 5069 | +/* 534 */, | |
| 5070 | +/* 535 */, | |
| 5071 | +/* 536 */, | |
| 5072 | +/* 537 */, | |
| 5073 | +/* 538 */, | |
| 5074 | +/* 539 */, | |
| 5075 | +/* 540 */, | |
| 5076 | +/* 541 */, | |
| 5077 | +/* 542 */, | |
| 5078 | +/* 543 */, | |
| 5079 | +/* 544 */, | |
| 5080 | +/* 545 */, | |
| 5081 | +/* 546 */, | |
| 5082 | +/* 547 */, | |
| 5083 | +/* 548 */, | |
| 5084 | +/* 549 */, | |
| 5085 | +/* 550 */, | |
| 5086 | +/* 551 */, | |
| 5087 | +/* 552 */, | |
| 5088 | +/* 553 */, | |
| 5089 | +/* 554 */, | |
| 5090 | +/* 555 */, | |
| 5091 | +/* 556 */, | |
| 5092 | +/* 557 */, | |
| 5093 | +/* 558 */, | |
| 5094 | +/* 559 */, | |
| 5095 | +/* 560 */, | |
| 5096 | +/* 561 */, | |
| 5097 | +/* 562 */, | |
| 5098 | +/* 563 */, | |
| 5099 | +/* 564 */, | |
| 5100 | +/* 565 */, | |
| 5101 | +/* 566 */, | |
| 5102 | +/* 567 */, | |
| 5103 | +/* 568 */, | |
| 5104 | +/* 569 */, | |
| 5105 | +/* 570 */, | |
| 5106 | +/* 571 */, | |
| 5107 | +/* 572 */, | |
| 5108 | +/* 573 */, | |
| 5109 | +/* 574 */, | |
| 5110 | +/* 575 */, | |
| 5111 | +/* 576 */, | |
| 5112 | +/* 577 */, | |
| 5113 | +/* 578 */, | |
| 5114 | +/* 579 */, | |
| 5115 | +/* 580 */, | |
| 5116 | +/* 581 */, | |
| 5117 | +/* 582 */, | |
| 5118 | +/* 583 */, | |
| 5119 | +/* 584 */, | |
| 5120 | +/* 585 */, | |
| 5121 | +/* 586 */, | |
| 5122 | +/* 587 */, | |
| 5123 | +/* 588 */, | |
| 5124 | +/* 589 */, | |
| 5125 | +/* 590 */, | |
| 5126 | +/* 591 */, | |
| 5127 | +/* 592 */, | |
| 5128 | +/* 593 */, | |
| 5129 | +/* 594 */, | |
| 5130 | +/* 595 */, | |
| 5131 | +/* 596 */, | |
| 5132 | +/* 597 */, | |
| 5133 | +/* 598 */, | |
| 5134 | +/* 599 */, | |
| 5135 | +/* 600 */, | |
| 5136 | +/* 601 */, | |
| 5137 | +/* 602 */, | |
| 5138 | +/* 603 */, | |
| 5139 | +/* 604 */, | |
| 5140 | +/* 605 */, | |
| 5141 | +/* 606 */, | |
| 5142 | +/* 607 */, | |
| 5143 | +/* 608 */, | |
| 5144 | +/* 609 */, | |
| 5145 | +/* 610 */, | |
| 5146 | +/* 611 */, | |
| 5147 | +/* 612 */, | |
| 5148 | +/* 613 */, | |
| 5149 | +/* 614 */, | |
| 5150 | +/* 615 */, | |
| 5151 | +/* 616 */, | |
| 5152 | +/* 617 */, | |
| 5153 | +/* 618 */, | |
| 5154 | +/* 619 */, | |
| 5155 | +/* 620 */, | |
| 5156 | +/* 621 */, | |
| 5157 | +/* 622 */, | |
| 5158 | +/* 623 */, | |
| 5159 | +/* 624 */, | |
| 5160 | +/* 625 */, | |
| 5161 | +/* 626 */ | |
| 5162 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5163 | + | |
| 5164 | +"use strict"; | |
| 5165 | + | |
| 5166 | + | |
| 5167 | +var _interopRequireDefault = __webpack_require__(0); | |
| 5168 | + | |
| 5169 | +var _Object$defineProperty = __webpack_require__(1); | |
| 5170 | + | |
| 5171 | +_Object$defineProperty(exports, "__esModule", { | |
| 5172 | + value: true | |
| 5173 | +}); | |
| 5174 | + | |
| 5175 | +exports.default = void 0; | |
| 5176 | + | |
| 5177 | +var _stringify = _interopRequireDefault(__webpack_require__(204)); | |
| 5178 | + | |
| 5179 | +var _keys = _interopRequireDefault(__webpack_require__(23)); | |
| 5180 | + | |
| 5181 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 5182 | + | |
| 5183 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 5184 | + | |
| 5185 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 5186 | + | |
| 5187 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 5188 | + | |
| 5189 | +var _default = /*#__PURE__*/function (_elementorModules$Mod) { | |
| 5190 | + (0, _inherits2.default)(_default, _elementorModules$Mod); | |
| 5191 | + | |
| 5192 | + var _super = (0, _createSuper2.default)(_default); | |
| 5193 | + | |
| 5194 | + function _default() { | |
| 5195 | + (0, _classCallCheck2.default)(this, _default); | |
| 5196 | + return _super.apply(this, arguments); | |
| 5197 | + } | |
| 5198 | + | |
| 5199 | + (0, _createClass2.default)(_default, [{ | |
| 5200 | + key: "get", | |
| 5201 | + value: function get(key, options) { | |
| 5202 | + options = options || {}; | |
| 5203 | + var storage; | |
| 5204 | + | |
| 5205 | + try { | |
| 5206 | + storage = options.session ? sessionStorage : localStorage; | |
| 5207 | + } catch (e) { | |
| 5208 | + return key ? undefined : {}; | |
| 5209 | + } | |
| 5210 | + | |
| 5211 | + var elementorStorage = storage.getItem('elementor'); | |
| 5212 | + | |
| 5213 | + if (elementorStorage) { | |
| 5214 | + elementorStorage = JSON.parse(elementorStorage); | |
| 5215 | + } else { | |
| 5216 | + elementorStorage = {}; | |
| 5217 | + } | |
| 5218 | + | |
| 5219 | + if (!elementorStorage.__expiration) { | |
| 5220 | + elementorStorage.__expiration = {}; | |
| 5221 | + } | |
| 5222 | + | |
| 5223 | + var expiration = elementorStorage.__expiration; | |
| 5224 | + var expirationToCheck = []; | |
| 5225 | + | |
| 5226 | + if (key) { | |
| 5227 | + if (expiration[key]) { | |
| 5228 | + expirationToCheck = [key]; | |
| 5229 | + } | |
| 5230 | + } else { | |
| 5231 | + expirationToCheck = (0, _keys.default)(expiration); | |
| 5232 | + } | |
| 5233 | + | |
| 5234 | + var entryExpired = false; | |
| 5235 | + expirationToCheck.forEach(function (expirationKey) { | |
| 5236 | + if (new Date(expiration[expirationKey]) < new Date()) { | |
| 5237 | + delete elementorStorage[expirationKey]; | |
| 5238 | + delete expiration[expirationKey]; | |
| 5239 | + entryExpired = true; | |
| 5240 | + } | |
| 5241 | + }); | |
| 5242 | + | |
| 5243 | + if (entryExpired) { | |
| 5244 | + this.save(elementorStorage, options.session); | |
| 5245 | + } | |
| 5246 | + | |
| 5247 | + if (key) { | |
| 5248 | + return elementorStorage[key]; | |
| 5249 | + } | |
| 5250 | + | |
| 5251 | + return elementorStorage; | |
| 5252 | + } | |
| 5253 | + }, { | |
| 5254 | + key: "set", | |
| 5255 | + value: function set(key, value, options) { | |
| 5256 | + options = options || {}; | |
| 5257 | + var elementorStorage = this.get(null, options); | |
| 5258 | + elementorStorage[key] = value; | |
| 5259 | + | |
| 5260 | + if (options.lifetimeInSeconds) { | |
| 5261 | + var date = new Date(); | |
| 5262 | + date.setTime(date.getTime() + options.lifetimeInSeconds * 1000); | |
| 5263 | + elementorStorage.__expiration[key] = date.getTime(); | |
| 5264 | + } | |
| 5265 | + | |
| 5266 | + this.save(elementorStorage, options.session); | |
| 5267 | + } | |
| 5268 | + }, { | |
| 5269 | + key: "save", | |
| 5270 | + value: function save(object, session) { | |
| 5271 | + var storage; | |
| 5272 | + | |
| 5273 | + try { | |
| 5274 | + storage = session ? sessionStorage : localStorage; | |
| 5275 | + } catch (e) { | |
| 5276 | + return; | |
| 5277 | + } | |
| 5278 | + | |
| 5279 | + storage.setItem('elementor', (0, _stringify.default)(object)); | |
| 5280 | + } | |
| 5281 | + }]); | |
| 5282 | + return _default; | |
| 5283 | +}(elementorModules.Module); | |
| 5284 | + | |
| 5285 | +exports.default = _default; | |
| 5286 | + | |
| 5287 | +/***/ }), | |
| 5288 | +/* 627 */, | |
| 5289 | +/* 628 */, | |
| 5290 | +/* 629 */, | |
| 5291 | +/* 630 */, | |
| 5292 | +/* 631 */, | |
| 5293 | +/* 632 */, | |
| 5294 | +/* 633 */, | |
| 5295 | +/* 634 */, | |
| 5296 | +/* 635 */, | |
| 5297 | +/* 636 */, | |
| 5298 | +/* 637 */, | |
| 5299 | +/* 638 */, | |
| 5300 | +/* 639 */, | |
| 5301 | +/* 640 */, | |
| 5302 | +/* 641 */, | |
| 5303 | +/* 642 */, | |
| 5304 | +/* 643 */, | |
| 5305 | +/* 644 */, | |
| 5306 | +/* 645 */, | |
| 5307 | +/* 646 */, | |
| 5308 | +/* 647 */, | |
| 5309 | +/* 648 */, | |
| 5310 | +/* 649 */, | |
| 5311 | +/* 650 */, | |
| 5312 | +/* 651 */, | |
| 5313 | +/* 652 */, | |
| 5314 | +/* 653 */, | |
| 5315 | +/* 654 */, | |
| 5316 | +/* 655 */, | |
| 5317 | +/* 656 */, | |
| 5318 | +/* 657 */ | |
| 5319 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5320 | + | |
| 5321 | +"use strict"; | |
| 5322 | + | |
| 5323 | + | |
| 5324 | +var _interopRequireDefault = __webpack_require__(0); | |
| 5325 | + | |
| 5326 | +var _Object$defineProperty = __webpack_require__(1); | |
| 5327 | + | |
| 5328 | +_Object$defineProperty(exports, "__esModule", { | |
| 5329 | + value: true | |
| 5330 | +}); | |
| 5331 | + | |
| 5332 | +exports.default = void 0; | |
| 5333 | + | |
| 5334 | +__webpack_require__(26); | |
| 5335 | + | |
| 5336 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 5337 | + | |
| 5338 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 5339 | + | |
| 5340 | +var _get2 = _interopRequireDefault(__webpack_require__(25)); | |
| 5341 | + | |
| 5342 | +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16)); | |
| 5343 | + | |
| 5344 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 5345 | + | |
| 5346 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 5347 | + | |
| 5348 | +var _default = /*#__PURE__*/function (_elementorModules$Vie) { | |
| 5349 | + (0, _inherits2.default)(_default, _elementorModules$Vie); | |
| 5350 | + | |
| 5351 | + var _super = (0, _createSuper2.default)(_default); | |
| 5352 | + | |
| 5353 | + function _default() { | |
| 5354 | + (0, _classCallCheck2.default)(this, _default); | |
| 5355 | + return _super.apply(this, arguments); | |
| 5356 | + } | |
| 5357 | + | |
| 5358 | + (0, _createClass2.default)(_default, [{ | |
| 5359 | + key: "getDefaultSettings", | |
| 5360 | + value: function getDefaultSettings() { | |
| 5361 | + return { | |
| 5362 | + selectors: { | |
| 5363 | + elements: '.elementor-element', | |
| 5364 | + nestedDocumentElements: '.elementor .elementor-element' | |
| 5365 | + }, | |
| 5366 | + classes: { | |
| 5367 | + editMode: 'elementor-edit-mode' | |
| 5368 | + } | |
| 5369 | + }; | |
| 5370 | + } | |
| 5371 | + }, { | |
| 5372 | + key: "getDefaultElements", | |
| 5373 | + value: function getDefaultElements() { | |
| 5374 | + var selectors = this.getSettings('selectors'); | |
| 5375 | + return { | |
| 5376 | + $elements: this.$element.find(selectors.elements).not(this.$element.find(selectors.nestedDocumentElements)) | |
| 5377 | + }; | |
| 5378 | + } | |
| 5379 | + }, { | |
| 5380 | + key: "getDocumentSettings", | |
| 5381 | + value: function getDocumentSettings(setting) { | |
| 5382 | + var elementSettings; | |
| 5383 | + | |
| 5384 | + if (this.isEdit) { | |
| 5385 | + elementSettings = {}; | |
| 5386 | + var settings = elementor.settings.page.model; | |
| 5387 | + jQuery.each(settings.getActiveControls(), function (controlKey) { | |
| 5388 | + elementSettings[controlKey] = settings.attributes[controlKey]; | |
| 5389 | + }); | |
| 5390 | + } else { | |
| 5391 | + elementSettings = this.$element.data('elementor-settings') || {}; | |
| 5392 | + } | |
| 5393 | + | |
| 5394 | + return this.getItems(elementSettings, setting); | |
| 5395 | + } | |
| 5396 | + }, { | |
| 5397 | + key: "runElementsHandlers", | |
| 5398 | + value: function runElementsHandlers() { | |
| 5399 | + this.elements.$elements.each(function (index, element) { | |
| 5400 | + return elementorFrontend.elementsHandler.runReadyTrigger(element); | |
| 5401 | + }); | |
| 5402 | + } | |
| 5403 | + }, { | |
| 5404 | + key: "onInit", | |
| 5405 | + value: function onInit() { | |
| 5406 | + var _this = this; | |
| 5407 | + | |
| 5408 | + this.$element = this.getSettings('$element'); | |
| 5409 | + (0, _get2.default)((0, _getPrototypeOf2.default)(_default.prototype), "onInit", this).call(this); | |
| 5410 | + this.isEdit = this.$element.hasClass(this.getSettings('classes.editMode')); | |
| 5411 | + | |
| 5412 | + if (this.isEdit) { | |
| 5413 | + elementor.on('document:loaded', function () { | |
| 5414 | + elementor.settings.page.model.on('change', _this.onSettingsChange.bind(_this)); | |
| 5415 | + }); | |
| 5416 | + } else { | |
| 5417 | + this.runElementsHandlers(); | |
| 5418 | + } | |
| 5419 | + } | |
| 5420 | + }, { | |
| 5421 | + key: "onSettingsChange", | |
| 5422 | + value: function onSettingsChange() {} | |
| 5423 | + }]); | |
| 5424 | + return _default; | |
| 5425 | +}(elementorModules.ViewModule); | |
| 5426 | + | |
| 5427 | +exports.default = _default; | |
| 5428 | + | |
| 5429 | +/***/ }), | |
| 5430 | +/* 658 */ | |
| 5431 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5432 | + | |
| 5433 | +"use strict"; | |
| 5434 | + | |
| 5435 | + | |
| 5436 | +var _interopRequireDefault = __webpack_require__(0); | |
| 5437 | + | |
| 5438 | +var _Object$defineProperty = __webpack_require__(1); | |
| 5439 | + | |
| 5440 | +_Object$defineProperty(exports, "__esModule", { | |
| 5441 | + value: true | |
| 5442 | +}); | |
| 5443 | + | |
| 5444 | +exports.default = void 0; | |
| 5445 | + | |
| 5446 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 5447 | + | |
| 5448 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 5449 | + | |
| 5450 | +var _get3 = _interopRequireDefault(__webpack_require__(25)); | |
| 5451 | + | |
| 5452 | +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16)); | |
| 5453 | + | |
| 5454 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 5455 | + | |
| 5456 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 5457 | + | |
| 5458 | +var baseTabs = /*#__PURE__*/function (_elementorModules$fro) { | |
| 5459 | + (0, _inherits2.default)(baseTabs, _elementorModules$fro); | |
| 5460 | + | |
| 5461 | + var _super = (0, _createSuper2.default)(baseTabs); | |
| 5462 | + | |
| 5463 | + function baseTabs() { | |
| 5464 | + (0, _classCallCheck2.default)(this, baseTabs); | |
| 5465 | + return _super.apply(this, arguments); | |
| 5466 | + } | |
| 5467 | + | |
| 5468 | + (0, _createClass2.default)(baseTabs, [{ | |
| 5469 | + key: "getDefaultSettings", | |
| 5470 | + value: function getDefaultSettings() { | |
| 5471 | + return { | |
| 5472 | + selectors: { | |
| 5473 | + tabTitle: '.elementor-tab-title', | |
| 5474 | + tabContent: '.elementor-tab-content' | |
| 5475 | + }, | |
| 5476 | + classes: { | |
| 5477 | + active: 'elementor-active' | |
| 5478 | + }, | |
| 5479 | + showTabFn: 'show', | |
| 5480 | + hideTabFn: 'hide', | |
| 5481 | + toggleSelf: true, | |
| 5482 | + hidePrevious: true, | |
| 5483 | + autoExpand: true | |
| 5484 | + }; | |
| 5485 | + } | |
| 5486 | + }, { | |
| 5487 | + key: "getDefaultElements", | |
| 5488 | + value: function getDefaultElements() { | |
| 5489 | + var selectors = this.getSettings('selectors'); | |
| 5490 | + return { | |
| 5491 | + $tabTitles: this.findElement(selectors.tabTitle), | |
| 5492 | + $tabContents: this.findElement(selectors.tabContent) | |
| 5493 | + }; | |
| 5494 | + } | |
| 5495 | + }, { | |
| 5496 | + key: "activateDefaultTab", | |
| 5497 | + value: function activateDefaultTab() { | |
| 5498 | + var settings = this.getSettings(); | |
| 5499 | + | |
| 5500 | + if (!settings.autoExpand || 'editor' === settings.autoExpand && !this.isEdit) { | |
| 5501 | + return; | |
| 5502 | + } | |
| 5503 | + | |
| 5504 | + var defaultActiveTab = this.getEditSettings('activeItemIndex') || 1, | |
| 5505 | + originalToggleMethods = { | |
| 5506 | + showTabFn: settings.showTabFn, | |
| 5507 | + hideTabFn: settings.hideTabFn | |
| 5508 | + }; // Toggle tabs without animation to avoid jumping | |
| 5509 | + | |
| 5510 | + this.setSettings({ | |
| 5511 | + showTabFn: 'show', | |
| 5512 | + hideTabFn: 'hide' | |
| 5513 | + }); | |
| 5514 | + this.changeActiveTab(defaultActiveTab); // Return back original toggle effects | |
| 5515 | + | |
| 5516 | + this.setSettings(originalToggleMethods); | |
| 5517 | + } | |
| 5518 | + }, { | |
| 5519 | + key: "deactivateActiveTab", | |
| 5520 | + value: function deactivateActiveTab(tabIndex) { | |
| 5521 | + var settings = this.getSettings(), | |
| 5522 | + activeClass = settings.classes.active, | |
| 5523 | + activeFilter = tabIndex ? '[data-tab="' + tabIndex + '"]' : '.' + activeClass, | |
| 5524 | + $activeTitle = this.elements.$tabTitles.filter(activeFilter), | |
| 5525 | + $activeContent = this.elements.$tabContents.filter(activeFilter); | |
| 5526 | + $activeTitle.add($activeContent).removeClass(activeClass); | |
| 5527 | + $activeContent[settings.hideTabFn](); | |
| 5528 | + } | |
| 5529 | + }, { | |
| 5530 | + key: "activateTab", | |
| 5531 | + value: function activateTab(tabIndex) { | |
| 5532 | + var settings = this.getSettings(), | |
| 5533 | + activeClass = settings.classes.active, | |
| 5534 | + $requestedTitle = this.elements.$tabTitles.filter('[data-tab="' + tabIndex + '"]'), | |
| 5535 | + $requestedContent = this.elements.$tabContents.filter('[data-tab="' + tabIndex + '"]'); | |
| 5536 | + $requestedTitle.add($requestedContent).addClass(activeClass); | |
| 5537 | + $requestedContent[settings.showTabFn](); | |
| 5538 | + } | |
| 5539 | + }, { | |
| 5540 | + key: "isActiveTab", | |
| 5541 | + value: function isActiveTab(tabIndex) { | |
| 5542 | + return this.elements.$tabTitles.filter('[data-tab="' + tabIndex + '"]').hasClass(this.getSettings('classes.active')); | |
| 5543 | + } | |
| 5544 | + }, { | |
| 5545 | + key: "bindEvents", | |
| 5546 | + value: function bindEvents() { | |
| 5547 | + var _this = this; | |
| 5548 | + | |
| 5549 | + this.elements.$tabTitles.on({ | |
| 5550 | + keydown: function keydown(event) { | |
| 5551 | + if ('Enter' === event.key) { | |
| 5552 | + event.preventDefault(); | |
| 5553 | + | |
| 5554 | + _this.changeActiveTab(event.currentTarget.getAttribute('data-tab')); | |
| 5555 | + } | |
| 5556 | + }, | |
| 5557 | + click: function click(event) { | |
| 5558 | + event.preventDefault(); | |
| 5559 | + | |
| 5560 | + _this.changeActiveTab(event.currentTarget.getAttribute('data-tab')); | |
| 5561 | + } | |
| 5562 | + }); | |
| 5563 | + } | |
| 5564 | + }, { | |
| 5565 | + key: "onInit", | |
| 5566 | + value: function onInit() { | |
| 5567 | + var _get2; | |
| 5568 | + | |
| 5569 | + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { | |
| 5570 | + args[_key] = arguments[_key]; | |
| 5571 | + } | |
| 5572 | + | |
| 5573 | + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(baseTabs.prototype), "onInit", this)).call.apply(_get2, [this].concat(args)); | |
| 5574 | + | |
| 5575 | + this.activateDefaultTab(); | |
| 5576 | + } | |
| 5577 | + }, { | |
| 5578 | + key: "onEditSettingsChange", | |
| 5579 | + value: function onEditSettingsChange(propertyName) { | |
| 5580 | + if ('activeItemIndex' === propertyName) { | |
| 5581 | + this.activateDefaultTab(); | |
| 5582 | + } | |
| 5583 | + } | |
| 5584 | + }, { | |
| 5585 | + key: "changeActiveTab", | |
| 5586 | + value: function changeActiveTab(tabIndex) { | |
| 5587 | + var isActiveTab = this.isActiveTab(tabIndex), | |
| 5588 | + settings = this.getSettings(); | |
| 5589 | + | |
| 5590 | + if ((settings.toggleSelf || !isActiveTab) && settings.hidePrevious) { | |
| 5591 | + this.deactivateActiveTab(); | |
| 5592 | + } | |
| 5593 | + | |
| 5594 | + if (!settings.hidePrevious && isActiveTab) { | |
| 5595 | + this.deactivateActiveTab(tabIndex); | |
| 5596 | + } | |
| 5597 | + | |
| 5598 | + if (!isActiveTab) { | |
| 5599 | + this.activateTab(tabIndex); | |
| 5600 | + } | |
| 5601 | + } | |
| 5602 | + }]); | |
| 5603 | + return baseTabs; | |
| 5604 | +}(elementorModules.frontend.handlers.Base); | |
| 5605 | + | |
| 5606 | +exports.default = baseTabs; | |
| 5607 | + | |
| 5608 | +/***/ }), | |
| 5609 | +/* 659 */, | |
| 5610 | +/* 660 */, | |
| 5611 | +/* 661 */, | |
| 5612 | +/* 662 */, | |
| 5613 | +/* 663 */, | |
| 5614 | +/* 664 */, | |
| 5615 | +/* 665 */, | |
| 5616 | +/* 666 */, | |
| 5617 | +/* 667 */, | |
| 5618 | +/* 668 */, | |
| 5619 | +/* 669 */, | |
| 5620 | +/* 670 */, | |
| 5621 | +/* 671 */, | |
| 5622 | +/* 672 */, | |
| 5623 | +/* 673 */, | |
| 5624 | +/* 674 */, | |
| 5625 | +/* 675 */, | |
| 5626 | +/* 676 */, | |
| 5627 | +/* 677 */, | |
| 5628 | +/* 678 */, | |
| 5629 | +/* 679 */, | |
| 5630 | +/* 680 */, | |
| 5631 | +/* 681 */, | |
| 5632 | +/* 682 */, | |
| 5633 | +/* 683 */, | |
| 5634 | +/* 684 */, | |
| 5635 | +/* 685 */, | |
| 5636 | +/* 686 */, | |
| 5637 | +/* 687 */, | |
| 5638 | +/* 688 */, | |
| 5639 | +/* 689 */, | |
| 5640 | +/* 690 */, | |
| 5641 | +/* 691 */, | |
| 5642 | +/* 692 */, | |
| 5643 | +/* 693 */, | |
| 5644 | +/* 694 */, | |
| 5645 | +/* 695 */, | |
| 5646 | +/* 696 */, | |
| 5647 | +/* 697 */ | |
| 5648 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5649 | + | |
| 5650 | +"use strict"; | |
| 5651 | + | |
| 5652 | + | |
| 5653 | +var _interopRequireDefault = __webpack_require__(0); | |
| 5654 | + | |
| 5655 | +var _Object$defineProperty = __webpack_require__(1); | |
| 5656 | + | |
| 5657 | +_Object$defineProperty(exports, "__esModule", { | |
| 5658 | + value: true | |
| 5659 | +}); | |
| 5660 | + | |
| 5661 | +exports.default = void 0; | |
| 5662 | + | |
| 5663 | +__webpack_require__(119); | |
| 5664 | + | |
| 5665 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 5666 | + | |
| 5667 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 5668 | + | |
| 5669 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 5670 | + | |
| 5671 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 5672 | + | |
| 5673 | +var BaseLoader = /*#__PURE__*/function (_elementorModules$Vie) { | |
| 5674 | + (0, _inherits2.default)(BaseLoader, _elementorModules$Vie); | |
| 5675 | + | |
| 5676 | + var _super = (0, _createSuper2.default)(BaseLoader); | |
| 5677 | + | |
| 5678 | + function BaseLoader() { | |
| 5679 | + (0, _classCallCheck2.default)(this, BaseLoader); | |
| 5680 | + return _super.apply(this, arguments); | |
| 5681 | + } | |
| 5682 | + | |
| 5683 | + (0, _createClass2.default)(BaseLoader, [{ | |
| 5684 | + key: "getDefaultSettings", | |
| 5685 | + value: function getDefaultSettings() { | |
| 5686 | + return { | |
| 5687 | + isInserted: false, | |
| 5688 | + selectors: { | |
| 5689 | + firstScript: 'script:first' | |
| 5690 | + } | |
| 5691 | + }; | |
| 5692 | + } | |
| 5693 | + }, { | |
| 5694 | + key: "getDefaultElements", | |
| 5695 | + value: function getDefaultElements() { | |
| 5696 | + return { | |
| 5697 | + $firstScript: jQuery(this.getSettings('selectors.firstScript')) | |
| 5698 | + }; | |
| 5699 | + } | |
| 5700 | + }, { | |
| 5701 | + key: "insertAPI", | |
| 5702 | + value: function insertAPI() { | |
| 5703 | + this.elements.$firstScript.before(jQuery('<script>', { | |
| 5704 | + src: this.getApiURL() | |
| 5705 | + })); | |
| 5706 | + this.setSettings('isInserted', true); | |
| 5707 | + } | |
| 5708 | + }, { | |
| 5709 | + key: "getVideoIDFromURL", | |
| 5710 | + value: function getVideoIDFromURL(url) { | |
| 5711 | + var videoIDParts = url.match(this.getURLRegex()); | |
| 5712 | + return videoIDParts && videoIDParts[1]; | |
| 5713 | + } | |
| 5714 | + }, { | |
| 5715 | + key: "onApiReady", | |
| 5716 | + value: function onApiReady(callback) { | |
| 5717 | + var _this = this; | |
| 5718 | + | |
| 5719 | + if (!this.getSettings('isInserted')) { | |
| 5720 | + this.insertAPI(); | |
| 5721 | + } | |
| 5722 | + | |
| 5723 | + if (this.isApiLoaded()) { | |
| 5724 | + callback(this.getApiObject()); | |
| 5725 | + } else { | |
| 5726 | + // If not ready check again by timeout.. | |
| 5727 | + setTimeout(function () { | |
| 5728 | + _this.onApiReady(callback); | |
| 5729 | + }, 350); | |
| 5730 | + } | |
| 5731 | + } | |
| 5732 | + }]); | |
| 5733 | + return BaseLoader; | |
| 5734 | +}(elementorModules.ViewModule); | |
| 5735 | + | |
| 5736 | +exports.default = BaseLoader; | |
| 5737 | + | |
| 5738 | +/***/ }), | |
| 5739 | +/* 698 */ | |
| 5740 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5741 | + | |
| 5742 | +"use strict"; | |
| 5743 | + | |
| 5744 | + | |
| 5745 | +var _interopRequireDefault = __webpack_require__(0); | |
| 5746 | + | |
| 5747 | +var _Object$defineProperty = __webpack_require__(1); | |
| 5748 | + | |
| 5749 | +_Object$defineProperty(exports, "__esModule", { | |
| 5750 | + value: true | |
| 5751 | +}); | |
| 5752 | + | |
| 5753 | +exports.default = void 0; | |
| 5754 | + | |
| 5755 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 5756 | + | |
| 5757 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 5758 | + | |
| 5759 | +var _get2 = _interopRequireDefault(__webpack_require__(25)); | |
| 5760 | + | |
| 5761 | +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16)); | |
| 5762 | + | |
| 5763 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 5764 | + | |
| 5765 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 5766 | + | |
| 5767 | +var BackgroundSlideshow = /*#__PURE__*/function (_elementorModules$fro) { | |
| 5768 | + (0, _inherits2.default)(BackgroundSlideshow, _elementorModules$fro); | |
| 5769 | + | |
| 5770 | + var _super = (0, _createSuper2.default)(BackgroundSlideshow); | |
| 5771 | + | |
| 5772 | + function BackgroundSlideshow() { | |
| 5773 | + (0, _classCallCheck2.default)(this, BackgroundSlideshow); | |
| 5774 | + return _super.apply(this, arguments); | |
| 5775 | + } | |
| 5776 | + | |
| 5777 | + (0, _createClass2.default)(BackgroundSlideshow, [{ | |
| 5778 | + key: "getDefaultSettings", | |
| 5779 | + value: function getDefaultSettings() { | |
| 5780 | + return { | |
| 5781 | + classes: { | |
| 5782 | + swiperContainer: 'elementor-background-slideshow swiper-container', | |
| 5783 | + swiperWrapper: 'swiper-wrapper', | |
| 5784 | + swiperSlide: 'elementor-background-slideshow__slide swiper-slide', | |
| 5785 | + slideBackground: 'elementor-background-slideshow__slide__image', | |
| 5786 | + kenBurns: 'elementor-ken-burns', | |
| 5787 | + kenBurnsActive: 'elementor-ken-burns--active', | |
| 5788 | + kenBurnsIn: 'elementor-ken-burns--in', | |
| 5789 | + kenBurnsOut: 'elementor-ken-burns--out' | |
| 5790 | + } | |
| 5791 | + }; | |
| 5792 | + } | |
| 5793 | + }, { | |
| 5794 | + key: "getSwiperOptions", | |
| 5795 | + value: function getSwiperOptions() { | |
| 5796 | + var _this = this; | |
| 5797 | + | |
| 5798 | + var elementSettings = this.getElementSettings(); | |
| 5799 | + var swiperOptions = { | |
| 5800 | + grabCursor: false, | |
| 5801 | + slidesPerView: 1, | |
| 5802 | + slidesPerGroup: 1, | |
| 5803 | + loop: 'yes' === elementSettings.background_slideshow_loop, | |
| 5804 | + speed: elementSettings.background_slideshow_transition_duration, | |
| 5805 | + autoplay: { | |
| 5806 | + delay: elementSettings.background_slideshow_slide_duration, | |
| 5807 | + stopOnLastSlide: !elementSettings.background_slideshow_loop | |
| 5808 | + }, | |
| 5809 | + handleElementorBreakpoints: true, | |
| 5810 | + on: { | |
| 5811 | + slideChange: function slideChange() { | |
| 5812 | + if (elementSettings.background_slideshow_ken_burns) { | |
| 5813 | + _this.handleKenBurns(); | |
| 5814 | + } | |
| 5815 | + } | |
| 5816 | + } | |
| 5817 | + }; | |
| 5818 | + | |
| 5819 | + if ('yes' === elementSettings.background_slideshow_loop) { | |
| 5820 | + swiperOptions.loopedSlides = this.getSlidesCount(); | |
| 5821 | + } | |
| 5822 | + | |
| 5823 | + switch (elementSettings.background_slideshow_slide_transition) { | |
| 5824 | + case 'fade': | |
| 5825 | + swiperOptions.effect = 'fade'; | |
| 5826 | + swiperOptions.fadeEffect = { | |
| 5827 | + crossFade: true | |
| 5828 | + }; | |
| 5829 | + break; | |
| 5830 | + | |
| 5831 | + case 'slide_down': | |
| 5832 | + swiperOptions.autoplay.reverseDirection = true; | |
| 5833 | + | |
| 5834 | + case 'slide_up': | |
| 5835 | + swiperOptions.direction = 'vertical'; | |
| 5836 | + break; | |
| 5837 | + } | |
| 5838 | + | |
| 5839 | + return swiperOptions; | |
| 5840 | + } | |
| 5841 | + }, { | |
| 5842 | + key: "buildSwiperElements", | |
| 5843 | + value: function buildSwiperElements() { | |
| 5844 | + var _this2 = this; | |
| 5845 | + | |
| 5846 | + var classes = this.getSettings('classes'), | |
| 5847 | + elementSettings = this.getElementSettings(), | |
| 5848 | + direction = 'slide_left' === elementSettings.background_slideshow_slide_transition ? 'ltr' : 'rtl', | |
| 5849 | + $container = jQuery('<div>', { | |
| 5850 | + class: classes.swiperContainer, | |
| 5851 | + dir: direction | |
| 5852 | + }), | |
| 5853 | + $wrapper = jQuery('<div>', { | |
| 5854 | + class: classes.swiperWrapper | |
| 5855 | + }), | |
| 5856 | + kenBurnsActive = elementSettings.background_slideshow_ken_burns; | |
| 5857 | + var slideInnerClass = classes.slideBackground; | |
| 5858 | + | |
| 5859 | + if (kenBurnsActive) { | |
| 5860 | + slideInnerClass += ' ' + classes.kenBurns; | |
| 5861 | + var kenBurnsDirection = 'in' === elementSettings.background_slideshow_ken_burns_zoom_direction ? 'kenBurnsIn' : 'kenBurnsOut'; | |
| 5862 | + slideInnerClass += ' ' + classes[kenBurnsDirection]; | |
| 5863 | + } | |
| 5864 | + | |
| 5865 | + this.elements.$slides = jQuery(); | |
| 5866 | + elementSettings.background_slideshow_gallery.forEach(function (slide) { | |
| 5867 | + var $slide = jQuery('<div>', { | |
| 5868 | + class: classes.swiperSlide | |
| 5869 | + }), | |
| 5870 | + $slidebg = jQuery('<div>', { | |
| 5871 | + class: slideInnerClass, | |
| 5872 | + style: 'background-image: url("' + slide.url + '");' | |
| 5873 | + }); | |
| 5874 | + $slide.append($slidebg); | |
| 5875 | + $wrapper.append($slide); | |
| 5876 | + _this2.elements.$slides = _this2.elements.$slides.add($slide); | |
| 5877 | + }); | |
| 5878 | + $container.append($wrapper); | |
| 5879 | + this.$element.prepend($container); | |
| 5880 | + this.elements.$backgroundSlideShowContainer = $container; | |
| 5881 | + } | |
| 5882 | + }, { | |
| 5883 | + key: "initSlider", | |
| 5884 | + value: function initSlider() { | |
| 5885 | + if (1 >= this.getSlidesCount()) { | |
| 5886 | + return; | |
| 5887 | + } | |
| 5888 | + | |
| 5889 | + var elementSettings = this.getElementSettings(); | |
| 5890 | + this.swiper = new Swiper(this.elements.$backgroundSlideShowContainer, this.getSwiperOptions()); // Expose the swiper instance in the frontend | |
| 5891 | + | |
| 5892 | + this.elements.$backgroundSlideShowContainer.data('swiper', this.swiper); | |
| 5893 | + | |
| 5894 | + if (elementSettings.background_slideshow_ken_burns) { | |
| 5895 | + this.handleKenBurns(); | |
| 5896 | + } | |
| 5897 | + } | |
| 5898 | + }, { | |
| 5899 | + key: "activate", | |
| 5900 | + value: function activate() { | |
| 5901 | + this.buildSwiperElements(); | |
| 5902 | + this.initSlider(); | |
| 5903 | + } | |
| 5904 | + }, { | |
| 5905 | + key: "deactivate", | |
| 5906 | + value: function deactivate() { | |
| 5907 | + if (this.swiper) { | |
| 5908 | + this.swiper.destroy(); | |
| 5909 | + this.elements.$backgroundSlideShowContainer.remove(); | |
| 5910 | + } | |
| 5911 | + } | |
| 5912 | + }, { | |
| 5913 | + key: "run", | |
| 5914 | + value: function run() { | |
| 5915 | + if ('slideshow' === this.getElementSettings('background_background')) { | |
| 5916 | + this.activate(); | |
| 5917 | + } else { | |
| 5918 | + this.deactivate(); | |
| 5919 | + } | |
| 5920 | + } | |
| 5921 | + }, { | |
| 5922 | + key: "onInit", | |
| 5923 | + value: function onInit() { | |
| 5924 | + (0, _get2.default)((0, _getPrototypeOf2.default)(BackgroundSlideshow.prototype), "onInit", this).call(this); | |
| 5925 | + | |
| 5926 | + if (this.getElementSettings('background_slideshow_gallery')) { | |
| 5927 | + this.run(); | |
| 5928 | + } | |
| 5929 | + } | |
| 5930 | + }, { | |
| 5931 | + key: "onDestroy", | |
| 5932 | + value: function onDestroy() { | |
| 5933 | + (0, _get2.default)((0, _getPrototypeOf2.default)(BackgroundSlideshow.prototype), "onDestroy", this).call(this); | |
| 5934 | + this.deactivate(); | |
| 5935 | + } | |
| 5936 | + }, { | |
| 5937 | + key: "onElementChange", | |
| 5938 | + value: function onElementChange(propertyName) { | |
| 5939 | + if ('background_background' === propertyName) { | |
| 5940 | + this.run(); | |
| 5941 | + } | |
| 5942 | + } | |
| 5943 | + }]); | |
| 5944 | + return BackgroundSlideshow; | |
| 5945 | +}(elementorModules.frontend.handlers.SwiperBase); | |
| 5946 | + | |
| 5947 | +exports.default = BackgroundSlideshow; | |
| 5948 | + | |
| 5949 | +/***/ }), | |
| 5950 | +/* 699 */, | |
| 5951 | +/* 700 */, | |
| 5952 | +/* 701 */, | |
| 5953 | +/* 702 */, | |
| 5954 | +/* 703 */, | |
| 5955 | +/* 704 */, | |
| 5956 | +/* 705 */, | |
| 5957 | +/* 706 */, | |
| 5958 | +/* 707 */, | |
| 5959 | +/* 708 */, | |
| 5960 | +/* 709 */, | |
| 5961 | +/* 710 */, | |
| 5962 | +/* 711 */, | |
| 5963 | +/* 712 */, | |
| 5964 | +/* 713 */, | |
| 5965 | +/* 714 */, | |
| 5966 | +/* 715 */, | |
| 5967 | +/* 716 */, | |
| 5968 | +/* 717 */, | |
| 5969 | +/* 718 */, | |
| 5970 | +/* 719 */, | |
| 5971 | +/* 720 */, | |
| 5972 | +/* 721 */, | |
| 5973 | +/* 722 */, | |
| 5974 | +/* 723 */, | |
| 5975 | +/* 724 */, | |
| 5976 | +/* 725 */, | |
| 5977 | +/* 726 */, | |
| 5978 | +/* 727 */, | |
| 5979 | +/* 728 */, | |
| 5980 | +/* 729 */, | |
| 5981 | +/* 730 */, | |
| 5982 | +/* 731 */, | |
| 5983 | +/* 732 */, | |
| 5984 | +/* 733 */, | |
| 5985 | +/* 734 */, | |
| 5986 | +/* 735 */, | |
| 5987 | +/* 736 */, | |
| 5988 | +/* 737 */, | |
| 5989 | +/* 738 */, | |
| 5990 | +/* 739 */, | |
| 5991 | +/* 740 */, | |
| 5992 | +/* 741 */, | |
| 5993 | +/* 742 */, | |
| 5994 | +/* 743 */, | |
| 5995 | +/* 744 */, | |
| 5996 | +/* 745 */, | |
| 5997 | +/* 746 */, | |
| 5998 | +/* 747 */, | |
| 5999 | +/* 748 */, | |
| 6000 | +/* 749 */, | |
| 6001 | +/* 750 */, | |
| 6002 | +/* 751 */, | |
| 6003 | +/* 752 */, | |
| 6004 | +/* 753 */, | |
| 6005 | +/* 754 */, | |
| 6006 | +/* 755 */, | |
| 6007 | +/* 756 */, | |
| 6008 | +/* 757 */, | |
| 6009 | +/* 758 */, | |
| 6010 | +/* 759 */, | |
| 6011 | +/* 760 */, | |
| 6012 | +/* 761 */, | |
| 6013 | +/* 762 */, | |
| 6014 | +/* 763 */, | |
| 6015 | +/* 764 */, | |
| 6016 | +/* 765 */, | |
| 6017 | +/* 766 */, | |
| 6018 | +/* 767 */, | |
| 6019 | +/* 768 */, | |
| 6020 | +/* 769 */, | |
| 6021 | +/* 770 */, | |
| 6022 | +/* 771 */, | |
| 6023 | +/* 772 */, | |
| 6024 | +/* 773 */, | |
| 6025 | +/* 774 */, | |
| 6026 | +/* 775 */, | |
| 6027 | +/* 776 */, | |
| 6028 | +/* 777 */, | |
| 6029 | +/* 778 */, | |
| 6030 | +/* 779 */, | |
| 6031 | +/* 780 */, | |
| 6032 | +/* 781 */, | |
| 6033 | +/* 782 */, | |
| 6034 | +/* 783 */, | |
| 6035 | +/* 784 */, | |
| 6036 | +/* 785 */ | |
| 6037 | +/***/ (function(module, exports, __webpack_require__) { | |
| 6038 | + | |
| 6039 | +"use strict"; | |
| 6040 | + | |
| 6041 | + | |
| 6042 | +var _interopRequireDefault = __webpack_require__(0); | |
| 6043 | + | |
| 6044 | +__webpack_require__(26); | |
| 6045 | + | |
| 6046 | +__webpack_require__(58); | |
| 6047 | + | |
| 6048 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 6049 | + | |
| 6050 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 6051 | + | |
| 6052 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 6053 | + | |
| 6054 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 6055 | + | |
| 6056 | +var _documentsManager = _interopRequireDefault(__webpack_require__(786)); | |
| 6057 | + | |
| 6058 | +var _storage = _interopRequireDefault(__webpack_require__(626)); | |
| 6059 | + | |
| 6060 | +var _environment = _interopRequireDefault(__webpack_require__(272)); | |
| 6061 | + | |
| 6062 | +var _youtubeLoader = _interopRequireDefault(__webpack_require__(787)); | |
| 6063 | + | |
| 6064 | +var _vimeoLoader = _interopRequireDefault(__webpack_require__(788)); | |
| 6065 | + | |
| 6066 | +var _urlActions = _interopRequireDefault(__webpack_require__(789)); | |
| 6067 | + | |
| 6068 | +var _swiper = _interopRequireDefault(__webpack_require__(790)); | |
| 6069 | + | |
| 6070 | +/* global elementorFrontendConfig */ | |
| 6071 | +var EventManager = __webpack_require__(387), | |
| 6072 | + ElementsHandler = __webpack_require__(791), | |
| 6073 | + AnchorsModule = __webpack_require__(808), | |
| 6074 | + LightboxModule = __webpack_require__(809); | |
| 6075 | + | |
| 6076 | +var Frontend = /*#__PURE__*/function (_elementorModules$Vie) { | |
| 6077 | + (0, _inherits2.default)(Frontend, _elementorModules$Vie); | |
| 6078 | + | |
| 6079 | + var _super = (0, _createSuper2.default)(Frontend); | |
| 6080 | + | |
| 6081 | + function Frontend() { | |
| 6082 | + var _this; | |
| 6083 | + | |
| 6084 | + (0, _classCallCheck2.default)(this, Frontend); | |
| 6085 | + | |
| 6086 | + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { | |
| 6087 | + args[_key] = arguments[_key]; | |
| 6088 | + } | |
| 6089 | + | |
| 6090 | + _this = _super.call.apply(_super, [this].concat(args)); | |
| 6091 | + _this.config = elementorFrontendConfig; | |
| 6092 | + return _this; | |
| 6093 | + } // TODO: BC since 2.5.0 | |
| 6094 | + | |
| 6095 | + | |
| 6096 | + (0, _createClass2.default)(Frontend, [{ | |
| 6097 | + key: "getDefaultSettings", | |
| 6098 | + value: function getDefaultSettings() { | |
| 6099 | + return { | |
| 6100 | + selectors: { | |
| 6101 | + elementor: '.elementor', | |
| 6102 | + adminBar: '#wpadminbar' | |
| 6103 | + }, | |
| 6104 | + classes: { | |
| 6105 | + ie: 'elementor-msie' | |
| 6106 | + } | |
| 6107 | + }; | |
| 6108 | + } | |
| 6109 | + }, { | |
| 6110 | + key: "getDefaultElements", | |
| 6111 | + value: function getDefaultElements() { | |
| 6112 | + var defaultElements = { | |
| 6113 | + window: window, | |
| 6114 | + $window: jQuery(window), | |
| 6115 | + $document: jQuery(document), | |
| 6116 | + $head: jQuery(document.head), | |
| 6117 | + $body: jQuery(document.body), | |
| 6118 | + $deviceMode: jQuery('<span>', { | |
| 6119 | + id: 'elementor-device-mode', | |
| 6120 | + class: 'elementor-screen-only' | |
| 6121 | + }) | |
| 6122 | + }; | |
| 6123 | + defaultElements.$body.append(defaultElements.$deviceMode); | |
| 6124 | + return defaultElements; | |
| 6125 | + } | |
| 6126 | + }, { | |
| 6127 | + key: "bindEvents", | |
| 6128 | + value: function bindEvents() { | |
| 6129 | + var _this2 = this; | |
| 6130 | + | |
| 6131 | + this.elements.$window.on('resize', function () { | |
| 6132 | + return _this2.setDeviceModeData(); | |
| 6133 | + }); | |
| 6134 | + } | |
| 6135 | + /** | |
| 6136 | + * @deprecated 2.4.0 Use just `this.elements` instead | |
| 6137 | + */ | |
| 6138 | + | |
| 6139 | + }, { | |
| 6140 | + key: "getElements", | |
| 6141 | + value: function getElements(elementName) { | |
| 6142 | + return this.getItems(this.elements, elementName); | |
| 6143 | + } | |
| 6144 | + /** | |
| 6145 | + * @deprecated 2.4.0 This method was never in use | |
| 6146 | + */ | |
| 6147 | + | |
| 6148 | + }, { | |
| 6149 | + key: "getPageSettings", | |
| 6150 | + value: function getPageSettings(settingName) { | |
| 6151 | + var settingsObject = this.isEditMode() ? elementor.settings.page.model.attributes : this.config.settings.page; | |
| 6152 | + return this.getItems(settingsObject, settingName); | |
| 6153 | + } | |
| 6154 | + }, { | |
| 6155 | + key: "getGeneralSettings", | |
| 6156 | + value: function getGeneralSettings(settingName) { | |
| 6157 | + elementorCommon.helpers.softDeprecated('getGeneralSettings', '3.0.0', 'getKitSettings and remove the `elementor_` prefix'); | |
| 6158 | + return this.getKitSettings("elementor_".concat(settingName)); | |
| 6159 | + } | |
| 6160 | + }, { | |
| 6161 | + key: "getKitSettings", | |
| 6162 | + value: function getKitSettings(settingName) { | |
| 6163 | + // TODO: use Data API. | |
| 6164 | + return this.getItems(this.config.kit, settingName); | |
| 6165 | + } | |
| 6166 | + }, { | |
| 6167 | + key: "getCurrentDeviceMode", | |
| 6168 | + value: function getCurrentDeviceMode() { | |
| 6169 | + return getComputedStyle(this.elements.$deviceMode[0], ':after').content.replace(/"/g, ''); | |
| 6170 | + } | |
| 6171 | + }, { | |
| 6172 | + key: "getDeviceSetting", | |
| 6173 | + value: function getDeviceSetting(deviceMode, settings, settingKey) { | |
| 6174 | + var devices = ['desktop', 'tablet', 'mobile']; | |
| 6175 | + var deviceIndex = devices.indexOf(deviceMode); | |
| 6176 | + | |
| 6177 | + while (deviceIndex > 0) { | |
| 6178 | + var currentDevice = devices[deviceIndex], | |
| 6179 | + fullSettingKey = settingKey + '_' + currentDevice, | |
| 6180 | + deviceValue = settings[fullSettingKey]; | |
| 6181 | + | |
| 6182 | + if (deviceValue) { | |
| 6183 | + return deviceValue; | |
| 6184 | + } | |
| 6185 | + | |
| 6186 | + deviceIndex--; | |
| 6187 | + } | |
| 6188 | + | |
| 6189 | + return settings[settingKey]; | |
| 6190 | + } | |
| 6191 | + }, { | |
| 6192 | + key: "getCurrentDeviceSetting", | |
| 6193 | + value: function getCurrentDeviceSetting(settings, settingKey) { | |
| 6194 | + return this.getDeviceSetting(elementorFrontend.getCurrentDeviceMode(), settings, settingKey); | |
| 6195 | + } | |
| 6196 | + }, { | |
| 6197 | + key: "isEditMode", | |
| 6198 | + value: function isEditMode() { | |
| 6199 | + return this.config.environmentMode.edit; | |
| 6200 | + } | |
| 6201 | + }, { | |
| 6202 | + key: "isWPPreviewMode", | |
| 6203 | + value: function isWPPreviewMode() { | |
| 6204 | + return this.config.environmentMode.wpPreview; | |
| 6205 | + } | |
| 6206 | + }, { | |
| 6207 | + key: "initDialogsManager", | |
| 6208 | + value: function initDialogsManager() { | |
| 6209 | + var dialogsManager; | |
| 6210 | + | |
| 6211 | + this.getDialogsManager = function () { | |
| 6212 | + if (!dialogsManager) { | |
| 6213 | + dialogsManager = new DialogsManager.Instance(); | |
| 6214 | + } | |
| 6215 | + | |
| 6216 | + return dialogsManager; | |
| 6217 | + }; | |
| 6218 | + } | |
| 6219 | + }, { | |
| 6220 | + key: "initOnReadyComponents", | |
| 6221 | + value: function initOnReadyComponents() { | |
| 6222 | + var _this3 = this; | |
| 6223 | + | |
| 6224 | + this.utils = { | |
| 6225 | + youtube: new _youtubeLoader.default(), | |
| 6226 | + vimeo: new _vimeoLoader.default(), | |
| 6227 | + anchors: new AnchorsModule(), | |
| 6228 | + lightbox: new LightboxModule(), | |
| 6229 | + urlActions: new _urlActions.default(), | |
| 6230 | + swiper: _swiper.default | |
| 6231 | + }; // TODO: BC since 2.4.0 | |
| 6232 | + | |
| 6233 | + this.modules = { | |
| 6234 | + StretchElement: elementorModules.frontend.tools.StretchElement, | |
| 6235 | + Masonry: elementorModules.utils.Masonry | |
| 6236 | + }; | |
| 6237 | + this.elementsHandler = new ElementsHandler(jQuery); | |
| 6238 | + | |
| 6239 | + if (this.isEditMode()) { | |
| 6240 | + elementor.once('document:loaded', function () { | |
| 6241 | + return _this3.onDocumentLoaded(); | |
| 6242 | + }); | |
| 6243 | + } else { | |
| 6244 | + this.onDocumentLoaded(); | |
| 6245 | + } | |
| 6246 | + } | |
| 6247 | + }, { | |
| 6248 | + key: "initOnReadyElements", | |
| 6249 | + value: function initOnReadyElements() { | |
| 6250 | + this.elements.$wpAdminBar = this.elements.$document.find(this.getSettings('selectors.adminBar')); | |
| 6251 | + } | |
| 6252 | + }, { | |
| 6253 | + key: "addIeCompatibility", | |
| 6254 | + value: function addIeCompatibility() { | |
| 6255 | + var el = document.createElement('div'), | |
| 6256 | + supportsGrid = 'string' === typeof el.style.grid; | |
| 6257 | + | |
| 6258 | + if (!_environment.default.ie && supportsGrid) { | |
| 6259 | + return; | |
| 6260 | + } | |
| 6261 | + | |
| 6262 | + this.elements.$body.addClass(this.getSettings('classes.ie')); | |
| 6263 | + var msieCss = '<link rel="stylesheet" id="elementor-frontend-css-msie" href="' + this.config.urls.assets + 'css/frontend-msie.min.css?' + this.config.version + '" type="text/css" />'; | |
| 6264 | + this.elements.$body.append(msieCss); | |
| 6265 | + } | |
| 6266 | + }, { | |
| 6267 | + key: "setDeviceModeData", | |
| 6268 | + value: function setDeviceModeData() { | |
| 6269 | + this.elements.$body.attr('data-elementor-device-mode', this.getCurrentDeviceMode()); | |
| 6270 | + } | |
| 6271 | + }, { | |
| 6272 | + key: "addListenerOnce", | |
| 6273 | + value: function addListenerOnce(listenerID, event, callback, to) { | |
| 6274 | + if (!to) { | |
| 6275 | + to = this.elements.$window; | |
| 6276 | + } | |
| 6277 | + | |
| 6278 | + if (!this.isEditMode()) { | |
| 6279 | + to.on(event, callback); | |
| 6280 | + return; | |
| 6281 | + } | |
| 6282 | + | |
| 6283 | + this.removeListeners(listenerID, event, to); | |
| 6284 | + | |
| 6285 | + if (to instanceof jQuery) { | |
| 6286 | + var eventNS = event + '.' + listenerID; | |
| 6287 | + to.on(eventNS, callback); | |
| 6288 | + } else { | |
| 6289 | + to.on(event, callback, listenerID); | |
| 6290 | + } | |
| 6291 | + } | |
| 6292 | + }, { | |
| 6293 | + key: "removeListeners", | |
| 6294 | + value: function removeListeners(listenerID, event, callback, from) { | |
| 6295 | + if (!from) { | |
| 6296 | + from = this.elements.$window; | |
| 6297 | + } | |
| 6298 | + | |
| 6299 | + if (from instanceof jQuery) { | |
| 6300 | + var eventNS = event + '.' + listenerID; | |
| 6301 | + from.off(eventNS, callback); | |
| 6302 | + } else { | |
| 6303 | + from.off(event, callback, listenerID); | |
| 6304 | + } | |
| 6305 | + } // Based on underscore function | |
| 6306 | + | |
| 6307 | + }, { | |
| 6308 | + key: "debounce", | |
| 6309 | + value: function debounce(func, wait) { | |
| 6310 | + var timeout; | |
| 6311 | + return function () { | |
| 6312 | + var context = this, | |
| 6313 | + args = arguments; | |
| 6314 | + | |
| 6315 | + var later = function later() { | |
| 6316 | + timeout = null; | |
| 6317 | + func.apply(context, args); | |
| 6318 | + }; | |
| 6319 | + | |
| 6320 | + var callNow = !timeout; | |
| 6321 | + clearTimeout(timeout); | |
| 6322 | + timeout = setTimeout(later, wait); | |
| 6323 | + | |
| 6324 | + if (callNow) { | |
| 6325 | + func.apply(context, args); | |
| 6326 | + } | |
| 6327 | + }; | |
| 6328 | + } | |
| 6329 | + }, { | |
| 6330 | + key: "waypoint", | |
| 6331 | + value: function waypoint($element, callback, options) { | |
| 6332 | + var defaultOptions = { | |
| 6333 | + offset: '100%', | |
| 6334 | + triggerOnce: true | |
| 6335 | + }; | |
| 6336 | + options = jQuery.extend(defaultOptions, options); | |
| 6337 | + | |
| 6338 | + var correctCallback = function correctCallback() { | |
| 6339 | + var element = this.element || this, | |
| 6340 | + result = callback.apply(element, arguments); // If is Waypoint new API and is frontend | |
| 6341 | + | |
| 6342 | + if (options.triggerOnce && this.destroy) { | |
| 6343 | + this.destroy(); | |
| 6344 | + } | |
| 6345 | + | |
| 6346 | + return result; | |
| 6347 | + }; | |
| 6348 | + | |
| 6349 | + return $element.elementorWaypoint(correctCallback, options); | |
| 6350 | + } | |
| 6351 | + }, { | |
| 6352 | + key: "muteMigrationTraces", | |
| 6353 | + value: function muteMigrationTraces() { | |
| 6354 | + jQuery.migrateMute = true; | |
| 6355 | + jQuery.migrateTrace = false; | |
| 6356 | + } | |
| 6357 | + }, { | |
| 6358 | + key: "init", | |
| 6359 | + value: function init() { | |
| 6360 | + this.hooks = new EventManager(); | |
| 6361 | + this.storage = new _storage.default(); | |
| 6362 | + this.addIeCompatibility(); | |
| 6363 | + this.setDeviceModeData(); | |
| 6364 | + this.initDialogsManager(); | |
| 6365 | + | |
| 6366 | + if (this.isEditMode()) { | |
| 6367 | + this.muteMigrationTraces(); | |
| 6368 | + } // Keep this line before `initOnReadyComponents` call | |
| 6369 | + | |
| 6370 | + | |
| 6371 | + this.elements.$window.trigger('elementor/frontend/init'); | |
| 6372 | + this.initOnReadyElements(); | |
| 6373 | + this.initOnReadyComponents(); | |
| 6374 | + } | |
| 6375 | + }, { | |
| 6376 | + key: "onDocumentLoaded", | |
| 6377 | + value: function onDocumentLoaded() { | |
| 6378 | + this.documentsManager = new _documentsManager.default(); | |
| 6379 | + this.trigger('components:init'); | |
| 6380 | + } | |
| 6381 | + }, { | |
| 6382 | + key: "Module", | |
| 6383 | + get: function get() { | |
| 6384 | + if (this.isEditMode()) { | |
| 6385 | + parent.elementorCommon.helpers.hardDeprecated('elementorFrontend.Module', '2.5.0', 'elementorModules.frontend.handlers.Base'); | |
| 6386 | + } | |
| 6387 | + | |
| 6388 | + return elementorModules.frontend.handlers.Base; | |
| 6389 | + } | |
| 6390 | + }]); | |
| 6391 | + return Frontend; | |
| 6392 | +}(elementorModules.ViewModule); | |
| 6393 | + | |
| 6394 | +window.elementorFrontend = new Frontend(); | |
| 6395 | + | |
| 6396 | +if (!elementorFrontend.isEditMode()) { | |
| 6397 | + jQuery(function () { | |
| 6398 | + return elementorFrontend.init(); | |
| 6399 | + }); | |
| 6400 | +} | |
| 6401 | + | |
| 6402 | +/***/ }), | |
| 6403 | +/* 786 */ | |
| 6404 | +/***/ (function(module, exports, __webpack_require__) { | |
| 6405 | + | |
| 6406 | +"use strict"; | |
| 6407 | + | |
| 6408 | + | |
| 6409 | +var _interopRequireDefault = __webpack_require__(0); | |
| 6410 | + | |
| 6411 | +var _Object$defineProperty = __webpack_require__(1); | |
| 6412 | + | |
| 6413 | +_Object$defineProperty(exports, "__esModule", { | |
| 6414 | + value: true | |
| 6415 | +}); | |
| 6416 | + | |
| 6417 | +exports.default = void 0; | |
| 6418 | + | |
| 6419 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 6420 | + | |
| 6421 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 6422 | + | |
| 6423 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 6424 | + | |
| 6425 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 6426 | + | |
| 6427 | +var _document = _interopRequireDefault(__webpack_require__(657)); | |
| 6428 | + | |
| 6429 | +var _default = /*#__PURE__*/function (_elementorModules$Vie) { | |
| 6430 | + (0, _inherits2.default)(_default, _elementorModules$Vie); | |
| 6431 | + | |
| 6432 | + var _super = (0, _createSuper2.default)(_default); | |
| 6433 | + | |
| 6434 | + function _default() { | |
| 6435 | + var _this; | |
| 6436 | + | |
| 6437 | + (0, _classCallCheck2.default)(this, _default); | |
| 6438 | + | |
| 6439 | + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { | |
| 6440 | + args[_key] = arguments[_key]; | |
| 6441 | + } | |
| 6442 | + | |
| 6443 | + _this = _super.call.apply(_super, [this].concat(args)); | |
| 6444 | + _this.documents = {}; | |
| 6445 | + | |
| 6446 | + _this.initDocumentClasses(); | |
| 6447 | + | |
| 6448 | + _this.attachDocumentsClasses(); | |
| 6449 | + | |
| 6450 | + return _this; | |
| 6451 | + } | |
| 6452 | + | |
| 6453 | + (0, _createClass2.default)(_default, [{ | |
| 6454 | + key: "getDefaultSettings", | |
| 6455 | + value: function getDefaultSettings() { | |
| 6456 | + return { | |
| 6457 | + selectors: { | |
| 6458 | + document: '.elementor' | |
| 6459 | + } | |
| 6460 | + }; | |
| 6461 | + } | |
| 6462 | + }, { | |
| 6463 | + key: "getDefaultElements", | |
| 6464 | + value: function getDefaultElements() { | |
| 6465 | + var selectors = this.getSettings('selectors'); | |
| 6466 | + return { | |
| 6467 | + $documents: jQuery(selectors.document) | |
| 6468 | + }; | |
| 6469 | + } | |
| 6470 | + }, { | |
| 6471 | + key: "initDocumentClasses", | |
| 6472 | + value: function initDocumentClasses() { | |
| 6473 | + this.documentClasses = { | |
| 6474 | + base: _document.default | |
| 6475 | + }; | |
| 6476 | + elementorFrontend.hooks.doAction('elementor/frontend/documents-manager/init-classes', this); | |
| 6477 | + } | |
| 6478 | + }, { | |
| 6479 | + key: "addDocumentClass", | |
| 6480 | + value: function addDocumentClass(documentType, documentClass) { | |
| 6481 | + this.documentClasses[documentType] = documentClass; | |
| 6482 | + } | |
| 6483 | + }, { | |
| 6484 | + key: "attachDocumentsClasses", | |
| 6485 | + value: function attachDocumentsClasses() { | |
| 6486 | + var _this2 = this; | |
| 6487 | + | |
| 6488 | + this.elements.$documents.each(function (index, document) { | |
| 6489 | + return _this2.attachDocumentClass(jQuery(document)); | |
| 6490 | + }); | |
| 6491 | + } | |
| 6492 | + }, { | |
| 6493 | + key: "attachDocumentClass", | |
| 6494 | + value: function attachDocumentClass($document) { | |
| 6495 | + var documentData = $document.data(), | |
| 6496 | + documentID = documentData.elementorId, | |
| 6497 | + documentType = documentData.elementorType, | |
| 6498 | + DocumentClass = this.documentClasses[documentType] || this.documentClasses.base; | |
| 6499 | + this.documents[documentID] = new DocumentClass({ | |
| 6500 | + $element: $document, | |
| 6501 | + id: documentID | |
| 6502 | + }); | |
| 6503 | + } | |
| 6504 | + }]); | |
| 6505 | + return _default; | |
| 6506 | +}(elementorModules.ViewModule); | |
| 6507 | + | |
| 6508 | +exports.default = _default; | |
| 6509 | + | |
| 6510 | +/***/ }), | |
| 6511 | +/* 787 */ | |
| 6512 | +/***/ (function(module, exports, __webpack_require__) { | |
| 6513 | + | |
| 6514 | +"use strict"; | |
| 6515 | + | |
| 6516 | + | |
| 6517 | +var _interopRequireDefault = __webpack_require__(0); | |
| 6518 | + | |
| 6519 | +var _Object$defineProperty = __webpack_require__(1); | |
| 6520 | + | |
| 6521 | +_Object$defineProperty(exports, "__esModule", { | |
| 6522 | + value: true | |
| 6523 | +}); | |
| 6524 | + | |
| 6525 | +exports.default = void 0; | |
| 6526 | + | |
| 6527 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 6528 | + | |
| 6529 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 6530 | + | |
| 6531 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 6532 | + | |
| 6533 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 6534 | + | |
| 6535 | +var _baseLoader = _interopRequireDefault(__webpack_require__(697)); | |
| 6536 | + | |
| 6537 | +var YoutubeLoader = /*#__PURE__*/function (_BaseLoader) { | |
| 6538 | + (0, _inherits2.default)(YoutubeLoader, _BaseLoader); | |
| 6539 | + | |
| 6540 | + var _super = (0, _createSuper2.default)(YoutubeLoader); | |
| 6541 | + | |
| 6542 | + function YoutubeLoader() { | |
| 6543 | + (0, _classCallCheck2.default)(this, YoutubeLoader); | |
| 6544 | + return _super.apply(this, arguments); | |
| 6545 | + } | |
| 6546 | + | |
| 6547 | + (0, _createClass2.default)(YoutubeLoader, [{ | |
| 6548 | + key: "getApiURL", | |
| 6549 | + value: function getApiURL() { | |
| 6550 | + return 'https://www.youtube.com/iframe_api'; | |
| 6551 | + } | |
| 6552 | + }, { | |
| 6553 | + key: "getURLRegex", | |
| 6554 | + value: function getURLRegex() { | |
| 6555 | + return /^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com\/(?:(?:watch)?\?(?:.*&)?vi?=|(?:embed|v|vi|user)\/))([^?&"'>]+)/; | |
| 6556 | + } | |
| 6557 | + }, { | |
| 6558 | + key: "isApiLoaded", | |
| 6559 | + value: function isApiLoaded() { | |
| 6560 | + return window.YT && YT.loaded; | |
| 6561 | + } | |
| 6562 | + }, { | |
| 6563 | + key: "getApiObject", | |
| 6564 | + value: function getApiObject() { | |
| 6565 | + return YT; | |
| 6566 | + } | |
| 6567 | + }]); | |
| 6568 | + return YoutubeLoader; | |
| 6569 | +}(_baseLoader.default); | |
| 6570 | + | |
| 6571 | +exports.default = YoutubeLoader; | |
| 6572 | + | |
| 6573 | +/***/ }), | |
| 6574 | +/* 788 */ | |
| 6575 | +/***/ (function(module, exports, __webpack_require__) { | |
| 6576 | + | |
| 6577 | +"use strict"; | |
| 6578 | + | |
| 6579 | + | |
| 6580 | +var _interopRequireDefault = __webpack_require__(0); | |
| 6581 | + | |
| 6582 | +var _Object$defineProperty = __webpack_require__(1); | |
| 6583 | + | |
| 6584 | +_Object$defineProperty(exports, "__esModule", { | |
| 6585 | + value: true | |
| 6586 | +}); | |
| 6587 | + | |
| 6588 | +exports.default = void 0; | |
| 6589 | + | |
| 6590 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 6591 | + | |
| 6592 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 6593 | + | |
| 6594 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 6595 | + | |
| 6596 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 6597 | + | |
| 6598 | +var _baseLoader = _interopRequireDefault(__webpack_require__(697)); | |
| 6599 | + | |
| 6600 | +var VimeoLoader = /*#__PURE__*/function (_BaseLoader) { | |
| 6601 | + (0, _inherits2.default)(VimeoLoader, _BaseLoader); | |
| 6602 | + | |
| 6603 | + var _super = (0, _createSuper2.default)(VimeoLoader); | |
| 6604 | + | |
| 6605 | + function VimeoLoader() { | |
| 6606 | + (0, _classCallCheck2.default)(this, VimeoLoader); | |
| 6607 | + return _super.apply(this, arguments); | |
| 6608 | + } | |
| 6609 | + | |
| 6610 | + (0, _createClass2.default)(VimeoLoader, [{ | |
| 6611 | + key: "getApiURL", | |
| 6612 | + value: function getApiURL() { | |
| 6613 | + return 'https://player.vimeo.com/api/player.js'; | |
| 6614 | + } | |
| 6615 | + }, { | |
| 6616 | + key: "getURLRegex", | |
| 6617 | + value: function getURLRegex() { | |
| 6618 | + return /^(?:https?:\/\/)?(?:www|player\.)?(?:vimeo\.com\/)?(?:video\/|external\/)?(\d+)([^.?&#"'>]?)/; | |
| 6619 | + } | |
| 6620 | + }, { | |
| 6621 | + key: "isApiLoaded", | |
| 6622 | + value: function isApiLoaded() { | |
| 6623 | + return window.Vimeo; | |
| 6624 | + } | |
| 6625 | + }, { | |
| 6626 | + key: "getApiObject", | |
| 6627 | + value: function getApiObject() { | |
| 6628 | + return Vimeo; | |
| 6629 | + } | |
| 6630 | + }]); | |
| 6631 | + return VimeoLoader; | |
| 6632 | +}(_baseLoader.default); | |
| 6633 | + | |
| 6634 | +exports.default = VimeoLoader; | |
| 6635 | + | |
| 6636 | +/***/ }), | |
| 6637 | +/* 789 */ | |
| 6638 | +/***/ (function(module, exports, __webpack_require__) { | |
| 6639 | + | |
| 6640 | +"use strict"; | |
| 6641 | + | |
| 6642 | + | |
| 6643 | +var _interopRequireDefault = __webpack_require__(0); | |
| 6644 | + | |
| 6645 | +var _Object$defineProperty = __webpack_require__(1); | |
| 6646 | + | |
| 6647 | +_Object$defineProperty(exports, "__esModule", { | |
| 6648 | + value: true | |
| 6649 | +}); | |
| 6650 | + | |
| 6651 | +exports.default = void 0; | |
| 6652 | + | |
| 6653 | +var _stringify = _interopRequireDefault(__webpack_require__(204)); | |
| 6654 | + | |
| 6655 | +__webpack_require__(119); | |
| 6656 | + | |
| 6657 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 6658 | + | |
| 6659 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 6660 | + | |
| 6661 | +var _get2 = _interopRequireDefault(__webpack_require__(25)); | |
| 6662 | + | |
| 6663 | +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16)); | |
| 6664 | + | |
| 6665 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 6666 | + | |
| 6667 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 6668 | + | |
| 6669 | +var _default = /*#__PURE__*/function (_elementorModules$Vie) { | |
| 6670 | + (0, _inherits2.default)(_default, _elementorModules$Vie); | |
| 6671 | + | |
| 6672 | + var _super = (0, _createSuper2.default)(_default); | |
| 6673 | + | |
| 6674 | + function _default() { | |
| 6675 | + (0, _classCallCheck2.default)(this, _default); | |
| 6676 | + return _super.apply(this, arguments); | |
| 6677 | + } | |
| 6678 | + | |
| 6679 | + (0, _createClass2.default)(_default, [{ | |
| 6680 | + key: "getDefaultSettings", | |
| 6681 | + value: function getDefaultSettings() { | |
| 6682 | + return { | |
| 6683 | + selectors: { | |
| 6684 | + links: 'a[href^="%23elementor-action"], a[href^="#elementor-action"]' | |
| 6685 | + } | |
| 6686 | + }; | |
| 6687 | + } | |
| 6688 | + }, { | |
| 6689 | + key: "bindEvents", | |
| 6690 | + value: function bindEvents() { | |
| 6691 | + elementorFrontend.elements.$document.on('click', this.getSettings('selectors.links'), this.runLinkAction.bind(this)); | |
| 6692 | + } | |
| 6693 | + }, { | |
| 6694 | + key: "initActions", | |
| 6695 | + value: function initActions() { | |
| 6696 | + this.actions = { | |
| 6697 | + lightbox: function lightbox(settings) { | |
| 6698 | + if (settings.id) { | |
| 6699 | + elementorFrontend.utils.lightbox.openSlideshow(settings.id, settings.url); | |
| 6700 | + } else { | |
| 6701 | + elementorFrontend.utils.lightbox.showModal(settings); | |
| 6702 | + } | |
| 6703 | + } | |
| 6704 | + }; | |
| 6705 | + } | |
| 6706 | + }, { | |
| 6707 | + key: "addAction", | |
| 6708 | + value: function addAction(name, callback) { | |
| 6709 | + this.actions[name] = callback; | |
| 6710 | + } | |
| 6711 | + }, { | |
| 6712 | + key: "runAction", | |
| 6713 | + value: function runAction(url) { | |
| 6714 | + url = decodeURIComponent(url); | |
| 6715 | + var actionMatch = url.match(/action=(.+?)&/), | |
| 6716 | + settingsMatch = url.match(/settings=(.+)/); | |
| 6717 | + | |
| 6718 | + if (!actionMatch) { | |
| 6719 | + return; | |
| 6720 | + } | |
| 6721 | + | |
| 6722 | + var action = this.actions[actionMatch[1]]; | |
| 6723 | + | |
| 6724 | + if (!action) { | |
| 6725 | + return; | |
| 6726 | + } | |
| 6727 | + | |
| 6728 | + var settings = {}; | |
| 6729 | + | |
| 6730 | + if (settingsMatch) { | |
| 6731 | + settings = JSON.parse(atob(settingsMatch[1])); | |
| 6732 | + } | |
| 6733 | + | |
| 6734 | + for (var _len = arguments.length, restArgs = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { | |
| 6735 | + restArgs[_key - 1] = arguments[_key]; | |
| 6736 | + } | |
| 6737 | + | |
| 6738 | + action.apply(void 0, [settings].concat(restArgs)); | |
| 6739 | + } | |
| 6740 | + }, { | |
| 6741 | + key: "runLinkAction", | |
| 6742 | + value: function runLinkAction(event) { | |
| 6743 | + event.preventDefault(); | |
| 6744 | + this.runAction(jQuery(event.currentTarget).attr('href'), event); | |
| 6745 | + } | |
| 6746 | + }, { | |
| 6747 | + key: "runHashAction", | |
| 6748 | + value: function runHashAction() { | |
| 6749 | + if (location.hash) { | |
| 6750 | + this.runAction(location.hash); | |
| 6751 | + } | |
| 6752 | + } | |
| 6753 | + }, { | |
| 6754 | + key: "createActionHash", | |
| 6755 | + value: function createActionHash(action, settings) { | |
| 6756 | + // We need to encode the hash tag (#) here, in order to support share links for a variety of providers | |
| 6757 | + return encodeURIComponent("#elementor-action:action=".concat(action, "&settings=").concat(btoa((0, _stringify.default)(settings)))); | |
| 6758 | + } | |
| 6759 | + }, { | |
| 6760 | + key: "onInit", | |
| 6761 | + value: function onInit() { | |
| 6762 | + (0, _get2.default)((0, _getPrototypeOf2.default)(_default.prototype), "onInit", this).call(this); | |
| 6763 | + this.initActions(); | |
| 6764 | + elementorFrontend.on('components:init', this.runHashAction.bind(this)); | |
| 6765 | + } | |
| 6766 | + }]); | |
| 6767 | + return _default; | |
| 6768 | +}(elementorModules.ViewModule); | |
| 6769 | + | |
| 6770 | +exports.default = _default; | |
| 6771 | + | |
| 6772 | +/***/ }), | |
| 6773 | +/* 790 */ | |
| 6774 | +/***/ (function(module, exports, __webpack_require__) { | |
| 6775 | + | |
| 6776 | +"use strict"; | |
| 6777 | + | |
| 6778 | + | |
| 6779 | +var _interopRequireDefault = __webpack_require__(0); | |
| 6780 | + | |
| 6781 | +var _Object$defineProperty = __webpack_require__(1); | |
| 6782 | + | |
| 6783 | +_Object$defineProperty(exports, "__esModule", { | |
| 6784 | + value: true | |
| 6785 | +}); | |
| 6786 | + | |
| 6787 | +exports.default = void 0; | |
| 6788 | + | |
| 6789 | +__webpack_require__(302); | |
| 6790 | + | |
| 6791 | +var _parseInt2 = _interopRequireDefault(__webpack_require__(211)); | |
| 6792 | + | |
| 6793 | +var _keys = _interopRequireDefault(__webpack_require__(23)); | |
| 6794 | + | |
| 6795 | +var _values = _interopRequireDefault(__webpack_require__(54)); | |
| 6796 | + | |
| 6797 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 6798 | + | |
| 6799 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 6800 | + | |
| 6801 | +var originalSwiper = window.Swiper; | |
| 6802 | + | |
| 6803 | +var Swiper = /*#__PURE__*/function () { | |
| 6804 | + function Swiper(container, config) { | |
| 6805 | + (0, _classCallCheck2.default)(this, Swiper); | |
| 6806 | + this.config = config; | |
| 6807 | + | |
| 6808 | + if (this.config.breakpoints) { | |
| 6809 | + // The config is passed as a param to allow adjustConfig to be called outside of this wrapper | |
| 6810 | + this.config = this.adjustConfig(config); | |
| 6811 | + } | |
| 6812 | + | |
| 6813 | + originalSwiper.prototype.adjustConfig = this.adjustConfig; | |
| 6814 | + return new originalSwiper(container, this.config); | |
| 6815 | + } // Backwards compatibility for Elementor Pro <2.9.0 (old Swiper version - <5.0.0) | |
| 6816 | + // In Swiper 5.0.0 and up, breakpoints changed from acting as max-width to acting as min-width | |
| 6817 | + | |
| 6818 | + | |
| 6819 | + (0, _createClass2.default)(Swiper, [{ | |
| 6820 | + key: "adjustConfig", | |
| 6821 | + value: function adjustConfig(config) { | |
| 6822 | + // Only reverse the breakpoints if the handle param has been defined | |
| 6823 | + if (!config.handleElementorBreakpoints) { | |
| 6824 | + return config; | |
| 6825 | + } | |
| 6826 | + | |
| 6827 | + var elementorBreakpoints = elementorFrontend.config.breakpoints, | |
| 6828 | + elementorBreakpointValues = (0, _values.default)(elementorBreakpoints); | |
| 6829 | + (0, _keys.default)(config.breakpoints).forEach(function (configBPKey) { | |
| 6830 | + var configBPKeyInt = (0, _parseInt2.default)(configBPKey); | |
| 6831 | + var breakpointToUpdate; // The `configBPKeyInt + 1` is a BC Fix for Elementor Pro Carousels from 2.8.0-2.8.3 used with Elementor >= 2.9.0 | |
| 6832 | + | |
| 6833 | + if (configBPKeyInt === elementorBreakpoints.md || configBPKeyInt + 1 === elementorBreakpoints.md) { | |
| 6834 | + // This handles the mobile breakpoint. Elementor's default sm breakpoint is never actually used, | |
| 6835 | + // so the mobile breakpoint (md) needs to be handled separately and set to the 0 breakpoint (xs) | |
| 6836 | + breakpointToUpdate = elementorBreakpoints.xs; | |
| 6837 | + } else { | |
| 6838 | + // Find the index of the current config breakpoint in the Elementor Breakpoints array | |
| 6839 | + var currentBPIndexInElementorBPs = elementorBreakpointValues.findIndex(function (elementorBP) { | |
| 6840 | + // BC Fix for Elementor Pro Carousels from 2.8.0-2.8.3 used with Elementor >= 2.9.0 | |
| 6841 | + return configBPKeyInt === elementorBP || configBPKeyInt + 1 === elementorBP; | |
| 6842 | + }); // For all other Swiper config breakpoints, move them one breakpoint down on the breakpoint list, | |
| 6843 | + // according to the array of Elementor's global breakpoints | |
| 6844 | + | |
| 6845 | + breakpointToUpdate = elementorBreakpointValues[currentBPIndexInElementorBPs - 1]; | |
| 6846 | + } | |
| 6847 | + | |
| 6848 | + config.breakpoints[breakpointToUpdate] = config.breakpoints[configBPKey]; // Then reset the settings in the original breakpoint key to the default values | |
| 6849 | + | |
| 6850 | + config.breakpoints[configBPKey] = { | |
| 6851 | + slidesPerView: config.slidesPerView, | |
| 6852 | + slidesPerGroup: config.slidesPerGroup ? config.slidesPerGroup : 1 | |
| 6853 | + }; | |
| 6854 | + }); | |
| 6855 | + return config; | |
| 6856 | + } | |
| 6857 | + }]); | |
| 6858 | + return Swiper; | |
| 6859 | +}(); | |
| 6860 | + | |
| 6861 | +exports.default = Swiper; | |
| 6862 | +window.Swiper = Swiper; | |
| 6863 | + | |
| 6864 | +/***/ }), | |
| 6865 | +/* 791 */ | |
| 6866 | +/***/ (function(module, exports, __webpack_require__) { | |
| 6867 | + | |
| 6868 | +"use strict"; | |
| 6869 | + | |
| 6870 | + | |
| 6871 | +var _interopRequireDefault = __webpack_require__(0); | |
| 6872 | + | |
| 6873 | +var _accordion = _interopRequireDefault(__webpack_require__(792)); | |
| 6874 | + | |
| 6875 | +var _alert = _interopRequireDefault(__webpack_require__(793)); | |
| 6876 | + | |
| 6877 | +var _counter = _interopRequireDefault(__webpack_require__(794)); | |
| 6878 | + | |
| 6879 | +var _progress = _interopRequireDefault(__webpack_require__(795)); | |
| 6880 | + | |
| 6881 | +var _tabs = _interopRequireDefault(__webpack_require__(796)); | |
| 6882 | + | |
| 6883 | +var _toggle = _interopRequireDefault(__webpack_require__(797)); | |
| 6884 | + | |
| 6885 | +var _video = _interopRequireDefault(__webpack_require__(798)); | |
| 6886 | + | |
| 6887 | +var _imageCarousel = _interopRequireDefault(__webpack_require__(799)); | |
| 6888 | + | |
| 6889 | +var _textEditor = _interopRequireDefault(__webpack_require__(800)); | |
| 6890 | + | |
| 6891 | +var _section = _interopRequireDefault(__webpack_require__(801)); | |
| 6892 | + | |
| 6893 | +var _column = _interopRequireDefault(__webpack_require__(806)); | |
| 6894 | + | |
| 6895 | +var _global = _interopRequireDefault(__webpack_require__(807)); | |
| 6896 | + | |
| 6897 | +module.exports = function ($) { | |
| 6898 | + var self = this; // element-type.skin-type | |
| 6899 | + | |
| 6900 | + var handlers = { | |
| 6901 | + // Elements | |
| 6902 | + section: _section.default, | |
| 6903 | + column: _column.default, | |
| 6904 | + // Widgets | |
| 6905 | + 'accordion.default': _accordion.default, | |
| 6906 | + 'alert.default': _alert.default, | |
| 6907 | + 'counter.default': _counter.default, | |
| 6908 | + 'progress.default': _progress.default, | |
| 6909 | + 'tabs.default': _tabs.default, | |
| 6910 | + 'toggle.default': _toggle.default, | |
| 6911 | + 'video.default': _video.default, | |
| 6912 | + 'image-carousel.default': _imageCarousel.default, | |
| 6913 | + 'text-editor.default': _textEditor.default | |
| 6914 | + }; | |
| 6915 | + var handlersInstances = {}; | |
| 6916 | + | |
| 6917 | + var addGlobalHandlers = function addGlobalHandlers() { | |
| 6918 | + elementorFrontend.hooks.addAction('frontend/element_ready/global', _global.default); | |
| 6919 | + }; | |
| 6920 | + | |
| 6921 | + var addElementsHandlers = function addElementsHandlers() { | |
| 6922 | + $.each(handlers, function (elementName, funcCallback) { | |
| 6923 | + elementorFrontend.hooks.addAction('frontend/element_ready/' + elementName, funcCallback); | |
| 6924 | + }); | |
| 6925 | + }; | |
| 6926 | + | |
| 6927 | + var init = function init() { | |
| 6928 | + self.initHandlers(); | |
| 6929 | + }; | |
| 6930 | + | |
| 6931 | + this.initHandlers = function () { | |
| 6932 | + addGlobalHandlers(); | |
| 6933 | + addElementsHandlers(); | |
| 6934 | + }; | |
| 6935 | + | |
| 6936 | + this.addHandler = function (HandlerClass, options) { | |
| 6937 | + var elementID = options.$element.data('model-cid'); | |
| 6938 | + var handlerID; // If element is in edit mode | |
| 6939 | + | |
| 6940 | + if (elementID) { | |
| 6941 | + handlerID = HandlerClass.prototype.getConstructorID(); | |
| 6942 | + | |
| 6943 | + if (!handlersInstances[elementID]) { | |
| 6944 | + handlersInstances[elementID] = {}; | |
| 6945 | + } | |
| 6946 | + | |
| 6947 | + var oldHandler = handlersInstances[elementID][handlerID]; | |
| 6948 | + | |
| 6949 | + if (oldHandler) { | |
| 6950 | + oldHandler.onDestroy(); | |
| 6951 | + } | |
| 6952 | + } | |
| 6953 | + | |
| 6954 | + var newHandler = new HandlerClass(options); | |
| 6955 | + | |
| 6956 | + if (elementID) { | |
| 6957 | + handlersInstances[elementID][handlerID] = newHandler; | |
| 6958 | + } | |
| 6959 | + }; | |
| 6960 | + | |
| 6961 | + this.getHandlers = function (handlerName) { | |
| 6962 | + if (handlerName) { | |
| 6963 | + return handlers[handlerName]; | |
| 6964 | + } | |
| 6965 | + | |
| 6966 | + return handlers; | |
| 6967 | + }; | |
| 6968 | + | |
| 6969 | + this.runReadyTrigger = function (scope) { | |
| 6970 | + if (elementorFrontend.config.is_static) { | |
| 6971 | + return; | |
| 6972 | + } // Initializing the `$scope` as frontend jQuery instance | |
| 6973 | + | |
| 6974 | + | |
| 6975 | + var $scope = jQuery(scope), | |
| 6976 | + elementType = $scope.attr('data-element_type'); | |
| 6977 | + | |
| 6978 | + if (!elementType) { | |
| 6979 | + return; | |
| 6980 | + } | |
| 6981 | + | |
| 6982 | + elementorFrontend.hooks.doAction('frontend/element_ready/global', $scope, $); | |
| 6983 | + elementorFrontend.hooks.doAction('frontend/element_ready/' + elementType, $scope, $); | |
| 6984 | + | |
| 6985 | + if ('widget' === elementType) { | |
| 6986 | + elementorFrontend.hooks.doAction('frontend/element_ready/' + $scope.attr('data-widget_type'), $scope, $); | |
| 6987 | + } | |
| 6988 | + }; | |
| 6989 | + | |
| 6990 | + init(); | |
| 6991 | +}; | |
| 6992 | + | |
| 6993 | +/***/ }), | |
| 6994 | +/* 792 */ | |
| 6995 | +/***/ (function(module, exports, __webpack_require__) { | |
| 6996 | + | |
| 6997 | +"use strict"; | |
| 6998 | + | |
| 6999 | + | |
| 7000 | +var _interopRequireDefault = __webpack_require__(0); | |
| 7001 | + | |
| 7002 | +var _Object$defineProperty = __webpack_require__(1); | |
| 7003 | + | |
| 7004 | +_Object$defineProperty(exports, "__esModule", { | |
| 7005 | + value: true | |
| 7006 | +}); | |
| 7007 | + | |
| 7008 | +exports.default = void 0; | |
| 7009 | + | |
| 7010 | +var _baseTabs = _interopRequireDefault(__webpack_require__(658)); | |
| 7011 | + | |
| 7012 | +var _default = function _default($scope) { | |
| 7013 | + elementorFrontend.elementsHandler.addHandler(_baseTabs.default, { | |
| 7014 | + $element: $scope, | |
| 7015 | + showTabFn: 'slideDown', | |
| 7016 | + hideTabFn: 'slideUp' | |
| 7017 | + }); | |
| 7018 | +}; | |
| 7019 | + | |
| 7020 | +exports.default = _default; | |
| 7021 | + | |
| 7022 | +/***/ }), | |
| 7023 | +/* 793 */ | |
| 7024 | +/***/ (function(module, exports, __webpack_require__) { | |
| 7025 | + | |
| 7026 | +"use strict"; | |
| 7027 | + | |
| 7028 | + | |
| 7029 | +var _interopRequireDefault = __webpack_require__(0); | |
| 7030 | + | |
| 7031 | +var _Object$defineProperty = __webpack_require__(1); | |
| 7032 | + | |
| 7033 | +_Object$defineProperty(exports, "__esModule", { | |
| 7034 | + value: true | |
| 7035 | +}); | |
| 7036 | + | |
| 7037 | +exports.default = void 0; | |
| 7038 | + | |
| 7039 | +__webpack_require__(26); | |
| 7040 | + | |
| 7041 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 7042 | + | |
| 7043 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 7044 | + | |
| 7045 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 7046 | + | |
| 7047 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 7048 | + | |
| 7049 | +var Alert = /*#__PURE__*/function (_elementorModules$fro) { | |
| 7050 | + (0, _inherits2.default)(Alert, _elementorModules$fro); | |
| 7051 | + | |
| 7052 | + var _super = (0, _createSuper2.default)(Alert); | |
| 7053 | + | |
| 7054 | + function Alert() { | |
| 7055 | + (0, _classCallCheck2.default)(this, Alert); | |
| 7056 | + return _super.apply(this, arguments); | |
| 7057 | + } | |
| 7058 | + | |
| 7059 | + (0, _createClass2.default)(Alert, [{ | |
| 7060 | + key: "getDefaultSettings", | |
| 7061 | + value: function getDefaultSettings() { | |
| 7062 | + return { | |
| 7063 | + selectors: { | |
| 7064 | + dismissButton: '.elementor-alert-dismiss' | |
| 7065 | + } | |
| 7066 | + }; | |
| 7067 | + } | |
| 7068 | + }, { | |
| 7069 | + key: "getDefaultElements", | |
| 7070 | + value: function getDefaultElements() { | |
| 7071 | + var selectors = this.getSettings('selectors'); | |
| 7072 | + return { | |
| 7073 | + $dismissButton: this.$element.find(selectors.dismissButton) | |
| 7074 | + }; | |
| 7075 | + } | |
| 7076 | + }, { | |
| 7077 | + key: "bindEvents", | |
| 7078 | + value: function bindEvents() { | |
| 7079 | + this.elements.$dismissButton.on('click', this.onDismissButtonClick.bind(this)); | |
| 7080 | + } | |
| 7081 | + }, { | |
| 7082 | + key: "onDismissButtonClick", | |
| 7083 | + value: function onDismissButtonClick() { | |
| 7084 | + this.$element.fadeOut(); | |
| 7085 | + } | |
| 7086 | + }]); | |
| 7087 | + return Alert; | |
| 7088 | +}(elementorModules.frontend.handlers.Base); | |
| 7089 | + | |
| 7090 | +var _default = function _default($scope) { | |
| 7091 | + elementorFrontend.elementsHandler.addHandler(Alert, { | |
| 7092 | + $element: $scope | |
| 7093 | + }); | |
| 7094 | +}; | |
| 7095 | + | |
| 7096 | +exports.default = _default; | |
| 7097 | + | |
| 7098 | +/***/ }), | |
| 7099 | +/* 794 */ | |
| 7100 | +/***/ (function(module, exports, __webpack_require__) { | |
| 7101 | + | |
| 7102 | +"use strict"; | |
| 7103 | + | |
| 7104 | + | |
| 7105 | +var _interopRequireDefault = __webpack_require__(0); | |
| 7106 | + | |
| 7107 | +var _Object$defineProperty = __webpack_require__(1); | |
| 7108 | + | |
| 7109 | +_Object$defineProperty(exports, "__esModule", { | |
| 7110 | + value: true | |
| 7111 | +}); | |
| 7112 | + | |
| 7113 | +exports.default = void 0; | |
| 7114 | + | |
| 7115 | +__webpack_require__(182); | |
| 7116 | + | |
| 7117 | +__webpack_require__(72); | |
| 7118 | + | |
| 7119 | +__webpack_require__(119); | |
| 7120 | + | |
| 7121 | +__webpack_require__(26); | |
| 7122 | + | |
| 7123 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 7124 | + | |
| 7125 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 7126 | + | |
| 7127 | +var _get2 = _interopRequireDefault(__webpack_require__(25)); | |
| 7128 | + | |
| 7129 | +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16)); | |
| 7130 | + | |
| 7131 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 7132 | + | |
| 7133 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 7134 | + | |
| 7135 | +var Counter = /*#__PURE__*/function (_elementorModules$fro) { | |
| 7136 | + (0, _inherits2.default)(Counter, _elementorModules$fro); | |
| 7137 | + | |
| 7138 | + var _super = (0, _createSuper2.default)(Counter); | |
| 7139 | + | |
| 7140 | + function Counter() { | |
| 7141 | + (0, _classCallCheck2.default)(this, Counter); | |
| 7142 | + return _super.apply(this, arguments); | |
| 7143 | + } | |
| 7144 | + | |
| 7145 | + (0, _createClass2.default)(Counter, [{ | |
| 7146 | + key: "getDefaultSettings", | |
| 7147 | + value: function getDefaultSettings() { | |
| 7148 | + return { | |
| 7149 | + selectors: { | |
| 7150 | + counterNumber: '.elementor-counter-number' | |
| 7151 | + } | |
| 7152 | + }; | |
| 7153 | + } | |
| 7154 | + }, { | |
| 7155 | + key: "getDefaultElements", | |
| 7156 | + value: function getDefaultElements() { | |
| 7157 | + var selectors = this.getSettings('selectors'); | |
| 7158 | + return { | |
| 7159 | + $counterNumber: this.$element.find(selectors.counterNumber) | |
| 7160 | + }; | |
| 7161 | + } | |
| 7162 | + }, { | |
| 7163 | + key: "onInit", | |
| 7164 | + value: function onInit() { | |
| 7165 | + var _this = this; | |
| 7166 | + | |
| 7167 | + (0, _get2.default)((0, _getPrototypeOf2.default)(Counter.prototype), "onInit", this).call(this); | |
| 7168 | + elementorFrontend.waypoint(this.elements.$counterNumber, function () { | |
| 7169 | + var data = _this.elements.$counterNumber.data(), | |
| 7170 | + decimalDigits = data.toValue.toString().match(/\.(.*)/); | |
| 7171 | + | |
| 7172 | + if (decimalDigits) { | |
| 7173 | + data.rounding = decimalDigits[1].length; | |
| 7174 | + } | |
| 7175 | + | |
| 7176 | + _this.elements.$counterNumber.numerator(data); | |
| 7177 | + }); | |
| 7178 | + } | |
| 7179 | + }]); | |
| 7180 | + return Counter; | |
| 7181 | +}(elementorModules.frontend.handlers.Base); | |
| 7182 | + | |
| 7183 | +var _default = function _default($scope) { | |
| 7184 | + elementorFrontend.elementsHandler.addHandler(Counter, { | |
| 7185 | + $element: $scope | |
| 7186 | + }); | |
| 7187 | +}; | |
| 7188 | + | |
| 7189 | +exports.default = _default; | |
| 7190 | + | |
| 7191 | +/***/ }), | |
| 7192 | +/* 795 */ | |
| 7193 | +/***/ (function(module, exports, __webpack_require__) { | |
| 7194 | + | |
| 7195 | +"use strict"; | |
| 7196 | + | |
| 7197 | + | |
| 7198 | +var _interopRequireDefault = __webpack_require__(0); | |
| 7199 | + | |
| 7200 | +var _Object$defineProperty = __webpack_require__(1); | |
| 7201 | + | |
| 7202 | +_Object$defineProperty(exports, "__esModule", { | |
| 7203 | + value: true | |
| 7204 | +}); | |
| 7205 | + | |
| 7206 | +exports.default = void 0; | |
| 7207 | + | |
| 7208 | +__webpack_require__(26); | |
| 7209 | + | |
| 7210 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 7211 | + | |
| 7212 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 7213 | + | |
| 7214 | +var _get2 = _interopRequireDefault(__webpack_require__(25)); | |
| 7215 | + | |
| 7216 | +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16)); | |
| 7217 | + | |
| 7218 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 7219 | + | |
| 7220 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 7221 | + | |
| 7222 | +var Progress = /*#__PURE__*/function (_elementorModules$fro) { | |
| 7223 | + (0, _inherits2.default)(Progress, _elementorModules$fro); | |
| 7224 | + | |
| 7225 | + var _super = (0, _createSuper2.default)(Progress); | |
| 7226 | + | |
| 7227 | + function Progress() { | |
| 7228 | + (0, _classCallCheck2.default)(this, Progress); | |
| 7229 | + return _super.apply(this, arguments); | |
| 7230 | + } | |
| 7231 | + | |
| 7232 | + (0, _createClass2.default)(Progress, [{ | |
| 7233 | + key: "getDefaultSettings", | |
| 7234 | + value: function getDefaultSettings() { | |
| 7235 | + return { | |
| 7236 | + selectors: { | |
| 7237 | + progressNumber: '.elementor-progress-bar' | |
| 7238 | + } | |
| 7239 | + }; | |
| 7240 | + } | |
| 7241 | + }, { | |
| 7242 | + key: "getDefaultElements", | |
| 7243 | + value: function getDefaultElements() { | |
| 7244 | + var selectors = this.getSettings('selectors'); | |
| 7245 | + return { | |
| 7246 | + $progressNumber: this.$element.find(selectors.progressNumber) | |
| 7247 | + }; | |
| 7248 | + } | |
| 7249 | + }, { | |
| 7250 | + key: "onInit", | |
| 7251 | + value: function onInit() { | |
| 7252 | + var _this = this; | |
| 7253 | + | |
| 7254 | + (0, _get2.default)((0, _getPrototypeOf2.default)(Progress.prototype), "onInit", this).call(this); | |
| 7255 | + elementorFrontend.waypoint(this.elements.$progressNumber, function () { | |
| 7256 | + var $progressbar = _this.elements.$progressNumber; | |
| 7257 | + $progressbar.css('width', $progressbar.data('max') + '%'); | |
| 7258 | + }); | |
| 7259 | + } | |
| 7260 | + }]); | |
| 7261 | + return Progress; | |
| 7262 | +}(elementorModules.frontend.handlers.Base); | |
| 7263 | + | |
| 7264 | +var _default = function _default($scope) { | |
| 7265 | + elementorFrontend.elementsHandler.addHandler(Progress, { | |
| 7266 | + $element: $scope | |
| 7267 | + }); | |
| 7268 | +}; | |
| 7269 | + | |
| 7270 | +exports.default = _default; | |
| 7271 | + | |
| 7272 | +/***/ }), | |
| 7273 | +/* 796 */ | |
| 7274 | +/***/ (function(module, exports, __webpack_require__) { | |
| 7275 | + | |
| 7276 | +"use strict"; | |
| 7277 | + | |
| 7278 | + | |
| 7279 | +var _interopRequireDefault = __webpack_require__(0); | |
| 7280 | + | |
| 7281 | +var _Object$defineProperty = __webpack_require__(1); | |
| 7282 | + | |
| 7283 | +_Object$defineProperty(exports, "__esModule", { | |
| 7284 | + value: true | |
| 7285 | +}); | |
| 7286 | + | |
| 7287 | +exports.default = void 0; | |
| 7288 | + | |
| 7289 | +var _baseTabs = _interopRequireDefault(__webpack_require__(658)); | |
| 7290 | + | |
| 7291 | +var _default = function _default($scope) { | |
| 7292 | + elementorFrontend.elementsHandler.addHandler(_baseTabs.default, { | |
| 7293 | + $element: $scope, | |
| 7294 | + toggleSelf: false | |
| 7295 | + }); | |
| 7296 | +}; | |
| 7297 | + | |
| 7298 | +exports.default = _default; | |
| 7299 | + | |
| 7300 | +/***/ }), | |
| 7301 | +/* 797 */ | |
| 7302 | +/***/ (function(module, exports, __webpack_require__) { | |
| 7303 | + | |
| 7304 | +"use strict"; | |
| 7305 | + | |
| 7306 | + | |
| 7307 | +var _interopRequireDefault = __webpack_require__(0); | |
| 7308 | + | |
| 7309 | +var _Object$defineProperty = __webpack_require__(1); | |
| 7310 | + | |
| 7311 | +_Object$defineProperty(exports, "__esModule", { | |
| 7312 | + value: true | |
| 7313 | +}); | |
| 7314 | + | |
| 7315 | +exports.default = void 0; | |
| 7316 | + | |
| 7317 | +var _baseTabs = _interopRequireDefault(__webpack_require__(658)); | |
| 7318 | + | |
| 7319 | +var _default = function _default($scope) { | |
| 7320 | + elementorFrontend.elementsHandler.addHandler(_baseTabs.default, { | |
| 7321 | + $element: $scope, | |
| 7322 | + showTabFn: 'slideDown', | |
| 7323 | + hideTabFn: 'slideUp', | |
| 7324 | + hidePrevious: false, | |
| 7325 | + autoExpand: 'editor' | |
| 7326 | + }); | |
| 7327 | +}; | |
| 7328 | + | |
| 7329 | +exports.default = _default; | |
| 7330 | + | |
| 7331 | +/***/ }), | |
| 7332 | +/* 798 */ | |
| 7333 | +/***/ (function(module, exports, __webpack_require__) { | |
| 7334 | + | |
| 7335 | +"use strict"; | |
| 7336 | + | |
| 7337 | + | |
| 7338 | +var _interopRequireDefault = __webpack_require__(0); | |
| 7339 | + | |
| 7340 | +var _Object$defineProperty = __webpack_require__(1); | |
| 7341 | + | |
| 7342 | +_Object$defineProperty(exports, "__esModule", { | |
| 7343 | + value: true | |
| 7344 | +}); | |
| 7345 | + | |
| 7346 | +exports.default = void 0; | |
| 7347 | + | |
| 7348 | +__webpack_require__(141); | |
| 7349 | + | |
| 7350 | +__webpack_require__(188); | |
| 7351 | + | |
| 7352 | +__webpack_require__(58); | |
| 7353 | + | |
| 7354 | +__webpack_require__(26); | |
| 7355 | + | |
| 7356 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 7357 | + | |
| 7358 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 7359 | + | |
| 7360 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 7361 | + | |
| 7362 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 7363 | + | |
| 7364 | +var VideoModule = /*#__PURE__*/function (_elementorModules$fro) { | |
| 7365 | + (0, _inherits2.default)(VideoModule, _elementorModules$fro); | |
| 7366 | + | |
| 7367 | + var _super = (0, _createSuper2.default)(VideoModule); | |
| 7368 | + | |
| 7369 | + function VideoModule() { | |
| 7370 | + (0, _classCallCheck2.default)(this, VideoModule); | |
| 7371 | + return _super.apply(this, arguments); | |
| 7372 | + } | |
| 7373 | + | |
| 7374 | + (0, _createClass2.default)(VideoModule, [{ | |
| 7375 | + key: "getDefaultSettings", | |
| 7376 | + value: function getDefaultSettings() { | |
| 7377 | + return { | |
| 7378 | + selectors: { | |
| 7379 | + imageOverlay: '.elementor-custom-embed-image-overlay', | |
| 7380 | + video: '.elementor-video', | |
| 7381 | + videoIframe: '.elementor-video-iframe' | |
| 7382 | + } | |
| 7383 | + }; | |
| 7384 | + } | |
| 7385 | + }, { | |
| 7386 | + key: "getDefaultElements", | |
| 7387 | + value: function getDefaultElements() { | |
| 7388 | + var selectors = this.getSettings('selectors'); | |
| 7389 | + return { | |
| 7390 | + $imageOverlay: this.$element.find(selectors.imageOverlay), | |
| 7391 | + $video: this.$element.find(selectors.video), | |
| 7392 | + $videoIframe: this.$element.find(selectors.videoIframe) | |
| 7393 | + }; | |
| 7394 | + } | |
| 7395 | + }, { | |
| 7396 | + key: "getLightBox", | |
| 7397 | + value: function getLightBox() { | |
| 7398 | + return elementorFrontend.utils.lightbox; | |
| 7399 | + } | |
| 7400 | + }, { | |
| 7401 | + key: "handleVideo", | |
| 7402 | + value: function handleVideo() { | |
| 7403 | + if (!this.getElementSettings('lightbox')) { | |
| 7404 | + this.elements.$imageOverlay.remove(); | |
| 7405 | + this.playVideo(); | |
| 7406 | + } | |
| 7407 | + } | |
| 7408 | + }, { | |
| 7409 | + key: "playVideo", | |
| 7410 | + value: function playVideo() { | |
| 7411 | + if (this.elements.$video.length) { | |
| 7412 | + this.elements.$video[0].play(); | |
| 7413 | + return; | |
| 7414 | + } | |
| 7415 | + | |
| 7416 | + var $videoIframe = this.elements.$videoIframe, | |
| 7417 | + lazyLoad = $videoIframe.data('lazy-load'); | |
| 7418 | + | |
| 7419 | + if (lazyLoad) { | |
| 7420 | + $videoIframe.attr('src', lazyLoad); | |
| 7421 | + } | |
| 7422 | + | |
| 7423 | + var newSourceUrl = $videoIframe[0].src.replace('&autoplay=0', ''); | |
| 7424 | + $videoIframe[0].src = newSourceUrl + '&autoplay=1'; | |
| 7425 | + | |
| 7426 | + if ($videoIframe[0].src.includes('vimeo.com')) { | |
| 7427 | + var videoSrc = $videoIframe[0].src, | |
| 7428 | + timeMatch = /#t=[^&]*/.exec(videoSrc); // Param '#t=' must be last in the URL | |
| 7429 | + | |
| 7430 | + $videoIframe[0].src = videoSrc.slice(0, timeMatch.index) + videoSrc.slice(timeMatch.index + timeMatch[0].length) + timeMatch[0]; | |
| 7431 | + } | |
| 7432 | + } | |
| 7433 | + }, { | |
| 7434 | + key: "animateVideo", | |
| 7435 | + value: function animateVideo() { | |
| 7436 | + this.getLightBox().setEntranceAnimation(this.getCurrentDeviceSetting('lightbox_content_animation')); | |
| 7437 | + } | |
| 7438 | + }, { | |
| 7439 | + key: "handleAspectRatio", | |
| 7440 | + value: function handleAspectRatio() { | |
| 7441 | + this.getLightBox().setVideoAspectRatio(this.getElementSettings('aspect_ratio')); | |
| 7442 | + } | |
| 7443 | + }, { | |
| 7444 | + key: "bindEvents", | |
| 7445 | + value: function bindEvents() { | |
| 7446 | + this.elements.$imageOverlay.on('click', this.handleVideo.bind(this)); | |
| 7447 | + } | |
| 7448 | + }, { | |
| 7449 | + key: "onElementChange", | |
| 7450 | + value: function onElementChange(propertyName) { | |
| 7451 | + if (0 === propertyName.indexOf('lightbox_content_animation')) { | |
| 7452 | + this.animateVideo(); | |
| 7453 | + return; | |
| 7454 | + } | |
| 7455 | + | |
| 7456 | + var isLightBoxEnabled = this.getElementSettings('lightbox'); | |
| 7457 | + | |
| 7458 | + if ('lightbox' === propertyName && !isLightBoxEnabled) { | |
| 7459 | + this.getLightBox().getModal().hide(); | |
| 7460 | + return; | |
| 7461 | + } | |
| 7462 | + | |
| 7463 | + if ('aspect_ratio' === propertyName && isLightBoxEnabled) { | |
| 7464 | + this.handleAspectRatio(); | |
| 7465 | + } | |
| 7466 | + } | |
| 7467 | + }]); | |
| 7468 | + return VideoModule; | |
| 7469 | +}(elementorModules.frontend.handlers.Base); | |
| 7470 | + | |
| 7471 | +var _default = function _default($scope) { | |
| 7472 | + elementorFrontend.elementsHandler.addHandler(VideoModule, { | |
| 7473 | + $element: $scope | |
| 7474 | + }); | |
| 7475 | +}; | |
| 7476 | + | |
| 7477 | +exports.default = _default; | |
| 7478 | + | |
| 7479 | +/***/ }), | |
| 7480 | +/* 799 */ | |
| 7481 | +/***/ (function(module, exports, __webpack_require__) { | |
| 7482 | + | |
| 7483 | +"use strict"; | |
| 7484 | + | |
| 7485 | + | |
| 7486 | +var _interopRequireDefault = __webpack_require__(0); | |
| 7487 | + | |
| 7488 | +var _Object$defineProperty = __webpack_require__(1); | |
| 7489 | + | |
| 7490 | +_Object$defineProperty(exports, "__esModule", { | |
| 7491 | + value: true | |
| 7492 | +}); | |
| 7493 | + | |
| 7494 | +exports.default = void 0; | |
| 7495 | + | |
| 7496 | +__webpack_require__(26); | |
| 7497 | + | |
| 7498 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 7499 | + | |
| 7500 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 7501 | + | |
| 7502 | +var _get3 = _interopRequireDefault(__webpack_require__(25)); | |
| 7503 | + | |
| 7504 | +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16)); | |
| 7505 | + | |
| 7506 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 7507 | + | |
| 7508 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 7509 | + | |
| 7510 | +var ImageCarouselHandler = /*#__PURE__*/function (_elementorModules$fro) { | |
| 7511 | + (0, _inherits2.default)(ImageCarouselHandler, _elementorModules$fro); | |
| 7512 | + | |
| 7513 | + var _super = (0, _createSuper2.default)(ImageCarouselHandler); | |
| 7514 | + | |
| 7515 | + function ImageCarouselHandler() { | |
| 7516 | + (0, _classCallCheck2.default)(this, ImageCarouselHandler); | |
| 7517 | + return _super.apply(this, arguments); | |
| 7518 | + } | |
| 7519 | + | |
| 7520 | + (0, _createClass2.default)(ImageCarouselHandler, [{ | |
| 7521 | + key: "getDefaultSettings", | |
| 7522 | + value: function getDefaultSettings() { | |
| 7523 | + return { | |
| 7524 | + selectors: { | |
| 7525 | + carousel: '.elementor-image-carousel-wrapper', | |
| 7526 | + slideContent: '.swiper-slide' | |
| 7527 | + } | |
| 7528 | + }; | |
| 7529 | + } | |
| 7530 | + }, { | |
| 7531 | + key: "getDefaultElements", | |
| 7532 | + value: function getDefaultElements() { | |
| 7533 | + var selectors = this.getSettings('selectors'); | |
| 7534 | + var elements = { | |
| 7535 | + $swiperContainer: this.$element.find(selectors.carousel) | |
| 7536 | + }; | |
| 7537 | + elements.$slides = elements.$swiperContainer.find(selectors.slideContent); | |
| 7538 | + return elements; | |
| 7539 | + } | |
| 7540 | + }, { | |
| 7541 | + key: "getSwiperSettings", | |
| 7542 | + value: function getSwiperSettings() { | |
| 7543 | + var elementSettings = this.getElementSettings(), | |
| 7544 | + slidesToShow = +elementSettings.slides_to_show || 3, | |
| 7545 | + isSingleSlide = 1 === slidesToShow, | |
| 7546 | + defaultLGDevicesSlidesCount = isSingleSlide ? 1 : 2, | |
| 7547 | + elementorBreakpoints = elementorFrontend.config.breakpoints; | |
| 7548 | + var swiperOptions = { | |
| 7549 | + slidesPerView: slidesToShow, | |
| 7550 | + loop: 'yes' === elementSettings.infinite, | |
| 7551 | + speed: elementSettings.speed, | |
| 7552 | + handleElementorBreakpoints: true | |
| 7553 | + }; | |
| 7554 | + swiperOptions.breakpoints = {}; | |
| 7555 | + swiperOptions.breakpoints[elementorBreakpoints.md] = { | |
| 7556 | + slidesPerView: +elementSettings.slides_to_show_mobile || 1, | |
| 7557 | + slidesPerGroup: +elementSettings.slides_to_scroll_mobile || 1 | |
| 7558 | + }; | |
| 7559 | + swiperOptions.breakpoints[elementorBreakpoints.lg] = { | |
| 7560 | + slidesPerView: +elementSettings.slides_to_show_tablet || defaultLGDevicesSlidesCount, | |
| 7561 | + slidesPerGroup: +elementSettings.slides_to_scroll_tablet || 1 | |
| 7562 | + }; | |
| 7563 | + | |
| 7564 | + if (!this.isEdit && 'yes' === elementSettings.autoplay) { | |
| 7565 | + swiperOptions.autoplay = { | |
| 7566 | + delay: elementSettings.autoplay_speed, | |
| 7567 | + disableOnInteraction: 'yes' === elementSettings.pause_on_interaction | |
| 7568 | + }; | |
| 7569 | + } | |
| 7570 | + | |
| 7571 | + if (isSingleSlide) { | |
| 7572 | + swiperOptions.effect = elementSettings.effect; | |
| 7573 | + | |
| 7574 | + if ('fade' === elementSettings.effect) { | |
| 7575 | + swiperOptions.fadeEffect = { | |
| 7576 | + crossFade: true | |
| 7577 | + }; | |
| 7578 | + } | |
| 7579 | + } else { | |
| 7580 | + swiperOptions.slidesPerGroup = +elementSettings.slides_to_scroll || 1; | |
| 7581 | + } | |
| 7582 | + | |
| 7583 | + if (elementSettings.image_spacing_custom) { | |
| 7584 | + swiperOptions.spaceBetween = elementSettings.image_spacing_custom.size; | |
| 7585 | + } | |
| 7586 | + | |
| 7587 | + var showArrows = 'arrows' === elementSettings.navigation || 'both' === elementSettings.navigation, | |
| 7588 | + showDots = 'dots' === elementSettings.navigation || 'both' === elementSettings.navigation; | |
| 7589 | + | |
| 7590 | + if (showArrows) { | |
| 7591 | + swiperOptions.navigation = { | |
| 7592 | + prevEl: '.elementor-swiper-button-prev', | |
| 7593 | + nextEl: '.elementor-swiper-button-next' | |
| 7594 | + }; | |
| 7595 | + } | |
| 7596 | + | |
| 7597 | + if (showDots) { | |
| 7598 | + swiperOptions.pagination = { | |
| 7599 | + el: '.swiper-pagination', | |
| 7600 | + type: 'bullets', | |
| 7601 | + clickable: true | |
| 7602 | + }; | |
| 7603 | + } | |
| 7604 | + | |
| 7605 | + return swiperOptions; | |
| 7606 | + } | |
| 7607 | + }, { | |
| 7608 | + key: "onInit", | |
| 7609 | + value: function onInit() { | |
| 7610 | + var _get2; | |
| 7611 | + | |
| 7612 | + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { | |
| 7613 | + args[_key] = arguments[_key]; | |
| 7614 | + } | |
| 7615 | + | |
| 7616 | + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(ImageCarouselHandler.prototype), "onInit", this)).call.apply(_get2, [this].concat(args)); | |
| 7617 | + | |
| 7618 | + var elementSettings = this.getElementSettings(); | |
| 7619 | + | |
| 7620 | + if (!this.elements.$swiperContainer.length || 2 > this.elements.$slides.length) { | |
| 7621 | + return; | |
| 7622 | + } | |
| 7623 | + | |
| 7624 | + this.swiper = new Swiper(this.elements.$swiperContainer, this.getSwiperSettings()); // Expose the swiper instance in the frontend | |
| 7625 | + | |
| 7626 | + this.elements.$swiperContainer.data('swiper', this.swiper); | |
| 7627 | + | |
| 7628 | + if ('yes' === elementSettings.pause_on_hover) { | |
| 7629 | + this.togglePauseOnHover(true); | |
| 7630 | + } | |
| 7631 | + } | |
| 7632 | + }, { | |
| 7633 | + key: "updateSwiperOption", | |
| 7634 | + value: function updateSwiperOption(propertyName) { | |
| 7635 | + var elementSettings = this.getElementSettings(), | |
| 7636 | + newSettingValue = elementSettings[propertyName], | |
| 7637 | + changeableProperties = this.getChangeableProperties(); | |
| 7638 | + var propertyToUpdate = changeableProperties[propertyName], | |
| 7639 | + valueToUpdate = newSettingValue; // Handle special cases where the value to update is not the value that the Swiper library accepts | |
| 7640 | + | |
| 7641 | + switch (propertyName) { | |
| 7642 | + case 'image_spacing_custom': | |
| 7643 | + valueToUpdate = newSettingValue.size || 0; | |
| 7644 | + break; | |
| 7645 | + | |
| 7646 | + case 'autoplay': | |
| 7647 | + if (newSettingValue) { | |
| 7648 | + valueToUpdate = { | |
| 7649 | + delay: elementSettings.autoplay_speed, | |
| 7650 | + disableOnInteraction: 'yes' === elementSettings.pause_on_interaction | |
| 7651 | + }; | |
| 7652 | + } else { | |
| 7653 | + valueToUpdate = false; | |
| 7654 | + } | |
| 7655 | + | |
| 7656 | + break; | |
| 7657 | + | |
| 7658 | + case 'autoplay_speed': | |
| 7659 | + propertyToUpdate = 'autoplay'; | |
| 7660 | + valueToUpdate = { | |
| 7661 | + delay: newSettingValue, | |
| 7662 | + disableOnInteraction: 'yes' === elementSettings.pause_on_interaction | |
| 7663 | + }; | |
| 7664 | + break; | |
| 7665 | + | |
| 7666 | + case 'pause_on_hover': | |
| 7667 | + this.togglePauseOnHover('yes' === newSettingValue); | |
| 7668 | + break; | |
| 7669 | + | |
| 7670 | + case 'pause_on_interaction': | |
| 7671 | + valueToUpdate = 'yes' === newSettingValue; | |
| 7672 | + break; | |
| 7673 | + } // 'pause_on_hover' is implemented by the handler with event listeners, not the Swiper library | |
| 7674 | + | |
| 7675 | + | |
| 7676 | + if ('pause_on_hover' !== propertyName) { | |
| 7677 | + this.swiper.params[propertyToUpdate] = valueToUpdate; | |
| 7678 | + } | |
| 7679 | + | |
| 7680 | + this.swiper.update(); | |
| 7681 | + } | |
| 7682 | + }, { | |
| 7683 | + key: "getChangeableProperties", | |
| 7684 | + value: function getChangeableProperties() { | |
| 7685 | + return { | |
| 7686 | + autoplay: 'autoplay', | |
| 7687 | + pause_on_hover: 'pauseOnHover', | |
| 7688 | + pause_on_interaction: 'disableOnInteraction', | |
| 7689 | + autoplay_speed: 'delay', | |
| 7690 | + speed: 'speed', | |
| 7691 | + image_spacing_custom: 'spaceBetween' | |
| 7692 | + }; | |
| 7693 | + } | |
| 7694 | + }, { | |
| 7695 | + key: "onElementChange", | |
| 7696 | + value: function onElementChange(propertyName) { | |
| 7697 | + var changeableProperties = this.getChangeableProperties(); | |
| 7698 | + | |
| 7699 | + if (changeableProperties.propertyName) { | |
| 7700 | + this.updateSwiperOption(propertyName); | |
| 7701 | + } | |
| 7702 | + } | |
| 7703 | + }, { | |
| 7704 | + key: "onEditSettingsChange", | |
| 7705 | + value: function onEditSettingsChange(propertyName) { | |
| 7706 | + if ('activeItemIndex' === propertyName) { | |
| 7707 | + this.swiper.slideToLoop(this.getEditSettings('activeItemIndex') - 1); | |
| 7708 | + } | |
| 7709 | + } | |
| 7710 | + }]); | |
| 7711 | + return ImageCarouselHandler; | |
| 7712 | +}(elementorModules.frontend.handlers.SwiperBase); | |
| 7713 | + | |
| 7714 | +var _default = function _default($scope) { | |
| 7715 | + elementorFrontend.elementsHandler.addHandler(ImageCarouselHandler, { | |
| 7716 | + $element: $scope | |
| 7717 | + }); | |
| 7718 | +}; | |
| 7719 | + | |
| 7720 | +exports.default = _default; | |
| 7721 | + | |
| 7722 | +/***/ }), | |
| 7723 | +/* 800 */ | |
| 7724 | +/***/ (function(module, exports, __webpack_require__) { | |
| 7725 | + | |
| 7726 | +"use strict"; | |
| 7727 | + | |
| 7728 | + | |
| 7729 | +var _interopRequireDefault = __webpack_require__(0); | |
| 7730 | + | |
| 7731 | +var _Object$defineProperty = __webpack_require__(1); | |
| 7732 | + | |
| 7733 | +_Object$defineProperty(exports, "__esModule", { | |
| 7734 | + value: true | |
| 7735 | +}); | |
| 7736 | + | |
| 7737 | +exports.default = void 0; | |
| 7738 | + | |
| 7739 | +__webpack_require__(119); | |
| 7740 | + | |
| 7741 | +__webpack_require__(58); | |
| 7742 | + | |
| 7743 | +__webpack_require__(26); | |
| 7744 | + | |
| 7745 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 7746 | + | |
| 7747 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 7748 | + | |
| 7749 | +var _get3 = _interopRequireDefault(__webpack_require__(25)); | |
| 7750 | + | |
| 7751 | +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16)); | |
| 7752 | + | |
| 7753 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 7754 | + | |
| 7755 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 7756 | + | |
| 7757 | +var TextEditor = /*#__PURE__*/function (_elementorModules$fro) { | |
| 7758 | + (0, _inherits2.default)(TextEditor, _elementorModules$fro); | |
| 7759 | + | |
| 7760 | + var _super = (0, _createSuper2.default)(TextEditor); | |
| 7761 | + | |
| 7762 | + function TextEditor() { | |
| 7763 | + (0, _classCallCheck2.default)(this, TextEditor); | |
| 7764 | + return _super.apply(this, arguments); | |
| 7765 | + } | |
| 7766 | + | |
| 7767 | + (0, _createClass2.default)(TextEditor, [{ | |
| 7768 | + key: "getDefaultSettings", | |
| 7769 | + value: function getDefaultSettings() { | |
| 7770 | + return { | |
| 7771 | + selectors: { | |
| 7772 | + paragraph: 'p:first' | |
| 7773 | + }, | |
| 7774 | + classes: { | |
| 7775 | + dropCap: 'elementor-drop-cap', | |
| 7776 | + dropCapLetter: 'elementor-drop-cap-letter' | |
| 7777 | + } | |
| 7778 | + }; | |
| 7779 | + } | |
| 7780 | + }, { | |
| 7781 | + key: "getDefaultElements", | |
| 7782 | + value: function getDefaultElements() { | |
| 7783 | + var selectors = this.getSettings('selectors'), | |
| 7784 | + classes = this.getSettings('classes'), | |
| 7785 | + $dropCap = jQuery('<span>', { | |
| 7786 | + class: classes.dropCap | |
| 7787 | + }), | |
| 7788 | + $dropCapLetter = jQuery('<span>', { | |
| 7789 | + class: classes.dropCapLetter | |
| 7790 | + }); | |
| 7791 | + $dropCap.append($dropCapLetter); | |
| 7792 | + return { | |
| 7793 | + $paragraph: this.$element.find(selectors.paragraph), | |
| 7794 | + $dropCap: $dropCap, | |
| 7795 | + $dropCapLetter: $dropCapLetter | |
| 7796 | + }; | |
| 7797 | + } | |
| 7798 | + }, { | |
| 7799 | + key: "wrapDropCap", | |
| 7800 | + value: function wrapDropCap() { | |
| 7801 | + var isDropCapEnabled = this.getElementSettings('drop_cap'); | |
| 7802 | + | |
| 7803 | + if (!isDropCapEnabled) { | |
| 7804 | + // If there is an old drop cap inside the paragraph | |
| 7805 | + if (this.dropCapLetter) { | |
| 7806 | + this.elements.$dropCap.remove(); | |
| 7807 | + this.elements.$paragraph.prepend(this.dropCapLetter); | |
| 7808 | + this.dropCapLetter = ''; | |
| 7809 | + } | |
| 7810 | + | |
| 7811 | + return; | |
| 7812 | + } | |
| 7813 | + | |
| 7814 | + var $paragraph = this.elements.$paragraph; | |
| 7815 | + | |
| 7816 | + if (!$paragraph.length) { | |
| 7817 | + return; | |
| 7818 | + } | |
| 7819 | + | |
| 7820 | + var paragraphContent = $paragraph.html().replace(/ /g, ' '), | |
| 7821 | + firstLetterMatch = paragraphContent.match(/^ *([^ ] ?)/); | |
| 7822 | + | |
| 7823 | + if (!firstLetterMatch) { | |
| 7824 | + return; | |
| 7825 | + } | |
| 7826 | + | |
| 7827 | + var firstLetter = firstLetterMatch[1], | |
| 7828 | + trimmedFirstLetter = firstLetter.trim(); // Don't apply drop cap when the content starting with an HTML tag | |
| 7829 | + | |
| 7830 | + if ('<' === trimmedFirstLetter) { | |
| 7831 | + return; | |
| 7832 | + } | |
| 7833 | + | |
| 7834 | + this.dropCapLetter = firstLetter; | |
| 7835 | + this.elements.$dropCapLetter.text(trimmedFirstLetter); | |
| 7836 | + var restoredParagraphContent = paragraphContent.slice(firstLetter.length).replace(/^ */, function (match) { | |
| 7837 | + return new Array(match.length + 1).join(' '); | |
| 7838 | + }); | |
| 7839 | + $paragraph.html(restoredParagraphContent).prepend(this.elements.$dropCap); | |
| 7840 | + } | |
| 7841 | + }, { | |
| 7842 | + key: "onInit", | |
| 7843 | + value: function onInit() { | |
| 7844 | + var _get2; | |
| 7845 | + | |
| 7846 | + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { | |
| 7847 | + args[_key] = arguments[_key]; | |
| 7848 | + } | |
| 7849 | + | |
| 7850 | + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(TextEditor.prototype), "onInit", this)).call.apply(_get2, [this].concat(args)); | |
| 7851 | + | |
| 7852 | + this.wrapDropCap(); | |
| 7853 | + } | |
| 7854 | + }, { | |
| 7855 | + key: "onElementChange", | |
| 7856 | + value: function onElementChange(propertyName) { | |
| 7857 | + if ('drop_cap' === propertyName) { | |
| 7858 | + this.wrapDropCap(); | |
| 7859 | + } | |
| 7860 | + } | |
| 7861 | + }]); | |
| 7862 | + return TextEditor; | |
| 7863 | +}(elementorModules.frontend.handlers.Base); | |
| 7864 | + | |
| 7865 | +var _default = function _default($scope) { | |
| 7866 | + elementorFrontend.elementsHandler.addHandler(TextEditor, { | |
| 7867 | + $element: $scope | |
| 7868 | + }); | |
| 7869 | +}; | |
| 7870 | + | |
| 7871 | +exports.default = _default; | |
| 7872 | + | |
| 7873 | +/***/ }), | |
| 7874 | +/* 801 */ | |
| 7875 | +/***/ (function(module, exports, __webpack_require__) { | |
| 7876 | + | |
| 7877 | +"use strict"; | |
| 7878 | + | |
| 7879 | + | |
| 7880 | +var _interopRequireDefault = __webpack_require__(0); | |
| 7881 | + | |
| 7882 | +var _Object$defineProperty = __webpack_require__(1); | |
| 7883 | + | |
| 7884 | +_Object$defineProperty(exports, "__esModule", { | |
| 7885 | + value: true | |
| 7886 | +}); | |
| 7887 | + | |
| 7888 | +exports.default = void 0; | |
| 7889 | + | |
| 7890 | +var _backgroundSlideshow = _interopRequireDefault(__webpack_require__(698)); | |
| 7891 | + | |
| 7892 | +var _backgroundVideo = _interopRequireDefault(__webpack_require__(802)); | |
| 7893 | + | |
| 7894 | +var _handlesPosition = _interopRequireDefault(__webpack_require__(803)); | |
| 7895 | + | |
| 7896 | +var _stretchedSection = _interopRequireDefault(__webpack_require__(804)); | |
| 7897 | + | |
| 7898 | +var _shapes = _interopRequireDefault(__webpack_require__(805)); | |
| 7899 | + | |
| 7900 | +var _default = function _default($scope) { | |
| 7901 | + if (elementorFrontend.isEditMode() || $scope.hasClass('elementor-section-stretched')) { | |
| 7902 | + elementorFrontend.elementsHandler.addHandler(_stretchedSection.default, { | |
| 7903 | + $element: $scope | |
| 7904 | + }); | |
| 7905 | + } | |
| 7906 | + | |
| 7907 | + if (elementorFrontend.isEditMode()) { | |
| 7908 | + elementorFrontend.elementsHandler.addHandler(_shapes.default, { | |
| 7909 | + $element: $scope | |
| 7910 | + }); | |
| 7911 | + elementorFrontend.elementsHandler.addHandler(_handlesPosition.default, { | |
| 7912 | + $element: $scope | |
| 7913 | + }); | |
| 7914 | + } | |
| 7915 | + | |
| 7916 | + elementorFrontend.elementsHandler.addHandler(_backgroundVideo.default, { | |
| 7917 | + $element: $scope | |
| 7918 | + }); | |
| 7919 | + elementorFrontend.elementsHandler.addHandler(_backgroundSlideshow.default, { | |
| 7920 | + $element: $scope | |
| 7921 | + }); | |
| 7922 | +}; | |
| 7923 | + | |
| 7924 | +exports.default = _default; | |
| 7925 | + | |
| 7926 | +/***/ }), | |
| 7927 | +/* 802 */ | |
| 7928 | +/***/ (function(module, exports, __webpack_require__) { | |
| 7929 | + | |
| 7930 | +"use strict"; | |
| 7931 | + | |
| 7932 | + | |
| 7933 | +var _interopRequireDefault = __webpack_require__(0); | |
| 7934 | + | |
| 7935 | +var _Object$defineProperty = __webpack_require__(1); | |
| 7936 | + | |
| 7937 | +_Object$defineProperty(exports, "__esModule", { | |
| 7938 | + value: true | |
| 7939 | +}); | |
| 7940 | + | |
| 7941 | +exports.default = void 0; | |
| 7942 | + | |
| 7943 | +__webpack_require__(119); | |
| 7944 | + | |
| 7945 | +__webpack_require__(80); | |
| 7946 | + | |
| 7947 | +__webpack_require__(26); | |
| 7948 | + | |
| 7949 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 7950 | + | |
| 7951 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 7952 | + | |
| 7953 | +var _get3 = _interopRequireDefault(__webpack_require__(25)); | |
| 7954 | + | |
| 7955 | +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16)); | |
| 7956 | + | |
| 7957 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 7958 | + | |
| 7959 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 7960 | + | |
| 7961 | +var BackgroundVideo = /*#__PURE__*/function (_elementorModules$fro) { | |
| 7962 | + (0, _inherits2.default)(BackgroundVideo, _elementorModules$fro); | |
| 7963 | + | |
| 7964 | + var _super = (0, _createSuper2.default)(BackgroundVideo); | |
| 7965 | + | |
| 7966 | + function BackgroundVideo() { | |
| 7967 | + (0, _classCallCheck2.default)(this, BackgroundVideo); | |
| 7968 | + return _super.apply(this, arguments); | |
| 7969 | + } | |
| 7970 | + | |
| 7971 | + (0, _createClass2.default)(BackgroundVideo, [{ | |
| 7972 | + key: "getDefaultSettings", | |
| 7973 | + value: function getDefaultSettings() { | |
| 7974 | + return { | |
| 7975 | + selectors: { | |
| 7976 | + backgroundVideoContainer: '.elementor-background-video-container', | |
| 7977 | + backgroundVideoEmbed: '.elementor-background-video-embed', | |
| 7978 | + backgroundVideoHosted: '.elementor-background-video-hosted' | |
| 7979 | + } | |
| 7980 | + }; | |
| 7981 | + } | |
| 7982 | + }, { | |
| 7983 | + key: "getDefaultElements", | |
| 7984 | + value: function getDefaultElements() { | |
| 7985 | + var selectors = this.getSettings('selectors'), | |
| 7986 | + elements = { | |
| 7987 | + $backgroundVideoContainer: this.$element.find(selectors.backgroundVideoContainer) | |
| 7988 | + }; | |
| 7989 | + elements.$backgroundVideoEmbed = elements.$backgroundVideoContainer.children(selectors.backgroundVideoEmbed); | |
| 7990 | + elements.$backgroundVideoHosted = elements.$backgroundVideoContainer.children(selectors.backgroundVideoHosted); | |
| 7991 | + return elements; | |
| 7992 | + } | |
| 7993 | + }, { | |
| 7994 | + key: "calcVideosSize", | |
| 7995 | + value: function calcVideosSize($video) { | |
| 7996 | + var aspectRatioSetting = '16:9'; | |
| 7997 | + | |
| 7998 | + if ('vimeo' === this.videoType) { | |
| 7999 | + aspectRatioSetting = $video[0].width + ':' + $video[0].height; | |
| 8000 | + } | |
| 8001 | + | |
| 8002 | + var containerWidth = this.elements.$backgroundVideoContainer.outerWidth(), | |
| 8003 | + containerHeight = this.elements.$backgroundVideoContainer.outerHeight(), | |
| 8004 | + aspectRatioArray = aspectRatioSetting.split(':'), | |
| 8005 | + aspectRatio = aspectRatioArray[0] / aspectRatioArray[1], | |
| 8006 | + ratioWidth = containerWidth / aspectRatio, | |
| 8007 | + ratioHeight = containerHeight * aspectRatio, | |
| 8008 | + isWidthFixed = containerWidth / containerHeight > aspectRatio; | |
| 8009 | + return { | |
| 8010 | + width: isWidthFixed ? containerWidth : ratioHeight, | |
| 8011 | + height: isWidthFixed ? ratioWidth : containerHeight | |
| 8012 | + }; | |
| 8013 | + } | |
| 8014 | + }, { | |
| 8015 | + key: "changeVideoSize", | |
| 8016 | + value: function changeVideoSize() { | |
| 8017 | + if (!('hosted' === this.videoType) && !this.player) { | |
| 8018 | + return; | |
| 8019 | + } | |
| 8020 | + | |
| 8021 | + var $video; | |
| 8022 | + | |
| 8023 | + if ('youtube' === this.videoType) { | |
| 8024 | + $video = jQuery(this.player.getIframe()); | |
| 8025 | + } else if ('vimeo' === this.videoType) { | |
| 8026 | + $video = jQuery(this.player.element); | |
| 8027 | + } else if ('hosted' === this.videoType) { | |
| 8028 | + $video = this.elements.$backgroundVideoHosted; | |
| 8029 | + } | |
| 8030 | + | |
| 8031 | + if (!$video) { | |
| 8032 | + return; | |
| 8033 | + } | |
| 8034 | + | |
| 8035 | + var size = this.calcVideosSize($video); | |
| 8036 | + $video.width(size.width).height(size.height); | |
| 8037 | + } | |
| 8038 | + }, { | |
| 8039 | + key: "startVideoLoop", | |
| 8040 | + value: function startVideoLoop(firstTime) { | |
| 8041 | + var _this = this; | |
| 8042 | + | |
| 8043 | + // If the section has been removed | |
| 8044 | + if (!this.player.getIframe().contentWindow) { | |
| 8045 | + return; | |
| 8046 | + } | |
| 8047 | + | |
| 8048 | + var elementSettings = this.getElementSettings(), | |
| 8049 | + startPoint = elementSettings.background_video_start || 0, | |
| 8050 | + endPoint = elementSettings.background_video_end; | |
| 8051 | + | |
| 8052 | + if (elementSettings.background_play_once && !firstTime) { | |
| 8053 | + this.player.stopVideo(); | |
| 8054 | + return; | |
| 8055 | + } | |
| 8056 | + | |
| 8057 | + this.player.seekTo(startPoint); | |
| 8058 | + | |
| 8059 | + if (endPoint) { | |
| 8060 | + var durationToEnd = endPoint - startPoint + 1; | |
| 8061 | + setTimeout(function () { | |
| 8062 | + _this.startVideoLoop(false); | |
| 8063 | + }, durationToEnd * 1000); | |
| 8064 | + } | |
| 8065 | + } | |
| 8066 | + }, { | |
| 8067 | + key: "prepareVimeoVideo", | |
| 8068 | + value: function prepareVimeoVideo(Vimeo, videoId) { | |
| 8069 | + var _this2 = this; | |
| 8070 | + | |
| 8071 | + var elementSettings = this.getElementSettings(), | |
| 8072 | + startTime = elementSettings.background_video_start ? elementSettings.background_video_start : 0, | |
| 8073 | + videoSize = this.elements.$backgroundVideoContainer.outerWidth(), | |
| 8074 | + vimeoOptions = { | |
| 8075 | + id: videoId, | |
| 8076 | + width: videoSize.width, | |
| 8077 | + autoplay: true, | |
| 8078 | + loop: !elementSettings.background_play_once, | |
| 8079 | + transparent: false, | |
| 8080 | + background: true, | |
| 8081 | + muted: true | |
| 8082 | + }; | |
| 8083 | + this.player = new Vimeo.Player(this.elements.$backgroundVideoContainer, vimeoOptions); // Handle user-defined start/end times | |
| 8084 | + | |
| 8085 | + this.handleVimeoStartEndTimes(elementSettings); | |
| 8086 | + this.player.ready().then(function () { | |
| 8087 | + jQuery(_this2.player.element).addClass('elementor-background-video-embed'); | |
| 8088 | + | |
| 8089 | + _this2.changeVideoSize(); | |
| 8090 | + }); | |
| 8091 | + } | |
| 8092 | + }, { | |
| 8093 | + key: "handleVimeoStartEndTimes", | |
| 8094 | + value: function handleVimeoStartEndTimes(elementSettings) { | |
| 8095 | + var _this3 = this; | |
| 8096 | + | |
| 8097 | + // If a start time is defined, set the start time | |
| 8098 | + if (elementSettings.background_video_start) { | |
| 8099 | + this.player.on('play', function (data) { | |
| 8100 | + if (0 === data.seconds) { | |
| 8101 | + _this3.player.setCurrentTime(elementSettings.background_video_start); | |
| 8102 | + } | |
| 8103 | + }); | |
| 8104 | + } | |
| 8105 | + | |
| 8106 | + this.player.on('timeupdate', function (data) { | |
| 8107 | + // If an end time is defined, handle ending the video | |
| 8108 | + if (elementSettings.background_video_end && elementSettings.background_video_end < data.seconds) { | |
| 8109 | + if (elementSettings.background_play_once) { | |
| 8110 | + // Stop at user-defined end time if not loop | |
| 8111 | + _this3.player.pause(); | |
| 8112 | + } else { | |
| 8113 | + // Go to start time if loop | |
| 8114 | + _this3.player.setCurrentTime(elementSettings.background_video_start); | |
| 8115 | + } | |
| 8116 | + } // If start time is defined but an end time is not, go to user-defined start time at video end. | |
| 8117 | + // Vimeo JS API has an 'ended' event, but it never fires when infinite loop is defined, so we | |
| 8118 | + // get the video duration (returns a promise) then use duration-0.5s as end time | |
| 8119 | + | |
| 8120 | + | |
| 8121 | + _this3.player.getDuration().then(function (duration) { | |
| 8122 | + if (elementSettings.background_video_start && !elementSettings.background_video_end && data.seconds > duration - 0.5) { | |
| 8123 | + _this3.player.setCurrentTime(elementSettings.background_video_start); | |
| 8124 | + } | |
| 8125 | + }); | |
| 8126 | + }); | |
| 8127 | + } | |
| 8128 | + }, { | |
| 8129 | + key: "prepareYTVideo", | |
| 8130 | + value: function prepareYTVideo(YT, videoID) { | |
| 8131 | + var _this4 = this; | |
| 8132 | + | |
| 8133 | + var $backgroundVideoContainer = this.elements.$backgroundVideoContainer, | |
| 8134 | + elementSettings = this.getElementSettings(); | |
| 8135 | + var startStateCode = YT.PlayerState.PLAYING; // Since version 67, Chrome doesn't fire the `PLAYING` state at start time | |
| 8136 | + | |
| 8137 | + if (window.chrome) { | |
| 8138 | + startStateCode = YT.PlayerState.UNSTARTED; | |
| 8139 | + } | |
| 8140 | + | |
| 8141 | + $backgroundVideoContainer.addClass('elementor-loading elementor-invisible'); | |
| 8142 | + this.player = new YT.Player(this.elements.$backgroundVideoEmbed[0], { | |
| 8143 | + videoId: videoID, | |
| 8144 | + events: { | |
| 8145 | + onReady: function onReady() { | |
| 8146 | + _this4.player.mute(); | |
| 8147 | + | |
| 8148 | + _this4.changeVideoSize(); | |
| 8149 | + | |
| 8150 | + _this4.startVideoLoop(true); | |
| 8151 | + | |
| 8152 | + _this4.player.playVideo(); | |
| 8153 | + }, | |
| 8154 | + onStateChange: function onStateChange(event) { | |
| 8155 | + switch (event.data) { | |
| 8156 | + case startStateCode: | |
| 8157 | + $backgroundVideoContainer.removeClass('elementor-invisible elementor-loading'); | |
| 8158 | + break; | |
| 8159 | + | |
| 8160 | + case YT.PlayerState.ENDED: | |
| 8161 | + _this4.player.seekTo(elementSettings.background_video_start || 0); | |
| 8162 | + | |
| 8163 | + if (elementSettings.background_play_once) { | |
| 8164 | + _this4.player.destroy(); | |
| 8165 | + } | |
| 8166 | + | |
| 8167 | + } | |
| 8168 | + } | |
| 8169 | + }, | |
| 8170 | + playerVars: { | |
| 8171 | + controls: 0, | |
| 8172 | + rel: 0, | |
| 8173 | + playsinline: 1 | |
| 8174 | + } | |
| 8175 | + }); | |
| 8176 | + } | |
| 8177 | + }, { | |
| 8178 | + key: "activate", | |
| 8179 | + value: function activate() { | |
| 8180 | + var _this5 = this; | |
| 8181 | + | |
| 8182 | + var videoLink = this.getElementSettings('background_video_link'), | |
| 8183 | + videoID; | |
| 8184 | + var playOnce = this.getElementSettings('background_play_once'); | |
| 8185 | + | |
| 8186 | + if (-1 !== videoLink.indexOf('vimeo.com')) { | |
| 8187 | + this.videoType = 'vimeo'; | |
| 8188 | + this.apiProvider = elementorFrontend.utils.vimeo; | |
| 8189 | + } else if (videoLink.match(/^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com)/)) { | |
| 8190 | + this.videoType = 'youtube'; | |
| 8191 | + this.apiProvider = elementorFrontend.utils.youtube; | |
| 8192 | + } | |
| 8193 | + | |
| 8194 | + if (this.apiProvider) { | |
| 8195 | + videoID = this.apiProvider.getVideoIDFromURL(videoLink); | |
| 8196 | + this.apiProvider.onApiReady(function (apiObject) { | |
| 8197 | + if ('youtube' === _this5.videoType) { | |
| 8198 | + _this5.prepareYTVideo(apiObject, videoID); | |
| 8199 | + } | |
| 8200 | + | |
| 8201 | + if ('vimeo' === _this5.videoType) { | |
| 8202 | + _this5.prepareVimeoVideo(apiObject, videoID); | |
| 8203 | + } | |
| 8204 | + }); | |
| 8205 | + } else { | |
| 8206 | + this.videoType = 'hosted'; | |
| 8207 | + var startTime = this.getElementSettings('background_video_start'), | |
| 8208 | + endTime = this.getElementSettings('background_video_end'); | |
| 8209 | + | |
| 8210 | + if (startTime || endTime) { | |
| 8211 | + videoLink += '#t=' + (startTime || 0) + (endTime ? ',' + endTime : ''); | |
| 8212 | + } | |
| 8213 | + | |
| 8214 | + this.elements.$backgroundVideoHosted.attr('src', videoLink).one('canplay', this.changeVideoSize.bind(this)); | |
| 8215 | + | |
| 8216 | + if (playOnce) { | |
| 8217 | + this.elements.$backgroundVideoHosted.on('ended', function () { | |
| 8218 | + _this5.elements.$backgroundVideoHosted.hide(); | |
| 8219 | + }); | |
| 8220 | + } | |
| 8221 | + } | |
| 8222 | + | |
| 8223 | + elementorFrontend.elements.$window.on('resize', this.changeVideoSize); | |
| 8224 | + } | |
| 8225 | + }, { | |
| 8226 | + key: "deactivate", | |
| 8227 | + value: function deactivate() { | |
| 8228 | + if ('youtube' === this.videoType && this.player.getIframe() || 'vimeo' === this.videoType) { | |
| 8229 | + this.player.destroy(); | |
| 8230 | + } else { | |
| 8231 | + this.elements.$backgroundVideoHosted.removeAttr('src').off('ended'); | |
| 8232 | + } | |
| 8233 | + | |
| 8234 | + elementorFrontend.elements.$window.off('resize', this.changeVideoSize); | |
| 8235 | + } | |
| 8236 | + }, { | |
| 8237 | + key: "run", | |
| 8238 | + value: function run() { | |
| 8239 | + var elementSettings = this.getElementSettings(); | |
| 8240 | + | |
| 8241 | + if (!elementSettings.background_play_on_mobile && 'mobile' === elementorFrontend.getCurrentDeviceMode()) { | |
| 8242 | + return; | |
| 8243 | + } | |
| 8244 | + | |
| 8245 | + if ('video' === elementSettings.background_background && elementSettings.background_video_link) { | |
| 8246 | + this.activate(); | |
| 8247 | + } else { | |
| 8248 | + this.deactivate(); | |
| 8249 | + } | |
| 8250 | + } | |
| 8251 | + }, { | |
| 8252 | + key: "onInit", | |
| 8253 | + value: function onInit() { | |
| 8254 | + var _get2; | |
| 8255 | + | |
| 8256 | + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { | |
| 8257 | + args[_key] = arguments[_key]; | |
| 8258 | + } | |
| 8259 | + | |
| 8260 | + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(BackgroundVideo.prototype), "onInit", this)).call.apply(_get2, [this].concat(args)); | |
| 8261 | + | |
| 8262 | + this.changeVideoSize = this.changeVideoSize.bind(this); | |
| 8263 | + this.run(); | |
| 8264 | + } | |
| 8265 | + }, { | |
| 8266 | + key: "onElementChange", | |
| 8267 | + value: function onElementChange(propertyName) { | |
| 8268 | + if ('background_background' === propertyName) { | |
| 8269 | + this.run(); | |
| 8270 | + } | |
| 8271 | + } | |
| 8272 | + }]); | |
| 8273 | + return BackgroundVideo; | |
| 8274 | +}(elementorModules.frontend.handlers.Base); | |
| 8275 | + | |
| 8276 | +exports.default = BackgroundVideo; | |
| 8277 | + | |
| 8278 | +/***/ }), | |
| 8279 | +/* 803 */ | |
| 8280 | +/***/ (function(module, exports, __webpack_require__) { | |
| 8281 | + | |
| 8282 | +"use strict"; | |
| 8283 | + | |
| 8284 | + | |
| 8285 | +var _interopRequireDefault = __webpack_require__(0); | |
| 8286 | + | |
| 8287 | +var _Object$defineProperty = __webpack_require__(1); | |
| 8288 | + | |
| 8289 | +_Object$defineProperty(exports, "__esModule", { | |
| 8290 | + value: true | |
| 8291 | +}); | |
| 8292 | + | |
| 8293 | +exports.default = void 0; | |
| 8294 | + | |
| 8295 | +__webpack_require__(26); | |
| 8296 | + | |
| 8297 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 8298 | + | |
| 8299 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 8300 | + | |
| 8301 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 8302 | + | |
| 8303 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 8304 | + | |
| 8305 | +var HandlesPosition = /*#__PURE__*/function (_elementorModules$fro) { | |
| 8306 | + (0, _inherits2.default)(HandlesPosition, _elementorModules$fro); | |
| 8307 | + | |
| 8308 | + var _super = (0, _createSuper2.default)(HandlesPosition); | |
| 8309 | + | |
| 8310 | + function HandlesPosition() { | |
| 8311 | + (0, _classCallCheck2.default)(this, HandlesPosition); | |
| 8312 | + return _super.apply(this, arguments); | |
| 8313 | + } | |
| 8314 | + | |
| 8315 | + (0, _createClass2.default)(HandlesPosition, [{ | |
| 8316 | + key: "isFirstSection", | |
| 8317 | + value: function isFirstSection() { | |
| 8318 | + return this.$element.is('.elementor-edit-mode .elementor-top-section:first'); | |
| 8319 | + } | |
| 8320 | + }, { | |
| 8321 | + key: "isOverflowHidden", | |
| 8322 | + value: function isOverflowHidden() { | |
| 8323 | + return 'hidden' === this.$element.css('overflow'); | |
| 8324 | + } | |
| 8325 | + }, { | |
| 8326 | + key: "getOffset", | |
| 8327 | + value: function getOffset() { | |
| 8328 | + if ('body' === elementor.config.document.container) { | |
| 8329 | + return this.$element.offset().top; | |
| 8330 | + } | |
| 8331 | + | |
| 8332 | + var $container = jQuery(elementor.config.document.container); | |
| 8333 | + return this.$element.offset().top - $container.offset().top; | |
| 8334 | + } | |
| 8335 | + }, { | |
| 8336 | + key: "setHandlesPosition", | |
| 8337 | + value: function setHandlesPosition() { | |
| 8338 | + var document = elementor.documents.getCurrent(); | |
| 8339 | + | |
| 8340 | + if (!document || !document.container.isEditable()) { | |
| 8341 | + return; | |
| 8342 | + } | |
| 8343 | + | |
| 8344 | + var isOverflowHidden = this.isOverflowHidden(); | |
| 8345 | + | |
| 8346 | + if (!isOverflowHidden && !this.isFirstSection()) { | |
| 8347 | + return; | |
| 8348 | + } | |
| 8349 | + | |
| 8350 | + var offset = isOverflowHidden ? 0 : this.getOffset(), | |
| 8351 | + $handlesElement = this.$element.find('> .elementor-element-overlay > .elementor-editor-section-settings'), | |
| 8352 | + insideHandleClass = 'elementor-section--handles-inside'; | |
| 8353 | + | |
| 8354 | + if (offset < 25) { | |
| 8355 | + this.$element.addClass(insideHandleClass); | |
| 8356 | + | |
| 8357 | + if (offset < -5) { | |
| 8358 | + $handlesElement.css('top', -offset); | |
| 8359 | + } else { | |
| 8360 | + $handlesElement.css('top', ''); | |
| 8361 | + } | |
| 8362 | + } else { | |
| 8363 | + this.$element.removeClass(insideHandleClass); | |
| 8364 | + } | |
| 8365 | + } | |
| 8366 | + }, { | |
| 8367 | + key: "onInit", | |
| 8368 | + value: function onInit() { | |
| 8369 | + this.setHandlesPosition(); | |
| 8370 | + this.$element.on('mouseenter', this.setHandlesPosition.bind(this)); | |
| 8371 | + } | |
| 8372 | + }]); | |
| 8373 | + return HandlesPosition; | |
| 8374 | +}(elementorModules.frontend.handlers.Base); | |
| 8375 | + | |
| 8376 | +exports.default = HandlesPosition; | |
| 8377 | + | |
| 8378 | +/***/ }), | |
| 8379 | +/* 804 */ | |
| 8380 | +/***/ (function(module, exports, __webpack_require__) { | |
| 8381 | + | |
| 8382 | +"use strict"; | |
| 8383 | + | |
| 8384 | + | |
| 8385 | +var _interopRequireDefault = __webpack_require__(0); | |
| 8386 | + | |
| 8387 | +var _Object$defineProperty = __webpack_require__(1); | |
| 8388 | + | |
| 8389 | +_Object$defineProperty(exports, "__esModule", { | |
| 8390 | + value: true | |
| 8391 | +}); | |
| 8392 | + | |
| 8393 | +exports.default = void 0; | |
| 8394 | + | |
| 8395 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 8396 | + | |
| 8397 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 8398 | + | |
| 8399 | +var _get3 = _interopRequireDefault(__webpack_require__(25)); | |
| 8400 | + | |
| 8401 | +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16)); | |
| 8402 | + | |
| 8403 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 8404 | + | |
| 8405 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 8406 | + | |
| 8407 | +var StretchedSection = /*#__PURE__*/function (_elementorModules$fro) { | |
| 8408 | + (0, _inherits2.default)(StretchedSection, _elementorModules$fro); | |
| 8409 | + | |
| 8410 | + var _super = (0, _createSuper2.default)(StretchedSection); | |
| 8411 | + | |
| 8412 | + function StretchedSection() { | |
| 8413 | + (0, _classCallCheck2.default)(this, StretchedSection); | |
| 8414 | + return _super.apply(this, arguments); | |
| 8415 | + } | |
| 8416 | + | |
| 8417 | + (0, _createClass2.default)(StretchedSection, [{ | |
| 8418 | + key: "bindEvents", | |
| 8419 | + value: function bindEvents() { | |
| 8420 | + var handlerID = this.getUniqueHandlerID(); | |
| 8421 | + elementorFrontend.addListenerOnce(handlerID, 'resize', this.stretch); | |
| 8422 | + elementorFrontend.addListenerOnce(handlerID, 'sticky:stick', this.stretch, this.$element); | |
| 8423 | + elementorFrontend.addListenerOnce(handlerID, 'sticky:unstick', this.stretch, this.$element); | |
| 8424 | + | |
| 8425 | + if (elementorFrontend.isEditMode()) { | |
| 8426 | + this.onKitChangeStretchContainerChange = this.onKitChangeStretchContainerChange.bind(this); | |
| 8427 | + elementor.channels.editor.on('kit:change:stretchContainer', this.onKitChangeStretchContainerChange); | |
| 8428 | + } | |
| 8429 | + } | |
| 8430 | + }, { | |
| 8431 | + key: "unbindEvents", | |
| 8432 | + value: function unbindEvents() { | |
| 8433 | + elementorFrontend.removeListeners(this.getUniqueHandlerID(), 'resize', this.stretch); | |
| 8434 | + | |
| 8435 | + if (elementorFrontend.isEditMode()) { | |
| 8436 | + elementor.channels.editor.off('kit:change:stretchContainer', this.onKitChangeStretchContainerChange); | |
| 8437 | + } | |
| 8438 | + } | |
| 8439 | + }, { | |
| 8440 | + key: "initStretch", | |
| 8441 | + value: function initStretch() { | |
| 8442 | + this.stretch = this.stretch.bind(this); | |
| 8443 | + this.stretchElement = new elementorModules.frontend.tools.StretchElement({ | |
| 8444 | + element: this.$element, | |
| 8445 | + selectors: { | |
| 8446 | + container: this.getStretchContainer() | |
| 8447 | + } | |
| 8448 | + }); | |
| 8449 | + } | |
| 8450 | + }, { | |
| 8451 | + key: "getStretchContainer", | |
| 8452 | + value: function getStretchContainer() { | |
| 8453 | + return elementorFrontend.getKitSettings('stretched_section_container') || window; | |
| 8454 | + } | |
| 8455 | + }, { | |
| 8456 | + key: "stretch", | |
| 8457 | + value: function stretch() { | |
| 8458 | + if (!this.getElementSettings('stretch_section')) { | |
| 8459 | + return; | |
| 8460 | + } | |
| 8461 | + | |
| 8462 | + this.stretchElement.stretch(); | |
| 8463 | + } | |
| 8464 | + }, { | |
| 8465 | + key: "onInit", | |
| 8466 | + value: function onInit() { | |
| 8467 | + var _get2; | |
| 8468 | + | |
| 8469 | + this.initStretch(); | |
| 8470 | + | |
| 8471 | + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { | |
| 8472 | + args[_key] = arguments[_key]; | |
| 8473 | + } | |
| 8474 | + | |
| 8475 | + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(StretchedSection.prototype), "onInit", this)).call.apply(_get2, [this].concat(args)); | |
| 8476 | + | |
| 8477 | + this.stretch(); | |
| 8478 | + } | |
| 8479 | + }, { | |
| 8480 | + key: "onElementChange", | |
| 8481 | + value: function onElementChange(propertyName) { | |
| 8482 | + if ('stretch_section' === propertyName) { | |
| 8483 | + if (this.getElementSettings('stretch_section')) { | |
| 8484 | + this.stretch(); | |
| 8485 | + } else { | |
| 8486 | + this.stretchElement.reset(); | |
| 8487 | + } | |
| 8488 | + } | |
| 8489 | + } | |
| 8490 | + }, { | |
| 8491 | + key: "onKitChangeStretchContainerChange", | |
| 8492 | + value: function onKitChangeStretchContainerChange() { | |
| 8493 | + this.stretchElement.setSettings('selectors.container', this.getStretchContainer()); | |
| 8494 | + this.stretch(); | |
| 8495 | + } | |
| 8496 | + }]); | |
| 8497 | + return StretchedSection; | |
| 8498 | +}(elementorModules.frontend.handlers.Base); | |
| 8499 | + | |
| 8500 | +exports.default = StretchedSection; | |
| 8501 | + | |
| 8502 | +/***/ }), | |
| 8503 | +/* 805 */ | |
| 8504 | +/***/ (function(module, exports, __webpack_require__) { | |
| 8505 | + | |
| 8506 | +"use strict"; | |
| 8507 | + | |
| 8508 | + | |
| 8509 | +var _interopRequireDefault = __webpack_require__(0); | |
| 8510 | + | |
| 8511 | +var _Object$defineProperty = __webpack_require__(1); | |
| 8512 | + | |
| 8513 | +_Object$defineProperty(exports, "__esModule", { | |
| 8514 | + value: true | |
| 8515 | +}); | |
| 8516 | + | |
| 8517 | +exports.default = void 0; | |
| 8518 | + | |
| 8519 | +__webpack_require__(119); | |
| 8520 | + | |
| 8521 | +__webpack_require__(58); | |
| 8522 | + | |
| 8523 | +__webpack_require__(26); | |
| 8524 | + | |
| 8525 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 8526 | + | |
| 8527 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 8528 | + | |
| 8529 | +var _get3 = _interopRequireDefault(__webpack_require__(25)); | |
| 8530 | + | |
| 8531 | +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16)); | |
| 8532 | + | |
| 8533 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 8534 | + | |
| 8535 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 8536 | + | |
| 8537 | +var Shapes = /*#__PURE__*/function (_elementorModules$fro) { | |
| 8538 | + (0, _inherits2.default)(Shapes, _elementorModules$fro); | |
| 8539 | + | |
| 8540 | + var _super = (0, _createSuper2.default)(Shapes); | |
| 8541 | + | |
| 8542 | + function Shapes() { | |
| 8543 | + (0, _classCallCheck2.default)(this, Shapes); | |
| 8544 | + return _super.apply(this, arguments); | |
| 8545 | + } | |
| 8546 | + | |
| 8547 | + (0, _createClass2.default)(Shapes, [{ | |
| 8548 | + key: "getDefaultSettings", | |
| 8549 | + value: function getDefaultSettings() { | |
| 8550 | + return { | |
| 8551 | + selectors: { | |
| 8552 | + container: '> .elementor-shape-%s' | |
| 8553 | + }, | |
| 8554 | + svgURL: elementorFrontend.config.urls.assets + 'shapes/' | |
| 8555 | + }; | |
| 8556 | + } | |
| 8557 | + }, { | |
| 8558 | + key: "getDefaultElements", | |
| 8559 | + value: function getDefaultElements() { | |
| 8560 | + var elements = {}, | |
| 8561 | + selectors = this.getSettings('selectors'); | |
| 8562 | + elements.$topContainer = this.$element.find(selectors.container.replace('%s', 'top')); | |
| 8563 | + elements.$bottomContainer = this.$element.find(selectors.container.replace('%s', 'bottom')); | |
| 8564 | + return elements; | |
| 8565 | + } | |
| 8566 | + }, { | |
| 8567 | + key: "getSvgURL", | |
| 8568 | + value: function getSvgURL(shapeType, fileName) { | |
| 8569 | + var svgURL = this.getSettings('svgURL') + fileName + '.svg'; | |
| 8570 | + | |
| 8571 | + if (elementor.config.additional_shapes && shapeType in elementor.config.additional_shapes) { | |
| 8572 | + svgURL = elementor.config.additional_shapes[shapeType]; | |
| 8573 | + | |
| 8574 | + if (-1 < fileName.indexOf('-negative')) { | |
| 8575 | + svgURL = svgURL.replace('.svg', '-negative.svg'); | |
| 8576 | + } | |
| 8577 | + } | |
| 8578 | + | |
| 8579 | + return svgURL; | |
| 8580 | + } | |
| 8581 | + }, { | |
| 8582 | + key: "buildSVG", | |
| 8583 | + value: function buildSVG(side) { | |
| 8584 | + var baseSettingKey = 'shape_divider_' + side, | |
| 8585 | + shapeType = this.getElementSettings(baseSettingKey), | |
| 8586 | + $svgContainer = this.elements['$' + side + 'Container']; | |
| 8587 | + $svgContainer.attr('data-shape', shapeType); | |
| 8588 | + | |
| 8589 | + if (!shapeType) { | |
| 8590 | + $svgContainer.empty(); // Shape-divider set to 'none' | |
| 8591 | + | |
| 8592 | + return; | |
| 8593 | + } | |
| 8594 | + | |
| 8595 | + var fileName = shapeType; | |
| 8596 | + | |
| 8597 | + if (this.getElementSettings(baseSettingKey + '_negative')) { | |
| 8598 | + fileName += '-negative'; | |
| 8599 | + } | |
| 8600 | + | |
| 8601 | + var svgURL = this.getSvgURL(shapeType, fileName); | |
| 8602 | + jQuery.get(svgURL, function (data) { | |
| 8603 | + $svgContainer.empty().append(data.childNodes[0]); | |
| 8604 | + }); | |
| 8605 | + this.setNegative(side); | |
| 8606 | + } | |
| 8607 | + }, { | |
| 8608 | + key: "setNegative", | |
| 8609 | + value: function setNegative(side) { | |
| 8610 | + this.elements['$' + side + 'Container'].attr('data-negative', !!this.getElementSettings('shape_divider_' + side + '_negative')); | |
| 8611 | + } | |
| 8612 | + }, { | |
| 8613 | + key: "onInit", | |
| 8614 | + value: function onInit() { | |
| 8615 | + var _get2, | |
| 8616 | + _this = this; | |
| 8617 | + | |
| 8618 | + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { | |
| 8619 | + args[_key] = arguments[_key]; | |
| 8620 | + } | |
| 8621 | + | |
| 8622 | + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(Shapes.prototype), "onInit", this)).call.apply(_get2, [this].concat(args)); | |
| 8623 | + | |
| 8624 | + ['top', 'bottom'].forEach(function (side) { | |
| 8625 | + if (_this.getElementSettings('shape_divider_' + side)) { | |
| 8626 | + _this.buildSVG(side); | |
| 8627 | + } | |
| 8628 | + }); | |
| 8629 | + } | |
| 8630 | + }, { | |
| 8631 | + key: "onElementChange", | |
| 8632 | + value: function onElementChange(propertyName) { | |
| 8633 | + var shapeChange = propertyName.match(/^shape_divider_(top|bottom)$/); | |
| 8634 | + | |
| 8635 | + if (shapeChange) { | |
| 8636 | + this.buildSVG(shapeChange[1]); | |
| 8637 | + return; | |
| 8638 | + } | |
| 8639 | + | |
| 8640 | + var negativeChange = propertyName.match(/^shape_divider_(top|bottom)_negative$/); | |
| 8641 | + | |
| 8642 | + if (negativeChange) { | |
| 8643 | + this.buildSVG(negativeChange[1]); | |
| 8644 | + this.setNegative(negativeChange[1]); | |
| 8645 | + } | |
| 8646 | + } | |
| 8647 | + }]); | |
| 8648 | + return Shapes; | |
| 8649 | +}(elementorModules.frontend.handlers.Base); | |
| 8650 | + | |
| 8651 | +exports.default = Shapes; | |
| 8652 | + | |
| 8653 | +/***/ }), | |
| 8654 | +/* 806 */ | |
| 8655 | +/***/ (function(module, exports, __webpack_require__) { | |
| 8656 | + | |
| 8657 | +"use strict"; | |
| 8658 | + | |
| 8659 | + | |
| 8660 | +var _interopRequireDefault = __webpack_require__(0); | |
| 8661 | + | |
| 8662 | +var _Object$defineProperty = __webpack_require__(1); | |
| 8663 | + | |
| 8664 | +_Object$defineProperty(exports, "__esModule", { | |
| 8665 | + value: true | |
| 8666 | +}); | |
| 8667 | + | |
| 8668 | +exports.default = void 0; | |
| 8669 | + | |
| 8670 | +var _backgroundSlideshow = _interopRequireDefault(__webpack_require__(698)); | |
| 8671 | + | |
| 8672 | +var _default = function _default($scope) { | |
| 8673 | + elementorFrontend.elementsHandler.addHandler(_backgroundSlideshow.default, { | |
| 8674 | + $element: $scope | |
| 8675 | + }); | |
| 8676 | +}; | |
| 8677 | + | |
| 8678 | +exports.default = _default; | |
| 8679 | + | |
| 8680 | +/***/ }), | |
| 8681 | +/* 807 */ | |
| 8682 | +/***/ (function(module, exports, __webpack_require__) { | |
| 8683 | + | |
| 8684 | +"use strict"; | |
| 8685 | + | |
| 8686 | + | |
| 8687 | +var _interopRequireDefault = __webpack_require__(0); | |
| 8688 | + | |
| 8689 | +var _Object$defineProperty = __webpack_require__(1); | |
| 8690 | + | |
| 8691 | +_Object$defineProperty(exports, "__esModule", { | |
| 8692 | + value: true | |
| 8693 | +}); | |
| 8694 | + | |
| 8695 | +exports.default = void 0; | |
| 8696 | + | |
| 8697 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 8698 | + | |
| 8699 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 8700 | + | |
| 8701 | +var _get3 = _interopRequireDefault(__webpack_require__(25)); | |
| 8702 | + | |
| 8703 | +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16)); | |
| 8704 | + | |
| 8705 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 8706 | + | |
| 8707 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 8708 | + | |
| 8709 | +var GlobalHandler = /*#__PURE__*/function (_elementorModules$fro) { | |
| 8710 | + (0, _inherits2.default)(GlobalHandler, _elementorModules$fro); | |
| 8711 | + | |
| 8712 | + var _super = (0, _createSuper2.default)(GlobalHandler); | |
| 8713 | + | |
| 8714 | + function GlobalHandler() { | |
| 8715 | + (0, _classCallCheck2.default)(this, GlobalHandler); | |
| 8716 | + return _super.apply(this, arguments); | |
| 8717 | + } | |
| 8718 | + | |
| 8719 | + (0, _createClass2.default)(GlobalHandler, [{ | |
| 8720 | + key: "getWidgetType", | |
| 8721 | + value: function getWidgetType() { | |
| 8722 | + return 'global'; | |
| 8723 | + } | |
| 8724 | + }, { | |
| 8725 | + key: "animate", | |
| 8726 | + value: function animate() { | |
| 8727 | + var $element = this.$element, | |
| 8728 | + animation = this.getAnimation(); | |
| 8729 | + | |
| 8730 | + if ('none' === animation) { | |
| 8731 | + $element.removeClass('elementor-invisible'); | |
| 8732 | + return; | |
| 8733 | + } | |
| 8734 | + | |
| 8735 | + var elementSettings = this.getElementSettings(), | |
| 8736 | + animationDelay = elementSettings._animation_delay || elementSettings.animation_delay || 0; | |
| 8737 | + $element.removeClass(animation); | |
| 8738 | + | |
| 8739 | + if (this.currentAnimation) { | |
| 8740 | + $element.removeClass(this.currentAnimation); | |
| 8741 | + } | |
| 8742 | + | |
| 8743 | + this.currentAnimation = animation; | |
| 8744 | + setTimeout(function () { | |
| 8745 | + $element.removeClass('elementor-invisible').addClass('animated ' + animation); | |
| 8746 | + }, animationDelay); | |
| 8747 | + } | |
| 8748 | + }, { | |
| 8749 | + key: "getAnimation", | |
| 8750 | + value: function getAnimation() { | |
| 8751 | + return this.getCurrentDeviceSetting('animation') || this.getCurrentDeviceSetting('_animation'); | |
| 8752 | + } | |
| 8753 | + }, { | |
| 8754 | + key: "onInit", | |
| 8755 | + value: function onInit() { | |
| 8756 | + var _get2, | |
| 8757 | + _this = this; | |
| 8758 | + | |
| 8759 | + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { | |
| 8760 | + args[_key] = arguments[_key]; | |
| 8761 | + } | |
| 8762 | + | |
| 8763 | + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(GlobalHandler.prototype), "onInit", this)).call.apply(_get2, [this].concat(args)); | |
| 8764 | + | |
| 8765 | + if (this.getAnimation()) { | |
| 8766 | + elementorFrontend.waypoint(this.$element, function () { | |
| 8767 | + return _this.animate(); | |
| 8768 | + }); | |
| 8769 | + } | |
| 8770 | + } | |
| 8771 | + }, { | |
| 8772 | + key: "onElementChange", | |
| 8773 | + value: function onElementChange(propertyName) { | |
| 8774 | + if (/^_?animation/.test(propertyName)) { | |
| 8775 | + this.animate(); | |
| 8776 | + } | |
| 8777 | + } | |
| 8778 | + }]); | |
| 8779 | + return GlobalHandler; | |
| 8780 | +}(elementorModules.frontend.handlers.Base); | |
| 8781 | + | |
| 8782 | +var _default = function _default($scope) { | |
| 8783 | + elementorFrontend.elementsHandler.addHandler(GlobalHandler, { | |
| 8784 | + $element: $scope | |
| 8785 | + }); | |
| 8786 | +}; | |
| 8787 | + | |
| 8788 | +exports.default = _default; | |
| 8789 | + | |
| 8790 | +/***/ }), | |
| 8791 | +/* 808 */ | |
| 8792 | +/***/ (function(module, exports, __webpack_require__) { | |
| 8793 | + | |
| 8794 | +"use strict"; | |
| 8795 | + | |
| 8796 | + | |
| 8797 | +module.exports = elementorModules.ViewModule.extend({ | |
| 8798 | + getDefaultSettings: function getDefaultSettings() { | |
| 8799 | + return { | |
| 8800 | + scrollDuration: 500, | |
| 8801 | + selectors: { | |
| 8802 | + links: 'a[href*="#"]', | |
| 8803 | + targets: '.elementor-element, .elementor-menu-anchor', | |
| 8804 | + scrollable: 'html, body' | |
| 8805 | + } | |
| 8806 | + }; | |
| 8807 | + }, | |
| 8808 | + getDefaultElements: function getDefaultElements() { | |
| 8809 | + var $ = jQuery, | |
| 8810 | + selectors = this.getSettings('selectors'); | |
| 8811 | + return { | |
| 8812 | + $scrollable: $(selectors.scrollable) | |
| 8813 | + }; | |
| 8814 | + }, | |
| 8815 | + bindEvents: function bindEvents() { | |
| 8816 | + elementorFrontend.elements.$document.on('click', this.getSettings('selectors.links'), this.handleAnchorLinks); | |
| 8817 | + }, | |
| 8818 | + handleAnchorLinks: function handleAnchorLinks(event) { | |
| 8819 | + var clickedLink = event.currentTarget, | |
| 8820 | + isSamePathname = location.pathname === clickedLink.pathname, | |
| 8821 | + isSameHostname = location.hostname === clickedLink.hostname, | |
| 8822 | + $anchor; | |
| 8823 | + | |
| 8824 | + if (!isSameHostname || !isSamePathname || clickedLink.hash.length < 2) { | |
| 8825 | + return; | |
| 8826 | + } | |
| 8827 | + | |
| 8828 | + try { | |
| 8829 | + $anchor = jQuery(clickedLink.hash).filter(this.getSettings('selectors.targets')); | |
| 8830 | + } catch (e) { | |
| 8831 | + return; | |
| 8832 | + } | |
| 8833 | + | |
| 8834 | + if (!$anchor.length) { | |
| 8835 | + return; | |
| 8836 | + } | |
| 8837 | + | |
| 8838 | + var scrollTop = $anchor.offset().top, | |
| 8839 | + $wpAdminBar = elementorFrontend.elements.$wpAdminBar, | |
| 8840 | + $activeStickies = jQuery('.elementor-section.elementor-sticky--active:visible'), | |
| 8841 | + maxStickyHeight = 0; | |
| 8842 | + | |
| 8843 | + if ($wpAdminBar.length > 0) { | |
| 8844 | + scrollTop -= $wpAdminBar.height(); | |
| 8845 | + } // Offset height of tallest sticky | |
| 8846 | + | |
| 8847 | + | |
| 8848 | + if ($activeStickies.length > 0) { | |
| 8849 | + maxStickyHeight = Math.max.apply(null, $activeStickies.map(function () { | |
| 8850 | + return jQuery(this).outerHeight(); | |
| 8851 | + }).get()); | |
| 8852 | + scrollTop -= maxStickyHeight; | |
| 8853 | + } | |
| 8854 | + | |
| 8855 | + event.preventDefault(); | |
| 8856 | + scrollTop = elementorFrontend.hooks.applyFilters('frontend/handlers/menu_anchor/scroll_top_distance', scrollTop); | |
| 8857 | + this.elements.$scrollable.animate({ | |
| 8858 | + scrollTop: scrollTop | |
| 8859 | + }, this.getSettings('scrollDuration'), 'linear'); | |
| 8860 | + }, | |
| 8861 | + onInit: function onInit() { | |
| 8862 | + elementorModules.ViewModule.prototype.onInit.apply(this, arguments); | |
| 8863 | + this.bindEvents(); | |
| 8864 | + } | |
| 8865 | +}); | |
| 8866 | + | |
| 8867 | +/***/ }), | |
| 8868 | +/* 809 */ | |
| 8869 | +/***/ (function(module, exports, __webpack_require__) { | |
| 8870 | + | |
| 8871 | +"use strict"; | |
| 8872 | + | |
| 8873 | + | |
| 8874 | +var _interopRequireDefault = __webpack_require__(0); | |
| 8875 | + | |
| 8876 | +__webpack_require__(119); | |
| 8877 | + | |
| 8878 | +__webpack_require__(26); | |
| 8879 | + | |
| 8880 | +__webpack_require__(58); | |
| 8881 | + | |
| 8882 | +var _screenfull = _interopRequireDefault(__webpack_require__(810)); | |
| 8883 | + | |
| 8884 | +module.exports = elementorModules.ViewModule.extend({ | |
| 8885 | + oldAspectRatio: null, | |
| 8886 | + oldAnimation: null, | |
| 8887 | + swiper: null, | |
| 8888 | + player: null, | |
| 8889 | + getDefaultSettings: function getDefaultSettings() { | |
| 8890 | + return { | |
| 8891 | + classes: { | |
| 8892 | + aspectRatio: 'elementor-aspect-ratio-%s', | |
| 8893 | + item: 'elementor-lightbox-item', | |
| 8894 | + image: 'elementor-lightbox-image', | |
| 8895 | + videoContainer: 'elementor-video-container', | |
| 8896 | + videoWrapper: 'elementor-fit-aspect-ratio', | |
| 8897 | + playButton: 'elementor-custom-embed-play', | |
| 8898 | + playButtonIcon: 'fa', | |
| 8899 | + playing: 'elementor-playing', | |
| 8900 | + hidden: 'elementor-hidden', | |
| 8901 | + invisible: 'elementor-invisible', | |
| 8902 | + preventClose: 'elementor-lightbox-prevent-close', | |
| 8903 | + slideshow: { | |
| 8904 | + container: 'swiper-container', | |
| 8905 | + slidesWrapper: 'swiper-wrapper', | |
| 8906 | + prevButton: 'elementor-swiper-button elementor-swiper-button-prev', | |
| 8907 | + nextButton: 'elementor-swiper-button elementor-swiper-button-next', | |
| 8908 | + prevButtonIcon: 'eicon-chevron-left', | |
| 8909 | + nextButtonIcon: 'eicon-chevron-right', | |
| 8910 | + slide: 'swiper-slide', | |
| 8911 | + header: 'elementor-slideshow__header', | |
| 8912 | + footer: 'elementor-slideshow__footer', | |
| 8913 | + title: 'elementor-slideshow__title', | |
| 8914 | + description: 'elementor-slideshow__description', | |
| 8915 | + counter: 'elementor-slideshow__counter', | |
| 8916 | + iconExpand: 'eicon-frame-expand', | |
| 8917 | + iconShrink: 'eicon-frame-minimize', | |
| 8918 | + iconZoomIn: 'eicon-zoom-in-bold', | |
| 8919 | + iconZoomOut: 'eicon-zoom-out-bold', | |
| 8920 | + iconShare: 'eicon-share-arrow', | |
| 8921 | + shareMenu: 'elementor-slideshow__share-menu', | |
| 8922 | + shareLinks: 'elementor-slideshow__share-links', | |
| 8923 | + hideUiVisibility: 'elementor-slideshow--ui-hidden', | |
| 8924 | + shareMode: 'elementor-slideshow--share-mode', | |
| 8925 | + fullscreenMode: 'elementor-slideshow--fullscreen-mode', | |
| 8926 | + zoomMode: 'elementor-slideshow--zoom-mode' | |
| 8927 | + } | |
| 8928 | + }, | |
| 8929 | + selectors: { | |
| 8930 | + image: '.elementor-lightbox-image', | |
| 8931 | + links: 'a, [data-elementor-lightbox]', | |
| 8932 | + slideshow: { | |
| 8933 | + activeSlide: '.swiper-slide-active', | |
| 8934 | + prevSlide: '.swiper-slide-prev', | |
| 8935 | + nextSlide: '.swiper-slide-next' | |
| 8936 | + } | |
| 8937 | + }, | |
| 8938 | + modalOptions: { | |
| 8939 | + id: 'elementor-lightbox', | |
| 8940 | + entranceAnimation: 'zoomIn', | |
| 8941 | + videoAspectRatio: 169, | |
| 8942 | + position: { | |
| 8943 | + enable: false | |
| 8944 | + } | |
| 8945 | + } | |
| 8946 | + }; | |
| 8947 | + }, | |
| 8948 | + getModal: function getModal() { | |
| 8949 | + if (!module.exports.modal) { | |
| 8950 | + this.initModal(); | |
| 8951 | + } | |
| 8952 | + | |
| 8953 | + return module.exports.modal; | |
| 8954 | + }, | |
| 8955 | + initModal: function initModal() { | |
| 8956 | + var modal = module.exports.modal = elementorFrontend.getDialogsManager().createWidget('lightbox', { | |
| 8957 | + className: 'elementor-lightbox', | |
| 8958 | + closeButton: true, | |
| 8959 | + closeButtonOptions: { | |
| 8960 | + iconClass: 'eicon-close', | |
| 8961 | + attributes: { | |
| 8962 | + tabindex: 0, | |
| 8963 | + role: 'button', | |
| 8964 | + 'aria-label': elementorFrontend.config.i18n.close + ' (Esc)' | |
| 8965 | + } | |
| 8966 | + }, | |
| 8967 | + selectors: { | |
| 8968 | + preventClose: '.' + this.getSettings('classes.preventClose') | |
| 8969 | + }, | |
| 8970 | + hide: { | |
| 8971 | + onClick: true | |
| 8972 | + } | |
| 8973 | + }); | |
| 8974 | + modal.on('hide', function () { | |
| 8975 | + modal.setMessage(''); | |
| 8976 | + }); | |
| 8977 | + }, | |
| 8978 | + showModal: function showModal(options) { | |
| 8979 | + this.elements.$closeButton = this.getModal().getElements('closeButton'); | |
| 8980 | + this.$buttons = this.elements.$closeButton; | |
| 8981 | + this.focusedButton = null; | |
| 8982 | + var self = this, | |
| 8983 | + defaultOptions = self.getDefaultSettings().modalOptions; | |
| 8984 | + self.id = options.id; | |
| 8985 | + self.setSettings('modalOptions', jQuery.extend(defaultOptions, options.modalOptions)); | |
| 8986 | + var modal = self.getModal(); | |
| 8987 | + modal.setID(self.getSettings('modalOptions.id')); | |
| 8988 | + | |
| 8989 | + modal.onShow = function () { | |
| 8990 | + DialogsManager.getWidgetType('lightbox').prototype.onShow.apply(modal, arguments); | |
| 8991 | + self.setEntranceAnimation(); | |
| 8992 | + }; | |
| 8993 | + | |
| 8994 | + modal.onHide = function () { | |
| 8995 | + DialogsManager.getWidgetType('lightbox').prototype.onHide.apply(modal, arguments); | |
| 8996 | + modal.getElements('message').removeClass('animated'); | |
| 8997 | + | |
| 8998 | + if (_screenfull.default.isFullscreen) { | |
| 8999 | + self.deactivateFullscreen(); | |
| 9000 | + } | |
| 9001 | + | |
| 9002 | + self.unbindHotKeys(); | |
| 9003 | + }; | |
| 9004 | + | |
| 9005 | + switch (options.type) { | |
| 9006 | + case 'video': | |
| 9007 | + self.setVideoContent(options); | |
| 9008 | + break; | |
| 9009 | + | |
| 9010 | + case 'image': | |
| 9011 | + var slides = [{ | |
| 9012 | + image: options.url, | |
| 9013 | + index: 0, | |
| 9014 | + title: options.title, | |
| 9015 | + description: options.description | |
| 9016 | + }]; | |
| 9017 | + options.slideshow = { | |
| 9018 | + slides: slides, | |
| 9019 | + swiper: { | |
| 9020 | + loop: false, | |
| 9021 | + pagination: false | |
| 9022 | + } | |
| 9023 | + }; | |
| 9024 | + | |
| 9025 | + case 'slideshow': | |
| 9026 | + self.setSlideshowContent(options.slideshow); | |
| 9027 | + break; | |
| 9028 | + | |
| 9029 | + default: | |
| 9030 | + self.setHTMLContent(options.html); | |
| 9031 | + } | |
| 9032 | + | |
| 9033 | + modal.show(); | |
| 9034 | + }, | |
| 9035 | + setHTMLContent: function setHTMLContent(html) { | |
| 9036 | + this.getModal().setMessage(html); | |
| 9037 | + }, | |
| 9038 | + setVideoContent: function setVideoContent(options) { | |
| 9039 | + var $ = jQuery, | |
| 9040 | + classes = this.getSettings('classes'), | |
| 9041 | + $videoContainer = $('<div>', { | |
| 9042 | + class: "".concat(classes.videoContainer, " ").concat(classes.preventClose) | |
| 9043 | + }), | |
| 9044 | + $videoWrapper = $('<div>', { | |
| 9045 | + class: classes.videoWrapper | |
| 9046 | + }), | |
| 9047 | + modal = this.getModal(); | |
| 9048 | + var $videoElement; | |
| 9049 | + | |
| 9050 | + if ('hosted' === options.videoType) { | |
| 9051 | + var videoParams = $.extend({ | |
| 9052 | + src: options.url, | |
| 9053 | + autoplay: '' | |
| 9054 | + }, options.videoParams); | |
| 9055 | + $videoElement = $('<video>', videoParams); | |
| 9056 | + } else { | |
| 9057 | + var videoURL = options.url.replace('&autoplay=0', '') + '&autoplay=1'; | |
| 9058 | + $videoElement = $('<iframe>', { | |
| 9059 | + src: videoURL, | |
| 9060 | + allowfullscreen: 1 | |
| 9061 | + }); | |
| 9062 | + } | |
| 9063 | + | |
| 9064 | + $videoContainer.append($videoWrapper); | |
| 9065 | + $videoWrapper.append($videoElement); | |
| 9066 | + modal.setMessage($videoContainer); | |
| 9067 | + this.setVideoAspectRatio(); | |
| 9068 | + var onHideMethod = modal.onHide; | |
| 9069 | + | |
| 9070 | + modal.onHide = function () { | |
| 9071 | + onHideMethod(); | |
| 9072 | + this.$buttons = jQuery(); | |
| 9073 | + this.focusedButton = null; | |
| 9074 | + modal.getElements('message').removeClass('elementor-fit-aspect-ratio'); | |
| 9075 | + }; | |
| 9076 | + }, | |
| 9077 | + getShareLinks: function getShareLinks() { | |
| 9078 | + var _this = this; | |
| 9079 | + | |
| 9080 | + var i18n = elementorFrontend.config.i18n, | |
| 9081 | + socialNetworks = { | |
| 9082 | + facebook: i18n.shareOnFacebook, | |
| 9083 | + twitter: i18n.shareOnTwitter, | |
| 9084 | + pinterest: i18n.pinIt | |
| 9085 | + }, | |
| 9086 | + $ = jQuery, | |
| 9087 | + classes = this.getSettings('classes'), | |
| 9088 | + selectors = this.getSettings('selectors'), | |
| 9089 | + $linkList = $('<div>', { | |
| 9090 | + class: classes.slideshow.shareLinks | |
| 9091 | + }), | |
| 9092 | + $activeSlide = this.getSlide('active'), | |
| 9093 | + $image = $activeSlide.find(selectors.image), | |
| 9094 | + videoUrl = $activeSlide.data('elementor-slideshow-video'); | |
| 9095 | + var itemUrl; | |
| 9096 | + | |
| 9097 | + if (videoUrl) { | |
| 9098 | + itemUrl = videoUrl; | |
| 9099 | + } else { | |
| 9100 | + itemUrl = $image.attr('src'); | |
| 9101 | + } | |
| 9102 | + | |
| 9103 | + $.each(socialNetworks, function (key, networkLabel) { | |
| 9104 | + var $link = $('<a>', { | |
| 9105 | + href: _this.createShareLink(key, itemUrl), | |
| 9106 | + target: '_blank' | |
| 9107 | + }).text(networkLabel); | |
| 9108 | + $link.prepend($('<i>', { | |
| 9109 | + class: 'eicon-' + key | |
| 9110 | + })); | |
| 9111 | + $linkList.append($link); | |
| 9112 | + }); | |
| 9113 | + | |
| 9114 | + if (!videoUrl) { | |
| 9115 | + $linkList.append($('<a>', { | |
| 9116 | + href: itemUrl, | |
| 9117 | + download: '' | |
| 9118 | + }).text(i18n.downloadImage).prepend($('<i>', { | |
| 9119 | + class: 'eicon-download-bold', | |
| 9120 | + 'aria-label': i18n.download | |
| 9121 | + }))); | |
| 9122 | + } | |
| 9123 | + | |
| 9124 | + return $linkList; | |
| 9125 | + }, | |
| 9126 | + createShareLink: function createShareLink(networkName, itemUrl) { | |
| 9127 | + var options = {}; | |
| 9128 | + | |
| 9129 | + if ('pinterest' === networkName) { | |
| 9130 | + options.image = encodeURIComponent(itemUrl); | |
| 9131 | + } else { | |
| 9132 | + var hash = elementorFrontend.utils.urlActions.createActionHash('lightbox', { | |
| 9133 | + id: this.id, | |
| 9134 | + url: itemUrl | |
| 9135 | + }); | |
| 9136 | + options.url = encodeURIComponent(location.href.replace(/#.*/, '')) + hash; | |
| 9137 | + } | |
| 9138 | + | |
| 9139 | + return ShareLink.getNetworkLink(networkName, options); | |
| 9140 | + }, | |
| 9141 | + getSlideshowHeader: function getSlideshowHeader() { | |
| 9142 | + var i18n = elementorFrontend.config.i18n, | |
| 9143 | + $ = jQuery, | |
| 9144 | + showCounter = 'yes' === elementorFrontend.getKitSettings('lightbox_enable_counter'), | |
| 9145 | + showFullscreen = 'yes' === elementorFrontend.getKitSettings('lightbox_enable_fullscreen'), | |
| 9146 | + showZoom = 'yes' === elementorFrontend.getKitSettings('lightbox_enable_zoom'), | |
| 9147 | + showShare = 'yes' === elementorFrontend.getKitSettings('lightbox_enable_share'), | |
| 9148 | + classes = this.getSettings('classes'), | |
| 9149 | + slideshowClasses = classes.slideshow, | |
| 9150 | + elements = this.elements; | |
| 9151 | + | |
| 9152 | + if (!(showCounter || showFullscreen || showZoom || showShare)) { | |
| 9153 | + return; | |
| 9154 | + } | |
| 9155 | + | |
| 9156 | + elements.$header = $('<header>', { | |
| 9157 | + class: slideshowClasses.header + ' ' + classes.preventClose | |
| 9158 | + }); | |
| 9159 | + | |
| 9160 | + if (showShare) { | |
| 9161 | + elements.$iconShare = $('<i>', { | |
| 9162 | + class: slideshowClasses.iconShare, | |
| 9163 | + role: 'button', | |
| 9164 | + 'aria-label': i18n.share, | |
| 9165 | + 'aria-expanded': false | |
| 9166 | + }).append($('<span>')); | |
| 9167 | + var $shareLinks = $('<div>'); | |
| 9168 | + $shareLinks.on('click', function (e) { | |
| 9169 | + e.stopPropagation(); | |
| 9170 | + }); | |
| 9171 | + elements.$shareMenu = $('<div>', { | |
| 9172 | + class: slideshowClasses.shareMenu | |
| 9173 | + }).append($shareLinks); | |
| 9174 | + elements.$iconShare.add(elements.$shareMenu).on('click', this.toggleShareMenu); | |
| 9175 | + elements.$header.append(elements.$iconShare, elements.$shareMenu); | |
| 9176 | + this.$buttons = this.$buttons.add(elements.$iconShare); | |
| 9177 | + } | |
| 9178 | + | |
| 9179 | + if (showZoom) { | |
| 9180 | + elements.$iconZoom = $('<i>', { | |
| 9181 | + class: slideshowClasses.iconZoomIn, | |
| 9182 | + role: 'switch', | |
| 9183 | + 'aria-checked': false, | |
| 9184 | + 'aria-label': i18n.zoom | |
| 9185 | + }); | |
| 9186 | + elements.$iconZoom.on('click', this.toggleZoomMode); | |
| 9187 | + elements.$header.append(elements.$iconZoom); | |
| 9188 | + this.$buttons = this.$buttons.add(elements.$iconZoom); | |
| 9189 | + } | |
| 9190 | + | |
| 9191 | + if (showFullscreen) { | |
| 9192 | + elements.$iconExpand = $('<i>', { | |
| 9193 | + class: slideshowClasses.iconExpand, | |
| 9194 | + role: 'switch', | |
| 9195 | + 'aria-checked': false, | |
| 9196 | + 'aria-label': i18n.fullscreen | |
| 9197 | + }).append($('<span>'), $('<span>')); | |
| 9198 | + elements.$iconExpand.on('click', this.toggleFullscreen); | |
| 9199 | + elements.$header.append(elements.$iconExpand); | |
| 9200 | + this.$buttons = this.$buttons.add(elements.$iconExpand); | |
| 9201 | + } | |
| 9202 | + | |
| 9203 | + if (showCounter) { | |
| 9204 | + elements.$counter = $('<span>', { | |
| 9205 | + class: slideshowClasses.counter | |
| 9206 | + }); | |
| 9207 | + elements.$header.append(elements.$counter); | |
| 9208 | + } | |
| 9209 | + | |
| 9210 | + return elements.$header; | |
| 9211 | + }, | |
| 9212 | + toggleFullscreen: function toggleFullscreen() { | |
| 9213 | + if (_screenfull.default.isFullscreen) { | |
| 9214 | + this.deactivateFullscreen(); | |
| 9215 | + } else if (_screenfull.default.isEnabled) { | |
| 9216 | + this.activateFullscreen(); | |
| 9217 | + } | |
| 9218 | + }, | |
| 9219 | + toggleZoomMode: function toggleZoomMode() { | |
| 9220 | + if (1 !== this.swiper.zoom.scale) { | |
| 9221 | + this.deactivateZoom(); | |
| 9222 | + } else { | |
| 9223 | + this.activateZoom(); | |
| 9224 | + } | |
| 9225 | + }, | |
| 9226 | + toggleShareMenu: function toggleShareMenu() { | |
| 9227 | + if (this.shareMode) { | |
| 9228 | + this.deactivateShareMode(); | |
| 9229 | + } else { | |
| 9230 | + this.elements.$shareMenu.html(this.getShareLinks()); | |
| 9231 | + this.activateShareMode(); | |
| 9232 | + } | |
| 9233 | + }, | |
| 9234 | + activateShareMode: function activateShareMode() { | |
| 9235 | + var classes = this.getSettings('classes'); | |
| 9236 | + this.elements.$container.addClass(classes.slideshow.shareMode); | |
| 9237 | + this.elements.$iconShare.attr('aria-expanded', true); // Prevent swiper interactions while in share mode | |
| 9238 | + | |
| 9239 | + this.swiper.detachEvents(); // Temporarily replace tabbable buttons with share-menu items | |
| 9240 | + | |
| 9241 | + this.$originalButtons = this.$buttons; | |
| 9242 | + this.$buttons = this.elements.$iconShare.add(this.elements.$shareMenu.find('a')); | |
| 9243 | + this.shareMode = true; | |
| 9244 | + }, | |
| 9245 | + deactivateShareMode: function deactivateShareMode() { | |
| 9246 | + var classes = this.getSettings('classes'); | |
| 9247 | + this.elements.$container.removeClass(classes.slideshow.shareMode); | |
| 9248 | + this.elements.$iconShare.attr('aria-expanded', false); | |
| 9249 | + this.swiper.attachEvents(); | |
| 9250 | + this.$buttons = this.$originalButtons; | |
| 9251 | + this.shareMode = false; | |
| 9252 | + }, | |
| 9253 | + activateFullscreen: function activateFullscreen() { | |
| 9254 | + var classes = this.getSettings('classes'); | |
| 9255 | + | |
| 9256 | + _screenfull.default.request(this.elements.$container.parents('.dialog-widget')[0]); | |
| 9257 | + | |
| 9258 | + this.elements.$iconExpand.removeClass(classes.slideshow.iconExpand).addClass(classes.slideshow.iconShrink).attr('aria-checked', 'true'); | |
| 9259 | + this.elements.$container.addClass(classes.slideshow.fullscreenMode); | |
| 9260 | + }, | |
| 9261 | + deactivateFullscreen: function deactivateFullscreen() { | |
| 9262 | + var classes = this.getSettings('classes'); | |
| 9263 | + | |
| 9264 | + _screenfull.default.exit(); | |
| 9265 | + | |
| 9266 | + this.elements.$iconExpand.removeClass(classes.slideshow.iconShrink).addClass(classes.slideshow.iconExpand).attr('aria-checked', 'false'); | |
| 9267 | + this.elements.$container.removeClass(classes.slideshow.fullscreenMode); | |
| 9268 | + }, | |
| 9269 | + activateZoom: function activateZoom() { | |
| 9270 | + var swiper = this.swiper, | |
| 9271 | + elements = this.elements, | |
| 9272 | + classes = this.getSettings('classes'); | |
| 9273 | + swiper.zoom.in(); | |
| 9274 | + swiper.allowSlideNext = false; | |
| 9275 | + swiper.allowSlidePrev = false; | |
| 9276 | + swiper.allowTouchMove = false; | |
| 9277 | + elements.$container.addClass(classes.slideshow.zoomMode); | |
| 9278 | + elements.$iconZoom.removeClass(classes.slideshow.iconZoomIn).addClass(classes.slideshow.iconZoomOut); | |
| 9279 | + }, | |
| 9280 | + deactivateZoom: function deactivateZoom() { | |
| 9281 | + var swiper = this.swiper, | |
| 9282 | + elements = this.elements, | |
| 9283 | + classes = this.getSettings('classes'); | |
| 9284 | + swiper.zoom.out(); | |
| 9285 | + swiper.allowSlideNext = true; | |
| 9286 | + swiper.allowSlidePrev = true; | |
| 9287 | + swiper.allowTouchMove = true; | |
| 9288 | + elements.$container.removeClass(classes.slideshow.zoomMode); | |
| 9289 | + elements.$iconZoom.removeClass(classes.slideshow.iconZoomOut).addClass(classes.slideshow.iconZoomIn); | |
| 9290 | + }, | |
| 9291 | + getSlideshowFooter: function getSlideshowFooter() { | |
| 9292 | + var $ = jQuery, | |
| 9293 | + classes = this.getSettings('classes'), | |
| 9294 | + $footer = $('<footer>', { | |
| 9295 | + class: classes.slideshow.footer + ' ' + classes.preventClose | |
| 9296 | + }), | |
| 9297 | + $title = $('<div>', { | |
| 9298 | + class: classes.slideshow.title | |
| 9299 | + }), | |
| 9300 | + $description = $('<div>', { | |
| 9301 | + class: classes.slideshow.description | |
| 9302 | + }); | |
| 9303 | + $footer.append($title, $description); | |
| 9304 | + return $footer; | |
| 9305 | + }, | |
| 9306 | + setSlideshowContent: function setSlideshowContent(options) { | |
| 9307 | + var _this2 = this; | |
| 9308 | + | |
| 9309 | + var i18n = elementorFrontend.config.i18n, | |
| 9310 | + $ = jQuery, | |
| 9311 | + isSingleSlide = 1 === options.slides.length, | |
| 9312 | + hasTitle = '' !== elementorFrontend.getKitSettings('lightbox_title_src'), | |
| 9313 | + hasDescription = '' !== elementorFrontend.getKitSettings('lightbox_description_src'), | |
| 9314 | + showFooter = hasTitle || hasDescription, | |
| 9315 | + classes = this.getSettings('classes'), | |
| 9316 | + slideshowClasses = classes.slideshow, | |
| 9317 | + $container = $('<div>', { | |
| 9318 | + class: slideshowClasses.container | |
| 9319 | + }), | |
| 9320 | + $slidesWrapper = $('<div>', { | |
| 9321 | + class: slideshowClasses.slidesWrapper | |
| 9322 | + }); | |
| 9323 | + var $prevButton, $nextButton; | |
| 9324 | + options.slides.forEach(function (slide) { | |
| 9325 | + var slideClass = slideshowClasses.slide + ' ' + classes.item; | |
| 9326 | + | |
| 9327 | + if (slide.video) { | |
| 9328 | + slideClass += ' ' + classes.video; | |
| 9329 | + } | |
| 9330 | + | |
| 9331 | + var $slide = $('<div>', { | |
| 9332 | + class: slideClass | |
| 9333 | + }); | |
| 9334 | + | |
| 9335 | + if (slide.video) { | |
| 9336 | + $slide.attr('data-elementor-slideshow-video', slide.video); | |
| 9337 | + var $playIcon = $('<div>', { | |
| 9338 | + class: classes.playButton | |
| 9339 | + }).html($('<i>', { | |
| 9340 | + class: classes.playButtonIcon, | |
| 9341 | + 'aria-label': i18n.playVideo | |
| 9342 | + })); | |
| 9343 | + $slide.append($playIcon); | |
| 9344 | + } else { | |
| 9345 | + var $zoomContainer = $('<div>', { | |
| 9346 | + class: 'swiper-zoom-container' | |
| 9347 | + }), | |
| 9348 | + $slidePlaceholder = $('<div class="swiper-lazy-preloader"></div>'), | |
| 9349 | + imageAttributes = { | |
| 9350 | + 'data-src': slide.image, | |
| 9351 | + class: classes.image + ' ' + classes.preventClose + ' swiper-lazy' | |
| 9352 | + }; | |
| 9353 | + | |
| 9354 | + if (slide.title) { | |
| 9355 | + imageAttributes['data-title'] = slide.title; | |
| 9356 | + imageAttributes.alt = slide.title; | |
| 9357 | + } | |
| 9358 | + | |
| 9359 | + if (slide.description) { | |
| 9360 | + imageAttributes['data-description'] = slide.description; | |
| 9361 | + imageAttributes.alt += ' - ' + slide.description; | |
| 9362 | + } | |
| 9363 | + | |
| 9364 | + var $slideImage = $('<img>', imageAttributes); | |
| 9365 | + $zoomContainer.append([$slideImage, $slidePlaceholder]); | |
| 9366 | + $slide.append($zoomContainer); | |
| 9367 | + } | |
| 9368 | + | |
| 9369 | + $slidesWrapper.append($slide); | |
| 9370 | + }); | |
| 9371 | + this.elements.$container = $container; | |
| 9372 | + this.elements.$header = this.getSlideshowHeader(); | |
| 9373 | + $container.prepend(this.elements.$header).append($slidesWrapper); | |
| 9374 | + | |
| 9375 | + if (!isSingleSlide) { | |
| 9376 | + $prevButton = $('<div>', { | |
| 9377 | + class: slideshowClasses.prevButton + ' ' + classes.preventClose, | |
| 9378 | + 'aria-label': i18n.previous | |
| 9379 | + }).html($('<i>', { | |
| 9380 | + class: slideshowClasses.prevButtonIcon | |
| 9381 | + })); | |
| 9382 | + $nextButton = $('<div>', { | |
| 9383 | + class: slideshowClasses.nextButton + ' ' + classes.preventClose, | |
| 9384 | + 'aria-label': i18n.next | |
| 9385 | + }).html($('<i>', { | |
| 9386 | + class: slideshowClasses.nextButtonIcon | |
| 9387 | + })); | |
| 9388 | + $container.append($nextButton, $prevButton); | |
| 9389 | + this.$buttons = this.$buttons.add($nextButton).add($prevButton); | |
| 9390 | + } | |
| 9391 | + | |
| 9392 | + if (showFooter) { | |
| 9393 | + this.elements.$footer = this.getSlideshowFooter(); | |
| 9394 | + $container.append(this.elements.$footer); | |
| 9395 | + } | |
| 9396 | + | |
| 9397 | + this.setSettings('hideUiTimeout', ''); | |
| 9398 | + $container.on('click mousemove keypress', this.showLightboxUi); | |
| 9399 | + var modal = this.getModal(); | |
| 9400 | + modal.setMessage($container); | |
| 9401 | + var onShowMethod = modal.onShow; | |
| 9402 | + | |
| 9403 | + modal.onShow = function () { | |
| 9404 | + onShowMethod(); | |
| 9405 | + var swiperOptions = { | |
| 9406 | + pagination: { | |
| 9407 | + el: '.' + slideshowClasses.counter, | |
| 9408 | + type: 'fraction' | |
| 9409 | + }, | |
| 9410 | + on: { | |
| 9411 | + slideChangeTransitionEnd: _this2.onSlideChange | |
| 9412 | + }, | |
| 9413 | + lazy: { | |
| 9414 | + loadPrevNext: true | |
| 9415 | + }, | |
| 9416 | + zoom: true, | |
| 9417 | + spaceBetween: 100, | |
| 9418 | + grabCursor: true, | |
| 9419 | + runCallbacksOnInit: false, | |
| 9420 | + loop: true, | |
| 9421 | + keyboard: true, | |
| 9422 | + handleElementorBreakpoints: true | |
| 9423 | + }; | |
| 9424 | + | |
| 9425 | + if (!isSingleSlide) { | |
| 9426 | + swiperOptions.navigation = { | |
| 9427 | + prevEl: $prevButton, | |
| 9428 | + nextEl: $nextButton | |
| 9429 | + }; | |
| 9430 | + } | |
| 9431 | + | |
| 9432 | + if (options.swiper) { | |
| 9433 | + $.extend(swiperOptions, options.swiper); | |
| 9434 | + } | |
| 9435 | + | |
| 9436 | + _this2.swiper = new Swiper($container, swiperOptions); // Expose the swiper instance in the frontend | |
| 9437 | + | |
| 9438 | + $container.data('swiper', _this2.swiper); | |
| 9439 | + | |
| 9440 | + _this2.setVideoAspectRatio(); | |
| 9441 | + | |
| 9442 | + _this2.playSlideVideo(); | |
| 9443 | + | |
| 9444 | + if (showFooter) { | |
| 9445 | + _this2.updateFooterText(); | |
| 9446 | + } | |
| 9447 | + | |
| 9448 | + _this2.bindHotKeys(); | |
| 9449 | + | |
| 9450 | + _this2.makeButtonsAccessible(); | |
| 9451 | + }; | |
| 9452 | + }, | |
| 9453 | + makeButtonsAccessible: function makeButtonsAccessible() { | |
| 9454 | + this.$buttons.attr('tabindex', 0).on('keypress', function (event) { | |
| 9455 | + var ENTER_KEY = 13, | |
| 9456 | + SPACE_KEY = 32; | |
| 9457 | + | |
| 9458 | + if (ENTER_KEY === event.which || SPACE_KEY === event.which) { | |
| 9459 | + jQuery(event.currentTarget).trigger('click'); | |
| 9460 | + } | |
| 9461 | + }); | |
| 9462 | + }, | |
| 9463 | + showLightboxUi: function showLightboxUi() { | |
| 9464 | + var _this3 = this; | |
| 9465 | + | |
| 9466 | + var slideshowClasses = this.getSettings('classes').slideshow; | |
| 9467 | + this.elements.$container.removeClass(slideshowClasses.hideUiVisibility); | |
| 9468 | + clearTimeout(this.getSettings('hideUiTimeout')); | |
| 9469 | + this.setSettings('hideUiTimeout', setTimeout(function () { | |
| 9470 | + if (!_this3.shareMode) { | |
| 9471 | + _this3.elements.$container.addClass(slideshowClasses.hideUiVisibility); | |
| 9472 | + } | |
| 9473 | + }, 3500)); | |
| 9474 | + }, | |
| 9475 | + bindHotKeys: function bindHotKeys() { | |
| 9476 | + this.getModal().getElements('window').on('keydown', this.activeKeyDown); | |
| 9477 | + }, | |
| 9478 | + unbindHotKeys: function unbindHotKeys() { | |
| 9479 | + this.getModal().getElements('window').off('keydown', this.activeKeyDown); | |
| 9480 | + }, | |
| 9481 | + activeKeyDown: function activeKeyDown(event) { | |
| 9482 | + this.showLightboxUi(); | |
| 9483 | + var TAB_KEY = 9; | |
| 9484 | + | |
| 9485 | + if (event.which === TAB_KEY) { | |
| 9486 | + var $buttons = this.$buttons; | |
| 9487 | + var focusedButton, | |
| 9488 | + isFirst = false, | |
| 9489 | + isLast = false; | |
| 9490 | + $buttons.each(function (index) { | |
| 9491 | + var item = $buttons[index]; | |
| 9492 | + | |
| 9493 | + if (jQuery(item).is(':focus')) { | |
| 9494 | + focusedButton = item; | |
| 9495 | + isFirst = 0 === index; | |
| 9496 | + isLast = $buttons.length - 1 === index; | |
| 9497 | + return false; | |
| 9498 | + } | |
| 9499 | + }); | |
| 9500 | + | |
| 9501 | + if (event.shiftKey) { | |
| 9502 | + if (isFirst) { | |
| 9503 | + event.preventDefault(); | |
| 9504 | + $buttons.last().focus(); | |
| 9505 | + } | |
| 9506 | + } else if (isLast || !focusedButton) { | |
| 9507 | + event.preventDefault(); | |
| 9508 | + $buttons.first().focus(); | |
| 9509 | + } | |
| 9510 | + } | |
| 9511 | + }, | |
| 9512 | + setVideoAspectRatio: function setVideoAspectRatio(aspectRatio) { | |
| 9513 | + aspectRatio = aspectRatio || this.getSettings('modalOptions.videoAspectRatio'); | |
| 9514 | + var $widgetContent = this.getModal().getElements('widgetContent'), | |
| 9515 | + oldAspectRatio = this.oldAspectRatio, | |
| 9516 | + aspectRatioClass = this.getSettings('classes.aspectRatio'); | |
| 9517 | + this.oldAspectRatio = aspectRatio; | |
| 9518 | + | |
| 9519 | + if (oldAspectRatio) { | |
| 9520 | + $widgetContent.removeClass(aspectRatioClass.replace('%s', oldAspectRatio)); | |
| 9521 | + } | |
| 9522 | + | |
| 9523 | + if (aspectRatio) { | |
| 9524 | + $widgetContent.addClass(aspectRatioClass.replace('%s', aspectRatio)); | |
| 9525 | + } | |
| 9526 | + }, | |
| 9527 | + getSlide: function getSlide(slideState) { | |
| 9528 | + return jQuery(this.swiper.slides).filter(this.getSettings('selectors.slideshow.' + slideState + 'Slide')); | |
| 9529 | + }, | |
| 9530 | + updateFooterText: function updateFooterText() { | |
| 9531 | + if (!this.elements.$footer) { | |
| 9532 | + return; | |
| 9533 | + } | |
| 9534 | + | |
| 9535 | + var classes = this.getSettings('classes'), | |
| 9536 | + $activeSlide = this.getSlide('active'), | |
| 9537 | + $image = $activeSlide.find('.elementor-lightbox-image'), | |
| 9538 | + titleText = $image.data('title'), | |
| 9539 | + descriptionText = $image.data('description'), | |
| 9540 | + $title = this.elements.$footer.find('.' + classes.slideshow.title), | |
| 9541 | + $description = this.elements.$footer.find('.' + classes.slideshow.description); | |
| 9542 | + $title.text(titleText || ''); | |
| 9543 | + $description.text(descriptionText || ''); | |
| 9544 | + }, | |
| 9545 | + playSlideVideo: function playSlideVideo() { | |
| 9546 | + var _this4 = this; | |
| 9547 | + | |
| 9548 | + var $activeSlide = this.getSlide('active'), | |
| 9549 | + videoURL = $activeSlide.data('elementor-slideshow-video'); | |
| 9550 | + | |
| 9551 | + if (!videoURL) { | |
| 9552 | + return; | |
| 9553 | + } | |
| 9554 | + | |
| 9555 | + var classes = this.getSettings('classes'), | |
| 9556 | + $videoContainer = jQuery('<div>', { | |
| 9557 | + class: classes.videoContainer + ' ' + classes.invisible | |
| 9558 | + }), | |
| 9559 | + $videoWrapper = jQuery('<div>', { | |
| 9560 | + class: classes.videoWrapper | |
| 9561 | + }), | |
| 9562 | + $playIcon = $activeSlide.children('.' + classes.playButton); | |
| 9563 | + var videoType, apiProvider; | |
| 9564 | + $videoContainer.append($videoWrapper); | |
| 9565 | + $activeSlide.append($videoContainer); | |
| 9566 | + | |
| 9567 | + if (-1 !== videoURL.indexOf('vimeo.com')) { | |
| 9568 | + videoType = 'vimeo'; | |
| 9569 | + apiProvider = elementorFrontend.utils.vimeo; | |
| 9570 | + } else if (videoURL.match(/^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com)/)) { | |
| 9571 | + videoType = 'youtube'; | |
| 9572 | + apiProvider = elementorFrontend.utils.youtube; | |
| 9573 | + } | |
| 9574 | + | |
| 9575 | + var videoID = apiProvider.getVideoIDFromURL(videoURL); | |
| 9576 | + apiProvider.onApiReady(function (apiObject) { | |
| 9577 | + if ('youtube' === videoType) { | |
| 9578 | + _this4.prepareYTVideo(apiObject, videoID, $videoContainer, $videoWrapper, $playIcon); | |
| 9579 | + } else if ('vimeo' === videoType) { | |
| 9580 | + _this4.prepareVimeoVideo(apiObject, videoID, $videoContainer, $videoWrapper, $playIcon); | |
| 9581 | + } | |
| 9582 | + }); | |
| 9583 | + $playIcon.addClass(classes.playing).removeClass(classes.hidden); | |
| 9584 | + }, | |
| 9585 | + prepareYTVideo: function prepareYTVideo(YT, videoID, $videoContainer, $videoWrapper, $playIcon) { | |
| 9586 | + var _this5 = this; | |
| 9587 | + | |
| 9588 | + var classes = this.getSettings('classes'), | |
| 9589 | + $videoPlaceholderElement = jQuery('<div>'); | |
| 9590 | + var startStateCode = YT.PlayerState.PLAYING; | |
| 9591 | + $videoWrapper.append($videoPlaceholderElement); // Since version 67, Chrome doesn't fire the `PLAYING` state at start time | |
| 9592 | + | |
| 9593 | + if (window.chrome) { | |
| 9594 | + startStateCode = YT.PlayerState.UNSTARTED; | |
| 9595 | + } | |
| 9596 | + | |
| 9597 | + $videoContainer.addClass('elementor-loading' + ' ' + classes.invisible); | |
| 9598 | + this.player = new YT.Player($videoPlaceholderElement[0], { | |
| 9599 | + videoId: videoID, | |
| 9600 | + events: { | |
| 9601 | + onReady: function onReady() { | |
| 9602 | + $playIcon.addClass(classes.hidden); | |
| 9603 | + $videoContainer.removeClass(classes.invisible); | |
| 9604 | + | |
| 9605 | + _this5.player.playVideo(); | |
| 9606 | + }, | |
| 9607 | + onStateChange: function onStateChange(event) { | |
| 9608 | + if (event.data === startStateCode) { | |
| 9609 | + $videoContainer.removeClass('elementor-loading' + ' ' + classes.invisible); | |
| 9610 | + } | |
| 9611 | + } | |
| 9612 | + }, | |
| 9613 | + playerVars: { | |
| 9614 | + controls: 0, | |
| 9615 | + rel: 0 | |
| 9616 | + } | |
| 9617 | + }); | |
| 9618 | + }, | |
| 9619 | + prepareVimeoVideo: function prepareVimeoVideo(Vimeo, videoId, $videoContainer, $videoWrapper, $playIcon) { | |
| 9620 | + var classes = this.getSettings('classes'), | |
| 9621 | + vimeoOptions = { | |
| 9622 | + id: videoId, | |
| 9623 | + autoplay: true, | |
| 9624 | + transparent: false, | |
| 9625 | + playsinline: false | |
| 9626 | + }; | |
| 9627 | + this.player = new Vimeo.Player($videoWrapper, vimeoOptions); | |
| 9628 | + this.player.ready().then(function () { | |
| 9629 | + $playIcon.addClass(classes.hidden); | |
| 9630 | + $videoContainer.removeClass(classes.invisible); | |
| 9631 | + }); | |
| 9632 | + }, | |
| 9633 | + setEntranceAnimation: function setEntranceAnimation(animation) { | |
| 9634 | + animation = animation || elementorFrontend.getCurrentDeviceSetting(this.getSettings('modalOptions'), 'entranceAnimation'); | |
| 9635 | + var $widgetMessage = this.getModal().getElements('message'); | |
| 9636 | + | |
| 9637 | + if (this.oldAnimation) { | |
| 9638 | + $widgetMessage.removeClass(this.oldAnimation); | |
| 9639 | + } | |
| 9640 | + | |
| 9641 | + this.oldAnimation = animation; | |
| 9642 | + | |
| 9643 | + if (animation) { | |
| 9644 | + $widgetMessage.addClass('animated ' + animation); | |
| 9645 | + } | |
| 9646 | + }, | |
| 9647 | + isLightboxLink: function isLightboxLink(element) { | |
| 9648 | + if ('A' === element.tagName && (element.hasAttribute('download') || !/^[^?]+\.(png|jpe?g|gif|svg|webp)(\?.*)?$/i.test(element.href))) { | |
| 9649 | + return false; | |
| 9650 | + } | |
| 9651 | + | |
| 9652 | + var generalOpenInLightbox = elementorFrontend.getKitSettings('global_image_lightbox'), | |
| 9653 | + currentLinkOpenInLightbox = element.dataset.elementorOpenLightbox; | |
| 9654 | + return 'yes' === currentLinkOpenInLightbox || generalOpenInLightbox && 'no' !== currentLinkOpenInLightbox; | |
| 9655 | + }, | |
| 9656 | + openSlideshow: function openSlideshow(slideshowID, initialSlideURL) { | |
| 9657 | + var $allSlideshowLinks = jQuery(this.getSettings('selectors.links')).filter(function (index, element) { | |
| 9658 | + var $element = jQuery(element); | |
| 9659 | + return slideshowID === element.dataset.elementorLightboxSlideshow && !$element.parent('.swiper-slide-duplicate').length && !$element.parents('.slick-cloned').length; | |
| 9660 | + }); | |
| 9661 | + var slides = []; | |
| 9662 | + var initialSlideIndex = 0; | |
| 9663 | + $allSlideshowLinks.each(function () { | |
| 9664 | + var slideVideo = this.dataset.elementorLightboxVideo; | |
| 9665 | + var slideIndex = this.dataset.elementorLightboxIndex; | |
| 9666 | + | |
| 9667 | + if (undefined === slideIndex) { | |
| 9668 | + slideIndex = $allSlideshowLinks.index(this); | |
| 9669 | + } | |
| 9670 | + | |
| 9671 | + if (initialSlideURL === this.href || slideVideo && initialSlideURL === slideVideo) { | |
| 9672 | + initialSlideIndex = slideIndex; | |
| 9673 | + } | |
| 9674 | + | |
| 9675 | + var slideData = { | |
| 9676 | + image: this.href, | |
| 9677 | + index: slideIndex, | |
| 9678 | + title: this.dataset.elementorLightboxTitle, | |
| 9679 | + description: this.dataset.elementorLightboxDescription | |
| 9680 | + }; | |
| 9681 | + | |
| 9682 | + if (slideVideo) { | |
| 9683 | + slideData.video = slideVideo; | |
| 9684 | + } | |
| 9685 | + | |
| 9686 | + slides.push(slideData); | |
| 9687 | + }); | |
| 9688 | + slides.sort(function (a, b) { | |
| 9689 | + return a.index - b.index; | |
| 9690 | + }); | |
| 9691 | + this.showModal({ | |
| 9692 | + type: 'slideshow', | |
| 9693 | + id: slideshowID, | |
| 9694 | + modalOptions: { | |
| 9695 | + id: 'elementor-lightbox-slideshow-' + slideshowID | |
| 9696 | + }, | |
| 9697 | + slideshow: { | |
| 9698 | + slides: slides, | |
| 9699 | + swiper: { | |
| 9700 | + initialSlide: +initialSlideIndex | |
| 9701 | + } | |
| 9702 | + } | |
| 9703 | + }); | |
| 9704 | + }, | |
| 9705 | + openLink: function openLink(event) { | |
| 9706 | + var element = event.currentTarget, | |
| 9707 | + $target = jQuery(event.target), | |
| 9708 | + editMode = elementorFrontend.isEditMode(), | |
| 9709 | + isClickInsideElementor = !!$target.closest('.elementor-edit-area').length; | |
| 9710 | + | |
| 9711 | + if (!this.isLightboxLink(element)) { | |
| 9712 | + if (editMode && isClickInsideElementor) { | |
| 9713 | + event.preventDefault(); | |
| 9714 | + } | |
| 9715 | + | |
| 9716 | + return; | |
| 9717 | + } | |
| 9718 | + | |
| 9719 | + event.preventDefault(); | |
| 9720 | + | |
| 9721 | + if (editMode && !elementor.getPreferences('lightbox_in_editor')) { | |
| 9722 | + return; | |
| 9723 | + } | |
| 9724 | + | |
| 9725 | + var lightboxData = {}; | |
| 9726 | + | |
| 9727 | + if (element.dataset.elementorLightbox) { | |
| 9728 | + lightboxData = JSON.parse(element.dataset.elementorLightbox); | |
| 9729 | + } | |
| 9730 | + | |
| 9731 | + if (lightboxData.type && 'slideshow' !== lightboxData.type) { | |
| 9732 | + this.showModal(lightboxData); | |
| 9733 | + return; | |
| 9734 | + } | |
| 9735 | + | |
| 9736 | + if (!element.dataset.elementorLightboxSlideshow) { | |
| 9737 | + var slideshowID = 'single-img'; | |
| 9738 | + this.showModal({ | |
| 9739 | + type: 'image', | |
| 9740 | + id: slideshowID, | |
| 9741 | + url: element.href, | |
| 9742 | + title: element.dataset.elementorLightboxTitle, | |
| 9743 | + description: element.dataset.elementorLightboxDescription, | |
| 9744 | + modalOptions: { | |
| 9745 | + id: 'elementor-lightbox-slideshow-' + slideshowID | |
| 9746 | + } | |
| 9747 | + }); | |
| 9748 | + return; | |
| 9749 | + } | |
| 9750 | + | |
| 9751 | + var initialSlideURL = element.dataset.elementorLightboxVideo ? element.dataset.elementorLightboxVideo : element.href; | |
| 9752 | + this.openSlideshow(element.dataset.elementorLightboxSlideshow, initialSlideURL); | |
| 9753 | + }, | |
| 9754 | + bindEvents: function bindEvents() { | |
| 9755 | + elementorFrontend.elements.$document.on('click', this.getSettings('selectors.links'), this.openLink); | |
| 9756 | + }, | |
| 9757 | + onSlideChange: function onSlideChange() { | |
| 9758 | + this.getSlide('prev').add(this.getSlide('next')).add(this.getSlide('active')).find('.' + this.getSettings('classes.videoWrapper')).remove(); | |
| 9759 | + this.playSlideVideo(); | |
| 9760 | + this.updateFooterText(); | |
| 9761 | + } | |
| 9762 | +}); | |
| 9763 | + | |
| 9764 | +/***/ }), | |
| 9765 | +/* 810 */ | |
| 9766 | +/***/ (function(module, exports, __webpack_require__) { | |
| 9767 | + | |
| 9768 | +"use strict"; | |
| 9769 | + | |
| 9770 | + | |
| 9771 | +var _interopRequireDefault = __webpack_require__(0); | |
| 9772 | + | |
| 9773 | +var _defineProperties = _interopRequireDefault(__webpack_require__(289)); | |
| 9774 | + | |
| 9775 | +var _promise = _interopRequireDefault(__webpack_require__(133)); | |
| 9776 | + | |
| 9777 | +(function () { | |
| 9778 | + 'use strict'; | |
| 9779 | + | |
| 9780 | + var document = typeof window !== 'undefined' && typeof window.document !== 'undefined' ? window.document : {}; | |
| 9781 | + var isCommonjs = true && module.exports; | |
| 9782 | + | |
| 9783 | + var fn = function () { | |
| 9784 | + var val; | |
| 9785 | + var fnMap = [['requestFullscreen', 'exitFullscreen', 'fullscreenElement', 'fullscreenEnabled', 'fullscreenchange', 'fullscreenerror'], // New WebKit | |
| 9786 | + ['webkitRequestFullscreen', 'webkitExitFullscreen', 'webkitFullscreenElement', 'webkitFullscreenEnabled', 'webkitfullscreenchange', 'webkitfullscreenerror'], // Old WebKit | |
| 9787 | + ['webkitRequestFullScreen', 'webkitCancelFullScreen', 'webkitCurrentFullScreenElement', 'webkitCancelFullScreen', 'webkitfullscreenchange', 'webkitfullscreenerror'], ['mozRequestFullScreen', 'mozCancelFullScreen', 'mozFullScreenElement', 'mozFullScreenEnabled', 'mozfullscreenchange', 'mozfullscreenerror'], ['msRequestFullscreen', 'msExitFullscreen', 'msFullscreenElement', 'msFullscreenEnabled', 'MSFullscreenChange', 'MSFullscreenError']]; | |
| 9788 | + var i = 0; | |
| 9789 | + var l = fnMap.length; | |
| 9790 | + var ret = {}; | |
| 9791 | + | |
| 9792 | + for (; i < l; i++) { | |
| 9793 | + val = fnMap[i]; | |
| 9794 | + | |
| 9795 | + if (val && val[1] in document) { | |
| 9796 | + var valLength = val.length; | |
| 9797 | + | |
| 9798 | + for (i = 0; i < valLength; i++) { | |
| 9799 | + ret[fnMap[0][i]] = val[i]; | |
| 9800 | + } | |
| 9801 | + | |
| 9802 | + return ret; | |
| 9803 | + } | |
| 9804 | + } | |
| 9805 | + | |
| 9806 | + return false; | |
| 9807 | + }(); | |
| 9808 | + | |
| 9809 | + var eventNameMap = { | |
| 9810 | + change: fn.fullscreenchange, | |
| 9811 | + error: fn.fullscreenerror | |
| 9812 | + }; | |
| 9813 | + var screenfull = { | |
| 9814 | + request: function request(element) { | |
| 9815 | + return new _promise.default(function (resolve, reject) { | |
| 9816 | + var onFullScreenEntered = function () { | |
| 9817 | + this.off('change', onFullScreenEntered); | |
| 9818 | + resolve(); | |
| 9819 | + }.bind(this); | |
| 9820 | + | |
| 9821 | + this.on('change', onFullScreenEntered); | |
| 9822 | + element = element || document.documentElement; | |
| 9823 | + | |
| 9824 | + _promise.default.resolve(element[fn.requestFullscreen]()).catch(reject); | |
| 9825 | + }.bind(this)); | |
| 9826 | + }, | |
| 9827 | + exit: function exit() { | |
| 9828 | + return new _promise.default(function (resolve, reject) { | |
| 9829 | + if (!this.isFullscreen) { | |
| 9830 | + resolve(); | |
| 9831 | + return; | |
| 9832 | + } | |
| 9833 | + | |
| 9834 | + var onFullScreenExit = function () { | |
| 9835 | + this.off('change', onFullScreenExit); | |
| 9836 | + resolve(); | |
| 9837 | + }.bind(this); | |
| 9838 | + | |
| 9839 | + this.on('change', onFullScreenExit); | |
| 9840 | + | |
| 9841 | + _promise.default.resolve(document[fn.exitFullscreen]()).catch(reject); | |
| 9842 | + }.bind(this)); | |
| 9843 | + }, | |
| 9844 | + toggle: function toggle(element) { | |
| 9845 | + return this.isFullscreen ? this.exit() : this.request(element); | |
| 9846 | + }, | |
| 9847 | + onchange: function onchange(callback) { | |
| 9848 | + this.on('change', callback); | |
| 9849 | + }, | |
| 9850 | + onerror: function onerror(callback) { | |
| 9851 | + this.on('error', callback); | |
| 9852 | + }, | |
| 9853 | + on: function on(event, callback) { | |
| 9854 | + var eventName = eventNameMap[event]; | |
| 9855 | + | |
| 9856 | + if (eventName) { | |
| 9857 | + document.addEventListener(eventName, callback, false); | |
| 9858 | + } | |
| 9859 | + }, | |
| 9860 | + off: function off(event, callback) { | |
| 9861 | + var eventName = eventNameMap[event]; | |
| 9862 | + | |
| 9863 | + if (eventName) { | |
| 9864 | + document.removeEventListener(eventName, callback, false); | |
| 9865 | + } | |
| 9866 | + }, | |
| 9867 | + raw: fn | |
| 9868 | + }; | |
| 9869 | + | |
| 9870 | + if (!fn) { | |
| 9871 | + if (isCommonjs) { | |
| 9872 | + module.exports = { | |
| 9873 | + isEnabled: false | |
| 9874 | + }; | |
| 9875 | + } else { | |
| 9876 | + window.screenfull = { | |
| 9877 | + isEnabled: false | |
| 9878 | + }; | |
| 9879 | + } | |
| 9880 | + | |
| 9881 | + return; | |
| 9882 | + } | |
| 9883 | + | |
| 9884 | + (0, _defineProperties.default)(screenfull, { | |
| 9885 | + isFullscreen: { | |
| 9886 | + get: function get() { | |
| 9887 | + return Boolean(document[fn.fullscreenElement]); | |
| 9888 | + } | |
| 9889 | + }, | |
| 9890 | + element: { | |
| 9891 | + enumerable: true, | |
| 9892 | + get: function get() { | |
| 9893 | + return document[fn.fullscreenElement]; | |
| 9894 | + } | |
| 9895 | + }, | |
| 9896 | + isEnabled: { | |
| 9897 | + enumerable: true, | |
| 9898 | + get: function get() { | |
| 9899 | + // Coerce to boolean in case of old WebKit | |
| 9900 | + return Boolean(document[fn.fullscreenEnabled]); | |
| 9901 | + } | |
| 9902 | + } | |
| 9903 | + }); | |
| 9904 | + | |
| 9905 | + if (isCommonjs) { | |
| 9906 | + module.exports = screenfull; | |
| 9907 | + } else { | |
| 9908 | + window.screenfull = screenfull; | |
| 9909 | + } | |
| 9910 | +})(); | |
| 9911 | + | |
| 9912 | +/***/ }) | |
| 9913 | +/******/ ]); | |
| 4043 | 9914 | //# sourceMappingURL=frontend.js.map |