PluginProbe
Elementor Website Builder – more than just a page builder / 3.0.13
Elementor Website Builder – more than just a page builder v3.0.13
4.3.2 4.3.1 4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 All 455 releases
← All changes | assets/js/frontend.js +9351 -1874 4.1.0-beta3 → 3.0.13 View file →
@@ -1,1777 +1,4696 @@
1 -"use strict";
2 -(self["webpackChunkelementorFrontend"] = self["webpackChunkelementorFrontend"] || []).push([["frontend"],{
1 +/*! elementor - v3.0.13 - 04-11-2020 */
2 +/******/ (function(modules) { // webpackBootstrap
3 +/******/ // The module cache
4 +/******/ var installedModules = {};
5 +/******/
6 +/******/ // The require function
7 +/******/ function __webpack_require__(moduleId) {
8 +/******/
9 +/******/ // Check if module is in cache
10 +/******/ if(installedModules[moduleId]) {
11 +/******/ return installedModules[moduleId].exports;
12 +/******/ }
13 +/******/ // Create a new module (and put it into the cache)
14 +/******/ var module = installedModules[moduleId] = {
15 +/******/ i: moduleId,
16 +/******/ l: false,
17 +/******/ exports: {}
18 +/******/ };
19 +/******/
20 +/******/ // Execute the module function
21 +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
22 +/******/
23 +/******/ // Flag the module as loaded
24 +/******/ module.l = true;
25 +/******/
26 +/******/ // Return the exports of the module
27 +/******/ return module.exports;
28 +/******/ }
29 +/******/
30 +/******/
31 +/******/ // expose the modules object (__webpack_modules__)
32 +/******/ __webpack_require__.m = modules;
33 +/******/
34 +/******/ // expose the module cache
35 +/******/ __webpack_require__.c = installedModules;
36 +/******/
37 +/******/ // define getter function for harmony exports
38 +/******/ __webpack_require__.d = function(exports, name, getter) {
39 +/******/ if(!__webpack_require__.o(exports, name)) {
40 +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
41 +/******/ }
42 +/******/ };
43 +/******/
44 +/******/ // define __esModule on exports
45 +/******/ __webpack_require__.r = function(exports) {
46 +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
47 +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
48 +/******/ }
49 +/******/ Object.defineProperty(exports, '__esModule', { value: true });
50 +/******/ };
51 +/******/
52 +/******/ // create a fake namespace object
53 +/******/ // mode & 1: value is a module id, require it
54 +/******/ // mode & 2: merge all properties of value into the ns
55 +/******/ // mode & 4: return value when already ns object
56 +/******/ // mode & 8|1: behave like require
57 +/******/ __webpack_require__.t = function(value, mode) {
58 +/******/ if(mode & 1) value = __webpack_require__(value);
59 +/******/ if(mode & 8) return value;
60 +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
61 +/******/ var ns = Object.create(null);
62 +/******/ __webpack_require__.r(ns);
63 +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
64 +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
65 +/******/ return ns;
66 +/******/ };
67 +/******/
68 +/******/ // getDefaultExport function for compatibility with non-harmony modules
69 +/******/ __webpack_require__.n = function(module) {
70 +/******/ var getter = module && module.__esModule ?
71 +/******/ function getDefault() { return module['default']; } :
72 +/******/ function getModuleExports() { return module; };
73 +/******/ __webpack_require__.d(getter, 'a', getter);
74 +/******/ return getter;
75 +/******/ };
76 +/******/
77 +/******/ // Object.prototype.hasOwnProperty.call
78 +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
79 +/******/
80 +/******/ // __webpack_public_path__
81 +/******/ __webpack_require__.p = "";
82 +/******/
83 +/******/
84 +/******/ // Load entry module and return exports
85 +/******/ return __webpack_require__(__webpack_require__.s = 794);
86 +/******/ })
87 +/************************************************************************/
88 +/******/ ([
89 +/* 0 */
90 +/***/ (function(module, exports) {
3 91
4 -/***/ "../assets/dev/js/frontend/documents-manager.js":
5 -/*!******************************************************!*\
6 - !*** ../assets/dev/js/frontend/documents-manager.js ***!
7 - \******************************************************/
8 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
92 +function _interopRequireDefault(obj) {
93 + return obj && obj.__esModule ? obj : {
94 + "default": obj
95 + };
96 +}
9 97
98 +module.exports = _interopRequireDefault;
10 99
100 +/***/ }),
101 +/* 1 */
102 +/***/ (function(module, exports, __webpack_require__) {
11 103
12 -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
13 -Object.defineProperty(exports, "__esModule", ({
14 - value: true
15 -}));
16 -exports["default"] = void 0;
17 -var _document = _interopRequireDefault(__webpack_require__(/*! ./document */ "../assets/dev/js/frontend/document.js"));
18 -class _default extends elementorModules.ViewModule {
19 - constructor(...args) {
20 - super(...args);
21 - this.documents = {};
22 - this.initDocumentClasses();
23 - this.attachDocumentsClasses();
104 +module.exports = __webpack_require__(152);
105 +
106 +/***/ }),
107 +/* 2 */
108 +/***/ (function(module, exports) {
109 +
110 +function _classCallCheck(instance, Constructor) {
111 + if (!(instance instanceof Constructor)) {
112 + throw new TypeError("Cannot call a class as a function");
24 113 }
25 - getDefaultSettings() {
26 - return {
27 - selectors: {
28 - document: '.elementor'
29 - }
30 - };
114 +}
115 +
116 +module.exports = _classCallCheck;
117 +
118 +/***/ }),
119 +/* 3 */
120 +/***/ (function(module, exports, __webpack_require__) {
121 +
122 +var _Object$defineProperty = __webpack_require__(1);
123 +
124 +function _defineProperties(target, props) {
125 + for (var i = 0; i < props.length; i++) {
126 + var descriptor = props[i];
127 + descriptor.enumerable = descriptor.enumerable || false;
128 + descriptor.configurable = true;
129 + if ("value" in descriptor) descriptor.writable = true;
130 +
131 + _Object$defineProperty(target, descriptor.key, descriptor);
31 132 }
32 - getDefaultElements() {
33 - const selectors = this.getSettings('selectors');
34 - return {
35 - $documents: jQuery(selectors.document)
36 - };
133 +}
134 +
135 +function _createClass(Constructor, protoProps, staticProps) {
136 + if (protoProps) _defineProperties(Constructor.prototype, protoProps);
137 + if (staticProps) _defineProperties(Constructor, staticProps);
138 + return Constructor;
139 +}
140 +
141 +module.exports = _createClass;
142 +
143 +/***/ }),
144 +/* 4 */
145 +/***/ (function(module, exports, __webpack_require__) {
146 +
147 +var _Object$create = __webpack_require__(130);
148 +
149 +var setPrototypeOf = __webpack_require__(119);
150 +
151 +function _inherits(subClass, superClass) {
152 + if (typeof superClass !== "function" && superClass !== null) {
153 + throw new TypeError("Super expression must either be null or a function");
37 154 }
38 - initDocumentClasses() {
39 - this.documentClasses = {
40 - base: _document.default
41 - };
42 - elementorFrontend.hooks.doAction('elementor/frontend/documents-manager/init-classes', this);
43 - }
44 - addDocumentClass(documentType, documentClass) {
45 - this.documentClasses[documentType] = documentClass;
46 - }
47 - attachDocumentsClasses() {
48 - this.elements.$documents.each((index, document) => this.attachDocumentClass(jQuery(document)));
49 - }
50 - attachDocumentClass($document) {
51 - const documentData = $document.data(),
52 - documentID = documentData.elementorId,
53 - documentType = documentData.elementorType,
54 - DocumentClass = this.documentClasses[documentType] || this.documentClasses.base;
55 - this.documents[documentID] = new DocumentClass({
56 - $element: $document,
57 - id: documentID
58 - });
59 - }
155 +
156 + subClass.prototype = _Object$create(superClass && superClass.prototype, {
157 + constructor: {
158 + value: subClass,
159 + writable: true,
160 + configurable: true
161 + }
162 + });
163 + if (superClass) setPrototypeOf(subClass, superClass);
60 164 }
61 -exports["default"] = _default;
62 165
166 +module.exports = _inherits;
167 +
63 168 /***/ }),
169 +/* 5 */
170 +/***/ (function(module, exports, __webpack_require__) {
64 171
65 -/***/ "../assets/dev/js/frontend/elements-handlers-manager.js":
66 -/*!**************************************************************!*\
67 - !*** ../assets/dev/js/frontend/elements-handlers-manager.js ***!
68 - \**************************************************************/
69 -/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
172 +var _Reflect$construct = __webpack_require__(95);
70 173
174 +var getPrototypeOf = __webpack_require__(16);
71 175
176 +var isNativeReflectConstruct = __webpack_require__(138);
72 177
73 -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
74 -__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
75 -__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
76 -var _global = _interopRequireDefault(__webpack_require__(/*! ./handlers/global */ "../assets/dev/js/frontend/handlers/global.js"));
77 -var _container = _interopRequireDefault(__webpack_require__(/*! ./handlers/container/container */ "../assets/dev/js/frontend/handlers/container/container.js"));
78 -var _section = _interopRequireDefault(__webpack_require__(/*! ./handlers/section/section */ "../assets/dev/js/frontend/handlers/section/section.js"));
79 -var _column = _interopRequireDefault(__webpack_require__(/*! ./handlers/column */ "../assets/dev/js/frontend/handlers/column.js"));
80 -/* global elementorFrontendConfig */
178 +var possibleConstructorReturn = __webpack_require__(167);
81 179
82 -module.exports = function ($) {
83 - const handlersInstances = {};
84 - this.elementsHandlers = {
85 - 'accordion.default': () => __webpack_require__.e(/*! import() | accordion */ "accordion").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/accordion */ "../assets/dev/js/frontend/handlers/accordion.js")),
86 - 'alert.default': () => __webpack_require__.e(/*! import() | alert */ "alert").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/alert */ "../assets/dev/js/frontend/handlers/alert.js")),
87 - 'counter.default': () => __webpack_require__.e(/*! import() | counter */ "counter").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/counter */ "../assets/dev/js/frontend/handlers/counter.js")),
88 - 'progress.default': () => __webpack_require__.e(/*! import() | progress */ "progress").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/progress */ "../assets/dev/js/frontend/handlers/progress.js")),
89 - 'tabs.default': () => __webpack_require__.e(/*! import() | tabs */ "tabs").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/tabs */ "../assets/dev/js/frontend/handlers/tabs.js")),
90 - 'toggle.default': () => __webpack_require__.e(/*! import() | toggle */ "toggle").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/toggle */ "../assets/dev/js/frontend/handlers/toggle.js")),
91 - 'video.default': () => __webpack_require__.e(/*! import() | video */ "video").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/video */ "../assets/dev/js/frontend/handlers/video.js")),
92 - 'image-carousel.default': () => __webpack_require__.e(/*! import() | image-carousel */ "image-carousel").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/image-carousel */ "../assets/dev/js/frontend/handlers/image-carousel.js")),
93 - 'text-editor.default': () => __webpack_require__.e(/*! import() | text-editor */ "text-editor").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/text-editor */ "../assets/dev/js/frontend/handlers/text-editor.js")),
94 - 'wp-widget-media_audio.default': () => __webpack_require__.e(/*! import() | wp-audio */ "wp-audio").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/wp-audio */ "../assets/dev/js/frontend/handlers/wp-audio.js")),
95 - container: _container.default,
96 - section: _section.default,
97 - column: _column.default
98 - };
99 - if (elementorFrontendConfig.experimentalFeatures['nested-elements']) {
100 - this.elementsHandlers['nested-tabs.default'] = () => __webpack_require__.e(/*! import() | nested-tabs */ "nested-tabs").then(__webpack_require__.bind(__webpack_require__, /*! elementor/modules/nested-tabs/assets/js/frontend/handlers/nested-tabs */ "../modules/nested-tabs/assets/js/frontend/handlers/nested-tabs.js"));
101 - }
102 - if (elementorFrontendConfig.experimentalFeatures['nested-elements']) {
103 - this.elementsHandlers['nested-accordion.default'] = () => __webpack_require__.e(/*! import() | nested-accordion */ "nested-accordion").then(__webpack_require__.bind(__webpack_require__, /*! elementor/modules/nested-accordion/assets/js/frontend/handlers/nested-accordion */ "../modules/nested-accordion/assets/js/frontend/handlers/nested-accordion.js"));
104 - }
105 - if (elementorFrontendConfig.experimentalFeatures.container) {
106 - this.elementsHandlers['contact-buttons.default'] = () => __webpack_require__.e(/*! import() | contact-buttons */ "contact-buttons").then(__webpack_require__.bind(__webpack_require__, /*! elementor/modules/floating-buttons/assets/js/floating-buttons/frontend/handlers/contact-buttons */ "../modules/floating-buttons/assets/js/floating-buttons/frontend/handlers/contact-buttons.js"));
107 - this.elementsHandlers['floating-bars-var-1.default'] = () => __webpack_require__.e(/*! import() | floating-bars */ "floating-bars").then(__webpack_require__.bind(__webpack_require__, /*! elementor/modules/floating-buttons/assets/js/floating-bars/frontend/handlers/floating-bars */ "../modules/floating-buttons/assets/js/floating-bars/frontend/handlers/floating-bars.js"));
108 - }
109 - const addGlobalHandlers = () => elementorFrontend.hooks.addAction('frontend/element_ready/global', _global.default);
110 - const addElementsHandlers = () => {
111 - $.each(this.elementsHandlers, (elementName, Handlers) => {
112 - const elementData = elementName.split('.');
113 - elementName = elementData[0];
114 - const skin = elementData[1] || null;
115 - this.attachHandler(elementName, Handlers, skin);
116 - });
117 - };
118 - const isClassHandler = Handler => Handler.prototype?.getUniqueHandlerID;
119 - const addHandlerWithHook = (elementBaseName, Handler, skin = 'default') => {
120 - skin = skin ? '.' + skin : '';
121 - const elementName = elementBaseName + skin;
122 - elementorFrontend.hooks.addAction(`frontend/element_ready/${elementName}`, $element => {
123 - if (isClassHandler(Handler)) {
124 - this.addHandler(Handler, {
125 - $element,
126 - elementName
127 - }, true);
128 - } else {
129 - const handlerValue = Handler();
130 - if (!handlerValue) {
131 - return;
132 - }
133 - if (handlerValue instanceof Promise) {
134 - handlerValue.then(({
135 - default: dynamicHandler
136 - }) => {
137 - this.addHandler(dynamicHandler, {
138 - $element,
139 - elementName
140 - }, true);
141 - });
142 - } else {
143 - this.addHandler(handlerValue, {
144 - $element,
145 - elementName
146 - }, true);
147 - }
148 - }
149 - });
150 - };
151 - this.addHandler = function (HandlerClass, options) {
152 - const elementID = options.$element.data('model-cid');
153 - let handlerID;
180 +function _createSuper(Derived) {
181 + var hasNativeReflectConstruct = isNativeReflectConstruct();
182 + return function _createSuperInternal() {
183 + var Super = getPrototypeOf(Derived),
184 + result;
154 185
155 - // If element is in edit mode
156 - if (elementID) {
157 - handlerID = HandlerClass.prototype.getConstructorID();
158 - if (!handlersInstances[elementID]) {
159 - handlersInstances[elementID] = {};
160 - }
161 - const oldHandler = handlersInstances[elementID][handlerID];
162 - if (oldHandler) {
163 - oldHandler.onDestroy();
164 - }
186 + if (hasNativeReflectConstruct) {
187 + var NewTarget = getPrototypeOf(this).constructor;
188 + result = _Reflect$construct(Super, arguments, NewTarget);
189 + } else {
190 + result = Super.apply(this, arguments);
165 191 }
166 - const newHandler = new HandlerClass(options);
167 - elementorFrontend.hooks.doAction(`frontend/element_handler_ready/${options.elementName}`, options.$element, $);
168 - if (elementID) {
169 - handlersInstances[elementID][handlerID] = newHandler;
170 - }
192 +
193 + return possibleConstructorReturn(this, result);
171 194 };
172 - this.attachHandler = (elementName, Handlers, skin) => {
173 - if (!Array.isArray(Handlers)) {
174 - Handlers = [Handlers];
195 +}
196 +
197 +module.exports = _createSuper;
198 +
199 +/***/ }),
200 +/* 6 */
201 +/***/ (function(module, exports) {
202 +
203 +var core = module.exports = { version: '2.6.11' };
204 +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
205 +
206 +
207 +/***/ }),
208 +/* 7 */
209 +/***/ (function(module, exports, __webpack_require__) {
210 +
211 +var global = __webpack_require__(8);
212 +var core = __webpack_require__(6);
213 +var ctx = __webpack_require__(29);
214 +var hide = __webpack_require__(22);
215 +var has = __webpack_require__(17);
216 +var PROTOTYPE = 'prototype';
217 +
218 +var $export = function (type, name, source) {
219 + var IS_FORCED = type & $export.F;
220 + var IS_GLOBAL = type & $export.G;
221 + var IS_STATIC = type & $export.S;
222 + var IS_PROTO = type & $export.P;
223 + var IS_BIND = type & $export.B;
224 + var IS_WRAP = type & $export.W;
225 + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
226 + var expProto = exports[PROTOTYPE];
227 + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];
228 + var key, own, out;
229 + if (IS_GLOBAL) source = name;
230 + for (key in source) {
231 + // contains in native
232 + own = !IS_FORCED && target && target[key] !== undefined;
233 + if (own && has(exports, key)) continue;
234 + // export native or passed
235 + out = own ? target[key] : source[key];
236 + // prevent global pollution for namespaces
237 + exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
238 + // bind timers to global for call from export context
239 + : IS_BIND && own ? ctx(out, global)
240 + // wrap global constructors for prevent change them in library
241 + : IS_WRAP && target[key] == out ? (function (C) {
242 + var F = function (a, b, c) {
243 + if (this instanceof C) {
244 + switch (arguments.length) {
245 + case 0: return new C();
246 + case 1: return new C(a);
247 + case 2: return new C(a, b);
248 + } return new C(a, b, c);
249 + } return C.apply(this, arguments);
250 + };
251 + F[PROTOTYPE] = C[PROTOTYPE];
252 + return F;
253 + // make static versions for prototype methods
254 + })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
255 + // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%
256 + if (IS_PROTO) {
257 + (exports.virtual || (exports.virtual = {}))[key] = out;
258 + // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%
259 + if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);
175 260 }
176 - Handlers.forEach(Handler => addHandlerWithHook(elementName, Handler, skin));
261 + }
262 +};
263 +// type bitmap
264 +$export.F = 1; // forced
265 +$export.G = 2; // global
266 +$export.S = 4; // static
267 +$export.P = 8; // proto
268 +$export.B = 16; // bind
269 +$export.W = 32; // wrap
270 +$export.U = 64; // safe
271 +$export.R = 128; // real proto method for `library`
272 +module.exports = $export;
273 +
274 +
275 +/***/ }),
276 +/* 8 */
277 +/***/ (function(module, exports) {
278 +
279 +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
280 +var global = module.exports = typeof window != 'undefined' && window.Math == Math
281 + ? window : typeof self != 'undefined' && self.Math == Math ? self
282 + // eslint-disable-next-line no-new-func
283 + : Function('return this')();
284 +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
285 +
286 +
287 +/***/ }),
288 +/* 9 */
289 +/***/ (function(module, exports) {
290 +
291 +module.exports = function (it) {
292 + return typeof it === 'object' ? it !== null : typeof it === 'function';
293 +};
294 +
295 +
296 +/***/ }),
297 +/* 10 */
298 +/***/ (function(module, exports, __webpack_require__) {
299 +
300 +var store = __webpack_require__(71)('wks');
301 +var uid = __webpack_require__(55);
302 +var Symbol = __webpack_require__(8).Symbol;
303 +var USE_SYMBOL = typeof Symbol == 'function';
304 +
305 +var $exports = module.exports = function (name) {
306 + return store[name] || (store[name] =
307 + USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
308 +};
309 +
310 +$exports.store = store;
311 +
312 +
313 +/***/ }),
314 +/* 11 */
315 +/***/ (function(module, exports, __webpack_require__) {
316 +
317 +var isObject = __webpack_require__(9);
318 +module.exports = function (it) {
319 + if (!isObject(it)) throw TypeError(it + ' is not an object!');
320 + return it;
321 +};
322 +
323 +
324 +/***/ }),
325 +/* 12 */,
326 +/* 13 */
327 +/***/ (function(module, exports, __webpack_require__) {
328 +
329 +var store = __webpack_require__(76)('wks');
330 +var uid = __webpack_require__(77);
331 +var Symbol = __webpack_require__(18).Symbol;
332 +var USE_SYMBOL = typeof Symbol == 'function';
333 +
334 +var $exports = module.exports = function (name) {
335 + return store[name] || (store[name] =
336 + USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
337 +};
338 +
339 +$exports.store = store;
340 +
341 +
342 +/***/ }),
343 +/* 14 */
344 +/***/ (function(module, exports, __webpack_require__) {
345 +
346 +// Thank's IE8 for his funny defineProperty
347 +module.exports = !__webpack_require__(21)(function () {
348 + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
349 +});
350 +
351 +
352 +/***/ }),
353 +/* 15 */
354 +/***/ (function(module, exports, __webpack_require__) {
355 +
356 +var anObject = __webpack_require__(11);
357 +var IE8_DOM_DEFINE = __webpack_require__(110);
358 +var toPrimitive = __webpack_require__(69);
359 +var dP = Object.defineProperty;
360 +
361 +exports.f = __webpack_require__(14) ? Object.defineProperty : function defineProperty(O, P, Attributes) {
362 + anObject(O);
363 + P = toPrimitive(P, true);
364 + anObject(Attributes);
365 + if (IE8_DOM_DEFINE) try {
366 + return dP(O, P, Attributes);
367 + } catch (e) { /* empty */ }
368 + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
369 + if ('value' in Attributes) O[P] = Attributes.value;
370 + return O;
371 +};
372 +
373 +
374 +/***/ }),
375 +/* 16 */
376 +/***/ (function(module, exports, __webpack_require__) {
377 +
378 +var _Object$getPrototypeOf = __webpack_require__(154);
379 +
380 +var _Object$setPrototypeOf = __webpack_require__(111);
381 +
382 +function _getPrototypeOf(o) {
383 + module.exports = _getPrototypeOf = _Object$setPrototypeOf ? _Object$getPrototypeOf : function _getPrototypeOf(o) {
384 + return o.__proto__ || _Object$getPrototypeOf(o);
177 385 };
178 - this.getHandler = function (handlerName) {
179 - const elementHandler = this.elementsHandlers[handlerName];
180 - if (isClassHandler(elementHandler)) {
181 - return elementHandler;
182 - }
183 - return new Promise(res => {
184 - elementHandler().then(({
185 - default: dynamicHandler
186 - }) => {
187 - res(dynamicHandler);
188 - });
189 - });
190 - };
386 + return _getPrototypeOf(o);
387 +}
191 388
192 - /**
193 - * @param {string} handlerName
194 - * @deprecated since 3.1.0, use `elementorFrontend.elementsHandler.getHandler` instead.
195 - */
196 - this.getHandlers = function (handlerName) {
197 - elementorDevTools.deprecation.deprecated('getHandlers', '3.1.0', 'elementorFrontend.elementsHandler.getHandler');
198 - if (handlerName) {
199 - return this.getHandler(handlerName);
200 - }
201 - return this.elementsHandlers;
202 - };
203 - this.runReadyTrigger = function (scope) {
204 - const isDelayChildHandlers = !!scope.closest('[data-delay-child-handlers="true"]') && 0 !== scope.closest('[data-delay-child-handlers="true"]').length;
205 - if (elementorFrontend.config.is_static || isDelayChildHandlers) {
206 - return;
207 - }
389 +module.exports = _getPrototypeOf;
208 390
209 - // Initializing the `$scope` as frontend jQuery instance
210 - const $scope = jQuery(scope),
211 - elementType = $scope.attr('data-element_type');
212 - if (!elementType) {
213 - return;
214 - }
215 - elementorFrontend.hooks.doAction('frontend/element_ready/global', $scope, $);
216 - elementorFrontend.hooks.doAction(`frontend/element_ready/${elementType}`, $scope, $);
217 - if ('widget' === elementType) {
218 - const widgetType = $scope.attr('data-widget_type');
219 - elementorFrontend.hooks.doAction(`frontend/element_ready/${widgetType}`, $scope, $);
220 - }
221 - };
222 - this.init = () => {
223 - addGlobalHandlers();
224 - addElementsHandlers();
225 - };
391 +/***/ }),
392 +/* 17 */
393 +/***/ (function(module, exports) {
394 +
395 +var hasOwnProperty = {}.hasOwnProperty;
396 +module.exports = function (it, key) {
397 + return hasOwnProperty.call(it, key);
226 398 };
227 399
400 +
228 401 /***/ }),
402 +/* 18 */
403 +/***/ (function(module, exports) {
229 404
230 -/***/ "../assets/dev/js/frontend/frontend.js":
231 -/*!*********************************************!*\
232 - !*** ../assets/dev/js/frontend/frontend.js ***!
233 - \*********************************************/
234 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
405 +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
406 +var global = module.exports = typeof window != 'undefined' && window.Math == Math
407 + ? window : typeof self != 'undefined' && self.Math == Math ? self
408 + // eslint-disable-next-line no-new-func
409 + : Function('return this')();
410 +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
235 411
236 412
413 +/***/ }),
414 +/* 19 */
415 +/***/ (function(module, exports, __webpack_require__) {
237 416
238 -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
239 -Object.defineProperty(exports, "__esModule", ({
240 - value: true
241 -}));
242 -exports["default"] = void 0;
243 -__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
244 -__webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js");
245 -__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
246 -__webpack_require__(/*! ../public-path */ "../assets/dev/js/public-path.js");
247 -var _documentsManager = _interopRequireDefault(__webpack_require__(/*! ./documents-manager */ "../assets/dev/js/frontend/documents-manager.js"));
248 -var _storage = _interopRequireDefault(__webpack_require__(/*! elementor-common/utils/storage */ "../core/common/assets/js/utils/storage.js"));
249 -var _environment = _interopRequireDefault(__webpack_require__(/*! elementor-common/utils/environment */ "../core/common/assets/js/utils/environment.js"));
250 -var _youtubeLoader = _interopRequireDefault(__webpack_require__(/*! ./utils/video-api/youtube-loader */ "../assets/dev/js/frontend/utils/video-api/youtube-loader.js"));
251 -var _vimeoLoader = _interopRequireDefault(__webpack_require__(/*! ./utils/video-api/vimeo-loader */ "../assets/dev/js/frontend/utils/video-api/vimeo-loader.js"));
252 -var _baseLoader = _interopRequireDefault(__webpack_require__(/*! ./utils/video-api/base-loader */ "../assets/dev/js/frontend/utils/video-api/base-loader.js"));
253 -var _urlActions = _interopRequireDefault(__webpack_require__(/*! ./utils/url-actions */ "../assets/dev/js/frontend/utils/url-actions.js"));
254 -var _swiper = _interopRequireDefault(__webpack_require__(/*! ./utils/swiper */ "../assets/dev/js/frontend/utils/swiper.js"));
255 -var _lightboxManager = _interopRequireDefault(__webpack_require__(/*! ./utils/lightbox/lightbox-manager */ "../assets/dev/js/frontend/utils/lightbox/lightbox-manager.js"));
256 -var _assetsLoader = _interopRequireDefault(__webpack_require__(/*! ./utils/assets-loader */ "../assets/dev/js/frontend/utils/assets-loader.js"));
257 -var _breakpoints = _interopRequireDefault(__webpack_require__(/*! elementor-utils/breakpoints */ "../assets/dev/js/utils/breakpoints.js"));
258 -var _events = _interopRequireDefault(__webpack_require__(/*! elementor-utils/events */ "../assets/dev/js/utils/events.js"));
259 -var _frontend = _interopRequireDefault(__webpack_require__(/*! elementor/modules/shapes/assets/js/frontend/frontend */ "../modules/shapes/assets/js/frontend/frontend.js"));
260 -var _controls = _interopRequireDefault(__webpack_require__(/*! ./utils/controls */ "../assets/dev/js/frontend/utils/controls.js"));
261 -var _anchorScrollMargin = _interopRequireDefault(__webpack_require__(/*! ./utils/anchor-scroll-margin */ "../assets/dev/js/frontend/utils/anchor-scroll-margin.js"));
262 -var _utils = __webpack_require__(/*! elementor-frontend/utils/utils */ "../assets/dev/js/frontend/utils/utils.js");
263 -/* global elementorFrontendConfig */
417 +// to indexed object, toObject with fallback for non-array-like ES3 strings
418 +var IObject = __webpack_require__(103);
419 +var defined = __webpack_require__(65);
420 +module.exports = function (it) {
421 + return IObject(defined(it));
422 +};
264 423
265 -const EventManager = __webpack_require__(/*! elementor-utils/hooks */ "../assets/dev/js/utils/hooks.js"),
266 - ElementsHandler = __webpack_require__(/*! elementor-frontend/elements-handlers-manager */ "../assets/dev/js/frontend/elements-handlers-manager.js");
267 -class Frontend extends elementorModules.ViewModule {
268 - constructor(...args) {
269 - super(...args);
270 - this.config = elementorFrontendConfig;
271 - this.config.legacyMode = {
272 - /**
273 - * @deprecated since 3.1.0
274 - */
275 - get elementWrappers() {
276 - if (elementorFrontend.isEditMode()) {
277 - window.top.elementorDevTools.deprecation.deprecated('elementorFrontend.config.legacyMode.elementWrappers', '3.1.0');
278 - }
279 - return false;
280 - }
281 - };
282 - this.populateActiveBreakpointsConfig();
424 +
425 +/***/ }),
426 +/* 20 */
427 +/***/ (function(module, exports, __webpack_require__) {
428 +
429 +var isObject = __webpack_require__(31);
430 +module.exports = function (it) {
431 + if (!isObject(it)) throw TypeError(it + ' is not an object!');
432 + return it;
433 +};
434 +
435 +
436 +/***/ }),
437 +/* 21 */
438 +/***/ (function(module, exports) {
439 +
440 +module.exports = function (exec) {
441 + try {
442 + return !!exec();
443 + } catch (e) {
444 + return true;
283 445 }
446 +};
284 447
285 - /**
286 - * @deprecated since 2.5.0, use `elementorModules.frontend.handlers.Base` instead.
287 - */
288 - get Module() {
289 - if (this.isEditMode()) {
290 - parent.elementorDevTools.deprecation.deprecated('elementorFrontend.Module', '2.5.0', 'elementorModules.frontend.handlers.Base');
291 - }
292 - return elementorModules.frontend.handlers.Base;
448 +
449 +/***/ }),
450 +/* 22 */
451 +/***/ (function(module, exports, __webpack_require__) {
452 +
453 +var dP = __webpack_require__(15);
454 +var createDesc = __webpack_require__(42);
455 +module.exports = __webpack_require__(14) ? function (object, key, value) {
456 + return dP.f(object, key, createDesc(1, value));
457 +} : function (object, key, value) {
458 + object[key] = value;
459 + return object;
460 +};
461 +
462 +
463 +/***/ }),
464 +/* 23 */,
465 +/* 24 */
466 +/***/ (function(module, exports, __webpack_require__) {
467 +
468 +"use strict";
469 +
470 +// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)
471 +var $export = __webpack_require__(38);
472 +var $find = __webpack_require__(190)(5);
473 +var KEY = 'find';
474 +var forced = true;
475 +// Shouldn't skip holes
476 +if (KEY in []) Array(1)[KEY](function () { forced = false; });
477 +$export($export.P + $export.F * forced, 'Array', {
478 + find: function find(callbackfn /* , that = undefined */) {
479 + return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
293 480 }
294 - getDefaultSettings() {
295 - return {
296 - selectors: {
297 - elementor: '.elementor',
298 - adminBar: '#wpadminbar'
481 +});
482 +__webpack_require__(90)(KEY);
483 +
484 +
485 +/***/ }),
486 +/* 25 */
487 +/***/ (function(module, exports, __webpack_require__) {
488 +
489 +module.exports = __webpack_require__(202);
490 +
491 +/***/ }),
492 +/* 26 */
493 +/***/ (function(module, exports, __webpack_require__) {
494 +
495 +var _Object$getOwnPropertyDescriptor = __webpack_require__(116);
496 +
497 +var _Reflect$get = __webpack_require__(186);
498 +
499 +var superPropBase = __webpack_require__(189);
500 +
501 +function _get(target, property, receiver) {
502 + if (typeof Reflect !== "undefined" && _Reflect$get) {
503 + module.exports = _get = _Reflect$get;
504 + } else {
505 + module.exports = _get = function _get(target, property, receiver) {
506 + var base = superPropBase(target, property);
507 + if (!base) return;
508 +
509 + var desc = _Object$getOwnPropertyDescriptor(base, property);
510 +
511 + if (desc.get) {
512 + return desc.get.call(receiver);
299 513 }
514 +
515 + return desc.value;
300 516 };
301 517 }
302 - getDefaultElements() {
303 - const defaultElements = {
304 - window,
305 - $window: jQuery(window),
306 - $document: jQuery(document),
307 - $head: jQuery(document.head),
308 - $body: jQuery(document.body),
309 - $deviceMode: jQuery('<span>', {
310 - id: 'elementor-device-mode',
311 - class: 'elementor-screen-only'
312 - })
518 +
519 + return _get(target, property, receiver || target);
520 +}
521 +
522 +module.exports = _get;
523 +
524 +/***/ }),
525 +/* 27 */,
526 +/* 28 */
527 +/***/ (function(module, exports, __webpack_require__) {
528 +
529 +// Thank's IE8 for his funny defineProperty
530 +module.exports = !__webpack_require__(36)(function () {
531 + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
532 +});
533 +
534 +
535 +/***/ }),
536 +/* 29 */
537 +/***/ (function(module, exports, __webpack_require__) {
538 +
539 +// optional / simple context binding
540 +var aFunction = __webpack_require__(35);
541 +module.exports = function (fn, that, length) {
542 + aFunction(fn);
543 + if (that === undefined) return fn;
544 + switch (length) {
545 + case 1: return function (a) {
546 + return fn.call(that, a);
313 547 };
314 - defaultElements.$body.append(defaultElements.$deviceMode);
315 - return defaultElements;
548 + case 2: return function (a, b) {
549 + return fn.call(that, a, b);
550 + };
551 + case 3: return function (a, b, c) {
552 + return fn.call(that, a, b, c);
553 + };
316 554 }
317 - bindEvents() {
318 - this.elements.$window.on('resize', () => this.setDeviceModeData());
555 + return function (/* ...args */) {
556 + return fn.apply(that, arguments);
557 + };
558 +};
559 +
560 +
561 +/***/ }),
562 +/* 30 */
563 +/***/ (function(module, exports, __webpack_require__) {
564 +
565 +var dP = __webpack_require__(51);
566 +var createDesc = __webpack_require__(106);
567 +module.exports = __webpack_require__(28) ? function (object, key, value) {
568 + return dP.f(object, key, createDesc(1, value));
569 +} : function (object, key, value) {
570 + object[key] = value;
571 + return object;
572 +};
573 +
574 +
575 +/***/ }),
576 +/* 31 */
577 +/***/ (function(module, exports) {
578 +
579 +module.exports = function (it) {
580 + return typeof it === 'object' ? it !== null : typeof it === 'function';
581 +};
582 +
583 +
584 +/***/ }),
585 +/* 32 */
586 +/***/ (function(module, exports, __webpack_require__) {
587 +
588 +// 7.1.13 ToObject(argument)
589 +var defined = __webpack_require__(65);
590 +module.exports = function (it) {
591 + return Object(defined(it));
592 +};
593 +
594 +
595 +/***/ }),
596 +/* 33 */
597 +/***/ (function(module, exports) {
598 +
599 +module.exports = {};
600 +
601 +
602 +/***/ }),
603 +/* 34 */,
604 +/* 35 */
605 +/***/ (function(module, exports) {
606 +
607 +module.exports = function (it) {
608 + if (typeof it != 'function') throw TypeError(it + ' is not a function!');
609 + return it;
610 +};
611 +
612 +
613 +/***/ }),
614 +/* 36 */
615 +/***/ (function(module, exports) {
616 +
617 +module.exports = function (exec) {
618 + try {
619 + return !!exec();
620 + } catch (e) {
621 + return true;
319 622 }
623 +};
320 624
321 - /**
322 - * @param {string} elementName
323 - * @deprecated since 2.4.0, use `this.elements` instead.
324 - */
325 - getElements(elementName) {
326 - return this.getItems(this.elements, elementName);
625 +
626 +/***/ }),
627 +/* 37 */
628 +/***/ (function(module, exports, __webpack_require__) {
629 +
630 +// 19.1.2.14 / 15.2.3.14 Object.keys(O)
631 +var $keys = __webpack_require__(112);
632 +var enumBugKeys = __webpack_require__(74);
633 +
634 +module.exports = Object.keys || function keys(O) {
635 + return $keys(O, enumBugKeys);
636 +};
637 +
638 +
639 +/***/ }),
640 +/* 38 */
641 +/***/ (function(module, exports, __webpack_require__) {
642 +
643 +var global = __webpack_require__(18);
644 +var core = __webpack_require__(58);
645 +var hide = __webpack_require__(30);
646 +var redefine = __webpack_require__(39);
647 +var ctx = __webpack_require__(81);
648 +var PROTOTYPE = 'prototype';
649 +
650 +var $export = function (type, name, source) {
651 + var IS_FORCED = type & $export.F;
652 + var IS_GLOBAL = type & $export.G;
653 + var IS_STATIC = type & $export.S;
654 + var IS_PROTO = type & $export.P;
655 + var IS_BIND = type & $export.B;
656 + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];
657 + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
658 + var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
659 + var key, own, out, exp;
660 + if (IS_GLOBAL) source = name;
661 + for (key in source) {
662 + // contains in native
663 + own = !IS_FORCED && target && target[key] !== undefined;
664 + // export native or passed
665 + out = (own ? target : source)[key];
666 + // bind timers to global for call from export context
667 + exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
668 + // extend global
669 + if (target) redefine(target, key, out, type & $export.U);
670 + // export
671 + if (exports[key] != out) hide(exports, key, exp);
672 + if (IS_PROTO && expProto[key] != out) expProto[key] = out;
327 673 }
674 +};
675 +global.core = core;
676 +// type bitmap
677 +$export.F = 1; // forced
678 +$export.G = 2; // global
679 +$export.S = 4; // static
680 +$export.P = 8; // proto
681 +$export.B = 16; // bind
682 +$export.W = 32; // wrap
683 +$export.U = 64; // safe
684 +$export.R = 128; // real proto method for `library`
685 +module.exports = $export;
328 686
329 - /**
330 - * @param {string} settingName
331 - * @deprecated since 2.4.0, this method was never in use.
332 - */
333 - getPageSettings(settingName) {
334 - const settingsObject = this.isEditMode() ? elementor.settings.page.model.attributes : this.config.settings.page;
335 - return this.getItems(settingsObject, settingName);
687 +
688 +/***/ }),
689 +/* 39 */
690 +/***/ (function(module, exports, __webpack_require__) {
691 +
692 +var global = __webpack_require__(18);
693 +var hide = __webpack_require__(30);
694 +var has = __webpack_require__(64);
695 +var SRC = __webpack_require__(77)('src');
696 +var $toString = __webpack_require__(147);
697 +var TO_STRING = 'toString';
698 +var TPL = ('' + $toString).split(TO_STRING);
699 +
700 +__webpack_require__(58).inspectSource = function (it) {
701 + return $toString.call(it);
702 +};
703 +
704 +(module.exports = function (O, key, val, safe) {
705 + var isFunction = typeof val == 'function';
706 + if (isFunction) has(val, 'name') || hide(val, 'name', key);
707 + if (O[key] === val) return;
708 + if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
709 + if (O === global) {
710 + O[key] = val;
711 + } else if (!safe) {
712 + delete O[key];
713 + hide(O, key, val);
714 + } else if (O[key]) {
715 + O[key] = val;
716 + } else {
717 + hide(O, key, val);
336 718 }
719 +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
720 +})(Function.prototype, TO_STRING, function toString() {
721 + return typeof this == 'function' && this[SRC] || $toString.call(this);
722 +});
337 723
338 - /**
339 - * @param {string} settingName
340 - * @deprecated since 3.0.0, use `getKitSettings()` instead and remove the `elementor_` prefix.
341 - */
342 - getGeneralSettings(settingName) {
343 - if (this.isEditMode()) {
344 - parent.elementorDevTools.deprecation.deprecated('getGeneralSettings()', '3.0.0', 'getKitSettings() and remove the `elementor_` prefix');
345 - }
346 - return this.getKitSettings(`elementor_${settingName}`);
724 +
725 +/***/ }),
726 +/* 40 */,
727 +/* 41 */,
728 +/* 42 */
729 +/***/ (function(module, exports) {
730 +
731 +module.exports = function (bitmap, value) {
732 + return {
733 + enumerable: !(bitmap & 1),
734 + configurable: !(bitmap & 2),
735 + writable: !(bitmap & 4),
736 + value: value
737 + };
738 +};
739 +
740 +
741 +/***/ }),
742 +/* 43 */
743 +/***/ (function(module, exports) {
744 +
745 +// 7.2.1 RequireObjectCoercible(argument)
746 +module.exports = function (it) {
747 + if (it == undefined) throw TypeError("Can't call method on " + it);
748 + return it;
749 +};
750 +
751 +
752 +/***/ }),
753 +/* 44 */
754 +/***/ (function(module, exports) {
755 +
756 +module.exports = true;
757 +
758 +
759 +/***/ }),
760 +/* 45 */
761 +/***/ (function(module, exports) {
762 +
763 +function _assertThisInitialized(self) {
764 + if (self === void 0) {
765 + throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
347 766 }
348 - getKitSettings(settingName) {
349 - // TODO: use Data API.
350 - return this.getItems(this.config.kit, settingName);
767 +
768 + return self;
769 +}
770 +
771 +module.exports = _assertThisInitialized;
772 +
773 +/***/ }),
774 +/* 46 */
775 +/***/ (function(module, exports, __webpack_require__) {
776 +
777 +// 7.1.15 ToLength
778 +var toInteger = __webpack_require__(60);
779 +var min = Math.min;
780 +module.exports = function (it) {
781 + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
782 +};
783 +
784 +
785 +/***/ }),
786 +/* 47 */
787 +/***/ (function(module, exports, __webpack_require__) {
788 +
789 +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
790 +var anObject = __webpack_require__(11);
791 +var dPs = __webpack_require__(131);
792 +var enumBugKeys = __webpack_require__(74);
793 +var IE_PROTO = __webpack_require__(70)('IE_PROTO');
794 +var Empty = function () { /* empty */ };
795 +var PROTOTYPE = 'prototype';
796 +
797 +// Create object with fake `null` prototype: use iframe Object with cleared prototype
798 +var createDict = function () {
799 + // Thrash, waste and sodomy: IE GC bug
800 + var iframe = __webpack_require__(88)('iframe');
801 + var i = enumBugKeys.length;
802 + var lt = '<';
803 + var gt = '>';
804 + var iframeDocument;
805 + iframe.style.display = 'none';
806 + __webpack_require__(132).appendChild(iframe);
807 + iframe.src = 'javascript:'; // eslint-disable-line no-script-url
808 + // createDict = iframe.contentWindow.Object;
809 + // html.removeChild(iframe);
810 + iframeDocument = iframe.contentWindow.document;
811 + iframeDocument.open();
812 + iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
813 + iframeDocument.close();
814 + createDict = iframeDocument.F;
815 + while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];
816 + return createDict();
817 +};
818 +
819 +module.exports = Object.create || function create(O, Properties) {
820 + var result;
821 + if (O !== null) {
822 + Empty[PROTOTYPE] = anObject(O);
823 + result = new Empty();
824 + Empty[PROTOTYPE] = null;
825 + // add "__proto__" for Object.getPrototypeOf polyfill
826 + result[IE_PROTO] = O;
827 + } else result = createDict();
828 + return Properties === undefined ? result : dPs(result, Properties);
829 +};
830 +
831 +
832 +/***/ }),
833 +/* 48 */
834 +/***/ (function(module, exports, __webpack_require__) {
835 +
836 +var pIE = __webpack_require__(49);
837 +var createDesc = __webpack_require__(42);
838 +var toIObject = __webpack_require__(19);
839 +var toPrimitive = __webpack_require__(69);
840 +var has = __webpack_require__(17);
841 +var IE8_DOM_DEFINE = __webpack_require__(110);
842 +var gOPD = Object.getOwnPropertyDescriptor;
843 +
844 +exports.f = __webpack_require__(14) ? gOPD : function getOwnPropertyDescriptor(O, P) {
845 + O = toIObject(O);
846 + P = toPrimitive(P, true);
847 + if (IE8_DOM_DEFINE) try {
848 + return gOPD(O, P);
849 + } catch (e) { /* empty */ }
850 + if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);
851 +};
852 +
853 +
854 +/***/ }),
855 +/* 49 */
856 +/***/ (function(module, exports) {
857 +
858 +exports.f = {}.propertyIsEnumerable;
859 +
860 +
861 +/***/ }),
862 +/* 50 */
863 +/***/ (function(module, exports, __webpack_require__) {
864 +
865 +var _Symbol$iterator = __webpack_require__(148);
866 +
867 +var _Symbol = __webpack_require__(107);
868 +
869 +function _typeof(obj) {
870 + "@babel/helpers - typeof";
871 +
872 + if (typeof _Symbol === "function" && typeof _Symbol$iterator === "symbol") {
873 + module.exports = _typeof = function _typeof(obj) {
874 + return typeof obj;
875 + };
876 + } else {
877 + module.exports = _typeof = function _typeof(obj) {
878 + return obj && typeof _Symbol === "function" && obj.constructor === _Symbol && obj !== _Symbol.prototype ? "symbol" : typeof obj;
879 + };
351 880 }
352 - getCurrentDeviceMode() {
353 - return getComputedStyle(this.elements.$deviceMode[0], ':after').content.replace(/"/g, '');
354 - }
355 - getDeviceSetting(deviceMode, settings, settingKey) {
356 - // Add specific handling for widescreen since it is larger than desktop.
357 - if ('widescreen' === deviceMode) {
358 - return this.getWidescreenSetting(settings, settingKey);
359 - }
360 - const devices = elementorFrontend.breakpoints.getActiveBreakpointsList({
361 - largeToSmall: true,
362 - withDesktop: true
363 - });
364 - let deviceIndex = devices.indexOf(deviceMode);
365 - while (deviceIndex > 0) {
366 - const currentDevice = devices[deviceIndex],
367 - fullSettingKey = settingKey + '_' + currentDevice,
368 - deviceValue = settings[fullSettingKey];
369 881
370 - // Accept 0 as value.
371 - if (deviceValue || 0 === deviceValue) {
372 - return deviceValue;
882 + return _typeof(obj);
883 +}
884 +
885 +module.exports = _typeof;
886 +
887 +/***/ }),
888 +/* 51 */
889 +/***/ (function(module, exports, __webpack_require__) {
890 +
891 +var anObject = __webpack_require__(20);
892 +var IE8_DOM_DEFINE = __webpack_require__(135);
893 +var toPrimitive = __webpack_require__(127);
894 +var dP = Object.defineProperty;
895 +
896 +exports.f = __webpack_require__(28) ? Object.defineProperty : function defineProperty(O, P, Attributes) {
897 + anObject(O);
898 + P = toPrimitive(P, true);
899 + anObject(Attributes);
900 + if (IE8_DOM_DEFINE) try {
901 + return dP(O, P, Attributes);
902 + } catch (e) { /* empty */ }
903 + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
904 + if ('value' in Attributes) O[P] = Attributes.value;
905 + return O;
906 +};
907 +
908 +
909 +/***/ }),
910 +/* 52 */
911 +/***/ (function(module, exports) {
912 +
913 +var toString = {}.toString;
914 +
915 +module.exports = function (it) {
916 + return toString.call(it).slice(8, -1);
917 +};
918 +
919 +
920 +/***/ }),
921 +/* 53 */
922 +/***/ (function(module, exports, __webpack_require__) {
923 +
924 +var def = __webpack_require__(15).f;
925 +var has = __webpack_require__(17);
926 +var TAG = __webpack_require__(10)('toStringTag');
927 +
928 +module.exports = function (it, tag, stat) {
929 + if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
930 +};
931 +
932 +
933 +/***/ }),
934 +/* 54 */
935 +/***/ (function(module, exports, __webpack_require__) {
936 +
937 +module.exports = __webpack_require__(229);
938 +
939 +/***/ }),
940 +/* 55 */
941 +/***/ (function(module, exports) {
942 +
943 +var id = 0;
944 +var px = Math.random();
945 +module.exports = function (key) {
946 + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
947 +};
948 +
949 +
950 +/***/ }),
951 +/* 56 */
952 +/***/ (function(module, exports) {
953 +
954 +var toString = {}.toString;
955 +
956 +module.exports = function (it) {
957 + return toString.call(it).slice(8, -1);
958 +};
959 +
960 +
961 +/***/ }),
962 +/* 57 */
963 +/***/ (function(module, exports, __webpack_require__) {
964 +
965 +"use strict";
966 +
967 +var $at = __webpack_require__(169)(true);
968 +
969 +// 21.1.3.27 String.prototype[@@iterator]()
970 +__webpack_require__(96)(String, 'String', function (iterated) {
971 + this._t = String(iterated); // target
972 + this._i = 0; // next index
973 +// 21.1.5.2.1 %StringIteratorPrototype%.next()
974 +}, function () {
975 + var O = this._t;
976 + var index = this._i;
977 + var point;
978 + if (index >= O.length) return { value: undefined, done: true };
979 + point = $at(O, index);
980 + this._i += point.length;
981 + return { value: point, done: false };
982 +});
983 +
984 +
985 +/***/ }),
986 +/* 58 */
987 +/***/ (function(module, exports) {
988 +
989 +var core = module.exports = { version: '2.6.11' };
990 +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
991 +
992 +
993 +/***/ }),
994 +/* 59 */
995 +/***/ (function(module, exports, __webpack_require__) {
996 +
997 +__webpack_require__(171);
998 +var global = __webpack_require__(8);
999 +var hide = __webpack_require__(22);
1000 +var Iterators = __webpack_require__(33);
1001 +var TO_STRING_TAG = __webpack_require__(10)('toStringTag');
1002 +
1003 +var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' +
1004 + 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' +
1005 + 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' +
1006 + 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' +
1007 + 'TextTrackList,TouchList').split(',');
1008 +
1009 +for (var i = 0; i < DOMIterables.length; i++) {
1010 + var NAME = DOMIterables[i];
1011 + var Collection = global[NAME];
1012 + var proto = Collection && Collection.prototype;
1013 + if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);
1014 + Iterators[NAME] = Iterators.Array;
1015 +}
1016 +
1017 +
1018 +/***/ }),
1019 +/* 60 */
1020 +/***/ (function(module, exports) {
1021 +
1022 +// 7.1.4 ToInteger
1023 +var ceil = Math.ceil;
1024 +var floor = Math.floor;
1025 +module.exports = function (it) {
1026 + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
1027 +};
1028 +
1029 +
1030 +/***/ }),
1031 +/* 61 */
1032 +/***/ (function(module, exports, __webpack_require__) {
1033 +
1034 +"use strict";
1035 +
1036 +
1037 +var anObject = __webpack_require__(20);
1038 +var toObject = __webpack_require__(102);
1039 +var toLength = __webpack_require__(46);
1040 +var toInteger = __webpack_require__(60);
1041 +var advanceStringIndex = __webpack_require__(108);
1042 +var regExpExec = __webpack_require__(100);
1043 +var max = Math.max;
1044 +var min = Math.min;
1045 +var floor = Math.floor;
1046 +var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g;
1047 +var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g;
1048 +
1049 +var maybeToString = function (it) {
1050 + return it === undefined ? it : String(it);
1051 +};
1052 +
1053 +// @@replace logic
1054 +__webpack_require__(101)('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {
1055 + return [
1056 + // `String.prototype.replace` method
1057 + // https://tc39.github.io/ecma262/#sec-string.prototype.replace
1058 + function replace(searchValue, replaceValue) {
1059 + var O = defined(this);
1060 + var fn = searchValue == undefined ? undefined : searchValue[REPLACE];
1061 + return fn !== undefined
1062 + ? fn.call(searchValue, O, replaceValue)
1063 + : $replace.call(String(O), searchValue, replaceValue);
1064 + },
1065 + // `RegExp.prototype[@@replace]` method
1066 + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace
1067 + function (regexp, replaceValue) {
1068 + var res = maybeCallNative($replace, regexp, this, replaceValue);
1069 + if (res.done) return res.value;
1070 +
1071 + var rx = anObject(regexp);
1072 + var S = String(this);
1073 + var functionalReplace = typeof replaceValue === 'function';
1074 + if (!functionalReplace) replaceValue = String(replaceValue);
1075 + var global = rx.global;
1076 + if (global) {
1077 + var fullUnicode = rx.unicode;
1078 + rx.lastIndex = 0;
373 1079 }
374 - deviceIndex--;
1080 + var results = [];
1081 + while (true) {
1082 + var result = regExpExec(rx, S);
1083 + if (result === null) break;
1084 + results.push(result);
1085 + if (!global) break;
1086 + var matchStr = String(result[0]);
1087 + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
1088 + }
1089 + var accumulatedResult = '';
1090 + var nextSourcePosition = 0;
1091 + for (var i = 0; i < results.length; i++) {
1092 + result = results[i];
1093 + var matched = String(result[0]);
1094 + var position = max(min(toInteger(result.index), S.length), 0);
1095 + var captures = [];
1096 + // NOTE: This is equivalent to
1097 + // captures = result.slice(1).map(maybeToString)
1098 + // but for some reason `nativeSlice.call(result, 1, result.length)` (called in
1099 + // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
1100 + // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
1101 + for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
1102 + var namedCaptures = result.groups;
1103 + if (functionalReplace) {
1104 + var replacerArgs = [matched].concat(captures, position, S);
1105 + if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
1106 + var replacement = String(replaceValue.apply(undefined, replacerArgs));
1107 + } else {
1108 + replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
1109 + }
1110 + if (position >= nextSourcePosition) {
1111 + accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
1112 + nextSourcePosition = position + matched.length;
1113 + }
1114 + }
1115 + return accumulatedResult + S.slice(nextSourcePosition);
375 1116 }
376 - return settings[settingKey];
377 - }
378 - getWidescreenSetting(settings, settingKey) {
379 - const deviceMode = 'widescreen',
380 - widescreenSettingKey = settingKey + '_' + deviceMode;
381 - let settingToReturn;
1117 + ];
382 1118
383 - // If the device mode is 'widescreen', and the setting exists - return it.
384 - if (settings[widescreenSettingKey]) {
385 - settingToReturn = settings[widescreenSettingKey];
386 - } else {
387 - // Otherwise, return the desktop setting
388 - settingToReturn = settings[settingKey];
1119 + // https://tc39.github.io/ecma262/#sec-getsubstitution
1120 + function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {
1121 + var tailPos = position + matched.length;
1122 + var m = captures.length;
1123 + var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
1124 + if (namedCaptures !== undefined) {
1125 + namedCaptures = toObject(namedCaptures);
1126 + symbols = SUBSTITUTION_SYMBOLS;
389 1127 }
390 - return settingToReturn;
1128 + return $replace.call(replacement, symbols, function (match, ch) {
1129 + var capture;
1130 + switch (ch.charAt(0)) {
1131 + case '$': return '$';
1132 + case '&': return matched;
1133 + case '`': return str.slice(0, position);
1134 + case "'": return str.slice(tailPos);
1135 + case '<':
1136 + capture = namedCaptures[ch.slice(1, -1)];
1137 + break;
1138 + default: // \d\d?
1139 + var n = +ch;
1140 + if (n === 0) return match;
1141 + if (n > m) {
1142 + var f = floor(n / 10);
1143 + if (f === 0) return match;
1144 + if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
1145 + return match;
1146 + }
1147 + capture = captures[n - 1];
1148 + }
1149 + return capture === undefined ? '' : capture;
1150 + });
391 1151 }
392 - getCurrentDeviceSetting(settings, settingKey) {
393 - return this.getDeviceSetting(elementorFrontend.getCurrentDeviceMode(), settings, settingKey);
1152 +});
1153 +
1154 +
1155 +/***/ }),
1156 +/* 62 */
1157 +/***/ (function(module, exports, __webpack_require__) {
1158 +
1159 +exports.f = __webpack_require__(10);
1160 +
1161 +
1162 +/***/ }),
1163 +/* 63 */
1164 +/***/ (function(module, exports, __webpack_require__) {
1165 +
1166 +// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
1167 +var has = __webpack_require__(17);
1168 +var toObject = __webpack_require__(32);
1169 +var IE_PROTO = __webpack_require__(70)('IE_PROTO');
1170 +var ObjectProto = Object.prototype;
1171 +
1172 +module.exports = Object.getPrototypeOf || function (O) {
1173 + O = toObject(O);
1174 + if (has(O, IE_PROTO)) return O[IE_PROTO];
1175 + if (typeof O.constructor == 'function' && O instanceof O.constructor) {
1176 + return O.constructor.prototype;
1177 + } return O instanceof Object ? ObjectProto : null;
1178 +};
1179 +
1180 +
1181 +/***/ }),
1182 +/* 64 */
1183 +/***/ (function(module, exports) {
1184 +
1185 +var hasOwnProperty = {}.hasOwnProperty;
1186 +module.exports = function (it, key) {
1187 + return hasOwnProperty.call(it, key);
1188 +};
1189 +
1190 +
1191 +/***/ }),
1192 +/* 65 */
1193 +/***/ (function(module, exports) {
1194 +
1195 +// 7.2.1 RequireObjectCoercible(argument)
1196 +module.exports = function (it) {
1197 + if (it == undefined) throw TypeError("Can't call method on " + it);
1198 + return it;
1199 +};
1200 +
1201 +
1202 +/***/ }),
1203 +/* 66 */
1204 +/***/ (function(module, exports, __webpack_require__) {
1205 +
1206 +var META = __webpack_require__(55)('meta');
1207 +var isObject = __webpack_require__(9);
1208 +var has = __webpack_require__(17);
1209 +var setDesc = __webpack_require__(15).f;
1210 +var id = 0;
1211 +var isExtensible = Object.isExtensible || function () {
1212 + return true;
1213 +};
1214 +var FREEZE = !__webpack_require__(21)(function () {
1215 + return isExtensible(Object.preventExtensions({}));
1216 +});
1217 +var setMeta = function (it) {
1218 + setDesc(it, META, { value: {
1219 + i: 'O' + ++id, // object ID
1220 + w: {} // weak collections IDs
1221 + } });
1222 +};
1223 +var fastKey = function (it, create) {
1224 + // return primitive with prefix
1225 + if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
1226 + if (!has(it, META)) {
1227 + // can't set metadata to uncaught frozen object
1228 + if (!isExtensible(it)) return 'F';
1229 + // not necessary to add metadata
1230 + if (!create) return 'E';
1231 + // add missing metadata
1232 + setMeta(it);
1233 + // return object ID
1234 + } return it[META].i;
1235 +};
1236 +var getWeak = function (it, create) {
1237 + if (!has(it, META)) {
1238 + // can't set metadata to uncaught frozen object
1239 + if (!isExtensible(it)) return true;
1240 + // not necessary to add metadata
1241 + if (!create) return false;
1242 + // add missing metadata
1243 + setMeta(it);
1244 + // return hash weak collections IDs
1245 + } return it[META].w;
1246 +};
1247 +// add metadata on freeze-family methods calling
1248 +var onFreeze = function (it) {
1249 + if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);
1250 + return it;
1251 +};
1252 +var meta = module.exports = {
1253 + KEY: META,
1254 + NEED: false,
1255 + fastKey: fastKey,
1256 + getWeak: getWeak,
1257 + onFreeze: onFreeze
1258 +};
1259 +
1260 +
1261 +/***/ }),
1262 +/* 67 */
1263 +/***/ (function(module, exports) {
1264 +
1265 +exports.f = Object.getOwnPropertySymbols;
1266 +
1267 +
1268 +/***/ }),
1269 +/* 68 */,
1270 +/* 69 */
1271 +/***/ (function(module, exports, __webpack_require__) {
1272 +
1273 +// 7.1.1 ToPrimitive(input [, PreferredType])
1274 +var isObject = __webpack_require__(9);
1275 +// instead of the ES6 spec version, we didn't implement @@toPrimitive case
1276 +// and the second argument - flag - preferred type is a string
1277 +module.exports = function (it, S) {
1278 + if (!isObject(it)) return it;
1279 + var fn, val;
1280 + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
1281 + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
1282 + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
1283 + throw TypeError("Can't convert object to primitive value");
1284 +};
1285 +
1286 +
1287 +/***/ }),
1288 +/* 70 */
1289 +/***/ (function(module, exports, __webpack_require__) {
1290 +
1291 +var shared = __webpack_require__(71)('keys');
1292 +var uid = __webpack_require__(55);
1293 +module.exports = function (key) {
1294 + return shared[key] || (shared[key] = uid(key));
1295 +};
1296 +
1297 +
1298 +/***/ }),
1299 +/* 71 */
1300 +/***/ (function(module, exports, __webpack_require__) {
1301 +
1302 +var core = __webpack_require__(6);
1303 +var global = __webpack_require__(8);
1304 +var SHARED = '__core-js_shared__';
1305 +var store = global[SHARED] || (global[SHARED] = {});
1306 +
1307 +(module.exports = function (key, value) {
1308 + return store[key] || (store[key] = value !== undefined ? value : {});
1309 +})('versions', []).push({
1310 + version: core.version,
1311 + mode: __webpack_require__(44) ? 'pure' : 'global',
1312 + copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
1313 +});
1314 +
1315 +
1316 +/***/ }),
1317 +/* 72 */
1318 +/***/ (function(module, exports, __webpack_require__) {
1319 +
1320 +// 7.1.15 ToLength
1321 +var toInteger = __webpack_require__(73);
1322 +var min = Math.min;
1323 +module.exports = function (it) {
1324 + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
1325 +};
1326 +
1327 +
1328 +/***/ }),
1329 +/* 73 */
1330 +/***/ (function(module, exports) {
1331 +
1332 +// 7.1.4 ToInteger
1333 +var ceil = Math.ceil;
1334 +var floor = Math.floor;
1335 +module.exports = function (it) {
1336 + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
1337 +};
1338 +
1339 +
1340 +/***/ }),
1341 +/* 74 */
1342 +/***/ (function(module, exports) {
1343 +
1344 +// IE 8- don't enum bug keys
1345 +module.exports = (
1346 + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
1347 +).split(',');
1348 +
1349 +
1350 +/***/ }),
1351 +/* 75 */
1352 +/***/ (function(module, exports, __webpack_require__) {
1353 +
1354 +var global = __webpack_require__(8);
1355 +var core = __webpack_require__(6);
1356 +var LIBRARY = __webpack_require__(44);
1357 +var wksExt = __webpack_require__(62);
1358 +var defineProperty = __webpack_require__(15).f;
1359 +module.exports = function (name) {
1360 + var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});
1361 + if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });
1362 +};
1363 +
1364 +
1365 +/***/ }),
1366 +/* 76 */
1367 +/***/ (function(module, exports, __webpack_require__) {
1368 +
1369 +var core = __webpack_require__(58);
1370 +var global = __webpack_require__(18);
1371 +var SHARED = '__core-js_shared__';
1372 +var store = global[SHARED] || (global[SHARED] = {});
1373 +
1374 +(module.exports = function (key, value) {
1375 + return store[key] || (store[key] = value !== undefined ? value : {});
1376 +})('versions', []).push({
1377 + version: core.version,
1378 + mode: __webpack_require__(115) ? 'pure' : 'global',
1379 + copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
1380 +});
1381 +
1382 +
1383 +/***/ }),
1384 +/* 77 */
1385 +/***/ (function(module, exports) {
1386 +
1387 +var id = 0;
1388 +var px = Math.random();
1389 +module.exports = function (key) {
1390 + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
1391 +};
1392 +
1393 +
1394 +/***/ }),
1395 +/* 78 */
1396 +/***/ (function(module, exports, __webpack_require__) {
1397 +
1398 +// most Object methods by ES6 should accept primitives
1399 +var $export = __webpack_require__(7);
1400 +var core = __webpack_require__(6);
1401 +var fails = __webpack_require__(21);
1402 +module.exports = function (KEY, exec) {
1403 + var fn = (core.Object || {})[KEY] || Object[KEY];
1404 + var exp = {};
1405 + exp[KEY] = exec(fn);
1406 + $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);
1407 +};
1408 +
1409 +
1410 +/***/ }),
1411 +/* 79 */
1412 +/***/ (function(module, exports, __webpack_require__) {
1413 +
1414 +var ctx = __webpack_require__(29);
1415 +var call = __webpack_require__(143);
1416 +var isArrayIter = __webpack_require__(144);
1417 +var anObject = __webpack_require__(11);
1418 +var toLength = __webpack_require__(72);
1419 +var getIterFn = __webpack_require__(117);
1420 +var BREAK = {};
1421 +var RETURN = {};
1422 +var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {
1423 + var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);
1424 + var f = ctx(fn, that, entries ? 2 : 1);
1425 + var index = 0;
1426 + var length, step, iterator, result;
1427 + if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');
1428 + // fast case for arrays with default iterator
1429 + if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {
1430 + result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);
1431 + if (result === BREAK || result === RETURN) return result;
1432 + } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {
1433 + result = call(iterator, f, step.value, entries);
1434 + if (result === BREAK || result === RETURN) return result;
394 1435 }
395 - isEditMode() {
396 - return this.config.environmentMode.edit;
397 - }
398 - isWPPreviewMode() {
399 - return this.config.environmentMode.wpPreview;
400 - }
401 - initDialogsManager() {
402 - let dialogsManager;
403 - this.getDialogsManager = () => {
404 - if (!dialogsManager) {
405 - dialogsManager = new DialogsManager.Instance();
406 - }
407 - return dialogsManager;
1436 +};
1437 +exports.BREAK = BREAK;
1438 +exports.RETURN = RETURN;
1439 +
1440 +
1441 +/***/ }),
1442 +/* 80 */
1443 +/***/ (function(module, exports, __webpack_require__) {
1444 +
1445 +"use strict";
1446 +
1447 +// 19.1.3.6 Object.prototype.toString()
1448 +var classof = __webpack_require__(118);
1449 +var test = {};
1450 +test[__webpack_require__(13)('toStringTag')] = 'z';
1451 +if (test + '' != '[object z]') {
1452 + __webpack_require__(39)(Object.prototype, 'toString', function toString() {
1453 + return '[object ' + classof(this) + ']';
1454 + }, true);
1455 +}
1456 +
1457 +
1458 +/***/ }),
1459 +/* 81 */
1460 +/***/ (function(module, exports, __webpack_require__) {
1461 +
1462 +// optional / simple context binding
1463 +var aFunction = __webpack_require__(98);
1464 +module.exports = function (fn, that, length) {
1465 + aFunction(fn);
1466 + if (that === undefined) return fn;
1467 + switch (length) {
1468 + case 1: return function (a) {
1469 + return fn.call(that, a);
408 1470 };
409 - }
410 - initOnReadyComponents() {
411 - this.utils = {
412 - youtube: new _youtubeLoader.default(),
413 - vimeo: new _vimeoLoader.default(),
414 - baseVideoLoader: new _baseLoader.default(),
415 - get lightbox() {
416 - return _lightboxManager.default.getLightbox();
417 - },
418 - urlActions: new _urlActions.default(),
419 - swiper: _swiper.default,
420 - environment: _environment.default,
421 - assetsLoader: new _assetsLoader.default(),
422 - escapeHTML: _utils.escapeHTML,
423 - events: _events.default,
424 - controls: new _controls.default(),
425 - anchor_scroll_margin: new _anchorScrollMargin.default()
1471 + case 2: return function (a, b) {
1472 + return fn.call(that, a, b);
426 1473 };
427 -
428 - // TODO: BC since 2.4.0
429 - this.modules = {
430 - StretchElement: elementorModules.frontend.tools.StretchElement,
431 - Masonry: elementorModules.utils.Masonry
1474 + case 3: return function (a, b, c) {
1475 + return fn.call(that, a, b, c);
432 1476 };
433 - this.elementsHandler.init();
434 - if (this.isEditMode()) {
435 - elementor.once('document:loaded', () => this.onDocumentLoaded());
436 - } else {
437 - this.onDocumentLoaded();
438 - }
439 1477 }
440 - initOnReadyElements() {
441 - this.elements.$wpAdminBar = this.elements.$document.find(this.getSettings('selectors.adminBar'));
442 - }
443 - addUserAgentClasses() {
444 - for (const [key, value] of Object.entries(_environment.default)) {
445 - if (value) {
446 - this.elements.$body.addClass('e--ua-' + key);
447 - }
448 - }
449 - }
450 - setDeviceModeData() {
451 - this.elements.$body.attr('data-elementor-device-mode', this.getCurrentDeviceMode());
452 - }
453 - addListenerOnce(listenerID, event, callback, to) {
454 - if (!to) {
455 - to = this.elements.$window;
456 - }
457 - if (!this.isEditMode()) {
458 - to.on(event, callback);
459 - return;
460 - }
461 - this.removeListeners(listenerID, event, to);
462 - if (to instanceof jQuery) {
463 - const eventNS = event + '.' + listenerID;
464 - to.on(eventNS, callback);
465 - } else {
466 - to.on(event, callback, listenerID);
467 - }
468 - }
469 - removeListeners(listenerID, event, callback, from) {
470 - if (!from) {
471 - from = this.elements.$window;
472 - }
473 - if (from instanceof jQuery) {
474 - const eventNS = event + '.' + listenerID;
475 - from.off(eventNS, callback);
476 - } else {
477 - from.off(event, callback, listenerID);
478 - }
479 - }
1478 + return function (/* ...args */) {
1479 + return fn.apply(that, arguments);
1480 + };
1481 +};
480 1482
481 - // Based on underscore function
482 - debounce(func, wait) {
483 - let timeout;
484 - return function () {
485 - const context = this,
486 - args = arguments;
487 - const later = () => {
488 - timeout = null;
489 - func.apply(context, args);
490 - };
491 - const callNow = !timeout;
492 - clearTimeout(timeout);
493 - timeout = setTimeout(later, wait);
494 - if (callNow) {
495 - func.apply(context, args);
1483 +
1484 +/***/ }),
1485 +/* 82 */
1486 +/***/ (function(module, exports, __webpack_require__) {
1487 +
1488 +"use strict";
1489 +
1490 +
1491 +var isRegExp = __webpack_require__(126);
1492 +var anObject = __webpack_require__(20);
1493 +var speciesConstructor = __webpack_require__(180);
1494 +var advanceStringIndex = __webpack_require__(108);
1495 +var toLength = __webpack_require__(46);
1496 +var callRegExpExec = __webpack_require__(100);
1497 +var regexpExec = __webpack_require__(94);
1498 +var fails = __webpack_require__(36);
1499 +var $min = Math.min;
1500 +var $push = [].push;
1501 +var $SPLIT = 'split';
1502 +var LENGTH = 'length';
1503 +var LAST_INDEX = 'lastIndex';
1504 +var MAX_UINT32 = 0xffffffff;
1505 +
1506 +// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError
1507 +var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); });
1508 +
1509 +// @@split logic
1510 +__webpack_require__(101)('split', 2, function (defined, SPLIT, $split, maybeCallNative) {
1511 + var internalSplit;
1512 + if (
1513 + 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||
1514 + 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||
1515 + 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||
1516 + '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||
1517 + '.'[$SPLIT](/()()/)[LENGTH] > 1 ||
1518 + ''[$SPLIT](/.?/)[LENGTH]
1519 + ) {
1520 + // based on es5-shim implementation, need to rework it
1521 + internalSplit = function (separator, limit) {
1522 + var string = String(this);
1523 + if (separator === undefined && limit === 0) return [];
1524 + // If `separator` is not a regex, use native split
1525 + if (!isRegExp(separator)) return $split.call(string, separator, limit);
1526 + var output = [];
1527 + var flags = (separator.ignoreCase ? 'i' : '') +
1528 + (separator.multiline ? 'm' : '') +
1529 + (separator.unicode ? 'u' : '') +
1530 + (separator.sticky ? 'y' : '');
1531 + var lastLastIndex = 0;
1532 + var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0;
1533 + // Make `global` and avoid `lastIndex` issues by working with a copy
1534 + var separatorCopy = new RegExp(separator.source, flags + 'g');
1535 + var match, lastIndex, lastLength;
1536 + while (match = regexpExec.call(separatorCopy, string)) {
1537 + lastIndex = separatorCopy[LAST_INDEX];
1538 + if (lastIndex > lastLastIndex) {
1539 + output.push(string.slice(lastLastIndex, match.index));
1540 + if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));
1541 + lastLength = match[0][LENGTH];
1542 + lastLastIndex = lastIndex;
1543 + if (output[LENGTH] >= splitLimit) break;
1544 + }
1545 + if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop
496 1546 }
1547 + if (lastLastIndex === string[LENGTH]) {
1548 + if (lastLength || !separatorCopy.test('')) output.push('');
1549 + } else output.push(string.slice(lastLastIndex));
1550 + return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;
497 1551 };
1552 + // Chakra, V8
1553 + } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {
1554 + internalSplit = function (separator, limit) {
1555 + return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit);
1556 + };
1557 + } else {
1558 + internalSplit = $split;
498 1559 }
499 - muteMigrationTraces() {
500 - jQuery.migrateMute = true;
501 - jQuery.migrateTrace = false;
502 - }
503 1560
504 - /**
505 - * Initialize the modules' widgets handlers.
506 - */
507 - initModules() {
508 - const handlers = {
509 - shapes: _frontend.default
510 - };
1561 + return [
1562 + // `String.prototype.split` method
1563 + // https://tc39.github.io/ecma262/#sec-string.prototype.split
1564 + function split(separator, limit) {
1565 + var O = defined(this);
1566 + var splitter = separator == undefined ? undefined : separator[SPLIT];
1567 + return splitter !== undefined
1568 + ? splitter.call(separator, O, limit)
1569 + : internalSplit.call(String(O), separator, limit);
1570 + },
1571 + // `RegExp.prototype[@@split]` method
1572 + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split
1573 + //
1574 + // NOTE: This cannot be properly polyfilled in engines that don't support
1575 + // the 'y' flag.
1576 + function (regexp, limit) {
1577 + var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split);
1578 + if (res.done) return res.value;
511 1579
512 - // TODO: BC - Deprecated since 3.5.0
513 - elementorFrontend.trigger('elementor/modules/init:before');
1580 + var rx = anObject(regexp);
1581 + var S = String(this);
1582 + var C = speciesConstructor(rx, RegExp);
514 1583
515 - // TODO: Use this instead.
516 - elementorFrontend.trigger('elementor/modules/init/before');
517 - Object.entries(handlers).forEach(([moduleName, ModuleClass]) => {
518 - this.modulesHandlers[moduleName] = new ModuleClass();
519 - });
520 - }
521 - populateActiveBreakpointsConfig() {
522 - this.config.responsive.activeBreakpoints = {};
523 - Object.entries(this.config.responsive.breakpoints).forEach(([breakpointKey, breakpointData]) => {
524 - if (breakpointData.is_enabled) {
525 - this.config.responsive.activeBreakpoints[breakpointKey] = breakpointData;
1584 + var unicodeMatching = rx.unicode;
1585 + var flags = (rx.ignoreCase ? 'i' : '') +
1586 + (rx.multiline ? 'm' : '') +
1587 + (rx.unicode ? 'u' : '') +
1588 + (SUPPORTS_Y ? 'y' : 'g');
1589 +
1590 + // ^(? + rx + ) is needed, in combination with some S slicing, to
1591 + // simulate the 'y' flag.
1592 + var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);
1593 + var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
1594 + if (lim === 0) return [];
1595 + if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];
1596 + var p = 0;
1597 + var q = 0;
1598 + var A = [];
1599 + while (q < S.length) {
1600 + splitter.lastIndex = SUPPORTS_Y ? q : 0;
1601 + var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));
1602 + var e;
1603 + if (
1604 + z === null ||
1605 + (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p
1606 + ) {
1607 + q = advanceStringIndex(S, q, unicodeMatching);
1608 + } else {
1609 + A.push(S.slice(p, q));
1610 + if (A.length === lim) return A;
1611 + for (var i = 1; i <= z.length - 1; i++) {
1612 + A.push(z[i]);
1613 + if (A.length === lim) return A;
1614 + }
1615 + q = p = e;
1616 + }
526 1617 }
527 - });
528 - }
529 - init() {
530 - this.hooks = new EventManager();
531 - this.breakpoints = new _breakpoints.default(this.config.responsive);
532 - this.storage = new _storage.default();
533 - this.elementsHandler = new ElementsHandler(jQuery);
534 - this.modulesHandlers = {};
535 - this.addUserAgentClasses();
536 - this.setDeviceModeData();
537 - this.initDialogsManager();
538 - if (this.isEditMode()) {
539 - this.muteMigrationTraces();
1618 + A.push(S.slice(p));
1619 + return A;
540 1620 }
1621 + ];
1622 +});
541 1623
542 - // Keep this line before `initOnReadyComponents` call
543 - _events.default.dispatch(this.elements.$window, 'elementor/frontend/init');
544 - this.initModules();
545 - this.initOnReadyElements();
546 - this.initOnReadyComponents();
547 - }
548 - onDocumentLoaded() {
549 - this.documentsManager = new _documentsManager.default();
550 - this.trigger('components:init');
551 - new _lightboxManager.default();
552 - }
553 -}
554 -exports["default"] = Frontend;
555 -window.elementorFrontend = new Frontend();
556 -if (!elementorFrontend.isEditMode()) {
557 - jQuery(() => elementorFrontend.init());
558 -}
559 1624
560 1625 /***/ }),
1626 +/* 83 */,
1627 +/* 84 */,
1628 +/* 85 */,
1629 +/* 86 */,
1630 +/* 87 */,
1631 +/* 88 */
1632 +/***/ (function(module, exports, __webpack_require__) {
561 1633
562 -/***/ "../assets/dev/js/frontend/handlers/column.js":
563 -/*!****************************************************!*\
564 - !*** ../assets/dev/js/frontend/handlers/column.js ***!
565 - \****************************************************/
566 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1634 +var isObject = __webpack_require__(9);
1635 +var document = __webpack_require__(8).document;
1636 +// typeof document.createElement is 'object' in old IE
1637 +var is = isObject(document) && isObject(document.createElement);
1638 +module.exports = function (it) {
1639 + return is ? document.createElement(it) : {};
1640 +};
567 1641
568 1642
1643 +/***/ }),
1644 +/* 89 */
1645 +/***/ (function(module, exports, __webpack_require__) {
569 1646
570 -Object.defineProperty(exports, "__esModule", ({
571 - value: true
572 -}));
573 -exports["default"] = void 0;
574 -var _default = exports["default"] = [() => __webpack_require__.e(/*! import() | shared-frontend-handlers */ "shared-frontend-handlers").then(__webpack_require__.bind(__webpack_require__, /*! ./background-slideshow */ "../assets/dev/js/frontend/handlers/background-slideshow.js"))];
1647 +module.exports = __webpack_require__(22);
575 1648
1649 +
576 1650 /***/ }),
1651 +/* 90 */
1652 +/***/ (function(module, exports, __webpack_require__) {
577 1653
578 -/***/ "../assets/dev/js/frontend/handlers/container/container.js":
579 -/*!*****************************************************************!*\
580 - !*** ../assets/dev/js/frontend/handlers/container/container.js ***!
581 - \*****************************************************************/
582 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1654 +// 22.1.3.31 Array.prototype[@@unscopables]
1655 +var UNSCOPABLES = __webpack_require__(13)('unscopables');
1656 +var ArrayProto = Array.prototype;
1657 +if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(30)(ArrayProto, UNSCOPABLES, {});
1658 +module.exports = function (key) {
1659 + ArrayProto[UNSCOPABLES][key] = true;
1660 +};
583 1661
584 1662
1663 +/***/ }),
1664 +/* 91 */
1665 +/***/ (function(module, exports, __webpack_require__) {
585 1666
586 -Object.defineProperty(exports, "__esModule", ({
587 - value: true
588 -}));
589 -exports["default"] = void 0;
590 -var _createEditorHandler = __webpack_require__(/*! ../create-editor-handler */ "../assets/dev/js/frontend/handlers/create-editor-handler.js");
591 -var _default = exports["default"] = [() => __webpack_require__.e(/*! import() | shared-frontend-handlers */ "shared-frontend-handlers").then(__webpack_require__.bind(__webpack_require__, /*! ../background-slideshow */ "../assets/dev/js/frontend/handlers/background-slideshow.js")), () => __webpack_require__.e(/*! import() | shared-frontend-handlers */ "shared-frontend-handlers").then(__webpack_require__.bind(__webpack_require__, /*! ../background-video */ "../assets/dev/js/frontend/handlers/background-video.js")), (0, _createEditorHandler.createEditorHandler)(() => __webpack_require__.e(/*! import() | shared-editor-handlers */ "shared-editor-handlers").then(__webpack_require__.bind(__webpack_require__, /*! ../handles-position */ "../assets/dev/js/frontend/handlers/handles-position.js"))), (0, _createEditorHandler.createEditorHandler)(() => __webpack_require__.e(/*! import() | container-editor-handlers */ "container-editor-handlers").then(__webpack_require__.bind(__webpack_require__, /*! ./shapes */ "../assets/dev/js/frontend/handlers/container/shapes.js"))), (0, _createEditorHandler.createEditorHandler)(() => __webpack_require__.e(/*! import() | container-editor-handlers */ "container-editor-handlers").then(__webpack_require__.bind(__webpack_require__, /*! ./grid-container */ "../assets/dev/js/frontend/handlers/container/grid-container.js")))];
1667 +// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
1668 +var $keys = __webpack_require__(112);
1669 +var hiddenKeys = __webpack_require__(74).concat('length', 'prototype');
592 1670
1671 +exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
1672 + return $keys(O, hiddenKeys);
1673 +};
1674 +
1675 +
593 1676 /***/ }),
1677 +/* 92 */
1678 +/***/ (function(module, exports) {
594 1679
595 -/***/ "../assets/dev/js/frontend/handlers/create-editor-handler.js":
596 -/*!*******************************************************************!*\
597 - !*** ../assets/dev/js/frontend/handlers/create-editor-handler.js ***!
598 - \*******************************************************************/
599 -/***/ ((__unused_webpack_module, exports) => {
600 1680
601 1681
1682 +/***/ }),
1683 +/* 93 */,
1684 +/* 94 */
1685 +/***/ (function(module, exports, __webpack_require__) {
602 1686
603 -Object.defineProperty(exports, "__esModule", ({
604 - value: true
605 -}));
606 -exports.createEditorHandler = createEditorHandler;
607 -function createEditorHandler(importer) {
608 - return () => {
609 - return new Promise(resolve => {
610 - if (elementorFrontend.isEditMode()) {
611 - importer().then(resolve);
612 - }
613 - });
1687 +"use strict";
1688 +
1689 +
1690 +var regexpFlags = __webpack_require__(109);
1691 +
1692 +var nativeExec = RegExp.prototype.exec;
1693 +// This always refers to the native implementation, because the
1694 +// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,
1695 +// which loads this file before patching the method.
1696 +var nativeReplace = String.prototype.replace;
1697 +
1698 +var patchedExec = nativeExec;
1699 +
1700 +var LAST_INDEX = 'lastIndex';
1701 +
1702 +var UPDATES_LAST_INDEX_WRONG = (function () {
1703 + var re1 = /a/,
1704 + re2 = /b*/g;
1705 + nativeExec.call(re1, 'a');
1706 + nativeExec.call(re2, 'a');
1707 + return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;
1708 +})();
1709 +
1710 +// nonparticipating capturing group, copied from es5-shim's String#split patch.
1711 +var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
1712 +
1713 +var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;
1714 +
1715 +if (PATCH) {
1716 + patchedExec = function exec(str) {
1717 + var re = this;
1718 + var lastIndex, reCopy, match, i;
1719 +
1720 + if (NPCG_INCLUDED) {
1721 + reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re));
1722 + }
1723 + if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];
1724 +
1725 + match = nativeExec.call(re, str);
1726 +
1727 + if (UPDATES_LAST_INDEX_WRONG && match) {
1728 + re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex;
1729 + }
1730 + if (NPCG_INCLUDED && match && match.length > 1) {
1731 + // Fix browsers whose `exec` methods don't consistently return `undefined`
1732 + // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
1733 + // eslint-disable-next-line no-loop-func
1734 + nativeReplace.call(match[0], reCopy, function () {
1735 + for (i = 1; i < arguments.length - 2; i++) {
1736 + if (arguments[i] === undefined) match[i] = undefined;
1737 + }
1738 + });
1739 + }
1740 +
1741 + return match;
614 1742 };
615 1743 }
616 1744
1745 +module.exports = patchedExec;
1746 +
1747 +
617 1748 /***/ }),
1749 +/* 95 */
1750 +/***/ (function(module, exports, __webpack_require__) {
618 1751
619 -/***/ "../assets/dev/js/frontend/handlers/global.js":
620 -/*!****************************************************!*\
621 - !*** ../assets/dev/js/frontend/handlers/global.js ***!
622 - \****************************************************/
623 -/***/ ((__unused_webpack_module, exports) => {
1752 +module.exports = __webpack_require__(164);
624 1753
1754 +/***/ }),
1755 +/* 96 */
1756 +/***/ (function(module, exports, __webpack_require__) {
625 1757
1758 +"use strict";
626 1759
627 -Object.defineProperty(exports, "__esModule", ({
628 - value: true
629 -}));
630 -exports["default"] = void 0;
631 -class GlobalHandler extends elementorModules.frontend.handlers.Base {
632 - getWidgetType() {
633 - return 'global';
634 - }
635 - animate() {
636 - const $element = this.$element,
637 - animation = this.getAnimation();
638 - if ('none' === animation) {
639 - $element.removeClass('elementor-invisible');
640 - return;
1760 +var LIBRARY = __webpack_require__(44);
1761 +var $export = __webpack_require__(7);
1762 +var redefine = __webpack_require__(89);
1763 +var hide = __webpack_require__(22);
1764 +var Iterators = __webpack_require__(33);
1765 +var $iterCreate = __webpack_require__(170);
1766 +var setToStringTag = __webpack_require__(53);
1767 +var getPrototypeOf = __webpack_require__(63);
1768 +var ITERATOR = __webpack_require__(10)('iterator');
1769 +var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
1770 +var FF_ITERATOR = '@@iterator';
1771 +var KEYS = 'keys';
1772 +var VALUES = 'values';
1773 +
1774 +var returnThis = function () { return this; };
1775 +
1776 +module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {
1777 + $iterCreate(Constructor, NAME, next);
1778 + var getMethod = function (kind) {
1779 + if (!BUGGY && kind in proto) return proto[kind];
1780 + switch (kind) {
1781 + case KEYS: return function keys() { return new Constructor(this, kind); };
1782 + case VALUES: return function values() { return new Constructor(this, kind); };
1783 + } return function entries() { return new Constructor(this, kind); };
1784 + };
1785 + var TAG = NAME + ' Iterator';
1786 + var DEF_VALUES = DEFAULT == VALUES;
1787 + var VALUES_BUG = false;
1788 + var proto = Base.prototype;
1789 + var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
1790 + var $default = $native || getMethod(DEFAULT);
1791 + var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
1792 + var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
1793 + var methods, key, IteratorPrototype;
1794 + // Fix native
1795 + if ($anyNative) {
1796 + IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));
1797 + if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
1798 + // Set @@toStringTag to native iterators
1799 + setToStringTag(IteratorPrototype, TAG, true);
1800 + // fix for some old engines
1801 + if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);
641 1802 }
642 - const elementSettings = this.getElementSettings(),
643 - animationDelay = elementSettings._animation_delay || elementSettings.animation_delay || 0;
644 - $element.removeClass(animation);
645 - if (this.currentAnimation) {
646 - $element.removeClass(this.currentAnimation);
647 - }
648 - this.currentAnimation = animation;
649 - setTimeout(() => {
650 - $element.removeClass('elementor-invisible').addClass('animated ' + animation);
651 - }, animationDelay);
652 1803 }
653 - getAnimation() {
654 - return this.getCurrentDeviceSetting('animation') || this.getCurrentDeviceSetting('_animation');
1804 + // fix Array#{values, @@iterator}.name in V8 / FF
1805 + if (DEF_VALUES && $native && $native.name !== VALUES) {
1806 + VALUES_BUG = true;
1807 + $default = function values() { return $native.call(this); };
655 1808 }
656 - onInit(...args) {
657 - super.onInit(...args);
658 - if (this.getAnimation()) {
659 - const observer = elementorModules.utils.Scroll.scrollObserver({
660 - callback: event => {
661 - if (event.isInViewport) {
662 - this.animate();
663 - observer.unobserve(this.$element[0]);
664 - }
665 - }
666 - });
667 - observer.observe(this.$element[0]);
668 - }
1809 + // Define iterator
1810 + if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
1811 + hide(proto, ITERATOR, $default);
669 1812 }
670 - onElementChange(propertyName) {
671 - if (/^_?animation/.test(propertyName)) {
672 - this.animate();
673 - }
1813 + // Plug for library
1814 + Iterators[NAME] = $default;
1815 + Iterators[TAG] = returnThis;
1816 + if (DEFAULT) {
1817 + methods = {
1818 + values: DEF_VALUES ? $default : getMethod(VALUES),
1819 + keys: IS_SET ? $default : getMethod(KEYS),
1820 + entries: $entries
1821 + };
1822 + if (FORCED) for (key in methods) {
1823 + if (!(key in proto)) redefine(proto, key, methods[key]);
1824 + } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
674 1825 }
675 -}
676 -var _default = $scope => {
677 - elementorFrontend.elementsHandler.addHandler(GlobalHandler, {
678 - $element: $scope
679 - });
1826 + return methods;
680 1827 };
681 -exports["default"] = _default;
682 1828
1829 +
683 1830 /***/ }),
1831 +/* 97 */
1832 +/***/ (function(module, exports, __webpack_require__) {
684 1833
685 -/***/ "../assets/dev/js/frontend/handlers/section/section.js":
686 -/*!*************************************************************!*\
687 - !*** ../assets/dev/js/frontend/handlers/section/section.js ***!
688 - \*************************************************************/
689 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1834 +// 7.2.2 IsArray(argument)
1835 +var cof = __webpack_require__(56);
1836 +module.exports = Array.isArray || function isArray(arg) {
1837 + return cof(arg) == 'Array';
1838 +};
690 1839
691 1840
1841 +/***/ }),
1842 +/* 98 */
1843 +/***/ (function(module, exports) {
692 1844
693 -Object.defineProperty(exports, "__esModule", ({
694 - value: true
695 -}));
696 -exports["default"] = void 0;
697 -var _createEditorHandler = __webpack_require__(/*! ../create-editor-handler */ "../assets/dev/js/frontend/handlers/create-editor-handler.js");
698 -var _default = exports["default"] = [() => __webpack_require__.e(/*! import() | section-frontend-handlers */ "section-frontend-handlers").then(__webpack_require__.bind(__webpack_require__, /*! ./stretched-section */ "../assets/dev/js/frontend/handlers/section/stretched-section.js")),
699 -// Must run before BackgroundSlideshow to init the slideshow only after the stretch.
700 -() => __webpack_require__.e(/*! import() | shared-frontend-handlers */ "shared-frontend-handlers").then(__webpack_require__.bind(__webpack_require__, /*! ../background-slideshow */ "../assets/dev/js/frontend/handlers/background-slideshow.js")), () => __webpack_require__.e(/*! import() | shared-frontend-handlers */ "shared-frontend-handlers").then(__webpack_require__.bind(__webpack_require__, /*! ../background-video */ "../assets/dev/js/frontend/handlers/background-video.js")), (0, _createEditorHandler.createEditorHandler)(() => __webpack_require__.e(/*! import() | shared-editor-handlers */ "shared-editor-handlers").then(__webpack_require__.bind(__webpack_require__, /*! ../handles-position */ "../assets/dev/js/frontend/handlers/handles-position.js"))), (0, _createEditorHandler.createEditorHandler)(() => __webpack_require__.e(/*! import() | section-editor-handlers */ "section-editor-handlers").then(__webpack_require__.bind(__webpack_require__, /*! ./shapes */ "../assets/dev/js/frontend/handlers/section/shapes.js")))];
1845 +module.exports = function (it) {
1846 + if (typeof it != 'function') throw TypeError(it + ' is not a function!');
1847 + return it;
1848 +};
701 1849
1850 +
702 1851 /***/ }),
1852 +/* 99 */
1853 +/***/ (function(module, exports, __webpack_require__) {
703 1854
704 -/***/ "../assets/dev/js/frontend/utils/anchor-scroll-margin.js":
705 -/*!***************************************************************!*\
706 - !*** ../assets/dev/js/frontend/utils/anchor-scroll-margin.js ***!
707 - \***************************************************************/
708 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1855 +// getting tag from 19.1.3.6 Object.prototype.toString()
1856 +var cof = __webpack_require__(56);
1857 +var TAG = __webpack_require__(10)('toStringTag');
1858 +// ES3 wrong here
1859 +var ARG = cof(function () { return arguments; }()) == 'Arguments';
709 1860
1861 +// fallback for IE11 Script Access Denied error
1862 +var tryGet = function (it, key) {
1863 + try {
1864 + return it[key];
1865 + } catch (e) { /* empty */ }
1866 +};
710 1867
1868 +module.exports = function (it) {
1869 + var O, T, B;
1870 + return it === undefined ? 'Undefined' : it === null ? 'Null'
1871 + // @@toStringTag case
1872 + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
1873 + // builtinTag case
1874 + : ARG ? cof(O)
1875 + // ES3 arguments fallback
1876 + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
1877 +};
711 1878
712 -Object.defineProperty(exports, "__esModule", ({
713 - value: true
714 -}));
715 -exports["default"] = void 0;
716 -__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js");
717 -__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
718 -__webpack_require__(/*! core-js/modules/esnext.iterator.filter.js */ "../node_modules/core-js/modules/esnext.iterator.filter.js");
719 -__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
720 -class _default extends elementorModules.ViewModule {
721 - getDefaultSettings() {
722 - return {
723 - selectors: {
724 - links: '.elementor-element a[href*="#"]',
725 - stickyElements: '.elementor-element.elementor-sticky'
726 - }
727 - };
1879 +
1880 +/***/ }),
1881 +/* 100 */
1882 +/***/ (function(module, exports, __webpack_require__) {
1883 +
1884 +"use strict";
1885 +
1886 +
1887 +var classof = __webpack_require__(118);
1888 +var builtinExec = RegExp.prototype.exec;
1889 +
1890 + // `RegExpExec` abstract operation
1891 +// https://tc39.github.io/ecma262/#sec-regexpexec
1892 +module.exports = function (R, S) {
1893 + var exec = R.exec;
1894 + if (typeof exec === 'function') {
1895 + var result = exec.call(R, S);
1896 + if (typeof result !== 'object') {
1897 + throw new TypeError('RegExp exec method returned something other than an Object or null');
1898 + }
1899 + return result;
728 1900 }
729 - onInit() {
730 - this.observeStickyElements(() => {
731 - this.initializeStickyAndAnchorTracking();
732 - });
1901 + if (classof(R) !== 'RegExp') {
1902 + throw new TypeError('RegExp#exec called on incompatible receiver');
733 1903 }
734 - observeStickyElements(callback) {
735 - const observer = new MutationObserver(mutationsList => {
736 - for (const mutation of mutationsList) {
737 - if ('childList' === mutation.type || 'attributes' === mutation.type && mutation.target.classList.contains('elementor-sticky')) {
738 - callback();
1904 + return builtinExec.call(R, S);
1905 +};
1906 +
1907 +
1908 +/***/ }),
1909 +/* 101 */
1910 +/***/ (function(module, exports, __webpack_require__) {
1911 +
1912 +"use strict";
1913 +
1914 +__webpack_require__(197);
1915 +var redefine = __webpack_require__(39);
1916 +var hide = __webpack_require__(30);
1917 +var fails = __webpack_require__(36);
1918 +var defined = __webpack_require__(43);
1919 +var wks = __webpack_require__(13);
1920 +var regexpExec = __webpack_require__(94);
1921 +
1922 +var SPECIES = wks('species');
1923 +
1924 +var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
1925 + // #replace needs built-in support for named groups.
1926 + // #match works fine because it just return the exec results, even if it has
1927 + // a "grops" property.
1928 + var re = /./;
1929 + re.exec = function () {
1930 + var result = [];
1931 + result.groups = { a: '7' };
1932 + return result;
1933 + };
1934 + return ''.replace(re, '$<a>') !== '7';
1935 +});
1936 +
1937 +var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () {
1938 + // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
1939 + var re = /(?:)/;
1940 + var originalExec = re.exec;
1941 + re.exec = function () { return originalExec.apply(this, arguments); };
1942 + var result = 'ab'.split(re);
1943 + return result.length === 2 && result[0] === 'a' && result[1] === 'b';
1944 +})();
1945 +
1946 +module.exports = function (KEY, length, exec) {
1947 + var SYMBOL = wks(KEY);
1948 +
1949 + var DELEGATES_TO_SYMBOL = !fails(function () {
1950 + // String methods call symbol-named RegEp methods
1951 + var O = {};
1952 + O[SYMBOL] = function () { return 7; };
1953 + return ''[KEY](O) != 7;
1954 + });
1955 +
1956 + var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () {
1957 + // Symbol-named RegExp methods call .exec
1958 + var execCalled = false;
1959 + var re = /a/;
1960 + re.exec = function () { execCalled = true; return null; };
1961 + if (KEY === 'split') {
1962 + // RegExp[@@split] doesn't call the regex's exec method, but first creates
1963 + // a new one. We need to return the patched regex when creating the new one.
1964 + re.constructor = {};
1965 + re.constructor[SPECIES] = function () { return re; };
1966 + }
1967 + re[SYMBOL]('');
1968 + return !execCalled;
1969 + }) : undefined;
1970 +
1971 + if (
1972 + !DELEGATES_TO_SYMBOL ||
1973 + !DELEGATES_TO_EXEC ||
1974 + (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) ||
1975 + (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
1976 + ) {
1977 + var nativeRegExpMethod = /./[SYMBOL];
1978 + var fns = exec(
1979 + defined,
1980 + SYMBOL,
1981 + ''[KEY],
1982 + function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) {
1983 + if (regexp.exec === regexpExec) {
1984 + if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
1985 + // The native String method already delegates to @@method (this
1986 + // polyfilled function), leasing to infinite recursion.
1987 + // We avoid it by directly calling the native @@method method.
1988 + return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
1989 + }
1990 + return { done: true, value: nativeMethod.call(str, regexp, arg2) };
739 1991 }
1992 + return { done: false };
740 1993 }
741 - });
742 - observer.observe(document.body, {
743 - childList: true,
744 - subtree: true,
745 - attributes: true,
746 - attributeFilter: ['class', 'style']
747 - });
1994 + );
1995 + var strfn = fns[0];
1996 + var rxfn = fns[1];
1997 +
1998 + redefine(String.prototype, KEY, strfn);
1999 + hide(RegExp.prototype, SYMBOL, length == 2
2000 + // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
2001 + // 21.2.5.11 RegExp.prototype[@@split](string, limit)
2002 + ? function (string, arg) { return rxfn.call(string, this, arg); }
2003 + // 21.2.5.6 RegExp.prototype[@@match](string)
2004 + // 21.2.5.9 RegExp.prototype[@@search](string)
2005 + : function (string) { return rxfn.call(string, this); }
2006 + );
748 2007 }
749 - initializeStickyAndAnchorTracking() {
750 - const anchorLinks = this.getAllAnchorLinks();
751 - const stickyElements = this.getAllStickyElements();
752 - const trackedElements = [];
753 - if (!stickyElements.length > 0 && !anchorLinks.length > 0) {
754 - return;
755 - }
756 - this.trackStickyElements(stickyElements, trackedElements);
757 - this.trackAnchorLinks(anchorLinks, trackedElements);
758 - this.organizeStickyAndAnchors(trackedElements);
2008 +};
2009 +
2010 +
2011 +/***/ }),
2012 +/* 102 */
2013 +/***/ (function(module, exports, __webpack_require__) {
2014 +
2015 +// 7.1.13 ToObject(argument)
2016 +var defined = __webpack_require__(43);
2017 +module.exports = function (it) {
2018 + return Object(defined(it));
2019 +};
2020 +
2021 +
2022 +/***/ }),
2023 +/* 103 */
2024 +/***/ (function(module, exports, __webpack_require__) {
2025 +
2026 +// fallback for non-array-like ES3 and non-enumerable old V8 strings
2027 +var cof = __webpack_require__(56);
2028 +// eslint-disable-next-line no-prototype-builtins
2029 +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
2030 + return cof(it) == 'String' ? it.split('') : Object(it);
2031 +};
2032 +
2033 +
2034 +/***/ }),
2035 +/* 104 */
2036 +/***/ (function(module, exports, __webpack_require__) {
2037 +
2038 +// to indexed object, toObject with fallback for non-array-like ES3 strings
2039 +var IObject = __webpack_require__(125);
2040 +var defined = __webpack_require__(43);
2041 +module.exports = function (it) {
2042 + return IObject(defined(it));
2043 +};
2044 +
2045 +
2046 +/***/ }),
2047 +/* 105 */,
2048 +/* 106 */
2049 +/***/ (function(module, exports) {
2050 +
2051 +module.exports = function (bitmap, value) {
2052 + return {
2053 + enumerable: !(bitmap & 1),
2054 + configurable: !(bitmap & 2),
2055 + writable: !(bitmap & 4),
2056 + value: value
2057 + };
2058 +};
2059 +
2060 +
2061 +/***/ }),
2062 +/* 107 */
2063 +/***/ (function(module, exports, __webpack_require__) {
2064 +
2065 +module.exports = __webpack_require__(173);
2066 +
2067 +/***/ }),
2068 +/* 108 */
2069 +/***/ (function(module, exports, __webpack_require__) {
2070 +
2071 +"use strict";
2072 +
2073 +var at = __webpack_require__(146)(true);
2074 +
2075 + // `AdvanceStringIndex` abstract operation
2076 +// https://tc39.github.io/ecma262/#sec-advancestringindex
2077 +module.exports = function (S, index, unicode) {
2078 + return index + (unicode ? at(S, index).length : 1);
2079 +};
2080 +
2081 +
2082 +/***/ }),
2083 +/* 109 */
2084 +/***/ (function(module, exports, __webpack_require__) {
2085 +
2086 +"use strict";
2087 +
2088 +// 21.2.5.3 get RegExp.prototype.flags
2089 +var anObject = __webpack_require__(20);
2090 +module.exports = function () {
2091 + var that = anObject(this);
2092 + var result = '';
2093 + if (that.global) result += 'g';
2094 + if (that.ignoreCase) result += 'i';
2095 + if (that.multiline) result += 'm';
2096 + if (that.unicode) result += 'u';
2097 + if (that.sticky) result += 'y';
2098 + return result;
2099 +};
2100 +
2101 +
2102 +/***/ }),
2103 +/* 110 */
2104 +/***/ (function(module, exports, __webpack_require__) {
2105 +
2106 +module.exports = !__webpack_require__(14) && !__webpack_require__(21)(function () {
2107 + return Object.defineProperty(__webpack_require__(88)('div'), 'a', { get: function () { return 7; } }).a != 7;
2108 +});
2109 +
2110 +
2111 +/***/ }),
2112 +/* 111 */
2113 +/***/ (function(module, exports, __webpack_require__) {
2114 +
2115 +module.exports = __webpack_require__(157);
2116 +
2117 +/***/ }),
2118 +/* 112 */
2119 +/***/ (function(module, exports, __webpack_require__) {
2120 +
2121 +var has = __webpack_require__(17);
2122 +var toIObject = __webpack_require__(19);
2123 +var arrayIndexOf = __webpack_require__(162)(false);
2124 +var IE_PROTO = __webpack_require__(70)('IE_PROTO');
2125 +
2126 +module.exports = function (object, names) {
2127 + var O = toIObject(object);
2128 + var i = 0;
2129 + var result = [];
2130 + var key;
2131 + for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
2132 + // Don't enum bug & hidden keys
2133 + while (names.length > i) if (has(O, key = names[i++])) {
2134 + ~arrayIndexOf(result, key) || result.push(key);
759 2135 }
760 - trackAnchorLinks(anchorLinks, trackedElements) {
761 - anchorLinks.forEach(element => {
762 - const target = this.getAnchorTarget(element);
763 - const scrollPosition = this.getScrollPosition(target);
764 - trackedElements.push({
765 - element: target,
766 - type: 'anchor',
767 - scrollPosition
768 - });
769 - });
770 - }
771 - trackStickyElements(stickyElements, trackedElements) {
772 - stickyElements.forEach(element => {
773 - const settings = this.getElementSettings(element);
774 - if (!settings || !settings.sticky_anchor_link_offset) {
775 - return;
2136 + return result;
2137 +};
2138 +
2139 +
2140 +/***/ }),
2141 +/* 113 */,
2142 +/* 114 */
2143 +/***/ (function(module, exports, __webpack_require__) {
2144 +
2145 +var isObject = __webpack_require__(31);
2146 +var document = __webpack_require__(18).document;
2147 +// typeof document.createElement is 'object' in old IE
2148 +var is = isObject(document) && isObject(document.createElement);
2149 +module.exports = function (it) {
2150 + return is ? document.createElement(it) : {};
2151 +};
2152 +
2153 +
2154 +/***/ }),
2155 +/* 115 */
2156 +/***/ (function(module, exports) {
2157 +
2158 +module.exports = false;
2159 +
2160 +
2161 +/***/ }),
2162 +/* 116 */
2163 +/***/ (function(module, exports, __webpack_require__) {
2164 +
2165 +module.exports = __webpack_require__(184);
2166 +
2167 +/***/ }),
2168 +/* 117 */
2169 +/***/ (function(module, exports, __webpack_require__) {
2170 +
2171 +var classof = __webpack_require__(99);
2172 +var ITERATOR = __webpack_require__(10)('iterator');
2173 +var Iterators = __webpack_require__(33);
2174 +module.exports = __webpack_require__(6).getIteratorMethod = function (it) {
2175 + if (it != undefined) return it[ITERATOR]
2176 + || it['@@iterator']
2177 + || Iterators[classof(it)];
2178 +};
2179 +
2180 +
2181 +/***/ }),
2182 +/* 118 */
2183 +/***/ (function(module, exports, __webpack_require__) {
2184 +
2185 +// getting tag from 19.1.3.6 Object.prototype.toString()
2186 +var cof = __webpack_require__(52);
2187 +var TAG = __webpack_require__(13)('toStringTag');
2188 +// ES3 wrong here
2189 +var ARG = cof(function () { return arguments; }()) == 'Arguments';
2190 +
2191 +// fallback for IE11 Script Access Denied error
2192 +var tryGet = function (it, key) {
2193 + try {
2194 + return it[key];
2195 + } catch (e) { /* empty */ }
2196 +};
2197 +
2198 +module.exports = function (it) {
2199 + var O, T, B;
2200 + return it === undefined ? 'Undefined' : it === null ? 'Null'
2201 + // @@toStringTag case
2202 + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
2203 + // builtinTag case
2204 + : ARG ? cof(O)
2205 + // ES3 arguments fallback
2206 + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
2207 +};
2208 +
2209 +
2210 +/***/ }),
2211 +/* 119 */
2212 +/***/ (function(module, exports, __webpack_require__) {
2213 +
2214 +var _Object$setPrototypeOf = __webpack_require__(111);
2215 +
2216 +function _setPrototypeOf(o, p) {
2217 + module.exports = _setPrototypeOf = _Object$setPrototypeOf || function _setPrototypeOf(o, p) {
2218 + o.__proto__ = p;
2219 + return o;
2220 + };
2221 +
2222 + return _setPrototypeOf(o, p);
2223 +}
2224 +
2225 +module.exports = _setPrototypeOf;
2226 +
2227 +/***/ }),
2228 +/* 120 */
2229 +/***/ (function(module, exports) {
2230 +
2231 +module.exports = function (it, Constructor, name, forbiddenField) {
2232 + if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {
2233 + throw TypeError(name + ': incorrect invocation!');
2234 + } return it;
2235 +};
2236 +
2237 +
2238 +/***/ }),
2239 +/* 121 */
2240 +/***/ (function(module, exports, __webpack_require__) {
2241 +
2242 +var hide = __webpack_require__(22);
2243 +module.exports = function (target, src, safe) {
2244 + for (var key in src) {
2245 + if (safe && target[key]) target[key] = src[key];
2246 + else hide(target, key, src[key]);
2247 + } return target;
2248 +};
2249 +
2250 +
2251 +/***/ }),
2252 +/* 122 */,
2253 +/* 123 */,
2254 +/* 124 */
2255 +/***/ (function(module, exports, __webpack_require__) {
2256 +
2257 +"use strict";
2258 +
2259 +
2260 +var anObject = __webpack_require__(20);
2261 +var toLength = __webpack_require__(46);
2262 +var advanceStringIndex = __webpack_require__(108);
2263 +var regExpExec = __webpack_require__(100);
2264 +
2265 +// @@match logic
2266 +__webpack_require__(101)('match', 1, function (defined, MATCH, $match, maybeCallNative) {
2267 + return [
2268 + // `String.prototype.match` method
2269 + // https://tc39.github.io/ecma262/#sec-string.prototype.match
2270 + function match(regexp) {
2271 + var O = defined(this);
2272 + var fn = regexp == undefined ? undefined : regexp[MATCH];
2273 + return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));
2274 + },
2275 + // `RegExp.prototype[@@match]` method
2276 + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match
2277 + function (regexp) {
2278 + var res = maybeCallNative($match, regexp, this);
2279 + if (res.done) return res.value;
2280 + var rx = anObject(regexp);
2281 + var S = String(this);
2282 + if (!rx.global) return regExpExec(rx, S);
2283 + var fullUnicode = rx.unicode;
2284 + rx.lastIndex = 0;
2285 + var A = [];
2286 + var n = 0;
2287 + var result;
2288 + while ((result = regExpExec(rx, S)) !== null) {
2289 + var matchStr = String(result[0]);
2290 + A[n] = matchStr;
2291 + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
2292 + n++;
776 2293 }
777 - const {
778 - sticky_anchor_link_offset: scrollMarginTop
779 - } = settings;
780 - if (0 === scrollMarginTop) {
781 - return;
782 - }
783 - const scrollPosition = this.getScrollPosition(element);
784 - trackedElements.push({
785 - scrollMarginTop,
786 - type: 'sticky',
787 - scrollPosition
788 - });
789 - });
790 - }
791 - organizeStickyAndAnchors(elements) {
792 - const stickyList = this.filterAndSortElementsByType(elements, 'sticky');
793 - const anchorList = this.filterAndSortElementsByType(elements, 'anchor');
794 - stickyList.forEach((sticky, index) => {
795 - this.defineCurrentStickyRange(sticky, index, stickyList, anchorList);
796 - });
797 - }
798 - defineCurrentStickyRange(sticky, index, stickyList, anchorList) {
799 - const nextStickyScrollPosition = index + 1 < stickyList.length ? stickyList[index + 1].scrollPosition : Infinity;
800 - sticky.anchor = anchorList.filter(anchor => {
801 - const withinRange = anchor.scrollPosition > sticky.scrollPosition && anchor.scrollPosition < nextStickyScrollPosition;
802 - if (withinRange) {
803 - anchor.element.style.scrollMarginTop = `${sticky.scrollMarginTop}px`;
804 - }
805 - return withinRange;
806 - });
807 - }
808 - getScrollPosition(element) {
809 - let offsetTop = 0;
810 - while (element) {
811 - offsetTop += element.offsetTop;
812 - element = element.offsetParent;
2294 + return n === 0 ? null : A;
813 2295 }
814 - return offsetTop;
2296 + ];
2297 +});
2298 +
2299 +
2300 +/***/ }),
2301 +/* 125 */
2302 +/***/ (function(module, exports, __webpack_require__) {
2303 +
2304 +// fallback for non-array-like ES3 and non-enumerable old V8 strings
2305 +var cof = __webpack_require__(52);
2306 +// eslint-disable-next-line no-prototype-builtins
2307 +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
2308 + return cof(it) == 'String' ? it.split('') : Object(it);
2309 +};
2310 +
2311 +
2312 +/***/ }),
2313 +/* 126 */
2314 +/***/ (function(module, exports, __webpack_require__) {
2315 +
2316 +// 7.2.8 IsRegExp(argument)
2317 +var isObject = __webpack_require__(31);
2318 +var cof = __webpack_require__(52);
2319 +var MATCH = __webpack_require__(13)('match');
2320 +module.exports = function (it) {
2321 + var isRegExp;
2322 + return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');
2323 +};
2324 +
2325 +
2326 +/***/ }),
2327 +/* 127 */
2328 +/***/ (function(module, exports, __webpack_require__) {
2329 +
2330 +// 7.1.1 ToPrimitive(input [, PreferredType])
2331 +var isObject = __webpack_require__(31);
2332 +// instead of the ES6 spec version, we didn't implement @@toPrimitive case
2333 +// and the second argument - flag - preferred type is a string
2334 +module.exports = function (it, S) {
2335 + if (!isObject(it)) return it;
2336 + var fn, val;
2337 + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
2338 + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
2339 + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
2340 + throw TypeError("Can't convert object to primitive value");
2341 +};
2342 +
2343 +
2344 +/***/ }),
2345 +/* 128 */,
2346 +/* 129 */,
2347 +/* 130 */
2348 +/***/ (function(module, exports, __webpack_require__) {
2349 +
2350 +module.exports = __webpack_require__(160);
2351 +
2352 +/***/ }),
2353 +/* 131 */
2354 +/***/ (function(module, exports, __webpack_require__) {
2355 +
2356 +var dP = __webpack_require__(15);
2357 +var anObject = __webpack_require__(11);
2358 +var getKeys = __webpack_require__(37);
2359 +
2360 +module.exports = __webpack_require__(14) ? Object.defineProperties : function defineProperties(O, Properties) {
2361 + anObject(O);
2362 + var keys = getKeys(Properties);
2363 + var length = keys.length;
2364 + var i = 0;
2365 + var P;
2366 + while (length > i) dP.f(O, P = keys[i++], Properties[P]);
2367 + return O;
2368 +};
2369 +
2370 +
2371 +/***/ }),
2372 +/* 132 */
2373 +/***/ (function(module, exports, __webpack_require__) {
2374 +
2375 +var document = __webpack_require__(8).document;
2376 +module.exports = document && document.documentElement;
2377 +
2378 +
2379 +/***/ }),
2380 +/* 133 */
2381 +/***/ (function(module, exports) {
2382 +
2383 +// fast apply, http://jsperf.lnkit.com/fast-apply/5
2384 +module.exports = function (fn, args, that) {
2385 + var un = that === undefined;
2386 + switch (args.length) {
2387 + case 0: return un ? fn()
2388 + : fn.call(that);
2389 + case 1: return un ? fn(args[0])
2390 + : fn.call(that, args[0]);
2391 + case 2: return un ? fn(args[0], args[1])
2392 + : fn.call(that, args[0], args[1]);
2393 + case 3: return un ? fn(args[0], args[1], args[2])
2394 + : fn.call(that, args[0], args[1], args[2]);
2395 + case 4: return un ? fn(args[0], args[1], args[2], args[3])
2396 + : fn.call(that, args[0], args[1], args[2], args[3]);
2397 + } return fn.apply(that, args);
2398 +};
2399 +
2400 +
2401 +/***/ }),
2402 +/* 134 */
2403 +/***/ (function(module, exports, __webpack_require__) {
2404 +
2405 +module.exports = __webpack_require__(257);
2406 +
2407 +/***/ }),
2408 +/* 135 */
2409 +/***/ (function(module, exports, __webpack_require__) {
2410 +
2411 +module.exports = !__webpack_require__(28) && !__webpack_require__(36)(function () {
2412 + return Object.defineProperty(__webpack_require__(114)('div'), 'a', { get: function () { return 7; } }).a != 7;
2413 +});
2414 +
2415 +
2416 +/***/ }),
2417 +/* 136 */
2418 +/***/ (function(module, exports, __webpack_require__) {
2419 +
2420 +"use strict";
2421 +
2422 +// ECMAScript 6 symbols shim
2423 +var global = __webpack_require__(8);
2424 +var has = __webpack_require__(17);
2425 +var DESCRIPTORS = __webpack_require__(14);
2426 +var $export = __webpack_require__(7);
2427 +var redefine = __webpack_require__(89);
2428 +var META = __webpack_require__(66).KEY;
2429 +var $fails = __webpack_require__(21);
2430 +var shared = __webpack_require__(71);
2431 +var setToStringTag = __webpack_require__(53);
2432 +var uid = __webpack_require__(55);
2433 +var wks = __webpack_require__(10);
2434 +var wksExt = __webpack_require__(62);
2435 +var wksDefine = __webpack_require__(75);
2436 +var enumKeys = __webpack_require__(174);
2437 +var isArray = __webpack_require__(97);
2438 +var anObject = __webpack_require__(11);
2439 +var isObject = __webpack_require__(9);
2440 +var toObject = __webpack_require__(32);
2441 +var toIObject = __webpack_require__(19);
2442 +var toPrimitive = __webpack_require__(69);
2443 +var createDesc = __webpack_require__(42);
2444 +var _create = __webpack_require__(47);
2445 +var gOPNExt = __webpack_require__(175);
2446 +var $GOPD = __webpack_require__(48);
2447 +var $GOPS = __webpack_require__(67);
2448 +var $DP = __webpack_require__(15);
2449 +var $keys = __webpack_require__(37);
2450 +var gOPD = $GOPD.f;
2451 +var dP = $DP.f;
2452 +var gOPN = gOPNExt.f;
2453 +var $Symbol = global.Symbol;
2454 +var $JSON = global.JSON;
2455 +var _stringify = $JSON && $JSON.stringify;
2456 +var PROTOTYPE = 'prototype';
2457 +var HIDDEN = wks('_hidden');
2458 +var TO_PRIMITIVE = wks('toPrimitive');
2459 +var isEnum = {}.propertyIsEnumerable;
2460 +var SymbolRegistry = shared('symbol-registry');
2461 +var AllSymbols = shared('symbols');
2462 +var OPSymbols = shared('op-symbols');
2463 +var ObjectProto = Object[PROTOTYPE];
2464 +var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;
2465 +var QObject = global.QObject;
2466 +// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
2467 +var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
2468 +
2469 +// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
2470 +var setSymbolDesc = DESCRIPTORS && $fails(function () {
2471 + return _create(dP({}, 'a', {
2472 + get: function () { return dP(this, 'a', { value: 7 }).a; }
2473 + })).a != 7;
2474 +}) ? function (it, key, D) {
2475 + var protoDesc = gOPD(ObjectProto, key);
2476 + if (protoDesc) delete ObjectProto[key];
2477 + dP(it, key, D);
2478 + if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);
2479 +} : dP;
2480 +
2481 +var wrap = function (tag) {
2482 + var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);
2483 + sym._k = tag;
2484 + return sym;
2485 +};
2486 +
2487 +var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {
2488 + return typeof it == 'symbol';
2489 +} : function (it) {
2490 + return it instanceof $Symbol;
2491 +};
2492 +
2493 +var $defineProperty = function defineProperty(it, key, D) {
2494 + if (it === ObjectProto) $defineProperty(OPSymbols, key, D);
2495 + anObject(it);
2496 + key = toPrimitive(key, true);
2497 + anObject(D);
2498 + if (has(AllSymbols, key)) {
2499 + if (!D.enumerable) {
2500 + if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));
2501 + it[HIDDEN][key] = true;
2502 + } else {
2503 + if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;
2504 + D = _create(D, { enumerable: createDesc(0, false) });
2505 + } return setSymbolDesc(it, key, D);
2506 + } return dP(it, key, D);
2507 +};
2508 +var $defineProperties = function defineProperties(it, P) {
2509 + anObject(it);
2510 + var keys = enumKeys(P = toIObject(P));
2511 + var i = 0;
2512 + var l = keys.length;
2513 + var key;
2514 + while (l > i) $defineProperty(it, key = keys[i++], P[key]);
2515 + return it;
2516 +};
2517 +var $create = function create(it, P) {
2518 + return P === undefined ? _create(it) : $defineProperties(_create(it), P);
2519 +};
2520 +var $propertyIsEnumerable = function propertyIsEnumerable(key) {
2521 + var E = isEnum.call(this, key = toPrimitive(key, true));
2522 + if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;
2523 + return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
2524 +};
2525 +var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {
2526 + it = toIObject(it);
2527 + key = toPrimitive(key, true);
2528 + if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;
2529 + var D = gOPD(it, key);
2530 + if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;
2531 + return D;
2532 +};
2533 +var $getOwnPropertyNames = function getOwnPropertyNames(it) {
2534 + var names = gOPN(toIObject(it));
2535 + var result = [];
2536 + var i = 0;
2537 + var key;
2538 + while (names.length > i) {
2539 + if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);
2540 + } return result;
2541 +};
2542 +var $getOwnPropertySymbols = function getOwnPropertySymbols(it) {
2543 + var IS_OP = it === ObjectProto;
2544 + var names = gOPN(IS_OP ? OPSymbols : toIObject(it));
2545 + var result = [];
2546 + var i = 0;
2547 + var key;
2548 + while (names.length > i) {
2549 + if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);
2550 + } return result;
2551 +};
2552 +
2553 +// 19.4.1.1 Symbol([description])
2554 +if (!USE_NATIVE) {
2555 + $Symbol = function Symbol() {
2556 + if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');
2557 + var tag = uid(arguments.length > 0 ? arguments[0] : undefined);
2558 + var $set = function (value) {
2559 + if (this === ObjectProto) $set.call(OPSymbols, value);
2560 + if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
2561 + setSymbolDesc(this, tag, createDesc(1, value));
2562 + };
2563 + if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });
2564 + return wrap(tag);
2565 + };
2566 + redefine($Symbol[PROTOTYPE], 'toString', function toString() {
2567 + return this._k;
2568 + });
2569 +
2570 + $GOPD.f = $getOwnPropertyDescriptor;
2571 + $DP.f = $defineProperty;
2572 + __webpack_require__(91).f = gOPNExt.f = $getOwnPropertyNames;
2573 + __webpack_require__(49).f = $propertyIsEnumerable;
2574 + $GOPS.f = $getOwnPropertySymbols;
2575 +
2576 + if (DESCRIPTORS && !__webpack_require__(44)) {
2577 + redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
815 2578 }
816 - getAllStickyElements() {
817 - const allStickyElements = document.querySelectorAll(this.getSettings('selectors.stickyElements'));
818 - return Array.from(allStickyElements).filter((anchor, index, self) => index === self.findIndex(t => t.getAttribute('data-id') === anchor.getAttribute('data-id')));
2579 +
2580 + wksExt.f = function (name) {
2581 + return wrap(wks(name));
2582 + };
2583 +}
2584 +
2585 +$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });
2586 +
2587 +for (var es6Symbols = (
2588 + // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14
2589 + 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'
2590 +).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);
2591 +
2592 +for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);
2593 +
2594 +$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {
2595 + // 19.4.2.1 Symbol.for(key)
2596 + 'for': function (key) {
2597 + return has(SymbolRegistry, key += '')
2598 + ? SymbolRegistry[key]
2599 + : SymbolRegistry[key] = $Symbol(key);
2600 + },
2601 + // 19.4.2.5 Symbol.keyFor(sym)
2602 + keyFor: function keyFor(sym) {
2603 + if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');
2604 + for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;
2605 + },
2606 + useSetter: function () { setter = true; },
2607 + useSimple: function () { setter = false; }
2608 +});
2609 +
2610 +$export($export.S + $export.F * !USE_NATIVE, 'Object', {
2611 + // 19.1.2.2 Object.create(O [, Properties])
2612 + create: $create,
2613 + // 19.1.2.4 Object.defineProperty(O, P, Attributes)
2614 + defineProperty: $defineProperty,
2615 + // 19.1.2.3 Object.defineProperties(O, Properties)
2616 + defineProperties: $defineProperties,
2617 + // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
2618 + getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
2619 + // 19.1.2.7 Object.getOwnPropertyNames(O)
2620 + getOwnPropertyNames: $getOwnPropertyNames,
2621 + // 19.1.2.8 Object.getOwnPropertySymbols(O)
2622 + getOwnPropertySymbols: $getOwnPropertySymbols
2623 +});
2624 +
2625 +// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
2626 +// https://bugs.chromium.org/p/v8/issues/detail?id=3443
2627 +var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });
2628 +
2629 +$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {
2630 + getOwnPropertySymbols: function getOwnPropertySymbols(it) {
2631 + return $GOPS.f(toObject(it));
819 2632 }
820 - getAllAnchorLinks() {
821 - const allAnchors = document.querySelectorAll(this.getSettings('selectors.links'));
822 - return Array.from(allAnchors).filter((anchor, index, self) => index === self.findIndex(t => t.getAttribute('href') === anchor.getAttribute('href')));
2633 +});
2634 +
2635 +// 24.3.2 JSON.stringify(value [, replacer [, space]])
2636 +$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {
2637 + var S = $Symbol();
2638 + // MS Edge converts symbol values to JSON as {}
2639 + // WebKit converts symbol values to JSON as null
2640 + // V8 throws on boxed symbols
2641 + return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';
2642 +})), 'JSON', {
2643 + stringify: function stringify(it) {
2644 + var args = [it];
2645 + var i = 1;
2646 + var replacer, $replacer;
2647 + while (arguments.length > i) args.push(arguments[i++]);
2648 + $replacer = replacer = args[1];
2649 + if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
2650 + if (!isArray(replacer)) replacer = function (key, value) {
2651 + if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
2652 + if (!isSymbol(value)) return value;
2653 + };
2654 + args[1] = replacer;
2655 + return _stringify.apply($JSON, args);
823 2656 }
824 - filterAndSortElementsByType(elements, type) {
825 - return elements.filter(item => type === item.type).sort((a, b) => a.scrollPosition - b.scrollPosition);
2657 +});
2658 +
2659 +// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)
2660 +$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(22)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
2661 +// 19.4.3.5 Symbol.prototype[@@toStringTag]
2662 +setToStringTag($Symbol, 'Symbol');
2663 +// 20.2.1.9 Math[@@toStringTag]
2664 +setToStringTag(Math, 'Math', true);
2665 +// 24.3.3 JSON[@@toStringTag]
2666 +setToStringTag(global.JSON, 'JSON', true);
2667 +
2668 +
2669 +/***/ }),
2670 +/* 137 */,
2671 +/* 138 */
2672 +/***/ (function(module, exports, __webpack_require__) {
2673 +
2674 +var _Reflect$construct = __webpack_require__(95);
2675 +
2676 +function _isNativeReflectConstruct() {
2677 + if (typeof Reflect === "undefined" || !_Reflect$construct) return false;
2678 + if (_Reflect$construct.sham) return false;
2679 + if (typeof Proxy === "function") return true;
2680 +
2681 + try {
2682 + Date.prototype.toString.call(_Reflect$construct(Date, [], function () {}));
2683 + return true;
2684 + } catch (e) {
2685 + return false;
826 2686 }
827 - isValidSelector(hash) {
828 - const validSelectorPattern = /^#[A-Za-z_][\w-]*$/;
829 - return validSelectorPattern.test(hash);
830 - }
831 - getAnchorTarget(element) {
832 - const hash = element?.hash;
833 - if (!this.isValidSelector(hash)) {
834 - return null;
835 - }
836 - return document.querySelector(hash);
837 - }
838 - getElementSettings(element) {
839 - return JSON.parse(element.getAttribute('data-settings'));
840 - }
841 2687 }
842 -exports["default"] = _default;
843 2688
2689 +module.exports = _isNativeReflectConstruct;
2690 +
844 2691 /***/ }),
2692 +/* 139 */
2693 +/***/ (function(module, exports) {
845 2694
846 -/***/ "../assets/dev/js/frontend/utils/assets-loader.js":
847 -/*!********************************************************!*\
848 - !*** ../assets/dev/js/frontend/utils/assets-loader.js ***!
849 - \********************************************************/
850 -/***/ ((__unused_webpack_module, exports) => {
2695 +module.exports = function (done, value) {
2696 + return { value: value, done: !!done };
2697 +};
851 2698
852 2699
2700 +/***/ }),
2701 +/* 140 */,
2702 +/* 141 */
2703 +/***/ (function(module, exports, __webpack_require__) {
853 2704
854 -Object.defineProperty(exports, "__esModule", ({
855 - value: true
856 -}));
857 -exports["default"] = void 0;
858 -class AssetsLoader {
859 - getScriptElement(src) {
860 - const scriptElement = document.createElement('script');
861 - scriptElement.src = src;
862 - return scriptElement;
2705 +"use strict";
2706 +
2707 +// https://github.com/tc39/Array.prototype.includes
2708 +var $export = __webpack_require__(38);
2709 +var $includes = __webpack_require__(145)(true);
2710 +
2711 +$export($export.P, 'Array', {
2712 + includes: function includes(el /* , fromIndex = 0 */) {
2713 + return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
863 2714 }
864 - getStyleElement(src) {
865 - const styleElement = document.createElement('link');
866 - styleElement.rel = 'stylesheet';
867 - styleElement.href = src;
868 - return styleElement;
2715 +});
2716 +
2717 +__webpack_require__(90)('includes');
2718 +
2719 +
2720 +/***/ }),
2721 +/* 142 */,
2722 +/* 143 */
2723 +/***/ (function(module, exports, __webpack_require__) {
2724 +
2725 +// call something on iterator step with safe closing on error
2726 +var anObject = __webpack_require__(11);
2727 +module.exports = function (iterator, fn, value, entries) {
2728 + try {
2729 + return entries ? fn(anObject(value)[0], value[1]) : fn(value);
2730 + // 7.4.6 IteratorClose(iterator, completion)
2731 + } catch (e) {
2732 + var ret = iterator['return'];
2733 + if (ret !== undefined) anObject(ret.call(iterator));
2734 + throw e;
869 2735 }
870 - load(type, key) {
871 - const assetData = AssetsLoader.assets[type][key];
872 - if (!assetData.loader) {
873 - assetData.loader = this.isAssetLoaded(assetData, type) ? Promise.resolve(true) : this.loadAsset(assetData, type);
874 - }
875 - return assetData.loader;
876 - }
877 - isAssetLoaded(assetData, assetType) {
878 - const filePath = 'script' === assetType ? `script[src="${assetData.src}"]` : `link[href="${assetData.src}"]`;
879 - return !!document.querySelectorAll(filePath)?.length;
880 - }
881 - loadAsset(assetData, assetType) {
882 - return new Promise(resolve => {
883 - const element = 'style' === assetType ? this.getStyleElement(assetData.src) : this.getScriptElement(assetData.src);
884 - element.onload = () => resolve(true);
885 - this.appendAsset(assetData, element);
886 - });
887 - }
888 - appendAsset(assetData, element) {
889 - const beforeElement = document.querySelector(assetData.before);
890 - if (!!beforeElement) {
891 - beforeElement.insertAdjacentElement('beforebegin', element);
892 - return;
893 - }
894 - const parent = 'head' === assetData.parent ? assetData.parent : 'body';
895 - document[parent].appendChild(element);
896 - }
2736 +};
2737 +
2738 +
2739 +/***/ }),
2740 +/* 144 */
2741 +/***/ (function(module, exports, __webpack_require__) {
2742 +
2743 +// check on default Array iterator
2744 +var Iterators = __webpack_require__(33);
2745 +var ITERATOR = __webpack_require__(10)('iterator');
2746 +var ArrayProto = Array.prototype;
2747 +
2748 +module.exports = function (it) {
2749 + return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
2750 +};
2751 +
2752 +
2753 +/***/ }),
2754 +/* 145 */
2755 +/***/ (function(module, exports, __webpack_require__) {
2756 +
2757 +// false -> Array#indexOf
2758 +// true -> Array#includes
2759 +var toIObject = __webpack_require__(104);
2760 +var toLength = __webpack_require__(46);
2761 +var toAbsoluteIndex = __webpack_require__(199);
2762 +module.exports = function (IS_INCLUDES) {
2763 + return function ($this, el, fromIndex) {
2764 + var O = toIObject($this);
2765 + var length = toLength(O.length);
2766 + var index = toAbsoluteIndex(fromIndex, length);
2767 + var value;
2768 + // Array#includes uses SameValueZero equality algorithm
2769 + // eslint-disable-next-line no-self-compare
2770 + if (IS_INCLUDES && el != el) while (length > index) {
2771 + value = O[index++];
2772 + // eslint-disable-next-line no-self-compare
2773 + if (value != value) return true;
2774 + // Array#indexOf ignores holes, Array#includes - not
2775 + } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
2776 + if (O[index] === el) return IS_INCLUDES || index || 0;
2777 + } return !IS_INCLUDES && -1;
2778 + };
2779 +};
2780 +
2781 +
2782 +/***/ }),
2783 +/* 146 */
2784 +/***/ (function(module, exports, __webpack_require__) {
2785 +
2786 +var toInteger = __webpack_require__(60);
2787 +var defined = __webpack_require__(43);
2788 +// true -> String#at
2789 +// false -> String#codePointAt
2790 +module.exports = function (TO_STRING) {
2791 + return function (that, pos) {
2792 + var s = String(defined(that));
2793 + var i = toInteger(pos);
2794 + var l = s.length;
2795 + var a, b;
2796 + if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
2797 + a = s.charCodeAt(i);
2798 + return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
2799 + ? TO_STRING ? s.charAt(i) : a
2800 + : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
2801 + };
2802 +};
2803 +
2804 +
2805 +/***/ }),
2806 +/* 147 */
2807 +/***/ (function(module, exports, __webpack_require__) {
2808 +
2809 +module.exports = __webpack_require__(76)('native-function-to-string', Function.toString);
2810 +
2811 +
2812 +/***/ }),
2813 +/* 148 */
2814 +/***/ (function(module, exports, __webpack_require__) {
2815 +
2816 +module.exports = __webpack_require__(168);
2817 +
2818 +/***/ }),
2819 +/* 149 */
2820 +/***/ (function(module, exports, __webpack_require__) {
2821 +
2822 +"use strict";
2823 +
2824 +// 25.4.1.5 NewPromiseCapability(C)
2825 +var aFunction = __webpack_require__(35);
2826 +
2827 +function PromiseCapability(C) {
2828 + var resolve, reject;
2829 + this.promise = new C(function ($$resolve, $$reject) {
2830 + if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');
2831 + resolve = $$resolve;
2832 + reject = $$reject;
2833 + });
2834 + this.resolve = aFunction(resolve);
2835 + this.reject = aFunction(reject);
897 2836 }
898 -exports["default"] = AssetsLoader;
899 -const assetsUrl = elementorFrontendConfig.urls.assets;
900 -const fileSuffix = elementorFrontendConfig.environmentMode.isScriptDebug ? '' : '.min';
901 -const pluginVersion = elementorFrontendConfig.version;
902 -AssetsLoader.assets = {
903 - script: {
904 - dialog: {
905 - src: `${assetsUrl}lib/dialog/dialog${fileSuffix}.js?ver=4.9.3`
906 - },
907 - 'share-link': {
908 - src: `${assetsUrl}lib/share-link/share-link${fileSuffix}.js?ver=${pluginVersion}`
909 - },
910 - // TODO: Remove 'swiper' in v3.29.0 [ED-16272].
911 - swiper: {
912 - src: `${assetsUrl}lib/swiper/v8/swiper${fileSuffix}.js?ver=8.4.5`
913 - }
914 - },
915 - style: {
916 - swiper: {
917 - src: `${assetsUrl}lib/swiper/v8/css/swiper${fileSuffix}.css?ver=8.4.5`,
918 - parent: 'head'
919 - },
920 - 'e-lightbox': {
921 - src: elementorFrontendConfig?.responsive?.hasCustomBreakpoints ? `${elementorFrontendConfig.urls.uploadUrl}/elementor/css/custom-lightbox.min.css?ver=${pluginVersion}` : `${assetsUrl}css/conditionals/lightbox${fileSuffix}.css?ver=${pluginVersion}`
922 - },
923 - dialog: {
924 - src: `${assetsUrl}css/conditionals/dialog${fileSuffix}.css?ver=${pluginVersion}`,
925 - parent: 'head',
926 - before: '#elementor-frontend-css'
927 - }
928 - }
2837 +
2838 +module.exports.f = function (C) {
2839 + return new PromiseCapability(C);
929 2840 };
930 2841
2842 +
931 2843 /***/ }),
2844 +/* 150 */,
2845 +/* 151 */,
2846 +/* 152 */
2847 +/***/ (function(module, exports, __webpack_require__) {
932 2848
933 -/***/ "../assets/dev/js/frontend/utils/controls.js":
934 -/*!***************************************************!*\
935 - !*** ../assets/dev/js/frontend/utils/controls.js ***!
936 - \***************************************************/
937 -/***/ ((__unused_webpack_module, exports) => {
2849 +__webpack_require__(153);
2850 +var $Object = __webpack_require__(6).Object;
2851 +module.exports = function defineProperty(it, key, desc) {
2852 + return $Object.defineProperty(it, key, desc);
2853 +};
938 2854
939 2855
2856 +/***/ }),
2857 +/* 153 */
2858 +/***/ (function(module, exports, __webpack_require__) {
940 2859
941 -Object.defineProperty(exports, "__esModule", ({
942 - value: true
943 -}));
944 -exports["default"] = void 0;
945 -class Controls {
946 - /**
947 - * Get Control Value
948 - *
949 - * Retrieves a control value.
950 - * This function has been copied from `elementor/assets/dev/js/editor/utils/conditions.js`.
951 - *
952 - * @since 3.11.0
953 - *
954 - * @param {{}} controlSettings A settings object (e.g. element settings - keys and values)
955 - * @param {string} controlKey The control key name
956 - * @param {string} controlSubKey A specific property of the control object.
957 - * @return {*} Control Value
958 - */
959 - getControlValue(controlSettings, controlKey, controlSubKey) {
960 - let value;
961 - if ('object' === typeof controlSettings[controlKey] && controlSubKey) {
962 - value = controlSettings[controlKey][controlSubKey];
963 - } else {
964 - value = controlSettings[controlKey];
2860 +var $export = __webpack_require__(7);
2861 +// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
2862 +$export($export.S + $export.F * !__webpack_require__(14), 'Object', { defineProperty: __webpack_require__(15).f });
2863 +
2864 +
2865 +/***/ }),
2866 +/* 154 */
2867 +/***/ (function(module, exports, __webpack_require__) {
2868 +
2869 +module.exports = __webpack_require__(155);
2870 +
2871 +/***/ }),
2872 +/* 155 */
2873 +/***/ (function(module, exports, __webpack_require__) {
2874 +
2875 +__webpack_require__(156);
2876 +module.exports = __webpack_require__(6).Object.getPrototypeOf;
2877 +
2878 +
2879 +/***/ }),
2880 +/* 156 */
2881 +/***/ (function(module, exports, __webpack_require__) {
2882 +
2883 +// 19.1.2.9 Object.getPrototypeOf(O)
2884 +var toObject = __webpack_require__(32);
2885 +var $getPrototypeOf = __webpack_require__(63);
2886 +
2887 +__webpack_require__(78)('getPrototypeOf', function () {
2888 + return function getPrototypeOf(it) {
2889 + return $getPrototypeOf(toObject(it));
2890 + };
2891 +});
2892 +
2893 +
2894 +/***/ }),
2895 +/* 157 */
2896 +/***/ (function(module, exports, __webpack_require__) {
2897 +
2898 +__webpack_require__(158);
2899 +module.exports = __webpack_require__(6).Object.setPrototypeOf;
2900 +
2901 +
2902 +/***/ }),
2903 +/* 158 */
2904 +/***/ (function(module, exports, __webpack_require__) {
2905 +
2906 +// 19.1.3.19 Object.setPrototypeOf(O, proto)
2907 +var $export = __webpack_require__(7);
2908 +$export($export.S, 'Object', { setPrototypeOf: __webpack_require__(159).set });
2909 +
2910 +
2911 +/***/ }),
2912 +/* 159 */
2913 +/***/ (function(module, exports, __webpack_require__) {
2914 +
2915 +// Works with __proto__ only. Old v8 can't work with null proto objects.
2916 +/* eslint-disable no-proto */
2917 +var isObject = __webpack_require__(9);
2918 +var anObject = __webpack_require__(11);
2919 +var check = function (O, proto) {
2920 + anObject(O);
2921 + if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!");
2922 +};
2923 +module.exports = {
2924 + set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
2925 + function (test, buggy, set) {
2926 + try {
2927 + set = __webpack_require__(29)(Function.call, __webpack_require__(48).f(Object.prototype, '__proto__').set, 2);
2928 + set(test, []);
2929 + buggy = !(test instanceof Array);
2930 + } catch (e) { buggy = true; }
2931 + return function setPrototypeOf(O, proto) {
2932 + check(O, proto);
2933 + if (buggy) O.__proto__ = proto;
2934 + else set(O, proto);
2935 + return O;
2936 + };
2937 + }({}, false) : undefined),
2938 + check: check
2939 +};
2940 +
2941 +
2942 +/***/ }),
2943 +/* 160 */
2944 +/***/ (function(module, exports, __webpack_require__) {
2945 +
2946 +__webpack_require__(161);
2947 +var $Object = __webpack_require__(6).Object;
2948 +module.exports = function create(P, D) {
2949 + return $Object.create(P, D);
2950 +};
2951 +
2952 +
2953 +/***/ }),
2954 +/* 161 */
2955 +/***/ (function(module, exports, __webpack_require__) {
2956 +
2957 +var $export = __webpack_require__(7);
2958 +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
2959 +$export($export.S, 'Object', { create: __webpack_require__(47) });
2960 +
2961 +
2962 +/***/ }),
2963 +/* 162 */
2964 +/***/ (function(module, exports, __webpack_require__) {
2965 +
2966 +// false -> Array#indexOf
2967 +// true -> Array#includes
2968 +var toIObject = __webpack_require__(19);
2969 +var toLength = __webpack_require__(72);
2970 +var toAbsoluteIndex = __webpack_require__(163);
2971 +module.exports = function (IS_INCLUDES) {
2972 + return function ($this, el, fromIndex) {
2973 + var O = toIObject($this);
2974 + var length = toLength(O.length);
2975 + var index = toAbsoluteIndex(fromIndex, length);
2976 + var value;
2977 + // Array#includes uses SameValueZero equality algorithm
2978 + // eslint-disable-next-line no-self-compare
2979 + if (IS_INCLUDES && el != el) while (length > index) {
2980 + value = O[index++];
2981 + // eslint-disable-next-line no-self-compare
2982 + if (value != value) return true;
2983 + // Array#indexOf ignores holes, Array#includes - not
2984 + } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
2985 + if (O[index] === el) return IS_INCLUDES || index || 0;
2986 + } return !IS_INCLUDES && -1;
2987 + };
2988 +};
2989 +
2990 +
2991 +/***/ }),
2992 +/* 163 */
2993 +/***/ (function(module, exports, __webpack_require__) {
2994 +
2995 +var toInteger = __webpack_require__(73);
2996 +var max = Math.max;
2997 +var min = Math.min;
2998 +module.exports = function (index, length) {
2999 + index = toInteger(index);
3000 + return index < 0 ? max(index + length, 0) : min(index, length);
3001 +};
3002 +
3003 +
3004 +/***/ }),
3005 +/* 164 */
3006 +/***/ (function(module, exports, __webpack_require__) {
3007 +
3008 +__webpack_require__(165);
3009 +module.exports = __webpack_require__(6).Reflect.construct;
3010 +
3011 +
3012 +/***/ }),
3013 +/* 165 */
3014 +/***/ (function(module, exports, __webpack_require__) {
3015 +
3016 +// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])
3017 +var $export = __webpack_require__(7);
3018 +var create = __webpack_require__(47);
3019 +var aFunction = __webpack_require__(35);
3020 +var anObject = __webpack_require__(11);
3021 +var isObject = __webpack_require__(9);
3022 +var fails = __webpack_require__(21);
3023 +var bind = __webpack_require__(166);
3024 +var rConstruct = (__webpack_require__(8).Reflect || {}).construct;
3025 +
3026 +// MS Edge supports only 2 arguments and argumentsList argument is optional
3027 +// FF Nightly sets third argument as `new.target`, but does not create `this` from it
3028 +var NEW_TARGET_BUG = fails(function () {
3029 + function F() { /* empty */ }
3030 + return !(rConstruct(function () { /* empty */ }, [], F) instanceof F);
3031 +});
3032 +var ARGS_BUG = !fails(function () {
3033 + rConstruct(function () { /* empty */ });
3034 +});
3035 +
3036 +$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {
3037 + construct: function construct(Target, args /* , newTarget */) {
3038 + aFunction(Target);
3039 + anObject(args);
3040 + var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);
3041 + if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget);
3042 + if (Target == newTarget) {
3043 + // w/o altered newTarget, optimization for 0-4 arguments
3044 + switch (args.length) {
3045 + case 0: return new Target();
3046 + case 1: return new Target(args[0]);
3047 + case 2: return new Target(args[0], args[1]);
3048 + case 3: return new Target(args[0], args[1], args[2]);
3049 + case 4: return new Target(args[0], args[1], args[2], args[3]);
3050 + }
3051 + // w/o altered newTarget, lot of arguments case
3052 + var $args = [null];
3053 + $args.push.apply($args, args);
3054 + return new (bind.apply(Target, $args))();
965 3055 }
966 - return value;
3056 + // with altered newTarget, not support built-in constructors
3057 + var proto = newTarget.prototype;
3058 + var instance = create(isObject(proto) ? proto : Object.prototype);
3059 + var result = Function.apply.call(Target, instance, args);
3060 + return isObject(result) ? result : instance;
967 3061 }
3062 +});
968 3063
969 - /**
970 - * Get the value of a responsive control.
971 - *
972 - * Retrieves the value of a responsive control for the current device or for this first parent device which has a control value.
973 - *
974 - * @since 3.11.0
975 - *
976 - * @param {{}} controlSettings A settings object (e.g. element settings - keys and values)
977 - * @param {string} controlKey The control key name
978 - * @param {string} controlSubKey A specific property of the control object.
979 - * @param {string} device If we want to get a value for a specific device mode.
980 - * @return {*} Control Value
981 - */
982 - getResponsiveControlValue(controlSettings, controlKey, controlSubKey = '', device = null) {
983 - const currentDeviceMode = device || elementorFrontend.getCurrentDeviceMode(),
984 - controlValueDesktop = this.getControlValue(controlSettings, controlKey, controlSubKey);
985 3064
986 - // Set the control value for the current device mode.
987 - // First check the widescreen device mode.
988 - if ('widescreen' === currentDeviceMode) {
989 - const controlValueWidescreen = this.getControlValue(controlSettings, `${controlKey}_widescreen`, controlSubKey);
990 - return !!controlValueWidescreen || 0 === controlValueWidescreen ? controlValueWidescreen : controlValueDesktop;
991 - }
3065 +/***/ }),
3066 +/* 166 */
3067 +/***/ (function(module, exports, __webpack_require__) {
992 3068
993 - // Loop through all responsive and desktop device modes.
994 - const activeBreakpoints = elementorFrontend.breakpoints.getActiveBreakpointsList({
995 - withDesktop: true
996 - });
997 - let parentDeviceMode = currentDeviceMode,
998 - deviceIndex = activeBreakpoints.indexOf(currentDeviceMode),
999 - controlValue = '';
1000 - while (deviceIndex <= activeBreakpoints.length) {
1001 - if ('desktop' === parentDeviceMode) {
1002 - controlValue = controlValueDesktop;
1003 - break;
1004 - }
1005 - const responsiveControlKey = `${controlKey}_${parentDeviceMode}`,
1006 - responsiveControlValue = this.getControlValue(controlSettings, responsiveControlKey, controlSubKey);
1007 - if (!!responsiveControlValue || 0 === responsiveControlValue) {
1008 - controlValue = responsiveControlValue;
1009 - break;
1010 - }
3069 +"use strict";
1011 3070
1012 - // If no control value has been set for the current device mode, then check the parent device mode.
1013 - deviceIndex++;
1014 - parentDeviceMode = activeBreakpoints[deviceIndex];
1015 - }
1016 - return controlValue;
3071 +var aFunction = __webpack_require__(35);
3072 +var isObject = __webpack_require__(9);
3073 +var invoke = __webpack_require__(133);
3074 +var arraySlice = [].slice;
3075 +var factories = {};
3076 +
3077 +var construct = function (F, len, args) {
3078 + if (!(len in factories)) {
3079 + for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']';
3080 + // eslint-disable-next-line no-new-func
3081 + factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');
3082 + } return factories[len](F, args);
3083 +};
3084 +
3085 +module.exports = Function.bind || function bind(that /* , ...args */) {
3086 + var fn = aFunction(this);
3087 + var partArgs = arraySlice.call(arguments, 1);
3088 + var bound = function (/* args... */) {
3089 + var args = partArgs.concat(arraySlice.call(arguments));
3090 + return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);
3091 + };
3092 + if (isObject(fn.prototype)) bound.prototype = fn.prototype;
3093 + return bound;
3094 +};
3095 +
3096 +
3097 +/***/ }),
3098 +/* 167 */
3099 +/***/ (function(module, exports, __webpack_require__) {
3100 +
3101 +var _typeof = __webpack_require__(50);
3102 +
3103 +var assertThisInitialized = __webpack_require__(45);
3104 +
3105 +function _possibleConstructorReturn(self, call) {
3106 + if (call && (_typeof(call) === "object" || typeof call === "function")) {
3107 + return call;
1017 3108 }
3109 +
3110 + return assertThisInitialized(self);
1018 3111 }
1019 -exports["default"] = Controls;
1020 3112
3113 +module.exports = _possibleConstructorReturn;
3114 +
1021 3115 /***/ }),
3116 +/* 168 */
3117 +/***/ (function(module, exports, __webpack_require__) {
1022 3118
1023 -/***/ "../assets/dev/js/frontend/utils/lightbox/lightbox-manager.js":
1024 -/*!********************************************************************!*\
1025 - !*** ../assets/dev/js/frontend/utils/lightbox/lightbox-manager.js ***!
1026 - \********************************************************************/
1027 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3119 +__webpack_require__(57);
3120 +__webpack_require__(59);
3121 +module.exports = __webpack_require__(62).f('iterator');
1028 3122
1029 3123
3124 +/***/ }),
3125 +/* 169 */
3126 +/***/ (function(module, exports, __webpack_require__) {
1030 3127
1031 -Object.defineProperty(exports, "__esModule", ({
1032 - value: true
1033 -}));
1034 -exports["default"] = void 0;
1035 -__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
1036 -__webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js");
1037 -class LightboxManager extends elementorModules.ViewModule {
1038 - static getLightbox() {
1039 - const lightboxPromise = new Promise(resolveLightbox => {
1040 - Promise.all(/*! import() | lightbox */[__webpack_require__.e("vendors-node_modules_dompurify_dist_purify_cjs_js"), __webpack_require__.e("lightbox")]).then(__webpack_require__.t.bind(__webpack_require__, /*! elementor-frontend/utils/lightbox/lightbox */ "../assets/dev/js/frontend/utils/lightbox/lightbox.js", 23)).then(({
1041 - default: LightboxModule
1042 - }) => resolveLightbox(new LightboxModule()));
1043 - }),
1044 - dialogScriptPromise = elementorFrontend.utils.assetsLoader.load('script', 'dialog'),
1045 - dialogStylePromise = elementorFrontend.utils.assetsLoader.load('style', 'dialog'),
1046 - shareLinkPromise = elementorFrontend.utils.assetsLoader.load('script', 'share-link'),
1047 - swiperStylePromise = elementorFrontend.utils.assetsLoader.load('style', 'swiper'),
1048 - lightboxStylePromise = elementorFrontend.utils.assetsLoader.load('style', 'e-lightbox');
1049 - return Promise.all([lightboxPromise, dialogScriptPromise, dialogStylePromise, shareLinkPromise, swiperStylePromise, lightboxStylePromise]).then(() => lightboxPromise);
3128 +var toInteger = __webpack_require__(73);
3129 +var defined = __webpack_require__(65);
3130 +// true -> String#at
3131 +// false -> String#codePointAt
3132 +module.exports = function (TO_STRING) {
3133 + return function (that, pos) {
3134 + var s = String(defined(that));
3135 + var i = toInteger(pos);
3136 + var l = s.length;
3137 + var a, b;
3138 + if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
3139 + a = s.charCodeAt(i);
3140 + return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
3141 + ? TO_STRING ? s.charAt(i) : a
3142 + : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
3143 + };
3144 +};
3145 +
3146 +
3147 +/***/ }),
3148 +/* 170 */
3149 +/***/ (function(module, exports, __webpack_require__) {
3150 +
3151 +"use strict";
3152 +
3153 +var create = __webpack_require__(47);
3154 +var descriptor = __webpack_require__(42);
3155 +var setToStringTag = __webpack_require__(53);
3156 +var IteratorPrototype = {};
3157 +
3158 +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
3159 +__webpack_require__(22)(IteratorPrototype, __webpack_require__(10)('iterator'), function () { return this; });
3160 +
3161 +module.exports = function (Constructor, NAME, next) {
3162 + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });
3163 + setToStringTag(Constructor, NAME + ' Iterator');
3164 +};
3165 +
3166 +
3167 +/***/ }),
3168 +/* 171 */
3169 +/***/ (function(module, exports, __webpack_require__) {
3170 +
3171 +"use strict";
3172 +
3173 +var addToUnscopables = __webpack_require__(172);
3174 +var step = __webpack_require__(139);
3175 +var Iterators = __webpack_require__(33);
3176 +var toIObject = __webpack_require__(19);
3177 +
3178 +// 22.1.3.4 Array.prototype.entries()
3179 +// 22.1.3.13 Array.prototype.keys()
3180 +// 22.1.3.29 Array.prototype.values()
3181 +// 22.1.3.30 Array.prototype[@@iterator]()
3182 +module.exports = __webpack_require__(96)(Array, 'Array', function (iterated, kind) {
3183 + this._t = toIObject(iterated); // target
3184 + this._i = 0; // next index
3185 + this._k = kind; // kind
3186 +// 22.1.5.2.1 %ArrayIteratorPrototype%.next()
3187 +}, function () {
3188 + var O = this._t;
3189 + var kind = this._k;
3190 + var index = this._i++;
3191 + if (!O || index >= O.length) {
3192 + this._t = undefined;
3193 + return step(1);
1050 3194 }
1051 - getDefaultSettings() {
1052 - return {
1053 - selectors: {
1054 - links: 'a, [data-elementor-lightbox]',
1055 - slideshow: '[data-elementor-lightbox-slideshow]'
1056 - }
1057 - };
3195 + if (kind == 'keys') return step(0, index);
3196 + if (kind == 'values') return step(0, O[index]);
3197 + return step(0, [index, O[index]]);
3198 +}, 'values');
3199 +
3200 +// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
3201 +Iterators.Arguments = Iterators.Array;
3202 +
3203 +addToUnscopables('keys');
3204 +addToUnscopables('values');
3205 +addToUnscopables('entries');
3206 +
3207 +
3208 +/***/ }),
3209 +/* 172 */
3210 +/***/ (function(module, exports) {
3211 +
3212 +module.exports = function () { /* empty */ };
3213 +
3214 +
3215 +/***/ }),
3216 +/* 173 */
3217 +/***/ (function(module, exports, __webpack_require__) {
3218 +
3219 +__webpack_require__(136);
3220 +__webpack_require__(92);
3221 +__webpack_require__(176);
3222 +__webpack_require__(177);
3223 +module.exports = __webpack_require__(6).Symbol;
3224 +
3225 +
3226 +/***/ }),
3227 +/* 174 */
3228 +/***/ (function(module, exports, __webpack_require__) {
3229 +
3230 +// all enumerable object keys, includes symbols
3231 +var getKeys = __webpack_require__(37);
3232 +var gOPS = __webpack_require__(67);
3233 +var pIE = __webpack_require__(49);
3234 +module.exports = function (it) {
3235 + var result = getKeys(it);
3236 + var getSymbols = gOPS.f;
3237 + if (getSymbols) {
3238 + var symbols = getSymbols(it);
3239 + var isEnum = pIE.f;
3240 + var i = 0;
3241 + var key;
3242 + while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);
3243 + } return result;
3244 +};
3245 +
3246 +
3247 +/***/ }),
3248 +/* 175 */
3249 +/***/ (function(module, exports, __webpack_require__) {
3250 +
3251 +// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
3252 +var toIObject = __webpack_require__(19);
3253 +var gOPN = __webpack_require__(91).f;
3254 +var toString = {}.toString;
3255 +
3256 +var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
3257 + ? Object.getOwnPropertyNames(window) : [];
3258 +
3259 +var getWindowNames = function (it) {
3260 + try {
3261 + return gOPN(it);
3262 + } catch (e) {
3263 + return windowNames.slice();
1058 3264 }
1059 - getDefaultElements() {
1060 - return {
1061 - $links: jQuery(this.getSettings('selectors.links')),
1062 - $slideshow: jQuery(this.getSettings('selectors.slideshow'))
1063 - };
1064 - }
1065 - isLightboxLink(element) {
1066 - // Check for lowercase `a` to make sure it works also for links inside SVGs.
1067 - if ('a' === element.tagName.toLowerCase() && (element.hasAttribute('download') || !/^[^?]+\.(png|jpe?g|gif|svg|webp|avif)(\?.*)?$/i.test(element.href)) && !element.dataset.elementorLightboxVideo) {
1068 - return false;
1069 - }
1070 - const generalOpenInLightbox = elementorFrontend.getKitSettings('global_image_lightbox'),
1071 - currentLinkOpenInLightbox = element.dataset.elementorOpenLightbox;
1072 - return 'yes' === currentLinkOpenInLightbox || generalOpenInLightbox && 'no' !== currentLinkOpenInLightbox;
1073 - }
1074 - isLightboxSlideshow() {
1075 - return 0 !== this.elements.$slideshow.length;
1076 - }
1077 - async onLinkClick(event) {
1078 - const element = event.currentTarget,
1079 - $target = jQuery(event.target),
1080 - editMode = elementorFrontend.isEditMode(),
1081 - isColorPickingMode = editMode && elementor.$previewContents.find('body').hasClass('elementor-editor__ui-state__color-picker'),
1082 - isClickInsideElementor = !!$target.closest('.elementor-edit-area').length;
1083 - if (!this.isLightboxLink(element)) {
1084 - if (editMode && isClickInsideElementor) {
1085 - event.preventDefault();
3265 +};
3266 +
3267 +module.exports.f = function getOwnPropertyNames(it) {
3268 + return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));
3269 +};
3270 +
3271 +
3272 +/***/ }),
3273 +/* 176 */
3274 +/***/ (function(module, exports, __webpack_require__) {
3275 +
3276 +__webpack_require__(75)('asyncIterator');
3277 +
3278 +
3279 +/***/ }),
3280 +/* 177 */
3281 +/***/ (function(module, exports, __webpack_require__) {
3282 +
3283 +__webpack_require__(75)('observable');
3284 +
3285 +
3286 +/***/ }),
3287 +/* 178 */
3288 +/***/ (function(module, exports, __webpack_require__) {
3289 +
3290 +var ITERATOR = __webpack_require__(10)('iterator');
3291 +var SAFE_CLOSING = false;
3292 +
3293 +try {
3294 + var riter = [7][ITERATOR]();
3295 + riter['return'] = function () { SAFE_CLOSING = true; };
3296 + // eslint-disable-next-line no-throw-literal
3297 + Array.from(riter, function () { throw 2; });
3298 +} catch (e) { /* empty */ }
3299 +
3300 +module.exports = function (exec, skipClosing) {
3301 + if (!skipClosing && !SAFE_CLOSING) return false;
3302 + var safe = false;
3303 + try {
3304 + var arr = [7];
3305 + var iter = arr[ITERATOR]();
3306 + iter.next = function () { return { done: safe = true }; };
3307 + arr[ITERATOR] = function () { return iter; };
3308 + exec(arr);
3309 + } catch (e) { /* empty */ }
3310 + return safe;
3311 +};
3312 +
3313 +
3314 +/***/ }),
3315 +/* 179 */,
3316 +/* 180 */
3317 +/***/ (function(module, exports, __webpack_require__) {
3318 +
3319 +// 7.3.20 SpeciesConstructor(O, defaultConstructor)
3320 +var anObject = __webpack_require__(20);
3321 +var aFunction = __webpack_require__(98);
3322 +var SPECIES = __webpack_require__(13)('species');
3323 +module.exports = function (O, D) {
3324 + var C = anObject(O).constructor;
3325 + var S;
3326 + return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
3327 +};
3328 +
3329 +
3330 +/***/ }),
3331 +/* 181 */
3332 +/***/ (function(module, exports, __webpack_require__) {
3333 +
3334 +var DESCRIPTORS = __webpack_require__(14);
3335 +var getKeys = __webpack_require__(37);
3336 +var toIObject = __webpack_require__(19);
3337 +var isEnum = __webpack_require__(49).f;
3338 +module.exports = function (isEntries) {
3339 + return function (it) {
3340 + var O = toIObject(it);
3341 + var keys = getKeys(O);
3342 + var length = keys.length;
3343 + var i = 0;
3344 + var result = [];
3345 + var key;
3346 + while (length > i) {
3347 + key = keys[i++];
3348 + if (!DESCRIPTORS || isEnum.call(O, key)) {
3349 + result.push(isEntries ? [key, O[key]] : O[key]);
1086 3350 }
1087 - return;
1088 3351 }
1089 - event.preventDefault();
1090 - if (editMode && !elementor.getPreferences('lightbox_in_editor')) {
1091 - return;
1092 - }
3352 + return result;
3353 + };
3354 +};
1093 3355
1094 - // Disable lightbox on color picking mode.
1095 - if (isColorPickingMode) {
1096 - return;
1097 - }
1098 - const lightbox = await LightboxManager.getLightbox();
1099 - lightbox.createLightbox(element);
3356 +
3357 +/***/ }),
3358 +/* 182 */,
3359 +/* 183 */
3360 +/***/ (function(module, exports, __webpack_require__) {
3361 +
3362 +"use strict";
3363 +// 21.1.3.7 String.prototype.includes(searchString, position = 0)
3364 +
3365 +var $export = __webpack_require__(38);
3366 +var context = __webpack_require__(205);
3367 +var INCLUDES = 'includes';
3368 +
3369 +$export($export.P + $export.F * __webpack_require__(206)(INCLUDES), 'String', {
3370 + includes: function includes(searchString /* , position = 0 */) {
3371 + return !!~context(this, searchString, INCLUDES)
3372 + .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);
1100 3373 }
1101 - bindEvents() {
1102 - elementorFrontend.elements.$document.on('click', this.getSettings('selectors.links'), event => this.onLinkClick(event));
1103 - }
1104 - onInit(...args) {
1105 - super.onInit(...args);
1106 - if (elementorFrontend.isEditMode()) {
1107 - return;
1108 - }
1109 - this.maybeActivateLightboxOnLink();
1110 - }
1111 - maybeActivateLightboxOnLink() {
1112 - // Detecting lightbox links on init will reduce the time of waiting to the lightbox to be display on slow connections.
1113 - this.elements.$links.each((index, element) => {
1114 - if (this.isLightboxLink(element)) {
1115 - LightboxManager.getLightbox();
3374 +});
1116 3375
1117 - // Breaking the iteration when the library loading has already been triggered.
1118 - return false;
1119 - }
1120 - });
1121 - }
1122 -}
1123 -exports["default"] = LightboxManager;
1124 3376
1125 3377 /***/ }),
3378 +/* 184 */
3379 +/***/ (function(module, exports, __webpack_require__) {
1126 3380
1127 -/***/ "../assets/dev/js/frontend/utils/swiper.js":
1128 -/*!*************************************************!*\
1129 - !*** ../assets/dev/js/frontend/utils/swiper.js ***!
1130 - \*************************************************/
1131 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3381 +__webpack_require__(185);
3382 +var $Object = __webpack_require__(6).Object;
3383 +module.exports = function getOwnPropertyDescriptor(it, key) {
3384 + return $Object.getOwnPropertyDescriptor(it, key);
3385 +};
1132 3386
1133 3387
3388 +/***/ }),
3389 +/* 185 */
3390 +/***/ (function(module, exports, __webpack_require__) {
1134 3391
1135 -Object.defineProperty(exports, "__esModule", ({
1136 - value: true
1137 -}));
1138 -exports["default"] = void 0;
1139 -__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
1140 -__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
1141 -class SwiperHandler {
1142 - constructor(container, config) {
1143 - this.config = config;
1144 - if (this.config.breakpoints) {
1145 - // The config is passed as a param to allow adjustConfig to be called outside of this wrapper
1146 - this.config = this.adjustConfig(config);
1147 - }
1148 - if (container instanceof jQuery) {
1149 - container = container[0];
1150 - }
3392 +// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
3393 +var toIObject = __webpack_require__(19);
3394 +var $getOwnPropertyDescriptor = __webpack_require__(48).f;
1151 3395
1152 - // The Swiper will overlap the column width when applying custom margin values on the column.
1153 - container.closest('.elementor-widget-wrap')?.classList.add('e-swiper-container');
1154 - container.closest('.elementor-widget')?.classList.add('e-widget-swiper');
1155 - return new Promise(resolve => {
1156 - // TODO: Remove in v3.29.0 [ED-16272].
1157 - if ('undefined' === typeof Swiper) {
1158 - elementorFrontend.utils.assetsLoader.load('script', 'swiper').then(() => resolve(this.createSwiperInstance(container, this.config)));
1159 - return;
1160 - }
1161 - if ('function' === typeof Swiper && 'undefined' === typeof window.Swiper) {
1162 - window.Swiper = Swiper;
1163 - }
1164 - resolve(this.createSwiperInstance(container, this.config));
1165 - });
1166 - }
1167 - createSwiperInstance(container, config) {
1168 - const SwiperSource = window.Swiper;
1169 - SwiperSource.prototype.adjustConfig = this.adjustConfig;
1170 - config = this.applyMotionPreferences(config);
1171 - return new SwiperSource(container, config);
1172 - }
3396 +__webpack_require__(78)('getOwnPropertyDescriptor', function () {
3397 + return function getOwnPropertyDescriptor(it, key) {
3398 + return $getOwnPropertyDescriptor(toIObject(it), key);
3399 + };
3400 +});
1173 3401
1174 - // Backwards compatibility for Elementor Pro <2.9.0 (old Swiper version - <5.0.0)
1175 - // In Swiper 5.0.0 and up, breakpoints changed from acting as max-width to acting as min-width
1176 - adjustConfig(config) {
1177 - // Only reverse the breakpoints if the handle param has been defined
1178 - if (!config.handleElementorBreakpoints) {
1179 - return config;
1180 - }
1181 - const elementorBreakpoints = elementorFrontend.config.responsive.activeBreakpoints,
1182 - elementorBreakpointValues = elementorFrontend.breakpoints.getBreakpointValues();
1183 - Object.keys(config.breakpoints).forEach(configBPKey => {
1184 - const configBPKeyInt = parseInt(configBPKey);
1185 - let breakpointToUpdate;
1186 3402
1187 - // The `configBPKeyInt + 1` is a BC Fix for Elementor Pro Carousels from 2.8.0-2.8.3 used with Elementor >= 2.9.0
1188 - if (configBPKeyInt === elementorBreakpoints.mobile.value || configBPKeyInt + 1 === elementorBreakpoints.mobile.value) {
1189 - // This handles the mobile breakpoint. Elementor's default sm breakpoint is never actually used,
1190 - // so the mobile breakpoint (md) needs to be handled separately and set to the 0 breakpoint (xs)
1191 - breakpointToUpdate = 0;
1192 - } else if (elementorBreakpoints.widescreen && (configBPKeyInt === elementorBreakpoints.widescreen.value || configBPKeyInt + 1 === elementorBreakpoints.widescreen.value)) {
1193 - // Widescreen is a min-width breakpoint. Since in Swiper >5.0 the breakpoint system is min-width based,
1194 - // the value we pass to the Swiper instance in this case is the breakpoint from the user, unchanged.
1195 - breakpointToUpdate = configBPKeyInt;
1196 - } else {
1197 - // Find the index of the current config breakpoint in the Elementor Breakpoints array
1198 - const currentBPIndexInElementorBPs = elementorBreakpointValues.findIndex(elementorBP => {
1199 - // BC Fix for Elementor Pro Carousels from 2.8.0-2.8.3 used with Elementor >= 2.9.0
1200 - return configBPKeyInt === elementorBP || configBPKeyInt + 1 === elementorBP;
1201 - });
3403 +/***/ }),
3404 +/* 186 */
3405 +/***/ (function(module, exports, __webpack_require__) {
1202 3406
1203 - // For all other Swiper config breakpoints, move them one breakpoint down on the breakpoint list,
1204 - // according to the array of Elementor's global breakpoints
1205 - breakpointToUpdate = elementorBreakpointValues[currentBPIndexInElementorBPs - 1];
1206 - }
1207 - config.breakpoints[breakpointToUpdate] = config.breakpoints[configBPKey];
3407 +module.exports = __webpack_require__(187);
1208 3408
1209 - // Then reset the settings in the original breakpoint key to the default values
1210 - config.breakpoints[configBPKey] = {
1211 - slidesPerView: config.slidesPerView,
1212 - slidesPerGroup: config.slidesPerGroup ? config.slidesPerGroup : 1
1213 - };
1214 - });
1215 - return config;
1216 - }
1217 - applyMotionPreferences(config) {
1218 - const prefersReducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
1219 - if (!prefersReducedMotion) {
1220 - return config;
1221 - }
1222 - return Object.assign({}, config, {
1223 - speed: 0,
1224 - autoplay: false
1225 - });
1226 - }
3409 +/***/ }),
3410 +/* 187 */
3411 +/***/ (function(module, exports, __webpack_require__) {
3412 +
3413 +__webpack_require__(188);
3414 +module.exports = __webpack_require__(6).Reflect.get;
3415 +
3416 +
3417 +/***/ }),
3418 +/* 188 */
3419 +/***/ (function(module, exports, __webpack_require__) {
3420 +
3421 +// 26.1.6 Reflect.get(target, propertyKey [, receiver])
3422 +var gOPD = __webpack_require__(48);
3423 +var getPrototypeOf = __webpack_require__(63);
3424 +var has = __webpack_require__(17);
3425 +var $export = __webpack_require__(7);
3426 +var isObject = __webpack_require__(9);
3427 +var anObject = __webpack_require__(11);
3428 +
3429 +function get(target, propertyKey /* , receiver */) {
3430 + var receiver = arguments.length < 3 ? target : arguments[2];
3431 + var desc, proto;
3432 + if (anObject(target) === receiver) return target[propertyKey];
3433 + if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value')
3434 + ? desc.value
3435 + : desc.get !== undefined
3436 + ? desc.get.call(receiver)
3437 + : undefined;
3438 + if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver);
1227 3439 }
1228 -exports["default"] = SwiperHandler;
1229 3440
3441 +$export($export.S, 'Reflect', { get: get });
3442 +
3443 +
1230 3444 /***/ }),
3445 +/* 189 */
3446 +/***/ (function(module, exports, __webpack_require__) {
1231 3447
1232 -/***/ "../assets/dev/js/frontend/utils/url-actions.js":
1233 -/*!******************************************************!*\
1234 - !*** ../assets/dev/js/frontend/utils/url-actions.js ***!
1235 - \******************************************************/
1236 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3448 +var getPrototypeOf = __webpack_require__(16);
1237 3449
3450 +function _superPropBase(object, property) {
3451 + while (!Object.prototype.hasOwnProperty.call(object, property)) {
3452 + object = getPrototypeOf(object);
3453 + if (object === null) break;
3454 + }
1238 3455
3456 + return object;
3457 +}
1239 3458
1240 -Object.defineProperty(exports, "__esModule", ({
1241 - value: true
1242 -}));
1243 -exports["default"] = void 0;
1244 -__webpack_require__(/*! core-js/modules/web.dom-exception.stack.js */ "../node_modules/core-js/modules/web.dom-exception.stack.js");
1245 -class _default extends elementorModules.ViewModule {
1246 - getDefaultSettings() {
1247 - return {
1248 - selectors: {
1249 - links: 'a[href^="%23elementor-action"], a[href^="#elementor-action"]'
3459 +module.exports = _superPropBase;
3460 +
3461 +/***/ }),
3462 +/* 190 */
3463 +/***/ (function(module, exports, __webpack_require__) {
3464 +
3465 +// 0 -> Array#forEach
3466 +// 1 -> Array#map
3467 +// 2 -> Array#filter
3468 +// 3 -> Array#some
3469 +// 4 -> Array#every
3470 +// 5 -> Array#find
3471 +// 6 -> Array#findIndex
3472 +var ctx = __webpack_require__(81);
3473 +var IObject = __webpack_require__(125);
3474 +var toObject = __webpack_require__(102);
3475 +var toLength = __webpack_require__(46);
3476 +var asc = __webpack_require__(216);
3477 +module.exports = function (TYPE, $create) {
3478 + var IS_MAP = TYPE == 1;
3479 + var IS_FILTER = TYPE == 2;
3480 + var IS_SOME = TYPE == 3;
3481 + var IS_EVERY = TYPE == 4;
3482 + var IS_FIND_INDEX = TYPE == 6;
3483 + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
3484 + var create = $create || asc;
3485 + return function ($this, callbackfn, that) {
3486 + var O = toObject($this);
3487 + var self = IObject(O);
3488 + var f = ctx(callbackfn, that, 3);
3489 + var length = toLength(self.length);
3490 + var index = 0;
3491 + var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
3492 + var val, res;
3493 + for (;length > index; index++) if (NO_HOLES || index in self) {
3494 + val = self[index];
3495 + res = f(val, index, O);
3496 + if (TYPE) {
3497 + if (IS_MAP) result[index] = res; // map
3498 + else if (res) switch (TYPE) {
3499 + case 3: return true; // some
3500 + case 5: return val; // find
3501 + case 6: return index; // findIndex
3502 + case 2: result.push(val); // filter
3503 + } else if (IS_EVERY) return false; // every
1250 3504 }
1251 - };
1252 - }
1253 - bindEvents() {
1254 - elementorFrontend.elements.$document.on('click', this.getSettings('selectors.links'), this.runLinkAction.bind(this));
1255 - }
1256 - initActions() {
1257 - this.actions = {
1258 - lightbox: async settings => {
1259 - const lightbox = await elementorFrontend.utils.lightbox;
1260 - if (settings.slideshow) {
1261 - // Handle slideshow display
1262 - lightbox.openSlideshow(settings.slideshow, settings.url);
1263 - } else {
1264 - // If the settings has an ID - the lightbox target content is an image - the ID is an attachment ID.
1265 - if (settings.id) {
1266 - settings.type = 'image';
1267 - }
1268 - lightbox.showModal(settings);
1269 - }
1270 - }
1271 - };
1272 - }
1273 - addAction(name, callback) {
1274 - this.actions[name] = callback;
1275 - }
1276 - runAction(url, ...restArgs) {
1277 - url = decodeURI(url);
1278 - url = decodeURIComponent(url);
1279 - const actionMatch = url.match(/action=(.+?)&/);
1280 - if (!actionMatch) {
1281 - return;
1282 3505 }
1283 - const action = this.actions[actionMatch[1]];
1284 - if (!action) {
1285 - return;
1286 - }
1287 - let settings = {};
1288 - const settingsMatch = url.match(/settings=(.+)/);
1289 - if (settingsMatch) {
1290 - settings = JSON.parse(atob(settingsMatch[1]));
1291 - }
1292 - settings.previousEvent = event;
1293 - action(settings, ...restArgs);
1294 - }
1295 - runLinkAction(event) {
1296 - event.preventDefault();
1297 - this.runAction(jQuery(event.currentTarget).attr('href'), event);
1298 - }
1299 - runHashAction() {
1300 - if (!location.hash) {
1301 - return;
1302 - }
3506 + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;
3507 + };
3508 +};
1303 3509
1304 - // Only if an element with this action hash exists on the page do we allow running the action.
1305 - const elementWithHash = document.querySelector(`[data-e-action-hash="${location.hash}"], a[href*="${location.hash}"]`);
1306 - if (elementWithHash) {
1307 - this.runAction(elementWithHash.getAttribute('data-e-action-hash'));
1308 - }
1309 - }
1310 - createActionHash(action, settings) {
1311 - // We need to encode the hash tag (#) here, in order to support share links for a variety of providers
1312 - return encodeURIComponent(`#elementor-action:action=${action}&settings=${btoa(JSON.stringify(settings))}`);
1313 - }
1314 - onInit() {
1315 - super.onInit();
1316 - this.initActions();
1317 - elementorFrontend.on('components:init', this.runHashAction.bind(this));
1318 - }
3510 +
3511 +/***/ }),
3512 +/* 191 */
3513 +/***/ (function(module, exports, __webpack_require__) {
3514 +
3515 +"use strict";
3516 +
3517 +__webpack_require__(283);
3518 +var anObject = __webpack_require__(20);
3519 +var $flags = __webpack_require__(109);
3520 +var DESCRIPTORS = __webpack_require__(28);
3521 +var TO_STRING = 'toString';
3522 +var $toString = /./[TO_STRING];
3523 +
3524 +var define = function (fn) {
3525 + __webpack_require__(39)(RegExp.prototype, TO_STRING, fn, true);
3526 +};
3527 +
3528 +// 21.2.5.14 RegExp.prototype.toString()
3529 +if (__webpack_require__(36)(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {
3530 + define(function toString() {
3531 + var R = anObject(this);
3532 + return '/'.concat(R.source, '/',
3533 + 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);
3534 + });
3535 +// FF44- RegExp#toString has a wrong name
3536 +} else if ($toString.name != TO_STRING) {
3537 + define(function toString() {
3538 + return $toString.call(this);
3539 + });
1319 3540 }
1320 -exports["default"] = _default;
1321 3541
3542 +
1322 3543 /***/ }),
3544 +/* 192 */,
3545 +/* 193 */,
3546 +/* 194 */,
3547 +/* 195 */,
3548 +/* 196 */,
3549 +/* 197 */
3550 +/***/ (function(module, exports, __webpack_require__) {
1323 3551
1324 -/***/ "../assets/dev/js/frontend/utils/utils.js":
1325 -/*!************************************************!*\
1326 - !*** ../assets/dev/js/frontend/utils/utils.js ***!
1327 - \************************************************/
1328 -/***/ ((__unused_webpack_module, exports) => {
3552 +"use strict";
1329 3553
3554 +var regexpExec = __webpack_require__(94);
3555 +__webpack_require__(38)({
3556 + target: 'RegExp',
3557 + proto: true,
3558 + forced: regexpExec !== /./.exec
3559 +}, {
3560 + exec: regexpExec
3561 +});
1330 3562
1331 3563
1332 -Object.defineProperty(exports, "__esModule", ({
1333 - value: true
1334 -}));
1335 -exports.isScrollSnapActive = exports.escapeHTML = void 0;
1336 -// Escape HTML special chars to prevent XSS.
1337 -const escapeHTML = str => {
1338 - const specialChars = {
1339 - '&': '&amp;',
1340 - '<': '&lt;',
1341 - '>': '&gt;',
1342 - "'": '&#39;',
1343 - '"': '&quot;'
3564 +/***/ }),
3565 +/* 198 */,
3566 +/* 199 */
3567 +/***/ (function(module, exports, __webpack_require__) {
3568 +
3569 +var toInteger = __webpack_require__(60);
3570 +var max = Math.max;
3571 +var min = Math.min;
3572 +module.exports = function (index, length) {
3573 + index = toInteger(index);
3574 + return index < 0 ? max(index + length, 0) : min(index, length);
3575 +};
3576 +
3577 +
3578 +/***/ }),
3579 +/* 200 */,
3580 +/* 201 */,
3581 +/* 202 */
3582 +/***/ (function(module, exports, __webpack_require__) {
3583 +
3584 +__webpack_require__(203);
3585 +module.exports = __webpack_require__(6).Object.keys;
3586 +
3587 +
3588 +/***/ }),
3589 +/* 203 */
3590 +/***/ (function(module, exports, __webpack_require__) {
3591 +
3592 +// 19.1.2.14 Object.keys(O)
3593 +var toObject = __webpack_require__(32);
3594 +var $keys = __webpack_require__(37);
3595 +
3596 +__webpack_require__(78)('keys', function () {
3597 + return function keys(it) {
3598 + return $keys(toObject(it));
1344 3599 };
1345 - return str.replace(/[&<>'"]/g, tag => specialChars[tag] || tag);
3600 +});
3601 +
3602 +
3603 +/***/ }),
3604 +/* 204 */,
3605 +/* 205 */
3606 +/***/ (function(module, exports, __webpack_require__) {
3607 +
3608 +// helper for String#{startsWith, endsWith, includes}
3609 +var isRegExp = __webpack_require__(126);
3610 +var defined = __webpack_require__(43);
3611 +
3612 +module.exports = function (that, searchString, NAME) {
3613 + if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!");
3614 + return String(defined(that));
1346 3615 };
1347 3616
1348 -// Check if Scroll-Snap is active.
1349 -exports.escapeHTML = escapeHTML;
1350 -const isScrollSnapActive = () => {
1351 - const scrollSnapStatus = elementorFrontend.isEditMode() ? elementor.settings.page.model.attributes?.scroll_snap : elementorFrontend.config.settings.page?.scroll_snap;
1352 - return 'yes' === scrollSnapStatus ? true : false;
3617 +
3618 +/***/ }),
3619 +/* 206 */
3620 +/***/ (function(module, exports, __webpack_require__) {
3621 +
3622 +var MATCH = __webpack_require__(13)('match');
3623 +module.exports = function (KEY) {
3624 + var re = /./;
3625 + try {
3626 + '/./'[KEY](re);
3627 + } catch (e) {
3628 + try {
3629 + re[MATCH] = false;
3630 + return !'/./'[KEY](re);
3631 + } catch (f) { /* empty */ }
3632 + } return true;
1353 3633 };
1354 -exports.isScrollSnapActive = isScrollSnapActive;
1355 3634
3635 +
1356 3636 /***/ }),
3637 +/* 207 */
3638 +/***/ (function(module, exports, __webpack_require__) {
1357 3639
1358 -/***/ "../assets/dev/js/frontend/utils/video-api/base-loader.js":
1359 -/*!****************************************************************!*\
1360 - !*** ../assets/dev/js/frontend/utils/video-api/base-loader.js ***!
1361 - \****************************************************************/
1362 -/***/ ((__unused_webpack_module, exports) => {
3640 +module.exports = __webpack_require__(329);
1363 3641
3642 +/***/ }),
3643 +/* 208 */
3644 +/***/ (function(module, exports, __webpack_require__) {
1364 3645
3646 +// 7.3.20 SpeciesConstructor(O, defaultConstructor)
3647 +var anObject = __webpack_require__(11);
3648 +var aFunction = __webpack_require__(35);
3649 +var SPECIES = __webpack_require__(10)('species');
3650 +module.exports = function (O, D) {
3651 + var C = anObject(O).constructor;
3652 + var S;
3653 + return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
3654 +};
1365 3655
1366 -Object.defineProperty(exports, "__esModule", ({
1367 - value: true
1368 -}));
1369 -exports["default"] = void 0;
1370 -class BaseLoader extends elementorModules.ViewModule {
1371 - getDefaultSettings() {
1372 - return {
1373 - isInserted: false,
1374 - selectors: {
1375 - firstScript: 'script:first'
1376 - }
3656 +
3657 +/***/ }),
3658 +/* 209 */
3659 +/***/ (function(module, exports, __webpack_require__) {
3660 +
3661 +var ctx = __webpack_require__(29);
3662 +var invoke = __webpack_require__(133);
3663 +var html = __webpack_require__(132);
3664 +var cel = __webpack_require__(88);
3665 +var global = __webpack_require__(8);
3666 +var process = global.process;
3667 +var setTask = global.setImmediate;
3668 +var clearTask = global.clearImmediate;
3669 +var MessageChannel = global.MessageChannel;
3670 +var Dispatch = global.Dispatch;
3671 +var counter = 0;
3672 +var queue = {};
3673 +var ONREADYSTATECHANGE = 'onreadystatechange';
3674 +var defer, channel, port;
3675 +var run = function () {
3676 + var id = +this;
3677 + // eslint-disable-next-line no-prototype-builtins
3678 + if (queue.hasOwnProperty(id)) {
3679 + var fn = queue[id];
3680 + delete queue[id];
3681 + fn();
3682 + }
3683 +};
3684 +var listener = function (event) {
3685 + run.call(event.data);
3686 +};
3687 +// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
3688 +if (!setTask || !clearTask) {
3689 + setTask = function setImmediate(fn) {
3690 + var args = [];
3691 + var i = 1;
3692 + while (arguments.length > i) args.push(arguments[i++]);
3693 + queue[++counter] = function () {
3694 + // eslint-disable-next-line no-new-func
3695 + invoke(typeof fn == 'function' ? fn : Function(fn), args);
1377 3696 };
1378 - }
1379 - getDefaultElements() {
1380 - return {
1381 - $firstScript: jQuery(this.getSettings('selectors.firstScript'))
3697 + defer(counter);
3698 + return counter;
3699 + };
3700 + clearTask = function clearImmediate(id) {
3701 + delete queue[id];
3702 + };
3703 + // Node.js 0.8-
3704 + if (__webpack_require__(56)(process) == 'process') {
3705 + defer = function (id) {
3706 + process.nextTick(ctx(run, id, 1));
1382 3707 };
3708 + // Sphere (JS game engine) Dispatch API
3709 + } else if (Dispatch && Dispatch.now) {
3710 + defer = function (id) {
3711 + Dispatch.now(ctx(run, id, 1));
3712 + };
3713 + // Browsers with MessageChannel, includes WebWorkers
3714 + } else if (MessageChannel) {
3715 + channel = new MessageChannel();
3716 + port = channel.port2;
3717 + channel.port1.onmessage = listener;
3718 + defer = ctx(port.postMessage, port, 1);
3719 + // Browsers with postMessage, skip WebWorkers
3720 + // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
3721 + } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) {
3722 + defer = function (id) {
3723 + global.postMessage(id + '', '*');
3724 + };
3725 + global.addEventListener('message', listener, false);
3726 + // IE8-
3727 + } else if (ONREADYSTATECHANGE in cel('script')) {
3728 + defer = function (id) {
3729 + html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () {
3730 + html.removeChild(this);
3731 + run.call(id);
3732 + };
3733 + };
3734 + // Rest old browsers
3735 + } else {
3736 + defer = function (id) {
3737 + setTimeout(ctx(run, id, 1), 0);
3738 + };
1383 3739 }
1384 - insertAPI() {
1385 - this.elements.$firstScript.before(jQuery('<script>', {
1386 - src: this.getApiURL()
1387 - }));
1388 - this.setSettings('isInserted', true);
3740 +}
3741 +module.exports = {
3742 + set: setTask,
3743 + clear: clearTask
3744 +};
3745 +
3746 +
3747 +/***/ }),
3748 +/* 210 */
3749 +/***/ (function(module, exports) {
3750 +
3751 +module.exports = function (exec) {
3752 + try {
3753 + return { e: false, v: exec() };
3754 + } catch (e) {
3755 + return { e: true, v: e };
1389 3756 }
1390 - getVideoIDFromURL(url) {
1391 - const videoIDParts = url.match(this.getURLRegex());
1392 - return videoIDParts && videoIDParts[1];
1393 - }
1394 - onApiReady(callback) {
1395 - if (!this.getSettings('isInserted')) {
1396 - this.insertAPI();
1397 - }
1398 - if (this.isApiLoaded()) {
1399 - callback(this.getApiObject());
1400 - } else {
1401 - // If not ready check again by timeout..
1402 - setTimeout(() => {
1403 - this.onApiReady(callback);
1404 - }, 350);
1405 - }
1406 - }
1407 - getAutoplayURL(videoURL) {
1408 - return videoURL.replace('&autoplay=0', '') + '&autoplay=1';
1409 - }
1410 -}
1411 -exports["default"] = BaseLoader;
3757 +};
1412 3758
3759 +
1413 3760 /***/ }),
3761 +/* 211 */
3762 +/***/ (function(module, exports, __webpack_require__) {
1414 3763
1415 -/***/ "../assets/dev/js/frontend/utils/video-api/vimeo-loader.js":
1416 -/*!*****************************************************************!*\
1417 - !*** ../assets/dev/js/frontend/utils/video-api/vimeo-loader.js ***!
1418 - \*****************************************************************/
1419 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3764 +var anObject = __webpack_require__(11);
3765 +var isObject = __webpack_require__(9);
3766 +var newPromiseCapability = __webpack_require__(149);
1420 3767
3768 +module.exports = function (C, x) {
3769 + anObject(C);
3770 + if (isObject(x) && x.constructor === C) return x;
3771 + var promiseCapability = newPromiseCapability.f(C);
3772 + var resolve = promiseCapability.resolve;
3773 + resolve(x);
3774 + return promiseCapability.promise;
3775 +};
1421 3776
1422 3777
1423 -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
1424 -Object.defineProperty(exports, "__esModule", ({
1425 - value: true
1426 -}));
1427 -exports["default"] = void 0;
1428 -var _baseLoader = _interopRequireDefault(__webpack_require__(/*! ./base-loader */ "../assets/dev/js/frontend/utils/video-api/base-loader.js"));
1429 -class VimeoLoader extends _baseLoader.default {
1430 - getApiURL() {
1431 - return 'https://player.vimeo.com/api/player.js';
1432 - }
1433 - getURLRegex() {
1434 - return /^(?:https?:\/\/)?(?:www|player\.)?(?:vimeo\.com\/)?(?:video\/|external\/)?(\d+)([^.?&#"'>]?)/;
1435 - }
1436 - isApiLoaded() {
1437 - return window.Vimeo;
1438 - }
1439 - getApiObject() {
1440 - return Vimeo;
1441 - }
1442 - getAutoplayURL(videoURL) {
1443 - // Vimeo requires the '#t=' param to be last in the URL.
1444 - const timeMatch = videoURL.match(/#t=[^&]*/);
1445 - return videoURL.replace(timeMatch[0], '') + timeMatch;
1446 - }
1447 -}
1448 -exports["default"] = VimeoLoader;
3778 +/***/ }),
3779 +/* 212 */,
3780 +/* 213 */,
3781 +/* 214 */
3782 +/***/ (function(module, exports, __webpack_require__) {
1449 3783
3784 +module.exports = __webpack_require__(285);
3785 +
1450 3786 /***/ }),
3787 +/* 215 */,
3788 +/* 216 */
3789 +/***/ (function(module, exports, __webpack_require__) {
1451 3790
1452 -/***/ "../assets/dev/js/frontend/utils/video-api/youtube-loader.js":
1453 -/*!*******************************************************************!*\
1454 - !*** ../assets/dev/js/frontend/utils/video-api/youtube-loader.js ***!
1455 - \*******************************************************************/
1456 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3791 +// 9.4.2.3 ArraySpeciesCreate(originalArray, length)
3792 +var speciesConstructor = __webpack_require__(217);
1457 3793
3794 +module.exports = function (original, length) {
3795 + return new (speciesConstructor(original))(length);
3796 +};
1458 3797
1459 3798
1460 -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
1461 -Object.defineProperty(exports, "__esModule", ({
1462 - value: true
1463 -}));
1464 -exports["default"] = void 0;
1465 -var _baseLoader = _interopRequireDefault(__webpack_require__(/*! ./base-loader */ "../assets/dev/js/frontend/utils/video-api/base-loader.js"));
1466 -class YoutubeLoader extends _baseLoader.default {
1467 - getApiURL() {
1468 - return 'https://www.youtube.com/iframe_api';
1469 - }
1470 - getURLRegex() {
1471 - return /^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com\/(?:(?:watch)?\?(?:.*&)?vi?=|(?:embed|v|vi|user|shorts)\/))([^?&"'>]+)/;
1472 - }
1473 - isApiLoaded() {
1474 - return window.YT && YT.loaded;
1475 - }
1476 - getApiObject() {
1477 - return YT;
1478 - }
1479 -}
1480 -exports["default"] = YoutubeLoader;
3799 +/***/ }),
3800 +/* 217 */
3801 +/***/ (function(module, exports, __webpack_require__) {
1481 3802
3803 +var isObject = __webpack_require__(31);
3804 +var isArray = __webpack_require__(218);
3805 +var SPECIES = __webpack_require__(13)('species');
3806 +
3807 +module.exports = function (original) {
3808 + var C;
3809 + if (isArray(original)) {
3810 + C = original.constructor;
3811 + // cross-realm fallback
3812 + if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
3813 + if (isObject(C)) {
3814 + C = C[SPECIES];
3815 + if (C === null) C = undefined;
3816 + }
3817 + } return C === undefined ? Array : C;
3818 +};
3819 +
3820 +
1482 3821 /***/ }),
3822 +/* 218 */
3823 +/***/ (function(module, exports, __webpack_require__) {
1483 3824
1484 -/***/ "../assets/dev/js/public-path.js":
1485 -/*!***************************************!*\
1486 - !*** ../assets/dev/js/public-path.js ***!
1487 - \***************************************/
1488 -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
3825 +// 7.2.2 IsArray(argument)
3826 +var cof = __webpack_require__(52);
3827 +module.exports = Array.isArray || function isArray(arg) {
3828 + return cof(arg) == 'Array';
3829 +};
1489 3830
1490 3831
3832 +/***/ }),
3833 +/* 219 */
3834 +/***/ (function(module, exports, __webpack_require__) {
1491 3835
1492 -/* eslint-disable camelcase */
1493 -__webpack_require__.p = elementorFrontendConfig.urls.assets + 'js/';
3836 +"use strict";
1494 3837
3838 +var global = __webpack_require__(8);
3839 +var core = __webpack_require__(6);
3840 +var dP = __webpack_require__(15);
3841 +var DESCRIPTORS = __webpack_require__(14);
3842 +var SPECIES = __webpack_require__(10)('species');
3843 +
3844 +module.exports = function (KEY) {
3845 + var C = typeof core[KEY] == 'function' ? core[KEY] : global[KEY];
3846 + if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {
3847 + configurable: true,
3848 + get: function () { return this; }
3849 + });
3850 +};
3851 +
3852 +
1495 3853 /***/ }),
3854 +/* 220 */,
3855 +/* 221 */,
3856 +/* 222 */,
3857 +/* 223 */,
3858 +/* 224 */,
3859 +/* 225 */,
3860 +/* 226 */,
3861 +/* 227 */,
3862 +/* 228 */,
3863 +/* 229 */
3864 +/***/ (function(module, exports, __webpack_require__) {
1496 3865
1497 -/***/ "../assets/dev/js/utils/breakpoints.js":
1498 -/*!*********************************************!*\
1499 - !*** ../assets/dev/js/utils/breakpoints.js ***!
1500 - \*********************************************/
1501 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3866 +__webpack_require__(230);
3867 +module.exports = __webpack_require__(6).Object.values;
1502 3868
1503 3869
3870 +/***/ }),
3871 +/* 230 */
3872 +/***/ (function(module, exports, __webpack_require__) {
1504 3873
1505 -Object.defineProperty(exports, "__esModule", ({
1506 - value: true
1507 -}));
1508 -exports["default"] = void 0;
1509 -__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js");
1510 -__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
1511 -__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
1512 -__webpack_require__(/*! core-js/modules/esnext.iterator.map.js */ "../node_modules/core-js/modules/esnext.iterator.map.js");
1513 -/**
1514 - * Breakpoints
1515 - *
1516 - * This utility class contains helper functions relating to Elementor's breakpoints system.
1517 - *
1518 - * @since 3.4.0
1519 - */
1520 -class Breakpoints extends elementorModules.Module {
1521 - constructor(responsiveConfig) {
1522 - super();
3874 +// https://github.com/tc39/proposal-object-values-entries
3875 +var $export = __webpack_require__(7);
3876 +var $values = __webpack_require__(181)(false);
1523 3877
1524 - // The passed config is either `elementor.config.responsive` or `elementorFrontend.config.responsive`
1525 - this.responsiveConfig = responsiveConfig;
3878 +$export($export.S, 'Object', {
3879 + values: function values(it) {
3880 + return $values(it);
1526 3881 }
3882 +});
1527 3883
1528 - /**
1529 - * Get Active Breakpoints List
1530 - *
1531 - * Returns a flat array containing the active breakpoints/devices. By default, it returns the li
1532 - * the list ordered from smallest to largest breakpoint. If `true` is passed as a parameter, it reverses the order.
1533 - *
1534 - * @since 3.4.0
1535 - *
1536 - * @param {Object} args
1537 - */
1538 - getActiveBreakpointsList(args = {}) {
1539 - const defaultArgs = {
1540 - largeToSmall: false,
1541 - withDesktop: false
3884 +
3885 +/***/ }),
3886 +/* 231 */,
3887 +/* 232 */,
3888 +/* 233 */,
3889 +/* 234 */,
3890 +/* 235 */,
3891 +/* 236 */,
3892 +/* 237 */
3893 +/***/ (function(module, exports) {
3894 +
3895 +module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' +
3896 + '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
3897 +
3898 +
3899 +/***/ }),
3900 +/* 238 */,
3901 +/* 239 */,
3902 +/* 240 */,
3903 +/* 241 */,
3904 +/* 242 */,
3905 +/* 243 */,
3906 +/* 244 */,
3907 +/* 245 */,
3908 +/* 246 */,
3909 +/* 247 */,
3910 +/* 248 */,
3911 +/* 249 */,
3912 +/* 250 */,
3913 +/* 251 */,
3914 +/* 252 */,
3915 +/* 253 */,
3916 +/* 254 */,
3917 +/* 255 */,
3918 +/* 256 */,
3919 +/* 257 */
3920 +/***/ (function(module, exports, __webpack_require__) {
3921 +
3922 +__webpack_require__(92);
3923 +__webpack_require__(57);
3924 +__webpack_require__(59);
3925 +__webpack_require__(258);
3926 +__webpack_require__(261);
3927 +__webpack_require__(262);
3928 +module.exports = __webpack_require__(6).Promise;
3929 +
3930 +
3931 +/***/ }),
3932 +/* 258 */
3933 +/***/ (function(module, exports, __webpack_require__) {
3934 +
3935 +"use strict";
3936 +
3937 +var LIBRARY = __webpack_require__(44);
3938 +var global = __webpack_require__(8);
3939 +var ctx = __webpack_require__(29);
3940 +var classof = __webpack_require__(99);
3941 +var $export = __webpack_require__(7);
3942 +var isObject = __webpack_require__(9);
3943 +var aFunction = __webpack_require__(35);
3944 +var anInstance = __webpack_require__(120);
3945 +var forOf = __webpack_require__(79);
3946 +var speciesConstructor = __webpack_require__(208);
3947 +var task = __webpack_require__(209).set;
3948 +var microtask = __webpack_require__(259)();
3949 +var newPromiseCapabilityModule = __webpack_require__(149);
3950 +var perform = __webpack_require__(210);
3951 +var userAgent = __webpack_require__(260);
3952 +var promiseResolve = __webpack_require__(211);
3953 +var PROMISE = 'Promise';
3954 +var TypeError = global.TypeError;
3955 +var process = global.process;
3956 +var versions = process && process.versions;
3957 +var v8 = versions && versions.v8 || '';
3958 +var $Promise = global[PROMISE];
3959 +var isNode = classof(process) == 'process';
3960 +var empty = function () { /* empty */ };
3961 +var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper;
3962 +var newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f;
3963 +
3964 +var USE_NATIVE = !!function () {
3965 + try {
3966 + // correct subclassing with @@species support
3967 + var promise = $Promise.resolve(1);
3968 + var FakePromise = (promise.constructor = {})[__webpack_require__(10)('species')] = function (exec) {
3969 + exec(empty, empty);
1542 3970 };
1543 - args = {
1544 - ...defaultArgs,
1545 - ...args
3971 + // unhandled rejections tracking support, NodeJS Promise without it fails @@species test
3972 + return (isNode || typeof PromiseRejectionEvent == 'function')
3973 + && promise.then(empty) instanceof FakePromise
3974 + // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
3975 + // https://bugs.chromium.org/p/chromium/issues/detail?id=830565
3976 + // we can't detect it synchronously, so just check versions
3977 + && v8.indexOf('6.6') !== 0
3978 + && userAgent.indexOf('Chrome/66') === -1;
3979 + } catch (e) { /* empty */ }
3980 +}();
3981 +
3982 +// helpers
3983 +var isThenable = function (it) {
3984 + var then;
3985 + return isObject(it) && typeof (then = it.then) == 'function' ? then : false;
3986 +};
3987 +var notify = function (promise, isReject) {
3988 + if (promise._n) return;
3989 + promise._n = true;
3990 + var chain = promise._c;
3991 + microtask(function () {
3992 + var value = promise._v;
3993 + var ok = promise._s == 1;
3994 + var i = 0;
3995 + var run = function (reaction) {
3996 + var handler = ok ? reaction.ok : reaction.fail;
3997 + var resolve = reaction.resolve;
3998 + var reject = reaction.reject;
3999 + var domain = reaction.domain;
4000 + var result, then, exited;
4001 + try {
4002 + if (handler) {
4003 + if (!ok) {
4004 + if (promise._h == 2) onHandleUnhandled(promise);
4005 + promise._h = 1;
4006 + }
4007 + if (handler === true) result = value;
4008 + else {
4009 + if (domain) domain.enter();
4010 + result = handler(value); // may throw
4011 + if (domain) {
4012 + domain.exit();
4013 + exited = true;
4014 + }
4015 + }
4016 + if (result === reaction.promise) {
4017 + reject(TypeError('Promise-chain cycle'));
4018 + } else if (then = isThenable(result)) {
4019 + then.call(result, resolve, reject);
4020 + } else resolve(result);
4021 + } else reject(value);
4022 + } catch (e) {
4023 + if (domain && !exited) domain.exit();
4024 + reject(e);
4025 + }
1546 4026 };
1547 - const breakpointKeys = Object.keys(this.responsiveConfig.activeBreakpoints);
1548 - if (args.withDesktop) {
1549 - // If there is an active 'widescreen' breakpoint, insert the artificial 'desktop' device below it.
1550 - const widescreenIndex = breakpointKeys.indexOf('widescreen'),
1551 - indexToInsertDesktopDevice = -1 === widescreenIndex ? breakpointKeys.length : breakpointKeys.length - 1;
1552 - breakpointKeys.splice(indexToInsertDesktopDevice, 0, 'desktop');
4027 + while (chain.length > i) run(chain[i++]); // variable length - can't use forEach
4028 + promise._c = [];
4029 + promise._n = false;
4030 + if (isReject && !promise._h) onUnhandled(promise);
4031 + });
4032 +};
4033 +var onUnhandled = function (promise) {
4034 + task.call(global, function () {
4035 + var value = promise._v;
4036 + var unhandled = isUnhandled(promise);
4037 + var result, handler, console;
4038 + if (unhandled) {
4039 + result = perform(function () {
4040 + if (isNode) {
4041 + process.emit('unhandledRejection', value, promise);
4042 + } else if (handler = global.onunhandledrejection) {
4043 + handler({ promise: promise, reason: value });
4044 + } else if ((console = global.console) && console.error) {
4045 + console.error('Unhandled promise rejection', value);
4046 + }
4047 + });
4048 + // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
4049 + promise._h = isNode || isUnhandled(promise) ? 2 : 1;
4050 + } promise._a = undefined;
4051 + if (unhandled && result.e) throw result.v;
4052 + });
4053 +};
4054 +var isUnhandled = function (promise) {
4055 + return promise._h !== 1 && (promise._a || promise._c).length === 0;
4056 +};
4057 +var onHandleUnhandled = function (promise) {
4058 + task.call(global, function () {
4059 + var handler;
4060 + if (isNode) {
4061 + process.emit('rejectionHandled', promise);
4062 + } else if (handler = global.onrejectionhandled) {
4063 + handler({ promise: promise, reason: promise._v });
1553 4064 }
1554 - if (args.largeToSmall) {
1555 - breakpointKeys.reverse();
4065 + });
4066 +};
4067 +var $reject = function (value) {
4068 + var promise = this;
4069 + if (promise._d) return;
4070 + promise._d = true;
4071 + promise = promise._w || promise; // unwrap
4072 + promise._v = value;
4073 + promise._s = 2;
4074 + if (!promise._a) promise._a = promise._c.slice();
4075 + notify(promise, true);
4076 +};
4077 +var $resolve = function (value) {
4078 + var promise = this;
4079 + var then;
4080 + if (promise._d) return;
4081 + promise._d = true;
4082 + promise = promise._w || promise; // unwrap
4083 + try {
4084 + if (promise === value) throw TypeError("Promise can't be resolved itself");
4085 + if (then = isThenable(value)) {
4086 + microtask(function () {
4087 + var wrapper = { _w: promise, _d: false }; // wrap
4088 + try {
4089 + then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));
4090 + } catch (e) {
4091 + $reject.call(wrapper, e);
4092 + }
4093 + });
4094 + } else {
4095 + promise._v = value;
4096 + promise._s = 1;
4097 + notify(promise, false);
1556 4098 }
1557 - return breakpointKeys;
4099 + } catch (e) {
4100 + $reject.call({ _w: promise, _d: false }, e); // wrap
1558 4101 }
4102 +};
1559 4103
1560 - /**
1561 - * Get Active Breakpoint Values
1562 - *
1563 - * Returns a flat array containing the list of active breakpoint values, from smallest to largest.
1564 - *
1565 - * @since 3.4.0
1566 - */
1567 - getBreakpointValues() {
1568 - const {
1569 - activeBreakpoints
1570 - } = this.responsiveConfig,
1571 - breakpointValues = [];
1572 - Object.values(activeBreakpoints).forEach(breakpointConfig => {
1573 - breakpointValues.push(breakpointConfig.value);
4104 +// constructor polyfill
4105 +if (!USE_NATIVE) {
4106 + // 25.4.3.1 Promise(executor)
4107 + $Promise = function Promise(executor) {
4108 + anInstance(this, $Promise, PROMISE, '_h');
4109 + aFunction(executor);
4110 + Internal.call(this);
4111 + try {
4112 + executor(ctx($resolve, this, 1), ctx($reject, this, 1));
4113 + } catch (err) {
4114 + $reject.call(this, err);
4115 + }
4116 + };
4117 + // eslint-disable-next-line no-unused-vars
4118 + Internal = function Promise(executor) {
4119 + this._c = []; // <- awaiting reactions
4120 + this._a = undefined; // <- checked in isUnhandled reactions
4121 + this._s = 0; // <- state
4122 + this._d = false; // <- done
4123 + this._v = undefined; // <- value
4124 + this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled
4125 + this._n = false; // <- notify
4126 + };
4127 + Internal.prototype = __webpack_require__(121)($Promise.prototype, {
4128 + // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)
4129 + then: function then(onFulfilled, onRejected) {
4130 + var reaction = newPromiseCapability(speciesConstructor(this, $Promise));
4131 + reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
4132 + reaction.fail = typeof onRejected == 'function' && onRejected;
4133 + reaction.domain = isNode ? process.domain : undefined;
4134 + this._c.push(reaction);
4135 + if (this._a) this._a.push(reaction);
4136 + if (this._s) notify(this, false);
4137 + return reaction.promise;
4138 + },
4139 + // 25.4.5.1 Promise.prototype.catch(onRejected)
4140 + 'catch': function (onRejected) {
4141 + return this.then(undefined, onRejected);
4142 + }
4143 + });
4144 + OwnPromiseCapability = function () {
4145 + var promise = new Internal();
4146 + this.promise = promise;
4147 + this.resolve = ctx($resolve, promise, 1);
4148 + this.reject = ctx($reject, promise, 1);
4149 + };
4150 + newPromiseCapabilityModule.f = newPromiseCapability = function (C) {
4151 + return C === $Promise || C === Wrapper
4152 + ? new OwnPromiseCapability(C)
4153 + : newGenericPromiseCapability(C);
4154 + };
4155 +}
4156 +
4157 +$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise });
4158 +__webpack_require__(53)($Promise, PROMISE);
4159 +__webpack_require__(219)(PROMISE);
4160 +Wrapper = __webpack_require__(6)[PROMISE];
4161 +
4162 +// statics
4163 +$export($export.S + $export.F * !USE_NATIVE, PROMISE, {
4164 + // 25.4.4.5 Promise.reject(r)
4165 + reject: function reject(r) {
4166 + var capability = newPromiseCapability(this);
4167 + var $$reject = capability.reject;
4168 + $$reject(r);
4169 + return capability.promise;
4170 + }
4171 +});
4172 +$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {
4173 + // 25.4.4.6 Promise.resolve(x)
4174 + resolve: function resolve(x) {
4175 + return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x);
4176 + }
4177 +});
4178 +$export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(178)(function (iter) {
4179 + $Promise.all(iter)['catch'](empty);
4180 +})), PROMISE, {
4181 + // 25.4.4.1 Promise.all(iterable)
4182 + all: function all(iterable) {
4183 + var C = this;
4184 + var capability = newPromiseCapability(C);
4185 + var resolve = capability.resolve;
4186 + var reject = capability.reject;
4187 + var result = perform(function () {
4188 + var values = [];
4189 + var index = 0;
4190 + var remaining = 1;
4191 + forOf(iterable, false, function (promise) {
4192 + var $index = index++;
4193 + var alreadyCalled = false;
4194 + values.push(undefined);
4195 + remaining++;
4196 + C.resolve(promise).then(function (value) {
4197 + if (alreadyCalled) return;
4198 + alreadyCalled = true;
4199 + values[$index] = value;
4200 + --remaining || resolve(values);
4201 + }, reject);
4202 + });
4203 + --remaining || resolve(values);
1574 4204 });
1575 - return breakpointValues;
4205 + if (result.e) reject(result.v);
4206 + return capability.promise;
4207 + },
4208 + // 25.4.4.4 Promise.race(iterable)
4209 + race: function race(iterable) {
4210 + var C = this;
4211 + var capability = newPromiseCapability(C);
4212 + var reject = capability.reject;
4213 + var result = perform(function () {
4214 + forOf(iterable, false, function (promise) {
4215 + C.resolve(promise).then(capability.resolve, reject);
4216 + });
4217 + });
4218 + if (result.e) reject(result.v);
4219 + return capability.promise;
1576 4220 }
4221 +});
1577 4222
1578 - /**
1579 - * Get Desktop Previous Device Key
1580 - *
1581 - * Returns the key of the device directly under desktop (can be 'tablet', 'tablet_extra', 'laptop').
1582 - *
1583 - * @since 3.4.0
1584 - *
1585 - * @return {string} device key
1586 - */
1587 - getDesktopPreviousDeviceKey() {
1588 - let desktopPreviousDevice = '';
1589 - const {
1590 - activeBreakpoints
1591 - } = this.responsiveConfig,
1592 - breakpointKeys = Object.keys(activeBreakpoints),
1593 - numOfDevices = breakpointKeys.length;
1594 - if ('min' === activeBreakpoints[breakpointKeys[numOfDevices - 1]].direction) {
1595 - // If the widescreen breakpoint is active, the device that's previous to desktop is the last one before
1596 - // widescreen.
1597 - desktopPreviousDevice = breakpointKeys[numOfDevices - 2];
1598 - } else {
1599 - // If the widescreen breakpoint isn't active, we just take the last device returned by the config.
1600 - desktopPreviousDevice = breakpointKeys[numOfDevices - 1];
1601 - }
1602 - return desktopPreviousDevice;
1603 - }
1604 4223
1605 - /**
1606 - * Get Device Minimum Breakpoint
1607 - *
1608 - * Returns the minimum point in the device's display range. For each device, the minimum point of its display range
1609 - * is the max point of the device below it + 1px. For example, if the active devices are mobile, tablet,
1610 - * and desktop, and the mobile breakpoint is 767px, the minimum display point for tablet devices is 768px.
1611 - *
1612 - * @since 3.4.0
1613 - *
1614 - * @return {number|*} minimum breakpoint
1615 - */
1616 - getDesktopMinPoint() {
1617 - const {
1618 - activeBreakpoints
1619 - } = this.responsiveConfig,
1620 - desktopPreviousDevice = this.getDesktopPreviousDeviceKey();
1621 - return activeBreakpoints[desktopPreviousDevice].value + 1;
1622 - }
4224 +/***/ }),
4225 +/* 259 */
4226 +/***/ (function(module, exports, __webpack_require__) {
1623 4227
1624 - /**
1625 - * Get Device Minimum Breakpoint
1626 - *
1627 - * Returns the minimum point in the device's display range. For each device, the minimum point of its display range
1628 - * is the max point of the device below it + 1px. For example, if the active devices are mobile, tablet,
1629 - * and desktop, and the mobile breakpoint is 767px, the minimum display point for tablet devices is 768px.
1630 - *
1631 - * @since 3.4.0
1632 - *
1633 - * @param {string} device
1634 - * @return {number|*} minimum breakpoint
1635 - */
1636 - getDeviceMinBreakpoint(device) {
1637 - if ('desktop' === device) {
1638 - return this.getDesktopMinPoint();
1639 - }
1640 - const {
1641 - activeBreakpoints
1642 - } = this.responsiveConfig,
1643 - breakpointNames = Object.keys(activeBreakpoints);
1644 - let minBreakpoint;
1645 - if (breakpointNames[0] === device) {
1646 - // For the lowest breakpoint, the min point is always 320.
1647 - minBreakpoint = 320;
1648 - } else if ('widescreen' === device) {
1649 - // Widescreen only has a minimum point. In this case, the breakpoint
1650 - // value in the Breakpoints config is itself the device min point.
1651 - if (activeBreakpoints[device]) {
1652 - minBreakpoint = activeBreakpoints[device].value;
1653 - } else {
1654 - // If the widescreen breakpoint does not exist in the active breakpoints config (for example, in the
1655 - // case this method runs as the breakpoint is being added), get the value from the full config.
1656 - minBreakpoint = this.responsiveConfig.breakpoints.widescreen;
4228 +var global = __webpack_require__(8);
4229 +var macrotask = __webpack_require__(209).set;
4230 +var Observer = global.MutationObserver || global.WebKitMutationObserver;
4231 +var process = global.process;
4232 +var Promise = global.Promise;
4233 +var isNode = __webpack_require__(56)(process) == 'process';
4234 +
4235 +module.exports = function () {
4236 + var head, last, notify;
4237 +
4238 + var flush = function () {
4239 + var parent, fn;
4240 + if (isNode && (parent = process.domain)) parent.exit();
4241 + while (head) {
4242 + fn = head.fn;
4243 + head = head.next;
4244 + try {
4245 + fn();
4246 + } catch (e) {
4247 + if (head) notify();
4248 + else last = undefined;
4249 + throw e;
1657 4250 }
1658 - } else {
1659 - const deviceNameIndex = breakpointNames.indexOf(device),
1660 - previousIndex = deviceNameIndex - 1;
1661 - minBreakpoint = activeBreakpoints[breakpointNames[previousIndex]].value + 1;
1662 - }
1663 - return minBreakpoint;
4251 + } last = undefined;
4252 + if (parent) parent.enter();
4253 + };
4254 +
4255 + // Node.js
4256 + if (isNode) {
4257 + notify = function () {
4258 + process.nextTick(flush);
4259 + };
4260 + // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339
4261 + } else if (Observer && !(global.navigator && global.navigator.standalone)) {
4262 + var toggle = true;
4263 + var node = document.createTextNode('');
4264 + new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new
4265 + notify = function () {
4266 + node.data = toggle = !toggle;
4267 + };
4268 + // environments with maybe non-completely correct, but existent Promise
4269 + } else if (Promise && Promise.resolve) {
4270 + // Promise.resolve without an argument throws an error in LG WebOS 2
4271 + var promise = Promise.resolve(undefined);
4272 + notify = function () {
4273 + promise.then(flush);
4274 + };
4275 + // for other environments - macrotask based on:
4276 + // - setImmediate
4277 + // - MessageChannel
4278 + // - window.postMessag
4279 + // - onreadystatechange
4280 + // - setTimeout
4281 + } else {
4282 + notify = function () {
4283 + // strange IE + webpack dev server bug - use .call(global)
4284 + macrotask.call(global, flush);
4285 + };
1664 4286 }
1665 4287
1666 - /**
1667 - * Get Active Match Regex
1668 - *
1669 - * Returns a regular expression containing all active breakpoints prefixed with an underscore.
1670 - *
1671 - * @return {RegExp} Active Match Regex
1672 - */
1673 - getActiveMatchRegex() {
1674 - return new RegExp(this.getActiveBreakpointsList().map(device => '_' + device).join('|') + '$');
1675 - }
1676 -}
1677 -exports["default"] = Breakpoints;
4288 + return function (fn) {
4289 + var task = { fn: fn, next: undefined };
4290 + if (last) last.next = task;
4291 + if (!head) {
4292 + head = task;
4293 + notify();
4294 + } last = task;
4295 + };
4296 +};
1678 4297
4298 +
1679 4299 /***/ }),
4300 +/* 260 */
4301 +/***/ (function(module, exports, __webpack_require__) {
1680 4302
1681 -/***/ "../assets/dev/js/utils/events.js":
1682 -/*!****************************************!*\
1683 - !*** ../assets/dev/js/utils/events.js ***!
1684 - \****************************************/
1685 -/***/ ((__unused_webpack_module, exports) => {
4303 +var global = __webpack_require__(8);
4304 +var navigator = global.navigator;
1686 4305
4306 +module.exports = navigator && navigator.userAgent || '';
1687 4307
1688 4308
1689 -Object.defineProperty(exports, "__esModule", ({
4309 +/***/ }),
4310 +/* 261 */
4311 +/***/ (function(module, exports, __webpack_require__) {
4312 +
4313 +"use strict";
4314 +// https://github.com/tc39/proposal-promise-finally
4315 +
4316 +var $export = __webpack_require__(7);
4317 +var core = __webpack_require__(6);
4318 +var global = __webpack_require__(8);
4319 +var speciesConstructor = __webpack_require__(208);
4320 +var promiseResolve = __webpack_require__(211);
4321 +
4322 +$export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) {
4323 + var C = speciesConstructor(this, core.Promise || global.Promise);
4324 + var isFunction = typeof onFinally == 'function';
4325 + return this.then(
4326 + isFunction ? function (x) {
4327 + return promiseResolve(C, onFinally()).then(function () { return x; });
4328 + } : onFinally,
4329 + isFunction ? function (e) {
4330 + return promiseResolve(C, onFinally()).then(function () { throw e; });
4331 + } : onFinally
4332 + );
4333 +} });
4334 +
4335 +
4336 +/***/ }),
4337 +/* 262 */
4338 +/***/ (function(module, exports, __webpack_require__) {
4339 +
4340 +"use strict";
4341 +
4342 +// https://github.com/tc39/proposal-promise-try
4343 +var $export = __webpack_require__(7);
4344 +var newPromiseCapability = __webpack_require__(149);
4345 +var perform = __webpack_require__(210);
4346 +
4347 +$export($export.S, 'Promise', { 'try': function (callbackfn) {
4348 + var promiseCapability = newPromiseCapability.f(this);
4349 + var result = perform(callbackfn);
4350 + (result.e ? promiseCapability.reject : promiseCapability.resolve)(result.v);
4351 + return promiseCapability.promise;
4352 +} });
4353 +
4354 +
4355 +/***/ }),
4356 +/* 263 */,
4357 +/* 264 */,
4358 +/* 265 */,
4359 +/* 266 */,
4360 +/* 267 */,
4361 +/* 268 */,
4362 +/* 269 */,
4363 +/* 270 */,
4364 +/* 271 */,
4365 +/* 272 */
4366 +/***/ (function(module, exports, __webpack_require__) {
4367 +
4368 +"use strict";
4369 +
4370 +
4371 +var _Object$defineProperty = __webpack_require__(1);
4372 +
4373 +_Object$defineProperty(exports, "__esModule", {
1690 4374 value: true
1691 -}));
1692 -exports["default"] = exports.Events = void 0;
1693 -class Events {
1694 - /**
1695 - * Dispatch an Elementor event.
1696 - *
1697 - * Will dispatch both native event & jQuery event (as BC).
1698 - * By default, `bcEvent` is `null`.
1699 - *
1700 - * @param {Object} context - The context that will dispatch the event.
1701 - * @param {string} event - Event to dispatch.
1702 - * @param {*} data - Data to pass to the event, default to `null`.
1703 - * @param {string|null} bcEvent - BC event to dispatch, default to `null`.
1704 - *
1705 - * @return {void}
1706 - */
1707 - static dispatch(context, event, data = null, bcEvent = null) {
1708 - // Make sure to use the native context if it's a jQuery instance.
1709 - context = context instanceof jQuery ? context[0] : context;
4375 +});
1710 4376
1711 - // Dispatch the BC event only if exists.
1712 - if (bcEvent) {
1713 - context.dispatchEvent(new CustomEvent(bcEvent, {
1714 - detail: data
1715 - }));
1716 - }
4377 +exports.default = void 0;
4378 +var userAgent = navigator.userAgent;
4379 +var _default = {
4380 + webkit: -1 !== userAgent.indexOf('AppleWebKit'),
4381 + firefox: -1 !== userAgent.indexOf('Firefox'),
4382 + ie: /Trident|MSIE/.test(userAgent),
4383 + edge: -1 !== userAgent.indexOf('Edge'),
4384 + mac: -1 !== userAgent.indexOf('Macintosh'),
4385 + safari: /^((?!chrome|android).)*safari/i.test(userAgent)
4386 +};
4387 +exports.default = _default;
1717 4388
1718 - // jQuery's `.on()` listens also to native custom events, so there is no need
1719 - // to dispatch also a jQuery event.
1720 - context.dispatchEvent(new CustomEvent(event, {
1721 - detail: data
1722 - }));
4389 +/***/ }),
4390 +/* 273 */
4391 +/***/ (function(module, exports, __webpack_require__) {
4392 +
4393 +module.exports = __webpack_require__(274);
4394 +
4395 +/***/ }),
4396 +/* 274 */
4397 +/***/ (function(module, exports, __webpack_require__) {
4398 +
4399 +__webpack_require__(275);
4400 +var $Object = __webpack_require__(6).Object;
4401 +module.exports = function defineProperties(T, D) {
4402 + return $Object.defineProperties(T, D);
4403 +};
4404 +
4405 +
4406 +/***/ }),
4407 +/* 275 */
4408 +/***/ (function(module, exports, __webpack_require__) {
4409 +
4410 +var $export = __webpack_require__(7);
4411 +// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)
4412 +$export($export.S + $export.F * !__webpack_require__(14), 'Object', { defineProperties: __webpack_require__(131) });
4413 +
4414 +
4415 +/***/ }),
4416 +/* 276 */,
4417 +/* 277 */,
4418 +/* 278 */,
4419 +/* 279 */,
4420 +/* 280 */,
4421 +/* 281 */,
4422 +/* 282 */,
4423 +/* 283 */
4424 +/***/ (function(module, exports, __webpack_require__) {
4425 +
4426 +// 21.2.5.3 get RegExp.prototype.flags()
4427 +if (__webpack_require__(28) && /./g.flags != 'g') __webpack_require__(51).f(RegExp.prototype, 'flags', {
4428 + configurable: true,
4429 + get: __webpack_require__(109)
4430 +});
4431 +
4432 +
4433 +/***/ }),
4434 +/* 284 */,
4435 +/* 285 */
4436 +/***/ (function(module, exports, __webpack_require__) {
4437 +
4438 +__webpack_require__(286);
4439 +module.exports = __webpack_require__(6).parseInt;
4440 +
4441 +
4442 +/***/ }),
4443 +/* 286 */
4444 +/***/ (function(module, exports, __webpack_require__) {
4445 +
4446 +var $export = __webpack_require__(7);
4447 +var $parseInt = __webpack_require__(287);
4448 +// 18.2.5 parseInt(string, radix)
4449 +$export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt });
4450 +
4451 +
4452 +/***/ }),
4453 +/* 287 */
4454 +/***/ (function(module, exports, __webpack_require__) {
4455 +
4456 +var $parseInt = __webpack_require__(8).parseInt;
4457 +var $trim = __webpack_require__(288).trim;
4458 +var ws = __webpack_require__(237);
4459 +var hex = /^[-+]?0[xX]/;
4460 +
4461 +module.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) {
4462 + var string = $trim(String(str), 3);
4463 + return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10));
4464 +} : $parseInt;
4465 +
4466 +
4467 +/***/ }),
4468 +/* 288 */
4469 +/***/ (function(module, exports, __webpack_require__) {
4470 +
4471 +var $export = __webpack_require__(7);
4472 +var defined = __webpack_require__(65);
4473 +var fails = __webpack_require__(21);
4474 +var spaces = __webpack_require__(237);
4475 +var space = '[' + spaces + ']';
4476 +var non = '\u200b\u0085';
4477 +var ltrim = RegExp('^' + space + space + '*');
4478 +var rtrim = RegExp(space + space + '*$');
4479 +
4480 +var exporter = function (KEY, exec, ALIAS) {
4481 + var exp = {};
4482 + var FORCE = fails(function () {
4483 + return !!spaces[KEY]() || non[KEY]() != non;
4484 + });
4485 + var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];
4486 + if (ALIAS) exp[ALIAS] = fn;
4487 + $export($export.P + $export.F * FORCE, 'String', exp);
4488 +};
4489 +
4490 +// 1 -> String#trimLeft
4491 +// 2 -> String#trimRight
4492 +// 3 -> String#trim
4493 +var trim = exporter.trim = function (string, TYPE) {
4494 + string = String(defined(string));
4495 + if (TYPE & 1) string = string.replace(ltrim, '');
4496 + if (TYPE & 2) string = string.replace(rtrim, '');
4497 + return string;
4498 +};
4499 +
4500 +module.exports = exporter;
4501 +
4502 +
4503 +/***/ }),
4504 +/* 289 */,
4505 +/* 290 */,
4506 +/* 291 */,
4507 +/* 292 */,
4508 +/* 293 */,
4509 +/* 294 */,
4510 +/* 295 */,
4511 +/* 296 */,
4512 +/* 297 */,
4513 +/* 298 */,
4514 +/* 299 */,
4515 +/* 300 */,
4516 +/* 301 */,
4517 +/* 302 */,
4518 +/* 303 */,
4519 +/* 304 */,
4520 +/* 305 */,
4521 +/* 306 */,
4522 +/* 307 */,
4523 +/* 308 */,
4524 +/* 309 */
4525 +/***/ (function(module, exports, __webpack_require__) {
4526 +
4527 +"use strict";
4528 +
4529 +// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)
4530 +var $export = __webpack_require__(38);
4531 +var $find = __webpack_require__(190)(6);
4532 +var KEY = 'findIndex';
4533 +var forced = true;
4534 +// Shouldn't skip holes
4535 +if (KEY in []) Array(1)[KEY](function () { forced = false; });
4536 +$export($export.P + $export.F * forced, 'Array', {
4537 + findIndex: function findIndex(callbackfn /* , that = undefined */) {
4538 + return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
1723 4539 }
1724 -}
1725 -exports.Events = Events;
1726 -var _default = exports["default"] = Events;
4540 +});
4541 +__webpack_require__(90)(KEY);
1727 4542
4543 +
1728 4544 /***/ }),
4545 +/* 310 */,
4546 +/* 311 */,
4547 +/* 312 */,
4548 +/* 313 */,
4549 +/* 314 */,
4550 +/* 315 */,
4551 +/* 316 */,
4552 +/* 317 */,
4553 +/* 318 */,
4554 +/* 319 */,
4555 +/* 320 */,
4556 +/* 321 */,
4557 +/* 322 */,
4558 +/* 323 */,
4559 +/* 324 */,
4560 +/* 325 */,
4561 +/* 326 */,
4562 +/* 327 */,
4563 +/* 328 */,
4564 +/* 329 */
4565 +/***/ (function(module, exports, __webpack_require__) {
1729 4566
1730 -/***/ "../assets/dev/js/utils/hooks.js":
1731 -/*!***************************************!*\
1732 - !*** ../assets/dev/js/utils/hooks.js ***!
1733 - \***************************************/
1734 -/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4567 +var core = __webpack_require__(6);
4568 +var $JSON = core.JSON || (core.JSON = { stringify: JSON.stringify });
4569 +module.exports = function stringify(it) { // eslint-disable-line no-unused-vars
4570 + return $JSON.stringify.apply($JSON, arguments);
4571 +};
1735 4572
1736 4573
4574 +/***/ }),
4575 +/* 330 */,
4576 +/* 331 */,
4577 +/* 332 */,
4578 +/* 333 */,
4579 +/* 334 */,
4580 +/* 335 */,
4581 +/* 336 */,
4582 +/* 337 */,
4583 +/* 338 */,
4584 +/* 339 */,
4585 +/* 340 */,
4586 +/* 341 */,
4587 +/* 342 */,
4588 +/* 343 */,
4589 +/* 344 */,
4590 +/* 345 */,
4591 +/* 346 */,
4592 +/* 347 */,
4593 +/* 348 */,
4594 +/* 349 */,
4595 +/* 350 */,
4596 +/* 351 */,
4597 +/* 352 */,
4598 +/* 353 */,
4599 +/* 354 */,
4600 +/* 355 */,
4601 +/* 356 */,
4602 +/* 357 */,
4603 +/* 358 */,
4604 +/* 359 */,
4605 +/* 360 */,
4606 +/* 361 */,
4607 +/* 362 */,
4608 +/* 363 */,
4609 +/* 364 */,
4610 +/* 365 */,
4611 +/* 366 */,
4612 +/* 367 */,
4613 +/* 368 */,
4614 +/* 369 */,
4615 +/* 370 */,
4616 +/* 371 */,
4617 +/* 372 */,
4618 +/* 373 */,
4619 +/* 374 */,
4620 +/* 375 */,
4621 +/* 376 */,
4622 +/* 377 */,
4623 +/* 378 */,
4624 +/* 379 */,
4625 +/* 380 */,
4626 +/* 381 */,
4627 +/* 382 */,
4628 +/* 383 */,
4629 +/* 384 */,
4630 +/* 385 */,
4631 +/* 386 */,
4632 +/* 387 */,
4633 +/* 388 */,
4634 +/* 389 */,
4635 +/* 390 */,
4636 +/* 391 */,
4637 +/* 392 */,
4638 +/* 393 */,
4639 +/* 394 */,
4640 +/* 395 */,
4641 +/* 396 */,
4642 +/* 397 */,
4643 +/* 398 */,
4644 +/* 399 */,
4645 +/* 400 */,
4646 +/* 401 */
4647 +/***/ (function(module, exports, __webpack_require__) {
1737 4648
4649 +"use strict";
4650 +
1738 4651 /**
1739 4652 * Handles managing all events for whatever you plug it into. Priorities for hooks are based on lowest to highest in
1740 4653 * that, lowest priority hooks are fired first.
1741 4654 */
1742 -__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js");
1743 -var EventManager = function () {
4655 +
4656 +var _interopRequireDefault = __webpack_require__(0);
4657 +
4658 +var _parseInt2 = _interopRequireDefault(__webpack_require__(214));
4659 +
4660 +var EventManager = function EventManager() {
1744 4661 var slice = Array.prototype.slice,
1745 - MethodsAvailable;
1746 -
4662 + MethodsAvailable;
1747 4663 /**
1748 4664 * Contains the hooks that get registered with this EventManager. The array for storage utilizes a "flat"
1749 4665 * object literal such that looking up the hook utilizes the native object literal hash.
1750 4666 */
4667 +
1751 4668 var STORAGE = {
1752 4669 actions: {},
1753 4670 filters: {}
1754 4671 };
1755 -
1756 4672 /**
1757 4673 * Removes the specified hook by resetting the value of it.
1758 4674 *
1759 - * @param {string} type Type of hook, either 'actions' or 'filters'
1760 - * @param {Function} hook The hook (namespace.identifier) to remove
1761 - * @param {Function} callback
1762 - * @param {*} context
4675 + * @param type Type of hook, either 'actions' or 'filters'
4676 + * @param hook The hook (namespace.identifier) to remove
4677 + *
1763 4678 * @private
1764 4679 */
4680 +
1765 4681 function _removeHook(type, hook, callback, context) {
1766 4682 var handlers, handler, i;
4683 +
1767 4684 if (!STORAGE[type][hook]) {
1768 4685 return;
1769 4686 }
4687 +
1770 4688 if (!callback) {
1771 4689 STORAGE[type][hook] = [];
1772 4690 } else {
1773 4691 handlers = STORAGE[type][hook];
4692 +
1774 4693 if (!context) {
1775 4694 for (i = handlers.length; i--;) {
1776 4695 if (handlers[i].callback === callback) {
1777 4696 handlers.splice(i, 1);
@@ -1779,8 +4698,9 @@
1779 4698 }
1780 4699 } else {
1781 4700 for (i = handlers.length; i--;) {
1782 4701 handler = handlers[i];
4702 +
1783 4703 if (handler.callback === callback && handler.context === context) {
1784 4704 handlers.splice(i, 1);
1785 4705 }
1786 4706 }
@@ -1786,49 +4706,55 @@
1786 4706 }
1787 4707 }
1788 4708 }
1789 4709 }
1790 -
1791 4710 /**
1792 4711 * Use an insert sort for keeping our hooks organized based on priority. This function is ridiculously faster
1793 4712 * than bubble sort, etc: http://jsperf.com/javascript-sort
1794 4713 *
1795 - * @param {Array<*>} hooks The custom array containing all of the appropriate hooks to perform an insert sort on.
4714 + * @param hooks The custom array containing all of the appropriate hooks to perform an insert sort on.
1796 4715 * @private
1797 4716 */
4717 +
4718 +
1798 4719 function _hookInsertSort(hooks) {
1799 4720 var tmpHook, j, prevHook;
4721 +
1800 4722 for (var i = 1, len = hooks.length; i < len; i++) {
1801 4723 tmpHook = hooks[i];
1802 4724 j = i;
4725 +
1803 4726 while ((prevHook = hooks[j - 1]) && prevHook.priority > tmpHook.priority) {
1804 4727 hooks[j] = hooks[j - 1];
1805 4728 --j;
1806 4729 }
4730 +
1807 4731 hooks[j] = tmpHook;
1808 4732 }
4733 +
1809 4734 return hooks;
1810 4735 }
1811 -
1812 4736 /**
1813 4737 * Adds the hook to the appropriate storage container
1814 4738 *
1815 - * @param {string} type 'actions' or 'filters'
1816 - * @param {Array<*>} hook The hook (namespace.identifier) to add to our event manager
1817 - * @param {Function} callback The function that will be called when the hook is executed.
1818 - * @param {number} priority The priority of this hook. Must be an integer.
1819 - * @param {*} [context] A value to be used for this
4739 + * @param type 'actions' or 'filters'
4740 + * @param hook The hook (namespace.identifier) to add to our event manager
4741 + * @param callback The function that will be called when the hook is executed.
4742 + * @param priority The priority of this hook. Must be an integer.
4743 + * @param [context] A value to be used for this
1820 4744 * @private
1821 4745 */
4746 +
4747 +
1822 4748 function _addHook(type, hook, callback, priority, context) {
1823 4749 var hookObject = {
1824 - callback,
1825 - priority,
1826 - context
1827 - };
4750 + callback: callback,
4751 + priority: priority,
4752 + context: context
4753 + }; // Utilize 'prop itself' : http://jsperf.com/hasownproperty-vs-in-vs-undefined/19
1828 4754
1829 - // Utilize 'prop itself' : http://jsperf.com/hasownproperty-vs-in-vs-undefined/19
1830 4755 var hooks = STORAGE[type][hook];
4756 +
1831 4757 if (hooks) {
1832 4758 // TEMP FIX BUG
1833 4759 var hasSameCallback = false;
1834 4760 jQuery.each(hooks, function () {
@@ -1836,37 +4762,43 @@
1836 4762 hasSameCallback = true;
1837 4763 return false;
1838 4764 }
1839 4765 });
4766 +
1840 4767 if (hasSameCallback) {
1841 4768 return;
1842 - }
1843 - // END TEMP FIX BUG
4769 + } // END TEMP FIX BUG
1844 4770
4771 +
1845 4772 hooks.push(hookObject);
1846 4773 hooks = _hookInsertSort(hooks);
1847 4774 } else {
1848 4775 hooks = [hookObject];
1849 4776 }
4777 +
1850 4778 STORAGE[type][hook] = hooks;
1851 4779 }
1852 -
1853 4780 /**
1854 4781 * Runs the specified hook. If it is an action, the value is not modified but if it is a filter, it is.
1855 4782 *
1856 - * @param {string} type 'actions' or 'filters'
1857 - * @param {*} hook The hook ( namespace.identifier ) to be ran.
1858 - * @param {Array<*>} args Arguments to pass to the action/filter. If it's a filter, args is actually a single parameter.
4783 + * @param type 'actions' or 'filters'
4784 + * @param hook The hook ( namespace.identifier ) to be ran.
4785 + * @param args Arguments to pass to the action/filter. If it's a filter, args is actually a single parameter.
1859 4786 * @private
1860 4787 */
4788 +
4789 +
1861 4790 function _runHook(type, hook, args) {
1862 4791 var handlers = STORAGE[type][hook],
1863 - i,
1864 - len;
4792 + i,
4793 + len;
4794 +
1865 4795 if (!handlers) {
1866 4796 return 'filters' === type ? args[0] : false;
1867 4797 }
4798 +
1868 4799 len = handlers.length;
4800 +
1869 4801 if ('filters' === type) {
1870 4802 for (i = 0; i < len; i++) {
1871 4803 args[0] = handlers[i].callback.apply(handlers[i].context, args);
1872 4804 }
@@ -1874,579 +4806,5124 @@
1874 4806 for (i = 0; i < len; i++) {
1875 4807 handlers[i].callback.apply(handlers[i].context, args);
1876 4808 }
1877 4809 }
4810 +
1878 4811 return 'filters' === type ? args[0] : true;
1879 4812 }
1880 -
1881 4813 /**
1882 4814 * Adds an action to the event manager.
1883 4815 *
1884 - * @param {string} action Must contain namespace.identifier
1885 - * @param {Function} callback Must be a valid callback function before this action is added
1886 - * @param {number} [priority=10] Used to control when the function is executed in relation to other callbacks bound to the same hook
1887 - * @param {*} [context] Supply a value to be used for this
4816 + * @param action Must contain namespace.identifier
4817 + * @param callback Must be a valid callback function before this action is added
4818 + * @param [priority=10] Used to control when the function is executed in relation to other callbacks bound to the same hook
4819 + * @param [context] Supply a value to be used for this
1888 4820 */
4821 +
4822 +
1889 4823 function addAction(action, callback, priority, context) {
1890 4824 if ('string' === typeof action && 'function' === typeof callback) {
1891 - priority = parseInt(priority || 10, 10);
4825 + priority = (0, _parseInt2.default)(priority || 10, 10);
4826 +
1892 4827 _addHook('actions', action, callback, priority, context);
1893 4828 }
4829 +
1894 4830 return MethodsAvailable;
1895 4831 }
1896 -
1897 4832 /**
1898 4833 * Performs an action if it exists. You can pass as many arguments as you want to this function; the only rule is
1899 4834 * that the first argument must always be the action.
1900 4835 */
1901 - function doAction(/* Action, arg1, arg2, ... */
1902 - ) {
4836 +
4837 +
4838 + function doAction()
4839 + /* action, arg1, arg2, ... */
4840 + {
1903 4841 var args = slice.call(arguments);
1904 4842 var action = args.shift();
4843 +
1905 4844 if ('string' === typeof action) {
1906 4845 _runHook('actions', action, args);
1907 4846 }
4847 +
1908 4848 return MethodsAvailable;
1909 4849 }
1910 -
1911 4850 /**
1912 4851 * Removes the specified action if it contains a namespace.identifier & exists.
1913 4852 *
1914 - * @param {string} action The action to remove
1915 - * @param {Function} [callback] Callback function to remove
4853 + * @param action The action to remove
4854 + * @param [callback] Callback function to remove
1916 4855 */
4856 +
4857 +
1917 4858 function removeAction(action, callback) {
1918 4859 if ('string' === typeof action) {
1919 4860 _removeHook('actions', action, callback);
1920 4861 }
4862 +
1921 4863 return MethodsAvailable;
1922 4864 }
1923 -
1924 4865 /**
1925 4866 * Adds a filter to the event manager.
1926 4867 *
1927 - * @param {string} filter Must contain namespace.identifier
1928 - * @param {Function} callback Must be a valid callback function before this action is added
1929 - * @param {number} [priority=10] Used to control when the function is executed in relation to other callbacks bound to the same hook
1930 - * @param {*} [context] Supply a value to be used for this
4868 + * @param filter Must contain namespace.identifier
4869 + * @param callback Must be a valid callback function before this action is added
4870 + * @param [priority=10] Used to control when the function is executed in relation to other callbacks bound to the same hook
4871 + * @param [context] Supply a value to be used for this
1931 4872 */
4873 +
4874 +
1932 4875 function addFilter(filter, callback, priority, context) {
1933 4876 if ('string' === typeof filter && 'function' === typeof callback) {
1934 - priority = parseInt(priority || 10, 10);
4877 + priority = (0, _parseInt2.default)(priority || 10, 10);
4878 +
1935 4879 _addHook('filters', filter, callback, priority, context);
1936 4880 }
4881 +
1937 4882 return MethodsAvailable;
1938 4883 }
1939 -
1940 4884 /**
1941 4885 * Performs a filter if it exists. You should only ever pass 1 argument to be filtered. The only rule is that
1942 4886 * the first argument must always be the filter.
1943 4887 */
1944 - function applyFilters(/* Filter, filtered arg, arg2, ... */
1945 - ) {
4888 +
4889 +
4890 + function applyFilters()
4891 + /* filter, filtered arg, arg2, ... */
4892 + {
1946 4893 var args = slice.call(arguments);
1947 4894 var filter = args.shift();
4895 +
1948 4896 if ('string' === typeof filter) {
1949 4897 return _runHook('filters', filter, args);
1950 4898 }
4899 +
1951 4900 return MethodsAvailable;
1952 4901 }
1953 -
1954 4902 /**
1955 4903 * Removes the specified filter if it contains a namespace.identifier & exists.
1956 4904 *
1957 - * @param {string} filter The action to remove
1958 - * @param {Function} [callback] Callback function to remove
4905 + * @param filter The action to remove
4906 + * @param [callback] Callback function to remove
1959 4907 */
4908 +
4909 +
1960 4910 function removeFilter(filter, callback) {
1961 4911 if ('string' === typeof filter) {
1962 4912 _removeHook('filters', filter, callback);
1963 4913 }
4914 +
1964 4915 return MethodsAvailable;
1965 4916 }
1966 -
1967 4917 /**
1968 4918 * Maintain a reference to the object scope so our public methods never get confusing.
1969 4919 */
4920 +
4921 +
1970 4922 MethodsAvailable = {
1971 - removeFilter,
1972 - applyFilters,
1973 - addFilter,
1974 - removeAction,
1975 - doAction,
1976 - addAction
1977 - };
4923 + removeFilter: removeFilter,
4924 + applyFilters: applyFilters,
4925 + addFilter: addFilter,
4926 + removeAction: removeAction,
4927 + doAction: doAction,
4928 + addAction: addAction
4929 + }; // return all of the publicly available methods
1978 4930
1979 - // Return all of the publicly available methods
1980 4931 return MethodsAvailable;
1981 4932 };
4933 +
1982 4934 module.exports = EventManager;
1983 4935
1984 4936 /***/ }),
4937 +/* 402 */,
4938 +/* 403 */,
4939 +/* 404 */,
4940 +/* 405 */,
4941 +/* 406 */,
4942 +/* 407 */,
4943 +/* 408 */,
4944 +/* 409 */,
4945 +/* 410 */,
4946 +/* 411 */,
4947 +/* 412 */,
4948 +/* 413 */,
4949 +/* 414 */,
4950 +/* 415 */,
4951 +/* 416 */,
4952 +/* 417 */,
4953 +/* 418 */,
4954 +/* 419 */,
4955 +/* 420 */,
4956 +/* 421 */,
4957 +/* 422 */,
4958 +/* 423 */,
4959 +/* 424 */,
4960 +/* 425 */,
4961 +/* 426 */,
4962 +/* 427 */,
4963 +/* 428 */,
4964 +/* 429 */,
4965 +/* 430 */,
4966 +/* 431 */,
4967 +/* 432 */,
4968 +/* 433 */,
4969 +/* 434 */,
4970 +/* 435 */,
4971 +/* 436 */,
4972 +/* 437 */,
4973 +/* 438 */,
4974 +/* 439 */,
4975 +/* 440 */,
4976 +/* 441 */,
4977 +/* 442 */,
4978 +/* 443 */,
4979 +/* 444 */,
4980 +/* 445 */,
4981 +/* 446 */,
4982 +/* 447 */,
4983 +/* 448 */,
4984 +/* 449 */,
4985 +/* 450 */,
4986 +/* 451 */,
4987 +/* 452 */,
4988 +/* 453 */,
4989 +/* 454 */,
4990 +/* 455 */,
4991 +/* 456 */,
4992 +/* 457 */,
4993 +/* 458 */,
4994 +/* 459 */,
4995 +/* 460 */,
4996 +/* 461 */,
4997 +/* 462 */,
4998 +/* 463 */,
4999 +/* 464 */,
5000 +/* 465 */,
5001 +/* 466 */,
5002 +/* 467 */,
5003 +/* 468 */,
5004 +/* 469 */,
5005 +/* 470 */,
5006 +/* 471 */,
5007 +/* 472 */,
5008 +/* 473 */,
5009 +/* 474 */,
5010 +/* 475 */,
5011 +/* 476 */,
5012 +/* 477 */,
5013 +/* 478 */,
5014 +/* 479 */,
5015 +/* 480 */,
5016 +/* 481 */,
5017 +/* 482 */,
5018 +/* 483 */,
5019 +/* 484 */,
5020 +/* 485 */,
5021 +/* 486 */,
5022 +/* 487 */,
5023 +/* 488 */,
5024 +/* 489 */,
5025 +/* 490 */,
5026 +/* 491 */,
5027 +/* 492 */,
5028 +/* 493 */,
5029 +/* 494 */,
5030 +/* 495 */,
5031 +/* 496 */,
5032 +/* 497 */,
5033 +/* 498 */,
5034 +/* 499 */,
5035 +/* 500 */,
5036 +/* 501 */,
5037 +/* 502 */,
5038 +/* 503 */,
5039 +/* 504 */,
5040 +/* 505 */,
5041 +/* 506 */,
5042 +/* 507 */,
5043 +/* 508 */,
5044 +/* 509 */,
5045 +/* 510 */,
5046 +/* 511 */,
5047 +/* 512 */,
5048 +/* 513 */,
5049 +/* 514 */,
5050 +/* 515 */,
5051 +/* 516 */,
5052 +/* 517 */,
5053 +/* 518 */,
5054 +/* 519 */,
5055 +/* 520 */,
5056 +/* 521 */,
5057 +/* 522 */,
5058 +/* 523 */,
5059 +/* 524 */,
5060 +/* 525 */,
5061 +/* 526 */,
5062 +/* 527 */,
5063 +/* 528 */,
5064 +/* 529 */,
5065 +/* 530 */,
5066 +/* 531 */,
5067 +/* 532 */,
5068 +/* 533 */,
5069 +/* 534 */,
5070 +/* 535 */,
5071 +/* 536 */,
5072 +/* 537 */,
5073 +/* 538 */,
5074 +/* 539 */,
5075 +/* 540 */,
5076 +/* 541 */,
5077 +/* 542 */,
5078 +/* 543 */,
5079 +/* 544 */,
5080 +/* 545 */,
5081 +/* 546 */,
5082 +/* 547 */,
5083 +/* 548 */,
5084 +/* 549 */,
5085 +/* 550 */,
5086 +/* 551 */,
5087 +/* 552 */,
5088 +/* 553 */,
5089 +/* 554 */,
5090 +/* 555 */,
5091 +/* 556 */,
5092 +/* 557 */,
5093 +/* 558 */,
5094 +/* 559 */,
5095 +/* 560 */,
5096 +/* 561 */,
5097 +/* 562 */,
5098 +/* 563 */,
5099 +/* 564 */,
5100 +/* 565 */,
5101 +/* 566 */,
5102 +/* 567 */,
5103 +/* 568 */,
5104 +/* 569 */,
5105 +/* 570 */,
5106 +/* 571 */,
5107 +/* 572 */,
5108 +/* 573 */,
5109 +/* 574 */,
5110 +/* 575 */,
5111 +/* 576 */,
5112 +/* 577 */,
5113 +/* 578 */,
5114 +/* 579 */,
5115 +/* 580 */,
5116 +/* 581 */,
5117 +/* 582 */,
5118 +/* 583 */,
5119 +/* 584 */,
5120 +/* 585 */,
5121 +/* 586 */,
5122 +/* 587 */,
5123 +/* 588 */,
5124 +/* 589 */,
5125 +/* 590 */,
5126 +/* 591 */,
5127 +/* 592 */,
5128 +/* 593 */,
5129 +/* 594 */,
5130 +/* 595 */,
5131 +/* 596 */,
5132 +/* 597 */,
5133 +/* 598 */,
5134 +/* 599 */,
5135 +/* 600 */,
5136 +/* 601 */,
5137 +/* 602 */,
5138 +/* 603 */,
5139 +/* 604 */,
5140 +/* 605 */,
5141 +/* 606 */,
5142 +/* 607 */,
5143 +/* 608 */,
5144 +/* 609 */,
5145 +/* 610 */,
5146 +/* 611 */,
5147 +/* 612 */,
5148 +/* 613 */,
5149 +/* 614 */,
5150 +/* 615 */,
5151 +/* 616 */,
5152 +/* 617 */,
5153 +/* 618 */,
5154 +/* 619 */,
5155 +/* 620 */,
5156 +/* 621 */,
5157 +/* 622 */,
5158 +/* 623 */,
5159 +/* 624 */,
5160 +/* 625 */,
5161 +/* 626 */,
5162 +/* 627 */,
5163 +/* 628 */,
5164 +/* 629 */,
5165 +/* 630 */,
5166 +/* 631 */,
5167 +/* 632 */,
5168 +/* 633 */,
5169 +/* 634 */
5170 +/***/ (function(module, exports, __webpack_require__) {
1985 5171
1986 -/***/ "../core/common/assets/js/utils/environment.js":
1987 -/*!*****************************************************!*\
1988 - !*** ../core/common/assets/js/utils/environment.js ***!
1989 - \*****************************************************/
1990 -/***/ ((__unused_webpack_module, exports) => {
5172 +"use strict";
1991 5173
1992 5174
5175 +var _interopRequireDefault = __webpack_require__(0);
1993 5176
1994 -Object.defineProperty(exports, "__esModule", ({
5177 +var _Object$defineProperty = __webpack_require__(1);
5178 +
5179 +_Object$defineProperty(exports, "__esModule", {
1995 5180 value: true
1996 -}));
1997 -exports["default"] = void 0;
1998 -const matchUserAgent = UserAgentStr => {
1999 - return userAgent.indexOf(UserAgentStr) >= 0;
2000 - },
2001 - userAgent = navigator.userAgent,
2002 - // Solution influenced by https://stackoverflow.com/questions/9847580/how-to-detect-safari-chrome-ie-firefox-and-opera-browser
5181 +});
2003 5182
2004 - // Opera 8.0+
2005 - isOpera = !!window.opr && !!opr.addons || !!window.opera || matchUserAgent(' OPR/'),
2006 - // Firefox 1.0+
2007 - isFirefox = matchUserAgent('Firefox'),
2008 - // Safari 3.0+ "[object HTMLElementConstructor]"
2009 - isSafari = /^((?!chrome|android).)*safari/i.test(userAgent) || /constructor/i.test(window.HTMLElement) || (p => {
2010 - return '[object SafariRemoteNotification]' === p.toString();
2011 - })(!window.safari || typeof safari !== 'undefined' && safari.pushNotification),
2012 - // Internet Explorer 6-11
2013 - isIE = /Trident|MSIE/.test(userAgent) && (/* @cc_on!@*/ false || !!document.documentMode),
2014 - // Edge 20+
2015 - isEdge = !isIE && !!window.StyleMedia || matchUserAgent('Edg'),
2016 - // Google Chrome (Not accurate)
2017 - isChrome = !!window.chrome && matchUserAgent('Chrome') && !(isEdge || isOpera),
2018 - // Blink engine
2019 - isBlink = matchUserAgent('Chrome') && !!window.CSS,
2020 - // Apple Webkit engine
2021 - isAppleWebkit = matchUserAgent('AppleWebKit') && !isBlink,
2022 - isTouchDevice = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0,
2023 - environment = {
2024 - isTouchDevice,
2025 - appleWebkit: isAppleWebkit,
2026 - blink: isBlink,
2027 - chrome: isChrome,
2028 - edge: isEdge,
2029 - firefox: isFirefox,
2030 - ie: isIE,
2031 - mac: matchUserAgent('Macintosh'),
2032 - opera: isOpera,
2033 - safari: isSafari,
2034 - webkit: matchUserAgent('AppleWebKit')
2035 - };
2036 -var _default = exports["default"] = environment;
5183 +exports.default = void 0;
2037 5184
5185 +var _stringify = _interopRequireDefault(__webpack_require__(207));
5186 +
5187 +var _keys = _interopRequireDefault(__webpack_require__(25));
5188 +
5189 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
5190 +
5191 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
5192 +
5193 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
5194 +
5195 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
5196 +
5197 +var _default = /*#__PURE__*/function (_elementorModules$Mod) {
5198 + (0, _inherits2.default)(_default, _elementorModules$Mod);
5199 +
5200 + var _super = (0, _createSuper2.default)(_default);
5201 +
5202 + function _default() {
5203 + (0, _classCallCheck2.default)(this, _default);
5204 + return _super.apply(this, arguments);
5205 + }
5206 +
5207 + (0, _createClass2.default)(_default, [{
5208 + key: "get",
5209 + value: function get(key, options) {
5210 + options = options || {};
5211 + var storage;
5212 +
5213 + try {
5214 + storage = options.session ? sessionStorage : localStorage;
5215 + } catch (e) {
5216 + return key ? undefined : {};
5217 + }
5218 +
5219 + var elementorStorage = storage.getItem('elementor');
5220 +
5221 + if (elementorStorage) {
5222 + elementorStorage = JSON.parse(elementorStorage);
5223 + } else {
5224 + elementorStorage = {};
5225 + }
5226 +
5227 + if (!elementorStorage.__expiration) {
5228 + elementorStorage.__expiration = {};
5229 + }
5230 +
5231 + var expiration = elementorStorage.__expiration;
5232 + var expirationToCheck = [];
5233 +
5234 + if (key) {
5235 + if (expiration[key]) {
5236 + expirationToCheck = [key];
5237 + }
5238 + } else {
5239 + expirationToCheck = (0, _keys.default)(expiration);
5240 + }
5241 +
5242 + var entryExpired = false;
5243 + expirationToCheck.forEach(function (expirationKey) {
5244 + if (new Date(expiration[expirationKey]) < new Date()) {
5245 + delete elementorStorage[expirationKey];
5246 + delete expiration[expirationKey];
5247 + entryExpired = true;
5248 + }
5249 + });
5250 +
5251 + if (entryExpired) {
5252 + this.save(elementorStorage, options.session);
5253 + }
5254 +
5255 + if (key) {
5256 + return elementorStorage[key];
5257 + }
5258 +
5259 + return elementorStorage;
5260 + }
5261 + }, {
5262 + key: "set",
5263 + value: function set(key, value, options) {
5264 + options = options || {};
5265 + var elementorStorage = this.get(null, options);
5266 + elementorStorage[key] = value;
5267 +
5268 + if (options.lifetimeInSeconds) {
5269 + var date = new Date();
5270 + date.setTime(date.getTime() + options.lifetimeInSeconds * 1000);
5271 + elementorStorage.__expiration[key] = date.getTime();
5272 + }
5273 +
5274 + this.save(elementorStorage, options.session);
5275 + }
5276 + }, {
5277 + key: "save",
5278 + value: function save(object, session) {
5279 + var storage;
5280 +
5281 + try {
5282 + storage = session ? sessionStorage : localStorage;
5283 + } catch (e) {
5284 + return;
5285 + }
5286 +
5287 + storage.setItem('elementor', (0, _stringify.default)(object));
5288 + }
5289 + }]);
5290 + return _default;
5291 +}(elementorModules.Module);
5292 +
5293 +exports.default = _default;
5294 +
2038 5295 /***/ }),
5296 +/* 635 */,
5297 +/* 636 */,
5298 +/* 637 */,
5299 +/* 638 */,
5300 +/* 639 */,
5301 +/* 640 */,
5302 +/* 641 */,
5303 +/* 642 */,
5304 +/* 643 */,
5305 +/* 644 */,
5306 +/* 645 */,
5307 +/* 646 */,
5308 +/* 647 */,
5309 +/* 648 */,
5310 +/* 649 */,
5311 +/* 650 */,
5312 +/* 651 */,
5313 +/* 652 */,
5314 +/* 653 */,
5315 +/* 654 */,
5316 +/* 655 */,
5317 +/* 656 */,
5318 +/* 657 */,
5319 +/* 658 */,
5320 +/* 659 */,
5321 +/* 660 */,
5322 +/* 661 */,
5323 +/* 662 */,
5324 +/* 663 */,
5325 +/* 664 */,
5326 +/* 665 */
5327 +/***/ (function(module, exports, __webpack_require__) {
2039 5328
2040 -/***/ "../core/common/assets/js/utils/storage.js":
2041 -/*!*************************************************!*\
2042 - !*** ../core/common/assets/js/utils/storage.js ***!
2043 - \*************************************************/
2044 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5329 +"use strict";
2045 5330
2046 5331
5332 +var _interopRequireDefault = __webpack_require__(0);
2047 5333
2048 -Object.defineProperty(exports, "__esModule", ({
5334 +var _Object$defineProperty = __webpack_require__(1);
5335 +
5336 +_Object$defineProperty(exports, "__esModule", {
2049 5337 value: true
2050 -}));
2051 -exports["default"] = void 0;
2052 -__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
2053 -__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
2054 -class _default extends elementorModules.Module {
2055 - get(key, options) {
2056 - options = options || {};
2057 - let storage;
2058 - try {
2059 - storage = options.session ? sessionStorage : localStorage;
2060 - } catch (e) {
2061 - return key ? undefined : {};
5338 +});
5339 +
5340 +exports.default = void 0;
5341 +
5342 +__webpack_require__(24);
5343 +
5344 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
5345 +
5346 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
5347 +
5348 +var _get2 = _interopRequireDefault(__webpack_require__(26));
5349 +
5350 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
5351 +
5352 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
5353 +
5354 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
5355 +
5356 +var _default = /*#__PURE__*/function (_elementorModules$Vie) {
5357 + (0, _inherits2.default)(_default, _elementorModules$Vie);
5358 +
5359 + var _super = (0, _createSuper2.default)(_default);
5360 +
5361 + function _default() {
5362 + (0, _classCallCheck2.default)(this, _default);
5363 + return _super.apply(this, arguments);
5364 + }
5365 +
5366 + (0, _createClass2.default)(_default, [{
5367 + key: "getDefaultSettings",
5368 + value: function getDefaultSettings() {
5369 + return {
5370 + selectors: {
5371 + elements: '.elementor-element',
5372 + nestedDocumentElements: '.elementor .elementor-element'
5373 + },
5374 + classes: {
5375 + editMode: 'elementor-edit-mode'
5376 + }
5377 + };
2062 5378 }
2063 - let elementorStorage = storage.getItem('elementor');
2064 - if (elementorStorage) {
2065 - elementorStorage = JSON.parse(elementorStorage);
2066 - } else {
2067 - elementorStorage = {};
5379 + }, {
5380 + key: "getDefaultElements",
5381 + value: function getDefaultElements() {
5382 + var selectors = this.getSettings('selectors');
5383 + return {
5384 + $elements: this.$element.find(selectors.elements).not(this.$element.find(selectors.nestedDocumentElements))
5385 + };
2068 5386 }
2069 - if (!elementorStorage.__expiration) {
2070 - elementorStorage.__expiration = {};
5387 + }, {
5388 + key: "getDocumentSettings",
5389 + value: function getDocumentSettings(setting) {
5390 + var elementSettings;
5391 +
5392 + if (this.isEdit) {
5393 + elementSettings = {};
5394 + var settings = elementor.settings.page.model;
5395 + jQuery.each(settings.getActiveControls(), function (controlKey) {
5396 + elementSettings[controlKey] = settings.attributes[controlKey];
5397 + });
5398 + } else {
5399 + elementSettings = this.$element.data('elementor-settings') || {};
5400 + }
5401 +
5402 + return this.getItems(elementSettings, setting);
2071 5403 }
2072 - const expiration = elementorStorage.__expiration;
2073 - let expirationToCheck = [];
2074 - if (key) {
2075 - if (expiration[key]) {
2076 - expirationToCheck = [key];
5404 + }, {
5405 + key: "runElementsHandlers",
5406 + value: function runElementsHandlers() {
5407 + this.elements.$elements.each(function (index, element) {
5408 + return elementorFrontend.elementsHandler.runReadyTrigger(element);
5409 + });
5410 + }
5411 + }, {
5412 + key: "onInit",
5413 + value: function onInit() {
5414 + var _this = this;
5415 +
5416 + this.$element = this.getSettings('$element');
5417 + (0, _get2.default)((0, _getPrototypeOf2.default)(_default.prototype), "onInit", this).call(this);
5418 + this.isEdit = this.$element.hasClass(this.getSettings('classes.editMode'));
5419 +
5420 + if (this.isEdit) {
5421 + elementor.on('document:loaded', function () {
5422 + elementor.settings.page.model.on('change', _this.onSettingsChange.bind(_this));
5423 + });
5424 + } else {
5425 + this.runElementsHandlers();
2077 5426 }
2078 - } else {
2079 - expirationToCheck = Object.keys(expiration);
2080 5427 }
2081 - let entryExpired = false;
2082 - expirationToCheck.forEach(expirationKey => {
2083 - if (new Date(expiration[expirationKey]) < new Date()) {
2084 - delete elementorStorage[expirationKey];
2085 - delete expiration[expirationKey];
2086 - entryExpired = true;
5428 + }, {
5429 + key: "onSettingsChange",
5430 + value: function onSettingsChange() {}
5431 + }]);
5432 + return _default;
5433 +}(elementorModules.ViewModule);
5434 +
5435 +exports.default = _default;
5436 +
5437 +/***/ }),
5438 +/* 666 */
5439 +/***/ (function(module, exports, __webpack_require__) {
5440 +
5441 +"use strict";
5442 +
5443 +
5444 +var _interopRequireDefault = __webpack_require__(0);
5445 +
5446 +var _Object$defineProperty = __webpack_require__(1);
5447 +
5448 +_Object$defineProperty(exports, "__esModule", {
5449 + value: true
5450 +});
5451 +
5452 +exports.default = void 0;
5453 +
5454 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
5455 +
5456 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
5457 +
5458 +var _get3 = _interopRequireDefault(__webpack_require__(26));
5459 +
5460 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
5461 +
5462 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
5463 +
5464 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
5465 +
5466 +var baseTabs = /*#__PURE__*/function (_elementorModules$fro) {
5467 + (0, _inherits2.default)(baseTabs, _elementorModules$fro);
5468 +
5469 + var _super = (0, _createSuper2.default)(baseTabs);
5470 +
5471 + function baseTabs() {
5472 + (0, _classCallCheck2.default)(this, baseTabs);
5473 + return _super.apply(this, arguments);
5474 + }
5475 +
5476 + (0, _createClass2.default)(baseTabs, [{
5477 + key: "getDefaultSettings",
5478 + value: function getDefaultSettings() {
5479 + return {
5480 + selectors: {
5481 + tabTitle: '.elementor-tab-title',
5482 + tabContent: '.elementor-tab-content'
5483 + },
5484 + classes: {
5485 + active: 'elementor-active'
5486 + },
5487 + showTabFn: 'show',
5488 + hideTabFn: 'hide',
5489 + toggleSelf: true,
5490 + hidePrevious: true,
5491 + autoExpand: true
5492 + };
5493 + }
5494 + }, {
5495 + key: "getDefaultElements",
5496 + value: function getDefaultElements() {
5497 + var selectors = this.getSettings('selectors');
5498 + return {
5499 + $tabTitles: this.findElement(selectors.tabTitle),
5500 + $tabContents: this.findElement(selectors.tabContent)
5501 + };
5502 + }
5503 + }, {
5504 + key: "activateDefaultTab",
5505 + value: function activateDefaultTab() {
5506 + var settings = this.getSettings();
5507 +
5508 + if (!settings.autoExpand || 'editor' === settings.autoExpand && !this.isEdit) {
5509 + return;
2087 5510 }
2088 - });
2089 - if (entryExpired) {
2090 - this.save(elementorStorage, options.session);
5511 +
5512 + var defaultActiveTab = this.getEditSettings('activeItemIndex') || 1,
5513 + originalToggleMethods = {
5514 + showTabFn: settings.showTabFn,
5515 + hideTabFn: settings.hideTabFn
5516 + }; // Toggle tabs without animation to avoid jumping
5517 +
5518 + this.setSettings({
5519 + showTabFn: 'show',
5520 + hideTabFn: 'hide'
5521 + });
5522 + this.changeActiveTab(defaultActiveTab); // Return back original toggle effects
5523 +
5524 + this.setSettings(originalToggleMethods);
2091 5525 }
2092 - if (key) {
2093 - return elementorStorage[key];
5526 + }, {
5527 + key: "deactivateActiveTab",
5528 + value: function deactivateActiveTab(tabIndex) {
5529 + var settings = this.getSettings(),
5530 + activeClass = settings.classes.active,
5531 + activeFilter = tabIndex ? '[data-tab="' + tabIndex + '"]' : '.' + activeClass,
5532 + $activeTitle = this.elements.$tabTitles.filter(activeFilter),
5533 + $activeContent = this.elements.$tabContents.filter(activeFilter);
5534 + $activeTitle.add($activeContent).removeClass(activeClass);
5535 + $activeContent[settings.hideTabFn]();
2094 5536 }
2095 - return elementorStorage;
5537 + }, {
5538 + key: "activateTab",
5539 + value: function activateTab(tabIndex) {
5540 + var settings = this.getSettings(),
5541 + activeClass = settings.classes.active,
5542 + $requestedTitle = this.elements.$tabTitles.filter('[data-tab="' + tabIndex + '"]'),
5543 + $requestedContent = this.elements.$tabContents.filter('[data-tab="' + tabIndex + '"]'),
5544 + animationDuration = 'show' === settings.showTabFn ? 0 : 400;
5545 + $requestedTitle.add($requestedContent).addClass(activeClass);
5546 + $requestedContent[settings.showTabFn](animationDuration, function () {
5547 + return elementorFrontend.elements.$window.trigger('resize');
5548 + });
5549 + }
5550 + }, {
5551 + key: "isActiveTab",
5552 + value: function isActiveTab(tabIndex) {
5553 + return this.elements.$tabTitles.filter('[data-tab="' + tabIndex + '"]').hasClass(this.getSettings('classes.active'));
5554 + }
5555 + }, {
5556 + key: "bindEvents",
5557 + value: function bindEvents() {
5558 + var _this = this;
5559 +
5560 + this.elements.$tabTitles.on({
5561 + keydown: function keydown(event) {
5562 + if ('Enter' === event.key) {
5563 + event.preventDefault();
5564 +
5565 + _this.changeActiveTab(event.currentTarget.getAttribute('data-tab'));
5566 + }
5567 + },
5568 + click: function click(event) {
5569 + event.preventDefault();
5570 +
5571 + _this.changeActiveTab(event.currentTarget.getAttribute('data-tab'));
5572 + }
5573 + });
5574 + }
5575 + }, {
5576 + key: "onInit",
5577 + value: function onInit() {
5578 + var _get2;
5579 +
5580 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
5581 + args[_key] = arguments[_key];
5582 + }
5583 +
5584 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(baseTabs.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
5585 +
5586 + this.activateDefaultTab();
5587 + }
5588 + }, {
5589 + key: "onEditSettingsChange",
5590 + value: function onEditSettingsChange(propertyName) {
5591 + if ('activeItemIndex' === propertyName) {
5592 + this.activateDefaultTab();
5593 + }
5594 + }
5595 + }, {
5596 + key: "changeActiveTab",
5597 + value: function changeActiveTab(tabIndex) {
5598 + var isActiveTab = this.isActiveTab(tabIndex),
5599 + settings = this.getSettings();
5600 +
5601 + if ((settings.toggleSelf || !isActiveTab) && settings.hidePrevious) {
5602 + this.deactivateActiveTab();
5603 + }
5604 +
5605 + if (!settings.hidePrevious && isActiveTab) {
5606 + this.deactivateActiveTab(tabIndex);
5607 + }
5608 +
5609 + if (!isActiveTab) {
5610 + this.activateTab(tabIndex);
5611 + }
5612 + }
5613 + }]);
5614 + return baseTabs;
5615 +}(elementorModules.frontend.handlers.Base);
5616 +
5617 +exports.default = baseTabs;
5618 +
5619 +/***/ }),
5620 +/* 667 */,
5621 +/* 668 */,
5622 +/* 669 */,
5623 +/* 670 */,
5624 +/* 671 */,
5625 +/* 672 */,
5626 +/* 673 */,
5627 +/* 674 */,
5628 +/* 675 */,
5629 +/* 676 */,
5630 +/* 677 */,
5631 +/* 678 */,
5632 +/* 679 */,
5633 +/* 680 */,
5634 +/* 681 */,
5635 +/* 682 */,
5636 +/* 683 */,
5637 +/* 684 */,
5638 +/* 685 */,
5639 +/* 686 */,
5640 +/* 687 */,
5641 +/* 688 */,
5642 +/* 689 */,
5643 +/* 690 */,
5644 +/* 691 */,
5645 +/* 692 */,
5646 +/* 693 */,
5647 +/* 694 */,
5648 +/* 695 */,
5649 +/* 696 */,
5650 +/* 697 */,
5651 +/* 698 */,
5652 +/* 699 */,
5653 +/* 700 */,
5654 +/* 701 */,
5655 +/* 702 */,
5656 +/* 703 */,
5657 +/* 704 */
5658 +/***/ (function(module, exports, __webpack_require__) {
5659 +
5660 +"use strict";
5661 +
5662 +
5663 +var _interopRequireDefault = __webpack_require__(0);
5664 +
5665 +var _Object$defineProperty = __webpack_require__(1);
5666 +
5667 +_Object$defineProperty(exports, "__esModule", {
5668 + value: true
5669 +});
5670 +
5671 +exports.default = void 0;
5672 +
5673 +__webpack_require__(124);
5674 +
5675 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
5676 +
5677 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
5678 +
5679 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
5680 +
5681 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
5682 +
5683 +var BaseLoader = /*#__PURE__*/function (_elementorModules$Vie) {
5684 + (0, _inherits2.default)(BaseLoader, _elementorModules$Vie);
5685 +
5686 + var _super = (0, _createSuper2.default)(BaseLoader);
5687 +
5688 + function BaseLoader() {
5689 + (0, _classCallCheck2.default)(this, BaseLoader);
5690 + return _super.apply(this, arguments);
2096 5691 }
2097 - set(key, value, options) {
2098 - options = options || {};
2099 - const elementorStorage = this.get(null, options);
2100 - elementorStorage[key] = value;
2101 - if (options.lifetimeInSeconds) {
2102 - const date = new Date();
2103 - date.setTime(date.getTime() + options.lifetimeInSeconds * 1000);
2104 - elementorStorage.__expiration[key] = date.getTime();
5692 +
5693 + (0, _createClass2.default)(BaseLoader, [{
5694 + key: "getDefaultSettings",
5695 + value: function getDefaultSettings() {
5696 + return {
5697 + isInserted: false,
5698 + selectors: {
5699 + firstScript: 'script:first'
5700 + }
5701 + };
2105 5702 }
2106 - this.save(elementorStorage, options.session);
5703 + }, {
5704 + key: "getDefaultElements",
5705 + value: function getDefaultElements() {
5706 + return {
5707 + $firstScript: jQuery(this.getSettings('selectors.firstScript'))
5708 + };
5709 + }
5710 + }, {
5711 + key: "insertAPI",
5712 + value: function insertAPI() {
5713 + this.elements.$firstScript.before(jQuery('<script>', {
5714 + src: this.getApiURL()
5715 + }));
5716 + this.setSettings('isInserted', true);
5717 + }
5718 + }, {
5719 + key: "getVideoIDFromURL",
5720 + value: function getVideoIDFromURL(url) {
5721 + var videoIDParts = url.match(this.getURLRegex());
5722 + return videoIDParts && videoIDParts[1];
5723 + }
5724 + }, {
5725 + key: "onApiReady",
5726 + value: function onApiReady(callback) {
5727 + var _this = this;
5728 +
5729 + if (!this.getSettings('isInserted')) {
5730 + this.insertAPI();
5731 + }
5732 +
5733 + if (this.isApiLoaded()) {
5734 + callback(this.getApiObject());
5735 + } else {
5736 + // If not ready check again by timeout..
5737 + setTimeout(function () {
5738 + _this.onApiReady(callback);
5739 + }, 350);
5740 + }
5741 + }
5742 + }]);
5743 + return BaseLoader;
5744 +}(elementorModules.ViewModule);
5745 +
5746 +exports.default = BaseLoader;
5747 +
5748 +/***/ }),
5749 +/* 705 */
5750 +/***/ (function(module, exports, __webpack_require__) {
5751 +
5752 +"use strict";
5753 +
5754 +
5755 +var _interopRequireDefault = __webpack_require__(0);
5756 +
5757 +var _Object$defineProperty = __webpack_require__(1);
5758 +
5759 +_Object$defineProperty(exports, "__esModule", {
5760 + value: true
5761 +});
5762 +
5763 +exports.default = void 0;
5764 +
5765 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
5766 +
5767 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
5768 +
5769 +var _get2 = _interopRequireDefault(__webpack_require__(26));
5770 +
5771 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
5772 +
5773 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
5774 +
5775 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
5776 +
5777 +var BackgroundSlideshow = /*#__PURE__*/function (_elementorModules$fro) {
5778 + (0, _inherits2.default)(BackgroundSlideshow, _elementorModules$fro);
5779 +
5780 + var _super = (0, _createSuper2.default)(BackgroundSlideshow);
5781 +
5782 + function BackgroundSlideshow() {
5783 + (0, _classCallCheck2.default)(this, BackgroundSlideshow);
5784 + return _super.apply(this, arguments);
2107 5785 }
2108 - save(object, session) {
2109 - let storage;
2110 - try {
2111 - storage = session ? sessionStorage : localStorage;
2112 - } catch (e) {
5786 +
5787 + (0, _createClass2.default)(BackgroundSlideshow, [{
5788 + key: "getDefaultSettings",
5789 + value: function getDefaultSettings() {
5790 + return {
5791 + classes: {
5792 + swiperContainer: 'elementor-background-slideshow swiper-container',
5793 + swiperWrapper: 'swiper-wrapper',
5794 + swiperSlide: 'elementor-background-slideshow__slide swiper-slide',
5795 + slideBackground: 'elementor-background-slideshow__slide__image',
5796 + kenBurns: 'elementor-ken-burns',
5797 + kenBurnsActive: 'elementor-ken-burns--active',
5798 + kenBurnsIn: 'elementor-ken-burns--in',
5799 + kenBurnsOut: 'elementor-ken-burns--out'
5800 + }
5801 + };
5802 + }
5803 + }, {
5804 + key: "getSwiperOptions",
5805 + value: function getSwiperOptions() {
5806 + var _this = this;
5807 +
5808 + var elementSettings = this.getElementSettings();
5809 + var swiperOptions = {
5810 + grabCursor: false,
5811 + slidesPerView: 1,
5812 + slidesPerGroup: 1,
5813 + loop: 'yes' === elementSettings.background_slideshow_loop,
5814 + speed: elementSettings.background_slideshow_transition_duration,
5815 + autoplay: {
5816 + delay: elementSettings.background_slideshow_slide_duration,
5817 + stopOnLastSlide: !elementSettings.background_slideshow_loop
5818 + },
5819 + handleElementorBreakpoints: true,
5820 + on: {
5821 + slideChange: function slideChange() {
5822 + if (elementSettings.background_slideshow_ken_burns) {
5823 + _this.handleKenBurns();
5824 + }
5825 + }
5826 + }
5827 + };
5828 +
5829 + if ('yes' === elementSettings.background_slideshow_loop) {
5830 + swiperOptions.loopedSlides = this.getSlidesCount();
5831 + }
5832 +
5833 + switch (elementSettings.background_slideshow_slide_transition) {
5834 + case 'fade':
5835 + swiperOptions.effect = 'fade';
5836 + swiperOptions.fadeEffect = {
5837 + crossFade: true
5838 + };
5839 + break;
5840 +
5841 + case 'slide_down':
5842 + swiperOptions.autoplay.reverseDirection = true;
5843 +
5844 + case 'slide_up':
5845 + swiperOptions.direction = 'vertical';
5846 + break;
5847 + }
5848 +
5849 + return swiperOptions;
5850 + }
5851 + }, {
5852 + key: "buildSwiperElements",
5853 + value: function buildSwiperElements() {
5854 + var _this2 = this;
5855 +
5856 + var classes = this.getSettings('classes'),
5857 + elementSettings = this.getElementSettings(),
5858 + direction = 'slide_left' === elementSettings.background_slideshow_slide_transition ? 'ltr' : 'rtl',
5859 + $container = jQuery('<div>', {
5860 + class: classes.swiperContainer,
5861 + dir: direction
5862 + }),
5863 + $wrapper = jQuery('<div>', {
5864 + class: classes.swiperWrapper
5865 + }),
5866 + kenBurnsActive = elementSettings.background_slideshow_ken_burns;
5867 + var slideInnerClass = classes.slideBackground;
5868 +
5869 + if (kenBurnsActive) {
5870 + slideInnerClass += ' ' + classes.kenBurns;
5871 + var kenBurnsDirection = 'in' === elementSettings.background_slideshow_ken_burns_zoom_direction ? 'kenBurnsIn' : 'kenBurnsOut';
5872 + slideInnerClass += ' ' + classes[kenBurnsDirection];
5873 + }
5874 +
5875 + this.elements.$slides = jQuery();
5876 + elementSettings.background_slideshow_gallery.forEach(function (slide) {
5877 + var $slide = jQuery('<div>', {
5878 + class: classes.swiperSlide
5879 + }),
5880 + $slidebg = jQuery('<div>', {
5881 + class: slideInnerClass,
5882 + style: 'background-image: url("' + slide.url + '");'
5883 + });
5884 + $slide.append($slidebg);
5885 + $wrapper.append($slide);
5886 + _this2.elements.$slides = _this2.elements.$slides.add($slide);
5887 + });
5888 + $container.append($wrapper);
5889 + this.$element.prepend($container);
5890 + this.elements.$backgroundSlideShowContainer = $container;
5891 + }
5892 + }, {
5893 + key: "initSlider",
5894 + value: function initSlider() {
5895 + if (1 >= this.getSlidesCount()) {
5896 + return;
5897 + }
5898 +
5899 + var elementSettings = this.getElementSettings();
5900 + this.swiper = new Swiper(this.elements.$backgroundSlideShowContainer, this.getSwiperOptions()); // Expose the swiper instance in the frontend
5901 +
5902 + this.elements.$backgroundSlideShowContainer.data('swiper', this.swiper);
5903 +
5904 + if (elementSettings.background_slideshow_ken_burns) {
5905 + this.handleKenBurns();
5906 + }
5907 + }
5908 + }, {
5909 + key: "activate",
5910 + value: function activate() {
5911 + this.buildSwiperElements();
5912 + this.initSlider();
5913 + }
5914 + }, {
5915 + key: "deactivate",
5916 + value: function deactivate() {
5917 + if (this.swiper) {
5918 + this.swiper.destroy();
5919 + this.elements.$backgroundSlideShowContainer.remove();
5920 + }
5921 + }
5922 + }, {
5923 + key: "run",
5924 + value: function run() {
5925 + if ('slideshow' === this.getElementSettings('background_background')) {
5926 + this.activate();
5927 + } else {
5928 + this.deactivate();
5929 + }
5930 + }
5931 + }, {
5932 + key: "onInit",
5933 + value: function onInit() {
5934 + (0, _get2.default)((0, _getPrototypeOf2.default)(BackgroundSlideshow.prototype), "onInit", this).call(this);
5935 +
5936 + if (this.getElementSettings('background_slideshow_gallery')) {
5937 + this.run();
5938 + }
5939 + }
5940 + }, {
5941 + key: "onDestroy",
5942 + value: function onDestroy() {
5943 + (0, _get2.default)((0, _getPrototypeOf2.default)(BackgroundSlideshow.prototype), "onDestroy", this).call(this);
5944 + this.deactivate();
5945 + }
5946 + }, {
5947 + key: "onElementChange",
5948 + value: function onElementChange(propertyName) {
5949 + if ('background_background' === propertyName) {
5950 + this.run();
5951 + }
5952 + }
5953 + }]);
5954 + return BackgroundSlideshow;
5955 +}(elementorModules.frontend.handlers.SwiperBase);
5956 +
5957 +exports.default = BackgroundSlideshow;
5958 +
5959 +/***/ }),
5960 +/* 706 */,
5961 +/* 707 */,
5962 +/* 708 */,
5963 +/* 709 */,
5964 +/* 710 */,
5965 +/* 711 */,
5966 +/* 712 */,
5967 +/* 713 */,
5968 +/* 714 */,
5969 +/* 715 */,
5970 +/* 716 */,
5971 +/* 717 */,
5972 +/* 718 */,
5973 +/* 719 */,
5974 +/* 720 */,
5975 +/* 721 */,
5976 +/* 722 */,
5977 +/* 723 */,
5978 +/* 724 */,
5979 +/* 725 */,
5980 +/* 726 */,
5981 +/* 727 */,
5982 +/* 728 */,
5983 +/* 729 */,
5984 +/* 730 */,
5985 +/* 731 */,
5986 +/* 732 */,
5987 +/* 733 */,
5988 +/* 734 */,
5989 +/* 735 */,
5990 +/* 736 */,
5991 +/* 737 */,
5992 +/* 738 */,
5993 +/* 739 */,
5994 +/* 740 */,
5995 +/* 741 */,
5996 +/* 742 */,
5997 +/* 743 */,
5998 +/* 744 */,
5999 +/* 745 */,
6000 +/* 746 */,
6001 +/* 747 */,
6002 +/* 748 */,
6003 +/* 749 */,
6004 +/* 750 */,
6005 +/* 751 */,
6006 +/* 752 */,
6007 +/* 753 */,
6008 +/* 754 */,
6009 +/* 755 */,
6010 +/* 756 */,
6011 +/* 757 */,
6012 +/* 758 */,
6013 +/* 759 */,
6014 +/* 760 */,
6015 +/* 761 */,
6016 +/* 762 */,
6017 +/* 763 */,
6018 +/* 764 */,
6019 +/* 765 */,
6020 +/* 766 */,
6021 +/* 767 */,
6022 +/* 768 */,
6023 +/* 769 */,
6024 +/* 770 */,
6025 +/* 771 */,
6026 +/* 772 */,
6027 +/* 773 */,
6028 +/* 774 */,
6029 +/* 775 */,
6030 +/* 776 */,
6031 +/* 777 */,
6032 +/* 778 */,
6033 +/* 779 */,
6034 +/* 780 */,
6035 +/* 781 */,
6036 +/* 782 */,
6037 +/* 783 */,
6038 +/* 784 */,
6039 +/* 785 */,
6040 +/* 786 */,
6041 +/* 787 */,
6042 +/* 788 */,
6043 +/* 789 */,
6044 +/* 790 */,
6045 +/* 791 */,
6046 +/* 792 */,
6047 +/* 793 */,
6048 +/* 794 */
6049 +/***/ (function(module, exports, __webpack_require__) {
6050 +
6051 +"use strict";
6052 +
6053 +
6054 +var _interopRequireDefault = __webpack_require__(0);
6055 +
6056 +__webpack_require__(24);
6057 +
6058 +__webpack_require__(61);
6059 +
6060 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
6061 +
6062 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
6063 +
6064 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
6065 +
6066 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
6067 +
6068 +var _documentsManager = _interopRequireDefault(__webpack_require__(795));
6069 +
6070 +var _storage = _interopRequireDefault(__webpack_require__(634));
6071 +
6072 +var _environment = _interopRequireDefault(__webpack_require__(272));
6073 +
6074 +var _youtubeLoader = _interopRequireDefault(__webpack_require__(796));
6075 +
6076 +var _vimeoLoader = _interopRequireDefault(__webpack_require__(797));
6077 +
6078 +var _urlActions = _interopRequireDefault(__webpack_require__(798));
6079 +
6080 +var _swiper = _interopRequireDefault(__webpack_require__(799));
6081 +
6082 +/* global elementorFrontendConfig */
6083 +var EventManager = __webpack_require__(401),
6084 + ElementsHandler = __webpack_require__(800),
6085 + AnchorsModule = __webpack_require__(817),
6086 + LightboxModule = __webpack_require__(818);
6087 +
6088 +var Frontend = /*#__PURE__*/function (_elementorModules$Vie) {
6089 + (0, _inherits2.default)(Frontend, _elementorModules$Vie);
6090 +
6091 + var _super = (0, _createSuper2.default)(Frontend);
6092 +
6093 + function Frontend() {
6094 + var _this;
6095 +
6096 + (0, _classCallCheck2.default)(this, Frontend);
6097 +
6098 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
6099 + args[_key] = arguments[_key];
6100 + }
6101 +
6102 + _this = _super.call.apply(_super, [this].concat(args));
6103 + _this.config = elementorFrontendConfig;
6104 + return _this;
6105 + } // TODO: BC since 2.5.0
6106 +
6107 +
6108 + (0, _createClass2.default)(Frontend, [{
6109 + key: "getDefaultSettings",
6110 + value: function getDefaultSettings() {
6111 + return {
6112 + selectors: {
6113 + elementor: '.elementor',
6114 + adminBar: '#wpadminbar'
6115 + },
6116 + classes: {
6117 + ie: 'elementor-msie'
6118 + }
6119 + };
6120 + }
6121 + }, {
6122 + key: "getDefaultElements",
6123 + value: function getDefaultElements() {
6124 + var defaultElements = {
6125 + window: window,
6126 + $window: jQuery(window),
6127 + $document: jQuery(document),
6128 + $head: jQuery(document.head),
6129 + $body: jQuery(document.body),
6130 + $deviceMode: jQuery('<span>', {
6131 + id: 'elementor-device-mode',
6132 + class: 'elementor-screen-only'
6133 + })
6134 + };
6135 + defaultElements.$body.append(defaultElements.$deviceMode);
6136 + return defaultElements;
6137 + }
6138 + }, {
6139 + key: "bindEvents",
6140 + value: function bindEvents() {
6141 + var _this2 = this;
6142 +
6143 + this.elements.$window.on('resize', function () {
6144 + return _this2.setDeviceModeData();
6145 + });
6146 + }
6147 + /**
6148 + * @deprecated 2.4.0 Use just `this.elements` instead
6149 + */
6150 +
6151 + }, {
6152 + key: "getElements",
6153 + value: function getElements(elementName) {
6154 + return this.getItems(this.elements, elementName);
6155 + }
6156 + /**
6157 + * @deprecated 2.4.0 This method was never in use
6158 + */
6159 +
6160 + }, {
6161 + key: "getPageSettings",
6162 + value: function getPageSettings(settingName) {
6163 + var settingsObject = this.isEditMode() ? elementor.settings.page.model.attributes : this.config.settings.page;
6164 + return this.getItems(settingsObject, settingName);
6165 + }
6166 + }, {
6167 + key: "getGeneralSettings",
6168 + value: function getGeneralSettings(settingName) {
6169 + if (this.isEditMode()) {
6170 + parent.elementorCommon.helpers.softDeprecated('getGeneralSettings', '3.0.0', 'getKitSettings and remove the `elementor_` prefix');
6171 + }
6172 +
6173 + return this.getKitSettings("elementor_".concat(settingName));
6174 + }
6175 + }, {
6176 + key: "getKitSettings",
6177 + value: function getKitSettings(settingName) {
6178 + // TODO: use Data API.
6179 + return this.getItems(this.config.kit, settingName);
6180 + }
6181 + }, {
6182 + key: "getCurrentDeviceMode",
6183 + value: function getCurrentDeviceMode() {
6184 + return getComputedStyle(this.elements.$deviceMode[0], ':after').content.replace(/"/g, '');
6185 + }
6186 + }, {
6187 + key: "getDeviceSetting",
6188 + value: function getDeviceSetting(deviceMode, settings, settingKey) {
6189 + var devices = ['desktop', 'tablet', 'mobile'];
6190 + var deviceIndex = devices.indexOf(deviceMode);
6191 +
6192 + while (deviceIndex > 0) {
6193 + var currentDevice = devices[deviceIndex],
6194 + fullSettingKey = settingKey + '_' + currentDevice,
6195 + deviceValue = settings[fullSettingKey];
6196 +
6197 + if (deviceValue) {
6198 + return deviceValue;
6199 + }
6200 +
6201 + deviceIndex--;
6202 + }
6203 +
6204 + return settings[settingKey];
6205 + }
6206 + }, {
6207 + key: "getCurrentDeviceSetting",
6208 + value: function getCurrentDeviceSetting(settings, settingKey) {
6209 + return this.getDeviceSetting(elementorFrontend.getCurrentDeviceMode(), settings, settingKey);
6210 + }
6211 + }, {
6212 + key: "isEditMode",
6213 + value: function isEditMode() {
6214 + return this.config.environmentMode.edit;
6215 + }
6216 + }, {
6217 + key: "isWPPreviewMode",
6218 + value: function isWPPreviewMode() {
6219 + return this.config.environmentMode.wpPreview;
6220 + }
6221 + }, {
6222 + key: "initDialogsManager",
6223 + value: function initDialogsManager() {
6224 + var dialogsManager;
6225 +
6226 + this.getDialogsManager = function () {
6227 + if (!dialogsManager) {
6228 + dialogsManager = new DialogsManager.Instance();
6229 + }
6230 +
6231 + return dialogsManager;
6232 + };
6233 + }
6234 + }, {
6235 + key: "initOnReadyComponents",
6236 + value: function initOnReadyComponents() {
6237 + var _this3 = this;
6238 +
6239 + this.utils = {
6240 + youtube: new _youtubeLoader.default(),
6241 + vimeo: new _vimeoLoader.default(),
6242 + anchors: new AnchorsModule(),
6243 + lightbox: new LightboxModule(),
6244 + urlActions: new _urlActions.default(),
6245 + swiper: _swiper.default
6246 + }; // TODO: BC since 2.4.0
6247 +
6248 + this.modules = {
6249 + StretchElement: elementorModules.frontend.tools.StretchElement,
6250 + Masonry: elementorModules.utils.Masonry
6251 + };
6252 + this.elementsHandler = new ElementsHandler(jQuery);
6253 +
6254 + if (this.isEditMode()) {
6255 + elementor.once('document:loaded', function () {
6256 + return _this3.onDocumentLoaded();
6257 + });
6258 + } else {
6259 + this.onDocumentLoaded();
6260 + }
6261 + }
6262 + }, {
6263 + key: "initOnReadyElements",
6264 + value: function initOnReadyElements() {
6265 + this.elements.$wpAdminBar = this.elements.$document.find(this.getSettings('selectors.adminBar'));
6266 + }
6267 + }, {
6268 + key: "addIeCompatibility",
6269 + value: function addIeCompatibility() {
6270 + var el = document.createElement('div'),
6271 + supportsGrid = 'string' === typeof el.style.grid;
6272 +
6273 + if (!_environment.default.ie && supportsGrid) {
6274 + return;
6275 + }
6276 +
6277 + this.elements.$body.addClass(this.getSettings('classes.ie'));
6278 + var msieCss = '<link rel="stylesheet" id="elementor-frontend-css-msie" href="' + this.config.urls.assets + 'css/frontend-msie.min.css?' + this.config.version + '" type="text/css" />';
6279 + this.elements.$body.append(msieCss);
6280 + }
6281 + }, {
6282 + key: "setDeviceModeData",
6283 + value: function setDeviceModeData() {
6284 + this.elements.$body.attr('data-elementor-device-mode', this.getCurrentDeviceMode());
6285 + }
6286 + }, {
6287 + key: "addListenerOnce",
6288 + value: function addListenerOnce(listenerID, event, callback, to) {
6289 + if (!to) {
6290 + to = this.elements.$window;
6291 + }
6292 +
6293 + if (!this.isEditMode()) {
6294 + to.on(event, callback);
6295 + return;
6296 + }
6297 +
6298 + this.removeListeners(listenerID, event, to);
6299 +
6300 + if (to instanceof jQuery) {
6301 + var eventNS = event + '.' + listenerID;
6302 + to.on(eventNS, callback);
6303 + } else {
6304 + to.on(event, callback, listenerID);
6305 + }
6306 + }
6307 + }, {
6308 + key: "removeListeners",
6309 + value: function removeListeners(listenerID, event, callback, from) {
6310 + if (!from) {
6311 + from = this.elements.$window;
6312 + }
6313 +
6314 + if (from instanceof jQuery) {
6315 + var eventNS = event + '.' + listenerID;
6316 + from.off(eventNS, callback);
6317 + } else {
6318 + from.off(event, callback, listenerID);
6319 + }
6320 + } // Based on underscore function
6321 +
6322 + }, {
6323 + key: "debounce",
6324 + value: function debounce(func, wait) {
6325 + var timeout;
6326 + return function () {
6327 + var context = this,
6328 + args = arguments;
6329 +
6330 + var later = function later() {
6331 + timeout = null;
6332 + func.apply(context, args);
6333 + };
6334 +
6335 + var callNow = !timeout;
6336 + clearTimeout(timeout);
6337 + timeout = setTimeout(later, wait);
6338 +
6339 + if (callNow) {
6340 + func.apply(context, args);
6341 + }
6342 + };
6343 + }
6344 + }, {
6345 + key: "waypoint",
6346 + value: function waypoint($element, callback, options) {
6347 + var defaultOptions = {
6348 + offset: '100%',
6349 + triggerOnce: true
6350 + };
6351 + options = jQuery.extend(defaultOptions, options);
6352 +
6353 + var correctCallback = function correctCallback() {
6354 + var element = this.element || this,
6355 + result = callback.apply(element, arguments); // If is Waypoint new API and is frontend
6356 +
6357 + if (options.triggerOnce && this.destroy) {
6358 + this.destroy();
6359 + }
6360 +
6361 + return result;
6362 + };
6363 +
6364 + return $element.elementorWaypoint(correctCallback, options);
6365 + }
6366 + }, {
6367 + key: "muteMigrationTraces",
6368 + value: function muteMigrationTraces() {
6369 + jQuery.migrateMute = true;
6370 + jQuery.migrateTrace = false;
6371 + }
6372 + }, {
6373 + key: "init",
6374 + value: function init() {
6375 + this.hooks = new EventManager();
6376 + this.storage = new _storage.default();
6377 + this.addIeCompatibility();
6378 + this.setDeviceModeData();
6379 + this.initDialogsManager();
6380 +
6381 + if (this.isEditMode()) {
6382 + this.muteMigrationTraces();
6383 + } // Keep this line before `initOnReadyComponents` call
6384 +
6385 +
6386 + this.elements.$window.trigger('elementor/frontend/init');
6387 + this.initOnReadyElements();
6388 + this.initOnReadyComponents();
6389 + }
6390 + }, {
6391 + key: "onDocumentLoaded",
6392 + value: function onDocumentLoaded() {
6393 + this.documentsManager = new _documentsManager.default();
6394 + this.trigger('components:init');
6395 + }
6396 + }, {
6397 + key: "Module",
6398 + get: function get() {
6399 + if (this.isEditMode()) {
6400 + parent.elementorCommon.helpers.hardDeprecated('elementorFrontend.Module', '2.5.0', 'elementorModules.frontend.handlers.Base');
6401 + }
6402 +
6403 + return elementorModules.frontend.handlers.Base;
6404 + }
6405 + }]);
6406 + return Frontend;
6407 +}(elementorModules.ViewModule);
6408 +
6409 +window.elementorFrontend = new Frontend();
6410 +
6411 +if (!elementorFrontend.isEditMode()) {
6412 + jQuery(function () {
6413 + return elementorFrontend.init();
6414 + });
6415 +}
6416 +
6417 +/***/ }),
6418 +/* 795 */
6419 +/***/ (function(module, exports, __webpack_require__) {
6420 +
6421 +"use strict";
6422 +
6423 +
6424 +var _interopRequireDefault = __webpack_require__(0);
6425 +
6426 +var _Object$defineProperty = __webpack_require__(1);
6427 +
6428 +_Object$defineProperty(exports, "__esModule", {
6429 + value: true
6430 +});
6431 +
6432 +exports.default = void 0;
6433 +
6434 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
6435 +
6436 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
6437 +
6438 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
6439 +
6440 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
6441 +
6442 +var _document = _interopRequireDefault(__webpack_require__(665));
6443 +
6444 +var _default = /*#__PURE__*/function (_elementorModules$Vie) {
6445 + (0, _inherits2.default)(_default, _elementorModules$Vie);
6446 +
6447 + var _super = (0, _createSuper2.default)(_default);
6448 +
6449 + function _default() {
6450 + var _this;
6451 +
6452 + (0, _classCallCheck2.default)(this, _default);
6453 +
6454 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
6455 + args[_key] = arguments[_key];
6456 + }
6457 +
6458 + _this = _super.call.apply(_super, [this].concat(args));
6459 + _this.documents = {};
6460 +
6461 + _this.initDocumentClasses();
6462 +
6463 + _this.attachDocumentsClasses();
6464 +
6465 + return _this;
6466 + }
6467 +
6468 + (0, _createClass2.default)(_default, [{
6469 + key: "getDefaultSettings",
6470 + value: function getDefaultSettings() {
6471 + return {
6472 + selectors: {
6473 + document: '.elementor'
6474 + }
6475 + };
6476 + }
6477 + }, {
6478 + key: "getDefaultElements",
6479 + value: function getDefaultElements() {
6480 + var selectors = this.getSettings('selectors');
6481 + return {
6482 + $documents: jQuery(selectors.document)
6483 + };
6484 + }
6485 + }, {
6486 + key: "initDocumentClasses",
6487 + value: function initDocumentClasses() {
6488 + this.documentClasses = {
6489 + base: _document.default
6490 + };
6491 + elementorFrontend.hooks.doAction('elementor/frontend/documents-manager/init-classes', this);
6492 + }
6493 + }, {
6494 + key: "addDocumentClass",
6495 + value: function addDocumentClass(documentType, documentClass) {
6496 + this.documentClasses[documentType] = documentClass;
6497 + }
6498 + }, {
6499 + key: "attachDocumentsClasses",
6500 + value: function attachDocumentsClasses() {
6501 + var _this2 = this;
6502 +
6503 + this.elements.$documents.each(function (index, document) {
6504 + return _this2.attachDocumentClass(jQuery(document));
6505 + });
6506 + }
6507 + }, {
6508 + key: "attachDocumentClass",
6509 + value: function attachDocumentClass($document) {
6510 + var documentData = $document.data(),
6511 + documentID = documentData.elementorId,
6512 + documentType = documentData.elementorType,
6513 + DocumentClass = this.documentClasses[documentType] || this.documentClasses.base;
6514 + this.documents[documentID] = new DocumentClass({
6515 + $element: $document,
6516 + id: documentID
6517 + });
6518 + }
6519 + }]);
6520 + return _default;
6521 +}(elementorModules.ViewModule);
6522 +
6523 +exports.default = _default;
6524 +
6525 +/***/ }),
6526 +/* 796 */
6527 +/***/ (function(module, exports, __webpack_require__) {
6528 +
6529 +"use strict";
6530 +
6531 +
6532 +var _interopRequireDefault = __webpack_require__(0);
6533 +
6534 +var _Object$defineProperty = __webpack_require__(1);
6535 +
6536 +_Object$defineProperty(exports, "__esModule", {
6537 + value: true
6538 +});
6539 +
6540 +exports.default = void 0;
6541 +
6542 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
6543 +
6544 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
6545 +
6546 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
6547 +
6548 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
6549 +
6550 +var _baseLoader = _interopRequireDefault(__webpack_require__(704));
6551 +
6552 +var YoutubeLoader = /*#__PURE__*/function (_BaseLoader) {
6553 + (0, _inherits2.default)(YoutubeLoader, _BaseLoader);
6554 +
6555 + var _super = (0, _createSuper2.default)(YoutubeLoader);
6556 +
6557 + function YoutubeLoader() {
6558 + (0, _classCallCheck2.default)(this, YoutubeLoader);
6559 + return _super.apply(this, arguments);
6560 + }
6561 +
6562 + (0, _createClass2.default)(YoutubeLoader, [{
6563 + key: "getApiURL",
6564 + value: function getApiURL() {
6565 + return 'https://www.youtube.com/iframe_api';
6566 + }
6567 + }, {
6568 + key: "getURLRegex",
6569 + value: function getURLRegex() {
6570 + return /^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com\/(?:(?:watch)?\?(?:.*&)?vi?=|(?:embed|v|vi|user)\/))([^?&"'>]+)/;
6571 + }
6572 + }, {
6573 + key: "isApiLoaded",
6574 + value: function isApiLoaded() {
6575 + return window.YT && YT.loaded;
6576 + }
6577 + }, {
6578 + key: "getApiObject",
6579 + value: function getApiObject() {
6580 + return YT;
6581 + }
6582 + }]);
6583 + return YoutubeLoader;
6584 +}(_baseLoader.default);
6585 +
6586 +exports.default = YoutubeLoader;
6587 +
6588 +/***/ }),
6589 +/* 797 */
6590 +/***/ (function(module, exports, __webpack_require__) {
6591 +
6592 +"use strict";
6593 +
6594 +
6595 +var _interopRequireDefault = __webpack_require__(0);
6596 +
6597 +var _Object$defineProperty = __webpack_require__(1);
6598 +
6599 +_Object$defineProperty(exports, "__esModule", {
6600 + value: true
6601 +});
6602 +
6603 +exports.default = void 0;
6604 +
6605 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
6606 +
6607 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
6608 +
6609 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
6610 +
6611 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
6612 +
6613 +var _baseLoader = _interopRequireDefault(__webpack_require__(704));
6614 +
6615 +var VimeoLoader = /*#__PURE__*/function (_BaseLoader) {
6616 + (0, _inherits2.default)(VimeoLoader, _BaseLoader);
6617 +
6618 + var _super = (0, _createSuper2.default)(VimeoLoader);
6619 +
6620 + function VimeoLoader() {
6621 + (0, _classCallCheck2.default)(this, VimeoLoader);
6622 + return _super.apply(this, arguments);
6623 + }
6624 +
6625 + (0, _createClass2.default)(VimeoLoader, [{
6626 + key: "getApiURL",
6627 + value: function getApiURL() {
6628 + return 'https://player.vimeo.com/api/player.js';
6629 + }
6630 + }, {
6631 + key: "getURLRegex",
6632 + value: function getURLRegex() {
6633 + return /^(?:https?:\/\/)?(?:www|player\.)?(?:vimeo\.com\/)?(?:video\/|external\/)?(\d+)([^.?&#"'>]?)/;
6634 + }
6635 + }, {
6636 + key: "isApiLoaded",
6637 + value: function isApiLoaded() {
6638 + return window.Vimeo;
6639 + }
6640 + }, {
6641 + key: "getApiObject",
6642 + value: function getApiObject() {
6643 + return Vimeo;
6644 + }
6645 + }]);
6646 + return VimeoLoader;
6647 +}(_baseLoader.default);
6648 +
6649 +exports.default = VimeoLoader;
6650 +
6651 +/***/ }),
6652 +/* 798 */
6653 +/***/ (function(module, exports, __webpack_require__) {
6654 +
6655 +"use strict";
6656 +
6657 +
6658 +var _interopRequireDefault = __webpack_require__(0);
6659 +
6660 +var _Object$defineProperty = __webpack_require__(1);
6661 +
6662 +_Object$defineProperty(exports, "__esModule", {
6663 + value: true
6664 +});
6665 +
6666 +exports.default = void 0;
6667 +
6668 +var _stringify = _interopRequireDefault(__webpack_require__(207));
6669 +
6670 +__webpack_require__(124);
6671 +
6672 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
6673 +
6674 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
6675 +
6676 +var _get2 = _interopRequireDefault(__webpack_require__(26));
6677 +
6678 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
6679 +
6680 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
6681 +
6682 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
6683 +
6684 +var _default = /*#__PURE__*/function (_elementorModules$Vie) {
6685 + (0, _inherits2.default)(_default, _elementorModules$Vie);
6686 +
6687 + var _super = (0, _createSuper2.default)(_default);
6688 +
6689 + function _default() {
6690 + (0, _classCallCheck2.default)(this, _default);
6691 + return _super.apply(this, arguments);
6692 + }
6693 +
6694 + (0, _createClass2.default)(_default, [{
6695 + key: "getDefaultSettings",
6696 + value: function getDefaultSettings() {
6697 + return {
6698 + selectors: {
6699 + links: 'a[href^="%23elementor-action"], a[href^="#elementor-action"]'
6700 + }
6701 + };
6702 + }
6703 + }, {
6704 + key: "bindEvents",
6705 + value: function bindEvents() {
6706 + elementorFrontend.elements.$document.on('click', this.getSettings('selectors.links'), this.runLinkAction.bind(this));
6707 + }
6708 + }, {
6709 + key: "initActions",
6710 + value: function initActions() {
6711 + this.actions = {
6712 + lightbox: function lightbox(settings) {
6713 + if (settings.id) {
6714 + elementorFrontend.utils.lightbox.openSlideshow(settings.id, settings.url);
6715 + } else {
6716 + elementorFrontend.utils.lightbox.showModal(settings);
6717 + }
6718 + }
6719 + };
6720 + }
6721 + }, {
6722 + key: "addAction",
6723 + value: function addAction(name, callback) {
6724 + this.actions[name] = callback;
6725 + }
6726 + }, {
6727 + key: "runAction",
6728 + value: function runAction(url) {
6729 + url = decodeURIComponent(url);
6730 + var actionMatch = url.match(/action=(.+?)&/),
6731 + settingsMatch = url.match(/settings=(.+)/);
6732 +
6733 + if (!actionMatch) {
6734 + return;
6735 + }
6736 +
6737 + var action = this.actions[actionMatch[1]];
6738 +
6739 + if (!action) {
6740 + return;
6741 + }
6742 +
6743 + var settings = {};
6744 +
6745 + if (settingsMatch) {
6746 + settings = JSON.parse(atob(settingsMatch[1]));
6747 + }
6748 +
6749 + for (var _len = arguments.length, restArgs = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
6750 + restArgs[_key - 1] = arguments[_key];
6751 + }
6752 +
6753 + action.apply(void 0, [settings].concat(restArgs));
6754 + }
6755 + }, {
6756 + key: "runLinkAction",
6757 + value: function runLinkAction(event) {
6758 + event.preventDefault();
6759 + this.runAction(jQuery(event.currentTarget).attr('href'), event);
6760 + }
6761 + }, {
6762 + key: "runHashAction",
6763 + value: function runHashAction() {
6764 + if (location.hash) {
6765 + this.runAction(location.hash);
6766 + }
6767 + }
6768 + }, {
6769 + key: "createActionHash",
6770 + value: function createActionHash(action, settings) {
6771 + // We need to encode the hash tag (#) here, in order to support share links for a variety of providers
6772 + return encodeURIComponent("#elementor-action:action=".concat(action, "&settings=").concat(btoa((0, _stringify.default)(settings))));
6773 + }
6774 + }, {
6775 + key: "onInit",
6776 + value: function onInit() {
6777 + (0, _get2.default)((0, _getPrototypeOf2.default)(_default.prototype), "onInit", this).call(this);
6778 + this.initActions();
6779 + elementorFrontend.on('components:init', this.runHashAction.bind(this));
6780 + }
6781 + }]);
6782 + return _default;
6783 +}(elementorModules.ViewModule);
6784 +
6785 +exports.default = _default;
6786 +
6787 +/***/ }),
6788 +/* 799 */
6789 +/***/ (function(module, exports, __webpack_require__) {
6790 +
6791 +"use strict";
6792 +
6793 +
6794 +var _interopRequireDefault = __webpack_require__(0);
6795 +
6796 +var _Object$defineProperty = __webpack_require__(1);
6797 +
6798 +_Object$defineProperty(exports, "__esModule", {
6799 + value: true
6800 +});
6801 +
6802 +exports.default = void 0;
6803 +
6804 +__webpack_require__(309);
6805 +
6806 +var _parseInt2 = _interopRequireDefault(__webpack_require__(214));
6807 +
6808 +var _keys = _interopRequireDefault(__webpack_require__(25));
6809 +
6810 +var _values = _interopRequireDefault(__webpack_require__(54));
6811 +
6812 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
6813 +
6814 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
6815 +
6816 +var originalSwiper = window.Swiper;
6817 +
6818 +var Swiper = /*#__PURE__*/function () {
6819 + function Swiper(container, config) {
6820 + (0, _classCallCheck2.default)(this, Swiper);
6821 + this.config = config;
6822 +
6823 + if (this.config.breakpoints) {
6824 + // The config is passed as a param to allow adjustConfig to be called outside of this wrapper
6825 + this.config = this.adjustConfig(config);
6826 + }
6827 +
6828 + originalSwiper.prototype.adjustConfig = this.adjustConfig;
6829 + return new originalSwiper(container, this.config);
6830 + } // Backwards compatibility for Elementor Pro <2.9.0 (old Swiper version - <5.0.0)
6831 + // In Swiper 5.0.0 and up, breakpoints changed from acting as max-width to acting as min-width
6832 +
6833 +
6834 + (0, _createClass2.default)(Swiper, [{
6835 + key: "adjustConfig",
6836 + value: function adjustConfig(config) {
6837 + // Only reverse the breakpoints if the handle param has been defined
6838 + if (!config.handleElementorBreakpoints) {
6839 + return config;
6840 + }
6841 +
6842 + var elementorBreakpoints = elementorFrontend.config.breakpoints,
6843 + elementorBreakpointValues = (0, _values.default)(elementorBreakpoints);
6844 + (0, _keys.default)(config.breakpoints).forEach(function (configBPKey) {
6845 + var configBPKeyInt = (0, _parseInt2.default)(configBPKey);
6846 + var breakpointToUpdate; // The `configBPKeyInt + 1` is a BC Fix for Elementor Pro Carousels from 2.8.0-2.8.3 used with Elementor >= 2.9.0
6847 +
6848 + if (configBPKeyInt === elementorBreakpoints.md || configBPKeyInt + 1 === elementorBreakpoints.md) {
6849 + // This handles the mobile breakpoint. Elementor's default sm breakpoint is never actually used,
6850 + // so the mobile breakpoint (md) needs to be handled separately and set to the 0 breakpoint (xs)
6851 + breakpointToUpdate = elementorBreakpoints.xs;
6852 + } else {
6853 + // Find the index of the current config breakpoint in the Elementor Breakpoints array
6854 + var currentBPIndexInElementorBPs = elementorBreakpointValues.findIndex(function (elementorBP) {
6855 + // BC Fix for Elementor Pro Carousels from 2.8.0-2.8.3 used with Elementor >= 2.9.0
6856 + return configBPKeyInt === elementorBP || configBPKeyInt + 1 === elementorBP;
6857 + }); // For all other Swiper config breakpoints, move them one breakpoint down on the breakpoint list,
6858 + // according to the array of Elementor's global breakpoints
6859 +
6860 + breakpointToUpdate = elementorBreakpointValues[currentBPIndexInElementorBPs - 1];
6861 + }
6862 +
6863 + config.breakpoints[breakpointToUpdate] = config.breakpoints[configBPKey]; // Then reset the settings in the original breakpoint key to the default values
6864 +
6865 + config.breakpoints[configBPKey] = {
6866 + slidesPerView: config.slidesPerView,
6867 + slidesPerGroup: config.slidesPerGroup ? config.slidesPerGroup : 1
6868 + };
6869 + });
6870 + return config;
6871 + }
6872 + }]);
6873 + return Swiper;
6874 +}();
6875 +
6876 +exports.default = Swiper;
6877 +window.Swiper = Swiper;
6878 +
6879 +/***/ }),
6880 +/* 800 */
6881 +/***/ (function(module, exports, __webpack_require__) {
6882 +
6883 +"use strict";
6884 +
6885 +
6886 +var _interopRequireDefault = __webpack_require__(0);
6887 +
6888 +var _accordion = _interopRequireDefault(__webpack_require__(801));
6889 +
6890 +var _alert = _interopRequireDefault(__webpack_require__(802));
6891 +
6892 +var _counter = _interopRequireDefault(__webpack_require__(803));
6893 +
6894 +var _progress = _interopRequireDefault(__webpack_require__(804));
6895 +
6896 +var _tabs = _interopRequireDefault(__webpack_require__(805));
6897 +
6898 +var _toggle = _interopRequireDefault(__webpack_require__(806));
6899 +
6900 +var _video = _interopRequireDefault(__webpack_require__(807));
6901 +
6902 +var _imageCarousel = _interopRequireDefault(__webpack_require__(808));
6903 +
6904 +var _textEditor = _interopRequireDefault(__webpack_require__(809));
6905 +
6906 +var _section = _interopRequireDefault(__webpack_require__(810));
6907 +
6908 +var _column = _interopRequireDefault(__webpack_require__(815));
6909 +
6910 +var _global = _interopRequireDefault(__webpack_require__(816));
6911 +
6912 +module.exports = function ($) {
6913 + var self = this; // element-type.skin-type
6914 +
6915 + var handlers = {
6916 + // Elements
6917 + section: _section.default,
6918 + column: _column.default,
6919 + // Widgets
6920 + 'accordion.default': _accordion.default,
6921 + 'alert.default': _alert.default,
6922 + 'counter.default': _counter.default,
6923 + 'progress.default': _progress.default,
6924 + 'tabs.default': _tabs.default,
6925 + 'toggle.default': _toggle.default,
6926 + 'video.default': _video.default,
6927 + 'image-carousel.default': _imageCarousel.default,
6928 + 'text-editor.default': _textEditor.default
6929 + };
6930 + var handlersInstances = {};
6931 +
6932 + var addGlobalHandlers = function addGlobalHandlers() {
6933 + elementorFrontend.hooks.addAction('frontend/element_ready/global', _global.default);
6934 + };
6935 +
6936 + var addElementsHandlers = function addElementsHandlers() {
6937 + $.each(handlers, function (elementName, funcCallback) {
6938 + elementorFrontend.hooks.addAction('frontend/element_ready/' + elementName, funcCallback);
6939 + });
6940 + };
6941 +
6942 + var init = function init() {
6943 + self.initHandlers();
6944 + };
6945 +
6946 + this.initHandlers = function () {
6947 + addGlobalHandlers();
6948 + addElementsHandlers();
6949 + };
6950 +
6951 + this.addHandler = function (HandlerClass, options) {
6952 + var elementID = options.$element.data('model-cid');
6953 + var handlerID; // If element is in edit mode
6954 +
6955 + if (elementID) {
6956 + handlerID = HandlerClass.prototype.getConstructorID();
6957 +
6958 + if (!handlersInstances[elementID]) {
6959 + handlersInstances[elementID] = {};
6960 + }
6961 +
6962 + var oldHandler = handlersInstances[elementID][handlerID];
6963 +
6964 + if (oldHandler) {
6965 + oldHandler.onDestroy();
6966 + }
6967 + }
6968 +
6969 + var newHandler = new HandlerClass(options);
6970 +
6971 + if (elementID) {
6972 + handlersInstances[elementID][handlerID] = newHandler;
6973 + }
6974 + };
6975 +
6976 + this.getHandlers = function (handlerName) {
6977 + if (handlerName) {
6978 + return handlers[handlerName];
6979 + }
6980 +
6981 + return handlers;
6982 + };
6983 +
6984 + this.runReadyTrigger = function (scope) {
6985 + if (elementorFrontend.config.is_static) {
2113 6986 return;
6987 + } // Initializing the `$scope` as frontend jQuery instance
6988 +
6989 +
6990 + var $scope = jQuery(scope),
6991 + elementType = $scope.attr('data-element_type');
6992 +
6993 + if (!elementType) {
6994 + return;
2114 6995 }
2115 - storage.setItem('elementor', JSON.stringify(object));
6996 +
6997 + elementorFrontend.hooks.doAction('frontend/element_ready/global', $scope, $);
6998 + elementorFrontend.hooks.doAction('frontend/element_ready/' + elementType, $scope, $);
6999 +
7000 + if ('widget' === elementType) {
7001 + elementorFrontend.hooks.doAction('frontend/element_ready/' + $scope.attr('data-widget_type'), $scope, $);
7002 + }
7003 + };
7004 +
7005 + init();
7006 +};
7007 +
7008 +/***/ }),
7009 +/* 801 */
7010 +/***/ (function(module, exports, __webpack_require__) {
7011 +
7012 +"use strict";
7013 +
7014 +
7015 +var _interopRequireDefault = __webpack_require__(0);
7016 +
7017 +var _Object$defineProperty = __webpack_require__(1);
7018 +
7019 +_Object$defineProperty(exports, "__esModule", {
7020 + value: true
7021 +});
7022 +
7023 +exports.default = void 0;
7024 +
7025 +var _baseTabs = _interopRequireDefault(__webpack_require__(666));
7026 +
7027 +var _default = function _default($scope) {
7028 + elementorFrontend.elementsHandler.addHandler(_baseTabs.default, {
7029 + $element: $scope,
7030 + showTabFn: 'slideDown',
7031 + hideTabFn: 'slideUp'
7032 + });
7033 +};
7034 +
7035 +exports.default = _default;
7036 +
7037 +/***/ }),
7038 +/* 802 */
7039 +/***/ (function(module, exports, __webpack_require__) {
7040 +
7041 +"use strict";
7042 +
7043 +
7044 +var _interopRequireDefault = __webpack_require__(0);
7045 +
7046 +var _Object$defineProperty = __webpack_require__(1);
7047 +
7048 +_Object$defineProperty(exports, "__esModule", {
7049 + value: true
7050 +});
7051 +
7052 +exports.default = void 0;
7053 +
7054 +__webpack_require__(24);
7055 +
7056 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7057 +
7058 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7059 +
7060 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7061 +
7062 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7063 +
7064 +var Alert = /*#__PURE__*/function (_elementorModules$fro) {
7065 + (0, _inherits2.default)(Alert, _elementorModules$fro);
7066 +
7067 + var _super = (0, _createSuper2.default)(Alert);
7068 +
7069 + function Alert() {
7070 + (0, _classCallCheck2.default)(this, Alert);
7071 + return _super.apply(this, arguments);
2116 7072 }
2117 -}
2118 -exports["default"] = _default;
2119 7073
7074 + (0, _createClass2.default)(Alert, [{
7075 + key: "getDefaultSettings",
7076 + value: function getDefaultSettings() {
7077 + return {
7078 + selectors: {
7079 + dismissButton: '.elementor-alert-dismiss'
7080 + }
7081 + };
7082 + }
7083 + }, {
7084 + key: "getDefaultElements",
7085 + value: function getDefaultElements() {
7086 + var selectors = this.getSettings('selectors');
7087 + return {
7088 + $dismissButton: this.$element.find(selectors.dismissButton)
7089 + };
7090 + }
7091 + }, {
7092 + key: "bindEvents",
7093 + value: function bindEvents() {
7094 + this.elements.$dismissButton.on('click', this.onDismissButtonClick.bind(this));
7095 + }
7096 + }, {
7097 + key: "onDismissButtonClick",
7098 + value: function onDismissButtonClick() {
7099 + this.$element.fadeOut();
7100 + }
7101 + }]);
7102 + return Alert;
7103 +}(elementorModules.frontend.handlers.Base);
7104 +
7105 +var _default = function _default($scope) {
7106 + elementorFrontend.elementsHandler.addHandler(Alert, {
7107 + $element: $scope
7108 + });
7109 +};
7110 +
7111 +exports.default = _default;
7112 +
2120 7113 /***/ }),
7114 +/* 803 */
7115 +/***/ (function(module, exports, __webpack_require__) {
2121 7116
2122 -/***/ "../modules/shapes/assets/js/frontend/frontend.js":
2123 -/*!********************************************************!*\
2124 - !*** ../modules/shapes/assets/js/frontend/frontend.js ***!
2125 - \********************************************************/
2126 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7117 +"use strict";
2127 7118
2128 7119
7120 +var _interopRequireDefault = __webpack_require__(0);
2129 7121
2130 -Object.defineProperty(exports, "__esModule", ({
7122 +var _Object$defineProperty = __webpack_require__(1);
7123 +
7124 +_Object$defineProperty(exports, "__esModule", {
2131 7125 value: true
2132 -}));
2133 -exports["default"] = void 0;
2134 -class _default extends elementorModules.Module {
2135 - constructor() {
2136 - super();
2137 - elementorFrontend.elementsHandler.attachHandler('text-path', () => Promise.all(/*! import() | text-path */[__webpack_require__.e("vendors-node_modules_dompurify_dist_purify_cjs_js"), __webpack_require__.e("text-path")]).then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/text-path */ "../modules/shapes/assets/js/frontend/handlers/text-path.js")));
7126 +});
7127 +
7128 +exports.default = void 0;
7129 +
7130 +__webpack_require__(191);
7131 +
7132 +__webpack_require__(80);
7133 +
7134 +__webpack_require__(124);
7135 +
7136 +__webpack_require__(24);
7137 +
7138 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7139 +
7140 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7141 +
7142 +var _get2 = _interopRequireDefault(__webpack_require__(26));
7143 +
7144 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
7145 +
7146 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7147 +
7148 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7149 +
7150 +var Counter = /*#__PURE__*/function (_elementorModules$fro) {
7151 + (0, _inherits2.default)(Counter, _elementorModules$fro);
7152 +
7153 + var _super = (0, _createSuper2.default)(Counter);
7154 +
7155 + function Counter() {
7156 + (0, _classCallCheck2.default)(this, Counter);
7157 + return _super.apply(this, arguments);
2138 7158 }
2139 -}
2140 -exports["default"] = _default;
2141 7159
7160 + (0, _createClass2.default)(Counter, [{
7161 + key: "getDefaultSettings",
7162 + value: function getDefaultSettings() {
7163 + return {
7164 + selectors: {
7165 + counterNumber: '.elementor-counter-number'
7166 + }
7167 + };
7168 + }
7169 + }, {
7170 + key: "getDefaultElements",
7171 + value: function getDefaultElements() {
7172 + var selectors = this.getSettings('selectors');
7173 + return {
7174 + $counterNumber: this.$element.find(selectors.counterNumber)
7175 + };
7176 + }
7177 + }, {
7178 + key: "onInit",
7179 + value: function onInit() {
7180 + var _this = this;
7181 +
7182 + (0, _get2.default)((0, _getPrototypeOf2.default)(Counter.prototype), "onInit", this).call(this);
7183 + elementorFrontend.waypoint(this.elements.$counterNumber, function () {
7184 + var data = _this.elements.$counterNumber.data(),
7185 + decimalDigits = data.toValue.toString().match(/\.(.*)/);
7186 +
7187 + if (decimalDigits) {
7188 + data.rounding = decimalDigits[1].length;
7189 + }
7190 +
7191 + _this.elements.$counterNumber.numerator(data);
7192 + });
7193 + }
7194 + }]);
7195 + return Counter;
7196 +}(elementorModules.frontend.handlers.Base);
7197 +
7198 +var _default = function _default($scope) {
7199 + elementorFrontend.elementsHandler.addHandler(Counter, {
7200 + $element: $scope
7201 + });
7202 +};
7203 +
7204 +exports.default = _default;
7205 +
2142 7206 /***/ }),
7207 +/* 804 */
7208 +/***/ (function(module, exports, __webpack_require__) {
2143 7209
2144 -/***/ "../node_modules/core-js/internals/a-possible-prototype.js":
2145 -/*!*****************************************************************!*\
2146 - !*** ../node_modules/core-js/internals/a-possible-prototype.js ***!
2147 - \*****************************************************************/
2148 -/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7210 +"use strict";
2149 7211
2150 7212
2151 -var isPossiblePrototype = __webpack_require__(/*! ../internals/is-possible-prototype */ "../node_modules/core-js/internals/is-possible-prototype.js");
7213 +var _interopRequireDefault = __webpack_require__(0);
2152 7214
2153 -var $String = String;
2154 -var $TypeError = TypeError;
7215 +var _Object$defineProperty = __webpack_require__(1);
2155 7216
2156 -module.exports = function (argument) {
2157 - if (isPossiblePrototype(argument)) return argument;
2158 - throw new $TypeError("Can't set " + $String(argument) + ' as a prototype');
7217 +_Object$defineProperty(exports, "__esModule", {
7218 + value: true
7219 +});
7220 +
7221 +exports.default = void 0;
7222 +
7223 +__webpack_require__(24);
7224 +
7225 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7226 +
7227 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7228 +
7229 +var _get2 = _interopRequireDefault(__webpack_require__(26));
7230 +
7231 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
7232 +
7233 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7234 +
7235 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7236 +
7237 +var Progress = /*#__PURE__*/function (_elementorModules$fro) {
7238 + (0, _inherits2.default)(Progress, _elementorModules$fro);
7239 +
7240 + var _super = (0, _createSuper2.default)(Progress);
7241 +
7242 + function Progress() {
7243 + (0, _classCallCheck2.default)(this, Progress);
7244 + return _super.apply(this, arguments);
7245 + }
7246 +
7247 + (0, _createClass2.default)(Progress, [{
7248 + key: "getDefaultSettings",
7249 + value: function getDefaultSettings() {
7250 + return {
7251 + selectors: {
7252 + progressNumber: '.elementor-progress-bar'
7253 + }
7254 + };
7255 + }
7256 + }, {
7257 + key: "getDefaultElements",
7258 + value: function getDefaultElements() {
7259 + var selectors = this.getSettings('selectors');
7260 + return {
7261 + $progressNumber: this.$element.find(selectors.progressNumber)
7262 + };
7263 + }
7264 + }, {
7265 + key: "onInit",
7266 + value: function onInit() {
7267 + var _this = this;
7268 +
7269 + (0, _get2.default)((0, _getPrototypeOf2.default)(Progress.prototype), "onInit", this).call(this);
7270 + elementorFrontend.waypoint(this.elements.$progressNumber, function () {
7271 + var $progressbar = _this.elements.$progressNumber;
7272 + $progressbar.css('width', $progressbar.data('max') + '%');
7273 + });
7274 + }
7275 + }]);
7276 + return Progress;
7277 +}(elementorModules.frontend.handlers.Base);
7278 +
7279 +var _default = function _default($scope) {
7280 + elementorFrontend.elementsHandler.addHandler(Progress, {
7281 + $element: $scope
7282 + });
2159 7283 };
2160 7284
7285 +exports.default = _default;
2161 7286
2162 7287 /***/ }),
7288 +/* 805 */
7289 +/***/ (function(module, exports, __webpack_require__) {
2163 7290
2164 -/***/ "../node_modules/core-js/internals/dom-exception-constants.js":
2165 -/*!********************************************************************!*\
2166 - !*** ../node_modules/core-js/internals/dom-exception-constants.js ***!
2167 - \********************************************************************/
2168 -/***/ ((module) => {
7291 +"use strict";
2169 7292
2170 7293
2171 -module.exports = {
2172 - IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 },
2173 - DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 },
2174 - HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 },
2175 - WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 },
2176 - InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 },
2177 - NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 },
2178 - NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 },
2179 - NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 },
2180 - NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 },
2181 - InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 },
2182 - InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 },
2183 - SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 },
2184 - InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 },
2185 - NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 },
2186 - InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 },
2187 - ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 },
2188 - TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 },
2189 - SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 },
2190 - NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 },
2191 - AbortError: { s: 'ABORT_ERR', c: 20, m: 1 },
2192 - URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 },
2193 - QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 },
2194 - TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 },
2195 - InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 },
2196 - DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 }
7294 +var _interopRequireDefault = __webpack_require__(0);
7295 +
7296 +var _Object$defineProperty = __webpack_require__(1);
7297 +
7298 +_Object$defineProperty(exports, "__esModule", {
7299 + value: true
7300 +});
7301 +
7302 +exports.default = void 0;
7303 +
7304 +var _baseTabs = _interopRequireDefault(__webpack_require__(666));
7305 +
7306 +var _default = function _default($scope) {
7307 + elementorFrontend.elementsHandler.addHandler(_baseTabs.default, {
7308 + $element: $scope,
7309 + toggleSelf: false
7310 + });
2197 7311 };
2198 7312
7313 +exports.default = _default;
2199 7314
2200 7315 /***/ }),
7316 +/* 806 */
7317 +/***/ (function(module, exports, __webpack_require__) {
2201 7318
2202 -/***/ "../node_modules/core-js/internals/error-stack-clear.js":
2203 -/*!**************************************************************!*\
2204 - !*** ../node_modules/core-js/internals/error-stack-clear.js ***!
2205 - \**************************************************************/
2206 -/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7319 +"use strict";
2207 7320
2208 7321
2209 -var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
7322 +var _interopRequireDefault = __webpack_require__(0);
2210 7323
2211 -var $Error = Error;
2212 -var replace = uncurryThis(''.replace);
7324 +var _Object$defineProperty = __webpack_require__(1);
2213 7325
2214 -var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
2215 -// eslint-disable-next-line redos/no-vulnerable, sonarjs/slow-regex -- safe
2216 -var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
2217 -var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
7326 +_Object$defineProperty(exports, "__esModule", {
7327 + value: true
7328 +});
2218 7329
2219 -module.exports = function (stack, dropEntries) {
2220 - if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
2221 - while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
2222 - } return stack;
7330 +exports.default = void 0;
7331 +
7332 +var _baseTabs = _interopRequireDefault(__webpack_require__(666));
7333 +
7334 +var _default = function _default($scope) {
7335 + elementorFrontend.elementsHandler.addHandler(_baseTabs.default, {
7336 + $element: $scope,
7337 + showTabFn: 'slideDown',
7338 + hideTabFn: 'slideUp',
7339 + hidePrevious: false,
7340 + autoExpand: 'editor'
7341 + });
2223 7342 };
2224 7343
7344 +exports.default = _default;
2225 7345
2226 7346 /***/ }),
7347 +/* 807 */
7348 +/***/ (function(module, exports, __webpack_require__) {
2227 7349
2228 -/***/ "../node_modules/core-js/internals/function-uncurry-this-accessor.js":
2229 -/*!***************************************************************************!*\
2230 - !*** ../node_modules/core-js/internals/function-uncurry-this-accessor.js ***!
2231 - \***************************************************************************/
2232 -/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7350 +"use strict";
2233 7351
2234 7352
2235 -var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
2236 -var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
7353 +var _interopRequireDefault = __webpack_require__(0);
2237 7354
2238 -module.exports = function (object, key, method) {
2239 - try {
2240 - // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2241 - return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
2242 - } catch (error) { /* empty */ }
7355 +var _Object$defineProperty = __webpack_require__(1);
7356 +
7357 +_Object$defineProperty(exports, "__esModule", {
7358 + value: true
7359 +});
7360 +
7361 +exports.default = void 0;
7362 +
7363 +__webpack_require__(141);
7364 +
7365 +__webpack_require__(183);
7366 +
7367 +__webpack_require__(61);
7368 +
7369 +__webpack_require__(24);
7370 +
7371 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7372 +
7373 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7374 +
7375 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7376 +
7377 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7378 +
7379 +var VideoModule = /*#__PURE__*/function (_elementorModules$fro) {
7380 + (0, _inherits2.default)(VideoModule, _elementorModules$fro);
7381 +
7382 + var _super = (0, _createSuper2.default)(VideoModule);
7383 +
7384 + function VideoModule() {
7385 + (0, _classCallCheck2.default)(this, VideoModule);
7386 + return _super.apply(this, arguments);
7387 + }
7388 +
7389 + (0, _createClass2.default)(VideoModule, [{
7390 + key: "getDefaultSettings",
7391 + value: function getDefaultSettings() {
7392 + return {
7393 + selectors: {
7394 + imageOverlay: '.elementor-custom-embed-image-overlay',
7395 + video: '.elementor-video',
7396 + videoIframe: '.elementor-video-iframe'
7397 + }
7398 + };
7399 + }
7400 + }, {
7401 + key: "getDefaultElements",
7402 + value: function getDefaultElements() {
7403 + var selectors = this.getSettings('selectors');
7404 + return {
7405 + $imageOverlay: this.$element.find(selectors.imageOverlay),
7406 + $video: this.$element.find(selectors.video),
7407 + $videoIframe: this.$element.find(selectors.videoIframe)
7408 + };
7409 + }
7410 + }, {
7411 + key: "getLightBox",
7412 + value: function getLightBox() {
7413 + return elementorFrontend.utils.lightbox;
7414 + }
7415 + }, {
7416 + key: "handleVideo",
7417 + value: function handleVideo() {
7418 + if (!this.getElementSettings('lightbox')) {
7419 + this.elements.$imageOverlay.remove();
7420 + this.playVideo();
7421 + }
7422 + }
7423 + }, {
7424 + key: "playVideo",
7425 + value: function playVideo() {
7426 + if (this.elements.$video.length) {
7427 + this.elements.$video[0].play();
7428 + return;
7429 + }
7430 +
7431 + var $videoIframe = this.elements.$videoIframe,
7432 + lazyLoad = $videoIframe.data('lazy-load');
7433 +
7434 + if (lazyLoad) {
7435 + $videoIframe.attr('src', lazyLoad);
7436 + }
7437 +
7438 + var newSourceUrl = $videoIframe[0].src.replace('&autoplay=0', '');
7439 + $videoIframe[0].src = newSourceUrl + '&autoplay=1';
7440 +
7441 + if ($videoIframe[0].src.includes('vimeo.com')) {
7442 + var videoSrc = $videoIframe[0].src,
7443 + timeMatch = /#t=[^&]*/.exec(videoSrc); // Param '#t=' must be last in the URL
7444 +
7445 + $videoIframe[0].src = videoSrc.slice(0, timeMatch.index) + videoSrc.slice(timeMatch.index + timeMatch[0].length) + timeMatch[0];
7446 + }
7447 + }
7448 + }, {
7449 + key: "animateVideo",
7450 + value: function animateVideo() {
7451 + this.getLightBox().setEntranceAnimation(this.getCurrentDeviceSetting('lightbox_content_animation'));
7452 + }
7453 + }, {
7454 + key: "handleAspectRatio",
7455 + value: function handleAspectRatio() {
7456 + this.getLightBox().setVideoAspectRatio(this.getElementSettings('aspect_ratio'));
7457 + }
7458 + }, {
7459 + key: "bindEvents",
7460 + value: function bindEvents() {
7461 + this.elements.$imageOverlay.on('click', this.handleVideo.bind(this));
7462 + }
7463 + }, {
7464 + key: "onElementChange",
7465 + value: function onElementChange(propertyName) {
7466 + if (0 === propertyName.indexOf('lightbox_content_animation')) {
7467 + this.animateVideo();
7468 + return;
7469 + }
7470 +
7471 + var isLightBoxEnabled = this.getElementSettings('lightbox');
7472 +
7473 + if ('lightbox' === propertyName && !isLightBoxEnabled) {
7474 + this.getLightBox().getModal().hide();
7475 + return;
7476 + }
7477 +
7478 + if ('aspect_ratio' === propertyName && isLightBoxEnabled) {
7479 + this.handleAspectRatio();
7480 + }
7481 + }
7482 + }]);
7483 + return VideoModule;
7484 +}(elementorModules.frontend.handlers.Base);
7485 +
7486 +var _default = function _default($scope) {
7487 + elementorFrontend.elementsHandler.addHandler(VideoModule, {
7488 + $element: $scope
7489 + });
2243 7490 };
2244 7491
7492 +exports.default = _default;
2245 7493
2246 7494 /***/ }),
7495 +/* 808 */
7496 +/***/ (function(module, exports, __webpack_require__) {
2247 7497
2248 -/***/ "../node_modules/core-js/internals/inherit-if-required.js":
2249 -/*!****************************************************************!*\
2250 - !*** ../node_modules/core-js/internals/inherit-if-required.js ***!
2251 - \****************************************************************/
2252 -/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7498 +"use strict";
2253 7499
2254 7500
2255 -var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
2256 -var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
2257 -var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "../node_modules/core-js/internals/object-set-prototype-of.js");
7501 +var _interopRequireDefault = __webpack_require__(0);
2258 7502
2259 -// makes subclassing work correct for wrapped built-ins
2260 -module.exports = function ($this, dummy, Wrapper) {
2261 - var NewTarget, NewTargetPrototype;
2262 - if (
2263 - // it can work only with native `setPrototypeOf`
2264 - setPrototypeOf &&
2265 - // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
2266 - isCallable(NewTarget = dummy.constructor) &&
2267 - NewTarget !== Wrapper &&
2268 - isObject(NewTargetPrototype = NewTarget.prototype) &&
2269 - NewTargetPrototype !== Wrapper.prototype
2270 - ) setPrototypeOf($this, NewTargetPrototype);
2271 - return $this;
7503 +var _Object$defineProperty = __webpack_require__(1);
7504 +
7505 +_Object$defineProperty(exports, "__esModule", {
7506 + value: true
7507 +});
7508 +
7509 +exports.default = void 0;
7510 +
7511 +__webpack_require__(24);
7512 +
7513 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7514 +
7515 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7516 +
7517 +var _get3 = _interopRequireDefault(__webpack_require__(26));
7518 +
7519 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
7520 +
7521 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7522 +
7523 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7524 +
7525 +var ImageCarouselHandler = /*#__PURE__*/function (_elementorModules$fro) {
7526 + (0, _inherits2.default)(ImageCarouselHandler, _elementorModules$fro);
7527 +
7528 + var _super = (0, _createSuper2.default)(ImageCarouselHandler);
7529 +
7530 + function ImageCarouselHandler() {
7531 + (0, _classCallCheck2.default)(this, ImageCarouselHandler);
7532 + return _super.apply(this, arguments);
7533 + }
7534 +
7535 + (0, _createClass2.default)(ImageCarouselHandler, [{
7536 + key: "getDefaultSettings",
7537 + value: function getDefaultSettings() {
7538 + return {
7539 + selectors: {
7540 + carousel: '.elementor-image-carousel-wrapper',
7541 + slideContent: '.swiper-slide'
7542 + }
7543 + };
7544 + }
7545 + }, {
7546 + key: "getDefaultElements",
7547 + value: function getDefaultElements() {
7548 + var selectors = this.getSettings('selectors');
7549 + var elements = {
7550 + $swiperContainer: this.$element.find(selectors.carousel)
7551 + };
7552 + elements.$slides = elements.$swiperContainer.find(selectors.slideContent);
7553 + return elements;
7554 + }
7555 + }, {
7556 + key: "getSwiperSettings",
7557 + value: function getSwiperSettings() {
7558 + var elementSettings = this.getElementSettings(),
7559 + slidesToShow = +elementSettings.slides_to_show || 3,
7560 + isSingleSlide = 1 === slidesToShow,
7561 + defaultLGDevicesSlidesCount = isSingleSlide ? 1 : 2,
7562 + elementorBreakpoints = elementorFrontend.config.breakpoints;
7563 + var swiperOptions = {
7564 + slidesPerView: slidesToShow,
7565 + loop: 'yes' === elementSettings.infinite,
7566 + speed: elementSettings.speed,
7567 + handleElementorBreakpoints: true
7568 + };
7569 + swiperOptions.breakpoints = {};
7570 + swiperOptions.breakpoints[elementorBreakpoints.md] = {
7571 + slidesPerView: +elementSettings.slides_to_show_mobile || 1,
7572 + slidesPerGroup: +elementSettings.slides_to_scroll_mobile || 1
7573 + };
7574 + swiperOptions.breakpoints[elementorBreakpoints.lg] = {
7575 + slidesPerView: +elementSettings.slides_to_show_tablet || defaultLGDevicesSlidesCount,
7576 + slidesPerGroup: +elementSettings.slides_to_scroll_tablet || 1
7577 + };
7578 +
7579 + if (!this.isEdit && 'yes' === elementSettings.autoplay) {
7580 + swiperOptions.autoplay = {
7581 + delay: elementSettings.autoplay_speed,
7582 + disableOnInteraction: 'yes' === elementSettings.pause_on_interaction
7583 + };
7584 + }
7585 +
7586 + if (isSingleSlide) {
7587 + swiperOptions.effect = elementSettings.effect;
7588 +
7589 + if ('fade' === elementSettings.effect) {
7590 + swiperOptions.fadeEffect = {
7591 + crossFade: true
7592 + };
7593 + }
7594 + } else {
7595 + swiperOptions.slidesPerGroup = +elementSettings.slides_to_scroll || 1;
7596 + }
7597 +
7598 + if (elementSettings.image_spacing_custom) {
7599 + swiperOptions.spaceBetween = elementSettings.image_spacing_custom.size;
7600 + }
7601 +
7602 + var showArrows = 'arrows' === elementSettings.navigation || 'both' === elementSettings.navigation,
7603 + showDots = 'dots' === elementSettings.navigation || 'both' === elementSettings.navigation;
7604 +
7605 + if (showArrows) {
7606 + swiperOptions.navigation = {
7607 + prevEl: '.elementor-swiper-button-prev',
7608 + nextEl: '.elementor-swiper-button-next'
7609 + };
7610 + }
7611 +
7612 + if (showDots) {
7613 + swiperOptions.pagination = {
7614 + el: '.swiper-pagination',
7615 + type: 'bullets',
7616 + clickable: true
7617 + };
7618 + }
7619 +
7620 + return swiperOptions;
7621 + }
7622 + }, {
7623 + key: "onInit",
7624 + value: function onInit() {
7625 + var _get2;
7626 +
7627 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
7628 + args[_key] = arguments[_key];
7629 + }
7630 +
7631 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(ImageCarouselHandler.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
7632 +
7633 + var elementSettings = this.getElementSettings();
7634 +
7635 + if (!this.elements.$swiperContainer.length || 2 > this.elements.$slides.length) {
7636 + return;
7637 + }
7638 +
7639 + this.swiper = new Swiper(this.elements.$swiperContainer, this.getSwiperSettings()); // Expose the swiper instance in the frontend
7640 +
7641 + this.elements.$swiperContainer.data('swiper', this.swiper);
7642 +
7643 + if ('yes' === elementSettings.pause_on_hover) {
7644 + this.togglePauseOnHover(true);
7645 + }
7646 + }
7647 + }, {
7648 + key: "updateSwiperOption",
7649 + value: function updateSwiperOption(propertyName) {
7650 + var elementSettings = this.getElementSettings(),
7651 + newSettingValue = elementSettings[propertyName],
7652 + changeableProperties = this.getChangeableProperties();
7653 + var propertyToUpdate = changeableProperties[propertyName],
7654 + valueToUpdate = newSettingValue; // Handle special cases where the value to update is not the value that the Swiper library accepts
7655 +
7656 + switch (propertyName) {
7657 + case 'image_spacing_custom':
7658 + valueToUpdate = newSettingValue.size || 0;
7659 + break;
7660 +
7661 + case 'autoplay':
7662 + if (newSettingValue) {
7663 + valueToUpdate = {
7664 + delay: elementSettings.autoplay_speed,
7665 + disableOnInteraction: 'yes' === elementSettings.pause_on_interaction
7666 + };
7667 + } else {
7668 + valueToUpdate = false;
7669 + }
7670 +
7671 + break;
7672 +
7673 + case 'autoplay_speed':
7674 + propertyToUpdate = 'autoplay';
7675 + valueToUpdate = {
7676 + delay: newSettingValue,
7677 + disableOnInteraction: 'yes' === elementSettings.pause_on_interaction
7678 + };
7679 + break;
7680 +
7681 + case 'pause_on_hover':
7682 + this.togglePauseOnHover('yes' === newSettingValue);
7683 + break;
7684 +
7685 + case 'pause_on_interaction':
7686 + valueToUpdate = 'yes' === newSettingValue;
7687 + break;
7688 + } // 'pause_on_hover' is implemented by the handler with event listeners, not the Swiper library
7689 +
7690 +
7691 + if ('pause_on_hover' !== propertyName) {
7692 + this.swiper.params[propertyToUpdate] = valueToUpdate;
7693 + }
7694 +
7695 + this.swiper.update();
7696 + }
7697 + }, {
7698 + key: "getChangeableProperties",
7699 + value: function getChangeableProperties() {
7700 + return {
7701 + autoplay: 'autoplay',
7702 + pause_on_hover: 'pauseOnHover',
7703 + pause_on_interaction: 'disableOnInteraction',
7704 + autoplay_speed: 'delay',
7705 + speed: 'speed',
7706 + image_spacing_custom: 'spaceBetween'
7707 + };
7708 + }
7709 + }, {
7710 + key: "onElementChange",
7711 + value: function onElementChange(propertyName) {
7712 + var changeableProperties = this.getChangeableProperties();
7713 +
7714 + if (changeableProperties[propertyName]) {
7715 + this.updateSwiperOption(propertyName);
7716 + }
7717 + }
7718 + }, {
7719 + key: "onEditSettingsChange",
7720 + value: function onEditSettingsChange(propertyName) {
7721 + if ('activeItemIndex' === propertyName) {
7722 + this.swiper.slideToLoop(this.getEditSettings('activeItemIndex') - 1);
7723 + }
7724 + }
7725 + }]);
7726 + return ImageCarouselHandler;
7727 +}(elementorModules.frontend.handlers.SwiperBase);
7728 +
7729 +var _default = function _default($scope) {
7730 + elementorFrontend.elementsHandler.addHandler(ImageCarouselHandler, {
7731 + $element: $scope
7732 + });
2272 7733 };
2273 7734
7735 +exports.default = _default;
2274 7736
2275 7737 /***/ }),
7738 +/* 809 */
7739 +/***/ (function(module, exports, __webpack_require__) {
2276 7740
2277 -/***/ "../node_modules/core-js/internals/is-possible-prototype.js":
2278 -/*!******************************************************************!*\
2279 - !*** ../node_modules/core-js/internals/is-possible-prototype.js ***!
2280 - \******************************************************************/
2281 -/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7741 +"use strict";
2282 7742
2283 7743
2284 -var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
7744 +var _interopRequireDefault = __webpack_require__(0);
2285 7745
2286 -module.exports = function (argument) {
2287 - return isObject(argument) || argument === null;
7746 +var _Object$defineProperty = __webpack_require__(1);
7747 +
7748 +_Object$defineProperty(exports, "__esModule", {
7749 + value: true
7750 +});
7751 +
7752 +exports.default = void 0;
7753 +
7754 +__webpack_require__(124);
7755 +
7756 +__webpack_require__(61);
7757 +
7758 +__webpack_require__(24);
7759 +
7760 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7761 +
7762 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7763 +
7764 +var _get3 = _interopRequireDefault(__webpack_require__(26));
7765 +
7766 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
7767 +
7768 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7769 +
7770 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7771 +
7772 +var TextEditor = /*#__PURE__*/function (_elementorModules$fro) {
7773 + (0, _inherits2.default)(TextEditor, _elementorModules$fro);
7774 +
7775 + var _super = (0, _createSuper2.default)(TextEditor);
7776 +
7777 + function TextEditor() {
7778 + (0, _classCallCheck2.default)(this, TextEditor);
7779 + return _super.apply(this, arguments);
7780 + }
7781 +
7782 + (0, _createClass2.default)(TextEditor, [{
7783 + key: "getDefaultSettings",
7784 + value: function getDefaultSettings() {
7785 + return {
7786 + selectors: {
7787 + paragraph: 'p:first'
7788 + },
7789 + classes: {
7790 + dropCap: 'elementor-drop-cap',
7791 + dropCapLetter: 'elementor-drop-cap-letter'
7792 + }
7793 + };
7794 + }
7795 + }, {
7796 + key: "getDefaultElements",
7797 + value: function getDefaultElements() {
7798 + var selectors = this.getSettings('selectors'),
7799 + classes = this.getSettings('classes'),
7800 + $dropCap = jQuery('<span>', {
7801 + class: classes.dropCap
7802 + }),
7803 + $dropCapLetter = jQuery('<span>', {
7804 + class: classes.dropCapLetter
7805 + });
7806 + $dropCap.append($dropCapLetter);
7807 + return {
7808 + $paragraph: this.$element.find(selectors.paragraph),
7809 + $dropCap: $dropCap,
7810 + $dropCapLetter: $dropCapLetter
7811 + };
7812 + }
7813 + }, {
7814 + key: "wrapDropCap",
7815 + value: function wrapDropCap() {
7816 + var isDropCapEnabled = this.getElementSettings('drop_cap');
7817 +
7818 + if (!isDropCapEnabled) {
7819 + // If there is an old drop cap inside the paragraph
7820 + if (this.dropCapLetter) {
7821 + this.elements.$dropCap.remove();
7822 + this.elements.$paragraph.prepend(this.dropCapLetter);
7823 + this.dropCapLetter = '';
7824 + }
7825 +
7826 + return;
7827 + }
7828 +
7829 + var $paragraph = this.elements.$paragraph;
7830 +
7831 + if (!$paragraph.length) {
7832 + return;
7833 + }
7834 +
7835 + var paragraphContent = $paragraph.html().replace(/&nbsp;/g, ' '),
7836 + firstLetterMatch = paragraphContent.match(/^ *([^ ] ?)/);
7837 +
7838 + if (!firstLetterMatch) {
7839 + return;
7840 + }
7841 +
7842 + var firstLetter = firstLetterMatch[1],
7843 + trimmedFirstLetter = firstLetter.trim(); // Don't apply drop cap when the content starting with an HTML tag
7844 +
7845 + if ('<' === trimmedFirstLetter) {
7846 + return;
7847 + }
7848 +
7849 + this.dropCapLetter = firstLetter;
7850 + this.elements.$dropCapLetter.text(trimmedFirstLetter);
7851 + var restoredParagraphContent = paragraphContent.slice(firstLetter.length).replace(/^ */, function (match) {
7852 + return new Array(match.length + 1).join('&nbsp;');
7853 + });
7854 + $paragraph.html(restoredParagraphContent).prepend(this.elements.$dropCap);
7855 + }
7856 + }, {
7857 + key: "onInit",
7858 + value: function onInit() {
7859 + var _get2;
7860 +
7861 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
7862 + args[_key] = arguments[_key];
7863 + }
7864 +
7865 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(TextEditor.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
7866 +
7867 + this.wrapDropCap();
7868 + }
7869 + }, {
7870 + key: "onElementChange",
7871 + value: function onElementChange(propertyName) {
7872 + if ('drop_cap' === propertyName) {
7873 + this.wrapDropCap();
7874 + }
7875 + }
7876 + }]);
7877 + return TextEditor;
7878 +}(elementorModules.frontend.handlers.Base);
7879 +
7880 +var _default = function _default($scope) {
7881 + elementorFrontend.elementsHandler.addHandler(TextEditor, {
7882 + $element: $scope
7883 + });
2288 7884 };
2289 7885
7886 +exports.default = _default;
2290 7887
2291 7888 /***/ }),
7889 +/* 810 */
7890 +/***/ (function(module, exports, __webpack_require__) {
2292 7891
2293 -/***/ "../node_modules/core-js/internals/normalize-string-argument.js":
2294 -/*!**********************************************************************!*\
2295 - !*** ../node_modules/core-js/internals/normalize-string-argument.js ***!
2296 - \**********************************************************************/
2297 -/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7892 +"use strict";
2298 7893
2299 7894
2300 -var toString = __webpack_require__(/*! ../internals/to-string */ "../node_modules/core-js/internals/to-string.js");
7895 +var _interopRequireDefault = __webpack_require__(0);
2301 7896
2302 -module.exports = function (argument, $default) {
2303 - return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);
7897 +var _Object$defineProperty = __webpack_require__(1);
7898 +
7899 +_Object$defineProperty(exports, "__esModule", {
7900 + value: true
7901 +});
7902 +
7903 +exports.default = void 0;
7904 +
7905 +var _backgroundSlideshow = _interopRequireDefault(__webpack_require__(705));
7906 +
7907 +var _backgroundVideo = _interopRequireDefault(__webpack_require__(811));
7908 +
7909 +var _handlesPosition = _interopRequireDefault(__webpack_require__(812));
7910 +
7911 +var _stretchedSection = _interopRequireDefault(__webpack_require__(813));
7912 +
7913 +var _shapes = _interopRequireDefault(__webpack_require__(814));
7914 +
7915 +var _default = function _default($scope) {
7916 + if (elementorFrontend.isEditMode() || $scope.hasClass('elementor-section-stretched')) {
7917 + elementorFrontend.elementsHandler.addHandler(_stretchedSection.default, {
7918 + $element: $scope
7919 + });
7920 + }
7921 +
7922 + if (elementorFrontend.isEditMode()) {
7923 + elementorFrontend.elementsHandler.addHandler(_shapes.default, {
7924 + $element: $scope
7925 + });
7926 + elementorFrontend.elementsHandler.addHandler(_handlesPosition.default, {
7927 + $element: $scope
7928 + });
7929 + }
7930 +
7931 + elementorFrontend.elementsHandler.addHandler(_backgroundVideo.default, {
7932 + $element: $scope
7933 + });
7934 + elementorFrontend.elementsHandler.addHandler(_backgroundSlideshow.default, {
7935 + $element: $scope
7936 + });
2304 7937 };
2305 7938
7939 +exports.default = _default;
2306 7940
2307 7941 /***/ }),
7942 +/* 811 */
7943 +/***/ (function(module, exports, __webpack_require__) {
2308 7944
2309 -/***/ "../node_modules/core-js/internals/object-set-prototype-of.js":
2310 -/*!********************************************************************!*\
2311 - !*** ../node_modules/core-js/internals/object-set-prototype-of.js ***!
2312 - \********************************************************************/
2313 -/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7945 +"use strict";
2314 7946
2315 7947
2316 -/* eslint-disable no-proto -- safe */
2317 -var uncurryThisAccessor = __webpack_require__(/*! ../internals/function-uncurry-this-accessor */ "../node_modules/core-js/internals/function-uncurry-this-accessor.js");
2318 -var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
2319 -var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../node_modules/core-js/internals/require-object-coercible.js");
2320 -var aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototype */ "../node_modules/core-js/internals/a-possible-prototype.js");
7948 +var _interopRequireDefault = __webpack_require__(0);
2321 7949
2322 -// `Object.setPrototypeOf` method
2323 -// https://tc39.es/ecma262/#sec-object.setprototypeof
2324 -// Works with __proto__ only. Old v8 can't work with null proto objects.
2325 -// eslint-disable-next-line es/no-object-setprototypeof -- safe
2326 -module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
2327 - var CORRECT_SETTER = false;
2328 - var test = {};
2329 - var setter;
2330 - try {
2331 - setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
2332 - setter(test, []);
2333 - CORRECT_SETTER = test instanceof Array;
2334 - } catch (error) { /* empty */ }
2335 - return function setPrototypeOf(O, proto) {
2336 - requireObjectCoercible(O);
2337 - aPossiblePrototype(proto);
2338 - if (!isObject(O)) return O;
2339 - if (CORRECT_SETTER) setter(O, proto);
2340 - else O.__proto__ = proto;
2341 - return O;
2342 - };
2343 -}() : undefined);
7950 +var _Object$defineProperty = __webpack_require__(1);
2344 7951
7952 +_Object$defineProperty(exports, "__esModule", {
7953 + value: true
7954 +});
2345 7955
7956 +exports.default = void 0;
7957 +
7958 +__webpack_require__(124);
7959 +
7960 +__webpack_require__(82);
7961 +
7962 +__webpack_require__(24);
7963 +
7964 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7965 +
7966 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7967 +
7968 +var _get3 = _interopRequireDefault(__webpack_require__(26));
7969 +
7970 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
7971 +
7972 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7973 +
7974 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7975 +
7976 +var BackgroundVideo = /*#__PURE__*/function (_elementorModules$fro) {
7977 + (0, _inherits2.default)(BackgroundVideo, _elementorModules$fro);
7978 +
7979 + var _super = (0, _createSuper2.default)(BackgroundVideo);
7980 +
7981 + function BackgroundVideo() {
7982 + (0, _classCallCheck2.default)(this, BackgroundVideo);
7983 + return _super.apply(this, arguments);
7984 + }
7985 +
7986 + (0, _createClass2.default)(BackgroundVideo, [{
7987 + key: "getDefaultSettings",
7988 + value: function getDefaultSettings() {
7989 + return {
7990 + selectors: {
7991 + backgroundVideoContainer: '.elementor-background-video-container',
7992 + backgroundVideoEmbed: '.elementor-background-video-embed',
7993 + backgroundVideoHosted: '.elementor-background-video-hosted'
7994 + }
7995 + };
7996 + }
7997 + }, {
7998 + key: "getDefaultElements",
7999 + value: function getDefaultElements() {
8000 + var selectors = this.getSettings('selectors'),
8001 + elements = {
8002 + $backgroundVideoContainer: this.$element.find(selectors.backgroundVideoContainer)
8003 + };
8004 + elements.$backgroundVideoEmbed = elements.$backgroundVideoContainer.children(selectors.backgroundVideoEmbed);
8005 + elements.$backgroundVideoHosted = elements.$backgroundVideoContainer.children(selectors.backgroundVideoHosted);
8006 + return elements;
8007 + }
8008 + }, {
8009 + key: "calcVideosSize",
8010 + value: function calcVideosSize($video) {
8011 + var aspectRatioSetting = '16:9';
8012 +
8013 + if ('vimeo' === this.videoType) {
8014 + aspectRatioSetting = $video[0].width + ':' + $video[0].height;
8015 + }
8016 +
8017 + var containerWidth = this.elements.$backgroundVideoContainer.outerWidth(),
8018 + containerHeight = this.elements.$backgroundVideoContainer.outerHeight(),
8019 + aspectRatioArray = aspectRatioSetting.split(':'),
8020 + aspectRatio = aspectRatioArray[0] / aspectRatioArray[1],
8021 + ratioWidth = containerWidth / aspectRatio,
8022 + ratioHeight = containerHeight * aspectRatio,
8023 + isWidthFixed = containerWidth / containerHeight > aspectRatio;
8024 + return {
8025 + width: isWidthFixed ? containerWidth : ratioHeight,
8026 + height: isWidthFixed ? ratioWidth : containerHeight
8027 + };
8028 + }
8029 + }, {
8030 + key: "changeVideoSize",
8031 + value: function changeVideoSize() {
8032 + if (!('hosted' === this.videoType) && !this.player) {
8033 + return;
8034 + }
8035 +
8036 + var $video;
8037 +
8038 + if ('youtube' === this.videoType) {
8039 + $video = jQuery(this.player.getIframe());
8040 + } else if ('vimeo' === this.videoType) {
8041 + $video = jQuery(this.player.element);
8042 + } else if ('hosted' === this.videoType) {
8043 + $video = this.elements.$backgroundVideoHosted;
8044 + }
8045 +
8046 + if (!$video) {
8047 + return;
8048 + }
8049 +
8050 + var size = this.calcVideosSize($video);
8051 + $video.width(size.width).height(size.height);
8052 + }
8053 + }, {
8054 + key: "startVideoLoop",
8055 + value: function startVideoLoop(firstTime) {
8056 + var _this = this;
8057 +
8058 + // If the section has been removed
8059 + if (!this.player.getIframe().contentWindow) {
8060 + return;
8061 + }
8062 +
8063 + var elementSettings = this.getElementSettings(),
8064 + startPoint = elementSettings.background_video_start || 0,
8065 + endPoint = elementSettings.background_video_end;
8066 +
8067 + if (elementSettings.background_play_once && !firstTime) {
8068 + this.player.stopVideo();
8069 + return;
8070 + }
8071 +
8072 + this.player.seekTo(startPoint);
8073 +
8074 + if (endPoint) {
8075 + var durationToEnd = endPoint - startPoint + 1;
8076 + setTimeout(function () {
8077 + _this.startVideoLoop(false);
8078 + }, durationToEnd * 1000);
8079 + }
8080 + }
8081 + }, {
8082 + key: "prepareVimeoVideo",
8083 + value: function prepareVimeoVideo(Vimeo, videoId) {
8084 + var _this2 = this;
8085 +
8086 + var elementSettings = this.getElementSettings(),
8087 + startTime = elementSettings.background_video_start ? elementSettings.background_video_start : 0,
8088 + videoSize = this.elements.$backgroundVideoContainer.outerWidth(),
8089 + vimeoOptions = {
8090 + id: videoId,
8091 + width: videoSize.width,
8092 + autoplay: true,
8093 + loop: !elementSettings.background_play_once,
8094 + transparent: false,
8095 + background: true,
8096 + muted: true
8097 + };
8098 + this.player = new Vimeo.Player(this.elements.$backgroundVideoContainer, vimeoOptions); // Handle user-defined start/end times
8099 +
8100 + this.handleVimeoStartEndTimes(elementSettings);
8101 + this.player.ready().then(function () {
8102 + jQuery(_this2.player.element).addClass('elementor-background-video-embed');
8103 +
8104 + _this2.changeVideoSize();
8105 + });
8106 + }
8107 + }, {
8108 + key: "handleVimeoStartEndTimes",
8109 + value: function handleVimeoStartEndTimes(elementSettings) {
8110 + var _this3 = this;
8111 +
8112 + // If a start time is defined, set the start time
8113 + if (elementSettings.background_video_start) {
8114 + this.player.on('play', function (data) {
8115 + if (0 === data.seconds) {
8116 + _this3.player.setCurrentTime(elementSettings.background_video_start);
8117 + }
8118 + });
8119 + }
8120 +
8121 + this.player.on('timeupdate', function (data) {
8122 + // If an end time is defined, handle ending the video
8123 + if (elementSettings.background_video_end && elementSettings.background_video_end < data.seconds) {
8124 + if (elementSettings.background_play_once) {
8125 + // Stop at user-defined end time if not loop
8126 + _this3.player.pause();
8127 + } else {
8128 + // Go to start time if loop
8129 + _this3.player.setCurrentTime(elementSettings.background_video_start);
8130 + }
8131 + } // If start time is defined but an end time is not, go to user-defined start time at video end.
8132 + // Vimeo JS API has an 'ended' event, but it never fires when infinite loop is defined, so we
8133 + // get the video duration (returns a promise) then use duration-0.5s as end time
8134 +
8135 +
8136 + _this3.player.getDuration().then(function (duration) {
8137 + if (elementSettings.background_video_start && !elementSettings.background_video_end && data.seconds > duration - 0.5) {
8138 + _this3.player.setCurrentTime(elementSettings.background_video_start);
8139 + }
8140 + });
8141 + });
8142 + }
8143 + }, {
8144 + key: "prepareYTVideo",
8145 + value: function prepareYTVideo(YT, videoID) {
8146 + var _this4 = this;
8147 +
8148 + var $backgroundVideoContainer = this.elements.$backgroundVideoContainer,
8149 + elementSettings = this.getElementSettings();
8150 + var startStateCode = YT.PlayerState.PLAYING; // Since version 67, Chrome doesn't fire the `PLAYING` state at start time
8151 +
8152 + if (window.chrome) {
8153 + startStateCode = YT.PlayerState.UNSTARTED;
8154 + }
8155 +
8156 + $backgroundVideoContainer.addClass('elementor-loading elementor-invisible');
8157 + this.player = new YT.Player(this.elements.$backgroundVideoEmbed[0], {
8158 + videoId: videoID,
8159 + events: {
8160 + onReady: function onReady() {
8161 + _this4.player.mute();
8162 +
8163 + _this4.changeVideoSize();
8164 +
8165 + _this4.startVideoLoop(true);
8166 +
8167 + _this4.player.playVideo();
8168 + },
8169 + onStateChange: function onStateChange(event) {
8170 + switch (event.data) {
8171 + case startStateCode:
8172 + $backgroundVideoContainer.removeClass('elementor-invisible elementor-loading');
8173 + break;
8174 +
8175 + case YT.PlayerState.ENDED:
8176 + _this4.player.seekTo(elementSettings.background_video_start || 0);
8177 +
8178 + if (elementSettings.background_play_once) {
8179 + _this4.player.destroy();
8180 + }
8181 +
8182 + }
8183 + }
8184 + },
8185 + playerVars: {
8186 + controls: 0,
8187 + rel: 0,
8188 + playsinline: 1
8189 + }
8190 + });
8191 + }
8192 + }, {
8193 + key: "activate",
8194 + value: function activate() {
8195 + var _this5 = this;
8196 +
8197 + var videoLink = this.getElementSettings('background_video_link'),
8198 + videoID;
8199 + var playOnce = this.getElementSettings('background_play_once');
8200 +
8201 + if (-1 !== videoLink.indexOf('vimeo.com')) {
8202 + this.videoType = 'vimeo';
8203 + this.apiProvider = elementorFrontend.utils.vimeo;
8204 + } else if (videoLink.match(/^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com)/)) {
8205 + this.videoType = 'youtube';
8206 + this.apiProvider = elementorFrontend.utils.youtube;
8207 + }
8208 +
8209 + if (this.apiProvider) {
8210 + videoID = this.apiProvider.getVideoIDFromURL(videoLink);
8211 + this.apiProvider.onApiReady(function (apiObject) {
8212 + if ('youtube' === _this5.videoType) {
8213 + _this5.prepareYTVideo(apiObject, videoID);
8214 + }
8215 +
8216 + if ('vimeo' === _this5.videoType) {
8217 + _this5.prepareVimeoVideo(apiObject, videoID);
8218 + }
8219 + });
8220 + } else {
8221 + this.videoType = 'hosted';
8222 + var startTime = this.getElementSettings('background_video_start'),
8223 + endTime = this.getElementSettings('background_video_end');
8224 +
8225 + if (startTime || endTime) {
8226 + videoLink += '#t=' + (startTime || 0) + (endTime ? ',' + endTime : '');
8227 + }
8228 +
8229 + this.elements.$backgroundVideoHosted.attr('src', videoLink).one('canplay', this.changeVideoSize.bind(this));
8230 +
8231 + if (playOnce) {
8232 + this.elements.$backgroundVideoHosted.on('ended', function () {
8233 + _this5.elements.$backgroundVideoHosted.hide();
8234 + });
8235 + }
8236 + }
8237 +
8238 + elementorFrontend.elements.$window.on('resize', this.changeVideoSize);
8239 + }
8240 + }, {
8241 + key: "deactivate",
8242 + value: function deactivate() {
8243 + if ('youtube' === this.videoType && this.player.getIframe() || 'vimeo' === this.videoType) {
8244 + this.player.destroy();
8245 + } else {
8246 + this.elements.$backgroundVideoHosted.removeAttr('src').off('ended');
8247 + }
8248 +
8249 + elementorFrontend.elements.$window.off('resize', this.changeVideoSize);
8250 + }
8251 + }, {
8252 + key: "run",
8253 + value: function run() {
8254 + var elementSettings = this.getElementSettings();
8255 +
8256 + if (!elementSettings.background_play_on_mobile && 'mobile' === elementorFrontend.getCurrentDeviceMode()) {
8257 + return;
8258 + }
8259 +
8260 + if ('video' === elementSettings.background_background && elementSettings.background_video_link) {
8261 + this.activate();
8262 + } else {
8263 + this.deactivate();
8264 + }
8265 + }
8266 + }, {
8267 + key: "onInit",
8268 + value: function onInit() {
8269 + var _get2;
8270 +
8271 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
8272 + args[_key] = arguments[_key];
8273 + }
8274 +
8275 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(BackgroundVideo.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
8276 +
8277 + this.changeVideoSize = this.changeVideoSize.bind(this);
8278 + this.run();
8279 + }
8280 + }, {
8281 + key: "onElementChange",
8282 + value: function onElementChange(propertyName) {
8283 + if ('background_background' === propertyName) {
8284 + this.run();
8285 + }
8286 + }
8287 + }]);
8288 + return BackgroundVideo;
8289 +}(elementorModules.frontend.handlers.Base);
8290 +
8291 +exports.default = BackgroundVideo;
8292 +
2346 8293 /***/ }),
8294 +/* 812 */
8295 +/***/ (function(module, exports, __webpack_require__) {
2347 8296
2348 -/***/ "../node_modules/core-js/internals/to-string.js":
2349 -/*!******************************************************!*\
2350 - !*** ../node_modules/core-js/internals/to-string.js ***!
2351 - \******************************************************/
2352 -/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
8297 +"use strict";
2353 8298
2354 8299
2355 -var classof = __webpack_require__(/*! ../internals/classof */ "../node_modules/core-js/internals/classof.js");
8300 +var _interopRequireDefault = __webpack_require__(0);
2356 8301
2357 -var $String = String;
8302 +var _Object$defineProperty = __webpack_require__(1);
2358 8303
2359 -module.exports = function (argument) {
2360 - if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
2361 - return $String(argument);
8304 +_Object$defineProperty(exports, "__esModule", {
8305 + value: true
8306 +});
8307 +
8308 +exports.default = void 0;
8309 +
8310 +__webpack_require__(24);
8311 +
8312 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
8313 +
8314 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
8315 +
8316 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
8317 +
8318 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
8319 +
8320 +var HandlesPosition = /*#__PURE__*/function (_elementorModules$fro) {
8321 + (0, _inherits2.default)(HandlesPosition, _elementorModules$fro);
8322 +
8323 + var _super = (0, _createSuper2.default)(HandlesPosition);
8324 +
8325 + function HandlesPosition() {
8326 + (0, _classCallCheck2.default)(this, HandlesPosition);
8327 + return _super.apply(this, arguments);
8328 + }
8329 +
8330 + (0, _createClass2.default)(HandlesPosition, [{
8331 + key: "isFirstSection",
8332 + value: function isFirstSection() {
8333 + return this.$element.is('.elementor-edit-mode .elementor-top-section:first');
8334 + }
8335 + }, {
8336 + key: "isOverflowHidden",
8337 + value: function isOverflowHidden() {
8338 + return 'hidden' === this.$element.css('overflow');
8339 + }
8340 + }, {
8341 + key: "getOffset",
8342 + value: function getOffset() {
8343 + if ('body' === elementor.config.document.container) {
8344 + return this.$element.offset().top;
8345 + }
8346 +
8347 + var $container = jQuery(elementor.config.document.container);
8348 + return this.$element.offset().top - $container.offset().top;
8349 + }
8350 + }, {
8351 + key: "setHandlesPosition",
8352 + value: function setHandlesPosition() {
8353 + var document = elementor.documents.getCurrent();
8354 +
8355 + if (!document || !document.container.isEditable()) {
8356 + return;
8357 + }
8358 +
8359 + var isOverflowHidden = this.isOverflowHidden();
8360 +
8361 + if (!isOverflowHidden && !this.isFirstSection()) {
8362 + return;
8363 + }
8364 +
8365 + var offset = isOverflowHidden ? 0 : this.getOffset(),
8366 + $handlesElement = this.$element.find('> .elementor-element-overlay > .elementor-editor-section-settings'),
8367 + insideHandleClass = 'elementor-section--handles-inside';
8368 +
8369 + if (offset < 25) {
8370 + this.$element.addClass(insideHandleClass);
8371 +
8372 + if (offset < -5) {
8373 + $handlesElement.css('top', -offset);
8374 + } else {
8375 + $handlesElement.css('top', '');
8376 + }
8377 + } else {
8378 + this.$element.removeClass(insideHandleClass);
8379 + }
8380 + }
8381 + }, {
8382 + key: "onInit",
8383 + value: function onInit() {
8384 + this.setHandlesPosition();
8385 + this.$element.on('mouseenter', this.setHandlesPosition.bind(this));
8386 + }
8387 + }]);
8388 + return HandlesPosition;
8389 +}(elementorModules.frontend.handlers.Base);
8390 +
8391 +exports.default = HandlesPosition;
8392 +
8393 +/***/ }),
8394 +/* 813 */
8395 +/***/ (function(module, exports, __webpack_require__) {
8396 +
8397 +"use strict";
8398 +
8399 +
8400 +var _interopRequireDefault = __webpack_require__(0);
8401 +
8402 +var _Object$defineProperty = __webpack_require__(1);
8403 +
8404 +_Object$defineProperty(exports, "__esModule", {
8405 + value: true
8406 +});
8407 +
8408 +exports.default = void 0;
8409 +
8410 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
8411 +
8412 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
8413 +
8414 +var _get3 = _interopRequireDefault(__webpack_require__(26));
8415 +
8416 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
8417 +
8418 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
8419 +
8420 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
8421 +
8422 +var StretchedSection = /*#__PURE__*/function (_elementorModules$fro) {
8423 + (0, _inherits2.default)(StretchedSection, _elementorModules$fro);
8424 +
8425 + var _super = (0, _createSuper2.default)(StretchedSection);
8426 +
8427 + function StretchedSection() {
8428 + (0, _classCallCheck2.default)(this, StretchedSection);
8429 + return _super.apply(this, arguments);
8430 + }
8431 +
8432 + (0, _createClass2.default)(StretchedSection, [{
8433 + key: "bindEvents",
8434 + value: function bindEvents() {
8435 + var handlerID = this.getUniqueHandlerID();
8436 + elementorFrontend.addListenerOnce(handlerID, 'resize', this.stretch);
8437 + elementorFrontend.addListenerOnce(handlerID, 'sticky:stick', this.stretch, this.$element);
8438 + elementorFrontend.addListenerOnce(handlerID, 'sticky:unstick', this.stretch, this.$element);
8439 +
8440 + if (elementorFrontend.isEditMode()) {
8441 + this.onKitChangeStretchContainerChange = this.onKitChangeStretchContainerChange.bind(this);
8442 + elementor.channels.editor.on('kit:change:stretchContainer', this.onKitChangeStretchContainerChange);
8443 + }
8444 + }
8445 + }, {
8446 + key: "unbindEvents",
8447 + value: function unbindEvents() {
8448 + elementorFrontend.removeListeners(this.getUniqueHandlerID(), 'resize', this.stretch);
8449 +
8450 + if (elementorFrontend.isEditMode()) {
8451 + elementor.channels.editor.off('kit:change:stretchContainer', this.onKitChangeStretchContainerChange);
8452 + }
8453 + }
8454 + }, {
8455 + key: "initStretch",
8456 + value: function initStretch() {
8457 + this.stretch = this.stretch.bind(this);
8458 + this.stretchElement = new elementorModules.frontend.tools.StretchElement({
8459 + element: this.$element,
8460 + selectors: {
8461 + container: this.getStretchContainer()
8462 + }
8463 + });
8464 + }
8465 + }, {
8466 + key: "getStretchContainer",
8467 + value: function getStretchContainer() {
8468 + return elementorFrontend.getKitSettings('stretched_section_container') || window;
8469 + }
8470 + }, {
8471 + key: "stretch",
8472 + value: function stretch() {
8473 + if (!this.getElementSettings('stretch_section')) {
8474 + return;
8475 + }
8476 +
8477 + this.stretchElement.stretch();
8478 + }
8479 + }, {
8480 + key: "onInit",
8481 + value: function onInit() {
8482 + var _get2;
8483 +
8484 + this.initStretch();
8485 +
8486 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
8487 + args[_key] = arguments[_key];
8488 + }
8489 +
8490 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(StretchedSection.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
8491 +
8492 + this.stretch();
8493 + }
8494 + }, {
8495 + key: "onElementChange",
8496 + value: function onElementChange(propertyName) {
8497 + if ('stretch_section' === propertyName) {
8498 + if (this.getElementSettings('stretch_section')) {
8499 + this.stretch();
8500 + } else {
8501 + this.stretchElement.reset();
8502 + }
8503 + }
8504 + }
8505 + }, {
8506 + key: "onKitChangeStretchContainerChange",
8507 + value: function onKitChangeStretchContainerChange() {
8508 + this.stretchElement.setSettings('selectors.container', this.getStretchContainer());
8509 + this.stretch();
8510 + }
8511 + }]);
8512 + return StretchedSection;
8513 +}(elementorModules.frontend.handlers.Base);
8514 +
8515 +exports.default = StretchedSection;
8516 +
8517 +/***/ }),
8518 +/* 814 */
8519 +/***/ (function(module, exports, __webpack_require__) {
8520 +
8521 +"use strict";
8522 +
8523 +
8524 +var _interopRequireDefault = __webpack_require__(0);
8525 +
8526 +var _Object$defineProperty = __webpack_require__(1);
8527 +
8528 +_Object$defineProperty(exports, "__esModule", {
8529 + value: true
8530 +});
8531 +
8532 +exports.default = void 0;
8533 +
8534 +__webpack_require__(124);
8535 +
8536 +__webpack_require__(61);
8537 +
8538 +__webpack_require__(24);
8539 +
8540 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
8541 +
8542 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
8543 +
8544 +var _get3 = _interopRequireDefault(__webpack_require__(26));
8545 +
8546 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
8547 +
8548 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
8549 +
8550 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
8551 +
8552 +var Shapes = /*#__PURE__*/function (_elementorModules$fro) {
8553 + (0, _inherits2.default)(Shapes, _elementorModules$fro);
8554 +
8555 + var _super = (0, _createSuper2.default)(Shapes);
8556 +
8557 + function Shapes() {
8558 + (0, _classCallCheck2.default)(this, Shapes);
8559 + return _super.apply(this, arguments);
8560 + }
8561 +
8562 + (0, _createClass2.default)(Shapes, [{
8563 + key: "getDefaultSettings",
8564 + value: function getDefaultSettings() {
8565 + return {
8566 + selectors: {
8567 + container: '> .elementor-shape-%s'
8568 + },
8569 + svgURL: elementorFrontend.config.urls.assets + 'shapes/'
8570 + };
8571 + }
8572 + }, {
8573 + key: "getDefaultElements",
8574 + value: function getDefaultElements() {
8575 + var elements = {},
8576 + selectors = this.getSettings('selectors');
8577 + elements.$topContainer = this.$element.find(selectors.container.replace('%s', 'top'));
8578 + elements.$bottomContainer = this.$element.find(selectors.container.replace('%s', 'bottom'));
8579 + return elements;
8580 + }
8581 + }, {
8582 + key: "getSvgURL",
8583 + value: function getSvgURL(shapeType, fileName) {
8584 + var svgURL = this.getSettings('svgURL') + fileName + '.svg';
8585 +
8586 + if (elementor.config.additional_shapes && shapeType in elementor.config.additional_shapes) {
8587 + svgURL = elementor.config.additional_shapes[shapeType];
8588 +
8589 + if (-1 < fileName.indexOf('-negative')) {
8590 + svgURL = svgURL.replace('.svg', '-negative.svg');
8591 + }
8592 + }
8593 +
8594 + return svgURL;
8595 + }
8596 + }, {
8597 + key: "buildSVG",
8598 + value: function buildSVG(side) {
8599 + var baseSettingKey = 'shape_divider_' + side,
8600 + shapeType = this.getElementSettings(baseSettingKey),
8601 + $svgContainer = this.elements['$' + side + 'Container'];
8602 + $svgContainer.attr('data-shape', shapeType);
8603 +
8604 + if (!shapeType) {
8605 + $svgContainer.empty(); // Shape-divider set to 'none'
8606 +
8607 + return;
8608 + }
8609 +
8610 + var fileName = shapeType;
8611 +
8612 + if (this.getElementSettings(baseSettingKey + '_negative')) {
8613 + fileName += '-negative';
8614 + }
8615 +
8616 + var svgURL = this.getSvgURL(shapeType, fileName);
8617 + jQuery.get(svgURL, function (data) {
8618 + $svgContainer.empty().append(data.childNodes[0]);
8619 + });
8620 + this.setNegative(side);
8621 + }
8622 + }, {
8623 + key: "setNegative",
8624 + value: function setNegative(side) {
8625 + this.elements['$' + side + 'Container'].attr('data-negative', !!this.getElementSettings('shape_divider_' + side + '_negative'));
8626 + }
8627 + }, {
8628 + key: "onInit",
8629 + value: function onInit() {
8630 + var _get2,
8631 + _this = this;
8632 +
8633 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
8634 + args[_key] = arguments[_key];
8635 + }
8636 +
8637 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(Shapes.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
8638 +
8639 + ['top', 'bottom'].forEach(function (side) {
8640 + if (_this.getElementSettings('shape_divider_' + side)) {
8641 + _this.buildSVG(side);
8642 + }
8643 + });
8644 + }
8645 + }, {
8646 + key: "onElementChange",
8647 + value: function onElementChange(propertyName) {
8648 + var shapeChange = propertyName.match(/^shape_divider_(top|bottom)$/);
8649 +
8650 + if (shapeChange) {
8651 + this.buildSVG(shapeChange[1]);
8652 + return;
8653 + }
8654 +
8655 + var negativeChange = propertyName.match(/^shape_divider_(top|bottom)_negative$/);
8656 +
8657 + if (negativeChange) {
8658 + this.buildSVG(negativeChange[1]);
8659 + this.setNegative(negativeChange[1]);
8660 + }
8661 + }
8662 + }]);
8663 + return Shapes;
8664 +}(elementorModules.frontend.handlers.Base);
8665 +
8666 +exports.default = Shapes;
8667 +
8668 +/***/ }),
8669 +/* 815 */
8670 +/***/ (function(module, exports, __webpack_require__) {
8671 +
8672 +"use strict";
8673 +
8674 +
8675 +var _interopRequireDefault = __webpack_require__(0);
8676 +
8677 +var _Object$defineProperty = __webpack_require__(1);
8678 +
8679 +_Object$defineProperty(exports, "__esModule", {
8680 + value: true
8681 +});
8682 +
8683 +exports.default = void 0;
8684 +
8685 +var _backgroundSlideshow = _interopRequireDefault(__webpack_require__(705));
8686 +
8687 +var _default = function _default($scope) {
8688 + elementorFrontend.elementsHandler.addHandler(_backgroundSlideshow.default, {
8689 + $element: $scope
8690 + });
2362 8691 };
2363 8692
8693 +exports.default = _default;
2364 8694
2365 8695 /***/ }),
8696 +/* 816 */
8697 +/***/ (function(module, exports, __webpack_require__) {
2366 8698
2367 -/***/ "../node_modules/core-js/modules/web.dom-exception.stack.js":
2368 -/*!******************************************************************!*\
2369 - !*** ../node_modules/core-js/modules/web.dom-exception.stack.js ***!
2370 - \******************************************************************/
2371 -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
8699 +"use strict";
2372 8700
2373 8701
2374 -var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js");
2375 -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
2376 -var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js");
2377 -var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js");
2378 -var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js").f);
2379 -var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
2380 -var anInstance = __webpack_require__(/*! ../internals/an-instance */ "../node_modules/core-js/internals/an-instance.js");
2381 -var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ "../node_modules/core-js/internals/inherit-if-required.js");
2382 -var normalizeStringArgument = __webpack_require__(/*! ../internals/normalize-string-argument */ "../node_modules/core-js/internals/normalize-string-argument.js");
2383 -var DOMExceptionConstants = __webpack_require__(/*! ../internals/dom-exception-constants */ "../node_modules/core-js/internals/dom-exception-constants.js");
2384 -var clearErrorStack = __webpack_require__(/*! ../internals/error-stack-clear */ "../node_modules/core-js/internals/error-stack-clear.js");
2385 -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
2386 -var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js");
8702 +var _interopRequireDefault = __webpack_require__(0);
2387 8703
2388 -var DOM_EXCEPTION = 'DOMException';
2389 -var Error = getBuiltIn('Error');
2390 -var NativeDOMException = getBuiltIn(DOM_EXCEPTION);
8704 +var _Object$defineProperty = __webpack_require__(1);
2391 8705
2392 -var $DOMException = function DOMException() {
2393 - anInstance(this, DOMExceptionPrototype);
2394 - var argumentsLength = arguments.length;
2395 - var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]);
2396 - var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error');
2397 - var that = new NativeDOMException(message, name);
2398 - var error = new Error(message);
2399 - error.name = DOM_EXCEPTION;
2400 - defineProperty(that, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1)));
2401 - inheritIfRequired(that, this, $DOMException);
2402 - return that;
8706 +_Object$defineProperty(exports, "__esModule", {
8707 + value: true
8708 +});
8709 +
8710 +exports.default = void 0;
8711 +
8712 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
8713 +
8714 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
8715 +
8716 +var _get3 = _interopRequireDefault(__webpack_require__(26));
8717 +
8718 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
8719 +
8720 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
8721 +
8722 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
8723 +
8724 +var GlobalHandler = /*#__PURE__*/function (_elementorModules$fro) {
8725 + (0, _inherits2.default)(GlobalHandler, _elementorModules$fro);
8726 +
8727 + var _super = (0, _createSuper2.default)(GlobalHandler);
8728 +
8729 + function GlobalHandler() {
8730 + (0, _classCallCheck2.default)(this, GlobalHandler);
8731 + return _super.apply(this, arguments);
8732 + }
8733 +
8734 + (0, _createClass2.default)(GlobalHandler, [{
8735 + key: "getWidgetType",
8736 + value: function getWidgetType() {
8737 + return 'global';
8738 + }
8739 + }, {
8740 + key: "animate",
8741 + value: function animate() {
8742 + var $element = this.$element,
8743 + animation = this.getAnimation();
8744 +
8745 + if ('none' === animation) {
8746 + $element.removeClass('elementor-invisible');
8747 + return;
8748 + }
8749 +
8750 + var elementSettings = this.getElementSettings(),
8751 + animationDelay = elementSettings._animation_delay || elementSettings.animation_delay || 0;
8752 + $element.removeClass(animation);
8753 +
8754 + if (this.currentAnimation) {
8755 + $element.removeClass(this.currentAnimation);
8756 + }
8757 +
8758 + this.currentAnimation = animation;
8759 + setTimeout(function () {
8760 + $element.removeClass('elementor-invisible').addClass('animated ' + animation);
8761 + }, animationDelay);
8762 + }
8763 + }, {
8764 + key: "getAnimation",
8765 + value: function getAnimation() {
8766 + return this.getCurrentDeviceSetting('animation') || this.getCurrentDeviceSetting('_animation');
8767 + }
8768 + }, {
8769 + key: "onInit",
8770 + value: function onInit() {
8771 + var _get2,
8772 + _this = this;
8773 +
8774 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
8775 + args[_key] = arguments[_key];
8776 + }
8777 +
8778 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(GlobalHandler.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
8779 +
8780 + if (this.getAnimation()) {
8781 + elementorFrontend.waypoint(this.$element, function () {
8782 + return _this.animate();
8783 + });
8784 + }
8785 + }
8786 + }, {
8787 + key: "onElementChange",
8788 + value: function onElementChange(propertyName) {
8789 + if (/^_?animation/.test(propertyName)) {
8790 + this.animate();
8791 + }
8792 + }
8793 + }]);
8794 + return GlobalHandler;
8795 +}(elementorModules.frontend.handlers.Base);
8796 +
8797 +var _default = function _default($scope) {
8798 + elementorFrontend.elementsHandler.addHandler(GlobalHandler, {
8799 + $element: $scope
8800 + });
2403 8801 };
2404 8802
2405 -var DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype;
8803 +exports.default = _default;
2406 8804
2407 -var ERROR_HAS_STACK = 'stack' in new Error(DOM_EXCEPTION);
2408 -var DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2);
8805 +/***/ }),
8806 +/* 817 */
8807 +/***/ (function(module, exports, __webpack_require__) {
2409 8808
2410 -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2411 -var descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(globalThis, DOM_EXCEPTION);
8809 +"use strict";
2412 8810
2413 -// Bun ~ 0.1.1 DOMException have incorrect descriptor and we can't redefine it
2414 -// https://github.com/Jarred-Sumner/bun/issues/399
2415 -var BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable);
2416 8811
2417 -var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK;
8812 +module.exports = elementorModules.ViewModule.extend({
8813 + getDefaultSettings: function getDefaultSettings() {
8814 + return {
8815 + scrollDuration: 500,
8816 + selectors: {
8817 + links: 'a[href*="#"]',
8818 + targets: '.elementor-element, .elementor-menu-anchor',
8819 + scrollable: 'html, body'
8820 + }
8821 + };
8822 + },
8823 + getDefaultElements: function getDefaultElements() {
8824 + var $ = jQuery,
8825 + selectors = this.getSettings('selectors');
8826 + return {
8827 + $scrollable: $(selectors.scrollable)
8828 + };
8829 + },
8830 + bindEvents: function bindEvents() {
8831 + elementorFrontend.elements.$document.on('click', this.getSettings('selectors.links'), this.handleAnchorLinks);
8832 + },
8833 + handleAnchorLinks: function handleAnchorLinks(event) {
8834 + var clickedLink = event.currentTarget,
8835 + isSamePathname = location.pathname === clickedLink.pathname,
8836 + isSameHostname = location.hostname === clickedLink.hostname,
8837 + $anchor;
2418 8838
2419 -// `DOMException` constructor patch for `.stack` where it's required
2420 -// https://webidl.spec.whatwg.org/#es-DOMException-specialness
2421 -$({ global: true, constructor: true, forced: IS_PURE || FORCED_CONSTRUCTOR }, { // TODO: fix export logic
2422 - DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException
8839 + if (!isSameHostname || !isSamePathname || clickedLink.hash.length < 2) {
8840 + return;
8841 + }
8842 +
8843 + try {
8844 + $anchor = jQuery(clickedLink.hash).filter(this.getSettings('selectors.targets'));
8845 + } catch (e) {
8846 + return;
8847 + }
8848 +
8849 + if (!$anchor.length) {
8850 + return;
8851 + }
8852 +
8853 + var scrollTop = $anchor.offset().top,
8854 + $wpAdminBar = elementorFrontend.elements.$wpAdminBar,
8855 + $activeStickies = jQuery('.elementor-section.elementor-sticky--active:visible'),
8856 + maxStickyHeight = 0;
8857 +
8858 + if ($wpAdminBar.length > 0) {
8859 + scrollTop -= $wpAdminBar.height();
8860 + } // Offset height of tallest sticky
8861 +
8862 +
8863 + if ($activeStickies.length > 0) {
8864 + maxStickyHeight = Math.max.apply(null, $activeStickies.map(function () {
8865 + return jQuery(this).outerHeight();
8866 + }).get());
8867 + scrollTop -= maxStickyHeight;
8868 + }
8869 +
8870 + event.preventDefault();
8871 + scrollTop = elementorFrontend.hooks.applyFilters('frontend/handlers/menu_anchor/scroll_top_distance', scrollTop);
8872 + this.elements.$scrollable.animate({
8873 + scrollTop: scrollTop
8874 + }, this.getSettings('scrollDuration'), 'linear');
8875 + },
8876 + onInit: function onInit() {
8877 + elementorModules.ViewModule.prototype.onInit.apply(this, arguments);
8878 + this.bindEvents();
8879 + }
2423 8880 });
2424 8881
2425 -var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION);
2426 -var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype;
8882 +/***/ }),
8883 +/* 818 */
8884 +/***/ (function(module, exports, __webpack_require__) {
2427 8885
2428 -if (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) {
2429 - if (!IS_PURE) {
2430 - defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException));
8886 +"use strict";
8887 +
8888 +
8889 +var _interopRequireDefault = __webpack_require__(0);
8890 +
8891 +__webpack_require__(124);
8892 +
8893 +__webpack_require__(24);
8894 +
8895 +__webpack_require__(61);
8896 +
8897 +var _screenfull = _interopRequireDefault(__webpack_require__(819));
8898 +
8899 +module.exports = elementorModules.ViewModule.extend({
8900 + oldAspectRatio: null,
8901 + oldAnimation: null,
8902 + swiper: null,
8903 + player: null,
8904 + getDefaultSettings: function getDefaultSettings() {
8905 + return {
8906 + classes: {
8907 + aspectRatio: 'elementor-aspect-ratio-%s',
8908 + item: 'elementor-lightbox-item',
8909 + image: 'elementor-lightbox-image',
8910 + videoContainer: 'elementor-video-container',
8911 + videoWrapper: 'elementor-fit-aspect-ratio',
8912 + playButton: 'elementor-custom-embed-play',
8913 + playButtonIcon: 'fa',
8914 + playing: 'elementor-playing',
8915 + hidden: 'elementor-hidden',
8916 + invisible: 'elementor-invisible',
8917 + preventClose: 'elementor-lightbox-prevent-close',
8918 + slideshow: {
8919 + container: 'swiper-container',
8920 + slidesWrapper: 'swiper-wrapper',
8921 + prevButton: 'elementor-swiper-button elementor-swiper-button-prev',
8922 + nextButton: 'elementor-swiper-button elementor-swiper-button-next',
8923 + prevButtonIcon: 'eicon-chevron-left',
8924 + nextButtonIcon: 'eicon-chevron-right',
8925 + slide: 'swiper-slide',
8926 + header: 'elementor-slideshow__header',
8927 + footer: 'elementor-slideshow__footer',
8928 + title: 'elementor-slideshow__title',
8929 + description: 'elementor-slideshow__description',
8930 + counter: 'elementor-slideshow__counter',
8931 + iconExpand: 'eicon-frame-expand',
8932 + iconShrink: 'eicon-frame-minimize',
8933 + iconZoomIn: 'eicon-zoom-in-bold',
8934 + iconZoomOut: 'eicon-zoom-out-bold',
8935 + iconShare: 'eicon-share-arrow',
8936 + shareMenu: 'elementor-slideshow__share-menu',
8937 + shareLinks: 'elementor-slideshow__share-links',
8938 + hideUiVisibility: 'elementor-slideshow--ui-hidden',
8939 + shareMode: 'elementor-slideshow--share-mode',
8940 + fullscreenMode: 'elementor-slideshow--fullscreen-mode',
8941 + zoomMode: 'elementor-slideshow--zoom-mode'
8942 + }
8943 + },
8944 + selectors: {
8945 + image: '.elementor-lightbox-image',
8946 + links: 'a, [data-elementor-lightbox]',
8947 + slideshow: {
8948 + activeSlide: '.swiper-slide-active',
8949 + prevSlide: '.swiper-slide-prev',
8950 + nextSlide: '.swiper-slide-next'
8951 + }
8952 + },
8953 + modalOptions: {
8954 + id: 'elementor-lightbox',
8955 + entranceAnimation: 'zoomIn',
8956 + videoAspectRatio: 169,
8957 + position: {
8958 + enable: false
8959 + }
8960 + }
8961 + };
8962 + },
8963 + getModal: function getModal() {
8964 + if (!module.exports.modal) {
8965 + this.initModal();
8966 + }
8967 +
8968 + return module.exports.modal;
8969 + },
8970 + initModal: function initModal() {
8971 + var modal = module.exports.modal = elementorFrontend.getDialogsManager().createWidget('lightbox', {
8972 + className: 'elementor-lightbox',
8973 + closeButton: true,
8974 + closeButtonOptions: {
8975 + iconClass: 'eicon-close',
8976 + attributes: {
8977 + tabindex: 0,
8978 + role: 'button',
8979 + 'aria-label': elementorFrontend.config.i18n.close + ' (Esc)'
8980 + }
8981 + },
8982 + selectors: {
8983 + preventClose: '.' + this.getSettings('classes.preventClose')
8984 + },
8985 + hide: {
8986 + onClick: true
8987 + }
8988 + });
8989 + modal.on('hide', function () {
8990 + modal.setMessage('');
8991 + });
8992 + },
8993 + showModal: function showModal(options) {
8994 + this.elements.$closeButton = this.getModal().getElements('closeButton');
8995 + this.$buttons = this.elements.$closeButton;
8996 + this.focusedButton = null;
8997 + var self = this,
8998 + defaultOptions = self.getDefaultSettings().modalOptions;
8999 + self.id = options.id;
9000 + self.setSettings('modalOptions', jQuery.extend(defaultOptions, options.modalOptions));
9001 + var modal = self.getModal();
9002 + modal.setID(self.getSettings('modalOptions.id'));
9003 +
9004 + modal.onShow = function () {
9005 + DialogsManager.getWidgetType('lightbox').prototype.onShow.apply(modal, arguments);
9006 + self.setEntranceAnimation();
9007 + };
9008 +
9009 + modal.onHide = function () {
9010 + DialogsManager.getWidgetType('lightbox').prototype.onHide.apply(modal, arguments);
9011 + modal.getElements('message').removeClass('animated');
9012 +
9013 + if (_screenfull.default.isFullscreen) {
9014 + self.deactivateFullscreen();
9015 + }
9016 +
9017 + self.unbindHotKeys();
9018 + };
9019 +
9020 + switch (options.type) {
9021 + case 'video':
9022 + self.setVideoContent(options);
9023 + break;
9024 +
9025 + case 'image':
9026 + var slides = [{
9027 + image: options.url,
9028 + index: 0,
9029 + title: options.title,
9030 + description: options.description
9031 + }];
9032 + options.slideshow = {
9033 + slides: slides,
9034 + swiper: {
9035 + loop: false,
9036 + pagination: false
9037 + }
9038 + };
9039 +
9040 + case 'slideshow':
9041 + self.setSlideshowContent(options.slideshow);
9042 + break;
9043 +
9044 + default:
9045 + self.setHTMLContent(options.html);
9046 + }
9047 +
9048 + modal.show();
9049 + },
9050 + setHTMLContent: function setHTMLContent(html) {
9051 + this.getModal().setMessage(html);
9052 + },
9053 + setVideoContent: function setVideoContent(options) {
9054 + var $ = jQuery,
9055 + classes = this.getSettings('classes'),
9056 + $videoContainer = $('<div>', {
9057 + class: "".concat(classes.videoContainer, " ").concat(classes.preventClose)
9058 + }),
9059 + $videoWrapper = $('<div>', {
9060 + class: classes.videoWrapper
9061 + }),
9062 + modal = this.getModal();
9063 + var $videoElement;
9064 +
9065 + if ('hosted' === options.videoType) {
9066 + var videoParams = $.extend({
9067 + src: options.url,
9068 + autoplay: ''
9069 + }, options.videoParams);
9070 + $videoElement = $('<video>', videoParams);
9071 + } else {
9072 + var videoURL = options.url.replace('&autoplay=0', '') + '&autoplay=1';
9073 + $videoElement = $('<iframe>', {
9074 + src: videoURL,
9075 + allowfullscreen: 1
9076 + });
9077 + }
9078 +
9079 + $videoContainer.append($videoWrapper);
9080 + $videoWrapper.append($videoElement);
9081 + modal.setMessage($videoContainer);
9082 + this.setVideoAspectRatio();
9083 + var onHideMethod = modal.onHide;
9084 +
9085 + modal.onHide = function () {
9086 + onHideMethod();
9087 + this.$buttons = jQuery();
9088 + this.focusedButton = null;
9089 + modal.getElements('message').removeClass('elementor-fit-aspect-ratio');
9090 + };
9091 + },
9092 + getShareLinks: function getShareLinks() {
9093 + var _this = this;
9094 +
9095 + var i18n = elementorFrontend.config.i18n,
9096 + socialNetworks = {
9097 + facebook: i18n.shareOnFacebook,
9098 + twitter: i18n.shareOnTwitter,
9099 + pinterest: i18n.pinIt
9100 + },
9101 + $ = jQuery,
9102 + classes = this.getSettings('classes'),
9103 + selectors = this.getSettings('selectors'),
9104 + $linkList = $('<div>', {
9105 + class: classes.slideshow.shareLinks
9106 + }),
9107 + $activeSlide = this.getSlide('active'),
9108 + $image = $activeSlide.find(selectors.image),
9109 + videoUrl = $activeSlide.data('elementor-slideshow-video');
9110 + var itemUrl;
9111 +
9112 + if (videoUrl) {
9113 + itemUrl = videoUrl;
9114 + } else {
9115 + itemUrl = $image.attr('src');
9116 + }
9117 +
9118 + $.each(socialNetworks, function (key, networkLabel) {
9119 + var $link = $('<a>', {
9120 + href: _this.createShareLink(key, itemUrl),
9121 + target: '_blank'
9122 + }).text(networkLabel);
9123 + $link.prepend($('<i>', {
9124 + class: 'eicon-' + key
9125 + }));
9126 + $linkList.append($link);
9127 + });
9128 +
9129 + if (!videoUrl) {
9130 + $linkList.append($('<a>', {
9131 + href: itemUrl,
9132 + download: ''
9133 + }).text(i18n.downloadImage).prepend($('<i>', {
9134 + class: 'eicon-download-bold',
9135 + 'aria-label': i18n.download
9136 + })));
9137 + }
9138 +
9139 + return $linkList;
9140 + },
9141 + createShareLink: function createShareLink(networkName, itemUrl) {
9142 + var options = {};
9143 +
9144 + if ('pinterest' === networkName) {
9145 + options.image = encodeURIComponent(itemUrl);
9146 + } else {
9147 + var hash = elementorFrontend.utils.urlActions.createActionHash('lightbox', {
9148 + id: this.id,
9149 + url: itemUrl
9150 + });
9151 + options.url = encodeURIComponent(location.href.replace(/#.*/, '')) + hash;
9152 + }
9153 +
9154 + return ShareLink.getNetworkLink(networkName, options);
9155 + },
9156 + getSlideshowHeader: function getSlideshowHeader() {
9157 + var i18n = elementorFrontend.config.i18n,
9158 + $ = jQuery,
9159 + showCounter = 'yes' === elementorFrontend.getKitSettings('lightbox_enable_counter'),
9160 + showFullscreen = 'yes' === elementorFrontend.getKitSettings('lightbox_enable_fullscreen'),
9161 + showZoom = 'yes' === elementorFrontend.getKitSettings('lightbox_enable_zoom'),
9162 + showShare = 'yes' === elementorFrontend.getKitSettings('lightbox_enable_share'),
9163 + classes = this.getSettings('classes'),
9164 + slideshowClasses = classes.slideshow,
9165 + elements = this.elements;
9166 +
9167 + if (!(showCounter || showFullscreen || showZoom || showShare)) {
9168 + return;
9169 + }
9170 +
9171 + elements.$header = $('<header>', {
9172 + class: slideshowClasses.header + ' ' + classes.preventClose
9173 + });
9174 +
9175 + if (showShare) {
9176 + elements.$iconShare = $('<i>', {
9177 + class: slideshowClasses.iconShare,
9178 + role: 'button',
9179 + 'aria-label': i18n.share,
9180 + 'aria-expanded': false
9181 + }).append($('<span>'));
9182 + var $shareLinks = $('<div>');
9183 + $shareLinks.on('click', function (e) {
9184 + e.stopPropagation();
9185 + });
9186 + elements.$shareMenu = $('<div>', {
9187 + class: slideshowClasses.shareMenu
9188 + }).append($shareLinks);
9189 + elements.$iconShare.add(elements.$shareMenu).on('click', this.toggleShareMenu);
9190 + elements.$header.append(elements.$iconShare, elements.$shareMenu);
9191 + this.$buttons = this.$buttons.add(elements.$iconShare);
9192 + }
9193 +
9194 + if (showZoom) {
9195 + elements.$iconZoom = $('<i>', {
9196 + class: slideshowClasses.iconZoomIn,
9197 + role: 'switch',
9198 + 'aria-checked': false,
9199 + 'aria-label': i18n.zoom
9200 + });
9201 + elements.$iconZoom.on('click', this.toggleZoomMode);
9202 + elements.$header.append(elements.$iconZoom);
9203 + this.$buttons = this.$buttons.add(elements.$iconZoom);
9204 + }
9205 +
9206 + if (showFullscreen) {
9207 + elements.$iconExpand = $('<i>', {
9208 + class: slideshowClasses.iconExpand,
9209 + role: 'switch',
9210 + 'aria-checked': false,
9211 + 'aria-label': i18n.fullscreen
9212 + }).append($('<span>'), $('<span>'));
9213 + elements.$iconExpand.on('click', this.toggleFullscreen);
9214 + elements.$header.append(elements.$iconExpand);
9215 + this.$buttons = this.$buttons.add(elements.$iconExpand);
9216 + }
9217 +
9218 + if (showCounter) {
9219 + elements.$counter = $('<span>', {
9220 + class: slideshowClasses.counter
9221 + });
9222 + elements.$header.append(elements.$counter);
9223 + }
9224 +
9225 + return elements.$header;
9226 + },
9227 + toggleFullscreen: function toggleFullscreen() {
9228 + if (_screenfull.default.isFullscreen) {
9229 + this.deactivateFullscreen();
9230 + } else if (_screenfull.default.isEnabled) {
9231 + this.activateFullscreen();
9232 + }
9233 + },
9234 + toggleZoomMode: function toggleZoomMode() {
9235 + if (1 !== this.swiper.zoom.scale) {
9236 + this.deactivateZoom();
9237 + } else {
9238 + this.activateZoom();
9239 + }
9240 + },
9241 + toggleShareMenu: function toggleShareMenu() {
9242 + if (this.shareMode) {
9243 + this.deactivateShareMode();
9244 + } else {
9245 + this.elements.$shareMenu.html(this.getShareLinks());
9246 + this.activateShareMode();
9247 + }
9248 + },
9249 + activateShareMode: function activateShareMode() {
9250 + var classes = this.getSettings('classes');
9251 + this.elements.$container.addClass(classes.slideshow.shareMode);
9252 + this.elements.$iconShare.attr('aria-expanded', true); // Prevent swiper interactions while in share mode
9253 +
9254 + this.swiper.detachEvents(); // Temporarily replace tabbable buttons with share-menu items
9255 +
9256 + this.$originalButtons = this.$buttons;
9257 + this.$buttons = this.elements.$iconShare.add(this.elements.$shareMenu.find('a'));
9258 + this.shareMode = true;
9259 + },
9260 + deactivateShareMode: function deactivateShareMode() {
9261 + var classes = this.getSettings('classes');
9262 + this.elements.$container.removeClass(classes.slideshow.shareMode);
9263 + this.elements.$iconShare.attr('aria-expanded', false);
9264 + this.swiper.attachEvents();
9265 + this.$buttons = this.$originalButtons;
9266 + this.shareMode = false;
9267 + },
9268 + activateFullscreen: function activateFullscreen() {
9269 + var classes = this.getSettings('classes');
9270 +
9271 + _screenfull.default.request(this.elements.$container.parents('.dialog-widget')[0]);
9272 +
9273 + this.elements.$iconExpand.removeClass(classes.slideshow.iconExpand).addClass(classes.slideshow.iconShrink).attr('aria-checked', 'true');
9274 + this.elements.$container.addClass(classes.slideshow.fullscreenMode);
9275 + },
9276 + deactivateFullscreen: function deactivateFullscreen() {
9277 + var classes = this.getSettings('classes');
9278 +
9279 + _screenfull.default.exit();
9280 +
9281 + this.elements.$iconExpand.removeClass(classes.slideshow.iconShrink).addClass(classes.slideshow.iconExpand).attr('aria-checked', 'false');
9282 + this.elements.$container.removeClass(classes.slideshow.fullscreenMode);
9283 + },
9284 + activateZoom: function activateZoom() {
9285 + var swiper = this.swiper,
9286 + elements = this.elements,
9287 + classes = this.getSettings('classes');
9288 + swiper.zoom.in();
9289 + swiper.allowSlideNext = false;
9290 + swiper.allowSlidePrev = false;
9291 + swiper.allowTouchMove = false;
9292 + elements.$container.addClass(classes.slideshow.zoomMode);
9293 + elements.$iconZoom.removeClass(classes.slideshow.iconZoomIn).addClass(classes.slideshow.iconZoomOut);
9294 + },
9295 + deactivateZoom: function deactivateZoom() {
9296 + var swiper = this.swiper,
9297 + elements = this.elements,
9298 + classes = this.getSettings('classes');
9299 + swiper.zoom.out();
9300 + swiper.allowSlideNext = true;
9301 + swiper.allowSlidePrev = true;
9302 + swiper.allowTouchMove = true;
9303 + elements.$container.removeClass(classes.slideshow.zoomMode);
9304 + elements.$iconZoom.removeClass(classes.slideshow.iconZoomOut).addClass(classes.slideshow.iconZoomIn);
9305 + },
9306 + getSlideshowFooter: function getSlideshowFooter() {
9307 + var $ = jQuery,
9308 + classes = this.getSettings('classes'),
9309 + $footer = $('<footer>', {
9310 + class: classes.slideshow.footer + ' ' + classes.preventClose
9311 + }),
9312 + $title = $('<div>', {
9313 + class: classes.slideshow.title
9314 + }),
9315 + $description = $('<div>', {
9316 + class: classes.slideshow.description
9317 + });
9318 + $footer.append($title, $description);
9319 + return $footer;
9320 + },
9321 + setSlideshowContent: function setSlideshowContent(options) {
9322 + var _this2 = this;
9323 +
9324 + var i18n = elementorFrontend.config.i18n,
9325 + $ = jQuery,
9326 + isSingleSlide = 1 === options.slides.length,
9327 + hasTitle = '' !== elementorFrontend.getKitSettings('lightbox_title_src'),
9328 + hasDescription = '' !== elementorFrontend.getKitSettings('lightbox_description_src'),
9329 + showFooter = hasTitle || hasDescription,
9330 + classes = this.getSettings('classes'),
9331 + slideshowClasses = classes.slideshow,
9332 + $container = $('<div>', {
9333 + class: slideshowClasses.container
9334 + }),
9335 + $slidesWrapper = $('<div>', {
9336 + class: slideshowClasses.slidesWrapper
9337 + });
9338 + var $prevButton, $nextButton;
9339 + options.slides.forEach(function (slide) {
9340 + var slideClass = slideshowClasses.slide + ' ' + classes.item;
9341 +
9342 + if (slide.video) {
9343 + slideClass += ' ' + classes.video;
9344 + }
9345 +
9346 + var $slide = $('<div>', {
9347 + class: slideClass
9348 + });
9349 +
9350 + if (slide.video) {
9351 + $slide.attr('data-elementor-slideshow-video', slide.video);
9352 + var $playIcon = $('<div>', {
9353 + class: classes.playButton
9354 + }).html($('<i>', {
9355 + class: classes.playButtonIcon,
9356 + 'aria-label': i18n.playVideo
9357 + }));
9358 + $slide.append($playIcon);
9359 + } else {
9360 + var $zoomContainer = $('<div>', {
9361 + class: 'swiper-zoom-container'
9362 + }),
9363 + $slidePlaceholder = $('<div class="swiper-lazy-preloader"></div>'),
9364 + imageAttributes = {
9365 + 'data-src': slide.image,
9366 + class: classes.image + ' ' + classes.preventClose + ' swiper-lazy'
9367 + };
9368 +
9369 + if (slide.title) {
9370 + imageAttributes['data-title'] = slide.title;
9371 + imageAttributes.alt = slide.title;
9372 + }
9373 +
9374 + if (slide.description) {
9375 + imageAttributes['data-description'] = slide.description;
9376 + imageAttributes.alt += ' - ' + slide.description;
9377 + }
9378 +
9379 + var $slideImage = $('<img>', imageAttributes);
9380 + $zoomContainer.append([$slideImage, $slidePlaceholder]);
9381 + $slide.append($zoomContainer);
9382 + }
9383 +
9384 + $slidesWrapper.append($slide);
9385 + });
9386 + this.elements.$container = $container;
9387 + this.elements.$header = this.getSlideshowHeader();
9388 + $container.prepend(this.elements.$header).append($slidesWrapper);
9389 +
9390 + if (!isSingleSlide) {
9391 + $prevButton = $('<div>', {
9392 + class: slideshowClasses.prevButton + ' ' + classes.preventClose,
9393 + 'aria-label': i18n.previous
9394 + }).html($('<i>', {
9395 + class: slideshowClasses.prevButtonIcon
9396 + }));
9397 + $nextButton = $('<div>', {
9398 + class: slideshowClasses.nextButton + ' ' + classes.preventClose,
9399 + 'aria-label': i18n.next
9400 + }).html($('<i>', {
9401 + class: slideshowClasses.nextButtonIcon
9402 + }));
9403 + $container.append($nextButton, $prevButton);
9404 + this.$buttons = this.$buttons.add($nextButton).add($prevButton);
9405 + }
9406 +
9407 + if (showFooter) {
9408 + this.elements.$footer = this.getSlideshowFooter();
9409 + $container.append(this.elements.$footer);
9410 + }
9411 +
9412 + this.setSettings('hideUiTimeout', '');
9413 + $container.on('click mousemove keypress', this.showLightboxUi);
9414 + var modal = this.getModal();
9415 + modal.setMessage($container);
9416 + var onShowMethod = modal.onShow;
9417 +
9418 + modal.onShow = function () {
9419 + onShowMethod();
9420 + var swiperOptions = {
9421 + pagination: {
9422 + el: '.' + slideshowClasses.counter,
9423 + type: 'fraction'
9424 + },
9425 + on: {
9426 + slideChangeTransitionEnd: _this2.onSlideChange
9427 + },
9428 + lazy: {
9429 + loadPrevNext: true
9430 + },
9431 + zoom: true,
9432 + spaceBetween: 100,
9433 + grabCursor: true,
9434 + runCallbacksOnInit: false,
9435 + loop: true,
9436 + keyboard: true,
9437 + handleElementorBreakpoints: true
9438 + };
9439 +
9440 + if (!isSingleSlide) {
9441 + swiperOptions.navigation = {
9442 + prevEl: $prevButton,
9443 + nextEl: $nextButton
9444 + };
9445 + }
9446 +
9447 + if (options.swiper) {
9448 + $.extend(swiperOptions, options.swiper);
9449 + }
9450 +
9451 + _this2.swiper = new Swiper($container, swiperOptions); // Expose the swiper instance in the frontend
9452 +
9453 + $container.data('swiper', _this2.swiper);
9454 +
9455 + _this2.setVideoAspectRatio();
9456 +
9457 + _this2.playSlideVideo();
9458 +
9459 + if (showFooter) {
9460 + _this2.updateFooterText();
9461 + }
9462 +
9463 + _this2.bindHotKeys();
9464 +
9465 + _this2.makeButtonsAccessible();
9466 + };
9467 + },
9468 + makeButtonsAccessible: function makeButtonsAccessible() {
9469 + this.$buttons.attr('tabindex', 0).on('keypress', function (event) {
9470 + var ENTER_KEY = 13,
9471 + SPACE_KEY = 32;
9472 +
9473 + if (ENTER_KEY === event.which || SPACE_KEY === event.which) {
9474 + jQuery(event.currentTarget).trigger('click');
9475 + }
9476 + });
9477 + },
9478 + showLightboxUi: function showLightboxUi() {
9479 + var _this3 = this;
9480 +
9481 + var slideshowClasses = this.getSettings('classes').slideshow;
9482 + this.elements.$container.removeClass(slideshowClasses.hideUiVisibility);
9483 + clearTimeout(this.getSettings('hideUiTimeout'));
9484 + this.setSettings('hideUiTimeout', setTimeout(function () {
9485 + if (!_this3.shareMode) {
9486 + _this3.elements.$container.addClass(slideshowClasses.hideUiVisibility);
9487 + }
9488 + }, 3500));
9489 + },
9490 + bindHotKeys: function bindHotKeys() {
9491 + this.getModal().getElements('window').on('keydown', this.activeKeyDown);
9492 + },
9493 + unbindHotKeys: function unbindHotKeys() {
9494 + this.getModal().getElements('window').off('keydown', this.activeKeyDown);
9495 + },
9496 + activeKeyDown: function activeKeyDown(event) {
9497 + this.showLightboxUi();
9498 + var TAB_KEY = 9;
9499 +
9500 + if (event.which === TAB_KEY) {
9501 + var $buttons = this.$buttons;
9502 + var focusedButton,
9503 + isFirst = false,
9504 + isLast = false;
9505 + $buttons.each(function (index) {
9506 + var item = $buttons[index];
9507 +
9508 + if (jQuery(item).is(':focus')) {
9509 + focusedButton = item;
9510 + isFirst = 0 === index;
9511 + isLast = $buttons.length - 1 === index;
9512 + return false;
9513 + }
9514 + });
9515 +
9516 + if (event.shiftKey) {
9517 + if (isFirst) {
9518 + event.preventDefault();
9519 + $buttons.last().focus();
9520 + }
9521 + } else if (isLast || !focusedButton) {
9522 + event.preventDefault();
9523 + $buttons.first().focus();
9524 + }
9525 + }
9526 + },
9527 + setVideoAspectRatio: function setVideoAspectRatio(aspectRatio) {
9528 + aspectRatio = aspectRatio || this.getSettings('modalOptions.videoAspectRatio');
9529 + var $widgetContent = this.getModal().getElements('widgetContent'),
9530 + oldAspectRatio = this.oldAspectRatio,
9531 + aspectRatioClass = this.getSettings('classes.aspectRatio');
9532 + this.oldAspectRatio = aspectRatio;
9533 +
9534 + if (oldAspectRatio) {
9535 + $widgetContent.removeClass(aspectRatioClass.replace('%s', oldAspectRatio));
9536 + }
9537 +
9538 + if (aspectRatio) {
9539 + $widgetContent.addClass(aspectRatioClass.replace('%s', aspectRatio));
9540 + }
9541 + },
9542 + getSlide: function getSlide(slideState) {
9543 + return jQuery(this.swiper.slides).filter(this.getSettings('selectors.slideshow.' + slideState + 'Slide'));
9544 + },
9545 + updateFooterText: function updateFooterText() {
9546 + if (!this.elements.$footer) {
9547 + return;
9548 + }
9549 +
9550 + var classes = this.getSettings('classes'),
9551 + $activeSlide = this.getSlide('active'),
9552 + $image = $activeSlide.find('.elementor-lightbox-image'),
9553 + titleText = $image.data('title'),
9554 + descriptionText = $image.data('description'),
9555 + $title = this.elements.$footer.find('.' + classes.slideshow.title),
9556 + $description = this.elements.$footer.find('.' + classes.slideshow.description);
9557 + $title.text(titleText || '');
9558 + $description.text(descriptionText || '');
9559 + },
9560 + playSlideVideo: function playSlideVideo() {
9561 + var _this4 = this;
9562 +
9563 + var $activeSlide = this.getSlide('active'),
9564 + videoURL = $activeSlide.data('elementor-slideshow-video');
9565 +
9566 + if (!videoURL) {
9567 + return;
9568 + }
9569 +
9570 + var classes = this.getSettings('classes'),
9571 + $videoContainer = jQuery('<div>', {
9572 + class: classes.videoContainer + ' ' + classes.invisible
9573 + }),
9574 + $videoWrapper = jQuery('<div>', {
9575 + class: classes.videoWrapper
9576 + }),
9577 + $playIcon = $activeSlide.children('.' + classes.playButton);
9578 + var videoType, apiProvider;
9579 + $videoContainer.append($videoWrapper);
9580 + $activeSlide.append($videoContainer);
9581 +
9582 + if (-1 !== videoURL.indexOf('vimeo.com')) {
9583 + videoType = 'vimeo';
9584 + apiProvider = elementorFrontend.utils.vimeo;
9585 + } else if (videoURL.match(/^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com)/)) {
9586 + videoType = 'youtube';
9587 + apiProvider = elementorFrontend.utils.youtube;
9588 + }
9589 +
9590 + var videoID = apiProvider.getVideoIDFromURL(videoURL);
9591 + apiProvider.onApiReady(function (apiObject) {
9592 + if ('youtube' === videoType) {
9593 + _this4.prepareYTVideo(apiObject, videoID, $videoContainer, $videoWrapper, $playIcon);
9594 + } else if ('vimeo' === videoType) {
9595 + _this4.prepareVimeoVideo(apiObject, videoID, $videoContainer, $videoWrapper, $playIcon);
9596 + }
9597 + });
9598 + $playIcon.addClass(classes.playing).removeClass(classes.hidden);
9599 + },
9600 + prepareYTVideo: function prepareYTVideo(YT, videoID, $videoContainer, $videoWrapper, $playIcon) {
9601 + var _this5 = this;
9602 +
9603 + var classes = this.getSettings('classes'),
9604 + $videoPlaceholderElement = jQuery('<div>');
9605 + var startStateCode = YT.PlayerState.PLAYING;
9606 + $videoWrapper.append($videoPlaceholderElement); // Since version 67, Chrome doesn't fire the `PLAYING` state at start time
9607 +
9608 + if (window.chrome) {
9609 + startStateCode = YT.PlayerState.UNSTARTED;
9610 + }
9611 +
9612 + $videoContainer.addClass('elementor-loading' + ' ' + classes.invisible);
9613 + this.player = new YT.Player($videoPlaceholderElement[0], {
9614 + videoId: videoID,
9615 + events: {
9616 + onReady: function onReady() {
9617 + $playIcon.addClass(classes.hidden);
9618 + $videoContainer.removeClass(classes.invisible);
9619 +
9620 + _this5.player.playVideo();
9621 + },
9622 + onStateChange: function onStateChange(event) {
9623 + if (event.data === startStateCode) {
9624 + $videoContainer.removeClass('elementor-loading' + ' ' + classes.invisible);
9625 + }
9626 + }
9627 + },
9628 + playerVars: {
9629 + controls: 0,
9630 + rel: 0
9631 + }
9632 + });
9633 + },
9634 + prepareVimeoVideo: function prepareVimeoVideo(Vimeo, videoId, $videoContainer, $videoWrapper, $playIcon) {
9635 + var classes = this.getSettings('classes'),
9636 + vimeoOptions = {
9637 + id: videoId,
9638 + autoplay: true,
9639 + transparent: false,
9640 + playsinline: false
9641 + };
9642 + this.player = new Vimeo.Player($videoWrapper, vimeoOptions);
9643 + this.player.ready().then(function () {
9644 + $playIcon.addClass(classes.hidden);
9645 + $videoContainer.removeClass(classes.invisible);
9646 + });
9647 + },
9648 + setEntranceAnimation: function setEntranceAnimation(animation) {
9649 + animation = animation || elementorFrontend.getCurrentDeviceSetting(this.getSettings('modalOptions'), 'entranceAnimation');
9650 + var $widgetMessage = this.getModal().getElements('message');
9651 +
9652 + if (this.oldAnimation) {
9653 + $widgetMessage.removeClass(this.oldAnimation);
9654 + }
9655 +
9656 + this.oldAnimation = animation;
9657 +
9658 + if (animation) {
9659 + $widgetMessage.addClass('animated ' + animation);
9660 + }
9661 + },
9662 + isLightboxLink: function isLightboxLink(element) {
9663 + if ('A' === element.tagName && (element.hasAttribute('download') || !/^[^?]+\.(png|jpe?g|gif|svg|webp)(\?.*)?$/i.test(element.href))) {
9664 + return false;
9665 + }
9666 +
9667 + var generalOpenInLightbox = elementorFrontend.getKitSettings('global_image_lightbox'),
9668 + currentLinkOpenInLightbox = element.dataset.elementorOpenLightbox;
9669 + return 'yes' === currentLinkOpenInLightbox || generalOpenInLightbox && 'no' !== currentLinkOpenInLightbox;
9670 + },
9671 + openSlideshow: function openSlideshow(slideshowID, initialSlideURL) {
9672 + var $allSlideshowLinks = jQuery(this.getSettings('selectors.links')).filter(function (index, element) {
9673 + var $element = jQuery(element);
9674 + return slideshowID === element.dataset.elementorLightboxSlideshow && !$element.parent('.swiper-slide-duplicate').length && !$element.parents('.slick-cloned').length;
9675 + });
9676 + var slides = [];
9677 + var initialSlideIndex = 0;
9678 + $allSlideshowLinks.each(function () {
9679 + var slideVideo = this.dataset.elementorLightboxVideo;
9680 + var slideIndex = this.dataset.elementorLightboxIndex;
9681 +
9682 + if (undefined === slideIndex) {
9683 + slideIndex = $allSlideshowLinks.index(this);
9684 + }
9685 +
9686 + if (initialSlideURL === this.href || slideVideo && initialSlideURL === slideVideo) {
9687 + initialSlideIndex = slideIndex;
9688 + }
9689 +
9690 + var slideData = {
9691 + image: this.href,
9692 + index: slideIndex,
9693 + title: this.dataset.elementorLightboxTitle,
9694 + description: this.dataset.elementorLightboxDescription
9695 + };
9696 +
9697 + if (slideVideo) {
9698 + slideData.video = slideVideo;
9699 + }
9700 +
9701 + slides.push(slideData);
9702 + });
9703 + slides.sort(function (a, b) {
9704 + return a.index - b.index;
9705 + });
9706 + this.showModal({
9707 + type: 'slideshow',
9708 + id: slideshowID,
9709 + modalOptions: {
9710 + id: 'elementor-lightbox-slideshow-' + slideshowID
9711 + },
9712 + slideshow: {
9713 + slides: slides,
9714 + swiper: {
9715 + initialSlide: +initialSlideIndex
9716 + }
9717 + }
9718 + });
9719 + },
9720 + openLink: function openLink(event) {
9721 + var element = event.currentTarget,
9722 + $target = jQuery(event.target),
9723 + editMode = elementorFrontend.isEditMode(),
9724 + isClickInsideElementor = !!$target.closest('.elementor-edit-area').length;
9725 +
9726 + if (!this.isLightboxLink(element)) {
9727 + if (editMode && isClickInsideElementor) {
9728 + event.preventDefault();
9729 + }
9730 +
9731 + return;
9732 + }
9733 +
9734 + event.preventDefault();
9735 +
9736 + if (editMode && !elementor.getPreferences('lightbox_in_editor')) {
9737 + return;
9738 + }
9739 +
9740 + var lightboxData = {};
9741 +
9742 + if (element.dataset.elementorLightbox) {
9743 + lightboxData = JSON.parse(element.dataset.elementorLightbox);
9744 + }
9745 +
9746 + if (lightboxData.type && 'slideshow' !== lightboxData.type) {
9747 + this.showModal(lightboxData);
9748 + return;
9749 + }
9750 +
9751 + if (!element.dataset.elementorLightboxSlideshow) {
9752 + var slideshowID = 'single-img';
9753 + this.showModal({
9754 + type: 'image',
9755 + id: slideshowID,
9756 + url: element.href,
9757 + title: element.dataset.elementorLightboxTitle,
9758 + description: element.dataset.elementorLightboxDescription,
9759 + modalOptions: {
9760 + id: 'elementor-lightbox-slideshow-' + slideshowID
9761 + }
9762 + });
9763 + return;
9764 + }
9765 +
9766 + var initialSlideURL = element.dataset.elementorLightboxVideo ? element.dataset.elementorLightboxVideo : element.href;
9767 + this.openSlideshow(element.dataset.elementorLightboxSlideshow, initialSlideURL);
9768 + },
9769 + bindEvents: function bindEvents() {
9770 + elementorFrontend.elements.$document.on('click', this.getSettings('selectors.links'), this.openLink);
9771 + },
9772 + onSlideChange: function onSlideChange() {
9773 + this.getSlide('prev').add(this.getSlide('next')).add(this.getSlide('active')).find('.' + this.getSettings('classes.videoWrapper')).remove();
9774 + this.playSlideVideo();
9775 + this.updateFooterText();
2431 9776 }
9777 +});
2432 9778
2433 - for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) {
2434 - var constant = DOMExceptionConstants[key];
2435 - var constantName = constant.s;
2436 - if (!hasOwn(PolyfilledDOMException, constantName)) {
2437 - defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c));
9779 +/***/ }),
9780 +/* 819 */
9781 +/***/ (function(module, exports, __webpack_require__) {
9782 +
9783 +"use strict";
9784 +
9785 +
9786 +var _interopRequireDefault = __webpack_require__(0);
9787 +
9788 +var _defineProperties = _interopRequireDefault(__webpack_require__(273));
9789 +
9790 +var _promise = _interopRequireDefault(__webpack_require__(134));
9791 +
9792 +(function () {
9793 + 'use strict';
9794 +
9795 + var document = typeof window !== 'undefined' && typeof window.document !== 'undefined' ? window.document : {};
9796 + var isCommonjs = true && module.exports;
9797 +
9798 + var fn = function () {
9799 + var val;
9800 + var fnMap = [['requestFullscreen', 'exitFullscreen', 'fullscreenElement', 'fullscreenEnabled', 'fullscreenchange', 'fullscreenerror'], // New WebKit
9801 + ['webkitRequestFullscreen', 'webkitExitFullscreen', 'webkitFullscreenElement', 'webkitFullscreenEnabled', 'webkitfullscreenchange', 'webkitfullscreenerror'], // Old WebKit
9802 + ['webkitRequestFullScreen', 'webkitCancelFullScreen', 'webkitCurrentFullScreenElement', 'webkitCancelFullScreen', 'webkitfullscreenchange', 'webkitfullscreenerror'], ['mozRequestFullScreen', 'mozCancelFullScreen', 'mozFullScreenElement', 'mozFullScreenEnabled', 'mozfullscreenchange', 'mozfullscreenerror'], ['msRequestFullscreen', 'msExitFullscreen', 'msFullscreenElement', 'msFullscreenEnabled', 'MSFullscreenChange', 'MSFullscreenError']];
9803 + var i = 0;
9804 + var l = fnMap.length;
9805 + var ret = {};
9806 +
9807 + for (; i < l; i++) {
9808 + val = fnMap[i];
9809 +
9810 + if (val && val[1] in document) {
9811 + var valLength = val.length;
9812 +
9813 + for (i = 0; i < valLength; i++) {
9814 + ret[fnMap[0][i]] = val[i];
9815 + }
9816 +
9817 + return ret;
9818 + }
2438 9819 }
9820 +
9821 + return false;
9822 + }();
9823 +
9824 + var eventNameMap = {
9825 + change: fn.fullscreenchange,
9826 + error: fn.fullscreenerror
9827 + };
9828 + var screenfull = {
9829 + request: function request(element) {
9830 + return new _promise.default(function (resolve, reject) {
9831 + var onFullScreenEntered = function () {
9832 + this.off('change', onFullScreenEntered);
9833 + resolve();
9834 + }.bind(this);
9835 +
9836 + this.on('change', onFullScreenEntered);
9837 + element = element || document.documentElement;
9838 +
9839 + _promise.default.resolve(element[fn.requestFullscreen]()).catch(reject);
9840 + }.bind(this));
9841 + },
9842 + exit: function exit() {
9843 + return new _promise.default(function (resolve, reject) {
9844 + if (!this.isFullscreen) {
9845 + resolve();
9846 + return;
9847 + }
9848 +
9849 + var onFullScreenExit = function () {
9850 + this.off('change', onFullScreenExit);
9851 + resolve();
9852 + }.bind(this);
9853 +
9854 + this.on('change', onFullScreenExit);
9855 +
9856 + _promise.default.resolve(document[fn.exitFullscreen]()).catch(reject);
9857 + }.bind(this));
9858 + },
9859 + toggle: function toggle(element) {
9860 + return this.isFullscreen ? this.exit() : this.request(element);
9861 + },
9862 + onchange: function onchange(callback) {
9863 + this.on('change', callback);
9864 + },
9865 + onerror: function onerror(callback) {
9866 + this.on('error', callback);
9867 + },
9868 + on: function on(event, callback) {
9869 + var eventName = eventNameMap[event];
9870 +
9871 + if (eventName) {
9872 + document.addEventListener(eventName, callback, false);
9873 + }
9874 + },
9875 + off: function off(event, callback) {
9876 + var eventName = eventNameMap[event];
9877 +
9878 + if (eventName) {
9879 + document.removeEventListener(eventName, callback, false);
9880 + }
9881 + },
9882 + raw: fn
9883 + };
9884 +
9885 + if (!fn) {
9886 + if (isCommonjs) {
9887 + module.exports = {
9888 + isEnabled: false
9889 + };
9890 + } else {
9891 + window.screenfull = {
9892 + isEnabled: false
9893 + };
9894 + }
9895 +
9896 + return;
2439 9897 }
2440 -}
2441 9898
9899 + (0, _defineProperties.default)(screenfull, {
9900 + isFullscreen: {
9901 + get: function get() {
9902 + return Boolean(document[fn.fullscreenElement]);
9903 + }
9904 + },
9905 + element: {
9906 + enumerable: true,
9907 + get: function get() {
9908 + return document[fn.fullscreenElement];
9909 + }
9910 + },
9911 + isEnabled: {
9912 + enumerable: true,
9913 + get: function get() {
9914 + // Coerce to boolean in case of old WebKit
9915 + return Boolean(document[fn.fullscreenEnabled]);
9916 + }
9917 + }
9918 + });
2442 9919
9920 + if (isCommonjs) {
9921 + module.exports = screenfull;
9922 + } else {
9923 + window.screenfull = screenfull;
9924 + }
9925 +})();
9926 +
2443 9927 /***/ })
2444 -
2445 -},
2446 -/******/ __webpack_require__ => { // webpackRuntimeModules
2447 -/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
2448 -/******/ __webpack_require__.O(0, ["frontend-modules"], () => (__webpack_exec__("../assets/dev/js/frontend/frontend.js")));
2449 -/******/ var __webpack_exports__ = __webpack_require__.O();
2450 -/******/ }
2451 -]);
9928 +/******/ ]);
2452 9929 //# sourceMappingURL=frontend.js.map