| @@ -1,3411 +1,4163 @@ | ||
| 1 | +/*! elementor - v3.26.0 - 19-12-2024 */ | |
| 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 | + | |
| 1 | 10 | "use strict"; |
| 2 | 11 | |
| 3 | -(function() { | |
| 4 | 12 | |
| 5 | -//#region \0rolldown/runtime.js | |
| 6 | - var __defProp = Object.defineProperty; | |
| 7 | - var __name = (target, value) => __defProp(target, "name", { | |
| 8 | - value, | |
| 9 | - configurable: true | |
| 10 | - }); | |
| 11 | - var __esmMin = (fn, res, err) => () => { | |
| 12 | - if (err) throw err[0]; | |
| 13 | - try { | |
| 14 | - return fn && (res = fn(fn = 0)), res; | |
| 15 | - } catch (e) { | |
| 16 | - throw err = [e], e; | |
| 17 | - } | |
| 18 | - }; | |
| 19 | - var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports); | |
| 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; | |
| 20 | 36 | |
| 21 | -//#endregion | |
| 37 | +/***/ }), | |
| 22 | 38 | |
| 23 | -//#region node_modules/@babel/runtime/helpers/interopRequireDefault.js | |
| 24 | - var require_interopRequireDefault = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 25 | - function _interopRequireDefault(e) { | |
| 26 | - return e && e.__esModule ? e : { "default": e }; | |
| 27 | - } | |
| 28 | - module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 29 | - })); | |
| 39 | +/***/ "../assets/dev/js/frontend/document.js": | |
| 40 | +/*!*********************************************!*\ | |
| 41 | + !*** ../assets/dev/js/frontend/document.js ***! | |
| 42 | + \*********************************************/ | |
| 43 | +/***/ ((__unused_webpack_module, exports) => { | |
| 30 | 44 | |
| 31 | -//#endregion | |
| 32 | -//#region node_modules/core-js/internals/global-this.js | |
| 33 | - var require_global_this = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 34 | - var check = function(it) { | |
| 35 | - return it && it.Math === Math && it; | |
| 36 | - }; | |
| 37 | - module.exports = check(typeof globalThis == "object" && globalThis) || check(typeof window == "object" && window) || check(typeof self == "object" && self) || check(typeof global == "object" && global) || check(typeof exports == "object" && exports) || (function() { | |
| 38 | - return this; | |
| 39 | - })() || Function("return this")(); | |
| 40 | - })); | |
| 45 | +"use strict"; | |
| 41 | 46 | |
| 42 | -//#endregion | |
| 43 | -//#region node_modules/core-js/internals/fails.js | |
| 44 | - var require_fails = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 45 | - module.exports = function(exec) { | |
| 46 | - try { | |
| 47 | - return !!exec(); | |
| 48 | - } catch (error) { | |
| 49 | - return true; | |
| 50 | - } | |
| 51 | - }; | |
| 52 | - })); | |
| 53 | 47 | |
| 54 | -//#endregion | |
| 55 | -//#region node_modules/core-js/internals/descriptors.js | |
| 56 | - var require_descriptors = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 57 | - var fails = require_fails(); | |
| 58 | - module.exports = !fails(function() { | |
| 59 | - return Object.defineProperty({}, 1, { get: function() { | |
| 60 | - return 7; | |
| 61 | - } })[1] !== 7; | |
| 62 | - }); | |
| 63 | - })); | |
| 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; | |
| 64 | 101 | |
| 65 | -//#endregion | |
| 66 | -//#region node_modules/core-js/internals/function-bind-native.js | |
| 67 | - var require_function_bind_native = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 68 | - var fails = require_fails(); | |
| 69 | - module.exports = !fails(function() { | |
| 70 | - var test = (function() {}).bind(); | |
| 71 | - return typeof test != "function" || test.hasOwnProperty("prototype"); | |
| 72 | - }); | |
| 73 | - })); | |
| 102 | +/***/ }), | |
| 74 | 103 | |
| 75 | -//#endregion | |
| 76 | -//#region node_modules/core-js/internals/function-call.js | |
| 77 | - var require_function_call = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 78 | - var NATIVE_BIND = require_function_bind_native(); | |
| 79 | - var call = Function.prototype.call; | |
| 80 | - module.exports = NATIVE_BIND ? call.bind(call) : function() { | |
| 81 | - return call.apply(call, arguments); | |
| 82 | - }; | |
| 83 | - })); | |
| 104 | +/***/ "../assets/dev/js/frontend/handlers/base-carousel.js": | |
| 105 | +/*!***********************************************************!*\ | |
| 106 | + !*** ../assets/dev/js/frontend/handlers/base-carousel.js ***! | |
| 107 | + \***********************************************************/ | |
| 108 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 84 | 109 | |
| 85 | -//#endregion | |
| 86 | -//#region node_modules/core-js/internals/object-property-is-enumerable.js | |
| 87 | - var require_object_property_is_enumerable = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 88 | - var $propertyIsEnumerable = {}.propertyIsEnumerable; | |
| 89 | - var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
| 90 | - var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1); | |
| 91 | - exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { | |
| 92 | - var descriptor = getOwnPropertyDescriptor(this, V); | |
| 93 | - return !!descriptor && descriptor.enumerable; | |
| 94 | - } : $propertyIsEnumerable; | |
| 95 | - })); | |
| 110 | +"use strict"; | |
| 96 | 111 | |
| 97 | -//#endregion | |
| 98 | -//#region node_modules/core-js/internals/create-property-descriptor.js | |
| 99 | - var require_create_property_descriptor = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 100 | - module.exports = function(bitmap, value) { | |
| 101 | - return { | |
| 102 | - enumerable: !(bitmap & 1), | |
| 103 | - configurable: !(bitmap & 2), | |
| 104 | - writable: !(bitmap & 4), | |
| 105 | - value | |
| 106 | - }; | |
| 107 | - }; | |
| 108 | - })); | |
| 109 | 112 | |
| 110 | -//#endregion | |
| 111 | -//#region node_modules/core-js/internals/function-uncurry-this.js | |
| 112 | - var require_function_uncurry_this = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 113 | - var NATIVE_BIND = require_function_bind_native(); | |
| 114 | - var FunctionPrototype = Function.prototype; | |
| 115 | - var call = FunctionPrototype.call; | |
| 116 | - var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); | |
| 117 | - module.exports = NATIVE_BIND ? uncurryThisWithBind : function(fn) { | |
| 118 | - return function() { | |
| 119 | - return call.apply(fn, arguments); | |
| 120 | - }; | |
| 121 | - }; | |
| 122 | - })); | |
| 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 _baseSwiper = _interopRequireDefault(__webpack_require__(/*! ./base-swiper */ "../assets/dev/js/frontend/handlers/base-swiper.js")); | |
| 119 | +class CarouselHandlerBase extends _baseSwiper.default { | |
| 120 | + getDefaultSettings() { | |
| 121 | + return { | |
| 122 | + selectors: { | |
| 123 | + carousel: '.swiper', | |
| 124 | + swiperWrapper: '.swiper-wrapper', | |
| 125 | + slideContent: '.swiper-slide', | |
| 126 | + swiperArrow: '.elementor-swiper-button', | |
| 127 | + paginationWrapper: '.swiper-pagination', | |
| 128 | + paginationBullet: '.swiper-pagination-bullet', | |
| 129 | + paginationBulletWrapper: '.swiper-pagination-bullets' | |
| 130 | + } | |
| 131 | + }; | |
| 132 | + } | |
| 133 | + getDefaultElements() { | |
| 134 | + const selectors = this.getSettings('selectors'), | |
| 135 | + elements = { | |
| 136 | + $swiperContainer: this.$element.find(selectors.carousel), | |
| 137 | + $swiperWrapper: this.$element.find(selectors.swiperWrapper), | |
| 138 | + $swiperArrows: this.$element.find(selectors.swiperArrow), | |
| 139 | + $paginationWrapper: this.$element.find(selectors.paginationWrapper), | |
| 140 | + $paginationBullets: this.$element.find(selectors.paginationBullet), | |
| 141 | + $paginationBulletWrapper: this.$element.find(selectors.paginationBulletWrapper) | |
| 142 | + }; | |
| 143 | + elements.$slides = elements.$swiperContainer.find(selectors.slideContent); | |
| 144 | + return elements; | |
| 145 | + } | |
| 146 | + getSwiperSettings() { | |
| 147 | + const elementSettings = this.getElementSettings(), | |
| 148 | + slidesToShow = +elementSettings.slides_to_show || 3, | |
| 149 | + isSingleSlide = 1 === slidesToShow, | |
| 150 | + elementorBreakpoints = elementorFrontend.config.responsive.activeBreakpoints, | |
| 151 | + defaultSlidesToShowMap = { | |
| 152 | + mobile: 1, | |
| 153 | + tablet: isSingleSlide ? 1 : 2 | |
| 154 | + }; | |
| 155 | + const swiperOptions = { | |
| 156 | + slidesPerView: slidesToShow, | |
| 157 | + loop: 'yes' === elementSettings.infinite, | |
| 158 | + speed: elementSettings.speed, | |
| 159 | + handleElementorBreakpoints: true | |
| 160 | + }; | |
| 161 | + swiperOptions.breakpoints = {}; | |
| 162 | + let lastBreakpointSlidesToShowValue = slidesToShow; | |
| 163 | + Object.keys(elementorBreakpoints).reverse().forEach(breakpointName => { | |
| 164 | + // Tablet has a specific default `slides_to_show`. | |
| 165 | + const defaultSlidesToShow = defaultSlidesToShowMap[breakpointName] ? defaultSlidesToShowMap[breakpointName] : lastBreakpointSlidesToShowValue; | |
| 166 | + swiperOptions.breakpoints[elementorBreakpoints[breakpointName].value] = { | |
| 167 | + slidesPerView: +elementSettings['slides_to_show_' + breakpointName] || defaultSlidesToShow, | |
| 168 | + slidesPerGroup: +elementSettings['slides_to_scroll_' + breakpointName] || 1 | |
| 169 | + }; | |
| 170 | + if (elementSettings.image_spacing_custom) { | |
| 171 | + swiperOptions.breakpoints[elementorBreakpoints[breakpointName].value].spaceBetween = this.getSpaceBetween(breakpointName); | |
| 172 | + } | |
| 173 | + lastBreakpointSlidesToShowValue = +elementSettings['slides_to_show_' + breakpointName] || defaultSlidesToShow; | |
| 174 | + }); | |
| 175 | + if ('yes' === elementSettings.autoplay) { | |
| 176 | + swiperOptions.autoplay = { | |
| 177 | + delay: elementSettings.autoplay_speed, | |
| 178 | + disableOnInteraction: 'yes' === elementSettings.pause_on_interaction | |
| 179 | + }; | |
| 180 | + } | |
| 181 | + if (isSingleSlide) { | |
| 182 | + swiperOptions.effect = elementSettings.effect; | |
| 183 | + if ('fade' === elementSettings.effect) { | |
| 184 | + swiperOptions.fadeEffect = { | |
| 185 | + crossFade: true | |
| 186 | + }; | |
| 187 | + } | |
| 188 | + } else { | |
| 189 | + swiperOptions.slidesPerGroup = +elementSettings.slides_to_scroll || 1; | |
| 190 | + } | |
| 191 | + if (elementSettings.image_spacing_custom) { | |
| 192 | + swiperOptions.spaceBetween = this.getSpaceBetween(); | |
| 193 | + } | |
| 194 | + const showArrows = 'arrows' === elementSettings.navigation || 'both' === elementSettings.navigation, | |
| 195 | + showPagination = 'dots' === elementSettings.navigation || 'both' === elementSettings.navigation || elementSettings.pagination; | |
| 196 | + if (showArrows) { | |
| 197 | + swiperOptions.navigation = { | |
| 198 | + prevEl: '.elementor-swiper-button-prev', | |
| 199 | + nextEl: '.elementor-swiper-button-next' | |
| 200 | + }; | |
| 201 | + } | |
| 202 | + if (showPagination) { | |
| 203 | + swiperOptions.pagination = { | |
| 204 | + el: `.elementor-element-${this.getID()} .swiper-pagination`, | |
| 205 | + type: !!elementSettings.pagination ? elementSettings.pagination : 'bullets', | |
| 206 | + clickable: true, | |
| 207 | + renderBullet: (index, classname) => { | |
| 208 | + return `<span class="${classname}" role="button" tabindex="0" data-bullet-index="${index}" aria-label="${elementorFrontend.config.i18n.a11yCarouselPaginationBulletMessage} ${index + 1}"></span>`; | |
| 209 | + } | |
| 210 | + }; | |
| 211 | + } | |
| 212 | + if ('yes' === elementSettings.lazyload) { | |
| 213 | + swiperOptions.lazy = { | |
| 214 | + loadPrevNext: true, | |
| 215 | + loadPrevNextAmount: 1 | |
| 216 | + }; | |
| 217 | + } | |
| 218 | + swiperOptions.a11y = { | |
| 219 | + enabled: true, | |
| 220 | + prevSlideMessage: elementorFrontend.config.i18n.a11yCarouselPrevSlideMessage, | |
| 221 | + nextSlideMessage: elementorFrontend.config.i18n.a11yCarouselNextSlideMessage, | |
| 222 | + firstSlideMessage: elementorFrontend.config.i18n.a11yCarouselFirstSlideMessage, | |
| 223 | + lastSlideMessage: elementorFrontend.config.i18n.a11yCarouselLastSlideMessage | |
| 224 | + }; | |
| 225 | + swiperOptions.on = { | |
| 226 | + slideChange: () => { | |
| 227 | + this.a11ySetPaginationTabindex(); | |
| 228 | + this.handleElementHandlers(); | |
| 229 | + this.a11ySetSlideAriaHidden(); | |
| 230 | + }, | |
| 231 | + init: () => { | |
| 232 | + this.a11ySetPaginationTabindex(); | |
| 233 | + this.a11ySetSlideAriaHidden('initialisation'); | |
| 234 | + } | |
| 235 | + }; | |
| 236 | + this.applyOffsetSettings(elementSettings, swiperOptions, slidesToShow); | |
| 237 | + return swiperOptions; | |
| 238 | + } | |
| 239 | + getOffsetWidth() { | |
| 240 | + const currentDevice = elementorFrontend.getCurrentDeviceMode(); | |
| 241 | + return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'offset_width', 'size', currentDevice) || 0; | |
| 242 | + } | |
| 243 | + applyOffsetSettings(elementSettings, swiperOptions, slidesToShow) { | |
| 244 | + const offsetSide = elementSettings.offset_sides, | |
| 245 | + isNestedCarouselInEditMode = elementorFrontend.isEditMode() && 'NestedCarousel' === this.constructor.name; | |
| 246 | + if (isNestedCarouselInEditMode || !offsetSide || 'none' === offsetSide) { | |
| 247 | + return; | |
| 248 | + } | |
| 249 | + switch (offsetSide) { | |
| 250 | + case 'right': | |
| 251 | + this.forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow); | |
| 252 | + this.addClassToSwiperContainer('offset-right'); | |
| 253 | + break; | |
| 254 | + case 'left': | |
| 255 | + this.addClassToSwiperContainer('offset-left'); | |
| 256 | + break; | |
| 257 | + case 'both': | |
| 258 | + this.forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow); | |
| 259 | + this.addClassToSwiperContainer('offset-both'); | |
| 260 | + break; | |
| 261 | + } | |
| 262 | + } | |
| 263 | + forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow) { | |
| 264 | + swiperOptions.slidesPerView = slidesToShow + 0.001; | |
| 265 | + } | |
| 266 | + addClassToSwiperContainer(className) { | |
| 267 | + this.getDefaultElements().$swiperContainer[0].classList.add(className); | |
| 268 | + } | |
| 269 | + async onInit() { | |
| 270 | + super.onInit(...arguments); | |
| 271 | + if (!this.elements.$swiperContainer.length || 2 > this.elements.$slides.length) { | |
| 272 | + return; | |
| 273 | + } | |
| 274 | + await this.initSwiper(); | |
| 275 | + const elementSettings = this.getElementSettings(); | |
| 276 | + if ('yes' === elementSettings.pause_on_hover) { | |
| 277 | + this.togglePauseOnHover(true); | |
| 278 | + } | |
| 279 | + } | |
| 280 | + async initSwiper() { | |
| 281 | + const Swiper = elementorFrontend.utils.swiper; | |
| 282 | + this.swiper = await new Swiper(this.elements.$swiperContainer, this.getSwiperSettings()); | |
| 123 | 283 | |
| 124 | -//#endregion | |
| 125 | -//#region node_modules/core-js/internals/classof-raw.js | |
| 126 | - var require_classof_raw = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 127 | - var uncurryThis = require_function_uncurry_this(); | |
| 128 | - var toString = uncurryThis({}.toString); | |
| 129 | - var stringSlice = uncurryThis("".slice); | |
| 130 | - module.exports = function(it) { | |
| 131 | - return stringSlice(toString(it), 8, -1); | |
| 132 | - }; | |
| 133 | - })); | |
| 284 | + // Expose the swiper instance in the frontend | |
| 285 | + this.elements.$swiperContainer.data('swiper', this.swiper); | |
| 286 | + } | |
| 287 | + bindEvents() { | |
| 288 | + this.elements.$swiperArrows.on('keydown', this.onDirectionArrowKeydown.bind(this)); | |
| 289 | + this.elements.$paginationWrapper.on('keydown', '.swiper-pagination-bullet', this.onDirectionArrowKeydown.bind(this)); | |
| 290 | + this.elements.$swiperContainer.on('keydown', '.swiper-slide', this.onDirectionArrowKeydown.bind(this)); | |
| 291 | + this.$element.find(':focusable').on('focus', this.onFocusDisableAutoplay.bind(this)); | |
| 292 | + elementorFrontend.elements.$window.on('resize', this.getSwiperSettings.bind(this)); | |
| 293 | + } | |
| 294 | + unbindEvents() { | |
| 295 | + this.elements.$swiperArrows.off(); | |
| 296 | + this.elements.$paginationWrapper.off(); | |
| 297 | + this.elements.$swiperContainer.off(); | |
| 298 | + this.$element.find(':focusable').off(); | |
| 299 | + elementorFrontend.elements.$window.off('resize'); | |
| 300 | + } | |
| 301 | + onDirectionArrowKeydown(event) { | |
| 302 | + const isRTL = elementorFrontend.config.is_rtl, | |
| 303 | + inlineDirectionArrows = ['ArrowLeft', 'ArrowRight'], | |
| 304 | + currentKeydown = event.originalEvent.code, | |
| 305 | + isDirectionInlineKeydown = -1 !== inlineDirectionArrows.indexOf(currentKeydown), | |
| 306 | + directionStart = isRTL ? 'ArrowRight' : 'ArrowLeft', | |
| 307 | + directionEnd = isRTL ? 'ArrowLeft' : 'ArrowRight'; | |
| 308 | + if (!isDirectionInlineKeydown) { | |
| 309 | + return true; | |
| 310 | + } else if (directionStart === currentKeydown) { | |
| 311 | + this.swiper.slidePrev(); | |
| 312 | + } else if (directionEnd === currentKeydown) { | |
| 313 | + this.swiper.slideNext(); | |
| 314 | + } | |
| 315 | + } | |
| 316 | + onFocusDisableAutoplay() { | |
| 317 | + this.swiper.autoplay.stop(); | |
| 318 | + } | |
| 319 | + updateSwiperOption(propertyName) { | |
| 320 | + const elementSettings = this.getElementSettings(), | |
| 321 | + newSettingValue = elementSettings[propertyName], | |
| 322 | + params = this.swiper.params; | |
| 134 | 323 | |
| 135 | -//#endregion | |
| 136 | -//#region node_modules/core-js/internals/indexed-object.js | |
| 137 | - var require_indexed_object = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 138 | - var uncurryThis = require_function_uncurry_this(); | |
| 139 | - var fails = require_fails(); | |
| 140 | - var classof = require_classof_raw(); | |
| 141 | - var $Object = Object; | |
| 142 | - var split = uncurryThis("".split); | |
| 143 | - module.exports = fails(function() { | |
| 144 | - return !$Object("z").propertyIsEnumerable(0); | |
| 145 | - }) ? function(it) { | |
| 146 | - return classof(it) === "String" ? split(it, "") : $Object(it); | |
| 147 | - } : $Object; | |
| 148 | - })); | |
| 324 | + // Handle special cases where the value to update is not the value that the Swiper library accepts. | |
| 325 | + switch (propertyName) { | |
| 326 | + case 'autoplay_speed': | |
| 327 | + params.autoplay.delay = newSettingValue; | |
| 328 | + break; | |
| 329 | + case 'speed': | |
| 330 | + params.speed = newSettingValue; | |
| 331 | + break; | |
| 332 | + } | |
| 333 | + this.swiper.update(); | |
| 334 | + } | |
| 335 | + getChangeableProperties() { | |
| 336 | + return { | |
| 337 | + pause_on_hover: 'pauseOnHover', | |
| 338 | + autoplay_speed: 'delay', | |
| 339 | + speed: 'speed', | |
| 340 | + arrows_position: 'arrows_position' // Not a Swiper setting. | |
| 341 | + }; | |
| 342 | + } | |
| 343 | + onElementChange(propertyName) { | |
| 344 | + if (0 === propertyName.indexOf('image_spacing_custom')) { | |
| 345 | + this.updateSpaceBetween(propertyName); | |
| 346 | + return; | |
| 347 | + } | |
| 348 | + const changeableProperties = this.getChangeableProperties(); | |
| 349 | + if (changeableProperties[propertyName]) { | |
| 350 | + // 'pause_on_hover' is implemented by the handler with event listeners, not the Swiper library. | |
| 351 | + if ('pause_on_hover' === propertyName) { | |
| 352 | + const newSettingValue = this.getElementSettings('pause_on_hover'); | |
| 353 | + this.togglePauseOnHover('yes' === newSettingValue); | |
| 354 | + } else { | |
| 355 | + this.updateSwiperOption(propertyName); | |
| 356 | + } | |
| 357 | + } | |
| 358 | + } | |
| 359 | + onEditSettingsChange(propertyName) { | |
| 360 | + if ('activeItemIndex' === propertyName) { | |
| 361 | + this.swiper.slideToLoop(this.getEditSettings('activeItemIndex') - 1); | |
| 362 | + } | |
| 363 | + } | |
| 364 | + getSpaceBetween() { | |
| 365 | + let device = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; | |
| 366 | + const responsiveControlValue = elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'image_spacing_custom', 'size', device); | |
| 367 | + return Number(responsiveControlValue) || 0; | |
| 368 | + } | |
| 369 | + updateSpaceBetween(propertyName) { | |
| 370 | + const deviceMatch = propertyName.match('image_spacing_custom_(.*)'), | |
| 371 | + device = deviceMatch ? deviceMatch[1] : 'desktop', | |
| 372 | + newSpaceBetween = this.getSpaceBetween(device); | |
| 373 | + if ('desktop' !== device) { | |
| 374 | + this.swiper.params.breakpoints[elementorFrontend.config.responsive.activeBreakpoints[device].value].spaceBetween = newSpaceBetween; | |
| 375 | + } | |
| 376 | + this.swiper.params.spaceBetween = newSpaceBetween; | |
| 377 | + this.swiper.update(); | |
| 378 | + } | |
| 379 | + getPaginationBullets() { | |
| 380 | + let type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'array'; | |
| 381 | + const paginationBullets = this.$element.find(this.getSettings('selectors').paginationBullet); | |
| 382 | + return 'array' === type ? Array.from(paginationBullets) : paginationBullets; | |
| 383 | + } | |
| 384 | + a11ySetPaginationTabindex() { | |
| 385 | + const bulletClass = this.swiper?.params?.pagination.bulletClass, | |
| 386 | + activeBulletClass = this.swiper?.params?.pagination.bulletActiveClass; | |
| 387 | + this.getPaginationBullets().forEach(bullet => { | |
| 388 | + if (!bullet.classList?.contains(activeBulletClass)) { | |
| 389 | + bullet.removeAttribute('tabindex'); | |
| 390 | + } | |
| 391 | + }); | |
| 392 | + const isDirectionInlineArrowKey = 'ArrowLeft' === event?.code || 'ArrowRight' === event?.code; | |
| 393 | + if (event?.target?.classList?.contains(bulletClass) && isDirectionInlineArrowKey) { | |
| 394 | + this.$element.find(`.${activeBulletClass}`).trigger('focus'); | |
| 395 | + } | |
| 396 | + } | |
| 397 | + getSwiperWrapperTranformXValue() { | |
| 398 | + let transformValue = this.elements.$swiperWrapper[0]?.style.transform; | |
| 399 | + transformValue = transformValue.replace('translate3d(', ''); | |
| 400 | + transformValue = transformValue.split(','); | |
| 401 | + transformValue = parseInt(transformValue[0].replace('px', '')); | |
| 402 | + return !!transformValue ? transformValue : 0; | |
| 403 | + } | |
| 404 | + a11ySetSlideAriaHidden() { | |
| 405 | + let status = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; | |
| 406 | + const currentIndex = 'initialisation' === status ? 0 : this.swiper?.activeIndex; | |
| 407 | + if ('number' !== typeof currentIndex) { | |
| 408 | + return; | |
| 409 | + } | |
| 410 | + const swiperWrapperTransformXValue = this.getSwiperWrapperTranformXValue(), | |
| 411 | + swiperWrapperWidth = this.elements.$swiperWrapper[0].clientWidth, | |
| 412 | + $slides = this.elements.$swiperContainer.find(this.getSettings('selectors').slideContent); | |
| 413 | + $slides.each((index, slide) => { | |
| 414 | + const isSlideInsideWrapper = 0 <= slide.offsetLeft + swiperWrapperTransformXValue && swiperWrapperWidth > slide.offsetLeft + swiperWrapperTransformXValue; | |
| 415 | + if (!isSlideInsideWrapper) { | |
| 416 | + slide.setAttribute('aria-hidden', true); | |
| 417 | + slide.setAttribute('inert', ''); | |
| 418 | + } else { | |
| 419 | + slide.removeAttribute('aria-hidden'); | |
| 420 | + slide.removeAttribute('inert'); | |
| 421 | + } | |
| 422 | + }); | |
| 423 | + } | |
| 149 | 424 | |
| 150 | -//#endregion | |
| 151 | -//#region node_modules/core-js/internals/is-null-or-undefined.js | |
| 152 | - var require_is_null_or_undefined = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 153 | - module.exports = function(it) { | |
| 154 | - return it === null || it === void 0; | |
| 155 | - }; | |
| 156 | - })); | |
| 425 | + // Empty method which can be overwritten by child methods. | |
| 426 | + handleElementHandlers() {} | |
| 427 | +} | |
| 428 | +exports["default"] = CarouselHandlerBase; | |
| 157 | 429 | |
| 158 | -//#endregion | |
| 159 | -//#region node_modules/core-js/internals/require-object-coercible.js | |
| 160 | - var require_require_object_coercible = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 161 | - var isNullOrUndefined = require_is_null_or_undefined(); | |
| 162 | - var $TypeError = TypeError; | |
| 163 | - module.exports = function(it) { | |
| 164 | - if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it); | |
| 165 | - return it; | |
| 166 | - }; | |
| 167 | - })); | |
| 430 | +/***/ }), | |
| 168 | 431 | |
| 169 | -//#endregion | |
| 170 | -//#region node_modules/core-js/internals/to-indexed-object.js | |
| 171 | - var require_to_indexed_object = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 172 | - var IndexedObject = require_indexed_object(); | |
| 173 | - var requireObjectCoercible = require_require_object_coercible(); | |
| 174 | - module.exports = function(it) { | |
| 175 | - return IndexedObject(requireObjectCoercible(it)); | |
| 176 | - }; | |
| 177 | - })); | |
| 432 | +/***/ "../assets/dev/js/frontend/handlers/base-swiper.js": | |
| 433 | +/*!*********************************************************!*\ | |
| 434 | + !*** ../assets/dev/js/frontend/handlers/base-swiper.js ***! | |
| 435 | + \*********************************************************/ | |
| 436 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 178 | 437 | |
| 179 | -//#endregion | |
| 180 | -//#region node_modules/core-js/internals/is-callable.js | |
| 181 | - var require_is_callable = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 182 | - var documentAll = typeof document == "object" && document.all; | |
| 183 | - module.exports = typeof documentAll == "undefined" && documentAll !== void 0 ? function(argument) { | |
| 184 | - return typeof argument == "function" || argument === documentAll; | |
| 185 | - } : function(argument) { | |
| 186 | - return typeof argument == "function"; | |
| 187 | - }; | |
| 188 | - })); | |
| 438 | +"use strict"; | |
| 189 | 439 | |
| 190 | -//#endregion | |
| 191 | -//#region node_modules/core-js/internals/is-object.js | |
| 192 | - var require_is_object = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 193 | - var isCallable = require_is_callable(); | |
| 194 | - module.exports = function(it) { | |
| 195 | - return typeof it == "object" ? it !== null : isCallable(it); | |
| 196 | - }; | |
| 197 | - })); | |
| 198 | 440 | |
| 199 | -//#endregion | |
| 200 | -//#region node_modules/core-js/internals/get-built-in.js | |
| 201 | - var require_get_built_in = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 202 | - var globalThis = require_global_this(); | |
| 203 | - var isCallable = require_is_callable(); | |
| 204 | - var aFunction = function(argument) { | |
| 205 | - return isCallable(argument) ? argument : void 0; | |
| 206 | - }; | |
| 207 | - module.exports = function(namespace, method) { | |
| 208 | - return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method]; | |
| 209 | - }; | |
| 210 | - })); | |
| 441 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 442 | +Object.defineProperty(exports, "__esModule", ({ | |
| 443 | + value: true | |
| 444 | +})); | |
| 445 | +exports["default"] = void 0; | |
| 446 | +var _base = _interopRequireDefault(__webpack_require__(/*! ./base */ "../assets/dev/js/frontend/handlers/base.js")); | |
| 447 | +class SwiperHandlerBase extends _base.default { | |
| 448 | + getInitialSlide() { | |
| 449 | + const editSettings = this.getEditSettings(); | |
| 450 | + return editSettings.activeItemIndex ? editSettings.activeItemIndex - 1 : 0; | |
| 451 | + } | |
| 452 | + getSlidesCount() { | |
| 453 | + return this.elements.$slides.length; | |
| 454 | + } | |
| 211 | 455 | |
| 212 | -//#endregion | |
| 213 | -//#region node_modules/core-js/internals/object-is-prototype-of.js | |
| 214 | - var require_object_is_prototype_of = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 215 | - var uncurryThis = require_function_uncurry_this(); | |
| 216 | - module.exports = uncurryThis({}.isPrototypeOf); | |
| 217 | - })); | |
| 456 | + // This method live-handles the 'Pause On Hover' control's value being changed in the Editor Panel | |
| 457 | + togglePauseOnHover(toggleOn) { | |
| 458 | + if (toggleOn) { | |
| 459 | + this.elements.$swiperContainer.on({ | |
| 460 | + mouseenter: () => { | |
| 461 | + this.swiper.autoplay.stop(); | |
| 462 | + }, | |
| 463 | + mouseleave: () => { | |
| 464 | + this.swiper.autoplay.start(); | |
| 465 | + } | |
| 466 | + }); | |
| 467 | + } else { | |
| 468 | + this.elements.$swiperContainer.off('mouseenter mouseleave'); | |
| 469 | + } | |
| 470 | + } | |
| 471 | + handleKenBurns() { | |
| 472 | + const settings = this.getSettings(); | |
| 473 | + if (this.$activeImageBg) { | |
| 474 | + this.$activeImageBg.removeClass(settings.classes.kenBurnsActive); | |
| 475 | + } | |
| 476 | + this.activeItemIndex = this.swiper ? this.swiper.activeIndex : this.getInitialSlide(); | |
| 477 | + if (this.swiper) { | |
| 478 | + this.$activeImageBg = jQuery(this.swiper.slides[this.activeItemIndex]).children('.' + settings.classes.slideBackground); | |
| 479 | + } else { | |
| 480 | + this.$activeImageBg = jQuery(this.elements.$slides[0]).children('.' + settings.classes.slideBackground); | |
| 481 | + } | |
| 482 | + this.$activeImageBg.addClass(settings.classes.kenBurnsActive); | |
| 483 | + } | |
| 484 | +} | |
| 485 | +exports["default"] = SwiperHandlerBase; | |
| 218 | 486 | |
| 219 | -//#endregion | |
| 220 | -//#region node_modules/core-js/internals/environment-user-agent.js | |
| 221 | - var require_environment_user_agent = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 222 | - var navigator = require_global_this().navigator; | |
| 223 | - var userAgent = navigator && navigator.userAgent; | |
| 224 | - module.exports = userAgent ? String(userAgent) : ""; | |
| 225 | - })); | |
| 487 | +/***/ }), | |
| 226 | 488 | |
| 227 | -//#endregion | |
| 228 | -//#region node_modules/core-js/internals/environment-v8-version.js | |
| 229 | - var require_environment_v8_version = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 230 | - var globalThis = require_global_this(); | |
| 231 | - var userAgent = require_environment_user_agent(); | |
| 232 | - var process = globalThis.process; | |
| 233 | - var Deno = globalThis.Deno; | |
| 234 | - var versions = process && process.versions || Deno && Deno.version; | |
| 235 | - var v8 = versions && versions.v8; | |
| 236 | - var match; | |
| 237 | - var version; | |
| 238 | - if (v8) { | |
| 239 | - match = v8.split("."); | |
| 240 | - version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); | |
| 241 | - } | |
| 242 | - if (!version && userAgent) { | |
| 243 | - match = userAgent.match(/Edge\/(\d+)/); | |
| 244 | - if (!match || match[1] >= 74) { | |
| 245 | - match = userAgent.match(/Chrome\/(\d+)/); | |
| 246 | - if (match) version = +match[1]; | |
| 247 | - } | |
| 248 | - } | |
| 249 | - module.exports = version; | |
| 250 | - })); | |
| 489 | +/***/ "../assets/dev/js/frontend/handlers/base.js": | |
| 490 | +/*!**************************************************!*\ | |
| 491 | + !*** ../assets/dev/js/frontend/handlers/base.js ***! | |
| 492 | + \**************************************************/ | |
| 493 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 251 | 494 | |
| 252 | -//#endregion | |
| 253 | -//#region node_modules/core-js/internals/symbol-constructor-detection.js | |
| 254 | - var require_symbol_constructor_detection = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 255 | - var V8_VERSION = require_environment_v8_version(); | |
| 256 | - var fails = require_fails(); | |
| 257 | - var $String = require_global_this().String; | |
| 258 | - module.exports = !!Object.getOwnPropertySymbols && !fails(function() { | |
| 259 | - var symbol = Symbol("symbol detection"); | |
| 260 | - return !$String(symbol) || !(Object(symbol) instanceof Symbol) || !Symbol.sham && V8_VERSION && V8_VERSION < 41; | |
| 261 | - }); | |
| 262 | - })); | |
| 495 | +"use strict"; | |
| 263 | 496 | |
| 264 | -//#endregion | |
| 265 | -//#region node_modules/core-js/internals/use-symbol-as-uid.js | |
| 266 | - var require_use_symbol_as_uid = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 267 | - var NATIVE_SYMBOL = require_symbol_constructor_detection(); | |
| 268 | - module.exports = NATIVE_SYMBOL && !Symbol.sham && typeof Symbol.iterator == "symbol"; | |
| 269 | - })); | |
| 270 | 497 | |
| 271 | -//#endregion | |
| 272 | -//#region node_modules/core-js/internals/is-symbol.js | |
| 273 | - var require_is_symbol = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 274 | - var getBuiltIn = require_get_built_in(); | |
| 275 | - var isCallable = require_is_callable(); | |
| 276 | - var isPrototypeOf = require_object_is_prototype_of(); | |
| 277 | - var USE_SYMBOL_AS_UID = require_use_symbol_as_uid(); | |
| 278 | - var $Object = Object; | |
| 279 | - module.exports = USE_SYMBOL_AS_UID ? function(it) { | |
| 280 | - return typeof it == "symbol"; | |
| 281 | - } : function(it) { | |
| 282 | - var $Symbol = getBuiltIn("Symbol"); | |
| 283 | - return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it)); | |
| 284 | - }; | |
| 285 | - })); | |
| 498 | +__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js"); | |
| 499 | +module.exports = elementorModules.ViewModule.extend({ | |
| 500 | + $element: null, | |
| 501 | + editorListeners: null, | |
| 502 | + onElementChange: null, | |
| 503 | + onEditSettingsChange: null, | |
| 504 | + onPageSettingsChange: null, | |
| 505 | + isEdit: null, | |
| 506 | + __construct(settings) { | |
| 507 | + if (!this.isActive(settings)) { | |
| 508 | + return; | |
| 509 | + } | |
| 510 | + this.$element = settings.$element; | |
| 511 | + this.isEdit = this.$element.hasClass('elementor-element-edit-mode'); | |
| 512 | + if (this.isEdit) { | |
| 513 | + this.addEditorListeners(); | |
| 514 | + } | |
| 515 | + }, | |
| 516 | + isActive() { | |
| 517 | + return true; | |
| 518 | + }, | |
| 519 | + isElementInTheCurrentDocument() { | |
| 520 | + if (!elementorFrontend.isEditMode()) { | |
| 521 | + return false; | |
| 522 | + } | |
| 523 | + return elementor.documents.currentDocument.id.toString() === this.$element[0].closest('.elementor').dataset.elementorId; | |
| 524 | + }, | |
| 525 | + findElement(selector) { | |
| 526 | + var $mainElement = this.$element; | |
| 527 | + return $mainElement.find(selector).filter(function () { | |
| 528 | + // Start `closest` from parent since self can be `.elementor-element`. | |
| 529 | + return jQuery(this).parent().closest('.elementor-element').is($mainElement); | |
| 530 | + }); | |
| 531 | + }, | |
| 532 | + getUniqueHandlerID(cid, $element) { | |
| 533 | + if (!cid) { | |
| 534 | + cid = this.getModelCID(); | |
| 535 | + } | |
| 536 | + if (!$element) { | |
| 537 | + $element = this.$element; | |
| 538 | + } | |
| 539 | + return cid + $element.attr('data-element_type') + this.getConstructorID(); | |
| 540 | + }, | |
| 541 | + initEditorListeners() { | |
| 542 | + var self = this; | |
| 543 | + self.editorListeners = [{ | |
| 544 | + event: 'element:destroy', | |
| 545 | + to: elementor.channels.data, | |
| 546 | + callback(removedModel) { | |
| 547 | + if (removedModel.cid !== self.getModelCID()) { | |
| 548 | + return; | |
| 549 | + } | |
| 550 | + self.onDestroy(); | |
| 551 | + } | |
| 552 | + }]; | |
| 553 | + if (self.onElementChange) { | |
| 554 | + const elementType = self.getWidgetType() || self.getElementType(); | |
| 555 | + let eventName = 'change'; | |
| 556 | + if ('global' !== elementType) { | |
| 557 | + eventName += ':' + elementType; | |
| 558 | + } | |
| 559 | + self.editorListeners.push({ | |
| 560 | + event: eventName, | |
| 561 | + to: elementor.channels.editor, | |
| 562 | + callback(controlView, elementView) { | |
| 563 | + var elementViewHandlerID = self.getUniqueHandlerID(elementView.model.cid, elementView.$el); | |
| 564 | + if (elementViewHandlerID !== self.getUniqueHandlerID()) { | |
| 565 | + return; | |
| 566 | + } | |
| 567 | + self.onElementChange(controlView.model.get('name'), controlView, elementView); | |
| 568 | + } | |
| 569 | + }); | |
| 570 | + } | |
| 571 | + if (self.onEditSettingsChange) { | |
| 572 | + self.editorListeners.push({ | |
| 573 | + event: 'change:editSettings', | |
| 574 | + to: elementor.channels.editor, | |
| 575 | + callback(changedModel, view) { | |
| 576 | + if (view.model.cid !== self.getModelCID()) { | |
| 577 | + return; | |
| 578 | + } | |
| 579 | + const propName = Object.keys(changedModel.changed)[0]; | |
| 580 | + self.onEditSettingsChange(propName, changedModel.changed[propName]); | |
| 581 | + } | |
| 582 | + }); | |
| 583 | + } | |
| 584 | + ['page'].forEach(function (settingsType) { | |
| 585 | + var listenerMethodName = 'on' + settingsType[0].toUpperCase() + settingsType.slice(1) + 'SettingsChange'; | |
| 586 | + if (self[listenerMethodName]) { | |
| 587 | + self.editorListeners.push({ | |
| 588 | + event: 'change', | |
| 589 | + to: elementor.settings[settingsType].model, | |
| 590 | + callback(model) { | |
| 591 | + self[listenerMethodName](model.changed); | |
| 592 | + } | |
| 593 | + }); | |
| 594 | + } | |
| 595 | + }); | |
| 596 | + }, | |
| 597 | + getEditorListeners() { | |
| 598 | + if (!this.editorListeners) { | |
| 599 | + this.initEditorListeners(); | |
| 600 | + } | |
| 601 | + return this.editorListeners; | |
| 602 | + }, | |
| 603 | + addEditorListeners() { | |
| 604 | + var uniqueHandlerID = this.getUniqueHandlerID(); | |
| 605 | + this.getEditorListeners().forEach(function (listener) { | |
| 606 | + elementorFrontend.addListenerOnce(uniqueHandlerID, listener.event, listener.callback, listener.to); | |
| 607 | + }); | |
| 608 | + }, | |
| 609 | + removeEditorListeners() { | |
| 610 | + var uniqueHandlerID = this.getUniqueHandlerID(); | |
| 611 | + this.getEditorListeners().forEach(function (listener) { | |
| 612 | + elementorFrontend.removeListeners(uniqueHandlerID, listener.event, null, listener.to); | |
| 613 | + }); | |
| 614 | + }, | |
| 615 | + getElementType() { | |
| 616 | + return this.$element.data('element_type'); | |
| 617 | + }, | |
| 618 | + getWidgetType() { | |
| 619 | + const widgetType = this.$element.data('widget_type'); | |
| 620 | + if (!widgetType) { | |
| 621 | + return; | |
| 622 | + } | |
| 623 | + return widgetType.split('.')[0]; | |
| 624 | + }, | |
| 625 | + getID() { | |
| 626 | + return this.$element.data('id'); | |
| 627 | + }, | |
| 628 | + getModelCID() { | |
| 629 | + return this.$element.data('model-cid'); | |
| 630 | + }, | |
| 631 | + getElementSettings(setting) { | |
| 632 | + let elementSettings = {}; | |
| 633 | + const modelCID = this.getModelCID(); | |
| 634 | + if (this.isEdit && modelCID) { | |
| 635 | + const settings = elementorFrontend.config.elements.data[modelCID], | |
| 636 | + attributes = settings.attributes; | |
| 637 | + let type = attributes.widgetType || attributes.elType; | |
| 638 | + if (attributes.isInner) { | |
| 639 | + type = 'inner-' + type; | |
| 640 | + } | |
| 641 | + let settingsKeys = elementorFrontend.config.elements.keys[type]; | |
| 642 | + if (!settingsKeys) { | |
| 643 | + settingsKeys = elementorFrontend.config.elements.keys[type] = []; | |
| 644 | + jQuery.each(settings.controls, (name, control) => { | |
| 645 | + if (control.frontend_available || control.editor_available) { | |
| 646 | + settingsKeys.push(name); | |
| 647 | + } | |
| 648 | + }); | |
| 649 | + } | |
| 650 | + jQuery.each(settings.getActiveControls(), function (controlKey) { | |
| 651 | + if (-1 !== settingsKeys.indexOf(controlKey)) { | |
| 652 | + let value = attributes[controlKey]; | |
| 653 | + if (value.toJSON) { | |
| 654 | + value = value.toJSON(); | |
| 655 | + } | |
| 656 | + elementSettings[controlKey] = value; | |
| 657 | + } | |
| 658 | + }); | |
| 659 | + } else { | |
| 660 | + elementSettings = this.$element.data('settings') || {}; | |
| 661 | + } | |
| 662 | + return this.getItems(elementSettings, setting); | |
| 663 | + }, | |
| 664 | + getEditSettings(setting) { | |
| 665 | + var attributes = {}; | |
| 666 | + if (this.isEdit) { | |
| 667 | + attributes = elementorFrontend.config.elements.editSettings[this.getModelCID()].attributes; | |
| 668 | + } | |
| 669 | + return this.getItems(attributes, setting); | |
| 670 | + }, | |
| 671 | + getCurrentDeviceSetting(settingKey) { | |
| 672 | + return elementorFrontend.getCurrentDeviceSetting(this.getElementSettings(), settingKey); | |
| 673 | + }, | |
| 674 | + onInit() { | |
| 675 | + if (this.isActive(this.getSettings())) { | |
| 676 | + elementorModules.ViewModule.prototype.onInit.apply(this, arguments); | |
| 677 | + } | |
| 678 | + }, | |
| 679 | + onDestroy() { | |
| 680 | + if (this.isEdit) { | |
| 681 | + this.removeEditorListeners(); | |
| 682 | + } | |
| 683 | + if (this.unbindEvents) { | |
| 684 | + this.unbindEvents(); | |
| 685 | + } | |
| 686 | + } | |
| 687 | +}); | |
| 286 | 688 | |
| 287 | -//#endregion | |
| 288 | -//#region node_modules/core-js/internals/try-to-string.js | |
| 289 | - var require_try_to_string = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 290 | - var $String = String; | |
| 291 | - module.exports = function(argument) { | |
| 292 | - try { | |
| 293 | - return $String(argument); | |
| 294 | - } catch (error) { | |
| 295 | - return "Object"; | |
| 296 | - } | |
| 297 | - }; | |
| 298 | - })); | |
| 689 | +/***/ }), | |
| 299 | 690 | |
| 300 | -//#endregion | |
| 301 | -//#region node_modules/core-js/internals/a-callable.js | |
| 302 | - var require_a_callable = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 303 | - var isCallable = require_is_callable(); | |
| 304 | - var tryToString = require_try_to_string(); | |
| 305 | - var $TypeError = TypeError; | |
| 306 | - module.exports = function(argument) { | |
| 307 | - if (isCallable(argument)) return argument; | |
| 308 | - throw new $TypeError(tryToString(argument) + " is not a function"); | |
| 309 | - }; | |
| 310 | - })); | |
| 691 | +/***/ "../assets/dev/js/frontend/handlers/stretched-element.js": | |
| 692 | +/*!***************************************************************!*\ | |
| 693 | + !*** ../assets/dev/js/frontend/handlers/stretched-element.js ***! | |
| 694 | + \***************************************************************/ | |
| 695 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 311 | 696 | |
| 312 | -//#endregion | |
| 313 | -//#region node_modules/core-js/internals/get-method.js | |
| 314 | - var require_get_method = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 315 | - var aCallable = require_a_callable(); | |
| 316 | - var isNullOrUndefined = require_is_null_or_undefined(); | |
| 317 | - module.exports = function(V, P) { | |
| 318 | - var func = V[P]; | |
| 319 | - return isNullOrUndefined(func) ? void 0 : aCallable(func); | |
| 320 | - }; | |
| 321 | - })); | |
| 697 | +"use strict"; | |
| 322 | 698 | |
| 323 | -//#endregion | |
| 324 | -//#region node_modules/core-js/internals/ordinary-to-primitive.js | |
| 325 | - var require_ordinary_to_primitive = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 326 | - var call = require_function_call(); | |
| 327 | - var isCallable = require_is_callable(); | |
| 328 | - var isObject = require_is_object(); | |
| 329 | - var $TypeError = TypeError; | |
| 330 | - module.exports = function(input, pref) { | |
| 331 | - var fn; | |
| 332 | - var val; | |
| 333 | - if (pref === "string" && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; | |
| 334 | - if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val; | |
| 335 | - if (pref !== "string" && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; | |
| 336 | - throw new $TypeError("Can't convert object to primitive value"); | |
| 337 | - }; | |
| 338 | - })); | |
| 339 | 699 | |
| 340 | -//#endregion | |
| 341 | -//#region node_modules/core-js/internals/is-pure.js | |
| 342 | - var require_is_pure = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 343 | - module.exports = false; | |
| 344 | - })); | |
| 700 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 701 | +Object.defineProperty(exports, "__esModule", ({ | |
| 702 | + value: true | |
| 703 | +})); | |
| 704 | +exports["default"] = void 0; | |
| 705 | +var _base = _interopRequireDefault(__webpack_require__(/*! ./base */ "../assets/dev/js/frontend/handlers/base.js")); | |
| 706 | +class StretchedElement extends _base.default { | |
| 707 | + getStretchedClass() { | |
| 708 | + return 'e-stretched'; | |
| 709 | + } | |
| 710 | + getStretchSettingName() { | |
| 711 | + return 'stretch_element'; | |
| 712 | + } | |
| 713 | + getStretchActiveValue() { | |
| 714 | + return 'yes'; | |
| 715 | + } | |
| 716 | + bindEvents() { | |
| 717 | + const handlerID = this.getUniqueHandlerID(); | |
| 718 | + elementorFrontend.addListenerOnce(handlerID, 'resize', this.stretch); | |
| 719 | + elementorFrontend.addListenerOnce(handlerID, 'sticky:stick', this.stretch, this.$element); | |
| 720 | + elementorFrontend.addListenerOnce(handlerID, 'sticky:unstick', this.stretch, this.$element); | |
| 721 | + if (elementorFrontend.isEditMode()) { | |
| 722 | + this.onKitChangeStretchContainerChange = this.onKitChangeStretchContainerChange.bind(this); | |
| 723 | + elementor.channels.editor.on('kit:change:stretchContainer', this.onKitChangeStretchContainerChange); | |
| 724 | + } | |
| 725 | + } | |
| 726 | + unbindEvents() { | |
| 727 | + elementorFrontend.removeListeners(this.getUniqueHandlerID(), 'resize', this.stretch); | |
| 728 | + if (elementorFrontend.isEditMode()) { | |
| 729 | + elementor.channels.editor.off('kit:change:stretchContainer', this.onKitChangeStretchContainerChange); | |
| 730 | + } | |
| 731 | + } | |
| 732 | + isActive(settings) { | |
| 733 | + return elementorFrontend.isEditMode() || settings.$element.hasClass(this.getStretchedClass()); | |
| 734 | + } | |
| 735 | + getStretchElementForConfig() { | |
| 736 | + let childSelector = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; | |
| 737 | + if (childSelector) { | |
| 738 | + return this.$element.find(childSelector); | |
| 739 | + } | |
| 740 | + return this.$element; | |
| 741 | + } | |
| 742 | + getStretchElementConfig() { | |
| 743 | + return { | |
| 744 | + element: this.getStretchElementForConfig(), | |
| 745 | + selectors: { | |
| 746 | + container: this.getStretchContainer() | |
| 747 | + }, | |
| 748 | + considerScrollbar: elementorFrontend.isEditMode() && elementorFrontend.config.is_rtl | |
| 749 | + }; | |
| 750 | + } | |
| 751 | + initStretch() { | |
| 752 | + this.stretch = this.stretch.bind(this); | |
| 753 | + this.stretchElement = new elementorModules.frontend.tools.StretchElement(this.getStretchElementConfig()); | |
| 754 | + } | |
| 755 | + getStretchContainer() { | |
| 756 | + return elementorFrontend.getKitSettings('stretched_section_container') || window; | |
| 757 | + } | |
| 758 | + isStretchSettingEnabled() { | |
| 759 | + return this.getElementSettings(this.getStretchSettingName()) === this.getStretchActiveValue(); | |
| 760 | + } | |
| 761 | + stretch() { | |
| 762 | + if (!this.isStretchSettingEnabled()) { | |
| 763 | + return; | |
| 764 | + } | |
| 765 | + this.stretchElement.stretch(); | |
| 766 | + } | |
| 767 | + onInit() { | |
| 768 | + if (!this.isActive(this.getSettings())) { | |
| 769 | + return; | |
| 770 | + } | |
| 771 | + this.initStretch(); | |
| 772 | + super.onInit(...arguments); | |
| 773 | + this.stretch(); | |
| 774 | + } | |
| 775 | + onElementChange(propertyName) { | |
| 776 | + const stretchSettingName = this.getStretchSettingName(); | |
| 777 | + if (stretchSettingName === propertyName) { | |
| 778 | + if (this.isStretchSettingEnabled()) { | |
| 779 | + this.stretch(); | |
| 780 | + } else { | |
| 781 | + this.stretchElement.reset(); | |
| 782 | + } | |
| 783 | + } | |
| 784 | + } | |
| 785 | + onKitChangeStretchContainerChange() { | |
| 786 | + this.stretchElement.setSettings('selectors.container', this.getStretchContainer()); | |
| 787 | + this.stretch(); | |
| 788 | + } | |
| 789 | +} | |
| 790 | +exports["default"] = StretchedElement; | |
| 345 | 791 | |
| 346 | -//#endregion | |
| 347 | -//#region node_modules/core-js/internals/define-global-property.js | |
| 348 | - var require_define_global_property = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 349 | - var globalThis = require_global_this(); | |
| 350 | - var defineProperty = Object.defineProperty; | |
| 351 | - module.exports = function(key, value) { | |
| 352 | - try { | |
| 353 | - defineProperty(globalThis, key, { | |
| 354 | - value, | |
| 355 | - configurable: true, | |
| 356 | - writable: true | |
| 357 | - }); | |
| 358 | - } catch (error) { | |
| 359 | - globalThis[key] = value; | |
| 360 | - } | |
| 361 | - return value; | |
| 362 | - }; | |
| 363 | - })); | |
| 792 | +/***/ }), | |
| 364 | 793 | |
| 365 | -//#endregion | |
| 366 | -//#region node_modules/core-js/internals/shared-store.js | |
| 367 | - var require_shared_store = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 368 | - var IS_PURE = require_is_pure(); | |
| 369 | - var globalThis = require_global_this(); | |
| 370 | - var defineGlobalProperty = require_define_global_property(); | |
| 371 | - var SHARED = "__core-js_shared__"; | |
| 372 | - var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {}); | |
| 373 | - (store.versions || (store.versions = [])).push({ | |
| 374 | - version: "3.46.0", | |
| 375 | - mode: IS_PURE ? "pure" : "global", | |
| 376 | - copyright: "© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)", | |
| 377 | - license: "https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE", | |
| 378 | - source: "https://github.com/zloirock/core-js" | |
| 379 | - }); | |
| 380 | - })); | |
| 794 | +/***/ "../assets/dev/js/frontend/modules.js": | |
| 795 | +/*!********************************************!*\ | |
| 796 | + !*** ../assets/dev/js/frontend/modules.js ***! | |
| 797 | + \********************************************/ | |
| 798 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 381 | 799 | |
| 382 | -//#endregion | |
| 383 | -//#region node_modules/core-js/internals/shared.js | |
| 384 | - var require_shared = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 385 | - var store = require_shared_store(); | |
| 386 | - module.exports = function(key, value) { | |
| 387 | - return store[key] || (store[key] = value || {}); | |
| 388 | - }; | |
| 389 | - })); | |
| 800 | +"use strict"; | |
| 390 | 801 | |
| 391 | -//#endregion | |
| 392 | -//#region node_modules/core-js/internals/to-object.js | |
| 393 | - var require_to_object = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 394 | - var requireObjectCoercible = require_require_object_coercible(); | |
| 395 | - var $Object = Object; | |
| 396 | - module.exports = function(argument) { | |
| 397 | - return $Object(requireObjectCoercible(argument)); | |
| 398 | - }; | |
| 399 | - })); | |
| 400 | 802 | |
| 401 | -//#endregion | |
| 402 | -//#region node_modules/core-js/internals/has-own-property.js | |
| 403 | - var require_has_own_property = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 404 | - var uncurryThis = require_function_uncurry_this(); | |
| 405 | - var toObject = require_to_object(); | |
| 406 | - var hasOwnProperty = uncurryThis({}.hasOwnProperty); | |
| 407 | - module.exports = Object.hasOwn || function hasOwn(it, key) { | |
| 408 | - return hasOwnProperty(toObject(it), key); | |
| 409 | - }; | |
| 410 | - })); | |
| 803 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 804 | +var _modules = _interopRequireDefault(__webpack_require__(/*! ../modules/modules */ "../assets/dev/js/modules/modules.js")); | |
| 805 | +var _document = _interopRequireDefault(__webpack_require__(/*! ./document */ "../assets/dev/js/frontend/document.js")); | |
| 806 | +var _stretchElement = _interopRequireDefault(__webpack_require__(/*! ./tools/stretch-element */ "../assets/dev/js/frontend/tools/stretch-element.js")); | |
| 807 | +var _stretchedElement = _interopRequireDefault(__webpack_require__(/*! ./handlers/stretched-element */ "../assets/dev/js/frontend/handlers/stretched-element.js")); | |
| 808 | +var _base = _interopRequireDefault(__webpack_require__(/*! ./handlers/base */ "../assets/dev/js/frontend/handlers/base.js")); | |
| 809 | +var _baseSwiper = _interopRequireDefault(__webpack_require__(/*! ./handlers/base-swiper */ "../assets/dev/js/frontend/handlers/base-swiper.js")); | |
| 810 | +var _baseCarousel = _interopRequireDefault(__webpack_require__(/*! ./handlers/base-carousel */ "../assets/dev/js/frontend/handlers/base-carousel.js")); | |
| 811 | +var _nestedTabs = _interopRequireDefault(__webpack_require__(/*! elementor/modules/nested-tabs/assets/js/frontend/handlers/nested-tabs */ "../modules/nested-tabs/assets/js/frontend/handlers/nested-tabs.js")); | |
| 812 | +_modules.default.frontend = { | |
| 813 | + Document: _document.default, | |
| 814 | + tools: { | |
| 815 | + StretchElement: _stretchElement.default | |
| 816 | + }, | |
| 817 | + handlers: { | |
| 818 | + Base: _base.default, | |
| 819 | + StretchedElement: _stretchedElement.default, | |
| 820 | + SwiperBase: _baseSwiper.default, | |
| 821 | + CarouselBase: _baseCarousel.default, | |
| 822 | + NestedTabs: _nestedTabs.default | |
| 823 | + } | |
| 824 | +}; | |
| 411 | 825 | |
| 412 | -//#endregion | |
| 413 | -//#region node_modules/core-js/internals/uid.js | |
| 414 | - var require_uid = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 415 | - var uncurryThis = require_function_uncurry_this(); | |
| 416 | - var id = 0; | |
| 417 | - var postfix = Math.random(); | |
| 418 | - var toString = uncurryThis(1.1.toString); | |
| 419 | - module.exports = function(key) { | |
| 420 | - return "Symbol(" + (key === void 0 ? "" : key) + ")_" + toString(++id + postfix, 36); | |
| 421 | - }; | |
| 422 | - })); | |
| 826 | +/***/ }), | |
| 423 | 827 | |
| 424 | -//#endregion | |
| 425 | -//#region node_modules/core-js/internals/well-known-symbol.js | |
| 426 | - var require_well_known_symbol = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 427 | - var globalThis = require_global_this(); | |
| 428 | - var shared = require_shared(); | |
| 429 | - var hasOwn = require_has_own_property(); | |
| 430 | - var uid = require_uid(); | |
| 431 | - var NATIVE_SYMBOL = require_symbol_constructor_detection(); | |
| 432 | - var USE_SYMBOL_AS_UID = require_use_symbol_as_uid(); | |
| 433 | - var Symbol = globalThis.Symbol; | |
| 434 | - var WellKnownSymbolsStore = shared("wks"); | |
| 435 | - var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol["for"] || Symbol : Symbol && Symbol.withoutSetter || uid; | |
| 436 | - module.exports = function(name) { | |
| 437 | - if (!hasOwn(WellKnownSymbolsStore, name)) WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name) ? Symbol[name] : createWellKnownSymbol("Symbol." + name); | |
| 438 | - return WellKnownSymbolsStore[name]; | |
| 439 | - }; | |
| 440 | - })); | |
| 828 | +/***/ "../assets/dev/js/frontend/tools/stretch-element.js": | |
| 829 | +/*!**********************************************************!*\ | |
| 830 | + !*** ../assets/dev/js/frontend/tools/stretch-element.js ***! | |
| 831 | + \**********************************************************/ | |
| 832 | +/***/ ((module) => { | |
| 441 | 833 | |
| 442 | -//#endregion | |
| 443 | -//#region node_modules/core-js/internals/to-primitive.js | |
| 444 | - var require_to_primitive = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 445 | - var call = require_function_call(); | |
| 446 | - var isObject = require_is_object(); | |
| 447 | - var isSymbol = require_is_symbol(); | |
| 448 | - var getMethod = require_get_method(); | |
| 449 | - var ordinaryToPrimitive = require_ordinary_to_primitive(); | |
| 450 | - var wellKnownSymbol = require_well_known_symbol(); | |
| 451 | - var $TypeError = TypeError; | |
| 452 | - var TO_PRIMITIVE = wellKnownSymbol("toPrimitive"); | |
| 453 | - module.exports = function(input, pref) { | |
| 454 | - if (!isObject(input) || isSymbol(input)) return input; | |
| 455 | - var exoticToPrim = getMethod(input, TO_PRIMITIVE); | |
| 456 | - var result; | |
| 457 | - if (exoticToPrim) { | |
| 458 | - if (pref === void 0) pref = "default"; | |
| 459 | - result = call(exoticToPrim, input, pref); | |
| 460 | - if (!isObject(result) || isSymbol(result)) return result; | |
| 461 | - throw new $TypeError("Can't convert object to primitive value"); | |
| 462 | - } | |
| 463 | - if (pref === void 0) pref = "number"; | |
| 464 | - return ordinaryToPrimitive(input, pref); | |
| 465 | - }; | |
| 466 | - })); | |
| 834 | +"use strict"; | |
| 467 | 835 | |
| 468 | -//#endregion | |
| 469 | -//#region node_modules/core-js/internals/to-property-key.js | |
| 470 | - var require_to_property_key = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 471 | - var toPrimitive = require_to_primitive(); | |
| 472 | - var isSymbol = require_is_symbol(); | |
| 473 | - module.exports = function(argument) { | |
| 474 | - var key = toPrimitive(argument, "string"); | |
| 475 | - return isSymbol(key) ? key : key + ""; | |
| 476 | - }; | |
| 477 | - })); | |
| 478 | 836 | |
| 479 | -//#endregion | |
| 480 | -//#region node_modules/core-js/internals/document-create-element.js | |
| 481 | - var require_document_create_element = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 482 | - var globalThis = require_global_this(); | |
| 483 | - var isObject = require_is_object(); | |
| 484 | - var document = globalThis.document; | |
| 485 | - var EXISTS = isObject(document) && isObject(document.createElement); | |
| 486 | - module.exports = function(it) { | |
| 487 | - return EXISTS ? document.createElement(it) : {}; | |
| 488 | - }; | |
| 489 | - })); | |
| 837 | +module.exports = elementorModules.ViewModule.extend({ | |
| 838 | + getDefaultSettings() { | |
| 839 | + return { | |
| 840 | + element: null, | |
| 841 | + direction: elementorFrontend.config.is_rtl ? 'right' : 'left', | |
| 842 | + selectors: { | |
| 843 | + container: window | |
| 844 | + }, | |
| 845 | + considerScrollbar: false, | |
| 846 | + cssOutput: 'inline' | |
| 847 | + }; | |
| 848 | + }, | |
| 849 | + getDefaultElements() { | |
| 850 | + return { | |
| 851 | + $element: jQuery(this.getSettings('element')) | |
| 852 | + }; | |
| 853 | + }, | |
| 854 | + stretch() { | |
| 855 | + const settings = this.getSettings(); | |
| 856 | + let $container; | |
| 857 | + try { | |
| 858 | + $container = jQuery(settings.selectors.container); | |
| 859 | + // eslint-disable-next-line no-empty | |
| 860 | + } catch (e) {} | |
| 861 | + if (!$container || !$container.length) { | |
| 862 | + $container = jQuery(this.getDefaultSettings().selectors.container); | |
| 863 | + } | |
| 864 | + this.reset(); | |
| 865 | + var $element = this.elements.$element, | |
| 866 | + containerWidth = $container.innerWidth(), | |
| 867 | + elementOffset = $element.offset().left, | |
| 868 | + isFixed = 'fixed' === $element.css('position'), | |
| 869 | + correctOffset = isFixed ? 0 : elementOffset, | |
| 870 | + isContainerFullScreen = window === $container[0]; | |
| 871 | + if (!isContainerFullScreen) { | |
| 872 | + var containerOffset = $container.offset().left; | |
| 873 | + if (isFixed) { | |
| 874 | + correctOffset = containerOffset; | |
| 875 | + } | |
| 876 | + if (elementOffset > containerOffset) { | |
| 877 | + correctOffset = elementOffset - containerOffset; | |
| 878 | + } | |
| 879 | + } | |
| 880 | + if (settings.considerScrollbar && isContainerFullScreen) { | |
| 881 | + const scrollbarWidth = window.innerWidth - containerWidth; | |
| 882 | + correctOffset -= scrollbarWidth; | |
| 883 | + } | |
| 884 | + if (!isFixed) { | |
| 885 | + if (elementorFrontend.config.is_rtl) { | |
| 886 | + correctOffset = containerWidth - ($element.outerWidth() + correctOffset); | |
| 887 | + } | |
| 888 | + correctOffset = -correctOffset; | |
| 889 | + } | |
| 490 | 890 | |
| 491 | -//#endregion | |
| 492 | -//#region node_modules/core-js/internals/ie8-dom-define.js | |
| 493 | - var require_ie8_dom_define = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 494 | - var DESCRIPTORS = require_descriptors(); | |
| 495 | - var fails = require_fails(); | |
| 496 | - var createElement = require_document_create_element(); | |
| 497 | - module.exports = !DESCRIPTORS && !fails(function() { | |
| 498 | - return Object.defineProperty(createElement("div"), "a", { get: function() { | |
| 499 | - return 7; | |
| 500 | - } }).a !== 7; | |
| 501 | - }); | |
| 502 | - })); | |
| 891 | + // Consider margin | |
| 892 | + if (settings.margin) { | |
| 893 | + correctOffset += settings.margin; | |
| 894 | + } | |
| 895 | + var css = {}; | |
| 896 | + let width = containerWidth; | |
| 897 | + if (settings.margin) { | |
| 898 | + width -= settings.margin * 2; | |
| 899 | + } | |
| 900 | + css.width = width + 'px'; | |
| 901 | + css[settings.direction] = correctOffset + 'px'; | |
| 902 | + if ('variables' === settings.cssOutput) { | |
| 903 | + this.applyCssVariables($element, css); | |
| 904 | + return; | |
| 905 | + } | |
| 906 | + $element.css(css); | |
| 907 | + }, | |
| 908 | + reset() { | |
| 909 | + const css = {}, | |
| 910 | + settings = this.getSettings(), | |
| 911 | + $element = this.elements.$element; | |
| 912 | + if ('variables' === settings.cssOutput) { | |
| 913 | + this.resetCssVariables($element); | |
| 914 | + return; | |
| 915 | + } | |
| 916 | + css.width = ''; | |
| 917 | + css[settings.direction] = ''; | |
| 918 | + $element.css(css); | |
| 919 | + }, | |
| 920 | + applyCssVariables($element, css) { | |
| 921 | + $element.css('--stretch-width', css.width); | |
| 922 | + if (!!css.left) { | |
| 923 | + $element.css('--stretch-left', css.left); | |
| 924 | + } else { | |
| 925 | + $element.css('--stretch-right', css.right); | |
| 926 | + } | |
| 927 | + }, | |
| 928 | + resetCssVariables($element) { | |
| 929 | + $element.css({ | |
| 930 | + '--stretch-width': '', | |
| 931 | + '--stretch-left': '', | |
| 932 | + '--stretch-right': '' | |
| 933 | + }); | |
| 934 | + } | |
| 935 | +}); | |
| 503 | 936 | |
| 504 | -//#endregion | |
| 505 | -//#region node_modules/core-js/internals/object-get-own-property-descriptor.js | |
| 506 | - var require_object_get_own_property_descriptor = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 507 | - var DESCRIPTORS = require_descriptors(); | |
| 508 | - var call = require_function_call(); | |
| 509 | - var propertyIsEnumerableModule = require_object_property_is_enumerable(); | |
| 510 | - var createPropertyDescriptor = require_create_property_descriptor(); | |
| 511 | - var toIndexedObject = require_to_indexed_object(); | |
| 512 | - var toPropertyKey = require_to_property_key(); | |
| 513 | - var hasOwn = require_has_own_property(); | |
| 514 | - var IE8_DOM_DEFINE = require_ie8_dom_define(); | |
| 515 | - var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
| 516 | - exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { | |
| 517 | - O = toIndexedObject(O); | |
| 518 | - P = toPropertyKey(P); | |
| 519 | - if (IE8_DOM_DEFINE) try { | |
| 520 | - return $getOwnPropertyDescriptor(O, P); | |
| 521 | - } catch (error) {} | |
| 522 | - if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]); | |
| 523 | - }; | |
| 524 | - })); | |
| 937 | +/***/ }), | |
| 525 | 938 | |
| 526 | -//#endregion | |
| 527 | -//#region node_modules/core-js/internals/v8-prototype-define-bug.js | |
| 528 | - var require_v8_prototype_define_bug = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 529 | - var DESCRIPTORS = require_descriptors(); | |
| 530 | - var fails = require_fails(); | |
| 531 | - module.exports = DESCRIPTORS && fails(function() { | |
| 532 | - return Object.defineProperty(function() {}, "prototype", { | |
| 533 | - value: 42, | |
| 534 | - writable: false | |
| 535 | - }).prototype !== 42; | |
| 536 | - }); | |
| 537 | - })); | |
| 939 | +/***/ "../assets/dev/js/frontend/utils/flex-horizontal-scroll.js": | |
| 940 | +/*!*****************************************************************!*\ | |
| 941 | + !*** ../assets/dev/js/frontend/utils/flex-horizontal-scroll.js ***! | |
| 942 | + \*****************************************************************/ | |
| 943 | +/***/ ((__unused_webpack_module, exports) => { | |
| 538 | 944 | |
| 539 | -//#endregion | |
| 540 | -//#region node_modules/core-js/internals/an-object.js | |
| 541 | - var require_an_object = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 542 | - var isObject = require_is_object(); | |
| 543 | - var $String = String; | |
| 544 | - var $TypeError = TypeError; | |
| 545 | - module.exports = function(argument) { | |
| 546 | - if (isObject(argument)) return argument; | |
| 547 | - throw new $TypeError($String(argument) + " is not an object"); | |
| 548 | - }; | |
| 549 | - })); | |
| 945 | +"use strict"; | |
| 550 | 946 | |
| 551 | -//#endregion | |
| 552 | -//#region node_modules/core-js/internals/object-define-property.js | |
| 553 | - var require_object_define_property = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 554 | - var DESCRIPTORS = require_descriptors(); | |
| 555 | - var IE8_DOM_DEFINE = require_ie8_dom_define(); | |
| 556 | - var V8_PROTOTYPE_DEFINE_BUG = require_v8_prototype_define_bug(); | |
| 557 | - var anObject = require_an_object(); | |
| 558 | - var toPropertyKey = require_to_property_key(); | |
| 559 | - var $TypeError = TypeError; | |
| 560 | - var $defineProperty = Object.defineProperty; | |
| 561 | - var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
| 562 | - var ENUMERABLE = "enumerable"; | |
| 563 | - var CONFIGURABLE = "configurable"; | |
| 564 | - var WRITABLE = "writable"; | |
| 565 | - exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) { | |
| 566 | - anObject(O); | |
| 567 | - P = toPropertyKey(P); | |
| 568 | - anObject(Attributes); | |
| 569 | - if (typeof O === "function" && P === "prototype" && "value" in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { | |
| 570 | - var current = $getOwnPropertyDescriptor(O, P); | |
| 571 | - if (current && current[WRITABLE]) { | |
| 572 | - O[P] = Attributes.value; | |
| 573 | - Attributes = { | |
| 574 | - configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE], | |
| 575 | - enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE], | |
| 576 | - writable: false | |
| 577 | - }; | |
| 578 | - } | |
| 579 | - } | |
| 580 | - return $defineProperty(O, P, Attributes); | |
| 581 | - } : $defineProperty : function defineProperty(O, P, Attributes) { | |
| 582 | - anObject(O); | |
| 583 | - P = toPropertyKey(P); | |
| 584 | - anObject(Attributes); | |
| 585 | - if (IE8_DOM_DEFINE) try { | |
| 586 | - return $defineProperty(O, P, Attributes); | |
| 587 | - } catch (error) {} | |
| 588 | - if ("get" in Attributes || "set" in Attributes) throw new $TypeError("Accessors not supported"); | |
| 589 | - if ("value" in Attributes) O[P] = Attributes.value; | |
| 590 | - return O; | |
| 591 | - }; | |
| 592 | - })); | |
| 593 | 947 | |
| 594 | -//#endregion | |
| 595 | -//#region node_modules/core-js/internals/create-non-enumerable-property.js | |
| 596 | - var require_create_non_enumerable_property = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 597 | - var DESCRIPTORS = require_descriptors(); | |
| 598 | - var definePropertyModule = require_object_define_property(); | |
| 599 | - var createPropertyDescriptor = require_create_property_descriptor(); | |
| 600 | - module.exports = DESCRIPTORS ? function(object, key, value) { | |
| 601 | - return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); | |
| 602 | - } : function(object, key, value) { | |
| 603 | - object[key] = value; | |
| 604 | - return object; | |
| 605 | - }; | |
| 606 | - })); | |
| 948 | +Object.defineProperty(exports, "__esModule", ({ | |
| 949 | + value: true | |
| 950 | +})); | |
| 951 | +exports.changeScrollStatus = changeScrollStatus; | |
| 952 | +exports.setHorizontalScrollAlignment = setHorizontalScrollAlignment; | |
| 953 | +exports.setHorizontalTitleScrollValues = setHorizontalTitleScrollValues; | |
| 954 | +function changeScrollStatus(element, event) { | |
| 955 | + if ('mousedown' === event.type) { | |
| 956 | + element.classList.add('e-scroll'); | |
| 957 | + element.dataset.pageX = event.pageX; | |
| 958 | + } else { | |
| 959 | + element.classList.remove('e-scroll', 'e-scroll-active'); | |
| 960 | + element.dataset.pageX = ''; | |
| 961 | + } | |
| 962 | +} | |
| 607 | 963 | |
| 608 | -//#endregion | |
| 609 | -//#region node_modules/core-js/internals/function-name.js | |
| 610 | - var require_function_name = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 611 | - var DESCRIPTORS = require_descriptors(); | |
| 612 | - var hasOwn = require_has_own_property(); | |
| 613 | - var FunctionPrototype = Function.prototype; | |
| 614 | - var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor; | |
| 615 | - var EXISTS = hasOwn(FunctionPrototype, "name"); | |
| 616 | - var PROPER = EXISTS && (function something() {}).name === "something"; | |
| 617 | - var CONFIGURABLE = EXISTS && (!DESCRIPTORS || DESCRIPTORS && getDescriptor(FunctionPrototype, "name").configurable); | |
| 618 | - module.exports = { | |
| 619 | - EXISTS, | |
| 620 | - PROPER, | |
| 621 | - CONFIGURABLE | |
| 622 | - }; | |
| 623 | - })); | |
| 964 | +// This function was written using this example https://codepen.io/thenutz/pen/VwYeYEE. | |
| 965 | +function setHorizontalTitleScrollValues(element, horizontalScrollStatus, event) { | |
| 966 | + const isActiveScroll = element.classList.contains('e-scroll'), | |
| 967 | + isHorizontalScrollActive = 'enable' === horizontalScrollStatus, | |
| 968 | + headingContentIsWiderThanWrapper = element.scrollWidth > element.clientWidth; | |
| 969 | + if (!isActiveScroll || !isHorizontalScrollActive || !headingContentIsWiderThanWrapper) { | |
| 970 | + return; | |
| 971 | + } | |
| 972 | + event.preventDefault(); | |
| 973 | + const previousPositionX = parseFloat(element.dataset.pageX), | |
| 974 | + mouseMoveX = event.pageX - previousPositionX, | |
| 975 | + maximumScrollValue = 5, | |
| 976 | + stepLimit = 20; | |
| 977 | + let toScrollDistanceX = 0; | |
| 978 | + if (stepLimit < mouseMoveX) { | |
| 979 | + toScrollDistanceX = maximumScrollValue; | |
| 980 | + } else if (stepLimit * -1 > mouseMoveX) { | |
| 981 | + toScrollDistanceX = -1 * maximumScrollValue; | |
| 982 | + } else { | |
| 983 | + toScrollDistanceX = mouseMoveX; | |
| 984 | + } | |
| 985 | + element.scrollLeft = element.scrollLeft - toScrollDistanceX; | |
| 986 | + element.classList.add('e-scroll-active'); | |
| 987 | +} | |
| 988 | +function setHorizontalScrollAlignment(_ref) { | |
| 989 | + let { | |
| 990 | + element, | |
| 991 | + direction, | |
| 992 | + justifyCSSVariable, | |
| 993 | + horizontalScrollStatus | |
| 994 | + } = _ref; | |
| 995 | + if (!element) { | |
| 996 | + return; | |
| 997 | + } | |
| 998 | + if (isHorizontalScroll(element, horizontalScrollStatus)) { | |
| 999 | + initialScrollPosition(element, direction, justifyCSSVariable); | |
| 1000 | + } else { | |
| 1001 | + element.style.setProperty(justifyCSSVariable, ''); | |
| 1002 | + } | |
| 1003 | +} | |
| 1004 | +function isHorizontalScroll(element, horizontalScrollStatus) { | |
| 1005 | + return element.clientWidth < getChildrenWidth(element.children) && 'enable' === horizontalScrollStatus; | |
| 1006 | +} | |
| 1007 | +function getChildrenWidth(children) { | |
| 1008 | + let totalWidth = 0; | |
| 1009 | + const parentContainer = children[0].parentNode, | |
| 1010 | + computedStyles = getComputedStyle(parentContainer), | |
| 1011 | + gap = parseFloat(computedStyles.gap) || 0; // Get the gap value or default to 0 if it's not specified | |
| 624 | 1012 | |
| 625 | -//#endregion | |
| 626 | -//#region node_modules/core-js/internals/inspect-source.js | |
| 627 | - var require_inspect_source = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 628 | - var uncurryThis = require_function_uncurry_this(); | |
| 629 | - var isCallable = require_is_callable(); | |
| 630 | - var store = require_shared_store(); | |
| 631 | - var functionToString = uncurryThis(Function.toString); | |
| 632 | - if (!isCallable(store.inspectSource)) store.inspectSource = function(it) { | |
| 633 | - return functionToString(it); | |
| 634 | - }; | |
| 635 | - module.exports = store.inspectSource; | |
| 636 | - })); | |
| 1013 | + for (let i = 0; i < children.length; i++) { | |
| 1014 | + totalWidth += children[i].offsetWidth + gap; | |
| 1015 | + } | |
| 1016 | + return totalWidth; | |
| 1017 | +} | |
| 1018 | +function initialScrollPosition(element, direction, justifyCSSVariable) { | |
| 1019 | + const isRTL = elementorFrontend.config.is_rtl; | |
| 1020 | + switch (direction) { | |
| 1021 | + case 'end': | |
| 1022 | + element.style.setProperty(justifyCSSVariable, 'start'); | |
| 1023 | + element.scrollLeft = isRTL ? -1 * getChildrenWidth(element.children) : getChildrenWidth(element.children); | |
| 1024 | + break; | |
| 1025 | + default: | |
| 1026 | + element.style.setProperty(justifyCSSVariable, 'start'); | |
| 1027 | + element.scrollLeft = 0; | |
| 1028 | + } | |
| 1029 | +} | |
| 637 | 1030 | |
| 638 | -//#endregion | |
| 639 | -//#region node_modules/core-js/internals/weak-map-basic-detection.js | |
| 640 | - var require_weak_map_basic_detection = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 641 | - var globalThis = require_global_this(); | |
| 642 | - var isCallable = require_is_callable(); | |
| 643 | - var WeakMap = globalThis.WeakMap; | |
| 644 | - module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap)); | |
| 645 | - })); | |
| 1031 | +/***/ }), | |
| 646 | 1032 | |
| 647 | -//#endregion | |
| 648 | -//#region node_modules/core-js/internals/shared-key.js | |
| 649 | - var require_shared_key = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 650 | - var shared = require_shared(); | |
| 651 | - var uid = require_uid(); | |
| 652 | - var keys = shared("keys"); | |
| 653 | - module.exports = function(key) { | |
| 654 | - return keys[key] || (keys[key] = uid(key)); | |
| 655 | - }; | |
| 656 | - })); | |
| 1033 | +/***/ "../assets/dev/js/modules/imports/args-object.js": | |
| 1034 | +/*!*******************************************************!*\ | |
| 1035 | + !*** ../assets/dev/js/modules/imports/args-object.js ***! | |
| 1036 | + \*******************************************************/ | |
| 1037 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 657 | 1038 | |
| 658 | -//#endregion | |
| 659 | -//#region node_modules/core-js/internals/hidden-keys.js | |
| 660 | - var require_hidden_keys = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 661 | - module.exports = {}; | |
| 662 | - })); | |
| 1039 | +"use strict"; | |
| 663 | 1040 | |
| 664 | -//#endregion | |
| 665 | -//#region node_modules/core-js/internals/internal-state.js | |
| 666 | - var require_internal_state = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 667 | - var NATIVE_WEAK_MAP = require_weak_map_basic_detection(); | |
| 668 | - var globalThis = require_global_this(); | |
| 669 | - var isObject = require_is_object(); | |
| 670 | - var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
| 671 | - var hasOwn = require_has_own_property(); | |
| 672 | - var shared = require_shared_store(); | |
| 673 | - var sharedKey = require_shared_key(); | |
| 674 | - var hiddenKeys = require_hidden_keys(); | |
| 675 | - var OBJECT_ALREADY_INITIALIZED = "Object already initialized"; | |
| 676 | - var TypeError = globalThis.TypeError; | |
| 677 | - var WeakMap = globalThis.WeakMap; | |
| 678 | - var set; | |
| 679 | - var get; | |
| 680 | - var has; | |
| 681 | - var enforce = function(it) { | |
| 682 | - return has(it) ? get(it) : set(it, {}); | |
| 683 | - }; | |
| 684 | - var getterFor = function(TYPE) { | |
| 685 | - return function(it) { | |
| 686 | - var state; | |
| 687 | - if (!isObject(it) || (state = get(it)).type !== TYPE) throw new TypeError("Incompatible receiver, " + TYPE + " required"); | |
| 688 | - return state; | |
| 689 | - }; | |
| 690 | - }; | |
| 691 | - if (NATIVE_WEAK_MAP || shared.state) { | |
| 692 | - var store = shared.state || (shared.state = new WeakMap()); | |
| 693 | - store.get = store.get; | |
| 694 | - store.has = store.has; | |
| 695 | - store.set = store.set; | |
| 696 | - set = function(it, metadata) { | |
| 697 | - if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); | |
| 698 | - metadata.facade = it; | |
| 699 | - store.set(it, metadata); | |
| 700 | - return metadata; | |
| 701 | - }; | |
| 702 | - get = function(it) { | |
| 703 | - return store.get(it) || {}; | |
| 704 | - }; | |
| 705 | - has = function(it) { | |
| 706 | - return store.has(it); | |
| 707 | - }; | |
| 708 | - } else { | |
| 709 | - var STATE = sharedKey("state"); | |
| 710 | - hiddenKeys[STATE] = true; | |
| 711 | - set = function(it, metadata) { | |
| 712 | - if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); | |
| 713 | - metadata.facade = it; | |
| 714 | - createNonEnumerableProperty(it, STATE, metadata); | |
| 715 | - return metadata; | |
| 716 | - }; | |
| 717 | - get = function(it) { | |
| 718 | - return hasOwn(it, STATE) ? it[STATE] : {}; | |
| 719 | - }; | |
| 720 | - has = function(it) { | |
| 721 | - return hasOwn(it, STATE); | |
| 722 | - }; | |
| 723 | - } | |
| 724 | - module.exports = { | |
| 725 | - set, | |
| 726 | - get, | |
| 727 | - has, | |
| 728 | - enforce, | |
| 729 | - getterFor | |
| 730 | - }; | |
| 731 | - })); | |
| 732 | 1041 | |
| 733 | -//#endregion | |
| 734 | -//#region node_modules/core-js/internals/make-built-in.js | |
| 735 | - var require_make_built_in = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 736 | - var uncurryThis = require_function_uncurry_this(); | |
| 737 | - var fails = require_fails(); | |
| 738 | - var isCallable = require_is_callable(); | |
| 739 | - var hasOwn = require_has_own_property(); | |
| 740 | - var DESCRIPTORS = require_descriptors(); | |
| 741 | - var CONFIGURABLE_FUNCTION_NAME = require_function_name().CONFIGURABLE; | |
| 742 | - var inspectSource = require_inspect_source(); | |
| 743 | - var InternalStateModule = require_internal_state(); | |
| 744 | - var enforceInternalState = InternalStateModule.enforce; | |
| 745 | - var getInternalState = InternalStateModule.get; | |
| 746 | - var $String = String; | |
| 747 | - var defineProperty = Object.defineProperty; | |
| 748 | - var stringSlice = uncurryThis("".slice); | |
| 749 | - var replace = uncurryThis("".replace); | |
| 750 | - var join = uncurryThis([].join); | |
| 751 | - var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function() { | |
| 752 | - return defineProperty(function() {}, "length", { value: 8 }).length !== 8; | |
| 753 | - }); | |
| 754 | - var TEMPLATE = String(String).split("String"); | |
| 755 | - var makeBuiltIn = module.exports = function(value, name, options) { | |
| 756 | - if (stringSlice($String(name), 0, 7) === "Symbol(") name = "[" + replace($String(name), /^Symbol\(([^)]*)\).*$/, "$1") + "]"; | |
| 757 | - if (options && options.getter) name = "get " + name; | |
| 758 | - if (options && options.setter) name = "set " + name; | |
| 759 | - if (!hasOwn(value, "name") || CONFIGURABLE_FUNCTION_NAME && value.name !== name) if (DESCRIPTORS) defineProperty(value, "name", { | |
| 760 | - value: name, | |
| 761 | - configurable: true | |
| 762 | - }); | |
| 763 | - else value.name = name; | |
| 764 | - if (CONFIGURABLE_LENGTH && options && hasOwn(options, "arity") && value.length !== options.arity) defineProperty(value, "length", { value: options.arity }); | |
| 765 | - try { | |
| 766 | - if (options && hasOwn(options, "constructor") && options.constructor) { | |
| 767 | - if (DESCRIPTORS) defineProperty(value, "prototype", { writable: false }); | |
| 768 | - } else if (value.prototype) value.prototype = void 0; | |
| 769 | - } catch (error) {} | |
| 770 | - var state = enforceInternalState(value); | |
| 771 | - if (!hasOwn(state, "source")) state.source = join(TEMPLATE, typeof name == "string" ? name : ""); | |
| 772 | - return value; | |
| 773 | - }; | |
| 774 | - Function.prototype.toString = makeBuiltIn(function toString() { | |
| 775 | - return isCallable(this) && getInternalState(this).source || inspectSource(this); | |
| 776 | - }, "toString"); | |
| 777 | - })); | |
| 1042 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1043 | +Object.defineProperty(exports, "__esModule", ({ | |
| 1044 | + value: true | |
| 1045 | +})); | |
| 1046 | +exports["default"] = void 0; | |
| 1047 | +var _instanceType = _interopRequireDefault(__webpack_require__(/*! ./instance-type */ "../assets/dev/js/modules/imports/instance-type.js")); | |
| 1048 | +var _isInstanceof = _interopRequireDefault(__webpack_require__(/*! ../../editor/utils/is-instanceof */ "../assets/dev/js/editor/utils/is-instanceof.js")); | |
| 1049 | +class ArgsObject extends _instanceType.default { | |
| 1050 | + static getInstanceType() { | |
| 1051 | + return 'ArgsObject'; | |
| 1052 | + } | |
| 778 | 1053 | |
| 779 | -//#endregion | |
| 780 | -//#region node_modules/core-js/internals/define-built-in.js | |
| 781 | - var require_define_built_in = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 782 | - var isCallable = require_is_callable(); | |
| 783 | - var definePropertyModule = require_object_define_property(); | |
| 784 | - var makeBuiltIn = require_make_built_in(); | |
| 785 | - var defineGlobalProperty = require_define_global_property(); | |
| 786 | - module.exports = function(O, key, value, options) { | |
| 787 | - if (!options) options = {}; | |
| 788 | - var simple = options.enumerable; | |
| 789 | - var name = options.name !== void 0 ? options.name : key; | |
| 790 | - if (isCallable(value)) makeBuiltIn(value, name, options); | |
| 791 | - if (options.global) if (simple) O[key] = value; | |
| 792 | - else defineGlobalProperty(key, value); | |
| 793 | - else { | |
| 794 | - try { | |
| 795 | - if (!options.unsafe) delete O[key]; | |
| 796 | - else if (O[key]) simple = true; | |
| 797 | - } catch (error) {} | |
| 798 | - if (simple) O[key] = value; | |
| 799 | - else definePropertyModule.f(O, key, { | |
| 800 | - value, | |
| 801 | - enumerable: false, | |
| 802 | - configurable: !options.nonConfigurable, | |
| 803 | - writable: !options.nonWritable | |
| 804 | - }); | |
| 805 | - } | |
| 806 | - return O; | |
| 807 | - }; | |
| 808 | - })); | |
| 1054 | + /** | |
| 1055 | + * Function constructor(). | |
| 1056 | + * | |
| 1057 | + * Create ArgsObject. | |
| 1058 | + * | |
| 1059 | + * @param {{}} args | |
| 1060 | + */ | |
| 1061 | + constructor(args) { | |
| 1062 | + super(); | |
| 1063 | + this.args = args; | |
| 1064 | + } | |
| 809 | 1065 | |
| 810 | -//#endregion | |
| 811 | -//#region node_modules/core-js/internals/math-trunc.js | |
| 812 | - var require_math_trunc = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 813 | - var ceil = Math.ceil; | |
| 814 | - var floor = Math.floor; | |
| 815 | - module.exports = Math.trunc || function trunc(x) { | |
| 816 | - var n = +x; | |
| 817 | - return (n > 0 ? floor : ceil)(n); | |
| 818 | - }; | |
| 819 | - })); | |
| 1066 | + /** | |
| 1067 | + * Function requireArgument(). | |
| 1068 | + * | |
| 1069 | + * Validate property in args. | |
| 1070 | + * | |
| 1071 | + * @param {string} property | |
| 1072 | + * @param {{}} args | |
| 1073 | + * | |
| 1074 | + * @throws {Error} | |
| 1075 | + */ | |
| 1076 | + requireArgument(property) { | |
| 1077 | + let args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.args; | |
| 1078 | + if (!Object.prototype.hasOwnProperty.call(args, property)) { | |
| 1079 | + throw Error(`${property} is required.`); | |
| 1080 | + } | |
| 1081 | + } | |
| 820 | 1082 | |
| 821 | -//#endregion | |
| 822 | -//#region node_modules/core-js/internals/to-integer-or-infinity.js | |
| 823 | - var require_to_integer_or_infinity = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 824 | - var trunc = require_math_trunc(); | |
| 825 | - module.exports = function(argument) { | |
| 826 | - var number = +argument; | |
| 827 | - return number !== number || number === 0 ? 0 : trunc(number); | |
| 828 | - }; | |
| 829 | - })); | |
| 1083 | + /** | |
| 1084 | + * Function requireArgumentType(). | |
| 1085 | + * | |
| 1086 | + * Validate property in args using `type === typeof(args.whatever)`. | |
| 1087 | + * | |
| 1088 | + * @param {string} property | |
| 1089 | + * @param {string} type | |
| 1090 | + * @param {{}} args | |
| 1091 | + * | |
| 1092 | + * @throws {Error} | |
| 1093 | + */ | |
| 1094 | + requireArgumentType(property, type) { | |
| 1095 | + let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 1096 | + this.requireArgument(property, args); | |
| 1097 | + if (typeof args[property] !== type) { | |
| 1098 | + throw Error(`${property} invalid type: ${type}.`); | |
| 1099 | + } | |
| 1100 | + } | |
| 830 | 1101 | |
| 831 | -//#endregion | |
| 832 | -//#region node_modules/core-js/internals/to-absolute-index.js | |
| 833 | - var require_to_absolute_index = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 834 | - var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
| 835 | - var max = Math.max; | |
| 836 | - var min = Math.min; | |
| 837 | - module.exports = function(index, length) { | |
| 838 | - var integer = toIntegerOrInfinity(index); | |
| 839 | - return integer < 0 ? max(integer + length, 0) : min(integer, length); | |
| 840 | - }; | |
| 841 | - })); | |
| 1102 | + /** | |
| 1103 | + * Function requireArgumentInstance(). | |
| 1104 | + * | |
| 1105 | + * Validate property in args using `args.whatever instanceof instance`. | |
| 1106 | + * | |
| 1107 | + * @param {string} property | |
| 1108 | + * @param {*} instance | |
| 1109 | + * @param {{}} args | |
| 1110 | + * | |
| 1111 | + * @throws {Error} | |
| 1112 | + */ | |
| 1113 | + requireArgumentInstance(property, instance) { | |
| 1114 | + let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 1115 | + this.requireArgument(property, args); | |
| 1116 | + if (!(args[property] instanceof instance) && !(0, _isInstanceof.default)(args[property], instance)) { | |
| 1117 | + throw Error(`${property} invalid instance.`); | |
| 1118 | + } | |
| 1119 | + } | |
| 842 | 1120 | |
| 843 | -//#endregion | |
| 844 | -//#region node_modules/core-js/internals/to-length.js | |
| 845 | - var require_to_length = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 846 | - var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
| 847 | - var min = Math.min; | |
| 848 | - module.exports = function(argument) { | |
| 849 | - var len = toIntegerOrInfinity(argument); | |
| 850 | - return len > 0 ? min(len, 9007199254740991) : 0; | |
| 851 | - }; | |
| 852 | - })); | |
| 1121 | + /** | |
| 1122 | + * Function requireArgumentConstructor(). | |
| 1123 | + * | |
| 1124 | + * Validate property in args using `type === args.whatever.constructor`. | |
| 1125 | + * | |
| 1126 | + * @param {string} property | |
| 1127 | + * @param {*} type | |
| 1128 | + * @param {{}} args | |
| 1129 | + * | |
| 1130 | + * @throws {Error} | |
| 1131 | + */ | |
| 1132 | + requireArgumentConstructor(property, type) { | |
| 1133 | + let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 1134 | + this.requireArgument(property, args); | |
| 853 | 1135 | |
| 854 | -//#endregion | |
| 855 | -//#region node_modules/core-js/internals/length-of-array-like.js | |
| 856 | - var require_length_of_array_like = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 857 | - var toLength = require_to_length(); | |
| 858 | - module.exports = function(obj) { | |
| 859 | - return toLength(obj.length); | |
| 860 | - }; | |
| 861 | - })); | |
| 1136 | + // Note: Converting the constructor to string in order to avoid equation issues | |
| 1137 | + // due to different memory addresses between iframes (window.Object !== window.top.Object). | |
| 1138 | + if (args[property].constructor.toString() !== type.prototype.constructor.toString()) { | |
| 1139 | + throw Error(`${property} invalid constructor type.`); | |
| 1140 | + } | |
| 1141 | + } | |
| 1142 | +} | |
| 1143 | +exports["default"] = ArgsObject; | |
| 862 | 1144 | |
| 863 | -//#endregion | |
| 864 | -//#region node_modules/core-js/internals/array-includes.js | |
| 865 | - var require_array_includes = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 866 | - var toIndexedObject = require_to_indexed_object(); | |
| 867 | - var toAbsoluteIndex = require_to_absolute_index(); | |
| 868 | - var lengthOfArrayLike = require_length_of_array_like(); | |
| 869 | - var createMethod = function(IS_INCLUDES) { | |
| 870 | - return function($this, el, fromIndex) { | |
| 871 | - var O = toIndexedObject($this); | |
| 872 | - var length = lengthOfArrayLike(O); | |
| 873 | - if (length === 0) return !IS_INCLUDES && -1; | |
| 874 | - var index = toAbsoluteIndex(fromIndex, length); | |
| 875 | - var value; | |
| 876 | - if (IS_INCLUDES && el !== el) while (length > index) { | |
| 877 | - value = O[index++]; | |
| 878 | - if (value !== value) return true; | |
| 879 | - } | |
| 880 | - else for (; length > index; index++) if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; | |
| 881 | - return !IS_INCLUDES && -1; | |
| 882 | - }; | |
| 883 | - }; | |
| 884 | - module.exports = { | |
| 885 | - includes: createMethod(true), | |
| 886 | - indexOf: createMethod(false) | |
| 887 | - }; | |
| 888 | - })); | |
| 1145 | +/***/ }), | |
| 889 | 1146 | |
| 890 | -//#endregion | |
| 891 | -//#region node_modules/core-js/internals/object-keys-internal.js | |
| 892 | - var require_object_keys_internal = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 893 | - var uncurryThis = require_function_uncurry_this(); | |
| 894 | - var hasOwn = require_has_own_property(); | |
| 895 | - var toIndexedObject = require_to_indexed_object(); | |
| 896 | - var indexOf = require_array_includes().indexOf; | |
| 897 | - var hiddenKeys = require_hidden_keys(); | |
| 898 | - var push = uncurryThis([].push); | |
| 899 | - module.exports = function(object, names) { | |
| 900 | - var O = toIndexedObject(object); | |
| 901 | - var i = 0; | |
| 902 | - var result = []; | |
| 903 | - var key; | |
| 904 | - for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key); | |
| 905 | - while (names.length > i) if (hasOwn(O, key = names[i++])) ~indexOf(result, key) || push(result, key); | |
| 906 | - return result; | |
| 907 | - }; | |
| 908 | - })); | |
| 1147 | +/***/ "../assets/dev/js/modules/imports/force-method-implementation.js": | |
| 1148 | +/*!***********************************************************************!*\ | |
| 1149 | + !*** ../assets/dev/js/modules/imports/force-method-implementation.js ***! | |
| 1150 | + \***********************************************************************/ | |
| 1151 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 909 | 1152 | |
| 910 | -//#endregion | |
| 911 | -//#region node_modules/core-js/internals/enum-bug-keys.js | |
| 912 | - var require_enum_bug_keys = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 913 | - module.exports = [ | |
| 914 | - "constructor", | |
| 915 | - "hasOwnProperty", | |
| 916 | - "isPrototypeOf", | |
| 917 | - "propertyIsEnumerable", | |
| 918 | - "toLocaleString", | |
| 919 | - "toString", | |
| 920 | - "valueOf" | |
| 921 | - ]; | |
| 922 | - })); | |
| 1153 | +"use strict"; | |
| 923 | 1154 | |
| 924 | -//#endregion | |
| 925 | -//#region node_modules/core-js/internals/object-get-own-property-names.js | |
| 926 | - var require_object_get_own_property_names = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 927 | - var internalObjectKeys = require_object_keys_internal(); | |
| 928 | - var hiddenKeys = require_enum_bug_keys().concat("length", "prototype"); | |
| 929 | - exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { | |
| 930 | - return internalObjectKeys(O, hiddenKeys); | |
| 931 | - }; | |
| 932 | - })); | |
| 933 | 1155 | |
| 934 | -//#endregion | |
| 935 | -//#region node_modules/core-js/internals/object-get-own-property-symbols.js | |
| 936 | - var require_object_get_own_property_symbols = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 937 | - exports.f = Object.getOwnPropertySymbols; | |
| 938 | - })); | |
| 1156 | +Object.defineProperty(exports, "__esModule", ({ | |
| 1157 | + value: true | |
| 1158 | +})); | |
| 1159 | +exports["default"] = exports.ForceMethodImplementation = void 0; | |
| 1160 | +__webpack_require__(/*! core-js/modules/es.array.includes.js */ "../node_modules/core-js/modules/es.array.includes.js"); | |
| 1161 | +// TODO: Wrong location used as `elementorModules.ForceMethodImplementation(); should be` `elementorUtils.forceMethodImplementation()`; | |
| 939 | 1162 | |
| 940 | -//#endregion | |
| 941 | -//#region node_modules/core-js/internals/own-keys.js | |
| 942 | - var require_own_keys = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 943 | - var getBuiltIn = require_get_built_in(); | |
| 944 | - var uncurryThis = require_function_uncurry_this(); | |
| 945 | - var getOwnPropertyNamesModule = require_object_get_own_property_names(); | |
| 946 | - var getOwnPropertySymbolsModule = require_object_get_own_property_symbols(); | |
| 947 | - var anObject = require_an_object(); | |
| 948 | - var concat = uncurryThis([].concat); | |
| 949 | - module.exports = getBuiltIn("Reflect", "ownKeys") || function ownKeys(it) { | |
| 950 | - var keys = getOwnPropertyNamesModule.f(anObject(it)); | |
| 951 | - var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; | |
| 952 | - return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys; | |
| 953 | - }; | |
| 954 | - })); | |
| 1163 | +class ForceMethodImplementation extends Error { | |
| 1164 | + constructor() { | |
| 1165 | + let info = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 1166 | + let args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | |
| 1167 | + super(`${info.isStatic ? 'static ' : ''}${info.fullName}() should be implemented, please provide '${info.functionName || info.fullName}' functionality.`, args); | |
| 955 | 1168 | |
| 956 | -//#endregion | |
| 957 | -//#region node_modules/core-js/internals/copy-constructor-properties.js | |
| 958 | - var require_copy_constructor_properties = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 959 | - var hasOwn = require_has_own_property(); | |
| 960 | - var ownKeys = require_own_keys(); | |
| 961 | - var getOwnPropertyDescriptorModule = require_object_get_own_property_descriptor(); | |
| 962 | - var definePropertyModule = require_object_define_property(); | |
| 963 | - module.exports = function(target, source, exceptions) { | |
| 964 | - var keys = ownKeys(source); | |
| 965 | - var defineProperty = definePropertyModule.f; | |
| 966 | - var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; | |
| 967 | - for (var i = 0; i < keys.length; i++) { | |
| 968 | - var key = keys[i]; | |
| 969 | - if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) defineProperty(target, key, getOwnPropertyDescriptor(source, key)); | |
| 970 | - } | |
| 971 | - }; | |
| 972 | - })); | |
| 1169 | + // Allow to pass custom properties to the error. | |
| 1170 | + if (Object.keys(args).length) { | |
| 1171 | + // eslint-disable-next-line no-console | |
| 1172 | + console.error(args); | |
| 1173 | + } | |
| 1174 | + Error.captureStackTrace(this, ForceMethodImplementation); | |
| 1175 | + } | |
| 1176 | +} | |
| 1177 | +exports.ForceMethodImplementation = ForceMethodImplementation; | |
| 1178 | +var _default = args => { | |
| 1179 | + const stack = Error().stack, | |
| 1180 | + caller = stack.split('\n')[2].trim(), | |
| 1181 | + callerName = caller.startsWith('at new') ? 'constructor' : caller.split(' ')[1], | |
| 1182 | + info = {}; | |
| 1183 | + info.functionName = callerName; | |
| 1184 | + info.fullName = callerName; | |
| 1185 | + if (info.functionName.includes('.')) { | |
| 1186 | + const parts = info.functionName.split('.'); | |
| 1187 | + info.className = parts[0]; | |
| 1188 | + info.functionName = parts[1]; | |
| 1189 | + } else { | |
| 1190 | + info.isStatic = true; | |
| 1191 | + } | |
| 1192 | + throw new ForceMethodImplementation(info, args); | |
| 1193 | +}; | |
| 1194 | +exports["default"] = _default; | |
| 973 | 1195 | |
| 974 | -//#endregion | |
| 975 | -//#region node_modules/core-js/internals/is-forced.js | |
| 976 | - var require_is_forced = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 977 | - var fails = require_fails(); | |
| 978 | - var isCallable = require_is_callable(); | |
| 979 | - var replacement = /#|\.prototype\./; | |
| 980 | - var isForced = function(feature, detection) { | |
| 981 | - var value = data[normalize(feature)]; | |
| 982 | - return value === POLYFILL ? true : value === NATIVE ? false : isCallable(detection) ? fails(detection) : !!detection; | |
| 983 | - }; | |
| 984 | - var normalize = isForced.normalize = function(string) { | |
| 985 | - return String(string).replace(replacement, ".").toLowerCase(); | |
| 986 | - }; | |
| 987 | - var data = isForced.data = {}; | |
| 988 | - var NATIVE = isForced.NATIVE = "N"; | |
| 989 | - var POLYFILL = isForced.POLYFILL = "P"; | |
| 990 | - module.exports = isForced; | |
| 991 | - })); | |
| 1196 | +/***/ }), | |
| 992 | 1197 | |
| 993 | -//#endregion | |
| 994 | -//#region node_modules/core-js/internals/export.js | |
| 995 | - var require_export = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 996 | - var globalThis = require_global_this(); | |
| 997 | - var getOwnPropertyDescriptor = require_object_get_own_property_descriptor().f; | |
| 998 | - var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
| 999 | - var defineBuiltIn = require_define_built_in(); | |
| 1000 | - var defineGlobalProperty = require_define_global_property(); | |
| 1001 | - var copyConstructorProperties = require_copy_constructor_properties(); | |
| 1002 | - var isForced = require_is_forced(); | |
| 1003 | - module.exports = function(options, source) { | |
| 1004 | - var TARGET = options.target; | |
| 1005 | - var GLOBAL = options.global; | |
| 1006 | - var STATIC = options.stat; | |
| 1007 | - var FORCED; | |
| 1008 | - var target; | |
| 1009 | - var key; | |
| 1010 | - var targetProperty; | |
| 1011 | - var sourceProperty; | |
| 1012 | - var descriptor; | |
| 1013 | - if (GLOBAL) target = globalThis; | |
| 1014 | - else if (STATIC) target = globalThis[TARGET] || defineGlobalProperty(TARGET, {}); | |
| 1015 | - else target = globalThis[TARGET] && globalThis[TARGET].prototype; | |
| 1016 | - if (target) for (key in source) { | |
| 1017 | - sourceProperty = source[key]; | |
| 1018 | - if (options.dontCallGetSet) { | |
| 1019 | - descriptor = getOwnPropertyDescriptor(target, key); | |
| 1020 | - targetProperty = descriptor && descriptor.value; | |
| 1021 | - } else targetProperty = target[key]; | |
| 1022 | - FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? "." : "#") + key, options.forced); | |
| 1023 | - if (!FORCED && targetProperty !== void 0) { | |
| 1024 | - if (typeof sourceProperty == typeof targetProperty) continue; | |
| 1025 | - copyConstructorProperties(sourceProperty, targetProperty); | |
| 1026 | - } | |
| 1027 | - if (options.sham || targetProperty && targetProperty.sham) createNonEnumerableProperty(sourceProperty, "sham", true); | |
| 1028 | - defineBuiltIn(target, key, sourceProperty, options); | |
| 1029 | - } | |
| 1030 | - }; | |
| 1031 | - })); | |
| 1198 | +/***/ "../assets/dev/js/modules/imports/instance-type.js": | |
| 1199 | +/*!*********************************************************!*\ | |
| 1200 | + !*** ../assets/dev/js/modules/imports/instance-type.js ***! | |
| 1201 | + \*********************************************************/ | |
| 1202 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1032 | 1203 | |
| 1033 | -//#endregion | |
| 1034 | -//#region node_modules/core-js/internals/is-array.js | |
| 1035 | - var require_is_array = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1036 | - var classof = require_classof_raw(); | |
| 1037 | - module.exports = Array.isArray || function isArray(argument) { | |
| 1038 | - return classof(argument) === "Array"; | |
| 1039 | - }; | |
| 1040 | - })); | |
| 1204 | +"use strict"; | |
| 1041 | 1205 | |
| 1042 | -//#endregion | |
| 1043 | -//#region node_modules/core-js/internals/array-set-length.js | |
| 1044 | - var require_array_set_length = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1045 | - var DESCRIPTORS = require_descriptors(); | |
| 1046 | - var isArray = require_is_array(); | |
| 1047 | - var $TypeError = TypeError; | |
| 1048 | - var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
| 1049 | - var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function() { | |
| 1050 | - if (this !== void 0) return true; | |
| 1051 | - try { | |
| 1052 | - Object.defineProperty([], "length", { writable: false }).length = 1; | |
| 1053 | - } catch (error) { | |
| 1054 | - return error instanceof TypeError; | |
| 1055 | - } | |
| 1056 | - }(); | |
| 1057 | - module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function(O, length) { | |
| 1058 | - if (isArray(O) && !getOwnPropertyDescriptor(O, "length").writable) throw new $TypeError("Cannot set read only .length"); | |
| 1059 | - return O.length = length; | |
| 1060 | - } : function(O, length) { | |
| 1061 | - return O.length = length; | |
| 1062 | - }; | |
| 1063 | - })); | |
| 1064 | 1206 | |
| 1065 | -//#endregion | |
| 1066 | -//#region node_modules/core-js/internals/does-not-exceed-safe-integer.js | |
| 1067 | - var require_does_not_exceed_safe_integer = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1068 | - var $TypeError = TypeError; | |
| 1069 | - var MAX_SAFE_INTEGER = 9007199254740991; | |
| 1070 | - module.exports = function(it) { | |
| 1071 | - if (it > MAX_SAFE_INTEGER) throw $TypeError("Maximum allowed index exceeded"); | |
| 1072 | - return it; | |
| 1073 | - }; | |
| 1074 | - })); | |
| 1207 | +Object.defineProperty(exports, "__esModule", ({ | |
| 1208 | + value: true | |
| 1209 | +})); | |
| 1210 | +exports["default"] = void 0; | |
| 1211 | +__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js"); | |
| 1212 | +class InstanceType { | |
| 1213 | + static [Symbol.hasInstance](target) { | |
| 1214 | + /** | |
| 1215 | + * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class | |
| 1216 | + * its give's opportunity to mange capabilities of instanceOf operator. | |
| 1217 | + * saving current class each time will give option later to handle instanceOf manually. | |
| 1218 | + */ | |
| 1219 | + let result = super[Symbol.hasInstance](target); | |
| 1075 | 1220 | |
| 1076 | -//#endregion | |
| 1077 | -//#region node_modules/core-js/modules/es.array.push.js | |
| 1078 | - var require_es_array_push = /* @__PURE__ */ __commonJSMin((() => { | |
| 1079 | - var $ = require_export(); | |
| 1080 | - var toObject = require_to_object(); | |
| 1081 | - var lengthOfArrayLike = require_length_of_array_like(); | |
| 1082 | - var setArrayLength = require_array_set_length(); | |
| 1083 | - var doesNotExceedSafeInteger = require_does_not_exceed_safe_integer(); | |
| 1084 | - var INCORRECT_TO_LENGTH = require_fails()(function() { | |
| 1085 | - return [].push.call({ length: 4294967296 }, 1) !== 4294967297; | |
| 1086 | - }); | |
| 1087 | - var properErrorOnNonWritableLength = function() { | |
| 1088 | - try { | |
| 1089 | - Object.defineProperty([], "length", { writable: false }).push(); | |
| 1090 | - } catch (error) { | |
| 1091 | - return error instanceof TypeError; | |
| 1092 | - } | |
| 1093 | - }; | |
| 1094 | - $({ | |
| 1095 | - target: "Array", | |
| 1096 | - proto: true, | |
| 1097 | - arity: 1, | |
| 1098 | - forced: INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength() | |
| 1099 | - }, { push: function push(item) { | |
| 1100 | - var O = toObject(this); | |
| 1101 | - var len = lengthOfArrayLike(O); | |
| 1102 | - var argCount = arguments.length; | |
| 1103 | - doesNotExceedSafeInteger(len + argCount); | |
| 1104 | - for (var i = 0; i < argCount; i++) { | |
| 1105 | - O[len] = arguments[i]; | |
| 1106 | - len++; | |
| 1107 | - } | |
| 1108 | - setArrayLength(O, len); | |
| 1109 | - return len; | |
| 1110 | - } }); | |
| 1111 | - })); | |
| 1221 | + // Act normal when validate a class, which does not have instance type. | |
| 1222 | + if (target && !target.constructor.getInstanceType) { | |
| 1223 | + return result; | |
| 1224 | + } | |
| 1225 | + if (target) { | |
| 1226 | + if (!target.instanceTypes) { | |
| 1227 | + target.instanceTypes = []; | |
| 1228 | + } | |
| 1229 | + if (!result) { | |
| 1230 | + if (this.getInstanceType() === target.constructor.getInstanceType()) { | |
| 1231 | + result = true; | |
| 1232 | + } | |
| 1233 | + } | |
| 1234 | + if (result) { | |
| 1235 | + const name = this.getInstanceType === InstanceType.getInstanceType ? 'BaseInstanceType' : this.getInstanceType(); | |
| 1236 | + if (-1 === target.instanceTypes.indexOf(name)) { | |
| 1237 | + target.instanceTypes.push(name); | |
| 1238 | + } | |
| 1239 | + } | |
| 1240 | + } | |
| 1241 | + if (!result && target) { | |
| 1242 | + // Check if the given 'target', is instance of known types. | |
| 1243 | + result = target.instanceTypes && Array.isArray(target.instanceTypes) && -1 !== target.instanceTypes.indexOf(this.getInstanceType()); | |
| 1244 | + } | |
| 1245 | + return result; | |
| 1246 | + } | |
| 1247 | + static getInstanceType() { | |
| 1248 | + elementorModules.ForceMethodImplementation(); | |
| 1249 | + } | |
| 1250 | + constructor() { | |
| 1251 | + // Since anonymous classes sometimes do not get validated by babel, do it manually. | |
| 1252 | + let target = new.target; | |
| 1253 | + const prototypes = []; | |
| 1254 | + while (target.__proto__ && target.__proto__.name) { | |
| 1255 | + prototypes.push(target.__proto__); | |
| 1256 | + target = target.__proto__; | |
| 1257 | + } | |
| 1258 | + prototypes.reverse().forEach(proto => this instanceof proto); | |
| 1259 | + } | |
| 1260 | +} | |
| 1261 | +exports["default"] = InstanceType; | |
| 1112 | 1262 | |
| 1113 | -//#endregion | |
| 1114 | -//#region node_modules/core-js/internals/an-instance.js | |
| 1115 | - var require_an_instance = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1116 | - var isPrototypeOf = require_object_is_prototype_of(); | |
| 1117 | - var $TypeError = TypeError; | |
| 1118 | - module.exports = function(it, Prototype) { | |
| 1119 | - if (isPrototypeOf(Prototype, it)) return it; | |
| 1120 | - throw new $TypeError("Incorrect invocation"); | |
| 1121 | - }; | |
| 1122 | - })); | |
| 1263 | +/***/ }), | |
| 1123 | 1264 | |
| 1124 | -//#endregion | |
| 1125 | -//#region node_modules/core-js/internals/correct-prototype-getter.js | |
| 1126 | - var require_correct_prototype_getter = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1127 | - var fails = require_fails(); | |
| 1128 | - module.exports = !fails(function() { | |
| 1129 | - function F() {} | |
| 1130 | - F.prototype.constructor = null; | |
| 1131 | - return Object.getPrototypeOf(new F()) !== F.prototype; | |
| 1132 | - }); | |
| 1133 | - })); | |
| 1265 | +/***/ "../assets/dev/js/modules/imports/module.js": | |
| 1266 | +/*!**************************************************!*\ | |
| 1267 | + !*** ../assets/dev/js/modules/imports/module.js ***! | |
| 1268 | + \**************************************************/ | |
| 1269 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1134 | 1270 | |
| 1135 | -//#endregion | |
| 1136 | -//#region node_modules/core-js/internals/object-get-prototype-of.js | |
| 1137 | - var require_object_get_prototype_of = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1138 | - var hasOwn = require_has_own_property(); | |
| 1139 | - var isCallable = require_is_callable(); | |
| 1140 | - var toObject = require_to_object(); | |
| 1141 | - var sharedKey = require_shared_key(); | |
| 1142 | - var CORRECT_PROTOTYPE_GETTER = require_correct_prototype_getter(); | |
| 1143 | - var IE_PROTO = sharedKey("IE_PROTO"); | |
| 1144 | - var $Object = Object; | |
| 1145 | - var ObjectPrototype = $Object.prototype; | |
| 1146 | - module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function(O) { | |
| 1147 | - var object = toObject(O); | |
| 1148 | - if (hasOwn(object, IE_PROTO)) return object[IE_PROTO]; | |
| 1149 | - var constructor = object.constructor; | |
| 1150 | - if (isCallable(constructor) && object instanceof constructor) return constructor.prototype; | |
| 1151 | - return object instanceof $Object ? ObjectPrototype : null; | |
| 1152 | - }; | |
| 1153 | - })); | |
| 1271 | +"use strict"; | |
| 1154 | 1272 | |
| 1155 | -//#endregion | |
| 1156 | -//#region node_modules/core-js/internals/define-built-in-accessor.js | |
| 1157 | - var require_define_built_in_accessor = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1158 | - var makeBuiltIn = require_make_built_in(); | |
| 1159 | - var defineProperty = require_object_define_property(); | |
| 1160 | - module.exports = function(target, name, descriptor) { | |
| 1161 | - if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true }); | |
| 1162 | - if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true }); | |
| 1163 | - return defineProperty.f(target, name, descriptor); | |
| 1164 | - }; | |
| 1165 | - })); | |
| 1166 | 1273 | |
| 1167 | -//#endregion | |
| 1168 | -//#region node_modules/core-js/internals/create-property.js | |
| 1169 | - var require_create_property = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1170 | - var DESCRIPTORS = require_descriptors(); | |
| 1171 | - var definePropertyModule = require_object_define_property(); | |
| 1172 | - var createPropertyDescriptor = require_create_property_descriptor(); | |
| 1173 | - module.exports = function(object, key, value) { | |
| 1174 | - if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value)); | |
| 1175 | - else object[key] = value; | |
| 1176 | - }; | |
| 1177 | - })); | |
| 1274 | +__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js"); | |
| 1275 | +const Module = function () { | |
| 1276 | + const $ = jQuery, | |
| 1277 | + instanceParams = arguments, | |
| 1278 | + self = this, | |
| 1279 | + events = {}; | |
| 1280 | + let settings; | |
| 1281 | + const ensureClosureMethods = function () { | |
| 1282 | + $.each(self, function (methodName) { | |
| 1283 | + const oldMethod = self[methodName]; | |
| 1284 | + if ('function' !== typeof oldMethod) { | |
| 1285 | + return; | |
| 1286 | + } | |
| 1287 | + self[methodName] = function () { | |
| 1288 | + return oldMethod.apply(self, arguments); | |
| 1289 | + }; | |
| 1290 | + }); | |
| 1291 | + }; | |
| 1292 | + const initSettings = function () { | |
| 1293 | + settings = self.getDefaultSettings(); | |
| 1294 | + const instanceSettings = instanceParams[0]; | |
| 1295 | + if (instanceSettings) { | |
| 1296 | + $.extend(true, settings, instanceSettings); | |
| 1297 | + } | |
| 1298 | + }; | |
| 1299 | + const init = function () { | |
| 1300 | + self.__construct.apply(self, instanceParams); | |
| 1301 | + ensureClosureMethods(); | |
| 1302 | + initSettings(); | |
| 1303 | + self.trigger('init'); | |
| 1304 | + }; | |
| 1305 | + this.getItems = function (items, itemKey) { | |
| 1306 | + if (itemKey) { | |
| 1307 | + const keyStack = itemKey.split('.'), | |
| 1308 | + currentKey = keyStack.splice(0, 1); | |
| 1309 | + if (!keyStack.length) { | |
| 1310 | + return items[currentKey]; | |
| 1311 | + } | |
| 1312 | + if (!items[currentKey]) { | |
| 1313 | + return; | |
| 1314 | + } | |
| 1315 | + return this.getItems(items[currentKey], keyStack.join('.')); | |
| 1316 | + } | |
| 1317 | + return items; | |
| 1318 | + }; | |
| 1319 | + this.getSettings = function (setting) { | |
| 1320 | + return this.getItems(settings, setting); | |
| 1321 | + }; | |
| 1322 | + this.setSettings = function (settingKey, value, settingsContainer) { | |
| 1323 | + if (!settingsContainer) { | |
| 1324 | + settingsContainer = settings; | |
| 1325 | + } | |
| 1326 | + if ('object' === typeof settingKey) { | |
| 1327 | + $.extend(settingsContainer, settingKey); | |
| 1328 | + return self; | |
| 1329 | + } | |
| 1330 | + const keyStack = settingKey.split('.'), | |
| 1331 | + currentKey = keyStack.splice(0, 1); | |
| 1332 | + if (!keyStack.length) { | |
| 1333 | + settingsContainer[currentKey] = value; | |
| 1334 | + return self; | |
| 1335 | + } | |
| 1336 | + if (!settingsContainer[currentKey]) { | |
| 1337 | + settingsContainer[currentKey] = {}; | |
| 1338 | + } | |
| 1339 | + return self.setSettings(keyStack.join('.'), value, settingsContainer[currentKey]); | |
| 1340 | + }; | |
| 1341 | + this.getErrorMessage = function (type, functionName) { | |
| 1342 | + let message; | |
| 1343 | + switch (type) { | |
| 1344 | + case 'forceMethodImplementation': | |
| 1345 | + message = `The method '${functionName}' must to be implemented in the inheritor child.`; | |
| 1346 | + break; | |
| 1347 | + default: | |
| 1348 | + message = 'An error occurs'; | |
| 1349 | + } | |
| 1350 | + return message; | |
| 1351 | + }; | |
| 1178 | 1352 | |
| 1179 | -//#endregion | |
| 1180 | -//#region node_modules/core-js/internals/object-keys.js | |
| 1181 | - var require_object_keys = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1182 | - var internalObjectKeys = require_object_keys_internal(); | |
| 1183 | - var enumBugKeys = require_enum_bug_keys(); | |
| 1184 | - module.exports = Object.keys || function keys(O) { | |
| 1185 | - return internalObjectKeys(O, enumBugKeys); | |
| 1186 | - }; | |
| 1187 | - })); | |
| 1353 | + // TODO: This function should be deleted ?. | |
| 1354 | + this.forceMethodImplementation = function (functionName) { | |
| 1355 | + throw new Error(this.getErrorMessage('forceMethodImplementation', functionName)); | |
| 1356 | + }; | |
| 1357 | + this.on = function (eventName, callback) { | |
| 1358 | + if ('object' === typeof eventName) { | |
| 1359 | + $.each(eventName, function (singleEventName) { | |
| 1360 | + self.on(singleEventName, this); | |
| 1361 | + }); | |
| 1362 | + return self; | |
| 1363 | + } | |
| 1364 | + const eventNames = eventName.split(' '); | |
| 1365 | + eventNames.forEach(function (singleEventName) { | |
| 1366 | + if (!events[singleEventName]) { | |
| 1367 | + events[singleEventName] = []; | |
| 1368 | + } | |
| 1369 | + events[singleEventName].push(callback); | |
| 1370 | + }); | |
| 1371 | + return self; | |
| 1372 | + }; | |
| 1373 | + this.off = function (eventName, callback) { | |
| 1374 | + if (!events[eventName]) { | |
| 1375 | + return self; | |
| 1376 | + } | |
| 1377 | + if (!callback) { | |
| 1378 | + delete events[eventName]; | |
| 1379 | + return self; | |
| 1380 | + } | |
| 1381 | + const callbackIndex = events[eventName].indexOf(callback); | |
| 1382 | + if (-1 !== callbackIndex) { | |
| 1383 | + delete events[eventName][callbackIndex]; | |
| 1188 | 1384 | |
| 1189 | -//#endregion | |
| 1190 | -//#region node_modules/core-js/internals/object-define-properties.js | |
| 1191 | - var require_object_define_properties = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 1192 | - var DESCRIPTORS = require_descriptors(); | |
| 1193 | - var V8_PROTOTYPE_DEFINE_BUG = require_v8_prototype_define_bug(); | |
| 1194 | - var definePropertyModule = require_object_define_property(); | |
| 1195 | - var anObject = require_an_object(); | |
| 1196 | - var toIndexedObject = require_to_indexed_object(); | |
| 1197 | - var objectKeys = require_object_keys(); | |
| 1198 | - exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { | |
| 1199 | - anObject(O); | |
| 1200 | - var props = toIndexedObject(Properties); | |
| 1201 | - var keys = objectKeys(Properties); | |
| 1202 | - var length = keys.length; | |
| 1203 | - var index = 0; | |
| 1204 | - var key; | |
| 1205 | - while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]); | |
| 1206 | - return O; | |
| 1207 | - }; | |
| 1208 | - })); | |
| 1385 | + // Reset array index (for next off on same event). | |
| 1386 | + events[eventName] = events[eventName].filter(val => val); | |
| 1387 | + } | |
| 1388 | + return self; | |
| 1389 | + }; | |
| 1390 | + this.trigger = function (eventName) { | |
| 1391 | + const methodName = 'on' + eventName[0].toUpperCase() + eventName.slice(1), | |
| 1392 | + params = Array.prototype.slice.call(arguments, 1); | |
| 1393 | + if (self[methodName]) { | |
| 1394 | + self[methodName].apply(self, params); | |
| 1395 | + } | |
| 1396 | + const callbacks = events[eventName]; | |
| 1397 | + if (!callbacks) { | |
| 1398 | + return self; | |
| 1399 | + } | |
| 1400 | + $.each(callbacks, function (index, callback) { | |
| 1401 | + callback.apply(self, params); | |
| 1402 | + }); | |
| 1403 | + return self; | |
| 1404 | + }; | |
| 1405 | + init(); | |
| 1406 | +}; | |
| 1407 | +Module.prototype.__construct = function () {}; | |
| 1408 | +Module.prototype.getDefaultSettings = function () { | |
| 1409 | + return {}; | |
| 1410 | +}; | |
| 1411 | +Module.prototype.getConstructorID = function () { | |
| 1412 | + return this.constructor.name; | |
| 1413 | +}; | |
| 1414 | +Module.extend = function (properties) { | |
| 1415 | + const $ = jQuery, | |
| 1416 | + parent = this; | |
| 1417 | + const child = function () { | |
| 1418 | + return parent.apply(this, arguments); | |
| 1419 | + }; | |
| 1420 | + $.extend(child, parent); | |
| 1421 | + child.prototype = Object.create($.extend({}, parent.prototype, properties)); | |
| 1422 | + child.prototype.constructor = child; | |
| 1423 | + child.__super__ = parent.prototype; | |
| 1424 | + return child; | |
| 1425 | +}; | |
| 1426 | +module.exports = Module; | |
| 1209 | 1427 | |
| 1210 | -//#endregion | |
| 1211 | -//#region node_modules/core-js/internals/html.js | |
| 1212 | - var require_html = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1213 | - var getBuiltIn = require_get_built_in(); | |
| 1214 | - module.exports = getBuiltIn("document", "documentElement"); | |
| 1215 | - })); | |
| 1428 | +/***/ }), | |
| 1216 | 1429 | |
| 1217 | -//#endregion | |
| 1218 | -//#region node_modules/core-js/internals/object-create.js | |
| 1219 | - var require_object_create = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1220 | - var anObject = require_an_object(); | |
| 1221 | - var definePropertiesModule = require_object_define_properties(); | |
| 1222 | - var enumBugKeys = require_enum_bug_keys(); | |
| 1223 | - var hiddenKeys = require_hidden_keys(); | |
| 1224 | - var html = require_html(); | |
| 1225 | - var documentCreateElement = require_document_create_element(); | |
| 1226 | - var sharedKey = require_shared_key(); | |
| 1227 | - var GT = ">"; | |
| 1228 | - var LT = "<"; | |
| 1229 | - var PROTOTYPE = "prototype"; | |
| 1230 | - var SCRIPT = "script"; | |
| 1231 | - var IE_PROTO = sharedKey("IE_PROTO"); | |
| 1232 | - var EmptyConstructor = function() {}; | |
| 1233 | - var scriptTag = function(content) { | |
| 1234 | - return LT + SCRIPT + GT + content + LT + "/" + SCRIPT + GT; | |
| 1235 | - }; | |
| 1236 | - var NullProtoObjectViaActiveX = function(activeXDocument) { | |
| 1237 | - activeXDocument.write(scriptTag("")); | |
| 1238 | - activeXDocument.close(); | |
| 1239 | - var temp = activeXDocument.parentWindow.Object; | |
| 1240 | - activeXDocument = null; | |
| 1241 | - return temp; | |
| 1242 | - }; | |
| 1243 | - var NullProtoObjectViaIFrame = function() { | |
| 1244 | - var iframe = documentCreateElement("iframe"); | |
| 1245 | - var JS = "java" + SCRIPT + ":"; | |
| 1246 | - var iframeDocument; | |
| 1247 | - iframe.style.display = "none"; | |
| 1248 | - html.appendChild(iframe); | |
| 1249 | - iframe.src = String(JS); | |
| 1250 | - iframeDocument = iframe.contentWindow.document; | |
| 1251 | - iframeDocument.open(); | |
| 1252 | - iframeDocument.write(scriptTag("document.F=Object")); | |
| 1253 | - iframeDocument.close(); | |
| 1254 | - return iframeDocument.F; | |
| 1255 | - }; | |
| 1256 | - var activeXDocument; | |
| 1257 | - var NullProtoObject = function() { | |
| 1258 | - try { | |
| 1259 | - activeXDocument = new ActiveXObject("htmlfile"); | |
| 1260 | - } catch (error) {} | |
| 1261 | - NullProtoObject = typeof document != "undefined" ? document.domain && activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame() : NullProtoObjectViaActiveX(activeXDocument); | |
| 1262 | - var length = enumBugKeys.length; | |
| 1263 | - while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; | |
| 1264 | - return NullProtoObject(); | |
| 1265 | - }; | |
| 1266 | - hiddenKeys[IE_PROTO] = true; | |
| 1267 | - module.exports = Object.create || function create(O, Properties) { | |
| 1268 | - var result; | |
| 1269 | - if (O !== null) { | |
| 1270 | - EmptyConstructor[PROTOTYPE] = anObject(O); | |
| 1271 | - result = new EmptyConstructor(); | |
| 1272 | - EmptyConstructor[PROTOTYPE] = null; | |
| 1273 | - result[IE_PROTO] = O; | |
| 1274 | - } else result = NullProtoObject(); | |
| 1275 | - return Properties === void 0 ? result : definePropertiesModule.f(result, Properties); | |
| 1276 | - }; | |
| 1277 | - })); | |
| 1430 | +/***/ "../assets/dev/js/modules/imports/utils/masonry.js": | |
| 1431 | +/*!*********************************************************!*\ | |
| 1432 | + !*** ../assets/dev/js/modules/imports/utils/masonry.js ***! | |
| 1433 | + \*********************************************************/ | |
| 1434 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1278 | 1435 | |
| 1279 | -//#endregion | |
| 1280 | -//#region node_modules/core-js/internals/iterators-core.js | |
| 1281 | - var require_iterators_core = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1282 | - var fails = require_fails(); | |
| 1283 | - var isCallable = require_is_callable(); | |
| 1284 | - var isObject = require_is_object(); | |
| 1285 | - var create = require_object_create(); | |
| 1286 | - var getPrototypeOf = require_object_get_prototype_of(); | |
| 1287 | - var defineBuiltIn = require_define_built_in(); | |
| 1288 | - var wellKnownSymbol = require_well_known_symbol(); | |
| 1289 | - var IS_PURE = require_is_pure(); | |
| 1290 | - var ITERATOR = wellKnownSymbol("iterator"); | |
| 1291 | - var BUGGY_SAFARI_ITERATORS = false; | |
| 1292 | - var IteratorPrototype; | |
| 1293 | - var PrototypeOfArrayIteratorPrototype; | |
| 1294 | - var arrayIterator; | |
| 1295 | - if ([].keys) { | |
| 1296 | - arrayIterator = [].keys(); | |
| 1297 | - if (!("next" in arrayIterator)) BUGGY_SAFARI_ITERATORS = true; | |
| 1298 | - else { | |
| 1299 | - PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator)); | |
| 1300 | - if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype; | |
| 1301 | - } | |
| 1302 | - } | |
| 1303 | - if (!isObject(IteratorPrototype) || fails(function() { | |
| 1304 | - var test = {}; | |
| 1305 | - return IteratorPrototype[ITERATOR].call(test) !== test; | |
| 1306 | - })) IteratorPrototype = {}; | |
| 1307 | - else if (IS_PURE) IteratorPrototype = create(IteratorPrototype); | |
| 1308 | - if (!isCallable(IteratorPrototype[ITERATOR])) defineBuiltIn(IteratorPrototype, ITERATOR, function() { | |
| 1309 | - return this; | |
| 1310 | - }); | |
| 1311 | - module.exports = { | |
| 1312 | - IteratorPrototype, | |
| 1313 | - BUGGY_SAFARI_ITERATORS | |
| 1314 | - }; | |
| 1315 | - })); | |
| 1436 | +"use strict"; | |
| 1316 | 1437 | |
| 1317 | -//#endregion | |
| 1318 | -//#region node_modules/core-js/modules/es.iterator.constructor.js | |
| 1319 | - var require_es_iterator_constructor = /* @__PURE__ */ __commonJSMin((() => { | |
| 1320 | - var $ = require_export(); | |
| 1321 | - var globalThis = require_global_this(); | |
| 1322 | - var anInstance = require_an_instance(); | |
| 1323 | - var anObject = require_an_object(); | |
| 1324 | - var isCallable = require_is_callable(); | |
| 1325 | - var getPrototypeOf = require_object_get_prototype_of(); | |
| 1326 | - var defineBuiltInAccessor = require_define_built_in_accessor(); | |
| 1327 | - var createProperty = require_create_property(); | |
| 1328 | - var fails = require_fails(); | |
| 1329 | - var hasOwn = require_has_own_property(); | |
| 1330 | - var wellKnownSymbol = require_well_known_symbol(); | |
| 1331 | - var IteratorPrototype = require_iterators_core().IteratorPrototype; | |
| 1332 | - var DESCRIPTORS = require_descriptors(); | |
| 1333 | - var IS_PURE = require_is_pure(); | |
| 1334 | - var CONSTRUCTOR = "constructor"; | |
| 1335 | - var ITERATOR = "Iterator"; | |
| 1336 | - var TO_STRING_TAG = wellKnownSymbol("toStringTag"); | |
| 1337 | - var $TypeError = TypeError; | |
| 1338 | - var NativeIterator = globalThis[ITERATOR]; | |
| 1339 | - var FORCED = IS_PURE || !isCallable(NativeIterator) || NativeIterator.prototype !== IteratorPrototype || !fails(function() { | |
| 1340 | - NativeIterator({}); | |
| 1341 | - }); | |
| 1342 | - var IteratorConstructor = function Iterator() { | |
| 1343 | - anInstance(this, IteratorPrototype); | |
| 1344 | - if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError("Abstract class Iterator not directly constructable"); | |
| 1345 | - }; | |
| 1346 | - var defineIteratorPrototypeAccessor = function(key, value) { | |
| 1347 | - if (DESCRIPTORS) defineBuiltInAccessor(IteratorPrototype, key, { | |
| 1348 | - configurable: true, | |
| 1349 | - get: function() { | |
| 1350 | - return value; | |
| 1351 | - }, | |
| 1352 | - set: function(replacement) { | |
| 1353 | - anObject(this); | |
| 1354 | - if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property"); | |
| 1355 | - if (hasOwn(this, key)) this[key] = replacement; | |
| 1356 | - else createProperty(this, key, replacement); | |
| 1357 | - } | |
| 1358 | - }); | |
| 1359 | - else IteratorPrototype[key] = value; | |
| 1360 | - }; | |
| 1361 | - if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR); | |
| 1362 | - if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor); | |
| 1363 | - IteratorConstructor.prototype = IteratorPrototype; | |
| 1364 | - $({ | |
| 1365 | - global: true, | |
| 1366 | - constructor: true, | |
| 1367 | - forced: FORCED | |
| 1368 | - }, { Iterator: IteratorConstructor }); | |
| 1369 | - })); | |
| 1370 | 1438 | |
| 1371 | -//#endregion | |
| 1372 | -//#region node_modules/core-js/modules/esnext.iterator.constructor.js | |
| 1373 | - var require_esnext_iterator_constructor = /* @__PURE__ */ __commonJSMin((() => { | |
| 1374 | - require_es_iterator_constructor(); | |
| 1375 | - })); | |
| 1439 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1440 | +Object.defineProperty(exports, "__esModule", ({ | |
| 1441 | + value: true | |
| 1442 | +})); | |
| 1443 | +exports["default"] = void 0; | |
| 1444 | +__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js"); | |
| 1445 | +var _viewModule = _interopRequireDefault(__webpack_require__(/*! ../view-module */ "../assets/dev/js/modules/imports/view-module.js")); | |
| 1446 | +var _default = exports["default"] = _viewModule.default.extend({ | |
| 1447 | + getDefaultSettings() { | |
| 1448 | + return { | |
| 1449 | + container: null, | |
| 1450 | + items: null, | |
| 1451 | + columnsCount: 3, | |
| 1452 | + verticalSpaceBetween: 30 | |
| 1453 | + }; | |
| 1454 | + }, | |
| 1455 | + getDefaultElements() { | |
| 1456 | + return { | |
| 1457 | + $container: jQuery(this.getSettings('container')), | |
| 1458 | + $items: jQuery(this.getSettings('items')) | |
| 1459 | + }; | |
| 1460 | + }, | |
| 1461 | + run() { | |
| 1462 | + var heights = [], | |
| 1463 | + distanceFromTop = this.elements.$container.position().top, | |
| 1464 | + settings = this.getSettings(), | |
| 1465 | + columnsCount = settings.columnsCount; | |
| 1466 | + distanceFromTop += parseInt(this.elements.$container.css('margin-top'), 10); | |
| 1467 | + this.elements.$items.each(function (index) { | |
| 1468 | + var row = Math.floor(index / columnsCount), | |
| 1469 | + $item = jQuery(this), | |
| 1470 | + itemHeight = $item[0].getBoundingClientRect().height + settings.verticalSpaceBetween; | |
| 1471 | + if (row) { | |
| 1472 | + var itemPosition = $item.position(), | |
| 1473 | + indexAtRow = index % columnsCount, | |
| 1474 | + pullHeight = itemPosition.top - distanceFromTop - heights[indexAtRow]; | |
| 1475 | + pullHeight -= parseInt($item.css('margin-top'), 10); | |
| 1476 | + pullHeight *= -1; | |
| 1477 | + $item.css('margin-top', pullHeight + 'px'); | |
| 1478 | + heights[indexAtRow] += itemHeight; | |
| 1479 | + } else { | |
| 1480 | + heights.push(itemHeight); | |
| 1481 | + } | |
| 1482 | + }); | |
| 1483 | + } | |
| 1484 | +}); | |
| 1376 | 1485 | |
| 1377 | -//#endregion | |
| 1378 | -//#region node_modules/core-js/internals/get-iterator-direct.js | |
| 1379 | - var require_get_iterator_direct = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1380 | - module.exports = function(obj) { | |
| 1381 | - return { | |
| 1382 | - iterator: obj, | |
| 1383 | - next: obj.next, | |
| 1384 | - done: false | |
| 1385 | - }; | |
| 1386 | - }; | |
| 1387 | - })); | |
| 1486 | +/***/ }), | |
| 1388 | 1487 | |
| 1389 | -//#endregion | |
| 1390 | -//#region node_modules/core-js/internals/define-built-ins.js | |
| 1391 | - var require_define_built_ins = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1392 | - var defineBuiltIn = require_define_built_in(); | |
| 1393 | - module.exports = function(target, src, options) { | |
| 1394 | - for (var key in src) defineBuiltIn(target, key, src[key], options); | |
| 1395 | - return target; | |
| 1396 | - }; | |
| 1397 | - })); | |
| 1488 | +/***/ "../assets/dev/js/modules/imports/utils/scroll.js": | |
| 1489 | +/*!********************************************************!*\ | |
| 1490 | + !*** ../assets/dev/js/modules/imports/utils/scroll.js ***! | |
| 1491 | + \********************************************************/ | |
| 1492 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1398 | 1493 | |
| 1399 | -//#endregion | |
| 1400 | -//#region node_modules/core-js/internals/create-iter-result-object.js | |
| 1401 | - var require_create_iter_result_object = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1402 | - module.exports = function(value, done) { | |
| 1403 | - return { | |
| 1404 | - value, | |
| 1405 | - done | |
| 1406 | - }; | |
| 1407 | - }; | |
| 1408 | - })); | |
| 1494 | +"use strict"; | |
| 1409 | 1495 | |
| 1410 | -//#endregion | |
| 1411 | -//#region node_modules/core-js/internals/iterator-close.js | |
| 1412 | - var require_iterator_close = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1413 | - var call = require_function_call(); | |
| 1414 | - var anObject = require_an_object(); | |
| 1415 | - var getMethod = require_get_method(); | |
| 1416 | - module.exports = function(iterator, kind, value) { | |
| 1417 | - var innerResult; | |
| 1418 | - var innerError; | |
| 1419 | - anObject(iterator); | |
| 1420 | - try { | |
| 1421 | - innerResult = getMethod(iterator, "return"); | |
| 1422 | - if (!innerResult) { | |
| 1423 | - if (kind === "throw") throw value; | |
| 1424 | - return value; | |
| 1425 | - } | |
| 1426 | - innerResult = call(innerResult, iterator); | |
| 1427 | - } catch (error) { | |
| 1428 | - innerError = true; | |
| 1429 | - innerResult = error; | |
| 1430 | - } | |
| 1431 | - if (kind === "throw") throw value; | |
| 1432 | - if (innerError) throw innerResult; | |
| 1433 | - anObject(innerResult); | |
| 1434 | - return value; | |
| 1435 | - }; | |
| 1436 | - })); | |
| 1437 | 1496 | |
| 1438 | -//#endregion | |
| 1439 | -//#region node_modules/core-js/internals/iterator-close-all.js | |
| 1440 | - var require_iterator_close_all = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1441 | - var iteratorClose = require_iterator_close(); | |
| 1442 | - module.exports = function(iters, kind, value) { | |
| 1443 | - for (var i = iters.length - 1; i >= 0; i--) { | |
| 1444 | - if (iters[i] === void 0) continue; | |
| 1445 | - try { | |
| 1446 | - value = iteratorClose(iters[i].iterator, kind, value); | |
| 1447 | - } catch (error) { | |
| 1448 | - kind = "throw"; | |
| 1449 | - value = error; | |
| 1450 | - } | |
| 1451 | - } | |
| 1452 | - if (kind === "throw") throw value; | |
| 1453 | - return value; | |
| 1454 | - }; | |
| 1455 | - })); | |
| 1497 | +Object.defineProperty(exports, "__esModule", ({ | |
| 1498 | + value: true | |
| 1499 | +})); | |
| 1500 | +exports["default"] = void 0; | |
| 1501 | +__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js"); | |
| 1502 | +// Moved from elementor pro: 'assets/dev/js/frontend/utils' | |
| 1503 | +class Scroll { | |
| 1504 | + /** | |
| 1505 | + * @param {Object} obj | |
| 1506 | + * @param {number} obj.sensitivity - Value between 0-100 - Will determine the intersection trigger points on the element | |
| 1507 | + * @param {Function} obj.callback - Will be triggered on each intersection point between the element and the viewport top/bottom | |
| 1508 | + * @param {string} obj.offset - Offset between the element intersection points and the viewport, written like in CSS: '-50% 0 -25%' | |
| 1509 | + * @param {HTMLElement} obj.root - The element that the events will be relative to, if 'null' will be relative to the viewport | |
| 1510 | + */ | |
| 1511 | + static scrollObserver(obj) { | |
| 1512 | + let lastScrollY = 0; | |
| 1456 | 1513 | |
| 1457 | -//#endregion | |
| 1458 | -//#region node_modules/core-js/internals/iterator-create-proxy.js | |
| 1459 | - var require_iterator_create_proxy = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1460 | - var call = require_function_call(); | |
| 1461 | - var create = require_object_create(); | |
| 1462 | - var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
| 1463 | - var defineBuiltIns = require_define_built_ins(); | |
| 1464 | - var wellKnownSymbol = require_well_known_symbol(); | |
| 1465 | - var InternalStateModule = require_internal_state(); | |
| 1466 | - var getMethod = require_get_method(); | |
| 1467 | - var IteratorPrototype = require_iterators_core().IteratorPrototype; | |
| 1468 | - var createIterResultObject = require_create_iter_result_object(); | |
| 1469 | - var iteratorClose = require_iterator_close(); | |
| 1470 | - var iteratorCloseAll = require_iterator_close_all(); | |
| 1471 | - var TO_STRING_TAG = wellKnownSymbol("toStringTag"); | |
| 1472 | - var ITERATOR_HELPER = "IteratorHelper"; | |
| 1473 | - var WRAP_FOR_VALID_ITERATOR = "WrapForValidIterator"; | |
| 1474 | - var NORMAL = "normal"; | |
| 1475 | - var THROW = "throw"; | |
| 1476 | - var setInternalState = InternalStateModule.set; | |
| 1477 | - var createIteratorProxyPrototype = function(IS_ITERATOR) { | |
| 1478 | - var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER); | |
| 1479 | - return defineBuiltIns(create(IteratorPrototype), { | |
| 1480 | - next: function next() { | |
| 1481 | - var state = getInternalState(this); | |
| 1482 | - if (IS_ITERATOR) return state.nextHandler(); | |
| 1483 | - if (state.done) return createIterResultObject(void 0, true); | |
| 1484 | - try { | |
| 1485 | - var result = state.nextHandler(); | |
| 1486 | - return state.returnHandlerResult ? result : createIterResultObject(result, state.done); | |
| 1487 | - } catch (error) { | |
| 1488 | - state.done = true; | |
| 1489 | - throw error; | |
| 1490 | - } | |
| 1491 | - }, | |
| 1492 | - "return": function() { | |
| 1493 | - var state = getInternalState(this); | |
| 1494 | - var iterator = state.iterator; | |
| 1495 | - state.done = true; | |
| 1496 | - if (IS_ITERATOR) { | |
| 1497 | - var returnMethod = getMethod(iterator, "return"); | |
| 1498 | - return returnMethod ? call(returnMethod, iterator) : createIterResultObject(void 0, true); | |
| 1499 | - } | |
| 1500 | - if (state.inner) try { | |
| 1501 | - iteratorClose(state.inner.iterator, NORMAL); | |
| 1502 | - } catch (error) { | |
| 1503 | - return iteratorClose(iterator, THROW, error); | |
| 1504 | - } | |
| 1505 | - if (state.openIters) try { | |
| 1506 | - iteratorCloseAll(state.openIters, NORMAL); | |
| 1507 | - } catch (error) { | |
| 1508 | - return iteratorClose(iterator, THROW, error); | |
| 1509 | - } | |
| 1510 | - if (iterator) iteratorClose(iterator, NORMAL); | |
| 1511 | - return createIterResultObject(void 0, true); | |
| 1512 | - } | |
| 1513 | - }); | |
| 1514 | - }; | |
| 1515 | - var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true); | |
| 1516 | - var IteratorHelperPrototype = createIteratorProxyPrototype(false); | |
| 1517 | - createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, "Iterator Helper"); | |
| 1518 | - module.exports = function(nextHandler, IS_ITERATOR, RETURN_HANDLER_RESULT) { | |
| 1519 | - var IteratorProxy = function Iterator(record, state) { | |
| 1520 | - if (state) { | |
| 1521 | - state.iterator = record.iterator; | |
| 1522 | - state.next = record.next; | |
| 1523 | - } else state = record; | |
| 1524 | - state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER; | |
| 1525 | - state.returnHandlerResult = !!RETURN_HANDLER_RESULT; | |
| 1526 | - state.nextHandler = nextHandler; | |
| 1527 | - state.counter = 0; | |
| 1528 | - state.done = false; | |
| 1529 | - setInternalState(this, state); | |
| 1530 | - }; | |
| 1531 | - IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype; | |
| 1532 | - return IteratorProxy; | |
| 1533 | - }; | |
| 1534 | - })); | |
| 1514 | + // Generating thresholds points along the animation height | |
| 1515 | + // More thresholds points = more trigger points of the callback | |
| 1516 | + const buildThresholds = function () { | |
| 1517 | + let sensitivityPercentage = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; | |
| 1518 | + const thresholds = []; | |
| 1519 | + if (sensitivityPercentage > 0 && sensitivityPercentage <= 100) { | |
| 1520 | + const increment = 100 / sensitivityPercentage; | |
| 1521 | + for (let i = 0; i <= 100; i += increment) { | |
| 1522 | + thresholds.push(i / 100); | |
| 1523 | + } | |
| 1524 | + } else { | |
| 1525 | + thresholds.push(0); | |
| 1526 | + } | |
| 1527 | + return thresholds; | |
| 1528 | + }; | |
| 1529 | + const options = { | |
| 1530 | + root: obj.root || null, | |
| 1531 | + rootMargin: obj.offset || '0px', | |
| 1532 | + threshold: buildThresholds(obj.sensitivity) | |
| 1533 | + }; | |
| 1534 | + function handleIntersect(entries) { | |
| 1535 | + const currentScrollY = entries[0].boundingClientRect.y, | |
| 1536 | + isInViewport = entries[0].isIntersecting, | |
| 1537 | + intersectionScrollDirection = currentScrollY < lastScrollY ? 'down' : 'up', | |
| 1538 | + scrollPercentage = Math.abs(parseFloat((entries[0].intersectionRatio * 100).toFixed(2))); | |
| 1539 | + obj.callback({ | |
| 1540 | + sensitivity: obj.sensitivity, | |
| 1541 | + isInViewport, | |
| 1542 | + scrollPercentage, | |
| 1543 | + intersectionScrollDirection | |
| 1544 | + }); | |
| 1545 | + lastScrollY = currentScrollY; | |
| 1546 | + } | |
| 1547 | + return new IntersectionObserver(handleIntersect, options); | |
| 1548 | + } | |
| 1535 | 1549 | |
| 1536 | -//#endregion | |
| 1537 | -//#region node_modules/core-js/internals/call-with-safe-iteration-closing.js | |
| 1538 | - var require_call_with_safe_iteration_closing = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1539 | - var anObject = require_an_object(); | |
| 1540 | - var iteratorClose = require_iterator_close(); | |
| 1541 | - module.exports = function(iterator, fn, value, ENTRIES) { | |
| 1542 | - try { | |
| 1543 | - return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); | |
| 1544 | - } catch (error) { | |
| 1545 | - iteratorClose(iterator, "throw", error); | |
| 1546 | - } | |
| 1547 | - }; | |
| 1548 | - })); | |
| 1550 | + /** | |
| 1551 | + * @param {jQuery.Element} $element | |
| 1552 | + * @param {Object} offsetObj | |
| 1553 | + * @param {number} offsetObj.start - Offset start value in percentages | |
| 1554 | + * @param {number} offsetObj.end - Offset end value in percentages | |
| 1555 | + */ | |
| 1556 | + static getElementViewportPercentage($element) { | |
| 1557 | + let offsetObj = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | |
| 1558 | + const elementOffset = $element[0].getBoundingClientRect(), | |
| 1559 | + offsetStart = offsetObj.start || 0, | |
| 1560 | + offsetEnd = offsetObj.end || 0, | |
| 1561 | + windowStartOffset = window.innerHeight * offsetStart / 100, | |
| 1562 | + windowEndOffset = window.innerHeight * offsetEnd / 100, | |
| 1563 | + y1 = elementOffset.top - window.innerHeight, | |
| 1564 | + y2 = elementOffset.top + windowStartOffset + $element.height(), | |
| 1565 | + startPosition = 0 - y1 + windowStartOffset, | |
| 1566 | + endPosition = y2 - y1 + windowEndOffset, | |
| 1567 | + percent = Math.max(0, Math.min(startPosition / endPosition, 1)); | |
| 1568 | + return parseFloat((percent * 100).toFixed(2)); | |
| 1569 | + } | |
| 1549 | 1570 | |
| 1550 | -//#endregion | |
| 1551 | -//#region node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js | |
| 1552 | - var require_iterator_helper_throws_on_invalid_iterator = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1553 | - module.exports = function(methodName, argument) { | |
| 1554 | - var method = typeof Iterator == "function" && Iterator.prototype[methodName]; | |
| 1555 | - if (method) try { | |
| 1556 | - method.call({ next: null }, argument).next(); | |
| 1557 | - } catch (error) { | |
| 1558 | - return true; | |
| 1559 | - } | |
| 1560 | - }; | |
| 1561 | - })); | |
| 1571 | + /** | |
| 1572 | + * @param {Object} offsetObj | |
| 1573 | + * @param {number} offsetObj.start - Offset start value in percentages | |
| 1574 | + * @param {number} offsetObj.end - Offset end value in percentages | |
| 1575 | + * @param {number} limitPageHeight - Will limit the page height calculation | |
| 1576 | + */ | |
| 1577 | + static getPageScrollPercentage() { | |
| 1578 | + let offsetObj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 1579 | + let limitPageHeight = arguments.length > 1 ? arguments[1] : undefined; | |
| 1580 | + const offsetStart = offsetObj.start || 0, | |
| 1581 | + offsetEnd = offsetObj.end || 0, | |
| 1582 | + initialPageHeight = limitPageHeight || document.documentElement.scrollHeight - document.documentElement.clientHeight, | |
| 1583 | + heightOffset = initialPageHeight * offsetStart / 100, | |
| 1584 | + pageRange = initialPageHeight + heightOffset + initialPageHeight * offsetEnd / 100, | |
| 1585 | + scrollPos = document.documentElement.scrollTop + document.body.scrollTop + heightOffset; | |
| 1586 | + return scrollPos / pageRange * 100; | |
| 1587 | + } | |
| 1588 | +} | |
| 1589 | +exports["default"] = Scroll; | |
| 1562 | 1590 | |
| 1563 | -//#endregion | |
| 1564 | -//#region node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js | |
| 1565 | - var require_iterator_helper_without_closing_on_early_error = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1566 | - var globalThis = require_global_this(); | |
| 1567 | - module.exports = function(METHOD_NAME, ExpectedError) { | |
| 1568 | - var Iterator = globalThis.Iterator; | |
| 1569 | - var IteratorPrototype = Iterator && Iterator.prototype; | |
| 1570 | - var method = IteratorPrototype && IteratorPrototype[METHOD_NAME]; | |
| 1571 | - var CLOSED = false; | |
| 1572 | - if (method) try { | |
| 1573 | - method.call({ | |
| 1574 | - next: function() { | |
| 1575 | - return { done: true }; | |
| 1576 | - }, | |
| 1577 | - "return": function() { | |
| 1578 | - CLOSED = true; | |
| 1579 | - } | |
| 1580 | - }, -1); | |
| 1581 | - } catch (error) { | |
| 1582 | - if (!(error instanceof ExpectedError)) CLOSED = false; | |
| 1583 | - } | |
| 1584 | - if (!CLOSED) return method; | |
| 1585 | - }; | |
| 1586 | - })); | |
| 1591 | +/***/ }), | |
| 1587 | 1592 | |
| 1588 | -//#endregion | |
| 1589 | -//#region node_modules/core-js/modules/es.iterator.filter.js | |
| 1590 | - var require_es_iterator_filter = /* @__PURE__ */ __commonJSMin((() => { | |
| 1591 | - var $ = require_export(); | |
| 1592 | - var call = require_function_call(); | |
| 1593 | - var aCallable = require_a_callable(); | |
| 1594 | - var anObject = require_an_object(); | |
| 1595 | - var getIteratorDirect = require_get_iterator_direct(); | |
| 1596 | - var createIteratorProxy = require_iterator_create_proxy(); | |
| 1597 | - var callWithSafeIterationClosing = require_call_with_safe_iteration_closing(); | |
| 1598 | - var IS_PURE = require_is_pure(); | |
| 1599 | - var iteratorClose = require_iterator_close(); | |
| 1600 | - var iteratorHelperThrowsOnInvalidIterator = require_iterator_helper_throws_on_invalid_iterator(); | |
| 1601 | - var iteratorHelperWithoutClosingOnEarlyError = require_iterator_helper_without_closing_on_early_error(); | |
| 1602 | - var FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator("filter", function() {}); | |
| 1603 | - var filterWithoutClosingOnEarlyError = !IS_PURE && !FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR && iteratorHelperWithoutClosingOnEarlyError("filter", TypeError); | |
| 1604 | - var FORCED = IS_PURE || FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR || filterWithoutClosingOnEarlyError; | |
| 1605 | - var IteratorProxy = createIteratorProxy(function() { | |
| 1606 | - var iterator = this.iterator; | |
| 1607 | - var predicate = this.predicate; | |
| 1608 | - var next = this.next; | |
| 1609 | - var result; | |
| 1610 | - var done; | |
| 1611 | - var value; | |
| 1612 | - while (true) { | |
| 1613 | - result = anObject(call(next, iterator)); | |
| 1614 | - done = this.done = !!result.done; | |
| 1615 | - if (done) return; | |
| 1616 | - value = result.value; | |
| 1617 | - if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value; | |
| 1618 | - } | |
| 1619 | - }); | |
| 1620 | - $({ | |
| 1621 | - target: "Iterator", | |
| 1622 | - proto: true, | |
| 1623 | - real: true, | |
| 1624 | - forced: FORCED | |
| 1625 | - }, { filter: function filter(predicate) { | |
| 1626 | - anObject(this); | |
| 1627 | - try { | |
| 1628 | - aCallable(predicate); | |
| 1629 | - } catch (error) { | |
| 1630 | - iteratorClose(this, "throw", error); | |
| 1631 | - } | |
| 1632 | - if (filterWithoutClosingOnEarlyError) return call(filterWithoutClosingOnEarlyError, this, predicate); | |
| 1633 | - return new IteratorProxy(getIteratorDirect(this), { predicate }); | |
| 1634 | - } }); | |
| 1635 | - })); | |
| 1593 | +/***/ "../assets/dev/js/modules/imports/view-module.js": | |
| 1594 | +/*!*******************************************************!*\ | |
| 1595 | + !*** ../assets/dev/js/modules/imports/view-module.js ***! | |
| 1596 | + \*******************************************************/ | |
| 1597 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1636 | 1598 | |
| 1637 | -//#endregion | |
| 1638 | -//#region node_modules/core-js/modules/esnext.iterator.filter.js | |
| 1639 | - var require_esnext_iterator_filter = /* @__PURE__ */ __commonJSMin((() => { | |
| 1640 | - require_es_iterator_filter(); | |
| 1641 | - })); | |
| 1599 | +"use strict"; | |
| 1642 | 1600 | |
| 1643 | -//#endregion | |
| 1644 | -//#region node_modules/core-js/internals/function-uncurry-this-clause.js | |
| 1645 | - var require_function_uncurry_this_clause = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1646 | - var classofRaw = require_classof_raw(); | |
| 1647 | - var uncurryThis = require_function_uncurry_this(); | |
| 1648 | - module.exports = function(fn) { | |
| 1649 | - if (classofRaw(fn) === "Function") return uncurryThis(fn); | |
| 1650 | - }; | |
| 1651 | - })); | |
| 1652 | 1601 | |
| 1653 | -//#endregion | |
| 1654 | -//#region node_modules/core-js/internals/function-bind-context.js | |
| 1655 | - var require_function_bind_context = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1656 | - var uncurryThis = require_function_uncurry_this_clause(); | |
| 1657 | - var aCallable = require_a_callable(); | |
| 1658 | - var NATIVE_BIND = require_function_bind_native(); | |
| 1659 | - var bind = uncurryThis(uncurryThis.bind); | |
| 1660 | - module.exports = function(fn, that) { | |
| 1661 | - aCallable(fn); | |
| 1662 | - return that === void 0 ? fn : NATIVE_BIND ? bind(fn, that) : function() { | |
| 1663 | - return fn.apply(that, arguments); | |
| 1664 | - }; | |
| 1665 | - }; | |
| 1666 | - })); | |
| 1602 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1603 | +Object.defineProperty(exports, "__esModule", ({ | |
| 1604 | + value: true | |
| 1605 | +})); | |
| 1606 | +exports["default"] = void 0; | |
| 1607 | +var _module = _interopRequireDefault(__webpack_require__(/*! ./module */ "../assets/dev/js/modules/imports/module.js")); | |
| 1608 | +var _default = exports["default"] = _module.default.extend({ | |
| 1609 | + elements: null, | |
| 1610 | + getDefaultElements() { | |
| 1611 | + return {}; | |
| 1612 | + }, | |
| 1613 | + bindEvents() {}, | |
| 1614 | + onInit() { | |
| 1615 | + this.initElements(); | |
| 1616 | + this.bindEvents(); | |
| 1617 | + }, | |
| 1618 | + initElements() { | |
| 1619 | + this.elements = this.getDefaultElements(); | |
| 1620 | + } | |
| 1621 | +}); | |
| 1667 | 1622 | |
| 1668 | -//#endregion | |
| 1669 | -//#region node_modules/core-js/internals/iterators.js | |
| 1670 | - var require_iterators = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1671 | - module.exports = {}; | |
| 1672 | - })); | |
| 1623 | +/***/ }), | |
| 1673 | 1624 | |
| 1674 | -//#endregion | |
| 1675 | -//#region node_modules/core-js/internals/is-array-iterator-method.js | |
| 1676 | - var require_is_array_iterator_method = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1677 | - var wellKnownSymbol = require_well_known_symbol(); | |
| 1678 | - var Iterators = require_iterators(); | |
| 1679 | - var ITERATOR = wellKnownSymbol("iterator"); | |
| 1680 | - var ArrayPrototype = Array.prototype; | |
| 1681 | - module.exports = function(it) { | |
| 1682 | - return it !== void 0 && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); | |
| 1683 | - }; | |
| 1684 | - })); | |
| 1625 | +/***/ "../assets/dev/js/modules/modules.js": | |
| 1626 | +/*!*******************************************!*\ | |
| 1627 | + !*** ../assets/dev/js/modules/modules.js ***! | |
| 1628 | + \*******************************************/ | |
| 1629 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1685 | 1630 | |
| 1686 | -//#endregion | |
| 1687 | -//#region node_modules/core-js/internals/to-string-tag-support.js | |
| 1688 | - var require_to_string_tag_support = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1689 | - var TO_STRING_TAG = require_well_known_symbol()("toStringTag"); | |
| 1690 | - var test = {}; | |
| 1691 | - test[TO_STRING_TAG] = "z"; | |
| 1692 | - module.exports = String(test) === "[object z]"; | |
| 1693 | - })); | |
| 1631 | +"use strict"; | |
| 1694 | 1632 | |
| 1695 | -//#endregion | |
| 1696 | -//#region node_modules/core-js/internals/classof.js | |
| 1697 | - var require_classof = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1698 | - var TO_STRING_TAG_SUPPORT = require_to_string_tag_support(); | |
| 1699 | - var isCallable = require_is_callable(); | |
| 1700 | - var classofRaw = require_classof_raw(); | |
| 1701 | - var TO_STRING_TAG = require_well_known_symbol()("toStringTag"); | |
| 1702 | - var $Object = Object; | |
| 1703 | - var CORRECT_ARGUMENTS = classofRaw(function() { | |
| 1704 | - return arguments; | |
| 1705 | - }()) === "Arguments"; | |
| 1706 | - var tryGet = function(it, key) { | |
| 1707 | - try { | |
| 1708 | - return it[key]; | |
| 1709 | - } catch (error) {} | |
| 1710 | - }; | |
| 1711 | - module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function(it) { | |
| 1712 | - var O; | |
| 1713 | - var tag; | |
| 1714 | - var result; | |
| 1715 | - return it === void 0 ? "Undefined" : it === null ? "Null" : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == "string" ? tag : CORRECT_ARGUMENTS ? classofRaw(O) : (result = classofRaw(O)) === "Object" && isCallable(O.callee) ? "Arguments" : result; | |
| 1716 | - }; | |
| 1717 | - })); | |
| 1718 | 1633 | |
| 1719 | -//#endregion | |
| 1720 | -//#region node_modules/core-js/internals/get-iterator-method.js | |
| 1721 | - var require_get_iterator_method = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1722 | - var classof = require_classof(); | |
| 1723 | - var getMethod = require_get_method(); | |
| 1724 | - var isNullOrUndefined = require_is_null_or_undefined(); | |
| 1725 | - var Iterators = require_iterators(); | |
| 1726 | - var ITERATOR = require_well_known_symbol()("iterator"); | |
| 1727 | - module.exports = function(it) { | |
| 1728 | - if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR) || getMethod(it, "@@iterator") || Iterators[classof(it)]; | |
| 1729 | - }; | |
| 1730 | - })); | |
| 1634 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1635 | +Object.defineProperty(exports, "__esModule", ({ | |
| 1636 | + value: true | |
| 1637 | +})); | |
| 1638 | +exports["default"] = void 0; | |
| 1639 | +var _module = _interopRequireDefault(__webpack_require__(/*! ./imports/module */ "../assets/dev/js/modules/imports/module.js")); | |
| 1640 | +var _viewModule = _interopRequireDefault(__webpack_require__(/*! ./imports/view-module */ "../assets/dev/js/modules/imports/view-module.js")); | |
| 1641 | +var _argsObject = _interopRequireDefault(__webpack_require__(/*! ./imports/args-object */ "../assets/dev/js/modules/imports/args-object.js")); | |
| 1642 | +var _masonry = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/masonry */ "../assets/dev/js/modules/imports/utils/masonry.js")); | |
| 1643 | +var _scroll = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/scroll */ "../assets/dev/js/modules/imports/utils/scroll.js")); | |
| 1644 | +var _forceMethodImplementation = _interopRequireDefault(__webpack_require__(/*! ./imports/force-method-implementation */ "../assets/dev/js/modules/imports/force-method-implementation.js")); | |
| 1645 | +var _default = exports["default"] = window.elementorModules = { | |
| 1646 | + Module: _module.default, | |
| 1647 | + ViewModule: _viewModule.default, | |
| 1648 | + ArgsObject: _argsObject.default, | |
| 1649 | + ForceMethodImplementation: _forceMethodImplementation.default, | |
| 1650 | + utils: { | |
| 1651 | + Masonry: _masonry.default, | |
| 1652 | + Scroll: _scroll.default | |
| 1653 | + } | |
| 1654 | +}; | |
| 1731 | 1655 | |
| 1732 | -//#endregion | |
| 1733 | -//#region node_modules/core-js/internals/get-iterator.js | |
| 1734 | - var require_get_iterator = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1735 | - var call = require_function_call(); | |
| 1736 | - var aCallable = require_a_callable(); | |
| 1737 | - var anObject = require_an_object(); | |
| 1738 | - var tryToString = require_try_to_string(); | |
| 1739 | - var getIteratorMethod = require_get_iterator_method(); | |
| 1740 | - var $TypeError = TypeError; | |
| 1741 | - module.exports = function(argument, usingIterator) { | |
| 1742 | - var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator; | |
| 1743 | - if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument)); | |
| 1744 | - throw new $TypeError(tryToString(argument) + " is not iterable"); | |
| 1745 | - }; | |
| 1746 | - })); | |
| 1656 | +/***/ }), | |
| 1747 | 1657 | |
| 1748 | -//#endregion | |
| 1749 | -//#region node_modules/core-js/internals/iterate.js | |
| 1750 | - var require_iterate = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1751 | - var bind = require_function_bind_context(); | |
| 1752 | - var call = require_function_call(); | |
| 1753 | - var anObject = require_an_object(); | |
| 1754 | - var tryToString = require_try_to_string(); | |
| 1755 | - var isArrayIteratorMethod = require_is_array_iterator_method(); | |
| 1756 | - var lengthOfArrayLike = require_length_of_array_like(); | |
| 1757 | - var isPrototypeOf = require_object_is_prototype_of(); | |
| 1758 | - var getIterator = require_get_iterator(); | |
| 1759 | - var getIteratorMethod = require_get_iterator_method(); | |
| 1760 | - var iteratorClose = require_iterator_close(); | |
| 1761 | - var $TypeError = TypeError; | |
| 1762 | - var Result = function(stopped, result) { | |
| 1763 | - this.stopped = stopped; | |
| 1764 | - this.result = result; | |
| 1765 | - }; | |
| 1766 | - var ResultPrototype = Result.prototype; | |
| 1767 | - module.exports = function(iterable, unboundFunction, options) { | |
| 1768 | - var that = options && options.that; | |
| 1769 | - var AS_ENTRIES = !!(options && options.AS_ENTRIES); | |
| 1770 | - var IS_RECORD = !!(options && options.IS_RECORD); | |
| 1771 | - var IS_ITERATOR = !!(options && options.IS_ITERATOR); | |
| 1772 | - var INTERRUPTED = !!(options && options.INTERRUPTED); | |
| 1773 | - var fn = bind(unboundFunction, that); | |
| 1774 | - var iterator; | |
| 1775 | - var iterFn; | |
| 1776 | - var index; | |
| 1777 | - var length; | |
| 1778 | - var result; | |
| 1779 | - var next; | |
| 1780 | - var step; | |
| 1781 | - var stop = function(condition) { | |
| 1782 | - if (iterator) iteratorClose(iterator, "normal"); | |
| 1783 | - return new Result(true, condition); | |
| 1784 | - }; | |
| 1785 | - var callFn = function(value) { | |
| 1786 | - if (AS_ENTRIES) { | |
| 1787 | - anObject(value); | |
| 1788 | - return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]); | |
| 1789 | - } | |
| 1790 | - return INTERRUPTED ? fn(value, stop) : fn(value); | |
| 1791 | - }; | |
| 1792 | - if (IS_RECORD) iterator = iterable.iterator; | |
| 1793 | - else if (IS_ITERATOR) iterator = iterable; | |
| 1794 | - else { | |
| 1795 | - iterFn = getIteratorMethod(iterable); | |
| 1796 | - if (!iterFn) throw new $TypeError(tryToString(iterable) + " is not iterable"); | |
| 1797 | - if (isArrayIteratorMethod(iterFn)) { | |
| 1798 | - for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) { | |
| 1799 | - result = callFn(iterable[index]); | |
| 1800 | - if (result && isPrototypeOf(ResultPrototype, result)) return result; | |
| 1801 | - } | |
| 1802 | - return new Result(false); | |
| 1803 | - } | |
| 1804 | - iterator = getIterator(iterable, iterFn); | |
| 1805 | - } | |
| 1806 | - next = IS_RECORD ? iterable.next : iterator.next; | |
| 1807 | - while (!(step = call(next, iterator)).done) { | |
| 1808 | - try { | |
| 1809 | - result = callFn(step.value); | |
| 1810 | - } catch (error) { | |
| 1811 | - iteratorClose(iterator, "throw", error); | |
| 1812 | - } | |
| 1813 | - if (typeof result == "object" && result && isPrototypeOf(ResultPrototype, result)) return result; | |
| 1814 | - } | |
| 1815 | - return new Result(false); | |
| 1816 | - }; | |
| 1817 | - })); | |
| 1658 | +/***/ "../modules/nested-tabs/assets/js/frontend/handlers/nested-tabs.js": | |
| 1659 | +/*!*************************************************************************!*\ | |
| 1660 | + !*** ../modules/nested-tabs/assets/js/frontend/handlers/nested-tabs.js ***! | |
| 1661 | + \*************************************************************************/ | |
| 1662 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1818 | 1663 | |
| 1819 | -//#endregion | |
| 1820 | -//#region node_modules/core-js/modules/es.iterator.for-each.js | |
| 1821 | - var require_es_iterator_for_each = /* @__PURE__ */ __commonJSMin((() => { | |
| 1822 | - var $ = require_export(); | |
| 1823 | - var call = require_function_call(); | |
| 1824 | - var iterate = require_iterate(); | |
| 1825 | - var aCallable = require_a_callable(); | |
| 1826 | - var anObject = require_an_object(); | |
| 1827 | - var getIteratorDirect = require_get_iterator_direct(); | |
| 1828 | - var iteratorClose = require_iterator_close(); | |
| 1829 | - var forEachWithoutClosingOnEarlyError = require_iterator_helper_without_closing_on_early_error()("forEach", TypeError); | |
| 1830 | - $({ | |
| 1831 | - target: "Iterator", | |
| 1832 | - proto: true, | |
| 1833 | - real: true, | |
| 1834 | - forced: forEachWithoutClosingOnEarlyError | |
| 1835 | - }, { forEach: function forEach(fn) { | |
| 1836 | - anObject(this); | |
| 1837 | - try { | |
| 1838 | - aCallable(fn); | |
| 1839 | - } catch (error) { | |
| 1840 | - iteratorClose(this, "throw", error); | |
| 1841 | - } | |
| 1842 | - if (forEachWithoutClosingOnEarlyError) return call(forEachWithoutClosingOnEarlyError, this, fn); | |
| 1843 | - var record = getIteratorDirect(this); | |
| 1844 | - var counter = 0; | |
| 1845 | - iterate(record, function(value) { | |
| 1846 | - fn(value, counter++); | |
| 1847 | - }, { IS_RECORD: true }); | |
| 1848 | - } }); | |
| 1849 | - })); | |
| 1664 | +"use strict"; | |
| 1850 | 1665 | |
| 1851 | -//#endregion | |
| 1852 | -//#region node_modules/core-js/modules/esnext.iterator.for-each.js | |
| 1853 | - var require_esnext_iterator_for_each = /* @__PURE__ */ __commonJSMin((() => { | |
| 1854 | - require_es_iterator_for_each(); | |
| 1855 | - })); | |
| 1856 | 1666 | |
| 1857 | -//#endregion | |
| 1858 | -//#region assets/dev/js/modules/imports/module.js | |
| 1859 | - var require_module = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 1860 | - require_es_array_push(); | |
| 1861 | - require_esnext_iterator_constructor(); | |
| 1862 | - require_esnext_iterator_filter(); | |
| 1863 | - require_esnext_iterator_for_each(); | |
| 1864 | - var Module = function() { | |
| 1865 | - const $ = jQuery; | |
| 1866 | - const instanceParams = arguments; | |
| 1867 | - const self = this; | |
| 1868 | - const events = {}; | |
| 1869 | - let settings; | |
| 1870 | - const ensureClosureMethods = function() { | |
| 1871 | - $.each(self, function(methodName) { | |
| 1872 | - const oldMethod = self[methodName]; | |
| 1873 | - if ("function" !== typeof oldMethod) return; | |
| 1874 | - self[methodName] = function() { | |
| 1875 | - return oldMethod.apply(self, arguments); | |
| 1876 | - }; | |
| 1877 | - }); | |
| 1878 | - }; | |
| 1879 | - const initSettings = function() { | |
| 1880 | - settings = self.getDefaultSettings(); | |
| 1881 | - const instanceSettings = instanceParams[0]; | |
| 1882 | - if (instanceSettings) $.extend(true, settings, instanceSettings); | |
| 1883 | - }; | |
| 1884 | - const init = function() { | |
| 1885 | - self.__construct.apply(self, instanceParams); | |
| 1886 | - ensureClosureMethods(); | |
| 1887 | - initSettings(); | |
| 1888 | - self.trigger("init"); | |
| 1889 | - }; | |
| 1890 | - this.getItems = function(items, itemKey) { | |
| 1891 | - if (itemKey) { | |
| 1892 | - const keyStack = itemKey.split("."); | |
| 1893 | - const currentKey = keyStack.splice(0, 1); | |
| 1894 | - if (!keyStack.length) return items[currentKey]; | |
| 1895 | - if (!items[currentKey]) return; | |
| 1896 | - return this.getItems(items[currentKey], keyStack.join(".")); | |
| 1897 | - } | |
| 1898 | - return items; | |
| 1899 | - }; | |
| 1900 | - this.getSettings = function(setting) { | |
| 1901 | - return this.getItems(settings, setting); | |
| 1902 | - }; | |
| 1903 | - this.setSettings = function(settingKey, value, settingsContainer) { | |
| 1904 | - if (!settingsContainer) settingsContainer = settings; | |
| 1905 | - if ("object" === typeof settingKey) { | |
| 1906 | - $.extend(settingsContainer, settingKey); | |
| 1907 | - return self; | |
| 1908 | - } | |
| 1909 | - const keyStack = settingKey.split("."); | |
| 1910 | - const currentKey = keyStack.splice(0, 1); | |
| 1911 | - if (!keyStack.length) { | |
| 1912 | - settingsContainer[currentKey] = value; | |
| 1913 | - return self; | |
| 1914 | - } | |
| 1915 | - if (!settingsContainer[currentKey]) settingsContainer[currentKey] = {}; | |
| 1916 | - return self.setSettings(keyStack.join("."), value, settingsContainer[currentKey]); | |
| 1917 | - }; | |
| 1918 | - this.getErrorMessage = function(type, functionName) { | |
| 1919 | - let message; | |
| 1920 | - switch (type) { | |
| 1921 | - case "forceMethodImplementation": | |
| 1922 | - message = `The method '${functionName}' must to be implemented in the inheritor child.`; | |
| 1923 | - break; | |
| 1924 | - default: message = "An error occurs"; | |
| 1925 | - } | |
| 1926 | - return message; | |
| 1927 | - }; | |
| 1928 | - this.forceMethodImplementation = function(functionName) { | |
| 1929 | - throw new Error(this.getErrorMessage("forceMethodImplementation", functionName)); | |
| 1930 | - }; | |
| 1931 | - this.on = function(eventName, callback) { | |
| 1932 | - if ("object" === typeof eventName) { | |
| 1933 | - $.each(eventName, function(singleEventName) { | |
| 1934 | - self.on(singleEventName, this); | |
| 1935 | - }); | |
| 1936 | - return self; | |
| 1937 | - } | |
| 1938 | - eventName.split(" ").forEach(function(singleEventName) { | |
| 1939 | - if (!events[singleEventName]) events[singleEventName] = []; | |
| 1940 | - events[singleEventName].push(callback); | |
| 1941 | - }); | |
| 1942 | - return self; | |
| 1943 | - }; | |
| 1944 | - this.off = function(eventName, callback) { | |
| 1945 | - if (!events[eventName]) return self; | |
| 1946 | - if (!callback) { | |
| 1947 | - delete events[eventName]; | |
| 1948 | - return self; | |
| 1949 | - } | |
| 1950 | - const callbackIndex = events[eventName].indexOf(callback); | |
| 1951 | - if (-1 !== callbackIndex) { | |
| 1952 | - delete events[eventName][callbackIndex]; | |
| 1953 | - events[eventName] = events[eventName].filter((val) => val); | |
| 1954 | - } | |
| 1955 | - return self; | |
| 1956 | - }; | |
| 1957 | - this.trigger = function(eventName) { | |
| 1958 | - const methodName = "on" + eventName[0].toUpperCase() + eventName.slice(1); | |
| 1959 | - const params = Array.prototype.slice.call(arguments, 1); | |
| 1960 | - if (self[methodName]) self[methodName].apply(self, params); | |
| 1961 | - const callbacks = events[eventName]; | |
| 1962 | - if (!callbacks) return self; | |
| 1963 | - $.each(callbacks, function(index, callback) { | |
| 1964 | - callback.apply(self, params); | |
| 1965 | - }); | |
| 1966 | - return self; | |
| 1967 | - }; | |
| 1968 | - init(); | |
| 1969 | - }; | |
| 1970 | - Module.prototype.__construct = function() {}; | |
| 1971 | - Module.prototype.getDefaultSettings = function() { | |
| 1972 | - return {}; | |
| 1973 | - }; | |
| 1974 | - Module.prototype.getConstructorID = function() { | |
| 1975 | - return this.constructor.name; | |
| 1976 | - }; | |
| 1977 | - Module.extend = function(properties) { | |
| 1978 | - const $ = jQuery; | |
| 1979 | - const parent = this; | |
| 1980 | - const child = function() { | |
| 1981 | - return parent.apply(this, arguments); | |
| 1982 | - }; | |
| 1983 | - $.extend(child, parent); | |
| 1984 | - child.prototype = Object.create($.extend({}, parent.prototype, properties)); | |
| 1985 | - child.prototype.constructor = child; | |
| 1986 | - child.__super__ = parent.prototype; | |
| 1987 | - return child; | |
| 1988 | - }; | |
| 1989 | - module.exports = Module; | |
| 1990 | - })); | |
| 1667 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1668 | +Object.defineProperty(exports, "__esModule", ({ | |
| 1669 | + value: true | |
| 1670 | +})); | |
| 1671 | +exports["default"] = void 0; | |
| 1672 | +var _base = _interopRequireDefault(__webpack_require__(/*! elementor-frontend/handlers/base */ "../assets/dev/js/frontend/handlers/base.js")); | |
| 1673 | +var _flexHorizontalScroll = __webpack_require__(/*! elementor-frontend-utils/flex-horizontal-scroll */ "../assets/dev/js/frontend/utils/flex-horizontal-scroll.js"); | |
| 1674 | +class NestedTabs extends _base.default { | |
| 1675 | + /** | |
| 1676 | + * @param {string|number} tabIndex | |
| 1677 | + * | |
| 1678 | + * @return {string} | |
| 1679 | + */ | |
| 1680 | + getTabTitleFilterSelector(tabIndex) { | |
| 1681 | + return `[${this.getSettings('dataAttributes').tabIndex}="${tabIndex}"]`; | |
| 1682 | + } | |
| 1991 | 1683 | |
| 1992 | -//#endregion | |
| 1993 | -//#region assets/dev/js/modules/imports/view-module.js | |
| 1994 | - var require_view_module = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 1995 | - var _interopRequireDefault = require_interopRequireDefault(); | |
| 1996 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 1997 | - exports.default = void 0; | |
| 1998 | - var _module = _interopRequireDefault(require_module()); | |
| 1999 | - exports.default = _module.default.extend({ | |
| 2000 | - elements: null, | |
| 2001 | - getDefaultElements() { | |
| 2002 | - return {}; | |
| 2003 | - }, | |
| 2004 | - bindEvents() {}, | |
| 2005 | - onInit() { | |
| 2006 | - this.initElements(); | |
| 2007 | - this.bindEvents(); | |
| 2008 | - }, | |
| 2009 | - initElements() { | |
| 2010 | - this.elements = this.getDefaultElements(); | |
| 2011 | - } | |
| 2012 | - }); | |
| 2013 | - })); | |
| 1684 | + /** | |
| 1685 | + * @param {string|number} tabIndex | |
| 1686 | + * | |
| 1687 | + * @return {string} | |
| 1688 | + */ | |
| 1689 | + getTabContentFilterSelector(tabIndex) { | |
| 1690 | + return `*:nth-child(${tabIndex})`; | |
| 1691 | + } | |
| 2014 | 1692 | |
| 2015 | -//#endregion | |
| 2016 | -//#region assets/dev/js/modules/imports/instance-type.js | |
| 2017 | - var require_instance_type = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2018 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2019 | - exports.default = void 0; | |
| 2020 | - require_es_array_push(); | |
| 2021 | - require_esnext_iterator_constructor(); | |
| 2022 | - require_esnext_iterator_for_each(); | |
| 2023 | - var InstanceType = class InstanceType { | |
| 2024 | - static [Symbol.hasInstance](target) { | |
| 2025 | - /** | |
| 2026 | - * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class | |
| 2027 | - * its give's opportunity to mange capabilities of instanceOf operator. | |
| 2028 | - * saving current class each time will give option later to handle instanceOf manually. | |
| 2029 | - */ | |
| 2030 | - let result = super[Symbol.hasInstance](target); | |
| 2031 | - if (target && !target.constructor.getInstanceType) return result; | |
| 2032 | - if (target) { | |
| 2033 | - if (!target.instanceTypes) target.instanceTypes = []; | |
| 2034 | - if (!result) { | |
| 2035 | - if (this.getInstanceType() === target.constructor.getInstanceType()) result = true; | |
| 2036 | - } | |
| 2037 | - if (result) { | |
| 2038 | - const name = this.getInstanceType === InstanceType.getInstanceType ? "BaseInstanceType" : this.getInstanceType(); | |
| 2039 | - if (-1 === target.instanceTypes.indexOf(name)) target.instanceTypes.push(name); | |
| 2040 | - } | |
| 2041 | - } | |
| 2042 | - if (!result && target) result = target.instanceTypes && Array.isArray(target.instanceTypes) && -1 !== target.instanceTypes.indexOf(this.getInstanceType()); | |
| 2043 | - return result; | |
| 2044 | - } | |
| 2045 | - static getInstanceType() { | |
| 2046 | - elementorModules.ForceMethodImplementation(); | |
| 2047 | - } | |
| 2048 | - constructor() { | |
| 2049 | - let target = new.target; | |
| 2050 | - const prototypes = []; | |
| 2051 | - while (target.__proto__ && target.__proto__.name) { | |
| 2052 | - prototypes.push(target.__proto__); | |
| 2053 | - target = target.__proto__; | |
| 2054 | - } | |
| 2055 | - prototypes.reverse().forEach((proto) => this instanceof proto); | |
| 2056 | - } | |
| 2057 | - }; | |
| 2058 | - exports.default = InstanceType; | |
| 2059 | - })); | |
| 1693 | + /** | |
| 1694 | + * @param {HTMLElement} tabTitleElement | |
| 1695 | + * | |
| 1696 | + * @return {string} | |
| 1697 | + */ | |
| 1698 | + getTabIndex(tabTitleElement) { | |
| 1699 | + return tabTitleElement.getAttribute(this.getSettings('dataAttributes').tabIndex); | |
| 1700 | + } | |
| 1701 | + getActiveTabIndex() { | |
| 1702 | + const settings = this.getSettings(), | |
| 1703 | + activeTitleFilter = settings.ariaAttributes.activeTitleSelector, | |
| 1704 | + tabIndexSelector = settings.dataAttributes.tabIndex, | |
| 1705 | + $activeTitle = this.elements.$tabTitles.filter(activeTitleFilter); | |
| 1706 | + return $activeTitle.attr(tabIndexSelector) || null; | |
| 1707 | + } | |
| 1708 | + getWidgetNumber() { | |
| 1709 | + return this.$element.find('> .elementor-widget-container > .e-n-tabs, > .e-n-tabs').attr('data-widget-number'); | |
| 1710 | + } | |
| 1711 | + getDefaultSettings() { | |
| 1712 | + const widgetNumber = this.getWidgetNumber(); | |
| 1713 | + return { | |
| 1714 | + selectors: { | |
| 1715 | + widgetContainer: `[data-widget-number="${widgetNumber}"]`, | |
| 1716 | + tabTitle: `[aria-controls*="e-n-tab-content-${widgetNumber}"]`, | |
| 1717 | + tabTitleIcon: `[id*="e-n-tab-title-${widgetNumber}"] > .e-n-tab-icon`, | |
| 1718 | + tabTitleText: `[id*="e-n-tab-title-${widgetNumber}"] > .e-n-tab-title-text`, | |
| 1719 | + tabContent: `[data-widget-number="${widgetNumber}"] > .e-n-tabs-content > .e-con`, | |
| 1720 | + headingContainer: `[data-widget-number="${widgetNumber}"] > .e-n-tabs-heading`, | |
| 1721 | + activeTabContentContainers: `[id*="e-n-tab-content-${widgetNumber}"].e-active` | |
| 1722 | + }, | |
| 1723 | + classes: { | |
| 1724 | + active: 'e-active' | |
| 1725 | + }, | |
| 1726 | + dataAttributes: { | |
| 1727 | + tabIndex: 'data-tab-index' | |
| 1728 | + }, | |
| 1729 | + ariaAttributes: { | |
| 1730 | + titleStateAttribute: 'aria-selected', | |
| 1731 | + activeTitleSelector: '[aria-selected="true"]' | |
| 1732 | + }, | |
| 1733 | + showTabFn: 'show', | |
| 1734 | + hideTabFn: 'hide', | |
| 1735 | + toggleSelf: false, | |
| 1736 | + hidePrevious: true, | |
| 1737 | + autoExpand: true | |
| 1738 | + }; | |
| 1739 | + } | |
| 1740 | + getDefaultElements() { | |
| 1741 | + const selectors = this.getSettings('selectors'); | |
| 1742 | + return { | |
| 1743 | + $widgetContainer: this.findElement(selectors.widgetContainer), | |
| 1744 | + $tabTitles: this.findElement(selectors.tabTitle), | |
| 1745 | + $tabContents: this.findElement(selectors.tabContent), | |
| 1746 | + $headingContainer: this.findElement(selectors.headingContainer) | |
| 1747 | + }; | |
| 1748 | + } | |
| 1749 | + getKeyboardNavigationSettings() { | |
| 1750 | + return this.getSettings(); | |
| 1751 | + } | |
| 1752 | + activateDefaultTab() { | |
| 1753 | + const settings = this.getSettings(); | |
| 1754 | + const defaultActiveTab = this.getEditSettings('activeItemIndex') || 1, | |
| 1755 | + originalToggleMethods = { | |
| 1756 | + showTabFn: settings.showTabFn, | |
| 1757 | + hideTabFn: settings.hideTabFn | |
| 1758 | + }; | |
| 2060 | 1759 | |
| 2061 | -//#endregion | |
| 2062 | -//#region assets/dev/js/editor/utils/is-instanceof.js | |
| 2063 | - var require_is_instanceof = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2064 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2065 | - exports.default = void 0; | |
| 2066 | - /** | |
| 2067 | - * Some FileAPI objects such as FileList, DataTransferItem and DataTransferItemList has inconsistency with the retrieved | |
| 2068 | - * object (from events, etc.) and the actual JavaScript object so a regular instanceof doesn't work. This function can | |
| 2069 | - * check whether it's instanceof by using the objects constructor and prototype names. | |
| 2070 | - * | |
| 2071 | - * @param object | |
| 2072 | - * @param constructors | |
| 2073 | - * @return {boolean} | |
| 2074 | - */ | |
| 2075 | - var _default = (object, constructors) => { | |
| 2076 | - constructors = Array.isArray(constructors) ? constructors : [constructors]; | |
| 2077 | - for (const constructor of constructors) if (object.constructor.name === constructor.prototype[Symbol.toStringTag]) return true; | |
| 2078 | - return false; | |
| 2079 | - }; | |
| 2080 | - exports.default = _default; | |
| 2081 | - })); | |
| 1760 | + // Toggle tabs without animation to avoid jumping | |
| 1761 | + this.setSettings({ | |
| 1762 | + showTabFn: 'show', | |
| 1763 | + hideTabFn: 'hide' | |
| 1764 | + }); | |
| 1765 | + this.changeActiveTab(defaultActiveTab); | |
| 2082 | 1766 | |
| 2083 | -//#endregion | |
| 2084 | -//#region assets/dev/js/modules/imports/args-object.js | |
| 2085 | - var require_args_object = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2086 | - var _interopRequireDefault = require_interopRequireDefault(); | |
| 2087 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2088 | - exports.default = void 0; | |
| 2089 | - var _instanceType = _interopRequireDefault(require_instance_type()); | |
| 2090 | - var _isInstanceof = _interopRequireDefault(require_is_instanceof()); | |
| 2091 | - var ArgsObject = class extends _instanceType.default { | |
| 2092 | - static getInstanceType() { | |
| 2093 | - return "ArgsObject"; | |
| 2094 | - } | |
| 2095 | - /** | |
| 2096 | - * Function constructor(). | |
| 2097 | - * | |
| 2098 | - * Create ArgsObject. | |
| 2099 | - * | |
| 2100 | - * @param {{}} args | |
| 2101 | - */ | |
| 2102 | - constructor(args) { | |
| 2103 | - super(); | |
| 2104 | - this.args = args; | |
| 2105 | - } | |
| 2106 | - /** | |
| 2107 | - * Function requireArgument(). | |
| 2108 | - * | |
| 2109 | - * Validate property in args. | |
| 2110 | - * | |
| 2111 | - * @param {string} property | |
| 2112 | - * @param {{}} args | |
| 2113 | - * | |
| 2114 | - * @throws {Error} | |
| 2115 | - */ | |
| 2116 | - requireArgument(property, args = this.args) { | |
| 2117 | - if (!Object.prototype.hasOwnProperty.call(args, property)) throw Error(`${property} is required.`); | |
| 2118 | - } | |
| 2119 | - /** | |
| 2120 | - * Function requireArgumentType(). | |
| 2121 | - * | |
| 2122 | - * Validate property in args using `type === typeof(args.whatever)`. | |
| 2123 | - * | |
| 2124 | - * @param {string} property | |
| 2125 | - * @param {string} type | |
| 2126 | - * @param {{}} args | |
| 2127 | - * | |
| 2128 | - * @throws {Error} | |
| 2129 | - */ | |
| 2130 | - requireArgumentType(property, type, args = this.args) { | |
| 2131 | - this.requireArgument(property, args); | |
| 2132 | - if (typeof args[property] !== type) throw Error(`${property} invalid type: ${type}.`); | |
| 2133 | - } | |
| 2134 | - /** | |
| 2135 | - * Function requireArgumentInstance(). | |
| 2136 | - * | |
| 2137 | - * Validate property in args using `args.whatever instanceof instance`. | |
| 2138 | - * | |
| 2139 | - * @param {string} property | |
| 2140 | - * @param {*} instance | |
| 2141 | - * @param {{}} args | |
| 2142 | - * | |
| 2143 | - * @throws {Error} | |
| 2144 | - */ | |
| 2145 | - requireArgumentInstance(property, instance, args = this.args) { | |
| 2146 | - this.requireArgument(property, args); | |
| 2147 | - if (!(args[property] instanceof instance) && !(0, _isInstanceof.default)(args[property], instance)) throw Error(`${property} invalid instance.`); | |
| 2148 | - } | |
| 2149 | - /** | |
| 2150 | - * Function requireArgumentConstructor(). | |
| 2151 | - * | |
| 2152 | - * Validate property in args using `type === args.whatever.constructor`. | |
| 2153 | - * | |
| 2154 | - * @param {string} property | |
| 2155 | - * @param {*} type | |
| 2156 | - * @param {{}} args | |
| 2157 | - * | |
| 2158 | - * @throws {Error} | |
| 2159 | - */ | |
| 2160 | - requireArgumentConstructor(property, type, args = this.args) { | |
| 2161 | - this.requireArgument(property, args); | |
| 2162 | - if (args[property].constructor.toString() !== type.prototype.constructor.toString()) throw Error(`${property} invalid constructor type.`); | |
| 2163 | - } | |
| 2164 | - }; | |
| 2165 | - exports.default = ArgsObject; | |
| 2166 | - })); | |
| 1767 | + // Return back original toggle effects | |
| 1768 | + this.setSettings(originalToggleMethods); | |
| 1769 | + this.elements.$widgetContainer.addClass('e-activated'); | |
| 1770 | + } | |
| 1771 | + deactivateActiveTab(newTabIndex) { | |
| 1772 | + const settings = this.getSettings(), | |
| 1773 | + activeClass = settings.classes.active, | |
| 1774 | + activeTitleFilter = settings.ariaAttributes.activeTitleSelector, | |
| 1775 | + activeContentFilter = '.' + activeClass, | |
| 1776 | + $activeTitle = this.elements.$tabTitles.filter(activeTitleFilter), | |
| 1777 | + $activeContent = this.elements.$tabContents.filter(activeContentFilter); | |
| 1778 | + this.setTabDeactivationAttributes($activeTitle, newTabIndex); | |
| 1779 | + $activeContent.removeClass(activeClass); | |
| 1780 | + $activeContent[settings.hideTabFn](0, () => this.onHideTabContent($activeContent)); | |
| 1781 | + return $activeContent; | |
| 1782 | + } | |
| 1783 | + getTitleActivationAttributes() { | |
| 1784 | + const titleStateAttribute = this.getSettings('ariaAttributes').titleStateAttribute; | |
| 1785 | + return { | |
| 1786 | + tabindex: '0', | |
| 1787 | + [titleStateAttribute]: 'true' | |
| 1788 | + }; | |
| 1789 | + } | |
| 1790 | + setTabDeactivationAttributes($activeTitle) { | |
| 1791 | + const titleStateAttribute = this.getSettings('ariaAttributes').titleStateAttribute; | |
| 1792 | + $activeTitle.attr({ | |
| 1793 | + tabindex: '-1', | |
| 1794 | + [titleStateAttribute]: 'false' | |
| 1795 | + }); | |
| 1796 | + } | |
| 1797 | + onHideTabContent() {} | |
| 1798 | + activateTab(tabIndex) { | |
| 1799 | + const settings = this.getSettings(), | |
| 1800 | + activeClass = settings.classes.active, | |
| 1801 | + animationDuration = 'show' === settings.showTabFn ? 0 : 400; | |
| 1802 | + let $requestedTitle = this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(tabIndex)), | |
| 1803 | + $requestedContent = this.elements.$tabContents.filter(this.getTabContentFilterSelector(tabIndex)); | |
| 2167 | 1804 | |
| 2168 | -//#endregion | |
| 2169 | -//#region assets/dev/js/modules/imports/utils/masonry.js | |
| 2170 | - var require_masonry = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2171 | - var _interopRequireDefault = require_interopRequireDefault(); | |
| 2172 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2173 | - exports.default = void 0; | |
| 2174 | - require_es_array_push(); | |
| 2175 | - var _viewModule = _interopRequireDefault(require_view_module()); | |
| 2176 | - exports.default = _viewModule.default.extend({ | |
| 2177 | - getDefaultSettings() { | |
| 2178 | - return { | |
| 2179 | - container: null, | |
| 2180 | - items: null, | |
| 2181 | - columnsCount: 3, | |
| 2182 | - verticalSpaceBetween: 30 | |
| 2183 | - }; | |
| 2184 | - }, | |
| 2185 | - getDefaultElements() { | |
| 2186 | - return { | |
| 2187 | - $container: jQuery(this.getSettings("container")), | |
| 2188 | - $items: jQuery(this.getSettings("items")) | |
| 2189 | - }; | |
| 2190 | - }, | |
| 2191 | - run() { | |
| 2192 | - var heights = []; | |
| 2193 | - var distanceFromTop = this.elements.$container.position().top; | |
| 2194 | - var settings = this.getSettings(); | |
| 2195 | - var columnsCount = settings.columnsCount; | |
| 2196 | - distanceFromTop += parseInt(this.elements.$container.css("margin-top"), 10); | |
| 2197 | - this.elements.$items.each(function(index) { | |
| 2198 | - var row = Math.floor(index / columnsCount); | |
| 2199 | - var $item = jQuery(this); | |
| 2200 | - var itemHeight = $item[0].getBoundingClientRect().height + settings.verticalSpaceBetween; | |
| 2201 | - if (row) { | |
| 2202 | - var itemPosition = $item.position(); | |
| 2203 | - var indexAtRow = index % columnsCount; | |
| 2204 | - var pullHeight = itemPosition.top - distanceFromTop - heights[indexAtRow]; | |
| 2205 | - pullHeight -= parseInt($item.css("margin-top"), 10); | |
| 2206 | - pullHeight *= -1; | |
| 2207 | - $item.css("margin-top", pullHeight + "px"); | |
| 2208 | - heights[indexAtRow] += itemHeight; | |
| 2209 | - } else heights.push(itemHeight); | |
| 2210 | - }); | |
| 2211 | - } | |
| 2212 | - }); | |
| 2213 | - })); | |
| 1805 | + // Check if the tabIndex exists. | |
| 1806 | + if (!$requestedTitle.length) { | |
| 1807 | + // Activate the previous tab and ensure that the tab index is not less than 1. | |
| 1808 | + const previousTabIndex = Math.max(tabIndex - 1, 1); | |
| 1809 | + $requestedTitle = this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(previousTabIndex)); | |
| 1810 | + $requestedContent = this.elements.$tabContents.filter(this.getTabContentFilterSelector(previousTabIndex)); | |
| 1811 | + } | |
| 1812 | + $requestedTitle.attr(this.getTitleActivationAttributes()); | |
| 1813 | + $requestedContent.addClass(activeClass); | |
| 1814 | + $requestedContent[settings.showTabFn](animationDuration, () => this.onShowTabContent($requestedContent)); | |
| 1815 | + } | |
| 1816 | + onShowTabContent($requestedContent) { | |
| 1817 | + elementorFrontend.elements.$window.trigger('elementor-pro/motion-fx/recalc'); | |
| 1818 | + elementorFrontend.elements.$window.trigger('elementor/nested-tabs/activate', $requestedContent); | |
| 1819 | + elementorFrontend.elements.$window.trigger('elementor/bg-video/recalc'); | |
| 1820 | + } | |
| 1821 | + isActiveTab(tabIndex) { | |
| 1822 | + const settings = this.getSettings(), | |
| 1823 | + isActiveTabTitle = 'true' === this.elements.$tabTitles.filter(`[${settings.dataAttributes.tabIndex}="${tabIndex}"]`).attr(settings.ariaAttributes.titleStateAttribute), | |
| 1824 | + isActiveTabContent = this.elements.$tabContents.filter(this.getTabContentFilterSelector(tabIndex)).hasClass(this.getActiveClass()); | |
| 1825 | + return isActiveTabTitle && isActiveTabContent; | |
| 1826 | + } | |
| 1827 | + onTabClick(event) { | |
| 1828 | + event.preventDefault(); | |
| 1829 | + this.changeActiveTab(event.currentTarget?.getAttribute(this.getSettings('dataAttributes').tabIndex), true); | |
| 1830 | + } | |
| 1831 | + getTabEvents() { | |
| 1832 | + return { | |
| 1833 | + click: this.onTabClick.bind(this) | |
| 1834 | + }; | |
| 1835 | + } | |
| 1836 | + getHeadingEvents() { | |
| 1837 | + const navigationWrapper = this.elements.$headingContainer[0]; | |
| 1838 | + return { | |
| 1839 | + mousedown: _flexHorizontalScroll.changeScrollStatus.bind(this, navigationWrapper), | |
| 1840 | + mouseup: _flexHorizontalScroll.changeScrollStatus.bind(this, navigationWrapper), | |
| 1841 | + mouseleave: _flexHorizontalScroll.changeScrollStatus.bind(this, navigationWrapper), | |
| 1842 | + mousemove: _flexHorizontalScroll.setHorizontalTitleScrollValues.bind(this, navigationWrapper, this.getHorizontalScrollSetting()) | |
| 1843 | + }; | |
| 1844 | + } | |
| 1845 | + bindEvents() { | |
| 1846 | + this.elements.$tabTitles.on(this.getTabEvents()); | |
| 1847 | + this.elements.$headingContainer.on(this.getHeadingEvents()); | |
| 1848 | + elementorFrontend.elements.$window.on('resize', this.onResizeUpdateHorizontalScrolling.bind(this)); | |
| 1849 | + elementorFrontend.elements.$window.on('resize', this.setTouchMode.bind(this)); | |
| 1850 | + elementorFrontend.elements.$window.on('elementor/nested-tabs/activate', this.reInitSwipers); | |
| 1851 | + elementorFrontend.elements.$window.on('elementor/nested-elements/activate-by-keyboard', this.changeActiveTabByKeyboard.bind(this)); | |
| 1852 | + elementorFrontend.elements.$window.on('elementor/nested-container/atomic-repeater', this.linkContainer.bind(this)); | |
| 1853 | + } | |
| 1854 | + unbindEvents() { | |
| 1855 | + this.elements.$tabTitles.off(); | |
| 1856 | + this.elements.$headingContainer.off(); | |
| 1857 | + this.elements.$tabContents.children().off(); | |
| 1858 | + elementorFrontend.elements.$window.off('resize', this.onResizeUpdateHorizontalScrolling.bind(this)); | |
| 1859 | + elementorFrontend.elements.$window.off('resize', this.setTouchMode.bind(this)); | |
| 1860 | + elementorFrontend.elements.$window.off('elementor/nested-tabs/activate', this.reInitSwipers); | |
| 1861 | + elementorFrontend.elements.$window.off('elementor/nested-elements/activate-by-keyboard', this.changeActiveTabByKeyboard.bind(this)); | |
| 1862 | + elementorFrontend.elements.$window.off('elementor/nested-container/atomic-repeater', this.linkContainer.bind(this)); | |
| 1863 | + } | |
| 2214 | 1864 | |
| 2215 | -//#endregion | |
| 2216 | -//#region assets/dev/js/modules/imports/utils/scroll.js | |
| 2217 | - var require_scroll = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2218 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2219 | - exports.default = void 0; | |
| 2220 | - require_es_array_push(); | |
| 2221 | - var Scroll = class { | |
| 2222 | - /** | |
| 2223 | - * @param {Object} obj | |
| 2224 | - * @param {number} obj.sensitivity - Value between 0-100 - Will determine the intersection trigger points on the element | |
| 2225 | - * @param {Function} obj.callback - Will be triggered on each intersection point between the element and the viewport top/bottom | |
| 2226 | - * @param {string} obj.offset - Offset between the element intersection points and the viewport, written like in CSS: '-50% 0 -25%' | |
| 2227 | - * @param {HTMLElement} obj.root - The element that the events will be relative to, if 'null' will be relative to the viewport | |
| 2228 | - */ | |
| 2229 | - static scrollObserver(obj) { | |
| 2230 | - let lastScrollY = 0; | |
| 2231 | - const buildThresholds = (sensitivityPercentage = 0) => { | |
| 2232 | - const thresholds = []; | |
| 2233 | - if (sensitivityPercentage > 0 && sensitivityPercentage <= 100) { | |
| 2234 | - const increment = 100 / sensitivityPercentage; | |
| 2235 | - for (let i = 0; i <= 100; i += increment) thresholds.push(i / 100); | |
| 2236 | - } else thresholds.push(0); | |
| 2237 | - return thresholds; | |
| 2238 | - }; | |
| 2239 | - const options = { | |
| 2240 | - root: obj.root || null, | |
| 2241 | - rootMargin: obj.offset || "0px", | |
| 2242 | - threshold: buildThresholds(obj.sensitivity) | |
| 2243 | - }; | |
| 2244 | - function handleIntersect(entries) { | |
| 2245 | - const currentScrollY = entries[0].boundingClientRect.y; | |
| 2246 | - const isInViewport = entries[0].isIntersecting; | |
| 2247 | - const intersectionScrollDirection = currentScrollY < lastScrollY ? "down" : "up"; | |
| 2248 | - const scrollPercentage = Math.abs(parseFloat((entries[0].intersectionRatio * 100).toFixed(2))); | |
| 2249 | - obj.callback({ | |
| 2250 | - sensitivity: obj.sensitivity, | |
| 2251 | - isInViewport, | |
| 2252 | - scrollPercentage, | |
| 2253 | - intersectionScrollDirection | |
| 2254 | - }); | |
| 2255 | - lastScrollY = currentScrollY; | |
| 2256 | - } | |
| 2257 | - return new IntersectionObserver(handleIntersect, options); | |
| 2258 | - } | |
| 2259 | - /** | |
| 2260 | - * @param {jQuery.Element} $element | |
| 2261 | - * @param {Object} offsetObj | |
| 2262 | - * @param {number} offsetObj.start - Offset start value in percentages | |
| 2263 | - * @param {number} offsetObj.end - Offset end value in percentages | |
| 2264 | - */ | |
| 2265 | - static getElementViewportPercentage($element, offsetObj = {}) { | |
| 2266 | - const elementOffset = $element[0].getBoundingClientRect(); | |
| 2267 | - const offsetStart = offsetObj.start || 0; | |
| 2268 | - const offsetEnd = offsetObj.end || 0; | |
| 2269 | - const windowStartOffset = window.innerHeight * offsetStart / 100; | |
| 2270 | - const windowEndOffset = window.innerHeight * offsetEnd / 100; | |
| 2271 | - const y1 = elementOffset.top - window.innerHeight; | |
| 2272 | - const y2 = elementOffset.top + windowStartOffset + $element.height(); | |
| 2273 | - const startPosition = 0 - y1 + windowStartOffset; | |
| 2274 | - const endPosition = y2 - y1 + windowEndOffset; | |
| 2275 | - const percent = Math.max(0, Math.min(startPosition / endPosition, 1)); | |
| 2276 | - return parseFloat((percent * 100).toFixed(2)); | |
| 2277 | - } | |
| 2278 | - /** | |
| 2279 | - * @param {Object} offsetObj | |
| 2280 | - * @param {number} offsetObj.start - Offset start value in percentages | |
| 2281 | - * @param {number} offsetObj.end - Offset end value in percentages | |
| 2282 | - * @param {number} limitPageHeight - Will limit the page height calculation | |
| 2283 | - */ | |
| 2284 | - static getPageScrollPercentage(offsetObj = {}, limitPageHeight) { | |
| 2285 | - const offsetStart = offsetObj.start || 0; | |
| 2286 | - const offsetEnd = offsetObj.end || 0; | |
| 2287 | - const initialPageHeight = limitPageHeight || document.documentElement.scrollHeight - document.documentElement.clientHeight; | |
| 2288 | - const heightOffset = initialPageHeight * offsetStart / 100; | |
| 2289 | - const pageRange = initialPageHeight + heightOffset + initialPageHeight * offsetEnd / 100; | |
| 2290 | - return (document.documentElement.scrollTop + document.body.scrollTop + heightOffset) / pageRange * 100; | |
| 2291 | - } | |
| 2292 | - }; | |
| 2293 | - exports.default = Scroll; | |
| 2294 | - })); | |
| 1865 | + /** | |
| 1866 | + * Fixes issues where Swipers that have been initialized while a tab is not visible are not properly rendered | |
| 1867 | + * and when switching to the tab the swiper will not respect any of the chosen `autoplay` related settings. | |
| 1868 | + * | |
| 1869 | + * This is triggered when switching to a nested tab, looks for Swipers in the tab content and reinitializes them. | |
| 1870 | + * | |
| 1871 | + * @param {Object} event - Incoming event. | |
| 1872 | + * @param {Object} content - Active nested tab dom element. | |
| 1873 | + */ | |
| 1874 | + reInitSwipers(event, content) { | |
| 1875 | + const swiperElements = content.querySelectorAll('.swiper'); | |
| 1876 | + for (const element of swiperElements) { | |
| 1877 | + if (!element.swiper) { | |
| 1878 | + return; | |
| 1879 | + } | |
| 1880 | + element.swiper.initialized = false; | |
| 1881 | + element.swiper.init(); | |
| 1882 | + } | |
| 1883 | + } | |
| 1884 | + onInit() { | |
| 1885 | + super.onInit(...arguments); | |
| 1886 | + if (this.getSettings('autoExpand')) { | |
| 1887 | + this.activateDefaultTab(); | |
| 1888 | + } | |
| 1889 | + (0, _flexHorizontalScroll.setHorizontalScrollAlignment)(this.getHorizontalScrollingSettings()); | |
| 1890 | + this.setTouchMode(); | |
| 1891 | + if ('nested-tabs.default' === this.getSettings('elementName')) { | |
| 1892 | + __webpack_require__.e(/*! import() | nested-title-keyboard-handler */ "nested-title-keyboard-handler").then(__webpack_require__.bind(__webpack_require__, /*! elementor-frontend/handlers/accessibility/nested-title-keyboard-handler */ "../assets/dev/js/frontend/handlers/accessibility/nested-title-keyboard-handler.js")).then(_ref => { | |
| 1893 | + let { | |
| 1894 | + default: NestedTitleKeyboardHandler | |
| 1895 | + } = _ref; | |
| 1896 | + new NestedTitleKeyboardHandler(this.getKeyboardNavigationSettings()); | |
| 1897 | + }).catch(error => { | |
| 1898 | + // eslint-disable-next-line no-console | |
| 1899 | + console.error('Error importing module:', error); | |
| 1900 | + }); | |
| 1901 | + } | |
| 1902 | + } | |
| 1903 | + onEditSettingsChange(propertyName, value) { | |
| 1904 | + if ('activeItemIndex' === propertyName) { | |
| 1905 | + this.changeActiveTab(value, false); | |
| 1906 | + } | |
| 1907 | + } | |
| 1908 | + onElementChange(propertyName) { | |
| 1909 | + if (this.checkSliderPropsToWatch(propertyName)) { | |
| 1910 | + (0, _flexHorizontalScroll.setHorizontalScrollAlignment)(this.getHorizontalScrollingSettings()); | |
| 1911 | + } | |
| 1912 | + } | |
| 1913 | + checkSliderPropsToWatch(propertyName) { | |
| 1914 | + return 0 === propertyName.indexOf('horizontal_scroll') || 'breakpoint_selector' === propertyName || 0 === propertyName.indexOf('tabs_justify_horizontal') || 0 === propertyName.indexOf('tabs_title_space_between'); | |
| 1915 | + } | |
| 2295 | 1916 | |
| 2296 | -//#endregion | |
| 2297 | -//#region node_modules/core-js/internals/add-to-unscopables.js | |
| 2298 | - var require_add_to_unscopables = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 2299 | - var wellKnownSymbol = require_well_known_symbol(); | |
| 2300 | - var create = require_object_create(); | |
| 2301 | - var defineProperty = require_object_define_property().f; | |
| 2302 | - var UNSCOPABLES = wellKnownSymbol("unscopables"); | |
| 2303 | - var ArrayPrototype = Array.prototype; | |
| 2304 | - if (ArrayPrototype[UNSCOPABLES] === void 0) defineProperty(ArrayPrototype, UNSCOPABLES, { | |
| 2305 | - configurable: true, | |
| 2306 | - value: create(null) | |
| 2307 | - }); | |
| 2308 | - module.exports = function(key) { | |
| 2309 | - ArrayPrototype[UNSCOPABLES][key] = true; | |
| 2310 | - }; | |
| 2311 | - })); | |
| 1917 | + /** | |
| 1918 | + * @param {string} tabIndex | |
| 1919 | + * @param {boolean} fromUser - Whether the call is caused by the user or internal. | |
| 1920 | + */ | |
| 1921 | + changeActiveTab(tabIndex) { | |
| 1922 | + let fromUser = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; | |
| 1923 | + // `document/repeater/select` is used only in the editor, only when the element | |
| 1924 | + // is in the currently-edited document, and only when its not internal call, | |
| 1925 | + if (fromUser && this.isEdit && this.isElementInTheCurrentDocument()) { | |
| 1926 | + return window.top.$e.run('document/repeater/select', { | |
| 1927 | + container: elementor.getContainer(this.$element.attr('data-id')), | |
| 1928 | + index: parseInt(tabIndex) | |
| 1929 | + }); | |
| 1930 | + } | |
| 1931 | + const isActiveTab = this.isActiveTab(tabIndex), | |
| 1932 | + settings = this.getSettings(); | |
| 1933 | + if ((settings.toggleSelf || !isActiveTab) && settings.hidePrevious) { | |
| 1934 | + this.deactivateActiveTab(tabIndex); | |
| 1935 | + } | |
| 1936 | + if (!settings.hidePrevious && isActiveTab) { | |
| 1937 | + this.deactivateActiveTab(tabIndex); | |
| 1938 | + } | |
| 1939 | + if (!isActiveTab) { | |
| 1940 | + if (this.isAccordionVersion()) { | |
| 1941 | + this.activateMobileTab(tabIndex); | |
| 1942 | + return; | |
| 1943 | + } | |
| 1944 | + this.activateTab(tabIndex); | |
| 1945 | + } | |
| 1946 | + } | |
| 1947 | + changeActiveTabByKeyboard(event, settings) { | |
| 1948 | + if (settings.widgetId.toString() !== this.getID().toString()) { | |
| 1949 | + return; | |
| 1950 | + } | |
| 1951 | + this.changeActiveTab(settings.titleIndex, true); | |
| 1952 | + } | |
| 1953 | + activateMobileTab(tabIndex) { | |
| 1954 | + // Timeout time added to ensure that opening of the active tab starts after closing the other tab on Apple devices. | |
| 1955 | + setTimeout(() => { | |
| 1956 | + this.activateTab(tabIndex); | |
| 1957 | + this.forceActiveTabToBeInViewport(tabIndex); | |
| 1958 | + }, 10); | |
| 1959 | + } | |
| 1960 | + forceActiveTabToBeInViewport(tabIndex) { | |
| 1961 | + if (!elementorFrontend.isEditMode()) { | |
| 1962 | + return; | |
| 1963 | + } | |
| 1964 | + const $activeTabTitle = this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(tabIndex)); | |
| 1965 | + if (!elementor.helpers.isInViewport($activeTabTitle[0])) { | |
| 1966 | + $activeTabTitle[0].scrollIntoView({ | |
| 1967 | + block: 'center' | |
| 1968 | + }); | |
| 1969 | + } | |
| 1970 | + } | |
| 1971 | + getActiveClass() { | |
| 1972 | + const settings = this.getSettings(); | |
| 1973 | + return settings.classes.active; | |
| 1974 | + } | |
| 1975 | + getTabsDirection() { | |
| 1976 | + const currentDevice = elementorFrontend.getCurrentDeviceMode(); | |
| 1977 | + return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'tabs_justify_horizontal', '', currentDevice); | |
| 1978 | + } | |
| 1979 | + getHorizontalScrollSetting() { | |
| 1980 | + const currentDevice = elementorFrontend.getCurrentDeviceMode(); | |
| 1981 | + return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'horizontal_scroll', '', currentDevice); | |
| 1982 | + } | |
| 1983 | + isAccordionVersion() { | |
| 1984 | + return 'contents' === this.elements.$headingContainer.css('display'); | |
| 1985 | + } | |
| 1986 | + setTouchMode() { | |
| 1987 | + const widgetSelector = this.getSettings('selectors').widgetContainer; | |
| 1988 | + if (elementorFrontend.isEditMode() || 'resize' === event?.type) { | |
| 1989 | + const responsiveDevices = ['mobile', 'mobile_extra', 'tablet', 'tablet_extra'], | |
| 1990 | + currentDevice = elementorFrontend.getCurrentDeviceMode(); | |
| 1991 | + if (-1 !== responsiveDevices.indexOf(currentDevice)) { | |
| 1992 | + this.$element.find(widgetSelector).attr('data-touch-mode', 'true'); | |
| 1993 | + return; | |
| 1994 | + } | |
| 1995 | + } else if ('ontouchstart' in window) { | |
| 1996 | + this.$element.find(widgetSelector).attr('data-touch-mode', 'true'); | |
| 1997 | + return; | |
| 1998 | + } | |
| 1999 | + this.$element.find(widgetSelector).attr('data-touch-mode', 'false'); | |
| 2000 | + } | |
| 2001 | + linkContainer(event) { | |
| 2002 | + const { | |
| 2003 | + container | |
| 2004 | + } = event.detail, | |
| 2005 | + id = container.model.get('id'), | |
| 2006 | + currentId = this.$element.data('id'), | |
| 2007 | + view = container.view.$el; | |
| 2008 | + if (id === currentId) { | |
| 2009 | + this.updateIndexValues(); | |
| 2010 | + this.updateListeners(view); | |
| 2011 | + elementor.$preview[0].contentWindow.dispatchEvent(new CustomEvent('elementor/elements/link-data-bindings')); | |
| 2012 | + } | |
| 2013 | + if (!this.getActiveTabIndex()) { | |
| 2014 | + const targetIndex = event.detail.index + 1 || 1; | |
| 2015 | + this.changeActiveTab(targetIndex); | |
| 2016 | + } | |
| 2017 | + } | |
| 2018 | + updateListeners(view) { | |
| 2019 | + this.elements.$tabContents = view.find(this.getSettings('selectors.tabContent')); | |
| 2020 | + this.elements.$tabTitles = view.find(this.getSettings('selectors.tabTitle')); | |
| 2021 | + this.elements.$tabTitles.on(this.getTabEvents()); | |
| 2022 | + } | |
| 2023 | + updateIndexValues() { | |
| 2024 | + const { | |
| 2025 | + $widgetContainer, | |
| 2026 | + $tabContents, | |
| 2027 | + $tabTitles | |
| 2028 | + } = this.getDefaultElements(), | |
| 2029 | + settings = this.getSettings(), | |
| 2030 | + dataTabIndex = settings.dataAttributes.tabIndex, | |
| 2031 | + widgetNumber = $widgetContainer.data('widgetNumber'); | |
| 2032 | + $tabTitles.each((index, element) => { | |
| 2033 | + const newIndex = index + 1, | |
| 2034 | + updatedTabID = `e-n-tab-title-${widgetNumber}${newIndex}`, | |
| 2035 | + updatedContainerID = `e-n-tab-content-${widgetNumber}${newIndex}`; | |
| 2036 | + element.setAttribute('id', updatedTabID); | |
| 2037 | + element.setAttribute('style', `--n-tabs-title-order: ${newIndex}`); | |
| 2038 | + element.setAttribute(dataTabIndex, newIndex); | |
| 2039 | + element.setAttribute('aria-controls', updatedContainerID); | |
| 2040 | + element.querySelector(settings.selectors.tabTitleIcon)?.setAttribute('data-binding-index', newIndex); | |
| 2041 | + element.querySelector(settings.selectors.tabTitleText).setAttribute('data-binding-index', newIndex); | |
| 2042 | + $tabContents[index].setAttribute('aria-labelledby', updatedTabID); | |
| 2043 | + $tabContents[index].setAttribute(dataTabIndex, newIndex); | |
| 2044 | + $tabContents[index].setAttribute('id', updatedContainerID); | |
| 2045 | + $tabContents[index].setAttribute('style', `--n-tabs-title-order: ${newIndex}`); | |
| 2046 | + }); | |
| 2047 | + } | |
| 2048 | + onResizeUpdateHorizontalScrolling() { | |
| 2049 | + (0, _flexHorizontalScroll.setHorizontalScrollAlignment)(this.getHorizontalScrollingSettings()); | |
| 2050 | + } | |
| 2051 | + getHorizontalScrollingSettings() { | |
| 2052 | + return { | |
| 2053 | + element: this.elements.$headingContainer[0], | |
| 2054 | + direction: this.getTabsDirection(), | |
| 2055 | + justifyCSSVariable: '--n-tabs-heading-justify-content', | |
| 2056 | + horizontalScrollStatus: this.getHorizontalScrollSetting() | |
| 2057 | + }; | |
| 2058 | + } | |
| 2059 | +} | |
| 2060 | +exports["default"] = NestedTabs; | |
| 2312 | 2061 | |
| 2313 | -//#endregion | |
| 2314 | -//#region node_modules/core-js/modules/es.array.includes.js | |
| 2315 | - var require_es_array_includes = /* @__PURE__ */ __commonJSMin((() => { | |
| 2316 | - var $ = require_export(); | |
| 2317 | - var $includes = require_array_includes().includes; | |
| 2318 | - var fails = require_fails(); | |
| 2319 | - var addToUnscopables = require_add_to_unscopables(); | |
| 2320 | - $({ | |
| 2321 | - target: "Array", | |
| 2322 | - proto: true, | |
| 2323 | - forced: fails(function() { | |
| 2324 | - return !Array(1).includes(); | |
| 2325 | - }) | |
| 2326 | - }, { includes: function includes(el) { | |
| 2327 | - return $includes(this, el, arguments.length > 1 ? arguments[1] : void 0); | |
| 2328 | - } }); | |
| 2329 | - addToUnscopables("includes"); | |
| 2330 | - })); | |
| 2062 | +/***/ }), | |
| 2331 | 2063 | |
| 2332 | -//#endregion | |
| 2333 | -//#region assets/dev/js/modules/imports/force-method-implementation.js | |
| 2334 | - var require_force_method_implementation = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2335 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2336 | - exports.default = exports.ForceMethodImplementation = void 0; | |
| 2337 | - require_es_array_includes(); | |
| 2338 | - var ForceMethodImplementation = class ForceMethodImplementation extends Error { | |
| 2339 | - constructor(info = {}, args = {}) { | |
| 2340 | - super(`${info.isStatic ? "static " : ""}${info.fullName}() should be implemented, please provide '${info.functionName || info.fullName}' functionality.`, args); | |
| 2341 | - if (Object.keys(args).length) console.error(args); | |
| 2342 | - Error.captureStackTrace(this, ForceMethodImplementation); | |
| 2343 | - } | |
| 2344 | - }; | |
| 2345 | - exports.ForceMethodImplementation = ForceMethodImplementation; | |
| 2346 | - var _default = (args) => { | |
| 2347 | - const caller = Error().stack.split("\n")[2].trim(); | |
| 2348 | - const callerName = caller.startsWith("at new") ? "constructor" : caller.split(" ")[1]; | |
| 2349 | - const info = {}; | |
| 2350 | - info.functionName = callerName; | |
| 2351 | - info.fullName = callerName; | |
| 2352 | - if (info.functionName.includes(".")) { | |
| 2353 | - const parts = info.functionName.split("."); | |
| 2354 | - info.className = parts[0]; | |
| 2355 | - info.functionName = parts[1]; | |
| 2356 | - } else info.isStatic = true; | |
| 2357 | - throw new ForceMethodImplementation(info, args); | |
| 2358 | - }; | |
| 2359 | - exports.default = _default; | |
| 2360 | - })); | |
| 2064 | +/***/ "../node_modules/core-js/internals/a-callable.js": | |
| 2065 | +/*!*******************************************************!*\ | |
| 2066 | + !*** ../node_modules/core-js/internals/a-callable.js ***! | |
| 2067 | + \*******************************************************/ | |
| 2068 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2361 | 2069 | |
| 2362 | -//#endregion | |
| 2363 | -//#region \0@oxc-project+runtime@0.140.0/helpers/esm/typeof.js | |
| 2364 | - function _typeof(o) { | |
| 2365 | - "@babel/helpers - typeof"; | |
| 2366 | - return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) { | |
| 2367 | - return typeof o; | |
| 2368 | - } : function(o) { | |
| 2369 | - return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; | |
| 2370 | - }, _typeof(o); | |
| 2371 | - } | |
| 2372 | - var init_typeof = __esmMin((() => {})); | |
| 2070 | +"use strict"; | |
| 2373 | 2071 | |
| 2374 | -//#endregion | |
| 2375 | -//#region \0@oxc-project+runtime@0.140.0/helpers/esm/toPrimitive.js | |
| 2376 | - function toPrimitive(t, r) { | |
| 2377 | - if ("object" != _typeof(t) || !t) return t; | |
| 2378 | - var e = t[Symbol.toPrimitive]; | |
| 2379 | - if (void 0 !== e) { | |
| 2380 | - var i = e.call(t, r || "default"); | |
| 2381 | - if ("object" != _typeof(i)) return i; | |
| 2382 | - throw new TypeError("@@toPrimitive must return a primitive value."); | |
| 2383 | - } | |
| 2384 | - return ("string" === r ? String : Number)(t); | |
| 2385 | - } | |
| 2386 | - var init_toPrimitive = __esmMin((() => { | |
| 2387 | - init_typeof(); | |
| 2388 | - })); | |
| 2072 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 2073 | +var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../node_modules/core-js/internals/try-to-string.js"); | |
| 2389 | 2074 | |
| 2390 | -//#endregion | |
| 2391 | -//#region \0@oxc-project+runtime@0.140.0/helpers/esm/toPropertyKey.js | |
| 2392 | - function toPropertyKey(t) { | |
| 2393 | - var i = toPrimitive(t, "string"); | |
| 2394 | - return "symbol" == _typeof(i) ? i : i + ""; | |
| 2395 | - } | |
| 2396 | - var init_toPropertyKey = __esmMin((() => { | |
| 2397 | - init_typeof(); | |
| 2398 | - init_toPrimitive(); | |
| 2399 | - })); | |
| 2075 | +var $TypeError = TypeError; | |
| 2400 | 2076 | |
| 2401 | -//#endregion | |
| 2402 | -//#region \0@oxc-project+runtime@0.140.0/helpers/esm/defineProperty.js | |
| 2403 | - function _defineProperty(e, r, t) { | |
| 2404 | - return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, { | |
| 2405 | - value: t, | |
| 2406 | - enumerable: !0, | |
| 2407 | - configurable: !0, | |
| 2408 | - writable: !0 | |
| 2409 | - }) : e[r] = t, e; | |
| 2410 | - } | |
| 2411 | - var init_defineProperty = __esmMin((() => { | |
| 2412 | - init_toPropertyKey(); | |
| 2413 | - })); | |
| 2077 | +// `Assert: IsCallable(argument) is true` | |
| 2078 | +module.exports = function (argument) { | |
| 2079 | + if (isCallable(argument)) return argument; | |
| 2080 | + throw $TypeError(tryToString(argument) + ' is not a function'); | |
| 2081 | +}; | |
| 2414 | 2082 | |
| 2415 | -//#endregion | |
| 2416 | -//#region \0@oxc-project+runtime@0.140.0/helpers/esm/objectSpread2.js | |
| 2417 | - function ownKeys(e, r) { | |
| 2418 | - var t = Object.keys(e); | |
| 2419 | - if (Object.getOwnPropertySymbols) { | |
| 2420 | - var o = Object.getOwnPropertySymbols(e); | |
| 2421 | - r && (o = o.filter(function(r) { | |
| 2422 | - return Object.getOwnPropertyDescriptor(e, r).enumerable; | |
| 2423 | - })), t.push.apply(t, o); | |
| 2424 | - } | |
| 2425 | - return t; | |
| 2426 | - } | |
| 2427 | - function _objectSpread2(e) { | |
| 2428 | - for (var r = 1; r < arguments.length; r++) { | |
| 2429 | - var t = null != arguments[r] ? arguments[r] : {}; | |
| 2430 | - r % 2 ? ownKeys(Object(t), !0).forEach(function(r) { | |
| 2431 | - _defineProperty(e, r, t[r]); | |
| 2432 | - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r) { | |
| 2433 | - Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); | |
| 2434 | - }); | |
| 2435 | - } | |
| 2436 | - return e; | |
| 2437 | - } | |
| 2438 | - var init_objectSpread2 = __esmMin((() => { | |
| 2439 | - init_defineProperty(); | |
| 2440 | - })); | |
| 2441 | 2083 | |
| 2442 | -//#endregion | |
| 2443 | -//#region app/modules/import-export-customization/assets/js/shared/utils/template-registry-helpers.js | |
| 2444 | - var require_template_registry_helpers = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2445 | - init_objectSpread2(); | |
| 2446 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2447 | - exports.createGetInitialState = createGetInitialState; | |
| 2448 | - function createGetInitialState(exportGroup, additionalProps = {}) { | |
| 2449 | - return (data, parentInitialState) => { | |
| 2450 | - let isEnabled = parentInitialState; | |
| 2451 | - if (data.hasOwnProperty("uploadedData")) { | |
| 2452 | - var _elementorAppConfig; | |
| 2453 | - isEnabled = false; | |
| 2454 | - const templates = data.uploadedData.manifest.templates; | |
| 2455 | - const exportGroups = ((_elementorAppConfig = elementorAppConfig) === null || _elementorAppConfig === void 0 || (_elementorAppConfig = _elementorAppConfig["import-export-customization"]) === null || _elementorAppConfig === void 0 ? void 0 : _elementorAppConfig.exportGroups) || {}; | |
| 2456 | - for (const templateId in templates) if (exportGroups[templates[templateId].doc_type] === exportGroup) { | |
| 2457 | - isEnabled = true; | |
| 2458 | - break; | |
| 2459 | - } | |
| 2460 | - } | |
| 2461 | - return _objectSpread2({ enabled: isEnabled }, additionalProps); | |
| 2462 | - }; | |
| 2463 | - } | |
| 2464 | - })); | |
| 2084 | +/***/ }), | |
| 2465 | 2085 | |
| 2466 | -//#endregion | |
| 2467 | -//#region \0@oxc-project+runtime@0.140.0/helpers/esm/objectWithoutPropertiesLoose.js | |
| 2468 | - function _objectWithoutPropertiesLoose(r, e) { | |
| 2469 | - if (null == r) return {}; | |
| 2470 | - var t = {}; | |
| 2471 | - for (var n in r) if ({}.hasOwnProperty.call(r, n)) { | |
| 2472 | - if (e.includes(n)) continue; | |
| 2473 | - t[n] = r[n]; | |
| 2474 | - } | |
| 2475 | - return t; | |
| 2476 | - } | |
| 2477 | - var init_objectWithoutPropertiesLoose = __esmMin((() => {})); | |
| 2086 | +/***/ "../node_modules/core-js/internals/add-to-unscopables.js": | |
| 2087 | +/*!***************************************************************!*\ | |
| 2088 | + !*** ../node_modules/core-js/internals/add-to-unscopables.js ***! | |
| 2089 | + \***************************************************************/ | |
| 2090 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2478 | 2091 | |
| 2479 | -//#endregion | |
| 2480 | -//#region \0@oxc-project+runtime@0.140.0/helpers/esm/objectWithoutProperties.js | |
| 2481 | - function _objectWithoutProperties(e, t) { | |
| 2482 | - if (null == e) return {}; | |
| 2483 | - var o; | |
| 2484 | - var r; | |
| 2485 | - var i = _objectWithoutPropertiesLoose(e, t); | |
| 2486 | - if (Object.getOwnPropertySymbols) { | |
| 2487 | - var s = Object.getOwnPropertySymbols(e); | |
| 2488 | - for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); | |
| 2489 | - } | |
| 2490 | - return i; | |
| 2491 | - } | |
| 2492 | - var init_objectWithoutProperties = __esmMin((() => { | |
| 2493 | - init_objectWithoutPropertiesLoose(); | |
| 2494 | - })); | |
| 2092 | +"use strict"; | |
| 2495 | 2093 | |
| 2496 | -//#endregion | |
| 2497 | -//#region node_modules/core-js/modules/es.iterator.map.js | |
| 2498 | - var require_es_iterator_map = /* @__PURE__ */ __commonJSMin((() => { | |
| 2499 | - var $ = require_export(); | |
| 2500 | - var call = require_function_call(); | |
| 2501 | - var aCallable = require_a_callable(); | |
| 2502 | - var anObject = require_an_object(); | |
| 2503 | - var getIteratorDirect = require_get_iterator_direct(); | |
| 2504 | - var createIteratorProxy = require_iterator_create_proxy(); | |
| 2505 | - var callWithSafeIterationClosing = require_call_with_safe_iteration_closing(); | |
| 2506 | - var iteratorClose = require_iterator_close(); | |
| 2507 | - var iteratorHelperThrowsOnInvalidIterator = require_iterator_helper_throws_on_invalid_iterator(); | |
| 2508 | - var iteratorHelperWithoutClosingOnEarlyError = require_iterator_helper_without_closing_on_early_error(); | |
| 2509 | - var IS_PURE = require_is_pure(); | |
| 2510 | - var MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator("map", function() {}); | |
| 2511 | - var mapWithoutClosingOnEarlyError = !IS_PURE && !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR && iteratorHelperWithoutClosingOnEarlyError("map", TypeError); | |
| 2512 | - var FORCED = IS_PURE || MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError; | |
| 2513 | - var IteratorProxy = createIteratorProxy(function() { | |
| 2514 | - var iterator = this.iterator; | |
| 2515 | - var result = anObject(call(this.next, iterator)); | |
| 2516 | - if (!(this.done = !!result.done)) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true); | |
| 2517 | - }); | |
| 2518 | - $({ | |
| 2519 | - target: "Iterator", | |
| 2520 | - proto: true, | |
| 2521 | - real: true, | |
| 2522 | - forced: FORCED | |
| 2523 | - }, { map: function map(mapper) { | |
| 2524 | - anObject(this); | |
| 2525 | - try { | |
| 2526 | - aCallable(mapper); | |
| 2527 | - } catch (error) { | |
| 2528 | - iteratorClose(this, "throw", error); | |
| 2529 | - } | |
| 2530 | - if (mapWithoutClosingOnEarlyError) return call(mapWithoutClosingOnEarlyError, this, mapper); | |
| 2531 | - return new IteratorProxy(getIteratorDirect(this), { mapper }); | |
| 2532 | - } }); | |
| 2533 | - })); | |
| 2094 | +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); | |
| 2095 | +var create = __webpack_require__(/*! ../internals/object-create */ "../node_modules/core-js/internals/object-create.js"); | |
| 2096 | +var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js").f); | |
| 2534 | 2097 | |
| 2535 | -//#endregion | |
| 2536 | -//#region node_modules/core-js/modules/esnext.iterator.map.js | |
| 2537 | - var require_esnext_iterator_map = /* @__PURE__ */ __commonJSMin((() => { | |
| 2538 | - require_es_iterator_map(); | |
| 2539 | - })); | |
| 2098 | +var UNSCOPABLES = wellKnownSymbol('unscopables'); | |
| 2099 | +var ArrayPrototype = Array.prototype; | |
| 2540 | 2100 | |
| 2541 | -//#endregion | |
| 2542 | -//#region app/modules/import-export-customization/assets/js/shared/registry/base.js | |
| 2543 | - var require_base$1 = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2544 | - init_objectWithoutProperties(); | |
| 2545 | - init_objectSpread2(); | |
| 2546 | - var _excluded = ["children"]; | |
| 2547 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2548 | - exports.BaseRegistry = void 0; | |
| 2549 | - require_esnext_iterator_constructor(); | |
| 2550 | - require_esnext_iterator_filter(); | |
| 2551 | - require_esnext_iterator_for_each(); | |
| 2552 | - require_esnext_iterator_map(); | |
| 2553 | - var BaseRegistry = class { | |
| 2554 | - constructor() { | |
| 2555 | - this.sections = /* @__PURE__ */ new Map(); | |
| 2556 | - } | |
| 2557 | - register(section) { | |
| 2558 | - if (!section.key || !section.title) throw new Error("Template type must have key and title"); | |
| 2559 | - const formattedSection = this.get(section.key) || this.formatSection(section); | |
| 2560 | - if (section.children) if (formattedSection.children) { | |
| 2561 | - const existingChildrenMap = new Map(formattedSection.children.map((child) => [child.key, child])); | |
| 2562 | - section.children.forEach((childSection) => { | |
| 2563 | - const formattedChild = this.formatSection(childSection); | |
| 2564 | - existingChildrenMap.set(childSection.key, formattedChild); | |
| 2565 | - }); | |
| 2566 | - formattedSection.children = Array.from(existingChildrenMap.values()); | |
| 2567 | - } else formattedSection.children = section.children.map((childSection) => this.formatSection(childSection)); | |
| 2568 | - this.sections.set(section.key, formattedSection); | |
| 2569 | - } | |
| 2570 | - formatSection(_ref) { | |
| 2571 | - let { children } = _ref, section = _objectWithoutProperties(_ref, _excluded); | |
| 2572 | - return _objectSpread2({ | |
| 2573 | - key: section.key, | |
| 2574 | - title: section.title, | |
| 2575 | - description: section.description || "", | |
| 2576 | - useParentDefault: section.useParentDefault !== false, | |
| 2577 | - getInitialState: section.getInitialState || null, | |
| 2578 | - component: section.component || null, | |
| 2579 | - order: section.order || 10, | |
| 2580 | - isAvailable: section.isAvailable || (() => true) | |
| 2581 | - }, section); | |
| 2582 | - } | |
| 2583 | - getAll() { | |
| 2584 | - return Array.from(this.sections.values()).filter((type) => type.isAvailable()).map((type) => { | |
| 2585 | - if (type.children) return _objectSpread2(_objectSpread2({}, type), {}, { children: [...type.children].sort((a, b) => a.order - b.order) }); | |
| 2586 | - return type; | |
| 2587 | - }).sort((a, b) => a.order - b.order); | |
| 2588 | - } | |
| 2589 | - get(key) { | |
| 2590 | - return this.sections.get(key); | |
| 2591 | - } | |
| 2592 | - }; | |
| 2593 | - exports.BaseRegistry = BaseRegistry; | |
| 2594 | - })); | |
| 2101 | +// Array.prototype[@@unscopables] | |
| 2102 | +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables | |
| 2103 | +if (ArrayPrototype[UNSCOPABLES] == undefined) { | |
| 2104 | + defineProperty(ArrayPrototype, UNSCOPABLES, { | |
| 2105 | + configurable: true, | |
| 2106 | + value: create(null) | |
| 2107 | + }); | |
| 2108 | +} | |
| 2595 | 2109 | |
| 2596 | -//#endregion | |
| 2597 | -//#region app/modules/import-export-customization/assets/js/shared/registry/customization-dialogs.js | |
| 2598 | - var require_customization_dialogs = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2599 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2600 | - exports.customizationDialogsRegistry = void 0; | |
| 2601 | - var _base = require_base$1(); | |
| 2602 | - exports.customizationDialogsRegistry = new _base.BaseRegistry(); | |
| 2603 | - })); | |
| 2110 | +// add a key to Array.prototype[@@unscopables] | |
| 2111 | +module.exports = function (key) { | |
| 2112 | + ArrayPrototype[UNSCOPABLES][key] = true; | |
| 2113 | +}; | |
| 2604 | 2114 | |
| 2605 | -//#endregion | |
| 2606 | -//#region assets/dev/js/modules/modules.js | |
| 2607 | - var require_modules = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2608 | - var _interopRequireDefault = require_interopRequireDefault(); | |
| 2609 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2610 | - exports.default = void 0; | |
| 2611 | - var _module = _interopRequireDefault(require_module()); | |
| 2612 | - var _viewModule = _interopRequireDefault(require_view_module()); | |
| 2613 | - var _argsObject = _interopRequireDefault(require_args_object()); | |
| 2614 | - var _masonry = _interopRequireDefault(require_masonry()); | |
| 2615 | - var _scroll = _interopRequireDefault(require_scroll()); | |
| 2616 | - var _forceMethodImplementation = _interopRequireDefault(require_force_method_implementation()); | |
| 2617 | - var _templateRegistryHelpers = require_template_registry_helpers(); | |
| 2618 | - var _customizationDialogs = require_customization_dialogs(); | |
| 2619 | - var baseModules = { | |
| 2620 | - Module: _module.default, | |
| 2621 | - ViewModule: _viewModule.default, | |
| 2622 | - ArgsObject: _argsObject.default, | |
| 2623 | - ForceMethodImplementation: _forceMethodImplementation.default, | |
| 2624 | - utils: { | |
| 2625 | - Masonry: _masonry.default, | |
| 2626 | - Scroll: _scroll.default | |
| 2627 | - }, | |
| 2628 | - importExport: { | |
| 2629 | - createGetInitialState: _templateRegistryHelpers.createGetInitialState, | |
| 2630 | - customizationDialogsRegistry: _customizationDialogs.customizationDialogsRegistry | |
| 2631 | - } | |
| 2632 | - }; | |
| 2633 | - if (!window.elementorModules) window.elementorModules = baseModules; | |
| 2634 | - else Object.assign(window.elementorModules, baseModules); | |
| 2635 | - exports.default = window.elementorModules; | |
| 2636 | - })); | |
| 2637 | 2115 | |
| 2638 | -//#endregion | |
| 2639 | -//#region node_modules/core-js/modules/es.iterator.find.js | |
| 2640 | - var require_es_iterator_find = /* @__PURE__ */ __commonJSMin((() => { | |
| 2641 | - var $ = require_export(); | |
| 2642 | - var call = require_function_call(); | |
| 2643 | - var iterate = require_iterate(); | |
| 2644 | - var aCallable = require_a_callable(); | |
| 2645 | - var anObject = require_an_object(); | |
| 2646 | - var getIteratorDirect = require_get_iterator_direct(); | |
| 2647 | - var iteratorClose = require_iterator_close(); | |
| 2648 | - var findWithoutClosingOnEarlyError = require_iterator_helper_without_closing_on_early_error()("find", TypeError); | |
| 2649 | - $({ | |
| 2650 | - target: "Iterator", | |
| 2651 | - proto: true, | |
| 2652 | - real: true, | |
| 2653 | - forced: findWithoutClosingOnEarlyError | |
| 2654 | - }, { find: function find(predicate) { | |
| 2655 | - anObject(this); | |
| 2656 | - try { | |
| 2657 | - aCallable(predicate); | |
| 2658 | - } catch (error) { | |
| 2659 | - iteratorClose(this, "throw", error); | |
| 2660 | - } | |
| 2661 | - if (findWithoutClosingOnEarlyError) return call(findWithoutClosingOnEarlyError, this, predicate); | |
| 2662 | - var record = getIteratorDirect(this); | |
| 2663 | - var counter = 0; | |
| 2664 | - return iterate(record, function(value, stop) { | |
| 2665 | - if (predicate(value, counter++)) return stop(value); | |
| 2666 | - }, { | |
| 2667 | - IS_RECORD: true, | |
| 2668 | - INTERRUPTED: true | |
| 2669 | - }).result; | |
| 2670 | - } }); | |
| 2671 | - })); | |
| 2116 | +/***/ }), | |
| 2672 | 2117 | |
| 2673 | -//#endregion | |
| 2674 | -//#region node_modules/core-js/modules/esnext.iterator.find.js | |
| 2675 | - var require_esnext_iterator_find = /* @__PURE__ */ __commonJSMin((() => { | |
| 2676 | - require_es_iterator_find(); | |
| 2677 | - })); | |
| 2118 | +/***/ "../node_modules/core-js/internals/an-object.js": | |
| 2119 | +/*!******************************************************!*\ | |
| 2120 | + !*** ../node_modules/core-js/internals/an-object.js ***! | |
| 2121 | + \******************************************************/ | |
| 2122 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2678 | 2123 | |
| 2679 | -//#endregion | |
| 2680 | -//#region assets/dev/js/frontend/document.js | |
| 2681 | - var require_document = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2682 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2683 | - exports.default = void 0; | |
| 2684 | - require_esnext_iterator_constructor(); | |
| 2685 | - require_esnext_iterator_find(); | |
| 2686 | - var _default = class extends elementorModules.ViewModule { | |
| 2687 | - getDefaultSettings() { | |
| 2688 | - return { | |
| 2689 | - selectors: { | |
| 2690 | - elements: ".elementor-element", | |
| 2691 | - nestedDocumentElements: ".elementor .elementor-element" | |
| 2692 | - }, | |
| 2693 | - classes: { editMode: "elementor-edit-mode" } | |
| 2694 | - }; | |
| 2695 | - } | |
| 2696 | - getDefaultElements() { | |
| 2697 | - const selectors = this.getSettings("selectors"); | |
| 2698 | - return { $elements: this.$element.find(selectors.elements).not(this.$element.find(selectors.nestedDocumentElements)) }; | |
| 2699 | - } | |
| 2700 | - getDocumentSettings(setting) { | |
| 2701 | - let elementSettings; | |
| 2702 | - if (this.isEdit) { | |
| 2703 | - elementSettings = {}; | |
| 2704 | - const settings = elementor.settings.page.model; | |
| 2705 | - jQuery.each(settings.getActiveControls(), (controlKey) => { | |
| 2706 | - elementSettings[controlKey] = settings.attributes[controlKey]; | |
| 2707 | - }); | |
| 2708 | - } else elementSettings = this.$element.data("elementor-settings") || {}; | |
| 2709 | - return this.getItems(elementSettings, setting); | |
| 2710 | - } | |
| 2711 | - runElementsHandlers() { | |
| 2712 | - this.elements.$elements.each((index, element) => setTimeout(() => elementorFrontend.elementsHandler.runReadyTrigger(element))); | |
| 2713 | - } | |
| 2714 | - onInit() { | |
| 2715 | - this.$element = this.getSettings("$element"); | |
| 2716 | - super.onInit(); | |
| 2717 | - this.isEdit = this.$element.hasClass(this.getSettings("classes.editMode")); | |
| 2718 | - if (this.isEdit) elementor.on("document:loaded", () => { | |
| 2719 | - elementor.settings.page.model.on("change", this.onSettingsChange.bind(this)); | |
| 2720 | - }); | |
| 2721 | - else this.runElementsHandlers(); | |
| 2722 | - } | |
| 2723 | - onSettingsChange() {} | |
| 2724 | - }; | |
| 2725 | - exports.default = _default; | |
| 2726 | - })); | |
| 2124 | +"use strict"; | |
| 2727 | 2125 | |
| 2728 | -//#endregion | |
| 2729 | -//#region assets/dev/js/frontend/tools/stretch-element.js | |
| 2730 | - var require_stretch_element = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 2731 | - module.exports = elementorModules.ViewModule.extend({ | |
| 2732 | - getDefaultSettings() { | |
| 2733 | - return { | |
| 2734 | - element: null, | |
| 2735 | - direction: elementorFrontend.config.is_rtl ? "right" : "left", | |
| 2736 | - selectors: { container: window }, | |
| 2737 | - considerScrollbar: false, | |
| 2738 | - cssOutput: "inline" | |
| 2739 | - }; | |
| 2740 | - }, | |
| 2741 | - getDefaultElements() { | |
| 2742 | - return { $element: jQuery(this.getSettings("element")) }; | |
| 2743 | - }, | |
| 2744 | - stretch() { | |
| 2745 | - const settings = this.getSettings(); | |
| 2746 | - let $container; | |
| 2747 | - try { | |
| 2748 | - $container = jQuery(settings.selectors.container); | |
| 2749 | - } catch (e) {} | |
| 2750 | - if (!$container || !$container.length) $container = jQuery(this.getDefaultSettings().selectors.container); | |
| 2751 | - this.reset(); | |
| 2752 | - var $element = this.elements.$element; | |
| 2753 | - var containerWidth = $container.innerWidth(); | |
| 2754 | - var elementOffset = $element.offset().left; | |
| 2755 | - var isFixed = "fixed" === $element.css("position"); | |
| 2756 | - var correctOffset = isFixed ? 0 : elementOffset; | |
| 2757 | - var isContainerFullScreen = window === $container[0]; | |
| 2758 | - if (!isContainerFullScreen) { | |
| 2759 | - var containerOffset = $container.offset().left; | |
| 2760 | - if (isFixed) correctOffset = containerOffset; | |
| 2761 | - if (elementOffset > containerOffset) correctOffset = elementOffset - containerOffset; | |
| 2762 | - } | |
| 2763 | - if (settings.considerScrollbar && isContainerFullScreen) { | |
| 2764 | - const scrollbarWidth = window.innerWidth - containerWidth; | |
| 2765 | - correctOffset -= scrollbarWidth; | |
| 2766 | - } | |
| 2767 | - if (!isFixed) { | |
| 2768 | - if (elementorFrontend.config.is_rtl) correctOffset = containerWidth - ($element.outerWidth() + correctOffset); | |
| 2769 | - correctOffset = -correctOffset; | |
| 2770 | - } | |
| 2771 | - if (settings.margin) correctOffset += settings.margin; | |
| 2772 | - var css = {}; | |
| 2773 | - let width = containerWidth; | |
| 2774 | - if (settings.margin) width -= settings.margin * 2; | |
| 2775 | - css.width = width + "px"; | |
| 2776 | - css[settings.direction] = correctOffset + "px"; | |
| 2777 | - if ("variables" === settings.cssOutput) { | |
| 2778 | - this.applyCssVariables($element, css); | |
| 2779 | - return; | |
| 2780 | - } | |
| 2781 | - $element.css(css); | |
| 2782 | - }, | |
| 2783 | - reset() { | |
| 2784 | - const css = {}; | |
| 2785 | - const settings = this.getSettings(); | |
| 2786 | - const $element = this.elements.$element; | |
| 2787 | - if ("variables" === settings.cssOutput) { | |
| 2788 | - this.resetCssVariables($element); | |
| 2789 | - return; | |
| 2790 | - } | |
| 2791 | - css.width = ""; | |
| 2792 | - css[settings.direction] = ""; | |
| 2793 | - $element.css(css); | |
| 2794 | - }, | |
| 2795 | - applyCssVariables($element, css) { | |
| 2796 | - $element.css("--stretch-width", css.width); | |
| 2797 | - if (!!css.left) $element.css("--stretch-left", css.left); | |
| 2798 | - else $element.css("--stretch-right", css.right); | |
| 2799 | - }, | |
| 2800 | - resetCssVariables($element) { | |
| 2801 | - $element.css({ | |
| 2802 | - "--stretch-width": "", | |
| 2803 | - "--stretch-left": "", | |
| 2804 | - "--stretch-right": "" | |
| 2805 | - }); | |
| 2806 | - } | |
| 2807 | - }); | |
| 2808 | - })); | |
| 2126 | +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); | |
| 2809 | 2127 | |
| 2810 | -//#endregion | |
| 2811 | -//#region assets/dev/js/frontend/handlers/base.js | |
| 2812 | - var require_base = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 2813 | - require_es_array_push(); | |
| 2814 | - require_esnext_iterator_constructor(); | |
| 2815 | - require_esnext_iterator_filter(); | |
| 2816 | - require_esnext_iterator_find(); | |
| 2817 | - require_esnext_iterator_for_each(); | |
| 2818 | - module.exports = elementorModules.ViewModule.extend({ | |
| 2819 | - $element: null, | |
| 2820 | - editorListeners: null, | |
| 2821 | - onElementChange: null, | |
| 2822 | - onEditSettingsChange: null, | |
| 2823 | - onPageSettingsChange: null, | |
| 2824 | - isEdit: null, | |
| 2825 | - __construct(settings) { | |
| 2826 | - if (!this.isActive(settings)) return; | |
| 2827 | - this.$element = settings.$element; | |
| 2828 | - this.isEdit = this.$element.hasClass("elementor-element-edit-mode"); | |
| 2829 | - if (this.isEdit) this.addEditorListeners(); | |
| 2830 | - }, | |
| 2831 | - isActive() { | |
| 2832 | - return true; | |
| 2833 | - }, | |
| 2834 | - isElementInTheCurrentDocument() { | |
| 2835 | - if (!elementorFrontend.isEditMode()) return false; | |
| 2836 | - return elementor.documents.currentDocument.id.toString() === this.$element[0].closest(".elementor").dataset.elementorId; | |
| 2837 | - }, | |
| 2838 | - findElement(selector) { | |
| 2839 | - var $mainElement = this.$element; | |
| 2840 | - return $mainElement.find(selector).filter(function() { | |
| 2841 | - return jQuery(this).parent().closest(".elementor-element").is($mainElement); | |
| 2842 | - }); | |
| 2843 | - }, | |
| 2844 | - getUniqueHandlerID(cid, $element) { | |
| 2845 | - if (!cid) cid = this.getModelCID(); | |
| 2846 | - if (!$element) $element = this.$element; | |
| 2847 | - return cid + $element.attr("data-element_type") + this.getConstructorID(); | |
| 2848 | - }, | |
| 2849 | - initEditorListeners() { | |
| 2850 | - var self = this; | |
| 2851 | - self.editorListeners = [{ | |
| 2852 | - event: "element:destroy", | |
| 2853 | - to: elementor.channels.data, | |
| 2854 | - callback(removedModel) { | |
| 2855 | - if (removedModel.cid !== self.getModelCID()) return; | |
| 2856 | - self.onDestroy(); | |
| 2857 | - } | |
| 2858 | - }]; | |
| 2859 | - if (self.onElementChange) { | |
| 2860 | - const elementType = self.getWidgetType() || self.getElementType(); | |
| 2861 | - let eventName = "change"; | |
| 2862 | - if ("global" !== elementType) eventName += ":" + elementType; | |
| 2863 | - self.editorListeners.push({ | |
| 2864 | - event: eventName, | |
| 2865 | - to: elementor.channels.editor, | |
| 2866 | - callback(controlView, elementView) { | |
| 2867 | - if (self.getUniqueHandlerID(elementView.model.cid, elementView.$el) !== self.getUniqueHandlerID()) return; | |
| 2868 | - self.onElementChange(controlView.model.get("name"), controlView, elementView); | |
| 2869 | - } | |
| 2870 | - }); | |
| 2871 | - } | |
| 2872 | - if (self.onEditSettingsChange) self.editorListeners.push({ | |
| 2873 | - event: "change:editSettings", | |
| 2874 | - to: elementor.channels.editor, | |
| 2875 | - callback(changedModel, view) { | |
| 2876 | - if (view.model.cid !== self.getModelCID()) return; | |
| 2877 | - const propName = Object.keys(changedModel.changed)[0]; | |
| 2878 | - self.onEditSettingsChange(propName, changedModel.changed[propName]); | |
| 2879 | - } | |
| 2880 | - }); | |
| 2881 | - ["page"].forEach(function(settingsType) { | |
| 2882 | - var listenerMethodName = "on" + settingsType[0].toUpperCase() + settingsType.slice(1) + "SettingsChange"; | |
| 2883 | - if (self[listenerMethodName]) self.editorListeners.push({ | |
| 2884 | - event: "change", | |
| 2885 | - to: elementor.settings[settingsType].model, | |
| 2886 | - callback(model) { | |
| 2887 | - self[listenerMethodName](model.changed); | |
| 2888 | - } | |
| 2889 | - }); | |
| 2890 | - }); | |
| 2891 | - }, | |
| 2892 | - getEditorListeners() { | |
| 2893 | - if (!this.editorListeners) this.initEditorListeners(); | |
| 2894 | - return this.editorListeners; | |
| 2895 | - }, | |
| 2896 | - addEditorListeners() { | |
| 2897 | - var uniqueHandlerID = this.getUniqueHandlerID(); | |
| 2898 | - this.getEditorListeners().forEach(function(listener) { | |
| 2899 | - elementorFrontend.addListenerOnce(uniqueHandlerID, listener.event, listener.callback, listener.to); | |
| 2900 | - }); | |
| 2901 | - }, | |
| 2902 | - removeEditorListeners() { | |
| 2903 | - var uniqueHandlerID = this.getUniqueHandlerID(); | |
| 2904 | - this.getEditorListeners().forEach(function(listener) { | |
| 2905 | - elementorFrontend.removeListeners(uniqueHandlerID, listener.event, null, listener.to); | |
| 2906 | - }); | |
| 2907 | - }, | |
| 2908 | - getElementType() { | |
| 2909 | - return this.$element.data("element_type"); | |
| 2910 | - }, | |
| 2911 | - getWidgetType() { | |
| 2912 | - const widgetType = this.$element.data("widget_type"); | |
| 2913 | - if (!widgetType) return; | |
| 2914 | - return widgetType.split(".")[0]; | |
| 2915 | - }, | |
| 2916 | - getID() { | |
| 2917 | - return this.$element.data("id"); | |
| 2918 | - }, | |
| 2919 | - getModelCID() { | |
| 2920 | - return this.$element.data("model-cid"); | |
| 2921 | - }, | |
| 2922 | - getElementSettings(setting) { | |
| 2923 | - let elementSettings = {}; | |
| 2924 | - const modelCID = this.getModelCID(); | |
| 2925 | - if (this.isEdit && modelCID) { | |
| 2926 | - const settings = elementorFrontend.config.elements.data[modelCID]; | |
| 2927 | - const attributes = settings.attributes; | |
| 2928 | - let type = attributes.widgetType || attributes.elType; | |
| 2929 | - if (attributes.isInner) type = "inner-" + type; | |
| 2930 | - let settingsKeys = elementorFrontend.config.elements.keys[type]; | |
| 2931 | - if (!settingsKeys) { | |
| 2932 | - settingsKeys = elementorFrontend.config.elements.keys[type] = []; | |
| 2933 | - jQuery.each(settings.controls, (name, control) => { | |
| 2934 | - if (control.frontend_available || control.editor_available) settingsKeys.push(name); | |
| 2935 | - }); | |
| 2936 | - } | |
| 2937 | - jQuery.each(settings.getActiveControls(), function(controlKey) { | |
| 2938 | - if (-1 !== settingsKeys.indexOf(controlKey)) { | |
| 2939 | - let value = attributes[controlKey]; | |
| 2940 | - if (value.toJSON) value = value.toJSON(); | |
| 2941 | - elementSettings[controlKey] = value; | |
| 2942 | - } | |
| 2943 | - }); | |
| 2944 | - } else elementSettings = this.$element.data("settings") || {}; | |
| 2945 | - return this.getItems(elementSettings, setting); | |
| 2946 | - }, | |
| 2947 | - getEditSettings(setting) { | |
| 2948 | - var attributes = {}; | |
| 2949 | - if (this.isEdit) attributes = elementorFrontend.config.elements.editSettings[this.getModelCID()].attributes; | |
| 2950 | - return this.getItems(attributes, setting); | |
| 2951 | - }, | |
| 2952 | - getCurrentDeviceSetting(settingKey) { | |
| 2953 | - return elementorFrontend.getCurrentDeviceSetting(this.getElementSettings(), settingKey); | |
| 2954 | - }, | |
| 2955 | - onInit() { | |
| 2956 | - if (this.isActive(this.getSettings())) elementorModules.ViewModule.prototype.onInit.apply(this, arguments); | |
| 2957 | - }, | |
| 2958 | - onDestroy() { | |
| 2959 | - if (this.isEdit) this.removeEditorListeners(); | |
| 2960 | - if (this.unbindEvents) this.unbindEvents(); | |
| 2961 | - } | |
| 2962 | - }); | |
| 2963 | - })); | |
| 2128 | +var $String = String; | |
| 2129 | +var $TypeError = TypeError; | |
| 2964 | 2130 | |
| 2965 | -//#endregion | |
| 2966 | -//#region assets/dev/js/frontend/handlers/stretched-element.js | |
| 2967 | - var require_stretched_element = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 2968 | - var _interopRequireDefault = require_interopRequireDefault(); | |
| 2969 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 2970 | - exports.default = void 0; | |
| 2971 | - require_esnext_iterator_constructor(); | |
| 2972 | - require_esnext_iterator_find(); | |
| 2973 | - var _base = _interopRequireDefault(require_base()); | |
| 2974 | - var StretchedElement = class extends _base.default { | |
| 2975 | - getStretchedClass() { | |
| 2976 | - return "e-stretched"; | |
| 2977 | - } | |
| 2978 | - getStretchSettingName() { | |
| 2979 | - return "stretch_element"; | |
| 2980 | - } | |
| 2981 | - getStretchActiveValue() { | |
| 2982 | - return "yes"; | |
| 2983 | - } | |
| 2984 | - bindEvents() { | |
| 2985 | - const handlerID = this.getUniqueHandlerID(); | |
| 2986 | - elementorFrontend.addListenerOnce(handlerID, "resize", this.stretch); | |
| 2987 | - elementorFrontend.addListenerOnce(handlerID, "sticky:stick", this.stretch, this.$element); | |
| 2988 | - elementorFrontend.addListenerOnce(handlerID, "sticky:unstick", this.stretch, this.$element); | |
| 2989 | - if (elementorFrontend.isEditMode()) { | |
| 2990 | - this.onKitChangeStretchContainerChange = this.onKitChangeStretchContainerChange.bind(this); | |
| 2991 | - elementor.channels.editor.on("kit:change:stretchContainer", this.onKitChangeStretchContainerChange); | |
| 2992 | - } | |
| 2993 | - } | |
| 2994 | - unbindEvents() { | |
| 2995 | - elementorFrontend.removeListeners(this.getUniqueHandlerID(), "resize", this.stretch); | |
| 2996 | - if (elementorFrontend.isEditMode()) elementor.channels.editor.off("kit:change:stretchContainer", this.onKitChangeStretchContainerChange); | |
| 2997 | - } | |
| 2998 | - isActive(settings) { | |
| 2999 | - return elementorFrontend.isEditMode() || settings.$element.hasClass(this.getStretchedClass()); | |
| 3000 | - } | |
| 3001 | - getStretchElementForConfig(childSelector = null) { | |
| 3002 | - if (childSelector) return this.$element.find(childSelector); | |
| 3003 | - return this.$element; | |
| 3004 | - } | |
| 3005 | - getStretchElementConfig() { | |
| 3006 | - return { | |
| 3007 | - element: this.getStretchElementForConfig(), | |
| 3008 | - selectors: { container: this.getStretchContainer() }, | |
| 3009 | - considerScrollbar: elementorFrontend.isEditMode() && elementorFrontend.config.is_rtl | |
| 3010 | - }; | |
| 3011 | - } | |
| 3012 | - initStretch() { | |
| 3013 | - this.stretch = this.stretch.bind(this); | |
| 3014 | - this.stretchElement = new elementorModules.frontend.tools.StretchElement(this.getStretchElementConfig()); | |
| 3015 | - } | |
| 3016 | - getStretchContainer() { | |
| 3017 | - return elementorFrontend.getKitSettings("stretched_section_container") || window; | |
| 3018 | - } | |
| 3019 | - isStretchSettingEnabled() { | |
| 3020 | - return this.getElementSettings(this.getStretchSettingName()) === this.getStretchActiveValue(); | |
| 3021 | - } | |
| 3022 | - stretch() { | |
| 3023 | - if (!this.isStretchSettingEnabled()) return; | |
| 3024 | - this.stretchElement.stretch(); | |
| 3025 | - } | |
| 3026 | - onInit(...args) { | |
| 3027 | - if (!this.isActive(this.getSettings())) return; | |
| 3028 | - this.initStretch(); | |
| 3029 | - super.onInit(...args); | |
| 3030 | - this.stretch(); | |
| 3031 | - } | |
| 3032 | - onElementChange(propertyName) { | |
| 3033 | - if (this.getStretchSettingName() === propertyName) if (this.isStretchSettingEnabled()) this.stretch(); | |
| 3034 | - else this.stretchElement.reset(); | |
| 3035 | - } | |
| 3036 | - onKitChangeStretchContainerChange() { | |
| 3037 | - this.stretchElement.setSettings("selectors.container", this.getStretchContainer()); | |
| 3038 | - this.stretch(); | |
| 3039 | - } | |
| 3040 | - }; | |
| 3041 | - exports.default = StretchedElement; | |
| 3042 | - })); | |
| 2131 | +// `Assert: Type(argument) is Object` | |
| 2132 | +module.exports = function (argument) { | |
| 2133 | + if (isObject(argument)) return argument; | |
| 2134 | + throw $TypeError($String(argument) + ' is not an object'); | |
| 2135 | +}; | |
| 3043 | 2136 | |
| 3044 | -//#endregion | |
| 3045 | -//#region assets/dev/js/frontend/handlers/base-swiper.js | |
| 3046 | - var require_base_swiper = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 3047 | - var _interopRequireDefault = require_interopRequireDefault(); | |
| 3048 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 3049 | - exports.default = void 0; | |
| 3050 | - var _base = _interopRequireDefault(require_base()); | |
| 3051 | - var SwiperHandlerBase = class extends _base.default { | |
| 3052 | - getInitialSlide() { | |
| 3053 | - const editSettings = this.getEditSettings(); | |
| 3054 | - return editSettings.activeItemIndex ? editSettings.activeItemIndex - 1 : 0; | |
| 3055 | - } | |
| 3056 | - getSlidesCount() { | |
| 3057 | - return this.elements.$slides.length; | |
| 3058 | - } | |
| 3059 | - togglePauseOnHover(toggleOn) { | |
| 3060 | - if (toggleOn) this.elements.$swiperContainer.on({ | |
| 3061 | - mouseenter: () => { | |
| 3062 | - this.swiper.autoplay.stop(); | |
| 3063 | - }, | |
| 3064 | - mouseleave: () => { | |
| 3065 | - this.swiper.autoplay.start(); | |
| 3066 | - } | |
| 3067 | - }); | |
| 3068 | - else this.elements.$swiperContainer.off("mouseenter mouseleave"); | |
| 3069 | - } | |
| 3070 | - handleKenBurns() { | |
| 3071 | - const settings = this.getSettings(); | |
| 3072 | - if (this.$activeImageBg) this.$activeImageBg.removeClass(settings.classes.kenBurnsActive); | |
| 3073 | - this.activeItemIndex = this.swiper ? this.swiper.activeIndex : this.getInitialSlide(); | |
| 3074 | - if (this.swiper) this.$activeImageBg = jQuery(this.swiper.slides[this.activeItemIndex]).children("." + settings.classes.slideBackground); | |
| 3075 | - else this.$activeImageBg = jQuery(this.elements.$slides[0]).children("." + settings.classes.slideBackground); | |
| 3076 | - this.$activeImageBg.addClass(settings.classes.kenBurnsActive); | |
| 3077 | - } | |
| 3078 | - }; | |
| 3079 | - exports.default = SwiperHandlerBase; | |
| 3080 | - })); | |
| 3081 | 2137 | |
| 3082 | -//#endregion | |
| 3083 | -//#region \0@oxc-project+runtime@0.140.0/helpers/esm/asyncToGenerator.js | |
| 3084 | - function asyncGeneratorStep(n, t, e, r, o, a, c) { | |
| 3085 | - try { | |
| 3086 | - var i = n[a](c); | |
| 3087 | - var u = i.value; | |
| 3088 | - } catch (n) { | |
| 3089 | - e(n); | |
| 3090 | - return; | |
| 3091 | - } | |
| 3092 | - i.done ? t(u) : Promise.resolve(u).then(r, o); | |
| 3093 | - } | |
| 3094 | - function _asyncToGenerator(n) { | |
| 3095 | - return function() { | |
| 3096 | - var t = this; | |
| 3097 | - var e = arguments; | |
| 3098 | - return new Promise(function(r, o) { | |
| 3099 | - var a = n.apply(t, e); | |
| 3100 | - function _next(n) { | |
| 3101 | - asyncGeneratorStep(a, r, o, _next, _throw, "next", n); | |
| 3102 | - } | |
| 3103 | - function _throw(n) { | |
| 3104 | - asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); | |
| 3105 | - } | |
| 3106 | - _next(void 0); | |
| 3107 | - }); | |
| 3108 | - }; | |
| 3109 | - } | |
| 3110 | - var init_asyncToGenerator = __esmMin((() => {})); | |
| 2138 | +/***/ }), | |
| 3111 | 2139 | |
| 3112 | -//#endregion | |
| 3113 | -//#region assets/dev/js/frontend/handlers/base-carousel.js | |
| 3114 | - var require_base_carousel = /* @__PURE__ */ __commonJSMin(((exports) => { | |
| 3115 | - init_asyncToGenerator(); | |
| 3116 | - var _interopRequireDefault = require_interopRequireDefault(); | |
| 3117 | - Object.defineProperty(exports, "__esModule", { value: true }); | |
| 3118 | - exports.default = void 0; | |
| 3119 | - require_esnext_iterator_constructor(); | |
| 3120 | - require_esnext_iterator_find(); | |
| 3121 | - require_esnext_iterator_for_each(); | |
| 3122 | - var _baseSwiper = _interopRequireDefault(require_base_swiper()); | |
| 3123 | - var CarouselHandlerBase = class extends _baseSwiper.default { | |
| 3124 | - getDefaultSettings() { | |
| 3125 | - return { selectors: { | |
| 3126 | - carousel: ".swiper", | |
| 3127 | - swiperWrapper: ".swiper-wrapper", | |
| 3128 | - slideContent: ".swiper-slide", | |
| 3129 | - swiperArrow: ".elementor-swiper-button", | |
| 3130 | - paginationWrapper: ".swiper-pagination", | |
| 3131 | - paginationBullet: ".swiper-pagination-bullet", | |
| 3132 | - paginationBulletWrapper: ".swiper-pagination-bullets" | |
| 3133 | - } }; | |
| 3134 | - } | |
| 3135 | - getDefaultElements() { | |
| 3136 | - const selectors = this.getSettings("selectors"); | |
| 3137 | - const elements = { | |
| 3138 | - $swiperContainer: this.$element.find(selectors.carousel), | |
| 3139 | - $swiperWrapper: this.$element.find(selectors.swiperWrapper), | |
| 3140 | - $swiperArrows: this.$element.find(selectors.swiperArrow), | |
| 3141 | - $paginationWrapper: this.$element.find(selectors.paginationWrapper), | |
| 3142 | - $paginationBullets: this.$element.find(selectors.paginationBullet), | |
| 3143 | - $paginationBulletWrapper: this.$element.find(selectors.paginationBulletWrapper) | |
| 3144 | - }; | |
| 3145 | - elements.$slides = elements.$swiperContainer.find(selectors.slideContent); | |
| 3146 | - return elements; | |
| 3147 | - } | |
| 3148 | - getSwiperSettings() { | |
| 3149 | - const elementSettings = this.getElementSettings(); | |
| 3150 | - const slidesToShow = +elementSettings.slides_to_show || 3; | |
| 3151 | - const isSingleSlide = 1 === slidesToShow; | |
| 3152 | - const elementorBreakpoints = elementorFrontend.config.responsive.activeBreakpoints; | |
| 3153 | - const defaultSlidesToShowMap = { | |
| 3154 | - mobile: 1, | |
| 3155 | - tablet: isSingleSlide ? 1 : 2 | |
| 3156 | - }; | |
| 3157 | - const swiperOptions = { | |
| 3158 | - slidesPerView: slidesToShow, | |
| 3159 | - loop: "yes" === elementSettings.infinite, | |
| 3160 | - speed: elementSettings.speed, | |
| 3161 | - handleElementorBreakpoints: true | |
| 3162 | - }; | |
| 3163 | - swiperOptions.breakpoints = {}; | |
| 3164 | - let lastBreakpointSlidesToShowValue = slidesToShow; | |
| 3165 | - Object.keys(elementorBreakpoints).reverse().forEach((breakpointName) => { | |
| 3166 | - const defaultSlidesToShow = defaultSlidesToShowMap[breakpointName] ? defaultSlidesToShowMap[breakpointName] : lastBreakpointSlidesToShowValue; | |
| 3167 | - swiperOptions.breakpoints[elementorBreakpoints[breakpointName].value] = { | |
| 3168 | - slidesPerView: +elementSettings["slides_to_show_" + breakpointName] || defaultSlidesToShow, | |
| 3169 | - slidesPerGroup: +elementSettings["slides_to_scroll_" + breakpointName] || 1 | |
| 3170 | - }; | |
| 3171 | - if (elementSettings.image_spacing_custom) swiperOptions.breakpoints[elementorBreakpoints[breakpointName].value].spaceBetween = this.getSpaceBetween(breakpointName); | |
| 3172 | - lastBreakpointSlidesToShowValue = +elementSettings["slides_to_show_" + breakpointName] || defaultSlidesToShow; | |
| 3173 | - }); | |
| 3174 | - if ("yes" === elementSettings.autoplay) swiperOptions.autoplay = { | |
| 3175 | - delay: elementSettings.autoplay_speed, | |
| 3176 | - disableOnInteraction: "yes" === elementSettings.pause_on_interaction | |
| 3177 | - }; | |
| 3178 | - if (isSingleSlide) { | |
| 3179 | - swiperOptions.effect = elementSettings.effect; | |
| 3180 | - if ("fade" === elementSettings.effect) swiperOptions.fadeEffect = { crossFade: true }; | |
| 3181 | - } else swiperOptions.slidesPerGroup = +elementSettings.slides_to_scroll || 1; | |
| 3182 | - if (elementSettings.image_spacing_custom) swiperOptions.spaceBetween = this.getSpaceBetween(); | |
| 3183 | - const showArrows = "arrows" === elementSettings.navigation || "both" === elementSettings.navigation; | |
| 3184 | - const showPagination = "dots" === elementSettings.navigation || "both" === elementSettings.navigation || elementSettings.pagination; | |
| 3185 | - if (showArrows) swiperOptions.navigation = { | |
| 3186 | - prevEl: ".elementor-swiper-button-prev", | |
| 3187 | - nextEl: ".elementor-swiper-button-next" | |
| 3188 | - }; | |
| 3189 | - if (showPagination) swiperOptions.pagination = { | |
| 3190 | - el: `.elementor-element-${this.getID()} .swiper-pagination`, | |
| 3191 | - type: !!elementSettings.pagination ? elementSettings.pagination : "bullets", | |
| 3192 | - clickable: true, | |
| 3193 | - renderBullet: (index, classname) => { | |
| 3194 | - return `<span class="${classname}" role="button" tabindex="0" data-bullet-index="${index}" aria-label="${elementorFrontend.config.i18n.a11yCarouselPaginationBulletMessage} ${index + 1}"></span>`; | |
| 3195 | - } | |
| 3196 | - }; | |
| 3197 | - if ("yes" === elementSettings.lazyload) swiperOptions.lazy = { | |
| 3198 | - loadPrevNext: true, | |
| 3199 | - loadPrevNextAmount: 1 | |
| 3200 | - }; | |
| 3201 | - swiperOptions.a11y = { | |
| 3202 | - enabled: true, | |
| 3203 | - prevSlideMessage: elementorFrontend.config.i18n.a11yCarouselPrevSlideMessage, | |
| 3204 | - nextSlideMessage: elementorFrontend.config.i18n.a11yCarouselNextSlideMessage, | |
| 3205 | - firstSlideMessage: elementorFrontend.config.i18n.a11yCarouselFirstSlideMessage, | |
| 3206 | - lastSlideMessage: elementorFrontend.config.i18n.a11yCarouselLastSlideMessage | |
| 3207 | - }; | |
| 3208 | - swiperOptions.on = { | |
| 3209 | - slideChange: () => { | |
| 3210 | - this.a11ySetPaginationTabindex(); | |
| 3211 | - this.handleElementHandlers(); | |
| 3212 | - this.a11ySetSlideAriaHidden(); | |
| 3213 | - }, | |
| 3214 | - init: () => { | |
| 3215 | - this.a11ySetPaginationTabindex(); | |
| 3216 | - this.a11ySetSlideAriaHidden("initialisation"); | |
| 3217 | - } | |
| 3218 | - }; | |
| 3219 | - this.applyOffsetSettings(elementSettings, swiperOptions, slidesToShow); | |
| 3220 | - return swiperOptions; | |
| 3221 | - } | |
| 3222 | - getOffsetWidth() { | |
| 3223 | - const currentDevice = elementorFrontend.getCurrentDeviceMode(); | |
| 3224 | - return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), "offset_width", "size", currentDevice) || 0; | |
| 3225 | - } | |
| 3226 | - applyOffsetSettings(elementSettings, swiperOptions, slidesToShow) { | |
| 3227 | - const offsetSide = elementSettings.offset_sides; | |
| 3228 | - if (elementorFrontend.isEditMode() && "NestedCarousel" === this.constructor.name || !offsetSide || "none" === offsetSide) return; | |
| 3229 | - switch (offsetSide) { | |
| 3230 | - case "right": | |
| 3231 | - this.forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow); | |
| 3232 | - this.addClassToSwiperContainer("offset-right"); | |
| 3233 | - break; | |
| 3234 | - case "left": | |
| 3235 | - this.addClassToSwiperContainer("offset-left"); | |
| 3236 | - break; | |
| 3237 | - case "both": | |
| 3238 | - this.forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow); | |
| 3239 | - this.addClassToSwiperContainer("offset-both"); | |
| 3240 | - break; | |
| 3241 | - } | |
| 3242 | - } | |
| 3243 | - forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow) { | |
| 3244 | - swiperOptions.slidesPerView = slidesToShow + .001; | |
| 3245 | - } | |
| 3246 | - addClassToSwiperContainer(className) { | |
| 3247 | - this.getDefaultElements().$swiperContainer[0].classList.add(className); | |
| 3248 | - } | |
| 3249 | - onInit(...args) { | |
| 3250 | - var _superprop_getOnInit = () => super.onInit; | |
| 3251 | - var _this = this; | |
| 3252 | - return _asyncToGenerator(function* () { | |
| 3253 | - _superprop_getOnInit().call(_this, ...args); | |
| 3254 | - if (!_this.elements.$swiperContainer.length || 2 > _this.elements.$slides.length) return; | |
| 3255 | - yield _this.initSwiper(); | |
| 3256 | - if ("yes" === _this.getElementSettings().pause_on_hover) _this.togglePauseOnHover(true); | |
| 3257 | - })(); | |
| 3258 | - } | |
| 3259 | - initSwiper() { | |
| 3260 | - var _this2 = this; | |
| 3261 | - return _asyncToGenerator(function* () { | |
| 3262 | - const Swiper = elementorFrontend.utils.swiper; | |
| 3263 | - _this2.swiper = yield new Swiper(_this2.elements.$swiperContainer, _this2.getSwiperSettings()); | |
| 3264 | - _this2.elements.$swiperContainer.data("swiper", _this2.swiper); | |
| 3265 | - })(); | |
| 3266 | - } | |
| 3267 | - bindEvents() { | |
| 3268 | - this.elements.$swiperArrows.on("keydown", this.onDirectionArrowKeydown.bind(this)); | |
| 3269 | - this.elements.$paginationWrapper.on("keydown", ".swiper-pagination-bullet", this.onDirectionArrowKeydown.bind(this)); | |
| 3270 | - this.elements.$swiperContainer.on("keydown", ".swiper-slide", this.onDirectionArrowKeydown.bind(this)); | |
| 3271 | - this.$element.find(":focusable").on("focus", this.onFocusDisableAutoplay.bind(this)); | |
| 3272 | - elementorFrontend.elements.$window.on("resize", this.getSwiperSettings.bind(this)); | |
| 3273 | - } | |
| 3274 | - unbindEvents() { | |
| 3275 | - this.elements.$swiperArrows.off(); | |
| 3276 | - this.elements.$paginationWrapper.off(); | |
| 3277 | - this.elements.$swiperContainer.off(); | |
| 3278 | - this.$element.find(":focusable").off(); | |
| 3279 | - elementorFrontend.elements.$window.off("resize"); | |
| 3280 | - } | |
| 3281 | - onDirectionArrowKeydown(event) { | |
| 3282 | - const isRTL = elementorFrontend.config.is_rtl; | |
| 3283 | - const inlineDirectionArrows = ["ArrowLeft", "ArrowRight"]; | |
| 3284 | - const currentKeydown = event.originalEvent.code; | |
| 3285 | - const isDirectionInlineKeydown = -1 !== inlineDirectionArrows.indexOf(currentKeydown); | |
| 3286 | - const directionStart = isRTL ? "ArrowRight" : "ArrowLeft"; | |
| 3287 | - const directionEnd = isRTL ? "ArrowLeft" : "ArrowRight"; | |
| 3288 | - if (!isDirectionInlineKeydown) return true; | |
| 3289 | - else if (directionStart === currentKeydown) this.swiper.slidePrev(); | |
| 3290 | - else if (directionEnd === currentKeydown) this.swiper.slideNext(); | |
| 3291 | - } | |
| 3292 | - onFocusDisableAutoplay() { | |
| 3293 | - this.swiper.autoplay.stop(); | |
| 3294 | - } | |
| 3295 | - updateSwiperOption(propertyName) { | |
| 3296 | - const newSettingValue = this.getElementSettings()[propertyName]; | |
| 3297 | - const params = this.swiper.params; | |
| 3298 | - switch (propertyName) { | |
| 3299 | - case "autoplay_speed": | |
| 3300 | - params.autoplay.delay = newSettingValue; | |
| 3301 | - break; | |
| 3302 | - case "speed": | |
| 3303 | - params.speed = newSettingValue; | |
| 3304 | - break; | |
| 3305 | - } | |
| 3306 | - this.swiper.update(); | |
| 3307 | - } | |
| 3308 | - getChangeableProperties() { | |
| 3309 | - return { | |
| 3310 | - pause_on_hover: "pauseOnHover", | |
| 3311 | - autoplay_speed: "delay", | |
| 3312 | - speed: "speed", | |
| 3313 | - arrows_position: "arrows_position" | |
| 3314 | - }; | |
| 3315 | - } | |
| 3316 | - onElementChange(propertyName) { | |
| 3317 | - if (0 === propertyName.indexOf("image_spacing_custom")) { | |
| 3318 | - this.updateSpaceBetween(propertyName); | |
| 3319 | - return; | |
| 3320 | - } | |
| 3321 | - if (this.getChangeableProperties()[propertyName]) if ("pause_on_hover" === propertyName) { | |
| 3322 | - const newSettingValue = this.getElementSettings("pause_on_hover"); | |
| 3323 | - this.togglePauseOnHover("yes" === newSettingValue); | |
| 3324 | - } else this.updateSwiperOption(propertyName); | |
| 3325 | - } | |
| 3326 | - onEditSettingsChange(propertyName) { | |
| 3327 | - if ("activeItemIndex" === propertyName) this.swiper.slideToLoop(this.getEditSettings("activeItemIndex") - 1); | |
| 3328 | - } | |
| 3329 | - getSpaceBetween(device = null) { | |
| 3330 | - const responsiveControlValue = elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), "image_spacing_custom", "size", device); | |
| 3331 | - return Number(responsiveControlValue) || 0; | |
| 3332 | - } | |
| 3333 | - updateSpaceBetween(propertyName) { | |
| 3334 | - const deviceMatch = propertyName.match("image_spacing_custom_(.*)"); | |
| 3335 | - const device = deviceMatch ? deviceMatch[1] : "desktop"; | |
| 3336 | - const newSpaceBetween = this.getSpaceBetween(device); | |
| 3337 | - if ("desktop" !== device) this.swiper.params.breakpoints[elementorFrontend.config.responsive.activeBreakpoints[device].value].spaceBetween = newSpaceBetween; | |
| 3338 | - this.swiper.params.spaceBetween = newSpaceBetween; | |
| 3339 | - this.swiper.update(); | |
| 3340 | - } | |
| 3341 | - getPaginationBullets(type = "array") { | |
| 3342 | - const paginationBullets = this.$element.find(this.getSettings("selectors").paginationBullet); | |
| 3343 | - return "array" === type ? Array.from(paginationBullets) : paginationBullets; | |
| 3344 | - } | |
| 3345 | - a11ySetPaginationTabindex() { | |
| 3346 | - var _this$swiper; | |
| 3347 | - var _this$swiper2; | |
| 3348 | - var _event; | |
| 3349 | - var _event2; | |
| 3350 | - var _event3; | |
| 3351 | - const bulletClass = (_this$swiper = this.swiper) === null || _this$swiper === void 0 || (_this$swiper = _this$swiper.params) === null || _this$swiper === void 0 ? void 0 : _this$swiper.pagination.bulletClass; | |
| 3352 | - const activeBulletClass = (_this$swiper2 = this.swiper) === null || _this$swiper2 === void 0 || (_this$swiper2 = _this$swiper2.params) === null || _this$swiper2 === void 0 ? void 0 : _this$swiper2.pagination.bulletActiveClass; | |
| 3353 | - this.getPaginationBullets().forEach((bullet) => { | |
| 3354 | - var _bullet$classList; | |
| 3355 | - if (!((_bullet$classList = bullet.classList) === null || _bullet$classList === void 0 ? void 0 : _bullet$classList.contains(activeBulletClass))) bullet.removeAttribute("tabindex"); | |
| 3356 | - }); | |
| 3357 | - const isDirectionInlineArrowKey = "ArrowLeft" === ((_event = event) === null || _event === void 0 ? void 0 : _event.code) || "ArrowRight" === ((_event2 = event) === null || _event2 === void 0 ? void 0 : _event2.code); | |
| 3358 | - if (((_event3 = event) === null || _event3 === void 0 || (_event3 = _event3.target) === null || _event3 === void 0 || (_event3 = _event3.classList) === null || _event3 === void 0 ? void 0 : _event3.contains(bulletClass)) && isDirectionInlineArrowKey) this.$element.find(`.${activeBulletClass}`).trigger("focus"); | |
| 3359 | - } | |
| 3360 | - getSwiperWrapperTranformXValue() { | |
| 3361 | - var _this$elements$$swipe; | |
| 3362 | - let transformValue = (_this$elements$$swipe = this.elements.$swiperWrapper[0]) === null || _this$elements$$swipe === void 0 ? void 0 : _this$elements$$swipe.style.transform; | |
| 3363 | - transformValue = transformValue.replace("translate3d(", ""); | |
| 3364 | - transformValue = transformValue.split(","); | |
| 3365 | - transformValue = parseInt(transformValue[0].replace("px", "")); | |
| 3366 | - return !!transformValue ? transformValue : 0; | |
| 3367 | - } | |
| 3368 | - a11ySetSlideAriaHidden(status = "") { | |
| 3369 | - var _this$swiper3; | |
| 3370 | - if ("number" !== typeof ("initialisation" === status ? 0 : (_this$swiper3 = this.swiper) === null || _this$swiper3 === void 0 ? void 0 : _this$swiper3.activeIndex)) return; | |
| 3371 | - const swiperWrapperTransformXValue = this.getSwiperWrapperTranformXValue(); | |
| 3372 | - const swiperWrapperWidth = this.elements.$swiperWrapper[0].clientWidth; | |
| 3373 | - this.elements.$swiperContainer.find(this.getSettings("selectors").slideContent).each((index, slide) => { | |
| 3374 | - if (!(0 <= slide.offsetLeft + swiperWrapperTransformXValue && swiperWrapperWidth > slide.offsetLeft + swiperWrapperTransformXValue)) { | |
| 3375 | - slide.setAttribute("aria-hidden", true); | |
| 3376 | - slide.setAttribute("inert", ""); | |
| 3377 | - } else { | |
| 3378 | - slide.removeAttribute("aria-hidden"); | |
| 3379 | - slide.removeAttribute("inert"); | |
| 3380 | - } | |
| 3381 | - }); | |
| 3382 | - } | |
| 3383 | - handleElementHandlers() {} | |
| 3384 | - }; | |
| 3385 | - exports.default = CarouselHandlerBase; | |
| 3386 | - })); | |
| 2140 | +/***/ "../node_modules/core-js/internals/array-includes.js": | |
| 2141 | +/*!***********************************************************!*\ | |
| 2142 | + !*** ../node_modules/core-js/internals/array-includes.js ***! | |
| 2143 | + \***********************************************************/ | |
| 2144 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3387 | 2145 | |
| 3388 | -//#endregion | |
| 3389 | -//#region assets/dev/js/frontend/modules.js | |
| 3390 | - var _interopRequireDefault = require_interopRequireDefault(); | |
| 3391 | - var _modules = _interopRequireDefault(require_modules()); | |
| 3392 | - var _document = _interopRequireDefault(require_document()); | |
| 3393 | - var _stretchElement = _interopRequireDefault(require_stretch_element()); | |
| 3394 | - var _stretchedElement = _interopRequireDefault(require_stretched_element()); | |
| 3395 | - var _base = _interopRequireDefault(require_base()); | |
| 3396 | - var _baseSwiper = _interopRequireDefault(require_base_swiper()); | |
| 3397 | - var _baseCarousel = _interopRequireDefault(require_base_carousel()); | |
| 3398 | - _modules.default.frontend = { | |
| 3399 | - Document: _document.default, | |
| 3400 | - tools: { StretchElement: _stretchElement.default }, | |
| 3401 | - handlers: { | |
| 3402 | - Base: _base.default, | |
| 3403 | - StretchedElement: _stretchedElement.default, | |
| 3404 | - SwiperBase: _baseSwiper.default, | |
| 3405 | - CarouselBase: _baseCarousel.default | |
| 3406 | - } | |
| 3407 | - }; | |
| 2146 | +"use strict"; | |
| 3408 | 2147 | |
| 3409 | -//#endregion | |
| 3410 | -})(); | |
| 2148 | +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js"); | |
| 2149 | +var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "../node_modules/core-js/internals/to-absolute-index.js"); | |
| 2150 | +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "../node_modules/core-js/internals/length-of-array-like.js"); | |
| 2151 | + | |
| 2152 | +// `Array.prototype.{ indexOf, includes }` methods implementation | |
| 2153 | +var createMethod = function (IS_INCLUDES) { | |
| 2154 | + return function ($this, el, fromIndex) { | |
| 2155 | + var O = toIndexedObject($this); | |
| 2156 | + var length = lengthOfArrayLike(O); | |
| 2157 | + var index = toAbsoluteIndex(fromIndex, length); | |
| 2158 | + var value; | |
| 2159 | + // Array#includes uses SameValueZero equality algorithm | |
| 2160 | + // eslint-disable-next-line no-self-compare -- NaN check | |
| 2161 | + if (IS_INCLUDES && el != el) while (length > index) { | |
| 2162 | + value = O[index++]; | |
| 2163 | + // eslint-disable-next-line no-self-compare -- NaN check | |
| 2164 | + if (value != value) return true; | |
| 2165 | + // Array#indexOf ignores holes, Array#includes - not | |
| 2166 | + } else for (;length > index; index++) { | |
| 2167 | + if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; | |
| 2168 | + } return !IS_INCLUDES && -1; | |
| 2169 | + }; | |
| 2170 | +}; | |
| 2171 | + | |
| 2172 | +module.exports = { | |
| 2173 | + // `Array.prototype.includes` method | |
| 2174 | + // https://tc39.es/ecma262/#sec-array.prototype.includes | |
| 2175 | + includes: createMethod(true), | |
| 2176 | + // `Array.prototype.indexOf` method | |
| 2177 | + // https://tc39.es/ecma262/#sec-array.prototype.indexof | |
| 2178 | + indexOf: createMethod(false) | |
| 2179 | +}; | |
| 2180 | + | |
| 2181 | + | |
| 2182 | +/***/ }), | |
| 2183 | + | |
| 2184 | +/***/ "../node_modules/core-js/internals/array-set-length.js": | |
| 2185 | +/*!*************************************************************!*\ | |
| 2186 | + !*** ../node_modules/core-js/internals/array-set-length.js ***! | |
| 2187 | + \*************************************************************/ | |
| 2188 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2189 | + | |
| 2190 | +"use strict"; | |
| 2191 | + | |
| 2192 | +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); | |
| 2193 | +var isArray = __webpack_require__(/*! ../internals/is-array */ "../node_modules/core-js/internals/is-array.js"); | |
| 2194 | + | |
| 2195 | +var $TypeError = TypeError; | |
| 2196 | +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe | |
| 2197 | +var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
| 2198 | + | |
| 2199 | +// Safari < 13 does not throw an error in this case | |
| 2200 | +var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () { | |
| 2201 | + // makes no sense without proper strict mode support | |
| 2202 | + if (this !== undefined) return true; | |
| 2203 | + try { | |
| 2204 | + // eslint-disable-next-line es/no-object-defineproperty -- safe | |
| 2205 | + Object.defineProperty([], 'length', { writable: false }).length = 1; | |
| 2206 | + } catch (error) { | |
| 2207 | + return error instanceof TypeError; | |
| 2208 | + } | |
| 2209 | +}(); | |
| 2210 | + | |
| 2211 | +module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) { | |
| 2212 | + if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) { | |
| 2213 | + throw $TypeError('Cannot set read only .length'); | |
| 2214 | + } return O.length = length; | |
| 2215 | +} : function (O, length) { | |
| 2216 | + return O.length = length; | |
| 2217 | +}; | |
| 2218 | + | |
| 2219 | + | |
| 2220 | +/***/ }), | |
| 2221 | + | |
| 2222 | +/***/ "../node_modules/core-js/internals/classof-raw.js": | |
| 2223 | +/*!********************************************************!*\ | |
| 2224 | + !*** ../node_modules/core-js/internals/classof-raw.js ***! | |
| 2225 | + \********************************************************/ | |
| 2226 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2227 | + | |
| 2228 | +"use strict"; | |
| 2229 | + | |
| 2230 | +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); | |
| 2231 | + | |
| 2232 | +var toString = uncurryThis({}.toString); | |
| 2233 | +var stringSlice = uncurryThis(''.slice); | |
| 2234 | + | |
| 2235 | +module.exports = function (it) { | |
| 2236 | + return stringSlice(toString(it), 8, -1); | |
| 2237 | +}; | |
| 2238 | + | |
| 2239 | + | |
| 2240 | +/***/ }), | |
| 2241 | + | |
| 2242 | +/***/ "../node_modules/core-js/internals/copy-constructor-properties.js": | |
| 2243 | +/*!************************************************************************!*\ | |
| 2244 | + !*** ../node_modules/core-js/internals/copy-constructor-properties.js ***! | |
| 2245 | + \************************************************************************/ | |
| 2246 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2247 | + | |
| 2248 | +"use strict"; | |
| 2249 | + | |
| 2250 | +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); | |
| 2251 | +var ownKeys = __webpack_require__(/*! ../internals/own-keys */ "../node_modules/core-js/internals/own-keys.js"); | |
| 2252 | +var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../node_modules/core-js/internals/object-get-own-property-descriptor.js"); | |
| 2253 | +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js"); | |
| 2254 | + | |
| 2255 | +module.exports = function (target, source, exceptions) { | |
| 2256 | + var keys = ownKeys(source); | |
| 2257 | + var defineProperty = definePropertyModule.f; | |
| 2258 | + var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; | |
| 2259 | + for (var i = 0; i < keys.length; i++) { | |
| 2260 | + var key = keys[i]; | |
| 2261 | + if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) { | |
| 2262 | + defineProperty(target, key, getOwnPropertyDescriptor(source, key)); | |
| 2263 | + } | |
| 2264 | + } | |
| 2265 | +}; | |
| 2266 | + | |
| 2267 | + | |
| 2268 | +/***/ }), | |
| 2269 | + | |
| 2270 | +/***/ "../node_modules/core-js/internals/create-non-enumerable-property.js": | |
| 2271 | +/*!***************************************************************************!*\ | |
| 2272 | + !*** ../node_modules/core-js/internals/create-non-enumerable-property.js ***! | |
| 2273 | + \***************************************************************************/ | |
| 2274 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2275 | + | |
| 2276 | +"use strict"; | |
| 2277 | + | |
| 2278 | +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); | |
| 2279 | +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js"); | |
| 2280 | +var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js"); | |
| 2281 | + | |
| 2282 | +module.exports = DESCRIPTORS ? function (object, key, value) { | |
| 2283 | + return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); | |
| 2284 | +} : function (object, key, value) { | |
| 2285 | + object[key] = value; | |
| 2286 | + return object; | |
| 2287 | +}; | |
| 2288 | + | |
| 2289 | + | |
| 2290 | +/***/ }), | |
| 2291 | + | |
| 2292 | +/***/ "../node_modules/core-js/internals/create-property-descriptor.js": | |
| 2293 | +/*!***********************************************************************!*\ | |
| 2294 | + !*** ../node_modules/core-js/internals/create-property-descriptor.js ***! | |
| 2295 | + \***********************************************************************/ | |
| 2296 | +/***/ ((module) => { | |
| 2297 | + | |
| 2298 | +"use strict"; | |
| 2299 | + | |
| 2300 | +module.exports = function (bitmap, value) { | |
| 2301 | + return { | |
| 2302 | + enumerable: !(bitmap & 1), | |
| 2303 | + configurable: !(bitmap & 2), | |
| 2304 | + writable: !(bitmap & 4), | |
| 2305 | + value: value | |
| 2306 | + }; | |
| 2307 | +}; | |
| 2308 | + | |
| 2309 | + | |
| 2310 | +/***/ }), | |
| 2311 | + | |
| 2312 | +/***/ "../node_modules/core-js/internals/define-built-in.js": | |
| 2313 | +/*!************************************************************!*\ | |
| 2314 | + !*** ../node_modules/core-js/internals/define-built-in.js ***! | |
| 2315 | + \************************************************************/ | |
| 2316 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2317 | + | |
| 2318 | +"use strict"; | |
| 2319 | + | |
| 2320 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 2321 | +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js"); | |
| 2322 | +var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ "../node_modules/core-js/internals/make-built-in.js"); | |
| 2323 | +var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js"); | |
| 2324 | + | |
| 2325 | +module.exports = function (O, key, value, options) { | |
| 2326 | + if (!options) options = {}; | |
| 2327 | + var simple = options.enumerable; | |
| 2328 | + var name = options.name !== undefined ? options.name : key; | |
| 2329 | + if (isCallable(value)) makeBuiltIn(value, name, options); | |
| 2330 | + if (options.global) { | |
| 2331 | + if (simple) O[key] = value; | |
| 2332 | + else defineGlobalProperty(key, value); | |
| 2333 | + } else { | |
| 2334 | + try { | |
| 2335 | + if (!options.unsafe) delete O[key]; | |
| 2336 | + else if (O[key]) simple = true; | |
| 2337 | + } catch (error) { /* empty */ } | |
| 2338 | + if (simple) O[key] = value; | |
| 2339 | + else definePropertyModule.f(O, key, { | |
| 2340 | + value: value, | |
| 2341 | + enumerable: false, | |
| 2342 | + configurable: !options.nonConfigurable, | |
| 2343 | + writable: !options.nonWritable | |
| 2344 | + }); | |
| 2345 | + } return O; | |
| 2346 | +}; | |
| 2347 | + | |
| 2348 | + | |
| 2349 | +/***/ }), | |
| 2350 | + | |
| 2351 | +/***/ "../node_modules/core-js/internals/define-global-property.js": | |
| 2352 | +/*!*******************************************************************!*\ | |
| 2353 | + !*** ../node_modules/core-js/internals/define-global-property.js ***! | |
| 2354 | + \*******************************************************************/ | |
| 2355 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2356 | + | |
| 2357 | +"use strict"; | |
| 2358 | + | |
| 2359 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 2360 | + | |
| 2361 | +// eslint-disable-next-line es/no-object-defineproperty -- safe | |
| 2362 | +var defineProperty = Object.defineProperty; | |
| 2363 | + | |
| 2364 | +module.exports = function (key, value) { | |
| 2365 | + try { | |
| 2366 | + defineProperty(global, key, { value: value, configurable: true, writable: true }); | |
| 2367 | + } catch (error) { | |
| 2368 | + global[key] = value; | |
| 2369 | + } return value; | |
| 2370 | +}; | |
| 2371 | + | |
| 2372 | + | |
| 2373 | +/***/ }), | |
| 2374 | + | |
| 2375 | +/***/ "../node_modules/core-js/internals/descriptors.js": | |
| 2376 | +/*!********************************************************!*\ | |
| 2377 | + !*** ../node_modules/core-js/internals/descriptors.js ***! | |
| 2378 | + \********************************************************/ | |
| 2379 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2380 | + | |
| 2381 | +"use strict"; | |
| 2382 | + | |
| 2383 | +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 2384 | + | |
| 2385 | +// Detect IE8's incomplete defineProperty implementation | |
| 2386 | +module.exports = !fails(function () { | |
| 2387 | + // eslint-disable-next-line es/no-object-defineproperty -- required for testing | |
| 2388 | + return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; | |
| 2389 | +}); | |
| 2390 | + | |
| 2391 | + | |
| 2392 | +/***/ }), | |
| 2393 | + | |
| 2394 | +/***/ "../node_modules/core-js/internals/document-all.js": | |
| 2395 | +/*!*********************************************************!*\ | |
| 2396 | + !*** ../node_modules/core-js/internals/document-all.js ***! | |
| 2397 | + \*********************************************************/ | |
| 2398 | +/***/ ((module) => { | |
| 2399 | + | |
| 2400 | +"use strict"; | |
| 2401 | + | |
| 2402 | +var documentAll = typeof document == 'object' && document.all; | |
| 2403 | + | |
| 2404 | +// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot | |
| 2405 | +// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing | |
| 2406 | +var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined; | |
| 2407 | + | |
| 2408 | +module.exports = { | |
| 2409 | + all: documentAll, | |
| 2410 | + IS_HTMLDDA: IS_HTMLDDA | |
| 2411 | +}; | |
| 2412 | + | |
| 2413 | + | |
| 2414 | +/***/ }), | |
| 2415 | + | |
| 2416 | +/***/ "../node_modules/core-js/internals/document-create-element.js": | |
| 2417 | +/*!********************************************************************!*\ | |
| 2418 | + !*** ../node_modules/core-js/internals/document-create-element.js ***! | |
| 2419 | + \********************************************************************/ | |
| 2420 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2421 | + | |
| 2422 | +"use strict"; | |
| 2423 | + | |
| 2424 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 2425 | +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); | |
| 2426 | + | |
| 2427 | +var document = global.document; | |
| 2428 | +// typeof document.createElement is 'object' in old IE | |
| 2429 | +var EXISTS = isObject(document) && isObject(document.createElement); | |
| 2430 | + | |
| 2431 | +module.exports = function (it) { | |
| 2432 | + return EXISTS ? document.createElement(it) : {}; | |
| 2433 | +}; | |
| 2434 | + | |
| 2435 | + | |
| 2436 | +/***/ }), | |
| 2437 | + | |
| 2438 | +/***/ "../node_modules/core-js/internals/does-not-exceed-safe-integer.js": | |
| 2439 | +/*!*************************************************************************!*\ | |
| 2440 | + !*** ../node_modules/core-js/internals/does-not-exceed-safe-integer.js ***! | |
| 2441 | + \*************************************************************************/ | |
| 2442 | +/***/ ((module) => { | |
| 2443 | + | |
| 2444 | +"use strict"; | |
| 2445 | + | |
| 2446 | +var $TypeError = TypeError; | |
| 2447 | +var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 | |
| 2448 | + | |
| 2449 | +module.exports = function (it) { | |
| 2450 | + if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded'); | |
| 2451 | + return it; | |
| 2452 | +}; | |
| 2453 | + | |
| 2454 | + | |
| 2455 | +/***/ }), | |
| 2456 | + | |
| 2457 | +/***/ "../node_modules/core-js/internals/engine-user-agent.js": | |
| 2458 | +/*!**************************************************************!*\ | |
| 2459 | + !*** ../node_modules/core-js/internals/engine-user-agent.js ***! | |
| 2460 | + \**************************************************************/ | |
| 2461 | +/***/ ((module) => { | |
| 2462 | + | |
| 2463 | +"use strict"; | |
| 2464 | + | |
| 2465 | +module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; | |
| 2466 | + | |
| 2467 | + | |
| 2468 | +/***/ }), | |
| 2469 | + | |
| 2470 | +/***/ "../node_modules/core-js/internals/engine-v8-version.js": | |
| 2471 | +/*!**************************************************************!*\ | |
| 2472 | + !*** ../node_modules/core-js/internals/engine-v8-version.js ***! | |
| 2473 | + \**************************************************************/ | |
| 2474 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2475 | + | |
| 2476 | +"use strict"; | |
| 2477 | + | |
| 2478 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 2479 | +var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ "../node_modules/core-js/internals/engine-user-agent.js"); | |
| 2480 | + | |
| 2481 | +var process = global.process; | |
| 2482 | +var Deno = global.Deno; | |
| 2483 | +var versions = process && process.versions || Deno && Deno.version; | |
| 2484 | +var v8 = versions && versions.v8; | |
| 2485 | +var match, version; | |
| 2486 | + | |
| 2487 | +if (v8) { | |
| 2488 | + match = v8.split('.'); | |
| 2489 | + // in old Chrome, versions of V8 isn't V8 = Chrome / 10 | |
| 2490 | + // but their correct versions are not interesting for us | |
| 2491 | + version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); | |
| 2492 | +} | |
| 2493 | + | |
| 2494 | +// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0` | |
| 2495 | +// so check `userAgent` even if `.v8` exists, but 0 | |
| 2496 | +if (!version && userAgent) { | |
| 2497 | + match = userAgent.match(/Edge\/(\d+)/); | |
| 2498 | + if (!match || match[1] >= 74) { | |
| 2499 | + match = userAgent.match(/Chrome\/(\d+)/); | |
| 2500 | + if (match) version = +match[1]; | |
| 2501 | + } | |
| 2502 | +} | |
| 2503 | + | |
| 2504 | +module.exports = version; | |
| 2505 | + | |
| 2506 | + | |
| 2507 | +/***/ }), | |
| 2508 | + | |
| 2509 | +/***/ "../node_modules/core-js/internals/enum-bug-keys.js": | |
| 2510 | +/*!**********************************************************!*\ | |
| 2511 | + !*** ../node_modules/core-js/internals/enum-bug-keys.js ***! | |
| 2512 | + \**********************************************************/ | |
| 2513 | +/***/ ((module) => { | |
| 2514 | + | |
| 2515 | +"use strict"; | |
| 2516 | + | |
| 2517 | +// IE8- don't enum bug keys | |
| 2518 | +module.exports = [ | |
| 2519 | + 'constructor', | |
| 2520 | + 'hasOwnProperty', | |
| 2521 | + 'isPrototypeOf', | |
| 2522 | + 'propertyIsEnumerable', | |
| 2523 | + 'toLocaleString', | |
| 2524 | + 'toString', | |
| 2525 | + 'valueOf' | |
| 2526 | +]; | |
| 2527 | + | |
| 2528 | + | |
| 2529 | +/***/ }), | |
| 2530 | + | |
| 2531 | +/***/ "../node_modules/core-js/internals/export.js": | |
| 2532 | +/*!***************************************************!*\ | |
| 2533 | + !*** ../node_modules/core-js/internals/export.js ***! | |
| 2534 | + \***************************************************/ | |
| 2535 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2536 | + | |
| 2537 | +"use strict"; | |
| 2538 | + | |
| 2539 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 2540 | +var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../node_modules/core-js/internals/object-get-own-property-descriptor.js").f); | |
| 2541 | +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); | |
| 2542 | +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../node_modules/core-js/internals/define-built-in.js"); | |
| 2543 | +var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js"); | |
| 2544 | +var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "../node_modules/core-js/internals/copy-constructor-properties.js"); | |
| 2545 | +var isForced = __webpack_require__(/*! ../internals/is-forced */ "../node_modules/core-js/internals/is-forced.js"); | |
| 2546 | + | |
| 2547 | +/* | |
| 2548 | + options.target - name of the target object | |
| 2549 | + options.global - target is the global object | |
| 2550 | + options.stat - export as static methods of target | |
| 2551 | + options.proto - export as prototype methods of target | |
| 2552 | + options.real - real prototype method for the `pure` version | |
| 2553 | + options.forced - export even if the native feature is available | |
| 2554 | + options.bind - bind methods to the target, required for the `pure` version | |
| 2555 | + options.wrap - wrap constructors to preventing global pollution, required for the `pure` version | |
| 2556 | + options.unsafe - use the simple assignment of property instead of delete + defineProperty | |
| 2557 | + options.sham - add a flag to not completely full polyfills | |
| 2558 | + options.enumerable - export as enumerable property | |
| 2559 | + options.dontCallGetSet - prevent calling a getter on target | |
| 2560 | + options.name - the .name of the function if it does not match the key | |
| 2561 | +*/ | |
| 2562 | +module.exports = function (options, source) { | |
| 2563 | + var TARGET = options.target; | |
| 2564 | + var GLOBAL = options.global; | |
| 2565 | + var STATIC = options.stat; | |
| 2566 | + var FORCED, target, key, targetProperty, sourceProperty, descriptor; | |
| 2567 | + if (GLOBAL) { | |
| 2568 | + target = global; | |
| 2569 | + } else if (STATIC) { | |
| 2570 | + target = global[TARGET] || defineGlobalProperty(TARGET, {}); | |
| 2571 | + } else { | |
| 2572 | + target = (global[TARGET] || {}).prototype; | |
| 2573 | + } | |
| 2574 | + if (target) for (key in source) { | |
| 2575 | + sourceProperty = source[key]; | |
| 2576 | + if (options.dontCallGetSet) { | |
| 2577 | + descriptor = getOwnPropertyDescriptor(target, key); | |
| 2578 | + targetProperty = descriptor && descriptor.value; | |
| 2579 | + } else targetProperty = target[key]; | |
| 2580 | + FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); | |
| 2581 | + // contained in target | |
| 2582 | + if (!FORCED && targetProperty !== undefined) { | |
| 2583 | + if (typeof sourceProperty == typeof targetProperty) continue; | |
| 2584 | + copyConstructorProperties(sourceProperty, targetProperty); | |
| 2585 | + } | |
| 2586 | + // add a flag to not completely full polyfills | |
| 2587 | + if (options.sham || (targetProperty && targetProperty.sham)) { | |
| 2588 | + createNonEnumerableProperty(sourceProperty, 'sham', true); | |
| 2589 | + } | |
| 2590 | + defineBuiltIn(target, key, sourceProperty, options); | |
| 2591 | + } | |
| 2592 | +}; | |
| 2593 | + | |
| 2594 | + | |
| 2595 | +/***/ }), | |
| 2596 | + | |
| 2597 | +/***/ "../node_modules/core-js/internals/fails.js": | |
| 2598 | +/*!**************************************************!*\ | |
| 2599 | + !*** ../node_modules/core-js/internals/fails.js ***! | |
| 2600 | + \**************************************************/ | |
| 2601 | +/***/ ((module) => { | |
| 2602 | + | |
| 2603 | +"use strict"; | |
| 2604 | + | |
| 2605 | +module.exports = function (exec) { | |
| 2606 | + try { | |
| 2607 | + return !!exec(); | |
| 2608 | + } catch (error) { | |
| 2609 | + return true; | |
| 2610 | + } | |
| 2611 | +}; | |
| 2612 | + | |
| 2613 | + | |
| 2614 | +/***/ }), | |
| 2615 | + | |
| 2616 | +/***/ "../node_modules/core-js/internals/function-bind-native.js": | |
| 2617 | +/*!*****************************************************************!*\ | |
| 2618 | + !*** ../node_modules/core-js/internals/function-bind-native.js ***! | |
| 2619 | + \*****************************************************************/ | |
| 2620 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2621 | + | |
| 2622 | +"use strict"; | |
| 2623 | + | |
| 2624 | +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 2625 | + | |
| 2626 | +module.exports = !fails(function () { | |
| 2627 | + // eslint-disable-next-line es/no-function-prototype-bind -- safe | |
| 2628 | + var test = (function () { /* empty */ }).bind(); | |
| 2629 | + // eslint-disable-next-line no-prototype-builtins -- safe | |
| 2630 | + return typeof test != 'function' || test.hasOwnProperty('prototype'); | |
| 2631 | +}); | |
| 2632 | + | |
| 2633 | + | |
| 2634 | +/***/ }), | |
| 2635 | + | |
| 2636 | +/***/ "../node_modules/core-js/internals/function-call.js": | |
| 2637 | +/*!**********************************************************!*\ | |
| 2638 | + !*** ../node_modules/core-js/internals/function-call.js ***! | |
| 2639 | + \**********************************************************/ | |
| 2640 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2641 | + | |
| 2642 | +"use strict"; | |
| 2643 | + | |
| 2644 | +var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js"); | |
| 2645 | + | |
| 2646 | +var call = Function.prototype.call; | |
| 2647 | + | |
| 2648 | +module.exports = NATIVE_BIND ? call.bind(call) : function () { | |
| 2649 | + return call.apply(call, arguments); | |
| 2650 | +}; | |
| 2651 | + | |
| 2652 | + | |
| 2653 | +/***/ }), | |
| 2654 | + | |
| 2655 | +/***/ "../node_modules/core-js/internals/function-name.js": | |
| 2656 | +/*!**********************************************************!*\ | |
| 2657 | + !*** ../node_modules/core-js/internals/function-name.js ***! | |
| 2658 | + \**********************************************************/ | |
| 2659 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2660 | + | |
| 2661 | +"use strict"; | |
| 2662 | + | |
| 2663 | +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); | |
| 2664 | +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); | |
| 2665 | + | |
| 2666 | +var FunctionPrototype = Function.prototype; | |
| 2667 | +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe | |
| 2668 | +var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor; | |
| 2669 | + | |
| 2670 | +var EXISTS = hasOwn(FunctionPrototype, 'name'); | |
| 2671 | +// additional protection from minified / mangled / dropped function names | |
| 2672 | +var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; | |
| 2673 | +var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable)); | |
| 2674 | + | |
| 2675 | +module.exports = { | |
| 2676 | + EXISTS: EXISTS, | |
| 2677 | + PROPER: PROPER, | |
| 2678 | + CONFIGURABLE: CONFIGURABLE | |
| 2679 | +}; | |
| 2680 | + | |
| 2681 | + | |
| 2682 | +/***/ }), | |
| 2683 | + | |
| 2684 | +/***/ "../node_modules/core-js/internals/function-uncurry-this.js": | |
| 2685 | +/*!******************************************************************!*\ | |
| 2686 | + !*** ../node_modules/core-js/internals/function-uncurry-this.js ***! | |
| 2687 | + \******************************************************************/ | |
| 2688 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2689 | + | |
| 2690 | +"use strict"; | |
| 2691 | + | |
| 2692 | +var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js"); | |
| 2693 | + | |
| 2694 | +var FunctionPrototype = Function.prototype; | |
| 2695 | +var call = FunctionPrototype.call; | |
| 2696 | +var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); | |
| 2697 | + | |
| 2698 | +module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) { | |
| 2699 | + return function () { | |
| 2700 | + return call.apply(fn, arguments); | |
| 2701 | + }; | |
| 2702 | +}; | |
| 2703 | + | |
| 2704 | + | |
| 2705 | +/***/ }), | |
| 2706 | + | |
| 2707 | +/***/ "../node_modules/core-js/internals/get-built-in.js": | |
| 2708 | +/*!*********************************************************!*\ | |
| 2709 | + !*** ../node_modules/core-js/internals/get-built-in.js ***! | |
| 2710 | + \*********************************************************/ | |
| 2711 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2712 | + | |
| 2713 | +"use strict"; | |
| 2714 | + | |
| 2715 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 2716 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 2717 | + | |
| 2718 | +var aFunction = function (argument) { | |
| 2719 | + return isCallable(argument) ? argument : undefined; | |
| 2720 | +}; | |
| 2721 | + | |
| 2722 | +module.exports = function (namespace, method) { | |
| 2723 | + return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method]; | |
| 2724 | +}; | |
| 2725 | + | |
| 2726 | + | |
| 2727 | +/***/ }), | |
| 2728 | + | |
| 2729 | +/***/ "../node_modules/core-js/internals/get-method.js": | |
| 2730 | +/*!*******************************************************!*\ | |
| 2731 | + !*** ../node_modules/core-js/internals/get-method.js ***! | |
| 2732 | + \*******************************************************/ | |
| 2733 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2734 | + | |
| 2735 | +"use strict"; | |
| 2736 | + | |
| 2737 | +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); | |
| 2738 | +var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "../node_modules/core-js/internals/is-null-or-undefined.js"); | |
| 2739 | + | |
| 2740 | +// `GetMethod` abstract operation | |
| 2741 | +// https://tc39.es/ecma262/#sec-getmethod | |
| 2742 | +module.exports = function (V, P) { | |
| 2743 | + var func = V[P]; | |
| 2744 | + return isNullOrUndefined(func) ? undefined : aCallable(func); | |
| 2745 | +}; | |
| 2746 | + | |
| 2747 | + | |
| 2748 | +/***/ }), | |
| 2749 | + | |
| 2750 | +/***/ "../node_modules/core-js/internals/global.js": | |
| 2751 | +/*!***************************************************!*\ | |
| 2752 | + !*** ../node_modules/core-js/internals/global.js ***! | |
| 2753 | + \***************************************************/ | |
| 2754 | +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { | |
| 2755 | + | |
| 2756 | +"use strict"; | |
| 2757 | + | |
| 2758 | +var check = function (it) { | |
| 2759 | + return it && it.Math == Math && it; | |
| 2760 | +}; | |
| 2761 | + | |
| 2762 | +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 | |
| 2763 | +module.exports = | |
| 2764 | + // eslint-disable-next-line es/no-global-this -- safe | |
| 2765 | + check(typeof globalThis == 'object' && globalThis) || | |
| 2766 | + check(typeof window == 'object' && window) || | |
| 2767 | + // eslint-disable-next-line no-restricted-globals -- safe | |
| 2768 | + check(typeof self == 'object' && self) || | |
| 2769 | + check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) || | |
| 2770 | + // eslint-disable-next-line no-new-func -- fallback | |
| 2771 | + (function () { return this; })() || this || Function('return this')(); | |
| 2772 | + | |
| 2773 | + | |
| 2774 | +/***/ }), | |
| 2775 | + | |
| 2776 | +/***/ "../node_modules/core-js/internals/has-own-property.js": | |
| 2777 | +/*!*************************************************************!*\ | |
| 2778 | + !*** ../node_modules/core-js/internals/has-own-property.js ***! | |
| 2779 | + \*************************************************************/ | |
| 2780 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2781 | + | |
| 2782 | +"use strict"; | |
| 2783 | + | |
| 2784 | +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); | |
| 2785 | +var toObject = __webpack_require__(/*! ../internals/to-object */ "../node_modules/core-js/internals/to-object.js"); | |
| 2786 | + | |
| 2787 | +var hasOwnProperty = uncurryThis({}.hasOwnProperty); | |
| 2788 | + | |
| 2789 | +// `HasOwnProperty` abstract operation | |
| 2790 | +// https://tc39.es/ecma262/#sec-hasownproperty | |
| 2791 | +// eslint-disable-next-line es/no-object-hasown -- safe | |
| 2792 | +module.exports = Object.hasOwn || function hasOwn(it, key) { | |
| 2793 | + return hasOwnProperty(toObject(it), key); | |
| 2794 | +}; | |
| 2795 | + | |
| 2796 | + | |
| 2797 | +/***/ }), | |
| 2798 | + | |
| 2799 | +/***/ "../node_modules/core-js/internals/hidden-keys.js": | |
| 2800 | +/*!********************************************************!*\ | |
| 2801 | + !*** ../node_modules/core-js/internals/hidden-keys.js ***! | |
| 2802 | + \********************************************************/ | |
| 2803 | +/***/ ((module) => { | |
| 2804 | + | |
| 2805 | +"use strict"; | |
| 2806 | + | |
| 2807 | +module.exports = {}; | |
| 2808 | + | |
| 2809 | + | |
| 2810 | +/***/ }), | |
| 2811 | + | |
| 2812 | +/***/ "../node_modules/core-js/internals/html.js": | |
| 2813 | +/*!*************************************************!*\ | |
| 2814 | + !*** ../node_modules/core-js/internals/html.js ***! | |
| 2815 | + \*************************************************/ | |
| 2816 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2817 | + | |
| 2818 | +"use strict"; | |
| 2819 | + | |
| 2820 | +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js"); | |
| 2821 | + | |
| 2822 | +module.exports = getBuiltIn('document', 'documentElement'); | |
| 2823 | + | |
| 2824 | + | |
| 2825 | +/***/ }), | |
| 2826 | + | |
| 2827 | +/***/ "../node_modules/core-js/internals/ie8-dom-define.js": | |
| 2828 | +/*!***********************************************************!*\ | |
| 2829 | + !*** ../node_modules/core-js/internals/ie8-dom-define.js ***! | |
| 2830 | + \***********************************************************/ | |
| 2831 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2832 | + | |
| 2833 | +"use strict"; | |
| 2834 | + | |
| 2835 | +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); | |
| 2836 | +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 2837 | +var createElement = __webpack_require__(/*! ../internals/document-create-element */ "../node_modules/core-js/internals/document-create-element.js"); | |
| 2838 | + | |
| 2839 | +// Thanks to IE8 for its funny defineProperty | |
| 2840 | +module.exports = !DESCRIPTORS && !fails(function () { | |
| 2841 | + // eslint-disable-next-line es/no-object-defineproperty -- required for testing | |
| 2842 | + return Object.defineProperty(createElement('div'), 'a', { | |
| 2843 | + get: function () { return 7; } | |
| 2844 | + }).a != 7; | |
| 2845 | +}); | |
| 2846 | + | |
| 2847 | + | |
| 2848 | +/***/ }), | |
| 2849 | + | |
| 2850 | +/***/ "../node_modules/core-js/internals/indexed-object.js": | |
| 2851 | +/*!***********************************************************!*\ | |
| 2852 | + !*** ../node_modules/core-js/internals/indexed-object.js ***! | |
| 2853 | + \***********************************************************/ | |
| 2854 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2855 | + | |
| 2856 | +"use strict"; | |
| 2857 | + | |
| 2858 | +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); | |
| 2859 | +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 2860 | +var classof = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js"); | |
| 2861 | + | |
| 2862 | +var $Object = Object; | |
| 2863 | +var split = uncurryThis(''.split); | |
| 2864 | + | |
| 2865 | +// fallback for non-array-like ES3 and non-enumerable old V8 strings | |
| 2866 | +module.exports = fails(function () { | |
| 2867 | + // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 | |
| 2868 | + // eslint-disable-next-line no-prototype-builtins -- safe | |
| 2869 | + return !$Object('z').propertyIsEnumerable(0); | |
| 2870 | +}) ? function (it) { | |
| 2871 | + return classof(it) == 'String' ? split(it, '') : $Object(it); | |
| 2872 | +} : $Object; | |
| 2873 | + | |
| 2874 | + | |
| 2875 | +/***/ }), | |
| 2876 | + | |
| 2877 | +/***/ "../node_modules/core-js/internals/inspect-source.js": | |
| 2878 | +/*!***********************************************************!*\ | |
| 2879 | + !*** ../node_modules/core-js/internals/inspect-source.js ***! | |
| 2880 | + \***********************************************************/ | |
| 2881 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2882 | + | |
| 2883 | +"use strict"; | |
| 2884 | + | |
| 2885 | +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); | |
| 2886 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 2887 | +var store = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js"); | |
| 2888 | + | |
| 2889 | +var functionToString = uncurryThis(Function.toString); | |
| 2890 | + | |
| 2891 | +// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper | |
| 2892 | +if (!isCallable(store.inspectSource)) { | |
| 2893 | + store.inspectSource = function (it) { | |
| 2894 | + return functionToString(it); | |
| 2895 | + }; | |
| 2896 | +} | |
| 2897 | + | |
| 2898 | +module.exports = store.inspectSource; | |
| 2899 | + | |
| 2900 | + | |
| 2901 | +/***/ }), | |
| 2902 | + | |
| 2903 | +/***/ "../node_modules/core-js/internals/internal-state.js": | |
| 2904 | +/*!***********************************************************!*\ | |
| 2905 | + !*** ../node_modules/core-js/internals/internal-state.js ***! | |
| 2906 | + \***********************************************************/ | |
| 2907 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2908 | + | |
| 2909 | +"use strict"; | |
| 2910 | + | |
| 2911 | +var NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/weak-map-basic-detection */ "../node_modules/core-js/internals/weak-map-basic-detection.js"); | |
| 2912 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 2913 | +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); | |
| 2914 | +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); | |
| 2915 | +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); | |
| 2916 | +var shared = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js"); | |
| 2917 | +var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "../node_modules/core-js/internals/shared-key.js"); | |
| 2918 | +var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js"); | |
| 2919 | + | |
| 2920 | +var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; | |
| 2921 | +var TypeError = global.TypeError; | |
| 2922 | +var WeakMap = global.WeakMap; | |
| 2923 | +var set, get, has; | |
| 2924 | + | |
| 2925 | +var enforce = function (it) { | |
| 2926 | + return has(it) ? get(it) : set(it, {}); | |
| 2927 | +}; | |
| 2928 | + | |
| 2929 | +var getterFor = function (TYPE) { | |
| 2930 | + return function (it) { | |
| 2931 | + var state; | |
| 2932 | + if (!isObject(it) || (state = get(it)).type !== TYPE) { | |
| 2933 | + throw TypeError('Incompatible receiver, ' + TYPE + ' required'); | |
| 2934 | + } return state; | |
| 2935 | + }; | |
| 2936 | +}; | |
| 2937 | + | |
| 2938 | +if (NATIVE_WEAK_MAP || shared.state) { | |
| 2939 | + var store = shared.state || (shared.state = new WeakMap()); | |
| 2940 | + /* eslint-disable no-self-assign -- prototype methods protection */ | |
| 2941 | + store.get = store.get; | |
| 2942 | + store.has = store.has; | |
| 2943 | + store.set = store.set; | |
| 2944 | + /* eslint-enable no-self-assign -- prototype methods protection */ | |
| 2945 | + set = function (it, metadata) { | |
| 2946 | + if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED); | |
| 2947 | + metadata.facade = it; | |
| 2948 | + store.set(it, metadata); | |
| 2949 | + return metadata; | |
| 2950 | + }; | |
| 2951 | + get = function (it) { | |
| 2952 | + return store.get(it) || {}; | |
| 2953 | + }; | |
| 2954 | + has = function (it) { | |
| 2955 | + return store.has(it); | |
| 2956 | + }; | |
| 2957 | +} else { | |
| 2958 | + var STATE = sharedKey('state'); | |
| 2959 | + hiddenKeys[STATE] = true; | |
| 2960 | + set = function (it, metadata) { | |
| 2961 | + if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED); | |
| 2962 | + metadata.facade = it; | |
| 2963 | + createNonEnumerableProperty(it, STATE, metadata); | |
| 2964 | + return metadata; | |
| 2965 | + }; | |
| 2966 | + get = function (it) { | |
| 2967 | + return hasOwn(it, STATE) ? it[STATE] : {}; | |
| 2968 | + }; | |
| 2969 | + has = function (it) { | |
| 2970 | + return hasOwn(it, STATE); | |
| 2971 | + }; | |
| 2972 | +} | |
| 2973 | + | |
| 2974 | +module.exports = { | |
| 2975 | + set: set, | |
| 2976 | + get: get, | |
| 2977 | + has: has, | |
| 2978 | + enforce: enforce, | |
| 2979 | + getterFor: getterFor | |
| 2980 | +}; | |
| 2981 | + | |
| 2982 | + | |
| 2983 | +/***/ }), | |
| 2984 | + | |
| 2985 | +/***/ "../node_modules/core-js/internals/is-array.js": | |
| 2986 | +/*!*****************************************************!*\ | |
| 2987 | + !*** ../node_modules/core-js/internals/is-array.js ***! | |
| 2988 | + \*****************************************************/ | |
| 2989 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2990 | + | |
| 2991 | +"use strict"; | |
| 2992 | + | |
| 2993 | +var classof = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js"); | |
| 2994 | + | |
| 2995 | +// `IsArray` abstract operation | |
| 2996 | +// https://tc39.es/ecma262/#sec-isarray | |
| 2997 | +// eslint-disable-next-line es/no-array-isarray -- safe | |
| 2998 | +module.exports = Array.isArray || function isArray(argument) { | |
| 2999 | + return classof(argument) == 'Array'; | |
| 3000 | +}; | |
| 3001 | + | |
| 3002 | + | |
| 3003 | +/***/ }), | |
| 3004 | + | |
| 3005 | +/***/ "../node_modules/core-js/internals/is-callable.js": | |
| 3006 | +/*!********************************************************!*\ | |
| 3007 | + !*** ../node_modules/core-js/internals/is-callable.js ***! | |
| 3008 | + \********************************************************/ | |
| 3009 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3010 | + | |
| 3011 | +"use strict"; | |
| 3012 | + | |
| 3013 | +var $documentAll = __webpack_require__(/*! ../internals/document-all */ "../node_modules/core-js/internals/document-all.js"); | |
| 3014 | + | |
| 3015 | +var documentAll = $documentAll.all; | |
| 3016 | + | |
| 3017 | +// `IsCallable` abstract operation | |
| 3018 | +// https://tc39.es/ecma262/#sec-iscallable | |
| 3019 | +module.exports = $documentAll.IS_HTMLDDA ? function (argument) { | |
| 3020 | + return typeof argument == 'function' || argument === documentAll; | |
| 3021 | +} : function (argument) { | |
| 3022 | + return typeof argument == 'function'; | |
| 3023 | +}; | |
| 3024 | + | |
| 3025 | + | |
| 3026 | +/***/ }), | |
| 3027 | + | |
| 3028 | +/***/ "../node_modules/core-js/internals/is-forced.js": | |
| 3029 | +/*!******************************************************!*\ | |
| 3030 | + !*** ../node_modules/core-js/internals/is-forced.js ***! | |
| 3031 | + \******************************************************/ | |
| 3032 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3033 | + | |
| 3034 | +"use strict"; | |
| 3035 | + | |
| 3036 | +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 3037 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 3038 | + | |
| 3039 | +var replacement = /#|\.prototype\./; | |
| 3040 | + | |
| 3041 | +var isForced = function (feature, detection) { | |
| 3042 | + var value = data[normalize(feature)]; | |
| 3043 | + return value == POLYFILL ? true | |
| 3044 | + : value == NATIVE ? false | |
| 3045 | + : isCallable(detection) ? fails(detection) | |
| 3046 | + : !!detection; | |
| 3047 | +}; | |
| 3048 | + | |
| 3049 | +var normalize = isForced.normalize = function (string) { | |
| 3050 | + return String(string).replace(replacement, '.').toLowerCase(); | |
| 3051 | +}; | |
| 3052 | + | |
| 3053 | +var data = isForced.data = {}; | |
| 3054 | +var NATIVE = isForced.NATIVE = 'N'; | |
| 3055 | +var POLYFILL = isForced.POLYFILL = 'P'; | |
| 3056 | + | |
| 3057 | +module.exports = isForced; | |
| 3058 | + | |
| 3059 | + | |
| 3060 | +/***/ }), | |
| 3061 | + | |
| 3062 | +/***/ "../node_modules/core-js/internals/is-null-or-undefined.js": | |
| 3063 | +/*!*****************************************************************!*\ | |
| 3064 | + !*** ../node_modules/core-js/internals/is-null-or-undefined.js ***! | |
| 3065 | + \*****************************************************************/ | |
| 3066 | +/***/ ((module) => { | |
| 3067 | + | |
| 3068 | +"use strict"; | |
| 3069 | + | |
| 3070 | +// we can't use just `it == null` since of `document.all` special case | |
| 3071 | +// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec | |
| 3072 | +module.exports = function (it) { | |
| 3073 | + return it === null || it === undefined; | |
| 3074 | +}; | |
| 3075 | + | |
| 3076 | + | |
| 3077 | +/***/ }), | |
| 3078 | + | |
| 3079 | +/***/ "../node_modules/core-js/internals/is-object.js": | |
| 3080 | +/*!******************************************************!*\ | |
| 3081 | + !*** ../node_modules/core-js/internals/is-object.js ***! | |
| 3082 | + \******************************************************/ | |
| 3083 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3084 | + | |
| 3085 | +"use strict"; | |
| 3086 | + | |
| 3087 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 3088 | +var $documentAll = __webpack_require__(/*! ../internals/document-all */ "../node_modules/core-js/internals/document-all.js"); | |
| 3089 | + | |
| 3090 | +var documentAll = $documentAll.all; | |
| 3091 | + | |
| 3092 | +module.exports = $documentAll.IS_HTMLDDA ? function (it) { | |
| 3093 | + return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll; | |
| 3094 | +} : function (it) { | |
| 3095 | + return typeof it == 'object' ? it !== null : isCallable(it); | |
| 3096 | +}; | |
| 3097 | + | |
| 3098 | + | |
| 3099 | +/***/ }), | |
| 3100 | + | |
| 3101 | +/***/ "../node_modules/core-js/internals/is-pure.js": | |
| 3102 | +/*!****************************************************!*\ | |
| 3103 | + !*** ../node_modules/core-js/internals/is-pure.js ***! | |
| 3104 | + \****************************************************/ | |
| 3105 | +/***/ ((module) => { | |
| 3106 | + | |
| 3107 | +"use strict"; | |
| 3108 | + | |
| 3109 | +module.exports = false; | |
| 3110 | + | |
| 3111 | + | |
| 3112 | +/***/ }), | |
| 3113 | + | |
| 3114 | +/***/ "../node_modules/core-js/internals/is-symbol.js": | |
| 3115 | +/*!******************************************************!*\ | |
| 3116 | + !*** ../node_modules/core-js/internals/is-symbol.js ***! | |
| 3117 | + \******************************************************/ | |
| 3118 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3119 | + | |
| 3120 | +"use strict"; | |
| 3121 | + | |
| 3122 | +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js"); | |
| 3123 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 3124 | +var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js"); | |
| 3125 | +var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../node_modules/core-js/internals/use-symbol-as-uid.js"); | |
| 3126 | + | |
| 3127 | +var $Object = Object; | |
| 3128 | + | |
| 3129 | +module.exports = USE_SYMBOL_AS_UID ? function (it) { | |
| 3130 | + return typeof it == 'symbol'; | |
| 3131 | +} : function (it) { | |
| 3132 | + var $Symbol = getBuiltIn('Symbol'); | |
| 3133 | + return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it)); | |
| 3134 | +}; | |
| 3135 | + | |
| 3136 | + | |
| 3137 | +/***/ }), | |
| 3138 | + | |
| 3139 | +/***/ "../node_modules/core-js/internals/length-of-array-like.js": | |
| 3140 | +/*!*****************************************************************!*\ | |
| 3141 | + !*** ../node_modules/core-js/internals/length-of-array-like.js ***! | |
| 3142 | + \*****************************************************************/ | |
| 3143 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3144 | + | |
| 3145 | +"use strict"; | |
| 3146 | + | |
| 3147 | +var toLength = __webpack_require__(/*! ../internals/to-length */ "../node_modules/core-js/internals/to-length.js"); | |
| 3148 | + | |
| 3149 | +// `LengthOfArrayLike` abstract operation | |
| 3150 | +// https://tc39.es/ecma262/#sec-lengthofarraylike | |
| 3151 | +module.exports = function (obj) { | |
| 3152 | + return toLength(obj.length); | |
| 3153 | +}; | |
| 3154 | + | |
| 3155 | + | |
| 3156 | +/***/ }), | |
| 3157 | + | |
| 3158 | +/***/ "../node_modules/core-js/internals/make-built-in.js": | |
| 3159 | +/*!**********************************************************!*\ | |
| 3160 | + !*** ../node_modules/core-js/internals/make-built-in.js ***! | |
| 3161 | + \**********************************************************/ | |
| 3162 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3163 | + | |
| 3164 | +"use strict"; | |
| 3165 | + | |
| 3166 | +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); | |
| 3167 | +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 3168 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 3169 | +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); | |
| 3170 | +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); | |
| 3171 | +var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ "../node_modules/core-js/internals/function-name.js").CONFIGURABLE); | |
| 3172 | +var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../node_modules/core-js/internals/inspect-source.js"); | |
| 3173 | +var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "../node_modules/core-js/internals/internal-state.js"); | |
| 3174 | + | |
| 3175 | +var enforceInternalState = InternalStateModule.enforce; | |
| 3176 | +var getInternalState = InternalStateModule.get; | |
| 3177 | +var $String = String; | |
| 3178 | +// eslint-disable-next-line es/no-object-defineproperty -- safe | |
| 3179 | +var defineProperty = Object.defineProperty; | |
| 3180 | +var stringSlice = uncurryThis(''.slice); | |
| 3181 | +var replace = uncurryThis(''.replace); | |
| 3182 | +var join = uncurryThis([].join); | |
| 3183 | + | |
| 3184 | +var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () { | |
| 3185 | + return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; | |
| 3186 | +}); | |
| 3187 | + | |
| 3188 | +var TEMPLATE = String(String).split('String'); | |
| 3189 | + | |
| 3190 | +var makeBuiltIn = module.exports = function (value, name, options) { | |
| 3191 | + if (stringSlice($String(name), 0, 7) === 'Symbol(') { | |
| 3192 | + name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']'; | |
| 3193 | + } | |
| 3194 | + if (options && options.getter) name = 'get ' + name; | |
| 3195 | + if (options && options.setter) name = 'set ' + name; | |
| 3196 | + if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { | |
| 3197 | + if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true }); | |
| 3198 | + else value.name = name; | |
| 3199 | + } | |
| 3200 | + if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) { | |
| 3201 | + defineProperty(value, 'length', { value: options.arity }); | |
| 3202 | + } | |
| 3203 | + try { | |
| 3204 | + if (options && hasOwn(options, 'constructor') && options.constructor) { | |
| 3205 | + if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false }); | |
| 3206 | + // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable | |
| 3207 | + } else if (value.prototype) value.prototype = undefined; | |
| 3208 | + } catch (error) { /* empty */ } | |
| 3209 | + var state = enforceInternalState(value); | |
| 3210 | + if (!hasOwn(state, 'source')) { | |
| 3211 | + state.source = join(TEMPLATE, typeof name == 'string' ? name : ''); | |
| 3212 | + } return value; | |
| 3213 | +}; | |
| 3214 | + | |
| 3215 | +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative | |
| 3216 | +// eslint-disable-next-line no-extend-native -- required | |
| 3217 | +Function.prototype.toString = makeBuiltIn(function toString() { | |
| 3218 | + return isCallable(this) && getInternalState(this).source || inspectSource(this); | |
| 3219 | +}, 'toString'); | |
| 3220 | + | |
| 3221 | + | |
| 3222 | +/***/ }), | |
| 3223 | + | |
| 3224 | +/***/ "../node_modules/core-js/internals/math-trunc.js": | |
| 3225 | +/*!*******************************************************!*\ | |
| 3226 | + !*** ../node_modules/core-js/internals/math-trunc.js ***! | |
| 3227 | + \*******************************************************/ | |
| 3228 | +/***/ ((module) => { | |
| 3229 | + | |
| 3230 | +"use strict"; | |
| 3231 | + | |
| 3232 | +var ceil = Math.ceil; | |
| 3233 | +var floor = Math.floor; | |
| 3234 | + | |
| 3235 | +// `Math.trunc` method | |
| 3236 | +// https://tc39.es/ecma262/#sec-math.trunc | |
| 3237 | +// eslint-disable-next-line es/no-math-trunc -- safe | |
| 3238 | +module.exports = Math.trunc || function trunc(x) { | |
| 3239 | + var n = +x; | |
| 3240 | + return (n > 0 ? floor : ceil)(n); | |
| 3241 | +}; | |
| 3242 | + | |
| 3243 | + | |
| 3244 | +/***/ }), | |
| 3245 | + | |
| 3246 | +/***/ "../node_modules/core-js/internals/object-create.js": | |
| 3247 | +/*!**********************************************************!*\ | |
| 3248 | + !*** ../node_modules/core-js/internals/object-create.js ***! | |
| 3249 | + \**********************************************************/ | |
| 3250 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3251 | + | |
| 3252 | +"use strict"; | |
| 3253 | + | |
| 3254 | +/* global ActiveXObject -- old IE, WSH */ | |
| 3255 | +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); | |
| 3256 | +var definePropertiesModule = __webpack_require__(/*! ../internals/object-define-properties */ "../node_modules/core-js/internals/object-define-properties.js"); | |
| 3257 | +var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "../node_modules/core-js/internals/enum-bug-keys.js"); | |
| 3258 | +var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js"); | |
| 3259 | +var html = __webpack_require__(/*! ../internals/html */ "../node_modules/core-js/internals/html.js"); | |
| 3260 | +var documentCreateElement = __webpack_require__(/*! ../internals/document-create-element */ "../node_modules/core-js/internals/document-create-element.js"); | |
| 3261 | +var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "../node_modules/core-js/internals/shared-key.js"); | |
| 3262 | + | |
| 3263 | +var GT = '>'; | |
| 3264 | +var LT = '<'; | |
| 3265 | +var PROTOTYPE = 'prototype'; | |
| 3266 | +var SCRIPT = 'script'; | |
| 3267 | +var IE_PROTO = sharedKey('IE_PROTO'); | |
| 3268 | + | |
| 3269 | +var EmptyConstructor = function () { /* empty */ }; | |
| 3270 | + | |
| 3271 | +var scriptTag = function (content) { | |
| 3272 | + return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT; | |
| 3273 | +}; | |
| 3274 | + | |
| 3275 | +// Create object with fake `null` prototype: use ActiveX Object with cleared prototype | |
| 3276 | +var NullProtoObjectViaActiveX = function (activeXDocument) { | |
| 3277 | + activeXDocument.write(scriptTag('')); | |
| 3278 | + activeXDocument.close(); | |
| 3279 | + var temp = activeXDocument.parentWindow.Object; | |
| 3280 | + activeXDocument = null; // avoid memory leak | |
| 3281 | + return temp; | |
| 3282 | +}; | |
| 3283 | + | |
| 3284 | +// Create object with fake `null` prototype: use iframe Object with cleared prototype | |
| 3285 | +var NullProtoObjectViaIFrame = function () { | |
| 3286 | + // Thrash, waste and sodomy: IE GC bug | |
| 3287 | + var iframe = documentCreateElement('iframe'); | |
| 3288 | + var JS = 'java' + SCRIPT + ':'; | |
| 3289 | + var iframeDocument; | |
| 3290 | + iframe.style.display = 'none'; | |
| 3291 | + html.appendChild(iframe); | |
| 3292 | + // https://github.com/zloirock/core-js/issues/475 | |
| 3293 | + iframe.src = String(JS); | |
| 3294 | + iframeDocument = iframe.contentWindow.document; | |
| 3295 | + iframeDocument.open(); | |
| 3296 | + iframeDocument.write(scriptTag('document.F=Object')); | |
| 3297 | + iframeDocument.close(); | |
| 3298 | + return iframeDocument.F; | |
| 3299 | +}; | |
| 3300 | + | |
| 3301 | +// Check for document.domain and active x support | |
| 3302 | +// No need to use active x approach when document.domain is not set | |
| 3303 | +// see https://github.com/es-shims/es5-shim/issues/150 | |
| 3304 | +// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346 | |
| 3305 | +// avoid IE GC bug | |
| 3306 | +var activeXDocument; | |
| 3307 | +var NullProtoObject = function () { | |
| 3308 | + try { | |
| 3309 | + activeXDocument = new ActiveXObject('htmlfile'); | |
| 3310 | + } catch (error) { /* ignore */ } | |
| 3311 | + NullProtoObject = typeof document != 'undefined' | |
| 3312 | + ? document.domain && activeXDocument | |
| 3313 | + ? NullProtoObjectViaActiveX(activeXDocument) // old IE | |
| 3314 | + : NullProtoObjectViaIFrame() | |
| 3315 | + : NullProtoObjectViaActiveX(activeXDocument); // WSH | |
| 3316 | + var length = enumBugKeys.length; | |
| 3317 | + while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; | |
| 3318 | + return NullProtoObject(); | |
| 3319 | +}; | |
| 3320 | + | |
| 3321 | +hiddenKeys[IE_PROTO] = true; | |
| 3322 | + | |
| 3323 | +// `Object.create` method | |
| 3324 | +// https://tc39.es/ecma262/#sec-object.create | |
| 3325 | +// eslint-disable-next-line es/no-object-create -- safe | |
| 3326 | +module.exports = Object.create || function create(O, Properties) { | |
| 3327 | + var result; | |
| 3328 | + if (O !== null) { | |
| 3329 | + EmptyConstructor[PROTOTYPE] = anObject(O); | |
| 3330 | + result = new EmptyConstructor(); | |
| 3331 | + EmptyConstructor[PROTOTYPE] = null; | |
| 3332 | + // add "__proto__" for Object.getPrototypeOf polyfill | |
| 3333 | + result[IE_PROTO] = O; | |
| 3334 | + } else result = NullProtoObject(); | |
| 3335 | + return Properties === undefined ? result : definePropertiesModule.f(result, Properties); | |
| 3336 | +}; | |
| 3337 | + | |
| 3338 | + | |
| 3339 | +/***/ }), | |
| 3340 | + | |
| 3341 | +/***/ "../node_modules/core-js/internals/object-define-properties.js": | |
| 3342 | +/*!*********************************************************************!*\ | |
| 3343 | + !*** ../node_modules/core-js/internals/object-define-properties.js ***! | |
| 3344 | + \*********************************************************************/ | |
| 3345 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 3346 | + | |
| 3347 | +"use strict"; | |
| 3348 | + | |
| 3349 | +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); | |
| 3350 | +var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "../node_modules/core-js/internals/v8-prototype-define-bug.js"); | |
| 3351 | +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js"); | |
| 3352 | +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); | |
| 3353 | +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js"); | |
| 3354 | +var objectKeys = __webpack_require__(/*! ../internals/object-keys */ "../node_modules/core-js/internals/object-keys.js"); | |
| 3355 | + | |
| 3356 | +// `Object.defineProperties` method | |
| 3357 | +// https://tc39.es/ecma262/#sec-object.defineproperties | |
| 3358 | +// eslint-disable-next-line es/no-object-defineproperties -- safe | |
| 3359 | +exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { | |
| 3360 | + anObject(O); | |
| 3361 | + var props = toIndexedObject(Properties); | |
| 3362 | + var keys = objectKeys(Properties); | |
| 3363 | + var length = keys.length; | |
| 3364 | + var index = 0; | |
| 3365 | + var key; | |
| 3366 | + while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]); | |
| 3367 | + return O; | |
| 3368 | +}; | |
| 3369 | + | |
| 3370 | + | |
| 3371 | +/***/ }), | |
| 3372 | + | |
| 3373 | +/***/ "../node_modules/core-js/internals/object-define-property.js": | |
| 3374 | +/*!*******************************************************************!*\ | |
| 3375 | + !*** ../node_modules/core-js/internals/object-define-property.js ***! | |
| 3376 | + \*******************************************************************/ | |
| 3377 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 3378 | + | |
| 3379 | +"use strict"; | |
| 3380 | + | |
| 3381 | +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); | |
| 3382 | +var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../node_modules/core-js/internals/ie8-dom-define.js"); | |
| 3383 | +var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "../node_modules/core-js/internals/v8-prototype-define-bug.js"); | |
| 3384 | +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); | |
| 3385 | +var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../node_modules/core-js/internals/to-property-key.js"); | |
| 3386 | + | |
| 3387 | +var $TypeError = TypeError; | |
| 3388 | +// eslint-disable-next-line es/no-object-defineproperty -- safe | |
| 3389 | +var $defineProperty = Object.defineProperty; | |
| 3390 | +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe | |
| 3391 | +var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
| 3392 | +var ENUMERABLE = 'enumerable'; | |
| 3393 | +var CONFIGURABLE = 'configurable'; | |
| 3394 | +var WRITABLE = 'writable'; | |
| 3395 | + | |
| 3396 | +// `Object.defineProperty` method | |
| 3397 | +// https://tc39.es/ecma262/#sec-object.defineproperty | |
| 3398 | +exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) { | |
| 3399 | + anObject(O); | |
| 3400 | + P = toPropertyKey(P); | |
| 3401 | + anObject(Attributes); | |
| 3402 | + if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { | |
| 3403 | + var current = $getOwnPropertyDescriptor(O, P); | |
| 3404 | + if (current && current[WRITABLE]) { | |
| 3405 | + O[P] = Attributes.value; | |
| 3406 | + Attributes = { | |
| 3407 | + configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE], | |
| 3408 | + enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE], | |
| 3409 | + writable: false | |
| 3410 | + }; | |
| 3411 | + } | |
| 3412 | + } return $defineProperty(O, P, Attributes); | |
| 3413 | +} : $defineProperty : function defineProperty(O, P, Attributes) { | |
| 3414 | + anObject(O); | |
| 3415 | + P = toPropertyKey(P); | |
| 3416 | + anObject(Attributes); | |
| 3417 | + if (IE8_DOM_DEFINE) try { | |
| 3418 | + return $defineProperty(O, P, Attributes); | |
| 3419 | + } catch (error) { /* empty */ } | |
| 3420 | + if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported'); | |
| 3421 | + if ('value' in Attributes) O[P] = Attributes.value; | |
| 3422 | + return O; | |
| 3423 | +}; | |
| 3424 | + | |
| 3425 | + | |
| 3426 | +/***/ }), | |
| 3427 | + | |
| 3428 | +/***/ "../node_modules/core-js/internals/object-get-own-property-descriptor.js": | |
| 3429 | +/*!*******************************************************************************!*\ | |
| 3430 | + !*** ../node_modules/core-js/internals/object-get-own-property-descriptor.js ***! | |
| 3431 | + \*******************************************************************************/ | |
| 3432 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 3433 | + | |
| 3434 | +"use strict"; | |
| 3435 | + | |
| 3436 | +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); | |
| 3437 | +var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); | |
| 3438 | +var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ "../node_modules/core-js/internals/object-property-is-enumerable.js"); | |
| 3439 | +var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js"); | |
| 3440 | +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js"); | |
| 3441 | +var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../node_modules/core-js/internals/to-property-key.js"); | |
| 3442 | +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); | |
| 3443 | +var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../node_modules/core-js/internals/ie8-dom-define.js"); | |
| 3444 | + | |
| 3445 | +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe | |
| 3446 | +var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
| 3447 | + | |
| 3448 | +// `Object.getOwnPropertyDescriptor` method | |
| 3449 | +// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor | |
| 3450 | +exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { | |
| 3451 | + O = toIndexedObject(O); | |
| 3452 | + P = toPropertyKey(P); | |
| 3453 | + if (IE8_DOM_DEFINE) try { | |
| 3454 | + return $getOwnPropertyDescriptor(O, P); | |
| 3455 | + } catch (error) { /* empty */ } | |
| 3456 | + if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]); | |
| 3457 | +}; | |
| 3458 | + | |
| 3459 | + | |
| 3460 | +/***/ }), | |
| 3461 | + | |
| 3462 | +/***/ "../node_modules/core-js/internals/object-get-own-property-names.js": | |
| 3463 | +/*!**************************************************************************!*\ | |
| 3464 | + !*** ../node_modules/core-js/internals/object-get-own-property-names.js ***! | |
| 3465 | + \**************************************************************************/ | |
| 3466 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 3467 | + | |
| 3468 | +"use strict"; | |
| 3469 | + | |
| 3470 | +var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "../node_modules/core-js/internals/object-keys-internal.js"); | |
| 3471 | +var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "../node_modules/core-js/internals/enum-bug-keys.js"); | |
| 3472 | + | |
| 3473 | +var hiddenKeys = enumBugKeys.concat('length', 'prototype'); | |
| 3474 | + | |
| 3475 | +// `Object.getOwnPropertyNames` method | |
| 3476 | +// https://tc39.es/ecma262/#sec-object.getownpropertynames | |
| 3477 | +// eslint-disable-next-line es/no-object-getownpropertynames -- safe | |
| 3478 | +exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { | |
| 3479 | + return internalObjectKeys(O, hiddenKeys); | |
| 3480 | +}; | |
| 3481 | + | |
| 3482 | + | |
| 3483 | +/***/ }), | |
| 3484 | + | |
| 3485 | +/***/ "../node_modules/core-js/internals/object-get-own-property-symbols.js": | |
| 3486 | +/*!****************************************************************************!*\ | |
| 3487 | + !*** ../node_modules/core-js/internals/object-get-own-property-symbols.js ***! | |
| 3488 | + \****************************************************************************/ | |
| 3489 | +/***/ ((__unused_webpack_module, exports) => { | |
| 3490 | + | |
| 3491 | +"use strict"; | |
| 3492 | + | |
| 3493 | +// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe | |
| 3494 | +exports.f = Object.getOwnPropertySymbols; | |
| 3495 | + | |
| 3496 | + | |
| 3497 | +/***/ }), | |
| 3498 | + | |
| 3499 | +/***/ "../node_modules/core-js/internals/object-is-prototype-of.js": | |
| 3500 | +/*!*******************************************************************!*\ | |
| 3501 | + !*** ../node_modules/core-js/internals/object-is-prototype-of.js ***! | |
| 3502 | + \*******************************************************************/ | |
| 3503 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3504 | + | |
| 3505 | +"use strict"; | |
| 3506 | + | |
| 3507 | +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); | |
| 3508 | + | |
| 3509 | +module.exports = uncurryThis({}.isPrototypeOf); | |
| 3510 | + | |
| 3511 | + | |
| 3512 | +/***/ }), | |
| 3513 | + | |
| 3514 | +/***/ "../node_modules/core-js/internals/object-keys-internal.js": | |
| 3515 | +/*!*****************************************************************!*\ | |
| 3516 | + !*** ../node_modules/core-js/internals/object-keys-internal.js ***! | |
| 3517 | + \*****************************************************************/ | |
| 3518 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3519 | + | |
| 3520 | +"use strict"; | |
| 3521 | + | |
| 3522 | +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); | |
| 3523 | +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); | |
| 3524 | +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js"); | |
| 3525 | +var indexOf = (__webpack_require__(/*! ../internals/array-includes */ "../node_modules/core-js/internals/array-includes.js").indexOf); | |
| 3526 | +var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js"); | |
| 3527 | + | |
| 3528 | +var push = uncurryThis([].push); | |
| 3529 | + | |
| 3530 | +module.exports = function (object, names) { | |
| 3531 | + var O = toIndexedObject(object); | |
| 3532 | + var i = 0; | |
| 3533 | + var result = []; | |
| 3534 | + var key; | |
| 3535 | + for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key); | |
| 3536 | + // Don't enum bug & hidden keys | |
| 3537 | + while (names.length > i) if (hasOwn(O, key = names[i++])) { | |
| 3538 | + ~indexOf(result, key) || push(result, key); | |
| 3539 | + } | |
| 3540 | + return result; | |
| 3541 | +}; | |
| 3542 | + | |
| 3543 | + | |
| 3544 | +/***/ }), | |
| 3545 | + | |
| 3546 | +/***/ "../node_modules/core-js/internals/object-keys.js": | |
| 3547 | +/*!********************************************************!*\ | |
| 3548 | + !*** ../node_modules/core-js/internals/object-keys.js ***! | |
| 3549 | + \********************************************************/ | |
| 3550 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3551 | + | |
| 3552 | +"use strict"; | |
| 3553 | + | |
| 3554 | +var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "../node_modules/core-js/internals/object-keys-internal.js"); | |
| 3555 | +var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "../node_modules/core-js/internals/enum-bug-keys.js"); | |
| 3556 | + | |
| 3557 | +// `Object.keys` method | |
| 3558 | +// https://tc39.es/ecma262/#sec-object.keys | |
| 3559 | +// eslint-disable-next-line es/no-object-keys -- safe | |
| 3560 | +module.exports = Object.keys || function keys(O) { | |
| 3561 | + return internalObjectKeys(O, enumBugKeys); | |
| 3562 | +}; | |
| 3563 | + | |
| 3564 | + | |
| 3565 | +/***/ }), | |
| 3566 | + | |
| 3567 | +/***/ "../node_modules/core-js/internals/object-property-is-enumerable.js": | |
| 3568 | +/*!**************************************************************************!*\ | |
| 3569 | + !*** ../node_modules/core-js/internals/object-property-is-enumerable.js ***! | |
| 3570 | + \**************************************************************************/ | |
| 3571 | +/***/ ((__unused_webpack_module, exports) => { | |
| 3572 | + | |
| 3573 | +"use strict"; | |
| 3574 | + | |
| 3575 | +var $propertyIsEnumerable = {}.propertyIsEnumerable; | |
| 3576 | +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe | |
| 3577 | +var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
| 3578 | + | |
| 3579 | +// Nashorn ~ JDK8 bug | |
| 3580 | +var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1); | |
| 3581 | + | |
| 3582 | +// `Object.prototype.propertyIsEnumerable` method implementation | |
| 3583 | +// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable | |
| 3584 | +exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { | |
| 3585 | + var descriptor = getOwnPropertyDescriptor(this, V); | |
| 3586 | + return !!descriptor && descriptor.enumerable; | |
| 3587 | +} : $propertyIsEnumerable; | |
| 3588 | + | |
| 3589 | + | |
| 3590 | +/***/ }), | |
| 3591 | + | |
| 3592 | +/***/ "../node_modules/core-js/internals/ordinary-to-primitive.js": | |
| 3593 | +/*!******************************************************************!*\ | |
| 3594 | + !*** ../node_modules/core-js/internals/ordinary-to-primitive.js ***! | |
| 3595 | + \******************************************************************/ | |
| 3596 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3597 | + | |
| 3598 | +"use strict"; | |
| 3599 | + | |
| 3600 | +var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); | |
| 3601 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 3602 | +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); | |
| 3603 | + | |
| 3604 | +var $TypeError = TypeError; | |
| 3605 | + | |
| 3606 | +// `OrdinaryToPrimitive` abstract operation | |
| 3607 | +// https://tc39.es/ecma262/#sec-ordinarytoprimitive | |
| 3608 | +module.exports = function (input, pref) { | |
| 3609 | + var fn, val; | |
| 3610 | + if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; | |
| 3611 | + if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val; | |
| 3612 | + if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; | |
| 3613 | + throw $TypeError("Can't convert object to primitive value"); | |
| 3614 | +}; | |
| 3615 | + | |
| 3616 | + | |
| 3617 | +/***/ }), | |
| 3618 | + | |
| 3619 | +/***/ "../node_modules/core-js/internals/own-keys.js": | |
| 3620 | +/*!*****************************************************!*\ | |
| 3621 | + !*** ../node_modules/core-js/internals/own-keys.js ***! | |
| 3622 | + \*****************************************************/ | |
| 3623 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3624 | + | |
| 3625 | +"use strict"; | |
| 3626 | + | |
| 3627 | +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js"); | |
| 3628 | +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); | |
| 3629 | +var getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ "../node_modules/core-js/internals/object-get-own-property-names.js"); | |
| 3630 | +var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ "../node_modules/core-js/internals/object-get-own-property-symbols.js"); | |
| 3631 | +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); | |
| 3632 | + | |
| 3633 | +var concat = uncurryThis([].concat); | |
| 3634 | + | |
| 3635 | +// all object keys, includes non-enumerable and symbols | |
| 3636 | +module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { | |
| 3637 | + var keys = getOwnPropertyNamesModule.f(anObject(it)); | |
| 3638 | + var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; | |
| 3639 | + return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys; | |
| 3640 | +}; | |
| 3641 | + | |
| 3642 | + | |
| 3643 | +/***/ }), | |
| 3644 | + | |
| 3645 | +/***/ "../node_modules/core-js/internals/require-object-coercible.js": | |
| 3646 | +/*!*********************************************************************!*\ | |
| 3647 | + !*** ../node_modules/core-js/internals/require-object-coercible.js ***! | |
| 3648 | + \*********************************************************************/ | |
| 3649 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3650 | + | |
| 3651 | +"use strict"; | |
| 3652 | + | |
| 3653 | +var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "../node_modules/core-js/internals/is-null-or-undefined.js"); | |
| 3654 | + | |
| 3655 | +var $TypeError = TypeError; | |
| 3656 | + | |
| 3657 | +// `RequireObjectCoercible` abstract operation | |
| 3658 | +// https://tc39.es/ecma262/#sec-requireobjectcoercible | |
| 3659 | +module.exports = function (it) { | |
| 3660 | + if (isNullOrUndefined(it)) throw $TypeError("Can't call method on " + it); | |
| 3661 | + return it; | |
| 3662 | +}; | |
| 3663 | + | |
| 3664 | + | |
| 3665 | +/***/ }), | |
| 3666 | + | |
| 3667 | +/***/ "../node_modules/core-js/internals/shared-key.js": | |
| 3668 | +/*!*******************************************************!*\ | |
| 3669 | + !*** ../node_modules/core-js/internals/shared-key.js ***! | |
| 3670 | + \*******************************************************/ | |
| 3671 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3672 | + | |
| 3673 | +"use strict"; | |
| 3674 | + | |
| 3675 | +var shared = __webpack_require__(/*! ../internals/shared */ "../node_modules/core-js/internals/shared.js"); | |
| 3676 | +var uid = __webpack_require__(/*! ../internals/uid */ "../node_modules/core-js/internals/uid.js"); | |
| 3677 | + | |
| 3678 | +var keys = shared('keys'); | |
| 3679 | + | |
| 3680 | +module.exports = function (key) { | |
| 3681 | + return keys[key] || (keys[key] = uid(key)); | |
| 3682 | +}; | |
| 3683 | + | |
| 3684 | + | |
| 3685 | +/***/ }), | |
| 3686 | + | |
| 3687 | +/***/ "../node_modules/core-js/internals/shared-store.js": | |
| 3688 | +/*!*********************************************************!*\ | |
| 3689 | + !*** ../node_modules/core-js/internals/shared-store.js ***! | |
| 3690 | + \*********************************************************/ | |
| 3691 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3692 | + | |
| 3693 | +"use strict"; | |
| 3694 | + | |
| 3695 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 3696 | +var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js"); | |
| 3697 | + | |
| 3698 | +var SHARED = '__core-js_shared__'; | |
| 3699 | +var store = global[SHARED] || defineGlobalProperty(SHARED, {}); | |
| 3700 | + | |
| 3701 | +module.exports = store; | |
| 3702 | + | |
| 3703 | + | |
| 3704 | +/***/ }), | |
| 3705 | + | |
| 3706 | +/***/ "../node_modules/core-js/internals/shared.js": | |
| 3707 | +/*!***************************************************!*\ | |
| 3708 | + !*** ../node_modules/core-js/internals/shared.js ***! | |
| 3709 | + \***************************************************/ | |
| 3710 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3711 | + | |
| 3712 | +"use strict"; | |
| 3713 | + | |
| 3714 | +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js"); | |
| 3715 | +var store = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js"); | |
| 3716 | + | |
| 3717 | +(module.exports = function (key, value) { | |
| 3718 | + return store[key] || (store[key] = value !== undefined ? value : {}); | |
| 3719 | +})('versions', []).push({ | |
| 3720 | + version: '3.32.0', | |
| 3721 | + mode: IS_PURE ? 'pure' : 'global', | |
| 3722 | + copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)', | |
| 3723 | + license: 'https://github.com/zloirock/core-js/blob/v3.32.0/LICENSE', | |
| 3724 | + source: 'https://github.com/zloirock/core-js' | |
| 3725 | +}); | |
| 3726 | + | |
| 3727 | + | |
| 3728 | +/***/ }), | |
| 3729 | + | |
| 3730 | +/***/ "../node_modules/core-js/internals/symbol-constructor-detection.js": | |
| 3731 | +/*!*************************************************************************!*\ | |
| 3732 | + !*** ../node_modules/core-js/internals/symbol-constructor-detection.js ***! | |
| 3733 | + \*************************************************************************/ | |
| 3734 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3735 | + | |
| 3736 | +"use strict"; | |
| 3737 | + | |
| 3738 | +/* eslint-disable es/no-symbol -- required for testing */ | |
| 3739 | +var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "../node_modules/core-js/internals/engine-v8-version.js"); | |
| 3740 | +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 3741 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 3742 | + | |
| 3743 | +var $String = global.String; | |
| 3744 | + | |
| 3745 | +// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing | |
| 3746 | +module.exports = !!Object.getOwnPropertySymbols && !fails(function () { | |
| 3747 | + var symbol = Symbol(); | |
| 3748 | + // Chrome 38 Symbol has incorrect toString conversion | |
| 3749 | + // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances | |
| 3750 | + // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will, | |
| 3751 | + // of course, fail. | |
| 3752 | + return !$String(symbol) || !(Object(symbol) instanceof Symbol) || | |
| 3753 | + // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances | |
| 3754 | + !Symbol.sham && V8_VERSION && V8_VERSION < 41; | |
| 3755 | +}); | |
| 3756 | + | |
| 3757 | + | |
| 3758 | +/***/ }), | |
| 3759 | + | |
| 3760 | +/***/ "../node_modules/core-js/internals/to-absolute-index.js": | |
| 3761 | +/*!**************************************************************!*\ | |
| 3762 | + !*** ../node_modules/core-js/internals/to-absolute-index.js ***! | |
| 3763 | + \**************************************************************/ | |
| 3764 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3765 | + | |
| 3766 | +"use strict"; | |
| 3767 | + | |
| 3768 | +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "../node_modules/core-js/internals/to-integer-or-infinity.js"); | |
| 3769 | + | |
| 3770 | +var max = Math.max; | |
| 3771 | +var min = Math.min; | |
| 3772 | + | |
| 3773 | +// Helper for a popular repeating case of the spec: | |
| 3774 | +// Let integer be ? ToInteger(index). | |
| 3775 | +// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). | |
| 3776 | +module.exports = function (index, length) { | |
| 3777 | + var integer = toIntegerOrInfinity(index); | |
| 3778 | + return integer < 0 ? max(integer + length, 0) : min(integer, length); | |
| 3779 | +}; | |
| 3780 | + | |
| 3781 | + | |
| 3782 | +/***/ }), | |
| 3783 | + | |
| 3784 | +/***/ "../node_modules/core-js/internals/to-indexed-object.js": | |
| 3785 | +/*!**************************************************************!*\ | |
| 3786 | + !*** ../node_modules/core-js/internals/to-indexed-object.js ***! | |
| 3787 | + \**************************************************************/ | |
| 3788 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3789 | + | |
| 3790 | +"use strict"; | |
| 3791 | + | |
| 3792 | +// toObject with fallback for non-array-like ES3 strings | |
| 3793 | +var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "../node_modules/core-js/internals/indexed-object.js"); | |
| 3794 | +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../node_modules/core-js/internals/require-object-coercible.js"); | |
| 3795 | + | |
| 3796 | +module.exports = function (it) { | |
| 3797 | + return IndexedObject(requireObjectCoercible(it)); | |
| 3798 | +}; | |
| 3799 | + | |
| 3800 | + | |
| 3801 | +/***/ }), | |
| 3802 | + | |
| 3803 | +/***/ "../node_modules/core-js/internals/to-integer-or-infinity.js": | |
| 3804 | +/*!*******************************************************************!*\ | |
| 3805 | + !*** ../node_modules/core-js/internals/to-integer-or-infinity.js ***! | |
| 3806 | + \*******************************************************************/ | |
| 3807 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3808 | + | |
| 3809 | +"use strict"; | |
| 3810 | + | |
| 3811 | +var trunc = __webpack_require__(/*! ../internals/math-trunc */ "../node_modules/core-js/internals/math-trunc.js"); | |
| 3812 | + | |
| 3813 | +// `ToIntegerOrInfinity` abstract operation | |
| 3814 | +// https://tc39.es/ecma262/#sec-tointegerorinfinity | |
| 3815 | +module.exports = function (argument) { | |
| 3816 | + var number = +argument; | |
| 3817 | + // eslint-disable-next-line no-self-compare -- NaN check | |
| 3818 | + return number !== number || number === 0 ? 0 : trunc(number); | |
| 3819 | +}; | |
| 3820 | + | |
| 3821 | + | |
| 3822 | +/***/ }), | |
| 3823 | + | |
| 3824 | +/***/ "../node_modules/core-js/internals/to-length.js": | |
| 3825 | +/*!******************************************************!*\ | |
| 3826 | + !*** ../node_modules/core-js/internals/to-length.js ***! | |
| 3827 | + \******************************************************/ | |
| 3828 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3829 | + | |
| 3830 | +"use strict"; | |
| 3831 | + | |
| 3832 | +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "../node_modules/core-js/internals/to-integer-or-infinity.js"); | |
| 3833 | + | |
| 3834 | +var min = Math.min; | |
| 3835 | + | |
| 3836 | +// `ToLength` abstract operation | |
| 3837 | +// https://tc39.es/ecma262/#sec-tolength | |
| 3838 | +module.exports = function (argument) { | |
| 3839 | + return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 | |
| 3840 | +}; | |
| 3841 | + | |
| 3842 | + | |
| 3843 | +/***/ }), | |
| 3844 | + | |
| 3845 | +/***/ "../node_modules/core-js/internals/to-object.js": | |
| 3846 | +/*!******************************************************!*\ | |
| 3847 | + !*** ../node_modules/core-js/internals/to-object.js ***! | |
| 3848 | + \******************************************************/ | |
| 3849 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3850 | + | |
| 3851 | +"use strict"; | |
| 3852 | + | |
| 3853 | +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../node_modules/core-js/internals/require-object-coercible.js"); | |
| 3854 | + | |
| 3855 | +var $Object = Object; | |
| 3856 | + | |
| 3857 | +// `ToObject` abstract operation | |
| 3858 | +// https://tc39.es/ecma262/#sec-toobject | |
| 3859 | +module.exports = function (argument) { | |
| 3860 | + return $Object(requireObjectCoercible(argument)); | |
| 3861 | +}; | |
| 3862 | + | |
| 3863 | + | |
| 3864 | +/***/ }), | |
| 3865 | + | |
| 3866 | +/***/ "../node_modules/core-js/internals/to-primitive.js": | |
| 3867 | +/*!*********************************************************!*\ | |
| 3868 | + !*** ../node_modules/core-js/internals/to-primitive.js ***! | |
| 3869 | + \*********************************************************/ | |
| 3870 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3871 | + | |
| 3872 | +"use strict"; | |
| 3873 | + | |
| 3874 | +var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); | |
| 3875 | +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); | |
| 3876 | +var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../node_modules/core-js/internals/is-symbol.js"); | |
| 3877 | +var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js"); | |
| 3878 | +var ordinaryToPrimitive = __webpack_require__(/*! ../internals/ordinary-to-primitive */ "../node_modules/core-js/internals/ordinary-to-primitive.js"); | |
| 3879 | +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); | |
| 3880 | + | |
| 3881 | +var $TypeError = TypeError; | |
| 3882 | +var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); | |
| 3883 | + | |
| 3884 | +// `ToPrimitive` abstract operation | |
| 3885 | +// https://tc39.es/ecma262/#sec-toprimitive | |
| 3886 | +module.exports = function (input, pref) { | |
| 3887 | + if (!isObject(input) || isSymbol(input)) return input; | |
| 3888 | + var exoticToPrim = getMethod(input, TO_PRIMITIVE); | |
| 3889 | + var result; | |
| 3890 | + if (exoticToPrim) { | |
| 3891 | + if (pref === undefined) pref = 'default'; | |
| 3892 | + result = call(exoticToPrim, input, pref); | |
| 3893 | + if (!isObject(result) || isSymbol(result)) return result; | |
| 3894 | + throw $TypeError("Can't convert object to primitive value"); | |
| 3895 | + } | |
| 3896 | + if (pref === undefined) pref = 'number'; | |
| 3897 | + return ordinaryToPrimitive(input, pref); | |
| 3898 | +}; | |
| 3899 | + | |
| 3900 | + | |
| 3901 | +/***/ }), | |
| 3902 | + | |
| 3903 | +/***/ "../node_modules/core-js/internals/to-property-key.js": | |
| 3904 | +/*!************************************************************!*\ | |
| 3905 | + !*** ../node_modules/core-js/internals/to-property-key.js ***! | |
| 3906 | + \************************************************************/ | |
| 3907 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3908 | + | |
| 3909 | +"use strict"; | |
| 3910 | + | |
| 3911 | +var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "../node_modules/core-js/internals/to-primitive.js"); | |
| 3912 | +var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../node_modules/core-js/internals/is-symbol.js"); | |
| 3913 | + | |
| 3914 | +// `ToPropertyKey` abstract operation | |
| 3915 | +// https://tc39.es/ecma262/#sec-topropertykey | |
| 3916 | +module.exports = function (argument) { | |
| 3917 | + var key = toPrimitive(argument, 'string'); | |
| 3918 | + return isSymbol(key) ? key : key + ''; | |
| 3919 | +}; | |
| 3920 | + | |
| 3921 | + | |
| 3922 | +/***/ }), | |
| 3923 | + | |
| 3924 | +/***/ "../node_modules/core-js/internals/try-to-string.js": | |
| 3925 | +/*!**********************************************************!*\ | |
| 3926 | + !*** ../node_modules/core-js/internals/try-to-string.js ***! | |
| 3927 | + \**********************************************************/ | |
| 3928 | +/***/ ((module) => { | |
| 3929 | + | |
| 3930 | +"use strict"; | |
| 3931 | + | |
| 3932 | +var $String = String; | |
| 3933 | + | |
| 3934 | +module.exports = function (argument) { | |
| 3935 | + try { | |
| 3936 | + return $String(argument); | |
| 3937 | + } catch (error) { | |
| 3938 | + return 'Object'; | |
| 3939 | + } | |
| 3940 | +}; | |
| 3941 | + | |
| 3942 | + | |
| 3943 | +/***/ }), | |
| 3944 | + | |
| 3945 | +/***/ "../node_modules/core-js/internals/uid.js": | |
| 3946 | +/*!************************************************!*\ | |
| 3947 | + !*** ../node_modules/core-js/internals/uid.js ***! | |
| 3948 | + \************************************************/ | |
| 3949 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3950 | + | |
| 3951 | +"use strict"; | |
| 3952 | + | |
| 3953 | +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); | |
| 3954 | + | |
| 3955 | +var id = 0; | |
| 3956 | +var postfix = Math.random(); | |
| 3957 | +var toString = uncurryThis(1.0.toString); | |
| 3958 | + | |
| 3959 | +module.exports = function (key) { | |
| 3960 | + return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); | |
| 3961 | +}; | |
| 3962 | + | |
| 3963 | + | |
| 3964 | +/***/ }), | |
| 3965 | + | |
| 3966 | +/***/ "../node_modules/core-js/internals/use-symbol-as-uid.js": | |
| 3967 | +/*!**************************************************************!*\ | |
| 3968 | + !*** ../node_modules/core-js/internals/use-symbol-as-uid.js ***! | |
| 3969 | + \**************************************************************/ | |
| 3970 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3971 | + | |
| 3972 | +"use strict"; | |
| 3973 | + | |
| 3974 | +/* eslint-disable es/no-symbol -- required for testing */ | |
| 3975 | +var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "../node_modules/core-js/internals/symbol-constructor-detection.js"); | |
| 3976 | + | |
| 3977 | +module.exports = NATIVE_SYMBOL | |
| 3978 | + && !Symbol.sham | |
| 3979 | + && typeof Symbol.iterator == 'symbol'; | |
| 3980 | + | |
| 3981 | + | |
| 3982 | +/***/ }), | |
| 3983 | + | |
| 3984 | +/***/ "../node_modules/core-js/internals/v8-prototype-define-bug.js": | |
| 3985 | +/*!********************************************************************!*\ | |
| 3986 | + !*** ../node_modules/core-js/internals/v8-prototype-define-bug.js ***! | |
| 3987 | + \********************************************************************/ | |
| 3988 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3989 | + | |
| 3990 | +"use strict"; | |
| 3991 | + | |
| 3992 | +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); | |
| 3993 | +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 3994 | + | |
| 3995 | +// V8 ~ Chrome 36- | |
| 3996 | +// https://bugs.chromium.org/p/v8/issues/detail?id=3334 | |
| 3997 | +module.exports = DESCRIPTORS && fails(function () { | |
| 3998 | + // eslint-disable-next-line es/no-object-defineproperty -- required for testing | |
| 3999 | + return Object.defineProperty(function () { /* empty */ }, 'prototype', { | |
| 4000 | + value: 42, | |
| 4001 | + writable: false | |
| 4002 | + }).prototype != 42; | |
| 4003 | +}); | |
| 4004 | + | |
| 4005 | + | |
| 4006 | +/***/ }), | |
| 4007 | + | |
| 4008 | +/***/ "../node_modules/core-js/internals/weak-map-basic-detection.js": | |
| 4009 | +/*!*********************************************************************!*\ | |
| 4010 | + !*** ../node_modules/core-js/internals/weak-map-basic-detection.js ***! | |
| 4011 | + \*********************************************************************/ | |
| 4012 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4013 | + | |
| 4014 | +"use strict"; | |
| 4015 | + | |
| 4016 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 4017 | +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); | |
| 4018 | + | |
| 4019 | +var WeakMap = global.WeakMap; | |
| 4020 | + | |
| 4021 | +module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap)); | |
| 4022 | + | |
| 4023 | + | |
| 4024 | +/***/ }), | |
| 4025 | + | |
| 4026 | +/***/ "../node_modules/core-js/internals/well-known-symbol.js": | |
| 4027 | +/*!**************************************************************!*\ | |
| 4028 | + !*** ../node_modules/core-js/internals/well-known-symbol.js ***! | |
| 4029 | + \**************************************************************/ | |
| 4030 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4031 | + | |
| 4032 | +"use strict"; | |
| 4033 | + | |
| 4034 | +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js"); | |
| 4035 | +var shared = __webpack_require__(/*! ../internals/shared */ "../node_modules/core-js/internals/shared.js"); | |
| 4036 | +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); | |
| 4037 | +var uid = __webpack_require__(/*! ../internals/uid */ "../node_modules/core-js/internals/uid.js"); | |
| 4038 | +var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "../node_modules/core-js/internals/symbol-constructor-detection.js"); | |
| 4039 | +var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../node_modules/core-js/internals/use-symbol-as-uid.js"); | |
| 4040 | + | |
| 4041 | +var Symbol = global.Symbol; | |
| 4042 | +var WellKnownSymbolsStore = shared('wks'); | |
| 4043 | +var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid; | |
| 4044 | + | |
| 4045 | +module.exports = function (name) { | |
| 4046 | + if (!hasOwn(WellKnownSymbolsStore, name)) { | |
| 4047 | + WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name) | |
| 4048 | + ? Symbol[name] | |
| 4049 | + : createWellKnownSymbol('Symbol.' + name); | |
| 4050 | + } return WellKnownSymbolsStore[name]; | |
| 4051 | +}; | |
| 4052 | + | |
| 4053 | + | |
| 4054 | +/***/ }), | |
| 4055 | + | |
| 4056 | +/***/ "../node_modules/core-js/modules/es.array.includes.js": | |
| 4057 | +/*!************************************************************!*\ | |
| 4058 | + !*** ../node_modules/core-js/modules/es.array.includes.js ***! | |
| 4059 | + \************************************************************/ | |
| 4060 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4061 | + | |
| 4062 | +"use strict"; | |
| 4063 | + | |
| 4064 | +var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js"); | |
| 4065 | +var $includes = (__webpack_require__(/*! ../internals/array-includes */ "../node_modules/core-js/internals/array-includes.js").includes); | |
| 4066 | +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 4067 | +var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "../node_modules/core-js/internals/add-to-unscopables.js"); | |
| 4068 | + | |
| 4069 | +// FF99+ bug | |
| 4070 | +var BROKEN_ON_SPARSE = fails(function () { | |
| 4071 | + // eslint-disable-next-line es/no-array-prototype-includes -- detection | |
| 4072 | + return !Array(1).includes(); | |
| 4073 | +}); | |
| 4074 | + | |
| 4075 | +// `Array.prototype.includes` method | |
| 4076 | +// https://tc39.es/ecma262/#sec-array.prototype.includes | |
| 4077 | +$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, { | |
| 4078 | + includes: function includes(el /* , fromIndex = 0 */) { | |
| 4079 | + return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); | |
| 4080 | + } | |
| 4081 | +}); | |
| 4082 | + | |
| 4083 | +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables | |
| 4084 | +addToUnscopables('includes'); | |
| 4085 | + | |
| 4086 | + | |
| 4087 | +/***/ }), | |
| 4088 | + | |
| 4089 | +/***/ "../node_modules/core-js/modules/es.array.push.js": | |
| 4090 | +/*!********************************************************!*\ | |
| 4091 | + !*** ../node_modules/core-js/modules/es.array.push.js ***! | |
| 4092 | + \********************************************************/ | |
| 4093 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4094 | + | |
| 4095 | +"use strict"; | |
| 4096 | + | |
| 4097 | +var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js"); | |
| 4098 | +var toObject = __webpack_require__(/*! ../internals/to-object */ "../node_modules/core-js/internals/to-object.js"); | |
| 4099 | +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "../node_modules/core-js/internals/length-of-array-like.js"); | |
| 4100 | +var setArrayLength = __webpack_require__(/*! ../internals/array-set-length */ "../node_modules/core-js/internals/array-set-length.js"); | |
| 4101 | +var doesNotExceedSafeInteger = __webpack_require__(/*! ../internals/does-not-exceed-safe-integer */ "../node_modules/core-js/internals/does-not-exceed-safe-integer.js"); | |
| 4102 | +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 4103 | + | |
| 4104 | +var INCORRECT_TO_LENGTH = fails(function () { | |
| 4105 | + return [].push.call({ length: 0x100000000 }, 1) !== 4294967297; | |
| 4106 | +}); | |
| 4107 | + | |
| 4108 | +// V8 and Safari <= 15.4, FF < 23 throws InternalError | |
| 4109 | +// https://bugs.chromium.org/p/v8/issues/detail?id=12681 | |
| 4110 | +var properErrorOnNonWritableLength = function () { | |
| 4111 | + try { | |
| 4112 | + // eslint-disable-next-line es/no-object-defineproperty -- safe | |
| 4113 | + Object.defineProperty([], 'length', { writable: false }).push(); | |
| 4114 | + } catch (error) { | |
| 4115 | + return error instanceof TypeError; | |
| 4116 | + } | |
| 4117 | +}; | |
| 4118 | + | |
| 4119 | +var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength(); | |
| 4120 | + | |
| 4121 | +// `Array.prototype.push` method | |
| 4122 | +// https://tc39.es/ecma262/#sec-array.prototype.push | |
| 4123 | +$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { | |
| 4124 | + // eslint-disable-next-line no-unused-vars -- required for `.length` | |
| 4125 | + push: function push(item) { | |
| 4126 | + var O = toObject(this); | |
| 4127 | + var len = lengthOfArrayLike(O); | |
| 4128 | + var argCount = arguments.length; | |
| 4129 | + doesNotExceedSafeInteger(len + argCount); | |
| 4130 | + for (var i = 0; i < argCount; i++) { | |
| 4131 | + O[len] = arguments[i]; | |
| 4132 | + len++; | |
| 4133 | + } | |
| 4134 | + setArrayLength(O, len); | |
| 4135 | + return len; | |
| 4136 | + } | |
| 4137 | +}); | |
| 4138 | + | |
| 4139 | + | |
| 4140 | +/***/ }), | |
| 4141 | + | |
| 4142 | +/***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js": | |
| 4143 | +/*!***********************************************************************!*\ | |
| 4144 | + !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! | |
| 4145 | + \***********************************************************************/ | |
| 4146 | +/***/ ((module) => { | |
| 4147 | + | |
| 4148 | +function _interopRequireDefault(e) { | |
| 4149 | + return e && e.__esModule ? e : { | |
| 4150 | + "default": e | |
| 4151 | + }; | |
| 4152 | +} | |
| 4153 | +module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 4154 | + | |
| 4155 | +/***/ }) | |
| 4156 | + | |
| 4157 | +}, | |
| 4158 | +/******/ __webpack_require__ => { // webpackRuntimeModules | |
| 4159 | +/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId)) | |
| 4160 | +/******/ var __webpack_exports__ = (__webpack_exec__("../assets/dev/js/frontend/modules.js")); | |
| 4161 | +/******/ } | |
| 4162 | +]); | |
| 3411 | 4163 | //# sourceMappingURL=frontend-modules.js.map |