| @@ -1,142 +1,7 @@ | ||
| 1 | -(self["webpackChunkelementorFrontend"] = self["webpackChunkelementorFrontend"] || []).push([["frontend-modules"],{ | |
| 1 | +/*! elementor - v3.22.0 - 24-06-2024 */ | |
| 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: { |
| @@ -237,8 +100,205 @@ | ||
| 237 | 100 | exports["default"] = _default; |
| 238 | 101 | |
| 239 | 102 | /***/ }), |
| 240 | 103 | |
| 104 | +/***/ "../assets/dev/js/frontend/handlers/accessibility/nested-title-keyboard-handler.js": | |
| 105 | +/*!*****************************************************************************************!*\ | |
| 106 | + !*** ../assets/dev/js/frontend/handlers/accessibility/nested-title-keyboard-handler.js ***! | |
| 107 | + \*****************************************************************************************/ | |
| 108 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 109 | + | |
| 110 | +"use strict"; | |
| 111 | + | |
| 112 | + | |
| 113 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 114 | +Object.defineProperty(exports, "__esModule", ({ | |
| 115 | + value: true | |
| 116 | +})); | |
| 117 | +exports["default"] = void 0; | |
| 118 | +var _base = _interopRequireDefault(__webpack_require__(/*! ../base */ "../assets/dev/js/frontend/handlers/base.js")); | |
| 119 | +class NestedTitleKeyboardHandler extends _base.default { | |
| 120 | + __construct(settings) { | |
| 121 | + super.__construct(settings); | |
| 122 | + this.directionNext = 'next'; | |
| 123 | + this.directionPrevious = 'previous'; | |
| 124 | + this.focusableElementSelector = 'audio, button, canvas, details, iframe, input, select, summary, textarea, video, [accesskey], [contenteditable], [href], [tabindex]:not([tabindex="-1"])'; | |
| 125 | + } | |
| 126 | + getDefaultSettings() { | |
| 127 | + return { | |
| 128 | + selectors: { | |
| 129 | + itemTitle: '.e-n-tab-title', | |
| 130 | + itemContainer: '.e-n-tabs-content > .e-con' | |
| 131 | + }, | |
| 132 | + ariaAttributes: { | |
| 133 | + titleStateAttribute: 'aria-selected', | |
| 134 | + activeTitleSelector: '[aria-selected="true"]' | |
| 135 | + }, | |
| 136 | + datasets: { | |
| 137 | + titleIndex: 'data-tab-index' | |
| 138 | + }, | |
| 139 | + keyDirection: { | |
| 140 | + ArrowLeft: elementorFrontendConfig.is_rtl ? this.directionNext : this.directionPrevious, | |
| 141 | + ArrowUp: this.directionPrevious, | |
| 142 | + ArrowRight: elementorFrontendConfig.is_rtl ? this.directionPrevious : this.directionNext, | |
| 143 | + ArrowDown: this.directionNext | |
| 144 | + } | |
| 145 | + }; | |
| 146 | + } | |
| 147 | + getDefaultElements() { | |
| 148 | + const selectors = this.getSettings('selectors'); | |
| 149 | + return { | |
| 150 | + $itemTitles: this.findElement(selectors.itemTitle), | |
| 151 | + $itemContainers: this.findElement(selectors.itemContainer), | |
| 152 | + $focusableContainerElements: this.getFocusableElements(this.findElement(selectors.itemContainer)) | |
| 153 | + }; | |
| 154 | + } | |
| 155 | + getFocusableElements($elements) { | |
| 156 | + return $elements.find(this.focusableElementSelector).not('[disabled], [inert]'); | |
| 157 | + } | |
| 158 | + getKeyDirectionValue(event) { | |
| 159 | + const direction = this.getSettings('keyDirection')[event.key]; | |
| 160 | + return this.directionNext === direction ? 1 : -1; | |
| 161 | + } | |
| 162 | + | |
| 163 | + /** | |
| 164 | + * @param {HTMLElement} itemTitleElement | |
| 165 | + * | |
| 166 | + * @return {string} | |
| 167 | + */ | |
| 168 | + getTitleIndex(itemTitleElement) { | |
| 169 | + const { | |
| 170 | + titleIndex: indexAttribute | |
| 171 | + } = this.getSettings('datasets'); | |
| 172 | + return itemTitleElement.getAttribute(indexAttribute); | |
| 173 | + } | |
| 174 | + | |
| 175 | + /** | |
| 176 | + * @param {string|number} titleIndex | |
| 177 | + * | |
| 178 | + * @return {string} | |
| 179 | + */ | |
| 180 | + getTitleFilterSelector(titleIndex) { | |
| 181 | + const { | |
| 182 | + titleIndex: indexAttribute | |
| 183 | + } = this.getSettings('datasets'); | |
| 184 | + return `[${indexAttribute}="${titleIndex}"]`; | |
| 185 | + } | |
| 186 | + getActiveTitleElement() { | |
| 187 | + const activeTitleFilter = this.getSettings('ariaAttributes').activeTitleSelector; | |
| 188 | + return this.elements.$itemTitles.filter(activeTitleFilter); | |
| 189 | + } | |
| 190 | + onInit() { | |
| 191 | + super.onInit(...arguments); | |
| 192 | + } | |
| 193 | + bindEvents() { | |
| 194 | + this.elements.$itemTitles.on(this.getTitleEvents()); | |
| 195 | + this.elements.$focusableContainerElements.on(this.getContentElementEvents()); | |
| 196 | + } | |
| 197 | + unbindEvents() { | |
| 198 | + this.elements.$itemTitles.off(); | |
| 199 | + this.elements.$itemContainers.children().off(); | |
| 200 | + } | |
| 201 | + getTitleEvents() { | |
| 202 | + return { | |
| 203 | + keydown: this.handleTitleKeyboardNavigation.bind(this) | |
| 204 | + }; | |
| 205 | + } | |
| 206 | + getContentElementEvents() { | |
| 207 | + return { | |
| 208 | + keydown: this.handleContentElementKeyboardNavigation.bind(this) | |
| 209 | + }; | |
| 210 | + } | |
| 211 | + isDirectionKey(event) { | |
| 212 | + const directionKeys = ['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown', 'Home', 'End']; | |
| 213 | + return directionKeys.includes(event.key); | |
| 214 | + } | |
| 215 | + isActivationKey(event) { | |
| 216 | + const activationKeys = ['Enter', ' ']; | |
| 217 | + return activationKeys.includes(event.key); | |
| 218 | + } | |
| 219 | + handleTitleKeyboardNavigation(event) { | |
| 220 | + if (this.isDirectionKey(event)) { | |
| 221 | + event.preventDefault(); | |
| 222 | + const currentTitleIndex = parseInt(this.getTitleIndex(event.currentTarget)) || 1, | |
| 223 | + numberOfTitles = this.elements.$itemTitles.length, | |
| 224 | + titleIndexUpdated = this.getTitleIndexFocusUpdated(event, currentTitleIndex, numberOfTitles); | |
| 225 | + this.changeTitleFocus(titleIndexUpdated); | |
| 226 | + event.stopPropagation(); | |
| 227 | + } else if (this.isActivationKey(event)) { | |
| 228 | + event.preventDefault(); | |
| 229 | + if (this.handeTitleLinkEnterOrSpaceEvent(event)) { | |
| 230 | + return; | |
| 231 | + } | |
| 232 | + const titleIndex = this.getTitleIndex(event.currentTarget); | |
| 233 | + elementorFrontend.elements.$window.trigger('elementor/nested-elements/activate-by-keyboard', { | |
| 234 | + widgetId: this.getID(), | |
| 235 | + titleIndex | |
| 236 | + }); | |
| 237 | + } else if ('Escape' === event.key) { | |
| 238 | + this.handleTitleEscapeKeyEvents(event); | |
| 239 | + } | |
| 240 | + } | |
| 241 | + handeTitleLinkEnterOrSpaceEvent(event) { | |
| 242 | + const isLinkElement = 'a' === event?.currentTarget?.tagName?.toLowerCase(); | |
| 243 | + if (!elementorFrontend.isEditMode() && isLinkElement) { | |
| 244 | + event?.currentTarget?.click(); | |
| 245 | + event.stopPropagation(); | |
| 246 | + } | |
| 247 | + return isLinkElement; | |
| 248 | + } | |
| 249 | + getTitleIndexFocusUpdated(event, currentTitleIndex, numberOfTitles) { | |
| 250 | + let titleIndexUpdated = 0; | |
| 251 | + switch (event.key) { | |
| 252 | + case 'Home': | |
| 253 | + titleIndexUpdated = 1; | |
| 254 | + break; | |
| 255 | + case 'End': | |
| 256 | + titleIndexUpdated = numberOfTitles; | |
| 257 | + break; | |
| 258 | + default: | |
| 259 | + const directionValue = this.getKeyDirectionValue(event), | |
| 260 | + isEndReached = numberOfTitles < currentTitleIndex + directionValue, | |
| 261 | + isStartReached = 0 === currentTitleIndex + directionValue; | |
| 262 | + if (isEndReached) { | |
| 263 | + titleIndexUpdated = 1; | |
| 264 | + } else if (isStartReached) { | |
| 265 | + titleIndexUpdated = numberOfTitles; | |
| 266 | + } else { | |
| 267 | + titleIndexUpdated = currentTitleIndex + directionValue; | |
| 268 | + } | |
| 269 | + } | |
| 270 | + return titleIndexUpdated; | |
| 271 | + } | |
| 272 | + changeTitleFocus(titleIndexUpdated) { | |
| 273 | + const $newTitle = this.elements.$itemTitles.filter(this.getTitleFilterSelector(titleIndexUpdated)); | |
| 274 | + this.setTitleTabindex(titleIndexUpdated); | |
| 275 | + $newTitle.trigger('focus'); | |
| 276 | + } | |
| 277 | + setTitleTabindex(titleIndex) { | |
| 278 | + this.elements.$itemTitles.attr('tabindex', '-1'); | |
| 279 | + const $newTitle = this.elements.$itemTitles.filter(this.getTitleFilterSelector(titleIndex)); | |
| 280 | + $newTitle.attr('tabindex', '0'); | |
| 281 | + } | |
| 282 | + handleTitleEscapeKeyEvents() {} | |
| 283 | + handleContentElementKeyboardNavigation(event) { | |
| 284 | + if ('Tab' === event.key && !event.shiftKey) { | |
| 285 | + this.handleContentElementTabEvents(event); | |
| 286 | + } else if ('Escape' === event.key) { | |
| 287 | + event.preventDefault(); | |
| 288 | + event.stopPropagation(); | |
| 289 | + this.handleContentElementEscapeEvents(event); | |
| 290 | + } | |
| 291 | + } | |
| 292 | + handleContentElementEscapeEvents() { | |
| 293 | + this.getActiveTitleElement().trigger('focus'); | |
| 294 | + } | |
| 295 | + handleContentElementTabEvents() {} | |
| 296 | +} | |
| 297 | +exports["default"] = NestedTitleKeyboardHandler; | |
| 298 | + | |
| 299 | +/***/ }), | |
| 300 | + | |
| 241 | 301 | /***/ "../assets/dev/js/frontend/handlers/base-carousel.js": |
| 242 | 302 | /*!***********************************************************!*\ |
| 243 | 303 | !*** ../assets/dev/js/frontend/handlers/base-carousel.js ***! |
| 244 | 304 | \***********************************************************/ |
| @@ -251,17 +311,14 @@ | ||
| 251 | 311 | Object.defineProperty(exports, "__esModule", ({ |
| 252 | 312 | value: true |
| 253 | 313 | })); |
| 254 | 314 | 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 | 315 | var _baseSwiper = _interopRequireDefault(__webpack_require__(/*! ./base-swiper */ "../assets/dev/js/frontend/handlers/base-swiper.js")); |
| 259 | 316 | class CarouselHandlerBase extends _baseSwiper.default { |
| 260 | 317 | getDefaultSettings() { |
| 261 | 318 | return { |
| 262 | 319 | selectors: { |
| 263 | - carousel: '.swiper', | |
| 320 | + carousel: `.${elementorFrontend.config.swiperClass}`, | |
| 264 | 321 | swiperWrapper: '.swiper-wrapper', |
| 265 | 322 | slideContent: '.swiper-slide', |
| 266 | 323 | swiperArrow: '.elementor-swiper-button', |
| 267 | 324 | paginationWrapper: '.swiper-pagination', |
| @@ -344,9 +401,9 @@ | ||
| 344 | 401 | el: `.elementor-element-${this.getID()} .swiper-pagination`, |
| 345 | 402 | type: !!elementSettings.pagination ? elementSettings.pagination : 'bullets', |
| 346 | 403 | clickable: true, |
| 347 | 404 | renderBullet: (index, classname) => { |
| 348 | - return `<span class="${classname}" role="button" tabindex="0" data-bullet-index="${index}" aria-label="${elementorFrontend.config.i18n.a11yCarouselPaginationBulletMessage} ${index + 1}"></span>`; | |
| 405 | + return `<span class="${classname}" data-bullet-index="${index}" aria-label="${elementorFrontend.config.i18n.a11yCarouselPaginationBulletMessage} ${index + 1}"></span>`; | |
| 349 | 406 | } |
| 350 | 407 | }; |
| 351 | 408 | } |
| 352 | 409 | if ('yes' === elementSettings.lazyload) { |
| @@ -362,14 +419,17 @@ | ||
| 362 | 419 | firstSlideMessage: elementorFrontend.config.i18n.a11yCarouselFirstSlideMessage, |
| 363 | 420 | lastSlideMessage: elementorFrontend.config.i18n.a11yCarouselLastSlideMessage |
| 364 | 421 | }; |
| 365 | 422 | swiperOptions.on = { |
| 423 | + slideChangeTransitionEnd: () => { | |
| 424 | + this.a11ySetSlideAriaHidden(); | |
| 425 | + }, | |
| 366 | 426 | slideChange: () => { |
| 367 | 427 | this.a11ySetPaginationTabindex(); |
| 368 | 428 | this.handleElementHandlers(); |
| 369 | - this.a11ySetSlideAriaHidden(); | |
| 370 | 429 | }, |
| 371 | 430 | init: () => { |
| 431 | + this.a11ySetWidgetAriaDetails(); | |
| 372 | 432 | this.a11ySetPaginationTabindex(); |
| 373 | 433 | this.a11ySetSlideAriaHidden('initialisation'); |
| 374 | 434 | } |
| 375 | 435 | }; |
| @@ -405,10 +465,10 @@ | ||
| 405 | 465 | } |
| 406 | 466 | addClassToSwiperContainer(className) { |
| 407 | 467 | this.getDefaultElements().$swiperContainer[0].classList.add(className); |
| 408 | 468 | } |
| 409 | - async onInit(...args) { | |
| 410 | - super.onInit(...args); | |
| 469 | + async onInit() { | |
| 470 | + super.onInit(...arguments); | |
| 411 | 471 | if (!this.elements.$swiperContainer.length || 2 > this.elements.$slides.length) { |
| 412 | 472 | return; |
| 413 | 473 | } |
| 414 | 474 | await this.initSwiper(); |
| @@ -479,8 +539,9 @@ | ||
| 479 | 539 | speed: 'speed', |
| 480 | 540 | arrows_position: 'arrows_position' // Not a Swiper setting. |
| 481 | 541 | }; |
| 482 | 542 | } |
| 543 | + | |
| 483 | 544 | onElementChange(propertyName) { |
| 484 | 545 | if (0 === propertyName.indexOf('image_spacing_custom')) { |
| 485 | 546 | this.updateSpaceBetween(propertyName); |
| 486 | 547 | return; |
| @@ -500,11 +561,11 @@ | ||
| 500 | 561 | if ('activeItemIndex' === propertyName) { |
| 501 | 562 | this.swiper.slideToLoop(this.getEditSettings('activeItemIndex') - 1); |
| 502 | 563 | } |
| 503 | 564 | } |
| 504 | - getSpaceBetween(device = null) { | |
| 505 | - const responsiveControlValue = elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'image_spacing_custom', 'size', device); | |
| 506 | - return Number(responsiveControlValue) || 0; | |
| 565 | + getSpaceBetween() { | |
| 566 | + let device = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; | |
| 567 | + return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'image_spacing_custom', 'size', device) || 0; | |
| 507 | 568 | } |
| 508 | 569 | updateSpaceBetween(propertyName) { |
| 509 | 570 | const deviceMatch = propertyName.match('image_spacing_custom_(.*)'), |
| 510 | 571 | device = deviceMatch ? deviceMatch[1] : 'desktop', |
| @@ -514,12 +575,18 @@ | ||
| 514 | 575 | } |
| 515 | 576 | this.swiper.params.spaceBetween = newSpaceBetween; |
| 516 | 577 | this.swiper.update(); |
| 517 | 578 | } |
| 518 | - getPaginationBullets(type = 'array') { | |
| 579 | + getPaginationBullets() { | |
| 580 | + let type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'array'; | |
| 519 | 581 | const paginationBullets = this.$element.find(this.getSettings('selectors').paginationBullet); |
| 520 | 582 | return 'array' === type ? Array.from(paginationBullets) : paginationBullets; |
| 521 | 583 | } |
| 584 | + a11ySetWidgetAriaDetails() { | |
| 585 | + const $widget = this.$element; | |
| 586 | + $widget.attr('aria-roledescription', 'carousel'); | |
| 587 | + $widget.attr('aria-label', elementorFrontend.config.i18n.a11yCarouselWrapperAriaLabel); | |
| 588 | + } | |
| 522 | 589 | a11ySetPaginationTabindex() { |
| 523 | 590 | const bulletClass = this.swiper?.params?.pagination.bulletClass, |
| 524 | 591 | activeBulletClass = this.swiper?.params?.pagination.bulletActiveClass; |
| 525 | 592 | this.getPaginationBullets().forEach(bullet => { |
| @@ -538,9 +605,10 @@ | ||
| 538 | 605 | transformValue = transformValue.split(','); |
| 539 | 606 | transformValue = parseInt(transformValue[0].replace('px', '')); |
| 540 | 607 | return !!transformValue ? transformValue : 0; |
| 541 | 608 | } |
| 542 | - a11ySetSlideAriaHidden(status = '') { | |
| 609 | + a11ySetSlideAriaHidden() { | |
| 610 | + let status = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; | |
| 543 | 611 | const currentIndex = 'initialisation' === status ? 0 : this.swiper?.activeIndex; |
| 544 | 612 | if ('number' !== typeof currentIndex) { |
| 545 | 613 | return; |
| 546 | 614 | } |
| @@ -626,18 +694,13 @@ | ||
| 626 | 694 | /***/ "../assets/dev/js/frontend/handlers/base.js": |
| 627 | 695 | /*!**************************************************!*\ |
| 628 | 696 | !*** ../assets/dev/js/frontend/handlers/base.js ***! |
| 629 | 697 | \**************************************************/ |
| 630 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 698 | +/***/ ((module) => { | |
| 631 | 699 | |
| 632 | 700 | "use strict"; |
| 633 | 701 | |
| 634 | 702 | |
| 635 | -__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 | 703 | module.exports = elementorModules.ViewModule.extend({ |
| 641 | 704 | $element: null, |
| 642 | 705 | editorListeners: null, |
| 643 | 706 | onElementChange: null, |
| @@ -842,10 +905,8 @@ | ||
| 842 | 905 | Object.defineProperty(exports, "__esModule", ({ |
| 843 | 906 | value: true |
| 844 | 907 | })); |
| 845 | 908 | 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 | 909 | var _base = _interopRequireDefault(__webpack_require__(/*! ./base */ "../assets/dev/js/frontend/handlers/base.js")); |
| 849 | 910 | class StretchedElement extends _base.default { |
| 850 | 911 | getStretchedClass() { |
| 851 | 912 | return 'e-stretched'; |
| @@ -874,9 +935,10 @@ | ||
| 874 | 935 | } |
| 875 | 936 | isActive(settings) { |
| 876 | 937 | return elementorFrontend.isEditMode() || settings.$element.hasClass(this.getStretchedClass()); |
| 877 | 938 | } |
| 878 | - getStretchElementForConfig(childSelector = null) { | |
| 939 | + getStretchElementForConfig() { | |
| 940 | + let childSelector = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; | |
| 879 | 941 | if (childSelector) { |
| 880 | 942 | return this.$element.find(childSelector); |
| 881 | 943 | } |
| 882 | 944 | return this.$element; |
| @@ -905,14 +967,14 @@ | ||
| 905 | 967 | return; |
| 906 | 968 | } |
| 907 | 969 | this.stretchElement.stretch(); |
| 908 | 970 | } |
| 909 | - onInit(...args) { | |
| 971 | + onInit() { | |
| 910 | 972 | if (!this.isActive(this.getSettings())) { |
| 911 | 973 | return; |
| 912 | 974 | } |
| 913 | 975 | this.initStretch(); |
| 914 | - super.onInit(...args); | |
| 976 | + super.onInit(...arguments); | |
| 915 | 977 | this.stretch(); |
| 916 | 978 | } |
| 917 | 979 | onElementChange(propertyName) { |
| 918 | 980 | const stretchSettingName = this.getStretchSettingName(); |
| @@ -949,8 +1011,12 @@ | ||
| 949 | 1011 | var _stretchedElement = _interopRequireDefault(__webpack_require__(/*! ./handlers/stretched-element */ "../assets/dev/js/frontend/handlers/stretched-element.js")); |
| 950 | 1012 | var _base = _interopRequireDefault(__webpack_require__(/*! ./handlers/base */ "../assets/dev/js/frontend/handlers/base.js")); |
| 951 | 1013 | var _baseSwiper = _interopRequireDefault(__webpack_require__(/*! ./handlers/base-swiper */ "../assets/dev/js/frontend/handlers/base-swiper.js")); |
| 952 | 1014 | var _baseCarousel = _interopRequireDefault(__webpack_require__(/*! ./handlers/base-carousel */ "../assets/dev/js/frontend/handlers/base-carousel.js")); |
| 1015 | +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")); | |
| 1016 | +var _nestedAccordion = _interopRequireDefault(__webpack_require__(/*! elementor/modules/nested-accordion/assets/js/frontend/handlers/nested-accordion */ "../modules/nested-accordion/assets/js/frontend/handlers/nested-accordion.js")); | |
| 1017 | +var _contactButtons = _interopRequireDefault(__webpack_require__(/*! elementor/modules/conversion-center/assets/js/frontend/handlers/contact-buttons */ "../modules/conversion-center/assets/js/frontend/handlers/contact-buttons.js")); | |
| 1018 | +var _nestedTitleKeyboardHandler = _interopRequireDefault(__webpack_require__(/*! ./handlers/accessibility/nested-title-keyboard-handler */ "../assets/dev/js/frontend/handlers/accessibility/nested-title-keyboard-handler.js")); | |
| 953 | 1019 | _modules.default.frontend = { |
| 954 | 1020 | Document: _document.default, |
| 955 | 1021 | tools: { |
| 956 | 1022 | StretchElement: _stretchElement.default |
| @@ -958,9 +1024,13 @@ | ||
| 958 | 1024 | handlers: { |
| 959 | 1025 | Base: _base.default, |
| 960 | 1026 | StretchedElement: _stretchedElement.default, |
| 961 | 1027 | SwiperBase: _baseSwiper.default, |
| 962 | - CarouselBase: _baseCarousel.default | |
| 1028 | + CarouselBase: _baseCarousel.default, | |
| 1029 | + NestedTabs: _nestedTabs.default, | |
| 1030 | + NestedAccordion: _nestedAccordion.default, | |
| 1031 | + NestedTitleKeyboardHandler: _nestedTitleKeyboardHandler.default, | |
| 1032 | + ContactButtonsHandler: _contactButtons.default | |
| 963 | 1033 | } |
| 964 | 1034 | }; |
| 965 | 1035 | |
| 966 | 1036 | /***/ }), |
| @@ -1075,8 +1145,102 @@ | ||
| 1075 | 1145 | }); |
| 1076 | 1146 | |
| 1077 | 1147 | /***/ }), |
| 1078 | 1148 | |
| 1149 | +/***/ "../assets/dev/js/frontend/utils/flex-horizontal-scroll.js": | |
| 1150 | +/*!*****************************************************************!*\ | |
| 1151 | + !*** ../assets/dev/js/frontend/utils/flex-horizontal-scroll.js ***! | |
| 1152 | + \*****************************************************************/ | |
| 1153 | +/***/ ((__unused_webpack_module, exports) => { | |
| 1154 | + | |
| 1155 | +"use strict"; | |
| 1156 | + | |
| 1157 | + | |
| 1158 | +Object.defineProperty(exports, "__esModule", ({ | |
| 1159 | + value: true | |
| 1160 | +})); | |
| 1161 | +exports.changeScrollStatus = changeScrollStatus; | |
| 1162 | +exports.setHorizontalScrollAlignment = setHorizontalScrollAlignment; | |
| 1163 | +exports.setHorizontalTitleScrollValues = setHorizontalTitleScrollValues; | |
| 1164 | +function changeScrollStatus(element, event) { | |
| 1165 | + if ('mousedown' === event.type) { | |
| 1166 | + element.classList.add('e-scroll'); | |
| 1167 | + element.dataset.pageX = event.pageX; | |
| 1168 | + } else { | |
| 1169 | + element.classList.remove('e-scroll', 'e-scroll-active'); | |
| 1170 | + element.dataset.pageX = ''; | |
| 1171 | + } | |
| 1172 | +} | |
| 1173 | + | |
| 1174 | +// This function was written using this example https://codepen.io/thenutz/pen/VwYeYEE. | |
| 1175 | +function setHorizontalTitleScrollValues(element, horizontalScrollStatus, event) { | |
| 1176 | + const isActiveScroll = element.classList.contains('e-scroll'), | |
| 1177 | + isHorizontalScrollActive = 'enable' === horizontalScrollStatus, | |
| 1178 | + headingContentIsWiderThanWrapper = element.scrollWidth > element.clientWidth; | |
| 1179 | + if (!isActiveScroll || !isHorizontalScrollActive || !headingContentIsWiderThanWrapper) { | |
| 1180 | + return; | |
| 1181 | + } | |
| 1182 | + event.preventDefault(); | |
| 1183 | + const previousPositionX = parseFloat(element.dataset.pageX), | |
| 1184 | + mouseMoveX = event.pageX - previousPositionX, | |
| 1185 | + maximumScrollValue = 5, | |
| 1186 | + stepLimit = 20; | |
| 1187 | + let toScrollDistanceX = 0; | |
| 1188 | + if (stepLimit < mouseMoveX) { | |
| 1189 | + toScrollDistanceX = maximumScrollValue; | |
| 1190 | + } else if (stepLimit * -1 > mouseMoveX) { | |
| 1191 | + toScrollDistanceX = -1 * maximumScrollValue; | |
| 1192 | + } else { | |
| 1193 | + toScrollDistanceX = mouseMoveX; | |
| 1194 | + } | |
| 1195 | + element.scrollLeft = element.scrollLeft - toScrollDistanceX; | |
| 1196 | + element.classList.add('e-scroll-active'); | |
| 1197 | +} | |
| 1198 | +function setHorizontalScrollAlignment(_ref) { | |
| 1199 | + let { | |
| 1200 | + element, | |
| 1201 | + direction, | |
| 1202 | + justifyCSSVariable, | |
| 1203 | + horizontalScrollStatus | |
| 1204 | + } = _ref; | |
| 1205 | + if (!element) { | |
| 1206 | + return; | |
| 1207 | + } | |
| 1208 | + if (isHorizontalScroll(element, horizontalScrollStatus)) { | |
| 1209 | + initialScrollPosition(element, direction, justifyCSSVariable); | |
| 1210 | + } else { | |
| 1211 | + element.style.setProperty(justifyCSSVariable, ''); | |
| 1212 | + } | |
| 1213 | +} | |
| 1214 | +function isHorizontalScroll(element, horizontalScrollStatus) { | |
| 1215 | + return element.clientWidth < getChildrenWidth(element.children) && 'enable' === horizontalScrollStatus; | |
| 1216 | +} | |
| 1217 | +function getChildrenWidth(children) { | |
| 1218 | + let totalWidth = 0; | |
| 1219 | + const parentContainer = children[0].parentNode, | |
| 1220 | + computedStyles = getComputedStyle(parentContainer), | |
| 1221 | + gap = parseFloat(computedStyles.gap) || 0; // Get the gap value or default to 0 if it's not specified | |
| 1222 | + | |
| 1223 | + for (let i = 0; i < children.length; i++) { | |
| 1224 | + totalWidth += children[i].offsetWidth + gap; | |
| 1225 | + } | |
| 1226 | + return totalWidth; | |
| 1227 | +} | |
| 1228 | +function initialScrollPosition(element, direction, justifyCSSVariable) { | |
| 1229 | + const isRTL = elementorFrontend.config.is_rtl; | |
| 1230 | + switch (direction) { | |
| 1231 | + case 'end': | |
| 1232 | + element.style.setProperty(justifyCSSVariable, 'start'); | |
| 1233 | + element.scrollLeft = isRTL ? -1 * getChildrenWidth(element.children) : getChildrenWidth(element.children); | |
| 1234 | + break; | |
| 1235 | + default: | |
| 1236 | + element.style.setProperty(justifyCSSVariable, 'start'); | |
| 1237 | + element.scrollLeft = 0; | |
| 1238 | + } | |
| 1239 | +} | |
| 1240 | + | |
| 1241 | +/***/ }), | |
| 1242 | + | |
| 1079 | 1243 | /***/ "../assets/dev/js/modules/imports/args-object.js": |
| 1080 | 1244 | /*!*******************************************************!*\ |
| 1081 | 1245 | !*** ../assets/dev/js/modules/imports/args-object.js ***! |
| 1082 | 1246 | \*******************************************************/ |
| @@ -1089,8 +1253,9 @@ | ||
| 1089 | 1253 | Object.defineProperty(exports, "__esModule", ({ |
| 1090 | 1254 | value: true |
| 1091 | 1255 | })); |
| 1092 | 1256 | exports["default"] = void 0; |
| 1257 | +__webpack_require__(/*! core-js/modules/es.error.cause.js */ "../node_modules/core-js/modules/es.error.cause.js"); | |
| 1093 | 1258 | var _instanceType = _interopRequireDefault(__webpack_require__(/*! ./instance-type */ "../assets/dev/js/modules/imports/instance-type.js")); |
| 1094 | 1259 | var _isInstanceof = _interopRequireDefault(__webpack_require__(/*! ../../editor/utils/is-instanceof */ "../assets/dev/js/editor/utils/is-instanceof.js")); |
| 1095 | 1260 | class ArgsObject extends _instanceType.default { |
| 1096 | 1261 | static getInstanceType() { |
| @@ -1118,9 +1283,10 @@ | ||
| 1118 | 1283 | * @param {{}} args |
| 1119 | 1284 | * |
| 1120 | 1285 | * @throws {Error} |
| 1121 | 1286 | */ |
| 1122 | - requireArgument(property, args = this.args) { | |
| 1287 | + requireArgument(property) { | |
| 1288 | + let args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.args; | |
| 1123 | 1289 | if (!Object.prototype.hasOwnProperty.call(args, property)) { |
| 1124 | 1290 | throw Error(`${property} is required.`); |
| 1125 | 1291 | } |
| 1126 | 1292 | } |
| @@ -1135,9 +1301,10 @@ | ||
| 1135 | 1301 | * @param {{}} args |
| 1136 | 1302 | * |
| 1137 | 1303 | * @throws {Error} |
| 1138 | 1304 | */ |
| 1139 | - requireArgumentType(property, type, args = this.args) { | |
| 1305 | + requireArgumentType(property, type) { | |
| 1306 | + let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 1140 | 1307 | this.requireArgument(property, args); |
| 1141 | 1308 | if (typeof args[property] !== type) { |
| 1142 | 1309 | throw Error(`${property} invalid type: ${type}.`); |
| 1143 | 1310 | } |
| @@ -1153,9 +1320,10 @@ | ||
| 1153 | 1320 | * @param {{}} args |
| 1154 | 1321 | * |
| 1155 | 1322 | * @throws {Error} |
| 1156 | 1323 | */ |
| 1157 | - requireArgumentInstance(property, instance, args = this.args) { | |
| 1324 | + requireArgumentInstance(property, instance) { | |
| 1325 | + let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 1158 | 1326 | this.requireArgument(property, args); |
| 1159 | 1327 | if (!(args[property] instanceof instance) && !(0, _isInstanceof.default)(args[property], instance)) { |
| 1160 | 1328 | throw Error(`${property} invalid instance.`); |
| 1161 | 1329 | } |
| @@ -1171,9 +1339,10 @@ | ||
| 1171 | 1339 | * @param {{}} args |
| 1172 | 1340 | * |
| 1173 | 1341 | * @throws {Error} |
| 1174 | 1342 | */ |
| 1175 | - requireArgumentConstructor(property, type, args = this.args) { | |
| 1343 | + requireArgumentConstructor(property, type) { | |
| 1344 | + let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 1176 | 1345 | this.requireArgument(property, args); |
| 1177 | 1346 | |
| 1178 | 1347 | // Note: Converting the constructor to string in order to avoid equation issues |
| 1179 | 1348 | // due to different memory addresses between iframes (window.Object !== window.top.Object). |
| @@ -1189,9 +1358,9 @@ | ||
| 1189 | 1358 | /***/ "../assets/dev/js/modules/imports/force-method-implementation.js": |
| 1190 | 1359 | /*!***********************************************************************!*\ |
| 1191 | 1360 | !*** ../assets/dev/js/modules/imports/force-method-implementation.js ***! |
| 1192 | 1361 | \***********************************************************************/ |
| 1193 | -/***/ ((__unused_webpack_module, exports) => { | |
| 1362 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1194 | 1363 | |
| 1195 | 1364 | "use strict"; |
| 1196 | 1365 | |
| 1197 | 1366 | |
| @@ -1198,12 +1367,15 @@ | ||
| 1198 | 1367 | Object.defineProperty(exports, "__esModule", ({ |
| 1199 | 1368 | value: true |
| 1200 | 1369 | })); |
| 1201 | 1370 | exports["default"] = exports.ForceMethodImplementation = void 0; |
| 1371 | +__webpack_require__(/*! core-js/modules/es.error.cause.js */ "../node_modules/core-js/modules/es.error.cause.js"); | |
| 1202 | 1372 | // TODO: Wrong location used as `elementorModules.ForceMethodImplementation(); should be` `elementorUtils.forceMethodImplementation()`; |
| 1203 | 1373 | |
| 1204 | 1374 | class ForceMethodImplementation extends Error { |
| 1205 | - constructor(info = {}, args = {}) { | |
| 1375 | + constructor() { | |
| 1376 | + let info = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 1377 | + let args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | |
| 1206 | 1378 | super(`${info.isStatic ? 'static ' : ''}${info.fullName}() should be implemented, please provide '${info.functionName || info.fullName}' functionality.`, args); |
| 1207 | 1379 | |
| 1208 | 1380 | // Allow to pass custom properties to the error. |
| 1209 | 1381 | if (Object.keys(args).length) { |
| @@ -1237,9 +1409,9 @@ | ||
| 1237 | 1409 | /***/ "../assets/dev/js/modules/imports/instance-type.js": |
| 1238 | 1410 | /*!*********************************************************!*\ |
| 1239 | 1411 | !*** ../assets/dev/js/modules/imports/instance-type.js ***! |
| 1240 | 1412 | \*********************************************************/ |
| 1241 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1413 | +/***/ ((__unused_webpack_module, exports) => { | |
| 1242 | 1414 | |
| 1243 | 1415 | "use strict"; |
| 1244 | 1416 | |
| 1245 | 1417 | |
| @@ -1246,11 +1418,8 @@ | ||
| 1246 | 1418 | Object.defineProperty(exports, "__esModule", ({ |
| 1247 | 1419 | value: true |
| 1248 | 1420 | })); |
| 1249 | 1421 | exports["default"] = void 0; |
| 1250 | -__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 | 1422 | class InstanceType { |
| 1254 | 1423 | static [Symbol.hasInstance](target) { |
| 1255 | 1424 | /** |
| 1256 | 1425 | * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class |
| @@ -1311,12 +1480,9 @@ | ||
| 1311 | 1480 | |
| 1312 | 1481 | "use strict"; |
| 1313 | 1482 | |
| 1314 | 1483 | |
| 1315 | -__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"); | |
| 1484 | +__webpack_require__(/*! core-js/modules/es.error.cause.js */ "../node_modules/core-js/modules/es.error.cause.js"); | |
| 1319 | 1485 | const Module = function () { |
| 1320 | 1486 | const $ = jQuery, |
| 1321 | 1487 | instanceParams = arguments, |
| 1322 | 1488 | self = this, |
| @@ -1484,11 +1650,10 @@ | ||
| 1484 | 1650 | Object.defineProperty(exports, "__esModule", ({ |
| 1485 | 1651 | value: true |
| 1486 | 1652 | })); |
| 1487 | 1653 | exports["default"] = void 0; |
| 1488 | -__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js"); | |
| 1489 | 1654 | var _viewModule = _interopRequireDefault(__webpack_require__(/*! ../view-module */ "../assets/dev/js/modules/imports/view-module.js")); |
| 1490 | -var _default = exports["default"] = _viewModule.default.extend({ | |
| 1655 | +var _default = _viewModule.default.extend({ | |
| 1491 | 1656 | getDefaultSettings() { |
| 1492 | 1657 | return { |
| 1493 | 1658 | container: null, |
| 1494 | 1659 | items: null, |
| @@ -1525,8 +1690,9 @@ | ||
| 1525 | 1690 | } |
| 1526 | 1691 | }); |
| 1527 | 1692 | } |
| 1528 | 1693 | }); |
| 1694 | +exports["default"] = _default; | |
| 1529 | 1695 | |
| 1530 | 1696 | /***/ }), |
| 1531 | 1697 | |
| 1532 | 1698 | /***/ "../assets/dev/js/modules/imports/utils/scroll.js": |
| @@ -1532,9 +1698,9 @@ | ||
| 1532 | 1698 | /***/ "../assets/dev/js/modules/imports/utils/scroll.js": |
| 1533 | 1699 | /*!********************************************************!*\ |
| 1534 | 1700 | !*** ../assets/dev/js/modules/imports/utils/scroll.js ***! |
| 1535 | 1701 | \********************************************************/ |
| 1536 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1702 | +/***/ ((__unused_webpack_module, exports) => { | |
| 1537 | 1703 | |
| 1538 | 1704 | "use strict"; |
| 1539 | 1705 | |
| 1540 | 1706 | |
| @@ -1541,9 +1707,8 @@ | ||
| 1541 | 1707 | Object.defineProperty(exports, "__esModule", ({ |
| 1542 | 1708 | value: true |
| 1543 | 1709 | })); |
| 1544 | 1710 | exports["default"] = void 0; |
| 1545 | -__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js"); | |
| 1546 | 1711 | // Moved from elementor pro: 'assets/dev/js/frontend/utils' |
| 1547 | 1712 | class Scroll { |
| 1548 | 1713 | /** |
| 1549 | 1714 | * @param {Object} obj |
| @@ -1554,26 +1719,27 @@ | ||
| 1554 | 1719 | */ |
| 1555 | 1720 | static scrollObserver(obj) { |
| 1556 | 1721 | let lastScrollY = 0; |
| 1557 | 1722 | |
| 1558 | - // Generating thresholds points along the animation height | |
| 1559 | - // More thresholds points = more trigger points of the callback | |
| 1560 | - const buildThresholds = (sensitivityPercentage = 0) => { | |
| 1561 | - const thresholds = []; | |
| 1723 | + // Generating threshholds points along the animation height | |
| 1724 | + // More threshholds points = more trigger points of the callback | |
| 1725 | + const buildThreshholds = function () { | |
| 1726 | + let sensitivityPercentage = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; | |
| 1727 | + const threshholds = []; | |
| 1562 | 1728 | if (sensitivityPercentage > 0 && sensitivityPercentage <= 100) { |
| 1563 | 1729 | const increment = 100 / sensitivityPercentage; |
| 1564 | 1730 | for (let i = 0; i <= 100; i += increment) { |
| 1565 | - thresholds.push(i / 100); | |
| 1731 | + threshholds.push(i / 100); | |
| 1566 | 1732 | } |
| 1567 | 1733 | } else { |
| 1568 | - thresholds.push(0); | |
| 1734 | + threshholds.push(0); | |
| 1569 | 1735 | } |
| 1570 | - return thresholds; | |
| 1736 | + return threshholds; | |
| 1571 | 1737 | }; |
| 1572 | 1738 | const options = { |
| 1573 | 1739 | root: obj.root || null, |
| 1574 | 1740 | rootMargin: obj.offset || '0px', |
| 1575 | - threshold: buildThresholds(obj.sensitivity) | |
| 1741 | + threshold: buildThreshholds(obj.sensitivity) | |
| 1576 | 1742 | }; |
| 1577 | 1743 | function handleIntersect(entries) { |
| 1578 | 1744 | const currentScrollY = entries[0].boundingClientRect.y, |
| 1579 | 1745 | isInViewport = entries[0].isIntersecting, |
| @@ -1595,9 +1761,10 @@ | ||
| 1595 | 1761 | * @param {Object} offsetObj |
| 1596 | 1762 | * @param {number} offsetObj.start - Offset start value in percentages |
| 1597 | 1763 | * @param {number} offsetObj.end - Offset end value in percentages |
| 1598 | 1764 | */ |
| 1599 | - static getElementViewportPercentage($element, offsetObj = {}) { | |
| 1765 | + static getElementViewportPercentage($element) { | |
| 1766 | + let offsetObj = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | |
| 1600 | 1767 | const elementOffset = $element[0].getBoundingClientRect(), |
| 1601 | 1768 | offsetStart = offsetObj.start || 0, |
| 1602 | 1769 | offsetEnd = offsetObj.end || 0, |
| 1603 | 1770 | windowStartOffset = window.innerHeight * offsetStart / 100, |
| @@ -1615,9 +1782,11 @@ | ||
| 1615 | 1782 | * @param {number} offsetObj.start - Offset start value in percentages |
| 1616 | 1783 | * @param {number} offsetObj.end - Offset end value in percentages |
| 1617 | 1784 | * @param {number} limitPageHeight - Will limit the page height calculation |
| 1618 | 1785 | */ |
| 1619 | - static getPageScrollPercentage(offsetObj = {}, limitPageHeight) { | |
| 1786 | + static getPageScrollPercentage() { | |
| 1787 | + let offsetObj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 1788 | + let limitPageHeight = arguments.length > 1 ? arguments[1] : undefined; | |
| 1620 | 1789 | const offsetStart = offsetObj.start || 0, |
| 1621 | 1790 | offsetEnd = offsetObj.end || 0, |
| 1622 | 1791 | initialPageHeight = limitPageHeight || document.documentElement.scrollHeight - document.documentElement.clientHeight, |
| 1623 | 1792 | heightOffset = initialPageHeight * offsetStart / 100, |
| @@ -1644,9 +1813,9 @@ | ||
| 1644 | 1813 | value: true |
| 1645 | 1814 | })); |
| 1646 | 1815 | exports["default"] = void 0; |
| 1647 | 1816 | var _module = _interopRequireDefault(__webpack_require__(/*! ./module */ "../assets/dev/js/modules/imports/module.js")); |
| 1648 | -var _default = exports["default"] = _module.default.extend({ | |
| 1817 | +var _default = _module.default.extend({ | |
| 1649 | 1818 | elements: null, |
| 1650 | 1819 | getDefaultElements() { |
| 1651 | 1820 | return {}; |
| 1652 | 1821 | }, |
| @@ -1658,8 +1827,9 @@ | ||
| 1658 | 1827 | initElements() { |
| 1659 | 1828 | this.elements = this.getDefaultElements(); |
| 1660 | 1829 | } |
| 1661 | 1830 | }); |
| 1831 | +exports["default"] = _default; | |
| 1662 | 1832 | |
| 1663 | 1833 | /***/ }), |
| 1664 | 1834 | |
| 1665 | 1835 | /***/ "../assets/dev/js/modules/modules.js": |
| @@ -1681,11 +1851,9 @@ | ||
| 1681 | 1851 | var _argsObject = _interopRequireDefault(__webpack_require__(/*! ./imports/args-object */ "../assets/dev/js/modules/imports/args-object.js")); |
| 1682 | 1852 | var _masonry = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/masonry */ "../assets/dev/js/modules/imports/utils/masonry.js")); |
| 1683 | 1853 | var _scroll = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/scroll */ "../assets/dev/js/modules/imports/utils/scroll.js")); |
| 1684 | 1854 | 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 = { | |
| 1855 | +var _default = window.elementorModules = { | |
| 1688 | 1856 | Module: _module.default, |
| 1689 | 1857 | ViewModule: _viewModule.default, |
| 1690 | 1858 | ArgsObject: _argsObject.default, |
| 1691 | 1859 | ForceMethodImplementation: _forceMethodImplementation.default, |
| @@ -1691,38 +1859,852 @@ | ||
| 1691 | 1859 | ForceMethodImplementation: _forceMethodImplementation.default, |
| 1692 | 1860 | utils: { |
| 1693 | 1861 | Masonry: _masonry.default, |
| 1694 | 1862 | Scroll: _scroll.default |
| 1695 | - }, | |
| 1696 | - importExport: { | |
| 1697 | - createGetInitialState: _templateRegistryHelpers.createGetInitialState, | |
| 1698 | - customizationDialogsRegistry: _customizationDialogs.customizationDialogsRegistry | |
| 1699 | 1863 | } |
| 1700 | 1864 | }; |
| 1701 | -if (!window.elementorModules) { | |
| 1702 | - window.elementorModules = baseModules; | |
| 1703 | -} else { | |
| 1704 | - Object.assign(window.elementorModules, baseModules); | |
| 1865 | +exports["default"] = _default; | |
| 1866 | + | |
| 1867 | +/***/ }), | |
| 1868 | + | |
| 1869 | +/***/ "../modules/conversion-center/assets/js/frontend/handlers/contact-buttons.js": | |
| 1870 | +/*!***********************************************************************************!*\ | |
| 1871 | + !*** ../modules/conversion-center/assets/js/frontend/handlers/contact-buttons.js ***! | |
| 1872 | + \***********************************************************************************/ | |
| 1873 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1874 | + | |
| 1875 | +"use strict"; | |
| 1876 | + | |
| 1877 | + | |
| 1878 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1879 | +Object.defineProperty(exports, "__esModule", ({ | |
| 1880 | + value: true | |
| 1881 | +})); | |
| 1882 | +exports["default"] = void 0; | |
| 1883 | +var _base = _interopRequireDefault(__webpack_require__(/*! elementor-frontend/handlers/base */ "../assets/dev/js/frontend/handlers/base.js")); | |
| 1884 | +class ContactButtonsHandler extends _base.default { | |
| 1885 | + getDefaultSettings() { | |
| 1886 | + return { | |
| 1887 | + selectors: { | |
| 1888 | + main: '.e-contact-buttons', | |
| 1889 | + content: '.e-contact-buttons__content', | |
| 1890 | + contentWrapper: '.e-contact-buttons__content-wrapper', | |
| 1891 | + chatButton: '.e-contact-buttons__chat-button', | |
| 1892 | + closeButton: '.e-contact-buttons__close-button', | |
| 1893 | + messageBubbleTime: '.e-contact-buttons__message-bubble-time' | |
| 1894 | + }, | |
| 1895 | + constants: { | |
| 1896 | + entranceAnimation: 'style_chat_box_entrance_animation', | |
| 1897 | + exitAnimation: 'style_chat_box_exit_animation', | |
| 1898 | + chatButtonAnimation: 'style_chat_button_animation', | |
| 1899 | + animated: 'animated', | |
| 1900 | + animatedWrapper: 'animated-wrapper', | |
| 1901 | + visible: 'visible', | |
| 1902 | + reverse: 'reverse', | |
| 1903 | + hidden: 'hidden', | |
| 1904 | + hasAnimations: 'has-animations', | |
| 1905 | + none: 'none' | |
| 1906 | + } | |
| 1907 | + }; | |
| 1908 | + } | |
| 1909 | + getDefaultElements() { | |
| 1910 | + const selectors = this.getSettings('selectors'); | |
| 1911 | + return { | |
| 1912 | + main: this.$element[0].querySelector(selectors.main), | |
| 1913 | + content: this.$element[0].querySelector(selectors.content), | |
| 1914 | + contentWrapper: this.$element[0].querySelector(selectors.contentWrapper), | |
| 1915 | + chatButton: this.$element[0].querySelector(selectors.chatButton), | |
| 1916 | + closeButton: this.$element[0].querySelector(selectors.closeButton), | |
| 1917 | + messageBubbleTime: this.$element[0].querySelector(selectors.messageBubbleTime) | |
| 1918 | + }; | |
| 1919 | + } | |
| 1920 | + getResponsiveSetting(controlName) { | |
| 1921 | + const currentDevice = elementorFrontend.getCurrentDeviceMode(); | |
| 1922 | + return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), controlName, '', currentDevice); | |
| 1923 | + } | |
| 1924 | + bindEvents() { | |
| 1925 | + this.elements.closeButton.addEventListener('click', this.closeChatBox.bind(this)); | |
| 1926 | + this.elements.chatButton.addEventListener('click', this.onChatButtonClick.bind(this)); | |
| 1927 | + this.elements.content.addEventListener('animationend', this.removeAnimationClasses.bind(this)); | |
| 1928 | + } | |
| 1929 | + removeAnimationClasses() { | |
| 1930 | + const { | |
| 1931 | + reverse, | |
| 1932 | + entranceAnimation, | |
| 1933 | + exitAnimation, | |
| 1934 | + animated, | |
| 1935 | + visible | |
| 1936 | + } = this.getSettings('constants'); | |
| 1937 | + const isExitAnimation = this.elements.content.classList.contains(reverse), | |
| 1938 | + openAnimationClass = this.getResponsiveSetting(entranceAnimation), | |
| 1939 | + exitAnimationClass = this.getResponsiveSetting(exitAnimation); | |
| 1940 | + if (isExitAnimation) { | |
| 1941 | + this.elements.content.classList.remove(animated); | |
| 1942 | + this.elements.content.classList.remove(reverse); | |
| 1943 | + this.elements.content.classList.remove(exitAnimationClass); | |
| 1944 | + this.elements.content.classList.remove(visible); | |
| 1945 | + } else { | |
| 1946 | + this.elements.content.classList.remove(animated); | |
| 1947 | + this.elements.content.classList.remove(openAnimationClass); | |
| 1948 | + this.elements.content.classList.add(visible); | |
| 1949 | + } | |
| 1950 | + } | |
| 1951 | + chatBoxEntranceAnimation() { | |
| 1952 | + const { | |
| 1953 | + entranceAnimation, | |
| 1954 | + animated, | |
| 1955 | + animatedWrapper, | |
| 1956 | + none | |
| 1957 | + } = this.getSettings('constants'); | |
| 1958 | + const entranceAnimationControl = this.getResponsiveSetting(entranceAnimation); | |
| 1959 | + if (none === entranceAnimationControl) { | |
| 1960 | + return; | |
| 1961 | + } | |
| 1962 | + this.elements.content.classList.add(animated); | |
| 1963 | + this.elements.content.classList.add(entranceAnimationControl); | |
| 1964 | + this.elements.contentWrapper.classList.remove(animatedWrapper); | |
| 1965 | + } | |
| 1966 | + chatBoxExitAnimation() { | |
| 1967 | + const { | |
| 1968 | + reverse, | |
| 1969 | + exitAnimation, | |
| 1970 | + animated, | |
| 1971 | + animatedWrapper, | |
| 1972 | + none | |
| 1973 | + } = this.getSettings('constants'); | |
| 1974 | + const exitAnimationControl = this.getResponsiveSetting(exitAnimation); | |
| 1975 | + if (none === exitAnimationControl) { | |
| 1976 | + return; | |
| 1977 | + } | |
| 1978 | + this.elements.content.classList.add(animated); | |
| 1979 | + this.elements.content.classList.add(reverse); | |
| 1980 | + this.elements.content.classList.add(exitAnimationControl); | |
| 1981 | + this.elements.contentWrapper.classList.add(animatedWrapper); | |
| 1982 | + } | |
| 1983 | + openChatBox() { | |
| 1984 | + const { | |
| 1985 | + hasAnimations, | |
| 1986 | + visible, | |
| 1987 | + hidden | |
| 1988 | + } = this.getSettings('constants'); | |
| 1989 | + if (this.elements.main.classList.contains(hasAnimations)) { | |
| 1990 | + this.chatBoxEntranceAnimation(); | |
| 1991 | + } else { | |
| 1992 | + this.elements.content.classList.add(visible); | |
| 1993 | + } | |
| 1994 | + this.elements.contentWrapper.classList.remove(hidden); | |
| 1995 | + } | |
| 1996 | + closeChatBox() { | |
| 1997 | + const { | |
| 1998 | + hasAnimations, | |
| 1999 | + visible, | |
| 2000 | + hidden | |
| 2001 | + } = this.getSettings('constants'); | |
| 2002 | + if (this.elements.main.classList.contains(hasAnimations)) { | |
| 2003 | + this.chatBoxExitAnimation(); | |
| 2004 | + } else { | |
| 2005 | + this.elements.content.classList.remove(visible); | |
| 2006 | + } | |
| 2007 | + this.elements.contentWrapper.classList.add(hidden); | |
| 2008 | + } | |
| 2009 | + onChatButtonClick() { | |
| 2010 | + const { | |
| 2011 | + hidden | |
| 2012 | + } = this.getSettings('constants'); | |
| 2013 | + if (this.elements.contentWrapper.classList.contains(hidden)) { | |
| 2014 | + this.openChatBox(); | |
| 2015 | + } else { | |
| 2016 | + this.closeChatBox(); | |
| 2017 | + } | |
| 2018 | + } | |
| 2019 | + initMessageBubbleTime() { | |
| 2020 | + const messageBubbleTimeFormat = this.elements.messageBubbleTime.dataset.timeFormat; | |
| 2021 | + const is12hFormat = '12h' === messageBubbleTimeFormat; | |
| 2022 | + const time = new Intl.DateTimeFormat('default', { | |
| 2023 | + hour12: is12hFormat, | |
| 2024 | + hour: 'numeric', | |
| 2025 | + minute: 'numeric' | |
| 2026 | + }).format(new Date()); | |
| 2027 | + this.elements.messageBubbleTime.innerHTML = time; | |
| 2028 | + } | |
| 2029 | + initChatButtonEntranceAnimation() { | |
| 2030 | + const { | |
| 2031 | + none, | |
| 2032 | + chatButtonAnimation, | |
| 2033 | + animated | |
| 2034 | + } = this.getSettings('constants'); | |
| 2035 | + const entranceAnimationControl = this.getResponsiveSetting(chatButtonAnimation); | |
| 2036 | + if (none === entranceAnimationControl) { | |
| 2037 | + return; | |
| 2038 | + } | |
| 2039 | + this.elements.chatButton.classList.add(animated); | |
| 2040 | + this.elements.chatButton.classList.add(entranceAnimationControl); | |
| 2041 | + } | |
| 2042 | + onInit() { | |
| 2043 | + super.onInit(...arguments); | |
| 2044 | + this.initMessageBubbleTime(); | |
| 2045 | + this.initChatButtonEntranceAnimation(); | |
| 2046 | + } | |
| 1705 | 2047 | } |
| 1706 | -var _default = exports["default"] = window.elementorModules; | |
| 2048 | +exports["default"] = ContactButtonsHandler; | |
| 1707 | 2049 | |
| 1708 | 2050 | /***/ }), |
| 1709 | 2051 | |
| 1710 | -/***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js": | |
| 1711 | -/*!***********************************************************************!*\ | |
| 1712 | - !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! | |
| 1713 | - \***********************************************************************/ | |
| 1714 | -/***/ ((module) => { | |
| 2052 | +/***/ "../modules/nested-accordion/assets/js/frontend/handlers/nested-accordion-title-keyboard-handler.js": | |
| 2053 | +/*!**********************************************************************************************************!*\ | |
| 2054 | + !*** ../modules/nested-accordion/assets/js/frontend/handlers/nested-accordion-title-keyboard-handler.js ***! | |
| 2055 | + \**********************************************************************************************************/ | |
| 2056 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1715 | 2057 | |
| 1716 | -function _interopRequireDefault(e) { | |
| 1717 | - return e && e.__esModule ? e : { | |
| 1718 | - "default": e | |
| 1719 | - }; | |
| 2058 | +"use strict"; | |
| 2059 | + | |
| 2060 | + | |
| 2061 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 2062 | +Object.defineProperty(exports, "__esModule", ({ | |
| 2063 | + value: true | |
| 2064 | +})); | |
| 2065 | +exports["default"] = void 0; | |
| 2066 | +var _nestedTitleKeyboardHandler = _interopRequireDefault(__webpack_require__(/*! elementor-assets-js/frontend/handlers/accessibility/nested-title-keyboard-handler */ "../assets/dev/js/frontend/handlers/accessibility/nested-title-keyboard-handler.js")); | |
| 2067 | +class NestedAccordionTitleKeyboardHandler extends _nestedTitleKeyboardHandler.default { | |
| 2068 | + __construct() { | |
| 2069 | + super.__construct(...arguments); | |
| 2070 | + const config = arguments.length <= 0 ? undefined : arguments[0]; | |
| 2071 | + this.toggleTitle = config.toggleTitle; | |
| 2072 | + } | |
| 2073 | + getDefaultSettings() { | |
| 2074 | + const parentSettings = super.getDefaultSettings(); | |
| 2075 | + return { | |
| 2076 | + ...parentSettings, | |
| 2077 | + selectors: { | |
| 2078 | + itemTitle: '.e-n-accordion-item-title', | |
| 2079 | + itemContainer: '.e-n-accordion-item > .e-con' | |
| 2080 | + }, | |
| 2081 | + ariaAttributes: { | |
| 2082 | + titleStateAttribute: 'aria-expanded', | |
| 2083 | + activeTitleSelector: '[aria-expanded="true"]' | |
| 2084 | + }, | |
| 2085 | + datasets: { | |
| 2086 | + titleIndex: 'data-accordion-index' | |
| 2087 | + } | |
| 2088 | + }; | |
| 2089 | + } | |
| 2090 | + handeTitleLinkEnterOrSpaceEvent(event) { | |
| 2091 | + this.toggleTitle(event); | |
| 2092 | + } | |
| 2093 | + handleContentElementEscapeEvents(event) { | |
| 2094 | + this.getActiveTitleElement().trigger('focus'); | |
| 2095 | + this.toggleTitle(event); | |
| 2096 | + } | |
| 2097 | + handleTitleEscapeKeyEvents(event) { | |
| 2098 | + const detailsNode = event?.currentTarget?.parentElement, | |
| 2099 | + isOpen = detailsNode?.open; | |
| 2100 | + if (isOpen) { | |
| 2101 | + this.toggleTitle(event); | |
| 2102 | + } | |
| 2103 | + } | |
| 1720 | 2104 | } |
| 1721 | -module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2105 | +exports["default"] = NestedAccordionTitleKeyboardHandler; | |
| 1722 | 2106 | |
| 1723 | 2107 | /***/ }), |
| 1724 | 2108 | |
| 2109 | +/***/ "../modules/nested-accordion/assets/js/frontend/handlers/nested-accordion.js": | |
| 2110 | +/*!***********************************************************************************!*\ | |
| 2111 | + !*** ../modules/nested-accordion/assets/js/frontend/handlers/nested-accordion.js ***! | |
| 2112 | + \***********************************************************************************/ | |
| 2113 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 2114 | + | |
| 2115 | +"use strict"; | |
| 2116 | + | |
| 2117 | + | |
| 2118 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 2119 | +Object.defineProperty(exports, "__esModule", ({ | |
| 2120 | + value: true | |
| 2121 | +})); | |
| 2122 | +exports["default"] = void 0; | |
| 2123 | +var _base = _interopRequireDefault(__webpack_require__(/*! elementor-frontend/handlers/base */ "../assets/dev/js/frontend/handlers/base.js")); | |
| 2124 | +var _nestedAccordionTitleKeyboardHandler = _interopRequireDefault(__webpack_require__(/*! ./nested-accordion-title-keyboard-handler */ "../modules/nested-accordion/assets/js/frontend/handlers/nested-accordion-title-keyboard-handler.js")); | |
| 2125 | +class NestedAccordion extends _base.default { | |
| 2126 | + constructor() { | |
| 2127 | + super(...arguments); | |
| 2128 | + this.animations = new Map(); | |
| 2129 | + } | |
| 2130 | + getDefaultSettings() { | |
| 2131 | + return { | |
| 2132 | + selectors: { | |
| 2133 | + accordion: '.e-n-accordion', | |
| 2134 | + accordionContentContainers: '.e-n-accordion > .e-con', | |
| 2135 | + accordionItems: '.e-n-accordion-item', | |
| 2136 | + accordionItemTitles: '.e-n-accordion-item-title', | |
| 2137 | + accordionItemTitlesText: '.e-n-accordion-item-title-text', | |
| 2138 | + accordionContent: '.e-n-accordion-item > .e-con', | |
| 2139 | + directAccordionItems: ':scope > .e-n-accordion-item', | |
| 2140 | + directAccordionItemTitles: ':scope > .e-n-accordion-item > .e-n-accordion-item-title' | |
| 2141 | + }, | |
| 2142 | + default_state: 'expanded', | |
| 2143 | + attributes: { | |
| 2144 | + index: 'data-accordion-index', | |
| 2145 | + ariaLabelledBy: 'aria-labelledby' | |
| 2146 | + } | |
| 2147 | + }; | |
| 2148 | + } | |
| 2149 | + getDefaultElements() { | |
| 2150 | + const selectors = this.getSettings('selectors'); | |
| 2151 | + return { | |
| 2152 | + $accordion: this.findElement(selectors.accordion), | |
| 2153 | + $contentContainers: this.findElement(selectors.accordionContentContainers), | |
| 2154 | + $accordionItems: this.findElement(selectors.accordionItems), | |
| 2155 | + $accordionTitles: this.findElement(selectors.accordionItemTitles), | |
| 2156 | + $accordionContent: this.findElement(selectors.accordionContent) | |
| 2157 | + }; | |
| 2158 | + } | |
| 2159 | + onInit() { | |
| 2160 | + super.onInit(...arguments); | |
| 2161 | + if (elementorFrontend.isEditMode()) { | |
| 2162 | + this.interlaceContainers(); | |
| 2163 | + } | |
| 2164 | + this.injectKeyboardHandler(); | |
| 2165 | + } | |
| 2166 | + injectKeyboardHandler() { | |
| 2167 | + if ('nested-accordion.default' === this.getSettings('elementName')) { | |
| 2168 | + new _nestedAccordionTitleKeyboardHandler.default({ | |
| 2169 | + $element: this.$element, | |
| 2170 | + toggleTitle: this.clickListener.bind(this) | |
| 2171 | + }); | |
| 2172 | + } | |
| 2173 | + } | |
| 2174 | + interlaceContainers() { | |
| 2175 | + const { | |
| 2176 | + $contentContainers, | |
| 2177 | + $accordionItems | |
| 2178 | + } = this.getDefaultElements(); | |
| 2179 | + $contentContainers.each((index, element) => { | |
| 2180 | + $accordionItems[index].appendChild(element); | |
| 2181 | + }); | |
| 2182 | + } | |
| 2183 | + linkContainer(event) { | |
| 2184 | + const { | |
| 2185 | + container, | |
| 2186 | + index, | |
| 2187 | + targetContainer, | |
| 2188 | + action: { | |
| 2189 | + type | |
| 2190 | + } | |
| 2191 | + } = event.detail, | |
| 2192 | + view = container.view.$el, | |
| 2193 | + id = container.model.get('id'), | |
| 2194 | + currentId = this.$element.data('id'); | |
| 2195 | + if (id === currentId) { | |
| 2196 | + const { | |
| 2197 | + $accordionItems | |
| 2198 | + } = this.getDefaultElements(); | |
| 2199 | + let accordionItem, contentContainer; | |
| 2200 | + switch (type) { | |
| 2201 | + case 'move': | |
| 2202 | + [accordionItem, contentContainer] = this.move(view, index, targetContainer, $accordionItems); | |
| 2203 | + break; | |
| 2204 | + case 'duplicate': | |
| 2205 | + [accordionItem, contentContainer] = this.duplicate(view, index, targetContainer, $accordionItems); | |
| 2206 | + break; | |
| 2207 | + default: | |
| 2208 | + break; | |
| 2209 | + } | |
| 2210 | + if (undefined !== accordionItem) { | |
| 2211 | + accordionItem.appendChild(contentContainer); | |
| 2212 | + } | |
| 2213 | + this.updateIndexValues(); | |
| 2214 | + this.updateListeners(view); | |
| 2215 | + elementor.$preview[0].contentWindow.dispatchEvent(new CustomEvent('elementor/elements/link-data-bindings')); | |
| 2216 | + } | |
| 2217 | + } | |
| 2218 | + move(view, index, targetContainer, accordionItems) { | |
| 2219 | + return [accordionItems[index], targetContainer.view.$el[0]]; | |
| 2220 | + } | |
| 2221 | + duplicate(view, index, targetContainer, accordionItems) { | |
| 2222 | + return [accordionItems[index + 1], targetContainer.view.$el[0]]; | |
| 2223 | + } | |
| 2224 | + updateIndexValues() { | |
| 2225 | + const { | |
| 2226 | + $accordionContent, | |
| 2227 | + $accordionItems | |
| 2228 | + } = this.getDefaultElements(), | |
| 2229 | + settings = this.getSettings(), | |
| 2230 | + itemIdBase = $accordionItems[0].getAttribute('id').slice(0, -1); | |
| 2231 | + $accordionItems.each((index, element) => { | |
| 2232 | + element.setAttribute('id', `${itemIdBase}${index}`); | |
| 2233 | + element.querySelector(settings.selectors.accordionItemTitles).setAttribute(settings.attributes.index, index + 1); | |
| 2234 | + element.querySelector(settings.selectors.accordionItemTitles).setAttribute('aria-controls', `${itemIdBase}${index}`); | |
| 2235 | + element.querySelector(settings.selectors.accordionItemTitlesText).setAttribute('data-binding-index', index + 1); | |
| 2236 | + $accordionContent[index].setAttribute(settings.attributes.ariaLabelledBy, `${itemIdBase}${index}`); | |
| 2237 | + }); | |
| 2238 | + } | |
| 2239 | + updateListeners(view) { | |
| 2240 | + this.elements.$accordionTitles = view.find(this.getSettings('selectors.accordionItemTitles')); | |
| 2241 | + this.elements.$accordionItems = view.find(this.getSettings('selectors.accordionItems')); | |
| 2242 | + this.elements.$accordionTitles.on('click', this.clickListener.bind(this)); | |
| 2243 | + } | |
| 2244 | + bindEvents() { | |
| 2245 | + this.elements.$accordionTitles.on('click', this.clickListener.bind(this)); | |
| 2246 | + elementorFrontend.elements.$window.on('elementor/nested-container/atomic-repeater', this.linkContainer.bind(this)); | |
| 2247 | + } | |
| 2248 | + unbindEvents() { | |
| 2249 | + this.elements.$accordionTitles.off(); | |
| 2250 | + } | |
| 2251 | + clickListener(event) { | |
| 2252 | + event.preventDefault(); | |
| 2253 | + this.elements = this.getDefaultElements(); | |
| 2254 | + const settings = this.getSettings(), | |
| 2255 | + accordionItem = event?.currentTarget?.closest(settings.selectors.accordionItems), | |
| 2256 | + accordion = event?.currentTarget?.closest(settings.selectors.accordion), | |
| 2257 | + itemSummary = accordionItem.querySelector(settings.selectors.accordionItemTitles), | |
| 2258 | + accordionContent = accordionItem.querySelector(settings.selectors.accordionContent), | |
| 2259 | + { | |
| 2260 | + max_items_expended: maxItemsExpended | |
| 2261 | + } = this.getElementSettings(), | |
| 2262 | + directAccordionItems = accordion.querySelectorAll(settings.selectors.directAccordionItems), | |
| 2263 | + directAccordionItemTitles = accordion.querySelectorAll(settings.selectors.directAccordionItemTitles); | |
| 2264 | + if ('one' === maxItemsExpended) { | |
| 2265 | + this.closeAllItems(directAccordionItems, directAccordionItemTitles); | |
| 2266 | + } | |
| 2267 | + if (!accordionItem.open) { | |
| 2268 | + this.prepareOpenAnimation(accordionItem, itemSummary, accordionContent); | |
| 2269 | + } else { | |
| 2270 | + this.closeAccordionItem(accordionItem, itemSummary); | |
| 2271 | + } | |
| 2272 | + } | |
| 2273 | + animateItem(accordionItem, startHeight, endHeight, isOpen) { | |
| 2274 | + accordionItem.style.overflow = 'hidden'; | |
| 2275 | + let animation = this.animations.get(accordionItem); | |
| 2276 | + if (animation) { | |
| 2277 | + animation.cancel(); | |
| 2278 | + } | |
| 2279 | + animation = accordionItem.animate({ | |
| 2280 | + height: [startHeight, endHeight] | |
| 2281 | + }, { | |
| 2282 | + duration: this.getAnimationDuration() | |
| 2283 | + }); | |
| 2284 | + animation.onfinish = () => this.onAnimationFinish(accordionItem, isOpen); | |
| 2285 | + this.animations.set(accordionItem, animation); | |
| 2286 | + accordionItem.querySelector('summary')?.setAttribute('aria-expanded', isOpen); | |
| 2287 | + } | |
| 2288 | + closeAccordionItem(accordionItem, accordionItemTitle) { | |
| 2289 | + const startHeight = `${accordionItem.offsetHeight}px`, | |
| 2290 | + endHeight = `${accordionItemTitle.offsetHeight}px`; | |
| 2291 | + this.animateItem(accordionItem, startHeight, endHeight, false); | |
| 2292 | + } | |
| 2293 | + prepareOpenAnimation(accordionItem, accordionItemTitle, accordionItemContent) { | |
| 2294 | + accordionItem.style.overflow = 'hidden'; | |
| 2295 | + accordionItem.style.height = `${accordionItem.offsetHeight}px`; | |
| 2296 | + accordionItem.open = true; | |
| 2297 | + window.requestAnimationFrame(() => this.openAccordionItem(accordionItem, accordionItemTitle, accordionItemContent)); | |
| 2298 | + } | |
| 2299 | + openAccordionItem(accordionItem, accordionItemTitle, accordionItemContent) { | |
| 2300 | + const startHeight = `${accordionItem.offsetHeight}px`, | |
| 2301 | + endHeight = `${accordionItemTitle.offsetHeight + accordionItemContent.offsetHeight}px`; | |
| 2302 | + this.animateItem(accordionItem, startHeight, endHeight, true); | |
| 2303 | + } | |
| 2304 | + onAnimationFinish(accordionItem, isOpen) { | |
| 2305 | + accordionItem.open = isOpen; | |
| 2306 | + this.animations.set(accordionItem, null); | |
| 2307 | + accordionItem.style.height = accordionItem.style.overflow = ''; | |
| 2308 | + } | |
| 2309 | + closeAllItems(items, titles) { | |
| 2310 | + titles.forEach((title, index) => { | |
| 2311 | + this.closeAccordionItem(items[index], title); | |
| 2312 | + }); | |
| 2313 | + } | |
| 2314 | + getAnimationDuration() { | |
| 2315 | + const { | |
| 2316 | + size, | |
| 2317 | + unit | |
| 2318 | + } = this.getElementSettings('n_accordion_animation_duration'); | |
| 2319 | + return size * ('ms' === unit ? 1 : 1000); | |
| 2320 | + } | |
| 2321 | +} | |
| 2322 | +exports["default"] = NestedAccordion; | |
| 2323 | + | |
| 2324 | +/***/ }), | |
| 2325 | + | |
| 2326 | +/***/ "../modules/nested-tabs/assets/js/frontend/handlers/nested-tabs.js": | |
| 2327 | +/*!*************************************************************************!*\ | |
| 2328 | + !*** ../modules/nested-tabs/assets/js/frontend/handlers/nested-tabs.js ***! | |
| 2329 | + \*************************************************************************/ | |
| 2330 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 2331 | + | |
| 2332 | +"use strict"; | |
| 2333 | + | |
| 2334 | + | |
| 2335 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 2336 | +Object.defineProperty(exports, "__esModule", ({ | |
| 2337 | + value: true | |
| 2338 | +})); | |
| 2339 | +exports["default"] = void 0; | |
| 2340 | +var _base = _interopRequireDefault(__webpack_require__(/*! elementor-frontend/handlers/base */ "../assets/dev/js/frontend/handlers/base.js")); | |
| 2341 | +var _flexHorizontalScroll = __webpack_require__(/*! elementor-frontend-utils/flex-horizontal-scroll */ "../assets/dev/js/frontend/utils/flex-horizontal-scroll.js"); | |
| 2342 | +class NestedTabs extends _base.default { | |
| 2343 | + constructor() { | |
| 2344 | + super(...arguments); | |
| 2345 | + this.resizeListenerNestedTabs = null; | |
| 2346 | + } | |
| 2347 | + | |
| 2348 | + /** | |
| 2349 | + * @param {string|number} tabIndex | |
| 2350 | + * | |
| 2351 | + * @return {string} | |
| 2352 | + */ | |
| 2353 | + getTabTitleFilterSelector(tabIndex) { | |
| 2354 | + return `[data-tab-index="${tabIndex}"]`; | |
| 2355 | + } | |
| 2356 | + | |
| 2357 | + /** | |
| 2358 | + * @param {string|number} tabIndex | |
| 2359 | + * | |
| 2360 | + * @return {string} | |
| 2361 | + */ | |
| 2362 | + getTabContentFilterSelector(tabIndex) { | |
| 2363 | + return `*:nth-child(${tabIndex})`; | |
| 2364 | + } | |
| 2365 | + | |
| 2366 | + /** | |
| 2367 | + * @param {HTMLElement} tabTitleElement | |
| 2368 | + * | |
| 2369 | + * @return {string} | |
| 2370 | + */ | |
| 2371 | + getTabIndex(tabTitleElement) { | |
| 2372 | + return tabTitleElement.getAttribute('data-tab-index'); | |
| 2373 | + } | |
| 2374 | + getDefaultSettings() { | |
| 2375 | + return { | |
| 2376 | + selectors: { | |
| 2377 | + widgetContainer: '.e-n-tabs', | |
| 2378 | + tabTitle: '.e-n-tab-title', | |
| 2379 | + tabTitleText: '.e-n-tab-title-text', | |
| 2380 | + tabContent: '.e-n-tabs-content > .e-con', | |
| 2381 | + headingContainer: '.e-n-tabs-heading', | |
| 2382 | + activeTabContentContainers: '.e-con.e-active' | |
| 2383 | + }, | |
| 2384 | + classes: { | |
| 2385 | + active: 'e-active' | |
| 2386 | + }, | |
| 2387 | + ariaAttributes: { | |
| 2388 | + titleStateAttribute: 'aria-selected', | |
| 2389 | + activeTitleSelector: '[aria-selected="true"]' | |
| 2390 | + }, | |
| 2391 | + showTabFn: 'show', | |
| 2392 | + hideTabFn: 'hide', | |
| 2393 | + toggleSelf: false, | |
| 2394 | + hidePrevious: true, | |
| 2395 | + autoExpand: true | |
| 2396 | + }; | |
| 2397 | + } | |
| 2398 | + getDefaultElements() { | |
| 2399 | + const selectors = this.getSettings('selectors'); | |
| 2400 | + return { | |
| 2401 | + $wdigetContainer: this.findElement(selectors.widgetContainer), | |
| 2402 | + $tabTitles: this.findElement(selectors.tabTitle), | |
| 2403 | + $tabContents: this.findElement(selectors.tabContent), | |
| 2404 | + $headingContainer: this.findElement(selectors.headingContainer) | |
| 2405 | + }; | |
| 2406 | + } | |
| 2407 | + getKeyboardNavigationSettings() { | |
| 2408 | + return this.getSettings(); | |
| 2409 | + } | |
| 2410 | + activateDefaultTab() { | |
| 2411 | + const settings = this.getSettings(); | |
| 2412 | + const defaultActiveTab = this.getEditSettings('activeItemIndex') || 1, | |
| 2413 | + originalToggleMethods = { | |
| 2414 | + showTabFn: settings.showTabFn, | |
| 2415 | + hideTabFn: settings.hideTabFn | |
| 2416 | + }; | |
| 2417 | + | |
| 2418 | + // Toggle tabs without animation to avoid jumping | |
| 2419 | + this.setSettings({ | |
| 2420 | + showTabFn: 'show', | |
| 2421 | + hideTabFn: 'hide' | |
| 2422 | + }); | |
| 2423 | + this.changeActiveTab(defaultActiveTab); | |
| 2424 | + | |
| 2425 | + // Return back original toggle effects | |
| 2426 | + this.setSettings(originalToggleMethods); | |
| 2427 | + this.elements.$wdigetContainer.addClass('e-activated'); | |
| 2428 | + } | |
| 2429 | + deactivateActiveTab(newTabIndex) { | |
| 2430 | + const settings = this.getSettings(), | |
| 2431 | + activeClass = settings.classes.active, | |
| 2432 | + activeTitleFilter = settings.ariaAttributes.activeTitleSelector, | |
| 2433 | + activeContentFilter = '.' + activeClass, | |
| 2434 | + $activeTitle = this.elements.$tabTitles.filter(activeTitleFilter), | |
| 2435 | + $activeContent = this.elements.$tabContents.filter(activeContentFilter); | |
| 2436 | + this.setTabDeactivationAttributes($activeTitle, newTabIndex); | |
| 2437 | + $activeContent.removeClass(activeClass); | |
| 2438 | + $activeContent[settings.hideTabFn](0, () => this.onHideTabContent($activeContent)); | |
| 2439 | + return $activeContent; | |
| 2440 | + } | |
| 2441 | + getTitleActivationAttributes() { | |
| 2442 | + const titleStateAttribute = this.getSettings('ariaAttributes').titleStateAttribute; | |
| 2443 | + return { | |
| 2444 | + tabindex: '0', | |
| 2445 | + [titleStateAttribute]: 'true' | |
| 2446 | + }; | |
| 2447 | + } | |
| 2448 | + setTabDeactivationAttributes($activeTitle) { | |
| 2449 | + const titleStateAttribute = this.getSettings('ariaAttributes').titleStateAttribute; | |
| 2450 | + $activeTitle.attr({ | |
| 2451 | + tabindex: '-1', | |
| 2452 | + [titleStateAttribute]: 'false' | |
| 2453 | + }); | |
| 2454 | + } | |
| 2455 | + onHideTabContent() {} | |
| 2456 | + activateTab(tabIndex) { | |
| 2457 | + const settings = this.getSettings(), | |
| 2458 | + activeClass = settings.classes.active, | |
| 2459 | + animationDuration = 'show' === settings.showTabFn ? 0 : 400; | |
| 2460 | + let $requestedTitle = this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(tabIndex)), | |
| 2461 | + $requestedContent = this.elements.$tabContents.filter(this.getTabContentFilterSelector(tabIndex)); | |
| 2462 | + | |
| 2463 | + // Check if the tabIndex exists. | |
| 2464 | + if (!$requestedTitle.length) { | |
| 2465 | + // Activate the previous tab and ensure that the tab index is not less than 1. | |
| 2466 | + const previousTabIndex = Math.max(tabIndex - 1, 1); | |
| 2467 | + $requestedTitle = this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(previousTabIndex)); | |
| 2468 | + $requestedContent = this.elements.$tabContents.filter(this.getTabContentFilterSelector(previousTabIndex)); | |
| 2469 | + } | |
| 2470 | + $requestedTitle.attr(this.getTitleActivationAttributes()); | |
| 2471 | + $requestedContent.addClass(activeClass); | |
| 2472 | + $requestedContent[settings.showTabFn](animationDuration, () => this.onShowTabContent($requestedContent)); | |
| 2473 | + } | |
| 2474 | + onShowTabContent($requestedContent) { | |
| 2475 | + elementorFrontend.elements.$window.trigger('elementor-pro/motion-fx/recalc'); | |
| 2476 | + elementorFrontend.elements.$window.trigger('elementor/nested-tabs/activate', $requestedContent); | |
| 2477 | + elementorFrontend.elements.$window.trigger('elementor/bg-video/recalc'); | |
| 2478 | + } | |
| 2479 | + isActiveTab(tabIndex) { | |
| 2480 | + return 'true' === this.elements.$tabTitles.filter('[data-tab-index="' + tabIndex + '"]').attr(this.getSettings('ariaAttributes').titleStateAttribute); | |
| 2481 | + } | |
| 2482 | + onTabClick(event) { | |
| 2483 | + event.preventDefault(); | |
| 2484 | + this.changeActiveTab(event.currentTarget?.getAttribute('data-tab-index'), true); | |
| 2485 | + } | |
| 2486 | + getTabEvents() { | |
| 2487 | + return { | |
| 2488 | + click: this.onTabClick.bind(this) | |
| 2489 | + }; | |
| 2490 | + } | |
| 2491 | + getHeadingEvents() { | |
| 2492 | + const navigationWrapper = this.elements.$headingContainer[0]; | |
| 2493 | + return { | |
| 2494 | + mousedown: _flexHorizontalScroll.changeScrollStatus.bind(this, navigationWrapper), | |
| 2495 | + mouseup: _flexHorizontalScroll.changeScrollStatus.bind(this, navigationWrapper), | |
| 2496 | + mouseleave: _flexHorizontalScroll.changeScrollStatus.bind(this, navigationWrapper), | |
| 2497 | + mousemove: _flexHorizontalScroll.setHorizontalTitleScrollValues.bind(this, navigationWrapper, this.getHorizontalScrollSetting()) | |
| 2498 | + }; | |
| 2499 | + } | |
| 2500 | + bindEvents() { | |
| 2501 | + this.elements.$tabTitles.on(this.getTabEvents()); | |
| 2502 | + this.elements.$headingContainer.on(this.getHeadingEvents()); | |
| 2503 | + const settingsObject = { | |
| 2504 | + element: this.elements.$headingContainer[0], | |
| 2505 | + direction: this.getTabsDirection(), | |
| 2506 | + justifyCSSVariable: '--n-tabs-heading-justify-content', | |
| 2507 | + horizontalScrollStatus: this.getHorizontalScrollSetting() | |
| 2508 | + }; | |
| 2509 | + this.resizeListenerNestedTabs = _flexHorizontalScroll.setHorizontalScrollAlignment.bind(this, settingsObject); | |
| 2510 | + elementorFrontend.elements.$window.on('resize', this.resizeListenerNestedTabs); | |
| 2511 | + elementorFrontend.elements.$window.on('resize', this.setTouchMode.bind(this)); | |
| 2512 | + elementorFrontend.elements.$window.on('elementor/nested-tabs/activate', this.reInitSwipers); | |
| 2513 | + elementorFrontend.elements.$window.on('elementor/nested-elements/activate-by-keyboard', this.changeActiveTabByKeyboard.bind(this)); | |
| 2514 | + elementorFrontend.elements.$window.on('elementor/nested-container/atomic-repeater', this.linkContainer.bind(this)); | |
| 2515 | + } | |
| 2516 | + unbindEvents() { | |
| 2517 | + this.elements.$tabTitles.off(); | |
| 2518 | + this.elements.$headingContainer.off(); | |
| 2519 | + this.elements.$tabContents.children().off(); | |
| 2520 | + elementorFrontend.elements.$window.off('resize'); | |
| 2521 | + elementorFrontend.elements.$window.off('elementor/nested-tabs/activate'); | |
| 2522 | + } | |
| 2523 | + | |
| 2524 | + /** | |
| 2525 | + * Fixes issues where Swipers that have been initialized while a tab is not visible are not properly rendered | |
| 2526 | + * and when switching to the tab the swiper will not respect any of the chosen `autoplay` related settings. | |
| 2527 | + * | |
| 2528 | + * This is triggered when switching to a nested tab, looks for Swipers in the tab content and reinitializes them. | |
| 2529 | + * | |
| 2530 | + * @param {Object} event - Incoming event. | |
| 2531 | + * @param {Object} content - Active nested tab dom element. | |
| 2532 | + */ | |
| 2533 | + reInitSwipers(event, content) { | |
| 2534 | + const swiperElements = content.querySelectorAll(`.${elementorFrontend.config.swiperClass}`); | |
| 2535 | + for (const element of swiperElements) { | |
| 2536 | + if (!element.swiper) { | |
| 2537 | + return; | |
| 2538 | + } | |
| 2539 | + element.swiper.initialized = false; | |
| 2540 | + element.swiper.init(); | |
| 2541 | + } | |
| 2542 | + } | |
| 2543 | + onInit() { | |
| 2544 | + super.onInit(...arguments); | |
| 2545 | + if (this.getSettings('autoExpand')) { | |
| 2546 | + this.activateDefaultTab(); | |
| 2547 | + } | |
| 2548 | + const settingsObject = { | |
| 2549 | + element: this.elements.$headingContainer[0], | |
| 2550 | + direction: this.getTabsDirection(), | |
| 2551 | + justifyCSSVariable: '--n-tabs-heading-justify-content', | |
| 2552 | + horizontalScrollStatus: this.getHorizontalScrollSetting() | |
| 2553 | + }; | |
| 2554 | + (0, _flexHorizontalScroll.setHorizontalScrollAlignment)(settingsObject); | |
| 2555 | + this.setTouchMode(); | |
| 2556 | + if ('nested-tabs.default' === this.getSettings('elementName')) { | |
| 2557 | + new elementorModules.frontend.handlers.NestedTitleKeyboardHandler(this.getKeyboardNavigationSettings()); | |
| 2558 | + } | |
| 2559 | + } | |
| 2560 | + onEditSettingsChange(propertyName, value) { | |
| 2561 | + if ('activeItemIndex' === propertyName) { | |
| 2562 | + this.changeActiveTab(value, false); | |
| 2563 | + } | |
| 2564 | + } | |
| 2565 | + onElementChange(propertyName) { | |
| 2566 | + if (this.checkSliderPropsToWatch(propertyName)) { | |
| 2567 | + const settingsObject = { | |
| 2568 | + element: this.elements.$headingContainer[0], | |
| 2569 | + direction: this.getTabsDirection(), | |
| 2570 | + justifyCSSVariable: '--n-tabs-heading-justify-content', | |
| 2571 | + horizontalScrollStatus: this.getHorizontalScrollSetting() | |
| 2572 | + }; | |
| 2573 | + (0, _flexHorizontalScroll.setHorizontalScrollAlignment)(settingsObject); | |
| 2574 | + } | |
| 2575 | + } | |
| 2576 | + checkSliderPropsToWatch(propertyName) { | |
| 2577 | + return 0 === propertyName.indexOf('horizontal_scroll') || 'breakpoint_selector' === propertyName || 0 === propertyName.indexOf('tabs_justify_horizontal') || 0 === propertyName.indexOf('tabs_title_space_between'); | |
| 2578 | + } | |
| 2579 | + | |
| 2580 | + /** | |
| 2581 | + * @param {string} tabIndex | |
| 2582 | + * @param {boolean} fromUser - Whether the call is caused by the user or internal. | |
| 2583 | + */ | |
| 2584 | + changeActiveTab(tabIndex) { | |
| 2585 | + let fromUser = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; | |
| 2586 | + // `document/repeater/select` is used only in the editor, only when the element | |
| 2587 | + // is in the currently-edited document, and only when its not internal call, | |
| 2588 | + if (fromUser && this.isEdit && this.isElementInTheCurrentDocument()) { | |
| 2589 | + return window.top.$e.run('document/repeater/select', { | |
| 2590 | + container: elementor.getContainer(this.$element.attr('data-id')), | |
| 2591 | + index: parseInt(tabIndex) | |
| 2592 | + }); | |
| 2593 | + } | |
| 2594 | + const isActiveTab = this.isActiveTab(tabIndex), | |
| 2595 | + settings = this.getSettings(); | |
| 2596 | + if ((settings.toggleSelf || !isActiveTab) && settings.hidePrevious) { | |
| 2597 | + this.deactivateActiveTab(tabIndex); | |
| 2598 | + } | |
| 2599 | + if (!settings.hidePrevious && isActiveTab) { | |
| 2600 | + this.deactivateActiveTab(tabIndex); | |
| 2601 | + } | |
| 2602 | + if (!isActiveTab) { | |
| 2603 | + if (this.isAccordionVersion()) { | |
| 2604 | + this.activateMobileTab(tabIndex); | |
| 2605 | + return; | |
| 2606 | + } | |
| 2607 | + this.activateTab(tabIndex); | |
| 2608 | + } | |
| 2609 | + } | |
| 2610 | + changeActiveTabByKeyboard(event, settings) { | |
| 2611 | + if (settings.widgetId.toString() !== this.getID().toString()) { | |
| 2612 | + return; | |
| 2613 | + } | |
| 2614 | + this.changeActiveTab(settings.titleIndex, true); | |
| 2615 | + } | |
| 2616 | + activateMobileTab(tabIndex) { | |
| 2617 | + // Timeout time added to ensure that opening of the active tab starts after closing the other tab on Apple devices. | |
| 2618 | + setTimeout(() => { | |
| 2619 | + this.activateTab(tabIndex); | |
| 2620 | + this.forceActiveTabToBeInViewport(tabIndex); | |
| 2621 | + }, 10); | |
| 2622 | + } | |
| 2623 | + forceActiveTabToBeInViewport(tabIndex) { | |
| 2624 | + if (!elementorFrontend.isEditMode()) { | |
| 2625 | + return; | |
| 2626 | + } | |
| 2627 | + const $activeTabTitle = this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(tabIndex)); | |
| 2628 | + if (!elementor.helpers.isInViewport($activeTabTitle[0])) { | |
| 2629 | + $activeTabTitle[0].scrollIntoView({ | |
| 2630 | + block: 'center' | |
| 2631 | + }); | |
| 2632 | + } | |
| 2633 | + } | |
| 2634 | + getActiveClass() { | |
| 2635 | + const settings = this.getSettings(); | |
| 2636 | + return settings.classes.active; | |
| 2637 | + } | |
| 2638 | + getTabsDirection() { | |
| 2639 | + const currentDevice = elementorFrontend.getCurrentDeviceMode(); | |
| 2640 | + return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'tabs_justify_horizontal', '', currentDevice); | |
| 2641 | + } | |
| 2642 | + getHorizontalScrollSetting() { | |
| 2643 | + const currentDevice = elementorFrontend.getCurrentDeviceMode(); | |
| 2644 | + return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'horizontal_scroll', '', currentDevice); | |
| 2645 | + } | |
| 2646 | + isAccordionVersion() { | |
| 2647 | + return 'contents' === this.elements.$headingContainer.css('display'); | |
| 2648 | + } | |
| 2649 | + setTouchMode() { | |
| 2650 | + const widgetSelector = this.getSettings('selectors').widgetContainer; | |
| 2651 | + if (elementorFrontend.isEditMode() || 'resize' === event?.type) { | |
| 2652 | + const responsiveDevices = ['mobile', 'mobile_extra', 'tablet', 'tablet_extra'], | |
| 2653 | + currentDevice = elementorFrontend.getCurrentDeviceMode(); | |
| 2654 | + if (-1 !== responsiveDevices.indexOf(currentDevice)) { | |
| 2655 | + this.$element.find(widgetSelector).attr('data-touch-mode', 'true'); | |
| 2656 | + return; | |
| 2657 | + } | |
| 2658 | + } else if ('ontouchstart' in window) { | |
| 2659 | + this.$element.find(widgetSelector).attr('data-touch-mode', 'true'); | |
| 2660 | + return; | |
| 2661 | + } | |
| 2662 | + this.$element.find(widgetSelector).attr('data-touch-mode', 'false'); | |
| 2663 | + } | |
| 2664 | + linkContainer(event) { | |
| 2665 | + const { | |
| 2666 | + container | |
| 2667 | + } = event.detail, | |
| 2668 | + id = container.model.get('id'), | |
| 2669 | + currentId = this.$element.data('id'); | |
| 2670 | + if (id === currentId) { | |
| 2671 | + this.updateIndexValues(); | |
| 2672 | + this.updateListeners(); | |
| 2673 | + elementor.$preview[0].contentWindow.dispatchEvent(new CustomEvent('elementor/elements/link-data-bindings')); | |
| 2674 | + } | |
| 2675 | + } | |
| 2676 | + updateListeners() { | |
| 2677 | + elementorFrontend.elementsHandler.runReadyTrigger(this.$element[0]); | |
| 2678 | + } | |
| 2679 | + updateIndexValues() { | |
| 2680 | + const { | |
| 2681 | + $tabContents, | |
| 2682 | + $tabTitles | |
| 2683 | + } = this.getDefaultElements(), | |
| 2684 | + settings = this.getSettings(), | |
| 2685 | + itemIdBase = $tabTitles[0].getAttribute('id').slice(0, -1), | |
| 2686 | + containerIdBase = $tabContents[0].getAttribute('id').slice(0, -1); | |
| 2687 | + $tabTitles.each((index, element) => { | |
| 2688 | + const newIndex = index + 1, | |
| 2689 | + updatedTabID = itemIdBase + newIndex, | |
| 2690 | + updatedContainerID = containerIdBase + newIndex; | |
| 2691 | + element.setAttribute('id', updatedTabID); | |
| 2692 | + element.setAttribute('style', `--n-tabs-title-order: ${newIndex}`); | |
| 2693 | + element.setAttribute('data-tab-index', newIndex); | |
| 2694 | + element.querySelector(settings.selectors.tabTitleText).setAttribute('data-binding-index', newIndex); | |
| 2695 | + element.querySelector(settings.selectors.tabTitleText).setAttribute('aria-controls', updatedTabID); | |
| 2696 | + $tabContents[index].setAttribute('aria-labelledby', updatedTabID); | |
| 2697 | + $tabContents[index].setAttribute('data-tab-index', updatedTabID); | |
| 2698 | + $tabContents[index].setAttribute('id', updatedContainerID); | |
| 2699 | + $tabContents[index].setAttribute('style', `--n-tabs-title-order: ${newIndex}`); | |
| 2700 | + }); | |
| 2701 | + } | |
| 2702 | +} | |
| 2703 | +exports["default"] = NestedTabs; | |
| 2704 | + | |
| 2705 | +/***/ }), | |
| 2706 | + | |
| 1725 | 2707 | /***/ "../node_modules/core-js/internals/a-callable.js": |
| 1726 | 2708 | /*!*******************************************************!*\ |
| 1727 | 2709 | !*** ../node_modules/core-js/internals/a-callable.js ***! |
| 1728 | 2710 | \*******************************************************/ |
| @@ -1737,29 +2719,30 @@ | ||
| 1737 | 2719 | |
| 1738 | 2720 | // `Assert: IsCallable(argument) is true` |
| 1739 | 2721 | module.exports = function (argument) { |
| 1740 | 2722 | if (isCallable(argument)) return argument; |
| 1741 | - throw new $TypeError(tryToString(argument) + ' is not a function'); | |
| 2723 | + throw $TypeError(tryToString(argument) + ' is not a function'); | |
| 1742 | 2724 | }; |
| 1743 | 2725 | |
| 1744 | 2726 | |
| 1745 | 2727 | /***/ }), |
| 1746 | 2728 | |
| 1747 | -/***/ "../node_modules/core-js/internals/an-instance.js": | |
| 1748 | -/*!********************************************************!*\ | |
| 1749 | - !*** ../node_modules/core-js/internals/an-instance.js ***! | |
| 1750 | - \********************************************************/ | |
| 2729 | +/***/ "../node_modules/core-js/internals/a-possible-prototype.js": | |
| 2730 | +/*!*****************************************************************!*\ | |
| 2731 | + !*** ../node_modules/core-js/internals/a-possible-prototype.js ***! | |
| 2732 | + \*****************************************************************/ | |
| 1751 | 2733 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 1752 | 2734 | |
| 1753 | 2735 | "use strict"; |
| 1754 | 2736 | |
| 1755 | -var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js"); | |
| 2737 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 1756 | 2738 | |
| 2739 | +var $String = String; | |
| 1757 | 2740 | var $TypeError = TypeError; |
| 1758 | 2741 | |
| 1759 | -module.exports = function (it, Prototype) { | |
| 1760 | - if (isPrototypeOf(Prototype, it)) return it; | |
| 1761 | - throw new $TypeError('Incorrect invocation'); | |
| 2742 | +module.exports = function (argument) { | |
| 2743 | + if (typeof argument == 'object' || isCallable(argument)) return argument; | |
| 2744 | + throw $TypeError("Can't set " + $String(argument) + ' as a prototype'); | |
| 1762 | 2745 | }; |
| 1763 | 2746 | |
| 1764 | 2747 | |
| 1765 | 2748 | /***/ }), |
| @@ -1779,9 +2762,9 @@ | ||
| 1779 | 2762 | |
| 1780 | 2763 | // `Assert: Type(argument) is Object` |
| 1781 | 2764 | module.exports = function (argument) { |
| 1782 | 2765 | if (isObject(argument)) return argument; |
| 1783 | - throw new $TypeError($String(argument) + ' is not an object'); | |
| 2766 | + throw $TypeError($String(argument) + ' is not an object'); | |
| 1784 | 2767 | }; |
| 1785 | 2768 | |
| 1786 | 2769 | |
| 1787 | 2770 | /***/ }), |
| @@ -1802,17 +2785,16 @@ | ||
| 1802 | 2785 | var createMethod = function (IS_INCLUDES) { |
| 1803 | 2786 | return function ($this, el, fromIndex) { |
| 1804 | 2787 | var O = toIndexedObject($this); |
| 1805 | 2788 | var length = lengthOfArrayLike(O); |
| 1806 | - if (length === 0) return !IS_INCLUDES && -1; | |
| 1807 | 2789 | var index = toAbsoluteIndex(fromIndex, length); |
| 1808 | 2790 | var value; |
| 1809 | 2791 | // Array#includes uses SameValueZero equality algorithm |
| 1810 | 2792 | // eslint-disable-next-line no-self-compare -- NaN check |
| 1811 | - if (IS_INCLUDES && el !== el) while (length > index) { | |
| 2793 | + if (IS_INCLUDES && el != el) while (length > index) { | |
| 1812 | 2794 | value = O[index++]; |
| 1813 | 2795 | // eslint-disable-next-line no-self-compare -- NaN check |
| 1814 | - if (value !== value) return true; | |
| 2796 | + if (value != value) return true; | |
| 1815 | 2797 | // Array#indexOf ignores holes, Array#includes - not |
| 1816 | 2798 | } else for (;length > index; index++) { |
| 1817 | 2799 | if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; |
| 1818 | 2800 | } return !IS_INCLUDES && -1; |
| @@ -1830,69 +2812,8 @@ | ||
| 1830 | 2812 | |
| 1831 | 2813 | |
| 1832 | 2814 | /***/ }), |
| 1833 | 2815 | |
| 1834 | -/***/ "../node_modules/core-js/internals/array-set-length.js": | |
| 1835 | -/*!*************************************************************!*\ | |
| 1836 | - !*** ../node_modules/core-js/internals/array-set-length.js ***! | |
| 1837 | - \*************************************************************/ | |
| 1838 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1839 | - | |
| 1840 | -"use strict"; | |
| 1841 | - | |
| 1842 | -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); | |
| 1843 | -var isArray = __webpack_require__(/*! ../internals/is-array */ "../node_modules/core-js/internals/is-array.js"); | |
| 1844 | - | |
| 1845 | -var $TypeError = TypeError; | |
| 1846 | -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe | |
| 1847 | -var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
| 1848 | - | |
| 1849 | -// Safari < 13 does not throw an error in this case | |
| 1850 | -var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () { | |
| 1851 | - // makes no sense without proper strict mode support | |
| 1852 | - if (this !== undefined) return true; | |
| 1853 | - try { | |
| 1854 | - // eslint-disable-next-line es/no-object-defineproperty -- safe | |
| 1855 | - Object.defineProperty([], 'length', { writable: false }).length = 1; | |
| 1856 | - } catch (error) { | |
| 1857 | - return error instanceof TypeError; | |
| 1858 | - } | |
| 1859 | -}(); | |
| 1860 | - | |
| 1861 | -module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) { | |
| 1862 | - if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) { | |
| 1863 | - throw new $TypeError('Cannot set read only .length'); | |
| 1864 | - } return O.length = length; | |
| 1865 | -} : function (O, length) { | |
| 1866 | - return O.length = length; | |
| 1867 | -}; | |
| 1868 | - | |
| 1869 | - | |
| 1870 | -/***/ }), | |
| 1871 | - | |
| 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 | 2816 | /***/ "../node_modules/core-js/internals/classof-raw.js": |
| 1896 | 2817 | /*!********************************************************!*\ |
| 1897 | 2818 | !*** ../node_modules/core-js/internals/classof-raw.js ***! |
| 1898 | 2819 | \********************************************************/ |
| @@ -1928,9 +2849,9 @@ | ||
| 1928 | 2849 | var TO_STRING_TAG = wellKnownSymbol('toStringTag'); |
| 1929 | 2850 | var $Object = Object; |
| 1930 | 2851 | |
| 1931 | 2852 | // ES3 wrong here |
| 1932 | -var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments'; | |
| 2853 | +var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; | |
| 1933 | 2854 | |
| 1934 | 2855 | // fallback for IE11 Script Access Denied error |
| 1935 | 2856 | var tryGet = function (it, key) { |
| 1936 | 2857 | try { |
| @@ -1946,9 +2867,9 @@ | ||
| 1946 | 2867 | : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag |
| 1947 | 2868 | // builtinTag case |
| 1948 | 2869 | : CORRECT_ARGUMENTS ? classofRaw(O) |
| 1949 | 2870 | // ES3 arguments fallback |
| 1950 | - : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result; | |
| 2871 | + : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result; | |
| 1951 | 2872 | }; |
| 1952 | 2873 | |
| 1953 | 2874 | |
| 1954 | 2875 | /***/ }), |
| @@ -1980,45 +2901,8 @@ | ||
| 1980 | 2901 | |
| 1981 | 2902 | |
| 1982 | 2903 | /***/ }), |
| 1983 | 2904 | |
| 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 | 2905 | /***/ "../node_modules/core-js/internals/create-non-enumerable-property.js": |
| 2022 | 2906 | /*!***************************************************************************!*\ |
| 2023 | 2907 | !*** ../node_modules/core-js/internals/create-non-enumerable-property.js ***! |
| 2024 | 2908 | \***************************************************************************/ |
| @@ -2059,48 +2943,8 @@ | ||
| 2059 | 2943 | |
| 2060 | 2944 | |
| 2061 | 2945 | /***/ }), |
| 2062 | 2946 | |
| 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 | 2947 | /***/ "../node_modules/core-js/internals/define-built-in.js": |
| 2104 | 2948 | /*!************************************************************!*\ |
| 2105 | 2949 | !*** ../node_modules/core-js/internals/define-built-in.js ***! |
| 2106 | 2950 | \************************************************************/ |
| @@ -2138,26 +2982,8 @@ | ||
| 2138 | 2982 | |
| 2139 | 2983 | |
| 2140 | 2984 | /***/ }), |
| 2141 | 2985 | |
| 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 | 2986 | /***/ "../node_modules/core-js/internals/define-global-property.js": |
| 2161 | 2987 | /*!*******************************************************************!*\ |
| 2162 | 2988 | !*** ../node_modules/core-js/internals/define-global-property.js ***! |
| 2163 | 2989 | \*******************************************************************/ |
| @@ -2164,9 +2990,9 @@ | ||
| 2164 | 2990 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2165 | 2991 | |
| 2166 | 2992 | "use strict"; |
| 2167 | 2993 | |
| 2168 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 2994 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 2169 | 2995 | |
| 2170 | 2996 | // eslint-disable-next-line es/no-object-defineproperty -- safe |
| 2171 | 2997 | var defineProperty = Object.defineProperty; |
| 2172 | 2998 | |
| @@ -2171,11 +2997,11 @@ | ||
| 2171 | 2997 | var defineProperty = Object.defineProperty; |
| 2172 | 2998 | |
| 2173 | 2999 | module.exports = function (key, value) { |
| 2174 | 3000 | try { |
| 2175 | - defineProperty(globalThis, key, { value: value, configurable: true, writable: true }); | |
| 3001 | + defineProperty(global, key, { value: value, configurable: true, writable: true }); | |
| 2176 | 3002 | } catch (error) { |
| 2177 | - globalThis[key] = value; | |
| 3003 | + global[key] = value; | |
| 2178 | 3004 | } return value; |
| 2179 | 3005 | }; |
| 2180 | 3006 | |
| 2181 | 3007 | |
| @@ -2193,14 +3019,36 @@ | ||
| 2193 | 3019 | |
| 2194 | 3020 | // Detect IE8's incomplete defineProperty implementation |
| 2195 | 3021 | module.exports = !fails(function () { |
| 2196 | 3022 | // eslint-disable-next-line es/no-object-defineproperty -- required for testing |
| 2197 | - return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7; | |
| 3023 | + return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; | |
| 2198 | 3024 | }); |
| 2199 | 3025 | |
| 2200 | 3026 | |
| 2201 | 3027 | /***/ }), |
| 2202 | 3028 | |
| 3029 | +/***/ "../node_modules/core-js/internals/document-all.js": | |
| 3030 | +/*!*********************************************************!*\ | |
| 3031 | + !*** ../node_modules/core-js/internals/document-all.js ***! | |
| 3032 | + \*********************************************************/ | |
| 3033 | +/***/ ((module) => { | |
| 3034 | + | |
| 3035 | +"use strict"; | |
| 3036 | + | |
| 3037 | +var documentAll = typeof document == 'object' && document.all; | |
| 3038 | + | |
| 3039 | +// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot | |
| 3040 | +// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing | |
| 3041 | +var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined; | |
| 3042 | + | |
| 3043 | +module.exports = { | |
| 3044 | + all: documentAll, | |
| 3045 | + IS_HTMLDDA: IS_HTMLDDA | |
| 3046 | +}; | |
| 3047 | + | |
| 3048 | + | |
| 3049 | +/***/ }), | |
| 3050 | + | |
| 2203 | 3051 | /***/ "../node_modules/core-js/internals/document-create-element.js": |
| 2204 | 3052 | /*!********************************************************************!*\ |
| 2205 | 3053 | !*** ../node_modules/core-js/internals/document-create-element.js ***! |
| 2206 | 3054 | \********************************************************************/ |
| @@ -2207,12 +3055,12 @@ | ||
| 2207 | 3055 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2208 | 3056 | |
| 2209 | 3057 | "use strict"; |
| 2210 | 3058 | |
| 2211 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 3059 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 2212 | 3060 | var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); |
| 2213 | 3061 | |
| 2214 | -var document = globalThis.document; | |
| 3062 | +var document = global.document; | |
| 2215 | 3063 | // typeof document.createElement is 'object' in old IE |
| 2216 | 3064 | var EXISTS = isObject(document) && isObject(document.createElement); |
| 2217 | 3065 | |
| 2218 | 3066 | module.exports = function (it) { |
| @@ -2221,25 +3069,58 @@ | ||
| 2221 | 3069 | |
| 2222 | 3070 | |
| 2223 | 3071 | /***/ }), |
| 2224 | 3072 | |
| 2225 | -/***/ "../node_modules/core-js/internals/does-not-exceed-safe-integer.js": | |
| 2226 | -/*!*************************************************************************!*\ | |
| 2227 | - !*** ../node_modules/core-js/internals/does-not-exceed-safe-integer.js ***! | |
| 2228 | - \*************************************************************************/ | |
| 3073 | +/***/ "../node_modules/core-js/internals/engine-user-agent.js": | |
| 3074 | +/*!**************************************************************!*\ | |
| 3075 | + !*** ../node_modules/core-js/internals/engine-user-agent.js ***! | |
| 3076 | + \**************************************************************/ | |
| 2229 | 3077 | /***/ ((module) => { |
| 2230 | 3078 | |
| 2231 | 3079 | "use strict"; |
| 2232 | 3080 | |
| 2233 | -var $TypeError = TypeError; | |
| 2234 | -var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 | |
| 3081 | +module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; | |
| 2235 | 3082 | |
| 2236 | -module.exports = function (it) { | |
| 2237 | - if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded'); | |
| 2238 | - return it; | |
| 2239 | -}; | |
| 2240 | 3083 | |
| 3084 | +/***/ }), | |
| 2241 | 3085 | |
| 3086 | +/***/ "../node_modules/core-js/internals/engine-v8-version.js": | |
| 3087 | +/*!**************************************************************!*\ | |
| 3088 | + !*** ../node_modules/core-js/internals/engine-v8-version.js ***! | |
| 3089 | + \**************************************************************/ | |
| 3090 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3091 | + | |
| 3092 | +"use strict"; | |
| 3093 | + | |
| 3094 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 3095 | +var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ "../node_modules/core-js/internals/engine-user-agent.js"); | |
| 3096 | + | |
| 3097 | +var process = global.process; | |
| 3098 | +var Deno = global.Deno; | |
| 3099 | +var versions = process && process.versions || Deno && Deno.version; | |
| 3100 | +var v8 = versions && versions.v8; | |
| 3101 | +var match, version; | |
| 3102 | + | |
| 3103 | +if (v8) { | |
| 3104 | + match = v8.split('.'); | |
| 3105 | + // in old Chrome, versions of V8 isn't V8 = Chrome / 10 | |
| 3106 | + // but their correct versions are not interesting for us | |
| 3107 | + version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); | |
| 3108 | +} | |
| 3109 | + | |
| 3110 | +// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0` | |
| 3111 | +// so check `userAgent` even if `.v8` exists, but 0 | |
| 3112 | +if (!version && userAgent) { | |
| 3113 | + match = userAgent.match(/Edge\/(\d+)/); | |
| 3114 | + if (!match || match[1] >= 74) { | |
| 3115 | + match = userAgent.match(/Chrome\/(\d+)/); | |
| 3116 | + if (match) version = +match[1]; | |
| 3117 | + } | |
| 3118 | +} | |
| 3119 | + | |
| 3120 | +module.exports = version; | |
| 3121 | + | |
| 3122 | + | |
| 2242 | 3123 | /***/ }), |
| 2243 | 3124 | |
| 2244 | 3125 | /***/ "../node_modules/core-js/internals/enum-bug-keys.js": |
| 2245 | 3126 | /*!**********************************************************!*\ |
| @@ -2262,63 +3143,80 @@ | ||
| 2262 | 3143 | |
| 2263 | 3144 | |
| 2264 | 3145 | /***/ }), |
| 2265 | 3146 | |
| 2266 | -/***/ "../node_modules/core-js/internals/environment-user-agent.js": | |
| 2267 | -/*!*******************************************************************!*\ | |
| 2268 | - !*** ../node_modules/core-js/internals/environment-user-agent.js ***! | |
| 2269 | - \*******************************************************************/ | |
| 3147 | +/***/ "../node_modules/core-js/internals/error-stack-clear.js": | |
| 3148 | +/*!**************************************************************!*\ | |
| 3149 | + !*** ../node_modules/core-js/internals/error-stack-clear.js ***! | |
| 3150 | + \**************************************************************/ | |
| 2270 | 3151 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2271 | 3152 | |
| 2272 | 3153 | "use strict"; |
| 2273 | 3154 | |
| 2274 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 3155 | +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); | |
| 2275 | 3156 | |
| 2276 | -var navigator = globalThis.navigator; | |
| 2277 | -var userAgent = navigator && navigator.userAgent; | |
| 3157 | +var $Error = Error; | |
| 3158 | +var replace = uncurryThis(''.replace); | |
| 2278 | 3159 | |
| 2279 | -module.exports = userAgent ? String(userAgent) : ''; | |
| 3160 | +var TEST = (function (arg) { return String($Error(arg).stack); })('zxcasd'); | |
| 3161 | +// eslint-disable-next-line redos/no-vulnerable -- safe | |
| 3162 | +var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/; | |
| 3163 | +var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST); | |
| 2280 | 3164 | |
| 3165 | +module.exports = function (stack, dropEntries) { | |
| 3166 | + if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) { | |
| 3167 | + while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, ''); | |
| 3168 | + } return stack; | |
| 3169 | +}; | |
| 2281 | 3170 | |
| 3171 | + | |
| 2282 | 3172 | /***/ }), |
| 2283 | 3173 | |
| 2284 | -/***/ "../node_modules/core-js/internals/environment-v8-version.js": | |
| 2285 | -/*!*******************************************************************!*\ | |
| 2286 | - !*** ../node_modules/core-js/internals/environment-v8-version.js ***! | |
| 2287 | - \*******************************************************************/ | |
| 3174 | +/***/ "../node_modules/core-js/internals/error-stack-install.js": | |
| 3175 | +/*!****************************************************************!*\ | |
| 3176 | + !*** ../node_modules/core-js/internals/error-stack-install.js ***! | |
| 3177 | + \****************************************************************/ | |
| 2288 | 3178 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2289 | 3179 | |
| 2290 | 3180 | "use strict"; |
| 2291 | 3181 | |
| 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"); | |
| 3182 | +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); | |
| 3183 | +var clearErrorStack = __webpack_require__(/*! ../internals/error-stack-clear */ "../node_modules/core-js/internals/error-stack-clear.js"); | |
| 3184 | +var ERROR_STACK_INSTALLABLE = __webpack_require__(/*! ../internals/error-stack-installable */ "../node_modules/core-js/internals/error-stack-installable.js"); | |
| 2294 | 3185 | |
| 2295 | -var process = globalThis.process; | |
| 2296 | -var Deno = globalThis.Deno; | |
| 2297 | -var versions = process && process.versions || Deno && Deno.version; | |
| 2298 | -var v8 = versions && versions.v8; | |
| 2299 | -var match, version; | |
| 3186 | +// non-standard V8 | |
| 3187 | +var captureStackTrace = Error.captureStackTrace; | |
| 2300 | 3188 | |
| 2301 | -if (v8) { | |
| 2302 | - match = v8.split('.'); | |
| 2303 | - // in old Chrome, versions of V8 isn't V8 = Chrome / 10 | |
| 2304 | - // but their correct versions are not interesting for us | |
| 2305 | - version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); | |
| 2306 | -} | |
| 3189 | +module.exports = function (error, C, stack, dropEntries) { | |
| 3190 | + if (ERROR_STACK_INSTALLABLE) { | |
| 3191 | + if (captureStackTrace) captureStackTrace(error, C); | |
| 3192 | + else createNonEnumerableProperty(error, 'stack', clearErrorStack(stack, dropEntries)); | |
| 3193 | + } | |
| 3194 | +}; | |
| 2307 | 3195 | |
| 2308 | -// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0` | |
| 2309 | -// so check `userAgent` even if `.v8` exists, but 0 | |
| 2310 | -if (!version && userAgent) { | |
| 2311 | - match = userAgent.match(/Edge\/(\d+)/); | |
| 2312 | - if (!match || match[1] >= 74) { | |
| 2313 | - match = userAgent.match(/Chrome\/(\d+)/); | |
| 2314 | - if (match) version = +match[1]; | |
| 2315 | - } | |
| 2316 | -} | |
| 2317 | 3196 | |
| 2318 | -module.exports = version; | |
| 3197 | +/***/ }), | |
| 2319 | 3198 | |
| 3199 | +/***/ "../node_modules/core-js/internals/error-stack-installable.js": | |
| 3200 | +/*!********************************************************************!*\ | |
| 3201 | + !*** ../node_modules/core-js/internals/error-stack-installable.js ***! | |
| 3202 | + \********************************************************************/ | |
| 3203 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2320 | 3204 | |
| 3205 | +"use strict"; | |
| 3206 | + | |
| 3207 | +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 3208 | +var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js"); | |
| 3209 | + | |
| 3210 | +module.exports = !fails(function () { | |
| 3211 | + var error = Error('a'); | |
| 3212 | + if (!('stack' in error)) return true; | |
| 3213 | + // eslint-disable-next-line es/no-object-defineproperty -- safe | |
| 3214 | + Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7)); | |
| 3215 | + return error.stack !== 7; | |
| 3216 | +}); | |
| 3217 | + | |
| 3218 | + | |
| 2321 | 3219 | /***/ }), |
| 2322 | 3220 | |
| 2323 | 3221 | /***/ "../node_modules/core-js/internals/export.js": |
| 2324 | 3222 | /*!***************************************************!*\ |
| @@ -2327,9 +3225,9 @@ | ||
| 2327 | 3225 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2328 | 3226 | |
| 2329 | 3227 | "use strict"; |
| 2330 | 3228 | |
| 2331 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 3229 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 2332 | 3230 | var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../node_modules/core-js/internals/object-get-own-property-descriptor.js").f); |
| 2333 | 3231 | var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); |
| 2334 | 3232 | var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../node_modules/core-js/internals/define-built-in.js"); |
| 2335 | 3233 | var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js"); |
| @@ -2356,13 +3254,13 @@ | ||
| 2356 | 3254 | var GLOBAL = options.global; |
| 2357 | 3255 | var STATIC = options.stat; |
| 2358 | 3256 | var FORCED, target, key, targetProperty, sourceProperty, descriptor; |
| 2359 | 3257 | if (GLOBAL) { |
| 2360 | - target = globalThis; | |
| 3258 | + target = global; | |
| 2361 | 3259 | } else if (STATIC) { |
| 2362 | - target = globalThis[TARGET] || defineGlobalProperty(TARGET, {}); | |
| 3260 | + target = global[TARGET] || defineGlobalProperty(TARGET, {}); | |
| 2363 | 3261 | } else { |
| 2364 | - target = globalThis[TARGET] && globalThis[TARGET].prototype; | |
| 3262 | + target = (global[TARGET] || {}).prototype; | |
| 2365 | 3263 | } |
| 2366 | 3264 | if (target) for (key in source) { |
| 2367 | 3265 | sourceProperty = source[key]; |
| 2368 | 3266 | if (options.dontCallGetSet) { |
| @@ -2404,29 +3302,26 @@ | ||
| 2404 | 3302 | |
| 2405 | 3303 | |
| 2406 | 3304 | /***/ }), |
| 2407 | 3305 | |
| 2408 | -/***/ "../node_modules/core-js/internals/function-bind-context.js": | |
| 2409 | -/*!******************************************************************!*\ | |
| 2410 | - !*** ../node_modules/core-js/internals/function-bind-context.js ***! | |
| 2411 | - \******************************************************************/ | |
| 3306 | +/***/ "../node_modules/core-js/internals/function-apply.js": | |
| 3307 | +/*!***********************************************************!*\ | |
| 3308 | + !*** ../node_modules/core-js/internals/function-apply.js ***! | |
| 3309 | + \***********************************************************/ | |
| 2412 | 3310 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2413 | 3311 | |
| 2414 | 3312 | "use strict"; |
| 2415 | 3313 | |
| 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 | 3314 | var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js"); |
| 2419 | 3315 | |
| 2420 | -var bind = uncurryThis(uncurryThis.bind); | |
| 3316 | +var FunctionPrototype = Function.prototype; | |
| 3317 | +var apply = FunctionPrototype.apply; | |
| 3318 | +var call = FunctionPrototype.call; | |
| 2421 | 3319 | |
| 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 | -}; | |
| 3320 | +// eslint-disable-next-line es/no-reflect -- safe | |
| 3321 | +module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () { | |
| 3322 | + return call.apply(apply, arguments); | |
| 3323 | +}); | |
| 2429 | 3324 | |
| 2430 | 3325 | |
| 2431 | 3326 | /***/ }), |
| 2432 | 3327 | |
| @@ -2460,9 +3355,9 @@ | ||
| 2460 | 3355 | |
| 2461 | 3356 | var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js"); |
| 2462 | 3357 | |
| 2463 | 3358 | var call = Function.prototype.call; |
| 2464 | -// eslint-disable-next-line es/no-function-prototype-bind -- safe | |
| 3359 | + | |
| 2465 | 3360 | module.exports = NATIVE_BIND ? call.bind(call) : function () { |
| 2466 | 3361 | return call.apply(call, arguments); |
| 2467 | 3362 | }; |
| 2468 | 3363 | |
| @@ -2497,24 +3392,24 @@ | ||
| 2497 | 3392 | |
| 2498 | 3393 | |
| 2499 | 3394 | /***/ }), |
| 2500 | 3395 | |
| 2501 | -/***/ "../node_modules/core-js/internals/function-uncurry-this-clause.js": | |
| 2502 | -/*!*************************************************************************!*\ | |
| 2503 | - !*** ../node_modules/core-js/internals/function-uncurry-this-clause.js ***! | |
| 2504 | - \*************************************************************************/ | |
| 3396 | +/***/ "../node_modules/core-js/internals/function-uncurry-this-accessor.js": | |
| 3397 | +/*!***************************************************************************!*\ | |
| 3398 | + !*** ../node_modules/core-js/internals/function-uncurry-this-accessor.js ***! | |
| 3399 | + \***************************************************************************/ | |
| 2505 | 3400 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2506 | 3401 | |
| 2507 | 3402 | "use strict"; |
| 2508 | 3403 | |
| 2509 | -var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js"); | |
| 2510 | 3404 | var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 3405 | +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); | |
| 2511 | 3406 | |
| 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); | |
| 3407 | +module.exports = function (object, key, method) { | |
| 3408 | + try { | |
| 3409 | + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe | |
| 3410 | + return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method])); | |
| 3411 | + } catch (error) { /* empty */ } | |
| 2517 | 3412 | }; |
| 2518 | 3413 | |
| 2519 | 3414 | |
| 2520 | 3415 | /***/ }), |
| @@ -2530,9 +3425,8 @@ | ||
| 2530 | 3425 | var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js"); |
| 2531 | 3426 | |
| 2532 | 3427 | var FunctionPrototype = Function.prototype; |
| 2533 | 3428 | var call = FunctionPrototype.call; |
| 2534 | -// eslint-disable-next-line es/no-function-prototype-bind -- safe | |
| 2535 | 3429 | var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); |
| 2536 | 3430 | |
| 2537 | 3431 | module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) { |
| 2538 | 3432 | return function () { |
| @@ -2550,9 +3444,9 @@ | ||
| 2550 | 3444 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2551 | 3445 | |
| 2552 | 3446 | "use strict"; |
| 2553 | 3447 | |
| 2554 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 3448 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 2555 | 3449 | var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 2556 | 3450 | |
| 2557 | 3451 | var aFunction = function (argument) { |
| 2558 | 3452 | return isCallable(argument) ? argument : undefined; |
| @@ -2558,85 +3452,14 @@ | ||
| 2558 | 3452 | return isCallable(argument) ? argument : undefined; |
| 2559 | 3453 | }; |
| 2560 | 3454 | |
| 2561 | 3455 | module.exports = function (namespace, method) { |
| 2562 | - return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method]; | |
| 3456 | + return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method]; | |
| 2563 | 3457 | }; |
| 2564 | 3458 | |
| 2565 | 3459 | |
| 2566 | 3460 | /***/ }), |
| 2567 | 3461 | |
| 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 | 3462 | /***/ "../node_modules/core-js/internals/get-method.js": |
| 2640 | 3463 | /*!*******************************************************!*\ |
| 2641 | 3464 | !*** ../node_modules/core-js/internals/get-method.js ***! |
| 2642 | 3465 | \*******************************************************/ |
| @@ -2656,18 +3479,18 @@ | ||
| 2656 | 3479 | |
| 2657 | 3480 | |
| 2658 | 3481 | /***/ }), |
| 2659 | 3482 | |
| 2660 | -/***/ "../node_modules/core-js/internals/global-this.js": | |
| 2661 | -/*!********************************************************!*\ | |
| 2662 | - !*** ../node_modules/core-js/internals/global-this.js ***! | |
| 2663 | - \********************************************************/ | |
| 3483 | +/***/ "../node_modules/core-js/internals/global.js": | |
| 3484 | +/*!***************************************************!*\ | |
| 3485 | + !*** ../node_modules/core-js/internals/global.js ***! | |
| 3486 | + \***************************************************/ | |
| 2664 | 3487 | /***/ (function(module, __unused_webpack_exports, __webpack_require__) { |
| 2665 | 3488 | |
| 2666 | 3489 | "use strict"; |
| 2667 | 3490 | |
| 2668 | 3491 | var check = function (it) { |
| 2669 | - return it && it.Math === Math && it; | |
| 3492 | + return it && it.Math == Math && it; | |
| 2670 | 3493 | }; |
| 2671 | 3494 | |
| 2672 | 3495 | // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 |
| 2673 | 3496 | module.exports = |
| @@ -2676,11 +3499,10 @@ | ||
| 2676 | 3499 | check(typeof window == 'object' && window) || |
| 2677 | 3500 | // eslint-disable-next-line no-restricted-globals -- safe |
| 2678 | 3501 | check(typeof self == 'object' && self) || |
| 2679 | 3502 | check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) || |
| 2680 | - check(typeof this == 'object' && this) || | |
| 2681 | 3503 | // eslint-disable-next-line no-new-func -- fallback |
| 2682 | - (function () { return this; })() || Function('return this')(); | |
| 3504 | + (function () { return this; })() || this || Function('return this')(); | |
| 2683 | 3505 | |
| 2684 | 3506 | |
| 2685 | 3507 | /***/ }), |
| 2686 | 3508 | |
| @@ -2719,23 +3541,8 @@ | ||
| 2719 | 3541 | |
| 2720 | 3542 | |
| 2721 | 3543 | /***/ }), |
| 2722 | 3544 | |
| 2723 | -/***/ "../node_modules/core-js/internals/html.js": | |
| 2724 | -/*!*************************************************!*\ | |
| 2725 | - !*** ../node_modules/core-js/internals/html.js ***! | |
| 2726 | - \*************************************************/ | |
| 2727 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2728 | - | |
| 2729 | -"use strict"; | |
| 2730 | - | |
| 2731 | -var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js"); | |
| 2732 | - | |
| 2733 | -module.exports = getBuiltIn('document', 'documentElement'); | |
| 2734 | - | |
| 2735 | - | |
| 2736 | -/***/ }), | |
| 2737 | - | |
| 2738 | 3545 | /***/ "../node_modules/core-js/internals/ie8-dom-define.js": |
| 2739 | 3546 | /*!***********************************************************!*\ |
| 2740 | 3547 | !*** ../node_modules/core-js/internals/ie8-dom-define.js ***! |
| 2741 | 3548 | \***********************************************************/ |
| @@ -2751,9 +3558,9 @@ | ||
| 2751 | 3558 | module.exports = !DESCRIPTORS && !fails(function () { |
| 2752 | 3559 | // eslint-disable-next-line es/no-object-defineproperty -- required for testing |
| 2753 | 3560 | return Object.defineProperty(createElement('div'), 'a', { |
| 2754 | 3561 | get: function () { return 7; } |
| 2755 | - }).a !== 7; | |
| 3562 | + }).a != 7; | |
| 2756 | 3563 | }); |
| 2757 | 3564 | |
| 2758 | 3565 | |
| 2759 | 3566 | /***/ }), |
| @@ -2778,14 +3585,44 @@ | ||
| 2778 | 3585 | // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 |
| 2779 | 3586 | // eslint-disable-next-line no-prototype-builtins -- safe |
| 2780 | 3587 | return !$Object('z').propertyIsEnumerable(0); |
| 2781 | 3588 | }) ? function (it) { |
| 2782 | - return classof(it) === 'String' ? split(it, '') : $Object(it); | |
| 3589 | + return classof(it) == 'String' ? split(it, '') : $Object(it); | |
| 2783 | 3590 | } : $Object; |
| 2784 | 3591 | |
| 2785 | 3592 | |
| 2786 | 3593 | /***/ }), |
| 2787 | 3594 | |
| 3595 | +/***/ "../node_modules/core-js/internals/inherit-if-required.js": | |
| 3596 | +/*!****************************************************************!*\ | |
| 3597 | + !*** ../node_modules/core-js/internals/inherit-if-required.js ***! | |
| 3598 | + \****************************************************************/ | |
| 3599 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3600 | + | |
| 3601 | +"use strict"; | |
| 3602 | + | |
| 3603 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 3604 | +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); | |
| 3605 | +var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "../node_modules/core-js/internals/object-set-prototype-of.js"); | |
| 3606 | + | |
| 3607 | +// makes subclassing work correct for wrapped built-ins | |
| 3608 | +module.exports = function ($this, dummy, Wrapper) { | |
| 3609 | + var NewTarget, NewTargetPrototype; | |
| 3610 | + if ( | |
| 3611 | + // it can work only with native `setPrototypeOf` | |
| 3612 | + setPrototypeOf && | |
| 3613 | + // we haven't completely correct pre-ES6 way for getting `new.target`, so use this | |
| 3614 | + isCallable(NewTarget = dummy.constructor) && | |
| 3615 | + NewTarget !== Wrapper && | |
| 3616 | + isObject(NewTargetPrototype = NewTarget.prototype) && | |
| 3617 | + NewTargetPrototype !== Wrapper.prototype | |
| 3618 | + ) setPrototypeOf($this, NewTargetPrototype); | |
| 3619 | + return $this; | |
| 3620 | +}; | |
| 3621 | + | |
| 3622 | + | |
| 3623 | +/***/ }), | |
| 3624 | + | |
| 2788 | 3625 | /***/ "../node_modules/core-js/internals/inspect-source.js": |
| 2789 | 3626 | /*!***********************************************************!*\ |
| 2790 | 3627 | !*** ../node_modules/core-js/internals/inspect-source.js ***! |
| 2791 | 3628 | \***********************************************************/ |
| @@ -2810,8 +3647,30 @@ | ||
| 2810 | 3647 | |
| 2811 | 3648 | |
| 2812 | 3649 | /***/ }), |
| 2813 | 3650 | |
| 3651 | +/***/ "../node_modules/core-js/internals/install-error-cause.js": | |
| 3652 | +/*!****************************************************************!*\ | |
| 3653 | + !*** ../node_modules/core-js/internals/install-error-cause.js ***! | |
| 3654 | + \****************************************************************/ | |
| 3655 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3656 | + | |
| 3657 | +"use strict"; | |
| 3658 | + | |
| 3659 | +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); | |
| 3660 | +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); | |
| 3661 | + | |
| 3662 | +// `InstallErrorCause` abstract operation | |
| 3663 | +// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause | |
| 3664 | +module.exports = function (O, options) { | |
| 3665 | + if (isObject(options) && 'cause' in options) { | |
| 3666 | + createNonEnumerableProperty(O, 'cause', options.cause); | |
| 3667 | + } | |
| 3668 | +}; | |
| 3669 | + | |
| 3670 | + | |
| 3671 | +/***/ }), | |
| 3672 | + | |
| 2814 | 3673 | /***/ "../node_modules/core-js/internals/internal-state.js": |
| 2815 | 3674 | /*!***********************************************************!*\ |
| 2816 | 3675 | !*** ../node_modules/core-js/internals/internal-state.js ***! |
| 2817 | 3676 | \***********************************************************/ |
| @@ -2819,9 +3678,9 @@ | ||
| 2819 | 3678 | |
| 2820 | 3679 | "use strict"; |
| 2821 | 3680 | |
| 2822 | 3681 | 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"); | |
| 3682 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 2824 | 3683 | var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); |
| 2825 | 3684 | var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); |
| 2826 | 3685 | var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| 2827 | 3686 | var shared = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js"); |
| @@ -2828,10 +3687,10 @@ | ||
| 2828 | 3687 | var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "../node_modules/core-js/internals/shared-key.js"); |
| 2829 | 3688 | var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js"); |
| 2830 | 3689 | |
| 2831 | 3690 | var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; |
| 2832 | -var TypeError = globalThis.TypeError; | |
| 2833 | -var WeakMap = globalThis.WeakMap; | |
| 3691 | +var TypeError = global.TypeError; | |
| 3692 | +var WeakMap = global.WeakMap; | |
| 2834 | 3693 | var set, get, has; |
| 2835 | 3694 | |
| 2836 | 3695 | var enforce = function (it) { |
| 2837 | 3696 | return has(it) ? get(it) : set(it, {}); |
| @@ -2840,9 +3699,9 @@ | ||
| 2840 | 3699 | var getterFor = function (TYPE) { |
| 2841 | 3700 | return function (it) { |
| 2842 | 3701 | var state; |
| 2843 | 3702 | if (!isObject(it) || (state = get(it)).type !== TYPE) { |
| 2844 | - throw new TypeError('Incompatible receiver, ' + TYPE + ' required'); | |
| 3703 | + throw TypeError('Incompatible receiver, ' + TYPE + ' required'); | |
| 2845 | 3704 | } return state; |
| 2846 | 3705 | }; |
| 2847 | 3706 | }; |
| 2848 | 3707 | |
| @@ -2853,9 +3712,9 @@ | ||
| 2853 | 3712 | store.has = store.has; |
| 2854 | 3713 | store.set = store.set; |
| 2855 | 3714 | /* eslint-enable no-self-assign -- prototype methods protection */ |
| 2856 | 3715 | set = function (it, metadata) { |
| 2857 | - if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); | |
| 3716 | + if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED); | |
| 2858 | 3717 | metadata.facade = it; |
| 2859 | 3718 | store.set(it, metadata); |
| 2860 | 3719 | return metadata; |
| 2861 | 3720 | }; |
| @@ -2868,9 +3727,9 @@ | ||
| 2868 | 3727 | } else { |
| 2869 | 3728 | var STATE = sharedKey('state'); |
| 2870 | 3729 | hiddenKeys[STATE] = true; |
| 2871 | 3730 | set = function (it, metadata) { |
| 2872 | - if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); | |
| 3731 | + if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED); | |
| 2873 | 3732 | metadata.facade = it; |
| 2874 | 3733 | createNonEnumerableProperty(it, STATE, metadata); |
| 2875 | 3734 | return metadata; |
| 2876 | 3735 | }; |
| @@ -2892,65 +3751,23 @@ | ||
| 2892 | 3751 | |
| 2893 | 3752 | |
| 2894 | 3753 | /***/ }), |
| 2895 | 3754 | |
| 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 | -/***/ "../node_modules/core-js/internals/is-array.js": | |
| 2919 | -/*!*****************************************************!*\ | |
| 2920 | - !*** ../node_modules/core-js/internals/is-array.js ***! | |
| 2921 | - \*****************************************************/ | |
| 2922 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2923 | - | |
| 2924 | -"use strict"; | |
| 2925 | - | |
| 2926 | -var classof = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js"); | |
| 2927 | - | |
| 2928 | -// `IsArray` abstract operation | |
| 2929 | -// https://tc39.es/ecma262/#sec-isarray | |
| 2930 | -// eslint-disable-next-line es/no-array-isarray -- safe | |
| 2931 | -module.exports = Array.isArray || function isArray(argument) { | |
| 2932 | - return classof(argument) === 'Array'; | |
| 2933 | -}; | |
| 2934 | - | |
| 2935 | - | |
| 2936 | -/***/ }), | |
| 2937 | - | |
| 2938 | 3755 | /***/ "../node_modules/core-js/internals/is-callable.js": |
| 2939 | 3756 | /*!********************************************************!*\ |
| 2940 | 3757 | !*** ../node_modules/core-js/internals/is-callable.js ***! |
| 2941 | 3758 | \********************************************************/ |
| 2942 | -/***/ ((module) => { | |
| 3759 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2943 | 3760 | |
| 2944 | 3761 | "use strict"; |
| 2945 | 3762 | |
| 2946 | -// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot | |
| 2947 | -var documentAll = typeof document == 'object' && document.all; | |
| 3763 | +var $documentAll = __webpack_require__(/*! ../internals/document-all */ "../node_modules/core-js/internals/document-all.js"); | |
| 2948 | 3764 | |
| 3765 | +var documentAll = $documentAll.all; | |
| 3766 | + | |
| 2949 | 3767 | // `IsCallable` abstract operation |
| 2950 | 3768 | // 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) { | |
| 3769 | +module.exports = $documentAll.IS_HTMLDDA ? function (argument) { | |
| 2953 | 3770 | return typeof argument == 'function' || argument === documentAll; |
| 2954 | 3771 | } : function (argument) { |
| 2955 | 3772 | return typeof argument == 'function'; |
| 2956 | 3773 | }; |
| @@ -2972,10 +3789,10 @@ | ||
| 2972 | 3789 | var replacement = /#|\.prototype\./; |
| 2973 | 3790 | |
| 2974 | 3791 | var isForced = function (feature, detection) { |
| 2975 | 3792 | var value = data[normalize(feature)]; |
| 2976 | - return value === POLYFILL ? true | |
| 2977 | - : value === NATIVE ? false | |
| 3793 | + return value == POLYFILL ? true | |
| 3794 | + : value == NATIVE ? false | |
| 2978 | 3795 | : isCallable(detection) ? fails(detection) |
| 2979 | 3796 | : !!detection; |
| 2980 | 3797 | }; |
| 2981 | 3798 | |
| @@ -3017,10 +3834,15 @@ | ||
| 3017 | 3834 | |
| 3018 | 3835 | "use strict"; |
| 3019 | 3836 | |
| 3020 | 3837 | var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 3838 | +var $documentAll = __webpack_require__(/*! ../internals/document-all */ "../node_modules/core-js/internals/document-all.js"); | |
| 3021 | 3839 | |
| 3022 | -module.exports = function (it) { | |
| 3840 | +var documentAll = $documentAll.all; | |
| 3841 | + | |
| 3842 | +module.exports = $documentAll.IS_HTMLDDA ? function (it) { | |
| 3843 | + return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll; | |
| 3844 | +} : function (it) { | |
| 3023 | 3845 | return typeof it == 'object' ? it !== null : isCallable(it); |
| 3024 | 3846 | }; |
| 3025 | 3847 | |
| 3026 | 3848 | |
| @@ -3063,377 +3885,8 @@ | ||
| 3063 | 3885 | |
| 3064 | 3886 | |
| 3065 | 3887 | /***/ }), |
| 3066 | 3888 | |
| 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 | 3889 | /***/ "../node_modules/core-js/internals/length-of-array-like.js": |
| 3437 | 3890 | /*!*****************************************************************!*\ |
| 3438 | 3891 | !*** ../node_modules/core-js/internals/length-of-array-like.js ***! |
| 3439 | 3892 | \*****************************************************************/ |
| @@ -3485,9 +3938,9 @@ | ||
| 3485 | 3938 | var TEMPLATE = String(String).split('String'); |
| 3486 | 3939 | |
| 3487 | 3940 | var makeBuiltIn = module.exports = function (value, name, options) { |
| 3488 | 3941 | if (stringSlice($String(name), 0, 7) === 'Symbol(') { |
| 3489 | - name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']'; | |
| 3942 | + name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']'; | |
| 3490 | 3943 | } |
| 3491 | 3944 | if (options && options.getter) name = 'get ' + name; |
| 3492 | 3945 | if (options && options.setter) name = 'set ' + name; |
| 3493 | 3946 | if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { |
| @@ -3539,136 +3992,25 @@ | ||
| 3539 | 3992 | |
| 3540 | 3993 | |
| 3541 | 3994 | /***/ }), |
| 3542 | 3995 | |
| 3543 | -/***/ "../node_modules/core-js/internals/object-create.js": | |
| 3544 | -/*!**********************************************************!*\ | |
| 3545 | - !*** ../node_modules/core-js/internals/object-create.js ***! | |
| 3546 | - \**********************************************************/ | |
| 3996 | +/***/ "../node_modules/core-js/internals/normalize-string-argument.js": | |
| 3997 | +/*!**********************************************************************!*\ | |
| 3998 | + !*** ../node_modules/core-js/internals/normalize-string-argument.js ***! | |
| 3999 | + \**********************************************************************/ | |
| 3547 | 4000 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3548 | 4001 | |
| 3549 | 4002 | "use strict"; |
| 3550 | 4003 | |
| 3551 | -/* global ActiveXObject -- old IE, WSH */ | |
| 3552 | -var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); | |
| 3553 | -var definePropertiesModule = __webpack_require__(/*! ../internals/object-define-properties */ "../node_modules/core-js/internals/object-define-properties.js"); | |
| 3554 | -var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "../node_modules/core-js/internals/enum-bug-keys.js"); | |
| 3555 | -var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js"); | |
| 3556 | -var html = __webpack_require__(/*! ../internals/html */ "../node_modules/core-js/internals/html.js"); | |
| 3557 | -var documentCreateElement = __webpack_require__(/*! ../internals/document-create-element */ "../node_modules/core-js/internals/document-create-element.js"); | |
| 3558 | -var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "../node_modules/core-js/internals/shared-key.js"); | |
| 4004 | +var toString = __webpack_require__(/*! ../internals/to-string */ "../node_modules/core-js/internals/to-string.js"); | |
| 3559 | 4005 | |
| 3560 | -var GT = '>'; | |
| 3561 | -var LT = '<'; | |
| 3562 | -var PROTOTYPE = 'prototype'; | |
| 3563 | -var SCRIPT = 'script'; | |
| 3564 | -var IE_PROTO = sharedKey('IE_PROTO'); | |
| 3565 | - | |
| 3566 | -var EmptyConstructor = function () { /* empty */ }; | |
| 3567 | - | |
| 3568 | -var scriptTag = function (content) { | |
| 3569 | - return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT; | |
| 4006 | +module.exports = function (argument, $default) { | |
| 4007 | + return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument); | |
| 3570 | 4008 | }; |
| 3571 | 4009 | |
| 3572 | -// Create object with fake `null` prototype: use ActiveX Object with cleared prototype | |
| 3573 | -var NullProtoObjectViaActiveX = function (activeXDocument) { | |
| 3574 | - activeXDocument.write(scriptTag('')); | |
| 3575 | - activeXDocument.close(); | |
| 3576 | - var temp = activeXDocument.parentWindow.Object; | |
| 3577 | - // eslint-disable-next-line no-useless-assignment -- avoid memory leak | |
| 3578 | - activeXDocument = null; | |
| 3579 | - return temp; | |
| 3580 | -}; | |
| 3581 | 4010 | |
| 3582 | -// Create object with fake `null` prototype: use iframe Object with cleared prototype | |
| 3583 | -var NullProtoObjectViaIFrame = function () { | |
| 3584 | - // Thrash, waste and sodomy: IE GC bug | |
| 3585 | - var iframe = documentCreateElement('iframe'); | |
| 3586 | - var JS = 'java' + SCRIPT + ':'; | |
| 3587 | - var iframeDocument; | |
| 3588 | - iframe.style.display = 'none'; | |
| 3589 | - html.appendChild(iframe); | |
| 3590 | - // https://github.com/zloirock/core-js/issues/475 | |
| 3591 | - iframe.src = String(JS); | |
| 3592 | - iframeDocument = iframe.contentWindow.document; | |
| 3593 | - iframeDocument.open(); | |
| 3594 | - iframeDocument.write(scriptTag('document.F=Object')); | |
| 3595 | - iframeDocument.close(); | |
| 3596 | - return iframeDocument.F; | |
| 3597 | -}; | |
| 3598 | - | |
| 3599 | -// Check for document.domain and active x support | |
| 3600 | -// No need to use active x approach when document.domain is not set | |
| 3601 | -// see https://github.com/es-shims/es5-shim/issues/150 | |
| 3602 | -// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346 | |
| 3603 | -// avoid IE GC bug | |
| 3604 | -var activeXDocument; | |
| 3605 | -var NullProtoObject = function () { | |
| 3606 | - try { | |
| 3607 | - activeXDocument = new ActiveXObject('htmlfile'); | |
| 3608 | - } catch (error) { /* ignore */ } | |
| 3609 | - NullProtoObject = typeof document != 'undefined' | |
| 3610 | - ? document.domain && activeXDocument | |
| 3611 | - ? NullProtoObjectViaActiveX(activeXDocument) // old IE | |
| 3612 | - : NullProtoObjectViaIFrame() | |
| 3613 | - : NullProtoObjectViaActiveX(activeXDocument); // WSH | |
| 3614 | - var length = enumBugKeys.length; | |
| 3615 | - while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; | |
| 3616 | - return NullProtoObject(); | |
| 3617 | -}; | |
| 3618 | - | |
| 3619 | -hiddenKeys[IE_PROTO] = true; | |
| 3620 | - | |
| 3621 | -// `Object.create` method | |
| 3622 | -// https://tc39.es/ecma262/#sec-object.create | |
| 3623 | -// eslint-disable-next-line es/no-object-create -- safe | |
| 3624 | -module.exports = Object.create || function create(O, Properties) { | |
| 3625 | - var result; | |
| 3626 | - if (O !== null) { | |
| 3627 | - EmptyConstructor[PROTOTYPE] = anObject(O); | |
| 3628 | - result = new EmptyConstructor(); | |
| 3629 | - EmptyConstructor[PROTOTYPE] = null; | |
| 3630 | - // add "__proto__" for Object.getPrototypeOf polyfill | |
| 3631 | - result[IE_PROTO] = O; | |
| 3632 | - } else result = NullProtoObject(); | |
| 3633 | - return Properties === undefined ? result : definePropertiesModule.f(result, Properties); | |
| 3634 | -}; | |
| 3635 | - | |
| 3636 | - | |
| 3637 | 4011 | /***/ }), |
| 3638 | 4012 | |
| 3639 | -/***/ "../node_modules/core-js/internals/object-define-properties.js": | |
| 3640 | -/*!*********************************************************************!*\ | |
| 3641 | - !*** ../node_modules/core-js/internals/object-define-properties.js ***! | |
| 3642 | - \*********************************************************************/ | |
| 3643 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 3644 | - | |
| 3645 | -"use strict"; | |
| 3646 | - | |
| 3647 | -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); | |
| 3648 | -var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "../node_modules/core-js/internals/v8-prototype-define-bug.js"); | |
| 3649 | -var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js"); | |
| 3650 | -var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); | |
| 3651 | -var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js"); | |
| 3652 | -var objectKeys = __webpack_require__(/*! ../internals/object-keys */ "../node_modules/core-js/internals/object-keys.js"); | |
| 3653 | - | |
| 3654 | -// `Object.defineProperties` method | |
| 3655 | -// https://tc39.es/ecma262/#sec-object.defineproperties | |
| 3656 | -// eslint-disable-next-line es/no-object-defineproperties -- safe | |
| 3657 | -exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { | |
| 3658 | - anObject(O); | |
| 3659 | - var props = toIndexedObject(Properties); | |
| 3660 | - var keys = objectKeys(Properties); | |
| 3661 | - var length = keys.length; | |
| 3662 | - var index = 0; | |
| 3663 | - var key; | |
| 3664 | - while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]); | |
| 3665 | - return O; | |
| 3666 | -}; | |
| 3667 | - | |
| 3668 | - | |
| 3669 | -/***/ }), | |
| 3670 | - | |
| 3671 | 4013 | /***/ "../node_modules/core-js/internals/object-define-property.js": |
| 3672 | 4014 | /*!*******************************************************************!*\ |
| 3673 | 4015 | !*** ../node_modules/core-js/internals/object-define-property.js ***! |
| 3674 | 4016 | \*******************************************************************/ |
| @@ -3714,9 +4056,9 @@ | ||
| 3714 | 4056 | anObject(Attributes); |
| 3715 | 4057 | if (IE8_DOM_DEFINE) try { |
| 3716 | 4058 | return $defineProperty(O, P, Attributes); |
| 3717 | 4059 | } catch (error) { /* empty */ } |
| 3718 | - if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported'); | |
| 4060 | + if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported'); | |
| 3719 | 4061 | if ('value' in Attributes) O[P] = Attributes.value; |
| 3720 | 4062 | return O; |
| 3721 | 4063 | }; |
| 3722 | 4064 | |
| @@ -3793,41 +4135,8 @@ | ||
| 3793 | 4135 | |
| 3794 | 4136 | |
| 3795 | 4137 | /***/ }), |
| 3796 | 4138 | |
| 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 | 4139 | /***/ "../node_modules/core-js/internals/object-is-prototype-of.js": |
| 3831 | 4140 | /*!*******************************************************************!*\ |
| 3832 | 4141 | !*** ../node_modules/core-js/internals/object-is-prototype-of.js ***! |
| 3833 | 4142 | \*******************************************************************/ |
| @@ -3873,29 +4182,8 @@ | ||
| 3873 | 4182 | |
| 3874 | 4183 | |
| 3875 | 4184 | /***/ }), |
| 3876 | 4185 | |
| 3877 | -/***/ "../node_modules/core-js/internals/object-keys.js": | |
| 3878 | -/*!********************************************************!*\ | |
| 3879 | - !*** ../node_modules/core-js/internals/object-keys.js ***! | |
| 3880 | - \********************************************************/ | |
| 3881 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3882 | - | |
| 3883 | -"use strict"; | |
| 3884 | - | |
| 3885 | -var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "../node_modules/core-js/internals/object-keys-internal.js"); | |
| 3886 | -var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "../node_modules/core-js/internals/enum-bug-keys.js"); | |
| 3887 | - | |
| 3888 | -// `Object.keys` method | |
| 3889 | -// https://tc39.es/ecma262/#sec-object.keys | |
| 3890 | -// eslint-disable-next-line es/no-object-keys -- safe | |
| 3891 | -module.exports = Object.keys || function keys(O) { | |
| 3892 | - return internalObjectKeys(O, enumBugKeys); | |
| 3893 | -}; | |
| 3894 | - | |
| 3895 | - | |
| 3896 | -/***/ }), | |
| 3897 | - | |
| 3898 | 4186 | /***/ "../node_modules/core-js/internals/object-property-is-enumerable.js": |
| 3899 | 4187 | /*!**************************************************************************!*\ |
| 3900 | 4188 | !*** ../node_modules/core-js/internals/object-property-is-enumerable.js ***! |
| 3901 | 4189 | \**************************************************************************/ |
| @@ -3919,8 +4207,46 @@ | ||
| 3919 | 4207 | |
| 3920 | 4208 | |
| 3921 | 4209 | /***/ }), |
| 3922 | 4210 | |
| 4211 | +/***/ "../node_modules/core-js/internals/object-set-prototype-of.js": | |
| 4212 | +/*!********************************************************************!*\ | |
| 4213 | + !*** ../node_modules/core-js/internals/object-set-prototype-of.js ***! | |
| 4214 | + \********************************************************************/ | |
| 4215 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4216 | + | |
| 4217 | +"use strict"; | |
| 4218 | + | |
| 4219 | +/* eslint-disable no-proto -- safe */ | |
| 4220 | +var uncurryThisAccessor = __webpack_require__(/*! ../internals/function-uncurry-this-accessor */ "../node_modules/core-js/internals/function-uncurry-this-accessor.js"); | |
| 4221 | +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); | |
| 4222 | +var aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototype */ "../node_modules/core-js/internals/a-possible-prototype.js"); | |
| 4223 | + | |
| 4224 | +// `Object.setPrototypeOf` method | |
| 4225 | +// https://tc39.es/ecma262/#sec-object.setprototypeof | |
| 4226 | +// Works with __proto__ only. Old v8 can't work with null proto objects. | |
| 4227 | +// eslint-disable-next-line es/no-object-setprototypeof -- safe | |
| 4228 | +module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { | |
| 4229 | + var CORRECT_SETTER = false; | |
| 4230 | + var test = {}; | |
| 4231 | + var setter; | |
| 4232 | + try { | |
| 4233 | + setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set'); | |
| 4234 | + setter(test, []); | |
| 4235 | + CORRECT_SETTER = test instanceof Array; | |
| 4236 | + } catch (error) { /* empty */ } | |
| 4237 | + return function setPrototypeOf(O, proto) { | |
| 4238 | + anObject(O); | |
| 4239 | + aPossiblePrototype(proto); | |
| 4240 | + if (CORRECT_SETTER) setter(O, proto); | |
| 4241 | + else O.__proto__ = proto; | |
| 4242 | + return O; | |
| 4243 | + }; | |
| 4244 | +}() : undefined); | |
| 4245 | + | |
| 4246 | + | |
| 4247 | +/***/ }), | |
| 4248 | + | |
| 3923 | 4249 | /***/ "../node_modules/core-js/internals/ordinary-to-primitive.js": |
| 3924 | 4250 | /*!******************************************************************!*\ |
| 3925 | 4251 | !*** ../node_modules/core-js/internals/ordinary-to-primitive.js ***! |
| 3926 | 4252 | \******************************************************************/ |
| @@ -3940,9 +4266,9 @@ | ||
| 3940 | 4266 | var fn, val; |
| 3941 | 4267 | if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; |
| 3942 | 4268 | if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val; |
| 3943 | 4269 | 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"); | |
| 4270 | + throw $TypeError("Can't convert object to primitive value"); | |
| 3945 | 4271 | }; |
| 3946 | 4272 | |
| 3947 | 4273 | |
| 3948 | 4274 | /***/ }), |
| @@ -3972,8 +4298,29 @@ | ||
| 3972 | 4298 | |
| 3973 | 4299 | |
| 3974 | 4300 | /***/ }), |
| 3975 | 4301 | |
| 4302 | +/***/ "../node_modules/core-js/internals/proxy-accessor.js": | |
| 4303 | +/*!***********************************************************!*\ | |
| 4304 | + !*** ../node_modules/core-js/internals/proxy-accessor.js ***! | |
| 4305 | + \***********************************************************/ | |
| 4306 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4307 | + | |
| 4308 | +"use strict"; | |
| 4309 | + | |
| 4310 | +var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js").f); | |
| 4311 | + | |
| 4312 | +module.exports = function (Target, Source, key) { | |
| 4313 | + key in Target || defineProperty(Target, key, { | |
| 4314 | + configurable: true, | |
| 4315 | + get: function () { return Source[key]; }, | |
| 4316 | + set: function (it) { Source[key] = it; } | |
| 4317 | + }); | |
| 4318 | +}; | |
| 4319 | + | |
| 4320 | + | |
| 4321 | +/***/ }), | |
| 4322 | + | |
| 3976 | 4323 | /***/ "../node_modules/core-js/internals/require-object-coercible.js": |
| 3977 | 4324 | /*!*********************************************************************!*\ |
| 3978 | 4325 | !*** ../node_modules/core-js/internals/require-object-coercible.js ***! |
| 3979 | 4326 | \*********************************************************************/ |
| @@ -3987,9 +4334,9 @@ | ||
| 3987 | 4334 | |
| 3988 | 4335 | // `RequireObjectCoercible` abstract operation |
| 3989 | 4336 | // https://tc39.es/ecma262/#sec-requireobjectcoercible |
| 3990 | 4337 | module.exports = function (it) { |
| 3991 | - if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it); | |
| 4338 | + if (isNullOrUndefined(it)) throw $TypeError("Can't call method on " + it); | |
| 3992 | 4339 | return it; |
| 3993 | 4340 | }; |
| 3994 | 4341 | |
| 3995 | 4342 | |
| @@ -4022,22 +4369,15 @@ | ||
| 4022 | 4369 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4023 | 4370 | |
| 4024 | 4371 | "use strict"; |
| 4025 | 4372 | |
| 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"); | |
| 4373 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 4028 | 4374 | var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js"); |
| 4029 | 4375 | |
| 4030 | 4376 | var SHARED = '__core-js_shared__'; |
| 4031 | -var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {}); | |
| 4377 | +var store = global[SHARED] || defineGlobalProperty(SHARED, {}); | |
| 4032 | 4378 | |
| 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 | -}); | |
| 4379 | +module.exports = store; | |
| 4040 | 4380 | |
| 4041 | 4381 | |
| 4042 | 4382 | /***/ }), |
| 4043 | 4383 | |
| @@ -4048,13 +4388,20 @@ | ||
| 4048 | 4388 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4049 | 4389 | |
| 4050 | 4390 | "use strict"; |
| 4051 | 4391 | |
| 4392 | +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js"); | |
| 4052 | 4393 | var store = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js"); |
| 4053 | 4394 | |
| 4054 | -module.exports = function (key, value) { | |
| 4055 | - return store[key] || (store[key] = value || {}); | |
| 4056 | -}; | |
| 4395 | +(module.exports = function (key, value) { | |
| 4396 | + return store[key] || (store[key] = value !== undefined ? value : {}); | |
| 4397 | +})('versions', []).push({ | |
| 4398 | + version: '3.32.0', | |
| 4399 | + mode: IS_PURE ? 'pure' : 'global', | |
| 4400 | + copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)', | |
| 4401 | + license: 'https://github.com/zloirock/core-js/blob/v3.32.0/LICENSE', | |
| 4402 | + source: 'https://github.com/zloirock/core-js' | |
| 4403 | +}); | |
| 4057 | 4404 | |
| 4058 | 4405 | |
| 4059 | 4406 | /***/ }), |
| 4060 | 4407 | |
| @@ -4066,17 +4413,17 @@ | ||
| 4066 | 4413 | |
| 4067 | 4414 | "use strict"; |
| 4068 | 4415 | |
| 4069 | 4416 | /* 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"); | |
| 4417 | +var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "../node_modules/core-js/internals/engine-v8-version.js"); | |
| 4071 | 4418 | 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"); | |
| 4419 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 4073 | 4420 | |
| 4074 | -var $String = globalThis.String; | |
| 4421 | +var $String = global.String; | |
| 4075 | 4422 | |
| 4076 | 4423 | // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing |
| 4077 | 4424 | module.exports = !!Object.getOwnPropertySymbols && !fails(function () { |
| 4078 | - var symbol = Symbol('symbol detection'); | |
| 4425 | + var symbol = Symbol(); | |
| 4079 | 4426 | // Chrome 38 Symbol has incorrect toString conversion |
| 4080 | 4427 | // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances |
| 4081 | 4428 | // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will, |
| 4082 | 4429 | // of course, fail. |
| @@ -4166,10 +4513,9 @@ | ||
| 4166 | 4513 | |
| 4167 | 4514 | // `ToLength` abstract operation |
| 4168 | 4515 | // https://tc39.es/ecma262/#sec-tolength |
| 4169 | 4516 | module.exports = function (argument) { |
| 4170 | - var len = toIntegerOrInfinity(argument); | |
| 4171 | - return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 | |
| 4517 | + return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 | |
| 4172 | 4518 | }; |
| 4173 | 4519 | |
| 4174 | 4520 | |
| 4175 | 4521 | /***/ }), |
| @@ -4222,9 +4568,9 @@ | ||
| 4222 | 4568 | if (exoticToPrim) { |
| 4223 | 4569 | if (pref === undefined) pref = 'default'; |
| 4224 | 4570 | result = call(exoticToPrim, input, pref); |
| 4225 | 4571 | if (!isObject(result) || isSymbol(result)) return result; |
| 4226 | - throw new $TypeError("Can't convert object to primitive value"); | |
| 4572 | + throw $TypeError("Can't convert object to primitive value"); | |
| 4227 | 4573 | } |
| 4228 | 4574 | if (pref === undefined) pref = 'number'; |
| 4229 | 4575 | return ordinaryToPrimitive(input, pref); |
| 4230 | 4576 | }; |
| @@ -4272,8 +4618,28 @@ | ||
| 4272 | 4618 | |
| 4273 | 4619 | |
| 4274 | 4620 | /***/ }), |
| 4275 | 4621 | |
| 4622 | +/***/ "../node_modules/core-js/internals/to-string.js": | |
| 4623 | +/*!******************************************************!*\ | |
| 4624 | + !*** ../node_modules/core-js/internals/to-string.js ***! | |
| 4625 | + \******************************************************/ | |
| 4626 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4627 | + | |
| 4628 | +"use strict"; | |
| 4629 | + | |
| 4630 | +var classof = __webpack_require__(/*! ../internals/classof */ "../node_modules/core-js/internals/classof.js"); | |
| 4631 | + | |
| 4632 | +var $String = String; | |
| 4633 | + | |
| 4634 | +module.exports = function (argument) { | |
| 4635 | + if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string'); | |
| 4636 | + return $String(argument); | |
| 4637 | +}; | |
| 4638 | + | |
| 4639 | + | |
| 4640 | +/***/ }), | |
| 4641 | + | |
| 4276 | 4642 | /***/ "../node_modules/core-js/internals/try-to-string.js": |
| 4277 | 4643 | /*!**********************************************************!*\ |
| 4278 | 4644 | !*** ../node_modules/core-js/internals/try-to-string.js ***! |
| 4279 | 4645 | \**********************************************************/ |
| @@ -4305,9 +4671,9 @@ | ||
| 4305 | 4671 | var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 4306 | 4672 | |
| 4307 | 4673 | var id = 0; |
| 4308 | 4674 | var postfix = Math.random(); |
| 4309 | -var toString = uncurryThis(1.1.toString); | |
| 4675 | +var toString = uncurryThis(1.0.toString); | |
| 4310 | 4676 | |
| 4311 | 4677 | module.exports = function (key) { |
| 4312 | 4678 | return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); |
| 4313 | 4679 | }; |
| @@ -4325,11 +4691,11 @@ | ||
| 4325 | 4691 | |
| 4326 | 4692 | /* eslint-disable es/no-symbol -- required for testing */ |
| 4327 | 4693 | var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "../node_modules/core-js/internals/symbol-constructor-detection.js"); |
| 4328 | 4694 | |
| 4329 | -module.exports = NATIVE_SYMBOL && | |
| 4330 | - !Symbol.sham && | |
| 4331 | - typeof Symbol.iterator == 'symbol'; | |
| 4695 | +module.exports = NATIVE_SYMBOL | |
| 4696 | + && !Symbol.sham | |
| 4697 | + && typeof Symbol.iterator == 'symbol'; | |
| 4332 | 4698 | |
| 4333 | 4699 | |
| 4334 | 4700 | /***/ }), |
| 4335 | 4701 | |
| @@ -4350,9 +4716,9 @@ | ||
| 4350 | 4716 | // eslint-disable-next-line es/no-object-defineproperty -- required for testing |
| 4351 | 4717 | return Object.defineProperty(function () { /* empty */ }, 'prototype', { |
| 4352 | 4718 | value: 42, |
| 4353 | 4719 | writable: false |
| 4354 | - }).prototype !== 42; | |
| 4720 | + }).prototype != 42; | |
| 4355 | 4721 | }); |
| 4356 | 4722 | |
| 4357 | 4723 | |
| 4358 | 4724 | /***/ }), |
| @@ -4364,12 +4730,12 @@ | ||
| 4364 | 4730 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4365 | 4731 | |
| 4366 | 4732 | "use strict"; |
| 4367 | 4733 | |
| 4368 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 4734 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 4369 | 4735 | var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 4370 | 4736 | |
| 4371 | -var WeakMap = globalThis.WeakMap; | |
| 4737 | +var WeakMap = global.WeakMap; | |
| 4372 | 4738 | |
| 4373 | 4739 | module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap)); |
| 4374 | 4740 | |
| 4375 | 4741 | |
| @@ -4382,9 +4748,9 @@ | ||
| 4382 | 4748 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4383 | 4749 | |
| 4384 | 4750 | "use strict"; |
| 4385 | 4751 | |
| 4386 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 4752 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 4387 | 4753 | var shared = __webpack_require__(/*! ../internals/shared */ "../node_modules/core-js/internals/shared.js"); |
| 4388 | 4754 | var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| 4389 | 4755 | var uid = __webpack_require__(/*! ../internals/uid */ "../node_modules/core-js/internals/uid.js"); |
| 4390 | 4756 | var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "../node_modules/core-js/internals/symbol-constructor-detection.js"); |
| @@ -4389,9 +4755,9 @@ | ||
| 4389 | 4755 | var uid = __webpack_require__(/*! ../internals/uid */ "../node_modules/core-js/internals/uid.js"); |
| 4390 | 4756 | var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "../node_modules/core-js/internals/symbol-constructor-detection.js"); |
| 4391 | 4757 | var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../node_modules/core-js/internals/use-symbol-as-uid.js"); |
| 4392 | 4758 | |
| 4393 | -var Symbol = globalThis.Symbol; | |
| 4759 | +var Symbol = global.Symbol; | |
| 4394 | 4760 | var WellKnownSymbolsStore = shared('wks'); |
| 4395 | 4761 | var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid; |
| 4396 | 4762 | |
| 4397 | 4763 | module.exports = function (name) { |
| @@ -4404,407 +4770,164 @@ | ||
| 4404 | 4770 | |
| 4405 | 4771 | |
| 4406 | 4772 | /***/ }), |
| 4407 | 4773 | |
| 4408 | -/***/ "../node_modules/core-js/modules/es.array.push.js": | |
| 4409 | -/*!********************************************************!*\ | |
| 4410 | - !*** ../node_modules/core-js/modules/es.array.push.js ***! | |
| 4411 | - \********************************************************/ | |
| 4412 | -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4774 | +/***/ "../node_modules/core-js/internals/wrap-error-constructor-with-cause.js": | |
| 4775 | +/*!******************************************************************************!*\ | |
| 4776 | + !*** ../node_modules/core-js/internals/wrap-error-constructor-with-cause.js ***! | |
| 4777 | + \******************************************************************************/ | |
| 4778 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4413 | 4779 | |
| 4414 | 4780 | "use strict"; |
| 4415 | 4781 | |
| 4416 | -var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js"); | |
| 4417 | -var toObject = __webpack_require__(/*! ../internals/to-object */ "../node_modules/core-js/internals/to-object.js"); | |
| 4418 | -var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "../node_modules/core-js/internals/length-of-array-like.js"); | |
| 4419 | -var setArrayLength = __webpack_require__(/*! ../internals/array-set-length */ "../node_modules/core-js/internals/array-set-length.js"); | |
| 4420 | -var doesNotExceedSafeInteger = __webpack_require__(/*! ../internals/does-not-exceed-safe-integer */ "../node_modules/core-js/internals/does-not-exceed-safe-integer.js"); | |
| 4421 | -var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 4422 | - | |
| 4423 | -var INCORRECT_TO_LENGTH = fails(function () { | |
| 4424 | - return [].push.call({ length: 0x100000000 }, 1) !== 4294967297; | |
| 4425 | -}); | |
| 4426 | - | |
| 4427 | -// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError | |
| 4428 | -// https://bugs.chromium.org/p/v8/issues/detail?id=12681 | |
| 4429 | -var properErrorOnNonWritableLength = function () { | |
| 4430 | - try { | |
| 4431 | - // eslint-disable-next-line es/no-object-defineproperty -- safe | |
| 4432 | - Object.defineProperty([], 'length', { writable: false }).push(); | |
| 4433 | - } catch (error) { | |
| 4434 | - return error instanceof TypeError; | |
| 4435 | - } | |
| 4436 | -}; | |
| 4437 | - | |
| 4438 | -var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength(); | |
| 4439 | - | |
| 4440 | -// `Array.prototype.push` method | |
| 4441 | -// https://tc39.es/ecma262/#sec-array.prototype.push | |
| 4442 | -$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { | |
| 4443 | - // eslint-disable-next-line no-unused-vars -- required for `.length` | |
| 4444 | - push: function push(item) { | |
| 4445 | - var O = toObject(this); | |
| 4446 | - var len = lengthOfArrayLike(O); | |
| 4447 | - var argCount = arguments.length; | |
| 4448 | - doesNotExceedSafeInteger(len + argCount); | |
| 4449 | - for (var i = 0; i < argCount; i++) { | |
| 4450 | - O[len] = arguments[i]; | |
| 4451 | - len++; | |
| 4452 | - } | |
| 4453 | - setArrayLength(O, len); | |
| 4454 | - return len; | |
| 4455 | - } | |
| 4456 | -}); | |
| 4457 | - | |
| 4458 | - | |
| 4459 | -/***/ }), | |
| 4460 | - | |
| 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__) => { | |
| 4466 | - | |
| 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"); | |
| 4782 | +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js"); | |
| 4478 | 4783 | 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); | |
| 4784 | +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); | |
| 4785 | +var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js"); | |
| 4786 | +var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "../node_modules/core-js/internals/object-set-prototype-of.js"); | |
| 4787 | +var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "../node_modules/core-js/internals/copy-constructor-properties.js"); | |
| 4788 | +var proxyAccessor = __webpack_require__(/*! ../internals/proxy-accessor */ "../node_modules/core-js/internals/proxy-accessor.js"); | |
| 4789 | +var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ "../node_modules/core-js/internals/inherit-if-required.js"); | |
| 4790 | +var normalizeStringArgument = __webpack_require__(/*! ../internals/normalize-string-argument */ "../node_modules/core-js/internals/normalize-string-argument.js"); | |
| 4791 | +var installErrorCause = __webpack_require__(/*! ../internals/install-error-cause */ "../node_modules/core-js/internals/install-error-cause.js"); | |
| 4792 | +var installErrorStack = __webpack_require__(/*! ../internals/error-stack-install */ "../node_modules/core-js/internals/error-stack-install.js"); | |
| 4481 | 4793 | var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 4482 | 4794 | var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js"); |
| 4483 | 4795 | |
| 4484 | -var CONSTRUCTOR = 'constructor'; | |
| 4485 | -var ITERATOR = 'Iterator'; | |
| 4486 | -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); | |
| 4796 | +module.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) { | |
| 4797 | + var STACK_TRACE_LIMIT = 'stackTraceLimit'; | |
| 4798 | + var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1; | |
| 4799 | + var path = FULL_NAME.split('.'); | |
| 4800 | + var ERROR_NAME = path[path.length - 1]; | |
| 4801 | + var OriginalError = getBuiltIn.apply(null, path); | |
| 4487 | 4802 | |
| 4488 | -var $TypeError = TypeError; | |
| 4489 | -var NativeIterator = globalThis[ITERATOR]; | |
| 4803 | + if (!OriginalError) return; | |
| 4490 | 4804 | |
| 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({}); }); | |
| 4805 | + var OriginalErrorPrototype = OriginalError.prototype; | |
| 4497 | 4806 | |
| 4498 | -var IteratorConstructor = function Iterator() { | |
| 4499 | - anInstance(this, IteratorPrototype); | |
| 4500 | - if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable'); | |
| 4501 | -}; | |
| 4807 | + // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006 | |
| 4808 | + if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause; | |
| 4502 | 4809 | |
| 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 | -}; | |
| 4810 | + if (!FORCED) return OriginalError; | |
| 4519 | 4811 | |
| 4520 | -if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR); | |
| 4812 | + var BaseError = getBuiltIn('Error'); | |
| 4521 | 4813 | |
| 4522 | -if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) { | |
| 4523 | - defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor); | |
| 4524 | -} | |
| 4814 | + var WrappedError = wrapper(function (a, b) { | |
| 4815 | + var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined); | |
| 4816 | + var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError(); | |
| 4817 | + if (message !== undefined) createNonEnumerableProperty(result, 'message', message); | |
| 4818 | + installErrorStack(result, WrappedError, result.stack, 2); | |
| 4819 | + if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError); | |
| 4820 | + if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]); | |
| 4821 | + return result; | |
| 4822 | + }); | |
| 4525 | 4823 | |
| 4526 | -IteratorConstructor.prototype = IteratorPrototype; | |
| 4824 | + WrappedError.prototype = OriginalErrorPrototype; | |
| 4527 | 4825 | |
| 4528 | -// `Iterator` constructor | |
| 4529 | -// https://tc39.es/ecma262/#sec-iterator | |
| 4530 | -$({ global: true, constructor: true, forced: FORCED }, { | |
| 4531 | - Iterator: IteratorConstructor | |
| 4532 | -}); | |
| 4826 | + if (ERROR_NAME !== 'Error') { | |
| 4827 | + if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError); | |
| 4828 | + else copyConstructorProperties(WrappedError, BaseError, { name: true }); | |
| 4829 | + } else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) { | |
| 4830 | + proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT); | |
| 4831 | + proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace'); | |
| 4832 | + } | |
| 4533 | 4833 | |
| 4834 | + copyConstructorProperties(WrappedError, OriginalError); | |
| 4534 | 4835 | |
| 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); | |
| 4836 | + if (!IS_PURE) try { | |
| 4837 | + // Safari 13- bug: WebAssembly errors does not have a proper `.name` | |
| 4838 | + if (OriginalErrorPrototype.name !== ERROR_NAME) { | |
| 4839 | + createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME); | |
| 4586 | 4840 | } |
| 4841 | + OriginalErrorPrototype.constructor = WrappedError; | |
| 4842 | + } catch (error) { /* empty */ } | |
| 4587 | 4843 | |
| 4588 | - if (filterWithoutClosingOnEarlyError) return call(filterWithoutClosingOnEarlyError, this, predicate); | |
| 4844 | + return WrappedError; | |
| 4845 | +}; | |
| 4589 | 4846 | |
| 4590 | - return new IteratorProxy(getIteratorDirect(this), { | |
| 4591 | - predicate: predicate | |
| 4592 | - }); | |
| 4593 | - } | |
| 4594 | -}); | |
| 4595 | 4847 | |
| 4596 | - | |
| 4597 | 4848 | /***/ }), |
| 4598 | 4849 | |
| 4599 | -/***/ "../node_modules/core-js/modules/es.iterator.find.js": | |
| 4600 | -/*!***********************************************************!*\ | |
| 4601 | - !*** ../node_modules/core-js/modules/es.iterator.find.js ***! | |
| 4602 | - \***********************************************************/ | |
| 4850 | +/***/ "../node_modules/core-js/modules/es.error.cause.js": | |
| 4851 | +/*!*********************************************************!*\ | |
| 4852 | + !*** ../node_modules/core-js/modules/es.error.cause.js ***! | |
| 4853 | + \*********************************************************/ | |
| 4603 | 4854 | /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { |
| 4604 | 4855 | |
| 4605 | 4856 | "use strict"; |
| 4606 | 4857 | |
| 4858 | +/* eslint-disable no-unused-vars -- required for functions `.length` */ | |
| 4607 | 4859 | 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"); | |
| 4860 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 4861 | +var apply = __webpack_require__(/*! ../internals/function-apply */ "../node_modules/core-js/internals/function-apply.js"); | |
| 4862 | +var wrapErrorConstructorWithCause = __webpack_require__(/*! ../internals/wrap-error-constructor-with-cause */ "../node_modules/core-js/internals/wrap-error-constructor-with-cause.js"); | |
| 4615 | 4863 | |
| 4616 | -var findWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('find', TypeError); | |
| 4864 | +var WEB_ASSEMBLY = 'WebAssembly'; | |
| 4865 | +var WebAssembly = global[WEB_ASSEMBLY]; | |
| 4617 | 4866 | |
| 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 | - } | |
| 4867 | +var FORCED = Error('e', { cause: 7 }).cause !== 7; | |
| 4628 | 4868 | |
| 4629 | - if (findWithoutClosingOnEarlyError) return call(findWithoutClosingOnEarlyError, this, predicate); | |
| 4869 | +var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) { | |
| 4870 | + var O = {}; | |
| 4871 | + O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED); | |
| 4872 | + $({ global: true, constructor: true, arity: 1, forced: FORCED }, O); | |
| 4873 | +}; | |
| 4630 | 4874 | |
| 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; | |
| 4875 | +var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) { | |
| 4876 | + if (WebAssembly && WebAssembly[ERROR_NAME]) { | |
| 4877 | + var O = {}; | |
| 4878 | + O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED); | |
| 4879 | + $({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED }, O); | |
| 4636 | 4880 | } |
| 4881 | +}; | |
| 4882 | + | |
| 4883 | +// https://tc39.es/ecma262/#sec-nativeerror | |
| 4884 | +exportGlobalErrorCauseWrapper('Error', function (init) { | |
| 4885 | + return function Error(message) { return apply(init, this, arguments); }; | |
| 4637 | 4886 | }); |
| 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 | - } | |
| 4887 | +exportGlobalErrorCauseWrapper('EvalError', function (init) { | |
| 4888 | + return function EvalError(message) { return apply(init, this, arguments); }; | |
| 4680 | 4889 | }); |
| 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); | |
| 4890 | +exportGlobalErrorCauseWrapper('RangeError', function (init) { | |
| 4891 | + return function RangeError(message) { return apply(init, this, arguments); }; | |
| 4716 | 4892 | }); |
| 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 | - } | |
| 4893 | +exportGlobalErrorCauseWrapper('ReferenceError', function (init) { | |
| 4894 | + return function ReferenceError(message) { return apply(init, this, arguments); }; | |
| 4735 | 4895 | }); |
| 4896 | +exportGlobalErrorCauseWrapper('SyntaxError', function (init) { | |
| 4897 | + return function SyntaxError(message) { return apply(init, this, arguments); }; | |
| 4898 | +}); | |
| 4899 | +exportGlobalErrorCauseWrapper('TypeError', function (init) { | |
| 4900 | + return function TypeError(message) { return apply(init, this, arguments); }; | |
| 4901 | +}); | |
| 4902 | +exportGlobalErrorCauseWrapper('URIError', function (init) { | |
| 4903 | + return function URIError(message) { return apply(init, this, arguments); }; | |
| 4904 | +}); | |
| 4905 | +exportWebAssemblyErrorCauseWrapper('CompileError', function (init) { | |
| 4906 | + return function CompileError(message) { return apply(init, this, arguments); }; | |
| 4907 | +}); | |
| 4908 | +exportWebAssemblyErrorCauseWrapper('LinkError', function (init) { | |
| 4909 | + return function LinkError(message) { return apply(init, this, arguments); }; | |
| 4910 | +}); | |
| 4911 | +exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) { | |
| 4912 | + return function RuntimeError(message) { return apply(init, this, arguments); }; | |
| 4913 | +}); | |
| 4736 | 4914 | |
| 4737 | 4915 | |
| 4738 | 4916 | /***/ }), |
| 4739 | 4917 | |
| 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__) => { | |
| 4918 | +/***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js": | |
| 4919 | +/*!***********************************************************************!*\ | |
| 4920 | + !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! | |
| 4921 | + \***********************************************************************/ | |
| 4922 | +/***/ ((module) => { | |
| 4745 | 4923 | |
| 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 | - | |
| 4924 | +function _interopRequireDefault(obj) { | |
| 4925 | + return obj && obj.__esModule ? obj : { | |
| 4926 | + "default": obj | |
| 4927 | + }; | |
| 4928 | +} | |
| 4929 | +module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 4807 | 4930 | |
| 4808 | 4931 | /***/ }) |
| 4809 | 4932 | |
| 4810 | 4933 | }, |