| @@ -1,930 +1,578 @@ | ||
| 1 | -/******/ (() => { // webpackBootstrap | |
| 2 | -/******/ var __webpack_modules__ = ({ | |
| 1 | +/*! elementor - v3.0.6 - 06-09-2020 */ | |
| 2 | +/******/ (function(modules) { // webpackBootstrap | |
| 3 | +/******/ // The module cache | |
| 4 | +/******/ var installedModules = {}; | |
| 5 | +/******/ | |
| 6 | +/******/ // The require function | |
| 7 | +/******/ function __webpack_require__(moduleId) { | |
| 8 | +/******/ | |
| 9 | +/******/ // Check if module is in cache | |
| 10 | +/******/ if(installedModules[moduleId]) { | |
| 11 | +/******/ return installedModules[moduleId].exports; | |
| 12 | +/******/ } | |
| 13 | +/******/ // Create a new module (and put it into the cache) | |
| 14 | +/******/ var module = installedModules[moduleId] = { | |
| 15 | +/******/ i: moduleId, | |
| 16 | +/******/ l: false, | |
| 17 | +/******/ exports: {} | |
| 18 | +/******/ }; | |
| 19 | +/******/ | |
| 20 | +/******/ // Execute the module function | |
| 21 | +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); | |
| 22 | +/******/ | |
| 23 | +/******/ // Flag the module as loaded | |
| 24 | +/******/ module.l = true; | |
| 25 | +/******/ | |
| 26 | +/******/ // Return the exports of the module | |
| 27 | +/******/ return module.exports; | |
| 28 | +/******/ } | |
| 29 | +/******/ | |
| 30 | +/******/ | |
| 31 | +/******/ // expose the modules object (__webpack_modules__) | |
| 32 | +/******/ __webpack_require__.m = modules; | |
| 33 | +/******/ | |
| 34 | +/******/ // expose the module cache | |
| 35 | +/******/ __webpack_require__.c = installedModules; | |
| 36 | +/******/ | |
| 37 | +/******/ // define getter function for harmony exports | |
| 38 | +/******/ __webpack_require__.d = function(exports, name, getter) { | |
| 39 | +/******/ if(!__webpack_require__.o(exports, name)) { | |
| 40 | +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); | |
| 41 | +/******/ } | |
| 42 | +/******/ }; | |
| 43 | +/******/ | |
| 44 | +/******/ // define __esModule on exports | |
| 45 | +/******/ __webpack_require__.r = function(exports) { | |
| 46 | +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | |
| 47 | +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | |
| 48 | +/******/ } | |
| 49 | +/******/ Object.defineProperty(exports, '__esModule', { value: true }); | |
| 50 | +/******/ }; | |
| 51 | +/******/ | |
| 52 | +/******/ // create a fake namespace object | |
| 53 | +/******/ // mode & 1: value is a module id, require it | |
| 54 | +/******/ // mode & 2: merge all properties of value into the ns | |
| 55 | +/******/ // mode & 4: return value when already ns object | |
| 56 | +/******/ // mode & 8|1: behave like require | |
| 57 | +/******/ __webpack_require__.t = function(value, mode) { | |
| 58 | +/******/ if(mode & 1) value = __webpack_require__(value); | |
| 59 | +/******/ if(mode & 8) return value; | |
| 60 | +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; | |
| 61 | +/******/ var ns = Object.create(null); | |
| 62 | +/******/ __webpack_require__.r(ns); | |
| 63 | +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); | |
| 64 | +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); | |
| 65 | +/******/ return ns; | |
| 66 | +/******/ }; | |
| 67 | +/******/ | |
| 68 | +/******/ // getDefaultExport function for compatibility with non-harmony modules | |
| 69 | +/******/ __webpack_require__.n = function(module) { | |
| 70 | +/******/ var getter = module && module.__esModule ? | |
| 71 | +/******/ function getDefault() { return module['default']; } : | |
| 72 | +/******/ function getModuleExports() { return module; }; | |
| 73 | +/******/ __webpack_require__.d(getter, 'a', getter); | |
| 74 | +/******/ return getter; | |
| 75 | +/******/ }; | |
| 76 | +/******/ | |
| 77 | +/******/ // Object.prototype.hasOwnProperty.call | |
| 78 | +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; | |
| 79 | +/******/ | |
| 80 | +/******/ // __webpack_public_path__ | |
| 81 | +/******/ __webpack_require__.p = ""; | |
| 82 | +/******/ | |
| 83 | +/******/ | |
| 84 | +/******/ // Load entry module and return exports | |
| 85 | +/******/ return __webpack_require__(__webpack_require__.s = 750); | |
| 86 | +/******/ }) | |
| 87 | +/************************************************************************/ | |
| 88 | +/******/ ([ | |
| 89 | +/* 0 */ | |
| 90 | +/***/ (function(module, exports) { | |
| 3 | 91 | |
| 4 | -/***/ "../app/assets/js/loader/commands/close.js": | |
| 5 | -/*!*************************************************!*\ | |
| 6 | - !*** ../app/assets/js/loader/commands/close.js ***! | |
| 7 | - \*************************************************/ | |
| 8 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 92 | +function _interopRequireDefault(obj) { | |
| 93 | + return obj && obj.__esModule ? obj : { | |
| 94 | + "default": obj | |
| 95 | + }; | |
| 96 | +} | |
| 9 | 97 | |
| 10 | -"use strict"; | |
| 98 | +module.exports = _interopRequireDefault; | |
| 11 | 99 | |
| 100 | +/***/ }), | |
| 101 | +/* 1 */ | |
| 102 | +/***/ (function(module, exports, __webpack_require__) { | |
| 12 | 103 | |
| 13 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 14 | -Object.defineProperty(exports, "__esModule", ({ | |
| 15 | - value: true | |
| 16 | -})); | |
| 17 | -exports["default"] = exports.Close = void 0; | |
| 18 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 19 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 20 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 21 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 22 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 23 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 24 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 25 | -var Close = exports.Close = /*#__PURE__*/function (_$e$modules$CommandBa) { | |
| 26 | - function Close() { | |
| 27 | - (0, _classCallCheck2.default)(this, Close); | |
| 28 | - return _callSuper(this, Close, arguments); | |
| 104 | +module.exports = __webpack_require__(156); | |
| 105 | + | |
| 106 | +/***/ }), | |
| 107 | +/* 2 */ | |
| 108 | +/***/ (function(module, exports) { | |
| 109 | + | |
| 110 | +function _classCallCheck(instance, Constructor) { | |
| 111 | + if (!(instance instanceof Constructor)) { | |
| 112 | + throw new TypeError("Cannot call a class as a function"); | |
| 29 | 113 | } |
| 30 | - (0, _inherits2.default)(Close, _$e$modules$CommandBa); | |
| 31 | - return (0, _createClass2.default)(Close, [{ | |
| 32 | - key: "apply", | |
| 33 | - value: function apply() { | |
| 34 | - if (!this.component.close()) { | |
| 35 | - return false; | |
| 36 | - } | |
| 37 | - this.component.iframe.remove(); | |
| 38 | - this.component.iframe = null; | |
| 39 | - return true; | |
| 40 | - } | |
| 41 | - }]); | |
| 42 | -}($e.modules.CommandBase); | |
| 43 | -var _default = exports["default"] = Close; | |
| 114 | +} | |
| 44 | 115 | |
| 116 | +module.exports = _classCallCheck; | |
| 117 | + | |
| 45 | 118 | /***/ }), |
| 119 | +/* 3 */ | |
| 120 | +/***/ (function(module, exports, __webpack_require__) { | |
| 46 | 121 | |
| 47 | -/***/ "../app/assets/js/loader/commands/index.js": | |
| 48 | -/*!*************************************************!*\ | |
| 49 | - !*** ../app/assets/js/loader/commands/index.js ***! | |
| 50 | - \*************************************************/ | |
| 51 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 122 | +var _Object$defineProperty = __webpack_require__(1); | |
| 52 | 123 | |
| 53 | -"use strict"; | |
| 124 | +function _defineProperties(target, props) { | |
| 125 | + for (var i = 0; i < props.length; i++) { | |
| 126 | + var descriptor = props[i]; | |
| 127 | + descriptor.enumerable = descriptor.enumerable || false; | |
| 128 | + descriptor.configurable = true; | |
| 129 | + if ("value" in descriptor) descriptor.writable = true; | |
| 54 | 130 | |
| 131 | + _Object$defineProperty(target, descriptor.key, descriptor); | |
| 132 | + } | |
| 133 | +} | |
| 55 | 134 | |
| 56 | -Object.defineProperty(exports, "__esModule", ({ | |
| 57 | - value: true | |
| 58 | -})); | |
| 59 | -Object.defineProperty(exports, "Close", ({ | |
| 60 | - enumerable: true, | |
| 61 | - get: function get() { | |
| 62 | - return _close.Close; | |
| 63 | - } | |
| 64 | -})); | |
| 65 | -Object.defineProperty(exports, "Load", ({ | |
| 66 | - enumerable: true, | |
| 67 | - get: function get() { | |
| 68 | - return _load.Load; | |
| 69 | - } | |
| 70 | -})); | |
| 71 | -Object.defineProperty(exports, "Open", ({ | |
| 72 | - enumerable: true, | |
| 73 | - get: function get() { | |
| 74 | - return _open.Open; | |
| 75 | - } | |
| 76 | -})); | |
| 77 | -var _close = __webpack_require__(/*! ./close */ "../app/assets/js/loader/commands/close.js"); | |
| 78 | -var _load = __webpack_require__(/*! ./load */ "../app/assets/js/loader/commands/load.js"); | |
| 79 | -var _open = __webpack_require__(/*! ./open */ "../app/assets/js/loader/commands/open.js"); | |
| 135 | +function _createClass(Constructor, protoProps, staticProps) { | |
| 136 | + if (protoProps) _defineProperties(Constructor.prototype, protoProps); | |
| 137 | + if (staticProps) _defineProperties(Constructor, staticProps); | |
| 138 | + return Constructor; | |
| 139 | +} | |
| 80 | 140 | |
| 141 | +module.exports = _createClass; | |
| 142 | + | |
| 81 | 143 | /***/ }), |
| 144 | +/* 4 */ | |
| 145 | +/***/ (function(module, exports, __webpack_require__) { | |
| 82 | 146 | |
| 83 | -/***/ "../app/assets/js/loader/commands/load.js": | |
| 84 | -/*!************************************************!*\ | |
| 85 | - !*** ../app/assets/js/loader/commands/load.js ***! | |
| 86 | - \************************************************/ | |
| 87 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 147 | +var _Object$create = __webpack_require__(138); | |
| 88 | 148 | |
| 89 | -"use strict"; | |
| 149 | +var setPrototypeOf = __webpack_require__(136); | |
| 90 | 150 | |
| 151 | +function _inherits(subClass, superClass) { | |
| 152 | + if (typeof superClass !== "function" && superClass !== null) { | |
| 153 | + throw new TypeError("Super expression must either be null or a function"); | |
| 154 | + } | |
| 91 | 155 | |
| 92 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 93 | -Object.defineProperty(exports, "__esModule", ({ | |
| 94 | - value: true | |
| 95 | -})); | |
| 96 | -exports["default"] = exports.Load = void 0; | |
| 97 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 98 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 99 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 100 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 101 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 102 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 103 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 104 | -var Load = exports.Load = /*#__PURE__*/function (_$e$modules$CommandBa) { | |
| 105 | - function Load() { | |
| 106 | - (0, _classCallCheck2.default)(this, Load); | |
| 107 | - return _callSuper(this, Load, arguments); | |
| 108 | - } | |
| 109 | - (0, _inherits2.default)(Load, _$e$modules$CommandBa); | |
| 110 | - return (0, _createClass2.default)(Load, [{ | |
| 111 | - key: "apply", | |
| 112 | - value: function apply(args) { | |
| 113 | - var component = this.component; | |
| 114 | - if (!component.iframe) { | |
| 115 | - component.iframe = document.createElement('iframe'); | |
| 116 | - component.iframe.className = 'elementor-app-iframe'; | |
| 117 | - component.iframe.style.cssText = '' + 'display: none;' + 'width: 100%;' + 'height: 100%;' + 'position: fixed;' + 'top: 0;' + 'left: 0;' + 'z-index: 99999; /* Over WP Admin Bar */' + 'background-color: rgba(0, 0, 0, 0.8);'; | |
| 118 | - document.body.appendChild(component.iframe); | |
| 119 | - } | |
| 120 | - if (args.url === component.iframe.src) { | |
| 121 | - return; | |
| 122 | - } | |
| 123 | - component.iframe.src = args.url; | |
| 156 | + subClass.prototype = _Object$create(superClass && superClass.prototype, { | |
| 157 | + constructor: { | |
| 158 | + value: subClass, | |
| 159 | + writable: true, | |
| 160 | + configurable: true | |
| 124 | 161 | } |
| 125 | - }]); | |
| 126 | -}($e.modules.CommandBase); | |
| 127 | -var _default = exports["default"] = Load; | |
| 162 | + }); | |
| 163 | + if (superClass) setPrototypeOf(subClass, superClass); | |
| 164 | +} | |
| 128 | 165 | |
| 166 | +module.exports = _inherits; | |
| 167 | + | |
| 129 | 168 | /***/ }), |
| 169 | +/* 5 */ | |
| 170 | +/***/ (function(module, exports, __webpack_require__) { | |
| 130 | 171 | |
| 131 | -/***/ "../app/assets/js/loader/commands/open.js": | |
| 132 | -/*!************************************************!*\ | |
| 133 | - !*** ../app/assets/js/loader/commands/open.js ***! | |
| 134 | - \************************************************/ | |
| 135 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 172 | +var _Reflect$construct = __webpack_require__(107); | |
| 136 | 173 | |
| 137 | -"use strict"; | |
| 174 | +var getPrototypeOf = __webpack_require__(16); | |
| 138 | 175 | |
| 176 | +var isNativeReflectConstruct = __webpack_require__(148); | |
| 139 | 177 | |
| 140 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 141 | -Object.defineProperty(exports, "__esModule", ({ | |
| 142 | - value: true | |
| 143 | -})); | |
| 144 | -exports["default"] = exports.Open = void 0; | |
| 145 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 146 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 147 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 148 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 149 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 150 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 151 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 152 | -var Open = exports.Open = /*#__PURE__*/function (_$e$modules$CommandBa) { | |
| 153 | - function Open() { | |
| 154 | - (0, _classCallCheck2.default)(this, Open); | |
| 155 | - return _callSuper(this, Open, arguments); | |
| 156 | - } | |
| 157 | - (0, _inherits2.default)(Open, _$e$modules$CommandBa); | |
| 158 | - return (0, _createClass2.default)(Open, [{ | |
| 159 | - key: "apply", | |
| 160 | - value: function apply(args) { | |
| 161 | - $e.route('app', args); | |
| 162 | - return true; | |
| 178 | +var possibleConstructorReturn = __webpack_require__(171); | |
| 179 | + | |
| 180 | +function _createSuper(Derived) { | |
| 181 | + var hasNativeReflectConstruct = isNativeReflectConstruct(); | |
| 182 | + return function _createSuperInternal() { | |
| 183 | + var Super = getPrototypeOf(Derived), | |
| 184 | + result; | |
| 185 | + | |
| 186 | + if (hasNativeReflectConstruct) { | |
| 187 | + var NewTarget = getPrototypeOf(this).constructor; | |
| 188 | + result = _Reflect$construct(Super, arguments, NewTarget); | |
| 189 | + } else { | |
| 190 | + result = Super.apply(this, arguments); | |
| 163 | 191 | } |
| 164 | - }]); | |
| 165 | -}($e.modules.CommandBase); | |
| 166 | -var _default = exports["default"] = Open; | |
| 167 | 192 | |
| 193 | + return possibleConstructorReturn(this, result); | |
| 194 | + }; | |
| 195 | +} | |
| 196 | + | |
| 197 | +module.exports = _createSuper; | |
| 198 | + | |
| 168 | 199 | /***/ }), |
| 200 | +/* 6 */ | |
| 201 | +/***/ (function(module, exports) { | |
| 169 | 202 | |
| 170 | -/***/ "../app/assets/js/loader/component.js": | |
| 171 | -/*!********************************************!*\ | |
| 172 | - !*** ../app/assets/js/loader/component.js ***! | |
| 173 | - \********************************************/ | |
| 174 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 203 | +var core = module.exports = { version: '2.6.11' }; | |
| 204 | +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef | |
| 175 | 205 | |
| 176 | -"use strict"; | |
| 177 | 206 | |
| 207 | +/***/ }), | |
| 208 | +/* 7 */ | |
| 209 | +/***/ (function(module, exports, __webpack_require__) { | |
| 178 | 210 | |
| 179 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 180 | -var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js"); | |
| 181 | -Object.defineProperty(exports, "__esModule", ({ | |
| 182 | - value: true | |
| 183 | -})); | |
| 184 | -exports["default"] = void 0; | |
| 185 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 186 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 187 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 188 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 189 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 190 | -var _componentBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/component-base */ "../modules/web-cli/assets/js/modules/component-base.js")); | |
| 191 | -var commands = _interopRequireWildcard(__webpack_require__(/*! ./commands/ */ "../app/assets/js/loader/commands/index.js")); | |
| 192 | -function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); } | |
| 193 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 194 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 195 | -var Component = exports["default"] = /*#__PURE__*/function (_ComponentModalBase) { | |
| 196 | - function Component() { | |
| 197 | - (0, _classCallCheck2.default)(this, Component); | |
| 198 | - return _callSuper(this, Component, arguments); | |
| 199 | - } | |
| 200 | - (0, _inherits2.default)(Component, _ComponentModalBase); | |
| 201 | - return (0, _createClass2.default)(Component, [{ | |
| 202 | - key: "getNamespace", | |
| 203 | - value: function getNamespace() { | |
| 204 | - return 'app'; | |
| 205 | - } | |
| 206 | - }, { | |
| 207 | - key: "defaultRoutes", | |
| 208 | - value: function defaultRoutes() { | |
| 209 | - var _this = this; | |
| 210 | - return { | |
| 211 | - '': function _(args) { | |
| 212 | - args.url = args.url || elementorAppConfig.menu_url; | |
| 213 | - $e.run('app/load', args); | |
| 214 | - _this.iframe.style.display = ''; | |
| 215 | - document.body.style.overflow = 'hidden'; | |
| 216 | - } | |
| 211 | +var global = __webpack_require__(8); | |
| 212 | +var core = __webpack_require__(6); | |
| 213 | +var ctx = __webpack_require__(31); | |
| 214 | +var hide = __webpack_require__(24); | |
| 215 | +var has = __webpack_require__(19); | |
| 216 | +var PROTOTYPE = 'prototype'; | |
| 217 | + | |
| 218 | +var $export = function (type, name, source) { | |
| 219 | + var IS_FORCED = type & $export.F; | |
| 220 | + var IS_GLOBAL = type & $export.G; | |
| 221 | + var IS_STATIC = type & $export.S; | |
| 222 | + var IS_PROTO = type & $export.P; | |
| 223 | + var IS_BIND = type & $export.B; | |
| 224 | + var IS_WRAP = type & $export.W; | |
| 225 | + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); | |
| 226 | + var expProto = exports[PROTOTYPE]; | |
| 227 | + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]; | |
| 228 | + var key, own, out; | |
| 229 | + if (IS_GLOBAL) source = name; | |
| 230 | + for (key in source) { | |
| 231 | + // contains in native | |
| 232 | + own = !IS_FORCED && target && target[key] !== undefined; | |
| 233 | + if (own && has(exports, key)) continue; | |
| 234 | + // export native or passed | |
| 235 | + out = own ? target[key] : source[key]; | |
| 236 | + // prevent global pollution for namespaces | |
| 237 | + exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key] | |
| 238 | + // bind timers to global for call from export context | |
| 239 | + : IS_BIND && own ? ctx(out, global) | |
| 240 | + // wrap global constructors for prevent change them in library | |
| 241 | + : IS_WRAP && target[key] == out ? (function (C) { | |
| 242 | + var F = function (a, b, c) { | |
| 243 | + if (this instanceof C) { | |
| 244 | + switch (arguments.length) { | |
| 245 | + case 0: return new C(); | |
| 246 | + case 1: return new C(a); | |
| 247 | + case 2: return new C(a, b); | |
| 248 | + } return new C(a, b, c); | |
| 249 | + } return C.apply(this, arguments); | |
| 217 | 250 | }; |
| 251 | + F[PROTOTYPE] = C[PROTOTYPE]; | |
| 252 | + return F; | |
| 253 | + // make static versions for prototype methods | |
| 254 | + })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; | |
| 255 | + // export proto methods to core.%CONSTRUCTOR%.methods.%NAME% | |
| 256 | + if (IS_PROTO) { | |
| 257 | + (exports.virtual || (exports.virtual = {}))[key] = out; | |
| 258 | + // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME% | |
| 259 | + if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out); | |
| 218 | 260 | } |
| 219 | - }, { | |
| 220 | - key: "defaultCommands", | |
| 221 | - value: function defaultCommands() { | |
| 222 | - return this.importCommands(commands); | |
| 223 | - } | |
| 224 | - }, { | |
| 225 | - key: "defaultShortcuts", | |
| 226 | - value: function defaultShortcuts() { | |
| 227 | - return { | |
| 228 | - '': { | |
| 229 | - keys: 'ctrl+shift+e' | |
| 230 | - }, | |
| 231 | - close: { | |
| 232 | - keys: 'esc', | |
| 233 | - scopes: [this.getNamespace()] | |
| 234 | - } | |
| 235 | - }; | |
| 236 | - } | |
| 237 | - }]); | |
| 238 | -}(_componentBase.default); | |
| 261 | + } | |
| 262 | +}; | |
| 263 | +// type bitmap | |
| 264 | +$export.F = 1; // forced | |
| 265 | +$export.G = 2; // global | |
| 266 | +$export.S = 4; // static | |
| 267 | +$export.P = 8; // proto | |
| 268 | +$export.B = 16; // bind | |
| 269 | +$export.W = 32; // wrap | |
| 270 | +$export.U = 64; // safe | |
| 271 | +$export.R = 128; // real proto method for `library` | |
| 272 | +module.exports = $export; | |
| 239 | 273 | |
| 274 | + | |
| 240 | 275 | /***/ }), |
| 276 | +/* 8 */ | |
| 277 | +/***/ (function(module, exports) { | |
| 241 | 278 | |
| 242 | -/***/ "../assets/dev/js/editor/utils/is-instanceof.js": | |
| 243 | -/*!******************************************************!*\ | |
| 244 | - !*** ../assets/dev/js/editor/utils/is-instanceof.js ***! | |
| 245 | - \******************************************************/ | |
| 246 | -/***/ ((__unused_webpack_module, exports) => { | |
| 279 | +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 | |
| 280 | +var global = module.exports = typeof window != 'undefined' && window.Math == Math | |
| 281 | + ? window : typeof self != 'undefined' && self.Math == Math ? self | |
| 282 | + // eslint-disable-next-line no-new-func | |
| 283 | + : Function('return this')(); | |
| 284 | +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef | |
| 247 | 285 | |
| 248 | -"use strict"; | |
| 249 | 286 | |
| 287 | +/***/ }), | |
| 288 | +/* 9 */ | |
| 289 | +/***/ (function(module, exports) { | |
| 250 | 290 | |
| 251 | -Object.defineProperty(exports, "__esModule", ({ | |
| 252 | - value: true | |
| 253 | -})); | |
| 254 | -exports["default"] = void 0; | |
| 255 | -function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; } | |
| 256 | -function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } } | |
| 257 | -function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; } | |
| 258 | -/** | |
| 259 | - * Some FileAPI objects such as FileList, DataTransferItem and DataTransferItemList has inconsistency with the retrieved | |
| 260 | - * object (from events, etc.) and the actual JavaScript object so a regular instanceof doesn't work. This function can | |
| 261 | - * check whether it's instanceof by using the objects constructor and prototype names. | |
| 262 | - * | |
| 263 | - * @param object | |
| 264 | - * @param constructors | |
| 265 | - * @return {boolean} | |
| 266 | - */ | |
| 267 | -var _default = exports["default"] = function _default(object, constructors) { | |
| 268 | - constructors = Array.isArray(constructors) ? constructors : [constructors]; | |
| 269 | - var _iterator = _createForOfIteratorHelper(constructors), | |
| 270 | - _step; | |
| 271 | - try { | |
| 272 | - for (_iterator.s(); !(_step = _iterator.n()).done;) { | |
| 273 | - var constructor = _step.value; | |
| 274 | - if (object.constructor.name === constructor.prototype[Symbol.toStringTag]) { | |
| 275 | - return true; | |
| 276 | - } | |
| 277 | - } | |
| 278 | - } catch (err) { | |
| 279 | - _iterator.e(err); | |
| 280 | - } finally { | |
| 281 | - _iterator.f(); | |
| 282 | - } | |
| 283 | - return false; | |
| 291 | +module.exports = function (it) { | |
| 292 | + return typeof it === 'object' ? it !== null : typeof it === 'function'; | |
| 284 | 293 | }; |
| 285 | 294 | |
| 295 | + | |
| 286 | 296 | /***/ }), |
| 297 | +/* 10 */ | |
| 298 | +/***/ (function(module, exports, __webpack_require__) { | |
| 287 | 299 | |
| 288 | -/***/ "../assets/dev/js/modules/imports/args-object.js": | |
| 289 | -/*!*******************************************************!*\ | |
| 290 | - !*** ../assets/dev/js/modules/imports/args-object.js ***! | |
| 291 | - \*******************************************************/ | |
| 292 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 300 | +var store = __webpack_require__(76)('wks'); | |
| 301 | +var uid = __webpack_require__(59); | |
| 302 | +var Symbol = __webpack_require__(8).Symbol; | |
| 303 | +var USE_SYMBOL = typeof Symbol == 'function'; | |
| 293 | 304 | |
| 294 | -"use strict"; | |
| 305 | +var $exports = module.exports = function (name) { | |
| 306 | + return store[name] || (store[name] = | |
| 307 | + USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); | |
| 308 | +}; | |
| 295 | 309 | |
| 310 | +$exports.store = store; | |
| 296 | 311 | |
| 297 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 298 | -Object.defineProperty(exports, "__esModule", ({ | |
| 299 | - value: true | |
| 300 | -})); | |
| 301 | -exports["default"] = void 0; | |
| 302 | -var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js")); | |
| 303 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 304 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 305 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 306 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 307 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 308 | -var _instanceType = _interopRequireDefault(__webpack_require__(/*! ./instance-type */ "../assets/dev/js/modules/imports/instance-type.js")); | |
| 309 | -var _isInstanceof = _interopRequireDefault(__webpack_require__(/*! ../../editor/utils/is-instanceof */ "../assets/dev/js/editor/utils/is-instanceof.js")); | |
| 310 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 311 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 312 | -var ArgsObject = exports["default"] = /*#__PURE__*/function (_InstanceType) { | |
| 313 | - /** | |
| 314 | - * Function constructor(). | |
| 315 | - * | |
| 316 | - * Create ArgsObject. | |
| 317 | - * | |
| 318 | - * @param {{}} args | |
| 319 | - */ | |
| 320 | - function ArgsObject(args) { | |
| 321 | - var _this; | |
| 322 | - (0, _classCallCheck2.default)(this, ArgsObject); | |
| 323 | - _this = _callSuper(this, ArgsObject); | |
| 324 | - _this.args = args; | |
| 325 | - return _this; | |
| 326 | - } | |
| 327 | 312 | |
| 328 | - /** | |
| 329 | - * Function requireArgument(). | |
| 330 | - * | |
| 331 | - * Validate property in args. | |
| 332 | - * | |
| 333 | - * @param {string} property | |
| 334 | - * @param {{}} args | |
| 335 | - * | |
| 336 | - * @throws {Error} | |
| 337 | - */ | |
| 338 | - (0, _inherits2.default)(ArgsObject, _InstanceType); | |
| 339 | - return (0, _createClass2.default)(ArgsObject, [{ | |
| 340 | - key: "requireArgument", | |
| 341 | - value: function requireArgument(property) { | |
| 342 | - var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.args; | |
| 343 | - if (!Object.prototype.hasOwnProperty.call(args, property)) { | |
| 344 | - throw Error("".concat(property, " is required.")); | |
| 345 | - } | |
| 346 | - } | |
| 313 | +/***/ }), | |
| 314 | +/* 11 */, | |
| 315 | +/* 12 */ | |
| 316 | +/***/ (function(module, exports, __webpack_require__) { | |
| 347 | 317 | |
| 348 | - /** | |
| 349 | - * Function requireArgumentType(). | |
| 350 | - * | |
| 351 | - * Validate property in args using `type === typeof(args.whatever)`. | |
| 352 | - * | |
| 353 | - * @param {string} property | |
| 354 | - * @param {string} type | |
| 355 | - * @param {{}} args | |
| 356 | - * | |
| 357 | - * @throws {Error} | |
| 358 | - */ | |
| 359 | - }, { | |
| 360 | - key: "requireArgumentType", | |
| 361 | - value: function requireArgumentType(property, type) { | |
| 362 | - var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 363 | - this.requireArgument(property, args); | |
| 364 | - if ((0, _typeof2.default)(args[property]) !== type) { | |
| 365 | - throw Error("".concat(property, " invalid type: ").concat(type, ".")); | |
| 366 | - } | |
| 367 | - } | |
| 318 | +var store = __webpack_require__(66)('wks'); | |
| 319 | +var uid = __webpack_require__(67); | |
| 320 | +var Symbol = __webpack_require__(17).Symbol; | |
| 321 | +var USE_SYMBOL = typeof Symbol == 'function'; | |
| 368 | 322 | |
| 369 | - /** | |
| 370 | - * Function requireArgumentInstance(). | |
| 371 | - * | |
| 372 | - * Validate property in args using `args.whatever instanceof instance`. | |
| 373 | - * | |
| 374 | - * @param {string} property | |
| 375 | - * @param {*} instance | |
| 376 | - * @param {{}} args | |
| 377 | - * | |
| 378 | - * @throws {Error} | |
| 379 | - */ | |
| 380 | - }, { | |
| 381 | - key: "requireArgumentInstance", | |
| 382 | - value: function requireArgumentInstance(property, instance) { | |
| 383 | - var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 384 | - this.requireArgument(property, args); | |
| 385 | - if (!(args[property] instanceof instance) && !(0, _isInstanceof.default)(args[property], instance)) { | |
| 386 | - throw Error("".concat(property, " invalid instance.")); | |
| 387 | - } | |
| 388 | - } | |
| 323 | +var $exports = module.exports = function (name) { | |
| 324 | + return store[name] || (store[name] = | |
| 325 | + USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); | |
| 326 | +}; | |
| 389 | 327 | |
| 390 | - /** | |
| 391 | - * Function requireArgumentConstructor(). | |
| 392 | - * | |
| 393 | - * Validate property in args using `type === args.whatever.constructor`. | |
| 394 | - * | |
| 395 | - * @param {string} property | |
| 396 | - * @param {*} type | |
| 397 | - * @param {{}} args | |
| 398 | - * | |
| 399 | - * @throws {Error} | |
| 400 | - */ | |
| 401 | - }, { | |
| 402 | - key: "requireArgumentConstructor", | |
| 403 | - value: function requireArgumentConstructor(property, type) { | |
| 404 | - var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 405 | - this.requireArgument(property, args); | |
| 328 | +$exports.store = store; | |
| 406 | 329 | |
| 407 | - // Note: Converting the constructor to string in order to avoid equation issues | |
| 408 | - // due to different memory addresses between iframes (window.Object !== window.top.Object). | |
| 409 | - if (args[property].constructor.toString() !== type.prototype.constructor.toString()) { | |
| 410 | - throw Error("".concat(property, " invalid constructor type.")); | |
| 411 | - } | |
| 412 | - } | |
| 413 | - }], [{ | |
| 414 | - key: "getInstanceType", | |
| 415 | - value: function getInstanceType() { | |
| 416 | - return 'ArgsObject'; | |
| 417 | - } | |
| 418 | - }]); | |
| 419 | -}(_instanceType.default); | |
| 420 | 330 | |
| 421 | 331 | /***/ }), |
| 332 | +/* 13 */ | |
| 333 | +/***/ (function(module, exports, __webpack_require__) { | |
| 422 | 334 | |
| 423 | -/***/ "../assets/dev/js/modules/imports/instance-type.js": | |
| 424 | -/*!*********************************************************!*\ | |
| 425 | - !*** ../assets/dev/js/modules/imports/instance-type.js ***! | |
| 426 | - \*********************************************************/ | |
| 427 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 335 | +var isObject = __webpack_require__(9); | |
| 336 | +module.exports = function (it) { | |
| 337 | + if (!isObject(it)) throw TypeError(it + ' is not an object!'); | |
| 338 | + return it; | |
| 339 | +}; | |
| 428 | 340 | |
| 429 | -"use strict"; | |
| 430 | 341 | |
| 342 | +/***/ }), | |
| 343 | +/* 14 */ | |
| 344 | +/***/ (function(module, exports, __webpack_require__) { | |
| 431 | 345 | |
| 432 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 433 | -Object.defineProperty(exports, "__esModule", ({ | |
| 434 | - value: true | |
| 435 | -})); | |
| 436 | -exports["default"] = void 0; | |
| 437 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 438 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 439 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 440 | -var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/get */ "../node_modules/@babel/runtime/helpers/get.js")); | |
| 441 | -function _superPropGet(t, o, e, r) { var p = (0, _get2.default)((0, _getPrototypeOf2.default)(1 & r ? t.prototype : t), o, e); return 2 & r && "function" == typeof p ? function (t) { return p.apply(e, t); } : p; } | |
| 442 | -var InstanceType = exports["default"] = /*#__PURE__*/function () { | |
| 443 | - function InstanceType() { | |
| 444 | - var _this = this; | |
| 445 | - (0, _classCallCheck2.default)(this, InstanceType); | |
| 446 | - // Since anonymous classes sometimes do not get validated by babel, do it manually. | |
| 447 | - var target = this instanceof InstanceType ? this.constructor : void 0; | |
| 448 | - var prototypes = []; | |
| 449 | - while (target.__proto__ && target.__proto__.name) { | |
| 450 | - prototypes.push(target.__proto__); | |
| 451 | - target = target.__proto__; | |
| 452 | - } | |
| 453 | - prototypes.reverse().forEach(function (proto) { | |
| 454 | - return _this instanceof proto; | |
| 455 | - }); | |
| 456 | - } | |
| 457 | - return (0, _createClass2.default)(InstanceType, null, [{ | |
| 458 | - key: Symbol.hasInstance, | |
| 459 | - value: function value(target) { | |
| 460 | - /** | |
| 461 | - * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class | |
| 462 | - * its give's opportunity to mange capabilities of instanceOf operator. | |
| 463 | - * saving current class each time will give option later to handle instanceOf manually. | |
| 464 | - */ | |
| 465 | - var result = _superPropGet(InstanceType, Symbol.hasInstance, this, 2)([target]); | |
| 346 | +// Thank's IE8 for his funny defineProperty | |
| 347 | +module.exports = !__webpack_require__(22)(function () { | |
| 348 | + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; | |
| 349 | +}); | |
| 466 | 350 | |
| 467 | - // Act normal when validate a class, which does not have instance type. | |
| 468 | - if (target && !target.constructor.getInstanceType) { | |
| 469 | - return result; | |
| 470 | - } | |
| 471 | - if (target) { | |
| 472 | - if (!target.instanceTypes) { | |
| 473 | - target.instanceTypes = []; | |
| 474 | - } | |
| 475 | - if (!result) { | |
| 476 | - if (this.getInstanceType() === target.constructor.getInstanceType()) { | |
| 477 | - result = true; | |
| 478 | - } | |
| 479 | - } | |
| 480 | - if (result) { | |
| 481 | - var name = this.getInstanceType === InstanceType.getInstanceType ? 'BaseInstanceType' : this.getInstanceType(); | |
| 482 | - if (-1 === target.instanceTypes.indexOf(name)) { | |
| 483 | - target.instanceTypes.push(name); | |
| 484 | - } | |
| 485 | - } | |
| 486 | - } | |
| 487 | - if (!result && target) { | |
| 488 | - // Check if the given 'target', is instance of known types. | |
| 489 | - result = target.instanceTypes && Array.isArray(target.instanceTypes) && -1 !== target.instanceTypes.indexOf(this.getInstanceType()); | |
| 490 | - } | |
| 491 | - return result; | |
| 492 | - } | |
| 493 | - }, { | |
| 494 | - key: "getInstanceType", | |
| 495 | - value: function getInstanceType() { | |
| 496 | - elementorModules.ForceMethodImplementation(); | |
| 497 | - } | |
| 498 | - }]); | |
| 499 | -}(); | |
| 500 | 351 | |
| 501 | 352 | /***/ }), |
| 353 | +/* 15 */ | |
| 354 | +/***/ (function(module, exports, __webpack_require__) { | |
| 502 | 355 | |
| 503 | -/***/ "../assets/dev/js/modules/imports/module.js": | |
| 504 | -/*!**************************************************!*\ | |
| 505 | - !*** ../assets/dev/js/modules/imports/module.js ***! | |
| 506 | - \**************************************************/ | |
| 507 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 356 | +var anObject = __webpack_require__(13); | |
| 357 | +var IE8_DOM_DEFINE = __webpack_require__(114); | |
| 358 | +var toPrimitive = __webpack_require__(74); | |
| 359 | +var dP = Object.defineProperty; | |
| 508 | 360 | |
| 509 | -"use strict"; | |
| 361 | +exports.f = __webpack_require__(14) ? Object.defineProperty : function defineProperty(O, P, Attributes) { | |
| 362 | + anObject(O); | |
| 363 | + P = toPrimitive(P, true); | |
| 364 | + anObject(Attributes); | |
| 365 | + if (IE8_DOM_DEFINE) try { | |
| 366 | + return dP(O, P, Attributes); | |
| 367 | + } catch (e) { /* empty */ } | |
| 368 | + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); | |
| 369 | + if ('value' in Attributes) O[P] = Attributes.value; | |
| 370 | + return O; | |
| 371 | +}; | |
| 510 | 372 | |
| 511 | 373 | |
| 512 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 513 | -var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js")); | |
| 514 | -var Module = function Module() { | |
| 515 | - var $ = jQuery, | |
| 516 | - instanceParams = arguments, | |
| 517 | - self = this, | |
| 518 | - events = {}; | |
| 519 | - var settings; | |
| 520 | - var ensureClosureMethods = function ensureClosureMethods() { | |
| 521 | - $.each(self, function (methodName) { | |
| 522 | - var oldMethod = self[methodName]; | |
| 523 | - if ('function' !== typeof oldMethod) { | |
| 524 | - return; | |
| 525 | - } | |
| 526 | - self[methodName] = function () { | |
| 527 | - return oldMethod.apply(self, arguments); | |
| 528 | - }; | |
| 529 | - }); | |
| 374 | +/***/ }), | |
| 375 | +/* 16 */ | |
| 376 | +/***/ (function(module, exports, __webpack_require__) { | |
| 377 | + | |
| 378 | +var _Object$getPrototypeOf = __webpack_require__(158); | |
| 379 | + | |
| 380 | +var _Object$setPrototypeOf = __webpack_require__(115); | |
| 381 | + | |
| 382 | +function _getPrototypeOf(o) { | |
| 383 | + module.exports = _getPrototypeOf = _Object$setPrototypeOf ? _Object$getPrototypeOf : function _getPrototypeOf(o) { | |
| 384 | + return o.__proto__ || _Object$getPrototypeOf(o); | |
| 530 | 385 | }; |
| 531 | - var initSettings = function initSettings() { | |
| 532 | - settings = self.getDefaultSettings(); | |
| 533 | - var instanceSettings = instanceParams[0]; | |
| 534 | - if (instanceSettings) { | |
| 535 | - $.extend(true, settings, instanceSettings); | |
| 536 | - } | |
| 537 | - }; | |
| 538 | - var init = function init() { | |
| 539 | - self.__construct.apply(self, instanceParams); | |
| 540 | - ensureClosureMethods(); | |
| 541 | - initSettings(); | |
| 542 | - self.trigger('init'); | |
| 543 | - }; | |
| 544 | - this.getItems = function (items, itemKey) { | |
| 545 | - if (itemKey) { | |
| 546 | - var keyStack = itemKey.split('.'), | |
| 547 | - currentKey = keyStack.splice(0, 1); | |
| 548 | - if (!keyStack.length) { | |
| 549 | - return items[currentKey]; | |
| 550 | - } | |
| 551 | - if (!items[currentKey]) { | |
| 552 | - return; | |
| 553 | - } | |
| 554 | - return this.getItems(items[currentKey], keyStack.join('.')); | |
| 555 | - } | |
| 556 | - return items; | |
| 557 | - }; | |
| 558 | - this.getSettings = function (setting) { | |
| 559 | - return this.getItems(settings, setting); | |
| 560 | - }; | |
| 561 | - this.setSettings = function (settingKey, value, settingsContainer) { | |
| 562 | - if (!settingsContainer) { | |
| 563 | - settingsContainer = settings; | |
| 564 | - } | |
| 565 | - if ('object' === (0, _typeof2.default)(settingKey)) { | |
| 566 | - $.extend(settingsContainer, settingKey); | |
| 567 | - return self; | |
| 568 | - } | |
| 569 | - var keyStack = settingKey.split('.'), | |
| 570 | - currentKey = keyStack.splice(0, 1); | |
| 571 | - if (!keyStack.length) { | |
| 572 | - settingsContainer[currentKey] = value; | |
| 573 | - return self; | |
| 574 | - } | |
| 575 | - if (!settingsContainer[currentKey]) { | |
| 576 | - settingsContainer[currentKey] = {}; | |
| 577 | - } | |
| 578 | - return self.setSettings(keyStack.join('.'), value, settingsContainer[currentKey]); | |
| 579 | - }; | |
| 580 | - this.getErrorMessage = function (type, functionName) { | |
| 581 | - var message; | |
| 582 | - switch (type) { | |
| 583 | - case 'forceMethodImplementation': | |
| 584 | - message = "The method '".concat(functionName, "' must to be implemented in the inheritor child."); | |
| 585 | - break; | |
| 586 | - default: | |
| 587 | - message = 'An error occurs'; | |
| 588 | - } | |
| 589 | - return message; | |
| 590 | - }; | |
| 386 | + return _getPrototypeOf(o); | |
| 387 | +} | |
| 591 | 388 | |
| 592 | - // TODO: This function should be deleted ?. | |
| 593 | - this.forceMethodImplementation = function (functionName) { | |
| 594 | - throw new Error(this.getErrorMessage('forceMethodImplementation', functionName)); | |
| 595 | - }; | |
| 596 | - this.on = function (eventName, callback) { | |
| 597 | - if ('object' === (0, _typeof2.default)(eventName)) { | |
| 598 | - $.each(eventName, function (singleEventName) { | |
| 599 | - self.on(singleEventName, this); | |
| 600 | - }); | |
| 601 | - return self; | |
| 602 | - } | |
| 603 | - var eventNames = eventName.split(' '); | |
| 604 | - eventNames.forEach(function (singleEventName) { | |
| 605 | - if (!events[singleEventName]) { | |
| 606 | - events[singleEventName] = []; | |
| 607 | - } | |
| 608 | - events[singleEventName].push(callback); | |
| 609 | - }); | |
| 610 | - return self; | |
| 611 | - }; | |
| 612 | - this.off = function (eventName, callback) { | |
| 613 | - if (!events[eventName]) { | |
| 614 | - return self; | |
| 615 | - } | |
| 616 | - if (!callback) { | |
| 617 | - delete events[eventName]; | |
| 618 | - return self; | |
| 619 | - } | |
| 620 | - var callbackIndex = events[eventName].indexOf(callback); | |
| 621 | - if (-1 !== callbackIndex) { | |
| 622 | - delete events[eventName][callbackIndex]; | |
| 389 | +module.exports = _getPrototypeOf; | |
| 623 | 390 | |
| 624 | - // Reset array index (for next off on same event). | |
| 625 | - events[eventName] = events[eventName].filter(function (val) { | |
| 626 | - return val; | |
| 627 | - }); | |
| 628 | - } | |
| 629 | - return self; | |
| 630 | - }; | |
| 631 | - this.trigger = function (eventName) { | |
| 632 | - var methodName = 'on' + eventName[0].toUpperCase() + eventName.slice(1), | |
| 633 | - params = Array.prototype.slice.call(arguments, 1); | |
| 634 | - if (self[methodName]) { | |
| 635 | - self[methodName].apply(self, params); | |
| 636 | - } | |
| 637 | - var callbacks = events[eventName]; | |
| 638 | - if (!callbacks) { | |
| 639 | - return self; | |
| 640 | - } | |
| 641 | - $.each(callbacks, function (index, callback) { | |
| 642 | - callback.apply(self, params); | |
| 643 | - }); | |
| 644 | - return self; | |
| 645 | - }; | |
| 646 | - init(); | |
| 391 | +/***/ }), | |
| 392 | +/* 17 */ | |
| 393 | +/***/ (function(module, exports) { | |
| 394 | + | |
| 395 | +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 | |
| 396 | +var global = module.exports = typeof window != 'undefined' && window.Math == Math | |
| 397 | + ? window : typeof self != 'undefined' && self.Math == Math ? self | |
| 398 | + // eslint-disable-next-line no-new-func | |
| 399 | + : Function('return this')(); | |
| 400 | +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef | |
| 401 | + | |
| 402 | + | |
| 403 | +/***/ }), | |
| 404 | +/* 18 */ | |
| 405 | +/***/ (function(module, exports, __webpack_require__) { | |
| 406 | + | |
| 407 | +var isObject = __webpack_require__(30); | |
| 408 | +module.exports = function (it) { | |
| 409 | + if (!isObject(it)) throw TypeError(it + ' is not an object!'); | |
| 410 | + return it; | |
| 647 | 411 | }; |
| 648 | -Module.prototype.__construct = function () {}; | |
| 649 | -Module.prototype.getDefaultSettings = function () { | |
| 650 | - return {}; | |
| 412 | + | |
| 413 | + | |
| 414 | +/***/ }), | |
| 415 | +/* 19 */ | |
| 416 | +/***/ (function(module, exports) { | |
| 417 | + | |
| 418 | +var hasOwnProperty = {}.hasOwnProperty; | |
| 419 | +module.exports = function (it, key) { | |
| 420 | + return hasOwnProperty.call(it, key); | |
| 651 | 421 | }; |
| 652 | -Module.prototype.getConstructorID = function () { | |
| 653 | - return this.constructor.name; | |
| 422 | + | |
| 423 | + | |
| 424 | +/***/ }), | |
| 425 | +/* 20 */ | |
| 426 | +/***/ (function(module, exports, __webpack_require__) { | |
| 427 | + | |
| 428 | +// to indexed object, toObject with fallback for non-array-like ES3 strings | |
| 429 | +var IObject = __webpack_require__(103); | |
| 430 | +var defined = __webpack_require__(65); | |
| 431 | +module.exports = function (it) { | |
| 432 | + return IObject(defined(it)); | |
| 654 | 433 | }; |
| 655 | -Module.extend = function (properties) { | |
| 656 | - var $ = jQuery, | |
| 657 | - parent = this; | |
| 658 | - var child = function child() { | |
| 659 | - return parent.apply(this, arguments); | |
| 660 | - }; | |
| 661 | - $.extend(child, parent); | |
| 662 | - child.prototype = Object.create($.extend({}, parent.prototype, properties)); | |
| 663 | - child.prototype.constructor = child; | |
| 664 | - child.__super__ = parent.prototype; | |
| 665 | - return child; | |
| 666 | -}; | |
| 667 | -module.exports = Module; | |
| 668 | 434 | |
| 435 | + | |
| 669 | 436 | /***/ }), |
| 437 | +/* 21 */ | |
| 438 | +/***/ (function(module, exports, __webpack_require__) { | |
| 670 | 439 | |
| 671 | -/***/ "../modules/web-cli/assets/js/modules/command-base.js": | |
| 672 | -/*!************************************************************!*\ | |
| 673 | - !*** ../modules/web-cli/assets/js/modules/command-base.js ***! | |
| 674 | - \************************************************************/ | |
| 675 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 440 | +"use strict"; | |
| 676 | 441 | |
| 677 | -"use strict"; | |
| 678 | 442 | |
| 443 | +var _interopRequireDefault = __webpack_require__(0); | |
| 679 | 444 | |
| 680 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 681 | -Object.defineProperty(exports, "__esModule", ({ | |
| 445 | +var _Object$defineProperty = __webpack_require__(1); | |
| 446 | + | |
| 447 | +_Object$defineProperty(exports, "__esModule", { | |
| 682 | 448 | value: true |
| 683 | -})); | |
| 684 | -exports["default"] = void 0; | |
| 685 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 686 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 687 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 688 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 689 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 690 | -var _commandInfra = _interopRequireDefault(__webpack_require__(/*! ./command-infra */ "../modules/web-cli/assets/js/modules/command-infra.js")); | |
| 691 | -var _deprecation = _interopRequireDefault(__webpack_require__(/*! elementor-api/utils/deprecation */ "../modules/web-cli/assets/js/utils/deprecation.js")); | |
| 692 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 693 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 694 | -/** | |
| 695 | - * @name $e.modules.CommandBase | |
| 696 | - */ | |
| 697 | -var CommandBase = exports["default"] = /*#__PURE__*/function (_CommandInfra) { | |
| 698 | - function CommandBase() { | |
| 699 | - (0, _classCallCheck2.default)(this, CommandBase); | |
| 700 | - return _callSuper(this, CommandBase, arguments); | |
| 701 | - } | |
| 702 | - (0, _inherits2.default)(CommandBase, _CommandInfra); | |
| 703 | - return (0, _createClass2.default)(CommandBase, [{ | |
| 704 | - key: "onBeforeRun", | |
| 705 | - value: function onBeforeRun() { | |
| 706 | - var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 707 | - $e.hooks.runUIBefore(this.command, args); | |
| 708 | - } | |
| 709 | - }, { | |
| 710 | - key: "onAfterRun", | |
| 711 | - value: function onAfterRun() { | |
| 712 | - var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 713 | - var result = arguments.length > 1 ? arguments[1] : undefined; | |
| 714 | - $e.hooks.runUIAfter(this.command, args, result); | |
| 715 | - } | |
| 716 | - }, { | |
| 717 | - key: "onBeforeApply", | |
| 718 | - value: function onBeforeApply() { | |
| 719 | - var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 720 | - $e.hooks.runDataDependency(this.command, args); | |
| 721 | - } | |
| 722 | - }, { | |
| 723 | - key: "onAfterApply", | |
| 724 | - value: function onAfterApply() { | |
| 725 | - var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 726 | - var result = arguments.length > 1 ? arguments[1] : undefined; | |
| 727 | - return $e.hooks.runDataAfter(this.command, args, result); | |
| 728 | - } | |
| 729 | - }, { | |
| 730 | - key: "onCatchApply", | |
| 731 | - value: function onCatchApply(e) { | |
| 732 | - this.runCatchHooks(e); | |
| 733 | - } | |
| 449 | +}); | |
| 734 | 450 | |
| 735 | - /** | |
| 736 | - * Run all the catch hooks. | |
| 737 | - * | |
| 738 | - * @param {Error} e | |
| 739 | - */ | |
| 740 | - }, { | |
| 741 | - key: "runCatchHooks", | |
| 742 | - value: function runCatchHooks(e) { | |
| 743 | - $e.hooks.runDataCatch(this.command, this.args, e); | |
| 744 | - $e.hooks.runUICatch(this.command, this.args, e); | |
| 745 | - } | |
| 451 | +exports.default = void 0; | |
| 746 | 452 | |
| 747 | - /** | |
| 748 | - * TODO - Remove - Backwards compatibility. | |
| 749 | - * | |
| 750 | - * Function requireContainer(). | |
| 751 | - * | |
| 752 | - * Validate `arg.container` & `arg.containers`. | |
| 753 | - * | |
| 754 | - * @param {{}} args | |
| 755 | - * @deprecated since 3.7.0, extend `$e.modules.editor.CommandContainerBase` or `$e.modules.editor.CommandContainerInternalBase` instead. | |
| 756 | - * | |
| 757 | - * @throws {Error} | |
| 758 | - */ | |
| 759 | - }, { | |
| 760 | - key: "requireContainer", | |
| 761 | - value: function requireContainer() { | |
| 762 | - var _this = this; | |
| 763 | - var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.args; | |
| 764 | - _deprecation.default.deprecated('requireContainer()', '3.7.0', 'Extend `$e.modules.editor.CommandContainerBase` or `$e.modules.editor.CommandContainerInternalBase`'); | |
| 765 | - if (!args.container && !args.containers) { | |
| 766 | - throw Error('container or containers are required.'); | |
| 767 | - } | |
| 768 | - if (args.container && args.containers) { | |
| 769 | - throw Error('container and containers cannot go together please select one of them.'); | |
| 770 | - } | |
| 771 | - var containers = args.containers || [args.container]; | |
| 772 | - containers.forEach(function (container) { | |
| 773 | - _this.requireArgumentInstance('container', elementorModules.editor.Container, { | |
| 774 | - container: container | |
| 775 | - }); | |
| 776 | - }); | |
| 777 | - } | |
| 778 | - }], [{ | |
| 779 | - key: "getInstanceType", | |
| 780 | - value: function getInstanceType() { | |
| 781 | - return 'CommandBase'; | |
| 782 | - } | |
| 783 | - }]); | |
| 784 | -}(_commandInfra.default); | |
| 453 | +var _typeof2 = _interopRequireDefault(__webpack_require__(48)); | |
| 785 | 454 | |
| 786 | -/***/ }), | |
| 455 | +var _regenerator = _interopRequireDefault(__webpack_require__(89)); | |
| 787 | 456 | |
| 788 | -/***/ "../modules/web-cli/assets/js/modules/command-callback-base.js": | |
| 789 | -/*!*********************************************************************!*\ | |
| 790 | - !*** ../modules/web-cli/assets/js/modules/command-callback-base.js ***! | |
| 791 | - \*********************************************************************/ | |
| 792 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 457 | +__webpack_require__(146); | |
| 793 | 458 | |
| 794 | -"use strict"; | |
| 459 | +__webpack_require__(117); | |
| 795 | 460 | |
| 461 | +__webpack_require__(72); | |
| 796 | 462 | |
| 797 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 798 | -Object.defineProperty(exports, "__esModule", ({ | |
| 799 | - value: true | |
| 800 | -})); | |
| 801 | -exports["default"] = void 0; | |
| 802 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 803 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 804 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 805 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 806 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 807 | -var _commandBase = _interopRequireDefault(__webpack_require__(/*! ./command-base */ "../modules/web-cli/assets/js/modules/command-base.js")); | |
| 808 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 809 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 810 | -/** | |
| 811 | - * To support pure callbacks in the API(commands.js), to ensure they have registered with the proper context. | |
| 812 | - */ | |
| 813 | -var CommandCallbackBase = exports["default"] = /*#__PURE__*/function (_CommandBase) { | |
| 814 | - function CommandCallbackBase() { | |
| 815 | - (0, _classCallCheck2.default)(this, CommandCallbackBase); | |
| 816 | - return _callSuper(this, CommandCallbackBase, arguments); | |
| 817 | - } | |
| 818 | - (0, _inherits2.default)(CommandCallbackBase, _CommandBase); | |
| 819 | - return (0, _createClass2.default)(CommandCallbackBase, [{ | |
| 820 | - key: "apply", | |
| 821 | - value: function apply() { | |
| 822 | - var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 823 | - return this.constructor.getCallback()(args); | |
| 824 | - } | |
| 825 | - }], [{ | |
| 463 | +__webpack_require__(271); | |
| 464 | + | |
| 465 | +var _promise = _interopRequireDefault(__webpack_require__(133)); | |
| 466 | + | |
| 467 | +var _isArray = _interopRequireDefault(__webpack_require__(81)); | |
| 468 | + | |
| 469 | +__webpack_require__(69); | |
| 470 | + | |
| 471 | +var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(90)); | |
| 472 | + | |
| 473 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 474 | + | |
| 475 | +var _assertThisInitialized2 = _interopRequireDefault(__webpack_require__(49)); | |
| 476 | + | |
| 477 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 478 | + | |
| 479 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 480 | + | |
| 481 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 482 | + | |
| 483 | +var _defineProperty2 = _interopRequireDefault(__webpack_require__(28)); | |
| 484 | + | |
| 485 | +var _argsObject = _interopRequireDefault(__webpack_require__(223)); | |
| 486 | + | |
| 487 | +var CommandBase = /*#__PURE__*/function (_ArgsObject) { | |
| 488 | + (0, _inherits2.default)(CommandBase, _ArgsObject); | |
| 489 | + | |
| 490 | + var _super = (0, _createSuper2.default)(CommandBase); | |
| 491 | + | |
| 492 | + (0, _createClass2.default)(CommandBase, null, [{ | |
| 826 | 493 | key: "getInstanceType", |
| 827 | 494 | value: function getInstanceType() { |
| 828 | - return 'CommandCallbackBase'; | |
| 495 | + return 'CommandBase'; | |
| 829 | 496 | } |
| 830 | - | |
| 831 | 497 | /** |
| 832 | - * Get original callback of the command. | |
| 498 | + * Current component. | |
| 833 | 499 | * |
| 834 | - * Support pure callbacks ( Non command-base ). | |
| 835 | - * | |
| 836 | - * @return {()=>{}} Command Results. | |
| 500 | + * @type {Component} | |
| 837 | 501 | */ |
| 838 | - }, { | |
| 839 | - key: "getCallback", | |
| 840 | - value: function getCallback() { | |
| 841 | - return this.registerConfig.callback; | |
| 842 | - } | |
| 502 | + | |
| 843 | 503 | }]); |
| 844 | -}(_commandBase.default); | |
| 845 | 504 | |
| 846 | -/***/ }), | |
| 847 | - | |
| 848 | -/***/ "../modules/web-cli/assets/js/modules/command-infra.js": | |
| 849 | -/*!*************************************************************!*\ | |
| 850 | - !*** ../modules/web-cli/assets/js/modules/command-infra.js ***! | |
| 851 | - \*************************************************************/ | |
| 852 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 853 | - | |
| 854 | -"use strict"; | |
| 855 | - | |
| 856 | - | |
| 857 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 858 | -Object.defineProperty(exports, "__esModule", ({ | |
| 859 | - value: true | |
| 860 | -})); | |
| 861 | -exports["default"] = void 0; | |
| 862 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 863 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 864 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 865 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 866 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 867 | -var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js")); | |
| 868 | -var _argsObject = _interopRequireDefault(__webpack_require__(/*! elementor-assets-js/modules/imports/args-object */ "../assets/dev/js/modules/imports/args-object.js")); | |
| 869 | -var _deprecation = _interopRequireDefault(__webpack_require__(/*! elementor-api/utils/deprecation */ "../modules/web-cli/assets/js/utils/deprecation.js")); | |
| 870 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 871 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 872 | -/** | |
| 873 | - * @typedef {import('../modules/component-base')} ComponentBase | |
| 874 | - */ | |
| 875 | -var CommandInfra = exports["default"] = /*#__PURE__*/function (_ArgsObject) { | |
| 876 | 505 | /** |
| 877 | 506 | * Function constructor(). |
| 878 | 507 | * |
| 879 | 508 | * Create Commands Base. |
| 880 | 509 | * |
| 881 | - * @param {{}} args | |
| 510 | + * @param [args={}] | |
| 511 | + * @param [commandsAPI={}] | |
| 882 | 512 | */ |
| 883 | - function CommandInfra() { | |
| 513 | + function CommandBase(args) { | |
| 884 | 514 | var _this; |
| 885 | - var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 886 | - (0, _classCallCheck2.default)(this, CommandInfra); | |
| 887 | - _this = _callSuper(this, CommandInfra, [args]); | |
| 888 | - if (!_this.constructor.registerConfig) { | |
| 889 | - throw RangeError('Doing it wrong: Each command type should have `registerConfig`.'); | |
| 890 | - } | |
| 891 | 515 | |
| 892 | - // Acknowledge self about which command it run. | |
| 893 | - _this.command = _this.constructor.getCommand(); | |
| 516 | + var commandsAPI = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : $e.commands; | |
| 517 | + (0, _classCallCheck2.default)(this, CommandBase); | |
| 518 | + _this = _super.call(this, args); // Acknowledge self about which command it run. | |
| 894 | 519 | |
| 895 | - // Assign instance of current component. | |
| 896 | - _this.component = _this.constructor.getComponent(); | |
| 520 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "component", void 0); | |
| 521 | + _this.currentCommand = commandsAPI.getCurrentLast(); // Assign instance of current component. | |
| 897 | 522 | |
| 898 | - // Who ever need do something before without `super` the constructor can use `initialize` method. | |
| 899 | - _this.initialize(args); | |
| 523 | + _this.component = commandsAPI.getComponent(_this.currentCommand); // Who ever need do something before without `super` the constructor can use `initialize` method. | |
| 900 | 524 | |
| 901 | - // Refresh args, maybe the changed via `initialize`. | |
| 902 | - args = _this.args; | |
| 525 | + _this.initialize(args); // Refresh args, maybe the changed via `initialize`. | |
| 903 | 526 | |
| 904 | - // Validate args before run. | |
| 527 | + | |
| 528 | + args = _this.args; // Validate args before run. | |
| 529 | + | |
| 905 | 530 | _this.validateArgs(args); |
| 531 | + | |
| 906 | 532 | return _this; |
| 907 | 533 | } |
| 908 | - | |
| 909 | 534 | /** |
| 910 | - * Function initialize(). | |
| 535 | + * Function requireContainer(). | |
| 911 | 536 | * |
| 912 | - * Initialize command, called after construction. | |
| 537 | + * Validate `arg.container` & `arg.containers`. | |
| 913 | 538 | * |
| 914 | 539 | * @param {{}} args |
| 540 | + * | |
| 541 | + * @throws {Error} | |
| 915 | 542 | */ |
| 916 | - (0, _inherits2.default)(CommandInfra, _ArgsObject); | |
| 917 | - return (0, _createClass2.default)(CommandInfra, [{ | |
| 918 | - key: "currentCommand", | |
| 919 | - get: | |
| 543 | + | |
| 544 | + | |
| 545 | + (0, _createClass2.default)(CommandBase, [{ | |
| 546 | + key: "requireContainer", | |
| 547 | + value: function requireContainer() { | |
| 548 | + var _this2 = this; | |
| 549 | + | |
| 550 | + var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.args; | |
| 551 | + | |
| 552 | + if (!args.container && !args.containers) { | |
| 553 | + throw Error('container or containers are required.'); | |
| 554 | + } | |
| 555 | + | |
| 556 | + if (args.container && args.containers) { | |
| 557 | + throw Error('container and containers cannot go together please select one of them.'); | |
| 558 | + } | |
| 559 | + | |
| 560 | + var containers = args.containers || [args.container]; | |
| 561 | + containers.forEach(function (container) { | |
| 562 | + _this2.requireArgumentInstance('container', elementorModules.editor.Container, { | |
| 563 | + container: container | |
| 564 | + }); | |
| 565 | + }); | |
| 566 | + } | |
| 920 | 567 | /** |
| 921 | - * @deprecated since 3.7.0, use `this.command` instead. | |
| 568 | + * Function initialize(). | |
| 569 | + * | |
| 570 | + * Initialize command, called after construction. | |
| 571 | + * | |
| 572 | + * @param [args={}] | |
| 922 | 573 | */ |
| 923 | - function get() { | |
| 924 | - _deprecation.default.deprecated('this.currentCommand', '3.7.0', 'this.command'); | |
| 925 | - return this.command; | |
| 926 | - } | |
| 574 | + | |
| 927 | 575 | }, { |
| 928 | 576 | key: "initialize", |
| 929 | 577 | value: function initialize() { |
| 930 | 578 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| @@ -934,10 +582,11 @@ | ||
| 934 | 582 | * Function validateArgs(). |
| 935 | 583 | * |
| 936 | 584 | * Validate command arguments. |
| 937 | 585 | * |
| 938 | - * @param {{}} args | |
| 586 | + * @param [args={}] | |
| 939 | 587 | */ |
| 588 | + | |
| 940 | 589 | }, { |
| 941 | 590 | key: "validateArgs", |
| 942 | 591 | value: function validateArgs() { |
| 943 | 592 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| @@ -942,18 +591,31 @@ | ||
| 942 | 591 | value: function validateArgs() { |
| 943 | 592 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 944 | 593 | } // eslint-disable-line no-unused-vars |
| 945 | 594 | |
| 946 | - // eslint-disable-next-line jsdoc/require-returns-check | |
| 947 | 595 | /** |
| 596 | + * Function isDataChanged(). | |
| 597 | + * | |
| 598 | + * Whether the editor needs to set change flag on/off. | |
| 599 | + * | |
| 600 | + * @returns {boolean} | |
| 601 | + */ | |
| 602 | + | |
| 603 | + }, { | |
| 604 | + key: "isDataChanged", | |
| 605 | + value: function isDataChanged() { | |
| 606 | + return false; | |
| 607 | + } | |
| 608 | + /** | |
| 948 | 609 | * Function apply(). |
| 949 | 610 | * |
| 950 | 611 | * Do the actual command. |
| 951 | 612 | * |
| 952 | - * @param {{}} args | |
| 613 | + * @param [args={}] | |
| 953 | 614 | * |
| 954 | - * @return {*} Command results. | |
| 615 | + * @returns {*} | |
| 955 | 616 | */ |
| 617 | + | |
| 956 | 618 | }, { |
| 957 | 619 | key: "apply", |
| 958 | 620 | value: function apply() { |
| 959 | 621 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| @@ -959,78 +621,197 @@ | ||
| 959 | 621 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 960 | 622 | // eslint-disable-line no-unused-vars |
| 961 | 623 | elementorModules.ForceMethodImplementation(); |
| 962 | 624 | } |
| 963 | - | |
| 964 | 625 | /** |
| 965 | 626 | * Function run(). |
| 966 | 627 | * |
| 967 | 628 | * Run command with history & hooks. |
| 968 | 629 | * |
| 969 | - * @return {*} Command results. | |
| 630 | + * @returns {*} | |
| 970 | 631 | */ |
| 632 | + | |
| 971 | 633 | }, { |
| 972 | 634 | key: "run", |
| 973 | 635 | value: function run() { |
| 974 | - return this.apply(this.args); | |
| 636 | + var result; // For UI Hooks. | |
| 637 | + | |
| 638 | + this.onBeforeRun(this.args); | |
| 639 | + | |
| 640 | + try { | |
| 641 | + // For Data hooks. | |
| 642 | + this.onBeforeApply(this.args); | |
| 643 | + result = this.apply(this.args); | |
| 644 | + } catch (e) { | |
| 645 | + this.onCatchApply(e); // Catch 'Hook-Break' that comes from hooks base. | |
| 646 | + | |
| 647 | + if (e instanceof $e.modules.HookBreak) { | |
| 648 | + // Bypass. | |
| 649 | + return false; | |
| 650 | + } | |
| 651 | + } | |
| 652 | + | |
| 653 | + return this.runAfter(result); | |
| 975 | 654 | } |
| 655 | + }, { | |
| 656 | + key: "runAfter", | |
| 657 | + value: function runAfter(result) { | |
| 658 | + var _this3 = this; | |
| 976 | 659 | |
| 660 | + var onAfter = function onAfter(_result) { | |
| 661 | + // Run Data hooks. | |
| 662 | + _this3.onAfterApply(_this3.args, _result); // TODO: Create Command-Base for Command-Document and apply it on after. | |
| 663 | + | |
| 664 | + | |
| 665 | + if (_this3.isDataChanged()) { | |
| 666 | + $e.internal('document/save/set-is-modified', { | |
| 667 | + status: true | |
| 668 | + }); | |
| 669 | + } // For UI hooks. | |
| 670 | + | |
| 671 | + | |
| 672 | + _this3.onAfterRun(_this3.args, _result); | |
| 673 | + }, | |
| 674 | + asyncOnAfter = /*#__PURE__*/function () { | |
| 675 | + var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(_result) { | |
| 676 | + var results, promises; | |
| 677 | + return _regenerator.default.wrap(function _callee$(_context) { | |
| 678 | + while (1) { | |
| 679 | + switch (_context.prev = _context.next) { | |
| 680 | + case 0: | |
| 681 | + // Run Data hooks. | |
| 682 | + results = _this3.onAfterApply(_this3.args, _result), promises = (0, _isArray.default)(results) ? results.flat().filter(function (filtered) { | |
| 683 | + return filtered instanceof _promise.default; | |
| 684 | + }) : []; | |
| 685 | + | |
| 686 | + if (!promises.length) { | |
| 687 | + _context.next = 4; | |
| 688 | + break; | |
| 689 | + } | |
| 690 | + | |
| 691 | + _context.next = 4; | |
| 692 | + return _promise.default.all(promises); | |
| 693 | + | |
| 694 | + case 4: | |
| 695 | + if (_this3.isDataChanged()) { | |
| 696 | + // TODO: Create Command-Base for Command-Document and apply it on after. | |
| 697 | + $e.internal('document/save/set-is-modified', { | |
| 698 | + status: true | |
| 699 | + }); | |
| 700 | + } // For UI hooks. | |
| 701 | + | |
| 702 | + | |
| 703 | + _this3.onAfterRun(_this3.args, _result); | |
| 704 | + | |
| 705 | + case 6: | |
| 706 | + case "end": | |
| 707 | + return _context.stop(); | |
| 708 | + } | |
| 709 | + } | |
| 710 | + }, _callee); | |
| 711 | + })); | |
| 712 | + | |
| 713 | + return function asyncOnAfter(_x) { | |
| 714 | + return _ref.apply(this, arguments); | |
| 715 | + }; | |
| 716 | + }(); // TODO: Temp code determine if it's a jQuery deferred object. | |
| 717 | + | |
| 718 | + | |
| 719 | + if (result && 'object' === (0, _typeof2.default)(result) && result.promise && result.then && result.fail) { | |
| 720 | + result.fail(this.onCatchApply.bind(this)); | |
| 721 | + result.done(onAfter); | |
| 722 | + } else if (result instanceof _promise.default) { | |
| 723 | + // Override initial result ( promise ) to await onAfter promises, first!. | |
| 724 | + return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() { | |
| 725 | + return _regenerator.default.wrap(function _callee2$(_context2) { | |
| 726 | + while (1) { | |
| 727 | + switch (_context2.prev = _context2.next) { | |
| 728 | + case 0: | |
| 729 | + _context2.next = 2; | |
| 730 | + return result.catch(_this3.onCatchApply.bind(_this3)); | |
| 731 | + | |
| 732 | + case 2: | |
| 733 | + _context2.next = 4; | |
| 734 | + return result.then(function (_result) { | |
| 735 | + return asyncOnAfter(_result); | |
| 736 | + }); | |
| 737 | + | |
| 738 | + case 4: | |
| 739 | + return _context2.abrupt("return", result); | |
| 740 | + | |
| 741 | + case 5: | |
| 742 | + case "end": | |
| 743 | + return _context2.stop(); | |
| 744 | + } | |
| 745 | + } | |
| 746 | + }, _callee2); | |
| 747 | + }))(); | |
| 748 | + } else { | |
| 749 | + onAfter(result); | |
| 750 | + } | |
| 751 | + | |
| 752 | + return result; | |
| 753 | + } | |
| 977 | 754 | /** |
| 978 | 755 | * Function onBeforeRun. |
| 979 | 756 | * |
| 980 | 757 | * Called before run(). |
| 981 | 758 | * |
| 982 | - * @param {{}} args | |
| 759 | + * @param [args={}] | |
| 983 | 760 | */ |
| 761 | + | |
| 984 | 762 | }, { |
| 985 | 763 | key: "onBeforeRun", |
| 986 | 764 | value: function onBeforeRun() { |
| 987 | 765 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 988 | - } // eslint-disable-line no-unused-vars | |
| 989 | - | |
| 766 | + $e.hooks.runUIBefore(this.currentCommand, args); | |
| 767 | + } | |
| 990 | 768 | /** |
| 991 | 769 | * Function onAfterRun. |
| 992 | 770 | * |
| 993 | 771 | * Called after run(). |
| 994 | 772 | * |
| 995 | - * @param {{}} args | |
| 996 | - * @param {*} result | |
| 773 | + * @param [args={}] | |
| 774 | + * @param [result={*}] | |
| 997 | 775 | */ |
| 776 | + | |
| 998 | 777 | }, { |
| 999 | 778 | key: "onAfterRun", |
| 1000 | 779 | value: function onAfterRun() { |
| 1001 | 780 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 1002 | 781 | var result = arguments.length > 1 ? arguments[1] : undefined; |
| 1003 | - } // eslint-disable-line no-unused-vars | |
| 1004 | - | |
| 782 | + $e.hooks.runUIAfter(this.currentCommand, args, result); | |
| 783 | + } | |
| 1005 | 784 | /** |
| 1006 | 785 | * Function onBeforeApply. |
| 1007 | 786 | * |
| 1008 | 787 | * Called before apply(). |
| 1009 | 788 | * |
| 1010 | - * @param {{}} args | |
| 789 | + * @param [args={}] | |
| 1011 | 790 | */ |
| 791 | + | |
| 1012 | 792 | }, { |
| 1013 | 793 | key: "onBeforeApply", |
| 1014 | 794 | value: function onBeforeApply() { |
| 1015 | 795 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 1016 | - } // eslint-disable-line no-unused-vars | |
| 1017 | - | |
| 796 | + $e.hooks.runDataDependency(this.currentCommand, args); | |
| 797 | + } | |
| 1018 | 798 | /** |
| 1019 | 799 | * Function onAfterApply. |
| 1020 | 800 | * |
| 1021 | 801 | * Called after apply(). |
| 1022 | 802 | * |
| 1023 | - * @param {{}} args | |
| 1024 | - * @param {*} result | |
| 803 | + * @param [args={}] | |
| 804 | + * @param [result={*}] | |
| 1025 | 805 | */ |
| 806 | + | |
| 1026 | 807 | }, { |
| 1027 | 808 | key: "onAfterApply", |
| 1028 | 809 | value: function onAfterApply() { |
| 1029 | 810 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 1030 | 811 | var result = arguments.length > 1 ? arguments[1] : undefined; |
| 1031 | - } // eslint-disable-line no-unused-vars | |
| 1032 | - | |
| 812 | + return $e.hooks.runDataAfter(this.currentCommand, args, result); | |
| 813 | + } | |
| 1033 | 814 | /** |
| 1034 | 815 | * Function onCatchApply. |
| 1035 | 816 | * |
| 1036 | 817 | * Called after apply() failed. |
| @@ -1036,107 +817,2066 @@ | ||
| 1036 | 817 | * Called after apply() failed. |
| 1037 | 818 | * |
| 1038 | 819 | * @param {Error} e |
| 1039 | 820 | */ |
| 821 | + | |
| 1040 | 822 | }, { |
| 1041 | 823 | key: "onCatchApply", |
| 1042 | - value: function onCatchApply(e) {} // eslint-disable-line no-unused-vars | |
| 1043 | - }], [{ | |
| 1044 | - key: "getInstanceType", | |
| 1045 | - value: function getInstanceType() { | |
| 1046 | - return 'CommandInfra'; | |
| 824 | + value: function onCatchApply(e) { | |
| 825 | + $e.hooks.runDataCatch(this.currentCommand, this.args, e); | |
| 826 | + elementorCommon.helpers.consoleError(e); | |
| 827 | + $e.hooks.runUICatch(this.currentCommand, this.args, e); | |
| 1047 | 828 | } |
| 829 | + }]); | |
| 830 | + return CommandBase; | |
| 831 | +}(_argsObject.default); | |
| 1048 | 832 | |
| 1049 | - /** | |
| 1050 | - * Get info of command. | |
| 1051 | - * | |
| 1052 | - * @return {Object} Extra information about the command. | |
| 1053 | - */ | |
| 1054 | - }, { | |
| 1055 | - key: "getInfo", | |
| 1056 | - value: function getInfo() { | |
| 1057 | - return {}; | |
| 833 | +exports.default = CommandBase; | |
| 834 | + | |
| 835 | +/***/ }), | |
| 836 | +/* 22 */ | |
| 837 | +/***/ (function(module, exports) { | |
| 838 | + | |
| 839 | +module.exports = function (exec) { | |
| 840 | + try { | |
| 841 | + return !!exec(); | |
| 842 | + } catch (e) { | |
| 843 | + return true; | |
| 844 | + } | |
| 845 | +}; | |
| 846 | + | |
| 847 | + | |
| 848 | +/***/ }), | |
| 849 | +/* 23 */ | |
| 850 | +/***/ (function(module, exports, __webpack_require__) { | |
| 851 | + | |
| 852 | +module.exports = __webpack_require__(201); | |
| 853 | + | |
| 854 | +/***/ }), | |
| 855 | +/* 24 */ | |
| 856 | +/***/ (function(module, exports, __webpack_require__) { | |
| 857 | + | |
| 858 | +var dP = __webpack_require__(15); | |
| 859 | +var createDesc = __webpack_require__(44); | |
| 860 | +module.exports = __webpack_require__(14) ? function (object, key, value) { | |
| 861 | + return dP.f(object, key, createDesc(1, value)); | |
| 862 | +} : function (object, key, value) { | |
| 863 | + object[key] = value; | |
| 864 | + return object; | |
| 865 | +}; | |
| 866 | + | |
| 867 | + | |
| 868 | +/***/ }), | |
| 869 | +/* 25 */ | |
| 870 | +/***/ (function(module, exports, __webpack_require__) { | |
| 871 | + | |
| 872 | +var _Object$getOwnPropertyDescriptor = __webpack_require__(124); | |
| 873 | + | |
| 874 | +var _Reflect$get = __webpack_require__(193); | |
| 875 | + | |
| 876 | +var superPropBase = __webpack_require__(196); | |
| 877 | + | |
| 878 | +function _get(target, property, receiver) { | |
| 879 | + if (typeof Reflect !== "undefined" && _Reflect$get) { | |
| 880 | + module.exports = _get = _Reflect$get; | |
| 881 | + } else { | |
| 882 | + module.exports = _get = function _get(target, property, receiver) { | |
| 883 | + var base = superPropBase(target, property); | |
| 884 | + if (!base) return; | |
| 885 | + | |
| 886 | + var desc = _Object$getOwnPropertyDescriptor(base, property); | |
| 887 | + | |
| 888 | + if (desc.get) { | |
| 889 | + return desc.get.call(receiver); | |
| 890 | + } | |
| 891 | + | |
| 892 | + return desc.value; | |
| 893 | + }; | |
| 894 | + } | |
| 895 | + | |
| 896 | + return _get(target, property, receiver || target); | |
| 897 | +} | |
| 898 | + | |
| 899 | +module.exports = _get; | |
| 900 | + | |
| 901 | +/***/ }), | |
| 902 | +/* 26 */, | |
| 903 | +/* 27 */ | |
| 904 | +/***/ (function(module, exports, __webpack_require__) { | |
| 905 | + | |
| 906 | +// Thank's IE8 for his funny defineProperty | |
| 907 | +module.exports = !__webpack_require__(33)(function () { | |
| 908 | + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; | |
| 909 | +}); | |
| 910 | + | |
| 911 | + | |
| 912 | +/***/ }), | |
| 913 | +/* 28 */ | |
| 914 | +/***/ (function(module, exports, __webpack_require__) { | |
| 915 | + | |
| 916 | +var _Object$defineProperty = __webpack_require__(1); | |
| 917 | + | |
| 918 | +function _defineProperty(obj, key, value) { | |
| 919 | + if (key in obj) { | |
| 920 | + _Object$defineProperty(obj, key, { | |
| 921 | + value: value, | |
| 922 | + enumerable: true, | |
| 923 | + configurable: true, | |
| 924 | + writable: true | |
| 925 | + }); | |
| 926 | + } else { | |
| 927 | + obj[key] = value; | |
| 928 | + } | |
| 929 | + | |
| 930 | + return obj; | |
| 931 | +} | |
| 932 | + | |
| 933 | +module.exports = _defineProperty; | |
| 934 | + | |
| 935 | +/***/ }), | |
| 936 | +/* 29 */ | |
| 937 | +/***/ (function(module, exports, __webpack_require__) { | |
| 938 | + | |
| 939 | +var dP = __webpack_require__(45); | |
| 940 | +var createDesc = __webpack_require__(102); | |
| 941 | +module.exports = __webpack_require__(27) ? function (object, key, value) { | |
| 942 | + return dP.f(object, key, createDesc(1, value)); | |
| 943 | +} : function (object, key, value) { | |
| 944 | + object[key] = value; | |
| 945 | + return object; | |
| 946 | +}; | |
| 947 | + | |
| 948 | + | |
| 949 | +/***/ }), | |
| 950 | +/* 30 */ | |
| 951 | +/***/ (function(module, exports) { | |
| 952 | + | |
| 953 | +module.exports = function (it) { | |
| 954 | + return typeof it === 'object' ? it !== null : typeof it === 'function'; | |
| 955 | +}; | |
| 956 | + | |
| 957 | + | |
| 958 | +/***/ }), | |
| 959 | +/* 31 */ | |
| 960 | +/***/ (function(module, exports, __webpack_require__) { | |
| 961 | + | |
| 962 | +// optional / simple context binding | |
| 963 | +var aFunction = __webpack_require__(38); | |
| 964 | +module.exports = function (fn, that, length) { | |
| 965 | + aFunction(fn); | |
| 966 | + if (that === undefined) return fn; | |
| 967 | + switch (length) { | |
| 968 | + case 1: return function (a) { | |
| 969 | + return fn.call(that, a); | |
| 970 | + }; | |
| 971 | + case 2: return function (a, b) { | |
| 972 | + return fn.call(that, a, b); | |
| 973 | + }; | |
| 974 | + case 3: return function (a, b, c) { | |
| 975 | + return fn.call(that, a, b, c); | |
| 976 | + }; | |
| 977 | + } | |
| 978 | + return function (/* ...args */) { | |
| 979 | + return fn.apply(that, arguments); | |
| 980 | + }; | |
| 981 | +}; | |
| 982 | + | |
| 983 | + | |
| 984 | +/***/ }), | |
| 985 | +/* 32 */ | |
| 986 | +/***/ (function(module, exports, __webpack_require__) { | |
| 987 | + | |
| 988 | +// 7.1.13 ToObject(argument) | |
| 989 | +var defined = __webpack_require__(65); | |
| 990 | +module.exports = function (it) { | |
| 991 | + return Object(defined(it)); | |
| 992 | +}; | |
| 993 | + | |
| 994 | + | |
| 995 | +/***/ }), | |
| 996 | +/* 33 */ | |
| 997 | +/***/ (function(module, exports) { | |
| 998 | + | |
| 999 | +module.exports = function (exec) { | |
| 1000 | + try { | |
| 1001 | + return !!exec(); | |
| 1002 | + } catch (e) { | |
| 1003 | + return true; | |
| 1004 | + } | |
| 1005 | +}; | |
| 1006 | + | |
| 1007 | + | |
| 1008 | +/***/ }), | |
| 1009 | +/* 34 */ | |
| 1010 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1011 | + | |
| 1012 | +var global = __webpack_require__(17); | |
| 1013 | +var core = __webpack_require__(55); | |
| 1014 | +var hide = __webpack_require__(29); | |
| 1015 | +var redefine = __webpack_require__(36); | |
| 1016 | +var ctx = __webpack_require__(73); | |
| 1017 | +var PROTOTYPE = 'prototype'; | |
| 1018 | + | |
| 1019 | +var $export = function (type, name, source) { | |
| 1020 | + var IS_FORCED = type & $export.F; | |
| 1021 | + var IS_GLOBAL = type & $export.G; | |
| 1022 | + var IS_STATIC = type & $export.S; | |
| 1023 | + var IS_PROTO = type & $export.P; | |
| 1024 | + var IS_BIND = type & $export.B; | |
| 1025 | + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]; | |
| 1026 | + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); | |
| 1027 | + var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}); | |
| 1028 | + var key, own, out, exp; | |
| 1029 | + if (IS_GLOBAL) source = name; | |
| 1030 | + for (key in source) { | |
| 1031 | + // contains in native | |
| 1032 | + own = !IS_FORCED && target && target[key] !== undefined; | |
| 1033 | + // export native or passed | |
| 1034 | + out = (own ? target : source)[key]; | |
| 1035 | + // bind timers to global for call from export context | |
| 1036 | + exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; | |
| 1037 | + // extend global | |
| 1038 | + if (target) redefine(target, key, out, type & $export.U); | |
| 1039 | + // export | |
| 1040 | + if (exports[key] != out) hide(exports, key, exp); | |
| 1041 | + if (IS_PROTO && expProto[key] != out) expProto[key] = out; | |
| 1042 | + } | |
| 1043 | +}; | |
| 1044 | +global.core = core; | |
| 1045 | +// type bitmap | |
| 1046 | +$export.F = 1; // forced | |
| 1047 | +$export.G = 2; // global | |
| 1048 | +$export.S = 4; // static | |
| 1049 | +$export.P = 8; // proto | |
| 1050 | +$export.B = 16; // bind | |
| 1051 | +$export.W = 32; // wrap | |
| 1052 | +$export.U = 64; // safe | |
| 1053 | +$export.R = 128; // real proto method for `library` | |
| 1054 | +module.exports = $export; | |
| 1055 | + | |
| 1056 | + | |
| 1057 | +/***/ }), | |
| 1058 | +/* 35 */ | |
| 1059 | +/***/ (function(module, exports) { | |
| 1060 | + | |
| 1061 | +module.exports = {}; | |
| 1062 | + | |
| 1063 | + | |
| 1064 | +/***/ }), | |
| 1065 | +/* 36 */ | |
| 1066 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1067 | + | |
| 1068 | +var global = __webpack_require__(17); | |
| 1069 | +var hide = __webpack_require__(29); | |
| 1070 | +var has = __webpack_require__(61); | |
| 1071 | +var SRC = __webpack_require__(67)('src'); | |
| 1072 | +var $toString = __webpack_require__(144); | |
| 1073 | +var TO_STRING = 'toString'; | |
| 1074 | +var TPL = ('' + $toString).split(TO_STRING); | |
| 1075 | + | |
| 1076 | +__webpack_require__(55).inspectSource = function (it) { | |
| 1077 | + return $toString.call(it); | |
| 1078 | +}; | |
| 1079 | + | |
| 1080 | +(module.exports = function (O, key, val, safe) { | |
| 1081 | + var isFunction = typeof val == 'function'; | |
| 1082 | + if (isFunction) has(val, 'name') || hide(val, 'name', key); | |
| 1083 | + if (O[key] === val) return; | |
| 1084 | + if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))); | |
| 1085 | + if (O === global) { | |
| 1086 | + O[key] = val; | |
| 1087 | + } else if (!safe) { | |
| 1088 | + delete O[key]; | |
| 1089 | + hide(O, key, val); | |
| 1090 | + } else if (O[key]) { | |
| 1091 | + O[key] = val; | |
| 1092 | + } else { | |
| 1093 | + hide(O, key, val); | |
| 1094 | + } | |
| 1095 | +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative | |
| 1096 | +})(Function.prototype, TO_STRING, function toString() { | |
| 1097 | + return typeof this == 'function' && this[SRC] || $toString.call(this); | |
| 1098 | +}); | |
| 1099 | + | |
| 1100 | + | |
| 1101 | +/***/ }), | |
| 1102 | +/* 37 */ | |
| 1103 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1104 | + | |
| 1105 | +var _Object$getOwnPropertyDescriptor = __webpack_require__(124); | |
| 1106 | + | |
| 1107 | +var _Object$defineProperty = __webpack_require__(1); | |
| 1108 | + | |
| 1109 | +var _typeof = __webpack_require__(48); | |
| 1110 | + | |
| 1111 | +var _WeakMap = __webpack_require__(263); | |
| 1112 | + | |
| 1113 | +function _getRequireWildcardCache() { | |
| 1114 | + if (typeof _WeakMap !== "function") return null; | |
| 1115 | + var cache = new _WeakMap(); | |
| 1116 | + | |
| 1117 | + _getRequireWildcardCache = function _getRequireWildcardCache() { | |
| 1118 | + return cache; | |
| 1119 | + }; | |
| 1120 | + | |
| 1121 | + return cache; | |
| 1122 | +} | |
| 1123 | + | |
| 1124 | +function _interopRequireWildcard(obj) { | |
| 1125 | + if (obj && obj.__esModule) { | |
| 1126 | + return obj; | |
| 1127 | + } | |
| 1128 | + | |
| 1129 | + if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { | |
| 1130 | + return { | |
| 1131 | + "default": obj | |
| 1132 | + }; | |
| 1133 | + } | |
| 1134 | + | |
| 1135 | + var cache = _getRequireWildcardCache(); | |
| 1136 | + | |
| 1137 | + if (cache && cache.has(obj)) { | |
| 1138 | + return cache.get(obj); | |
| 1139 | + } | |
| 1140 | + | |
| 1141 | + var newObj = {}; | |
| 1142 | + var hasPropertyDescriptor = _Object$defineProperty && _Object$getOwnPropertyDescriptor; | |
| 1143 | + | |
| 1144 | + for (var key in obj) { | |
| 1145 | + if (Object.prototype.hasOwnProperty.call(obj, key)) { | |
| 1146 | + var desc = hasPropertyDescriptor ? _Object$getOwnPropertyDescriptor(obj, key) : null; | |
| 1147 | + | |
| 1148 | + if (desc && (desc.get || desc.set)) { | |
| 1149 | + _Object$defineProperty(newObj, key, desc); | |
| 1150 | + } else { | |
| 1151 | + newObj[key] = obj[key]; | |
| 1152 | + } | |
| 1058 | 1153 | } |
| 1154 | + } | |
| 1059 | 1155 | |
| 1060 | - /** | |
| 1061 | - * @return {string} Self command name. | |
| 1062 | - */ | |
| 1063 | - }, { | |
| 1064 | - key: "getCommand", | |
| 1065 | - value: function getCommand() { | |
| 1066 | - return this.registerConfig.command; | |
| 1156 | + newObj["default"] = obj; | |
| 1157 | + | |
| 1158 | + if (cache) { | |
| 1159 | + cache.set(obj, newObj); | |
| 1160 | + } | |
| 1161 | + | |
| 1162 | + return newObj; | |
| 1163 | +} | |
| 1164 | + | |
| 1165 | +module.exports = _interopRequireWildcard; | |
| 1166 | + | |
| 1167 | +/***/ }), | |
| 1168 | +/* 38 */ | |
| 1169 | +/***/ (function(module, exports) { | |
| 1170 | + | |
| 1171 | +module.exports = function (it) { | |
| 1172 | + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); | |
| 1173 | + return it; | |
| 1174 | +}; | |
| 1175 | + | |
| 1176 | + | |
| 1177 | +/***/ }), | |
| 1178 | +/* 39 */ | |
| 1179 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1180 | + | |
| 1181 | +var dP = __webpack_require__(45).f; | |
| 1182 | +var FProto = Function.prototype; | |
| 1183 | +var nameRE = /^\s*function ([^ (]*)/; | |
| 1184 | +var NAME = 'name'; | |
| 1185 | + | |
| 1186 | +// 19.2.4.2 name | |
| 1187 | +NAME in FProto || __webpack_require__(27) && dP(FProto, NAME, { | |
| 1188 | + configurable: true, | |
| 1189 | + get: function () { | |
| 1190 | + try { | |
| 1191 | + return ('' + this).match(nameRE)[1]; | |
| 1192 | + } catch (e) { | |
| 1193 | + return ''; | |
| 1067 | 1194 | } |
| 1195 | + } | |
| 1196 | +}); | |
| 1068 | 1197 | |
| 1069 | - /** | |
| 1070 | - * @return {ComponentBase} Self component | |
| 1071 | - */ | |
| 1072 | - }, { | |
| 1073 | - key: "getComponent", | |
| 1074 | - value: function getComponent() { | |
| 1075 | - return this.registerConfig.component; | |
| 1198 | + | |
| 1199 | +/***/ }), | |
| 1200 | +/* 40 */ | |
| 1201 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1202 | + | |
| 1203 | +// 19.1.2.14 / 15.2.3.14 Object.keys(O) | |
| 1204 | +var $keys = __webpack_require__(116); | |
| 1205 | +var enumBugKeys = __webpack_require__(78); | |
| 1206 | + | |
| 1207 | +module.exports = Object.keys || function keys(O) { | |
| 1208 | + return $keys(O, enumBugKeys); | |
| 1209 | +}; | |
| 1210 | + | |
| 1211 | + | |
| 1212 | +/***/ }), | |
| 1213 | +/* 41 */, | |
| 1214 | +/* 42 */ | |
| 1215 | +/***/ (function(module, exports) { | |
| 1216 | + | |
| 1217 | +// 7.2.1 RequireObjectCoercible(argument) | |
| 1218 | +module.exports = function (it) { | |
| 1219 | + if (it == undefined) throw TypeError("Can't call method on " + it); | |
| 1220 | + return it; | |
| 1221 | +}; | |
| 1222 | + | |
| 1223 | + | |
| 1224 | +/***/ }), | |
| 1225 | +/* 43 */ | |
| 1226 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1227 | + | |
| 1228 | +// 7.1.15 ToLength | |
| 1229 | +var toInteger = __webpack_require__(57); | |
| 1230 | +var min = Math.min; | |
| 1231 | +module.exports = function (it) { | |
| 1232 | + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 | |
| 1233 | +}; | |
| 1234 | + | |
| 1235 | + | |
| 1236 | +/***/ }), | |
| 1237 | +/* 44 */ | |
| 1238 | +/***/ (function(module, exports) { | |
| 1239 | + | |
| 1240 | +module.exports = function (bitmap, value) { | |
| 1241 | + return { | |
| 1242 | + enumerable: !(bitmap & 1), | |
| 1243 | + configurable: !(bitmap & 2), | |
| 1244 | + writable: !(bitmap & 4), | |
| 1245 | + value: value | |
| 1246 | + }; | |
| 1247 | +}; | |
| 1248 | + | |
| 1249 | + | |
| 1250 | +/***/ }), | |
| 1251 | +/* 45 */ | |
| 1252 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1253 | + | |
| 1254 | +var anObject = __webpack_require__(18); | |
| 1255 | +var IE8_DOM_DEFINE = __webpack_require__(129); | |
| 1256 | +var toPrimitive = __webpack_require__(123); | |
| 1257 | +var dP = Object.defineProperty; | |
| 1258 | + | |
| 1259 | +exports.f = __webpack_require__(27) ? Object.defineProperty : function defineProperty(O, P, Attributes) { | |
| 1260 | + anObject(O); | |
| 1261 | + P = toPrimitive(P, true); | |
| 1262 | + anObject(Attributes); | |
| 1263 | + if (IE8_DOM_DEFINE) try { | |
| 1264 | + return dP(O, P, Attributes); | |
| 1265 | + } catch (e) { /* empty */ } | |
| 1266 | + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); | |
| 1267 | + if ('value' in Attributes) O[P] = Attributes.value; | |
| 1268 | + return O; | |
| 1269 | +}; | |
| 1270 | + | |
| 1271 | + | |
| 1272 | +/***/ }), | |
| 1273 | +/* 46 */ | |
| 1274 | +/***/ (function(module, exports) { | |
| 1275 | + | |
| 1276 | +var toString = {}.toString; | |
| 1277 | + | |
| 1278 | +module.exports = function (it) { | |
| 1279 | + return toString.call(it).slice(8, -1); | |
| 1280 | +}; | |
| 1281 | + | |
| 1282 | + | |
| 1283 | +/***/ }), | |
| 1284 | +/* 47 */ | |
| 1285 | +/***/ (function(module, exports) { | |
| 1286 | + | |
| 1287 | +module.exports = true; | |
| 1288 | + | |
| 1289 | + | |
| 1290 | +/***/ }), | |
| 1291 | +/* 48 */ | |
| 1292 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1293 | + | |
| 1294 | +var _Symbol$iterator = __webpack_require__(151); | |
| 1295 | + | |
| 1296 | +var _Symbol = __webpack_require__(111); | |
| 1297 | + | |
| 1298 | +function _typeof(obj) { | |
| 1299 | + "@babel/helpers - typeof"; | |
| 1300 | + | |
| 1301 | + if (typeof _Symbol === "function" && typeof _Symbol$iterator === "symbol") { | |
| 1302 | + module.exports = _typeof = function _typeof(obj) { | |
| 1303 | + return typeof obj; | |
| 1304 | + }; | |
| 1305 | + } else { | |
| 1306 | + module.exports = _typeof = function _typeof(obj) { | |
| 1307 | + return obj && typeof _Symbol === "function" && obj.constructor === _Symbol && obj !== _Symbol.prototype ? "symbol" : typeof obj; | |
| 1308 | + }; | |
| 1309 | + } | |
| 1310 | + | |
| 1311 | + return _typeof(obj); | |
| 1312 | +} | |
| 1313 | + | |
| 1314 | +module.exports = _typeof; | |
| 1315 | + | |
| 1316 | +/***/ }), | |
| 1317 | +/* 49 */ | |
| 1318 | +/***/ (function(module, exports) { | |
| 1319 | + | |
| 1320 | +function _assertThisInitialized(self) { | |
| 1321 | + if (self === void 0) { | |
| 1322 | + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
| 1323 | + } | |
| 1324 | + | |
| 1325 | + return self; | |
| 1326 | +} | |
| 1327 | + | |
| 1328 | +module.exports = _assertThisInitialized; | |
| 1329 | + | |
| 1330 | +/***/ }), | |
| 1331 | +/* 50 */ | |
| 1332 | +/***/ (function(module, exports) { | |
| 1333 | + | |
| 1334 | +exports.f = {}.propertyIsEnumerable; | |
| 1335 | + | |
| 1336 | + | |
| 1337 | +/***/ }), | |
| 1338 | +/* 51 */ | |
| 1339 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1340 | + | |
| 1341 | +var pIE = __webpack_require__(50); | |
| 1342 | +var createDesc = __webpack_require__(44); | |
| 1343 | +var toIObject = __webpack_require__(20); | |
| 1344 | +var toPrimitive = __webpack_require__(74); | |
| 1345 | +var has = __webpack_require__(19); | |
| 1346 | +var IE8_DOM_DEFINE = __webpack_require__(114); | |
| 1347 | +var gOPD = Object.getOwnPropertyDescriptor; | |
| 1348 | + | |
| 1349 | +exports.f = __webpack_require__(14) ? gOPD : function getOwnPropertyDescriptor(O, P) { | |
| 1350 | + O = toIObject(O); | |
| 1351 | + P = toPrimitive(P, true); | |
| 1352 | + if (IE8_DOM_DEFINE) try { | |
| 1353 | + return gOPD(O, P); | |
| 1354 | + } catch (e) { /* empty */ } | |
| 1355 | + if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); | |
| 1356 | +}; | |
| 1357 | + | |
| 1358 | + | |
| 1359 | +/***/ }), | |
| 1360 | +/* 52 */ | |
| 1361 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1362 | + | |
| 1363 | +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) | |
| 1364 | +var anObject = __webpack_require__(13); | |
| 1365 | +var dPs = __webpack_require__(135); | |
| 1366 | +var enumBugKeys = __webpack_require__(78); | |
| 1367 | +var IE_PROTO = __webpack_require__(75)('IE_PROTO'); | |
| 1368 | +var Empty = function () { /* empty */ }; | |
| 1369 | +var PROTOTYPE = 'prototype'; | |
| 1370 | + | |
| 1371 | +// Create object with fake `null` prototype: use iframe Object with cleared prototype | |
| 1372 | +var createDict = function () { | |
| 1373 | + // Thrash, waste and sodomy: IE GC bug | |
| 1374 | + var iframe = __webpack_require__(92)('iframe'); | |
| 1375 | + var i = enumBugKeys.length; | |
| 1376 | + var lt = '<'; | |
| 1377 | + var gt = '>'; | |
| 1378 | + var iframeDocument; | |
| 1379 | + iframe.style.display = 'none'; | |
| 1380 | + __webpack_require__(131).appendChild(iframe); | |
| 1381 | + iframe.src = 'javascript:'; // eslint-disable-line no-script-url | |
| 1382 | + // createDict = iframe.contentWindow.Object; | |
| 1383 | + // html.removeChild(iframe); | |
| 1384 | + iframeDocument = iframe.contentWindow.document; | |
| 1385 | + iframeDocument.open(); | |
| 1386 | + iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); | |
| 1387 | + iframeDocument.close(); | |
| 1388 | + createDict = iframeDocument.F; | |
| 1389 | + while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; | |
| 1390 | + return createDict(); | |
| 1391 | +}; | |
| 1392 | + | |
| 1393 | +module.exports = Object.create || function create(O, Properties) { | |
| 1394 | + var result; | |
| 1395 | + if (O !== null) { | |
| 1396 | + Empty[PROTOTYPE] = anObject(O); | |
| 1397 | + result = new Empty(); | |
| 1398 | + Empty[PROTOTYPE] = null; | |
| 1399 | + // add "__proto__" for Object.getPrototypeOf polyfill | |
| 1400 | + result[IE_PROTO] = O; | |
| 1401 | + } else result = createDict(); | |
| 1402 | + return Properties === undefined ? result : dPs(result, Properties); | |
| 1403 | +}; | |
| 1404 | + | |
| 1405 | + | |
| 1406 | +/***/ }), | |
| 1407 | +/* 53 */ | |
| 1408 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1409 | + | |
| 1410 | +var def = __webpack_require__(15).f; | |
| 1411 | +var has = __webpack_require__(19); | |
| 1412 | +var TAG = __webpack_require__(10)('toStringTag'); | |
| 1413 | + | |
| 1414 | +module.exports = function (it, tag, stat) { | |
| 1415 | + if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); | |
| 1416 | +}; | |
| 1417 | + | |
| 1418 | + | |
| 1419 | +/***/ }), | |
| 1420 | +/* 54 */ | |
| 1421 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1422 | + | |
| 1423 | +module.exports = __webpack_require__(239); | |
| 1424 | + | |
| 1425 | +/***/ }), | |
| 1426 | +/* 55 */ | |
| 1427 | +/***/ (function(module, exports) { | |
| 1428 | + | |
| 1429 | +var core = module.exports = { version: '2.6.11' }; | |
| 1430 | +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef | |
| 1431 | + | |
| 1432 | + | |
| 1433 | +/***/ }), | |
| 1434 | +/* 56 */ | |
| 1435 | +/***/ (function(module, exports) { | |
| 1436 | + | |
| 1437 | +var toString = {}.toString; | |
| 1438 | + | |
| 1439 | +module.exports = function (it) { | |
| 1440 | + return toString.call(it).slice(8, -1); | |
| 1441 | +}; | |
| 1442 | + | |
| 1443 | + | |
| 1444 | +/***/ }), | |
| 1445 | +/* 57 */ | |
| 1446 | +/***/ (function(module, exports) { | |
| 1447 | + | |
| 1448 | +// 7.1.4 ToInteger | |
| 1449 | +var ceil = Math.ceil; | |
| 1450 | +var floor = Math.floor; | |
| 1451 | +module.exports = function (it) { | |
| 1452 | + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); | |
| 1453 | +}; | |
| 1454 | + | |
| 1455 | + | |
| 1456 | +/***/ }), | |
| 1457 | +/* 58 */ | |
| 1458 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1459 | + | |
| 1460 | +"use strict"; | |
| 1461 | + | |
| 1462 | + | |
| 1463 | +var anObject = __webpack_require__(18); | |
| 1464 | +var toObject = __webpack_require__(96); | |
| 1465 | +var toLength = __webpack_require__(43); | |
| 1466 | +var toInteger = __webpack_require__(57); | |
| 1467 | +var advanceStringIndex = __webpack_require__(105); | |
| 1468 | +var regExpExec = __webpack_require__(94); | |
| 1469 | +var max = Math.max; | |
| 1470 | +var min = Math.min; | |
| 1471 | +var floor = Math.floor; | |
| 1472 | +var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g; | |
| 1473 | +var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g; | |
| 1474 | + | |
| 1475 | +var maybeToString = function (it) { | |
| 1476 | + return it === undefined ? it : String(it); | |
| 1477 | +}; | |
| 1478 | + | |
| 1479 | +// @@replace logic | |
| 1480 | +__webpack_require__(95)('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) { | |
| 1481 | + return [ | |
| 1482 | + // `String.prototype.replace` method | |
| 1483 | + // https://tc39.github.io/ecma262/#sec-string.prototype.replace | |
| 1484 | + function replace(searchValue, replaceValue) { | |
| 1485 | + var O = defined(this); | |
| 1486 | + var fn = searchValue == undefined ? undefined : searchValue[REPLACE]; | |
| 1487 | + return fn !== undefined | |
| 1488 | + ? fn.call(searchValue, O, replaceValue) | |
| 1489 | + : $replace.call(String(O), searchValue, replaceValue); | |
| 1490 | + }, | |
| 1491 | + // `RegExp.prototype[@@replace]` method | |
| 1492 | + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace | |
| 1493 | + function (regexp, replaceValue) { | |
| 1494 | + var res = maybeCallNative($replace, regexp, this, replaceValue); | |
| 1495 | + if (res.done) return res.value; | |
| 1496 | + | |
| 1497 | + var rx = anObject(regexp); | |
| 1498 | + var S = String(this); | |
| 1499 | + var functionalReplace = typeof replaceValue === 'function'; | |
| 1500 | + if (!functionalReplace) replaceValue = String(replaceValue); | |
| 1501 | + var global = rx.global; | |
| 1502 | + if (global) { | |
| 1503 | + var fullUnicode = rx.unicode; | |
| 1504 | + rx.lastIndex = 0; | |
| 1505 | + } | |
| 1506 | + var results = []; | |
| 1507 | + while (true) { | |
| 1508 | + var result = regExpExec(rx, S); | |
| 1509 | + if (result === null) break; | |
| 1510 | + results.push(result); | |
| 1511 | + if (!global) break; | |
| 1512 | + var matchStr = String(result[0]); | |
| 1513 | + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); | |
| 1514 | + } | |
| 1515 | + var accumulatedResult = ''; | |
| 1516 | + var nextSourcePosition = 0; | |
| 1517 | + for (var i = 0; i < results.length; i++) { | |
| 1518 | + result = results[i]; | |
| 1519 | + var matched = String(result[0]); | |
| 1520 | + var position = max(min(toInteger(result.index), S.length), 0); | |
| 1521 | + var captures = []; | |
| 1522 | + // NOTE: This is equivalent to | |
| 1523 | + // captures = result.slice(1).map(maybeToString) | |
| 1524 | + // but for some reason `nativeSlice.call(result, 1, result.length)` (called in | |
| 1525 | + // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and | |
| 1526 | + // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. | |
| 1527 | + for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j])); | |
| 1528 | + var namedCaptures = result.groups; | |
| 1529 | + if (functionalReplace) { | |
| 1530 | + var replacerArgs = [matched].concat(captures, position, S); | |
| 1531 | + if (namedCaptures !== undefined) replacerArgs.push(namedCaptures); | |
| 1532 | + var replacement = String(replaceValue.apply(undefined, replacerArgs)); | |
| 1533 | + } else { | |
| 1534 | + replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); | |
| 1535 | + } | |
| 1536 | + if (position >= nextSourcePosition) { | |
| 1537 | + accumulatedResult += S.slice(nextSourcePosition, position) + replacement; | |
| 1538 | + nextSourcePosition = position + matched.length; | |
| 1539 | + } | |
| 1540 | + } | |
| 1541 | + return accumulatedResult + S.slice(nextSourcePosition); | |
| 1076 | 1542 | } |
| 1077 | - }, { | |
| 1078 | - key: "setRegisterConfig", | |
| 1079 | - value: function setRegisterConfig(config) { | |
| 1080 | - this.registerConfig = Object.freeze(config); | |
| 1543 | + ]; | |
| 1544 | + | |
| 1545 | + // https://tc39.github.io/ecma262/#sec-getsubstitution | |
| 1546 | + function getSubstitution(matched, str, position, captures, namedCaptures, replacement) { | |
| 1547 | + var tailPos = position + matched.length; | |
| 1548 | + var m = captures.length; | |
| 1549 | + var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; | |
| 1550 | + if (namedCaptures !== undefined) { | |
| 1551 | + namedCaptures = toObject(namedCaptures); | |
| 1552 | + symbols = SUBSTITUTION_SYMBOLS; | |
| 1081 | 1553 | } |
| 1082 | - }]); | |
| 1083 | -}(_argsObject.default); | |
| 1554 | + return $replace.call(replacement, symbols, function (match, ch) { | |
| 1555 | + var capture; | |
| 1556 | + switch (ch.charAt(0)) { | |
| 1557 | + case '$': return '$'; | |
| 1558 | + case '&': return matched; | |
| 1559 | + case '`': return str.slice(0, position); | |
| 1560 | + case "'": return str.slice(tailPos); | |
| 1561 | + case '<': | |
| 1562 | + capture = namedCaptures[ch.slice(1, -1)]; | |
| 1563 | + break; | |
| 1564 | + default: // \d\d? | |
| 1565 | + var n = +ch; | |
| 1566 | + if (n === 0) return match; | |
| 1567 | + if (n > m) { | |
| 1568 | + var f = floor(n / 10); | |
| 1569 | + if (f === 0) return match; | |
| 1570 | + if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); | |
| 1571 | + return match; | |
| 1572 | + } | |
| 1573 | + capture = captures[n - 1]; | |
| 1574 | + } | |
| 1575 | + return capture === undefined ? '' : capture; | |
| 1576 | + }); | |
| 1577 | + } | |
| 1578 | +}); | |
| 1579 | + | |
| 1580 | + | |
| 1581 | +/***/ }), | |
| 1582 | +/* 59 */ | |
| 1583 | +/***/ (function(module, exports) { | |
| 1584 | + | |
| 1585 | +var id = 0; | |
| 1586 | +var px = Math.random(); | |
| 1587 | +module.exports = function (key) { | |
| 1588 | + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); | |
| 1589 | +}; | |
| 1590 | + | |
| 1591 | + | |
| 1592 | +/***/ }), | |
| 1593 | +/* 60 */ | |
| 1594 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1595 | + | |
| 1596 | +"use strict"; | |
| 1597 | + | |
| 1598 | +var $at = __webpack_require__(173)(true); | |
| 1599 | + | |
| 1600 | +// 21.1.3.27 String.prototype[@@iterator]() | |
| 1601 | +__webpack_require__(108)(String, 'String', function (iterated) { | |
| 1602 | + this._t = String(iterated); // target | |
| 1603 | + this._i = 0; // next index | |
| 1604 | +// 21.1.5.2.1 %StringIteratorPrototype%.next() | |
| 1605 | +}, function () { | |
| 1606 | + var O = this._t; | |
| 1607 | + var index = this._i; | |
| 1608 | + var point; | |
| 1609 | + if (index >= O.length) return { value: undefined, done: true }; | |
| 1610 | + point = $at(O, index); | |
| 1611 | + this._i += point.length; | |
| 1612 | + return { value: point, done: false }; | |
| 1613 | +}); | |
| 1614 | + | |
| 1615 | + | |
| 1616 | +/***/ }), | |
| 1617 | +/* 61 */ | |
| 1618 | +/***/ (function(module, exports) { | |
| 1619 | + | |
| 1620 | +var hasOwnProperty = {}.hasOwnProperty; | |
| 1621 | +module.exports = function (it, key) { | |
| 1622 | + return hasOwnProperty.call(it, key); | |
| 1623 | +}; | |
| 1624 | + | |
| 1625 | + | |
| 1626 | +/***/ }), | |
| 1627 | +/* 62 */ | |
| 1628 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1629 | + | |
| 1630 | +__webpack_require__(175); | |
| 1631 | +var global = __webpack_require__(8); | |
| 1632 | +var hide = __webpack_require__(24); | |
| 1633 | +var Iterators = __webpack_require__(35); | |
| 1634 | +var TO_STRING_TAG = __webpack_require__(10)('toStringTag'); | |
| 1635 | + | |
| 1636 | +var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' + | |
| 1637 | + 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' + | |
| 1638 | + 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' + | |
| 1639 | + 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' + | |
| 1640 | + 'TextTrackList,TouchList').split(','); | |
| 1641 | + | |
| 1642 | +for (var i = 0; i < DOMIterables.length; i++) { | |
| 1643 | + var NAME = DOMIterables[i]; | |
| 1644 | + var Collection = global[NAME]; | |
| 1645 | + var proto = Collection && Collection.prototype; | |
| 1646 | + if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); | |
| 1647 | + Iterators[NAME] = Iterators.Array; | |
| 1648 | +} | |
| 1649 | + | |
| 1650 | + | |
| 1651 | +/***/ }), | |
| 1652 | +/* 63 */ | |
| 1653 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1654 | + | |
| 1655 | +exports.f = __webpack_require__(10); | |
| 1656 | + | |
| 1657 | + | |
| 1658 | +/***/ }), | |
| 1659 | +/* 64 */ | |
| 1660 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1661 | + | |
| 1662 | +// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) | |
| 1663 | +var has = __webpack_require__(19); | |
| 1664 | +var toObject = __webpack_require__(32); | |
| 1665 | +var IE_PROTO = __webpack_require__(75)('IE_PROTO'); | |
| 1666 | +var ObjectProto = Object.prototype; | |
| 1667 | + | |
| 1668 | +module.exports = Object.getPrototypeOf || function (O) { | |
| 1669 | + O = toObject(O); | |
| 1670 | + if (has(O, IE_PROTO)) return O[IE_PROTO]; | |
| 1671 | + if (typeof O.constructor == 'function' && O instanceof O.constructor) { | |
| 1672 | + return O.constructor.prototype; | |
| 1673 | + } return O instanceof Object ? ObjectProto : null; | |
| 1674 | +}; | |
| 1675 | + | |
| 1676 | + | |
| 1677 | +/***/ }), | |
| 1678 | +/* 65 */ | |
| 1679 | +/***/ (function(module, exports) { | |
| 1680 | + | |
| 1681 | +// 7.2.1 RequireObjectCoercible(argument) | |
| 1682 | +module.exports = function (it) { | |
| 1683 | + if (it == undefined) throw TypeError("Can't call method on " + it); | |
| 1684 | + return it; | |
| 1685 | +}; | |
| 1686 | + | |
| 1687 | + | |
| 1688 | +/***/ }), | |
| 1689 | +/* 66 */ | |
| 1690 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1691 | + | |
| 1692 | +var core = __webpack_require__(55); | |
| 1693 | +var global = __webpack_require__(17); | |
| 1694 | +var SHARED = '__core-js_shared__'; | |
| 1695 | +var store = global[SHARED] || (global[SHARED] = {}); | |
| 1696 | + | |
| 1697 | +(module.exports = function (key, value) { | |
| 1698 | + return store[key] || (store[key] = value !== undefined ? value : {}); | |
| 1699 | +})('versions', []).push({ | |
| 1700 | + version: core.version, | |
| 1701 | + mode: __webpack_require__(110) ? 'pure' : 'global', | |
| 1702 | + copyright: '© 2019 Denis Pushkarev (zloirock.ru)' | |
| 1703 | +}); | |
| 1704 | + | |
| 1705 | + | |
| 1706 | +/***/ }), | |
| 1707 | +/* 67 */ | |
| 1708 | +/***/ (function(module, exports) { | |
| 1709 | + | |
| 1710 | +var id = 0; | |
| 1711 | +var px = Math.random(); | |
| 1712 | +module.exports = function (key) { | |
| 1713 | + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); | |
| 1714 | +}; | |
| 1715 | + | |
| 1716 | + | |
| 1717 | +/***/ }), | |
| 1718 | +/* 68 */ | |
| 1719 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1720 | + | |
| 1721 | +// 7.1.15 ToLength | |
| 1722 | +var toInteger = __webpack_require__(77); | |
| 1723 | +var min = Math.min; | |
| 1724 | +module.exports = function (it) { | |
| 1725 | + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 | |
| 1726 | +}; | |
| 1727 | + | |
| 1728 | + | |
| 1729 | +/***/ }), | |
| 1730 | +/* 69 */ | |
| 1731 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1732 | + | |
| 1084 | 1733 | /** |
| 1085 | - * @type {Object} | |
| 1734 | + * Copyright (c) 2014-present, Facebook, Inc. | |
| 1735 | + * | |
| 1736 | + * This source code is licensed under the MIT license found in the | |
| 1737 | + * LICENSE file in the root directory of this source tree. | |
| 1086 | 1738 | */ |
| 1087 | -(0, _defineProperty2.default)(CommandInfra, "registerConfig", null); | |
| 1088 | 1739 | |
| 1740 | +var runtime = (function (exports) { | |
| 1741 | + "use strict"; | |
| 1742 | + | |
| 1743 | + var Op = Object.prototype; | |
| 1744 | + var hasOwn = Op.hasOwnProperty; | |
| 1745 | + var undefined; // More compressible than void 0. | |
| 1746 | + var $Symbol = typeof Symbol === "function" ? Symbol : {}; | |
| 1747 | + var iteratorSymbol = $Symbol.iterator || "@@iterator"; | |
| 1748 | + var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator"; | |
| 1749 | + var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; | |
| 1750 | + | |
| 1751 | + function define(obj, key, value) { | |
| 1752 | + Object.defineProperty(obj, key, { | |
| 1753 | + value: value, | |
| 1754 | + enumerable: true, | |
| 1755 | + configurable: true, | |
| 1756 | + writable: true | |
| 1757 | + }); | |
| 1758 | + return obj[key]; | |
| 1759 | + } | |
| 1760 | + try { | |
| 1761 | + // IE 8 has a broken Object.defineProperty that only works on DOM objects. | |
| 1762 | + define({}, ""); | |
| 1763 | + } catch (err) { | |
| 1764 | + define = function(obj, key, value) { | |
| 1765 | + return obj[key] = value; | |
| 1766 | + }; | |
| 1767 | + } | |
| 1768 | + | |
| 1769 | + function wrap(innerFn, outerFn, self, tryLocsList) { | |
| 1770 | + // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator. | |
| 1771 | + var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator; | |
| 1772 | + var generator = Object.create(protoGenerator.prototype); | |
| 1773 | + var context = new Context(tryLocsList || []); | |
| 1774 | + | |
| 1775 | + // The ._invoke method unifies the implementations of the .next, | |
| 1776 | + // .throw, and .return methods. | |
| 1777 | + generator._invoke = makeInvokeMethod(innerFn, self, context); | |
| 1778 | + | |
| 1779 | + return generator; | |
| 1780 | + } | |
| 1781 | + exports.wrap = wrap; | |
| 1782 | + | |
| 1783 | + // Try/catch helper to minimize deoptimizations. Returns a completion | |
| 1784 | + // record like context.tryEntries[i].completion. This interface could | |
| 1785 | + // have been (and was previously) designed to take a closure to be | |
| 1786 | + // invoked without arguments, but in all the cases we care about we | |
| 1787 | + // already have an existing method we want to call, so there's no need | |
| 1788 | + // to create a new function object. We can even get away with assuming | |
| 1789 | + // the method takes exactly one argument, since that happens to be true | |
| 1790 | + // in every case, so we don't have to touch the arguments object. The | |
| 1791 | + // only additional allocation required is the completion record, which | |
| 1792 | + // has a stable shape and so hopefully should be cheap to allocate. | |
| 1793 | + function tryCatch(fn, obj, arg) { | |
| 1794 | + try { | |
| 1795 | + return { type: "normal", arg: fn.call(obj, arg) }; | |
| 1796 | + } catch (err) { | |
| 1797 | + return { type: "throw", arg: err }; | |
| 1798 | + } | |
| 1799 | + } | |
| 1800 | + | |
| 1801 | + var GenStateSuspendedStart = "suspendedStart"; | |
| 1802 | + var GenStateSuspendedYield = "suspendedYield"; | |
| 1803 | + var GenStateExecuting = "executing"; | |
| 1804 | + var GenStateCompleted = "completed"; | |
| 1805 | + | |
| 1806 | + // Returning this object from the innerFn has the same effect as | |
| 1807 | + // breaking out of the dispatch switch statement. | |
| 1808 | + var ContinueSentinel = {}; | |
| 1809 | + | |
| 1810 | + // Dummy constructor functions that we use as the .constructor and | |
| 1811 | + // .constructor.prototype properties for functions that return Generator | |
| 1812 | + // objects. For full spec compliance, you may wish to configure your | |
| 1813 | + // minifier not to mangle the names of these two functions. | |
| 1814 | + function Generator() {} | |
| 1815 | + function GeneratorFunction() {} | |
| 1816 | + function GeneratorFunctionPrototype() {} | |
| 1817 | + | |
| 1818 | + // This is a polyfill for %IteratorPrototype% for environments that | |
| 1819 | + // don't natively support it. | |
| 1820 | + var IteratorPrototype = {}; | |
| 1821 | + IteratorPrototype[iteratorSymbol] = function () { | |
| 1822 | + return this; | |
| 1823 | + }; | |
| 1824 | + | |
| 1825 | + var getProto = Object.getPrototypeOf; | |
| 1826 | + var NativeIteratorPrototype = getProto && getProto(getProto(values([]))); | |
| 1827 | + if (NativeIteratorPrototype && | |
| 1828 | + NativeIteratorPrototype !== Op && | |
| 1829 | + hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) { | |
| 1830 | + // This environment has a native %IteratorPrototype%; use it instead | |
| 1831 | + // of the polyfill. | |
| 1832 | + IteratorPrototype = NativeIteratorPrototype; | |
| 1833 | + } | |
| 1834 | + | |
| 1835 | + var Gp = GeneratorFunctionPrototype.prototype = | |
| 1836 | + Generator.prototype = Object.create(IteratorPrototype); | |
| 1837 | + GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype; | |
| 1838 | + GeneratorFunctionPrototype.constructor = GeneratorFunction; | |
| 1839 | + GeneratorFunction.displayName = define( | |
| 1840 | + GeneratorFunctionPrototype, | |
| 1841 | + toStringTagSymbol, | |
| 1842 | + "GeneratorFunction" | |
| 1843 | + ); | |
| 1844 | + | |
| 1845 | + // Helper for defining the .next, .throw, and .return methods of the | |
| 1846 | + // Iterator interface in terms of a single ._invoke method. | |
| 1847 | + function defineIteratorMethods(prototype) { | |
| 1848 | + ["next", "throw", "return"].forEach(function(method) { | |
| 1849 | + define(prototype, method, function(arg) { | |
| 1850 | + return this._invoke(method, arg); | |
| 1851 | + }); | |
| 1852 | + }); | |
| 1853 | + } | |
| 1854 | + | |
| 1855 | + exports.isGeneratorFunction = function(genFun) { | |
| 1856 | + var ctor = typeof genFun === "function" && genFun.constructor; | |
| 1857 | + return ctor | |
| 1858 | + ? ctor === GeneratorFunction || | |
| 1859 | + // For the native GeneratorFunction constructor, the best we can | |
| 1860 | + // do is to check its .name property. | |
| 1861 | + (ctor.displayName || ctor.name) === "GeneratorFunction" | |
| 1862 | + : false; | |
| 1863 | + }; | |
| 1864 | + | |
| 1865 | + exports.mark = function(genFun) { | |
| 1866 | + if (Object.setPrototypeOf) { | |
| 1867 | + Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); | |
| 1868 | + } else { | |
| 1869 | + genFun.__proto__ = GeneratorFunctionPrototype; | |
| 1870 | + define(genFun, toStringTagSymbol, "GeneratorFunction"); | |
| 1871 | + } | |
| 1872 | + genFun.prototype = Object.create(Gp); | |
| 1873 | + return genFun; | |
| 1874 | + }; | |
| 1875 | + | |
| 1876 | + // Within the body of any async function, `await x` is transformed to | |
| 1877 | + // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test | |
| 1878 | + // `hasOwn.call(value, "__await")` to determine if the yielded value is | |
| 1879 | + // meant to be awaited. | |
| 1880 | + exports.awrap = function(arg) { | |
| 1881 | + return { __await: arg }; | |
| 1882 | + }; | |
| 1883 | + | |
| 1884 | + function AsyncIterator(generator, PromiseImpl) { | |
| 1885 | + function invoke(method, arg, resolve, reject) { | |
| 1886 | + var record = tryCatch(generator[method], generator, arg); | |
| 1887 | + if (record.type === "throw") { | |
| 1888 | + reject(record.arg); | |
| 1889 | + } else { | |
| 1890 | + var result = record.arg; | |
| 1891 | + var value = result.value; | |
| 1892 | + if (value && | |
| 1893 | + typeof value === "object" && | |
| 1894 | + hasOwn.call(value, "__await")) { | |
| 1895 | + return PromiseImpl.resolve(value.__await).then(function(value) { | |
| 1896 | + invoke("next", value, resolve, reject); | |
| 1897 | + }, function(err) { | |
| 1898 | + invoke("throw", err, resolve, reject); | |
| 1899 | + }); | |
| 1900 | + } | |
| 1901 | + | |
| 1902 | + return PromiseImpl.resolve(value).then(function(unwrapped) { | |
| 1903 | + // When a yielded Promise is resolved, its final value becomes | |
| 1904 | + // the .value of the Promise<{value,done}> result for the | |
| 1905 | + // current iteration. | |
| 1906 | + result.value = unwrapped; | |
| 1907 | + resolve(result); | |
| 1908 | + }, function(error) { | |
| 1909 | + // If a rejected Promise was yielded, throw the rejection back | |
| 1910 | + // into the async generator function so it can be handled there. | |
| 1911 | + return invoke("throw", error, resolve, reject); | |
| 1912 | + }); | |
| 1913 | + } | |
| 1914 | + } | |
| 1915 | + | |
| 1916 | + var previousPromise; | |
| 1917 | + | |
| 1918 | + function enqueue(method, arg) { | |
| 1919 | + function callInvokeWithMethodAndArg() { | |
| 1920 | + return new PromiseImpl(function(resolve, reject) { | |
| 1921 | + invoke(method, arg, resolve, reject); | |
| 1922 | + }); | |
| 1923 | + } | |
| 1924 | + | |
| 1925 | + return previousPromise = | |
| 1926 | + // If enqueue has been called before, then we want to wait until | |
| 1927 | + // all previous Promises have been resolved before calling invoke, | |
| 1928 | + // so that results are always delivered in the correct order. If | |
| 1929 | + // enqueue has not been called before, then it is important to | |
| 1930 | + // call invoke immediately, without waiting on a callback to fire, | |
| 1931 | + // so that the async generator function has the opportunity to do | |
| 1932 | + // any necessary setup in a predictable way. This predictability | |
| 1933 | + // is why the Promise constructor synchronously invokes its | |
| 1934 | + // executor callback, and why async functions synchronously | |
| 1935 | + // execute code before the first await. Since we implement simple | |
| 1936 | + // async functions in terms of async generators, it is especially | |
| 1937 | + // important to get this right, even though it requires care. | |
| 1938 | + previousPromise ? previousPromise.then( | |
| 1939 | + callInvokeWithMethodAndArg, | |
| 1940 | + // Avoid propagating failures to Promises returned by later | |
| 1941 | + // invocations of the iterator. | |
| 1942 | + callInvokeWithMethodAndArg | |
| 1943 | + ) : callInvokeWithMethodAndArg(); | |
| 1944 | + } | |
| 1945 | + | |
| 1946 | + // Define the unified helper method that is used to implement .next, | |
| 1947 | + // .throw, and .return (see defineIteratorMethods). | |
| 1948 | + this._invoke = enqueue; | |
| 1949 | + } | |
| 1950 | + | |
| 1951 | + defineIteratorMethods(AsyncIterator.prototype); | |
| 1952 | + AsyncIterator.prototype[asyncIteratorSymbol] = function () { | |
| 1953 | + return this; | |
| 1954 | + }; | |
| 1955 | + exports.AsyncIterator = AsyncIterator; | |
| 1956 | + | |
| 1957 | + // Note that simple async functions are implemented on top of | |
| 1958 | + // AsyncIterator objects; they just return a Promise for the value of | |
| 1959 | + // the final result produced by the iterator. | |
| 1960 | + exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) { | |
| 1961 | + if (PromiseImpl === void 0) PromiseImpl = Promise; | |
| 1962 | + | |
| 1963 | + var iter = new AsyncIterator( | |
| 1964 | + wrap(innerFn, outerFn, self, tryLocsList), | |
| 1965 | + PromiseImpl | |
| 1966 | + ); | |
| 1967 | + | |
| 1968 | + return exports.isGeneratorFunction(outerFn) | |
| 1969 | + ? iter // If outerFn is a generator, return the full iterator. | |
| 1970 | + : iter.next().then(function(result) { | |
| 1971 | + return result.done ? result.value : iter.next(); | |
| 1972 | + }); | |
| 1973 | + }; | |
| 1974 | + | |
| 1975 | + function makeInvokeMethod(innerFn, self, context) { | |
| 1976 | + var state = GenStateSuspendedStart; | |
| 1977 | + | |
| 1978 | + return function invoke(method, arg) { | |
| 1979 | + if (state === GenStateExecuting) { | |
| 1980 | + throw new Error("Generator is already running"); | |
| 1981 | + } | |
| 1982 | + | |
| 1983 | + if (state === GenStateCompleted) { | |
| 1984 | + if (method === "throw") { | |
| 1985 | + throw arg; | |
| 1986 | + } | |
| 1987 | + | |
| 1988 | + // Be forgiving, per 25.3.3.3.3 of the spec: | |
| 1989 | + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume | |
| 1990 | + return doneResult(); | |
| 1991 | + } | |
| 1992 | + | |
| 1993 | + context.method = method; | |
| 1994 | + context.arg = arg; | |
| 1995 | + | |
| 1996 | + while (true) { | |
| 1997 | + var delegate = context.delegate; | |
| 1998 | + if (delegate) { | |
| 1999 | + var delegateResult = maybeInvokeDelegate(delegate, context); | |
| 2000 | + if (delegateResult) { | |
| 2001 | + if (delegateResult === ContinueSentinel) continue; | |
| 2002 | + return delegateResult; | |
| 2003 | + } | |
| 2004 | + } | |
| 2005 | + | |
| 2006 | + if (context.method === "next") { | |
| 2007 | + // Setting context._sent for legacy support of Babel's | |
| 2008 | + // function.sent implementation. | |
| 2009 | + context.sent = context._sent = context.arg; | |
| 2010 | + | |
| 2011 | + } else if (context.method === "throw") { | |
| 2012 | + if (state === GenStateSuspendedStart) { | |
| 2013 | + state = GenStateCompleted; | |
| 2014 | + throw context.arg; | |
| 2015 | + } | |
| 2016 | + | |
| 2017 | + context.dispatchException(context.arg); | |
| 2018 | + | |
| 2019 | + } else if (context.method === "return") { | |
| 2020 | + context.abrupt("return", context.arg); | |
| 2021 | + } | |
| 2022 | + | |
| 2023 | + state = GenStateExecuting; | |
| 2024 | + | |
| 2025 | + var record = tryCatch(innerFn, self, context); | |
| 2026 | + if (record.type === "normal") { | |
| 2027 | + // If an exception is thrown from innerFn, we leave state === | |
| 2028 | + // GenStateExecuting and loop back for another invocation. | |
| 2029 | + state = context.done | |
| 2030 | + ? GenStateCompleted | |
| 2031 | + : GenStateSuspendedYield; | |
| 2032 | + | |
| 2033 | + if (record.arg === ContinueSentinel) { | |
| 2034 | + continue; | |
| 2035 | + } | |
| 2036 | + | |
| 2037 | + return { | |
| 2038 | + value: record.arg, | |
| 2039 | + done: context.done | |
| 2040 | + }; | |
| 2041 | + | |
| 2042 | + } else if (record.type === "throw") { | |
| 2043 | + state = GenStateCompleted; | |
| 2044 | + // Dispatch the exception by looping back around to the | |
| 2045 | + // context.dispatchException(context.arg) call above. | |
| 2046 | + context.method = "throw"; | |
| 2047 | + context.arg = record.arg; | |
| 2048 | + } | |
| 2049 | + } | |
| 2050 | + }; | |
| 2051 | + } | |
| 2052 | + | |
| 2053 | + // Call delegate.iterator[context.method](context.arg) and handle the | |
| 2054 | + // result, either by returning a { value, done } result from the | |
| 2055 | + // delegate iterator, or by modifying context.method and context.arg, | |
| 2056 | + // setting context.delegate to null, and returning the ContinueSentinel. | |
| 2057 | + function maybeInvokeDelegate(delegate, context) { | |
| 2058 | + var method = delegate.iterator[context.method]; | |
| 2059 | + if (method === undefined) { | |
| 2060 | + // A .throw or .return when the delegate iterator has no .throw | |
| 2061 | + // method always terminates the yield* loop. | |
| 2062 | + context.delegate = null; | |
| 2063 | + | |
| 2064 | + if (context.method === "throw") { | |
| 2065 | + // Note: ["return"] must be used for ES3 parsing compatibility. | |
| 2066 | + if (delegate.iterator["return"]) { | |
| 2067 | + // If the delegate iterator has a return method, give it a | |
| 2068 | + // chance to clean up. | |
| 2069 | + context.method = "return"; | |
| 2070 | + context.arg = undefined; | |
| 2071 | + maybeInvokeDelegate(delegate, context); | |
| 2072 | + | |
| 2073 | + if (context.method === "throw") { | |
| 2074 | + // If maybeInvokeDelegate(context) changed context.method from | |
| 2075 | + // "return" to "throw", let that override the TypeError below. | |
| 2076 | + return ContinueSentinel; | |
| 2077 | + } | |
| 2078 | + } | |
| 2079 | + | |
| 2080 | + context.method = "throw"; | |
| 2081 | + context.arg = new TypeError( | |
| 2082 | + "The iterator does not provide a 'throw' method"); | |
| 2083 | + } | |
| 2084 | + | |
| 2085 | + return ContinueSentinel; | |
| 2086 | + } | |
| 2087 | + | |
| 2088 | + var record = tryCatch(method, delegate.iterator, context.arg); | |
| 2089 | + | |
| 2090 | + if (record.type === "throw") { | |
| 2091 | + context.method = "throw"; | |
| 2092 | + context.arg = record.arg; | |
| 2093 | + context.delegate = null; | |
| 2094 | + return ContinueSentinel; | |
| 2095 | + } | |
| 2096 | + | |
| 2097 | + var info = record.arg; | |
| 2098 | + | |
| 2099 | + if (! info) { | |
| 2100 | + context.method = "throw"; | |
| 2101 | + context.arg = new TypeError("iterator result is not an object"); | |
| 2102 | + context.delegate = null; | |
| 2103 | + return ContinueSentinel; | |
| 2104 | + } | |
| 2105 | + | |
| 2106 | + if (info.done) { | |
| 2107 | + // Assign the result of the finished delegate to the temporary | |
| 2108 | + // variable specified by delegate.resultName (see delegateYield). | |
| 2109 | + context[delegate.resultName] = info.value; | |
| 2110 | + | |
| 2111 | + // Resume execution at the desired location (see delegateYield). | |
| 2112 | + context.next = delegate.nextLoc; | |
| 2113 | + | |
| 2114 | + // If context.method was "throw" but the delegate handled the | |
| 2115 | + // exception, let the outer generator proceed normally. If | |
| 2116 | + // context.method was "next", forget context.arg since it has been | |
| 2117 | + // "consumed" by the delegate iterator. If context.method was | |
| 2118 | + // "return", allow the original .return call to continue in the | |
| 2119 | + // outer generator. | |
| 2120 | + if (context.method !== "return") { | |
| 2121 | + context.method = "next"; | |
| 2122 | + context.arg = undefined; | |
| 2123 | + } | |
| 2124 | + | |
| 2125 | + } else { | |
| 2126 | + // Re-yield the result returned by the delegate method. | |
| 2127 | + return info; | |
| 2128 | + } | |
| 2129 | + | |
| 2130 | + // The delegate iterator is finished, so forget it and continue with | |
| 2131 | + // the outer generator. | |
| 2132 | + context.delegate = null; | |
| 2133 | + return ContinueSentinel; | |
| 2134 | + } | |
| 2135 | + | |
| 2136 | + // Define Generator.prototype.{next,throw,return} in terms of the | |
| 2137 | + // unified ._invoke helper method. | |
| 2138 | + defineIteratorMethods(Gp); | |
| 2139 | + | |
| 2140 | + define(Gp, toStringTagSymbol, "Generator"); | |
| 2141 | + | |
| 2142 | + // A Generator should always return itself as the iterator object when the | |
| 2143 | + // @@iterator function is called on it. Some browsers' implementations of the | |
| 2144 | + // iterator prototype chain incorrectly implement this, causing the Generator | |
| 2145 | + // object to not be returned from this call. This ensures that doesn't happen. | |
| 2146 | + // See https://github.com/facebook/regenerator/issues/274 for more details. | |
| 2147 | + Gp[iteratorSymbol] = function() { | |
| 2148 | + return this; | |
| 2149 | + }; | |
| 2150 | + | |
| 2151 | + Gp.toString = function() { | |
| 2152 | + return "[object Generator]"; | |
| 2153 | + }; | |
| 2154 | + | |
| 2155 | + function pushTryEntry(locs) { | |
| 2156 | + var entry = { tryLoc: locs[0] }; | |
| 2157 | + | |
| 2158 | + if (1 in locs) { | |
| 2159 | + entry.catchLoc = locs[1]; | |
| 2160 | + } | |
| 2161 | + | |
| 2162 | + if (2 in locs) { | |
| 2163 | + entry.finallyLoc = locs[2]; | |
| 2164 | + entry.afterLoc = locs[3]; | |
| 2165 | + } | |
| 2166 | + | |
| 2167 | + this.tryEntries.push(entry); | |
| 2168 | + } | |
| 2169 | + | |
| 2170 | + function resetTryEntry(entry) { | |
| 2171 | + var record = entry.completion || {}; | |
| 2172 | + record.type = "normal"; | |
| 2173 | + delete record.arg; | |
| 2174 | + entry.completion = record; | |
| 2175 | + } | |
| 2176 | + | |
| 2177 | + function Context(tryLocsList) { | |
| 2178 | + // The root entry object (effectively a try statement without a catch | |
| 2179 | + // or a finally block) gives us a place to store values thrown from | |
| 2180 | + // locations where there is no enclosing try statement. | |
| 2181 | + this.tryEntries = [{ tryLoc: "root" }]; | |
| 2182 | + tryLocsList.forEach(pushTryEntry, this); | |
| 2183 | + this.reset(true); | |
| 2184 | + } | |
| 2185 | + | |
| 2186 | + exports.keys = function(object) { | |
| 2187 | + var keys = []; | |
| 2188 | + for (var key in object) { | |
| 2189 | + keys.push(key); | |
| 2190 | + } | |
| 2191 | + keys.reverse(); | |
| 2192 | + | |
| 2193 | + // Rather than returning an object with a next method, we keep | |
| 2194 | + // things simple and return the next function itself. | |
| 2195 | + return function next() { | |
| 2196 | + while (keys.length) { | |
| 2197 | + var key = keys.pop(); | |
| 2198 | + if (key in object) { | |
| 2199 | + next.value = key; | |
| 2200 | + next.done = false; | |
| 2201 | + return next; | |
| 2202 | + } | |
| 2203 | + } | |
| 2204 | + | |
| 2205 | + // To avoid creating an additional object, we just hang the .value | |
| 2206 | + // and .done properties off the next function object itself. This | |
| 2207 | + // also ensures that the minifier will not anonymize the function. | |
| 2208 | + next.done = true; | |
| 2209 | + return next; | |
| 2210 | + }; | |
| 2211 | + }; | |
| 2212 | + | |
| 2213 | + function values(iterable) { | |
| 2214 | + if (iterable) { | |
| 2215 | + var iteratorMethod = iterable[iteratorSymbol]; | |
| 2216 | + if (iteratorMethod) { | |
| 2217 | + return iteratorMethod.call(iterable); | |
| 2218 | + } | |
| 2219 | + | |
| 2220 | + if (typeof iterable.next === "function") { | |
| 2221 | + return iterable; | |
| 2222 | + } | |
| 2223 | + | |
| 2224 | + if (!isNaN(iterable.length)) { | |
| 2225 | + var i = -1, next = function next() { | |
| 2226 | + while (++i < iterable.length) { | |
| 2227 | + if (hasOwn.call(iterable, i)) { | |
| 2228 | + next.value = iterable[i]; | |
| 2229 | + next.done = false; | |
| 2230 | + return next; | |
| 2231 | + } | |
| 2232 | + } | |
| 2233 | + | |
| 2234 | + next.value = undefined; | |
| 2235 | + next.done = true; | |
| 2236 | + | |
| 2237 | + return next; | |
| 2238 | + }; | |
| 2239 | + | |
| 2240 | + return next.next = next; | |
| 2241 | + } | |
| 2242 | + } | |
| 2243 | + | |
| 2244 | + // Return an iterator with no values. | |
| 2245 | + return { next: doneResult }; | |
| 2246 | + } | |
| 2247 | + exports.values = values; | |
| 2248 | + | |
| 2249 | + function doneResult() { | |
| 2250 | + return { value: undefined, done: true }; | |
| 2251 | + } | |
| 2252 | + | |
| 2253 | + Context.prototype = { | |
| 2254 | + constructor: Context, | |
| 2255 | + | |
| 2256 | + reset: function(skipTempReset) { | |
| 2257 | + this.prev = 0; | |
| 2258 | + this.next = 0; | |
| 2259 | + // Resetting context._sent for legacy support of Babel's | |
| 2260 | + // function.sent implementation. | |
| 2261 | + this.sent = this._sent = undefined; | |
| 2262 | + this.done = false; | |
| 2263 | + this.delegate = null; | |
| 2264 | + | |
| 2265 | + this.method = "next"; | |
| 2266 | + this.arg = undefined; | |
| 2267 | + | |
| 2268 | + this.tryEntries.forEach(resetTryEntry); | |
| 2269 | + | |
| 2270 | + if (!skipTempReset) { | |
| 2271 | + for (var name in this) { | |
| 2272 | + // Not sure about the optimal order of these conditions: | |
| 2273 | + if (name.charAt(0) === "t" && | |
| 2274 | + hasOwn.call(this, name) && | |
| 2275 | + !isNaN(+name.slice(1))) { | |
| 2276 | + this[name] = undefined; | |
| 2277 | + } | |
| 2278 | + } | |
| 2279 | + } | |
| 2280 | + }, | |
| 2281 | + | |
| 2282 | + stop: function() { | |
| 2283 | + this.done = true; | |
| 2284 | + | |
| 2285 | + var rootEntry = this.tryEntries[0]; | |
| 2286 | + var rootRecord = rootEntry.completion; | |
| 2287 | + if (rootRecord.type === "throw") { | |
| 2288 | + throw rootRecord.arg; | |
| 2289 | + } | |
| 2290 | + | |
| 2291 | + return this.rval; | |
| 2292 | + }, | |
| 2293 | + | |
| 2294 | + dispatchException: function(exception) { | |
| 2295 | + if (this.done) { | |
| 2296 | + throw exception; | |
| 2297 | + } | |
| 2298 | + | |
| 2299 | + var context = this; | |
| 2300 | + function handle(loc, caught) { | |
| 2301 | + record.type = "throw"; | |
| 2302 | + record.arg = exception; | |
| 2303 | + context.next = loc; | |
| 2304 | + | |
| 2305 | + if (caught) { | |
| 2306 | + // If the dispatched exception was caught by a catch block, | |
| 2307 | + // then let that catch block handle the exception normally. | |
| 2308 | + context.method = "next"; | |
| 2309 | + context.arg = undefined; | |
| 2310 | + } | |
| 2311 | + | |
| 2312 | + return !! caught; | |
| 2313 | + } | |
| 2314 | + | |
| 2315 | + for (var i = this.tryEntries.length - 1; i >= 0; --i) { | |
| 2316 | + var entry = this.tryEntries[i]; | |
| 2317 | + var record = entry.completion; | |
| 2318 | + | |
| 2319 | + if (entry.tryLoc === "root") { | |
| 2320 | + // Exception thrown outside of any try block that could handle | |
| 2321 | + // it, so set the completion value of the entire function to | |
| 2322 | + // throw the exception. | |
| 2323 | + return handle("end"); | |
| 2324 | + } | |
| 2325 | + | |
| 2326 | + if (entry.tryLoc <= this.prev) { | |
| 2327 | + var hasCatch = hasOwn.call(entry, "catchLoc"); | |
| 2328 | + var hasFinally = hasOwn.call(entry, "finallyLoc"); | |
| 2329 | + | |
| 2330 | + if (hasCatch && hasFinally) { | |
| 2331 | + if (this.prev < entry.catchLoc) { | |
| 2332 | + return handle(entry.catchLoc, true); | |
| 2333 | + } else if (this.prev < entry.finallyLoc) { | |
| 2334 | + return handle(entry.finallyLoc); | |
| 2335 | + } | |
| 2336 | + | |
| 2337 | + } else if (hasCatch) { | |
| 2338 | + if (this.prev < entry.catchLoc) { | |
| 2339 | + return handle(entry.catchLoc, true); | |
| 2340 | + } | |
| 2341 | + | |
| 2342 | + } else if (hasFinally) { | |
| 2343 | + if (this.prev < entry.finallyLoc) { | |
| 2344 | + return handle(entry.finallyLoc); | |
| 2345 | + } | |
| 2346 | + | |
| 2347 | + } else { | |
| 2348 | + throw new Error("try statement without catch or finally"); | |
| 2349 | + } | |
| 2350 | + } | |
| 2351 | + } | |
| 2352 | + }, | |
| 2353 | + | |
| 2354 | + abrupt: function(type, arg) { | |
| 2355 | + for (var i = this.tryEntries.length - 1; i >= 0; --i) { | |
| 2356 | + var entry = this.tryEntries[i]; | |
| 2357 | + if (entry.tryLoc <= this.prev && | |
| 2358 | + hasOwn.call(entry, "finallyLoc") && | |
| 2359 | + this.prev < entry.finallyLoc) { | |
| 2360 | + var finallyEntry = entry; | |
| 2361 | + break; | |
| 2362 | + } | |
| 2363 | + } | |
| 2364 | + | |
| 2365 | + if (finallyEntry && | |
| 2366 | + (type === "break" || | |
| 2367 | + type === "continue") && | |
| 2368 | + finallyEntry.tryLoc <= arg && | |
| 2369 | + arg <= finallyEntry.finallyLoc) { | |
| 2370 | + // Ignore the finally entry if control is not jumping to a | |
| 2371 | + // location outside the try/catch block. | |
| 2372 | + finallyEntry = null; | |
| 2373 | + } | |
| 2374 | + | |
| 2375 | + var record = finallyEntry ? finallyEntry.completion : {}; | |
| 2376 | + record.type = type; | |
| 2377 | + record.arg = arg; | |
| 2378 | + | |
| 2379 | + if (finallyEntry) { | |
| 2380 | + this.method = "next"; | |
| 2381 | + this.next = finallyEntry.finallyLoc; | |
| 2382 | + return ContinueSentinel; | |
| 2383 | + } | |
| 2384 | + | |
| 2385 | + return this.complete(record); | |
| 2386 | + }, | |
| 2387 | + | |
| 2388 | + complete: function(record, afterLoc) { | |
| 2389 | + if (record.type === "throw") { | |
| 2390 | + throw record.arg; | |
| 2391 | + } | |
| 2392 | + | |
| 2393 | + if (record.type === "break" || | |
| 2394 | + record.type === "continue") { | |
| 2395 | + this.next = record.arg; | |
| 2396 | + } else if (record.type === "return") { | |
| 2397 | + this.rval = this.arg = record.arg; | |
| 2398 | + this.method = "return"; | |
| 2399 | + this.next = "end"; | |
| 2400 | + } else if (record.type === "normal" && afterLoc) { | |
| 2401 | + this.next = afterLoc; | |
| 2402 | + } | |
| 2403 | + | |
| 2404 | + return ContinueSentinel; | |
| 2405 | + }, | |
| 2406 | + | |
| 2407 | + finish: function(finallyLoc) { | |
| 2408 | + for (var i = this.tryEntries.length - 1; i >= 0; --i) { | |
| 2409 | + var entry = this.tryEntries[i]; | |
| 2410 | + if (entry.finallyLoc === finallyLoc) { | |
| 2411 | + this.complete(entry.completion, entry.afterLoc); | |
| 2412 | + resetTryEntry(entry); | |
| 2413 | + return ContinueSentinel; | |
| 2414 | + } | |
| 2415 | + } | |
| 2416 | + }, | |
| 2417 | + | |
| 2418 | + "catch": function(tryLoc) { | |
| 2419 | + for (var i = this.tryEntries.length - 1; i >= 0; --i) { | |
| 2420 | + var entry = this.tryEntries[i]; | |
| 2421 | + if (entry.tryLoc === tryLoc) { | |
| 2422 | + var record = entry.completion; | |
| 2423 | + if (record.type === "throw") { | |
| 2424 | + var thrown = record.arg; | |
| 2425 | + resetTryEntry(entry); | |
| 2426 | + } | |
| 2427 | + return thrown; | |
| 2428 | + } | |
| 2429 | + } | |
| 2430 | + | |
| 2431 | + // The context.catch method must only be called with a location | |
| 2432 | + // argument that corresponds to a known catch block. | |
| 2433 | + throw new Error("illegal catch attempt"); | |
| 2434 | + }, | |
| 2435 | + | |
| 2436 | + delegateYield: function(iterable, resultName, nextLoc) { | |
| 2437 | + this.delegate = { | |
| 2438 | + iterator: values(iterable), | |
| 2439 | + resultName: resultName, | |
| 2440 | + nextLoc: nextLoc | |
| 2441 | + }; | |
| 2442 | + | |
| 2443 | + if (this.method === "next") { | |
| 2444 | + // Deliberately forget the last sent value so that we don't | |
| 2445 | + // accidentally pass it on to the delegate. | |
| 2446 | + this.arg = undefined; | |
| 2447 | + } | |
| 2448 | + | |
| 2449 | + return ContinueSentinel; | |
| 2450 | + } | |
| 2451 | + }; | |
| 2452 | + | |
| 2453 | + // Regardless of whether this script is executing as a CommonJS module | |
| 2454 | + // or not, return the runtime object so that we can declare the variable | |
| 2455 | + // regeneratorRuntime in the outer scope, which allows this module to be | |
| 2456 | + // injected easily by `bin/regenerator --include-runtime script.js`. | |
| 2457 | + return exports; | |
| 2458 | + | |
| 2459 | +}( | |
| 2460 | + // If this script is executing as a CommonJS module, use module.exports | |
| 2461 | + // as the regeneratorRuntime namespace. Otherwise create a new empty | |
| 2462 | + // object. Either way, the resulting object will be used to initialize | |
| 2463 | + // the regeneratorRuntime variable at the top of this file. | |
| 2464 | + true ? module.exports : undefined | |
| 2465 | +)); | |
| 2466 | + | |
| 2467 | +try { | |
| 2468 | + regeneratorRuntime = runtime; | |
| 2469 | +} catch (accidentalStrictMode) { | |
| 2470 | + // This module should not be running in strict mode, so the above | |
| 2471 | + // assignment should always work unless something is misconfigured. Just | |
| 2472 | + // in case runtime.js accidentally runs in strict mode, we can escape | |
| 2473 | + // strict mode using a global Function call. This could conceivably fail | |
| 2474 | + // if a Content Security Policy forbids using Function, but in that case | |
| 2475 | + // the proper solution is to fix the accidental strict mode problem. If | |
| 2476 | + // you've misconfigured your bundler to force strict mode and applied a | |
| 2477 | + // CSP to forbid Function, and you're not willing to fix either of those | |
| 2478 | + // problems, please detail your unique predicament in a GitHub issue. | |
| 2479 | + Function("r", "regeneratorRuntime = r")(runtime); | |
| 2480 | +} | |
| 2481 | + | |
| 2482 | + | |
| 1089 | 2483 | /***/ }), |
| 2484 | +/* 70 */ | |
| 2485 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1090 | 2486 | |
| 1091 | -/***/ "../modules/web-cli/assets/js/modules/component-base.js": | |
| 1092 | -/*!**************************************************************!*\ | |
| 1093 | - !*** ../modules/web-cli/assets/js/modules/component-base.js ***! | |
| 1094 | - \**************************************************************/ | |
| 1095 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 2487 | +var META = __webpack_require__(59)('meta'); | |
| 2488 | +var isObject = __webpack_require__(9); | |
| 2489 | +var has = __webpack_require__(19); | |
| 2490 | +var setDesc = __webpack_require__(15).f; | |
| 2491 | +var id = 0; | |
| 2492 | +var isExtensible = Object.isExtensible || function () { | |
| 2493 | + return true; | |
| 2494 | +}; | |
| 2495 | +var FREEZE = !__webpack_require__(22)(function () { | |
| 2496 | + return isExtensible(Object.preventExtensions({})); | |
| 2497 | +}); | |
| 2498 | +var setMeta = function (it) { | |
| 2499 | + setDesc(it, META, { value: { | |
| 2500 | + i: 'O' + ++id, // object ID | |
| 2501 | + w: {} // weak collections IDs | |
| 2502 | + } }); | |
| 2503 | +}; | |
| 2504 | +var fastKey = function (it, create) { | |
| 2505 | + // return primitive with prefix | |
| 2506 | + if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; | |
| 2507 | + if (!has(it, META)) { | |
| 2508 | + // can't set metadata to uncaught frozen object | |
| 2509 | + if (!isExtensible(it)) return 'F'; | |
| 2510 | + // not necessary to add metadata | |
| 2511 | + if (!create) return 'E'; | |
| 2512 | + // add missing metadata | |
| 2513 | + setMeta(it); | |
| 2514 | + // return object ID | |
| 2515 | + } return it[META].i; | |
| 2516 | +}; | |
| 2517 | +var getWeak = function (it, create) { | |
| 2518 | + if (!has(it, META)) { | |
| 2519 | + // can't set metadata to uncaught frozen object | |
| 2520 | + if (!isExtensible(it)) return true; | |
| 2521 | + // not necessary to add metadata | |
| 2522 | + if (!create) return false; | |
| 2523 | + // add missing metadata | |
| 2524 | + setMeta(it); | |
| 2525 | + // return hash weak collections IDs | |
| 2526 | + } return it[META].w; | |
| 2527 | +}; | |
| 2528 | +// add metadata on freeze-family methods calling | |
| 2529 | +var onFreeze = function (it) { | |
| 2530 | + if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it); | |
| 2531 | + return it; | |
| 2532 | +}; | |
| 2533 | +var meta = module.exports = { | |
| 2534 | + KEY: META, | |
| 2535 | + NEED: false, | |
| 2536 | + fastKey: fastKey, | |
| 2537 | + getWeak: getWeak, | |
| 2538 | + onFreeze: onFreeze | |
| 2539 | +}; | |
| 1096 | 2540 | |
| 2541 | + | |
| 2542 | +/***/ }), | |
| 2543 | +/* 71 */ | |
| 2544 | +/***/ (function(module, exports) { | |
| 2545 | + | |
| 2546 | +exports.f = Object.getOwnPropertySymbols; | |
| 2547 | + | |
| 2548 | + | |
| 2549 | +/***/ }), | |
| 2550 | +/* 72 */ | |
| 2551 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2552 | + | |
| 1097 | 2553 | "use strict"; |
| 1098 | 2554 | |
| 2555 | +// 19.1.3.6 Object.prototype.toString() | |
| 2556 | +var classof = __webpack_require__(113); | |
| 2557 | +var test = {}; | |
| 2558 | +test[__webpack_require__(12)('toStringTag')] = 'z'; | |
| 2559 | +if (test + '' != '[object z]') { | |
| 2560 | + __webpack_require__(36)(Object.prototype, 'toString', function toString() { | |
| 2561 | + return '[object ' + classof(this) + ']'; | |
| 2562 | + }, true); | |
| 2563 | +} | |
| 1099 | 2564 | |
| 1100 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1101 | -Object.defineProperty(exports, "__esModule", ({ | |
| 2565 | + | |
| 2566 | +/***/ }), | |
| 2567 | +/* 73 */ | |
| 2568 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2569 | + | |
| 2570 | +// optional / simple context binding | |
| 2571 | +var aFunction = __webpack_require__(91); | |
| 2572 | +module.exports = function (fn, that, length) { | |
| 2573 | + aFunction(fn); | |
| 2574 | + if (that === undefined) return fn; | |
| 2575 | + switch (length) { | |
| 2576 | + case 1: return function (a) { | |
| 2577 | + return fn.call(that, a); | |
| 2578 | + }; | |
| 2579 | + case 2: return function (a, b) { | |
| 2580 | + return fn.call(that, a, b); | |
| 2581 | + }; | |
| 2582 | + case 3: return function (a, b, c) { | |
| 2583 | + return fn.call(that, a, b, c); | |
| 2584 | + }; | |
| 2585 | + } | |
| 2586 | + return function (/* ...args */) { | |
| 2587 | + return fn.apply(that, arguments); | |
| 2588 | + }; | |
| 2589 | +}; | |
| 2590 | + | |
| 2591 | + | |
| 2592 | +/***/ }), | |
| 2593 | +/* 74 */ | |
| 2594 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2595 | + | |
| 2596 | +// 7.1.1 ToPrimitive(input [, PreferredType]) | |
| 2597 | +var isObject = __webpack_require__(9); | |
| 2598 | +// instead of the ES6 spec version, we didn't implement @@toPrimitive case | |
| 2599 | +// and the second argument - flag - preferred type is a string | |
| 2600 | +module.exports = function (it, S) { | |
| 2601 | + if (!isObject(it)) return it; | |
| 2602 | + var fn, val; | |
| 2603 | + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 2604 | + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 2605 | + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 2606 | + throw TypeError("Can't convert object to primitive value"); | |
| 2607 | +}; | |
| 2608 | + | |
| 2609 | + | |
| 2610 | +/***/ }), | |
| 2611 | +/* 75 */ | |
| 2612 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2613 | + | |
| 2614 | +var shared = __webpack_require__(76)('keys'); | |
| 2615 | +var uid = __webpack_require__(59); | |
| 2616 | +module.exports = function (key) { | |
| 2617 | + return shared[key] || (shared[key] = uid(key)); | |
| 2618 | +}; | |
| 2619 | + | |
| 2620 | + | |
| 2621 | +/***/ }), | |
| 2622 | +/* 76 */ | |
| 2623 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2624 | + | |
| 2625 | +var core = __webpack_require__(6); | |
| 2626 | +var global = __webpack_require__(8); | |
| 2627 | +var SHARED = '__core-js_shared__'; | |
| 2628 | +var store = global[SHARED] || (global[SHARED] = {}); | |
| 2629 | + | |
| 2630 | +(module.exports = function (key, value) { | |
| 2631 | + return store[key] || (store[key] = value !== undefined ? value : {}); | |
| 2632 | +})('versions', []).push({ | |
| 2633 | + version: core.version, | |
| 2634 | + mode: __webpack_require__(47) ? 'pure' : 'global', | |
| 2635 | + copyright: '© 2019 Denis Pushkarev (zloirock.ru)' | |
| 2636 | +}); | |
| 2637 | + | |
| 2638 | + | |
| 2639 | +/***/ }), | |
| 2640 | +/* 77 */ | |
| 2641 | +/***/ (function(module, exports) { | |
| 2642 | + | |
| 2643 | +// 7.1.4 ToInteger | |
| 2644 | +var ceil = Math.ceil; | |
| 2645 | +var floor = Math.floor; | |
| 2646 | +module.exports = function (it) { | |
| 2647 | + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); | |
| 2648 | +}; | |
| 2649 | + | |
| 2650 | + | |
| 2651 | +/***/ }), | |
| 2652 | +/* 78 */ | |
| 2653 | +/***/ (function(module, exports) { | |
| 2654 | + | |
| 2655 | +// IE 8- don't enum bug keys | |
| 2656 | +module.exports = ( | |
| 2657 | + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' | |
| 2658 | +).split(','); | |
| 2659 | + | |
| 2660 | + | |
| 2661 | +/***/ }), | |
| 2662 | +/* 79 */ | |
| 2663 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2664 | + | |
| 2665 | +var global = __webpack_require__(8); | |
| 2666 | +var core = __webpack_require__(6); | |
| 2667 | +var LIBRARY = __webpack_require__(47); | |
| 2668 | +var wksExt = __webpack_require__(63); | |
| 2669 | +var defineProperty = __webpack_require__(15).f; | |
| 2670 | +module.exports = function (name) { | |
| 2671 | + var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {}); | |
| 2672 | + if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) }); | |
| 2673 | +}; | |
| 2674 | + | |
| 2675 | + | |
| 2676 | +/***/ }), | |
| 2677 | +/* 80 */ | |
| 2678 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2679 | + | |
| 2680 | +"use strict"; | |
| 2681 | + | |
| 2682 | + | |
| 2683 | +var isRegExp = __webpack_require__(122); | |
| 2684 | +var anObject = __webpack_require__(18); | |
| 2685 | +var speciesConstructor = __webpack_require__(154); | |
| 2686 | +var advanceStringIndex = __webpack_require__(105); | |
| 2687 | +var toLength = __webpack_require__(43); | |
| 2688 | +var callRegExpExec = __webpack_require__(94); | |
| 2689 | +var regexpExec = __webpack_require__(88); | |
| 2690 | +var fails = __webpack_require__(33); | |
| 2691 | +var $min = Math.min; | |
| 2692 | +var $push = [].push; | |
| 2693 | +var $SPLIT = 'split'; | |
| 2694 | +var LENGTH = 'length'; | |
| 2695 | +var LAST_INDEX = 'lastIndex'; | |
| 2696 | +var MAX_UINT32 = 0xffffffff; | |
| 2697 | + | |
| 2698 | +// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError | |
| 2699 | +var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); }); | |
| 2700 | + | |
| 2701 | +// @@split logic | |
| 2702 | +__webpack_require__(95)('split', 2, function (defined, SPLIT, $split, maybeCallNative) { | |
| 2703 | + var internalSplit; | |
| 2704 | + if ( | |
| 2705 | + 'abbc'[$SPLIT](/(b)*/)[1] == 'c' || | |
| 2706 | + 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 || | |
| 2707 | + 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 || | |
| 2708 | + '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 || | |
| 2709 | + '.'[$SPLIT](/()()/)[LENGTH] > 1 || | |
| 2710 | + ''[$SPLIT](/.?/)[LENGTH] | |
| 2711 | + ) { | |
| 2712 | + // based on es5-shim implementation, need to rework it | |
| 2713 | + internalSplit = function (separator, limit) { | |
| 2714 | + var string = String(this); | |
| 2715 | + if (separator === undefined && limit === 0) return []; | |
| 2716 | + // If `separator` is not a regex, use native split | |
| 2717 | + if (!isRegExp(separator)) return $split.call(string, separator, limit); | |
| 2718 | + var output = []; | |
| 2719 | + var flags = (separator.ignoreCase ? 'i' : '') + | |
| 2720 | + (separator.multiline ? 'm' : '') + | |
| 2721 | + (separator.unicode ? 'u' : '') + | |
| 2722 | + (separator.sticky ? 'y' : ''); | |
| 2723 | + var lastLastIndex = 0; | |
| 2724 | + var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0; | |
| 2725 | + // Make `global` and avoid `lastIndex` issues by working with a copy | |
| 2726 | + var separatorCopy = new RegExp(separator.source, flags + 'g'); | |
| 2727 | + var match, lastIndex, lastLength; | |
| 2728 | + while (match = regexpExec.call(separatorCopy, string)) { | |
| 2729 | + lastIndex = separatorCopy[LAST_INDEX]; | |
| 2730 | + if (lastIndex > lastLastIndex) { | |
| 2731 | + output.push(string.slice(lastLastIndex, match.index)); | |
| 2732 | + if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1)); | |
| 2733 | + lastLength = match[0][LENGTH]; | |
| 2734 | + lastLastIndex = lastIndex; | |
| 2735 | + if (output[LENGTH] >= splitLimit) break; | |
| 2736 | + } | |
| 2737 | + if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop | |
| 2738 | + } | |
| 2739 | + if (lastLastIndex === string[LENGTH]) { | |
| 2740 | + if (lastLength || !separatorCopy.test('')) output.push(''); | |
| 2741 | + } else output.push(string.slice(lastLastIndex)); | |
| 2742 | + return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output; | |
| 2743 | + }; | |
| 2744 | + // Chakra, V8 | |
| 2745 | + } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) { | |
| 2746 | + internalSplit = function (separator, limit) { | |
| 2747 | + return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit); | |
| 2748 | + }; | |
| 2749 | + } else { | |
| 2750 | + internalSplit = $split; | |
| 2751 | + } | |
| 2752 | + | |
| 2753 | + return [ | |
| 2754 | + // `String.prototype.split` method | |
| 2755 | + // https://tc39.github.io/ecma262/#sec-string.prototype.split | |
| 2756 | + function split(separator, limit) { | |
| 2757 | + var O = defined(this); | |
| 2758 | + var splitter = separator == undefined ? undefined : separator[SPLIT]; | |
| 2759 | + return splitter !== undefined | |
| 2760 | + ? splitter.call(separator, O, limit) | |
| 2761 | + : internalSplit.call(String(O), separator, limit); | |
| 2762 | + }, | |
| 2763 | + // `RegExp.prototype[@@split]` method | |
| 2764 | + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split | |
| 2765 | + // | |
| 2766 | + // NOTE: This cannot be properly polyfilled in engines that don't support | |
| 2767 | + // the 'y' flag. | |
| 2768 | + function (regexp, limit) { | |
| 2769 | + var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split); | |
| 2770 | + if (res.done) return res.value; | |
| 2771 | + | |
| 2772 | + var rx = anObject(regexp); | |
| 2773 | + var S = String(this); | |
| 2774 | + var C = speciesConstructor(rx, RegExp); | |
| 2775 | + | |
| 2776 | + var unicodeMatching = rx.unicode; | |
| 2777 | + var flags = (rx.ignoreCase ? 'i' : '') + | |
| 2778 | + (rx.multiline ? 'm' : '') + | |
| 2779 | + (rx.unicode ? 'u' : '') + | |
| 2780 | + (SUPPORTS_Y ? 'y' : 'g'); | |
| 2781 | + | |
| 2782 | + // ^(? + rx + ) is needed, in combination with some S slicing, to | |
| 2783 | + // simulate the 'y' flag. | |
| 2784 | + var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags); | |
| 2785 | + var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; | |
| 2786 | + if (lim === 0) return []; | |
| 2787 | + if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; | |
| 2788 | + var p = 0; | |
| 2789 | + var q = 0; | |
| 2790 | + var A = []; | |
| 2791 | + while (q < S.length) { | |
| 2792 | + splitter.lastIndex = SUPPORTS_Y ? q : 0; | |
| 2793 | + var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q)); | |
| 2794 | + var e; | |
| 2795 | + if ( | |
| 2796 | + z === null || | |
| 2797 | + (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p | |
| 2798 | + ) { | |
| 2799 | + q = advanceStringIndex(S, q, unicodeMatching); | |
| 2800 | + } else { | |
| 2801 | + A.push(S.slice(p, q)); | |
| 2802 | + if (A.length === lim) return A; | |
| 2803 | + for (var i = 1; i <= z.length - 1; i++) { | |
| 2804 | + A.push(z[i]); | |
| 2805 | + if (A.length === lim) return A; | |
| 2806 | + } | |
| 2807 | + q = p = e; | |
| 2808 | + } | |
| 2809 | + } | |
| 2810 | + A.push(S.slice(p)); | |
| 2811 | + return A; | |
| 2812 | + } | |
| 2813 | + ]; | |
| 2814 | +}); | |
| 2815 | + | |
| 2816 | + | |
| 2817 | +/***/ }), | |
| 2818 | +/* 81 */ | |
| 2819 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2820 | + | |
| 2821 | +module.exports = __webpack_require__(220); | |
| 2822 | + | |
| 2823 | +/***/ }), | |
| 2824 | +/* 82 */ | |
| 2825 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2826 | + | |
| 2827 | +"use strict"; | |
| 2828 | + | |
| 2829 | + | |
| 2830 | +var _interopRequireDefault = __webpack_require__(0); | |
| 2831 | + | |
| 2832 | +var _Object$defineProperty = __webpack_require__(1); | |
| 2833 | + | |
| 2834 | +_Object$defineProperty(exports, "__esModule", { | |
| 1102 | 2835 | value: true |
| 1103 | -})); | |
| 1104 | -exports["default"] = void 0; | |
| 1105 | -var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js")); | |
| 1106 | -var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "../node_modules/@babel/runtime/helpers/slicedToArray.js")); | |
| 1107 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 1108 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 1109 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 1110 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 1111 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 1112 | -var _commandCallbackBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/command-callback-base */ "../modules/web-cli/assets/js/modules/command-callback-base.js")); | |
| 1113 | -var _toolkit = __webpack_require__(/*! @reduxjs/toolkit */ "@reduxjs/toolkit"); | |
| 1114 | -var _module = _interopRequireDefault(__webpack_require__(/*! elementor/assets/dev/js/modules/imports/module.js */ "../assets/dev/js/modules/imports/module.js")); | |
| 1115 | -var _forceMethodImplementation = _interopRequireDefault(__webpack_require__(/*! ../utils/force-method-implementation */ "../modules/web-cli/assets/js/utils/force-method-implementation.js")); | |
| 1116 | -var _deprecation = _interopRequireDefault(__webpack_require__(/*! elementor-api/utils/deprecation */ "../modules/web-cli/assets/js/utils/deprecation.js")); | |
| 1117 | -function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } | |
| 1118 | -function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } | |
| 1119 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 1120 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 1121 | -/** | |
| 1122 | - * @typedef {import('./command-infra')} CommandInfra | |
| 1123 | - * @typedef {import('./hook-base')} HookBase | |
| 1124 | - * @typedef {import('../core/states/ui-state-base')} UiStateBase | |
| 1125 | - */ | |
| 1126 | -var ComponentBase = exports["default"] = /*#__PURE__*/function (_Module) { | |
| 2836 | +}); | |
| 2837 | + | |
| 2838 | +exports.default = void 0; | |
| 2839 | + | |
| 2840 | +__webpack_require__(58); | |
| 2841 | + | |
| 2842 | +var _keys = _interopRequireDefault(__webpack_require__(23)); | |
| 2843 | + | |
| 2844 | +__webpack_require__(80); | |
| 2845 | + | |
| 2846 | +var _values = _interopRequireDefault(__webpack_require__(54)); | |
| 2847 | + | |
| 2848 | +var _slicedToArray2 = _interopRequireDefault(__webpack_require__(104)); | |
| 2849 | + | |
| 2850 | +var _entries = _interopRequireDefault(__webpack_require__(87)); | |
| 2851 | + | |
| 2852 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 2853 | + | |
| 2854 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 2855 | + | |
| 2856 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 2857 | + | |
| 2858 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 2859 | + | |
| 2860 | +var ComponentBase = /*#__PURE__*/function (_elementorModules$Mod) { | |
| 2861 | + (0, _inherits2.default)(ComponentBase, _elementorModules$Mod); | |
| 2862 | + | |
| 2863 | + var _super = (0, _createSuper2.default)(ComponentBase); | |
| 2864 | + | |
| 1127 | 2865 | function ComponentBase() { |
| 1128 | 2866 | (0, _classCallCheck2.default)(this, ComponentBase); |
| 1129 | - return _callSuper(this, ComponentBase, arguments); | |
| 2867 | + return _super.apply(this, arguments); | |
| 1130 | 2868 | } |
| 1131 | - (0, _inherits2.default)(ComponentBase, _Module); | |
| 1132 | - return (0, _createClass2.default)(ComponentBase, [{ | |
| 2869 | + | |
| 2870 | + (0, _createClass2.default)(ComponentBase, [{ | |
| 1133 | 2871 | key: "__construct", |
| 1134 | 2872 | value: function __construct() { |
| 1135 | 2873 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 2874 | + | |
| 1136 | 2875 | if (args.manager) { |
| 1137 | 2876 | this.manager = args.manager; |
| 1138 | 2877 | } |
| 2878 | + | |
| 1139 | 2879 | this.commands = this.defaultCommands(); |
| 1140 | 2880 | this.commandsInternal = this.defaultCommandsInternal(); |
| 1141 | 2881 | this.hooks = this.defaultHooks(); |
| 1142 | 2882 | this.routes = this.defaultRoutes(); |
| @@ -1143,10 +2883,8 @@ | ||
| 1143 | 2883 | this.tabs = this.defaultTabs(); |
| 1144 | 2884 | this.shortcuts = this.defaultShortcuts(); |
| 1145 | 2885 | this.utils = this.defaultUtils(); |
| 1146 | 2886 | this.data = this.defaultData(); |
| 1147 | - this.uiStates = this.defaultUiStates(); | |
| 1148 | - this.states = this.defaultStates(); | |
| 1149 | 2887 | this.defaultRoute = ''; |
| 1150 | 2888 | this.currentTab = ''; |
| 1151 | 2889 | } |
| 1152 | 2890 | }, { |
| @@ -1152,79 +2890,60 @@ | ||
| 1152 | 2890 | }, { |
| 1153 | 2891 | key: "registerAPI", |
| 1154 | 2892 | value: function registerAPI() { |
| 1155 | 2893 | var _this = this; |
| 1156 | - Object.entries(this.getTabs()).forEach(function (tab) { | |
| 2894 | + | |
| 2895 | + (0, _entries.default)(this.getTabs()).forEach(function (tab) { | |
| 1157 | 2896 | return _this.registerTabRoute(tab[0]); |
| 1158 | 2897 | }); |
| 1159 | - Object.entries(this.getRoutes()).forEach(function (_ref) { | |
| 2898 | + (0, _entries.default)(this.getRoutes()).forEach(function (_ref) { | |
| 1160 | 2899 | var _ref2 = (0, _slicedToArray2.default)(_ref, 2), |
| 1161 | - route = _ref2[0], | |
| 1162 | - callback = _ref2[1]; | |
| 2900 | + route = _ref2[0], | |
| 2901 | + callback = _ref2[1]; | |
| 2902 | + | |
| 1163 | 2903 | return _this.registerRoute(route, callback); |
| 1164 | 2904 | }); |
| 1165 | - Object.entries(this.getCommands()).forEach(function (_ref3) { | |
| 2905 | + (0, _entries.default)(this.getCommands()).forEach(function (_ref3) { | |
| 1166 | 2906 | var _ref4 = (0, _slicedToArray2.default)(_ref3, 2), |
| 1167 | - command = _ref4[0], | |
| 1168 | - callback = _ref4[1]; | |
| 2907 | + command = _ref4[0], | |
| 2908 | + callback = _ref4[1]; | |
| 2909 | + | |
| 1169 | 2910 | return _this.registerCommand(command, callback); |
| 1170 | 2911 | }); |
| 1171 | - Object.entries(this.getCommandsInternal()).forEach(function (_ref5) { | |
| 2912 | + (0, _entries.default)(this.getCommandsInternal()).forEach(function (_ref5) { | |
| 1172 | 2913 | var _ref6 = (0, _slicedToArray2.default)(_ref5, 2), |
| 1173 | - command = _ref6[0], | |
| 1174 | - callback = _ref6[1]; | |
| 2914 | + command = _ref6[0], | |
| 2915 | + callback = _ref6[1]; | |
| 2916 | + | |
| 1175 | 2917 | return _this.registerCommandInternal(command, callback); |
| 1176 | 2918 | }); |
| 1177 | - Object.values(this.getHooks()).forEach(function (instance) { | |
| 2919 | + (0, _values.default)(this.getHooks()).forEach(function (instance) { | |
| 1178 | 2920 | return _this.registerHook(instance); |
| 1179 | 2921 | }); |
| 1180 | - Object.entries(this.getData()).forEach(function (_ref7) { | |
| 2922 | + (0, _entries.default)(this.getData()).forEach(function (_ref7) { | |
| 1181 | 2923 | var _ref8 = (0, _slicedToArray2.default)(_ref7, 2), |
| 1182 | - command = _ref8[0], | |
| 1183 | - callback = _ref8[1]; | |
| 2924 | + command = _ref8[0], | |
| 2925 | + callback = _ref8[1]; | |
| 2926 | + | |
| 1184 | 2927 | return _this.registerData(command, callback); |
| 1185 | 2928 | }); |
| 1186 | - Object.values(this.getUiStates()).forEach(function (instance) { | |
| 1187 | - return _this.registerUiState(instance); | |
| 1188 | - }); | |
| 1189 | - Object.entries(this.getStates()).forEach(function (_ref9) { | |
| 1190 | - var _ref0 = (0, _slicedToArray2.default)(_ref9, 2), | |
| 1191 | - id = _ref0[0], | |
| 1192 | - state = _ref0[1]; | |
| 1193 | - return _this.registerState(id, state); | |
| 1194 | - }); | |
| 1195 | 2929 | } |
| 1196 | - | |
| 1197 | - // eslint-disable-next-line jsdoc/require-returns-check | |
| 1198 | 2930 | /** |
| 1199 | - * @return {string} namespace | |
| 2931 | + * @returns {string} | |
| 1200 | 2932 | */ |
| 2933 | + | |
| 1201 | 2934 | }, { |
| 1202 | 2935 | key: "getNamespace", |
| 1203 | 2936 | value: function getNamespace() { |
| 1204 | - (0, _forceMethodImplementation.default)(); | |
| 2937 | + elementorModules.ForceMethodImplementation(); | |
| 1205 | 2938 | } |
| 1206 | - | |
| 1207 | - /** | |
| 1208 | - * @deprecated since 3.7.0, use `getServiceName()` instead. | |
| 1209 | - */ | |
| 1210 | 2939 | }, { |
| 1211 | 2940 | key: "getRootContainer", |
| 1212 | 2941 | value: function getRootContainer() { |
| 1213 | - _deprecation.default.deprecated('getRootContainer()', '3.7.0', 'getServiceName()'); | |
| 1214 | - return this.getServiceName(); | |
| 2942 | + var parts = this.getNamespace().split('/'); | |
| 2943 | + return parts[0]; | |
| 1215 | 2944 | } |
| 1216 | 2945 | }, { |
| 1217 | - key: "getServiceName", | |
| 1218 | - value: function getServiceName() { | |
| 1219 | - return this.getNamespace().split('/')[0]; | |
| 1220 | - } | |
| 1221 | - }, { | |
| 1222 | - key: "store", | |
| 1223 | - get: function get() { | |
| 1224 | - return $e.store.get(this.getNamespace()); | |
| 1225 | - } | |
| 1226 | - }, { | |
| 1227 | 2946 | key: "defaultTabs", |
| 1228 | 2947 | value: function defaultTabs() { |
| 1229 | 2948 | return {}; |
| 1230 | 2949 | } |
| @@ -1247,31 +2966,9 @@ | ||
| 1247 | 2966 | key: "defaultHooks", |
| 1248 | 2967 | value: function defaultHooks() { |
| 1249 | 2968 | return {}; |
| 1250 | 2969 | } |
| 1251 | - | |
| 1252 | - /** | |
| 1253 | - * Get the component's default UI states. | |
| 1254 | - * | |
| 1255 | - * @return {Object} default UI states | |
| 1256 | - */ | |
| 1257 | 2970 | }, { |
| 1258 | - key: "defaultUiStates", | |
| 1259 | - value: function defaultUiStates() { | |
| 1260 | - return {}; | |
| 1261 | - } | |
| 1262 | - | |
| 1263 | - /** | |
| 1264 | - * Get the component's Redux slice settings. | |
| 1265 | - * | |
| 1266 | - * @return {Object} Redux slice settings | |
| 1267 | - */ | |
| 1268 | - }, { | |
| 1269 | - key: "defaultStates", | |
| 1270 | - value: function defaultStates() { | |
| 1271 | - return {}; | |
| 1272 | - } | |
| 1273 | - }, { | |
| 1274 | 2971 | key: "defaultShortcuts", |
| 1275 | 2972 | value: function defaultShortcuts() { |
| 1276 | 2973 | return {}; |
| 1277 | 2974 | } |
| @@ -1299,31 +2996,9 @@ | ||
| 1299 | 2996 | key: "getHooks", |
| 1300 | 2997 | value: function getHooks() { |
| 1301 | 2998 | return this.hooks; |
| 1302 | 2999 | } |
| 1303 | - | |
| 1304 | - /** | |
| 1305 | - * Retrieve the component's UI states. | |
| 1306 | - * | |
| 1307 | - * @return {Object} UI states | |
| 1308 | - */ | |
| 1309 | 3000 | }, { |
| 1310 | - key: "getUiStates", | |
| 1311 | - value: function getUiStates() { | |
| 1312 | - return this.uiStates; | |
| 1313 | - } | |
| 1314 | - | |
| 1315 | - /** | |
| 1316 | - * Retrieve the component's Redux Slice. | |
| 1317 | - * | |
| 1318 | - * @return {Object} Redux Slice | |
| 1319 | - */ | |
| 1320 | - }, { | |
| 1321 | - key: "getStates", | |
| 1322 | - value: function getStates() { | |
| 1323 | - return this.states; | |
| 1324 | - } | |
| 1325 | - }, { | |
| 1326 | 3001 | key: "getRoutes", |
| 1327 | 3002 | value: function getRoutes() { |
| 1328 | 3003 | return this.routes; |
| 1329 | 3004 | } |
| @@ -1341,63 +3016,17 @@ | ||
| 1341 | 3016 | key: "getData", |
| 1342 | 3017 | value: function getData() { |
| 1343 | 3018 | return this.data; |
| 1344 | 3019 | } |
| 1345 | - | |
| 1346 | - /** | |
| 1347 | - * @param {string} command | |
| 1348 | - * @param {(()=>{}|CommandInfra)} context | |
| 1349 | - * @param {'default'|'internal'|'data'} commandsType | |
| 1350 | - */ | |
| 1351 | 3020 | }, { |
| 1352 | 3021 | key: "registerCommand", |
| 1353 | - value: function registerCommand(command, context) { | |
| 1354 | - var commandsType = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'default'; | |
| 1355 | - var commandsManager; | |
| 1356 | - switch (commandsType) { | |
| 1357 | - case 'default': | |
| 1358 | - commandsManager = $e.commands; | |
| 1359 | - break; | |
| 1360 | - case 'internal': | |
| 1361 | - commandsManager = $e.commandsInternal; | |
| 1362 | - break; | |
| 1363 | - case 'data': | |
| 1364 | - commandsManager = $e.data; | |
| 1365 | - break; | |
| 1366 | - default: | |
| 1367 | - throw new Error("Invalid commands type: '".concat(command, "'")); | |
| 1368 | - } | |
| 1369 | - var fullCommand = this.getNamespace() + '/' + command, | |
| 1370 | - instanceType = context.getInstanceType ? context.getInstanceType() : false, | |
| 1371 | - registerConfig = { | |
| 1372 | - command: fullCommand, | |
| 1373 | - component: this | |
| 1374 | - }; | |
| 1375 | - | |
| 1376 | - // Support pure callback. | |
| 1377 | - if (!instanceType) { | |
| 1378 | - if ($e.devTools) { | |
| 1379 | - $e.devTools.log.warn("Attach command-callback-base, on command: '".concat(fullCommand, "', context is unknown type.")); | |
| 1380 | - } | |
| 1381 | - registerConfig.callback = context; | |
| 1382 | - | |
| 1383 | - // Unique class. | |
| 1384 | - context = /*#__PURE__*/function (_CommandCallbackBase) { | |
| 1385 | - function context() { | |
| 1386 | - (0, _classCallCheck2.default)(this, context); | |
| 1387 | - return _callSuper(this, context, arguments); | |
| 1388 | - } | |
| 1389 | - (0, _inherits2.default)(context, _CommandCallbackBase); | |
| 1390 | - return (0, _createClass2.default)(context); | |
| 1391 | - }(_commandCallbackBase.default); | |
| 1392 | - } | |
| 1393 | - context.setRegisterConfig(registerConfig); | |
| 1394 | - commandsManager.register(this, command, context); | |
| 3022 | + value: function registerCommand(command, callback) { | |
| 3023 | + $e.commands.register(this, command, callback); | |
| 1395 | 3024 | } |
| 1396 | - | |
| 1397 | 3025 | /** |
| 1398 | 3026 | * @param {HookBase} instance |
| 1399 | 3027 | */ |
| 3028 | + | |
| 1400 | 3029 | }, { |
| 1401 | 3030 | key: "registerHook", |
| 1402 | 3031 | value: function registerHook(instance) { |
| 1403 | 3032 | return instance.register(); |
| @@ -1403,43 +3032,12 @@ | ||
| 1403 | 3032 | return instance.register(); |
| 1404 | 3033 | } |
| 1405 | 3034 | }, { |
| 1406 | 3035 | key: "registerCommandInternal", |
| 1407 | - value: function registerCommandInternal(command, context) { | |
| 1408 | - this.registerCommand(command, context, 'internal'); | |
| 3036 | + value: function registerCommandInternal(command, callback) { | |
| 3037 | + $e.commandsInternal.register(this, command, callback); | |
| 1409 | 3038 | } |
| 1410 | - | |
| 1411 | - /** | |
| 1412 | - * Register a UI state. | |
| 1413 | - * | |
| 1414 | - * @param {UiStateBase} instance - UI state instance. | |
| 1415 | - * | |
| 1416 | - * @return {void} | |
| 1417 | - */ | |
| 1418 | 3039 | }, { |
| 1419 | - key: "registerUiState", | |
| 1420 | - value: function registerUiState(instance) { | |
| 1421 | - $e.uiStates.register(instance); | |
| 1422 | - } | |
| 1423 | - | |
| 1424 | - /** | |
| 1425 | - * Register a Redux Slice. | |
| 1426 | - * | |
| 1427 | - * @param {string} id - State id. | |
| 1428 | - * @param {Object} stateConfig - The state config. | |
| 1429 | - * | |
| 1430 | - * @return {void} | |
| 1431 | - */ | |
| 1432 | - }, { | |
| 1433 | - key: "registerState", | |
| 1434 | - value: function registerState(id, stateConfig) { | |
| 1435 | - id = this.getNamespace() + (id ? "/".concat(id) : ''); | |
| 1436 | - var slice = (0, _toolkit.createSlice)(_objectSpread(_objectSpread({}, stateConfig), {}, { | |
| 1437 | - name: id | |
| 1438 | - })); | |
| 1439 | - $e.store.register(id, slice); | |
| 1440 | - } | |
| 1441 | - }, { | |
| 1442 | 3040 | key: "registerRoute", |
| 1443 | 3041 | value: function registerRoute(route, callback) { |
| 1444 | 3042 | $e.routes.register(this, route, callback); |
| 1445 | 3043 | } |
| @@ -1444,10 +3042,10 @@ | ||
| 1444 | 3042 | $e.routes.register(this, route, callback); |
| 1445 | 3043 | } |
| 1446 | 3044 | }, { |
| 1447 | 3045 | key: "registerData", |
| 1448 | - value: function registerData(command, context) { | |
| 1449 | - this.registerCommand(command, context, 'data'); | |
| 3046 | + value: function registerData(command, callback) { | |
| 3047 | + $e.data.register(this, command, callback); | |
| 1450 | 3048 | } |
| 1451 | 3049 | }, { |
| 1452 | 3050 | key: "unregisterRoute", |
| 1453 | 3051 | value: function unregisterRoute(route) { |
| @@ -1456,8 +3054,9 @@ | ||
| 1456 | 3054 | }, { |
| 1457 | 3055 | key: "registerTabRoute", |
| 1458 | 3056 | value: function registerTabRoute(tab) { |
| 1459 | 3057 | var _this2 = this; |
| 3058 | + | |
| 1460 | 3059 | this.registerRoute(tab, function (args) { |
| 1461 | 3060 | return _this2.activateTab(tab, args); |
| 1462 | 3061 | }); |
| 1463 | 3062 | } |
| @@ -1476,12 +3075,13 @@ | ||
| 1476 | 3075 | value: function close() { |
| 1477 | 3076 | if (!this.isOpen) { |
| 1478 | 3077 | return false; |
| 1479 | 3078 | } |
| 3079 | + | |
| 1480 | 3080 | this.isOpen = false; |
| 1481 | 3081 | this.inactivate(); |
| 1482 | 3082 | $e.routes.clearCurrent(this.getNamespace()); |
| 1483 | - $e.routes.clearHistory(this.getServiceName()); | |
| 3083 | + $e.routes.clearHistory(this.getRootContainer()); | |
| 1484 | 3084 | return true; |
| 1485 | 3085 | } |
| 1486 | 3086 | }, { |
| 1487 | 3087 | key: "activate", |
| @@ -1537,17 +3137,17 @@ | ||
| 1537 | 3137 | }, { |
| 1538 | 3138 | key: "addTab", |
| 1539 | 3139 | value: function addTab(tab, args, position) { |
| 1540 | 3140 | var _this3 = this; |
| 1541 | - this.tabs[tab] = args; | |
| 1542 | - // It can be 0. | |
| 3141 | + | |
| 3142 | + this.tabs[tab] = args; // It can be 0. | |
| 3143 | + | |
| 1543 | 3144 | if ('undefined' !== typeof position) { |
| 1544 | 3145 | var newTabs = {}; |
| 1545 | - var ids = Object.keys(this.tabs); | |
| 1546 | - // Remove new tab | |
| 1547 | - ids.pop(); | |
| 3146 | + var ids = (0, _keys.default)(this.tabs); // Remove new tab | |
| 1548 | 3147 | |
| 1549 | - // Add it to position. | |
| 3148 | + ids.pop(); // Add it to position. | |
| 3149 | + | |
| 1550 | 3150 | ids.splice(position, 0, tab); |
| 1551 | 3151 | ids.forEach(function (id) { |
| 1552 | 3152 | newTabs[id] = _this3.tabs[id]; |
| 1553 | 3153 | }); |
| @@ -1552,8 +3152,9 @@ | ||
| 1552 | 3152 | newTabs[id] = _this3.tabs[id]; |
| 1553 | 3153 | }); |
| 1554 | 3154 | this.tabs = newTabs; |
| 1555 | 3155 | } |
| 3156 | + | |
| 1556 | 3157 | this.registerTabRoute(tab); |
| 1557 | 3158 | } |
| 1558 | 3159 | }, { |
| 1559 | 3160 | key: "getTabsWrapperSelector", |
| @@ -1567,12 +3168,15 @@ | ||
| 1567 | 3168 | } |
| 1568 | 3169 | }, { |
| 1569 | 3170 | key: "renderTab", |
| 1570 | 3171 | value: function renderTab(tab) {} // eslint-disable-line |
| 3172 | + | |
| 1571 | 3173 | }, { |
| 1572 | 3174 | key: "activateTab", |
| 1573 | 3175 | value: function activateTab(tab, args) { |
| 1574 | 3176 | var _this4 = this; |
| 3177 | + | |
| 3178 | + this.currentTab = tab; | |
| 1575 | 3179 | this.renderTab(tab, args); |
| 1576 | 3180 | jQuery(this.getTabsWrapperSelector() + ' .elementor-component-tab').off('click').on('click', function (event) { |
| 1577 | 3181 | $e.route(_this4.getTabRoute(event.currentTarget.dataset.tab), args); |
| 1578 | 3182 | }).removeClass('elementor-active').filter('[data-tab="' + tab + '"]').addClass('elementor-active'); |
| @@ -1586,15 +3190,13 @@ | ||
| 1586 | 3190 | key: "getBodyClass", |
| 1587 | 3191 | value: function getBodyClass(route) { |
| 1588 | 3192 | return 'e-route-' + route.replace(/\//g, '-'); |
| 1589 | 3193 | } |
| 1590 | - | |
| 1591 | 3194 | /** |
| 1592 | 3195 | * If command includes uppercase character convert it to lowercase and add `-`. |
| 1593 | 3196 | * e.g: `CopyAll` is converted to `copy-all`. |
| 1594 | - * | |
| 1595 | - * @param {string} commandName | |
| 1596 | 3197 | */ |
| 3198 | + | |
| 1597 | 3199 | }, { |
| 1598 | 3200 | key: "normalizeCommandName", |
| 1599 | 3201 | value: function normalizeCommandName(commandName) { |
| 1600 | 3202 | return commandName.replace(/[A-Z]/g, function (match, offset) { |
| @@ -1600,26 +3202,29 @@ | ||
| 1600 | 3202 | return commandName.replace(/[A-Z]/g, function (match, offset) { |
| 1601 | 3203 | return (offset > 0 ? '-' : '') + match.toLowerCase(); |
| 1602 | 3204 | }); |
| 1603 | 3205 | } |
| 1604 | - | |
| 1605 | - /** | |
| 1606 | - * @param {{}} commandsFromImport | |
| 1607 | - * @return {{}} imported commands | |
| 1608 | - */ | |
| 1609 | 3206 | }, { |
| 1610 | 3207 | key: "importCommands", |
| 1611 | 3208 | value: function importCommands(commandsFromImport) { |
| 1612 | 3209 | var _this5 = this; |
| 1613 | - var commands = {}; | |
| 1614 | 3210 | |
| 1615 | - // Convert `Commands` to `ComponentBase` workable format. | |
| 1616 | - Object.entries(commandsFromImport).forEach(function (_ref1) { | |
| 1617 | - var _ref10 = (0, _slicedToArray2.default)(_ref1, 2), | |
| 1618 | - className = _ref10[0], | |
| 1619 | - Class = _ref10[1]; | |
| 3211 | + var commands = {}; // Convert `Commands` to `ComponentBase` workable format. | |
| 3212 | + | |
| 3213 | + (0, _entries.default)(commandsFromImport).forEach(function (_ref9) { | |
| 3214 | + var _ref10 = (0, _slicedToArray2.default)(_ref9, 2), | |
| 3215 | + className = _ref10[0], | |
| 3216 | + Class = _ref10[1]; | |
| 3217 | + | |
| 1620 | 3218 | var command = _this5.normalizeCommandName(className); |
| 1621 | - commands[command] = Class; | |
| 3219 | + | |
| 3220 | + commands[command] = function (args) { | |
| 3221 | + return new Class(args).run(); | |
| 3222 | + }; // TODO: Temporary code, remove after merge with 'require-commands-base' branch. | |
| 3223 | + // should not return callback, but Class or Instance without run ( gain performance ). | |
| 3224 | + | |
| 3225 | + | |
| 3226 | + $e.commands.classes[_this5.getNamespace() + '/' + command] = Class; | |
| 1622 | 3227 | }); |
| 1623 | 3228 | return commands; |
| 1624 | 3229 | } |
| 1625 | 3230 | }, { |
| @@ -1625,814 +3230,4496 @@ | ||
| 1625 | 3230 | }, { |
| 1626 | 3231 | key: "importHooks", |
| 1627 | 3232 | value: function importHooks(hooksFromImport) { |
| 1628 | 3233 | var hooks = {}; |
| 3234 | + | |
| 1629 | 3235 | for (var key in hooksFromImport) { |
| 1630 | 3236 | var hook = new hooksFromImport[key](); |
| 1631 | 3237 | hooks[hook.getId()] = hook; |
| 1632 | 3238 | } |
| 3239 | + | |
| 1633 | 3240 | return hooks; |
| 1634 | 3241 | } |
| 1635 | - | |
| 1636 | - /** | |
| 1637 | - * Import & initialize the component's UI states. | |
| 1638 | - * Should be used inside `defaultUiState()`. | |
| 1639 | - * | |
| 1640 | - * @param {Object} statesFromImport - UI states from import. | |
| 1641 | - * | |
| 1642 | - * @return {Object} UI States | |
| 1643 | - */ | |
| 1644 | 3242 | }, { |
| 1645 | - key: "importUiStates", | |
| 1646 | - value: function importUiStates(statesFromImport) { | |
| 1647 | - var _this6 = this; | |
| 1648 | - var uiStates = {}; | |
| 1649 | - Object.values(statesFromImport).forEach(function (className) { | |
| 1650 | - var uiState = new className(_this6); | |
| 1651 | - uiStates[uiState.getId()] = uiState; | |
| 1652 | - }); | |
| 1653 | - return uiStates; | |
| 1654 | - } | |
| 1655 | - | |
| 1656 | - /** | |
| 1657 | - * Set a UI state value. | |
| 1658 | - * TODO: Should we provide such function? Maybe the developer should implicitly pass the full state ID? | |
| 1659 | - * | |
| 1660 | - * @param {string} state - Non-prefixed state ID. | |
| 1661 | - * @param {*} value - New state value. | |
| 1662 | - * | |
| 1663 | - * @return {void} | |
| 1664 | - */ | |
| 1665 | - }, { | |
| 1666 | - key: "setUiState", | |
| 1667 | - value: function setUiState(state, value) { | |
| 1668 | - $e.uiStates.set("".concat(this.getNamespace(), "/").concat(state), value); | |
| 1669 | - } | |
| 1670 | - }, { | |
| 1671 | 3243 | key: "toggleRouteClass", |
| 1672 | 3244 | value: function toggleRouteClass(route, state) { |
| 1673 | - document.body.classList.toggle(this.getBodyClass(route), state); | |
| 3245 | + elementorCommon.elements.$body.toggleClass(this.getBodyClass(route), state); | |
| 1674 | 3246 | } |
| 1675 | 3247 | }, { |
| 1676 | 3248 | key: "toggleHistoryClass", |
| 1677 | 3249 | value: function toggleHistoryClass() { |
| 1678 | - document.body.classList.toggle('e-routes-has-history', !!$e.routes.getHistory(this.getServiceName()).length); | |
| 3250 | + elementorCommon.elements.$body.toggleClass('e-routes-has-history', !!$e.routes.getHistory(this.getRootContainer()).length); | |
| 1679 | 3251 | } |
| 1680 | 3252 | }]); |
| 1681 | -}(_module.default); | |
| 3253 | + return ComponentBase; | |
| 3254 | +}(elementorModules.Module); | |
| 1682 | 3255 | |
| 3256 | +exports.default = ComponentBase; | |
| 3257 | + | |
| 1683 | 3258 | /***/ }), |
| 3259 | +/* 83 */ | |
| 3260 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1684 | 3261 | |
| 1685 | -/***/ "../modules/web-cli/assets/js/utils/console.js": | |
| 1686 | -/*!*****************************************************!*\ | |
| 1687 | - !*** ../modules/web-cli/assets/js/utils/console.js ***! | |
| 1688 | - \*****************************************************/ | |
| 1689 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 3262 | +// most Object methods by ES6 should accept primitives | |
| 3263 | +var $export = __webpack_require__(7); | |
| 3264 | +var core = __webpack_require__(6); | |
| 3265 | +var fails = __webpack_require__(22); | |
| 3266 | +module.exports = function (KEY, exec) { | |
| 3267 | + var fn = (core.Object || {})[KEY] || Object[KEY]; | |
| 3268 | + var exp = {}; | |
| 3269 | + exp[KEY] = exec(fn); | |
| 3270 | + $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp); | |
| 3271 | +}; | |
| 1690 | 3272 | |
| 3273 | + | |
| 3274 | +/***/ }), | |
| 3275 | +/* 84 */ | |
| 3276 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3277 | + | |
| 3278 | +// 22.1.3.31 Array.prototype[@@unscopables] | |
| 3279 | +var UNSCOPABLES = __webpack_require__(12)('unscopables'); | |
| 3280 | +var ArrayProto = Array.prototype; | |
| 3281 | +if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(29)(ArrayProto, UNSCOPABLES, {}); | |
| 3282 | +module.exports = function (key) { | |
| 3283 | + ArrayProto[UNSCOPABLES][key] = true; | |
| 3284 | +}; | |
| 3285 | + | |
| 3286 | + | |
| 3287 | +/***/ }), | |
| 3288 | +/* 85 */, | |
| 3289 | +/* 86 */ | |
| 3290 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3291 | + | |
| 3292 | +var ctx = __webpack_require__(31); | |
| 3293 | +var call = __webpack_require__(140); | |
| 3294 | +var isArrayIter = __webpack_require__(141); | |
| 3295 | +var anObject = __webpack_require__(13); | |
| 3296 | +var toLength = __webpack_require__(68); | |
| 3297 | +var getIterFn = __webpack_require__(112); | |
| 3298 | +var BREAK = {}; | |
| 3299 | +var RETURN = {}; | |
| 3300 | +var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) { | |
| 3301 | + var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable); | |
| 3302 | + var f = ctx(fn, that, entries ? 2 : 1); | |
| 3303 | + var index = 0; | |
| 3304 | + var length, step, iterator, result; | |
| 3305 | + if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!'); | |
| 3306 | + // fast case for arrays with default iterator | |
| 3307 | + if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) { | |
| 3308 | + result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]); | |
| 3309 | + if (result === BREAK || result === RETURN) return result; | |
| 3310 | + } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) { | |
| 3311 | + result = call(iterator, f, step.value, entries); | |
| 3312 | + if (result === BREAK || result === RETURN) return result; | |
| 3313 | + } | |
| 3314 | +}; | |
| 3315 | +exports.BREAK = BREAK; | |
| 3316 | +exports.RETURN = RETURN; | |
| 3317 | + | |
| 3318 | + | |
| 3319 | +/***/ }), | |
| 3320 | +/* 87 */ | |
| 3321 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3322 | + | |
| 3323 | +module.exports = __webpack_require__(269); | |
| 3324 | + | |
| 3325 | +/***/ }), | |
| 3326 | +/* 88 */ | |
| 3327 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3328 | + | |
| 1691 | 3329 | "use strict"; |
| 1692 | 3330 | |
| 1693 | 3331 | |
| 1694 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1695 | -Object.defineProperty(exports, "__esModule", ({ | |
| 1696 | - value: true | |
| 1697 | -})); | |
| 1698 | -exports["default"] = void 0; | |
| 1699 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 1700 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 1701 | -var Console = exports["default"] = /*#__PURE__*/function () { | |
| 1702 | - function Console() { | |
| 1703 | - (0, _classCallCheck2.default)(this, Console); | |
| 3332 | +var regexpFlags = __webpack_require__(106); | |
| 3333 | + | |
| 3334 | +var nativeExec = RegExp.prototype.exec; | |
| 3335 | +// This always refers to the native implementation, because the | |
| 3336 | +// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js, | |
| 3337 | +// which loads this file before patching the method. | |
| 3338 | +var nativeReplace = String.prototype.replace; | |
| 3339 | + | |
| 3340 | +var patchedExec = nativeExec; | |
| 3341 | + | |
| 3342 | +var LAST_INDEX = 'lastIndex'; | |
| 3343 | + | |
| 3344 | +var UPDATES_LAST_INDEX_WRONG = (function () { | |
| 3345 | + var re1 = /a/, | |
| 3346 | + re2 = /b*/g; | |
| 3347 | + nativeExec.call(re1, 'a'); | |
| 3348 | + nativeExec.call(re2, 'a'); | |
| 3349 | + return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0; | |
| 3350 | +})(); | |
| 3351 | + | |
| 3352 | +// nonparticipating capturing group, copied from es5-shim's String#split patch. | |
| 3353 | +var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; | |
| 3354 | + | |
| 3355 | +var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED; | |
| 3356 | + | |
| 3357 | +if (PATCH) { | |
| 3358 | + patchedExec = function exec(str) { | |
| 3359 | + var re = this; | |
| 3360 | + var lastIndex, reCopy, match, i; | |
| 3361 | + | |
| 3362 | + if (NPCG_INCLUDED) { | |
| 3363 | + reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re)); | |
| 3364 | + } | |
| 3365 | + if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX]; | |
| 3366 | + | |
| 3367 | + match = nativeExec.call(re, str); | |
| 3368 | + | |
| 3369 | + if (UPDATES_LAST_INDEX_WRONG && match) { | |
| 3370 | + re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex; | |
| 3371 | + } | |
| 3372 | + if (NPCG_INCLUDED && match && match.length > 1) { | |
| 3373 | + // Fix browsers whose `exec` methods don't consistently return `undefined` | |
| 3374 | + // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ | |
| 3375 | + // eslint-disable-next-line no-loop-func | |
| 3376 | + nativeReplace.call(match[0], reCopy, function () { | |
| 3377 | + for (i = 1; i < arguments.length - 2; i++) { | |
| 3378 | + if (arguments[i] === undefined) match[i] = undefined; | |
| 3379 | + } | |
| 3380 | + }); | |
| 3381 | + } | |
| 3382 | + | |
| 3383 | + return match; | |
| 3384 | + }; | |
| 3385 | +} | |
| 3386 | + | |
| 3387 | +module.exports = patchedExec; | |
| 3388 | + | |
| 3389 | + | |
| 3390 | +/***/ }), | |
| 3391 | +/* 89 */ | |
| 3392 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3393 | + | |
| 3394 | +module.exports = __webpack_require__(69); | |
| 3395 | + | |
| 3396 | + | |
| 3397 | +/***/ }), | |
| 3398 | +/* 90 */ | |
| 3399 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3400 | + | |
| 3401 | +var _Promise = __webpack_require__(133); | |
| 3402 | + | |
| 3403 | +function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { | |
| 3404 | + try { | |
| 3405 | + var info = gen[key](arg); | |
| 3406 | + var value = info.value; | |
| 3407 | + } catch (error) { | |
| 3408 | + reject(error); | |
| 3409 | + return; | |
| 1704 | 3410 | } |
| 1705 | - return (0, _createClass2.default)(Console, null, [{ | |
| 1706 | - key: "error", | |
| 1707 | - value: function error(message) { | |
| 1708 | - // Show an error if devTools is available. | |
| 1709 | - if ($e.devTools) { | |
| 1710 | - $e.devTools.log.error(message); | |
| 3411 | + | |
| 3412 | + if (info.done) { | |
| 3413 | + resolve(value); | |
| 3414 | + } else { | |
| 3415 | + _Promise.resolve(value).then(_next, _throw); | |
| 3416 | + } | |
| 3417 | +} | |
| 3418 | + | |
| 3419 | +function _asyncToGenerator(fn) { | |
| 3420 | + return function () { | |
| 3421 | + var self = this, | |
| 3422 | + args = arguments; | |
| 3423 | + return new _Promise(function (resolve, reject) { | |
| 3424 | + var gen = fn.apply(self, args); | |
| 3425 | + | |
| 3426 | + function _next(value) { | |
| 3427 | + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); | |
| 1711 | 3428 | } |
| 1712 | 3429 | |
| 1713 | - // If not a 'Hook-Break' then show error. | |
| 1714 | - if (!(message instanceof $e.modules.HookBreak)) { | |
| 1715 | - // eslint-disable-next-line no-console | |
| 1716 | - console.error(message); | |
| 3430 | + function _throw(err) { | |
| 3431 | + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); | |
| 1717 | 3432 | } |
| 3433 | + | |
| 3434 | + _next(undefined); | |
| 3435 | + }); | |
| 3436 | + }; | |
| 3437 | +} | |
| 3438 | + | |
| 3439 | +module.exports = _asyncToGenerator; | |
| 3440 | + | |
| 3441 | +/***/ }), | |
| 3442 | +/* 91 */ | |
| 3443 | +/***/ (function(module, exports) { | |
| 3444 | + | |
| 3445 | +module.exports = function (it) { | |
| 3446 | + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); | |
| 3447 | + return it; | |
| 3448 | +}; | |
| 3449 | + | |
| 3450 | + | |
| 3451 | +/***/ }), | |
| 3452 | +/* 92 */ | |
| 3453 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3454 | + | |
| 3455 | +var isObject = __webpack_require__(9); | |
| 3456 | +var document = __webpack_require__(8).document; | |
| 3457 | +// typeof document.createElement is 'object' in old IE | |
| 3458 | +var is = isObject(document) && isObject(document.createElement); | |
| 3459 | +module.exports = function (it) { | |
| 3460 | + return is ? document.createElement(it) : {}; | |
| 3461 | +}; | |
| 3462 | + | |
| 3463 | + | |
| 3464 | +/***/ }), | |
| 3465 | +/* 93 */ | |
| 3466 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3467 | + | |
| 3468 | +module.exports = __webpack_require__(24); | |
| 3469 | + | |
| 3470 | + | |
| 3471 | +/***/ }), | |
| 3472 | +/* 94 */ | |
| 3473 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3474 | + | |
| 3475 | +"use strict"; | |
| 3476 | + | |
| 3477 | + | |
| 3478 | +var classof = __webpack_require__(113); | |
| 3479 | +var builtinExec = RegExp.prototype.exec; | |
| 3480 | + | |
| 3481 | + // `RegExpExec` abstract operation | |
| 3482 | +// https://tc39.github.io/ecma262/#sec-regexpexec | |
| 3483 | +module.exports = function (R, S) { | |
| 3484 | + var exec = R.exec; | |
| 3485 | + if (typeof exec === 'function') { | |
| 3486 | + var result = exec.call(R, S); | |
| 3487 | + if (typeof result !== 'object') { | |
| 3488 | + throw new TypeError('RegExp exec method returned something other than an Object or null'); | |
| 1718 | 3489 | } |
| 1719 | - }, { | |
| 1720 | - key: "warn", | |
| 1721 | - value: function warn() { | |
| 1722 | - var _console; | |
| 1723 | - var style = "font-size: 12px; background-image: url(\"".concat(elementorWebCliConfig.urls.assets, "images/logo-icon.png\"); background-repeat: no-repeat; background-size: contain;"); | |
| 1724 | - for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { | |
| 1725 | - args[_key] = arguments[_key]; | |
| 3490 | + return result; | |
| 3491 | + } | |
| 3492 | + if (classof(R) !== 'RegExp') { | |
| 3493 | + throw new TypeError('RegExp#exec called on incompatible receiver'); | |
| 3494 | + } | |
| 3495 | + return builtinExec.call(R, S); | |
| 3496 | +}; | |
| 3497 | + | |
| 3498 | + | |
| 3499 | +/***/ }), | |
| 3500 | +/* 95 */ | |
| 3501 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3502 | + | |
| 3503 | +"use strict"; | |
| 3504 | + | |
| 3505 | +__webpack_require__(190); | |
| 3506 | +var redefine = __webpack_require__(36); | |
| 3507 | +var hide = __webpack_require__(29); | |
| 3508 | +var fails = __webpack_require__(33); | |
| 3509 | +var defined = __webpack_require__(42); | |
| 3510 | +var wks = __webpack_require__(12); | |
| 3511 | +var regexpExec = __webpack_require__(88); | |
| 3512 | + | |
| 3513 | +var SPECIES = wks('species'); | |
| 3514 | + | |
| 3515 | +var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { | |
| 3516 | + // #replace needs built-in support for named groups. | |
| 3517 | + // #match works fine because it just return the exec results, even if it has | |
| 3518 | + // a "grops" property. | |
| 3519 | + var re = /./; | |
| 3520 | + re.exec = function () { | |
| 3521 | + var result = []; | |
| 3522 | + result.groups = { a: '7' }; | |
| 3523 | + return result; | |
| 3524 | + }; | |
| 3525 | + return ''.replace(re, '$<a>') !== '7'; | |
| 3526 | +}); | |
| 3527 | + | |
| 3528 | +var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () { | |
| 3529 | + // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec | |
| 3530 | + var re = /(?:)/; | |
| 3531 | + var originalExec = re.exec; | |
| 3532 | + re.exec = function () { return originalExec.apply(this, arguments); }; | |
| 3533 | + var result = 'ab'.split(re); | |
| 3534 | + return result.length === 2 && result[0] === 'a' && result[1] === 'b'; | |
| 3535 | +})(); | |
| 3536 | + | |
| 3537 | +module.exports = function (KEY, length, exec) { | |
| 3538 | + var SYMBOL = wks(KEY); | |
| 3539 | + | |
| 3540 | + var DELEGATES_TO_SYMBOL = !fails(function () { | |
| 3541 | + // String methods call symbol-named RegEp methods | |
| 3542 | + var O = {}; | |
| 3543 | + O[SYMBOL] = function () { return 7; }; | |
| 3544 | + return ''[KEY](O) != 7; | |
| 3545 | + }); | |
| 3546 | + | |
| 3547 | + var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () { | |
| 3548 | + // Symbol-named RegExp methods call .exec | |
| 3549 | + var execCalled = false; | |
| 3550 | + var re = /a/; | |
| 3551 | + re.exec = function () { execCalled = true; return null; }; | |
| 3552 | + if (KEY === 'split') { | |
| 3553 | + // RegExp[@@split] doesn't call the regex's exec method, but first creates | |
| 3554 | + // a new one. We need to return the patched regex when creating the new one. | |
| 3555 | + re.constructor = {}; | |
| 3556 | + re.constructor[SPECIES] = function () { return re; }; | |
| 3557 | + } | |
| 3558 | + re[SYMBOL](''); | |
| 3559 | + return !execCalled; | |
| 3560 | + }) : undefined; | |
| 3561 | + | |
| 3562 | + if ( | |
| 3563 | + !DELEGATES_TO_SYMBOL || | |
| 3564 | + !DELEGATES_TO_EXEC || | |
| 3565 | + (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) || | |
| 3566 | + (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) | |
| 3567 | + ) { | |
| 3568 | + var nativeRegExpMethod = /./[SYMBOL]; | |
| 3569 | + var fns = exec( | |
| 3570 | + defined, | |
| 3571 | + SYMBOL, | |
| 3572 | + ''[KEY], | |
| 3573 | + function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) { | |
| 3574 | + if (regexp.exec === regexpExec) { | |
| 3575 | + if (DELEGATES_TO_SYMBOL && !forceStringMethod) { | |
| 3576 | + // The native String method already delegates to @@method (this | |
| 3577 | + // polyfilled function), leasing to infinite recursion. | |
| 3578 | + // We avoid it by directly calling the native @@method method. | |
| 3579 | + return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) }; | |
| 3580 | + } | |
| 3581 | + return { done: true, value: nativeMethod.call(str, regexp, arg2) }; | |
| 3582 | + } | |
| 3583 | + return { done: false }; | |
| 1726 | 3584 | } |
| 1727 | - args.unshift('%c %c', style, ''); | |
| 1728 | - (_console = console).warn.apply(_console, args); // eslint-disable-line no-console | |
| 3585 | + ); | |
| 3586 | + var strfn = fns[0]; | |
| 3587 | + var rxfn = fns[1]; | |
| 3588 | + | |
| 3589 | + redefine(String.prototype, KEY, strfn); | |
| 3590 | + hide(RegExp.prototype, SYMBOL, length == 2 | |
| 3591 | + // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) | |
| 3592 | + // 21.2.5.11 RegExp.prototype[@@split](string, limit) | |
| 3593 | + ? function (string, arg) { return rxfn.call(string, this, arg); } | |
| 3594 | + // 21.2.5.6 RegExp.prototype[@@match](string) | |
| 3595 | + // 21.2.5.9 RegExp.prototype[@@search](string) | |
| 3596 | + : function (string) { return rxfn.call(string, this); } | |
| 3597 | + ); | |
| 3598 | + } | |
| 3599 | +}; | |
| 3600 | + | |
| 3601 | + | |
| 3602 | +/***/ }), | |
| 3603 | +/* 96 */ | |
| 3604 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3605 | + | |
| 3606 | +// 7.1.13 ToObject(argument) | |
| 3607 | +var defined = __webpack_require__(42); | |
| 3608 | +module.exports = function (it) { | |
| 3609 | + return Object(defined(it)); | |
| 3610 | +}; | |
| 3611 | + | |
| 3612 | + | |
| 3613 | +/***/ }), | |
| 3614 | +/* 97 */ | |
| 3615 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3616 | + | |
| 3617 | +// 7.2.2 IsArray(argument) | |
| 3618 | +var cof = __webpack_require__(56); | |
| 3619 | +module.exports = Array.isArray || function isArray(arg) { | |
| 3620 | + return cof(arg) == 'Array'; | |
| 3621 | +}; | |
| 3622 | + | |
| 3623 | + | |
| 3624 | +/***/ }), | |
| 3625 | +/* 98 */ | |
| 3626 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3627 | + | |
| 3628 | +// to indexed object, toObject with fallback for non-array-like ES3 strings | |
| 3629 | +var IObject = __webpack_require__(120); | |
| 3630 | +var defined = __webpack_require__(42); | |
| 3631 | +module.exports = function (it) { | |
| 3632 | + return IObject(defined(it)); | |
| 3633 | +}; | |
| 3634 | + | |
| 3635 | + | |
| 3636 | +/***/ }), | |
| 3637 | +/* 99 */ | |
| 3638 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3639 | + | |
| 3640 | +// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) | |
| 3641 | +var $keys = __webpack_require__(116); | |
| 3642 | +var hiddenKeys = __webpack_require__(78).concat('length', 'prototype'); | |
| 3643 | + | |
| 3644 | +exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { | |
| 3645 | + return $keys(O, hiddenKeys); | |
| 3646 | +}; | |
| 3647 | + | |
| 3648 | + | |
| 3649 | +/***/ }), | |
| 3650 | +/* 100 */ | |
| 3651 | +/***/ (function(module, exports) { | |
| 3652 | + | |
| 3653 | + | |
| 3654 | + | |
| 3655 | +/***/ }), | |
| 3656 | +/* 101 */ | |
| 3657 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3658 | + | |
| 3659 | +// getting tag from 19.1.3.6 Object.prototype.toString() | |
| 3660 | +var cof = __webpack_require__(56); | |
| 3661 | +var TAG = __webpack_require__(10)('toStringTag'); | |
| 3662 | +// ES3 wrong here | |
| 3663 | +var ARG = cof(function () { return arguments; }()) == 'Arguments'; | |
| 3664 | + | |
| 3665 | +// fallback for IE11 Script Access Denied error | |
| 3666 | +var tryGet = function (it, key) { | |
| 3667 | + try { | |
| 3668 | + return it[key]; | |
| 3669 | + } catch (e) { /* empty */ } | |
| 3670 | +}; | |
| 3671 | + | |
| 3672 | +module.exports = function (it) { | |
| 3673 | + var O, T, B; | |
| 3674 | + return it === undefined ? 'Undefined' : it === null ? 'Null' | |
| 3675 | + // @@toStringTag case | |
| 3676 | + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T | |
| 3677 | + // builtinTag case | |
| 3678 | + : ARG ? cof(O) | |
| 3679 | + // ES3 arguments fallback | |
| 3680 | + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; | |
| 3681 | +}; | |
| 3682 | + | |
| 3683 | + | |
| 3684 | +/***/ }), | |
| 3685 | +/* 102 */ | |
| 3686 | +/***/ (function(module, exports) { | |
| 3687 | + | |
| 3688 | +module.exports = function (bitmap, value) { | |
| 3689 | + return { | |
| 3690 | + enumerable: !(bitmap & 1), | |
| 3691 | + configurable: !(bitmap & 2), | |
| 3692 | + writable: !(bitmap & 4), | |
| 3693 | + value: value | |
| 3694 | + }; | |
| 3695 | +}; | |
| 3696 | + | |
| 3697 | + | |
| 3698 | +/***/ }), | |
| 3699 | +/* 103 */ | |
| 3700 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3701 | + | |
| 3702 | +// fallback for non-array-like ES3 and non-enumerable old V8 strings | |
| 3703 | +var cof = __webpack_require__(56); | |
| 3704 | +// eslint-disable-next-line no-prototype-builtins | |
| 3705 | +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { | |
| 3706 | + return cof(it) == 'String' ? it.split('') : Object(it); | |
| 3707 | +}; | |
| 3708 | + | |
| 3709 | + | |
| 3710 | +/***/ }), | |
| 3711 | +/* 104 */ | |
| 3712 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3713 | + | |
| 3714 | +var arrayWithHoles = __webpack_require__(247); | |
| 3715 | + | |
| 3716 | +var iterableToArrayLimit = __webpack_require__(248); | |
| 3717 | + | |
| 3718 | +var unsupportedIterableToArray = __webpack_require__(187); | |
| 3719 | + | |
| 3720 | +var nonIterableRest = __webpack_require__(251); | |
| 3721 | + | |
| 3722 | +function _slicedToArray(arr, i) { | |
| 3723 | + return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); | |
| 3724 | +} | |
| 3725 | + | |
| 3726 | +module.exports = _slicedToArray; | |
| 3727 | + | |
| 3728 | +/***/ }), | |
| 3729 | +/* 105 */ | |
| 3730 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3731 | + | |
| 3732 | +"use strict"; | |
| 3733 | + | |
| 3734 | +var at = __webpack_require__(143)(true); | |
| 3735 | + | |
| 3736 | + // `AdvanceStringIndex` abstract operation | |
| 3737 | +// https://tc39.github.io/ecma262/#sec-advancestringindex | |
| 3738 | +module.exports = function (S, index, unicode) { | |
| 3739 | + return index + (unicode ? at(S, index).length : 1); | |
| 3740 | +}; | |
| 3741 | + | |
| 3742 | + | |
| 3743 | +/***/ }), | |
| 3744 | +/* 106 */ | |
| 3745 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3746 | + | |
| 3747 | +"use strict"; | |
| 3748 | + | |
| 3749 | +// 21.2.5.3 get RegExp.prototype.flags | |
| 3750 | +var anObject = __webpack_require__(18); | |
| 3751 | +module.exports = function () { | |
| 3752 | + var that = anObject(this); | |
| 3753 | + var result = ''; | |
| 3754 | + if (that.global) result += 'g'; | |
| 3755 | + if (that.ignoreCase) result += 'i'; | |
| 3756 | + if (that.multiline) result += 'm'; | |
| 3757 | + if (that.unicode) result += 'u'; | |
| 3758 | + if (that.sticky) result += 'y'; | |
| 3759 | + return result; | |
| 3760 | +}; | |
| 3761 | + | |
| 3762 | + | |
| 3763 | +/***/ }), | |
| 3764 | +/* 107 */ | |
| 3765 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3766 | + | |
| 3767 | +module.exports = __webpack_require__(168); | |
| 3768 | + | |
| 3769 | +/***/ }), | |
| 3770 | +/* 108 */ | |
| 3771 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3772 | + | |
| 3773 | +"use strict"; | |
| 3774 | + | |
| 3775 | +var LIBRARY = __webpack_require__(47); | |
| 3776 | +var $export = __webpack_require__(7); | |
| 3777 | +var redefine = __webpack_require__(93); | |
| 3778 | +var hide = __webpack_require__(24); | |
| 3779 | +var Iterators = __webpack_require__(35); | |
| 3780 | +var $iterCreate = __webpack_require__(174); | |
| 3781 | +var setToStringTag = __webpack_require__(53); | |
| 3782 | +var getPrototypeOf = __webpack_require__(64); | |
| 3783 | +var ITERATOR = __webpack_require__(10)('iterator'); | |
| 3784 | +var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` | |
| 3785 | +var FF_ITERATOR = '@@iterator'; | |
| 3786 | +var KEYS = 'keys'; | |
| 3787 | +var VALUES = 'values'; | |
| 3788 | + | |
| 3789 | +var returnThis = function () { return this; }; | |
| 3790 | + | |
| 3791 | +module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { | |
| 3792 | + $iterCreate(Constructor, NAME, next); | |
| 3793 | + var getMethod = function (kind) { | |
| 3794 | + if (!BUGGY && kind in proto) return proto[kind]; | |
| 3795 | + switch (kind) { | |
| 3796 | + case KEYS: return function keys() { return new Constructor(this, kind); }; | |
| 3797 | + case VALUES: return function values() { return new Constructor(this, kind); }; | |
| 3798 | + } return function entries() { return new Constructor(this, kind); }; | |
| 3799 | + }; | |
| 3800 | + var TAG = NAME + ' Iterator'; | |
| 3801 | + var DEF_VALUES = DEFAULT == VALUES; | |
| 3802 | + var VALUES_BUG = false; | |
| 3803 | + var proto = Base.prototype; | |
| 3804 | + var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; | |
| 3805 | + var $default = $native || getMethod(DEFAULT); | |
| 3806 | + var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; | |
| 3807 | + var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; | |
| 3808 | + var methods, key, IteratorPrototype; | |
| 3809 | + // Fix native | |
| 3810 | + if ($anyNative) { | |
| 3811 | + IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); | |
| 3812 | + if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { | |
| 3813 | + // Set @@toStringTag to native iterators | |
| 3814 | + setToStringTag(IteratorPrototype, TAG, true); | |
| 3815 | + // fix for some old engines | |
| 3816 | + if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis); | |
| 1729 | 3817 | } |
| 1730 | - }]); | |
| 1731 | -}(); | |
| 3818 | + } | |
| 3819 | + // fix Array#{values, @@iterator}.name in V8 / FF | |
| 3820 | + if (DEF_VALUES && $native && $native.name !== VALUES) { | |
| 3821 | + VALUES_BUG = true; | |
| 3822 | + $default = function values() { return $native.call(this); }; | |
| 3823 | + } | |
| 3824 | + // Define iterator | |
| 3825 | + if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { | |
| 3826 | + hide(proto, ITERATOR, $default); | |
| 3827 | + } | |
| 3828 | + // Plug for library | |
| 3829 | + Iterators[NAME] = $default; | |
| 3830 | + Iterators[TAG] = returnThis; | |
| 3831 | + if (DEFAULT) { | |
| 3832 | + methods = { | |
| 3833 | + values: DEF_VALUES ? $default : getMethod(VALUES), | |
| 3834 | + keys: IS_SET ? $default : getMethod(KEYS), | |
| 3835 | + entries: $entries | |
| 3836 | + }; | |
| 3837 | + if (FORCED) for (key in methods) { | |
| 3838 | + if (!(key in proto)) redefine(proto, key, methods[key]); | |
| 3839 | + } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); | |
| 3840 | + } | |
| 3841 | + return methods; | |
| 3842 | +}; | |
| 1732 | 3843 | |
| 3844 | + | |
| 1733 | 3845 | /***/ }), |
| 3846 | +/* 109 */ | |
| 3847 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1734 | 3848 | |
| 1735 | -/***/ "../modules/web-cli/assets/js/utils/deprecation.js": | |
| 1736 | -/*!*********************************************************!*\ | |
| 1737 | - !*** ../modules/web-cli/assets/js/utils/deprecation.js ***! | |
| 1738 | - \*********************************************************/ | |
| 1739 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 3849 | +var isObject = __webpack_require__(30); | |
| 3850 | +var document = __webpack_require__(17).document; | |
| 3851 | +// typeof document.createElement is 'object' in old IE | |
| 3852 | +var is = isObject(document) && isObject(document.createElement); | |
| 3853 | +module.exports = function (it) { | |
| 3854 | + return is ? document.createElement(it) : {}; | |
| 3855 | +}; | |
| 1740 | 3856 | |
| 3857 | + | |
| 3858 | +/***/ }), | |
| 3859 | +/* 110 */ | |
| 3860 | +/***/ (function(module, exports) { | |
| 3861 | + | |
| 3862 | +module.exports = false; | |
| 3863 | + | |
| 3864 | + | |
| 3865 | +/***/ }), | |
| 3866 | +/* 111 */ | |
| 3867 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3868 | + | |
| 3869 | +module.exports = __webpack_require__(177); | |
| 3870 | + | |
| 3871 | +/***/ }), | |
| 3872 | +/* 112 */ | |
| 3873 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3874 | + | |
| 3875 | +var classof = __webpack_require__(101); | |
| 3876 | +var ITERATOR = __webpack_require__(10)('iterator'); | |
| 3877 | +var Iterators = __webpack_require__(35); | |
| 3878 | +module.exports = __webpack_require__(6).getIteratorMethod = function (it) { | |
| 3879 | + if (it != undefined) return it[ITERATOR] | |
| 3880 | + || it['@@iterator'] | |
| 3881 | + || Iterators[classof(it)]; | |
| 3882 | +}; | |
| 3883 | + | |
| 3884 | + | |
| 3885 | +/***/ }), | |
| 3886 | +/* 113 */ | |
| 3887 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3888 | + | |
| 3889 | +// getting tag from 19.1.3.6 Object.prototype.toString() | |
| 3890 | +var cof = __webpack_require__(46); | |
| 3891 | +var TAG = __webpack_require__(12)('toStringTag'); | |
| 3892 | +// ES3 wrong here | |
| 3893 | +var ARG = cof(function () { return arguments; }()) == 'Arguments'; | |
| 3894 | + | |
| 3895 | +// fallback for IE11 Script Access Denied error | |
| 3896 | +var tryGet = function (it, key) { | |
| 3897 | + try { | |
| 3898 | + return it[key]; | |
| 3899 | + } catch (e) { /* empty */ } | |
| 3900 | +}; | |
| 3901 | + | |
| 3902 | +module.exports = function (it) { | |
| 3903 | + var O, T, B; | |
| 3904 | + return it === undefined ? 'Undefined' : it === null ? 'Null' | |
| 3905 | + // @@toStringTag case | |
| 3906 | + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T | |
| 3907 | + // builtinTag case | |
| 3908 | + : ARG ? cof(O) | |
| 3909 | + // ES3 arguments fallback | |
| 3910 | + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; | |
| 3911 | +}; | |
| 3912 | + | |
| 3913 | + | |
| 3914 | +/***/ }), | |
| 3915 | +/* 114 */ | |
| 3916 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3917 | + | |
| 3918 | +module.exports = !__webpack_require__(14) && !__webpack_require__(22)(function () { | |
| 3919 | + return Object.defineProperty(__webpack_require__(92)('div'), 'a', { get: function () { return 7; } }).a != 7; | |
| 3920 | +}); | |
| 3921 | + | |
| 3922 | + | |
| 3923 | +/***/ }), | |
| 3924 | +/* 115 */ | |
| 3925 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3926 | + | |
| 3927 | +module.exports = __webpack_require__(161); | |
| 3928 | + | |
| 3929 | +/***/ }), | |
| 3930 | +/* 116 */ | |
| 3931 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3932 | + | |
| 3933 | +var has = __webpack_require__(19); | |
| 3934 | +var toIObject = __webpack_require__(20); | |
| 3935 | +var arrayIndexOf = __webpack_require__(166)(false); | |
| 3936 | +var IE_PROTO = __webpack_require__(75)('IE_PROTO'); | |
| 3937 | + | |
| 3938 | +module.exports = function (object, names) { | |
| 3939 | + var O = toIObject(object); | |
| 3940 | + var i = 0; | |
| 3941 | + var result = []; | |
| 3942 | + var key; | |
| 3943 | + for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); | |
| 3944 | + // Don't enum bug & hidden keys | |
| 3945 | + while (names.length > i) if (has(O, key = names[i++])) { | |
| 3946 | + ~arrayIndexOf(result, key) || result.push(key); | |
| 3947 | + } | |
| 3948 | + return result; | |
| 3949 | +}; | |
| 3950 | + | |
| 3951 | + | |
| 3952 | +/***/ }), | |
| 3953 | +/* 117 */ | |
| 3954 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3955 | + | |
| 1741 | 3956 | "use strict"; |
| 1742 | 3957 | |
| 3958 | +var addToUnscopables = __webpack_require__(84); | |
| 3959 | +var step = __webpack_require__(241); | |
| 3960 | +var Iterators = __webpack_require__(118); | |
| 3961 | +var toIObject = __webpack_require__(98); | |
| 1743 | 3962 | |
| 1744 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1745 | -Object.defineProperty(exports, "__esModule", ({ | |
| 1746 | - value: true | |
| 1747 | -})); | |
| 1748 | -exports["default"] = void 0; | |
| 1749 | -var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "../node_modules/@babel/runtime/helpers/slicedToArray.js")); | |
| 1750 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 1751 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 1752 | -var _console = _interopRequireDefault(__webpack_require__(/*! elementor-api/utils/console */ "../modules/web-cli/assets/js/utils/console.js")); | |
| 1753 | -// Copied from `modules/dev-tools/assets/js/deprecation.js` | |
| 1754 | -/** | |
| 1755 | - * @typedef {Object} Version | |
| 1756 | - * @property {number} major1 The first number | |
| 1757 | - * @property {number} major2 The second number | |
| 1758 | - * @property {number} minor The third number | |
| 1759 | - * @property {string} build The fourth number | |
| 1760 | - */ | |
| 3963 | +// 22.1.3.4 Array.prototype.entries() | |
| 3964 | +// 22.1.3.13 Array.prototype.keys() | |
| 3965 | +// 22.1.3.29 Array.prototype.values() | |
| 3966 | +// 22.1.3.30 Array.prototype[@@iterator]() | |
| 3967 | +module.exports = __webpack_require__(197)(Array, 'Array', function (iterated, kind) { | |
| 3968 | + this._t = toIObject(iterated); // target | |
| 3969 | + this._i = 0; // next index | |
| 3970 | + this._k = kind; // kind | |
| 3971 | +// 22.1.5.2.1 %ArrayIteratorPrototype%.next() | |
| 3972 | +}, function () { | |
| 3973 | + var O = this._t; | |
| 3974 | + var kind = this._k; | |
| 3975 | + var index = this._i++; | |
| 3976 | + if (!O || index >= O.length) { | |
| 3977 | + this._t = undefined; | |
| 3978 | + return step(1); | |
| 3979 | + } | |
| 3980 | + if (kind == 'keys') return step(0, index); | |
| 3981 | + if (kind == 'values') return step(0, O[index]); | |
| 3982 | + return step(0, [index, O[index]]); | |
| 3983 | +}, 'values'); | |
| 1761 | 3984 | |
| 1762 | -var softDeprecated = function softDeprecated(name, version, replacement) { | |
| 1763 | - if (elementorWebCliConfig.isDebug) { | |
| 1764 | - deprecatedMessage('soft', name, version, replacement); | |
| 3985 | +// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) | |
| 3986 | +Iterators.Arguments = Iterators.Array; | |
| 3987 | + | |
| 3988 | +addToUnscopables('keys'); | |
| 3989 | +addToUnscopables('values'); | |
| 3990 | +addToUnscopables('entries'); | |
| 3991 | + | |
| 3992 | + | |
| 3993 | +/***/ }), | |
| 3994 | +/* 118 */ | |
| 3995 | +/***/ (function(module, exports) { | |
| 3996 | + | |
| 3997 | +module.exports = {}; | |
| 3998 | + | |
| 3999 | + | |
| 4000 | +/***/ }), | |
| 4001 | +/* 119 */, | |
| 4002 | +/* 120 */ | |
| 4003 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4004 | + | |
| 4005 | +// fallback for non-array-like ES3 and non-enumerable old V8 strings | |
| 4006 | +var cof = __webpack_require__(46); | |
| 4007 | +// eslint-disable-next-line no-prototype-builtins | |
| 4008 | +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { | |
| 4009 | + return cof(it) == 'String' ? it.split('') : Object(it); | |
| 4010 | +}; | |
| 4011 | + | |
| 4012 | + | |
| 4013 | +/***/ }), | |
| 4014 | +/* 121 */ | |
| 4015 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4016 | + | |
| 4017 | +var isObject = __webpack_require__(9); | |
| 4018 | +module.exports = function (it, TYPE) { | |
| 4019 | + if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!'); | |
| 4020 | + return it; | |
| 4021 | +}; | |
| 4022 | + | |
| 4023 | + | |
| 4024 | +/***/ }), | |
| 4025 | +/* 122 */ | |
| 4026 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4027 | + | |
| 4028 | +// 7.2.8 IsRegExp(argument) | |
| 4029 | +var isObject = __webpack_require__(30); | |
| 4030 | +var cof = __webpack_require__(46); | |
| 4031 | +var MATCH = __webpack_require__(12)('match'); | |
| 4032 | +module.exports = function (it) { | |
| 4033 | + var isRegExp; | |
| 4034 | + return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp'); | |
| 4035 | +}; | |
| 4036 | + | |
| 4037 | + | |
| 4038 | +/***/ }), | |
| 4039 | +/* 123 */ | |
| 4040 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4041 | + | |
| 4042 | +// 7.1.1 ToPrimitive(input [, PreferredType]) | |
| 4043 | +var isObject = __webpack_require__(30); | |
| 4044 | +// instead of the ES6 spec version, we didn't implement @@toPrimitive case | |
| 4045 | +// and the second argument - flag - preferred type is a string | |
| 4046 | +module.exports = function (it, S) { | |
| 4047 | + if (!isObject(it)) return it; | |
| 4048 | + var fn, val; | |
| 4049 | + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 4050 | + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 4051 | + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 4052 | + throw TypeError("Can't convert object to primitive value"); | |
| 4053 | +}; | |
| 4054 | + | |
| 4055 | + | |
| 4056 | +/***/ }), | |
| 4057 | +/* 124 */ | |
| 4058 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4059 | + | |
| 4060 | +module.exports = __webpack_require__(191); | |
| 4061 | + | |
| 4062 | +/***/ }), | |
| 4063 | +/* 125 */ | |
| 4064 | +/***/ (function(module, exports) { | |
| 4065 | + | |
| 4066 | +module.exports = function (it, Constructor, name, forbiddenField) { | |
| 4067 | + if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) { | |
| 4068 | + throw TypeError(name + ': incorrect invocation!'); | |
| 4069 | + } return it; | |
| 4070 | +}; | |
| 4071 | + | |
| 4072 | + | |
| 4073 | +/***/ }), | |
| 4074 | +/* 126 */ | |
| 4075 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4076 | + | |
| 4077 | +var hide = __webpack_require__(24); | |
| 4078 | +module.exports = function (target, src, safe) { | |
| 4079 | + for (var key in src) { | |
| 4080 | + if (safe && target[key]) target[key] = src[key]; | |
| 4081 | + else hide(target, key, src[key]); | |
| 4082 | + } return target; | |
| 4083 | +}; | |
| 4084 | + | |
| 4085 | + | |
| 4086 | +/***/ }), | |
| 4087 | +/* 127 */, | |
| 4088 | +/* 128 */, | |
| 4089 | +/* 129 */ | |
| 4090 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4091 | + | |
| 4092 | +module.exports = !__webpack_require__(27) && !__webpack_require__(33)(function () { | |
| 4093 | + return Object.defineProperty(__webpack_require__(109)('div'), 'a', { get: function () { return 7; } }).a != 7; | |
| 4094 | +}); | |
| 4095 | + | |
| 4096 | + | |
| 4097 | +/***/ }), | |
| 4098 | +/* 130 */ | |
| 4099 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4100 | + | |
| 4101 | +var shared = __webpack_require__(66)('keys'); | |
| 4102 | +var uid = __webpack_require__(67); | |
| 4103 | +module.exports = function (key) { | |
| 4104 | + return shared[key] || (shared[key] = uid(key)); | |
| 4105 | +}; | |
| 4106 | + | |
| 4107 | + | |
| 4108 | +/***/ }), | |
| 4109 | +/* 131 */ | |
| 4110 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4111 | + | |
| 4112 | +var document = __webpack_require__(8).document; | |
| 4113 | +module.exports = document && document.documentElement; | |
| 4114 | + | |
| 4115 | + | |
| 4116 | +/***/ }), | |
| 4117 | +/* 132 */ | |
| 4118 | +/***/ (function(module, exports) { | |
| 4119 | + | |
| 4120 | +// fast apply, http://jsperf.lnkit.com/fast-apply/5 | |
| 4121 | +module.exports = function (fn, args, that) { | |
| 4122 | + var un = that === undefined; | |
| 4123 | + switch (args.length) { | |
| 4124 | + case 0: return un ? fn() | |
| 4125 | + : fn.call(that); | |
| 4126 | + case 1: return un ? fn(args[0]) | |
| 4127 | + : fn.call(that, args[0]); | |
| 4128 | + case 2: return un ? fn(args[0], args[1]) | |
| 4129 | + : fn.call(that, args[0], args[1]); | |
| 4130 | + case 3: return un ? fn(args[0], args[1], args[2]) | |
| 4131 | + : fn.call(that, args[0], args[1], args[2]); | |
| 4132 | + case 4: return un ? fn(args[0], args[1], args[2], args[3]) | |
| 4133 | + : fn.call(that, args[0], args[1], args[2], args[3]); | |
| 4134 | + } return fn.apply(that, args); | |
| 4135 | +}; | |
| 4136 | + | |
| 4137 | + | |
| 4138 | +/***/ }), | |
| 4139 | +/* 133 */ | |
| 4140 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4141 | + | |
| 4142 | +module.exports = __webpack_require__(257); | |
| 4143 | + | |
| 4144 | +/***/ }), | |
| 4145 | +/* 134 */, | |
| 4146 | +/* 135 */ | |
| 4147 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4148 | + | |
| 4149 | +var dP = __webpack_require__(15); | |
| 4150 | +var anObject = __webpack_require__(13); | |
| 4151 | +var getKeys = __webpack_require__(40); | |
| 4152 | + | |
| 4153 | +module.exports = __webpack_require__(14) ? Object.defineProperties : function defineProperties(O, Properties) { | |
| 4154 | + anObject(O); | |
| 4155 | + var keys = getKeys(Properties); | |
| 4156 | + var length = keys.length; | |
| 4157 | + var i = 0; | |
| 4158 | + var P; | |
| 4159 | + while (length > i) dP.f(O, P = keys[i++], Properties[P]); | |
| 4160 | + return O; | |
| 4161 | +}; | |
| 4162 | + | |
| 4163 | + | |
| 4164 | +/***/ }), | |
| 4165 | +/* 136 */ | |
| 4166 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4167 | + | |
| 4168 | +var _Object$setPrototypeOf = __webpack_require__(115); | |
| 4169 | + | |
| 4170 | +function _setPrototypeOf(o, p) { | |
| 4171 | + module.exports = _setPrototypeOf = _Object$setPrototypeOf || function _setPrototypeOf(o, p) { | |
| 4172 | + o.__proto__ = p; | |
| 4173 | + return o; | |
| 4174 | + }; | |
| 4175 | + | |
| 4176 | + return _setPrototypeOf(o, p); | |
| 4177 | +} | |
| 4178 | + | |
| 4179 | +module.exports = _setPrototypeOf; | |
| 4180 | + | |
| 4181 | +/***/ }), | |
| 4182 | +/* 137 */ | |
| 4183 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4184 | + | |
| 4185 | +// 0 -> Array#forEach | |
| 4186 | +// 1 -> Array#map | |
| 4187 | +// 2 -> Array#filter | |
| 4188 | +// 3 -> Array#some | |
| 4189 | +// 4 -> Array#every | |
| 4190 | +// 5 -> Array#find | |
| 4191 | +// 6 -> Array#findIndex | |
| 4192 | +var ctx = __webpack_require__(31); | |
| 4193 | +var IObject = __webpack_require__(103); | |
| 4194 | +var toObject = __webpack_require__(32); | |
| 4195 | +var toLength = __webpack_require__(68); | |
| 4196 | +var asc = __webpack_require__(245); | |
| 4197 | +module.exports = function (TYPE, $create) { | |
| 4198 | + var IS_MAP = TYPE == 1; | |
| 4199 | + var IS_FILTER = TYPE == 2; | |
| 4200 | + var IS_SOME = TYPE == 3; | |
| 4201 | + var IS_EVERY = TYPE == 4; | |
| 4202 | + var IS_FIND_INDEX = TYPE == 6; | |
| 4203 | + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; | |
| 4204 | + var create = $create || asc; | |
| 4205 | + return function ($this, callbackfn, that) { | |
| 4206 | + var O = toObject($this); | |
| 4207 | + var self = IObject(O); | |
| 4208 | + var f = ctx(callbackfn, that, 3); | |
| 4209 | + var length = toLength(self.length); | |
| 4210 | + var index = 0; | |
| 4211 | + var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; | |
| 4212 | + var val, res; | |
| 4213 | + for (;length > index; index++) if (NO_HOLES || index in self) { | |
| 4214 | + val = self[index]; | |
| 4215 | + res = f(val, index, O); | |
| 4216 | + if (TYPE) { | |
| 4217 | + if (IS_MAP) result[index] = res; // map | |
| 4218 | + else if (res) switch (TYPE) { | |
| 4219 | + case 3: return true; // some | |
| 4220 | + case 5: return val; // find | |
| 4221 | + case 6: return index; // findIndex | |
| 4222 | + case 2: result.push(val); // filter | |
| 4223 | + } else if (IS_EVERY) return false; // every | |
| 4224 | + } | |
| 4225 | + } | |
| 4226 | + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; | |
| 4227 | + }; | |
| 4228 | +}; | |
| 4229 | + | |
| 4230 | + | |
| 4231 | +/***/ }), | |
| 4232 | +/* 138 */ | |
| 4233 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4234 | + | |
| 4235 | +module.exports = __webpack_require__(164); | |
| 4236 | + | |
| 4237 | +/***/ }), | |
| 4238 | +/* 139 */ | |
| 4239 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4240 | + | |
| 4241 | +"use strict"; | |
| 4242 | + | |
| 4243 | +// ECMAScript 6 symbols shim | |
| 4244 | +var global = __webpack_require__(8); | |
| 4245 | +var has = __webpack_require__(19); | |
| 4246 | +var DESCRIPTORS = __webpack_require__(14); | |
| 4247 | +var $export = __webpack_require__(7); | |
| 4248 | +var redefine = __webpack_require__(93); | |
| 4249 | +var META = __webpack_require__(70).KEY; | |
| 4250 | +var $fails = __webpack_require__(22); | |
| 4251 | +var shared = __webpack_require__(76); | |
| 4252 | +var setToStringTag = __webpack_require__(53); | |
| 4253 | +var uid = __webpack_require__(59); | |
| 4254 | +var wks = __webpack_require__(10); | |
| 4255 | +var wksExt = __webpack_require__(63); | |
| 4256 | +var wksDefine = __webpack_require__(79); | |
| 4257 | +var enumKeys = __webpack_require__(178); | |
| 4258 | +var isArray = __webpack_require__(97); | |
| 4259 | +var anObject = __webpack_require__(13); | |
| 4260 | +var isObject = __webpack_require__(9); | |
| 4261 | +var toObject = __webpack_require__(32); | |
| 4262 | +var toIObject = __webpack_require__(20); | |
| 4263 | +var toPrimitive = __webpack_require__(74); | |
| 4264 | +var createDesc = __webpack_require__(44); | |
| 4265 | +var _create = __webpack_require__(52); | |
| 4266 | +var gOPNExt = __webpack_require__(179); | |
| 4267 | +var $GOPD = __webpack_require__(51); | |
| 4268 | +var $GOPS = __webpack_require__(71); | |
| 4269 | +var $DP = __webpack_require__(15); | |
| 4270 | +var $keys = __webpack_require__(40); | |
| 4271 | +var gOPD = $GOPD.f; | |
| 4272 | +var dP = $DP.f; | |
| 4273 | +var gOPN = gOPNExt.f; | |
| 4274 | +var $Symbol = global.Symbol; | |
| 4275 | +var $JSON = global.JSON; | |
| 4276 | +var _stringify = $JSON && $JSON.stringify; | |
| 4277 | +var PROTOTYPE = 'prototype'; | |
| 4278 | +var HIDDEN = wks('_hidden'); | |
| 4279 | +var TO_PRIMITIVE = wks('toPrimitive'); | |
| 4280 | +var isEnum = {}.propertyIsEnumerable; | |
| 4281 | +var SymbolRegistry = shared('symbol-registry'); | |
| 4282 | +var AllSymbols = shared('symbols'); | |
| 4283 | +var OPSymbols = shared('op-symbols'); | |
| 4284 | +var ObjectProto = Object[PROTOTYPE]; | |
| 4285 | +var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f; | |
| 4286 | +var QObject = global.QObject; | |
| 4287 | +// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 | |
| 4288 | +var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; | |
| 4289 | + | |
| 4290 | +// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 | |
| 4291 | +var setSymbolDesc = DESCRIPTORS && $fails(function () { | |
| 4292 | + return _create(dP({}, 'a', { | |
| 4293 | + get: function () { return dP(this, 'a', { value: 7 }).a; } | |
| 4294 | + })).a != 7; | |
| 4295 | +}) ? function (it, key, D) { | |
| 4296 | + var protoDesc = gOPD(ObjectProto, key); | |
| 4297 | + if (protoDesc) delete ObjectProto[key]; | |
| 4298 | + dP(it, key, D); | |
| 4299 | + if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc); | |
| 4300 | +} : dP; | |
| 4301 | + | |
| 4302 | +var wrap = function (tag) { | |
| 4303 | + var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]); | |
| 4304 | + sym._k = tag; | |
| 4305 | + return sym; | |
| 4306 | +}; | |
| 4307 | + | |
| 4308 | +var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) { | |
| 4309 | + return typeof it == 'symbol'; | |
| 4310 | +} : function (it) { | |
| 4311 | + return it instanceof $Symbol; | |
| 4312 | +}; | |
| 4313 | + | |
| 4314 | +var $defineProperty = function defineProperty(it, key, D) { | |
| 4315 | + if (it === ObjectProto) $defineProperty(OPSymbols, key, D); | |
| 4316 | + anObject(it); | |
| 4317 | + key = toPrimitive(key, true); | |
| 4318 | + anObject(D); | |
| 4319 | + if (has(AllSymbols, key)) { | |
| 4320 | + if (!D.enumerable) { | |
| 4321 | + if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {})); | |
| 4322 | + it[HIDDEN][key] = true; | |
| 4323 | + } else { | |
| 4324 | + if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false; | |
| 4325 | + D = _create(D, { enumerable: createDesc(0, false) }); | |
| 4326 | + } return setSymbolDesc(it, key, D); | |
| 4327 | + } return dP(it, key, D); | |
| 4328 | +}; | |
| 4329 | +var $defineProperties = function defineProperties(it, P) { | |
| 4330 | + anObject(it); | |
| 4331 | + var keys = enumKeys(P = toIObject(P)); | |
| 4332 | + var i = 0; | |
| 4333 | + var l = keys.length; | |
| 4334 | + var key; | |
| 4335 | + while (l > i) $defineProperty(it, key = keys[i++], P[key]); | |
| 4336 | + return it; | |
| 4337 | +}; | |
| 4338 | +var $create = function create(it, P) { | |
| 4339 | + return P === undefined ? _create(it) : $defineProperties(_create(it), P); | |
| 4340 | +}; | |
| 4341 | +var $propertyIsEnumerable = function propertyIsEnumerable(key) { | |
| 4342 | + var E = isEnum.call(this, key = toPrimitive(key, true)); | |
| 4343 | + if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false; | |
| 4344 | + return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true; | |
| 4345 | +}; | |
| 4346 | +var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { | |
| 4347 | + it = toIObject(it); | |
| 4348 | + key = toPrimitive(key, true); | |
| 4349 | + if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return; | |
| 4350 | + var D = gOPD(it, key); | |
| 4351 | + if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true; | |
| 4352 | + return D; | |
| 4353 | +}; | |
| 4354 | +var $getOwnPropertyNames = function getOwnPropertyNames(it) { | |
| 4355 | + var names = gOPN(toIObject(it)); | |
| 4356 | + var result = []; | |
| 4357 | + var i = 0; | |
| 4358 | + var key; | |
| 4359 | + while (names.length > i) { | |
| 4360 | + if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key); | |
| 4361 | + } return result; | |
| 4362 | +}; | |
| 4363 | +var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { | |
| 4364 | + var IS_OP = it === ObjectProto; | |
| 4365 | + var names = gOPN(IS_OP ? OPSymbols : toIObject(it)); | |
| 4366 | + var result = []; | |
| 4367 | + var i = 0; | |
| 4368 | + var key; | |
| 4369 | + while (names.length > i) { | |
| 4370 | + if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]); | |
| 4371 | + } return result; | |
| 4372 | +}; | |
| 4373 | + | |
| 4374 | +// 19.4.1.1 Symbol([description]) | |
| 4375 | +if (!USE_NATIVE) { | |
| 4376 | + $Symbol = function Symbol() { | |
| 4377 | + if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!'); | |
| 4378 | + var tag = uid(arguments.length > 0 ? arguments[0] : undefined); | |
| 4379 | + var $set = function (value) { | |
| 4380 | + if (this === ObjectProto) $set.call(OPSymbols, value); | |
| 4381 | + if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; | |
| 4382 | + setSymbolDesc(this, tag, createDesc(1, value)); | |
| 4383 | + }; | |
| 4384 | + if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set }); | |
| 4385 | + return wrap(tag); | |
| 4386 | + }; | |
| 4387 | + redefine($Symbol[PROTOTYPE], 'toString', function toString() { | |
| 4388 | + return this._k; | |
| 4389 | + }); | |
| 4390 | + | |
| 4391 | + $GOPD.f = $getOwnPropertyDescriptor; | |
| 4392 | + $DP.f = $defineProperty; | |
| 4393 | + __webpack_require__(99).f = gOPNExt.f = $getOwnPropertyNames; | |
| 4394 | + __webpack_require__(50).f = $propertyIsEnumerable; | |
| 4395 | + $GOPS.f = $getOwnPropertySymbols; | |
| 4396 | + | |
| 4397 | + if (DESCRIPTORS && !__webpack_require__(47)) { | |
| 4398 | + redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true); | |
| 1765 | 4399 | } |
| 4400 | + | |
| 4401 | + wksExt.f = function (name) { | |
| 4402 | + return wrap(wks(name)); | |
| 4403 | + }; | |
| 4404 | +} | |
| 4405 | + | |
| 4406 | +$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol }); | |
| 4407 | + | |
| 4408 | +for (var es6Symbols = ( | |
| 4409 | + // 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 | |
| 4410 | + 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables' | |
| 4411 | +).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]); | |
| 4412 | + | |
| 4413 | +for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]); | |
| 4414 | + | |
| 4415 | +$export($export.S + $export.F * !USE_NATIVE, 'Symbol', { | |
| 4416 | + // 19.4.2.1 Symbol.for(key) | |
| 4417 | + 'for': function (key) { | |
| 4418 | + return has(SymbolRegistry, key += '') | |
| 4419 | + ? SymbolRegistry[key] | |
| 4420 | + : SymbolRegistry[key] = $Symbol(key); | |
| 4421 | + }, | |
| 4422 | + // 19.4.2.5 Symbol.keyFor(sym) | |
| 4423 | + keyFor: function keyFor(sym) { | |
| 4424 | + if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!'); | |
| 4425 | + for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; | |
| 4426 | + }, | |
| 4427 | + useSetter: function () { setter = true; }, | |
| 4428 | + useSimple: function () { setter = false; } | |
| 4429 | +}); | |
| 4430 | + | |
| 4431 | +$export($export.S + $export.F * !USE_NATIVE, 'Object', { | |
| 4432 | + // 19.1.2.2 Object.create(O [, Properties]) | |
| 4433 | + create: $create, | |
| 4434 | + // 19.1.2.4 Object.defineProperty(O, P, Attributes) | |
| 4435 | + defineProperty: $defineProperty, | |
| 4436 | + // 19.1.2.3 Object.defineProperties(O, Properties) | |
| 4437 | + defineProperties: $defineProperties, | |
| 4438 | + // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) | |
| 4439 | + getOwnPropertyDescriptor: $getOwnPropertyDescriptor, | |
| 4440 | + // 19.1.2.7 Object.getOwnPropertyNames(O) | |
| 4441 | + getOwnPropertyNames: $getOwnPropertyNames, | |
| 4442 | + // 19.1.2.8 Object.getOwnPropertySymbols(O) | |
| 4443 | + getOwnPropertySymbols: $getOwnPropertySymbols | |
| 4444 | +}); | |
| 4445 | + | |
| 4446 | +// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives | |
| 4447 | +// https://bugs.chromium.org/p/v8/issues/detail?id=3443 | |
| 4448 | +var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); }); | |
| 4449 | + | |
| 4450 | +$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', { | |
| 4451 | + getOwnPropertySymbols: function getOwnPropertySymbols(it) { | |
| 4452 | + return $GOPS.f(toObject(it)); | |
| 4453 | + } | |
| 4454 | +}); | |
| 4455 | + | |
| 4456 | +// 24.3.2 JSON.stringify(value [, replacer [, space]]) | |
| 4457 | +$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () { | |
| 4458 | + var S = $Symbol(); | |
| 4459 | + // MS Edge converts symbol values to JSON as {} | |
| 4460 | + // WebKit converts symbol values to JSON as null | |
| 4461 | + // V8 throws on boxed symbols | |
| 4462 | + return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}'; | |
| 4463 | +})), 'JSON', { | |
| 4464 | + stringify: function stringify(it) { | |
| 4465 | + var args = [it]; | |
| 4466 | + var i = 1; | |
| 4467 | + var replacer, $replacer; | |
| 4468 | + while (arguments.length > i) args.push(arguments[i++]); | |
| 4469 | + $replacer = replacer = args[1]; | |
| 4470 | + if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined | |
| 4471 | + if (!isArray(replacer)) replacer = function (key, value) { | |
| 4472 | + if (typeof $replacer == 'function') value = $replacer.call(this, key, value); | |
| 4473 | + if (!isSymbol(value)) return value; | |
| 4474 | + }; | |
| 4475 | + args[1] = replacer; | |
| 4476 | + return _stringify.apply($JSON, args); | |
| 4477 | + } | |
| 4478 | +}); | |
| 4479 | + | |
| 4480 | +// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint) | |
| 4481 | +$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(24)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); | |
| 4482 | +// 19.4.3.5 Symbol.prototype[@@toStringTag] | |
| 4483 | +setToStringTag($Symbol, 'Symbol'); | |
| 4484 | +// 20.2.1.9 Math[@@toStringTag] | |
| 4485 | +setToStringTag(Math, 'Math', true); | |
| 4486 | +// 24.3.3 JSON[@@toStringTag] | |
| 4487 | +setToStringTag(global.JSON, 'JSON', true); | |
| 4488 | + | |
| 4489 | + | |
| 4490 | +/***/ }), | |
| 4491 | +/* 140 */ | |
| 4492 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4493 | + | |
| 4494 | +// call something on iterator step with safe closing on error | |
| 4495 | +var anObject = __webpack_require__(13); | |
| 4496 | +module.exports = function (iterator, fn, value, entries) { | |
| 4497 | + try { | |
| 4498 | + return entries ? fn(anObject(value)[0], value[1]) : fn(value); | |
| 4499 | + // 7.4.6 IteratorClose(iterator, completion) | |
| 4500 | + } catch (e) { | |
| 4501 | + var ret = iterator['return']; | |
| 4502 | + if (ret !== undefined) anObject(ret.call(iterator)); | |
| 4503 | + throw e; | |
| 4504 | + } | |
| 1766 | 4505 | }; |
| 1767 | -var hardDeprecated = function hardDeprecated(name, version, replacement) { | |
| 1768 | - deprecatedMessage('hard', name, version, replacement); | |
| 4506 | + | |
| 4507 | + | |
| 4508 | +/***/ }), | |
| 4509 | +/* 141 */ | |
| 4510 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4511 | + | |
| 4512 | +// check on default Array iterator | |
| 4513 | +var Iterators = __webpack_require__(35); | |
| 4514 | +var ITERATOR = __webpack_require__(10)('iterator'); | |
| 4515 | +var ArrayProto = Array.prototype; | |
| 4516 | + | |
| 4517 | +module.exports = function (it) { | |
| 4518 | + return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); | |
| 1769 | 4519 | }; |
| 1770 | -var deprecatedMessage = function deprecatedMessage(type, name, version, replacement) { | |
| 1771 | - var message = "`".concat(name, "` is ").concat(type, " deprecated since ").concat(version); | |
| 1772 | - if (replacement) { | |
| 1773 | - message += " - Use `".concat(replacement, "` instead"); | |
| 4520 | + | |
| 4521 | + | |
| 4522 | +/***/ }), | |
| 4523 | +/* 142 */ | |
| 4524 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4525 | + | |
| 4526 | +// false -> Array#indexOf | |
| 4527 | +// true -> Array#includes | |
| 4528 | +var toIObject = __webpack_require__(98); | |
| 4529 | +var toLength = __webpack_require__(43); | |
| 4530 | +var toAbsoluteIndex = __webpack_require__(198); | |
| 4531 | +module.exports = function (IS_INCLUDES) { | |
| 4532 | + return function ($this, el, fromIndex) { | |
| 4533 | + var O = toIObject($this); | |
| 4534 | + var length = toLength(O.length); | |
| 4535 | + var index = toAbsoluteIndex(fromIndex, length); | |
| 4536 | + var value; | |
| 4537 | + // Array#includes uses SameValueZero equality algorithm | |
| 4538 | + // eslint-disable-next-line no-self-compare | |
| 4539 | + if (IS_INCLUDES && el != el) while (length > index) { | |
| 4540 | + value = O[index++]; | |
| 4541 | + // eslint-disable-next-line no-self-compare | |
| 4542 | + if (value != value) return true; | |
| 4543 | + // Array#indexOf ignores holes, Array#includes - not | |
| 4544 | + } else for (;length > index; index++) if (IS_INCLUDES || index in O) { | |
| 4545 | + if (O[index] === el) return IS_INCLUDES || index || 0; | |
| 4546 | + } return !IS_INCLUDES && -1; | |
| 4547 | + }; | |
| 4548 | +}; | |
| 4549 | + | |
| 4550 | + | |
| 4551 | +/***/ }), | |
| 4552 | +/* 143 */ | |
| 4553 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4554 | + | |
| 4555 | +var toInteger = __webpack_require__(57); | |
| 4556 | +var defined = __webpack_require__(42); | |
| 4557 | +// true -> String#at | |
| 4558 | +// false -> String#codePointAt | |
| 4559 | +module.exports = function (TO_STRING) { | |
| 4560 | + return function (that, pos) { | |
| 4561 | + var s = String(defined(that)); | |
| 4562 | + var i = toInteger(pos); | |
| 4563 | + var l = s.length; | |
| 4564 | + var a, b; | |
| 4565 | + if (i < 0 || i >= l) return TO_STRING ? '' : undefined; | |
| 4566 | + a = s.charCodeAt(i); | |
| 4567 | + return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff | |
| 4568 | + ? TO_STRING ? s.charAt(i) : a | |
| 4569 | + : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; | |
| 4570 | + }; | |
| 4571 | +}; | |
| 4572 | + | |
| 4573 | + | |
| 4574 | +/***/ }), | |
| 4575 | +/* 144 */ | |
| 4576 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4577 | + | |
| 4578 | +module.exports = __webpack_require__(66)('native-function-to-string', Function.toString); | |
| 4579 | + | |
| 4580 | + | |
| 4581 | +/***/ }), | |
| 4582 | +/* 145 */ | |
| 4583 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4584 | + | |
| 4585 | +"use strict"; | |
| 4586 | + | |
| 4587 | +// 25.4.1.5 NewPromiseCapability(C) | |
| 4588 | +var aFunction = __webpack_require__(38); | |
| 4589 | + | |
| 4590 | +function PromiseCapability(C) { | |
| 4591 | + var resolve, reject; | |
| 4592 | + this.promise = new C(function ($$resolve, $$reject) { | |
| 4593 | + if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor'); | |
| 4594 | + resolve = $$resolve; | |
| 4595 | + reject = $$reject; | |
| 4596 | + }); | |
| 4597 | + this.resolve = aFunction(resolve); | |
| 4598 | + this.reject = aFunction(reject); | |
| 4599 | +} | |
| 4600 | + | |
| 4601 | +module.exports.f = function (C) { | |
| 4602 | + return new PromiseCapability(C); | |
| 4603 | +}; | |
| 4604 | + | |
| 4605 | + | |
| 4606 | +/***/ }), | |
| 4607 | +/* 146 */ | |
| 4608 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4609 | + | |
| 4610 | +var $iterators = __webpack_require__(117); | |
| 4611 | +var getKeys = __webpack_require__(184); | |
| 4612 | +var redefine = __webpack_require__(36); | |
| 4613 | +var global = __webpack_require__(17); | |
| 4614 | +var hide = __webpack_require__(29); | |
| 4615 | +var Iterators = __webpack_require__(118); | |
| 4616 | +var wks = __webpack_require__(12); | |
| 4617 | +var ITERATOR = wks('iterator'); | |
| 4618 | +var TO_STRING_TAG = wks('toStringTag'); | |
| 4619 | +var ArrayValues = Iterators.Array; | |
| 4620 | + | |
| 4621 | +var DOMIterables = { | |
| 4622 | + CSSRuleList: true, // TODO: Not spec compliant, should be false. | |
| 4623 | + CSSStyleDeclaration: false, | |
| 4624 | + CSSValueList: false, | |
| 4625 | + ClientRectList: false, | |
| 4626 | + DOMRectList: false, | |
| 4627 | + DOMStringList: false, | |
| 4628 | + DOMTokenList: true, | |
| 4629 | + DataTransferItemList: false, | |
| 4630 | + FileList: false, | |
| 4631 | + HTMLAllCollection: false, | |
| 4632 | + HTMLCollection: false, | |
| 4633 | + HTMLFormElement: false, | |
| 4634 | + HTMLSelectElement: false, | |
| 4635 | + MediaList: true, // TODO: Not spec compliant, should be false. | |
| 4636 | + MimeTypeArray: false, | |
| 4637 | + NamedNodeMap: false, | |
| 4638 | + NodeList: true, | |
| 4639 | + PaintRequestList: false, | |
| 4640 | + Plugin: false, | |
| 4641 | + PluginArray: false, | |
| 4642 | + SVGLengthList: false, | |
| 4643 | + SVGNumberList: false, | |
| 4644 | + SVGPathSegList: false, | |
| 4645 | + SVGPointList: false, | |
| 4646 | + SVGStringList: false, | |
| 4647 | + SVGTransformList: false, | |
| 4648 | + SourceBufferList: false, | |
| 4649 | + StyleSheetList: true, // TODO: Not spec compliant, should be false. | |
| 4650 | + TextTrackCueList: false, | |
| 4651 | + TextTrackList: false, | |
| 4652 | + TouchList: false | |
| 4653 | +}; | |
| 4654 | + | |
| 4655 | +for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) { | |
| 4656 | + var NAME = collections[i]; | |
| 4657 | + var explicit = DOMIterables[NAME]; | |
| 4658 | + var Collection = global[NAME]; | |
| 4659 | + var proto = Collection && Collection.prototype; | |
| 4660 | + var key; | |
| 4661 | + if (proto) { | |
| 4662 | + if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues); | |
| 4663 | + if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); | |
| 4664 | + Iterators[NAME] = ArrayValues; | |
| 4665 | + if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true); | |
| 1774 | 4666 | } |
| 1775 | - _console.default.warn(message); | |
| 4667 | +} | |
| 4668 | + | |
| 4669 | + | |
| 4670 | +/***/ }), | |
| 4671 | +/* 147 */ | |
| 4672 | +/***/ (function(module, exports) { | |
| 4673 | + | |
| 4674 | +// IE 8- don't enum bug keys | |
| 4675 | +module.exports = ( | |
| 4676 | + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' | |
| 4677 | +).split(','); | |
| 4678 | + | |
| 4679 | + | |
| 4680 | +/***/ }), | |
| 4681 | +/* 148 */ | |
| 4682 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4683 | + | |
| 4684 | +var _Reflect$construct = __webpack_require__(107); | |
| 4685 | + | |
| 4686 | +function _isNativeReflectConstruct() { | |
| 4687 | + if (typeof Reflect === "undefined" || !_Reflect$construct) return false; | |
| 4688 | + if (_Reflect$construct.sham) return false; | |
| 4689 | + if (typeof Proxy === "function") return true; | |
| 4690 | + | |
| 4691 | + try { | |
| 4692 | + Date.prototype.toString.call(_Reflect$construct(Date, [], function () {})); | |
| 4693 | + return true; | |
| 4694 | + } catch (e) { | |
| 4695 | + return false; | |
| 4696 | + } | |
| 4697 | +} | |
| 4698 | + | |
| 4699 | +module.exports = _isNativeReflectConstruct; | |
| 4700 | + | |
| 4701 | +/***/ }), | |
| 4702 | +/* 149 */ | |
| 4703 | +/***/ (function(module, exports) { | |
| 4704 | + | |
| 4705 | +module.exports = function (done, value) { | |
| 4706 | + return { value: value, done: !!done }; | |
| 1776 | 4707 | }; |
| 1777 | -var Deprecation = exports["default"] = /*#__PURE__*/function () { | |
| 1778 | - function Deprecation() { | |
| 1779 | - (0, _classCallCheck2.default)(this, Deprecation); | |
| 4708 | + | |
| 4709 | + | |
| 4710 | +/***/ }), | |
| 4711 | +/* 150 */, | |
| 4712 | +/* 151 */ | |
| 4713 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4714 | + | |
| 4715 | +module.exports = __webpack_require__(172); | |
| 4716 | + | |
| 4717 | +/***/ }), | |
| 4718 | +/* 152 */ | |
| 4719 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4720 | + | |
| 4721 | +var ITERATOR = __webpack_require__(10)('iterator'); | |
| 4722 | +var SAFE_CLOSING = false; | |
| 4723 | + | |
| 4724 | +try { | |
| 4725 | + var riter = [7][ITERATOR](); | |
| 4726 | + riter['return'] = function () { SAFE_CLOSING = true; }; | |
| 4727 | + // eslint-disable-next-line no-throw-literal | |
| 4728 | + Array.from(riter, function () { throw 2; }); | |
| 4729 | +} catch (e) { /* empty */ } | |
| 4730 | + | |
| 4731 | +module.exports = function (exec, skipClosing) { | |
| 4732 | + if (!skipClosing && !SAFE_CLOSING) return false; | |
| 4733 | + var safe = false; | |
| 4734 | + try { | |
| 4735 | + var arr = [7]; | |
| 4736 | + var iter = arr[ITERATOR](); | |
| 4737 | + iter.next = function () { return { done: safe = true }; }; | |
| 4738 | + arr[ITERATOR] = function () { return iter; }; | |
| 4739 | + exec(arr); | |
| 4740 | + } catch (e) { /* empty */ } | |
| 4741 | + return safe; | |
| 4742 | +}; | |
| 4743 | + | |
| 4744 | + | |
| 4745 | +/***/ }), | |
| 4746 | +/* 153 */ | |
| 4747 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4748 | + | |
| 4749 | +var def = __webpack_require__(45).f; | |
| 4750 | +var has = __webpack_require__(61); | |
| 4751 | +var TAG = __webpack_require__(12)('toStringTag'); | |
| 4752 | + | |
| 4753 | +module.exports = function (it, tag, stat) { | |
| 4754 | + if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); | |
| 4755 | +}; | |
| 4756 | + | |
| 4757 | + | |
| 4758 | +/***/ }), | |
| 4759 | +/* 154 */ | |
| 4760 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4761 | + | |
| 4762 | +// 7.3.20 SpeciesConstructor(O, defaultConstructor) | |
| 4763 | +var anObject = __webpack_require__(18); | |
| 4764 | +var aFunction = __webpack_require__(91); | |
| 4765 | +var SPECIES = __webpack_require__(12)('species'); | |
| 4766 | +module.exports = function (O, D) { | |
| 4767 | + var C = anObject(O).constructor; | |
| 4768 | + var S; | |
| 4769 | + return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); | |
| 4770 | +}; | |
| 4771 | + | |
| 4772 | + | |
| 4773 | +/***/ }), | |
| 4774 | +/* 155 */, | |
| 4775 | +/* 156 */ | |
| 4776 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4777 | + | |
| 4778 | +__webpack_require__(157); | |
| 4779 | +var $Object = __webpack_require__(6).Object; | |
| 4780 | +module.exports = function defineProperty(it, key, desc) { | |
| 4781 | + return $Object.defineProperty(it, key, desc); | |
| 4782 | +}; | |
| 4783 | + | |
| 4784 | + | |
| 4785 | +/***/ }), | |
| 4786 | +/* 157 */ | |
| 4787 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4788 | + | |
| 4789 | +var $export = __webpack_require__(7); | |
| 4790 | +// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) | |
| 4791 | +$export($export.S + $export.F * !__webpack_require__(14), 'Object', { defineProperty: __webpack_require__(15).f }); | |
| 4792 | + | |
| 4793 | + | |
| 4794 | +/***/ }), | |
| 4795 | +/* 158 */ | |
| 4796 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4797 | + | |
| 4798 | +module.exports = __webpack_require__(159); | |
| 4799 | + | |
| 4800 | +/***/ }), | |
| 4801 | +/* 159 */ | |
| 4802 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4803 | + | |
| 4804 | +__webpack_require__(160); | |
| 4805 | +module.exports = __webpack_require__(6).Object.getPrototypeOf; | |
| 4806 | + | |
| 4807 | + | |
| 4808 | +/***/ }), | |
| 4809 | +/* 160 */ | |
| 4810 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4811 | + | |
| 4812 | +// 19.1.2.9 Object.getPrototypeOf(O) | |
| 4813 | +var toObject = __webpack_require__(32); | |
| 4814 | +var $getPrototypeOf = __webpack_require__(64); | |
| 4815 | + | |
| 4816 | +__webpack_require__(83)('getPrototypeOf', function () { | |
| 4817 | + return function getPrototypeOf(it) { | |
| 4818 | + return $getPrototypeOf(toObject(it)); | |
| 4819 | + }; | |
| 4820 | +}); | |
| 4821 | + | |
| 4822 | + | |
| 4823 | +/***/ }), | |
| 4824 | +/* 161 */ | |
| 4825 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4826 | + | |
| 4827 | +__webpack_require__(162); | |
| 4828 | +module.exports = __webpack_require__(6).Object.setPrototypeOf; | |
| 4829 | + | |
| 4830 | + | |
| 4831 | +/***/ }), | |
| 4832 | +/* 162 */ | |
| 4833 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4834 | + | |
| 4835 | +// 19.1.3.19 Object.setPrototypeOf(O, proto) | |
| 4836 | +var $export = __webpack_require__(7); | |
| 4837 | +$export($export.S, 'Object', { setPrototypeOf: __webpack_require__(163).set }); | |
| 4838 | + | |
| 4839 | + | |
| 4840 | +/***/ }), | |
| 4841 | +/* 163 */ | |
| 4842 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4843 | + | |
| 4844 | +// Works with __proto__ only. Old v8 can't work with null proto objects. | |
| 4845 | +/* eslint-disable no-proto */ | |
| 4846 | +var isObject = __webpack_require__(9); | |
| 4847 | +var anObject = __webpack_require__(13); | |
| 4848 | +var check = function (O, proto) { | |
| 4849 | + anObject(O); | |
| 4850 | + if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); | |
| 4851 | +}; | |
| 4852 | +module.exports = { | |
| 4853 | + set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line | |
| 4854 | + function (test, buggy, set) { | |
| 4855 | + try { | |
| 4856 | + set = __webpack_require__(31)(Function.call, __webpack_require__(51).f(Object.prototype, '__proto__').set, 2); | |
| 4857 | + set(test, []); | |
| 4858 | + buggy = !(test instanceof Array); | |
| 4859 | + } catch (e) { buggy = true; } | |
| 4860 | + return function setPrototypeOf(O, proto) { | |
| 4861 | + check(O, proto); | |
| 4862 | + if (buggy) O.__proto__ = proto; | |
| 4863 | + else set(O, proto); | |
| 4864 | + return O; | |
| 4865 | + }; | |
| 4866 | + }({}, false) : undefined), | |
| 4867 | + check: check | |
| 4868 | +}; | |
| 4869 | + | |
| 4870 | + | |
| 4871 | +/***/ }), | |
| 4872 | +/* 164 */ | |
| 4873 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4874 | + | |
| 4875 | +__webpack_require__(165); | |
| 4876 | +var $Object = __webpack_require__(6).Object; | |
| 4877 | +module.exports = function create(P, D) { | |
| 4878 | + return $Object.create(P, D); | |
| 4879 | +}; | |
| 4880 | + | |
| 4881 | + | |
| 4882 | +/***/ }), | |
| 4883 | +/* 165 */ | |
| 4884 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4885 | + | |
| 4886 | +var $export = __webpack_require__(7); | |
| 4887 | +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) | |
| 4888 | +$export($export.S, 'Object', { create: __webpack_require__(52) }); | |
| 4889 | + | |
| 4890 | + | |
| 4891 | +/***/ }), | |
| 4892 | +/* 166 */ | |
| 4893 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4894 | + | |
| 4895 | +// false -> Array#indexOf | |
| 4896 | +// true -> Array#includes | |
| 4897 | +var toIObject = __webpack_require__(20); | |
| 4898 | +var toLength = __webpack_require__(68); | |
| 4899 | +var toAbsoluteIndex = __webpack_require__(167); | |
| 4900 | +module.exports = function (IS_INCLUDES) { | |
| 4901 | + return function ($this, el, fromIndex) { | |
| 4902 | + var O = toIObject($this); | |
| 4903 | + var length = toLength(O.length); | |
| 4904 | + var index = toAbsoluteIndex(fromIndex, length); | |
| 4905 | + var value; | |
| 4906 | + // Array#includes uses SameValueZero equality algorithm | |
| 4907 | + // eslint-disable-next-line no-self-compare | |
| 4908 | + if (IS_INCLUDES && el != el) while (length > index) { | |
| 4909 | + value = O[index++]; | |
| 4910 | + // eslint-disable-next-line no-self-compare | |
| 4911 | + if (value != value) return true; | |
| 4912 | + // Array#indexOf ignores holes, Array#includes - not | |
| 4913 | + } else for (;length > index; index++) if (IS_INCLUDES || index in O) { | |
| 4914 | + if (O[index] === el) return IS_INCLUDES || index || 0; | |
| 4915 | + } return !IS_INCLUDES && -1; | |
| 4916 | + }; | |
| 4917 | +}; | |
| 4918 | + | |
| 4919 | + | |
| 4920 | +/***/ }), | |
| 4921 | +/* 167 */ | |
| 4922 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4923 | + | |
| 4924 | +var toInteger = __webpack_require__(77); | |
| 4925 | +var max = Math.max; | |
| 4926 | +var min = Math.min; | |
| 4927 | +module.exports = function (index, length) { | |
| 4928 | + index = toInteger(index); | |
| 4929 | + return index < 0 ? max(index + length, 0) : min(index, length); | |
| 4930 | +}; | |
| 4931 | + | |
| 4932 | + | |
| 4933 | +/***/ }), | |
| 4934 | +/* 168 */ | |
| 4935 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4936 | + | |
| 4937 | +__webpack_require__(169); | |
| 4938 | +module.exports = __webpack_require__(6).Reflect.construct; | |
| 4939 | + | |
| 4940 | + | |
| 4941 | +/***/ }), | |
| 4942 | +/* 169 */ | |
| 4943 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4944 | + | |
| 4945 | +// 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) | |
| 4946 | +var $export = __webpack_require__(7); | |
| 4947 | +var create = __webpack_require__(52); | |
| 4948 | +var aFunction = __webpack_require__(38); | |
| 4949 | +var anObject = __webpack_require__(13); | |
| 4950 | +var isObject = __webpack_require__(9); | |
| 4951 | +var fails = __webpack_require__(22); | |
| 4952 | +var bind = __webpack_require__(170); | |
| 4953 | +var rConstruct = (__webpack_require__(8).Reflect || {}).construct; | |
| 4954 | + | |
| 4955 | +// MS Edge supports only 2 arguments and argumentsList argument is optional | |
| 4956 | +// FF Nightly sets third argument as `new.target`, but does not create `this` from it | |
| 4957 | +var NEW_TARGET_BUG = fails(function () { | |
| 4958 | + function F() { /* empty */ } | |
| 4959 | + return !(rConstruct(function () { /* empty */ }, [], F) instanceof F); | |
| 4960 | +}); | |
| 4961 | +var ARGS_BUG = !fails(function () { | |
| 4962 | + rConstruct(function () { /* empty */ }); | |
| 4963 | +}); | |
| 4964 | + | |
| 4965 | +$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { | |
| 4966 | + construct: function construct(Target, args /* , newTarget */) { | |
| 4967 | + aFunction(Target); | |
| 4968 | + anObject(args); | |
| 4969 | + var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]); | |
| 4970 | + if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget); | |
| 4971 | + if (Target == newTarget) { | |
| 4972 | + // w/o altered newTarget, optimization for 0-4 arguments | |
| 4973 | + switch (args.length) { | |
| 4974 | + case 0: return new Target(); | |
| 4975 | + case 1: return new Target(args[0]); | |
| 4976 | + case 2: return new Target(args[0], args[1]); | |
| 4977 | + case 3: return new Target(args[0], args[1], args[2]); | |
| 4978 | + case 4: return new Target(args[0], args[1], args[2], args[3]); | |
| 4979 | + } | |
| 4980 | + // w/o altered newTarget, lot of arguments case | |
| 4981 | + var $args = [null]; | |
| 4982 | + $args.push.apply($args, args); | |
| 4983 | + return new (bind.apply(Target, $args))(); | |
| 4984 | + } | |
| 4985 | + // with altered newTarget, not support built-in constructors | |
| 4986 | + var proto = newTarget.prototype; | |
| 4987 | + var instance = create(isObject(proto) ? proto : Object.prototype); | |
| 4988 | + var result = Function.apply.call(Target, instance, args); | |
| 4989 | + return isObject(result) ? result : instance; | |
| 1780 | 4990 | } |
| 1781 | - return (0, _createClass2.default)(Deprecation, null, [{ | |
| 1782 | - key: "deprecated", | |
| 1783 | - value: function deprecated(name, version, replacement) { | |
| 1784 | - if (this.isHardDeprecated(version)) { | |
| 1785 | - hardDeprecated(name, version, replacement); | |
| 1786 | - } else { | |
| 1787 | - softDeprecated(name, version, replacement); | |
| 4991 | +}); | |
| 4992 | + | |
| 4993 | + | |
| 4994 | +/***/ }), | |
| 4995 | +/* 170 */ | |
| 4996 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4997 | + | |
| 4998 | +"use strict"; | |
| 4999 | + | |
| 5000 | +var aFunction = __webpack_require__(38); | |
| 5001 | +var isObject = __webpack_require__(9); | |
| 5002 | +var invoke = __webpack_require__(132); | |
| 5003 | +var arraySlice = [].slice; | |
| 5004 | +var factories = {}; | |
| 5005 | + | |
| 5006 | +var construct = function (F, len, args) { | |
| 5007 | + if (!(len in factories)) { | |
| 5008 | + for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']'; | |
| 5009 | + // eslint-disable-next-line no-new-func | |
| 5010 | + factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')'); | |
| 5011 | + } return factories[len](F, args); | |
| 5012 | +}; | |
| 5013 | + | |
| 5014 | +module.exports = Function.bind || function bind(that /* , ...args */) { | |
| 5015 | + var fn = aFunction(this); | |
| 5016 | + var partArgs = arraySlice.call(arguments, 1); | |
| 5017 | + var bound = function (/* args... */) { | |
| 5018 | + var args = partArgs.concat(arraySlice.call(arguments)); | |
| 5019 | + return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that); | |
| 5020 | + }; | |
| 5021 | + if (isObject(fn.prototype)) bound.prototype = fn.prototype; | |
| 5022 | + return bound; | |
| 5023 | +}; | |
| 5024 | + | |
| 5025 | + | |
| 5026 | +/***/ }), | |
| 5027 | +/* 171 */ | |
| 5028 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5029 | + | |
| 5030 | +var _typeof = __webpack_require__(48); | |
| 5031 | + | |
| 5032 | +var assertThisInitialized = __webpack_require__(49); | |
| 5033 | + | |
| 5034 | +function _possibleConstructorReturn(self, call) { | |
| 5035 | + if (call && (_typeof(call) === "object" || typeof call === "function")) { | |
| 5036 | + return call; | |
| 5037 | + } | |
| 5038 | + | |
| 5039 | + return assertThisInitialized(self); | |
| 5040 | +} | |
| 5041 | + | |
| 5042 | +module.exports = _possibleConstructorReturn; | |
| 5043 | + | |
| 5044 | +/***/ }), | |
| 5045 | +/* 172 */ | |
| 5046 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5047 | + | |
| 5048 | +__webpack_require__(60); | |
| 5049 | +__webpack_require__(62); | |
| 5050 | +module.exports = __webpack_require__(63).f('iterator'); | |
| 5051 | + | |
| 5052 | + | |
| 5053 | +/***/ }), | |
| 5054 | +/* 173 */ | |
| 5055 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5056 | + | |
| 5057 | +var toInteger = __webpack_require__(77); | |
| 5058 | +var defined = __webpack_require__(65); | |
| 5059 | +// true -> String#at | |
| 5060 | +// false -> String#codePointAt | |
| 5061 | +module.exports = function (TO_STRING) { | |
| 5062 | + return function (that, pos) { | |
| 5063 | + var s = String(defined(that)); | |
| 5064 | + var i = toInteger(pos); | |
| 5065 | + var l = s.length; | |
| 5066 | + var a, b; | |
| 5067 | + if (i < 0 || i >= l) return TO_STRING ? '' : undefined; | |
| 5068 | + a = s.charCodeAt(i); | |
| 5069 | + return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff | |
| 5070 | + ? TO_STRING ? s.charAt(i) : a | |
| 5071 | + : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; | |
| 5072 | + }; | |
| 5073 | +}; | |
| 5074 | + | |
| 5075 | + | |
| 5076 | +/***/ }), | |
| 5077 | +/* 174 */ | |
| 5078 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5079 | + | |
| 5080 | +"use strict"; | |
| 5081 | + | |
| 5082 | +var create = __webpack_require__(52); | |
| 5083 | +var descriptor = __webpack_require__(44); | |
| 5084 | +var setToStringTag = __webpack_require__(53); | |
| 5085 | +var IteratorPrototype = {}; | |
| 5086 | + | |
| 5087 | +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() | |
| 5088 | +__webpack_require__(24)(IteratorPrototype, __webpack_require__(10)('iterator'), function () { return this; }); | |
| 5089 | + | |
| 5090 | +module.exports = function (Constructor, NAME, next) { | |
| 5091 | + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); | |
| 5092 | + setToStringTag(Constructor, NAME + ' Iterator'); | |
| 5093 | +}; | |
| 5094 | + | |
| 5095 | + | |
| 5096 | +/***/ }), | |
| 5097 | +/* 175 */ | |
| 5098 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5099 | + | |
| 5100 | +"use strict"; | |
| 5101 | + | |
| 5102 | +var addToUnscopables = __webpack_require__(176); | |
| 5103 | +var step = __webpack_require__(149); | |
| 5104 | +var Iterators = __webpack_require__(35); | |
| 5105 | +var toIObject = __webpack_require__(20); | |
| 5106 | + | |
| 5107 | +// 22.1.3.4 Array.prototype.entries() | |
| 5108 | +// 22.1.3.13 Array.prototype.keys() | |
| 5109 | +// 22.1.3.29 Array.prototype.values() | |
| 5110 | +// 22.1.3.30 Array.prototype[@@iterator]() | |
| 5111 | +module.exports = __webpack_require__(108)(Array, 'Array', function (iterated, kind) { | |
| 5112 | + this._t = toIObject(iterated); // target | |
| 5113 | + this._i = 0; // next index | |
| 5114 | + this._k = kind; // kind | |
| 5115 | +// 22.1.5.2.1 %ArrayIteratorPrototype%.next() | |
| 5116 | +}, function () { | |
| 5117 | + var O = this._t; | |
| 5118 | + var kind = this._k; | |
| 5119 | + var index = this._i++; | |
| 5120 | + if (!O || index >= O.length) { | |
| 5121 | + this._t = undefined; | |
| 5122 | + return step(1); | |
| 5123 | + } | |
| 5124 | + if (kind == 'keys') return step(0, index); | |
| 5125 | + if (kind == 'values') return step(0, O[index]); | |
| 5126 | + return step(0, [index, O[index]]); | |
| 5127 | +}, 'values'); | |
| 5128 | + | |
| 5129 | +// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) | |
| 5130 | +Iterators.Arguments = Iterators.Array; | |
| 5131 | + | |
| 5132 | +addToUnscopables('keys'); | |
| 5133 | +addToUnscopables('values'); | |
| 5134 | +addToUnscopables('entries'); | |
| 5135 | + | |
| 5136 | + | |
| 5137 | +/***/ }), | |
| 5138 | +/* 176 */ | |
| 5139 | +/***/ (function(module, exports) { | |
| 5140 | + | |
| 5141 | +module.exports = function () { /* empty */ }; | |
| 5142 | + | |
| 5143 | + | |
| 5144 | +/***/ }), | |
| 5145 | +/* 177 */ | |
| 5146 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5147 | + | |
| 5148 | +__webpack_require__(139); | |
| 5149 | +__webpack_require__(100); | |
| 5150 | +__webpack_require__(180); | |
| 5151 | +__webpack_require__(181); | |
| 5152 | +module.exports = __webpack_require__(6).Symbol; | |
| 5153 | + | |
| 5154 | + | |
| 5155 | +/***/ }), | |
| 5156 | +/* 178 */ | |
| 5157 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5158 | + | |
| 5159 | +// all enumerable object keys, includes symbols | |
| 5160 | +var getKeys = __webpack_require__(40); | |
| 5161 | +var gOPS = __webpack_require__(71); | |
| 5162 | +var pIE = __webpack_require__(50); | |
| 5163 | +module.exports = function (it) { | |
| 5164 | + var result = getKeys(it); | |
| 5165 | + var getSymbols = gOPS.f; | |
| 5166 | + if (getSymbols) { | |
| 5167 | + var symbols = getSymbols(it); | |
| 5168 | + var isEnum = pIE.f; | |
| 5169 | + var i = 0; | |
| 5170 | + var key; | |
| 5171 | + while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key); | |
| 5172 | + } return result; | |
| 5173 | +}; | |
| 5174 | + | |
| 5175 | + | |
| 5176 | +/***/ }), | |
| 5177 | +/* 179 */ | |
| 5178 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5179 | + | |
| 5180 | +// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window | |
| 5181 | +var toIObject = __webpack_require__(20); | |
| 5182 | +var gOPN = __webpack_require__(99).f; | |
| 5183 | +var toString = {}.toString; | |
| 5184 | + | |
| 5185 | +var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames | |
| 5186 | + ? Object.getOwnPropertyNames(window) : []; | |
| 5187 | + | |
| 5188 | +var getWindowNames = function (it) { | |
| 5189 | + try { | |
| 5190 | + return gOPN(it); | |
| 5191 | + } catch (e) { | |
| 5192 | + return windowNames.slice(); | |
| 5193 | + } | |
| 5194 | +}; | |
| 5195 | + | |
| 5196 | +module.exports.f = function getOwnPropertyNames(it) { | |
| 5197 | + return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); | |
| 5198 | +}; | |
| 5199 | + | |
| 5200 | + | |
| 5201 | +/***/ }), | |
| 5202 | +/* 180 */ | |
| 5203 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5204 | + | |
| 5205 | +__webpack_require__(79)('asyncIterator'); | |
| 5206 | + | |
| 5207 | + | |
| 5208 | +/***/ }), | |
| 5209 | +/* 181 */ | |
| 5210 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5211 | + | |
| 5212 | +__webpack_require__(79)('observable'); | |
| 5213 | + | |
| 5214 | + | |
| 5215 | +/***/ }), | |
| 5216 | +/* 182 */, | |
| 5217 | +/* 183 */, | |
| 5218 | +/* 184 */ | |
| 5219 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5220 | + | |
| 5221 | +// 19.1.2.14 / 15.2.3.14 Object.keys(O) | |
| 5222 | +var $keys = __webpack_require__(219); | |
| 5223 | +var enumBugKeys = __webpack_require__(147); | |
| 5224 | + | |
| 5225 | +module.exports = Object.keys || function keys(O) { | |
| 5226 | + return $keys(O, enumBugKeys); | |
| 5227 | +}; | |
| 5228 | + | |
| 5229 | + | |
| 5230 | +/***/ }), | |
| 5231 | +/* 185 */ | |
| 5232 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5233 | + | |
| 5234 | +var DESCRIPTORS = __webpack_require__(14); | |
| 5235 | +var getKeys = __webpack_require__(40); | |
| 5236 | +var toIObject = __webpack_require__(20); | |
| 5237 | +var isEnum = __webpack_require__(50).f; | |
| 5238 | +module.exports = function (isEntries) { | |
| 5239 | + return function (it) { | |
| 5240 | + var O = toIObject(it); | |
| 5241 | + var keys = getKeys(O); | |
| 5242 | + var length = keys.length; | |
| 5243 | + var i = 0; | |
| 5244 | + var result = []; | |
| 5245 | + var key; | |
| 5246 | + while (length > i) { | |
| 5247 | + key = keys[i++]; | |
| 5248 | + if (!DESCRIPTORS || isEnum.call(O, key)) { | |
| 5249 | + result.push(isEntries ? [key, O[key]] : O[key]); | |
| 1788 | 5250 | } |
| 1789 | 5251 | } |
| 5252 | + return result; | |
| 5253 | + }; | |
| 5254 | +}; | |
| 1790 | 5255 | |
| 5256 | + | |
| 5257 | +/***/ }), | |
| 5258 | +/* 186 */ | |
| 5259 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5260 | + | |
| 5261 | +"use strict"; | |
| 5262 | + | |
| 5263 | +var $defineProperty = __webpack_require__(15); | |
| 5264 | +var createDesc = __webpack_require__(44); | |
| 5265 | + | |
| 5266 | +module.exports = function (object, index, value) { | |
| 5267 | + if (index in object) $defineProperty.f(object, index, createDesc(0, value)); | |
| 5268 | + else object[index] = value; | |
| 5269 | +}; | |
| 5270 | + | |
| 5271 | + | |
| 5272 | +/***/ }), | |
| 5273 | +/* 187 */ | |
| 5274 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5275 | + | |
| 5276 | +var _Array$from = __webpack_require__(200); | |
| 5277 | + | |
| 5278 | +var arrayLikeToArray = __webpack_require__(199); | |
| 5279 | + | |
| 5280 | +function _unsupportedIterableToArray(o, minLen) { | |
| 5281 | + if (!o) return; | |
| 5282 | + if (typeof o === "string") return arrayLikeToArray(o, minLen); | |
| 5283 | + var n = Object.prototype.toString.call(o).slice(8, -1); | |
| 5284 | + if (n === "Object" && o.constructor) n = o.constructor.name; | |
| 5285 | + if (n === "Map" || n === "Set") return _Array$from(o); | |
| 5286 | + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); | |
| 5287 | +} | |
| 5288 | + | |
| 5289 | +module.exports = _unsupportedIterableToArray; | |
| 5290 | + | |
| 5291 | +/***/ }), | |
| 5292 | +/* 188 */, | |
| 5293 | +/* 189 */, | |
| 5294 | +/* 190 */ | |
| 5295 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5296 | + | |
| 5297 | +"use strict"; | |
| 5298 | + | |
| 5299 | +var regexpExec = __webpack_require__(88); | |
| 5300 | +__webpack_require__(34)({ | |
| 5301 | + target: 'RegExp', | |
| 5302 | + proto: true, | |
| 5303 | + forced: regexpExec !== /./.exec | |
| 5304 | +}, { | |
| 5305 | + exec: regexpExec | |
| 5306 | +}); | |
| 5307 | + | |
| 5308 | + | |
| 5309 | +/***/ }), | |
| 5310 | +/* 191 */ | |
| 5311 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5312 | + | |
| 5313 | +__webpack_require__(192); | |
| 5314 | +var $Object = __webpack_require__(6).Object; | |
| 5315 | +module.exports = function getOwnPropertyDescriptor(it, key) { | |
| 5316 | + return $Object.getOwnPropertyDescriptor(it, key); | |
| 5317 | +}; | |
| 5318 | + | |
| 5319 | + | |
| 5320 | +/***/ }), | |
| 5321 | +/* 192 */ | |
| 5322 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5323 | + | |
| 5324 | +// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) | |
| 5325 | +var toIObject = __webpack_require__(20); | |
| 5326 | +var $getOwnPropertyDescriptor = __webpack_require__(51).f; | |
| 5327 | + | |
| 5328 | +__webpack_require__(83)('getOwnPropertyDescriptor', function () { | |
| 5329 | + return function getOwnPropertyDescriptor(it, key) { | |
| 5330 | + return $getOwnPropertyDescriptor(toIObject(it), key); | |
| 5331 | + }; | |
| 5332 | +}); | |
| 5333 | + | |
| 5334 | + | |
| 5335 | +/***/ }), | |
| 5336 | +/* 193 */ | |
| 5337 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5338 | + | |
| 5339 | +module.exports = __webpack_require__(194); | |
| 5340 | + | |
| 5341 | +/***/ }), | |
| 5342 | +/* 194 */ | |
| 5343 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5344 | + | |
| 5345 | +__webpack_require__(195); | |
| 5346 | +module.exports = __webpack_require__(6).Reflect.get; | |
| 5347 | + | |
| 5348 | + | |
| 5349 | +/***/ }), | |
| 5350 | +/* 195 */ | |
| 5351 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5352 | + | |
| 5353 | +// 26.1.6 Reflect.get(target, propertyKey [, receiver]) | |
| 5354 | +var gOPD = __webpack_require__(51); | |
| 5355 | +var getPrototypeOf = __webpack_require__(64); | |
| 5356 | +var has = __webpack_require__(19); | |
| 5357 | +var $export = __webpack_require__(7); | |
| 5358 | +var isObject = __webpack_require__(9); | |
| 5359 | +var anObject = __webpack_require__(13); | |
| 5360 | + | |
| 5361 | +function get(target, propertyKey /* , receiver */) { | |
| 5362 | + var receiver = arguments.length < 3 ? target : arguments[2]; | |
| 5363 | + var desc, proto; | |
| 5364 | + if (anObject(target) === receiver) return target[propertyKey]; | |
| 5365 | + if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value') | |
| 5366 | + ? desc.value | |
| 5367 | + : desc.get !== undefined | |
| 5368 | + ? desc.get.call(receiver) | |
| 5369 | + : undefined; | |
| 5370 | + if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver); | |
| 5371 | +} | |
| 5372 | + | |
| 5373 | +$export($export.S, 'Reflect', { get: get }); | |
| 5374 | + | |
| 5375 | + | |
| 5376 | +/***/ }), | |
| 5377 | +/* 196 */ | |
| 5378 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5379 | + | |
| 5380 | +var getPrototypeOf = __webpack_require__(16); | |
| 5381 | + | |
| 5382 | +function _superPropBase(object, property) { | |
| 5383 | + while (!Object.prototype.hasOwnProperty.call(object, property)) { | |
| 5384 | + object = getPrototypeOf(object); | |
| 5385 | + if (object === null) break; | |
| 5386 | + } | |
| 5387 | + | |
| 5388 | + return object; | |
| 5389 | +} | |
| 5390 | + | |
| 5391 | +module.exports = _superPropBase; | |
| 5392 | + | |
| 5393 | +/***/ }), | |
| 5394 | +/* 197 */ | |
| 5395 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5396 | + | |
| 5397 | +"use strict"; | |
| 5398 | + | |
| 5399 | +var LIBRARY = __webpack_require__(110); | |
| 5400 | +var $export = __webpack_require__(34); | |
| 5401 | +var redefine = __webpack_require__(36); | |
| 5402 | +var hide = __webpack_require__(29); | |
| 5403 | +var Iterators = __webpack_require__(118); | |
| 5404 | +var $iterCreate = __webpack_require__(242); | |
| 5405 | +var setToStringTag = __webpack_require__(153); | |
| 5406 | +var getPrototypeOf = __webpack_require__(244); | |
| 5407 | +var ITERATOR = __webpack_require__(12)('iterator'); | |
| 5408 | +var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` | |
| 5409 | +var FF_ITERATOR = '@@iterator'; | |
| 5410 | +var KEYS = 'keys'; | |
| 5411 | +var VALUES = 'values'; | |
| 5412 | + | |
| 5413 | +var returnThis = function () { return this; }; | |
| 5414 | + | |
| 5415 | +module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { | |
| 5416 | + $iterCreate(Constructor, NAME, next); | |
| 5417 | + var getMethod = function (kind) { | |
| 5418 | + if (!BUGGY && kind in proto) return proto[kind]; | |
| 5419 | + switch (kind) { | |
| 5420 | + case KEYS: return function keys() { return new Constructor(this, kind); }; | |
| 5421 | + case VALUES: return function values() { return new Constructor(this, kind); }; | |
| 5422 | + } return function entries() { return new Constructor(this, kind); }; | |
| 5423 | + }; | |
| 5424 | + var TAG = NAME + ' Iterator'; | |
| 5425 | + var DEF_VALUES = DEFAULT == VALUES; | |
| 5426 | + var VALUES_BUG = false; | |
| 5427 | + var proto = Base.prototype; | |
| 5428 | + var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; | |
| 5429 | + var $default = $native || getMethod(DEFAULT); | |
| 5430 | + var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; | |
| 5431 | + var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; | |
| 5432 | + var methods, key, IteratorPrototype; | |
| 5433 | + // Fix native | |
| 5434 | + if ($anyNative) { | |
| 5435 | + IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); | |
| 5436 | + if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { | |
| 5437 | + // Set @@toStringTag to native iterators | |
| 5438 | + setToStringTag(IteratorPrototype, TAG, true); | |
| 5439 | + // fix for some old engines | |
| 5440 | + if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis); | |
| 5441 | + } | |
| 5442 | + } | |
| 5443 | + // fix Array#{values, @@iterator}.name in V8 / FF | |
| 5444 | + if (DEF_VALUES && $native && $native.name !== VALUES) { | |
| 5445 | + VALUES_BUG = true; | |
| 5446 | + $default = function values() { return $native.call(this); }; | |
| 5447 | + } | |
| 5448 | + // Define iterator | |
| 5449 | + if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { | |
| 5450 | + hide(proto, ITERATOR, $default); | |
| 5451 | + } | |
| 5452 | + // Plug for library | |
| 5453 | + Iterators[NAME] = $default; | |
| 5454 | + Iterators[TAG] = returnThis; | |
| 5455 | + if (DEFAULT) { | |
| 5456 | + methods = { | |
| 5457 | + values: DEF_VALUES ? $default : getMethod(VALUES), | |
| 5458 | + keys: IS_SET ? $default : getMethod(KEYS), | |
| 5459 | + entries: $entries | |
| 5460 | + }; | |
| 5461 | + if (FORCED) for (key in methods) { | |
| 5462 | + if (!(key in proto)) redefine(proto, key, methods[key]); | |
| 5463 | + } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); | |
| 5464 | + } | |
| 5465 | + return methods; | |
| 5466 | +}; | |
| 5467 | + | |
| 5468 | + | |
| 5469 | +/***/ }), | |
| 5470 | +/* 198 */ | |
| 5471 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5472 | + | |
| 5473 | +var toInteger = __webpack_require__(57); | |
| 5474 | +var max = Math.max; | |
| 5475 | +var min = Math.min; | |
| 5476 | +module.exports = function (index, length) { | |
| 5477 | + index = toInteger(index); | |
| 5478 | + return index < 0 ? max(index + length, 0) : min(index, length); | |
| 5479 | +}; | |
| 5480 | + | |
| 5481 | + | |
| 5482 | +/***/ }), | |
| 5483 | +/* 199 */ | |
| 5484 | +/***/ (function(module, exports) { | |
| 5485 | + | |
| 5486 | +function _arrayLikeToArray(arr, len) { | |
| 5487 | + if (len == null || len > arr.length) len = arr.length; | |
| 5488 | + | |
| 5489 | + for (var i = 0, arr2 = new Array(len); i < len; i++) { | |
| 5490 | + arr2[i] = arr[i]; | |
| 5491 | + } | |
| 5492 | + | |
| 5493 | + return arr2; | |
| 5494 | +} | |
| 5495 | + | |
| 5496 | +module.exports = _arrayLikeToArray; | |
| 5497 | + | |
| 5498 | +/***/ }), | |
| 5499 | +/* 200 */ | |
| 5500 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5501 | + | |
| 5502 | +module.exports = __webpack_require__(228); | |
| 5503 | + | |
| 5504 | +/***/ }), | |
| 5505 | +/* 201 */ | |
| 5506 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5507 | + | |
| 5508 | +__webpack_require__(202); | |
| 5509 | +module.exports = __webpack_require__(6).Object.keys; | |
| 5510 | + | |
| 5511 | + | |
| 5512 | +/***/ }), | |
| 5513 | +/* 202 */ | |
| 5514 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5515 | + | |
| 5516 | +// 19.1.2.14 Object.keys(O) | |
| 5517 | +var toObject = __webpack_require__(32); | |
| 5518 | +var $keys = __webpack_require__(40); | |
| 5519 | + | |
| 5520 | +__webpack_require__(83)('keys', function () { | |
| 5521 | + return function keys(it) { | |
| 5522 | + return $keys(toObject(it)); | |
| 5523 | + }; | |
| 5524 | +}); | |
| 5525 | + | |
| 5526 | + | |
| 5527 | +/***/ }), | |
| 5528 | +/* 203 */, | |
| 5529 | +/* 204 */, | |
| 5530 | +/* 205 */, | |
| 5531 | +/* 206 */, | |
| 5532 | +/* 207 */ | |
| 5533 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5534 | + | |
| 5535 | +// 7.3.20 SpeciesConstructor(O, defaultConstructor) | |
| 5536 | +var anObject = __webpack_require__(13); | |
| 5537 | +var aFunction = __webpack_require__(38); | |
| 5538 | +var SPECIES = __webpack_require__(10)('species'); | |
| 5539 | +module.exports = function (O, D) { | |
| 5540 | + var C = anObject(O).constructor; | |
| 5541 | + var S; | |
| 5542 | + return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); | |
| 5543 | +}; | |
| 5544 | + | |
| 5545 | + | |
| 5546 | +/***/ }), | |
| 5547 | +/* 208 */ | |
| 5548 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5549 | + | |
| 5550 | +var ctx = __webpack_require__(31); | |
| 5551 | +var invoke = __webpack_require__(132); | |
| 5552 | +var html = __webpack_require__(131); | |
| 5553 | +var cel = __webpack_require__(92); | |
| 5554 | +var global = __webpack_require__(8); | |
| 5555 | +var process = global.process; | |
| 5556 | +var setTask = global.setImmediate; | |
| 5557 | +var clearTask = global.clearImmediate; | |
| 5558 | +var MessageChannel = global.MessageChannel; | |
| 5559 | +var Dispatch = global.Dispatch; | |
| 5560 | +var counter = 0; | |
| 5561 | +var queue = {}; | |
| 5562 | +var ONREADYSTATECHANGE = 'onreadystatechange'; | |
| 5563 | +var defer, channel, port; | |
| 5564 | +var run = function () { | |
| 5565 | + var id = +this; | |
| 5566 | + // eslint-disable-next-line no-prototype-builtins | |
| 5567 | + if (queue.hasOwnProperty(id)) { | |
| 5568 | + var fn = queue[id]; | |
| 5569 | + delete queue[id]; | |
| 5570 | + fn(); | |
| 5571 | + } | |
| 5572 | +}; | |
| 5573 | +var listener = function (event) { | |
| 5574 | + run.call(event.data); | |
| 5575 | +}; | |
| 5576 | +// Node.js 0.9+ & IE10+ has setImmediate, otherwise: | |
| 5577 | +if (!setTask || !clearTask) { | |
| 5578 | + setTask = function setImmediate(fn) { | |
| 5579 | + var args = []; | |
| 5580 | + var i = 1; | |
| 5581 | + while (arguments.length > i) args.push(arguments[i++]); | |
| 5582 | + queue[++counter] = function () { | |
| 5583 | + // eslint-disable-next-line no-new-func | |
| 5584 | + invoke(typeof fn == 'function' ? fn : Function(fn), args); | |
| 5585 | + }; | |
| 5586 | + defer(counter); | |
| 5587 | + return counter; | |
| 5588 | + }; | |
| 5589 | + clearTask = function clearImmediate(id) { | |
| 5590 | + delete queue[id]; | |
| 5591 | + }; | |
| 5592 | + // Node.js 0.8- | |
| 5593 | + if (__webpack_require__(56)(process) == 'process') { | |
| 5594 | + defer = function (id) { | |
| 5595 | + process.nextTick(ctx(run, id, 1)); | |
| 5596 | + }; | |
| 5597 | + // Sphere (JS game engine) Dispatch API | |
| 5598 | + } else if (Dispatch && Dispatch.now) { | |
| 5599 | + defer = function (id) { | |
| 5600 | + Dispatch.now(ctx(run, id, 1)); | |
| 5601 | + }; | |
| 5602 | + // Browsers with MessageChannel, includes WebWorkers | |
| 5603 | + } else if (MessageChannel) { | |
| 5604 | + channel = new MessageChannel(); | |
| 5605 | + port = channel.port2; | |
| 5606 | + channel.port1.onmessage = listener; | |
| 5607 | + defer = ctx(port.postMessage, port, 1); | |
| 5608 | + // Browsers with postMessage, skip WebWorkers | |
| 5609 | + // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' | |
| 5610 | + } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) { | |
| 5611 | + defer = function (id) { | |
| 5612 | + global.postMessage(id + '', '*'); | |
| 5613 | + }; | |
| 5614 | + global.addEventListener('message', listener, false); | |
| 5615 | + // IE8- | |
| 5616 | + } else if (ONREADYSTATECHANGE in cel('script')) { | |
| 5617 | + defer = function (id) { | |
| 5618 | + html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () { | |
| 5619 | + html.removeChild(this); | |
| 5620 | + run.call(id); | |
| 5621 | + }; | |
| 5622 | + }; | |
| 5623 | + // Rest old browsers | |
| 5624 | + } else { | |
| 5625 | + defer = function (id) { | |
| 5626 | + setTimeout(ctx(run, id, 1), 0); | |
| 5627 | + }; | |
| 5628 | + } | |
| 5629 | +} | |
| 5630 | +module.exports = { | |
| 5631 | + set: setTask, | |
| 5632 | + clear: clearTask | |
| 5633 | +}; | |
| 5634 | + | |
| 5635 | + | |
| 5636 | +/***/ }), | |
| 5637 | +/* 209 */ | |
| 5638 | +/***/ (function(module, exports) { | |
| 5639 | + | |
| 5640 | +module.exports = function (exec) { | |
| 5641 | + try { | |
| 5642 | + return { e: false, v: exec() }; | |
| 5643 | + } catch (e) { | |
| 5644 | + return { e: true, v: e }; | |
| 5645 | + } | |
| 5646 | +}; | |
| 5647 | + | |
| 5648 | + | |
| 5649 | +/***/ }), | |
| 5650 | +/* 210 */ | |
| 5651 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5652 | + | |
| 5653 | +var anObject = __webpack_require__(13); | |
| 5654 | +var isObject = __webpack_require__(9); | |
| 5655 | +var newPromiseCapability = __webpack_require__(145); | |
| 5656 | + | |
| 5657 | +module.exports = function (C, x) { | |
| 5658 | + anObject(C); | |
| 5659 | + if (isObject(x) && x.constructor === C) return x; | |
| 5660 | + var promiseCapability = newPromiseCapability.f(C); | |
| 5661 | + var resolve = promiseCapability.resolve; | |
| 5662 | + resolve(x); | |
| 5663 | + return promiseCapability.promise; | |
| 5664 | +}; | |
| 5665 | + | |
| 5666 | + | |
| 5667 | +/***/ }), | |
| 5668 | +/* 211 */ | |
| 5669 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5670 | + | |
| 5671 | +module.exports = __webpack_require__(230); | |
| 5672 | + | |
| 5673 | +/***/ }), | |
| 5674 | +/* 212 */ | |
| 5675 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5676 | + | |
| 5677 | +"use strict"; | |
| 5678 | + | |
| 5679 | +// 19.1.2.1 Object.assign(target, source, ...) | |
| 5680 | +var DESCRIPTORS = __webpack_require__(14); | |
| 5681 | +var getKeys = __webpack_require__(40); | |
| 5682 | +var gOPS = __webpack_require__(71); | |
| 5683 | +var pIE = __webpack_require__(50); | |
| 5684 | +var toObject = __webpack_require__(32); | |
| 5685 | +var IObject = __webpack_require__(103); | |
| 5686 | +var $assign = Object.assign; | |
| 5687 | + | |
| 5688 | +// should work with symbols and should have deterministic property order (V8 bug) | |
| 5689 | +module.exports = !$assign || __webpack_require__(22)(function () { | |
| 5690 | + var A = {}; | |
| 5691 | + var B = {}; | |
| 5692 | + // eslint-disable-next-line no-undef | |
| 5693 | + var S = Symbol(); | |
| 5694 | + var K = 'abcdefghijklmnopqrst'; | |
| 5695 | + A[S] = 7; | |
| 5696 | + K.split('').forEach(function (k) { B[k] = k; }); | |
| 5697 | + return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K; | |
| 5698 | +}) ? function assign(target, source) { // eslint-disable-line no-unused-vars | |
| 5699 | + var T = toObject(target); | |
| 5700 | + var aLen = arguments.length; | |
| 5701 | + var index = 1; | |
| 5702 | + var getSymbols = gOPS.f; | |
| 5703 | + var isEnum = pIE.f; | |
| 5704 | + while (aLen > index) { | |
| 5705 | + var S = IObject(arguments[index++]); | |
| 5706 | + var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S); | |
| 5707 | + var length = keys.length; | |
| 5708 | + var j = 0; | |
| 5709 | + var key; | |
| 5710 | + while (length > j) { | |
| 5711 | + key = keys[j++]; | |
| 5712 | + if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key]; | |
| 5713 | + } | |
| 5714 | + } return T; | |
| 5715 | +} : $assign; | |
| 5716 | + | |
| 5717 | + | |
| 5718 | +/***/ }), | |
| 5719 | +/* 213 */, | |
| 5720 | +/* 214 */, | |
| 5721 | +/* 215 */, | |
| 5722 | +/* 216 */, | |
| 5723 | +/* 217 */, | |
| 5724 | +/* 218 */, | |
| 5725 | +/* 219 */ | |
| 5726 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5727 | + | |
| 5728 | +var has = __webpack_require__(61); | |
| 5729 | +var toIObject = __webpack_require__(98); | |
| 5730 | +var arrayIndexOf = __webpack_require__(142)(false); | |
| 5731 | +var IE_PROTO = __webpack_require__(130)('IE_PROTO'); | |
| 5732 | + | |
| 5733 | +module.exports = function (object, names) { | |
| 5734 | + var O = toIObject(object); | |
| 5735 | + var i = 0; | |
| 5736 | + var result = []; | |
| 5737 | + var key; | |
| 5738 | + for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); | |
| 5739 | + // Don't enum bug & hidden keys | |
| 5740 | + while (names.length > i) if (has(O, key = names[i++])) { | |
| 5741 | + ~arrayIndexOf(result, key) || result.push(key); | |
| 5742 | + } | |
| 5743 | + return result; | |
| 5744 | +}; | |
| 5745 | + | |
| 5746 | + | |
| 5747 | +/***/ }), | |
| 5748 | +/* 220 */ | |
| 5749 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5750 | + | |
| 5751 | +__webpack_require__(221); | |
| 5752 | +module.exports = __webpack_require__(6).Array.isArray; | |
| 5753 | + | |
| 5754 | + | |
| 5755 | +/***/ }), | |
| 5756 | +/* 221 */ | |
| 5757 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5758 | + | |
| 5759 | +// 22.1.2.2 / 15.4.3.2 Array.isArray(arg) | |
| 5760 | +var $export = __webpack_require__(7); | |
| 5761 | + | |
| 5762 | +$export($export.S, 'Array', { isArray: __webpack_require__(97) }); | |
| 5763 | + | |
| 5764 | + | |
| 5765 | +/***/ }), | |
| 5766 | +/* 222 */, | |
| 5767 | +/* 223 */ | |
| 5768 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5769 | + | |
| 5770 | +"use strict"; | |
| 5771 | + | |
| 5772 | + | |
| 5773 | +var _interopRequireDefault = __webpack_require__(0); | |
| 5774 | + | |
| 5775 | +var _Object$defineProperty = __webpack_require__(1); | |
| 5776 | + | |
| 5777 | +_Object$defineProperty(exports, "__esModule", { | |
| 5778 | + value: true | |
| 5779 | +}); | |
| 5780 | + | |
| 5781 | +exports.default = void 0; | |
| 5782 | + | |
| 5783 | +var _typeof2 = _interopRequireDefault(__webpack_require__(48)); | |
| 5784 | + | |
| 5785 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 5786 | + | |
| 5787 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 5788 | + | |
| 5789 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 5790 | + | |
| 5791 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 5792 | + | |
| 5793 | +var _instanceType = _interopRequireDefault(__webpack_require__(252)); | |
| 5794 | + | |
| 5795 | +var ArgsObject = /*#__PURE__*/function (_InstanceType) { | |
| 5796 | + (0, _inherits2.default)(ArgsObject, _InstanceType); | |
| 5797 | + | |
| 5798 | + var _super = (0, _createSuper2.default)(ArgsObject); | |
| 5799 | + | |
| 5800 | + (0, _createClass2.default)(ArgsObject, null, [{ | |
| 5801 | + key: "getInstanceType", | |
| 5802 | + value: function getInstanceType() { | |
| 5803 | + return 'ArgsObject'; | |
| 5804 | + } | |
| 1791 | 5805 | /** |
| 1792 | - * @param {string} version | |
| 5806 | + * Function constructor(). | |
| 1793 | 5807 | * |
| 1794 | - * @return {Version} | |
| 5808 | + * Create ArgsObject. | |
| 5809 | + * | |
| 5810 | + * @param {{}} args | |
| 1795 | 5811 | */ |
| 1796 | - }, { | |
| 1797 | - key: "parseVersion", | |
| 1798 | - value: function parseVersion(version) { | |
| 1799 | - var versionParts = version.split('.'); | |
| 1800 | - if (versionParts.length < 3 || versionParts.length > 4) { | |
| 1801 | - throw new RangeError('Invalid Semantic Version string provided'); | |
| 5812 | + | |
| 5813 | + }]); | |
| 5814 | + | |
| 5815 | + function ArgsObject(args) { | |
| 5816 | + var _this; | |
| 5817 | + | |
| 5818 | + (0, _classCallCheck2.default)(this, ArgsObject); | |
| 5819 | + _this = _super.call(this); | |
| 5820 | + _this.args = args; | |
| 5821 | + return _this; | |
| 5822 | + } | |
| 5823 | + /** | |
| 5824 | + * Function requireArgument(). | |
| 5825 | + * | |
| 5826 | + * Validate property in args. | |
| 5827 | + * | |
| 5828 | + * @param {string} property | |
| 5829 | + * @param {{}} args | |
| 5830 | + * | |
| 5831 | + * @throws {Error} | |
| 5832 | + * | |
| 5833 | + */ | |
| 5834 | + | |
| 5835 | + | |
| 5836 | + (0, _createClass2.default)(ArgsObject, [{ | |
| 5837 | + key: "requireArgument", | |
| 5838 | + value: function requireArgument(property) { | |
| 5839 | + var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.args; | |
| 5840 | + | |
| 5841 | + if (!args.hasOwnProperty(property)) { | |
| 5842 | + throw Error("".concat(property, " is required.")); | |
| 1802 | 5843 | } |
| 1803 | - var _versionParts = (0, _slicedToArray2.default)(versionParts, 4), | |
| 1804 | - major1 = _versionParts[0], | |
| 1805 | - major2 = _versionParts[1], | |
| 1806 | - minor = _versionParts[2], | |
| 1807 | - _versionParts$ = _versionParts[3], | |
| 1808 | - build = _versionParts$ === void 0 ? '' : _versionParts$; | |
| 1809 | - return { | |
| 1810 | - major1: parseInt(major1), | |
| 1811 | - major2: parseInt(major2), | |
| 1812 | - minor: parseInt(minor), | |
| 1813 | - build: build | |
| 1814 | - }; | |
| 1815 | 5844 | } |
| 1816 | - | |
| 1817 | 5845 | /** |
| 1818 | - * Get total of major. | |
| 5846 | + * Function requireArgumentType(). | |
| 1819 | 5847 | * |
| 1820 | - * Since `get_total_major` cannot determine how much really versions between 2.9.0 and 3.3.0 if there is 2.10.0 version for example, | |
| 1821 | - * versions with major2 more then 9 will be added to total. | |
| 5848 | + * Validate property in args using `type === typeof(args.whatever)`. | |
| 1822 | 5849 | * |
| 1823 | - * @param {Version} versionObj | |
| 5850 | + * @param {string} property | |
| 5851 | + * @param {string} type | |
| 5852 | + * @param {{}} args | |
| 1824 | 5853 | * |
| 1825 | - * @return {number} | |
| 5854 | + * @throws {Error} | |
| 5855 | + * | |
| 1826 | 5856 | */ |
| 5857 | + | |
| 1827 | 5858 | }, { |
| 1828 | - key: "getTotalMajor", | |
| 1829 | - value: function getTotalMajor(versionObj) { | |
| 1830 | - var total = parseInt("".concat(versionObj.major1).concat(versionObj.major2, "0")); | |
| 1831 | - total = Number((total / 10).toFixed(0)); | |
| 1832 | - if (versionObj.major2 > 9) { | |
| 1833 | - total = versionObj.major2 - 9; | |
| 5859 | + key: "requireArgumentType", | |
| 5860 | + value: function requireArgumentType(property, type) { | |
| 5861 | + var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 5862 | + this.requireArgument(property, args); | |
| 5863 | + | |
| 5864 | + if ((0, _typeof2.default)(args[property]) !== type) { | |
| 5865 | + throw Error("".concat(property, " invalid type: ").concat(type, ".")); | |
| 1834 | 5866 | } |
| 1835 | - return total; | |
| 1836 | 5867 | } |
| 1837 | - | |
| 1838 | 5868 | /** |
| 1839 | - * @param {string} version1 | |
| 1840 | - * @param {string} version2 | |
| 5869 | + * Function requireArgumentInstance(). | |
| 1841 | 5870 | * |
| 1842 | - * @return {number} | |
| 5871 | + * Validate property in args using `args.whatever instanceof instance`. | |
| 5872 | + * | |
| 5873 | + * @param {string} property | |
| 5874 | + * @param {instanceof} instance | |
| 5875 | + * @param {{}} args | |
| 5876 | + * | |
| 5877 | + * @throws {Error} | |
| 5878 | + * | |
| 1843 | 5879 | */ |
| 5880 | + | |
| 1844 | 5881 | }, { |
| 1845 | - key: "compareVersion", | |
| 1846 | - value: function compareVersion(version1, version2) { | |
| 1847 | - var _this = this; | |
| 1848 | - return [this.parseVersion(version1), this.parseVersion(version2)].map(function (versionObj) { | |
| 1849 | - return _this.getTotalMajor(versionObj); | |
| 1850 | - }).reduce(function (acc, major) { | |
| 1851 | - return acc - major; | |
| 1852 | - }); | |
| 5882 | + key: "requireArgumentInstance", | |
| 5883 | + value: function requireArgumentInstance(property, instance) { | |
| 5884 | + var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 5885 | + this.requireArgument(property, args); | |
| 5886 | + | |
| 5887 | + if (!(args[property] instanceof instance)) { | |
| 5888 | + throw Error("".concat(property, " invalid instance.")); | |
| 5889 | + } | |
| 1853 | 5890 | } |
| 1854 | - | |
| 1855 | 5891 | /** |
| 1856 | - * @param {string} version | |
| 5892 | + * Function requireArgumentConstructor(). | |
| 1857 | 5893 | * |
| 1858 | - * @return {boolean} | |
| 5894 | + * Validate property in args using `type === args.whatever.constructor`. | |
| 5895 | + * | |
| 5896 | + * @param {string} property | |
| 5897 | + * @param {*} type | |
| 5898 | + * @param {{}} args | |
| 5899 | + * | |
| 5900 | + * @throws {Error} | |
| 5901 | + * | |
| 1859 | 5902 | */ |
| 5903 | + | |
| 1860 | 5904 | }, { |
| 1861 | - key: "isSoftDeprecated", | |
| 1862 | - value: function isSoftDeprecated(version) { | |
| 1863 | - var total = this.compareVersion(version, elementorWebCliConfig.version); | |
| 1864 | - return total <= 4; | |
| 1865 | - } | |
| 5905 | + key: "requireArgumentConstructor", | |
| 5906 | + value: function requireArgumentConstructor(property, type) { | |
| 5907 | + var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 5908 | + this.requireArgument(property, args); | |
| 1866 | 5909 | |
| 1867 | - /** | |
| 1868 | - * @param {string} version | |
| 1869 | - * @return {boolean} | |
| 1870 | - */ | |
| 1871 | - }, { | |
| 1872 | - key: "isHardDeprecated", | |
| 1873 | - value: function isHardDeprecated(version) { | |
| 1874 | - var total = this.compareVersion(version, elementorWebCliConfig.version); | |
| 1875 | - return total < 0 || total >= 8; | |
| 5910 | + if (args[property].constructor !== type) { | |
| 5911 | + throw Error("".concat(property, " invalid constructor type.")); | |
| 5912 | + } | |
| 1876 | 5913 | } |
| 1877 | 5914 | }]); |
| 1878 | -}(); | |
| 5915 | + return ArgsObject; | |
| 5916 | +}(_instanceType.default); | |
| 1879 | 5917 | |
| 5918 | +exports.default = ArgsObject; | |
| 5919 | + | |
| 1880 | 5920 | /***/ }), |
| 5921 | +/* 224 */, | |
| 5922 | +/* 225 */ | |
| 5923 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1881 | 5924 | |
| 1882 | -/***/ "../modules/web-cli/assets/js/utils/force-method-implementation.js": | |
| 1883 | -/*!*************************************************************************!*\ | |
| 1884 | - !*** ../modules/web-cli/assets/js/utils/force-method-implementation.js ***! | |
| 1885 | - \*************************************************************************/ | |
| 1886 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 5925 | +"use strict"; | |
| 1887 | 5926 | |
| 5927 | +var global = __webpack_require__(8); | |
| 5928 | +var core = __webpack_require__(6); | |
| 5929 | +var dP = __webpack_require__(15); | |
| 5930 | +var DESCRIPTORS = __webpack_require__(14); | |
| 5931 | +var SPECIES = __webpack_require__(10)('species'); | |
| 5932 | + | |
| 5933 | +module.exports = function (KEY) { | |
| 5934 | + var C = typeof core[KEY] == 'function' ? core[KEY] : global[KEY]; | |
| 5935 | + if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, { | |
| 5936 | + configurable: true, | |
| 5937 | + get: function () { return this; } | |
| 5938 | + }); | |
| 5939 | +}; | |
| 5940 | + | |
| 5941 | + | |
| 5942 | +/***/ }), | |
| 5943 | +/* 226 */ | |
| 5944 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5945 | + | |
| 5946 | +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) | |
| 5947 | +var anObject = __webpack_require__(18); | |
| 5948 | +var dPs = __webpack_require__(243); | |
| 5949 | +var enumBugKeys = __webpack_require__(147); | |
| 5950 | +var IE_PROTO = __webpack_require__(130)('IE_PROTO'); | |
| 5951 | +var Empty = function () { /* empty */ }; | |
| 5952 | +var PROTOTYPE = 'prototype'; | |
| 5953 | + | |
| 5954 | +// Create object with fake `null` prototype: use iframe Object with cleared prototype | |
| 5955 | +var createDict = function () { | |
| 5956 | + // Thrash, waste and sodomy: IE GC bug | |
| 5957 | + var iframe = __webpack_require__(109)('iframe'); | |
| 5958 | + var i = enumBugKeys.length; | |
| 5959 | + var lt = '<'; | |
| 5960 | + var gt = '>'; | |
| 5961 | + var iframeDocument; | |
| 5962 | + iframe.style.display = 'none'; | |
| 5963 | + __webpack_require__(227).appendChild(iframe); | |
| 5964 | + iframe.src = 'javascript:'; // eslint-disable-line no-script-url | |
| 5965 | + // createDict = iframe.contentWindow.Object; | |
| 5966 | + // html.removeChild(iframe); | |
| 5967 | + iframeDocument = iframe.contentWindow.document; | |
| 5968 | + iframeDocument.open(); | |
| 5969 | + iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); | |
| 5970 | + iframeDocument.close(); | |
| 5971 | + createDict = iframeDocument.F; | |
| 5972 | + while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; | |
| 5973 | + return createDict(); | |
| 5974 | +}; | |
| 5975 | + | |
| 5976 | +module.exports = Object.create || function create(O, Properties) { | |
| 5977 | + var result; | |
| 5978 | + if (O !== null) { | |
| 5979 | + Empty[PROTOTYPE] = anObject(O); | |
| 5980 | + result = new Empty(); | |
| 5981 | + Empty[PROTOTYPE] = null; | |
| 5982 | + // add "__proto__" for Object.getPrototypeOf polyfill | |
| 5983 | + result[IE_PROTO] = O; | |
| 5984 | + } else result = createDict(); | |
| 5985 | + return Properties === undefined ? result : dPs(result, Properties); | |
| 5986 | +}; | |
| 5987 | + | |
| 5988 | + | |
| 5989 | +/***/ }), | |
| 5990 | +/* 227 */ | |
| 5991 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5992 | + | |
| 5993 | +var document = __webpack_require__(17).document; | |
| 5994 | +module.exports = document && document.documentElement; | |
| 5995 | + | |
| 5996 | + | |
| 5997 | +/***/ }), | |
| 5998 | +/* 228 */ | |
| 5999 | +/***/ (function(module, exports, __webpack_require__) { | |
| 6000 | + | |
| 6001 | +__webpack_require__(60); | |
| 6002 | +__webpack_require__(229); | |
| 6003 | +module.exports = __webpack_require__(6).Array.from; | |
| 6004 | + | |
| 6005 | + | |
| 6006 | +/***/ }), | |
| 6007 | +/* 229 */ | |
| 6008 | +/***/ (function(module, exports, __webpack_require__) { | |
| 6009 | + | |
| 1888 | 6010 | "use strict"; |
| 1889 | 6011 | |
| 6012 | +var ctx = __webpack_require__(31); | |
| 6013 | +var $export = __webpack_require__(7); | |
| 6014 | +var toObject = __webpack_require__(32); | |
| 6015 | +var call = __webpack_require__(140); | |
| 6016 | +var isArrayIter = __webpack_require__(141); | |
| 6017 | +var toLength = __webpack_require__(68); | |
| 6018 | +var createProperty = __webpack_require__(186); | |
| 6019 | +var getIterFn = __webpack_require__(112); | |
| 1890 | 6020 | |
| 1891 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1892 | -Object.defineProperty(exports, "__esModule", ({ | |
| 1893 | - value: true | |
| 1894 | -})); | |
| 1895 | -exports["default"] = exports.ForceMethodImplementation = void 0; | |
| 1896 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 1897 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 1898 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 1899 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 1900 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 1901 | -var _wrapNativeSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/wrapNativeSuper */ "../node_modules/@babel/runtime/helpers/wrapNativeSuper.js")); | |
| 1902 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 1903 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 1904 | -// TODO: Copied from `assets/dev/js/modules/imports/force-method-implementation.js`; | |
| 1905 | -var ForceMethodImplementation = exports.ForceMethodImplementation = /*#__PURE__*/function (_Error) { | |
| 1906 | - function ForceMethodImplementation() { | |
| 1907 | - var _this; | |
| 1908 | - var info = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 1909 | - (0, _classCallCheck2.default)(this, ForceMethodImplementation); | |
| 1910 | - _this = _callSuper(this, ForceMethodImplementation, ["".concat(info.isStatic ? 'static ' : '').concat(info.fullName, "() should be implemented, please provide '").concat(info.functionName || info.fullName, "' functionality.")]); | |
| 1911 | - Error.captureStackTrace(_this, ForceMethodImplementation); | |
| 1912 | - return _this; | |
| 6021 | +$export($export.S + $export.F * !__webpack_require__(152)(function (iter) { Array.from(iter); }), 'Array', { | |
| 6022 | + // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined) | |
| 6023 | + from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { | |
| 6024 | + var O = toObject(arrayLike); | |
| 6025 | + var C = typeof this == 'function' ? this : Array; | |
| 6026 | + var aLen = arguments.length; | |
| 6027 | + var mapfn = aLen > 1 ? arguments[1] : undefined; | |
| 6028 | + var mapping = mapfn !== undefined; | |
| 6029 | + var index = 0; | |
| 6030 | + var iterFn = getIterFn(O); | |
| 6031 | + var length, result, step, iterator; | |
| 6032 | + if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2); | |
| 6033 | + // if object isn't iterable or it's array with default iterator - use simple case | |
| 6034 | + if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) { | |
| 6035 | + for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) { | |
| 6036 | + createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value); | |
| 6037 | + } | |
| 6038 | + } else { | |
| 6039 | + length = toLength(O.length); | |
| 6040 | + for (result = new C(length); length > index; index++) { | |
| 6041 | + createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]); | |
| 6042 | + } | |
| 6043 | + } | |
| 6044 | + result.length = index; | |
| 6045 | + return result; | |
| 1913 | 6046 | } |
| 1914 | - (0, _inherits2.default)(ForceMethodImplementation, _Error); | |
| 1915 | - return (0, _createClass2.default)(ForceMethodImplementation); | |
| 1916 | -}(/*#__PURE__*/(0, _wrapNativeSuper2.default)(Error)); | |
| 1917 | -var _default = exports["default"] = function _default() { | |
| 1918 | - var stack = Error().stack, | |
| 1919 | - caller = stack.split('\n')[2].trim(), | |
| 1920 | - callerName = caller.startsWith('at new') ? 'constructor' : caller.split(' ')[1], | |
| 1921 | - info = {}; | |
| 1922 | - info.functionName = callerName; | |
| 1923 | - info.fullName = callerName; | |
| 1924 | - if (info.functionName.includes('.')) { | |
| 1925 | - var parts = info.functionName.split('.'); | |
| 1926 | - info.className = parts[0]; | |
| 1927 | - info.functionName = parts[1]; | |
| 6047 | +}); | |
| 6048 | + | |
| 6049 | + | |
| 6050 | +/***/ }), | |
| 6051 | +/* 230 */ | |
| 6052 | +/***/ (function(module, exports, __webpack_require__) { | |
| 6053 | + | |
| 6054 | +__webpack_require__(62); | |
| 6055 | +__webpack_require__(60); | |
| 6056 | +module.exports = __webpack_require__(231); | |
| 6057 | + | |
| 6058 | + | |
| 6059 | +/***/ }), | |
| 6060 | +/* 231 */ | |
| 6061 | +/***/ (function(module, exports, __webpack_require__) { | |
| 6062 | + | |
| 6063 | +var classof = __webpack_require__(101); | |
| 6064 | +var ITERATOR = __webpack_require__(10)('iterator'); | |
| 6065 | +var Iterators = __webpack_require__(35); | |
| 6066 | +module.exports = __webpack_require__(6).isIterable = function (it) { | |
| 6067 | + var O = Object(it); | |
| 6068 | + return O[ITERATOR] !== undefined | |
| 6069 | + || '@@iterator' in O | |
| 6070 | + // eslint-disable-next-line no-prototype-builtins | |
| 6071 | + || Iterators.hasOwnProperty(classof(O)); | |
| 6072 | +}; | |
| 6073 | + | |
| 6074 | + | |
| 6075 | +/***/ }), | |
| 6076 | +/* 232 */ | |
| 6077 | +/***/ (function(module, exports, __webpack_require__) { | |
| 6078 | + | |
| 6079 | +"use strict"; | |
| 6080 | + | |
| 6081 | +var global = __webpack_require__(8); | |
| 6082 | +var $export = __webpack_require__(7); | |
| 6083 | +var meta = __webpack_require__(70); | |
| 6084 | +var fails = __webpack_require__(22); | |
| 6085 | +var hide = __webpack_require__(24); | |
| 6086 | +var redefineAll = __webpack_require__(126); | |
| 6087 | +var forOf = __webpack_require__(86); | |
| 6088 | +var anInstance = __webpack_require__(125); | |
| 6089 | +var isObject = __webpack_require__(9); | |
| 6090 | +var setToStringTag = __webpack_require__(53); | |
| 6091 | +var dP = __webpack_require__(15).f; | |
| 6092 | +var each = __webpack_require__(137)(0); | |
| 6093 | +var DESCRIPTORS = __webpack_require__(14); | |
| 6094 | + | |
| 6095 | +module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) { | |
| 6096 | + var Base = global[NAME]; | |
| 6097 | + var C = Base; | |
| 6098 | + var ADDER = IS_MAP ? 'set' : 'add'; | |
| 6099 | + var proto = C && C.prototype; | |
| 6100 | + var O = {}; | |
| 6101 | + if (!DESCRIPTORS || typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () { | |
| 6102 | + new C().entries().next(); | |
| 6103 | + }))) { | |
| 6104 | + // create collection constructor | |
| 6105 | + C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER); | |
| 6106 | + redefineAll(C.prototype, methods); | |
| 6107 | + meta.NEED = true; | |
| 1928 | 6108 | } else { |
| 1929 | - info.isStatic = true; | |
| 6109 | + C = wrapper(function (target, iterable) { | |
| 6110 | + anInstance(target, C, NAME, '_c'); | |
| 6111 | + target._c = new Base(); | |
| 6112 | + if (iterable != undefined) forOf(iterable, IS_MAP, target[ADDER], target); | |
| 6113 | + }); | |
| 6114 | + each('add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON'.split(','), function (KEY) { | |
| 6115 | + var IS_ADDER = KEY == 'add' || KEY == 'set'; | |
| 6116 | + if (KEY in proto && !(IS_WEAK && KEY == 'clear')) hide(C.prototype, KEY, function (a, b) { | |
| 6117 | + anInstance(this, C, KEY); | |
| 6118 | + if (!IS_ADDER && IS_WEAK && !isObject(a)) return KEY == 'get' ? undefined : false; | |
| 6119 | + var result = this._c[KEY](a === 0 ? 0 : a, b); | |
| 6120 | + return IS_ADDER ? this : result; | |
| 6121 | + }); | |
| 6122 | + }); | |
| 6123 | + IS_WEAK || dP(C.prototype, 'size', { | |
| 6124 | + get: function () { | |
| 6125 | + return this._c.size; | |
| 6126 | + } | |
| 6127 | + }); | |
| 1930 | 6128 | } |
| 1931 | - throw new ForceMethodImplementation(info); | |
| 6129 | + | |
| 6130 | + setToStringTag(C, NAME); | |
| 6131 | + | |
| 6132 | + O[NAME] = C; | |
| 6133 | + $export($export.G + $export.W + $export.F, O); | |
| 6134 | + | |
| 6135 | + if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP); | |
| 6136 | + | |
| 6137 | + return C; | |
| 1932 | 6138 | }; |
| 1933 | 6139 | |
| 6140 | + | |
| 1934 | 6141 | /***/ }), |
| 6142 | +/* 233 */ | |
| 6143 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1935 | 6144 | |
| 1936 | -/***/ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js": | |
| 1937 | -/*!******************************************************************!*\ | |
| 1938 | - !*** ../node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***! | |
| 1939 | - \******************************************************************/ | |
| 1940 | -/***/ ((module) => { | |
| 6145 | +"use strict"; | |
| 1941 | 6146 | |
| 1942 | -function _arrayLikeToArray(r, a) { | |
| 1943 | - (null == a || a > r.length) && (a = r.length); | |
| 1944 | - for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; | |
| 1945 | - return n; | |
| 1946 | -} | |
| 1947 | -module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6147 | +// https://tc39.github.io/proposal-setmap-offrom/ | |
| 6148 | +var $export = __webpack_require__(7); | |
| 1948 | 6149 | |
| 6150 | +module.exports = function (COLLECTION) { | |
| 6151 | + $export($export.S, COLLECTION, { of: function of() { | |
| 6152 | + var length = arguments.length; | |
| 6153 | + var A = new Array(length); | |
| 6154 | + while (length--) A[length] = arguments[length]; | |
| 6155 | + return new this(A); | |
| 6156 | + } }); | |
| 6157 | +}; | |
| 6158 | + | |
| 6159 | + | |
| 1949 | 6160 | /***/ }), |
| 6161 | +/* 234 */ | |
| 6162 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1950 | 6163 | |
| 1951 | -/***/ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js": | |
| 1952 | -/*!****************************************************************!*\ | |
| 1953 | - !*** ../node_modules/@babel/runtime/helpers/arrayWithHoles.js ***! | |
| 1954 | - \****************************************************************/ | |
| 1955 | -/***/ ((module) => { | |
| 6164 | +"use strict"; | |
| 1956 | 6165 | |
| 1957 | -function _arrayWithHoles(r) { | |
| 1958 | - if (Array.isArray(r)) return r; | |
| 1959 | -} | |
| 1960 | -module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6166 | +// https://tc39.github.io/proposal-setmap-offrom/ | |
| 6167 | +var $export = __webpack_require__(7); | |
| 6168 | +var aFunction = __webpack_require__(38); | |
| 6169 | +var ctx = __webpack_require__(31); | |
| 6170 | +var forOf = __webpack_require__(86); | |
| 1961 | 6171 | |
| 6172 | +module.exports = function (COLLECTION) { | |
| 6173 | + $export($export.S, COLLECTION, { from: function from(source /* , mapFn, thisArg */) { | |
| 6174 | + var mapFn = arguments[1]; | |
| 6175 | + var mapping, A, n, cb; | |
| 6176 | + aFunction(this); | |
| 6177 | + mapping = mapFn !== undefined; | |
| 6178 | + if (mapping) aFunction(mapFn); | |
| 6179 | + if (source == undefined) return new this(); | |
| 6180 | + A = []; | |
| 6181 | + if (mapping) { | |
| 6182 | + n = 0; | |
| 6183 | + cb = ctx(mapFn, arguments[2], 2); | |
| 6184 | + forOf(source, false, function (nextItem) { | |
| 6185 | + A.push(cb(nextItem, n++)); | |
| 6186 | + }); | |
| 6187 | + } else { | |
| 6188 | + forOf(source, false, A.push, A); | |
| 6189 | + } | |
| 6190 | + return new this(A); | |
| 6191 | + } }); | |
| 6192 | +}; | |
| 6193 | + | |
| 6194 | + | |
| 1962 | 6195 | /***/ }), |
| 6196 | +/* 235 */, | |
| 6197 | +/* 236 */ | |
| 6198 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1963 | 6199 | |
| 1964 | -/***/ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js": | |
| 1965 | -/*!***********************************************************************!*\ | |
| 1966 | - !*** ../node_modules/@babel/runtime/helpers/assertThisInitialized.js ***! | |
| 1967 | - \***********************************************************************/ | |
| 1968 | -/***/ ((module) => { | |
| 6200 | +module.exports = __webpack_require__(249); | |
| 1969 | 6201 | |
| 1970 | -function _assertThisInitialized(e) { | |
| 1971 | - if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
| 1972 | - return e; | |
| 1973 | -} | |
| 1974 | -module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6202 | +/***/ }), | |
| 6203 | +/* 237 */, | |
| 6204 | +/* 238 */, | |
| 6205 | +/* 239 */ | |
| 6206 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1975 | 6207 | |
| 6208 | +__webpack_require__(240); | |
| 6209 | +module.exports = __webpack_require__(6).Object.values; | |
| 6210 | + | |
| 6211 | + | |
| 1976 | 6212 | /***/ }), |
| 6213 | +/* 240 */ | |
| 6214 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1977 | 6215 | |
| 1978 | -/***/ "../node_modules/@babel/runtime/helpers/classCallCheck.js": | |
| 1979 | -/*!****************************************************************!*\ | |
| 1980 | - !*** ../node_modules/@babel/runtime/helpers/classCallCheck.js ***! | |
| 1981 | - \****************************************************************/ | |
| 1982 | -/***/ ((module) => { | |
| 6216 | +// https://github.com/tc39/proposal-object-values-entries | |
| 6217 | +var $export = __webpack_require__(7); | |
| 6218 | +var $values = __webpack_require__(185)(false); | |
| 1983 | 6219 | |
| 1984 | -function _classCallCheck(a, n) { | |
| 1985 | - if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); | |
| 1986 | -} | |
| 1987 | -module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6220 | +$export($export.S, 'Object', { | |
| 6221 | + values: function values(it) { | |
| 6222 | + return $values(it); | |
| 6223 | + } | |
| 6224 | +}); | |
| 1988 | 6225 | |
| 6226 | + | |
| 1989 | 6227 | /***/ }), |
| 6228 | +/* 241 */ | |
| 6229 | +/***/ (function(module, exports) { | |
| 1990 | 6230 | |
| 1991 | -/***/ "../node_modules/@babel/runtime/helpers/construct.js": | |
| 1992 | -/*!***********************************************************!*\ | |
| 1993 | - !*** ../node_modules/@babel/runtime/helpers/construct.js ***! | |
| 1994 | - \***********************************************************/ | |
| 1995 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6231 | +module.exports = function (done, value) { | |
| 6232 | + return { value: value, done: !!done }; | |
| 6233 | +}; | |
| 1996 | 6234 | |
| 1997 | -var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ "../node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js"); | |
| 1998 | -var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js"); | |
| 1999 | -function _construct(t, e, r) { | |
| 2000 | - if (isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments); | |
| 2001 | - var o = [null]; | |
| 2002 | - o.push.apply(o, e); | |
| 2003 | - var p = new (t.bind.apply(t, o))(); | |
| 2004 | - return r && setPrototypeOf(p, r.prototype), p; | |
| 2005 | -} | |
| 2006 | -module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2007 | 6235 | |
| 2008 | 6236 | /***/ }), |
| 6237 | +/* 242 */ | |
| 6238 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2009 | 6239 | |
| 2010 | -/***/ "../node_modules/@babel/runtime/helpers/createClass.js": | |
| 2011 | -/*!*************************************************************!*\ | |
| 2012 | - !*** ../node_modules/@babel/runtime/helpers/createClass.js ***! | |
| 2013 | - \*************************************************************/ | |
| 2014 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6240 | +"use strict"; | |
| 2015 | 6241 | |
| 2016 | -var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js"); | |
| 2017 | -function _defineProperties(e, r) { | |
| 2018 | - for (var t = 0; t < r.length; t++) { | |
| 2019 | - var o = r[t]; | |
| 2020 | - o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o); | |
| 2021 | - } | |
| 2022 | -} | |
| 2023 | -function _createClass(e, r, t) { | |
| 2024 | - return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { | |
| 2025 | - writable: !1 | |
| 2026 | - }), e; | |
| 2027 | -} | |
| 2028 | -module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6242 | +var create = __webpack_require__(226); | |
| 6243 | +var descriptor = __webpack_require__(102); | |
| 6244 | +var setToStringTag = __webpack_require__(153); | |
| 6245 | +var IteratorPrototype = {}; | |
| 2029 | 6246 | |
| 6247 | +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() | |
| 6248 | +__webpack_require__(29)(IteratorPrototype, __webpack_require__(12)('iterator'), function () { return this; }); | |
| 6249 | + | |
| 6250 | +module.exports = function (Constructor, NAME, next) { | |
| 6251 | + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); | |
| 6252 | + setToStringTag(Constructor, NAME + ' Iterator'); | |
| 6253 | +}; | |
| 6254 | + | |
| 6255 | + | |
| 2030 | 6256 | /***/ }), |
| 6257 | +/* 243 */ | |
| 6258 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2031 | 6259 | |
| 2032 | -/***/ "../node_modules/@babel/runtime/helpers/defineProperty.js": | |
| 2033 | -/*!****************************************************************!*\ | |
| 2034 | - !*** ../node_modules/@babel/runtime/helpers/defineProperty.js ***! | |
| 2035 | - \****************************************************************/ | |
| 2036 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6260 | +var dP = __webpack_require__(45); | |
| 6261 | +var anObject = __webpack_require__(18); | |
| 6262 | +var getKeys = __webpack_require__(184); | |
| 2037 | 6263 | |
| 2038 | -var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js"); | |
| 2039 | -function _defineProperty(e, r, t) { | |
| 2040 | - return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, { | |
| 2041 | - value: t, | |
| 2042 | - enumerable: !0, | |
| 2043 | - configurable: !0, | |
| 2044 | - writable: !0 | |
| 2045 | - }) : e[r] = t, e; | |
| 2046 | -} | |
| 2047 | -module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6264 | +module.exports = __webpack_require__(27) ? Object.defineProperties : function defineProperties(O, Properties) { | |
| 6265 | + anObject(O); | |
| 6266 | + var keys = getKeys(Properties); | |
| 6267 | + var length = keys.length; | |
| 6268 | + var i = 0; | |
| 6269 | + var P; | |
| 6270 | + while (length > i) dP.f(O, P = keys[i++], Properties[P]); | |
| 6271 | + return O; | |
| 6272 | +}; | |
| 2048 | 6273 | |
| 6274 | + | |
| 2049 | 6275 | /***/ }), |
| 6276 | +/* 244 */ | |
| 6277 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2050 | 6278 | |
| 2051 | -/***/ "../node_modules/@babel/runtime/helpers/get.js": | |
| 2052 | -/*!*****************************************************!*\ | |
| 2053 | - !*** ../node_modules/@babel/runtime/helpers/get.js ***! | |
| 2054 | - \*****************************************************/ | |
| 2055 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6279 | +// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) | |
| 6280 | +var has = __webpack_require__(61); | |
| 6281 | +var toObject = __webpack_require__(96); | |
| 6282 | +var IE_PROTO = __webpack_require__(130)('IE_PROTO'); | |
| 6283 | +var ObjectProto = Object.prototype; | |
| 2056 | 6284 | |
| 2057 | -var superPropBase = __webpack_require__(/*! ./superPropBase.js */ "../node_modules/@babel/runtime/helpers/superPropBase.js"); | |
| 2058 | -function _get() { | |
| 2059 | - return module.exports = _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) { | |
| 2060 | - var p = superPropBase(e, t); | |
| 2061 | - if (p) { | |
| 2062 | - var n = Object.getOwnPropertyDescriptor(p, t); | |
| 2063 | - return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value; | |
| 2064 | - } | |
| 2065 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _get.apply(null, arguments); | |
| 2066 | -} | |
| 2067 | -module.exports = _get, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6285 | +module.exports = Object.getPrototypeOf || function (O) { | |
| 6286 | + O = toObject(O); | |
| 6287 | + if (has(O, IE_PROTO)) return O[IE_PROTO]; | |
| 6288 | + if (typeof O.constructor == 'function' && O instanceof O.constructor) { | |
| 6289 | + return O.constructor.prototype; | |
| 6290 | + } return O instanceof Object ? ObjectProto : null; | |
| 6291 | +}; | |
| 2068 | 6292 | |
| 6293 | + | |
| 2069 | 6294 | /***/ }), |
| 6295 | +/* 245 */ | |
| 6296 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2070 | 6297 | |
| 2071 | -/***/ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js": | |
| 2072 | -/*!****************************************************************!*\ | |
| 2073 | - !*** ../node_modules/@babel/runtime/helpers/getPrototypeOf.js ***! | |
| 2074 | - \****************************************************************/ | |
| 2075 | -/***/ ((module) => { | |
| 6298 | +// 9.4.2.3 ArraySpeciesCreate(originalArray, length) | |
| 6299 | +var speciesConstructor = __webpack_require__(246); | |
| 2076 | 6300 | |
| 2077 | -function _getPrototypeOf(t) { | |
| 2078 | - return module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { | |
| 2079 | - return t.__proto__ || Object.getPrototypeOf(t); | |
| 2080 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _getPrototypeOf(t); | |
| 2081 | -} | |
| 2082 | -module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6301 | +module.exports = function (original, length) { | |
| 6302 | + return new (speciesConstructor(original))(length); | |
| 6303 | +}; | |
| 2083 | 6304 | |
| 6305 | + | |
| 2084 | 6306 | /***/ }), |
| 6307 | +/* 246 */ | |
| 6308 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2085 | 6309 | |
| 2086 | -/***/ "../node_modules/@babel/runtime/helpers/inherits.js": | |
| 2087 | -/*!**********************************************************!*\ | |
| 2088 | - !*** ../node_modules/@babel/runtime/helpers/inherits.js ***! | |
| 2089 | - \**********************************************************/ | |
| 2090 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6310 | +var isObject = __webpack_require__(9); | |
| 6311 | +var isArray = __webpack_require__(97); | |
| 6312 | +var SPECIES = __webpack_require__(10)('species'); | |
| 2091 | 6313 | |
| 2092 | -var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js"); | |
| 2093 | -function _inherits(t, e) { | |
| 2094 | - if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); | |
| 2095 | - t.prototype = Object.create(e && e.prototype, { | |
| 2096 | - constructor: { | |
| 2097 | - value: t, | |
| 2098 | - writable: !0, | |
| 2099 | - configurable: !0 | |
| 6314 | +module.exports = function (original) { | |
| 6315 | + var C; | |
| 6316 | + if (isArray(original)) { | |
| 6317 | + C = original.constructor; | |
| 6318 | + // cross-realm fallback | |
| 6319 | + if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; | |
| 6320 | + if (isObject(C)) { | |
| 6321 | + C = C[SPECIES]; | |
| 6322 | + if (C === null) C = undefined; | |
| 2100 | 6323 | } |
| 2101 | - }), Object.defineProperty(t, "prototype", { | |
| 2102 | - writable: !1 | |
| 2103 | - }), e && setPrototypeOf(t, e); | |
| 2104 | -} | |
| 2105 | -module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6324 | + } return C === undefined ? Array : C; | |
| 6325 | +}; | |
| 2106 | 6326 | |
| 6327 | + | |
| 2107 | 6328 | /***/ }), |
| 6329 | +/* 247 */ | |
| 6330 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2108 | 6331 | |
| 2109 | -/***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js": | |
| 2110 | -/*!***********************************************************************!*\ | |
| 2111 | - !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! | |
| 2112 | - \***********************************************************************/ | |
| 2113 | -/***/ ((module) => { | |
| 6332 | +var _Array$isArray = __webpack_require__(81); | |
| 2114 | 6333 | |
| 2115 | -function _interopRequireDefault(e) { | |
| 2116 | - return e && e.__esModule ? e : { | |
| 2117 | - "default": e | |
| 2118 | - }; | |
| 6334 | +function _arrayWithHoles(arr) { | |
| 6335 | + if (_Array$isArray(arr)) return arr; | |
| 2119 | 6336 | } |
| 2120 | -module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2121 | 6337 | |
| 6338 | +module.exports = _arrayWithHoles; | |
| 6339 | + | |
| 2122 | 6340 | /***/ }), |
| 6341 | +/* 248 */ | |
| 6342 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2123 | 6343 | |
| 2124 | -/***/ "../node_modules/@babel/runtime/helpers/isNativeFunction.js": | |
| 2125 | -/*!******************************************************************!*\ | |
| 2126 | - !*** ../node_modules/@babel/runtime/helpers/isNativeFunction.js ***! | |
| 2127 | - \******************************************************************/ | |
| 2128 | -/***/ ((module) => { | |
| 6344 | +var _getIterator = __webpack_require__(236); | |
| 2129 | 6345 | |
| 2130 | -function _isNativeFunction(t) { | |
| 6346 | +var _isIterable = __webpack_require__(211); | |
| 6347 | + | |
| 6348 | +var _Symbol = __webpack_require__(111); | |
| 6349 | + | |
| 6350 | +function _iterableToArrayLimit(arr, i) { | |
| 6351 | + if (typeof _Symbol === "undefined" || !_isIterable(Object(arr))) return; | |
| 6352 | + var _arr = []; | |
| 6353 | + var _n = true; | |
| 6354 | + var _d = false; | |
| 6355 | + var _e = undefined; | |
| 6356 | + | |
| 2131 | 6357 | try { |
| 2132 | - return -1 !== Function.toString.call(t).indexOf("[native code]"); | |
| 2133 | - } catch (n) { | |
| 2134 | - return "function" == typeof t; | |
| 6358 | + for (var _i = _getIterator(arr), _s; !(_n = (_s = _i.next()).done); _n = true) { | |
| 6359 | + _arr.push(_s.value); | |
| 6360 | + | |
| 6361 | + if (i && _arr.length === i) break; | |
| 6362 | + } | |
| 6363 | + } catch (err) { | |
| 6364 | + _d = true; | |
| 6365 | + _e = err; | |
| 6366 | + } finally { | |
| 6367 | + try { | |
| 6368 | + if (!_n && _i["return"] != null) _i["return"](); | |
| 6369 | + } finally { | |
| 6370 | + if (_d) throw _e; | |
| 6371 | + } | |
| 2135 | 6372 | } |
| 6373 | + | |
| 6374 | + return _arr; | |
| 2136 | 6375 | } |
| 2137 | -module.exports = _isNativeFunction, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2138 | 6376 | |
| 6377 | +module.exports = _iterableToArrayLimit; | |
| 6378 | + | |
| 2139 | 6379 | /***/ }), |
| 6380 | +/* 249 */ | |
| 6381 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2140 | 6382 | |
| 2141 | -/***/ "../node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js": | |
| 2142 | -/*!**************************************************************************!*\ | |
| 2143 | - !*** ../node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js ***! | |
| 2144 | - \**************************************************************************/ | |
| 2145 | -/***/ ((module) => { | |
| 6383 | +__webpack_require__(62); | |
| 6384 | +__webpack_require__(60); | |
| 6385 | +module.exports = __webpack_require__(250); | |
| 2146 | 6386 | |
| 2147 | -function _isNativeReflectConstruct() { | |
| 2148 | - try { | |
| 2149 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); | |
| 2150 | - } catch (t) {} | |
| 2151 | - return (module.exports = _isNativeReflectConstruct = function _isNativeReflectConstruct() { | |
| 2152 | - return !!t; | |
| 2153 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports)(); | |
| 6387 | + | |
| 6388 | +/***/ }), | |
| 6389 | +/* 250 */ | |
| 6390 | +/***/ (function(module, exports, __webpack_require__) { | |
| 6391 | + | |
| 6392 | +var anObject = __webpack_require__(13); | |
| 6393 | +var get = __webpack_require__(112); | |
| 6394 | +module.exports = __webpack_require__(6).getIterator = function (it) { | |
| 6395 | + var iterFn = get(it); | |
| 6396 | + if (typeof iterFn != 'function') throw TypeError(it + ' is not iterable!'); | |
| 6397 | + return anObject(iterFn.call(it)); | |
| 6398 | +}; | |
| 6399 | + | |
| 6400 | + | |
| 6401 | +/***/ }), | |
| 6402 | +/* 251 */ | |
| 6403 | +/***/ (function(module, exports) { | |
| 6404 | + | |
| 6405 | +function _nonIterableRest() { | |
| 6406 | + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | |
| 2154 | 6407 | } |
| 2155 | -module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2156 | 6408 | |
| 6409 | +module.exports = _nonIterableRest; | |
| 6410 | + | |
| 2157 | 6411 | /***/ }), |
| 6412 | +/* 252 */ | |
| 6413 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2158 | 6414 | |
| 2159 | -/***/ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js": | |
| 2160 | -/*!**********************************************************************!*\ | |
| 2161 | - !*** ../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***! | |
| 2162 | - \**********************************************************************/ | |
| 2163 | -/***/ ((module) => { | |
| 6415 | +"use strict"; | |
| 2164 | 6416 | |
| 2165 | -function _iterableToArrayLimit(r, l) { | |
| 2166 | - var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; | |
| 2167 | - if (null != t) { | |
| 2168 | - var e, | |
| 2169 | - n, | |
| 2170 | - i, | |
| 2171 | - u, | |
| 2172 | - a = [], | |
| 2173 | - f = !0, | |
| 2174 | - o = !1; | |
| 2175 | - try { | |
| 2176 | - if (i = (t = t.call(r)).next, 0 === l) { | |
| 2177 | - if (Object(t) !== t) return; | |
| 2178 | - f = !1; | |
| 2179 | - } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); | |
| 2180 | - } catch (r) { | |
| 2181 | - o = !0, n = r; | |
| 2182 | - } finally { | |
| 2183 | - try { | |
| 2184 | - if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; | |
| 2185 | - } finally { | |
| 2186 | - if (o) throw n; | |
| 6417 | + | |
| 6418 | +var _interopRequireDefault = __webpack_require__(0); | |
| 6419 | + | |
| 6420 | +var _Object$defineProperty = __webpack_require__(1); | |
| 6421 | + | |
| 6422 | +_Object$defineProperty(exports, "__esModule", { | |
| 6423 | + value: true | |
| 6424 | +}); | |
| 6425 | + | |
| 6426 | +exports.default = void 0; | |
| 6427 | + | |
| 6428 | +__webpack_require__(39); | |
| 6429 | + | |
| 6430 | +var _isArray = _interopRequireDefault(__webpack_require__(81)); | |
| 6431 | + | |
| 6432 | +var _hasInstance = _interopRequireDefault(__webpack_require__(253)); | |
| 6433 | + | |
| 6434 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 6435 | + | |
| 6436 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 6437 | + | |
| 6438 | +var _get2 = _interopRequireDefault(__webpack_require__(25)); | |
| 6439 | + | |
| 6440 | +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16)); | |
| 6441 | + | |
| 6442 | +var InstanceType = /*#__PURE__*/function () { | |
| 6443 | + (0, _createClass2.default)(InstanceType, null, [{ | |
| 6444 | + key: _hasInstance.default, | |
| 6445 | + value: function value(target) { | |
| 6446 | + /** | |
| 6447 | + * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class | |
| 6448 | + * its give's opportunity to mange capabilities of instanceOf operator. | |
| 6449 | + * saving current class each time will give option later to handle instanceOf manually. | |
| 6450 | + */ | |
| 6451 | + var result = (0, _get2.default)((0, _getPrototypeOf2.default)(InstanceType), _hasInstance.default, this).call(this, target); // Act normal when validate a class, which does not have instance type. | |
| 6452 | + | |
| 6453 | + if (target && !target.constructor.getInstanceType) { | |
| 6454 | + return result; | |
| 2187 | 6455 | } |
| 6456 | + | |
| 6457 | + if (target) { | |
| 6458 | + if (!target.instanceTypes) { | |
| 6459 | + target.instanceTypes = []; | |
| 6460 | + } | |
| 6461 | + | |
| 6462 | + if (!result) { | |
| 6463 | + if (this.getInstanceType() === target.constructor.getInstanceType()) { | |
| 6464 | + result = true; | |
| 6465 | + } | |
| 6466 | + } | |
| 6467 | + | |
| 6468 | + if (result) { | |
| 6469 | + var name = this.getInstanceType === InstanceType.getInstanceType ? 'BaseInstanceType' : this.getInstanceType(); | |
| 6470 | + | |
| 6471 | + if (-1 === target.instanceTypes.indexOf(name)) { | |
| 6472 | + target.instanceTypes.push(name); | |
| 6473 | + } | |
| 6474 | + } | |
| 6475 | + } | |
| 6476 | + | |
| 6477 | + if (!result && target) { | |
| 6478 | + // Check if the given 'target', is instance of known types. | |
| 6479 | + result = target.instanceTypes && (0, _isArray.default)(target.instanceTypes) && -1 !== target.instanceTypes.indexOf(this.getInstanceType()); | |
| 6480 | + } | |
| 6481 | + | |
| 6482 | + return result; | |
| 2188 | 6483 | } |
| 2189 | - return a; | |
| 6484 | + }]); | |
| 6485 | + | |
| 6486 | + function InstanceType() { | |
| 6487 | + var _this = this; | |
| 6488 | + | |
| 6489 | + (0, _classCallCheck2.default)(this, InstanceType); | |
| 6490 | + // Since anonymous classes sometimes do not get validated by babel, do it manually. | |
| 6491 | + var target = this instanceof InstanceType ? this.constructor : void 0; | |
| 6492 | + var prototypes = []; | |
| 6493 | + | |
| 6494 | + while (target.__proto__ && target.__proto__.name) { | |
| 6495 | + prototypes.push(target.__proto__); | |
| 6496 | + target = target.__proto__; | |
| 6497 | + } | |
| 6498 | + | |
| 6499 | + prototypes.reverse().forEach(function (proto) { | |
| 6500 | + return _this instanceof proto; | |
| 6501 | + }); | |
| 2190 | 6502 | } |
| 2191 | -} | |
| 2192 | -module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2193 | 6503 | |
| 6504 | + (0, _createClass2.default)(InstanceType, null, [{ | |
| 6505 | + key: "getInstanceType", | |
| 6506 | + value: function getInstanceType() { | |
| 6507 | + elementorModules.ForceMethodImplementation(); | |
| 6508 | + } | |
| 6509 | + }]); | |
| 6510 | + return InstanceType; | |
| 6511 | +}(); | |
| 6512 | + | |
| 6513 | +exports.default = InstanceType; | |
| 6514 | + | |
| 2194 | 6515 | /***/ }), |
| 6516 | +/* 253 */ | |
| 6517 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2195 | 6518 | |
| 2196 | -/***/ "../node_modules/@babel/runtime/helpers/nonIterableRest.js": | |
| 2197 | -/*!*****************************************************************!*\ | |
| 2198 | - !*** ../node_modules/@babel/runtime/helpers/nonIterableRest.js ***! | |
| 2199 | - \*****************************************************************/ | |
| 2200 | -/***/ ((module) => { | |
| 6519 | +module.exports = __webpack_require__(254); | |
| 2201 | 6520 | |
| 2202 | -function _nonIterableRest() { | |
| 2203 | - throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | |
| 2204 | -} | |
| 2205 | -module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6521 | +/***/ }), | |
| 6522 | +/* 254 */ | |
| 6523 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2206 | 6524 | |
| 6525 | +__webpack_require__(255); | |
| 6526 | +module.exports = __webpack_require__(63).f('hasInstance'); | |
| 6527 | + | |
| 6528 | + | |
| 2207 | 6529 | /***/ }), |
| 6530 | +/* 255 */ | |
| 6531 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2208 | 6532 | |
| 2209 | -/***/ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js": | |
| 2210 | -/*!***************************************************************************!*\ | |
| 2211 | - !*** ../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***! | |
| 2212 | - \***************************************************************************/ | |
| 2213 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6533 | +"use strict"; | |
| 2214 | 6534 | |
| 2215 | -var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 2216 | -var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js"); | |
| 2217 | -function _possibleConstructorReturn(t, e) { | |
| 2218 | - if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; | |
| 2219 | - if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); | |
| 2220 | - return assertThisInitialized(t); | |
| 2221 | -} | |
| 2222 | -module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6535 | +var isObject = __webpack_require__(9); | |
| 6536 | +var getPrototypeOf = __webpack_require__(64); | |
| 6537 | +var HAS_INSTANCE = __webpack_require__(10)('hasInstance'); | |
| 6538 | +var FunctionProto = Function.prototype; | |
| 6539 | +// 19.2.3.6 Function.prototype[@@hasInstance](V) | |
| 6540 | +if (!(HAS_INSTANCE in FunctionProto)) __webpack_require__(15).f(FunctionProto, HAS_INSTANCE, { value: function (O) { | |
| 6541 | + if (typeof this != 'function' || !isObject(O)) return false; | |
| 6542 | + if (!isObject(this.prototype)) return O instanceof this; | |
| 6543 | + // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this: | |
| 6544 | + while (O = getPrototypeOf(O)) if (this.prototype === O) return true; | |
| 6545 | + return false; | |
| 6546 | +} }); | |
| 2223 | 6547 | |
| 6548 | + | |
| 2224 | 6549 | /***/ }), |
| 6550 | +/* 256 */, | |
| 6551 | +/* 257 */ | |
| 6552 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2225 | 6553 | |
| 2226 | -/***/ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js": | |
| 2227 | -/*!****************************************************************!*\ | |
| 2228 | - !*** ../node_modules/@babel/runtime/helpers/setPrototypeOf.js ***! | |
| 2229 | - \****************************************************************/ | |
| 2230 | -/***/ ((module) => { | |
| 6554 | +__webpack_require__(100); | |
| 6555 | +__webpack_require__(60); | |
| 6556 | +__webpack_require__(62); | |
| 6557 | +__webpack_require__(258); | |
| 6558 | +__webpack_require__(261); | |
| 6559 | +__webpack_require__(262); | |
| 6560 | +module.exports = __webpack_require__(6).Promise; | |
| 2231 | 6561 | |
| 2232 | -function _setPrototypeOf(t, e) { | |
| 2233 | - return module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { | |
| 2234 | - return t.__proto__ = e, t; | |
| 2235 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _setPrototypeOf(t, e); | |
| 6562 | + | |
| 6563 | +/***/ }), | |
| 6564 | +/* 258 */ | |
| 6565 | +/***/ (function(module, exports, __webpack_require__) { | |
| 6566 | + | |
| 6567 | +"use strict"; | |
| 6568 | + | |
| 6569 | +var LIBRARY = __webpack_require__(47); | |
| 6570 | +var global = __webpack_require__(8); | |
| 6571 | +var ctx = __webpack_require__(31); | |
| 6572 | +var classof = __webpack_require__(101); | |
| 6573 | +var $export = __webpack_require__(7); | |
| 6574 | +var isObject = __webpack_require__(9); | |
| 6575 | +var aFunction = __webpack_require__(38); | |
| 6576 | +var anInstance = __webpack_require__(125); | |
| 6577 | +var forOf = __webpack_require__(86); | |
| 6578 | +var speciesConstructor = __webpack_require__(207); | |
| 6579 | +var task = __webpack_require__(208).set; | |
| 6580 | +var microtask = __webpack_require__(259)(); | |
| 6581 | +var newPromiseCapabilityModule = __webpack_require__(145); | |
| 6582 | +var perform = __webpack_require__(209); | |
| 6583 | +var userAgent = __webpack_require__(260); | |
| 6584 | +var promiseResolve = __webpack_require__(210); | |
| 6585 | +var PROMISE = 'Promise'; | |
| 6586 | +var TypeError = global.TypeError; | |
| 6587 | +var process = global.process; | |
| 6588 | +var versions = process && process.versions; | |
| 6589 | +var v8 = versions && versions.v8 || ''; | |
| 6590 | +var $Promise = global[PROMISE]; | |
| 6591 | +var isNode = classof(process) == 'process'; | |
| 6592 | +var empty = function () { /* empty */ }; | |
| 6593 | +var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper; | |
| 6594 | +var newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f; | |
| 6595 | + | |
| 6596 | +var USE_NATIVE = !!function () { | |
| 6597 | + try { | |
| 6598 | + // correct subclassing with @@species support | |
| 6599 | + var promise = $Promise.resolve(1); | |
| 6600 | + var FakePromise = (promise.constructor = {})[__webpack_require__(10)('species')] = function (exec) { | |
| 6601 | + exec(empty, empty); | |
| 6602 | + }; | |
| 6603 | + // unhandled rejections tracking support, NodeJS Promise without it fails @@species test | |
| 6604 | + return (isNode || typeof PromiseRejectionEvent == 'function') | |
| 6605 | + && promise.then(empty) instanceof FakePromise | |
| 6606 | + // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables | |
| 6607 | + // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 | |
| 6608 | + // we can't detect it synchronously, so just check versions | |
| 6609 | + && v8.indexOf('6.6') !== 0 | |
| 6610 | + && userAgent.indexOf('Chrome/66') === -1; | |
| 6611 | + } catch (e) { /* empty */ } | |
| 6612 | +}(); | |
| 6613 | + | |
| 6614 | +// helpers | |
| 6615 | +var isThenable = function (it) { | |
| 6616 | + var then; | |
| 6617 | + return isObject(it) && typeof (then = it.then) == 'function' ? then : false; | |
| 6618 | +}; | |
| 6619 | +var notify = function (promise, isReject) { | |
| 6620 | + if (promise._n) return; | |
| 6621 | + promise._n = true; | |
| 6622 | + var chain = promise._c; | |
| 6623 | + microtask(function () { | |
| 6624 | + var value = promise._v; | |
| 6625 | + var ok = promise._s == 1; | |
| 6626 | + var i = 0; | |
| 6627 | + var run = function (reaction) { | |
| 6628 | + var handler = ok ? reaction.ok : reaction.fail; | |
| 6629 | + var resolve = reaction.resolve; | |
| 6630 | + var reject = reaction.reject; | |
| 6631 | + var domain = reaction.domain; | |
| 6632 | + var result, then, exited; | |
| 6633 | + try { | |
| 6634 | + if (handler) { | |
| 6635 | + if (!ok) { | |
| 6636 | + if (promise._h == 2) onHandleUnhandled(promise); | |
| 6637 | + promise._h = 1; | |
| 6638 | + } | |
| 6639 | + if (handler === true) result = value; | |
| 6640 | + else { | |
| 6641 | + if (domain) domain.enter(); | |
| 6642 | + result = handler(value); // may throw | |
| 6643 | + if (domain) { | |
| 6644 | + domain.exit(); | |
| 6645 | + exited = true; | |
| 6646 | + } | |
| 6647 | + } | |
| 6648 | + if (result === reaction.promise) { | |
| 6649 | + reject(TypeError('Promise-chain cycle')); | |
| 6650 | + } else if (then = isThenable(result)) { | |
| 6651 | + then.call(result, resolve, reject); | |
| 6652 | + } else resolve(result); | |
| 6653 | + } else reject(value); | |
| 6654 | + } catch (e) { | |
| 6655 | + if (domain && !exited) domain.exit(); | |
| 6656 | + reject(e); | |
| 6657 | + } | |
| 6658 | + }; | |
| 6659 | + while (chain.length > i) run(chain[i++]); // variable length - can't use forEach | |
| 6660 | + promise._c = []; | |
| 6661 | + promise._n = false; | |
| 6662 | + if (isReject && !promise._h) onUnhandled(promise); | |
| 6663 | + }); | |
| 6664 | +}; | |
| 6665 | +var onUnhandled = function (promise) { | |
| 6666 | + task.call(global, function () { | |
| 6667 | + var value = promise._v; | |
| 6668 | + var unhandled = isUnhandled(promise); | |
| 6669 | + var result, handler, console; | |
| 6670 | + if (unhandled) { | |
| 6671 | + result = perform(function () { | |
| 6672 | + if (isNode) { | |
| 6673 | + process.emit('unhandledRejection', value, promise); | |
| 6674 | + } else if (handler = global.onunhandledrejection) { | |
| 6675 | + handler({ promise: promise, reason: value }); | |
| 6676 | + } else if ((console = global.console) && console.error) { | |
| 6677 | + console.error('Unhandled promise rejection', value); | |
| 6678 | + } | |
| 6679 | + }); | |
| 6680 | + // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should | |
| 6681 | + promise._h = isNode || isUnhandled(promise) ? 2 : 1; | |
| 6682 | + } promise._a = undefined; | |
| 6683 | + if (unhandled && result.e) throw result.v; | |
| 6684 | + }); | |
| 6685 | +}; | |
| 6686 | +var isUnhandled = function (promise) { | |
| 6687 | + return promise._h !== 1 && (promise._a || promise._c).length === 0; | |
| 6688 | +}; | |
| 6689 | +var onHandleUnhandled = function (promise) { | |
| 6690 | + task.call(global, function () { | |
| 6691 | + var handler; | |
| 6692 | + if (isNode) { | |
| 6693 | + process.emit('rejectionHandled', promise); | |
| 6694 | + } else if (handler = global.onrejectionhandled) { | |
| 6695 | + handler({ promise: promise, reason: promise._v }); | |
| 6696 | + } | |
| 6697 | + }); | |
| 6698 | +}; | |
| 6699 | +var $reject = function (value) { | |
| 6700 | + var promise = this; | |
| 6701 | + if (promise._d) return; | |
| 6702 | + promise._d = true; | |
| 6703 | + promise = promise._w || promise; // unwrap | |
| 6704 | + promise._v = value; | |
| 6705 | + promise._s = 2; | |
| 6706 | + if (!promise._a) promise._a = promise._c.slice(); | |
| 6707 | + notify(promise, true); | |
| 6708 | +}; | |
| 6709 | +var $resolve = function (value) { | |
| 6710 | + var promise = this; | |
| 6711 | + var then; | |
| 6712 | + if (promise._d) return; | |
| 6713 | + promise._d = true; | |
| 6714 | + promise = promise._w || promise; // unwrap | |
| 6715 | + try { | |
| 6716 | + if (promise === value) throw TypeError("Promise can't be resolved itself"); | |
| 6717 | + if (then = isThenable(value)) { | |
| 6718 | + microtask(function () { | |
| 6719 | + var wrapper = { _w: promise, _d: false }; // wrap | |
| 6720 | + try { | |
| 6721 | + then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1)); | |
| 6722 | + } catch (e) { | |
| 6723 | + $reject.call(wrapper, e); | |
| 6724 | + } | |
| 6725 | + }); | |
| 6726 | + } else { | |
| 6727 | + promise._v = value; | |
| 6728 | + promise._s = 1; | |
| 6729 | + notify(promise, false); | |
| 6730 | + } | |
| 6731 | + } catch (e) { | |
| 6732 | + $reject.call({ _w: promise, _d: false }, e); // wrap | |
| 6733 | + } | |
| 6734 | +}; | |
| 6735 | + | |
| 6736 | +// constructor polyfill | |
| 6737 | +if (!USE_NATIVE) { | |
| 6738 | + // 25.4.3.1 Promise(executor) | |
| 6739 | + $Promise = function Promise(executor) { | |
| 6740 | + anInstance(this, $Promise, PROMISE, '_h'); | |
| 6741 | + aFunction(executor); | |
| 6742 | + Internal.call(this); | |
| 6743 | + try { | |
| 6744 | + executor(ctx($resolve, this, 1), ctx($reject, this, 1)); | |
| 6745 | + } catch (err) { | |
| 6746 | + $reject.call(this, err); | |
| 6747 | + } | |
| 6748 | + }; | |
| 6749 | + // eslint-disable-next-line no-unused-vars | |
| 6750 | + Internal = function Promise(executor) { | |
| 6751 | + this._c = []; // <- awaiting reactions | |
| 6752 | + this._a = undefined; // <- checked in isUnhandled reactions | |
| 6753 | + this._s = 0; // <- state | |
| 6754 | + this._d = false; // <- done | |
| 6755 | + this._v = undefined; // <- value | |
| 6756 | + this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled | |
| 6757 | + this._n = false; // <- notify | |
| 6758 | + }; | |
| 6759 | + Internal.prototype = __webpack_require__(126)($Promise.prototype, { | |
| 6760 | + // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected) | |
| 6761 | + then: function then(onFulfilled, onRejected) { | |
| 6762 | + var reaction = newPromiseCapability(speciesConstructor(this, $Promise)); | |
| 6763 | + reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true; | |
| 6764 | + reaction.fail = typeof onRejected == 'function' && onRejected; | |
| 6765 | + reaction.domain = isNode ? process.domain : undefined; | |
| 6766 | + this._c.push(reaction); | |
| 6767 | + if (this._a) this._a.push(reaction); | |
| 6768 | + if (this._s) notify(this, false); | |
| 6769 | + return reaction.promise; | |
| 6770 | + }, | |
| 6771 | + // 25.4.5.1 Promise.prototype.catch(onRejected) | |
| 6772 | + 'catch': function (onRejected) { | |
| 6773 | + return this.then(undefined, onRejected); | |
| 6774 | + } | |
| 6775 | + }); | |
| 6776 | + OwnPromiseCapability = function () { | |
| 6777 | + var promise = new Internal(); | |
| 6778 | + this.promise = promise; | |
| 6779 | + this.resolve = ctx($resolve, promise, 1); | |
| 6780 | + this.reject = ctx($reject, promise, 1); | |
| 6781 | + }; | |
| 6782 | + newPromiseCapabilityModule.f = newPromiseCapability = function (C) { | |
| 6783 | + return C === $Promise || C === Wrapper | |
| 6784 | + ? new OwnPromiseCapability(C) | |
| 6785 | + : newGenericPromiseCapability(C); | |
| 6786 | + }; | |
| 2236 | 6787 | } |
| 2237 | -module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2238 | 6788 | |
| 6789 | +$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise }); | |
| 6790 | +__webpack_require__(53)($Promise, PROMISE); | |
| 6791 | +__webpack_require__(225)(PROMISE); | |
| 6792 | +Wrapper = __webpack_require__(6)[PROMISE]; | |
| 6793 | + | |
| 6794 | +// statics | |
| 6795 | +$export($export.S + $export.F * !USE_NATIVE, PROMISE, { | |
| 6796 | + // 25.4.4.5 Promise.reject(r) | |
| 6797 | + reject: function reject(r) { | |
| 6798 | + var capability = newPromiseCapability(this); | |
| 6799 | + var $$reject = capability.reject; | |
| 6800 | + $$reject(r); | |
| 6801 | + return capability.promise; | |
| 6802 | + } | |
| 6803 | +}); | |
| 6804 | +$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, { | |
| 6805 | + // 25.4.4.6 Promise.resolve(x) | |
| 6806 | + resolve: function resolve(x) { | |
| 6807 | + return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x); | |
| 6808 | + } | |
| 6809 | +}); | |
| 6810 | +$export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(152)(function (iter) { | |
| 6811 | + $Promise.all(iter)['catch'](empty); | |
| 6812 | +})), PROMISE, { | |
| 6813 | + // 25.4.4.1 Promise.all(iterable) | |
| 6814 | + all: function all(iterable) { | |
| 6815 | + var C = this; | |
| 6816 | + var capability = newPromiseCapability(C); | |
| 6817 | + var resolve = capability.resolve; | |
| 6818 | + var reject = capability.reject; | |
| 6819 | + var result = perform(function () { | |
| 6820 | + var values = []; | |
| 6821 | + var index = 0; | |
| 6822 | + var remaining = 1; | |
| 6823 | + forOf(iterable, false, function (promise) { | |
| 6824 | + var $index = index++; | |
| 6825 | + var alreadyCalled = false; | |
| 6826 | + values.push(undefined); | |
| 6827 | + remaining++; | |
| 6828 | + C.resolve(promise).then(function (value) { | |
| 6829 | + if (alreadyCalled) return; | |
| 6830 | + alreadyCalled = true; | |
| 6831 | + values[$index] = value; | |
| 6832 | + --remaining || resolve(values); | |
| 6833 | + }, reject); | |
| 6834 | + }); | |
| 6835 | + --remaining || resolve(values); | |
| 6836 | + }); | |
| 6837 | + if (result.e) reject(result.v); | |
| 6838 | + return capability.promise; | |
| 6839 | + }, | |
| 6840 | + // 25.4.4.4 Promise.race(iterable) | |
| 6841 | + race: function race(iterable) { | |
| 6842 | + var C = this; | |
| 6843 | + var capability = newPromiseCapability(C); | |
| 6844 | + var reject = capability.reject; | |
| 6845 | + var result = perform(function () { | |
| 6846 | + forOf(iterable, false, function (promise) { | |
| 6847 | + C.resolve(promise).then(capability.resolve, reject); | |
| 6848 | + }); | |
| 6849 | + }); | |
| 6850 | + if (result.e) reject(result.v); | |
| 6851 | + return capability.promise; | |
| 6852 | + } | |
| 6853 | +}); | |
| 6854 | + | |
| 6855 | + | |
| 2239 | 6856 | /***/ }), |
| 6857 | +/* 259 */ | |
| 6858 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2240 | 6859 | |
| 2241 | -/***/ "../node_modules/@babel/runtime/helpers/slicedToArray.js": | |
| 2242 | -/*!***************************************************************!*\ | |
| 2243 | - !*** ../node_modules/@babel/runtime/helpers/slicedToArray.js ***! | |
| 2244 | - \***************************************************************/ | |
| 2245 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6860 | +var global = __webpack_require__(8); | |
| 6861 | +var macrotask = __webpack_require__(208).set; | |
| 6862 | +var Observer = global.MutationObserver || global.WebKitMutationObserver; | |
| 6863 | +var process = global.process; | |
| 6864 | +var Promise = global.Promise; | |
| 6865 | +var isNode = __webpack_require__(56)(process) == 'process'; | |
| 2246 | 6866 | |
| 2247 | -var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js"); | |
| 2248 | -var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js"); | |
| 2249 | -var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"); | |
| 2250 | -var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../node_modules/@babel/runtime/helpers/nonIterableRest.js"); | |
| 2251 | -function _slicedToArray(r, e) { | |
| 2252 | - return arrayWithHoles(r) || iterableToArrayLimit(r, e) || unsupportedIterableToArray(r, e) || nonIterableRest(); | |
| 2253 | -} | |
| 2254 | -module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6867 | +module.exports = function () { | |
| 6868 | + var head, last, notify; | |
| 2255 | 6869 | |
| 6870 | + var flush = function () { | |
| 6871 | + var parent, fn; | |
| 6872 | + if (isNode && (parent = process.domain)) parent.exit(); | |
| 6873 | + while (head) { | |
| 6874 | + fn = head.fn; | |
| 6875 | + head = head.next; | |
| 6876 | + try { | |
| 6877 | + fn(); | |
| 6878 | + } catch (e) { | |
| 6879 | + if (head) notify(); | |
| 6880 | + else last = undefined; | |
| 6881 | + throw e; | |
| 6882 | + } | |
| 6883 | + } last = undefined; | |
| 6884 | + if (parent) parent.enter(); | |
| 6885 | + }; | |
| 6886 | + | |
| 6887 | + // Node.js | |
| 6888 | + if (isNode) { | |
| 6889 | + notify = function () { | |
| 6890 | + process.nextTick(flush); | |
| 6891 | + }; | |
| 6892 | + // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339 | |
| 6893 | + } else if (Observer && !(global.navigator && global.navigator.standalone)) { | |
| 6894 | + var toggle = true; | |
| 6895 | + var node = document.createTextNode(''); | |
| 6896 | + new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new | |
| 6897 | + notify = function () { | |
| 6898 | + node.data = toggle = !toggle; | |
| 6899 | + }; | |
| 6900 | + // environments with maybe non-completely correct, but existent Promise | |
| 6901 | + } else if (Promise && Promise.resolve) { | |
| 6902 | + // Promise.resolve without an argument throws an error in LG WebOS 2 | |
| 6903 | + var promise = Promise.resolve(undefined); | |
| 6904 | + notify = function () { | |
| 6905 | + promise.then(flush); | |
| 6906 | + }; | |
| 6907 | + // for other environments - macrotask based on: | |
| 6908 | + // - setImmediate | |
| 6909 | + // - MessageChannel | |
| 6910 | + // - window.postMessag | |
| 6911 | + // - onreadystatechange | |
| 6912 | + // - setTimeout | |
| 6913 | + } else { | |
| 6914 | + notify = function () { | |
| 6915 | + // strange IE + webpack dev server bug - use .call(global) | |
| 6916 | + macrotask.call(global, flush); | |
| 6917 | + }; | |
| 6918 | + } | |
| 6919 | + | |
| 6920 | + return function (fn) { | |
| 6921 | + var task = { fn: fn, next: undefined }; | |
| 6922 | + if (last) last.next = task; | |
| 6923 | + if (!head) { | |
| 6924 | + head = task; | |
| 6925 | + notify(); | |
| 6926 | + } last = task; | |
| 6927 | + }; | |
| 6928 | +}; | |
| 6929 | + | |
| 6930 | + | |
| 2256 | 6931 | /***/ }), |
| 6932 | +/* 260 */ | |
| 6933 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2257 | 6934 | |
| 2258 | -/***/ "../node_modules/@babel/runtime/helpers/superPropBase.js": | |
| 2259 | -/*!***************************************************************!*\ | |
| 2260 | - !*** ../node_modules/@babel/runtime/helpers/superPropBase.js ***! | |
| 2261 | - \***************************************************************/ | |
| 2262 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6935 | +var global = __webpack_require__(8); | |
| 6936 | +var navigator = global.navigator; | |
| 2263 | 6937 | |
| 2264 | -var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"); | |
| 2265 | -function _superPropBase(t, o) { | |
| 2266 | - for (; !{}.hasOwnProperty.call(t, o) && null !== (t = getPrototypeOf(t));); | |
| 2267 | - return t; | |
| 2268 | -} | |
| 2269 | -module.exports = _superPropBase, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6938 | +module.exports = navigator && navigator.userAgent || ''; | |
| 2270 | 6939 | |
| 6940 | + | |
| 2271 | 6941 | /***/ }), |
| 6942 | +/* 261 */ | |
| 6943 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2272 | 6944 | |
| 2273 | -/***/ "../node_modules/@babel/runtime/helpers/toPrimitive.js": | |
| 2274 | -/*!*************************************************************!*\ | |
| 2275 | - !*** ../node_modules/@babel/runtime/helpers/toPrimitive.js ***! | |
| 2276 | - \*************************************************************/ | |
| 2277 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6945 | +"use strict"; | |
| 6946 | +// https://github.com/tc39/proposal-promise-finally | |
| 2278 | 6947 | |
| 2279 | -var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 2280 | -function toPrimitive(t, r) { | |
| 2281 | - if ("object" != _typeof(t) || !t) return t; | |
| 2282 | - var e = t[Symbol.toPrimitive]; | |
| 2283 | - if (void 0 !== e) { | |
| 2284 | - var i = e.call(t, r || "default"); | |
| 2285 | - if ("object" != _typeof(i)) return i; | |
| 2286 | - throw new TypeError("@@toPrimitive must return a primitive value."); | |
| 2287 | - } | |
| 2288 | - return ("string" === r ? String : Number)(t); | |
| 2289 | -} | |
| 2290 | -module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6948 | +var $export = __webpack_require__(7); | |
| 6949 | +var core = __webpack_require__(6); | |
| 6950 | +var global = __webpack_require__(8); | |
| 6951 | +var speciesConstructor = __webpack_require__(207); | |
| 6952 | +var promiseResolve = __webpack_require__(210); | |
| 2291 | 6953 | |
| 6954 | +$export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) { | |
| 6955 | + var C = speciesConstructor(this, core.Promise || global.Promise); | |
| 6956 | + var isFunction = typeof onFinally == 'function'; | |
| 6957 | + return this.then( | |
| 6958 | + isFunction ? function (x) { | |
| 6959 | + return promiseResolve(C, onFinally()).then(function () { return x; }); | |
| 6960 | + } : onFinally, | |
| 6961 | + isFunction ? function (e) { | |
| 6962 | + return promiseResolve(C, onFinally()).then(function () { throw e; }); | |
| 6963 | + } : onFinally | |
| 6964 | + ); | |
| 6965 | +} }); | |
| 6966 | + | |
| 6967 | + | |
| 2292 | 6968 | /***/ }), |
| 6969 | +/* 262 */ | |
| 6970 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2293 | 6971 | |
| 2294 | -/***/ "../node_modules/@babel/runtime/helpers/toPropertyKey.js": | |
| 2295 | -/*!***************************************************************!*\ | |
| 2296 | - !*** ../node_modules/@babel/runtime/helpers/toPropertyKey.js ***! | |
| 2297 | - \***************************************************************/ | |
| 2298 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6972 | +"use strict"; | |
| 2299 | 6973 | |
| 2300 | -var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 2301 | -var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../node_modules/@babel/runtime/helpers/toPrimitive.js"); | |
| 2302 | -function toPropertyKey(t) { | |
| 2303 | - var i = toPrimitive(t, "string"); | |
| 2304 | - return "symbol" == _typeof(i) ? i : i + ""; | |
| 2305 | -} | |
| 2306 | -module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6974 | +// https://github.com/tc39/proposal-promise-try | |
| 6975 | +var $export = __webpack_require__(7); | |
| 6976 | +var newPromiseCapability = __webpack_require__(145); | |
| 6977 | +var perform = __webpack_require__(209); | |
| 2307 | 6978 | |
| 6979 | +$export($export.S, 'Promise', { 'try': function (callbackfn) { | |
| 6980 | + var promiseCapability = newPromiseCapability.f(this); | |
| 6981 | + var result = perform(callbackfn); | |
| 6982 | + (result.e ? promiseCapability.reject : promiseCapability.resolve)(result.v); | |
| 6983 | + return promiseCapability.promise; | |
| 6984 | +} }); | |
| 6985 | + | |
| 6986 | + | |
| 2308 | 6987 | /***/ }), |
| 6988 | +/* 263 */ | |
| 6989 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2309 | 6990 | |
| 2310 | -/***/ "../node_modules/@babel/runtime/helpers/typeof.js": | |
| 2311 | -/*!********************************************************!*\ | |
| 2312 | - !*** ../node_modules/@babel/runtime/helpers/typeof.js ***! | |
| 2313 | - \********************************************************/ | |
| 2314 | -/***/ ((module) => { | |
| 6991 | +module.exports = __webpack_require__(264); | |
| 2315 | 6992 | |
| 2316 | -function _typeof(o) { | |
| 2317 | - "@babel/helpers - typeof"; | |
| 6993 | +/***/ }), | |
| 6994 | +/* 264 */ | |
| 6995 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2318 | 6996 | |
| 2319 | - return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { | |
| 2320 | - return typeof o; | |
| 2321 | - } : function (o) { | |
| 2322 | - return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; | |
| 2323 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o); | |
| 2324 | -} | |
| 2325 | -module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6997 | +__webpack_require__(100); | |
| 6998 | +__webpack_require__(62); | |
| 6999 | +__webpack_require__(265); | |
| 7000 | +__webpack_require__(267); | |
| 7001 | +__webpack_require__(268); | |
| 7002 | +module.exports = __webpack_require__(6).WeakMap; | |
| 2326 | 7003 | |
| 7004 | + | |
| 2327 | 7005 | /***/ }), |
| 7006 | +/* 265 */ | |
| 7007 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2328 | 7008 | |
| 2329 | -/***/ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js": | |
| 2330 | -/*!****************************************************************************!*\ | |
| 2331 | - !*** ../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***! | |
| 2332 | - \****************************************************************************/ | |
| 2333 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7009 | +"use strict"; | |
| 2334 | 7010 | |
| 2335 | -var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js"); | |
| 2336 | -function _unsupportedIterableToArray(r, a) { | |
| 2337 | - if (r) { | |
| 2338 | - if ("string" == typeof r) return arrayLikeToArray(r, a); | |
| 2339 | - var t = {}.toString.call(r).slice(8, -1); | |
| 2340 | - return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? arrayLikeToArray(r, a) : void 0; | |
| 7011 | +var global = __webpack_require__(8); | |
| 7012 | +var each = __webpack_require__(137)(0); | |
| 7013 | +var redefine = __webpack_require__(93); | |
| 7014 | +var meta = __webpack_require__(70); | |
| 7015 | +var assign = __webpack_require__(212); | |
| 7016 | +var weak = __webpack_require__(266); | |
| 7017 | +var isObject = __webpack_require__(9); | |
| 7018 | +var validate = __webpack_require__(121); | |
| 7019 | +var NATIVE_WEAK_MAP = __webpack_require__(121); | |
| 7020 | +var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global; | |
| 7021 | +var WEAK_MAP = 'WeakMap'; | |
| 7022 | +var getWeak = meta.getWeak; | |
| 7023 | +var isExtensible = Object.isExtensible; | |
| 7024 | +var uncaughtFrozenStore = weak.ufstore; | |
| 7025 | +var InternalMap; | |
| 7026 | + | |
| 7027 | +var wrapper = function (get) { | |
| 7028 | + return function WeakMap() { | |
| 7029 | + return get(this, arguments.length > 0 ? arguments[0] : undefined); | |
| 7030 | + }; | |
| 7031 | +}; | |
| 7032 | + | |
| 7033 | +var methods = { | |
| 7034 | + // 23.3.3.3 WeakMap.prototype.get(key) | |
| 7035 | + get: function get(key) { | |
| 7036 | + if (isObject(key)) { | |
| 7037 | + var data = getWeak(key); | |
| 7038 | + if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key); | |
| 7039 | + return data ? data[this._i] : undefined; | |
| 7040 | + } | |
| 7041 | + }, | |
| 7042 | + // 23.3.3.5 WeakMap.prototype.set(key, value) | |
| 7043 | + set: function set(key, value) { | |
| 7044 | + return weak.def(validate(this, WEAK_MAP), key, value); | |
| 2341 | 7045 | } |
| 7046 | +}; | |
| 7047 | + | |
| 7048 | +// 23.3 WeakMap Objects | |
| 7049 | +var $WeakMap = module.exports = __webpack_require__(232)(WEAK_MAP, wrapper, methods, weak, true, true); | |
| 7050 | + | |
| 7051 | +// IE11 WeakMap frozen keys fix | |
| 7052 | +if (NATIVE_WEAK_MAP && IS_IE11) { | |
| 7053 | + InternalMap = weak.getConstructor(wrapper, WEAK_MAP); | |
| 7054 | + assign(InternalMap.prototype, methods); | |
| 7055 | + meta.NEED = true; | |
| 7056 | + each(['delete', 'has', 'get', 'set'], function (key) { | |
| 7057 | + var proto = $WeakMap.prototype; | |
| 7058 | + var method = proto[key]; | |
| 7059 | + redefine(proto, key, function (a, b) { | |
| 7060 | + // store frozen objects on internal weakmap shim | |
| 7061 | + if (isObject(a) && !isExtensible(a)) { | |
| 7062 | + if (!this._f) this._f = new InternalMap(); | |
| 7063 | + var result = this._f[key](a, b); | |
| 7064 | + return key == 'set' ? this : result; | |
| 7065 | + // store all the rest on native weakmap | |
| 7066 | + } return method.call(this, a, b); | |
| 7067 | + }); | |
| 7068 | + }); | |
| 2342 | 7069 | } |
| 2343 | -module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2344 | 7070 | |
| 7071 | + | |
| 2345 | 7072 | /***/ }), |
| 7073 | +/* 266 */ | |
| 7074 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2346 | 7075 | |
| 2347 | -/***/ "../node_modules/@babel/runtime/helpers/wrapNativeSuper.js": | |
| 2348 | -/*!*****************************************************************!*\ | |
| 2349 | - !*** ../node_modules/@babel/runtime/helpers/wrapNativeSuper.js ***! | |
| 2350 | - \*****************************************************************/ | |
| 2351 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7076 | +"use strict"; | |
| 2352 | 7077 | |
| 2353 | -var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"); | |
| 2354 | -var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js"); | |
| 2355 | -var isNativeFunction = __webpack_require__(/*! ./isNativeFunction.js */ "../node_modules/@babel/runtime/helpers/isNativeFunction.js"); | |
| 2356 | -var construct = __webpack_require__(/*! ./construct.js */ "../node_modules/@babel/runtime/helpers/construct.js"); | |
| 2357 | -function _wrapNativeSuper(t) { | |
| 2358 | - var r = "function" == typeof Map ? new Map() : void 0; | |
| 2359 | - return module.exports = _wrapNativeSuper = function _wrapNativeSuper(t) { | |
| 2360 | - if (null === t || !isNativeFunction(t)) return t; | |
| 2361 | - if ("function" != typeof t) throw new TypeError("Super expression must either be null or a function"); | |
| 2362 | - if (void 0 !== r) { | |
| 2363 | - if (r.has(t)) return r.get(t); | |
| 2364 | - r.set(t, Wrapper); | |
| 2365 | - } | |
| 2366 | - function Wrapper() { | |
| 2367 | - return construct(t, arguments, getPrototypeOf(this).constructor); | |
| 2368 | - } | |
| 2369 | - return Wrapper.prototype = Object.create(t.prototype, { | |
| 2370 | - constructor: { | |
| 2371 | - value: Wrapper, | |
| 2372 | - enumerable: !1, | |
| 2373 | - writable: !0, | |
| 2374 | - configurable: !0 | |
| 7078 | +var redefineAll = __webpack_require__(126); | |
| 7079 | +var getWeak = __webpack_require__(70).getWeak; | |
| 7080 | +var anObject = __webpack_require__(13); | |
| 7081 | +var isObject = __webpack_require__(9); | |
| 7082 | +var anInstance = __webpack_require__(125); | |
| 7083 | +var forOf = __webpack_require__(86); | |
| 7084 | +var createArrayMethod = __webpack_require__(137); | |
| 7085 | +var $has = __webpack_require__(19); | |
| 7086 | +var validate = __webpack_require__(121); | |
| 7087 | +var arrayFind = createArrayMethod(5); | |
| 7088 | +var arrayFindIndex = createArrayMethod(6); | |
| 7089 | +var id = 0; | |
| 7090 | + | |
| 7091 | +// fallback for uncaught frozen keys | |
| 7092 | +var uncaughtFrozenStore = function (that) { | |
| 7093 | + return that._l || (that._l = new UncaughtFrozenStore()); | |
| 7094 | +}; | |
| 7095 | +var UncaughtFrozenStore = function () { | |
| 7096 | + this.a = []; | |
| 7097 | +}; | |
| 7098 | +var findUncaughtFrozen = function (store, key) { | |
| 7099 | + return arrayFind(store.a, function (it) { | |
| 7100 | + return it[0] === key; | |
| 7101 | + }); | |
| 7102 | +}; | |
| 7103 | +UncaughtFrozenStore.prototype = { | |
| 7104 | + get: function (key) { | |
| 7105 | + var entry = findUncaughtFrozen(this, key); | |
| 7106 | + if (entry) return entry[1]; | |
| 7107 | + }, | |
| 7108 | + has: function (key) { | |
| 7109 | + return !!findUncaughtFrozen(this, key); | |
| 7110 | + }, | |
| 7111 | + set: function (key, value) { | |
| 7112 | + var entry = findUncaughtFrozen(this, key); | |
| 7113 | + if (entry) entry[1] = value; | |
| 7114 | + else this.a.push([key, value]); | |
| 7115 | + }, | |
| 7116 | + 'delete': function (key) { | |
| 7117 | + var index = arrayFindIndex(this.a, function (it) { | |
| 7118 | + return it[0] === key; | |
| 7119 | + }); | |
| 7120 | + if (~index) this.a.splice(index, 1); | |
| 7121 | + return !!~index; | |
| 7122 | + } | |
| 7123 | +}; | |
| 7124 | + | |
| 7125 | +module.exports = { | |
| 7126 | + getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { | |
| 7127 | + var C = wrapper(function (that, iterable) { | |
| 7128 | + anInstance(that, C, NAME, '_i'); | |
| 7129 | + that._t = NAME; // collection type | |
| 7130 | + that._i = id++; // collection id | |
| 7131 | + that._l = undefined; // leak store for uncaught frozen objects | |
| 7132 | + if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); | |
| 7133 | + }); | |
| 7134 | + redefineAll(C.prototype, { | |
| 7135 | + // 23.3.3.2 WeakMap.prototype.delete(key) | |
| 7136 | + // 23.4.3.3 WeakSet.prototype.delete(value) | |
| 7137 | + 'delete': function (key) { | |
| 7138 | + if (!isObject(key)) return false; | |
| 7139 | + var data = getWeak(key); | |
| 7140 | + if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key); | |
| 7141 | + return data && $has(data, this._i) && delete data[this._i]; | |
| 7142 | + }, | |
| 7143 | + // 23.3.3.4 WeakMap.prototype.has(key) | |
| 7144 | + // 23.4.3.4 WeakSet.prototype.has(value) | |
| 7145 | + has: function has(key) { | |
| 7146 | + if (!isObject(key)) return false; | |
| 7147 | + var data = getWeak(key); | |
| 7148 | + if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key); | |
| 7149 | + return data && $has(data, this._i); | |
| 2375 | 7150 | } |
| 2376 | - }), setPrototypeOf(Wrapper, t); | |
| 2377 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _wrapNativeSuper(t); | |
| 2378 | -} | |
| 2379 | -module.exports = _wrapNativeSuper, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 7151 | + }); | |
| 7152 | + return C; | |
| 7153 | + }, | |
| 7154 | + def: function (that, key, value) { | |
| 7155 | + var data = getWeak(anObject(key), true); | |
| 7156 | + if (data === true) uncaughtFrozenStore(that).set(key, value); | |
| 7157 | + else data[that._i] = value; | |
| 7158 | + return that; | |
| 7159 | + }, | |
| 7160 | + ufstore: uncaughtFrozenStore | |
| 7161 | +}; | |
| 2380 | 7162 | |
| 7163 | + | |
| 2381 | 7164 | /***/ }), |
| 7165 | +/* 267 */ | |
| 7166 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2382 | 7167 | |
| 2383 | -/***/ "@reduxjs/toolkit": | |
| 2384 | -/*!************************************************!*\ | |
| 2385 | - !*** external "elementorVendors.reduxToolkit" ***! | |
| 2386 | - \************************************************/ | |
| 2387 | -/***/ ((module) => { | |
| 7168 | +// https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of | |
| 7169 | +__webpack_require__(233)('WeakMap'); | |
| 2388 | 7170 | |
| 7171 | + | |
| 7172 | +/***/ }), | |
| 7173 | +/* 268 */ | |
| 7174 | +/***/ (function(module, exports, __webpack_require__) { | |
| 7175 | + | |
| 7176 | +// https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.from | |
| 7177 | +__webpack_require__(234)('WeakMap'); | |
| 7178 | + | |
| 7179 | + | |
| 7180 | +/***/ }), | |
| 7181 | +/* 269 */ | |
| 7182 | +/***/ (function(module, exports, __webpack_require__) { | |
| 7183 | + | |
| 7184 | +__webpack_require__(270); | |
| 7185 | +module.exports = __webpack_require__(6).Object.entries; | |
| 7186 | + | |
| 7187 | + | |
| 7188 | +/***/ }), | |
| 7189 | +/* 270 */ | |
| 7190 | +/***/ (function(module, exports, __webpack_require__) { | |
| 7191 | + | |
| 7192 | +// https://github.com/tc39/proposal-object-values-entries | |
| 7193 | +var $export = __webpack_require__(7); | |
| 7194 | +var $entries = __webpack_require__(185)(true); | |
| 7195 | + | |
| 7196 | +$export($export.S, 'Object', { | |
| 7197 | + entries: function entries(it) { | |
| 7198 | + return $entries(it); | |
| 7199 | + } | |
| 7200 | +}); | |
| 7201 | + | |
| 7202 | + | |
| 7203 | +/***/ }), | |
| 7204 | +/* 271 */ | |
| 7205 | +/***/ (function(module, exports, __webpack_require__) { | |
| 7206 | + | |
| 2389 | 7207 | "use strict"; |
| 2390 | -module.exports = elementorVendors.reduxToolkit; | |
| 2391 | 7208 | |
| 2392 | -/***/ }) | |
| 7209 | +var $at = __webpack_require__(143)(true); | |
| 2393 | 7210 | |
| 2394 | -/******/ }); | |
| 2395 | -/************************************************************************/ | |
| 2396 | -/******/ // The module cache | |
| 2397 | -/******/ var __webpack_module_cache__ = {}; | |
| 2398 | -/******/ | |
| 2399 | -/******/ // The require function | |
| 2400 | -/******/ function __webpack_require__(moduleId) { | |
| 2401 | -/******/ // Check if module is in cache | |
| 2402 | -/******/ var cachedModule = __webpack_module_cache__[moduleId]; | |
| 2403 | -/******/ if (cachedModule !== undefined) { | |
| 2404 | -/******/ return cachedModule.exports; | |
| 2405 | -/******/ } | |
| 2406 | -/******/ // Create a new module (and put it into the cache) | |
| 2407 | -/******/ var module = __webpack_module_cache__[moduleId] = { | |
| 2408 | -/******/ // no module.id needed | |
| 2409 | -/******/ // no module.loaded needed | |
| 2410 | -/******/ exports: {} | |
| 2411 | -/******/ }; | |
| 2412 | -/******/ | |
| 2413 | -/******/ // Execute the module function | |
| 2414 | -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); | |
| 2415 | -/******/ | |
| 2416 | -/******/ // Return the exports of the module | |
| 2417 | -/******/ return module.exports; | |
| 2418 | -/******/ } | |
| 2419 | -/******/ | |
| 2420 | -/************************************************************************/ | |
| 2421 | -var __webpack_exports__ = {}; | |
| 2422 | -// This entry needs to be wrapped in an IIFE because it needs to be in strict mode. | |
| 2423 | -(() => { | |
| 7211 | +// 21.1.3.27 String.prototype[@@iterator]() | |
| 7212 | +__webpack_require__(197)(String, 'String', function (iterated) { | |
| 7213 | + this._t = String(iterated); // target | |
| 7214 | + this._i = 0; // next index | |
| 7215 | +// 21.1.5.2.1 %StringIteratorPrototype%.next() | |
| 7216 | +}, function () { | |
| 7217 | + var O = this._t; | |
| 7218 | + var index = this._i; | |
| 7219 | + var point; | |
| 7220 | + if (index >= O.length) return { value: undefined, done: true }; | |
| 7221 | + point = $at(O, index); | |
| 7222 | + this._i += point.length; | |
| 7223 | + return { value: point, done: false }; | |
| 7224 | +}); | |
| 7225 | + | |
| 7226 | + | |
| 7227 | +/***/ }), | |
| 7228 | +/* 272 */, | |
| 7229 | +/* 273 */, | |
| 7230 | +/* 274 */, | |
| 7231 | +/* 275 */, | |
| 7232 | +/* 276 */, | |
| 7233 | +/* 277 */, | |
| 7234 | +/* 278 */, | |
| 7235 | +/* 279 */, | |
| 7236 | +/* 280 */, | |
| 7237 | +/* 281 */, | |
| 7238 | +/* 282 */, | |
| 7239 | +/* 283 */, | |
| 7240 | +/* 284 */, | |
| 7241 | +/* 285 */, | |
| 7242 | +/* 286 */, | |
| 7243 | +/* 287 */, | |
| 7244 | +/* 288 */, | |
| 7245 | +/* 289 */, | |
| 7246 | +/* 290 */, | |
| 7247 | +/* 291 */, | |
| 7248 | +/* 292 */, | |
| 7249 | +/* 293 */, | |
| 7250 | +/* 294 */, | |
| 7251 | +/* 295 */, | |
| 7252 | +/* 296 */, | |
| 7253 | +/* 297 */, | |
| 7254 | +/* 298 */, | |
| 7255 | +/* 299 */, | |
| 7256 | +/* 300 */, | |
| 7257 | +/* 301 */, | |
| 7258 | +/* 302 */, | |
| 7259 | +/* 303 */, | |
| 7260 | +/* 304 */, | |
| 7261 | +/* 305 */, | |
| 7262 | +/* 306 */, | |
| 7263 | +/* 307 */, | |
| 7264 | +/* 308 */, | |
| 7265 | +/* 309 */, | |
| 7266 | +/* 310 */, | |
| 7267 | +/* 311 */, | |
| 7268 | +/* 312 */, | |
| 7269 | +/* 313 */, | |
| 7270 | +/* 314 */, | |
| 7271 | +/* 315 */, | |
| 7272 | +/* 316 */, | |
| 7273 | +/* 317 */, | |
| 7274 | +/* 318 */, | |
| 7275 | +/* 319 */, | |
| 7276 | +/* 320 */, | |
| 7277 | +/* 321 */, | |
| 7278 | +/* 322 */, | |
| 7279 | +/* 323 */, | |
| 7280 | +/* 324 */, | |
| 7281 | +/* 325 */, | |
| 7282 | +/* 326 */, | |
| 7283 | +/* 327 */, | |
| 7284 | +/* 328 */, | |
| 7285 | +/* 329 */, | |
| 7286 | +/* 330 */, | |
| 7287 | +/* 331 */, | |
| 7288 | +/* 332 */, | |
| 7289 | +/* 333 */, | |
| 7290 | +/* 334 */, | |
| 7291 | +/* 335 */, | |
| 7292 | +/* 336 */, | |
| 7293 | +/* 337 */, | |
| 7294 | +/* 338 */, | |
| 7295 | +/* 339 */, | |
| 7296 | +/* 340 */, | |
| 7297 | +/* 341 */, | |
| 7298 | +/* 342 */, | |
| 7299 | +/* 343 */, | |
| 7300 | +/* 344 */, | |
| 7301 | +/* 345 */, | |
| 7302 | +/* 346 */, | |
| 7303 | +/* 347 */, | |
| 7304 | +/* 348 */, | |
| 7305 | +/* 349 */, | |
| 7306 | +/* 350 */, | |
| 7307 | +/* 351 */, | |
| 7308 | +/* 352 */, | |
| 7309 | +/* 353 */, | |
| 7310 | +/* 354 */, | |
| 7311 | +/* 355 */, | |
| 7312 | +/* 356 */, | |
| 7313 | +/* 357 */, | |
| 7314 | +/* 358 */, | |
| 7315 | +/* 359 */, | |
| 7316 | +/* 360 */, | |
| 7317 | +/* 361 */, | |
| 7318 | +/* 362 */, | |
| 7319 | +/* 363 */, | |
| 7320 | +/* 364 */, | |
| 7321 | +/* 365 */, | |
| 7322 | +/* 366 */, | |
| 7323 | +/* 367 */, | |
| 7324 | +/* 368 */, | |
| 7325 | +/* 369 */, | |
| 7326 | +/* 370 */, | |
| 7327 | +/* 371 */, | |
| 7328 | +/* 372 */, | |
| 7329 | +/* 373 */, | |
| 7330 | +/* 374 */, | |
| 7331 | +/* 375 */, | |
| 7332 | +/* 376 */, | |
| 7333 | +/* 377 */, | |
| 7334 | +/* 378 */, | |
| 7335 | +/* 379 */, | |
| 7336 | +/* 380 */, | |
| 7337 | +/* 381 */, | |
| 7338 | +/* 382 */, | |
| 7339 | +/* 383 */, | |
| 7340 | +/* 384 */, | |
| 7341 | +/* 385 */, | |
| 7342 | +/* 386 */, | |
| 7343 | +/* 387 */, | |
| 7344 | +/* 388 */, | |
| 7345 | +/* 389 */, | |
| 7346 | +/* 390 */, | |
| 7347 | +/* 391 */, | |
| 7348 | +/* 392 */, | |
| 7349 | +/* 393 */, | |
| 7350 | +/* 394 */, | |
| 7351 | +/* 395 */, | |
| 7352 | +/* 396 */, | |
| 7353 | +/* 397 */, | |
| 7354 | +/* 398 */, | |
| 7355 | +/* 399 */, | |
| 7356 | +/* 400 */, | |
| 7357 | +/* 401 */, | |
| 7358 | +/* 402 */, | |
| 7359 | +/* 403 */, | |
| 7360 | +/* 404 */, | |
| 7361 | +/* 405 */, | |
| 7362 | +/* 406 */, | |
| 7363 | +/* 407 */, | |
| 7364 | +/* 408 */, | |
| 7365 | +/* 409 */, | |
| 7366 | +/* 410 */, | |
| 7367 | +/* 411 */, | |
| 7368 | +/* 412 */, | |
| 7369 | +/* 413 */, | |
| 7370 | +/* 414 */, | |
| 7371 | +/* 415 */, | |
| 7372 | +/* 416 */, | |
| 7373 | +/* 417 */, | |
| 7374 | +/* 418 */, | |
| 7375 | +/* 419 */, | |
| 7376 | +/* 420 */, | |
| 7377 | +/* 421 */, | |
| 7378 | +/* 422 */, | |
| 7379 | +/* 423 */, | |
| 7380 | +/* 424 */, | |
| 7381 | +/* 425 */, | |
| 7382 | +/* 426 */, | |
| 7383 | +/* 427 */, | |
| 7384 | +/* 428 */, | |
| 7385 | +/* 429 */, | |
| 7386 | +/* 430 */, | |
| 7387 | +/* 431 */, | |
| 7388 | +/* 432 */, | |
| 7389 | +/* 433 */, | |
| 7390 | +/* 434 */, | |
| 7391 | +/* 435 */, | |
| 7392 | +/* 436 */, | |
| 7393 | +/* 437 */, | |
| 7394 | +/* 438 */, | |
| 7395 | +/* 439 */, | |
| 7396 | +/* 440 */, | |
| 7397 | +/* 441 */, | |
| 7398 | +/* 442 */, | |
| 7399 | +/* 443 */, | |
| 7400 | +/* 444 */, | |
| 7401 | +/* 445 */, | |
| 7402 | +/* 446 */, | |
| 7403 | +/* 447 */, | |
| 7404 | +/* 448 */, | |
| 7405 | +/* 449 */, | |
| 7406 | +/* 450 */, | |
| 7407 | +/* 451 */, | |
| 7408 | +/* 452 */, | |
| 7409 | +/* 453 */, | |
| 7410 | +/* 454 */, | |
| 7411 | +/* 455 */, | |
| 7412 | +/* 456 */, | |
| 7413 | +/* 457 */, | |
| 7414 | +/* 458 */, | |
| 7415 | +/* 459 */, | |
| 7416 | +/* 460 */, | |
| 7417 | +/* 461 */, | |
| 7418 | +/* 462 */, | |
| 7419 | +/* 463 */, | |
| 7420 | +/* 464 */, | |
| 7421 | +/* 465 */, | |
| 7422 | +/* 466 */, | |
| 7423 | +/* 467 */, | |
| 7424 | +/* 468 */, | |
| 7425 | +/* 469 */, | |
| 7426 | +/* 470 */, | |
| 7427 | +/* 471 */, | |
| 7428 | +/* 472 */, | |
| 7429 | +/* 473 */, | |
| 7430 | +/* 474 */, | |
| 7431 | +/* 475 */, | |
| 7432 | +/* 476 */, | |
| 7433 | +/* 477 */, | |
| 7434 | +/* 478 */, | |
| 7435 | +/* 479 */, | |
| 7436 | +/* 480 */, | |
| 7437 | +/* 481 */, | |
| 7438 | +/* 482 */, | |
| 7439 | +/* 483 */, | |
| 7440 | +/* 484 */, | |
| 7441 | +/* 485 */, | |
| 7442 | +/* 486 */, | |
| 7443 | +/* 487 */, | |
| 7444 | +/* 488 */, | |
| 7445 | +/* 489 */, | |
| 7446 | +/* 490 */, | |
| 7447 | +/* 491 */, | |
| 7448 | +/* 492 */, | |
| 7449 | +/* 493 */, | |
| 7450 | +/* 494 */, | |
| 7451 | +/* 495 */, | |
| 7452 | +/* 496 */, | |
| 7453 | +/* 497 */, | |
| 7454 | +/* 498 */, | |
| 7455 | +/* 499 */, | |
| 7456 | +/* 500 */, | |
| 7457 | +/* 501 */, | |
| 7458 | +/* 502 */, | |
| 7459 | +/* 503 */, | |
| 7460 | +/* 504 */, | |
| 7461 | +/* 505 */, | |
| 7462 | +/* 506 */, | |
| 7463 | +/* 507 */, | |
| 7464 | +/* 508 */, | |
| 7465 | +/* 509 */, | |
| 7466 | +/* 510 */, | |
| 7467 | +/* 511 */, | |
| 7468 | +/* 512 */, | |
| 7469 | +/* 513 */, | |
| 7470 | +/* 514 */, | |
| 7471 | +/* 515 */, | |
| 7472 | +/* 516 */, | |
| 7473 | +/* 517 */, | |
| 7474 | +/* 518 */, | |
| 7475 | +/* 519 */, | |
| 7476 | +/* 520 */, | |
| 7477 | +/* 521 */, | |
| 7478 | +/* 522 */, | |
| 7479 | +/* 523 */, | |
| 7480 | +/* 524 */, | |
| 7481 | +/* 525 */, | |
| 7482 | +/* 526 */, | |
| 7483 | +/* 527 */, | |
| 7484 | +/* 528 */, | |
| 7485 | +/* 529 */, | |
| 7486 | +/* 530 */, | |
| 7487 | +/* 531 */, | |
| 7488 | +/* 532 */, | |
| 7489 | +/* 533 */, | |
| 7490 | +/* 534 */, | |
| 7491 | +/* 535 */, | |
| 7492 | +/* 536 */, | |
| 7493 | +/* 537 */, | |
| 7494 | +/* 538 */, | |
| 7495 | +/* 539 */, | |
| 7496 | +/* 540 */, | |
| 7497 | +/* 541 */, | |
| 7498 | +/* 542 */, | |
| 7499 | +/* 543 */, | |
| 7500 | +/* 544 */, | |
| 7501 | +/* 545 */, | |
| 7502 | +/* 546 */, | |
| 7503 | +/* 547 */, | |
| 7504 | +/* 548 */, | |
| 7505 | +/* 549 */, | |
| 7506 | +/* 550 */, | |
| 7507 | +/* 551 */, | |
| 7508 | +/* 552 */, | |
| 7509 | +/* 553 */, | |
| 7510 | +/* 554 */, | |
| 7511 | +/* 555 */, | |
| 7512 | +/* 556 */, | |
| 7513 | +/* 557 */, | |
| 7514 | +/* 558 */, | |
| 7515 | +/* 559 */, | |
| 7516 | +/* 560 */, | |
| 7517 | +/* 561 */, | |
| 7518 | +/* 562 */, | |
| 7519 | +/* 563 */, | |
| 7520 | +/* 564 */, | |
| 7521 | +/* 565 */, | |
| 7522 | +/* 566 */, | |
| 7523 | +/* 567 */, | |
| 7524 | +/* 568 */, | |
| 7525 | +/* 569 */, | |
| 7526 | +/* 570 */, | |
| 7527 | +/* 571 */, | |
| 7528 | +/* 572 */, | |
| 7529 | +/* 573 */, | |
| 7530 | +/* 574 */, | |
| 7531 | +/* 575 */, | |
| 7532 | +/* 576 */, | |
| 7533 | +/* 577 */, | |
| 7534 | +/* 578 */, | |
| 7535 | +/* 579 */, | |
| 7536 | +/* 580 */, | |
| 7537 | +/* 581 */, | |
| 7538 | +/* 582 */, | |
| 7539 | +/* 583 */, | |
| 7540 | +/* 584 */, | |
| 7541 | +/* 585 */, | |
| 7542 | +/* 586 */, | |
| 7543 | +/* 587 */, | |
| 7544 | +/* 588 */, | |
| 7545 | +/* 589 */, | |
| 7546 | +/* 590 */, | |
| 7547 | +/* 591 */, | |
| 7548 | +/* 592 */, | |
| 7549 | +/* 593 */, | |
| 7550 | +/* 594 */, | |
| 7551 | +/* 595 */, | |
| 7552 | +/* 596 */, | |
| 7553 | +/* 597 */, | |
| 7554 | +/* 598 */, | |
| 7555 | +/* 599 */, | |
| 7556 | +/* 600 */, | |
| 7557 | +/* 601 */, | |
| 7558 | +/* 602 */, | |
| 7559 | +/* 603 */, | |
| 7560 | +/* 604 */, | |
| 7561 | +/* 605 */, | |
| 7562 | +/* 606 */, | |
| 7563 | +/* 607 */, | |
| 7564 | +/* 608 */, | |
| 7565 | +/* 609 */, | |
| 7566 | +/* 610 */, | |
| 7567 | +/* 611 */, | |
| 7568 | +/* 612 */, | |
| 7569 | +/* 613 */, | |
| 7570 | +/* 614 */, | |
| 7571 | +/* 615 */, | |
| 7572 | +/* 616 */, | |
| 7573 | +/* 617 */, | |
| 7574 | +/* 618 */, | |
| 7575 | +/* 619 */, | |
| 7576 | +/* 620 */, | |
| 7577 | +/* 621 */, | |
| 7578 | +/* 622 */, | |
| 7579 | +/* 623 */, | |
| 7580 | +/* 624 */, | |
| 7581 | +/* 625 */, | |
| 7582 | +/* 626 */, | |
| 7583 | +/* 627 */, | |
| 7584 | +/* 628 */, | |
| 7585 | +/* 629 */, | |
| 7586 | +/* 630 */, | |
| 7587 | +/* 631 */, | |
| 7588 | +/* 632 */, | |
| 7589 | +/* 633 */, | |
| 7590 | +/* 634 */, | |
| 7591 | +/* 635 */, | |
| 7592 | +/* 636 */, | |
| 7593 | +/* 637 */, | |
| 7594 | +/* 638 */, | |
| 7595 | +/* 639 */, | |
| 7596 | +/* 640 */, | |
| 7597 | +/* 641 */, | |
| 7598 | +/* 642 */, | |
| 7599 | +/* 643 */, | |
| 7600 | +/* 644 */, | |
| 7601 | +/* 645 */, | |
| 7602 | +/* 646 */, | |
| 7603 | +/* 647 */, | |
| 7604 | +/* 648 */, | |
| 7605 | +/* 649 */, | |
| 7606 | +/* 650 */, | |
| 7607 | +/* 651 */, | |
| 7608 | +/* 652 */, | |
| 7609 | +/* 653 */, | |
| 7610 | +/* 654 */, | |
| 7611 | +/* 655 */, | |
| 7612 | +/* 656 */, | |
| 7613 | +/* 657 */, | |
| 7614 | +/* 658 */, | |
| 7615 | +/* 659 */, | |
| 7616 | +/* 660 */, | |
| 7617 | +/* 661 */, | |
| 7618 | +/* 662 */, | |
| 7619 | +/* 663 */, | |
| 7620 | +/* 664 */, | |
| 7621 | +/* 665 */, | |
| 7622 | +/* 666 */, | |
| 7623 | +/* 667 */, | |
| 7624 | +/* 668 */, | |
| 7625 | +/* 669 */, | |
| 7626 | +/* 670 */, | |
| 7627 | +/* 671 */, | |
| 7628 | +/* 672 */, | |
| 7629 | +/* 673 */, | |
| 7630 | +/* 674 */, | |
| 7631 | +/* 675 */, | |
| 7632 | +/* 676 */, | |
| 7633 | +/* 677 */, | |
| 7634 | +/* 678 */, | |
| 7635 | +/* 679 */, | |
| 7636 | +/* 680 */, | |
| 7637 | +/* 681 */, | |
| 7638 | +/* 682 */, | |
| 7639 | +/* 683 */, | |
| 7640 | +/* 684 */, | |
| 7641 | +/* 685 */, | |
| 7642 | +/* 686 */, | |
| 7643 | +/* 687 */, | |
| 7644 | +/* 688 */, | |
| 7645 | +/* 689 */, | |
| 7646 | +/* 690 */, | |
| 7647 | +/* 691 */, | |
| 7648 | +/* 692 */, | |
| 7649 | +/* 693 */, | |
| 7650 | +/* 694 */, | |
| 7651 | +/* 695 */, | |
| 7652 | +/* 696 */, | |
| 7653 | +/* 697 */, | |
| 7654 | +/* 698 */, | |
| 7655 | +/* 699 */, | |
| 7656 | +/* 700 */, | |
| 7657 | +/* 701 */, | |
| 7658 | +/* 702 */, | |
| 7659 | +/* 703 */, | |
| 7660 | +/* 704 */, | |
| 7661 | +/* 705 */, | |
| 7662 | +/* 706 */, | |
| 7663 | +/* 707 */, | |
| 7664 | +/* 708 */, | |
| 7665 | +/* 709 */, | |
| 7666 | +/* 710 */, | |
| 7667 | +/* 711 */, | |
| 7668 | +/* 712 */, | |
| 7669 | +/* 713 */, | |
| 7670 | +/* 714 */, | |
| 7671 | +/* 715 */, | |
| 7672 | +/* 716 */, | |
| 7673 | +/* 717 */, | |
| 7674 | +/* 718 */, | |
| 7675 | +/* 719 */, | |
| 7676 | +/* 720 */, | |
| 7677 | +/* 721 */, | |
| 7678 | +/* 722 */, | |
| 7679 | +/* 723 */, | |
| 7680 | +/* 724 */, | |
| 7681 | +/* 725 */, | |
| 7682 | +/* 726 */, | |
| 7683 | +/* 727 */, | |
| 7684 | +/* 728 */, | |
| 7685 | +/* 729 */, | |
| 7686 | +/* 730 */, | |
| 7687 | +/* 731 */, | |
| 7688 | +/* 732 */, | |
| 7689 | +/* 733 */, | |
| 7690 | +/* 734 */, | |
| 7691 | +/* 735 */, | |
| 7692 | +/* 736 */, | |
| 7693 | +/* 737 */, | |
| 7694 | +/* 738 */, | |
| 7695 | +/* 739 */, | |
| 7696 | +/* 740 */, | |
| 7697 | +/* 741 */, | |
| 7698 | +/* 742 */, | |
| 7699 | +/* 743 */, | |
| 7700 | +/* 744 */, | |
| 7701 | +/* 745 */, | |
| 7702 | +/* 746 */, | |
| 7703 | +/* 747 */, | |
| 7704 | +/* 748 */, | |
| 7705 | +/* 749 */, | |
| 7706 | +/* 750 */ | |
| 7707 | +/***/ (function(module, exports, __webpack_require__) { | |
| 7708 | + | |
| 2424 | 7709 | "use strict"; |
| 2425 | -/*!**************************************!*\ | |
| 2426 | - !*** ../app/assets/js/app-loader.js ***! | |
| 2427 | - \**************************************/ | |
| 2428 | 7710 | |
| 2429 | 7711 | |
| 2430 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 2431 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 2432 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 2433 | -var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js")); | |
| 2434 | -var _component = _interopRequireDefault(__webpack_require__(/*! ./loader/component */ "../app/assets/js/loader/component.js")); | |
| 7712 | +var _interopRequireDefault = __webpack_require__(0); | |
| 7713 | + | |
| 7714 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 7715 | + | |
| 7716 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 7717 | + | |
| 7718 | +var _defineProperty2 = _interopRequireDefault(__webpack_require__(28)); | |
| 7719 | + | |
| 7720 | +var _component = _interopRequireDefault(__webpack_require__(751)); | |
| 7721 | + | |
| 2435 | 7722 | var AppLoader = /*#__PURE__*/function () { |
| 2436 | 7723 | function AppLoader() { |
| 2437 | 7724 | (0, _classCallCheck2.default)(this, AppLoader); |
| 2438 | 7725 | (0, _defineProperty2.default)(this, "selector", 'a.elementor-app-link, .elementor-app-link .ab-item'); |
| @@ -2438,15 +7725,18 @@ | ||
| 2438 | 7725 | (0, _defineProperty2.default)(this, "selector", 'a.elementor-app-link, .elementor-app-link .ab-item'); |
| 2439 | 7726 | $e.components.register(new _component.default()); |
| 2440 | 7727 | window.addEventListener('DOMContentLoaded', this.onLoad.bind(this)); |
| 2441 | 7728 | } |
| 2442 | - return (0, _createClass2.default)(AppLoader, [{ | |
| 7729 | + | |
| 7730 | + (0, _createClass2.default)(AppLoader, [{ | |
| 2443 | 7731 | key: "onLoad", |
| 2444 | 7732 | value: function onLoad() { |
| 2445 | 7733 | var links = document.querySelectorAll(this.selector); |
| 7734 | + | |
| 2446 | 7735 | if (!links.length) { |
| 2447 | 7736 | return; |
| 2448 | 7737 | } |
| 7738 | + | |
| 2449 | 7739 | links.forEach(function (link) { |
| 2450 | 7740 | link.addEventListener('click', function (event) { |
| 2451 | 7741 | event.preventDefault(); |
| 2452 | 7742 | $e.run('app/open', { |
| @@ -2460,11 +7750,306 @@ | ||
| 2460 | 7750 | }); |
| 2461 | 7751 | }); |
| 2462 | 7752 | } |
| 2463 | 7753 | }]); |
| 7754 | + return AppLoader; | |
| 2464 | 7755 | }(); |
| 7756 | + | |
| 2465 | 7757 | window.elementorAppLoader = new AppLoader(); |
| 2466 | -})(); | |
| 2467 | 7758 | |
| 2468 | -/******/ })() | |
| 2469 | -; | |
| 7759 | +/***/ }), | |
| 7760 | +/* 751 */ | |
| 7761 | +/***/ (function(module, exports, __webpack_require__) { | |
| 7762 | + | |
| 7763 | +"use strict"; | |
| 7764 | + | |
| 7765 | + | |
| 7766 | +var _interopRequireWildcard = __webpack_require__(37); | |
| 7767 | + | |
| 7768 | +var _interopRequireDefault = __webpack_require__(0); | |
| 7769 | + | |
| 7770 | +var _Object$defineProperty = __webpack_require__(1); | |
| 7771 | + | |
| 7772 | +_Object$defineProperty(exports, "__esModule", { | |
| 7773 | + value: true | |
| 7774 | +}); | |
| 7775 | + | |
| 7776 | +exports.default = void 0; | |
| 7777 | + | |
| 7778 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 7779 | + | |
| 7780 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 7781 | + | |
| 7782 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 7783 | + | |
| 7784 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 7785 | + | |
| 7786 | +var _componentBase = _interopRequireDefault(__webpack_require__(82)); | |
| 7787 | + | |
| 7788 | +var commands = _interopRequireWildcard(__webpack_require__(752)); | |
| 7789 | + | |
| 7790 | +var Component = /*#__PURE__*/function (_ComponentModalBase) { | |
| 7791 | + (0, _inherits2.default)(Component, _ComponentModalBase); | |
| 7792 | + | |
| 7793 | + var _super = (0, _createSuper2.default)(Component); | |
| 7794 | + | |
| 7795 | + function Component() { | |
| 7796 | + (0, _classCallCheck2.default)(this, Component); | |
| 7797 | + return _super.apply(this, arguments); | |
| 7798 | + } | |
| 7799 | + | |
| 7800 | + (0, _createClass2.default)(Component, [{ | |
| 7801 | + key: "getNamespace", | |
| 7802 | + value: function getNamespace() { | |
| 7803 | + return 'app'; | |
| 7804 | + } | |
| 7805 | + }, { | |
| 7806 | + key: "defaultRoutes", | |
| 7807 | + value: function defaultRoutes() { | |
| 7808 | + var _this = this; | |
| 7809 | + | |
| 7810 | + return { | |
| 7811 | + '': function _(args) { | |
| 7812 | + args.url = args.url || elementorAppConfig.menu_url; | |
| 7813 | + $e.run('app/load', args); | |
| 7814 | + _this.iframe.style.display = ''; | |
| 7815 | + document.body.style.overflow = 'hidden'; | |
| 7816 | + } | |
| 7817 | + }; | |
| 7818 | + } | |
| 7819 | + }, { | |
| 7820 | + key: "defaultCommands", | |
| 7821 | + value: function defaultCommands() { | |
| 7822 | + return this.importCommands(commands); | |
| 7823 | + } | |
| 7824 | + }, { | |
| 7825 | + key: "defaultShortcuts", | |
| 7826 | + value: function defaultShortcuts() { | |
| 7827 | + return { | |
| 7828 | + '': { | |
| 7829 | + keys: 'ctrl+shift+e' | |
| 7830 | + }, | |
| 7831 | + close: { | |
| 7832 | + keys: 'esc', | |
| 7833 | + scopes: [this.getNamespace()] | |
| 7834 | + } | |
| 7835 | + }; | |
| 7836 | + } | |
| 7837 | + }]); | |
| 7838 | + return Component; | |
| 7839 | +}(_componentBase.default); | |
| 7840 | + | |
| 7841 | +exports.default = Component; | |
| 7842 | + | |
| 7843 | +/***/ }), | |
| 7844 | +/* 752 */ | |
| 7845 | +/***/ (function(module, exports, __webpack_require__) { | |
| 7846 | + | |
| 7847 | +"use strict"; | |
| 7848 | + | |
| 7849 | + | |
| 7850 | +var _Object$defineProperty = __webpack_require__(1); | |
| 7851 | + | |
| 7852 | +_Object$defineProperty(exports, "__esModule", { | |
| 7853 | + value: true | |
| 7854 | +}); | |
| 7855 | + | |
| 7856 | +_Object$defineProperty(exports, "Close", { | |
| 7857 | + enumerable: true, | |
| 7858 | + get: function get() { | |
| 7859 | + return _close.Close; | |
| 7860 | + } | |
| 7861 | +}); | |
| 7862 | + | |
| 7863 | +_Object$defineProperty(exports, "Load", { | |
| 7864 | + enumerable: true, | |
| 7865 | + get: function get() { | |
| 7866 | + return _load.Load; | |
| 7867 | + } | |
| 7868 | +}); | |
| 7869 | + | |
| 7870 | +_Object$defineProperty(exports, "Open", { | |
| 7871 | + enumerable: true, | |
| 7872 | + get: function get() { | |
| 7873 | + return _open.Open; | |
| 7874 | + } | |
| 7875 | +}); | |
| 7876 | + | |
| 7877 | +var _close = __webpack_require__(753); | |
| 7878 | + | |
| 7879 | +var _load = __webpack_require__(754); | |
| 7880 | + | |
| 7881 | +var _open = __webpack_require__(755); | |
| 7882 | + | |
| 7883 | +/***/ }), | |
| 7884 | +/* 753 */ | |
| 7885 | +/***/ (function(module, exports, __webpack_require__) { | |
| 7886 | + | |
| 7887 | +"use strict"; | |
| 7888 | + | |
| 7889 | + | |
| 7890 | +var _interopRequireDefault = __webpack_require__(0); | |
| 7891 | + | |
| 7892 | +var _Object$defineProperty = __webpack_require__(1); | |
| 7893 | + | |
| 7894 | +_Object$defineProperty(exports, "__esModule", { | |
| 7895 | + value: true | |
| 7896 | +}); | |
| 7897 | + | |
| 7898 | +exports.default = exports.Close = void 0; | |
| 7899 | + | |
| 7900 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 7901 | + | |
| 7902 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 7903 | + | |
| 7904 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 7905 | + | |
| 7906 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 7907 | + | |
| 7908 | +var _commandBase = _interopRequireDefault(__webpack_require__(21)); | |
| 7909 | + | |
| 7910 | +var Close = /*#__PURE__*/function (_CommandBase) { | |
| 7911 | + (0, _inherits2.default)(Close, _CommandBase); | |
| 7912 | + | |
| 7913 | + var _super = (0, _createSuper2.default)(Close); | |
| 7914 | + | |
| 7915 | + function Close() { | |
| 7916 | + (0, _classCallCheck2.default)(this, Close); | |
| 7917 | + return _super.apply(this, arguments); | |
| 7918 | + } | |
| 7919 | + | |
| 7920 | + (0, _createClass2.default)(Close, [{ | |
| 7921 | + key: "apply", | |
| 7922 | + value: function apply() { | |
| 7923 | + if (!this.component.close()) { | |
| 7924 | + return false; | |
| 7925 | + } | |
| 7926 | + | |
| 7927 | + this.component.iframe.remove(); | |
| 7928 | + this.component.iframe = null; | |
| 7929 | + return true; | |
| 7930 | + } | |
| 7931 | + }]); | |
| 7932 | + return Close; | |
| 7933 | +}(_commandBase.default); | |
| 7934 | + | |
| 7935 | +exports.Close = Close; | |
| 7936 | +var _default = Close; | |
| 7937 | +exports.default = _default; | |
| 7938 | + | |
| 7939 | +/***/ }), | |
| 7940 | +/* 754 */ | |
| 7941 | +/***/ (function(module, exports, __webpack_require__) { | |
| 7942 | + | |
| 7943 | +"use strict"; | |
| 7944 | + | |
| 7945 | + | |
| 7946 | +var _interopRequireDefault = __webpack_require__(0); | |
| 7947 | + | |
| 7948 | +var _Object$defineProperty = __webpack_require__(1); | |
| 7949 | + | |
| 7950 | +_Object$defineProperty(exports, "__esModule", { | |
| 7951 | + value: true | |
| 7952 | +}); | |
| 7953 | + | |
| 7954 | +exports.default = exports.Load = void 0; | |
| 7955 | + | |
| 7956 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 7957 | + | |
| 7958 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 7959 | + | |
| 7960 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 7961 | + | |
| 7962 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 7963 | + | |
| 7964 | +var _commandBase = _interopRequireDefault(__webpack_require__(21)); | |
| 7965 | + | |
| 7966 | +var Load = /*#__PURE__*/function (_CommandBase) { | |
| 7967 | + (0, _inherits2.default)(Load, _CommandBase); | |
| 7968 | + | |
| 7969 | + var _super = (0, _createSuper2.default)(Load); | |
| 7970 | + | |
| 7971 | + function Load() { | |
| 7972 | + (0, _classCallCheck2.default)(this, Load); | |
| 7973 | + return _super.apply(this, arguments); | |
| 7974 | + } | |
| 7975 | + | |
| 7976 | + (0, _createClass2.default)(Load, [{ | |
| 7977 | + key: "apply", | |
| 7978 | + value: function apply(args) { | |
| 7979 | + var component = this.component; | |
| 7980 | + | |
| 7981 | + if (!component.iframe) { | |
| 7982 | + component.iframe = document.createElement('iframe'); | |
| 7983 | + component.iframe.className = 'elementor-app-iframe'; | |
| 7984 | + component.iframe.style.cssText = '' + 'display: none;' + 'width: 100%;' + 'height: 100%;' + 'position: fixed;' + 'top: 0;' + 'left: 0;' + 'z-index: 99999; /* Over WP Admin Bar */' + 'background-color: rgba(0, 0, 0, 0.8);'; | |
| 7985 | + document.body.appendChild(component.iframe); | |
| 7986 | + } | |
| 7987 | + | |
| 7988 | + if (args.url === component.iframe.src) { | |
| 7989 | + return; | |
| 7990 | + } | |
| 7991 | + | |
| 7992 | + component.iframe.src = args.url; | |
| 7993 | + } | |
| 7994 | + }]); | |
| 7995 | + return Load; | |
| 7996 | +}(_commandBase.default); | |
| 7997 | + | |
| 7998 | +exports.Load = Load; | |
| 7999 | +var _default = Load; | |
| 8000 | +exports.default = _default; | |
| 8001 | + | |
| 8002 | +/***/ }), | |
| 8003 | +/* 755 */ | |
| 8004 | +/***/ (function(module, exports, __webpack_require__) { | |
| 8005 | + | |
| 8006 | +"use strict"; | |
| 8007 | + | |
| 8008 | + | |
| 8009 | +var _interopRequireDefault = __webpack_require__(0); | |
| 8010 | + | |
| 8011 | +var _Object$defineProperty = __webpack_require__(1); | |
| 8012 | + | |
| 8013 | +_Object$defineProperty(exports, "__esModule", { | |
| 8014 | + value: true | |
| 8015 | +}); | |
| 8016 | + | |
| 8017 | +exports.default = exports.Open = void 0; | |
| 8018 | + | |
| 8019 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 8020 | + | |
| 8021 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 8022 | + | |
| 8023 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 8024 | + | |
| 8025 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 8026 | + | |
| 8027 | +var _commandBase = _interopRequireDefault(__webpack_require__(21)); | |
| 8028 | + | |
| 8029 | +var Open = /*#__PURE__*/function (_CommandBase) { | |
| 8030 | + (0, _inherits2.default)(Open, _CommandBase); | |
| 8031 | + | |
| 8032 | + var _super = (0, _createSuper2.default)(Open); | |
| 8033 | + | |
| 8034 | + function Open() { | |
| 8035 | + (0, _classCallCheck2.default)(this, Open); | |
| 8036 | + return _super.apply(this, arguments); | |
| 8037 | + } | |
| 8038 | + | |
| 8039 | + (0, _createClass2.default)(Open, [{ | |
| 8040 | + key: "apply", | |
| 8041 | + value: function apply(args) { | |
| 8042 | + $e.route('app', args); | |
| 8043 | + return true; | |
| 8044 | + } | |
| 8045 | + }]); | |
| 8046 | + return Open; | |
| 8047 | +}(_commandBase.default); | |
| 8048 | + | |
| 8049 | +exports.Open = Open; | |
| 8050 | +var _default = Open; | |
| 8051 | +exports.default = _default; | |
| 8052 | + | |
| 8053 | +/***/ }) | |
| 8054 | +/******/ ]); | |
| 2470 | 8055 | //# sourceMappingURL=app-loader.js.map |