| @@ -1,142 +1,7 @@ | ||
| 1 | -(self["webpackChunkelementorFrontend"] = self["webpackChunkelementorFrontend"] || []).push([["frontend-modules"],{ | |
| 1 | +/*! elementor - v3.26.0 - 07-01-2025 */ | |
| 2 | +(self["webpackChunkelementor"] = self["webpackChunkelementor"] || []).push([["frontend-modules"],{ | |
| 2 | 3 | |
| 3 | -/***/ "../app/modules/import-export-customization/assets/js/shared/registry/base.js": | |
| 4 | -/*!************************************************************************************!*\ | |
| 5 | - !*** ../app/modules/import-export-customization/assets/js/shared/registry/base.js ***! | |
| 6 | - \************************************************************************************/ | |
| 7 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 8 | - | |
| 9 | -"use strict"; | |
| 10 | - | |
| 11 | - | |
| 12 | -Object.defineProperty(exports, "__esModule", ({ | |
| 13 | - value: true | |
| 14 | -})); | |
| 15 | -exports.BaseRegistry = void 0; | |
| 16 | -__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); | |
| 17 | -__webpack_require__(/*! core-js/modules/esnext.iterator.filter.js */ "../node_modules/core-js/modules/esnext.iterator.filter.js"); | |
| 18 | -__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js"); | |
| 19 | -__webpack_require__(/*! core-js/modules/esnext.iterator.map.js */ "../node_modules/core-js/modules/esnext.iterator.map.js"); | |
| 20 | -class BaseRegistry { | |
| 21 | - constructor() { | |
| 22 | - this.sections = new Map(); | |
| 23 | - } | |
| 24 | - register(section) { | |
| 25 | - if (!section.key || !section.title) { | |
| 26 | - throw new Error('Template type must have key and title'); | |
| 27 | - } | |
| 28 | - const existingSection = this.get(section.key); | |
| 29 | - const formattedSection = existingSection || this.formatSection(section); | |
| 30 | - if (section.children) { | |
| 31 | - // If existing section has children, merge them with new children | |
| 32 | - if (formattedSection.children) { | |
| 33 | - const existingChildrenMap = new Map(formattedSection.children.map(child => [child.key, child])); | |
| 34 | - | |
| 35 | - // Override existing children with new ones and add new children | |
| 36 | - section.children.forEach(childSection => { | |
| 37 | - const formattedChild = this.formatSection(childSection); | |
| 38 | - existingChildrenMap.set(childSection.key, formattedChild); | |
| 39 | - }); | |
| 40 | - formattedSection.children = Array.from(existingChildrenMap.values()); | |
| 41 | - } else { | |
| 42 | - formattedSection.children = section.children.map(childSection => this.formatSection(childSection)); | |
| 43 | - } | |
| 44 | - } | |
| 45 | - this.sections.set(section.key, formattedSection); | |
| 46 | - } | |
| 47 | - formatSection({ | |
| 48 | - children, | |
| 49 | - ...section | |
| 50 | - }) { | |
| 51 | - return { | |
| 52 | - key: section.key, | |
| 53 | - title: section.title, | |
| 54 | - description: section.description || '', | |
| 55 | - useParentDefault: section.useParentDefault !== false, | |
| 56 | - getInitialState: section.getInitialState || null, | |
| 57 | - component: section.component || null, | |
| 58 | - order: section.order || 10, | |
| 59 | - isAvailable: section.isAvailable || (() => true), | |
| 60 | - ...section | |
| 61 | - }; | |
| 62 | - } | |
| 63 | - getAll() { | |
| 64 | - return Array.from(this.sections.values()).filter(type => type.isAvailable()).map(type => { | |
| 65 | - if (type.children) { | |
| 66 | - return { | |
| 67 | - ...type, | |
| 68 | - children: [...type.children].sort((a, b) => a.order - b.order) | |
| 69 | - }; | |
| 70 | - } | |
| 71 | - return type; | |
| 72 | - }).sort((a, b) => a.order - b.order); | |
| 73 | - } | |
| 74 | - get(key) { | |
| 75 | - return this.sections.get(key); | |
| 76 | - } | |
| 77 | -} | |
| 78 | -exports.BaseRegistry = BaseRegistry; | |
| 79 | - | |
| 80 | -/***/ }), | |
| 81 | - | |
| 82 | -/***/ "../app/modules/import-export-customization/assets/js/shared/registry/customization-dialogs.js": | |
| 83 | -/*!*****************************************************************************************************!*\ | |
| 84 | - !*** ../app/modules/import-export-customization/assets/js/shared/registry/customization-dialogs.js ***! | |
| 85 | - \*****************************************************************************************************/ | |
| 86 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 87 | - | |
| 88 | -"use strict"; | |
| 89 | - | |
| 90 | - | |
| 91 | -Object.defineProperty(exports, "__esModule", ({ | |
| 92 | - value: true | |
| 93 | -})); | |
| 94 | -exports.customizationDialogsRegistry = void 0; | |
| 95 | -var _base = __webpack_require__(/*! ./base */ "../app/modules/import-export-customization/assets/js/shared/registry/base.js"); | |
| 96 | -const customizationDialogsRegistry = exports.customizationDialogsRegistry = new _base.BaseRegistry(); | |
| 97 | - | |
| 98 | -/***/ }), | |
| 99 | - | |
| 100 | -/***/ "../app/modules/import-export-customization/assets/js/shared/utils/template-registry-helpers.js": | |
| 101 | -/*!******************************************************************************************************!*\ | |
| 102 | - !*** ../app/modules/import-export-customization/assets/js/shared/utils/template-registry-helpers.js ***! | |
| 103 | - \******************************************************************************************************/ | |
| 104 | -/***/ ((__unused_webpack_module, exports) => { | |
| 105 | - | |
| 106 | -"use strict"; | |
| 107 | - | |
| 108 | - | |
| 109 | -Object.defineProperty(exports, "__esModule", ({ | |
| 110 | - value: true | |
| 111 | -})); | |
| 112 | -exports.createGetInitialState = createGetInitialState; | |
| 113 | -function createGetInitialState(exportGroup, additionalProps = {}) { | |
| 114 | - return (data, parentInitialState) => { | |
| 115 | - let isEnabled = parentInitialState; | |
| 116 | - const isImport = data.hasOwnProperty('uploadedData'); | |
| 117 | - if (isImport) { | |
| 118 | - isEnabled = false; | |
| 119 | - const templates = data.uploadedData.manifest.templates; | |
| 120 | - const exportGroups = elementorAppConfig?.['import-export-customization']?.exportGroups || {}; | |
| 121 | - for (const templateId in templates) { | |
| 122 | - const template = templates[templateId]; | |
| 123 | - const templateExportGroup = exportGroups[template.doc_type]; | |
| 124 | - if (templateExportGroup === exportGroup) { | |
| 125 | - isEnabled = true; | |
| 126 | - break; | |
| 127 | - } | |
| 128 | - } | |
| 129 | - } | |
| 130 | - return { | |
| 131 | - enabled: isEnabled, | |
| 132 | - ...additionalProps | |
| 133 | - }; | |
| 134 | - }; | |
| 135 | -} | |
| 136 | - | |
| 137 | -/***/ }), | |
| 138 | - | |
| 139 | 4 | /***/ "../assets/dev/js/editor/utils/is-instanceof.js": |
| 140 | 5 | /*!******************************************************!*\ |
| 141 | 6 | !*** ../assets/dev/js/editor/utils/is-instanceof.js ***! |
| 142 | 7 | \******************************************************/ |
| @@ -174,9 +39,9 @@ | ||
| 174 | 39 | /***/ "../assets/dev/js/frontend/document.js": |
| 175 | 40 | /*!*********************************************!*\ |
| 176 | 41 | !*** ../assets/dev/js/frontend/document.js ***! |
| 177 | 42 | \*********************************************/ |
| 178 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 43 | +/***/ ((__unused_webpack_module, exports) => { | |
| 179 | 44 | |
| 180 | 45 | "use strict"; |
| 181 | 46 | |
| 182 | 47 | |
| @@ -183,10 +48,8 @@ | ||
| 183 | 48 | Object.defineProperty(exports, "__esModule", ({ |
| 184 | 49 | value: true |
| 185 | 50 | })); |
| 186 | 51 | exports["default"] = void 0; |
| 187 | -__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); | |
| 188 | -__webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js"); | |
| 189 | 52 | class _default extends elementorModules.ViewModule { |
| 190 | 53 | getDefaultSettings() { |
| 191 | 54 | return { |
| 192 | 55 | selectors: { |
| @@ -251,11 +114,8 @@ | ||
| 251 | 114 | Object.defineProperty(exports, "__esModule", ({ |
| 252 | 115 | value: true |
| 253 | 116 | })); |
| 254 | 117 | exports["default"] = void 0; |
| 255 | -__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); | |
| 256 | -__webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js"); | |
| 257 | -__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js"); | |
| 258 | 118 | var _baseSwiper = _interopRequireDefault(__webpack_require__(/*! ./base-swiper */ "../assets/dev/js/frontend/handlers/base-swiper.js")); |
| 259 | 119 | class CarouselHandlerBase extends _baseSwiper.default { |
| 260 | 120 | getDefaultSettings() { |
| 261 | 121 | return { |
| @@ -405,10 +265,10 @@ | ||
| 405 | 265 | } |
| 406 | 266 | addClassToSwiperContainer(className) { |
| 407 | 267 | this.getDefaultElements().$swiperContainer[0].classList.add(className); |
| 408 | 268 | } |
| 409 | - async onInit(...args) { | |
| 410 | - super.onInit(...args); | |
| 269 | + async onInit() { | |
| 270 | + super.onInit(...arguments); | |
| 411 | 271 | if (!this.elements.$swiperContainer.length || 2 > this.elements.$slides.length) { |
| 412 | 272 | return; |
| 413 | 273 | } |
| 414 | 274 | await this.initSwiper(); |
| @@ -500,9 +360,10 @@ | ||
| 500 | 360 | if ('activeItemIndex' === propertyName) { |
| 501 | 361 | this.swiper.slideToLoop(this.getEditSettings('activeItemIndex') - 1); |
| 502 | 362 | } |
| 503 | 363 | } |
| 504 | - getSpaceBetween(device = null) { | |
| 364 | + getSpaceBetween() { | |
| 365 | + let device = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; | |
| 505 | 366 | const responsiveControlValue = elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'image_spacing_custom', 'size', device); |
| 506 | 367 | return Number(responsiveControlValue) || 0; |
| 507 | 368 | } |
| 508 | 369 | updateSpaceBetween(propertyName) { |
| @@ -514,9 +375,10 @@ | ||
| 514 | 375 | } |
| 515 | 376 | this.swiper.params.spaceBetween = newSpaceBetween; |
| 516 | 377 | this.swiper.update(); |
| 517 | 378 | } |
| 518 | - getPaginationBullets(type = 'array') { | |
| 379 | + getPaginationBullets() { | |
| 380 | + let type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'array'; | |
| 519 | 381 | const paginationBullets = this.$element.find(this.getSettings('selectors').paginationBullet); |
| 520 | 382 | return 'array' === type ? Array.from(paginationBullets) : paginationBullets; |
| 521 | 383 | } |
| 522 | 384 | a11ySetPaginationTabindex() { |
| @@ -538,9 +400,10 @@ | ||
| 538 | 400 | transformValue = transformValue.split(','); |
| 539 | 401 | transformValue = parseInt(transformValue[0].replace('px', '')); |
| 540 | 402 | return !!transformValue ? transformValue : 0; |
| 541 | 403 | } |
| 542 | - a11ySetSlideAriaHidden(status = '') { | |
| 404 | + a11ySetSlideAriaHidden() { | |
| 405 | + let status = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; | |
| 543 | 406 | const currentIndex = 'initialisation' === status ? 0 : this.swiper?.activeIndex; |
| 544 | 407 | if ('number' !== typeof currentIndex) { |
| 545 | 408 | return; |
| 546 | 409 | } |
| @@ -632,12 +495,8 @@ | ||
| 632 | 495 | "use strict"; |
| 633 | 496 | |
| 634 | 497 | |
| 635 | 498 | __webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js"); |
| 636 | -__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); | |
| 637 | -__webpack_require__(/*! core-js/modules/esnext.iterator.filter.js */ "../node_modules/core-js/modules/esnext.iterator.filter.js"); | |
| 638 | -__webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js"); | |
| 639 | -__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js"); | |
| 640 | 499 | module.exports = elementorModules.ViewModule.extend({ |
| 641 | 500 | $element: null, |
| 642 | 501 | editorListeners: null, |
| 643 | 502 | onElementChange: null, |
| @@ -842,10 +701,8 @@ | ||
| 842 | 701 | Object.defineProperty(exports, "__esModule", ({ |
| 843 | 702 | value: true |
| 844 | 703 | })); |
| 845 | 704 | exports["default"] = void 0; |
| 846 | -__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); | |
| 847 | -__webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js"); | |
| 848 | 705 | var _base = _interopRequireDefault(__webpack_require__(/*! ./base */ "../assets/dev/js/frontend/handlers/base.js")); |
| 849 | 706 | class StretchedElement extends _base.default { |
| 850 | 707 | getStretchedClass() { |
| 851 | 708 | return 'e-stretched'; |
| @@ -874,9 +731,10 @@ | ||
| 874 | 731 | } |
| 875 | 732 | isActive(settings) { |
| 876 | 733 | return elementorFrontend.isEditMode() || settings.$element.hasClass(this.getStretchedClass()); |
| 877 | 734 | } |
| 878 | - getStretchElementForConfig(childSelector = null) { | |
| 735 | + getStretchElementForConfig() { | |
| 736 | + let childSelector = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; | |
| 879 | 737 | if (childSelector) { |
| 880 | 738 | return this.$element.find(childSelector); |
| 881 | 739 | } |
| 882 | 740 | return this.$element; |
| @@ -905,14 +763,14 @@ | ||
| 905 | 763 | return; |
| 906 | 764 | } |
| 907 | 765 | this.stretchElement.stretch(); |
| 908 | 766 | } |
| 909 | - onInit(...args) { | |
| 767 | + onInit() { | |
| 910 | 768 | if (!this.isActive(this.getSettings())) { |
| 911 | 769 | return; |
| 912 | 770 | } |
| 913 | 771 | this.initStretch(); |
| 914 | - super.onInit(...args); | |
| 772 | + super.onInit(...arguments); | |
| 915 | 773 | this.stretch(); |
| 916 | 774 | } |
| 917 | 775 | onElementChange(propertyName) { |
| 918 | 776 | const stretchSettingName = this.getStretchSettingName(); |
| @@ -949,8 +807,9 @@ | ||
| 949 | 807 | var _stretchedElement = _interopRequireDefault(__webpack_require__(/*! ./handlers/stretched-element */ "../assets/dev/js/frontend/handlers/stretched-element.js")); |
| 950 | 808 | var _base = _interopRequireDefault(__webpack_require__(/*! ./handlers/base */ "../assets/dev/js/frontend/handlers/base.js")); |
| 951 | 809 | var _baseSwiper = _interopRequireDefault(__webpack_require__(/*! ./handlers/base-swiper */ "../assets/dev/js/frontend/handlers/base-swiper.js")); |
| 952 | 810 | var _baseCarousel = _interopRequireDefault(__webpack_require__(/*! ./handlers/base-carousel */ "../assets/dev/js/frontend/handlers/base-carousel.js")); |
| 811 | +var _nestedTabs = _interopRequireDefault(__webpack_require__(/*! elementor/modules/nested-tabs/assets/js/frontend/handlers/nested-tabs */ "../modules/nested-tabs/assets/js/frontend/handlers/nested-tabs.js")); | |
| 953 | 812 | _modules.default.frontend = { |
| 954 | 813 | Document: _document.default, |
| 955 | 814 | tools: { |
| 956 | 815 | StretchElement: _stretchElement.default |
| @@ -958,9 +817,10 @@ | ||
| 958 | 817 | handlers: { |
| 959 | 818 | Base: _base.default, |
| 960 | 819 | StretchedElement: _stretchedElement.default, |
| 961 | 820 | SwiperBase: _baseSwiper.default, |
| 962 | - CarouselBase: _baseCarousel.default | |
| 821 | + CarouselBase: _baseCarousel.default, | |
| 822 | + NestedTabs: _nestedTabs.default | |
| 963 | 823 | } |
| 964 | 824 | }; |
| 965 | 825 | |
| 966 | 826 | /***/ }), |
| @@ -1075,8 +935,102 @@ | ||
| 1075 | 935 | }); |
| 1076 | 936 | |
| 1077 | 937 | /***/ }), |
| 1078 | 938 | |
| 939 | +/***/ "../assets/dev/js/frontend/utils/flex-horizontal-scroll.js": | |
| 940 | +/*!*****************************************************************!*\ | |
| 941 | + !*** ../assets/dev/js/frontend/utils/flex-horizontal-scroll.js ***! | |
| 942 | + \*****************************************************************/ | |
| 943 | +/***/ ((__unused_webpack_module, exports) => { | |
| 944 | + | |
| 945 | +"use strict"; | |
| 946 | + | |
| 947 | + | |
| 948 | +Object.defineProperty(exports, "__esModule", ({ | |
| 949 | + value: true | |
| 950 | +})); | |
| 951 | +exports.changeScrollStatus = changeScrollStatus; | |
| 952 | +exports.setHorizontalScrollAlignment = setHorizontalScrollAlignment; | |
| 953 | +exports.setHorizontalTitleScrollValues = setHorizontalTitleScrollValues; | |
| 954 | +function changeScrollStatus(element, event) { | |
| 955 | + if ('mousedown' === event.type) { | |
| 956 | + element.classList.add('e-scroll'); | |
| 957 | + element.dataset.pageX = event.pageX; | |
| 958 | + } else { | |
| 959 | + element.classList.remove('e-scroll', 'e-scroll-active'); | |
| 960 | + element.dataset.pageX = ''; | |
| 961 | + } | |
| 962 | +} | |
| 963 | + | |
| 964 | +// This function was written using this example https://codepen.io/thenutz/pen/VwYeYEE. | |
| 965 | +function setHorizontalTitleScrollValues(element, horizontalScrollStatus, event) { | |
| 966 | + const isActiveScroll = element.classList.contains('e-scroll'), | |
| 967 | + isHorizontalScrollActive = 'enable' === horizontalScrollStatus, | |
| 968 | + headingContentIsWiderThanWrapper = element.scrollWidth > element.clientWidth; | |
| 969 | + if (!isActiveScroll || !isHorizontalScrollActive || !headingContentIsWiderThanWrapper) { | |
| 970 | + return; | |
| 971 | + } | |
| 972 | + event.preventDefault(); | |
| 973 | + const previousPositionX = parseFloat(element.dataset.pageX), | |
| 974 | + mouseMoveX = event.pageX - previousPositionX, | |
| 975 | + maximumScrollValue = 5, | |
| 976 | + stepLimit = 20; | |
| 977 | + let toScrollDistanceX = 0; | |
| 978 | + if (stepLimit < mouseMoveX) { | |
| 979 | + toScrollDistanceX = maximumScrollValue; | |
| 980 | + } else if (stepLimit * -1 > mouseMoveX) { | |
| 981 | + toScrollDistanceX = -1 * maximumScrollValue; | |
| 982 | + } else { | |
| 983 | + toScrollDistanceX = mouseMoveX; | |
| 984 | + } | |
| 985 | + element.scrollLeft = element.scrollLeft - toScrollDistanceX; | |
| 986 | + element.classList.add('e-scroll-active'); | |
| 987 | +} | |
| 988 | +function setHorizontalScrollAlignment(_ref) { | |
| 989 | + let { | |
| 990 | + element, | |
| 991 | + direction, | |
| 992 | + justifyCSSVariable, | |
| 993 | + horizontalScrollStatus | |
| 994 | + } = _ref; | |
| 995 | + if (!element) { | |
| 996 | + return; | |
| 997 | + } | |
| 998 | + if (isHorizontalScroll(element, horizontalScrollStatus)) { | |
| 999 | + initialScrollPosition(element, direction, justifyCSSVariable); | |
| 1000 | + } else { | |
| 1001 | + element.style.setProperty(justifyCSSVariable, ''); | |
| 1002 | + } | |
| 1003 | +} | |
| 1004 | +function isHorizontalScroll(element, horizontalScrollStatus) { | |
| 1005 | + return element.clientWidth < getChildrenWidth(element.children) && 'enable' === horizontalScrollStatus; | |
| 1006 | +} | |
| 1007 | +function getChildrenWidth(children) { | |
| 1008 | + let totalWidth = 0; | |
| 1009 | + const parentContainer = children[0].parentNode, | |
| 1010 | + computedStyles = getComputedStyle(parentContainer), | |
| 1011 | + gap = parseFloat(computedStyles.gap) || 0; // Get the gap value or default to 0 if it's not specified | |
| 1012 | + | |
| 1013 | + for (let i = 0; i < children.length; i++) { | |
| 1014 | + totalWidth += children[i].offsetWidth + gap; | |
| 1015 | + } | |
| 1016 | + return totalWidth; | |
| 1017 | +} | |
| 1018 | +function initialScrollPosition(element, direction, justifyCSSVariable) { | |
| 1019 | + const isRTL = elementorFrontend.config.is_rtl; | |
| 1020 | + switch (direction) { | |
| 1021 | + case 'end': | |
| 1022 | + element.style.setProperty(justifyCSSVariable, 'start'); | |
| 1023 | + element.scrollLeft = isRTL ? -1 * getChildrenWidth(element.children) : getChildrenWidth(element.children); | |
| 1024 | + break; | |
| 1025 | + default: | |
| 1026 | + element.style.setProperty(justifyCSSVariable, 'start'); | |
| 1027 | + element.scrollLeft = 0; | |
| 1028 | + } | |
| 1029 | +} | |
| 1030 | + | |
| 1031 | +/***/ }), | |
| 1032 | + | |
| 1079 | 1033 | /***/ "../assets/dev/js/modules/imports/args-object.js": |
| 1080 | 1034 | /*!*******************************************************!*\ |
| 1081 | 1035 | !*** ../assets/dev/js/modules/imports/args-object.js ***! |
| 1082 | 1036 | \*******************************************************/ |
| @@ -1118,9 +1072,10 @@ | ||
| 1118 | 1072 | * @param {{}} args |
| 1119 | 1073 | * |
| 1120 | 1074 | * @throws {Error} |
| 1121 | 1075 | */ |
| 1122 | - requireArgument(property, args = this.args) { | |
| 1076 | + requireArgument(property) { | |
| 1077 | + let args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.args; | |
| 1123 | 1078 | if (!Object.prototype.hasOwnProperty.call(args, property)) { |
| 1124 | 1079 | throw Error(`${property} is required.`); |
| 1125 | 1080 | } |
| 1126 | 1081 | } |
| @@ -1135,9 +1090,10 @@ | ||
| 1135 | 1090 | * @param {{}} args |
| 1136 | 1091 | * |
| 1137 | 1092 | * @throws {Error} |
| 1138 | 1093 | */ |
| 1139 | - requireArgumentType(property, type, args = this.args) { | |
| 1094 | + requireArgumentType(property, type) { | |
| 1095 | + let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 1140 | 1096 | this.requireArgument(property, args); |
| 1141 | 1097 | if (typeof args[property] !== type) { |
| 1142 | 1098 | throw Error(`${property} invalid type: ${type}.`); |
| 1143 | 1099 | } |
| @@ -1153,9 +1109,10 @@ | ||
| 1153 | 1109 | * @param {{}} args |
| 1154 | 1110 | * |
| 1155 | 1111 | * @throws {Error} |
| 1156 | 1112 | */ |
| 1157 | - requireArgumentInstance(property, instance, args = this.args) { | |
| 1113 | + requireArgumentInstance(property, instance) { | |
| 1114 | + let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 1158 | 1115 | this.requireArgument(property, args); |
| 1159 | 1116 | if (!(args[property] instanceof instance) && !(0, _isInstanceof.default)(args[property], instance)) { |
| 1160 | 1117 | throw Error(`${property} invalid instance.`); |
| 1161 | 1118 | } |
| @@ -1171,9 +1128,10 @@ | ||
| 1171 | 1128 | * @param {{}} args |
| 1172 | 1129 | * |
| 1173 | 1130 | * @throws {Error} |
| 1174 | 1131 | */ |
| 1175 | - requireArgumentConstructor(property, type, args = this.args) { | |
| 1132 | + requireArgumentConstructor(property, type) { | |
| 1133 | + let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 1176 | 1134 | this.requireArgument(property, args); |
| 1177 | 1135 | |
| 1178 | 1136 | // Note: Converting the constructor to string in order to avoid equation issues |
| 1179 | 1137 | // due to different memory addresses between iframes (window.Object !== window.top.Object). |
| @@ -1189,9 +1147,9 @@ | ||
| 1189 | 1147 | /***/ "../assets/dev/js/modules/imports/force-method-implementation.js": |
| 1190 | 1148 | /*!***********************************************************************!*\ |
| 1191 | 1149 | !*** ../assets/dev/js/modules/imports/force-method-implementation.js ***! |
| 1192 | 1150 | \***********************************************************************/ |
| 1193 | -/***/ ((__unused_webpack_module, exports) => { | |
| 1151 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1194 | 1152 | |
| 1195 | 1153 | "use strict"; |
| 1196 | 1154 | |
| 1197 | 1155 | |
| @@ -1198,12 +1156,15 @@ | ||
| 1198 | 1156 | Object.defineProperty(exports, "__esModule", ({ |
| 1199 | 1157 | value: true |
| 1200 | 1158 | })); |
| 1201 | 1159 | exports["default"] = exports.ForceMethodImplementation = void 0; |
| 1160 | +__webpack_require__(/*! core-js/modules/es.array.includes.js */ "../node_modules/core-js/modules/es.array.includes.js"); | |
| 1202 | 1161 | // TODO: Wrong location used as `elementorModules.ForceMethodImplementation(); should be` `elementorUtils.forceMethodImplementation()`; |
| 1203 | 1162 | |
| 1204 | 1163 | class ForceMethodImplementation extends Error { |
| 1205 | - constructor(info = {}, args = {}) { | |
| 1164 | + constructor() { | |
| 1165 | + let info = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 1166 | + let args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | |
| 1206 | 1167 | super(`${info.isStatic ? 'static ' : ''}${info.fullName}() should be implemented, please provide '${info.functionName || info.fullName}' functionality.`, args); |
| 1207 | 1168 | |
| 1208 | 1169 | // Allow to pass custom properties to the error. |
| 1209 | 1170 | if (Object.keys(args).length) { |
| @@ -1247,10 +1208,8 @@ | ||
| 1247 | 1208 | value: true |
| 1248 | 1209 | })); |
| 1249 | 1210 | exports["default"] = void 0; |
| 1250 | 1211 | __webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js"); |
| 1251 | -__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); | |
| 1252 | -__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js"); | |
| 1253 | 1212 | class InstanceType { |
| 1254 | 1213 | static [Symbol.hasInstance](target) { |
| 1255 | 1214 | /** |
| 1256 | 1215 | * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class |
| @@ -1312,11 +1271,8 @@ | ||
| 1312 | 1271 | "use strict"; |
| 1313 | 1272 | |
| 1314 | 1273 | |
| 1315 | 1274 | __webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js"); |
| 1316 | -__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); | |
| 1317 | -__webpack_require__(/*! core-js/modules/esnext.iterator.filter.js */ "../node_modules/core-js/modules/esnext.iterator.filter.js"); | |
| 1318 | -__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js"); | |
| 1319 | 1275 | const Module = function () { |
| 1320 | 1276 | const $ = jQuery, |
| 1321 | 1277 | instanceParams = arguments, |
| 1322 | 1278 | self = this, |
| @@ -1556,9 +1512,10 @@ | ||
| 1556 | 1512 | let lastScrollY = 0; |
| 1557 | 1513 | |
| 1558 | 1514 | // Generating thresholds points along the animation height |
| 1559 | 1515 | // More thresholds points = more trigger points of the callback |
| 1560 | - const buildThresholds = (sensitivityPercentage = 0) => { | |
| 1516 | + const buildThresholds = function () { | |
| 1517 | + let sensitivityPercentage = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; | |
| 1561 | 1518 | const thresholds = []; |
| 1562 | 1519 | if (sensitivityPercentage > 0 && sensitivityPercentage <= 100) { |
| 1563 | 1520 | const increment = 100 / sensitivityPercentage; |
| 1564 | 1521 | for (let i = 0; i <= 100; i += increment) { |
| @@ -1595,9 +1552,10 @@ | ||
| 1595 | 1552 | * @param {Object} offsetObj |
| 1596 | 1553 | * @param {number} offsetObj.start - Offset start value in percentages |
| 1597 | 1554 | * @param {number} offsetObj.end - Offset end value in percentages |
| 1598 | 1555 | */ |
| 1599 | - static getElementViewportPercentage($element, offsetObj = {}) { | |
| 1556 | + static getElementViewportPercentage($element) { | |
| 1557 | + let offsetObj = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | |
| 1600 | 1558 | const elementOffset = $element[0].getBoundingClientRect(), |
| 1601 | 1559 | offsetStart = offsetObj.start || 0, |
| 1602 | 1560 | offsetEnd = offsetObj.end || 0, |
| 1603 | 1561 | windowStartOffset = window.innerHeight * offsetStart / 100, |
| @@ -1615,9 +1573,11 @@ | ||
| 1615 | 1573 | * @param {number} offsetObj.start - Offset start value in percentages |
| 1616 | 1574 | * @param {number} offsetObj.end - Offset end value in percentages |
| 1617 | 1575 | * @param {number} limitPageHeight - Will limit the page height calculation |
| 1618 | 1576 | */ |
| 1619 | - static getPageScrollPercentage(offsetObj = {}, limitPageHeight) { | |
| 1577 | + static getPageScrollPercentage() { | |
| 1578 | + let offsetObj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 1579 | + let limitPageHeight = arguments.length > 1 ? arguments[1] : undefined; | |
| 1620 | 1580 | const offsetStart = offsetObj.start || 0, |
| 1621 | 1581 | offsetEnd = offsetObj.end || 0, |
| 1622 | 1582 | initialPageHeight = limitPageHeight || document.documentElement.scrollHeight - document.documentElement.clientHeight, |
| 1623 | 1583 | heightOffset = initialPageHeight * offsetStart / 100, |
| @@ -1681,11 +1641,9 @@ | ||
| 1681 | 1641 | var _argsObject = _interopRequireDefault(__webpack_require__(/*! ./imports/args-object */ "../assets/dev/js/modules/imports/args-object.js")); |
| 1682 | 1642 | var _masonry = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/masonry */ "../assets/dev/js/modules/imports/utils/masonry.js")); |
| 1683 | 1643 | var _scroll = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/scroll */ "../assets/dev/js/modules/imports/utils/scroll.js")); |
| 1684 | 1644 | var _forceMethodImplementation = _interopRequireDefault(__webpack_require__(/*! ./imports/force-method-implementation */ "../assets/dev/js/modules/imports/force-method-implementation.js")); |
| 1685 | -var _templateRegistryHelpers = __webpack_require__(/*! ../../../../app/modules/import-export-customization/assets/js/shared/utils/template-registry-helpers */ "../app/modules/import-export-customization/assets/js/shared/utils/template-registry-helpers.js"); | |
| 1686 | -var _customizationDialogs = __webpack_require__(/*! ../../../../app/modules/import-export-customization/assets/js/shared/registry/customization-dialogs */ "../app/modules/import-export-customization/assets/js/shared/registry/customization-dialogs.js"); | |
| 1687 | -const baseModules = { | |
| 1645 | +var _default = exports["default"] = window.elementorModules = { | |
| 1688 | 1646 | Module: _module.default, |
| 1689 | 1647 | ViewModule: _viewModule.default, |
| 1690 | 1648 | ArgsObject: _argsObject.default, |
| 1691 | 1649 | ForceMethodImplementation: _forceMethodImplementation.default, |
| @@ -1691,35 +1649,416 @@ | ||
| 1691 | 1649 | ForceMethodImplementation: _forceMethodImplementation.default, |
| 1692 | 1650 | utils: { |
| 1693 | 1651 | Masonry: _masonry.default, |
| 1694 | 1652 | Scroll: _scroll.default |
| 1695 | - }, | |
| 1696 | - importExport: { | |
| 1697 | - createGetInitialState: _templateRegistryHelpers.createGetInitialState, | |
| 1698 | - customizationDialogsRegistry: _customizationDialogs.customizationDialogsRegistry | |
| 1699 | 1653 | } |
| 1700 | 1654 | }; |
| 1701 | -if (!window.elementorModules) { | |
| 1702 | - window.elementorModules = baseModules; | |
| 1703 | -} else { | |
| 1704 | - Object.assign(window.elementorModules, baseModules); | |
| 1705 | -} | |
| 1706 | -var _default = exports["default"] = window.elementorModules; | |
| 1707 | 1655 | |
| 1708 | 1656 | /***/ }), |
| 1709 | 1657 | |
| 1710 | -/***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js": | |
| 1711 | -/*!***********************************************************************!*\ | |
| 1712 | - !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! | |
| 1713 | - \***********************************************************************/ | |
| 1714 | -/***/ ((module) => { | |
| 1658 | +/***/ "../modules/nested-tabs/assets/js/frontend/handlers/nested-tabs.js": | |
| 1659 | +/*!*************************************************************************!*\ | |
| 1660 | + !*** ../modules/nested-tabs/assets/js/frontend/handlers/nested-tabs.js ***! | |
| 1661 | + \*************************************************************************/ | |
| 1662 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1715 | 1663 | |
| 1716 | -function _interopRequireDefault(e) { | |
| 1717 | - return e && e.__esModule ? e : { | |
| 1718 | - "default": e | |
| 1719 | - }; | |
| 1664 | +"use strict"; | |
| 1665 | + | |
| 1666 | + | |
| 1667 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1668 | +Object.defineProperty(exports, "__esModule", ({ | |
| 1669 | + value: true | |
| 1670 | +})); | |
| 1671 | +exports["default"] = void 0; | |
| 1672 | +var _base = _interopRequireDefault(__webpack_require__(/*! elementor-frontend/handlers/base */ "../assets/dev/js/frontend/handlers/base.js")); | |
| 1673 | +var _flexHorizontalScroll = __webpack_require__(/*! elementor-frontend-utils/flex-horizontal-scroll */ "../assets/dev/js/frontend/utils/flex-horizontal-scroll.js"); | |
| 1674 | +class NestedTabs extends _base.default { | |
| 1675 | + /** | |
| 1676 | + * @param {string|number} tabIndex | |
| 1677 | + * | |
| 1678 | + * @return {string} | |
| 1679 | + */ | |
| 1680 | + getTabTitleFilterSelector(tabIndex) { | |
| 1681 | + return `[${this.getSettings('dataAttributes').tabIndex}="${tabIndex}"]`; | |
| 1682 | + } | |
| 1683 | + | |
| 1684 | + /** | |
| 1685 | + * @param {string|number} tabIndex | |
| 1686 | + * | |
| 1687 | + * @return {string} | |
| 1688 | + */ | |
| 1689 | + getTabContentFilterSelector(tabIndex) { | |
| 1690 | + return `*:nth-child(${tabIndex})`; | |
| 1691 | + } | |
| 1692 | + | |
| 1693 | + /** | |
| 1694 | + * @param {HTMLElement} tabTitleElement | |
| 1695 | + * | |
| 1696 | + * @return {string} | |
| 1697 | + */ | |
| 1698 | + getTabIndex(tabTitleElement) { | |
| 1699 | + return tabTitleElement.getAttribute(this.getSettings('dataAttributes').tabIndex); | |
| 1700 | + } | |
| 1701 | + getActiveTabIndex() { | |
| 1702 | + const settings = this.getSettings(), | |
| 1703 | + activeTitleFilter = settings.ariaAttributes.activeTitleSelector, | |
| 1704 | + tabIndexSelector = settings.dataAttributes.tabIndex, | |
| 1705 | + $activeTitle = this.elements.$tabTitles.filter(activeTitleFilter); | |
| 1706 | + return $activeTitle.attr(tabIndexSelector) || null; | |
| 1707 | + } | |
| 1708 | + getWidgetNumber() { | |
| 1709 | + return this.$element.find('> .elementor-widget-container > .e-n-tabs, > .e-n-tabs').attr('data-widget-number'); | |
| 1710 | + } | |
| 1711 | + getDefaultSettings() { | |
| 1712 | + const widgetNumber = this.getWidgetNumber(); | |
| 1713 | + return { | |
| 1714 | + selectors: { | |
| 1715 | + widgetContainer: `[data-widget-number="${widgetNumber}"]`, | |
| 1716 | + tabTitle: `[aria-controls*="e-n-tab-content-${widgetNumber}"]`, | |
| 1717 | + tabTitleIcon: `[id*="e-n-tab-title-${widgetNumber}"] > .e-n-tab-icon`, | |
| 1718 | + tabTitleText: `[id*="e-n-tab-title-${widgetNumber}"] > .e-n-tab-title-text`, | |
| 1719 | + tabContent: `[data-widget-number="${widgetNumber}"] > .e-n-tabs-content > .e-con`, | |
| 1720 | + headingContainer: `[data-widget-number="${widgetNumber}"] > .e-n-tabs-heading`, | |
| 1721 | + activeTabContentContainers: `[id*="e-n-tab-content-${widgetNumber}"].e-active` | |
| 1722 | + }, | |
| 1723 | + classes: { | |
| 1724 | + active: 'e-active' | |
| 1725 | + }, | |
| 1726 | + dataAttributes: { | |
| 1727 | + tabIndex: 'data-tab-index' | |
| 1728 | + }, | |
| 1729 | + ariaAttributes: { | |
| 1730 | + titleStateAttribute: 'aria-selected', | |
| 1731 | + activeTitleSelector: '[aria-selected="true"]' | |
| 1732 | + }, | |
| 1733 | + showTabFn: 'show', | |
| 1734 | + hideTabFn: 'hide', | |
| 1735 | + toggleSelf: false, | |
| 1736 | + hidePrevious: true, | |
| 1737 | + autoExpand: true | |
| 1738 | + }; | |
| 1739 | + } | |
| 1740 | + getDefaultElements() { | |
| 1741 | + const selectors = this.getSettings('selectors'); | |
| 1742 | + return { | |
| 1743 | + $widgetContainer: this.findElement(selectors.widgetContainer), | |
| 1744 | + $tabTitles: this.findElement(selectors.tabTitle), | |
| 1745 | + $tabContents: this.findElement(selectors.tabContent), | |
| 1746 | + $headingContainer: this.findElement(selectors.headingContainer) | |
| 1747 | + }; | |
| 1748 | + } | |
| 1749 | + getKeyboardNavigationSettings() { | |
| 1750 | + return this.getSettings(); | |
| 1751 | + } | |
| 1752 | + activateDefaultTab() { | |
| 1753 | + const settings = this.getSettings(); | |
| 1754 | + const defaultActiveTab = this.getEditSettings('activeItemIndex') || 1, | |
| 1755 | + originalToggleMethods = { | |
| 1756 | + showTabFn: settings.showTabFn, | |
| 1757 | + hideTabFn: settings.hideTabFn | |
| 1758 | + }; | |
| 1759 | + | |
| 1760 | + // Toggle tabs without animation to avoid jumping | |
| 1761 | + this.setSettings({ | |
| 1762 | + showTabFn: 'show', | |
| 1763 | + hideTabFn: 'hide' | |
| 1764 | + }); | |
| 1765 | + this.changeActiveTab(defaultActiveTab); | |
| 1766 | + | |
| 1767 | + // Return back original toggle effects | |
| 1768 | + this.setSettings(originalToggleMethods); | |
| 1769 | + this.elements.$widgetContainer.addClass('e-activated'); | |
| 1770 | + } | |
| 1771 | + deactivateActiveTab(newTabIndex) { | |
| 1772 | + const settings = this.getSettings(), | |
| 1773 | + activeClass = settings.classes.active, | |
| 1774 | + activeTitleFilter = settings.ariaAttributes.activeTitleSelector, | |
| 1775 | + activeContentFilter = '.' + activeClass, | |
| 1776 | + $activeTitle = this.elements.$tabTitles.filter(activeTitleFilter), | |
| 1777 | + $activeContent = this.elements.$tabContents.filter(activeContentFilter); | |
| 1778 | + this.setTabDeactivationAttributes($activeTitle, newTabIndex); | |
| 1779 | + $activeContent.removeClass(activeClass); | |
| 1780 | + $activeContent[settings.hideTabFn](0, () => this.onHideTabContent($activeContent)); | |
| 1781 | + return $activeContent; | |
| 1782 | + } | |
| 1783 | + getTitleActivationAttributes() { | |
| 1784 | + const titleStateAttribute = this.getSettings('ariaAttributes').titleStateAttribute; | |
| 1785 | + return { | |
| 1786 | + tabindex: '0', | |
| 1787 | + [titleStateAttribute]: 'true' | |
| 1788 | + }; | |
| 1789 | + } | |
| 1790 | + setTabDeactivationAttributes($activeTitle) { | |
| 1791 | + const titleStateAttribute = this.getSettings('ariaAttributes').titleStateAttribute; | |
| 1792 | + $activeTitle.attr({ | |
| 1793 | + tabindex: '-1', | |
| 1794 | + [titleStateAttribute]: 'false' | |
| 1795 | + }); | |
| 1796 | + } | |
| 1797 | + onHideTabContent() {} | |
| 1798 | + activateTab(tabIndex) { | |
| 1799 | + const settings = this.getSettings(), | |
| 1800 | + activeClass = settings.classes.active, | |
| 1801 | + animationDuration = 'show' === settings.showTabFn ? 0 : 400; | |
| 1802 | + let $requestedTitle = this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(tabIndex)), | |
| 1803 | + $requestedContent = this.elements.$tabContents.filter(this.getTabContentFilterSelector(tabIndex)); | |
| 1804 | + | |
| 1805 | + // Check if the tabIndex exists. | |
| 1806 | + if (!$requestedTitle.length) { | |
| 1807 | + // Activate the previous tab and ensure that the tab index is not less than 1. | |
| 1808 | + const previousTabIndex = Math.max(tabIndex - 1, 1); | |
| 1809 | + $requestedTitle = this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(previousTabIndex)); | |
| 1810 | + $requestedContent = this.elements.$tabContents.filter(this.getTabContentFilterSelector(previousTabIndex)); | |
| 1811 | + } | |
| 1812 | + $requestedTitle.attr(this.getTitleActivationAttributes()); | |
| 1813 | + $requestedContent.addClass(activeClass); | |
| 1814 | + $requestedContent[settings.showTabFn](animationDuration, () => this.onShowTabContent($requestedContent)); | |
| 1815 | + } | |
| 1816 | + onShowTabContent($requestedContent) { | |
| 1817 | + elementorFrontend.elements.$window.trigger('elementor-pro/motion-fx/recalc'); | |
| 1818 | + elementorFrontend.elements.$window.trigger('elementor/nested-tabs/activate', $requestedContent); | |
| 1819 | + elementorFrontend.elements.$window.trigger('elementor/bg-video/recalc'); | |
| 1820 | + } | |
| 1821 | + isActiveTab(tabIndex) { | |
| 1822 | + const settings = this.getSettings(), | |
| 1823 | + isActiveTabTitle = 'true' === this.elements.$tabTitles.filter(`[${settings.dataAttributes.tabIndex}="${tabIndex}"]`).attr(settings.ariaAttributes.titleStateAttribute), | |
| 1824 | + isActiveTabContent = this.elements.$tabContents.filter(this.getTabContentFilterSelector(tabIndex)).hasClass(this.getActiveClass()); | |
| 1825 | + return isActiveTabTitle && isActiveTabContent; | |
| 1826 | + } | |
| 1827 | + onTabClick(event) { | |
| 1828 | + event.preventDefault(); | |
| 1829 | + this.changeActiveTab(event.currentTarget?.getAttribute(this.getSettings('dataAttributes').tabIndex), true); | |
| 1830 | + } | |
| 1831 | + getTabEvents() { | |
| 1832 | + return { | |
| 1833 | + click: this.onTabClick.bind(this) | |
| 1834 | + }; | |
| 1835 | + } | |
| 1836 | + getHeadingEvents() { | |
| 1837 | + const navigationWrapper = this.elements.$headingContainer[0]; | |
| 1838 | + return { | |
| 1839 | + mousedown: _flexHorizontalScroll.changeScrollStatus.bind(this, navigationWrapper), | |
| 1840 | + mouseup: _flexHorizontalScroll.changeScrollStatus.bind(this, navigationWrapper), | |
| 1841 | + mouseleave: _flexHorizontalScroll.changeScrollStatus.bind(this, navigationWrapper), | |
| 1842 | + mousemove: _flexHorizontalScroll.setHorizontalTitleScrollValues.bind(this, navigationWrapper, this.getHorizontalScrollSetting()) | |
| 1843 | + }; | |
| 1844 | + } | |
| 1845 | + bindEvents() { | |
| 1846 | + this.elements.$tabTitles.on(this.getTabEvents()); | |
| 1847 | + this.elements.$headingContainer.on(this.getHeadingEvents()); | |
| 1848 | + elementorFrontend.elements.$window.on('resize', this.onResizeUpdateHorizontalScrolling.bind(this)); | |
| 1849 | + elementorFrontend.elements.$window.on('resize', this.setTouchMode.bind(this)); | |
| 1850 | + elementorFrontend.elements.$window.on('elementor/nested-tabs/activate', this.reInitSwipers); | |
| 1851 | + elementorFrontend.elements.$window.on('elementor/nested-elements/activate-by-keyboard', this.changeActiveTabByKeyboard.bind(this)); | |
| 1852 | + elementorFrontend.elements.$window.on('elementor/nested-container/atomic-repeater', this.linkContainer.bind(this)); | |
| 1853 | + } | |
| 1854 | + unbindEvents() { | |
| 1855 | + this.elements.$tabTitles.off(); | |
| 1856 | + this.elements.$headingContainer.off(); | |
| 1857 | + this.elements.$tabContents.children().off(); | |
| 1858 | + elementorFrontend.elements.$window.off('resize', this.onResizeUpdateHorizontalScrolling.bind(this)); | |
| 1859 | + elementorFrontend.elements.$window.off('resize', this.setTouchMode.bind(this)); | |
| 1860 | + elementorFrontend.elements.$window.off('elementor/nested-tabs/activate', this.reInitSwipers); | |
| 1861 | + elementorFrontend.elements.$window.off('elementor/nested-elements/activate-by-keyboard', this.changeActiveTabByKeyboard.bind(this)); | |
| 1862 | + elementorFrontend.elements.$window.off('elementor/nested-container/atomic-repeater', this.linkContainer.bind(this)); | |
| 1863 | + } | |
| 1864 | + | |
| 1865 | + /** | |
| 1866 | + * Fixes issues where Swipers that have been initialized while a tab is not visible are not properly rendered | |
| 1867 | + * and when switching to the tab the swiper will not respect any of the chosen `autoplay` related settings. | |
| 1868 | + * | |
| 1869 | + * This is triggered when switching to a nested tab, looks for Swipers in the tab content and reinitializes them. | |
| 1870 | + * | |
| 1871 | + * @param {Object} event - Incoming event. | |
| 1872 | + * @param {Object} content - Active nested tab dom element. | |
| 1873 | + */ | |
| 1874 | + reInitSwipers(event, content) { | |
| 1875 | + const swiperElements = content.querySelectorAll('.swiper'); | |
| 1876 | + for (const element of swiperElements) { | |
| 1877 | + if (!element.swiper) { | |
| 1878 | + return; | |
| 1879 | + } | |
| 1880 | + element.swiper.initialized = false; | |
| 1881 | + element.swiper.init(); | |
| 1882 | + } | |
| 1883 | + } | |
| 1884 | + onInit() { | |
| 1885 | + super.onInit(...arguments); | |
| 1886 | + if (this.getSettings('autoExpand')) { | |
| 1887 | + this.activateDefaultTab(); | |
| 1888 | + } | |
| 1889 | + (0, _flexHorizontalScroll.setHorizontalScrollAlignment)(this.getHorizontalScrollingSettings()); | |
| 1890 | + this.setTouchMode(); | |
| 1891 | + if ('nested-tabs.default' === this.getSettings('elementName')) { | |
| 1892 | + __webpack_require__.e(/*! import() | nested-title-keyboard-handler */ "nested-title-keyboard-handler").then(__webpack_require__.bind(__webpack_require__, /*! elementor-frontend/handlers/accessibility/nested-title-keyboard-handler */ "../assets/dev/js/frontend/handlers/accessibility/nested-title-keyboard-handler.js")).then(_ref => { | |
| 1893 | + let { | |
| 1894 | + default: NestedTitleKeyboardHandler | |
| 1895 | + } = _ref; | |
| 1896 | + new NestedTitleKeyboardHandler(this.getKeyboardNavigationSettings()); | |
| 1897 | + }).catch(error => { | |
| 1898 | + // eslint-disable-next-line no-console | |
| 1899 | + console.error('Error importing module:', error); | |
| 1900 | + }); | |
| 1901 | + } | |
| 1902 | + } | |
| 1903 | + onEditSettingsChange(propertyName, value) { | |
| 1904 | + if ('activeItemIndex' === propertyName) { | |
| 1905 | + this.changeActiveTab(value, false); | |
| 1906 | + } | |
| 1907 | + } | |
| 1908 | + onElementChange(propertyName) { | |
| 1909 | + if (this.checkSliderPropsToWatch(propertyName)) { | |
| 1910 | + (0, _flexHorizontalScroll.setHorizontalScrollAlignment)(this.getHorizontalScrollingSettings()); | |
| 1911 | + } | |
| 1912 | + } | |
| 1913 | + checkSliderPropsToWatch(propertyName) { | |
| 1914 | + return 0 === propertyName.indexOf('horizontal_scroll') || 'breakpoint_selector' === propertyName || 0 === propertyName.indexOf('tabs_justify_horizontal') || 0 === propertyName.indexOf('tabs_title_space_between'); | |
| 1915 | + } | |
| 1916 | + | |
| 1917 | + /** | |
| 1918 | + * @param {string} tabIndex | |
| 1919 | + * @param {boolean} fromUser - Whether the call is caused by the user or internal. | |
| 1920 | + */ | |
| 1921 | + changeActiveTab(tabIndex) { | |
| 1922 | + let fromUser = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; | |
| 1923 | + // `document/repeater/select` is used only in the editor, only when the element | |
| 1924 | + // is in the currently-edited document, and only when its not internal call, | |
| 1925 | + if (fromUser && this.isEdit && this.isElementInTheCurrentDocument()) { | |
| 1926 | + return window.top.$e.run('document/repeater/select', { | |
| 1927 | + container: elementor.getContainer(this.$element.attr('data-id')), | |
| 1928 | + index: parseInt(tabIndex) | |
| 1929 | + }); | |
| 1930 | + } | |
| 1931 | + const isActiveTab = this.isActiveTab(tabIndex), | |
| 1932 | + settings = this.getSettings(); | |
| 1933 | + if ((settings.toggleSelf || !isActiveTab) && settings.hidePrevious) { | |
| 1934 | + this.deactivateActiveTab(tabIndex); | |
| 1935 | + } | |
| 1936 | + if (!settings.hidePrevious && isActiveTab) { | |
| 1937 | + this.deactivateActiveTab(tabIndex); | |
| 1938 | + } | |
| 1939 | + if (!isActiveTab) { | |
| 1940 | + if (this.isAccordionVersion()) { | |
| 1941 | + this.activateMobileTab(tabIndex); | |
| 1942 | + return; | |
| 1943 | + } | |
| 1944 | + this.activateTab(tabIndex); | |
| 1945 | + } | |
| 1946 | + } | |
| 1947 | + changeActiveTabByKeyboard(event, settings) { | |
| 1948 | + if (settings.widgetId.toString() !== this.getID().toString()) { | |
| 1949 | + return; | |
| 1950 | + } | |
| 1951 | + this.changeActiveTab(settings.titleIndex, true); | |
| 1952 | + } | |
| 1953 | + activateMobileTab(tabIndex) { | |
| 1954 | + // Timeout time added to ensure that opening of the active tab starts after closing the other tab on Apple devices. | |
| 1955 | + setTimeout(() => { | |
| 1956 | + this.activateTab(tabIndex); | |
| 1957 | + this.forceActiveTabToBeInViewport(tabIndex); | |
| 1958 | + }, 10); | |
| 1959 | + } | |
| 1960 | + forceActiveTabToBeInViewport(tabIndex) { | |
| 1961 | + if (!elementorFrontend.isEditMode()) { | |
| 1962 | + return; | |
| 1963 | + } | |
| 1964 | + const $activeTabTitle = this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(tabIndex)); | |
| 1965 | + if (!elementor.helpers.isInViewport($activeTabTitle[0])) { | |
| 1966 | + $activeTabTitle[0].scrollIntoView({ | |
| 1967 | + block: 'center' | |
| 1968 | + }); | |
| 1969 | + } | |
| 1970 | + } | |
| 1971 | + getActiveClass() { | |
| 1972 | + const settings = this.getSettings(); | |
| 1973 | + return settings.classes.active; | |
| 1974 | + } | |
| 1975 | + getTabsDirection() { | |
| 1976 | + const currentDevice = elementorFrontend.getCurrentDeviceMode(); | |
| 1977 | + return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'tabs_justify_horizontal', '', currentDevice); | |
| 1978 | + } | |
| 1979 | + getHorizontalScrollSetting() { | |
| 1980 | + const currentDevice = elementorFrontend.getCurrentDeviceMode(); | |
| 1981 | + return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'horizontal_scroll', '', currentDevice); | |
| 1982 | + } | |
| 1983 | + isAccordionVersion() { | |
| 1984 | + return 'contents' === this.elements.$headingContainer.css('display'); | |
| 1985 | + } | |
| 1986 | + setTouchMode() { | |
| 1987 | + const widgetSelector = this.getSettings('selectors').widgetContainer; | |
| 1988 | + if (elementorFrontend.isEditMode() || 'resize' === event?.type) { | |
| 1989 | + const responsiveDevices = ['mobile', 'mobile_extra', 'tablet', 'tablet_extra'], | |
| 1990 | + currentDevice = elementorFrontend.getCurrentDeviceMode(); | |
| 1991 | + if (-1 !== responsiveDevices.indexOf(currentDevice)) { | |
| 1992 | + this.$element.find(widgetSelector).attr('data-touch-mode', 'true'); | |
| 1993 | + return; | |
| 1994 | + } | |
| 1995 | + } else if ('ontouchstart' in window) { | |
| 1996 | + this.$element.find(widgetSelector).attr('data-touch-mode', 'true'); | |
| 1997 | + return; | |
| 1998 | + } | |
| 1999 | + this.$element.find(widgetSelector).attr('data-touch-mode', 'false'); | |
| 2000 | + } | |
| 2001 | + linkContainer(event) { | |
| 2002 | + const { | |
| 2003 | + container | |
| 2004 | + } = event.detail, | |
| 2005 | + id = container.model.get('id'), | |
| 2006 | + currentId = this.$element.data('id'), | |
| 2007 | + view = container.view.$el; | |
| 2008 | + if (id === currentId) { | |
| 2009 | + this.updateIndexValues(); | |
| 2010 | + this.updateListeners(view); | |
| 2011 | + elementor.$preview[0].contentWindow.dispatchEvent(new CustomEvent('elementor/elements/link-data-bindings')); | |
| 2012 | + } | |
| 2013 | + if (!this.getActiveTabIndex()) { | |
| 2014 | + const targetIndex = event.detail.index + 1 || 1; | |
| 2015 | + this.changeActiveTab(targetIndex); | |
| 2016 | + } | |
| 2017 | + } | |
| 2018 | + updateListeners(view) { | |
| 2019 | + this.elements.$tabContents = view.find(this.getSettings('selectors.tabContent')); | |
| 2020 | + this.elements.$tabTitles = view.find(this.getSettings('selectors.tabTitle')); | |
| 2021 | + this.elements.$tabTitles.on(this.getTabEvents()); | |
| 2022 | + } | |
| 2023 | + updateIndexValues() { | |
| 2024 | + const { | |
| 2025 | + $widgetContainer, | |
| 2026 | + $tabContents, | |
| 2027 | + $tabTitles | |
| 2028 | + } = this.getDefaultElements(), | |
| 2029 | + settings = this.getSettings(), | |
| 2030 | + dataTabIndex = settings.dataAttributes.tabIndex, | |
| 2031 | + widgetNumber = $widgetContainer.data('widgetNumber'); | |
| 2032 | + $tabTitles.each((index, element) => { | |
| 2033 | + const newIndex = index + 1, | |
| 2034 | + updatedTabID = `e-n-tab-title-${widgetNumber}${newIndex}`, | |
| 2035 | + updatedContainerID = `e-n-tab-content-${widgetNumber}${newIndex}`; | |
| 2036 | + element.setAttribute('id', updatedTabID); | |
| 2037 | + element.setAttribute('style', `--n-tabs-title-order: ${newIndex}`); | |
| 2038 | + element.setAttribute(dataTabIndex, newIndex); | |
| 2039 | + element.setAttribute('aria-controls', updatedContainerID); | |
| 2040 | + element.querySelector(settings.selectors.tabTitleIcon)?.setAttribute('data-binding-index', newIndex); | |
| 2041 | + element.querySelector(settings.selectors.tabTitleText).setAttribute('data-binding-index', newIndex); | |
| 2042 | + $tabContents[index].setAttribute('aria-labelledby', updatedTabID); | |
| 2043 | + $tabContents[index].setAttribute(dataTabIndex, newIndex); | |
| 2044 | + $tabContents[index].setAttribute('id', updatedContainerID); | |
| 2045 | + $tabContents[index].setAttribute('style', `--n-tabs-title-order: ${newIndex}`); | |
| 2046 | + }); | |
| 2047 | + } | |
| 2048 | + onResizeUpdateHorizontalScrolling() { | |
| 2049 | + (0, _flexHorizontalScroll.setHorizontalScrollAlignment)(this.getHorizontalScrollingSettings()); | |
| 2050 | + } | |
| 2051 | + getHorizontalScrollingSettings() { | |
| 2052 | + return { | |
| 2053 | + element: this.elements.$headingContainer[0], | |
| 2054 | + direction: this.getTabsDirection(), | |
| 2055 | + justifyCSSVariable: '--n-tabs-heading-justify-content', | |
| 2056 | + horizontalScrollStatus: this.getHorizontalScrollSetting() | |
| 2057 | + }; | |
| 2058 | + } | |
| 1720 | 2059 | } |
| 1721 | -module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2060 | +exports["default"] = NestedTabs; | |
| 1722 | 2061 | |
| 1723 | 2062 | /***/ }), |
| 1724 | 2063 | |
| 1725 | 2064 | /***/ "../node_modules/core-js/internals/a-callable.js": |
| @@ -1737,29 +2076,41 @@ | ||
| 1737 | 2076 | |
| 1738 | 2077 | // `Assert: IsCallable(argument) is true` |
| 1739 | 2078 | module.exports = function (argument) { |
| 1740 | 2079 | if (isCallable(argument)) return argument; |
| 1741 | - throw new $TypeError(tryToString(argument) + ' is not a function'); | |
| 2080 | + throw $TypeError(tryToString(argument) + ' is not a function'); | |
| 1742 | 2081 | }; |
| 1743 | 2082 | |
| 1744 | 2083 | |
| 1745 | 2084 | /***/ }), |
| 1746 | 2085 | |
| 1747 | -/***/ "../node_modules/core-js/internals/an-instance.js": | |
| 1748 | -/*!********************************************************!*\ | |
| 1749 | - !*** ../node_modules/core-js/internals/an-instance.js ***! | |
| 1750 | - \********************************************************/ | |
| 2086 | +/***/ "../node_modules/core-js/internals/add-to-unscopables.js": | |
| 2087 | +/*!***************************************************************!*\ | |
| 2088 | + !*** ../node_modules/core-js/internals/add-to-unscopables.js ***! | |
| 2089 | + \***************************************************************/ | |
| 1751 | 2090 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 1752 | 2091 | |
| 1753 | 2092 | "use strict"; |
| 1754 | 2093 | |
| 1755 | -var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js"); | |
| 2094 | +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); | |
| 2095 | +var create = __webpack_require__(/*! ../internals/object-create */ "../node_modules/core-js/internals/object-create.js"); | |
| 2096 | +var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js").f); | |
| 1756 | 2097 | |
| 1757 | -var $TypeError = TypeError; | |
| 2098 | +var UNSCOPABLES = wellKnownSymbol('unscopables'); | |
| 2099 | +var ArrayPrototype = Array.prototype; | |
| 1758 | 2100 | |
| 1759 | -module.exports = function (it, Prototype) { | |
| 1760 | - if (isPrototypeOf(Prototype, it)) return it; | |
| 1761 | - throw new $TypeError('Incorrect invocation'); | |
| 2101 | +// Array.prototype[@@unscopables] | |
| 2102 | +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables | |
| 2103 | +if (ArrayPrototype[UNSCOPABLES] == undefined) { | |
| 2104 | + defineProperty(ArrayPrototype, UNSCOPABLES, { | |
| 2105 | + configurable: true, | |
| 2106 | + value: create(null) | |
| 2107 | + }); | |
| 2108 | +} | |
| 2109 | + | |
| 2110 | +// add a key to Array.prototype[@@unscopables] | |
| 2111 | +module.exports = function (key) { | |
| 2112 | + ArrayPrototype[UNSCOPABLES][key] = true; | |
| 1762 | 2113 | }; |
| 1763 | 2114 | |
| 1764 | 2115 | |
| 1765 | 2116 | /***/ }), |
| @@ -1779,9 +2130,9 @@ | ||
| 1779 | 2130 | |
| 1780 | 2131 | // `Assert: Type(argument) is Object` |
| 1781 | 2132 | module.exports = function (argument) { |
| 1782 | 2133 | if (isObject(argument)) return argument; |
| 1783 | - throw new $TypeError($String(argument) + ' is not an object'); | |
| 2134 | + throw $TypeError($String(argument) + ' is not an object'); | |
| 1784 | 2135 | }; |
| 1785 | 2136 | |
| 1786 | 2137 | |
| 1787 | 2138 | /***/ }), |
| @@ -1802,17 +2153,16 @@ | ||
| 1802 | 2153 | var createMethod = function (IS_INCLUDES) { |
| 1803 | 2154 | return function ($this, el, fromIndex) { |
| 1804 | 2155 | var O = toIndexedObject($this); |
| 1805 | 2156 | var length = lengthOfArrayLike(O); |
| 1806 | - if (length === 0) return !IS_INCLUDES && -1; | |
| 1807 | 2157 | var index = toAbsoluteIndex(fromIndex, length); |
| 1808 | 2158 | var value; |
| 1809 | 2159 | // Array#includes uses SameValueZero equality algorithm |
| 1810 | 2160 | // eslint-disable-next-line no-self-compare -- NaN check |
| 1811 | - if (IS_INCLUDES && el !== el) while (length > index) { | |
| 2161 | + if (IS_INCLUDES && el != el) while (length > index) { | |
| 1812 | 2162 | value = O[index++]; |
| 1813 | 2163 | // eslint-disable-next-line no-self-compare -- NaN check |
| 1814 | - if (value !== value) return true; | |
| 2164 | + if (value != value) return true; | |
| 1815 | 2165 | // Array#indexOf ignores holes, Array#includes - not |
| 1816 | 2166 | } else for (;length > index; index++) { |
| 1817 | 2167 | if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; |
| 1818 | 2168 | } return !IS_INCLUDES && -1; |
| @@ -1859,9 +2209,9 @@ | ||
| 1859 | 2209 | }(); |
| 1860 | 2210 | |
| 1861 | 2211 | module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) { |
| 1862 | 2212 | if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) { |
| 1863 | - throw new $TypeError('Cannot set read only .length'); | |
| 2213 | + throw $TypeError('Cannot set read only .length'); | |
| 1864 | 2214 | } return O.length = length; |
| 1865 | 2215 | } : function (O, length) { |
| 1866 | 2216 | return O.length = length; |
| 1867 | 2217 | }; |
| @@ -1868,31 +2218,8 @@ | ||
| 1868 | 2218 | |
| 1869 | 2219 | |
| 1870 | 2220 | /***/ }), |
| 1871 | 2221 | |
| 1872 | -/***/ "../node_modules/core-js/internals/call-with-safe-iteration-closing.js": | |
| 1873 | -/*!*****************************************************************************!*\ | |
| 1874 | - !*** ../node_modules/core-js/internals/call-with-safe-iteration-closing.js ***! | |
| 1875 | - \*****************************************************************************/ | |
| 1876 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1877 | - | |
| 1878 | -"use strict"; | |
| 1879 | - | |
| 1880 | -var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); | |
| 1881 | -var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js"); | |
| 1882 | - | |
| 1883 | -// call something on iterator step with safe closing on error | |
| 1884 | -module.exports = function (iterator, fn, value, ENTRIES) { | |
| 1885 | - try { | |
| 1886 | - return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); | |
| 1887 | - } catch (error) { | |
| 1888 | - iteratorClose(iterator, 'throw', error); | |
| 1889 | - } | |
| 1890 | -}; | |
| 1891 | - | |
| 1892 | - | |
| 1893 | -/***/ }), | |
| 1894 | - | |
| 1895 | 2222 | /***/ "../node_modules/core-js/internals/classof-raw.js": |
| 1896 | 2223 | /*!********************************************************!*\ |
| 1897 | 2224 | !*** ../node_modules/core-js/internals/classof-raw.js ***! |
| 1898 | 2225 | \********************************************************/ |
| @@ -1911,49 +2238,8 @@ | ||
| 1911 | 2238 | |
| 1912 | 2239 | |
| 1913 | 2240 | /***/ }), |
| 1914 | 2241 | |
| 1915 | -/***/ "../node_modules/core-js/internals/classof.js": | |
| 1916 | -/*!****************************************************!*\ | |
| 1917 | - !*** ../node_modules/core-js/internals/classof.js ***! | |
| 1918 | - \****************************************************/ | |
| 1919 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1920 | - | |
| 1921 | -"use strict"; | |
| 1922 | - | |
| 1923 | -var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "../node_modules/core-js/internals/to-string-tag-support.js"); | |
| 1924 | -var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 1925 | -var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js"); | |
| 1926 | -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); | |
| 1927 | - | |
| 1928 | -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); | |
| 1929 | -var $Object = Object; | |
| 1930 | - | |
| 1931 | -// ES3 wrong here | |
| 1932 | -var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments'; | |
| 1933 | - | |
| 1934 | -// fallback for IE11 Script Access Denied error | |
| 1935 | -var tryGet = function (it, key) { | |
| 1936 | - try { | |
| 1937 | - return it[key]; | |
| 1938 | - } catch (error) { /* empty */ } | |
| 1939 | -}; | |
| 1940 | - | |
| 1941 | -// getting tag from ES6+ `Object.prototype.toString` | |
| 1942 | -module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { | |
| 1943 | - var O, tag, result; | |
| 1944 | - return it === undefined ? 'Undefined' : it === null ? 'Null' | |
| 1945 | - // @@toStringTag case | |
| 1946 | - : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag | |
| 1947 | - // builtinTag case | |
| 1948 | - : CORRECT_ARGUMENTS ? classofRaw(O) | |
| 1949 | - // ES3 arguments fallback | |
| 1950 | - : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result; | |
| 1951 | -}; | |
| 1952 | - | |
| 1953 | - | |
| 1954 | -/***/ }), | |
| 1955 | - | |
| 1956 | 2242 | /***/ "../node_modules/core-js/internals/copy-constructor-properties.js": |
| 1957 | 2243 | /*!************************************************************************!*\ |
| 1958 | 2244 | !*** ../node_modules/core-js/internals/copy-constructor-properties.js ***! |
| 1959 | 2245 | \************************************************************************/ |
| @@ -1980,45 +2266,8 @@ | ||
| 1980 | 2266 | |
| 1981 | 2267 | |
| 1982 | 2268 | /***/ }), |
| 1983 | 2269 | |
| 1984 | -/***/ "../node_modules/core-js/internals/correct-prototype-getter.js": | |
| 1985 | -/*!*********************************************************************!*\ | |
| 1986 | - !*** ../node_modules/core-js/internals/correct-prototype-getter.js ***! | |
| 1987 | - \*********************************************************************/ | |
| 1988 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1989 | - | |
| 1990 | -"use strict"; | |
| 1991 | - | |
| 1992 | -var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 1993 | - | |
| 1994 | -module.exports = !fails(function () { | |
| 1995 | - function F() { /* empty */ } | |
| 1996 | - F.prototype.constructor = null; | |
| 1997 | - // eslint-disable-next-line es/no-object-getprototypeof -- required for testing | |
| 1998 | - return Object.getPrototypeOf(new F()) !== F.prototype; | |
| 1999 | -}); | |
| 2000 | - | |
| 2001 | - | |
| 2002 | -/***/ }), | |
| 2003 | - | |
| 2004 | -/***/ "../node_modules/core-js/internals/create-iter-result-object.js": | |
| 2005 | -/*!**********************************************************************!*\ | |
| 2006 | - !*** ../node_modules/core-js/internals/create-iter-result-object.js ***! | |
| 2007 | - \**********************************************************************/ | |
| 2008 | -/***/ ((module) => { | |
| 2009 | - | |
| 2010 | -"use strict"; | |
| 2011 | - | |
| 2012 | -// `CreateIterResultObject` abstract operation | |
| 2013 | -// https://tc39.es/ecma262/#sec-createiterresultobject | |
| 2014 | -module.exports = function (value, done) { | |
| 2015 | - return { value: value, done: done }; | |
| 2016 | -}; | |
| 2017 | - | |
| 2018 | - | |
| 2019 | -/***/ }), | |
| 2020 | - | |
| 2021 | 2270 | /***/ "../node_modules/core-js/internals/create-non-enumerable-property.js": |
| 2022 | 2271 | /*!***************************************************************************!*\ |
| 2023 | 2272 | !*** ../node_modules/core-js/internals/create-non-enumerable-property.js ***! |
| 2024 | 2273 | \***************************************************************************/ |
| @@ -2059,48 +2308,8 @@ | ||
| 2059 | 2308 | |
| 2060 | 2309 | |
| 2061 | 2310 | /***/ }), |
| 2062 | 2311 | |
| 2063 | -/***/ "../node_modules/core-js/internals/create-property.js": | |
| 2064 | -/*!************************************************************!*\ | |
| 2065 | - !*** ../node_modules/core-js/internals/create-property.js ***! | |
| 2066 | - \************************************************************/ | |
| 2067 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2068 | - | |
| 2069 | -"use strict"; | |
| 2070 | - | |
| 2071 | -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); | |
| 2072 | -var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js"); | |
| 2073 | -var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js"); | |
| 2074 | - | |
| 2075 | -module.exports = function (object, key, value) { | |
| 2076 | - if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value)); | |
| 2077 | - else object[key] = value; | |
| 2078 | -}; | |
| 2079 | - | |
| 2080 | - | |
| 2081 | -/***/ }), | |
| 2082 | - | |
| 2083 | -/***/ "../node_modules/core-js/internals/define-built-in-accessor.js": | |
| 2084 | -/*!*********************************************************************!*\ | |
| 2085 | - !*** ../node_modules/core-js/internals/define-built-in-accessor.js ***! | |
| 2086 | - \*********************************************************************/ | |
| 2087 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2088 | - | |
| 2089 | -"use strict"; | |
| 2090 | - | |
| 2091 | -var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ "../node_modules/core-js/internals/make-built-in.js"); | |
| 2092 | -var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js"); | |
| 2093 | - | |
| 2094 | -module.exports = function (target, name, descriptor) { | |
| 2095 | - if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true }); | |
| 2096 | - if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true }); | |
| 2097 | - return defineProperty.f(target, name, descriptor); | |
| 2098 | -}; | |
| 2099 | - | |
| 2100 | - | |
| 2101 | -/***/ }), | |
| 2102 | - | |
| 2103 | 2312 | /***/ "../node_modules/core-js/internals/define-built-in.js": |
| 2104 | 2313 | /*!************************************************************!*\ |
| 2105 | 2314 | !*** ../node_modules/core-js/internals/define-built-in.js ***! |
| 2106 | 2315 | \************************************************************/ |
| @@ -2138,26 +2347,8 @@ | ||
| 2138 | 2347 | |
| 2139 | 2348 | |
| 2140 | 2349 | /***/ }), |
| 2141 | 2350 | |
| 2142 | -/***/ "../node_modules/core-js/internals/define-built-ins.js": | |
| 2143 | -/*!*************************************************************!*\ | |
| 2144 | - !*** ../node_modules/core-js/internals/define-built-ins.js ***! | |
| 2145 | - \*************************************************************/ | |
| 2146 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2147 | - | |
| 2148 | -"use strict"; | |
| 2149 | - | |
| 2150 | -var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../node_modules/core-js/internals/define-built-in.js"); | |
| 2151 | - | |
| 2152 | -module.exports = function (target, src, options) { | |
| 2153 | - for (var key in src) defineBuiltIn(target, key, src[key], options); | |
| 2154 | - return target; | |
| 2155 | -}; | |
| 2156 | - | |
| 2157 | - | |
| 2158 | -/***/ }), | |
| 2159 | - | |
| 2160 | 2351 | /***/ "../node_modules/core-js/internals/define-global-property.js": |
| 2161 | 2352 | /*!*******************************************************************!*\ |
| 2162 | 2353 | !*** ../node_modules/core-js/internals/define-global-property.js ***! |
| 2163 | 2354 | \*******************************************************************/ |
| @@ -2164,9 +2355,9 @@ | ||
| 2164 | 2355 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2165 | 2356 | |
| 2166 | 2357 | "use strict"; |
| 2167 | 2358 | |
| 2168 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 2359 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 2169 | 2360 | |
| 2170 | 2361 | // eslint-disable-next-line es/no-object-defineproperty -- safe |
| 2171 | 2362 | var defineProperty = Object.defineProperty; |
| 2172 | 2363 | |
| @@ -2171,11 +2362,11 @@ | ||
| 2171 | 2362 | var defineProperty = Object.defineProperty; |
| 2172 | 2363 | |
| 2173 | 2364 | module.exports = function (key, value) { |
| 2174 | 2365 | try { |
| 2175 | - defineProperty(globalThis, key, { value: value, configurable: true, writable: true }); | |
| 2366 | + defineProperty(global, key, { value: value, configurable: true, writable: true }); | |
| 2176 | 2367 | } catch (error) { |
| 2177 | - globalThis[key] = value; | |
| 2368 | + global[key] = value; | |
| 2178 | 2369 | } return value; |
| 2179 | 2370 | }; |
| 2180 | 2371 | |
| 2181 | 2372 | |
| @@ -2193,14 +2384,36 @@ | ||
| 2193 | 2384 | |
| 2194 | 2385 | // Detect IE8's incomplete defineProperty implementation |
| 2195 | 2386 | module.exports = !fails(function () { |
| 2196 | 2387 | // eslint-disable-next-line es/no-object-defineproperty -- required for testing |
| 2197 | - return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7; | |
| 2388 | + return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; | |
| 2198 | 2389 | }); |
| 2199 | 2390 | |
| 2200 | 2391 | |
| 2201 | 2392 | /***/ }), |
| 2202 | 2393 | |
| 2394 | +/***/ "../node_modules/core-js/internals/document-all.js": | |
| 2395 | +/*!*********************************************************!*\ | |
| 2396 | + !*** ../node_modules/core-js/internals/document-all.js ***! | |
| 2397 | + \*********************************************************/ | |
| 2398 | +/***/ ((module) => { | |
| 2399 | + | |
| 2400 | +"use strict"; | |
| 2401 | + | |
| 2402 | +var documentAll = typeof document == 'object' && document.all; | |
| 2403 | + | |
| 2404 | +// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot | |
| 2405 | +// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing | |
| 2406 | +var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined; | |
| 2407 | + | |
| 2408 | +module.exports = { | |
| 2409 | + all: documentAll, | |
| 2410 | + IS_HTMLDDA: IS_HTMLDDA | |
| 2411 | +}; | |
| 2412 | + | |
| 2413 | + | |
| 2414 | +/***/ }), | |
| 2415 | + | |
| 2203 | 2416 | /***/ "../node_modules/core-js/internals/document-create-element.js": |
| 2204 | 2417 | /*!********************************************************************!*\ |
| 2205 | 2418 | !*** ../node_modules/core-js/internals/document-create-element.js ***! |
| 2206 | 2419 | \********************************************************************/ |
| @@ -2207,12 +2420,12 @@ | ||
| 2207 | 2420 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2208 | 2421 | |
| 2209 | 2422 | "use strict"; |
| 2210 | 2423 | |
| 2211 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 2424 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 2212 | 2425 | var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); |
| 2213 | 2426 | |
| 2214 | -var document = globalThis.document; | |
| 2427 | +var document = global.document; | |
| 2215 | 2428 | // typeof document.createElement is 'object' in old IE |
| 2216 | 2429 | var EXISTS = isObject(document) && isObject(document.createElement); |
| 2217 | 2430 | |
| 2218 | 2431 | module.exports = function (it) { |
| @@ -2240,61 +2453,34 @@ | ||
| 2240 | 2453 | |
| 2241 | 2454 | |
| 2242 | 2455 | /***/ }), |
| 2243 | 2456 | |
| 2244 | -/***/ "../node_modules/core-js/internals/enum-bug-keys.js": | |
| 2245 | -/*!**********************************************************!*\ | |
| 2246 | - !*** ../node_modules/core-js/internals/enum-bug-keys.js ***! | |
| 2247 | - \**********************************************************/ | |
| 2457 | +/***/ "../node_modules/core-js/internals/engine-user-agent.js": | |
| 2458 | +/*!**************************************************************!*\ | |
| 2459 | + !*** ../node_modules/core-js/internals/engine-user-agent.js ***! | |
| 2460 | + \**************************************************************/ | |
| 2248 | 2461 | /***/ ((module) => { |
| 2249 | 2462 | |
| 2250 | 2463 | "use strict"; |
| 2251 | 2464 | |
| 2252 | -// IE8- don't enum bug keys | |
| 2253 | -module.exports = [ | |
| 2254 | - 'constructor', | |
| 2255 | - 'hasOwnProperty', | |
| 2256 | - 'isPrototypeOf', | |
| 2257 | - 'propertyIsEnumerable', | |
| 2258 | - 'toLocaleString', | |
| 2259 | - 'toString', | |
| 2260 | - 'valueOf' | |
| 2261 | -]; | |
| 2465 | +module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; | |
| 2262 | 2466 | |
| 2263 | 2467 | |
| 2264 | 2468 | /***/ }), |
| 2265 | 2469 | |
| 2266 | -/***/ "../node_modules/core-js/internals/environment-user-agent.js": | |
| 2267 | -/*!*******************************************************************!*\ | |
| 2268 | - !*** ../node_modules/core-js/internals/environment-user-agent.js ***! | |
| 2269 | - \*******************************************************************/ | |
| 2470 | +/***/ "../node_modules/core-js/internals/engine-v8-version.js": | |
| 2471 | +/*!**************************************************************!*\ | |
| 2472 | + !*** ../node_modules/core-js/internals/engine-v8-version.js ***! | |
| 2473 | + \**************************************************************/ | |
| 2270 | 2474 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2271 | 2475 | |
| 2272 | 2476 | "use strict"; |
| 2273 | 2477 | |
| 2274 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 2478 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 2479 | +var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ "../node_modules/core-js/internals/engine-user-agent.js"); | |
| 2275 | 2480 | |
| 2276 | -var navigator = globalThis.navigator; | |
| 2277 | -var userAgent = navigator && navigator.userAgent; | |
| 2278 | - | |
| 2279 | -module.exports = userAgent ? String(userAgent) : ''; | |
| 2280 | - | |
| 2281 | - | |
| 2282 | -/***/ }), | |
| 2283 | - | |
| 2284 | -/***/ "../node_modules/core-js/internals/environment-v8-version.js": | |
| 2285 | -/*!*******************************************************************!*\ | |
| 2286 | - !*** ../node_modules/core-js/internals/environment-v8-version.js ***! | |
| 2287 | - \*******************************************************************/ | |
| 2288 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2289 | - | |
| 2290 | -"use strict"; | |
| 2291 | - | |
| 2292 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 2293 | -var userAgent = __webpack_require__(/*! ../internals/environment-user-agent */ "../node_modules/core-js/internals/environment-user-agent.js"); | |
| 2294 | - | |
| 2295 | -var process = globalThis.process; | |
| 2296 | -var Deno = globalThis.Deno; | |
| 2481 | +var process = global.process; | |
| 2482 | +var Deno = global.Deno; | |
| 2297 | 2483 | var versions = process && process.versions || Deno && Deno.version; |
| 2298 | 2484 | var v8 = versions && versions.v8; |
| 2299 | 2485 | var match, version; |
| 2300 | 2486 | |
| @@ -2319,8 +2505,30 @@ | ||
| 2319 | 2505 | |
| 2320 | 2506 | |
| 2321 | 2507 | /***/ }), |
| 2322 | 2508 | |
| 2509 | +/***/ "../node_modules/core-js/internals/enum-bug-keys.js": | |
| 2510 | +/*!**********************************************************!*\ | |
| 2511 | + !*** ../node_modules/core-js/internals/enum-bug-keys.js ***! | |
| 2512 | + \**********************************************************/ | |
| 2513 | +/***/ ((module) => { | |
| 2514 | + | |
| 2515 | +"use strict"; | |
| 2516 | + | |
| 2517 | +// IE8- don't enum bug keys | |
| 2518 | +module.exports = [ | |
| 2519 | + 'constructor', | |
| 2520 | + 'hasOwnProperty', | |
| 2521 | + 'isPrototypeOf', | |
| 2522 | + 'propertyIsEnumerable', | |
| 2523 | + 'toLocaleString', | |
| 2524 | + 'toString', | |
| 2525 | + 'valueOf' | |
| 2526 | +]; | |
| 2527 | + | |
| 2528 | + | |
| 2529 | +/***/ }), | |
| 2530 | + | |
| 2323 | 2531 | /***/ "../node_modules/core-js/internals/export.js": |
| 2324 | 2532 | /*!***************************************************!*\ |
| 2325 | 2533 | !*** ../node_modules/core-js/internals/export.js ***! |
| 2326 | 2534 | \***************************************************/ |
| @@ -2327,9 +2535,9 @@ | ||
| 2327 | 2535 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2328 | 2536 | |
| 2329 | 2537 | "use strict"; |
| 2330 | 2538 | |
| 2331 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 2539 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 2332 | 2540 | var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../node_modules/core-js/internals/object-get-own-property-descriptor.js").f); |
| 2333 | 2541 | var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); |
| 2334 | 2542 | var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../node_modules/core-js/internals/define-built-in.js"); |
| 2335 | 2543 | var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js"); |
| @@ -2356,13 +2564,13 @@ | ||
| 2356 | 2564 | var GLOBAL = options.global; |
| 2357 | 2565 | var STATIC = options.stat; |
| 2358 | 2566 | var FORCED, target, key, targetProperty, sourceProperty, descriptor; |
| 2359 | 2567 | if (GLOBAL) { |
| 2360 | - target = globalThis; | |
| 2568 | + target = global; | |
| 2361 | 2569 | } else if (STATIC) { |
| 2362 | - target = globalThis[TARGET] || defineGlobalProperty(TARGET, {}); | |
| 2570 | + target = global[TARGET] || defineGlobalProperty(TARGET, {}); | |
| 2363 | 2571 | } else { |
| 2364 | - target = globalThis[TARGET] && globalThis[TARGET].prototype; | |
| 2572 | + target = (global[TARGET] || {}).prototype; | |
| 2365 | 2573 | } |
| 2366 | 2574 | if (target) for (key in source) { |
| 2367 | 2575 | sourceProperty = source[key]; |
| 2368 | 2576 | if (options.dontCallGetSet) { |
| @@ -2404,33 +2612,8 @@ | ||
| 2404 | 2612 | |
| 2405 | 2613 | |
| 2406 | 2614 | /***/ }), |
| 2407 | 2615 | |
| 2408 | -/***/ "../node_modules/core-js/internals/function-bind-context.js": | |
| 2409 | -/*!******************************************************************!*\ | |
| 2410 | - !*** ../node_modules/core-js/internals/function-bind-context.js ***! | |
| 2411 | - \******************************************************************/ | |
| 2412 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2413 | - | |
| 2414 | -"use strict"; | |
| 2415 | - | |
| 2416 | -var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ "../node_modules/core-js/internals/function-uncurry-this-clause.js"); | |
| 2417 | -var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); | |
| 2418 | -var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js"); | |
| 2419 | - | |
| 2420 | -var bind = uncurryThis(uncurryThis.bind); | |
| 2421 | - | |
| 2422 | -// optional / simple context binding | |
| 2423 | -module.exports = function (fn, that) { | |
| 2424 | - aCallable(fn); | |
| 2425 | - return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) { | |
| 2426 | - return fn.apply(that, arguments); | |
| 2427 | - }; | |
| 2428 | -}; | |
| 2429 | - | |
| 2430 | - | |
| 2431 | -/***/ }), | |
| 2432 | - | |
| 2433 | 2616 | /***/ "../node_modules/core-js/internals/function-bind-native.js": |
| 2434 | 2617 | /*!*****************************************************************!*\ |
| 2435 | 2618 | !*** ../node_modules/core-js/internals/function-bind-native.js ***! |
| 2436 | 2619 | \*****************************************************************/ |
| @@ -2460,9 +2643,9 @@ | ||
| 2460 | 2643 | |
| 2461 | 2644 | var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js"); |
| 2462 | 2645 | |
| 2463 | 2646 | var call = Function.prototype.call; |
| 2464 | -// eslint-disable-next-line es/no-function-prototype-bind -- safe | |
| 2647 | + | |
| 2465 | 2648 | module.exports = NATIVE_BIND ? call.bind(call) : function () { |
| 2466 | 2649 | return call.apply(call, arguments); |
| 2467 | 2650 | }; |
| 2468 | 2651 | |
| @@ -2497,29 +2680,8 @@ | ||
| 2497 | 2680 | |
| 2498 | 2681 | |
| 2499 | 2682 | /***/ }), |
| 2500 | 2683 | |
| 2501 | -/***/ "../node_modules/core-js/internals/function-uncurry-this-clause.js": | |
| 2502 | -/*!*************************************************************************!*\ | |
| 2503 | - !*** ../node_modules/core-js/internals/function-uncurry-this-clause.js ***! | |
| 2504 | - \*************************************************************************/ | |
| 2505 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2506 | - | |
| 2507 | -"use strict"; | |
| 2508 | - | |
| 2509 | -var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js"); | |
| 2510 | -var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); | |
| 2511 | - | |
| 2512 | -module.exports = function (fn) { | |
| 2513 | - // Nashorn bug: | |
| 2514 | - // https://github.com/zloirock/core-js/issues/1128 | |
| 2515 | - // https://github.com/zloirock/core-js/issues/1130 | |
| 2516 | - if (classofRaw(fn) === 'Function') return uncurryThis(fn); | |
| 2517 | -}; | |
| 2518 | - | |
| 2519 | - | |
| 2520 | -/***/ }), | |
| 2521 | - | |
| 2522 | 2684 | /***/ "../node_modules/core-js/internals/function-uncurry-this.js": |
| 2523 | 2685 | /*!******************************************************************!*\ |
| 2524 | 2686 | !*** ../node_modules/core-js/internals/function-uncurry-this.js ***! |
| 2525 | 2687 | \******************************************************************/ |
| @@ -2530,9 +2692,8 @@ | ||
| 2530 | 2692 | var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js"); |
| 2531 | 2693 | |
| 2532 | 2694 | var FunctionPrototype = Function.prototype; |
| 2533 | 2695 | var call = FunctionPrototype.call; |
| 2534 | -// eslint-disable-next-line es/no-function-prototype-bind -- safe | |
| 2535 | 2696 | var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); |
| 2536 | 2697 | |
| 2537 | 2698 | module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) { |
| 2538 | 2699 | return function () { |
| @@ -2550,9 +2711,9 @@ | ||
| 2550 | 2711 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2551 | 2712 | |
| 2552 | 2713 | "use strict"; |
| 2553 | 2714 | |
| 2554 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 2715 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 2555 | 2716 | var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 2556 | 2717 | |
| 2557 | 2718 | var aFunction = function (argument) { |
| 2558 | 2719 | return isCallable(argument) ? argument : undefined; |
| @@ -2558,85 +2719,14 @@ | ||
| 2558 | 2719 | return isCallable(argument) ? argument : undefined; |
| 2559 | 2720 | }; |
| 2560 | 2721 | |
| 2561 | 2722 | module.exports = function (namespace, method) { |
| 2562 | - return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method]; | |
| 2723 | + return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method]; | |
| 2563 | 2724 | }; |
| 2564 | 2725 | |
| 2565 | 2726 | |
| 2566 | 2727 | /***/ }), |
| 2567 | 2728 | |
| 2568 | -/***/ "../node_modules/core-js/internals/get-iterator-direct.js": | |
| 2569 | -/*!****************************************************************!*\ | |
| 2570 | - !*** ../node_modules/core-js/internals/get-iterator-direct.js ***! | |
| 2571 | - \****************************************************************/ | |
| 2572 | -/***/ ((module) => { | |
| 2573 | - | |
| 2574 | -"use strict"; | |
| 2575 | - | |
| 2576 | -// `GetIteratorDirect(obj)` abstract operation | |
| 2577 | -// https://tc39.es/ecma262/#sec-getiteratordirect | |
| 2578 | -module.exports = function (obj) { | |
| 2579 | - return { | |
| 2580 | - iterator: obj, | |
| 2581 | - next: obj.next, | |
| 2582 | - done: false | |
| 2583 | - }; | |
| 2584 | -}; | |
| 2585 | - | |
| 2586 | - | |
| 2587 | -/***/ }), | |
| 2588 | - | |
| 2589 | -/***/ "../node_modules/core-js/internals/get-iterator-method.js": | |
| 2590 | -/*!****************************************************************!*\ | |
| 2591 | - !*** ../node_modules/core-js/internals/get-iterator-method.js ***! | |
| 2592 | - \****************************************************************/ | |
| 2593 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2594 | - | |
| 2595 | -"use strict"; | |
| 2596 | - | |
| 2597 | -var classof = __webpack_require__(/*! ../internals/classof */ "../node_modules/core-js/internals/classof.js"); | |
| 2598 | -var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js"); | |
| 2599 | -var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "../node_modules/core-js/internals/is-null-or-undefined.js"); | |
| 2600 | -var Iterators = __webpack_require__(/*! ../internals/iterators */ "../node_modules/core-js/internals/iterators.js"); | |
| 2601 | -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); | |
| 2602 | - | |
| 2603 | -var ITERATOR = wellKnownSymbol('iterator'); | |
| 2604 | - | |
| 2605 | -module.exports = function (it) { | |
| 2606 | - if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR) | |
| 2607 | - || getMethod(it, '@@iterator') | |
| 2608 | - || Iterators[classof(it)]; | |
| 2609 | -}; | |
| 2610 | - | |
| 2611 | - | |
| 2612 | -/***/ }), | |
| 2613 | - | |
| 2614 | -/***/ "../node_modules/core-js/internals/get-iterator.js": | |
| 2615 | -/*!*********************************************************!*\ | |
| 2616 | - !*** ../node_modules/core-js/internals/get-iterator.js ***! | |
| 2617 | - \*********************************************************/ | |
| 2618 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2619 | - | |
| 2620 | -"use strict"; | |
| 2621 | - | |
| 2622 | -var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); | |
| 2623 | -var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); | |
| 2624 | -var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); | |
| 2625 | -var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../node_modules/core-js/internals/try-to-string.js"); | |
| 2626 | -var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "../node_modules/core-js/internals/get-iterator-method.js"); | |
| 2627 | - | |
| 2628 | -var $TypeError = TypeError; | |
| 2629 | - | |
| 2630 | -module.exports = function (argument, usingIterator) { | |
| 2631 | - var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator; | |
| 2632 | - if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument)); | |
| 2633 | - throw new $TypeError(tryToString(argument) + ' is not iterable'); | |
| 2634 | -}; | |
| 2635 | - | |
| 2636 | - | |
| 2637 | -/***/ }), | |
| 2638 | - | |
| 2639 | 2729 | /***/ "../node_modules/core-js/internals/get-method.js": |
| 2640 | 2730 | /*!*******************************************************!*\ |
| 2641 | 2731 | !*** ../node_modules/core-js/internals/get-method.js ***! |
| 2642 | 2732 | \*******************************************************/ |
| @@ -2656,18 +2746,18 @@ | ||
| 2656 | 2746 | |
| 2657 | 2747 | |
| 2658 | 2748 | /***/ }), |
| 2659 | 2749 | |
| 2660 | -/***/ "../node_modules/core-js/internals/global-this.js": | |
| 2661 | -/*!********************************************************!*\ | |
| 2662 | - !*** ../node_modules/core-js/internals/global-this.js ***! | |
| 2663 | - \********************************************************/ | |
| 2750 | +/***/ "../node_modules/core-js/internals/global.js": | |
| 2751 | +/*!***************************************************!*\ | |
| 2752 | + !*** ../node_modules/core-js/internals/global.js ***! | |
| 2753 | + \***************************************************/ | |
| 2664 | 2754 | /***/ (function(module, __unused_webpack_exports, __webpack_require__) { |
| 2665 | 2755 | |
| 2666 | 2756 | "use strict"; |
| 2667 | 2757 | |
| 2668 | 2758 | var check = function (it) { |
| 2669 | - return it && it.Math === Math && it; | |
| 2759 | + return it && it.Math == Math && it; | |
| 2670 | 2760 | }; |
| 2671 | 2761 | |
| 2672 | 2762 | // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 |
| 2673 | 2763 | module.exports = |
| @@ -2676,11 +2766,10 @@ | ||
| 2676 | 2766 | check(typeof window == 'object' && window) || |
| 2677 | 2767 | // eslint-disable-next-line no-restricted-globals -- safe |
| 2678 | 2768 | check(typeof self == 'object' && self) || |
| 2679 | 2769 | check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) || |
| 2680 | - check(typeof this == 'object' && this) || | |
| 2681 | 2770 | // eslint-disable-next-line no-new-func -- fallback |
| 2682 | - (function () { return this; })() || Function('return this')(); | |
| 2771 | + (function () { return this; })() || this || Function('return this')(); | |
| 2683 | 2772 | |
| 2684 | 2773 | |
| 2685 | 2774 | /***/ }), |
| 2686 | 2775 | |
| @@ -2751,9 +2840,9 @@ | ||
| 2751 | 2840 | module.exports = !DESCRIPTORS && !fails(function () { |
| 2752 | 2841 | // eslint-disable-next-line es/no-object-defineproperty -- required for testing |
| 2753 | 2842 | return Object.defineProperty(createElement('div'), 'a', { |
| 2754 | 2843 | get: function () { return 7; } |
| 2755 | - }).a !== 7; | |
| 2844 | + }).a != 7; | |
| 2756 | 2845 | }); |
| 2757 | 2846 | |
| 2758 | 2847 | |
| 2759 | 2848 | /***/ }), |
| @@ -2778,9 +2867,9 @@ | ||
| 2778 | 2867 | // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 |
| 2779 | 2868 | // eslint-disable-next-line no-prototype-builtins -- safe |
| 2780 | 2869 | return !$Object('z').propertyIsEnumerable(0); |
| 2781 | 2870 | }) ? function (it) { |
| 2782 | - return classof(it) === 'String' ? split(it, '') : $Object(it); | |
| 2871 | + return classof(it) == 'String' ? split(it, '') : $Object(it); | |
| 2783 | 2872 | } : $Object; |
| 2784 | 2873 | |
| 2785 | 2874 | |
| 2786 | 2875 | /***/ }), |
| @@ -2819,9 +2908,9 @@ | ||
| 2819 | 2908 | |
| 2820 | 2909 | "use strict"; |
| 2821 | 2910 | |
| 2822 | 2911 | var NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/weak-map-basic-detection */ "../node_modules/core-js/internals/weak-map-basic-detection.js"); |
| 2823 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 2912 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 2824 | 2913 | var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); |
| 2825 | 2914 | var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); |
| 2826 | 2915 | var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| 2827 | 2916 | var shared = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js"); |
| @@ -2828,10 +2917,10 @@ | ||
| 2828 | 2917 | var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "../node_modules/core-js/internals/shared-key.js"); |
| 2829 | 2918 | var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js"); |
| 2830 | 2919 | |
| 2831 | 2920 | var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; |
| 2832 | -var TypeError = globalThis.TypeError; | |
| 2833 | -var WeakMap = globalThis.WeakMap; | |
| 2921 | +var TypeError = global.TypeError; | |
| 2922 | +var WeakMap = global.WeakMap; | |
| 2834 | 2923 | var set, get, has; |
| 2835 | 2924 | |
| 2836 | 2925 | var enforce = function (it) { |
| 2837 | 2926 | return has(it) ? get(it) : set(it, {}); |
| @@ -2840,9 +2929,9 @@ | ||
| 2840 | 2929 | var getterFor = function (TYPE) { |
| 2841 | 2930 | return function (it) { |
| 2842 | 2931 | var state; |
| 2843 | 2932 | if (!isObject(it) || (state = get(it)).type !== TYPE) { |
| 2844 | - throw new TypeError('Incompatible receiver, ' + TYPE + ' required'); | |
| 2933 | + throw TypeError('Incompatible receiver, ' + TYPE + ' required'); | |
| 2845 | 2934 | } return state; |
| 2846 | 2935 | }; |
| 2847 | 2936 | }; |
| 2848 | 2937 | |
| @@ -2853,9 +2942,9 @@ | ||
| 2853 | 2942 | store.has = store.has; |
| 2854 | 2943 | store.set = store.set; |
| 2855 | 2944 | /* eslint-enable no-self-assign -- prototype methods protection */ |
| 2856 | 2945 | set = function (it, metadata) { |
| 2857 | - if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); | |
| 2946 | + if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED); | |
| 2858 | 2947 | metadata.facade = it; |
| 2859 | 2948 | store.set(it, metadata); |
| 2860 | 2949 | return metadata; |
| 2861 | 2950 | }; |
| @@ -2868,9 +2957,9 @@ | ||
| 2868 | 2957 | } else { |
| 2869 | 2958 | var STATE = sharedKey('state'); |
| 2870 | 2959 | hiddenKeys[STATE] = true; |
| 2871 | 2960 | set = function (it, metadata) { |
| 2872 | - if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); | |
| 2961 | + if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED); | |
| 2873 | 2962 | metadata.facade = it; |
| 2874 | 2963 | createNonEnumerableProperty(it, STATE, metadata); |
| 2875 | 2964 | return metadata; |
| 2876 | 2965 | }; |
| @@ -2892,30 +2981,8 @@ | ||
| 2892 | 2981 | |
| 2893 | 2982 | |
| 2894 | 2983 | /***/ }), |
| 2895 | 2984 | |
| 2896 | -/***/ "../node_modules/core-js/internals/is-array-iterator-method.js": | |
| 2897 | -/*!*********************************************************************!*\ | |
| 2898 | - !*** ../node_modules/core-js/internals/is-array-iterator-method.js ***! | |
| 2899 | - \*********************************************************************/ | |
| 2900 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2901 | - | |
| 2902 | -"use strict"; | |
| 2903 | - | |
| 2904 | -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); | |
| 2905 | -var Iterators = __webpack_require__(/*! ../internals/iterators */ "../node_modules/core-js/internals/iterators.js"); | |
| 2906 | - | |
| 2907 | -var ITERATOR = wellKnownSymbol('iterator'); | |
| 2908 | -var ArrayPrototype = Array.prototype; | |
| 2909 | - | |
| 2910 | -// check on default Array iterator | |
| 2911 | -module.exports = function (it) { | |
| 2912 | - return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); | |
| 2913 | -}; | |
| 2914 | - | |
| 2915 | - | |
| 2916 | -/***/ }), | |
| 2917 | - | |
| 2918 | 2985 | /***/ "../node_modules/core-js/internals/is-array.js": |
| 2919 | 2986 | /*!*****************************************************!*\ |
| 2920 | 2987 | !*** ../node_modules/core-js/internals/is-array.js ***! |
| 2921 | 2988 | \*****************************************************/ |
| @@ -2928,9 +2995,9 @@ | ||
| 2928 | 2995 | // `IsArray` abstract operation |
| 2929 | 2996 | // https://tc39.es/ecma262/#sec-isarray |
| 2930 | 2997 | // eslint-disable-next-line es/no-array-isarray -- safe |
| 2931 | 2998 | module.exports = Array.isArray || function isArray(argument) { |
| 2932 | - return classof(argument) === 'Array'; | |
| 2999 | + return classof(argument) == 'Array'; | |
| 2933 | 3000 | }; |
| 2934 | 3001 | |
| 2935 | 3002 | |
| 2936 | 3003 | /***/ }), |
| @@ -2938,19 +3005,19 @@ | ||
| 2938 | 3005 | /***/ "../node_modules/core-js/internals/is-callable.js": |
| 2939 | 3006 | /*!********************************************************!*\ |
| 2940 | 3007 | !*** ../node_modules/core-js/internals/is-callable.js ***! |
| 2941 | 3008 | \********************************************************/ |
| 2942 | -/***/ ((module) => { | |
| 3009 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2943 | 3010 | |
| 2944 | 3011 | "use strict"; |
| 2945 | 3012 | |
| 2946 | -// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot | |
| 2947 | -var documentAll = typeof document == 'object' && document.all; | |
| 3013 | +var $documentAll = __webpack_require__(/*! ../internals/document-all */ "../node_modules/core-js/internals/document-all.js"); | |
| 2948 | 3014 | |
| 3015 | +var documentAll = $documentAll.all; | |
| 3016 | + | |
| 2949 | 3017 | // `IsCallable` abstract operation |
| 2950 | 3018 | // https://tc39.es/ecma262/#sec-iscallable |
| 2951 | -// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing | |
| 2952 | -module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) { | |
| 3019 | +module.exports = $documentAll.IS_HTMLDDA ? function (argument) { | |
| 2953 | 3020 | return typeof argument == 'function' || argument === documentAll; |
| 2954 | 3021 | } : function (argument) { |
| 2955 | 3022 | return typeof argument == 'function'; |
| 2956 | 3023 | }; |
| @@ -2972,10 +3039,10 @@ | ||
| 2972 | 3039 | var replacement = /#|\.prototype\./; |
| 2973 | 3040 | |
| 2974 | 3041 | var isForced = function (feature, detection) { |
| 2975 | 3042 | var value = data[normalize(feature)]; |
| 2976 | - return value === POLYFILL ? true | |
| 2977 | - : value === NATIVE ? false | |
| 3043 | + return value == POLYFILL ? true | |
| 3044 | + : value == NATIVE ? false | |
| 2978 | 3045 | : isCallable(detection) ? fails(detection) |
| 2979 | 3046 | : !!detection; |
| 2980 | 3047 | }; |
| 2981 | 3048 | |
| @@ -3017,10 +3084,15 @@ | ||
| 3017 | 3084 | |
| 3018 | 3085 | "use strict"; |
| 3019 | 3086 | |
| 3020 | 3087 | var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 3088 | +var $documentAll = __webpack_require__(/*! ../internals/document-all */ "../node_modules/core-js/internals/document-all.js"); | |
| 3021 | 3089 | |
| 3022 | -module.exports = function (it) { | |
| 3090 | +var documentAll = $documentAll.all; | |
| 3091 | + | |
| 3092 | +module.exports = $documentAll.IS_HTMLDDA ? function (it) { | |
| 3093 | + return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll; | |
| 3094 | +} : function (it) { | |
| 3023 | 3095 | return typeof it == 'object' ? it !== null : isCallable(it); |
| 3024 | 3096 | }; |
| 3025 | 3097 | |
| 3026 | 3098 | |
| @@ -3063,377 +3135,8 @@ | ||
| 3063 | 3135 | |
| 3064 | 3136 | |
| 3065 | 3137 | /***/ }), |
| 3066 | 3138 | |
| 3067 | -/***/ "../node_modules/core-js/internals/iterate.js": | |
| 3068 | -/*!****************************************************!*\ | |
| 3069 | - !*** ../node_modules/core-js/internals/iterate.js ***! | |
| 3070 | - \****************************************************/ | |
| 3071 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3072 | - | |
| 3073 | -"use strict"; | |
| 3074 | - | |
| 3075 | -var bind = __webpack_require__(/*! ../internals/function-bind-context */ "../node_modules/core-js/internals/function-bind-context.js"); | |
| 3076 | -var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); | |
| 3077 | -var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); | |
| 3078 | -var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../node_modules/core-js/internals/try-to-string.js"); | |
| 3079 | -var isArrayIteratorMethod = __webpack_require__(/*! ../internals/is-array-iterator-method */ "../node_modules/core-js/internals/is-array-iterator-method.js"); | |
| 3080 | -var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "../node_modules/core-js/internals/length-of-array-like.js"); | |
| 3081 | -var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js"); | |
| 3082 | -var getIterator = __webpack_require__(/*! ../internals/get-iterator */ "../node_modules/core-js/internals/get-iterator.js"); | |
| 3083 | -var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "../node_modules/core-js/internals/get-iterator-method.js"); | |
| 3084 | -var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js"); | |
| 3085 | - | |
| 3086 | -var $TypeError = TypeError; | |
| 3087 | - | |
| 3088 | -var Result = function (stopped, result) { | |
| 3089 | - this.stopped = stopped; | |
| 3090 | - this.result = result; | |
| 3091 | -}; | |
| 3092 | - | |
| 3093 | -var ResultPrototype = Result.prototype; | |
| 3094 | - | |
| 3095 | -module.exports = function (iterable, unboundFunction, options) { | |
| 3096 | - var that = options && options.that; | |
| 3097 | - var AS_ENTRIES = !!(options && options.AS_ENTRIES); | |
| 3098 | - var IS_RECORD = !!(options && options.IS_RECORD); | |
| 3099 | - var IS_ITERATOR = !!(options && options.IS_ITERATOR); | |
| 3100 | - var INTERRUPTED = !!(options && options.INTERRUPTED); | |
| 3101 | - var fn = bind(unboundFunction, that); | |
| 3102 | - var iterator, iterFn, index, length, result, next, step; | |
| 3103 | - | |
| 3104 | - var stop = function (condition) { | |
| 3105 | - if (iterator) iteratorClose(iterator, 'normal'); | |
| 3106 | - return new Result(true, condition); | |
| 3107 | - }; | |
| 3108 | - | |
| 3109 | - var callFn = function (value) { | |
| 3110 | - if (AS_ENTRIES) { | |
| 3111 | - anObject(value); | |
| 3112 | - return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]); | |
| 3113 | - } return INTERRUPTED ? fn(value, stop) : fn(value); | |
| 3114 | - }; | |
| 3115 | - | |
| 3116 | - if (IS_RECORD) { | |
| 3117 | - iterator = iterable.iterator; | |
| 3118 | - } else if (IS_ITERATOR) { | |
| 3119 | - iterator = iterable; | |
| 3120 | - } else { | |
| 3121 | - iterFn = getIteratorMethod(iterable); | |
| 3122 | - if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable'); | |
| 3123 | - // optimisation for array iterators | |
| 3124 | - if (isArrayIteratorMethod(iterFn)) { | |
| 3125 | - for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) { | |
| 3126 | - result = callFn(iterable[index]); | |
| 3127 | - if (result && isPrototypeOf(ResultPrototype, result)) return result; | |
| 3128 | - } return new Result(false); | |
| 3129 | - } | |
| 3130 | - iterator = getIterator(iterable, iterFn); | |
| 3131 | - } | |
| 3132 | - | |
| 3133 | - next = IS_RECORD ? iterable.next : iterator.next; | |
| 3134 | - while (!(step = call(next, iterator)).done) { | |
| 3135 | - try { | |
| 3136 | - result = callFn(step.value); | |
| 3137 | - } catch (error) { | |
| 3138 | - iteratorClose(iterator, 'throw', error); | |
| 3139 | - } | |
| 3140 | - if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result; | |
| 3141 | - } return new Result(false); | |
| 3142 | -}; | |
| 3143 | - | |
| 3144 | - | |
| 3145 | -/***/ }), | |
| 3146 | - | |
| 3147 | -/***/ "../node_modules/core-js/internals/iterator-close-all.js": | |
| 3148 | -/*!***************************************************************!*\ | |
| 3149 | - !*** ../node_modules/core-js/internals/iterator-close-all.js ***! | |
| 3150 | - \***************************************************************/ | |
| 3151 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3152 | - | |
| 3153 | -"use strict"; | |
| 3154 | - | |
| 3155 | -var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js"); | |
| 3156 | - | |
| 3157 | -module.exports = function (iters, kind, value) { | |
| 3158 | - for (var i = iters.length - 1; i >= 0; i--) { | |
| 3159 | - if (iters[i] === undefined) continue; | |
| 3160 | - try { | |
| 3161 | - value = iteratorClose(iters[i].iterator, kind, value); | |
| 3162 | - } catch (error) { | |
| 3163 | - kind = 'throw'; | |
| 3164 | - value = error; | |
| 3165 | - } | |
| 3166 | - } | |
| 3167 | - if (kind === 'throw') throw value; | |
| 3168 | - return value; | |
| 3169 | -}; | |
| 3170 | - | |
| 3171 | - | |
| 3172 | -/***/ }), | |
| 3173 | - | |
| 3174 | -/***/ "../node_modules/core-js/internals/iterator-close.js": | |
| 3175 | -/*!***********************************************************!*\ | |
| 3176 | - !*** ../node_modules/core-js/internals/iterator-close.js ***! | |
| 3177 | - \***********************************************************/ | |
| 3178 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3179 | - | |
| 3180 | -"use strict"; | |
| 3181 | - | |
| 3182 | -var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); | |
| 3183 | -var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); | |
| 3184 | -var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js"); | |
| 3185 | - | |
| 3186 | -module.exports = function (iterator, kind, value) { | |
| 3187 | - var innerResult, innerError; | |
| 3188 | - anObject(iterator); | |
| 3189 | - try { | |
| 3190 | - innerResult = getMethod(iterator, 'return'); | |
| 3191 | - if (!innerResult) { | |
| 3192 | - if (kind === 'throw') throw value; | |
| 3193 | - return value; | |
| 3194 | - } | |
| 3195 | - innerResult = call(innerResult, iterator); | |
| 3196 | - } catch (error) { | |
| 3197 | - innerError = true; | |
| 3198 | - innerResult = error; | |
| 3199 | - } | |
| 3200 | - if (kind === 'throw') throw value; | |
| 3201 | - if (innerError) throw innerResult; | |
| 3202 | - anObject(innerResult); | |
| 3203 | - return value; | |
| 3204 | -}; | |
| 3205 | - | |
| 3206 | - | |
| 3207 | -/***/ }), | |
| 3208 | - | |
| 3209 | -/***/ "../node_modules/core-js/internals/iterator-create-proxy.js": | |
| 3210 | -/*!******************************************************************!*\ | |
| 3211 | - !*** ../node_modules/core-js/internals/iterator-create-proxy.js ***! | |
| 3212 | - \******************************************************************/ | |
| 3213 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3214 | - | |
| 3215 | -"use strict"; | |
| 3216 | - | |
| 3217 | -var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); | |
| 3218 | -var create = __webpack_require__(/*! ../internals/object-create */ "../node_modules/core-js/internals/object-create.js"); | |
| 3219 | -var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); | |
| 3220 | -var defineBuiltIns = __webpack_require__(/*! ../internals/define-built-ins */ "../node_modules/core-js/internals/define-built-ins.js"); | |
| 3221 | -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); | |
| 3222 | -var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "../node_modules/core-js/internals/internal-state.js"); | |
| 3223 | -var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js"); | |
| 3224 | -var IteratorPrototype = (__webpack_require__(/*! ../internals/iterators-core */ "../node_modules/core-js/internals/iterators-core.js").IteratorPrototype); | |
| 3225 | -var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ "../node_modules/core-js/internals/create-iter-result-object.js"); | |
| 3226 | -var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js"); | |
| 3227 | -var iteratorCloseAll = __webpack_require__(/*! ../internals/iterator-close-all */ "../node_modules/core-js/internals/iterator-close-all.js"); | |
| 3228 | - | |
| 3229 | -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); | |
| 3230 | -var ITERATOR_HELPER = 'IteratorHelper'; | |
| 3231 | -var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator'; | |
| 3232 | -var NORMAL = 'normal'; | |
| 3233 | -var THROW = 'throw'; | |
| 3234 | -var setInternalState = InternalStateModule.set; | |
| 3235 | - | |
| 3236 | -var createIteratorProxyPrototype = function (IS_ITERATOR) { | |
| 3237 | - var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER); | |
| 3238 | - | |
| 3239 | - return defineBuiltIns(create(IteratorPrototype), { | |
| 3240 | - next: function next() { | |
| 3241 | - var state = getInternalState(this); | |
| 3242 | - // for simplification: | |
| 3243 | - // for `%WrapForValidIteratorPrototype%.next` or with `state.returnHandlerResult` our `nextHandler` returns `IterResultObject` | |
| 3244 | - // for `%IteratorHelperPrototype%.next` - just a value | |
| 3245 | - if (IS_ITERATOR) return state.nextHandler(); | |
| 3246 | - if (state.done) return createIterResultObject(undefined, true); | |
| 3247 | - try { | |
| 3248 | - var result = state.nextHandler(); | |
| 3249 | - return state.returnHandlerResult ? result : createIterResultObject(result, state.done); | |
| 3250 | - } catch (error) { | |
| 3251 | - state.done = true; | |
| 3252 | - throw error; | |
| 3253 | - } | |
| 3254 | - }, | |
| 3255 | - 'return': function () { | |
| 3256 | - var state = getInternalState(this); | |
| 3257 | - var iterator = state.iterator; | |
| 3258 | - state.done = true; | |
| 3259 | - if (IS_ITERATOR) { | |
| 3260 | - var returnMethod = getMethod(iterator, 'return'); | |
| 3261 | - return returnMethod ? call(returnMethod, iterator) : createIterResultObject(undefined, true); | |
| 3262 | - } | |
| 3263 | - if (state.inner) try { | |
| 3264 | - iteratorClose(state.inner.iterator, NORMAL); | |
| 3265 | - } catch (error) { | |
| 3266 | - return iteratorClose(iterator, THROW, error); | |
| 3267 | - } | |
| 3268 | - if (state.openIters) try { | |
| 3269 | - iteratorCloseAll(state.openIters, NORMAL); | |
| 3270 | - } catch (error) { | |
| 3271 | - return iteratorClose(iterator, THROW, error); | |
| 3272 | - } | |
| 3273 | - if (iterator) iteratorClose(iterator, NORMAL); | |
| 3274 | - return createIterResultObject(undefined, true); | |
| 3275 | - } | |
| 3276 | - }); | |
| 3277 | -}; | |
| 3278 | - | |
| 3279 | -var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true); | |
| 3280 | -var IteratorHelperPrototype = createIteratorProxyPrototype(false); | |
| 3281 | - | |
| 3282 | -createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper'); | |
| 3283 | - | |
| 3284 | -module.exports = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RESULT) { | |
| 3285 | - var IteratorProxy = function Iterator(record, state) { | |
| 3286 | - if (state) { | |
| 3287 | - state.iterator = record.iterator; | |
| 3288 | - state.next = record.next; | |
| 3289 | - } else state = record; | |
| 3290 | - state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER; | |
| 3291 | - state.returnHandlerResult = !!RETURN_HANDLER_RESULT; | |
| 3292 | - state.nextHandler = nextHandler; | |
| 3293 | - state.counter = 0; | |
| 3294 | - state.done = false; | |
| 3295 | - setInternalState(this, state); | |
| 3296 | - }; | |
| 3297 | - | |
| 3298 | - IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype; | |
| 3299 | - | |
| 3300 | - return IteratorProxy; | |
| 3301 | -}; | |
| 3302 | - | |
| 3303 | - | |
| 3304 | -/***/ }), | |
| 3305 | - | |
| 3306 | -/***/ "../node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js": | |
| 3307 | -/*!***************************************************************************************!*\ | |
| 3308 | - !*** ../node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js ***! | |
| 3309 | - \***************************************************************************************/ | |
| 3310 | -/***/ ((module) => { | |
| 3311 | - | |
| 3312 | -"use strict"; | |
| 3313 | - | |
| 3314 | -// Should throw an error on invalid iterator | |
| 3315 | -// https://issues.chromium.org/issues/336839115 | |
| 3316 | -module.exports = function (methodName, argument) { | |
| 3317 | - // eslint-disable-next-line es/no-iterator -- required for testing | |
| 3318 | - var method = typeof Iterator == 'function' && Iterator.prototype[methodName]; | |
| 3319 | - if (method) try { | |
| 3320 | - method.call({ next: null }, argument).next(); | |
| 3321 | - } catch (error) { | |
| 3322 | - return true; | |
| 3323 | - } | |
| 3324 | -}; | |
| 3325 | - | |
| 3326 | - | |
| 3327 | -/***/ }), | |
| 3328 | - | |
| 3329 | -/***/ "../node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js": | |
| 3330 | -/*!*******************************************************************************************!*\ | |
| 3331 | - !*** ../node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js ***! | |
| 3332 | - \*******************************************************************************************/ | |
| 3333 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3334 | - | |
| 3335 | -"use strict"; | |
| 3336 | - | |
| 3337 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 3338 | - | |
| 3339 | -// https://github.com/tc39/ecma262/pull/3467 | |
| 3340 | -module.exports = function (METHOD_NAME, ExpectedError) { | |
| 3341 | - var Iterator = globalThis.Iterator; | |
| 3342 | - var IteratorPrototype = Iterator && Iterator.prototype; | |
| 3343 | - var method = IteratorPrototype && IteratorPrototype[METHOD_NAME]; | |
| 3344 | - | |
| 3345 | - var CLOSED = false; | |
| 3346 | - | |
| 3347 | - if (method) try { | |
| 3348 | - method.call({ | |
| 3349 | - next: function () { return { done: true }; }, | |
| 3350 | - 'return': function () { CLOSED = true; } | |
| 3351 | - }, -1); | |
| 3352 | - } catch (error) { | |
| 3353 | - // https://bugs.webkit.org/show_bug.cgi?id=291195 | |
| 3354 | - if (!(error instanceof ExpectedError)) CLOSED = false; | |
| 3355 | - } | |
| 3356 | - | |
| 3357 | - if (!CLOSED) return method; | |
| 3358 | -}; | |
| 3359 | - | |
| 3360 | - | |
| 3361 | -/***/ }), | |
| 3362 | - | |
| 3363 | -/***/ "../node_modules/core-js/internals/iterators-core.js": | |
| 3364 | -/*!***********************************************************!*\ | |
| 3365 | - !*** ../node_modules/core-js/internals/iterators-core.js ***! | |
| 3366 | - \***********************************************************/ | |
| 3367 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3368 | - | |
| 3369 | -"use strict"; | |
| 3370 | - | |
| 3371 | -var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 3372 | -var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 3373 | -var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); | |
| 3374 | -var create = __webpack_require__(/*! ../internals/object-create */ "../node_modules/core-js/internals/object-create.js"); | |
| 3375 | -var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "../node_modules/core-js/internals/object-get-prototype-of.js"); | |
| 3376 | -var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../node_modules/core-js/internals/define-built-in.js"); | |
| 3377 | -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); | |
| 3378 | -var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js"); | |
| 3379 | - | |
| 3380 | -var ITERATOR = wellKnownSymbol('iterator'); | |
| 3381 | -var BUGGY_SAFARI_ITERATORS = false; | |
| 3382 | - | |
| 3383 | -// `%IteratorPrototype%` object | |
| 3384 | -// https://tc39.es/ecma262/#sec-%iteratorprototype%-object | |
| 3385 | -var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator; | |
| 3386 | - | |
| 3387 | -/* eslint-disable es/no-array-prototype-keys -- safe */ | |
| 3388 | -if ([].keys) { | |
| 3389 | - arrayIterator = [].keys(); | |
| 3390 | - // Safari 8 has buggy iterators w/o `next` | |
| 3391 | - if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true; | |
| 3392 | - else { | |
| 3393 | - PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator)); | |
| 3394 | - if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype; | |
| 3395 | - } | |
| 3396 | -} | |
| 3397 | - | |
| 3398 | -var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () { | |
| 3399 | - var test = {}; | |
| 3400 | - // FF44- legacy iterators case | |
| 3401 | - return IteratorPrototype[ITERATOR].call(test) !== test; | |
| 3402 | -}); | |
| 3403 | - | |
| 3404 | -if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {}; | |
| 3405 | -else if (IS_PURE) IteratorPrototype = create(IteratorPrototype); | |
| 3406 | - | |
| 3407 | -// `%IteratorPrototype%[@@iterator]()` method | |
| 3408 | -// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator | |
| 3409 | -if (!isCallable(IteratorPrototype[ITERATOR])) { | |
| 3410 | - defineBuiltIn(IteratorPrototype, ITERATOR, function () { | |
| 3411 | - return this; | |
| 3412 | - }); | |
| 3413 | -} | |
| 3414 | - | |
| 3415 | -module.exports = { | |
| 3416 | - IteratorPrototype: IteratorPrototype, | |
| 3417 | - BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS | |
| 3418 | -}; | |
| 3419 | - | |
| 3420 | - | |
| 3421 | -/***/ }), | |
| 3422 | - | |
| 3423 | -/***/ "../node_modules/core-js/internals/iterators.js": | |
| 3424 | -/*!******************************************************!*\ | |
| 3425 | - !*** ../node_modules/core-js/internals/iterators.js ***! | |
| 3426 | - \******************************************************/ | |
| 3427 | -/***/ ((module) => { | |
| 3428 | - | |
| 3429 | -"use strict"; | |
| 3430 | - | |
| 3431 | -module.exports = {}; | |
| 3432 | - | |
| 3433 | - | |
| 3434 | -/***/ }), | |
| 3435 | - | |
| 3436 | 3139 | /***/ "../node_modules/core-js/internals/length-of-array-like.js": |
| 3437 | 3140 | /*!*****************************************************************!*\ |
| 3438 | 3141 | !*** ../node_modules/core-js/internals/length-of-array-like.js ***! |
| 3439 | 3142 | \*****************************************************************/ |
| @@ -3485,9 +3188,9 @@ | ||
| 3485 | 3188 | var TEMPLATE = String(String).split('String'); |
| 3486 | 3189 | |
| 3487 | 3190 | var makeBuiltIn = module.exports = function (value, name, options) { |
| 3488 | 3191 | if (stringSlice($String(name), 0, 7) === 'Symbol(') { |
| 3489 | - name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']'; | |
| 3192 | + name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']'; | |
| 3490 | 3193 | } |
| 3491 | 3194 | if (options && options.getter) name = 'get ' + name; |
| 3492 | 3195 | if (options && options.setter) name = 'set ' + name; |
| 3493 | 3196 | if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { |
| @@ -3573,10 +3276,9 @@ | ||
| 3573 | 3276 | var NullProtoObjectViaActiveX = function (activeXDocument) { |
| 3574 | 3277 | activeXDocument.write(scriptTag('')); |
| 3575 | 3278 | activeXDocument.close(); |
| 3576 | 3279 | var temp = activeXDocument.parentWindow.Object; |
| 3577 | - // eslint-disable-next-line no-useless-assignment -- avoid memory leak | |
| 3578 | - activeXDocument = null; | |
| 3280 | + activeXDocument = null; // avoid memory leak | |
| 3579 | 3281 | return temp; |
| 3580 | 3282 | }; |
| 3581 | 3283 | |
| 3582 | 3284 | // Create object with fake `null` prototype: use iframe Object with cleared prototype |
| @@ -3714,9 +3416,9 @@ | ||
| 3714 | 3416 | anObject(Attributes); |
| 3715 | 3417 | if (IE8_DOM_DEFINE) try { |
| 3716 | 3418 | return $defineProperty(O, P, Attributes); |
| 3717 | 3419 | } catch (error) { /* empty */ } |
| 3718 | - if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported'); | |
| 3420 | + if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported'); | |
| 3719 | 3421 | if ('value' in Attributes) O[P] = Attributes.value; |
| 3720 | 3422 | return O; |
| 3721 | 3423 | }; |
| 3722 | 3424 | |
| @@ -3793,41 +3495,8 @@ | ||
| 3793 | 3495 | |
| 3794 | 3496 | |
| 3795 | 3497 | /***/ }), |
| 3796 | 3498 | |
| 3797 | -/***/ "../node_modules/core-js/internals/object-get-prototype-of.js": | |
| 3798 | -/*!********************************************************************!*\ | |
| 3799 | - !*** ../node_modules/core-js/internals/object-get-prototype-of.js ***! | |
| 3800 | - \********************************************************************/ | |
| 3801 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3802 | - | |
| 3803 | -"use strict"; | |
| 3804 | - | |
| 3805 | -var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); | |
| 3806 | -var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 3807 | -var toObject = __webpack_require__(/*! ../internals/to-object */ "../node_modules/core-js/internals/to-object.js"); | |
| 3808 | -var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "../node_modules/core-js/internals/shared-key.js"); | |
| 3809 | -var CORRECT_PROTOTYPE_GETTER = __webpack_require__(/*! ../internals/correct-prototype-getter */ "../node_modules/core-js/internals/correct-prototype-getter.js"); | |
| 3810 | - | |
| 3811 | -var IE_PROTO = sharedKey('IE_PROTO'); | |
| 3812 | -var $Object = Object; | |
| 3813 | -var ObjectPrototype = $Object.prototype; | |
| 3814 | - | |
| 3815 | -// `Object.getPrototypeOf` method | |
| 3816 | -// https://tc39.es/ecma262/#sec-object.getprototypeof | |
| 3817 | -// eslint-disable-next-line es/no-object-getprototypeof -- safe | |
| 3818 | -module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) { | |
| 3819 | - var object = toObject(O); | |
| 3820 | - if (hasOwn(object, IE_PROTO)) return object[IE_PROTO]; | |
| 3821 | - var constructor = object.constructor; | |
| 3822 | - if (isCallable(constructor) && object instanceof constructor) { | |
| 3823 | - return constructor.prototype; | |
| 3824 | - } return object instanceof $Object ? ObjectPrototype : null; | |
| 3825 | -}; | |
| 3826 | - | |
| 3827 | - | |
| 3828 | -/***/ }), | |
| 3829 | - | |
| 3830 | 3499 | /***/ "../node_modules/core-js/internals/object-is-prototype-of.js": |
| 3831 | 3500 | /*!*******************************************************************!*\ |
| 3832 | 3501 | !*** ../node_modules/core-js/internals/object-is-prototype-of.js ***! |
| 3833 | 3502 | \*******************************************************************/ |
| @@ -3940,9 +3609,9 @@ | ||
| 3940 | 3609 | var fn, val; |
| 3941 | 3610 | if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; |
| 3942 | 3611 | if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val; |
| 3943 | 3612 | if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; |
| 3944 | - throw new $TypeError("Can't convert object to primitive value"); | |
| 3613 | + throw $TypeError("Can't convert object to primitive value"); | |
| 3945 | 3614 | }; |
| 3946 | 3615 | |
| 3947 | 3616 | |
| 3948 | 3617 | /***/ }), |
| @@ -3987,9 +3656,9 @@ | ||
| 3987 | 3656 | |
| 3988 | 3657 | // `RequireObjectCoercible` abstract operation |
| 3989 | 3658 | // https://tc39.es/ecma262/#sec-requireobjectcoercible |
| 3990 | 3659 | module.exports = function (it) { |
| 3991 | - if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it); | |
| 3660 | + if (isNullOrUndefined(it)) throw $TypeError("Can't call method on " + it); | |
| 3992 | 3661 | return it; |
| 3993 | 3662 | }; |
| 3994 | 3663 | |
| 3995 | 3664 | |
| @@ -4022,22 +3691,15 @@ | ||
| 4022 | 3691 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4023 | 3692 | |
| 4024 | 3693 | "use strict"; |
| 4025 | 3694 | |
| 4026 | -var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js"); | |
| 4027 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 3695 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 4028 | 3696 | var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js"); |
| 4029 | 3697 | |
| 4030 | 3698 | var SHARED = '__core-js_shared__'; |
| 4031 | -var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {}); | |
| 3699 | +var store = global[SHARED] || defineGlobalProperty(SHARED, {}); | |
| 4032 | 3700 | |
| 4033 | -(store.versions || (store.versions = [])).push({ | |
| 4034 | - version: '3.46.0', | |
| 4035 | - mode: IS_PURE ? 'pure' : 'global', | |
| 4036 | - copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)', | |
| 4037 | - license: 'https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE', | |
| 4038 | - source: 'https://github.com/zloirock/core-js' | |
| 4039 | -}); | |
| 3701 | +module.exports = store; | |
| 4040 | 3702 | |
| 4041 | 3703 | |
| 4042 | 3704 | /***/ }), |
| 4043 | 3705 | |
| @@ -4048,13 +3710,20 @@ | ||
| 4048 | 3710 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4049 | 3711 | |
| 4050 | 3712 | "use strict"; |
| 4051 | 3713 | |
| 3714 | +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js"); | |
| 4052 | 3715 | var store = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js"); |
| 4053 | 3716 | |
| 4054 | -module.exports = function (key, value) { | |
| 4055 | - return store[key] || (store[key] = value || {}); | |
| 4056 | -}; | |
| 3717 | +(module.exports = function (key, value) { | |
| 3718 | + return store[key] || (store[key] = value !== undefined ? value : {}); | |
| 3719 | +})('versions', []).push({ | |
| 3720 | + version: '3.32.0', | |
| 3721 | + mode: IS_PURE ? 'pure' : 'global', | |
| 3722 | + copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)', | |
| 3723 | + license: 'https://github.com/zloirock/core-js/blob/v3.32.0/LICENSE', | |
| 3724 | + source: 'https://github.com/zloirock/core-js' | |
| 3725 | +}); | |
| 4057 | 3726 | |
| 4058 | 3727 | |
| 4059 | 3728 | /***/ }), |
| 4060 | 3729 | |
| @@ -4066,17 +3735,17 @@ | ||
| 4066 | 3735 | |
| 4067 | 3736 | "use strict"; |
| 4068 | 3737 | |
| 4069 | 3738 | /* eslint-disable es/no-symbol -- required for testing */ |
| 4070 | -var V8_VERSION = __webpack_require__(/*! ../internals/environment-v8-version */ "../node_modules/core-js/internals/environment-v8-version.js"); | |
| 3739 | +var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "../node_modules/core-js/internals/engine-v8-version.js"); | |
| 4071 | 3740 | var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 4072 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 3741 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 4073 | 3742 | |
| 4074 | -var $String = globalThis.String; | |
| 3743 | +var $String = global.String; | |
| 4075 | 3744 | |
| 4076 | 3745 | // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing |
| 4077 | 3746 | module.exports = !!Object.getOwnPropertySymbols && !fails(function () { |
| 4078 | - var symbol = Symbol('symbol detection'); | |
| 3747 | + var symbol = Symbol(); | |
| 4079 | 3748 | // Chrome 38 Symbol has incorrect toString conversion |
| 4080 | 3749 | // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances |
| 4081 | 3750 | // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will, |
| 4082 | 3751 | // of course, fail. |
| @@ -4166,10 +3835,9 @@ | ||
| 4166 | 3835 | |
| 4167 | 3836 | // `ToLength` abstract operation |
| 4168 | 3837 | // https://tc39.es/ecma262/#sec-tolength |
| 4169 | 3838 | module.exports = function (argument) { |
| 4170 | - var len = toIntegerOrInfinity(argument); | |
| 4171 | - return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 | |
| 3839 | + return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 | |
| 4172 | 3840 | }; |
| 4173 | 3841 | |
| 4174 | 3842 | |
| 4175 | 3843 | /***/ }), |
| @@ -4222,9 +3890,9 @@ | ||
| 4222 | 3890 | if (exoticToPrim) { |
| 4223 | 3891 | if (pref === undefined) pref = 'default'; |
| 4224 | 3892 | result = call(exoticToPrim, input, pref); |
| 4225 | 3893 | if (!isObject(result) || isSymbol(result)) return result; |
| 4226 | - throw new $TypeError("Can't convert object to primitive value"); | |
| 3894 | + throw $TypeError("Can't convert object to primitive value"); | |
| 4227 | 3895 | } |
| 4228 | 3896 | if (pref === undefined) pref = 'number'; |
| 4229 | 3897 | return ordinaryToPrimitive(input, pref); |
| 4230 | 3898 | }; |
| @@ -4252,28 +3920,8 @@ | ||
| 4252 | 3920 | |
| 4253 | 3921 | |
| 4254 | 3922 | /***/ }), |
| 4255 | 3923 | |
| 4256 | -/***/ "../node_modules/core-js/internals/to-string-tag-support.js": | |
| 4257 | -/*!******************************************************************!*\ | |
| 4258 | - !*** ../node_modules/core-js/internals/to-string-tag-support.js ***! | |
| 4259 | - \******************************************************************/ | |
| 4260 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4261 | - | |
| 4262 | -"use strict"; | |
| 4263 | - | |
| 4264 | -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); | |
| 4265 | - | |
| 4266 | -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); | |
| 4267 | -var test = {}; | |
| 4268 | - | |
| 4269 | -test[TO_STRING_TAG] = 'z'; | |
| 4270 | - | |
| 4271 | -module.exports = String(test) === '[object z]'; | |
| 4272 | - | |
| 4273 | - | |
| 4274 | -/***/ }), | |
| 4275 | - | |
| 4276 | 3924 | /***/ "../node_modules/core-js/internals/try-to-string.js": |
| 4277 | 3925 | /*!**********************************************************!*\ |
| 4278 | 3926 | !*** ../node_modules/core-js/internals/try-to-string.js ***! |
| 4279 | 3927 | \**********************************************************/ |
| @@ -4305,9 +3953,9 @@ | ||
| 4305 | 3953 | var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 4306 | 3954 | |
| 4307 | 3955 | var id = 0; |
| 4308 | 3956 | var postfix = Math.random(); |
| 4309 | -var toString = uncurryThis(1.1.toString); | |
| 3957 | +var toString = uncurryThis(1.0.toString); | |
| 4310 | 3958 | |
| 4311 | 3959 | module.exports = function (key) { |
| 4312 | 3960 | return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); |
| 4313 | 3961 | }; |
| @@ -4325,11 +3973,11 @@ | ||
| 4325 | 3973 | |
| 4326 | 3974 | /* eslint-disable es/no-symbol -- required for testing */ |
| 4327 | 3975 | var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "../node_modules/core-js/internals/symbol-constructor-detection.js"); |
| 4328 | 3976 | |
| 4329 | -module.exports = NATIVE_SYMBOL && | |
| 4330 | - !Symbol.sham && | |
| 4331 | - typeof Symbol.iterator == 'symbol'; | |
| 3977 | +module.exports = NATIVE_SYMBOL | |
| 3978 | + && !Symbol.sham | |
| 3979 | + && typeof Symbol.iterator == 'symbol'; | |
| 4332 | 3980 | |
| 4333 | 3981 | |
| 4334 | 3982 | /***/ }), |
| 4335 | 3983 | |
| @@ -4350,9 +3998,9 @@ | ||
| 4350 | 3998 | // eslint-disable-next-line es/no-object-defineproperty -- required for testing |
| 4351 | 3999 | return Object.defineProperty(function () { /* empty */ }, 'prototype', { |
| 4352 | 4000 | value: 42, |
| 4353 | 4001 | writable: false |
| 4354 | - }).prototype !== 42; | |
| 4002 | + }).prototype != 42; | |
| 4355 | 4003 | }); |
| 4356 | 4004 | |
| 4357 | 4005 | |
| 4358 | 4006 | /***/ }), |
| @@ -4364,12 +4012,12 @@ | ||
| 4364 | 4012 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4365 | 4013 | |
| 4366 | 4014 | "use strict"; |
| 4367 | 4015 | |
| 4368 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 4016 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 4369 | 4017 | var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 4370 | 4018 | |
| 4371 | -var WeakMap = globalThis.WeakMap; | |
| 4019 | +var WeakMap = global.WeakMap; | |
| 4372 | 4020 | |
| 4373 | 4021 | module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap)); |
| 4374 | 4022 | |
| 4375 | 4023 | |
| @@ -4382,9 +4030,9 @@ | ||
| 4382 | 4030 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4383 | 4031 | |
| 4384 | 4032 | "use strict"; |
| 4385 | 4033 | |
| 4386 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 4034 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 4387 | 4035 | var shared = __webpack_require__(/*! ../internals/shared */ "../node_modules/core-js/internals/shared.js"); |
| 4388 | 4036 | var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| 4389 | 4037 | var uid = __webpack_require__(/*! ../internals/uid */ "../node_modules/core-js/internals/uid.js"); |
| 4390 | 4038 | var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "../node_modules/core-js/internals/symbol-constructor-detection.js"); |
| @@ -4389,9 +4037,9 @@ | ||
| 4389 | 4037 | var uid = __webpack_require__(/*! ../internals/uid */ "../node_modules/core-js/internals/uid.js"); |
| 4390 | 4038 | var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "../node_modules/core-js/internals/symbol-constructor-detection.js"); |
| 4391 | 4039 | var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../node_modules/core-js/internals/use-symbol-as-uid.js"); |
| 4392 | 4040 | |
| 4393 | -var Symbol = globalThis.Symbol; | |
| 4041 | +var Symbol = global.Symbol; | |
| 4394 | 4042 | var WellKnownSymbolsStore = shared('wks'); |
| 4395 | 4043 | var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid; |
| 4396 | 4044 | |
| 4397 | 4045 | module.exports = function (name) { |
| @@ -4404,8 +4052,41 @@ | ||
| 4404 | 4052 | |
| 4405 | 4053 | |
| 4406 | 4054 | /***/ }), |
| 4407 | 4055 | |
| 4056 | +/***/ "../node_modules/core-js/modules/es.array.includes.js": | |
| 4057 | +/*!************************************************************!*\ | |
| 4058 | + !*** ../node_modules/core-js/modules/es.array.includes.js ***! | |
| 4059 | + \************************************************************/ | |
| 4060 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4061 | + | |
| 4062 | +"use strict"; | |
| 4063 | + | |
| 4064 | +var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js"); | |
| 4065 | +var $includes = (__webpack_require__(/*! ../internals/array-includes */ "../node_modules/core-js/internals/array-includes.js").includes); | |
| 4066 | +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 4067 | +var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "../node_modules/core-js/internals/add-to-unscopables.js"); | |
| 4068 | + | |
| 4069 | +// FF99+ bug | |
| 4070 | +var BROKEN_ON_SPARSE = fails(function () { | |
| 4071 | + // eslint-disable-next-line es/no-array-prototype-includes -- detection | |
| 4072 | + return !Array(1).includes(); | |
| 4073 | +}); | |
| 4074 | + | |
| 4075 | +// `Array.prototype.includes` method | |
| 4076 | +// https://tc39.es/ecma262/#sec-array.prototype.includes | |
| 4077 | +$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, { | |
| 4078 | + includes: function includes(el /* , fromIndex = 0 */) { | |
| 4079 | + return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); | |
| 4080 | + } | |
| 4081 | +}); | |
| 4082 | + | |
| 4083 | +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables | |
| 4084 | +addToUnscopables('includes'); | |
| 4085 | + | |
| 4086 | + | |
| 4087 | +/***/ }), | |
| 4088 | + | |
| 4408 | 4089 | /***/ "../node_modules/core-js/modules/es.array.push.js": |
| 4409 | 4090 | /*!********************************************************!*\ |
| 4410 | 4091 | !*** ../node_modules/core-js/modules/es.array.push.js ***! |
| 4411 | 4092 | \********************************************************/ |
| @@ -4423,9 +4104,9 @@ | ||
| 4423 | 4104 | var INCORRECT_TO_LENGTH = fails(function () { |
| 4424 | 4105 | return [].push.call({ length: 0x100000000 }, 1) !== 4294967297; |
| 4425 | 4106 | }); |
| 4426 | 4107 | |
| 4427 | -// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError | |
| 4108 | +// V8 and Safari <= 15.4, FF < 23 throws InternalError | |
| 4428 | 4109 | // https://bugs.chromium.org/p/v8/issues/detail?id=12681 |
| 4429 | 4110 | var properErrorOnNonWritableLength = function () { |
| 4430 | 4111 | try { |
| 4431 | 4112 | // eslint-disable-next-line es/no-object-defineproperty -- safe |
| @@ -4457,354 +4138,20 @@ | ||
| 4457 | 4138 | |
| 4458 | 4139 | |
| 4459 | 4140 | /***/ }), |
| 4460 | 4141 | |
| 4461 | -/***/ "../node_modules/core-js/modules/es.iterator.constructor.js": | |
| 4462 | -/*!******************************************************************!*\ | |
| 4463 | - !*** ../node_modules/core-js/modules/es.iterator.constructor.js ***! | |
| 4464 | - \******************************************************************/ | |
| 4465 | -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4142 | +/***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js": | |
| 4143 | +/*!***********************************************************************!*\ | |
| 4144 | + !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! | |
| 4145 | + \***********************************************************************/ | |
| 4146 | +/***/ ((module) => { | |
| 4466 | 4147 | |
| 4467 | -"use strict"; | |
| 4468 | - | |
| 4469 | -var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js"); | |
| 4470 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 4471 | -var anInstance = __webpack_require__(/*! ../internals/an-instance */ "../node_modules/core-js/internals/an-instance.js"); | |
| 4472 | -var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); | |
| 4473 | -var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 4474 | -var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "../node_modules/core-js/internals/object-get-prototype-of.js"); | |
| 4475 | -var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "../node_modules/core-js/internals/define-built-in-accessor.js"); | |
| 4476 | -var createProperty = __webpack_require__(/*! ../internals/create-property */ "../node_modules/core-js/internals/create-property.js"); | |
| 4477 | -var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 4478 | -var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); | |
| 4479 | -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); | |
| 4480 | -var IteratorPrototype = (__webpack_require__(/*! ../internals/iterators-core */ "../node_modules/core-js/internals/iterators-core.js").IteratorPrototype); | |
| 4481 | -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); | |
| 4482 | -var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js"); | |
| 4483 | - | |
| 4484 | -var CONSTRUCTOR = 'constructor'; | |
| 4485 | -var ITERATOR = 'Iterator'; | |
| 4486 | -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); | |
| 4487 | - | |
| 4488 | -var $TypeError = TypeError; | |
| 4489 | -var NativeIterator = globalThis[ITERATOR]; | |
| 4490 | - | |
| 4491 | -// FF56- have non-standard global helper `Iterator` | |
| 4492 | -var FORCED = IS_PURE | |
| 4493 | - || !isCallable(NativeIterator) | |
| 4494 | - || NativeIterator.prototype !== IteratorPrototype | |
| 4495 | - // FF44- non-standard `Iterator` passes previous tests | |
| 4496 | - || !fails(function () { NativeIterator({}); }); | |
| 4497 | - | |
| 4498 | -var IteratorConstructor = function Iterator() { | |
| 4499 | - anInstance(this, IteratorPrototype); | |
| 4500 | - if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable'); | |
| 4501 | -}; | |
| 4502 | - | |
| 4503 | -var defineIteratorPrototypeAccessor = function (key, value) { | |
| 4504 | - if (DESCRIPTORS) { | |
| 4505 | - defineBuiltInAccessor(IteratorPrototype, key, { | |
| 4506 | - configurable: true, | |
| 4507 | - get: function () { | |
| 4508 | - return value; | |
| 4509 | - }, | |
| 4510 | - set: function (replacement) { | |
| 4511 | - anObject(this); | |
| 4512 | - if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property"); | |
| 4513 | - if (hasOwn(this, key)) this[key] = replacement; | |
| 4514 | - else createProperty(this, key, replacement); | |
| 4515 | - } | |
| 4516 | - }); | |
| 4517 | - } else IteratorPrototype[key] = value; | |
| 4518 | -}; | |
| 4519 | - | |
| 4520 | -if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR); | |
| 4521 | - | |
| 4522 | -if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) { | |
| 4523 | - defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor); | |
| 4148 | +function _interopRequireDefault(e) { | |
| 4149 | + return e && e.__esModule ? e : { | |
| 4150 | + "default": e | |
| 4151 | + }; | |
| 4524 | 4152 | } |
| 4525 | - | |
| 4526 | -IteratorConstructor.prototype = IteratorPrototype; | |
| 4527 | - | |
| 4528 | -// `Iterator` constructor | |
| 4529 | -// https://tc39.es/ecma262/#sec-iterator | |
| 4530 | -$({ global: true, constructor: true, forced: FORCED }, { | |
| 4531 | - Iterator: IteratorConstructor | |
| 4532 | -}); | |
| 4533 | - | |
| 4534 | - | |
| 4535 | -/***/ }), | |
| 4536 | - | |
| 4537 | -/***/ "../node_modules/core-js/modules/es.iterator.filter.js": | |
| 4538 | -/*!*************************************************************!*\ | |
| 4539 | - !*** ../node_modules/core-js/modules/es.iterator.filter.js ***! | |
| 4540 | - \*************************************************************/ | |
| 4541 | -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4542 | - | |
| 4543 | -"use strict"; | |
| 4544 | - | |
| 4545 | -var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js"); | |
| 4546 | -var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); | |
| 4547 | -var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); | |
| 4548 | -var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); | |
| 4549 | -var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js"); | |
| 4550 | -var createIteratorProxy = __webpack_require__(/*! ../internals/iterator-create-proxy */ "../node_modules/core-js/internals/iterator-create-proxy.js"); | |
| 4551 | -var callWithSafeIterationClosing = __webpack_require__(/*! ../internals/call-with-safe-iteration-closing */ "../node_modules/core-js/internals/call-with-safe-iteration-closing.js"); | |
| 4552 | -var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js"); | |
| 4553 | -var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js"); | |
| 4554 | -var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(/*! ../internals/iterator-helper-throws-on-invalid-iterator */ "../node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js"); | |
| 4555 | -var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(/*! ../internals/iterator-helper-without-closing-on-early-error */ "../node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js"); | |
| 4556 | - | |
| 4557 | -var FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('filter', function () { /* empty */ }); | |
| 4558 | -var filterWithoutClosingOnEarlyError = !IS_PURE && !FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR | |
| 4559 | - && iteratorHelperWithoutClosingOnEarlyError('filter', TypeError); | |
| 4560 | - | |
| 4561 | -var FORCED = IS_PURE || FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR || filterWithoutClosingOnEarlyError; | |
| 4562 | - | |
| 4563 | -var IteratorProxy = createIteratorProxy(function () { | |
| 4564 | - var iterator = this.iterator; | |
| 4565 | - var predicate = this.predicate; | |
| 4566 | - var next = this.next; | |
| 4567 | - var result, done, value; | |
| 4568 | - while (true) { | |
| 4569 | - result = anObject(call(next, iterator)); | |
| 4570 | - done = this.done = !!result.done; | |
| 4571 | - if (done) return; | |
| 4572 | - value = result.value; | |
| 4573 | - if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value; | |
| 4574 | - } | |
| 4575 | -}); | |
| 4576 | - | |
| 4577 | -// `Iterator.prototype.filter` method | |
| 4578 | -// https://tc39.es/ecma262/#sec-iterator.prototype.filter | |
| 4579 | -$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, { | |
| 4580 | - filter: function filter(predicate) { | |
| 4581 | - anObject(this); | |
| 4582 | - try { | |
| 4583 | - aCallable(predicate); | |
| 4584 | - } catch (error) { | |
| 4585 | - iteratorClose(this, 'throw', error); | |
| 4586 | - } | |
| 4587 | - | |
| 4588 | - if (filterWithoutClosingOnEarlyError) return call(filterWithoutClosingOnEarlyError, this, predicate); | |
| 4589 | - | |
| 4590 | - return new IteratorProxy(getIteratorDirect(this), { | |
| 4591 | - predicate: predicate | |
| 4592 | - }); | |
| 4593 | - } | |
| 4594 | -}); | |
| 4595 | - | |
| 4596 | - | |
| 4597 | -/***/ }), | |
| 4598 | - | |
| 4599 | -/***/ "../node_modules/core-js/modules/es.iterator.find.js": | |
| 4600 | -/*!***********************************************************!*\ | |
| 4601 | - !*** ../node_modules/core-js/modules/es.iterator.find.js ***! | |
| 4602 | - \***********************************************************/ | |
| 4603 | -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4604 | - | |
| 4605 | -"use strict"; | |
| 4606 | - | |
| 4607 | -var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js"); | |
| 4608 | -var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); | |
| 4609 | -var iterate = __webpack_require__(/*! ../internals/iterate */ "../node_modules/core-js/internals/iterate.js"); | |
| 4610 | -var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); | |
| 4611 | -var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); | |
| 4612 | -var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js"); | |
| 4613 | -var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js"); | |
| 4614 | -var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(/*! ../internals/iterator-helper-without-closing-on-early-error */ "../node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js"); | |
| 4615 | - | |
| 4616 | -var findWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('find', TypeError); | |
| 4617 | - | |
| 4618 | -// `Iterator.prototype.find` method | |
| 4619 | -// https://tc39.es/ecma262/#sec-iterator.prototype.find | |
| 4620 | -$({ target: 'Iterator', proto: true, real: true, forced: findWithoutClosingOnEarlyError }, { | |
| 4621 | - find: function find(predicate) { | |
| 4622 | - anObject(this); | |
| 4623 | - try { | |
| 4624 | - aCallable(predicate); | |
| 4625 | - } catch (error) { | |
| 4626 | - iteratorClose(this, 'throw', error); | |
| 4627 | - } | |
| 4628 | - | |
| 4629 | - if (findWithoutClosingOnEarlyError) return call(findWithoutClosingOnEarlyError, this, predicate); | |
| 4630 | - | |
| 4631 | - var record = getIteratorDirect(this); | |
| 4632 | - var counter = 0; | |
| 4633 | - return iterate(record, function (value, stop) { | |
| 4634 | - if (predicate(value, counter++)) return stop(value); | |
| 4635 | - }, { IS_RECORD: true, INTERRUPTED: true }).result; | |
| 4636 | - } | |
| 4637 | -}); | |
| 4638 | - | |
| 4639 | - | |
| 4640 | -/***/ }), | |
| 4641 | - | |
| 4642 | -/***/ "../node_modules/core-js/modules/es.iterator.for-each.js": | |
| 4643 | -/*!***************************************************************!*\ | |
| 4644 | - !*** ../node_modules/core-js/modules/es.iterator.for-each.js ***! | |
| 4645 | - \***************************************************************/ | |
| 4646 | -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4647 | - | |
| 4648 | -"use strict"; | |
| 4649 | - | |
| 4650 | -var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js"); | |
| 4651 | -var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); | |
| 4652 | -var iterate = __webpack_require__(/*! ../internals/iterate */ "../node_modules/core-js/internals/iterate.js"); | |
| 4653 | -var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); | |
| 4654 | -var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); | |
| 4655 | -var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js"); | |
| 4656 | -var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js"); | |
| 4657 | -var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(/*! ../internals/iterator-helper-without-closing-on-early-error */ "../node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js"); | |
| 4658 | - | |
| 4659 | -var forEachWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('forEach', TypeError); | |
| 4660 | - | |
| 4661 | -// `Iterator.prototype.forEach` method | |
| 4662 | -// https://tc39.es/ecma262/#sec-iterator.prototype.foreach | |
| 4663 | -$({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosingOnEarlyError }, { | |
| 4664 | - forEach: function forEach(fn) { | |
| 4665 | - anObject(this); | |
| 4666 | - try { | |
| 4667 | - aCallable(fn); | |
| 4668 | - } catch (error) { | |
| 4669 | - iteratorClose(this, 'throw', error); | |
| 4670 | - } | |
| 4671 | - | |
| 4672 | - if (forEachWithoutClosingOnEarlyError) return call(forEachWithoutClosingOnEarlyError, this, fn); | |
| 4673 | - | |
| 4674 | - var record = getIteratorDirect(this); | |
| 4675 | - var counter = 0; | |
| 4676 | - iterate(record, function (value) { | |
| 4677 | - fn(value, counter++); | |
| 4678 | - }, { IS_RECORD: true }); | |
| 4679 | - } | |
| 4680 | -}); | |
| 4681 | - | |
| 4682 | - | |
| 4683 | -/***/ }), | |
| 4684 | - | |
| 4685 | -/***/ "../node_modules/core-js/modules/es.iterator.map.js": | |
| 4686 | -/*!**********************************************************!*\ | |
| 4687 | - !*** ../node_modules/core-js/modules/es.iterator.map.js ***! | |
| 4688 | - \**********************************************************/ | |
| 4689 | -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4690 | - | |
| 4691 | -"use strict"; | |
| 4692 | - | |
| 4693 | -var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js"); | |
| 4694 | -var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); | |
| 4695 | -var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); | |
| 4696 | -var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); | |
| 4697 | -var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js"); | |
| 4698 | -var createIteratorProxy = __webpack_require__(/*! ../internals/iterator-create-proxy */ "../node_modules/core-js/internals/iterator-create-proxy.js"); | |
| 4699 | -var callWithSafeIterationClosing = __webpack_require__(/*! ../internals/call-with-safe-iteration-closing */ "../node_modules/core-js/internals/call-with-safe-iteration-closing.js"); | |
| 4700 | -var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js"); | |
| 4701 | -var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(/*! ../internals/iterator-helper-throws-on-invalid-iterator */ "../node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js"); | |
| 4702 | -var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(/*! ../internals/iterator-helper-without-closing-on-early-error */ "../node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js"); | |
| 4703 | -var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js"); | |
| 4704 | - | |
| 4705 | -var MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('map', function () { /* empty */ }); | |
| 4706 | -var mapWithoutClosingOnEarlyError = !IS_PURE && !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR | |
| 4707 | - && iteratorHelperWithoutClosingOnEarlyError('map', TypeError); | |
| 4708 | - | |
| 4709 | -var FORCED = IS_PURE || MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError; | |
| 4710 | - | |
| 4711 | -var IteratorProxy = createIteratorProxy(function () { | |
| 4712 | - var iterator = this.iterator; | |
| 4713 | - var result = anObject(call(this.next, iterator)); | |
| 4714 | - var done = this.done = !!result.done; | |
| 4715 | - if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true); | |
| 4716 | -}); | |
| 4717 | - | |
| 4718 | -// `Iterator.prototype.map` method | |
| 4719 | -// https://tc39.es/ecma262/#sec-iterator.prototype.map | |
| 4720 | -$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, { | |
| 4721 | - map: function map(mapper) { | |
| 4722 | - anObject(this); | |
| 4723 | - try { | |
| 4724 | - aCallable(mapper); | |
| 4725 | - } catch (error) { | |
| 4726 | - iteratorClose(this, 'throw', error); | |
| 4727 | - } | |
| 4728 | - | |
| 4729 | - if (mapWithoutClosingOnEarlyError) return call(mapWithoutClosingOnEarlyError, this, mapper); | |
| 4730 | - | |
| 4731 | - return new IteratorProxy(getIteratorDirect(this), { | |
| 4732 | - mapper: mapper | |
| 4733 | - }); | |
| 4734 | - } | |
| 4735 | -}); | |
| 4736 | - | |
| 4737 | - | |
| 4738 | -/***/ }), | |
| 4739 | - | |
| 4740 | -/***/ "../node_modules/core-js/modules/esnext.iterator.constructor.js": | |
| 4741 | -/*!**********************************************************************!*\ | |
| 4742 | - !*** ../node_modules/core-js/modules/esnext.iterator.constructor.js ***! | |
| 4743 | - \**********************************************************************/ | |
| 4744 | -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4745 | - | |
| 4746 | -"use strict"; | |
| 4747 | - | |
| 4748 | -// TODO: Remove from `core-js@4` | |
| 4749 | -__webpack_require__(/*! ../modules/es.iterator.constructor */ "../node_modules/core-js/modules/es.iterator.constructor.js"); | |
| 4750 | - | |
| 4751 | - | |
| 4752 | -/***/ }), | |
| 4753 | - | |
| 4754 | -/***/ "../node_modules/core-js/modules/esnext.iterator.filter.js": | |
| 4755 | -/*!*****************************************************************!*\ | |
| 4756 | - !*** ../node_modules/core-js/modules/esnext.iterator.filter.js ***! | |
| 4757 | - \*****************************************************************/ | |
| 4758 | -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4759 | - | |
| 4760 | -"use strict"; | |
| 4761 | - | |
| 4762 | -// TODO: Remove from `core-js@4` | |
| 4763 | -__webpack_require__(/*! ../modules/es.iterator.filter */ "../node_modules/core-js/modules/es.iterator.filter.js"); | |
| 4764 | - | |
| 4765 | - | |
| 4766 | -/***/ }), | |
| 4767 | - | |
| 4768 | -/***/ "../node_modules/core-js/modules/esnext.iterator.find.js": | |
| 4769 | -/*!***************************************************************!*\ | |
| 4770 | - !*** ../node_modules/core-js/modules/esnext.iterator.find.js ***! | |
| 4771 | - \***************************************************************/ | |
| 4772 | -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4773 | - | |
| 4774 | -"use strict"; | |
| 4775 | - | |
| 4776 | -// TODO: Remove from `core-js@4` | |
| 4777 | -__webpack_require__(/*! ../modules/es.iterator.find */ "../node_modules/core-js/modules/es.iterator.find.js"); | |
| 4778 | - | |
| 4779 | - | |
| 4780 | -/***/ }), | |
| 4781 | - | |
| 4782 | -/***/ "../node_modules/core-js/modules/esnext.iterator.for-each.js": | |
| 4783 | -/*!*******************************************************************!*\ | |
| 4784 | - !*** ../node_modules/core-js/modules/esnext.iterator.for-each.js ***! | |
| 4785 | - \*******************************************************************/ | |
| 4786 | -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4787 | - | |
| 4788 | -"use strict"; | |
| 4789 | - | |
| 4790 | -// TODO: Remove from `core-js@4` | |
| 4791 | -__webpack_require__(/*! ../modules/es.iterator.for-each */ "../node_modules/core-js/modules/es.iterator.for-each.js"); | |
| 4792 | - | |
| 4793 | - | |
| 4794 | -/***/ }), | |
| 4795 | - | |
| 4796 | -/***/ "../node_modules/core-js/modules/esnext.iterator.map.js": | |
| 4797 | -/*!**************************************************************!*\ | |
| 4798 | - !*** ../node_modules/core-js/modules/esnext.iterator.map.js ***! | |
| 4799 | - \**************************************************************/ | |
| 4800 | -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4801 | - | |
| 4802 | -"use strict"; | |
| 4803 | - | |
| 4804 | -// TODO: Remove from `core-js@4` | |
| 4805 | -__webpack_require__(/*! ../modules/es.iterator.map */ "../node_modules/core-js/modules/es.iterator.map.js"); | |
| 4806 | - | |
| 4153 | +module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 4807 | 4154 | |
| 4808 | 4155 | /***/ }) |
| 4809 | 4156 | |
| 4810 | 4157 | }, |