| @@ -1,4 +1,5 @@ | ||
| 1 | +/*! elementor - v3.13.2 - 11-05-2023 */ | |
| 1 | 2 | /******/ (() => { // webpackBootstrap |
| 2 | 3 | /******/ var __webpack_modules__ = ({ |
| 3 | 4 | |
| 4 | 5 | /***/ "../assets/dev/js/editor/container/container.js": |
| @@ -15,22 +16,22 @@ | ||
| 15 | 16 | Object.defineProperty(exports, "__esModule", ({ |
| 16 | 17 | value: true |
| 17 | 18 | })); |
| 18 | 19 | exports["default"] = void 0; |
| 19 | -var _readOnlyError2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/readOnlyError */ "../node_modules/@babel/runtime/helpers/readOnlyError.js")); | |
| 20 | 20 | var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js")); |
| 21 | 21 | var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "../node_modules/@babel/runtime/helpers/slicedToArray.js")); |
| 22 | 22 | var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); |
| 23 | 23 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 24 | +var _assertThisInitialized2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js")); | |
| 25 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 24 | 26 | var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); |
| 25 | 27 | var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); |
| 26 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 27 | 28 | var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js")); |
| 28 | 29 | var _argsObject = _interopRequireDefault(__webpack_require__(/*! ../../modules/imports/args-object */ "../assets/dev/js/modules/imports/args-object.js")); |
| 29 | 30 | var _panel = _interopRequireDefault(__webpack_require__(/*! ./panel */ "../assets/dev/js/editor/container/panel.js")); |
| 30 | 31 | var _childrenArray = _interopRequireDefault(__webpack_require__(/*! ./model/children-array */ "../assets/dev/js/editor/container/model/children-array.js")); |
| 31 | -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)); } | |
| 32 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 32 | +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; } | |
| 33 | +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } | |
| 33 | 34 | /** |
| 34 | 35 | * @typedef {import('../../../../lib/backbone/backbone.marionette')} Backbone |
| 35 | 36 | * @typedef {import('../../../../lib/backbone/backbone.marionette')} Marionette |
| 36 | 37 | * @typedef {import('../elements/views/base')} BaseElementView |
| @@ -42,9 +43,11 @@ | ||
| 42 | 43 | * TODO: ViewsOptions |
| 43 | 44 | * |
| 44 | 45 | * @typedef {(Marionette.View|Marionette.CompositeView|BaseElementView|SectionView|BaseContainer)} ViewsOptions |
| 45 | 46 | */ |
| 46 | -var Container = exports["default"] = /*#__PURE__*/function (_ArgsObject) { | |
| 47 | +var Container = /*#__PURE__*/function (_ArgsObject) { | |
| 48 | + (0, _inherits2.default)(Container, _ArgsObject); | |
| 49 | + var _super = _createSuper(Container); | |
| 47 | 50 | /** |
| 48 | 51 | * Function constructor(). |
| 49 | 52 | * |
| 50 | 53 | * Create container. |
| @@ -55,9 +58,9 @@ | ||
| 55 | 58 | */ |
| 56 | 59 | function Container(args) { |
| 57 | 60 | var _this; |
| 58 | 61 | (0, _classCallCheck2.default)(this, Container); |
| 59 | - _this = _callSuper(this, Container, [args]); | |
| 62 | + _this = _super.call(this, args); | |
| 60 | 63 | |
| 61 | 64 | // Validate args. |
| 62 | 65 | /** |
| 63 | 66 | * Container type. |
| @@ -63,99 +66,99 @@ | ||
| 63 | 66 | * Container type. |
| 64 | 67 | * |
| 65 | 68 | * @type {string} |
| 66 | 69 | */ |
| 67 | - (0, _defineProperty2.default)(_this, "type", void 0); | |
| 70 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "type", void 0); | |
| 68 | 71 | /** |
| 69 | 72 | * Container id. |
| 70 | 73 | * |
| 71 | 74 | * @type {string} |
| 72 | 75 | */ |
| 73 | - (0, _defineProperty2.default)(_this, "id", void 0); | |
| 76 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "id", void 0); | |
| 74 | 77 | /** |
| 75 | 78 | * Document Object. |
| 76 | 79 | * |
| 77 | 80 | * @type {{}} |
| 78 | 81 | */ |
| 79 | - (0, _defineProperty2.default)(_this, "document", void 0); | |
| 82 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "document", void 0); | |
| 80 | 83 | /** |
| 81 | 84 | * Container model. |
| 82 | 85 | * |
| 83 | 86 | * @type {(Backbone.Model|BaseElementModel)} |
| 84 | 87 | */ |
| 85 | - (0, _defineProperty2.default)(_this, "model", void 0); | |
| 88 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "model", void 0); | |
| 86 | 89 | /** |
| 87 | 90 | * Container settings. |
| 88 | 91 | * |
| 89 | 92 | * @type {Backbone.Model} |
| 90 | 93 | */ |
| 91 | - (0, _defineProperty2.default)(_this, "settings", void 0); | |
| 94 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "settings", void 0); | |
| 92 | 95 | /** |
| 93 | 96 | * Container view. |
| 94 | 97 | * |
| 95 | 98 | * @type {ViewsOptions} |
| 96 | 99 | */ |
| 97 | - (0, _defineProperty2.default)(_this, "view", void 0); | |
| 100 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "view", void 0); | |
| 98 | 101 | /** |
| 99 | 102 | * Container parent. |
| 100 | 103 | * |
| 101 | 104 | * @type {Container} |
| 102 | 105 | */ |
| 103 | - (0, _defineProperty2.default)(_this, "parent", void 0); | |
| 106 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "parent", void 0); | |
| 104 | 107 | /** |
| 105 | 108 | * Container children(s). |
| 106 | 109 | * |
| 107 | 110 | * @type {ChildrenArray} |
| 108 | 111 | */ |
| 109 | - (0, _defineProperty2.default)(_this, "children", new _childrenArray.default()); | |
| 112 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "children", new _childrenArray.default()); | |
| 110 | 113 | /** |
| 111 | 114 | * Container dynamic. |
| 112 | 115 | * |
| 113 | 116 | * @type {Backbone.Model} |
| 114 | 117 | */ |
| 115 | - (0, _defineProperty2.default)(_this, "dynamic", void 0); | |
| 118 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "dynamic", void 0); | |
| 116 | 119 | /** |
| 117 | 120 | * Container globals. |
| 118 | 121 | * |
| 119 | 122 | * @type {Backbone.Model} |
| 120 | 123 | */ |
| 121 | - (0, _defineProperty2.default)(_this, "globals", void 0); | |
| 124 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "globals", void 0); | |
| 122 | 125 | /** |
| 123 | 126 | * Container label. |
| 124 | 127 | * |
| 125 | 128 | * @type {string} |
| 126 | 129 | */ |
| 127 | - (0, _defineProperty2.default)(_this, "label", void 0); | |
| 130 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "label", void 0); | |
| 128 | 131 | /** |
| 129 | 132 | * Container controls. |
| 130 | 133 | * |
| 131 | 134 | * @type {{}} |
| 132 | 135 | */ |
| 133 | - (0, _defineProperty2.default)(_this, "controls", {}); | |
| 136 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "controls", {}); | |
| 134 | 137 | /** |
| 135 | 138 | * Repeaters containers |
| 136 | 139 | * |
| 137 | 140 | * @type {{}} |
| 138 | 141 | */ |
| 139 | - (0, _defineProperty2.default)(_this, "repeaters", {}); | |
| 142 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "repeaters", {}); | |
| 140 | 143 | /** |
| 141 | 144 | * Container renderer (The one who render). |
| 142 | 145 | * |
| 143 | 146 | * @type {Container} |
| 144 | 147 | */ |
| 145 | - (0, _defineProperty2.default)(_this, "renderer", void 0); | |
| 148 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "renderer", void 0); | |
| 146 | 149 | /** |
| 147 | 150 | * Container panel. |
| 148 | 151 | * |
| 149 | 152 | * @type {Panel} |
| 150 | 153 | */ |
| 151 | - (0, _defineProperty2.default)(_this, "panel", void 0); | |
| 154 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "panel", void 0); | |
| 152 | 155 | /** |
| 153 | 156 | * Controls placeholders. |
| 154 | 157 | * |
| 155 | 158 | * @type {{}} |
| 156 | 159 | */ |
| 157 | - (0, _defineProperty2.default)(_this, "placeholders", {}); | |
| 160 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "placeholders", {}); | |
| 158 | 161 | _this.validateArgs(args); |
| 159 | 162 | args = Object.entries(args); |
| 160 | 163 | |
| 161 | 164 | // If empty. |
| @@ -170,9 +173,9 @@ | ||
| 170 | 173 | value = _ref2[1]; |
| 171 | 174 | _this[key] = 'undefined' === typeof value ? _this[key] : value; |
| 172 | 175 | }); |
| 173 | 176 | if ('undefined' === typeof _this.renderer) { |
| 174 | - _this.renderer = _this; | |
| 177 | + _this.renderer = (0, _assertThisInitialized2.default)(_this); | |
| 175 | 178 | } |
| 176 | 179 | if (!_this.document) { |
| 177 | 180 | _this.document = elementor.documents.getCurrent(); |
| 178 | 181 | } |
| @@ -177,14 +180,13 @@ | ||
| 177 | 180 | _this.document = elementor.documents.getCurrent(); |
| 178 | 181 | } |
| 179 | 182 | _this.dynamic = new Backbone.Model(_this.settings.get('__dynamic__')); |
| 180 | 183 | _this.globals = new Backbone.Model(_this.settings.get('__globals__')); |
| 181 | - _this.panel = new _panel.default(_this); | |
| 184 | + _this.panel = new _panel.default((0, _assertThisInitialized2.default)(_this)); | |
| 182 | 185 | _this.initialize(); |
| 183 | 186 | return _this; |
| 184 | 187 | } |
| 185 | - (0, _inherits2.default)(Container, _ArgsObject); | |
| 186 | - return (0, _createClass2.default)(Container, [{ | |
| 188 | + (0, _createClass2.default)(Container, [{ | |
| 187 | 189 | key: "initialize", |
| 188 | 190 | value: function initialize() { |
| 189 | 191 | if (this.isViewElement()) { |
| 190 | 192 | this.addToParent(); |
| @@ -475,13 +477,8 @@ | ||
| 475 | 477 | } |
| 476 | 478 | } |
| 477 | 479 | return result; |
| 478 | 480 | } |
| 479 | - | |
| 480 | - /** | |
| 481 | - * @param {Function} callback - A callback function. | |
| 482 | - * @deprecated since 3.5.0, use `container.children.findRecursive( callback )` instead. | |
| 483 | - */ | |
| 484 | 481 | }, { |
| 485 | 482 | key: "findChildrenRecursive", |
| 486 | 483 | value: function findChildrenRecursive(callback) { |
| 487 | 484 | elementorDevTools.deprecation.deprecated('container.findChildrenRecursive( callback )', '3.5.0', 'container.children.findRecursive( callback )'); |
| @@ -486,13 +483,8 @@ | ||
| 486 | 483 | value: function findChildrenRecursive(callback) { |
| 487 | 484 | elementorDevTools.deprecation.deprecated('container.findChildrenRecursive( callback )', '3.5.0', 'container.children.findRecursive( callback )'); |
| 488 | 485 | return this.children.findRecursive(callback); |
| 489 | 486 | } |
| 490 | - | |
| 491 | - /** | |
| 492 | - * @param {Function} callback - A callback function. | |
| 493 | - * @deprecated since 3.5.0, use `container.children.forEachRecursive( callback )` instead. | |
| 494 | - */ | |
| 495 | 487 | }, { |
| 496 | 488 | key: "forEachChildrenRecursive", |
| 497 | 489 | value: function forEachChildrenRecursive(callback) { |
| 498 | 490 | elementorDevTools.deprecation.deprecated('container.forEachChildrenRecursive( callback )', '3.5.0', 'container.children.forEachRecursive( callback )'); |
| @@ -510,13 +502,12 @@ | ||
| 510 | 502 | */ |
| 511 | 503 | }, { |
| 512 | 504 | key: "render", |
| 513 | 505 | value: function render() { |
| 514 | - var _this$view; | |
| 515 | 506 | if (!this.renderer) { |
| 516 | 507 | return; |
| 517 | 508 | } |
| 518 | - this.renderer.view.renderOnChange(this.settings, (_this$view = this.view) === null || _this$view === void 0 ? void 0 : _this$view.$el); | |
| 509 | + this.renderer.view.renderOnChange(this.settings); | |
| 519 | 510 | } |
| 520 | 511 | }, { |
| 521 | 512 | key: "renderUI", |
| 522 | 513 | value: function renderUI() { |
| @@ -527,10 +518,9 @@ | ||
| 527 | 518 | } |
| 528 | 519 | }, { |
| 529 | 520 | key: "isEditable", |
| 530 | 521 | value: function isEditable() { |
| 531 | - var _this$model, _this$model$get, _this$model$get$get; | |
| 532 | - return 'edit' === elementor.channels.dataEditMode.request('activeMode') && 'open' === this.document.editor.status && !((_this$model = this.model) !== null && _this$model !== void 0 && (_this$model$get = _this$model.get) !== null && _this$model$get !== void 0 && (_this$model$get = _this$model$get.call(_this$model, 'editSettings')) !== null && _this$model$get !== void 0 && (_this$model$get$get = _this$model$get.get) !== null && _this$model$get$get !== void 0 && _this$model$get$get.call(_this$model$get, 'inactive')); | |
| 522 | + return 'edit' === elementor.channels.dataEditMode.request('activeMode') && 'open' === this.document.editor.status; | |
| 533 | 523 | } |
| 534 | 524 | }, { |
| 535 | 525 | key: "isDesignable", |
| 536 | 526 | value: function isDesignable() { |
| @@ -657,9 +647,11 @@ | ||
| 657 | 647 | // No global default. |
| 658 | 648 | return ''; |
| 659 | 649 | } |
| 660 | 650 | }]); |
| 651 | + return Container; | |
| 661 | 652 | }(_argsObject.default); |
| 653 | +exports["default"] = Container; | |
| 662 | 654 | // TODO: Swap those backwards compatibility is required. |
| 663 | 655 | (0, _defineProperty2.default)(Container, "TYPE_REPEATER", 'repeater-control'); |
| 664 | 656 | (0, _defineProperty2.default)(Container, "TYPE_REPEATER_ITEM", 'repeater'); |
| 665 | 657 | |
| @@ -680,27 +672,28 @@ | ||
| 680 | 672 | })); |
| 681 | 673 | exports["default"] = void 0; |
| 682 | 674 | var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); |
| 683 | 675 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 676 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 684 | 677 | var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); |
| 685 | 678 | var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); |
| 686 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 687 | 679 | var _wrapNativeSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/wrapNativeSuper */ "../node_modules/@babel/runtime/helpers/wrapNativeSuper.js")); |
| 688 | -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; } } }; } | |
| 689 | -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; } } | |
| 690 | -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; } | |
| 691 | -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)); } | |
| 692 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 680 | +function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; } | |
| 681 | +function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } | |
| 682 | +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } | |
| 683 | +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; } | |
| 684 | +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } | |
| 693 | 685 | /** |
| 694 | 686 | * @typedef {import('../container')} Container |
| 695 | 687 | */ |
| 696 | -var ChildrenArray = exports["default"] = /*#__PURE__*/function (_Array) { | |
| 688 | +var ChildrenArray = /*#__PURE__*/function (_Array) { | |
| 689 | + (0, _inherits2.default)(ChildrenArray, _Array); | |
| 690 | + var _super = _createSuper(ChildrenArray); | |
| 697 | 691 | function ChildrenArray() { |
| 698 | 692 | (0, _classCallCheck2.default)(this, ChildrenArray); |
| 699 | - return _callSuper(this, ChildrenArray, arguments); | |
| 693 | + return _super.apply(this, arguments); | |
| 700 | 694 | } |
| 701 | - (0, _inherits2.default)(ChildrenArray, _Array); | |
| 702 | - return (0, _createClass2.default)(ChildrenArray, [{ | |
| 695 | + (0, _createClass2.default)(ChildrenArray, [{ | |
| 703 | 696 | key: "clear", |
| 704 | 697 | value: function clear() { |
| 705 | 698 | this.length = 0; |
| 706 | 699 | } |
| @@ -774,8 +767,9 @@ | ||
| 774 | 767 | * |
| 775 | 768 | * Will run over children recursively, breaks if the callback return true. |
| 776 | 769 | * |
| 777 | 770 | * @param {function(Container) : *} callback |
| 771 | + * | |
| 778 | 772 | */ |
| 779 | 773 | }, { |
| 780 | 774 | key: "someRecursive", |
| 781 | 775 | value: function someRecursive(callback) { |
| @@ -801,9 +795,11 @@ | ||
| 801 | 795 | } |
| 802 | 796 | return false; |
| 803 | 797 | } |
| 804 | 798 | }]); |
| 805 | -}(/*#__PURE__*/(0, _wrapNativeSuper2.default)(Array)); | |
| 799 | + return ChildrenArray; | |
| 800 | +}( /*#__PURE__*/(0, _wrapNativeSuper2.default)(Array)); | |
| 801 | +exports["default"] = ChildrenArray; | |
| 806 | 802 | |
| 807 | 803 | /***/ }), |
| 808 | 804 | |
| 809 | 805 | /***/ "../assets/dev/js/editor/container/panel.js": |
| @@ -824,9 +820,9 @@ | ||
| 824 | 820 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 825 | 821 | /** |
| 826 | 822 | * @typedef {import('./container')} Container |
| 827 | 823 | */ |
| 828 | -var Panel = exports["default"] = /*#__PURE__*/function () { | |
| 824 | +var Panel = /*#__PURE__*/function () { | |
| 829 | 825 | /** |
| 830 | 826 | * Function constructor(). |
| 831 | 827 | * |
| 832 | 828 | * Create constructor panel. |
| @@ -842,9 +838,9 @@ | ||
| 842 | 838 | * Function refresh(). |
| 843 | 839 | * |
| 844 | 840 | * Refresh the panel. |
| 845 | 841 | */ |
| 846 | - return (0, _createClass2.default)(Panel, [{ | |
| 842 | + (0, _createClass2.default)(Panel, [{ | |
| 847 | 843 | key: "refresh", |
| 848 | 844 | value: function refresh() { |
| 849 | 845 | if ($e.routes.isPartOf('panel/editor')) { |
| 850 | 846 | $e.routes.refreshContainer('panel'); |
| @@ -875,9 +871,11 @@ | ||
| 875 | 871 | name: name |
| 876 | 872 | }); |
| 877 | 873 | } |
| 878 | 874 | }]); |
| 875 | + return Panel; | |
| 879 | 876 | }(); |
| 877 | +exports["default"] = Panel; | |
| 880 | 878 | |
| 881 | 879 | /***/ }), |
| 882 | 880 | |
| 883 | 881 | /***/ "../assets/dev/js/editor/elements/models/base-settings.js": |
| @@ -917,9 +915,9 @@ | ||
| 917 | 915 | return; |
| 918 | 916 | } |
| 919 | 917 | var controlName = control.name; |
| 920 | 918 | if ('object' === (0, _typeof2.default)(control.default)) { |
| 921 | - defaults[controlName] = structuredClone(control.default); | |
| 919 | + defaults[controlName] = elementorCommon.helpers.cloneObject(control.default); | |
| 922 | 920 | } else { |
| 923 | 921 | defaults[controlName] = control.default; |
| 924 | 922 | } |
| 925 | 923 | var isDynamicControl = control.dynamic && control.dynamic.active, |
| @@ -986,9 +984,9 @@ | ||
| 986 | 984 | }); |
| 987 | 985 | }, |
| 988 | 986 | getStyleControls: function getStyleControls(controls, attributes) { |
| 989 | 987 | var self = this; |
| 990 | - controls = structuredClone(self.getActiveControls(controls, attributes)); | |
| 988 | + controls = elementorCommon.helpers.cloneObject(self.getActiveControls(controls, attributes)); | |
| 991 | 989 | var styleControls = []; |
| 992 | 990 | jQuery.each(controls, function () { |
| 993 | 991 | var _control$dynamic; |
| 994 | 992 | var control = this, |
| @@ -1016,9 +1014,9 @@ | ||
| 1016 | 1014 | if (control.groupType) { |
| 1017 | 1015 | controlGlobalKey = control.groupPrefix + control.groupType; |
| 1018 | 1016 | } |
| 1019 | 1017 | var globalControl = controls[controlGlobalKey]; |
| 1020 | - if (!(globalControl !== null && globalControl !== void 0 && (_globalControl$global = globalControl.global) !== null && _globalControl$global !== void 0 && _globalControl$global.active)) { | |
| 1018 | + if (!((_globalControl$global = globalControl.global) !== null && _globalControl$global !== void 0 && _globalControl$global.active)) { | |
| 1021 | 1019 | return false; |
| 1022 | 1020 | } |
| 1023 | 1021 | var globalValue = (_this$attributes$__gl = this.attributes.__globals__) === null || _this$attributes$__gl === void 0 ? void 0 : _this$attributes$__gl[controlGlobalKey]; |
| 1024 | 1022 | return !!globalValue; |
| @@ -1204,9 +1202,9 @@ | ||
| 1204 | 1202 | }); |
| 1205 | 1203 | if (options.remove && -1 !== options.remove.indexOf('default')) { |
| 1206 | 1204 | this.removeDataDefaults(data, this.controls); |
| 1207 | 1205 | } |
| 1208 | - return structuredClone(data); | |
| 1206 | + return elementorCommon.helpers.cloneObject(data); | |
| 1209 | 1207 | } |
| 1210 | 1208 | }); |
| 1211 | 1209 | |
| 1212 | 1210 | /** |
| @@ -1285,8 +1283,115 @@ | ||
| 1285 | 1283 | module.exports = InnerTabsBehavior; |
| 1286 | 1284 | |
| 1287 | 1285 | /***/ }), |
| 1288 | 1286 | |
| 1287 | +/***/ "../assets/dev/js/editor/utils/introduction.js": | |
| 1288 | +/*!*****************************************************!*\ | |
| 1289 | + !*** ../assets/dev/js/editor/utils/introduction.js ***! | |
| 1290 | + \*****************************************************/ | |
| 1291 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1292 | + | |
| 1293 | +"use strict"; | |
| 1294 | + | |
| 1295 | + | |
| 1296 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1297 | +Object.defineProperty(exports, "__esModule", ({ | |
| 1298 | + value: true | |
| 1299 | +})); | |
| 1300 | +exports["default"] = void 0; | |
| 1301 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 1302 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 1303 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 1304 | +var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 1305 | +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 1306 | +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; } | |
| 1307 | +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } | |
| 1308 | +var _default = /*#__PURE__*/function (_elementorModules$Mod) { | |
| 1309 | + (0, _inherits2.default)(_default, _elementorModules$Mod); | |
| 1310 | + var _super = _createSuper(_default); | |
| 1311 | + function _default() { | |
| 1312 | + var _this; | |
| 1313 | + (0, _classCallCheck2.default)(this, _default); | |
| 1314 | + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { | |
| 1315 | + args[_key] = arguments[_key]; | |
| 1316 | + } | |
| 1317 | + _this = _super.call.apply(_super, [this].concat(args)); | |
| 1318 | + _this.initDialog(); | |
| 1319 | + return _this; | |
| 1320 | + } | |
| 1321 | + (0, _createClass2.default)(_default, [{ | |
| 1322 | + key: "getDefaultSettings", | |
| 1323 | + value: function getDefaultSettings() { | |
| 1324 | + return { | |
| 1325 | + dialogType: 'buttons', | |
| 1326 | + dialogOptions: { | |
| 1327 | + effects: { | |
| 1328 | + hide: 'hide', | |
| 1329 | + show: 'show' | |
| 1330 | + }, | |
| 1331 | + hide: { | |
| 1332 | + onBackgroundClick: false | |
| 1333 | + } | |
| 1334 | + } | |
| 1335 | + }; | |
| 1336 | + } | |
| 1337 | + }, { | |
| 1338 | + key: "initDialog", | |
| 1339 | + value: function initDialog() { | |
| 1340 | + var _this2 = this; | |
| 1341 | + var dialog; | |
| 1342 | + this.getDialog = function () { | |
| 1343 | + if (!dialog) { | |
| 1344 | + var settings = _this2.getSettings(); | |
| 1345 | + dialog = elementorCommon.dialogsManager.createWidget(settings.dialogType, settings.dialogOptions); | |
| 1346 | + if (settings.onDialogInitCallback) { | |
| 1347 | + settings.onDialogInitCallback.call(_this2, dialog); | |
| 1348 | + } | |
| 1349 | + } | |
| 1350 | + return dialog; | |
| 1351 | + }; | |
| 1352 | + } | |
| 1353 | + }, { | |
| 1354 | + key: "show", | |
| 1355 | + value: function show(target) { | |
| 1356 | + if (this.introductionViewed) { | |
| 1357 | + return; | |
| 1358 | + } | |
| 1359 | + var dialog = this.getDialog(); | |
| 1360 | + if (target) { | |
| 1361 | + dialog.setSettings('position', { | |
| 1362 | + of: target | |
| 1363 | + }); | |
| 1364 | + } | |
| 1365 | + dialog.show(); | |
| 1366 | + } | |
| 1367 | + }, { | |
| 1368 | + key: "introductionViewed", | |
| 1369 | + get: function get() { | |
| 1370 | + var introductionKey = this.getSettings('introductionKey'); | |
| 1371 | + return elementor.config.user.introduction[introductionKey]; | |
| 1372 | + }, | |
| 1373 | + set: function set(isViewed) { | |
| 1374 | + var introductionKey = this.getSettings('introductionKey'); | |
| 1375 | + elementor.config.user.introduction[introductionKey] = true; | |
| 1376 | + } | |
| 1377 | + }, { | |
| 1378 | + key: "setViewed", | |
| 1379 | + value: function setViewed() { | |
| 1380 | + this.introductionViewed = true; | |
| 1381 | + elementorCommon.ajax.addRequest('introduction_viewed', { | |
| 1382 | + data: { | |
| 1383 | + introductionKey: this.getSettings('introductionKey') | |
| 1384 | + } | |
| 1385 | + }); | |
| 1386 | + } | |
| 1387 | + }]); | |
| 1388 | + return _default; | |
| 1389 | +}(elementorModules.Module); | |
| 1390 | +exports["default"] = _default; | |
| 1391 | + | |
| 1392 | +/***/ }), | |
| 1393 | + | |
| 1289 | 1394 | /***/ "../assets/dev/js/editor/utils/is-instanceof.js": |
| 1290 | 1395 | /*!******************************************************!*\ |
| 1291 | 1396 | !*** ../assets/dev/js/editor/utils/is-instanceof.js ***! |
| 1292 | 1397 | \******************************************************/ |
| @@ -1298,11 +1403,11 @@ | ||
| 1298 | 1403 | Object.defineProperty(exports, "__esModule", ({ |
| 1299 | 1404 | value: true |
| 1300 | 1405 | })); |
| 1301 | 1406 | exports["default"] = void 0; |
| 1302 | -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; } } }; } | |
| 1303 | -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; } } | |
| 1304 | -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; } | |
| 1407 | +function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; } | |
| 1408 | +function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } | |
| 1409 | +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } | |
| 1305 | 1410 | /** |
| 1306 | 1411 | * Some FileAPI objects such as FileList, DataTransferItem and DataTransferItemList has inconsistency with the retrieved |
| 1307 | 1412 | * object (from events, etc.) and the actual JavaScript object so a regular instanceof doesn't work. This function can |
| 1308 | 1413 | * check whether it's instanceof by using the objects constructor and prototype names. |
| @@ -1310,16 +1415,16 @@ | ||
| 1310 | 1415 | * @param object |
| 1311 | 1416 | * @param constructors |
| 1312 | 1417 | * @return {boolean} |
| 1313 | 1418 | */ |
| 1314 | -var _default = exports["default"] = function _default(object, constructors) { | |
| 1419 | +var _default = function _default(object, constructors) { | |
| 1315 | 1420 | constructors = Array.isArray(constructors) ? constructors : [constructors]; |
| 1316 | 1421 | var _iterator = _createForOfIteratorHelper(constructors), |
| 1317 | 1422 | _step; |
| 1318 | 1423 | try { |
| 1319 | 1424 | for (_iterator.s(); !(_step = _iterator.n()).done;) { |
| 1320 | - var constructor = _step.value; | |
| 1321 | - if (object.constructor.name === constructor.prototype[Symbol.toStringTag]) { | |
| 1425 | + var _constructor = _step.value; | |
| 1426 | + if (object.constructor.name === _constructor.prototype[Symbol.toStringTag]) { | |
| 1322 | 1427 | return true; |
| 1323 | 1428 | } |
| 1324 | 1429 | } |
| 1325 | 1430 | } catch (err) { |
| @@ -1328,8 +1433,9 @@ | ||
| 1328 | 1433 | _iterator.f(); |
| 1329 | 1434 | } |
| 1330 | 1435 | return false; |
| 1331 | 1436 | }; |
| 1437 | +exports["default"] = _default; | |
| 1332 | 1438 | |
| 1333 | 1439 | /***/ }), |
| 1334 | 1440 | |
| 1335 | 1441 | /***/ "../assets/dev/js/editor/utils/module.js": |
| @@ -1353,11 +1459,10 @@ | ||
| 1353 | 1459 | $window.on('elementor:init', this.onElementorReady); |
| 1354 | 1460 | }, |
| 1355 | 1461 | // TODO: Delete as soon as possible. |
| 1356 | 1462 | getEditorControlView: function getEditorControlView(name) { |
| 1357 | - var _this$getEditorContro; | |
| 1358 | 1463 | var editor = elementor.getPanelView().getCurrentPageView(); |
| 1359 | - return editor.children.findByModelCid((_this$getEditorContro = this.getEditorControlModel(name)) === null || _this$getEditorContro === void 0 ? void 0 : _this$getEditorContro.cid); | |
| 1464 | + return editor.children.findByModelCid(this.getEditorControlModel(name).cid); | |
| 1360 | 1465 | }, |
| 1361 | 1466 | // TODO: Delete as soon as possible. |
| 1362 | 1467 | getEditorControlModel: function getEditorControlModel(name) { |
| 1363 | 1468 | var editor = elementor.getPanelView().getCurrentPageView(); |
| @@ -1397,9 +1502,9 @@ | ||
| 1397 | 1502 | exports["default"] = void 0; |
| 1398 | 1503 | var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js")); |
| 1399 | 1504 | var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); |
| 1400 | 1505 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 1401 | -var ControlsPopover = exports["default"] = /*#__PURE__*/function () { | |
| 1506 | +var ControlsPopover = /*#__PURE__*/function () { | |
| 1402 | 1507 | function ControlsPopover(child) { |
| 1403 | 1508 | (0, _classCallCheck2.default)(this, ControlsPopover); |
| 1404 | 1509 | this.child = child; |
| 1405 | 1510 | this.$popover = jQuery('<div>', { |
| @@ -1413,9 +1518,9 @@ | ||
| 1413 | 1518 | if ('typography' === this.child.model.attributes.groupType) { |
| 1414 | 1519 | this.createPopoverHeader(); |
| 1415 | 1520 | } |
| 1416 | 1521 | } |
| 1417 | - return (0, _createClass2.default)(ControlsPopover, [{ | |
| 1522 | + (0, _createClass2.default)(ControlsPopover, [{ | |
| 1418 | 1523 | key: "addChild", |
| 1419 | 1524 | value: function addChild(child) { |
| 1420 | 1525 | this.$popover.append(child.$el); |
| 1421 | 1526 | } |
| @@ -1450,9 +1555,8 @@ | ||
| 1450 | 1555 | }, { |
| 1451 | 1556 | key: "onResetButtonClick", |
| 1452 | 1557 | value: function onResetButtonClick() { |
| 1453 | 1558 | this.$popover.hide(); |
| 1454 | - this.$popover.trigger('hide'); | |
| 1455 | 1559 | var groupControlName = this.child.model.get('groupPrefix') + 'typography', |
| 1456 | 1560 | args = { |
| 1457 | 1561 | container: this.child.options.container, |
| 1458 | 1562 | settings: (0, _defineProperty2.default)({}, groupControlName, '') |
| @@ -1497,9 +1601,11 @@ | ||
| 1497 | 1601 | value: function destroy() { |
| 1498 | 1602 | this.$popover.remove(); |
| 1499 | 1603 | } |
| 1500 | 1604 | }]); |
| 1605 | + return ControlsPopover; | |
| 1501 | 1606 | }(); |
| 1607 | +exports["default"] = ControlsPopover; | |
| 1502 | 1608 | |
| 1503 | 1609 | /***/ }), |
| 1504 | 1610 | |
| 1505 | 1611 | /***/ "../assets/dev/js/editor/views/controls-stack.js": |
| @@ -1564,11 +1670,8 @@ | ||
| 1564 | 1670 | this.activateFirstSection(); |
| 1565 | 1671 | } |
| 1566 | 1672 | this.listenTo(elementor.channels.deviceMode, 'change', this.onDeviceModeChange); |
| 1567 | 1673 | }, |
| 1568 | - onDestroy: function onDestroy() { | |
| 1569 | - this.stopListening(elementor.channels.deviceMode, 'change', this.onDeviceModeChange); | |
| 1570 | - }, | |
| 1571 | 1674 | initCollection: function initCollection() { |
| 1572 | 1675 | this.collection = new Backbone.Collection(_.values(elementor.mergeControlsSettings(this.getOption('controls')))); |
| 1573 | 1676 | }, |
| 1574 | 1677 | filter: function filter(controlModel) { |
| @@ -1672,10 +1775,10 @@ | ||
| 1672 | 1775 | } |
| 1673 | 1776 | }, { |
| 1674 | 1777 | handlePopovers: function handlePopovers(view) { |
| 1675 | 1778 | var popover; |
| 1779 | + view.popovers = []; | |
| 1676 | 1780 | this.removePopovers(view); |
| 1677 | - view.popovers = []; | |
| 1678 | 1781 | view.children.each(function (control) { |
| 1679 | 1782 | if (popover) { |
| 1680 | 1783 | popover.addChild(control); |
| 1681 | 1784 | } |
| @@ -1692,15 +1795,15 @@ | ||
| 1692 | 1795 | } |
| 1693 | 1796 | }); |
| 1694 | 1797 | }, |
| 1695 | 1798 | removePopovers: function removePopovers(view) { |
| 1696 | - var _view$popovers; | |
| 1697 | - (_view$popovers = view.popovers) === null || _view$popovers === void 0 || _view$popovers.forEach(function (popover) { | |
| 1799 | + view.popovers.forEach(function (popover) { | |
| 1698 | 1800 | return popover.destroy(); |
| 1699 | 1801 | }); |
| 1700 | 1802 | } |
| 1701 | 1803 | }); |
| 1702 | -var _default = exports["default"] = ControlsStack; | |
| 1804 | +var _default = ControlsStack; | |
| 1805 | +exports["default"] = _default; | |
| 1703 | 1806 | |
| 1704 | 1807 | /***/ }), |
| 1705 | 1808 | |
| 1706 | 1809 | /***/ "../assets/dev/js/modules/imports/args-object.js": |
| @@ -1719,16 +1822,18 @@ | ||
| 1719 | 1822 | exports["default"] = void 0; |
| 1720 | 1823 | var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js")); |
| 1721 | 1824 | var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); |
| 1722 | 1825 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 1826 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 1723 | 1827 | var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); |
| 1724 | 1828 | var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); |
| 1725 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 1726 | 1829 | var _instanceType = _interopRequireDefault(__webpack_require__(/*! ./instance-type */ "../assets/dev/js/modules/imports/instance-type.js")); |
| 1727 | 1830 | var _isInstanceof = _interopRequireDefault(__webpack_require__(/*! ../../editor/utils/is-instanceof */ "../assets/dev/js/editor/utils/is-instanceof.js")); |
| 1728 | -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)); } | |
| 1729 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 1730 | -var ArgsObject = exports["default"] = /*#__PURE__*/function (_InstanceType) { | |
| 1831 | +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; } | |
| 1832 | +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } | |
| 1833 | +var ArgsObject = /*#__PURE__*/function (_InstanceType) { | |
| 1834 | + (0, _inherits2.default)(ArgsObject, _InstanceType); | |
| 1835 | + var _super = _createSuper(ArgsObject); | |
| 1731 | 1836 | /** |
| 1732 | 1837 | * Function constructor(). |
| 1733 | 1838 | * |
| 1734 | 1839 | * Create ArgsObject. |
| @@ -1737,9 +1842,9 @@ | ||
| 1737 | 1842 | */ |
| 1738 | 1843 | function ArgsObject(args) { |
| 1739 | 1844 | var _this; |
| 1740 | 1845 | (0, _classCallCheck2.default)(this, ArgsObject); |
| 1741 | - _this = _callSuper(this, ArgsObject); | |
| 1846 | + _this = _super.call(this); | |
| 1742 | 1847 | _this.args = args; |
| 1743 | 1848 | return _this; |
| 1744 | 1849 | } |
| 1745 | 1850 | |
| @@ -1751,11 +1856,11 @@ | ||
| 1751 | 1856 | * @param {string} property |
| 1752 | 1857 | * @param {{}} args |
| 1753 | 1858 | * |
| 1754 | 1859 | * @throws {Error} |
| 1860 | + * | |
| 1755 | 1861 | */ |
| 1756 | - (0, _inherits2.default)(ArgsObject, _InstanceType); | |
| 1757 | - return (0, _createClass2.default)(ArgsObject, [{ | |
| 1862 | + (0, _createClass2.default)(ArgsObject, [{ | |
| 1758 | 1863 | key: "requireArgument", |
| 1759 | 1864 | value: function requireArgument(property) { |
| 1760 | 1865 | var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.args; |
| 1761 | 1866 | if (!Object.prototype.hasOwnProperty.call(args, property)) { |
| @@ -1772,8 +1877,9 @@ | ||
| 1772 | 1877 | * @param {string} type |
| 1773 | 1878 | * @param {{}} args |
| 1774 | 1879 | * |
| 1775 | 1880 | * @throws {Error} |
| 1881 | + * | |
| 1776 | 1882 | */ |
| 1777 | 1883 | }, { |
| 1778 | 1884 | key: "requireArgumentType", |
| 1779 | 1885 | value: function requireArgumentType(property, type) { |
| @@ -1793,8 +1899,9 @@ | ||
| 1793 | 1899 | * @param {*} instance |
| 1794 | 1900 | * @param {{}} args |
| 1795 | 1901 | * |
| 1796 | 1902 | * @throws {Error} |
| 1903 | + * | |
| 1797 | 1904 | */ |
| 1798 | 1905 | }, { |
| 1799 | 1906 | key: "requireArgumentInstance", |
| 1800 | 1907 | value: function requireArgumentInstance(property, instance) { |
| @@ -1814,8 +1921,9 @@ | ||
| 1814 | 1921 | * @param {*} type |
| 1815 | 1922 | * @param {{}} args |
| 1816 | 1923 | * |
| 1817 | 1924 | * @throws {Error} |
| 1925 | + * | |
| 1818 | 1926 | */ |
| 1819 | 1927 | }, { |
| 1820 | 1928 | key: "requireArgumentConstructor", |
| 1821 | 1929 | value: function requireArgumentConstructor(property, type) { |
| @@ -1833,9 +1941,11 @@ | ||
| 1833 | 1941 | value: function getInstanceType() { |
| 1834 | 1942 | return 'ArgsObject'; |
| 1835 | 1943 | } |
| 1836 | 1944 | }]); |
| 1945 | + return ArgsObject; | |
| 1837 | 1946 | }(_instanceType.default); |
| 1947 | +exports["default"] = ArgsObject; | |
| 1838 | 1948 | |
| 1839 | 1949 | /***/ }), |
| 1840 | 1950 | |
| 1841 | 1951 | /***/ "../assets/dev/js/modules/imports/instance-type.js": |
| @@ -1853,12 +1963,11 @@ | ||
| 1853 | 1963 | })); |
| 1854 | 1964 | exports["default"] = void 0; |
| 1855 | 1965 | var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); |
| 1856 | 1966 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 1967 | +var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/get */ "../node_modules/@babel/runtime/helpers/get.js")); | |
| 1857 | 1968 | var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); |
| 1858 | -var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/get */ "../node_modules/@babel/runtime/helpers/get.js")); | |
| 1859 | -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; } | |
| 1860 | -var InstanceType = exports["default"] = /*#__PURE__*/function () { | |
| 1969 | +var InstanceType = /*#__PURE__*/function (_Symbol$hasInstance) { | |
| 1861 | 1970 | function InstanceType() { |
| 1862 | 1971 | var _this = this; |
| 1863 | 1972 | (0, _classCallCheck2.default)(this, InstanceType); |
| 1864 | 1973 | // Since anonymous classes sometimes do not get validated by babel, do it manually. |
| @@ -1871,10 +1980,10 @@ | ||
| 1871 | 1980 | prototypes.reverse().forEach(function (proto) { |
| 1872 | 1981 | return _this instanceof proto; |
| 1873 | 1982 | }); |
| 1874 | 1983 | } |
| 1875 | - return (0, _createClass2.default)(InstanceType, null, [{ | |
| 1876 | - key: Symbol.hasInstance, | |
| 1984 | + (0, _createClass2.default)(InstanceType, null, [{ | |
| 1985 | + key: _Symbol$hasInstance, | |
| 1877 | 1986 | value: function value(target) { |
| 1878 | 1987 | /** |
| 1879 | 1988 | * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class |
| 1880 | 1989 | * its give's opportunity to mange capabilities of instanceOf operator. |
| @@ -1879,9 +1988,9 @@ | ||
| 1879 | 1988 | * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class |
| 1880 | 1989 | * its give's opportunity to mange capabilities of instanceOf operator. |
| 1881 | 1990 | * saving current class each time will give option later to handle instanceOf manually. |
| 1882 | 1991 | */ |
| 1883 | - var result = _superPropGet(InstanceType, Symbol.hasInstance, this, 2)([target]); | |
| 1992 | + var result = (0, _get2.default)((0, _getPrototypeOf2.default)(InstanceType), Symbol.hasInstance, this).call(this, target); | |
| 1884 | 1993 | |
| 1885 | 1994 | // Act normal when validate a class, which does not have instance type. |
| 1886 | 1995 | if (target && !target.constructor.getInstanceType) { |
| 1887 | 1996 | return result; |
| @@ -1913,162 +2022,25 @@ | ||
| 1913 | 2022 | value: function getInstanceType() { |
| 1914 | 2023 | elementorModules.ForceMethodImplementation(); |
| 1915 | 2024 | } |
| 1916 | 2025 | }]); |
| 1917 | -}(); | |
| 2026 | + return InstanceType; | |
| 2027 | +}(Symbol.hasInstance); | |
| 2028 | +exports["default"] = InstanceType; | |
| 1918 | 2029 | |
| 1919 | 2030 | /***/ }), |
| 1920 | 2031 | |
| 1921 | -/***/ "../assets/dev/js/utils/introduction.js": | |
| 1922 | -/*!**********************************************!*\ | |
| 1923 | - !*** ../assets/dev/js/utils/introduction.js ***! | |
| 1924 | - \**********************************************/ | |
| 1925 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 2032 | +/***/ "@wordpress/i18n": | |
| 2033 | +/*!**************************!*\ | |
| 2034 | + !*** external "wp.i18n" ***! | |
| 2035 | + \**************************/ | |
| 2036 | +/***/ ((module) => { | |
| 1926 | 2037 | |
| 1927 | 2038 | "use strict"; |
| 2039 | +module.exports = wp.i18n; | |
| 1928 | 2040 | |
| 1929 | - | |
| 1930 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1931 | -Object.defineProperty(exports, "__esModule", ({ | |
| 1932 | - value: true | |
| 1933 | -})); | |
| 1934 | -exports["default"] = void 0; | |
| 1935 | -var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ "../node_modules/@babel/runtime/regenerator/index.js")); | |
| 1936 | -var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ "../node_modules/@babel/runtime/helpers/asyncToGenerator.js")); | |
| 1937 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 1938 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 1939 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 1940 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 1941 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 1942 | -var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js")); | |
| 1943 | -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)); } | |
| 1944 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 1945 | -var _default = exports["default"] = /*#__PURE__*/function (_elementorModules$Mod) { | |
| 1946 | - function _default() { | |
| 1947 | - var _this; | |
| 1948 | - (0, _classCallCheck2.default)(this, _default); | |
| 1949 | - for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { | |
| 1950 | - args[_key] = arguments[_key]; | |
| 1951 | - } | |
| 1952 | - _this = _callSuper(this, _default, [].concat(args)); | |
| 1953 | - (0, _defineProperty2.default)(_this, "introductionMap", null); | |
| 1954 | - _this.initDialog(); | |
| 1955 | - return _this; | |
| 1956 | - } | |
| 1957 | - (0, _inherits2.default)(_default, _elementorModules$Mod); | |
| 1958 | - return (0, _createClass2.default)(_default, [{ | |
| 1959 | - key: "setIntroductionMap", | |
| 1960 | - value: function setIntroductionMap(map) { | |
| 1961 | - this.introductionMap = map; | |
| 1962 | - } | |
| 1963 | - }, { | |
| 1964 | - key: "getIntroductionMap", | |
| 1965 | - value: function getIntroductionMap() { | |
| 1966 | - return this.introductionMap || elementor.config.user.introduction; | |
| 1967 | - } | |
| 1968 | - }, { | |
| 1969 | - key: "getDefaultSettings", | |
| 1970 | - value: function getDefaultSettings() { | |
| 1971 | - return { | |
| 1972 | - dialogType: 'buttons', | |
| 1973 | - dialogOptions: { | |
| 1974 | - effects: { | |
| 1975 | - hide: 'hide', | |
| 1976 | - show: 'show' | |
| 1977 | - }, | |
| 1978 | - hide: { | |
| 1979 | - onBackgroundClick: false | |
| 1980 | - } | |
| 1981 | - } | |
| 1982 | - }; | |
| 1983 | - } | |
| 1984 | - }, { | |
| 1985 | - key: "initDialog", | |
| 1986 | - value: function initDialog() { | |
| 1987 | - var _this2 = this; | |
| 1988 | - var dialog; | |
| 1989 | - this.getDialog = function () { | |
| 1990 | - if (!dialog) { | |
| 1991 | - var settings = _this2.getSettings(); | |
| 1992 | - dialog = elementorCommon.dialogsManager.createWidget(settings.dialogType, settings.dialogOptions); | |
| 1993 | - if (settings.onDialogInitCallback) { | |
| 1994 | - settings.onDialogInitCallback.call(_this2, dialog); | |
| 1995 | - } | |
| 1996 | - } | |
| 1997 | - return dialog; | |
| 1998 | - }; | |
| 1999 | - } | |
| 2000 | - }, { | |
| 2001 | - key: "show", | |
| 2002 | - value: function show(target) { | |
| 2003 | - if (this.introductionViewed) { | |
| 2004 | - return; | |
| 2005 | - } | |
| 2006 | - var dialog = this.getDialog(); | |
| 2007 | - if (target) { | |
| 2008 | - dialog.setSettings('position', { | |
| 2009 | - of: target | |
| 2010 | - }); | |
| 2011 | - } | |
| 2012 | - dialog.show(); | |
| 2013 | - } | |
| 2014 | - }, { | |
| 2015 | - key: "introductionViewed", | |
| 2016 | - get: function get() { | |
| 2017 | - var introductionKey = this.getSettings('introductionKey'); | |
| 2018 | - return this.getIntroductionMap()[introductionKey]; | |
| 2019 | - }, | |
| 2020 | - set: function set(isViewed) { | |
| 2021 | - var introductionKey = this.getSettings('introductionKey'); | |
| 2022 | - this.getIntroductionMap()[introductionKey] = isViewed; | |
| 2023 | - } | |
| 2024 | - }, { | |
| 2025 | - key: "setViewed", | |
| 2026 | - value: function () { | |
| 2027 | - var _setViewed = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() { | |
| 2028 | - var _this3 = this; | |
| 2029 | - return _regenerator.default.wrap(function (_context) { | |
| 2030 | - while (1) switch (_context.prev = _context.next) { | |
| 2031 | - case 0: | |
| 2032 | - this.introductionViewed = true; | |
| 2033 | - return _context.abrupt("return", new Promise(function (resolve, reject) { | |
| 2034 | - elementorCommon.ajax.addRequest('introduction_viewed', { | |
| 2035 | - data: { | |
| 2036 | - introductionKey: _this3.getSettings('introductionKey') | |
| 2037 | - }, | |
| 2038 | - success: resolve, | |
| 2039 | - error: reject | |
| 2040 | - }); | |
| 2041 | - })); | |
| 2042 | - case 1: | |
| 2043 | - case "end": | |
| 2044 | - return _context.stop(); | |
| 2045 | - } | |
| 2046 | - }, _callee, this); | |
| 2047 | - })); | |
| 2048 | - function setViewed() { | |
| 2049 | - return _setViewed.apply(this, arguments); | |
| 2050 | - } | |
| 2051 | - return setViewed; | |
| 2052 | - }() | |
| 2053 | - }]); | |
| 2054 | -}(elementorModules.Module); | |
| 2055 | - | |
| 2056 | 2041 | /***/ }), |
| 2057 | 2042 | |
| 2058 | -/***/ "../node_modules/@babel/runtime/helpers/OverloadYield.js": | |
| 2059 | -/*!***************************************************************!*\ | |
| 2060 | - !*** ../node_modules/@babel/runtime/helpers/OverloadYield.js ***! | |
| 2061 | - \***************************************************************/ | |
| 2062 | -/***/ ((module) => { | |
| 2063 | - | |
| 2064 | -function _OverloadYield(e, d) { | |
| 2065 | - this.v = e, this.k = d; | |
| 2066 | -} | |
| 2067 | -module.exports = _OverloadYield, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2068 | - | |
| 2069 | -/***/ }), | |
| 2070 | - | |
| 2071 | 2043 | /***/ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js": |
| 2072 | 2044 | /*!******************************************************************!*\ |
| 2073 | 2045 | !*** ../node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***! |
| 2074 | 2046 | \******************************************************************/ |
| @@ -2073,12 +2045,12 @@ | ||
| 2073 | 2045 | !*** ../node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***! |
| 2074 | 2046 | \******************************************************************/ |
| 2075 | 2047 | /***/ ((module) => { |
| 2076 | 2048 | |
| 2077 | -function _arrayLikeToArray(r, a) { | |
| 2078 | - (null == a || a > r.length) && (a = r.length); | |
| 2079 | - for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; | |
| 2080 | - return n; | |
| 2049 | +function _arrayLikeToArray(arr, len) { | |
| 2050 | + if (len == null || len > arr.length) len = arr.length; | |
| 2051 | + for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; | |
| 2052 | + return arr2; | |
| 2081 | 2053 | } |
| 2082 | 2054 | module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2083 | 2055 | |
| 2084 | 2056 | /***/ }), |
| @@ -2088,10 +2060,10 @@ | ||
| 2088 | 2060 | !*** ../node_modules/@babel/runtime/helpers/arrayWithHoles.js ***! |
| 2089 | 2061 | \****************************************************************/ |
| 2090 | 2062 | /***/ ((module) => { |
| 2091 | 2063 | |
| 2092 | -function _arrayWithHoles(r) { | |
| 2093 | - if (Array.isArray(r)) return r; | |
| 2064 | +function _arrayWithHoles(arr) { | |
| 2065 | + if (Array.isArray(arr)) return arr; | |
| 2094 | 2066 | } |
| 2095 | 2067 | module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2096 | 2068 | |
| 2097 | 2069 | /***/ }), |
| @@ -2101,51 +2073,18 @@ | ||
| 2101 | 2073 | !*** ../node_modules/@babel/runtime/helpers/assertThisInitialized.js ***! |
| 2102 | 2074 | \***********************************************************************/ |
| 2103 | 2075 | /***/ ((module) => { |
| 2104 | 2076 | |
| 2105 | -function _assertThisInitialized(e) { | |
| 2106 | - if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
| 2107 | - return e; | |
| 2077 | +function _assertThisInitialized(self) { | |
| 2078 | + if (self === void 0) { | |
| 2079 | + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
| 2080 | + } | |
| 2081 | + return self; | |
| 2108 | 2082 | } |
| 2109 | 2083 | module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2110 | 2084 | |
| 2111 | 2085 | /***/ }), |
| 2112 | 2086 | |
| 2113 | -/***/ "../node_modules/@babel/runtime/helpers/asyncToGenerator.js": | |
| 2114 | -/*!******************************************************************!*\ | |
| 2115 | - !*** ../node_modules/@babel/runtime/helpers/asyncToGenerator.js ***! | |
| 2116 | - \******************************************************************/ | |
| 2117 | -/***/ ((module) => { | |
| 2118 | - | |
| 2119 | -function asyncGeneratorStep(n, t, e, r, o, a, c) { | |
| 2120 | - try { | |
| 2121 | - var i = n[a](c), | |
| 2122 | - u = i.value; | |
| 2123 | - } catch (n) { | |
| 2124 | - return void e(n); | |
| 2125 | - } | |
| 2126 | - i.done ? t(u) : Promise.resolve(u).then(r, o); | |
| 2127 | -} | |
| 2128 | -function _asyncToGenerator(n) { | |
| 2129 | - return function () { | |
| 2130 | - var t = this, | |
| 2131 | - e = arguments; | |
| 2132 | - return new Promise(function (r, o) { | |
| 2133 | - var a = n.apply(t, e); | |
| 2134 | - function _next(n) { | |
| 2135 | - asyncGeneratorStep(a, r, o, _next, _throw, "next", n); | |
| 2136 | - } | |
| 2137 | - function _throw(n) { | |
| 2138 | - asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); | |
| 2139 | - } | |
| 2140 | - _next(void 0); | |
| 2141 | - }); | |
| 2142 | - }; | |
| 2143 | -} | |
| 2144 | -module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2145 | - | |
| 2146 | -/***/ }), | |
| 2147 | - | |
| 2148 | 2087 | /***/ "../node_modules/@babel/runtime/helpers/classCallCheck.js": |
| 2149 | 2088 | /*!****************************************************************!*\ |
| 2150 | 2089 | !*** ../node_modules/@babel/runtime/helpers/classCallCheck.js ***! |
| 2151 | 2090 | \****************************************************************/ |
| @@ -2150,10 +2089,12 @@ | ||
| 2150 | 2089 | !*** ../node_modules/@babel/runtime/helpers/classCallCheck.js ***! |
| 2151 | 2090 | \****************************************************************/ |
| 2152 | 2091 | /***/ ((module) => { |
| 2153 | 2092 | |
| 2154 | -function _classCallCheck(a, n) { | |
| 2155 | - if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); | |
| 2093 | +function _classCallCheck(instance, Constructor) { | |
| 2094 | + if (!(instance instanceof Constructor)) { | |
| 2095 | + throw new TypeError("Cannot call a class as a function"); | |
| 2096 | + } | |
| 2156 | 2097 | } |
| 2157 | 2098 | module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2158 | 2099 | |
| 2159 | 2100 | /***/ }), |
| @@ -2163,16 +2104,24 @@ | ||
| 2163 | 2104 | !*** ../node_modules/@babel/runtime/helpers/construct.js ***! |
| 2164 | 2105 | \***********************************************************/ |
| 2165 | 2106 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2166 | 2107 | |
| 2108 | +var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js"); | |
| 2167 | 2109 | var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ "../node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js"); |
| 2168 | -var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js"); | |
| 2169 | -function _construct(t, e, r) { | |
| 2170 | - if (isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments); | |
| 2171 | - var o = [null]; | |
| 2172 | - o.push.apply(o, e); | |
| 2173 | - var p = new (t.bind.apply(t, o))(); | |
| 2174 | - return r && setPrototypeOf(p, r.prototype), p; | |
| 2110 | +function _construct(Parent, args, Class) { | |
| 2111 | + if (isNativeReflectConstruct()) { | |
| 2112 | + module.exports = _construct = Reflect.construct.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2113 | + } else { | |
| 2114 | + module.exports = _construct = function _construct(Parent, args, Class) { | |
| 2115 | + var a = [null]; | |
| 2116 | + a.push.apply(a, args); | |
| 2117 | + var Constructor = Function.bind.apply(Parent, a); | |
| 2118 | + var instance = new Constructor(); | |
| 2119 | + if (Class) setPrototypeOf(instance, Class.prototype); | |
| 2120 | + return instance; | |
| 2121 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2122 | + } | |
| 2123 | + return _construct.apply(null, arguments); | |
| 2175 | 2124 | } |
| 2176 | 2125 | module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2177 | 2126 | |
| 2178 | 2127 | /***/ }), |
| @@ -2183,18 +2132,24 @@ | ||
| 2183 | 2132 | \*************************************************************/ |
| 2184 | 2133 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2185 | 2134 | |
| 2186 | 2135 | var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js"); |
| 2187 | -function _defineProperties(e, r) { | |
| 2188 | - for (var t = 0; t < r.length; t++) { | |
| 2189 | - var o = r[t]; | |
| 2190 | - o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o); | |
| 2136 | +function _defineProperties(target, props) { | |
| 2137 | + for (var i = 0; i < props.length; i++) { | |
| 2138 | + var descriptor = props[i]; | |
| 2139 | + descriptor.enumerable = descriptor.enumerable || false; | |
| 2140 | + descriptor.configurable = true; | |
| 2141 | + if ("value" in descriptor) descriptor.writable = true; | |
| 2142 | + Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor); | |
| 2191 | 2143 | } |
| 2192 | 2144 | } |
| 2193 | -function _createClass(e, r, t) { | |
| 2194 | - return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { | |
| 2195 | - writable: !1 | |
| 2196 | - }), e; | |
| 2145 | +function _createClass(Constructor, protoProps, staticProps) { | |
| 2146 | + if (protoProps) _defineProperties(Constructor.prototype, protoProps); | |
| 2147 | + if (staticProps) _defineProperties(Constructor, staticProps); | |
| 2148 | + Object.defineProperty(Constructor, "prototype", { | |
| 2149 | + writable: false | |
| 2150 | + }); | |
| 2151 | + return Constructor; | |
| 2197 | 2152 | } |
| 2198 | 2153 | module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2199 | 2154 | |
| 2200 | 2155 | /***/ }), |
| @@ -2205,15 +2160,21 @@ | ||
| 2205 | 2160 | \****************************************************************/ |
| 2206 | 2161 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2207 | 2162 | |
| 2208 | 2163 | var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js"); |
| 2209 | -function _defineProperty(e, r, t) { | |
| 2210 | - return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, { | |
| 2211 | - value: t, | |
| 2212 | - enumerable: !0, | |
| 2213 | - configurable: !0, | |
| 2214 | - writable: !0 | |
| 2215 | - }) : e[r] = t, e; | |
| 2164 | +function _defineProperty(obj, key, value) { | |
| 2165 | + key = toPropertyKey(key); | |
| 2166 | + if (key in obj) { | |
| 2167 | + Object.defineProperty(obj, key, { | |
| 2168 | + value: value, | |
| 2169 | + enumerable: true, | |
| 2170 | + configurable: true, | |
| 2171 | + writable: true | |
| 2172 | + }); | |
| 2173 | + } else { | |
| 2174 | + obj[key] = value; | |
| 2175 | + } | |
| 2176 | + return obj; | |
| 2216 | 2177 | } |
| 2217 | 2178 | module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2218 | 2179 | |
| 2219 | 2180 | /***/ }), |
| @@ -2225,15 +2186,22 @@ | ||
| 2225 | 2186 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2226 | 2187 | |
| 2227 | 2188 | var superPropBase = __webpack_require__(/*! ./superPropBase.js */ "../node_modules/@babel/runtime/helpers/superPropBase.js"); |
| 2228 | 2189 | function _get() { |
| 2229 | - return module.exports = _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) { | |
| 2230 | - var p = superPropBase(e, t); | |
| 2231 | - if (p) { | |
| 2232 | - var n = Object.getOwnPropertyDescriptor(p, t); | |
| 2233 | - return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value; | |
| 2234 | - } | |
| 2235 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _get.apply(null, arguments); | |
| 2190 | + if (typeof Reflect !== "undefined" && Reflect.get) { | |
| 2191 | + module.exports = _get = Reflect.get.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2192 | + } else { | |
| 2193 | + module.exports = _get = function _get(target, property, receiver) { | |
| 2194 | + var base = superPropBase(target, property); | |
| 2195 | + if (!base) return; | |
| 2196 | + var desc = Object.getOwnPropertyDescriptor(base, property); | |
| 2197 | + if (desc.get) { | |
| 2198 | + return desc.get.call(arguments.length < 3 ? target : receiver); | |
| 2199 | + } | |
| 2200 | + return desc.value; | |
| 2201 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2202 | + } | |
| 2203 | + return _get.apply(this, arguments); | |
| 2236 | 2204 | } |
| 2237 | 2205 | module.exports = _get, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2238 | 2206 | |
| 2239 | 2207 | /***/ }), |
| @@ -2243,12 +2211,13 @@ | ||
| 2243 | 2211 | !*** ../node_modules/@babel/runtime/helpers/getPrototypeOf.js ***! |
| 2244 | 2212 | \****************************************************************/ |
| 2245 | 2213 | /***/ ((module) => { |
| 2246 | 2214 | |
| 2247 | -function _getPrototypeOf(t) { | |
| 2248 | - return module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { | |
| 2249 | - return t.__proto__ || Object.getPrototypeOf(t); | |
| 2250 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _getPrototypeOf(t); | |
| 2215 | +function _getPrototypeOf(o) { | |
| 2216 | + module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { | |
| 2217 | + return o.__proto__ || Object.getPrototypeOf(o); | |
| 2218 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2219 | + return _getPrototypeOf(o); | |
| 2251 | 2220 | } |
| 2252 | 2221 | module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2253 | 2222 | |
| 2254 | 2223 | /***/ }), |
| @@ -2259,19 +2228,23 @@ | ||
| 2259 | 2228 | \**********************************************************/ |
| 2260 | 2229 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2261 | 2230 | |
| 2262 | 2231 | var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js"); |
| 2263 | -function _inherits(t, e) { | |
| 2264 | - if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); | |
| 2265 | - t.prototype = Object.create(e && e.prototype, { | |
| 2232 | +function _inherits(subClass, superClass) { | |
| 2233 | + if (typeof superClass !== "function" && superClass !== null) { | |
| 2234 | + throw new TypeError("Super expression must either be null or a function"); | |
| 2235 | + } | |
| 2236 | + subClass.prototype = Object.create(superClass && superClass.prototype, { | |
| 2266 | 2237 | constructor: { |
| 2267 | - value: t, | |
| 2268 | - writable: !0, | |
| 2269 | - configurable: !0 | |
| 2238 | + value: subClass, | |
| 2239 | + writable: true, | |
| 2240 | + configurable: true | |
| 2270 | 2241 | } |
| 2271 | - }), Object.defineProperty(t, "prototype", { | |
| 2272 | - writable: !1 | |
| 2273 | - }), e && setPrototypeOf(t, e); | |
| 2242 | + }); | |
| 2243 | + Object.defineProperty(subClass, "prototype", { | |
| 2244 | + writable: false | |
| 2245 | + }); | |
| 2246 | + if (superClass) setPrototypeOf(subClass, superClass); | |
| 2274 | 2247 | } |
| 2275 | 2248 | module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2276 | 2249 | |
| 2277 | 2250 | /***/ }), |
| @@ -2281,11 +2254,11 @@ | ||
| 2281 | 2254 | !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! |
| 2282 | 2255 | \***********************************************************************/ |
| 2283 | 2256 | /***/ ((module) => { |
| 2284 | 2257 | |
| 2285 | -function _interopRequireDefault(e) { | |
| 2286 | - return e && e.__esModule ? e : { | |
| 2287 | - "default": e | |
| 2258 | +function _interopRequireDefault(obj) { | |
| 2259 | + return obj && obj.__esModule ? obj : { | |
| 2260 | + "default": obj | |
| 2288 | 2261 | }; |
| 2289 | 2262 | } |
| 2290 | 2263 | module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2291 | 2264 | |
| @@ -2296,14 +2269,10 @@ | ||
| 2296 | 2269 | !*** ../node_modules/@babel/runtime/helpers/isNativeFunction.js ***! |
| 2297 | 2270 | \******************************************************************/ |
| 2298 | 2271 | /***/ ((module) => { |
| 2299 | 2272 | |
| 2300 | -function _isNativeFunction(t) { | |
| 2301 | - try { | |
| 2302 | - return -1 !== Function.toString.call(t).indexOf("[native code]"); | |
| 2303 | - } catch (n) { | |
| 2304 | - return "function" == typeof t; | |
| 2305 | - } | |
| 2273 | +function _isNativeFunction(fn) { | |
| 2274 | + return Function.toString.call(fn).indexOf("[native code]") !== -1; | |
| 2306 | 2275 | } |
| 2307 | 2276 | module.exports = _isNativeFunction, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2308 | 2277 | |
| 2309 | 2278 | /***/ }), |
| @@ -2314,14 +2283,17 @@ | ||
| 2314 | 2283 | \**************************************************************************/ |
| 2315 | 2284 | /***/ ((module) => { |
| 2316 | 2285 | |
| 2317 | 2286 | function _isNativeReflectConstruct() { |
| 2287 | + if (typeof Reflect === "undefined" || !Reflect.construct) return false; | |
| 2288 | + if (Reflect.construct.sham) return false; | |
| 2289 | + if (typeof Proxy === "function") return true; | |
| 2318 | 2290 | try { |
| 2319 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); | |
| 2320 | - } catch (t) {} | |
| 2321 | - return (module.exports = _isNativeReflectConstruct = function _isNativeReflectConstruct() { | |
| 2322 | - return !!t; | |
| 2323 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports)(); | |
| 2291 | + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); | |
| 2292 | + return true; | |
| 2293 | + } catch (e) { | |
| 2294 | + return false; | |
| 2295 | + } | |
| 2324 | 2296 | } |
| 2325 | 2297 | module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2326 | 2298 | |
| 2327 | 2299 | /***/ }), |
| @@ -2331,33 +2303,33 @@ | ||
| 2331 | 2303 | !*** ../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***! |
| 2332 | 2304 | \**********************************************************************/ |
| 2333 | 2305 | /***/ ((module) => { |
| 2334 | 2306 | |
| 2335 | -function _iterableToArrayLimit(r, l) { | |
| 2336 | - var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; | |
| 2337 | - if (null != t) { | |
| 2338 | - var e, | |
| 2339 | - n, | |
| 2340 | - i, | |
| 2341 | - u, | |
| 2342 | - a = [], | |
| 2343 | - f = !0, | |
| 2344 | - o = !1; | |
| 2307 | +function _iterableToArrayLimit(arr, i) { | |
| 2308 | + var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; | |
| 2309 | + if (null != _i) { | |
| 2310 | + var _s, | |
| 2311 | + _e, | |
| 2312 | + _x, | |
| 2313 | + _r, | |
| 2314 | + _arr = [], | |
| 2315 | + _n = !0, | |
| 2316 | + _d = !1; | |
| 2345 | 2317 | try { |
| 2346 | - if (i = (t = t.call(r)).next, 0 === l) { | |
| 2347 | - if (Object(t) !== t) return; | |
| 2348 | - f = !1; | |
| 2349 | - } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); | |
| 2350 | - } catch (r) { | |
| 2351 | - o = !0, n = r; | |
| 2318 | + if (_x = (_i = _i.call(arr)).next, 0 === i) { | |
| 2319 | + if (Object(_i) !== _i) return; | |
| 2320 | + _n = !1; | |
| 2321 | + } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); | |
| 2322 | + } catch (err) { | |
| 2323 | + _d = !0, _e = err; | |
| 2352 | 2324 | } finally { |
| 2353 | 2325 | try { |
| 2354 | - if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; | |
| 2326 | + if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; | |
| 2355 | 2327 | } finally { |
| 2356 | - if (o) throw n; | |
| 2328 | + if (_d) throw _e; | |
| 2357 | 2329 | } |
| 2358 | 2330 | } |
| 2359 | - return a; | |
| 2331 | + return _arr; | |
| 2360 | 2332 | } |
| 2361 | 2333 | } |
| 2362 | 2334 | module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2363 | 2335 | |
| @@ -2383,366 +2355,20 @@ | ||
| 2383 | 2355 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2384 | 2356 | |
| 2385 | 2357 | var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); |
| 2386 | 2358 | var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js"); |
| 2387 | -function _possibleConstructorReturn(t, e) { | |
| 2388 | - if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; | |
| 2389 | - if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); | |
| 2390 | - return assertThisInitialized(t); | |
| 2359 | +function _possibleConstructorReturn(self, call) { | |
| 2360 | + if (call && (_typeof(call) === "object" || typeof call === "function")) { | |
| 2361 | + return call; | |
| 2362 | + } else if (call !== void 0) { | |
| 2363 | + throw new TypeError("Derived constructors may only return object or undefined"); | |
| 2364 | + } | |
| 2365 | + return assertThisInitialized(self); | |
| 2391 | 2366 | } |
| 2392 | 2367 | module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2393 | 2368 | |
| 2394 | 2369 | /***/ }), |
| 2395 | 2370 | |
| 2396 | -/***/ "../node_modules/@babel/runtime/helpers/readOnlyError.js": | |
| 2397 | -/*!***************************************************************!*\ | |
| 2398 | - !*** ../node_modules/@babel/runtime/helpers/readOnlyError.js ***! | |
| 2399 | - \***************************************************************/ | |
| 2400 | -/***/ ((module) => { | |
| 2401 | - | |
| 2402 | -function _readOnlyError(r) { | |
| 2403 | - throw new TypeError('"' + r + '" is read-only'); | |
| 2404 | -} | |
| 2405 | -module.exports = _readOnlyError, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2406 | - | |
| 2407 | -/***/ }), | |
| 2408 | - | |
| 2409 | -/***/ "../node_modules/@babel/runtime/helpers/regenerator.js": | |
| 2410 | -/*!*************************************************************!*\ | |
| 2411 | - !*** ../node_modules/@babel/runtime/helpers/regenerator.js ***! | |
| 2412 | - \*************************************************************/ | |
| 2413 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2414 | - | |
| 2415 | -var regeneratorDefine = __webpack_require__(/*! ./regeneratorDefine.js */ "../node_modules/@babel/runtime/helpers/regeneratorDefine.js"); | |
| 2416 | -function _regenerator() { | |
| 2417 | - /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ | |
| 2418 | - var e, | |
| 2419 | - t, | |
| 2420 | - r = "function" == typeof Symbol ? Symbol : {}, | |
| 2421 | - n = r.iterator || "@@iterator", | |
| 2422 | - o = r.toStringTag || "@@toStringTag"; | |
| 2423 | - function i(r, n, o, i) { | |
| 2424 | - var c = n && n.prototype instanceof Generator ? n : Generator, | |
| 2425 | - u = Object.create(c.prototype); | |
| 2426 | - return regeneratorDefine(u, "_invoke", function (r, n, o) { | |
| 2427 | - var i, | |
| 2428 | - c, | |
| 2429 | - u, | |
| 2430 | - f = 0, | |
| 2431 | - p = o || [], | |
| 2432 | - y = !1, | |
| 2433 | - G = { | |
| 2434 | - p: 0, | |
| 2435 | - n: 0, | |
| 2436 | - v: e, | |
| 2437 | - a: d, | |
| 2438 | - f: d.bind(e, 4), | |
| 2439 | - d: function d(t, r) { | |
| 2440 | - return i = t, c = 0, u = e, G.n = r, a; | |
| 2441 | - } | |
| 2442 | - }; | |
| 2443 | - function d(r, n) { | |
| 2444 | - for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { | |
| 2445 | - var o, | |
| 2446 | - i = p[t], | |
| 2447 | - d = G.p, | |
| 2448 | - l = i[2]; | |
| 2449 | - r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); | |
| 2450 | - } | |
| 2451 | - if (o || r > 1) return a; | |
| 2452 | - throw y = !0, n; | |
| 2453 | - } | |
| 2454 | - return function (o, p, l) { | |
| 2455 | - if (f > 1) throw TypeError("Generator is already running"); | |
| 2456 | - for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { | |
| 2457 | - i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); | |
| 2458 | - try { | |
| 2459 | - if (f = 2, i) { | |
| 2460 | - if (c || (o = "next"), t = i[o]) { | |
| 2461 | - if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); | |
| 2462 | - if (!t.done) return t; | |
| 2463 | - u = t.value, c < 2 && (c = 0); | |
| 2464 | - } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); | |
| 2465 | - i = e; | |
| 2466 | - } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; | |
| 2467 | - } catch (t) { | |
| 2468 | - i = e, c = 1, u = t; | |
| 2469 | - } finally { | |
| 2470 | - f = 1; | |
| 2471 | - } | |
| 2472 | - } | |
| 2473 | - return { | |
| 2474 | - value: t, | |
| 2475 | - done: y | |
| 2476 | - }; | |
| 2477 | - }; | |
| 2478 | - }(r, o, i), !0), u; | |
| 2479 | - } | |
| 2480 | - var a = {}; | |
| 2481 | - function Generator() {} | |
| 2482 | - function GeneratorFunction() {} | |
| 2483 | - function GeneratorFunctionPrototype() {} | |
| 2484 | - t = Object.getPrototypeOf; | |
| 2485 | - var c = [][n] ? t(t([][n]())) : (regeneratorDefine(t = {}, n, function () { | |
| 2486 | - return this; | |
| 2487 | - }), t), | |
| 2488 | - u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); | |
| 2489 | - function f(e) { | |
| 2490 | - return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; | |
| 2491 | - } | |
| 2492 | - return GeneratorFunction.prototype = GeneratorFunctionPrototype, regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), regeneratorDefine(u), regeneratorDefine(u, o, "Generator"), regeneratorDefine(u, n, function () { | |
| 2493 | - return this; | |
| 2494 | - }), regeneratorDefine(u, "toString", function () { | |
| 2495 | - return "[object Generator]"; | |
| 2496 | - }), (module.exports = _regenerator = function _regenerator() { | |
| 2497 | - return { | |
| 2498 | - w: i, | |
| 2499 | - m: f | |
| 2500 | - }; | |
| 2501 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports)(); | |
| 2502 | -} | |
| 2503 | -module.exports = _regenerator, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2504 | - | |
| 2505 | -/***/ }), | |
| 2506 | - | |
| 2507 | -/***/ "../node_modules/@babel/runtime/helpers/regeneratorAsync.js": | |
| 2508 | -/*!******************************************************************!*\ | |
| 2509 | - !*** ../node_modules/@babel/runtime/helpers/regeneratorAsync.js ***! | |
| 2510 | - \******************************************************************/ | |
| 2511 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2512 | - | |
| 2513 | -var regeneratorAsyncGen = __webpack_require__(/*! ./regeneratorAsyncGen.js */ "../node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js"); | |
| 2514 | -function _regeneratorAsync(n, e, r, t, o) { | |
| 2515 | - var a = regeneratorAsyncGen(n, e, r, t, o); | |
| 2516 | - return a.next().then(function (n) { | |
| 2517 | - return n.done ? n.value : a.next(); | |
| 2518 | - }); | |
| 2519 | -} | |
| 2520 | -module.exports = _regeneratorAsync, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2521 | - | |
| 2522 | -/***/ }), | |
| 2523 | - | |
| 2524 | -/***/ "../node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js": | |
| 2525 | -/*!*********************************************************************!*\ | |
| 2526 | - !*** ../node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js ***! | |
| 2527 | - \*********************************************************************/ | |
| 2528 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2529 | - | |
| 2530 | -var regenerator = __webpack_require__(/*! ./regenerator.js */ "../node_modules/@babel/runtime/helpers/regenerator.js"); | |
| 2531 | -var regeneratorAsyncIterator = __webpack_require__(/*! ./regeneratorAsyncIterator.js */ "../node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js"); | |
| 2532 | -function _regeneratorAsyncGen(r, e, t, o, n) { | |
| 2533 | - return new regeneratorAsyncIterator(regenerator().w(r, e, t, o), n || Promise); | |
| 2534 | -} | |
| 2535 | -module.exports = _regeneratorAsyncGen, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2536 | - | |
| 2537 | -/***/ }), | |
| 2538 | - | |
| 2539 | -/***/ "../node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js": | |
| 2540 | -/*!**************************************************************************!*\ | |
| 2541 | - !*** ../node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js ***! | |
| 2542 | - \**************************************************************************/ | |
| 2543 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2544 | - | |
| 2545 | -var OverloadYield = __webpack_require__(/*! ./OverloadYield.js */ "../node_modules/@babel/runtime/helpers/OverloadYield.js"); | |
| 2546 | -var regeneratorDefine = __webpack_require__(/*! ./regeneratorDefine.js */ "../node_modules/@babel/runtime/helpers/regeneratorDefine.js"); | |
| 2547 | -function AsyncIterator(t, e) { | |
| 2548 | - function n(r, o, i, f) { | |
| 2549 | - try { | |
| 2550 | - var c = t[r](o), | |
| 2551 | - u = c.value; | |
| 2552 | - return u instanceof OverloadYield ? e.resolve(u.v).then(function (t) { | |
| 2553 | - n("next", t, i, f); | |
| 2554 | - }, function (t) { | |
| 2555 | - n("throw", t, i, f); | |
| 2556 | - }) : e.resolve(u).then(function (t) { | |
| 2557 | - c.value = t, i(c); | |
| 2558 | - }, function (t) { | |
| 2559 | - return n("throw", t, i, f); | |
| 2560 | - }); | |
| 2561 | - } catch (t) { | |
| 2562 | - f(t); | |
| 2563 | - } | |
| 2564 | - } | |
| 2565 | - var r; | |
| 2566 | - this.next || (regeneratorDefine(AsyncIterator.prototype), regeneratorDefine(AsyncIterator.prototype, "function" == typeof Symbol && Symbol.asyncIterator || "@asyncIterator", function () { | |
| 2567 | - return this; | |
| 2568 | - })), regeneratorDefine(this, "_invoke", function (t, o, i) { | |
| 2569 | - function f() { | |
| 2570 | - return new e(function (e, r) { | |
| 2571 | - n(t, i, e, r); | |
| 2572 | - }); | |
| 2573 | - } | |
| 2574 | - return r = r ? r.then(f, f) : f(); | |
| 2575 | - }, !0); | |
| 2576 | -} | |
| 2577 | -module.exports = AsyncIterator, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2578 | - | |
| 2579 | -/***/ }), | |
| 2580 | - | |
| 2581 | -/***/ "../node_modules/@babel/runtime/helpers/regeneratorDefine.js": | |
| 2582 | -/*!*******************************************************************!*\ | |
| 2583 | - !*** ../node_modules/@babel/runtime/helpers/regeneratorDefine.js ***! | |
| 2584 | - \*******************************************************************/ | |
| 2585 | -/***/ ((module) => { | |
| 2586 | - | |
| 2587 | -function _regeneratorDefine(e, r, n, t) { | |
| 2588 | - var i = Object.defineProperty; | |
| 2589 | - try { | |
| 2590 | - i({}, "", {}); | |
| 2591 | - } catch (e) { | |
| 2592 | - i = 0; | |
| 2593 | - } | |
| 2594 | - module.exports = _regeneratorDefine = function regeneratorDefine(e, r, n, t) { | |
| 2595 | - function o(r, n) { | |
| 2596 | - _regeneratorDefine(e, r, function (e) { | |
| 2597 | - return this._invoke(r, n, e); | |
| 2598 | - }); | |
| 2599 | - } | |
| 2600 | - r ? i ? i(e, r, { | |
| 2601 | - value: n, | |
| 2602 | - enumerable: !t, | |
| 2603 | - configurable: !t, | |
| 2604 | - writable: !t | |
| 2605 | - }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2)); | |
| 2606 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _regeneratorDefine(e, r, n, t); | |
| 2607 | -} | |
| 2608 | -module.exports = _regeneratorDefine, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2609 | - | |
| 2610 | -/***/ }), | |
| 2611 | - | |
| 2612 | -/***/ "../node_modules/@babel/runtime/helpers/regeneratorKeys.js": | |
| 2613 | -/*!*****************************************************************!*\ | |
| 2614 | - !*** ../node_modules/@babel/runtime/helpers/regeneratorKeys.js ***! | |
| 2615 | - \*****************************************************************/ | |
| 2616 | -/***/ ((module) => { | |
| 2617 | - | |
| 2618 | -function _regeneratorKeys(e) { | |
| 2619 | - var n = Object(e), | |
| 2620 | - r = []; | |
| 2621 | - for (var t in n) r.unshift(t); | |
| 2622 | - return function e() { | |
| 2623 | - for (; r.length;) if ((t = r.pop()) in n) return e.value = t, e.done = !1, e; | |
| 2624 | - return e.done = !0, e; | |
| 2625 | - }; | |
| 2626 | -} | |
| 2627 | -module.exports = _regeneratorKeys, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2628 | - | |
| 2629 | -/***/ }), | |
| 2630 | - | |
| 2631 | -/***/ "../node_modules/@babel/runtime/helpers/regeneratorRuntime.js": | |
| 2632 | -/*!********************************************************************!*\ | |
| 2633 | - !*** ../node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***! | |
| 2634 | - \********************************************************************/ | |
| 2635 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2636 | - | |
| 2637 | -var OverloadYield = __webpack_require__(/*! ./OverloadYield.js */ "../node_modules/@babel/runtime/helpers/OverloadYield.js"); | |
| 2638 | -var regenerator = __webpack_require__(/*! ./regenerator.js */ "../node_modules/@babel/runtime/helpers/regenerator.js"); | |
| 2639 | -var regeneratorAsync = __webpack_require__(/*! ./regeneratorAsync.js */ "../node_modules/@babel/runtime/helpers/regeneratorAsync.js"); | |
| 2640 | -var regeneratorAsyncGen = __webpack_require__(/*! ./regeneratorAsyncGen.js */ "../node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js"); | |
| 2641 | -var regeneratorAsyncIterator = __webpack_require__(/*! ./regeneratorAsyncIterator.js */ "../node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js"); | |
| 2642 | -var regeneratorKeys = __webpack_require__(/*! ./regeneratorKeys.js */ "../node_modules/@babel/runtime/helpers/regeneratorKeys.js"); | |
| 2643 | -var regeneratorValues = __webpack_require__(/*! ./regeneratorValues.js */ "../node_modules/@babel/runtime/helpers/regeneratorValues.js"); | |
| 2644 | -function _regeneratorRuntime() { | |
| 2645 | - "use strict"; | |
| 2646 | - | |
| 2647 | - var r = regenerator(), | |
| 2648 | - e = r.m(_regeneratorRuntime), | |
| 2649 | - t = (Object.getPrototypeOf ? Object.getPrototypeOf(e) : e.__proto__).constructor; | |
| 2650 | - function n(r) { | |
| 2651 | - var e = "function" == typeof r && r.constructor; | |
| 2652 | - return !!e && (e === t || "GeneratorFunction" === (e.displayName || e.name)); | |
| 2653 | - } | |
| 2654 | - var o = { | |
| 2655 | - "throw": 1, | |
| 2656 | - "return": 2, | |
| 2657 | - "break": 3, | |
| 2658 | - "continue": 3 | |
| 2659 | - }; | |
| 2660 | - function a(r) { | |
| 2661 | - var e, t; | |
| 2662 | - return function (n) { | |
| 2663 | - e || (e = { | |
| 2664 | - stop: function stop() { | |
| 2665 | - return t(n.a, 2); | |
| 2666 | - }, | |
| 2667 | - "catch": function _catch() { | |
| 2668 | - return n.v; | |
| 2669 | - }, | |
| 2670 | - abrupt: function abrupt(r, e) { | |
| 2671 | - return t(n.a, o[r], e); | |
| 2672 | - }, | |
| 2673 | - delegateYield: function delegateYield(r, o, a) { | |
| 2674 | - return e.resultName = o, t(n.d, regeneratorValues(r), a); | |
| 2675 | - }, | |
| 2676 | - finish: function finish(r) { | |
| 2677 | - return t(n.f, r); | |
| 2678 | - } | |
| 2679 | - }, t = function t(r, _t, o) { | |
| 2680 | - n.p = e.prev, n.n = e.next; | |
| 2681 | - try { | |
| 2682 | - return r(_t, o); | |
| 2683 | - } finally { | |
| 2684 | - e.next = n.n; | |
| 2685 | - } | |
| 2686 | - }), e.resultName && (e[e.resultName] = n.v, e.resultName = void 0), e.sent = n.v, e.next = n.n; | |
| 2687 | - try { | |
| 2688 | - return r.call(this, e); | |
| 2689 | - } finally { | |
| 2690 | - n.p = e.prev, n.n = e.next; | |
| 2691 | - } | |
| 2692 | - }; | |
| 2693 | - } | |
| 2694 | - return (module.exports = _regeneratorRuntime = function _regeneratorRuntime() { | |
| 2695 | - return { | |
| 2696 | - wrap: function wrap(e, t, n, o) { | |
| 2697 | - return r.w(a(e), t, n, o && o.reverse()); | |
| 2698 | - }, | |
| 2699 | - isGeneratorFunction: n, | |
| 2700 | - mark: r.m, | |
| 2701 | - awrap: function awrap(r, e) { | |
| 2702 | - return new OverloadYield(r, e); | |
| 2703 | - }, | |
| 2704 | - AsyncIterator: regeneratorAsyncIterator, | |
| 2705 | - async: function async(r, e, t, o, u) { | |
| 2706 | - return (n(e) ? regeneratorAsyncGen : regeneratorAsync)(a(r), e, t, o, u); | |
| 2707 | - }, | |
| 2708 | - keys: regeneratorKeys, | |
| 2709 | - values: regeneratorValues | |
| 2710 | - }; | |
| 2711 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports)(); | |
| 2712 | -} | |
| 2713 | -module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2714 | - | |
| 2715 | -/***/ }), | |
| 2716 | - | |
| 2717 | -/***/ "../node_modules/@babel/runtime/helpers/regeneratorValues.js": | |
| 2718 | -/*!*******************************************************************!*\ | |
| 2719 | - !*** ../node_modules/@babel/runtime/helpers/regeneratorValues.js ***! | |
| 2720 | - \*******************************************************************/ | |
| 2721 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2722 | - | |
| 2723 | -var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 2724 | -function _regeneratorValues(e) { | |
| 2725 | - if (null != e) { | |
| 2726 | - var t = e["function" == typeof Symbol && Symbol.iterator || "@@iterator"], | |
| 2727 | - r = 0; | |
| 2728 | - if (t) return t.call(e); | |
| 2729 | - if ("function" == typeof e.next) return e; | |
| 2730 | - if (!isNaN(e.length)) return { | |
| 2731 | - next: function next() { | |
| 2732 | - return e && r >= e.length && (e = void 0), { | |
| 2733 | - value: e && e[r++], | |
| 2734 | - done: !e | |
| 2735 | - }; | |
| 2736 | - } | |
| 2737 | - }; | |
| 2738 | - } | |
| 2739 | - throw new TypeError(_typeof(e) + " is not iterable"); | |
| 2740 | -} | |
| 2741 | -module.exports = _regeneratorValues, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2742 | - | |
| 2743 | -/***/ }), | |
| 2744 | - | |
| 2745 | 2371 | /***/ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js": |
| 2746 | 2372 | /*!****************************************************************!*\ |
| 2747 | 2373 | !*** ../node_modules/@babel/runtime/helpers/setPrototypeOf.js ***! |
| 2748 | 2374 | \****************************************************************/ |
| @@ -2747,12 +2373,14 @@ | ||
| 2747 | 2373 | !*** ../node_modules/@babel/runtime/helpers/setPrototypeOf.js ***! |
| 2748 | 2374 | \****************************************************************/ |
| 2749 | 2375 | /***/ ((module) => { |
| 2750 | 2376 | |
| 2751 | -function _setPrototypeOf(t, e) { | |
| 2752 | - return module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { | |
| 2753 | - return t.__proto__ = e, t; | |
| 2754 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _setPrototypeOf(t, e); | |
| 2377 | +function _setPrototypeOf(o, p) { | |
| 2378 | + module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { | |
| 2379 | + o.__proto__ = p; | |
| 2380 | + return o; | |
| 2381 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2382 | + return _setPrototypeOf(o, p); | |
| 2755 | 2383 | } |
| 2756 | 2384 | module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2757 | 2385 | |
| 2758 | 2386 | /***/ }), |
| @@ -2766,10 +2394,10 @@ | ||
| 2766 | 2394 | var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js"); |
| 2767 | 2395 | var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js"); |
| 2768 | 2396 | var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"); |
| 2769 | 2397 | var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../node_modules/@babel/runtime/helpers/nonIterableRest.js"); |
| 2770 | -function _slicedToArray(r, e) { | |
| 2771 | - return arrayWithHoles(r) || iterableToArrayLimit(r, e) || unsupportedIterableToArray(r, e) || nonIterableRest(); | |
| 2398 | +function _slicedToArray(arr, i) { | |
| 2399 | + return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); | |
| 2772 | 2400 | } |
| 2773 | 2401 | module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2774 | 2402 | |
| 2775 | 2403 | /***/ }), |
| @@ -2780,11 +2408,14 @@ | ||
| 2780 | 2408 | \***************************************************************/ |
| 2781 | 2409 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2782 | 2410 | |
| 2783 | 2411 | var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"); |
| 2784 | -function _superPropBase(t, o) { | |
| 2785 | - for (; !{}.hasOwnProperty.call(t, o) && null !== (t = getPrototypeOf(t));); | |
| 2786 | - return t; | |
| 2412 | +function _superPropBase(object, property) { | |
| 2413 | + while (!Object.prototype.hasOwnProperty.call(object, property)) { | |
| 2414 | + object = getPrototypeOf(object); | |
| 2415 | + if (object === null) break; | |
| 2416 | + } | |
| 2417 | + return object; | |
| 2787 | 2418 | } |
| 2788 | 2419 | module.exports = _superPropBase, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2789 | 2420 | |
| 2790 | 2421 | /***/ }), |
| @@ -2795,19 +2426,19 @@ | ||
| 2795 | 2426 | \*************************************************************/ |
| 2796 | 2427 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2797 | 2428 | |
| 2798 | 2429 | var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); |
| 2799 | -function toPrimitive(t, r) { | |
| 2800 | - if ("object" != _typeof(t) || !t) return t; | |
| 2801 | - var e = t[Symbol.toPrimitive]; | |
| 2802 | - if (void 0 !== e) { | |
| 2803 | - var i = e.call(t, r || "default"); | |
| 2804 | - if ("object" != _typeof(i)) return i; | |
| 2430 | +function _toPrimitive(input, hint) { | |
| 2431 | + if (_typeof(input) !== "object" || input === null) return input; | |
| 2432 | + var prim = input[Symbol.toPrimitive]; | |
| 2433 | + if (prim !== undefined) { | |
| 2434 | + var res = prim.call(input, hint || "default"); | |
| 2435 | + if (_typeof(res) !== "object") return res; | |
| 2805 | 2436 | throw new TypeError("@@toPrimitive must return a primitive value."); |
| 2806 | 2437 | } |
| 2807 | - return ("string" === r ? String : Number)(t); | |
| 2438 | + return (hint === "string" ? String : Number)(input); | |
| 2808 | 2439 | } |
| 2809 | -module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2440 | +module.exports = _toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2810 | 2441 | |
| 2811 | 2442 | /***/ }), |
| 2812 | 2443 | |
| 2813 | 2444 | /***/ "../node_modules/@babel/runtime/helpers/toPropertyKey.js": |
| @@ -2817,13 +2448,13 @@ | ||
| 2817 | 2448 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2818 | 2449 | |
| 2819 | 2450 | var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); |
| 2820 | 2451 | var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../node_modules/@babel/runtime/helpers/toPrimitive.js"); |
| 2821 | -function toPropertyKey(t) { | |
| 2822 | - var i = toPrimitive(t, "string"); | |
| 2823 | - return "symbol" == _typeof(i) ? i : i + ""; | |
| 2452 | +function _toPropertyKey(arg) { | |
| 2453 | + var key = toPrimitive(arg, "string"); | |
| 2454 | + return _typeof(key) === "symbol" ? key : String(key); | |
| 2824 | 2455 | } |
| 2825 | -module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2456 | +module.exports = _toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2826 | 2457 | |
| 2827 | 2458 | /***/ }), |
| 2828 | 2459 | |
| 2829 | 2460 | /***/ "../node_modules/@babel/runtime/helpers/typeof.js": |
| @@ -2831,16 +2462,16 @@ | ||
| 2831 | 2462 | !*** ../node_modules/@babel/runtime/helpers/typeof.js ***! |
| 2832 | 2463 | \********************************************************/ |
| 2833 | 2464 | /***/ ((module) => { |
| 2834 | 2465 | |
| 2835 | -function _typeof(o) { | |
| 2466 | +function _typeof(obj) { | |
| 2836 | 2467 | "@babel/helpers - typeof"; |
| 2837 | 2468 | |
| 2838 | - return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { | |
| 2839 | - return typeof o; | |
| 2840 | - } : function (o) { | |
| 2841 | - return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; | |
| 2842 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o); | |
| 2469 | + return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { | |
| 2470 | + return typeof obj; | |
| 2471 | + } : function (obj) { | |
| 2472 | + return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; | |
| 2473 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj); | |
| 2843 | 2474 | } |
| 2844 | 2475 | module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2845 | 2476 | |
| 2846 | 2477 | /***/ }), |
| @@ -2851,14 +2482,15 @@ | ||
| 2851 | 2482 | \****************************************************************************/ |
| 2852 | 2483 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2853 | 2484 | |
| 2854 | 2485 | var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js"); |
| 2855 | -function _unsupportedIterableToArray(r, a) { | |
| 2856 | - if (r) { | |
| 2857 | - if ("string" == typeof r) return arrayLikeToArray(r, a); | |
| 2858 | - var t = {}.toString.call(r).slice(8, -1); | |
| 2859 | - 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; | |
| 2860 | - } | |
| 2486 | +function _unsupportedIterableToArray(o, minLen) { | |
| 2487 | + if (!o) return; | |
| 2488 | + if (typeof o === "string") return arrayLikeToArray(o, minLen); | |
| 2489 | + var n = Object.prototype.toString.call(o).slice(8, -1); | |
| 2490 | + if (n === "Object" && o.constructor) n = o.constructor.name; | |
| 2491 | + if (n === "Map" || n === "Set") return Array.from(o); | |
| 2492 | + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); | |
| 2861 | 2493 | } |
| 2862 | 2494 | module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2863 | 2495 | |
| 2864 | 2496 | /***/ }), |
| @@ -2872,68 +2504,36 @@ | ||
| 2872 | 2504 | var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"); |
| 2873 | 2505 | var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js"); |
| 2874 | 2506 | var isNativeFunction = __webpack_require__(/*! ./isNativeFunction.js */ "../node_modules/@babel/runtime/helpers/isNativeFunction.js"); |
| 2875 | 2507 | var construct = __webpack_require__(/*! ./construct.js */ "../node_modules/@babel/runtime/helpers/construct.js"); |
| 2876 | -function _wrapNativeSuper(t) { | |
| 2877 | - var r = "function" == typeof Map ? new Map() : void 0; | |
| 2878 | - return module.exports = _wrapNativeSuper = function _wrapNativeSuper(t) { | |
| 2879 | - if (null === t || !isNativeFunction(t)) return t; | |
| 2880 | - if ("function" != typeof t) throw new TypeError("Super expression must either be null or a function"); | |
| 2881 | - if (void 0 !== r) { | |
| 2882 | - if (r.has(t)) return r.get(t); | |
| 2883 | - r.set(t, Wrapper); | |
| 2508 | +function _wrapNativeSuper(Class) { | |
| 2509 | + var _cache = typeof Map === "function" ? new Map() : undefined; | |
| 2510 | + module.exports = _wrapNativeSuper = function _wrapNativeSuper(Class) { | |
| 2511 | + if (Class === null || !isNativeFunction(Class)) return Class; | |
| 2512 | + if (typeof Class !== "function") { | |
| 2513 | + throw new TypeError("Super expression must either be null or a function"); | |
| 2884 | 2514 | } |
| 2515 | + if (typeof _cache !== "undefined") { | |
| 2516 | + if (_cache.has(Class)) return _cache.get(Class); | |
| 2517 | + _cache.set(Class, Wrapper); | |
| 2518 | + } | |
| 2885 | 2519 | function Wrapper() { |
| 2886 | - return construct(t, arguments, getPrototypeOf(this).constructor); | |
| 2520 | + return construct(Class, arguments, getPrototypeOf(this).constructor); | |
| 2887 | 2521 | } |
| 2888 | - return Wrapper.prototype = Object.create(t.prototype, { | |
| 2522 | + Wrapper.prototype = Object.create(Class.prototype, { | |
| 2889 | 2523 | constructor: { |
| 2890 | 2524 | value: Wrapper, |
| 2891 | - enumerable: !1, | |
| 2892 | - writable: !0, | |
| 2893 | - configurable: !0 | |
| 2525 | + enumerable: false, | |
| 2526 | + writable: true, | |
| 2527 | + configurable: true | |
| 2894 | 2528 | } |
| 2895 | - }), setPrototypeOf(Wrapper, t); | |
| 2896 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _wrapNativeSuper(t); | |
| 2529 | + }); | |
| 2530 | + return setPrototypeOf(Wrapper, Class); | |
| 2531 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2532 | + return _wrapNativeSuper(Class); | |
| 2897 | 2533 | } |
| 2898 | 2534 | module.exports = _wrapNativeSuper, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2899 | 2535 | |
| 2900 | -/***/ }), | |
| 2901 | - | |
| 2902 | -/***/ "../node_modules/@babel/runtime/regenerator/index.js": | |
| 2903 | -/*!***********************************************************!*\ | |
| 2904 | - !*** ../node_modules/@babel/runtime/regenerator/index.js ***! | |
| 2905 | - \***********************************************************/ | |
| 2906 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2907 | - | |
| 2908 | -// TODO(Babel 8): Remove this file. | |
| 2909 | - | |
| 2910 | -var runtime = __webpack_require__(/*! ../helpers/regeneratorRuntime */ "../node_modules/@babel/runtime/helpers/regeneratorRuntime.js")(); | |
| 2911 | -module.exports = runtime; | |
| 2912 | - | |
| 2913 | -// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736= | |
| 2914 | -try { | |
| 2915 | - regeneratorRuntime = runtime; | |
| 2916 | -} catch (accidentalStrictMode) { | |
| 2917 | - if (typeof globalThis === "object") { | |
| 2918 | - globalThis.regeneratorRuntime = runtime; | |
| 2919 | - } else { | |
| 2920 | - Function("r", "regeneratorRuntime = r")(runtime); | |
| 2921 | - } | |
| 2922 | -} | |
| 2923 | - | |
| 2924 | - | |
| 2925 | -/***/ }), | |
| 2926 | - | |
| 2927 | -/***/ "@wordpress/i18n": | |
| 2928 | -/*!**************************!*\ | |
| 2929 | - !*** external "wp.i18n" ***! | |
| 2930 | - \**************************/ | |
| 2931 | -/***/ ((module) => { | |
| 2932 | - | |
| 2933 | -"use strict"; | |
| 2934 | -module.exports = wp.i18n; | |
| 2935 | - | |
| 2936 | 2536 | /***/ }) |
| 2937 | 2537 | |
| 2938 | 2538 | /******/ }); |
| 2939 | 2539 | /************************************************************************/ |
| @@ -2962,9 +2562,9 @@ | ||
| 2962 | 2562 | /******/ } |
| 2963 | 2563 | /******/ |
| 2964 | 2564 | /************************************************************************/ |
| 2965 | 2565 | var __webpack_exports__ = {}; |
| 2966 | -// This entry needs to be wrapped in an IIFE because it needs to be in strict mode. | |
| 2566 | +// This entry need to be wrapped in an IIFE because it need to be in strict mode. | |
| 2967 | 2567 | (() => { |
| 2968 | 2568 | "use strict"; |
| 2969 | 2569 | /*!******************************************!*\ |
| 2970 | 2570 | !*** ../assets/dev/js/editor/modules.js ***! |
| @@ -2972,9 +2572,9 @@ | ||
| 2972 | 2572 | |
| 2973 | 2573 | |
| 2974 | 2574 | var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 2975 | 2575 | var _module = _interopRequireDefault(__webpack_require__(/*! ./utils/module */ "../assets/dev/js/editor/utils/module.js")); |
| 2976 | -var _introduction = _interopRequireDefault(__webpack_require__(/*! ../utils/introduction */ "../assets/dev/js/utils/introduction.js")); | |
| 2576 | +var _introduction = _interopRequireDefault(__webpack_require__(/*! ./utils/introduction */ "../assets/dev/js/editor/utils/introduction.js")); | |
| 2977 | 2577 | var _controlsStack = _interopRequireDefault(__webpack_require__(/*! ./views/controls-stack */ "../assets/dev/js/editor/views/controls-stack.js")); |
| 2978 | 2578 | var _baseSettings = _interopRequireDefault(__webpack_require__(/*! ./elements/models/base-settings */ "../assets/dev/js/editor/elements/models/base-settings.js")); |
| 2979 | 2579 | var _container = _interopRequireDefault(__webpack_require__(/*! ./container/container */ "../assets/dev/js/editor/container/container.js")); |
| 2980 | 2580 | elementorModules.editor = { |