| @@ -1,6 +1,132 @@ | ||
| 1 | +/*! elementor - v3.32.0 - 03-09-2025 */ | |
| 1 | 2 | (self["webpackChunkelementorFrontend"] = self["webpackChunkelementorFrontend"] || []).push([["frontend-modules"],{ |
| 2 | 3 | |
| 4 | +/***/ "../app/assets/js/event-track/apps-event-tracking.js": | |
| 5 | +/*!***********************************************************!*\ | |
| 6 | + !*** ../app/assets/js/event-track/apps-event-tracking.js ***! | |
| 7 | + \***********************************************************/ | |
| 8 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 9 | + | |
| 10 | +"use strict"; | |
| 11 | + | |
| 12 | + | |
| 13 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 14 | +Object.defineProperty(exports, "__esModule", ({ | |
| 15 | + value: true | |
| 16 | +})); | |
| 17 | +exports.appsEventTrackingDispatch = exports.AppsEventTracking = void 0; | |
| 18 | +var _eventsConfig = _interopRequireDefault(__webpack_require__(/*! ../../../../core/common/modules/events-manager/assets/js/events-config */ "../core/common/modules/events-manager/assets/js/events-config.js")); | |
| 19 | +const EVENTS_MAP = { | |
| 20 | + PAGE_VIEWS_WEBSITE_TEMPLATES: 'page_views_website_templates', | |
| 21 | + KITS_CLOUD_UPGRADE_CLICKED: 'kits_cloud_upgrade_clicked', | |
| 22 | + EXPORT_KIT_CUSTOMIZATION: 'export_kit_customization', | |
| 23 | + IMPORT_KIT_CUSTOMIZATION: 'import_kit_customization', | |
| 24 | + KIT_IMPORT_STATUS: 'kit_import_status', | |
| 25 | + KIT_CLOUD_LIBRARY_APPLY: 'kit_cloud_library_apply', | |
| 26 | + KIT_CLOUD_LIBRARY_DELETE: 'kit_cloud_library_delete', | |
| 27 | + IMPORT_EXPORT_ADMIN_ACTION: 'ie_admin_action', | |
| 28 | + KIT_IMPORT_UPLOAD_FILE: 'kit_import_upload_file' | |
| 29 | +}; | |
| 30 | +const appsEventTrackingDispatch = (command, eventParams) => { | |
| 31 | + // Add existing eventParams key value pair to the data/details object. | |
| 32 | + const objectCreator = (array, obj) => { | |
| 33 | + for (const key of array) { | |
| 34 | + if (eventParams.hasOwnProperty(key) && eventParams[key] !== null) { | |
| 35 | + obj[key] = eventParams[key]; | |
| 36 | + } | |
| 37 | + } | |
| 38 | + return obj; | |
| 39 | + }; | |
| 40 | + const dataKeys = []; | |
| 41 | + const detailsKeys = ['layout', 'site_part', 'error', 'document_name', 'document_type', 'view_type_clicked', 'tag', 'sort_direction', 'sort_type', 'action', 'grid_location', 'kit_name', 'page_source', 'element_position', 'element', 'event_type', 'modal_type', 'method', 'status', 'step', 'item', 'category', 'element_location', 'search_term', 'section', 'site_area']; | |
| 42 | + const data = {}; | |
| 43 | + const details = {}; | |
| 44 | + const init = () => { | |
| 45 | + objectCreator(detailsKeys, details); | |
| 46 | + objectCreator(dataKeys, data); | |
| 47 | + const commandSplit = command.split('/'); | |
| 48 | + data.placement = commandSplit[0]; | |
| 49 | + data.event = commandSplit[1]; | |
| 50 | + | |
| 51 | + // If 'details' is not empty, add the details object to the data object. | |
| 52 | + if (Object.keys(details).length) { | |
| 53 | + data.details = details; | |
| 54 | + } | |
| 55 | + }; | |
| 56 | + init(); | |
| 57 | + $e.run(command, data); | |
| 58 | +}; | |
| 59 | +exports.appsEventTrackingDispatch = appsEventTrackingDispatch; | |
| 60 | +class AppsEventTracking { | |
| 61 | + static dispatchEvent(eventName, payload) { | |
| 62 | + return elementorCommon.eventsManager.dispatchEvent(eventName, payload); | |
| 63 | + } | |
| 64 | + static sendPageViewsWebsiteTemplates(page) { | |
| 65 | + return this.dispatchEvent(EVENTS_MAP.PAGE_VIEWS_WEBSITE_TEMPLATES, { | |
| 66 | + trigger: _eventsConfig.default.triggers.pageLoaded, | |
| 67 | + page_loaded: page, | |
| 68 | + secondary_location: page | |
| 69 | + }); | |
| 70 | + } | |
| 71 | + static sendKitsCloudUpgradeClicked(upgradeLocation) { | |
| 72 | + return this.dispatchEvent(EVENTS_MAP.KITS_CLOUD_UPGRADE_CLICKED, { | |
| 73 | + trigger: _eventsConfig.default.triggers.click, | |
| 74 | + secondary_location: upgradeLocation, | |
| 75 | + upgrade_location: upgradeLocation | |
| 76 | + }); | |
| 77 | + } | |
| 78 | + static sendExportKitCustomization(payload) { | |
| 79 | + return this.dispatchEvent(EVENTS_MAP.EXPORT_KIT_CUSTOMIZATION, { | |
| 80 | + trigger: _eventsConfig.default.triggers.click, | |
| 81 | + ...payload | |
| 82 | + }); | |
| 83 | + } | |
| 84 | + static sendImportKitCustomization(payload) { | |
| 85 | + return this.dispatchEvent(EVENTS_MAP.IMPORT_KIT_CUSTOMIZATION, { | |
| 86 | + trigger: _eventsConfig.default.triggers.click, | |
| 87 | + ...payload | |
| 88 | + }); | |
| 89 | + } | |
| 90 | + static sendKitImportStatus() { | |
| 91 | + let error = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; | |
| 92 | + return this.dispatchEvent(EVENTS_MAP.KIT_IMPORT_STATUS, { | |
| 93 | + kit_import_status: !error, | |
| 94 | + ...(error && { | |
| 95 | + kit_import_error: error.message | |
| 96 | + }) | |
| 97 | + }); | |
| 98 | + } | |
| 99 | + static sendKitCloudLibraryApply(kitId, kitApplyUrl) { | |
| 100 | + return this.dispatchEvent(EVENTS_MAP.KIT_CLOUD_LIBRARY_APPLY, { | |
| 101 | + trigger: _eventsConfig.default.triggers.click, | |
| 102 | + kit_cloud_id: kitId, | |
| 103 | + ...(kitApplyUrl && { | |
| 104 | + kit_apply_url: kitApplyUrl | |
| 105 | + }) | |
| 106 | + }); | |
| 107 | + } | |
| 108 | + static sendKitCloudLibraryDelete() { | |
| 109 | + return this.dispatchEvent(EVENTS_MAP.KIT_CLOUD_LIBRARY_DELETE, { | |
| 110 | + trigger: _eventsConfig.default.triggers.click | |
| 111 | + }); | |
| 112 | + } | |
| 113 | + static sendImportExportAdminAction(actionType) { | |
| 114 | + return this.dispatchEvent(EVENTS_MAP.IMPORT_EXPORT_ADMIN_ACTION, { | |
| 115 | + trigger: _eventsConfig.default.triggers.click, | |
| 116 | + action_type: actionType | |
| 117 | + }); | |
| 118 | + } | |
| 119 | + static sendKitImportUploadFile(status) { | |
| 120 | + return this.dispatchEvent(EVENTS_MAP.KIT_IMPORT_UPLOAD_FILE, { | |
| 121 | + kit_import_upload_file_status: status | |
| 122 | + }); | |
| 123 | + } | |
| 124 | +} | |
| 125 | +exports.AppsEventTracking = AppsEventTracking; | |
| 126 | + | |
| 127 | +/***/ }), | |
| 128 | + | |
| 3 | 129 | /***/ "../app/modules/import-export-customization/assets/js/shared/registry/base.js": |
| 4 | 130 | /*!************************************************************************************!*\ |
| 5 | 131 | !*** ../app/modules/import-export-customization/assets/js/shared/registry/base.js ***! |
| 6 | 132 | \************************************************************************************/ |
| @@ -43,12 +169,13 @@ | ||
| 43 | 169 | } |
| 44 | 170 | } |
| 45 | 171 | this.sections.set(section.key, formattedSection); |
| 46 | 172 | } |
| 47 | - formatSection({ | |
| 48 | - children, | |
| 49 | - ...section | |
| 50 | - }) { | |
| 173 | + formatSection(_ref) { | |
| 174 | + let { | |
| 175 | + children, | |
| 176 | + ...section | |
| 177 | + } = _ref; | |
| 51 | 178 | return { |
| 52 | 179 | key: section.key, |
| 53 | 180 | title: section.title, |
| 54 | 181 | description: section.description || '', |
| @@ -96,8 +223,48 @@ | ||
| 96 | 223 | const customizationDialogsRegistry = exports.customizationDialogsRegistry = new _base.BaseRegistry(); |
| 97 | 224 | |
| 98 | 225 | /***/ }), |
| 99 | 226 | |
| 227 | +/***/ "../app/modules/import-export-customization/assets/js/shared/registry/templates.js": | |
| 228 | +/*!*****************************************************************************************!*\ | |
| 229 | + !*** ../app/modules/import-export-customization/assets/js/shared/registry/templates.js ***! | |
| 230 | + \*****************************************************************************************/ | |
| 231 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 232 | + | |
| 233 | +"use strict"; | |
| 234 | + | |
| 235 | + | |
| 236 | +Object.defineProperty(exports, "__esModule", ({ | |
| 237 | + value: true | |
| 238 | +})); | |
| 239 | +exports.templateRegistry = void 0; | |
| 240 | +__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); | |
| 241 | +__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js"); | |
| 242 | +var _base = __webpack_require__(/*! ./base */ "../app/modules/import-export-customization/assets/js/shared/registry/base.js"); | |
| 243 | +class TemplateRegistry extends _base.BaseRegistry { | |
| 244 | + getState(data, parentInitialState) { | |
| 245 | + const state = {}; | |
| 246 | + this.getAll().forEach(templateType => { | |
| 247 | + if (data?.customization?.templates?.[templateType.key] !== undefined) { | |
| 248 | + state[templateType.key] = data.customization.templates[templateType.key]; | |
| 249 | + return; | |
| 250 | + } | |
| 251 | + if (templateType.getInitialState) { | |
| 252 | + state[templateType.key] = templateType.getInitialState(data, parentInitialState); | |
| 253 | + return; | |
| 254 | + } | |
| 255 | + const enabled = templateType.useParentDefault ? parentInitialState : false; | |
| 256 | + state[templateType.key] = { | |
| 257 | + enabled | |
| 258 | + }; | |
| 259 | + }); | |
| 260 | + return state; | |
| 261 | + } | |
| 262 | +} | |
| 263 | +const templateRegistry = exports.templateRegistry = new TemplateRegistry(); | |
| 264 | + | |
| 265 | +/***/ }), | |
| 266 | + | |
| 100 | 267 | /***/ "../app/modules/import-export-customization/assets/js/shared/utils/template-registry-helpers.js": |
| 101 | 268 | /*!******************************************************************************************************!*\ |
| 102 | 269 | !*** ../app/modules/import-export-customization/assets/js/shared/utils/template-registry-helpers.js ***! |
| 103 | 270 | \******************************************************************************************************/ |
| @@ -109,9 +276,10 @@ | ||
| 109 | 276 | Object.defineProperty(exports, "__esModule", ({ |
| 110 | 277 | value: true |
| 111 | 278 | })); |
| 112 | 279 | exports.createGetInitialState = createGetInitialState; |
| 113 | -function createGetInitialState(exportGroup, additionalProps = {}) { | |
| 280 | +function createGetInitialState(exportGroup) { | |
| 281 | + let additionalProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | |
| 114 | 282 | return (data, parentInitialState) => { |
| 115 | 283 | let isEnabled = parentInitialState; |
| 116 | 284 | const isImport = data.hasOwnProperty('uploadedData'); |
| 117 | 285 | if (isImport) { |
| @@ -405,10 +573,10 @@ | ||
| 405 | 573 | } |
| 406 | 574 | addClassToSwiperContainer(className) { |
| 407 | 575 | this.getDefaultElements().$swiperContainer[0].classList.add(className); |
| 408 | 576 | } |
| 409 | - async onInit(...args) { | |
| 410 | - super.onInit(...args); | |
| 577 | + async onInit() { | |
| 578 | + super.onInit(...arguments); | |
| 411 | 579 | if (!this.elements.$swiperContainer.length || 2 > this.elements.$slides.length) { |
| 412 | 580 | return; |
| 413 | 581 | } |
| 414 | 582 | await this.initSwiper(); |
| @@ -500,9 +668,10 @@ | ||
| 500 | 668 | if ('activeItemIndex' === propertyName) { |
| 501 | 669 | this.swiper.slideToLoop(this.getEditSettings('activeItemIndex') - 1); |
| 502 | 670 | } |
| 503 | 671 | } |
| 504 | - getSpaceBetween(device = null) { | |
| 672 | + getSpaceBetween() { | |
| 673 | + let device = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; | |
| 505 | 674 | const responsiveControlValue = elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'image_spacing_custom', 'size', device); |
| 506 | 675 | return Number(responsiveControlValue) || 0; |
| 507 | 676 | } |
| 508 | 677 | updateSpaceBetween(propertyName) { |
| @@ -514,9 +683,10 @@ | ||
| 514 | 683 | } |
| 515 | 684 | this.swiper.params.spaceBetween = newSpaceBetween; |
| 516 | 685 | this.swiper.update(); |
| 517 | 686 | } |
| 518 | - getPaginationBullets(type = 'array') { | |
| 687 | + getPaginationBullets() { | |
| 688 | + let type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'array'; | |
| 519 | 689 | const paginationBullets = this.$element.find(this.getSettings('selectors').paginationBullet); |
| 520 | 690 | return 'array' === type ? Array.from(paginationBullets) : paginationBullets; |
| 521 | 691 | } |
| 522 | 692 | a11ySetPaginationTabindex() { |
| @@ -538,9 +708,10 @@ | ||
| 538 | 708 | transformValue = transformValue.split(','); |
| 539 | 709 | transformValue = parseInt(transformValue[0].replace('px', '')); |
| 540 | 710 | return !!transformValue ? transformValue : 0; |
| 541 | 711 | } |
| 542 | - a11ySetSlideAriaHidden(status = '') { | |
| 712 | + a11ySetSlideAriaHidden() { | |
| 713 | + let status = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; | |
| 543 | 714 | const currentIndex = 'initialisation' === status ? 0 : this.swiper?.activeIndex; |
| 544 | 715 | if ('number' !== typeof currentIndex) { |
| 545 | 716 | return; |
| 546 | 717 | } |
| @@ -874,9 +1045,10 @@ | ||
| 874 | 1045 | } |
| 875 | 1046 | isActive(settings) { |
| 876 | 1047 | return elementorFrontend.isEditMode() || settings.$element.hasClass(this.getStretchedClass()); |
| 877 | 1048 | } |
| 878 | - getStretchElementForConfig(childSelector = null) { | |
| 1049 | + getStretchElementForConfig() { | |
| 1050 | + let childSelector = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; | |
| 879 | 1051 | if (childSelector) { |
| 880 | 1052 | return this.$element.find(childSelector); |
| 881 | 1053 | } |
| 882 | 1054 | return this.$element; |
| @@ -905,14 +1077,14 @@ | ||
| 905 | 1077 | return; |
| 906 | 1078 | } |
| 907 | 1079 | this.stretchElement.stretch(); |
| 908 | 1080 | } |
| 909 | - onInit(...args) { | |
| 1081 | + onInit() { | |
| 910 | 1082 | if (!this.isActive(this.getSettings())) { |
| 911 | 1083 | return; |
| 912 | 1084 | } |
| 913 | 1085 | this.initStretch(); |
| 914 | - super.onInit(...args); | |
| 1086 | + super.onInit(...arguments); | |
| 915 | 1087 | this.stretch(); |
| 916 | 1088 | } |
| 917 | 1089 | onElementChange(propertyName) { |
| 918 | 1090 | const stretchSettingName = this.getStretchSettingName(); |
| @@ -1118,9 +1290,10 @@ | ||
| 1118 | 1290 | * @param {{}} args |
| 1119 | 1291 | * |
| 1120 | 1292 | * @throws {Error} |
| 1121 | 1293 | */ |
| 1122 | - requireArgument(property, args = this.args) { | |
| 1294 | + requireArgument(property) { | |
| 1295 | + let args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.args; | |
| 1123 | 1296 | if (!Object.prototype.hasOwnProperty.call(args, property)) { |
| 1124 | 1297 | throw Error(`${property} is required.`); |
| 1125 | 1298 | } |
| 1126 | 1299 | } |
| @@ -1135,9 +1308,10 @@ | ||
| 1135 | 1308 | * @param {{}} args |
| 1136 | 1309 | * |
| 1137 | 1310 | * @throws {Error} |
| 1138 | 1311 | */ |
| 1139 | - requireArgumentType(property, type, args = this.args) { | |
| 1312 | + requireArgumentType(property, type) { | |
| 1313 | + let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 1140 | 1314 | this.requireArgument(property, args); |
| 1141 | 1315 | if (typeof args[property] !== type) { |
| 1142 | 1316 | throw Error(`${property} invalid type: ${type}.`); |
| 1143 | 1317 | } |
| @@ -1153,9 +1327,10 @@ | ||
| 1153 | 1327 | * @param {{}} args |
| 1154 | 1328 | * |
| 1155 | 1329 | * @throws {Error} |
| 1156 | 1330 | */ |
| 1157 | - requireArgumentInstance(property, instance, args = this.args) { | |
| 1331 | + requireArgumentInstance(property, instance) { | |
| 1332 | + let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 1158 | 1333 | this.requireArgument(property, args); |
| 1159 | 1334 | if (!(args[property] instanceof instance) && !(0, _isInstanceof.default)(args[property], instance)) { |
| 1160 | 1335 | throw Error(`${property} invalid instance.`); |
| 1161 | 1336 | } |
| @@ -1171,9 +1346,10 @@ | ||
| 1171 | 1346 | * @param {{}} args |
| 1172 | 1347 | * |
| 1173 | 1348 | * @throws {Error} |
| 1174 | 1349 | */ |
| 1175 | - requireArgumentConstructor(property, type, args = this.args) { | |
| 1350 | + requireArgumentConstructor(property, type) { | |
| 1351 | + let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 1176 | 1352 | this.requireArgument(property, args); |
| 1177 | 1353 | |
| 1178 | 1354 | // Note: Converting the constructor to string in order to avoid equation issues |
| 1179 | 1355 | // due to different memory addresses between iframes (window.Object !== window.top.Object). |
| @@ -1189,9 +1365,9 @@ | ||
| 1189 | 1365 | /***/ "../assets/dev/js/modules/imports/force-method-implementation.js": |
| 1190 | 1366 | /*!***********************************************************************!*\ |
| 1191 | 1367 | !*** ../assets/dev/js/modules/imports/force-method-implementation.js ***! |
| 1192 | 1368 | \***********************************************************************/ |
| 1193 | -/***/ ((__unused_webpack_module, exports) => { | |
| 1369 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1194 | 1370 | |
| 1195 | 1371 | "use strict"; |
| 1196 | 1372 | |
| 1197 | 1373 | |
| @@ -1198,12 +1374,15 @@ | ||
| 1198 | 1374 | Object.defineProperty(exports, "__esModule", ({ |
| 1199 | 1375 | value: true |
| 1200 | 1376 | })); |
| 1201 | 1377 | exports["default"] = exports.ForceMethodImplementation = void 0; |
| 1378 | +__webpack_require__(/*! core-js/modules/es.array.includes.js */ "../node_modules/core-js/modules/es.array.includes.js"); | |
| 1202 | 1379 | // TODO: Wrong location used as `elementorModules.ForceMethodImplementation(); should be` `elementorUtils.forceMethodImplementation()`; |
| 1203 | 1380 | |
| 1204 | 1381 | class ForceMethodImplementation extends Error { |
| 1205 | - constructor(info = {}, args = {}) { | |
| 1382 | + constructor() { | |
| 1383 | + let info = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 1384 | + let args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | |
| 1206 | 1385 | super(`${info.isStatic ? 'static ' : ''}${info.fullName}() should be implemented, please provide '${info.functionName || info.fullName}' functionality.`, args); |
| 1207 | 1386 | |
| 1208 | 1387 | // Allow to pass custom properties to the error. |
| 1209 | 1388 | if (Object.keys(args).length) { |
| @@ -1556,9 +1735,10 @@ | ||
| 1556 | 1735 | let lastScrollY = 0; |
| 1557 | 1736 | |
| 1558 | 1737 | // Generating thresholds points along the animation height |
| 1559 | 1738 | // More thresholds points = more trigger points of the callback |
| 1560 | - const buildThresholds = (sensitivityPercentage = 0) => { | |
| 1739 | + const buildThresholds = function () { | |
| 1740 | + let sensitivityPercentage = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; | |
| 1561 | 1741 | const thresholds = []; |
| 1562 | 1742 | if (sensitivityPercentage > 0 && sensitivityPercentage <= 100) { |
| 1563 | 1743 | const increment = 100 / sensitivityPercentage; |
| 1564 | 1744 | for (let i = 0; i <= 100; i += increment) { |
| @@ -1595,9 +1775,10 @@ | ||
| 1595 | 1775 | * @param {Object} offsetObj |
| 1596 | 1776 | * @param {number} offsetObj.start - Offset start value in percentages |
| 1597 | 1777 | * @param {number} offsetObj.end - Offset end value in percentages |
| 1598 | 1778 | */ |
| 1599 | - static getElementViewportPercentage($element, offsetObj = {}) { | |
| 1779 | + static getElementViewportPercentage($element) { | |
| 1780 | + let offsetObj = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | |
| 1600 | 1781 | const elementOffset = $element[0].getBoundingClientRect(), |
| 1601 | 1782 | offsetStart = offsetObj.start || 0, |
| 1602 | 1783 | offsetEnd = offsetObj.end || 0, |
| 1603 | 1784 | windowStartOffset = window.innerHeight * offsetStart / 100, |
| @@ -1615,9 +1796,11 @@ | ||
| 1615 | 1796 | * @param {number} offsetObj.start - Offset start value in percentages |
| 1616 | 1797 | * @param {number} offsetObj.end - Offset end value in percentages |
| 1617 | 1798 | * @param {number} limitPageHeight - Will limit the page height calculation |
| 1618 | 1799 | */ |
| 1619 | - static getPageScrollPercentage(offsetObj = {}, limitPageHeight) { | |
| 1800 | + static getPageScrollPercentage() { | |
| 1801 | + let offsetObj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 1802 | + let limitPageHeight = arguments.length > 1 ? arguments[1] : undefined; | |
| 1620 | 1803 | const offsetStart = offsetObj.start || 0, |
| 1621 | 1804 | offsetEnd = offsetObj.end || 0, |
| 1622 | 1805 | initialPageHeight = limitPageHeight || document.documentElement.scrollHeight - document.documentElement.clientHeight, |
| 1623 | 1806 | heightOffset = initialPageHeight * offsetStart / 100, |
| @@ -1681,11 +1864,13 @@ | ||
| 1681 | 1864 | var _argsObject = _interopRequireDefault(__webpack_require__(/*! ./imports/args-object */ "../assets/dev/js/modules/imports/args-object.js")); |
| 1682 | 1865 | var _masonry = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/masonry */ "../assets/dev/js/modules/imports/utils/masonry.js")); |
| 1683 | 1866 | var _scroll = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/scroll */ "../assets/dev/js/modules/imports/utils/scroll.js")); |
| 1684 | 1867 | var _forceMethodImplementation = _interopRequireDefault(__webpack_require__(/*! ./imports/force-method-implementation */ "../assets/dev/js/modules/imports/force-method-implementation.js")); |
| 1868 | +var _templates = __webpack_require__(/*! ../../../../app/modules/import-export-customization/assets/js/shared/registry/templates */ "../app/modules/import-export-customization/assets/js/shared/registry/templates.js"); | |
| 1685 | 1869 | var _templateRegistryHelpers = __webpack_require__(/*! ../../../../app/modules/import-export-customization/assets/js/shared/utils/template-registry-helpers */ "../app/modules/import-export-customization/assets/js/shared/utils/template-registry-helpers.js"); |
| 1686 | 1870 | var _customizationDialogs = __webpack_require__(/*! ../../../../app/modules/import-export-customization/assets/js/shared/registry/customization-dialogs */ "../app/modules/import-export-customization/assets/js/shared/registry/customization-dialogs.js"); |
| 1687 | -const baseModules = { | |
| 1871 | +var _appsEventTracking = __webpack_require__(/*! elementor-app/event-track/apps-event-tracking */ "../app/assets/js/event-track/apps-event-tracking.js"); | |
| 1872 | +var _default = exports["default"] = window.elementorModules = { | |
| 1688 | 1873 | Module: _module.default, |
| 1689 | 1874 | ViewModule: _viewModule.default, |
| 1690 | 1875 | ArgsObject: _argsObject.default, |
| 1691 | 1876 | ForceMethodImplementation: _forceMethodImplementation.default, |
| @@ -1693,21 +1878,201 @@ | ||
| 1693 | 1878 | Masonry: _masonry.default, |
| 1694 | 1879 | Scroll: _scroll.default |
| 1695 | 1880 | }, |
| 1696 | 1881 | importExport: { |
| 1882 | + templateRegistry: _templates.templateRegistry, | |
| 1697 | 1883 | createGetInitialState: _templateRegistryHelpers.createGetInitialState, |
| 1698 | 1884 | customizationDialogsRegistry: _customizationDialogs.customizationDialogsRegistry |
| 1885 | + }, | |
| 1886 | + appsEventTracking: { | |
| 1887 | + AppsEventTracking: _appsEventTracking.AppsEventTracking | |
| 1699 | 1888 | } |
| 1700 | 1889 | }; |
| 1701 | -if (!window.elementorModules) { | |
| 1702 | - window.elementorModules = baseModules; | |
| 1703 | -} else { | |
| 1704 | - Object.assign(window.elementorModules, baseModules); | |
| 1705 | -} | |
| 1706 | -var _default = exports["default"] = window.elementorModules; | |
| 1707 | 1890 | |
| 1708 | 1891 | /***/ }), |
| 1709 | 1892 | |
| 1893 | +/***/ "../core/common/modules/events-manager/assets/js/events-config.js": | |
| 1894 | +/*!************************************************************************!*\ | |
| 1895 | + !*** ../core/common/modules/events-manager/assets/js/events-config.js ***! | |
| 1896 | + \************************************************************************/ | |
| 1897 | +/***/ ((__unused_webpack_module, exports) => { | |
| 1898 | + | |
| 1899 | +"use strict"; | |
| 1900 | + | |
| 1901 | + | |
| 1902 | +Object.defineProperty(exports, "__esModule", ({ | |
| 1903 | + value: true | |
| 1904 | +})); | |
| 1905 | +exports["default"] = void 0; | |
| 1906 | +const eventsConfig = { | |
| 1907 | + triggers: { | |
| 1908 | + click: 'Click', | |
| 1909 | + accordionClick: 'Accordion Click', | |
| 1910 | + toggleClick: 'Toggle Click', | |
| 1911 | + dropdownClick: 'Click Dropdown', | |
| 1912 | + editorLoaded: 'Editor Loaded', | |
| 1913 | + visible: 'Visible', | |
| 1914 | + pageLoaded: 'Page Loaded' | |
| 1915 | + }, | |
| 1916 | + locations: { | |
| 1917 | + widgetPanel: 'Widget Panel', | |
| 1918 | + topBar: 'Top Bar', | |
| 1919 | + elementorEditor: 'Elementor Editor', | |
| 1920 | + templatesLibrary: { | |
| 1921 | + library: 'Templates Library' | |
| 1922 | + }, | |
| 1923 | + app: { | |
| 1924 | + import: 'Import Kit', | |
| 1925 | + export: 'Export Kit', | |
| 1926 | + kitLibrary: 'Kit Library', | |
| 1927 | + cloudKitLibrary: 'Cloud Kit Library' | |
| 1928 | + }, | |
| 1929 | + variables: 'Variables Panel', | |
| 1930 | + admin: 'WP admin' | |
| 1931 | + }, | |
| 1932 | + secondaryLocations: { | |
| 1933 | + layout: 'Layout Section', | |
| 1934 | + basic: 'Basic Section', | |
| 1935 | + 'pro-elements': 'Pro Section', | |
| 1936 | + general: 'General Section', | |
| 1937 | + 'theme-elements': 'Site Section', | |
| 1938 | + 'theme-elements-single': 'Single Section', | |
| 1939 | + 'woocommerce-elements': 'WooCommerce Section', | |
| 1940 | + wordpress: 'WordPress Section', | |
| 1941 | + categories: 'Widgets Tab', | |
| 1942 | + global: 'Globals Tab', | |
| 1943 | + 'whats-new': 'What\'s New', | |
| 1944 | + 'document-settings': 'Document Settings icon', | |
| 1945 | + 'preview-page': 'Preview Page', | |
| 1946 | + 'publish-button': 'Publish Button', | |
| 1947 | + 'widget-panel': 'Widget Panel Icon', | |
| 1948 | + finder: 'Finder', | |
| 1949 | + help: 'Help', | |
| 1950 | + elementorLogoDropdown: 'top_bar_elementor_logo_dropdown', | |
| 1951 | + elementorLogo: 'Elementor Logo', | |
| 1952 | + eLogoMenu: 'E-logo Menu', | |
| 1953 | + notes: 'Notes', | |
| 1954 | + siteSettings: 'Site Settings', | |
| 1955 | + structure: 'Structure', | |
| 1956 | + documentNameDropdown: 'Document Name dropdown', | |
| 1957 | + responsiveControls: 'Responsive controls', | |
| 1958 | + launchpad: 'launchpad', | |
| 1959 | + checklistHeader: 'Checklist Header', | |
| 1960 | + checklistSteps: 'Checklist Steps', | |
| 1961 | + userPreferences: 'User Preferences', | |
| 1962 | + contextMenu: 'Context Menu', | |
| 1963 | + templateLibrary: { | |
| 1964 | + saveModal: 'Save to Modal', | |
| 1965 | + moveModal: 'Move to Modal', | |
| 1966 | + bulkMoveModal: 'Bulk Move to Modal', | |
| 1967 | + copyModal: 'Copy to Modal', | |
| 1968 | + bulkCopyModal: 'Bulk Copy to Modal', | |
| 1969 | + saveModalSelectFolder: 'Save to Modal - select folder', | |
| 1970 | + saveModalSelectConnect: 'Save to Modal - connect', | |
| 1971 | + saveModalSelectUpgrade: 'Save to Modal - upgrade', | |
| 1972 | + importModal: 'Import Modal', | |
| 1973 | + newFolderModal: 'New Folder Modal', | |
| 1974 | + deleteDialog: 'Delete Dialog', | |
| 1975 | + deleteFolderDialog: 'Delete Folder Dialog', | |
| 1976 | + renameDialog: 'Rename Dialog', | |
| 1977 | + createFolderDialog: 'Create Folder Dialog', | |
| 1978 | + applySettingsDialog: 'Apply Settings Dialog', | |
| 1979 | + cloudTab: 'Cloud Tab', | |
| 1980 | + siteTab: 'Site Tab', | |
| 1981 | + cloudTabFolder: 'Cloud Tab - Folder', | |
| 1982 | + cloudTabConnect: 'Cloud Tab - Connect', | |
| 1983 | + cloudTabUpgrade: 'Cloud Tab - Upgrade', | |
| 1984 | + morePopup: 'Context Menu', | |
| 1985 | + quotaBar: 'Quota Bar' | |
| 1986 | + }, | |
| 1987 | + kitLibrary: { | |
| 1988 | + cloudKitLibrary: 'kits_cloud_library', | |
| 1989 | + cloudKitLibraryConnect: 'kits_cloud_library_connect', | |
| 1990 | + cloudKitLibraryUpgrade: 'kits_cloud_library_upgrade', | |
| 1991 | + kitExportCustomization: 'kit_export_customization', | |
| 1992 | + kitExport: 'kit_export', | |
| 1993 | + kitExportCustomizationEdit: 'kit_export_customization_edit', | |
| 1994 | + kitExportSummary: 'kit_export_summary', | |
| 1995 | + kitImportUploadBox: 'kit_import_upload_box', | |
| 1996 | + kitImportCustomization: 'kit_import_customization', | |
| 1997 | + kitImportSummary: 'kit_import_summary' | |
| 1998 | + }, | |
| 1999 | + variablesPopover: 'Variables Popover', | |
| 2000 | + admin: { | |
| 2001 | + pluginToolsTab: 'plugin_tools_tab', | |
| 2002 | + pluginWebsiteTemplatesTab: 'plugin_website_templates_tab' | |
| 2003 | + } | |
| 2004 | + }, | |
| 2005 | + elements: { | |
| 2006 | + accordionSection: 'Accordion section', | |
| 2007 | + buttonIcon: 'Button Icon', | |
| 2008 | + mainCta: 'Main CTA', | |
| 2009 | + button: 'Button', | |
| 2010 | + link: 'Link', | |
| 2011 | + dropdown: 'Dropdown', | |
| 2012 | + toggle: 'Toggle', | |
| 2013 | + launchpadChecklist: 'Checklist popup' | |
| 2014 | + }, | |
| 2015 | + names: { | |
| 2016 | + v1: { | |
| 2017 | + layout: 'v1_widgets_tab_layout_section', | |
| 2018 | + basic: 'v1_widgets_tab_basic_section', | |
| 2019 | + 'pro-elements': 'v1_widgets_tab_pro_section', | |
| 2020 | + general: 'v1_widgets_tab_general_section', | |
| 2021 | + 'theme-elements': 'v1_widgets_tab_site_section', | |
| 2022 | + 'theme-elements-single': 'v1_widgets_tab_single_section', | |
| 2023 | + 'woocommerce-elements': 'v1_widgets_tab_woocommerce_section', | |
| 2024 | + wordpress: 'v1_widgets_tab_wordpress_section', | |
| 2025 | + categories: 'v1_widgets_tab', | |
| 2026 | + global: 'v1_globals_tab' | |
| 2027 | + }, | |
| 2028 | + topBar: { | |
| 2029 | + whatsNew: 'top_bar_whats_new', | |
| 2030 | + documentSettings: 'top_bar_document_settings_icon', | |
| 2031 | + previewPage: 'top_bar_preview_page', | |
| 2032 | + publishButton: 'top_bar_publish_button', | |
| 2033 | + widgetPanel: 'top_bar_widget_panel_icon', | |
| 2034 | + finder: 'top_bar_finder', | |
| 2035 | + help: 'top_bar_help', | |
| 2036 | + history: 'top_bar_elementor_logo_dropdown_history', | |
| 2037 | + userPreferences: 'top_bar_elementor_logo_dropdown_user_preferences', | |
| 2038 | + keyboardShortcuts: 'top_bar_elementor_logo_dropdown_keyboard_shortcuts', | |
| 2039 | + exitToWordpress: 'top_bar_elementor_logo_dropdown_exit_to_wordpress', | |
| 2040 | + themeBuilder: 'top_bar_elementor_logo_dropdown_theme_builder', | |
| 2041 | + notes: 'top_bar_notes', | |
| 2042 | + siteSettings: 'top_bar_site_setting', | |
| 2043 | + structure: 'top_bar_structure', | |
| 2044 | + documentNameDropdown: 'top_bar_document_name_dropdown', | |
| 2045 | + responsiveControls: 'top_bar_responsive_controls', | |
| 2046 | + launchpadOn: 'top_bar_checklist_icon_show', | |
| 2047 | + launchpadOff: 'top_bar_checklist_icon_hide', | |
| 2048 | + elementorLogoDropdown: 'open_e_menu', | |
| 2049 | + connectAccount: 'connect_account', | |
| 2050 | + accountConnected: 'account_connected' | |
| 2051 | + }, | |
| 2052 | + // ChecklistSteps event names are generated dynamically, based on stepId and action type taken: title, action, done, undone, upgrade | |
| 2053 | + elementorEditor: { | |
| 2054 | + checklist: { | |
| 2055 | + checklistHeaderClose: 'checklist_header_close_icon', | |
| 2056 | + checklistFirstPopup: 'checklist popup triggered' | |
| 2057 | + }, | |
| 2058 | + userPreferences: { | |
| 2059 | + checklistShow: 'checklist_userpreferences_toggle_show', | |
| 2060 | + checklistHide: 'checklist_userpreferences_toggle_hide' | |
| 2061 | + } | |
| 2062 | + }, | |
| 2063 | + variables: { | |
| 2064 | + open: 'open_variables_popover', | |
| 2065 | + add: 'add_new_variable', | |
| 2066 | + connect: 'connect_variable', | |
| 2067 | + save: 'save_new_variable' | |
| 2068 | + } | |
| 2069 | + } | |
| 2070 | +}; | |
| 2071 | +var _default = exports["default"] = eventsConfig; | |
| 2072 | + | |
| 2073 | +/***/ }), | |
| 2074 | + | |
| 1710 | 2075 | /***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js": |
| 1711 | 2076 | /*!***********************************************************************!*\ |
| 1712 | 2077 | !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! |
| 1713 | 2078 | \***********************************************************************/ |
| @@ -1743,8 +2108,40 @@ | ||
| 1743 | 2108 | |
| 1744 | 2109 | |
| 1745 | 2110 | /***/ }), |
| 1746 | 2111 | |
| 2112 | +/***/ "../node_modules/core-js/internals/add-to-unscopables.js": | |
| 2113 | +/*!***************************************************************!*\ | |
| 2114 | + !*** ../node_modules/core-js/internals/add-to-unscopables.js ***! | |
| 2115 | + \***************************************************************/ | |
| 2116 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2117 | + | |
| 2118 | +"use strict"; | |
| 2119 | + | |
| 2120 | +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); | |
| 2121 | +var create = __webpack_require__(/*! ../internals/object-create */ "../node_modules/core-js/internals/object-create.js"); | |
| 2122 | +var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js").f); | |
| 2123 | + | |
| 2124 | +var UNSCOPABLES = wellKnownSymbol('unscopables'); | |
| 2125 | +var ArrayPrototype = Array.prototype; | |
| 2126 | + | |
| 2127 | +// Array.prototype[@@unscopables] | |
| 2128 | +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables | |
| 2129 | +if (ArrayPrototype[UNSCOPABLES] === undefined) { | |
| 2130 | + defineProperty(ArrayPrototype, UNSCOPABLES, { | |
| 2131 | + configurable: true, | |
| 2132 | + value: create(null) | |
| 2133 | + }); | |
| 2134 | +} | |
| 2135 | + | |
| 2136 | +// add a key to Array.prototype[@@unscopables] | |
| 2137 | +module.exports = function (key) { | |
| 2138 | + ArrayPrototype[UNSCOPABLES][key] = true; | |
| 2139 | +}; | |
| 2140 | + | |
| 2141 | + | |
| 2142 | +/***/ }), | |
| 2143 | + | |
| 1747 | 2144 | /***/ "../node_modules/core-js/internals/an-instance.js": |
| 1748 | 2145 | /*!********************************************************!*\ |
| 1749 | 2146 | !*** ../node_modules/core-js/internals/an-instance.js ***! |
| 1750 | 2147 | \********************************************************/ |
| @@ -2573,9 +2970,9 @@ | ||
| 2573 | 2970 | |
| 2574 | 2971 | "use strict"; |
| 2575 | 2972 | |
| 2576 | 2973 | // `GetIteratorDirect(obj)` abstract operation |
| 2577 | -// https://tc39.es/ecma262/#sec-getiteratordirect | |
| 2974 | +// https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect | |
| 2578 | 2975 | module.exports = function (obj) { |
| 2579 | 2976 | return { |
| 2580 | 2977 | iterator: obj, |
| 2581 | 2978 | next: obj.next, |
| @@ -3223,9 +3620,9 @@ | ||
| 3223 | 3620 | var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js"); |
| 3224 | 3621 | var IteratorPrototype = (__webpack_require__(/*! ../internals/iterators-core */ "../node_modules/core-js/internals/iterators-core.js").IteratorPrototype); |
| 3225 | 3622 | var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ "../node_modules/core-js/internals/create-iter-result-object.js"); |
| 3226 | 3623 | var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js"); |
| 3227 | -var iteratorCloseAll = __webpack_require__(/*! ../internals/iterator-close-all */ "../node_modules/core-js/internals/iterator-close-all.js"); | |
| 3624 | +var iteratorCloseAll = __webpack_require__(/*! ./iterator-close-all */ "../node_modules/core-js/internals/iterator-close-all.js"); | |
| 3228 | 3625 | |
| 3229 | 3626 | var TO_STRING_TAG = wellKnownSymbol('toStringTag'); |
| 3230 | 3627 | var ITERATOR_HELPER = 'IteratorHelper'; |
| 3231 | 3628 | var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator'; |
| @@ -4030,12 +4427,12 @@ | ||
| 4030 | 4427 | var SHARED = '__core-js_shared__'; |
| 4031 | 4428 | var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {}); |
| 4032 | 4429 | |
| 4033 | 4430 | (store.versions || (store.versions = [])).push({ |
| 4034 | - version: '3.46.0', | |
| 4431 | + version: '3.43.0', | |
| 4035 | 4432 | mode: IS_PURE ? 'pure' : 'global', |
| 4036 | - copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)', | |
| 4037 | - license: 'https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE', | |
| 4433 | + copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)', | |
| 4434 | + license: 'https://github.com/zloirock/core-js/blob/v3.43.0/LICENSE', | |
| 4038 | 4435 | source: 'https://github.com/zloirock/core-js' |
| 4039 | 4436 | }); |
| 4040 | 4437 | |
| 4041 | 4438 | |
| @@ -4400,8 +4797,41 @@ | ||
| 4400 | 4797 | ? Symbol[name] |
| 4401 | 4798 | : createWellKnownSymbol('Symbol.' + name); |
| 4402 | 4799 | } return WellKnownSymbolsStore[name]; |
| 4403 | 4800 | }; |
| 4801 | + | |
| 4802 | + | |
| 4803 | +/***/ }), | |
| 4804 | + | |
| 4805 | +/***/ "../node_modules/core-js/modules/es.array.includes.js": | |
| 4806 | +/*!************************************************************!*\ | |
| 4807 | + !*** ../node_modules/core-js/modules/es.array.includes.js ***! | |
| 4808 | + \************************************************************/ | |
| 4809 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4810 | + | |
| 4811 | +"use strict"; | |
| 4812 | + | |
| 4813 | +var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js"); | |
| 4814 | +var $includes = (__webpack_require__(/*! ../internals/array-includes */ "../node_modules/core-js/internals/array-includes.js").includes); | |
| 4815 | +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 4816 | +var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "../node_modules/core-js/internals/add-to-unscopables.js"); | |
| 4817 | + | |
| 4818 | +// FF99+ bug | |
| 4819 | +var BROKEN_ON_SPARSE = fails(function () { | |
| 4820 | + // eslint-disable-next-line es/no-array-prototype-includes -- detection | |
| 4821 | + return !Array(1).includes(); | |
| 4822 | +}); | |
| 4823 | + | |
| 4824 | +// `Array.prototype.includes` method | |
| 4825 | +// https://tc39.es/ecma262/#sec-array.prototype.includes | |
| 4826 | +$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, { | |
| 4827 | + includes: function includes(el /* , fromIndex = 0 */) { | |
| 4828 | + return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); | |
| 4829 | + } | |
| 4830 | +}); | |
| 4831 | + | |
| 4832 | +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables | |
| 4833 | +addToUnscopables('includes'); | |
| 4404 | 4834 | |
| 4405 | 4835 | |
| 4406 | 4836 | /***/ }), |
| 4407 | 4837 | |