| @@ -1,142 +1,7 @@ | ||
| 1 | -(self["webpackChunkelementorFrontend"] = self["webpackChunkelementorFrontend"] || []).push([["frontend-modules"],{ | |
| 1 | +/*! elementor - v3.13.2 - 11-05-2023 */ | |
| 2 | +(self["webpackChunkelementor"] = self["webpackChunkelementor"] || []).push([["frontend-modules"],{ | |
| 2 | 3 | |
| 3 | -/***/ "../app/modules/import-export-customization/assets/js/shared/registry/base.js": | |
| 4 | -/*!************************************************************************************!*\ | |
| 5 | - !*** ../app/modules/import-export-customization/assets/js/shared/registry/base.js ***! | |
| 6 | - \************************************************************************************/ | |
| 7 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 8 | - | |
| 9 | -"use strict"; | |
| 10 | - | |
| 11 | - | |
| 12 | -Object.defineProperty(exports, "__esModule", ({ | |
| 13 | - value: true | |
| 14 | -})); | |
| 15 | -exports.BaseRegistry = void 0; | |
| 16 | -__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); | |
| 17 | -__webpack_require__(/*! core-js/modules/esnext.iterator.filter.js */ "../node_modules/core-js/modules/esnext.iterator.filter.js"); | |
| 18 | -__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js"); | |
| 19 | -__webpack_require__(/*! core-js/modules/esnext.iterator.map.js */ "../node_modules/core-js/modules/esnext.iterator.map.js"); | |
| 20 | -class BaseRegistry { | |
| 21 | - constructor() { | |
| 22 | - this.sections = new Map(); | |
| 23 | - } | |
| 24 | - register(section) { | |
| 25 | - if (!section.key || !section.title) { | |
| 26 | - throw new Error('Template type must have key and title'); | |
| 27 | - } | |
| 28 | - const existingSection = this.get(section.key); | |
| 29 | - const formattedSection = existingSection || this.formatSection(section); | |
| 30 | - if (section.children) { | |
| 31 | - // If existing section has children, merge them with new children | |
| 32 | - if (formattedSection.children) { | |
| 33 | - const existingChildrenMap = new Map(formattedSection.children.map(child => [child.key, child])); | |
| 34 | - | |
| 35 | - // Override existing children with new ones and add new children | |
| 36 | - section.children.forEach(childSection => { | |
| 37 | - const formattedChild = this.formatSection(childSection); | |
| 38 | - existingChildrenMap.set(childSection.key, formattedChild); | |
| 39 | - }); | |
| 40 | - formattedSection.children = Array.from(existingChildrenMap.values()); | |
| 41 | - } else { | |
| 42 | - formattedSection.children = section.children.map(childSection => this.formatSection(childSection)); | |
| 43 | - } | |
| 44 | - } | |
| 45 | - this.sections.set(section.key, formattedSection); | |
| 46 | - } | |
| 47 | - formatSection({ | |
| 48 | - children, | |
| 49 | - ...section | |
| 50 | - }) { | |
| 51 | - return { | |
| 52 | - key: section.key, | |
| 53 | - title: section.title, | |
| 54 | - description: section.description || '', | |
| 55 | - useParentDefault: section.useParentDefault !== false, | |
| 56 | - getInitialState: section.getInitialState || null, | |
| 57 | - component: section.component || null, | |
| 58 | - order: section.order || 10, | |
| 59 | - isAvailable: section.isAvailable || (() => true), | |
| 60 | - ...section | |
| 61 | - }; | |
| 62 | - } | |
| 63 | - getAll() { | |
| 64 | - return Array.from(this.sections.values()).filter(type => type.isAvailable()).map(type => { | |
| 65 | - if (type.children) { | |
| 66 | - return { | |
| 67 | - ...type, | |
| 68 | - children: [...type.children].sort((a, b) => a.order - b.order) | |
| 69 | - }; | |
| 70 | - } | |
| 71 | - return type; | |
| 72 | - }).sort((a, b) => a.order - b.order); | |
| 73 | - } | |
| 74 | - get(key) { | |
| 75 | - return this.sections.get(key); | |
| 76 | - } | |
| 77 | -} | |
| 78 | -exports.BaseRegistry = BaseRegistry; | |
| 79 | - | |
| 80 | -/***/ }), | |
| 81 | - | |
| 82 | -/***/ "../app/modules/import-export-customization/assets/js/shared/registry/customization-dialogs.js": | |
| 83 | -/*!*****************************************************************************************************!*\ | |
| 84 | - !*** ../app/modules/import-export-customization/assets/js/shared/registry/customization-dialogs.js ***! | |
| 85 | - \*****************************************************************************************************/ | |
| 86 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 87 | - | |
| 88 | -"use strict"; | |
| 89 | - | |
| 90 | - | |
| 91 | -Object.defineProperty(exports, "__esModule", ({ | |
| 92 | - value: true | |
| 93 | -})); | |
| 94 | -exports.customizationDialogsRegistry = void 0; | |
| 95 | -var _base = __webpack_require__(/*! ./base */ "../app/modules/import-export-customization/assets/js/shared/registry/base.js"); | |
| 96 | -const customizationDialogsRegistry = exports.customizationDialogsRegistry = new _base.BaseRegistry(); | |
| 97 | - | |
| 98 | -/***/ }), | |
| 99 | - | |
| 100 | -/***/ "../app/modules/import-export-customization/assets/js/shared/utils/template-registry-helpers.js": | |
| 101 | -/*!******************************************************************************************************!*\ | |
| 102 | - !*** ../app/modules/import-export-customization/assets/js/shared/utils/template-registry-helpers.js ***! | |
| 103 | - \******************************************************************************************************/ | |
| 104 | -/***/ ((__unused_webpack_module, exports) => { | |
| 105 | - | |
| 106 | -"use strict"; | |
| 107 | - | |
| 108 | - | |
| 109 | -Object.defineProperty(exports, "__esModule", ({ | |
| 110 | - value: true | |
| 111 | -})); | |
| 112 | -exports.createGetInitialState = createGetInitialState; | |
| 113 | -function createGetInitialState(exportGroup, additionalProps = {}) { | |
| 114 | - return (data, parentInitialState) => { | |
| 115 | - let isEnabled = parentInitialState; | |
| 116 | - const isImport = data.hasOwnProperty('uploadedData'); | |
| 117 | - if (isImport) { | |
| 118 | - isEnabled = false; | |
| 119 | - const templates = data.uploadedData.manifest.templates; | |
| 120 | - const exportGroups = elementorAppConfig?.['import-export-customization']?.exportGroups || {}; | |
| 121 | - for (const templateId in templates) { | |
| 122 | - const template = templates[templateId]; | |
| 123 | - const templateExportGroup = exportGroups[template.doc_type]; | |
| 124 | - if (templateExportGroup === exportGroup) { | |
| 125 | - isEnabled = true; | |
| 126 | - break; | |
| 127 | - } | |
| 128 | - } | |
| 129 | - } | |
| 130 | - return { | |
| 131 | - enabled: isEnabled, | |
| 132 | - ...additionalProps | |
| 133 | - }; | |
| 134 | - }; | |
| 135 | -} | |
| 136 | - | |
| 137 | -/***/ }), | |
| 138 | - | |
| 139 | 4 | /***/ "../assets/dev/js/editor/utils/is-instanceof.js": |
| 140 | 5 | /*!******************************************************!*\ |
| 141 | 6 | !*** ../assets/dev/js/editor/utils/is-instanceof.js ***! |
| 142 | 7 | \******************************************************/ |
| @@ -174,9 +39,9 @@ | ||
| 174 | 39 | /***/ "../assets/dev/js/frontend/document.js": |
| 175 | 40 | /*!*********************************************!*\ |
| 176 | 41 | !*** ../assets/dev/js/frontend/document.js ***! |
| 177 | 42 | \*********************************************/ |
| 178 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 43 | +/***/ ((__unused_webpack_module, exports) => { | |
| 179 | 44 | |
| 180 | 45 | "use strict"; |
| 181 | 46 | |
| 182 | 47 | |
| @@ -183,10 +48,8 @@ | ||
| 183 | 48 | Object.defineProperty(exports, "__esModule", ({ |
| 184 | 49 | value: true |
| 185 | 50 | })); |
| 186 | 51 | exports["default"] = void 0; |
| 187 | -__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); | |
| 188 | -__webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js"); | |
| 189 | 52 | class _default extends elementorModules.ViewModule { |
| 190 | 53 | getDefaultSettings() { |
| 191 | 54 | return { |
| 192 | 55 | selectors: { |
| @@ -251,23 +114,15 @@ | ||
| 251 | 114 | Object.defineProperty(exports, "__esModule", ({ |
| 252 | 115 | value: true |
| 253 | 116 | })); |
| 254 | 117 | exports["default"] = void 0; |
| 255 | -__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); | |
| 256 | -__webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js"); | |
| 257 | -__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js"); | |
| 258 | 118 | var _baseSwiper = _interopRequireDefault(__webpack_require__(/*! ./base-swiper */ "../assets/dev/js/frontend/handlers/base-swiper.js")); |
| 259 | 119 | class CarouselHandlerBase extends _baseSwiper.default { |
| 260 | 120 | getDefaultSettings() { |
| 261 | 121 | return { |
| 262 | 122 | selectors: { |
| 263 | - carousel: '.swiper', | |
| 264 | - swiperWrapper: '.swiper-wrapper', | |
| 265 | - slideContent: '.swiper-slide', | |
| 266 | - swiperArrow: '.elementor-swiper-button', | |
| 267 | - paginationWrapper: '.swiper-pagination', | |
| 268 | - paginationBullet: '.swiper-pagination-bullet', | |
| 269 | - paginationBulletWrapper: '.swiper-pagination-bullets' | |
| 123 | + carousel: `.${elementorFrontend.config.swiperClass}`, | |
| 124 | + slideContent: '.swiper-slide' | |
| 270 | 125 | } |
| 271 | 126 | }; |
| 272 | 127 | } |
| 273 | 128 | getDefaultElements() { |
| @@ -272,14 +127,9 @@ | ||
| 272 | 127 | } |
| 273 | 128 | getDefaultElements() { |
| 274 | 129 | const selectors = this.getSettings('selectors'), |
| 275 | 130 | elements = { |
| 276 | - $swiperContainer: this.$element.find(selectors.carousel), | |
| 277 | - $swiperWrapper: this.$element.find(selectors.swiperWrapper), | |
| 278 | - $swiperArrows: this.$element.find(selectors.swiperArrow), | |
| 279 | - $paginationWrapper: this.$element.find(selectors.paginationWrapper), | |
| 280 | - $paginationBullets: this.$element.find(selectors.paginationBullet), | |
| 281 | - $paginationBulletWrapper: this.$element.find(selectors.paginationBulletWrapper) | |
| 131 | + $swiperContainer: this.$element.find(selectors.carousel) | |
| 282 | 132 | }; |
| 283 | 133 | elements.$slides = elements.$swiperContainer.find(selectors.slideContent); |
| 284 | 134 | return elements; |
| 285 | 135 | } |
| @@ -331,9 +181,9 @@ | ||
| 331 | 181 | if (elementSettings.image_spacing_custom) { |
| 332 | 182 | swiperOptions.spaceBetween = this.getSpaceBetween(); |
| 333 | 183 | } |
| 334 | 184 | const showArrows = 'arrows' === elementSettings.navigation || 'both' === elementSettings.navigation, |
| 335 | - showPagination = 'dots' === elementSettings.navigation || 'both' === elementSettings.navigation || elementSettings.pagination; | |
| 185 | + showDots = 'dots' === elementSettings.navigation || 'both' === elementSettings.navigation; | |
| 336 | 186 | if (showArrows) { |
| 337 | 187 | swiperOptions.navigation = { |
| 338 | 188 | prevEl: '.elementor-swiper-button-prev', |
| 339 | 189 | nextEl: '.elementor-swiper-button-next' |
| @@ -338,16 +188,13 @@ | ||
| 338 | 188 | prevEl: '.elementor-swiper-button-prev', |
| 339 | 189 | nextEl: '.elementor-swiper-button-next' |
| 340 | 190 | }; |
| 341 | 191 | } |
| 342 | - if (showPagination) { | |
| 192 | + if (showDots) { | |
| 343 | 193 | swiperOptions.pagination = { |
| 344 | - el: `.elementor-element-${this.getID()} .swiper-pagination`, | |
| 345 | - type: !!elementSettings.pagination ? elementSettings.pagination : 'bullets', | |
| 346 | - clickable: true, | |
| 347 | - 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>`; | |
| 349 | - } | |
| 194 | + el: '.swiper-pagination', | |
| 195 | + type: 'bullets', | |
| 196 | + clickable: true | |
| 350 | 197 | }; |
| 351 | 198 | } |
| 352 | 199 | if ('yes' === elementSettings.lazyload) { |
| 353 | 200 | swiperOptions.lazy = { |
| @@ -354,109 +201,25 @@ | ||
| 354 | 201 | loadPrevNext: true, |
| 355 | 202 | loadPrevNextAmount: 1 |
| 356 | 203 | }; |
| 357 | 204 | } |
| 358 | - swiperOptions.a11y = { | |
| 359 | - enabled: true, | |
| 360 | - prevSlideMessage: elementorFrontend.config.i18n.a11yCarouselPrevSlideMessage, | |
| 361 | - nextSlideMessage: elementorFrontend.config.i18n.a11yCarouselNextSlideMessage, | |
| 362 | - firstSlideMessage: elementorFrontend.config.i18n.a11yCarouselFirstSlideMessage, | |
| 363 | - lastSlideMessage: elementorFrontend.config.i18n.a11yCarouselLastSlideMessage | |
| 364 | - }; | |
| 365 | - swiperOptions.on = { | |
| 366 | - slideChange: () => { | |
| 367 | - this.a11ySetPaginationTabindex(); | |
| 368 | - this.handleElementHandlers(); | |
| 369 | - this.a11ySetSlideAriaHidden(); | |
| 370 | - }, | |
| 371 | - init: () => { | |
| 372 | - this.a11ySetPaginationTabindex(); | |
| 373 | - this.a11ySetSlideAriaHidden('initialisation'); | |
| 374 | - } | |
| 375 | - }; | |
| 376 | - this.applyOffsetSettings(elementSettings, swiperOptions, slidesToShow); | |
| 377 | 205 | return swiperOptions; |
| 378 | 206 | } |
| 379 | - getOffsetWidth() { | |
| 380 | - const currentDevice = elementorFrontend.getCurrentDeviceMode(); | |
| 381 | - return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'offset_width', 'size', currentDevice) || 0; | |
| 382 | - } | |
| 383 | - applyOffsetSettings(elementSettings, swiperOptions, slidesToShow) { | |
| 384 | - const offsetSide = elementSettings.offset_sides, | |
| 385 | - isNestedCarouselInEditMode = elementorFrontend.isEditMode() && 'NestedCarousel' === this.constructor.name; | |
| 386 | - if (isNestedCarouselInEditMode || !offsetSide || 'none' === offsetSide) { | |
| 387 | - return; | |
| 388 | - } | |
| 389 | - switch (offsetSide) { | |
| 390 | - case 'right': | |
| 391 | - this.forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow); | |
| 392 | - this.addClassToSwiperContainer('offset-right'); | |
| 393 | - break; | |
| 394 | - case 'left': | |
| 395 | - this.addClassToSwiperContainer('offset-left'); | |
| 396 | - break; | |
| 397 | - case 'both': | |
| 398 | - this.forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow); | |
| 399 | - this.addClassToSwiperContainer('offset-both'); | |
| 400 | - break; | |
| 401 | - } | |
| 402 | - } | |
| 403 | - forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow) { | |
| 404 | - swiperOptions.slidesPerView = slidesToShow + 0.001; | |
| 405 | - } | |
| 406 | - addClassToSwiperContainer(className) { | |
| 407 | - this.getDefaultElements().$swiperContainer[0].classList.add(className); | |
| 408 | - } | |
| 409 | - async onInit(...args) { | |
| 410 | - super.onInit(...args); | |
| 207 | + async onInit() { | |
| 208 | + super.onInit(...arguments); | |
| 411 | 209 | if (!this.elements.$swiperContainer.length || 2 > this.elements.$slides.length) { |
| 412 | 210 | return; |
| 413 | 211 | } |
| 414 | - await this.initSwiper(); | |
| 415 | - const elementSettings = this.getElementSettings(); | |
| 416 | - if ('yes' === elementSettings.pause_on_hover) { | |
| 417 | - this.togglePauseOnHover(true); | |
| 418 | - } | |
| 419 | - } | |
| 420 | - async initSwiper() { | |
| 421 | 212 | const Swiper = elementorFrontend.utils.swiper; |
| 422 | 213 | this.swiper = await new Swiper(this.elements.$swiperContainer, this.getSwiperSettings()); |
| 423 | 214 | |
| 424 | 215 | // Expose the swiper instance in the frontend |
| 425 | 216 | this.elements.$swiperContainer.data('swiper', this.swiper); |
| 426 | - } | |
| 427 | - bindEvents() { | |
| 428 | - this.elements.$swiperArrows.on('keydown', this.onDirectionArrowKeydown.bind(this)); | |
| 429 | - this.elements.$paginationWrapper.on('keydown', '.swiper-pagination-bullet', this.onDirectionArrowKeydown.bind(this)); | |
| 430 | - this.elements.$swiperContainer.on('keydown', '.swiper-slide', this.onDirectionArrowKeydown.bind(this)); | |
| 431 | - this.$element.find(':focusable').on('focus', this.onFocusDisableAutoplay.bind(this)); | |
| 432 | - elementorFrontend.elements.$window.on('resize', this.getSwiperSettings.bind(this)); | |
| 433 | - } | |
| 434 | - unbindEvents() { | |
| 435 | - this.elements.$swiperArrows.off(); | |
| 436 | - this.elements.$paginationWrapper.off(); | |
| 437 | - this.elements.$swiperContainer.off(); | |
| 438 | - this.$element.find(':focusable').off(); | |
| 439 | - elementorFrontend.elements.$window.off('resize'); | |
| 440 | - } | |
| 441 | - onDirectionArrowKeydown(event) { | |
| 442 | - const isRTL = elementorFrontend.config.is_rtl, | |
| 443 | - inlineDirectionArrows = ['ArrowLeft', 'ArrowRight'], | |
| 444 | - currentKeydown = event.originalEvent.code, | |
| 445 | - isDirectionInlineKeydown = -1 !== inlineDirectionArrows.indexOf(currentKeydown), | |
| 446 | - directionStart = isRTL ? 'ArrowRight' : 'ArrowLeft', | |
| 447 | - directionEnd = isRTL ? 'ArrowLeft' : 'ArrowRight'; | |
| 448 | - if (!isDirectionInlineKeydown) { | |
| 449 | - return true; | |
| 450 | - } else if (directionStart === currentKeydown) { | |
| 451 | - this.swiper.slidePrev(); | |
| 452 | - } else if (directionEnd === currentKeydown) { | |
| 453 | - this.swiper.slideNext(); | |
| 217 | + const elementSettings = this.getElementSettings(); | |
| 218 | + if ('yes' === elementSettings.pause_on_hover) { | |
| 219 | + this.togglePauseOnHover(true); | |
| 454 | 220 | } |
| 455 | 221 | } |
| 456 | - onFocusDisableAutoplay() { | |
| 457 | - this.swiper.autoplay.stop(); | |
| 458 | - } | |
| 459 | 222 | updateSwiperOption(propertyName) { |
| 460 | 223 | const elementSettings = this.getElementSettings(), |
| 461 | 224 | newSettingValue = elementSettings[propertyName], |
| 462 | 225 | params = this.swiper.params; |
| @@ -479,8 +242,9 @@ | ||
| 479 | 242 | speed: 'speed', |
| 480 | 243 | arrows_position: 'arrows_position' // Not a Swiper setting. |
| 481 | 244 | }; |
| 482 | 245 | } |
| 246 | + | |
| 483 | 247 | onElementChange(propertyName) { |
| 484 | 248 | if (0 === propertyName.indexOf('image_spacing_custom')) { |
| 485 | 249 | this.updateSpaceBetween(propertyName); |
| 486 | 250 | return; |
| @@ -500,11 +264,11 @@ | ||
| 500 | 264 | if ('activeItemIndex' === propertyName) { |
| 501 | 265 | this.swiper.slideToLoop(this.getEditSettings('activeItemIndex') - 1); |
| 502 | 266 | } |
| 503 | 267 | } |
| 504 | - getSpaceBetween(device = null) { | |
| 505 | - const responsiveControlValue = elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'image_spacing_custom', 'size', device); | |
| 506 | - return Number(responsiveControlValue) || 0; | |
| 268 | + getSpaceBetween() { | |
| 269 | + let device = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; | |
| 270 | + return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'image_spacing_custom', 'size', device) || 0; | |
| 507 | 271 | } |
| 508 | 272 | updateSpaceBetween(propertyName) { |
| 509 | 273 | const deviceMatch = propertyName.match('image_spacing_custom_(.*)'), |
| 510 | 274 | device = deviceMatch ? deviceMatch[1] : 'desktop', |
| @@ -514,54 +278,8 @@ | ||
| 514 | 278 | } |
| 515 | 279 | this.swiper.params.spaceBetween = newSpaceBetween; |
| 516 | 280 | this.swiper.update(); |
| 517 | 281 | } |
| 518 | - getPaginationBullets(type = 'array') { | |
| 519 | - const paginationBullets = this.$element.find(this.getSettings('selectors').paginationBullet); | |
| 520 | - return 'array' === type ? Array.from(paginationBullets) : paginationBullets; | |
| 521 | - } | |
| 522 | - a11ySetPaginationTabindex() { | |
| 523 | - const bulletClass = this.swiper?.params?.pagination.bulletClass, | |
| 524 | - activeBulletClass = this.swiper?.params?.pagination.bulletActiveClass; | |
| 525 | - this.getPaginationBullets().forEach(bullet => { | |
| 526 | - if (!bullet.classList?.contains(activeBulletClass)) { | |
| 527 | - bullet.removeAttribute('tabindex'); | |
| 528 | - } | |
| 529 | - }); | |
| 530 | - const isDirectionInlineArrowKey = 'ArrowLeft' === event?.code || 'ArrowRight' === event?.code; | |
| 531 | - if (event?.target?.classList?.contains(bulletClass) && isDirectionInlineArrowKey) { | |
| 532 | - this.$element.find(`.${activeBulletClass}`).trigger('focus'); | |
| 533 | - } | |
| 534 | - } | |
| 535 | - getSwiperWrapperTranformXValue() { | |
| 536 | - let transformValue = this.elements.$swiperWrapper[0]?.style.transform; | |
| 537 | - transformValue = transformValue.replace('translate3d(', ''); | |
| 538 | - transformValue = transformValue.split(','); | |
| 539 | - transformValue = parseInt(transformValue[0].replace('px', '')); | |
| 540 | - return !!transformValue ? transformValue : 0; | |
| 541 | - } | |
| 542 | - a11ySetSlideAriaHidden(status = '') { | |
| 543 | - const currentIndex = 'initialisation' === status ? 0 : this.swiper?.activeIndex; | |
| 544 | - if ('number' !== typeof currentIndex) { | |
| 545 | - return; | |
| 546 | - } | |
| 547 | - const swiperWrapperTransformXValue = this.getSwiperWrapperTranformXValue(), | |
| 548 | - swiperWrapperWidth = this.elements.$swiperWrapper[0].clientWidth, | |
| 549 | - $slides = this.elements.$swiperContainer.find(this.getSettings('selectors').slideContent); | |
| 550 | - $slides.each((index, slide) => { | |
| 551 | - const isSlideInsideWrapper = 0 <= slide.offsetLeft + swiperWrapperTransformXValue && swiperWrapperWidth > slide.offsetLeft + swiperWrapperTransformXValue; | |
| 552 | - if (!isSlideInsideWrapper) { | |
| 553 | - slide.setAttribute('aria-hidden', true); | |
| 554 | - slide.setAttribute('inert', ''); | |
| 555 | - } else { | |
| 556 | - slide.removeAttribute('aria-hidden'); | |
| 557 | - slide.removeAttribute('inert'); | |
| 558 | - } | |
| 559 | - }); | |
| 560 | - } | |
| 561 | - | |
| 562 | - // Empty method which can be overwritten by child methods. | |
| 563 | - handleElementHandlers() {} | |
| 564 | 282 | } |
| 565 | 283 | exports["default"] = CarouselHandlerBase; |
| 566 | 284 | |
| 567 | 285 | /***/ }), |
| @@ -626,18 +344,13 @@ | ||
| 626 | 344 | /***/ "../assets/dev/js/frontend/handlers/base.js": |
| 627 | 345 | /*!**************************************************!*\ |
| 628 | 346 | !*** ../assets/dev/js/frontend/handlers/base.js ***! |
| 629 | 347 | \**************************************************/ |
| 630 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 348 | +/***/ ((module) => { | |
| 631 | 349 | |
| 632 | 350 | "use strict"; |
| 633 | 351 | |
| 634 | 352 | |
| 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 | 353 | module.exports = elementorModules.ViewModule.extend({ |
| 641 | 354 | $element: null, |
| 642 | 355 | editorListeners: null, |
| 643 | 356 | onElementChange: null, |
| @@ -782,9 +495,9 @@ | ||
| 782 | 495 | let settingsKeys = elementorFrontend.config.elements.keys[type]; |
| 783 | 496 | if (!settingsKeys) { |
| 784 | 497 | settingsKeys = elementorFrontend.config.elements.keys[type] = []; |
| 785 | 498 | jQuery.each(settings.controls, (name, control) => { |
| 786 | - if (control.frontend_available || control.editor_available) { | |
| 499 | + if (control.frontend_available) { | |
| 787 | 500 | settingsKeys.push(name); |
| 788 | 501 | } |
| 789 | 502 | }); |
| 790 | 503 | } |
| @@ -842,10 +555,8 @@ | ||
| 842 | 555 | Object.defineProperty(exports, "__esModule", ({ |
| 843 | 556 | value: true |
| 844 | 557 | })); |
| 845 | 558 | 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 | 559 | var _base = _interopRequireDefault(__webpack_require__(/*! ./base */ "../assets/dev/js/frontend/handlers/base.js")); |
| 849 | 560 | class StretchedElement extends _base.default { |
| 850 | 561 | getStretchedClass() { |
| 851 | 562 | return 'e-stretched'; |
| @@ -874,9 +585,10 @@ | ||
| 874 | 585 | } |
| 875 | 586 | isActive(settings) { |
| 876 | 587 | return elementorFrontend.isEditMode() || settings.$element.hasClass(this.getStretchedClass()); |
| 877 | 588 | } |
| 878 | - getStretchElementForConfig(childSelector = null) { | |
| 589 | + getStretchElementForConfig() { | |
| 590 | + let childSelector = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; | |
| 879 | 591 | if (childSelector) { |
| 880 | 592 | return this.$element.find(childSelector); |
| 881 | 593 | } |
| 882 | 594 | return this.$element; |
| @@ -905,14 +617,14 @@ | ||
| 905 | 617 | return; |
| 906 | 618 | } |
| 907 | 619 | this.stretchElement.stretch(); |
| 908 | 620 | } |
| 909 | - onInit(...args) { | |
| 621 | + onInit() { | |
| 910 | 622 | if (!this.isActive(this.getSettings())) { |
| 911 | 623 | return; |
| 912 | 624 | } |
| 913 | 625 | this.initStretch(); |
| 914 | - super.onInit(...args); | |
| 626 | + super.onInit(...arguments); | |
| 915 | 627 | this.stretch(); |
| 916 | 628 | } |
| 917 | 629 | onElementChange(propertyName) { |
| 918 | 630 | const stretchSettingName = this.getStretchSettingName(); |
| @@ -949,8 +661,9 @@ | ||
| 949 | 661 | var _stretchedElement = _interopRequireDefault(__webpack_require__(/*! ./handlers/stretched-element */ "../assets/dev/js/frontend/handlers/stretched-element.js")); |
| 950 | 662 | var _base = _interopRequireDefault(__webpack_require__(/*! ./handlers/base */ "../assets/dev/js/frontend/handlers/base.js")); |
| 951 | 663 | var _baseSwiper = _interopRequireDefault(__webpack_require__(/*! ./handlers/base-swiper */ "../assets/dev/js/frontend/handlers/base-swiper.js")); |
| 952 | 664 | var _baseCarousel = _interopRequireDefault(__webpack_require__(/*! ./handlers/base-carousel */ "../assets/dev/js/frontend/handlers/base-carousel.js")); |
| 665 | +var _nestedTabs = _interopRequireDefault(__webpack_require__(/*! elementor/modules/nested-tabs/assets/js/frontend/handlers/nested-tabs */ "../modules/nested-tabs/assets/js/frontend/handlers/nested-tabs.js")); | |
| 953 | 666 | _modules.default.frontend = { |
| 954 | 667 | Document: _document.default, |
| 955 | 668 | tools: { |
| 956 | 669 | StretchElement: _stretchElement.default |
| @@ -958,9 +671,10 @@ | ||
| 958 | 671 | handlers: { |
| 959 | 672 | Base: _base.default, |
| 960 | 673 | StretchedElement: _stretchedElement.default, |
| 961 | 674 | SwiperBase: _baseSwiper.default, |
| 962 | - CarouselBase: _baseCarousel.default | |
| 675 | + CarouselBase: _baseCarousel.default, | |
| 676 | + NestedTabs: _nestedTabs.default | |
| 963 | 677 | } |
| 964 | 678 | }; |
| 965 | 679 | |
| 966 | 680 | /***/ }), |
| @@ -981,10 +695,9 @@ | ||
| 981 | 695 | direction: elementorFrontend.config.is_rtl ? 'right' : 'left', |
| 982 | 696 | selectors: { |
| 983 | 697 | container: window |
| 984 | 698 | }, |
| 985 | - considerScrollbar: false, | |
| 986 | - cssOutput: 'inline' | |
| 699 | + considerScrollbar: false | |
| 987 | 700 | }; |
| 988 | 701 | }, |
| 989 | 702 | getDefaultElements() { |
| 990 | 703 | return { |
| @@ -1038,40 +751,15 @@ | ||
| 1038 | 751 | width -= settings.margin * 2; |
| 1039 | 752 | } |
| 1040 | 753 | css.width = width + 'px'; |
| 1041 | 754 | css[settings.direction] = correctOffset + 'px'; |
| 1042 | - if ('variables' === settings.cssOutput) { | |
| 1043 | - this.applyCssVariables($element, css); | |
| 1044 | - return; | |
| 1045 | - } | |
| 1046 | 755 | $element.css(css); |
| 1047 | 756 | }, |
| 1048 | 757 | reset() { |
| 1049 | - const css = {}, | |
| 1050 | - settings = this.getSettings(), | |
| 1051 | - $element = this.elements.$element; | |
| 1052 | - if ('variables' === settings.cssOutput) { | |
| 1053 | - this.resetCssVariables($element); | |
| 1054 | - return; | |
| 1055 | - } | |
| 758 | + var css = {}; | |
| 1056 | 759 | css.width = ''; |
| 1057 | - css[settings.direction] = ''; | |
| 1058 | - $element.css(css); | |
| 1059 | - }, | |
| 1060 | - applyCssVariables($element, css) { | |
| 1061 | - $element.css('--stretch-width', css.width); | |
| 1062 | - if (!!css.left) { | |
| 1063 | - $element.css('--stretch-left', css.left); | |
| 1064 | - } else { | |
| 1065 | - $element.css('--stretch-right', css.right); | |
| 1066 | - } | |
| 1067 | - }, | |
| 1068 | - resetCssVariables($element) { | |
| 1069 | - $element.css({ | |
| 1070 | - '--stretch-width': '', | |
| 1071 | - '--stretch-left': '', | |
| 1072 | - '--stretch-right': '' | |
| 1073 | - }); | |
| 760 | + css[this.getSettings('direction')] = ''; | |
| 761 | + this.elements.$element.css(css); | |
| 1074 | 762 | } |
| 1075 | 763 | }); |
| 1076 | 764 | |
| 1077 | 765 | /***/ }), |
| @@ -1089,8 +777,9 @@ | ||
| 1089 | 777 | Object.defineProperty(exports, "__esModule", ({ |
| 1090 | 778 | value: true |
| 1091 | 779 | })); |
| 1092 | 780 | exports["default"] = void 0; |
| 781 | +__webpack_require__(/*! core-js/modules/es.error.cause.js */ "../node_modules/core-js/modules/es.error.cause.js"); | |
| 1093 | 782 | var _instanceType = _interopRequireDefault(__webpack_require__(/*! ./instance-type */ "../assets/dev/js/modules/imports/instance-type.js")); |
| 1094 | 783 | var _isInstanceof = _interopRequireDefault(__webpack_require__(/*! ../../editor/utils/is-instanceof */ "../assets/dev/js/editor/utils/is-instanceof.js")); |
| 1095 | 784 | class ArgsObject extends _instanceType.default { |
| 1096 | 785 | static getInstanceType() { |
| @@ -1117,10 +806,12 @@ | ||
| 1117 | 806 | * @param {string} property |
| 1118 | 807 | * @param {{}} args |
| 1119 | 808 | * |
| 1120 | 809 | * @throws {Error} |
| 810 | + * | |
| 1121 | 811 | */ |
| 1122 | - requireArgument(property, args = this.args) { | |
| 812 | + requireArgument(property) { | |
| 813 | + let args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.args; | |
| 1123 | 814 | if (!Object.prototype.hasOwnProperty.call(args, property)) { |
| 1124 | 815 | throw Error(`${property} is required.`); |
| 1125 | 816 | } |
| 1126 | 817 | } |
| @@ -1134,10 +825,12 @@ | ||
| 1134 | 825 | * @param {string} type |
| 1135 | 826 | * @param {{}} args |
| 1136 | 827 | * |
| 1137 | 828 | * @throws {Error} |
| 829 | + * | |
| 1138 | 830 | */ |
| 1139 | - requireArgumentType(property, type, args = this.args) { | |
| 831 | + requireArgumentType(property, type) { | |
| 832 | + let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 1140 | 833 | this.requireArgument(property, args); |
| 1141 | 834 | if (typeof args[property] !== type) { |
| 1142 | 835 | throw Error(`${property} invalid type: ${type}.`); |
| 1143 | 836 | } |
| @@ -1152,10 +845,12 @@ | ||
| 1152 | 845 | * @param {*} instance |
| 1153 | 846 | * @param {{}} args |
| 1154 | 847 | * |
| 1155 | 848 | * @throws {Error} |
| 849 | + * | |
| 1156 | 850 | */ |
| 1157 | - requireArgumentInstance(property, instance, args = this.args) { | |
| 851 | + requireArgumentInstance(property, instance) { | |
| 852 | + let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 1158 | 853 | this.requireArgument(property, args); |
| 1159 | 854 | if (!(args[property] instanceof instance) && !(0, _isInstanceof.default)(args[property], instance)) { |
| 1160 | 855 | throw Error(`${property} invalid instance.`); |
| 1161 | 856 | } |
| @@ -1170,10 +865,12 @@ | ||
| 1170 | 865 | * @param {*} type |
| 1171 | 866 | * @param {{}} args |
| 1172 | 867 | * |
| 1173 | 868 | * @throws {Error} |
| 869 | + * | |
| 1174 | 870 | */ |
| 1175 | - requireArgumentConstructor(property, type, args = this.args) { | |
| 871 | + requireArgumentConstructor(property, type) { | |
| 872 | + let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 1176 | 873 | this.requireArgument(property, args); |
| 1177 | 874 | |
| 1178 | 875 | // Note: Converting the constructor to string in order to avoid equation issues |
| 1179 | 876 | // due to different memory addresses between iframes (window.Object !== window.top.Object). |
| @@ -1189,9 +886,9 @@ | ||
| 1189 | 886 | /***/ "../assets/dev/js/modules/imports/force-method-implementation.js": |
| 1190 | 887 | /*!***********************************************************************!*\ |
| 1191 | 888 | !*** ../assets/dev/js/modules/imports/force-method-implementation.js ***! |
| 1192 | 889 | \***********************************************************************/ |
| 1193 | -/***/ ((__unused_webpack_module, exports) => { | |
| 890 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1194 | 891 | |
| 1195 | 892 | "use strict"; |
| 1196 | 893 | |
| 1197 | 894 | |
| @@ -1198,12 +895,15 @@ | ||
| 1198 | 895 | Object.defineProperty(exports, "__esModule", ({ |
| 1199 | 896 | value: true |
| 1200 | 897 | })); |
| 1201 | 898 | exports["default"] = exports.ForceMethodImplementation = void 0; |
| 899 | +__webpack_require__(/*! core-js/modules/es.error.cause.js */ "../node_modules/core-js/modules/es.error.cause.js"); | |
| 1202 | 900 | // TODO: Wrong location used as `elementorModules.ForceMethodImplementation(); should be` `elementorUtils.forceMethodImplementation()`; |
| 1203 | 901 | |
| 1204 | 902 | class ForceMethodImplementation extends Error { |
| 1205 | - constructor(info = {}, args = {}) { | |
| 903 | + constructor() { | |
| 904 | + let info = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 905 | + let args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | |
| 1206 | 906 | super(`${info.isStatic ? 'static ' : ''}${info.fullName}() should be implemented, please provide '${info.functionName || info.fullName}' functionality.`, args); |
| 1207 | 907 | |
| 1208 | 908 | // Allow to pass custom properties to the error. |
| 1209 | 909 | if (Object.keys(args).length) { |
| @@ -1237,9 +937,9 @@ | ||
| 1237 | 937 | /***/ "../assets/dev/js/modules/imports/instance-type.js": |
| 1238 | 938 | /*!*********************************************************!*\ |
| 1239 | 939 | !*** ../assets/dev/js/modules/imports/instance-type.js ***! |
| 1240 | 940 | \*********************************************************/ |
| 1241 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 941 | +/***/ ((__unused_webpack_module, exports) => { | |
| 1242 | 942 | |
| 1243 | 943 | "use strict"; |
| 1244 | 944 | |
| 1245 | 945 | |
| @@ -1246,11 +946,8 @@ | ||
| 1246 | 946 | Object.defineProperty(exports, "__esModule", ({ |
| 1247 | 947 | value: true |
| 1248 | 948 | })); |
| 1249 | 949 | 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 | 950 | class InstanceType { |
| 1254 | 951 | static [Symbol.hasInstance](target) { |
| 1255 | 952 | /** |
| 1256 | 953 | * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class |
| @@ -1311,12 +1008,9 @@ | ||
| 1311 | 1008 | |
| 1312 | 1009 | "use strict"; |
| 1313 | 1010 | |
| 1314 | 1011 | |
| 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"); | |
| 1012 | +__webpack_require__(/*! core-js/modules/es.error.cause.js */ "../node_modules/core-js/modules/es.error.cause.js"); | |
| 1319 | 1013 | const Module = function () { |
| 1320 | 1014 | const $ = jQuery, |
| 1321 | 1015 | instanceParams = arguments, |
| 1322 | 1016 | self = this, |
| @@ -1484,11 +1178,10 @@ | ||
| 1484 | 1178 | Object.defineProperty(exports, "__esModule", ({ |
| 1485 | 1179 | value: true |
| 1486 | 1180 | })); |
| 1487 | 1181 | exports["default"] = void 0; |
| 1488 | -__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js"); | |
| 1489 | 1182 | var _viewModule = _interopRequireDefault(__webpack_require__(/*! ../view-module */ "../assets/dev/js/modules/imports/view-module.js")); |
| 1490 | -var _default = exports["default"] = _viewModule.default.extend({ | |
| 1183 | +var _default = _viewModule.default.extend({ | |
| 1491 | 1184 | getDefaultSettings() { |
| 1492 | 1185 | return { |
| 1493 | 1186 | container: null, |
| 1494 | 1187 | items: null, |
| @@ -1525,8 +1218,9 @@ | ||
| 1525 | 1218 | } |
| 1526 | 1219 | }); |
| 1527 | 1220 | } |
| 1528 | 1221 | }); |
| 1222 | +exports["default"] = _default; | |
| 1529 | 1223 | |
| 1530 | 1224 | /***/ }), |
| 1531 | 1225 | |
| 1532 | 1226 | /***/ "../assets/dev/js/modules/imports/utils/scroll.js": |
| @@ -1532,9 +1226,9 @@ | ||
| 1532 | 1226 | /***/ "../assets/dev/js/modules/imports/utils/scroll.js": |
| 1533 | 1227 | /*!********************************************************!*\ |
| 1534 | 1228 | !*** ../assets/dev/js/modules/imports/utils/scroll.js ***! |
| 1535 | 1229 | \********************************************************/ |
| 1536 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1230 | +/***/ ((__unused_webpack_module, exports) => { | |
| 1537 | 1231 | |
| 1538 | 1232 | "use strict"; |
| 1539 | 1233 | |
| 1540 | 1234 | |
| @@ -1541,9 +1235,8 @@ | ||
| 1541 | 1235 | Object.defineProperty(exports, "__esModule", ({ |
| 1542 | 1236 | value: true |
| 1543 | 1237 | })); |
| 1544 | 1238 | exports["default"] = void 0; |
| 1545 | -__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js"); | |
| 1546 | 1239 | // Moved from elementor pro: 'assets/dev/js/frontend/utils' |
| 1547 | 1240 | class Scroll { |
| 1548 | 1241 | /** |
| 1549 | 1242 | * @param {Object} obj |
| @@ -1554,26 +1247,27 @@ | ||
| 1554 | 1247 | */ |
| 1555 | 1248 | static scrollObserver(obj) { |
| 1556 | 1249 | let lastScrollY = 0; |
| 1557 | 1250 | |
| 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 = []; | |
| 1251 | + // Generating threshholds points along the animation height | |
| 1252 | + // More threshholds points = more trigger points of the callback | |
| 1253 | + const buildThreshholds = function () { | |
| 1254 | + let sensitivityPercentage = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; | |
| 1255 | + const threshholds = []; | |
| 1562 | 1256 | if (sensitivityPercentage > 0 && sensitivityPercentage <= 100) { |
| 1563 | 1257 | const increment = 100 / sensitivityPercentage; |
| 1564 | 1258 | for (let i = 0; i <= 100; i += increment) { |
| 1565 | - thresholds.push(i / 100); | |
| 1259 | + threshholds.push(i / 100); | |
| 1566 | 1260 | } |
| 1567 | 1261 | } else { |
| 1568 | - thresholds.push(0); | |
| 1262 | + threshholds.push(0); | |
| 1569 | 1263 | } |
| 1570 | - return thresholds; | |
| 1264 | + return threshholds; | |
| 1571 | 1265 | }; |
| 1572 | 1266 | const options = { |
| 1573 | 1267 | root: obj.root || null, |
| 1574 | 1268 | rootMargin: obj.offset || '0px', |
| 1575 | - threshold: buildThresholds(obj.sensitivity) | |
| 1269 | + threshold: buildThreshholds(obj.sensitivity) | |
| 1576 | 1270 | }; |
| 1577 | 1271 | function handleIntersect(entries) { |
| 1578 | 1272 | const currentScrollY = entries[0].boundingClientRect.y, |
| 1579 | 1273 | isInViewport = entries[0].isIntersecting, |
| @@ -1595,9 +1289,10 @@ | ||
| 1595 | 1289 | * @param {Object} offsetObj |
| 1596 | 1290 | * @param {number} offsetObj.start - Offset start value in percentages |
| 1597 | 1291 | * @param {number} offsetObj.end - Offset end value in percentages |
| 1598 | 1292 | */ |
| 1599 | - static getElementViewportPercentage($element, offsetObj = {}) { | |
| 1293 | + static getElementViewportPercentage($element) { | |
| 1294 | + let offsetObj = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | |
| 1600 | 1295 | const elementOffset = $element[0].getBoundingClientRect(), |
| 1601 | 1296 | offsetStart = offsetObj.start || 0, |
| 1602 | 1297 | offsetEnd = offsetObj.end || 0, |
| 1603 | 1298 | windowStartOffset = window.innerHeight * offsetStart / 100, |
| @@ -1615,9 +1310,11 @@ | ||
| 1615 | 1310 | * @param {number} offsetObj.start - Offset start value in percentages |
| 1616 | 1311 | * @param {number} offsetObj.end - Offset end value in percentages |
| 1617 | 1312 | * @param {number} limitPageHeight - Will limit the page height calculation |
| 1618 | 1313 | */ |
| 1619 | - static getPageScrollPercentage(offsetObj = {}, limitPageHeight) { | |
| 1314 | + static getPageScrollPercentage() { | |
| 1315 | + let offsetObj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 1316 | + let limitPageHeight = arguments.length > 1 ? arguments[1] : undefined; | |
| 1620 | 1317 | const offsetStart = offsetObj.start || 0, |
| 1621 | 1318 | offsetEnd = offsetObj.end || 0, |
| 1622 | 1319 | initialPageHeight = limitPageHeight || document.documentElement.scrollHeight - document.documentElement.clientHeight, |
| 1623 | 1320 | heightOffset = initialPageHeight * offsetStart / 100, |
| @@ -1644,9 +1341,9 @@ | ||
| 1644 | 1341 | value: true |
| 1645 | 1342 | })); |
| 1646 | 1343 | exports["default"] = void 0; |
| 1647 | 1344 | var _module = _interopRequireDefault(__webpack_require__(/*! ./module */ "../assets/dev/js/modules/imports/module.js")); |
| 1648 | -var _default = exports["default"] = _module.default.extend({ | |
| 1345 | +var _default = _module.default.extend({ | |
| 1649 | 1346 | elements: null, |
| 1650 | 1347 | getDefaultElements() { |
| 1651 | 1348 | return {}; |
| 1652 | 1349 | }, |
| @@ -1658,8 +1355,9 @@ | ||
| 1658 | 1355 | initElements() { |
| 1659 | 1356 | this.elements = this.getDefaultElements(); |
| 1660 | 1357 | } |
| 1661 | 1358 | }); |
| 1359 | +exports["default"] = _default; | |
| 1662 | 1360 | |
| 1663 | 1361 | /***/ }), |
| 1664 | 1362 | |
| 1665 | 1363 | /***/ "../assets/dev/js/modules/modules.js": |
| @@ -1681,11 +1379,9 @@ | ||
| 1681 | 1379 | var _argsObject = _interopRequireDefault(__webpack_require__(/*! ./imports/args-object */ "../assets/dev/js/modules/imports/args-object.js")); |
| 1682 | 1380 | var _masonry = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/masonry */ "../assets/dev/js/modules/imports/utils/masonry.js")); |
| 1683 | 1381 | var _scroll = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/scroll */ "../assets/dev/js/modules/imports/utils/scroll.js")); |
| 1684 | 1382 | 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 = { | |
| 1383 | +var _default = window.elementorModules = { | |
| 1688 | 1384 | Module: _module.default, |
| 1689 | 1385 | ViewModule: _viewModule.default, |
| 1690 | 1386 | ArgsObject: _argsObject.default, |
| 1691 | 1387 | ForceMethodImplementation: _forceMethodImplementation.default, |
| @@ -1691,35 +1387,441 @@ | ||
| 1691 | 1387 | ForceMethodImplementation: _forceMethodImplementation.default, |
| 1692 | 1388 | utils: { |
| 1693 | 1389 | Masonry: _masonry.default, |
| 1694 | 1390 | Scroll: _scroll.default |
| 1695 | - }, | |
| 1696 | - importExport: { | |
| 1697 | - createGetInitialState: _templateRegistryHelpers.createGetInitialState, | |
| 1698 | - customizationDialogsRegistry: _customizationDialogs.customizationDialogsRegistry | |
| 1699 | 1391 | } |
| 1700 | 1392 | }; |
| 1701 | -if (!window.elementorModules) { | |
| 1702 | - window.elementorModules = baseModules; | |
| 1703 | -} else { | |
| 1704 | - Object.assign(window.elementorModules, baseModules); | |
| 1705 | -} | |
| 1706 | -var _default = exports["default"] = window.elementorModules; | |
| 1393 | +exports["default"] = _default; | |
| 1707 | 1394 | |
| 1708 | 1395 | /***/ }), |
| 1709 | 1396 | |
| 1710 | -/***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js": | |
| 1711 | -/*!***********************************************************************!*\ | |
| 1712 | - !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! | |
| 1713 | - \***********************************************************************/ | |
| 1714 | -/***/ ((module) => { | |
| 1397 | +/***/ "../modules/nested-tabs/assets/js/frontend/handlers/nested-tabs.js": | |
| 1398 | +/*!*************************************************************************!*\ | |
| 1399 | + !*** ../modules/nested-tabs/assets/js/frontend/handlers/nested-tabs.js ***! | |
| 1400 | + \*************************************************************************/ | |
| 1401 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1715 | 1402 | |
| 1716 | -function _interopRequireDefault(e) { | |
| 1717 | - return e && e.__esModule ? e : { | |
| 1718 | - "default": e | |
| 1719 | - }; | |
| 1403 | +"use strict"; | |
| 1404 | + | |
| 1405 | + | |
| 1406 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1407 | +Object.defineProperty(exports, "__esModule", ({ | |
| 1408 | + value: true | |
| 1409 | +})); | |
| 1410 | +exports["default"] = void 0; | |
| 1411 | +var _base = _interopRequireDefault(__webpack_require__(/*! ../../../../../../assets/dev/js/frontend/handlers/base */ "../assets/dev/js/frontend/handlers/base.js")); | |
| 1412 | +class NestedTabs extends _base.default { | |
| 1413 | + /** | |
| 1414 | + * @param {string|number} tabIndex | |
| 1415 | + * | |
| 1416 | + * @return {string} | |
| 1417 | + */ | |
| 1418 | + getTabTitleFilterSelector(tabIndex) { | |
| 1419 | + return `[data-tab="${tabIndex}"]`; | |
| 1420 | + } | |
| 1421 | + | |
| 1422 | + /** | |
| 1423 | + * @param {string|number} tabIndex | |
| 1424 | + * | |
| 1425 | + * @return {string} | |
| 1426 | + */ | |
| 1427 | + getTabContentFilterSelector(tabIndex) { | |
| 1428 | + // Double by 2, since each `e-con` should have 'e-collapse'. | |
| 1429 | + return `*:nth-child(${tabIndex * 2})`; | |
| 1430 | + } | |
| 1431 | + | |
| 1432 | + /** | |
| 1433 | + * @param {HTMLElement} tabTitleElement | |
| 1434 | + * | |
| 1435 | + * @return {string} | |
| 1436 | + */ | |
| 1437 | + getTabIndex(tabTitleElement) { | |
| 1438 | + return tabTitleElement.getAttribute('data-tab'); | |
| 1439 | + } | |
| 1440 | + getDefaultSettings() { | |
| 1441 | + return { | |
| 1442 | + selectors: { | |
| 1443 | + tablist: '[role="tablist"]', | |
| 1444 | + tabTitle: '.e-n-tab-title', | |
| 1445 | + tabContent: '.e-con', | |
| 1446 | + headingContainer: '.e-n-tabs-heading', | |
| 1447 | + activeTabContentContainers: '.e-con.e-active', | |
| 1448 | + mobileTabTitle: '.e-collapse' | |
| 1449 | + }, | |
| 1450 | + classes: { | |
| 1451 | + active: 'e-active' | |
| 1452 | + }, | |
| 1453 | + showTabFn: 'show', | |
| 1454 | + hideTabFn: 'hide', | |
| 1455 | + toggleSelf: false, | |
| 1456 | + hidePrevious: true, | |
| 1457 | + autoExpand: true, | |
| 1458 | + keyDirection: { | |
| 1459 | + ArrowLeft: elementorFrontendConfig.is_rtl ? 1 : -1, | |
| 1460 | + ArrowUp: -1, | |
| 1461 | + ArrowRight: elementorFrontendConfig.is_rtl ? -1 : 1, | |
| 1462 | + ArrowDown: 1 | |
| 1463 | + } | |
| 1464 | + }; | |
| 1465 | + } | |
| 1466 | + getDefaultElements() { | |
| 1467 | + const selectors = this.getSettings('selectors'); | |
| 1468 | + return { | |
| 1469 | + $tabTitles: this.findElement(selectors.tabTitle), | |
| 1470 | + $tabContents: this.findElement(selectors.tabContent), | |
| 1471 | + $mobileTabTitles: this.findElement(selectors.mobileTabTitle), | |
| 1472 | + $headingContainer: this.findElement(selectors.headingContainer) | |
| 1473 | + }; | |
| 1474 | + } | |
| 1475 | + activateDefaultTab() { | |
| 1476 | + const settings = this.getSettings(); | |
| 1477 | + const defaultActiveTab = this.getEditSettings('activeItemIndex') || 1, | |
| 1478 | + originalToggleMethods = { | |
| 1479 | + showTabFn: settings.showTabFn, | |
| 1480 | + hideTabFn: settings.hideTabFn | |
| 1481 | + }; | |
| 1482 | + | |
| 1483 | + // Toggle tabs without animation to avoid jumping | |
| 1484 | + this.setSettings({ | |
| 1485 | + showTabFn: 'show', | |
| 1486 | + hideTabFn: 'hide' | |
| 1487 | + }); | |
| 1488 | + this.changeActiveTab(defaultActiveTab); | |
| 1489 | + | |
| 1490 | + // Return back original toggle effects | |
| 1491 | + this.setSettings(originalToggleMethods); | |
| 1492 | + } | |
| 1493 | + handleKeyboardNavigation(event) { | |
| 1494 | + const tab = event.currentTarget, | |
| 1495 | + $tabList = jQuery(tab.closest(this.getSettings('selectors').tablist)), | |
| 1496 | + // eslint-disable-next-line @wordpress/no-unused-vars-before-return | |
| 1497 | + $tabs = $tabList.find(this.getSettings('selectors').tabTitle), | |
| 1498 | + isVertical = 'vertical' === $tabList.attr('aria-orientation'); | |
| 1499 | + switch (event.key) { | |
| 1500 | + case 'ArrowLeft': | |
| 1501 | + case 'ArrowRight': | |
| 1502 | + if (isVertical) { | |
| 1503 | + return; | |
| 1504 | + } | |
| 1505 | + break; | |
| 1506 | + case 'ArrowUp': | |
| 1507 | + case 'ArrowDown': | |
| 1508 | + if (!isVertical) { | |
| 1509 | + return; | |
| 1510 | + } | |
| 1511 | + event.preventDefault(); | |
| 1512 | + break; | |
| 1513 | + case 'Home': | |
| 1514 | + event.preventDefault(); | |
| 1515 | + $tabs.first().trigger('focus'); | |
| 1516 | + return; | |
| 1517 | + case 'End': | |
| 1518 | + event.preventDefault(); | |
| 1519 | + $tabs.last().trigger('focus'); | |
| 1520 | + return; | |
| 1521 | + default: | |
| 1522 | + return; | |
| 1523 | + } | |
| 1524 | + const tabIndex = tab.getAttribute('data-tab') - 1, | |
| 1525 | + direction = this.getSettings('keyDirection')[event.key], | |
| 1526 | + nextTab = $tabs[tabIndex + direction]; | |
| 1527 | + if (nextTab) { | |
| 1528 | + nextTab.focus(); | |
| 1529 | + } else if (-1 === tabIndex + direction) { | |
| 1530 | + $tabs.last().trigger('focus'); | |
| 1531 | + } else { | |
| 1532 | + $tabs.first().trigger('focus'); | |
| 1533 | + } | |
| 1534 | + } | |
| 1535 | + deactivateActiveTab(tabIndex) { | |
| 1536 | + const settings = this.getSettings(), | |
| 1537 | + activeClass = settings.classes.active, | |
| 1538 | + activeTitleFilter = tabIndex ? this.getTabTitleFilterSelector(tabIndex) : '.' + activeClass, | |
| 1539 | + activeContentFilter = tabIndex ? this.getTabContentFilterSelector(tabIndex) : '.' + activeClass, | |
| 1540 | + $activeTitle = this.elements.$tabTitles.filter(activeTitleFilter), | |
| 1541 | + $activeContent = this.elements.$tabContents.filter(activeContentFilter); | |
| 1542 | + $activeTitle.add($activeContent).removeClass(activeClass); | |
| 1543 | + $activeTitle.attr(this.getTitleDeactivationAttributes()); | |
| 1544 | + $activeContent[settings.hideTabFn](0, () => this.onHideTabContent($activeContent)); | |
| 1545 | + $activeContent.attr('hidden', 'hidden'); | |
| 1546 | + } | |
| 1547 | + getTitleDeactivationAttributes() { | |
| 1548 | + return { | |
| 1549 | + tabindex: '-1', | |
| 1550 | + 'aria-selected': 'false', | |
| 1551 | + 'aria-expanded': 'false' | |
| 1552 | + }; | |
| 1553 | + } | |
| 1554 | + onHideTabContent($activeContent) {} | |
| 1555 | + activateTab(tabIndex) { | |
| 1556 | + const settings = this.getSettings(), | |
| 1557 | + activeClass = settings.classes.active, | |
| 1558 | + animationDuration = 'show' === settings.showTabFn ? 0 : 400; | |
| 1559 | + let $requestedTitle = this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(tabIndex)), | |
| 1560 | + $requestedContent = this.elements.$tabContents.filter(this.getTabContentFilterSelector(tabIndex)); | |
| 1561 | + | |
| 1562 | + // Check if the tabIndex exists. | |
| 1563 | + if (!$requestedTitle.length) { | |
| 1564 | + // Activate the previous tab and ensure that the tab index is not less than 1. | |
| 1565 | + const previousTabIndex = Math.max(tabIndex - 1, 1); | |
| 1566 | + $requestedTitle = this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(previousTabIndex)); | |
| 1567 | + $requestedContent = this.elements.$tabContents.filter(this.getTabContentFilterSelector(previousTabIndex)); | |
| 1568 | + } | |
| 1569 | + $requestedTitle.add($requestedContent).addClass(activeClass); | |
| 1570 | + $requestedTitle.attr({ | |
| 1571 | + tabindex: '0', | |
| 1572 | + 'aria-selected': 'true', | |
| 1573 | + 'aria-expanded': 'true' | |
| 1574 | + }); | |
| 1575 | + $requestedContent[settings.showTabFn](animationDuration, () => this.onShowTabContent($requestedContent)); | |
| 1576 | + $requestedContent.removeAttr('hidden'); | |
| 1577 | + } | |
| 1578 | + onShowTabContent($requestedContent) { | |
| 1579 | + elementorFrontend.elements.$window.trigger('elementor-pro/motion-fx/recalc'); | |
| 1580 | + elementorFrontend.elements.$window.trigger('elementor/nested-tabs/activate', $requestedContent); | |
| 1581 | + } | |
| 1582 | + isActiveTab(tabIndex) { | |
| 1583 | + return this.elements.$tabTitles.filter('[data-tab="' + tabIndex + '"]').hasClass(this.getSettings('classes.active')); | |
| 1584 | + } | |
| 1585 | + onTabClick(event) { | |
| 1586 | + event.preventDefault(); | |
| 1587 | + this.changeActiveTab(event.currentTarget.getAttribute('data-tab'), true); | |
| 1588 | + } | |
| 1589 | + onTabKeyDown(event) { | |
| 1590 | + this.preventDefaultLinkBehaviourForTabTitle(event); | |
| 1591 | + this.onKeydownAvoidUndesiredPageScrolling(event); | |
| 1592 | + } | |
| 1593 | + onTabKeyUp(event) { | |
| 1594 | + switch (event.code) { | |
| 1595 | + case 'ArrowLeft': | |
| 1596 | + case 'ArrowRight': | |
| 1597 | + this.handleKeyboardNavigation(event); | |
| 1598 | + break; | |
| 1599 | + case 'Enter': | |
| 1600 | + case 'Space': | |
| 1601 | + event.preventDefault(); | |
| 1602 | + this.changeActiveTab(event.currentTarget.getAttribute('data-tab'), true); | |
| 1603 | + break; | |
| 1604 | + } | |
| 1605 | + } | |
| 1606 | + getTabEvents() { | |
| 1607 | + return { | |
| 1608 | + keydown: this.onTabKeyDown.bind(this), | |
| 1609 | + keyup: this.onTabKeyUp.bind(this), | |
| 1610 | + click: this.onTabClick.bind(this) | |
| 1611 | + }; | |
| 1612 | + } | |
| 1613 | + bindEvents() { | |
| 1614 | + this.elements.$tabTitles.on(this.getTabEvents()); | |
| 1615 | + elementorFrontend.elements.$window.on('elementor/nested-tabs/activate', this.reInitSwipers); | |
| 1616 | + } | |
| 1617 | + preventDefaultLinkBehaviourForTabTitle(event) { | |
| 1618 | + // Support for old markup that includes an `<a>` tag in the tab | |
| 1619 | + if (jQuery(event.target).is('a') && `Enter` === event.key) { | |
| 1620 | + event.preventDefault(); | |
| 1621 | + } | |
| 1622 | + } | |
| 1623 | + onKeydownAvoidUndesiredPageScrolling(event) { | |
| 1624 | + // We listen to keydowon event for these keys in order to prevent undesired page scrolling | |
| 1625 | + if (['End', 'Home', 'ArrowUp', 'ArrowDown'].includes(event.key)) { | |
| 1626 | + this.handleKeyboardNavigation(event); | |
| 1627 | + } | |
| 1628 | + } | |
| 1629 | + | |
| 1630 | + /** | |
| 1631 | + * Fixes issues where Swipers that have been initialized while a tab is not visible are not properly rendered | |
| 1632 | + * and when switching to the tab the swiper will not respect any of the chosen `autoplay` related settings. | |
| 1633 | + * | |
| 1634 | + * This is triggered when switching to a nested tab, looks for Swipers in the tab content and reinitializes them. | |
| 1635 | + * | |
| 1636 | + * @param {Object} event - Incoming event. | |
| 1637 | + * @param {Object} content - Active nested tab dom element. | |
| 1638 | + */ | |
| 1639 | + reInitSwipers(event, content) { | |
| 1640 | + const swiperElements = content.querySelectorAll(`.${elementorFrontend.config.swiperClass}`); | |
| 1641 | + for (const element of swiperElements) { | |
| 1642 | + if (!element.swiper) { | |
| 1643 | + return; | |
| 1644 | + } | |
| 1645 | + element.swiper.initialized = false; | |
| 1646 | + element.swiper.init(); | |
| 1647 | + } | |
| 1648 | + } | |
| 1649 | + onInit() { | |
| 1650 | + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { | |
| 1651 | + args[_key] = arguments[_key]; | |
| 1652 | + } | |
| 1653 | + this.createMobileTabs(args); | |
| 1654 | + super.onInit(...args); | |
| 1655 | + if (this.getSettings('autoExpand')) { | |
| 1656 | + this.activateDefaultTab(); | |
| 1657 | + } | |
| 1658 | + } | |
| 1659 | + onEditSettingsChange(propertyName, value) { | |
| 1660 | + if ('activeItemIndex' === propertyName) { | |
| 1661 | + this.changeActiveTab(value, false); | |
| 1662 | + } | |
| 1663 | + } | |
| 1664 | + | |
| 1665 | + /** | |
| 1666 | + * @param {string} tabIndex | |
| 1667 | + * @param {boolean} fromUser - Whether the call is caused by the user or internal. | |
| 1668 | + */ | |
| 1669 | + changeActiveTab(tabIndex) { | |
| 1670 | + let fromUser = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; | |
| 1671 | + // `document/repeater/select` is used only in the editor, only when the element | |
| 1672 | + // is in the currently-edited document, and only when its not internal call, | |
| 1673 | + if (fromUser && this.isEdit && this.isElementInTheCurrentDocument()) { | |
| 1674 | + return window.top.$e.run('document/repeater/select', { | |
| 1675 | + container: elementor.getContainer(this.$element.attr('data-id')), | |
| 1676 | + index: parseInt(tabIndex) | |
| 1677 | + }); | |
| 1678 | + } | |
| 1679 | + const isActiveTab = this.isActiveTab(tabIndex), | |
| 1680 | + settings = this.getSettings(); | |
| 1681 | + if ((settings.toggleSelf || !isActiveTab) && settings.hidePrevious) { | |
| 1682 | + this.deactivateActiveTab(); | |
| 1683 | + } | |
| 1684 | + if (!settings.hidePrevious && isActiveTab) { | |
| 1685 | + this.deactivateActiveTab(tabIndex); | |
| 1686 | + } | |
| 1687 | + if (!isActiveTab) { | |
| 1688 | + const isMobileVersion = 'none' === this.elements.$headingContainer.css('display'); | |
| 1689 | + if (isMobileVersion) { | |
| 1690 | + this.activateMobileTab(tabIndex); | |
| 1691 | + return; | |
| 1692 | + } | |
| 1693 | + this.activateTab(tabIndex); | |
| 1694 | + } | |
| 1695 | + } | |
| 1696 | + activateMobileTab(tabIndex) { | |
| 1697 | + // Timeout time added to ensure that opening of the active tab starts after closing the other tab on Apple devices. | |
| 1698 | + setTimeout(() => { | |
| 1699 | + this.activateTab(tabIndex); | |
| 1700 | + this.forceActiveTabToBeInViewport(tabIndex); | |
| 1701 | + }, 10); | |
| 1702 | + } | |
| 1703 | + forceActiveTabToBeInViewport(tabIndex) { | |
| 1704 | + if (!elementorFrontend.isEditMode()) { | |
| 1705 | + return; | |
| 1706 | + } | |
| 1707 | + const $activeTabTitle = this.elements.$mobileTabTitles.filter(this.getTabTitleFilterSelector(tabIndex)); | |
| 1708 | + if (!elementor.helpers.isInViewport($activeTabTitle[0])) { | |
| 1709 | + $activeTabTitle[0].scrollIntoView({ | |
| 1710 | + block: 'center' | |
| 1711 | + }); | |
| 1712 | + } | |
| 1713 | + } | |
| 1714 | + createMobileTabs(args) { | |
| 1715 | + const settings = this.getSettings(); | |
| 1716 | + if (elementorFrontend.isEditMode()) { | |
| 1717 | + const $widget = this.$element, | |
| 1718 | + $removed = this.findElement('.e-collapse').remove(); | |
| 1719 | + let index = 1; | |
| 1720 | + this.findElement('.e-con').each(function () { | |
| 1721 | + const $current = jQuery(this), | |
| 1722 | + $desktopTabTitle = $widget.find(`${settings.selectors.headingContainer} > *:nth-child(${index})`), | |
| 1723 | + mobileTitleHTML = `<div class="${settings.selectors.tabTitle.replace('.', '')} e-collapse" data-tab="${index}" role="tab">${$desktopTabTitle.html()}</div>`; | |
| 1724 | + $current.before(mobileTitleHTML); | |
| 1725 | + ++index; | |
| 1726 | + }); | |
| 1727 | + | |
| 1728 | + // On refresh since indexes are rearranged, do not call `activateDefaultTab` let editor control handle it. | |
| 1729 | + if ($removed.length) { | |
| 1730 | + return elementorModules.ViewModule.prototype.onInit.apply(this, args); | |
| 1731 | + } | |
| 1732 | + } | |
| 1733 | + } | |
| 1734 | + getActiveClass() { | |
| 1735 | + const settings = this.getSettings(); | |
| 1736 | + return settings.classes.active; | |
| 1737 | + } | |
| 1738 | + getVisibleTabTitle(tabTitleFilter) { | |
| 1739 | + const $tabTitle = this.elements.$tabTitles.filter(tabTitleFilter), | |
| 1740 | + isTabTitleDesktopVisible = null !== $tabTitle[0]?.offsetParent; | |
| 1741 | + return isTabTitleDesktopVisible ? $tabTitle[0] : $tabTitle[1]; | |
| 1742 | + } | |
| 1743 | + getKeyPressed(event) { | |
| 1744 | + const keyTab = 9, | |
| 1745 | + keyEscape = 27, | |
| 1746 | + isTabPressed = keyTab === event?.which, | |
| 1747 | + isShiftPressed = event?.shiftKey, | |
| 1748 | + isShiftAndTabPressed = !!isTabPressed && isShiftPressed, | |
| 1749 | + isOnlyTabPressed = !!isTabPressed && !isShiftPressed, | |
| 1750 | + isEscapePressed = keyEscape === event?.which; | |
| 1751 | + if (isShiftAndTabPressed) { | |
| 1752 | + return 'ShiftTab'; | |
| 1753 | + } else if (isOnlyTabPressed) { | |
| 1754 | + return 'Tab'; | |
| 1755 | + } else if (isEscapePressed) { | |
| 1756 | + return 'Escape'; | |
| 1757 | + } | |
| 1758 | + } | |
| 1759 | + changeFocusFromContentContainerItemBackToTabTitle(event) { | |
| 1760 | + if (this.hasDropdownLayout()) { | |
| 1761 | + return; | |
| 1762 | + } | |
| 1763 | + const isShiftAndTabPressed = 'ShiftTab' === this.getKeyPressed(event), | |
| 1764 | + isOnlyTabPressed = 'Tab' === this.getKeyPressed(event), | |
| 1765 | + isEscapePressed = 'Escape' === this.getKeyPressed(event), | |
| 1766 | + firstItemIsInFocus = this.itemInsideContentContainerHasFocus(0), | |
| 1767 | + lastItemIsInFocus = this.itemInsideContentContainerHasFocus('last'), | |
| 1768 | + activeTabTitleFilter = `.${this.getActiveClass()}`, | |
| 1769 | + activeTabTitleVisible = this.getVisibleTabTitle(activeTabTitleFilter), | |
| 1770 | + activeTabTitleIndex = parseInt(activeTabTitleVisible?.getAttribute('data-tab')), | |
| 1771 | + nextTabTitleFilter = this.getTabTitleFilterSelector(activeTabTitleIndex + 1), | |
| 1772 | + nextTabTitleVisible = this.getVisibleTabTitle(nextTabTitleFilter), | |
| 1773 | + pressShiftTabOnFirstFocusableItem = isShiftAndTabPressed && firstItemIsInFocus && !!activeTabTitleVisible, | |
| 1774 | + pressTabOnLastFocusableItem = isOnlyTabPressed && lastItemIsInFocus && !!nextTabTitleVisible; | |
| 1775 | + if (pressShiftTabOnFirstFocusableItem || isEscapePressed) { | |
| 1776 | + event.preventDefault(); | |
| 1777 | + activeTabTitleVisible?.focus(); | |
| 1778 | + } else if (pressTabOnLastFocusableItem) { | |
| 1779 | + event.preventDefault(); | |
| 1780 | + this.setTabindexOfActiveContainerItems('-1'); | |
| 1781 | + nextTabTitleVisible?.focus(); | |
| 1782 | + } | |
| 1783 | + } | |
| 1784 | + changeFocusFromActiveTabTitleToContentContainer(event) { | |
| 1785 | + const isOnlyTabPressed = 'Tab' === this.getKeyPressed(event), | |
| 1786 | + $focusableItems = this.getFocusableItemsInsideActiveContentContainer(), | |
| 1787 | + $firstFocusableItem = $focusableItems[0], | |
| 1788 | + currentTabTitle = elementorFrontend.elements.window.document.activeElement, | |
| 1789 | + currentTabTitleIndex = parseInt(currentTabTitle.getAttribute('data-tab')); | |
| 1790 | + if (isOnlyTabPressed && this.tabTitleHasActiveContentContainer(currentTabTitleIndex) && !!$firstFocusableItem) { | |
| 1791 | + event.preventDefault(); | |
| 1792 | + $firstFocusableItem.trigger('focus'); | |
| 1793 | + } | |
| 1794 | + } | |
| 1795 | + itemInsideContentContainerHasFocus(position) { | |
| 1796 | + const currentItem = elementorFrontend.elements.window.document.activeElement, | |
| 1797 | + $focusableItems = this.getFocusableItemsInsideActiveContentContainer(), | |
| 1798 | + itemIndex = 'last' === position ? $focusableItems.length - 1 : position; | |
| 1799 | + return $focusableItems[itemIndex] === currentItem; | |
| 1800 | + } | |
| 1801 | + getFocusableItemsInsideActiveContentContainer() { | |
| 1802 | + const settings = this.getSettings(); | |
| 1803 | + return this.$element.find(settings.selectors.activeTabContentContainers).find(':focusable'); | |
| 1804 | + } | |
| 1805 | + setTabindexOfActiveContainerItems(tabIndex) { | |
| 1806 | + const $focusableItems = this.getFocusableItemsInsideActiveContentContainer(); | |
| 1807 | + $focusableItems.attr('tabindex', tabIndex); | |
| 1808 | + } | |
| 1809 | + setActiveCurrentContainerItemsToFocusable() { | |
| 1810 | + const currentTabTitle = elementorFrontend.elements.window.document.activeElement, | |
| 1811 | + currentTabTitleIndex = parseInt(currentTabTitle?.getAttribute('data-tab')); | |
| 1812 | + if (this.tabTitleHasActiveContentContainer(currentTabTitleIndex)) { | |
| 1813 | + this.setTabindexOfActiveContainerItems('0'); | |
| 1814 | + } | |
| 1815 | + } | |
| 1816 | + tabTitleHasActiveContentContainer(index) { | |
| 1817 | + const $tabTitleElement = this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(index)), | |
| 1818 | + isTabTitleActive = $tabTitleElement[0]?.classList.contains(`${this.getActiveClass()}`), | |
| 1819 | + $tabTitleContainerElement = this.elements.$tabContents.filter(this.getTabContentFilterSelector(index)); | |
| 1820 | + return !!$tabTitleContainerElement && isTabTitleActive ? true : false; | |
| 1821 | + } | |
| 1720 | 1822 | } |
| 1721 | -module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 1823 | +exports["default"] = NestedTabs; | |
| 1722 | 1824 | |
| 1723 | 1825 | /***/ }), |
| 1724 | 1826 | |
| 1725 | 1827 | /***/ "../node_modules/core-js/internals/a-callable.js": |
| @@ -1727,10 +1829,8 @@ | ||
| 1727 | 1829 | !*** ../node_modules/core-js/internals/a-callable.js ***! |
| 1728 | 1830 | \*******************************************************/ |
| 1729 | 1831 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 1730 | 1832 | |
| 1731 | -"use strict"; | |
| 1732 | - | |
| 1733 | 1833 | var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 1734 | 1834 | var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../node_modules/core-js/internals/try-to-string.js"); |
| 1735 | 1835 | |
| 1736 | 1836 | var $TypeError = TypeError; |
| @@ -1737,29 +1837,28 @@ | ||
| 1737 | 1837 | |
| 1738 | 1838 | // `Assert: IsCallable(argument) is true` |
| 1739 | 1839 | module.exports = function (argument) { |
| 1740 | 1840 | if (isCallable(argument)) return argument; |
| 1741 | - throw new $TypeError(tryToString(argument) + ' is not a function'); | |
| 1841 | + throw $TypeError(tryToString(argument) + ' is not a function'); | |
| 1742 | 1842 | }; |
| 1743 | 1843 | |
| 1744 | 1844 | |
| 1745 | 1845 | /***/ }), |
| 1746 | 1846 | |
| 1747 | -/***/ "../node_modules/core-js/internals/an-instance.js": | |
| 1748 | -/*!********************************************************!*\ | |
| 1749 | - !*** ../node_modules/core-js/internals/an-instance.js ***! | |
| 1750 | - \********************************************************/ | |
| 1847 | +/***/ "../node_modules/core-js/internals/a-possible-prototype.js": | |
| 1848 | +/*!*****************************************************************!*\ | |
| 1849 | + !*** ../node_modules/core-js/internals/a-possible-prototype.js ***! | |
| 1850 | + \*****************************************************************/ | |
| 1751 | 1851 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 1752 | 1852 | |
| 1753 | -"use strict"; | |
| 1853 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 1754 | 1854 | |
| 1755 | -var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js"); | |
| 1756 | - | |
| 1855 | +var $String = String; | |
| 1757 | 1856 | var $TypeError = TypeError; |
| 1758 | 1857 | |
| 1759 | -module.exports = function (it, Prototype) { | |
| 1760 | - if (isPrototypeOf(Prototype, it)) return it; | |
| 1761 | - throw new $TypeError('Incorrect invocation'); | |
| 1858 | +module.exports = function (argument) { | |
| 1859 | + if (typeof argument == 'object' || isCallable(argument)) return argument; | |
| 1860 | + throw $TypeError("Can't set " + $String(argument) + ' as a prototype'); | |
| 1762 | 1861 | }; |
| 1763 | 1862 | |
| 1764 | 1863 | |
| 1765 | 1864 | /***/ }), |
| @@ -1769,10 +1868,8 @@ | ||
| 1769 | 1868 | !*** ../node_modules/core-js/internals/an-object.js ***! |
| 1770 | 1869 | \******************************************************/ |
| 1771 | 1870 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 1772 | 1871 | |
| 1773 | -"use strict"; | |
| 1774 | - | |
| 1775 | 1872 | var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); |
| 1776 | 1873 | |
| 1777 | 1874 | var $String = String; |
| 1778 | 1875 | var $TypeError = TypeError; |
| @@ -1779,9 +1876,9 @@ | ||
| 1779 | 1876 | |
| 1780 | 1877 | // `Assert: Type(argument) is Object` |
| 1781 | 1878 | module.exports = function (argument) { |
| 1782 | 1879 | if (isObject(argument)) return argument; |
| 1783 | - throw new $TypeError($String(argument) + ' is not an object'); | |
| 1880 | + throw $TypeError($String(argument) + ' is not an object'); | |
| 1784 | 1881 | }; |
| 1785 | 1882 | |
| 1786 | 1883 | |
| 1787 | 1884 | /***/ }), |
| @@ -1791,10 +1888,8 @@ | ||
| 1791 | 1888 | !*** ../node_modules/core-js/internals/array-includes.js ***! |
| 1792 | 1889 | \***********************************************************/ |
| 1793 | 1890 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 1794 | 1891 | |
| 1795 | -"use strict"; | |
| 1796 | - | |
| 1797 | 1892 | var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js"); |
| 1798 | 1893 | var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "../node_modules/core-js/internals/to-absolute-index.js"); |
| 1799 | 1894 | var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "../node_modules/core-js/internals/length-of-array-like.js"); |
| 1800 | 1895 | |
| @@ -1802,17 +1897,16 @@ | ||
| 1802 | 1897 | var createMethod = function (IS_INCLUDES) { |
| 1803 | 1898 | return function ($this, el, fromIndex) { |
| 1804 | 1899 | var O = toIndexedObject($this); |
| 1805 | 1900 | var length = lengthOfArrayLike(O); |
| 1806 | - if (length === 0) return !IS_INCLUDES && -1; | |
| 1807 | 1901 | var index = toAbsoluteIndex(fromIndex, length); |
| 1808 | 1902 | var value; |
| 1809 | 1903 | // Array#includes uses SameValueZero equality algorithm |
| 1810 | 1904 | // eslint-disable-next-line no-self-compare -- NaN check |
| 1811 | - if (IS_INCLUDES && el !== el) while (length > index) { | |
| 1905 | + if (IS_INCLUDES && el != el) while (length > index) { | |
| 1812 | 1906 | value = O[index++]; |
| 1813 | 1907 | // eslint-disable-next-line no-self-compare -- NaN check |
| 1814 | - if (value !== value) return true; | |
| 1908 | + if (value != value) return true; | |
| 1815 | 1909 | // Array#indexOf ignores holes, Array#includes - not |
| 1816 | 1910 | } else for (;length > index; index++) { |
| 1817 | 1911 | if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; |
| 1818 | 1912 | } return !IS_INCLUDES && -1; |
| @@ -1830,69 +1924,8 @@ | ||
| 1830 | 1924 | |
| 1831 | 1925 | |
| 1832 | 1926 | /***/ }), |
| 1833 | 1927 | |
| 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 | 1928 | /***/ "../node_modules/core-js/internals/classof-raw.js": |
| 1896 | 1929 | /*!********************************************************!*\ |
| 1897 | 1930 | !*** ../node_modules/core-js/internals/classof-raw.js ***! |
| 1898 | 1931 | \********************************************************/ |
| @@ -1897,10 +1930,8 @@ | ||
| 1897 | 1930 | !*** ../node_modules/core-js/internals/classof-raw.js ***! |
| 1898 | 1931 | \********************************************************/ |
| 1899 | 1932 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 1900 | 1933 | |
| 1901 | -"use strict"; | |
| 1902 | - | |
| 1903 | 1934 | var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 1904 | 1935 | |
| 1905 | 1936 | var toString = uncurryThis({}.toString); |
| 1906 | 1937 | var stringSlice = uncurryThis(''.slice); |
| @@ -1917,10 +1948,8 @@ | ||
| 1917 | 1948 | !*** ../node_modules/core-js/internals/classof.js ***! |
| 1918 | 1949 | \****************************************************/ |
| 1919 | 1950 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 1920 | 1951 | |
| 1921 | -"use strict"; | |
| 1922 | - | |
| 1923 | 1952 | var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "../node_modules/core-js/internals/to-string-tag-support.js"); |
| 1924 | 1953 | var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 1925 | 1954 | var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js"); |
| 1926 | 1955 | var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); |
| @@ -1928,9 +1957,9 @@ | ||
| 1928 | 1957 | var TO_STRING_TAG = wellKnownSymbol('toStringTag'); |
| 1929 | 1958 | var $Object = Object; |
| 1930 | 1959 | |
| 1931 | 1960 | // ES3 wrong here |
| 1932 | -var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments'; | |
| 1961 | +var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; | |
| 1933 | 1962 | |
| 1934 | 1963 | // fallback for IE11 Script Access Denied error |
| 1935 | 1964 | var tryGet = function (it, key) { |
| 1936 | 1965 | try { |
| @@ -1946,9 +1975,9 @@ | ||
| 1946 | 1975 | : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag |
| 1947 | 1976 | // builtinTag case |
| 1948 | 1977 | : CORRECT_ARGUMENTS ? classofRaw(O) |
| 1949 | 1978 | // ES3 arguments fallback |
| 1950 | - : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result; | |
| 1979 | + : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result; | |
| 1951 | 1980 | }; |
| 1952 | 1981 | |
| 1953 | 1982 | |
| 1954 | 1983 | /***/ }), |
| @@ -1958,10 +1987,8 @@ | ||
| 1958 | 1987 | !*** ../node_modules/core-js/internals/copy-constructor-properties.js ***! |
| 1959 | 1988 | \************************************************************************/ |
| 1960 | 1989 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 1961 | 1990 | |
| 1962 | -"use strict"; | |
| 1963 | - | |
| 1964 | 1991 | var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| 1965 | 1992 | var ownKeys = __webpack_require__(/*! ../internals/own-keys */ "../node_modules/core-js/internals/own-keys.js"); |
| 1966 | 1993 | var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../node_modules/core-js/internals/object-get-own-property-descriptor.js"); |
| 1967 | 1994 | var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js"); |
| @@ -1980,45 +2007,8 @@ | ||
| 1980 | 2007 | |
| 1981 | 2008 | |
| 1982 | 2009 | /***/ }), |
| 1983 | 2010 | |
| 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 | 2011 | /***/ "../node_modules/core-js/internals/create-non-enumerable-property.js": |
| 2022 | 2012 | /*!***************************************************************************!*\ |
| 2023 | 2013 | !*** ../node_modules/core-js/internals/create-non-enumerable-property.js ***! |
| 2024 | 2014 | \***************************************************************************/ |
| @@ -2023,10 +2013,8 @@ | ||
| 2023 | 2013 | !*** ../node_modules/core-js/internals/create-non-enumerable-property.js ***! |
| 2024 | 2014 | \***************************************************************************/ |
| 2025 | 2015 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2026 | 2016 | |
| 2027 | -"use strict"; | |
| 2028 | - | |
| 2029 | 2017 | var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 2030 | 2018 | var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js"); |
| 2031 | 2019 | var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js"); |
| 2032 | 2020 | |
| @@ -2045,10 +2033,8 @@ | ||
| 2045 | 2033 | !*** ../node_modules/core-js/internals/create-property-descriptor.js ***! |
| 2046 | 2034 | \***********************************************************************/ |
| 2047 | 2035 | /***/ ((module) => { |
| 2048 | 2036 | |
| 2049 | -"use strict"; | |
| 2050 | - | |
| 2051 | 2037 | module.exports = function (bitmap, value) { |
| 2052 | 2038 | return { |
| 2053 | 2039 | enumerable: !(bitmap & 1), |
| 2054 | 2040 | configurable: !(bitmap & 2), |
| @@ -2059,48 +2045,8 @@ | ||
| 2059 | 2045 | |
| 2060 | 2046 | |
| 2061 | 2047 | /***/ }), |
| 2062 | 2048 | |
| 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 | 2049 | /***/ "../node_modules/core-js/internals/define-built-in.js": |
| 2104 | 2050 | /*!************************************************************!*\ |
| 2105 | 2051 | !*** ../node_modules/core-js/internals/define-built-in.js ***! |
| 2106 | 2052 | \************************************************************/ |
| @@ -2105,10 +2051,8 @@ | ||
| 2105 | 2051 | !*** ../node_modules/core-js/internals/define-built-in.js ***! |
| 2106 | 2052 | \************************************************************/ |
| 2107 | 2053 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2108 | 2054 | |
| 2109 | -"use strict"; | |
| 2110 | - | |
| 2111 | 2055 | var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 2112 | 2056 | var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js"); |
| 2113 | 2057 | var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ "../node_modules/core-js/internals/make-built-in.js"); |
| 2114 | 2058 | var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js"); |
| @@ -2138,26 +2082,8 @@ | ||
| 2138 | 2082 | |
| 2139 | 2083 | |
| 2140 | 2084 | /***/ }), |
| 2141 | 2085 | |
| 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 | 2086 | /***/ "../node_modules/core-js/internals/define-global-property.js": |
| 2161 | 2087 | /*!*******************************************************************!*\ |
| 2162 | 2088 | !*** ../node_modules/core-js/internals/define-global-property.js ***! |
| 2163 | 2089 | \*******************************************************************/ |
| @@ -2162,20 +2088,18 @@ | ||
| 2162 | 2088 | !*** ../node_modules/core-js/internals/define-global-property.js ***! |
| 2163 | 2089 | \*******************************************************************/ |
| 2164 | 2090 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2165 | 2091 | |
| 2166 | -"use strict"; | |
| 2092 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 2167 | 2093 | |
| 2168 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 2169 | - | |
| 2170 | 2094 | // eslint-disable-next-line es/no-object-defineproperty -- safe |
| 2171 | 2095 | var defineProperty = Object.defineProperty; |
| 2172 | 2096 | |
| 2173 | 2097 | module.exports = function (key, value) { |
| 2174 | 2098 | try { |
| 2175 | - defineProperty(globalThis, key, { value: value, configurable: true, writable: true }); | |
| 2099 | + defineProperty(global, key, { value: value, configurable: true, writable: true }); | |
| 2176 | 2100 | } catch (error) { |
| 2177 | - globalThis[key] = value; | |
| 2101 | + global[key] = value; | |
| 2178 | 2102 | } return value; |
| 2179 | 2103 | }; |
| 2180 | 2104 | |
| 2181 | 2105 | |
| @@ -2186,21 +2110,39 @@ | ||
| 2186 | 2110 | !*** ../node_modules/core-js/internals/descriptors.js ***! |
| 2187 | 2111 | \********************************************************/ |
| 2188 | 2112 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2189 | 2113 | |
| 2190 | -"use strict"; | |
| 2191 | - | |
| 2192 | 2114 | var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 2193 | 2115 | |
| 2194 | 2116 | // Detect IE8's incomplete defineProperty implementation |
| 2195 | 2117 | module.exports = !fails(function () { |
| 2196 | 2118 | // eslint-disable-next-line es/no-object-defineproperty -- required for testing |
| 2197 | - return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7; | |
| 2119 | + return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; | |
| 2198 | 2120 | }); |
| 2199 | 2121 | |
| 2200 | 2122 | |
| 2201 | 2123 | /***/ }), |
| 2202 | 2124 | |
| 2125 | +/***/ "../node_modules/core-js/internals/document-all.js": | |
| 2126 | +/*!*********************************************************!*\ | |
| 2127 | + !*** ../node_modules/core-js/internals/document-all.js ***! | |
| 2128 | + \*********************************************************/ | |
| 2129 | +/***/ ((module) => { | |
| 2130 | + | |
| 2131 | +var documentAll = typeof document == 'object' && document.all; | |
| 2132 | + | |
| 2133 | +// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot | |
| 2134 | +// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing | |
| 2135 | +var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined; | |
| 2136 | + | |
| 2137 | +module.exports = { | |
| 2138 | + all: documentAll, | |
| 2139 | + IS_HTMLDDA: IS_HTMLDDA | |
| 2140 | +}; | |
| 2141 | + | |
| 2142 | + | |
| 2143 | +/***/ }), | |
| 2144 | + | |
| 2203 | 2145 | /***/ "../node_modules/core-js/internals/document-create-element.js": |
| 2204 | 2146 | /*!********************************************************************!*\ |
| 2205 | 2147 | !*** ../node_modules/core-js/internals/document-create-element.js ***! |
| 2206 | 2148 | \********************************************************************/ |
| @@ -2205,14 +2147,12 @@ | ||
| 2205 | 2147 | !*** ../node_modules/core-js/internals/document-create-element.js ***! |
| 2206 | 2148 | \********************************************************************/ |
| 2207 | 2149 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2208 | 2150 | |
| 2209 | -"use strict"; | |
| 2210 | - | |
| 2211 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 2151 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 2212 | 2152 | var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); |
| 2213 | 2153 | |
| 2214 | -var document = globalThis.document; | |
| 2154 | +var document = global.document; | |
| 2215 | 2155 | // typeof document.createElement is 'object' in old IE |
| 2216 | 2156 | var EXISTS = isObject(document) && isObject(document.createElement); |
| 2217 | 2157 | |
| 2218 | 2158 | module.exports = function (it) { |
| @@ -2221,25 +2161,54 @@ | ||
| 2221 | 2161 | |
| 2222 | 2162 | |
| 2223 | 2163 | /***/ }), |
| 2224 | 2164 | |
| 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 | - \*************************************************************************/ | |
| 2165 | +/***/ "../node_modules/core-js/internals/engine-user-agent.js": | |
| 2166 | +/*!**************************************************************!*\ | |
| 2167 | + !*** ../node_modules/core-js/internals/engine-user-agent.js ***! | |
| 2168 | + \**************************************************************/ | |
| 2229 | 2169 | /***/ ((module) => { |
| 2230 | 2170 | |
| 2231 | -"use strict"; | |
| 2171 | +module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; | |
| 2232 | 2172 | |
| 2233 | -var $TypeError = TypeError; | |
| 2234 | -var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 | |
| 2235 | 2173 | |
| 2236 | -module.exports = function (it) { | |
| 2237 | - if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded'); | |
| 2238 | - return it; | |
| 2239 | -}; | |
| 2174 | +/***/ }), | |
| 2240 | 2175 | |
| 2176 | +/***/ "../node_modules/core-js/internals/engine-v8-version.js": | |
| 2177 | +/*!**************************************************************!*\ | |
| 2178 | + !*** ../node_modules/core-js/internals/engine-v8-version.js ***! | |
| 2179 | + \**************************************************************/ | |
| 2180 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2241 | 2181 | |
| 2182 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 2183 | +var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ "../node_modules/core-js/internals/engine-user-agent.js"); | |
| 2184 | + | |
| 2185 | +var process = global.process; | |
| 2186 | +var Deno = global.Deno; | |
| 2187 | +var versions = process && process.versions || Deno && Deno.version; | |
| 2188 | +var v8 = versions && versions.v8; | |
| 2189 | +var match, version; | |
| 2190 | + | |
| 2191 | +if (v8) { | |
| 2192 | + match = v8.split('.'); | |
| 2193 | + // in old Chrome, versions of V8 isn't V8 = Chrome / 10 | |
| 2194 | + // but their correct versions are not interesting for us | |
| 2195 | + version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); | |
| 2196 | +} | |
| 2197 | + | |
| 2198 | +// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0` | |
| 2199 | +// so check `userAgent` even if `.v8` exists, but 0 | |
| 2200 | +if (!version && userAgent) { | |
| 2201 | + match = userAgent.match(/Edge\/(\d+)/); | |
| 2202 | + if (!match || match[1] >= 74) { | |
| 2203 | + match = userAgent.match(/Chrome\/(\d+)/); | |
| 2204 | + if (match) version = +match[1]; | |
| 2205 | + } | |
| 2206 | +} | |
| 2207 | + | |
| 2208 | +module.exports = version; | |
| 2209 | + | |
| 2210 | + | |
| 2242 | 2211 | /***/ }), |
| 2243 | 2212 | |
| 2244 | 2213 | /***/ "../node_modules/core-js/internals/enum-bug-keys.js": |
| 2245 | 2214 | /*!**********************************************************!*\ |
| @@ -2246,10 +2215,8 @@ | ||
| 2246 | 2215 | !*** ../node_modules/core-js/internals/enum-bug-keys.js ***! |
| 2247 | 2216 | \**********************************************************/ |
| 2248 | 2217 | /***/ ((module) => { |
| 2249 | 2218 | |
| 2250 | -"use strict"; | |
| 2251 | - | |
| 2252 | 2219 | // IE8- don't enum bug keys |
| 2253 | 2220 | module.exports = [ |
| 2254 | 2221 | 'constructor', |
| 2255 | 2222 | 'hasOwnProperty', |
| @@ -2262,63 +2229,74 @@ | ||
| 2262 | 2229 | |
| 2263 | 2230 | |
| 2264 | 2231 | /***/ }), |
| 2265 | 2232 | |
| 2266 | -/***/ "../node_modules/core-js/internals/environment-user-agent.js": | |
| 2267 | -/*!*******************************************************************!*\ | |
| 2268 | - !*** ../node_modules/core-js/internals/environment-user-agent.js ***! | |
| 2269 | - \*******************************************************************/ | |
| 2233 | +/***/ "../node_modules/core-js/internals/error-stack-clear.js": | |
| 2234 | +/*!**************************************************************!*\ | |
| 2235 | + !*** ../node_modules/core-js/internals/error-stack-clear.js ***! | |
| 2236 | + \**************************************************************/ | |
| 2270 | 2237 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2271 | 2238 | |
| 2272 | -"use strict"; | |
| 2239 | +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); | |
| 2273 | 2240 | |
| 2274 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 2241 | +var $Error = Error; | |
| 2242 | +var replace = uncurryThis(''.replace); | |
| 2275 | 2243 | |
| 2276 | -var navigator = globalThis.navigator; | |
| 2277 | -var userAgent = navigator && navigator.userAgent; | |
| 2244 | +var TEST = (function (arg) { return String($Error(arg).stack); })('zxcasd'); | |
| 2245 | +// eslint-disable-next-line redos/no-vulnerable -- safe | |
| 2246 | +var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/; | |
| 2247 | +var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST); | |
| 2278 | 2248 | |
| 2279 | -module.exports = userAgent ? String(userAgent) : ''; | |
| 2249 | +module.exports = function (stack, dropEntries) { | |
| 2250 | + if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) { | |
| 2251 | + while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, ''); | |
| 2252 | + } return stack; | |
| 2253 | +}; | |
| 2280 | 2254 | |
| 2281 | 2255 | |
| 2282 | 2256 | /***/ }), |
| 2283 | 2257 | |
| 2284 | -/***/ "../node_modules/core-js/internals/environment-v8-version.js": | |
| 2285 | -/*!*******************************************************************!*\ | |
| 2286 | - !*** ../node_modules/core-js/internals/environment-v8-version.js ***! | |
| 2287 | - \*******************************************************************/ | |
| 2258 | +/***/ "../node_modules/core-js/internals/error-stack-install.js": | |
| 2259 | +/*!****************************************************************!*\ | |
| 2260 | + !*** ../node_modules/core-js/internals/error-stack-install.js ***! | |
| 2261 | + \****************************************************************/ | |
| 2288 | 2262 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2289 | 2263 | |
| 2290 | -"use strict"; | |
| 2264 | +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); | |
| 2265 | +var clearErrorStack = __webpack_require__(/*! ../internals/error-stack-clear */ "../node_modules/core-js/internals/error-stack-clear.js"); | |
| 2266 | +var ERROR_STACK_INSTALLABLE = __webpack_require__(/*! ../internals/error-stack-installable */ "../node_modules/core-js/internals/error-stack-installable.js"); | |
| 2291 | 2267 | |
| 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"); | |
| 2268 | +// non-standard V8 | |
| 2269 | +var captureStackTrace = Error.captureStackTrace; | |
| 2294 | 2270 | |
| 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; | |
| 2271 | +module.exports = function (error, C, stack, dropEntries) { | |
| 2272 | + if (ERROR_STACK_INSTALLABLE) { | |
| 2273 | + if (captureStackTrace) captureStackTrace(error, C); | |
| 2274 | + else createNonEnumerableProperty(error, 'stack', clearErrorStack(stack, dropEntries)); | |
| 2275 | + } | |
| 2276 | +}; | |
| 2300 | 2277 | |
| 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 | -} | |
| 2307 | 2278 | |
| 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 | -} | |
| 2279 | +/***/ }), | |
| 2317 | 2280 | |
| 2318 | -module.exports = version; | |
| 2281 | +/***/ "../node_modules/core-js/internals/error-stack-installable.js": | |
| 2282 | +/*!********************************************************************!*\ | |
| 2283 | + !*** ../node_modules/core-js/internals/error-stack-installable.js ***! | |
| 2284 | + \********************************************************************/ | |
| 2285 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2319 | 2286 | |
| 2287 | +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 2288 | +var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js"); | |
| 2320 | 2289 | |
| 2290 | +module.exports = !fails(function () { | |
| 2291 | + var error = Error('a'); | |
| 2292 | + if (!('stack' in error)) return true; | |
| 2293 | + // eslint-disable-next-line es/no-object-defineproperty -- safe | |
| 2294 | + Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7)); | |
| 2295 | + return error.stack !== 7; | |
| 2296 | +}); | |
| 2297 | + | |
| 2298 | + | |
| 2321 | 2299 | /***/ }), |
| 2322 | 2300 | |
| 2323 | 2301 | /***/ "../node_modules/core-js/internals/export.js": |
| 2324 | 2302 | /*!***************************************************!*\ |
| @@ -2325,11 +2303,9 @@ | ||
| 2325 | 2303 | !*** ../node_modules/core-js/internals/export.js ***! |
| 2326 | 2304 | \***************************************************/ |
| 2327 | 2305 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2328 | 2306 | |
| 2329 | -"use strict"; | |
| 2330 | - | |
| 2331 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 2307 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 2332 | 2308 | var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../node_modules/core-js/internals/object-get-own-property-descriptor.js").f); |
| 2333 | 2309 | var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); |
| 2334 | 2310 | var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../node_modules/core-js/internals/define-built-in.js"); |
| 2335 | 2311 | var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js"); |
| @@ -2356,13 +2332,13 @@ | ||
| 2356 | 2332 | var GLOBAL = options.global; |
| 2357 | 2333 | var STATIC = options.stat; |
| 2358 | 2334 | var FORCED, target, key, targetProperty, sourceProperty, descriptor; |
| 2359 | 2335 | if (GLOBAL) { |
| 2360 | - target = globalThis; | |
| 2336 | + target = global; | |
| 2361 | 2337 | } else if (STATIC) { |
| 2362 | - target = globalThis[TARGET] || defineGlobalProperty(TARGET, {}); | |
| 2338 | + target = global[TARGET] || defineGlobalProperty(TARGET, {}); | |
| 2363 | 2339 | } else { |
| 2364 | - target = globalThis[TARGET] && globalThis[TARGET].prototype; | |
| 2340 | + target = (global[TARGET] || {}).prototype; | |
| 2365 | 2341 | } |
| 2366 | 2342 | if (target) for (key in source) { |
| 2367 | 2343 | sourceProperty = source[key]; |
| 2368 | 2344 | if (options.dontCallGetSet) { |
| @@ -2391,10 +2367,8 @@ | ||
| 2391 | 2367 | !*** ../node_modules/core-js/internals/fails.js ***! |
| 2392 | 2368 | \**************************************************/ |
| 2393 | 2369 | /***/ ((module) => { |
| 2394 | 2370 | |
| 2395 | -"use strict"; | |
| 2396 | - | |
| 2397 | 2371 | module.exports = function (exec) { |
| 2398 | 2372 | try { |
| 2399 | 2373 | return !!exec(); |
| 2400 | 2374 | } catch (error) { |
| @@ -2404,29 +2378,24 @@ | ||
| 2404 | 2378 | |
| 2405 | 2379 | |
| 2406 | 2380 | /***/ }), |
| 2407 | 2381 | |
| 2408 | -/***/ "../node_modules/core-js/internals/function-bind-context.js": | |
| 2409 | -/*!******************************************************************!*\ | |
| 2410 | - !*** ../node_modules/core-js/internals/function-bind-context.js ***! | |
| 2411 | - \******************************************************************/ | |
| 2382 | +/***/ "../node_modules/core-js/internals/function-apply.js": | |
| 2383 | +/*!***********************************************************!*\ | |
| 2384 | + !*** ../node_modules/core-js/internals/function-apply.js ***! | |
| 2385 | + \***********************************************************/ | |
| 2412 | 2386 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2413 | 2387 | |
| 2414 | -"use strict"; | |
| 2415 | - | |
| 2416 | -var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ "../node_modules/core-js/internals/function-uncurry-this-clause.js"); | |
| 2417 | -var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); | |
| 2418 | 2388 | var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js"); |
| 2419 | 2389 | |
| 2420 | -var bind = uncurryThis(uncurryThis.bind); | |
| 2390 | +var FunctionPrototype = Function.prototype; | |
| 2391 | +var apply = FunctionPrototype.apply; | |
| 2392 | +var call = FunctionPrototype.call; | |
| 2421 | 2393 | |
| 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 | -}; | |
| 2394 | +// eslint-disable-next-line es/no-reflect -- safe | |
| 2395 | +module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () { | |
| 2396 | + return call.apply(apply, arguments); | |
| 2397 | +}); | |
| 2429 | 2398 | |
| 2430 | 2399 | |
| 2431 | 2400 | /***/ }), |
| 2432 | 2401 | |
| @@ -2435,10 +2404,8 @@ | ||
| 2435 | 2404 | !*** ../node_modules/core-js/internals/function-bind-native.js ***! |
| 2436 | 2405 | \*****************************************************************/ |
| 2437 | 2406 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2438 | 2407 | |
| 2439 | -"use strict"; | |
| 2440 | - | |
| 2441 | 2408 | var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 2442 | 2409 | |
| 2443 | 2410 | module.exports = !fails(function () { |
| 2444 | 2411 | // eslint-disable-next-line es/no-function-prototype-bind -- safe |
| @@ -2455,14 +2422,12 @@ | ||
| 2455 | 2422 | !*** ../node_modules/core-js/internals/function-call.js ***! |
| 2456 | 2423 | \**********************************************************/ |
| 2457 | 2424 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2458 | 2425 | |
| 2459 | -"use strict"; | |
| 2460 | - | |
| 2461 | 2426 | var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js"); |
| 2462 | 2427 | |
| 2463 | 2428 | var call = Function.prototype.call; |
| 2464 | -// eslint-disable-next-line es/no-function-prototype-bind -- safe | |
| 2429 | + | |
| 2465 | 2430 | module.exports = NATIVE_BIND ? call.bind(call) : function () { |
| 2466 | 2431 | return call.apply(call, arguments); |
| 2467 | 2432 | }; |
| 2468 | 2433 | |
| @@ -2474,10 +2439,8 @@ | ||
| 2474 | 2439 | !*** ../node_modules/core-js/internals/function-name.js ***! |
| 2475 | 2440 | \**********************************************************/ |
| 2476 | 2441 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2477 | 2442 | |
| 2478 | -"use strict"; | |
| 2479 | - | |
| 2480 | 2443 | var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 2481 | 2444 | var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| 2482 | 2445 | |
| 2483 | 2446 | var FunctionPrototype = Function.prototype; |
| @@ -2497,24 +2460,22 @@ | ||
| 2497 | 2460 | |
| 2498 | 2461 | |
| 2499 | 2462 | /***/ }), |
| 2500 | 2463 | |
| 2501 | -/***/ "../node_modules/core-js/internals/function-uncurry-this-clause.js": | |
| 2502 | -/*!*************************************************************************!*\ | |
| 2503 | - !*** ../node_modules/core-js/internals/function-uncurry-this-clause.js ***! | |
| 2504 | - \*************************************************************************/ | |
| 2464 | +/***/ "../node_modules/core-js/internals/function-uncurry-this-accessor.js": | |
| 2465 | +/*!***************************************************************************!*\ | |
| 2466 | + !*** ../node_modules/core-js/internals/function-uncurry-this-accessor.js ***! | |
| 2467 | + \***************************************************************************/ | |
| 2505 | 2468 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2506 | 2469 | |
| 2507 | -"use strict"; | |
| 2508 | - | |
| 2509 | -var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js"); | |
| 2510 | 2470 | var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 2471 | +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); | |
| 2511 | 2472 | |
| 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); | |
| 2473 | +module.exports = function (object, key, method) { | |
| 2474 | + try { | |
| 2475 | + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe | |
| 2476 | + return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method])); | |
| 2477 | + } catch (error) { /* empty */ } | |
| 2517 | 2478 | }; |
| 2518 | 2479 | |
| 2519 | 2480 | |
| 2520 | 2481 | /***/ }), |
| @@ -2524,15 +2485,12 @@ | ||
| 2524 | 2485 | !*** ../node_modules/core-js/internals/function-uncurry-this.js ***! |
| 2525 | 2486 | \******************************************************************/ |
| 2526 | 2487 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2527 | 2488 | |
| 2528 | -"use strict"; | |
| 2529 | - | |
| 2530 | 2489 | var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js"); |
| 2531 | 2490 | |
| 2532 | 2491 | var FunctionPrototype = Function.prototype; |
| 2533 | 2492 | var call = FunctionPrototype.call; |
| 2534 | -// eslint-disable-next-line es/no-function-prototype-bind -- safe | |
| 2535 | 2493 | var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); |
| 2536 | 2494 | |
| 2537 | 2495 | module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) { |
| 2538 | 2496 | return function () { |
| @@ -2548,11 +2506,9 @@ | ||
| 2548 | 2506 | !*** ../node_modules/core-js/internals/get-built-in.js ***! |
| 2549 | 2507 | \*********************************************************/ |
| 2550 | 2508 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2551 | 2509 | |
| 2552 | -"use strict"; | |
| 2553 | - | |
| 2554 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 2510 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 2555 | 2511 | var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 2556 | 2512 | |
| 2557 | 2513 | var aFunction = function (argument) { |
| 2558 | 2514 | return isCallable(argument) ? argument : undefined; |
| @@ -2558,85 +2514,14 @@ | ||
| 2558 | 2514 | return isCallable(argument) ? argument : undefined; |
| 2559 | 2515 | }; |
| 2560 | 2516 | |
| 2561 | 2517 | module.exports = function (namespace, method) { |
| 2562 | - return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method]; | |
| 2518 | + return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method]; | |
| 2563 | 2519 | }; |
| 2564 | 2520 | |
| 2565 | 2521 | |
| 2566 | 2522 | /***/ }), |
| 2567 | 2523 | |
| 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 | 2524 | /***/ "../node_modules/core-js/internals/get-method.js": |
| 2640 | 2525 | /*!*******************************************************!*\ |
| 2641 | 2526 | !*** ../node_modules/core-js/internals/get-method.js ***! |
| 2642 | 2527 | \*******************************************************/ |
| @@ -2641,10 +2526,8 @@ | ||
| 2641 | 2526 | !*** ../node_modules/core-js/internals/get-method.js ***! |
| 2642 | 2527 | \*******************************************************/ |
| 2643 | 2528 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2644 | 2529 | |
| 2645 | -"use strict"; | |
| 2646 | - | |
| 2647 | 2530 | var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); |
| 2648 | 2531 | var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "../node_modules/core-js/internals/is-null-or-undefined.js"); |
| 2649 | 2532 | |
| 2650 | 2533 | // `GetMethod` abstract operation |
| @@ -2656,18 +2539,16 @@ | ||
| 2656 | 2539 | |
| 2657 | 2540 | |
| 2658 | 2541 | /***/ }), |
| 2659 | 2542 | |
| 2660 | -/***/ "../node_modules/core-js/internals/global-this.js": | |
| 2661 | -/*!********************************************************!*\ | |
| 2662 | - !*** ../node_modules/core-js/internals/global-this.js ***! | |
| 2663 | - \********************************************************/ | |
| 2664 | -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { | |
| 2543 | +/***/ "../node_modules/core-js/internals/global.js": | |
| 2544 | +/*!***************************************************!*\ | |
| 2545 | + !*** ../node_modules/core-js/internals/global.js ***! | |
| 2546 | + \***************************************************/ | |
| 2547 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2665 | 2548 | |
| 2666 | -"use strict"; | |
| 2667 | - | |
| 2668 | 2549 | var check = function (it) { |
| 2669 | - return it && it.Math === Math && it; | |
| 2550 | + return it && it.Math == Math && it; | |
| 2670 | 2551 | }; |
| 2671 | 2552 | |
| 2672 | 2553 | // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 |
| 2673 | 2554 | module.exports = |
| @@ -2676,9 +2557,8 @@ | ||
| 2676 | 2557 | check(typeof window == 'object' && window) || |
| 2677 | 2558 | // eslint-disable-next-line no-restricted-globals -- safe |
| 2678 | 2559 | check(typeof self == 'object' && self) || |
| 2679 | 2560 | check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) || |
| 2680 | - check(typeof this == 'object' && this) || | |
| 2681 | 2561 | // eslint-disable-next-line no-new-func -- fallback |
| 2682 | 2562 | (function () { return this; })() || Function('return this')(); |
| 2683 | 2563 | |
| 2684 | 2564 | |
| @@ -2689,10 +2569,8 @@ | ||
| 2689 | 2569 | !*** ../node_modules/core-js/internals/has-own-property.js ***! |
| 2690 | 2570 | \*************************************************************/ |
| 2691 | 2571 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2692 | 2572 | |
| 2693 | -"use strict"; | |
| 2694 | - | |
| 2695 | 2573 | var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 2696 | 2574 | var toObject = __webpack_require__(/*! ../internals/to-object */ "../node_modules/core-js/internals/to-object.js"); |
| 2697 | 2575 | |
| 2698 | 2576 | var hasOwnProperty = uncurryThis({}.hasOwnProperty); |
| @@ -2712,30 +2590,13 @@ | ||
| 2712 | 2590 | !*** ../node_modules/core-js/internals/hidden-keys.js ***! |
| 2713 | 2591 | \********************************************************/ |
| 2714 | 2592 | /***/ ((module) => { |
| 2715 | 2593 | |
| 2716 | -"use strict"; | |
| 2717 | - | |
| 2718 | 2594 | module.exports = {}; |
| 2719 | 2595 | |
| 2720 | 2596 | |
| 2721 | 2597 | /***/ }), |
| 2722 | 2598 | |
| 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 | 2599 | /***/ "../node_modules/core-js/internals/ie8-dom-define.js": |
| 2739 | 2600 | /*!***********************************************************!*\ |
| 2740 | 2601 | !*** ../node_modules/core-js/internals/ie8-dom-define.js ***! |
| 2741 | 2602 | \***********************************************************/ |
| @@ -2740,10 +2601,8 @@ | ||
| 2740 | 2601 | !*** ../node_modules/core-js/internals/ie8-dom-define.js ***! |
| 2741 | 2602 | \***********************************************************/ |
| 2742 | 2603 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2743 | 2604 | |
| 2744 | -"use strict"; | |
| 2745 | - | |
| 2746 | 2605 | var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 2747 | 2606 | var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 2748 | 2607 | var createElement = __webpack_require__(/*! ../internals/document-create-element */ "../node_modules/core-js/internals/document-create-element.js"); |
| 2749 | 2608 | |
| @@ -2751,9 +2610,9 @@ | ||
| 2751 | 2610 | module.exports = !DESCRIPTORS && !fails(function () { |
| 2752 | 2611 | // eslint-disable-next-line es/no-object-defineproperty -- required for testing |
| 2753 | 2612 | return Object.defineProperty(createElement('div'), 'a', { |
| 2754 | 2613 | get: function () { return 7; } |
| 2755 | - }).a !== 7; | |
| 2614 | + }).a != 7; | |
| 2756 | 2615 | }); |
| 2757 | 2616 | |
| 2758 | 2617 | |
| 2759 | 2618 | /***/ }), |
| @@ -2763,10 +2622,8 @@ | ||
| 2763 | 2622 | !*** ../node_modules/core-js/internals/indexed-object.js ***! |
| 2764 | 2623 | \***********************************************************/ |
| 2765 | 2624 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2766 | 2625 | |
| 2767 | -"use strict"; | |
| 2768 | - | |
| 2769 | 2626 | var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 2770 | 2627 | var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 2771 | 2628 | var classof = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js"); |
| 2772 | 2629 | |
| @@ -2778,14 +2635,42 @@ | ||
| 2778 | 2635 | // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 |
| 2779 | 2636 | // eslint-disable-next-line no-prototype-builtins -- safe |
| 2780 | 2637 | return !$Object('z').propertyIsEnumerable(0); |
| 2781 | 2638 | }) ? function (it) { |
| 2782 | - return classof(it) === 'String' ? split(it, '') : $Object(it); | |
| 2639 | + return classof(it) == 'String' ? split(it, '') : $Object(it); | |
| 2783 | 2640 | } : $Object; |
| 2784 | 2641 | |
| 2785 | 2642 | |
| 2786 | 2643 | /***/ }), |
| 2787 | 2644 | |
| 2645 | +/***/ "../node_modules/core-js/internals/inherit-if-required.js": | |
| 2646 | +/*!****************************************************************!*\ | |
| 2647 | + !*** ../node_modules/core-js/internals/inherit-if-required.js ***! | |
| 2648 | + \****************************************************************/ | |
| 2649 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2650 | + | |
| 2651 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 2652 | +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); | |
| 2653 | +var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "../node_modules/core-js/internals/object-set-prototype-of.js"); | |
| 2654 | + | |
| 2655 | +// makes subclassing work correct for wrapped built-ins | |
| 2656 | +module.exports = function ($this, dummy, Wrapper) { | |
| 2657 | + var NewTarget, NewTargetPrototype; | |
| 2658 | + if ( | |
| 2659 | + // it can work only with native `setPrototypeOf` | |
| 2660 | + setPrototypeOf && | |
| 2661 | + // we haven't completely correct pre-ES6 way for getting `new.target`, so use this | |
| 2662 | + isCallable(NewTarget = dummy.constructor) && | |
| 2663 | + NewTarget !== Wrapper && | |
| 2664 | + isObject(NewTargetPrototype = NewTarget.prototype) && | |
| 2665 | + NewTargetPrototype !== Wrapper.prototype | |
| 2666 | + ) setPrototypeOf($this, NewTargetPrototype); | |
| 2667 | + return $this; | |
| 2668 | +}; | |
| 2669 | + | |
| 2670 | + | |
| 2671 | +/***/ }), | |
| 2672 | + | |
| 2788 | 2673 | /***/ "../node_modules/core-js/internals/inspect-source.js": |
| 2789 | 2674 | /*!***********************************************************!*\ |
| 2790 | 2675 | !*** ../node_modules/core-js/internals/inspect-source.js ***! |
| 2791 | 2676 | \***********************************************************/ |
| @@ -2790,10 +2675,8 @@ | ||
| 2790 | 2675 | !*** ../node_modules/core-js/internals/inspect-source.js ***! |
| 2791 | 2676 | \***********************************************************/ |
| 2792 | 2677 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2793 | 2678 | |
| 2794 | -"use strict"; | |
| 2795 | - | |
| 2796 | 2679 | var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 2797 | 2680 | var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 2798 | 2681 | var store = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js"); |
| 2799 | 2682 | |
| @@ -2810,8 +2693,28 @@ | ||
| 2810 | 2693 | |
| 2811 | 2694 | |
| 2812 | 2695 | /***/ }), |
| 2813 | 2696 | |
| 2697 | +/***/ "../node_modules/core-js/internals/install-error-cause.js": | |
| 2698 | +/*!****************************************************************!*\ | |
| 2699 | + !*** ../node_modules/core-js/internals/install-error-cause.js ***! | |
| 2700 | + \****************************************************************/ | |
| 2701 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2702 | + | |
| 2703 | +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); | |
| 2704 | +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); | |
| 2705 | + | |
| 2706 | +// `InstallErrorCause` abstract operation | |
| 2707 | +// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause | |
| 2708 | +module.exports = function (O, options) { | |
| 2709 | + if (isObject(options) && 'cause' in options) { | |
| 2710 | + createNonEnumerableProperty(O, 'cause', options.cause); | |
| 2711 | + } | |
| 2712 | +}; | |
| 2713 | + | |
| 2714 | + | |
| 2715 | +/***/ }), | |
| 2716 | + | |
| 2814 | 2717 | /***/ "../node_modules/core-js/internals/internal-state.js": |
| 2815 | 2718 | /*!***********************************************************!*\ |
| 2816 | 2719 | !*** ../node_modules/core-js/internals/internal-state.js ***! |
| 2817 | 2720 | \***********************************************************/ |
| @@ -2816,12 +2719,10 @@ | ||
| 2816 | 2719 | !*** ../node_modules/core-js/internals/internal-state.js ***! |
| 2817 | 2720 | \***********************************************************/ |
| 2818 | 2721 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2819 | 2722 | |
| 2820 | -"use strict"; | |
| 2821 | - | |
| 2822 | 2723 | 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"); | |
| 2724 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 2824 | 2725 | var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); |
| 2825 | 2726 | var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); |
| 2826 | 2727 | var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| 2827 | 2728 | var shared = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js"); |
| @@ -2828,10 +2729,10 @@ | ||
| 2828 | 2729 | var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "../node_modules/core-js/internals/shared-key.js"); |
| 2829 | 2730 | var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js"); |
| 2830 | 2731 | |
| 2831 | 2732 | var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; |
| 2832 | -var TypeError = globalThis.TypeError; | |
| 2833 | -var WeakMap = globalThis.WeakMap; | |
| 2733 | +var TypeError = global.TypeError; | |
| 2734 | +var WeakMap = global.WeakMap; | |
| 2834 | 2735 | var set, get, has; |
| 2835 | 2736 | |
| 2836 | 2737 | var enforce = function (it) { |
| 2837 | 2738 | return has(it) ? get(it) : set(it, {}); |
| @@ -2840,9 +2741,9 @@ | ||
| 2840 | 2741 | var getterFor = function (TYPE) { |
| 2841 | 2742 | return function (it) { |
| 2842 | 2743 | var state; |
| 2843 | 2744 | if (!isObject(it) || (state = get(it)).type !== TYPE) { |
| 2844 | - throw new TypeError('Incompatible receiver, ' + TYPE + ' required'); | |
| 2745 | + throw TypeError('Incompatible receiver, ' + TYPE + ' required'); | |
| 2845 | 2746 | } return state; |
| 2846 | 2747 | }; |
| 2847 | 2748 | }; |
| 2848 | 2749 | |
| @@ -2853,9 +2754,9 @@ | ||
| 2853 | 2754 | store.has = store.has; |
| 2854 | 2755 | store.set = store.set; |
| 2855 | 2756 | /* eslint-enable no-self-assign -- prototype methods protection */ |
| 2856 | 2757 | set = function (it, metadata) { |
| 2857 | - if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); | |
| 2758 | + if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED); | |
| 2858 | 2759 | metadata.facade = it; |
| 2859 | 2760 | store.set(it, metadata); |
| 2860 | 2761 | return metadata; |
| 2861 | 2762 | }; |
| @@ -2868,9 +2769,9 @@ | ||
| 2868 | 2769 | } else { |
| 2869 | 2770 | var STATE = sharedKey('state'); |
| 2870 | 2771 | hiddenKeys[STATE] = true; |
| 2871 | 2772 | set = function (it, metadata) { |
| 2872 | - if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); | |
| 2773 | + if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED); | |
| 2873 | 2774 | metadata.facade = it; |
| 2874 | 2775 | createNonEnumerableProperty(it, STATE, metadata); |
| 2875 | 2776 | return metadata; |
| 2876 | 2777 | }; |
| @@ -2892,65 +2793,21 @@ | ||
| 2892 | 2793 | |
| 2893 | 2794 | |
| 2894 | 2795 | /***/ }), |
| 2895 | 2796 | |
| 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 | 2797 | /***/ "../node_modules/core-js/internals/is-callable.js": |
| 2939 | 2798 | /*!********************************************************!*\ |
| 2940 | 2799 | !*** ../node_modules/core-js/internals/is-callable.js ***! |
| 2941 | 2800 | \********************************************************/ |
| 2942 | -/***/ ((module) => { | |
| 2801 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2943 | 2802 | |
| 2944 | -"use strict"; | |
| 2803 | +var $documentAll = __webpack_require__(/*! ../internals/document-all */ "../node_modules/core-js/internals/document-all.js"); | |
| 2945 | 2804 | |
| 2946 | -// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot | |
| 2947 | -var documentAll = typeof document == 'object' && document.all; | |
| 2805 | +var documentAll = $documentAll.all; | |
| 2948 | 2806 | |
| 2949 | 2807 | // `IsCallable` abstract operation |
| 2950 | 2808 | // 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) { | |
| 2809 | +module.exports = $documentAll.IS_HTMLDDA ? function (argument) { | |
| 2953 | 2810 | return typeof argument == 'function' || argument === documentAll; |
| 2954 | 2811 | } : function (argument) { |
| 2955 | 2812 | return typeof argument == 'function'; |
| 2956 | 2813 | }; |
| @@ -2963,10 +2820,8 @@ | ||
| 2963 | 2820 | !*** ../node_modules/core-js/internals/is-forced.js ***! |
| 2964 | 2821 | \******************************************************/ |
| 2965 | 2822 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2966 | 2823 | |
| 2967 | -"use strict"; | |
| 2968 | - | |
| 2969 | 2824 | var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 2970 | 2825 | var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 2971 | 2826 | |
| 2972 | 2827 | var replacement = /#|\.prototype\./; |
| @@ -2972,10 +2827,10 @@ | ||
| 2972 | 2827 | var replacement = /#|\.prototype\./; |
| 2973 | 2828 | |
| 2974 | 2829 | var isForced = function (feature, detection) { |
| 2975 | 2830 | var value = data[normalize(feature)]; |
| 2976 | - return value === POLYFILL ? true | |
| 2977 | - : value === NATIVE ? false | |
| 2831 | + return value == POLYFILL ? true | |
| 2832 | + : value == NATIVE ? false | |
| 2978 | 2833 | : isCallable(detection) ? fails(detection) |
| 2979 | 2834 | : !!detection; |
| 2980 | 2835 | }; |
| 2981 | 2836 | |
| @@ -2997,10 +2852,8 @@ | ||
| 2997 | 2852 | !*** ../node_modules/core-js/internals/is-null-or-undefined.js ***! |
| 2998 | 2853 | \*****************************************************************/ |
| 2999 | 2854 | /***/ ((module) => { |
| 3000 | 2855 | |
| 3001 | -"use strict"; | |
| 3002 | - | |
| 3003 | 2856 | // we can't use just `it == null` since of `document.all` special case |
| 3004 | 2857 | // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec |
| 3005 | 2858 | module.exports = function (it) { |
| 3006 | 2859 | return it === null || it === undefined; |
| @@ -3014,13 +2867,16 @@ | ||
| 3014 | 2867 | !*** ../node_modules/core-js/internals/is-object.js ***! |
| 3015 | 2868 | \******************************************************/ |
| 3016 | 2869 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3017 | 2870 | |
| 3018 | -"use strict"; | |
| 2871 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 2872 | +var $documentAll = __webpack_require__(/*! ../internals/document-all */ "../node_modules/core-js/internals/document-all.js"); | |
| 3019 | 2873 | |
| 3020 | -var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 2874 | +var documentAll = $documentAll.all; | |
| 3021 | 2875 | |
| 3022 | -module.exports = function (it) { | |
| 2876 | +module.exports = $documentAll.IS_HTMLDDA ? function (it) { | |
| 2877 | + return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll; | |
| 2878 | +} : function (it) { | |
| 3023 | 2879 | return typeof it == 'object' ? it !== null : isCallable(it); |
| 3024 | 2880 | }; |
| 3025 | 2881 | |
| 3026 | 2882 | |
| @@ -3031,10 +2887,8 @@ | ||
| 3031 | 2887 | !*** ../node_modules/core-js/internals/is-pure.js ***! |
| 3032 | 2888 | \****************************************************/ |
| 3033 | 2889 | /***/ ((module) => { |
| 3034 | 2890 | |
| 3035 | -"use strict"; | |
| 3036 | - | |
| 3037 | 2891 | module.exports = false; |
| 3038 | 2892 | |
| 3039 | 2893 | |
| 3040 | 2894 | /***/ }), |
| @@ -3044,10 +2898,8 @@ | ||
| 3044 | 2898 | !*** ../node_modules/core-js/internals/is-symbol.js ***! |
| 3045 | 2899 | \******************************************************/ |
| 3046 | 2900 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3047 | 2901 | |
| 3048 | -"use strict"; | |
| 3049 | - | |
| 3050 | 2902 | var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js"); |
| 3051 | 2903 | var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 3052 | 2904 | var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js"); |
| 3053 | 2905 | var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../node_modules/core-js/internals/use-symbol-as-uid.js"); |
| @@ -3063,377 +2915,8 @@ | ||
| 3063 | 2915 | |
| 3064 | 2916 | |
| 3065 | 2917 | /***/ }), |
| 3066 | 2918 | |
| 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 | 2919 | /***/ "../node_modules/core-js/internals/length-of-array-like.js": |
| 3437 | 2920 | /*!*****************************************************************!*\ |
| 3438 | 2921 | !*** ../node_modules/core-js/internals/length-of-array-like.js ***! |
| 3439 | 2922 | \*****************************************************************/ |
| @@ -3438,10 +2921,8 @@ | ||
| 3438 | 2921 | !*** ../node_modules/core-js/internals/length-of-array-like.js ***! |
| 3439 | 2922 | \*****************************************************************/ |
| 3440 | 2923 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3441 | 2924 | |
| 3442 | -"use strict"; | |
| 3443 | - | |
| 3444 | 2925 | var toLength = __webpack_require__(/*! ../internals/to-length */ "../node_modules/core-js/internals/to-length.js"); |
| 3445 | 2926 | |
| 3446 | 2927 | // `LengthOfArrayLike` abstract operation |
| 3447 | 2928 | // https://tc39.es/ecma262/#sec-lengthofarraylike |
| @@ -3457,10 +2938,8 @@ | ||
| 3457 | 2938 | !*** ../node_modules/core-js/internals/make-built-in.js ***! |
| 3458 | 2939 | \**********************************************************/ |
| 3459 | 2940 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3460 | 2941 | |
| 3461 | -"use strict"; | |
| 3462 | - | |
| 3463 | 2942 | var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 3464 | 2943 | var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 3465 | 2944 | var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 3466 | 2945 | var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| @@ -3485,9 +2964,9 @@ | ||
| 3485 | 2964 | var TEMPLATE = String(String).split('String'); |
| 3486 | 2965 | |
| 3487 | 2966 | var makeBuiltIn = module.exports = function (value, name, options) { |
| 3488 | 2967 | if (stringSlice($String(name), 0, 7) === 'Symbol(') { |
| 3489 | - name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']'; | |
| 2968 | + name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']'; | |
| 3490 | 2969 | } |
| 3491 | 2970 | if (options && options.getter) name = 'get ' + name; |
| 3492 | 2971 | if (options && options.setter) name = 'set ' + name; |
| 3493 | 2972 | if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { |
| @@ -3523,10 +3002,8 @@ | ||
| 3523 | 3002 | !*** ../node_modules/core-js/internals/math-trunc.js ***! |
| 3524 | 3003 | \*******************************************************/ |
| 3525 | 3004 | /***/ ((module) => { |
| 3526 | 3005 | |
| 3527 | -"use strict"; | |
| 3528 | - | |
| 3529 | 3006 | var ceil = Math.ceil; |
| 3530 | 3007 | var floor = Math.floor; |
| 3531 | 3008 | |
| 3532 | 3009 | // `Math.trunc` method |
| @@ -3539,136 +3016,23 @@ | ||
| 3539 | 3016 | |
| 3540 | 3017 | |
| 3541 | 3018 | /***/ }), |
| 3542 | 3019 | |
| 3543 | -/***/ "../node_modules/core-js/internals/object-create.js": | |
| 3544 | -/*!**********************************************************!*\ | |
| 3545 | - !*** ../node_modules/core-js/internals/object-create.js ***! | |
| 3546 | - \**********************************************************/ | |
| 3020 | +/***/ "../node_modules/core-js/internals/normalize-string-argument.js": | |
| 3021 | +/*!**********************************************************************!*\ | |
| 3022 | + !*** ../node_modules/core-js/internals/normalize-string-argument.js ***! | |
| 3023 | + \**********************************************************************/ | |
| 3547 | 3024 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3548 | 3025 | |
| 3549 | -"use strict"; | |
| 3026 | +var toString = __webpack_require__(/*! ../internals/to-string */ "../node_modules/core-js/internals/to-string.js"); | |
| 3550 | 3027 | |
| 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"); | |
| 3559 | - | |
| 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; | |
| 3028 | +module.exports = function (argument, $default) { | |
| 3029 | + return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument); | |
| 3570 | 3030 | }; |
| 3571 | 3031 | |
| 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 | 3032 | |
| 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 | 3033 | /***/ }), |
| 3638 | 3034 | |
| 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 | 3035 | /***/ "../node_modules/core-js/internals/object-define-property.js": |
| 3672 | 3036 | /*!*******************************************************************!*\ |
| 3673 | 3037 | !*** ../node_modules/core-js/internals/object-define-property.js ***! |
| 3674 | 3038 | \*******************************************************************/ |
| @@ -3673,10 +3037,8 @@ | ||
| 3673 | 3037 | !*** ../node_modules/core-js/internals/object-define-property.js ***! |
| 3674 | 3038 | \*******************************************************************/ |
| 3675 | 3039 | /***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 3676 | 3040 | |
| 3677 | -"use strict"; | |
| 3678 | - | |
| 3679 | 3041 | var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 3680 | 3042 | var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../node_modules/core-js/internals/ie8-dom-define.js"); |
| 3681 | 3043 | var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "../node_modules/core-js/internals/v8-prototype-define-bug.js"); |
| 3682 | 3044 | var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); |
| @@ -3714,9 +3076,9 @@ | ||
| 3714 | 3076 | anObject(Attributes); |
| 3715 | 3077 | if (IE8_DOM_DEFINE) try { |
| 3716 | 3078 | return $defineProperty(O, P, Attributes); |
| 3717 | 3079 | } catch (error) { /* empty */ } |
| 3718 | - if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported'); | |
| 3080 | + if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported'); | |
| 3719 | 3081 | if ('value' in Attributes) O[P] = Attributes.value; |
| 3720 | 3082 | return O; |
| 3721 | 3083 | }; |
| 3722 | 3084 | |
| @@ -3728,10 +3090,8 @@ | ||
| 3728 | 3090 | !*** ../node_modules/core-js/internals/object-get-own-property-descriptor.js ***! |
| 3729 | 3091 | \*******************************************************************************/ |
| 3730 | 3092 | /***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 3731 | 3093 | |
| 3732 | -"use strict"; | |
| 3733 | - | |
| 3734 | 3094 | var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 3735 | 3095 | var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); |
| 3736 | 3096 | var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ "../node_modules/core-js/internals/object-property-is-enumerable.js"); |
| 3737 | 3097 | var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js"); |
| @@ -3762,10 +3122,8 @@ | ||
| 3762 | 3122 | !*** ../node_modules/core-js/internals/object-get-own-property-names.js ***! |
| 3763 | 3123 | \**************************************************************************/ |
| 3764 | 3124 | /***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 3765 | 3125 | |
| 3766 | -"use strict"; | |
| 3767 | - | |
| 3768 | 3126 | var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "../node_modules/core-js/internals/object-keys-internal.js"); |
| 3769 | 3127 | var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "../node_modules/core-js/internals/enum-bug-keys.js"); |
| 3770 | 3128 | |
| 3771 | 3129 | var hiddenKeys = enumBugKeys.concat('length', 'prototype'); |
| @@ -3785,10 +3143,8 @@ | ||
| 3785 | 3143 | !*** ../node_modules/core-js/internals/object-get-own-property-symbols.js ***! |
| 3786 | 3144 | \****************************************************************************/ |
| 3787 | 3145 | /***/ ((__unused_webpack_module, exports) => { |
| 3788 | 3146 | |
| 3789 | -"use strict"; | |
| 3790 | - | |
| 3791 | 3147 | // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe |
| 3792 | 3148 | exports.f = Object.getOwnPropertySymbols; |
| 3793 | 3149 | |
| 3794 | 3150 | |
| @@ -3793,41 +3149,8 @@ | ||
| 3793 | 3149 | |
| 3794 | 3150 | |
| 3795 | 3151 | /***/ }), |
| 3796 | 3152 | |
| 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 | 3153 | /***/ "../node_modules/core-js/internals/object-is-prototype-of.js": |
| 3831 | 3154 | /*!*******************************************************************!*\ |
| 3832 | 3155 | !*** ../node_modules/core-js/internals/object-is-prototype-of.js ***! |
| 3833 | 3156 | \*******************************************************************/ |
| @@ -3832,10 +3155,8 @@ | ||
| 3832 | 3155 | !*** ../node_modules/core-js/internals/object-is-prototype-of.js ***! |
| 3833 | 3156 | \*******************************************************************/ |
| 3834 | 3157 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3835 | 3158 | |
| 3836 | -"use strict"; | |
| 3837 | - | |
| 3838 | 3159 | var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 3839 | 3160 | |
| 3840 | 3161 | module.exports = uncurryThis({}.isPrototypeOf); |
| 3841 | 3162 | |
| @@ -3847,10 +3168,8 @@ | ||
| 3847 | 3168 | !*** ../node_modules/core-js/internals/object-keys-internal.js ***! |
| 3848 | 3169 | \*****************************************************************/ |
| 3849 | 3170 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3850 | 3171 | |
| 3851 | -"use strict"; | |
| 3852 | - | |
| 3853 | 3172 | var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 3854 | 3173 | var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| 3855 | 3174 | var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js"); |
| 3856 | 3175 | var indexOf = (__webpack_require__(/*! ../internals/array-includes */ "../node_modules/core-js/internals/array-includes.js").indexOf); |
| @@ -3873,29 +3192,8 @@ | ||
| 3873 | 3192 | |
| 3874 | 3193 | |
| 3875 | 3194 | /***/ }), |
| 3876 | 3195 | |
| 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 | 3196 | /***/ "../node_modules/core-js/internals/object-property-is-enumerable.js": |
| 3899 | 3197 | /*!**************************************************************************!*\ |
| 3900 | 3198 | !*** ../node_modules/core-js/internals/object-property-is-enumerable.js ***! |
| 3901 | 3199 | \**************************************************************************/ |
| @@ -3919,8 +3217,44 @@ | ||
| 3919 | 3217 | |
| 3920 | 3218 | |
| 3921 | 3219 | /***/ }), |
| 3922 | 3220 | |
| 3221 | +/***/ "../node_modules/core-js/internals/object-set-prototype-of.js": | |
| 3222 | +/*!********************************************************************!*\ | |
| 3223 | + !*** ../node_modules/core-js/internals/object-set-prototype-of.js ***! | |
| 3224 | + \********************************************************************/ | |
| 3225 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3226 | + | |
| 3227 | +/* eslint-disable no-proto -- safe */ | |
| 3228 | +var uncurryThisAccessor = __webpack_require__(/*! ../internals/function-uncurry-this-accessor */ "../node_modules/core-js/internals/function-uncurry-this-accessor.js"); | |
| 3229 | +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); | |
| 3230 | +var aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototype */ "../node_modules/core-js/internals/a-possible-prototype.js"); | |
| 3231 | + | |
| 3232 | +// `Object.setPrototypeOf` method | |
| 3233 | +// https://tc39.es/ecma262/#sec-object.setprototypeof | |
| 3234 | +// Works with __proto__ only. Old v8 can't work with null proto objects. | |
| 3235 | +// eslint-disable-next-line es/no-object-setprototypeof -- safe | |
| 3236 | +module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { | |
| 3237 | + var CORRECT_SETTER = false; | |
| 3238 | + var test = {}; | |
| 3239 | + var setter; | |
| 3240 | + try { | |
| 3241 | + setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set'); | |
| 3242 | + setter(test, []); | |
| 3243 | + CORRECT_SETTER = test instanceof Array; | |
| 3244 | + } catch (error) { /* empty */ } | |
| 3245 | + return function setPrototypeOf(O, proto) { | |
| 3246 | + anObject(O); | |
| 3247 | + aPossiblePrototype(proto); | |
| 3248 | + if (CORRECT_SETTER) setter(O, proto); | |
| 3249 | + else O.__proto__ = proto; | |
| 3250 | + return O; | |
| 3251 | + }; | |
| 3252 | +}() : undefined); | |
| 3253 | + | |
| 3254 | + | |
| 3255 | +/***/ }), | |
| 3256 | + | |
| 3923 | 3257 | /***/ "../node_modules/core-js/internals/ordinary-to-primitive.js": |
| 3924 | 3258 | /*!******************************************************************!*\ |
| 3925 | 3259 | !*** ../node_modules/core-js/internals/ordinary-to-primitive.js ***! |
| 3926 | 3260 | \******************************************************************/ |
| @@ -3925,10 +3259,8 @@ | ||
| 3925 | 3259 | !*** ../node_modules/core-js/internals/ordinary-to-primitive.js ***! |
| 3926 | 3260 | \******************************************************************/ |
| 3927 | 3261 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3928 | 3262 | |
| 3929 | -"use strict"; | |
| 3930 | - | |
| 3931 | 3263 | var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); |
| 3932 | 3264 | var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 3933 | 3265 | var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); |
| 3934 | 3266 | |
| @@ -3940,9 +3272,9 @@ | ||
| 3940 | 3272 | var fn, val; |
| 3941 | 3273 | if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; |
| 3942 | 3274 | if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val; |
| 3943 | 3275 | 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"); | |
| 3276 | + throw $TypeError("Can't convert object to primitive value"); | |
| 3945 | 3277 | }; |
| 3946 | 3278 | |
| 3947 | 3279 | |
| 3948 | 3280 | /***/ }), |
| @@ -3952,10 +3284,8 @@ | ||
| 3952 | 3284 | !*** ../node_modules/core-js/internals/own-keys.js ***! |
| 3953 | 3285 | \*****************************************************/ |
| 3954 | 3286 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3955 | 3287 | |
| 3956 | -"use strict"; | |
| 3957 | - | |
| 3958 | 3288 | var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js"); |
| 3959 | 3289 | var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 3960 | 3290 | var getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ "../node_modules/core-js/internals/object-get-own-property-names.js"); |
| 3961 | 3291 | var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ "../node_modules/core-js/internals/object-get-own-property-symbols.js"); |
| @@ -3972,8 +3302,27 @@ | ||
| 3972 | 3302 | |
| 3973 | 3303 | |
| 3974 | 3304 | /***/ }), |
| 3975 | 3305 | |
| 3306 | +/***/ "../node_modules/core-js/internals/proxy-accessor.js": | |
| 3307 | +/*!***********************************************************!*\ | |
| 3308 | + !*** ../node_modules/core-js/internals/proxy-accessor.js ***! | |
| 3309 | + \***********************************************************/ | |
| 3310 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3311 | + | |
| 3312 | +var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js").f); | |
| 3313 | + | |
| 3314 | +module.exports = function (Target, Source, key) { | |
| 3315 | + key in Target || defineProperty(Target, key, { | |
| 3316 | + configurable: true, | |
| 3317 | + get: function () { return Source[key]; }, | |
| 3318 | + set: function (it) { Source[key] = it; } | |
| 3319 | + }); | |
| 3320 | +}; | |
| 3321 | + | |
| 3322 | + | |
| 3323 | +/***/ }), | |
| 3324 | + | |
| 3976 | 3325 | /***/ "../node_modules/core-js/internals/require-object-coercible.js": |
| 3977 | 3326 | /*!*********************************************************************!*\ |
| 3978 | 3327 | !*** ../node_modules/core-js/internals/require-object-coercible.js ***! |
| 3979 | 3328 | \*********************************************************************/ |
| @@ -3978,10 +3327,8 @@ | ||
| 3978 | 3327 | !*** ../node_modules/core-js/internals/require-object-coercible.js ***! |
| 3979 | 3328 | \*********************************************************************/ |
| 3980 | 3329 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3981 | 3330 | |
| 3982 | -"use strict"; | |
| 3983 | - | |
| 3984 | 3331 | var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "../node_modules/core-js/internals/is-null-or-undefined.js"); |
| 3985 | 3332 | |
| 3986 | 3333 | var $TypeError = TypeError; |
| 3987 | 3334 | |
| @@ -3987,9 +3334,9 @@ | ||
| 3987 | 3334 | |
| 3988 | 3335 | // `RequireObjectCoercible` abstract operation |
| 3989 | 3336 | // https://tc39.es/ecma262/#sec-requireobjectcoercible |
| 3990 | 3337 | module.exports = function (it) { |
| 3991 | - if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it); | |
| 3338 | + if (isNullOrUndefined(it)) throw $TypeError("Can't call method on " + it); | |
| 3992 | 3339 | return it; |
| 3993 | 3340 | }; |
| 3994 | 3341 | |
| 3995 | 3342 | |
| @@ -4000,10 +3347,8 @@ | ||
| 4000 | 3347 | !*** ../node_modules/core-js/internals/shared-key.js ***! |
| 4001 | 3348 | \*******************************************************/ |
| 4002 | 3349 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4003 | 3350 | |
| 4004 | -"use strict"; | |
| 4005 | - | |
| 4006 | 3351 | var shared = __webpack_require__(/*! ../internals/shared */ "../node_modules/core-js/internals/shared.js"); |
| 4007 | 3352 | var uid = __webpack_require__(/*! ../internals/uid */ "../node_modules/core-js/internals/uid.js"); |
| 4008 | 3353 | |
| 4009 | 3354 | var keys = shared('keys'); |
| @@ -4020,24 +3365,15 @@ | ||
| 4020 | 3365 | !*** ../node_modules/core-js/internals/shared-store.js ***! |
| 4021 | 3366 | \*********************************************************/ |
| 4022 | 3367 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4023 | 3368 | |
| 4024 | -"use strict"; | |
| 4025 | - | |
| 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"); | |
| 3369 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 4028 | 3370 | var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js"); |
| 4029 | 3371 | |
| 4030 | 3372 | var SHARED = '__core-js_shared__'; |
| 4031 | -var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {}); | |
| 3373 | +var store = global[SHARED] || defineGlobalProperty(SHARED, {}); | |
| 4032 | 3374 | |
| 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 | -}); | |
| 3375 | +module.exports = store; | |
| 4040 | 3376 | |
| 4041 | 3377 | |
| 4042 | 3378 | /***/ }), |
| 4043 | 3379 | |
| @@ -4046,15 +3382,20 @@ | ||
| 4046 | 3382 | !*** ../node_modules/core-js/internals/shared.js ***! |
| 4047 | 3383 | \***************************************************/ |
| 4048 | 3384 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4049 | 3385 | |
| 4050 | -"use strict"; | |
| 4051 | - | |
| 3386 | +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js"); | |
| 4052 | 3387 | var store = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js"); |
| 4053 | 3388 | |
| 4054 | -module.exports = function (key, value) { | |
| 4055 | - return store[key] || (store[key] = value || {}); | |
| 4056 | -}; | |
| 3389 | +(module.exports = function (key, value) { | |
| 3390 | + return store[key] || (store[key] = value !== undefined ? value : {}); | |
| 3391 | +})('versions', []).push({ | |
| 3392 | + version: '3.30.1', | |
| 3393 | + mode: IS_PURE ? 'pure' : 'global', | |
| 3394 | + copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)', | |
| 3395 | + license: 'https://github.com/zloirock/core-js/blob/v3.30.1/LICENSE', | |
| 3396 | + source: 'https://github.com/zloirock/core-js' | |
| 3397 | +}); | |
| 4057 | 3398 | |
| 4058 | 3399 | |
| 4059 | 3400 | /***/ }), |
| 4060 | 3401 | |
| @@ -4063,25 +3404,18 @@ | ||
| 4063 | 3404 | !*** ../node_modules/core-js/internals/symbol-constructor-detection.js ***! |
| 4064 | 3405 | \*************************************************************************/ |
| 4065 | 3406 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4066 | 3407 | |
| 4067 | -"use strict"; | |
| 4068 | - | |
| 4069 | 3408 | /* 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"); | |
| 3409 | +var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "../node_modules/core-js/internals/engine-v8-version.js"); | |
| 4071 | 3410 | 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"); | |
| 4073 | 3411 | |
| 4074 | -var $String = globalThis.String; | |
| 4075 | - | |
| 4076 | 3412 | // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing |
| 4077 | 3413 | module.exports = !!Object.getOwnPropertySymbols && !fails(function () { |
| 4078 | - var symbol = Symbol('symbol detection'); | |
| 3414 | + var symbol = Symbol(); | |
| 4079 | 3415 | // Chrome 38 Symbol has incorrect toString conversion |
| 4080 | 3416 | // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances |
| 4081 | - // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will, | |
| 4082 | - // of course, fail. | |
| 4083 | - return !$String(symbol) || !(Object(symbol) instanceof Symbol) || | |
| 3417 | + return !String(symbol) || !(Object(symbol) instanceof Symbol) || | |
| 4084 | 3418 | // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances |
| 4085 | 3419 | !Symbol.sham && V8_VERSION && V8_VERSION < 41; |
| 4086 | 3420 | }); |
| 4087 | 3421 | |
| @@ -4093,10 +3427,8 @@ | ||
| 4093 | 3427 | !*** ../node_modules/core-js/internals/to-absolute-index.js ***! |
| 4094 | 3428 | \**************************************************************/ |
| 4095 | 3429 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4096 | 3430 | |
| 4097 | -"use strict"; | |
| 4098 | - | |
| 4099 | 3431 | var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "../node_modules/core-js/internals/to-integer-or-infinity.js"); |
| 4100 | 3432 | |
| 4101 | 3433 | var max = Math.max; |
| 4102 | 3434 | var min = Math.min; |
| @@ -4117,10 +3449,8 @@ | ||
| 4117 | 3449 | !*** ../node_modules/core-js/internals/to-indexed-object.js ***! |
| 4118 | 3450 | \**************************************************************/ |
| 4119 | 3451 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4120 | 3452 | |
| 4121 | -"use strict"; | |
| 4122 | - | |
| 4123 | 3453 | // toObject with fallback for non-array-like ES3 strings |
| 4124 | 3454 | var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "../node_modules/core-js/internals/indexed-object.js"); |
| 4125 | 3455 | var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../node_modules/core-js/internals/require-object-coercible.js"); |
| 4126 | 3456 | |
| @@ -4136,10 +3466,8 @@ | ||
| 4136 | 3466 | !*** ../node_modules/core-js/internals/to-integer-or-infinity.js ***! |
| 4137 | 3467 | \*******************************************************************/ |
| 4138 | 3468 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4139 | 3469 | |
| 4140 | -"use strict"; | |
| 4141 | - | |
| 4142 | 3470 | var trunc = __webpack_require__(/*! ../internals/math-trunc */ "../node_modules/core-js/internals/math-trunc.js"); |
| 4143 | 3471 | |
| 4144 | 3472 | // `ToIntegerOrInfinity` abstract operation |
| 4145 | 3473 | // https://tc39.es/ecma262/#sec-tointegerorinfinity |
| @@ -4157,10 +3485,8 @@ | ||
| 4157 | 3485 | !*** ../node_modules/core-js/internals/to-length.js ***! |
| 4158 | 3486 | \******************************************************/ |
| 4159 | 3487 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4160 | 3488 | |
| 4161 | -"use strict"; | |
| 4162 | - | |
| 4163 | 3489 | var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "../node_modules/core-js/internals/to-integer-or-infinity.js"); |
| 4164 | 3490 | |
| 4165 | 3491 | var min = Math.min; |
| 4166 | 3492 | |
| @@ -4166,10 +3492,9 @@ | ||
| 4166 | 3492 | |
| 4167 | 3493 | // `ToLength` abstract operation |
| 4168 | 3494 | // https://tc39.es/ecma262/#sec-tolength |
| 4169 | 3495 | module.exports = function (argument) { |
| 4170 | - var len = toIntegerOrInfinity(argument); | |
| 4171 | - return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 | |
| 3496 | + return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 | |
| 4172 | 3497 | }; |
| 4173 | 3498 | |
| 4174 | 3499 | |
| 4175 | 3500 | /***/ }), |
| @@ -4179,10 +3504,8 @@ | ||
| 4179 | 3504 | !*** ../node_modules/core-js/internals/to-object.js ***! |
| 4180 | 3505 | \******************************************************/ |
| 4181 | 3506 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4182 | 3507 | |
| 4183 | -"use strict"; | |
| 4184 | - | |
| 4185 | 3508 | var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../node_modules/core-js/internals/require-object-coercible.js"); |
| 4186 | 3509 | |
| 4187 | 3510 | var $Object = Object; |
| 4188 | 3511 | |
| @@ -4200,10 +3523,8 @@ | ||
| 4200 | 3523 | !*** ../node_modules/core-js/internals/to-primitive.js ***! |
| 4201 | 3524 | \*********************************************************/ |
| 4202 | 3525 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4203 | 3526 | |
| 4204 | -"use strict"; | |
| 4205 | - | |
| 4206 | 3527 | var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); |
| 4207 | 3528 | var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); |
| 4208 | 3529 | var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../node_modules/core-js/internals/is-symbol.js"); |
| 4209 | 3530 | var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js"); |
| @@ -4222,9 +3543,9 @@ | ||
| 4222 | 3543 | if (exoticToPrim) { |
| 4223 | 3544 | if (pref === undefined) pref = 'default'; |
| 4224 | 3545 | result = call(exoticToPrim, input, pref); |
| 4225 | 3546 | if (!isObject(result) || isSymbol(result)) return result; |
| 4226 | - throw new $TypeError("Can't convert object to primitive value"); | |
| 3547 | + throw $TypeError("Can't convert object to primitive value"); | |
| 4227 | 3548 | } |
| 4228 | 3549 | if (pref === undefined) pref = 'number'; |
| 4229 | 3550 | return ordinaryToPrimitive(input, pref); |
| 4230 | 3551 | }; |
| @@ -4237,10 +3558,8 @@ | ||
| 4237 | 3558 | !*** ../node_modules/core-js/internals/to-property-key.js ***! |
| 4238 | 3559 | \************************************************************/ |
| 4239 | 3560 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4240 | 3561 | |
| 4241 | -"use strict"; | |
| 4242 | - | |
| 4243 | 3562 | var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "../node_modules/core-js/internals/to-primitive.js"); |
| 4244 | 3563 | var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../node_modules/core-js/internals/is-symbol.js"); |
| 4245 | 3564 | |
| 4246 | 3565 | // `ToPropertyKey` abstract operation |
| @@ -4258,10 +3577,8 @@ | ||
| 4258 | 3577 | !*** ../node_modules/core-js/internals/to-string-tag-support.js ***! |
| 4259 | 3578 | \******************************************************************/ |
| 4260 | 3579 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4261 | 3580 | |
| 4262 | -"use strict"; | |
| 4263 | - | |
| 4264 | 3581 | var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); |
| 4265 | 3582 | |
| 4266 | 3583 | var TO_STRING_TAG = wellKnownSymbol('toStringTag'); |
| 4267 | 3584 | var test = {}; |
| @@ -4272,8 +3589,26 @@ | ||
| 4272 | 3589 | |
| 4273 | 3590 | |
| 4274 | 3591 | /***/ }), |
| 4275 | 3592 | |
| 3593 | +/***/ "../node_modules/core-js/internals/to-string.js": | |
| 3594 | +/*!******************************************************!*\ | |
| 3595 | + !*** ../node_modules/core-js/internals/to-string.js ***! | |
| 3596 | + \******************************************************/ | |
| 3597 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3598 | + | |
| 3599 | +var classof = __webpack_require__(/*! ../internals/classof */ "../node_modules/core-js/internals/classof.js"); | |
| 3600 | + | |
| 3601 | +var $String = String; | |
| 3602 | + | |
| 3603 | +module.exports = function (argument) { | |
| 3604 | + if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string'); | |
| 3605 | + return $String(argument); | |
| 3606 | +}; | |
| 3607 | + | |
| 3608 | + | |
| 3609 | +/***/ }), | |
| 3610 | + | |
| 4276 | 3611 | /***/ "../node_modules/core-js/internals/try-to-string.js": |
| 4277 | 3612 | /*!**********************************************************!*\ |
| 4278 | 3613 | !*** ../node_modules/core-js/internals/try-to-string.js ***! |
| 4279 | 3614 | \**********************************************************/ |
| @@ -4278,10 +3613,8 @@ | ||
| 4278 | 3613 | !*** ../node_modules/core-js/internals/try-to-string.js ***! |
| 4279 | 3614 | \**********************************************************/ |
| 4280 | 3615 | /***/ ((module) => { |
| 4281 | 3616 | |
| 4282 | -"use strict"; | |
| 4283 | - | |
| 4284 | 3617 | var $String = String; |
| 4285 | 3618 | |
| 4286 | 3619 | module.exports = function (argument) { |
| 4287 | 3620 | try { |
| @@ -4299,15 +3632,13 @@ | ||
| 4299 | 3632 | !*** ../node_modules/core-js/internals/uid.js ***! |
| 4300 | 3633 | \************************************************/ |
| 4301 | 3634 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4302 | 3635 | |
| 4303 | -"use strict"; | |
| 4304 | - | |
| 4305 | 3636 | var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 4306 | 3637 | |
| 4307 | 3638 | var id = 0; |
| 4308 | 3639 | var postfix = Math.random(); |
| 4309 | -var toString = uncurryThis(1.1.toString); | |
| 3640 | +var toString = uncurryThis(1.0.toString); | |
| 4310 | 3641 | |
| 4311 | 3642 | module.exports = function (key) { |
| 4312 | 3643 | return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); |
| 4313 | 3644 | }; |
| @@ -4320,16 +3651,14 @@ | ||
| 4320 | 3651 | !*** ../node_modules/core-js/internals/use-symbol-as-uid.js ***! |
| 4321 | 3652 | \**************************************************************/ |
| 4322 | 3653 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4323 | 3654 | |
| 4324 | -"use strict"; | |
| 4325 | - | |
| 4326 | 3655 | /* eslint-disable es/no-symbol -- required for testing */ |
| 4327 | 3656 | var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "../node_modules/core-js/internals/symbol-constructor-detection.js"); |
| 4328 | 3657 | |
| 4329 | -module.exports = NATIVE_SYMBOL && | |
| 4330 | - !Symbol.sham && | |
| 4331 | - typeof Symbol.iterator == 'symbol'; | |
| 3658 | +module.exports = NATIVE_SYMBOL | |
| 3659 | + && !Symbol.sham | |
| 3660 | + && typeof Symbol.iterator == 'symbol'; | |
| 4332 | 3661 | |
| 4333 | 3662 | |
| 4334 | 3663 | /***/ }), |
| 4335 | 3664 | |
| @@ -4338,10 +3667,8 @@ | ||
| 4338 | 3667 | !*** ../node_modules/core-js/internals/v8-prototype-define-bug.js ***! |
| 4339 | 3668 | \********************************************************************/ |
| 4340 | 3669 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4341 | 3670 | |
| 4342 | -"use strict"; | |
| 4343 | - | |
| 4344 | 3671 | var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 4345 | 3672 | var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 4346 | 3673 | |
| 4347 | 3674 | // V8 ~ Chrome 36- |
| @@ -4350,9 +3677,9 @@ | ||
| 4350 | 3677 | // eslint-disable-next-line es/no-object-defineproperty -- required for testing |
| 4351 | 3678 | return Object.defineProperty(function () { /* empty */ }, 'prototype', { |
| 4352 | 3679 | value: 42, |
| 4353 | 3680 | writable: false |
| 4354 | - }).prototype !== 42; | |
| 3681 | + }).prototype != 42; | |
| 4355 | 3682 | }); |
| 4356 | 3683 | |
| 4357 | 3684 | |
| 4358 | 3685 | /***/ }), |
| @@ -4362,14 +3689,12 @@ | ||
| 4362 | 3689 | !*** ../node_modules/core-js/internals/weak-map-basic-detection.js ***! |
| 4363 | 3690 | \*********************************************************************/ |
| 4364 | 3691 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4365 | 3692 | |
| 4366 | -"use strict"; | |
| 4367 | - | |
| 4368 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 3693 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 4369 | 3694 | var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 4370 | 3695 | |
| 4371 | -var WeakMap = globalThis.WeakMap; | |
| 3696 | +var WeakMap = global.WeakMap; | |
| 4372 | 3697 | |
| 4373 | 3698 | module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap)); |
| 4374 | 3699 | |
| 4375 | 3700 | |
| @@ -4380,11 +3705,9 @@ | ||
| 4380 | 3705 | !*** ../node_modules/core-js/internals/well-known-symbol.js ***! |
| 4381 | 3706 | \**************************************************************/ |
| 4382 | 3707 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4383 | 3708 | |
| 4384 | -"use strict"; | |
| 4385 | - | |
| 4386 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 3709 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 4387 | 3710 | var shared = __webpack_require__(/*! ../internals/shared */ "../node_modules/core-js/internals/shared.js"); |
| 4388 | 3711 | var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| 4389 | 3712 | var uid = __webpack_require__(/*! ../internals/uid */ "../node_modules/core-js/internals/uid.js"); |
| 4390 | 3713 | var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "../node_modules/core-js/internals/symbol-constructor-detection.js"); |
| @@ -4389,9 +3712,9 @@ | ||
| 4389 | 3712 | var uid = __webpack_require__(/*! ../internals/uid */ "../node_modules/core-js/internals/uid.js"); |
| 4390 | 3713 | var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "../node_modules/core-js/internals/symbol-constructor-detection.js"); |
| 4391 | 3714 | var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../node_modules/core-js/internals/use-symbol-as-uid.js"); |
| 4392 | 3715 | |
| 4393 | -var Symbol = globalThis.Symbol; | |
| 3716 | +var Symbol = global.Symbol; | |
| 4394 | 3717 | var WellKnownSymbolsStore = shared('wks'); |
| 4395 | 3718 | var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid; |
| 4396 | 3719 | |
| 4397 | 3720 | module.exports = function (name) { |
| @@ -4404,407 +3727,163 @@ | ||
| 4404 | 3727 | |
| 4405 | 3728 | |
| 4406 | 3729 | /***/ }), |
| 4407 | 3730 | |
| 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__) => { | |
| 3731 | +/***/ "../node_modules/core-js/internals/wrap-error-constructor-with-cause.js": | |
| 3732 | +/*!******************************************************************************!*\ | |
| 3733 | + !*** ../node_modules/core-js/internals/wrap-error-constructor-with-cause.js ***! | |
| 3734 | + \******************************************************************************/ | |
| 3735 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4413 | 3736 | |
| 4414 | 3737 | "use strict"; |
| 4415 | 3738 | |
| 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"); | |
| 3739 | +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js"); | |
| 4478 | 3740 | 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); | |
| 3741 | +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); | |
| 3742 | +var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js"); | |
| 3743 | +var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "../node_modules/core-js/internals/object-set-prototype-of.js"); | |
| 3744 | +var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "../node_modules/core-js/internals/copy-constructor-properties.js"); | |
| 3745 | +var proxyAccessor = __webpack_require__(/*! ../internals/proxy-accessor */ "../node_modules/core-js/internals/proxy-accessor.js"); | |
| 3746 | +var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ "../node_modules/core-js/internals/inherit-if-required.js"); | |
| 3747 | +var normalizeStringArgument = __webpack_require__(/*! ../internals/normalize-string-argument */ "../node_modules/core-js/internals/normalize-string-argument.js"); | |
| 3748 | +var installErrorCause = __webpack_require__(/*! ../internals/install-error-cause */ "../node_modules/core-js/internals/install-error-cause.js"); | |
| 3749 | +var installErrorStack = __webpack_require__(/*! ../internals/error-stack-install */ "../node_modules/core-js/internals/error-stack-install.js"); | |
| 4481 | 3750 | var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 4482 | 3751 | var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js"); |
| 4483 | 3752 | |
| 4484 | -var CONSTRUCTOR = 'constructor'; | |
| 4485 | -var ITERATOR = 'Iterator'; | |
| 4486 | -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); | |
| 3753 | +module.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) { | |
| 3754 | + var STACK_TRACE_LIMIT = 'stackTraceLimit'; | |
| 3755 | + var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1; | |
| 3756 | + var path = FULL_NAME.split('.'); | |
| 3757 | + var ERROR_NAME = path[path.length - 1]; | |
| 3758 | + var OriginalError = getBuiltIn.apply(null, path); | |
| 4487 | 3759 | |
| 4488 | -var $TypeError = TypeError; | |
| 4489 | -var NativeIterator = globalThis[ITERATOR]; | |
| 3760 | + if (!OriginalError) return; | |
| 4490 | 3761 | |
| 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({}); }); | |
| 3762 | + var OriginalErrorPrototype = OriginalError.prototype; | |
| 4497 | 3763 | |
| 4498 | -var IteratorConstructor = function Iterator() { | |
| 4499 | - anInstance(this, IteratorPrototype); | |
| 4500 | - if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable'); | |
| 4501 | -}; | |
| 3764 | + // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006 | |
| 3765 | + if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause; | |
| 4502 | 3766 | |
| 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 | -}; | |
| 3767 | + if (!FORCED) return OriginalError; | |
| 4519 | 3768 | |
| 4520 | -if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR); | |
| 3769 | + var BaseError = getBuiltIn('Error'); | |
| 4521 | 3770 | |
| 4522 | -if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) { | |
| 4523 | - defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor); | |
| 4524 | -} | |
| 3771 | + var WrappedError = wrapper(function (a, b) { | |
| 3772 | + var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined); | |
| 3773 | + var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError(); | |
| 3774 | + if (message !== undefined) createNonEnumerableProperty(result, 'message', message); | |
| 3775 | + installErrorStack(result, WrappedError, result.stack, 2); | |
| 3776 | + if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError); | |
| 3777 | + if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]); | |
| 3778 | + return result; | |
| 3779 | + }); | |
| 4525 | 3780 | |
| 4526 | -IteratorConstructor.prototype = IteratorPrototype; | |
| 3781 | + WrappedError.prototype = OriginalErrorPrototype; | |
| 4527 | 3782 | |
| 4528 | -// `Iterator` constructor | |
| 4529 | -// https://tc39.es/ecma262/#sec-iterator | |
| 4530 | -$({ global: true, constructor: true, forced: FORCED }, { | |
| 4531 | - Iterator: IteratorConstructor | |
| 4532 | -}); | |
| 3783 | + if (ERROR_NAME !== 'Error') { | |
| 3784 | + if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError); | |
| 3785 | + else copyConstructorProperties(WrappedError, BaseError, { name: true }); | |
| 3786 | + } else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) { | |
| 3787 | + proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT); | |
| 3788 | + proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace'); | |
| 3789 | + } | |
| 4533 | 3790 | |
| 3791 | + copyConstructorProperties(WrappedError, OriginalError); | |
| 4534 | 3792 | |
| 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); | |
| 3793 | + if (!IS_PURE) try { | |
| 3794 | + // Safari 13- bug: WebAssembly errors does not have a proper `.name` | |
| 3795 | + if (OriginalErrorPrototype.name !== ERROR_NAME) { | |
| 3796 | + createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME); | |
| 4586 | 3797 | } |
| 3798 | + OriginalErrorPrototype.constructor = WrappedError; | |
| 3799 | + } catch (error) { /* empty */ } | |
| 4587 | 3800 | |
| 4588 | - if (filterWithoutClosingOnEarlyError) return call(filterWithoutClosingOnEarlyError, this, predicate); | |
| 3801 | + return WrappedError; | |
| 3802 | +}; | |
| 4589 | 3803 | |
| 4590 | - return new IteratorProxy(getIteratorDirect(this), { | |
| 4591 | - predicate: predicate | |
| 4592 | - }); | |
| 4593 | - } | |
| 4594 | -}); | |
| 4595 | 3804 | |
| 4596 | - | |
| 4597 | 3805 | /***/ }), |
| 4598 | 3806 | |
| 4599 | -/***/ "../node_modules/core-js/modules/es.iterator.find.js": | |
| 4600 | -/*!***********************************************************!*\ | |
| 4601 | - !*** ../node_modules/core-js/modules/es.iterator.find.js ***! | |
| 4602 | - \***********************************************************/ | |
| 3807 | +/***/ "../node_modules/core-js/modules/es.error.cause.js": | |
| 3808 | +/*!*********************************************************!*\ | |
| 3809 | + !*** ../node_modules/core-js/modules/es.error.cause.js ***! | |
| 3810 | + \*********************************************************/ | |
| 4603 | 3811 | /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { |
| 4604 | 3812 | |
| 4605 | -"use strict"; | |
| 4606 | - | |
| 3813 | +/* eslint-disable no-unused-vars -- required for functions `.length` */ | |
| 4607 | 3814 | 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"); | |
| 3815 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 3816 | +var apply = __webpack_require__(/*! ../internals/function-apply */ "../node_modules/core-js/internals/function-apply.js"); | |
| 3817 | +var wrapErrorConstructorWithCause = __webpack_require__(/*! ../internals/wrap-error-constructor-with-cause */ "../node_modules/core-js/internals/wrap-error-constructor-with-cause.js"); | |
| 4615 | 3818 | |
| 4616 | -var findWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('find', TypeError); | |
| 3819 | +var WEB_ASSEMBLY = 'WebAssembly'; | |
| 3820 | +var WebAssembly = global[WEB_ASSEMBLY]; | |
| 4617 | 3821 | |
| 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 | - } | |
| 3822 | +var FORCED = Error('e', { cause: 7 }).cause !== 7; | |
| 4628 | 3823 | |
| 4629 | - if (findWithoutClosingOnEarlyError) return call(findWithoutClosingOnEarlyError, this, predicate); | |
| 3824 | +var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) { | |
| 3825 | + var O = {}; | |
| 3826 | + O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED); | |
| 3827 | + $({ global: true, constructor: true, arity: 1, forced: FORCED }, O); | |
| 3828 | +}; | |
| 4630 | 3829 | |
| 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; | |
| 3830 | +var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) { | |
| 3831 | + if (WebAssembly && WebAssembly[ERROR_NAME]) { | |
| 3832 | + var O = {}; | |
| 3833 | + O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED); | |
| 3834 | + $({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED }, O); | |
| 4636 | 3835 | } |
| 3836 | +}; | |
| 3837 | + | |
| 3838 | +// https://tc39.es/ecma262/#sec-nativeerror | |
| 3839 | +// https://github.com/tc39/proposal-error-cause | |
| 3840 | +exportGlobalErrorCauseWrapper('Error', function (init) { | |
| 3841 | + return function Error(message) { return apply(init, this, arguments); }; | |
| 4637 | 3842 | }); |
| 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 | - } | |
| 3843 | +exportGlobalErrorCauseWrapper('EvalError', function (init) { | |
| 3844 | + return function EvalError(message) { return apply(init, this, arguments); }; | |
| 4680 | 3845 | }); |
| 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); | |
| 3846 | +exportGlobalErrorCauseWrapper('RangeError', function (init) { | |
| 3847 | + return function RangeError(message) { return apply(init, this, arguments); }; | |
| 4716 | 3848 | }); |
| 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 | - } | |
| 3849 | +exportGlobalErrorCauseWrapper('ReferenceError', function (init) { | |
| 3850 | + return function ReferenceError(message) { return apply(init, this, arguments); }; | |
| 4735 | 3851 | }); |
| 3852 | +exportGlobalErrorCauseWrapper('SyntaxError', function (init) { | |
| 3853 | + return function SyntaxError(message) { return apply(init, this, arguments); }; | |
| 3854 | +}); | |
| 3855 | +exportGlobalErrorCauseWrapper('TypeError', function (init) { | |
| 3856 | + return function TypeError(message) { return apply(init, this, arguments); }; | |
| 3857 | +}); | |
| 3858 | +exportGlobalErrorCauseWrapper('URIError', function (init) { | |
| 3859 | + return function URIError(message) { return apply(init, this, arguments); }; | |
| 3860 | +}); | |
| 3861 | +exportWebAssemblyErrorCauseWrapper('CompileError', function (init) { | |
| 3862 | + return function CompileError(message) { return apply(init, this, arguments); }; | |
| 3863 | +}); | |
| 3864 | +exportWebAssemblyErrorCauseWrapper('LinkError', function (init) { | |
| 3865 | + return function LinkError(message) { return apply(init, this, arguments); }; | |
| 3866 | +}); | |
| 3867 | +exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) { | |
| 3868 | + return function RuntimeError(message) { return apply(init, this, arguments); }; | |
| 3869 | +}); | |
| 4736 | 3870 | |
| 4737 | 3871 | |
| 4738 | 3872 | /***/ }), |
| 4739 | 3873 | |
| 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__) => { | |
| 3874 | +/***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js": | |
| 3875 | +/*!***********************************************************************!*\ | |
| 3876 | + !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! | |
| 3877 | + \***********************************************************************/ | |
| 3878 | +/***/ ((module) => { | |
| 4745 | 3879 | |
| 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 | - | |
| 3880 | +function _interopRequireDefault(obj) { | |
| 3881 | + return obj && obj.__esModule ? obj : { | |
| 3882 | + "default": obj | |
| 3883 | + }; | |
| 3884 | +} | |
| 3885 | +module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 4807 | 3886 | |
| 4808 | 3887 | /***/ }) |
| 4809 | 3888 | |
| 4810 | 3889 | }, |