| 1 |
/*! elementor - v3.16.0 - 13-09-2023 */ |
| 2 |
(self["webpackChunkelementor"] = self["webpackChunkelementor"] || []).push([["frontend-modules"],{ |
| 3 |
|
| 4 |
/***/ "../assets/dev/js/editor/utils/is-instanceof.js": |
| 5 |
/*!******************************************************!*\ |
| 6 |
!*** ../assets/dev/js/editor/utils/is-instanceof.js ***! |
| 7 |
\******************************************************/ |
| 8 |
/***/ ((__unused_webpack_module, exports) => { |
| 9 |
|
| 10 |
"use strict"; |
| 11 |
|
| 12 |
|
| 13 |
Object.defineProperty(exports, "__esModule", ({ |
| 14 |
value: true |
| 15 |
})); |
| 16 |
exports["default"] = void 0; |
| 17 |
/** |
| 18 |
* Some FileAPI objects such as FileList, DataTransferItem and DataTransferItemList has inconsistency with the retrieved |
| 19 |
* object (from events, etc.) and the actual JavaScript object so a regular instanceof doesn't work. This function can |
| 20 |
* check whether it's instanceof by using the objects constructor and prototype names. |
| 21 |
* |
| 22 |
* @param object |
| 23 |
* @param constructors |
| 24 |
* @return {boolean} |
| 25 |
*/ |
| 26 |
var _default = (object, constructors) => { |
| 27 |
constructors = Array.isArray(constructors) ? constructors : [constructors]; |
| 28 |
for (const constructor of constructors) { |
| 29 |
if (object.constructor.name === constructor.prototype[Symbol.toStringTag]) { |
| 30 |
return true; |
| 31 |
} |
| 32 |
} |
| 33 |
return false; |
| 34 |
}; |
| 35 |
exports["default"] = _default; |
| 36 |
|
| 37 |
/***/ }), |
| 38 |
|
| 39 |
/***/ "../assets/dev/js/frontend/document.js": |
| 40 |
/*!*********************************************!*\ |
| 41 |
!*** ../assets/dev/js/frontend/document.js ***! |
| 42 |
\*********************************************/ |
| 43 |
/***/ ((__unused_webpack_module, exports) => { |
| 44 |
|
| 45 |
"use strict"; |
| 46 |
|
| 47 |
|
| 48 |
Object.defineProperty(exports, "__esModule", ({ |
| 49 |
value: true |
| 50 |
})); |
| 51 |
exports["default"] = void 0; |
| 52 |
class _default extends elementorModules.ViewModule { |
| 53 |
getDefaultSettings() { |
| 54 |
return { |
| 55 |
selectors: { |
| 56 |
elements: '.elementor-element', |
| 57 |
nestedDocumentElements: '.elementor .elementor-element' |
| 58 |
}, |
| 59 |
classes: { |
| 60 |
editMode: 'elementor-edit-mode' |
| 61 |
} |
| 62 |
}; |
| 63 |
} |
| 64 |
getDefaultElements() { |
| 65 |
const selectors = this.getSettings('selectors'); |
| 66 |
return { |
| 67 |
$elements: this.$element.find(selectors.elements).not(this.$element.find(selectors.nestedDocumentElements)) |
| 68 |
}; |
| 69 |
} |
| 70 |
getDocumentSettings(setting) { |
| 71 |
let elementSettings; |
| 72 |
if (this.isEdit) { |
| 73 |
elementSettings = {}; |
| 74 |
const settings = elementor.settings.page.model; |
| 75 |
jQuery.each(settings.getActiveControls(), controlKey => { |
| 76 |
elementSettings[controlKey] = settings.attributes[controlKey]; |
| 77 |
}); |
| 78 |
} else { |
| 79 |
elementSettings = this.$element.data('elementor-settings') || {}; |
| 80 |
} |
| 81 |
return this.getItems(elementSettings, setting); |
| 82 |
} |
| 83 |
runElementsHandlers() { |
| 84 |
this.elements.$elements.each((index, element) => setTimeout(() => elementorFrontend.elementsHandler.runReadyTrigger(element))); |
| 85 |
} |
| 86 |
onInit() { |
| 87 |
this.$element = this.getSettings('$element'); |
| 88 |
super.onInit(); |
| 89 |
this.isEdit = this.$element.hasClass(this.getSettings('classes.editMode')); |
| 90 |
if (this.isEdit) { |
| 91 |
elementor.on('document:loaded', () => { |
| 92 |
elementor.settings.page.model.on('change', this.onSettingsChange.bind(this)); |
| 93 |
}); |
| 94 |
} else { |
| 95 |
this.runElementsHandlers(); |
| 96 |
} |
| 97 |
} |
| 98 |
onSettingsChange() {} |
| 99 |
} |
| 100 |
exports["default"] = _default; |
| 101 |
|
| 102 |
/***/ }), |
| 103 |
|
| 104 |
/***/ "../assets/dev/js/frontend/handlers/accessibility/nested-title-keyboard-handler.js": |
| 105 |
/*!*****************************************************************************************!*\ |
| 106 |
!*** ../assets/dev/js/frontend/handlers/accessibility/nested-title-keyboard-handler.js ***! |
| 107 |
\*****************************************************************************************/ |
| 108 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 109 |
|
| 110 |
"use strict"; |
| 111 |
|
| 112 |
|
| 113 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 114 |
Object.defineProperty(exports, "__esModule", ({ |
| 115 |
value: true |
| 116 |
})); |
| 117 |
exports["default"] = void 0; |
| 118 |
var _base = _interopRequireDefault(__webpack_require__(/*! ../base */ "../assets/dev/js/frontend/handlers/base.js")); |
| 119 |
class NestedTitleKeyboardHandler extends _base.default { |
| 120 |
__construct(settings) { |
| 121 |
super.__construct(settings); |
| 122 |
this.directionNext = 'next'; |
| 123 |
this.directionPrevious = 'previous'; |
| 124 |
this.focusableElementSelector = 'audio, button, canvas, details, iframe, input, select, summary, textarea, video, [accesskey], [contenteditable], [href], [tabindex]:not([tabindex="-1"])'; |
| 125 |
} |
| 126 |
getDefaultSettings() { |
| 127 |
return { |
| 128 |
selectors: { |
| 129 |
itemTitle: '.e-n-tab-title', |
| 130 |
itemContainer: '.e-n-tabs-content > .e-con' |
| 131 |
}, |
| 132 |
ariaAttributes: { |
| 133 |
titleStateAttribute: 'aria-selected', |
| 134 |
activeTitleSelector: '[aria-selected="true"]' |
| 135 |
}, |
| 136 |
datasets: { |
| 137 |
titleIndex: 'data-tab-index' |
| 138 |
}, |
| 139 |
keyDirection: { |
| 140 |
ArrowLeft: elementorFrontendConfig.is_rtl ? this.directionNext : this.directionPrevious, |
| 141 |
ArrowUp: this.directionPrevious, |
| 142 |
ArrowRight: elementorFrontendConfig.is_rtl ? this.directionPrevious : this.directionNext, |
| 143 |
ArrowDown: this.directionNext |
| 144 |
} |
| 145 |
}; |
| 146 |
} |
| 147 |
getDefaultElements() { |
| 148 |
const selectors = this.getSettings('selectors'); |
| 149 |
return { |
| 150 |
$itemTitles: this.findElement(selectors.itemTitle), |
| 151 |
$itemContainers: this.findElement(selectors.itemContainer), |
| 152 |
$focusableContainerElements: this.getFocusableElements(this.findElement(selectors.itemContainer)) |
| 153 |
}; |
| 154 |
} |
| 155 |
getFocusableElements($elements) { |
| 156 |
return $elements.find(this.focusableElementSelector).not('[disabled], [inert]'); |
| 157 |
} |
| 158 |
getKeyDirectionValue(event) { |
| 159 |
const direction = this.getSettings('keyDirection')[event.key]; |
| 160 |
return this.directionNext === direction ? 1 : -1; |
| 161 |
} |
| 162 |
|
| 163 |
/** |
| 164 |
* @param {HTMLElement} itemTitleElement |
| 165 |
* |
| 166 |
* @return {string} |
| 167 |
*/ |
| 168 |
getTitleIndex(itemTitleElement) { |
| 169 |
const { |
| 170 |
titleIndex: indexAttribute |
| 171 |
} = this.getSettings('datasets'); |
| 172 |
return itemTitleElement.getAttribute(indexAttribute); |
| 173 |
} |
| 174 |
|
| 175 |
/** |
| 176 |
* @param {string|number} titleIndex |
| 177 |
* |
| 178 |
* @return {string} |
| 179 |
*/ |
| 180 |
getTitleFilterSelector(titleIndex) { |
| 181 |
const { |
| 182 |
titleIndex: indexAttribute |
| 183 |
} = this.getSettings('datasets'); |
| 184 |
return `[${indexAttribute}="${titleIndex}"]`; |
| 185 |
} |
| 186 |
getActiveTitleElement() { |
| 187 |
const activeTitleFilter = this.getSettings('ariaAttributes').activeTitleSelector; |
| 188 |
return this.elements.$itemTitles.filter(activeTitleFilter); |
| 189 |
} |
| 190 |
onInit() { |
| 191 |
super.onInit(...arguments); |
| 192 |
} |
| 193 |
bindEvents() { |
| 194 |
this.elements.$itemTitles.on(this.getTitleEvents()); |
| 195 |
this.elements.$focusableContainerElements.on(this.getContentElementEvents()); |
| 196 |
} |
| 197 |
unbindEvents() { |
| 198 |
this.elements.$itemTitles.off(); |
| 199 |
this.elements.$itemContainers.children().off(); |
| 200 |
} |
| 201 |
getTitleEvents() { |
| 202 |
return { |
| 203 |
keydown: this.handleTitleKeyboardNavigation.bind(this) |
| 204 |
}; |
| 205 |
} |
| 206 |
getContentElementEvents() { |
| 207 |
return { |
| 208 |
keydown: this.handleContentElementKeyboardNavigation.bind(this) |
| 209 |
}; |
| 210 |
} |
| 211 |
isDirectionKey(event) { |
| 212 |
const directionKeys = ['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown', 'Home', 'End']; |
| 213 |
return directionKeys.includes(event.key); |
| 214 |
} |
| 215 |
isActivationKey(event) { |
| 216 |
const activationKeys = ['Enter', ' ']; |
| 217 |
return activationKeys.includes(event.key); |
| 218 |
} |
| 219 |
handleTitleKeyboardNavigation(event) { |
| 220 |
if (this.isDirectionKey(event)) { |
| 221 |
event.preventDefault(); |
| 222 |
const currentTitleIndex = parseInt(this.getTitleIndex(event.currentTarget)) || 1, |
| 223 |
numberOfTitles = this.elements.$itemTitles.length, |
| 224 |
titleIndexUpdated = this.getTitleIndexFocusUpdated(event, currentTitleIndex, numberOfTitles); |
| 225 |
this.changeTitleFocus(titleIndexUpdated); |
| 226 |
event.stopPropagation(); |
| 227 |
} else if (this.isActivationKey(event)) { |
| 228 |
event.preventDefault(); |
| 229 |
if (this.handeTitleLinkEnterOrSpaceEvent(event)) { |
| 230 |
return; |
| 231 |
} |
| 232 |
const titleIndex = this.getTitleIndex(event.currentTarget); |
| 233 |
elementorFrontend.elements.$window.trigger('elementor/nested-elements/activate-by-keyboard', { |
| 234 |
widgetId: this.getID(), |
| 235 |
titleIndex |
| 236 |
}); |
| 237 |
} else if ('Escape' === event.key) { |
| 238 |
this.handleTitleEscapeKeyEvents(event); |
| 239 |
} |
| 240 |
} |
| 241 |
handeTitleLinkEnterOrSpaceEvent(event) { |
| 242 |
const isLinkElement = 'a' === event?.currentTarget?.tagName?.toLowerCase(); |
| 243 |
if (!elementorFrontend.isEditMode() && isLinkElement) { |
| 244 |
event?.currentTarget?.click(); |
| 245 |
event.stopPropagation(); |
| 246 |
} |
| 247 |
return isLinkElement; |
| 248 |
} |
| 249 |
getTitleIndexFocusUpdated(event, currentTitleIndex, numberOfTitles) { |
| 250 |
let titleIndexUpdated = 0; |
| 251 |
switch (event.key) { |
| 252 |
case 'Home': |
| 253 |
titleIndexUpdated = 1; |
| 254 |
break; |
| 255 |
case 'End': |
| 256 |
titleIndexUpdated = numberOfTitles; |
| 257 |
break; |
| 258 |
default: |
| 259 |
const directionValue = this.getKeyDirectionValue(event), |
| 260 |
isEndReached = numberOfTitles < currentTitleIndex + directionValue, |
| 261 |
isStartReached = 0 === currentTitleIndex + directionValue; |
| 262 |
if (isEndReached) { |
| 263 |
titleIndexUpdated = 1; |
| 264 |
} else if (isStartReached) { |
| 265 |
titleIndexUpdated = numberOfTitles; |
| 266 |
} else { |
| 267 |
titleIndexUpdated = currentTitleIndex + directionValue; |
| 268 |
} |
| 269 |
} |
| 270 |
return titleIndexUpdated; |
| 271 |
} |
| 272 |
changeTitleFocus(titleIndexUpdated) { |
| 273 |
const $newTitle = this.elements.$itemTitles.filter(this.getTitleFilterSelector(titleIndexUpdated)); |
| 274 |
this.setTitleTabindex(titleIndexUpdated); |
| 275 |
$newTitle.trigger('focus'); |
| 276 |
} |
| 277 |
setTitleTabindex(titleIndex) { |
| 278 |
this.elements.$itemTitles.attr('tabindex', '-1'); |
| 279 |
const $newTitle = this.elements.$itemTitles.filter(this.getTitleFilterSelector(titleIndex)); |
| 280 |
$newTitle.attr('tabindex', '0'); |
| 281 |
} |
| 282 |
handleTitleEscapeKeyEvents() {} |
| 283 |
handleContentElementKeyboardNavigation(event) { |
| 284 |
if ('Tab' === event.key && !event.shiftKey) { |
| 285 |
this.handleContentElementTabEvents(event); |
| 286 |
} else if ('Escape' === event.key) { |
| 287 |
event.preventDefault(); |
| 288 |
event.stopPropagation(); |
| 289 |
this.handleContentElementEscapeEvents(); |
| 290 |
} |
| 291 |
} |
| 292 |
handleContentElementEscapeEvents() { |
| 293 |
this.getActiveTitleElement().trigger('focus'); |
| 294 |
} |
| 295 |
handleContentElementTabEvents() {} |
| 296 |
} |
| 297 |
exports["default"] = NestedTitleKeyboardHandler; |
| 298 |
|
| 299 |
/***/ }), |
| 300 |
|
| 301 |
/***/ "../assets/dev/js/frontend/handlers/base-carousel.js": |
| 302 |
/*!***********************************************************!*\ |
| 303 |
!*** ../assets/dev/js/frontend/handlers/base-carousel.js ***! |
| 304 |
\***********************************************************/ |
| 305 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 306 |
|
| 307 |
"use strict"; |
| 308 |
|
| 309 |
|
| 310 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 311 |
Object.defineProperty(exports, "__esModule", ({ |
| 312 |
value: true |
| 313 |
})); |
| 314 |
exports["default"] = void 0; |
| 315 |
var _baseSwiper = _interopRequireDefault(__webpack_require__(/*! ./base-swiper */ "../assets/dev/js/frontend/handlers/base-swiper.js")); |
| 316 |
class CarouselHandlerBase extends _baseSwiper.default { |
| 317 |
getDefaultSettings() { |
| 318 |
return { |
| 319 |
selectors: { |
| 320 |
carousel: `.${elementorFrontend.config.swiperClass}`, |
| 321 |
swiperWrapper: '.swiper-wrapper', |
| 322 |
slideContent: '.swiper-slide', |
| 323 |
swiperArrow: '.elementor-swiper-button', |
| 324 |
paginationWrapper: '.swiper-pagination', |
| 325 |
paginationBullet: '.swiper-pagination-bullet', |
| 326 |
paginationBulletWrapper: '.swiper-pagination-bullets' |
| 327 |
} |
| 328 |
}; |
| 329 |
} |
| 330 |
getDefaultElements() { |
| 331 |
const selectors = this.getSettings('selectors'), |
| 332 |
elements = { |
| 333 |
$swiperContainer: this.$element.find(selectors.carousel), |
| 334 |
$swiperWrapper: this.$element.find(selectors.swiperWrapper), |
| 335 |
$swiperArrows: this.$element.find(selectors.swiperArrow), |
| 336 |
$paginationWrapper: this.$element.find(selectors.paginationWrapper), |
| 337 |
$paginationBullets: this.$element.find(selectors.paginationBullet), |
| 338 |
$paginationBulletWrapper: this.$element.find(selectors.paginationBulletWrapper) |
| 339 |
}; |
| 340 |
elements.$slides = elements.$swiperContainer.find(selectors.slideContent); |
| 341 |
return elements; |
| 342 |
} |
| 343 |
getSwiperSettings() { |
| 344 |
const elementSettings = this.getElementSettings(), |
| 345 |
slidesToShow = +elementSettings.slides_to_show || 3, |
| 346 |
isSingleSlide = 1 === slidesToShow, |
| 347 |
elementorBreakpoints = elementorFrontend.config.responsive.activeBreakpoints, |
| 348 |
defaultSlidesToShowMap = { |
| 349 |
mobile: 1, |
| 350 |
tablet: isSingleSlide ? 1 : 2 |
| 351 |
}; |
| 352 |
const swiperOptions = { |
| 353 |
slidesPerView: slidesToShow, |
| 354 |
loop: 'yes' === elementSettings.infinite, |
| 355 |
speed: elementSettings.speed, |
| 356 |
handleElementorBreakpoints: true |
| 357 |
}; |
| 358 |
swiperOptions.breakpoints = {}; |
| 359 |
let lastBreakpointSlidesToShowValue = slidesToShow; |
| 360 |
Object.keys(elementorBreakpoints).reverse().forEach(breakpointName => { |
| 361 |
// Tablet has a specific default `slides_to_show`. |
| 362 |
const defaultSlidesToShow = defaultSlidesToShowMap[breakpointName] ? defaultSlidesToShowMap[breakpointName] : lastBreakpointSlidesToShowValue; |
| 363 |
swiperOptions.breakpoints[elementorBreakpoints[breakpointName].value] = { |
| 364 |
slidesPerView: +elementSettings['slides_to_show_' + breakpointName] || defaultSlidesToShow, |
| 365 |
slidesPerGroup: +elementSettings['slides_to_scroll_' + breakpointName] || 1 |
| 366 |
}; |
| 367 |
if (elementSettings.image_spacing_custom) { |
| 368 |
swiperOptions.breakpoints[elementorBreakpoints[breakpointName].value].spaceBetween = this.getSpaceBetween(breakpointName); |
| 369 |
} |
| 370 |
lastBreakpointSlidesToShowValue = +elementSettings['slides_to_show_' + breakpointName] || defaultSlidesToShow; |
| 371 |
}); |
| 372 |
if ('yes' === elementSettings.autoplay) { |
| 373 |
swiperOptions.autoplay = { |
| 374 |
delay: elementSettings.autoplay_speed, |
| 375 |
disableOnInteraction: 'yes' === elementSettings.pause_on_interaction |
| 376 |
}; |
| 377 |
} |
| 378 |
if (isSingleSlide) { |
| 379 |
swiperOptions.effect = elementSettings.effect; |
| 380 |
if ('fade' === elementSettings.effect) { |
| 381 |
swiperOptions.fadeEffect = { |
| 382 |
crossFade: true |
| 383 |
}; |
| 384 |
} |
| 385 |
} else { |
| 386 |
swiperOptions.slidesPerGroup = +elementSettings.slides_to_scroll || 1; |
| 387 |
} |
| 388 |
if (elementSettings.image_spacing_custom) { |
| 389 |
swiperOptions.spaceBetween = this.getSpaceBetween(); |
| 390 |
} |
| 391 |
const showArrows = 'arrows' === elementSettings.navigation || 'both' === elementSettings.navigation, |
| 392 |
showPagination = 'dots' === elementSettings.navigation || 'both' === elementSettings.navigation || elementSettings.pagination; |
| 393 |
if (showArrows) { |
| 394 |
swiperOptions.navigation = { |
| 395 |
prevEl: '.elementor-swiper-button-prev', |
| 396 |
nextEl: '.elementor-swiper-button-next' |
| 397 |
}; |
| 398 |
} |
| 399 |
if (showPagination) { |
| 400 |
swiperOptions.pagination = { |
| 401 |
el: `.elementor-element-${this.getID()} .swiper-pagination`, |
| 402 |
type: !!elementSettings.pagination ? elementSettings.pagination : 'bullets', |
| 403 |
clickable: true, |
| 404 |
renderBullet: (index, classname) => { |
| 405 |
return `<span class="${classname}" data-bullet-index="${index}" aria-label="${elementorFrontend.config.i18n.a11yCarouselPaginationBulletMessage} ${index + 1}"></span>`; |
| 406 |
} |
| 407 |
}; |
| 408 |
} |
| 409 |
if ('yes' === elementSettings.lazyload) { |
| 410 |
swiperOptions.lazy = { |
| 411 |
loadPrevNext: true, |
| 412 |
loadPrevNextAmount: 1 |
| 413 |
}; |
| 414 |
} |
| 415 |
swiperOptions.a11y = { |
| 416 |
enabled: true, |
| 417 |
prevSlideMessage: elementorFrontend.config.i18n.a11yCarouselPrevSlideMessage, |
| 418 |
nextSlideMessage: elementorFrontend.config.i18n.a11yCarouselNextSlideMessage, |
| 419 |
firstSlideMessage: elementorFrontend.config.i18n.a11yCarouselFirstSlideMessage, |
| 420 |
lastSlideMessage: elementorFrontend.config.i18n.a11yCarouselLastSlideMessage |
| 421 |
}; |
| 422 |
swiperOptions.on = { |
| 423 |
slideChangeTransitionEnd: () => { |
| 424 |
this.a11ySetSlideAriaHidden(); |
| 425 |
}, |
| 426 |
slideChange: () => { |
| 427 |
this.a11ySetPaginationTabindex(); |
| 428 |
this.handleElementHandlers(); |
| 429 |
} |
| 430 |
}; |
| 431 |
this.applyOffsetSettings(elementSettings, swiperOptions, slidesToShow); |
| 432 |
return swiperOptions; |
| 433 |
} |
| 434 |
getOffsetWidth() { |
| 435 |
const currentDevice = elementorFrontend.getCurrentDeviceMode(); |
| 436 |
return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'offset_width', 'size', currentDevice) || 0; |
| 437 |
} |
| 438 |
applyOffsetSettings(elementSettings, swiperOptions, slidesToShow) { |
| 439 |
const offsetSide = elementSettings.offset_sides, |
| 440 |
isNestedCarouselInEditMode = elementorFrontend.isEditMode() && 'NestedCarousel' === this.constructor.name; |
| 441 |
if (isNestedCarouselInEditMode || !offsetSide || 'none' === offsetSide) { |
| 442 |
return; |
| 443 |
} |
| 444 |
const offset = this.getOffsetWidth(); |
| 445 |
switch (offsetSide) { |
| 446 |
case 'right': |
| 447 |
this.forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow); |
| 448 |
this.addClassToSwiperContainer('offset-right'); |
| 449 |
break; |
| 450 |
case 'left': |
| 451 |
this.addClassToSwiperContainer('offset-left'); |
| 452 |
break; |
| 453 |
case 'both': |
| 454 |
this.forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow); |
| 455 |
this.addClassToSwiperContainer('offset-both'); |
| 456 |
break; |
| 457 |
} |
| 458 |
} |
| 459 |
forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow) { |
| 460 |
swiperOptions.slidesPerView = slidesToShow + 0.001; |
| 461 |
} |
| 462 |
addClassToSwiperContainer(className) { |
| 463 |
this.getDefaultElements().$swiperContainer[0].classList.add(className); |
| 464 |
} |
| 465 |
async onInit() { |
| 466 |
super.onInit(...arguments); |
| 467 |
if (!this.elements.$swiperContainer.length || 2 > this.elements.$slides.length) { |
| 468 |
return; |
| 469 |
} |
| 470 |
const Swiper = elementorFrontend.utils.swiper; |
| 471 |
this.swiper = await new Swiper(this.elements.$swiperContainer, this.getSwiperSettings()); |
| 472 |
|
| 473 |
// Expose the swiper instance in the frontend |
| 474 |
this.elements.$swiperContainer.data('swiper', this.swiper); |
| 475 |
const elementSettings = this.getElementSettings(); |
| 476 |
if ('yes' === elementSettings.pause_on_hover) { |
| 477 |
this.togglePauseOnHover(true); |
| 478 |
} |
| 479 |
this.a11ySetWidgetAriaDetails(); |
| 480 |
this.a11ySetPaginationTabindex(); |
| 481 |
this.a11ySetSlideAriaHidden('initialisation'); |
| 482 |
} |
| 483 |
bindEvents() { |
| 484 |
this.elements.$swiperArrows.on('keydown', this.onDirectionArrowKeydown.bind(this)); |
| 485 |
this.elements.$paginationWrapper.on('keydown', '.swiper-pagination-bullet', this.onDirectionArrowKeydown.bind(this)); |
| 486 |
this.elements.$swiperContainer.on('keydown', '.swiper-slide', this.onDirectionArrowKeydown.bind(this)); |
| 487 |
this.$element.find(':focusable').on('focus', this.onFocusDisableAutoplay.bind(this)); |
| 488 |
elementorFrontend.elements.$window.on('resize', this.getSwiperSettings.bind(this)); |
| 489 |
} |
| 490 |
unbindEvents() { |
| 491 |
this.elements.$swiperArrows.off(); |
| 492 |
this.elements.$paginationWrapper.off(); |
| 493 |
this.elements.$swiperContainer.off(); |
| 494 |
this.$element.find(':focusable').off(); |
| 495 |
elementorFrontend.elements.$window.off('resize'); |
| 496 |
} |
| 497 |
onDirectionArrowKeydown(event) { |
| 498 |
const isRTL = elementorFrontend.config.isRTL, |
| 499 |
inlineDirectionArrows = ['ArrowLeft', 'ArrowRight'], |
| 500 |
currentKeydown = event.originalEvent.code, |
| 501 |
isDirectionInlineKeydown = -1 !== inlineDirectionArrows.indexOf(currentKeydown), |
| 502 |
directionStart = isRTL ? 'ArrowRight' : 'ArrowLeft', |
| 503 |
directionEnd = isRTL ? 'ArrowLeft' : 'ArrowRight'; |
| 504 |
if (!isDirectionInlineKeydown) { |
| 505 |
return true; |
| 506 |
} else if (directionStart === currentKeydown) { |
| 507 |
this.swiper.slidePrev(); |
| 508 |
} else if (directionEnd === currentKeydown) { |
| 509 |
this.swiper.slideNext(); |
| 510 |
} |
| 511 |
} |
| 512 |
onFocusDisableAutoplay() { |
| 513 |
this.swiper.autoplay.stop(); |
| 514 |
} |
| 515 |
updateSwiperOption(propertyName) { |
| 516 |
const elementSettings = this.getElementSettings(), |
| 517 |
newSettingValue = elementSettings[propertyName], |
| 518 |
params = this.swiper.params; |
| 519 |
|
| 520 |
// Handle special cases where the value to update is not the value that the Swiper library accepts. |
| 521 |
switch (propertyName) { |
| 522 |
case 'autoplay_speed': |
| 523 |
params.autoplay.delay = newSettingValue; |
| 524 |
break; |
| 525 |
case 'speed': |
| 526 |
params.speed = newSettingValue; |
| 527 |
break; |
| 528 |
} |
| 529 |
this.swiper.update(); |
| 530 |
} |
| 531 |
getChangeableProperties() { |
| 532 |
return { |
| 533 |
pause_on_hover: 'pauseOnHover', |
| 534 |
autoplay_speed: 'delay', |
| 535 |
speed: 'speed', |
| 536 |
arrows_position: 'arrows_position' // Not a Swiper setting. |
| 537 |
}; |
| 538 |
} |
| 539 |
|
| 540 |
onElementChange(propertyName) { |
| 541 |
if (0 === propertyName.indexOf('image_spacing_custom')) { |
| 542 |
this.updateSpaceBetween(propertyName); |
| 543 |
return; |
| 544 |
} |
| 545 |
const changeableProperties = this.getChangeableProperties(); |
| 546 |
if (changeableProperties[propertyName]) { |
| 547 |
// 'pause_on_hover' is implemented by the handler with event listeners, not the Swiper library. |
| 548 |
if ('pause_on_hover' === propertyName) { |
| 549 |
const newSettingValue = this.getElementSettings('pause_on_hover'); |
| 550 |
this.togglePauseOnHover('yes' === newSettingValue); |
| 551 |
} else { |
| 552 |
this.updateSwiperOption(propertyName); |
| 553 |
} |
| 554 |
} |
| 555 |
} |
| 556 |
onEditSettingsChange(propertyName) { |
| 557 |
if ('activeItemIndex' === propertyName) { |
| 558 |
this.swiper.slideToLoop(this.getEditSettings('activeItemIndex') - 1); |
| 559 |
} |
| 560 |
} |
| 561 |
getSpaceBetween() { |
| 562 |
let device = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; |
| 563 |
return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'image_spacing_custom', 'size', device) || 0; |
| 564 |
} |
| 565 |
updateSpaceBetween(propertyName) { |
| 566 |
const deviceMatch = propertyName.match('image_spacing_custom_(.*)'), |
| 567 |
device = deviceMatch ? deviceMatch[1] : 'desktop', |
| 568 |
newSpaceBetween = this.getSpaceBetween(device); |
| 569 |
if ('desktop' !== device) { |
| 570 |
this.swiper.params.breakpoints[elementorFrontend.config.responsive.activeBreakpoints[device].value].spaceBetween = newSpaceBetween; |
| 571 |
} |
| 572 |
this.swiper.params.spaceBetween = newSpaceBetween; |
| 573 |
this.swiper.update(); |
| 574 |
} |
| 575 |
getPaginationBullets() { |
| 576 |
let type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'array'; |
| 577 |
const paginationBullets = this.$element.find(this.getSettings('selectors').paginationBullet); |
| 578 |
return 'array' === type ? Array.from(paginationBullets) : paginationBullets; |
| 579 |
} |
| 580 |
a11ySetWidgetAriaDetails() { |
| 581 |
const $widget = this.$element; |
| 582 |
$widget.attr('aria-roledescription', 'carousel'); |
| 583 |
$widget.attr('aria-label', elementorFrontend.config.i18n.a11yCarouselWrapperAriaLabel); |
| 584 |
} |
| 585 |
a11ySetPaginationTabindex() { |
| 586 |
const bulletClass = this.swiper?.params.pagination.bulletClass, |
| 587 |
activeBulletClass = this.swiper?.params.pagination.bulletActiveClass; |
| 588 |
this.getPaginationBullets().forEach(bullet => { |
| 589 |
if (!bullet.classList.contains(activeBulletClass)) { |
| 590 |
bullet.removeAttribute('tabindex'); |
| 591 |
} |
| 592 |
}); |
| 593 |
const isDirectionInlineArrowKey = 'ArrowLeft' === event?.code || 'ArrowRight' === event?.code; |
| 594 |
if (event?.target?.classList.contains(bulletClass) && isDirectionInlineArrowKey) { |
| 595 |
this.$element.find(`.${activeBulletClass}`).trigger('focus'); |
| 596 |
} |
| 597 |
} |
| 598 |
getSwiperWrapperTranformXValue() { |
| 599 |
let transformValue = this.elements.$swiperWrapper[0]?.style.transform; |
| 600 |
transformValue = transformValue.replace('translate3d(', ''); |
| 601 |
transformValue = transformValue.split(','); |
| 602 |
transformValue = parseInt(transformValue[0].replace('px', '')); |
| 603 |
return !!transformValue ? transformValue : 0; |
| 604 |
} |
| 605 |
a11ySetSlideAriaHidden() { |
| 606 |
let status = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; |
| 607 |
const currentIndex = 'initialisation' === status ? 0 : this.swiper?.activeIndex; |
| 608 |
if ('number' !== typeof currentIndex) { |
| 609 |
return; |
| 610 |
} |
| 611 |
const swiperWrapperTransformXValue = this.getSwiperWrapperTranformXValue(), |
| 612 |
swiperWrapperWidth = this.elements.$swiperWrapper[0].clientWidth, |
| 613 |
$slides = this.elements.$swiperContainer.find(this.getSettings('selectors').slideContent); |
| 614 |
$slides.each((index, slide) => { |
| 615 |
const isSlideInsideWrapper = 0 <= slide.offsetLeft + swiperWrapperTransformXValue && swiperWrapperWidth > slide.offsetLeft + swiperWrapperTransformXValue; |
| 616 |
if (!isSlideInsideWrapper) { |
| 617 |
slide.setAttribute('aria-hidden', true); |
| 618 |
slide.setAttribute('inert', ''); |
| 619 |
} else { |
| 620 |
slide.removeAttribute('aria-hidden'); |
| 621 |
slide.removeAttribute('inert'); |
| 622 |
} |
| 623 |
}); |
| 624 |
} |
| 625 |
|
| 626 |
// Empty method which can be overwritten by child methods. |
| 627 |
handleElementHandlers() {} |
| 628 |
} |
| 629 |
exports["default"] = CarouselHandlerBase; |
| 630 |
|
| 631 |
/***/ }), |
| 632 |
|
| 633 |
/***/ "../assets/dev/js/frontend/handlers/base-swiper.js": |
| 634 |
/*!*********************************************************!*\ |
| 635 |
!*** ../assets/dev/js/frontend/handlers/base-swiper.js ***! |
| 636 |
\*********************************************************/ |
| 637 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 638 |
|
| 639 |
"use strict"; |
| 640 |
|
| 641 |
|
| 642 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 643 |
Object.defineProperty(exports, "__esModule", ({ |
| 644 |
value: true |
| 645 |
})); |
| 646 |
exports["default"] = void 0; |
| 647 |
var _base = _interopRequireDefault(__webpack_require__(/*! ./base */ "../assets/dev/js/frontend/handlers/base.js")); |
| 648 |
class SwiperHandlerBase extends _base.default { |
| 649 |
getInitialSlide() { |
| 650 |
const editSettings = this.getEditSettings(); |
| 651 |
return editSettings.activeItemIndex ? editSettings.activeItemIndex - 1 : 0; |
| 652 |
} |
| 653 |
getSlidesCount() { |
| 654 |
return this.elements.$slides.length; |
| 655 |
} |
| 656 |
|
| 657 |
// This method live-handles the 'Pause On Hover' control's value being changed in the Editor Panel |
| 658 |
togglePauseOnHover(toggleOn) { |
| 659 |
if (toggleOn) { |
| 660 |
this.elements.$swiperContainer.on({ |
| 661 |
mouseenter: () => { |
| 662 |
this.swiper.autoplay.stop(); |
| 663 |
}, |
| 664 |
mouseleave: () => { |
| 665 |
this.swiper.autoplay.start(); |
| 666 |
} |
| 667 |
}); |
| 668 |
} else { |
| 669 |
this.elements.$swiperContainer.off('mouseenter mouseleave'); |
| 670 |
} |
| 671 |
} |
| 672 |
handleKenBurns() { |
| 673 |
const settings = this.getSettings(); |
| 674 |
if (this.$activeImageBg) { |
| 675 |
this.$activeImageBg.removeClass(settings.classes.kenBurnsActive); |
| 676 |
} |
| 677 |
this.activeItemIndex = this.swiper ? this.swiper.activeIndex : this.getInitialSlide(); |
| 678 |
if (this.swiper) { |
| 679 |
this.$activeImageBg = jQuery(this.swiper.slides[this.activeItemIndex]).children('.' + settings.classes.slideBackground); |
| 680 |
} else { |
| 681 |
this.$activeImageBg = jQuery(this.elements.$slides[0]).children('.' + settings.classes.slideBackground); |
| 682 |
} |
| 683 |
this.$activeImageBg.addClass(settings.classes.kenBurnsActive); |
| 684 |
} |
| 685 |
} |
| 686 |
exports["default"] = SwiperHandlerBase; |
| 687 |
|
| 688 |
/***/ }), |
| 689 |
|
| 690 |
/***/ "../assets/dev/js/frontend/handlers/base.js": |
| 691 |
/*!**************************************************!*\ |
| 692 |
!*** ../assets/dev/js/frontend/handlers/base.js ***! |
| 693 |
\**************************************************/ |
| 694 |
/***/ ((module) => { |
| 695 |
|
| 696 |
"use strict"; |
| 697 |
|
| 698 |
|
| 699 |
module.exports = elementorModules.ViewModule.extend({ |
| 700 |
$element: null, |
| 701 |
editorListeners: null, |
| 702 |
onElementChange: null, |
| 703 |
onEditSettingsChange: null, |
| 704 |
onPageSettingsChange: null, |
| 705 |
isEdit: null, |
| 706 |
__construct(settings) { |
| 707 |
if (!this.isActive(settings)) { |
| 708 |
return; |
| 709 |
} |
| 710 |
this.$element = settings.$element; |
| 711 |
this.isEdit = this.$element.hasClass('elementor-element-edit-mode'); |
| 712 |
if (this.isEdit) { |
| 713 |
this.addEditorListeners(); |
| 714 |
} |
| 715 |
}, |
| 716 |
isActive() { |
| 717 |
return true; |
| 718 |
}, |
| 719 |
isElementInTheCurrentDocument() { |
| 720 |
if (!elementorFrontend.isEditMode()) { |
| 721 |
return false; |
| 722 |
} |
| 723 |
return elementor.documents.currentDocument.id.toString() === this.$element[0].closest('.elementor').dataset.elementorId; |
| 724 |
}, |
| 725 |
findElement(selector) { |
| 726 |
var $mainElement = this.$element; |
| 727 |
return $mainElement.find(selector).filter(function () { |
| 728 |
// Start `closest` from parent since self can be `.elementor-element`. |
| 729 |
return jQuery(this).parent().closest('.elementor-element').is($mainElement); |
| 730 |
}); |
| 731 |
}, |
| 732 |
getUniqueHandlerID(cid, $element) { |
| 733 |
if (!cid) { |
| 734 |
cid = this.getModelCID(); |
| 735 |
} |
| 736 |
if (!$element) { |
| 737 |
$element = this.$element; |
| 738 |
} |
| 739 |
return cid + $element.attr('data-element_type') + this.getConstructorID(); |
| 740 |
}, |
| 741 |
initEditorListeners() { |
| 742 |
var self = this; |
| 743 |
self.editorListeners = [{ |
| 744 |
event: 'element:destroy', |
| 745 |
to: elementor.channels.data, |
| 746 |
callback(removedModel) { |
| 747 |
if (removedModel.cid !== self.getModelCID()) { |
| 748 |
return; |
| 749 |
} |
| 750 |
self.onDestroy(); |
| 751 |
} |
| 752 |
}]; |
| 753 |
if (self.onElementChange) { |
| 754 |
const elementType = self.getWidgetType() || self.getElementType(); |
| 755 |
let eventName = 'change'; |
| 756 |
if ('global' !== elementType) { |
| 757 |
eventName += ':' + elementType; |
| 758 |
} |
| 759 |
self.editorListeners.push({ |
| 760 |
event: eventName, |
| 761 |
to: elementor.channels.editor, |
| 762 |
callback(controlView, elementView) { |
| 763 |
var elementViewHandlerID = self.getUniqueHandlerID(elementView.model.cid, elementView.$el); |
| 764 |
if (elementViewHandlerID !== self.getUniqueHandlerID()) { |
| 765 |
return; |
| 766 |
} |
| 767 |
self.onElementChange(controlView.model.get('name'), controlView, elementView); |
| 768 |
} |
| 769 |
}); |
| 770 |
} |
| 771 |
if (self.onEditSettingsChange) { |
| 772 |
self.editorListeners.push({ |
| 773 |
event: 'change:editSettings', |
| 774 |
to: elementor.channels.editor, |
| 775 |
callback(changedModel, view) { |
| 776 |
if (view.model.cid !== self.getModelCID()) { |
| 777 |
return; |
| 778 |
} |
| 779 |
const propName = Object.keys(changedModel.changed)[0]; |
| 780 |
self.onEditSettingsChange(propName, changedModel.changed[propName]); |
| 781 |
} |
| 782 |
}); |
| 783 |
} |
| 784 |
['page'].forEach(function (settingsType) { |
| 785 |
var listenerMethodName = 'on' + settingsType[0].toUpperCase() + settingsType.slice(1) + 'SettingsChange'; |
| 786 |
if (self[listenerMethodName]) { |
| 787 |
self.editorListeners.push({ |
| 788 |
event: 'change', |
| 789 |
to: elementor.settings[settingsType].model, |
| 790 |
callback(model) { |
| 791 |
self[listenerMethodName](model.changed); |
| 792 |
} |
| 793 |
}); |
| 794 |
} |
| 795 |
}); |
| 796 |
}, |
| 797 |
getEditorListeners() { |
| 798 |
if (!this.editorListeners) { |
| 799 |
this.initEditorListeners(); |
| 800 |
} |
| 801 |
return this.editorListeners; |
| 802 |
}, |
| 803 |
addEditorListeners() { |
| 804 |
var uniqueHandlerID = this.getUniqueHandlerID(); |
| 805 |
this.getEditorListeners().forEach(function (listener) { |
| 806 |
elementorFrontend.addListenerOnce(uniqueHandlerID, listener.event, listener.callback, listener.to); |
| 807 |
}); |
| 808 |
}, |
| 809 |
removeEditorListeners() { |
| 810 |
var uniqueHandlerID = this.getUniqueHandlerID(); |
| 811 |
this.getEditorListeners().forEach(function (listener) { |
| 812 |
elementorFrontend.removeListeners(uniqueHandlerID, listener.event, null, listener.to); |
| 813 |
}); |
| 814 |
}, |
| 815 |
getElementType() { |
| 816 |
return this.$element.data('element_type'); |
| 817 |
}, |
| 818 |
getWidgetType() { |
| 819 |
const widgetType = this.$element.data('widget_type'); |
| 820 |
if (!widgetType) { |
| 821 |
return; |
| 822 |
} |
| 823 |
return widgetType.split('.')[0]; |
| 824 |
}, |
| 825 |
getID() { |
| 826 |
return this.$element.data('id'); |
| 827 |
}, |
| 828 |
getModelCID() { |
| 829 |
return this.$element.data('model-cid'); |
| 830 |
}, |
| 831 |
getElementSettings(setting) { |
| 832 |
let elementSettings = {}; |
| 833 |
const modelCID = this.getModelCID(); |
| 834 |
if (this.isEdit && modelCID) { |
| 835 |
const settings = elementorFrontend.config.elements.data[modelCID], |
| 836 |
attributes = settings.attributes; |
| 837 |
let type = attributes.widgetType || attributes.elType; |
| 838 |
if (attributes.isInner) { |
| 839 |
type = 'inner-' + type; |
| 840 |
} |
| 841 |
let settingsKeys = elementorFrontend.config.elements.keys[type]; |
| 842 |
if (!settingsKeys) { |
| 843 |
settingsKeys = elementorFrontend.config.elements.keys[type] = []; |
| 844 |
jQuery.each(settings.controls, (name, control) => { |
| 845 |
if (control.frontend_available) { |
| 846 |
settingsKeys.push(name); |
| 847 |
} |
| 848 |
}); |
| 849 |
} |
| 850 |
jQuery.each(settings.getActiveControls(), function (controlKey) { |
| 851 |
if (-1 !== settingsKeys.indexOf(controlKey)) { |
| 852 |
let value = attributes[controlKey]; |
| 853 |
if (value.toJSON) { |
| 854 |
value = value.toJSON(); |
| 855 |
} |
| 856 |
elementSettings[controlKey] = value; |
| 857 |
} |
| 858 |
}); |
| 859 |
} else { |
| 860 |
elementSettings = this.$element.data('settings') || {}; |
| 861 |
} |
| 862 |
return this.getItems(elementSettings, setting); |
| 863 |
}, |
| 864 |
getEditSettings(setting) { |
| 865 |
var attributes = {}; |
| 866 |
if (this.isEdit) { |
| 867 |
attributes = elementorFrontend.config.elements.editSettings[this.getModelCID()].attributes; |
| 868 |
} |
| 869 |
return this.getItems(attributes, setting); |
| 870 |
}, |
| 871 |
getCurrentDeviceSetting(settingKey) { |
| 872 |
return elementorFrontend.getCurrentDeviceSetting(this.getElementSettings(), settingKey); |
| 873 |
}, |
| 874 |
onInit() { |
| 875 |
if (this.isActive(this.getSettings())) { |
| 876 |
elementorModules.ViewModule.prototype.onInit.apply(this, arguments); |
| 877 |
} |
| 878 |
}, |
| 879 |
onDestroy() { |
| 880 |
if (this.isEdit) { |
| 881 |
this.removeEditorListeners(); |
| 882 |
} |
| 883 |
if (this.unbindEvents) { |
| 884 |
this.unbindEvents(); |
| 885 |
} |
| 886 |
} |
| 887 |
}); |
| 888 |
|
| 889 |
/***/ }), |
| 890 |
|
| 891 |
/***/ "../assets/dev/js/frontend/handlers/stretched-element.js": |
| 892 |
/*!***************************************************************!*\ |
| 893 |
!*** ../assets/dev/js/frontend/handlers/stretched-element.js ***! |
| 894 |
\***************************************************************/ |
| 895 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 896 |
|
| 897 |
"use strict"; |
| 898 |
|
| 899 |
|
| 900 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 901 |
Object.defineProperty(exports, "__esModule", ({ |
| 902 |
value: true |
| 903 |
})); |
| 904 |
exports["default"] = void 0; |
| 905 |
var _base = _interopRequireDefault(__webpack_require__(/*! ./base */ "../assets/dev/js/frontend/handlers/base.js")); |
| 906 |
class StretchedElement extends _base.default { |
| 907 |
getStretchedClass() { |
| 908 |
return 'e-stretched'; |
| 909 |
} |
| 910 |
getStretchSettingName() { |
| 911 |
return 'stretch_element'; |
| 912 |
} |
| 913 |
getStretchActiveValue() { |
| 914 |
return 'yes'; |
| 915 |
} |
| 916 |
bindEvents() { |
| 917 |
const handlerID = this.getUniqueHandlerID(); |
| 918 |
elementorFrontend.addListenerOnce(handlerID, 'resize', this.stretch); |
| 919 |
elementorFrontend.addListenerOnce(handlerID, 'sticky:stick', this.stretch, this.$element); |
| 920 |
elementorFrontend.addListenerOnce(handlerID, 'sticky:unstick', this.stretch, this.$element); |
| 921 |
if (elementorFrontend.isEditMode()) { |
| 922 |
this.onKitChangeStretchContainerChange = this.onKitChangeStretchContainerChange.bind(this); |
| 923 |
elementor.channels.editor.on('kit:change:stretchContainer', this.onKitChangeStretchContainerChange); |
| 924 |
} |
| 925 |
} |
| 926 |
unbindEvents() { |
| 927 |
elementorFrontend.removeListeners(this.getUniqueHandlerID(), 'resize', this.stretch); |
| 928 |
if (elementorFrontend.isEditMode()) { |
| 929 |
elementor.channels.editor.off('kit:change:stretchContainer', this.onKitChangeStretchContainerChange); |
| 930 |
} |
| 931 |
} |
| 932 |
isActive(settings) { |
| 933 |
return elementorFrontend.isEditMode() || settings.$element.hasClass(this.getStretchedClass()); |
| 934 |
} |
| 935 |
getStretchElementForConfig() { |
| 936 |
let childSelector = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; |
| 937 |
if (childSelector) { |
| 938 |
return this.$element.find(childSelector); |
| 939 |
} |
| 940 |
return this.$element; |
| 941 |
} |
| 942 |
getStretchElementConfig() { |
| 943 |
return { |
| 944 |
element: this.getStretchElementForConfig(), |
| 945 |
selectors: { |
| 946 |
container: this.getStretchContainer() |
| 947 |
}, |
| 948 |
considerScrollbar: elementorFrontend.isEditMode() && elementorFrontend.config.is_rtl |
| 949 |
}; |
| 950 |
} |
| 951 |
initStretch() { |
| 952 |
this.stretch = this.stretch.bind(this); |
| 953 |
this.stretchElement = new elementorModules.frontend.tools.StretchElement(this.getStretchElementConfig()); |
| 954 |
} |
| 955 |
getStretchContainer() { |
| 956 |
return elementorFrontend.getKitSettings('stretched_section_container') || window; |
| 957 |
} |
| 958 |
isStretchSettingEnabled() { |
| 959 |
return this.getElementSettings(this.getStretchSettingName()) === this.getStretchActiveValue(); |
| 960 |
} |
| 961 |
stretch() { |
| 962 |
if (!this.isStretchSettingEnabled()) { |
| 963 |
return; |
| 964 |
} |
| 965 |
this.stretchElement.stretch(); |
| 966 |
} |
| 967 |
onInit() { |
| 968 |
if (!this.isActive(this.getSettings())) { |
| 969 |
return; |
| 970 |
} |
| 971 |
this.initStretch(); |
| 972 |
super.onInit(...arguments); |
| 973 |
this.stretch(); |
| 974 |
} |
| 975 |
onElementChange(propertyName) { |
| 976 |
const stretchSettingName = this.getStretchSettingName(); |
| 977 |
if (stretchSettingName === propertyName) { |
| 978 |
if (this.isStretchSettingEnabled()) { |
| 979 |
this.stretch(); |
| 980 |
} else { |
| 981 |
this.stretchElement.reset(); |
| 982 |
} |
| 983 |
} |
| 984 |
} |
| 985 |
onKitChangeStretchContainerChange() { |
| 986 |
this.stretchElement.setSettings('selectors.container', this.getStretchContainer()); |
| 987 |
this.stretch(); |
| 988 |
} |
| 989 |
} |
| 990 |
exports["default"] = StretchedElement; |
| 991 |
|
| 992 |
/***/ }), |
| 993 |
|
| 994 |
/***/ "../assets/dev/js/frontend/modules.js": |
| 995 |
/*!********************************************!*\ |
| 996 |
!*** ../assets/dev/js/frontend/modules.js ***! |
| 997 |
\********************************************/ |
| 998 |
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { |
| 999 |
|
| 1000 |
"use strict"; |
| 1001 |
|
| 1002 |
|
| 1003 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 1004 |
var _modules = _interopRequireDefault(__webpack_require__(/*! ../modules/modules */ "../assets/dev/js/modules/modules.js")); |
| 1005 |
var _document = _interopRequireDefault(__webpack_require__(/*! ./document */ "../assets/dev/js/frontend/document.js")); |
| 1006 |
var _stretchElement = _interopRequireDefault(__webpack_require__(/*! ./tools/stretch-element */ "../assets/dev/js/frontend/tools/stretch-element.js")); |
| 1007 |
var _stretchedElement = _interopRequireDefault(__webpack_require__(/*! ./handlers/stretched-element */ "../assets/dev/js/frontend/handlers/stretched-element.js")); |
| 1008 |
var _base = _interopRequireDefault(__webpack_require__(/*! ./handlers/base */ "../assets/dev/js/frontend/handlers/base.js")); |
| 1009 |
var _baseSwiper = _interopRequireDefault(__webpack_require__(/*! ./handlers/base-swiper */ "../assets/dev/js/frontend/handlers/base-swiper.js")); |
| 1010 |
var _baseCarousel = _interopRequireDefault(__webpack_require__(/*! ./handlers/base-carousel */ "../assets/dev/js/frontend/handlers/base-carousel.js")); |
| 1011 |
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")); |
| 1012 |
var _nestedAccordion = _interopRequireDefault(__webpack_require__(/*! elementor/modules/nested-accordion/assets/js/frontend/handlers/nested-accordion */ "../modules/nested-accordion/assets/js/frontend/handlers/nested-accordion.js")); |
| 1013 |
var _nestedTitleKeyboardHandler = _interopRequireDefault(__webpack_require__(/*! ./handlers/accessibility/nested-title-keyboard-handler */ "../assets/dev/js/frontend/handlers/accessibility/nested-title-keyboard-handler.js")); |
| 1014 |
_modules.default.frontend = { |
| 1015 |
Document: _document.default, |
| 1016 |
tools: { |
| 1017 |
StretchElement: _stretchElement.default |
| 1018 |
}, |
| 1019 |
handlers: { |
| 1020 |
Base: _base.default, |
| 1021 |
StretchedElement: _stretchedElement.default, |
| 1022 |
SwiperBase: _baseSwiper.default, |
| 1023 |
CarouselBase: _baseCarousel.default, |
| 1024 |
NestedTabs: _nestedTabs.default, |
| 1025 |
NestedAccordion: _nestedAccordion.default, |
| 1026 |
NestedTitleKeyboardHandler: _nestedTitleKeyboardHandler.default |
| 1027 |
} |
| 1028 |
}; |
| 1029 |
|
| 1030 |
/***/ }), |
| 1031 |
|
| 1032 |
/***/ "../assets/dev/js/frontend/tools/stretch-element.js": |
| 1033 |
/*!**********************************************************!*\ |
| 1034 |
!*** ../assets/dev/js/frontend/tools/stretch-element.js ***! |
| 1035 |
\**********************************************************/ |
| 1036 |
/***/ ((module) => { |
| 1037 |
|
| 1038 |
"use strict"; |
| 1039 |
|
| 1040 |
|
| 1041 |
module.exports = elementorModules.ViewModule.extend({ |
| 1042 |
getDefaultSettings() { |
| 1043 |
return { |
| 1044 |
element: null, |
| 1045 |
direction: elementorFrontend.config.is_rtl ? 'right' : 'left', |
| 1046 |
selectors: { |
| 1047 |
container: window |
| 1048 |
}, |
| 1049 |
considerScrollbar: false, |
| 1050 |
cssOutput: 'inline' |
| 1051 |
}; |
| 1052 |
}, |
| 1053 |
getDefaultElements() { |
| 1054 |
return { |
| 1055 |
$element: jQuery(this.getSettings('element')) |
| 1056 |
}; |
| 1057 |
}, |
| 1058 |
stretch() { |
| 1059 |
const settings = this.getSettings(); |
| 1060 |
let $container; |
| 1061 |
try { |
| 1062 |
$container = jQuery(settings.selectors.container); |
| 1063 |
// eslint-disable-next-line no-empty |
| 1064 |
} catch (e) {} |
| 1065 |
if (!$container || !$container.length) { |
| 1066 |
$container = jQuery(this.getDefaultSettings().selectors.container); |
| 1067 |
} |
| 1068 |
this.reset(); |
| 1069 |
var $element = this.elements.$element, |
| 1070 |
containerWidth = $container.innerWidth(), |
| 1071 |
elementOffset = $element.offset().left, |
| 1072 |
isFixed = 'fixed' === $element.css('position'), |
| 1073 |
correctOffset = isFixed ? 0 : elementOffset, |
| 1074 |
isContainerFullScreen = window === $container[0]; |
| 1075 |
if (!isContainerFullScreen) { |
| 1076 |
var containerOffset = $container.offset().left; |
| 1077 |
if (isFixed) { |
| 1078 |
correctOffset = containerOffset; |
| 1079 |
} |
| 1080 |
if (elementOffset > containerOffset) { |
| 1081 |
correctOffset = elementOffset - containerOffset; |
| 1082 |
} |
| 1083 |
} |
| 1084 |
if (settings.considerScrollbar && isContainerFullScreen) { |
| 1085 |
const scrollbarWidth = window.innerWidth - containerWidth; |
| 1086 |
correctOffset -= scrollbarWidth; |
| 1087 |
} |
| 1088 |
if (!isFixed) { |
| 1089 |
if (elementorFrontend.config.is_rtl) { |
| 1090 |
correctOffset = containerWidth - ($element.outerWidth() + correctOffset); |
| 1091 |
} |
| 1092 |
correctOffset = -correctOffset; |
| 1093 |
} |
| 1094 |
|
| 1095 |
// Consider margin |
| 1096 |
if (settings.margin) { |
| 1097 |
correctOffset += settings.margin; |
| 1098 |
} |
| 1099 |
var css = {}; |
| 1100 |
let width = containerWidth; |
| 1101 |
if (settings.margin) { |
| 1102 |
width -= settings.margin * 2; |
| 1103 |
} |
| 1104 |
css.width = width + 'px'; |
| 1105 |
css[settings.direction] = correctOffset + 'px'; |
| 1106 |
if ('variables' === settings.cssOutput) { |
| 1107 |
this.applyCssVariables($element, css); |
| 1108 |
return; |
| 1109 |
} |
| 1110 |
$element.css(css); |
| 1111 |
}, |
| 1112 |
reset() { |
| 1113 |
const css = {}, |
| 1114 |
settings = this.getSettings(), |
| 1115 |
$element = this.elements.$element; |
| 1116 |
if ('variables' === settings.cssOutput) { |
| 1117 |
this.resetCssVariables($element); |
| 1118 |
return; |
| 1119 |
} |
| 1120 |
css.width = ''; |
| 1121 |
css[settings.direction] = ''; |
| 1122 |
$element.css(css); |
| 1123 |
}, |
| 1124 |
applyCssVariables($element, css) { |
| 1125 |
$element.css('--stretch-width', css.width); |
| 1126 |
if (!!css.left) { |
| 1127 |
$element.css('--stretch-left', css.left); |
| 1128 |
} else { |
| 1129 |
$element.css('--stretch-right', css.right); |
| 1130 |
} |
| 1131 |
}, |
| 1132 |
resetCssVariables($element) { |
| 1133 |
$element.css({ |
| 1134 |
'--stretch-width': '', |
| 1135 |
'--stretch-left': '', |
| 1136 |
'--stretch-right': '' |
| 1137 |
}); |
| 1138 |
} |
| 1139 |
}); |
| 1140 |
|
| 1141 |
/***/ }), |
| 1142 |
|
| 1143 |
/***/ "../assets/dev/js/frontend/utils/flex-horizontal-scroll.js": |
| 1144 |
/*!*****************************************************************!*\ |
| 1145 |
!*** ../assets/dev/js/frontend/utils/flex-horizontal-scroll.js ***! |
| 1146 |
\*****************************************************************/ |
| 1147 |
/***/ ((__unused_webpack_module, exports) => { |
| 1148 |
|
| 1149 |
"use strict"; |
| 1150 |
|
| 1151 |
|
| 1152 |
Object.defineProperty(exports, "__esModule", ({ |
| 1153 |
value: true |
| 1154 |
})); |
| 1155 |
exports.changeScrollStatus = changeScrollStatus; |
| 1156 |
exports.setHorizontalScrollAlignment = setHorizontalScrollAlignment; |
| 1157 |
exports.setHorizontalTitleScrollValues = setHorizontalTitleScrollValues; |
| 1158 |
function changeScrollStatus(element, event) { |
| 1159 |
if ('mousedown' === event.type) { |
| 1160 |
element.classList.add('e-scroll'); |
| 1161 |
element.dataset.pageX = event.pageX; |
| 1162 |
} else { |
| 1163 |
element.classList.remove('e-scroll', 'e-scroll-active'); |
| 1164 |
element.dataset.pageX = ''; |
| 1165 |
} |
| 1166 |
} |
| 1167 |
|
| 1168 |
// This function was written using this example https://codepen.io/thenutz/pen/VwYeYEE. |
| 1169 |
function setHorizontalTitleScrollValues(element, horizontalScrollStatus, event) { |
| 1170 |
const isActiveScroll = element.classList.contains('e-scroll'), |
| 1171 |
isHorizontalScrollActive = 'enable' === horizontalScrollStatus, |
| 1172 |
headingContentIsWiderThanWrapper = element.scrollWidth > element.clientWidth; |
| 1173 |
if (!isActiveScroll || !isHorizontalScrollActive || !headingContentIsWiderThanWrapper) { |
| 1174 |
return; |
| 1175 |
} |
| 1176 |
event.preventDefault(); |
| 1177 |
const previousPositionX = parseFloat(element.dataset.pageX), |
| 1178 |
mouseMoveX = event.pageX - previousPositionX, |
| 1179 |
maximumScrollValue = 5, |
| 1180 |
stepLimit = 20; |
| 1181 |
let toScrollDistanceX = 0; |
| 1182 |
if (stepLimit < mouseMoveX) { |
| 1183 |
toScrollDistanceX = maximumScrollValue; |
| 1184 |
} else if (stepLimit * -1 > mouseMoveX) { |
| 1185 |
toScrollDistanceX = -1 * maximumScrollValue; |
| 1186 |
} else { |
| 1187 |
toScrollDistanceX = mouseMoveX; |
| 1188 |
} |
| 1189 |
element.scrollLeft = element.scrollLeft - toScrollDistanceX; |
| 1190 |
element.classList.add('e-scroll-active'); |
| 1191 |
} |
| 1192 |
function setHorizontalScrollAlignment(_ref) { |
| 1193 |
let { |
| 1194 |
element, |
| 1195 |
direction, |
| 1196 |
justifyCSSVariable, |
| 1197 |
horizontalScrollStatus |
| 1198 |
} = _ref; |
| 1199 |
if (!element) { |
| 1200 |
return; |
| 1201 |
} |
| 1202 |
if (isHorizontalScroll(element, horizontalScrollStatus)) { |
| 1203 |
initialScrollPosition(element, direction, justifyCSSVariable); |
| 1204 |
} else { |
| 1205 |
element.style.setProperty(justifyCSSVariable, ''); |
| 1206 |
} |
| 1207 |
} |
| 1208 |
function isHorizontalScroll(element, horizontalScrollStatus) { |
| 1209 |
return element.clientWidth < getChildrenWidth(element.children) && 'enable' === horizontalScrollStatus; |
| 1210 |
} |
| 1211 |
function getChildrenWidth(children) { |
| 1212 |
let totalWidth = 0; |
| 1213 |
const parentContainer = children[0].parentNode, |
| 1214 |
computedStyles = getComputedStyle(parentContainer), |
| 1215 |
gap = parseFloat(computedStyles.gap) || 0; // Get the gap value or default to 0 if it's not specified |
| 1216 |
|
| 1217 |
for (let i = 0; i < children.length; i++) { |
| 1218 |
totalWidth += children[i].offsetWidth + gap; |
| 1219 |
} |
| 1220 |
return totalWidth; |
| 1221 |
} |
| 1222 |
function initialScrollPosition(element, direction, justifyCSSVariable) { |
| 1223 |
const isRTL = elementorCommon.config.isRTL; |
| 1224 |
switch (direction) { |
| 1225 |
case 'end': |
| 1226 |
element.style.setProperty(justifyCSSVariable, 'start'); |
| 1227 |
element.scrollLeft = isRTL ? -1 * getChildrenWidth(element.children) : getChildrenWidth(element.children); |
| 1228 |
break; |
| 1229 |
default: |
| 1230 |
element.style.setProperty(justifyCSSVariable, 'start'); |
| 1231 |
element.scrollLeft = 0; |
| 1232 |
} |
| 1233 |
} |
| 1234 |
|
| 1235 |
/***/ }), |
| 1236 |
|
| 1237 |
/***/ "../assets/dev/js/modules/imports/args-object.js": |
| 1238 |
/*!*******************************************************!*\ |
| 1239 |
!*** ../assets/dev/js/modules/imports/args-object.js ***! |
| 1240 |
\*******************************************************/ |
| 1241 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 1242 |
|
| 1243 |
"use strict"; |
| 1244 |
|
| 1245 |
|
| 1246 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 1247 |
Object.defineProperty(exports, "__esModule", ({ |
| 1248 |
value: true |
| 1249 |
})); |
| 1250 |
exports["default"] = void 0; |
| 1251 |
__webpack_require__(/*! core-js/modules/es.error.cause.js */ "../node_modules/core-js/modules/es.error.cause.js"); |
| 1252 |
var _instanceType = _interopRequireDefault(__webpack_require__(/*! ./instance-type */ "../assets/dev/js/modules/imports/instance-type.js")); |
| 1253 |
var _isInstanceof = _interopRequireDefault(__webpack_require__(/*! ../../editor/utils/is-instanceof */ "../assets/dev/js/editor/utils/is-instanceof.js")); |
| 1254 |
class ArgsObject extends _instanceType.default { |
| 1255 |
static getInstanceType() { |
| 1256 |
return 'ArgsObject'; |
| 1257 |
} |
| 1258 |
|
| 1259 |
/** |
| 1260 |
* Function constructor(). |
| 1261 |
* |
| 1262 |
* Create ArgsObject. |
| 1263 |
* |
| 1264 |
* @param {{}} args |
| 1265 |
*/ |
| 1266 |
constructor(args) { |
| 1267 |
super(); |
| 1268 |
this.args = args; |
| 1269 |
} |
| 1270 |
|
| 1271 |
/** |
| 1272 |
* Function requireArgument(). |
| 1273 |
* |
| 1274 |
* Validate property in args. |
| 1275 |
* |
| 1276 |
* @param {string} property |
| 1277 |
* @param {{}} args |
| 1278 |
* |
| 1279 |
* @throws {Error} |
| 1280 |
* |
| 1281 |
*/ |
| 1282 |
requireArgument(property) { |
| 1283 |
let args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.args; |
| 1284 |
if (!Object.prototype.hasOwnProperty.call(args, property)) { |
| 1285 |
throw Error(`${property} is required.`); |
| 1286 |
} |
| 1287 |
} |
| 1288 |
|
| 1289 |
/** |
| 1290 |
* Function requireArgumentType(). |
| 1291 |
* |
| 1292 |
* Validate property in args using `type === typeof(args.whatever)`. |
| 1293 |
* |
| 1294 |
* @param {string} property |
| 1295 |
* @param {string} type |
| 1296 |
* @param {{}} args |
| 1297 |
* |
| 1298 |
* @throws {Error} |
| 1299 |
* |
| 1300 |
*/ |
| 1301 |
requireArgumentType(property, type) { |
| 1302 |
let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; |
| 1303 |
this.requireArgument(property, args); |
| 1304 |
if (typeof args[property] !== type) { |
| 1305 |
throw Error(`${property} invalid type: ${type}.`); |
| 1306 |
} |
| 1307 |
} |
| 1308 |
|
| 1309 |
/** |
| 1310 |
* Function requireArgumentInstance(). |
| 1311 |
* |
| 1312 |
* Validate property in args using `args.whatever instanceof instance`. |
| 1313 |
* |
| 1314 |
* @param {string} property |
| 1315 |
* @param {*} instance |
| 1316 |
* @param {{}} args |
| 1317 |
* |
| 1318 |
* @throws {Error} |
| 1319 |
* |
| 1320 |
*/ |
| 1321 |
requireArgumentInstance(property, instance) { |
| 1322 |
let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; |
| 1323 |
this.requireArgument(property, args); |
| 1324 |
if (!(args[property] instanceof instance) && !(0, _isInstanceof.default)(args[property], instance)) { |
| 1325 |
throw Error(`${property} invalid instance.`); |
| 1326 |
} |
| 1327 |
} |
| 1328 |
|
| 1329 |
/** |
| 1330 |
* Function requireArgumentConstructor(). |
| 1331 |
* |
| 1332 |
* Validate property in args using `type === args.whatever.constructor`. |
| 1333 |
* |
| 1334 |
* @param {string} property |
| 1335 |
* @param {*} type |
| 1336 |
* @param {{}} args |
| 1337 |
* |
| 1338 |
* @throws {Error} |
| 1339 |
* |
| 1340 |
*/ |
| 1341 |
requireArgumentConstructor(property, type) { |
| 1342 |
let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; |
| 1343 |
this.requireArgument(property, args); |
| 1344 |
|
| 1345 |
// Note: Converting the constructor to string in order to avoid equation issues |
| 1346 |
// due to different memory addresses between iframes (window.Object !== window.top.Object). |
| 1347 |
if (args[property].constructor.toString() !== type.prototype.constructor.toString()) { |
| 1348 |
throw Error(`${property} invalid constructor type.`); |
| 1349 |
} |
| 1350 |
} |
| 1351 |
} |
| 1352 |
exports["default"] = ArgsObject; |
| 1353 |
|
| 1354 |
/***/ }), |
| 1355 |
|
| 1356 |
/***/ "../assets/dev/js/modules/imports/force-method-implementation.js": |
| 1357 |
/*!***********************************************************************!*\ |
| 1358 |
!*** ../assets/dev/js/modules/imports/force-method-implementation.js ***! |
| 1359 |
\***********************************************************************/ |
| 1360 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 1361 |
|
| 1362 |
"use strict"; |
| 1363 |
|
| 1364 |
|
| 1365 |
Object.defineProperty(exports, "__esModule", ({ |
| 1366 |
value: true |
| 1367 |
})); |
| 1368 |
exports["default"] = exports.ForceMethodImplementation = void 0; |
| 1369 |
__webpack_require__(/*! core-js/modules/es.error.cause.js */ "../node_modules/core-js/modules/es.error.cause.js"); |
| 1370 |
// TODO: Wrong location used as `elementorModules.ForceMethodImplementation(); should be` `elementorUtils.forceMethodImplementation()`; |
| 1371 |
|
| 1372 |
class ForceMethodImplementation extends Error { |
| 1373 |
constructor() { |
| 1374 |
let info = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 1375 |
let args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; |
| 1376 |
super(`${info.isStatic ? 'static ' : ''}${info.fullName}() should be implemented, please provide '${info.functionName || info.fullName}' functionality.`, args); |
| 1377 |
|
| 1378 |
// Allow to pass custom properties to the error. |
| 1379 |
if (Object.keys(args).length) { |
| 1380 |
// eslint-disable-next-line no-console |
| 1381 |
console.error(args); |
| 1382 |
} |
| 1383 |
Error.captureStackTrace(this, ForceMethodImplementation); |
| 1384 |
} |
| 1385 |
} |
| 1386 |
exports.ForceMethodImplementation = ForceMethodImplementation; |
| 1387 |
var _default = args => { |
| 1388 |
const stack = Error().stack, |
| 1389 |
caller = stack.split('\n')[2].trim(), |
| 1390 |
callerName = caller.startsWith('at new') ? 'constructor' : caller.split(' ')[1], |
| 1391 |
info = {}; |
| 1392 |
info.functionName = callerName; |
| 1393 |
info.fullName = callerName; |
| 1394 |
if (info.functionName.includes('.')) { |
| 1395 |
const parts = info.functionName.split('.'); |
| 1396 |
info.className = parts[0]; |
| 1397 |
info.functionName = parts[1]; |
| 1398 |
} else { |
| 1399 |
info.isStatic = true; |
| 1400 |
} |
| 1401 |
throw new ForceMethodImplementation(info, args); |
| 1402 |
}; |
| 1403 |
exports["default"] = _default; |
| 1404 |
|
| 1405 |
/***/ }), |
| 1406 |
|
| 1407 |
/***/ "../assets/dev/js/modules/imports/instance-type.js": |
| 1408 |
/*!*********************************************************!*\ |
| 1409 |
!*** ../assets/dev/js/modules/imports/instance-type.js ***! |
| 1410 |
\*********************************************************/ |
| 1411 |
/***/ ((__unused_webpack_module, exports) => { |
| 1412 |
|
| 1413 |
"use strict"; |
| 1414 |
|
| 1415 |
|
| 1416 |
Object.defineProperty(exports, "__esModule", ({ |
| 1417 |
value: true |
| 1418 |
})); |
| 1419 |
exports["default"] = void 0; |
| 1420 |
class InstanceType { |
| 1421 |
static [Symbol.hasInstance](target) { |
| 1422 |
/** |
| 1423 |
* This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class |
| 1424 |
* its give's opportunity to mange capabilities of instanceOf operator. |
| 1425 |
* saving current class each time will give option later to handle instanceOf manually. |
| 1426 |
*/ |
| 1427 |
let result = super[Symbol.hasInstance](target); |
| 1428 |
|
| 1429 |
// Act normal when validate a class, which does not have instance type. |
| 1430 |
if (target && !target.constructor.getInstanceType) { |
| 1431 |
return result; |
| 1432 |
} |
| 1433 |
if (target) { |
| 1434 |
if (!target.instanceTypes) { |
| 1435 |
target.instanceTypes = []; |
| 1436 |
} |
| 1437 |
if (!result) { |
| 1438 |
if (this.getInstanceType() === target.constructor.getInstanceType()) { |
| 1439 |
result = true; |
| 1440 |
} |
| 1441 |
} |
| 1442 |
if (result) { |
| 1443 |
const name = this.getInstanceType === InstanceType.getInstanceType ? 'BaseInstanceType' : this.getInstanceType(); |
| 1444 |
if (-1 === target.instanceTypes.indexOf(name)) { |
| 1445 |
target.instanceTypes.push(name); |
| 1446 |
} |
| 1447 |
} |
| 1448 |
} |
| 1449 |
if (!result && target) { |
| 1450 |
// Check if the given 'target', is instance of known types. |
| 1451 |
result = target.instanceTypes && Array.isArray(target.instanceTypes) && -1 !== target.instanceTypes.indexOf(this.getInstanceType()); |
| 1452 |
} |
| 1453 |
return result; |
| 1454 |
} |
| 1455 |
static getInstanceType() { |
| 1456 |
elementorModules.ForceMethodImplementation(); |
| 1457 |
} |
| 1458 |
constructor() { |
| 1459 |
// Since anonymous classes sometimes do not get validated by babel, do it manually. |
| 1460 |
let target = new.target; |
| 1461 |
const prototypes = []; |
| 1462 |
while (target.__proto__ && target.__proto__.name) { |
| 1463 |
prototypes.push(target.__proto__); |
| 1464 |
target = target.__proto__; |
| 1465 |
} |
| 1466 |
prototypes.reverse().forEach(proto => this instanceof proto); |
| 1467 |
} |
| 1468 |
} |
| 1469 |
exports["default"] = InstanceType; |
| 1470 |
|
| 1471 |
/***/ }), |
| 1472 |
|
| 1473 |
/***/ "../assets/dev/js/modules/imports/module.js": |
| 1474 |
/*!**************************************************!*\ |
| 1475 |
!*** ../assets/dev/js/modules/imports/module.js ***! |
| 1476 |
\**************************************************/ |
| 1477 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 1478 |
|
| 1479 |
"use strict"; |
| 1480 |
|
| 1481 |
|
| 1482 |
__webpack_require__(/*! core-js/modules/es.error.cause.js */ "../node_modules/core-js/modules/es.error.cause.js"); |
| 1483 |
const Module = function () { |
| 1484 |
const $ = jQuery, |
| 1485 |
instanceParams = arguments, |
| 1486 |
self = this, |
| 1487 |
events = {}; |
| 1488 |
let settings; |
| 1489 |
const ensureClosureMethods = function () { |
| 1490 |
$.each(self, function (methodName) { |
| 1491 |
const oldMethod = self[methodName]; |
| 1492 |
if ('function' !== typeof oldMethod) { |
| 1493 |
return; |
| 1494 |
} |
| 1495 |
self[methodName] = function () { |
| 1496 |
return oldMethod.apply(self, arguments); |
| 1497 |
}; |
| 1498 |
}); |
| 1499 |
}; |
| 1500 |
const initSettings = function () { |
| 1501 |
settings = self.getDefaultSettings(); |
| 1502 |
const instanceSettings = instanceParams[0]; |
| 1503 |
if (instanceSettings) { |
| 1504 |
$.extend(true, settings, instanceSettings); |
| 1505 |
} |
| 1506 |
}; |
| 1507 |
const init = function () { |
| 1508 |
self.__construct.apply(self, instanceParams); |
| 1509 |
ensureClosureMethods(); |
| 1510 |
initSettings(); |
| 1511 |
self.trigger('init'); |
| 1512 |
}; |
| 1513 |
this.getItems = function (items, itemKey) { |
| 1514 |
if (itemKey) { |
| 1515 |
const keyStack = itemKey.split('.'), |
| 1516 |
currentKey = keyStack.splice(0, 1); |
| 1517 |
if (!keyStack.length) { |
| 1518 |
return items[currentKey]; |
| 1519 |
} |
| 1520 |
if (!items[currentKey]) { |
| 1521 |
return; |
| 1522 |
} |
| 1523 |
return this.getItems(items[currentKey], keyStack.join('.')); |
| 1524 |
} |
| 1525 |
return items; |
| 1526 |
}; |
| 1527 |
this.getSettings = function (setting) { |
| 1528 |
return this.getItems(settings, setting); |
| 1529 |
}; |
| 1530 |
this.setSettings = function (settingKey, value, settingsContainer) { |
| 1531 |
if (!settingsContainer) { |
| 1532 |
settingsContainer = settings; |
| 1533 |
} |
| 1534 |
if ('object' === typeof settingKey) { |
| 1535 |
$.extend(settingsContainer, settingKey); |
| 1536 |
return self; |
| 1537 |
} |
| 1538 |
const keyStack = settingKey.split('.'), |
| 1539 |
currentKey = keyStack.splice(0, 1); |
| 1540 |
if (!keyStack.length) { |
| 1541 |
settingsContainer[currentKey] = value; |
| 1542 |
return self; |
| 1543 |
} |
| 1544 |
if (!settingsContainer[currentKey]) { |
| 1545 |
settingsContainer[currentKey] = {}; |
| 1546 |
} |
| 1547 |
return self.setSettings(keyStack.join('.'), value, settingsContainer[currentKey]); |
| 1548 |
}; |
| 1549 |
this.getErrorMessage = function (type, functionName) { |
| 1550 |
let message; |
| 1551 |
switch (type) { |
| 1552 |
case 'forceMethodImplementation': |
| 1553 |
message = `The method '${functionName}' must to be implemented in the inheritor child.`; |
| 1554 |
break; |
| 1555 |
default: |
| 1556 |
message = 'An error occurs'; |
| 1557 |
} |
| 1558 |
return message; |
| 1559 |
}; |
| 1560 |
|
| 1561 |
// TODO: This function should be deleted ?. |
| 1562 |
this.forceMethodImplementation = function (functionName) { |
| 1563 |
throw new Error(this.getErrorMessage('forceMethodImplementation', functionName)); |
| 1564 |
}; |
| 1565 |
this.on = function (eventName, callback) { |
| 1566 |
if ('object' === typeof eventName) { |
| 1567 |
$.each(eventName, function (singleEventName) { |
| 1568 |
self.on(singleEventName, this); |
| 1569 |
}); |
| 1570 |
return self; |
| 1571 |
} |
| 1572 |
const eventNames = eventName.split(' '); |
| 1573 |
eventNames.forEach(function (singleEventName) { |
| 1574 |
if (!events[singleEventName]) { |
| 1575 |
events[singleEventName] = []; |
| 1576 |
} |
| 1577 |
events[singleEventName].push(callback); |
| 1578 |
}); |
| 1579 |
return self; |
| 1580 |
}; |
| 1581 |
this.off = function (eventName, callback) { |
| 1582 |
if (!events[eventName]) { |
| 1583 |
return self; |
| 1584 |
} |
| 1585 |
if (!callback) { |
| 1586 |
delete events[eventName]; |
| 1587 |
return self; |
| 1588 |
} |
| 1589 |
const callbackIndex = events[eventName].indexOf(callback); |
| 1590 |
if (-1 !== callbackIndex) { |
| 1591 |
delete events[eventName][callbackIndex]; |
| 1592 |
|
| 1593 |
// Reset array index (for next off on same event). |
| 1594 |
events[eventName] = events[eventName].filter(val => val); |
| 1595 |
} |
| 1596 |
return self; |
| 1597 |
}; |
| 1598 |
this.trigger = function (eventName) { |
| 1599 |
const methodName = 'on' + eventName[0].toUpperCase() + eventName.slice(1), |
| 1600 |
params = Array.prototype.slice.call(arguments, 1); |
| 1601 |
if (self[methodName]) { |
| 1602 |
self[methodName].apply(self, params); |
| 1603 |
} |
| 1604 |
const callbacks = events[eventName]; |
| 1605 |
if (!callbacks) { |
| 1606 |
return self; |
| 1607 |
} |
| 1608 |
$.each(callbacks, function (index, callback) { |
| 1609 |
callback.apply(self, params); |
| 1610 |
}); |
| 1611 |
return self; |
| 1612 |
}; |
| 1613 |
init(); |
| 1614 |
}; |
| 1615 |
Module.prototype.__construct = function () {}; |
| 1616 |
Module.prototype.getDefaultSettings = function () { |
| 1617 |
return {}; |
| 1618 |
}; |
| 1619 |
Module.prototype.getConstructorID = function () { |
| 1620 |
return this.constructor.name; |
| 1621 |
}; |
| 1622 |
Module.extend = function (properties) { |
| 1623 |
const $ = jQuery, |
| 1624 |
parent = this; |
| 1625 |
const child = function () { |
| 1626 |
return parent.apply(this, arguments); |
| 1627 |
}; |
| 1628 |
$.extend(child, parent); |
| 1629 |
child.prototype = Object.create($.extend({}, parent.prototype, properties)); |
| 1630 |
child.prototype.constructor = child; |
| 1631 |
child.__super__ = parent.prototype; |
| 1632 |
return child; |
| 1633 |
}; |
| 1634 |
module.exports = Module; |
| 1635 |
|
| 1636 |
/***/ }), |
| 1637 |
|
| 1638 |
/***/ "../assets/dev/js/modules/imports/utils/masonry.js": |
| 1639 |
/*!*********************************************************!*\ |
| 1640 |
!*** ../assets/dev/js/modules/imports/utils/masonry.js ***! |
| 1641 |
\*********************************************************/ |
| 1642 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 1643 |
|
| 1644 |
"use strict"; |
| 1645 |
|
| 1646 |
|
| 1647 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 1648 |
Object.defineProperty(exports, "__esModule", ({ |
| 1649 |
value: true |
| 1650 |
})); |
| 1651 |
exports["default"] = void 0; |
| 1652 |
var _viewModule = _interopRequireDefault(__webpack_require__(/*! ../view-module */ "../assets/dev/js/modules/imports/view-module.js")); |
| 1653 |
var _default = _viewModule.default.extend({ |
| 1654 |
getDefaultSettings() { |
| 1655 |
return { |
| 1656 |
container: null, |
| 1657 |
items: null, |
| 1658 |
columnsCount: 3, |
| 1659 |
verticalSpaceBetween: 30 |
| 1660 |
}; |
| 1661 |
}, |
| 1662 |
getDefaultElements() { |
| 1663 |
return { |
| 1664 |
$container: jQuery(this.getSettings('container')), |
| 1665 |
$items: jQuery(this.getSettings('items')) |
| 1666 |
}; |
| 1667 |
}, |
| 1668 |
run() { |
| 1669 |
var heights = [], |
| 1670 |
distanceFromTop = this.elements.$container.position().top, |
| 1671 |
settings = this.getSettings(), |
| 1672 |
columnsCount = settings.columnsCount; |
| 1673 |
distanceFromTop += parseInt(this.elements.$container.css('margin-top'), 10); |
| 1674 |
this.elements.$items.each(function (index) { |
| 1675 |
var row = Math.floor(index / columnsCount), |
| 1676 |
$item = jQuery(this), |
| 1677 |
itemHeight = $item[0].getBoundingClientRect().height + settings.verticalSpaceBetween; |
| 1678 |
if (row) { |
| 1679 |
var itemPosition = $item.position(), |
| 1680 |
indexAtRow = index % columnsCount, |
| 1681 |
pullHeight = itemPosition.top - distanceFromTop - heights[indexAtRow]; |
| 1682 |
pullHeight -= parseInt($item.css('margin-top'), 10); |
| 1683 |
pullHeight *= -1; |
| 1684 |
$item.css('margin-top', pullHeight + 'px'); |
| 1685 |
heights[indexAtRow] += itemHeight; |
| 1686 |
} else { |
| 1687 |
heights.push(itemHeight); |
| 1688 |
} |
| 1689 |
}); |
| 1690 |
} |
| 1691 |
}); |
| 1692 |
exports["default"] = _default; |
| 1693 |
|
| 1694 |
/***/ }), |
| 1695 |
|
| 1696 |
/***/ "../assets/dev/js/modules/imports/utils/scroll.js": |
| 1697 |
/*!********************************************************!*\ |
| 1698 |
!*** ../assets/dev/js/modules/imports/utils/scroll.js ***! |
| 1699 |
\********************************************************/ |
| 1700 |
/***/ ((__unused_webpack_module, exports) => { |
| 1701 |
|
| 1702 |
"use strict"; |
| 1703 |
|
| 1704 |
|
| 1705 |
Object.defineProperty(exports, "__esModule", ({ |
| 1706 |
value: true |
| 1707 |
})); |
| 1708 |
exports["default"] = void 0; |
| 1709 |
// Moved from elementor pro: 'assets/dev/js/frontend/utils' |
| 1710 |
class Scroll { |
| 1711 |
/** |
| 1712 |
* @param {Object} obj |
| 1713 |
* @param {number} obj.sensitivity - Value between 0-100 - Will determine the intersection trigger points on the element |
| 1714 |
* @param {Function} obj.callback - Will be triggered on each intersection point between the element and the viewport top/bottom |
| 1715 |
* @param {string} obj.offset - Offset between the element intersection points and the viewport, written like in CSS: '-50% 0 -25%' |
| 1716 |
* @param {HTMLElement} obj.root - The element that the events will be relative to, if 'null' will be relative to the viewport |
| 1717 |
*/ |
| 1718 |
static scrollObserver(obj) { |
| 1719 |
let lastScrollY = 0; |
| 1720 |
|
| 1721 |
// Generating threshholds points along the animation height |
| 1722 |
// More threshholds points = more trigger points of the callback |
| 1723 |
const buildThreshholds = function () { |
| 1724 |
let sensitivityPercentage = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; |
| 1725 |
const threshholds = []; |
| 1726 |
if (sensitivityPercentage > 0 && sensitivityPercentage <= 100) { |
| 1727 |
const increment = 100 / sensitivityPercentage; |
| 1728 |
for (let i = 0; i <= 100; i += increment) { |
| 1729 |
threshholds.push(i / 100); |
| 1730 |
} |
| 1731 |
} else { |
| 1732 |
threshholds.push(0); |
| 1733 |
} |
| 1734 |
return threshholds; |
| 1735 |
}; |
| 1736 |
const options = { |
| 1737 |
root: obj.root || null, |
| 1738 |
rootMargin: obj.offset || '0px', |
| 1739 |
threshold: buildThreshholds(obj.sensitivity) |
| 1740 |
}; |
| 1741 |
function handleIntersect(entries) { |
| 1742 |
const currentScrollY = entries[0].boundingClientRect.y, |
| 1743 |
isInViewport = entries[0].isIntersecting, |
| 1744 |
intersectionScrollDirection = currentScrollY < lastScrollY ? 'down' : 'up', |
| 1745 |
scrollPercentage = Math.abs(parseFloat((entries[0].intersectionRatio * 100).toFixed(2))); |
| 1746 |
obj.callback({ |
| 1747 |
sensitivity: obj.sensitivity, |
| 1748 |
isInViewport, |
| 1749 |
scrollPercentage, |
| 1750 |
intersectionScrollDirection |
| 1751 |
}); |
| 1752 |
lastScrollY = currentScrollY; |
| 1753 |
} |
| 1754 |
return new IntersectionObserver(handleIntersect, options); |
| 1755 |
} |
| 1756 |
|
| 1757 |
/** |
| 1758 |
* @param {jQuery.Element} $element |
| 1759 |
* @param {Object} offsetObj |
| 1760 |
* @param {number} offsetObj.start - Offset start value in percentages |
| 1761 |
* @param {number} offsetObj.end - Offset end value in percentages |
| 1762 |
*/ |
| 1763 |
static getElementViewportPercentage($element) { |
| 1764 |
let offsetObj = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; |
| 1765 |
const elementOffset = $element[0].getBoundingClientRect(), |
| 1766 |
offsetStart = offsetObj.start || 0, |
| 1767 |
offsetEnd = offsetObj.end || 0, |
| 1768 |
windowStartOffset = window.innerHeight * offsetStart / 100, |
| 1769 |
windowEndOffset = window.innerHeight * offsetEnd / 100, |
| 1770 |
y1 = elementOffset.top - window.innerHeight, |
| 1771 |
y2 = elementOffset.top + windowStartOffset + $element.height(), |
| 1772 |
startPosition = 0 - y1 + windowStartOffset, |
| 1773 |
endPosition = y2 - y1 + windowEndOffset, |
| 1774 |
percent = Math.max(0, Math.min(startPosition / endPosition, 1)); |
| 1775 |
return parseFloat((percent * 100).toFixed(2)); |
| 1776 |
} |
| 1777 |
|
| 1778 |
/** |
| 1779 |
* @param {Object} offsetObj |
| 1780 |
* @param {number} offsetObj.start - Offset start value in percentages |
| 1781 |
* @param {number} offsetObj.end - Offset end value in percentages |
| 1782 |
* @param {number} limitPageHeight - Will limit the page height calculation |
| 1783 |
*/ |
| 1784 |
static getPageScrollPercentage() { |
| 1785 |
let offsetObj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 1786 |
let limitPageHeight = arguments.length > 1 ? arguments[1] : undefined; |
| 1787 |
const offsetStart = offsetObj.start || 0, |
| 1788 |
offsetEnd = offsetObj.end || 0, |
| 1789 |
initialPageHeight = limitPageHeight || document.documentElement.scrollHeight - document.documentElement.clientHeight, |
| 1790 |
heightOffset = initialPageHeight * offsetStart / 100, |
| 1791 |
pageRange = initialPageHeight + heightOffset + initialPageHeight * offsetEnd / 100, |
| 1792 |
scrollPos = document.documentElement.scrollTop + document.body.scrollTop + heightOffset; |
| 1793 |
return scrollPos / pageRange * 100; |
| 1794 |
} |
| 1795 |
} |
| 1796 |
exports["default"] = Scroll; |
| 1797 |
|
| 1798 |
/***/ }), |
| 1799 |
|
| 1800 |
/***/ "../assets/dev/js/modules/imports/view-module.js": |
| 1801 |
/*!*******************************************************!*\ |
| 1802 |
!*** ../assets/dev/js/modules/imports/view-module.js ***! |
| 1803 |
\*******************************************************/ |
| 1804 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 1805 |
|
| 1806 |
"use strict"; |
| 1807 |
|
| 1808 |
|
| 1809 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 1810 |
Object.defineProperty(exports, "__esModule", ({ |
| 1811 |
value: true |
| 1812 |
})); |
| 1813 |
exports["default"] = void 0; |
| 1814 |
var _module = _interopRequireDefault(__webpack_require__(/*! ./module */ "../assets/dev/js/modules/imports/module.js")); |
| 1815 |
var _default = _module.default.extend({ |
| 1816 |
elements: null, |
| 1817 |
getDefaultElements() { |
| 1818 |
return {}; |
| 1819 |
}, |
| 1820 |
bindEvents() {}, |
| 1821 |
onInit() { |
| 1822 |
this.initElements(); |
| 1823 |
this.bindEvents(); |
| 1824 |
}, |
| 1825 |
initElements() { |
| 1826 |
this.elements = this.getDefaultElements(); |
| 1827 |
} |
| 1828 |
}); |
| 1829 |
exports["default"] = _default; |
| 1830 |
|
| 1831 |
/***/ }), |
| 1832 |
|
| 1833 |
/***/ "../assets/dev/js/modules/modules.js": |
| 1834 |
/*!*******************************************!*\ |
| 1835 |
!*** ../assets/dev/js/modules/modules.js ***! |
| 1836 |
\*******************************************/ |
| 1837 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 1838 |
|
| 1839 |
"use strict"; |
| 1840 |
|
| 1841 |
|
| 1842 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 1843 |
Object.defineProperty(exports, "__esModule", ({ |
| 1844 |
value: true |
| 1845 |
})); |
| 1846 |
exports["default"] = void 0; |
| 1847 |
var _module = _interopRequireDefault(__webpack_require__(/*! ./imports/module */ "../assets/dev/js/modules/imports/module.js")); |
| 1848 |
var _viewModule = _interopRequireDefault(__webpack_require__(/*! ./imports/view-module */ "../assets/dev/js/modules/imports/view-module.js")); |
| 1849 |
var _argsObject = _interopRequireDefault(__webpack_require__(/*! ./imports/args-object */ "../assets/dev/js/modules/imports/args-object.js")); |
| 1850 |
var _masonry = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/masonry */ "../assets/dev/js/modules/imports/utils/masonry.js")); |
| 1851 |
var _scroll = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/scroll */ "../assets/dev/js/modules/imports/utils/scroll.js")); |
| 1852 |
var _forceMethodImplementation = _interopRequireDefault(__webpack_require__(/*! ./imports/force-method-implementation */ "../assets/dev/js/modules/imports/force-method-implementation.js")); |
| 1853 |
var _default = window.elementorModules = { |
| 1854 |
Module: _module.default, |
| 1855 |
ViewModule: _viewModule.default, |
| 1856 |
ArgsObject: _argsObject.default, |
| 1857 |
ForceMethodImplementation: _forceMethodImplementation.default, |
| 1858 |
utils: { |
| 1859 |
Masonry: _masonry.default, |
| 1860 |
Scroll: _scroll.default |
| 1861 |
} |
| 1862 |
}; |
| 1863 |
exports["default"] = _default; |
| 1864 |
|
| 1865 |
/***/ }), |
| 1866 |
|
| 1867 |
/***/ "../modules/nested-accordion/assets/js/frontend/handlers/nested-accordion.js": |
| 1868 |
/*!***********************************************************************************!*\ |
| 1869 |
!*** ../modules/nested-accordion/assets/js/frontend/handlers/nested-accordion.js ***! |
| 1870 |
\***********************************************************************************/ |
| 1871 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 1872 |
|
| 1873 |
"use strict"; |
| 1874 |
|
| 1875 |
|
| 1876 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 1877 |
Object.defineProperty(exports, "__esModule", ({ |
| 1878 |
value: true |
| 1879 |
})); |
| 1880 |
exports["default"] = void 0; |
| 1881 |
var _base = _interopRequireDefault(__webpack_require__(/*! elementor/assets/dev/js/frontend/handlers/base */ "../assets/dev/js/frontend/handlers/base.js")); |
| 1882 |
class NestedAccordion extends _base.default { |
| 1883 |
constructor() { |
| 1884 |
super(...arguments); |
| 1885 |
this.animations = new Map(); |
| 1886 |
} |
| 1887 |
getDefaultSettings() { |
| 1888 |
return { |
| 1889 |
selectors: { |
| 1890 |
accordion: '.e-n-accordion', |
| 1891 |
accordionContentContainers: '.e-n-accordion > .e-con', |
| 1892 |
accordionItems: '.e-n-accordion-item', |
| 1893 |
accordionItemTitles: '.e-n-accordion-item-title', |
| 1894 |
accordionContent: '.e-n-accordion-item > .e-con' |
| 1895 |
}, |
| 1896 |
default_state: 'expanded' |
| 1897 |
}; |
| 1898 |
} |
| 1899 |
getDefaultElements() { |
| 1900 |
const selectors = this.getSettings('selectors'); |
| 1901 |
return { |
| 1902 |
$accordion: this.findElement(selectors.accordion), |
| 1903 |
$contentContainers: this.findElement(selectors.accordionContentContainers), |
| 1904 |
$accordionItems: this.findElement(selectors.accordionItems), |
| 1905 |
$accordionTitles: this.findElement(selectors.accordionItemTitles), |
| 1906 |
$accordionContent: this.findElement(selectors.accordionContent) |
| 1907 |
}; |
| 1908 |
} |
| 1909 |
onInit() { |
| 1910 |
super.onInit(...arguments); |
| 1911 |
if (elementorFrontend.isEditMode()) { |
| 1912 |
this.interlaceContainers(); |
| 1913 |
} |
| 1914 |
} |
| 1915 |
interlaceContainers() { |
| 1916 |
const { |
| 1917 |
$contentContainers, |
| 1918 |
$accordionItems |
| 1919 |
} = this.getDefaultElements(); |
| 1920 |
$contentContainers.each((index, element) => { |
| 1921 |
$accordionItems[index].appendChild(element); |
| 1922 |
}); |
| 1923 |
} |
| 1924 |
bindEvents() { |
| 1925 |
this.elements.$accordionTitles.on('click', this.clickListener.bind(this)); |
| 1926 |
} |
| 1927 |
unbindEvents() { |
| 1928 |
this.elements.$accordionTitles.off(); |
| 1929 |
} |
| 1930 |
clickListener(event) { |
| 1931 |
event.preventDefault(); |
| 1932 |
const accordionItem = event.currentTarget.parentElement, |
| 1933 |
settings = this.getSettings(), |
| 1934 |
accordionContent = accordionItem.querySelector(settings.selectors.accordionContent), |
| 1935 |
{ |
| 1936 |
max_items_expended: maxItemsExpended |
| 1937 |
} = this.getElementSettings(), |
| 1938 |
{ |
| 1939 |
$accordionTitles, |
| 1940 |
$accordionItems |
| 1941 |
} = this.elements; |
| 1942 |
if ('one' === maxItemsExpended) { |
| 1943 |
this.closeAllItems($accordionItems, $accordionTitles); |
| 1944 |
} |
| 1945 |
if (!accordionItem.open) { |
| 1946 |
this.prepareOpenAnimation(accordionItem, event.currentTarget, accordionContent); |
| 1947 |
} else { |
| 1948 |
this.closeAccordionItem(accordionItem, event.currentTarget); |
| 1949 |
} |
| 1950 |
} |
| 1951 |
animateItem(accordionItem, startHeight, endHeight, isOpen) { |
| 1952 |
accordionItem.style.overflow = 'hidden'; |
| 1953 |
let animation = this.animations.get(accordionItem); |
| 1954 |
if (animation) { |
| 1955 |
animation.cancel(); |
| 1956 |
} |
| 1957 |
animation = accordionItem.animate({ |
| 1958 |
height: [startHeight, endHeight] |
| 1959 |
}, { |
| 1960 |
duration: this.getAnimationDuration() |
| 1961 |
}); |
| 1962 |
animation.onfinish = () => this.onAnimationFinish(accordionItem, isOpen); |
| 1963 |
this.animations.set(accordionItem, animation); |
| 1964 |
} |
| 1965 |
closeAccordionItem(accordionItem, accordionItemTitle) { |
| 1966 |
const startHeight = `${accordionItem.offsetHeight}px`, |
| 1967 |
endHeight = `${accordionItemTitle.offsetHeight}px`; |
| 1968 |
this.animateItem(accordionItem, startHeight, endHeight, false); |
| 1969 |
} |
| 1970 |
prepareOpenAnimation(accordionItem, accordionItemTitle, accordionItemContent) { |
| 1971 |
accordionItem.style.overflow = 'hidden'; |
| 1972 |
accordionItem.style.height = `${accordionItem.offsetHeight}px`; |
| 1973 |
accordionItem.open = true; |
| 1974 |
window.requestAnimationFrame(() => this.openAccordionItem(accordionItem, accordionItemTitle, accordionItemContent)); |
| 1975 |
} |
| 1976 |
openAccordionItem(accordionItem, accordionItemTitle, accordionItemContent) { |
| 1977 |
const startHeight = `${accordionItem.offsetHeight}px`, |
| 1978 |
endHeight = `${accordionItemTitle.offsetHeight + accordionItemContent.offsetHeight}px`; |
| 1979 |
this.animateItem(accordionItem, startHeight, endHeight, true); |
| 1980 |
} |
| 1981 |
onAnimationFinish(accordionItem, isOpen) { |
| 1982 |
accordionItem.open = isOpen; |
| 1983 |
this.animations.set(accordionItem, null); |
| 1984 |
accordionItem.style.height = accordionItem.style.overflow = ''; |
| 1985 |
} |
| 1986 |
closeAllItems($items, $titles) { |
| 1987 |
$titles.each((index, title) => { |
| 1988 |
this.closeAccordionItem($items[index], title); |
| 1989 |
}); |
| 1990 |
} |
| 1991 |
getAnimationDuration() { |
| 1992 |
const { |
| 1993 |
size, |
| 1994 |
unit |
| 1995 |
} = this.getElementSettings('n_accordion_animation_duration'); |
| 1996 |
return size * ('ms' === unit ? 1 : 1000); |
| 1997 |
} |
| 1998 |
} |
| 1999 |
exports["default"] = NestedAccordion; |
| 2000 |
|
| 2001 |
/***/ }), |
| 2002 |
|
| 2003 |
/***/ "../modules/nested-tabs/assets/js/frontend/handlers/nested-tabs.js": |
| 2004 |
/*!*************************************************************************!*\ |
| 2005 |
!*** ../modules/nested-tabs/assets/js/frontend/handlers/nested-tabs.js ***! |
| 2006 |
\*************************************************************************/ |
| 2007 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 2008 |
|
| 2009 |
"use strict"; |
| 2010 |
|
| 2011 |
|
| 2012 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 2013 |
Object.defineProperty(exports, "__esModule", ({ |
| 2014 |
value: true |
| 2015 |
})); |
| 2016 |
exports["default"] = void 0; |
| 2017 |
var _base = _interopRequireDefault(__webpack_require__(/*! elementor-frontend/handlers/base */ "../assets/dev/js/frontend/handlers/base.js")); |
| 2018 |
var _flexHorizontalScroll = __webpack_require__(/*! elementor-frontend-utils/flex-horizontal-scroll */ "../assets/dev/js/frontend/utils/flex-horizontal-scroll.js"); |
| 2019 |
class NestedTabs extends _base.default { |
| 2020 |
constructor() { |
| 2021 |
super(...arguments); |
| 2022 |
this.resizeListenerNestedTabs = null; |
| 2023 |
} |
| 2024 |
|
| 2025 |
/** |
| 2026 |
* @param {string|number} tabIndex |
| 2027 |
* |
| 2028 |
* @return {string} |
| 2029 |
*/ |
| 2030 |
getTabTitleFilterSelector(tabIndex) { |
| 2031 |
return `[data-tab-index="${tabIndex}"]`; |
| 2032 |
} |
| 2033 |
|
| 2034 |
/** |
| 2035 |
* @param {string|number} tabIndex |
| 2036 |
* |
| 2037 |
* @return {string} |
| 2038 |
*/ |
| 2039 |
getTabContentFilterSelector(tabIndex) { |
| 2040 |
return `*:nth-child(${tabIndex})`; |
| 2041 |
} |
| 2042 |
|
| 2043 |
/** |
| 2044 |
* @param {HTMLElement} tabTitleElement |
| 2045 |
* |
| 2046 |
* @return {string} |
| 2047 |
*/ |
| 2048 |
getTabIndex(tabTitleElement) { |
| 2049 |
return tabTitleElement.getAttribute('data-tab-index'); |
| 2050 |
} |
| 2051 |
getDefaultSettings() { |
| 2052 |
return { |
| 2053 |
selectors: { |
| 2054 |
widgetContainer: '.e-n-tabs', |
| 2055 |
tabTitle: '.e-n-tab-title', |
| 2056 |
tabContent: '.e-n-tabs-content > .e-con', |
| 2057 |
headingContainer: '.e-n-tabs-heading', |
| 2058 |
activeTabContentContainers: '.e-con.e-active' |
| 2059 |
}, |
| 2060 |
classes: { |
| 2061 |
active: 'e-active' |
| 2062 |
}, |
| 2063 |
ariaAttributes: { |
| 2064 |
titleStateAttribute: 'aria-selected', |
| 2065 |
activeTitleSelector: '[aria-selected="true"]' |
| 2066 |
}, |
| 2067 |
showTabFn: 'show', |
| 2068 |
hideTabFn: 'hide', |
| 2069 |
toggleSelf: false, |
| 2070 |
hidePrevious: true, |
| 2071 |
autoExpand: true |
| 2072 |
}; |
| 2073 |
} |
| 2074 |
getDefaultElements() { |
| 2075 |
const selectors = this.getSettings('selectors'); |
| 2076 |
return { |
| 2077 |
$tabTitles: this.findElement(selectors.tabTitle), |
| 2078 |
$tabContents: this.findElement(selectors.tabContent), |
| 2079 |
$headingContainer: this.findElement(selectors.headingContainer) |
| 2080 |
}; |
| 2081 |
} |
| 2082 |
getKeyboardNavigationSettings() { |
| 2083 |
return this.getSettings(); |
| 2084 |
} |
| 2085 |
activateDefaultTab() { |
| 2086 |
const settings = this.getSettings(); |
| 2087 |
const defaultActiveTab = this.getEditSettings('activeItemIndex') || 1, |
| 2088 |
originalToggleMethods = { |
| 2089 |
showTabFn: settings.showTabFn, |
| 2090 |
hideTabFn: settings.hideTabFn |
| 2091 |
}; |
| 2092 |
|
| 2093 |
// Toggle tabs without animation to avoid jumping |
| 2094 |
this.setSettings({ |
| 2095 |
showTabFn: 'show', |
| 2096 |
hideTabFn: 'hide' |
| 2097 |
}); |
| 2098 |
this.changeActiveTab(defaultActiveTab); |
| 2099 |
|
| 2100 |
// Return back original toggle effects |
| 2101 |
this.setSettings(originalToggleMethods); |
| 2102 |
} |
| 2103 |
deactivateActiveTab(newTabIndex) { |
| 2104 |
const settings = this.getSettings(), |
| 2105 |
activeClass = settings.classes.active, |
| 2106 |
activeTitleFilter = settings.ariaAttributes.activeTitleSelector, |
| 2107 |
activeContentFilter = '.' + activeClass, |
| 2108 |
$activeTitle = this.elements.$tabTitles.filter(activeTitleFilter), |
| 2109 |
$activeContent = this.elements.$tabContents.filter(activeContentFilter); |
| 2110 |
this.setTabDeactivationAttributes($activeTitle, newTabIndex); |
| 2111 |
$activeContent.removeClass(activeClass); |
| 2112 |
$activeContent[settings.hideTabFn](0, () => this.onHideTabContent($activeContent)); |
| 2113 |
return $activeContent; |
| 2114 |
} |
| 2115 |
getTitleActivationAttributes() { |
| 2116 |
const titleStateAttribute = this.getSettings('ariaAttributes').titleStateAttribute; |
| 2117 |
return { |
| 2118 |
tabindex: '0', |
| 2119 |
[titleStateAttribute]: 'true' |
| 2120 |
}; |
| 2121 |
} |
| 2122 |
setTabDeactivationAttributes($activeTitle) { |
| 2123 |
const titleStateAttribute = this.getSettings('ariaAttributes').titleStateAttribute; |
| 2124 |
$activeTitle.attr({ |
| 2125 |
tabindex: '-1', |
| 2126 |
[titleStateAttribute]: 'false' |
| 2127 |
}); |
| 2128 |
} |
| 2129 |
onHideTabContent() {} |
| 2130 |
activateTab(tabIndex) { |
| 2131 |
const settings = this.getSettings(), |
| 2132 |
activeClass = settings.classes.active, |
| 2133 |
animationDuration = 'show' === settings.showTabFn ? 0 : 400; |
| 2134 |
let $requestedTitle = this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(tabIndex)), |
| 2135 |
$requestedContent = this.elements.$tabContents.filter(this.getTabContentFilterSelector(tabIndex)); |
| 2136 |
|
| 2137 |
// Check if the tabIndex exists. |
| 2138 |
if (!$requestedTitle.length) { |
| 2139 |
// Activate the previous tab and ensure that the tab index is not less than 1. |
| 2140 |
const previousTabIndex = Math.max(tabIndex - 1, 1); |
| 2141 |
$requestedTitle = this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(previousTabIndex)); |
| 2142 |
$requestedContent = this.elements.$tabContents.filter(this.getTabContentFilterSelector(previousTabIndex)); |
| 2143 |
} |
| 2144 |
$requestedTitle.attr(this.getTitleActivationAttributes()); |
| 2145 |
$requestedContent.addClass(activeClass); |
| 2146 |
$requestedContent[settings.showTabFn](animationDuration, () => this.onShowTabContent($requestedContent)); |
| 2147 |
} |
| 2148 |
onShowTabContent($requestedContent) { |
| 2149 |
elementorFrontend.elements.$window.trigger('elementor-pro/motion-fx/recalc'); |
| 2150 |
elementorFrontend.elements.$window.trigger('elementor/nested-tabs/activate', $requestedContent); |
| 2151 |
elementorFrontend.elements.$window.trigger('elementor/bg-video/recalc'); |
| 2152 |
} |
| 2153 |
isActiveTab(tabIndex) { |
| 2154 |
return 'true' === this.elements.$tabTitles.filter('[data-tab-index="' + tabIndex + '"]').attr(this.getSettings('ariaAttributes').titleStateAttribute); |
| 2155 |
} |
| 2156 |
onTabClick(event) { |
| 2157 |
event.preventDefault(); |
| 2158 |
this.changeActiveTab(event.currentTarget?.getAttribute('data-tab-index'), true); |
| 2159 |
} |
| 2160 |
getTabEvents() { |
| 2161 |
return { |
| 2162 |
click: this.onTabClick.bind(this) |
| 2163 |
}; |
| 2164 |
} |
| 2165 |
getHeadingEvents() { |
| 2166 |
const navigationWrapper = this.elements.$headingContainer[0]; |
| 2167 |
return { |
| 2168 |
mousedown: _flexHorizontalScroll.changeScrollStatus.bind(this, navigationWrapper), |
| 2169 |
mouseup: _flexHorizontalScroll.changeScrollStatus.bind(this, navigationWrapper), |
| 2170 |
mouseleave: _flexHorizontalScroll.changeScrollStatus.bind(this, navigationWrapper), |
| 2171 |
mousemove: _flexHorizontalScroll.setHorizontalTitleScrollValues.bind(this, navigationWrapper, this.getHorizontalScrollSetting()) |
| 2172 |
}; |
| 2173 |
} |
| 2174 |
bindEvents() { |
| 2175 |
this.elements.$tabTitles.on(this.getTabEvents()); |
| 2176 |
this.elements.$headingContainer.on(this.getHeadingEvents()); |
| 2177 |
const settingsObject = { |
| 2178 |
element: this.elements.$headingContainer[0], |
| 2179 |
direction: this.getTabsDirection(), |
| 2180 |
justifyCSSVariable: '--n-tabs-heading-justify-content', |
| 2181 |
horizontalScrollStatus: this.getHorizontalScrollSetting() |
| 2182 |
}; |
| 2183 |
this.resizeListenerNestedTabs = _flexHorizontalScroll.setHorizontalScrollAlignment.bind(this, settingsObject); |
| 2184 |
elementorFrontend.elements.$window.on('resize', this.resizeListenerNestedTabs); |
| 2185 |
elementorFrontend.elements.$window.on('resize', this.setTouchMode.bind(this)); |
| 2186 |
elementorFrontend.elements.$window.on('elementor/nested-tabs/activate', this.reInitSwipers); |
| 2187 |
elementorFrontend.elements.$window.on('elementor/nested-elements/activate-by-keyboard', this.changeActiveTabByKeyboard.bind(this)); |
| 2188 |
} |
| 2189 |
unbindEvents() { |
| 2190 |
this.elements.$tabTitles.off(); |
| 2191 |
this.elements.$headingContainer.off(); |
| 2192 |
this.elements.$tabContents.children().off(); |
| 2193 |
elementorFrontend.elements.$window.off('resize'); |
| 2194 |
elementorFrontend.elements.$window.off('elementor/nested-tabs/activate'); |
| 2195 |
} |
| 2196 |
|
| 2197 |
/** |
| 2198 |
* Fixes issues where Swipers that have been initialized while a tab is not visible are not properly rendered |
| 2199 |
* and when switching to the tab the swiper will not respect any of the chosen `autoplay` related settings. |
| 2200 |
* |
| 2201 |
* This is triggered when switching to a nested tab, looks for Swipers in the tab content and reinitializes them. |
| 2202 |
* |
| 2203 |
* @param {Object} event - Incoming event. |
| 2204 |
* @param {Object} content - Active nested tab dom element. |
| 2205 |
*/ |
| 2206 |
reInitSwipers(event, content) { |
| 2207 |
const swiperElements = content.querySelectorAll(`.${elementorFrontend.config.swiperClass}`); |
| 2208 |
for (const element of swiperElements) { |
| 2209 |
if (!element.swiper) { |
| 2210 |
return; |
| 2211 |
} |
| 2212 |
element.swiper.initialized = false; |
| 2213 |
element.swiper.init(); |
| 2214 |
} |
| 2215 |
} |
| 2216 |
onInit() { |
| 2217 |
super.onInit(...arguments); |
| 2218 |
if (this.getSettings('autoExpand')) { |
| 2219 |
this.activateDefaultTab(); |
| 2220 |
} |
| 2221 |
const settingsObject = { |
| 2222 |
element: this.elements.$headingContainer[0], |
| 2223 |
direction: this.getTabsDirection(), |
| 2224 |
justifyCSSVariable: '--n-tabs-heading-justify-content', |
| 2225 |
horizontalScrollStatus: this.getHorizontalScrollSetting() |
| 2226 |
}; |
| 2227 |
(0, _flexHorizontalScroll.setHorizontalScrollAlignment)(settingsObject); |
| 2228 |
this.setTouchMode(); |
| 2229 |
if ('nested-tabs.default' === this.getSettings('elementName')) { |
| 2230 |
new elementorModules.frontend.handlers.NestedTitleKeyboardHandler(this.getKeyboardNavigationSettings()); |
| 2231 |
} |
| 2232 |
} |
| 2233 |
onEditSettingsChange(propertyName, value) { |
| 2234 |
if ('activeItemIndex' === propertyName) { |
| 2235 |
this.changeActiveTab(value, false); |
| 2236 |
} |
| 2237 |
} |
| 2238 |
onElementChange(propertyName) { |
| 2239 |
if (this.checkSliderPropsToWatch(propertyName)) { |
| 2240 |
const settingsObject = { |
| 2241 |
element: this.elements.$headingContainer[0], |
| 2242 |
direction: this.getTabsDirection(), |
| 2243 |
justifyCSSVariable: '--n-tabs-heading-justify-content', |
| 2244 |
horizontalScrollStatus: this.getHorizontalScrollSetting() |
| 2245 |
}; |
| 2246 |
(0, _flexHorizontalScroll.setHorizontalScrollAlignment)(settingsObject); |
| 2247 |
} |
| 2248 |
} |
| 2249 |
checkSliderPropsToWatch(propertyName) { |
| 2250 |
return 0 === propertyName.indexOf('horizontal_scroll') || 'breakpoint_selector' === propertyName || 0 === propertyName.indexOf('tabs_justify_horizontal') || 0 === propertyName.indexOf('tabs_title_space_between'); |
| 2251 |
} |
| 2252 |
|
| 2253 |
/** |
| 2254 |
* @param {string} tabIndex |
| 2255 |
* @param {boolean} fromUser - Whether the call is caused by the user or internal. |
| 2256 |
*/ |
| 2257 |
changeActiveTab(tabIndex) { |
| 2258 |
let fromUser = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; |
| 2259 |
// `document/repeater/select` is used only in the editor, only when the element |
| 2260 |
// is in the currently-edited document, and only when its not internal call, |
| 2261 |
if (fromUser && this.isEdit && this.isElementInTheCurrentDocument()) { |
| 2262 |
return window.top.$e.run('document/repeater/select', { |
| 2263 |
container: elementor.getContainer(this.$element.attr('data-id')), |
| 2264 |
index: parseInt(tabIndex) |
| 2265 |
}); |
| 2266 |
} |
| 2267 |
const isActiveTab = this.isActiveTab(tabIndex), |
| 2268 |
settings = this.getSettings(); |
| 2269 |
if ((settings.toggleSelf || !isActiveTab) && settings.hidePrevious) { |
| 2270 |
this.deactivateActiveTab(tabIndex); |
| 2271 |
} |
| 2272 |
if (!settings.hidePrevious && isActiveTab) { |
| 2273 |
this.deactivateActiveTab(tabIndex); |
| 2274 |
} |
| 2275 |
if (!isActiveTab) { |
| 2276 |
if (this.isAccordionVersion()) { |
| 2277 |
this.activateMobileTab(tabIndex); |
| 2278 |
return; |
| 2279 |
} |
| 2280 |
this.activateTab(tabIndex); |
| 2281 |
} |
| 2282 |
} |
| 2283 |
changeActiveTabByKeyboard(event, settings) { |
| 2284 |
if (settings.widgetId !== this.getID()) { |
| 2285 |
return; |
| 2286 |
} |
| 2287 |
this.changeActiveTab(settings.titleIndex, true); |
| 2288 |
} |
| 2289 |
activateMobileTab(tabIndex) { |
| 2290 |
// Timeout time added to ensure that opening of the active tab starts after closing the other tab on Apple devices. |
| 2291 |
setTimeout(() => { |
| 2292 |
this.activateTab(tabIndex); |
| 2293 |
this.forceActiveTabToBeInViewport(tabIndex); |
| 2294 |
}, 10); |
| 2295 |
} |
| 2296 |
forceActiveTabToBeInViewport(tabIndex) { |
| 2297 |
if (!elementorFrontend.isEditMode()) { |
| 2298 |
return; |
| 2299 |
} |
| 2300 |
const $activeTabTitle = this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(tabIndex)); |
| 2301 |
if (!elementor.helpers.isInViewport($activeTabTitle[0])) { |
| 2302 |
$activeTabTitle[0].scrollIntoView({ |
| 2303 |
block: 'center' |
| 2304 |
}); |
| 2305 |
} |
| 2306 |
} |
| 2307 |
getActiveClass() { |
| 2308 |
const settings = this.getSettings(); |
| 2309 |
return settings.classes.active; |
| 2310 |
} |
| 2311 |
getTabsDirection() { |
| 2312 |
const currentDevice = elementorFrontend.getCurrentDeviceMode(); |
| 2313 |
return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'tabs_justify_horizontal', '', currentDevice); |
| 2314 |
} |
| 2315 |
getHorizontalScrollSetting() { |
| 2316 |
const currentDevice = elementorFrontend.getCurrentDeviceMode(); |
| 2317 |
return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'horizontal_scroll', '', currentDevice); |
| 2318 |
} |
| 2319 |
isAccordionVersion() { |
| 2320 |
return 'contents' === this.elements.$headingContainer.css('display'); |
| 2321 |
} |
| 2322 |
setTouchMode() { |
| 2323 |
const widgetSelector = this.getSettings('selectors').widgetContainer; |
| 2324 |
if (elementorFrontend.isEditMode() || 'resize' === event?.type) { |
| 2325 |
const responsiveDevices = ['mobile', 'mobile_extra', 'tablet', 'tablet_extra'], |
| 2326 |
currentDevice = elementorFrontend.getCurrentDeviceMode(); |
| 2327 |
if (-1 !== responsiveDevices.indexOf(currentDevice)) { |
| 2328 |
this.$element.find(widgetSelector).attr('data-touch-mode', 'true'); |
| 2329 |
return; |
| 2330 |
} |
| 2331 |
} else if ('ontouchstart' in window) { |
| 2332 |
this.$element.find(widgetSelector).attr('data-touch-mode', 'true'); |
| 2333 |
return; |
| 2334 |
} |
| 2335 |
this.$element.find(widgetSelector).attr('data-touch-mode', 'false'); |
| 2336 |
} |
| 2337 |
} |
| 2338 |
exports["default"] = NestedTabs; |
| 2339 |
|
| 2340 |
/***/ }), |
| 2341 |
|
| 2342 |
/***/ "../node_modules/core-js/internals/a-callable.js": |
| 2343 |
/*!*******************************************************!*\ |
| 2344 |
!*** ../node_modules/core-js/internals/a-callable.js ***! |
| 2345 |
\*******************************************************/ |
| 2346 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2347 |
|
| 2348 |
"use strict"; |
| 2349 |
|
| 2350 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 2351 |
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../node_modules/core-js/internals/try-to-string.js"); |
| 2352 |
|
| 2353 |
var $TypeError = TypeError; |
| 2354 |
|
| 2355 |
// `Assert: IsCallable(argument) is true` |
| 2356 |
module.exports = function (argument) { |
| 2357 |
if (isCallable(argument)) return argument; |
| 2358 |
throw $TypeError(tryToString(argument) + ' is not a function'); |
| 2359 |
}; |
| 2360 |
|
| 2361 |
|
| 2362 |
/***/ }), |
| 2363 |
|
| 2364 |
/***/ "../node_modules/core-js/internals/a-possible-prototype.js": |
| 2365 |
/*!*****************************************************************!*\ |
| 2366 |
!*** ../node_modules/core-js/internals/a-possible-prototype.js ***! |
| 2367 |
\*****************************************************************/ |
| 2368 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2369 |
|
| 2370 |
"use strict"; |
| 2371 |
|
| 2372 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 2373 |
|
| 2374 |
var $String = String; |
| 2375 |
var $TypeError = TypeError; |
| 2376 |
|
| 2377 |
module.exports = function (argument) { |
| 2378 |
if (typeof argument == 'object' || isCallable(argument)) return argument; |
| 2379 |
throw $TypeError("Can't set " + $String(argument) + ' as a prototype'); |
| 2380 |
}; |
| 2381 |
|
| 2382 |
|
| 2383 |
/***/ }), |
| 2384 |
|
| 2385 |
/***/ "../node_modules/core-js/internals/an-object.js": |
| 2386 |
/*!******************************************************!*\ |
| 2387 |
!*** ../node_modules/core-js/internals/an-object.js ***! |
| 2388 |
\******************************************************/ |
| 2389 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2390 |
|
| 2391 |
"use strict"; |
| 2392 |
|
| 2393 |
var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); |
| 2394 |
|
| 2395 |
var $String = String; |
| 2396 |
var $TypeError = TypeError; |
| 2397 |
|
| 2398 |
// `Assert: Type(argument) is Object` |
| 2399 |
module.exports = function (argument) { |
| 2400 |
if (isObject(argument)) return argument; |
| 2401 |
throw $TypeError($String(argument) + ' is not an object'); |
| 2402 |
}; |
| 2403 |
|
| 2404 |
|
| 2405 |
/***/ }), |
| 2406 |
|
| 2407 |
/***/ "../node_modules/core-js/internals/array-includes.js": |
| 2408 |
/*!***********************************************************!*\ |
| 2409 |
!*** ../node_modules/core-js/internals/array-includes.js ***! |
| 2410 |
\***********************************************************/ |
| 2411 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2412 |
|
| 2413 |
"use strict"; |
| 2414 |
|
| 2415 |
var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js"); |
| 2416 |
var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "../node_modules/core-js/internals/to-absolute-index.js"); |
| 2417 |
var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "../node_modules/core-js/internals/length-of-array-like.js"); |
| 2418 |
|
| 2419 |
// `Array.prototype.{ indexOf, includes }` methods implementation |
| 2420 |
var createMethod = function (IS_INCLUDES) { |
| 2421 |
return function ($this, el, fromIndex) { |
| 2422 |
var O = toIndexedObject($this); |
| 2423 |
var length = lengthOfArrayLike(O); |
| 2424 |
var index = toAbsoluteIndex(fromIndex, length); |
| 2425 |
var value; |
| 2426 |
// Array#includes uses SameValueZero equality algorithm |
| 2427 |
// eslint-disable-next-line no-self-compare -- NaN check |
| 2428 |
if (IS_INCLUDES && el != el) while (length > index) { |
| 2429 |
value = O[index++]; |
| 2430 |
// eslint-disable-next-line no-self-compare -- NaN check |
| 2431 |
if (value != value) return true; |
| 2432 |
// Array#indexOf ignores holes, Array#includes - not |
| 2433 |
} else for (;length > index; index++) { |
| 2434 |
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; |
| 2435 |
} return !IS_INCLUDES && -1; |
| 2436 |
}; |
| 2437 |
}; |
| 2438 |
|
| 2439 |
module.exports = { |
| 2440 |
// `Array.prototype.includes` method |
| 2441 |
// https://tc39.es/ecma262/#sec-array.prototype.includes |
| 2442 |
includes: createMethod(true), |
| 2443 |
// `Array.prototype.indexOf` method |
| 2444 |
// https://tc39.es/ecma262/#sec-array.prototype.indexof |
| 2445 |
indexOf: createMethod(false) |
| 2446 |
}; |
| 2447 |
|
| 2448 |
|
| 2449 |
/***/ }), |
| 2450 |
|
| 2451 |
/***/ "../node_modules/core-js/internals/classof-raw.js": |
| 2452 |
/*!********************************************************!*\ |
| 2453 |
!*** ../node_modules/core-js/internals/classof-raw.js ***! |
| 2454 |
\********************************************************/ |
| 2455 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2456 |
|
| 2457 |
"use strict"; |
| 2458 |
|
| 2459 |
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 2460 |
|
| 2461 |
var toString = uncurryThis({}.toString); |
| 2462 |
var stringSlice = uncurryThis(''.slice); |
| 2463 |
|
| 2464 |
module.exports = function (it) { |
| 2465 |
return stringSlice(toString(it), 8, -1); |
| 2466 |
}; |
| 2467 |
|
| 2468 |
|
| 2469 |
/***/ }), |
| 2470 |
|
| 2471 |
/***/ "../node_modules/core-js/internals/classof.js": |
| 2472 |
/*!****************************************************!*\ |
| 2473 |
!*** ../node_modules/core-js/internals/classof.js ***! |
| 2474 |
\****************************************************/ |
| 2475 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2476 |
|
| 2477 |
"use strict"; |
| 2478 |
|
| 2479 |
var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "../node_modules/core-js/internals/to-string-tag-support.js"); |
| 2480 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 2481 |
var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js"); |
| 2482 |
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); |
| 2483 |
|
| 2484 |
var TO_STRING_TAG = wellKnownSymbol('toStringTag'); |
| 2485 |
var $Object = Object; |
| 2486 |
|
| 2487 |
// ES3 wrong here |
| 2488 |
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; |
| 2489 |
|
| 2490 |
// fallback for IE11 Script Access Denied error |
| 2491 |
var tryGet = function (it, key) { |
| 2492 |
try { |
| 2493 |
return it[key]; |
| 2494 |
} catch (error) { /* empty */ } |
| 2495 |
}; |
| 2496 |
|
| 2497 |
// getting tag from ES6+ `Object.prototype.toString` |
| 2498 |
module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { |
| 2499 |
var O, tag, result; |
| 2500 |
return it === undefined ? 'Undefined' : it === null ? 'Null' |
| 2501 |
// @@toStringTag case |
| 2502 |
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag |
| 2503 |
// builtinTag case |
| 2504 |
: CORRECT_ARGUMENTS ? classofRaw(O) |
| 2505 |
// ES3 arguments fallback |
| 2506 |
: (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result; |
| 2507 |
}; |
| 2508 |
|
| 2509 |
|
| 2510 |
/***/ }), |
| 2511 |
|
| 2512 |
/***/ "../node_modules/core-js/internals/copy-constructor-properties.js": |
| 2513 |
/*!************************************************************************!*\ |
| 2514 |
!*** ../node_modules/core-js/internals/copy-constructor-properties.js ***! |
| 2515 |
\************************************************************************/ |
| 2516 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2517 |
|
| 2518 |
"use strict"; |
| 2519 |
|
| 2520 |
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| 2521 |
var ownKeys = __webpack_require__(/*! ../internals/own-keys */ "../node_modules/core-js/internals/own-keys.js"); |
| 2522 |
var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../node_modules/core-js/internals/object-get-own-property-descriptor.js"); |
| 2523 |
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js"); |
| 2524 |
|
| 2525 |
module.exports = function (target, source, exceptions) { |
| 2526 |
var keys = ownKeys(source); |
| 2527 |
var defineProperty = definePropertyModule.f; |
| 2528 |
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; |
| 2529 |
for (var i = 0; i < keys.length; i++) { |
| 2530 |
var key = keys[i]; |
| 2531 |
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) { |
| 2532 |
defineProperty(target, key, getOwnPropertyDescriptor(source, key)); |
| 2533 |
} |
| 2534 |
} |
| 2535 |
}; |
| 2536 |
|
| 2537 |
|
| 2538 |
/***/ }), |
| 2539 |
|
| 2540 |
/***/ "../node_modules/core-js/internals/create-non-enumerable-property.js": |
| 2541 |
/*!***************************************************************************!*\ |
| 2542 |
!*** ../node_modules/core-js/internals/create-non-enumerable-property.js ***! |
| 2543 |
\***************************************************************************/ |
| 2544 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2545 |
|
| 2546 |
"use strict"; |
| 2547 |
|
| 2548 |
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 2549 |
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js"); |
| 2550 |
var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js"); |
| 2551 |
|
| 2552 |
module.exports = DESCRIPTORS ? function (object, key, value) { |
| 2553 |
return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); |
| 2554 |
} : function (object, key, value) { |
| 2555 |
object[key] = value; |
| 2556 |
return object; |
| 2557 |
}; |
| 2558 |
|
| 2559 |
|
| 2560 |
/***/ }), |
| 2561 |
|
| 2562 |
/***/ "../node_modules/core-js/internals/create-property-descriptor.js": |
| 2563 |
/*!***********************************************************************!*\ |
| 2564 |
!*** ../node_modules/core-js/internals/create-property-descriptor.js ***! |
| 2565 |
\***********************************************************************/ |
| 2566 |
/***/ ((module) => { |
| 2567 |
|
| 2568 |
"use strict"; |
| 2569 |
|
| 2570 |
module.exports = function (bitmap, value) { |
| 2571 |
return { |
| 2572 |
enumerable: !(bitmap & 1), |
| 2573 |
configurable: !(bitmap & 2), |
| 2574 |
writable: !(bitmap & 4), |
| 2575 |
value: value |
| 2576 |
}; |
| 2577 |
}; |
| 2578 |
|
| 2579 |
|
| 2580 |
/***/ }), |
| 2581 |
|
| 2582 |
/***/ "../node_modules/core-js/internals/define-built-in.js": |
| 2583 |
/*!************************************************************!*\ |
| 2584 |
!*** ../node_modules/core-js/internals/define-built-in.js ***! |
| 2585 |
\************************************************************/ |
| 2586 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2587 |
|
| 2588 |
"use strict"; |
| 2589 |
|
| 2590 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 2591 |
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js"); |
| 2592 |
var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ "../node_modules/core-js/internals/make-built-in.js"); |
| 2593 |
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js"); |
| 2594 |
|
| 2595 |
module.exports = function (O, key, value, options) { |
| 2596 |
if (!options) options = {}; |
| 2597 |
var simple = options.enumerable; |
| 2598 |
var name = options.name !== undefined ? options.name : key; |
| 2599 |
if (isCallable(value)) makeBuiltIn(value, name, options); |
| 2600 |
if (options.global) { |
| 2601 |
if (simple) O[key] = value; |
| 2602 |
else defineGlobalProperty(key, value); |
| 2603 |
} else { |
| 2604 |
try { |
| 2605 |
if (!options.unsafe) delete O[key]; |
| 2606 |
else if (O[key]) simple = true; |
| 2607 |
} catch (error) { /* empty */ } |
| 2608 |
if (simple) O[key] = value; |
| 2609 |
else definePropertyModule.f(O, key, { |
| 2610 |
value: value, |
| 2611 |
enumerable: false, |
| 2612 |
configurable: !options.nonConfigurable, |
| 2613 |
writable: !options.nonWritable |
| 2614 |
}); |
| 2615 |
} return O; |
| 2616 |
}; |
| 2617 |
|
| 2618 |
|
| 2619 |
/***/ }), |
| 2620 |
|
| 2621 |
/***/ "../node_modules/core-js/internals/define-global-property.js": |
| 2622 |
/*!*******************************************************************!*\ |
| 2623 |
!*** ../node_modules/core-js/internals/define-global-property.js ***! |
| 2624 |
\*******************************************************************/ |
| 2625 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2626 |
|
| 2627 |
"use strict"; |
| 2628 |
|
| 2629 |
var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); |
| 2630 |
|
| 2631 |
// eslint-disable-next-line es/no-object-defineproperty -- safe |
| 2632 |
var defineProperty = Object.defineProperty; |
| 2633 |
|
| 2634 |
module.exports = function (key, value) { |
| 2635 |
try { |
| 2636 |
defineProperty(global, key, { value: value, configurable: true, writable: true }); |
| 2637 |
} catch (error) { |
| 2638 |
global[key] = value; |
| 2639 |
} return value; |
| 2640 |
}; |
| 2641 |
|
| 2642 |
|
| 2643 |
/***/ }), |
| 2644 |
|
| 2645 |
/***/ "../node_modules/core-js/internals/descriptors.js": |
| 2646 |
/*!********************************************************!*\ |
| 2647 |
!*** ../node_modules/core-js/internals/descriptors.js ***! |
| 2648 |
\********************************************************/ |
| 2649 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2650 |
|
| 2651 |
"use strict"; |
| 2652 |
|
| 2653 |
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 2654 |
|
| 2655 |
// Detect IE8's incomplete defineProperty implementation |
| 2656 |
module.exports = !fails(function () { |
| 2657 |
// eslint-disable-next-line es/no-object-defineproperty -- required for testing |
| 2658 |
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; |
| 2659 |
}); |
| 2660 |
|
| 2661 |
|
| 2662 |
/***/ }), |
| 2663 |
|
| 2664 |
/***/ "../node_modules/core-js/internals/document-all.js": |
| 2665 |
/*!*********************************************************!*\ |
| 2666 |
!*** ../node_modules/core-js/internals/document-all.js ***! |
| 2667 |
\*********************************************************/ |
| 2668 |
/***/ ((module) => { |
| 2669 |
|
| 2670 |
"use strict"; |
| 2671 |
|
| 2672 |
var documentAll = typeof document == 'object' && document.all; |
| 2673 |
|
| 2674 |
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot |
| 2675 |
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing |
| 2676 |
var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined; |
| 2677 |
|
| 2678 |
module.exports = { |
| 2679 |
all: documentAll, |
| 2680 |
IS_HTMLDDA: IS_HTMLDDA |
| 2681 |
}; |
| 2682 |
|
| 2683 |
|
| 2684 |
/***/ }), |
| 2685 |
|
| 2686 |
/***/ "../node_modules/core-js/internals/document-create-element.js": |
| 2687 |
/*!********************************************************************!*\ |
| 2688 |
!*** ../node_modules/core-js/internals/document-create-element.js ***! |
| 2689 |
\********************************************************************/ |
| 2690 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2691 |
|
| 2692 |
"use strict"; |
| 2693 |
|
| 2694 |
var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); |
| 2695 |
var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); |
| 2696 |
|
| 2697 |
var document = global.document; |
| 2698 |
// typeof document.createElement is 'object' in old IE |
| 2699 |
var EXISTS = isObject(document) && isObject(document.createElement); |
| 2700 |
|
| 2701 |
module.exports = function (it) { |
| 2702 |
return EXISTS ? document.createElement(it) : {}; |
| 2703 |
}; |
| 2704 |
|
| 2705 |
|
| 2706 |
/***/ }), |
| 2707 |
|
| 2708 |
/***/ "../node_modules/core-js/internals/engine-user-agent.js": |
| 2709 |
/*!**************************************************************!*\ |
| 2710 |
!*** ../node_modules/core-js/internals/engine-user-agent.js ***! |
| 2711 |
\**************************************************************/ |
| 2712 |
/***/ ((module) => { |
| 2713 |
|
| 2714 |
"use strict"; |
| 2715 |
|
| 2716 |
module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; |
| 2717 |
|
| 2718 |
|
| 2719 |
/***/ }), |
| 2720 |
|
| 2721 |
/***/ "../node_modules/core-js/internals/engine-v8-version.js": |
| 2722 |
/*!**************************************************************!*\ |
| 2723 |
!*** ../node_modules/core-js/internals/engine-v8-version.js ***! |
| 2724 |
\**************************************************************/ |
| 2725 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2726 |
|
| 2727 |
"use strict"; |
| 2728 |
|
| 2729 |
var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); |
| 2730 |
var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ "../node_modules/core-js/internals/engine-user-agent.js"); |
| 2731 |
|
| 2732 |
var process = global.process; |
| 2733 |
var Deno = global.Deno; |
| 2734 |
var versions = process && process.versions || Deno && Deno.version; |
| 2735 |
var v8 = versions && versions.v8; |
| 2736 |
var match, version; |
| 2737 |
|
| 2738 |
if (v8) { |
| 2739 |
match = v8.split('.'); |
| 2740 |
// in old Chrome, versions of V8 isn't V8 = Chrome / 10 |
| 2741 |
// but their correct versions are not interesting for us |
| 2742 |
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); |
| 2743 |
} |
| 2744 |
|
| 2745 |
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0` |
| 2746 |
// so check `userAgent` even if `.v8` exists, but 0 |
| 2747 |
if (!version && userAgent) { |
| 2748 |
match = userAgent.match(/Edge\/(\d+)/); |
| 2749 |
if (!match || match[1] >= 74) { |
| 2750 |
match = userAgent.match(/Chrome\/(\d+)/); |
| 2751 |
if (match) version = +match[1]; |
| 2752 |
} |
| 2753 |
} |
| 2754 |
|
| 2755 |
module.exports = version; |
| 2756 |
|
| 2757 |
|
| 2758 |
/***/ }), |
| 2759 |
|
| 2760 |
/***/ "../node_modules/core-js/internals/enum-bug-keys.js": |
| 2761 |
/*!**********************************************************!*\ |
| 2762 |
!*** ../node_modules/core-js/internals/enum-bug-keys.js ***! |
| 2763 |
\**********************************************************/ |
| 2764 |
/***/ ((module) => { |
| 2765 |
|
| 2766 |
"use strict"; |
| 2767 |
|
| 2768 |
// IE8- don't enum bug keys |
| 2769 |
module.exports = [ |
| 2770 |
'constructor', |
| 2771 |
'hasOwnProperty', |
| 2772 |
'isPrototypeOf', |
| 2773 |
'propertyIsEnumerable', |
| 2774 |
'toLocaleString', |
| 2775 |
'toString', |
| 2776 |
'valueOf' |
| 2777 |
]; |
| 2778 |
|
| 2779 |
|
| 2780 |
/***/ }), |
| 2781 |
|
| 2782 |
/***/ "../node_modules/core-js/internals/error-stack-clear.js": |
| 2783 |
/*!**************************************************************!*\ |
| 2784 |
!*** ../node_modules/core-js/internals/error-stack-clear.js ***! |
| 2785 |
\**************************************************************/ |
| 2786 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2787 |
|
| 2788 |
"use strict"; |
| 2789 |
|
| 2790 |
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 2791 |
|
| 2792 |
var $Error = Error; |
| 2793 |
var replace = uncurryThis(''.replace); |
| 2794 |
|
| 2795 |
var TEST = (function (arg) { return String($Error(arg).stack); })('zxcasd'); |
| 2796 |
// eslint-disable-next-line redos/no-vulnerable -- safe |
| 2797 |
var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/; |
| 2798 |
var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST); |
| 2799 |
|
| 2800 |
module.exports = function (stack, dropEntries) { |
| 2801 |
if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) { |
| 2802 |
while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, ''); |
| 2803 |
} return stack; |
| 2804 |
}; |
| 2805 |
|
| 2806 |
|
| 2807 |
/***/ }), |
| 2808 |
|
| 2809 |
/***/ "../node_modules/core-js/internals/error-stack-install.js": |
| 2810 |
/*!****************************************************************!*\ |
| 2811 |
!*** ../node_modules/core-js/internals/error-stack-install.js ***! |
| 2812 |
\****************************************************************/ |
| 2813 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2814 |
|
| 2815 |
"use strict"; |
| 2816 |
|
| 2817 |
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); |
| 2818 |
var clearErrorStack = __webpack_require__(/*! ../internals/error-stack-clear */ "../node_modules/core-js/internals/error-stack-clear.js"); |
| 2819 |
var ERROR_STACK_INSTALLABLE = __webpack_require__(/*! ../internals/error-stack-installable */ "../node_modules/core-js/internals/error-stack-installable.js"); |
| 2820 |
|
| 2821 |
// non-standard V8 |
| 2822 |
var captureStackTrace = Error.captureStackTrace; |
| 2823 |
|
| 2824 |
module.exports = function (error, C, stack, dropEntries) { |
| 2825 |
if (ERROR_STACK_INSTALLABLE) { |
| 2826 |
if (captureStackTrace) captureStackTrace(error, C); |
| 2827 |
else createNonEnumerableProperty(error, 'stack', clearErrorStack(stack, dropEntries)); |
| 2828 |
} |
| 2829 |
}; |
| 2830 |
|
| 2831 |
|
| 2832 |
/***/ }), |
| 2833 |
|
| 2834 |
/***/ "../node_modules/core-js/internals/error-stack-installable.js": |
| 2835 |
/*!********************************************************************!*\ |
| 2836 |
!*** ../node_modules/core-js/internals/error-stack-installable.js ***! |
| 2837 |
\********************************************************************/ |
| 2838 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2839 |
|
| 2840 |
"use strict"; |
| 2841 |
|
| 2842 |
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 2843 |
var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js"); |
| 2844 |
|
| 2845 |
module.exports = !fails(function () { |
| 2846 |
var error = Error('a'); |
| 2847 |
if (!('stack' in error)) return true; |
| 2848 |
// eslint-disable-next-line es/no-object-defineproperty -- safe |
| 2849 |
Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7)); |
| 2850 |
return error.stack !== 7; |
| 2851 |
}); |
| 2852 |
|
| 2853 |
|
| 2854 |
/***/ }), |
| 2855 |
|
| 2856 |
/***/ "../node_modules/core-js/internals/export.js": |
| 2857 |
/*!***************************************************!*\ |
| 2858 |
!*** ../node_modules/core-js/internals/export.js ***! |
| 2859 |
\***************************************************/ |
| 2860 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2861 |
|
| 2862 |
"use strict"; |
| 2863 |
|
| 2864 |
var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); |
| 2865 |
var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../node_modules/core-js/internals/object-get-own-property-descriptor.js").f); |
| 2866 |
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); |
| 2867 |
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../node_modules/core-js/internals/define-built-in.js"); |
| 2868 |
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js"); |
| 2869 |
var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "../node_modules/core-js/internals/copy-constructor-properties.js"); |
| 2870 |
var isForced = __webpack_require__(/*! ../internals/is-forced */ "../node_modules/core-js/internals/is-forced.js"); |
| 2871 |
|
| 2872 |
/* |
| 2873 |
options.target - name of the target object |
| 2874 |
options.global - target is the global object |
| 2875 |
options.stat - export as static methods of target |
| 2876 |
options.proto - export as prototype methods of target |
| 2877 |
options.real - real prototype method for the `pure` version |
| 2878 |
options.forced - export even if the native feature is available |
| 2879 |
options.bind - bind methods to the target, required for the `pure` version |
| 2880 |
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version |
| 2881 |
options.unsafe - use the simple assignment of property instead of delete + defineProperty |
| 2882 |
options.sham - add a flag to not completely full polyfills |
| 2883 |
options.enumerable - export as enumerable property |
| 2884 |
options.dontCallGetSet - prevent calling a getter on target |
| 2885 |
options.name - the .name of the function if it does not match the key |
| 2886 |
*/ |
| 2887 |
module.exports = function (options, source) { |
| 2888 |
var TARGET = options.target; |
| 2889 |
var GLOBAL = options.global; |
| 2890 |
var STATIC = options.stat; |
| 2891 |
var FORCED, target, key, targetProperty, sourceProperty, descriptor; |
| 2892 |
if (GLOBAL) { |
| 2893 |
target = global; |
| 2894 |
} else if (STATIC) { |
| 2895 |
target = global[TARGET] || defineGlobalProperty(TARGET, {}); |
| 2896 |
} else { |
| 2897 |
target = (global[TARGET] || {}).prototype; |
| 2898 |
} |
| 2899 |
if (target) for (key in source) { |
| 2900 |
sourceProperty = source[key]; |
| 2901 |
if (options.dontCallGetSet) { |
| 2902 |
descriptor = getOwnPropertyDescriptor(target, key); |
| 2903 |
targetProperty = descriptor && descriptor.value; |
| 2904 |
} else targetProperty = target[key]; |
| 2905 |
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); |
| 2906 |
// contained in target |
| 2907 |
if (!FORCED && targetProperty !== undefined) { |
| 2908 |
if (typeof sourceProperty == typeof targetProperty) continue; |
| 2909 |
copyConstructorProperties(sourceProperty, targetProperty); |
| 2910 |
} |
| 2911 |
// add a flag to not completely full polyfills |
| 2912 |
if (options.sham || (targetProperty && targetProperty.sham)) { |
| 2913 |
createNonEnumerableProperty(sourceProperty, 'sham', true); |
| 2914 |
} |
| 2915 |
defineBuiltIn(target, key, sourceProperty, options); |
| 2916 |
} |
| 2917 |
}; |
| 2918 |
|
| 2919 |
|
| 2920 |
/***/ }), |
| 2921 |
|
| 2922 |
/***/ "../node_modules/core-js/internals/fails.js": |
| 2923 |
/*!**************************************************!*\ |
| 2924 |
!*** ../node_modules/core-js/internals/fails.js ***! |
| 2925 |
\**************************************************/ |
| 2926 |
/***/ ((module) => { |
| 2927 |
|
| 2928 |
"use strict"; |
| 2929 |
|
| 2930 |
module.exports = function (exec) { |
| 2931 |
try { |
| 2932 |
return !!exec(); |
| 2933 |
} catch (error) { |
| 2934 |
return true; |
| 2935 |
} |
| 2936 |
}; |
| 2937 |
|
| 2938 |
|
| 2939 |
/***/ }), |
| 2940 |
|
| 2941 |
/***/ "../node_modules/core-js/internals/function-apply.js": |
| 2942 |
/*!***********************************************************!*\ |
| 2943 |
!*** ../node_modules/core-js/internals/function-apply.js ***! |
| 2944 |
\***********************************************************/ |
| 2945 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2946 |
|
| 2947 |
"use strict"; |
| 2948 |
|
| 2949 |
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js"); |
| 2950 |
|
| 2951 |
var FunctionPrototype = Function.prototype; |
| 2952 |
var apply = FunctionPrototype.apply; |
| 2953 |
var call = FunctionPrototype.call; |
| 2954 |
|
| 2955 |
// eslint-disable-next-line es/no-reflect -- safe |
| 2956 |
module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () { |
| 2957 |
return call.apply(apply, arguments); |
| 2958 |
}); |
| 2959 |
|
| 2960 |
|
| 2961 |
/***/ }), |
| 2962 |
|
| 2963 |
/***/ "../node_modules/core-js/internals/function-bind-native.js": |
| 2964 |
/*!*****************************************************************!*\ |
| 2965 |
!*** ../node_modules/core-js/internals/function-bind-native.js ***! |
| 2966 |
\*****************************************************************/ |
| 2967 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2968 |
|
| 2969 |
"use strict"; |
| 2970 |
|
| 2971 |
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 2972 |
|
| 2973 |
module.exports = !fails(function () { |
| 2974 |
// eslint-disable-next-line es/no-function-prototype-bind -- safe |
| 2975 |
var test = (function () { /* empty */ }).bind(); |
| 2976 |
// eslint-disable-next-line no-prototype-builtins -- safe |
| 2977 |
return typeof test != 'function' || test.hasOwnProperty('prototype'); |
| 2978 |
}); |
| 2979 |
|
| 2980 |
|
| 2981 |
/***/ }), |
| 2982 |
|
| 2983 |
/***/ "../node_modules/core-js/internals/function-call.js": |
| 2984 |
/*!**********************************************************!*\ |
| 2985 |
!*** ../node_modules/core-js/internals/function-call.js ***! |
| 2986 |
\**********************************************************/ |
| 2987 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2988 |
|
| 2989 |
"use strict"; |
| 2990 |
|
| 2991 |
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js"); |
| 2992 |
|
| 2993 |
var call = Function.prototype.call; |
| 2994 |
|
| 2995 |
module.exports = NATIVE_BIND ? call.bind(call) : function () { |
| 2996 |
return call.apply(call, arguments); |
| 2997 |
}; |
| 2998 |
|
| 2999 |
|
| 3000 |
/***/ }), |
| 3001 |
|
| 3002 |
/***/ "../node_modules/core-js/internals/function-name.js": |
| 3003 |
/*!**********************************************************!*\ |
| 3004 |
!*** ../node_modules/core-js/internals/function-name.js ***! |
| 3005 |
\**********************************************************/ |
| 3006 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3007 |
|
| 3008 |
"use strict"; |
| 3009 |
|
| 3010 |
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 3011 |
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| 3012 |
|
| 3013 |
var FunctionPrototype = Function.prototype; |
| 3014 |
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe |
| 3015 |
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor; |
| 3016 |
|
| 3017 |
var EXISTS = hasOwn(FunctionPrototype, 'name'); |
| 3018 |
// additional protection from minified / mangled / dropped function names |
| 3019 |
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; |
| 3020 |
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable)); |
| 3021 |
|
| 3022 |
module.exports = { |
| 3023 |
EXISTS: EXISTS, |
| 3024 |
PROPER: PROPER, |
| 3025 |
CONFIGURABLE: CONFIGURABLE |
| 3026 |
}; |
| 3027 |
|
| 3028 |
|
| 3029 |
/***/ }), |
| 3030 |
|
| 3031 |
/***/ "../node_modules/core-js/internals/function-uncurry-this-accessor.js": |
| 3032 |
/*!***************************************************************************!*\ |
| 3033 |
!*** ../node_modules/core-js/internals/function-uncurry-this-accessor.js ***! |
| 3034 |
\***************************************************************************/ |
| 3035 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3036 |
|
| 3037 |
"use strict"; |
| 3038 |
|
| 3039 |
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 3040 |
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); |
| 3041 |
|
| 3042 |
module.exports = function (object, key, method) { |
| 3043 |
try { |
| 3044 |
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe |
| 3045 |
return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method])); |
| 3046 |
} catch (error) { /* empty */ } |
| 3047 |
}; |
| 3048 |
|
| 3049 |
|
| 3050 |
/***/ }), |
| 3051 |
|
| 3052 |
/***/ "../node_modules/core-js/internals/function-uncurry-this.js": |
| 3053 |
/*!******************************************************************!*\ |
| 3054 |
!*** ../node_modules/core-js/internals/function-uncurry-this.js ***! |
| 3055 |
\******************************************************************/ |
| 3056 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3057 |
|
| 3058 |
"use strict"; |
| 3059 |
|
| 3060 |
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js"); |
| 3061 |
|
| 3062 |
var FunctionPrototype = Function.prototype; |
| 3063 |
var call = FunctionPrototype.call; |
| 3064 |
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); |
| 3065 |
|
| 3066 |
module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) { |
| 3067 |
return function () { |
| 3068 |
return call.apply(fn, arguments); |
| 3069 |
}; |
| 3070 |
}; |
| 3071 |
|
| 3072 |
|
| 3073 |
/***/ }), |
| 3074 |
|
| 3075 |
/***/ "../node_modules/core-js/internals/get-built-in.js": |
| 3076 |
/*!*********************************************************!*\ |
| 3077 |
!*** ../node_modules/core-js/internals/get-built-in.js ***! |
| 3078 |
\*********************************************************/ |
| 3079 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3080 |
|
| 3081 |
"use strict"; |
| 3082 |
|
| 3083 |
var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); |
| 3084 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 3085 |
|
| 3086 |
var aFunction = function (argument) { |
| 3087 |
return isCallable(argument) ? argument : undefined; |
| 3088 |
}; |
| 3089 |
|
| 3090 |
module.exports = function (namespace, method) { |
| 3091 |
return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method]; |
| 3092 |
}; |
| 3093 |
|
| 3094 |
|
| 3095 |
/***/ }), |
| 3096 |
|
| 3097 |
/***/ "../node_modules/core-js/internals/get-method.js": |
| 3098 |
/*!*******************************************************!*\ |
| 3099 |
!*** ../node_modules/core-js/internals/get-method.js ***! |
| 3100 |
\*******************************************************/ |
| 3101 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3102 |
|
| 3103 |
"use strict"; |
| 3104 |
|
| 3105 |
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); |
| 3106 |
var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "../node_modules/core-js/internals/is-null-or-undefined.js"); |
| 3107 |
|
| 3108 |
// `GetMethod` abstract operation |
| 3109 |
// https://tc39.es/ecma262/#sec-getmethod |
| 3110 |
module.exports = function (V, P) { |
| 3111 |
var func = V[P]; |
| 3112 |
return isNullOrUndefined(func) ? undefined : aCallable(func); |
| 3113 |
}; |
| 3114 |
|
| 3115 |
|
| 3116 |
/***/ }), |
| 3117 |
|
| 3118 |
/***/ "../node_modules/core-js/internals/global.js": |
| 3119 |
/*!***************************************************!*\ |
| 3120 |
!*** ../node_modules/core-js/internals/global.js ***! |
| 3121 |
\***************************************************/ |
| 3122 |
/***/ (function(module, __unused_webpack_exports, __webpack_require__) { |
| 3123 |
|
| 3124 |
"use strict"; |
| 3125 |
|
| 3126 |
var check = function (it) { |
| 3127 |
return it && it.Math == Math && it; |
| 3128 |
}; |
| 3129 |
|
| 3130 |
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 |
| 3131 |
module.exports = |
| 3132 |
// eslint-disable-next-line es/no-global-this -- safe |
| 3133 |
check(typeof globalThis == 'object' && globalThis) || |
| 3134 |
check(typeof window == 'object' && window) || |
| 3135 |
// eslint-disable-next-line no-restricted-globals -- safe |
| 3136 |
check(typeof self == 'object' && self) || |
| 3137 |
check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) || |
| 3138 |
// eslint-disable-next-line no-new-func -- fallback |
| 3139 |
(function () { return this; })() || this || Function('return this')(); |
| 3140 |
|
| 3141 |
|
| 3142 |
/***/ }), |
| 3143 |
|
| 3144 |
/***/ "../node_modules/core-js/internals/has-own-property.js": |
| 3145 |
/*!*************************************************************!*\ |
| 3146 |
!*** ../node_modules/core-js/internals/has-own-property.js ***! |
| 3147 |
\*************************************************************/ |
| 3148 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3149 |
|
| 3150 |
"use strict"; |
| 3151 |
|
| 3152 |
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 3153 |
var toObject = __webpack_require__(/*! ../internals/to-object */ "../node_modules/core-js/internals/to-object.js"); |
| 3154 |
|
| 3155 |
var hasOwnProperty = uncurryThis({}.hasOwnProperty); |
| 3156 |
|
| 3157 |
// `HasOwnProperty` abstract operation |
| 3158 |
// https://tc39.es/ecma262/#sec-hasownproperty |
| 3159 |
// eslint-disable-next-line es/no-object-hasown -- safe |
| 3160 |
module.exports = Object.hasOwn || function hasOwn(it, key) { |
| 3161 |
return hasOwnProperty(toObject(it), key); |
| 3162 |
}; |
| 3163 |
|
| 3164 |
|
| 3165 |
/***/ }), |
| 3166 |
|
| 3167 |
/***/ "../node_modules/core-js/internals/hidden-keys.js": |
| 3168 |
/*!********************************************************!*\ |
| 3169 |
!*** ../node_modules/core-js/internals/hidden-keys.js ***! |
| 3170 |
\********************************************************/ |
| 3171 |
/***/ ((module) => { |
| 3172 |
|
| 3173 |
"use strict"; |
| 3174 |
|
| 3175 |
module.exports = {}; |
| 3176 |
|
| 3177 |
|
| 3178 |
/***/ }), |
| 3179 |
|
| 3180 |
/***/ "../node_modules/core-js/internals/ie8-dom-define.js": |
| 3181 |
/*!***********************************************************!*\ |
| 3182 |
!*** ../node_modules/core-js/internals/ie8-dom-define.js ***! |
| 3183 |
\***********************************************************/ |
| 3184 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3185 |
|
| 3186 |
"use strict"; |
| 3187 |
|
| 3188 |
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 3189 |
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 3190 |
var createElement = __webpack_require__(/*! ../internals/document-create-element */ "../node_modules/core-js/internals/document-create-element.js"); |
| 3191 |
|
| 3192 |
// Thanks to IE8 for its funny defineProperty |
| 3193 |
module.exports = !DESCRIPTORS && !fails(function () { |
| 3194 |
// eslint-disable-next-line es/no-object-defineproperty -- required for testing |
| 3195 |
return Object.defineProperty(createElement('div'), 'a', { |
| 3196 |
get: function () { return 7; } |
| 3197 |
}).a != 7; |
| 3198 |
}); |
| 3199 |
|
| 3200 |
|
| 3201 |
/***/ }), |
| 3202 |
|
| 3203 |
/***/ "../node_modules/core-js/internals/indexed-object.js": |
| 3204 |
/*!***********************************************************!*\ |
| 3205 |
!*** ../node_modules/core-js/internals/indexed-object.js ***! |
| 3206 |
\***********************************************************/ |
| 3207 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3208 |
|
| 3209 |
"use strict"; |
| 3210 |
|
| 3211 |
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 3212 |
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 3213 |
var classof = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js"); |
| 3214 |
|
| 3215 |
var $Object = Object; |
| 3216 |
var split = uncurryThis(''.split); |
| 3217 |
|
| 3218 |
// fallback for non-array-like ES3 and non-enumerable old V8 strings |
| 3219 |
module.exports = fails(function () { |
| 3220 |
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 |
| 3221 |
// eslint-disable-next-line no-prototype-builtins -- safe |
| 3222 |
return !$Object('z').propertyIsEnumerable(0); |
| 3223 |
}) ? function (it) { |
| 3224 |
return classof(it) == 'String' ? split(it, '') : $Object(it); |
| 3225 |
} : $Object; |
| 3226 |
|
| 3227 |
|
| 3228 |
/***/ }), |
| 3229 |
|
| 3230 |
/***/ "../node_modules/core-js/internals/inherit-if-required.js": |
| 3231 |
/*!****************************************************************!*\ |
| 3232 |
!*** ../node_modules/core-js/internals/inherit-if-required.js ***! |
| 3233 |
\****************************************************************/ |
| 3234 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3235 |
|
| 3236 |
"use strict"; |
| 3237 |
|
| 3238 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 3239 |
var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); |
| 3240 |
var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "../node_modules/core-js/internals/object-set-prototype-of.js"); |
| 3241 |
|
| 3242 |
// makes subclassing work correct for wrapped built-ins |
| 3243 |
module.exports = function ($this, dummy, Wrapper) { |
| 3244 |
var NewTarget, NewTargetPrototype; |
| 3245 |
if ( |
| 3246 |
// it can work only with native `setPrototypeOf` |
| 3247 |
setPrototypeOf && |
| 3248 |
// we haven't completely correct pre-ES6 way for getting `new.target`, so use this |
| 3249 |
isCallable(NewTarget = dummy.constructor) && |
| 3250 |
NewTarget !== Wrapper && |
| 3251 |
isObject(NewTargetPrototype = NewTarget.prototype) && |
| 3252 |
NewTargetPrototype !== Wrapper.prototype |
| 3253 |
) setPrototypeOf($this, NewTargetPrototype); |
| 3254 |
return $this; |
| 3255 |
}; |
| 3256 |
|
| 3257 |
|
| 3258 |
/***/ }), |
| 3259 |
|
| 3260 |
/***/ "../node_modules/core-js/internals/inspect-source.js": |
| 3261 |
/*!***********************************************************!*\ |
| 3262 |
!*** ../node_modules/core-js/internals/inspect-source.js ***! |
| 3263 |
\***********************************************************/ |
| 3264 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3265 |
|
| 3266 |
"use strict"; |
| 3267 |
|
| 3268 |
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 3269 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 3270 |
var store = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js"); |
| 3271 |
|
| 3272 |
var functionToString = uncurryThis(Function.toString); |
| 3273 |
|
| 3274 |
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper |
| 3275 |
if (!isCallable(store.inspectSource)) { |
| 3276 |
store.inspectSource = function (it) { |
| 3277 |
return functionToString(it); |
| 3278 |
}; |
| 3279 |
} |
| 3280 |
|
| 3281 |
module.exports = store.inspectSource; |
| 3282 |
|
| 3283 |
|
| 3284 |
/***/ }), |
| 3285 |
|
| 3286 |
/***/ "../node_modules/core-js/internals/install-error-cause.js": |
| 3287 |
/*!****************************************************************!*\ |
| 3288 |
!*** ../node_modules/core-js/internals/install-error-cause.js ***! |
| 3289 |
\****************************************************************/ |
| 3290 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3291 |
|
| 3292 |
"use strict"; |
| 3293 |
|
| 3294 |
var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); |
| 3295 |
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); |
| 3296 |
|
| 3297 |
// `InstallErrorCause` abstract operation |
| 3298 |
// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause |
| 3299 |
module.exports = function (O, options) { |
| 3300 |
if (isObject(options) && 'cause' in options) { |
| 3301 |
createNonEnumerableProperty(O, 'cause', options.cause); |
| 3302 |
} |
| 3303 |
}; |
| 3304 |
|
| 3305 |
|
| 3306 |
/***/ }), |
| 3307 |
|
| 3308 |
/***/ "../node_modules/core-js/internals/internal-state.js": |
| 3309 |
/*!***********************************************************!*\ |
| 3310 |
!*** ../node_modules/core-js/internals/internal-state.js ***! |
| 3311 |
\***********************************************************/ |
| 3312 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3313 |
|
| 3314 |
"use strict"; |
| 3315 |
|
| 3316 |
var NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/weak-map-basic-detection */ "../node_modules/core-js/internals/weak-map-basic-detection.js"); |
| 3317 |
var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); |
| 3318 |
var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); |
| 3319 |
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); |
| 3320 |
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| 3321 |
var shared = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js"); |
| 3322 |
var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "../node_modules/core-js/internals/shared-key.js"); |
| 3323 |
var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js"); |
| 3324 |
|
| 3325 |
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; |
| 3326 |
var TypeError = global.TypeError; |
| 3327 |
var WeakMap = global.WeakMap; |
| 3328 |
var set, get, has; |
| 3329 |
|
| 3330 |
var enforce = function (it) { |
| 3331 |
return has(it) ? get(it) : set(it, {}); |
| 3332 |
}; |
| 3333 |
|
| 3334 |
var getterFor = function (TYPE) { |
| 3335 |
return function (it) { |
| 3336 |
var state; |
| 3337 |
if (!isObject(it) || (state = get(it)).type !== TYPE) { |
| 3338 |
throw TypeError('Incompatible receiver, ' + TYPE + ' required'); |
| 3339 |
} return state; |
| 3340 |
}; |
| 3341 |
}; |
| 3342 |
|
| 3343 |
if (NATIVE_WEAK_MAP || shared.state) { |
| 3344 |
var store = shared.state || (shared.state = new WeakMap()); |
| 3345 |
/* eslint-disable no-self-assign -- prototype methods protection */ |
| 3346 |
store.get = store.get; |
| 3347 |
store.has = store.has; |
| 3348 |
store.set = store.set; |
| 3349 |
/* eslint-enable no-self-assign -- prototype methods protection */ |
| 3350 |
set = function (it, metadata) { |
| 3351 |
if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED); |
| 3352 |
metadata.facade = it; |
| 3353 |
store.set(it, metadata); |
| 3354 |
return metadata; |
| 3355 |
}; |
| 3356 |
get = function (it) { |
| 3357 |
return store.get(it) || {}; |
| 3358 |
}; |
| 3359 |
has = function (it) { |
| 3360 |
return store.has(it); |
| 3361 |
}; |
| 3362 |
} else { |
| 3363 |
var STATE = sharedKey('state'); |
| 3364 |
hiddenKeys[STATE] = true; |
| 3365 |
set = function (it, metadata) { |
| 3366 |
if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED); |
| 3367 |
metadata.facade = it; |
| 3368 |
createNonEnumerableProperty(it, STATE, metadata); |
| 3369 |
return metadata; |
| 3370 |
}; |
| 3371 |
get = function (it) { |
| 3372 |
return hasOwn(it, STATE) ? it[STATE] : {}; |
| 3373 |
}; |
| 3374 |
has = function (it) { |
| 3375 |
return hasOwn(it, STATE); |
| 3376 |
}; |
| 3377 |
} |
| 3378 |
|
| 3379 |
module.exports = { |
| 3380 |
set: set, |
| 3381 |
get: get, |
| 3382 |
has: has, |
| 3383 |
enforce: enforce, |
| 3384 |
getterFor: getterFor |
| 3385 |
}; |
| 3386 |
|
| 3387 |
|
| 3388 |
/***/ }), |
| 3389 |
|
| 3390 |
/***/ "../node_modules/core-js/internals/is-callable.js": |
| 3391 |
/*!********************************************************!*\ |
| 3392 |
!*** ../node_modules/core-js/internals/is-callable.js ***! |
| 3393 |
\********************************************************/ |
| 3394 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3395 |
|
| 3396 |
"use strict"; |
| 3397 |
|
| 3398 |
var $documentAll = __webpack_require__(/*! ../internals/document-all */ "../node_modules/core-js/internals/document-all.js"); |
| 3399 |
|
| 3400 |
var documentAll = $documentAll.all; |
| 3401 |
|
| 3402 |
// `IsCallable` abstract operation |
| 3403 |
// https://tc39.es/ecma262/#sec-iscallable |
| 3404 |
module.exports = $documentAll.IS_HTMLDDA ? function (argument) { |
| 3405 |
return typeof argument == 'function' || argument === documentAll; |
| 3406 |
} : function (argument) { |
| 3407 |
return typeof argument == 'function'; |
| 3408 |
}; |
| 3409 |
|
| 3410 |
|
| 3411 |
/***/ }), |
| 3412 |
|
| 3413 |
/***/ "../node_modules/core-js/internals/is-forced.js": |
| 3414 |
/*!******************************************************!*\ |
| 3415 |
!*** ../node_modules/core-js/internals/is-forced.js ***! |
| 3416 |
\******************************************************/ |
| 3417 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3418 |
|
| 3419 |
"use strict"; |
| 3420 |
|
| 3421 |
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 3422 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 3423 |
|
| 3424 |
var replacement = /#|\.prototype\./; |
| 3425 |
|
| 3426 |
var isForced = function (feature, detection) { |
| 3427 |
var value = data[normalize(feature)]; |
| 3428 |
return value == POLYFILL ? true |
| 3429 |
: value == NATIVE ? false |
| 3430 |
: isCallable(detection) ? fails(detection) |
| 3431 |
: !!detection; |
| 3432 |
}; |
| 3433 |
|
| 3434 |
var normalize = isForced.normalize = function (string) { |
| 3435 |
return String(string).replace(replacement, '.').toLowerCase(); |
| 3436 |
}; |
| 3437 |
|
| 3438 |
var data = isForced.data = {}; |
| 3439 |
var NATIVE = isForced.NATIVE = 'N'; |
| 3440 |
var POLYFILL = isForced.POLYFILL = 'P'; |
| 3441 |
|
| 3442 |
module.exports = isForced; |
| 3443 |
|
| 3444 |
|
| 3445 |
/***/ }), |
| 3446 |
|
| 3447 |
/***/ "../node_modules/core-js/internals/is-null-or-undefined.js": |
| 3448 |
/*!*****************************************************************!*\ |
| 3449 |
!*** ../node_modules/core-js/internals/is-null-or-undefined.js ***! |
| 3450 |
\*****************************************************************/ |
| 3451 |
/***/ ((module) => { |
| 3452 |
|
| 3453 |
"use strict"; |
| 3454 |
|
| 3455 |
// we can't use just `it == null` since of `document.all` special case |
| 3456 |
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec |
| 3457 |
module.exports = function (it) { |
| 3458 |
return it === null || it === undefined; |
| 3459 |
}; |
| 3460 |
|
| 3461 |
|
| 3462 |
/***/ }), |
| 3463 |
|
| 3464 |
/***/ "../node_modules/core-js/internals/is-object.js": |
| 3465 |
/*!******************************************************!*\ |
| 3466 |
!*** ../node_modules/core-js/internals/is-object.js ***! |
| 3467 |
\******************************************************/ |
| 3468 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3469 |
|
| 3470 |
"use strict"; |
| 3471 |
|
| 3472 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 3473 |
var $documentAll = __webpack_require__(/*! ../internals/document-all */ "../node_modules/core-js/internals/document-all.js"); |
| 3474 |
|
| 3475 |
var documentAll = $documentAll.all; |
| 3476 |
|
| 3477 |
module.exports = $documentAll.IS_HTMLDDA ? function (it) { |
| 3478 |
return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll; |
| 3479 |
} : function (it) { |
| 3480 |
return typeof it == 'object' ? it !== null : isCallable(it); |
| 3481 |
}; |
| 3482 |
|
| 3483 |
|
| 3484 |
/***/ }), |
| 3485 |
|
| 3486 |
/***/ "../node_modules/core-js/internals/is-pure.js": |
| 3487 |
/*!****************************************************!*\ |
| 3488 |
!*** ../node_modules/core-js/internals/is-pure.js ***! |
| 3489 |
\****************************************************/ |
| 3490 |
/***/ ((module) => { |
| 3491 |
|
| 3492 |
"use strict"; |
| 3493 |
|
| 3494 |
module.exports = false; |
| 3495 |
|
| 3496 |
|
| 3497 |
/***/ }), |
| 3498 |
|
| 3499 |
/***/ "../node_modules/core-js/internals/is-symbol.js": |
| 3500 |
/*!******************************************************!*\ |
| 3501 |
!*** ../node_modules/core-js/internals/is-symbol.js ***! |
| 3502 |
\******************************************************/ |
| 3503 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3504 |
|
| 3505 |
"use strict"; |
| 3506 |
|
| 3507 |
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js"); |
| 3508 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 3509 |
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js"); |
| 3510 |
var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../node_modules/core-js/internals/use-symbol-as-uid.js"); |
| 3511 |
|
| 3512 |
var $Object = Object; |
| 3513 |
|
| 3514 |
module.exports = USE_SYMBOL_AS_UID ? function (it) { |
| 3515 |
return typeof it == 'symbol'; |
| 3516 |
} : function (it) { |
| 3517 |
var $Symbol = getBuiltIn('Symbol'); |
| 3518 |
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it)); |
| 3519 |
}; |
| 3520 |
|
| 3521 |
|
| 3522 |
/***/ }), |
| 3523 |
|
| 3524 |
/***/ "../node_modules/core-js/internals/length-of-array-like.js": |
| 3525 |
/*!*****************************************************************!*\ |
| 3526 |
!*** ../node_modules/core-js/internals/length-of-array-like.js ***! |
| 3527 |
\*****************************************************************/ |
| 3528 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3529 |
|
| 3530 |
"use strict"; |
| 3531 |
|
| 3532 |
var toLength = __webpack_require__(/*! ../internals/to-length */ "../node_modules/core-js/internals/to-length.js"); |
| 3533 |
|
| 3534 |
// `LengthOfArrayLike` abstract operation |
| 3535 |
// https://tc39.es/ecma262/#sec-lengthofarraylike |
| 3536 |
module.exports = function (obj) { |
| 3537 |
return toLength(obj.length); |
| 3538 |
}; |
| 3539 |
|
| 3540 |
|
| 3541 |
/***/ }), |
| 3542 |
|
| 3543 |
/***/ "../node_modules/core-js/internals/make-built-in.js": |
| 3544 |
/*!**********************************************************!*\ |
| 3545 |
!*** ../node_modules/core-js/internals/make-built-in.js ***! |
| 3546 |
\**********************************************************/ |
| 3547 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3548 |
|
| 3549 |
"use strict"; |
| 3550 |
|
| 3551 |
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 3552 |
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 3553 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 3554 |
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| 3555 |
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 3556 |
var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ "../node_modules/core-js/internals/function-name.js").CONFIGURABLE); |
| 3557 |
var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../node_modules/core-js/internals/inspect-source.js"); |
| 3558 |
var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "../node_modules/core-js/internals/internal-state.js"); |
| 3559 |
|
| 3560 |
var enforceInternalState = InternalStateModule.enforce; |
| 3561 |
var getInternalState = InternalStateModule.get; |
| 3562 |
var $String = String; |
| 3563 |
// eslint-disable-next-line es/no-object-defineproperty -- safe |
| 3564 |
var defineProperty = Object.defineProperty; |
| 3565 |
var stringSlice = uncurryThis(''.slice); |
| 3566 |
var replace = uncurryThis(''.replace); |
| 3567 |
var join = uncurryThis([].join); |
| 3568 |
|
| 3569 |
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () { |
| 3570 |
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; |
| 3571 |
}); |
| 3572 |
|
| 3573 |
var TEMPLATE = String(String).split('String'); |
| 3574 |
|
| 3575 |
var makeBuiltIn = module.exports = function (value, name, options) { |
| 3576 |
if (stringSlice($String(name), 0, 7) === 'Symbol(') { |
| 3577 |
name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']'; |
| 3578 |
} |
| 3579 |
if (options && options.getter) name = 'get ' + name; |
| 3580 |
if (options && options.setter) name = 'set ' + name; |
| 3581 |
if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { |
| 3582 |
if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true }); |
| 3583 |
else value.name = name; |
| 3584 |
} |
| 3585 |
if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) { |
| 3586 |
defineProperty(value, 'length', { value: options.arity }); |
| 3587 |
} |
| 3588 |
try { |
| 3589 |
if (options && hasOwn(options, 'constructor') && options.constructor) { |
| 3590 |
if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false }); |
| 3591 |
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable |
| 3592 |
} else if (value.prototype) value.prototype = undefined; |
| 3593 |
} catch (error) { /* empty */ } |
| 3594 |
var state = enforceInternalState(value); |
| 3595 |
if (!hasOwn(state, 'source')) { |
| 3596 |
state.source = join(TEMPLATE, typeof name == 'string' ? name : ''); |
| 3597 |
} return value; |
| 3598 |
}; |
| 3599 |
|
| 3600 |
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative |
| 3601 |
// eslint-disable-next-line no-extend-native -- required |
| 3602 |
Function.prototype.toString = makeBuiltIn(function toString() { |
| 3603 |
return isCallable(this) && getInternalState(this).source || inspectSource(this); |
| 3604 |
}, 'toString'); |
| 3605 |
|
| 3606 |
|
| 3607 |
/***/ }), |
| 3608 |
|
| 3609 |
/***/ "../node_modules/core-js/internals/math-trunc.js": |
| 3610 |
/*!*******************************************************!*\ |
| 3611 |
!*** ../node_modules/core-js/internals/math-trunc.js ***! |
| 3612 |
\*******************************************************/ |
| 3613 |
/***/ ((module) => { |
| 3614 |
|
| 3615 |
"use strict"; |
| 3616 |
|
| 3617 |
var ceil = Math.ceil; |
| 3618 |
var floor = Math.floor; |
| 3619 |
|
| 3620 |
// `Math.trunc` method |
| 3621 |
// https://tc39.es/ecma262/#sec-math.trunc |
| 3622 |
// eslint-disable-next-line es/no-math-trunc -- safe |
| 3623 |
module.exports = Math.trunc || function trunc(x) { |
| 3624 |
var n = +x; |
| 3625 |
return (n > 0 ? floor : ceil)(n); |
| 3626 |
}; |
| 3627 |
|
| 3628 |
|
| 3629 |
/***/ }), |
| 3630 |
|
| 3631 |
/***/ "../node_modules/core-js/internals/normalize-string-argument.js": |
| 3632 |
/*!**********************************************************************!*\ |
| 3633 |
!*** ../node_modules/core-js/internals/normalize-string-argument.js ***! |
| 3634 |
\**********************************************************************/ |
| 3635 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3636 |
|
| 3637 |
"use strict"; |
| 3638 |
|
| 3639 |
var toString = __webpack_require__(/*! ../internals/to-string */ "../node_modules/core-js/internals/to-string.js"); |
| 3640 |
|
| 3641 |
module.exports = function (argument, $default) { |
| 3642 |
return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument); |
| 3643 |
}; |
| 3644 |
|
| 3645 |
|
| 3646 |
/***/ }), |
| 3647 |
|
| 3648 |
/***/ "../node_modules/core-js/internals/object-define-property.js": |
| 3649 |
/*!*******************************************************************!*\ |
| 3650 |
!*** ../node_modules/core-js/internals/object-define-property.js ***! |
| 3651 |
\*******************************************************************/ |
| 3652 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 3653 |
|
| 3654 |
"use strict"; |
| 3655 |
|
| 3656 |
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 3657 |
var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../node_modules/core-js/internals/ie8-dom-define.js"); |
| 3658 |
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "../node_modules/core-js/internals/v8-prototype-define-bug.js"); |
| 3659 |
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); |
| 3660 |
var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../node_modules/core-js/internals/to-property-key.js"); |
| 3661 |
|
| 3662 |
var $TypeError = TypeError; |
| 3663 |
// eslint-disable-next-line es/no-object-defineproperty -- safe |
| 3664 |
var $defineProperty = Object.defineProperty; |
| 3665 |
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe |
| 3666 |
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; |
| 3667 |
var ENUMERABLE = 'enumerable'; |
| 3668 |
var CONFIGURABLE = 'configurable'; |
| 3669 |
var WRITABLE = 'writable'; |
| 3670 |
|
| 3671 |
// `Object.defineProperty` method |
| 3672 |
// https://tc39.es/ecma262/#sec-object.defineproperty |
| 3673 |
exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) { |
| 3674 |
anObject(O); |
| 3675 |
P = toPropertyKey(P); |
| 3676 |
anObject(Attributes); |
| 3677 |
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { |
| 3678 |
var current = $getOwnPropertyDescriptor(O, P); |
| 3679 |
if (current && current[WRITABLE]) { |
| 3680 |
O[P] = Attributes.value; |
| 3681 |
Attributes = { |
| 3682 |
configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE], |
| 3683 |
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE], |
| 3684 |
writable: false |
| 3685 |
}; |
| 3686 |
} |
| 3687 |
} return $defineProperty(O, P, Attributes); |
| 3688 |
} : $defineProperty : function defineProperty(O, P, Attributes) { |
| 3689 |
anObject(O); |
| 3690 |
P = toPropertyKey(P); |
| 3691 |
anObject(Attributes); |
| 3692 |
if (IE8_DOM_DEFINE) try { |
| 3693 |
return $defineProperty(O, P, Attributes); |
| 3694 |
} catch (error) { /* empty */ } |
| 3695 |
if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported'); |
| 3696 |
if ('value' in Attributes) O[P] = Attributes.value; |
| 3697 |
return O; |
| 3698 |
}; |
| 3699 |
|
| 3700 |
|
| 3701 |
/***/ }), |
| 3702 |
|
| 3703 |
/***/ "../node_modules/core-js/internals/object-get-own-property-descriptor.js": |
| 3704 |
/*!*******************************************************************************!*\ |
| 3705 |
!*** ../node_modules/core-js/internals/object-get-own-property-descriptor.js ***! |
| 3706 |
\*******************************************************************************/ |
| 3707 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 3708 |
|
| 3709 |
"use strict"; |
| 3710 |
|
| 3711 |
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 3712 |
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); |
| 3713 |
var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ "../node_modules/core-js/internals/object-property-is-enumerable.js"); |
| 3714 |
var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js"); |
| 3715 |
var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js"); |
| 3716 |
var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../node_modules/core-js/internals/to-property-key.js"); |
| 3717 |
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| 3718 |
var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../node_modules/core-js/internals/ie8-dom-define.js"); |
| 3719 |
|
| 3720 |
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe |
| 3721 |
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; |
| 3722 |
|
| 3723 |
// `Object.getOwnPropertyDescriptor` method |
| 3724 |
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor |
| 3725 |
exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { |
| 3726 |
O = toIndexedObject(O); |
| 3727 |
P = toPropertyKey(P); |
| 3728 |
if (IE8_DOM_DEFINE) try { |
| 3729 |
return $getOwnPropertyDescriptor(O, P); |
| 3730 |
} catch (error) { /* empty */ } |
| 3731 |
if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]); |
| 3732 |
}; |
| 3733 |
|
| 3734 |
|
| 3735 |
/***/ }), |
| 3736 |
|
| 3737 |
/***/ "../node_modules/core-js/internals/object-get-own-property-names.js": |
| 3738 |
/*!**************************************************************************!*\ |
| 3739 |
!*** ../node_modules/core-js/internals/object-get-own-property-names.js ***! |
| 3740 |
\**************************************************************************/ |
| 3741 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 3742 |
|
| 3743 |
"use strict"; |
| 3744 |
|
| 3745 |
var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "../node_modules/core-js/internals/object-keys-internal.js"); |
| 3746 |
var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "../node_modules/core-js/internals/enum-bug-keys.js"); |
| 3747 |
|
| 3748 |
var hiddenKeys = enumBugKeys.concat('length', 'prototype'); |
| 3749 |
|
| 3750 |
// `Object.getOwnPropertyNames` method |
| 3751 |
// https://tc39.es/ecma262/#sec-object.getownpropertynames |
| 3752 |
// eslint-disable-next-line es/no-object-getownpropertynames -- safe |
| 3753 |
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { |
| 3754 |
return internalObjectKeys(O, hiddenKeys); |
| 3755 |
}; |
| 3756 |
|
| 3757 |
|
| 3758 |
/***/ }), |
| 3759 |
|
| 3760 |
/***/ "../node_modules/core-js/internals/object-get-own-property-symbols.js": |
| 3761 |
/*!****************************************************************************!*\ |
| 3762 |
!*** ../node_modules/core-js/internals/object-get-own-property-symbols.js ***! |
| 3763 |
\****************************************************************************/ |
| 3764 |
/***/ ((__unused_webpack_module, exports) => { |
| 3765 |
|
| 3766 |
"use strict"; |
| 3767 |
|
| 3768 |
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe |
| 3769 |
exports.f = Object.getOwnPropertySymbols; |
| 3770 |
|
| 3771 |
|
| 3772 |
/***/ }), |
| 3773 |
|
| 3774 |
/***/ "../node_modules/core-js/internals/object-is-prototype-of.js": |
| 3775 |
/*!*******************************************************************!*\ |
| 3776 |
!*** ../node_modules/core-js/internals/object-is-prototype-of.js ***! |
| 3777 |
\*******************************************************************/ |
| 3778 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3779 |
|
| 3780 |
"use strict"; |
| 3781 |
|
| 3782 |
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 3783 |
|
| 3784 |
module.exports = uncurryThis({}.isPrototypeOf); |
| 3785 |
|
| 3786 |
|
| 3787 |
/***/ }), |
| 3788 |
|
| 3789 |
/***/ "../node_modules/core-js/internals/object-keys-internal.js": |
| 3790 |
/*!*****************************************************************!*\ |
| 3791 |
!*** ../node_modules/core-js/internals/object-keys-internal.js ***! |
| 3792 |
\*****************************************************************/ |
| 3793 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3794 |
|
| 3795 |
"use strict"; |
| 3796 |
|
| 3797 |
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 3798 |
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| 3799 |
var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js"); |
| 3800 |
var indexOf = (__webpack_require__(/*! ../internals/array-includes */ "../node_modules/core-js/internals/array-includes.js").indexOf); |
| 3801 |
var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js"); |
| 3802 |
|
| 3803 |
var push = uncurryThis([].push); |
| 3804 |
|
| 3805 |
module.exports = function (object, names) { |
| 3806 |
var O = toIndexedObject(object); |
| 3807 |
var i = 0; |
| 3808 |
var result = []; |
| 3809 |
var key; |
| 3810 |
for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key); |
| 3811 |
// Don't enum bug & hidden keys |
| 3812 |
while (names.length > i) if (hasOwn(O, key = names[i++])) { |
| 3813 |
~indexOf(result, key) || push(result, key); |
| 3814 |
} |
| 3815 |
return result; |
| 3816 |
}; |
| 3817 |
|
| 3818 |
|
| 3819 |
/***/ }), |
| 3820 |
|
| 3821 |
/***/ "../node_modules/core-js/internals/object-property-is-enumerable.js": |
| 3822 |
/*!**************************************************************************!*\ |
| 3823 |
!*** ../node_modules/core-js/internals/object-property-is-enumerable.js ***! |
| 3824 |
\**************************************************************************/ |
| 3825 |
/***/ ((__unused_webpack_module, exports) => { |
| 3826 |
|
| 3827 |
"use strict"; |
| 3828 |
|
| 3829 |
var $propertyIsEnumerable = {}.propertyIsEnumerable; |
| 3830 |
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe |
| 3831 |
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; |
| 3832 |
|
| 3833 |
// Nashorn ~ JDK8 bug |
| 3834 |
var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1); |
| 3835 |
|
| 3836 |
// `Object.prototype.propertyIsEnumerable` method implementation |
| 3837 |
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable |
| 3838 |
exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { |
| 3839 |
var descriptor = getOwnPropertyDescriptor(this, V); |
| 3840 |
return !!descriptor && descriptor.enumerable; |
| 3841 |
} : $propertyIsEnumerable; |
| 3842 |
|
| 3843 |
|
| 3844 |
/***/ }), |
| 3845 |
|
| 3846 |
/***/ "../node_modules/core-js/internals/object-set-prototype-of.js": |
| 3847 |
/*!********************************************************************!*\ |
| 3848 |
!*** ../node_modules/core-js/internals/object-set-prototype-of.js ***! |
| 3849 |
\********************************************************************/ |
| 3850 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3851 |
|
| 3852 |
"use strict"; |
| 3853 |
|
| 3854 |
/* eslint-disable no-proto -- safe */ |
| 3855 |
var uncurryThisAccessor = __webpack_require__(/*! ../internals/function-uncurry-this-accessor */ "../node_modules/core-js/internals/function-uncurry-this-accessor.js"); |
| 3856 |
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); |
| 3857 |
var aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototype */ "../node_modules/core-js/internals/a-possible-prototype.js"); |
| 3858 |
|
| 3859 |
// `Object.setPrototypeOf` method |
| 3860 |
// https://tc39.es/ecma262/#sec-object.setprototypeof |
| 3861 |
// Works with __proto__ only. Old v8 can't work with null proto objects. |
| 3862 |
// eslint-disable-next-line es/no-object-setprototypeof -- safe |
| 3863 |
module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { |
| 3864 |
var CORRECT_SETTER = false; |
| 3865 |
var test = {}; |
| 3866 |
var setter; |
| 3867 |
try { |
| 3868 |
setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set'); |
| 3869 |
setter(test, []); |
| 3870 |
CORRECT_SETTER = test instanceof Array; |
| 3871 |
} catch (error) { /* empty */ } |
| 3872 |
return function setPrototypeOf(O, proto) { |
| 3873 |
anObject(O); |
| 3874 |
aPossiblePrototype(proto); |
| 3875 |
if (CORRECT_SETTER) setter(O, proto); |
| 3876 |
else O.__proto__ = proto; |
| 3877 |
return O; |
| 3878 |
}; |
| 3879 |
}() : undefined); |
| 3880 |
|
| 3881 |
|
| 3882 |
/***/ }), |
| 3883 |
|
| 3884 |
/***/ "../node_modules/core-js/internals/ordinary-to-primitive.js": |
| 3885 |
/*!******************************************************************!*\ |
| 3886 |
!*** ../node_modules/core-js/internals/ordinary-to-primitive.js ***! |
| 3887 |
\******************************************************************/ |
| 3888 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3889 |
|
| 3890 |
"use strict"; |
| 3891 |
|
| 3892 |
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); |
| 3893 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 3894 |
var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); |
| 3895 |
|
| 3896 |
var $TypeError = TypeError; |
| 3897 |
|
| 3898 |
// `OrdinaryToPrimitive` abstract operation |
| 3899 |
// https://tc39.es/ecma262/#sec-ordinarytoprimitive |
| 3900 |
module.exports = function (input, pref) { |
| 3901 |
var fn, val; |
| 3902 |
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; |
| 3903 |
if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val; |
| 3904 |
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; |
| 3905 |
throw $TypeError("Can't convert object to primitive value"); |
| 3906 |
}; |
| 3907 |
|
| 3908 |
|
| 3909 |
/***/ }), |
| 3910 |
|
| 3911 |
/***/ "../node_modules/core-js/internals/own-keys.js": |
| 3912 |
/*!*****************************************************!*\ |
| 3913 |
!*** ../node_modules/core-js/internals/own-keys.js ***! |
| 3914 |
\*****************************************************/ |
| 3915 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3916 |
|
| 3917 |
"use strict"; |
| 3918 |
|
| 3919 |
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js"); |
| 3920 |
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 3921 |
var getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ "../node_modules/core-js/internals/object-get-own-property-names.js"); |
| 3922 |
var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ "../node_modules/core-js/internals/object-get-own-property-symbols.js"); |
| 3923 |
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); |
| 3924 |
|
| 3925 |
var concat = uncurryThis([].concat); |
| 3926 |
|
| 3927 |
// all object keys, includes non-enumerable and symbols |
| 3928 |
module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { |
| 3929 |
var keys = getOwnPropertyNamesModule.f(anObject(it)); |
| 3930 |
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; |
| 3931 |
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys; |
| 3932 |
}; |
| 3933 |
|
| 3934 |
|
| 3935 |
/***/ }), |
| 3936 |
|
| 3937 |
/***/ "../node_modules/core-js/internals/proxy-accessor.js": |
| 3938 |
/*!***********************************************************!*\ |
| 3939 |
!*** ../node_modules/core-js/internals/proxy-accessor.js ***! |
| 3940 |
\***********************************************************/ |
| 3941 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3942 |
|
| 3943 |
"use strict"; |
| 3944 |
|
| 3945 |
var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js").f); |
| 3946 |
|
| 3947 |
module.exports = function (Target, Source, key) { |
| 3948 |
key in Target || defineProperty(Target, key, { |
| 3949 |
configurable: true, |
| 3950 |
get: function () { return Source[key]; }, |
| 3951 |
set: function (it) { Source[key] = it; } |
| 3952 |
}); |
| 3953 |
}; |
| 3954 |
|
| 3955 |
|
| 3956 |
/***/ }), |
| 3957 |
|
| 3958 |
/***/ "../node_modules/core-js/internals/require-object-coercible.js": |
| 3959 |
/*!*********************************************************************!*\ |
| 3960 |
!*** ../node_modules/core-js/internals/require-object-coercible.js ***! |
| 3961 |
\*********************************************************************/ |
| 3962 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3963 |
|
| 3964 |
"use strict"; |
| 3965 |
|
| 3966 |
var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "../node_modules/core-js/internals/is-null-or-undefined.js"); |
| 3967 |
|
| 3968 |
var $TypeError = TypeError; |
| 3969 |
|
| 3970 |
// `RequireObjectCoercible` abstract operation |
| 3971 |
// https://tc39.es/ecma262/#sec-requireobjectcoercible |
| 3972 |
module.exports = function (it) { |
| 3973 |
if (isNullOrUndefined(it)) throw $TypeError("Can't call method on " + it); |
| 3974 |
return it; |
| 3975 |
}; |
| 3976 |
|
| 3977 |
|
| 3978 |
/***/ }), |
| 3979 |
|
| 3980 |
/***/ "../node_modules/core-js/internals/shared-key.js": |
| 3981 |
/*!*******************************************************!*\ |
| 3982 |
!*** ../node_modules/core-js/internals/shared-key.js ***! |
| 3983 |
\*******************************************************/ |
| 3984 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3985 |
|
| 3986 |
"use strict"; |
| 3987 |
|
| 3988 |
var shared = __webpack_require__(/*! ../internals/shared */ "../node_modules/core-js/internals/shared.js"); |
| 3989 |
var uid = __webpack_require__(/*! ../internals/uid */ "../node_modules/core-js/internals/uid.js"); |
| 3990 |
|
| 3991 |
var keys = shared('keys'); |
| 3992 |
|
| 3993 |
module.exports = function (key) { |
| 3994 |
return keys[key] || (keys[key] = uid(key)); |
| 3995 |
}; |
| 3996 |
|
| 3997 |
|
| 3998 |
/***/ }), |
| 3999 |
|
| 4000 |
/***/ "../node_modules/core-js/internals/shared-store.js": |
| 4001 |
/*!*********************************************************!*\ |
| 4002 |
!*** ../node_modules/core-js/internals/shared-store.js ***! |
| 4003 |
\*********************************************************/ |
| 4004 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4005 |
|
| 4006 |
"use strict"; |
| 4007 |
|
| 4008 |
var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); |
| 4009 |
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js"); |
| 4010 |
|
| 4011 |
var SHARED = '__core-js_shared__'; |
| 4012 |
var store = global[SHARED] || defineGlobalProperty(SHARED, {}); |
| 4013 |
|
| 4014 |
module.exports = store; |
| 4015 |
|
| 4016 |
|
| 4017 |
/***/ }), |
| 4018 |
|
| 4019 |
/***/ "../node_modules/core-js/internals/shared.js": |
| 4020 |
/*!***************************************************!*\ |
| 4021 |
!*** ../node_modules/core-js/internals/shared.js ***! |
| 4022 |
\***************************************************/ |
| 4023 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4024 |
|
| 4025 |
"use strict"; |
| 4026 |
|
| 4027 |
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js"); |
| 4028 |
var store = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js"); |
| 4029 |
|
| 4030 |
(module.exports = function (key, value) { |
| 4031 |
return store[key] || (store[key] = value !== undefined ? value : {}); |
| 4032 |
})('versions', []).push({ |
| 4033 |
version: '3.32.0', |
| 4034 |
mode: IS_PURE ? 'pure' : 'global', |
| 4035 |
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)', |
| 4036 |
license: 'https://github.com/zloirock/core-js/blob/v3.32.0/LICENSE', |
| 4037 |
source: 'https://github.com/zloirock/core-js' |
| 4038 |
}); |
| 4039 |
|
| 4040 |
|
| 4041 |
/***/ }), |
| 4042 |
|
| 4043 |
/***/ "../node_modules/core-js/internals/symbol-constructor-detection.js": |
| 4044 |
/*!*************************************************************************!*\ |
| 4045 |
!*** ../node_modules/core-js/internals/symbol-constructor-detection.js ***! |
| 4046 |
\*************************************************************************/ |
| 4047 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4048 |
|
| 4049 |
"use strict"; |
| 4050 |
|
| 4051 |
/* eslint-disable es/no-symbol -- required for testing */ |
| 4052 |
var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "../node_modules/core-js/internals/engine-v8-version.js"); |
| 4053 |
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 4054 |
var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); |
| 4055 |
|
| 4056 |
var $String = global.String; |
| 4057 |
|
| 4058 |
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing |
| 4059 |
module.exports = !!Object.getOwnPropertySymbols && !fails(function () { |
| 4060 |
var symbol = Symbol(); |
| 4061 |
// Chrome 38 Symbol has incorrect toString conversion |
| 4062 |
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances |
| 4063 |
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will, |
| 4064 |
// of course, fail. |
| 4065 |
return !$String(symbol) || !(Object(symbol) instanceof Symbol) || |
| 4066 |
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances |
| 4067 |
!Symbol.sham && V8_VERSION && V8_VERSION < 41; |
| 4068 |
}); |
| 4069 |
|
| 4070 |
|
| 4071 |
/***/ }), |
| 4072 |
|
| 4073 |
/***/ "../node_modules/core-js/internals/to-absolute-index.js": |
| 4074 |
/*!**************************************************************!*\ |
| 4075 |
!*** ../node_modules/core-js/internals/to-absolute-index.js ***! |
| 4076 |
\**************************************************************/ |
| 4077 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4078 |
|
| 4079 |
"use strict"; |
| 4080 |
|
| 4081 |
var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "../node_modules/core-js/internals/to-integer-or-infinity.js"); |
| 4082 |
|
| 4083 |
var max = Math.max; |
| 4084 |
var min = Math.min; |
| 4085 |
|
| 4086 |
// Helper for a popular repeating case of the spec: |
| 4087 |
// Let integer be ? ToInteger(index). |
| 4088 |
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). |
| 4089 |
module.exports = function (index, length) { |
| 4090 |
var integer = toIntegerOrInfinity(index); |
| 4091 |
return integer < 0 ? max(integer + length, 0) : min(integer, length); |
| 4092 |
}; |
| 4093 |
|
| 4094 |
|
| 4095 |
/***/ }), |
| 4096 |
|
| 4097 |
/***/ "../node_modules/core-js/internals/to-indexed-object.js": |
| 4098 |
/*!**************************************************************!*\ |
| 4099 |
!*** ../node_modules/core-js/internals/to-indexed-object.js ***! |
| 4100 |
\**************************************************************/ |
| 4101 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4102 |
|
| 4103 |
"use strict"; |
| 4104 |
|
| 4105 |
// toObject with fallback for non-array-like ES3 strings |
| 4106 |
var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "../node_modules/core-js/internals/indexed-object.js"); |
| 4107 |
var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../node_modules/core-js/internals/require-object-coercible.js"); |
| 4108 |
|
| 4109 |
module.exports = function (it) { |
| 4110 |
return IndexedObject(requireObjectCoercible(it)); |
| 4111 |
}; |
| 4112 |
|
| 4113 |
|
| 4114 |
/***/ }), |
| 4115 |
|
| 4116 |
/***/ "../node_modules/core-js/internals/to-integer-or-infinity.js": |
| 4117 |
/*!*******************************************************************!*\ |
| 4118 |
!*** ../node_modules/core-js/internals/to-integer-or-infinity.js ***! |
| 4119 |
\*******************************************************************/ |
| 4120 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4121 |
|
| 4122 |
"use strict"; |
| 4123 |
|
| 4124 |
var trunc = __webpack_require__(/*! ../internals/math-trunc */ "../node_modules/core-js/internals/math-trunc.js"); |
| 4125 |
|
| 4126 |
// `ToIntegerOrInfinity` abstract operation |
| 4127 |
// https://tc39.es/ecma262/#sec-tointegerorinfinity |
| 4128 |
module.exports = function (argument) { |
| 4129 |
var number = +argument; |
| 4130 |
// eslint-disable-next-line no-self-compare -- NaN check |
| 4131 |
return number !== number || number === 0 ? 0 : trunc(number); |
| 4132 |
}; |
| 4133 |
|
| 4134 |
|
| 4135 |
/***/ }), |
| 4136 |
|
| 4137 |
/***/ "../node_modules/core-js/internals/to-length.js": |
| 4138 |
/*!******************************************************!*\ |
| 4139 |
!*** ../node_modules/core-js/internals/to-length.js ***! |
| 4140 |
\******************************************************/ |
| 4141 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4142 |
|
| 4143 |
"use strict"; |
| 4144 |
|
| 4145 |
var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "../node_modules/core-js/internals/to-integer-or-infinity.js"); |
| 4146 |
|
| 4147 |
var min = Math.min; |
| 4148 |
|
| 4149 |
// `ToLength` abstract operation |
| 4150 |
// https://tc39.es/ecma262/#sec-tolength |
| 4151 |
module.exports = function (argument) { |
| 4152 |
return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 |
| 4153 |
}; |
| 4154 |
|
| 4155 |
|
| 4156 |
/***/ }), |
| 4157 |
|
| 4158 |
/***/ "../node_modules/core-js/internals/to-object.js": |
| 4159 |
/*!******************************************************!*\ |
| 4160 |
!*** ../node_modules/core-js/internals/to-object.js ***! |
| 4161 |
\******************************************************/ |
| 4162 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4163 |
|
| 4164 |
"use strict"; |
| 4165 |
|
| 4166 |
var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../node_modules/core-js/internals/require-object-coercible.js"); |
| 4167 |
|
| 4168 |
var $Object = Object; |
| 4169 |
|
| 4170 |
// `ToObject` abstract operation |
| 4171 |
// https://tc39.es/ecma262/#sec-toobject |
| 4172 |
module.exports = function (argument) { |
| 4173 |
return $Object(requireObjectCoercible(argument)); |
| 4174 |
}; |
| 4175 |
|
| 4176 |
|
| 4177 |
/***/ }), |
| 4178 |
|
| 4179 |
/***/ "../node_modules/core-js/internals/to-primitive.js": |
| 4180 |
/*!*********************************************************!*\ |
| 4181 |
!*** ../node_modules/core-js/internals/to-primitive.js ***! |
| 4182 |
\*********************************************************/ |
| 4183 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4184 |
|
| 4185 |
"use strict"; |
| 4186 |
|
| 4187 |
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); |
| 4188 |
var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); |
| 4189 |
var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../node_modules/core-js/internals/is-symbol.js"); |
| 4190 |
var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js"); |
| 4191 |
var ordinaryToPrimitive = __webpack_require__(/*! ../internals/ordinary-to-primitive */ "../node_modules/core-js/internals/ordinary-to-primitive.js"); |
| 4192 |
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); |
| 4193 |
|
| 4194 |
var $TypeError = TypeError; |
| 4195 |
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); |
| 4196 |
|
| 4197 |
// `ToPrimitive` abstract operation |
| 4198 |
// https://tc39.es/ecma262/#sec-toprimitive |
| 4199 |
module.exports = function (input, pref) { |
| 4200 |
if (!isObject(input) || isSymbol(input)) return input; |
| 4201 |
var exoticToPrim = getMethod(input, TO_PRIMITIVE); |
| 4202 |
var result; |
| 4203 |
if (exoticToPrim) { |
| 4204 |
if (pref === undefined) pref = 'default'; |
| 4205 |
result = call(exoticToPrim, input, pref); |
| 4206 |
if (!isObject(result) || isSymbol(result)) return result; |
| 4207 |
throw $TypeError("Can't convert object to primitive value"); |
| 4208 |
} |
| 4209 |
if (pref === undefined) pref = 'number'; |
| 4210 |
return ordinaryToPrimitive(input, pref); |
| 4211 |
}; |
| 4212 |
|
| 4213 |
|
| 4214 |
/***/ }), |
| 4215 |
|
| 4216 |
/***/ "../node_modules/core-js/internals/to-property-key.js": |
| 4217 |
/*!************************************************************!*\ |
| 4218 |
!*** ../node_modules/core-js/internals/to-property-key.js ***! |
| 4219 |
\************************************************************/ |
| 4220 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4221 |
|
| 4222 |
"use strict"; |
| 4223 |
|
| 4224 |
var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "../node_modules/core-js/internals/to-primitive.js"); |
| 4225 |
var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../node_modules/core-js/internals/is-symbol.js"); |
| 4226 |
|
| 4227 |
// `ToPropertyKey` abstract operation |
| 4228 |
// https://tc39.es/ecma262/#sec-topropertykey |
| 4229 |
module.exports = function (argument) { |
| 4230 |
var key = toPrimitive(argument, 'string'); |
| 4231 |
return isSymbol(key) ? key : key + ''; |
| 4232 |
}; |
| 4233 |
|
| 4234 |
|
| 4235 |
/***/ }), |
| 4236 |
|
| 4237 |
/***/ "../node_modules/core-js/internals/to-string-tag-support.js": |
| 4238 |
/*!******************************************************************!*\ |
| 4239 |
!*** ../node_modules/core-js/internals/to-string-tag-support.js ***! |
| 4240 |
\******************************************************************/ |
| 4241 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4242 |
|
| 4243 |
"use strict"; |
| 4244 |
|
| 4245 |
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); |
| 4246 |
|
| 4247 |
var TO_STRING_TAG = wellKnownSymbol('toStringTag'); |
| 4248 |
var test = {}; |
| 4249 |
|
| 4250 |
test[TO_STRING_TAG] = 'z'; |
| 4251 |
|
| 4252 |
module.exports = String(test) === '[object z]'; |
| 4253 |
|
| 4254 |
|
| 4255 |
/***/ }), |
| 4256 |
|
| 4257 |
/***/ "../node_modules/core-js/internals/to-string.js": |
| 4258 |
/*!******************************************************!*\ |
| 4259 |
!*** ../node_modules/core-js/internals/to-string.js ***! |
| 4260 |
\******************************************************/ |
| 4261 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4262 |
|
| 4263 |
"use strict"; |
| 4264 |
|
| 4265 |
var classof = __webpack_require__(/*! ../internals/classof */ "../node_modules/core-js/internals/classof.js"); |
| 4266 |
|
| 4267 |
var $String = String; |
| 4268 |
|
| 4269 |
module.exports = function (argument) { |
| 4270 |
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string'); |
| 4271 |
return $String(argument); |
| 4272 |
}; |
| 4273 |
|
| 4274 |
|
| 4275 |
/***/ }), |
| 4276 |
|
| 4277 |
/***/ "../node_modules/core-js/internals/try-to-string.js": |
| 4278 |
/*!**********************************************************!*\ |
| 4279 |
!*** ../node_modules/core-js/internals/try-to-string.js ***! |
| 4280 |
\**********************************************************/ |
| 4281 |
/***/ ((module) => { |
| 4282 |
|
| 4283 |
"use strict"; |
| 4284 |
|
| 4285 |
var $String = String; |
| 4286 |
|
| 4287 |
module.exports = function (argument) { |
| 4288 |
try { |
| 4289 |
return $String(argument); |
| 4290 |
} catch (error) { |
| 4291 |
return 'Object'; |
| 4292 |
} |
| 4293 |
}; |
| 4294 |
|
| 4295 |
|
| 4296 |
/***/ }), |
| 4297 |
|
| 4298 |
/***/ "../node_modules/core-js/internals/uid.js": |
| 4299 |
/*!************************************************!*\ |
| 4300 |
!*** ../node_modules/core-js/internals/uid.js ***! |
| 4301 |
\************************************************/ |
| 4302 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4303 |
|
| 4304 |
"use strict"; |
| 4305 |
|
| 4306 |
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 4307 |
|
| 4308 |
var id = 0; |
| 4309 |
var postfix = Math.random(); |
| 4310 |
var toString = uncurryThis(1.0.toString); |
| 4311 |
|
| 4312 |
module.exports = function (key) { |
| 4313 |
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); |
| 4314 |
}; |
| 4315 |
|
| 4316 |
|
| 4317 |
/***/ }), |
| 4318 |
|
| 4319 |
/***/ "../node_modules/core-js/internals/use-symbol-as-uid.js": |
| 4320 |
/*!**************************************************************!*\ |
| 4321 |
!*** ../node_modules/core-js/internals/use-symbol-as-uid.js ***! |
| 4322 |
\**************************************************************/ |
| 4323 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4324 |
|
| 4325 |
"use strict"; |
| 4326 |
|
| 4327 |
/* eslint-disable es/no-symbol -- required for testing */ |
| 4328 |
var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "../node_modules/core-js/internals/symbol-constructor-detection.js"); |
| 4329 |
|
| 4330 |
module.exports = NATIVE_SYMBOL |
| 4331 |
&& !Symbol.sham |
| 4332 |
&& typeof Symbol.iterator == 'symbol'; |
| 4333 |
|
| 4334 |
|
| 4335 |
/***/ }), |
| 4336 |
|
| 4337 |
/***/ "../node_modules/core-js/internals/v8-prototype-define-bug.js": |
| 4338 |
/*!********************************************************************!*\ |
| 4339 |
!*** ../node_modules/core-js/internals/v8-prototype-define-bug.js ***! |
| 4340 |
\********************************************************************/ |
| 4341 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4342 |
|
| 4343 |
"use strict"; |
| 4344 |
|
| 4345 |
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 4346 |
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 4347 |
|
| 4348 |
// V8 ~ Chrome 36- |
| 4349 |
// https://bugs.chromium.org/p/v8/issues/detail?id=3334 |
| 4350 |
module.exports = DESCRIPTORS && fails(function () { |
| 4351 |
// eslint-disable-next-line es/no-object-defineproperty -- required for testing |
| 4352 |
return Object.defineProperty(function () { /* empty */ }, 'prototype', { |
| 4353 |
value: 42, |
| 4354 |
writable: false |
| 4355 |
}).prototype != 42; |
| 4356 |
}); |
| 4357 |
|
| 4358 |
|
| 4359 |
/***/ }), |
| 4360 |
|
| 4361 |
/***/ "../node_modules/core-js/internals/weak-map-basic-detection.js": |
| 4362 |
/*!*********************************************************************!*\ |
| 4363 |
!*** ../node_modules/core-js/internals/weak-map-basic-detection.js ***! |
| 4364 |
\*********************************************************************/ |
| 4365 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4366 |
|
| 4367 |
"use strict"; |
| 4368 |
|
| 4369 |
var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); |
| 4370 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 4371 |
|
| 4372 |
var WeakMap = global.WeakMap; |
| 4373 |
|
| 4374 |
module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap)); |
| 4375 |
|
| 4376 |
|
| 4377 |
/***/ }), |
| 4378 |
|
| 4379 |
/***/ "../node_modules/core-js/internals/well-known-symbol.js": |
| 4380 |
/*!**************************************************************!*\ |
| 4381 |
!*** ../node_modules/core-js/internals/well-known-symbol.js ***! |
| 4382 |
\**************************************************************/ |
| 4383 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4384 |
|
| 4385 |
"use strict"; |
| 4386 |
|
| 4387 |
var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); |
| 4388 |
var shared = __webpack_require__(/*! ../internals/shared */ "../node_modules/core-js/internals/shared.js"); |
| 4389 |
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| 4390 |
var uid = __webpack_require__(/*! ../internals/uid */ "../node_modules/core-js/internals/uid.js"); |
| 4391 |
var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "../node_modules/core-js/internals/symbol-constructor-detection.js"); |
| 4392 |
var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../node_modules/core-js/internals/use-symbol-as-uid.js"); |
| 4393 |
|
| 4394 |
var Symbol = global.Symbol; |
| 4395 |
var WellKnownSymbolsStore = shared('wks'); |
| 4396 |
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid; |
| 4397 |
|
| 4398 |
module.exports = function (name) { |
| 4399 |
if (!hasOwn(WellKnownSymbolsStore, name)) { |
| 4400 |
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name) |
| 4401 |
? Symbol[name] |
| 4402 |
: createWellKnownSymbol('Symbol.' + name); |
| 4403 |
} return WellKnownSymbolsStore[name]; |
| 4404 |
}; |
| 4405 |
|
| 4406 |
|
| 4407 |
/***/ }), |
| 4408 |
|
| 4409 |
/***/ "../node_modules/core-js/internals/wrap-error-constructor-with-cause.js": |
| 4410 |
/*!******************************************************************************!*\ |
| 4411 |
!*** ../node_modules/core-js/internals/wrap-error-constructor-with-cause.js ***! |
| 4412 |
\******************************************************************************/ |
| 4413 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4414 |
|
| 4415 |
"use strict"; |
| 4416 |
|
| 4417 |
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js"); |
| 4418 |
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| 4419 |
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); |
| 4420 |
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js"); |
| 4421 |
var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "../node_modules/core-js/internals/object-set-prototype-of.js"); |
| 4422 |
var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "../node_modules/core-js/internals/copy-constructor-properties.js"); |
| 4423 |
var proxyAccessor = __webpack_require__(/*! ../internals/proxy-accessor */ "../node_modules/core-js/internals/proxy-accessor.js"); |
| 4424 |
var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ "../node_modules/core-js/internals/inherit-if-required.js"); |
| 4425 |
var normalizeStringArgument = __webpack_require__(/*! ../internals/normalize-string-argument */ "../node_modules/core-js/internals/normalize-string-argument.js"); |
| 4426 |
var installErrorCause = __webpack_require__(/*! ../internals/install-error-cause */ "../node_modules/core-js/internals/install-error-cause.js"); |
| 4427 |
var installErrorStack = __webpack_require__(/*! ../internals/error-stack-install */ "../node_modules/core-js/internals/error-stack-install.js"); |
| 4428 |
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 4429 |
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js"); |
| 4430 |
|
| 4431 |
module.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) { |
| 4432 |
var STACK_TRACE_LIMIT = 'stackTraceLimit'; |
| 4433 |
var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1; |
| 4434 |
var path = FULL_NAME.split('.'); |
| 4435 |
var ERROR_NAME = path[path.length - 1]; |
| 4436 |
var OriginalError = getBuiltIn.apply(null, path); |
| 4437 |
|
| 4438 |
if (!OriginalError) return; |
| 4439 |
|
| 4440 |
var OriginalErrorPrototype = OriginalError.prototype; |
| 4441 |
|
| 4442 |
// V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006 |
| 4443 |
if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause; |
| 4444 |
|
| 4445 |
if (!FORCED) return OriginalError; |
| 4446 |
|
| 4447 |
var BaseError = getBuiltIn('Error'); |
| 4448 |
|
| 4449 |
var WrappedError = wrapper(function (a, b) { |
| 4450 |
var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined); |
| 4451 |
var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError(); |
| 4452 |
if (message !== undefined) createNonEnumerableProperty(result, 'message', message); |
| 4453 |
installErrorStack(result, WrappedError, result.stack, 2); |
| 4454 |
if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError); |
| 4455 |
if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]); |
| 4456 |
return result; |
| 4457 |
}); |
| 4458 |
|
| 4459 |
WrappedError.prototype = OriginalErrorPrototype; |
| 4460 |
|
| 4461 |
if (ERROR_NAME !== 'Error') { |
| 4462 |
if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError); |
| 4463 |
else copyConstructorProperties(WrappedError, BaseError, { name: true }); |
| 4464 |
} else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) { |
| 4465 |
proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT); |
| 4466 |
proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace'); |
| 4467 |
} |
| 4468 |
|
| 4469 |
copyConstructorProperties(WrappedError, OriginalError); |
| 4470 |
|
| 4471 |
if (!IS_PURE) try { |
| 4472 |
// Safari 13- bug: WebAssembly errors does not have a proper `.name` |
| 4473 |
if (OriginalErrorPrototype.name !== ERROR_NAME) { |
| 4474 |
createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME); |
| 4475 |
} |
| 4476 |
OriginalErrorPrototype.constructor = WrappedError; |
| 4477 |
} catch (error) { /* empty */ } |
| 4478 |
|
| 4479 |
return WrappedError; |
| 4480 |
}; |
| 4481 |
|
| 4482 |
|
| 4483 |
/***/ }), |
| 4484 |
|
| 4485 |
/***/ "../node_modules/core-js/modules/es.error.cause.js": |
| 4486 |
/*!*********************************************************!*\ |
| 4487 |
!*** ../node_modules/core-js/modules/es.error.cause.js ***! |
| 4488 |
\*********************************************************/ |
| 4489 |
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { |
| 4490 |
|
| 4491 |
"use strict"; |
| 4492 |
|
| 4493 |
/* eslint-disable no-unused-vars -- required for functions `.length` */ |
| 4494 |
var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js"); |
| 4495 |
var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); |
| 4496 |
var apply = __webpack_require__(/*! ../internals/function-apply */ "../node_modules/core-js/internals/function-apply.js"); |
| 4497 |
var wrapErrorConstructorWithCause = __webpack_require__(/*! ../internals/wrap-error-constructor-with-cause */ "../node_modules/core-js/internals/wrap-error-constructor-with-cause.js"); |
| 4498 |
|
| 4499 |
var WEB_ASSEMBLY = 'WebAssembly'; |
| 4500 |
var WebAssembly = global[WEB_ASSEMBLY]; |
| 4501 |
|
| 4502 |
var FORCED = Error('e', { cause: 7 }).cause !== 7; |
| 4503 |
|
| 4504 |
var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) { |
| 4505 |
var O = {}; |
| 4506 |
O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED); |
| 4507 |
$({ global: true, constructor: true, arity: 1, forced: FORCED }, O); |
| 4508 |
}; |
| 4509 |
|
| 4510 |
var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) { |
| 4511 |
if (WebAssembly && WebAssembly[ERROR_NAME]) { |
| 4512 |
var O = {}; |
| 4513 |
O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED); |
| 4514 |
$({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED }, O); |
| 4515 |
} |
| 4516 |
}; |
| 4517 |
|
| 4518 |
// https://tc39.es/ecma262/#sec-nativeerror |
| 4519 |
exportGlobalErrorCauseWrapper('Error', function (init) { |
| 4520 |
return function Error(message) { return apply(init, this, arguments); }; |
| 4521 |
}); |
| 4522 |
exportGlobalErrorCauseWrapper('EvalError', function (init) { |
| 4523 |
return function EvalError(message) { return apply(init, this, arguments); }; |
| 4524 |
}); |
| 4525 |
exportGlobalErrorCauseWrapper('RangeError', function (init) { |
| 4526 |
return function RangeError(message) { return apply(init, this, arguments); }; |
| 4527 |
}); |
| 4528 |
exportGlobalErrorCauseWrapper('ReferenceError', function (init) { |
| 4529 |
return function ReferenceError(message) { return apply(init, this, arguments); }; |
| 4530 |
}); |
| 4531 |
exportGlobalErrorCauseWrapper('SyntaxError', function (init) { |
| 4532 |
return function SyntaxError(message) { return apply(init, this, arguments); }; |
| 4533 |
}); |
| 4534 |
exportGlobalErrorCauseWrapper('TypeError', function (init) { |
| 4535 |
return function TypeError(message) { return apply(init, this, arguments); }; |
| 4536 |
}); |
| 4537 |
exportGlobalErrorCauseWrapper('URIError', function (init) { |
| 4538 |
return function URIError(message) { return apply(init, this, arguments); }; |
| 4539 |
}); |
| 4540 |
exportWebAssemblyErrorCauseWrapper('CompileError', function (init) { |
| 4541 |
return function CompileError(message) { return apply(init, this, arguments); }; |
| 4542 |
}); |
| 4543 |
exportWebAssemblyErrorCauseWrapper('LinkError', function (init) { |
| 4544 |
return function LinkError(message) { return apply(init, this, arguments); }; |
| 4545 |
}); |
| 4546 |
exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) { |
| 4547 |
return function RuntimeError(message) { return apply(init, this, arguments); }; |
| 4548 |
}); |
| 4549 |
|
| 4550 |
|
| 4551 |
/***/ }), |
| 4552 |
|
| 4553 |
/***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js": |
| 4554 |
/*!***********************************************************************!*\ |
| 4555 |
!*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! |
| 4556 |
\***********************************************************************/ |
| 4557 |
/***/ ((module) => { |
| 4558 |
|
| 4559 |
function _interopRequireDefault(obj) { |
| 4560 |
return obj && obj.__esModule ? obj : { |
| 4561 |
"default": obj |
| 4562 |
}; |
| 4563 |
} |
| 4564 |
module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 4565 |
|
| 4566 |
/***/ }) |
| 4567 |
|
| 4568 |
}, |
| 4569 |
/******/ __webpack_require__ => { // webpackRuntimeModules |
| 4570 |
/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId)) |
| 4571 |
/******/ var __webpack_exports__ = (__webpack_exec__("../assets/dev/js/frontend/modules.js")); |
| 4572 |
/******/ } |
| 4573 |
]); |
| 4574 |
//# sourceMappingURL=frontend-modules.js.map |