Файловый менеджер - Редактировать - /home/digitalm/studiodentisticodigitalecm/wp-content/plugins/cmsmasters-elementor-addon/assets/js/editor.js
Назад
/*! cmsmasters-elementor-addon - v1.3.3 - 14-12-2021 */ /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.l = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); /******/ } /******/ }; /******/ /******/ // define __esModule on exports /******/ __webpack_require__.r = function(exports) { /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; /******/ /******/ // create a fake namespace object /******/ // mode & 1: value is a module id, require it /******/ // mode & 2: merge all properties of value into the ns /******/ // mode & 4: return value when already ns object /******/ // mode & 8|1: behave like require /******/ __webpack_require__.t = function(value, mode) { /******/ if(mode & 1) value = __webpack_require__(value); /******/ if(mode & 8) return value; /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; /******/ var ns = Object.create(null); /******/ __webpack_require__.r(ns); /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); /******/ return ns; /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 281); /******/ }) /************************************************************************/ /******/ ([ /* 0 */ /***/ (function(module, exports) { function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } module.exports = _interopRequireDefault; module.exports["default"] = module.exports, module.exports.__esModule = true; /***/ }), /* 1 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(130); /***/ }), /* 2 */ /***/ (function(module, exports) { function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } module.exports = _classCallCheck; module.exports["default"] = module.exports, module.exports.__esModule = true; /***/ }), /* 3 */ /***/ (function(module, exports, __webpack_require__) { var _Object$defineProperty = __webpack_require__(1); function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; _Object$defineProperty(target, descriptor.key, descriptor); } } function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } module.exports = _createClass; module.exports["default"] = module.exports, module.exports.__esModule = true; /***/ }), /* 4 */ /***/ (function(module, exports, __webpack_require__) { var _Object$create = __webpack_require__(132); var setPrototypeOf = __webpack_require__(137); function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = _Object$create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) setPrototypeOf(subClass, superClass); } module.exports = _inherits; module.exports["default"] = module.exports, module.exports.__esModule = true; /***/ }), /* 5 */ /***/ (function(module, exports, __webpack_require__) { var _Reflect$construct = __webpack_require__(88); var getPrototypeOf = __webpack_require__(6); var isNativeReflectConstruct = __webpack_require__(147); var possibleConstructorReturn = __webpack_require__(148); function _createSuper(Derived) { var hasNativeReflectConstruct = isNativeReflectConstruct(); return function _createSuperInternal() { var Super = getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf(this).constructor; result = _Reflect$construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return possibleConstructorReturn(this, result); }; } module.exports = _createSuper; module.exports["default"] = module.exports, module.exports.__esModule = true; /***/ }), /* 6 */ /***/ (function(module, exports, __webpack_require__) { var _Object$setPrototypeOf = __webpack_require__(87); var _Object$getPrototypeOf = __webpack_require__(144); function _getPrototypeOf(o) { module.exports = _getPrototypeOf = _Object$setPrototypeOf ? _Object$getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || _Object$getPrototypeOf(o); }; module.exports["default"] = module.exports, module.exports.__esModule = true; return _getPrototypeOf(o); } module.exports = _getPrototypeOf; module.exports["default"] = module.exports, module.exports.__esModule = true; /***/ }), /* 7 */ /***/ (function(module, exports) { var core = module.exports = { version: '2.6.12' }; if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef /***/ }), /* 8 */ /***/ (function(module, exports, __webpack_require__) { var _Reflect$get = __webpack_require__(162); var _Object$getOwnPropertyDescriptor = __webpack_require__(121); var superPropBase = __webpack_require__(167); function _get(target, property, receiver) { if (typeof Reflect !== "undefined" && _Reflect$get) { module.exports = _get = _Reflect$get; module.exports["default"] = module.exports, module.exports.__esModule = true; } else { module.exports = _get = function _get(target, property, receiver) { var base = superPropBase(target, property); if (!base) return; var desc = _Object$getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(receiver); } return desc.value; }; module.exports["default"] = module.exports, module.exports.__esModule = true; } return _get(target, property, receiver || target); } module.exports = _get; module.exports["default"] = module.exports, module.exports.__esModule = true; /***/ }), /* 9 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(12); var core = __webpack_require__(7); var ctx = __webpack_require__(51); var hide = __webpack_require__(27); var has = __webpack_require__(21); var PROTOTYPE = 'prototype'; var $export = function (type, name, source) { var IS_FORCED = type & $export.F; var IS_GLOBAL = type & $export.G; var IS_STATIC = type & $export.S; var IS_PROTO = type & $export.P; var IS_BIND = type & $export.B; var IS_WRAP = type & $export.W; var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); var expProto = exports[PROTOTYPE]; var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]; var key, own, out; if (IS_GLOBAL) source = name; for (key in source) { // contains in native own = !IS_FORCED && target && target[key] !== undefined; if (own && has(exports, key)) continue; // export native or passed out = own ? target[key] : source[key]; // prevent global pollution for namespaces exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key] // bind timers to global for call from export context : IS_BIND && own ? ctx(out, global) // wrap global constructors for prevent change them in library : IS_WRAP && target[key] == out ? (function (C) { var F = function (a, b, c) { if (this instanceof C) { switch (arguments.length) { case 0: return new C(); case 1: return new C(a); case 2: return new C(a, b); } return new C(a, b, c); } return C.apply(this, arguments); }; F[PROTOTYPE] = C[PROTOTYPE]; return F; // make static versions for prototype methods })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; // export proto methods to core.%CONSTRUCTOR%.methods.%NAME% if (IS_PROTO) { (exports.virtual || (exports.virtual = {}))[key] = out; // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME% if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out); } } }; // type bitmap $export.F = 1; // forced $export.G = 2; // global $export.S = 4; // static $export.P = 8; // proto $export.B = 16; // bind $export.W = 32; // wrap $export.U = 64; // safe $export.R = 128; // real proto method for `library` module.exports = $export; /***/ }), /* 10 */ /***/ (function(module, exports, __webpack_require__) { var store = __webpack_require__(70)('wks'); var uid = __webpack_require__(71); var Symbol = __webpack_require__(11).Symbol; var USE_SYMBOL = typeof Symbol == 'function'; var $exports = module.exports = function (name) { return store[name] || (store[name] = USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); }; $exports.store = store; /***/ }), /* 11 */ /***/ (function(module, exports) { // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 var global = module.exports = typeof window != 'undefined' && window.Math == Math ? window : typeof self != 'undefined' && self.Math == Math ? self // eslint-disable-next-line no-new-func : Function('return this')(); if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef /***/ }), /* 12 */ /***/ (function(module, exports) { // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 var global = module.exports = typeof window != 'undefined' && window.Math == Math ? window : typeof self != 'undefined' && self.Math == Math ? self // eslint-disable-next-line no-new-func : Function('return this')(); if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef /***/ }), /* 13 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined) var $export = __webpack_require__(24); var $find = __webpack_require__(73)(5); var KEY = 'find'; var forced = true; // Shouldn't skip holes if (KEY in []) Array(1)[KEY](function () { forced = false; }); $export($export.P + $export.F * forced, 'Array', { find: function find(callbackfn /* , that = undefined */) { return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } }); __webpack_require__(78)(KEY); /***/ }), /* 14 */ /***/ (function(module, exports, __webpack_require__) { var store = __webpack_require__(63)('wks'); var uid = __webpack_require__(47); var Symbol = __webpack_require__(12).Symbol; var USE_SYMBOL = typeof Symbol == 'function'; var $exports = module.exports = function (name) { return store[name] || (store[name] = USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); }; $exports.store = store; /***/ }), /* 15 */ /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__(16); module.exports = function (it) { if (!isObject(it)) throw TypeError(it + ' is not an object!'); return it; }; /***/ }), /* 16 */ /***/ (function(module, exports) { module.exports = function (it) { return typeof it === 'object' ? it !== null : typeof it === 'function'; }; /***/ }), /* 17 */ /***/ (function(module, exports, __webpack_require__) { // Thank's IE8 for his funny defineProperty module.exports = !__webpack_require__(26)(function () { return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; }); /***/ }), /* 18 */ /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__(23); module.exports = function (it) { if (!isObject(it)) throw TypeError(it + ' is not an object!'); return it; }; /***/ }), /* 19 */, /* 20 */ /***/ (function(module, exports, __webpack_require__) { var anObject = __webpack_require__(15); var IE8_DOM_DEFINE = __webpack_require__(84); var toPrimitive = __webpack_require__(60); var dP = Object.defineProperty; exports.f = __webpack_require__(17) ? Object.defineProperty : function defineProperty(O, P, Attributes) { anObject(O); P = toPrimitive(P, true); anObject(Attributes); if (IE8_DOM_DEFINE) try { return dP(O, P, Attributes); } catch (e) { /* empty */ } if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); if ('value' in Attributes) O[P] = Attributes.value; return O; }; /***/ }), /* 21 */ /***/ (function(module, exports) { var hasOwnProperty = {}.hasOwnProperty; module.exports = function (it, key) { return hasOwnProperty.call(it, key); }; /***/ }), /* 22 */ /***/ (function(module, exports, __webpack_require__) { // to indexed object, toObject with fallback for non-array-like ES3 strings var IObject = __webpack_require__(105); var defined = __webpack_require__(56); module.exports = function (it) { return IObject(defined(it)); }; /***/ }), /* 23 */ /***/ (function(module, exports) { module.exports = function (it) { return typeof it === 'object' ? it !== null : typeof it === 'function'; }; /***/ }), /* 24 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(11); var core = __webpack_require__(30); var hide = __webpack_require__(40); var redefine = __webpack_require__(33); var ctx = __webpack_require__(34); var PROTOTYPE = 'prototype'; var $export = function (type, name, source) { var IS_FORCED = type & $export.F; var IS_GLOBAL = type & $export.G; var IS_STATIC = type & $export.S; var IS_PROTO = type & $export.P; var IS_BIND = type & $export.B; var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]; var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}); var key, own, out, exp; if (IS_GLOBAL) source = name; for (key in source) { // contains in native own = !IS_FORCED && target && target[key] !== undefined; // export native or passed out = (own ? target : source)[key]; // bind timers to global for call from export context exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; // extend global if (target) redefine(target, key, out, type & $export.U); // export if (exports[key] != out) hide(exports, key, exp); if (IS_PROTO && expProto[key] != out) expProto[key] = out; } }; global.core = core; // type bitmap $export.F = 1; // forced $export.G = 2; // global $export.S = 4; // static $export.P = 8; // proto $export.B = 16; // bind $export.W = 32; // wrap $export.U = 64; // safe $export.R = 128; // real proto method for `library` module.exports = $export; /***/ }), /* 25 */ /***/ (function(module, exports, __webpack_require__) { // Thank's IE8 for his funny defineProperty module.exports = !__webpack_require__(28)(function () { return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; }); /***/ }), /* 26 */ /***/ (function(module, exports) { module.exports = function (exec) { try { return !!exec(); } catch (e) { return true; } }; /***/ }), /* 27 */ /***/ (function(module, exports, __webpack_require__) { var dP = __webpack_require__(20); var createDesc = __webpack_require__(35); module.exports = __webpack_require__(17) ? function (object, key, value) { return dP.f(object, key, createDesc(1, value)); } : function (object, key, value) { object[key] = value; return object; }; /***/ }), /* 28 */ /***/ (function(module, exports) { module.exports = function (exec) { try { return !!exec(); } catch (e) { return true; } }; /***/ }), /* 29 */ /***/ (function(module, exports) { var toString = {}.toString; module.exports = function (it) { return toString.call(it).slice(8, -1); }; /***/ }), /* 30 */ /***/ (function(module, exports) { var core = module.exports = { version: '2.6.12' }; if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef /***/ }), /* 31 */ /***/ (function(module, exports) { module.exports = {}; /***/ }), /* 32 */ /***/ (function(module, exports, __webpack_require__) { var anObject = __webpack_require__(18); var IE8_DOM_DEFINE = __webpack_require__(104); var toPrimitive = __webpack_require__(83); var dP = Object.defineProperty; exports.f = __webpack_require__(25) ? Object.defineProperty : function defineProperty(O, P, Attributes) { anObject(O); P = toPrimitive(P, true); anObject(Attributes); if (IE8_DOM_DEFINE) try { return dP(O, P, Attributes); } catch (e) { /* empty */ } if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); if ('value' in Attributes) O[P] = Attributes.value; return O; }; /***/ }), /* 33 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(11); var hide = __webpack_require__(40); var has = __webpack_require__(50); var SRC = __webpack_require__(71)('src'); var $toString = __webpack_require__(128); var TO_STRING = 'toString'; var TPL = ('' + $toString).split(TO_STRING); __webpack_require__(30).inspectSource = function (it) { return $toString.call(it); }; (module.exports = function (O, key, val, safe) { var isFunction = typeof val == 'function'; if (isFunction) has(val, 'name') || hide(val, 'name', key); if (O[key] === val) return; if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))); if (O === global) { O[key] = val; } else if (!safe) { delete O[key]; hide(O, key, val); } else if (O[key]) { O[key] = val; } else { hide(O, key, val); } // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative })(Function.prototype, TO_STRING, function toString() { return typeof this == 'function' && this[SRC] || $toString.call(this); }); /***/ }), /* 34 */ /***/ (function(module, exports, __webpack_require__) { // optional / simple context binding var aFunction = __webpack_require__(54); module.exports = function (fn, that, length) { aFunction(fn); if (that === undefined) return fn; switch (length) { case 1: return function (a) { return fn.call(that, a); }; case 2: return function (a, b) { return fn.call(that, a, b); }; case 3: return function (a, b, c) { return fn.call(that, a, b, c); }; } return function (/* ...args */) { return fn.apply(that, arguments); }; }; /***/ }), /* 35 */ /***/ (function(module, exports) { module.exports = function (bitmap, value) { return { enumerable: !(bitmap & 1), configurable: !(bitmap & 2), writable: !(bitmap & 4), value: value }; }; /***/ }), /* 36 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.14 / 15.2.3.14 Object.keys(O) var $keys = __webpack_require__(85); var enumBugKeys = __webpack_require__(64); module.exports = Object.keys || function keys(O) { return $keys(O, enumBugKeys); }; /***/ }), /* 37 */ /***/ (function(module, exports, __webpack_require__) { // 7.1.13 ToObject(argument) var defined = __webpack_require__(56); module.exports = function (it) { return Object(defined(it)); }; /***/ }), /* 38 */, /* 39 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var anObject = __webpack_require__(18); var toObject = __webpack_require__(81); var toLength = __webpack_require__(42); var toInteger = __webpack_require__(53); var advanceStringIndex = __webpack_require__(113); var regExpExec = __webpack_require__(102); var max = Math.max; var min = Math.min; var floor = Math.floor; var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g; var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g; var maybeToString = function (it) { return it === undefined ? it : String(it); }; // @@replace logic __webpack_require__(103)('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) { return [ // `String.prototype.replace` method // https://tc39.github.io/ecma262/#sec-string.prototype.replace function replace(searchValue, replaceValue) { var O = defined(this); var fn = searchValue == undefined ? undefined : searchValue[REPLACE]; return fn !== undefined ? fn.call(searchValue, O, replaceValue) : $replace.call(String(O), searchValue, replaceValue); }, // `RegExp.prototype[@@replace]` method // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace function (regexp, replaceValue) { var res = maybeCallNative($replace, regexp, this, replaceValue); if (res.done) return res.value; var rx = anObject(regexp); var S = String(this); var functionalReplace = typeof replaceValue === 'function'; if (!functionalReplace) replaceValue = String(replaceValue); var global = rx.global; if (global) { var fullUnicode = rx.unicode; rx.lastIndex = 0; } var results = []; while (true) { var result = regExpExec(rx, S); if (result === null) break; results.push(result); if (!global) break; var matchStr = String(result[0]); if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); } var accumulatedResult = ''; var nextSourcePosition = 0; for (var i = 0; i < results.length; i++) { result = results[i]; var matched = String(result[0]); var position = max(min(toInteger(result.index), S.length), 0); var captures = []; // NOTE: This is equivalent to // captures = result.slice(1).map(maybeToString) // but for some reason `nativeSlice.call(result, 1, result.length)` (called in // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j])); var namedCaptures = result.groups; if (functionalReplace) { var replacerArgs = [matched].concat(captures, position, S); if (namedCaptures !== undefined) replacerArgs.push(namedCaptures); var replacement = String(replaceValue.apply(undefined, replacerArgs)); } else { replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); } if (position >= nextSourcePosition) { accumulatedResult += S.slice(nextSourcePosition, position) + replacement; nextSourcePosition = position + matched.length; } } return accumulatedResult + S.slice(nextSourcePosition); } ]; // https://tc39.github.io/ecma262/#sec-getsubstitution function getSubstitution(matched, str, position, captures, namedCaptures, replacement) { var tailPos = position + matched.length; var m = captures.length; var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; if (namedCaptures !== undefined) { namedCaptures = toObject(namedCaptures); symbols = SUBSTITUTION_SYMBOLS; } return $replace.call(replacement, symbols, function (match, ch) { var capture; switch (ch.charAt(0)) { case '$': return '$'; case '&': return matched; case '`': return str.slice(0, position); case "'": return str.slice(tailPos); case '<': capture = namedCaptures[ch.slice(1, -1)]; break; default: // \d\d? var n = +ch; if (n === 0) return match; if (n > m) { var f = floor(n / 10); if (f === 0) return match; if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); return match; } capture = captures[n - 1]; } return capture === undefined ? '' : capture; }); } }); /***/ }), /* 40 */ /***/ (function(module, exports, __webpack_require__) { var dP = __webpack_require__(32); var createDesc = __webpack_require__(93); module.exports = __webpack_require__(25) ? function (object, key, value) { return dP.f(object, key, createDesc(1, value)); } : function (object, key, value) { object[key] = value; return object; }; /***/ }), /* 41 */ /***/ (function(module, exports) { // 7.2.1 RequireObjectCoercible(argument) module.exports = function (it) { if (it == undefined) throw TypeError("Can't call method on " + it); return it; }; /***/ }), /* 42 */ /***/ (function(module, exports, __webpack_require__) { // 7.1.15 ToLength var toInteger = __webpack_require__(53); var min = Math.min; module.exports = function (it) { return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 }; /***/ }), /* 43 */ /***/ (function(module, exports) { module.exports = true; /***/ }), /* 44 */ /***/ (function(module, exports, __webpack_require__) { var pIE = __webpack_require__(45); var createDesc = __webpack_require__(35); var toIObject = __webpack_require__(22); var toPrimitive = __webpack_require__(60); var has = __webpack_require__(21); var IE8_DOM_DEFINE = __webpack_require__(84); var gOPD = Object.getOwnPropertyDescriptor; exports.f = __webpack_require__(17) ? gOPD : function getOwnPropertyDescriptor(O, P) { O = toIObject(O); P = toPrimitive(P, true); if (IE8_DOM_DEFINE) try { return gOPD(O, P); } catch (e) { /* empty */ } if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); }; /***/ }), /* 45 */ /***/ (function(module, exports) { exports.f = {}.propertyIsEnumerable; /***/ }), /* 46 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) var anObject = __webpack_require__(15); var dPs = __webpack_require__(115); var enumBugKeys = __webpack_require__(64); var IE_PROTO = __webpack_require__(62)('IE_PROTO'); var Empty = function () { /* empty */ }; var PROTOTYPE = 'prototype'; // Create object with fake `null` prototype: use iframe Object with cleared prototype var createDict = function () { // Thrash, waste and sodomy: IE GC bug var iframe = __webpack_require__(75)('iframe'); var i = enumBugKeys.length; var lt = '<'; var gt = '>'; var iframeDocument; iframe.style.display = 'none'; __webpack_require__(116).appendChild(iframe); iframe.src = 'javascript:'; // eslint-disable-line no-script-url // createDict = iframe.contentWindow.Object; // html.removeChild(iframe); iframeDocument = iframe.contentWindow.document; iframeDocument.open(); iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); iframeDocument.close(); createDict = iframeDocument.F; while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; return createDict(); }; module.exports = Object.create || function create(O, Properties) { var result; if (O !== null) { Empty[PROTOTYPE] = anObject(O); result = new Empty(); Empty[PROTOTYPE] = null; // add "__proto__" for Object.getPrototypeOf polyfill result[IE_PROTO] = O; } else result = createDict(); return Properties === undefined ? result : dPs(result, Properties); }; /***/ }), /* 47 */ /***/ (function(module, exports) { var id = 0; var px = Math.random(); module.exports = function (key) { return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); }; /***/ }), /* 48 */ /***/ (function(module, exports) { module.exports = function (it) { if (typeof it != 'function') throw TypeError(it + ' is not a function!'); return it; }; /***/ }), /* 49 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $export = __webpack_require__(24); var $filter = __webpack_require__(73)(2); $export($export.P + $export.F * !__webpack_require__(172)([].filter, true), 'Array', { // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg]) filter: function filter(callbackfn /* , thisArg */) { return $filter(this, callbackfn, arguments[1]); } }); /***/ }), /* 50 */ /***/ (function(module, exports) { var hasOwnProperty = {}.hasOwnProperty; module.exports = function (it, key) { return hasOwnProperty.call(it, key); }; /***/ }), /* 51 */ /***/ (function(module, exports, __webpack_require__) { // optional / simple context binding var aFunction = __webpack_require__(48); module.exports = function (fn, that, length) { aFunction(fn); if (that === undefined) return fn; switch (length) { case 1: return function (a) { return fn.call(that, a); }; case 2: return function (a, b) { return fn.call(that, a, b); }; case 3: return function (a, b, c) { return fn.call(that, a, b, c); }; } return function (/* ...args */) { return fn.apply(that, arguments); }; }; /***/ }), /* 52 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $at = __webpack_require__(156)(true); // 21.1.3.27 String.prototype[@@iterator]() __webpack_require__(90)(String, 'String', function (iterated) { this._t = String(iterated); // target this._i = 0; // next index // 21.1.5.2.1 %StringIteratorPrototype%.next() }, function () { var O = this._t; var index = this._i; var point; if (index >= O.length) return { value: undefined, done: true }; point = $at(O, index); this._i += point.length; return { value: point, done: false }; }); /***/ }), /* 53 */ /***/ (function(module, exports) { // 7.1.4 ToInteger var ceil = Math.ceil; var floor = Math.floor; module.exports = function (it) { return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); }; /***/ }), /* 54 */ /***/ (function(module, exports) { module.exports = function (it) { if (typeof it != 'function') throw TypeError(it + ' is not a function!'); return it; }; /***/ }), /* 55 */ /***/ (function(module, exports) { var toString = {}.toString; module.exports = function (it) { return toString.call(it).slice(8, -1); }; /***/ }), /* 56 */ /***/ (function(module, exports) { // 7.2.1 RequireObjectCoercible(argument) module.exports = function (it) { if (it == undefined) throw TypeError("Can't call method on " + it); return it; }; /***/ }), /* 57 */ /***/ (function(module, exports, __webpack_require__) { var def = __webpack_require__(20).f; var has = __webpack_require__(21); var TAG = __webpack_require__(14)('toStringTag'); module.exports = function (it, tag, stat) { if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); }; /***/ }), /* 58 */, /* 59 */ /***/ (function(module, exports, __webpack_require__) { // getting tag from 19.1.3.6 Object.prototype.toString() var cof = __webpack_require__(29); var TAG = __webpack_require__(10)('toStringTag'); // ES3 wrong here var ARG = cof(function () { return arguments; }()) == 'Arguments'; // fallback for IE11 Script Access Denied error var tryGet = function (it, key) { try { return it[key]; } catch (e) { /* empty */ } }; module.exports = function (it) { var O, T, B; return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T // builtinTag case : ARG ? cof(O) // ES3 arguments fallback : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; }; /***/ }), /* 60 */ /***/ (function(module, exports, __webpack_require__) { // 7.1.1 ToPrimitive(input [, PreferredType]) var isObject = __webpack_require__(16); // instead of the ES6 spec version, we didn't implement @@toPrimitive case // and the second argument - flag - preferred type is a string module.exports = function (it, S) { if (!isObject(it)) return it; var fn, val; if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; throw TypeError("Can't convert object to primitive value"); }; /***/ }), /* 61 */ /***/ (function(module, exports) { // 7.1.4 ToInteger var ceil = Math.ceil; var floor = Math.floor; module.exports = function (it) { return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); }; /***/ }), /* 62 */ /***/ (function(module, exports, __webpack_require__) { var shared = __webpack_require__(63)('keys'); var uid = __webpack_require__(47); module.exports = function (key) { return shared[key] || (shared[key] = uid(key)); }; /***/ }), /* 63 */ /***/ (function(module, exports, __webpack_require__) { var core = __webpack_require__(7); var global = __webpack_require__(12); var SHARED = '__core-js_shared__'; var store = global[SHARED] || (global[SHARED] = {}); (module.exports = function (key, value) { return store[key] || (store[key] = value !== undefined ? value : {}); })('versions', []).push({ version: core.version, mode: __webpack_require__(43) ? 'pure' : 'global', copyright: '© 2020 Denis Pushkarev (zloirock.ru)' }); /***/ }), /* 64 */ /***/ (function(module, exports) { // IE 8- don't enum bug keys module.exports = ( 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' ).split(','); /***/ }), /* 65 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) var has = __webpack_require__(21); var toObject = __webpack_require__(37); var IE_PROTO = __webpack_require__(62)('IE_PROTO'); var ObjectProto = Object.prototype; module.exports = Object.getPrototypeOf || function (O) { O = toObject(O); if (has(O, IE_PROTO)) return O[IE_PROTO]; if (typeof O.constructor == 'function' && O instanceof O.constructor) { return O.constructor.prototype; } return O instanceof Object ? ObjectProto : null; }; /***/ }), /* 66 */ /***/ (function(module, exports, __webpack_require__) { exports.f = __webpack_require__(14); /***/ }), /* 67 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(12); var core = __webpack_require__(7); var LIBRARY = __webpack_require__(43); var wksExt = __webpack_require__(66); var defineProperty = __webpack_require__(20).f; module.exports = function (name) { var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {}); if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) }); }; /***/ }), /* 68 */ /***/ (function(module, exports) { exports.f = Object.getOwnPropertySymbols; /***/ }), /* 69 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(158); var global = __webpack_require__(12); var hide = __webpack_require__(27); var Iterators = __webpack_require__(31); var TO_STRING_TAG = __webpack_require__(14)('toStringTag'); var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' + 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' + 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' + 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' + 'TextTrackList,TouchList').split(','); for (var i = 0; i < DOMIterables.length; i++) { var NAME = DOMIterables[i]; var Collection = global[NAME]; var proto = Collection && Collection.prototype; if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); Iterators[NAME] = Iterators.Array; } /***/ }), /* 70 */ /***/ (function(module, exports, __webpack_require__) { var core = __webpack_require__(30); var global = __webpack_require__(11); var SHARED = '__core-js_shared__'; var store = global[SHARED] || (global[SHARED] = {}); (module.exports = function (key, value) { return store[key] || (store[key] = value !== undefined ? value : {}); })('versions', []).push({ version: core.version, mode: __webpack_require__(82) ? 'pure' : 'global', copyright: '© 2020 Denis Pushkarev (zloirock.ru)' }); /***/ }), /* 71 */ /***/ (function(module, exports) { var id = 0; var px = Math.random(); module.exports = function (key) { return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); }; /***/ }), /* 72 */ /***/ (function(module, exports, __webpack_require__) { // most Object methods by ES6 should accept primitives var $export = __webpack_require__(9); var core = __webpack_require__(7); var fails = __webpack_require__(26); module.exports = function (KEY, exec) { var fn = (core.Object || {})[KEY] || Object[KEY]; var exp = {}; exp[KEY] = exec(fn); $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp); }; /***/ }), /* 73 */ /***/ (function(module, exports, __webpack_require__) { // 0 -> Array#forEach // 1 -> Array#map // 2 -> Array#filter // 3 -> Array#some // 4 -> Array#every // 5 -> Array#find // 6 -> Array#findIndex var ctx = __webpack_require__(34); var IObject = __webpack_require__(96); var toObject = __webpack_require__(81); var toLength = __webpack_require__(42); var asc = __webpack_require__(168); module.exports = function (TYPE, $create) { var IS_MAP = TYPE == 1; var IS_FILTER = TYPE == 2; var IS_SOME = TYPE == 3; var IS_EVERY = TYPE == 4; var IS_FIND_INDEX = TYPE == 6; var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; var create = $create || asc; return function ($this, callbackfn, that) { var O = toObject($this); var self = IObject(O); var f = ctx(callbackfn, that, 3); var length = toLength(self.length); var index = 0; var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; var val, res; for (;length > index; index++) if (NO_HOLES || index in self) { val = self[index]; res = f(val, index, O); if (TYPE) { if (IS_MAP) result[index] = res; // map else if (res) switch (TYPE) { case 3: return true; // some case 5: return val; // find case 6: return index; // findIndex case 2: result.push(val); // filter } else if (IS_EVERY) return false; // every } } return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; }; }; /***/ }), /* 74 */ /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__(23); var document = __webpack_require__(11).document; // typeof document.createElement is 'object' in old IE var is = isObject(document) && isObject(document.createElement); module.exports = function (it) { return is ? document.createElement(it) : {}; }; /***/ }), /* 75 */ /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__(16); var document = __webpack_require__(12).document; // typeof document.createElement is 'object' in old IE var is = isObject(document) && isObject(document.createElement); module.exports = function (it) { return is ? document.createElement(it) : {}; }; /***/ }), /* 76 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(149); /***/ }), /* 77 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) var $keys = __webpack_require__(85); var hiddenKeys = __webpack_require__(64).concat('length', 'prototype'); exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { return $keys(O, hiddenKeys); }; /***/ }), /* 78 */ /***/ (function(module, exports, __webpack_require__) { // 22.1.3.31 Array.prototype[@@unscopables] var UNSCOPABLES = __webpack_require__(10)('unscopables'); var ArrayProto = Array.prototype; if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(40)(ArrayProto, UNSCOPABLES, {}); module.exports = function (key) { ArrayProto[UNSCOPABLES][key] = true; }; /***/ }), /* 79 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var global = __webpack_require__(11); var has = __webpack_require__(50); var cof = __webpack_require__(29); var inheritIfRequired = __webpack_require__(226); var toPrimitive = __webpack_require__(83); var fails = __webpack_require__(28); var gOPN = __webpack_require__(227).f; var gOPD = __webpack_require__(210).f; var dP = __webpack_require__(32).f; var $trim = __webpack_require__(239).trim; var NUMBER = 'Number'; var $Number = global[NUMBER]; var Base = $Number; var proto = $Number.prototype; // Opera ~12 has broken Object#toString var BROKEN_COF = cof(__webpack_require__(224)(proto)) == NUMBER; var TRIM = 'trim' in String.prototype; // 7.1.3 ToNumber(argument) var toNumber = function (argument) { var it = toPrimitive(argument, false); if (typeof it == 'string' && it.length > 2) { it = TRIM ? it.trim() : $trim(it, 3); var first = it.charCodeAt(0); var third, radix, maxCode; if (first === 43 || first === 45) { third = it.charCodeAt(2); if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix } else if (first === 48) { switch (it.charCodeAt(1)) { case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i default: return +it; } for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) { code = digits.charCodeAt(i); // parseInt parses a string to a first unavailable symbol // but ToNumber should return NaN if a string contains unavailable symbols if (code < 48 || code > maxCode) return NaN; } return parseInt(digits, radix); } } return +it; }; if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) { $Number = function Number(value) { var it = arguments.length < 1 ? 0 : value; var that = this; return that instanceof $Number // check on 1..constructor(foo) case && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER) ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it); }; for (var keys = __webpack_require__(25) ? gOPN(Base) : ( // ES3: 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + // ES6 (in case, if modules with ES6 Number statics required before): 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' + 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger' ).split(','), j = 0, key; keys.length > j; j++) { if (has(Base, key = keys[j]) && !has($Number, key)) { dP($Number, key, gOPD(Base, key)); } } $Number.prototype = proto; proto.constructor = $Number; __webpack_require__(33)(global, NUMBER, $Number); } /***/ }), /* 80 */, /* 81 */ /***/ (function(module, exports, __webpack_require__) { // 7.1.13 ToObject(argument) var defined = __webpack_require__(41); module.exports = function (it) { return Object(defined(it)); }; /***/ }), /* 82 */ /***/ (function(module, exports) { module.exports = false; /***/ }), /* 83 */ /***/ (function(module, exports, __webpack_require__) { // 7.1.1 ToPrimitive(input [, PreferredType]) var isObject = __webpack_require__(23); // instead of the ES6 spec version, we didn't implement @@toPrimitive case // and the second argument - flag - preferred type is a string module.exports = function (it, S) { if (!isObject(it)) return it; var fn, val; if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; throw TypeError("Can't convert object to primitive value"); }; /***/ }), /* 84 */ /***/ (function(module, exports, __webpack_require__) { module.exports = !__webpack_require__(17) && !__webpack_require__(26)(function () { return Object.defineProperty(__webpack_require__(75)('div'), 'a', { get: function () { return 7; } }).a != 7; }); /***/ }), /* 85 */ /***/ (function(module, exports, __webpack_require__) { var has = __webpack_require__(21); var toIObject = __webpack_require__(22); var arrayIndexOf = __webpack_require__(135)(false); var IE_PROTO = __webpack_require__(62)('IE_PROTO'); module.exports = function (object, names) { var O = toIObject(object); var i = 0; var result = []; var key; for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); // Don't enum bug & hidden keys while (names.length > i) if (has(O, key = names[i++])) { ~arrayIndexOf(result, key) || result.push(key); } return result; }; /***/ }), /* 86 */ /***/ (function(module, exports, __webpack_require__) { // 7.1.15 ToLength var toInteger = __webpack_require__(61); var min = Math.min; module.exports = function (it) { return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 }; /***/ }), /* 87 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(138); /***/ }), /* 88 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(141); /***/ }), /* 89 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(27); /***/ }), /* 90 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var LIBRARY = __webpack_require__(43); var $export = __webpack_require__(9); var redefine = __webpack_require__(89); var hide = __webpack_require__(27); var Iterators = __webpack_require__(31); var $iterCreate = __webpack_require__(157); var setToStringTag = __webpack_require__(57); var getPrototypeOf = __webpack_require__(65); var ITERATOR = __webpack_require__(14)('iterator'); var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` var FF_ITERATOR = '@@iterator'; var KEYS = 'keys'; var VALUES = 'values'; var returnThis = function () { return this; }; module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { $iterCreate(Constructor, NAME, next); var getMethod = function (kind) { if (!BUGGY && kind in proto) return proto[kind]; switch (kind) { case KEYS: return function keys() { return new Constructor(this, kind); }; case VALUES: return function values() { return new Constructor(this, kind); }; } return function entries() { return new Constructor(this, kind); }; }; var TAG = NAME + ' Iterator'; var DEF_VALUES = DEFAULT == VALUES; var VALUES_BUG = false; var proto = Base.prototype; var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; var $default = $native || getMethod(DEFAULT); var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; var methods, key, IteratorPrototype; // Fix native if ($anyNative) { IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { // Set @@toStringTag to native iterators setToStringTag(IteratorPrototype, TAG, true); // fix for some old engines if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis); } } // fix Array#{values, @@iterator}.name in V8 / FF if (DEF_VALUES && $native && $native.name !== VALUES) { VALUES_BUG = true; $default = function values() { return $native.call(this); }; } // Define iterator if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { hide(proto, ITERATOR, $default); } // Plug for library Iterators[NAME] = $default; Iterators[TAG] = returnThis; if (DEFAULT) { methods = { values: DEF_VALUES ? $default : getMethod(VALUES), keys: IS_SET ? $default : getMethod(KEYS), entries: $entries }; if (FORCED) for (key in methods) { if (!(key in proto)) redefine(proto, key, methods[key]); } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); } return methods; }; /***/ }), /* 91 */ /***/ (function(module, exports) { module.exports = {}; /***/ }), /* 92 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var regexpFlags = __webpack_require__(114); var nativeExec = RegExp.prototype.exec; // This always refers to the native implementation, because the // String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js, // which loads this file before patching the method. var nativeReplace = String.prototype.replace; var patchedExec = nativeExec; var LAST_INDEX = 'lastIndex'; var UPDATES_LAST_INDEX_WRONG = (function () { var re1 = /a/, re2 = /b*/g; nativeExec.call(re1, 'a'); nativeExec.call(re2, 'a'); return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0; })(); // nonparticipating capturing group, copied from es5-shim's String#split patch. var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED; if (PATCH) { patchedExec = function exec(str) { var re = this; var lastIndex, reCopy, match, i; if (NPCG_INCLUDED) { reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re)); } if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX]; match = nativeExec.call(re, str); if (UPDATES_LAST_INDEX_WRONG && match) { re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex; } if (NPCG_INCLUDED && match && match.length > 1) { // Fix browsers whose `exec` methods don't consistently return `undefined` // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ // eslint-disable-next-line no-loop-func nativeReplace.call(match[0], reCopy, function () { for (i = 1; i < arguments.length - 2; i++) { if (arguments[i] === undefined) match[i] = undefined; } }); } return match; }; } module.exports = patchedExec; /***/ }), /* 93 */ /***/ (function(module, exports) { module.exports = function (bitmap, value) { return { enumerable: !(bitmap & 1), configurable: !(bitmap & 2), writable: !(bitmap & 4), value: value }; }; /***/ }), /* 94 */ /***/ (function(module, exports, __webpack_require__) { var _Symbol = __webpack_require__(76); var _Symbol$iterator = __webpack_require__(120); function _typeof(obj) { "@babel/helpers - typeof"; if (typeof _Symbol === "function" && typeof _Symbol$iterator === "symbol") { module.exports = _typeof = function _typeof(obj) { return typeof obj; }; module.exports["default"] = module.exports, module.exports.__esModule = true; } else { module.exports = _typeof = function _typeof(obj) { return obj && typeof _Symbol === "function" && obj.constructor === _Symbol && obj !== _Symbol.prototype ? "symbol" : typeof obj; }; module.exports["default"] = module.exports, module.exports.__esModule = true; } return _typeof(obj); } module.exports = _typeof; module.exports["default"] = module.exports, module.exports.__esModule = true; /***/ }), /* 95 */ /***/ (function(module, exports, __webpack_require__) { // 7.2.2 IsArray(argument) var cof = __webpack_require__(55); module.exports = Array.isArray || function isArray(arg) { return cof(arg) == 'Array'; }; /***/ }), /* 96 */ /***/ (function(module, exports, __webpack_require__) { // fallback for non-array-like ES3 and non-enumerable old V8 strings var cof = __webpack_require__(29); // eslint-disable-next-line no-prototype-builtins module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { return cof(it) == 'String' ? it.split('') : Object(it); }; /***/ }), /* 97 */ /***/ (function(module, exports, __webpack_require__) { // 7.3.20 SpeciesConstructor(O, defaultConstructor) var anObject = __webpack_require__(18); var aFunction = __webpack_require__(54); var SPECIES = __webpack_require__(10)('species'); module.exports = function (O, D) { var C = anObject(O).constructor; var S; return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); }; /***/ }), /* 98 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var isRegExp = __webpack_require__(208); var anObject = __webpack_require__(18); var speciesConstructor = __webpack_require__(97); var advanceStringIndex = __webpack_require__(113); var toLength = __webpack_require__(42); var callRegExpExec = __webpack_require__(102); var regexpExec = __webpack_require__(92); var fails = __webpack_require__(28); var $min = Math.min; var $push = [].push; var $SPLIT = 'split'; var LENGTH = 'length'; var LAST_INDEX = 'lastIndex'; var MAX_UINT32 = 0xffffffff; // babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); }); // @@split logic __webpack_require__(103)('split', 2, function (defined, SPLIT, $split, maybeCallNative) { var internalSplit; if ( 'abbc'[$SPLIT](/(b)*/)[1] == 'c' || 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 || 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 || '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 || '.'[$SPLIT](/()()/)[LENGTH] > 1 || ''[$SPLIT](/.?/)[LENGTH] ) { // based on es5-shim implementation, need to rework it internalSplit = function (separator, limit) { var string = String(this); if (separator === undefined && limit === 0) return []; // If `separator` is not a regex, use native split if (!isRegExp(separator)) return $split.call(string, separator, limit); var output = []; var flags = (separator.ignoreCase ? 'i' : '') + (separator.multiline ? 'm' : '') + (separator.unicode ? 'u' : '') + (separator.sticky ? 'y' : ''); var lastLastIndex = 0; var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0; // Make `global` and avoid `lastIndex` issues by working with a copy var separatorCopy = new RegExp(separator.source, flags + 'g'); var match, lastIndex, lastLength; while (match = regexpExec.call(separatorCopy, string)) { lastIndex = separatorCopy[LAST_INDEX]; if (lastIndex > lastLastIndex) { output.push(string.slice(lastLastIndex, match.index)); if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1)); lastLength = match[0][LENGTH]; lastLastIndex = lastIndex; if (output[LENGTH] >= splitLimit) break; } if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop } if (lastLastIndex === string[LENGTH]) { if (lastLength || !separatorCopy.test('')) output.push(''); } else output.push(string.slice(lastLastIndex)); return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output; }; // Chakra, V8 } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) { internalSplit = function (separator, limit) { return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit); }; } else { internalSplit = $split; } return [ // `String.prototype.split` method // https://tc39.github.io/ecma262/#sec-string.prototype.split function split(separator, limit) { var O = defined(this); var splitter = separator == undefined ? undefined : separator[SPLIT]; return splitter !== undefined ? splitter.call(separator, O, limit) : internalSplit.call(String(O), separator, limit); }, // `RegExp.prototype[@@split]` method // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split // // NOTE: This cannot be properly polyfilled in engines that don't support // the 'y' flag. function (regexp, limit) { var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split); if (res.done) return res.value; var rx = anObject(regexp); var S = String(this); var C = speciesConstructor(rx, RegExp); var unicodeMatching = rx.unicode; var flags = (rx.ignoreCase ? 'i' : '') + (rx.multiline ? 'm' : '') + (rx.unicode ? 'u' : '') + (SUPPORTS_Y ? 'y' : 'g'); // ^(? + rx + ) is needed, in combination with some S slicing, to // simulate the 'y' flag. var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags); var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; if (lim === 0) return []; if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; var p = 0; var q = 0; var A = []; while (q < S.length) { splitter.lastIndex = SUPPORTS_Y ? q : 0; var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q)); var e; if ( z === null || (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p ) { q = advanceStringIndex(S, q, unicodeMatching); } else { A.push(S.slice(p, q)); if (A.length === lim) return A; for (var i = 1; i <= z.length - 1; i++) { A.push(z[i]); if (A.length === lim) return A; } q = p = e; } } A.push(S.slice(p)); return A; } ]; }); /***/ }), /* 99 */ /***/ (function(module, exports, __webpack_require__) { // to indexed object, toObject with fallback for non-array-like ES3 strings var IObject = __webpack_require__(96); var defined = __webpack_require__(41); module.exports = function (it) { return IObject(defined(it)); }; /***/ }), /* 100 */, /* 101 */, /* 102 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var classof = __webpack_require__(59); var builtinExec = RegExp.prototype.exec; // `RegExpExec` abstract operation // https://tc39.github.io/ecma262/#sec-regexpexec module.exports = function (R, S) { var exec = R.exec; if (typeof exec === 'function') { var result = exec.call(R, S); if (typeof result !== 'object') { throw new TypeError('RegExp exec method returned something other than an Object or null'); } return result; } if (classof(R) !== 'RegExp') { throw new TypeError('RegExp#exec called on incompatible receiver'); } return builtinExec.call(R, S); }; /***/ }), /* 103 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; __webpack_require__(196); var redefine = __webpack_require__(33); var hide = __webpack_require__(40); var fails = __webpack_require__(28); var defined = __webpack_require__(41); var wks = __webpack_require__(10); var regexpExec = __webpack_require__(92); var SPECIES = wks('species'); var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { // #replace needs built-in support for named groups. // #match works fine because it just return the exec results, even if it has // a "grops" property. var re = /./; re.exec = function () { var result = []; result.groups = { a: '7' }; return result; }; return ''.replace(re, '$<a>') !== '7'; }); var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () { // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec var re = /(?:)/; var originalExec = re.exec; re.exec = function () { return originalExec.apply(this, arguments); }; var result = 'ab'.split(re); return result.length === 2 && result[0] === 'a' && result[1] === 'b'; })(); module.exports = function (KEY, length, exec) { var SYMBOL = wks(KEY); var DELEGATES_TO_SYMBOL = !fails(function () { // String methods call symbol-named RegEp methods var O = {}; O[SYMBOL] = function () { return 7; }; return ''[KEY](O) != 7; }); var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () { // Symbol-named RegExp methods call .exec var execCalled = false; var re = /a/; re.exec = function () { execCalled = true; return null; }; if (KEY === 'split') { // RegExp[@@split] doesn't call the regex's exec method, but first creates // a new one. We need to return the patched regex when creating the new one. re.constructor = {}; re.constructor[SPECIES] = function () { return re; }; } re[SYMBOL](''); return !execCalled; }) : undefined; if ( !DELEGATES_TO_SYMBOL || !DELEGATES_TO_EXEC || (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) || (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) ) { var nativeRegExpMethod = /./[SYMBOL]; var fns = exec( defined, SYMBOL, ''[KEY], function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) { if (regexp.exec === regexpExec) { if (DELEGATES_TO_SYMBOL && !forceStringMethod) { // The native String method already delegates to @@method (this // polyfilled function), leasing to infinite recursion. // We avoid it by directly calling the native @@method method. return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) }; } return { done: true, value: nativeMethod.call(str, regexp, arg2) }; } return { done: false }; } ); var strfn = fns[0]; var rxfn = fns[1]; redefine(String.prototype, KEY, strfn); hide(RegExp.prototype, SYMBOL, length == 2 // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) // 21.2.5.11 RegExp.prototype[@@split](string, limit) ? function (string, arg) { return rxfn.call(string, this, arg); } // 21.2.5.6 RegExp.prototype[@@match](string) // 21.2.5.9 RegExp.prototype[@@search](string) : function (string) { return rxfn.call(string, this); } ); } }; /***/ }), /* 104 */ /***/ (function(module, exports, __webpack_require__) { module.exports = !__webpack_require__(25) && !__webpack_require__(28)(function () { return Object.defineProperty(__webpack_require__(74)('div'), 'a', { get: function () { return 7; } }).a != 7; }); /***/ }), /* 105 */ /***/ (function(module, exports, __webpack_require__) { // fallback for non-array-like ES3 and non-enumerable old V8 strings var cof = __webpack_require__(55); // eslint-disable-next-line no-prototype-builtins module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { return cof(it) == 'String' ? it.split('') : Object(it); }; /***/ }), /* 106 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // 19.1.3.6 Object.prototype.toString() var classof = __webpack_require__(59); var test = {}; test[__webpack_require__(10)('toStringTag')] = 'z'; if (test + '' != '[object z]') { __webpack_require__(33)(Object.prototype, 'toString', function toString() { return '[object ' + classof(this) + ']'; }, true); } /***/ }), /* 107 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/Array.prototype.includes var $export = __webpack_require__(24); var $includes = __webpack_require__(173)(true); $export($export.P, 'Array', { includes: function includes(el /* , fromIndex = 0 */) { return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); } }); __webpack_require__(78)('includes'); /***/ }), /* 108 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(242); /***/ }), /* 109 */, /* 110 */, /* 111 */, /* 112 */, /* 113 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var at = __webpack_require__(195)(true); // `AdvanceStringIndex` abstract operation // https://tc39.github.io/ecma262/#sec-advancestringindex module.exports = function (S, index, unicode) { return index + (unicode ? at(S, index).length : 1); }; /***/ }), /* 114 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // 21.2.5.3 get RegExp.prototype.flags var anObject = __webpack_require__(18); module.exports = function () { var that = anObject(this); var result = ''; if (that.global) result += 'g'; if (that.ignoreCase) result += 'i'; if (that.multiline) result += 'm'; if (that.unicode) result += 'u'; if (that.sticky) result += 'y'; return result; }; /***/ }), /* 115 */ /***/ (function(module, exports, __webpack_require__) { var dP = __webpack_require__(20); var anObject = __webpack_require__(15); var getKeys = __webpack_require__(36); module.exports = __webpack_require__(17) ? Object.defineProperties : function defineProperties(O, Properties) { anObject(O); var keys = getKeys(Properties); var length = keys.length; var i = 0; var P; while (length > i) dP.f(O, P = keys[i++], Properties[P]); return O; }; /***/ }), /* 116 */ /***/ (function(module, exports, __webpack_require__) { var document = __webpack_require__(12).document; module.exports = document && document.documentElement; /***/ }), /* 117 */ /***/ (function(module, exports) { // fast apply, http://jsperf.lnkit.com/fast-apply/5 module.exports = function (fn, args, that) { var un = that === undefined; switch (args.length) { case 0: return un ? fn() : fn.call(that); case 1: return un ? fn(args[0]) : fn.call(that, args[0]); case 2: return un ? fn(args[0], args[1]) : fn.call(that, args[0], args[1]); case 3: return un ? fn(args[0], args[1], args[2]) : fn.call(that, args[0], args[1], args[2]); case 4: return un ? fn(args[0], args[1], args[2], args[3]) : fn.call(that, args[0], args[1], args[2], args[3]); } return fn.apply(that, args); }; /***/ }), /* 118 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // ECMAScript 6 symbols shim var global = __webpack_require__(12); var has = __webpack_require__(21); var DESCRIPTORS = __webpack_require__(17); var $export = __webpack_require__(9); var redefine = __webpack_require__(89); var META = __webpack_require__(150).KEY; var $fails = __webpack_require__(26); var shared = __webpack_require__(63); var setToStringTag = __webpack_require__(57); var uid = __webpack_require__(47); var wks = __webpack_require__(14); var wksExt = __webpack_require__(66); var wksDefine = __webpack_require__(67); var enumKeys = __webpack_require__(151); var isArray = __webpack_require__(95); var anObject = __webpack_require__(15); var isObject = __webpack_require__(16); var toObject = __webpack_require__(37); var toIObject = __webpack_require__(22); var toPrimitive = __webpack_require__(60); var createDesc = __webpack_require__(35); var _create = __webpack_require__(46); var gOPNExt = __webpack_require__(152); var $GOPD = __webpack_require__(44); var $GOPS = __webpack_require__(68); var $DP = __webpack_require__(20); var $keys = __webpack_require__(36); var gOPD = $GOPD.f; var dP = $DP.f; var gOPN = gOPNExt.f; var $Symbol = global.Symbol; var $JSON = global.JSON; var _stringify = $JSON && $JSON.stringify; var PROTOTYPE = 'prototype'; var HIDDEN = wks('_hidden'); var TO_PRIMITIVE = wks('toPrimitive'); var isEnum = {}.propertyIsEnumerable; var SymbolRegistry = shared('symbol-registry'); var AllSymbols = shared('symbols'); var OPSymbols = shared('op-symbols'); var ObjectProto = Object[PROTOTYPE]; var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f; var QObject = global.QObject; // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 var setSymbolDesc = DESCRIPTORS && $fails(function () { return _create(dP({}, 'a', { get: function () { return dP(this, 'a', { value: 7 }).a; } })).a != 7; }) ? function (it, key, D) { var protoDesc = gOPD(ObjectProto, key); if (protoDesc) delete ObjectProto[key]; dP(it, key, D); if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc); } : dP; var wrap = function (tag) { var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]); sym._k = tag; return sym; }; var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) { return typeof it == 'symbol'; } : function (it) { return it instanceof $Symbol; }; var $defineProperty = function defineProperty(it, key, D) { if (it === ObjectProto) $defineProperty(OPSymbols, key, D); anObject(it); key = toPrimitive(key, true); anObject(D); if (has(AllSymbols, key)) { if (!D.enumerable) { if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {})); it[HIDDEN][key] = true; } else { if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false; D = _create(D, { enumerable: createDesc(0, false) }); } return setSymbolDesc(it, key, D); } return dP(it, key, D); }; var $defineProperties = function defineProperties(it, P) { anObject(it); var keys = enumKeys(P = toIObject(P)); var i = 0; var l = keys.length; var key; while (l > i) $defineProperty(it, key = keys[i++], P[key]); return it; }; var $create = function create(it, P) { return P === undefined ? _create(it) : $defineProperties(_create(it), P); }; var $propertyIsEnumerable = function propertyIsEnumerable(key) { var E = isEnum.call(this, key = toPrimitive(key, true)); if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false; return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true; }; var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { it = toIObject(it); key = toPrimitive(key, true); if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return; var D = gOPD(it, key); if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true; return D; }; var $getOwnPropertyNames = function getOwnPropertyNames(it) { var names = gOPN(toIObject(it)); var result = []; var i = 0; var key; while (names.length > i) { if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key); } return result; }; var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { var IS_OP = it === ObjectProto; var names = gOPN(IS_OP ? OPSymbols : toIObject(it)); var result = []; var i = 0; var key; while (names.length > i) { if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]); } return result; }; // 19.4.1.1 Symbol([description]) if (!USE_NATIVE) { $Symbol = function Symbol() { if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!'); var tag = uid(arguments.length > 0 ? arguments[0] : undefined); var $set = function (value) { if (this === ObjectProto) $set.call(OPSymbols, value); if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; setSymbolDesc(this, tag, createDesc(1, value)); }; if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set }); return wrap(tag); }; redefine($Symbol[PROTOTYPE], 'toString', function toString() { return this._k; }); $GOPD.f = $getOwnPropertyDescriptor; $DP.f = $defineProperty; __webpack_require__(77).f = gOPNExt.f = $getOwnPropertyNames; __webpack_require__(45).f = $propertyIsEnumerable; $GOPS.f = $getOwnPropertySymbols; if (DESCRIPTORS && !__webpack_require__(43)) { redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true); } wksExt.f = function (name) { return wrap(wks(name)); }; } $export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol }); for (var es6Symbols = ( // 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 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables' ).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]); for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]); $export($export.S + $export.F * !USE_NATIVE, 'Symbol', { // 19.4.2.1 Symbol.for(key) 'for': function (key) { return has(SymbolRegistry, key += '') ? SymbolRegistry[key] : SymbolRegistry[key] = $Symbol(key); }, // 19.4.2.5 Symbol.keyFor(sym) keyFor: function keyFor(sym) { if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!'); for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; }, useSetter: function () { setter = true; }, useSimple: function () { setter = false; } }); $export($export.S + $export.F * !USE_NATIVE, 'Object', { // 19.1.2.2 Object.create(O [, Properties]) create: $create, // 19.1.2.4 Object.defineProperty(O, P, Attributes) defineProperty: $defineProperty, // 19.1.2.3 Object.defineProperties(O, Properties) defineProperties: $defineProperties, // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) getOwnPropertyDescriptor: $getOwnPropertyDescriptor, // 19.1.2.7 Object.getOwnPropertyNames(O) getOwnPropertyNames: $getOwnPropertyNames, // 19.1.2.8 Object.getOwnPropertySymbols(O) getOwnPropertySymbols: $getOwnPropertySymbols }); // Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives // https://bugs.chromium.org/p/v8/issues/detail?id=3443 var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); }); $export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', { getOwnPropertySymbols: function getOwnPropertySymbols(it) { return $GOPS.f(toObject(it)); } }); // 24.3.2 JSON.stringify(value [, replacer [, space]]) $JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () { var S = $Symbol(); // MS Edge converts symbol values to JSON as {} // WebKit converts symbol values to JSON as null // V8 throws on boxed symbols return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}'; })), 'JSON', { stringify: function stringify(it) { var args = [it]; var i = 1; var replacer, $replacer; while (arguments.length > i) args.push(arguments[i++]); $replacer = replacer = args[1]; if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined if (!isArray(replacer)) replacer = function (key, value) { if (typeof $replacer == 'function') value = $replacer.call(this, key, value); if (!isSymbol(value)) return value; }; args[1] = replacer; return _stringify.apply($JSON, args); } }); // 19.4.3.4 Symbol.prototype[@@toPrimitive](hint) $Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(27)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); // 19.4.3.5 Symbol.prototype[@@toStringTag] setToStringTag($Symbol, 'Symbol'); // 20.2.1.9 Math[@@toStringTag] setToStringTag(Math, 'Math', true); // 24.3.3 JSON[@@toStringTag] setToStringTag(global.JSON, 'JSON', true); /***/ }), /* 119 */ /***/ (function(module, exports) { /***/ }), /* 120 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(155); /***/ }), /* 121 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(165); /***/ }), /* 122 */ /***/ (function(module, exports, __webpack_require__) { var anObject = __webpack_require__(18); var isObject = __webpack_require__(23); var newPromiseCapability = __webpack_require__(123); module.exports = function (C, x) { anObject(C); if (isObject(x) && x.constructor === C) return x; var promiseCapability = newPromiseCapability.f(C); var resolve = promiseCapability.resolve; resolve(x); return promiseCapability.promise; }; /***/ }), /* 123 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // 25.4.1.5 NewPromiseCapability(C) var aFunction = __webpack_require__(54); function PromiseCapability(C) { var resolve, reject; this.promise = new C(function ($$resolve, $$reject) { if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor'); resolve = $$resolve; reject = $$reject; }); this.resolve = aFunction(resolve); this.reject = aFunction(reject); } module.exports.f = function (C) { return new PromiseCapability(C); }; /***/ }), /* 124 */ /***/ (function(module, exports, __webpack_require__) { var ctx = __webpack_require__(34); var invoke = __webpack_require__(202); var html = __webpack_require__(125); var cel = __webpack_require__(74); var global = __webpack_require__(11); var process = global.process; var setTask = global.setImmediate; var clearTask = global.clearImmediate; var MessageChannel = global.MessageChannel; var Dispatch = global.Dispatch; var counter = 0; var queue = {}; var ONREADYSTATECHANGE = 'onreadystatechange'; var defer, channel, port; var run = function () { var id = +this; // eslint-disable-next-line no-prototype-builtins if (queue.hasOwnProperty(id)) { var fn = queue[id]; delete queue[id]; fn(); } }; var listener = function (event) { run.call(event.data); }; // Node.js 0.9+ & IE10+ has setImmediate, otherwise: if (!setTask || !clearTask) { setTask = function setImmediate(fn) { var args = []; var i = 1; while (arguments.length > i) args.push(arguments[i++]); queue[++counter] = function () { // eslint-disable-next-line no-new-func invoke(typeof fn == 'function' ? fn : Function(fn), args); }; defer(counter); return counter; }; clearTask = function clearImmediate(id) { delete queue[id]; }; // Node.js 0.8- if (__webpack_require__(29)(process) == 'process') { defer = function (id) { process.nextTick(ctx(run, id, 1)); }; // Sphere (JS game engine) Dispatch API } else if (Dispatch && Dispatch.now) { defer = function (id) { Dispatch.now(ctx(run, id, 1)); }; // Browsers with MessageChannel, includes WebWorkers } else if (MessageChannel) { channel = new MessageChannel(); port = channel.port2; channel.port1.onmessage = listener; defer = ctx(port.postMessage, port, 1); // Browsers with postMessage, skip WebWorkers // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) { defer = function (id) { global.postMessage(id + '', '*'); }; global.addEventListener('message', listener, false); // IE8- } else if (ONREADYSTATECHANGE in cel('script')) { defer = function (id) { html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () { html.removeChild(this); run.call(id); }; }; // Rest old browsers } else { defer = function (id) { setTimeout(ctx(run, id, 1), 0); }; } } module.exports = { set: setTask, clear: clearTask }; /***/ }), /* 125 */ /***/ (function(module, exports, __webpack_require__) { var document = __webpack_require__(11).document; module.exports = document && document.documentElement; /***/ }), /* 126 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $export = __webpack_require__(24); var $map = __webpack_require__(73)(1); $export($export.P + $export.F * !__webpack_require__(172)([].map, true), 'Array', { // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg]) map: function map(callbackfn /* , thisArg */) { return $map(this, callbackfn, arguments[1]); } }); /***/ }), /* 127 */, /* 128 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(70)('native-function-to-string', Function.toString); /***/ }), /* 129 */ /***/ (function(module, exports, __webpack_require__) { var dP = __webpack_require__(32).f; var FProto = Function.prototype; var nameRE = /^\s*function ([^ (]*)/; var NAME = 'name'; // 19.2.4.2 name NAME in FProto || __webpack_require__(25) && dP(FProto, NAME, { configurable: true, get: function () { try { return ('' + this).match(nameRE)[1]; } catch (e) { return ''; } } }); /***/ }), /* 130 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(131); var $Object = __webpack_require__(7).Object; module.exports = function defineProperty(it, key, desc) { return $Object.defineProperty(it, key, desc); }; /***/ }), /* 131 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(9); // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) $export($export.S + $export.F * !__webpack_require__(17), 'Object', { defineProperty: __webpack_require__(20).f }); /***/ }), /* 132 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(133); /***/ }), /* 133 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(134); var $Object = __webpack_require__(7).Object; module.exports = function create(P, D) { return $Object.create(P, D); }; /***/ }), /* 134 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(9); // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) $export($export.S, 'Object', { create: __webpack_require__(46) }); /***/ }), /* 135 */ /***/ (function(module, exports, __webpack_require__) { // false -> Array#indexOf // true -> Array#includes var toIObject = __webpack_require__(22); var toLength = __webpack_require__(86); var toAbsoluteIndex = __webpack_require__(136); module.exports = function (IS_INCLUDES) { return function ($this, el, fromIndex) { var O = toIObject($this); var length = toLength(O.length); var index = toAbsoluteIndex(fromIndex, length); var value; // Array#includes uses SameValueZero equality algorithm // eslint-disable-next-line no-self-compare if (IS_INCLUDES && el != el) while (length > index) { value = O[index++]; // eslint-disable-next-line no-self-compare if (value != value) return true; // Array#indexOf ignores holes, Array#includes - not } else for (;length > index; index++) if (IS_INCLUDES || index in O) { if (O[index] === el) return IS_INCLUDES || index || 0; } return !IS_INCLUDES && -1; }; }; /***/ }), /* 136 */ /***/ (function(module, exports, __webpack_require__) { var toInteger = __webpack_require__(61); var max = Math.max; var min = Math.min; module.exports = function (index, length) { index = toInteger(index); return index < 0 ? max(index + length, 0) : min(index, length); }; /***/ }), /* 137 */ /***/ (function(module, exports, __webpack_require__) { var _Object$setPrototypeOf = __webpack_require__(87); function _setPrototypeOf(o, p) { module.exports = _setPrototypeOf = _Object$setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; module.exports["default"] = module.exports, module.exports.__esModule = true; return _setPrototypeOf(o, p); } module.exports = _setPrototypeOf; module.exports["default"] = module.exports, module.exports.__esModule = true; /***/ }), /* 138 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(139); module.exports = __webpack_require__(7).Object.setPrototypeOf; /***/ }), /* 139 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.3.19 Object.setPrototypeOf(O, proto) var $export = __webpack_require__(9); $export($export.S, 'Object', { setPrototypeOf: __webpack_require__(140).set }); /***/ }), /* 140 */ /***/ (function(module, exports, __webpack_require__) { // Works with __proto__ only. Old v8 can't work with null proto objects. /* eslint-disable no-proto */ var isObject = __webpack_require__(16); var anObject = __webpack_require__(15); var check = function (O, proto) { anObject(O); if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); }; module.exports = { set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line function (test, buggy, set) { try { set = __webpack_require__(51)(Function.call, __webpack_require__(44).f(Object.prototype, '__proto__').set, 2); set(test, []); buggy = !(test instanceof Array); } catch (e) { buggy = true; } return function setPrototypeOf(O, proto) { check(O, proto); if (buggy) O.__proto__ = proto; else set(O, proto); return O; }; }({}, false) : undefined), check: check }; /***/ }), /* 141 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(142); module.exports = __webpack_require__(7).Reflect.construct; /***/ }), /* 142 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) var $export = __webpack_require__(9); var create = __webpack_require__(46); var aFunction = __webpack_require__(48); var anObject = __webpack_require__(15); var isObject = __webpack_require__(16); var fails = __webpack_require__(26); var bind = __webpack_require__(143); var rConstruct = (__webpack_require__(12).Reflect || {}).construct; // MS Edge supports only 2 arguments and argumentsList argument is optional // FF Nightly sets third argument as `new.target`, but does not create `this` from it var NEW_TARGET_BUG = fails(function () { function F() { /* empty */ } return !(rConstruct(function () { /* empty */ }, [], F) instanceof F); }); var ARGS_BUG = !fails(function () { rConstruct(function () { /* empty */ }); }); $export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { construct: function construct(Target, args /* , newTarget */) { aFunction(Target); anObject(args); var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]); if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget); if (Target == newTarget) { // w/o altered newTarget, optimization for 0-4 arguments switch (args.length) { case 0: return new Target(); case 1: return new Target(args[0]); case 2: return new Target(args[0], args[1]); case 3: return new Target(args[0], args[1], args[2]); case 4: return new Target(args[0], args[1], args[2], args[3]); } // w/o altered newTarget, lot of arguments case var $args = [null]; $args.push.apply($args, args); return new (bind.apply(Target, $args))(); } // with altered newTarget, not support built-in constructors var proto = newTarget.prototype; var instance = create(isObject(proto) ? proto : Object.prototype); var result = Function.apply.call(Target, instance, args); return isObject(result) ? result : instance; } }); /***/ }), /* 143 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var aFunction = __webpack_require__(48); var isObject = __webpack_require__(16); var invoke = __webpack_require__(117); var arraySlice = [].slice; var factories = {}; var construct = function (F, len, args) { if (!(len in factories)) { for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']'; // eslint-disable-next-line no-new-func factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')'); } return factories[len](F, args); }; module.exports = Function.bind || function bind(that /* , ...args */) { var fn = aFunction(this); var partArgs = arraySlice.call(arguments, 1); var bound = function (/* args... */) { var args = partArgs.concat(arraySlice.call(arguments)); return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that); }; if (isObject(fn.prototype)) bound.prototype = fn.prototype; return bound; }; /***/ }), /* 144 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(145); /***/ }), /* 145 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(146); module.exports = __webpack_require__(7).Object.getPrototypeOf; /***/ }), /* 146 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.9 Object.getPrototypeOf(O) var toObject = __webpack_require__(37); var $getPrototypeOf = __webpack_require__(65); __webpack_require__(72)('getPrototypeOf', function () { return function getPrototypeOf(it) { return $getPrototypeOf(toObject(it)); }; }); /***/ }), /* 147 */ /***/ (function(module, exports, __webpack_require__) { var _Reflect$construct = __webpack_require__(88); function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !_Reflect$construct) return false; if (_Reflect$construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } module.exports = _isNativeReflectConstruct; module.exports["default"] = module.exports, module.exports.__esModule = true; /***/ }), /* 148 */ /***/ (function(module, exports, __webpack_require__) { var _typeof = __webpack_require__(94)["default"]; var assertThisInitialized = __webpack_require__(161); function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return assertThisInitialized(self); } module.exports = _possibleConstructorReturn; module.exports["default"] = module.exports, module.exports.__esModule = true; /***/ }), /* 149 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(118); __webpack_require__(119); __webpack_require__(153); __webpack_require__(154); module.exports = __webpack_require__(7).Symbol; /***/ }), /* 150 */ /***/ (function(module, exports, __webpack_require__) { var META = __webpack_require__(47)('meta'); var isObject = __webpack_require__(16); var has = __webpack_require__(21); var setDesc = __webpack_require__(20).f; var id = 0; var isExtensible = Object.isExtensible || function () { return true; }; var FREEZE = !__webpack_require__(26)(function () { return isExtensible(Object.preventExtensions({})); }); var setMeta = function (it) { setDesc(it, META, { value: { i: 'O' + ++id, // object ID w: {} // weak collections IDs } }); }; var fastKey = function (it, create) { // return primitive with prefix if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; if (!has(it, META)) { // can't set metadata to uncaught frozen object if (!isExtensible(it)) return 'F'; // not necessary to add metadata if (!create) return 'E'; // add missing metadata setMeta(it); // return object ID } return it[META].i; }; var getWeak = function (it, create) { if (!has(it, META)) { // can't set metadata to uncaught frozen object if (!isExtensible(it)) return true; // not necessary to add metadata if (!create) return false; // add missing metadata setMeta(it); // return hash weak collections IDs } return it[META].w; }; // add metadata on freeze-family methods calling var onFreeze = function (it) { if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it); return it; }; var meta = module.exports = { KEY: META, NEED: false, fastKey: fastKey, getWeak: getWeak, onFreeze: onFreeze }; /***/ }), /* 151 */ /***/ (function(module, exports, __webpack_require__) { // all enumerable object keys, includes symbols var getKeys = __webpack_require__(36); var gOPS = __webpack_require__(68); var pIE = __webpack_require__(45); module.exports = function (it) { var result = getKeys(it); var getSymbols = gOPS.f; if (getSymbols) { var symbols = getSymbols(it); var isEnum = pIE.f; var i = 0; var key; while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key); } return result; }; /***/ }), /* 152 */ /***/ (function(module, exports, __webpack_require__) { // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window var toIObject = __webpack_require__(22); var gOPN = __webpack_require__(77).f; var toString = {}.toString; var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : []; var getWindowNames = function (it) { try { return gOPN(it); } catch (e) { return windowNames.slice(); } }; module.exports.f = function getOwnPropertyNames(it) { return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); }; /***/ }), /* 153 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(67)('asyncIterator'); /***/ }), /* 154 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(67)('observable'); /***/ }), /* 155 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(52); __webpack_require__(69); module.exports = __webpack_require__(66).f('iterator'); /***/ }), /* 156 */ /***/ (function(module, exports, __webpack_require__) { var toInteger = __webpack_require__(61); var defined = __webpack_require__(56); // true -> String#at // false -> String#codePointAt module.exports = function (TO_STRING) { return function (that, pos) { var s = String(defined(that)); var i = toInteger(pos); var l = s.length; var a, b; if (i < 0 || i >= l) return TO_STRING ? '' : undefined; a = s.charCodeAt(i); return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff ? TO_STRING ? s.charAt(i) : a : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; }; }; /***/ }), /* 157 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var create = __webpack_require__(46); var descriptor = __webpack_require__(35); var setToStringTag = __webpack_require__(57); var IteratorPrototype = {}; // 25.1.2.1.1 %IteratorPrototype%[@@iterator]() __webpack_require__(27)(IteratorPrototype, __webpack_require__(14)('iterator'), function () { return this; }); module.exports = function (Constructor, NAME, next) { Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); setToStringTag(Constructor, NAME + ' Iterator'); }; /***/ }), /* 158 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var addToUnscopables = __webpack_require__(159); var step = __webpack_require__(160); var Iterators = __webpack_require__(31); var toIObject = __webpack_require__(22); // 22.1.3.4 Array.prototype.entries() // 22.1.3.13 Array.prototype.keys() // 22.1.3.29 Array.prototype.values() // 22.1.3.30 Array.prototype[@@iterator]() module.exports = __webpack_require__(90)(Array, 'Array', function (iterated, kind) { this._t = toIObject(iterated); // target this._i = 0; // next index this._k = kind; // kind // 22.1.5.2.1 %ArrayIteratorPrototype%.next() }, function () { var O = this._t; var kind = this._k; var index = this._i++; if (!O || index >= O.length) { this._t = undefined; return step(1); } if (kind == 'keys') return step(0, index); if (kind == 'values') return step(0, O[index]); return step(0, [index, O[index]]); }, 'values'); // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) Iterators.Arguments = Iterators.Array; addToUnscopables('keys'); addToUnscopables('values'); addToUnscopables('entries'); /***/ }), /* 159 */ /***/ (function(module, exports) { module.exports = function () { /* empty */ }; /***/ }), /* 160 */ /***/ (function(module, exports) { module.exports = function (done, value) { return { value: value, done: !!done }; }; /***/ }), /* 161 */ /***/ (function(module, exports) { function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } module.exports = _assertThisInitialized; module.exports["default"] = module.exports, module.exports.__esModule = true; /***/ }), /* 162 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(163); /***/ }), /* 163 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(164); module.exports = __webpack_require__(7).Reflect.get; /***/ }), /* 164 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.6 Reflect.get(target, propertyKey [, receiver]) var gOPD = __webpack_require__(44); var getPrototypeOf = __webpack_require__(65); var has = __webpack_require__(21); var $export = __webpack_require__(9); var isObject = __webpack_require__(16); var anObject = __webpack_require__(15); function get(target, propertyKey /* , receiver */) { var receiver = arguments.length < 3 ? target : arguments[2]; var desc, proto; if (anObject(target) === receiver) return target[propertyKey]; if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value') ? desc.value : desc.get !== undefined ? desc.get.call(receiver) : undefined; if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver); } $export($export.S, 'Reflect', { get: get }); /***/ }), /* 165 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(166); var $Object = __webpack_require__(7).Object; module.exports = function getOwnPropertyDescriptor(it, key) { return $Object.getOwnPropertyDescriptor(it, key); }; /***/ }), /* 166 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) var toIObject = __webpack_require__(22); var $getOwnPropertyDescriptor = __webpack_require__(44).f; __webpack_require__(72)('getOwnPropertyDescriptor', function () { return function getOwnPropertyDescriptor(it, key) { return $getOwnPropertyDescriptor(toIObject(it), key); }; }); /***/ }), /* 167 */ /***/ (function(module, exports, __webpack_require__) { var getPrototypeOf = __webpack_require__(6); function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = getPrototypeOf(object); if (object === null) break; } return object; } module.exports = _superPropBase; module.exports["default"] = module.exports, module.exports.__esModule = true; /***/ }), /* 168 */ /***/ (function(module, exports, __webpack_require__) { // 9.4.2.3 ArraySpeciesCreate(originalArray, length) var speciesConstructor = __webpack_require__(169); module.exports = function (original, length) { return new (speciesConstructor(original))(length); }; /***/ }), /* 169 */ /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__(23); var isArray = __webpack_require__(170); var SPECIES = __webpack_require__(10)('species'); module.exports = function (original) { var C; if (isArray(original)) { C = original.constructor; // cross-realm fallback if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; if (isObject(C)) { C = C[SPECIES]; if (C === null) C = undefined; } } return C === undefined ? Array : C; }; /***/ }), /* 170 */ /***/ (function(module, exports, __webpack_require__) { // 7.2.2 IsArray(argument) var cof = __webpack_require__(29); module.exports = Array.isArray || function isArray(arg) { return cof(arg) == 'Array'; }; /***/ }), /* 171 */ /***/ (function(module, exports, __webpack_require__) { var def = __webpack_require__(32).f; var has = __webpack_require__(50); var TAG = __webpack_require__(10)('toStringTag'); module.exports = function (it, tag, stat) { if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); }; /***/ }), /* 172 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var fails = __webpack_require__(28); module.exports = function (method, arg) { return !!method && fails(function () { // eslint-disable-next-line no-useless-call arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null); }); }; /***/ }), /* 173 */ /***/ (function(module, exports, __webpack_require__) { // false -> Array#indexOf // true -> Array#includes var toIObject = __webpack_require__(99); var toLength = __webpack_require__(42); var toAbsoluteIndex = __webpack_require__(184); module.exports = function (IS_INCLUDES) { return function ($this, el, fromIndex) { var O = toIObject($this); var length = toLength(O.length); var index = toAbsoluteIndex(fromIndex, length); var value; // Array#includes uses SameValueZero equality algorithm // eslint-disable-next-line no-self-compare if (IS_INCLUDES && el != el) while (length > index) { value = O[index++]; // eslint-disable-next-line no-self-compare if (value != value) return true; // Array#indexOf ignores holes, Array#includes - not } else for (;length > index; index++) if (IS_INCLUDES || index in O) { if (O[index] === el) return IS_INCLUDES || index || 0; } return !IS_INCLUDES && -1; }; }; /***/ }), /* 174 */ /***/ (function(module, exports) { // IE 8- don't enum bug keys module.exports = ( 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' ).split(','); /***/ }), /* 175 */, /* 176 */, /* 177 */, /* 178 */, /* 179 */, /* 180 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var EditorModule = function EditorModule() { var self = this; this.init = function () { jQuery(window).on('elementor:init', this.onElementorReady.bind(this)); }; this.getView = function (name) { var editor = elementor.getPanelView().getCurrentPageView(); return editor.children.findByModelCid(this.getControl(name).cid); }; this.getControl = function (name) { var editor = elementor.getPanelView().getCurrentPageView(); return editor.collection.findWhere({ name: name }); }; this.onElementorReady = function () { self.onElementorInit(); elementor.on('frontend:init', function () { self.onElementorFrontendInit(); }); elementor.on('preview:loaded', function () { self.onElementorPreviewLoaded(); }); }; this.init(); }; EditorModule.prototype.onElementorInit = function () {}; EditorModule.prototype.onElementorFrontendInit = function () {}; EditorModule.prototype.onElementorPreviewLoaded = function () {}; EditorModule.extend = Backbone.View.extend; module.exports = EditorModule; /***/ }), /* 181 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/proposal-promise-finally var $export = __webpack_require__(24); var core = __webpack_require__(30); var global = __webpack_require__(11); var speciesConstructor = __webpack_require__(97); var promiseResolve = __webpack_require__(122); $export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) { var C = speciesConstructor(this, core.Promise || global.Promise); var isFunction = typeof onFinally == 'function'; return this.then( isFunction ? function (x) { return promiseResolve(C, onFinally()).then(function () { return x; }); } : onFinally, isFunction ? function (e) { return promiseResolve(C, onFinally()).then(function () { throw e; }); } : onFinally ); } }); /***/ }), /* 182 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var LIBRARY = __webpack_require__(82); var global = __webpack_require__(11); var ctx = __webpack_require__(34); var classof = __webpack_require__(59); var $export = __webpack_require__(24); var isObject = __webpack_require__(23); var aFunction = __webpack_require__(54); var anInstance = __webpack_require__(197); var forOf = __webpack_require__(198); var speciesConstructor = __webpack_require__(97); var task = __webpack_require__(124).set; var microtask = __webpack_require__(203)(); var newPromiseCapabilityModule = __webpack_require__(123); var perform = __webpack_require__(204); var userAgent = __webpack_require__(205); var promiseResolve = __webpack_require__(122); var PROMISE = 'Promise'; var TypeError = global.TypeError; var process = global.process; var versions = process && process.versions; var v8 = versions && versions.v8 || ''; var $Promise = global[PROMISE]; var isNode = classof(process) == 'process'; var empty = function () { /* empty */ }; var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper; var newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f; var USE_NATIVE = !!function () { try { // correct subclassing with @@species support var promise = $Promise.resolve(1); var FakePromise = (promise.constructor = {})[__webpack_require__(10)('species')] = function (exec) { exec(empty, empty); }; // unhandled rejections tracking support, NodeJS Promise without it fails @@species test return (isNode || typeof PromiseRejectionEvent == 'function') && promise.then(empty) instanceof FakePromise // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 // we can't detect it synchronously, so just check versions && v8.indexOf('6.6') !== 0 && userAgent.indexOf('Chrome/66') === -1; } catch (e) { /* empty */ } }(); // helpers var isThenable = function (it) { var then; return isObject(it) && typeof (then = it.then) == 'function' ? then : false; }; var notify = function (promise, isReject) { if (promise._n) return; promise._n = true; var chain = promise._c; microtask(function () { var value = promise._v; var ok = promise._s == 1; var i = 0; var run = function (reaction) { var handler = ok ? reaction.ok : reaction.fail; var resolve = reaction.resolve; var reject = reaction.reject; var domain = reaction.domain; var result, then, exited; try { if (handler) { if (!ok) { if (promise._h == 2) onHandleUnhandled(promise); promise._h = 1; } if (handler === true) result = value; else { if (domain) domain.enter(); result = handler(value); // may throw if (domain) { domain.exit(); exited = true; } } if (result === reaction.promise) { reject(TypeError('Promise-chain cycle')); } else if (then = isThenable(result)) { then.call(result, resolve, reject); } else resolve(result); } else reject(value); } catch (e) { if (domain && !exited) domain.exit(); reject(e); } }; while (chain.length > i) run(chain[i++]); // variable length - can't use forEach promise._c = []; promise._n = false; if (isReject && !promise._h) onUnhandled(promise); }); }; var onUnhandled = function (promise) { task.call(global, function () { var value = promise._v; var unhandled = isUnhandled(promise); var result, handler, console; if (unhandled) { result = perform(function () { if (isNode) { process.emit('unhandledRejection', value, promise); } else if (handler = global.onunhandledrejection) { handler({ promise: promise, reason: value }); } else if ((console = global.console) && console.error) { console.error('Unhandled promise rejection', value); } }); // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should promise._h = isNode || isUnhandled(promise) ? 2 : 1; } promise._a = undefined; if (unhandled && result.e) throw result.v; }); }; var isUnhandled = function (promise) { return promise._h !== 1 && (promise._a || promise._c).length === 0; }; var onHandleUnhandled = function (promise) { task.call(global, function () { var handler; if (isNode) { process.emit('rejectionHandled', promise); } else if (handler = global.onrejectionhandled) { handler({ promise: promise, reason: promise._v }); } }); }; var $reject = function (value) { var promise = this; if (promise._d) return; promise._d = true; promise = promise._w || promise; // unwrap promise._v = value; promise._s = 2; if (!promise._a) promise._a = promise._c.slice(); notify(promise, true); }; var $resolve = function (value) { var promise = this; var then; if (promise._d) return; promise._d = true; promise = promise._w || promise; // unwrap try { if (promise === value) throw TypeError("Promise can't be resolved itself"); if (then = isThenable(value)) { microtask(function () { var wrapper = { _w: promise, _d: false }; // wrap try { then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1)); } catch (e) { $reject.call(wrapper, e); } }); } else { promise._v = value; promise._s = 1; notify(promise, false); } } catch (e) { $reject.call({ _w: promise, _d: false }, e); // wrap } }; // constructor polyfill if (!USE_NATIVE) { // 25.4.3.1 Promise(executor) $Promise = function Promise(executor) { anInstance(this, $Promise, PROMISE, '_h'); aFunction(executor); Internal.call(this); try { executor(ctx($resolve, this, 1), ctx($reject, this, 1)); } catch (err) { $reject.call(this, err); } }; // eslint-disable-next-line no-unused-vars Internal = function Promise(executor) { this._c = []; // <- awaiting reactions this._a = undefined; // <- checked in isUnhandled reactions this._s = 0; // <- state this._d = false; // <- done this._v = undefined; // <- value this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled this._n = false; // <- notify }; Internal.prototype = __webpack_require__(206)($Promise.prototype, { // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected) then: function then(onFulfilled, onRejected) { var reaction = newPromiseCapability(speciesConstructor(this, $Promise)); reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true; reaction.fail = typeof onRejected == 'function' && onRejected; reaction.domain = isNode ? process.domain : undefined; this._c.push(reaction); if (this._a) this._a.push(reaction); if (this._s) notify(this, false); return reaction.promise; }, // 25.4.5.1 Promise.prototype.catch(onRejected) 'catch': function (onRejected) { return this.then(undefined, onRejected); } }); OwnPromiseCapability = function () { var promise = new Internal(); this.promise = promise; this.resolve = ctx($resolve, promise, 1); this.reject = ctx($reject, promise, 1); }; newPromiseCapabilityModule.f = newPromiseCapability = function (C) { return C === $Promise || C === Wrapper ? new OwnPromiseCapability(C) : newGenericPromiseCapability(C); }; } $export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise }); __webpack_require__(171)($Promise, PROMISE); __webpack_require__(183)(PROMISE); Wrapper = __webpack_require__(30)[PROMISE]; // statics $export($export.S + $export.F * !USE_NATIVE, PROMISE, { // 25.4.4.5 Promise.reject(r) reject: function reject(r) { var capability = newPromiseCapability(this); var $$reject = capability.reject; $$reject(r); return capability.promise; } }); $export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, { // 25.4.4.6 Promise.resolve(x) resolve: function resolve(x) { return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x); } }); $export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(207)(function (iter) { $Promise.all(iter)['catch'](empty); })), PROMISE, { // 25.4.4.1 Promise.all(iterable) all: function all(iterable) { var C = this; var capability = newPromiseCapability(C); var resolve = capability.resolve; var reject = capability.reject; var result = perform(function () { var values = []; var index = 0; var remaining = 1; forOf(iterable, false, function (promise) { var $index = index++; var alreadyCalled = false; values.push(undefined); remaining++; C.resolve(promise).then(function (value) { if (alreadyCalled) return; alreadyCalled = true; values[$index] = value; --remaining || resolve(values); }, reject); }); --remaining || resolve(values); }); if (result.e) reject(result.v); return capability.promise; }, // 25.4.4.4 Promise.race(iterable) race: function race(iterable) { var C = this; var capability = newPromiseCapability(C); var reject = capability.reject; var result = perform(function () { forOf(iterable, false, function (promise) { C.resolve(promise).then(capability.resolve, reject); }); }); if (result.e) reject(result.v); return capability.promise; } }); /***/ }), /* 183 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var global = __webpack_require__(11); var dP = __webpack_require__(32); var DESCRIPTORS = __webpack_require__(25); var SPECIES = __webpack_require__(10)('species'); module.exports = function (KEY) { var C = global[KEY]; if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, { configurable: true, get: function () { return this; } }); }; /***/ }), /* 184 */ /***/ (function(module, exports, __webpack_require__) { var toInteger = __webpack_require__(53); var max = Math.max; var min = Math.min; module.exports = function (index, length) { index = toInteger(index); return index < 0 ? max(index + length, 0) : min(index, length); }; /***/ }), /* 185 */ /***/ (function(module, exports, __webpack_require__) { var shared = __webpack_require__(70)('keys'); var uid = __webpack_require__(71); module.exports = function (key) { return shared[key] || (shared[key] = uid(key)); }; /***/ }), /* 186 */, /* 187 */, /* 188 */, /* 189 */, /* 190 */, /* 191 */, /* 192 */, /* 193 */, /* 194 */, /* 195 */ /***/ (function(module, exports, __webpack_require__) { var toInteger = __webpack_require__(53); var defined = __webpack_require__(41); // true -> String#at // false -> String#codePointAt module.exports = function (TO_STRING) { return function (that, pos) { var s = String(defined(that)); var i = toInteger(pos); var l = s.length; var a, b; if (i < 0 || i >= l) return TO_STRING ? '' : undefined; a = s.charCodeAt(i); return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff ? TO_STRING ? s.charAt(i) : a : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; }; }; /***/ }), /* 196 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var regexpExec = __webpack_require__(92); __webpack_require__(24)({ target: 'RegExp', proto: true, forced: regexpExec !== /./.exec }, { exec: regexpExec }); /***/ }), /* 197 */ /***/ (function(module, exports) { module.exports = function (it, Constructor, name, forbiddenField) { if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) { throw TypeError(name + ': incorrect invocation!'); } return it; }; /***/ }), /* 198 */ /***/ (function(module, exports, __webpack_require__) { var ctx = __webpack_require__(34); var call = __webpack_require__(199); var isArrayIter = __webpack_require__(200); var anObject = __webpack_require__(18); var toLength = __webpack_require__(42); var getIterFn = __webpack_require__(201); var BREAK = {}; var RETURN = {}; var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) { var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable); var f = ctx(fn, that, entries ? 2 : 1); var index = 0; var length, step, iterator, result; if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!'); // fast case for arrays with default iterator if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) { result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]); if (result === BREAK || result === RETURN) return result; } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) { result = call(iterator, f, step.value, entries); if (result === BREAK || result === RETURN) return result; } }; exports.BREAK = BREAK; exports.RETURN = RETURN; /***/ }), /* 199 */ /***/ (function(module, exports, __webpack_require__) { // call something on iterator step with safe closing on error var anObject = __webpack_require__(18); module.exports = function (iterator, fn, value, entries) { try { return entries ? fn(anObject(value)[0], value[1]) : fn(value); // 7.4.6 IteratorClose(iterator, completion) } catch (e) { var ret = iterator['return']; if (ret !== undefined) anObject(ret.call(iterator)); throw e; } }; /***/ }), /* 200 */ /***/ (function(module, exports, __webpack_require__) { // check on default Array iterator var Iterators = __webpack_require__(91); var ITERATOR = __webpack_require__(10)('iterator'); var ArrayProto = Array.prototype; module.exports = function (it) { return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); }; /***/ }), /* 201 */ /***/ (function(module, exports, __webpack_require__) { var classof = __webpack_require__(59); var ITERATOR = __webpack_require__(10)('iterator'); var Iterators = __webpack_require__(91); module.exports = __webpack_require__(30).getIteratorMethod = function (it) { if (it != undefined) return it[ITERATOR] || it['@@iterator'] || Iterators[classof(it)]; }; /***/ }), /* 202 */ /***/ (function(module, exports) { // fast apply, http://jsperf.lnkit.com/fast-apply/5 module.exports = function (fn, args, that) { var un = that === undefined; switch (args.length) { case 0: return un ? fn() : fn.call(that); case 1: return un ? fn(args[0]) : fn.call(that, args[0]); case 2: return un ? fn(args[0], args[1]) : fn.call(that, args[0], args[1]); case 3: return un ? fn(args[0], args[1], args[2]) : fn.call(that, args[0], args[1], args[2]); case 4: return un ? fn(args[0], args[1], args[2], args[3]) : fn.call(that, args[0], args[1], args[2], args[3]); } return fn.apply(that, args); }; /***/ }), /* 203 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(11); var macrotask = __webpack_require__(124).set; var Observer = global.MutationObserver || global.WebKitMutationObserver; var process = global.process; var Promise = global.Promise; var isNode = __webpack_require__(29)(process) == 'process'; module.exports = function () { var head, last, notify; var flush = function () { var parent, fn; if (isNode && (parent = process.domain)) parent.exit(); while (head) { fn = head.fn; head = head.next; try { fn(); } catch (e) { if (head) notify(); else last = undefined; throw e; } } last = undefined; if (parent) parent.enter(); }; // Node.js if (isNode) { notify = function () { process.nextTick(flush); }; // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339 } else if (Observer && !(global.navigator && global.navigator.standalone)) { var toggle = true; var node = document.createTextNode(''); new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new notify = function () { node.data = toggle = !toggle; }; // environments with maybe non-completely correct, but existent Promise } else if (Promise && Promise.resolve) { // Promise.resolve without an argument throws an error in LG WebOS 2 var promise = Promise.resolve(undefined); notify = function () { promise.then(flush); }; // for other environments - macrotask based on: // - setImmediate // - MessageChannel // - window.postMessag // - onreadystatechange // - setTimeout } else { notify = function () { // strange IE + webpack dev server bug - use .call(global) macrotask.call(global, flush); }; } return function (fn) { var task = { fn: fn, next: undefined }; if (last) last.next = task; if (!head) { head = task; notify(); } last = task; }; }; /***/ }), /* 204 */ /***/ (function(module, exports) { module.exports = function (exec) { try { return { e: false, v: exec() }; } catch (e) { return { e: true, v: e }; } }; /***/ }), /* 205 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(11); var navigator = global.navigator; module.exports = navigator && navigator.userAgent || ''; /***/ }), /* 206 */ /***/ (function(module, exports, __webpack_require__) { var redefine = __webpack_require__(33); module.exports = function (target, src, safe) { for (var key in src) redefine(target, key, src[key], safe); return target; }; /***/ }), /* 207 */ /***/ (function(module, exports, __webpack_require__) { var ITERATOR = __webpack_require__(10)('iterator'); var SAFE_CLOSING = false; try { var riter = [7][ITERATOR](); riter['return'] = function () { SAFE_CLOSING = true; }; // eslint-disable-next-line no-throw-literal Array.from(riter, function () { throw 2; }); } catch (e) { /* empty */ } module.exports = function (exec, skipClosing) { if (!skipClosing && !SAFE_CLOSING) return false; var safe = false; try { var arr = [7]; var iter = arr[ITERATOR](); iter.next = function () { return { done: safe = true }; }; arr[ITERATOR] = function () { return iter; }; exec(arr); } catch (e) { /* empty */ } return safe; }; /***/ }), /* 208 */ /***/ (function(module, exports, __webpack_require__) { // 7.2.8 IsRegExp(argument) var isObject = __webpack_require__(23); var cof = __webpack_require__(29); var MATCH = __webpack_require__(10)('match'); module.exports = function (it) { var isRegExp; return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp'); }; /***/ }), /* 209 */ /***/ (function(module, exports, __webpack_require__) { var has = __webpack_require__(50); var toIObject = __webpack_require__(99); var arrayIndexOf = __webpack_require__(173)(false); var IE_PROTO = __webpack_require__(185)('IE_PROTO'); module.exports = function (object, names) { var O = toIObject(object); var i = 0; var result = []; var key; for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); // Don't enum bug & hidden keys while (names.length > i) if (has(O, key = names[i++])) { ~arrayIndexOf(result, key) || result.push(key); } return result; }; /***/ }), /* 210 */ /***/ (function(module, exports, __webpack_require__) { var pIE = __webpack_require__(238); var createDesc = __webpack_require__(93); var toIObject = __webpack_require__(99); var toPrimitive = __webpack_require__(83); var has = __webpack_require__(50); var IE8_DOM_DEFINE = __webpack_require__(104); var gOPD = Object.getOwnPropertyDescriptor; exports.f = __webpack_require__(25) ? gOPD : function getOwnPropertyDescriptor(O, P) { O = toIObject(O); P = toPrimitive(P, true); if (IE8_DOM_DEFINE) try { return gOPD(O, P); } catch (e) { /* empty */ } if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); }; /***/ }), /* 211 */, /* 212 */, /* 213 */, /* 214 */, /* 215 */, /* 216 */, /* 217 */, /* 218 */, /* 219 */, /* 220 */, /* 221 */, /* 222 */, /* 223 */, /* 224 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) var anObject = __webpack_require__(18); var dPs = __webpack_require__(236); var enumBugKeys = __webpack_require__(174); var IE_PROTO = __webpack_require__(185)('IE_PROTO'); var Empty = function () { /* empty */ }; var PROTOTYPE = 'prototype'; // Create object with fake `null` prototype: use iframe Object with cleared prototype var createDict = function () { // Thrash, waste and sodomy: IE GC bug var iframe = __webpack_require__(74)('iframe'); var i = enumBugKeys.length; var lt = '<'; var gt = '>'; var iframeDocument; iframe.style.display = 'none'; __webpack_require__(125).appendChild(iframe); iframe.src = 'javascript:'; // eslint-disable-line no-script-url // createDict = iframe.contentWindow.Object; // html.removeChild(iframe); iframeDocument = iframe.contentWindow.document; iframeDocument.open(); iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); iframeDocument.close(); createDict = iframeDocument.F; while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; return createDict(); }; module.exports = Object.create || function create(O, Properties) { var result; if (O !== null) { Empty[PROTOTYPE] = anObject(O); result = new Empty(); Empty[PROTOTYPE] = null; // add "__proto__" for Object.getPrototypeOf polyfill result[IE_PROTO] = O; } else result = createDict(); return Properties === undefined ? result : dPs(result, Properties); }; /***/ }), /* 225 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.14 / 15.2.3.14 Object.keys(O) var $keys = __webpack_require__(209); var enumBugKeys = __webpack_require__(174); module.exports = Object.keys || function keys(O) { return $keys(O, enumBugKeys); }; /***/ }), /* 226 */ /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__(23); var setPrototypeOf = __webpack_require__(237).set; module.exports = function (that, target, C) { var S = target.constructor; var P; if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) { setPrototypeOf(that, P); } return that; }; /***/ }), /* 227 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) var $keys = __webpack_require__(209); var hiddenKeys = __webpack_require__(174).concat('length', 'prototype'); exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { return $keys(O, hiddenKeys); }; /***/ }), /* 228 */, /* 229 */, /* 230 */, /* 231 */, /* 232 */, /* 233 */, /* 234 */, /* 235 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var addToUnscopables = __webpack_require__(78); var step = __webpack_require__(298); var Iterators = __webpack_require__(91); var toIObject = __webpack_require__(99); // 22.1.3.4 Array.prototype.entries() // 22.1.3.13 Array.prototype.keys() // 22.1.3.29 Array.prototype.values() // 22.1.3.30 Array.prototype[@@iterator]() module.exports = __webpack_require__(299)(Array, 'Array', function (iterated, kind) { this._t = toIObject(iterated); // target this._i = 0; // next index this._k = kind; // kind // 22.1.5.2.1 %ArrayIteratorPrototype%.next() }, function () { var O = this._t; var kind = this._k; var index = this._i++; if (!O || index >= O.length) { this._t = undefined; return step(1); } if (kind == 'keys') return step(0, index); if (kind == 'values') return step(0, O[index]); return step(0, [index, O[index]]); }, 'values'); // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) Iterators.Arguments = Iterators.Array; addToUnscopables('keys'); addToUnscopables('values'); addToUnscopables('entries'); /***/ }), /* 236 */ /***/ (function(module, exports, __webpack_require__) { var dP = __webpack_require__(32); var anObject = __webpack_require__(18); var getKeys = __webpack_require__(225); module.exports = __webpack_require__(25) ? Object.defineProperties : function defineProperties(O, Properties) { anObject(O); var keys = getKeys(Properties); var length = keys.length; var i = 0; var P; while (length > i) dP.f(O, P = keys[i++], Properties[P]); return O; }; /***/ }), /* 237 */ /***/ (function(module, exports, __webpack_require__) { // Works with __proto__ only. Old v8 can't work with null proto objects. /* eslint-disable no-proto */ var isObject = __webpack_require__(23); var anObject = __webpack_require__(18); var check = function (O, proto) { anObject(O); if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); }; module.exports = { set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line function (test, buggy, set) { try { set = __webpack_require__(34)(Function.call, __webpack_require__(210).f(Object.prototype, '__proto__').set, 2); set(test, []); buggy = !(test instanceof Array); } catch (e) { buggy = true; } return function setPrototypeOf(O, proto) { check(O, proto); if (buggy) O.__proto__ = proto; else set(O, proto); return O; }; }({}, false) : undefined), check: check }; /***/ }), /* 238 */ /***/ (function(module, exports) { exports.f = {}.propertyIsEnumerable; /***/ }), /* 239 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(24); var defined = __webpack_require__(41); var fails = __webpack_require__(28); var spaces = __webpack_require__(240); var space = '[' + spaces + ']'; var non = '\u200b\u0085'; var ltrim = RegExp('^' + space + space + '*'); var rtrim = RegExp(space + space + '*$'); var exporter = function (KEY, exec, ALIAS) { var exp = {}; var FORCE = fails(function () { return !!spaces[KEY]() || non[KEY]() != non; }); var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY]; if (ALIAS) exp[ALIAS] = fn; $export($export.P + $export.F * FORCE, 'String', exp); }; // 1 -> String#trimLeft // 2 -> String#trimRight // 3 -> String#trim var trim = exporter.trim = function (string, TYPE) { string = String(defined(string)); if (TYPE & 1) string = string.replace(ltrim, ''); if (TYPE & 2) string = string.replace(rtrim, ''); return string; }; module.exports = exporter; /***/ }), /* 240 */ /***/ (function(module, exports) { module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' + '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; /***/ }), /* 241 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var RepeaterRow = elementor.modules.controls.RepeaterRow; module.exports = RepeaterRow.extend({ id: function id() { return 'elementor-custom-repeater-id-' + this.model.get('_id'); }, initialize: function initialize() { RepeaterRow.prototype.initialize.apply(this, arguments); } }); /***/ }), /* 242 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(243); module.exports = __webpack_require__(7).Object.keys; /***/ }), /* 243 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.14 Object.keys(O) var toObject = __webpack_require__(37); var $keys = __webpack_require__(36); __webpack_require__(72)('keys', function () { return function keys(it) { return $keys(toObject(it)); }; }); /***/ }), /* 244 */, /* 245 */, /* 246 */, /* 247 */, /* 248 */, /* 249 */, /* 250 */, /* 251 */, /* 252 */, /* 253 */, /* 254 */, /* 255 */, /* 256 */, /* 257 */, /* 258 */ /***/ (function(module, exports, __webpack_require__) { var $iterators = __webpack_require__(235); var getKeys = __webpack_require__(225); var redefine = __webpack_require__(33); var global = __webpack_require__(11); var hide = __webpack_require__(40); var Iterators = __webpack_require__(91); var wks = __webpack_require__(10); var ITERATOR = wks('iterator'); var TO_STRING_TAG = wks('toStringTag'); var ArrayValues = Iterators.Array; var DOMIterables = { CSSRuleList: true, // TODO: Not spec compliant, should be false. CSSStyleDeclaration: false, CSSValueList: false, ClientRectList: false, DOMRectList: false, DOMStringList: false, DOMTokenList: true, DataTransferItemList: false, FileList: false, HTMLAllCollection: false, HTMLCollection: false, HTMLFormElement: false, HTMLSelectElement: false, MediaList: true, // TODO: Not spec compliant, should be false. MimeTypeArray: false, NamedNodeMap: false, NodeList: true, PaintRequestList: false, Plugin: false, PluginArray: false, SVGLengthList: false, SVGNumberList: false, SVGPathSegList: false, SVGPointList: false, SVGStringList: false, SVGTransformList: false, SourceBufferList: false, StyleSheetList: true, // TODO: Not spec compliant, should be false. TextTrackCueList: false, TextTrackList: false, TouchList: false }; for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) { var NAME = collections[i]; var explicit = DOMIterables[NAME]; var Collection = global[NAME]; var proto = Collection && Collection.prototype; var key; if (proto) { if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues); if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); Iterators[NAME] = ArrayValues; if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true); } } /***/ }), /* 259 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; __webpack_require__(49); module.exports = elementor.modules.controls.Choose.extend({ applySavedValue: function applySavedValue() { var currentValue = this.getControlValue(); if (currentValue || _.isString(currentValue)) { this.ui.inputs.filter("[value=\"".concat(currentValue, "\"]")).prop('checked', true); } else { this.ui.inputs.filter(':checked').prop('checked', false); } } }); /***/ }), /* 260 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var Repeater = elementor.modules.controls.Repeater; module.exports = Repeater.extend({ childView: __webpack_require__(241), initialize: function initialize() { Repeater.prototype.initialize.apply(this, arguments); }, updateActiveRow: function updateActiveRow() {} }); /***/ }), /* 261 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _interopRequireDefault = __webpack_require__(0); var _keys = _interopRequireDefault(__webpack_require__(108)); __webpack_require__(126); var Base = elementor.getControlView('baseData'); module.exports = Base.extend({ api: null, onReady: function onReady() { this.api = this.ui.select.selectize(this.getSelectizeOptions())[0].selectize; }, getSelectizeOptions: function getSelectizeOptions() { return jQuery.extend(this.getDefaultSelectizeOptions(), this.model.get('control_options')); }, getDefaultSelectizeOptions: function getDefaultSelectizeOptions() { return { plugins: ['remove_button'] }; }, getOptions: function getOptions() { var options = this.model.get('options'); return (0, _keys.default)(options).map(function (key) { return { value: key, text: options[key] }; }); }, getControlValue: function getControlValue() { return Base.prototype.getControlValue.apply(this, arguments); }, onBeforeDestroy: function onBeforeDestroy() { if (this.ui.select.data('selectize')) { this.api.destroy(); } this.$el.remove(); } }); /***/ }), /* 262 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var Select2 = elementor.modules.controls.Select2; module.exports = Select2.extend({ cache: null, isTitlesReceived: false, getSelect2Placeholder: function getSelect2Placeholder() { var id = ''; var text = this.model.get('placeholder') ? this.model.get('placeholder') : ''; return { id: id, text: text }; }, // onReady() {}, onReady: function onReady() { // onRender() { // setTimeout( Select2.prototype.onRender.bind( this ) ); setTimeout(Select2.prototype.onReady.bind(this)); if (!this.isTitlesReceived) { this.getValueTitles(); } }, getValueTitles: function getValueTitles() { var _this = this; var filter = this.model.get('autocomplete'); var filterObject = filter.object; var ids = this.getControlValue(); // console.log( 'titles', filter, filterObject, ids ); if (!filterObject || !ids) { return; } var queryData = this.getQueryData(filter); var data = {}; data.get_titles = queryData.autocomplete; data.unique_id = '' + this.cid + filterObject; if (!_.isArray(ids)) { ids = [ids]; } elementorCommon.ajax.loadObjects({ action: 'cmsmasters_control/wp_query/get_titles', ids: ids, data: data, before: function before() { _this.addControlSpinner(); }, success: function success(ajaxData) { // console.log( ajaxData ); if (_this.isDestroyed) { return; } _this.isTitlesReceived = true; _this.model.set('options', ajaxData); _this.render(); } }); }, getQueryData: function getQueryData(filter) { // Use a clone to keep model data unchanged: var filterObject = elementorCommon.helpers.cloneObject(filter); if (_.isEmpty(filterObject.query)) { filterObject.query = {}; } // Specific for Group_Control_Query if ('cpt_tax' === filterObject.object) { filterObject.object = 'tax'; if (_.isEmpty(filterObject.query) || _.isEmpty(filterObject.query.post_type)) { filterObject.query.post_type = this.getControlValueByName('post_type'); } } return { autocomplete: filterObject }; }, getControlValueByName: function getControlValueByName(controlName) { var name = this.model.get('group_prefix') + controlName; return this.elementSettingsModel.attributes[name]; }, addControlSpinner: function addControlSpinner() { this.ui.select.prop('disabled', true).next().append('<span class="cmsmasters-control-spinner">' + '<i class="eicon-spinner eicon-animation-spin"></i>' + '</span>'); }, getSelect2DefaultOptions: function getSelect2DefaultOptions() { var _this2 = this; return jQuery.extend(Select2.prototype.getSelect2DefaultOptions.apply(this, arguments), { minimumInputLength: 1, ajax: { cache: true, data: function data(params) { return { q: params.term, page: params.page }; }, transport: function transport(params, success, error) { var filter = _this2.model.get('autocomplete'); var data = _this2.getQueryData(filter); data.q = params.data.q; var options = { data: data, success: success, error: error }; // console.log( 'transport', params, filter, data ); return cmsmastersElementor.ajax.addRequest('control/wp_query/filter_autocomplete', options); } }, escapeMarkup: function escapeMarkup(markup) { return markup; } }); }, widgetRenderOnChange: function widgetRenderOnChange() { this.options.container.view.renderOnChange(); } }); /***/ }), /* 263 */, /* 264 */, /* 265 */, /* 266 */, /* 267 */, /* 268 */, /* 269 */, /* 270 */, /* 271 */, /* 272 */, /* 273 */, /* 274 */, /* 275 */, /* 276 */, /* 277 */, /* 278 */, /* 279 */, /* 280 */, /* 281 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _interopRequireDefault = __webpack_require__(0); __webpack_require__(39); __webpack_require__(129); var _editor = _interopRequireDefault(__webpack_require__(282)); var _widgetsIcon = _interopRequireDefault(__webpack_require__(283)); var _manager = _interopRequireDefault(__webpack_require__(284)); var _editorPreferences = _interopRequireDefault(__webpack_require__(286)); // import LibraryButton from './modules/library-button'; /** * CMSMasters custom editor script. * * Constructs main `Editor` script that is responsible for * editor elementor modules scripts. * * @since 1.0.0 * * @augments `Marionette.Application` */ var CmsmastersElementor = Marionette.Application.extend({ /** * Elementor editor cmsmasters helpers. * * @since 1.0.0 * @type {Object} */ helpers: __webpack_require__(288), /** * Elementor editor cmsmasters templates library. * * @since 1.0.0 * @type {Object} */ // templatesLibrary: require( './components/templates-library/manager' ), /** * Elementor editor cmsmasters backbone radio channels. * * @since 1.0.0 * @type {Object} */ channels: { cmsmastersTemplates: Backbone.Radio.channel('ELEMENTOR:cmsmastersTemplates') }, /** * CMSMasters custom editor script config. * * @since 1.0.0 * @type {Object} */ config: {}, /** * Elementor editor custom modules handlers. * * @since 1.0.0 * @type {Object} * @default */ moduleHandlers: { AdditionalSettings: _editor.default, // PreviewLibraryButton: LibraryButton, PanelWidgetsIcon: _widgetsIcon.default, AuthorizationForm: __webpack_require__(289), AuthorizationLinks: __webpack_require__(290), Blog: __webpack_require__(291), Mailchimp: __webpack_require__(292), Instagram: __webpack_require__(293), ThemeSettings: __webpack_require__(294), TemplatePreview: __webpack_require__(295), TemplateLocations: __webpack_require__(296), WebFonts: __webpack_require__(304) // WidgetPresets: require( 'cmsmasters-modules/widget-presets/assets/dev/js/editor/editor' ), }, /** * Elementor editor custom controls handlers. * * Must be in folder format with lowercase words and `-` * instead of space or underline. * * @since 1.0.0 * @since 1.0.3 Added 'choose-text' * @type {Array} * @default */ customControls: ['choose-text', 'custom-repeater', 'selectize', 'wp-query'], /** * Elementor editor inherited controls handlers. * * Must be in folder format with lowercase words and `-` * instead of space or underline. * * @since 1.0.0 * @since 1.0.3 Removed 'choose-text' * @type {Object} * @default */ inheritedControls: {}, /** * Initialized elementor editor custom modules. * * @since 1.0.0 * @type {Object} */ modules: {}, /** * Initialized elementor editor custom components. * * @since 1.0.0 * @type {Object} */ components: { hotkeys: _manager.default }, /** * Initialized elementor editor custom settings. * * @since 1.0.0 * @type {Object} */ settings: { editorPreferences: _editorPreferences.default }, /** * Initialized elementor editor custom controls. * * @since 1.0.0 * @type {Object} */ controls: {}, /** * Elementor editor custom ajax object. * * @since 1.0.0 * @type {Object} */ ajax: { /** * Adds `cmsmasters_` prefix to first argument of * `cmsmastersElementor.ajax` queries. * * @since 1.0.0 * * @param {Array} args Ajax query arguments. * * @return {Array} Modified Ajax query arguments. */ prepareArgs: function prepareArgs(args) { args[0] = 'cmsmasters_' + args[0]; return args; }, /** * Adds `cmsmasters_` prefix to first argument of * `cmsmastersElementor.ajax` queries. * * @since 1.0.0 * * @return {Array} Modified Ajax query arguments. */ send: function send() { return elementorCommon.ajax.send.apply(elementorCommon.ajax, this.prepareArgs(arguments)); }, /** * Adds `cmsmasters_` prefix to first argument of * `cmsmastersElementor.ajax` queries. * * @since 1.0.0 * * @return {Array} Modified Ajax query arguments. */ addRequest: function addRequest() { return elementorCommon.ajax.addRequest.apply(elementorCommon.ajax, this.prepareArgs(arguments)); } }, /** * Initialize elementor editor scripts. * * @since 1.0.0 */ onStart: function onStart() { this.config = elementorCmsmastersEditorConfig; this.initModules(); jQuery(window).on('elementor:init', this.onElementorInit.bind(this)); }, /** * Extends elementor editor with cmsmasters modules. * * @since 1.0.0 */ initModules: function initModules() { var _this = this; jQuery.each(this.moduleHandlers, function (handlerName, module) { var moduleName = handlerName.replace(/^\w/, function (firstSymbol) { return firstSymbol.toLowerCase(); }); _this.modules[moduleName] = new module(); }); }, /** * Translate editor strings and replace string type specifiers * with template arguments. * * @since 1.0.0 * * @param {string} stringKey Translatable string key. * @param {string[]} templateArgs Translatable string arguments. * * @return {string} Translated string. */ translate: function translate(stringKey, templateArgs) { return elementorCommon.translate(stringKey, null, templateArgs, this.config.i18n); }, /** * Addon editor on elementor init. * * Runs Addon custom scripts on elementor init. * * @since 1.0.0 */ onElementorInit: function onElementorInit() { // elementor.debug.addURLToWatch( 'cmsmasters-elementor/assets' ); this.initComponents(); this.initSettings(); this.initControls(); // this.templatesLibrary.init(); elementor.hooks.addFilter('elements/widget/behaviors', this.widgetsContextMenu, 10, this); }, /** * Addon editor components manager. * * Extends elementor editor with cmsmasters components. * * @since 1.0.0 */ initComponents: function initComponents() { var _this2 = this; _.each(this.components, function (config, name) { var Component = _this2.components[name]; _this2[name] = new Component(config); }); }, /** * Addon editor settings manager. * * Extends elementor editor with cmsmasters settings. * * @since 1.0.0 */ initSettings: function initSettings() { var _this3 = this; _.each(elementor.config.settings, function (config, name) { var Manager = _this3.settings[name] || _this3.settings.base; if (!_.isUndefined(Manager)) { _this3[name] = new Manager(config); } }); }, /** * CMSMasters elementor controls manager. * * Extends elementor editor with cmsmasters controls. * * @since 1.0.0 */ initControls: function initControls() { var _this4 = this; _.each(this.customControls, function (controlDir) { var controlName = _this4.getControlName(controlDir); _this4.controls[controlName] = __webpack_require__(306)("./".concat(controlDir)); }); jQuery.each(this.inheritedControls, function (control, inheritedControlView) { var controlName = _this4.getControlName(control); _this4.controls[controlName] = elementor.getControlView(inheritedControlView); }); this.addControls(); }, /** * Retrieves valid elementor editor control name. * * @since 1.0.0 * * @param {string} controlName Control name handler. * * @return {string} Valid elementor editor control name. */ getControlName: function getControlName(controlName) { return controlName.replace(/-/g, '_').replace(/^\w/, function (firstSymbol) { return firstSymbol.toUpperCase(); }); }, /** * Adds cmsmasters controls for elementor editor. * * @since 1.0.0 */ addControls: function addControls() { jQuery.each(this.controls, function (handlerName, control) { elementor.addControlView(handlerName, control); }); }, /** * Add `Reload Widget` button to context menu if `WP_DEBUG == true`. * * @since 1.0.0 * * @param {Object} behaviors Elementor editor behaviors. * @param {Object} widget Selected elementor widget. * * @return {Object} Modified elementor editor behaviors. */ widgetsContextMenu: function widgetsContextMenu(behaviors, widget) { var _this5 = this; if (this.config.debug) { behaviors.contextMenu.groups.some(function (group, index) { if ('clipboard' === group.name) { behaviors.contextMenu.groups[index].actions.push({ name: 'reload_widget', title: _this5.translate('reload'), callback: function callback() { widget.getEditModel().renderRemoteServer(); } }); return true; } }); } return behaviors; } }); /** * @name cmsmastersElementor * @global */ window.cmsmastersElementor = new CmsmastersElementor(); /** @fires CmsmastersElementor#onStart */ cmsmastersElementor.start(); /***/ }), /* 282 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _Object$defineProperty = __webpack_require__(1); var _interopRequireDefault = __webpack_require__(0); _Object$defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; __webpack_require__(39); var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); var _createClass2 = _interopRequireDefault(__webpack_require__(3)); var _inherits2 = _interopRequireDefault(__webpack_require__(4)); var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); var _default = /*#__PURE__*/function (_elementorModules$edi) { (0, _inherits2.default)(_default, _elementorModules$edi); var _super = (0, _createSuper2.default)(_default); function _default() { (0, _classCallCheck2.default)(this, _default); return _super.apply(this, arguments); } (0, _createClass2.default)(_default, [{ key: "onElementorInit", value: function onElementorInit() { elementor.hooks.addFilter('editor/style/styleText', this.addCustomCss.bind(this)); } }, { key: "addCustomCss", value: function addCustomCss(css, context) { if (!context) { return; } var model = context.model; var customCSS = model.get('settings').get('cms_custom_css'); if (customCSS) { var id = model.get('id'); var selector = 'document' === model.get('elType') ? elementor.config.document.settings.cssWrapperSelector : ".elementor-element.elementor-element-".concat(id); css += customCSS.replace(/selector/g, selector); } return css; } }]); return _default; }(elementorModules.editor.utils.Module); exports.default = _default; /***/ }), /* 283 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _Object$defineProperty = __webpack_require__(1); var _interopRequireDefault = __webpack_require__(0); _Object$defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); var _createClass2 = _interopRequireDefault(__webpack_require__(3)); var _inherits2 = _interopRequireDefault(__webpack_require__(4)); var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); var _default = /*#__PURE__*/function (_elementorModules$edi) { (0, _inherits2.default)(_default, _elementorModules$edi); var _super = (0, _createSuper2.default)(_default); function _default() { (0, _classCallCheck2.default)(this, _default); return _super.apply(this, arguments); } (0, _createClass2.default)(_default, [{ key: "onElementorInit", value: function onElementorInit() { var _this = this; elementor.on('panel:init', function () { _this.addPanelWidgetsIcon(); }); } }, { key: "addPanelWidgetsIcon", value: function addPanelWidgetsIcon() { var PanelElementsView = elementor.modules.layouts.panel.pages.elements.views.Elements; var PanelElementsChildView = PanelElementsView.prototype.childView; var elementsView = PanelElementsView.extend({ childView: PanelElementsChildView.extend({ template: '#tmpl-cmsmasters-widgets-panel-element' }), id: 'elementor-panel-elements' }); elementor.hooks.addFilter('panel/elements/regionViews', function (regionViews) { _.extend(regionViews.elements, { view: elementsView }); return regionViews; }); } }]); return _default; }(elementorModules.editor.utils.Module); exports.default = _default; /***/ }), /* 284 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _Object$defineProperty = __webpack_require__(1); var _interopRequireDefault = __webpack_require__(0); _Object$defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); var _createClass2 = _interopRequireDefault(__webpack_require__(3)); var _inherits2 = _interopRequireDefault(__webpack_require__(4)); var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); var _component = _interopRequireDefault(__webpack_require__(285)); var _default = /*#__PURE__*/function (_elementorModules$Mod) { (0, _inherits2.default)(_default, _elementorModules$Mod); var _super = (0, _createSuper2.default)(_default); function _default() { (0, _classCallCheck2.default)(this, _default); return _super.apply(this, arguments); } (0, _createClass2.default)(_default, [{ key: "onInit", value: function onInit() { $e.components.register(new _component.default({ manager: this })); } }]); return _default; }(elementorModules.Module); exports.default = _default; /***/ }), /* 285 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _Object$defineProperty = __webpack_require__(1); var _interopRequireDefault = __webpack_require__(0); _Object$defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); var _createClass2 = _interopRequireDefault(__webpack_require__(3)); var _inherits2 = _interopRequireDefault(__webpack_require__(4)); var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); var ComponentBase = $e.modules.ComponentBase; var Component = /*#__PURE__*/function (_ComponentBase) { (0, _inherits2.default)(Component, _ComponentBase); var _super = (0, _createSuper2.default)(Component); function Component() { (0, _classCallCheck2.default)(this, Component); return _super.apply(this, arguments); } (0, _createClass2.default)(Component, [{ key: "getNamespace", value: function getNamespace() { return 'cmsmasters/page-settings/hotkeys'; } }, { key: "defaultCommands", value: function defaultCommands() { var _this = this; return { preview: function preview() { return _this.routeToSettingsSection('preview'); }, locations: function locations() { return _this.routeToSettingsSection('locations'); } }; } }, { key: "routeToSettingsSection", value: function routeToSettingsSection(section) { $e.route('panel/page-settings/settings'); var currentView = elementor.getPanelView().getCurrentPageView(); currentView.activateSection("".concat(section, "_settings")); currentView._renderChildren(); } }, { key: "defaultShortcuts", value: function defaultShortcuts() { return { preview: { keys: 'ctrl+shift+p' }, locations: { keys: 'ctrl+shift+r' } }; } }]); return Component; }(ComponentBase); exports.default = Component; /***/ }), /* 286 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _Object$defineProperty = __webpack_require__(1); var _interopRequireDefault = __webpack_require__(0); _Object$defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); var _createClass2 = _interopRequireDefault(__webpack_require__(3)); var _get2 = _interopRequireDefault(__webpack_require__(8)); var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(6)); var _inherits2 = _interopRequireDefault(__webpack_require__(4)); var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); var _base = _interopRequireDefault(__webpack_require__(287)); var _default = /*#__PURE__*/function (_BaseManager) { (0, _inherits2.default)(_default, _BaseManager); var _super = (0, _createSuper2.default)(_default); function _default() { (0, _classCallCheck2.default)(this, _default); return _super.apply(this, arguments); } (0, _createClass2.default)(_default, [{ key: "__construct", value: function __construct(settings) { (0, _get2.default)((0, _getPrototypeOf2.default)(_default.prototype), "__construct", this).call(this, settings); this.$link = null; this.changeCallbacks = { ui_theme: this.onUIThemeChanged }; } }, { key: "getDefaultSettings", value: function getDefaultSettings() { var classes = { darkStylesID: 'cmsmasters-elementor-dark-mode-css' }; var selectors = { darkStylesID: "#".concat(classes.darkStylesID) }; return { classes: classes, selectors: selectors }; } }, { key: "getDefaultElements", value: function getDefaultElements() { var _this$getSettings = this.getSettings(), selectors = _this$getSettings.selectors; var elements = { $darkModeLink: jQuery(selectors.darkStylesID) }; return elements; } }, { key: "onUIThemeChanged", value: function onUIThemeChanged(value) { var $link = this.getDarkStylesLink(); if ('light' === value) { $link.remove(); return; } var linkMedia = ''; if ('auto' === value) { linkMedia = '(prefers-color-scheme: dark)'; } $link.attr('media', linkMedia).appendTo(elementorCommon.elements.$body); } }, { key: "getDarkStylesLink", value: function getDarkStylesLink() { if (!this.$link) { this.createDarkStylesLink(); } return this.$link; } }, { key: "createDarkStylesLink", value: function createDarkStylesLink() { var _this$getSettings2 = this.getSettings(), classes = _this$getSettings2.classes; var $darkModeLink = this.elements.$darkModeLink; if (!$darkModeLink.length) { $darkModeLink = jQuery('<link>', { id: classes.darkStylesID, rel: 'stylesheet', href: elementor.config.ui.darkModeStylesheetURL }); } this.$link = $darkModeLink; } }]); return _default; }(_base.default); exports.default = _default; /***/ }), /* 287 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _Object$defineProperty = __webpack_require__(1); var _interopRequireDefault = __webpack_require__(0); _Object$defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); var _createClass2 = _interopRequireDefault(__webpack_require__(3)); var _get2 = _interopRequireDefault(__webpack_require__(8)); var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(6)); var _inherits2 = _interopRequireDefault(__webpack_require__(4)); var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); var _default = /*#__PURE__*/function (_elementorModules$Vie) { (0, _inherits2.default)(_default, _elementorModules$Vie); var _super = (0, _createSuper2.default)(_default); function _default() { (0, _classCallCheck2.default)(this, _default); return _super.apply(this, arguments); } (0, _createClass2.default)(_default, [{ key: "__construct", value: function __construct(settings) { (0, _get2.default)((0, _getPrototypeOf2.default)(_default.prototype), "__construct", this).call(this, settings); this.model = null; this.hasChange = false; this.changeCallbacks = {}; } }, { key: "onInit", value: function onInit() { this.debounceSave = _.debounce(this.save, 3000); (0, _get2.default)((0, _getPrototypeOf2.default)(_default.prototype), "onInit", this).call(this); } }, { key: "bindEvents", value: function bindEvents() { elementor.on('document:loaded', this.onElementorDocumentLoaded.bind(this)); } }, { key: "onElementorDocumentLoaded", value: function onElementorDocumentLoaded() { var panelViewPages = elementor.getPanelView().getPages(); this.model = panelViewPages.editorPreferences_settings.options.model; this.model.on('change', this.onModelChange.bind(this)); } }, { key: "onModelChange", value: function onModelChange(model) { var _this = this; this.hasChange = true; _.each(model.changed, function (value, key) { if (_this.changeCallbacks[key]) { _this.changeCallbacks[key].call(_this, value); } }); this.debounceSave(); } }, { key: "save", value: function save(callback) { var _arguments = arguments, _this2 = this; if (!this.hasChange) { return; } var settings = this.model.toJSON({ remove: ['default'] }); elementorCommon.ajax.addRequest("save_".concat(this.getSettings('name'), "_settings"), { data: { data: settings }, success: function success() { _this2.setSettings('settings', settings); _this2.hasChange = false; if (callback) { callback.apply(_this2, _arguments); } }, error: function error() { alert('An error occurred'); } }); } }, { key: "destroy", value: function destroy() { this.unbindEvents(); this.model.destroy(); } }, { key: "unbindEvents", value: function unbindEvents() { elementor.off('document:loaded', this.onElementorDocumentLoaded); } }]); return _default; }(elementorModules.ViewModule); exports.default = _default; /***/ }), /* 288 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; module.exports = { getOptionLabelRepeater: function getOptionLabelRepeater(repeaterName, controlName, controlKey) { var currentPageView = elementor.getPanelView().getCurrentPageView(), editedElementView = currentPageView.getOption('editedElementView'), settings = editedElementView.model.get('settings'); try { return settings.controls[repeaterName].fields[controlName].options[controlKey]; } catch (err) { return controlKey; } } }; /***/ }), /* 289 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var EditorModule = __webpack_require__(180); module.exports = EditorModule.extend({ onElementorInit: function onElementorInit() { elementor.channels.editor.on('section:activated', this.onSectionActivated); }, onSectionActivated: function onSectionActivated(sectionName, editor) { var editedElement = editor.getOption('editedElementView'); if ('cmsmasters-register-form' === editedElement.model.get('widgetType')) { var isValidSection = -1 !== ['section_style_valid'].indexOf(sectionName); var isMessageSection = -1 !== ['section_message'].indexOf(sectionName); var isLoggedSection = -1 !== ['section_style_logged', 'section_logged_in_message'].indexOf(sectionName); editedElement.$el.toggleClass('elementor-widget-cmsmasters-register-form__show-valid', isValidSection); editedElement.$el.toggleClass('elementor-widget-cmsmasters-register-form__show-message', isMessageSection); editedElement.$el.toggleClass('elementor-widget-cmsmasters-register-form__show-logged', isLoggedSection); editedElement.$el.toggleClass('elementor-widget-cmsmasters-login-form__hide-form', isLoggedSection); } else if ('cmsmasters-login-form' === editedElement.model.get('widgetType')) { var _isLoggedSection = -1 !== ['section_style_logged', 'section_logged_in_message'].indexOf(sectionName); editedElement.$el.toggleClass('elementor-widget-cmsmasters-login-form__show-logged', _isLoggedSection); editedElement.$el.toggleClass('elementor-widget-cmsmasters-login-form__hide-form', _isLoggedSection); } } }); /***/ }), /* 290 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var EditorModule = __webpack_require__(180); module.exports = EditorModule.extend({ onElementorInit: function onElementorInit() { elementor.channels.editor.on('section:activated', this.onSectionActivated); }, onSectionActivated: function onSectionActivated(sectionName, editor) { var editedElement = editor.getOption('editedElementView'); if ('cmsmasters-authorization-links' === editedElement.model.get('widgetType')) { var isLoginRegister = -1 !== ['section_login_register', 'section_login_style', 'section_register_style'].indexOf(sectionName); var isLogoutAccount = -1 !== ['section_logout_account', 'section_logout_style', 'section_account_style'].indexOf(sectionName); editedElement.$el.toggleClass('elementor-widget-cmsmasters-authorization-links__show-login-register', isLoginRegister); editedElement.$el.toggleClass('elementor-widget-cmsmasters-authorization-links__hide-logout-account', isLoginRegister); editedElement.$el.toggleClass('elementor-widget-cmsmasters-authorization-links__show-logout-account', isLogoutAccount); editedElement.$el.toggleClass('elementor-widget-cmsmasters-authorization-links__hide-login-register', isLogoutAccount); } } }); /***/ }), /* 291 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; __webpack_require__(13); var EditorModule = __webpack_require__(180); module.exports = EditorModule.extend({ classes: { preview: 'cmsmasters-pagination-infinite-scroll--preview' }, onElementorPreviewLoaded: function onElementorPreviewLoaded() { elementor.channels.editor.on('cmsmasters:pagination:infinite_scroll:toggle', this.onToggleInfiniteScroll.bind(this)); elementor.channels.editor.on('section:activated', this.sectionActivated.bind(this)); }, onToggleInfiniteScroll: function onToggleInfiniteScroll(control) { var $el = control.container.view.$el; var $ul = $el.find('ul.page-numbers'); if (!$ul.length) { return; } $el.toggleClass(this.classes.preview); if ($el.hasClass(this.classes.preview)) { $ul.get(0).scrollIntoView({ behavior: 'smooth' }); } }, sectionActivated: function sectionActivated(activeSection, editor) { var editedElement = editor.getOption('editedElementView'); if (!editedElement.model.getSetting('pagination_show') || 'infinite_scroll' !== editedElement.model.getSetting('pagination_type')) { return; } if ((!activeSection || 'section_pagination' !== activeSection || 'section_pagination_style_infinite_scroll' !== activeSection) && editedElement.$el.hasClass(this.classes.preview)) { editedElement.$el.removeClass(this.classes.preview); } } }); /***/ }), /* 292 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var EditorModule = __webpack_require__(180); module.exports = EditorModule.extend({ onElementorInit: function onElementorInit() { elementor.channels.editor.on('section:activated', this.onSectionActivated); }, onSectionActivated: function onSectionActivated(sectionName, editor) { var editedElement = editor.getOption('editedElementView'); if ('cmsmasters-mailchimp' === editedElement.model.get('widgetType')) { var isValidSection = -1 !== ['section_style_valid'].indexOf(sectionName); editedElement.$el.toggleClass('elementor-widget-cmsmasters-mailchimp__show-valid-style', isValidSection); editedElement.$el.toggleClass('elementor-widget-cmsmasters-mailchimp__hide-valid-style', isValidSection); } } }); /***/ }), /* 293 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; __webpack_require__(13); var EditorModule = __webpack_require__(180); module.exports = EditorModule.extend({ onElementorPreviewLoaded: function onElementorPreviewLoaded() { elementor.channels.editor.on('cmsmasters:instagram:remove_cache', this.onRemoveCache.bind(this)); }, onRemoveCache: function onRemoveCache(control) { var $button = control.$el.find('button'); var $icon = jQuery('<i/>', { class: 'eicon-loading eicon-animation-spin' }); var options = { complete: function complete() { elementor.notifications.showToast({ message: cmsmastersElementor.translate('cache_deleted') }); $icon.remove(); } }; $button.prepend($icon); cmsmastersElementor.ajax.addRequest('instagram_remove_cache', options); } }); /***/ }), /* 294 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; __webpack_require__(13); __webpack_require__(181); __webpack_require__(106); __webpack_require__(182); module.exports = elementorModules.editor.utils.Module.extend({ onElementorLoaded: function onElementorLoaded() { elementor.on('document:loaded', this.onDocumentLoaded.bind(this)); elementor.on('document:unloaded', this.onDocumentUnloaded.bind(this)); }, onDocumentLoaded: function onDocumentLoaded() { elementor.channels.editor.on('cmsmasters:theme_settings:apply_settings', this.onApplySettings.bind(this)); }, onDocumentUnloaded: function onDocumentUnloaded() { elementor.channels.editor.off('cmsmasters:theme_settings:apply_settings', this.onApplySettings.bind(this)); }, onApplySettings: function onApplySettings(event) { var config = elementor.config; var kitID = config.kit_id; var documents = elementor.documents; if (documents.documents[kitID].editor.isSaving) { return jQuery.Deferred().reject('Document already in save progress'); } var currentDocument = documents.getCurrent(); if (!currentDocument.editor.isChanged) { return jQuery.Deferred().resolve('Document is not changed'); } var documentID = config.initial_document.id; var currentPanel = $e.routes.current.panel; var activeSection = event.$el.prevAll('.elementor-control-type-section').eq(0).find('.elementor-section-toggle').data('collapse_id'); $e.internal('panel/state-loading'); $e.run('editor/documents/switch', { id: documentID, mode: 'save' }).finally(function () { elementor.dynamicTags.cleanCache(); elementor.reloadPreview(); elementor.once('preview:loaded', function () { setTimeout(function () { $e.run('editor/documents/switch', { id: kitID, mode: 'autosave' }).finally(function () { $e.internal('panel/state-ready'); $e.route(currentPanel); var currentPageView = elementor.getPanelView().getCurrentPageView(); var currentView = currentPageView.content.currentView; currentView.activateSection(activeSection); currentView._renderChildren(); }); }, 2000); }); }); } }); /***/ }), /* 295 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; __webpack_require__(98); module.exports = elementorModules.editor.utils.Module.extend({ onElementorLoaded: function onElementorLoaded() { elementor.on('document:loaded', this.onDocumentLoaded.bind(this)); elementor.on('document:unloaded', this.onDocumentUnloaded.bind(this)); }, onDocumentLoaded: function onDocumentLoaded() { elementor.getPanelView().on('set:page:page_settings', this.updatePreviewIdOptions); elementor.channels.editor.on('cmsmasters:preview_manager:apply_preview', this.onApplyPreview.bind(this)); elementor.channels.editor.on('page_settings:preview_settings:activated', this.onSectionPreviewSettingsActive.bind(this)); elementor.settings.page.model.on('change', this.onPageSettingsChange.bind(this)); }, onDocumentUnloaded: function onDocumentUnloaded() { elementor.getPanelView().off('set:page:page_settings', this.updatePreviewIdOptions); elementor.channels.editor.off('cmsmasters:preview_manager:apply_preview', this.onApplyPreview.bind(this)); elementor.channels.editor.off('page_settings:preview_settings:activated', this.onSectionPreviewSettingsActive.bind(this)); elementor.settings.page.model.off('change', this.onPageSettingsChange.bind(this)); }, updatePreviewIdOptions: function updatePreviewIdOptions() { var render = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; var previewType = elementor.settings.page.model.get('preview_type'); if (!previewType) { return; } previewType = previewType.split('/'); var filterObject = {}; if ('author' === previewType[1]) { filterObject = { object: 'author' }; } else { switch (previewType[0]) { case 'singular': filterObject = { object: 'post', query: { post_type: previewType[1] } }; break; case 'taxonomy': filterObject = { // object: 'taxonomy', object: 'tax', query: { taxonomy: previewType[1] } }; break; default: filterObject = { object: '' }; } } var currentView = elementor.getPanelView().getCurrentPageView(); var controlModel = currentView.collection.findWhere({ name: 'preview_id' }); controlModel.set({ autocomplete: filterObject }); if (_.isObject(render) || !render) { return; } var controlView = currentView.children.findByModel(controlModel); controlView.render(); controlView.$el.toggle(!!controlModel.get('autocomplete').object); }, onApplyPreview: function onApplyPreview() { $e.run('document/save/auto', { force: true, onSuccess: function onSuccess() { elementor.dynamicTags.cleanCache(); elementor.reloadPreview(); elementor.once('preview:loaded', function () { setTimeout(function () { $e.route('panel/page-settings/settings'); var currentView = elementor.getPanelView().getCurrentPageView(); currentView.activateSection('preview_settings'); currentView._renderChildren(); }); }); } }); }, onSectionPreviewSettingsActive: function onSectionPreviewSettingsActive() { this.updatePreviewIdOptions(true); }, onPageSettingsChange: function onPageSettingsChange(model) { if (!model.changed.preview_type) { return; } model.set({ preview_id: '', preview_search_term: '' }); if ('page_settings' === elementor.getPanelView().getCurrentPageName()) { this.updatePreviewIdOptions(true); } } }); /***/ }), /* 296 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; __webpack_require__(129); __webpack_require__(126); /** * Template locations module. * * Extends elementor editor module with cmsmasters locations * control and scripts. * * @since 1.0.0 * * @constructs TemplateLocations * @augments elementorModules.editor.utils.Module * @inheritdoc */ var TemplateLocations = elementorModules.editor.utils.Module.extend( /** @lends TemplateLocations.prototype */ { /** * On elementor init. * * Executes cmsmasters locations control scripts on elementor init. * * @since 1.0.0 * * @listens elementor:init */ onElementorInit: function onElementorInit() { this.locations = elementor.config.document.template_locations; var pageSettingsModel = elementor.settings.page.model, pageControls = pageSettingsModel.controls, pageAttributes = pageSettingsModel.attributes; if (!this.locations) { return; } elementor.addControlView('locations_repeater', __webpack_require__(297)); elementor.hooks.addFilter('panel/footer/behaviors', this.addFooterBehavior); this.handleRepeaterData(pageControls, pageAttributes); }, /** * Handle repeater data. * * Converts locations repeater attributes to backbone `BaseSettings` model. * * @since 1.0.0 * * @param {Object} controls Repeater controls. * @param {Object} attrs Repeater attributes. * * @return {BaseSettings} Base settings model. */ handleRepeaterData: function handleRepeaterData(controls, attrs) { _.each(controls, function (field) { if ('locations_repeater' === field.type) { if (!(attrs[field.name] instanceof Backbone.Collection)) { attrs[field.name] = new Backbone.Collection(attrs[field.name], { model: function model(attributes, options) { options = options || {}; options.controls = {}; field.fields.map(function (item) { options.controls[item.name] = item; }); if (!attributes._id) { attributes._id = elementorCommon.helpers.getUniqueID(); } return new elementorModules.editor.elements.models.BaseSettings(attributes, options); } }); } } }); }, /** * Add footer behavior. * * Modifies elementor panel footer behaviors. * * @since 1.0.0 * * @listens panel/footer/behaviors * * @param {Object} behaviors Panel footer behaviors. * * @return {Object} Modified panel footer behaviors. */ addFooterBehavior: function addFooterBehavior(behaviors) { behaviors.saver = { behaviorClass: __webpack_require__(303) }; return behaviors; }, /** * Get repeater item title. * * Retrieve locations repeater rule title. * * @since 1.0.0 * * @param {Object.<string, string>} locationObject Repeater rule data. * * @return {string} Repeater rule title. */ getRepeaterItemTitle: function getRepeaterItemTitle(locationObject) { if (!locationObject.stmt) { return ''; } if ('exclude' === locationObject.stmt) { return cmsmastersElementor.translate('except'); } return cmsmastersElementor.translate('use_for'); } }); module.exports = TemplateLocations; /***/ }), /* 297 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; __webpack_require__(106); __webpack_require__(235); __webpack_require__(258); __webpack_require__(49); __webpack_require__(13); __webpack_require__(79); var Repeater = elementor.modules.controls.Repeater; module.exports = Repeater.extend({ action: 'none', ui: _.extend(Repeater.prototype.ui, { btnAddException: '.elementor-repeater-exception' }), events: function events() { var events = Repeater.prototype.events.apply(this, arguments); events['click @ui.btnAddException'] = 'onButtonAddExceptionClick'; return events; }, childView: __webpack_require__(302), // updateActiveRow() { }, // disabling can cause repeater errors initialize: function initialize() { Repeater.prototype.initialize.apply(this, arguments); this.locations = elementor.config.document.template_locations; this.location_rules = this.locations.location_rules; this.document_type = this.locations.document_types[this.locations.template_type]; this.location_type = this.document_type.location_type; this.footerUI = $e.components.get('document/save').footerSaver.ui; this.footerPublishButton = this.footerUI.buttonPublish; this.footerSaveOptionsButton = this.footerUI.buttonSaveOptions; this.footerPublishButtonDisabled = false; this.updateLocationsOptions(); }, updateLocationsOptions: function updateLocationsOptions() { var _this = this; var exclude = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; var locationConfig = this.location_rules[this.location_type]; var locationOptions = {}; var isIncludeLocations = !_.isEmpty(this.document_type.location_include); var locationConfigChild = this.filterLocationOptions(locationConfig.child_locations); if (!isIncludeLocations) { locationOptions[this.location_type] = locationConfig.multiple_title; } _(locationConfigChild).each(function (childLocationType) { locationOptions[childLocationType] = _this.location_rules[childLocationType].title; }); var locationDefault = ''; if (exclude) { if (isIncludeLocations) { this.filterExcludeLocationOptions(locationOptions); } else { delete locationOptions[_.first(_.keys(locationOptions))]; } locationDefault = _.first(_.keys(locationOptions)); } else if (isIncludeLocations) { locationDefault = _.first(_.keys(locationOptions)); } if ('general' !== this.location_type) { var mainOption = {}; mainOption[this.location_type] = this.location_rules[this.location_type].title; this.setLocationOptions(mainOption); } else { if ('' === locationDefault) { locationDefault = 'general'; } this.setLocationOptions(locationOptions, locationDefault); return; } var locationOptionGroups = {}; locationOptionGroups[0] = { label: locationConfig.title, options: locationOptions }; this.setLocationOptions(locationOptionGroups, locationDefault, 'addl'); }, filterLocationOptions: function filterLocationOptions(childLocations) { var _this2 = this; var locationOptions = _.filter(childLocations, function (location) { if (!_.isEmpty(_this2.document_type.location_include)) { return _.contains(_this2.document_type.location_include, location); } else if (!_.isEmpty(_this2.document_type.location_exclude)) { return !_.contains(_this2.document_type.location_exclude, location); } return true; }); return locationOptions; }, filterExcludeLocationOptions: function filterExcludeLocationOptions(locationOptions) { var _this3 = this; _(locationOptions).each(function (option, location) { var locationRule = _this3.location_rules[location]; var optionChildLocations = locationRule.child_locations; if (_.isEmpty(locationRule.controls)) { delete locationOptions[location]; } if (!_.isEmpty(optionChildLocations)) { _(optionChildLocations).each(function (groupLocation) { var childLocationRule = _this3.location_rules[groupLocation]; if (!_.isEmpty(childLocationRule.controls)) { locationOptions[groupLocation] = childLocationRule.title; } }); } }); }, setLocationOptions: function setLocationOptions(locationOptions) { var locationDefault = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; var field = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'main'; var locationField = _.findWhere(this.model.get('fields'), { name: field }); if (_.isBoolean(locationDefault) && !locationDefault) { locationDefault = this.location_type; } locationField.default = locationDefault; locationField.groups = locationOptions; }, onRender: function onRender() { var _this4 = this; if (!_.size(this.collection)) { return; } this.checkExceptions(); this.collection.each(function (model) { return _this4.checkConflicts(model); }); }, checkExceptions: function checkExceptions() { var _this5 = this; var enabled = !_.size(this.collection); if (enabled) { this.ui.btnAddException.prop('disabled', true); return; } enabled = this.collection.some(function (model) { return 'include' === model.get('stmt') && model.get('truth'); }); this.ui.btnAddException.prop('disabled', !enabled); if (enabled) { this.collection.each(function (model) { if ('include' === model.get('stmt')) { return; } _this5.removeMessage(model, 'exception'); }); return; } this.collection.each(function (model) { if ('include' === model.get('stmt')) { return; } var message = !enabled ? cmsmastersElementor.translate('location_exception_message') : false; model.set('truth', !message); _this5.addMessage(model, 'exception', message); }); }, addMessage: function addMessage(model, type) { var message = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; var modelID = model.get('_id'); var $rule = jQuery("#elementor-location-id-".concat(modelID)); var messageClass = 'cmsmasters-location-error-message'; var messageTypeClass = "".concat(messageClass, "-").concat(type); var messageID = "".concat(messageTypeClass, "-").concat(modelID); if ($rule.find("#".concat(messageID)).length) { return; } var errorClass = 'elementor-error'; if (message) { $rule.removeClass("".concat(errorClass, "-check")); if (_.isArray(message)) { if (1 === _.size(message) && !jQuery(_.first(message)).data('id')) { message = cmsmastersElementor.translate('location_conflict_message', [_.first(message)]); } else { message = this.generateDynamicMessage(message, $rule, messageClass); } } if (!_.isString(message)) { return; } $rule.addClass(errorClass).find('> .elementor-repeater-row-controls').append("<div id=\"".concat(messageID, "\" class=\"").concat(messageClass, " ").concat(messageTypeClass, "\">").concat(message, "</div>")); } else if (!message && $rule.hasClass(errorClass)) { this.removeMessage(model, type); } this.setPublishButtonState(); }, removeMessage: function removeMessage(model, type) { var check = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; var messageClass = 'cmsmasters-location-error-message'; var messageTypeClass = "".concat(messageClass, "-").concat(type); var modelID = model.get('_id'); jQuery("#".concat(messageTypeClass, "-").concat(modelID)).remove(); var $rule = jQuery("#elementor-location-id-".concat(modelID)); var errorClass = 'elementor-error'; if (check) { $rule.addClass("".concat(errorClass, "-check")); } var errors = $rule.find(".".concat(messageClass)).length; if (!errors && !check) { $rule.removeClass("".concat(errorClass, " ").concat(errorClass, "-check")); model.set('truth', !errors); } }, generateDynamicMessage: function generateDynamicMessage(messageLinks, $rule, messageClass) { var linksCount = _.size(messageLinks); var message = "".concat(cmsmastersElementor.translate('location_conflicts_message_start'), "<br>"), linkIndex = 1; _.each(messageLinks, function (el) { var postID = jQuery(jQuery.parseHTML(el)).data('id'); if (postID) { var $argsField = $rule.find('.elementor-control-args'); var $fieldOptions = $argsField.find('select.elementor-select2 option'); var $fieldSelections = $argsField.find('.select2-selection__rendered li.select2-selection__choice'); $fieldOptions.each(function () { var $option = jQuery(this); var optionID = Number($option.val()); if (postID !== optionID) { return; } var optionText = $option.text(); var linksSeparator = linksCount !== linkIndex ? ',' : '.'; var link = cmsmastersElementor.translate('location_conflicts_message_links', ["<span class=\"".concat(messageClass, "-tag\">").concat(optionText, "</span>"), el]) + linksSeparator; message += "".concat(link, "<br>"); linkIndex++; $fieldSelections.each(function () { var $selection = jQuery(this); if (optionText !== $selection.attr('title')) { return; } $selection.addClass('cmsmasters-location-error').attr('data-error-id', optionID); }); }); } }, linkIndex); message += cmsmastersElementor.translate('location_conflicts_message_instruction'); return message; }, setPublishButtonState: function setPublishButtonState() { var disable = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; if (disable && this.footerPublishButton.hasClass('elementor-disabled')) { this.footerPublishButtonDisabled = true; } this.footerPublishButton.toggleClass('elementor-button-state', disable); if (!this.footerPublishButtonDisabled) { this.footerPublishButton.toggleClass('elementor-disabled', disable); this.footerSaveOptionsButton.toggleClass('elementor-disabled', disable); } if (!disable) { this.footerPublishButtonDisabled = false; } }, checkConflicts: function checkConflicts(model) { var _this6 = this; var modelID = model.get('_id'); setTimeout(function () { return _this6.setPublishButtonState(true); }); cmsmastersElementor.ajax.addRequest('template_locations_check_conflicts', { unique_id: "elementor-location-id-".concat(modelID), data: { location: model.toJSON({ removeDefaults: true }) }, success: function success(data) { var messageLinks = !_.isEmpty(data) ? data : false; model.set('truth', !messageLinks); _this6.addMessage(model, 'conflict', messageLinks); _this6.checkExceptions(); } }); }, onAddChild: function onAddChild(childView) { Repeater.prototype.onAddChild.apply(this, arguments); this.onRowsUpdate(childView.model); }, onChildviewClickRemove: function onChildviewClickRemove(childView) { Repeater.prototype.onChildviewClickRemove.apply(this, arguments); this.onRowsUpdate(childView.model); }, onRowsUpdate: function onRowsUpdate(childModel) { if ('addRule' === this.action) { this.checkConflicts(childModel); } if ('none' !== this.action) { this.action = 'none'; return; } this.checkExceptions(); }, onChildviewRowChange: function onChildviewRowChange(childView) { var model = childView.model; if (this.isReallyChanged(model)) { this.removeMessage(model, 'conflict', true); $e.internal('document/save/set-is-modified', { status: true }); this.checkConflicts(model); } }, isReallyChanged: function isReallyChanged(model) { var changed = model.changed ? model.changed : false; if (!changed) { return false; } var changedSize = changed ? _.keys(changed).length : 0; if (!changedSize || 1 === changedSize && _.has(changed, 'truth')) { return false; } return true; }, onButtonAddRowClick: function onButtonAddRowClick() { this.action = 'addRule'; this.updateLocationsOptions(); this.checkStatementField(this.model); Repeater.prototype.onButtonAddRowClick.apply(this, arguments); }, onButtonAddExceptionClick: function onButtonAddExceptionClick() { this.action = 'addException'; this.updateLocationsOptions(true); this.checkStatementField(this.model, 'exclude'); Repeater.prototype.onButtonAddRowClick.apply(this, arguments); }, checkStatementField: function checkStatementField(model) { var stmt = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'include'; var stmtField = _.findWhere(model.get('fields'), { name: 'stmt' }); if (stmt !== stmtField.default) { stmtField.default = stmt; } } }); /***/ }), /* 298 */ /***/ (function(module, exports) { module.exports = function (done, value) { return { value: value, done: !!done }; }; /***/ }), /* 299 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var LIBRARY = __webpack_require__(82); var $export = __webpack_require__(24); var redefine = __webpack_require__(33); var hide = __webpack_require__(40); var Iterators = __webpack_require__(91); var $iterCreate = __webpack_require__(300); var setToStringTag = __webpack_require__(171); var getPrototypeOf = __webpack_require__(301); var ITERATOR = __webpack_require__(10)('iterator'); var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` var FF_ITERATOR = '@@iterator'; var KEYS = 'keys'; var VALUES = 'values'; var returnThis = function () { return this; }; module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { $iterCreate(Constructor, NAME, next); var getMethod = function (kind) { if (!BUGGY && kind in proto) return proto[kind]; switch (kind) { case KEYS: return function keys() { return new Constructor(this, kind); }; case VALUES: return function values() { return new Constructor(this, kind); }; } return function entries() { return new Constructor(this, kind); }; }; var TAG = NAME + ' Iterator'; var DEF_VALUES = DEFAULT == VALUES; var VALUES_BUG = false; var proto = Base.prototype; var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; var $default = $native || getMethod(DEFAULT); var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; var methods, key, IteratorPrototype; // Fix native if ($anyNative) { IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { // Set @@toStringTag to native iterators setToStringTag(IteratorPrototype, TAG, true); // fix for some old engines if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis); } } // fix Array#{values, @@iterator}.name in V8 / FF if (DEF_VALUES && $native && $native.name !== VALUES) { VALUES_BUG = true; $default = function values() { return $native.call(this); }; } // Define iterator if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { hide(proto, ITERATOR, $default); } // Plug for library Iterators[NAME] = $default; Iterators[TAG] = returnThis; if (DEFAULT) { methods = { values: DEF_VALUES ? $default : getMethod(VALUES), keys: IS_SET ? $default : getMethod(KEYS), entries: $entries }; if (FORCED) for (key in methods) { if (!(key in proto)) redefine(proto, key, methods[key]); } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); } return methods; }; /***/ }), /* 300 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var create = __webpack_require__(224); var descriptor = __webpack_require__(93); var setToStringTag = __webpack_require__(171); var IteratorPrototype = {}; // 25.1.2.1.1 %IteratorPrototype%[@@iterator]() __webpack_require__(40)(IteratorPrototype, __webpack_require__(10)('iterator'), function () { return this; }); module.exports = function (Constructor, NAME, next) { Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); setToStringTag(Constructor, NAME + ' Iterator'); }; /***/ }), /* 301 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) var has = __webpack_require__(50); var toObject = __webpack_require__(81); var IE_PROTO = __webpack_require__(185)('IE_PROTO'); var ObjectProto = Object.prototype; module.exports = Object.getPrototypeOf || function (O) { O = toObject(O); if (has(O, IE_PROTO)) return O[IE_PROTO]; if (typeof O.constructor == 'function' && O instanceof O.constructor) { return O.constructor.prototype; } return O instanceof Object ? ObjectProto : null; }; /***/ }), /* 302 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; __webpack_require__(106); __webpack_require__(235); __webpack_require__(258); __webpack_require__(49); __webpack_require__(13); var RepeaterRow = elementor.modules.controls.RepeaterRow; module.exports = RepeaterRow.extend({ id: function id() { return 'elementor-location-id-' + this.model.get('_id'); }, initialize: function initialize() { RepeaterRow.prototype.initialize.apply(this, arguments); this.locations = elementor.config.document.template_locations; this.location_rules = this.locations.location_rules; this.document_type = this.locations.document_types[this.locations.template_type]; this.location_type = this.document_type.location_type; }, onBeforeRender: function onBeforeRender() { if ('general' === this.model.get('main')) { return; } var addlModel = this.collection.findWhere({ name: 'addl' }); var isExclude = 'general' !== this.location_type && 'exclude' === this.model.get('stmt'); addlModel.attributes.groups = this.getLocationOptions(isExclude); var argsConfig = this.location_rules[this.model.get('addl')]; if (!argsConfig || !argsConfig.controls) { return; } var argsModel = this.collection.findWhere({ name: 'args' }); _(argsConfig.controls).each(function (control) { argsModel.set(control).set({ name: 'args' }); }); }, getLocationOptions: function getLocationOptions() { var _this = this; var exclude = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; var locationConfig = this.location_rules[this.model.get('main')]; if (!locationConfig) { return; } var locationConfigChild = this.filterLocationOptions(locationConfig.child_locations); var notIncludeLocations = _.isEmpty(this.document_type.location_include); var locationOptions = notIncludeLocations ? { '': locationConfig.multiple_title } : {}; _(locationConfigChild).each(function (locationName) { var childLocationConfig = _this.location_rules[locationName]; if (!childLocationConfig) { return; } var childLocationConfigChild = childLocationConfig.child_locations; if (childLocationConfigChild.length) { var locationGroup = { label: childLocationConfig.title }; locationGroup.options = {}; locationGroup.options[locationName] = childLocationConfig.multiple_title; _(childLocationConfigChild).each(function (childLocationName) { locationGroup.options[childLocationName] = _this.location_rules[childLocationName].title; }); locationOptions["".concat(locationName, "_group")] = locationGroup; } else { locationOptions[locationName] = childLocationConfig.title; } }); if (exclude) { if (notIncludeLocations) { delete locationOptions[_.first(_.keys(locationOptions))]; } else { this.filterExcludeLocationOptions(locationOptions); } } return locationOptions; }, filterLocationOptions: function filterLocationOptions(childLocations) { var _this2 = this; var locationOptions = _.filter(childLocations, function (location) { if (!_.isEmpty(_this2.document_type.location_include)) { return _.contains(_this2.document_type.location_include, location); } else if (!_.isEmpty(_this2.document_type.location_exclude)) { return !_.contains(_this2.document_type.location_exclude, location); } return true; }); return locationOptions; }, filterExcludeLocationOptions: function filterExcludeLocationOptions(locationOptions) { var _this3 = this; _(locationOptions).each(function (option, location) { if (!_.isString(option)) { _(option.options).each(function (groupOption, groupLocation) { if (_.isEmpty(_this3.location_rules[groupLocation].controls)) { delete locationOptions[location].options[groupLocation]; } }); } else if (_.isEmpty(_this3.location_rules[location].controls)) { delete locationOptions[location]; } }); }, onModelChange: function onModelChange() { RepeaterRow.prototype.onModelChange.apply(this, arguments); this.triggerMethod('row:change', ''); this.updateOptions(); }, updateOptions: function updateOptions() { var changed = this.model.changed; if (_.isUndefined(changed.main) && _.isUndefined(changed.addl)) { return; } if (!_.isUndefined(changed.main)) { this.model.set('addl', ''); } this.model.set('args', ''); this.collection.findWhere({ name: 'args' }).set({ type: 'select', placeholder: cmsmastersElementor.translate('all') }); this.render(); }, onRender: function onRender() { RepeaterRow.prototype.onRender.apply(this, arguments); var mainView = this.children.findByModel(this.collection.findWhere({ name: 'main' })); var mainValue = mainView.getControlValue(); var mainLocationConfig = this.location_rules[this.model.get('main')]; if ('general' !== mainValue && (!mainLocationConfig || !_.isEmpty(mainLocationConfig.child_locations)) && this.location_type === mainValue) { mainView.$el.hide(); } var addlView = this.children.findByModel(this.collection.findWhere({ name: 'addl' })); if (!mainLocationConfig || _.isEmpty(mainLocationConfig.child_locations) && _.isEmpty(mainLocationConfig.controls) || !mainValue || 'general' === mainValue) { addlView.$el.hide(); } else { var addlSelect = addlView.$el.find('select'); var addlOptions = addlSelect.find('option'); if (!addlOptions.filter(':selected').length) { addlSelect.val(addlOptions.first().val()); } } var addlValue = addlView.getControlValue(); var addlLocationConfig = this.location_rules[this.model.get('addl')]; var argsView = this.children.findByModel(this.collection.findWhere({ name: 'args' })); if (!addlLocationConfig || _.isEmpty(addlLocationConfig.controls) || !addlValue) { argsView.$el.hide(); } this.setRowStatementAttribute(); }, setRowStatementAttribute: function setRowStatementAttribute() { var stmtModel = this.collection.findWhere({ name: 'stmt' }); var stmtValue = this.children.findByModel(stmtModel).getControlValue(); this.$el.attr('data-cmsmasters-location-statement', stmtValue); } }); /***/ }), /* 303 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; __webpack_require__(107); __webpack_require__(13); var FooterSaverBehavior = elementor.modules.components.saver.behaviors.FooterSaver; module.exports = FooterSaverBehavior.extend({ initialize: function initialize() { FooterSaverBehavior.prototype.initialize.apply(this, arguments); this.template_locations = elementor.config.document.template_locations; var locationDocuments = ['cmsmasters_header', 'cmsmasters_footer', 'cmsmasters_singular', 'cmsmasters_archive', 'cmsmasters_product_singular', 'cmsmasters_product_archive']; if (!locationDocuments.includes(this.template_locations.template_type)) { return; } this.locations_settings = this.template_locations.settings_array; this.pageSettingsModel = elementor.settings.page.model; this.pageSettingsLocations = this.pageSettingsModel.get('locations'); if (_.isUndefined(this.pageSettingsLocations)) { return; } this.pageSettingsLocations.on('add remove change', this.onChangeLocation.bind(this)); }, onChangeLocation: function onChangeLocation(settings) { this.locations_settings = settings.collection; }, // onRender() { // maybe not in use // FooterSaverBehavior.prototype.onRender.apply( this, arguments ); // }, onClickButtonPublish: function onClickButtonPublish(event) { if (jQuery(event.currentTarget).hasClass('elementor-disabled')) { return; } if (_.isUndefined(this.pageSettingsLocations)) { FooterSaverBehavior.prototype.onClickButtonPublish.apply(this, arguments); return; } var isDraft = 'draft' === this.pageSettingsModel.get('post_status'); if (isDraft) { this.locations_settings = this.pageSettingsLocations; } var currentPageView = elementor.getPanelView().getCurrentPageView(); var isLocationsSettings = 'locations_settings' === currentPageView.activeSection; if (!isLocationsSettings) { if (isDraft) { if (!this.locations_settings.length) { this.generateLocationsNotice(cmsmastersElementor.translate('draft_no_locations_notification')); } else { this.generateLocationsNotice(cmsmastersElementor.translate('draft_check_locations_notification'), 'info'); } return; } else if (!this.locations_settings.length) { this.generateLocationsNotice(cmsmastersElementor.translate('no_locations_notification')); return; } } // TODO: maybe not working properly, because need timeout for locations check var brokenMessages = !_.isUndefined(this.pageSettingsLocations.find(function (rule) { return !rule.get('truth'); })); if (brokenMessages) { this.generateLocationsNotice(cmsmastersElementor.translate('incorrect_locations_notification')); return; } FooterSaverBehavior.prototype.onClickButtonPublish.apply(this, arguments); }, generateLocationsNotice: function generateLocationsNotice(messageText) { var alertType = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'warning'; this.ui.buttonPublish.addClass('elementor-button-state'); this.openLocationsPageSettings(); elementor.notifications.showToast({ message: messageText, classes: "elementor-panel-alert elementor-panel-alert-".concat(alertType) }); }, openLocationsPageSettings: function openLocationsPageSettings() { var _this = this; var panel = elementor.getPanelView(); var currentView = panel.getCurrentPageView(); if ('page_settings' !== panel.getCurrentPageName() || 'locations_settings' !== currentView.activeSection) { $e.route('panel/page-settings/settings'); currentView = panel.getCurrentPageView(); currentView.activateSection('locations_settings'); currentView._renderChildren(); } setTimeout(function () { return _this.ui.buttonPublish.removeClass('elementor-button-state'); }, 500); } }); /***/ }), /* 304 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _interopRequireDefault = __webpack_require__(0); var _fonts = _interopRequireDefault(__webpack_require__(305)); var EditorModule = __webpack_require__(180); module.exports = EditorModule.extend({ onElementorInit: function onElementorInit() { this.assets = { font: new _fonts.default() }; } }); /***/ }), /* 305 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _Object$defineProperty = __webpack_require__(1); var _interopRequireDefault = __webpack_require__(0); _Object$defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; __webpack_require__(39); __webpack_require__(13); var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); var _createClass2 = _interopRequireDefault(__webpack_require__(3)); var _get2 = _interopRequireDefault(__webpack_require__(8)); var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(6)); var _inherits2 = _interopRequireDefault(__webpack_require__(4)); var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); var _default = /*#__PURE__*/function (_elementorModules$Mod) { (0, _inherits2.default)(_default, _elementorModules$Mod); var _super = (0, _createSuper2.default)(_default); function _default() { (0, _classCallCheck2.default)(this, _default); return _super.apply(this, arguments); } (0, _createClass2.default)(_default, [{ key: "__construct", value: function __construct() { (0, _get2.default)((0, _getPrototypeOf2.default)(_default.prototype), "__construct", this).apply(this, arguments); this.enqueuedFonts = []; } }, { key: "onInit", value: function onInit() { elementor.channels.editor.on('font:insertion', this.onFontChange.bind(this)); } }, { key: "onFontChange", value: function onFontChange(fontType, font) { if ('local' !== fontType || -1 !== this.enqueuedFonts.indexOf(font)) { return; } this.getCustomFont(fontType, font); } }, { key: "getCustomFont", value: function getCustomFont(fontType, font) { cmsmastersElementor.ajax.addRequest('editor_local_font_styles_load', { unique_id: "font_".concat(fontType).concat(font), data: { service: 'font', type: fontType, font: font }, success: function success(data) { var fontName = font.replace(/\s/g, '-').toLowerCase(); var stylesClass = "cmsmasters-editor-local-font-".concat(fontName); if (data.font_styles) { elementor.$previewContents.find('style:last').after("<style type=\"text/css\" class=\"".concat(stylesClass, "\">").concat(data.font_styles, "</style>")); } else if (data.font_link) { elementor.$previewContents.find('link:last').after("<link href=\"".concat(data.font_link, "\" type=\"text/css\" rel=\"stylesheet\" class=\"").concat(stylesClass, "\">")); } } }); this.enqueuedFonts.push(font); } }]); return _default; }(elementorModules.Module); exports.default = _default; /***/ }), /* 306 */ /***/ (function(module, exports, __webpack_require__) { var map = { "./choose-text": 259, "./choose-text.js": 259, "./custom-repeater": 260, "./custom-repeater-child": 241, "./custom-repeater-child.js": 241, "./custom-repeater.js": 260, "./selectize": 261, "./selectize.js": 261, "./wp-query": 262, "./wp-query.js": 262 }; function webpackContext(req) { var id = webpackContextResolve(req); return __webpack_require__(id); } function webpackContextResolve(req) { if(!__webpack_require__.o(map, req)) { var e = new Error("Cannot find module '" + req + "'"); e.code = 'MODULE_NOT_FOUND'; throw e; } return map[req]; } webpackContext.keys = function webpackContextKeys() { return Object.keys(map); }; webpackContext.resolve = webpackContextResolve; module.exports = webpackContext; webpackContext.id = 306; /***/ }) /******/ ]); //# sourceMappingURL=editor.js.map
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Генерация страницы: 0.08 |
proxy
|
phpinfo
|
Настройка