PluginProbe
Elementor Website Builder – more than just a page builder / 3.0.7
Elementor Website Builder – more than just a page builder v3.0.7
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 4.0.8 All 454 releases
← All changes | assets/js/frontend.js +9342 -1873 4.2.0-beta2 → 3.0.7 View file →
@@ -1,1777 +1,4683 @@
1 -"use strict";
2 -(self["webpackChunkelementorFrontend"] = self["webpackChunkelementorFrontend"] || []).push([["frontend"],{
1 +/*! elementor - v3.0.7 - 09-09-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 = 789);
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__(156);
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__(139);
148 +
149 +var setPrototypeOf = __webpack_require__(137);
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__(107);
70 173
174 +var getPrototypeOf = __webpack_require__(16);
71 175
176 +var isNativeReflectConstruct = __webpack_require__(149);
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__(171);
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__(31);
214 +var hide = __webpack_require__(24);
215 +var has = __webpack_require__(19);
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__(76)('wks');
301 +var uid = __webpack_require__(59);
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 +/* 12 */
316 +/***/ (function(module, exports, __webpack_require__) {
317 +
318 +var store = __webpack_require__(67)('wks');
319 +var uid = __webpack_require__(68);
320 +var Symbol = __webpack_require__(17).Symbol;
321 +var USE_SYMBOL = typeof Symbol == 'function';
322 +
323 +var $exports = module.exports = function (name) {
324 + return store[name] || (store[name] =
325 + USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
326 +};
327 +
328 +$exports.store = store;
329 +
330 +
331 +/***/ }),
332 +/* 13 */
333 +/***/ (function(module, exports, __webpack_require__) {
334 +
335 +var isObject = __webpack_require__(9);
336 +module.exports = function (it) {
337 + if (!isObject(it)) throw TypeError(it + ' is not an object!');
338 + return it;
339 +};
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__(22)(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__(13);
357 +var IE8_DOM_DEFINE = __webpack_require__(114);
358 +var toPrimitive = __webpack_require__(74);
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__(158);
379 +
380 +var _Object$setPrototypeOf = __webpack_require__(115);
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 +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
396 +var global = module.exports = typeof window != 'undefined' && window.Math == Math
397 + ? window : typeof self != 'undefined' && self.Math == Math ? self
398 + // eslint-disable-next-line no-new-func
399 + : Function('return this')();
400 +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
401 +
402 +
403 +/***/ }),
404 +/* 18 */
405 +/***/ (function(module, exports, __webpack_require__) {
406 +
407 +var isObject = __webpack_require__(30);
408 +module.exports = function (it) {
409 + if (!isObject(it)) throw TypeError(it + ' is not an object!');
410 + return it;
226 411 };
227 412
413 +
228 414 /***/ }),
415 +/* 19 */
416 +/***/ (function(module, exports) {
229 417
230 -/***/ "../assets/dev/js/frontend/frontend.js":
231 -/*!*********************************************!*\
232 - !*** ../assets/dev/js/frontend/frontend.js ***!
233 - \*********************************************/
234 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
418 +var hasOwnProperty = {}.hasOwnProperty;
419 +module.exports = function (it, key) {
420 + return hasOwnProperty.call(it, key);
421 +};
235 422
236 423
424 +/***/ }),
425 +/* 20 */
426 +/***/ (function(module, exports, __webpack_require__) {
237 427
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 */
428 +// to indexed object, toObject with fallback for non-array-like ES3 strings
429 +var IObject = __webpack_require__(104);
430 +var defined = __webpack_require__(65);
431 +module.exports = function (it) {
432 + return IObject(defined(it));
433 +};
264 434
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();
435 +
436 +/***/ }),
437 +/* 21 */,
438 +/* 22 */
439 +/***/ (function(module, exports) {
440 +
441 +module.exports = function (exec) {
442 + try {
443 + return !!exec();
444 + } catch (e) {
445 + return true;
283 446 }
447 +};
284 448
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;
449 +
450 +/***/ }),
451 +/* 23 */
452 +/***/ (function(module, exports, __webpack_require__) {
453 +
454 +module.exports = __webpack_require__(201);
455 +
456 +/***/ }),
457 +/* 24 */
458 +/***/ (function(module, exports, __webpack_require__) {
459 +
460 +var dP = __webpack_require__(15);
461 +var createDesc = __webpack_require__(44);
462 +module.exports = __webpack_require__(14) ? function (object, key, value) {
463 + return dP.f(object, key, createDesc(1, value));
464 +} : function (object, key, value) {
465 + object[key] = value;
466 + return object;
467 +};
468 +
469 +
470 +/***/ }),
471 +/* 25 */
472 +/***/ (function(module, exports, __webpack_require__) {
473 +
474 +"use strict";
475 +
476 +// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)
477 +var $export = __webpack_require__(34);
478 +var $find = __webpack_require__(182)(5);
479 +var KEY = 'find';
480 +var forced = true;
481 +// Shouldn't skip holes
482 +if (KEY in []) Array(1)[KEY](function () { forced = false; });
483 +$export($export.P + $export.F * forced, 'Array', {
484 + find: function find(callbackfn /* , that = undefined */) {
485 + return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
293 486 }
294 - getDefaultSettings() {
295 - return {
296 - selectors: {
297 - elementor: '.elementor',
298 - adminBar: '#wpadminbar'
487 +});
488 +__webpack_require__(87)(KEY);
489 +
490 +
491 +/***/ }),
492 +/* 26 */
493 +/***/ (function(module, exports, __webpack_require__) {
494 +
495 +var _Object$getOwnPropertyDescriptor = __webpack_require__(124);
496 +
497 +var _Reflect$get = __webpack_require__(193);
498 +
499 +var superPropBase = __webpack_require__(196);
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 +/***/ (function(module, exports, __webpack_require__) {
527 +
528 +// Thank's IE8 for his funny defineProperty
529 +module.exports = !__webpack_require__(33)(function () {
530 + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
531 +});
532 +
533 +
534 +/***/ }),
535 +/* 28 */,
536 +/* 29 */
537 +/***/ (function(module, exports, __webpack_require__) {
538 +
539 +var dP = __webpack_require__(45);
540 +var createDesc = __webpack_require__(103);
541 +module.exports = __webpack_require__(27) ? function (object, key, value) {
542 + return dP.f(object, key, createDesc(1, value));
543 +} : function (object, key, value) {
544 + object[key] = value;
545 + return object;
546 +};
547 +
548 +
549 +/***/ }),
550 +/* 30 */
551 +/***/ (function(module, exports) {
552 +
553 +module.exports = function (it) {
554 + return typeof it === 'object' ? it !== null : typeof it === 'function';
555 +};
556 +
557 +
558 +/***/ }),
559 +/* 31 */
560 +/***/ (function(module, exports, __webpack_require__) {
561 +
562 +// optional / simple context binding
563 +var aFunction = __webpack_require__(38);
564 +module.exports = function (fn, that, length) {
565 + aFunction(fn);
566 + if (that === undefined) return fn;
567 + switch (length) {
568 + case 1: return function (a) {
569 + return fn.call(that, a);
313 570 };
314 - defaultElements.$body.append(defaultElements.$deviceMode);
315 - return defaultElements;
571 + case 2: return function (a, b) {
572 + return fn.call(that, a, b);
573 + };
574 + case 3: return function (a, b, c) {
575 + return fn.call(that, a, b, c);
576 + };
316 577 }
317 - bindEvents() {
318 - this.elements.$window.on('resize', () => this.setDeviceModeData());
578 + return function (/* ...args */) {
579 + return fn.apply(that, arguments);
580 + };
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 = function (exec) {
600 + try {
601 + return !!exec();
602 + } catch (e) {
603 + return true;
319 604 }
605 +};
320 606
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);
607 +
608 +/***/ }),
609 +/* 34 */
610 +/***/ (function(module, exports, __webpack_require__) {
611 +
612 +var global = __webpack_require__(17);
613 +var core = __webpack_require__(54);
614 +var hide = __webpack_require__(29);
615 +var redefine = __webpack_require__(37);
616 +var ctx = __webpack_require__(73);
617 +var PROTOTYPE = 'prototype';
618 +
619 +var $export = function (type, name, source) {
620 + var IS_FORCED = type & $export.F;
621 + var IS_GLOBAL = type & $export.G;
622 + var IS_STATIC = type & $export.S;
623 + var IS_PROTO = type & $export.P;
624 + var IS_BIND = type & $export.B;
625 + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];
626 + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
627 + var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
628 + var key, own, out, exp;
629 + if (IS_GLOBAL) source = name;
630 + for (key in source) {
631 + // contains in native
632 + own = !IS_FORCED && target && target[key] !== undefined;
633 + // export native or passed
634 + out = (own ? target : source)[key];
635 + // bind timers to global for call from export context
636 + exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
637 + // extend global
638 + if (target) redefine(target, key, out, type & $export.U);
639 + // export
640 + if (exports[key] != out) hide(exports, key, exp);
641 + if (IS_PROTO && expProto[key] != out) expProto[key] = out;
327 642 }
643 +};
644 +global.core = core;
645 +// type bitmap
646 +$export.F = 1; // forced
647 +$export.G = 2; // global
648 +$export.S = 4; // static
649 +$export.P = 8; // proto
650 +$export.B = 16; // bind
651 +$export.W = 32; // wrap
652 +$export.U = 64; // safe
653 +$export.R = 128; // real proto method for `library`
654 +module.exports = $export;
328 655
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);
656 +
657 +/***/ }),
658 +/* 35 */
659 +/***/ (function(module, exports) {
660 +
661 +module.exports = {};
662 +
663 +
664 +/***/ }),
665 +/* 36 */,
666 +/* 37 */
667 +/***/ (function(module, exports, __webpack_require__) {
668 +
669 +var global = __webpack_require__(17);
670 +var hide = __webpack_require__(29);
671 +var has = __webpack_require__(61);
672 +var SRC = __webpack_require__(68)('src');
673 +var $toString = __webpack_require__(145);
674 +var TO_STRING = 'toString';
675 +var TPL = ('' + $toString).split(TO_STRING);
676 +
677 +__webpack_require__(54).inspectSource = function (it) {
678 + return $toString.call(it);
679 +};
680 +
681 +(module.exports = function (O, key, val, safe) {
682 + var isFunction = typeof val == 'function';
683 + if (isFunction) has(val, 'name') || hide(val, 'name', key);
684 + if (O[key] === val) return;
685 + if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
686 + if (O === global) {
687 + O[key] = val;
688 + } else if (!safe) {
689 + delete O[key];
690 + hide(O, key, val);
691 + } else if (O[key]) {
692 + O[key] = val;
693 + } else {
694 + hide(O, key, val);
336 695 }
696 +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
697 +})(Function.prototype, TO_STRING, function toString() {
698 + return typeof this == 'function' && this[SRC] || $toString.call(this);
699 +});
337 700
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}`);
701 +
702 +/***/ }),
703 +/* 38 */
704 +/***/ (function(module, exports) {
705 +
706 +module.exports = function (it) {
707 + if (typeof it != 'function') throw TypeError(it + ' is not a function!');
708 + return it;
709 +};
710 +
711 +
712 +/***/ }),
713 +/* 39 */,
714 +/* 40 */
715 +/***/ (function(module, exports, __webpack_require__) {
716 +
717 +// 19.1.2.14 / 15.2.3.14 Object.keys(O)
718 +var $keys = __webpack_require__(116);
719 +var enumBugKeys = __webpack_require__(78);
720 +
721 +module.exports = Object.keys || function keys(O) {
722 + return $keys(O, enumBugKeys);
723 +};
724 +
725 +
726 +/***/ }),
727 +/* 41 */,
728 +/* 42 */
729 +/***/ (function(module, exports) {
730 +
731 +// 7.2.1 RequireObjectCoercible(argument)
732 +module.exports = function (it) {
733 + if (it == undefined) throw TypeError("Can't call method on " + it);
734 + return it;
735 +};
736 +
737 +
738 +/***/ }),
739 +/* 43 */
740 +/***/ (function(module, exports, __webpack_require__) {
741 +
742 +// 7.1.15 ToLength
743 +var toInteger = __webpack_require__(57);
744 +var min = Math.min;
745 +module.exports = function (it) {
746 + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
747 +};
748 +
749 +
750 +/***/ }),
751 +/* 44 */
752 +/***/ (function(module, exports) {
753 +
754 +module.exports = function (bitmap, value) {
755 + return {
756 + enumerable: !(bitmap & 1),
757 + configurable: !(bitmap & 2),
758 + writable: !(bitmap & 4),
759 + value: value
760 + };
761 +};
762 +
763 +
764 +/***/ }),
765 +/* 45 */
766 +/***/ (function(module, exports, __webpack_require__) {
767 +
768 +var anObject = __webpack_require__(18);
769 +var IE8_DOM_DEFINE = __webpack_require__(129);
770 +var toPrimitive = __webpack_require__(123);
771 +var dP = Object.defineProperty;
772 +
773 +exports.f = __webpack_require__(27) ? Object.defineProperty : function defineProperty(O, P, Attributes) {
774 + anObject(O);
775 + P = toPrimitive(P, true);
776 + anObject(Attributes);
777 + if (IE8_DOM_DEFINE) try {
778 + return dP(O, P, Attributes);
779 + } catch (e) { /* empty */ }
780 + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
781 + if ('value' in Attributes) O[P] = Attributes.value;
782 + return O;
783 +};
784 +
785 +
786 +/***/ }),
787 +/* 46 */
788 +/***/ (function(module, exports) {
789 +
790 +var toString = {}.toString;
791 +
792 +module.exports = function (it) {
793 + return toString.call(it).slice(8, -1);
794 +};
795 +
796 +
797 +/***/ }),
798 +/* 47 */
799 +/***/ (function(module, exports) {
800 +
801 +module.exports = true;
802 +
803 +
804 +/***/ }),
805 +/* 48 */
806 +/***/ (function(module, exports, __webpack_require__) {
807 +
808 +var _Symbol$iterator = __webpack_require__(151);
809 +
810 +var _Symbol = __webpack_require__(111);
811 +
812 +function _typeof(obj) {
813 + "@babel/helpers - typeof";
814 +
815 + if (typeof _Symbol === "function" && typeof _Symbol$iterator === "symbol") {
816 + module.exports = _typeof = function _typeof(obj) {
817 + return typeof obj;
818 + };
819 + } else {
820 + module.exports = _typeof = function _typeof(obj) {
821 + return obj && typeof _Symbol === "function" && obj.constructor === _Symbol && obj !== _Symbol.prototype ? "symbol" : typeof obj;
822 + };
347 823 }
348 - getKitSettings(settingName) {
349 - // TODO: use Data API.
350 - return this.getItems(this.config.kit, settingName);
824 +
825 + return _typeof(obj);
826 +}
827 +
828 +module.exports = _typeof;
829 +
830 +/***/ }),
831 +/* 49 */
832 +/***/ (function(module, exports) {
833 +
834 +function _assertThisInitialized(self) {
835 + if (self === void 0) {
836 + throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
351 837 }
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 838
370 - // Accept 0 as value.
371 - if (deviceValue || 0 === deviceValue) {
372 - return deviceValue;
839 + return self;
840 +}
841 +
842 +module.exports = _assertThisInitialized;
843 +
844 +/***/ }),
845 +/* 50 */
846 +/***/ (function(module, exports) {
847 +
848 +exports.f = {}.propertyIsEnumerable;
849 +
850 +
851 +/***/ }),
852 +/* 51 */
853 +/***/ (function(module, exports, __webpack_require__) {
854 +
855 +var pIE = __webpack_require__(50);
856 +var createDesc = __webpack_require__(44);
857 +var toIObject = __webpack_require__(20);
858 +var toPrimitive = __webpack_require__(74);
859 +var has = __webpack_require__(19);
860 +var IE8_DOM_DEFINE = __webpack_require__(114);
861 +var gOPD = Object.getOwnPropertyDescriptor;
862 +
863 +exports.f = __webpack_require__(14) ? gOPD : function getOwnPropertyDescriptor(O, P) {
864 + O = toIObject(O);
865 + P = toPrimitive(P, true);
866 + if (IE8_DOM_DEFINE) try {
867 + return gOPD(O, P);
868 + } catch (e) { /* empty */ }
869 + if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);
870 +};
871 +
872 +
873 +/***/ }),
874 +/* 52 */
875 +/***/ (function(module, exports, __webpack_require__) {
876 +
877 +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
878 +var anObject = __webpack_require__(13);
879 +var dPs = __webpack_require__(136);
880 +var enumBugKeys = __webpack_require__(78);
881 +var IE_PROTO = __webpack_require__(75)('IE_PROTO');
882 +var Empty = function () { /* empty */ };
883 +var PROTOTYPE = 'prototype';
884 +
885 +// Create object with fake `null` prototype: use iframe Object with cleared prototype
886 +var createDict = function () {
887 + // Thrash, waste and sodomy: IE GC bug
888 + var iframe = __webpack_require__(92)('iframe');
889 + var i = enumBugKeys.length;
890 + var lt = '<';
891 + var gt = '>';
892 + var iframeDocument;
893 + iframe.style.display = 'none';
894 + __webpack_require__(131).appendChild(iframe);
895 + iframe.src = 'javascript:'; // eslint-disable-line no-script-url
896 + // createDict = iframe.contentWindow.Object;
897 + // html.removeChild(iframe);
898 + iframeDocument = iframe.contentWindow.document;
899 + iframeDocument.open();
900 + iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
901 + iframeDocument.close();
902 + createDict = iframeDocument.F;
903 + while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];
904 + return createDict();
905 +};
906 +
907 +module.exports = Object.create || function create(O, Properties) {
908 + var result;
909 + if (O !== null) {
910 + Empty[PROTOTYPE] = anObject(O);
911 + result = new Empty();
912 + Empty[PROTOTYPE] = null;
913 + // add "__proto__" for Object.getPrototypeOf polyfill
914 + result[IE_PROTO] = O;
915 + } else result = createDict();
916 + return Properties === undefined ? result : dPs(result, Properties);
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__(19);
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) {
936 +
937 +var core = module.exports = { version: '2.6.11' };
938 +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
939 +
940 +
941 +/***/ }),
942 +/* 55 */
943 +/***/ (function(module, exports, __webpack_require__) {
944 +
945 +module.exports = __webpack_require__(239);
946 +
947 +/***/ }),
948 +/* 56 */
949 +/***/ (function(module, exports) {
950 +
951 +var toString = {}.toString;
952 +
953 +module.exports = function (it) {
954 + return toString.call(it).slice(8, -1);
955 +};
956 +
957 +
958 +/***/ }),
959 +/* 57 */
960 +/***/ (function(module, exports) {
961 +
962 +// 7.1.4 ToInteger
963 +var ceil = Math.ceil;
964 +var floor = Math.floor;
965 +module.exports = function (it) {
966 + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
967 +};
968 +
969 +
970 +/***/ }),
971 +/* 58 */
972 +/***/ (function(module, exports, __webpack_require__) {
973 +
974 +"use strict";
975 +
976 +
977 +var anObject = __webpack_require__(18);
978 +var toObject = __webpack_require__(96);
979 +var toLength = __webpack_require__(43);
980 +var toInteger = __webpack_require__(57);
981 +var advanceStringIndex = __webpack_require__(105);
982 +var regExpExec = __webpack_require__(94);
983 +var max = Math.max;
984 +var min = Math.min;
985 +var floor = Math.floor;
986 +var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g;
987 +var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g;
988 +
989 +var maybeToString = function (it) {
990 + return it === undefined ? it : String(it);
991 +};
992 +
993 +// @@replace logic
994 +__webpack_require__(95)('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {
995 + return [
996 + // `String.prototype.replace` method
997 + // https://tc39.github.io/ecma262/#sec-string.prototype.replace
998 + function replace(searchValue, replaceValue) {
999 + var O = defined(this);
1000 + var fn = searchValue == undefined ? undefined : searchValue[REPLACE];
1001 + return fn !== undefined
1002 + ? fn.call(searchValue, O, replaceValue)
1003 + : $replace.call(String(O), searchValue, replaceValue);
1004 + },
1005 + // `RegExp.prototype[@@replace]` method
1006 + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace
1007 + function (regexp, replaceValue) {
1008 + var res = maybeCallNative($replace, regexp, this, replaceValue);
1009 + if (res.done) return res.value;
1010 +
1011 + var rx = anObject(regexp);
1012 + var S = String(this);
1013 + var functionalReplace = typeof replaceValue === 'function';
1014 + if (!functionalReplace) replaceValue = String(replaceValue);
1015 + var global = rx.global;
1016 + if (global) {
1017 + var fullUnicode = rx.unicode;
1018 + rx.lastIndex = 0;
373 1019 }
374 - deviceIndex--;
1020 + var results = [];
1021 + while (true) {
1022 + var result = regExpExec(rx, S);
1023 + if (result === null) break;
1024 + results.push(result);
1025 + if (!global) break;
1026 + var matchStr = String(result[0]);
1027 + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
1028 + }
1029 + var accumulatedResult = '';
1030 + var nextSourcePosition = 0;
1031 + for (var i = 0; i < results.length; i++) {
1032 + result = results[i];
1033 + var matched = String(result[0]);
1034 + var position = max(min(toInteger(result.index), S.length), 0);
1035 + var captures = [];
1036 + // NOTE: This is equivalent to
1037 + // captures = result.slice(1).map(maybeToString)
1038 + // but for some reason `nativeSlice.call(result, 1, result.length)` (called in
1039 + // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
1040 + // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
1041 + for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
1042 + var namedCaptures = result.groups;
1043 + if (functionalReplace) {
1044 + var replacerArgs = [matched].concat(captures, position, S);
1045 + if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
1046 + var replacement = String(replaceValue.apply(undefined, replacerArgs));
1047 + } else {
1048 + replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
1049 + }
1050 + if (position >= nextSourcePosition) {
1051 + accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
1052 + nextSourcePosition = position + matched.length;
1053 + }
1054 + }
1055 + return accumulatedResult + S.slice(nextSourcePosition);
375 1056 }
376 - return settings[settingKey];
377 - }
378 - getWidescreenSetting(settings, settingKey) {
379 - const deviceMode = 'widescreen',
380 - widescreenSettingKey = settingKey + '_' + deviceMode;
381 - let settingToReturn;
1057 + ];
382 1058
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];
1059 + // https://tc39.github.io/ecma262/#sec-getsubstitution
1060 + function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {
1061 + var tailPos = position + matched.length;
1062 + var m = captures.length;
1063 + var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
1064 + if (namedCaptures !== undefined) {
1065 + namedCaptures = toObject(namedCaptures);
1066 + symbols = SUBSTITUTION_SYMBOLS;
389 1067 }
390 - return settingToReturn;
1068 + return $replace.call(replacement, symbols, function (match, ch) {
1069 + var capture;
1070 + switch (ch.charAt(0)) {
1071 + case '$': return '$';
1072 + case '&': return matched;
1073 + case '`': return str.slice(0, position);
1074 + case "'": return str.slice(tailPos);
1075 + case '<':
1076 + capture = namedCaptures[ch.slice(1, -1)];
1077 + break;
1078 + default: // \d\d?
1079 + var n = +ch;
1080 + if (n === 0) return match;
1081 + if (n > m) {
1082 + var f = floor(n / 10);
1083 + if (f === 0) return match;
1084 + if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
1085 + return match;
1086 + }
1087 + capture = captures[n - 1];
1088 + }
1089 + return capture === undefined ? '' : capture;
1090 + });
391 1091 }
392 - getCurrentDeviceSetting(settings, settingKey) {
393 - return this.getDeviceSetting(elementorFrontend.getCurrentDeviceMode(), settings, settingKey);
394 - }
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;
1092 +});
1093 +
1094 +
1095 +/***/ }),
1096 +/* 59 */
1097 +/***/ (function(module, exports) {
1098 +
1099 +var id = 0;
1100 +var px = Math.random();
1101 +module.exports = function (key) {
1102 + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
1103 +};
1104 +
1105 +
1106 +/***/ }),
1107 +/* 60 */
1108 +/***/ (function(module, exports, __webpack_require__) {
1109 +
1110 +"use strict";
1111 +
1112 +var $at = __webpack_require__(173)(true);
1113 +
1114 +// 21.1.3.27 String.prototype[@@iterator]()
1115 +__webpack_require__(108)(String, 'String', function (iterated) {
1116 + this._t = String(iterated); // target
1117 + this._i = 0; // next index
1118 +// 21.1.5.2.1 %StringIteratorPrototype%.next()
1119 +}, function () {
1120 + var O = this._t;
1121 + var index = this._i;
1122 + var point;
1123 + if (index >= O.length) return { value: undefined, done: true };
1124 + point = $at(O, index);
1125 + this._i += point.length;
1126 + return { value: point, done: false };
1127 +});
1128 +
1129 +
1130 +/***/ }),
1131 +/* 61 */
1132 +/***/ (function(module, exports) {
1133 +
1134 +var hasOwnProperty = {}.hasOwnProperty;
1135 +module.exports = function (it, key) {
1136 + return hasOwnProperty.call(it, key);
1137 +};
1138 +
1139 +
1140 +/***/ }),
1141 +/* 62 */
1142 +/***/ (function(module, exports, __webpack_require__) {
1143 +
1144 +__webpack_require__(175);
1145 +var global = __webpack_require__(8);
1146 +var hide = __webpack_require__(24);
1147 +var Iterators = __webpack_require__(35);
1148 +var TO_STRING_TAG = __webpack_require__(10)('toStringTag');
1149 +
1150 +var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' +
1151 + 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' +
1152 + 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' +
1153 + 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' +
1154 + 'TextTrackList,TouchList').split(',');
1155 +
1156 +for (var i = 0; i < DOMIterables.length; i++) {
1157 + var NAME = DOMIterables[i];
1158 + var Collection = global[NAME];
1159 + var proto = Collection && Collection.prototype;
1160 + if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);
1161 + Iterators[NAME] = Iterators.Array;
1162 +}
1163 +
1164 +
1165 +/***/ }),
1166 +/* 63 */
1167 +/***/ (function(module, exports, __webpack_require__) {
1168 +
1169 +exports.f = __webpack_require__(10);
1170 +
1171 +
1172 +/***/ }),
1173 +/* 64 */
1174 +/***/ (function(module, exports, __webpack_require__) {
1175 +
1176 +// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
1177 +var has = __webpack_require__(19);
1178 +var toObject = __webpack_require__(32);
1179 +var IE_PROTO = __webpack_require__(75)('IE_PROTO');
1180 +var ObjectProto = Object.prototype;
1181 +
1182 +module.exports = Object.getPrototypeOf || function (O) {
1183 + O = toObject(O);
1184 + if (has(O, IE_PROTO)) return O[IE_PROTO];
1185 + if (typeof O.constructor == 'function' && O instanceof O.constructor) {
1186 + return O.constructor.prototype;
1187 + } return O instanceof Object ? ObjectProto : null;
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 +/* 67 */
1205 +/***/ (function(module, exports, __webpack_require__) {
1206 +
1207 +var core = __webpack_require__(54);
1208 +var global = __webpack_require__(17);
1209 +var SHARED = '__core-js_shared__';
1210 +var store = global[SHARED] || (global[SHARED] = {});
1211 +
1212 +(module.exports = function (key, value) {
1213 + return store[key] || (store[key] = value !== undefined ? value : {});
1214 +})('versions', []).push({
1215 + version: core.version,
1216 + mode: __webpack_require__(110) ? 'pure' : 'global',
1217 + copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
1218 +});
1219 +
1220 +
1221 +/***/ }),
1222 +/* 68 */
1223 +/***/ (function(module, exports) {
1224 +
1225 +var id = 0;
1226 +var px = Math.random();
1227 +module.exports = function (key) {
1228 + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
1229 +};
1230 +
1231 +
1232 +/***/ }),
1233 +/* 69 */
1234 +/***/ (function(module, exports, __webpack_require__) {
1235 +
1236 +// 7.1.15 ToLength
1237 +var toInteger = __webpack_require__(77);
1238 +var min = Math.min;
1239 +module.exports = function (it) {
1240 + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
1241 +};
1242 +
1243 +
1244 +/***/ }),
1245 +/* 70 */
1246 +/***/ (function(module, exports, __webpack_require__) {
1247 +
1248 +var META = __webpack_require__(59)('meta');
1249 +var isObject = __webpack_require__(9);
1250 +var has = __webpack_require__(19);
1251 +var setDesc = __webpack_require__(15).f;
1252 +var id = 0;
1253 +var isExtensible = Object.isExtensible || function () {
1254 + return true;
1255 +};
1256 +var FREEZE = !__webpack_require__(22)(function () {
1257 + return isExtensible(Object.preventExtensions({}));
1258 +});
1259 +var setMeta = function (it) {
1260 + setDesc(it, META, { value: {
1261 + i: 'O' + ++id, // object ID
1262 + w: {} // weak collections IDs
1263 + } });
1264 +};
1265 +var fastKey = function (it, create) {
1266 + // return primitive with prefix
1267 + if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
1268 + if (!has(it, META)) {
1269 + // can't set metadata to uncaught frozen object
1270 + if (!isExtensible(it)) return 'F';
1271 + // not necessary to add metadata
1272 + if (!create) return 'E';
1273 + // add missing metadata
1274 + setMeta(it);
1275 + // return object ID
1276 + } return it[META].i;
1277 +};
1278 +var getWeak = function (it, create) {
1279 + if (!has(it, META)) {
1280 + // can't set metadata to uncaught frozen object
1281 + if (!isExtensible(it)) return true;
1282 + // not necessary to add metadata
1283 + if (!create) return false;
1284 + // add missing metadata
1285 + setMeta(it);
1286 + // return hash weak collections IDs
1287 + } return it[META].w;
1288 +};
1289 +// add metadata on freeze-family methods calling
1290 +var onFreeze = function (it) {
1291 + if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);
1292 + return it;
1293 +};
1294 +var meta = module.exports = {
1295 + KEY: META,
1296 + NEED: false,
1297 + fastKey: fastKey,
1298 + getWeak: getWeak,
1299 + onFreeze: onFreeze
1300 +};
1301 +
1302 +
1303 +/***/ }),
1304 +/* 71 */
1305 +/***/ (function(module, exports) {
1306 +
1307 +exports.f = Object.getOwnPropertySymbols;
1308 +
1309 +
1310 +/***/ }),
1311 +/* 72 */
1312 +/***/ (function(module, exports, __webpack_require__) {
1313 +
1314 +"use strict";
1315 +
1316 +// 19.1.3.6 Object.prototype.toString()
1317 +var classof = __webpack_require__(113);
1318 +var test = {};
1319 +test[__webpack_require__(12)('toStringTag')] = 'z';
1320 +if (test + '' != '[object z]') {
1321 + __webpack_require__(37)(Object.prototype, 'toString', function toString() {
1322 + return '[object ' + classof(this) + ']';
1323 + }, true);
1324 +}
1325 +
1326 +
1327 +/***/ }),
1328 +/* 73 */
1329 +/***/ (function(module, exports, __webpack_require__) {
1330 +
1331 +// optional / simple context binding
1332 +var aFunction = __webpack_require__(91);
1333 +module.exports = function (fn, that, length) {
1334 + aFunction(fn);
1335 + if (that === undefined) return fn;
1336 + switch (length) {
1337 + case 1: return function (a) {
1338 + return fn.call(that, a);
408 1339 };
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()
1340 + case 2: return function (a, b) {
1341 + return fn.call(that, a, b);
426 1342 };
427 -
428 - // TODO: BC since 2.4.0
429 - this.modules = {
430 - StretchElement: elementorModules.frontend.tools.StretchElement,
431 - Masonry: elementorModules.utils.Masonry
1343 + case 3: return function (a, b, c) {
1344 + return fn.call(that, a, b, c);
432 1345 };
433 - this.elementsHandler.init();
434 - if (this.isEditMode()) {
435 - elementor.once('document:loaded', () => this.onDocumentLoaded());
436 - } else {
437 - this.onDocumentLoaded();
438 - }
439 1346 }
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 - }
1347 + return function (/* ...args */) {
1348 + return fn.apply(that, arguments);
1349 + };
1350 +};
480 1351
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);
1352 +
1353 +/***/ }),
1354 +/* 74 */
1355 +/***/ (function(module, exports, __webpack_require__) {
1356 +
1357 +// 7.1.1 ToPrimitive(input [, PreferredType])
1358 +var isObject = __webpack_require__(9);
1359 +// instead of the ES6 spec version, we didn't implement @@toPrimitive case
1360 +// and the second argument - flag - preferred type is a string
1361 +module.exports = function (it, S) {
1362 + if (!isObject(it)) return it;
1363 + var fn, val;
1364 + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
1365 + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
1366 + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
1367 + throw TypeError("Can't convert object to primitive value");
1368 +};
1369 +
1370 +
1371 +/***/ }),
1372 +/* 75 */
1373 +/***/ (function(module, exports, __webpack_require__) {
1374 +
1375 +var shared = __webpack_require__(76)('keys');
1376 +var uid = __webpack_require__(59);
1377 +module.exports = function (key) {
1378 + return shared[key] || (shared[key] = uid(key));
1379 +};
1380 +
1381 +
1382 +/***/ }),
1383 +/* 76 */
1384 +/***/ (function(module, exports, __webpack_require__) {
1385 +
1386 +var core = __webpack_require__(6);
1387 +var global = __webpack_require__(8);
1388 +var SHARED = '__core-js_shared__';
1389 +var store = global[SHARED] || (global[SHARED] = {});
1390 +
1391 +(module.exports = function (key, value) {
1392 + return store[key] || (store[key] = value !== undefined ? value : {});
1393 +})('versions', []).push({
1394 + version: core.version,
1395 + mode: __webpack_require__(47) ? 'pure' : 'global',
1396 + copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
1397 +});
1398 +
1399 +
1400 +/***/ }),
1401 +/* 77 */
1402 +/***/ (function(module, exports) {
1403 +
1404 +// 7.1.4 ToInteger
1405 +var ceil = Math.ceil;
1406 +var floor = Math.floor;
1407 +module.exports = function (it) {
1408 + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
1409 +};
1410 +
1411 +
1412 +/***/ }),
1413 +/* 78 */
1414 +/***/ (function(module, exports) {
1415 +
1416 +// IE 8- don't enum bug keys
1417 +module.exports = (
1418 + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
1419 +).split(',');
1420 +
1421 +
1422 +/***/ }),
1423 +/* 79 */
1424 +/***/ (function(module, exports, __webpack_require__) {
1425 +
1426 +var global = __webpack_require__(8);
1427 +var core = __webpack_require__(6);
1428 +var LIBRARY = __webpack_require__(47);
1429 +var wksExt = __webpack_require__(63);
1430 +var defineProperty = __webpack_require__(15).f;
1431 +module.exports = function (name) {
1432 + var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});
1433 + if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });
1434 +};
1435 +
1436 +
1437 +/***/ }),
1438 +/* 80 */
1439 +/***/ (function(module, exports, __webpack_require__) {
1440 +
1441 +"use strict";
1442 +
1443 +
1444 +var isRegExp = __webpack_require__(122);
1445 +var anObject = __webpack_require__(18);
1446 +var speciesConstructor = __webpack_require__(154);
1447 +var advanceStringIndex = __webpack_require__(105);
1448 +var toLength = __webpack_require__(43);
1449 +var callRegExpExec = __webpack_require__(94);
1450 +var regexpExec = __webpack_require__(90);
1451 +var fails = __webpack_require__(33);
1452 +var $min = Math.min;
1453 +var $push = [].push;
1454 +var $SPLIT = 'split';
1455 +var LENGTH = 'length';
1456 +var LAST_INDEX = 'lastIndex';
1457 +var MAX_UINT32 = 0xffffffff;
1458 +
1459 +// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError
1460 +var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); });
1461 +
1462 +// @@split logic
1463 +__webpack_require__(95)('split', 2, function (defined, SPLIT, $split, maybeCallNative) {
1464 + var internalSplit;
1465 + if (
1466 + 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||
1467 + 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||
1468 + 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||
1469 + '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||
1470 + '.'[$SPLIT](/()()/)[LENGTH] > 1 ||
1471 + ''[$SPLIT](/.?/)[LENGTH]
1472 + ) {
1473 + // based on es5-shim implementation, need to rework it
1474 + internalSplit = function (separator, limit) {
1475 + var string = String(this);
1476 + if (separator === undefined && limit === 0) return [];
1477 + // If `separator` is not a regex, use native split
1478 + if (!isRegExp(separator)) return $split.call(string, separator, limit);
1479 + var output = [];
1480 + var flags = (separator.ignoreCase ? 'i' : '') +
1481 + (separator.multiline ? 'm' : '') +
1482 + (separator.unicode ? 'u' : '') +
1483 + (separator.sticky ? 'y' : '');
1484 + var lastLastIndex = 0;
1485 + var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0;
1486 + // Make `global` and avoid `lastIndex` issues by working with a copy
1487 + var separatorCopy = new RegExp(separator.source, flags + 'g');
1488 + var match, lastIndex, lastLength;
1489 + while (match = regexpExec.call(separatorCopy, string)) {
1490 + lastIndex = separatorCopy[LAST_INDEX];
1491 + if (lastIndex > lastLastIndex) {
1492 + output.push(string.slice(lastLastIndex, match.index));
1493 + if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));
1494 + lastLength = match[0][LENGTH];
1495 + lastLastIndex = lastIndex;
1496 + if (output[LENGTH] >= splitLimit) break;
1497 + }
1498 + if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop
496 1499 }
1500 + if (lastLastIndex === string[LENGTH]) {
1501 + if (lastLength || !separatorCopy.test('')) output.push('');
1502 + } else output.push(string.slice(lastLastIndex));
1503 + return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;
497 1504 };
1505 + // Chakra, V8
1506 + } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {
1507 + internalSplit = function (separator, limit) {
1508 + return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit);
1509 + };
1510 + } else {
1511 + internalSplit = $split;
498 1512 }
499 - muteMigrationTraces() {
500 - jQuery.migrateMute = true;
501 - jQuery.migrateTrace = false;
502 - }
503 1513
504 - /**
505 - * Initialize the modules' widgets handlers.
506 - */
507 - initModules() {
508 - const handlers = {
509 - shapes: _frontend.default
510 - };
1514 + return [
1515 + // `String.prototype.split` method
1516 + // https://tc39.github.io/ecma262/#sec-string.prototype.split
1517 + function split(separator, limit) {
1518 + var O = defined(this);
1519 + var splitter = separator == undefined ? undefined : separator[SPLIT];
1520 + return splitter !== undefined
1521 + ? splitter.call(separator, O, limit)
1522 + : internalSplit.call(String(O), separator, limit);
1523 + },
1524 + // `RegExp.prototype[@@split]` method
1525 + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split
1526 + //
1527 + // NOTE: This cannot be properly polyfilled in engines that don't support
1528 + // the 'y' flag.
1529 + function (regexp, limit) {
1530 + var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split);
1531 + if (res.done) return res.value;
511 1532
512 - // TODO: BC - Deprecated since 3.5.0
513 - elementorFrontend.trigger('elementor/modules/init:before');
1533 + var rx = anObject(regexp);
1534 + var S = String(this);
1535 + var C = speciesConstructor(rx, RegExp);
514 1536
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;
1537 + var unicodeMatching = rx.unicode;
1538 + var flags = (rx.ignoreCase ? 'i' : '') +
1539 + (rx.multiline ? 'm' : '') +
1540 + (rx.unicode ? 'u' : '') +
1541 + (SUPPORTS_Y ? 'y' : 'g');
1542 +
1543 + // ^(? + rx + ) is needed, in combination with some S slicing, to
1544 + // simulate the 'y' flag.
1545 + var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);
1546 + var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
1547 + if (lim === 0) return [];
1548 + if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];
1549 + var p = 0;
1550 + var q = 0;
1551 + var A = [];
1552 + while (q < S.length) {
1553 + splitter.lastIndex = SUPPORTS_Y ? q : 0;
1554 + var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));
1555 + var e;
1556 + if (
1557 + z === null ||
1558 + (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p
1559 + ) {
1560 + q = advanceStringIndex(S, q, unicodeMatching);
1561 + } else {
1562 + A.push(S.slice(p, q));
1563 + if (A.length === lim) return A;
1564 + for (var i = 1; i <= z.length - 1; i++) {
1565 + A.push(z[i]);
1566 + if (A.length === lim) return A;
1567 + }
1568 + q = p = e;
1569 + }
526 1570 }
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();
1571 + A.push(S.slice(p));
1572 + return A;
540 1573 }
1574 + ];
1575 +});
541 1576
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 1577
560 1578 /***/ }),
1579 +/* 81 */,
1580 +/* 82 */,
1581 +/* 83 */,
1582 +/* 84 */,
1583 +/* 85 */,
1584 +/* 86 */
1585 +/***/ (function(module, exports, __webpack_require__) {
561 1586
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__) => {
1587 +// most Object methods by ES6 should accept primitives
1588 +var $export = __webpack_require__(7);
1589 +var core = __webpack_require__(6);
1590 +var fails = __webpack_require__(22);
1591 +module.exports = function (KEY, exec) {
1592 + var fn = (core.Object || {})[KEY] || Object[KEY];
1593 + var exp = {};
1594 + exp[KEY] = exec(fn);
1595 + $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);
1596 +};
567 1597
568 1598
1599 +/***/ }),
1600 +/* 87 */
1601 +/***/ (function(module, exports, __webpack_require__) {
569 1602
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"))];
1603 +// 22.1.3.31 Array.prototype[@@unscopables]
1604 +var UNSCOPABLES = __webpack_require__(12)('unscopables');
1605 +var ArrayProto = Array.prototype;
1606 +if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(29)(ArrayProto, UNSCOPABLES, {});
1607 +module.exports = function (key) {
1608 + ArrayProto[UNSCOPABLES][key] = true;
1609 +};
575 1610
1611 +
576 1612 /***/ }),
1613 +/* 88 */
1614 +/***/ (function(module, exports, __webpack_require__) {
577 1615
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__) => {
1616 +var ctx = __webpack_require__(31);
1617 +var call = __webpack_require__(141);
1618 +var isArrayIter = __webpack_require__(142);
1619 +var anObject = __webpack_require__(13);
1620 +var toLength = __webpack_require__(69);
1621 +var getIterFn = __webpack_require__(112);
1622 +var BREAK = {};
1623 +var RETURN = {};
1624 +var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {
1625 + var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);
1626 + var f = ctx(fn, that, entries ? 2 : 1);
1627 + var index = 0;
1628 + var length, step, iterator, result;
1629 + if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');
1630 + // fast case for arrays with default iterator
1631 + if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {
1632 + result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);
1633 + if (result === BREAK || result === RETURN) return result;
1634 + } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {
1635 + result = call(iterator, f, step.value, entries);
1636 + if (result === BREAK || result === RETURN) return result;
1637 + }
1638 +};
1639 +exports.BREAK = BREAK;
1640 +exports.RETURN = RETURN;
583 1641
584 1642
1643 +/***/ }),
1644 +/* 89 */,
1645 +/* 90 */
1646 +/***/ (function(module, exports, __webpack_require__) {
585 1647
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")))];
1648 +"use strict";
592 1649
593 -/***/ }),
594 1650
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) => {
1651 +var regexpFlags = __webpack_require__(106);
600 1652
1653 +var nativeExec = RegExp.prototype.exec;
1654 +// This always refers to the native implementation, because the
1655 +// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,
1656 +// which loads this file before patching the method.
1657 +var nativeReplace = String.prototype.replace;
601 1658
1659 +var patchedExec = nativeExec;
602 1660
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 - });
614 - };
615 -}
1661 +var LAST_INDEX = 'lastIndex';
616 1662
617 -/***/ }),
1663 +var UPDATES_LAST_INDEX_WRONG = (function () {
1664 + var re1 = /a/,
1665 + re2 = /b*/g;
1666 + nativeExec.call(re1, 'a');
1667 + nativeExec.call(re2, 'a');
1668 + return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;
1669 +})();
618 1670
619 -/***/ "../assets/dev/js/frontend/handlers/global.js":
620 -/*!****************************************************!*\
621 - !*** ../assets/dev/js/frontend/handlers/global.js ***!
622 - \****************************************************/
623 -/***/ ((__unused_webpack_module, exports) => {
1671 +// nonparticipating capturing group, copied from es5-shim's String#split patch.
1672 +var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
624 1673
1674 +var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;
625 1675
1676 +if (PATCH) {
1677 + patchedExec = function exec(str) {
1678 + var re = this;
1679 + var lastIndex, reCopy, match, i;
626 1680
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;
1681 + if (NPCG_INCLUDED) {
1682 + reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re));
641 1683 }
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);
1684 + if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];
1685 +
1686 + match = nativeExec.call(re, str);
1687 +
1688 + if (UPDATES_LAST_INDEX_WRONG && match) {
1689 + re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex;
647 1690 }
648 - this.currentAnimation = animation;
649 - setTimeout(() => {
650 - $element.removeClass('elementor-invisible').addClass('animated ' + animation);
651 - }, animationDelay);
652 - }
653 - getAnimation() {
654 - return this.getCurrentDeviceSetting('animation') || this.getCurrentDeviceSetting('_animation');
655 - }
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 - }
1691 + if (NPCG_INCLUDED && match && match.length > 1) {
1692 + // Fix browsers whose `exec` methods don't consistently return `undefined`
1693 + // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
1694 + // eslint-disable-next-line no-loop-func
1695 + nativeReplace.call(match[0], reCopy, function () {
1696 + for (i = 1; i < arguments.length - 2; i++) {
1697 + if (arguments[i] === undefined) match[i] = undefined;
665 1698 }
666 1699 });
667 - observer.observe(this.$element[0]);
668 1700 }
669 - }
670 - onElementChange(propertyName) {
671 - if (/^_?animation/.test(propertyName)) {
672 - this.animate();
673 - }
674 - }
1701 +
1702 + return match;
1703 + };
675 1704 }
676 -var _default = $scope => {
677 - elementorFrontend.elementsHandler.addHandler(GlobalHandler, {
678 - $element: $scope
679 - });
1705 +
1706 +module.exports = patchedExec;
1707 +
1708 +
1709 +/***/ }),
1710 +/* 91 */
1711 +/***/ (function(module, exports) {
1712 +
1713 +module.exports = function (it) {
1714 + if (typeof it != 'function') throw TypeError(it + ' is not a function!');
1715 + return it;
680 1716 };
681 -exports["default"] = _default;
682 1717
1718 +
683 1719 /***/ }),
1720 +/* 92 */
1721 +/***/ (function(module, exports, __webpack_require__) {
684 1722
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__) => {
1723 +var isObject = __webpack_require__(9);
1724 +var document = __webpack_require__(8).document;
1725 +// typeof document.createElement is 'object' in old IE
1726 +var is = isObject(document) && isObject(document.createElement);
1727 +module.exports = function (it) {
1728 + return is ? document.createElement(it) : {};
1729 +};
690 1730
691 1731
1732 +/***/ }),
1733 +/* 93 */
1734 +/***/ (function(module, exports, __webpack_require__) {
692 1735
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")))];
1736 +module.exports = __webpack_require__(24);
701 1737
1738 +
702 1739 /***/ }),
1740 +/* 94 */
1741 +/***/ (function(module, exports, __webpack_require__) {
703 1742
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__) => {
1743 +"use strict";
709 1744
710 1745
1746 +var classof = __webpack_require__(113);
1747 +var builtinExec = RegExp.prototype.exec;
711 1748
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 - };
1749 + // `RegExpExec` abstract operation
1750 +// https://tc39.github.io/ecma262/#sec-regexpexec
1751 +module.exports = function (R, S) {
1752 + var exec = R.exec;
1753 + if (typeof exec === 'function') {
1754 + var result = exec.call(R, S);
1755 + if (typeof result !== 'object') {
1756 + throw new TypeError('RegExp exec method returned something other than an Object or null');
1757 + }
1758 + return result;
728 1759 }
729 - onInit() {
730 - this.observeStickyElements(() => {
731 - this.initializeStickyAndAnchorTracking();
732 - });
1760 + if (classof(R) !== 'RegExp') {
1761 + throw new TypeError('RegExp#exec called on incompatible receiver');
733 1762 }
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();
1763 + return builtinExec.call(R, S);
1764 +};
1765 +
1766 +
1767 +/***/ }),
1768 +/* 95 */
1769 +/***/ (function(module, exports, __webpack_require__) {
1770 +
1771 +"use strict";
1772 +
1773 +__webpack_require__(190);
1774 +var redefine = __webpack_require__(37);
1775 +var hide = __webpack_require__(29);
1776 +var fails = __webpack_require__(33);
1777 +var defined = __webpack_require__(42);
1778 +var wks = __webpack_require__(12);
1779 +var regexpExec = __webpack_require__(90);
1780 +
1781 +var SPECIES = wks('species');
1782 +
1783 +var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
1784 + // #replace needs built-in support for named groups.
1785 + // #match works fine because it just return the exec results, even if it has
1786 + // a "grops" property.
1787 + var re = /./;
1788 + re.exec = function () {
1789 + var result = [];
1790 + result.groups = { a: '7' };
1791 + return result;
1792 + };
1793 + return ''.replace(re, '$<a>') !== '7';
1794 +});
1795 +
1796 +var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () {
1797 + // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
1798 + var re = /(?:)/;
1799 + var originalExec = re.exec;
1800 + re.exec = function () { return originalExec.apply(this, arguments); };
1801 + var result = 'ab'.split(re);
1802 + return result.length === 2 && result[0] === 'a' && result[1] === 'b';
1803 +})();
1804 +
1805 +module.exports = function (KEY, length, exec) {
1806 + var SYMBOL = wks(KEY);
1807 +
1808 + var DELEGATES_TO_SYMBOL = !fails(function () {
1809 + // String methods call symbol-named RegEp methods
1810 + var O = {};
1811 + O[SYMBOL] = function () { return 7; };
1812 + return ''[KEY](O) != 7;
1813 + });
1814 +
1815 + var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () {
1816 + // Symbol-named RegExp methods call .exec
1817 + var execCalled = false;
1818 + var re = /a/;
1819 + re.exec = function () { execCalled = true; return null; };
1820 + if (KEY === 'split') {
1821 + // RegExp[@@split] doesn't call the regex's exec method, but first creates
1822 + // a new one. We need to return the patched regex when creating the new one.
1823 + re.constructor = {};
1824 + re.constructor[SPECIES] = function () { return re; };
1825 + }
1826 + re[SYMBOL]('');
1827 + return !execCalled;
1828 + }) : undefined;
1829 +
1830 + if (
1831 + !DELEGATES_TO_SYMBOL ||
1832 + !DELEGATES_TO_EXEC ||
1833 + (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) ||
1834 + (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
1835 + ) {
1836 + var nativeRegExpMethod = /./[SYMBOL];
1837 + var fns = exec(
1838 + defined,
1839 + SYMBOL,
1840 + ''[KEY],
1841 + function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) {
1842 + if (regexp.exec === regexpExec) {
1843 + if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
1844 + // The native String method already delegates to @@method (this
1845 + // polyfilled function), leasing to infinite recursion.
1846 + // We avoid it by directly calling the native @@method method.
1847 + return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
1848 + }
1849 + return { done: true, value: nativeMethod.call(str, regexp, arg2) };
739 1850 }
1851 + return { done: false };
740 1852 }
741 - });
742 - observer.observe(document.body, {
743 - childList: true,
744 - subtree: true,
745 - attributes: true,
746 - attributeFilter: ['class', 'style']
747 - });
1853 + );
1854 + var strfn = fns[0];
1855 + var rxfn = fns[1];
1856 +
1857 + redefine(String.prototype, KEY, strfn);
1858 + hide(RegExp.prototype, SYMBOL, length == 2
1859 + // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
1860 + // 21.2.5.11 RegExp.prototype[@@split](string, limit)
1861 + ? function (string, arg) { return rxfn.call(string, this, arg); }
1862 + // 21.2.5.6 RegExp.prototype[@@match](string)
1863 + // 21.2.5.9 RegExp.prototype[@@search](string)
1864 + : function (string) { return rxfn.call(string, this); }
1865 + );
748 1866 }
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;
1867 +};
1868 +
1869 +
1870 +/***/ }),
1871 +/* 96 */
1872 +/***/ (function(module, exports, __webpack_require__) {
1873 +
1874 +// 7.1.13 ToObject(argument)
1875 +var defined = __webpack_require__(42);
1876 +module.exports = function (it) {
1877 + return Object(defined(it));
1878 +};
1879 +
1880 +
1881 +/***/ }),
1882 +/* 97 */
1883 +/***/ (function(module, exports, __webpack_require__) {
1884 +
1885 +// 7.2.2 IsArray(argument)
1886 +var cof = __webpack_require__(56);
1887 +module.exports = Array.isArray || function isArray(arg) {
1888 + return cof(arg) == 'Array';
1889 +};
1890 +
1891 +
1892 +/***/ }),
1893 +/* 98 */
1894 +/***/ (function(module, exports, __webpack_require__) {
1895 +
1896 +// to indexed object, toObject with fallback for non-array-like ES3 strings
1897 +var IObject = __webpack_require__(120);
1898 +var defined = __webpack_require__(42);
1899 +module.exports = function (it) {
1900 + return IObject(defined(it));
1901 +};
1902 +
1903 +
1904 +/***/ }),
1905 +/* 99 */
1906 +/***/ (function(module, exports, __webpack_require__) {
1907 +
1908 +// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
1909 +var $keys = __webpack_require__(116);
1910 +var hiddenKeys = __webpack_require__(78).concat('length', 'prototype');
1911 +
1912 +exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
1913 + return $keys(O, hiddenKeys);
1914 +};
1915 +
1916 +
1917 +/***/ }),
1918 +/* 100 */
1919 +/***/ (function(module, exports) {
1920 +
1921 +
1922 +
1923 +/***/ }),
1924 +/* 101 */
1925 +/***/ (function(module, exports, __webpack_require__) {
1926 +
1927 +// getting tag from 19.1.3.6 Object.prototype.toString()
1928 +var cof = __webpack_require__(56);
1929 +var TAG = __webpack_require__(10)('toStringTag');
1930 +// ES3 wrong here
1931 +var ARG = cof(function () { return arguments; }()) == 'Arguments';
1932 +
1933 +// fallback for IE11 Script Access Denied error
1934 +var tryGet = function (it, key) {
1935 + try {
1936 + return it[key];
1937 + } catch (e) { /* empty */ }
1938 +};
1939 +
1940 +module.exports = function (it) {
1941 + var O, T, B;
1942 + return it === undefined ? 'Undefined' : it === null ? 'Null'
1943 + // @@toStringTag case
1944 + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
1945 + // builtinTag case
1946 + : ARG ? cof(O)
1947 + // ES3 arguments fallback
1948 + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
1949 +};
1950 +
1951 +
1952 +/***/ }),
1953 +/* 102 */,
1954 +/* 103 */
1955 +/***/ (function(module, exports) {
1956 +
1957 +module.exports = function (bitmap, value) {
1958 + return {
1959 + enumerable: !(bitmap & 1),
1960 + configurable: !(bitmap & 2),
1961 + writable: !(bitmap & 4),
1962 + value: value
1963 + };
1964 +};
1965 +
1966 +
1967 +/***/ }),
1968 +/* 104 */
1969 +/***/ (function(module, exports, __webpack_require__) {
1970 +
1971 +// fallback for non-array-like ES3 and non-enumerable old V8 strings
1972 +var cof = __webpack_require__(56);
1973 +// eslint-disable-next-line no-prototype-builtins
1974 +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
1975 + return cof(it) == 'String' ? it.split('') : Object(it);
1976 +};
1977 +
1978 +
1979 +/***/ }),
1980 +/* 105 */
1981 +/***/ (function(module, exports, __webpack_require__) {
1982 +
1983 +"use strict";
1984 +
1985 +var at = __webpack_require__(144)(true);
1986 +
1987 + // `AdvanceStringIndex` abstract operation
1988 +// https://tc39.github.io/ecma262/#sec-advancestringindex
1989 +module.exports = function (S, index, unicode) {
1990 + return index + (unicode ? at(S, index).length : 1);
1991 +};
1992 +
1993 +
1994 +/***/ }),
1995 +/* 106 */
1996 +/***/ (function(module, exports, __webpack_require__) {
1997 +
1998 +"use strict";
1999 +
2000 +// 21.2.5.3 get RegExp.prototype.flags
2001 +var anObject = __webpack_require__(18);
2002 +module.exports = function () {
2003 + var that = anObject(this);
2004 + var result = '';
2005 + if (that.global) result += 'g';
2006 + if (that.ignoreCase) result += 'i';
2007 + if (that.multiline) result += 'm';
2008 + if (that.unicode) result += 'u';
2009 + if (that.sticky) result += 'y';
2010 + return result;
2011 +};
2012 +
2013 +
2014 +/***/ }),
2015 +/* 107 */
2016 +/***/ (function(module, exports, __webpack_require__) {
2017 +
2018 +module.exports = __webpack_require__(168);
2019 +
2020 +/***/ }),
2021 +/* 108 */
2022 +/***/ (function(module, exports, __webpack_require__) {
2023 +
2024 +"use strict";
2025 +
2026 +var LIBRARY = __webpack_require__(47);
2027 +var $export = __webpack_require__(7);
2028 +var redefine = __webpack_require__(93);
2029 +var hide = __webpack_require__(24);
2030 +var Iterators = __webpack_require__(35);
2031 +var $iterCreate = __webpack_require__(174);
2032 +var setToStringTag = __webpack_require__(53);
2033 +var getPrototypeOf = __webpack_require__(64);
2034 +var ITERATOR = __webpack_require__(10)('iterator');
2035 +var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
2036 +var FF_ITERATOR = '@@iterator';
2037 +var KEYS = 'keys';
2038 +var VALUES = 'values';
2039 +
2040 +var returnThis = function () { return this; };
2041 +
2042 +module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {
2043 + $iterCreate(Constructor, NAME, next);
2044 + var getMethod = function (kind) {
2045 + if (!BUGGY && kind in proto) return proto[kind];
2046 + switch (kind) {
2047 + case KEYS: return function keys() { return new Constructor(this, kind); };
2048 + case VALUES: return function values() { return new Constructor(this, kind); };
2049 + } return function entries() { return new Constructor(this, kind); };
2050 + };
2051 + var TAG = NAME + ' Iterator';
2052 + var DEF_VALUES = DEFAULT == VALUES;
2053 + var VALUES_BUG = false;
2054 + var proto = Base.prototype;
2055 + var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
2056 + var $default = $native || getMethod(DEFAULT);
2057 + var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
2058 + var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
2059 + var methods, key, IteratorPrototype;
2060 + // Fix native
2061 + if ($anyNative) {
2062 + IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));
2063 + if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
2064 + // Set @@toStringTag to native iterators
2065 + setToStringTag(IteratorPrototype, TAG, true);
2066 + // fix for some old engines
2067 + if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);
755 2068 }
756 - this.trackStickyElements(stickyElements, trackedElements);
757 - this.trackAnchorLinks(anchorLinks, trackedElements);
758 - this.organizeStickyAndAnchors(trackedElements);
759 2069 }
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 - });
2070 + // fix Array#{values, @@iterator}.name in V8 / FF
2071 + if (DEF_VALUES && $native && $native.name !== VALUES) {
2072 + VALUES_BUG = true;
2073 + $default = function values() { return $native.call(this); };
770 2074 }
771 - trackStickyElements(stickyElements, trackedElements) {
772 - stickyElements.forEach(element => {
773 - const settings = this.getElementSettings(element);
774 - if (!settings || !settings.sticky_anchor_link_offset) {
775 - return;
776 - }
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 - });
2075 + // Define iterator
2076 + if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
2077 + hide(proto, ITERATOR, $default);
790 2078 }
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 - });
2079 + // Plug for library
2080 + Iterators[NAME] = $default;
2081 + Iterators[TAG] = returnThis;
2082 + if (DEFAULT) {
2083 + methods = {
2084 + values: DEF_VALUES ? $default : getMethod(VALUES),
2085 + keys: IS_SET ? $default : getMethod(KEYS),
2086 + entries: $entries
2087 + };
2088 + if (FORCED) for (key in methods) {
2089 + if (!(key in proto)) redefine(proto, key, methods[key]);
2090 + } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
797 2091 }
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 - });
2092 + return methods;
2093 +};
2094 +
2095 +
2096 +/***/ }),
2097 +/* 109 */
2098 +/***/ (function(module, exports, __webpack_require__) {
2099 +
2100 +var isObject = __webpack_require__(30);
2101 +var document = __webpack_require__(17).document;
2102 +// typeof document.createElement is 'object' in old IE
2103 +var is = isObject(document) && isObject(document.createElement);
2104 +module.exports = function (it) {
2105 + return is ? document.createElement(it) : {};
2106 +};
2107 +
2108 +
2109 +/***/ }),
2110 +/* 110 */
2111 +/***/ (function(module, exports) {
2112 +
2113 +module.exports = false;
2114 +
2115 +
2116 +/***/ }),
2117 +/* 111 */
2118 +/***/ (function(module, exports, __webpack_require__) {
2119 +
2120 +module.exports = __webpack_require__(177);
2121 +
2122 +/***/ }),
2123 +/* 112 */
2124 +/***/ (function(module, exports, __webpack_require__) {
2125 +
2126 +var classof = __webpack_require__(101);
2127 +var ITERATOR = __webpack_require__(10)('iterator');
2128 +var Iterators = __webpack_require__(35);
2129 +module.exports = __webpack_require__(6).getIteratorMethod = function (it) {
2130 + if (it != undefined) return it[ITERATOR]
2131 + || it['@@iterator']
2132 + || Iterators[classof(it)];
2133 +};
2134 +
2135 +
2136 +/***/ }),
2137 +/* 113 */
2138 +/***/ (function(module, exports, __webpack_require__) {
2139 +
2140 +// getting tag from 19.1.3.6 Object.prototype.toString()
2141 +var cof = __webpack_require__(46);
2142 +var TAG = __webpack_require__(12)('toStringTag');
2143 +// ES3 wrong here
2144 +var ARG = cof(function () { return arguments; }()) == 'Arguments';
2145 +
2146 +// fallback for IE11 Script Access Denied error
2147 +var tryGet = function (it, key) {
2148 + try {
2149 + return it[key];
2150 + } catch (e) { /* empty */ }
2151 +};
2152 +
2153 +module.exports = function (it) {
2154 + var O, T, B;
2155 + return it === undefined ? 'Undefined' : it === null ? 'Null'
2156 + // @@toStringTag case
2157 + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
2158 + // builtinTag case
2159 + : ARG ? cof(O)
2160 + // ES3 arguments fallback
2161 + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
2162 +};
2163 +
2164 +
2165 +/***/ }),
2166 +/* 114 */
2167 +/***/ (function(module, exports, __webpack_require__) {
2168 +
2169 +module.exports = !__webpack_require__(14) && !__webpack_require__(22)(function () {
2170 + return Object.defineProperty(__webpack_require__(92)('div'), 'a', { get: function () { return 7; } }).a != 7;
2171 +});
2172 +
2173 +
2174 +/***/ }),
2175 +/* 115 */
2176 +/***/ (function(module, exports, __webpack_require__) {
2177 +
2178 +module.exports = __webpack_require__(161);
2179 +
2180 +/***/ }),
2181 +/* 116 */
2182 +/***/ (function(module, exports, __webpack_require__) {
2183 +
2184 +var has = __webpack_require__(19);
2185 +var toIObject = __webpack_require__(20);
2186 +var arrayIndexOf = __webpack_require__(166)(false);
2187 +var IE_PROTO = __webpack_require__(75)('IE_PROTO');
2188 +
2189 +module.exports = function (object, names) {
2190 + var O = toIObject(object);
2191 + var i = 0;
2192 + var result = [];
2193 + var key;
2194 + for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
2195 + // Don't enum bug & hidden keys
2196 + while (names.length > i) if (has(O, key = names[i++])) {
2197 + ~arrayIndexOf(result, key) || result.push(key);
807 2198 }
808 - getScrollPosition(element) {
809 - let offsetTop = 0;
810 - while (element) {
811 - offsetTop += element.offsetTop;
812 - element = element.offsetParent;
813 - }
814 - return offsetTop;
815 - }
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')));
819 - }
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')));
823 - }
824 - filterAndSortElementsByType(elements, type) {
825 - return elements.filter(item => type === item.type).sort((a, b) => a.scrollPosition - b.scrollPosition);
826 - }
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 -}
842 -exports["default"] = _default;
2199 + return result;
2200 +};
843 2201
2202 +
844 2203 /***/ }),
2204 +/* 117 */,
2205 +/* 118 */,
2206 +/* 119 */
2207 +/***/ (function(module, exports, __webpack_require__) {
845 2208
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) => {
2209 +"use strict";
851 2210
852 2211
2212 +var anObject = __webpack_require__(18);
2213 +var toLength = __webpack_require__(43);
2214 +var advanceStringIndex = __webpack_require__(105);
2215 +var regExpExec = __webpack_require__(94);
853 2216
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;
863 - }
864 - getStyleElement(src) {
865 - const styleElement = document.createElement('link');
866 - styleElement.rel = 'stylesheet';
867 - styleElement.href = src;
868 - return styleElement;
869 - }
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 - }
897 -}
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`
2217 +// @@match logic
2218 +__webpack_require__(95)('match', 1, function (defined, MATCH, $match, maybeCallNative) {
2219 + return [
2220 + // `String.prototype.match` method
2221 + // https://tc39.github.io/ecma262/#sec-string.prototype.match
2222 + function match(regexp) {
2223 + var O = defined(this);
2224 + var fn = regexp == undefined ? undefined : regexp[MATCH];
2225 + return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));
906 2226 },
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`
2227 + // `RegExp.prototype[@@match]` method
2228 + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match
2229 + function (regexp) {
2230 + var res = maybeCallNative($match, regexp, this);
2231 + if (res.done) return res.value;
2232 + var rx = anObject(regexp);
2233 + var S = String(this);
2234 + if (!rx.global) return regExpExec(rx, S);
2235 + var fullUnicode = rx.unicode;
2236 + rx.lastIndex = 0;
2237 + var A = [];
2238 + var n = 0;
2239 + var result;
2240 + while ((result = regExpExec(rx, S)) !== null) {
2241 + var matchStr = String(result[0]);
2242 + A[n] = matchStr;
2243 + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
2244 + n++;
2245 + }
2246 + return n === 0 ? null : A;
913 2247 }
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 - }
2248 + ];
2249 +});
2250 +
2251 +
2252 +/***/ }),
2253 +/* 120 */
2254 +/***/ (function(module, exports, __webpack_require__) {
2255 +
2256 +// fallback for non-array-like ES3 and non-enumerable old V8 strings
2257 +var cof = __webpack_require__(46);
2258 +// eslint-disable-next-line no-prototype-builtins
2259 +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
2260 + return cof(it) == 'String' ? it.split('') : Object(it);
929 2261 };
930 2262
2263 +
931 2264 /***/ }),
2265 +/* 121 */,
2266 +/* 122 */
2267 +/***/ (function(module, exports, __webpack_require__) {
932 2268
933 -/***/ "../assets/dev/js/frontend/utils/controls.js":
934 -/*!***************************************************!*\
935 - !*** ../assets/dev/js/frontend/utils/controls.js ***!
936 - \***************************************************/
937 -/***/ ((__unused_webpack_module, exports) => {
2269 +// 7.2.8 IsRegExp(argument)
2270 +var isObject = __webpack_require__(30);
2271 +var cof = __webpack_require__(46);
2272 +var MATCH = __webpack_require__(12)('match');
2273 +module.exports = function (it) {
2274 + var isRegExp;
2275 + return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');
2276 +};
938 2277
939 2278
2279 +/***/ }),
2280 +/* 123 */
2281 +/***/ (function(module, exports, __webpack_require__) {
940 2282
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];
965 - }
966 - return value;
2283 +// 7.1.1 ToPrimitive(input [, PreferredType])
2284 +var isObject = __webpack_require__(30);
2285 +// instead of the ES6 spec version, we didn't implement @@toPrimitive case
2286 +// and the second argument - flag - preferred type is a string
2287 +module.exports = function (it, S) {
2288 + if (!isObject(it)) return it;
2289 + var fn, val;
2290 + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
2291 + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
2292 + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
2293 + throw TypeError("Can't convert object to primitive value");
2294 +};
2295 +
2296 +
2297 +/***/ }),
2298 +/* 124 */
2299 +/***/ (function(module, exports, __webpack_require__) {
2300 +
2301 +module.exports = __webpack_require__(191);
2302 +
2303 +/***/ }),
2304 +/* 125 */
2305 +/***/ (function(module, exports) {
2306 +
2307 +module.exports = function (it, Constructor, name, forbiddenField) {
2308 + if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {
2309 + throw TypeError(name + ': incorrect invocation!');
2310 + } return it;
2311 +};
2312 +
2313 +
2314 +/***/ }),
2315 +/* 126 */
2316 +/***/ (function(module, exports, __webpack_require__) {
2317 +
2318 +var hide = __webpack_require__(24);
2319 +module.exports = function (target, src, safe) {
2320 + for (var key in src) {
2321 + if (safe && target[key]) target[key] = src[key];
2322 + else hide(target, key, src[key]);
2323 + } return target;
2324 +};
2325 +
2326 +
2327 +/***/ }),
2328 +/* 127 */,
2329 +/* 128 */,
2330 +/* 129 */
2331 +/***/ (function(module, exports, __webpack_require__) {
2332 +
2333 +module.exports = !__webpack_require__(27) && !__webpack_require__(33)(function () {
2334 + return Object.defineProperty(__webpack_require__(109)('div'), 'a', { get: function () { return 7; } }).a != 7;
2335 +});
2336 +
2337 +
2338 +/***/ }),
2339 +/* 130 */,
2340 +/* 131 */
2341 +/***/ (function(module, exports, __webpack_require__) {
2342 +
2343 +var document = __webpack_require__(8).document;
2344 +module.exports = document && document.documentElement;
2345 +
2346 +
2347 +/***/ }),
2348 +/* 132 */
2349 +/***/ (function(module, exports) {
2350 +
2351 +// fast apply, http://jsperf.lnkit.com/fast-apply/5
2352 +module.exports = function (fn, args, that) {
2353 + var un = that === undefined;
2354 + switch (args.length) {
2355 + case 0: return un ? fn()
2356 + : fn.call(that);
2357 + case 1: return un ? fn(args[0])
2358 + : fn.call(that, args[0]);
2359 + case 2: return un ? fn(args[0], args[1])
2360 + : fn.call(that, args[0], args[1]);
2361 + case 3: return un ? fn(args[0], args[1], args[2])
2362 + : fn.call(that, args[0], args[1], args[2]);
2363 + case 4: return un ? fn(args[0], args[1], args[2], args[3])
2364 + : fn.call(that, args[0], args[1], args[2], args[3]);
2365 + } return fn.apply(that, args);
2366 +};
2367 +
2368 +
2369 +/***/ }),
2370 +/* 133 */
2371 +/***/ (function(module, exports, __webpack_require__) {
2372 +
2373 +module.exports = __webpack_require__(257);
2374 +
2375 +/***/ }),
2376 +/* 134 */,
2377 +/* 135 */
2378 +/***/ (function(module, exports, __webpack_require__) {
2379 +
2380 +"use strict";
2381 +
2382 +// https://github.com/tc39/Array.prototype.includes
2383 +var $export = __webpack_require__(34);
2384 +var $includes = __webpack_require__(143)(true);
2385 +
2386 +$export($export.P, 'Array', {
2387 + includes: function includes(el /* , fromIndex = 0 */) {
2388 + return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
967 2389 }
2390 +});
968 2391
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);
2392 +__webpack_require__(87)('includes');
985 2393
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 - }
992 2394
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 - }
2395 +/***/ }),
2396 +/* 136 */
2397 +/***/ (function(module, exports, __webpack_require__) {
1011 2398
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;
1017 - }
2399 +var dP = __webpack_require__(15);
2400 +var anObject = __webpack_require__(13);
2401 +var getKeys = __webpack_require__(40);
2402 +
2403 +module.exports = __webpack_require__(14) ? Object.defineProperties : function defineProperties(O, Properties) {
2404 + anObject(O);
2405 + var keys = getKeys(Properties);
2406 + var length = keys.length;
2407 + var i = 0;
2408 + var P;
2409 + while (length > i) dP.f(O, P = keys[i++], Properties[P]);
2410 + return O;
2411 +};
2412 +
2413 +
2414 +/***/ }),
2415 +/* 137 */
2416 +/***/ (function(module, exports, __webpack_require__) {
2417 +
2418 +var _Object$setPrototypeOf = __webpack_require__(115);
2419 +
2420 +function _setPrototypeOf(o, p) {
2421 + module.exports = _setPrototypeOf = _Object$setPrototypeOf || function _setPrototypeOf(o, p) {
2422 + o.__proto__ = p;
2423 + return o;
2424 + };
2425 +
2426 + return _setPrototypeOf(o, p);
1018 2427 }
1019 -exports["default"] = Controls;
1020 2428
2429 +module.exports = _setPrototypeOf;
2430 +
1021 2431 /***/ }),
2432 +/* 138 */,
2433 +/* 139 */
2434 +/***/ (function(module, exports, __webpack_require__) {
1022 2435
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__) => {
2436 +module.exports = __webpack_require__(164);
1028 2437
2438 +/***/ }),
2439 +/* 140 */
2440 +/***/ (function(module, exports, __webpack_require__) {
1029 2441
2442 +"use strict";
1030 2443
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);
2444 +// ECMAScript 6 symbols shim
2445 +var global = __webpack_require__(8);
2446 +var has = __webpack_require__(19);
2447 +var DESCRIPTORS = __webpack_require__(14);
2448 +var $export = __webpack_require__(7);
2449 +var redefine = __webpack_require__(93);
2450 +var META = __webpack_require__(70).KEY;
2451 +var $fails = __webpack_require__(22);
2452 +var shared = __webpack_require__(76);
2453 +var setToStringTag = __webpack_require__(53);
2454 +var uid = __webpack_require__(59);
2455 +var wks = __webpack_require__(10);
2456 +var wksExt = __webpack_require__(63);
2457 +var wksDefine = __webpack_require__(79);
2458 +var enumKeys = __webpack_require__(178);
2459 +var isArray = __webpack_require__(97);
2460 +var anObject = __webpack_require__(13);
2461 +var isObject = __webpack_require__(9);
2462 +var toObject = __webpack_require__(32);
2463 +var toIObject = __webpack_require__(20);
2464 +var toPrimitive = __webpack_require__(74);
2465 +var createDesc = __webpack_require__(44);
2466 +var _create = __webpack_require__(52);
2467 +var gOPNExt = __webpack_require__(179);
2468 +var $GOPD = __webpack_require__(51);
2469 +var $GOPS = __webpack_require__(71);
2470 +var $DP = __webpack_require__(15);
2471 +var $keys = __webpack_require__(40);
2472 +var gOPD = $GOPD.f;
2473 +var dP = $DP.f;
2474 +var gOPN = gOPNExt.f;
2475 +var $Symbol = global.Symbol;
2476 +var $JSON = global.JSON;
2477 +var _stringify = $JSON && $JSON.stringify;
2478 +var PROTOTYPE = 'prototype';
2479 +var HIDDEN = wks('_hidden');
2480 +var TO_PRIMITIVE = wks('toPrimitive');
2481 +var isEnum = {}.propertyIsEnumerable;
2482 +var SymbolRegistry = shared('symbol-registry');
2483 +var AllSymbols = shared('symbols');
2484 +var OPSymbols = shared('op-symbols');
2485 +var ObjectProto = Object[PROTOTYPE];
2486 +var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;
2487 +var QObject = global.QObject;
2488 +// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
2489 +var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
2490 +
2491 +// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
2492 +var setSymbolDesc = DESCRIPTORS && $fails(function () {
2493 + return _create(dP({}, 'a', {
2494 + get: function () { return dP(this, 'a', { value: 7 }).a; }
2495 + })).a != 7;
2496 +}) ? function (it, key, D) {
2497 + var protoDesc = gOPD(ObjectProto, key);
2498 + if (protoDesc) delete ObjectProto[key];
2499 + dP(it, key, D);
2500 + if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);
2501 +} : dP;
2502 +
2503 +var wrap = function (tag) {
2504 + var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);
2505 + sym._k = tag;
2506 + return sym;
2507 +};
2508 +
2509 +var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {
2510 + return typeof it == 'symbol';
2511 +} : function (it) {
2512 + return it instanceof $Symbol;
2513 +};
2514 +
2515 +var $defineProperty = function defineProperty(it, key, D) {
2516 + if (it === ObjectProto) $defineProperty(OPSymbols, key, D);
2517 + anObject(it);
2518 + key = toPrimitive(key, true);
2519 + anObject(D);
2520 + if (has(AllSymbols, key)) {
2521 + if (!D.enumerable) {
2522 + if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));
2523 + it[HIDDEN][key] = true;
2524 + } else {
2525 + if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;
2526 + D = _create(D, { enumerable: createDesc(0, false) });
2527 + } return setSymbolDesc(it, key, D);
2528 + } return dP(it, key, D);
2529 +};
2530 +var $defineProperties = function defineProperties(it, P) {
2531 + anObject(it);
2532 + var keys = enumKeys(P = toIObject(P));
2533 + var i = 0;
2534 + var l = keys.length;
2535 + var key;
2536 + while (l > i) $defineProperty(it, key = keys[i++], P[key]);
2537 + return it;
2538 +};
2539 +var $create = function create(it, P) {
2540 + return P === undefined ? _create(it) : $defineProperties(_create(it), P);
2541 +};
2542 +var $propertyIsEnumerable = function propertyIsEnumerable(key) {
2543 + var E = isEnum.call(this, key = toPrimitive(key, true));
2544 + if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;
2545 + return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
2546 +};
2547 +var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {
2548 + it = toIObject(it);
2549 + key = toPrimitive(key, true);
2550 + if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;
2551 + var D = gOPD(it, key);
2552 + if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;
2553 + return D;
2554 +};
2555 +var $getOwnPropertyNames = function getOwnPropertyNames(it) {
2556 + var names = gOPN(toIObject(it));
2557 + var result = [];
2558 + var i = 0;
2559 + var key;
2560 + while (names.length > i) {
2561 + if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);
2562 + } return result;
2563 +};
2564 +var $getOwnPropertySymbols = function getOwnPropertySymbols(it) {
2565 + var IS_OP = it === ObjectProto;
2566 + var names = gOPN(IS_OP ? OPSymbols : toIObject(it));
2567 + var result = [];
2568 + var i = 0;
2569 + var key;
2570 + while (names.length > i) {
2571 + if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);
2572 + } return result;
2573 +};
2574 +
2575 +// 19.4.1.1 Symbol([description])
2576 +if (!USE_NATIVE) {
2577 + $Symbol = function Symbol() {
2578 + if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');
2579 + var tag = uid(arguments.length > 0 ? arguments[0] : undefined);
2580 + var $set = function (value) {
2581 + if (this === ObjectProto) $set.call(OPSymbols, value);
2582 + if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
2583 + setSymbolDesc(this, tag, createDesc(1, value));
2584 + };
2585 + if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });
2586 + return wrap(tag);
2587 + };
2588 + redefine($Symbol[PROTOTYPE], 'toString', function toString() {
2589 + return this._k;
2590 + });
2591 +
2592 + $GOPD.f = $getOwnPropertyDescriptor;
2593 + $DP.f = $defineProperty;
2594 + __webpack_require__(99).f = gOPNExt.f = $getOwnPropertyNames;
2595 + __webpack_require__(50).f = $propertyIsEnumerable;
2596 + $GOPS.f = $getOwnPropertySymbols;
2597 +
2598 + if (DESCRIPTORS && !__webpack_require__(47)) {
2599 + redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
1050 2600 }
1051 - getDefaultSettings() {
1052 - return {
1053 - selectors: {
1054 - links: 'a, [data-elementor-lightbox]',
1055 - slideshow: '[data-elementor-lightbox-slideshow]'
1056 - }
1057 - };
2601 +
2602 + wksExt.f = function (name) {
2603 + return wrap(wks(name));
2604 + };
2605 +}
2606 +
2607 +$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });
2608 +
2609 +for (var es6Symbols = (
2610 + // 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
2611 + 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'
2612 +).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);
2613 +
2614 +for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);
2615 +
2616 +$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {
2617 + // 19.4.2.1 Symbol.for(key)
2618 + 'for': function (key) {
2619 + return has(SymbolRegistry, key += '')
2620 + ? SymbolRegistry[key]
2621 + : SymbolRegistry[key] = $Symbol(key);
2622 + },
2623 + // 19.4.2.5 Symbol.keyFor(sym)
2624 + keyFor: function keyFor(sym) {
2625 + if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');
2626 + for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;
2627 + },
2628 + useSetter: function () { setter = true; },
2629 + useSimple: function () { setter = false; }
2630 +});
2631 +
2632 +$export($export.S + $export.F * !USE_NATIVE, 'Object', {
2633 + // 19.1.2.2 Object.create(O [, Properties])
2634 + create: $create,
2635 + // 19.1.2.4 Object.defineProperty(O, P, Attributes)
2636 + defineProperty: $defineProperty,
2637 + // 19.1.2.3 Object.defineProperties(O, Properties)
2638 + defineProperties: $defineProperties,
2639 + // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
2640 + getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
2641 + // 19.1.2.7 Object.getOwnPropertyNames(O)
2642 + getOwnPropertyNames: $getOwnPropertyNames,
2643 + // 19.1.2.8 Object.getOwnPropertySymbols(O)
2644 + getOwnPropertySymbols: $getOwnPropertySymbols
2645 +});
2646 +
2647 +// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
2648 +// https://bugs.chromium.org/p/v8/issues/detail?id=3443
2649 +var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });
2650 +
2651 +$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {
2652 + getOwnPropertySymbols: function getOwnPropertySymbols(it) {
2653 + return $GOPS.f(toObject(it));
1058 2654 }
1059 - getDefaultElements() {
1060 - return {
1061 - $links: jQuery(this.getSettings('selectors.links')),
1062 - $slideshow: jQuery(this.getSettings('selectors.slideshow'))
2655 +});
2656 +
2657 +// 24.3.2 JSON.stringify(value [, replacer [, space]])
2658 +$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {
2659 + var S = $Symbol();
2660 + // MS Edge converts symbol values to JSON as {}
2661 + // WebKit converts symbol values to JSON as null
2662 + // V8 throws on boxed symbols
2663 + return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';
2664 +})), 'JSON', {
2665 + stringify: function stringify(it) {
2666 + var args = [it];
2667 + var i = 1;
2668 + var replacer, $replacer;
2669 + while (arguments.length > i) args.push(arguments[i++]);
2670 + $replacer = replacer = args[1];
2671 + if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
2672 + if (!isArray(replacer)) replacer = function (key, value) {
2673 + if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
2674 + if (!isSymbol(value)) return value;
1063 2675 };
2676 + args[1] = replacer;
2677 + return _stringify.apply($JSON, args);
1064 2678 }
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;
2679 +});
2680 +
2681 +// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)
2682 +$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(24)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
2683 +// 19.4.3.5 Symbol.prototype[@@toStringTag]
2684 +setToStringTag($Symbol, 'Symbol');
2685 +// 20.2.1.9 Math[@@toStringTag]
2686 +setToStringTag(Math, 'Math', true);
2687 +// 24.3.3 JSON[@@toStringTag]
2688 +setToStringTag(global.JSON, 'JSON', true);
2689 +
2690 +
2691 +/***/ }),
2692 +/* 141 */
2693 +/***/ (function(module, exports, __webpack_require__) {
2694 +
2695 +// call something on iterator step with safe closing on error
2696 +var anObject = __webpack_require__(13);
2697 +module.exports = function (iterator, fn, value, entries) {
2698 + try {
2699 + return entries ? fn(anObject(value)[0], value[1]) : fn(value);
2700 + // 7.4.6 IteratorClose(iterator, completion)
2701 + } catch (e) {
2702 + var ret = iterator['return'];
2703 + if (ret !== undefined) anObject(ret.call(iterator));
2704 + throw e;
1073 2705 }
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();
1086 - }
1087 - return;
1088 - }
1089 - event.preventDefault();
1090 - if (editMode && !elementor.getPreferences('lightbox_in_editor')) {
1091 - return;
1092 - }
2706 +};
1093 2707
1094 - // Disable lightbox on color picking mode.
1095 - if (isColorPickingMode) {
1096 - return;
1097 - }
1098 - const lightbox = await LightboxManager.getLightbox();
1099 - lightbox.createLightbox(element);
1100 - }
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();
1116 2708
1117 - // Breaking the iteration when the library loading has already been triggered.
1118 - return false;
1119 - }
1120 - });
2709 +/***/ }),
2710 +/* 142 */
2711 +/***/ (function(module, exports, __webpack_require__) {
2712 +
2713 +// check on default Array iterator
2714 +var Iterators = __webpack_require__(35);
2715 +var ITERATOR = __webpack_require__(10)('iterator');
2716 +var ArrayProto = Array.prototype;
2717 +
2718 +module.exports = function (it) {
2719 + return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
2720 +};
2721 +
2722 +
2723 +/***/ }),
2724 +/* 143 */
2725 +/***/ (function(module, exports, __webpack_require__) {
2726 +
2727 +// false -> Array#indexOf
2728 +// true -> Array#includes
2729 +var toIObject = __webpack_require__(98);
2730 +var toLength = __webpack_require__(43);
2731 +var toAbsoluteIndex = __webpack_require__(198);
2732 +module.exports = function (IS_INCLUDES) {
2733 + return function ($this, el, fromIndex) {
2734 + var O = toIObject($this);
2735 + var length = toLength(O.length);
2736 + var index = toAbsoluteIndex(fromIndex, length);
2737 + var value;
2738 + // Array#includes uses SameValueZero equality algorithm
2739 + // eslint-disable-next-line no-self-compare
2740 + if (IS_INCLUDES && el != el) while (length > index) {
2741 + value = O[index++];
2742 + // eslint-disable-next-line no-self-compare
2743 + if (value != value) return true;
2744 + // Array#indexOf ignores holes, Array#includes - not
2745 + } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
2746 + if (O[index] === el) return IS_INCLUDES || index || 0;
2747 + } return !IS_INCLUDES && -1;
2748 + };
2749 +};
2750 +
2751 +
2752 +/***/ }),
2753 +/* 144 */
2754 +/***/ (function(module, exports, __webpack_require__) {
2755 +
2756 +var toInteger = __webpack_require__(57);
2757 +var defined = __webpack_require__(42);
2758 +// true -> String#at
2759 +// false -> String#codePointAt
2760 +module.exports = function (TO_STRING) {
2761 + return function (that, pos) {
2762 + var s = String(defined(that));
2763 + var i = toInteger(pos);
2764 + var l = s.length;
2765 + var a, b;
2766 + if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
2767 + a = s.charCodeAt(i);
2768 + return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
2769 + ? TO_STRING ? s.charAt(i) : a
2770 + : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
2771 + };
2772 +};
2773 +
2774 +
2775 +/***/ }),
2776 +/* 145 */
2777 +/***/ (function(module, exports, __webpack_require__) {
2778 +
2779 +module.exports = __webpack_require__(67)('native-function-to-string', Function.toString);
2780 +
2781 +
2782 +/***/ }),
2783 +/* 146 */
2784 +/***/ (function(module, exports, __webpack_require__) {
2785 +
2786 +"use strict";
2787 +
2788 +// 25.4.1.5 NewPromiseCapability(C)
2789 +var aFunction = __webpack_require__(38);
2790 +
2791 +function PromiseCapability(C) {
2792 + var resolve, reject;
2793 + this.promise = new C(function ($$resolve, $$reject) {
2794 + if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');
2795 + resolve = $$resolve;
2796 + reject = $$reject;
2797 + });
2798 + this.resolve = aFunction(resolve);
2799 + this.reject = aFunction(reject);
2800 +}
2801 +
2802 +module.exports.f = function (C) {
2803 + return new PromiseCapability(C);
2804 +};
2805 +
2806 +
2807 +/***/ }),
2808 +/* 147 */,
2809 +/* 148 */,
2810 +/* 149 */
2811 +/***/ (function(module, exports, __webpack_require__) {
2812 +
2813 +var _Reflect$construct = __webpack_require__(107);
2814 +
2815 +function _isNativeReflectConstruct() {
2816 + if (typeof Reflect === "undefined" || !_Reflect$construct) return false;
2817 + if (_Reflect$construct.sham) return false;
2818 + if (typeof Proxy === "function") return true;
2819 +
2820 + try {
2821 + Date.prototype.toString.call(_Reflect$construct(Date, [], function () {}));
2822 + return true;
2823 + } catch (e) {
2824 + return false;
1121 2825 }
1122 2826 }
1123 -exports["default"] = LightboxManager;
1124 2827
2828 +module.exports = _isNativeReflectConstruct;
2829 +
1125 2830 /***/ }),
2831 +/* 150 */
2832 +/***/ (function(module, exports) {
1126 2833
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__) => {
2834 +module.exports = function (done, value) {
2835 + return { value: value, done: !!done };
2836 +};
1132 2837
1133 2838
2839 +/***/ }),
2840 +/* 151 */
2841 +/***/ (function(module, exports, __webpack_require__) {
1134 2842
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 - }
2843 +module.exports = __webpack_require__(172);
1151 2844
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 - });
2845 +/***/ }),
2846 +/* 152 */
2847 +/***/ (function(module, exports, __webpack_require__) {
2848 +
2849 +var ITERATOR = __webpack_require__(10)('iterator');
2850 +var SAFE_CLOSING = false;
2851 +
2852 +try {
2853 + var riter = [7][ITERATOR]();
2854 + riter['return'] = function () { SAFE_CLOSING = true; };
2855 + // eslint-disable-next-line no-throw-literal
2856 + Array.from(riter, function () { throw 2; });
2857 +} catch (e) { /* empty */ }
2858 +
2859 +module.exports = function (exec, skipClosing) {
2860 + if (!skipClosing && !SAFE_CLOSING) return false;
2861 + var safe = false;
2862 + try {
2863 + var arr = [7];
2864 + var iter = arr[ITERATOR]();
2865 + iter.next = function () { return { done: safe = true }; };
2866 + arr[ITERATOR] = function () { return iter; };
2867 + exec(arr);
2868 + } catch (e) { /* empty */ }
2869 + return safe;
2870 +};
2871 +
2872 +
2873 +/***/ }),
2874 +/* 153 */,
2875 +/* 154 */
2876 +/***/ (function(module, exports, __webpack_require__) {
2877 +
2878 +// 7.3.20 SpeciesConstructor(O, defaultConstructor)
2879 +var anObject = __webpack_require__(18);
2880 +var aFunction = __webpack_require__(91);
2881 +var SPECIES = __webpack_require__(12)('species');
2882 +module.exports = function (O, D) {
2883 + var C = anObject(O).constructor;
2884 + var S;
2885 + return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
2886 +};
2887 +
2888 +
2889 +/***/ }),
2890 +/* 155 */
2891 +/***/ (function(module, exports, __webpack_require__) {
2892 +
2893 +"use strict";
2894 +// 21.1.3.7 String.prototype.includes(searchString, position = 0)
2895 +
2896 +var $export = __webpack_require__(34);
2897 +var context = __webpack_require__(204);
2898 +var INCLUDES = 'includes';
2899 +
2900 +$export($export.P + $export.F * __webpack_require__(205)(INCLUDES), 'String', {
2901 + includes: function includes(searchString /* , position = 0 */) {
2902 + return !!~context(this, searchString, INCLUDES)
2903 + .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);
1166 2904 }
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 - }
2905 +});
1173 2906
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 2907
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 - });
2908 +/***/ }),
2909 +/* 156 */
2910 +/***/ (function(module, exports, __webpack_require__) {
1202 2911
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];
2912 +__webpack_require__(157);
2913 +var $Object = __webpack_require__(6).Object;
2914 +module.exports = function defineProperty(it, key, desc) {
2915 + return $Object.defineProperty(it, key, desc);
2916 +};
1208 2917
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
2918 +
2919 +/***/ }),
2920 +/* 157 */
2921 +/***/ (function(module, exports, __webpack_require__) {
2922 +
2923 +var $export = __webpack_require__(7);
2924 +// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
2925 +$export($export.S + $export.F * !__webpack_require__(14), 'Object', { defineProperty: __webpack_require__(15).f });
2926 +
2927 +
2928 +/***/ }),
2929 +/* 158 */
2930 +/***/ (function(module, exports, __webpack_require__) {
2931 +
2932 +module.exports = __webpack_require__(159);
2933 +
2934 +/***/ }),
2935 +/* 159 */
2936 +/***/ (function(module, exports, __webpack_require__) {
2937 +
2938 +__webpack_require__(160);
2939 +module.exports = __webpack_require__(6).Object.getPrototypeOf;
2940 +
2941 +
2942 +/***/ }),
2943 +/* 160 */
2944 +/***/ (function(module, exports, __webpack_require__) {
2945 +
2946 +// 19.1.2.9 Object.getPrototypeOf(O)
2947 +var toObject = __webpack_require__(32);
2948 +var $getPrototypeOf = __webpack_require__(64);
2949 +
2950 +__webpack_require__(86)('getPrototypeOf', function () {
2951 + return function getPrototypeOf(it) {
2952 + return $getPrototypeOf(toObject(it));
2953 + };
2954 +});
2955 +
2956 +
2957 +/***/ }),
2958 +/* 161 */
2959 +/***/ (function(module, exports, __webpack_require__) {
2960 +
2961 +__webpack_require__(162);
2962 +module.exports = __webpack_require__(6).Object.setPrototypeOf;
2963 +
2964 +
2965 +/***/ }),
2966 +/* 162 */
2967 +/***/ (function(module, exports, __webpack_require__) {
2968 +
2969 +// 19.1.3.19 Object.setPrototypeOf(O, proto)
2970 +var $export = __webpack_require__(7);
2971 +$export($export.S, 'Object', { setPrototypeOf: __webpack_require__(163).set });
2972 +
2973 +
2974 +/***/ }),
2975 +/* 163 */
2976 +/***/ (function(module, exports, __webpack_require__) {
2977 +
2978 +// Works with __proto__ only. Old v8 can't work with null proto objects.
2979 +/* eslint-disable no-proto */
2980 +var isObject = __webpack_require__(9);
2981 +var anObject = __webpack_require__(13);
2982 +var check = function (O, proto) {
2983 + anObject(O);
2984 + if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!");
2985 +};
2986 +module.exports = {
2987 + set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
2988 + function (test, buggy, set) {
2989 + try {
2990 + set = __webpack_require__(31)(Function.call, __webpack_require__(51).f(Object.prototype, '__proto__').set, 2);
2991 + set(test, []);
2992 + buggy = !(test instanceof Array);
2993 + } catch (e) { buggy = true; }
2994 + return function setPrototypeOf(O, proto) {
2995 + check(O, proto);
2996 + if (buggy) O.__proto__ = proto;
2997 + else set(O, proto);
2998 + return O;
1213 2999 };
1214 - });
1215 - return config;
3000 + }({}, false) : undefined),
3001 + check: check
3002 +};
3003 +
3004 +
3005 +/***/ }),
3006 +/* 164 */
3007 +/***/ (function(module, exports, __webpack_require__) {
3008 +
3009 +__webpack_require__(165);
3010 +var $Object = __webpack_require__(6).Object;
3011 +module.exports = function create(P, D) {
3012 + return $Object.create(P, D);
3013 +};
3014 +
3015 +
3016 +/***/ }),
3017 +/* 165 */
3018 +/***/ (function(module, exports, __webpack_require__) {
3019 +
3020 +var $export = __webpack_require__(7);
3021 +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
3022 +$export($export.S, 'Object', { create: __webpack_require__(52) });
3023 +
3024 +
3025 +/***/ }),
3026 +/* 166 */
3027 +/***/ (function(module, exports, __webpack_require__) {
3028 +
3029 +// false -> Array#indexOf
3030 +// true -> Array#includes
3031 +var toIObject = __webpack_require__(20);
3032 +var toLength = __webpack_require__(69);
3033 +var toAbsoluteIndex = __webpack_require__(167);
3034 +module.exports = function (IS_INCLUDES) {
3035 + return function ($this, el, fromIndex) {
3036 + var O = toIObject($this);
3037 + var length = toLength(O.length);
3038 + var index = toAbsoluteIndex(fromIndex, length);
3039 + var value;
3040 + // Array#includes uses SameValueZero equality algorithm
3041 + // eslint-disable-next-line no-self-compare
3042 + if (IS_INCLUDES && el != el) while (length > index) {
3043 + value = O[index++];
3044 + // eslint-disable-next-line no-self-compare
3045 + if (value != value) return true;
3046 + // Array#indexOf ignores holes, Array#includes - not
3047 + } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
3048 + if (O[index] === el) return IS_INCLUDES || index || 0;
3049 + } return !IS_INCLUDES && -1;
3050 + };
3051 +};
3052 +
3053 +
3054 +/***/ }),
3055 +/* 167 */
3056 +/***/ (function(module, exports, __webpack_require__) {
3057 +
3058 +var toInteger = __webpack_require__(77);
3059 +var max = Math.max;
3060 +var min = Math.min;
3061 +module.exports = function (index, length) {
3062 + index = toInteger(index);
3063 + return index < 0 ? max(index + length, 0) : min(index, length);
3064 +};
3065 +
3066 +
3067 +/***/ }),
3068 +/* 168 */
3069 +/***/ (function(module, exports, __webpack_require__) {
3070 +
3071 +__webpack_require__(169);
3072 +module.exports = __webpack_require__(6).Reflect.construct;
3073 +
3074 +
3075 +/***/ }),
3076 +/* 169 */
3077 +/***/ (function(module, exports, __webpack_require__) {
3078 +
3079 +// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])
3080 +var $export = __webpack_require__(7);
3081 +var create = __webpack_require__(52);
3082 +var aFunction = __webpack_require__(38);
3083 +var anObject = __webpack_require__(13);
3084 +var isObject = __webpack_require__(9);
3085 +var fails = __webpack_require__(22);
3086 +var bind = __webpack_require__(170);
3087 +var rConstruct = (__webpack_require__(8).Reflect || {}).construct;
3088 +
3089 +// MS Edge supports only 2 arguments and argumentsList argument is optional
3090 +// FF Nightly sets third argument as `new.target`, but does not create `this` from it
3091 +var NEW_TARGET_BUG = fails(function () {
3092 + function F() { /* empty */ }
3093 + return !(rConstruct(function () { /* empty */ }, [], F) instanceof F);
3094 +});
3095 +var ARGS_BUG = !fails(function () {
3096 + rConstruct(function () { /* empty */ });
3097 +});
3098 +
3099 +$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {
3100 + construct: function construct(Target, args /* , newTarget */) {
3101 + aFunction(Target);
3102 + anObject(args);
3103 + var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);
3104 + if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget);
3105 + if (Target == newTarget) {
3106 + // w/o altered newTarget, optimization for 0-4 arguments
3107 + switch (args.length) {
3108 + case 0: return new Target();
3109 + case 1: return new Target(args[0]);
3110 + case 2: return new Target(args[0], args[1]);
3111 + case 3: return new Target(args[0], args[1], args[2]);
3112 + case 4: return new Target(args[0], args[1], args[2], args[3]);
3113 + }
3114 + // w/o altered newTarget, lot of arguments case
3115 + var $args = [null];
3116 + $args.push.apply($args, args);
3117 + return new (bind.apply(Target, $args))();
3118 + }
3119 + // with altered newTarget, not support built-in constructors
3120 + var proto = newTarget.prototype;
3121 + var instance = create(isObject(proto) ? proto : Object.prototype);
3122 + var result = Function.apply.call(Target, instance, args);
3123 + return isObject(result) ? result : instance;
1216 3124 }
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 - });
3125 +});
3126 +
3127 +
3128 +/***/ }),
3129 +/* 170 */
3130 +/***/ (function(module, exports, __webpack_require__) {
3131 +
3132 +"use strict";
3133 +
3134 +var aFunction = __webpack_require__(38);
3135 +var isObject = __webpack_require__(9);
3136 +var invoke = __webpack_require__(132);
3137 +var arraySlice = [].slice;
3138 +var factories = {};
3139 +
3140 +var construct = function (F, len, args) {
3141 + if (!(len in factories)) {
3142 + for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']';
3143 + // eslint-disable-next-line no-new-func
3144 + factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');
3145 + } return factories[len](F, args);
3146 +};
3147 +
3148 +module.exports = Function.bind || function bind(that /* , ...args */) {
3149 + var fn = aFunction(this);
3150 + var partArgs = arraySlice.call(arguments, 1);
3151 + var bound = function (/* args... */) {
3152 + var args = partArgs.concat(arraySlice.call(arguments));
3153 + return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);
3154 + };
3155 + if (isObject(fn.prototype)) bound.prototype = fn.prototype;
3156 + return bound;
3157 +};
3158 +
3159 +
3160 +/***/ }),
3161 +/* 171 */
3162 +/***/ (function(module, exports, __webpack_require__) {
3163 +
3164 +var _typeof = __webpack_require__(48);
3165 +
3166 +var assertThisInitialized = __webpack_require__(49);
3167 +
3168 +function _possibleConstructorReturn(self, call) {
3169 + if (call && (_typeof(call) === "object" || typeof call === "function")) {
3170 + return call;
1226 3171 }
3172 +
3173 + return assertThisInitialized(self);
1227 3174 }
1228 -exports["default"] = SwiperHandler;
1229 3175
3176 +module.exports = _possibleConstructorReturn;
3177 +
1230 3178 /***/ }),
3179 +/* 172 */
3180 +/***/ (function(module, exports, __webpack_require__) {
1231 3181
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__) => {
3182 +__webpack_require__(60);
3183 +__webpack_require__(62);
3184 +module.exports = __webpack_require__(63).f('iterator');
1237 3185
1238 3186
3187 +/***/ }),
3188 +/* 173 */
3189 +/***/ (function(module, exports, __webpack_require__) {
1239 3190
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"]'
1250 - }
1251 - };
3191 +var toInteger = __webpack_require__(77);
3192 +var defined = __webpack_require__(65);
3193 +// true -> String#at
3194 +// false -> String#codePointAt
3195 +module.exports = function (TO_STRING) {
3196 + return function (that, pos) {
3197 + var s = String(defined(that));
3198 + var i = toInteger(pos);
3199 + var l = s.length;
3200 + var a, b;
3201 + if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
3202 + a = s.charCodeAt(i);
3203 + return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
3204 + ? TO_STRING ? s.charAt(i) : a
3205 + : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
3206 + };
3207 +};
3208 +
3209 +
3210 +/***/ }),
3211 +/* 174 */
3212 +/***/ (function(module, exports, __webpack_require__) {
3213 +
3214 +"use strict";
3215 +
3216 +var create = __webpack_require__(52);
3217 +var descriptor = __webpack_require__(44);
3218 +var setToStringTag = __webpack_require__(53);
3219 +var IteratorPrototype = {};
3220 +
3221 +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
3222 +__webpack_require__(24)(IteratorPrototype, __webpack_require__(10)('iterator'), function () { return this; });
3223 +
3224 +module.exports = function (Constructor, NAME, next) {
3225 + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });
3226 + setToStringTag(Constructor, NAME + ' Iterator');
3227 +};
3228 +
3229 +
3230 +/***/ }),
3231 +/* 175 */
3232 +/***/ (function(module, exports, __webpack_require__) {
3233 +
3234 +"use strict";
3235 +
3236 +var addToUnscopables = __webpack_require__(176);
3237 +var step = __webpack_require__(150);
3238 +var Iterators = __webpack_require__(35);
3239 +var toIObject = __webpack_require__(20);
3240 +
3241 +// 22.1.3.4 Array.prototype.entries()
3242 +// 22.1.3.13 Array.prototype.keys()
3243 +// 22.1.3.29 Array.prototype.values()
3244 +// 22.1.3.30 Array.prototype[@@iterator]()
3245 +module.exports = __webpack_require__(108)(Array, 'Array', function (iterated, kind) {
3246 + this._t = toIObject(iterated); // target
3247 + this._i = 0; // next index
3248 + this._k = kind; // kind
3249 +// 22.1.5.2.1 %ArrayIteratorPrototype%.next()
3250 +}, function () {
3251 + var O = this._t;
3252 + var kind = this._k;
3253 + var index = this._i++;
3254 + if (!O || index >= O.length) {
3255 + this._t = undefined;
3256 + return step(1);
1252 3257 }
1253 - bindEvents() {
1254 - elementorFrontend.elements.$document.on('click', this.getSettings('selectors.links'), this.runLinkAction.bind(this));
3258 + if (kind == 'keys') return step(0, index);
3259 + if (kind == 'values') return step(0, O[index]);
3260 + return step(0, [index, O[index]]);
3261 +}, 'values');
3262 +
3263 +// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
3264 +Iterators.Arguments = Iterators.Array;
3265 +
3266 +addToUnscopables('keys');
3267 +addToUnscopables('values');
3268 +addToUnscopables('entries');
3269 +
3270 +
3271 +/***/ }),
3272 +/* 176 */
3273 +/***/ (function(module, exports) {
3274 +
3275 +module.exports = function () { /* empty */ };
3276 +
3277 +
3278 +/***/ }),
3279 +/* 177 */
3280 +/***/ (function(module, exports, __webpack_require__) {
3281 +
3282 +__webpack_require__(140);
3283 +__webpack_require__(100);
3284 +__webpack_require__(180);
3285 +__webpack_require__(181);
3286 +module.exports = __webpack_require__(6).Symbol;
3287 +
3288 +
3289 +/***/ }),
3290 +/* 178 */
3291 +/***/ (function(module, exports, __webpack_require__) {
3292 +
3293 +// all enumerable object keys, includes symbols
3294 +var getKeys = __webpack_require__(40);
3295 +var gOPS = __webpack_require__(71);
3296 +var pIE = __webpack_require__(50);
3297 +module.exports = function (it) {
3298 + var result = getKeys(it);
3299 + var getSymbols = gOPS.f;
3300 + if (getSymbols) {
3301 + var symbols = getSymbols(it);
3302 + var isEnum = pIE.f;
3303 + var i = 0;
3304 + var key;
3305 + while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);
3306 + } return result;
3307 +};
3308 +
3309 +
3310 +/***/ }),
3311 +/* 179 */
3312 +/***/ (function(module, exports, __webpack_require__) {
3313 +
3314 +// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
3315 +var toIObject = __webpack_require__(20);
3316 +var gOPN = __webpack_require__(99).f;
3317 +var toString = {}.toString;
3318 +
3319 +var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
3320 + ? Object.getOwnPropertyNames(window) : [];
3321 +
3322 +var getWindowNames = function (it) {
3323 + try {
3324 + return gOPN(it);
3325 + } catch (e) {
3326 + return windowNames.slice();
1255 3327 }
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 - }
3328 +};
3329 +
3330 +module.exports.f = function getOwnPropertyNames(it) {
3331 + return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));
3332 +};
3333 +
3334 +
3335 +/***/ }),
3336 +/* 180 */
3337 +/***/ (function(module, exports, __webpack_require__) {
3338 +
3339 +__webpack_require__(79)('asyncIterator');
3340 +
3341 +
3342 +/***/ }),
3343 +/* 181 */
3344 +/***/ (function(module, exports, __webpack_require__) {
3345 +
3346 +__webpack_require__(79)('observable');
3347 +
3348 +
3349 +/***/ }),
3350 +/* 182 */
3351 +/***/ (function(module, exports, __webpack_require__) {
3352 +
3353 +// 0 -> Array#forEach
3354 +// 1 -> Array#map
3355 +// 2 -> Array#filter
3356 +// 3 -> Array#some
3357 +// 4 -> Array#every
3358 +// 5 -> Array#find
3359 +// 6 -> Array#findIndex
3360 +var ctx = __webpack_require__(73);
3361 +var IObject = __webpack_require__(120);
3362 +var toObject = __webpack_require__(96);
3363 +var toLength = __webpack_require__(43);
3364 +var asc = __webpack_require__(216);
3365 +module.exports = function (TYPE, $create) {
3366 + var IS_MAP = TYPE == 1;
3367 + var IS_FILTER = TYPE == 2;
3368 + var IS_SOME = TYPE == 3;
3369 + var IS_EVERY = TYPE == 4;
3370 + var IS_FIND_INDEX = TYPE == 6;
3371 + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
3372 + var create = $create || asc;
3373 + return function ($this, callbackfn, that) {
3374 + var O = toObject($this);
3375 + var self = IObject(O);
3376 + var f = ctx(callbackfn, that, 3);
3377 + var length = toLength(self.length);
3378 + var index = 0;
3379 + var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
3380 + var val, res;
3381 + for (;length > index; index++) if (NO_HOLES || index in self) {
3382 + val = self[index];
3383 + res = f(val, index, O);
3384 + if (TYPE) {
3385 + if (IS_MAP) result[index] = res; // map
3386 + else if (res) switch (TYPE) {
3387 + case 3: return true; // some
3388 + case 5: return val; // find
3389 + case 6: return index; // findIndex
3390 + case 2: result.push(val); // filter
3391 + } else if (IS_EVERY) return false; // every
1270 3392 }
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 3393 }
1283 - const action = this.actions[actionMatch[1]];
1284 - if (!action) {
1285 - return;
3394 + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;
3395 + };
3396 +};
3397 +
3398 +
3399 +/***/ }),
3400 +/* 183 */
3401 +/***/ (function(module, exports, __webpack_require__) {
3402 +
3403 +"use strict";
3404 +
3405 +__webpack_require__(280);
3406 +var anObject = __webpack_require__(18);
3407 +var $flags = __webpack_require__(106);
3408 +var DESCRIPTORS = __webpack_require__(27);
3409 +var TO_STRING = 'toString';
3410 +var $toString = /./[TO_STRING];
3411 +
3412 +var define = function (fn) {
3413 + __webpack_require__(37)(RegExp.prototype, TO_STRING, fn, true);
3414 +};
3415 +
3416 +// 21.2.5.14 RegExp.prototype.toString()
3417 +if (__webpack_require__(33)(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {
3418 + define(function toString() {
3419 + var R = anObject(this);
3420 + return '/'.concat(R.source, '/',
3421 + 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);
3422 + });
3423 +// FF44- RegExp#toString has a wrong name
3424 +} else if ($toString.name != TO_STRING) {
3425 + define(function toString() {
3426 + return $toString.call(this);
3427 + });
3428 +}
3429 +
3430 +
3431 +/***/ }),
3432 +/* 184 */,
3433 +/* 185 */
3434 +/***/ (function(module, exports, __webpack_require__) {
3435 +
3436 +var DESCRIPTORS = __webpack_require__(14);
3437 +var getKeys = __webpack_require__(40);
3438 +var toIObject = __webpack_require__(20);
3439 +var isEnum = __webpack_require__(50).f;
3440 +module.exports = function (isEntries) {
3441 + return function (it) {
3442 + var O = toIObject(it);
3443 + var keys = getKeys(O);
3444 + var length = keys.length;
3445 + var i = 0;
3446 + var result = [];
3447 + var key;
3448 + while (length > i) {
3449 + key = keys[i++];
3450 + if (!DESCRIPTORS || isEnum.call(O, key)) {
3451 + result.push(isEntries ? [key, O[key]] : O[key]);
3452 + }
1286 3453 }
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);
3454 + return result;
3455 + };
3456 +};
3457 +
3458 +
3459 +/***/ }),
3460 +/* 186 */,
3461 +/* 187 */,
3462 +/* 188 */,
3463 +/* 189 */,
3464 +/* 190 */
3465 +/***/ (function(module, exports, __webpack_require__) {
3466 +
3467 +"use strict";
3468 +
3469 +var regexpExec = __webpack_require__(90);
3470 +__webpack_require__(34)({
3471 + target: 'RegExp',
3472 + proto: true,
3473 + forced: regexpExec !== /./.exec
3474 +}, {
3475 + exec: regexpExec
3476 +});
3477 +
3478 +
3479 +/***/ }),
3480 +/* 191 */
3481 +/***/ (function(module, exports, __webpack_require__) {
3482 +
3483 +__webpack_require__(192);
3484 +var $Object = __webpack_require__(6).Object;
3485 +module.exports = function getOwnPropertyDescriptor(it, key) {
3486 + return $Object.getOwnPropertyDescriptor(it, key);
3487 +};
3488 +
3489 +
3490 +/***/ }),
3491 +/* 192 */
3492 +/***/ (function(module, exports, __webpack_require__) {
3493 +
3494 +// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
3495 +var toIObject = __webpack_require__(20);
3496 +var $getOwnPropertyDescriptor = __webpack_require__(51).f;
3497 +
3498 +__webpack_require__(86)('getOwnPropertyDescriptor', function () {
3499 + return function getOwnPropertyDescriptor(it, key) {
3500 + return $getOwnPropertyDescriptor(toIObject(it), key);
3501 + };
3502 +});
3503 +
3504 +
3505 +/***/ }),
3506 +/* 193 */
3507 +/***/ (function(module, exports, __webpack_require__) {
3508 +
3509 +module.exports = __webpack_require__(194);
3510 +
3511 +/***/ }),
3512 +/* 194 */
3513 +/***/ (function(module, exports, __webpack_require__) {
3514 +
3515 +__webpack_require__(195);
3516 +module.exports = __webpack_require__(6).Reflect.get;
3517 +
3518 +
3519 +/***/ }),
3520 +/* 195 */
3521 +/***/ (function(module, exports, __webpack_require__) {
3522 +
3523 +// 26.1.6 Reflect.get(target, propertyKey [, receiver])
3524 +var gOPD = __webpack_require__(51);
3525 +var getPrototypeOf = __webpack_require__(64);
3526 +var has = __webpack_require__(19);
3527 +var $export = __webpack_require__(7);
3528 +var isObject = __webpack_require__(9);
3529 +var anObject = __webpack_require__(13);
3530 +
3531 +function get(target, propertyKey /* , receiver */) {
3532 + var receiver = arguments.length < 3 ? target : arguments[2];
3533 + var desc, proto;
3534 + if (anObject(target) === receiver) return target[propertyKey];
3535 + if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value')
3536 + ? desc.value
3537 + : desc.get !== undefined
3538 + ? desc.get.call(receiver)
3539 + : undefined;
3540 + if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver);
3541 +}
3542 +
3543 +$export($export.S, 'Reflect', { get: get });
3544 +
3545 +
3546 +/***/ }),
3547 +/* 196 */
3548 +/***/ (function(module, exports, __webpack_require__) {
3549 +
3550 +var getPrototypeOf = __webpack_require__(16);
3551 +
3552 +function _superPropBase(object, property) {
3553 + while (!Object.prototype.hasOwnProperty.call(object, property)) {
3554 + object = getPrototypeOf(object);
3555 + if (object === null) break;
1294 3556 }
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 - }
1303 3557
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 - }
3558 + return object;
1319 3559 }
1320 -exports["default"] = _default;
1321 3560
3561 +module.exports = _superPropBase;
3562 +
1322 3563 /***/ }),
3564 +/* 197 */,
3565 +/* 198 */
3566 +/***/ (function(module, exports, __webpack_require__) {
1323 3567
1324 -/***/ "../assets/dev/js/frontend/utils/utils.js":
1325 -/*!************************************************!*\
1326 - !*** ../assets/dev/js/frontend/utils/utils.js ***!
1327 - \************************************************/
1328 -/***/ ((__unused_webpack_module, exports) => {
3568 +var toInteger = __webpack_require__(57);
3569 +var max = Math.max;
3570 +var min = Math.min;
3571 +module.exports = function (index, length) {
3572 + index = toInteger(index);
3573 + return index < 0 ? max(index + length, 0) : min(index, length);
3574 +};
1329 3575
1330 3576
3577 +/***/ }),
3578 +/* 199 */,
3579 +/* 200 */,
3580 +/* 201 */
3581 +/***/ (function(module, exports, __webpack_require__) {
1331 3582
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;'
3583 +__webpack_require__(202);
3584 +module.exports = __webpack_require__(6).Object.keys;
3585 +
3586 +
3587 +/***/ }),
3588 +/* 202 */
3589 +/***/ (function(module, exports, __webpack_require__) {
3590 +
3591 +// 19.1.2.14 Object.keys(O)
3592 +var toObject = __webpack_require__(32);
3593 +var $keys = __webpack_require__(40);
3594 +
3595 +__webpack_require__(86)('keys', function () {
3596 + return function keys(it) {
3597 + return $keys(toObject(it));
1344 3598 };
1345 - return str.replace(/[&<>'"]/g, tag => specialChars[tag] || tag);
3599 +});
3600 +
3601 +
3602 +/***/ }),
3603 +/* 203 */,
3604 +/* 204 */
3605 +/***/ (function(module, exports, __webpack_require__) {
3606 +
3607 +// helper for String#{startsWith, endsWith, includes}
3608 +var isRegExp = __webpack_require__(122);
3609 +var defined = __webpack_require__(42);
3610 +
3611 +module.exports = function (that, searchString, NAME) {
3612 + if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!");
3613 + return String(defined(that));
1346 3614 };
1347 3615
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;
3616 +
3617 +/***/ }),
3618 +/* 205 */
3619 +/***/ (function(module, exports, __webpack_require__) {
3620 +
3621 +var MATCH = __webpack_require__(12)('match');
3622 +module.exports = function (KEY) {
3623 + var re = /./;
3624 + try {
3625 + '/./'[KEY](re);
3626 + } catch (e) {
3627 + try {
3628 + re[MATCH] = false;
3629 + return !'/./'[KEY](re);
3630 + } catch (f) { /* empty */ }
3631 + } return true;
1353 3632 };
1354 -exports.isScrollSnapActive = isScrollSnapActive;
1355 3633
3634 +
1356 3635 /***/ }),
3636 +/* 206 */
3637 +/***/ (function(module, exports, __webpack_require__) {
1357 3638
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) => {
3639 +module.exports = __webpack_require__(316);
1363 3640
3641 +/***/ }),
3642 +/* 207 */
3643 +/***/ (function(module, exports, __webpack_require__) {
1364 3644
3645 +// 7.3.20 SpeciesConstructor(O, defaultConstructor)
3646 +var anObject = __webpack_require__(13);
3647 +var aFunction = __webpack_require__(38);
3648 +var SPECIES = __webpack_require__(10)('species');
3649 +module.exports = function (O, D) {
3650 + var C = anObject(O).constructor;
3651 + var S;
3652 + return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
3653 +};
1365 3654
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 - }
3655 +
3656 +/***/ }),
3657 +/* 208 */
3658 +/***/ (function(module, exports, __webpack_require__) {
3659 +
3660 +var ctx = __webpack_require__(31);
3661 +var invoke = __webpack_require__(132);
3662 +var html = __webpack_require__(131);
3663 +var cel = __webpack_require__(92);
3664 +var global = __webpack_require__(8);
3665 +var process = global.process;
3666 +var setTask = global.setImmediate;
3667 +var clearTask = global.clearImmediate;
3668 +var MessageChannel = global.MessageChannel;
3669 +var Dispatch = global.Dispatch;
3670 +var counter = 0;
3671 +var queue = {};
3672 +var ONREADYSTATECHANGE = 'onreadystatechange';
3673 +var defer, channel, port;
3674 +var run = function () {
3675 + var id = +this;
3676 + // eslint-disable-next-line no-prototype-builtins
3677 + if (queue.hasOwnProperty(id)) {
3678 + var fn = queue[id];
3679 + delete queue[id];
3680 + fn();
3681 + }
3682 +};
3683 +var listener = function (event) {
3684 + run.call(event.data);
3685 +};
3686 +// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
3687 +if (!setTask || !clearTask) {
3688 + setTask = function setImmediate(fn) {
3689 + var args = [];
3690 + var i = 1;
3691 + while (arguments.length > i) args.push(arguments[i++]);
3692 + queue[++counter] = function () {
3693 + // eslint-disable-next-line no-new-func
3694 + invoke(typeof fn == 'function' ? fn : Function(fn), args);
1377 3695 };
1378 - }
1379 - getDefaultElements() {
1380 - return {
1381 - $firstScript: jQuery(this.getSettings('selectors.firstScript'))
3696 + defer(counter);
3697 + return counter;
3698 + };
3699 + clearTask = function clearImmediate(id) {
3700 + delete queue[id];
3701 + };
3702 + // Node.js 0.8-
3703 + if (__webpack_require__(56)(process) == 'process') {
3704 + defer = function (id) {
3705 + process.nextTick(ctx(run, id, 1));
1382 3706 };
3707 + // Sphere (JS game engine) Dispatch API
3708 + } else if (Dispatch && Dispatch.now) {
3709 + defer = function (id) {
3710 + Dispatch.now(ctx(run, id, 1));
3711 + };
3712 + // Browsers with MessageChannel, includes WebWorkers
3713 + } else if (MessageChannel) {
3714 + channel = new MessageChannel();
3715 + port = channel.port2;
3716 + channel.port1.onmessage = listener;
3717 + defer = ctx(port.postMessage, port, 1);
3718 + // Browsers with postMessage, skip WebWorkers
3719 + // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
3720 + } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) {
3721 + defer = function (id) {
3722 + global.postMessage(id + '', '*');
3723 + };
3724 + global.addEventListener('message', listener, false);
3725 + // IE8-
3726 + } else if (ONREADYSTATECHANGE in cel('script')) {
3727 + defer = function (id) {
3728 + html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () {
3729 + html.removeChild(this);
3730 + run.call(id);
3731 + };
3732 + };
3733 + // Rest old browsers
3734 + } else {
3735 + defer = function (id) {
3736 + setTimeout(ctx(run, id, 1), 0);
3737 + };
1383 3738 }
1384 - insertAPI() {
1385 - this.elements.$firstScript.before(jQuery('<script>', {
1386 - src: this.getApiURL()
1387 - }));
1388 - this.setSettings('isInserted', true);
3739 +}
3740 +module.exports = {
3741 + set: setTask,
3742 + clear: clearTask
3743 +};
3744 +
3745 +
3746 +/***/ }),
3747 +/* 209 */
3748 +/***/ (function(module, exports) {
3749 +
3750 +module.exports = function (exec) {
3751 + try {
3752 + return { e: false, v: exec() };
3753 + } catch (e) {
3754 + return { e: true, v: e };
1389 3755 }
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;
3756 +};
1412 3757
3758 +
1413 3759 /***/ }),
3760 +/* 210 */
3761 +/***/ (function(module, exports, __webpack_require__) {
1414 3762
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__) => {
3763 +var anObject = __webpack_require__(13);
3764 +var isObject = __webpack_require__(9);
3765 +var newPromiseCapability = __webpack_require__(146);
1420 3766
3767 +module.exports = function (C, x) {
3768 + anObject(C);
3769 + if (isObject(x) && x.constructor === C) return x;
3770 + var promiseCapability = newPromiseCapability.f(C);
3771 + var resolve = promiseCapability.resolve;
3772 + resolve(x);
3773 + return promiseCapability.promise;
3774 +};
1421 3775
1422 3776
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;
3777 +/***/ }),
3778 +/* 211 */,
3779 +/* 212 */,
3780 +/* 213 */
3781 +/***/ (function(module, exports, __webpack_require__) {
1449 3782
3783 +module.exports = __webpack_require__(282);
3784 +
1450 3785 /***/ }),
3786 +/* 214 */,
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__(30);
3804 +var isArray = __webpack_require__(218);
3805 +var SPECIES = __webpack_require__(12)('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__(46);
3827 +module.exports = Array.isArray || function isArray(arg) {
3828 + return cof(arg) == 'Array';
3829 +};
1489 3830
1490 3831
3832 +/***/ }),
3833 +/* 219 */,
3834 +/* 220 */,
3835 +/* 221 */,
3836 +/* 222 */,
3837 +/* 223 */,
3838 +/* 224 */,
3839 +/* 225 */
3840 +/***/ (function(module, exports, __webpack_require__) {
1491 3841
1492 -/* eslint-disable camelcase */
1493 -__webpack_require__.p = elementorFrontendConfig.urls.assets + 'js/';
3842 +"use strict";
1494 3843
3844 +var global = __webpack_require__(8);
3845 +var core = __webpack_require__(6);
3846 +var dP = __webpack_require__(15);
3847 +var DESCRIPTORS = __webpack_require__(14);
3848 +var SPECIES = __webpack_require__(10)('species');
3849 +
3850 +module.exports = function (KEY) {
3851 + var C = typeof core[KEY] == 'function' ? core[KEY] : global[KEY];
3852 + if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {
3853 + configurable: true,
3854 + get: function () { return this; }
3855 + });
3856 +};
3857 +
3858 +
1495 3859 /***/ }),
3860 +/* 226 */,
3861 +/* 227 */,
3862 +/* 228 */,
3863 +/* 229 */,
3864 +/* 230 */,
3865 +/* 231 */,
3866 +/* 232 */,
3867 +/* 233 */,
3868 +/* 234 */,
3869 +/* 235 */
3870 +/***/ (function(module, exports) {
1496 3871
1497 -/***/ "../assets/dev/js/utils/breakpoints.js":
1498 -/*!*********************************************!*\
1499 - !*** ../assets/dev/js/utils/breakpoints.js ***!
1500 - \*********************************************/
1501 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3872 +module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' +
3873 + '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
1502 3874
1503 3875
3876 +/***/ }),
3877 +/* 236 */,
3878 +/* 237 */,
3879 +/* 238 */,
3880 +/* 239 */
3881 +/***/ (function(module, exports, __webpack_require__) {
1504 3882
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();
3883 +__webpack_require__(240);
3884 +module.exports = __webpack_require__(6).Object.values;
1523 3885
1524 - // The passed config is either `elementor.config.responsive` or `elementorFrontend.config.responsive`
1525 - this.responsiveConfig = responsiveConfig;
3886 +
3887 +/***/ }),
3888 +/* 240 */
3889 +/***/ (function(module, exports, __webpack_require__) {
3890 +
3891 +// https://github.com/tc39/proposal-object-values-entries
3892 +var $export = __webpack_require__(7);
3893 +var $values = __webpack_require__(185)(false);
3894 +
3895 +$export($export.S, 'Object', {
3896 + values: function values(it) {
3897 + return $values(it);
1526 3898 }
3899 +});
1527 3900
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
3901 +
3902 +/***/ }),
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__(100);
3923 +__webpack_require__(60);
3924 +__webpack_require__(62);
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__(47);
3938 +var global = __webpack_require__(8);
3939 +var ctx = __webpack_require__(31);
3940 +var classof = __webpack_require__(101);
3941 +var $export = __webpack_require__(7);
3942 +var isObject = __webpack_require__(9);
3943 +var aFunction = __webpack_require__(38);
3944 +var anInstance = __webpack_require__(125);
3945 +var forOf = __webpack_require__(88);
3946 +var speciesConstructor = __webpack_require__(207);
3947 +var task = __webpack_require__(208).set;
3948 +var microtask = __webpack_require__(259)();
3949 +var newPromiseCapabilityModule = __webpack_require__(146);
3950 +var perform = __webpack_require__(209);
3951 +var userAgent = __webpack_require__(260);
3952 +var promiseResolve = __webpack_require__(210);
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__(126)($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__(225)(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__(152)(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__(208).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__(207);
4320 +var promiseResolve = __webpack_require__(210);
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__(146);
4345 +var perform = __webpack_require__(209);
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 +/* 274 */,
4392 +/* 275 */,
4393 +/* 276 */,
4394 +/* 277 */,
4395 +/* 278 */,
4396 +/* 279 */,
4397 +/* 280 */
4398 +/***/ (function(module, exports, __webpack_require__) {
4399 +
4400 +// 21.2.5.3 get RegExp.prototype.flags()
4401 +if (__webpack_require__(27) && /./g.flags != 'g') __webpack_require__(45).f(RegExp.prototype, 'flags', {
4402 + configurable: true,
4403 + get: __webpack_require__(106)
4404 +});
4405 +
4406 +
4407 +/***/ }),
4408 +/* 281 */,
4409 +/* 282 */
4410 +/***/ (function(module, exports, __webpack_require__) {
4411 +
4412 +__webpack_require__(283);
4413 +module.exports = __webpack_require__(6).parseInt;
4414 +
4415 +
4416 +/***/ }),
4417 +/* 283 */
4418 +/***/ (function(module, exports, __webpack_require__) {
4419 +
4420 +var $export = __webpack_require__(7);
4421 +var $parseInt = __webpack_require__(284);
4422 +// 18.2.5 parseInt(string, radix)
4423 +$export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt });
4424 +
4425 +
4426 +/***/ }),
4427 +/* 284 */
4428 +/***/ (function(module, exports, __webpack_require__) {
4429 +
4430 +var $parseInt = __webpack_require__(8).parseInt;
4431 +var $trim = __webpack_require__(285).trim;
4432 +var ws = __webpack_require__(235);
4433 +var hex = /^[-+]?0[xX]/;
4434 +
4435 +module.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) {
4436 + var string = $trim(String(str), 3);
4437 + return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10));
4438 +} : $parseInt;
4439 +
4440 +
4441 +/***/ }),
4442 +/* 285 */
4443 +/***/ (function(module, exports, __webpack_require__) {
4444 +
4445 +var $export = __webpack_require__(7);
4446 +var defined = __webpack_require__(65);
4447 +var fails = __webpack_require__(22);
4448 +var spaces = __webpack_require__(235);
4449 +var space = '[' + spaces + ']';
4450 +var non = '\u200b\u0085';
4451 +var ltrim = RegExp('^' + space + space + '*');
4452 +var rtrim = RegExp(space + space + '*$');
4453 +
4454 +var exporter = function (KEY, exec, ALIAS) {
4455 + var exp = {};
4456 + var FORCE = fails(function () {
4457 + return !!spaces[KEY]() || non[KEY]() != non;
4458 + });
4459 + var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];
4460 + if (ALIAS) exp[ALIAS] = fn;
4461 + $export($export.P + $export.F * FORCE, 'String', exp);
4462 +};
4463 +
4464 +// 1 -> String#trimLeft
4465 +// 2 -> String#trimRight
4466 +// 3 -> String#trim
4467 +var trim = exporter.trim = function (string, TYPE) {
4468 + string = String(defined(string));
4469 + if (TYPE & 1) string = string.replace(ltrim, '');
4470 + if (TYPE & 2) string = string.replace(rtrim, '');
4471 + return string;
4472 +};
4473 +
4474 +module.exports = exporter;
4475 +
4476 +
4477 +/***/ }),
4478 +/* 286 */,
4479 +/* 287 */,
4480 +/* 288 */,
4481 +/* 289 */,
4482 +/* 290 */
4483 +/***/ (function(module, exports, __webpack_require__) {
4484 +
4485 +module.exports = __webpack_require__(291);
4486 +
4487 +/***/ }),
4488 +/* 291 */
4489 +/***/ (function(module, exports, __webpack_require__) {
4490 +
4491 +__webpack_require__(292);
4492 +var $Object = __webpack_require__(6).Object;
4493 +module.exports = function defineProperties(T, D) {
4494 + return $Object.defineProperties(T, D);
4495 +};
4496 +
4497 +
4498 +/***/ }),
4499 +/* 292 */
4500 +/***/ (function(module, exports, __webpack_require__) {
4501 +
4502 +var $export = __webpack_require__(7);
4503 +// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)
4504 +$export($export.S + $export.F * !__webpack_require__(14), 'Object', { defineProperties: __webpack_require__(136) });
4505 +
4506 +
4507 +/***/ }),
4508 +/* 293 */,
4509 +/* 294 */,
4510 +/* 295 */,
4511 +/* 296 */,
4512 +/* 297 */,
4513 +/* 298 */,
4514 +/* 299 */,
4515 +/* 300 */,
4516 +/* 301 */,
4517 +/* 302 */
4518 +/***/ (function(module, exports, __webpack_require__) {
4519 +
4520 +"use strict";
4521 +
4522 +// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)
4523 +var $export = __webpack_require__(34);
4524 +var $find = __webpack_require__(182)(6);
4525 +var KEY = 'findIndex';
4526 +var forced = true;
4527 +// Shouldn't skip holes
4528 +if (KEY in []) Array(1)[KEY](function () { forced = false; });
4529 +$export($export.P + $export.F * forced, 'Array', {
4530 + findIndex: function findIndex(callbackfn /* , that = undefined */) {
4531 + return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
1723 4532 }
1724 -}
1725 -exports.Events = Events;
1726 -var _default = exports["default"] = Events;
4533 +});
4534 +__webpack_require__(87)(KEY);
1727 4535
4536 +
1728 4537 /***/ }),
4538 +/* 303 */,
4539 +/* 304 */,
4540 +/* 305 */,
4541 +/* 306 */,
4542 +/* 307 */,
4543 +/* 308 */,
4544 +/* 309 */,
4545 +/* 310 */,
4546 +/* 311 */,
4547 +/* 312 */,
4548 +/* 313 */,
4549 +/* 314 */,
4550 +/* 315 */,
4551 +/* 316 */
4552 +/***/ (function(module, exports, __webpack_require__) {
1729 4553
1730 -/***/ "../assets/dev/js/utils/hooks.js":
1731 -/*!***************************************!*\
1732 - !*** ../assets/dev/js/utils/hooks.js ***!
1733 - \***************************************/
1734 -/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4554 +var core = __webpack_require__(6);
4555 +var $JSON = core.JSON || (core.JSON = { stringify: JSON.stringify });
4556 +module.exports = function stringify(it) { // eslint-disable-line no-unused-vars
4557 + return $JSON.stringify.apply($JSON, arguments);
4558 +};
1735 4559
1736 4560
4561 +/***/ }),
4562 +/* 317 */,
4563 +/* 318 */,
4564 +/* 319 */,
4565 +/* 320 */,
4566 +/* 321 */,
4567 +/* 322 */,
4568 +/* 323 */,
4569 +/* 324 */,
4570 +/* 325 */,
4571 +/* 326 */,
4572 +/* 327 */,
4573 +/* 328 */,
4574 +/* 329 */,
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 +/***/ (function(module, exports, __webpack_require__) {
1737 4635
4636 +"use strict";
4637 +
1738 4638 /**
1739 4639 * Handles managing all events for whatever you plug it into. Priorities for hooks are based on lowest to highest in
1740 4640 * that, lowest priority hooks are fired first.
1741 4641 */
1742 -__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js");
1743 -var EventManager = function () {
4642 +
4643 +var _interopRequireDefault = __webpack_require__(0);
4644 +
4645 +var _parseInt2 = _interopRequireDefault(__webpack_require__(213));
4646 +
4647 +var EventManager = function EventManager() {
1744 4648 var slice = Array.prototype.slice,
1745 - MethodsAvailable;
1746 -
4649 + MethodsAvailable;
1747 4650 /**
1748 4651 * Contains the hooks that get registered with this EventManager. The array for storage utilizes a "flat"
1749 4652 * object literal such that looking up the hook utilizes the native object literal hash.
1750 4653 */
4654 +
1751 4655 var STORAGE = {
1752 4656 actions: {},
1753 4657 filters: {}
1754 4658 };
1755 -
1756 4659 /**
1757 4660 * Removes the specified hook by resetting the value of it.
1758 4661 *
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
4662 + * @param type Type of hook, either 'actions' or 'filters'
4663 + * @param hook The hook (namespace.identifier) to remove
4664 + *
1763 4665 * @private
1764 4666 */
4667 +
1765 4668 function _removeHook(type, hook, callback, context) {
1766 4669 var handlers, handler, i;
4670 +
1767 4671 if (!STORAGE[type][hook]) {
1768 4672 return;
1769 4673 }
4674 +
1770 4675 if (!callback) {
1771 4676 STORAGE[type][hook] = [];
1772 4677 } else {
1773 4678 handlers = STORAGE[type][hook];
4679 +
1774 4680 if (!context) {
1775 4681 for (i = handlers.length; i--;) {
1776 4682 if (handlers[i].callback === callback) {
1777 4683 handlers.splice(i, 1);
@@ -1779,8 +4685,9 @@
1779 4685 }
1780 4686 } else {
1781 4687 for (i = handlers.length; i--;) {
1782 4688 handler = handlers[i];
4689 +
1783 4690 if (handler.callback === callback && handler.context === context) {
1784 4691 handlers.splice(i, 1);
1785 4692 }
1786 4693 }
@@ -1786,49 +4693,55 @@
1786 4693 }
1787 4694 }
1788 4695 }
1789 4696 }
1790 -
1791 4697 /**
1792 4698 * Use an insert sort for keeping our hooks organized based on priority. This function is ridiculously faster
1793 4699 * than bubble sort, etc: http://jsperf.com/javascript-sort
1794 4700 *
1795 - * @param {Array<*>} hooks The custom array containing all of the appropriate hooks to perform an insert sort on.
4701 + * @param hooks The custom array containing all of the appropriate hooks to perform an insert sort on.
1796 4702 * @private
1797 4703 */
4704 +
4705 +
1798 4706 function _hookInsertSort(hooks) {
1799 4707 var tmpHook, j, prevHook;
4708 +
1800 4709 for (var i = 1, len = hooks.length; i < len; i++) {
1801 4710 tmpHook = hooks[i];
1802 4711 j = i;
4712 +
1803 4713 while ((prevHook = hooks[j - 1]) && prevHook.priority > tmpHook.priority) {
1804 4714 hooks[j] = hooks[j - 1];
1805 4715 --j;
1806 4716 }
4717 +
1807 4718 hooks[j] = tmpHook;
1808 4719 }
4720 +
1809 4721 return hooks;
1810 4722 }
1811 -
1812 4723 /**
1813 4724 * Adds the hook to the appropriate storage container
1814 4725 *
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
4726 + * @param type 'actions' or 'filters'
4727 + * @param hook The hook (namespace.identifier) to add to our event manager
4728 + * @param callback The function that will be called when the hook is executed.
4729 + * @param priority The priority of this hook. Must be an integer.
4730 + * @param [context] A value to be used for this
1820 4731 * @private
1821 4732 */
4733 +
4734 +
1822 4735 function _addHook(type, hook, callback, priority, context) {
1823 4736 var hookObject = {
1824 - callback,
1825 - priority,
1826 - context
1827 - };
4737 + callback: callback,
4738 + priority: priority,
4739 + context: context
4740 + }; // Utilize 'prop itself' : http://jsperf.com/hasownproperty-vs-in-vs-undefined/19
1828 4741
1829 - // Utilize 'prop itself' : http://jsperf.com/hasownproperty-vs-in-vs-undefined/19
1830 4742 var hooks = STORAGE[type][hook];
4743 +
1831 4744 if (hooks) {
1832 4745 // TEMP FIX BUG
1833 4746 var hasSameCallback = false;
1834 4747 jQuery.each(hooks, function () {
@@ -1836,37 +4749,43 @@
1836 4749 hasSameCallback = true;
1837 4750 return false;
1838 4751 }
1839 4752 });
4753 +
1840 4754 if (hasSameCallback) {
1841 4755 return;
1842 - }
1843 - // END TEMP FIX BUG
4756 + } // END TEMP FIX BUG
1844 4757
4758 +
1845 4759 hooks.push(hookObject);
1846 4760 hooks = _hookInsertSort(hooks);
1847 4761 } else {
1848 4762 hooks = [hookObject];
1849 4763 }
4764 +
1850 4765 STORAGE[type][hook] = hooks;
1851 4766 }
1852 -
1853 4767 /**
1854 4768 * Runs the specified hook. If it is an action, the value is not modified but if it is a filter, it is.
1855 4769 *
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.
4770 + * @param type 'actions' or 'filters'
4771 + * @param hook The hook ( namespace.identifier ) to be ran.
4772 + * @param args Arguments to pass to the action/filter. If it's a filter, args is actually a single parameter.
1859 4773 * @private
1860 4774 */
4775 +
4776 +
1861 4777 function _runHook(type, hook, args) {
1862 4778 var handlers = STORAGE[type][hook],
1863 - i,
1864 - len;
4779 + i,
4780 + len;
4781 +
1865 4782 if (!handlers) {
1866 4783 return 'filters' === type ? args[0] : false;
1867 4784 }
4785 +
1868 4786 len = handlers.length;
4787 +
1869 4788 if ('filters' === type) {
1870 4789 for (i = 0; i < len; i++) {
1871 4790 args[0] = handlers[i].callback.apply(handlers[i].context, args);
1872 4791 }
@@ -1874,579 +4793,5129 @@
1874 4793 for (i = 0; i < len; i++) {
1875 4794 handlers[i].callback.apply(handlers[i].context, args);
1876 4795 }
1877 4796 }
4797 +
1878 4798 return 'filters' === type ? args[0] : true;
1879 4799 }
1880 -
1881 4800 /**
1882 4801 * Adds an action to the event manager.
1883 4802 *
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
4803 + * @param action Must contain namespace.identifier
4804 + * @param callback Must be a valid callback function before this action is added
4805 + * @param [priority=10] Used to control when the function is executed in relation to other callbacks bound to the same hook
4806 + * @param [context] Supply a value to be used for this
1888 4807 */
4808 +
4809 +
1889 4810 function addAction(action, callback, priority, context) {
1890 4811 if ('string' === typeof action && 'function' === typeof callback) {
1891 - priority = parseInt(priority || 10, 10);
4812 + priority = (0, _parseInt2.default)(priority || 10, 10);
4813 +
1892 4814 _addHook('actions', action, callback, priority, context);
1893 4815 }
4816 +
1894 4817 return MethodsAvailable;
1895 4818 }
1896 -
1897 4819 /**
1898 4820 * Performs an action if it exists. You can pass as many arguments as you want to this function; the only rule is
1899 4821 * that the first argument must always be the action.
1900 4822 */
1901 - function doAction(/* Action, arg1, arg2, ... */
1902 - ) {
4823 +
4824 +
4825 + function doAction()
4826 + /* action, arg1, arg2, ... */
4827 + {
1903 4828 var args = slice.call(arguments);
1904 4829 var action = args.shift();
4830 +
1905 4831 if ('string' === typeof action) {
1906 4832 _runHook('actions', action, args);
1907 4833 }
4834 +
1908 4835 return MethodsAvailable;
1909 4836 }
1910 -
1911 4837 /**
1912 4838 * Removes the specified action if it contains a namespace.identifier & exists.
1913 4839 *
1914 - * @param {string} action The action to remove
1915 - * @param {Function} [callback] Callback function to remove
4840 + * @param action The action to remove
4841 + * @param [callback] Callback function to remove
1916 4842 */
4843 +
4844 +
1917 4845 function removeAction(action, callback) {
1918 4846 if ('string' === typeof action) {
1919 4847 _removeHook('actions', action, callback);
1920 4848 }
4849 +
1921 4850 return MethodsAvailable;
1922 4851 }
1923 -
1924 4852 /**
1925 4853 * Adds a filter to the event manager.
1926 4854 *
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
4855 + * @param filter Must contain namespace.identifier
4856 + * @param callback Must be a valid callback function before this action is added
4857 + * @param [priority=10] Used to control when the function is executed in relation to other callbacks bound to the same hook
4858 + * @param [context] Supply a value to be used for this
1931 4859 */
4860 +
4861 +
1932 4862 function addFilter(filter, callback, priority, context) {
1933 4863 if ('string' === typeof filter && 'function' === typeof callback) {
1934 - priority = parseInt(priority || 10, 10);
4864 + priority = (0, _parseInt2.default)(priority || 10, 10);
4865 +
1935 4866 _addHook('filters', filter, callback, priority, context);
1936 4867 }
4868 +
1937 4869 return MethodsAvailable;
1938 4870 }
1939 -
1940 4871 /**
1941 4872 * Performs a filter if it exists. You should only ever pass 1 argument to be filtered. The only rule is that
1942 4873 * the first argument must always be the filter.
1943 4874 */
1944 - function applyFilters(/* Filter, filtered arg, arg2, ... */
1945 - ) {
4875 +
4876 +
4877 + function applyFilters()
4878 + /* filter, filtered arg, arg2, ... */
4879 + {
1946 4880 var args = slice.call(arguments);
1947 4881 var filter = args.shift();
4882 +
1948 4883 if ('string' === typeof filter) {
1949 4884 return _runHook('filters', filter, args);
1950 4885 }
4886 +
1951 4887 return MethodsAvailable;
1952 4888 }
1953 -
1954 4889 /**
1955 4890 * Removes the specified filter if it contains a namespace.identifier & exists.
1956 4891 *
1957 - * @param {string} filter The action to remove
1958 - * @param {Function} [callback] Callback function to remove
4892 + * @param filter The action to remove
4893 + * @param [callback] Callback function to remove
1959 4894 */
4895 +
4896 +
1960 4897 function removeFilter(filter, callback) {
1961 4898 if ('string' === typeof filter) {
1962 4899 _removeHook('filters', filter, callback);
1963 4900 }
4901 +
1964 4902 return MethodsAvailable;
1965 4903 }
1966 -
1967 4904 /**
1968 4905 * Maintain a reference to the object scope so our public methods never get confusing.
1969 4906 */
4907 +
4908 +
1970 4909 MethodsAvailable = {
1971 - removeFilter,
1972 - applyFilters,
1973 - addFilter,
1974 - removeAction,
1975 - doAction,
1976 - addAction
1977 - };
4910 + removeFilter: removeFilter,
4911 + applyFilters: applyFilters,
4912 + addFilter: addFilter,
4913 + removeAction: removeAction,
4914 + doAction: doAction,
4915 + addAction: addAction
4916 + }; // return all of the publicly available methods
1978 4917
1979 - // Return all of the publicly available methods
1980 4918 return MethodsAvailable;
1981 4919 };
4920 +
1982 4921 module.exports = EventManager;
1983 4922
1984 4923 /***/ }),
4924 +/* 389 */,
4925 +/* 390 */,
4926 +/* 391 */,
4927 +/* 392 */,
4928 +/* 393 */,
4929 +/* 394 */,
4930 +/* 395 */,
4931 +/* 396 */,
4932 +/* 397 */,
4933 +/* 398 */,
4934 +/* 399 */,
4935 +/* 400 */,
4936 +/* 401 */,
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 +/***/ (function(module, exports, __webpack_require__) {
1985 5167
1986 -/***/ "../core/common/assets/js/utils/environment.js":
1987 -/*!*****************************************************!*\
1988 - !*** ../core/common/assets/js/utils/environment.js ***!
1989 - \*****************************************************/
1990 -/***/ ((__unused_webpack_module, exports) => {
5168 +"use strict";
1991 5169
1992 5170
5171 +var _interopRequireDefault = __webpack_require__(0);
1993 5172
1994 -Object.defineProperty(exports, "__esModule", ({
5173 +var _Object$defineProperty = __webpack_require__(1);
5174 +
5175 +_Object$defineProperty(exports, "__esModule", {
1995 5176 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
5177 +});
2003 5178
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;
5179 +exports.default = void 0;
2037 5180
5181 +var _stringify = _interopRequireDefault(__webpack_require__(206));
5182 +
5183 +var _keys = _interopRequireDefault(__webpack_require__(23));
5184 +
5185 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
5186 +
5187 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
5188 +
5189 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
5190 +
5191 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
5192 +
5193 +var _default = /*#__PURE__*/function (_elementorModules$Mod) {
5194 + (0, _inherits2.default)(_default, _elementorModules$Mod);
5195 +
5196 + var _super = (0, _createSuper2.default)(_default);
5197 +
5198 + function _default() {
5199 + (0, _classCallCheck2.default)(this, _default);
5200 + return _super.apply(this, arguments);
5201 + }
5202 +
5203 + (0, _createClass2.default)(_default, [{
5204 + key: "get",
5205 + value: function get(key, options) {
5206 + options = options || {};
5207 + var storage;
5208 +
5209 + try {
5210 + storage = options.session ? sessionStorage : localStorage;
5211 + } catch (e) {
5212 + return key ? undefined : {};
5213 + }
5214 +
5215 + var elementorStorage = storage.getItem('elementor');
5216 +
5217 + if (elementorStorage) {
5218 + elementorStorage = JSON.parse(elementorStorage);
5219 + } else {
5220 + elementorStorage = {};
5221 + }
5222 +
5223 + if (!elementorStorage.__expiration) {
5224 + elementorStorage.__expiration = {};
5225 + }
5226 +
5227 + var expiration = elementorStorage.__expiration;
5228 + var expirationToCheck = [];
5229 +
5230 + if (key) {
5231 + if (expiration[key]) {
5232 + expirationToCheck = [key];
5233 + }
5234 + } else {
5235 + expirationToCheck = (0, _keys.default)(expiration);
5236 + }
5237 +
5238 + var entryExpired = false;
5239 + expirationToCheck.forEach(function (expirationKey) {
5240 + if (new Date(expiration[expirationKey]) < new Date()) {
5241 + delete elementorStorage[expirationKey];
5242 + delete expiration[expirationKey];
5243 + entryExpired = true;
5244 + }
5245 + });
5246 +
5247 + if (entryExpired) {
5248 + this.save(elementorStorage, options.session);
5249 + }
5250 +
5251 + if (key) {
5252 + return elementorStorage[key];
5253 + }
5254 +
5255 + return elementorStorage;
5256 + }
5257 + }, {
5258 + key: "set",
5259 + value: function set(key, value, options) {
5260 + options = options || {};
5261 + var elementorStorage = this.get(null, options);
5262 + elementorStorage[key] = value;
5263 +
5264 + if (options.lifetimeInSeconds) {
5265 + var date = new Date();
5266 + date.setTime(date.getTime() + options.lifetimeInSeconds * 1000);
5267 + elementorStorage.__expiration[key] = date.getTime();
5268 + }
5269 +
5270 + this.save(elementorStorage, options.session);
5271 + }
5272 + }, {
5273 + key: "save",
5274 + value: function save(object, session) {
5275 + var storage;
5276 +
5277 + try {
5278 + storage = session ? sessionStorage : localStorage;
5279 + } catch (e) {
5280 + return;
5281 + }
5282 +
5283 + storage.setItem('elementor', (0, _stringify.default)(object));
5284 + }
5285 + }]);
5286 + return _default;
5287 +}(elementorModules.Module);
5288 +
5289 +exports.default = _default;
5290 +
2038 5291 /***/ }),
5292 +/* 631 */,
5293 +/* 632 */,
5294 +/* 633 */,
5295 +/* 634 */,
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 +/***/ (function(module, exports, __webpack_require__) {
2039 5324
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__) => {
5325 +"use strict";
2045 5326
2046 5327
5328 +var _interopRequireDefault = __webpack_require__(0);
2047 5329
2048 -Object.defineProperty(exports, "__esModule", ({
5330 +var _Object$defineProperty = __webpack_require__(1);
5331 +
5332 +_Object$defineProperty(exports, "__esModule", {
2049 5333 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 : {};
5334 +});
5335 +
5336 +exports.default = void 0;
5337 +
5338 +__webpack_require__(25);
5339 +
5340 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
5341 +
5342 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
5343 +
5344 +var _get2 = _interopRequireDefault(__webpack_require__(26));
5345 +
5346 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
5347 +
5348 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
5349 +
5350 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
5351 +
5352 +var _default = /*#__PURE__*/function (_elementorModules$Vie) {
5353 + (0, _inherits2.default)(_default, _elementorModules$Vie);
5354 +
5355 + var _super = (0, _createSuper2.default)(_default);
5356 +
5357 + function _default() {
5358 + (0, _classCallCheck2.default)(this, _default);
5359 + return _super.apply(this, arguments);
5360 + }
5361 +
5362 + (0, _createClass2.default)(_default, [{
5363 + key: "getDefaultSettings",
5364 + value: function getDefaultSettings() {
5365 + return {
5366 + selectors: {
5367 + elements: '.elementor-element',
5368 + nestedDocumentElements: '.elementor .elementor-element'
5369 + },
5370 + classes: {
5371 + editMode: 'elementor-edit-mode'
5372 + }
5373 + };
2062 5374 }
2063 - let elementorStorage = storage.getItem('elementor');
2064 - if (elementorStorage) {
2065 - elementorStorage = JSON.parse(elementorStorage);
2066 - } else {
2067 - elementorStorage = {};
5375 + }, {
5376 + key: "getDefaultElements",
5377 + value: function getDefaultElements() {
5378 + var selectors = this.getSettings('selectors');
5379 + return {
5380 + $elements: this.$element.find(selectors.elements).not(this.$element.find(selectors.nestedDocumentElements))
5381 + };
2068 5382 }
2069 - if (!elementorStorage.__expiration) {
2070 - elementorStorage.__expiration = {};
5383 + }, {
5384 + key: "getDocumentSettings",
5385 + value: function getDocumentSettings(setting) {
5386 + var elementSettings;
5387 +
5388 + if (this.isEdit) {
5389 + elementSettings = {};
5390 + var settings = elementor.settings.page.model;
5391 + jQuery.each(settings.getActiveControls(), function (controlKey) {
5392 + elementSettings[controlKey] = settings.attributes[controlKey];
5393 + });
5394 + } else {
5395 + elementSettings = this.$element.data('elementor-settings') || {};
5396 + }
5397 +
5398 + return this.getItems(elementSettings, setting);
2071 5399 }
2072 - const expiration = elementorStorage.__expiration;
2073 - let expirationToCheck = [];
2074 - if (key) {
2075 - if (expiration[key]) {
2076 - expirationToCheck = [key];
5400 + }, {
5401 + key: "runElementsHandlers",
5402 + value: function runElementsHandlers() {
5403 + this.elements.$elements.each(function (index, element) {
5404 + return elementorFrontend.elementsHandler.runReadyTrigger(element);
5405 + });
5406 + }
5407 + }, {
5408 + key: "onInit",
5409 + value: function onInit() {
5410 + var _this = this;
5411 +
5412 + this.$element = this.getSettings('$element');
5413 + (0, _get2.default)((0, _getPrototypeOf2.default)(_default.prototype), "onInit", this).call(this);
5414 + this.isEdit = this.$element.hasClass(this.getSettings('classes.editMode'));
5415 +
5416 + if (this.isEdit) {
5417 + elementor.on('document:loaded', function () {
5418 + elementor.settings.page.model.on('change', _this.onSettingsChange.bind(_this));
5419 + });
5420 + } else {
5421 + this.runElementsHandlers();
2077 5422 }
2078 - } else {
2079 - expirationToCheck = Object.keys(expiration);
2080 5423 }
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;
5424 + }, {
5425 + key: "onSettingsChange",
5426 + value: function onSettingsChange() {}
5427 + }]);
5428 + return _default;
5429 +}(elementorModules.ViewModule);
5430 +
5431 +exports.default = _default;
5432 +
5433 +/***/ }),
5434 +/* 662 */
5435 +/***/ (function(module, exports, __webpack_require__) {
5436 +
5437 +"use strict";
5438 +
5439 +
5440 +var _interopRequireDefault = __webpack_require__(0);
5441 +
5442 +var _Object$defineProperty = __webpack_require__(1);
5443 +
5444 +_Object$defineProperty(exports, "__esModule", {
5445 + value: true
5446 +});
5447 +
5448 +exports.default = void 0;
5449 +
5450 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
5451 +
5452 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
5453 +
5454 +var _get3 = _interopRequireDefault(__webpack_require__(26));
5455 +
5456 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
5457 +
5458 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
5459 +
5460 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
5461 +
5462 +var baseTabs = /*#__PURE__*/function (_elementorModules$fro) {
5463 + (0, _inherits2.default)(baseTabs, _elementorModules$fro);
5464 +
5465 + var _super = (0, _createSuper2.default)(baseTabs);
5466 +
5467 + function baseTabs() {
5468 + (0, _classCallCheck2.default)(this, baseTabs);
5469 + return _super.apply(this, arguments);
5470 + }
5471 +
5472 + (0, _createClass2.default)(baseTabs, [{
5473 + key: "getDefaultSettings",
5474 + value: function getDefaultSettings() {
5475 + return {
5476 + selectors: {
5477 + tabTitle: '.elementor-tab-title',
5478 + tabContent: '.elementor-tab-content'
5479 + },
5480 + classes: {
5481 + active: 'elementor-active'
5482 + },
5483 + showTabFn: 'show',
5484 + hideTabFn: 'hide',
5485 + toggleSelf: true,
5486 + hidePrevious: true,
5487 + autoExpand: true
5488 + };
5489 + }
5490 + }, {
5491 + key: "getDefaultElements",
5492 + value: function getDefaultElements() {
5493 + var selectors = this.getSettings('selectors');
5494 + return {
5495 + $tabTitles: this.findElement(selectors.tabTitle),
5496 + $tabContents: this.findElement(selectors.tabContent)
5497 + };
5498 + }
5499 + }, {
5500 + key: "activateDefaultTab",
5501 + value: function activateDefaultTab() {
5502 + var settings = this.getSettings();
5503 +
5504 + if (!settings.autoExpand || 'editor' === settings.autoExpand && !this.isEdit) {
5505 + return;
2087 5506 }
2088 - });
2089 - if (entryExpired) {
2090 - this.save(elementorStorage, options.session);
5507 +
5508 + var defaultActiveTab = this.getEditSettings('activeItemIndex') || 1,
5509 + originalToggleMethods = {
5510 + showTabFn: settings.showTabFn,
5511 + hideTabFn: settings.hideTabFn
5512 + }; // Toggle tabs without animation to avoid jumping
5513 +
5514 + this.setSettings({
5515 + showTabFn: 'show',
5516 + hideTabFn: 'hide'
5517 + });
5518 + this.changeActiveTab(defaultActiveTab); // Return back original toggle effects
5519 +
5520 + this.setSettings(originalToggleMethods);
2091 5521 }
2092 - if (key) {
2093 - return elementorStorage[key];
5522 + }, {
5523 + key: "deactivateActiveTab",
5524 + value: function deactivateActiveTab(tabIndex) {
5525 + var settings = this.getSettings(),
5526 + activeClass = settings.classes.active,
5527 + activeFilter = tabIndex ? '[data-tab="' + tabIndex + '"]' : '.' + activeClass,
5528 + $activeTitle = this.elements.$tabTitles.filter(activeFilter),
5529 + $activeContent = this.elements.$tabContents.filter(activeFilter);
5530 + $activeTitle.add($activeContent).removeClass(activeClass);
5531 + $activeContent[settings.hideTabFn]();
2094 5532 }
2095 - return elementorStorage;
5533 + }, {
5534 + key: "activateTab",
5535 + value: function activateTab(tabIndex) {
5536 + var settings = this.getSettings(),
5537 + activeClass = settings.classes.active,
5538 + $requestedTitle = this.elements.$tabTitles.filter('[data-tab="' + tabIndex + '"]'),
5539 + $requestedContent = this.elements.$tabContents.filter('[data-tab="' + tabIndex + '"]');
5540 + $requestedTitle.add($requestedContent).addClass(activeClass);
5541 + $requestedContent[settings.showTabFn]();
5542 + }
5543 + }, {
5544 + key: "isActiveTab",
5545 + value: function isActiveTab(tabIndex) {
5546 + return this.elements.$tabTitles.filter('[data-tab="' + tabIndex + '"]').hasClass(this.getSettings('classes.active'));
5547 + }
5548 + }, {
5549 + key: "bindEvents",
5550 + value: function bindEvents() {
5551 + var _this = this;
5552 +
5553 + this.elements.$tabTitles.on({
5554 + keydown: function keydown(event) {
5555 + if ('Enter' === event.key) {
5556 + event.preventDefault();
5557 +
5558 + _this.changeActiveTab(event.currentTarget.getAttribute('data-tab'));
5559 + }
5560 + },
5561 + click: function click(event) {
5562 + event.preventDefault();
5563 +
5564 + _this.changeActiveTab(event.currentTarget.getAttribute('data-tab'));
5565 + }
5566 + });
5567 + }
5568 + }, {
5569 + key: "onInit",
5570 + value: function onInit() {
5571 + var _get2;
5572 +
5573 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
5574 + args[_key] = arguments[_key];
5575 + }
5576 +
5577 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(baseTabs.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
5578 +
5579 + this.activateDefaultTab();
5580 + }
5581 + }, {
5582 + key: "onEditSettingsChange",
5583 + value: function onEditSettingsChange(propertyName) {
5584 + if ('activeItemIndex' === propertyName) {
5585 + this.activateDefaultTab();
5586 + }
5587 + }
5588 + }, {
5589 + key: "changeActiveTab",
5590 + value: function changeActiveTab(tabIndex) {
5591 + var isActiveTab = this.isActiveTab(tabIndex),
5592 + settings = this.getSettings();
5593 +
5594 + if ((settings.toggleSelf || !isActiveTab) && settings.hidePrevious) {
5595 + this.deactivateActiveTab();
5596 + }
5597 +
5598 + if (!settings.hidePrevious && isActiveTab) {
5599 + this.deactivateActiveTab(tabIndex);
5600 + }
5601 +
5602 + if (!isActiveTab) {
5603 + this.activateTab(tabIndex);
5604 + }
5605 + }
5606 + }]);
5607 + return baseTabs;
5608 +}(elementorModules.frontend.handlers.Base);
5609 +
5610 +exports.default = baseTabs;
5611 +
5612 +/***/ }),
5613 +/* 663 */,
5614 +/* 664 */,
5615 +/* 665 */,
5616 +/* 666 */,
5617 +/* 667 */,
5618 +/* 668 */,
5619 +/* 669 */,
5620 +/* 670 */,
5621 +/* 671 */,
5622 +/* 672 */,
5623 +/* 673 */,
5624 +/* 674 */,
5625 +/* 675 */,
5626 +/* 676 */,
5627 +/* 677 */,
5628 +/* 678 */,
5629 +/* 679 */,
5630 +/* 680 */,
5631 +/* 681 */,
5632 +/* 682 */,
5633 +/* 683 */,
5634 +/* 684 */,
5635 +/* 685 */,
5636 +/* 686 */,
5637 +/* 687 */,
5638 +/* 688 */,
5639 +/* 689 */,
5640 +/* 690 */,
5641 +/* 691 */,
5642 +/* 692 */,
5643 +/* 693 */,
5644 +/* 694 */,
5645 +/* 695 */,
5646 +/* 696 */,
5647 +/* 697 */,
5648 +/* 698 */,
5649 +/* 699 */,
5650 +/* 700 */
5651 +/***/ (function(module, exports, __webpack_require__) {
5652 +
5653 +"use strict";
5654 +
5655 +
5656 +var _interopRequireDefault = __webpack_require__(0);
5657 +
5658 +var _Object$defineProperty = __webpack_require__(1);
5659 +
5660 +_Object$defineProperty(exports, "__esModule", {
5661 + value: true
5662 +});
5663 +
5664 +exports.default = void 0;
5665 +
5666 +__webpack_require__(119);
5667 +
5668 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
5669 +
5670 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
5671 +
5672 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
5673 +
5674 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
5675 +
5676 +var BaseLoader = /*#__PURE__*/function (_elementorModules$Vie) {
5677 + (0, _inherits2.default)(BaseLoader, _elementorModules$Vie);
5678 +
5679 + var _super = (0, _createSuper2.default)(BaseLoader);
5680 +
5681 + function BaseLoader() {
5682 + (0, _classCallCheck2.default)(this, BaseLoader);
5683 + return _super.apply(this, arguments);
2096 5684 }
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();
5685 +
5686 + (0, _createClass2.default)(BaseLoader, [{
5687 + key: "getDefaultSettings",
5688 + value: function getDefaultSettings() {
5689 + return {
5690 + isInserted: false,
5691 + selectors: {
5692 + firstScript: 'script:first'
5693 + }
5694 + };
2105 5695 }
2106 - this.save(elementorStorage, options.session);
5696 + }, {
5697 + key: "getDefaultElements",
5698 + value: function getDefaultElements() {
5699 + return {
5700 + $firstScript: jQuery(this.getSettings('selectors.firstScript'))
5701 + };
5702 + }
5703 + }, {
5704 + key: "insertAPI",
5705 + value: function insertAPI() {
5706 + this.elements.$firstScript.before(jQuery('<script>', {
5707 + src: this.getApiURL()
5708 + }));
5709 + this.setSettings('isInserted', true);
5710 + }
5711 + }, {
5712 + key: "getVideoIDFromURL",
5713 + value: function getVideoIDFromURL(url) {
5714 + var videoIDParts = url.match(this.getURLRegex());
5715 + return videoIDParts && videoIDParts[1];
5716 + }
5717 + }, {
5718 + key: "onApiReady",
5719 + value: function onApiReady(callback) {
5720 + var _this = this;
5721 +
5722 + if (!this.getSettings('isInserted')) {
5723 + this.insertAPI();
5724 + }
5725 +
5726 + if (this.isApiLoaded()) {
5727 + callback(this.getApiObject());
5728 + } else {
5729 + // If not ready check again by timeout..
5730 + setTimeout(function () {
5731 + _this.onApiReady(callback);
5732 + }, 350);
5733 + }
5734 + }
5735 + }]);
5736 + return BaseLoader;
5737 +}(elementorModules.ViewModule);
5738 +
5739 +exports.default = BaseLoader;
5740 +
5741 +/***/ }),
5742 +/* 701 */
5743 +/***/ (function(module, exports, __webpack_require__) {
5744 +
5745 +"use strict";
5746 +
5747 +
5748 +var _interopRequireDefault = __webpack_require__(0);
5749 +
5750 +var _Object$defineProperty = __webpack_require__(1);
5751 +
5752 +_Object$defineProperty(exports, "__esModule", {
5753 + value: true
5754 +});
5755 +
5756 +exports.default = void 0;
5757 +
5758 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
5759 +
5760 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
5761 +
5762 +var _get2 = _interopRequireDefault(__webpack_require__(26));
5763 +
5764 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
5765 +
5766 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
5767 +
5768 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
5769 +
5770 +var BackgroundSlideshow = /*#__PURE__*/function (_elementorModules$fro) {
5771 + (0, _inherits2.default)(BackgroundSlideshow, _elementorModules$fro);
5772 +
5773 + var _super = (0, _createSuper2.default)(BackgroundSlideshow);
5774 +
5775 + function BackgroundSlideshow() {
5776 + (0, _classCallCheck2.default)(this, BackgroundSlideshow);
5777 + return _super.apply(this, arguments);
2107 5778 }
2108 - save(object, session) {
2109 - let storage;
2110 - try {
2111 - storage = session ? sessionStorage : localStorage;
2112 - } catch (e) {
5779 +
5780 + (0, _createClass2.default)(BackgroundSlideshow, [{
5781 + key: "getDefaultSettings",
5782 + value: function getDefaultSettings() {
5783 + return {
5784 + classes: {
5785 + swiperContainer: 'elementor-background-slideshow swiper-container',
5786 + swiperWrapper: 'swiper-wrapper',
5787 + swiperSlide: 'elementor-background-slideshow__slide swiper-slide',
5788 + slideBackground: 'elementor-background-slideshow__slide__image',
5789 + kenBurns: 'elementor-ken-burns',
5790 + kenBurnsActive: 'elementor-ken-burns--active',
5791 + kenBurnsIn: 'elementor-ken-burns--in',
5792 + kenBurnsOut: 'elementor-ken-burns--out'
5793 + }
5794 + };
5795 + }
5796 + }, {
5797 + key: "getSwiperOptions",
5798 + value: function getSwiperOptions() {
5799 + var _this = this;
5800 +
5801 + var elementSettings = this.getElementSettings();
5802 + var swiperOptions = {
5803 + grabCursor: false,
5804 + slidesPerView: 1,
5805 + slidesPerGroup: 1,
5806 + loop: 'yes' === elementSettings.background_slideshow_loop,
5807 + speed: elementSettings.background_slideshow_transition_duration,
5808 + autoplay: {
5809 + delay: elementSettings.background_slideshow_slide_duration,
5810 + stopOnLastSlide: !elementSettings.background_slideshow_loop
5811 + },
5812 + handleElementorBreakpoints: true,
5813 + on: {
5814 + slideChange: function slideChange() {
5815 + if (elementSettings.background_slideshow_ken_burns) {
5816 + _this.handleKenBurns();
5817 + }
5818 + }
5819 + }
5820 + };
5821 +
5822 + if ('yes' === elementSettings.background_slideshow_loop) {
5823 + swiperOptions.loopedSlides = this.getSlidesCount();
5824 + }
5825 +
5826 + switch (elementSettings.background_slideshow_slide_transition) {
5827 + case 'fade':
5828 + swiperOptions.effect = 'fade';
5829 + swiperOptions.fadeEffect = {
5830 + crossFade: true
5831 + };
5832 + break;
5833 +
5834 + case 'slide_down':
5835 + swiperOptions.autoplay.reverseDirection = true;
5836 +
5837 + case 'slide_up':
5838 + swiperOptions.direction = 'vertical';
5839 + break;
5840 + }
5841 +
5842 + return swiperOptions;
5843 + }
5844 + }, {
5845 + key: "buildSwiperElements",
5846 + value: function buildSwiperElements() {
5847 + var _this2 = this;
5848 +
5849 + var classes = this.getSettings('classes'),
5850 + elementSettings = this.getElementSettings(),
5851 + direction = 'slide_left' === elementSettings.background_slideshow_slide_transition ? 'ltr' : 'rtl',
5852 + $container = jQuery('<div>', {
5853 + class: classes.swiperContainer,
5854 + dir: direction
5855 + }),
5856 + $wrapper = jQuery('<div>', {
5857 + class: classes.swiperWrapper
5858 + }),
5859 + kenBurnsActive = elementSettings.background_slideshow_ken_burns;
5860 + var slideInnerClass = classes.slideBackground;
5861 +
5862 + if (kenBurnsActive) {
5863 + slideInnerClass += ' ' + classes.kenBurns;
5864 + var kenBurnsDirection = 'in' === elementSettings.background_slideshow_ken_burns_zoom_direction ? 'kenBurnsIn' : 'kenBurnsOut';
5865 + slideInnerClass += ' ' + classes[kenBurnsDirection];
5866 + }
5867 +
5868 + this.elements.$slides = jQuery();
5869 + elementSettings.background_slideshow_gallery.forEach(function (slide) {
5870 + var $slide = jQuery('<div>', {
5871 + class: classes.swiperSlide
5872 + }),
5873 + $slidebg = jQuery('<div>', {
5874 + class: slideInnerClass,
5875 + style: 'background-image: url("' + slide.url + '");'
5876 + });
5877 + $slide.append($slidebg);
5878 + $wrapper.append($slide);
5879 + _this2.elements.$slides = _this2.elements.$slides.add($slide);
5880 + });
5881 + $container.append($wrapper);
5882 + this.$element.prepend($container);
5883 + this.elements.$backgroundSlideShowContainer = $container;
5884 + }
5885 + }, {
5886 + key: "initSlider",
5887 + value: function initSlider() {
5888 + if (1 >= this.getSlidesCount()) {
5889 + return;
5890 + }
5891 +
5892 + var elementSettings = this.getElementSettings();
5893 + this.swiper = new Swiper(this.elements.$backgroundSlideShowContainer, this.getSwiperOptions()); // Expose the swiper instance in the frontend
5894 +
5895 + this.elements.$backgroundSlideShowContainer.data('swiper', this.swiper);
5896 +
5897 + if (elementSettings.background_slideshow_ken_burns) {
5898 + this.handleKenBurns();
5899 + }
5900 + }
5901 + }, {
5902 + key: "activate",
5903 + value: function activate() {
5904 + this.buildSwiperElements();
5905 + this.initSlider();
5906 + }
5907 + }, {
5908 + key: "deactivate",
5909 + value: function deactivate() {
5910 + if (this.swiper) {
5911 + this.swiper.destroy();
5912 + this.elements.$backgroundSlideShowContainer.remove();
5913 + }
5914 + }
5915 + }, {
5916 + key: "run",
5917 + value: function run() {
5918 + if ('slideshow' === this.getElementSettings('background_background')) {
5919 + this.activate();
5920 + } else {
5921 + this.deactivate();
5922 + }
5923 + }
5924 + }, {
5925 + key: "onInit",
5926 + value: function onInit() {
5927 + (0, _get2.default)((0, _getPrototypeOf2.default)(BackgroundSlideshow.prototype), "onInit", this).call(this);
5928 +
5929 + if (this.getElementSettings('background_slideshow_gallery')) {
5930 + this.run();
5931 + }
5932 + }
5933 + }, {
5934 + key: "onDestroy",
5935 + value: function onDestroy() {
5936 + (0, _get2.default)((0, _getPrototypeOf2.default)(BackgroundSlideshow.prototype), "onDestroy", this).call(this);
5937 + this.deactivate();
5938 + }
5939 + }, {
5940 + key: "onElementChange",
5941 + value: function onElementChange(propertyName) {
5942 + if ('background_background' === propertyName) {
5943 + this.run();
5944 + }
5945 + }
5946 + }]);
5947 + return BackgroundSlideshow;
5948 +}(elementorModules.frontend.handlers.SwiperBase);
5949 +
5950 +exports.default = BackgroundSlideshow;
5951 +
5952 +/***/ }),
5953 +/* 702 */,
5954 +/* 703 */,
5955 +/* 704 */,
5956 +/* 705 */,
5957 +/* 706 */,
5958 +/* 707 */,
5959 +/* 708 */,
5960 +/* 709 */,
5961 +/* 710 */,
5962 +/* 711 */,
5963 +/* 712 */,
5964 +/* 713 */,
5965 +/* 714 */,
5966 +/* 715 */,
5967 +/* 716 */,
5968 +/* 717 */,
5969 +/* 718 */,
5970 +/* 719 */,
5971 +/* 720 */,
5972 +/* 721 */,
5973 +/* 722 */,
5974 +/* 723 */,
5975 +/* 724 */,
5976 +/* 725 */,
5977 +/* 726 */,
5978 +/* 727 */,
5979 +/* 728 */,
5980 +/* 729 */,
5981 +/* 730 */,
5982 +/* 731 */,
5983 +/* 732 */,
5984 +/* 733 */,
5985 +/* 734 */,
5986 +/* 735 */,
5987 +/* 736 */,
5988 +/* 737 */,
5989 +/* 738 */,
5990 +/* 739 */,
5991 +/* 740 */,
5992 +/* 741 */,
5993 +/* 742 */,
5994 +/* 743 */,
5995 +/* 744 */,
5996 +/* 745 */,
5997 +/* 746 */,
5998 +/* 747 */,
5999 +/* 748 */,
6000 +/* 749 */,
6001 +/* 750 */,
6002 +/* 751 */,
6003 +/* 752 */,
6004 +/* 753 */,
6005 +/* 754 */,
6006 +/* 755 */,
6007 +/* 756 */,
6008 +/* 757 */,
6009 +/* 758 */,
6010 +/* 759 */,
6011 +/* 760 */,
6012 +/* 761 */,
6013 +/* 762 */,
6014 +/* 763 */,
6015 +/* 764 */,
6016 +/* 765 */,
6017 +/* 766 */,
6018 +/* 767 */,
6019 +/* 768 */,
6020 +/* 769 */,
6021 +/* 770 */,
6022 +/* 771 */,
6023 +/* 772 */,
6024 +/* 773 */,
6025 +/* 774 */,
6026 +/* 775 */,
6027 +/* 776 */,
6028 +/* 777 */,
6029 +/* 778 */,
6030 +/* 779 */,
6031 +/* 780 */,
6032 +/* 781 */,
6033 +/* 782 */,
6034 +/* 783 */,
6035 +/* 784 */,
6036 +/* 785 */,
6037 +/* 786 */,
6038 +/* 787 */,
6039 +/* 788 */,
6040 +/* 789 */
6041 +/***/ (function(module, exports, __webpack_require__) {
6042 +
6043 +"use strict";
6044 +
6045 +
6046 +var _interopRequireDefault = __webpack_require__(0);
6047 +
6048 +__webpack_require__(25);
6049 +
6050 +__webpack_require__(58);
6051 +
6052 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
6053 +
6054 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
6055 +
6056 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
6057 +
6058 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
6059 +
6060 +var _documentsManager = _interopRequireDefault(__webpack_require__(790));
6061 +
6062 +var _storage = _interopRequireDefault(__webpack_require__(630));
6063 +
6064 +var _environment = _interopRequireDefault(__webpack_require__(272));
6065 +
6066 +var _youtubeLoader = _interopRequireDefault(__webpack_require__(791));
6067 +
6068 +var _vimeoLoader = _interopRequireDefault(__webpack_require__(792));
6069 +
6070 +var _urlActions = _interopRequireDefault(__webpack_require__(793));
6071 +
6072 +var _swiper = _interopRequireDefault(__webpack_require__(794));
6073 +
6074 +/* global elementorFrontendConfig */
6075 +var EventManager = __webpack_require__(388),
6076 + ElementsHandler = __webpack_require__(795),
6077 + AnchorsModule = __webpack_require__(812),
6078 + LightboxModule = __webpack_require__(813);
6079 +
6080 +var Frontend = /*#__PURE__*/function (_elementorModules$Vie) {
6081 + (0, _inherits2.default)(Frontend, _elementorModules$Vie);
6082 +
6083 + var _super = (0, _createSuper2.default)(Frontend);
6084 +
6085 + function Frontend() {
6086 + var _this;
6087 +
6088 + (0, _classCallCheck2.default)(this, Frontend);
6089 +
6090 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
6091 + args[_key] = arguments[_key];
6092 + }
6093 +
6094 + _this = _super.call.apply(_super, [this].concat(args));
6095 + _this.config = elementorFrontendConfig;
6096 + return _this;
6097 + } // TODO: BC since 2.5.0
6098 +
6099 +
6100 + (0, _createClass2.default)(Frontend, [{
6101 + key: "getDefaultSettings",
6102 + value: function getDefaultSettings() {
6103 + return {
6104 + selectors: {
6105 + elementor: '.elementor',
6106 + adminBar: '#wpadminbar'
6107 + },
6108 + classes: {
6109 + ie: 'elementor-msie'
6110 + }
6111 + };
6112 + }
6113 + }, {
6114 + key: "getDefaultElements",
6115 + value: function getDefaultElements() {
6116 + var defaultElements = {
6117 + window: window,
6118 + $window: jQuery(window),
6119 + $document: jQuery(document),
6120 + $head: jQuery(document.head),
6121 + $body: jQuery(document.body),
6122 + $deviceMode: jQuery('<span>', {
6123 + id: 'elementor-device-mode',
6124 + class: 'elementor-screen-only'
6125 + })
6126 + };
6127 + defaultElements.$body.append(defaultElements.$deviceMode);
6128 + return defaultElements;
6129 + }
6130 + }, {
6131 + key: "bindEvents",
6132 + value: function bindEvents() {
6133 + var _this2 = this;
6134 +
6135 + this.elements.$window.on('resize', function () {
6136 + return _this2.setDeviceModeData();
6137 + });
6138 + }
6139 + /**
6140 + * @deprecated 2.4.0 Use just `this.elements` instead
6141 + */
6142 +
6143 + }, {
6144 + key: "getElements",
6145 + value: function getElements(elementName) {
6146 + return this.getItems(this.elements, elementName);
6147 + }
6148 + /**
6149 + * @deprecated 2.4.0 This method was never in use
6150 + */
6151 +
6152 + }, {
6153 + key: "getPageSettings",
6154 + value: function getPageSettings(settingName) {
6155 + var settingsObject = this.isEditMode() ? elementor.settings.page.model.attributes : this.config.settings.page;
6156 + return this.getItems(settingsObject, settingName);
6157 + }
6158 + }, {
6159 + key: "getGeneralSettings",
6160 + value: function getGeneralSettings(settingName) {
6161 + if (this.isEditMode()) {
6162 + elementorCommon.helpers.softDeprecated('getGeneralSettings', '3.0.0', 'getKitSettings and remove the `elementor_` prefix');
6163 + }
6164 +
6165 + return this.getKitSettings("elementor_".concat(settingName));
6166 + }
6167 + }, {
6168 + key: "getKitSettings",
6169 + value: function getKitSettings(settingName) {
6170 + // TODO: use Data API.
6171 + return this.getItems(this.config.kit, settingName);
6172 + }
6173 + }, {
6174 + key: "getCurrentDeviceMode",
6175 + value: function getCurrentDeviceMode() {
6176 + return getComputedStyle(this.elements.$deviceMode[0], ':after').content.replace(/"/g, '');
6177 + }
6178 + }, {
6179 + key: "getDeviceSetting",
6180 + value: function getDeviceSetting(deviceMode, settings, settingKey) {
6181 + var devices = ['desktop', 'tablet', 'mobile'];
6182 + var deviceIndex = devices.indexOf(deviceMode);
6183 +
6184 + while (deviceIndex > 0) {
6185 + var currentDevice = devices[deviceIndex],
6186 + fullSettingKey = settingKey + '_' + currentDevice,
6187 + deviceValue = settings[fullSettingKey];
6188 +
6189 + if (deviceValue) {
6190 + return deviceValue;
6191 + }
6192 +
6193 + deviceIndex--;
6194 + }
6195 +
6196 + return settings[settingKey];
6197 + }
6198 + }, {
6199 + key: "getCurrentDeviceSetting",
6200 + value: function getCurrentDeviceSetting(settings, settingKey) {
6201 + return this.getDeviceSetting(elementorFrontend.getCurrentDeviceMode(), settings, settingKey);
6202 + }
6203 + }, {
6204 + key: "isEditMode",
6205 + value: function isEditMode() {
6206 + return this.config.environmentMode.edit;
6207 + }
6208 + }, {
6209 + key: "isWPPreviewMode",
6210 + value: function isWPPreviewMode() {
6211 + return this.config.environmentMode.wpPreview;
6212 + }
6213 + }, {
6214 + key: "initDialogsManager",
6215 + value: function initDialogsManager() {
6216 + var dialogsManager;
6217 +
6218 + this.getDialogsManager = function () {
6219 + if (!dialogsManager) {
6220 + dialogsManager = new DialogsManager.Instance();
6221 + }
6222 +
6223 + return dialogsManager;
6224 + };
6225 + }
6226 + }, {
6227 + key: "initOnReadyComponents",
6228 + value: function initOnReadyComponents() {
6229 + var _this3 = this;
6230 +
6231 + this.utils = {
6232 + youtube: new _youtubeLoader.default(),
6233 + vimeo: new _vimeoLoader.default(),
6234 + anchors: new AnchorsModule(),
6235 + lightbox: new LightboxModule(),
6236 + urlActions: new _urlActions.default(),
6237 + swiper: _swiper.default
6238 + }; // TODO: BC since 2.4.0
6239 +
6240 + this.modules = {
6241 + StretchElement: elementorModules.frontend.tools.StretchElement,
6242 + Masonry: elementorModules.utils.Masonry
6243 + };
6244 + this.elementsHandler = new ElementsHandler(jQuery);
6245 +
6246 + if (this.isEditMode()) {
6247 + elementor.once('document:loaded', function () {
6248 + return _this3.onDocumentLoaded();
6249 + });
6250 + } else {
6251 + this.onDocumentLoaded();
6252 + }
6253 + }
6254 + }, {
6255 + key: "initOnReadyElements",
6256 + value: function initOnReadyElements() {
6257 + this.elements.$wpAdminBar = this.elements.$document.find(this.getSettings('selectors.adminBar'));
6258 + }
6259 + }, {
6260 + key: "addIeCompatibility",
6261 + value: function addIeCompatibility() {
6262 + var el = document.createElement('div'),
6263 + supportsGrid = 'string' === typeof el.style.grid;
6264 +
6265 + if (!_environment.default.ie && supportsGrid) {
6266 + return;
6267 + }
6268 +
6269 + this.elements.$body.addClass(this.getSettings('classes.ie'));
6270 + 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" />';
6271 + this.elements.$body.append(msieCss);
6272 + }
6273 + }, {
6274 + key: "setDeviceModeData",
6275 + value: function setDeviceModeData() {
6276 + this.elements.$body.attr('data-elementor-device-mode', this.getCurrentDeviceMode());
6277 + }
6278 + }, {
6279 + key: "addListenerOnce",
6280 + value: function addListenerOnce(listenerID, event, callback, to) {
6281 + if (!to) {
6282 + to = this.elements.$window;
6283 + }
6284 +
6285 + if (!this.isEditMode()) {
6286 + to.on(event, callback);
6287 + return;
6288 + }
6289 +
6290 + this.removeListeners(listenerID, event, to);
6291 +
6292 + if (to instanceof jQuery) {
6293 + var eventNS = event + '.' + listenerID;
6294 + to.on(eventNS, callback);
6295 + } else {
6296 + to.on(event, callback, listenerID);
6297 + }
6298 + }
6299 + }, {
6300 + key: "removeListeners",
6301 + value: function removeListeners(listenerID, event, callback, from) {
6302 + if (!from) {
6303 + from = this.elements.$window;
6304 + }
6305 +
6306 + if (from instanceof jQuery) {
6307 + var eventNS = event + '.' + listenerID;
6308 + from.off(eventNS, callback);
6309 + } else {
6310 + from.off(event, callback, listenerID);
6311 + }
6312 + } // Based on underscore function
6313 +
6314 + }, {
6315 + key: "debounce",
6316 + value: function debounce(func, wait) {
6317 + var timeout;
6318 + return function () {
6319 + var context = this,
6320 + args = arguments;
6321 +
6322 + var later = function later() {
6323 + timeout = null;
6324 + func.apply(context, args);
6325 + };
6326 +
6327 + var callNow = !timeout;
6328 + clearTimeout(timeout);
6329 + timeout = setTimeout(later, wait);
6330 +
6331 + if (callNow) {
6332 + func.apply(context, args);
6333 + }
6334 + };
6335 + }
6336 + }, {
6337 + key: "waypoint",
6338 + value: function waypoint($element, callback, options) {
6339 + var defaultOptions = {
6340 + offset: '100%',
6341 + triggerOnce: true
6342 + };
6343 + options = jQuery.extend(defaultOptions, options);
6344 +
6345 + var correctCallback = function correctCallback() {
6346 + var element = this.element || this,
6347 + result = callback.apply(element, arguments); // If is Waypoint new API and is frontend
6348 +
6349 + if (options.triggerOnce && this.destroy) {
6350 + this.destroy();
6351 + }
6352 +
6353 + return result;
6354 + };
6355 +
6356 + return $element.elementorWaypoint(correctCallback, options);
6357 + }
6358 + }, {
6359 + key: "muteMigrationTraces",
6360 + value: function muteMigrationTraces() {
6361 + jQuery.migrateMute = true;
6362 + jQuery.migrateTrace = false;
6363 + }
6364 + }, {
6365 + key: "init",
6366 + value: function init() {
6367 + this.hooks = new EventManager();
6368 + this.storage = new _storage.default();
6369 + this.addIeCompatibility();
6370 + this.setDeviceModeData();
6371 + this.initDialogsManager();
6372 +
6373 + if (this.isEditMode()) {
6374 + this.muteMigrationTraces();
6375 + } // Keep this line before `initOnReadyComponents` call
6376 +
6377 +
6378 + this.elements.$window.trigger('elementor/frontend/init');
6379 + this.initOnReadyElements();
6380 + this.initOnReadyComponents();
6381 + }
6382 + }, {
6383 + key: "onDocumentLoaded",
6384 + value: function onDocumentLoaded() {
6385 + this.documentsManager = new _documentsManager.default();
6386 + this.trigger('components:init');
6387 + }
6388 + }, {
6389 + key: "Module",
6390 + get: function get() {
6391 + if (this.isEditMode()) {
6392 + parent.elementorCommon.helpers.hardDeprecated('elementorFrontend.Module', '2.5.0', 'elementorModules.frontend.handlers.Base');
6393 + }
6394 +
6395 + return elementorModules.frontend.handlers.Base;
6396 + }
6397 + }]);
6398 + return Frontend;
6399 +}(elementorModules.ViewModule);
6400 +
6401 +window.elementorFrontend = new Frontend();
6402 +
6403 +if (!elementorFrontend.isEditMode()) {
6404 + jQuery(function () {
6405 + return elementorFrontend.init();
6406 + });
6407 +}
6408 +
6409 +/***/ }),
6410 +/* 790 */
6411 +/***/ (function(module, exports, __webpack_require__) {
6412 +
6413 +"use strict";
6414 +
6415 +
6416 +var _interopRequireDefault = __webpack_require__(0);
6417 +
6418 +var _Object$defineProperty = __webpack_require__(1);
6419 +
6420 +_Object$defineProperty(exports, "__esModule", {
6421 + value: true
6422 +});
6423 +
6424 +exports.default = void 0;
6425 +
6426 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
6427 +
6428 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
6429 +
6430 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
6431 +
6432 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
6433 +
6434 +var _document = _interopRequireDefault(__webpack_require__(661));
6435 +
6436 +var _default = /*#__PURE__*/function (_elementorModules$Vie) {
6437 + (0, _inherits2.default)(_default, _elementorModules$Vie);
6438 +
6439 + var _super = (0, _createSuper2.default)(_default);
6440 +
6441 + function _default() {
6442 + var _this;
6443 +
6444 + (0, _classCallCheck2.default)(this, _default);
6445 +
6446 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
6447 + args[_key] = arguments[_key];
6448 + }
6449 +
6450 + _this = _super.call.apply(_super, [this].concat(args));
6451 + _this.documents = {};
6452 +
6453 + _this.initDocumentClasses();
6454 +
6455 + _this.attachDocumentsClasses();
6456 +
6457 + return _this;
6458 + }
6459 +
6460 + (0, _createClass2.default)(_default, [{
6461 + key: "getDefaultSettings",
6462 + value: function getDefaultSettings() {
6463 + return {
6464 + selectors: {
6465 + document: '.elementor'
6466 + }
6467 + };
6468 + }
6469 + }, {
6470 + key: "getDefaultElements",
6471 + value: function getDefaultElements() {
6472 + var selectors = this.getSettings('selectors');
6473 + return {
6474 + $documents: jQuery(selectors.document)
6475 + };
6476 + }
6477 + }, {
6478 + key: "initDocumentClasses",
6479 + value: function initDocumentClasses() {
6480 + this.documentClasses = {
6481 + base: _document.default
6482 + };
6483 + elementorFrontend.hooks.doAction('elementor/frontend/documents-manager/init-classes', this);
6484 + }
6485 + }, {
6486 + key: "addDocumentClass",
6487 + value: function addDocumentClass(documentType, documentClass) {
6488 + this.documentClasses[documentType] = documentClass;
6489 + }
6490 + }, {
6491 + key: "attachDocumentsClasses",
6492 + value: function attachDocumentsClasses() {
6493 + var _this2 = this;
6494 +
6495 + this.elements.$documents.each(function (index, document) {
6496 + return _this2.attachDocumentClass(jQuery(document));
6497 + });
6498 + }
6499 + }, {
6500 + key: "attachDocumentClass",
6501 + value: function attachDocumentClass($document) {
6502 + var documentData = $document.data(),
6503 + documentID = documentData.elementorId,
6504 + documentType = documentData.elementorType,
6505 + DocumentClass = this.documentClasses[documentType] || this.documentClasses.base;
6506 + this.documents[documentID] = new DocumentClass({
6507 + $element: $document,
6508 + id: documentID
6509 + });
6510 + }
6511 + }]);
6512 + return _default;
6513 +}(elementorModules.ViewModule);
6514 +
6515 +exports.default = _default;
6516 +
6517 +/***/ }),
6518 +/* 791 */
6519 +/***/ (function(module, exports, __webpack_require__) {
6520 +
6521 +"use strict";
6522 +
6523 +
6524 +var _interopRequireDefault = __webpack_require__(0);
6525 +
6526 +var _Object$defineProperty = __webpack_require__(1);
6527 +
6528 +_Object$defineProperty(exports, "__esModule", {
6529 + value: true
6530 +});
6531 +
6532 +exports.default = void 0;
6533 +
6534 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
6535 +
6536 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
6537 +
6538 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
6539 +
6540 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
6541 +
6542 +var _baseLoader = _interopRequireDefault(__webpack_require__(700));
6543 +
6544 +var YoutubeLoader = /*#__PURE__*/function (_BaseLoader) {
6545 + (0, _inherits2.default)(YoutubeLoader, _BaseLoader);
6546 +
6547 + var _super = (0, _createSuper2.default)(YoutubeLoader);
6548 +
6549 + function YoutubeLoader() {
6550 + (0, _classCallCheck2.default)(this, YoutubeLoader);
6551 + return _super.apply(this, arguments);
6552 + }
6553 +
6554 + (0, _createClass2.default)(YoutubeLoader, [{
6555 + key: "getApiURL",
6556 + value: function getApiURL() {
6557 + return 'https://www.youtube.com/iframe_api';
6558 + }
6559 + }, {
6560 + key: "getURLRegex",
6561 + value: function getURLRegex() {
6562 + return /^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com\/(?:(?:watch)?\?(?:.*&)?vi?=|(?:embed|v|vi|user)\/))([^?&"'>]+)/;
6563 + }
6564 + }, {
6565 + key: "isApiLoaded",
6566 + value: function isApiLoaded() {
6567 + return window.YT && YT.loaded;
6568 + }
6569 + }, {
6570 + key: "getApiObject",
6571 + value: function getApiObject() {
6572 + return YT;
6573 + }
6574 + }]);
6575 + return YoutubeLoader;
6576 +}(_baseLoader.default);
6577 +
6578 +exports.default = YoutubeLoader;
6579 +
6580 +/***/ }),
6581 +/* 792 */
6582 +/***/ (function(module, exports, __webpack_require__) {
6583 +
6584 +"use strict";
6585 +
6586 +
6587 +var _interopRequireDefault = __webpack_require__(0);
6588 +
6589 +var _Object$defineProperty = __webpack_require__(1);
6590 +
6591 +_Object$defineProperty(exports, "__esModule", {
6592 + value: true
6593 +});
6594 +
6595 +exports.default = void 0;
6596 +
6597 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
6598 +
6599 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
6600 +
6601 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
6602 +
6603 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
6604 +
6605 +var _baseLoader = _interopRequireDefault(__webpack_require__(700));
6606 +
6607 +var VimeoLoader = /*#__PURE__*/function (_BaseLoader) {
6608 + (0, _inherits2.default)(VimeoLoader, _BaseLoader);
6609 +
6610 + var _super = (0, _createSuper2.default)(VimeoLoader);
6611 +
6612 + function VimeoLoader() {
6613 + (0, _classCallCheck2.default)(this, VimeoLoader);
6614 + return _super.apply(this, arguments);
6615 + }
6616 +
6617 + (0, _createClass2.default)(VimeoLoader, [{
6618 + key: "getApiURL",
6619 + value: function getApiURL() {
6620 + return 'https://player.vimeo.com/api/player.js';
6621 + }
6622 + }, {
6623 + key: "getURLRegex",
6624 + value: function getURLRegex() {
6625 + return /^(?:https?:\/\/)?(?:www|player\.)?(?:vimeo\.com\/)?(?:video\/|external\/)?(\d+)([^.?&#"'>]?)/;
6626 + }
6627 + }, {
6628 + key: "isApiLoaded",
6629 + value: function isApiLoaded() {
6630 + return window.Vimeo;
6631 + }
6632 + }, {
6633 + key: "getApiObject",
6634 + value: function getApiObject() {
6635 + return Vimeo;
6636 + }
6637 + }]);
6638 + return VimeoLoader;
6639 +}(_baseLoader.default);
6640 +
6641 +exports.default = VimeoLoader;
6642 +
6643 +/***/ }),
6644 +/* 793 */
6645 +/***/ (function(module, exports, __webpack_require__) {
6646 +
6647 +"use strict";
6648 +
6649 +
6650 +var _interopRequireDefault = __webpack_require__(0);
6651 +
6652 +var _Object$defineProperty = __webpack_require__(1);
6653 +
6654 +_Object$defineProperty(exports, "__esModule", {
6655 + value: true
6656 +});
6657 +
6658 +exports.default = void 0;
6659 +
6660 +var _stringify = _interopRequireDefault(__webpack_require__(206));
6661 +
6662 +__webpack_require__(119);
6663 +
6664 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
6665 +
6666 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
6667 +
6668 +var _get2 = _interopRequireDefault(__webpack_require__(26));
6669 +
6670 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
6671 +
6672 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
6673 +
6674 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
6675 +
6676 +var _default = /*#__PURE__*/function (_elementorModules$Vie) {
6677 + (0, _inherits2.default)(_default, _elementorModules$Vie);
6678 +
6679 + var _super = (0, _createSuper2.default)(_default);
6680 +
6681 + function _default() {
6682 + (0, _classCallCheck2.default)(this, _default);
6683 + return _super.apply(this, arguments);
6684 + }
6685 +
6686 + (0, _createClass2.default)(_default, [{
6687 + key: "getDefaultSettings",
6688 + value: function getDefaultSettings() {
6689 + return {
6690 + selectors: {
6691 + links: 'a[href^="%23elementor-action"], a[href^="#elementor-action"]'
6692 + }
6693 + };
6694 + }
6695 + }, {
6696 + key: "bindEvents",
6697 + value: function bindEvents() {
6698 + elementorFrontend.elements.$document.on('click', this.getSettings('selectors.links'), this.runLinkAction.bind(this));
6699 + }
6700 + }, {
6701 + key: "initActions",
6702 + value: function initActions() {
6703 + this.actions = {
6704 + lightbox: function lightbox(settings) {
6705 + if (settings.id) {
6706 + elementorFrontend.utils.lightbox.openSlideshow(settings.id, settings.url);
6707 + } else {
6708 + elementorFrontend.utils.lightbox.showModal(settings);
6709 + }
6710 + }
6711 + };
6712 + }
6713 + }, {
6714 + key: "addAction",
6715 + value: function addAction(name, callback) {
6716 + this.actions[name] = callback;
6717 + }
6718 + }, {
6719 + key: "runAction",
6720 + value: function runAction(url) {
6721 + url = decodeURIComponent(url);
6722 + var actionMatch = url.match(/action=(.+?)&/),
6723 + settingsMatch = url.match(/settings=(.+)/);
6724 +
6725 + if (!actionMatch) {
6726 + return;
6727 + }
6728 +
6729 + var action = this.actions[actionMatch[1]];
6730 +
6731 + if (!action) {
6732 + return;
6733 + }
6734 +
6735 + var settings = {};
6736 +
6737 + if (settingsMatch) {
6738 + settings = JSON.parse(atob(settingsMatch[1]));
6739 + }
6740 +
6741 + for (var _len = arguments.length, restArgs = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
6742 + restArgs[_key - 1] = arguments[_key];
6743 + }
6744 +
6745 + action.apply(void 0, [settings].concat(restArgs));
6746 + }
6747 + }, {
6748 + key: "runLinkAction",
6749 + value: function runLinkAction(event) {
6750 + event.preventDefault();
6751 + this.runAction(jQuery(event.currentTarget).attr('href'), event);
6752 + }
6753 + }, {
6754 + key: "runHashAction",
6755 + value: function runHashAction() {
6756 + if (location.hash) {
6757 + this.runAction(location.hash);
6758 + }
6759 + }
6760 + }, {
6761 + key: "createActionHash",
6762 + value: function createActionHash(action, settings) {
6763 + // We need to encode the hash tag (#) here, in order to support share links for a variety of providers
6764 + return encodeURIComponent("#elementor-action:action=".concat(action, "&settings=").concat(btoa((0, _stringify.default)(settings))));
6765 + }
6766 + }, {
6767 + key: "onInit",
6768 + value: function onInit() {
6769 + (0, _get2.default)((0, _getPrototypeOf2.default)(_default.prototype), "onInit", this).call(this);
6770 + this.initActions();
6771 + elementorFrontend.on('components:init', this.runHashAction.bind(this));
6772 + }
6773 + }]);
6774 + return _default;
6775 +}(elementorModules.ViewModule);
6776 +
6777 +exports.default = _default;
6778 +
6779 +/***/ }),
6780 +/* 794 */
6781 +/***/ (function(module, exports, __webpack_require__) {
6782 +
6783 +"use strict";
6784 +
6785 +
6786 +var _interopRequireDefault = __webpack_require__(0);
6787 +
6788 +var _Object$defineProperty = __webpack_require__(1);
6789 +
6790 +_Object$defineProperty(exports, "__esModule", {
6791 + value: true
6792 +});
6793 +
6794 +exports.default = void 0;
6795 +
6796 +__webpack_require__(302);
6797 +
6798 +var _parseInt2 = _interopRequireDefault(__webpack_require__(213));
6799 +
6800 +var _keys = _interopRequireDefault(__webpack_require__(23));
6801 +
6802 +var _values = _interopRequireDefault(__webpack_require__(55));
6803 +
6804 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
6805 +
6806 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
6807 +
6808 +var originalSwiper = window.Swiper;
6809 +
6810 +var Swiper = /*#__PURE__*/function () {
6811 + function Swiper(container, config) {
6812 + (0, _classCallCheck2.default)(this, Swiper);
6813 + this.config = config;
6814 +
6815 + if (this.config.breakpoints) {
6816 + // The config is passed as a param to allow adjustConfig to be called outside of this wrapper
6817 + this.config = this.adjustConfig(config);
6818 + }
6819 +
6820 + originalSwiper.prototype.adjustConfig = this.adjustConfig;
6821 + return new originalSwiper(container, this.config);
6822 + } // Backwards compatibility for Elementor Pro <2.9.0 (old Swiper version - <5.0.0)
6823 + // In Swiper 5.0.0 and up, breakpoints changed from acting as max-width to acting as min-width
6824 +
6825 +
6826 + (0, _createClass2.default)(Swiper, [{
6827 + key: "adjustConfig",
6828 + value: function adjustConfig(config) {
6829 + // Only reverse the breakpoints if the handle param has been defined
6830 + if (!config.handleElementorBreakpoints) {
6831 + return config;
6832 + }
6833 +
6834 + var elementorBreakpoints = elementorFrontend.config.breakpoints,
6835 + elementorBreakpointValues = (0, _values.default)(elementorBreakpoints);
6836 + (0, _keys.default)(config.breakpoints).forEach(function (configBPKey) {
6837 + var configBPKeyInt = (0, _parseInt2.default)(configBPKey);
6838 + 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
6839 +
6840 + if (configBPKeyInt === elementorBreakpoints.md || configBPKeyInt + 1 === elementorBreakpoints.md) {
6841 + // This handles the mobile breakpoint. Elementor's default sm breakpoint is never actually used,
6842 + // so the mobile breakpoint (md) needs to be handled separately and set to the 0 breakpoint (xs)
6843 + breakpointToUpdate = elementorBreakpoints.xs;
6844 + } else {
6845 + // Find the index of the current config breakpoint in the Elementor Breakpoints array
6846 + var currentBPIndexInElementorBPs = elementorBreakpointValues.findIndex(function (elementorBP) {
6847 + // BC Fix for Elementor Pro Carousels from 2.8.0-2.8.3 used with Elementor >= 2.9.0
6848 + return configBPKeyInt === elementorBP || configBPKeyInt + 1 === elementorBP;
6849 + }); // For all other Swiper config breakpoints, move them one breakpoint down on the breakpoint list,
6850 + // according to the array of Elementor's global breakpoints
6851 +
6852 + breakpointToUpdate = elementorBreakpointValues[currentBPIndexInElementorBPs - 1];
6853 + }
6854 +
6855 + config.breakpoints[breakpointToUpdate] = config.breakpoints[configBPKey]; // Then reset the settings in the original breakpoint key to the default values
6856 +
6857 + config.breakpoints[configBPKey] = {
6858 + slidesPerView: config.slidesPerView,
6859 + slidesPerGroup: config.slidesPerGroup ? config.slidesPerGroup : 1
6860 + };
6861 + });
6862 + return config;
6863 + }
6864 + }]);
6865 + return Swiper;
6866 +}();
6867 +
6868 +exports.default = Swiper;
6869 +window.Swiper = Swiper;
6870 +
6871 +/***/ }),
6872 +/* 795 */
6873 +/***/ (function(module, exports, __webpack_require__) {
6874 +
6875 +"use strict";
6876 +
6877 +
6878 +var _interopRequireDefault = __webpack_require__(0);
6879 +
6880 +var _accordion = _interopRequireDefault(__webpack_require__(796));
6881 +
6882 +var _alert = _interopRequireDefault(__webpack_require__(797));
6883 +
6884 +var _counter = _interopRequireDefault(__webpack_require__(798));
6885 +
6886 +var _progress = _interopRequireDefault(__webpack_require__(799));
6887 +
6888 +var _tabs = _interopRequireDefault(__webpack_require__(800));
6889 +
6890 +var _toggle = _interopRequireDefault(__webpack_require__(801));
6891 +
6892 +var _video = _interopRequireDefault(__webpack_require__(802));
6893 +
6894 +var _imageCarousel = _interopRequireDefault(__webpack_require__(803));
6895 +
6896 +var _textEditor = _interopRequireDefault(__webpack_require__(804));
6897 +
6898 +var _section = _interopRequireDefault(__webpack_require__(805));
6899 +
6900 +var _column = _interopRequireDefault(__webpack_require__(810));
6901 +
6902 +var _global = _interopRequireDefault(__webpack_require__(811));
6903 +
6904 +module.exports = function ($) {
6905 + var self = this; // element-type.skin-type
6906 +
6907 + var handlers = {
6908 + // Elements
6909 + section: _section.default,
6910 + column: _column.default,
6911 + // Widgets
6912 + 'accordion.default': _accordion.default,
6913 + 'alert.default': _alert.default,
6914 + 'counter.default': _counter.default,
6915 + 'progress.default': _progress.default,
6916 + 'tabs.default': _tabs.default,
6917 + 'toggle.default': _toggle.default,
6918 + 'video.default': _video.default,
6919 + 'image-carousel.default': _imageCarousel.default,
6920 + 'text-editor.default': _textEditor.default
6921 + };
6922 + var handlersInstances = {};
6923 +
6924 + var addGlobalHandlers = function addGlobalHandlers() {
6925 + elementorFrontend.hooks.addAction('frontend/element_ready/global', _global.default);
6926 + };
6927 +
6928 + var addElementsHandlers = function addElementsHandlers() {
6929 + $.each(handlers, function (elementName, funcCallback) {
6930 + elementorFrontend.hooks.addAction('frontend/element_ready/' + elementName, funcCallback);
6931 + });
6932 + };
6933 +
6934 + var init = function init() {
6935 + self.initHandlers();
6936 + };
6937 +
6938 + this.initHandlers = function () {
6939 + addGlobalHandlers();
6940 + addElementsHandlers();
6941 + };
6942 +
6943 + this.addHandler = function (HandlerClass, options) {
6944 + var elementID = options.$element.data('model-cid');
6945 + var handlerID; // If element is in edit mode
6946 +
6947 + if (elementID) {
6948 + handlerID = HandlerClass.prototype.getConstructorID();
6949 +
6950 + if (!handlersInstances[elementID]) {
6951 + handlersInstances[elementID] = {};
6952 + }
6953 +
6954 + var oldHandler = handlersInstances[elementID][handlerID];
6955 +
6956 + if (oldHandler) {
6957 + oldHandler.onDestroy();
6958 + }
6959 + }
6960 +
6961 + var newHandler = new HandlerClass(options);
6962 +
6963 + if (elementID) {
6964 + handlersInstances[elementID][handlerID] = newHandler;
6965 + }
6966 + };
6967 +
6968 + this.getHandlers = function (handlerName) {
6969 + if (handlerName) {
6970 + return handlers[handlerName];
6971 + }
6972 +
6973 + return handlers;
6974 + };
6975 +
6976 + this.runReadyTrigger = function (scope) {
6977 + if (elementorFrontend.config.is_static) {
2113 6978 return;
6979 + } // Initializing the `$scope` as frontend jQuery instance
6980 +
6981 +
6982 + var $scope = jQuery(scope),
6983 + elementType = $scope.attr('data-element_type');
6984 +
6985 + if (!elementType) {
6986 + return;
2114 6987 }
2115 - storage.setItem('elementor', JSON.stringify(object));
6988 +
6989 + elementorFrontend.hooks.doAction('frontend/element_ready/global', $scope, $);
6990 + elementorFrontend.hooks.doAction('frontend/element_ready/' + elementType, $scope, $);
6991 +
6992 + if ('widget' === elementType) {
6993 + elementorFrontend.hooks.doAction('frontend/element_ready/' + $scope.attr('data-widget_type'), $scope, $);
6994 + }
6995 + };
6996 +
6997 + init();
6998 +};
6999 +
7000 +/***/ }),
7001 +/* 796 */
7002 +/***/ (function(module, exports, __webpack_require__) {
7003 +
7004 +"use strict";
7005 +
7006 +
7007 +var _interopRequireDefault = __webpack_require__(0);
7008 +
7009 +var _Object$defineProperty = __webpack_require__(1);
7010 +
7011 +_Object$defineProperty(exports, "__esModule", {
7012 + value: true
7013 +});
7014 +
7015 +exports.default = void 0;
7016 +
7017 +var _baseTabs = _interopRequireDefault(__webpack_require__(662));
7018 +
7019 +var _default = function _default($scope) {
7020 + elementorFrontend.elementsHandler.addHandler(_baseTabs.default, {
7021 + $element: $scope,
7022 + showTabFn: 'slideDown',
7023 + hideTabFn: 'slideUp'
7024 + });
7025 +};
7026 +
7027 +exports.default = _default;
7028 +
7029 +/***/ }),
7030 +/* 797 */
7031 +/***/ (function(module, exports, __webpack_require__) {
7032 +
7033 +"use strict";
7034 +
7035 +
7036 +var _interopRequireDefault = __webpack_require__(0);
7037 +
7038 +var _Object$defineProperty = __webpack_require__(1);
7039 +
7040 +_Object$defineProperty(exports, "__esModule", {
7041 + value: true
7042 +});
7043 +
7044 +exports.default = void 0;
7045 +
7046 +__webpack_require__(25);
7047 +
7048 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7049 +
7050 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7051 +
7052 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7053 +
7054 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7055 +
7056 +var Alert = /*#__PURE__*/function (_elementorModules$fro) {
7057 + (0, _inherits2.default)(Alert, _elementorModules$fro);
7058 +
7059 + var _super = (0, _createSuper2.default)(Alert);
7060 +
7061 + function Alert() {
7062 + (0, _classCallCheck2.default)(this, Alert);
7063 + return _super.apply(this, arguments);
2116 7064 }
2117 -}
2118 -exports["default"] = _default;
2119 7065
7066 + (0, _createClass2.default)(Alert, [{
7067 + key: "getDefaultSettings",
7068 + value: function getDefaultSettings() {
7069 + return {
7070 + selectors: {
7071 + dismissButton: '.elementor-alert-dismiss'
7072 + }
7073 + };
7074 + }
7075 + }, {
7076 + key: "getDefaultElements",
7077 + value: function getDefaultElements() {
7078 + var selectors = this.getSettings('selectors');
7079 + return {
7080 + $dismissButton: this.$element.find(selectors.dismissButton)
7081 + };
7082 + }
7083 + }, {
7084 + key: "bindEvents",
7085 + value: function bindEvents() {
7086 + this.elements.$dismissButton.on('click', this.onDismissButtonClick.bind(this));
7087 + }
7088 + }, {
7089 + key: "onDismissButtonClick",
7090 + value: function onDismissButtonClick() {
7091 + this.$element.fadeOut();
7092 + }
7093 + }]);
7094 + return Alert;
7095 +}(elementorModules.frontend.handlers.Base);
7096 +
7097 +var _default = function _default($scope) {
7098 + elementorFrontend.elementsHandler.addHandler(Alert, {
7099 + $element: $scope
7100 + });
7101 +};
7102 +
7103 +exports.default = _default;
7104 +
2120 7105 /***/ }),
7106 +/* 798 */
7107 +/***/ (function(module, exports, __webpack_require__) {
2121 7108
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__) => {
7109 +"use strict";
2127 7110
2128 7111
7112 +var _interopRequireDefault = __webpack_require__(0);
2129 7113
2130 -Object.defineProperty(exports, "__esModule", ({
7114 +var _Object$defineProperty = __webpack_require__(1);
7115 +
7116 +_Object$defineProperty(exports, "__esModule", {
2131 7117 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")));
7118 +});
7119 +
7120 +exports.default = void 0;
7121 +
7122 +__webpack_require__(183);
7123 +
7124 +__webpack_require__(72);
7125 +
7126 +__webpack_require__(119);
7127 +
7128 +__webpack_require__(25);
7129 +
7130 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7131 +
7132 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7133 +
7134 +var _get2 = _interopRequireDefault(__webpack_require__(26));
7135 +
7136 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
7137 +
7138 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7139 +
7140 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7141 +
7142 +var Counter = /*#__PURE__*/function (_elementorModules$fro) {
7143 + (0, _inherits2.default)(Counter, _elementorModules$fro);
7144 +
7145 + var _super = (0, _createSuper2.default)(Counter);
7146 +
7147 + function Counter() {
7148 + (0, _classCallCheck2.default)(this, Counter);
7149 + return _super.apply(this, arguments);
2138 7150 }
2139 -}
2140 -exports["default"] = _default;
2141 7151
7152 + (0, _createClass2.default)(Counter, [{
7153 + key: "getDefaultSettings",
7154 + value: function getDefaultSettings() {
7155 + return {
7156 + selectors: {
7157 + counterNumber: '.elementor-counter-number'
7158 + }
7159 + };
7160 + }
7161 + }, {
7162 + key: "getDefaultElements",
7163 + value: function getDefaultElements() {
7164 + var selectors = this.getSettings('selectors');
7165 + return {
7166 + $counterNumber: this.$element.find(selectors.counterNumber)
7167 + };
7168 + }
7169 + }, {
7170 + key: "onInit",
7171 + value: function onInit() {
7172 + var _this = this;
7173 +
7174 + (0, _get2.default)((0, _getPrototypeOf2.default)(Counter.prototype), "onInit", this).call(this);
7175 + elementorFrontend.waypoint(this.elements.$counterNumber, function () {
7176 + var data = _this.elements.$counterNumber.data(),
7177 + decimalDigits = data.toValue.toString().match(/\.(.*)/);
7178 +
7179 + if (decimalDigits) {
7180 + data.rounding = decimalDigits[1].length;
7181 + }
7182 +
7183 + _this.elements.$counterNumber.numerator(data);
7184 + });
7185 + }
7186 + }]);
7187 + return Counter;
7188 +}(elementorModules.frontend.handlers.Base);
7189 +
7190 +var _default = function _default($scope) {
7191 + elementorFrontend.elementsHandler.addHandler(Counter, {
7192 + $element: $scope
7193 + });
7194 +};
7195 +
7196 +exports.default = _default;
7197 +
2142 7198 /***/ }),
7199 +/* 799 */
7200 +/***/ (function(module, exports, __webpack_require__) {
2143 7201
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__) => {
7202 +"use strict";
2149 7203
2150 7204
2151 -var isPossiblePrototype = __webpack_require__(/*! ../internals/is-possible-prototype */ "../node_modules/core-js/internals/is-possible-prototype.js");
7205 +var _interopRequireDefault = __webpack_require__(0);
2152 7206
2153 -var $String = String;
2154 -var $TypeError = TypeError;
7207 +var _Object$defineProperty = __webpack_require__(1);
2155 7208
2156 -module.exports = function (argument) {
2157 - if (isPossiblePrototype(argument)) return argument;
2158 - throw new $TypeError("Can't set " + $String(argument) + ' as a prototype');
7209 +_Object$defineProperty(exports, "__esModule", {
7210 + value: true
7211 +});
7212 +
7213 +exports.default = void 0;
7214 +
7215 +__webpack_require__(25);
7216 +
7217 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7218 +
7219 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7220 +
7221 +var _get2 = _interopRequireDefault(__webpack_require__(26));
7222 +
7223 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
7224 +
7225 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7226 +
7227 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7228 +
7229 +var Progress = /*#__PURE__*/function (_elementorModules$fro) {
7230 + (0, _inherits2.default)(Progress, _elementorModules$fro);
7231 +
7232 + var _super = (0, _createSuper2.default)(Progress);
7233 +
7234 + function Progress() {
7235 + (0, _classCallCheck2.default)(this, Progress);
7236 + return _super.apply(this, arguments);
7237 + }
7238 +
7239 + (0, _createClass2.default)(Progress, [{
7240 + key: "getDefaultSettings",
7241 + value: function getDefaultSettings() {
7242 + return {
7243 + selectors: {
7244 + progressNumber: '.elementor-progress-bar'
7245 + }
7246 + };
7247 + }
7248 + }, {
7249 + key: "getDefaultElements",
7250 + value: function getDefaultElements() {
7251 + var selectors = this.getSettings('selectors');
7252 + return {
7253 + $progressNumber: this.$element.find(selectors.progressNumber)
7254 + };
7255 + }
7256 + }, {
7257 + key: "onInit",
7258 + value: function onInit() {
7259 + var _this = this;
7260 +
7261 + (0, _get2.default)((0, _getPrototypeOf2.default)(Progress.prototype), "onInit", this).call(this);
7262 + elementorFrontend.waypoint(this.elements.$progressNumber, function () {
7263 + var $progressbar = _this.elements.$progressNumber;
7264 + $progressbar.css('width', $progressbar.data('max') + '%');
7265 + });
7266 + }
7267 + }]);
7268 + return Progress;
7269 +}(elementorModules.frontend.handlers.Base);
7270 +
7271 +var _default = function _default($scope) {
7272 + elementorFrontend.elementsHandler.addHandler(Progress, {
7273 + $element: $scope
7274 + });
2159 7275 };
2160 7276
7277 +exports.default = _default;
2161 7278
2162 7279 /***/ }),
7280 +/* 800 */
7281 +/***/ (function(module, exports, __webpack_require__) {
2163 7282
2164 -/***/ "../node_modules/core-js/internals/dom-exception-constants.js":
2165 -/*!********************************************************************!*\
2166 - !*** ../node_modules/core-js/internals/dom-exception-constants.js ***!
2167 - \********************************************************************/
2168 -/***/ ((module) => {
7283 +"use strict";
2169 7284
2170 7285
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 }
7286 +var _interopRequireDefault = __webpack_require__(0);
7287 +
7288 +var _Object$defineProperty = __webpack_require__(1);
7289 +
7290 +_Object$defineProperty(exports, "__esModule", {
7291 + value: true
7292 +});
7293 +
7294 +exports.default = void 0;
7295 +
7296 +var _baseTabs = _interopRequireDefault(__webpack_require__(662));
7297 +
7298 +var _default = function _default($scope) {
7299 + elementorFrontend.elementsHandler.addHandler(_baseTabs.default, {
7300 + $element: $scope,
7301 + toggleSelf: false
7302 + });
2197 7303 };
2198 7304
7305 +exports.default = _default;
2199 7306
2200 7307 /***/ }),
7308 +/* 801 */
7309 +/***/ (function(module, exports, __webpack_require__) {
2201 7310
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__) => {
7311 +"use strict";
2207 7312
2208 7313
2209 -var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
7314 +var _interopRequireDefault = __webpack_require__(0);
2210 7315
2211 -var $Error = Error;
2212 -var replace = uncurryThis(''.replace);
7316 +var _Object$defineProperty = __webpack_require__(1);
2213 7317
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);
7318 +_Object$defineProperty(exports, "__esModule", {
7319 + value: true
7320 +});
2218 7321
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;
7322 +exports.default = void 0;
7323 +
7324 +var _baseTabs = _interopRequireDefault(__webpack_require__(662));
7325 +
7326 +var _default = function _default($scope) {
7327 + elementorFrontend.elementsHandler.addHandler(_baseTabs.default, {
7328 + $element: $scope,
7329 + showTabFn: 'slideDown',
7330 + hideTabFn: 'slideUp',
7331 + hidePrevious: false,
7332 + autoExpand: 'editor'
7333 + });
2223 7334 };
2224 7335
7336 +exports.default = _default;
2225 7337
2226 7338 /***/ }),
7339 +/* 802 */
7340 +/***/ (function(module, exports, __webpack_require__) {
2227 7341
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__) => {
7342 +"use strict";
2233 7343
2234 7344
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");
7345 +var _interopRequireDefault = __webpack_require__(0);
2237 7346
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 */ }
7347 +var _Object$defineProperty = __webpack_require__(1);
7348 +
7349 +_Object$defineProperty(exports, "__esModule", {
7350 + value: true
7351 +});
7352 +
7353 +exports.default = void 0;
7354 +
7355 +__webpack_require__(135);
7356 +
7357 +__webpack_require__(155);
7358 +
7359 +__webpack_require__(58);
7360 +
7361 +__webpack_require__(25);
7362 +
7363 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7364 +
7365 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7366 +
7367 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7368 +
7369 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7370 +
7371 +var VideoModule = /*#__PURE__*/function (_elementorModules$fro) {
7372 + (0, _inherits2.default)(VideoModule, _elementorModules$fro);
7373 +
7374 + var _super = (0, _createSuper2.default)(VideoModule);
7375 +
7376 + function VideoModule() {
7377 + (0, _classCallCheck2.default)(this, VideoModule);
7378 + return _super.apply(this, arguments);
7379 + }
7380 +
7381 + (0, _createClass2.default)(VideoModule, [{
7382 + key: "getDefaultSettings",
7383 + value: function getDefaultSettings() {
7384 + return {
7385 + selectors: {
7386 + imageOverlay: '.elementor-custom-embed-image-overlay',
7387 + video: '.elementor-video',
7388 + videoIframe: '.elementor-video-iframe'
7389 + }
7390 + };
7391 + }
7392 + }, {
7393 + key: "getDefaultElements",
7394 + value: function getDefaultElements() {
7395 + var selectors = this.getSettings('selectors');
7396 + return {
7397 + $imageOverlay: this.$element.find(selectors.imageOverlay),
7398 + $video: this.$element.find(selectors.video),
7399 + $videoIframe: this.$element.find(selectors.videoIframe)
7400 + };
7401 + }
7402 + }, {
7403 + key: "getLightBox",
7404 + value: function getLightBox() {
7405 + return elementorFrontend.utils.lightbox;
7406 + }
7407 + }, {
7408 + key: "handleVideo",
7409 + value: function handleVideo() {
7410 + if (!this.getElementSettings('lightbox')) {
7411 + this.elements.$imageOverlay.remove();
7412 + this.playVideo();
7413 + }
7414 + }
7415 + }, {
7416 + key: "playVideo",
7417 + value: function playVideo() {
7418 + if (this.elements.$video.length) {
7419 + this.elements.$video[0].play();
7420 + return;
7421 + }
7422 +
7423 + var $videoIframe = this.elements.$videoIframe,
7424 + lazyLoad = $videoIframe.data('lazy-load');
7425 +
7426 + if (lazyLoad) {
7427 + $videoIframe.attr('src', lazyLoad);
7428 + }
7429 +
7430 + var newSourceUrl = $videoIframe[0].src.replace('&autoplay=0', '');
7431 + $videoIframe[0].src = newSourceUrl + '&autoplay=1';
7432 +
7433 + if ($videoIframe[0].src.includes('vimeo.com')) {
7434 + var videoSrc = $videoIframe[0].src,
7435 + timeMatch = /#t=[^&]*/.exec(videoSrc); // Param '#t=' must be last in the URL
7436 +
7437 + $videoIframe[0].src = videoSrc.slice(0, timeMatch.index) + videoSrc.slice(timeMatch.index + timeMatch[0].length) + timeMatch[0];
7438 + }
7439 + }
7440 + }, {
7441 + key: "animateVideo",
7442 + value: function animateVideo() {
7443 + this.getLightBox().setEntranceAnimation(this.getCurrentDeviceSetting('lightbox_content_animation'));
7444 + }
7445 + }, {
7446 + key: "handleAspectRatio",
7447 + value: function handleAspectRatio() {
7448 + this.getLightBox().setVideoAspectRatio(this.getElementSettings('aspect_ratio'));
7449 + }
7450 + }, {
7451 + key: "bindEvents",
7452 + value: function bindEvents() {
7453 + this.elements.$imageOverlay.on('click', this.handleVideo.bind(this));
7454 + }
7455 + }, {
7456 + key: "onElementChange",
7457 + value: function onElementChange(propertyName) {
7458 + if (0 === propertyName.indexOf('lightbox_content_animation')) {
7459 + this.animateVideo();
7460 + return;
7461 + }
7462 +
7463 + var isLightBoxEnabled = this.getElementSettings('lightbox');
7464 +
7465 + if ('lightbox' === propertyName && !isLightBoxEnabled) {
7466 + this.getLightBox().getModal().hide();
7467 + return;
7468 + }
7469 +
7470 + if ('aspect_ratio' === propertyName && isLightBoxEnabled) {
7471 + this.handleAspectRatio();
7472 + }
7473 + }
7474 + }]);
7475 + return VideoModule;
7476 +}(elementorModules.frontend.handlers.Base);
7477 +
7478 +var _default = function _default($scope) {
7479 + elementorFrontend.elementsHandler.addHandler(VideoModule, {
7480 + $element: $scope
7481 + });
2243 7482 };
2244 7483
7484 +exports.default = _default;
2245 7485
2246 7486 /***/ }),
7487 +/* 803 */
7488 +/***/ (function(module, exports, __webpack_require__) {
2247 7489
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__) => {
7490 +"use strict";
2253 7491
2254 7492
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");
7493 +var _interopRequireDefault = __webpack_require__(0);
2258 7494
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;
7495 +var _Object$defineProperty = __webpack_require__(1);
7496 +
7497 +_Object$defineProperty(exports, "__esModule", {
7498 + value: true
7499 +});
7500 +
7501 +exports.default = void 0;
7502 +
7503 +__webpack_require__(25);
7504 +
7505 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7506 +
7507 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7508 +
7509 +var _get3 = _interopRequireDefault(__webpack_require__(26));
7510 +
7511 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
7512 +
7513 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7514 +
7515 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7516 +
7517 +var ImageCarouselHandler = /*#__PURE__*/function (_elementorModules$fro) {
7518 + (0, _inherits2.default)(ImageCarouselHandler, _elementorModules$fro);
7519 +
7520 + var _super = (0, _createSuper2.default)(ImageCarouselHandler);
7521 +
7522 + function ImageCarouselHandler() {
7523 + (0, _classCallCheck2.default)(this, ImageCarouselHandler);
7524 + return _super.apply(this, arguments);
7525 + }
7526 +
7527 + (0, _createClass2.default)(ImageCarouselHandler, [{
7528 + key: "getDefaultSettings",
7529 + value: function getDefaultSettings() {
7530 + return {
7531 + selectors: {
7532 + carousel: '.elementor-image-carousel-wrapper',
7533 + slideContent: '.swiper-slide'
7534 + }
7535 + };
7536 + }
7537 + }, {
7538 + key: "getDefaultElements",
7539 + value: function getDefaultElements() {
7540 + var selectors = this.getSettings('selectors');
7541 + var elements = {
7542 + $swiperContainer: this.$element.find(selectors.carousel)
7543 + };
7544 + elements.$slides = elements.$swiperContainer.find(selectors.slideContent);
7545 + return elements;
7546 + }
7547 + }, {
7548 + key: "getSwiperSettings",
7549 + value: function getSwiperSettings() {
7550 + var elementSettings = this.getElementSettings(),
7551 + slidesToShow = +elementSettings.slides_to_show || 3,
7552 + isSingleSlide = 1 === slidesToShow,
7553 + defaultLGDevicesSlidesCount = isSingleSlide ? 1 : 2,
7554 + elementorBreakpoints = elementorFrontend.config.breakpoints;
7555 + var swiperOptions = {
7556 + slidesPerView: slidesToShow,
7557 + loop: 'yes' === elementSettings.infinite,
7558 + speed: elementSettings.speed,
7559 + handleElementorBreakpoints: true
7560 + };
7561 + swiperOptions.breakpoints = {};
7562 + swiperOptions.breakpoints[elementorBreakpoints.md] = {
7563 + slidesPerView: +elementSettings.slides_to_show_mobile || 1,
7564 + slidesPerGroup: +elementSettings.slides_to_scroll_mobile || 1
7565 + };
7566 + swiperOptions.breakpoints[elementorBreakpoints.lg] = {
7567 + slidesPerView: +elementSettings.slides_to_show_tablet || defaultLGDevicesSlidesCount,
7568 + slidesPerGroup: +elementSettings.slides_to_scroll_tablet || 1
7569 + };
7570 +
7571 + if (!this.isEdit && 'yes' === elementSettings.autoplay) {
7572 + swiperOptions.autoplay = {
7573 + delay: elementSettings.autoplay_speed,
7574 + disableOnInteraction: 'yes' === elementSettings.pause_on_interaction
7575 + };
7576 + }
7577 +
7578 + if (isSingleSlide) {
7579 + swiperOptions.effect = elementSettings.effect;
7580 +
7581 + if ('fade' === elementSettings.effect) {
7582 + swiperOptions.fadeEffect = {
7583 + crossFade: true
7584 + };
7585 + }
7586 + } else {
7587 + swiperOptions.slidesPerGroup = +elementSettings.slides_to_scroll || 1;
7588 + }
7589 +
7590 + if (elementSettings.image_spacing_custom) {
7591 + swiperOptions.spaceBetween = elementSettings.image_spacing_custom.size;
7592 + }
7593 +
7594 + var showArrows = 'arrows' === elementSettings.navigation || 'both' === elementSettings.navigation,
7595 + showDots = 'dots' === elementSettings.navigation || 'both' === elementSettings.navigation;
7596 +
7597 + if (showArrows) {
7598 + swiperOptions.navigation = {
7599 + prevEl: '.elementor-swiper-button-prev',
7600 + nextEl: '.elementor-swiper-button-next'
7601 + };
7602 + }
7603 +
7604 + if (showDots) {
7605 + swiperOptions.pagination = {
7606 + el: '.swiper-pagination',
7607 + type: 'bullets',
7608 + clickable: true
7609 + };
7610 + }
7611 +
7612 + return swiperOptions;
7613 + }
7614 + }, {
7615 + key: "onInit",
7616 + value: function onInit() {
7617 + var _get2;
7618 +
7619 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
7620 + args[_key] = arguments[_key];
7621 + }
7622 +
7623 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(ImageCarouselHandler.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
7624 +
7625 + var elementSettings = this.getElementSettings();
7626 +
7627 + if (!this.elements.$swiperContainer.length || 2 > this.elements.$slides.length) {
7628 + return;
7629 + }
7630 +
7631 + this.swiper = new Swiper(this.elements.$swiperContainer, this.getSwiperSettings()); // Expose the swiper instance in the frontend
7632 +
7633 + this.elements.$swiperContainer.data('swiper', this.swiper);
7634 +
7635 + if ('yes' === elementSettings.pause_on_hover) {
7636 + this.togglePauseOnHover(true);
7637 + }
7638 + }
7639 + }, {
7640 + key: "updateSwiperOption",
7641 + value: function updateSwiperOption(propertyName) {
7642 + var elementSettings = this.getElementSettings(),
7643 + newSettingValue = elementSettings[propertyName],
7644 + changeableProperties = this.getChangeableProperties();
7645 + var propertyToUpdate = changeableProperties[propertyName],
7646 + valueToUpdate = newSettingValue; // Handle special cases where the value to update is not the value that the Swiper library accepts
7647 +
7648 + switch (propertyName) {
7649 + case 'image_spacing_custom':
7650 + valueToUpdate = newSettingValue.size || 0;
7651 + break;
7652 +
7653 + case 'autoplay':
7654 + if (newSettingValue) {
7655 + valueToUpdate = {
7656 + delay: elementSettings.autoplay_speed,
7657 + disableOnInteraction: 'yes' === elementSettings.pause_on_interaction
7658 + };
7659 + } else {
7660 + valueToUpdate = false;
7661 + }
7662 +
7663 + break;
7664 +
7665 + case 'autoplay_speed':
7666 + propertyToUpdate = 'autoplay';
7667 + valueToUpdate = {
7668 + delay: newSettingValue,
7669 + disableOnInteraction: 'yes' === elementSettings.pause_on_interaction
7670 + };
7671 + break;
7672 +
7673 + case 'pause_on_hover':
7674 + this.togglePauseOnHover('yes' === newSettingValue);
7675 + break;
7676 +
7677 + case 'pause_on_interaction':
7678 + valueToUpdate = 'yes' === newSettingValue;
7679 + break;
7680 + } // 'pause_on_hover' is implemented by the handler with event listeners, not the Swiper library
7681 +
7682 +
7683 + if ('pause_on_hover' !== propertyName) {
7684 + this.swiper.params[propertyToUpdate] = valueToUpdate;
7685 + }
7686 +
7687 + this.swiper.update();
7688 + }
7689 + }, {
7690 + key: "getChangeableProperties",
7691 + value: function getChangeableProperties() {
7692 + return {
7693 + autoplay: 'autoplay',
7694 + pause_on_hover: 'pauseOnHover',
7695 + pause_on_interaction: 'disableOnInteraction',
7696 + autoplay_speed: 'delay',
7697 + speed: 'speed',
7698 + image_spacing_custom: 'spaceBetween'
7699 + };
7700 + }
7701 + }, {
7702 + key: "onElementChange",
7703 + value: function onElementChange(propertyName) {
7704 + var changeableProperties = this.getChangeableProperties();
7705 +
7706 + if (changeableProperties.propertyName) {
7707 + this.updateSwiperOption(propertyName);
7708 + }
7709 + }
7710 + }, {
7711 + key: "onEditSettingsChange",
7712 + value: function onEditSettingsChange(propertyName) {
7713 + if ('activeItemIndex' === propertyName) {
7714 + this.swiper.slideToLoop(this.getEditSettings('activeItemIndex') - 1);
7715 + }
7716 + }
7717 + }]);
7718 + return ImageCarouselHandler;
7719 +}(elementorModules.frontend.handlers.SwiperBase);
7720 +
7721 +var _default = function _default($scope) {
7722 + elementorFrontend.elementsHandler.addHandler(ImageCarouselHandler, {
7723 + $element: $scope
7724 + });
2272 7725 };
2273 7726
7727 +exports.default = _default;
2274 7728
2275 7729 /***/ }),
7730 +/* 804 */
7731 +/***/ (function(module, exports, __webpack_require__) {
2276 7732
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__) => {
7733 +"use strict";
2282 7734
2283 7735
2284 -var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
7736 +var _interopRequireDefault = __webpack_require__(0);
2285 7737
2286 -module.exports = function (argument) {
2287 - return isObject(argument) || argument === null;
7738 +var _Object$defineProperty = __webpack_require__(1);
7739 +
7740 +_Object$defineProperty(exports, "__esModule", {
7741 + value: true
7742 +});
7743 +
7744 +exports.default = void 0;
7745 +
7746 +__webpack_require__(119);
7747 +
7748 +__webpack_require__(58);
7749 +
7750 +__webpack_require__(25);
7751 +
7752 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7753 +
7754 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7755 +
7756 +var _get3 = _interopRequireDefault(__webpack_require__(26));
7757 +
7758 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
7759 +
7760 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7761 +
7762 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7763 +
7764 +var TextEditor = /*#__PURE__*/function (_elementorModules$fro) {
7765 + (0, _inherits2.default)(TextEditor, _elementorModules$fro);
7766 +
7767 + var _super = (0, _createSuper2.default)(TextEditor);
7768 +
7769 + function TextEditor() {
7770 + (0, _classCallCheck2.default)(this, TextEditor);
7771 + return _super.apply(this, arguments);
7772 + }
7773 +
7774 + (0, _createClass2.default)(TextEditor, [{
7775 + key: "getDefaultSettings",
7776 + value: function getDefaultSettings() {
7777 + return {
7778 + selectors: {
7779 + paragraph: 'p:first'
7780 + },
7781 + classes: {
7782 + dropCap: 'elementor-drop-cap',
7783 + dropCapLetter: 'elementor-drop-cap-letter'
7784 + }
7785 + };
7786 + }
7787 + }, {
7788 + key: "getDefaultElements",
7789 + value: function getDefaultElements() {
7790 + var selectors = this.getSettings('selectors'),
7791 + classes = this.getSettings('classes'),
7792 + $dropCap = jQuery('<span>', {
7793 + class: classes.dropCap
7794 + }),
7795 + $dropCapLetter = jQuery('<span>', {
7796 + class: classes.dropCapLetter
7797 + });
7798 + $dropCap.append($dropCapLetter);
7799 + return {
7800 + $paragraph: this.$element.find(selectors.paragraph),
7801 + $dropCap: $dropCap,
7802 + $dropCapLetter: $dropCapLetter
7803 + };
7804 + }
7805 + }, {
7806 + key: "wrapDropCap",
7807 + value: function wrapDropCap() {
7808 + var isDropCapEnabled = this.getElementSettings('drop_cap');
7809 +
7810 + if (!isDropCapEnabled) {
7811 + // If there is an old drop cap inside the paragraph
7812 + if (this.dropCapLetter) {
7813 + this.elements.$dropCap.remove();
7814 + this.elements.$paragraph.prepend(this.dropCapLetter);
7815 + this.dropCapLetter = '';
7816 + }
7817 +
7818 + return;
7819 + }
7820 +
7821 + var $paragraph = this.elements.$paragraph;
7822 +
7823 + if (!$paragraph.length) {
7824 + return;
7825 + }
7826 +
7827 + var paragraphContent = $paragraph.html().replace(/&nbsp;/g, ' '),
7828 + firstLetterMatch = paragraphContent.match(/^ *([^ ] ?)/);
7829 +
7830 + if (!firstLetterMatch) {
7831 + return;
7832 + }
7833 +
7834 + var firstLetter = firstLetterMatch[1],
7835 + trimmedFirstLetter = firstLetter.trim(); // Don't apply drop cap when the content starting with an HTML tag
7836 +
7837 + if ('<' === trimmedFirstLetter) {
7838 + return;
7839 + }
7840 +
7841 + this.dropCapLetter = firstLetter;
7842 + this.elements.$dropCapLetter.text(trimmedFirstLetter);
7843 + var restoredParagraphContent = paragraphContent.slice(firstLetter.length).replace(/^ */, function (match) {
7844 + return new Array(match.length + 1).join('&nbsp;');
7845 + });
7846 + $paragraph.html(restoredParagraphContent).prepend(this.elements.$dropCap);
7847 + }
7848 + }, {
7849 + key: "onInit",
7850 + value: function onInit() {
7851 + var _get2;
7852 +
7853 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
7854 + args[_key] = arguments[_key];
7855 + }
7856 +
7857 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(TextEditor.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
7858 +
7859 + this.wrapDropCap();
7860 + }
7861 + }, {
7862 + key: "onElementChange",
7863 + value: function onElementChange(propertyName) {
7864 + if ('drop_cap' === propertyName) {
7865 + this.wrapDropCap();
7866 + }
7867 + }
7868 + }]);
7869 + return TextEditor;
7870 +}(elementorModules.frontend.handlers.Base);
7871 +
7872 +var _default = function _default($scope) {
7873 + elementorFrontend.elementsHandler.addHandler(TextEditor, {
7874 + $element: $scope
7875 + });
2288 7876 };
2289 7877
7878 +exports.default = _default;
2290 7879
2291 7880 /***/ }),
7881 +/* 805 */
7882 +/***/ (function(module, exports, __webpack_require__) {
2292 7883
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__) => {
7884 +"use strict";
2298 7885
2299 7886
2300 -var toString = __webpack_require__(/*! ../internals/to-string */ "../node_modules/core-js/internals/to-string.js");
7887 +var _interopRequireDefault = __webpack_require__(0);
2301 7888
2302 -module.exports = function (argument, $default) {
2303 - return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);
7889 +var _Object$defineProperty = __webpack_require__(1);
7890 +
7891 +_Object$defineProperty(exports, "__esModule", {
7892 + value: true
7893 +});
7894 +
7895 +exports.default = void 0;
7896 +
7897 +var _backgroundSlideshow = _interopRequireDefault(__webpack_require__(701));
7898 +
7899 +var _backgroundVideo = _interopRequireDefault(__webpack_require__(806));
7900 +
7901 +var _handlesPosition = _interopRequireDefault(__webpack_require__(807));
7902 +
7903 +var _stretchedSection = _interopRequireDefault(__webpack_require__(808));
7904 +
7905 +var _shapes = _interopRequireDefault(__webpack_require__(809));
7906 +
7907 +var _default = function _default($scope) {
7908 + if (elementorFrontend.isEditMode() || $scope.hasClass('elementor-section-stretched')) {
7909 + elementorFrontend.elementsHandler.addHandler(_stretchedSection.default, {
7910 + $element: $scope
7911 + });
7912 + }
7913 +
7914 + if (elementorFrontend.isEditMode()) {
7915 + elementorFrontend.elementsHandler.addHandler(_shapes.default, {
7916 + $element: $scope
7917 + });
7918 + elementorFrontend.elementsHandler.addHandler(_handlesPosition.default, {
7919 + $element: $scope
7920 + });
7921 + }
7922 +
7923 + elementorFrontend.elementsHandler.addHandler(_backgroundVideo.default, {
7924 + $element: $scope
7925 + });
7926 + elementorFrontend.elementsHandler.addHandler(_backgroundSlideshow.default, {
7927 + $element: $scope
7928 + });
2304 7929 };
2305 7930
7931 +exports.default = _default;
2306 7932
2307 7933 /***/ }),
7934 +/* 806 */
7935 +/***/ (function(module, exports, __webpack_require__) {
2308 7936
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__) => {
7937 +"use strict";
2314 7938
2315 7939
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");
7940 +var _interopRequireDefault = __webpack_require__(0);
2321 7941
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);
7942 +var _Object$defineProperty = __webpack_require__(1);
2344 7943
7944 +_Object$defineProperty(exports, "__esModule", {
7945 + value: true
7946 +});
2345 7947
7948 +exports.default = void 0;
7949 +
7950 +__webpack_require__(119);
7951 +
7952 +__webpack_require__(80);
7953 +
7954 +__webpack_require__(25);
7955 +
7956 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7957 +
7958 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7959 +
7960 +var _get3 = _interopRequireDefault(__webpack_require__(26));
7961 +
7962 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
7963 +
7964 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7965 +
7966 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7967 +
7968 +var BackgroundVideo = /*#__PURE__*/function (_elementorModules$fro) {
7969 + (0, _inherits2.default)(BackgroundVideo, _elementorModules$fro);
7970 +
7971 + var _super = (0, _createSuper2.default)(BackgroundVideo);
7972 +
7973 + function BackgroundVideo() {
7974 + (0, _classCallCheck2.default)(this, BackgroundVideo);
7975 + return _super.apply(this, arguments);
7976 + }
7977 +
7978 + (0, _createClass2.default)(BackgroundVideo, [{
7979 + key: "getDefaultSettings",
7980 + value: function getDefaultSettings() {
7981 + return {
7982 + selectors: {
7983 + backgroundVideoContainer: '.elementor-background-video-container',
7984 + backgroundVideoEmbed: '.elementor-background-video-embed',
7985 + backgroundVideoHosted: '.elementor-background-video-hosted'
7986 + }
7987 + };
7988 + }
7989 + }, {
7990 + key: "getDefaultElements",
7991 + value: function getDefaultElements() {
7992 + var selectors = this.getSettings('selectors'),
7993 + elements = {
7994 + $backgroundVideoContainer: this.$element.find(selectors.backgroundVideoContainer)
7995 + };
7996 + elements.$backgroundVideoEmbed = elements.$backgroundVideoContainer.children(selectors.backgroundVideoEmbed);
7997 + elements.$backgroundVideoHosted = elements.$backgroundVideoContainer.children(selectors.backgroundVideoHosted);
7998 + return elements;
7999 + }
8000 + }, {
8001 + key: "calcVideosSize",
8002 + value: function calcVideosSize($video) {
8003 + var aspectRatioSetting = '16:9';
8004 +
8005 + if ('vimeo' === this.videoType) {
8006 + aspectRatioSetting = $video[0].width + ':' + $video[0].height;
8007 + }
8008 +
8009 + var containerWidth = this.elements.$backgroundVideoContainer.outerWidth(),
8010 + containerHeight = this.elements.$backgroundVideoContainer.outerHeight(),
8011 + aspectRatioArray = aspectRatioSetting.split(':'),
8012 + aspectRatio = aspectRatioArray[0] / aspectRatioArray[1],
8013 + ratioWidth = containerWidth / aspectRatio,
8014 + ratioHeight = containerHeight * aspectRatio,
8015 + isWidthFixed = containerWidth / containerHeight > aspectRatio;
8016 + return {
8017 + width: isWidthFixed ? containerWidth : ratioHeight,
8018 + height: isWidthFixed ? ratioWidth : containerHeight
8019 + };
8020 + }
8021 + }, {
8022 + key: "changeVideoSize",
8023 + value: function changeVideoSize() {
8024 + if (!('hosted' === this.videoType) && !this.player) {
8025 + return;
8026 + }
8027 +
8028 + var $video;
8029 +
8030 + if ('youtube' === this.videoType) {
8031 + $video = jQuery(this.player.getIframe());
8032 + } else if ('vimeo' === this.videoType) {
8033 + $video = jQuery(this.player.element);
8034 + } else if ('hosted' === this.videoType) {
8035 + $video = this.elements.$backgroundVideoHosted;
8036 + }
8037 +
8038 + if (!$video) {
8039 + return;
8040 + }
8041 +
8042 + var size = this.calcVideosSize($video);
8043 + $video.width(size.width).height(size.height);
8044 + }
8045 + }, {
8046 + key: "startVideoLoop",
8047 + value: function startVideoLoop(firstTime) {
8048 + var _this = this;
8049 +
8050 + // If the section has been removed
8051 + if (!this.player.getIframe().contentWindow) {
8052 + return;
8053 + }
8054 +
8055 + var elementSettings = this.getElementSettings(),
8056 + startPoint = elementSettings.background_video_start || 0,
8057 + endPoint = elementSettings.background_video_end;
8058 +
8059 + if (elementSettings.background_play_once && !firstTime) {
8060 + this.player.stopVideo();
8061 + return;
8062 + }
8063 +
8064 + this.player.seekTo(startPoint);
8065 +
8066 + if (endPoint) {
8067 + var durationToEnd = endPoint - startPoint + 1;
8068 + setTimeout(function () {
8069 + _this.startVideoLoop(false);
8070 + }, durationToEnd * 1000);
8071 + }
8072 + }
8073 + }, {
8074 + key: "prepareVimeoVideo",
8075 + value: function prepareVimeoVideo(Vimeo, videoId) {
8076 + var _this2 = this;
8077 +
8078 + var elementSettings = this.getElementSettings(),
8079 + startTime = elementSettings.background_video_start ? elementSettings.background_video_start : 0,
8080 + videoSize = this.elements.$backgroundVideoContainer.outerWidth(),
8081 + vimeoOptions = {
8082 + id: videoId,
8083 + width: videoSize.width,
8084 + autoplay: true,
8085 + loop: !elementSettings.background_play_once,
8086 + transparent: false,
8087 + background: true,
8088 + muted: true
8089 + };
8090 + this.player = new Vimeo.Player(this.elements.$backgroundVideoContainer, vimeoOptions); // Handle user-defined start/end times
8091 +
8092 + this.handleVimeoStartEndTimes(elementSettings);
8093 + this.player.ready().then(function () {
8094 + jQuery(_this2.player.element).addClass('elementor-background-video-embed');
8095 +
8096 + _this2.changeVideoSize();
8097 + });
8098 + }
8099 + }, {
8100 + key: "handleVimeoStartEndTimes",
8101 + value: function handleVimeoStartEndTimes(elementSettings) {
8102 + var _this3 = this;
8103 +
8104 + // If a start time is defined, set the start time
8105 + if (elementSettings.background_video_start) {
8106 + this.player.on('play', function (data) {
8107 + if (0 === data.seconds) {
8108 + _this3.player.setCurrentTime(elementSettings.background_video_start);
8109 + }
8110 + });
8111 + }
8112 +
8113 + this.player.on('timeupdate', function (data) {
8114 + // If an end time is defined, handle ending the video
8115 + if (elementSettings.background_video_end && elementSettings.background_video_end < data.seconds) {
8116 + if (elementSettings.background_play_once) {
8117 + // Stop at user-defined end time if not loop
8118 + _this3.player.pause();
8119 + } else {
8120 + // Go to start time if loop
8121 + _this3.player.setCurrentTime(elementSettings.background_video_start);
8122 + }
8123 + } // If start time is defined but an end time is not, go to user-defined start time at video end.
8124 + // Vimeo JS API has an 'ended' event, but it never fires when infinite loop is defined, so we
8125 + // get the video duration (returns a promise) then use duration-0.5s as end time
8126 +
8127 +
8128 + _this3.player.getDuration().then(function (duration) {
8129 + if (elementSettings.background_video_start && !elementSettings.background_video_end && data.seconds > duration - 0.5) {
8130 + _this3.player.setCurrentTime(elementSettings.background_video_start);
8131 + }
8132 + });
8133 + });
8134 + }
8135 + }, {
8136 + key: "prepareYTVideo",
8137 + value: function prepareYTVideo(YT, videoID) {
8138 + var _this4 = this;
8139 +
8140 + var $backgroundVideoContainer = this.elements.$backgroundVideoContainer,
8141 + elementSettings = this.getElementSettings();
8142 + var startStateCode = YT.PlayerState.PLAYING; // Since version 67, Chrome doesn't fire the `PLAYING` state at start time
8143 +
8144 + if (window.chrome) {
8145 + startStateCode = YT.PlayerState.UNSTARTED;
8146 + }
8147 +
8148 + $backgroundVideoContainer.addClass('elementor-loading elementor-invisible');
8149 + this.player = new YT.Player(this.elements.$backgroundVideoEmbed[0], {
8150 + videoId: videoID,
8151 + events: {
8152 + onReady: function onReady() {
8153 + _this4.player.mute();
8154 +
8155 + _this4.changeVideoSize();
8156 +
8157 + _this4.startVideoLoop(true);
8158 +
8159 + _this4.player.playVideo();
8160 + },
8161 + onStateChange: function onStateChange(event) {
8162 + switch (event.data) {
8163 + case startStateCode:
8164 + $backgroundVideoContainer.removeClass('elementor-invisible elementor-loading');
8165 + break;
8166 +
8167 + case YT.PlayerState.ENDED:
8168 + _this4.player.seekTo(elementSettings.background_video_start || 0);
8169 +
8170 + if (elementSettings.background_play_once) {
8171 + _this4.player.destroy();
8172 + }
8173 +
8174 + }
8175 + }
8176 + },
8177 + playerVars: {
8178 + controls: 0,
8179 + rel: 0,
8180 + playsinline: 1
8181 + }
8182 + });
8183 + }
8184 + }, {
8185 + key: "activate",
8186 + value: function activate() {
8187 + var _this5 = this;
8188 +
8189 + var videoLink = this.getElementSettings('background_video_link'),
8190 + videoID;
8191 + var playOnce = this.getElementSettings('background_play_once');
8192 +
8193 + if (-1 !== videoLink.indexOf('vimeo.com')) {
8194 + this.videoType = 'vimeo';
8195 + this.apiProvider = elementorFrontend.utils.vimeo;
8196 + } else if (videoLink.match(/^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com)/)) {
8197 + this.videoType = 'youtube';
8198 + this.apiProvider = elementorFrontend.utils.youtube;
8199 + }
8200 +
8201 + if (this.apiProvider) {
8202 + videoID = this.apiProvider.getVideoIDFromURL(videoLink);
8203 + this.apiProvider.onApiReady(function (apiObject) {
8204 + if ('youtube' === _this5.videoType) {
8205 + _this5.prepareYTVideo(apiObject, videoID);
8206 + }
8207 +
8208 + if ('vimeo' === _this5.videoType) {
8209 + _this5.prepareVimeoVideo(apiObject, videoID);
8210 + }
8211 + });
8212 + } else {
8213 + this.videoType = 'hosted';
8214 + var startTime = this.getElementSettings('background_video_start'),
8215 + endTime = this.getElementSettings('background_video_end');
8216 +
8217 + if (startTime || endTime) {
8218 + videoLink += '#t=' + (startTime || 0) + (endTime ? ',' + endTime : '');
8219 + }
8220 +
8221 + this.elements.$backgroundVideoHosted.attr('src', videoLink).one('canplay', this.changeVideoSize.bind(this));
8222 +
8223 + if (playOnce) {
8224 + this.elements.$backgroundVideoHosted.on('ended', function () {
8225 + _this5.elements.$backgroundVideoHosted.hide();
8226 + });
8227 + }
8228 + }
8229 +
8230 + elementorFrontend.elements.$window.on('resize', this.changeVideoSize);
8231 + }
8232 + }, {
8233 + key: "deactivate",
8234 + value: function deactivate() {
8235 + if ('youtube' === this.videoType && this.player.getIframe() || 'vimeo' === this.videoType) {
8236 + this.player.destroy();
8237 + } else {
8238 + this.elements.$backgroundVideoHosted.removeAttr('src').off('ended');
8239 + }
8240 +
8241 + elementorFrontend.elements.$window.off('resize', this.changeVideoSize);
8242 + }
8243 + }, {
8244 + key: "run",
8245 + value: function run() {
8246 + var elementSettings = this.getElementSettings();
8247 +
8248 + if (!elementSettings.background_play_on_mobile && 'mobile' === elementorFrontend.getCurrentDeviceMode()) {
8249 + return;
8250 + }
8251 +
8252 + if ('video' === elementSettings.background_background && elementSettings.background_video_link) {
8253 + this.activate();
8254 + } else {
8255 + this.deactivate();
8256 + }
8257 + }
8258 + }, {
8259 + key: "onInit",
8260 + value: function onInit() {
8261 + var _get2;
8262 +
8263 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
8264 + args[_key] = arguments[_key];
8265 + }
8266 +
8267 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(BackgroundVideo.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
8268 +
8269 + this.changeVideoSize = this.changeVideoSize.bind(this);
8270 + this.run();
8271 + }
8272 + }, {
8273 + key: "onElementChange",
8274 + value: function onElementChange(propertyName) {
8275 + if ('background_background' === propertyName) {
8276 + this.run();
8277 + }
8278 + }
8279 + }]);
8280 + return BackgroundVideo;
8281 +}(elementorModules.frontend.handlers.Base);
8282 +
8283 +exports.default = BackgroundVideo;
8284 +
2346 8285 /***/ }),
8286 +/* 807 */
8287 +/***/ (function(module, exports, __webpack_require__) {
2347 8288
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__) => {
8289 +"use strict";
2353 8290
2354 8291
2355 -var classof = __webpack_require__(/*! ../internals/classof */ "../node_modules/core-js/internals/classof.js");
8292 +var _interopRequireDefault = __webpack_require__(0);
2356 8293
2357 -var $String = String;
8294 +var _Object$defineProperty = __webpack_require__(1);
2358 8295
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);
8296 +_Object$defineProperty(exports, "__esModule", {
8297 + value: true
8298 +});
8299 +
8300 +exports.default = void 0;
8301 +
8302 +__webpack_require__(25);
8303 +
8304 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
8305 +
8306 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
8307 +
8308 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
8309 +
8310 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
8311 +
8312 +var HandlesPosition = /*#__PURE__*/function (_elementorModules$fro) {
8313 + (0, _inherits2.default)(HandlesPosition, _elementorModules$fro);
8314 +
8315 + var _super = (0, _createSuper2.default)(HandlesPosition);
8316 +
8317 + function HandlesPosition() {
8318 + (0, _classCallCheck2.default)(this, HandlesPosition);
8319 + return _super.apply(this, arguments);
8320 + }
8321 +
8322 + (0, _createClass2.default)(HandlesPosition, [{
8323 + key: "isFirstSection",
8324 + value: function isFirstSection() {
8325 + return this.$element.is('.elementor-edit-mode .elementor-top-section:first');
8326 + }
8327 + }, {
8328 + key: "isOverflowHidden",
8329 + value: function isOverflowHidden() {
8330 + return 'hidden' === this.$element.css('overflow');
8331 + }
8332 + }, {
8333 + key: "getOffset",
8334 + value: function getOffset() {
8335 + if ('body' === elementor.config.document.container) {
8336 + return this.$element.offset().top;
8337 + }
8338 +
8339 + var $container = jQuery(elementor.config.document.container);
8340 + return this.$element.offset().top - $container.offset().top;
8341 + }
8342 + }, {
8343 + key: "setHandlesPosition",
8344 + value: function setHandlesPosition() {
8345 + var document = elementor.documents.getCurrent();
8346 +
8347 + if (!document || !document.container.isEditable()) {
8348 + return;
8349 + }
8350 +
8351 + var isOverflowHidden = this.isOverflowHidden();
8352 +
8353 + if (!isOverflowHidden && !this.isFirstSection()) {
8354 + return;
8355 + }
8356 +
8357 + var offset = isOverflowHidden ? 0 : this.getOffset(),
8358 + $handlesElement = this.$element.find('> .elementor-element-overlay > .elementor-editor-section-settings'),
8359 + insideHandleClass = 'elementor-section--handles-inside';
8360 +
8361 + if (offset < 25) {
8362 + this.$element.addClass(insideHandleClass);
8363 +
8364 + if (offset < -5) {
8365 + $handlesElement.css('top', -offset);
8366 + } else {
8367 + $handlesElement.css('top', '');
8368 + }
8369 + } else {
8370 + this.$element.removeClass(insideHandleClass);
8371 + }
8372 + }
8373 + }, {
8374 + key: "onInit",
8375 + value: function onInit() {
8376 + this.setHandlesPosition();
8377 + this.$element.on('mouseenter', this.setHandlesPosition.bind(this));
8378 + }
8379 + }]);
8380 + return HandlesPosition;
8381 +}(elementorModules.frontend.handlers.Base);
8382 +
8383 +exports.default = HandlesPosition;
8384 +
8385 +/***/ }),
8386 +/* 808 */
8387 +/***/ (function(module, exports, __webpack_require__) {
8388 +
8389 +"use strict";
8390 +
8391 +
8392 +var _interopRequireDefault = __webpack_require__(0);
8393 +
8394 +var _Object$defineProperty = __webpack_require__(1);
8395 +
8396 +_Object$defineProperty(exports, "__esModule", {
8397 + value: true
8398 +});
8399 +
8400 +exports.default = void 0;
8401 +
8402 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
8403 +
8404 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
8405 +
8406 +var _get3 = _interopRequireDefault(__webpack_require__(26));
8407 +
8408 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
8409 +
8410 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
8411 +
8412 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
8413 +
8414 +var StretchedSection = /*#__PURE__*/function (_elementorModules$fro) {
8415 + (0, _inherits2.default)(StretchedSection, _elementorModules$fro);
8416 +
8417 + var _super = (0, _createSuper2.default)(StretchedSection);
8418 +
8419 + function StretchedSection() {
8420 + (0, _classCallCheck2.default)(this, StretchedSection);
8421 + return _super.apply(this, arguments);
8422 + }
8423 +
8424 + (0, _createClass2.default)(StretchedSection, [{
8425 + key: "bindEvents",
8426 + value: function bindEvents() {
8427 + var handlerID = this.getUniqueHandlerID();
8428 + elementorFrontend.addListenerOnce(handlerID, 'resize', this.stretch);
8429 + elementorFrontend.addListenerOnce(handlerID, 'sticky:stick', this.stretch, this.$element);
8430 + elementorFrontend.addListenerOnce(handlerID, 'sticky:unstick', this.stretch, this.$element);
8431 +
8432 + if (elementorFrontend.isEditMode()) {
8433 + this.onKitChangeStretchContainerChange = this.onKitChangeStretchContainerChange.bind(this);
8434 + elementor.channels.editor.on('kit:change:stretchContainer', this.onKitChangeStretchContainerChange);
8435 + }
8436 + }
8437 + }, {
8438 + key: "unbindEvents",
8439 + value: function unbindEvents() {
8440 + elementorFrontend.removeListeners(this.getUniqueHandlerID(), 'resize', this.stretch);
8441 +
8442 + if (elementorFrontend.isEditMode()) {
8443 + elementor.channels.editor.off('kit:change:stretchContainer', this.onKitChangeStretchContainerChange);
8444 + }
8445 + }
8446 + }, {
8447 + key: "initStretch",
8448 + value: function initStretch() {
8449 + this.stretch = this.stretch.bind(this);
8450 + this.stretchElement = new elementorModules.frontend.tools.StretchElement({
8451 + element: this.$element,
8452 + selectors: {
8453 + container: this.getStretchContainer()
8454 + }
8455 + });
8456 + }
8457 + }, {
8458 + key: "getStretchContainer",
8459 + value: function getStretchContainer() {
8460 + return elementorFrontend.getKitSettings('stretched_section_container') || window;
8461 + }
8462 + }, {
8463 + key: "stretch",
8464 + value: function stretch() {
8465 + if (!this.getElementSettings('stretch_section')) {
8466 + return;
8467 + }
8468 +
8469 + this.stretchElement.stretch();
8470 + }
8471 + }, {
8472 + key: "onInit",
8473 + value: function onInit() {
8474 + var _get2;
8475 +
8476 + this.initStretch();
8477 +
8478 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
8479 + args[_key] = arguments[_key];
8480 + }
8481 +
8482 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(StretchedSection.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
8483 +
8484 + this.stretch();
8485 + }
8486 + }, {
8487 + key: "onElementChange",
8488 + value: function onElementChange(propertyName) {
8489 + if ('stretch_section' === propertyName) {
8490 + if (this.getElementSettings('stretch_section')) {
8491 + this.stretch();
8492 + } else {
8493 + this.stretchElement.reset();
8494 + }
8495 + }
8496 + }
8497 + }, {
8498 + key: "onKitChangeStretchContainerChange",
8499 + value: function onKitChangeStretchContainerChange() {
8500 + this.stretchElement.setSettings('selectors.container', this.getStretchContainer());
8501 + this.stretch();
8502 + }
8503 + }]);
8504 + return StretchedSection;
8505 +}(elementorModules.frontend.handlers.Base);
8506 +
8507 +exports.default = StretchedSection;
8508 +
8509 +/***/ }),
8510 +/* 809 */
8511 +/***/ (function(module, exports, __webpack_require__) {
8512 +
8513 +"use strict";
8514 +
8515 +
8516 +var _interopRequireDefault = __webpack_require__(0);
8517 +
8518 +var _Object$defineProperty = __webpack_require__(1);
8519 +
8520 +_Object$defineProperty(exports, "__esModule", {
8521 + value: true
8522 +});
8523 +
8524 +exports.default = void 0;
8525 +
8526 +__webpack_require__(119);
8527 +
8528 +__webpack_require__(58);
8529 +
8530 +__webpack_require__(25);
8531 +
8532 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
8533 +
8534 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
8535 +
8536 +var _get3 = _interopRequireDefault(__webpack_require__(26));
8537 +
8538 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
8539 +
8540 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
8541 +
8542 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
8543 +
8544 +var Shapes = /*#__PURE__*/function (_elementorModules$fro) {
8545 + (0, _inherits2.default)(Shapes, _elementorModules$fro);
8546 +
8547 + var _super = (0, _createSuper2.default)(Shapes);
8548 +
8549 + function Shapes() {
8550 + (0, _classCallCheck2.default)(this, Shapes);
8551 + return _super.apply(this, arguments);
8552 + }
8553 +
8554 + (0, _createClass2.default)(Shapes, [{
8555 + key: "getDefaultSettings",
8556 + value: function getDefaultSettings() {
8557 + return {
8558 + selectors: {
8559 + container: '> .elementor-shape-%s'
8560 + },
8561 + svgURL: elementorFrontend.config.urls.assets + 'shapes/'
8562 + };
8563 + }
8564 + }, {
8565 + key: "getDefaultElements",
8566 + value: function getDefaultElements() {
8567 + var elements = {},
8568 + selectors = this.getSettings('selectors');
8569 + elements.$topContainer = this.$element.find(selectors.container.replace('%s', 'top'));
8570 + elements.$bottomContainer = this.$element.find(selectors.container.replace('%s', 'bottom'));
8571 + return elements;
8572 + }
8573 + }, {
8574 + key: "getSvgURL",
8575 + value: function getSvgURL(shapeType, fileName) {
8576 + var svgURL = this.getSettings('svgURL') + fileName + '.svg';
8577 +
8578 + if (elementor.config.additional_shapes && shapeType in elementor.config.additional_shapes) {
8579 + svgURL = elementor.config.additional_shapes[shapeType];
8580 +
8581 + if (-1 < fileName.indexOf('-negative')) {
8582 + svgURL = svgURL.replace('.svg', '-negative.svg');
8583 + }
8584 + }
8585 +
8586 + return svgURL;
8587 + }
8588 + }, {
8589 + key: "buildSVG",
8590 + value: function buildSVG(side) {
8591 + var baseSettingKey = 'shape_divider_' + side,
8592 + shapeType = this.getElementSettings(baseSettingKey),
8593 + $svgContainer = this.elements['$' + side + 'Container'];
8594 + $svgContainer.attr('data-shape', shapeType);
8595 +
8596 + if (!shapeType) {
8597 + $svgContainer.empty(); // Shape-divider set to 'none'
8598 +
8599 + return;
8600 + }
8601 +
8602 + var fileName = shapeType;
8603 +
8604 + if (this.getElementSettings(baseSettingKey + '_negative')) {
8605 + fileName += '-negative';
8606 + }
8607 +
8608 + var svgURL = this.getSvgURL(shapeType, fileName);
8609 + jQuery.get(svgURL, function (data) {
8610 + $svgContainer.empty().append(data.childNodes[0]);
8611 + });
8612 + this.setNegative(side);
8613 + }
8614 + }, {
8615 + key: "setNegative",
8616 + value: function setNegative(side) {
8617 + this.elements['$' + side + 'Container'].attr('data-negative', !!this.getElementSettings('shape_divider_' + side + '_negative'));
8618 + }
8619 + }, {
8620 + key: "onInit",
8621 + value: function onInit() {
8622 + var _get2,
8623 + _this = this;
8624 +
8625 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
8626 + args[_key] = arguments[_key];
8627 + }
8628 +
8629 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(Shapes.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
8630 +
8631 + ['top', 'bottom'].forEach(function (side) {
8632 + if (_this.getElementSettings('shape_divider_' + side)) {
8633 + _this.buildSVG(side);
8634 + }
8635 + });
8636 + }
8637 + }, {
8638 + key: "onElementChange",
8639 + value: function onElementChange(propertyName) {
8640 + var shapeChange = propertyName.match(/^shape_divider_(top|bottom)$/);
8641 +
8642 + if (shapeChange) {
8643 + this.buildSVG(shapeChange[1]);
8644 + return;
8645 + }
8646 +
8647 + var negativeChange = propertyName.match(/^shape_divider_(top|bottom)_negative$/);
8648 +
8649 + if (negativeChange) {
8650 + this.buildSVG(negativeChange[1]);
8651 + this.setNegative(negativeChange[1]);
8652 + }
8653 + }
8654 + }]);
8655 + return Shapes;
8656 +}(elementorModules.frontend.handlers.Base);
8657 +
8658 +exports.default = Shapes;
8659 +
8660 +/***/ }),
8661 +/* 810 */
8662 +/***/ (function(module, exports, __webpack_require__) {
8663 +
8664 +"use strict";
8665 +
8666 +
8667 +var _interopRequireDefault = __webpack_require__(0);
8668 +
8669 +var _Object$defineProperty = __webpack_require__(1);
8670 +
8671 +_Object$defineProperty(exports, "__esModule", {
8672 + value: true
8673 +});
8674 +
8675 +exports.default = void 0;
8676 +
8677 +var _backgroundSlideshow = _interopRequireDefault(__webpack_require__(701));
8678 +
8679 +var _default = function _default($scope) {
8680 + elementorFrontend.elementsHandler.addHandler(_backgroundSlideshow.default, {
8681 + $element: $scope
8682 + });
2362 8683 };
2363 8684
8685 +exports.default = _default;
2364 8686
2365 8687 /***/ }),
8688 +/* 811 */
8689 +/***/ (function(module, exports, __webpack_require__) {
2366 8690
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__) => {
8691 +"use strict";
2372 8692
2373 8693
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");
8694 +var _interopRequireDefault = __webpack_require__(0);
2387 8695
2388 -var DOM_EXCEPTION = 'DOMException';
2389 -var Error = getBuiltIn('Error');
2390 -var NativeDOMException = getBuiltIn(DOM_EXCEPTION);
8696 +var _Object$defineProperty = __webpack_require__(1);
2391 8697
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;
8698 +_Object$defineProperty(exports, "__esModule", {
8699 + value: true
8700 +});
8701 +
8702 +exports.default = void 0;
8703 +
8704 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
8705 +
8706 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
8707 +
8708 +var _get3 = _interopRequireDefault(__webpack_require__(26));
8709 +
8710 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
8711 +
8712 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
8713 +
8714 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
8715 +
8716 +var GlobalHandler = /*#__PURE__*/function (_elementorModules$fro) {
8717 + (0, _inherits2.default)(GlobalHandler, _elementorModules$fro);
8718 +
8719 + var _super = (0, _createSuper2.default)(GlobalHandler);
8720 +
8721 + function GlobalHandler() {
8722 + (0, _classCallCheck2.default)(this, GlobalHandler);
8723 + return _super.apply(this, arguments);
8724 + }
8725 +
8726 + (0, _createClass2.default)(GlobalHandler, [{
8727 + key: "getWidgetType",
8728 + value: function getWidgetType() {
8729 + return 'global';
8730 + }
8731 + }, {
8732 + key: "animate",
8733 + value: function animate() {
8734 + var $element = this.$element,
8735 + animation = this.getAnimation();
8736 +
8737 + if ('none' === animation) {
8738 + $element.removeClass('elementor-invisible');
8739 + return;
8740 + }
8741 +
8742 + var elementSettings = this.getElementSettings(),
8743 + animationDelay = elementSettings._animation_delay || elementSettings.animation_delay || 0;
8744 + $element.removeClass(animation);
8745 +
8746 + if (this.currentAnimation) {
8747 + $element.removeClass(this.currentAnimation);
8748 + }
8749 +
8750 + this.currentAnimation = animation;
8751 + setTimeout(function () {
8752 + $element.removeClass('elementor-invisible').addClass('animated ' + animation);
8753 + }, animationDelay);
8754 + }
8755 + }, {
8756 + key: "getAnimation",
8757 + value: function getAnimation() {
8758 + return this.getCurrentDeviceSetting('animation') || this.getCurrentDeviceSetting('_animation');
8759 + }
8760 + }, {
8761 + key: "onInit",
8762 + value: function onInit() {
8763 + var _get2,
8764 + _this = this;
8765 +
8766 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
8767 + args[_key] = arguments[_key];
8768 + }
8769 +
8770 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(GlobalHandler.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
8771 +
8772 + if (this.getAnimation()) {
8773 + elementorFrontend.waypoint(this.$element, function () {
8774 + return _this.animate();
8775 + });
8776 + }
8777 + }
8778 + }, {
8779 + key: "onElementChange",
8780 + value: function onElementChange(propertyName) {
8781 + if (/^_?animation/.test(propertyName)) {
8782 + this.animate();
8783 + }
8784 + }
8785 + }]);
8786 + return GlobalHandler;
8787 +}(elementorModules.frontend.handlers.Base);
8788 +
8789 +var _default = function _default($scope) {
8790 + elementorFrontend.elementsHandler.addHandler(GlobalHandler, {
8791 + $element: $scope
8792 + });
2403 8793 };
2404 8794
2405 -var DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype;
8795 +exports.default = _default;
2406 8796
2407 -var ERROR_HAS_STACK = 'stack' in new Error(DOM_EXCEPTION);
2408 -var DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2);
8797 +/***/ }),
8798 +/* 812 */
8799 +/***/ (function(module, exports, __webpack_require__) {
2409 8800
2410 -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2411 -var descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(globalThis, DOM_EXCEPTION);
8801 +"use strict";
2412 8802
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 8803
2417 -var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK;
8804 +module.exports = elementorModules.ViewModule.extend({
8805 + getDefaultSettings: function getDefaultSettings() {
8806 + return {
8807 + scrollDuration: 500,
8808 + selectors: {
8809 + links: 'a[href*="#"]',
8810 + targets: '.elementor-element, .elementor-menu-anchor',
8811 + scrollable: 'html, body'
8812 + }
8813 + };
8814 + },
8815 + getDefaultElements: function getDefaultElements() {
8816 + var $ = jQuery,
8817 + selectors = this.getSettings('selectors');
8818 + return {
8819 + $scrollable: $(selectors.scrollable)
8820 + };
8821 + },
8822 + bindEvents: function bindEvents() {
8823 + elementorFrontend.elements.$document.on('click', this.getSettings('selectors.links'), this.handleAnchorLinks);
8824 + },
8825 + handleAnchorLinks: function handleAnchorLinks(event) {
8826 + var clickedLink = event.currentTarget,
8827 + isSamePathname = location.pathname === clickedLink.pathname,
8828 + isSameHostname = location.hostname === clickedLink.hostname,
8829 + $anchor;
2418 8830
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
8831 + if (!isSameHostname || !isSamePathname || clickedLink.hash.length < 2) {
8832 + return;
8833 + }
8834 +
8835 + try {
8836 + $anchor = jQuery(clickedLink.hash).filter(this.getSettings('selectors.targets'));
8837 + } catch (e) {
8838 + return;
8839 + }
8840 +
8841 + if (!$anchor.length) {
8842 + return;
8843 + }
8844 +
8845 + var scrollTop = $anchor.offset().top,
8846 + $wpAdminBar = elementorFrontend.elements.$wpAdminBar,
8847 + $activeStickies = jQuery('.elementor-section.elementor-sticky--active:visible'),
8848 + maxStickyHeight = 0;
8849 +
8850 + if ($wpAdminBar.length > 0) {
8851 + scrollTop -= $wpAdminBar.height();
8852 + } // Offset height of tallest sticky
8853 +
8854 +
8855 + if ($activeStickies.length > 0) {
8856 + maxStickyHeight = Math.max.apply(null, $activeStickies.map(function () {
8857 + return jQuery(this).outerHeight();
8858 + }).get());
8859 + scrollTop -= maxStickyHeight;
8860 + }
8861 +
8862 + event.preventDefault();
8863 + scrollTop = elementorFrontend.hooks.applyFilters('frontend/handlers/menu_anchor/scroll_top_distance', scrollTop);
8864 + this.elements.$scrollable.animate({
8865 + scrollTop: scrollTop
8866 + }, this.getSettings('scrollDuration'), 'linear');
8867 + },
8868 + onInit: function onInit() {
8869 + elementorModules.ViewModule.prototype.onInit.apply(this, arguments);
8870 + this.bindEvents();
8871 + }
2423 8872 });
2424 8873
2425 -var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION);
2426 -var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype;
8874 +/***/ }),
8875 +/* 813 */
8876 +/***/ (function(module, exports, __webpack_require__) {
2427 8877
2428 -if (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) {
2429 - if (!IS_PURE) {
2430 - defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException));
8878 +"use strict";
8879 +
8880 +
8881 +var _interopRequireDefault = __webpack_require__(0);
8882 +
8883 +__webpack_require__(119);
8884 +
8885 +__webpack_require__(25);
8886 +
8887 +__webpack_require__(58);
8888 +
8889 +var _screenfull = _interopRequireDefault(__webpack_require__(814));
8890 +
8891 +module.exports = elementorModules.ViewModule.extend({
8892 + oldAspectRatio: null,
8893 + oldAnimation: null,
8894 + swiper: null,
8895 + player: null,
8896 + getDefaultSettings: function getDefaultSettings() {
8897 + return {
8898 + classes: {
8899 + aspectRatio: 'elementor-aspect-ratio-%s',
8900 + item: 'elementor-lightbox-item',
8901 + image: 'elementor-lightbox-image',
8902 + videoContainer: 'elementor-video-container',
8903 + videoWrapper: 'elementor-fit-aspect-ratio',
8904 + playButton: 'elementor-custom-embed-play',
8905 + playButtonIcon: 'fa',
8906 + playing: 'elementor-playing',
8907 + hidden: 'elementor-hidden',
8908 + invisible: 'elementor-invisible',
8909 + preventClose: 'elementor-lightbox-prevent-close',
8910 + slideshow: {
8911 + container: 'swiper-container',
8912 + slidesWrapper: 'swiper-wrapper',
8913 + prevButton: 'elementor-swiper-button elementor-swiper-button-prev',
8914 + nextButton: 'elementor-swiper-button elementor-swiper-button-next',
8915 + prevButtonIcon: 'eicon-chevron-left',
8916 + nextButtonIcon: 'eicon-chevron-right',
8917 + slide: 'swiper-slide',
8918 + header: 'elementor-slideshow__header',
8919 + footer: 'elementor-slideshow__footer',
8920 + title: 'elementor-slideshow__title',
8921 + description: 'elementor-slideshow__description',
8922 + counter: 'elementor-slideshow__counter',
8923 + iconExpand: 'eicon-frame-expand',
8924 + iconShrink: 'eicon-frame-minimize',
8925 + iconZoomIn: 'eicon-zoom-in-bold',
8926 + iconZoomOut: 'eicon-zoom-out-bold',
8927 + iconShare: 'eicon-share-arrow',
8928 + shareMenu: 'elementor-slideshow__share-menu',
8929 + shareLinks: 'elementor-slideshow__share-links',
8930 + hideUiVisibility: 'elementor-slideshow--ui-hidden',
8931 + shareMode: 'elementor-slideshow--share-mode',
8932 + fullscreenMode: 'elementor-slideshow--fullscreen-mode',
8933 + zoomMode: 'elementor-slideshow--zoom-mode'
8934 + }
8935 + },
8936 + selectors: {
8937 + image: '.elementor-lightbox-image',
8938 + links: 'a, [data-elementor-lightbox]',
8939 + slideshow: {
8940 + activeSlide: '.swiper-slide-active',
8941 + prevSlide: '.swiper-slide-prev',
8942 + nextSlide: '.swiper-slide-next'
8943 + }
8944 + },
8945 + modalOptions: {
8946 + id: 'elementor-lightbox',
8947 + entranceAnimation: 'zoomIn',
8948 + videoAspectRatio: 169,
8949 + position: {
8950 + enable: false
8951 + }
8952 + }
8953 + };
8954 + },
8955 + getModal: function getModal() {
8956 + if (!module.exports.modal) {
8957 + this.initModal();
8958 + }
8959 +
8960 + return module.exports.modal;
8961 + },
8962 + initModal: function initModal() {
8963 + var modal = module.exports.modal = elementorFrontend.getDialogsManager().createWidget('lightbox', {
8964 + className: 'elementor-lightbox',
8965 + closeButton: true,
8966 + closeButtonOptions: {
8967 + iconClass: 'eicon-close',
8968 + attributes: {
8969 + tabindex: 0,
8970 + role: 'button',
8971 + 'aria-label': elementorFrontend.config.i18n.close + ' (Esc)'
8972 + }
8973 + },
8974 + selectors: {
8975 + preventClose: '.' + this.getSettings('classes.preventClose')
8976 + },
8977 + hide: {
8978 + onClick: true
8979 + }
8980 + });
8981 + modal.on('hide', function () {
8982 + modal.setMessage('');
8983 + });
8984 + },
8985 + showModal: function showModal(options) {
8986 + this.elements.$closeButton = this.getModal().getElements('closeButton');
8987 + this.$buttons = this.elements.$closeButton;
8988 + this.focusedButton = null;
8989 + var self = this,
8990 + defaultOptions = self.getDefaultSettings().modalOptions;
8991 + self.id = options.id;
8992 + self.setSettings('modalOptions', jQuery.extend(defaultOptions, options.modalOptions));
8993 + var modal = self.getModal();
8994 + modal.setID(self.getSettings('modalOptions.id'));
8995 +
8996 + modal.onShow = function () {
8997 + DialogsManager.getWidgetType('lightbox').prototype.onShow.apply(modal, arguments);
8998 + self.setEntranceAnimation();
8999 + };
9000 +
9001 + modal.onHide = function () {
9002 + DialogsManager.getWidgetType('lightbox').prototype.onHide.apply(modal, arguments);
9003 + modal.getElements('message').removeClass('animated');
9004 +
9005 + if (_screenfull.default.isFullscreen) {
9006 + self.deactivateFullscreen();
9007 + }
9008 +
9009 + self.unbindHotKeys();
9010 + };
9011 +
9012 + switch (options.type) {
9013 + case 'video':
9014 + self.setVideoContent(options);
9015 + break;
9016 +
9017 + case 'image':
9018 + var slides = [{
9019 + image: options.url,
9020 + index: 0,
9021 + title: options.title,
9022 + description: options.description
9023 + }];
9024 + options.slideshow = {
9025 + slides: slides,
9026 + swiper: {
9027 + loop: false,
9028 + pagination: false
9029 + }
9030 + };
9031 +
9032 + case 'slideshow':
9033 + self.setSlideshowContent(options.slideshow);
9034 + break;
9035 +
9036 + default:
9037 + self.setHTMLContent(options.html);
9038 + }
9039 +
9040 + modal.show();
9041 + },
9042 + setHTMLContent: function setHTMLContent(html) {
9043 + this.getModal().setMessage(html);
9044 + },
9045 + setVideoContent: function setVideoContent(options) {
9046 + var $ = jQuery,
9047 + classes = this.getSettings('classes'),
9048 + $videoContainer = $('<div>', {
9049 + class: "".concat(classes.videoContainer, " ").concat(classes.preventClose)
9050 + }),
9051 + $videoWrapper = $('<div>', {
9052 + class: classes.videoWrapper
9053 + }),
9054 + modal = this.getModal();
9055 + var $videoElement;
9056 +
9057 + if ('hosted' === options.videoType) {
9058 + var videoParams = $.extend({
9059 + src: options.url,
9060 + autoplay: ''
9061 + }, options.videoParams);
9062 + $videoElement = $('<video>', videoParams);
9063 + } else {
9064 + var videoURL = options.url.replace('&autoplay=0', '') + '&autoplay=1';
9065 + $videoElement = $('<iframe>', {
9066 + src: videoURL,
9067 + allowfullscreen: 1
9068 + });
9069 + }
9070 +
9071 + $videoContainer.append($videoWrapper);
9072 + $videoWrapper.append($videoElement);
9073 + modal.setMessage($videoContainer);
9074 + this.setVideoAspectRatio();
9075 + var onHideMethod = modal.onHide;
9076 +
9077 + modal.onHide = function () {
9078 + onHideMethod();
9079 + this.$buttons = jQuery();
9080 + this.focusedButton = null;
9081 + modal.getElements('message').removeClass('elementor-fit-aspect-ratio');
9082 + };
9083 + },
9084 + getShareLinks: function getShareLinks() {
9085 + var _this = this;
9086 +
9087 + var i18n = elementorFrontend.config.i18n,
9088 + socialNetworks = {
9089 + facebook: i18n.shareOnFacebook,
9090 + twitter: i18n.shareOnTwitter,
9091 + pinterest: i18n.pinIt
9092 + },
9093 + $ = jQuery,
9094 + classes = this.getSettings('classes'),
9095 + selectors = this.getSettings('selectors'),
9096 + $linkList = $('<div>', {
9097 + class: classes.slideshow.shareLinks
9098 + }),
9099 + $activeSlide = this.getSlide('active'),
9100 + $image = $activeSlide.find(selectors.image),
9101 + videoUrl = $activeSlide.data('elementor-slideshow-video');
9102 + var itemUrl;
9103 +
9104 + if (videoUrl) {
9105 + itemUrl = videoUrl;
9106 + } else {
9107 + itemUrl = $image.attr('src');
9108 + }
9109 +
9110 + $.each(socialNetworks, function (key, networkLabel) {
9111 + var $link = $('<a>', {
9112 + href: _this.createShareLink(key, itemUrl),
9113 + target: '_blank'
9114 + }).text(networkLabel);
9115 + $link.prepend($('<i>', {
9116 + class: 'eicon-' + key
9117 + }));
9118 + $linkList.append($link);
9119 + });
9120 +
9121 + if (!videoUrl) {
9122 + $linkList.append($('<a>', {
9123 + href: itemUrl,
9124 + download: ''
9125 + }).text(i18n.downloadImage).prepend($('<i>', {
9126 + class: 'eicon-download-bold',
9127 + 'aria-label': i18n.download
9128 + })));
9129 + }
9130 +
9131 + return $linkList;
9132 + },
9133 + createShareLink: function createShareLink(networkName, itemUrl) {
9134 + var options = {};
9135 +
9136 + if ('pinterest' === networkName) {
9137 + options.image = encodeURIComponent(itemUrl);
9138 + } else {
9139 + var hash = elementorFrontend.utils.urlActions.createActionHash('lightbox', {
9140 + id: this.id,
9141 + url: itemUrl
9142 + });
9143 + options.url = encodeURIComponent(location.href.replace(/#.*/, '')) + hash;
9144 + }
9145 +
9146 + return ShareLink.getNetworkLink(networkName, options);
9147 + },
9148 + getSlideshowHeader: function getSlideshowHeader() {
9149 + var i18n = elementorFrontend.config.i18n,
9150 + $ = jQuery,
9151 + showCounter = 'yes' === elementorFrontend.getKitSettings('lightbox_enable_counter'),
9152 + showFullscreen = 'yes' === elementorFrontend.getKitSettings('lightbox_enable_fullscreen'),
9153 + showZoom = 'yes' === elementorFrontend.getKitSettings('lightbox_enable_zoom'),
9154 + showShare = 'yes' === elementorFrontend.getKitSettings('lightbox_enable_share'),
9155 + classes = this.getSettings('classes'),
9156 + slideshowClasses = classes.slideshow,
9157 + elements = this.elements;
9158 +
9159 + if (!(showCounter || showFullscreen || showZoom || showShare)) {
9160 + return;
9161 + }
9162 +
9163 + elements.$header = $('<header>', {
9164 + class: slideshowClasses.header + ' ' + classes.preventClose
9165 + });
9166 +
9167 + if (showShare) {
9168 + elements.$iconShare = $('<i>', {
9169 + class: slideshowClasses.iconShare,
9170 + role: 'button',
9171 + 'aria-label': i18n.share,
9172 + 'aria-expanded': false
9173 + }).append($('<span>'));
9174 + var $shareLinks = $('<div>');
9175 + $shareLinks.on('click', function (e) {
9176 + e.stopPropagation();
9177 + });
9178 + elements.$shareMenu = $('<div>', {
9179 + class: slideshowClasses.shareMenu
9180 + }).append($shareLinks);
9181 + elements.$iconShare.add(elements.$shareMenu).on('click', this.toggleShareMenu);
9182 + elements.$header.append(elements.$iconShare, elements.$shareMenu);
9183 + this.$buttons = this.$buttons.add(elements.$iconShare);
9184 + }
9185 +
9186 + if (showZoom) {
9187 + elements.$iconZoom = $('<i>', {
9188 + class: slideshowClasses.iconZoomIn,
9189 + role: 'switch',
9190 + 'aria-checked': false,
9191 + 'aria-label': i18n.zoom
9192 + });
9193 + elements.$iconZoom.on('click', this.toggleZoomMode);
9194 + elements.$header.append(elements.$iconZoom);
9195 + this.$buttons = this.$buttons.add(elements.$iconZoom);
9196 + }
9197 +
9198 + if (showFullscreen) {
9199 + elements.$iconExpand = $('<i>', {
9200 + class: slideshowClasses.iconExpand,
9201 + role: 'switch',
9202 + 'aria-checked': false,
9203 + 'aria-label': i18n.fullscreen
9204 + }).append($('<span>'), $('<span>'));
9205 + elements.$iconExpand.on('click', this.toggleFullscreen);
9206 + elements.$header.append(elements.$iconExpand);
9207 + this.$buttons = this.$buttons.add(elements.$iconExpand);
9208 + }
9209 +
9210 + if (showCounter) {
9211 + elements.$counter = $('<span>', {
9212 + class: slideshowClasses.counter
9213 + });
9214 + elements.$header.append(elements.$counter);
9215 + }
9216 +
9217 + return elements.$header;
9218 + },
9219 + toggleFullscreen: function toggleFullscreen() {
9220 + if (_screenfull.default.isFullscreen) {
9221 + this.deactivateFullscreen();
9222 + } else if (_screenfull.default.isEnabled) {
9223 + this.activateFullscreen();
9224 + }
9225 + },
9226 + toggleZoomMode: function toggleZoomMode() {
9227 + if (1 !== this.swiper.zoom.scale) {
9228 + this.deactivateZoom();
9229 + } else {
9230 + this.activateZoom();
9231 + }
9232 + },
9233 + toggleShareMenu: function toggleShareMenu() {
9234 + if (this.shareMode) {
9235 + this.deactivateShareMode();
9236 + } else {
9237 + this.elements.$shareMenu.html(this.getShareLinks());
9238 + this.activateShareMode();
9239 + }
9240 + },
9241 + activateShareMode: function activateShareMode() {
9242 + var classes = this.getSettings('classes');
9243 + this.elements.$container.addClass(classes.slideshow.shareMode);
9244 + this.elements.$iconShare.attr('aria-expanded', true); // Prevent swiper interactions while in share mode
9245 +
9246 + this.swiper.detachEvents(); // Temporarily replace tabbable buttons with share-menu items
9247 +
9248 + this.$originalButtons = this.$buttons;
9249 + this.$buttons = this.elements.$iconShare.add(this.elements.$shareMenu.find('a'));
9250 + this.shareMode = true;
9251 + },
9252 + deactivateShareMode: function deactivateShareMode() {
9253 + var classes = this.getSettings('classes');
9254 + this.elements.$container.removeClass(classes.slideshow.shareMode);
9255 + this.elements.$iconShare.attr('aria-expanded', false);
9256 + this.swiper.attachEvents();
9257 + this.$buttons = this.$originalButtons;
9258 + this.shareMode = false;
9259 + },
9260 + activateFullscreen: function activateFullscreen() {
9261 + var classes = this.getSettings('classes');
9262 +
9263 + _screenfull.default.request(this.elements.$container.parents('.dialog-widget')[0]);
9264 +
9265 + this.elements.$iconExpand.removeClass(classes.slideshow.iconExpand).addClass(classes.slideshow.iconShrink).attr('aria-checked', 'true');
9266 + this.elements.$container.addClass(classes.slideshow.fullscreenMode);
9267 + },
9268 + deactivateFullscreen: function deactivateFullscreen() {
9269 + var classes = this.getSettings('classes');
9270 +
9271 + _screenfull.default.exit();
9272 +
9273 + this.elements.$iconExpand.removeClass(classes.slideshow.iconShrink).addClass(classes.slideshow.iconExpand).attr('aria-checked', 'false');
9274 + this.elements.$container.removeClass(classes.slideshow.fullscreenMode);
9275 + },
9276 + activateZoom: function activateZoom() {
9277 + var swiper = this.swiper,
9278 + elements = this.elements,
9279 + classes = this.getSettings('classes');
9280 + swiper.zoom.in();
9281 + swiper.allowSlideNext = false;
9282 + swiper.allowSlidePrev = false;
9283 + swiper.allowTouchMove = false;
9284 + elements.$container.addClass(classes.slideshow.zoomMode);
9285 + elements.$iconZoom.removeClass(classes.slideshow.iconZoomIn).addClass(classes.slideshow.iconZoomOut);
9286 + },
9287 + deactivateZoom: function deactivateZoom() {
9288 + var swiper = this.swiper,
9289 + elements = this.elements,
9290 + classes = this.getSettings('classes');
9291 + swiper.zoom.out();
9292 + swiper.allowSlideNext = true;
9293 + swiper.allowSlidePrev = true;
9294 + swiper.allowTouchMove = true;
9295 + elements.$container.removeClass(classes.slideshow.zoomMode);
9296 + elements.$iconZoom.removeClass(classes.slideshow.iconZoomOut).addClass(classes.slideshow.iconZoomIn);
9297 + },
9298 + getSlideshowFooter: function getSlideshowFooter() {
9299 + var $ = jQuery,
9300 + classes = this.getSettings('classes'),
9301 + $footer = $('<footer>', {
9302 + class: classes.slideshow.footer + ' ' + classes.preventClose
9303 + }),
9304 + $title = $('<div>', {
9305 + class: classes.slideshow.title
9306 + }),
9307 + $description = $('<div>', {
9308 + class: classes.slideshow.description
9309 + });
9310 + $footer.append($title, $description);
9311 + return $footer;
9312 + },
9313 + setSlideshowContent: function setSlideshowContent(options) {
9314 + var _this2 = this;
9315 +
9316 + var i18n = elementorFrontend.config.i18n,
9317 + $ = jQuery,
9318 + isSingleSlide = 1 === options.slides.length,
9319 + hasTitle = '' !== elementorFrontend.getKitSettings('lightbox_title_src'),
9320 + hasDescription = '' !== elementorFrontend.getKitSettings('lightbox_description_src'),
9321 + showFooter = hasTitle || hasDescription,
9322 + classes = this.getSettings('classes'),
9323 + slideshowClasses = classes.slideshow,
9324 + $container = $('<div>', {
9325 + class: slideshowClasses.container
9326 + }),
9327 + $slidesWrapper = $('<div>', {
9328 + class: slideshowClasses.slidesWrapper
9329 + });
9330 + var $prevButton, $nextButton;
9331 + options.slides.forEach(function (slide) {
9332 + var slideClass = slideshowClasses.slide + ' ' + classes.item;
9333 +
9334 + if (slide.video) {
9335 + slideClass += ' ' + classes.video;
9336 + }
9337 +
9338 + var $slide = $('<div>', {
9339 + class: slideClass
9340 + });
9341 +
9342 + if (slide.video) {
9343 + $slide.attr('data-elementor-slideshow-video', slide.video);
9344 + var $playIcon = $('<div>', {
9345 + class: classes.playButton
9346 + }).html($('<i>', {
9347 + class: classes.playButtonIcon,
9348 + 'aria-label': i18n.playVideo
9349 + }));
9350 + $slide.append($playIcon);
9351 + } else {
9352 + var $zoomContainer = $('<div>', {
9353 + class: 'swiper-zoom-container'
9354 + }),
9355 + $slidePlaceholder = $('<div class="swiper-lazy-preloader"></div>'),
9356 + imageAttributes = {
9357 + 'data-src': slide.image,
9358 + class: classes.image + ' ' + classes.preventClose + ' swiper-lazy'
9359 + };
9360 +
9361 + if (slide.title) {
9362 + imageAttributes['data-title'] = slide.title;
9363 + imageAttributes.alt = slide.title;
9364 + }
9365 +
9366 + if (slide.description) {
9367 + imageAttributes['data-description'] = slide.description;
9368 + imageAttributes.alt += ' - ' + slide.description;
9369 + }
9370 +
9371 + var $slideImage = $('<img>', imageAttributes);
9372 + $zoomContainer.append([$slideImage, $slidePlaceholder]);
9373 + $slide.append($zoomContainer);
9374 + }
9375 +
9376 + $slidesWrapper.append($slide);
9377 + });
9378 + this.elements.$container = $container;
9379 + this.elements.$header = this.getSlideshowHeader();
9380 + $container.prepend(this.elements.$header).append($slidesWrapper);
9381 +
9382 + if (!isSingleSlide) {
9383 + $prevButton = $('<div>', {
9384 + class: slideshowClasses.prevButton + ' ' + classes.preventClose,
9385 + 'aria-label': i18n.previous
9386 + }).html($('<i>', {
9387 + class: slideshowClasses.prevButtonIcon
9388 + }));
9389 + $nextButton = $('<div>', {
9390 + class: slideshowClasses.nextButton + ' ' + classes.preventClose,
9391 + 'aria-label': i18n.next
9392 + }).html($('<i>', {
9393 + class: slideshowClasses.nextButtonIcon
9394 + }));
9395 + $container.append($nextButton, $prevButton);
9396 + this.$buttons = this.$buttons.add($nextButton).add($prevButton);
9397 + }
9398 +
9399 + if (showFooter) {
9400 + this.elements.$footer = this.getSlideshowFooter();
9401 + $container.append(this.elements.$footer);
9402 + }
9403 +
9404 + this.setSettings('hideUiTimeout', '');
9405 + $container.on('click mousemove keypress', this.showLightboxUi);
9406 + var modal = this.getModal();
9407 + modal.setMessage($container);
9408 + var onShowMethod = modal.onShow;
9409 +
9410 + modal.onShow = function () {
9411 + onShowMethod();
9412 + var swiperOptions = {
9413 + pagination: {
9414 + el: '.' + slideshowClasses.counter,
9415 + type: 'fraction'
9416 + },
9417 + on: {
9418 + slideChangeTransitionEnd: _this2.onSlideChange
9419 + },
9420 + lazy: {
9421 + loadPrevNext: true
9422 + },
9423 + zoom: true,
9424 + spaceBetween: 100,
9425 + grabCursor: true,
9426 + runCallbacksOnInit: false,
9427 + loop: true,
9428 + keyboard: true,
9429 + handleElementorBreakpoints: true
9430 + };
9431 +
9432 + if (!isSingleSlide) {
9433 + swiperOptions.navigation = {
9434 + prevEl: $prevButton,
9435 + nextEl: $nextButton
9436 + };
9437 + }
9438 +
9439 + if (options.swiper) {
9440 + $.extend(swiperOptions, options.swiper);
9441 + }
9442 +
9443 + _this2.swiper = new Swiper($container, swiperOptions); // Expose the swiper instance in the frontend
9444 +
9445 + $container.data('swiper', _this2.swiper);
9446 +
9447 + _this2.setVideoAspectRatio();
9448 +
9449 + _this2.playSlideVideo();
9450 +
9451 + if (showFooter) {
9452 + _this2.updateFooterText();
9453 + }
9454 +
9455 + _this2.bindHotKeys();
9456 +
9457 + _this2.makeButtonsAccessible();
9458 + };
9459 + },
9460 + makeButtonsAccessible: function makeButtonsAccessible() {
9461 + this.$buttons.attr('tabindex', 0).on('keypress', function (event) {
9462 + var ENTER_KEY = 13,
9463 + SPACE_KEY = 32;
9464 +
9465 + if (ENTER_KEY === event.which || SPACE_KEY === event.which) {
9466 + jQuery(event.currentTarget).trigger('click');
9467 + }
9468 + });
9469 + },
9470 + showLightboxUi: function showLightboxUi() {
9471 + var _this3 = this;
9472 +
9473 + var slideshowClasses = this.getSettings('classes').slideshow;
9474 + this.elements.$container.removeClass(slideshowClasses.hideUiVisibility);
9475 + clearTimeout(this.getSettings('hideUiTimeout'));
9476 + this.setSettings('hideUiTimeout', setTimeout(function () {
9477 + if (!_this3.shareMode) {
9478 + _this3.elements.$container.addClass(slideshowClasses.hideUiVisibility);
9479 + }
9480 + }, 3500));
9481 + },
9482 + bindHotKeys: function bindHotKeys() {
9483 + this.getModal().getElements('window').on('keydown', this.activeKeyDown);
9484 + },
9485 + unbindHotKeys: function unbindHotKeys() {
9486 + this.getModal().getElements('window').off('keydown', this.activeKeyDown);
9487 + },
9488 + activeKeyDown: function activeKeyDown(event) {
9489 + this.showLightboxUi();
9490 + var TAB_KEY = 9;
9491 +
9492 + if (event.which === TAB_KEY) {
9493 + var $buttons = this.$buttons;
9494 + var focusedButton,
9495 + isFirst = false,
9496 + isLast = false;
9497 + $buttons.each(function (index) {
9498 + var item = $buttons[index];
9499 +
9500 + if (jQuery(item).is(':focus')) {
9501 + focusedButton = item;
9502 + isFirst = 0 === index;
9503 + isLast = $buttons.length - 1 === index;
9504 + return false;
9505 + }
9506 + });
9507 +
9508 + if (event.shiftKey) {
9509 + if (isFirst) {
9510 + event.preventDefault();
9511 + $buttons.last().focus();
9512 + }
9513 + } else if (isLast || !focusedButton) {
9514 + event.preventDefault();
9515 + $buttons.first().focus();
9516 + }
9517 + }
9518 + },
9519 + setVideoAspectRatio: function setVideoAspectRatio(aspectRatio) {
9520 + aspectRatio = aspectRatio || this.getSettings('modalOptions.videoAspectRatio');
9521 + var $widgetContent = this.getModal().getElements('widgetContent'),
9522 + oldAspectRatio = this.oldAspectRatio,
9523 + aspectRatioClass = this.getSettings('classes.aspectRatio');
9524 + this.oldAspectRatio = aspectRatio;
9525 +
9526 + if (oldAspectRatio) {
9527 + $widgetContent.removeClass(aspectRatioClass.replace('%s', oldAspectRatio));
9528 + }
9529 +
9530 + if (aspectRatio) {
9531 + $widgetContent.addClass(aspectRatioClass.replace('%s', aspectRatio));
9532 + }
9533 + },
9534 + getSlide: function getSlide(slideState) {
9535 + return jQuery(this.swiper.slides).filter(this.getSettings('selectors.slideshow.' + slideState + 'Slide'));
9536 + },
9537 + updateFooterText: function updateFooterText() {
9538 + if (!this.elements.$footer) {
9539 + return;
9540 + }
9541 +
9542 + var classes = this.getSettings('classes'),
9543 + $activeSlide = this.getSlide('active'),
9544 + $image = $activeSlide.find('.elementor-lightbox-image'),
9545 + titleText = $image.data('title'),
9546 + descriptionText = $image.data('description'),
9547 + $title = this.elements.$footer.find('.' + classes.slideshow.title),
9548 + $description = this.elements.$footer.find('.' + classes.slideshow.description);
9549 + $title.text(titleText || '');
9550 + $description.text(descriptionText || '');
9551 + },
9552 + playSlideVideo: function playSlideVideo() {
9553 + var _this4 = this;
9554 +
9555 + var $activeSlide = this.getSlide('active'),
9556 + videoURL = $activeSlide.data('elementor-slideshow-video');
9557 +
9558 + if (!videoURL) {
9559 + return;
9560 + }
9561 +
9562 + var classes = this.getSettings('classes'),
9563 + $videoContainer = jQuery('<div>', {
9564 + class: classes.videoContainer + ' ' + classes.invisible
9565 + }),
9566 + $videoWrapper = jQuery('<div>', {
9567 + class: classes.videoWrapper
9568 + }),
9569 + $playIcon = $activeSlide.children('.' + classes.playButton);
9570 + var videoType, apiProvider;
9571 + $videoContainer.append($videoWrapper);
9572 + $activeSlide.append($videoContainer);
9573 +
9574 + if (-1 !== videoURL.indexOf('vimeo.com')) {
9575 + videoType = 'vimeo';
9576 + apiProvider = elementorFrontend.utils.vimeo;
9577 + } else if (videoURL.match(/^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com)/)) {
9578 + videoType = 'youtube';
9579 + apiProvider = elementorFrontend.utils.youtube;
9580 + }
9581 +
9582 + var videoID = apiProvider.getVideoIDFromURL(videoURL);
9583 + apiProvider.onApiReady(function (apiObject) {
9584 + if ('youtube' === videoType) {
9585 + _this4.prepareYTVideo(apiObject, videoID, $videoContainer, $videoWrapper, $playIcon);
9586 + } else if ('vimeo' === videoType) {
9587 + _this4.prepareVimeoVideo(apiObject, videoID, $videoContainer, $videoWrapper, $playIcon);
9588 + }
9589 + });
9590 + $playIcon.addClass(classes.playing).removeClass(classes.hidden);
9591 + },
9592 + prepareYTVideo: function prepareYTVideo(YT, videoID, $videoContainer, $videoWrapper, $playIcon) {
9593 + var _this5 = this;
9594 +
9595 + var classes = this.getSettings('classes'),
9596 + $videoPlaceholderElement = jQuery('<div>');
9597 + var startStateCode = YT.PlayerState.PLAYING;
9598 + $videoWrapper.append($videoPlaceholderElement); // Since version 67, Chrome doesn't fire the `PLAYING` state at start time
9599 +
9600 + if (window.chrome) {
9601 + startStateCode = YT.PlayerState.UNSTARTED;
9602 + }
9603 +
9604 + $videoContainer.addClass('elementor-loading' + ' ' + classes.invisible);
9605 + this.player = new YT.Player($videoPlaceholderElement[0], {
9606 + videoId: videoID,
9607 + events: {
9608 + onReady: function onReady() {
9609 + $playIcon.addClass(classes.hidden);
9610 + $videoContainer.removeClass(classes.invisible);
9611 +
9612 + _this5.player.playVideo();
9613 + },
9614 + onStateChange: function onStateChange(event) {
9615 + if (event.data === startStateCode) {
9616 + $videoContainer.removeClass('elementor-loading' + ' ' + classes.invisible);
9617 + }
9618 + }
9619 + },
9620 + playerVars: {
9621 + controls: 0,
9622 + rel: 0
9623 + }
9624 + });
9625 + },
9626 + prepareVimeoVideo: function prepareVimeoVideo(Vimeo, videoId, $videoContainer, $videoWrapper, $playIcon) {
9627 + var classes = this.getSettings('classes'),
9628 + vimeoOptions = {
9629 + id: videoId,
9630 + autoplay: true,
9631 + transparent: false,
9632 + playsinline: false
9633 + };
9634 + this.player = new Vimeo.Player($videoWrapper, vimeoOptions);
9635 + this.player.ready().then(function () {
9636 + $playIcon.addClass(classes.hidden);
9637 + $videoContainer.removeClass(classes.invisible);
9638 + });
9639 + },
9640 + setEntranceAnimation: function setEntranceAnimation(animation) {
9641 + animation = animation || elementorFrontend.getCurrentDeviceSetting(this.getSettings('modalOptions'), 'entranceAnimation');
9642 + var $widgetMessage = this.getModal().getElements('message');
9643 +
9644 + if (this.oldAnimation) {
9645 + $widgetMessage.removeClass(this.oldAnimation);
9646 + }
9647 +
9648 + this.oldAnimation = animation;
9649 +
9650 + if (animation) {
9651 + $widgetMessage.addClass('animated ' + animation);
9652 + }
9653 + },
9654 + isLightboxLink: function isLightboxLink(element) {
9655 + if ('A' === element.tagName && (element.hasAttribute('download') || !/^[^?]+\.(png|jpe?g|gif|svg|webp)(\?.*)?$/i.test(element.href))) {
9656 + return false;
9657 + }
9658 +
9659 + var generalOpenInLightbox = elementorFrontend.getKitSettings('global_image_lightbox'),
9660 + currentLinkOpenInLightbox = element.dataset.elementorOpenLightbox;
9661 + return 'yes' === currentLinkOpenInLightbox || generalOpenInLightbox && 'no' !== currentLinkOpenInLightbox;
9662 + },
9663 + openSlideshow: function openSlideshow(slideshowID, initialSlideURL) {
9664 + var $allSlideshowLinks = jQuery(this.getSettings('selectors.links')).filter(function (index, element) {
9665 + var $element = jQuery(element);
9666 + return slideshowID === element.dataset.elementorLightboxSlideshow && !$element.parent('.swiper-slide-duplicate').length && !$element.parents('.slick-cloned').length;
9667 + });
9668 + var slides = [];
9669 + var initialSlideIndex = 0;
9670 + $allSlideshowLinks.each(function () {
9671 + var slideVideo = this.dataset.elementorLightboxVideo;
9672 + var slideIndex = this.dataset.elementorLightboxIndex;
9673 +
9674 + if (undefined === slideIndex) {
9675 + slideIndex = $allSlideshowLinks.index(this);
9676 + }
9677 +
9678 + if (initialSlideURL === this.href || slideVideo && initialSlideURL === slideVideo) {
9679 + initialSlideIndex = slideIndex;
9680 + }
9681 +
9682 + var slideData = {
9683 + image: this.href,
9684 + index: slideIndex,
9685 + title: this.dataset.elementorLightboxTitle,
9686 + description: this.dataset.elementorLightboxDescription
9687 + };
9688 +
9689 + if (slideVideo) {
9690 + slideData.video = slideVideo;
9691 + }
9692 +
9693 + slides.push(slideData);
9694 + });
9695 + slides.sort(function (a, b) {
9696 + return a.index - b.index;
9697 + });
9698 + this.showModal({
9699 + type: 'slideshow',
9700 + id: slideshowID,
9701 + modalOptions: {
9702 + id: 'elementor-lightbox-slideshow-' + slideshowID
9703 + },
9704 + slideshow: {
9705 + slides: slides,
9706 + swiper: {
9707 + initialSlide: +initialSlideIndex
9708 + }
9709 + }
9710 + });
9711 + },
9712 + openLink: function openLink(event) {
9713 + var element = event.currentTarget,
9714 + $target = jQuery(event.target),
9715 + editMode = elementorFrontend.isEditMode(),
9716 + isClickInsideElementor = !!$target.closest('.elementor-edit-area').length;
9717 +
9718 + if (!this.isLightboxLink(element)) {
9719 + if (editMode && isClickInsideElementor) {
9720 + event.preventDefault();
9721 + }
9722 +
9723 + return;
9724 + }
9725 +
9726 + event.preventDefault();
9727 +
9728 + if (editMode && !elementor.getPreferences('lightbox_in_editor')) {
9729 + return;
9730 + }
9731 +
9732 + var lightboxData = {};
9733 +
9734 + if (element.dataset.elementorLightbox) {
9735 + lightboxData = JSON.parse(element.dataset.elementorLightbox);
9736 + }
9737 +
9738 + if (lightboxData.type && 'slideshow' !== lightboxData.type) {
9739 + this.showModal(lightboxData);
9740 + return;
9741 + }
9742 +
9743 + if (!element.dataset.elementorLightboxSlideshow) {
9744 + var slideshowID = 'single-img';
9745 + this.showModal({
9746 + type: 'image',
9747 + id: slideshowID,
9748 + url: element.href,
9749 + title: element.dataset.elementorLightboxTitle,
9750 + description: element.dataset.elementorLightboxDescription,
9751 + modalOptions: {
9752 + id: 'elementor-lightbox-slideshow-' + slideshowID
9753 + }
9754 + });
9755 + return;
9756 + }
9757 +
9758 + var initialSlideURL = element.dataset.elementorLightboxVideo ? element.dataset.elementorLightboxVideo : element.href;
9759 + this.openSlideshow(element.dataset.elementorLightboxSlideshow, initialSlideURL);
9760 + },
9761 + bindEvents: function bindEvents() {
9762 + elementorFrontend.elements.$document.on('click', this.getSettings('selectors.links'), this.openLink);
9763 + },
9764 + onSlideChange: function onSlideChange() {
9765 + this.getSlide('prev').add(this.getSlide('next')).add(this.getSlide('active')).find('.' + this.getSettings('classes.videoWrapper')).remove();
9766 + this.playSlideVideo();
9767 + this.updateFooterText();
2431 9768 }
9769 +});
2432 9770
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));
9771 +/***/ }),
9772 +/* 814 */
9773 +/***/ (function(module, exports, __webpack_require__) {
9774 +
9775 +"use strict";
9776 +
9777 +
9778 +var _interopRequireDefault = __webpack_require__(0);
9779 +
9780 +var _defineProperties = _interopRequireDefault(__webpack_require__(290));
9781 +
9782 +var _promise = _interopRequireDefault(__webpack_require__(133));
9783 +
9784 +(function () {
9785 + 'use strict';
9786 +
9787 + var document = typeof window !== 'undefined' && typeof window.document !== 'undefined' ? window.document : {};
9788 + var isCommonjs = true && module.exports;
9789 +
9790 + var fn = function () {
9791 + var val;
9792 + var fnMap = [['requestFullscreen', 'exitFullscreen', 'fullscreenElement', 'fullscreenEnabled', 'fullscreenchange', 'fullscreenerror'], // New WebKit
9793 + ['webkitRequestFullscreen', 'webkitExitFullscreen', 'webkitFullscreenElement', 'webkitFullscreenEnabled', 'webkitfullscreenchange', 'webkitfullscreenerror'], // Old WebKit
9794 + ['webkitRequestFullScreen', 'webkitCancelFullScreen', 'webkitCurrentFullScreenElement', 'webkitCancelFullScreen', 'webkitfullscreenchange', 'webkitfullscreenerror'], ['mozRequestFullScreen', 'mozCancelFullScreen', 'mozFullScreenElement', 'mozFullScreenEnabled', 'mozfullscreenchange', 'mozfullscreenerror'], ['msRequestFullscreen', 'msExitFullscreen', 'msFullscreenElement', 'msFullscreenEnabled', 'MSFullscreenChange', 'MSFullscreenError']];
9795 + var i = 0;
9796 + var l = fnMap.length;
9797 + var ret = {};
9798 +
9799 + for (; i < l; i++) {
9800 + val = fnMap[i];
9801 +
9802 + if (val && val[1] in document) {
9803 + var valLength = val.length;
9804 +
9805 + for (i = 0; i < valLength; i++) {
9806 + ret[fnMap[0][i]] = val[i];
9807 + }
9808 +
9809 + return ret;
9810 + }
2438 9811 }
9812 +
9813 + return false;
9814 + }();
9815 +
9816 + var eventNameMap = {
9817 + change: fn.fullscreenchange,
9818 + error: fn.fullscreenerror
9819 + };
9820 + var screenfull = {
9821 + request: function request(element) {
9822 + return new _promise.default(function (resolve, reject) {
9823 + var onFullScreenEntered = function () {
9824 + this.off('change', onFullScreenEntered);
9825 + resolve();
9826 + }.bind(this);
9827 +
9828 + this.on('change', onFullScreenEntered);
9829 + element = element || document.documentElement;
9830 +
9831 + _promise.default.resolve(element[fn.requestFullscreen]()).catch(reject);
9832 + }.bind(this));
9833 + },
9834 + exit: function exit() {
9835 + return new _promise.default(function (resolve, reject) {
9836 + if (!this.isFullscreen) {
9837 + resolve();
9838 + return;
9839 + }
9840 +
9841 + var onFullScreenExit = function () {
9842 + this.off('change', onFullScreenExit);
9843 + resolve();
9844 + }.bind(this);
9845 +
9846 + this.on('change', onFullScreenExit);
9847 +
9848 + _promise.default.resolve(document[fn.exitFullscreen]()).catch(reject);
9849 + }.bind(this));
9850 + },
9851 + toggle: function toggle(element) {
9852 + return this.isFullscreen ? this.exit() : this.request(element);
9853 + },
9854 + onchange: function onchange(callback) {
9855 + this.on('change', callback);
9856 + },
9857 + onerror: function onerror(callback) {
9858 + this.on('error', callback);
9859 + },
9860 + on: function on(event, callback) {
9861 + var eventName = eventNameMap[event];
9862 +
9863 + if (eventName) {
9864 + document.addEventListener(eventName, callback, false);
9865 + }
9866 + },
9867 + off: function off(event, callback) {
9868 + var eventName = eventNameMap[event];
9869 +
9870 + if (eventName) {
9871 + document.removeEventListener(eventName, callback, false);
9872 + }
9873 + },
9874 + raw: fn
9875 + };
9876 +
9877 + if (!fn) {
9878 + if (isCommonjs) {
9879 + module.exports = {
9880 + isEnabled: false
9881 + };
9882 + } else {
9883 + window.screenfull = {
9884 + isEnabled: false
9885 + };
9886 + }
9887 +
9888 + return;
2439 9889 }
2440 -}
2441 9890
9891 + (0, _defineProperties.default)(screenfull, {
9892 + isFullscreen: {
9893 + get: function get() {
9894 + return Boolean(document[fn.fullscreenElement]);
9895 + }
9896 + },
9897 + element: {
9898 + enumerable: true,
9899 + get: function get() {
9900 + return document[fn.fullscreenElement];
9901 + }
9902 + },
9903 + isEnabled: {
9904 + enumerable: true,
9905 + get: function get() {
9906 + // Coerce to boolean in case of old WebKit
9907 + return Boolean(document[fn.fullscreenEnabled]);
9908 + }
9909 + }
9910 + });
2442 9911
9912 + if (isCommonjs) {
9913 + module.exports = screenfull;
9914 + } else {
9915 + window.screenfull = screenfull;
9916 + }
9917 +})();
9918 +
2443 9919 /***/ })
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 -]);
9920 +/******/ ]);
2452 9921 //# sourceMappingURL=frontend.js.map