| 1 |
(self["webpackChunkelementorFrontend"] = self["webpackChunkelementorFrontend"] || []).push([["frontend-modules"],{ |
| 2 |
|
| 3 |
/***/ "../app/assets/js/event-track/apps-event-tracking.js": |
| 4 |
/*!***********************************************************!*\ |
| 5 |
!*** ../app/assets/js/event-track/apps-event-tracking.js ***! |
| 6 |
\***********************************************************/ |
| 7 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 8 |
|
| 9 |
"use strict"; |
| 10 |
|
| 11 |
|
| 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.appsEventTrackingDispatch = exports.AppsEventTracking = void 0; |
| 17 |
var _eventsConfig = _interopRequireDefault(__webpack_require__(/*! ../../../../core/common/modules/events-manager/assets/js/events-config */ "../core/common/modules/events-manager/assets/js/events-config.js")); |
| 18 |
const EVENTS_MAP = { |
| 19 |
PAGE_VIEWS_WEBSITE_TEMPLATES: 'page_views_website_templates', |
| 20 |
KITS_CLOUD_UPGRADE_CLICKED: 'kits_cloud_upgrade_clicked', |
| 21 |
EXPORT_KIT_CUSTOMIZATION: 'export_kit_customization', |
| 22 |
IMPORT_KIT_CUSTOMIZATION: 'import_kit_customization', |
| 23 |
KIT_IMPORT_STATUS: 'kit_import_status', |
| 24 |
KIT_CLOUD_LIBRARY_APPLY: 'kit_cloud_library_apply', |
| 25 |
KIT_CLOUD_LIBRARY_DELETE: 'kit_cloud_library_delete', |
| 26 |
IMPORT_EXPORT_ADMIN_ACTION: 'ie_admin_action', |
| 27 |
KIT_IMPORT_UPLOAD_FILE: 'kit_import_upload_file' |
| 28 |
}; |
| 29 |
const appsEventTrackingDispatch = (command, eventParams) => { |
| 30 |
// Add existing eventParams key value pair to the data/details object. |
| 31 |
const objectCreator = (array, obj) => { |
| 32 |
for (const key of array) { |
| 33 |
if (eventParams.hasOwnProperty(key) && eventParams[key] !== null) { |
| 34 |
obj[key] = eventParams[key]; |
| 35 |
} |
| 36 |
} |
| 37 |
return obj; |
| 38 |
}; |
| 39 |
const dataKeys = []; |
| 40 |
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']; |
| 41 |
const data = {}; |
| 42 |
const details = {}; |
| 43 |
const init = () => { |
| 44 |
objectCreator(detailsKeys, details); |
| 45 |
objectCreator(dataKeys, data); |
| 46 |
const commandSplit = command.split('/'); |
| 47 |
data.placement = commandSplit[0]; |
| 48 |
data.event = commandSplit[1]; |
| 49 |
|
| 50 |
// If 'details' is not empty, add the details object to the data object. |
| 51 |
if (Object.keys(details).length) { |
| 52 |
data.details = details; |
| 53 |
} |
| 54 |
}; |
| 55 |
init(); |
| 56 |
$e.run(command, data); |
| 57 |
}; |
| 58 |
exports.appsEventTrackingDispatch = appsEventTrackingDispatch; |
| 59 |
class AppsEventTracking { |
| 60 |
static dispatchEvent(eventName, payload) { |
| 61 |
return elementorCommon.eventsManager.dispatchEvent(eventName, payload); |
| 62 |
} |
| 63 |
static sendPageViewsWebsiteTemplates(page) { |
| 64 |
return this.dispatchEvent(EVENTS_MAP.PAGE_VIEWS_WEBSITE_TEMPLATES, { |
| 65 |
trigger: _eventsConfig.default.triggers.pageLoaded, |
| 66 |
page_loaded: page, |
| 67 |
secondary_location: page |
| 68 |
}); |
| 69 |
} |
| 70 |
static sendKitsCloudUpgradeClicked(upgradeLocation) { |
| 71 |
return this.dispatchEvent(EVENTS_MAP.KITS_CLOUD_UPGRADE_CLICKED, { |
| 72 |
trigger: _eventsConfig.default.triggers.click, |
| 73 |
secondary_location: upgradeLocation, |
| 74 |
upgrade_location: upgradeLocation |
| 75 |
}); |
| 76 |
} |
| 77 |
static sendExportKitCustomization(payload) { |
| 78 |
return this.dispatchEvent(EVENTS_MAP.EXPORT_KIT_CUSTOMIZATION, { |
| 79 |
trigger: _eventsConfig.default.triggers.click, |
| 80 |
...payload |
| 81 |
}); |
| 82 |
} |
| 83 |
static sendImportKitCustomization(payload) { |
| 84 |
return this.dispatchEvent(EVENTS_MAP.IMPORT_KIT_CUSTOMIZATION, { |
| 85 |
trigger: _eventsConfig.default.triggers.click, |
| 86 |
...payload |
| 87 |
}); |
| 88 |
} |
| 89 |
static sendKitImportStatus(error = null) { |
| 90 |
const isError = !!error; |
| 91 |
return this.dispatchEvent(EVENTS_MAP.KIT_IMPORT_STATUS, { |
| 92 |
kit_import_status: !isError, |
| 93 |
...(isError && { |
| 94 |
kit_import_error: error.message |
| 95 |
}) |
| 96 |
}); |
| 97 |
} |
| 98 |
static sendKitCloudLibraryApply(kitId, kitApplyUrl) { |
| 99 |
return this.dispatchEvent(EVENTS_MAP.KIT_CLOUD_LIBRARY_APPLY, { |
| 100 |
trigger: _eventsConfig.default.triggers.click, |
| 101 |
kit_cloud_id: kitId, |
| 102 |
...(kitApplyUrl && { |
| 103 |
kit_apply_url: kitApplyUrl |
| 104 |
}) |
| 105 |
}); |
| 106 |
} |
| 107 |
static sendKitCloudLibraryDelete() { |
| 108 |
return this.dispatchEvent(EVENTS_MAP.KIT_CLOUD_LIBRARY_DELETE, { |
| 109 |
trigger: _eventsConfig.default.triggers.click |
| 110 |
}); |
| 111 |
} |
| 112 |
static sendImportExportAdminAction(actionType) { |
| 113 |
return this.dispatchEvent(EVENTS_MAP.IMPORT_EXPORT_ADMIN_ACTION, { |
| 114 |
trigger: _eventsConfig.default.triggers.click, |
| 115 |
action_type: actionType |
| 116 |
}); |
| 117 |
} |
| 118 |
static sendKitImportUploadFile(status) { |
| 119 |
return this.dispatchEvent(EVENTS_MAP.KIT_IMPORT_UPLOAD_FILE, { |
| 120 |
kit_import_upload_file_status: status |
| 121 |
}); |
| 122 |
} |
| 123 |
} |
| 124 |
exports.AppsEventTracking = AppsEventTracking; |
| 125 |
|
| 126 |
/***/ }), |
| 127 |
|
| 128 |
/***/ "../app/assets/js/event-track/dashboard/action-controls.js": |
| 129 |
/*!*****************************************************************!*\ |
| 130 |
!*** ../app/assets/js/event-track/dashboard/action-controls.js ***! |
| 131 |
\*****************************************************************/ |
| 132 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 133 |
|
| 134 |
"use strict"; |
| 135 |
|
| 136 |
|
| 137 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 138 |
Object.defineProperty(exports, "__esModule", ({ |
| 139 |
value: true |
| 140 |
})); |
| 141 |
exports["default"] = void 0; |
| 142 |
__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); |
| 143 |
__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js"); |
| 144 |
var _wpDashboardTracking = _interopRequireWildcard(__webpack_require__(/*! ../wp-dashboard-tracking */ "../app/assets/js/event-track/wp-dashboard-tracking.js")); |
| 145 |
var _utils = __webpack_require__(/*! ./utils */ "../app/assets/js/event-track/dashboard/utils.js"); |
| 146 |
var _baseTracking = _interopRequireDefault(__webpack_require__(/*! ./base-tracking */ "../app/assets/js/event-track/dashboard/base-tracking.js")); |
| 147 |
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); } |
| 148 |
const EXCLUDED_SELECTORS = { |
| 149 |
ADMIN_MENU: '#adminmenu', |
| 150 |
TOP_BAR: '.e-admin-top-bar', |
| 151 |
TOP_BAR_EDITOR_ONE: '#editor-one-top-bar', |
| 152 |
WP_ADMIN_BAR: '#wpadminbar', |
| 153 |
SUBMENU: '.wp-submenu', |
| 154 |
PROMO_PAGE: '.e-feature-promotion', |
| 155 |
PROMO_BLANK_STATE: '.elementor-blank_state', |
| 156 |
APP: '.e-app', |
| 157 |
SIDEBAR_NAVIGATION: '#editor-one-sidebar-navigation', |
| 158 |
FLYOUT_MENU: '.elementor-submenu-flyout' |
| 159 |
}; |
| 160 |
class ActionControlTracking extends _baseTracking.default { |
| 161 |
static init() { |
| 162 |
if (!_utils.DashboardUtils.isElementorPage()) { |
| 163 |
return; |
| 164 |
} |
| 165 |
this.attachDelegatedHandlers(); |
| 166 |
this.addTrackingAttributesToFilterButtons(); |
| 167 |
this.initializeLinkDataIds(); |
| 168 |
} |
| 169 |
static initializeLinkDataIds() { |
| 170 |
const initializeLinks = () => { |
| 171 |
const links = document.querySelectorAll('a[href]'); |
| 172 |
links.forEach(link => { |
| 173 |
if (this.isExcludedElement(link) || this.isNavigationLink(link) || link.hasAttribute('data-id')) { |
| 174 |
return; |
| 175 |
} |
| 176 |
const href = link.getAttribute('href'); |
| 177 |
if (!href) { |
| 178 |
return; |
| 179 |
} |
| 180 |
const cleanedHref = this.removeNonceFromUrl(href); |
| 181 |
if (cleanedHref) { |
| 182 |
link.setAttribute('data-id', cleanedHref); |
| 183 |
} |
| 184 |
}); |
| 185 |
}; |
| 186 |
if ('loading' === document.readyState) { |
| 187 |
document.addEventListener('DOMContentLoaded', initializeLinks); |
| 188 |
} else { |
| 189 |
initializeLinks(); |
| 190 |
} |
| 191 |
} |
| 192 |
static addTrackingAttributesToFilterButtons() { |
| 193 |
const body = document.body; |
| 194 |
if (!body) { |
| 195 |
return; |
| 196 |
} |
| 197 |
let screenPrefix = ''; |
| 198 |
switch (true) { |
| 199 |
case body.classList.contains('post-type-elementor_library'): |
| 200 |
screenPrefix = 'elementor_library-library'; |
| 201 |
break; |
| 202 |
case body.classList.contains('post-type-e-floating-buttons'): |
| 203 |
screenPrefix = 'e-floating-buttons'; |
| 204 |
break; |
| 205 |
default: |
| 206 |
return; |
| 207 |
} |
| 208 |
const addDataIdToListTableButtons = () => { |
| 209 |
const buttonConfigs = [{ |
| 210 |
id: 'post-query-submit', |
| 211 |
suffix: 'filter' |
| 212 |
}, { |
| 213 |
id: 'search-submit', |
| 214 |
suffix: 'search' |
| 215 |
}, { |
| 216 |
id: 'doaction', |
| 217 |
suffix: 'apply' |
| 218 |
}, { |
| 219 |
id: 'doaction2', |
| 220 |
suffix: 'apply-bottom' |
| 221 |
}]; |
| 222 |
buttonConfigs.forEach(config => { |
| 223 |
const button = document.getElementById(config.id); |
| 224 |
if (!button || button.hasAttribute('data-id')) { |
| 225 |
return; |
| 226 |
} |
| 227 |
button.setAttribute('data-id', `${screenPrefix}-button-${config.suffix}`); |
| 228 |
}); |
| 229 |
}; |
| 230 |
if ('loading' === document.readyState) { |
| 231 |
document.addEventListener('DOMContentLoaded', addDataIdToListTableButtons); |
| 232 |
} else { |
| 233 |
addDataIdToListTableButtons(); |
| 234 |
} |
| 235 |
} |
| 236 |
static isExcludedElement(element) { |
| 237 |
for (const selector of Object.values(EXCLUDED_SELECTORS)) { |
| 238 |
if (element.closest(selector)) { |
| 239 |
return true; |
| 240 |
} |
| 241 |
} |
| 242 |
if (element.classList.contains('go-pro')) { |
| 243 |
return true; |
| 244 |
} |
| 245 |
return false; |
| 246 |
} |
| 247 |
static attachDelegatedHandlers() { |
| 248 |
const FILTER_BUTTON_IDS = ['search-submit', 'post-query-submit']; |
| 249 |
this.addEventListenerTracked(document, 'click', event => { |
| 250 |
const base = event.target && 1 === event.target.nodeType ? event.target : event.target?.parentElement; |
| 251 |
if (!base) { |
| 252 |
return; |
| 253 |
} |
| 254 |
const toggle = base.closest('.elementor-role-toggle'); |
| 255 |
if (toggle && !this.isExcludedElement(toggle)) { |
| 256 |
this.trackControl(toggle, _wpDashboardTracking.CONTROL_TYPES.TOGGLE); |
| 257 |
return; |
| 258 |
} |
| 259 |
const button = base.closest('button, input[type="submit"], input[type="button"], .button, .e-btn'); |
| 260 |
if (button && !this.isExcludedElement(button)) { |
| 261 |
if (FILTER_BUTTON_IDS.includes(button.id)) { |
| 262 |
this.trackControl(button, _wpDashboardTracking.CONTROL_TYPES.FILTER); |
| 263 |
return; |
| 264 |
} |
| 265 |
this.trackControl(button, _wpDashboardTracking.CONTROL_TYPES.BUTTON); |
| 266 |
return; |
| 267 |
} |
| 268 |
const link = base.closest('a'); |
| 269 |
if (link && !this.isExcludedElement(link) && !this.isNavigationLink(link)) { |
| 270 |
this.trackControl(link, _wpDashboardTracking.CONTROL_TYPES.LINK); |
| 271 |
} |
| 272 |
}, { |
| 273 |
capture: false |
| 274 |
}); |
| 275 |
this.addEventListenerTracked(document, 'change', event => { |
| 276 |
const base = event.target && 1 === event.target.nodeType ? event.target : event.target?.parentElement; |
| 277 |
if (!base) { |
| 278 |
return; |
| 279 |
} |
| 280 |
let toggle = null; |
| 281 |
if (_wpDashboardTracking.default.isEditorOneActive()) { |
| 282 |
toggle = base.closest('.MuiSwitch-switchBase'); |
| 283 |
} else { |
| 284 |
toggle = base.closest('.components-toggle-control'); |
| 285 |
} |
| 286 |
if (toggle && !this.isExcludedElement(toggle)) { |
| 287 |
this.trackControl(toggle, _wpDashboardTracking.CONTROL_TYPES.TOGGLE); |
| 288 |
return; |
| 289 |
} |
| 290 |
const checkbox = base.closest('input[type="checkbox"]'); |
| 291 |
if (checkbox && !this.isExcludedElement(checkbox)) { |
| 292 |
this.trackControl(checkbox, _wpDashboardTracking.CONTROL_TYPES.CHECKBOX); |
| 293 |
return; |
| 294 |
} |
| 295 |
const radio = base.closest('input[type="radio"]'); |
| 296 |
if (radio && !this.isExcludedElement(radio)) { |
| 297 |
this.trackControl(radio, _wpDashboardTracking.CONTROL_TYPES.RADIO); |
| 298 |
return; |
| 299 |
} |
| 300 |
const select = base.closest('select'); |
| 301 |
if (select && !this.isExcludedElement(select)) { |
| 302 |
this.trackControl(select, _wpDashboardTracking.CONTROL_TYPES.SELECT); |
| 303 |
} |
| 304 |
}); |
| 305 |
} |
| 306 |
static isNavigationLink(link) { |
| 307 |
const href = link.getAttribute('href'); |
| 308 |
if (!href) { |
| 309 |
return false; |
| 310 |
} |
| 311 |
if (href.startsWith('#') && href.includes('tab')) { |
| 312 |
return true; |
| 313 |
} |
| 314 |
if (link.classList.contains('nav-tab')) { |
| 315 |
return true; |
| 316 |
} |
| 317 |
const isInNavigation = link.closest('.wp-submenu, #adminmenu, .e-admin-top-bar, #wpadminbar'); |
| 318 |
return !!isInNavigation; |
| 319 |
} |
| 320 |
static trackControl(element, controlType) { |
| 321 |
const controlIdentifier = this.extractControlIdentifier(element, controlType); |
| 322 |
if (!controlIdentifier) { |
| 323 |
return; |
| 324 |
} |
| 325 |
_wpDashboardTracking.default.trackActionControl(controlIdentifier, controlType); |
| 326 |
} |
| 327 |
static extractControlIdentifier(element, controlType) { |
| 328 |
if (_wpDashboardTracking.CONTROL_TYPES.RADIO === controlType) { |
| 329 |
const name = element.getAttribute('name'); |
| 330 |
const value = element.value || element.getAttribute('value'); |
| 331 |
if (name && value) { |
| 332 |
return `${name}-${value}`; |
| 333 |
} |
| 334 |
if (name) { |
| 335 |
return name; |
| 336 |
} |
| 337 |
} |
| 338 |
if (_wpDashboardTracking.CONTROL_TYPES.SELECT === controlType) { |
| 339 |
const name = element.getAttribute('name'); |
| 340 |
if (name) { |
| 341 |
return name; |
| 342 |
} |
| 343 |
} |
| 344 |
if (_wpDashboardTracking.CONTROL_TYPES.CHECKBOX === controlType) { |
| 345 |
const name = element.getAttribute('name'); |
| 346 |
if (name) { |
| 347 |
const checkboxesWithSameName = document.querySelectorAll(`input[type="checkbox"][name="${CSS.escape(name)}"]`); |
| 348 |
if (checkboxesWithSameName.length > 1) { |
| 349 |
const value = element.value || element.getAttribute('value'); |
| 350 |
if (value) { |
| 351 |
return `${name}-${value}`; |
| 352 |
} |
| 353 |
} |
| 354 |
return name; |
| 355 |
} |
| 356 |
} |
| 357 |
if (_wpDashboardTracking.CONTROL_TYPES.LINK === controlType) { |
| 358 |
const dataId = element.getAttribute('data-id'); |
| 359 |
if (dataId) { |
| 360 |
return dataId; |
| 361 |
} |
| 362 |
const href = element.getAttribute('href'); |
| 363 |
if (href) { |
| 364 |
return this.removeNonceFromUrl(href); |
| 365 |
} |
| 366 |
} |
| 367 |
if (_wpDashboardTracking.CONTROL_TYPES.BUTTON === controlType || _wpDashboardTracking.CONTROL_TYPES.TOGGLE === controlType || _wpDashboardTracking.CONTROL_TYPES.FILTER === controlType) { |
| 368 |
const dataId = element.getAttribute('data-id'); |
| 369 |
if (dataId) { |
| 370 |
return dataId; |
| 371 |
} |
| 372 |
const classIdMatch = this.extractClassId(element); |
| 373 |
if (classIdMatch) { |
| 374 |
return classIdMatch; |
| 375 |
} |
| 376 |
} |
| 377 |
return ''; |
| 378 |
} |
| 379 |
static extractClassId(element) { |
| 380 |
const classes = element.className; |
| 381 |
if (!classes || 'string' !== typeof classes) { |
| 382 |
return ''; |
| 383 |
} |
| 384 |
const classList = classes.split(' '); |
| 385 |
for (const cls of classList) { |
| 386 |
if (cls.startsWith('e-id-')) { |
| 387 |
return cls.substring(5); |
| 388 |
} |
| 389 |
} |
| 390 |
return ''; |
| 391 |
} |
| 392 |
static removeNonceFromUrl(url) { |
| 393 |
try { |
| 394 |
const urlObj = new URL(url, window.location.origin); |
| 395 |
urlObj.searchParams.delete('_wpnonce'); |
| 396 |
const postParam = urlObj.searchParams.get('post'); |
| 397 |
if (postParam !== null && /^[0-9]+$/.test(postParam)) { |
| 398 |
urlObj.searchParams.delete('post'); |
| 399 |
} |
| 400 |
return urlObj.pathname + urlObj.search + urlObj.hash; |
| 401 |
} catch (e) { |
| 402 |
return url; |
| 403 |
} |
| 404 |
} |
| 405 |
} |
| 406 |
var _default = exports["default"] = ActionControlTracking; |
| 407 |
|
| 408 |
/***/ }), |
| 409 |
|
| 410 |
/***/ "../app/assets/js/event-track/dashboard/base-tracking.js": |
| 411 |
/*!***************************************************************!*\ |
| 412 |
!*** ../app/assets/js/event-track/dashboard/base-tracking.js ***! |
| 413 |
\***************************************************************/ |
| 414 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 415 |
|
| 416 |
"use strict"; |
| 417 |
|
| 418 |
|
| 419 |
Object.defineProperty(exports, "__esModule", ({ |
| 420 |
value: true |
| 421 |
})); |
| 422 |
exports["default"] = void 0; |
| 423 |
__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js"); |
| 424 |
__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); |
| 425 |
__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js"); |
| 426 |
class BaseTracking { |
| 427 |
static ensureOwnArrays() { |
| 428 |
if (!Object.prototype.hasOwnProperty.call(this, 'observers')) { |
| 429 |
this.observers = []; |
| 430 |
} |
| 431 |
if (!Object.prototype.hasOwnProperty.call(this, 'eventListeners')) { |
| 432 |
this.eventListeners = []; |
| 433 |
} |
| 434 |
} |
| 435 |
static destroy() { |
| 436 |
this.ensureOwnArrays(); |
| 437 |
this.observers.forEach(observer => observer.disconnect()); |
| 438 |
this.observers = []; |
| 439 |
this.eventListeners.forEach(({ |
| 440 |
target, |
| 441 |
type, |
| 442 |
handler, |
| 443 |
options |
| 444 |
}) => { |
| 445 |
target.removeEventListener(type, handler, options); |
| 446 |
}); |
| 447 |
this.eventListeners = []; |
| 448 |
} |
| 449 |
static addObserver(target, options, callback) { |
| 450 |
this.ensureOwnArrays(); |
| 451 |
const observer = new MutationObserver(callback); |
| 452 |
observer.observe(target, options); |
| 453 |
this.observers.push(observer); |
| 454 |
return observer; |
| 455 |
} |
| 456 |
static addEventListenerTracked(target, type, handler, options = {}) { |
| 457 |
this.ensureOwnArrays(); |
| 458 |
target.addEventListener(type, handler, options); |
| 459 |
this.eventListeners.push({ |
| 460 |
target, |
| 461 |
type, |
| 462 |
handler, |
| 463 |
options |
| 464 |
}); |
| 465 |
} |
| 466 |
} |
| 467 |
var _default = exports["default"] = BaseTracking; |
| 468 |
|
| 469 |
/***/ }), |
| 470 |
|
| 471 |
/***/ "../app/assets/js/event-track/dashboard/menu-promotion.js": |
| 472 |
/*!****************************************************************!*\ |
| 473 |
!*** ../app/assets/js/event-track/dashboard/menu-promotion.js ***! |
| 474 |
\****************************************************************/ |
| 475 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 476 |
|
| 477 |
"use strict"; |
| 478 |
|
| 479 |
|
| 480 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 481 |
Object.defineProperty(exports, "__esModule", ({ |
| 482 |
value: true |
| 483 |
})); |
| 484 |
exports["default"] = void 0; |
| 485 |
var _wpDashboardTracking = _interopRequireDefault(__webpack_require__(/*! ../wp-dashboard-tracking */ "../app/assets/js/event-track/wp-dashboard-tracking.js")); |
| 486 |
var _baseTracking = _interopRequireDefault(__webpack_require__(/*! ./base-tracking */ "../app/assets/js/event-track/dashboard/base-tracking.js")); |
| 487 |
const PROMO_MENU_ITEMS = { |
| 488 |
go_elementor_pro: 'Upgrade' |
| 489 |
}; |
| 490 |
class MenuPromotionTracking extends _baseTracking.default { |
| 491 |
static init() { |
| 492 |
this.attachDelegatedTracking(); |
| 493 |
} |
| 494 |
static attachDelegatedTracking() { |
| 495 |
this.addEventListenerTracked(document, 'click', event => { |
| 496 |
const target = event.target; |
| 497 |
if (!target) { |
| 498 |
return; |
| 499 |
} |
| 500 |
const link = target.closest('a'); |
| 501 |
if (!link) { |
| 502 |
return; |
| 503 |
} |
| 504 |
const href = link.getAttribute('href'); |
| 505 |
if (!href) { |
| 506 |
return; |
| 507 |
} |
| 508 |
const menuItemKey = this.extractPromoMenuKey(href); |
| 509 |
if (!menuItemKey) { |
| 510 |
return; |
| 511 |
} |
| 512 |
this.handleMenuPromoClick(link, menuItemKey); |
| 513 |
}, { |
| 514 |
capture: true |
| 515 |
}); |
| 516 |
} |
| 517 |
static extractPromoMenuKey(href) { |
| 518 |
for (const menuItemKey of Object.keys(PROMO_MENU_ITEMS)) { |
| 519 |
if (href.includes(`page=${menuItemKey}`)) { |
| 520 |
return menuItemKey; |
| 521 |
} |
| 522 |
} |
| 523 |
return null; |
| 524 |
} |
| 525 |
static handleMenuPromoClick(menuItem, menuItemKey) { |
| 526 |
const destination = menuItem.getAttribute('href'); |
| 527 |
const promoName = PROMO_MENU_ITEMS[menuItemKey]; |
| 528 |
const path = menuItemKey.replace('elementor_', '').replace(/_/g, '/'); |
| 529 |
_wpDashboardTracking.default.trackPromoClicked(promoName, destination, path); |
| 530 |
} |
| 531 |
} |
| 532 |
var _default = exports["default"] = MenuPromotionTracking; |
| 533 |
|
| 534 |
/***/ }), |
| 535 |
|
| 536 |
/***/ "../app/assets/js/event-track/dashboard/navigation.js": |
| 537 |
/*!************************************************************!*\ |
| 538 |
!*** ../app/assets/js/event-track/dashboard/navigation.js ***! |
| 539 |
\************************************************************/ |
| 540 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 541 |
|
| 542 |
"use strict"; |
| 543 |
|
| 544 |
|
| 545 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 546 |
Object.defineProperty(exports, "__esModule", ({ |
| 547 |
value: true |
| 548 |
})); |
| 549 |
exports["default"] = void 0; |
| 550 |
var _wpDashboardTracking = _interopRequireWildcard(__webpack_require__(/*! ../wp-dashboard-tracking */ "../app/assets/js/event-track/wp-dashboard-tracking.js")); |
| 551 |
var _baseTracking = _interopRequireDefault(__webpack_require__(/*! ./base-tracking */ "../app/assets/js/event-track/dashboard/base-tracking.js")); |
| 552 |
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); } |
| 553 |
const ELEMENTOR_MENU_SELECTORS = { |
| 554 |
ELEMENTOR_TOP_LEVEL: 'li#toplevel_page_elementor', |
| 555 |
TEMPLATES_TOP_LEVEL: 'li#menu-posts-elementor_library', |
| 556 |
ELEMENTOR_HOME_TOP_LEVEL: 'li#toplevel_page_elementor-home', |
| 557 |
ADMIN_MENU: '#adminmenu', |
| 558 |
TOP_LEVEL_LINK: '.wp-menu-name', |
| 559 |
SUBMENU_CONTAINER: '.wp-submenu', |
| 560 |
SUBMENU_ITEM: '.wp-submenu li a', |
| 561 |
SUBMENU_ITEM_TOP_LEVEL: '.wp-has-submenu', |
| 562 |
SIDEBAR_NAVIGATION: '#editor-one-sidebar-navigation' |
| 563 |
}; |
| 564 |
class NavigationTracking extends _baseTracking.default { |
| 565 |
static init() { |
| 566 |
if (_wpDashboardTracking.default.isEditorOneActive()) { |
| 567 |
this.attachSidebarNavigationTracking(); |
| 568 |
this.attachElementorHomeMenuTracking(); |
| 569 |
} else { |
| 570 |
this.attachElementorMenuTracking(); |
| 571 |
this.attachTemplatesMenuTracking(); |
| 572 |
} |
| 573 |
} |
| 574 |
static attachTemplatesMenuTracking() { |
| 575 |
const templatesMenu = document.querySelector(ELEMENTOR_MENU_SELECTORS.TEMPLATES_TOP_LEVEL); |
| 576 |
if (!templatesMenu) { |
| 577 |
return; |
| 578 |
} |
| 579 |
this.attachMenuTracking(templatesMenu, 'Templates'); |
| 580 |
} |
| 581 |
static attachElementorHomeMenuTracking() { |
| 582 |
const elementorHomeMenu = document.querySelector(ELEMENTOR_MENU_SELECTORS.ELEMENTOR_HOME_TOP_LEVEL); |
| 583 |
if (!elementorHomeMenu) { |
| 584 |
return; |
| 585 |
} |
| 586 |
this.attachMenuTracking(elementorHomeMenu, 'Elementor'); |
| 587 |
} |
| 588 |
static attachElementorMenuTracking() { |
| 589 |
const elementorMenu = document.querySelector(ELEMENTOR_MENU_SELECTORS.ELEMENTOR_TOP_LEVEL); |
| 590 |
if (!elementorMenu) { |
| 591 |
return; |
| 592 |
} |
| 593 |
this.attachMenuTracking(elementorMenu, 'Elementor'); |
| 594 |
} |
| 595 |
static attachSidebarNavigationTracking() { |
| 596 |
const sidebar = document.querySelector(ELEMENTOR_MENU_SELECTORS.SIDEBAR_NAVIGATION); |
| 597 |
if (sidebar) { |
| 598 |
this.attachSidebarClickListener(sidebar); |
| 599 |
} |
| 600 |
} |
| 601 |
static attachSidebarClickListener(sidebar) { |
| 602 |
this.addEventListenerTracked(sidebar, 'click', event => { |
| 603 |
this.handleSidebarClick(event); |
| 604 |
}, { |
| 605 |
capture: true |
| 606 |
}); |
| 607 |
} |
| 608 |
static attachMenuTracking(menuElement, menuName) { |
| 609 |
this.addEventListenerTracked(menuElement, 'click', event => { |
| 610 |
this.handleMenuClick(event, menuName); |
| 611 |
}); |
| 612 |
} |
| 613 |
static handleMenuClick(event, menuName) { |
| 614 |
const link = event.target.closest('a'); |
| 615 |
if (!link) { |
| 616 |
return; |
| 617 |
} |
| 618 |
const isTopLevel = link.classList.contains('menu-top'); |
| 619 |
const itemId = this.extractItemId(link); |
| 620 |
const area = this.determineNavArea(link); |
| 621 |
_wpDashboardTracking.default.trackNavClicked(itemId, isTopLevel ? null : menuName, area); |
| 622 |
} |
| 623 |
static handleSidebarClick(event) { |
| 624 |
const clickedElement = event.target.closest('a, button, [role="button"]'); |
| 625 |
if (!clickedElement) { |
| 626 |
return; |
| 627 |
} |
| 628 |
const itemId = this.extractSidebarItemId(clickedElement); |
| 629 |
_wpDashboardTracking.default.trackNavClicked(itemId, null, _wpDashboardTracking.NAV_AREAS.SIDEBAR_MENU); |
| 630 |
} |
| 631 |
static extractSidebarItemId(element) { |
| 632 |
const paragraph = element.querySelector('p'); |
| 633 |
if (paragraph) { |
| 634 |
return paragraph.textContent.trim(); |
| 635 |
} |
| 636 |
const textContent = element.textContent.trim(); |
| 637 |
if (textContent) { |
| 638 |
return textContent; |
| 639 |
} |
| 640 |
return 'unknown'; |
| 641 |
} |
| 642 |
static extractPageFromUrl(href) { |
| 643 |
const urlParams = new URLSearchParams(href.split('?')[1] || ''); |
| 644 |
const page = urlParams.get('page'); |
| 645 |
if (page) { |
| 646 |
return page; |
| 647 |
} |
| 648 |
const postType = urlParams.get('post_type'); |
| 649 |
if (postType) { |
| 650 |
return postType; |
| 651 |
} |
| 652 |
return 'unknown'; |
| 653 |
} |
| 654 |
static extractItemId(link) { |
| 655 |
const textContent = link.textContent.trim(); |
| 656 |
if (textContent) { |
| 657 |
return textContent; |
| 658 |
} |
| 659 |
const href = link.getAttribute('href'); |
| 660 |
if (href) { |
| 661 |
return this.extractPageFromUrl(href); |
| 662 |
} |
| 663 |
const linkId = link.getAttribute('id'); |
| 664 |
if (linkId) { |
| 665 |
return linkId; |
| 666 |
} |
| 667 |
return 'unknown'; |
| 668 |
} |
| 669 |
static determineNavArea(link) { |
| 670 |
const parentMenu = link.closest('li.menu-top'); |
| 671 |
if (parentMenu) { |
| 672 |
const isSubmenuItem = link.closest(ELEMENTOR_MENU_SELECTORS.SUBMENU_CONTAINER); |
| 673 |
if (isSubmenuItem) { |
| 674 |
const submenuElement = link.closest(ELEMENTOR_MENU_SELECTORS.SUBMENU_ITEM_TOP_LEVEL); |
| 675 |
if (submenuElement.classList.contains('wp-not-current-submenu')) { |
| 676 |
return _wpDashboardTracking.NAV_AREAS.HOVER_MENU; |
| 677 |
} |
| 678 |
return _wpDashboardTracking.NAV_AREAS.SUBMENU; |
| 679 |
} |
| 680 |
return _wpDashboardTracking.NAV_AREAS.LEFT_MENU; |
| 681 |
} |
| 682 |
return _wpDashboardTracking.NAV_AREAS.LEFT_MENU; |
| 683 |
} |
| 684 |
} |
| 685 |
var _default = exports["default"] = NavigationTracking; |
| 686 |
|
| 687 |
/***/ }), |
| 688 |
|
| 689 |
/***/ "../app/assets/js/event-track/dashboard/plugin-actions.js": |
| 690 |
/*!****************************************************************!*\ |
| 691 |
!*** ../app/assets/js/event-track/dashboard/plugin-actions.js ***! |
| 692 |
\****************************************************************/ |
| 693 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 694 |
|
| 695 |
"use strict"; |
| 696 |
|
| 697 |
|
| 698 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 699 |
Object.defineProperty(exports, "__esModule", ({ |
| 700 |
value: true |
| 701 |
})); |
| 702 |
exports["default"] = void 0; |
| 703 |
var _wpDashboardTracking = _interopRequireDefault(__webpack_require__(/*! ../wp-dashboard-tracking */ "../app/assets/js/event-track/wp-dashboard-tracking.js")); |
| 704 |
var _baseTracking = _interopRequireDefault(__webpack_require__(/*! ./base-tracking */ "../app/assets/js/event-track/dashboard/base-tracking.js")); |
| 705 |
const PLUGIN_TYPE = { |
| 706 |
ELEMENTOR: 'core', |
| 707 |
ELEMENTOR_PRO: 'pro' |
| 708 |
}; |
| 709 |
class PluginActions extends _baseTracking.default { |
| 710 |
static selectedReason = null; |
| 711 |
static init() { |
| 712 |
this.attachCoreDeactivationTracking(); |
| 713 |
this.attachProDeactivationTracking(); |
| 714 |
this.attachProDeletionTracking(); |
| 715 |
} |
| 716 |
static attachCoreDeactivationTracking() { |
| 717 |
const dialogForm = document.querySelector('#elementor-deactivate-feedback-dialog-form'); |
| 718 |
if (!dialogForm) { |
| 719 |
return; |
| 720 |
} |
| 721 |
this.addEventListenerTracked(dialogForm, 'change', event => { |
| 722 |
const target = event.target; |
| 723 |
if (target.classList.contains('elementor-deactivate-feedback-dialog-input')) { |
| 724 |
this.selectedReason = target.value; |
| 725 |
} |
| 726 |
}); |
| 727 |
this.observeModalButtons(); |
| 728 |
} |
| 729 |
static attachProDeactivationTracking() { |
| 730 |
const pluginsTable = document.querySelector('.plugins'); |
| 731 |
if (!pluginsTable) { |
| 732 |
return; |
| 733 |
} |
| 734 |
this.addEventListenerTracked(pluginsTable, 'click', event => { |
| 735 |
const link = event.target.closest('a'); |
| 736 |
if (link && 'deactivate-elementor-pro' === link.id) { |
| 737 |
this.trackProDeactivation(); |
| 738 |
} |
| 739 |
}, { |
| 740 |
capture: true |
| 741 |
}); |
| 742 |
} |
| 743 |
static observeModalButtons() { |
| 744 |
const checkAndAttachDelegation = () => { |
| 745 |
const modal = document.querySelector('#elementor-deactivate-feedback-modal'); |
| 746 |
if (!modal) { |
| 747 |
return false; |
| 748 |
} |
| 749 |
this.addEventListenerTracked(modal, 'click', event => { |
| 750 |
const submitButton = event.target.closest('.dialog-submit'); |
| 751 |
const skipButton = event.target.closest('.dialog-skip'); |
| 752 |
if (submitButton) { |
| 753 |
this.trackCoreDeactivation('submit&deactivate'); |
| 754 |
} else if (skipButton) { |
| 755 |
this.trackCoreDeactivation('skip&deactivate'); |
| 756 |
} |
| 757 |
}, { |
| 758 |
capture: true |
| 759 |
}); |
| 760 |
return true; |
| 761 |
}; |
| 762 |
if (checkAndAttachDelegation()) { |
| 763 |
return; |
| 764 |
} |
| 765 |
this.addObserver(document.body, { |
| 766 |
childList: true, |
| 767 |
subtree: true |
| 768 |
}, (mutations, observer) => { |
| 769 |
if (checkAndAttachDelegation()) { |
| 770 |
observer.disconnect(); |
| 771 |
} |
| 772 |
}); |
| 773 |
} |
| 774 |
static getUserInput() { |
| 775 |
const reasonsWithInput = ['found_a_better_plugin', 'other']; |
| 776 |
if (!this.selectedReason || !reasonsWithInput.includes(this.selectedReason)) { |
| 777 |
return null; |
| 778 |
} |
| 779 |
const inputField = document.querySelector(`input[name="reason_${this.selectedReason}"]`); |
| 780 |
if (inputField && inputField.value) { |
| 781 |
return inputField.value; |
| 782 |
} |
| 783 |
return null; |
| 784 |
} |
| 785 |
static trackCoreDeactivation(action) { |
| 786 |
const properties = { |
| 787 |
deactivate_form_submit: action, |
| 788 |
deactivate_plugin_type: PLUGIN_TYPE.ELEMENTOR |
| 789 |
}; |
| 790 |
if (this.selectedReason) { |
| 791 |
properties.deactivate_feedback_reason = this.selectedReason; |
| 792 |
} |
| 793 |
const userInput = this.getUserInput(); |
| 794 |
if (userInput) { |
| 795 |
properties.deactivate_feedback_reason += `/${userInput}`; |
| 796 |
} |
| 797 |
_wpDashboardTracking.default.dispatchEvent('wpdash_deactivate_plugin', properties, { |
| 798 |
send_immediately: true |
| 799 |
}); |
| 800 |
} |
| 801 |
static trackProDeactivation() { |
| 802 |
this.trackProAction('deactivate'); |
| 803 |
} |
| 804 |
static attachProDeletionTracking() { |
| 805 |
if ('undefined' === typeof jQuery) { |
| 806 |
return; |
| 807 |
} |
| 808 |
jQuery(document).on('wp-plugin-deleting', (event, args) => { |
| 809 |
if ('elementor-pro' === args?.slug) { |
| 810 |
this.trackProAction('delete'); |
| 811 |
} |
| 812 |
}); |
| 813 |
} |
| 814 |
static destroy() { |
| 815 |
if ('undefined' !== typeof jQuery) { |
| 816 |
jQuery(document).off('wp-plugin-deleting'); |
| 817 |
} |
| 818 |
_baseTracking.default.destroy.call(this); |
| 819 |
} |
| 820 |
static trackProAction(action) { |
| 821 |
const eventMap = { |
| 822 |
deactivate: { |
| 823 |
eventName: 'wpdash_deactivate_plugin', |
| 824 |
propertyKey: 'deactivate_plugin_type' |
| 825 |
}, |
| 826 |
delete: { |
| 827 |
eventName: 'wpdash_delete_plugin', |
| 828 |
propertyKey: 'plugin_delete' |
| 829 |
} |
| 830 |
}; |
| 831 |
const config = eventMap[action]; |
| 832 |
if (!config) { |
| 833 |
return; |
| 834 |
} |
| 835 |
const properties = { |
| 836 |
[config.propertyKey]: PLUGIN_TYPE.ELEMENTOR_PRO |
| 837 |
}; |
| 838 |
_wpDashboardTracking.default.dispatchEvent(config.eventName, properties, { |
| 839 |
send_immediately: true |
| 840 |
}); |
| 841 |
} |
| 842 |
} |
| 843 |
var _default = exports["default"] = PluginActions; |
| 844 |
|
| 845 |
/***/ }), |
| 846 |
|
| 847 |
/***/ "../app/assets/js/event-track/dashboard/promotion.js": |
| 848 |
/*!***********************************************************!*\ |
| 849 |
!*** ../app/assets/js/event-track/dashboard/promotion.js ***! |
| 850 |
\***********************************************************/ |
| 851 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 852 |
|
| 853 |
"use strict"; |
| 854 |
|
| 855 |
|
| 856 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 857 |
Object.defineProperty(exports, "__esModule", ({ |
| 858 |
value: true |
| 859 |
})); |
| 860 |
exports["default"] = void 0; |
| 861 |
var _wpDashboardTracking = _interopRequireDefault(__webpack_require__(/*! ../wp-dashboard-tracking */ "../app/assets/js/event-track/wp-dashboard-tracking.js")); |
| 862 |
var _baseTracking = _interopRequireDefault(__webpack_require__(/*! ./base-tracking */ "../app/assets/js/event-track/dashboard/base-tracking.js")); |
| 863 |
const PROMO_SELECTORS = { |
| 864 |
PROMO_PAGE: '.e-feature-promotion, .elementor-settings-form-page, #elementor-element-manager-wrap', |
| 865 |
PROMO_BLANK_STATE: '.elementor-blank_state', |
| 866 |
CTA_BUTTON: '.go-pro', |
| 867 |
TITLE: 'h3' |
| 868 |
}; |
| 869 |
class PromotionTracking extends _baseTracking.default { |
| 870 |
static init() { |
| 871 |
this.attachDelegatedTracking(); |
| 872 |
} |
| 873 |
static attachDelegatedTracking() { |
| 874 |
this.addEventListenerTracked(document, 'click', event => { |
| 875 |
const target = event.target; |
| 876 |
if (!target) { |
| 877 |
return; |
| 878 |
} |
| 879 |
const button = target.closest(`a${PROMO_SELECTORS.CTA_BUTTON}`); |
| 880 |
if (!button) { |
| 881 |
return; |
| 882 |
} |
| 883 |
const promoPage = button.closest(`${PROMO_SELECTORS.PROMO_PAGE}, ${PROMO_SELECTORS.PROMO_BLANK_STATE}`); |
| 884 |
if (!promoPage) { |
| 885 |
return; |
| 886 |
} |
| 887 |
this.handlePromoClick(button, promoPage); |
| 888 |
}, { |
| 889 |
capture: true |
| 890 |
}); |
| 891 |
} |
| 892 |
static handlePromoClick(button, promoPage) { |
| 893 |
const promoTitle = this.extractPromoTitle(promoPage, button); |
| 894 |
const destination = button.getAttribute('href'); |
| 895 |
const path = this.extractPromoPath(); |
| 896 |
_wpDashboardTracking.default.trackPromoClicked(promoTitle, destination, path); |
| 897 |
} |
| 898 |
static extractPromoTitle(promoPage, button) { |
| 899 |
const titleElement = promoPage.querySelector(PROMO_SELECTORS.TITLE); |
| 900 |
return titleElement ? titleElement.textContent.trim() : button.textContent.trim(); |
| 901 |
} |
| 902 |
static extractPromoPath() { |
| 903 |
const urlParams = new URLSearchParams(window.location.search); |
| 904 |
const page = urlParams.get('page'); |
| 905 |
if (!page) { |
| 906 |
return 'elementor'; |
| 907 |
} |
| 908 |
return page.replace('elementor_', '').replace(/_/g, '/'); |
| 909 |
} |
| 910 |
} |
| 911 |
var _default = exports["default"] = PromotionTracking; |
| 912 |
|
| 913 |
/***/ }), |
| 914 |
|
| 915 |
/***/ "../app/assets/js/event-track/dashboard/screen-view.js": |
| 916 |
/*!*************************************************************!*\ |
| 917 |
!*** ../app/assets/js/event-track/dashboard/screen-view.js ***! |
| 918 |
\*************************************************************/ |
| 919 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 920 |
|
| 921 |
"use strict"; |
| 922 |
|
| 923 |
|
| 924 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 925 |
Object.defineProperty(exports, "__esModule", ({ |
| 926 |
value: true |
| 927 |
})); |
| 928 |
exports["default"] = void 0; |
| 929 |
__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); |
| 930 |
__webpack_require__(/*! core-js/modules/esnext.iterator.filter.js */ "../node_modules/core-js/modules/esnext.iterator.filter.js"); |
| 931 |
__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js"); |
| 932 |
var _wpDashboardTracking = _interopRequireWildcard(__webpack_require__(/*! ../wp-dashboard-tracking */ "../app/assets/js/event-track/wp-dashboard-tracking.js")); |
| 933 |
var _utils = __webpack_require__(/*! ./utils */ "../app/assets/js/event-track/dashboard/utils.js"); |
| 934 |
var _baseTracking = _interopRequireDefault(__webpack_require__(/*! ./base-tracking */ "../app/assets/js/event-track/dashboard/base-tracking.js")); |
| 935 |
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); } |
| 936 |
const SCREEN_SELECTORS = { |
| 937 |
NAV_TAB_WRAPPER: '.nav-tab-wrapper', |
| 938 |
NAV_TAB: '.nav-tab', |
| 939 |
NAV_TAB_ACTIVE: '.nav-tab-active', |
| 940 |
SETTINGS_FORM_PAGE: '.elementor-settings-form-page', |
| 941 |
SETTINGS_FORM_PAGE_ACTIVE: '.elementor-settings-form-page.elementor-active', |
| 942 |
FLOATING_ELEMENTS_MODAL: '#elementor-new-floating-elements-modal', |
| 943 |
TEMPLATE_DIALOG_MODAL: '#elementor-new-template-dialog-content' |
| 944 |
}; |
| 945 |
const TRACKED_MODALS = [SCREEN_SELECTORS.FLOATING_ELEMENTS_MODAL, SCREEN_SELECTORS.TEMPLATE_DIALOG_MODAL]; |
| 946 |
class ScreenViewTracking extends _baseTracking.default { |
| 947 |
static trackedScreens = new Set(); |
| 948 |
static init() { |
| 949 |
if (!_utils.DashboardUtils.isElementorPage()) { |
| 950 |
return; |
| 951 |
} |
| 952 |
this.attachTabChangeTracking(); |
| 953 |
} |
| 954 |
static destroy() { |
| 955 |
super.destroy(); |
| 956 |
this.trackedScreens.clear(); |
| 957 |
} |
| 958 |
static getScreenData() { |
| 959 |
const urlParams = new URLSearchParams(window.location.search); |
| 960 |
const page = urlParams.get('page'); |
| 961 |
const postType = urlParams.get('post_type'); |
| 962 |
const hash = window.location.hash; |
| 963 |
let screenId = ''; |
| 964 |
let screenType = ''; |
| 965 |
if (page) { |
| 966 |
screenId = page; |
| 967 |
} else if (postType) { |
| 968 |
screenId = postType; |
| 969 |
} else { |
| 970 |
screenId = this.getScreenIdFromBody(); |
| 971 |
} |
| 972 |
if (this.isElementorAppPage()) { |
| 973 |
const appScreenData = this.getAppScreenData(hash); |
| 974 |
if (appScreenData) { |
| 975 |
return appScreenData; |
| 976 |
} |
| 977 |
} |
| 978 |
const hasNavTabs = document.querySelector(SCREEN_SELECTORS.NAV_TAB_WRAPPER); |
| 979 |
const hasSettingsTabs = document.querySelectorAll(SCREEN_SELECTORS.SETTINGS_FORM_PAGE).length > 1; |
| 980 |
if (hasNavTabs || hasSettingsTabs || hash && !this.isElementorAppPage()) { |
| 981 |
screenType = _wpDashboardTracking.SCREEN_TYPES.TAB; |
| 982 |
if (hash) { |
| 983 |
const tabId = hash.replace(/^#(tab-)?/, ''); |
| 984 |
screenId = `${screenId}-${tabId}`; |
| 985 |
} else if (hasNavTabs) { |
| 986 |
const activeTab = document.querySelector(SCREEN_SELECTORS.NAV_TAB_ACTIVE); |
| 987 |
if (activeTab) { |
| 988 |
const tabText = activeTab.textContent.trim(); |
| 989 |
const tabHref = activeTab.getAttribute('href'); |
| 990 |
if (tabText) { |
| 991 |
screenId = `${screenId}-${this.sanitizeScreenId(tabText)}`; |
| 992 |
} else if (tabHref && tabHref.includes('#')) { |
| 993 |
const tabId = tabHref.split('#')[1]; |
| 994 |
screenId = `${screenId}-${tabId}`; |
| 995 |
} |
| 996 |
} |
| 997 |
} else if (hasSettingsTabs) { |
| 998 |
const activeSettingsTab = document.querySelector(SCREEN_SELECTORS.SETTINGS_FORM_PAGE_ACTIVE); |
| 999 |
if (activeSettingsTab) { |
| 1000 |
const tabId = activeSettingsTab.id; |
| 1001 |
if (tabId) { |
| 1002 |
screenId = `${screenId}-${tabId}`; |
| 1003 |
} |
| 1004 |
} |
| 1005 |
} |
| 1006 |
} |
| 1007 |
return { |
| 1008 |
screenId, |
| 1009 |
screenType |
| 1010 |
}; |
| 1011 |
} |
| 1012 |
static isElementorAppPage() { |
| 1013 |
const urlParams = new URLSearchParams(window.location.search); |
| 1014 |
return 'elementor-app' === urlParams.get('page'); |
| 1015 |
} |
| 1016 |
static getAppScreenData(hash) { |
| 1017 |
if (!hash) { |
| 1018 |
return null; |
| 1019 |
} |
| 1020 |
const cleanHash = hash.replace(/^#/, ''); |
| 1021 |
if (!cleanHash.startsWith('/')) { |
| 1022 |
return null; |
| 1023 |
} |
| 1024 |
const pathParts = cleanHash.split('/').filter(Boolean); |
| 1025 |
if (0 === pathParts.length) { |
| 1026 |
return null; |
| 1027 |
} |
| 1028 |
const screenId = pathParts.join('/'); |
| 1029 |
const screenType = _wpDashboardTracking.SCREEN_TYPES.APP_SCREEN; |
| 1030 |
return { |
| 1031 |
screenId, |
| 1032 |
screenType |
| 1033 |
}; |
| 1034 |
} |
| 1035 |
static getScreenIdFromBody() { |
| 1036 |
const body = document.body; |
| 1037 |
const bodyClasses = body.className.split(' '); |
| 1038 |
for (const cls of bodyClasses) { |
| 1039 |
if (cls.startsWith('elementor') && (cls.includes('page') || cls.includes('post-type'))) { |
| 1040 |
return cls; |
| 1041 |
} |
| 1042 |
} |
| 1043 |
return 'elementor-unknown'; |
| 1044 |
} |
| 1045 |
static sanitizeScreenId(text) { |
| 1046 |
return text.toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/^-|-$/g, ''); |
| 1047 |
} |
| 1048 |
static attachTabChangeTracking() { |
| 1049 |
this.attachNavTabTracking(); |
| 1050 |
this.attachHashChangeTracking(); |
| 1051 |
this.attachSettingsTabTracking(); |
| 1052 |
this.attachModalTracking(); |
| 1053 |
} |
| 1054 |
static attachNavTabTracking() { |
| 1055 |
const wrapper = document.querySelector(SCREEN_SELECTORS.NAV_TAB_WRAPPER); |
| 1056 |
if (!wrapper) { |
| 1057 |
return; |
| 1058 |
} |
| 1059 |
this.addEventListenerTracked(wrapper, 'click', event => { |
| 1060 |
const navTab = event.target.closest(SCREEN_SELECTORS.NAV_TAB); |
| 1061 |
if (navTab && !navTab.classList.contains('nav-tab-active')) { |
| 1062 |
const screenData = this.getScreenData(); |
| 1063 |
if (screenData) { |
| 1064 |
this.trackScreen(screenData.screenId, screenData.screenType); |
| 1065 |
} |
| 1066 |
} |
| 1067 |
}); |
| 1068 |
} |
| 1069 |
static attachHashChangeTracking() { |
| 1070 |
this.addEventListenerTracked(window, 'hashchange', () => { |
| 1071 |
const screenData = this.getScreenData(); |
| 1072 |
if (screenData) { |
| 1073 |
this.trackScreen(screenData.screenId, screenData.screenType); |
| 1074 |
} |
| 1075 |
}); |
| 1076 |
} |
| 1077 |
static attachSettingsTabTracking() { |
| 1078 |
const settingsPages = document.querySelectorAll(SCREEN_SELECTORS.SETTINGS_FORM_PAGE); |
| 1079 |
if (0 === settingsPages.length) { |
| 1080 |
return; |
| 1081 |
} |
| 1082 |
settingsPages.forEach(page => { |
| 1083 |
this.addObserver(page, { |
| 1084 |
attributes: true, |
| 1085 |
attributeFilter: ['class'] |
| 1086 |
}, () => { |
| 1087 |
const screenData = this.getScreenData(); |
| 1088 |
if (screenData) { |
| 1089 |
this.trackScreen(screenData.screenId, screenData.screenType); |
| 1090 |
} |
| 1091 |
}); |
| 1092 |
}); |
| 1093 |
} |
| 1094 |
static attachModalTracking() { |
| 1095 |
this.addObserver(document.body, { |
| 1096 |
childList: true, |
| 1097 |
subtree: true |
| 1098 |
}, mutations => { |
| 1099 |
for (const mutation of mutations) { |
| 1100 |
if ('childList' === mutation.type) { |
| 1101 |
TRACKED_MODALS.forEach(modalSelector => { |
| 1102 |
const modal = document.querySelector(modalSelector); |
| 1103 |
if (modal && this.isModalVisible(modal)) { |
| 1104 |
const modalId = modalSelector.replace('#', ''); |
| 1105 |
this.trackScreen(modalId, _wpDashboardTracking.SCREEN_TYPES.POPUP); |
| 1106 |
} |
| 1107 |
}); |
| 1108 |
} |
| 1109 |
} |
| 1110 |
}); |
| 1111 |
} |
| 1112 |
static isModalVisible(element) { |
| 1113 |
if (!element) { |
| 1114 |
return false; |
| 1115 |
} |
| 1116 |
const style = window.getComputedStyle(element); |
| 1117 |
return 'none' !== style.display && 0 !== parseFloat(style.opacity); |
| 1118 |
} |
| 1119 |
static trackScreen(screenId, screenType = _wpDashboardTracking.SCREEN_TYPES.TOP_LEVEL_PAGE) { |
| 1120 |
const trackingKey = `${screenId}-${screenType}`; |
| 1121 |
if (this.trackedScreens.has(trackingKey)) { |
| 1122 |
return; |
| 1123 |
} |
| 1124 |
this.trackedScreens.add(trackingKey); |
| 1125 |
_wpDashboardTracking.default.trackScreenViewed(screenId, screenType); |
| 1126 |
} |
| 1127 |
} |
| 1128 |
var _default = exports["default"] = ScreenViewTracking; |
| 1129 |
|
| 1130 |
/***/ }), |
| 1131 |
|
| 1132 |
/***/ "../app/assets/js/event-track/dashboard/top-bar.js": |
| 1133 |
/*!*********************************************************!*\ |
| 1134 |
!*** ../app/assets/js/event-track/dashboard/top-bar.js ***! |
| 1135 |
\*********************************************************/ |
| 1136 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 1137 |
|
| 1138 |
"use strict"; |
| 1139 |
|
| 1140 |
|
| 1141 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 1142 |
Object.defineProperty(exports, "__esModule", ({ |
| 1143 |
value: true |
| 1144 |
})); |
| 1145 |
exports["default"] = void 0; |
| 1146 |
__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); |
| 1147 |
__webpack_require__(/*! core-js/modules/esnext.iterator.filter.js */ "../node_modules/core-js/modules/esnext.iterator.filter.js"); |
| 1148 |
__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js"); |
| 1149 |
var _wpDashboardTracking = _interopRequireWildcard(__webpack_require__(/*! ../wp-dashboard-tracking */ "../app/assets/js/event-track/wp-dashboard-tracking.js")); |
| 1150 |
var _baseTracking = _interopRequireDefault(__webpack_require__(/*! ./base-tracking */ "../app/assets/js/event-track/dashboard/base-tracking.js")); |
| 1151 |
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); } |
| 1152 |
const TOP_BAR_SELECTORS = { |
| 1153 |
TOP_BAR_ROOT: '.e-admin-top-bar', |
| 1154 |
BAR_BUTTON: '.e-admin-top-bar__bar-button', |
| 1155 |
BUTTON_TITLE: '.e-admin-top-bar__bar-button-title', |
| 1156 |
MAIN_AREA: '.e-admin-top-bar__main-area', |
| 1157 |
SECONDARY_AREA: '.e-admin-top-bar__secondary-area' |
| 1158 |
}; |
| 1159 |
class TopBarTracking extends _baseTracking.default { |
| 1160 |
static init() { |
| 1161 |
this.waitForTopBar(); |
| 1162 |
} |
| 1163 |
static waitForTopBar() { |
| 1164 |
const topBar = document.querySelector(TOP_BAR_SELECTORS.TOP_BAR_ROOT); |
| 1165 |
if (topBar) { |
| 1166 |
this.attachTopBarTracking(topBar); |
| 1167 |
return; |
| 1168 |
} |
| 1169 |
const observer = this.addObserver(document.body, { |
| 1170 |
childList: true, |
| 1171 |
subtree: true |
| 1172 |
}, () => { |
| 1173 |
const foundTopBar = document.querySelector(TOP_BAR_SELECTORS.TOP_BAR_ROOT); |
| 1174 |
if (foundTopBar) { |
| 1175 |
this.attachTopBarTracking(foundTopBar); |
| 1176 |
observer.disconnect(); |
| 1177 |
clearTimeout(timeoutId); |
| 1178 |
} |
| 1179 |
}); |
| 1180 |
const timeoutId = setTimeout(() => { |
| 1181 |
observer.disconnect(); |
| 1182 |
}, 10000); |
| 1183 |
} |
| 1184 |
static attachTopBarTracking(topBar) { |
| 1185 |
const buttons = topBar.querySelectorAll(TOP_BAR_SELECTORS.BAR_BUTTON); |
| 1186 |
buttons.forEach(button => { |
| 1187 |
this.addEventListenerTracked(button, 'click', event => { |
| 1188 |
this.handleTopBarClick(event); |
| 1189 |
}); |
| 1190 |
}); |
| 1191 |
this.observeTopBarChanges(topBar); |
| 1192 |
} |
| 1193 |
static observeTopBarChanges(topBar) { |
| 1194 |
this.addObserver(topBar, { |
| 1195 |
childList: true, |
| 1196 |
subtree: true |
| 1197 |
}, mutations => { |
| 1198 |
mutations.forEach(mutation => { |
| 1199 |
if ('childList' === mutation.type) { |
| 1200 |
mutation.addedNodes.forEach(node => { |
| 1201 |
if (1 === node.nodeType) { |
| 1202 |
if (node.matches && node.matches(TOP_BAR_SELECTORS.BAR_BUTTON)) { |
| 1203 |
this.addEventListenerTracked(node, 'click', event => { |
| 1204 |
this.handleTopBarClick(event); |
| 1205 |
}); |
| 1206 |
} else { |
| 1207 |
const buttons = node.querySelectorAll ? node.querySelectorAll(TOP_BAR_SELECTORS.BAR_BUTTON) : []; |
| 1208 |
buttons.forEach(button => { |
| 1209 |
this.addEventListenerTracked(button, 'click', event => { |
| 1210 |
this.handleTopBarClick(event); |
| 1211 |
}); |
| 1212 |
}); |
| 1213 |
} |
| 1214 |
} |
| 1215 |
}); |
| 1216 |
} |
| 1217 |
}); |
| 1218 |
}); |
| 1219 |
} |
| 1220 |
static handleTopBarClick(event) { |
| 1221 |
const button = event.currentTarget; |
| 1222 |
const itemId = this.extractItemId(button); |
| 1223 |
_wpDashboardTracking.default.trackNavClicked(itemId, null, _wpDashboardTracking.NAV_AREAS.TOP_BAR); |
| 1224 |
} |
| 1225 |
static extractItemId(button) { |
| 1226 |
const titleElement = button.querySelector(TOP_BAR_SELECTORS.BUTTON_TITLE); |
| 1227 |
if (titleElement && titleElement.textContent.trim()) { |
| 1228 |
return titleElement.textContent.trim(); |
| 1229 |
} |
| 1230 |
const textContent = button.textContent.trim(); |
| 1231 |
if (textContent) { |
| 1232 |
return textContent; |
| 1233 |
} |
| 1234 |
const href = button.getAttribute('href'); |
| 1235 |
if (href) { |
| 1236 |
const urlParams = new URLSearchParams(href.split('?')[1] || ''); |
| 1237 |
const page = urlParams.get('page'); |
| 1238 |
if (page) { |
| 1239 |
return page; |
| 1240 |
} |
| 1241 |
if (href.includes('/wp-admin/')) { |
| 1242 |
const pathParts = href.split('/wp-admin/')[1]; |
| 1243 |
if (pathParts) { |
| 1244 |
return pathParts.split('?')[0]; |
| 1245 |
} |
| 1246 |
} |
| 1247 |
try { |
| 1248 |
const url = new URL(href, window.location.origin); |
| 1249 |
return url.pathname.split('/').filter(Boolean).pop() || url.hostname; |
| 1250 |
} catch (error) { |
| 1251 |
return href; |
| 1252 |
} |
| 1253 |
} |
| 1254 |
const dataInfo = button.getAttribute('data-info'); |
| 1255 |
if (dataInfo) { |
| 1256 |
return dataInfo; |
| 1257 |
} |
| 1258 |
const classes = button.className.split(' ').filter(cls => cls && 'e-admin-top-bar__bar-button' !== cls); |
| 1259 |
if (classes.length > 0) { |
| 1260 |
return classes.join('-'); |
| 1261 |
} |
| 1262 |
return 'unknown-top-bar-button'; |
| 1263 |
} |
| 1264 |
} |
| 1265 |
var _default = exports["default"] = TopBarTracking; |
| 1266 |
|
| 1267 |
/***/ }), |
| 1268 |
|
| 1269 |
/***/ "../app/assets/js/event-track/dashboard/utils.js": |
| 1270 |
/*!*******************************************************!*\ |
| 1271 |
!*** ../app/assets/js/event-track/dashboard/utils.js ***! |
| 1272 |
\*******************************************************/ |
| 1273 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 1274 |
|
| 1275 |
"use strict"; |
| 1276 |
|
| 1277 |
|
| 1278 |
Object.defineProperty(exports, "__esModule", ({ |
| 1279 |
value: true |
| 1280 |
})); |
| 1281 |
exports.DashboardUtils = void 0; |
| 1282 |
__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); |
| 1283 |
__webpack_require__(/*! core-js/modules/esnext.iterator.some.js */ "../node_modules/core-js/modules/esnext.iterator.some.js"); |
| 1284 |
const DashboardUtils = exports.DashboardUtils = { |
| 1285 |
isElementorPage() { |
| 1286 |
const urlParams = new URLSearchParams(window.location.search); |
| 1287 |
const page = urlParams.get('page'); |
| 1288 |
if (page && (page.startsWith('elementor') || page.includes('elementor'))) { |
| 1289 |
return true; |
| 1290 |
} |
| 1291 |
const postType = urlParams.get('post_type'); |
| 1292 |
if ('elementor_library' === postType || 'e-floating-buttons' === postType) { |
| 1293 |
return true; |
| 1294 |
} |
| 1295 |
const body = document.body; |
| 1296 |
const bodyClasses = body.className.split(' '); |
| 1297 |
return bodyClasses.some(cls => cls.includes('elementor') && (cls.includes('page') || cls.includes('post-type'))); |
| 1298 |
} |
| 1299 |
}; |
| 1300 |
|
| 1301 |
/***/ }), |
| 1302 |
|
| 1303 |
/***/ "../app/assets/js/event-track/wp-dashboard-tracking.js": |
| 1304 |
/*!*************************************************************!*\ |
| 1305 |
!*** ../app/assets/js/event-track/wp-dashboard-tracking.js ***! |
| 1306 |
\*************************************************************/ |
| 1307 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 1308 |
|
| 1309 |
"use strict"; |
| 1310 |
|
| 1311 |
|
| 1312 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 1313 |
Object.defineProperty(exports, "__esModule", ({ |
| 1314 |
value: true |
| 1315 |
})); |
| 1316 |
exports["default"] = exports.SCREEN_TYPES = exports.NAV_AREAS = exports.CONTROL_TYPES = void 0; |
| 1317 |
__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js"); |
| 1318 |
__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); |
| 1319 |
__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js"); |
| 1320 |
var _navigation = _interopRequireDefault(__webpack_require__(/*! ./dashboard/navigation */ "../app/assets/js/event-track/dashboard/navigation.js")); |
| 1321 |
var _pluginActions = _interopRequireDefault(__webpack_require__(/*! ./dashboard/plugin-actions */ "../app/assets/js/event-track/dashboard/plugin-actions.js")); |
| 1322 |
var _promotion = _interopRequireDefault(__webpack_require__(/*! ./dashboard/promotion */ "../app/assets/js/event-track/dashboard/promotion.js")); |
| 1323 |
var _screenView = _interopRequireDefault(__webpack_require__(/*! ./dashboard/screen-view */ "../app/assets/js/event-track/dashboard/screen-view.js")); |
| 1324 |
var _menuPromotion = _interopRequireDefault(__webpack_require__(/*! ./dashboard/menu-promotion */ "../app/assets/js/event-track/dashboard/menu-promotion.js")); |
| 1325 |
var _actionControls = _interopRequireDefault(__webpack_require__(/*! ./dashboard/action-controls */ "../app/assets/js/event-track/dashboard/action-controls.js")); |
| 1326 |
var _topBar = _interopRequireDefault(__webpack_require__(/*! ./dashboard/top-bar */ "../app/assets/js/event-track/dashboard/top-bar.js")); |
| 1327 |
const SESSION_TIMEOUT_MINUTES = 30; |
| 1328 |
const MINUTE_MS = 60 * 1000; |
| 1329 |
const SESSION_TIMEOUT = SESSION_TIMEOUT_MINUTES * MINUTE_MS; |
| 1330 |
const ACTIVITY_CHECK_INTERVAL = 1 * MINUTE_MS; |
| 1331 |
const SESSION_STORAGE_KEY = 'elementor_wpdash_session'; |
| 1332 |
const PENDING_NAV_CLICK_KEY = 'elementor_wpdash_pending_nav'; |
| 1333 |
const CONTROL_TYPES = exports.CONTROL_TYPES = { |
| 1334 |
BUTTON: 'button', |
| 1335 |
CHECKBOX: 'checkbox', |
| 1336 |
RADIO: 'radio', |
| 1337 |
LINK: 'link', |
| 1338 |
SELECT: 'select', |
| 1339 |
TOGGLE: 'toggle', |
| 1340 |
FILTER: 'filter' |
| 1341 |
}; |
| 1342 |
const NAV_AREAS = exports.NAV_AREAS = { |
| 1343 |
LEFT_MENU: 'left_menu', |
| 1344 |
SUBMENU: 'submenu', |
| 1345 |
HOVER_MENU: 'hover_menu', |
| 1346 |
TOP_BAR: 'top_bar', |
| 1347 |
SIDEBAR_MENU: 'sidebar' |
| 1348 |
}; |
| 1349 |
const SCREEN_TYPES = exports.SCREEN_TYPES = { |
| 1350 |
TAB: 'tab', |
| 1351 |
POPUP: 'popup', |
| 1352 |
APP_SCREEN: 'app_screen' |
| 1353 |
}; |
| 1354 |
class WpDashboardTracking { |
| 1355 |
static sessionStartTime = Date.now(); |
| 1356 |
static lastActivityTime = Date.now(); |
| 1357 |
static sessionEnded = false; |
| 1358 |
static navItemsVisited = new Set(); |
| 1359 |
static activityCheckInterval = null; |
| 1360 |
static initialized = false; |
| 1361 |
static navigationListeners = []; |
| 1362 |
static isNavigatingToElementor = false; |
| 1363 |
static init() { |
| 1364 |
if (this.initialized) { |
| 1365 |
return; |
| 1366 |
} |
| 1367 |
this.restoreOrCreateSession(); |
| 1368 |
if (this.isEventsManagerAvailable()) { |
| 1369 |
this.startSessionMonitoring(); |
| 1370 |
this.attachActivityListeners(); |
| 1371 |
this.attachNavigationListener(); |
| 1372 |
this.initialized = true; |
| 1373 |
} |
| 1374 |
} |
| 1375 |
static restoreOrCreateSession() { |
| 1376 |
const storedSession = this.getStoredSession(); |
| 1377 |
if (storedSession) { |
| 1378 |
this.sessionStartTime = storedSession.sessionStartTime; |
| 1379 |
this.navItemsVisited = new Set(storedSession.navItemsVisited); |
| 1380 |
this.lastActivityTime = Date.now(); |
| 1381 |
this.sessionEnded = false; |
| 1382 |
} else { |
| 1383 |
this.sessionStartTime = Date.now(); |
| 1384 |
this.lastActivityTime = Date.now(); |
| 1385 |
this.sessionEnded = false; |
| 1386 |
this.navItemsVisited = new Set(); |
| 1387 |
} |
| 1388 |
this.processPendingNavClick(); |
| 1389 |
this.saveSessionToStorage(); |
| 1390 |
} |
| 1391 |
static isEditorOneActive() { |
| 1392 |
return elementorCommon?.config?.editor_events?.isEditorOneActive ?? false; |
| 1393 |
} |
| 1394 |
static processPendingNavClick() { |
| 1395 |
try { |
| 1396 |
const pendingNav = sessionStorage.getItem(PENDING_NAV_CLICK_KEY); |
| 1397 |
if (pendingNav) { |
| 1398 |
const { |
| 1399 |
itemId, |
| 1400 |
rootItem, |
| 1401 |
area |
| 1402 |
} = JSON.parse(pendingNav); |
| 1403 |
this.navItemsVisited.add(itemId); |
| 1404 |
const properties = { |
| 1405 |
wpdash_nav_item_id: itemId, |
| 1406 |
wpdash_nav_area: area |
| 1407 |
}; |
| 1408 |
if (rootItem) { |
| 1409 |
properties.wpdash_nav_item_root = rootItem; |
| 1410 |
} |
| 1411 |
this.dispatchEvent('wpdash_nav_clicked', properties, { |
| 1412 |
send_immediately: true |
| 1413 |
}); |
| 1414 |
sessionStorage.removeItem(PENDING_NAV_CLICK_KEY); |
| 1415 |
} |
| 1416 |
} catch (error) { |
| 1417 |
sessionStorage.removeItem(PENDING_NAV_CLICK_KEY); |
| 1418 |
} |
| 1419 |
} |
| 1420 |
static getStoredSession() { |
| 1421 |
try { |
| 1422 |
const stored = sessionStorage.getItem(SESSION_STORAGE_KEY); |
| 1423 |
return stored ? JSON.parse(stored) : null; |
| 1424 |
} catch (error) { |
| 1425 |
return null; |
| 1426 |
} |
| 1427 |
} |
| 1428 |
static saveSessionToStorage() { |
| 1429 |
const sessionData = { |
| 1430 |
sessionStartTime: this.sessionStartTime, |
| 1431 |
navItemsVisited: Array.from(this.navItemsVisited) |
| 1432 |
}; |
| 1433 |
sessionStorage.setItem(SESSION_STORAGE_KEY, JSON.stringify(sessionData)); |
| 1434 |
} |
| 1435 |
static clearStoredSession() { |
| 1436 |
sessionStorage.removeItem(SESSION_STORAGE_KEY); |
| 1437 |
} |
| 1438 |
static isEventsManagerAvailable() { |
| 1439 |
return elementorCommon?.eventsManager && 'function' === typeof elementorCommon.eventsManager.dispatchEvent; |
| 1440 |
} |
| 1441 |
static canSendEvents() { |
| 1442 |
return elementorCommon?.config?.editor_events?.can_send_events || false; |
| 1443 |
} |
| 1444 |
static dispatchEvent(eventName, properties = {}, options = {}) { |
| 1445 |
if (!this.isEventsManagerAvailable() || !this.canSendEvents()) { |
| 1446 |
return; |
| 1447 |
} |
| 1448 |
elementorCommon.eventsManager.dispatchEvent(eventName, properties, options); |
| 1449 |
} |
| 1450 |
static updateActivity() { |
| 1451 |
this.lastActivityTime = Date.now(); |
| 1452 |
} |
| 1453 |
static startSessionMonitoring() { |
| 1454 |
this.activityCheckInterval = setInterval(() => { |
| 1455 |
this.checkSessionTimeout(); |
| 1456 |
}, ACTIVITY_CHECK_INTERVAL); |
| 1457 |
window.addEventListener('beforeunload', () => { |
| 1458 |
if (!this.sessionEnded && !this.isNavigatingToElementor) { |
| 1459 |
this.trackSessionEnd('tab_closed'); |
| 1460 |
} |
| 1461 |
}); |
| 1462 |
document.addEventListener('visibilitychange', () => { |
| 1463 |
if (!this.sessionEnded && document.hidden) { |
| 1464 |
const timeSinceLastActivity = Date.now() - this.lastActivityTime; |
| 1465 |
if (timeSinceLastActivity > SESSION_TIMEOUT) { |
| 1466 |
this.trackSessionEnd('tab_inactive'); |
| 1467 |
} |
| 1468 |
} |
| 1469 |
}); |
| 1470 |
} |
| 1471 |
static isElementorPage(url) { |
| 1472 |
try { |
| 1473 |
const urlObj = new URL(url, window.location.origin); |
| 1474 |
const params = urlObj.searchParams; |
| 1475 |
const page = params.get('page'); |
| 1476 |
const postType = params.get('post_type'); |
| 1477 |
const action = params.get('action'); |
| 1478 |
const elementorPages = ['elementor', 'go_knowledge_base_site', 'e-form-submissions']; |
| 1479 |
const elementorPostTypes = ['elementor_library', 'e-floating-buttons']; |
| 1480 |
return page && elementorPages.some(p => page.includes(p)) || postType && elementorPostTypes.includes(postType) || action && action.includes('elementor'); |
| 1481 |
} catch (error) { |
| 1482 |
return false; |
| 1483 |
} |
| 1484 |
} |
| 1485 |
static isPluginsPage(url) { |
| 1486 |
try { |
| 1487 |
const urlObj = new URL(url, window.location.origin); |
| 1488 |
return urlObj.pathname.includes('plugins.php'); |
| 1489 |
} catch (error) { |
| 1490 |
return false; |
| 1491 |
} |
| 1492 |
} |
| 1493 |
static isNavigatingAwayFromElementor(targetUrl) { |
| 1494 |
if (!targetUrl) { |
| 1495 |
return false; |
| 1496 |
} |
| 1497 |
if (targetUrl.startsWith('#')) { |
| 1498 |
return false; |
| 1499 |
} |
| 1500 |
return !this.isElementorPage(targetUrl); |
| 1501 |
} |
| 1502 |
static isLinkOpeningInNewTab(link) { |
| 1503 |
const target = link.getAttribute('target'); |
| 1504 |
return '_blank' === target || '_new' === target; |
| 1505 |
} |
| 1506 |
static attachNavigationListener() { |
| 1507 |
const handleLinkClick = event => { |
| 1508 |
const link = event.target.closest('a'); |
| 1509 |
if (link && link.href) { |
| 1510 |
if (this.isLinkOpeningInNewTab(link)) { |
| 1511 |
return; |
| 1512 |
} |
| 1513 |
if (!this.sessionEnded && this.isNavigatingAwayFromElementor(link.href)) { |
| 1514 |
this.trackSessionEnd('navigate_away'); |
| 1515 |
} else if (this.isElementorPage(link.href)) { |
| 1516 |
this.isNavigatingToElementor = true; |
| 1517 |
} |
| 1518 |
} |
| 1519 |
const isSidebar = event.target.closest('#editor-one-sidebar-navigation'); |
| 1520 |
if (isSidebar) { |
| 1521 |
this.isNavigatingToElementor = true; |
| 1522 |
} |
| 1523 |
}; |
| 1524 |
const handleFormSubmit = event => { |
| 1525 |
const form = event.target; |
| 1526 |
if (form.action) { |
| 1527 |
if (!this.sessionEnded && this.isNavigatingAwayFromElementor(form.action)) { |
| 1528 |
this.trackSessionEnd('navigate_away'); |
| 1529 |
} else if (this.isElementorPage(form.action)) { |
| 1530 |
this.isNavigatingToElementor = true; |
| 1531 |
} |
| 1532 |
} |
| 1533 |
}; |
| 1534 |
document.addEventListener('click', handleLinkClick, true); |
| 1535 |
document.addEventListener('submit', handleFormSubmit, true); |
| 1536 |
this.navigationListeners.push({ |
| 1537 |
type: 'click', |
| 1538 |
handler: handleLinkClick |
| 1539 |
}, { |
| 1540 |
type: 'submit', |
| 1541 |
handler: handleFormSubmit |
| 1542 |
}); |
| 1543 |
} |
| 1544 |
static checkSessionTimeout() { |
| 1545 |
const timeSinceLastActivity = Date.now() - this.lastActivityTime; |
| 1546 |
if (timeSinceLastActivity > SESSION_TIMEOUT && !this.sessionEnded) { |
| 1547 |
this.trackSessionEnd('timeout'); |
| 1548 |
} |
| 1549 |
} |
| 1550 |
static attachActivityListeners() { |
| 1551 |
const events = ['mousedown', 'keydown', 'scroll', 'touchstart', 'click']; |
| 1552 |
events.forEach(event => { |
| 1553 |
document.addEventListener(event, () => { |
| 1554 |
this.updateActivity(); |
| 1555 |
}, { |
| 1556 |
capture: true, |
| 1557 |
passive: true |
| 1558 |
}); |
| 1559 |
}); |
| 1560 |
} |
| 1561 |
static formatDuration(milliseconds) { |
| 1562 |
const totalSeconds = Math.floor(milliseconds / 1000); |
| 1563 |
return Number(totalSeconds.toFixed(2)); |
| 1564 |
} |
| 1565 |
static trackNavClicked(itemId, rootItem = null, area = NAV_AREAS.LEFT_MENU) { |
| 1566 |
if (!this.initialized) { |
| 1567 |
const pendingNav = { |
| 1568 |
itemId, |
| 1569 |
rootItem, |
| 1570 |
area |
| 1571 |
}; |
| 1572 |
sessionStorage.setItem(PENDING_NAV_CLICK_KEY, JSON.stringify(pendingNav)); |
| 1573 |
return; |
| 1574 |
} |
| 1575 |
this.updateActivity(); |
| 1576 |
this.navItemsVisited.add(itemId); |
| 1577 |
this.saveSessionToStorage(); |
| 1578 |
const properties = { |
| 1579 |
wpdash_nav_item_id: itemId, |
| 1580 |
wpdash_nav_area: area |
| 1581 |
}; |
| 1582 |
if (rootItem) { |
| 1583 |
properties.wpdash_nav_item_root = rootItem; |
| 1584 |
} |
| 1585 |
this.dispatchEvent('wpdash_nav_clicked', properties); |
| 1586 |
} |
| 1587 |
static trackScreenViewed(screenId, screenType = SCREEN_TYPES.TAB) { |
| 1588 |
this.updateActivity(); |
| 1589 |
const properties = { |
| 1590 |
wpdash_screen_id: screenId, |
| 1591 |
wpdash_screen_type: screenType |
| 1592 |
}; |
| 1593 |
this.dispatchEvent('wpdash_screen_viewed', properties); |
| 1594 |
} |
| 1595 |
static trackActionControl(controlIdentifier, controlType) { |
| 1596 |
this.updateActivity(); |
| 1597 |
const properties = { |
| 1598 |
wpdash_action_control_interacted: controlIdentifier, |
| 1599 |
wpdash_control_type: controlType |
| 1600 |
}; |
| 1601 |
this.dispatchEvent('wpdash_action_control', properties); |
| 1602 |
} |
| 1603 |
static trackPromoClicked(promoName, destination, clickPath) { |
| 1604 |
this.updateActivity(); |
| 1605 |
const properties = { |
| 1606 |
wpdash_promo_name: promoName, |
| 1607 |
wpdash_promo_destination: destination, |
| 1608 |
wpdash_promo_clicked_path: clickPath |
| 1609 |
}; |
| 1610 |
this.dispatchEvent('wpdash_promo_clicked', properties); |
| 1611 |
} |
| 1612 |
static trackSessionEnd(reason = 'timeout') { |
| 1613 |
if (this.sessionEnded) { |
| 1614 |
return; |
| 1615 |
} |
| 1616 |
this.sessionEnded = true; |
| 1617 |
if (this.activityCheckInterval) { |
| 1618 |
clearInterval(this.activityCheckInterval); |
| 1619 |
this.activityCheckInterval = null; |
| 1620 |
} |
| 1621 |
const duration = Date.now() - this.sessionStartTime; |
| 1622 |
const properties = { |
| 1623 |
wpdash_endstate_nav_summary: Array.from(this.navItemsVisited), |
| 1624 |
wpdash_endstate_nav_count: this.navItemsVisited.size, |
| 1625 |
wpdash_endstate_duration: this.formatDuration(duration), |
| 1626 |
reason |
| 1627 |
}; |
| 1628 |
this.dispatchEvent('wpdash_session_end_state', properties); |
| 1629 |
this.clearStoredSession(); |
| 1630 |
} |
| 1631 |
static destroy() { |
| 1632 |
if (this.activityCheckInterval) { |
| 1633 |
clearInterval(this.activityCheckInterval); |
| 1634 |
} |
| 1635 |
this.navigationListeners.forEach(({ |
| 1636 |
type, |
| 1637 |
handler |
| 1638 |
}) => { |
| 1639 |
document.removeEventListener(type, handler, true); |
| 1640 |
}); |
| 1641 |
this.navigationListeners = []; |
| 1642 |
_screenView.default.destroy(); |
| 1643 |
_promotion.default.destroy(); |
| 1644 |
_menuPromotion.default.destroy(); |
| 1645 |
_actionControls.default.destroy(); |
| 1646 |
if (!WpDashboardTracking.isEditorOneActive()) { |
| 1647 |
_topBar.default.destroy(); |
| 1648 |
} |
| 1649 |
this.initialized = false; |
| 1650 |
} |
| 1651 |
} |
| 1652 |
exports["default"] = WpDashboardTracking; |
| 1653 |
window.addEventListener('elementor/admin/init', () => { |
| 1654 |
const currentUrl = window.location.href; |
| 1655 |
const isPluginsPage = WpDashboardTracking.isPluginsPage(currentUrl); |
| 1656 |
const isElementorPage = WpDashboardTracking.isElementorPage(currentUrl); |
| 1657 |
if (isPluginsPage) { |
| 1658 |
_pluginActions.default.init(); |
| 1659 |
} |
| 1660 |
_navigation.default.init(); |
| 1661 |
if (isElementorPage) { |
| 1662 |
WpDashboardTracking.init(); |
| 1663 |
_screenView.default.init(); |
| 1664 |
_promotion.default.init(); |
| 1665 |
_menuPromotion.default.init(); |
| 1666 |
_actionControls.default.init(); |
| 1667 |
if (!WpDashboardTracking.isEditorOneActive()) { |
| 1668 |
_topBar.default.init(); |
| 1669 |
} |
| 1670 |
} |
| 1671 |
}); |
| 1672 |
window.addEventListener('beforeunload', () => { |
| 1673 |
_navigation.default.destroy(); |
| 1674 |
_pluginActions.default.destroy(); |
| 1675 |
WpDashboardTracking.destroy(); |
| 1676 |
}); |
| 1677 |
|
| 1678 |
/***/ }), |
| 1679 |
|
| 1680 |
/***/ "../app/modules/import-export-customization/assets/js/shared/registry/base.js": |
| 1681 |
/*!************************************************************************************!*\ |
| 1682 |
!*** ../app/modules/import-export-customization/assets/js/shared/registry/base.js ***! |
| 1683 |
\************************************************************************************/ |
| 1684 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 1685 |
|
| 1686 |
"use strict"; |
| 1687 |
|
| 1688 |
|
| 1689 |
Object.defineProperty(exports, "__esModule", ({ |
| 1690 |
value: true |
| 1691 |
})); |
| 1692 |
exports.BaseRegistry = void 0; |
| 1693 |
__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); |
| 1694 |
__webpack_require__(/*! core-js/modules/esnext.iterator.filter.js */ "../node_modules/core-js/modules/esnext.iterator.filter.js"); |
| 1695 |
__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js"); |
| 1696 |
__webpack_require__(/*! core-js/modules/esnext.iterator.map.js */ "../node_modules/core-js/modules/esnext.iterator.map.js"); |
| 1697 |
class BaseRegistry { |
| 1698 |
constructor() { |
| 1699 |
this.sections = new Map(); |
| 1700 |
} |
| 1701 |
register(section) { |
| 1702 |
if (!section.key || !section.title) { |
| 1703 |
throw new Error('Template type must have key and title'); |
| 1704 |
} |
| 1705 |
const existingSection = this.get(section.key); |
| 1706 |
const formattedSection = existingSection || this.formatSection(section); |
| 1707 |
if (section.children) { |
| 1708 |
// If existing section has children, merge them with new children |
| 1709 |
if (formattedSection.children) { |
| 1710 |
const existingChildrenMap = new Map(formattedSection.children.map(child => [child.key, child])); |
| 1711 |
|
| 1712 |
// Override existing children with new ones and add new children |
| 1713 |
section.children.forEach(childSection => { |
| 1714 |
const formattedChild = this.formatSection(childSection); |
| 1715 |
existingChildrenMap.set(childSection.key, formattedChild); |
| 1716 |
}); |
| 1717 |
formattedSection.children = Array.from(existingChildrenMap.values()); |
| 1718 |
} else { |
| 1719 |
formattedSection.children = section.children.map(childSection => this.formatSection(childSection)); |
| 1720 |
} |
| 1721 |
} |
| 1722 |
this.sections.set(section.key, formattedSection); |
| 1723 |
} |
| 1724 |
formatSection({ |
| 1725 |
children, |
| 1726 |
...section |
| 1727 |
}) { |
| 1728 |
return { |
| 1729 |
key: section.key, |
| 1730 |
title: section.title, |
| 1731 |
description: section.description || '', |
| 1732 |
useParentDefault: section.useParentDefault !== false, |
| 1733 |
getInitialState: section.getInitialState || null, |
| 1734 |
component: section.component || null, |
| 1735 |
order: section.order || 10, |
| 1736 |
isAvailable: section.isAvailable || (() => true), |
| 1737 |
...section |
| 1738 |
}; |
| 1739 |
} |
| 1740 |
getAll() { |
| 1741 |
return Array.from(this.sections.values()).filter(type => type.isAvailable()).map(type => { |
| 1742 |
if (type.children) { |
| 1743 |
return { |
| 1744 |
...type, |
| 1745 |
children: [...type.children].sort((a, b) => a.order - b.order) |
| 1746 |
}; |
| 1747 |
} |
| 1748 |
return type; |
| 1749 |
}).sort((a, b) => a.order - b.order); |
| 1750 |
} |
| 1751 |
get(key) { |
| 1752 |
return this.sections.get(key); |
| 1753 |
} |
| 1754 |
} |
| 1755 |
exports.BaseRegistry = BaseRegistry; |
| 1756 |
|
| 1757 |
/***/ }), |
| 1758 |
|
| 1759 |
/***/ "../app/modules/import-export-customization/assets/js/shared/registry/customization-dialogs.js": |
| 1760 |
/*!*****************************************************************************************************!*\ |
| 1761 |
!*** ../app/modules/import-export-customization/assets/js/shared/registry/customization-dialogs.js ***! |
| 1762 |
\*****************************************************************************************************/ |
| 1763 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 1764 |
|
| 1765 |
"use strict"; |
| 1766 |
|
| 1767 |
|
| 1768 |
Object.defineProperty(exports, "__esModule", ({ |
| 1769 |
value: true |
| 1770 |
})); |
| 1771 |
exports.customizationDialogsRegistry = void 0; |
| 1772 |
var _base = __webpack_require__(/*! ./base */ "../app/modules/import-export-customization/assets/js/shared/registry/base.js"); |
| 1773 |
const customizationDialogsRegistry = exports.customizationDialogsRegistry = new _base.BaseRegistry(); |
| 1774 |
|
| 1775 |
/***/ }), |
| 1776 |
|
| 1777 |
/***/ "../app/modules/import-export-customization/assets/js/shared/utils/template-registry-helpers.js": |
| 1778 |
/*!******************************************************************************************************!*\ |
| 1779 |
!*** ../app/modules/import-export-customization/assets/js/shared/utils/template-registry-helpers.js ***! |
| 1780 |
\******************************************************************************************************/ |
| 1781 |
/***/ ((__unused_webpack_module, exports) => { |
| 1782 |
|
| 1783 |
"use strict"; |
| 1784 |
|
| 1785 |
|
| 1786 |
Object.defineProperty(exports, "__esModule", ({ |
| 1787 |
value: true |
| 1788 |
})); |
| 1789 |
exports.createGetInitialState = createGetInitialState; |
| 1790 |
function createGetInitialState(exportGroup, additionalProps = {}) { |
| 1791 |
return (data, parentInitialState) => { |
| 1792 |
let isEnabled = parentInitialState; |
| 1793 |
const isImport = data.hasOwnProperty('uploadedData'); |
| 1794 |
if (isImport) { |
| 1795 |
isEnabled = false; |
| 1796 |
const templates = data.uploadedData.manifest.templates; |
| 1797 |
const exportGroups = elementorAppConfig?.['import-export-customization']?.exportGroups || {}; |
| 1798 |
for (const templateId in templates) { |
| 1799 |
const template = templates[templateId]; |
| 1800 |
const templateExportGroup = exportGroups[template.doc_type]; |
| 1801 |
if (templateExportGroup === exportGroup) { |
| 1802 |
isEnabled = true; |
| 1803 |
break; |
| 1804 |
} |
| 1805 |
} |
| 1806 |
} |
| 1807 |
return { |
| 1808 |
enabled: isEnabled, |
| 1809 |
...additionalProps |
| 1810 |
}; |
| 1811 |
}; |
| 1812 |
} |
| 1813 |
|
| 1814 |
/***/ }), |
| 1815 |
|
| 1816 |
/***/ "../assets/dev/js/editor/utils/is-instanceof.js": |
| 1817 |
/*!******************************************************!*\ |
| 1818 |
!*** ../assets/dev/js/editor/utils/is-instanceof.js ***! |
| 1819 |
\******************************************************/ |
| 1820 |
/***/ ((__unused_webpack_module, exports) => { |
| 1821 |
|
| 1822 |
"use strict"; |
| 1823 |
|
| 1824 |
|
| 1825 |
Object.defineProperty(exports, "__esModule", ({ |
| 1826 |
value: true |
| 1827 |
})); |
| 1828 |
exports["default"] = void 0; |
| 1829 |
/** |
| 1830 |
* Some FileAPI objects such as FileList, DataTransferItem and DataTransferItemList has inconsistency with the retrieved |
| 1831 |
* object (from events, etc.) and the actual JavaScript object so a regular instanceof doesn't work. This function can |
| 1832 |
* check whether it's instanceof by using the objects constructor and prototype names. |
| 1833 |
* |
| 1834 |
* @param object |
| 1835 |
* @param constructors |
| 1836 |
* @return {boolean} |
| 1837 |
*/ |
| 1838 |
var _default = (object, constructors) => { |
| 1839 |
constructors = Array.isArray(constructors) ? constructors : [constructors]; |
| 1840 |
for (const constructor of constructors) { |
| 1841 |
if (object.constructor.name === constructor.prototype[Symbol.toStringTag]) { |
| 1842 |
return true; |
| 1843 |
} |
| 1844 |
} |
| 1845 |
return false; |
| 1846 |
}; |
| 1847 |
exports["default"] = _default; |
| 1848 |
|
| 1849 |
/***/ }), |
| 1850 |
|
| 1851 |
/***/ "../assets/dev/js/frontend/document.js": |
| 1852 |
/*!*********************************************!*\ |
| 1853 |
!*** ../assets/dev/js/frontend/document.js ***! |
| 1854 |
\*********************************************/ |
| 1855 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 1856 |
|
| 1857 |
"use strict"; |
| 1858 |
|
| 1859 |
|
| 1860 |
Object.defineProperty(exports, "__esModule", ({ |
| 1861 |
value: true |
| 1862 |
})); |
| 1863 |
exports["default"] = void 0; |
| 1864 |
__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); |
| 1865 |
__webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js"); |
| 1866 |
class _default extends elementorModules.ViewModule { |
| 1867 |
getDefaultSettings() { |
| 1868 |
return { |
| 1869 |
selectors: { |
| 1870 |
elements: '.elementor-element', |
| 1871 |
nestedDocumentElements: '.elementor .elementor-element' |
| 1872 |
}, |
| 1873 |
classes: { |
| 1874 |
editMode: 'elementor-edit-mode' |
| 1875 |
} |
| 1876 |
}; |
| 1877 |
} |
| 1878 |
getDefaultElements() { |
| 1879 |
const selectors = this.getSettings('selectors'); |
| 1880 |
return { |
| 1881 |
$elements: this.$element.find(selectors.elements).not(this.$element.find(selectors.nestedDocumentElements)) |
| 1882 |
}; |
| 1883 |
} |
| 1884 |
getDocumentSettings(setting) { |
| 1885 |
let elementSettings; |
| 1886 |
if (this.isEdit) { |
| 1887 |
elementSettings = {}; |
| 1888 |
const settings = elementor.settings.page.model; |
| 1889 |
jQuery.each(settings.getActiveControls(), controlKey => { |
| 1890 |
elementSettings[controlKey] = settings.attributes[controlKey]; |
| 1891 |
}); |
| 1892 |
} else { |
| 1893 |
elementSettings = this.$element.data('elementor-settings') || {}; |
| 1894 |
} |
| 1895 |
return this.getItems(elementSettings, setting); |
| 1896 |
} |
| 1897 |
runElementsHandlers() { |
| 1898 |
this.elements.$elements.each((index, element) => setTimeout(() => elementorFrontend.elementsHandler.runReadyTrigger(element))); |
| 1899 |
} |
| 1900 |
onInit() { |
| 1901 |
this.$element = this.getSettings('$element'); |
| 1902 |
super.onInit(); |
| 1903 |
this.isEdit = this.$element.hasClass(this.getSettings('classes.editMode')); |
| 1904 |
if (this.isEdit) { |
| 1905 |
elementor.on('document:loaded', () => { |
| 1906 |
elementor.settings.page.model.on('change', this.onSettingsChange.bind(this)); |
| 1907 |
}); |
| 1908 |
} else { |
| 1909 |
this.runElementsHandlers(); |
| 1910 |
} |
| 1911 |
} |
| 1912 |
onSettingsChange() {} |
| 1913 |
} |
| 1914 |
exports["default"] = _default; |
| 1915 |
|
| 1916 |
/***/ }), |
| 1917 |
|
| 1918 |
/***/ "../assets/dev/js/frontend/handlers/base-carousel.js": |
| 1919 |
/*!***********************************************************!*\ |
| 1920 |
!*** ../assets/dev/js/frontend/handlers/base-carousel.js ***! |
| 1921 |
\***********************************************************/ |
| 1922 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 1923 |
|
| 1924 |
"use strict"; |
| 1925 |
|
| 1926 |
|
| 1927 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 1928 |
Object.defineProperty(exports, "__esModule", ({ |
| 1929 |
value: true |
| 1930 |
})); |
| 1931 |
exports["default"] = void 0; |
| 1932 |
__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); |
| 1933 |
__webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js"); |
| 1934 |
__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js"); |
| 1935 |
var _baseSwiper = _interopRequireDefault(__webpack_require__(/*! ./base-swiper */ "../assets/dev/js/frontend/handlers/base-swiper.js")); |
| 1936 |
class CarouselHandlerBase extends _baseSwiper.default { |
| 1937 |
getDefaultSettings() { |
| 1938 |
return { |
| 1939 |
selectors: { |
| 1940 |
carousel: '.swiper', |
| 1941 |
swiperWrapper: '.swiper-wrapper', |
| 1942 |
slideContent: '.swiper-slide', |
| 1943 |
swiperArrow: '.elementor-swiper-button', |
| 1944 |
paginationWrapper: '.swiper-pagination', |
| 1945 |
paginationBullet: '.swiper-pagination-bullet', |
| 1946 |
paginationBulletWrapper: '.swiper-pagination-bullets' |
| 1947 |
} |
| 1948 |
}; |
| 1949 |
} |
| 1950 |
getDefaultElements() { |
| 1951 |
const selectors = this.getSettings('selectors'), |
| 1952 |
elements = { |
| 1953 |
$swiperContainer: this.$element.find(selectors.carousel), |
| 1954 |
$swiperWrapper: this.$element.find(selectors.swiperWrapper), |
| 1955 |
$swiperArrows: this.$element.find(selectors.swiperArrow), |
| 1956 |
$paginationWrapper: this.$element.find(selectors.paginationWrapper), |
| 1957 |
$paginationBullets: this.$element.find(selectors.paginationBullet), |
| 1958 |
$paginationBulletWrapper: this.$element.find(selectors.paginationBulletWrapper) |
| 1959 |
}; |
| 1960 |
elements.$slides = elements.$swiperContainer.find(selectors.slideContent); |
| 1961 |
return elements; |
| 1962 |
} |
| 1963 |
getSwiperSettings() { |
| 1964 |
const elementSettings = this.getElementSettings(), |
| 1965 |
slidesToShow = +elementSettings.slides_to_show || 3, |
| 1966 |
isSingleSlide = 1 === slidesToShow, |
| 1967 |
elementorBreakpoints = elementorFrontend.config.responsive.activeBreakpoints, |
| 1968 |
defaultSlidesToShowMap = { |
| 1969 |
mobile: 1, |
| 1970 |
tablet: isSingleSlide ? 1 : 2 |
| 1971 |
}; |
| 1972 |
const swiperOptions = { |
| 1973 |
slidesPerView: slidesToShow, |
| 1974 |
loop: 'yes' === elementSettings.infinite, |
| 1975 |
speed: elementSettings.speed, |
| 1976 |
handleElementorBreakpoints: true |
| 1977 |
}; |
| 1978 |
swiperOptions.breakpoints = {}; |
| 1979 |
let lastBreakpointSlidesToShowValue = slidesToShow; |
| 1980 |
Object.keys(elementorBreakpoints).reverse().forEach(breakpointName => { |
| 1981 |
// Tablet has a specific default `slides_to_show`. |
| 1982 |
const defaultSlidesToShow = defaultSlidesToShowMap[breakpointName] ? defaultSlidesToShowMap[breakpointName] : lastBreakpointSlidesToShowValue; |
| 1983 |
swiperOptions.breakpoints[elementorBreakpoints[breakpointName].value] = { |
| 1984 |
slidesPerView: +elementSettings['slides_to_show_' + breakpointName] || defaultSlidesToShow, |
| 1985 |
slidesPerGroup: +elementSettings['slides_to_scroll_' + breakpointName] || 1 |
| 1986 |
}; |
| 1987 |
if (elementSettings.image_spacing_custom) { |
| 1988 |
swiperOptions.breakpoints[elementorBreakpoints[breakpointName].value].spaceBetween = this.getSpaceBetween(breakpointName); |
| 1989 |
} |
| 1990 |
lastBreakpointSlidesToShowValue = +elementSettings['slides_to_show_' + breakpointName] || defaultSlidesToShow; |
| 1991 |
}); |
| 1992 |
if ('yes' === elementSettings.autoplay) { |
| 1993 |
swiperOptions.autoplay = { |
| 1994 |
delay: elementSettings.autoplay_speed, |
| 1995 |
disableOnInteraction: 'yes' === elementSettings.pause_on_interaction |
| 1996 |
}; |
| 1997 |
} |
| 1998 |
if (isSingleSlide) { |
| 1999 |
swiperOptions.effect = elementSettings.effect; |
| 2000 |
if ('fade' === elementSettings.effect) { |
| 2001 |
swiperOptions.fadeEffect = { |
| 2002 |
crossFade: true |
| 2003 |
}; |
| 2004 |
} |
| 2005 |
} else { |
| 2006 |
swiperOptions.slidesPerGroup = +elementSettings.slides_to_scroll || 1; |
| 2007 |
} |
| 2008 |
if (elementSettings.image_spacing_custom) { |
| 2009 |
swiperOptions.spaceBetween = this.getSpaceBetween(); |
| 2010 |
} |
| 2011 |
const showArrows = 'arrows' === elementSettings.navigation || 'both' === elementSettings.navigation, |
| 2012 |
showPagination = 'dots' === elementSettings.navigation || 'both' === elementSettings.navigation || elementSettings.pagination; |
| 2013 |
if (showArrows) { |
| 2014 |
swiperOptions.navigation = { |
| 2015 |
prevEl: '.elementor-swiper-button-prev', |
| 2016 |
nextEl: '.elementor-swiper-button-next' |
| 2017 |
}; |
| 2018 |
} |
| 2019 |
if (showPagination) { |
| 2020 |
swiperOptions.pagination = { |
| 2021 |
el: `.elementor-element-${this.getID()} .swiper-pagination`, |
| 2022 |
type: !!elementSettings.pagination ? elementSettings.pagination : 'bullets', |
| 2023 |
clickable: true, |
| 2024 |
renderBullet: (index, classname) => { |
| 2025 |
return `<span class="${classname}" role="button" tabindex="0" data-bullet-index="${index}" aria-label="${elementorFrontend.config.i18n.a11yCarouselPaginationBulletMessage} ${index + 1}"></span>`; |
| 2026 |
} |
| 2027 |
}; |
| 2028 |
} |
| 2029 |
if ('yes' === elementSettings.lazyload) { |
| 2030 |
swiperOptions.lazy = { |
| 2031 |
loadPrevNext: true, |
| 2032 |
loadPrevNextAmount: 1 |
| 2033 |
}; |
| 2034 |
} |
| 2035 |
swiperOptions.a11y = { |
| 2036 |
enabled: true, |
| 2037 |
prevSlideMessage: elementorFrontend.config.i18n.a11yCarouselPrevSlideMessage, |
| 2038 |
nextSlideMessage: elementorFrontend.config.i18n.a11yCarouselNextSlideMessage, |
| 2039 |
firstSlideMessage: elementorFrontend.config.i18n.a11yCarouselFirstSlideMessage, |
| 2040 |
lastSlideMessage: elementorFrontend.config.i18n.a11yCarouselLastSlideMessage |
| 2041 |
}; |
| 2042 |
swiperOptions.on = { |
| 2043 |
slideChange: () => { |
| 2044 |
this.a11ySetPaginationTabindex(); |
| 2045 |
this.handleElementHandlers(); |
| 2046 |
this.a11ySetSlideAriaHidden(); |
| 2047 |
}, |
| 2048 |
init: () => { |
| 2049 |
this.a11ySetPaginationTabindex(); |
| 2050 |
this.a11ySetSlideAriaHidden('initialisation'); |
| 2051 |
} |
| 2052 |
}; |
| 2053 |
this.applyOffsetSettings(elementSettings, swiperOptions, slidesToShow); |
| 2054 |
return swiperOptions; |
| 2055 |
} |
| 2056 |
getOffsetWidth() { |
| 2057 |
const currentDevice = elementorFrontend.getCurrentDeviceMode(); |
| 2058 |
return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'offset_width', 'size', currentDevice) || 0; |
| 2059 |
} |
| 2060 |
applyOffsetSettings(elementSettings, swiperOptions, slidesToShow) { |
| 2061 |
const offsetSide = elementSettings.offset_sides, |
| 2062 |
isNestedCarouselInEditMode = elementorFrontend.isEditMode() && 'NestedCarousel' === this.constructor.name; |
| 2063 |
if (isNestedCarouselInEditMode || !offsetSide || 'none' === offsetSide) { |
| 2064 |
return; |
| 2065 |
} |
| 2066 |
switch (offsetSide) { |
| 2067 |
case 'right': |
| 2068 |
this.forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow); |
| 2069 |
this.addClassToSwiperContainer('offset-right'); |
| 2070 |
break; |
| 2071 |
case 'left': |
| 2072 |
this.addClassToSwiperContainer('offset-left'); |
| 2073 |
break; |
| 2074 |
case 'both': |
| 2075 |
this.forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow); |
| 2076 |
this.addClassToSwiperContainer('offset-both'); |
| 2077 |
break; |
| 2078 |
} |
| 2079 |
} |
| 2080 |
forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow) { |
| 2081 |
swiperOptions.slidesPerView = slidesToShow + 0.001; |
| 2082 |
} |
| 2083 |
addClassToSwiperContainer(className) { |
| 2084 |
this.getDefaultElements().$swiperContainer[0].classList.add(className); |
| 2085 |
} |
| 2086 |
async onInit(...args) { |
| 2087 |
super.onInit(...args); |
| 2088 |
if (!this.elements.$swiperContainer.length || 2 > this.elements.$slides.length) { |
| 2089 |
return; |
| 2090 |
} |
| 2091 |
await this.initSwiper(); |
| 2092 |
const elementSettings = this.getElementSettings(); |
| 2093 |
if ('yes' === elementSettings.pause_on_hover) { |
| 2094 |
this.togglePauseOnHover(true); |
| 2095 |
} |
| 2096 |
} |
| 2097 |
async initSwiper() { |
| 2098 |
const Swiper = elementorFrontend.utils.swiper; |
| 2099 |
this.swiper = await new Swiper(this.elements.$swiperContainer, this.getSwiperSettings()); |
| 2100 |
|
| 2101 |
// Expose the swiper instance in the frontend |
| 2102 |
this.elements.$swiperContainer.data('swiper', this.swiper); |
| 2103 |
} |
| 2104 |
bindEvents() { |
| 2105 |
this.elements.$swiperArrows.on('keydown', this.onDirectionArrowKeydown.bind(this)); |
| 2106 |
this.elements.$paginationWrapper.on('keydown', '.swiper-pagination-bullet', this.onDirectionArrowKeydown.bind(this)); |
| 2107 |
this.elements.$swiperContainer.on('keydown', '.swiper-slide', this.onDirectionArrowKeydown.bind(this)); |
| 2108 |
this.$element.find(':focusable').on('focus', this.onFocusDisableAutoplay.bind(this)); |
| 2109 |
elementorFrontend.elements.$window.on('resize', this.getSwiperSettings.bind(this)); |
| 2110 |
} |
| 2111 |
unbindEvents() { |
| 2112 |
this.elements.$swiperArrows.off(); |
| 2113 |
this.elements.$paginationWrapper.off(); |
| 2114 |
this.elements.$swiperContainer.off(); |
| 2115 |
this.$element.find(':focusable').off(); |
| 2116 |
elementorFrontend.elements.$window.off('resize'); |
| 2117 |
} |
| 2118 |
onDirectionArrowKeydown(event) { |
| 2119 |
const isRTL = elementorFrontend.config.is_rtl, |
| 2120 |
inlineDirectionArrows = ['ArrowLeft', 'ArrowRight'], |
| 2121 |
currentKeydown = event.originalEvent.code, |
| 2122 |
isDirectionInlineKeydown = -1 !== inlineDirectionArrows.indexOf(currentKeydown), |
| 2123 |
directionStart = isRTL ? 'ArrowRight' : 'ArrowLeft', |
| 2124 |
directionEnd = isRTL ? 'ArrowLeft' : 'ArrowRight'; |
| 2125 |
if (!isDirectionInlineKeydown) { |
| 2126 |
return true; |
| 2127 |
} else if (directionStart === currentKeydown) { |
| 2128 |
this.swiper.slidePrev(); |
| 2129 |
} else if (directionEnd === currentKeydown) { |
| 2130 |
this.swiper.slideNext(); |
| 2131 |
} |
| 2132 |
} |
| 2133 |
onFocusDisableAutoplay() { |
| 2134 |
this.swiper.autoplay.stop(); |
| 2135 |
} |
| 2136 |
updateSwiperOption(propertyName) { |
| 2137 |
const elementSettings = this.getElementSettings(), |
| 2138 |
newSettingValue = elementSettings[propertyName], |
| 2139 |
params = this.swiper.params; |
| 2140 |
|
| 2141 |
// Handle special cases where the value to update is not the value that the Swiper library accepts. |
| 2142 |
switch (propertyName) { |
| 2143 |
case 'autoplay_speed': |
| 2144 |
params.autoplay.delay = newSettingValue; |
| 2145 |
break; |
| 2146 |
case 'speed': |
| 2147 |
params.speed = newSettingValue; |
| 2148 |
break; |
| 2149 |
} |
| 2150 |
this.swiper.update(); |
| 2151 |
} |
| 2152 |
getChangeableProperties() { |
| 2153 |
return { |
| 2154 |
pause_on_hover: 'pauseOnHover', |
| 2155 |
autoplay_speed: 'delay', |
| 2156 |
speed: 'speed', |
| 2157 |
arrows_position: 'arrows_position' // Not a Swiper setting. |
| 2158 |
}; |
| 2159 |
} |
| 2160 |
onElementChange(propertyName) { |
| 2161 |
if (0 === propertyName.indexOf('image_spacing_custom')) { |
| 2162 |
this.updateSpaceBetween(propertyName); |
| 2163 |
return; |
| 2164 |
} |
| 2165 |
const changeableProperties = this.getChangeableProperties(); |
| 2166 |
if (changeableProperties[propertyName]) { |
| 2167 |
// 'pause_on_hover' is implemented by the handler with event listeners, not the Swiper library. |
| 2168 |
if ('pause_on_hover' === propertyName) { |
| 2169 |
const newSettingValue = this.getElementSettings('pause_on_hover'); |
| 2170 |
this.togglePauseOnHover('yes' === newSettingValue); |
| 2171 |
} else { |
| 2172 |
this.updateSwiperOption(propertyName); |
| 2173 |
} |
| 2174 |
} |
| 2175 |
} |
| 2176 |
onEditSettingsChange(propertyName) { |
| 2177 |
if ('activeItemIndex' === propertyName) { |
| 2178 |
this.swiper.slideToLoop(this.getEditSettings('activeItemIndex') - 1); |
| 2179 |
} |
| 2180 |
} |
| 2181 |
getSpaceBetween(device = null) { |
| 2182 |
const responsiveControlValue = elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'image_spacing_custom', 'size', device); |
| 2183 |
return Number(responsiveControlValue) || 0; |
| 2184 |
} |
| 2185 |
updateSpaceBetween(propertyName) { |
| 2186 |
const deviceMatch = propertyName.match('image_spacing_custom_(.*)'), |
| 2187 |
device = deviceMatch ? deviceMatch[1] : 'desktop', |
| 2188 |
newSpaceBetween = this.getSpaceBetween(device); |
| 2189 |
if ('desktop' !== device) { |
| 2190 |
this.swiper.params.breakpoints[elementorFrontend.config.responsive.activeBreakpoints[device].value].spaceBetween = newSpaceBetween; |
| 2191 |
} |
| 2192 |
this.swiper.params.spaceBetween = newSpaceBetween; |
| 2193 |
this.swiper.update(); |
| 2194 |
} |
| 2195 |
getPaginationBullets(type = 'array') { |
| 2196 |
const paginationBullets = this.$element.find(this.getSettings('selectors').paginationBullet); |
| 2197 |
return 'array' === type ? Array.from(paginationBullets) : paginationBullets; |
| 2198 |
} |
| 2199 |
a11ySetPaginationTabindex() { |
| 2200 |
const bulletClass = this.swiper?.params?.pagination.bulletClass, |
| 2201 |
activeBulletClass = this.swiper?.params?.pagination.bulletActiveClass; |
| 2202 |
this.getPaginationBullets().forEach(bullet => { |
| 2203 |
if (!bullet.classList?.contains(activeBulletClass)) { |
| 2204 |
bullet.removeAttribute('tabindex'); |
| 2205 |
} |
| 2206 |
}); |
| 2207 |
const isDirectionInlineArrowKey = 'ArrowLeft' === event?.code || 'ArrowRight' === event?.code; |
| 2208 |
if (event?.target?.classList?.contains(bulletClass) && isDirectionInlineArrowKey) { |
| 2209 |
this.$element.find(`.${activeBulletClass}`).trigger('focus'); |
| 2210 |
} |
| 2211 |
} |
| 2212 |
getSwiperWrapperTranformXValue() { |
| 2213 |
let transformValue = this.elements.$swiperWrapper[0]?.style.transform; |
| 2214 |
transformValue = transformValue.replace('translate3d(', ''); |
| 2215 |
transformValue = transformValue.split(','); |
| 2216 |
transformValue = parseInt(transformValue[0].replace('px', '')); |
| 2217 |
return !!transformValue ? transformValue : 0; |
| 2218 |
} |
| 2219 |
a11ySetSlideAriaHidden(status = '') { |
| 2220 |
const currentIndex = 'initialisation' === status ? 0 : this.swiper?.activeIndex; |
| 2221 |
if ('number' !== typeof currentIndex) { |
| 2222 |
return; |
| 2223 |
} |
| 2224 |
const swiperWrapperTransformXValue = this.getSwiperWrapperTranformXValue(), |
| 2225 |
swiperWrapperWidth = this.elements.$swiperWrapper[0].clientWidth, |
| 2226 |
$slides = this.elements.$swiperContainer.find(this.getSettings('selectors').slideContent); |
| 2227 |
$slides.each((index, slide) => { |
| 2228 |
const isSlideInsideWrapper = 0 <= slide.offsetLeft + swiperWrapperTransformXValue && swiperWrapperWidth > slide.offsetLeft + swiperWrapperTransformXValue; |
| 2229 |
if (!isSlideInsideWrapper) { |
| 2230 |
slide.setAttribute('aria-hidden', true); |
| 2231 |
slide.setAttribute('inert', ''); |
| 2232 |
} else { |
| 2233 |
slide.removeAttribute('aria-hidden'); |
| 2234 |
slide.removeAttribute('inert'); |
| 2235 |
} |
| 2236 |
}); |
| 2237 |
} |
| 2238 |
|
| 2239 |
// Empty method which can be overwritten by child methods. |
| 2240 |
handleElementHandlers() {} |
| 2241 |
} |
| 2242 |
exports["default"] = CarouselHandlerBase; |
| 2243 |
|
| 2244 |
/***/ }), |
| 2245 |
|
| 2246 |
/***/ "../assets/dev/js/frontend/handlers/base-swiper.js": |
| 2247 |
/*!*********************************************************!*\ |
| 2248 |
!*** ../assets/dev/js/frontend/handlers/base-swiper.js ***! |
| 2249 |
\*********************************************************/ |
| 2250 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 2251 |
|
| 2252 |
"use strict"; |
| 2253 |
|
| 2254 |
|
| 2255 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 2256 |
Object.defineProperty(exports, "__esModule", ({ |
| 2257 |
value: true |
| 2258 |
})); |
| 2259 |
exports["default"] = void 0; |
| 2260 |
var _base = _interopRequireDefault(__webpack_require__(/*! ./base */ "../assets/dev/js/frontend/handlers/base.js")); |
| 2261 |
class SwiperHandlerBase extends _base.default { |
| 2262 |
getInitialSlide() { |
| 2263 |
const editSettings = this.getEditSettings(); |
| 2264 |
return editSettings.activeItemIndex ? editSettings.activeItemIndex - 1 : 0; |
| 2265 |
} |
| 2266 |
getSlidesCount() { |
| 2267 |
return this.elements.$slides.length; |
| 2268 |
} |
| 2269 |
|
| 2270 |
// This method live-handles the 'Pause On Hover' control's value being changed in the Editor Panel |
| 2271 |
togglePauseOnHover(toggleOn) { |
| 2272 |
if (toggleOn) { |
| 2273 |
this.elements.$swiperContainer.on({ |
| 2274 |
mouseenter: () => { |
| 2275 |
this.swiper.autoplay.stop(); |
| 2276 |
}, |
| 2277 |
mouseleave: () => { |
| 2278 |
this.swiper.autoplay.start(); |
| 2279 |
} |
| 2280 |
}); |
| 2281 |
} else { |
| 2282 |
this.elements.$swiperContainer.off('mouseenter mouseleave'); |
| 2283 |
} |
| 2284 |
} |
| 2285 |
handleKenBurns() { |
| 2286 |
const settings = this.getSettings(); |
| 2287 |
if (this.$activeImageBg) { |
| 2288 |
this.$activeImageBg.removeClass(settings.classes.kenBurnsActive); |
| 2289 |
} |
| 2290 |
this.activeItemIndex = this.swiper ? this.swiper.activeIndex : this.getInitialSlide(); |
| 2291 |
if (this.swiper) { |
| 2292 |
this.$activeImageBg = jQuery(this.swiper.slides[this.activeItemIndex]).children('.' + settings.classes.slideBackground); |
| 2293 |
} else { |
| 2294 |
this.$activeImageBg = jQuery(this.elements.$slides[0]).children('.' + settings.classes.slideBackground); |
| 2295 |
} |
| 2296 |
this.$activeImageBg.addClass(settings.classes.kenBurnsActive); |
| 2297 |
} |
| 2298 |
} |
| 2299 |
exports["default"] = SwiperHandlerBase; |
| 2300 |
|
| 2301 |
/***/ }), |
| 2302 |
|
| 2303 |
/***/ "../assets/dev/js/frontend/handlers/base.js": |
| 2304 |
/*!**************************************************!*\ |
| 2305 |
!*** ../assets/dev/js/frontend/handlers/base.js ***! |
| 2306 |
\**************************************************/ |
| 2307 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2308 |
|
| 2309 |
"use strict"; |
| 2310 |
|
| 2311 |
|
| 2312 |
__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js"); |
| 2313 |
__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); |
| 2314 |
__webpack_require__(/*! core-js/modules/esnext.iterator.filter.js */ "../node_modules/core-js/modules/esnext.iterator.filter.js"); |
| 2315 |
__webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js"); |
| 2316 |
__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js"); |
| 2317 |
module.exports = elementorModules.ViewModule.extend({ |
| 2318 |
$element: null, |
| 2319 |
editorListeners: null, |
| 2320 |
onElementChange: null, |
| 2321 |
onEditSettingsChange: null, |
| 2322 |
onPageSettingsChange: null, |
| 2323 |
isEdit: null, |
| 2324 |
__construct(settings) { |
| 2325 |
if (!this.isActive(settings)) { |
| 2326 |
return; |
| 2327 |
} |
| 2328 |
this.$element = settings.$element; |
| 2329 |
this.isEdit = this.$element.hasClass('elementor-element-edit-mode'); |
| 2330 |
if (this.isEdit) { |
| 2331 |
this.addEditorListeners(); |
| 2332 |
} |
| 2333 |
}, |
| 2334 |
isActive() { |
| 2335 |
return true; |
| 2336 |
}, |
| 2337 |
isElementInTheCurrentDocument() { |
| 2338 |
if (!elementorFrontend.isEditMode()) { |
| 2339 |
return false; |
| 2340 |
} |
| 2341 |
return elementor.documents.currentDocument.id.toString() === this.$element[0].closest('.elementor').dataset.elementorId; |
| 2342 |
}, |
| 2343 |
findElement(selector) { |
| 2344 |
var $mainElement = this.$element; |
| 2345 |
return $mainElement.find(selector).filter(function () { |
| 2346 |
// Start `closest` from parent since self can be `.elementor-element`. |
| 2347 |
return jQuery(this).parent().closest('.elementor-element').is($mainElement); |
| 2348 |
}); |
| 2349 |
}, |
| 2350 |
getUniqueHandlerID(cid, $element) { |
| 2351 |
if (!cid) { |
| 2352 |
cid = this.getModelCID(); |
| 2353 |
} |
| 2354 |
if (!$element) { |
| 2355 |
$element = this.$element; |
| 2356 |
} |
| 2357 |
return cid + $element.attr('data-element_type') + this.getConstructorID(); |
| 2358 |
}, |
| 2359 |
initEditorListeners() { |
| 2360 |
var self = this; |
| 2361 |
self.editorListeners = [{ |
| 2362 |
event: 'element:destroy', |
| 2363 |
to: elementor.channels.data, |
| 2364 |
callback(removedModel) { |
| 2365 |
if (removedModel.cid !== self.getModelCID()) { |
| 2366 |
return; |
| 2367 |
} |
| 2368 |
self.onDestroy(); |
| 2369 |
} |
| 2370 |
}]; |
| 2371 |
if (self.onElementChange) { |
| 2372 |
const elementType = self.getWidgetType() || self.getElementType(); |
| 2373 |
let eventName = 'change'; |
| 2374 |
if ('global' !== elementType) { |
| 2375 |
eventName += ':' + elementType; |
| 2376 |
} |
| 2377 |
self.editorListeners.push({ |
| 2378 |
event: eventName, |
| 2379 |
to: elementor.channels.editor, |
| 2380 |
callback(controlView, elementView) { |
| 2381 |
var elementViewHandlerID = self.getUniqueHandlerID(elementView.model.cid, elementView.$el); |
| 2382 |
if (elementViewHandlerID !== self.getUniqueHandlerID()) { |
| 2383 |
return; |
| 2384 |
} |
| 2385 |
self.onElementChange(controlView.model.get('name'), controlView, elementView); |
| 2386 |
} |
| 2387 |
}); |
| 2388 |
} |
| 2389 |
if (self.onEditSettingsChange) { |
| 2390 |
self.editorListeners.push({ |
| 2391 |
event: 'change:editSettings', |
| 2392 |
to: elementor.channels.editor, |
| 2393 |
callback(changedModel, view) { |
| 2394 |
if (view.model.cid !== self.getModelCID()) { |
| 2395 |
return; |
| 2396 |
} |
| 2397 |
const propName = Object.keys(changedModel.changed)[0]; |
| 2398 |
self.onEditSettingsChange(propName, changedModel.changed[propName]); |
| 2399 |
} |
| 2400 |
}); |
| 2401 |
} |
| 2402 |
['page'].forEach(function (settingsType) { |
| 2403 |
var listenerMethodName = 'on' + settingsType[0].toUpperCase() + settingsType.slice(1) + 'SettingsChange'; |
| 2404 |
if (self[listenerMethodName]) { |
| 2405 |
self.editorListeners.push({ |
| 2406 |
event: 'change', |
| 2407 |
to: elementor.settings[settingsType].model, |
| 2408 |
callback(model) { |
| 2409 |
self[listenerMethodName](model.changed); |
| 2410 |
} |
| 2411 |
}); |
| 2412 |
} |
| 2413 |
}); |
| 2414 |
}, |
| 2415 |
getEditorListeners() { |
| 2416 |
if (!this.editorListeners) { |
| 2417 |
this.initEditorListeners(); |
| 2418 |
} |
| 2419 |
return this.editorListeners; |
| 2420 |
}, |
| 2421 |
addEditorListeners() { |
| 2422 |
var uniqueHandlerID = this.getUniqueHandlerID(); |
| 2423 |
this.getEditorListeners().forEach(function (listener) { |
| 2424 |
elementorFrontend.addListenerOnce(uniqueHandlerID, listener.event, listener.callback, listener.to); |
| 2425 |
}); |
| 2426 |
}, |
| 2427 |
removeEditorListeners() { |
| 2428 |
var uniqueHandlerID = this.getUniqueHandlerID(); |
| 2429 |
this.getEditorListeners().forEach(function (listener) { |
| 2430 |
elementorFrontend.removeListeners(uniqueHandlerID, listener.event, null, listener.to); |
| 2431 |
}); |
| 2432 |
}, |
| 2433 |
getElementType() { |
| 2434 |
return this.$element.data('element_type'); |
| 2435 |
}, |
| 2436 |
getWidgetType() { |
| 2437 |
const widgetType = this.$element.data('widget_type'); |
| 2438 |
if (!widgetType) { |
| 2439 |
return; |
| 2440 |
} |
| 2441 |
return widgetType.split('.')[0]; |
| 2442 |
}, |
| 2443 |
getID() { |
| 2444 |
return this.$element.data('id'); |
| 2445 |
}, |
| 2446 |
getModelCID() { |
| 2447 |
return this.$element.data('model-cid'); |
| 2448 |
}, |
| 2449 |
getElementSettings(setting) { |
| 2450 |
let elementSettings = {}; |
| 2451 |
const modelCID = this.getModelCID(); |
| 2452 |
if (this.isEdit && modelCID) { |
| 2453 |
const settings = elementorFrontend.config.elements.data[modelCID], |
| 2454 |
attributes = settings.attributes; |
| 2455 |
let type = attributes.widgetType || attributes.elType; |
| 2456 |
if (attributes.isInner) { |
| 2457 |
type = 'inner-' + type; |
| 2458 |
} |
| 2459 |
let settingsKeys = elementorFrontend.config.elements.keys[type]; |
| 2460 |
if (!settingsKeys) { |
| 2461 |
settingsKeys = elementorFrontend.config.elements.keys[type] = []; |
| 2462 |
jQuery.each(settings.controls, (name, control) => { |
| 2463 |
if (control.frontend_available || control.editor_available) { |
| 2464 |
settingsKeys.push(name); |
| 2465 |
} |
| 2466 |
}); |
| 2467 |
} |
| 2468 |
jQuery.each(settings.getActiveControls(), function (controlKey) { |
| 2469 |
if (-1 !== settingsKeys.indexOf(controlKey)) { |
| 2470 |
let value = attributes[controlKey]; |
| 2471 |
if (value.toJSON) { |
| 2472 |
value = value.toJSON(); |
| 2473 |
} |
| 2474 |
elementSettings[controlKey] = value; |
| 2475 |
} |
| 2476 |
}); |
| 2477 |
} else { |
| 2478 |
elementSettings = this.$element.data('settings') || {}; |
| 2479 |
} |
| 2480 |
return this.getItems(elementSettings, setting); |
| 2481 |
}, |
| 2482 |
getEditSettings(setting) { |
| 2483 |
var attributes = {}; |
| 2484 |
if (this.isEdit) { |
| 2485 |
attributes = elementorFrontend.config.elements.editSettings[this.getModelCID()].attributes; |
| 2486 |
} |
| 2487 |
return this.getItems(attributes, setting); |
| 2488 |
}, |
| 2489 |
getCurrentDeviceSetting(settingKey) { |
| 2490 |
return elementorFrontend.getCurrentDeviceSetting(this.getElementSettings(), settingKey); |
| 2491 |
}, |
| 2492 |
onInit() { |
| 2493 |
if (this.isActive(this.getSettings())) { |
| 2494 |
elementorModules.ViewModule.prototype.onInit.apply(this, arguments); |
| 2495 |
} |
| 2496 |
}, |
| 2497 |
onDestroy() { |
| 2498 |
if (this.isEdit) { |
| 2499 |
this.removeEditorListeners(); |
| 2500 |
} |
| 2501 |
if (this.unbindEvents) { |
| 2502 |
this.unbindEvents(); |
| 2503 |
} |
| 2504 |
} |
| 2505 |
}); |
| 2506 |
|
| 2507 |
/***/ }), |
| 2508 |
|
| 2509 |
/***/ "../assets/dev/js/frontend/handlers/stretched-element.js": |
| 2510 |
/*!***************************************************************!*\ |
| 2511 |
!*** ../assets/dev/js/frontend/handlers/stretched-element.js ***! |
| 2512 |
\***************************************************************/ |
| 2513 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 2514 |
|
| 2515 |
"use strict"; |
| 2516 |
|
| 2517 |
|
| 2518 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 2519 |
Object.defineProperty(exports, "__esModule", ({ |
| 2520 |
value: true |
| 2521 |
})); |
| 2522 |
exports["default"] = void 0; |
| 2523 |
__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); |
| 2524 |
__webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js"); |
| 2525 |
var _base = _interopRequireDefault(__webpack_require__(/*! ./base */ "../assets/dev/js/frontend/handlers/base.js")); |
| 2526 |
class StretchedElement extends _base.default { |
| 2527 |
getStretchedClass() { |
| 2528 |
return 'e-stretched'; |
| 2529 |
} |
| 2530 |
getStretchSettingName() { |
| 2531 |
return 'stretch_element'; |
| 2532 |
} |
| 2533 |
getStretchActiveValue() { |
| 2534 |
return 'yes'; |
| 2535 |
} |
| 2536 |
bindEvents() { |
| 2537 |
const handlerID = this.getUniqueHandlerID(); |
| 2538 |
elementorFrontend.addListenerOnce(handlerID, 'resize', this.stretch); |
| 2539 |
elementorFrontend.addListenerOnce(handlerID, 'sticky:stick', this.stretch, this.$element); |
| 2540 |
elementorFrontend.addListenerOnce(handlerID, 'sticky:unstick', this.stretch, this.$element); |
| 2541 |
if (elementorFrontend.isEditMode()) { |
| 2542 |
this.onKitChangeStretchContainerChange = this.onKitChangeStretchContainerChange.bind(this); |
| 2543 |
elementor.channels.editor.on('kit:change:stretchContainer', this.onKitChangeStretchContainerChange); |
| 2544 |
} |
| 2545 |
} |
| 2546 |
unbindEvents() { |
| 2547 |
elementorFrontend.removeListeners(this.getUniqueHandlerID(), 'resize', this.stretch); |
| 2548 |
if (elementorFrontend.isEditMode()) { |
| 2549 |
elementor.channels.editor.off('kit:change:stretchContainer', this.onKitChangeStretchContainerChange); |
| 2550 |
} |
| 2551 |
} |
| 2552 |
isActive(settings) { |
| 2553 |
return elementorFrontend.isEditMode() || settings.$element.hasClass(this.getStretchedClass()); |
| 2554 |
} |
| 2555 |
getStretchElementForConfig(childSelector = null) { |
| 2556 |
if (childSelector) { |
| 2557 |
return this.$element.find(childSelector); |
| 2558 |
} |
| 2559 |
return this.$element; |
| 2560 |
} |
| 2561 |
getStretchElementConfig() { |
| 2562 |
return { |
| 2563 |
element: this.getStretchElementForConfig(), |
| 2564 |
selectors: { |
| 2565 |
container: this.getStretchContainer() |
| 2566 |
}, |
| 2567 |
considerScrollbar: elementorFrontend.isEditMode() && elementorFrontend.config.is_rtl |
| 2568 |
}; |
| 2569 |
} |
| 2570 |
initStretch() { |
| 2571 |
this.stretch = this.stretch.bind(this); |
| 2572 |
this.stretchElement = new elementorModules.frontend.tools.StretchElement(this.getStretchElementConfig()); |
| 2573 |
} |
| 2574 |
getStretchContainer() { |
| 2575 |
return elementorFrontend.getKitSettings('stretched_section_container') || window; |
| 2576 |
} |
| 2577 |
isStretchSettingEnabled() { |
| 2578 |
return this.getElementSettings(this.getStretchSettingName()) === this.getStretchActiveValue(); |
| 2579 |
} |
| 2580 |
stretch() { |
| 2581 |
if (!this.isStretchSettingEnabled()) { |
| 2582 |
return; |
| 2583 |
} |
| 2584 |
this.stretchElement.stretch(); |
| 2585 |
} |
| 2586 |
onInit(...args) { |
| 2587 |
if (!this.isActive(this.getSettings())) { |
| 2588 |
return; |
| 2589 |
} |
| 2590 |
this.initStretch(); |
| 2591 |
super.onInit(...args); |
| 2592 |
this.stretch(); |
| 2593 |
} |
| 2594 |
onElementChange(propertyName) { |
| 2595 |
const stretchSettingName = this.getStretchSettingName(); |
| 2596 |
if (stretchSettingName === propertyName) { |
| 2597 |
if (this.isStretchSettingEnabled()) { |
| 2598 |
this.stretch(); |
| 2599 |
} else { |
| 2600 |
this.stretchElement.reset(); |
| 2601 |
} |
| 2602 |
} |
| 2603 |
} |
| 2604 |
onKitChangeStretchContainerChange() { |
| 2605 |
this.stretchElement.setSettings('selectors.container', this.getStretchContainer()); |
| 2606 |
this.stretch(); |
| 2607 |
} |
| 2608 |
} |
| 2609 |
exports["default"] = StretchedElement; |
| 2610 |
|
| 2611 |
/***/ }), |
| 2612 |
|
| 2613 |
/***/ "../assets/dev/js/frontend/modules.js": |
| 2614 |
/*!********************************************!*\ |
| 2615 |
!*** ../assets/dev/js/frontend/modules.js ***! |
| 2616 |
\********************************************/ |
| 2617 |
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { |
| 2618 |
|
| 2619 |
"use strict"; |
| 2620 |
|
| 2621 |
|
| 2622 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 2623 |
var _modules = _interopRequireDefault(__webpack_require__(/*! ../modules/modules */ "../assets/dev/js/modules/modules.js")); |
| 2624 |
var _document = _interopRequireDefault(__webpack_require__(/*! ./document */ "../assets/dev/js/frontend/document.js")); |
| 2625 |
var _stretchElement = _interopRequireDefault(__webpack_require__(/*! ./tools/stretch-element */ "../assets/dev/js/frontend/tools/stretch-element.js")); |
| 2626 |
var _stretchedElement = _interopRequireDefault(__webpack_require__(/*! ./handlers/stretched-element */ "../assets/dev/js/frontend/handlers/stretched-element.js")); |
| 2627 |
var _base = _interopRequireDefault(__webpack_require__(/*! ./handlers/base */ "../assets/dev/js/frontend/handlers/base.js")); |
| 2628 |
var _baseSwiper = _interopRequireDefault(__webpack_require__(/*! ./handlers/base-swiper */ "../assets/dev/js/frontend/handlers/base-swiper.js")); |
| 2629 |
var _baseCarousel = _interopRequireDefault(__webpack_require__(/*! ./handlers/base-carousel */ "../assets/dev/js/frontend/handlers/base-carousel.js")); |
| 2630 |
_modules.default.frontend = { |
| 2631 |
Document: _document.default, |
| 2632 |
tools: { |
| 2633 |
StretchElement: _stretchElement.default |
| 2634 |
}, |
| 2635 |
handlers: { |
| 2636 |
Base: _base.default, |
| 2637 |
StretchedElement: _stretchedElement.default, |
| 2638 |
SwiperBase: _baseSwiper.default, |
| 2639 |
CarouselBase: _baseCarousel.default |
| 2640 |
} |
| 2641 |
}; |
| 2642 |
|
| 2643 |
/***/ }), |
| 2644 |
|
| 2645 |
/***/ "../assets/dev/js/frontend/tools/stretch-element.js": |
| 2646 |
/*!**********************************************************!*\ |
| 2647 |
!*** ../assets/dev/js/frontend/tools/stretch-element.js ***! |
| 2648 |
\**********************************************************/ |
| 2649 |
/***/ ((module) => { |
| 2650 |
|
| 2651 |
"use strict"; |
| 2652 |
|
| 2653 |
|
| 2654 |
module.exports = elementorModules.ViewModule.extend({ |
| 2655 |
getDefaultSettings() { |
| 2656 |
return { |
| 2657 |
element: null, |
| 2658 |
direction: elementorFrontend.config.is_rtl ? 'right' : 'left', |
| 2659 |
selectors: { |
| 2660 |
container: window |
| 2661 |
}, |
| 2662 |
considerScrollbar: false, |
| 2663 |
cssOutput: 'inline' |
| 2664 |
}; |
| 2665 |
}, |
| 2666 |
getDefaultElements() { |
| 2667 |
return { |
| 2668 |
$element: jQuery(this.getSettings('element')) |
| 2669 |
}; |
| 2670 |
}, |
| 2671 |
stretch() { |
| 2672 |
const settings = this.getSettings(); |
| 2673 |
let $container; |
| 2674 |
try { |
| 2675 |
$container = jQuery(settings.selectors.container); |
| 2676 |
// eslint-disable-next-line no-empty |
| 2677 |
} catch (e) {} |
| 2678 |
if (!$container || !$container.length) { |
| 2679 |
$container = jQuery(this.getDefaultSettings().selectors.container); |
| 2680 |
} |
| 2681 |
this.reset(); |
| 2682 |
var $element = this.elements.$element, |
| 2683 |
containerWidth = $container.innerWidth(), |
| 2684 |
elementOffset = $element.offset().left, |
| 2685 |
isFixed = 'fixed' === $element.css('position'), |
| 2686 |
correctOffset = isFixed ? 0 : elementOffset, |
| 2687 |
isContainerFullScreen = window === $container[0]; |
| 2688 |
if (!isContainerFullScreen) { |
| 2689 |
var containerOffset = $container.offset().left; |
| 2690 |
if (isFixed) { |
| 2691 |
correctOffset = containerOffset; |
| 2692 |
} |
| 2693 |
if (elementOffset > containerOffset) { |
| 2694 |
correctOffset = elementOffset - containerOffset; |
| 2695 |
} |
| 2696 |
} |
| 2697 |
if (settings.considerScrollbar && isContainerFullScreen) { |
| 2698 |
const scrollbarWidth = window.innerWidth - containerWidth; |
| 2699 |
correctOffset -= scrollbarWidth; |
| 2700 |
} |
| 2701 |
if (!isFixed) { |
| 2702 |
if (elementorFrontend.config.is_rtl) { |
| 2703 |
correctOffset = containerWidth - ($element.outerWidth() + correctOffset); |
| 2704 |
} |
| 2705 |
correctOffset = -correctOffset; |
| 2706 |
} |
| 2707 |
|
| 2708 |
// Consider margin |
| 2709 |
if (settings.margin) { |
| 2710 |
correctOffset += settings.margin; |
| 2711 |
} |
| 2712 |
var css = {}; |
| 2713 |
let width = containerWidth; |
| 2714 |
if (settings.margin) { |
| 2715 |
width -= settings.margin * 2; |
| 2716 |
} |
| 2717 |
css.width = width + 'px'; |
| 2718 |
css[settings.direction] = correctOffset + 'px'; |
| 2719 |
if ('variables' === settings.cssOutput) { |
| 2720 |
this.applyCssVariables($element, css); |
| 2721 |
return; |
| 2722 |
} |
| 2723 |
$element.css(css); |
| 2724 |
}, |
| 2725 |
reset() { |
| 2726 |
const css = {}, |
| 2727 |
settings = this.getSettings(), |
| 2728 |
$element = this.elements.$element; |
| 2729 |
if ('variables' === settings.cssOutput) { |
| 2730 |
this.resetCssVariables($element); |
| 2731 |
return; |
| 2732 |
} |
| 2733 |
css.width = ''; |
| 2734 |
css[settings.direction] = ''; |
| 2735 |
$element.css(css); |
| 2736 |
}, |
| 2737 |
applyCssVariables($element, css) { |
| 2738 |
$element.css('--stretch-width', css.width); |
| 2739 |
if (!!css.left) { |
| 2740 |
$element.css('--stretch-left', css.left); |
| 2741 |
} else { |
| 2742 |
$element.css('--stretch-right', css.right); |
| 2743 |
} |
| 2744 |
}, |
| 2745 |
resetCssVariables($element) { |
| 2746 |
$element.css({ |
| 2747 |
'--stretch-width': '', |
| 2748 |
'--stretch-left': '', |
| 2749 |
'--stretch-right': '' |
| 2750 |
}); |
| 2751 |
} |
| 2752 |
}); |
| 2753 |
|
| 2754 |
/***/ }), |
| 2755 |
|
| 2756 |
/***/ "../assets/dev/js/modules/imports/args-object.js": |
| 2757 |
/*!*******************************************************!*\ |
| 2758 |
!*** ../assets/dev/js/modules/imports/args-object.js ***! |
| 2759 |
\*******************************************************/ |
| 2760 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 2761 |
|
| 2762 |
"use strict"; |
| 2763 |
|
| 2764 |
|
| 2765 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 2766 |
Object.defineProperty(exports, "__esModule", ({ |
| 2767 |
value: true |
| 2768 |
})); |
| 2769 |
exports["default"] = void 0; |
| 2770 |
var _instanceType = _interopRequireDefault(__webpack_require__(/*! ./instance-type */ "../assets/dev/js/modules/imports/instance-type.js")); |
| 2771 |
var _isInstanceof = _interopRequireDefault(__webpack_require__(/*! ../../editor/utils/is-instanceof */ "../assets/dev/js/editor/utils/is-instanceof.js")); |
| 2772 |
class ArgsObject extends _instanceType.default { |
| 2773 |
static getInstanceType() { |
| 2774 |
return 'ArgsObject'; |
| 2775 |
} |
| 2776 |
|
| 2777 |
/** |
| 2778 |
* Function constructor(). |
| 2779 |
* |
| 2780 |
* Create ArgsObject. |
| 2781 |
* |
| 2782 |
* @param {{}} args |
| 2783 |
*/ |
| 2784 |
constructor(args) { |
| 2785 |
super(); |
| 2786 |
this.args = args; |
| 2787 |
} |
| 2788 |
|
| 2789 |
/** |
| 2790 |
* Function requireArgument(). |
| 2791 |
* |
| 2792 |
* Validate property in args. |
| 2793 |
* |
| 2794 |
* @param {string} property |
| 2795 |
* @param {{}} args |
| 2796 |
* |
| 2797 |
* @throws {Error} |
| 2798 |
*/ |
| 2799 |
requireArgument(property, args = this.args) { |
| 2800 |
if (!Object.prototype.hasOwnProperty.call(args, property)) { |
| 2801 |
throw Error(`${property} is required.`); |
| 2802 |
} |
| 2803 |
} |
| 2804 |
|
| 2805 |
/** |
| 2806 |
* Function requireArgumentType(). |
| 2807 |
* |
| 2808 |
* Validate property in args using `type === typeof(args.whatever)`. |
| 2809 |
* |
| 2810 |
* @param {string} property |
| 2811 |
* @param {string} type |
| 2812 |
* @param {{}} args |
| 2813 |
* |
| 2814 |
* @throws {Error} |
| 2815 |
*/ |
| 2816 |
requireArgumentType(property, type, args = this.args) { |
| 2817 |
this.requireArgument(property, args); |
| 2818 |
if (typeof args[property] !== type) { |
| 2819 |
throw Error(`${property} invalid type: ${type}.`); |
| 2820 |
} |
| 2821 |
} |
| 2822 |
|
| 2823 |
/** |
| 2824 |
* Function requireArgumentInstance(). |
| 2825 |
* |
| 2826 |
* Validate property in args using `args.whatever instanceof instance`. |
| 2827 |
* |
| 2828 |
* @param {string} property |
| 2829 |
* @param {*} instance |
| 2830 |
* @param {{}} args |
| 2831 |
* |
| 2832 |
* @throws {Error} |
| 2833 |
*/ |
| 2834 |
requireArgumentInstance(property, instance, args = this.args) { |
| 2835 |
this.requireArgument(property, args); |
| 2836 |
if (!(args[property] instanceof instance) && !(0, _isInstanceof.default)(args[property], instance)) { |
| 2837 |
throw Error(`${property} invalid instance.`); |
| 2838 |
} |
| 2839 |
} |
| 2840 |
|
| 2841 |
/** |
| 2842 |
* Function requireArgumentConstructor(). |
| 2843 |
* |
| 2844 |
* Validate property in args using `type === args.whatever.constructor`. |
| 2845 |
* |
| 2846 |
* @param {string} property |
| 2847 |
* @param {*} type |
| 2848 |
* @param {{}} args |
| 2849 |
* |
| 2850 |
* @throws {Error} |
| 2851 |
*/ |
| 2852 |
requireArgumentConstructor(property, type, args = this.args) { |
| 2853 |
this.requireArgument(property, args); |
| 2854 |
|
| 2855 |
// Note: Converting the constructor to string in order to avoid equation issues |
| 2856 |
// due to different memory addresses between iframes (window.Object !== window.top.Object). |
| 2857 |
if (args[property].constructor.toString() !== type.prototype.constructor.toString()) { |
| 2858 |
throw Error(`${property} invalid constructor type.`); |
| 2859 |
} |
| 2860 |
} |
| 2861 |
} |
| 2862 |
exports["default"] = ArgsObject; |
| 2863 |
|
| 2864 |
/***/ }), |
| 2865 |
|
| 2866 |
/***/ "../assets/dev/js/modules/imports/force-method-implementation.js": |
| 2867 |
/*!***********************************************************************!*\ |
| 2868 |
!*** ../assets/dev/js/modules/imports/force-method-implementation.js ***! |
| 2869 |
\***********************************************************************/ |
| 2870 |
/***/ ((__unused_webpack_module, exports) => { |
| 2871 |
|
| 2872 |
"use strict"; |
| 2873 |
|
| 2874 |
|
| 2875 |
Object.defineProperty(exports, "__esModule", ({ |
| 2876 |
value: true |
| 2877 |
})); |
| 2878 |
exports["default"] = exports.ForceMethodImplementation = void 0; |
| 2879 |
// TODO: Wrong location used as `elementorModules.ForceMethodImplementation(); should be` `elementorUtils.forceMethodImplementation()`; |
| 2880 |
|
| 2881 |
class ForceMethodImplementation extends Error { |
| 2882 |
constructor(info = {}, args = {}) { |
| 2883 |
super(`${info.isStatic ? 'static ' : ''}${info.fullName}() should be implemented, please provide '${info.functionName || info.fullName}' functionality.`, args); |
| 2884 |
|
| 2885 |
// Allow to pass custom properties to the error. |
| 2886 |
if (Object.keys(args).length) { |
| 2887 |
// eslint-disable-next-line no-console |
| 2888 |
console.error(args); |
| 2889 |
} |
| 2890 |
Error.captureStackTrace(this, ForceMethodImplementation); |
| 2891 |
} |
| 2892 |
} |
| 2893 |
exports.ForceMethodImplementation = ForceMethodImplementation; |
| 2894 |
var _default = args => { |
| 2895 |
const stack = Error().stack, |
| 2896 |
caller = stack.split('\n')[2].trim(), |
| 2897 |
callerName = caller.startsWith('at new') ? 'constructor' : caller.split(' ')[1], |
| 2898 |
info = {}; |
| 2899 |
info.functionName = callerName; |
| 2900 |
info.fullName = callerName; |
| 2901 |
if (info.functionName.includes('.')) { |
| 2902 |
const parts = info.functionName.split('.'); |
| 2903 |
info.className = parts[0]; |
| 2904 |
info.functionName = parts[1]; |
| 2905 |
} else { |
| 2906 |
info.isStatic = true; |
| 2907 |
} |
| 2908 |
throw new ForceMethodImplementation(info, args); |
| 2909 |
}; |
| 2910 |
exports["default"] = _default; |
| 2911 |
|
| 2912 |
/***/ }), |
| 2913 |
|
| 2914 |
/***/ "../assets/dev/js/modules/imports/instance-type.js": |
| 2915 |
/*!*********************************************************!*\ |
| 2916 |
!*** ../assets/dev/js/modules/imports/instance-type.js ***! |
| 2917 |
\*********************************************************/ |
| 2918 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 2919 |
|
| 2920 |
"use strict"; |
| 2921 |
|
| 2922 |
|
| 2923 |
Object.defineProperty(exports, "__esModule", ({ |
| 2924 |
value: true |
| 2925 |
})); |
| 2926 |
exports["default"] = void 0; |
| 2927 |
__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js"); |
| 2928 |
__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); |
| 2929 |
__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js"); |
| 2930 |
class InstanceType { |
| 2931 |
static [Symbol.hasInstance](target) { |
| 2932 |
/** |
| 2933 |
* This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class |
| 2934 |
* its give's opportunity to mange capabilities of instanceOf operator. |
| 2935 |
* saving current class each time will give option later to handle instanceOf manually. |
| 2936 |
*/ |
| 2937 |
let result = super[Symbol.hasInstance](target); |
| 2938 |
|
| 2939 |
// Act normal when validate a class, which does not have instance type. |
| 2940 |
if (target && !target.constructor.getInstanceType) { |
| 2941 |
return result; |
| 2942 |
} |
| 2943 |
if (target) { |
| 2944 |
if (!target.instanceTypes) { |
| 2945 |
target.instanceTypes = []; |
| 2946 |
} |
| 2947 |
if (!result) { |
| 2948 |
if (this.getInstanceType() === target.constructor.getInstanceType()) { |
| 2949 |
result = true; |
| 2950 |
} |
| 2951 |
} |
| 2952 |
if (result) { |
| 2953 |
const name = this.getInstanceType === InstanceType.getInstanceType ? 'BaseInstanceType' : this.getInstanceType(); |
| 2954 |
if (-1 === target.instanceTypes.indexOf(name)) { |
| 2955 |
target.instanceTypes.push(name); |
| 2956 |
} |
| 2957 |
} |
| 2958 |
} |
| 2959 |
if (!result && target) { |
| 2960 |
// Check if the given 'target', is instance of known types. |
| 2961 |
result = target.instanceTypes && Array.isArray(target.instanceTypes) && -1 !== target.instanceTypes.indexOf(this.getInstanceType()); |
| 2962 |
} |
| 2963 |
return result; |
| 2964 |
} |
| 2965 |
static getInstanceType() { |
| 2966 |
elementorModules.ForceMethodImplementation(); |
| 2967 |
} |
| 2968 |
constructor() { |
| 2969 |
// Since anonymous classes sometimes do not get validated by babel, do it manually. |
| 2970 |
let target = new.target; |
| 2971 |
const prototypes = []; |
| 2972 |
while (target.__proto__ && target.__proto__.name) { |
| 2973 |
prototypes.push(target.__proto__); |
| 2974 |
target = target.__proto__; |
| 2975 |
} |
| 2976 |
prototypes.reverse().forEach(proto => this instanceof proto); |
| 2977 |
} |
| 2978 |
} |
| 2979 |
exports["default"] = InstanceType; |
| 2980 |
|
| 2981 |
/***/ }), |
| 2982 |
|
| 2983 |
/***/ "../assets/dev/js/modules/imports/module.js": |
| 2984 |
/*!**************************************************!*\ |
| 2985 |
!*** ../assets/dev/js/modules/imports/module.js ***! |
| 2986 |
\**************************************************/ |
| 2987 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2988 |
|
| 2989 |
"use strict"; |
| 2990 |
|
| 2991 |
|
| 2992 |
__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js"); |
| 2993 |
__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); |
| 2994 |
__webpack_require__(/*! core-js/modules/esnext.iterator.filter.js */ "../node_modules/core-js/modules/esnext.iterator.filter.js"); |
| 2995 |
__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js"); |
| 2996 |
const Module = function () { |
| 2997 |
const $ = jQuery, |
| 2998 |
instanceParams = arguments, |
| 2999 |
self = this, |
| 3000 |
events = {}; |
| 3001 |
let settings; |
| 3002 |
const ensureClosureMethods = function () { |
| 3003 |
$.each(self, function (methodName) { |
| 3004 |
const oldMethod = self[methodName]; |
| 3005 |
if ('function' !== typeof oldMethod) { |
| 3006 |
return; |
| 3007 |
} |
| 3008 |
self[methodName] = function () { |
| 3009 |
return oldMethod.apply(self, arguments); |
| 3010 |
}; |
| 3011 |
}); |
| 3012 |
}; |
| 3013 |
const initSettings = function () { |
| 3014 |
settings = self.getDefaultSettings(); |
| 3015 |
const instanceSettings = instanceParams[0]; |
| 3016 |
if (instanceSettings) { |
| 3017 |
$.extend(true, settings, instanceSettings); |
| 3018 |
} |
| 3019 |
}; |
| 3020 |
const init = function () { |
| 3021 |
self.__construct.apply(self, instanceParams); |
| 3022 |
ensureClosureMethods(); |
| 3023 |
initSettings(); |
| 3024 |
self.trigger('init'); |
| 3025 |
}; |
| 3026 |
this.getItems = function (items, itemKey) { |
| 3027 |
if (itemKey) { |
| 3028 |
const keyStack = itemKey.split('.'), |
| 3029 |
currentKey = keyStack.splice(0, 1); |
| 3030 |
if (!keyStack.length) { |
| 3031 |
return items[currentKey]; |
| 3032 |
} |
| 3033 |
if (!items[currentKey]) { |
| 3034 |
return; |
| 3035 |
} |
| 3036 |
return this.getItems(items[currentKey], keyStack.join('.')); |
| 3037 |
} |
| 3038 |
return items; |
| 3039 |
}; |
| 3040 |
this.getSettings = function (setting) { |
| 3041 |
return this.getItems(settings, setting); |
| 3042 |
}; |
| 3043 |
this.setSettings = function (settingKey, value, settingsContainer) { |
| 3044 |
if (!settingsContainer) { |
| 3045 |
settingsContainer = settings; |
| 3046 |
} |
| 3047 |
if ('object' === typeof settingKey) { |
| 3048 |
$.extend(settingsContainer, settingKey); |
| 3049 |
return self; |
| 3050 |
} |
| 3051 |
const keyStack = settingKey.split('.'), |
| 3052 |
currentKey = keyStack.splice(0, 1); |
| 3053 |
if (!keyStack.length) { |
| 3054 |
settingsContainer[currentKey] = value; |
| 3055 |
return self; |
| 3056 |
} |
| 3057 |
if (!settingsContainer[currentKey]) { |
| 3058 |
settingsContainer[currentKey] = {}; |
| 3059 |
} |
| 3060 |
return self.setSettings(keyStack.join('.'), value, settingsContainer[currentKey]); |
| 3061 |
}; |
| 3062 |
this.getErrorMessage = function (type, functionName) { |
| 3063 |
let message; |
| 3064 |
switch (type) { |
| 3065 |
case 'forceMethodImplementation': |
| 3066 |
message = `The method '${functionName}' must to be implemented in the inheritor child.`; |
| 3067 |
break; |
| 3068 |
default: |
| 3069 |
message = 'An error occurs'; |
| 3070 |
} |
| 3071 |
return message; |
| 3072 |
}; |
| 3073 |
|
| 3074 |
// TODO: This function should be deleted ?. |
| 3075 |
this.forceMethodImplementation = function (functionName) { |
| 3076 |
throw new Error(this.getErrorMessage('forceMethodImplementation', functionName)); |
| 3077 |
}; |
| 3078 |
this.on = function (eventName, callback) { |
| 3079 |
if ('object' === typeof eventName) { |
| 3080 |
$.each(eventName, function (singleEventName) { |
| 3081 |
self.on(singleEventName, this); |
| 3082 |
}); |
| 3083 |
return self; |
| 3084 |
} |
| 3085 |
const eventNames = eventName.split(' '); |
| 3086 |
eventNames.forEach(function (singleEventName) { |
| 3087 |
if (!events[singleEventName]) { |
| 3088 |
events[singleEventName] = []; |
| 3089 |
} |
| 3090 |
events[singleEventName].push(callback); |
| 3091 |
}); |
| 3092 |
return self; |
| 3093 |
}; |
| 3094 |
this.off = function (eventName, callback) { |
| 3095 |
if (!events[eventName]) { |
| 3096 |
return self; |
| 3097 |
} |
| 3098 |
if (!callback) { |
| 3099 |
delete events[eventName]; |
| 3100 |
return self; |
| 3101 |
} |
| 3102 |
const callbackIndex = events[eventName].indexOf(callback); |
| 3103 |
if (-1 !== callbackIndex) { |
| 3104 |
delete events[eventName][callbackIndex]; |
| 3105 |
|
| 3106 |
// Reset array index (for next off on same event). |
| 3107 |
events[eventName] = events[eventName].filter(val => val); |
| 3108 |
} |
| 3109 |
return self; |
| 3110 |
}; |
| 3111 |
this.trigger = function (eventName) { |
| 3112 |
const methodName = 'on' + eventName[0].toUpperCase() + eventName.slice(1), |
| 3113 |
params = Array.prototype.slice.call(arguments, 1); |
| 3114 |
if (self[methodName]) { |
| 3115 |
self[methodName].apply(self, params); |
| 3116 |
} |
| 3117 |
const callbacks = events[eventName]; |
| 3118 |
if (!callbacks) { |
| 3119 |
return self; |
| 3120 |
} |
| 3121 |
$.each(callbacks, function (index, callback) { |
| 3122 |
callback.apply(self, params); |
| 3123 |
}); |
| 3124 |
return self; |
| 3125 |
}; |
| 3126 |
init(); |
| 3127 |
}; |
| 3128 |
Module.prototype.__construct = function () {}; |
| 3129 |
Module.prototype.getDefaultSettings = function () { |
| 3130 |
return {}; |
| 3131 |
}; |
| 3132 |
Module.prototype.getConstructorID = function () { |
| 3133 |
return this.constructor.name; |
| 3134 |
}; |
| 3135 |
Module.extend = function (properties) { |
| 3136 |
const $ = jQuery, |
| 3137 |
parent = this; |
| 3138 |
const child = function () { |
| 3139 |
return parent.apply(this, arguments); |
| 3140 |
}; |
| 3141 |
$.extend(child, parent); |
| 3142 |
child.prototype = Object.create($.extend({}, parent.prototype, properties)); |
| 3143 |
child.prototype.constructor = child; |
| 3144 |
child.__super__ = parent.prototype; |
| 3145 |
return child; |
| 3146 |
}; |
| 3147 |
module.exports = Module; |
| 3148 |
|
| 3149 |
/***/ }), |
| 3150 |
|
| 3151 |
/***/ "../assets/dev/js/modules/imports/utils/masonry.js": |
| 3152 |
/*!*********************************************************!*\ |
| 3153 |
!*** ../assets/dev/js/modules/imports/utils/masonry.js ***! |
| 3154 |
\*********************************************************/ |
| 3155 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 3156 |
|
| 3157 |
"use strict"; |
| 3158 |
|
| 3159 |
|
| 3160 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 3161 |
Object.defineProperty(exports, "__esModule", ({ |
| 3162 |
value: true |
| 3163 |
})); |
| 3164 |
exports["default"] = void 0; |
| 3165 |
__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js"); |
| 3166 |
var _viewModule = _interopRequireDefault(__webpack_require__(/*! ../view-module */ "../assets/dev/js/modules/imports/view-module.js")); |
| 3167 |
var _default = exports["default"] = _viewModule.default.extend({ |
| 3168 |
getDefaultSettings() { |
| 3169 |
return { |
| 3170 |
container: null, |
| 3171 |
items: null, |
| 3172 |
columnsCount: 3, |
| 3173 |
verticalSpaceBetween: 30 |
| 3174 |
}; |
| 3175 |
}, |
| 3176 |
getDefaultElements() { |
| 3177 |
return { |
| 3178 |
$container: jQuery(this.getSettings('container')), |
| 3179 |
$items: jQuery(this.getSettings('items')) |
| 3180 |
}; |
| 3181 |
}, |
| 3182 |
run() { |
| 3183 |
var heights = [], |
| 3184 |
distanceFromTop = this.elements.$container.position().top, |
| 3185 |
settings = this.getSettings(), |
| 3186 |
columnsCount = settings.columnsCount; |
| 3187 |
distanceFromTop += parseInt(this.elements.$container.css('margin-top'), 10); |
| 3188 |
this.elements.$items.each(function (index) { |
| 3189 |
var row = Math.floor(index / columnsCount), |
| 3190 |
$item = jQuery(this), |
| 3191 |
itemHeight = $item[0].getBoundingClientRect().height + settings.verticalSpaceBetween; |
| 3192 |
if (row) { |
| 3193 |
var itemPosition = $item.position(), |
| 3194 |
indexAtRow = index % columnsCount, |
| 3195 |
pullHeight = itemPosition.top - distanceFromTop - heights[indexAtRow]; |
| 3196 |
pullHeight -= parseInt($item.css('margin-top'), 10); |
| 3197 |
pullHeight *= -1; |
| 3198 |
$item.css('margin-top', pullHeight + 'px'); |
| 3199 |
heights[indexAtRow] += itemHeight; |
| 3200 |
} else { |
| 3201 |
heights.push(itemHeight); |
| 3202 |
} |
| 3203 |
}); |
| 3204 |
} |
| 3205 |
}); |
| 3206 |
|
| 3207 |
/***/ }), |
| 3208 |
|
| 3209 |
/***/ "../assets/dev/js/modules/imports/utils/scroll.js": |
| 3210 |
/*!********************************************************!*\ |
| 3211 |
!*** ../assets/dev/js/modules/imports/utils/scroll.js ***! |
| 3212 |
\********************************************************/ |
| 3213 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 3214 |
|
| 3215 |
"use strict"; |
| 3216 |
|
| 3217 |
|
| 3218 |
Object.defineProperty(exports, "__esModule", ({ |
| 3219 |
value: true |
| 3220 |
})); |
| 3221 |
exports["default"] = void 0; |
| 3222 |
__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js"); |
| 3223 |
// Moved from elementor pro: 'assets/dev/js/frontend/utils' |
| 3224 |
class Scroll { |
| 3225 |
/** |
| 3226 |
* @param {Object} obj |
| 3227 |
* @param {number} obj.sensitivity - Value between 0-100 - Will determine the intersection trigger points on the element |
| 3228 |
* @param {Function} obj.callback - Will be triggered on each intersection point between the element and the viewport top/bottom |
| 3229 |
* @param {string} obj.offset - Offset between the element intersection points and the viewport, written like in CSS: '-50% 0 -25%' |
| 3230 |
* @param {HTMLElement} obj.root - The element that the events will be relative to, if 'null' will be relative to the viewport |
| 3231 |
*/ |
| 3232 |
static scrollObserver(obj) { |
| 3233 |
let lastScrollY = 0; |
| 3234 |
|
| 3235 |
// Generating thresholds points along the animation height |
| 3236 |
// More thresholds points = more trigger points of the callback |
| 3237 |
const buildThresholds = (sensitivityPercentage = 0) => { |
| 3238 |
const thresholds = []; |
| 3239 |
if (sensitivityPercentage > 0 && sensitivityPercentage <= 100) { |
| 3240 |
const increment = 100 / sensitivityPercentage; |
| 3241 |
for (let i = 0; i <= 100; i += increment) { |
| 3242 |
thresholds.push(i / 100); |
| 3243 |
} |
| 3244 |
} else { |
| 3245 |
thresholds.push(0); |
| 3246 |
} |
| 3247 |
return thresholds; |
| 3248 |
}; |
| 3249 |
const options = { |
| 3250 |
root: obj.root || null, |
| 3251 |
rootMargin: obj.offset || '0px', |
| 3252 |
threshold: buildThresholds(obj.sensitivity) |
| 3253 |
}; |
| 3254 |
function handleIntersect(entries) { |
| 3255 |
const currentScrollY = entries[0].boundingClientRect.y, |
| 3256 |
isInViewport = entries[0].isIntersecting, |
| 3257 |
intersectionScrollDirection = currentScrollY < lastScrollY ? 'down' : 'up', |
| 3258 |
scrollPercentage = Math.abs(parseFloat((entries[0].intersectionRatio * 100).toFixed(2))); |
| 3259 |
obj.callback({ |
| 3260 |
sensitivity: obj.sensitivity, |
| 3261 |
isInViewport, |
| 3262 |
scrollPercentage, |
| 3263 |
intersectionScrollDirection |
| 3264 |
}); |
| 3265 |
lastScrollY = currentScrollY; |
| 3266 |
} |
| 3267 |
return new IntersectionObserver(handleIntersect, options); |
| 3268 |
} |
| 3269 |
|
| 3270 |
/** |
| 3271 |
* @param {jQuery.Element} $element |
| 3272 |
* @param {Object} offsetObj |
| 3273 |
* @param {number} offsetObj.start - Offset start value in percentages |
| 3274 |
* @param {number} offsetObj.end - Offset end value in percentages |
| 3275 |
*/ |
| 3276 |
static getElementViewportPercentage($element, offsetObj = {}) { |
| 3277 |
const elementOffset = $element[0].getBoundingClientRect(), |
| 3278 |
offsetStart = offsetObj.start || 0, |
| 3279 |
offsetEnd = offsetObj.end || 0, |
| 3280 |
windowStartOffset = window.innerHeight * offsetStart / 100, |
| 3281 |
windowEndOffset = window.innerHeight * offsetEnd / 100, |
| 3282 |
y1 = elementOffset.top - window.innerHeight, |
| 3283 |
y2 = elementOffset.top + windowStartOffset + $element.height(), |
| 3284 |
startPosition = 0 - y1 + windowStartOffset, |
| 3285 |
endPosition = y2 - y1 + windowEndOffset, |
| 3286 |
percent = Math.max(0, Math.min(startPosition / endPosition, 1)); |
| 3287 |
return parseFloat((percent * 100).toFixed(2)); |
| 3288 |
} |
| 3289 |
|
| 3290 |
/** |
| 3291 |
* @param {Object} offsetObj |
| 3292 |
* @param {number} offsetObj.start - Offset start value in percentages |
| 3293 |
* @param {number} offsetObj.end - Offset end value in percentages |
| 3294 |
* @param {number} limitPageHeight - Will limit the page height calculation |
| 3295 |
*/ |
| 3296 |
static getPageScrollPercentage(offsetObj = {}, limitPageHeight) { |
| 3297 |
const offsetStart = offsetObj.start || 0, |
| 3298 |
offsetEnd = offsetObj.end || 0, |
| 3299 |
initialPageHeight = limitPageHeight || document.documentElement.scrollHeight - document.documentElement.clientHeight, |
| 3300 |
heightOffset = initialPageHeight * offsetStart / 100, |
| 3301 |
pageRange = initialPageHeight + heightOffset + initialPageHeight * offsetEnd / 100, |
| 3302 |
scrollPos = document.documentElement.scrollTop + document.body.scrollTop + heightOffset; |
| 3303 |
return scrollPos / pageRange * 100; |
| 3304 |
} |
| 3305 |
} |
| 3306 |
exports["default"] = Scroll; |
| 3307 |
|
| 3308 |
/***/ }), |
| 3309 |
|
| 3310 |
/***/ "../assets/dev/js/modules/imports/view-module.js": |
| 3311 |
/*!*******************************************************!*\ |
| 3312 |
!*** ../assets/dev/js/modules/imports/view-module.js ***! |
| 3313 |
\*******************************************************/ |
| 3314 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 3315 |
|
| 3316 |
"use strict"; |
| 3317 |
|
| 3318 |
|
| 3319 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 3320 |
Object.defineProperty(exports, "__esModule", ({ |
| 3321 |
value: true |
| 3322 |
})); |
| 3323 |
exports["default"] = void 0; |
| 3324 |
var _module = _interopRequireDefault(__webpack_require__(/*! ./module */ "../assets/dev/js/modules/imports/module.js")); |
| 3325 |
var _default = exports["default"] = _module.default.extend({ |
| 3326 |
elements: null, |
| 3327 |
getDefaultElements() { |
| 3328 |
return {}; |
| 3329 |
}, |
| 3330 |
bindEvents() {}, |
| 3331 |
onInit() { |
| 3332 |
this.initElements(); |
| 3333 |
this.bindEvents(); |
| 3334 |
}, |
| 3335 |
initElements() { |
| 3336 |
this.elements = this.getDefaultElements(); |
| 3337 |
} |
| 3338 |
}); |
| 3339 |
|
| 3340 |
/***/ }), |
| 3341 |
|
| 3342 |
/***/ "../assets/dev/js/modules/modules.js": |
| 3343 |
/*!*******************************************!*\ |
| 3344 |
!*** ../assets/dev/js/modules/modules.js ***! |
| 3345 |
\*******************************************/ |
| 3346 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 3347 |
|
| 3348 |
"use strict"; |
| 3349 |
|
| 3350 |
|
| 3351 |
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 3352 |
Object.defineProperty(exports, "__esModule", ({ |
| 3353 |
value: true |
| 3354 |
})); |
| 3355 |
exports["default"] = void 0; |
| 3356 |
var _module = _interopRequireDefault(__webpack_require__(/*! ./imports/module */ "../assets/dev/js/modules/imports/module.js")); |
| 3357 |
var _viewModule = _interopRequireDefault(__webpack_require__(/*! ./imports/view-module */ "../assets/dev/js/modules/imports/view-module.js")); |
| 3358 |
var _argsObject = _interopRequireDefault(__webpack_require__(/*! ./imports/args-object */ "../assets/dev/js/modules/imports/args-object.js")); |
| 3359 |
var _masonry = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/masonry */ "../assets/dev/js/modules/imports/utils/masonry.js")); |
| 3360 |
var _scroll = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/scroll */ "../assets/dev/js/modules/imports/utils/scroll.js")); |
| 3361 |
var _forceMethodImplementation = _interopRequireDefault(__webpack_require__(/*! ./imports/force-method-implementation */ "../assets/dev/js/modules/imports/force-method-implementation.js")); |
| 3362 |
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"); |
| 3363 |
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"); |
| 3364 |
var _appsEventTracking = __webpack_require__(/*! elementor-app/event-track/apps-event-tracking */ "../app/assets/js/event-track/apps-event-tracking.js"); |
| 3365 |
var _wpDashboardTracking = _interopRequireDefault(__webpack_require__(/*! elementor-app/event-track/wp-dashboard-tracking */ "../app/assets/js/event-track/wp-dashboard-tracking.js")); |
| 3366 |
var _default = exports["default"] = window.elementorModules = { |
| 3367 |
Module: _module.default, |
| 3368 |
ViewModule: _viewModule.default, |
| 3369 |
ArgsObject: _argsObject.default, |
| 3370 |
ForceMethodImplementation: _forceMethodImplementation.default, |
| 3371 |
utils: { |
| 3372 |
Masonry: _masonry.default, |
| 3373 |
Scroll: _scroll.default |
| 3374 |
}, |
| 3375 |
importExport: { |
| 3376 |
createGetInitialState: _templateRegistryHelpers.createGetInitialState, |
| 3377 |
customizationDialogsRegistry: _customizationDialogs.customizationDialogsRegistry |
| 3378 |
}, |
| 3379 |
appsEventTracking: { |
| 3380 |
AppsEventTracking: _appsEventTracking.AppsEventTracking |
| 3381 |
}, |
| 3382 |
wpDashboardTracking: { |
| 3383 |
WpDashboardTracking: _wpDashboardTracking.default |
| 3384 |
} |
| 3385 |
}; |
| 3386 |
|
| 3387 |
/***/ }), |
| 3388 |
|
| 3389 |
/***/ "../core/common/modules/events-manager/assets/js/events-config.js": |
| 3390 |
/*!************************************************************************!*\ |
| 3391 |
!*** ../core/common/modules/events-manager/assets/js/events-config.js ***! |
| 3392 |
\************************************************************************/ |
| 3393 |
/***/ ((__unused_webpack_module, exports) => { |
| 3394 |
|
| 3395 |
"use strict"; |
| 3396 |
|
| 3397 |
|
| 3398 |
Object.defineProperty(exports, "__esModule", ({ |
| 3399 |
value: true |
| 3400 |
})); |
| 3401 |
exports["default"] = void 0; |
| 3402 |
const eventsConfig = { |
| 3403 |
triggers: { |
| 3404 |
click: 'Click', |
| 3405 |
rightClick: 'Right Click', |
| 3406 |
doubleClick: 'Double Click', |
| 3407 |
accordionClick: 'Accordion Click', |
| 3408 |
toggleClick: 'Toggle Click', |
| 3409 |
dropdownClick: 'Click Dropdown', |
| 3410 |
editorLoaded: 'Editor Loaded', |
| 3411 |
visible: 'Visible', |
| 3412 |
pageLoaded: 'Page Loaded' |
| 3413 |
}, |
| 3414 |
locations: { |
| 3415 |
widgetPanel: 'Widget Panel', |
| 3416 |
topBar: 'Top Bar', |
| 3417 |
elementorEditor: 'Elementor Editor', |
| 3418 |
templatesLibrary: { |
| 3419 |
library: 'Templates Library' |
| 3420 |
}, |
| 3421 |
app: { |
| 3422 |
import: 'Import Kit', |
| 3423 |
export: 'Export Kit', |
| 3424 |
kitLibrary: 'Kit Library', |
| 3425 |
cloudKitLibrary: 'Cloud Kit Library' |
| 3426 |
}, |
| 3427 |
variables: 'Variables Panel', |
| 3428 |
variablesManager: 'Variables Manager', |
| 3429 |
admin: 'WP admin', |
| 3430 |
structurePanel: 'Structure Panel', |
| 3431 |
canvas: 'Canvas' |
| 3432 |
}, |
| 3433 |
secondaryLocations: { |
| 3434 |
layout: 'Layout Section', |
| 3435 |
basic: 'Basic Section', |
| 3436 |
'pro-elements': 'Pro Section', |
| 3437 |
general: 'General Section', |
| 3438 |
'theme-elements': 'Site Section', |
| 3439 |
'theme-elements-single': 'Single Section', |
| 3440 |
'woocommerce-elements': 'WooCommerce Section', |
| 3441 |
wordpress: 'WordPress Section', |
| 3442 |
categories: 'Widgets Tab', |
| 3443 |
global: 'Globals Tab', |
| 3444 |
'whats-new': 'What\'s New', |
| 3445 |
'document-settings': 'Document Settings icon', |
| 3446 |
'preview-page': 'Preview Page', |
| 3447 |
'publish-button': 'Publish Button', |
| 3448 |
'widget-panel': 'Widget Panel Icon', |
| 3449 |
finder: 'Finder', |
| 3450 |
help: 'Help', |
| 3451 |
elementorLogoDropdown: 'top_bar_elementor_logo_dropdown', |
| 3452 |
elementorLogo: 'Elementor Logo', |
| 3453 |
eLogoMenu: 'E-logo Menu', |
| 3454 |
notes: 'Notes', |
| 3455 |
siteSettings: 'Site Settings', |
| 3456 |
structure: 'Structure', |
| 3457 |
documentNameDropdown: 'Document Name dropdown', |
| 3458 |
responsiveControls: 'Responsive controls', |
| 3459 |
launchpad: 'launchpad', |
| 3460 |
checklistHeader: 'Checklist Header', |
| 3461 |
checklistSteps: 'Checklist Steps', |
| 3462 |
userPreferences: 'User Preferences', |
| 3463 |
contextMenu: 'Context Menu', |
| 3464 |
templateLibrary: { |
| 3465 |
saveModal: 'Save to Modal', |
| 3466 |
moveModal: 'Move to Modal', |
| 3467 |
bulkMoveModal: 'Bulk Move to Modal', |
| 3468 |
copyModal: 'Copy to Modal', |
| 3469 |
bulkCopyModal: 'Bulk Copy to Modal', |
| 3470 |
saveModalSelectFolder: 'Save to Modal - select folder', |
| 3471 |
saveModalSelectConnect: 'Save to Modal - connect', |
| 3472 |
saveModalSelectUpgrade: 'Save to Modal - upgrade', |
| 3473 |
importModal: 'Import Modal', |
| 3474 |
newFolderModal: 'New Folder Modal', |
| 3475 |
deleteDialog: 'Delete Dialog', |
| 3476 |
deleteFolderDialog: 'Delete Folder Dialog', |
| 3477 |
renameDialog: 'Rename Dialog', |
| 3478 |
createFolderDialog: 'Create Folder Dialog', |
| 3479 |
applySettingsDialog: 'Apply Settings Dialog', |
| 3480 |
cloudTab: 'Cloud Tab', |
| 3481 |
siteTab: 'Site Tab', |
| 3482 |
cloudTabFolder: 'Cloud Tab - Folder', |
| 3483 |
cloudTabConnect: 'Cloud Tab - Connect', |
| 3484 |
cloudTabUpgrade: 'Cloud Tab - Upgrade', |
| 3485 |
morePopup: 'Context Menu', |
| 3486 |
quotaBar: 'Quota Bar' |
| 3487 |
}, |
| 3488 |
kitLibrary: { |
| 3489 |
cloudKitLibrary: 'kits_cloud_library', |
| 3490 |
cloudKitLibraryConnect: 'kits_cloud_library_connect', |
| 3491 |
cloudKitLibraryUpgrade: 'kits_cloud_library_upgrade', |
| 3492 |
kitExportCustomization: 'kit_export_customization', |
| 3493 |
kitExport: 'kit_export', |
| 3494 |
kitExportCustomizationEdit: 'kit_export_customization_edit', |
| 3495 |
kitExportSummary: 'kit_export_summary', |
| 3496 |
kitImportUploadBox: 'kit_import_upload_box', |
| 3497 |
kitImportCustomization: 'kit_import_customization', |
| 3498 |
kitImportSummary: 'kit_import_summary' |
| 3499 |
}, |
| 3500 |
variablesPopover: 'Variables Popover', |
| 3501 |
admin: { |
| 3502 |
pluginToolsTab: 'plugin_tools_tab', |
| 3503 |
pluginWebsiteTemplatesTab: 'plugin_website_templates_tab' |
| 3504 |
}, |
| 3505 |
componentsTab: 'Components Tab', |
| 3506 |
canvasElement: 'Canvas Element' |
| 3507 |
}, |
| 3508 |
elements: { |
| 3509 |
accordionSection: 'Accordion section', |
| 3510 |
buttonIcon: 'Button Icon', |
| 3511 |
mainCta: 'Main CTA', |
| 3512 |
button: 'Button', |
| 3513 |
link: 'Link', |
| 3514 |
dropdown: 'Dropdown', |
| 3515 |
toggle: 'Toggle', |
| 3516 |
launchpadChecklist: 'Checklist popup' |
| 3517 |
}, |
| 3518 |
names: { |
| 3519 |
v1: { |
| 3520 |
layout: 'v1_widgets_tab_layout_section', |
| 3521 |
basic: 'v1_widgets_tab_basic_section', |
| 3522 |
'pro-elements': 'v1_widgets_tab_pro_section', |
| 3523 |
general: 'v1_widgets_tab_general_section', |
| 3524 |
'theme-elements': 'v1_widgets_tab_site_section', |
| 3525 |
'theme-elements-single': 'v1_widgets_tab_single_section', |
| 3526 |
'woocommerce-elements': 'v1_widgets_tab_woocommerce_section', |
| 3527 |
wordpress: 'v1_widgets_tab_wordpress_section', |
| 3528 |
categories: 'v1_widgets_tab', |
| 3529 |
global: 'v1_globals_tab' |
| 3530 |
}, |
| 3531 |
topBar: { |
| 3532 |
whatsNew: 'top_bar_whats_new', |
| 3533 |
documentSettings: 'top_bar_document_settings_icon', |
| 3534 |
previewPage: 'top_bar_preview_page', |
| 3535 |
publishButton: 'top_bar_publish_button', |
| 3536 |
widgetPanel: 'top_bar_widget_panel_icon', |
| 3537 |
finder: 'top_bar_finder', |
| 3538 |
help: 'top_bar_help', |
| 3539 |
history: 'top_bar_elementor_logo_dropdown_history', |
| 3540 |
userPreferences: 'top_bar_elementor_logo_dropdown_user_preferences', |
| 3541 |
keyboardShortcuts: 'top_bar_elementor_logo_dropdown_keyboard_shortcuts', |
| 3542 |
exitToWordpress: 'top_bar_elementor_logo_dropdown_exit_to_wordpress', |
| 3543 |
themeBuilder: 'top_bar_elementor_logo_dropdown_theme_builder', |
| 3544 |
notes: 'top_bar_notes', |
| 3545 |
siteSettings: 'top_bar_site_setting', |
| 3546 |
structure: 'top_bar_structure', |
| 3547 |
documentNameDropdown: 'top_bar_document_name_dropdown', |
| 3548 |
responsiveControls: 'top_bar_responsive_controls', |
| 3549 |
launchpadOn: 'top_bar_checklist_icon_show', |
| 3550 |
launchpadOff: 'top_bar_checklist_icon_hide', |
| 3551 |
elementorLogoDropdown: 'open_e_menu', |
| 3552 |
connectAccount: 'connect_account', |
| 3553 |
accountConnected: 'account_connected' |
| 3554 |
}, |
| 3555 |
// ChecklistSteps event names are generated dynamically, based on stepId and action type taken: title, action, done, undone, upgrade |
| 3556 |
elementorEditor: { |
| 3557 |
checklist: { |
| 3558 |
checklistHeaderClose: 'checklist_header_close_icon', |
| 3559 |
checklistFirstPopup: 'checklist popup triggered' |
| 3560 |
}, |
| 3561 |
userPreferences: { |
| 3562 |
checklistShow: 'checklist_userpreferences_toggle_show', |
| 3563 |
checklistHide: 'checklist_userpreferences_toggle_hide' |
| 3564 |
} |
| 3565 |
}, |
| 3566 |
variables: { |
| 3567 |
open: 'open_variables_popover', |
| 3568 |
add: 'add_new_variable', |
| 3569 |
connect: 'connect_variable', |
| 3570 |
save: 'save_new_variable', |
| 3571 |
openManager: 'open_variables_manager', |
| 3572 |
saveChanges: 'save_variables_changes', |
| 3573 |
delete: 'delete_variable' |
| 3574 |
}, |
| 3575 |
components: { |
| 3576 |
createClicked: 'component_create_clicked', |
| 3577 |
createCancelled: 'component_creation_cancelled', |
| 3578 |
created: 'component_created', |
| 3579 |
instanceAdded: 'component_instance_added', |
| 3580 |
edited: 'component_edited' |
| 3581 |
}, |
| 3582 |
global_classes: { |
| 3583 |
classApplied: 'class_applied', |
| 3584 |
classRemoved: 'class_removed', |
| 3585 |
classManagerFilterCleared: 'class_manager_filter_cleared', |
| 3586 |
classDeleted: 'class_deleted', |
| 3587 |
classPublishConflict: 'class_publish_conflict', |
| 3588 |
classRenamed: 'class_renamed', |
| 3589 |
classCreated: 'class_created', |
| 3590 |
classManagerSearched: 'class_manager_searched', |
| 3591 |
classManagerFiltersOpened: 'class_manager_filters_opened', |
| 3592 |
classManagerOpened: 'class_manager_opened', |
| 3593 |
classManagerReorder: 'class_manager_reorder', |
| 3594 |
classManagerFilterUsed: 'class_manager_filter_used', |
| 3595 |
classUsageLocate: 'class_usage_locate', |
| 3596 |
classUsageHovered: 'class_usage_hovered', |
| 3597 |
classStyled: 'class_styled', |
| 3598 |
classStateClicked: 'class_state_clicked', |
| 3599 |
classUsageClicked: 'class_usage_clicked', |
| 3600 |
classDuplicate: 'class_duplicate' |
| 3601 |
} |
| 3602 |
} |
| 3603 |
}; |
| 3604 |
var _default = exports["default"] = eventsConfig; |
| 3605 |
|
| 3606 |
/***/ }), |
| 3607 |
|
| 3608 |
/***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js": |
| 3609 |
/*!***********************************************************************!*\ |
| 3610 |
!*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! |
| 3611 |
\***********************************************************************/ |
| 3612 |
/***/ ((module) => { |
| 3613 |
|
| 3614 |
function _interopRequireDefault(e) { |
| 3615 |
return e && e.__esModule ? e : { |
| 3616 |
"default": e |
| 3617 |
}; |
| 3618 |
} |
| 3619 |
module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 3620 |
|
| 3621 |
/***/ }), |
| 3622 |
|
| 3623 |
/***/ "../node_modules/core-js/internals/a-callable.js": |
| 3624 |
/*!*******************************************************!*\ |
| 3625 |
!*** ../node_modules/core-js/internals/a-callable.js ***! |
| 3626 |
\*******************************************************/ |
| 3627 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3628 |
|
| 3629 |
"use strict"; |
| 3630 |
|
| 3631 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 3632 |
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../node_modules/core-js/internals/try-to-string.js"); |
| 3633 |
|
| 3634 |
var $TypeError = TypeError; |
| 3635 |
|
| 3636 |
// `Assert: IsCallable(argument) is true` |
| 3637 |
module.exports = function (argument) { |
| 3638 |
if (isCallable(argument)) return argument; |
| 3639 |
throw new $TypeError(tryToString(argument) + ' is not a function'); |
| 3640 |
}; |
| 3641 |
|
| 3642 |
|
| 3643 |
/***/ }), |
| 3644 |
|
| 3645 |
/***/ "../node_modules/core-js/internals/an-instance.js": |
| 3646 |
/*!********************************************************!*\ |
| 3647 |
!*** ../node_modules/core-js/internals/an-instance.js ***! |
| 3648 |
\********************************************************/ |
| 3649 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3650 |
|
| 3651 |
"use strict"; |
| 3652 |
|
| 3653 |
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js"); |
| 3654 |
|
| 3655 |
var $TypeError = TypeError; |
| 3656 |
|
| 3657 |
module.exports = function (it, Prototype) { |
| 3658 |
if (isPrototypeOf(Prototype, it)) return it; |
| 3659 |
throw new $TypeError('Incorrect invocation'); |
| 3660 |
}; |
| 3661 |
|
| 3662 |
|
| 3663 |
/***/ }), |
| 3664 |
|
| 3665 |
/***/ "../node_modules/core-js/internals/an-object.js": |
| 3666 |
/*!******************************************************!*\ |
| 3667 |
!*** ../node_modules/core-js/internals/an-object.js ***! |
| 3668 |
\******************************************************/ |
| 3669 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3670 |
|
| 3671 |
"use strict"; |
| 3672 |
|
| 3673 |
var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); |
| 3674 |
|
| 3675 |
var $String = String; |
| 3676 |
var $TypeError = TypeError; |
| 3677 |
|
| 3678 |
// `Assert: Type(argument) is Object` |
| 3679 |
module.exports = function (argument) { |
| 3680 |
if (isObject(argument)) return argument; |
| 3681 |
throw new $TypeError($String(argument) + ' is not an object'); |
| 3682 |
}; |
| 3683 |
|
| 3684 |
|
| 3685 |
/***/ }), |
| 3686 |
|
| 3687 |
/***/ "../node_modules/core-js/internals/array-includes.js": |
| 3688 |
/*!***********************************************************!*\ |
| 3689 |
!*** ../node_modules/core-js/internals/array-includes.js ***! |
| 3690 |
\***********************************************************/ |
| 3691 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3692 |
|
| 3693 |
"use strict"; |
| 3694 |
|
| 3695 |
var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js"); |
| 3696 |
var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "../node_modules/core-js/internals/to-absolute-index.js"); |
| 3697 |
var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "../node_modules/core-js/internals/length-of-array-like.js"); |
| 3698 |
|
| 3699 |
// `Array.prototype.{ indexOf, includes }` methods implementation |
| 3700 |
var createMethod = function (IS_INCLUDES) { |
| 3701 |
return function ($this, el, fromIndex) { |
| 3702 |
var O = toIndexedObject($this); |
| 3703 |
var length = lengthOfArrayLike(O); |
| 3704 |
if (length === 0) return !IS_INCLUDES && -1; |
| 3705 |
var index = toAbsoluteIndex(fromIndex, length); |
| 3706 |
var value; |
| 3707 |
// Array#includes uses SameValueZero equality algorithm |
| 3708 |
// eslint-disable-next-line no-self-compare -- NaN check |
| 3709 |
if (IS_INCLUDES && el !== el) while (length > index) { |
| 3710 |
value = O[index++]; |
| 3711 |
// eslint-disable-next-line no-self-compare -- NaN check |
| 3712 |
if (value !== value) return true; |
| 3713 |
// Array#indexOf ignores holes, Array#includes - not |
| 3714 |
} else for (;length > index; index++) { |
| 3715 |
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; |
| 3716 |
} return !IS_INCLUDES && -1; |
| 3717 |
}; |
| 3718 |
}; |
| 3719 |
|
| 3720 |
module.exports = { |
| 3721 |
// `Array.prototype.includes` method |
| 3722 |
// https://tc39.es/ecma262/#sec-array.prototype.includes |
| 3723 |
includes: createMethod(true), |
| 3724 |
// `Array.prototype.indexOf` method |
| 3725 |
// https://tc39.es/ecma262/#sec-array.prototype.indexof |
| 3726 |
indexOf: createMethod(false) |
| 3727 |
}; |
| 3728 |
|
| 3729 |
|
| 3730 |
/***/ }), |
| 3731 |
|
| 3732 |
/***/ "../node_modules/core-js/internals/array-set-length.js": |
| 3733 |
/*!*************************************************************!*\ |
| 3734 |
!*** ../node_modules/core-js/internals/array-set-length.js ***! |
| 3735 |
\*************************************************************/ |
| 3736 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3737 |
|
| 3738 |
"use strict"; |
| 3739 |
|
| 3740 |
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 3741 |
var isArray = __webpack_require__(/*! ../internals/is-array */ "../node_modules/core-js/internals/is-array.js"); |
| 3742 |
|
| 3743 |
var $TypeError = TypeError; |
| 3744 |
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe |
| 3745 |
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; |
| 3746 |
|
| 3747 |
// Safari < 13 does not throw an error in this case |
| 3748 |
var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () { |
| 3749 |
// makes no sense without proper strict mode support |
| 3750 |
if (this !== undefined) return true; |
| 3751 |
try { |
| 3752 |
// eslint-disable-next-line es/no-object-defineproperty -- safe |
| 3753 |
Object.defineProperty([], 'length', { writable: false }).length = 1; |
| 3754 |
} catch (error) { |
| 3755 |
return error instanceof TypeError; |
| 3756 |
} |
| 3757 |
}(); |
| 3758 |
|
| 3759 |
module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) { |
| 3760 |
if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) { |
| 3761 |
throw new $TypeError('Cannot set read only .length'); |
| 3762 |
} return O.length = length; |
| 3763 |
} : function (O, length) { |
| 3764 |
return O.length = length; |
| 3765 |
}; |
| 3766 |
|
| 3767 |
|
| 3768 |
/***/ }), |
| 3769 |
|
| 3770 |
/***/ "../node_modules/core-js/internals/call-with-safe-iteration-closing.js": |
| 3771 |
/*!*****************************************************************************!*\ |
| 3772 |
!*** ../node_modules/core-js/internals/call-with-safe-iteration-closing.js ***! |
| 3773 |
\*****************************************************************************/ |
| 3774 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3775 |
|
| 3776 |
"use strict"; |
| 3777 |
|
| 3778 |
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); |
| 3779 |
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js"); |
| 3780 |
|
| 3781 |
// call something on iterator step with safe closing on error |
| 3782 |
module.exports = function (iterator, fn, value, ENTRIES) { |
| 3783 |
try { |
| 3784 |
return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); |
| 3785 |
} catch (error) { |
| 3786 |
iteratorClose(iterator, 'throw', error); |
| 3787 |
} |
| 3788 |
}; |
| 3789 |
|
| 3790 |
|
| 3791 |
/***/ }), |
| 3792 |
|
| 3793 |
/***/ "../node_modules/core-js/internals/classof-raw.js": |
| 3794 |
/*!********************************************************!*\ |
| 3795 |
!*** ../node_modules/core-js/internals/classof-raw.js ***! |
| 3796 |
\********************************************************/ |
| 3797 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3798 |
|
| 3799 |
"use strict"; |
| 3800 |
|
| 3801 |
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 3802 |
|
| 3803 |
var toString = uncurryThis({}.toString); |
| 3804 |
var stringSlice = uncurryThis(''.slice); |
| 3805 |
|
| 3806 |
module.exports = function (it) { |
| 3807 |
return stringSlice(toString(it), 8, -1); |
| 3808 |
}; |
| 3809 |
|
| 3810 |
|
| 3811 |
/***/ }), |
| 3812 |
|
| 3813 |
/***/ "../node_modules/core-js/internals/classof.js": |
| 3814 |
/*!****************************************************!*\ |
| 3815 |
!*** ../node_modules/core-js/internals/classof.js ***! |
| 3816 |
\****************************************************/ |
| 3817 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3818 |
|
| 3819 |
"use strict"; |
| 3820 |
|
| 3821 |
var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "../node_modules/core-js/internals/to-string-tag-support.js"); |
| 3822 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 3823 |
var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js"); |
| 3824 |
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); |
| 3825 |
|
| 3826 |
var TO_STRING_TAG = wellKnownSymbol('toStringTag'); |
| 3827 |
var $Object = Object; |
| 3828 |
|
| 3829 |
// ES3 wrong here |
| 3830 |
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments'; |
| 3831 |
|
| 3832 |
// fallback for IE11 Script Access Denied error |
| 3833 |
var tryGet = function (it, key) { |
| 3834 |
try { |
| 3835 |
return it[key]; |
| 3836 |
} catch (error) { /* empty */ } |
| 3837 |
}; |
| 3838 |
|
| 3839 |
// getting tag from ES6+ `Object.prototype.toString` |
| 3840 |
module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { |
| 3841 |
var O, tag, result; |
| 3842 |
return it === undefined ? 'Undefined' : it === null ? 'Null' |
| 3843 |
// @@toStringTag case |
| 3844 |
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag |
| 3845 |
// builtinTag case |
| 3846 |
: CORRECT_ARGUMENTS ? classofRaw(O) |
| 3847 |
// ES3 arguments fallback |
| 3848 |
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result; |
| 3849 |
}; |
| 3850 |
|
| 3851 |
|
| 3852 |
/***/ }), |
| 3853 |
|
| 3854 |
/***/ "../node_modules/core-js/internals/copy-constructor-properties.js": |
| 3855 |
/*!************************************************************************!*\ |
| 3856 |
!*** ../node_modules/core-js/internals/copy-constructor-properties.js ***! |
| 3857 |
\************************************************************************/ |
| 3858 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3859 |
|
| 3860 |
"use strict"; |
| 3861 |
|
| 3862 |
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| 3863 |
var ownKeys = __webpack_require__(/*! ../internals/own-keys */ "../node_modules/core-js/internals/own-keys.js"); |
| 3864 |
var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../node_modules/core-js/internals/object-get-own-property-descriptor.js"); |
| 3865 |
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js"); |
| 3866 |
|
| 3867 |
module.exports = function (target, source, exceptions) { |
| 3868 |
var keys = ownKeys(source); |
| 3869 |
var defineProperty = definePropertyModule.f; |
| 3870 |
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; |
| 3871 |
for (var i = 0; i < keys.length; i++) { |
| 3872 |
var key = keys[i]; |
| 3873 |
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) { |
| 3874 |
defineProperty(target, key, getOwnPropertyDescriptor(source, key)); |
| 3875 |
} |
| 3876 |
} |
| 3877 |
}; |
| 3878 |
|
| 3879 |
|
| 3880 |
/***/ }), |
| 3881 |
|
| 3882 |
/***/ "../node_modules/core-js/internals/correct-prototype-getter.js": |
| 3883 |
/*!*********************************************************************!*\ |
| 3884 |
!*** ../node_modules/core-js/internals/correct-prototype-getter.js ***! |
| 3885 |
\*********************************************************************/ |
| 3886 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3887 |
|
| 3888 |
"use strict"; |
| 3889 |
|
| 3890 |
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 3891 |
|
| 3892 |
module.exports = !fails(function () { |
| 3893 |
function F() { /* empty */ } |
| 3894 |
F.prototype.constructor = null; |
| 3895 |
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing |
| 3896 |
return Object.getPrototypeOf(new F()) !== F.prototype; |
| 3897 |
}); |
| 3898 |
|
| 3899 |
|
| 3900 |
/***/ }), |
| 3901 |
|
| 3902 |
/***/ "../node_modules/core-js/internals/create-iter-result-object.js": |
| 3903 |
/*!**********************************************************************!*\ |
| 3904 |
!*** ../node_modules/core-js/internals/create-iter-result-object.js ***! |
| 3905 |
\**********************************************************************/ |
| 3906 |
/***/ ((module) => { |
| 3907 |
|
| 3908 |
"use strict"; |
| 3909 |
|
| 3910 |
// `CreateIterResultObject` abstract operation |
| 3911 |
// https://tc39.es/ecma262/#sec-createiterresultobject |
| 3912 |
module.exports = function (value, done) { |
| 3913 |
return { value: value, done: done }; |
| 3914 |
}; |
| 3915 |
|
| 3916 |
|
| 3917 |
/***/ }), |
| 3918 |
|
| 3919 |
/***/ "../node_modules/core-js/internals/create-non-enumerable-property.js": |
| 3920 |
/*!***************************************************************************!*\ |
| 3921 |
!*** ../node_modules/core-js/internals/create-non-enumerable-property.js ***! |
| 3922 |
\***************************************************************************/ |
| 3923 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3924 |
|
| 3925 |
"use strict"; |
| 3926 |
|
| 3927 |
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 3928 |
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js"); |
| 3929 |
var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js"); |
| 3930 |
|
| 3931 |
module.exports = DESCRIPTORS ? function (object, key, value) { |
| 3932 |
return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); |
| 3933 |
} : function (object, key, value) { |
| 3934 |
object[key] = value; |
| 3935 |
return object; |
| 3936 |
}; |
| 3937 |
|
| 3938 |
|
| 3939 |
/***/ }), |
| 3940 |
|
| 3941 |
/***/ "../node_modules/core-js/internals/create-property-descriptor.js": |
| 3942 |
/*!***********************************************************************!*\ |
| 3943 |
!*** ../node_modules/core-js/internals/create-property-descriptor.js ***! |
| 3944 |
\***********************************************************************/ |
| 3945 |
/***/ ((module) => { |
| 3946 |
|
| 3947 |
"use strict"; |
| 3948 |
|
| 3949 |
module.exports = function (bitmap, value) { |
| 3950 |
return { |
| 3951 |
enumerable: !(bitmap & 1), |
| 3952 |
configurable: !(bitmap & 2), |
| 3953 |
writable: !(bitmap & 4), |
| 3954 |
value: value |
| 3955 |
}; |
| 3956 |
}; |
| 3957 |
|
| 3958 |
|
| 3959 |
/***/ }), |
| 3960 |
|
| 3961 |
/***/ "../node_modules/core-js/internals/create-property.js": |
| 3962 |
/*!************************************************************!*\ |
| 3963 |
!*** ../node_modules/core-js/internals/create-property.js ***! |
| 3964 |
\************************************************************/ |
| 3965 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3966 |
|
| 3967 |
"use strict"; |
| 3968 |
|
| 3969 |
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 3970 |
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js"); |
| 3971 |
var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js"); |
| 3972 |
|
| 3973 |
module.exports = function (object, key, value) { |
| 3974 |
if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value)); |
| 3975 |
else object[key] = value; |
| 3976 |
}; |
| 3977 |
|
| 3978 |
|
| 3979 |
/***/ }), |
| 3980 |
|
| 3981 |
/***/ "../node_modules/core-js/internals/define-built-in-accessor.js": |
| 3982 |
/*!*********************************************************************!*\ |
| 3983 |
!*** ../node_modules/core-js/internals/define-built-in-accessor.js ***! |
| 3984 |
\*********************************************************************/ |
| 3985 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3986 |
|
| 3987 |
"use strict"; |
| 3988 |
|
| 3989 |
var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ "../node_modules/core-js/internals/make-built-in.js"); |
| 3990 |
var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js"); |
| 3991 |
|
| 3992 |
module.exports = function (target, name, descriptor) { |
| 3993 |
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true }); |
| 3994 |
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true }); |
| 3995 |
return defineProperty.f(target, name, descriptor); |
| 3996 |
}; |
| 3997 |
|
| 3998 |
|
| 3999 |
/***/ }), |
| 4000 |
|
| 4001 |
/***/ "../node_modules/core-js/internals/define-built-in.js": |
| 4002 |
/*!************************************************************!*\ |
| 4003 |
!*** ../node_modules/core-js/internals/define-built-in.js ***! |
| 4004 |
\************************************************************/ |
| 4005 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4006 |
|
| 4007 |
"use strict"; |
| 4008 |
|
| 4009 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 4010 |
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js"); |
| 4011 |
var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ "../node_modules/core-js/internals/make-built-in.js"); |
| 4012 |
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js"); |
| 4013 |
|
| 4014 |
module.exports = function (O, key, value, options) { |
| 4015 |
if (!options) options = {}; |
| 4016 |
var simple = options.enumerable; |
| 4017 |
var name = options.name !== undefined ? options.name : key; |
| 4018 |
if (isCallable(value)) makeBuiltIn(value, name, options); |
| 4019 |
if (options.global) { |
| 4020 |
if (simple) O[key] = value; |
| 4021 |
else defineGlobalProperty(key, value); |
| 4022 |
} else { |
| 4023 |
try { |
| 4024 |
if (!options.unsafe) delete O[key]; |
| 4025 |
else if (O[key]) simple = true; |
| 4026 |
} catch (error) { /* empty */ } |
| 4027 |
if (simple) O[key] = value; |
| 4028 |
else definePropertyModule.f(O, key, { |
| 4029 |
value: value, |
| 4030 |
enumerable: false, |
| 4031 |
configurable: !options.nonConfigurable, |
| 4032 |
writable: !options.nonWritable |
| 4033 |
}); |
| 4034 |
} return O; |
| 4035 |
}; |
| 4036 |
|
| 4037 |
|
| 4038 |
/***/ }), |
| 4039 |
|
| 4040 |
/***/ "../node_modules/core-js/internals/define-built-ins.js": |
| 4041 |
/*!*************************************************************!*\ |
| 4042 |
!*** ../node_modules/core-js/internals/define-built-ins.js ***! |
| 4043 |
\*************************************************************/ |
| 4044 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4045 |
|
| 4046 |
"use strict"; |
| 4047 |
|
| 4048 |
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../node_modules/core-js/internals/define-built-in.js"); |
| 4049 |
|
| 4050 |
module.exports = function (target, src, options) { |
| 4051 |
for (var key in src) defineBuiltIn(target, key, src[key], options); |
| 4052 |
return target; |
| 4053 |
}; |
| 4054 |
|
| 4055 |
|
| 4056 |
/***/ }), |
| 4057 |
|
| 4058 |
/***/ "../node_modules/core-js/internals/define-global-property.js": |
| 4059 |
/*!*******************************************************************!*\ |
| 4060 |
!*** ../node_modules/core-js/internals/define-global-property.js ***! |
| 4061 |
\*******************************************************************/ |
| 4062 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4063 |
|
| 4064 |
"use strict"; |
| 4065 |
|
| 4066 |
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); |
| 4067 |
|
| 4068 |
// eslint-disable-next-line es/no-object-defineproperty -- safe |
| 4069 |
var defineProperty = Object.defineProperty; |
| 4070 |
|
| 4071 |
module.exports = function (key, value) { |
| 4072 |
try { |
| 4073 |
defineProperty(globalThis, key, { value: value, configurable: true, writable: true }); |
| 4074 |
} catch (error) { |
| 4075 |
globalThis[key] = value; |
| 4076 |
} return value; |
| 4077 |
}; |
| 4078 |
|
| 4079 |
|
| 4080 |
/***/ }), |
| 4081 |
|
| 4082 |
/***/ "../node_modules/core-js/internals/descriptors.js": |
| 4083 |
/*!********************************************************!*\ |
| 4084 |
!*** ../node_modules/core-js/internals/descriptors.js ***! |
| 4085 |
\********************************************************/ |
| 4086 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4087 |
|
| 4088 |
"use strict"; |
| 4089 |
|
| 4090 |
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 4091 |
|
| 4092 |
// Detect IE8's incomplete defineProperty implementation |
| 4093 |
module.exports = !fails(function () { |
| 4094 |
// eslint-disable-next-line es/no-object-defineproperty -- required for testing |
| 4095 |
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7; |
| 4096 |
}); |
| 4097 |
|
| 4098 |
|
| 4099 |
/***/ }), |
| 4100 |
|
| 4101 |
/***/ "../node_modules/core-js/internals/document-create-element.js": |
| 4102 |
/*!********************************************************************!*\ |
| 4103 |
!*** ../node_modules/core-js/internals/document-create-element.js ***! |
| 4104 |
\********************************************************************/ |
| 4105 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4106 |
|
| 4107 |
"use strict"; |
| 4108 |
|
| 4109 |
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); |
| 4110 |
var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); |
| 4111 |
|
| 4112 |
var document = globalThis.document; |
| 4113 |
// typeof document.createElement is 'object' in old IE |
| 4114 |
var EXISTS = isObject(document) && isObject(document.createElement); |
| 4115 |
|
| 4116 |
module.exports = function (it) { |
| 4117 |
return EXISTS ? document.createElement(it) : {}; |
| 4118 |
}; |
| 4119 |
|
| 4120 |
|
| 4121 |
/***/ }), |
| 4122 |
|
| 4123 |
/***/ "../node_modules/core-js/internals/does-not-exceed-safe-integer.js": |
| 4124 |
/*!*************************************************************************!*\ |
| 4125 |
!*** ../node_modules/core-js/internals/does-not-exceed-safe-integer.js ***! |
| 4126 |
\*************************************************************************/ |
| 4127 |
/***/ ((module) => { |
| 4128 |
|
| 4129 |
"use strict"; |
| 4130 |
|
| 4131 |
var $TypeError = TypeError; |
| 4132 |
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 |
| 4133 |
|
| 4134 |
module.exports = function (it) { |
| 4135 |
if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded'); |
| 4136 |
return it; |
| 4137 |
}; |
| 4138 |
|
| 4139 |
|
| 4140 |
/***/ }), |
| 4141 |
|
| 4142 |
/***/ "../node_modules/core-js/internals/enum-bug-keys.js": |
| 4143 |
/*!**********************************************************!*\ |
| 4144 |
!*** ../node_modules/core-js/internals/enum-bug-keys.js ***! |
| 4145 |
\**********************************************************/ |
| 4146 |
/***/ ((module) => { |
| 4147 |
|
| 4148 |
"use strict"; |
| 4149 |
|
| 4150 |
// IE8- don't enum bug keys |
| 4151 |
module.exports = [ |
| 4152 |
'constructor', |
| 4153 |
'hasOwnProperty', |
| 4154 |
'isPrototypeOf', |
| 4155 |
'propertyIsEnumerable', |
| 4156 |
'toLocaleString', |
| 4157 |
'toString', |
| 4158 |
'valueOf' |
| 4159 |
]; |
| 4160 |
|
| 4161 |
|
| 4162 |
/***/ }), |
| 4163 |
|
| 4164 |
/***/ "../node_modules/core-js/internals/environment-user-agent.js": |
| 4165 |
/*!*******************************************************************!*\ |
| 4166 |
!*** ../node_modules/core-js/internals/environment-user-agent.js ***! |
| 4167 |
\*******************************************************************/ |
| 4168 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4169 |
|
| 4170 |
"use strict"; |
| 4171 |
|
| 4172 |
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); |
| 4173 |
|
| 4174 |
var navigator = globalThis.navigator; |
| 4175 |
var userAgent = navigator && navigator.userAgent; |
| 4176 |
|
| 4177 |
module.exports = userAgent ? String(userAgent) : ''; |
| 4178 |
|
| 4179 |
|
| 4180 |
/***/ }), |
| 4181 |
|
| 4182 |
/***/ "../node_modules/core-js/internals/environment-v8-version.js": |
| 4183 |
/*!*******************************************************************!*\ |
| 4184 |
!*** ../node_modules/core-js/internals/environment-v8-version.js ***! |
| 4185 |
\*******************************************************************/ |
| 4186 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4187 |
|
| 4188 |
"use strict"; |
| 4189 |
|
| 4190 |
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); |
| 4191 |
var userAgent = __webpack_require__(/*! ../internals/environment-user-agent */ "../node_modules/core-js/internals/environment-user-agent.js"); |
| 4192 |
|
| 4193 |
var process = globalThis.process; |
| 4194 |
var Deno = globalThis.Deno; |
| 4195 |
var versions = process && process.versions || Deno && Deno.version; |
| 4196 |
var v8 = versions && versions.v8; |
| 4197 |
var match, version; |
| 4198 |
|
| 4199 |
if (v8) { |
| 4200 |
match = v8.split('.'); |
| 4201 |
// in old Chrome, versions of V8 isn't V8 = Chrome / 10 |
| 4202 |
// but their correct versions are not interesting for us |
| 4203 |
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); |
| 4204 |
} |
| 4205 |
|
| 4206 |
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0` |
| 4207 |
// so check `userAgent` even if `.v8` exists, but 0 |
| 4208 |
if (!version && userAgent) { |
| 4209 |
match = userAgent.match(/Edge\/(\d+)/); |
| 4210 |
if (!match || match[1] >= 74) { |
| 4211 |
match = userAgent.match(/Chrome\/(\d+)/); |
| 4212 |
if (match) version = +match[1]; |
| 4213 |
} |
| 4214 |
} |
| 4215 |
|
| 4216 |
module.exports = version; |
| 4217 |
|
| 4218 |
|
| 4219 |
/***/ }), |
| 4220 |
|
| 4221 |
/***/ "../node_modules/core-js/internals/export.js": |
| 4222 |
/*!***************************************************!*\ |
| 4223 |
!*** ../node_modules/core-js/internals/export.js ***! |
| 4224 |
\***************************************************/ |
| 4225 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4226 |
|
| 4227 |
"use strict"; |
| 4228 |
|
| 4229 |
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); |
| 4230 |
var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../node_modules/core-js/internals/object-get-own-property-descriptor.js").f); |
| 4231 |
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); |
| 4232 |
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../node_modules/core-js/internals/define-built-in.js"); |
| 4233 |
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js"); |
| 4234 |
var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "../node_modules/core-js/internals/copy-constructor-properties.js"); |
| 4235 |
var isForced = __webpack_require__(/*! ../internals/is-forced */ "../node_modules/core-js/internals/is-forced.js"); |
| 4236 |
|
| 4237 |
/* |
| 4238 |
options.target - name of the target object |
| 4239 |
options.global - target is the global object |
| 4240 |
options.stat - export as static methods of target |
| 4241 |
options.proto - export as prototype methods of target |
| 4242 |
options.real - real prototype method for the `pure` version |
| 4243 |
options.forced - export even if the native feature is available |
| 4244 |
options.bind - bind methods to the target, required for the `pure` version |
| 4245 |
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version |
| 4246 |
options.unsafe - use the simple assignment of property instead of delete + defineProperty |
| 4247 |
options.sham - add a flag to not completely full polyfills |
| 4248 |
options.enumerable - export as enumerable property |
| 4249 |
options.dontCallGetSet - prevent calling a getter on target |
| 4250 |
options.name - the .name of the function if it does not match the key |
| 4251 |
*/ |
| 4252 |
module.exports = function (options, source) { |
| 4253 |
var TARGET = options.target; |
| 4254 |
var GLOBAL = options.global; |
| 4255 |
var STATIC = options.stat; |
| 4256 |
var FORCED, target, key, targetProperty, sourceProperty, descriptor; |
| 4257 |
if (GLOBAL) { |
| 4258 |
target = globalThis; |
| 4259 |
} else if (STATIC) { |
| 4260 |
target = globalThis[TARGET] || defineGlobalProperty(TARGET, {}); |
| 4261 |
} else { |
| 4262 |
target = globalThis[TARGET] && globalThis[TARGET].prototype; |
| 4263 |
} |
| 4264 |
if (target) for (key in source) { |
| 4265 |
sourceProperty = source[key]; |
| 4266 |
if (options.dontCallGetSet) { |
| 4267 |
descriptor = getOwnPropertyDescriptor(target, key); |
| 4268 |
targetProperty = descriptor && descriptor.value; |
| 4269 |
} else targetProperty = target[key]; |
| 4270 |
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); |
| 4271 |
// contained in target |
| 4272 |
if (!FORCED && targetProperty !== undefined) { |
| 4273 |
if (typeof sourceProperty == typeof targetProperty) continue; |
| 4274 |
copyConstructorProperties(sourceProperty, targetProperty); |
| 4275 |
} |
| 4276 |
// add a flag to not completely full polyfills |
| 4277 |
if (options.sham || (targetProperty && targetProperty.sham)) { |
| 4278 |
createNonEnumerableProperty(sourceProperty, 'sham', true); |
| 4279 |
} |
| 4280 |
defineBuiltIn(target, key, sourceProperty, options); |
| 4281 |
} |
| 4282 |
}; |
| 4283 |
|
| 4284 |
|
| 4285 |
/***/ }), |
| 4286 |
|
| 4287 |
/***/ "../node_modules/core-js/internals/fails.js": |
| 4288 |
/*!**************************************************!*\ |
| 4289 |
!*** ../node_modules/core-js/internals/fails.js ***! |
| 4290 |
\**************************************************/ |
| 4291 |
/***/ ((module) => { |
| 4292 |
|
| 4293 |
"use strict"; |
| 4294 |
|
| 4295 |
module.exports = function (exec) { |
| 4296 |
try { |
| 4297 |
return !!exec(); |
| 4298 |
} catch (error) { |
| 4299 |
return true; |
| 4300 |
} |
| 4301 |
}; |
| 4302 |
|
| 4303 |
|
| 4304 |
/***/ }), |
| 4305 |
|
| 4306 |
/***/ "../node_modules/core-js/internals/function-bind-context.js": |
| 4307 |
/*!******************************************************************!*\ |
| 4308 |
!*** ../node_modules/core-js/internals/function-bind-context.js ***! |
| 4309 |
\******************************************************************/ |
| 4310 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4311 |
|
| 4312 |
"use strict"; |
| 4313 |
|
| 4314 |
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ "../node_modules/core-js/internals/function-uncurry-this-clause.js"); |
| 4315 |
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); |
| 4316 |
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js"); |
| 4317 |
|
| 4318 |
var bind = uncurryThis(uncurryThis.bind); |
| 4319 |
|
| 4320 |
// optional / simple context binding |
| 4321 |
module.exports = function (fn, that) { |
| 4322 |
aCallable(fn); |
| 4323 |
return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) { |
| 4324 |
return fn.apply(that, arguments); |
| 4325 |
}; |
| 4326 |
}; |
| 4327 |
|
| 4328 |
|
| 4329 |
/***/ }), |
| 4330 |
|
| 4331 |
/***/ "../node_modules/core-js/internals/function-bind-native.js": |
| 4332 |
/*!*****************************************************************!*\ |
| 4333 |
!*** ../node_modules/core-js/internals/function-bind-native.js ***! |
| 4334 |
\*****************************************************************/ |
| 4335 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4336 |
|
| 4337 |
"use strict"; |
| 4338 |
|
| 4339 |
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 4340 |
|
| 4341 |
module.exports = !fails(function () { |
| 4342 |
// eslint-disable-next-line es/no-function-prototype-bind -- safe |
| 4343 |
var test = (function () { /* empty */ }).bind(); |
| 4344 |
// eslint-disable-next-line no-prototype-builtins -- safe |
| 4345 |
return typeof test != 'function' || test.hasOwnProperty('prototype'); |
| 4346 |
}); |
| 4347 |
|
| 4348 |
|
| 4349 |
/***/ }), |
| 4350 |
|
| 4351 |
/***/ "../node_modules/core-js/internals/function-call.js": |
| 4352 |
/*!**********************************************************!*\ |
| 4353 |
!*** ../node_modules/core-js/internals/function-call.js ***! |
| 4354 |
\**********************************************************/ |
| 4355 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4356 |
|
| 4357 |
"use strict"; |
| 4358 |
|
| 4359 |
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js"); |
| 4360 |
|
| 4361 |
var call = Function.prototype.call; |
| 4362 |
// eslint-disable-next-line es/no-function-prototype-bind -- safe |
| 4363 |
module.exports = NATIVE_BIND ? call.bind(call) : function () { |
| 4364 |
return call.apply(call, arguments); |
| 4365 |
}; |
| 4366 |
|
| 4367 |
|
| 4368 |
/***/ }), |
| 4369 |
|
| 4370 |
/***/ "../node_modules/core-js/internals/function-name.js": |
| 4371 |
/*!**********************************************************!*\ |
| 4372 |
!*** ../node_modules/core-js/internals/function-name.js ***! |
| 4373 |
\**********************************************************/ |
| 4374 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4375 |
|
| 4376 |
"use strict"; |
| 4377 |
|
| 4378 |
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 4379 |
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| 4380 |
|
| 4381 |
var FunctionPrototype = Function.prototype; |
| 4382 |
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe |
| 4383 |
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor; |
| 4384 |
|
| 4385 |
var EXISTS = hasOwn(FunctionPrototype, 'name'); |
| 4386 |
// additional protection from minified / mangled / dropped function names |
| 4387 |
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; |
| 4388 |
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable)); |
| 4389 |
|
| 4390 |
module.exports = { |
| 4391 |
EXISTS: EXISTS, |
| 4392 |
PROPER: PROPER, |
| 4393 |
CONFIGURABLE: CONFIGURABLE |
| 4394 |
}; |
| 4395 |
|
| 4396 |
|
| 4397 |
/***/ }), |
| 4398 |
|
| 4399 |
/***/ "../node_modules/core-js/internals/function-uncurry-this-clause.js": |
| 4400 |
/*!*************************************************************************!*\ |
| 4401 |
!*** ../node_modules/core-js/internals/function-uncurry-this-clause.js ***! |
| 4402 |
\*************************************************************************/ |
| 4403 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4404 |
|
| 4405 |
"use strict"; |
| 4406 |
|
| 4407 |
var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js"); |
| 4408 |
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 4409 |
|
| 4410 |
module.exports = function (fn) { |
| 4411 |
// Nashorn bug: |
| 4412 |
// https://github.com/zloirock/core-js/issues/1128 |
| 4413 |
// https://github.com/zloirock/core-js/issues/1130 |
| 4414 |
if (classofRaw(fn) === 'Function') return uncurryThis(fn); |
| 4415 |
}; |
| 4416 |
|
| 4417 |
|
| 4418 |
/***/ }), |
| 4419 |
|
| 4420 |
/***/ "../node_modules/core-js/internals/function-uncurry-this.js": |
| 4421 |
/*!******************************************************************!*\ |
| 4422 |
!*** ../node_modules/core-js/internals/function-uncurry-this.js ***! |
| 4423 |
\******************************************************************/ |
| 4424 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4425 |
|
| 4426 |
"use strict"; |
| 4427 |
|
| 4428 |
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js"); |
| 4429 |
|
| 4430 |
var FunctionPrototype = Function.prototype; |
| 4431 |
var call = FunctionPrototype.call; |
| 4432 |
// eslint-disable-next-line es/no-function-prototype-bind -- safe |
| 4433 |
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); |
| 4434 |
|
| 4435 |
module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) { |
| 4436 |
return function () { |
| 4437 |
return call.apply(fn, arguments); |
| 4438 |
}; |
| 4439 |
}; |
| 4440 |
|
| 4441 |
|
| 4442 |
/***/ }), |
| 4443 |
|
| 4444 |
/***/ "../node_modules/core-js/internals/get-built-in.js": |
| 4445 |
/*!*********************************************************!*\ |
| 4446 |
!*** ../node_modules/core-js/internals/get-built-in.js ***! |
| 4447 |
\*********************************************************/ |
| 4448 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4449 |
|
| 4450 |
"use strict"; |
| 4451 |
|
| 4452 |
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); |
| 4453 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 4454 |
|
| 4455 |
var aFunction = function (argument) { |
| 4456 |
return isCallable(argument) ? argument : undefined; |
| 4457 |
}; |
| 4458 |
|
| 4459 |
module.exports = function (namespace, method) { |
| 4460 |
return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method]; |
| 4461 |
}; |
| 4462 |
|
| 4463 |
|
| 4464 |
/***/ }), |
| 4465 |
|
| 4466 |
/***/ "../node_modules/core-js/internals/get-iterator-direct.js": |
| 4467 |
/*!****************************************************************!*\ |
| 4468 |
!*** ../node_modules/core-js/internals/get-iterator-direct.js ***! |
| 4469 |
\****************************************************************/ |
| 4470 |
/***/ ((module) => { |
| 4471 |
|
| 4472 |
"use strict"; |
| 4473 |
|
| 4474 |
// `GetIteratorDirect(obj)` abstract operation |
| 4475 |
// https://tc39.es/ecma262/#sec-getiteratordirect |
| 4476 |
module.exports = function (obj) { |
| 4477 |
return { |
| 4478 |
iterator: obj, |
| 4479 |
next: obj.next, |
| 4480 |
done: false |
| 4481 |
}; |
| 4482 |
}; |
| 4483 |
|
| 4484 |
|
| 4485 |
/***/ }), |
| 4486 |
|
| 4487 |
/***/ "../node_modules/core-js/internals/get-iterator-method.js": |
| 4488 |
/*!****************************************************************!*\ |
| 4489 |
!*** ../node_modules/core-js/internals/get-iterator-method.js ***! |
| 4490 |
\****************************************************************/ |
| 4491 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4492 |
|
| 4493 |
"use strict"; |
| 4494 |
|
| 4495 |
var classof = __webpack_require__(/*! ../internals/classof */ "../node_modules/core-js/internals/classof.js"); |
| 4496 |
var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js"); |
| 4497 |
var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "../node_modules/core-js/internals/is-null-or-undefined.js"); |
| 4498 |
var Iterators = __webpack_require__(/*! ../internals/iterators */ "../node_modules/core-js/internals/iterators.js"); |
| 4499 |
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); |
| 4500 |
|
| 4501 |
var ITERATOR = wellKnownSymbol('iterator'); |
| 4502 |
|
| 4503 |
module.exports = function (it) { |
| 4504 |
if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR) |
| 4505 |
|| getMethod(it, '@@iterator') |
| 4506 |
|| Iterators[classof(it)]; |
| 4507 |
}; |
| 4508 |
|
| 4509 |
|
| 4510 |
/***/ }), |
| 4511 |
|
| 4512 |
/***/ "../node_modules/core-js/internals/get-iterator.js": |
| 4513 |
/*!*********************************************************!*\ |
| 4514 |
!*** ../node_modules/core-js/internals/get-iterator.js ***! |
| 4515 |
\*********************************************************/ |
| 4516 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4517 |
|
| 4518 |
"use strict"; |
| 4519 |
|
| 4520 |
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); |
| 4521 |
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); |
| 4522 |
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); |
| 4523 |
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../node_modules/core-js/internals/try-to-string.js"); |
| 4524 |
var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "../node_modules/core-js/internals/get-iterator-method.js"); |
| 4525 |
|
| 4526 |
var $TypeError = TypeError; |
| 4527 |
|
| 4528 |
module.exports = function (argument, usingIterator) { |
| 4529 |
var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator; |
| 4530 |
if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument)); |
| 4531 |
throw new $TypeError(tryToString(argument) + ' is not iterable'); |
| 4532 |
}; |
| 4533 |
|
| 4534 |
|
| 4535 |
/***/ }), |
| 4536 |
|
| 4537 |
/***/ "../node_modules/core-js/internals/get-method.js": |
| 4538 |
/*!*******************************************************!*\ |
| 4539 |
!*** ../node_modules/core-js/internals/get-method.js ***! |
| 4540 |
\*******************************************************/ |
| 4541 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4542 |
|
| 4543 |
"use strict"; |
| 4544 |
|
| 4545 |
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); |
| 4546 |
var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "../node_modules/core-js/internals/is-null-or-undefined.js"); |
| 4547 |
|
| 4548 |
// `GetMethod` abstract operation |
| 4549 |
// https://tc39.es/ecma262/#sec-getmethod |
| 4550 |
module.exports = function (V, P) { |
| 4551 |
var func = V[P]; |
| 4552 |
return isNullOrUndefined(func) ? undefined : aCallable(func); |
| 4553 |
}; |
| 4554 |
|
| 4555 |
|
| 4556 |
/***/ }), |
| 4557 |
|
| 4558 |
/***/ "../node_modules/core-js/internals/global-this.js": |
| 4559 |
/*!********************************************************!*\ |
| 4560 |
!*** ../node_modules/core-js/internals/global-this.js ***! |
| 4561 |
\********************************************************/ |
| 4562 |
/***/ (function(module, __unused_webpack_exports, __webpack_require__) { |
| 4563 |
|
| 4564 |
"use strict"; |
| 4565 |
|
| 4566 |
var check = function (it) { |
| 4567 |
return it && it.Math === Math && it; |
| 4568 |
}; |
| 4569 |
|
| 4570 |
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 |
| 4571 |
module.exports = |
| 4572 |
// eslint-disable-next-line es/no-global-this -- safe |
| 4573 |
check(typeof globalThis == 'object' && globalThis) || |
| 4574 |
check(typeof window == 'object' && window) || |
| 4575 |
// eslint-disable-next-line no-restricted-globals -- safe |
| 4576 |
check(typeof self == 'object' && self) || |
| 4577 |
check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) || |
| 4578 |
check(typeof this == 'object' && this) || |
| 4579 |
// eslint-disable-next-line no-new-func -- fallback |
| 4580 |
(function () { return this; })() || Function('return this')(); |
| 4581 |
|
| 4582 |
|
| 4583 |
/***/ }), |
| 4584 |
|
| 4585 |
/***/ "../node_modules/core-js/internals/has-own-property.js": |
| 4586 |
/*!*************************************************************!*\ |
| 4587 |
!*** ../node_modules/core-js/internals/has-own-property.js ***! |
| 4588 |
\*************************************************************/ |
| 4589 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4590 |
|
| 4591 |
"use strict"; |
| 4592 |
|
| 4593 |
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 4594 |
var toObject = __webpack_require__(/*! ../internals/to-object */ "../node_modules/core-js/internals/to-object.js"); |
| 4595 |
|
| 4596 |
var hasOwnProperty = uncurryThis({}.hasOwnProperty); |
| 4597 |
|
| 4598 |
// `HasOwnProperty` abstract operation |
| 4599 |
// https://tc39.es/ecma262/#sec-hasownproperty |
| 4600 |
// eslint-disable-next-line es/no-object-hasown -- safe |
| 4601 |
module.exports = Object.hasOwn || function hasOwn(it, key) { |
| 4602 |
return hasOwnProperty(toObject(it), key); |
| 4603 |
}; |
| 4604 |
|
| 4605 |
|
| 4606 |
/***/ }), |
| 4607 |
|
| 4608 |
/***/ "../node_modules/core-js/internals/hidden-keys.js": |
| 4609 |
/*!********************************************************!*\ |
| 4610 |
!*** ../node_modules/core-js/internals/hidden-keys.js ***! |
| 4611 |
\********************************************************/ |
| 4612 |
/***/ ((module) => { |
| 4613 |
|
| 4614 |
"use strict"; |
| 4615 |
|
| 4616 |
module.exports = {}; |
| 4617 |
|
| 4618 |
|
| 4619 |
/***/ }), |
| 4620 |
|
| 4621 |
/***/ "../node_modules/core-js/internals/html.js": |
| 4622 |
/*!*************************************************!*\ |
| 4623 |
!*** ../node_modules/core-js/internals/html.js ***! |
| 4624 |
\*************************************************/ |
| 4625 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4626 |
|
| 4627 |
"use strict"; |
| 4628 |
|
| 4629 |
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js"); |
| 4630 |
|
| 4631 |
module.exports = getBuiltIn('document', 'documentElement'); |
| 4632 |
|
| 4633 |
|
| 4634 |
/***/ }), |
| 4635 |
|
| 4636 |
/***/ "../node_modules/core-js/internals/ie8-dom-define.js": |
| 4637 |
/*!***********************************************************!*\ |
| 4638 |
!*** ../node_modules/core-js/internals/ie8-dom-define.js ***! |
| 4639 |
\***********************************************************/ |
| 4640 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4641 |
|
| 4642 |
"use strict"; |
| 4643 |
|
| 4644 |
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 4645 |
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 4646 |
var createElement = __webpack_require__(/*! ../internals/document-create-element */ "../node_modules/core-js/internals/document-create-element.js"); |
| 4647 |
|
| 4648 |
// Thanks to IE8 for its funny defineProperty |
| 4649 |
module.exports = !DESCRIPTORS && !fails(function () { |
| 4650 |
// eslint-disable-next-line es/no-object-defineproperty -- required for testing |
| 4651 |
return Object.defineProperty(createElement('div'), 'a', { |
| 4652 |
get: function () { return 7; } |
| 4653 |
}).a !== 7; |
| 4654 |
}); |
| 4655 |
|
| 4656 |
|
| 4657 |
/***/ }), |
| 4658 |
|
| 4659 |
/***/ "../node_modules/core-js/internals/indexed-object.js": |
| 4660 |
/*!***********************************************************!*\ |
| 4661 |
!*** ../node_modules/core-js/internals/indexed-object.js ***! |
| 4662 |
\***********************************************************/ |
| 4663 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4664 |
|
| 4665 |
"use strict"; |
| 4666 |
|
| 4667 |
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 4668 |
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 4669 |
var classof = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js"); |
| 4670 |
|
| 4671 |
var $Object = Object; |
| 4672 |
var split = uncurryThis(''.split); |
| 4673 |
|
| 4674 |
// fallback for non-array-like ES3 and non-enumerable old V8 strings |
| 4675 |
module.exports = fails(function () { |
| 4676 |
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 |
| 4677 |
// eslint-disable-next-line no-prototype-builtins -- safe |
| 4678 |
return !$Object('z').propertyIsEnumerable(0); |
| 4679 |
}) ? function (it) { |
| 4680 |
return classof(it) === 'String' ? split(it, '') : $Object(it); |
| 4681 |
} : $Object; |
| 4682 |
|
| 4683 |
|
| 4684 |
/***/ }), |
| 4685 |
|
| 4686 |
/***/ "../node_modules/core-js/internals/inspect-source.js": |
| 4687 |
/*!***********************************************************!*\ |
| 4688 |
!*** ../node_modules/core-js/internals/inspect-source.js ***! |
| 4689 |
\***********************************************************/ |
| 4690 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4691 |
|
| 4692 |
"use strict"; |
| 4693 |
|
| 4694 |
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 4695 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 4696 |
var store = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js"); |
| 4697 |
|
| 4698 |
var functionToString = uncurryThis(Function.toString); |
| 4699 |
|
| 4700 |
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper |
| 4701 |
if (!isCallable(store.inspectSource)) { |
| 4702 |
store.inspectSource = function (it) { |
| 4703 |
return functionToString(it); |
| 4704 |
}; |
| 4705 |
} |
| 4706 |
|
| 4707 |
module.exports = store.inspectSource; |
| 4708 |
|
| 4709 |
|
| 4710 |
/***/ }), |
| 4711 |
|
| 4712 |
/***/ "../node_modules/core-js/internals/internal-state.js": |
| 4713 |
/*!***********************************************************!*\ |
| 4714 |
!*** ../node_modules/core-js/internals/internal-state.js ***! |
| 4715 |
\***********************************************************/ |
| 4716 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4717 |
|
| 4718 |
"use strict"; |
| 4719 |
|
| 4720 |
var NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/weak-map-basic-detection */ "../node_modules/core-js/internals/weak-map-basic-detection.js"); |
| 4721 |
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); |
| 4722 |
var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); |
| 4723 |
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); |
| 4724 |
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| 4725 |
var shared = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js"); |
| 4726 |
var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "../node_modules/core-js/internals/shared-key.js"); |
| 4727 |
var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js"); |
| 4728 |
|
| 4729 |
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; |
| 4730 |
var TypeError = globalThis.TypeError; |
| 4731 |
var WeakMap = globalThis.WeakMap; |
| 4732 |
var set, get, has; |
| 4733 |
|
| 4734 |
var enforce = function (it) { |
| 4735 |
return has(it) ? get(it) : set(it, {}); |
| 4736 |
}; |
| 4737 |
|
| 4738 |
var getterFor = function (TYPE) { |
| 4739 |
return function (it) { |
| 4740 |
var state; |
| 4741 |
if (!isObject(it) || (state = get(it)).type !== TYPE) { |
| 4742 |
throw new TypeError('Incompatible receiver, ' + TYPE + ' required'); |
| 4743 |
} return state; |
| 4744 |
}; |
| 4745 |
}; |
| 4746 |
|
| 4747 |
if (NATIVE_WEAK_MAP || shared.state) { |
| 4748 |
var store = shared.state || (shared.state = new WeakMap()); |
| 4749 |
/* eslint-disable no-self-assign -- prototype methods protection */ |
| 4750 |
store.get = store.get; |
| 4751 |
store.has = store.has; |
| 4752 |
store.set = store.set; |
| 4753 |
/* eslint-enable no-self-assign -- prototype methods protection */ |
| 4754 |
set = function (it, metadata) { |
| 4755 |
if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); |
| 4756 |
metadata.facade = it; |
| 4757 |
store.set(it, metadata); |
| 4758 |
return metadata; |
| 4759 |
}; |
| 4760 |
get = function (it) { |
| 4761 |
return store.get(it) || {}; |
| 4762 |
}; |
| 4763 |
has = function (it) { |
| 4764 |
return store.has(it); |
| 4765 |
}; |
| 4766 |
} else { |
| 4767 |
var STATE = sharedKey('state'); |
| 4768 |
hiddenKeys[STATE] = true; |
| 4769 |
set = function (it, metadata) { |
| 4770 |
if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); |
| 4771 |
metadata.facade = it; |
| 4772 |
createNonEnumerableProperty(it, STATE, metadata); |
| 4773 |
return metadata; |
| 4774 |
}; |
| 4775 |
get = function (it) { |
| 4776 |
return hasOwn(it, STATE) ? it[STATE] : {}; |
| 4777 |
}; |
| 4778 |
has = function (it) { |
| 4779 |
return hasOwn(it, STATE); |
| 4780 |
}; |
| 4781 |
} |
| 4782 |
|
| 4783 |
module.exports = { |
| 4784 |
set: set, |
| 4785 |
get: get, |
| 4786 |
has: has, |
| 4787 |
enforce: enforce, |
| 4788 |
getterFor: getterFor |
| 4789 |
}; |
| 4790 |
|
| 4791 |
|
| 4792 |
/***/ }), |
| 4793 |
|
| 4794 |
/***/ "../node_modules/core-js/internals/is-array-iterator-method.js": |
| 4795 |
/*!*********************************************************************!*\ |
| 4796 |
!*** ../node_modules/core-js/internals/is-array-iterator-method.js ***! |
| 4797 |
\*********************************************************************/ |
| 4798 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4799 |
|
| 4800 |
"use strict"; |
| 4801 |
|
| 4802 |
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); |
| 4803 |
var Iterators = __webpack_require__(/*! ../internals/iterators */ "../node_modules/core-js/internals/iterators.js"); |
| 4804 |
|
| 4805 |
var ITERATOR = wellKnownSymbol('iterator'); |
| 4806 |
var ArrayPrototype = Array.prototype; |
| 4807 |
|
| 4808 |
// check on default Array iterator |
| 4809 |
module.exports = function (it) { |
| 4810 |
return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); |
| 4811 |
}; |
| 4812 |
|
| 4813 |
|
| 4814 |
/***/ }), |
| 4815 |
|
| 4816 |
/***/ "../node_modules/core-js/internals/is-array.js": |
| 4817 |
/*!*****************************************************!*\ |
| 4818 |
!*** ../node_modules/core-js/internals/is-array.js ***! |
| 4819 |
\*****************************************************/ |
| 4820 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4821 |
|
| 4822 |
"use strict"; |
| 4823 |
|
| 4824 |
var classof = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js"); |
| 4825 |
|
| 4826 |
// `IsArray` abstract operation |
| 4827 |
// https://tc39.es/ecma262/#sec-isarray |
| 4828 |
// eslint-disable-next-line es/no-array-isarray -- safe |
| 4829 |
module.exports = Array.isArray || function isArray(argument) { |
| 4830 |
return classof(argument) === 'Array'; |
| 4831 |
}; |
| 4832 |
|
| 4833 |
|
| 4834 |
/***/ }), |
| 4835 |
|
| 4836 |
/***/ "../node_modules/core-js/internals/is-callable.js": |
| 4837 |
/*!********************************************************!*\ |
| 4838 |
!*** ../node_modules/core-js/internals/is-callable.js ***! |
| 4839 |
\********************************************************/ |
| 4840 |
/***/ ((module) => { |
| 4841 |
|
| 4842 |
"use strict"; |
| 4843 |
|
| 4844 |
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot |
| 4845 |
var documentAll = typeof document == 'object' && document.all; |
| 4846 |
|
| 4847 |
// `IsCallable` abstract operation |
| 4848 |
// https://tc39.es/ecma262/#sec-iscallable |
| 4849 |
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing |
| 4850 |
module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) { |
| 4851 |
return typeof argument == 'function' || argument === documentAll; |
| 4852 |
} : function (argument) { |
| 4853 |
return typeof argument == 'function'; |
| 4854 |
}; |
| 4855 |
|
| 4856 |
|
| 4857 |
/***/ }), |
| 4858 |
|
| 4859 |
/***/ "../node_modules/core-js/internals/is-forced.js": |
| 4860 |
/*!******************************************************!*\ |
| 4861 |
!*** ../node_modules/core-js/internals/is-forced.js ***! |
| 4862 |
\******************************************************/ |
| 4863 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4864 |
|
| 4865 |
"use strict"; |
| 4866 |
|
| 4867 |
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 4868 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 4869 |
|
| 4870 |
var replacement = /#|\.prototype\./; |
| 4871 |
|
| 4872 |
var isForced = function (feature, detection) { |
| 4873 |
var value = data[normalize(feature)]; |
| 4874 |
return value === POLYFILL ? true |
| 4875 |
: value === NATIVE ? false |
| 4876 |
: isCallable(detection) ? fails(detection) |
| 4877 |
: !!detection; |
| 4878 |
}; |
| 4879 |
|
| 4880 |
var normalize = isForced.normalize = function (string) { |
| 4881 |
return String(string).replace(replacement, '.').toLowerCase(); |
| 4882 |
}; |
| 4883 |
|
| 4884 |
var data = isForced.data = {}; |
| 4885 |
var NATIVE = isForced.NATIVE = 'N'; |
| 4886 |
var POLYFILL = isForced.POLYFILL = 'P'; |
| 4887 |
|
| 4888 |
module.exports = isForced; |
| 4889 |
|
| 4890 |
|
| 4891 |
/***/ }), |
| 4892 |
|
| 4893 |
/***/ "../node_modules/core-js/internals/is-null-or-undefined.js": |
| 4894 |
/*!*****************************************************************!*\ |
| 4895 |
!*** ../node_modules/core-js/internals/is-null-or-undefined.js ***! |
| 4896 |
\*****************************************************************/ |
| 4897 |
/***/ ((module) => { |
| 4898 |
|
| 4899 |
"use strict"; |
| 4900 |
|
| 4901 |
// we can't use just `it == null` since of `document.all` special case |
| 4902 |
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec |
| 4903 |
module.exports = function (it) { |
| 4904 |
return it === null || it === undefined; |
| 4905 |
}; |
| 4906 |
|
| 4907 |
|
| 4908 |
/***/ }), |
| 4909 |
|
| 4910 |
/***/ "../node_modules/core-js/internals/is-object.js": |
| 4911 |
/*!******************************************************!*\ |
| 4912 |
!*** ../node_modules/core-js/internals/is-object.js ***! |
| 4913 |
\******************************************************/ |
| 4914 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4915 |
|
| 4916 |
"use strict"; |
| 4917 |
|
| 4918 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 4919 |
|
| 4920 |
module.exports = function (it) { |
| 4921 |
return typeof it == 'object' ? it !== null : isCallable(it); |
| 4922 |
}; |
| 4923 |
|
| 4924 |
|
| 4925 |
/***/ }), |
| 4926 |
|
| 4927 |
/***/ "../node_modules/core-js/internals/is-pure.js": |
| 4928 |
/*!****************************************************!*\ |
| 4929 |
!*** ../node_modules/core-js/internals/is-pure.js ***! |
| 4930 |
\****************************************************/ |
| 4931 |
/***/ ((module) => { |
| 4932 |
|
| 4933 |
"use strict"; |
| 4934 |
|
| 4935 |
module.exports = false; |
| 4936 |
|
| 4937 |
|
| 4938 |
/***/ }), |
| 4939 |
|
| 4940 |
/***/ "../node_modules/core-js/internals/is-symbol.js": |
| 4941 |
/*!******************************************************!*\ |
| 4942 |
!*** ../node_modules/core-js/internals/is-symbol.js ***! |
| 4943 |
\******************************************************/ |
| 4944 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4945 |
|
| 4946 |
"use strict"; |
| 4947 |
|
| 4948 |
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js"); |
| 4949 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 4950 |
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js"); |
| 4951 |
var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../node_modules/core-js/internals/use-symbol-as-uid.js"); |
| 4952 |
|
| 4953 |
var $Object = Object; |
| 4954 |
|
| 4955 |
module.exports = USE_SYMBOL_AS_UID ? function (it) { |
| 4956 |
return typeof it == 'symbol'; |
| 4957 |
} : function (it) { |
| 4958 |
var $Symbol = getBuiltIn('Symbol'); |
| 4959 |
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it)); |
| 4960 |
}; |
| 4961 |
|
| 4962 |
|
| 4963 |
/***/ }), |
| 4964 |
|
| 4965 |
/***/ "../node_modules/core-js/internals/iterate.js": |
| 4966 |
/*!****************************************************!*\ |
| 4967 |
!*** ../node_modules/core-js/internals/iterate.js ***! |
| 4968 |
\****************************************************/ |
| 4969 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 4970 |
|
| 4971 |
"use strict"; |
| 4972 |
|
| 4973 |
var bind = __webpack_require__(/*! ../internals/function-bind-context */ "../node_modules/core-js/internals/function-bind-context.js"); |
| 4974 |
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); |
| 4975 |
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); |
| 4976 |
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../node_modules/core-js/internals/try-to-string.js"); |
| 4977 |
var isArrayIteratorMethod = __webpack_require__(/*! ../internals/is-array-iterator-method */ "../node_modules/core-js/internals/is-array-iterator-method.js"); |
| 4978 |
var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "../node_modules/core-js/internals/length-of-array-like.js"); |
| 4979 |
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js"); |
| 4980 |
var getIterator = __webpack_require__(/*! ../internals/get-iterator */ "../node_modules/core-js/internals/get-iterator.js"); |
| 4981 |
var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "../node_modules/core-js/internals/get-iterator-method.js"); |
| 4982 |
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js"); |
| 4983 |
|
| 4984 |
var $TypeError = TypeError; |
| 4985 |
|
| 4986 |
var Result = function (stopped, result) { |
| 4987 |
this.stopped = stopped; |
| 4988 |
this.result = result; |
| 4989 |
}; |
| 4990 |
|
| 4991 |
var ResultPrototype = Result.prototype; |
| 4992 |
|
| 4993 |
module.exports = function (iterable, unboundFunction, options) { |
| 4994 |
var that = options && options.that; |
| 4995 |
var AS_ENTRIES = !!(options && options.AS_ENTRIES); |
| 4996 |
var IS_RECORD = !!(options && options.IS_RECORD); |
| 4997 |
var IS_ITERATOR = !!(options && options.IS_ITERATOR); |
| 4998 |
var INTERRUPTED = !!(options && options.INTERRUPTED); |
| 4999 |
var fn = bind(unboundFunction, that); |
| 5000 |
var iterator, iterFn, index, length, result, next, step; |
| 5001 |
|
| 5002 |
var stop = function (condition) { |
| 5003 |
if (iterator) iteratorClose(iterator, 'normal'); |
| 5004 |
return new Result(true, condition); |
| 5005 |
}; |
| 5006 |
|
| 5007 |
var callFn = function (value) { |
| 5008 |
if (AS_ENTRIES) { |
| 5009 |
anObject(value); |
| 5010 |
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]); |
| 5011 |
} return INTERRUPTED ? fn(value, stop) : fn(value); |
| 5012 |
}; |
| 5013 |
|
| 5014 |
if (IS_RECORD) { |
| 5015 |
iterator = iterable.iterator; |
| 5016 |
} else if (IS_ITERATOR) { |
| 5017 |
iterator = iterable; |
| 5018 |
} else { |
| 5019 |
iterFn = getIteratorMethod(iterable); |
| 5020 |
if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable'); |
| 5021 |
// optimisation for array iterators |
| 5022 |
if (isArrayIteratorMethod(iterFn)) { |
| 5023 |
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) { |
| 5024 |
result = callFn(iterable[index]); |
| 5025 |
if (result && isPrototypeOf(ResultPrototype, result)) return result; |
| 5026 |
} return new Result(false); |
| 5027 |
} |
| 5028 |
iterator = getIterator(iterable, iterFn); |
| 5029 |
} |
| 5030 |
|
| 5031 |
next = IS_RECORD ? iterable.next : iterator.next; |
| 5032 |
while (!(step = call(next, iterator)).done) { |
| 5033 |
try { |
| 5034 |
result = callFn(step.value); |
| 5035 |
} catch (error) { |
| 5036 |
iteratorClose(iterator, 'throw', error); |
| 5037 |
} |
| 5038 |
if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result; |
| 5039 |
} return new Result(false); |
| 5040 |
}; |
| 5041 |
|
| 5042 |
|
| 5043 |
/***/ }), |
| 5044 |
|
| 5045 |
/***/ "../node_modules/core-js/internals/iterator-close-all.js": |
| 5046 |
/*!***************************************************************!*\ |
| 5047 |
!*** ../node_modules/core-js/internals/iterator-close-all.js ***! |
| 5048 |
\***************************************************************/ |
| 5049 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 5050 |
|
| 5051 |
"use strict"; |
| 5052 |
|
| 5053 |
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js"); |
| 5054 |
|
| 5055 |
module.exports = function (iters, kind, value) { |
| 5056 |
for (var i = iters.length - 1; i >= 0; i--) { |
| 5057 |
if (iters[i] === undefined) continue; |
| 5058 |
try { |
| 5059 |
value = iteratorClose(iters[i].iterator, kind, value); |
| 5060 |
} catch (error) { |
| 5061 |
kind = 'throw'; |
| 5062 |
value = error; |
| 5063 |
} |
| 5064 |
} |
| 5065 |
if (kind === 'throw') throw value; |
| 5066 |
return value; |
| 5067 |
}; |
| 5068 |
|
| 5069 |
|
| 5070 |
/***/ }), |
| 5071 |
|
| 5072 |
/***/ "../node_modules/core-js/internals/iterator-close.js": |
| 5073 |
/*!***********************************************************!*\ |
| 5074 |
!*** ../node_modules/core-js/internals/iterator-close.js ***! |
| 5075 |
\***********************************************************/ |
| 5076 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 5077 |
|
| 5078 |
"use strict"; |
| 5079 |
|
| 5080 |
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); |
| 5081 |
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); |
| 5082 |
var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js"); |
| 5083 |
|
| 5084 |
module.exports = function (iterator, kind, value) { |
| 5085 |
var innerResult, innerError; |
| 5086 |
anObject(iterator); |
| 5087 |
try { |
| 5088 |
innerResult = getMethod(iterator, 'return'); |
| 5089 |
if (!innerResult) { |
| 5090 |
if (kind === 'throw') throw value; |
| 5091 |
return value; |
| 5092 |
} |
| 5093 |
innerResult = call(innerResult, iterator); |
| 5094 |
} catch (error) { |
| 5095 |
innerError = true; |
| 5096 |
innerResult = error; |
| 5097 |
} |
| 5098 |
if (kind === 'throw') throw value; |
| 5099 |
if (innerError) throw innerResult; |
| 5100 |
anObject(innerResult); |
| 5101 |
return value; |
| 5102 |
}; |
| 5103 |
|
| 5104 |
|
| 5105 |
/***/ }), |
| 5106 |
|
| 5107 |
/***/ "../node_modules/core-js/internals/iterator-create-proxy.js": |
| 5108 |
/*!******************************************************************!*\ |
| 5109 |
!*** ../node_modules/core-js/internals/iterator-create-proxy.js ***! |
| 5110 |
\******************************************************************/ |
| 5111 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 5112 |
|
| 5113 |
"use strict"; |
| 5114 |
|
| 5115 |
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); |
| 5116 |
var create = __webpack_require__(/*! ../internals/object-create */ "../node_modules/core-js/internals/object-create.js"); |
| 5117 |
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js"); |
| 5118 |
var defineBuiltIns = __webpack_require__(/*! ../internals/define-built-ins */ "../node_modules/core-js/internals/define-built-ins.js"); |
| 5119 |
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); |
| 5120 |
var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "../node_modules/core-js/internals/internal-state.js"); |
| 5121 |
var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js"); |
| 5122 |
var IteratorPrototype = (__webpack_require__(/*! ../internals/iterators-core */ "../node_modules/core-js/internals/iterators-core.js").IteratorPrototype); |
| 5123 |
var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ "../node_modules/core-js/internals/create-iter-result-object.js"); |
| 5124 |
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js"); |
| 5125 |
var iteratorCloseAll = __webpack_require__(/*! ../internals/iterator-close-all */ "../node_modules/core-js/internals/iterator-close-all.js"); |
| 5126 |
|
| 5127 |
var TO_STRING_TAG = wellKnownSymbol('toStringTag'); |
| 5128 |
var ITERATOR_HELPER = 'IteratorHelper'; |
| 5129 |
var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator'; |
| 5130 |
var NORMAL = 'normal'; |
| 5131 |
var THROW = 'throw'; |
| 5132 |
var setInternalState = InternalStateModule.set; |
| 5133 |
|
| 5134 |
var createIteratorProxyPrototype = function (IS_ITERATOR) { |
| 5135 |
var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER); |
| 5136 |
|
| 5137 |
return defineBuiltIns(create(IteratorPrototype), { |
| 5138 |
next: function next() { |
| 5139 |
var state = getInternalState(this); |
| 5140 |
// for simplification: |
| 5141 |
// for `%WrapForValidIteratorPrototype%.next` or with `state.returnHandlerResult` our `nextHandler` returns `IterResultObject` |
| 5142 |
// for `%IteratorHelperPrototype%.next` - just a value |
| 5143 |
if (IS_ITERATOR) return state.nextHandler(); |
| 5144 |
if (state.done) return createIterResultObject(undefined, true); |
| 5145 |
try { |
| 5146 |
var result = state.nextHandler(); |
| 5147 |
return state.returnHandlerResult ? result : createIterResultObject(result, state.done); |
| 5148 |
} catch (error) { |
| 5149 |
state.done = true; |
| 5150 |
throw error; |
| 5151 |
} |
| 5152 |
}, |
| 5153 |
'return': function () { |
| 5154 |
var state = getInternalState(this); |
| 5155 |
var iterator = state.iterator; |
| 5156 |
state.done = true; |
| 5157 |
if (IS_ITERATOR) { |
| 5158 |
var returnMethod = getMethod(iterator, 'return'); |
| 5159 |
return returnMethod ? call(returnMethod, iterator) : createIterResultObject(undefined, true); |
| 5160 |
} |
| 5161 |
if (state.inner) try { |
| 5162 |
iteratorClose(state.inner.iterator, NORMAL); |
| 5163 |
} catch (error) { |
| 5164 |
return iteratorClose(iterator, THROW, error); |
| 5165 |
} |
| 5166 |
if (state.openIters) try { |
| 5167 |
iteratorCloseAll(state.openIters, NORMAL); |
| 5168 |
} catch (error) { |
| 5169 |
return iteratorClose(iterator, THROW, error); |
| 5170 |
} |
| 5171 |
if (iterator) iteratorClose(iterator, NORMAL); |
| 5172 |
return createIterResultObject(undefined, true); |
| 5173 |
} |
| 5174 |
}); |
| 5175 |
}; |
| 5176 |
|
| 5177 |
var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true); |
| 5178 |
var IteratorHelperPrototype = createIteratorProxyPrototype(false); |
| 5179 |
|
| 5180 |
createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper'); |
| 5181 |
|
| 5182 |
module.exports = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RESULT) { |
| 5183 |
var IteratorProxy = function Iterator(record, state) { |
| 5184 |
if (state) { |
| 5185 |
state.iterator = record.iterator; |
| 5186 |
state.next = record.next; |
| 5187 |
} else state = record; |
| 5188 |
state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER; |
| 5189 |
state.returnHandlerResult = !!RETURN_HANDLER_RESULT; |
| 5190 |
state.nextHandler = nextHandler; |
| 5191 |
state.counter = 0; |
| 5192 |
state.done = false; |
| 5193 |
setInternalState(this, state); |
| 5194 |
}; |
| 5195 |
|
| 5196 |
IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype; |
| 5197 |
|
| 5198 |
return IteratorProxy; |
| 5199 |
}; |
| 5200 |
|
| 5201 |
|
| 5202 |
/***/ }), |
| 5203 |
|
| 5204 |
/***/ "../node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js": |
| 5205 |
/*!***************************************************************************************!*\ |
| 5206 |
!*** ../node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js ***! |
| 5207 |
\***************************************************************************************/ |
| 5208 |
/***/ ((module) => { |
| 5209 |
|
| 5210 |
"use strict"; |
| 5211 |
|
| 5212 |
// Should throw an error on invalid iterator |
| 5213 |
// https://issues.chromium.org/issues/336839115 |
| 5214 |
module.exports = function (methodName, argument) { |
| 5215 |
// eslint-disable-next-line es/no-iterator -- required for testing |
| 5216 |
var method = typeof Iterator == 'function' && Iterator.prototype[methodName]; |
| 5217 |
if (method) try { |
| 5218 |
method.call({ next: null }, argument).next(); |
| 5219 |
} catch (error) { |
| 5220 |
return true; |
| 5221 |
} |
| 5222 |
}; |
| 5223 |
|
| 5224 |
|
| 5225 |
/***/ }), |
| 5226 |
|
| 5227 |
/***/ "../node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js": |
| 5228 |
/*!*******************************************************************************************!*\ |
| 5229 |
!*** ../node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js ***! |
| 5230 |
\*******************************************************************************************/ |
| 5231 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 5232 |
|
| 5233 |
"use strict"; |
| 5234 |
|
| 5235 |
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); |
| 5236 |
|
| 5237 |
// https://github.com/tc39/ecma262/pull/3467 |
| 5238 |
module.exports = function (METHOD_NAME, ExpectedError) { |
| 5239 |
var Iterator = globalThis.Iterator; |
| 5240 |
var IteratorPrototype = Iterator && Iterator.prototype; |
| 5241 |
var method = IteratorPrototype && IteratorPrototype[METHOD_NAME]; |
| 5242 |
|
| 5243 |
var CLOSED = false; |
| 5244 |
|
| 5245 |
if (method) try { |
| 5246 |
method.call({ |
| 5247 |
next: function () { return { done: true }; }, |
| 5248 |
'return': function () { CLOSED = true; } |
| 5249 |
}, -1); |
| 5250 |
} catch (error) { |
| 5251 |
// https://bugs.webkit.org/show_bug.cgi?id=291195 |
| 5252 |
if (!(error instanceof ExpectedError)) CLOSED = false; |
| 5253 |
} |
| 5254 |
|
| 5255 |
if (!CLOSED) return method; |
| 5256 |
}; |
| 5257 |
|
| 5258 |
|
| 5259 |
/***/ }), |
| 5260 |
|
| 5261 |
/***/ "../node_modules/core-js/internals/iterators-core.js": |
| 5262 |
/*!***********************************************************!*\ |
| 5263 |
!*** ../node_modules/core-js/internals/iterators-core.js ***! |
| 5264 |
\***********************************************************/ |
| 5265 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 5266 |
|
| 5267 |
"use strict"; |
| 5268 |
|
| 5269 |
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 5270 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 5271 |
var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); |
| 5272 |
var create = __webpack_require__(/*! ../internals/object-create */ "../node_modules/core-js/internals/object-create.js"); |
| 5273 |
var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "../node_modules/core-js/internals/object-get-prototype-of.js"); |
| 5274 |
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../node_modules/core-js/internals/define-built-in.js"); |
| 5275 |
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); |
| 5276 |
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js"); |
| 5277 |
|
| 5278 |
var ITERATOR = wellKnownSymbol('iterator'); |
| 5279 |
var BUGGY_SAFARI_ITERATORS = false; |
| 5280 |
|
| 5281 |
// `%IteratorPrototype%` object |
| 5282 |
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object |
| 5283 |
var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator; |
| 5284 |
|
| 5285 |
/* eslint-disable es/no-array-prototype-keys -- safe */ |
| 5286 |
if ([].keys) { |
| 5287 |
arrayIterator = [].keys(); |
| 5288 |
// Safari 8 has buggy iterators w/o `next` |
| 5289 |
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true; |
| 5290 |
else { |
| 5291 |
PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator)); |
| 5292 |
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype; |
| 5293 |
} |
| 5294 |
} |
| 5295 |
|
| 5296 |
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () { |
| 5297 |
var test = {}; |
| 5298 |
// FF44- legacy iterators case |
| 5299 |
return IteratorPrototype[ITERATOR].call(test) !== test; |
| 5300 |
}); |
| 5301 |
|
| 5302 |
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {}; |
| 5303 |
else if (IS_PURE) IteratorPrototype = create(IteratorPrototype); |
| 5304 |
|
| 5305 |
// `%IteratorPrototype%[@@iterator]()` method |
| 5306 |
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator |
| 5307 |
if (!isCallable(IteratorPrototype[ITERATOR])) { |
| 5308 |
defineBuiltIn(IteratorPrototype, ITERATOR, function () { |
| 5309 |
return this; |
| 5310 |
}); |
| 5311 |
} |
| 5312 |
|
| 5313 |
module.exports = { |
| 5314 |
IteratorPrototype: IteratorPrototype, |
| 5315 |
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS |
| 5316 |
}; |
| 5317 |
|
| 5318 |
|
| 5319 |
/***/ }), |
| 5320 |
|
| 5321 |
/***/ "../node_modules/core-js/internals/iterators.js": |
| 5322 |
/*!******************************************************!*\ |
| 5323 |
!*** ../node_modules/core-js/internals/iterators.js ***! |
| 5324 |
\******************************************************/ |
| 5325 |
/***/ ((module) => { |
| 5326 |
|
| 5327 |
"use strict"; |
| 5328 |
|
| 5329 |
module.exports = {}; |
| 5330 |
|
| 5331 |
|
| 5332 |
/***/ }), |
| 5333 |
|
| 5334 |
/***/ "../node_modules/core-js/internals/length-of-array-like.js": |
| 5335 |
/*!*****************************************************************!*\ |
| 5336 |
!*** ../node_modules/core-js/internals/length-of-array-like.js ***! |
| 5337 |
\*****************************************************************/ |
| 5338 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 5339 |
|
| 5340 |
"use strict"; |
| 5341 |
|
| 5342 |
var toLength = __webpack_require__(/*! ../internals/to-length */ "../node_modules/core-js/internals/to-length.js"); |
| 5343 |
|
| 5344 |
// `LengthOfArrayLike` abstract operation |
| 5345 |
// https://tc39.es/ecma262/#sec-lengthofarraylike |
| 5346 |
module.exports = function (obj) { |
| 5347 |
return toLength(obj.length); |
| 5348 |
}; |
| 5349 |
|
| 5350 |
|
| 5351 |
/***/ }), |
| 5352 |
|
| 5353 |
/***/ "../node_modules/core-js/internals/make-built-in.js": |
| 5354 |
/*!**********************************************************!*\ |
| 5355 |
!*** ../node_modules/core-js/internals/make-built-in.js ***! |
| 5356 |
\**********************************************************/ |
| 5357 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 5358 |
|
| 5359 |
"use strict"; |
| 5360 |
|
| 5361 |
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 5362 |
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 5363 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 5364 |
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| 5365 |
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 5366 |
var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ "../node_modules/core-js/internals/function-name.js").CONFIGURABLE); |
| 5367 |
var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../node_modules/core-js/internals/inspect-source.js"); |
| 5368 |
var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "../node_modules/core-js/internals/internal-state.js"); |
| 5369 |
|
| 5370 |
var enforceInternalState = InternalStateModule.enforce; |
| 5371 |
var getInternalState = InternalStateModule.get; |
| 5372 |
var $String = String; |
| 5373 |
// eslint-disable-next-line es/no-object-defineproperty -- safe |
| 5374 |
var defineProperty = Object.defineProperty; |
| 5375 |
var stringSlice = uncurryThis(''.slice); |
| 5376 |
var replace = uncurryThis(''.replace); |
| 5377 |
var join = uncurryThis([].join); |
| 5378 |
|
| 5379 |
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () { |
| 5380 |
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; |
| 5381 |
}); |
| 5382 |
|
| 5383 |
var TEMPLATE = String(String).split('String'); |
| 5384 |
|
| 5385 |
var makeBuiltIn = module.exports = function (value, name, options) { |
| 5386 |
if (stringSlice($String(name), 0, 7) === 'Symbol(') { |
| 5387 |
name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']'; |
| 5388 |
} |
| 5389 |
if (options && options.getter) name = 'get ' + name; |
| 5390 |
if (options && options.setter) name = 'set ' + name; |
| 5391 |
if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { |
| 5392 |
if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true }); |
| 5393 |
else value.name = name; |
| 5394 |
} |
| 5395 |
if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) { |
| 5396 |
defineProperty(value, 'length', { value: options.arity }); |
| 5397 |
} |
| 5398 |
try { |
| 5399 |
if (options && hasOwn(options, 'constructor') && options.constructor) { |
| 5400 |
if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false }); |
| 5401 |
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable |
| 5402 |
} else if (value.prototype) value.prototype = undefined; |
| 5403 |
} catch (error) { /* empty */ } |
| 5404 |
var state = enforceInternalState(value); |
| 5405 |
if (!hasOwn(state, 'source')) { |
| 5406 |
state.source = join(TEMPLATE, typeof name == 'string' ? name : ''); |
| 5407 |
} return value; |
| 5408 |
}; |
| 5409 |
|
| 5410 |
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative |
| 5411 |
// eslint-disable-next-line no-extend-native -- required |
| 5412 |
Function.prototype.toString = makeBuiltIn(function toString() { |
| 5413 |
return isCallable(this) && getInternalState(this).source || inspectSource(this); |
| 5414 |
}, 'toString'); |
| 5415 |
|
| 5416 |
|
| 5417 |
/***/ }), |
| 5418 |
|
| 5419 |
/***/ "../node_modules/core-js/internals/math-trunc.js": |
| 5420 |
/*!*******************************************************!*\ |
| 5421 |
!*** ../node_modules/core-js/internals/math-trunc.js ***! |
| 5422 |
\*******************************************************/ |
| 5423 |
/***/ ((module) => { |
| 5424 |
|
| 5425 |
"use strict"; |
| 5426 |
|
| 5427 |
var ceil = Math.ceil; |
| 5428 |
var floor = Math.floor; |
| 5429 |
|
| 5430 |
// `Math.trunc` method |
| 5431 |
// https://tc39.es/ecma262/#sec-math.trunc |
| 5432 |
// eslint-disable-next-line es/no-math-trunc -- safe |
| 5433 |
module.exports = Math.trunc || function trunc(x) { |
| 5434 |
var n = +x; |
| 5435 |
return (n > 0 ? floor : ceil)(n); |
| 5436 |
}; |
| 5437 |
|
| 5438 |
|
| 5439 |
/***/ }), |
| 5440 |
|
| 5441 |
/***/ "../node_modules/core-js/internals/object-create.js": |
| 5442 |
/*!**********************************************************!*\ |
| 5443 |
!*** ../node_modules/core-js/internals/object-create.js ***! |
| 5444 |
\**********************************************************/ |
| 5445 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 5446 |
|
| 5447 |
"use strict"; |
| 5448 |
|
| 5449 |
/* global ActiveXObject -- old IE, WSH */ |
| 5450 |
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); |
| 5451 |
var definePropertiesModule = __webpack_require__(/*! ../internals/object-define-properties */ "../node_modules/core-js/internals/object-define-properties.js"); |
| 5452 |
var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "../node_modules/core-js/internals/enum-bug-keys.js"); |
| 5453 |
var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js"); |
| 5454 |
var html = __webpack_require__(/*! ../internals/html */ "../node_modules/core-js/internals/html.js"); |
| 5455 |
var documentCreateElement = __webpack_require__(/*! ../internals/document-create-element */ "../node_modules/core-js/internals/document-create-element.js"); |
| 5456 |
var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "../node_modules/core-js/internals/shared-key.js"); |
| 5457 |
|
| 5458 |
var GT = '>'; |
| 5459 |
var LT = '<'; |
| 5460 |
var PROTOTYPE = 'prototype'; |
| 5461 |
var SCRIPT = 'script'; |
| 5462 |
var IE_PROTO = sharedKey('IE_PROTO'); |
| 5463 |
|
| 5464 |
var EmptyConstructor = function () { /* empty */ }; |
| 5465 |
|
| 5466 |
var scriptTag = function (content) { |
| 5467 |
return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT; |
| 5468 |
}; |
| 5469 |
|
| 5470 |
// Create object with fake `null` prototype: use ActiveX Object with cleared prototype |
| 5471 |
var NullProtoObjectViaActiveX = function (activeXDocument) { |
| 5472 |
activeXDocument.write(scriptTag('')); |
| 5473 |
activeXDocument.close(); |
| 5474 |
var temp = activeXDocument.parentWindow.Object; |
| 5475 |
// eslint-disable-next-line no-useless-assignment -- avoid memory leak |
| 5476 |
activeXDocument = null; |
| 5477 |
return temp; |
| 5478 |
}; |
| 5479 |
|
| 5480 |
// Create object with fake `null` prototype: use iframe Object with cleared prototype |
| 5481 |
var NullProtoObjectViaIFrame = function () { |
| 5482 |
// Thrash, waste and sodomy: IE GC bug |
| 5483 |
var iframe = documentCreateElement('iframe'); |
| 5484 |
var JS = 'java' + SCRIPT + ':'; |
| 5485 |
var iframeDocument; |
| 5486 |
iframe.style.display = 'none'; |
| 5487 |
html.appendChild(iframe); |
| 5488 |
// https://github.com/zloirock/core-js/issues/475 |
| 5489 |
iframe.src = String(JS); |
| 5490 |
iframeDocument = iframe.contentWindow.document; |
| 5491 |
iframeDocument.open(); |
| 5492 |
iframeDocument.write(scriptTag('document.F=Object')); |
| 5493 |
iframeDocument.close(); |
| 5494 |
return iframeDocument.F; |
| 5495 |
}; |
| 5496 |
|
| 5497 |
// Check for document.domain and active x support |
| 5498 |
// No need to use active x approach when document.domain is not set |
| 5499 |
// see https://github.com/es-shims/es5-shim/issues/150 |
| 5500 |
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346 |
| 5501 |
// avoid IE GC bug |
| 5502 |
var activeXDocument; |
| 5503 |
var NullProtoObject = function () { |
| 5504 |
try { |
| 5505 |
activeXDocument = new ActiveXObject('htmlfile'); |
| 5506 |
} catch (error) { /* ignore */ } |
| 5507 |
NullProtoObject = typeof document != 'undefined' |
| 5508 |
? document.domain && activeXDocument |
| 5509 |
? NullProtoObjectViaActiveX(activeXDocument) // old IE |
| 5510 |
: NullProtoObjectViaIFrame() |
| 5511 |
: NullProtoObjectViaActiveX(activeXDocument); // WSH |
| 5512 |
var length = enumBugKeys.length; |
| 5513 |
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; |
| 5514 |
return NullProtoObject(); |
| 5515 |
}; |
| 5516 |
|
| 5517 |
hiddenKeys[IE_PROTO] = true; |
| 5518 |
|
| 5519 |
// `Object.create` method |
| 5520 |
// https://tc39.es/ecma262/#sec-object.create |
| 5521 |
// eslint-disable-next-line es/no-object-create -- safe |
| 5522 |
module.exports = Object.create || function create(O, Properties) { |
| 5523 |
var result; |
| 5524 |
if (O !== null) { |
| 5525 |
EmptyConstructor[PROTOTYPE] = anObject(O); |
| 5526 |
result = new EmptyConstructor(); |
| 5527 |
EmptyConstructor[PROTOTYPE] = null; |
| 5528 |
// add "__proto__" for Object.getPrototypeOf polyfill |
| 5529 |
result[IE_PROTO] = O; |
| 5530 |
} else result = NullProtoObject(); |
| 5531 |
return Properties === undefined ? result : definePropertiesModule.f(result, Properties); |
| 5532 |
}; |
| 5533 |
|
| 5534 |
|
| 5535 |
/***/ }), |
| 5536 |
|
| 5537 |
/***/ "../node_modules/core-js/internals/object-define-properties.js": |
| 5538 |
/*!*********************************************************************!*\ |
| 5539 |
!*** ../node_modules/core-js/internals/object-define-properties.js ***! |
| 5540 |
\*********************************************************************/ |
| 5541 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 5542 |
|
| 5543 |
"use strict"; |
| 5544 |
|
| 5545 |
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 5546 |
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "../node_modules/core-js/internals/v8-prototype-define-bug.js"); |
| 5547 |
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js"); |
| 5548 |
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); |
| 5549 |
var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js"); |
| 5550 |
var objectKeys = __webpack_require__(/*! ../internals/object-keys */ "../node_modules/core-js/internals/object-keys.js"); |
| 5551 |
|
| 5552 |
// `Object.defineProperties` method |
| 5553 |
// https://tc39.es/ecma262/#sec-object.defineproperties |
| 5554 |
// eslint-disable-next-line es/no-object-defineproperties -- safe |
| 5555 |
exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { |
| 5556 |
anObject(O); |
| 5557 |
var props = toIndexedObject(Properties); |
| 5558 |
var keys = objectKeys(Properties); |
| 5559 |
var length = keys.length; |
| 5560 |
var index = 0; |
| 5561 |
var key; |
| 5562 |
while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]); |
| 5563 |
return O; |
| 5564 |
}; |
| 5565 |
|
| 5566 |
|
| 5567 |
/***/ }), |
| 5568 |
|
| 5569 |
/***/ "../node_modules/core-js/internals/object-define-property.js": |
| 5570 |
/*!*******************************************************************!*\ |
| 5571 |
!*** ../node_modules/core-js/internals/object-define-property.js ***! |
| 5572 |
\*******************************************************************/ |
| 5573 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 5574 |
|
| 5575 |
"use strict"; |
| 5576 |
|
| 5577 |
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 5578 |
var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../node_modules/core-js/internals/ie8-dom-define.js"); |
| 5579 |
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "../node_modules/core-js/internals/v8-prototype-define-bug.js"); |
| 5580 |
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); |
| 5581 |
var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../node_modules/core-js/internals/to-property-key.js"); |
| 5582 |
|
| 5583 |
var $TypeError = TypeError; |
| 5584 |
// eslint-disable-next-line es/no-object-defineproperty -- safe |
| 5585 |
var $defineProperty = Object.defineProperty; |
| 5586 |
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe |
| 5587 |
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; |
| 5588 |
var ENUMERABLE = 'enumerable'; |
| 5589 |
var CONFIGURABLE = 'configurable'; |
| 5590 |
var WRITABLE = 'writable'; |
| 5591 |
|
| 5592 |
// `Object.defineProperty` method |
| 5593 |
// https://tc39.es/ecma262/#sec-object.defineproperty |
| 5594 |
exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) { |
| 5595 |
anObject(O); |
| 5596 |
P = toPropertyKey(P); |
| 5597 |
anObject(Attributes); |
| 5598 |
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { |
| 5599 |
var current = $getOwnPropertyDescriptor(O, P); |
| 5600 |
if (current && current[WRITABLE]) { |
| 5601 |
O[P] = Attributes.value; |
| 5602 |
Attributes = { |
| 5603 |
configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE], |
| 5604 |
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE], |
| 5605 |
writable: false |
| 5606 |
}; |
| 5607 |
} |
| 5608 |
} return $defineProperty(O, P, Attributes); |
| 5609 |
} : $defineProperty : function defineProperty(O, P, Attributes) { |
| 5610 |
anObject(O); |
| 5611 |
P = toPropertyKey(P); |
| 5612 |
anObject(Attributes); |
| 5613 |
if (IE8_DOM_DEFINE) try { |
| 5614 |
return $defineProperty(O, P, Attributes); |
| 5615 |
} catch (error) { /* empty */ } |
| 5616 |
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported'); |
| 5617 |
if ('value' in Attributes) O[P] = Attributes.value; |
| 5618 |
return O; |
| 5619 |
}; |
| 5620 |
|
| 5621 |
|
| 5622 |
/***/ }), |
| 5623 |
|
| 5624 |
/***/ "../node_modules/core-js/internals/object-get-own-property-descriptor.js": |
| 5625 |
/*!*******************************************************************************!*\ |
| 5626 |
!*** ../node_modules/core-js/internals/object-get-own-property-descriptor.js ***! |
| 5627 |
\*******************************************************************************/ |
| 5628 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 5629 |
|
| 5630 |
"use strict"; |
| 5631 |
|
| 5632 |
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 5633 |
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); |
| 5634 |
var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ "../node_modules/core-js/internals/object-property-is-enumerable.js"); |
| 5635 |
var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js"); |
| 5636 |
var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js"); |
| 5637 |
var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../node_modules/core-js/internals/to-property-key.js"); |
| 5638 |
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| 5639 |
var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../node_modules/core-js/internals/ie8-dom-define.js"); |
| 5640 |
|
| 5641 |
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe |
| 5642 |
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; |
| 5643 |
|
| 5644 |
// `Object.getOwnPropertyDescriptor` method |
| 5645 |
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor |
| 5646 |
exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { |
| 5647 |
O = toIndexedObject(O); |
| 5648 |
P = toPropertyKey(P); |
| 5649 |
if (IE8_DOM_DEFINE) try { |
| 5650 |
return $getOwnPropertyDescriptor(O, P); |
| 5651 |
} catch (error) { /* empty */ } |
| 5652 |
if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]); |
| 5653 |
}; |
| 5654 |
|
| 5655 |
|
| 5656 |
/***/ }), |
| 5657 |
|
| 5658 |
/***/ "../node_modules/core-js/internals/object-get-own-property-names.js": |
| 5659 |
/*!**************************************************************************!*\ |
| 5660 |
!*** ../node_modules/core-js/internals/object-get-own-property-names.js ***! |
| 5661 |
\**************************************************************************/ |
| 5662 |
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 5663 |
|
| 5664 |
"use strict"; |
| 5665 |
|
| 5666 |
var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "../node_modules/core-js/internals/object-keys-internal.js"); |
| 5667 |
var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "../node_modules/core-js/internals/enum-bug-keys.js"); |
| 5668 |
|
| 5669 |
var hiddenKeys = enumBugKeys.concat('length', 'prototype'); |
| 5670 |
|
| 5671 |
// `Object.getOwnPropertyNames` method |
| 5672 |
// https://tc39.es/ecma262/#sec-object.getownpropertynames |
| 5673 |
// eslint-disable-next-line es/no-object-getownpropertynames -- safe |
| 5674 |
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { |
| 5675 |
return internalObjectKeys(O, hiddenKeys); |
| 5676 |
}; |
| 5677 |
|
| 5678 |
|
| 5679 |
/***/ }), |
| 5680 |
|
| 5681 |
/***/ "../node_modules/core-js/internals/object-get-own-property-symbols.js": |
| 5682 |
/*!****************************************************************************!*\ |
| 5683 |
!*** ../node_modules/core-js/internals/object-get-own-property-symbols.js ***! |
| 5684 |
\****************************************************************************/ |
| 5685 |
/***/ ((__unused_webpack_module, exports) => { |
| 5686 |
|
| 5687 |
"use strict"; |
| 5688 |
|
| 5689 |
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe |
| 5690 |
exports.f = Object.getOwnPropertySymbols; |
| 5691 |
|
| 5692 |
|
| 5693 |
/***/ }), |
| 5694 |
|
| 5695 |
/***/ "../node_modules/core-js/internals/object-get-prototype-of.js": |
| 5696 |
/*!********************************************************************!*\ |
| 5697 |
!*** ../node_modules/core-js/internals/object-get-prototype-of.js ***! |
| 5698 |
\********************************************************************/ |
| 5699 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 5700 |
|
| 5701 |
"use strict"; |
| 5702 |
|
| 5703 |
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| 5704 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 5705 |
var toObject = __webpack_require__(/*! ../internals/to-object */ "../node_modules/core-js/internals/to-object.js"); |
| 5706 |
var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "../node_modules/core-js/internals/shared-key.js"); |
| 5707 |
var CORRECT_PROTOTYPE_GETTER = __webpack_require__(/*! ../internals/correct-prototype-getter */ "../node_modules/core-js/internals/correct-prototype-getter.js"); |
| 5708 |
|
| 5709 |
var IE_PROTO = sharedKey('IE_PROTO'); |
| 5710 |
var $Object = Object; |
| 5711 |
var ObjectPrototype = $Object.prototype; |
| 5712 |
|
| 5713 |
// `Object.getPrototypeOf` method |
| 5714 |
// https://tc39.es/ecma262/#sec-object.getprototypeof |
| 5715 |
// eslint-disable-next-line es/no-object-getprototypeof -- safe |
| 5716 |
module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) { |
| 5717 |
var object = toObject(O); |
| 5718 |
if (hasOwn(object, IE_PROTO)) return object[IE_PROTO]; |
| 5719 |
var constructor = object.constructor; |
| 5720 |
if (isCallable(constructor) && object instanceof constructor) { |
| 5721 |
return constructor.prototype; |
| 5722 |
} return object instanceof $Object ? ObjectPrototype : null; |
| 5723 |
}; |
| 5724 |
|
| 5725 |
|
| 5726 |
/***/ }), |
| 5727 |
|
| 5728 |
/***/ "../node_modules/core-js/internals/object-is-prototype-of.js": |
| 5729 |
/*!*******************************************************************!*\ |
| 5730 |
!*** ../node_modules/core-js/internals/object-is-prototype-of.js ***! |
| 5731 |
\*******************************************************************/ |
| 5732 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 5733 |
|
| 5734 |
"use strict"; |
| 5735 |
|
| 5736 |
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 5737 |
|
| 5738 |
module.exports = uncurryThis({}.isPrototypeOf); |
| 5739 |
|
| 5740 |
|
| 5741 |
/***/ }), |
| 5742 |
|
| 5743 |
/***/ "../node_modules/core-js/internals/object-keys-internal.js": |
| 5744 |
/*!*****************************************************************!*\ |
| 5745 |
!*** ../node_modules/core-js/internals/object-keys-internal.js ***! |
| 5746 |
\*****************************************************************/ |
| 5747 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 5748 |
|
| 5749 |
"use strict"; |
| 5750 |
|
| 5751 |
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 5752 |
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| 5753 |
var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js"); |
| 5754 |
var indexOf = (__webpack_require__(/*! ../internals/array-includes */ "../node_modules/core-js/internals/array-includes.js").indexOf); |
| 5755 |
var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js"); |
| 5756 |
|
| 5757 |
var push = uncurryThis([].push); |
| 5758 |
|
| 5759 |
module.exports = function (object, names) { |
| 5760 |
var O = toIndexedObject(object); |
| 5761 |
var i = 0; |
| 5762 |
var result = []; |
| 5763 |
var key; |
| 5764 |
for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key); |
| 5765 |
// Don't enum bug & hidden keys |
| 5766 |
while (names.length > i) if (hasOwn(O, key = names[i++])) { |
| 5767 |
~indexOf(result, key) || push(result, key); |
| 5768 |
} |
| 5769 |
return result; |
| 5770 |
}; |
| 5771 |
|
| 5772 |
|
| 5773 |
/***/ }), |
| 5774 |
|
| 5775 |
/***/ "../node_modules/core-js/internals/object-keys.js": |
| 5776 |
/*!********************************************************!*\ |
| 5777 |
!*** ../node_modules/core-js/internals/object-keys.js ***! |
| 5778 |
\********************************************************/ |
| 5779 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 5780 |
|
| 5781 |
"use strict"; |
| 5782 |
|
| 5783 |
var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "../node_modules/core-js/internals/object-keys-internal.js"); |
| 5784 |
var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "../node_modules/core-js/internals/enum-bug-keys.js"); |
| 5785 |
|
| 5786 |
// `Object.keys` method |
| 5787 |
// https://tc39.es/ecma262/#sec-object.keys |
| 5788 |
// eslint-disable-next-line es/no-object-keys -- safe |
| 5789 |
module.exports = Object.keys || function keys(O) { |
| 5790 |
return internalObjectKeys(O, enumBugKeys); |
| 5791 |
}; |
| 5792 |
|
| 5793 |
|
| 5794 |
/***/ }), |
| 5795 |
|
| 5796 |
/***/ "../node_modules/core-js/internals/object-property-is-enumerable.js": |
| 5797 |
/*!**************************************************************************!*\ |
| 5798 |
!*** ../node_modules/core-js/internals/object-property-is-enumerable.js ***! |
| 5799 |
\**************************************************************************/ |
| 5800 |
/***/ ((__unused_webpack_module, exports) => { |
| 5801 |
|
| 5802 |
"use strict"; |
| 5803 |
|
| 5804 |
var $propertyIsEnumerable = {}.propertyIsEnumerable; |
| 5805 |
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe |
| 5806 |
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; |
| 5807 |
|
| 5808 |
// Nashorn ~ JDK8 bug |
| 5809 |
var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1); |
| 5810 |
|
| 5811 |
// `Object.prototype.propertyIsEnumerable` method implementation |
| 5812 |
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable |
| 5813 |
exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { |
| 5814 |
var descriptor = getOwnPropertyDescriptor(this, V); |
| 5815 |
return !!descriptor && descriptor.enumerable; |
| 5816 |
} : $propertyIsEnumerable; |
| 5817 |
|
| 5818 |
|
| 5819 |
/***/ }), |
| 5820 |
|
| 5821 |
/***/ "../node_modules/core-js/internals/ordinary-to-primitive.js": |
| 5822 |
/*!******************************************************************!*\ |
| 5823 |
!*** ../node_modules/core-js/internals/ordinary-to-primitive.js ***! |
| 5824 |
\******************************************************************/ |
| 5825 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 5826 |
|
| 5827 |
"use strict"; |
| 5828 |
|
| 5829 |
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); |
| 5830 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 5831 |
var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); |
| 5832 |
|
| 5833 |
var $TypeError = TypeError; |
| 5834 |
|
| 5835 |
// `OrdinaryToPrimitive` abstract operation |
| 5836 |
// https://tc39.es/ecma262/#sec-ordinarytoprimitive |
| 5837 |
module.exports = function (input, pref) { |
| 5838 |
var fn, val; |
| 5839 |
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; |
| 5840 |
if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val; |
| 5841 |
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; |
| 5842 |
throw new $TypeError("Can't convert object to primitive value"); |
| 5843 |
}; |
| 5844 |
|
| 5845 |
|
| 5846 |
/***/ }), |
| 5847 |
|
| 5848 |
/***/ "../node_modules/core-js/internals/own-keys.js": |
| 5849 |
/*!*****************************************************!*\ |
| 5850 |
!*** ../node_modules/core-js/internals/own-keys.js ***! |
| 5851 |
\*****************************************************/ |
| 5852 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 5853 |
|
| 5854 |
"use strict"; |
| 5855 |
|
| 5856 |
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js"); |
| 5857 |
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 5858 |
var getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ "../node_modules/core-js/internals/object-get-own-property-names.js"); |
| 5859 |
var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ "../node_modules/core-js/internals/object-get-own-property-symbols.js"); |
| 5860 |
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); |
| 5861 |
|
| 5862 |
var concat = uncurryThis([].concat); |
| 5863 |
|
| 5864 |
// all object keys, includes non-enumerable and symbols |
| 5865 |
module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { |
| 5866 |
var keys = getOwnPropertyNamesModule.f(anObject(it)); |
| 5867 |
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; |
| 5868 |
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys; |
| 5869 |
}; |
| 5870 |
|
| 5871 |
|
| 5872 |
/***/ }), |
| 5873 |
|
| 5874 |
/***/ "../node_modules/core-js/internals/require-object-coercible.js": |
| 5875 |
/*!*********************************************************************!*\ |
| 5876 |
!*** ../node_modules/core-js/internals/require-object-coercible.js ***! |
| 5877 |
\*********************************************************************/ |
| 5878 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 5879 |
|
| 5880 |
"use strict"; |
| 5881 |
|
| 5882 |
var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "../node_modules/core-js/internals/is-null-or-undefined.js"); |
| 5883 |
|
| 5884 |
var $TypeError = TypeError; |
| 5885 |
|
| 5886 |
// `RequireObjectCoercible` abstract operation |
| 5887 |
// https://tc39.es/ecma262/#sec-requireobjectcoercible |
| 5888 |
module.exports = function (it) { |
| 5889 |
if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it); |
| 5890 |
return it; |
| 5891 |
}; |
| 5892 |
|
| 5893 |
|
| 5894 |
/***/ }), |
| 5895 |
|
| 5896 |
/***/ "../node_modules/core-js/internals/shared-key.js": |
| 5897 |
/*!*******************************************************!*\ |
| 5898 |
!*** ../node_modules/core-js/internals/shared-key.js ***! |
| 5899 |
\*******************************************************/ |
| 5900 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 5901 |
|
| 5902 |
"use strict"; |
| 5903 |
|
| 5904 |
var shared = __webpack_require__(/*! ../internals/shared */ "../node_modules/core-js/internals/shared.js"); |
| 5905 |
var uid = __webpack_require__(/*! ../internals/uid */ "../node_modules/core-js/internals/uid.js"); |
| 5906 |
|
| 5907 |
var keys = shared('keys'); |
| 5908 |
|
| 5909 |
module.exports = function (key) { |
| 5910 |
return keys[key] || (keys[key] = uid(key)); |
| 5911 |
}; |
| 5912 |
|
| 5913 |
|
| 5914 |
/***/ }), |
| 5915 |
|
| 5916 |
/***/ "../node_modules/core-js/internals/shared-store.js": |
| 5917 |
/*!*********************************************************!*\ |
| 5918 |
!*** ../node_modules/core-js/internals/shared-store.js ***! |
| 5919 |
\*********************************************************/ |
| 5920 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 5921 |
|
| 5922 |
"use strict"; |
| 5923 |
|
| 5924 |
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js"); |
| 5925 |
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); |
| 5926 |
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js"); |
| 5927 |
|
| 5928 |
var SHARED = '__core-js_shared__'; |
| 5929 |
var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {}); |
| 5930 |
|
| 5931 |
(store.versions || (store.versions = [])).push({ |
| 5932 |
version: '3.46.0', |
| 5933 |
mode: IS_PURE ? 'pure' : 'global', |
| 5934 |
copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)', |
| 5935 |
license: 'https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE', |
| 5936 |
source: 'https://github.com/zloirock/core-js' |
| 5937 |
}); |
| 5938 |
|
| 5939 |
|
| 5940 |
/***/ }), |
| 5941 |
|
| 5942 |
/***/ "../node_modules/core-js/internals/shared.js": |
| 5943 |
/*!***************************************************!*\ |
| 5944 |
!*** ../node_modules/core-js/internals/shared.js ***! |
| 5945 |
\***************************************************/ |
| 5946 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 5947 |
|
| 5948 |
"use strict"; |
| 5949 |
|
| 5950 |
var store = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js"); |
| 5951 |
|
| 5952 |
module.exports = function (key, value) { |
| 5953 |
return store[key] || (store[key] = value || {}); |
| 5954 |
}; |
| 5955 |
|
| 5956 |
|
| 5957 |
/***/ }), |
| 5958 |
|
| 5959 |
/***/ "../node_modules/core-js/internals/symbol-constructor-detection.js": |
| 5960 |
/*!*************************************************************************!*\ |
| 5961 |
!*** ../node_modules/core-js/internals/symbol-constructor-detection.js ***! |
| 5962 |
\*************************************************************************/ |
| 5963 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 5964 |
|
| 5965 |
"use strict"; |
| 5966 |
|
| 5967 |
/* eslint-disable es/no-symbol -- required for testing */ |
| 5968 |
var V8_VERSION = __webpack_require__(/*! ../internals/environment-v8-version */ "../node_modules/core-js/internals/environment-v8-version.js"); |
| 5969 |
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 5970 |
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); |
| 5971 |
|
| 5972 |
var $String = globalThis.String; |
| 5973 |
|
| 5974 |
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing |
| 5975 |
module.exports = !!Object.getOwnPropertySymbols && !fails(function () { |
| 5976 |
var symbol = Symbol('symbol detection'); |
| 5977 |
// Chrome 38 Symbol has incorrect toString conversion |
| 5978 |
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances |
| 5979 |
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will, |
| 5980 |
// of course, fail. |
| 5981 |
return !$String(symbol) || !(Object(symbol) instanceof Symbol) || |
| 5982 |
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances |
| 5983 |
!Symbol.sham && V8_VERSION && V8_VERSION < 41; |
| 5984 |
}); |
| 5985 |
|
| 5986 |
|
| 5987 |
/***/ }), |
| 5988 |
|
| 5989 |
/***/ "../node_modules/core-js/internals/to-absolute-index.js": |
| 5990 |
/*!**************************************************************!*\ |
| 5991 |
!*** ../node_modules/core-js/internals/to-absolute-index.js ***! |
| 5992 |
\**************************************************************/ |
| 5993 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 5994 |
|
| 5995 |
"use strict"; |
| 5996 |
|
| 5997 |
var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "../node_modules/core-js/internals/to-integer-or-infinity.js"); |
| 5998 |
|
| 5999 |
var max = Math.max; |
| 6000 |
var min = Math.min; |
| 6001 |
|
| 6002 |
// Helper for a popular repeating case of the spec: |
| 6003 |
// Let integer be ? ToInteger(index). |
| 6004 |
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). |
| 6005 |
module.exports = function (index, length) { |
| 6006 |
var integer = toIntegerOrInfinity(index); |
| 6007 |
return integer < 0 ? max(integer + length, 0) : min(integer, length); |
| 6008 |
}; |
| 6009 |
|
| 6010 |
|
| 6011 |
/***/ }), |
| 6012 |
|
| 6013 |
/***/ "../node_modules/core-js/internals/to-indexed-object.js": |
| 6014 |
/*!**************************************************************!*\ |
| 6015 |
!*** ../node_modules/core-js/internals/to-indexed-object.js ***! |
| 6016 |
\**************************************************************/ |
| 6017 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 6018 |
|
| 6019 |
"use strict"; |
| 6020 |
|
| 6021 |
// toObject with fallback for non-array-like ES3 strings |
| 6022 |
var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "../node_modules/core-js/internals/indexed-object.js"); |
| 6023 |
var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../node_modules/core-js/internals/require-object-coercible.js"); |
| 6024 |
|
| 6025 |
module.exports = function (it) { |
| 6026 |
return IndexedObject(requireObjectCoercible(it)); |
| 6027 |
}; |
| 6028 |
|
| 6029 |
|
| 6030 |
/***/ }), |
| 6031 |
|
| 6032 |
/***/ "../node_modules/core-js/internals/to-integer-or-infinity.js": |
| 6033 |
/*!*******************************************************************!*\ |
| 6034 |
!*** ../node_modules/core-js/internals/to-integer-or-infinity.js ***! |
| 6035 |
\*******************************************************************/ |
| 6036 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 6037 |
|
| 6038 |
"use strict"; |
| 6039 |
|
| 6040 |
var trunc = __webpack_require__(/*! ../internals/math-trunc */ "../node_modules/core-js/internals/math-trunc.js"); |
| 6041 |
|
| 6042 |
// `ToIntegerOrInfinity` abstract operation |
| 6043 |
// https://tc39.es/ecma262/#sec-tointegerorinfinity |
| 6044 |
module.exports = function (argument) { |
| 6045 |
var number = +argument; |
| 6046 |
// eslint-disable-next-line no-self-compare -- NaN check |
| 6047 |
return number !== number || number === 0 ? 0 : trunc(number); |
| 6048 |
}; |
| 6049 |
|
| 6050 |
|
| 6051 |
/***/ }), |
| 6052 |
|
| 6053 |
/***/ "../node_modules/core-js/internals/to-length.js": |
| 6054 |
/*!******************************************************!*\ |
| 6055 |
!*** ../node_modules/core-js/internals/to-length.js ***! |
| 6056 |
\******************************************************/ |
| 6057 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 6058 |
|
| 6059 |
"use strict"; |
| 6060 |
|
| 6061 |
var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "../node_modules/core-js/internals/to-integer-or-infinity.js"); |
| 6062 |
|
| 6063 |
var min = Math.min; |
| 6064 |
|
| 6065 |
// `ToLength` abstract operation |
| 6066 |
// https://tc39.es/ecma262/#sec-tolength |
| 6067 |
module.exports = function (argument) { |
| 6068 |
var len = toIntegerOrInfinity(argument); |
| 6069 |
return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 |
| 6070 |
}; |
| 6071 |
|
| 6072 |
|
| 6073 |
/***/ }), |
| 6074 |
|
| 6075 |
/***/ "../node_modules/core-js/internals/to-object.js": |
| 6076 |
/*!******************************************************!*\ |
| 6077 |
!*** ../node_modules/core-js/internals/to-object.js ***! |
| 6078 |
\******************************************************/ |
| 6079 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 6080 |
|
| 6081 |
"use strict"; |
| 6082 |
|
| 6083 |
var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../node_modules/core-js/internals/require-object-coercible.js"); |
| 6084 |
|
| 6085 |
var $Object = Object; |
| 6086 |
|
| 6087 |
// `ToObject` abstract operation |
| 6088 |
// https://tc39.es/ecma262/#sec-toobject |
| 6089 |
module.exports = function (argument) { |
| 6090 |
return $Object(requireObjectCoercible(argument)); |
| 6091 |
}; |
| 6092 |
|
| 6093 |
|
| 6094 |
/***/ }), |
| 6095 |
|
| 6096 |
/***/ "../node_modules/core-js/internals/to-primitive.js": |
| 6097 |
/*!*********************************************************!*\ |
| 6098 |
!*** ../node_modules/core-js/internals/to-primitive.js ***! |
| 6099 |
\*********************************************************/ |
| 6100 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 6101 |
|
| 6102 |
"use strict"; |
| 6103 |
|
| 6104 |
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); |
| 6105 |
var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); |
| 6106 |
var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../node_modules/core-js/internals/is-symbol.js"); |
| 6107 |
var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js"); |
| 6108 |
var ordinaryToPrimitive = __webpack_require__(/*! ../internals/ordinary-to-primitive */ "../node_modules/core-js/internals/ordinary-to-primitive.js"); |
| 6109 |
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); |
| 6110 |
|
| 6111 |
var $TypeError = TypeError; |
| 6112 |
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); |
| 6113 |
|
| 6114 |
// `ToPrimitive` abstract operation |
| 6115 |
// https://tc39.es/ecma262/#sec-toprimitive |
| 6116 |
module.exports = function (input, pref) { |
| 6117 |
if (!isObject(input) || isSymbol(input)) return input; |
| 6118 |
var exoticToPrim = getMethod(input, TO_PRIMITIVE); |
| 6119 |
var result; |
| 6120 |
if (exoticToPrim) { |
| 6121 |
if (pref === undefined) pref = 'default'; |
| 6122 |
result = call(exoticToPrim, input, pref); |
| 6123 |
if (!isObject(result) || isSymbol(result)) return result; |
| 6124 |
throw new $TypeError("Can't convert object to primitive value"); |
| 6125 |
} |
| 6126 |
if (pref === undefined) pref = 'number'; |
| 6127 |
return ordinaryToPrimitive(input, pref); |
| 6128 |
}; |
| 6129 |
|
| 6130 |
|
| 6131 |
/***/ }), |
| 6132 |
|
| 6133 |
/***/ "../node_modules/core-js/internals/to-property-key.js": |
| 6134 |
/*!************************************************************!*\ |
| 6135 |
!*** ../node_modules/core-js/internals/to-property-key.js ***! |
| 6136 |
\************************************************************/ |
| 6137 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 6138 |
|
| 6139 |
"use strict"; |
| 6140 |
|
| 6141 |
var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "../node_modules/core-js/internals/to-primitive.js"); |
| 6142 |
var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../node_modules/core-js/internals/is-symbol.js"); |
| 6143 |
|
| 6144 |
// `ToPropertyKey` abstract operation |
| 6145 |
// https://tc39.es/ecma262/#sec-topropertykey |
| 6146 |
module.exports = function (argument) { |
| 6147 |
var key = toPrimitive(argument, 'string'); |
| 6148 |
return isSymbol(key) ? key : key + ''; |
| 6149 |
}; |
| 6150 |
|
| 6151 |
|
| 6152 |
/***/ }), |
| 6153 |
|
| 6154 |
/***/ "../node_modules/core-js/internals/to-string-tag-support.js": |
| 6155 |
/*!******************************************************************!*\ |
| 6156 |
!*** ../node_modules/core-js/internals/to-string-tag-support.js ***! |
| 6157 |
\******************************************************************/ |
| 6158 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 6159 |
|
| 6160 |
"use strict"; |
| 6161 |
|
| 6162 |
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); |
| 6163 |
|
| 6164 |
var TO_STRING_TAG = wellKnownSymbol('toStringTag'); |
| 6165 |
var test = {}; |
| 6166 |
|
| 6167 |
test[TO_STRING_TAG] = 'z'; |
| 6168 |
|
| 6169 |
module.exports = String(test) === '[object z]'; |
| 6170 |
|
| 6171 |
|
| 6172 |
/***/ }), |
| 6173 |
|
| 6174 |
/***/ "../node_modules/core-js/internals/try-to-string.js": |
| 6175 |
/*!**********************************************************!*\ |
| 6176 |
!*** ../node_modules/core-js/internals/try-to-string.js ***! |
| 6177 |
\**********************************************************/ |
| 6178 |
/***/ ((module) => { |
| 6179 |
|
| 6180 |
"use strict"; |
| 6181 |
|
| 6182 |
var $String = String; |
| 6183 |
|
| 6184 |
module.exports = function (argument) { |
| 6185 |
try { |
| 6186 |
return $String(argument); |
| 6187 |
} catch (error) { |
| 6188 |
return 'Object'; |
| 6189 |
} |
| 6190 |
}; |
| 6191 |
|
| 6192 |
|
| 6193 |
/***/ }), |
| 6194 |
|
| 6195 |
/***/ "../node_modules/core-js/internals/uid.js": |
| 6196 |
/*!************************************************!*\ |
| 6197 |
!*** ../node_modules/core-js/internals/uid.js ***! |
| 6198 |
\************************************************/ |
| 6199 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 6200 |
|
| 6201 |
"use strict"; |
| 6202 |
|
| 6203 |
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 6204 |
|
| 6205 |
var id = 0; |
| 6206 |
var postfix = Math.random(); |
| 6207 |
var toString = uncurryThis(1.1.toString); |
| 6208 |
|
| 6209 |
module.exports = function (key) { |
| 6210 |
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); |
| 6211 |
}; |
| 6212 |
|
| 6213 |
|
| 6214 |
/***/ }), |
| 6215 |
|
| 6216 |
/***/ "../node_modules/core-js/internals/use-symbol-as-uid.js": |
| 6217 |
/*!**************************************************************!*\ |
| 6218 |
!*** ../node_modules/core-js/internals/use-symbol-as-uid.js ***! |
| 6219 |
\**************************************************************/ |
| 6220 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 6221 |
|
| 6222 |
"use strict"; |
| 6223 |
|
| 6224 |
/* eslint-disable es/no-symbol -- required for testing */ |
| 6225 |
var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "../node_modules/core-js/internals/symbol-constructor-detection.js"); |
| 6226 |
|
| 6227 |
module.exports = NATIVE_SYMBOL && |
| 6228 |
!Symbol.sham && |
| 6229 |
typeof Symbol.iterator == 'symbol'; |
| 6230 |
|
| 6231 |
|
| 6232 |
/***/ }), |
| 6233 |
|
| 6234 |
/***/ "../node_modules/core-js/internals/v8-prototype-define-bug.js": |
| 6235 |
/*!********************************************************************!*\ |
| 6236 |
!*** ../node_modules/core-js/internals/v8-prototype-define-bug.js ***! |
| 6237 |
\********************************************************************/ |
| 6238 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 6239 |
|
| 6240 |
"use strict"; |
| 6241 |
|
| 6242 |
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 6243 |
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 6244 |
|
| 6245 |
// V8 ~ Chrome 36- |
| 6246 |
// https://bugs.chromium.org/p/v8/issues/detail?id=3334 |
| 6247 |
module.exports = DESCRIPTORS && fails(function () { |
| 6248 |
// eslint-disable-next-line es/no-object-defineproperty -- required for testing |
| 6249 |
return Object.defineProperty(function () { /* empty */ }, 'prototype', { |
| 6250 |
value: 42, |
| 6251 |
writable: false |
| 6252 |
}).prototype !== 42; |
| 6253 |
}); |
| 6254 |
|
| 6255 |
|
| 6256 |
/***/ }), |
| 6257 |
|
| 6258 |
/***/ "../node_modules/core-js/internals/weak-map-basic-detection.js": |
| 6259 |
/*!*********************************************************************!*\ |
| 6260 |
!*** ../node_modules/core-js/internals/weak-map-basic-detection.js ***! |
| 6261 |
\*********************************************************************/ |
| 6262 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 6263 |
|
| 6264 |
"use strict"; |
| 6265 |
|
| 6266 |
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); |
| 6267 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 6268 |
|
| 6269 |
var WeakMap = globalThis.WeakMap; |
| 6270 |
|
| 6271 |
module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap)); |
| 6272 |
|
| 6273 |
|
| 6274 |
/***/ }), |
| 6275 |
|
| 6276 |
/***/ "../node_modules/core-js/internals/well-known-symbol.js": |
| 6277 |
/*!**************************************************************!*\ |
| 6278 |
!*** ../node_modules/core-js/internals/well-known-symbol.js ***! |
| 6279 |
\**************************************************************/ |
| 6280 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 6281 |
|
| 6282 |
"use strict"; |
| 6283 |
|
| 6284 |
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); |
| 6285 |
var shared = __webpack_require__(/*! ../internals/shared */ "../node_modules/core-js/internals/shared.js"); |
| 6286 |
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| 6287 |
var uid = __webpack_require__(/*! ../internals/uid */ "../node_modules/core-js/internals/uid.js"); |
| 6288 |
var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "../node_modules/core-js/internals/symbol-constructor-detection.js"); |
| 6289 |
var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../node_modules/core-js/internals/use-symbol-as-uid.js"); |
| 6290 |
|
| 6291 |
var Symbol = globalThis.Symbol; |
| 6292 |
var WellKnownSymbolsStore = shared('wks'); |
| 6293 |
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid; |
| 6294 |
|
| 6295 |
module.exports = function (name) { |
| 6296 |
if (!hasOwn(WellKnownSymbolsStore, name)) { |
| 6297 |
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name) |
| 6298 |
? Symbol[name] |
| 6299 |
: createWellKnownSymbol('Symbol.' + name); |
| 6300 |
} return WellKnownSymbolsStore[name]; |
| 6301 |
}; |
| 6302 |
|
| 6303 |
|
| 6304 |
/***/ }), |
| 6305 |
|
| 6306 |
/***/ "../node_modules/core-js/modules/es.array.push.js": |
| 6307 |
/*!********************************************************!*\ |
| 6308 |
!*** ../node_modules/core-js/modules/es.array.push.js ***! |
| 6309 |
\********************************************************/ |
| 6310 |
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { |
| 6311 |
|
| 6312 |
"use strict"; |
| 6313 |
|
| 6314 |
var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js"); |
| 6315 |
var toObject = __webpack_require__(/*! ../internals/to-object */ "../node_modules/core-js/internals/to-object.js"); |
| 6316 |
var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "../node_modules/core-js/internals/length-of-array-like.js"); |
| 6317 |
var setArrayLength = __webpack_require__(/*! ../internals/array-set-length */ "../node_modules/core-js/internals/array-set-length.js"); |
| 6318 |
var doesNotExceedSafeInteger = __webpack_require__(/*! ../internals/does-not-exceed-safe-integer */ "../node_modules/core-js/internals/does-not-exceed-safe-integer.js"); |
| 6319 |
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 6320 |
|
| 6321 |
var INCORRECT_TO_LENGTH = fails(function () { |
| 6322 |
return [].push.call({ length: 0x100000000 }, 1) !== 4294967297; |
| 6323 |
}); |
| 6324 |
|
| 6325 |
// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError |
| 6326 |
// https://bugs.chromium.org/p/v8/issues/detail?id=12681 |
| 6327 |
var properErrorOnNonWritableLength = function () { |
| 6328 |
try { |
| 6329 |
// eslint-disable-next-line es/no-object-defineproperty -- safe |
| 6330 |
Object.defineProperty([], 'length', { writable: false }).push(); |
| 6331 |
} catch (error) { |
| 6332 |
return error instanceof TypeError; |
| 6333 |
} |
| 6334 |
}; |
| 6335 |
|
| 6336 |
var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength(); |
| 6337 |
|
| 6338 |
// `Array.prototype.push` method |
| 6339 |
// https://tc39.es/ecma262/#sec-array.prototype.push |
| 6340 |
$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { |
| 6341 |
// eslint-disable-next-line no-unused-vars -- required for `.length` |
| 6342 |
push: function push(item) { |
| 6343 |
var O = toObject(this); |
| 6344 |
var len = lengthOfArrayLike(O); |
| 6345 |
var argCount = arguments.length; |
| 6346 |
doesNotExceedSafeInteger(len + argCount); |
| 6347 |
for (var i = 0; i < argCount; i++) { |
| 6348 |
O[len] = arguments[i]; |
| 6349 |
len++; |
| 6350 |
} |
| 6351 |
setArrayLength(O, len); |
| 6352 |
return len; |
| 6353 |
} |
| 6354 |
}); |
| 6355 |
|
| 6356 |
|
| 6357 |
/***/ }), |
| 6358 |
|
| 6359 |
/***/ "../node_modules/core-js/modules/es.iterator.constructor.js": |
| 6360 |
/*!******************************************************************!*\ |
| 6361 |
!*** ../node_modules/core-js/modules/es.iterator.constructor.js ***! |
| 6362 |
\******************************************************************/ |
| 6363 |
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { |
| 6364 |
|
| 6365 |
"use strict"; |
| 6366 |
|
| 6367 |
var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js"); |
| 6368 |
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); |
| 6369 |
var anInstance = __webpack_require__(/*! ../internals/an-instance */ "../node_modules/core-js/internals/an-instance.js"); |
| 6370 |
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); |
| 6371 |
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); |
| 6372 |
var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "../node_modules/core-js/internals/object-get-prototype-of.js"); |
| 6373 |
var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "../node_modules/core-js/internals/define-built-in-accessor.js"); |
| 6374 |
var createProperty = __webpack_require__(/*! ../internals/create-property */ "../node_modules/core-js/internals/create-property.js"); |
| 6375 |
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); |
| 6376 |
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); |
| 6377 |
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); |
| 6378 |
var IteratorPrototype = (__webpack_require__(/*! ../internals/iterators-core */ "../node_modules/core-js/internals/iterators-core.js").IteratorPrototype); |
| 6379 |
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); |
| 6380 |
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js"); |
| 6381 |
|
| 6382 |
var CONSTRUCTOR = 'constructor'; |
| 6383 |
var ITERATOR = 'Iterator'; |
| 6384 |
var TO_STRING_TAG = wellKnownSymbol('toStringTag'); |
| 6385 |
|
| 6386 |
var $TypeError = TypeError; |
| 6387 |
var NativeIterator = globalThis[ITERATOR]; |
| 6388 |
|
| 6389 |
// FF56- have non-standard global helper `Iterator` |
| 6390 |
var FORCED = IS_PURE |
| 6391 |
|| !isCallable(NativeIterator) |
| 6392 |
|| NativeIterator.prototype !== IteratorPrototype |
| 6393 |
// FF44- non-standard `Iterator` passes previous tests |
| 6394 |
|| !fails(function () { NativeIterator({}); }); |
| 6395 |
|
| 6396 |
var IteratorConstructor = function Iterator() { |
| 6397 |
anInstance(this, IteratorPrototype); |
| 6398 |
if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable'); |
| 6399 |
}; |
| 6400 |
|
| 6401 |
var defineIteratorPrototypeAccessor = function (key, value) { |
| 6402 |
if (DESCRIPTORS) { |
| 6403 |
defineBuiltInAccessor(IteratorPrototype, key, { |
| 6404 |
configurable: true, |
| 6405 |
get: function () { |
| 6406 |
return value; |
| 6407 |
}, |
| 6408 |
set: function (replacement) { |
| 6409 |
anObject(this); |
| 6410 |
if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property"); |
| 6411 |
if (hasOwn(this, key)) this[key] = replacement; |
| 6412 |
else createProperty(this, key, replacement); |
| 6413 |
} |
| 6414 |
}); |
| 6415 |
} else IteratorPrototype[key] = value; |
| 6416 |
}; |
| 6417 |
|
| 6418 |
if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR); |
| 6419 |
|
| 6420 |
if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) { |
| 6421 |
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor); |
| 6422 |
} |
| 6423 |
|
| 6424 |
IteratorConstructor.prototype = IteratorPrototype; |
| 6425 |
|
| 6426 |
// `Iterator` constructor |
| 6427 |
// https://tc39.es/ecma262/#sec-iterator |
| 6428 |
$({ global: true, constructor: true, forced: FORCED }, { |
| 6429 |
Iterator: IteratorConstructor |
| 6430 |
}); |
| 6431 |
|
| 6432 |
|
| 6433 |
/***/ }), |
| 6434 |
|
| 6435 |
/***/ "../node_modules/core-js/modules/es.iterator.filter.js": |
| 6436 |
/*!*************************************************************!*\ |
| 6437 |
!*** ../node_modules/core-js/modules/es.iterator.filter.js ***! |
| 6438 |
\*************************************************************/ |
| 6439 |
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { |
| 6440 |
|
| 6441 |
"use strict"; |
| 6442 |
|
| 6443 |
var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js"); |
| 6444 |
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); |
| 6445 |
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); |
| 6446 |
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); |
| 6447 |
var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js"); |
| 6448 |
var createIteratorProxy = __webpack_require__(/*! ../internals/iterator-create-proxy */ "../node_modules/core-js/internals/iterator-create-proxy.js"); |
| 6449 |
var callWithSafeIterationClosing = __webpack_require__(/*! ../internals/call-with-safe-iteration-closing */ "../node_modules/core-js/internals/call-with-safe-iteration-closing.js"); |
| 6450 |
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js"); |
| 6451 |
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js"); |
| 6452 |
var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(/*! ../internals/iterator-helper-throws-on-invalid-iterator */ "../node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js"); |
| 6453 |
var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(/*! ../internals/iterator-helper-without-closing-on-early-error */ "../node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js"); |
| 6454 |
|
| 6455 |
var FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('filter', function () { /* empty */ }); |
| 6456 |
var filterWithoutClosingOnEarlyError = !IS_PURE && !FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR |
| 6457 |
&& iteratorHelperWithoutClosingOnEarlyError('filter', TypeError); |
| 6458 |
|
| 6459 |
var FORCED = IS_PURE || FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR || filterWithoutClosingOnEarlyError; |
| 6460 |
|
| 6461 |
var IteratorProxy = createIteratorProxy(function () { |
| 6462 |
var iterator = this.iterator; |
| 6463 |
var predicate = this.predicate; |
| 6464 |
var next = this.next; |
| 6465 |
var result, done, value; |
| 6466 |
while (true) { |
| 6467 |
result = anObject(call(next, iterator)); |
| 6468 |
done = this.done = !!result.done; |
| 6469 |
if (done) return; |
| 6470 |
value = result.value; |
| 6471 |
if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value; |
| 6472 |
} |
| 6473 |
}); |
| 6474 |
|
| 6475 |
// `Iterator.prototype.filter` method |
| 6476 |
// https://tc39.es/ecma262/#sec-iterator.prototype.filter |
| 6477 |
$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, { |
| 6478 |
filter: function filter(predicate) { |
| 6479 |
anObject(this); |
| 6480 |
try { |
| 6481 |
aCallable(predicate); |
| 6482 |
} catch (error) { |
| 6483 |
iteratorClose(this, 'throw', error); |
| 6484 |
} |
| 6485 |
|
| 6486 |
if (filterWithoutClosingOnEarlyError) return call(filterWithoutClosingOnEarlyError, this, predicate); |
| 6487 |
|
| 6488 |
return new IteratorProxy(getIteratorDirect(this), { |
| 6489 |
predicate: predicate |
| 6490 |
}); |
| 6491 |
} |
| 6492 |
}); |
| 6493 |
|
| 6494 |
|
| 6495 |
/***/ }), |
| 6496 |
|
| 6497 |
/***/ "../node_modules/core-js/modules/es.iterator.find.js": |
| 6498 |
/*!***********************************************************!*\ |
| 6499 |
!*** ../node_modules/core-js/modules/es.iterator.find.js ***! |
| 6500 |
\***********************************************************/ |
| 6501 |
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { |
| 6502 |
|
| 6503 |
"use strict"; |
| 6504 |
|
| 6505 |
var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js"); |
| 6506 |
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); |
| 6507 |
var iterate = __webpack_require__(/*! ../internals/iterate */ "../node_modules/core-js/internals/iterate.js"); |
| 6508 |
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); |
| 6509 |
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); |
| 6510 |
var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js"); |
| 6511 |
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js"); |
| 6512 |
var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(/*! ../internals/iterator-helper-without-closing-on-early-error */ "../node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js"); |
| 6513 |
|
| 6514 |
var findWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('find', TypeError); |
| 6515 |
|
| 6516 |
// `Iterator.prototype.find` method |
| 6517 |
// https://tc39.es/ecma262/#sec-iterator.prototype.find |
| 6518 |
$({ target: 'Iterator', proto: true, real: true, forced: findWithoutClosingOnEarlyError }, { |
| 6519 |
find: function find(predicate) { |
| 6520 |
anObject(this); |
| 6521 |
try { |
| 6522 |
aCallable(predicate); |
| 6523 |
} catch (error) { |
| 6524 |
iteratorClose(this, 'throw', error); |
| 6525 |
} |
| 6526 |
|
| 6527 |
if (findWithoutClosingOnEarlyError) return call(findWithoutClosingOnEarlyError, this, predicate); |
| 6528 |
|
| 6529 |
var record = getIteratorDirect(this); |
| 6530 |
var counter = 0; |
| 6531 |
return iterate(record, function (value, stop) { |
| 6532 |
if (predicate(value, counter++)) return stop(value); |
| 6533 |
}, { IS_RECORD: true, INTERRUPTED: true }).result; |
| 6534 |
} |
| 6535 |
}); |
| 6536 |
|
| 6537 |
|
| 6538 |
/***/ }), |
| 6539 |
|
| 6540 |
/***/ "../node_modules/core-js/modules/es.iterator.for-each.js": |
| 6541 |
/*!***************************************************************!*\ |
| 6542 |
!*** ../node_modules/core-js/modules/es.iterator.for-each.js ***! |
| 6543 |
\***************************************************************/ |
| 6544 |
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { |
| 6545 |
|
| 6546 |
"use strict"; |
| 6547 |
|
| 6548 |
var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js"); |
| 6549 |
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); |
| 6550 |
var iterate = __webpack_require__(/*! ../internals/iterate */ "../node_modules/core-js/internals/iterate.js"); |
| 6551 |
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); |
| 6552 |
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); |
| 6553 |
var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js"); |
| 6554 |
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js"); |
| 6555 |
var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(/*! ../internals/iterator-helper-without-closing-on-early-error */ "../node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js"); |
| 6556 |
|
| 6557 |
var forEachWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('forEach', TypeError); |
| 6558 |
|
| 6559 |
// `Iterator.prototype.forEach` method |
| 6560 |
// https://tc39.es/ecma262/#sec-iterator.prototype.foreach |
| 6561 |
$({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosingOnEarlyError }, { |
| 6562 |
forEach: function forEach(fn) { |
| 6563 |
anObject(this); |
| 6564 |
try { |
| 6565 |
aCallable(fn); |
| 6566 |
} catch (error) { |
| 6567 |
iteratorClose(this, 'throw', error); |
| 6568 |
} |
| 6569 |
|
| 6570 |
if (forEachWithoutClosingOnEarlyError) return call(forEachWithoutClosingOnEarlyError, this, fn); |
| 6571 |
|
| 6572 |
var record = getIteratorDirect(this); |
| 6573 |
var counter = 0; |
| 6574 |
iterate(record, function (value) { |
| 6575 |
fn(value, counter++); |
| 6576 |
}, { IS_RECORD: true }); |
| 6577 |
} |
| 6578 |
}); |
| 6579 |
|
| 6580 |
|
| 6581 |
/***/ }), |
| 6582 |
|
| 6583 |
/***/ "../node_modules/core-js/modules/es.iterator.map.js": |
| 6584 |
/*!**********************************************************!*\ |
| 6585 |
!*** ../node_modules/core-js/modules/es.iterator.map.js ***! |
| 6586 |
\**********************************************************/ |
| 6587 |
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { |
| 6588 |
|
| 6589 |
"use strict"; |
| 6590 |
|
| 6591 |
var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js"); |
| 6592 |
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); |
| 6593 |
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); |
| 6594 |
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); |
| 6595 |
var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js"); |
| 6596 |
var createIteratorProxy = __webpack_require__(/*! ../internals/iterator-create-proxy */ "../node_modules/core-js/internals/iterator-create-proxy.js"); |
| 6597 |
var callWithSafeIterationClosing = __webpack_require__(/*! ../internals/call-with-safe-iteration-closing */ "../node_modules/core-js/internals/call-with-safe-iteration-closing.js"); |
| 6598 |
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js"); |
| 6599 |
var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(/*! ../internals/iterator-helper-throws-on-invalid-iterator */ "../node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js"); |
| 6600 |
var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(/*! ../internals/iterator-helper-without-closing-on-early-error */ "../node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js"); |
| 6601 |
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js"); |
| 6602 |
|
| 6603 |
var MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('map', function () { /* empty */ }); |
| 6604 |
var mapWithoutClosingOnEarlyError = !IS_PURE && !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR |
| 6605 |
&& iteratorHelperWithoutClosingOnEarlyError('map', TypeError); |
| 6606 |
|
| 6607 |
var FORCED = IS_PURE || MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError; |
| 6608 |
|
| 6609 |
var IteratorProxy = createIteratorProxy(function () { |
| 6610 |
var iterator = this.iterator; |
| 6611 |
var result = anObject(call(this.next, iterator)); |
| 6612 |
var done = this.done = !!result.done; |
| 6613 |
if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true); |
| 6614 |
}); |
| 6615 |
|
| 6616 |
// `Iterator.prototype.map` method |
| 6617 |
// https://tc39.es/ecma262/#sec-iterator.prototype.map |
| 6618 |
$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, { |
| 6619 |
map: function map(mapper) { |
| 6620 |
anObject(this); |
| 6621 |
try { |
| 6622 |
aCallable(mapper); |
| 6623 |
} catch (error) { |
| 6624 |
iteratorClose(this, 'throw', error); |
| 6625 |
} |
| 6626 |
|
| 6627 |
if (mapWithoutClosingOnEarlyError) return call(mapWithoutClosingOnEarlyError, this, mapper); |
| 6628 |
|
| 6629 |
return new IteratorProxy(getIteratorDirect(this), { |
| 6630 |
mapper: mapper |
| 6631 |
}); |
| 6632 |
} |
| 6633 |
}); |
| 6634 |
|
| 6635 |
|
| 6636 |
/***/ }), |
| 6637 |
|
| 6638 |
/***/ "../node_modules/core-js/modules/es.iterator.some.js": |
| 6639 |
/*!***********************************************************!*\ |
| 6640 |
!*** ../node_modules/core-js/modules/es.iterator.some.js ***! |
| 6641 |
\***********************************************************/ |
| 6642 |
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { |
| 6643 |
|
| 6644 |
"use strict"; |
| 6645 |
|
| 6646 |
var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js"); |
| 6647 |
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); |
| 6648 |
var iterate = __webpack_require__(/*! ../internals/iterate */ "../node_modules/core-js/internals/iterate.js"); |
| 6649 |
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); |
| 6650 |
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); |
| 6651 |
var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js"); |
| 6652 |
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js"); |
| 6653 |
var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(/*! ../internals/iterator-helper-without-closing-on-early-error */ "../node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js"); |
| 6654 |
|
| 6655 |
var someWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('some', TypeError); |
| 6656 |
|
| 6657 |
// `Iterator.prototype.some` method |
| 6658 |
// https://tc39.es/ecma262/#sec-iterator.prototype.some |
| 6659 |
$({ target: 'Iterator', proto: true, real: true, forced: someWithoutClosingOnEarlyError }, { |
| 6660 |
some: function some(predicate) { |
| 6661 |
anObject(this); |
| 6662 |
try { |
| 6663 |
aCallable(predicate); |
| 6664 |
} catch (error) { |
| 6665 |
iteratorClose(this, 'throw', error); |
| 6666 |
} |
| 6667 |
|
| 6668 |
if (someWithoutClosingOnEarlyError) return call(someWithoutClosingOnEarlyError, this, predicate); |
| 6669 |
|
| 6670 |
var record = getIteratorDirect(this); |
| 6671 |
var counter = 0; |
| 6672 |
return iterate(record, function (value, stop) { |
| 6673 |
if (predicate(value, counter++)) return stop(); |
| 6674 |
}, { IS_RECORD: true, INTERRUPTED: true }).stopped; |
| 6675 |
} |
| 6676 |
}); |
| 6677 |
|
| 6678 |
|
| 6679 |
/***/ }), |
| 6680 |
|
| 6681 |
/***/ "../node_modules/core-js/modules/esnext.iterator.constructor.js": |
| 6682 |
/*!**********************************************************************!*\ |
| 6683 |
!*** ../node_modules/core-js/modules/esnext.iterator.constructor.js ***! |
| 6684 |
\**********************************************************************/ |
| 6685 |
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { |
| 6686 |
|
| 6687 |
"use strict"; |
| 6688 |
|
| 6689 |
// TODO: Remove from `core-js@4` |
| 6690 |
__webpack_require__(/*! ../modules/es.iterator.constructor */ "../node_modules/core-js/modules/es.iterator.constructor.js"); |
| 6691 |
|
| 6692 |
|
| 6693 |
/***/ }), |
| 6694 |
|
| 6695 |
/***/ "../node_modules/core-js/modules/esnext.iterator.filter.js": |
| 6696 |
/*!*****************************************************************!*\ |
| 6697 |
!*** ../node_modules/core-js/modules/esnext.iterator.filter.js ***! |
| 6698 |
\*****************************************************************/ |
| 6699 |
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { |
| 6700 |
|
| 6701 |
"use strict"; |
| 6702 |
|
| 6703 |
// TODO: Remove from `core-js@4` |
| 6704 |
__webpack_require__(/*! ../modules/es.iterator.filter */ "../node_modules/core-js/modules/es.iterator.filter.js"); |
| 6705 |
|
| 6706 |
|
| 6707 |
/***/ }), |
| 6708 |
|
| 6709 |
/***/ "../node_modules/core-js/modules/esnext.iterator.find.js": |
| 6710 |
/*!***************************************************************!*\ |
| 6711 |
!*** ../node_modules/core-js/modules/esnext.iterator.find.js ***! |
| 6712 |
\***************************************************************/ |
| 6713 |
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { |
| 6714 |
|
| 6715 |
"use strict"; |
| 6716 |
|
| 6717 |
// TODO: Remove from `core-js@4` |
| 6718 |
__webpack_require__(/*! ../modules/es.iterator.find */ "../node_modules/core-js/modules/es.iterator.find.js"); |
| 6719 |
|
| 6720 |
|
| 6721 |
/***/ }), |
| 6722 |
|
| 6723 |
/***/ "../node_modules/core-js/modules/esnext.iterator.for-each.js": |
| 6724 |
/*!*******************************************************************!*\ |
| 6725 |
!*** ../node_modules/core-js/modules/esnext.iterator.for-each.js ***! |
| 6726 |
\*******************************************************************/ |
| 6727 |
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { |
| 6728 |
|
| 6729 |
"use strict"; |
| 6730 |
|
| 6731 |
// TODO: Remove from `core-js@4` |
| 6732 |
__webpack_require__(/*! ../modules/es.iterator.for-each */ "../node_modules/core-js/modules/es.iterator.for-each.js"); |
| 6733 |
|
| 6734 |
|
| 6735 |
/***/ }), |
| 6736 |
|
| 6737 |
/***/ "../node_modules/core-js/modules/esnext.iterator.map.js": |
| 6738 |
/*!**************************************************************!*\ |
| 6739 |
!*** ../node_modules/core-js/modules/esnext.iterator.map.js ***! |
| 6740 |
\**************************************************************/ |
| 6741 |
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { |
| 6742 |
|
| 6743 |
"use strict"; |
| 6744 |
|
| 6745 |
// TODO: Remove from `core-js@4` |
| 6746 |
__webpack_require__(/*! ../modules/es.iterator.map */ "../node_modules/core-js/modules/es.iterator.map.js"); |
| 6747 |
|
| 6748 |
|
| 6749 |
/***/ }), |
| 6750 |
|
| 6751 |
/***/ "../node_modules/core-js/modules/esnext.iterator.some.js": |
| 6752 |
/*!***************************************************************!*\ |
| 6753 |
!*** ../node_modules/core-js/modules/esnext.iterator.some.js ***! |
| 6754 |
\***************************************************************/ |
| 6755 |
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { |
| 6756 |
|
| 6757 |
"use strict"; |
| 6758 |
|
| 6759 |
// TODO: Remove from `core-js@4` |
| 6760 |
__webpack_require__(/*! ../modules/es.iterator.some */ "../node_modules/core-js/modules/es.iterator.some.js"); |
| 6761 |
|
| 6762 |
|
| 6763 |
/***/ }) |
| 6764 |
|
| 6765 |
}, |
| 6766 |
/******/ __webpack_require__ => { // webpackRuntimeModules |
| 6767 |
/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId)) |
| 6768 |
/******/ var __webpack_exports__ = (__webpack_exec__("../assets/dev/js/frontend/modules.js")); |
| 6769 |
/******/ } |
| 6770 |
]); |
| 6771 |
//# sourceMappingURL=frontend-modules.js.map |