mirror of
https://github.com/proelements/proelements.git
synced 2026-05-05 17:15:58 +00:00
3645 lines
147 KiB
JavaScript
3645 lines
147 KiB
JavaScript
/*! pro-elements - v4.0.0 - 28-04-2026 */
|
||
/******/ (() => { // webpackBootstrap
|
||
/******/ "use strict";
|
||
/******/ var __webpack_modules__ = ({
|
||
|
||
/***/ "../modules/interactions/assets/js/interactions-utils.js"
|
||
/*!***************************************************************!*\
|
||
!*** ../modules/interactions/assets/js/interactions-utils.js ***!
|
||
\***************************************************************/
|
||
(__unused_webpack_module, exports, __webpack_require__) {
|
||
|
||
|
||
|
||
Object.defineProperty(exports, "__esModule", ({
|
||
value: true
|
||
}));
|
||
exports.animationKeyframes = animationKeyframes;
|
||
exports.config = void 0;
|
||
exports.extractAnimationConfig = extractAnimationConfig;
|
||
exports.getAnimateFunction = exports.extractInteractionId = void 0;
|
||
exports.getAnimationRepeatOptions = getAnimationRepeatOptions;
|
||
exports.getClickFunction = getClickFunction;
|
||
exports.getHoverFunction = getHoverFunction;
|
||
exports.getInViewFunction = void 0;
|
||
exports.getKeyframes = getKeyframes;
|
||
exports.getScrollFunction = getScrollFunction;
|
||
exports.parseAnimationName = parseAnimationName;
|
||
exports.waitForAnimateFunction = exports.skipInteraction = exports.parseInteractionsData = void 0;
|
||
__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js");
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.map.js */ "../node_modules/core-js/modules/esnext.iterator.map.js");
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.reduce.js */ "../node_modules/core-js/modules/esnext.iterator.reduce.js");
|
||
const {
|
||
config: getConfig,
|
||
skipInteraction,
|
||
extractInteractionId,
|
||
getAnimateFunction,
|
||
getInViewFunction,
|
||
waitForAnimateFunction,
|
||
parseInteractionsData,
|
||
unwrapInteractionValue,
|
||
timingValueToMs
|
||
} = window.elementorModules.interactions;
|
||
exports.parseInteractionsData = parseInteractionsData;
|
||
exports.waitForAnimateFunction = waitForAnimateFunction;
|
||
exports.getInViewFunction = getInViewFunction;
|
||
exports.getAnimateFunction = getAnimateFunction;
|
||
exports.extractInteractionId = extractInteractionId;
|
||
exports.skipInteraction = skipInteraction;
|
||
exports.config = getConfig;
|
||
function getScrollFunction() {
|
||
return motionFunc('scroll');
|
||
}
|
||
function getClickFunction() {
|
||
return motionFunc('press');
|
||
}
|
||
function getHoverFunction() {
|
||
return motionFunc('hover');
|
||
}
|
||
function motionFunc(name) {
|
||
if ('function' !== typeof window?.Motion?.[name]) {
|
||
return null;
|
||
}
|
||
return window?.Motion?.[name];
|
||
}
|
||
function animationKeyframes(animConfig) {
|
||
if ('custom' === animConfig.animation.effect) {
|
||
return getKeyframes({
|
||
type: 'custom',
|
||
preset: animConfig.animation.customEffect
|
||
});
|
||
}
|
||
return getKeyframes({
|
||
type: 'preset',
|
||
preset: {
|
||
effect: animConfig.animation.effect,
|
||
type: animConfig.animation.type,
|
||
direction: animConfig.animation.direction
|
||
}
|
||
});
|
||
}
|
||
function buildKeyframesFromConfig(customEffect) {
|
||
const mapping = {
|
||
opacity: [],
|
||
scaleX: [],
|
||
scaleY: [],
|
||
skewX: [],
|
||
skewY: [],
|
||
rotateX: [],
|
||
rotateY: [],
|
||
rotateZ: [],
|
||
x: [],
|
||
y: [],
|
||
z: []
|
||
};
|
||
customEffect?.keyframes?.forEach(keyframe => {
|
||
const settings = keyframe.settings;
|
||
Object.entries(mapping).forEach(([key, value]) => {
|
||
if (settings.hasOwnProperty(key)) {
|
||
value.push(settings[key]);
|
||
}
|
||
});
|
||
});
|
||
const keyframes = {};
|
||
for (const [key, value] of Object.entries(mapping)) {
|
||
if (1 > value.length) {
|
||
continue;
|
||
}
|
||
keyframes[key] = value;
|
||
}
|
||
return keyframes;
|
||
}
|
||
function buildKeyframesFromPreset({
|
||
effect,
|
||
type,
|
||
direction
|
||
}) {
|
||
const isIn = 'in' === type;
|
||
const keyframes = {};
|
||
if ('fade' === effect) {
|
||
keyframes.opacity = isIn ? [0, 1] : [1, 0];
|
||
}
|
||
const config = getConfig();
|
||
if ('scale' === effect) {
|
||
keyframes.scale = isIn ? [config.scaleStart, 1] : [1, config.scaleStart];
|
||
}
|
||
if (direction) {
|
||
const distance = config.slideDistance;
|
||
const movement = {
|
||
left: {
|
||
x: isIn ? [-distance, 0] : [0, -distance]
|
||
},
|
||
right: {
|
||
x: isIn ? [distance, 0] : [0, distance]
|
||
},
|
||
top: {
|
||
y: isIn ? [-distance, 0] : [0, -distance]
|
||
},
|
||
bottom: {
|
||
y: isIn ? [distance, 0] : [0, distance]
|
||
}
|
||
};
|
||
Object.assign(keyframes, movement[direction]);
|
||
}
|
||
return keyframes;
|
||
}
|
||
function getKeyframes({
|
||
type,
|
||
preset
|
||
}) {
|
||
if ('custom' === type) {
|
||
return buildKeyframesFromConfig(preset);
|
||
}
|
||
if ('preset' !== type) {
|
||
return {};
|
||
}
|
||
return buildKeyframesFromPreset(preset);
|
||
}
|
||
function parseAnimationName(name) {
|
||
const [trigger, effect, type, direction, duration, delay, replay, easing, relativeTo, end, start] = name.split('-');
|
||
const config = getConfig();
|
||
const parsed = {
|
||
trigger,
|
||
animation: {
|
||
effect,
|
||
customEffect: {},
|
||
type,
|
||
direction: direction || null,
|
||
replay: replay ?? false,
|
||
relativeTo: relativeTo ?? config.relativeTo,
|
||
start: start ? parseInt(start, 10) : config.start,
|
||
end: end ? parseInt(end, 10) : config.end,
|
||
easing: easing ?? config.defaultEasing,
|
||
repeat: '',
|
||
times: 1,
|
||
timing: {
|
||
duration: duration ? parseInt(duration, 10) : config.defaultDuration,
|
||
delay: delay ? parseInt(delay, 10) : config.defaultDelay
|
||
}
|
||
}
|
||
};
|
||
return parsed;
|
||
}
|
||
function extractAnimationConfig(interaction) {
|
||
if ('string' === typeof interaction) {
|
||
return parseAnimationName(interaction);
|
||
}
|
||
const payload = 'interaction-item' === interaction?.$$type && interaction?.value ? interaction.value : interaction;
|
||
if (!payload) {
|
||
return null;
|
||
}
|
||
if (payload?.animation?.animation_id) {
|
||
return parseAnimationName(payload.animation.animation_id);
|
||
}
|
||
const animation = unwrapInteractionValue(payload.animation);
|
||
if (!animation) {
|
||
return null;
|
||
}
|
||
const breakpoints = unwrapInteractionBreakpoints(payload.breakpoints);
|
||
const animationConfig = unwrapInteractionValue(animation.config, {});
|
||
const config = getConfig();
|
||
const parsed = {
|
||
trigger: unwrapInteractionValue(payload.trigger, 'load'),
|
||
breakpoints,
|
||
animation: {
|
||
effect: unwrapInteractionValue(animation.effect, 'fade'),
|
||
customEffect: unwrapCustomEffect(animation.custom_effect, {}),
|
||
type: unwrapInteractionValue(animation.type, 'in'),
|
||
direction: unwrapInteractionValue(animation.direction, ''),
|
||
replay: unwrapInteractionValue(animationConfig.replay, false),
|
||
relativeTo: unwrapInteractionValue(animationConfig.relativeTo, config.relativeTo),
|
||
start: sizeValueToNumber(animationConfig.start, config.start),
|
||
end: sizeValueToNumber(animationConfig.end, config.end),
|
||
easing: unwrapInteractionValue(animationConfig.easing, config.defaultEasing),
|
||
repeat: unwrapInteractionValue(animationConfig.repeat, ''),
|
||
times: unwrapInteractionValue(animationConfig.times, 1),
|
||
timing: unwrapTiming(animation.timing_config)
|
||
}
|
||
};
|
||
return parsed;
|
||
}
|
||
function unwrapInteractionBreakpoints(propValue) {
|
||
const breakpointsConfig = unwrapInteractionValue(propValue, {});
|
||
const excluded = unwrapInteractionValue(breakpointsConfig.excluded, []);
|
||
if (1 > excluded.length) {
|
||
return {};
|
||
}
|
||
const breakpoints = {
|
||
excluded: excluded.map(breakpoint => unwrapInteractionValue(breakpoint, ''))
|
||
};
|
||
return breakpoints;
|
||
}
|
||
function unwrapTiming(propValue) {
|
||
const config = getConfig();
|
||
const timingConfig = unwrapInteractionValue(propValue, {});
|
||
return {
|
||
duration: timingValueToMs(timingConfig?.duration, config.defaultDuration),
|
||
delay: timingValueToMs(timingConfig?.delay, config.defaultDelay)
|
||
};
|
||
}
|
||
function denullify(obj) {
|
||
return Object.entries(obj).reduce((acc, [key, value]) => {
|
||
if (null === value || undefined === value || '' === value) {
|
||
return acc;
|
||
}
|
||
acc[key] = value;
|
||
return acc;
|
||
}, {});
|
||
}
|
||
function unwrapCustomEffect(propValue) {
|
||
const customEffectConfig = unwrapInteractionValue(propValue, {});
|
||
const keyframes = unwrapInteractionValue(customEffectConfig.keyframes, []).map(keyframe => {
|
||
const keyframeStop = unwrapInteractionValue(keyframe, {});
|
||
const stop = unwrapInteractionValue(keyframeStop.stop, {});
|
||
const settings = unwrapInteractionValue(keyframeStop.settings, {});
|
||
const move = unwrapInteractionValue(settings.move, {});
|
||
const scale = unwrapInteractionValue(settings.scale, {});
|
||
const skew = unwrapInteractionValue(settings.skew, {});
|
||
const rotate = unwrapInteractionValue(settings.rotate, {});
|
||
return {
|
||
stop: stop.size,
|
||
settings: denullify({
|
||
opacity: sizeValue(settings.opacity),
|
||
x: sizeValue(move.x),
|
||
y: sizeValue(move.y),
|
||
z: sizeValue(move.z),
|
||
rotateX: sizeValue(rotate.x),
|
||
rotateY: sizeValue(rotate.y),
|
||
rotateZ: sizeValue(rotate.z),
|
||
scaleX: sizeValueToNumber(scale.x),
|
||
scaleY: sizeValueToNumber(scale.y),
|
||
skewX: sizeValue(skew.x),
|
||
skewY: sizeValue(skew.y)
|
||
})
|
||
};
|
||
}).sort((a, b) => {
|
||
if (a.stop === b.stop) {
|
||
return 0;
|
||
}
|
||
return a.stop - b.stop;
|
||
});
|
||
if (1 > keyframes.length) {
|
||
return {};
|
||
}
|
||
return {
|
||
keyframes
|
||
};
|
||
}
|
||
function sizeValue(propValue) {
|
||
const unwrapped = unwrapInteractionValue(propValue);
|
||
const size = unwrapInteractionValue(unwrapped);
|
||
return [size?.size, size?.unit].join('') || null;
|
||
}
|
||
function sizeValueToNumber(value, fallback = null) {
|
||
if (null === value || value === undefined) {
|
||
return fallback;
|
||
}
|
||
const unwrapped = unwrapInteractionValue(value);
|
||
if ('number' === typeof unwrapped) {
|
||
return unwrapped;
|
||
}
|
||
const sizeObj = unwrapInteractionValue(unwrapped);
|
||
const size = sizeObj?.size;
|
||
return size;
|
||
}
|
||
function getAnimationRepeatOptions(animationConfig = {}) {
|
||
const repeatMode = unwrapInteractionValue(animationConfig.repeat, '');
|
||
if ('loop' === repeatMode) {
|
||
return {
|
||
repeat: Infinity
|
||
};
|
||
}
|
||
if ('times' === repeatMode) {
|
||
const rawTimes = unwrapInteractionValue(animationConfig.times, 1);
|
||
const normalizedTimes = Number.isFinite(rawTimes) ? Math.max(0, Math.floor(rawTimes)) : 0;
|
||
return {
|
||
repeat: Math.max(normalizedTimes - 1, 0)
|
||
};
|
||
}
|
||
return {};
|
||
}
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/a-callable.js"
|
||
/*!*******************************************************!*\
|
||
!*** ../node_modules/core-js/internals/a-callable.js ***!
|
||
\*******************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../node_modules/core-js/internals/try-to-string.js");
|
||
|
||
var $TypeError = TypeError;
|
||
|
||
// `Assert: IsCallable(argument) is true`
|
||
module.exports = function (argument) {
|
||
if (isCallable(argument)) return argument;
|
||
throw new $TypeError(tryToString(argument) + ' is not a function');
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/an-instance.js"
|
||
/*!********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/an-instance.js ***!
|
||
\********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js");
|
||
|
||
var $TypeError = TypeError;
|
||
|
||
module.exports = function (it, Prototype) {
|
||
if (isPrototypeOf(Prototype, it)) return it;
|
||
throw new $TypeError('Incorrect invocation');
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/an-object.js"
|
||
/*!******************************************************!*\
|
||
!*** ../node_modules/core-js/internals/an-object.js ***!
|
||
\******************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
|
||
|
||
var $String = String;
|
||
var $TypeError = TypeError;
|
||
|
||
// `Assert: Type(argument) is Object`
|
||
module.exports = function (argument) {
|
||
if (isObject(argument)) return argument;
|
||
throw new $TypeError($String(argument) + ' is not an object');
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/array-includes.js"
|
||
/*!***********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/array-includes.js ***!
|
||
\***********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js");
|
||
var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "../node_modules/core-js/internals/to-absolute-index.js");
|
||
var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "../node_modules/core-js/internals/length-of-array-like.js");
|
||
|
||
// `Array.prototype.{ indexOf, includes }` methods implementation
|
||
var createMethod = function (IS_INCLUDES) {
|
||
return function ($this, el, fromIndex) {
|
||
var O = toIndexedObject($this);
|
||
var length = lengthOfArrayLike(O);
|
||
if (length === 0) return !IS_INCLUDES && -1;
|
||
var index = toAbsoluteIndex(fromIndex, length);
|
||
var value;
|
||
// Array#includes uses SameValueZero equality algorithm
|
||
// eslint-disable-next-line no-self-compare -- NaN check
|
||
if (IS_INCLUDES && el !== el) while (length > index) {
|
||
value = O[index++];
|
||
// eslint-disable-next-line no-self-compare -- NaN check
|
||
if (value !== value) return true;
|
||
// Array#indexOf ignores holes, Array#includes - not
|
||
} else for (;length > index; index++) {
|
||
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
||
} return !IS_INCLUDES && -1;
|
||
};
|
||
};
|
||
|
||
module.exports = {
|
||
// `Array.prototype.includes` method
|
||
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
||
includes: createMethod(true),
|
||
// `Array.prototype.indexOf` method
|
||
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
||
indexOf: createMethod(false)
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/array-set-length.js"
|
||
/*!*************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/array-set-length.js ***!
|
||
\*************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
|
||
var isArray = __webpack_require__(/*! ../internals/is-array */ "../node_modules/core-js/internals/is-array.js");
|
||
|
||
var $TypeError = TypeError;
|
||
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
||
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
||
|
||
// Safari < 13 does not throw an error in this case
|
||
var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
|
||
// makes no sense without proper strict mode support
|
||
if (this !== undefined) return true;
|
||
try {
|
||
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
||
Object.defineProperty([], 'length', { writable: false }).length = 1;
|
||
} catch (error) {
|
||
return error instanceof TypeError;
|
||
}
|
||
}();
|
||
|
||
module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
|
||
if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
|
||
throw new $TypeError('Cannot set read only .length');
|
||
} return O.length = length;
|
||
} : function (O, length) {
|
||
return O.length = length;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/call-with-safe-iteration-closing.js"
|
||
/*!*****************************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/call-with-safe-iteration-closing.js ***!
|
||
\*****************************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
|
||
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js");
|
||
|
||
// call something on iterator step with safe closing on error
|
||
module.exports = function (iterator, fn, value, ENTRIES) {
|
||
try {
|
||
return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
|
||
} catch (error) {
|
||
iteratorClose(iterator, 'throw', error);
|
||
}
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/classof-raw.js"
|
||
/*!********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/classof-raw.js ***!
|
||
\********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
|
||
|
||
var toString = uncurryThis({}.toString);
|
||
var stringSlice = uncurryThis(''.slice);
|
||
|
||
module.exports = function (it) {
|
||
return stringSlice(toString(it), 8, -1);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/classof.js"
|
||
/*!****************************************************!*\
|
||
!*** ../node_modules/core-js/internals/classof.js ***!
|
||
\****************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "../node_modules/core-js/internals/to-string-tag-support.js");
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js");
|
||
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
|
||
|
||
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
||
var $Object = Object;
|
||
|
||
// ES3 wrong here
|
||
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
||
|
||
// fallback for IE11 Script Access Denied error
|
||
var tryGet = function (it, key) {
|
||
try {
|
||
return it[key];
|
||
} catch (error) { /* empty */ }
|
||
};
|
||
|
||
// getting tag from ES6+ `Object.prototype.toString`
|
||
module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
||
var O, tag, result;
|
||
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
||
// @@toStringTag case
|
||
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
||
// builtinTag case
|
||
: CORRECT_ARGUMENTS ? classofRaw(O)
|
||
// ES3 arguments fallback
|
||
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/copy-constructor-properties.js"
|
||
/*!************************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/copy-constructor-properties.js ***!
|
||
\************************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
|
||
var ownKeys = __webpack_require__(/*! ../internals/own-keys */ "../node_modules/core-js/internals/own-keys.js");
|
||
var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../node_modules/core-js/internals/object-get-own-property-descriptor.js");
|
||
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js");
|
||
|
||
module.exports = function (target, source, exceptions) {
|
||
var keys = ownKeys(source);
|
||
var defineProperty = definePropertyModule.f;
|
||
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
||
for (var i = 0; i < keys.length; i++) {
|
||
var key = keys[i];
|
||
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
|
||
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
||
}
|
||
}
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/correct-prototype-getter.js"
|
||
/*!*********************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/correct-prototype-getter.js ***!
|
||
\*********************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
|
||
|
||
module.exports = !fails(function () {
|
||
function F() { /* empty */ }
|
||
F.prototype.constructor = null;
|
||
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
||
return Object.getPrototypeOf(new F()) !== F.prototype;
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/create-iter-result-object.js"
|
||
/*!**********************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/create-iter-result-object.js ***!
|
||
\**********************************************************************/
|
||
(module) {
|
||
|
||
|
||
// `CreateIterResultObject` abstract operation
|
||
// https://tc39.es/ecma262/#sec-createiterresultobject
|
||
module.exports = function (value, done) {
|
||
return { value: value, done: done };
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/create-non-enumerable-property.js"
|
||
/*!***************************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/create-non-enumerable-property.js ***!
|
||
\***************************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
|
||
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js");
|
||
var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js");
|
||
|
||
module.exports = DESCRIPTORS ? function (object, key, value) {
|
||
return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
|
||
} : function (object, key, value) {
|
||
object[key] = value;
|
||
return object;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/create-property-descriptor.js"
|
||
/*!***********************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/create-property-descriptor.js ***!
|
||
\***********************************************************************/
|
||
(module) {
|
||
|
||
|
||
module.exports = function (bitmap, value) {
|
||
return {
|
||
enumerable: !(bitmap & 1),
|
||
configurable: !(bitmap & 2),
|
||
writable: !(bitmap & 4),
|
||
value: value
|
||
};
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/create-property.js"
|
||
/*!************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/create-property.js ***!
|
||
\************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
|
||
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js");
|
||
var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js");
|
||
|
||
module.exports = function (object, key, value) {
|
||
if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
|
||
else object[key] = value;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/define-built-in-accessor.js"
|
||
/*!*********************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/define-built-in-accessor.js ***!
|
||
\*********************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ "../node_modules/core-js/internals/make-built-in.js");
|
||
var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js");
|
||
|
||
module.exports = function (target, name, descriptor) {
|
||
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
||
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
||
return defineProperty.f(target, name, descriptor);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/define-built-in.js"
|
||
/*!************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/define-built-in.js ***!
|
||
\************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js");
|
||
var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ "../node_modules/core-js/internals/make-built-in.js");
|
||
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js");
|
||
|
||
module.exports = function (O, key, value, options) {
|
||
if (!options) options = {};
|
||
var simple = options.enumerable;
|
||
var name = options.name !== undefined ? options.name : key;
|
||
if (isCallable(value)) makeBuiltIn(value, name, options);
|
||
if (options.global) {
|
||
if (simple) O[key] = value;
|
||
else defineGlobalProperty(key, value);
|
||
} else {
|
||
try {
|
||
if (!options.unsafe) delete O[key];
|
||
else if (O[key]) simple = true;
|
||
} catch (error) { /* empty */ }
|
||
if (simple) O[key] = value;
|
||
else definePropertyModule.f(O, key, {
|
||
value: value,
|
||
enumerable: false,
|
||
configurable: !options.nonConfigurable,
|
||
writable: !options.nonWritable
|
||
});
|
||
} return O;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/define-built-ins.js"
|
||
/*!*************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/define-built-ins.js ***!
|
||
\*************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../node_modules/core-js/internals/define-built-in.js");
|
||
|
||
module.exports = function (target, src, options) {
|
||
for (var key in src) defineBuiltIn(target, key, src[key], options);
|
||
return target;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/define-global-property.js"
|
||
/*!*******************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/define-global-property.js ***!
|
||
\*******************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
|
||
|
||
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
||
var defineProperty = Object.defineProperty;
|
||
|
||
module.exports = function (key, value) {
|
||
try {
|
||
defineProperty(globalThis, key, { value: value, configurable: true, writable: true });
|
||
} catch (error) {
|
||
globalThis[key] = value;
|
||
} return value;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/descriptors.js"
|
||
/*!********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/descriptors.js ***!
|
||
\********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
|
||
|
||
// Detect IE8's incomplete defineProperty implementation
|
||
module.exports = !fails(function () {
|
||
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
||
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/document-create-element.js"
|
||
/*!********************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/document-create-element.js ***!
|
||
\********************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
|
||
var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
|
||
|
||
var document = globalThis.document;
|
||
// typeof document.createElement is 'object' in old IE
|
||
var EXISTS = isObject(document) && isObject(document.createElement);
|
||
|
||
module.exports = function (it) {
|
||
return EXISTS ? document.createElement(it) : {};
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/does-not-exceed-safe-integer.js"
|
||
/*!*************************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/does-not-exceed-safe-integer.js ***!
|
||
\*************************************************************************/
|
||
(module) {
|
||
|
||
|
||
var $TypeError = TypeError;
|
||
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
|
||
|
||
module.exports = function (it) {
|
||
if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
|
||
return it;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/enum-bug-keys.js"
|
||
/*!**********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/enum-bug-keys.js ***!
|
||
\**********************************************************/
|
||
(module) {
|
||
|
||
|
||
// IE8- don't enum bug keys
|
||
module.exports = [
|
||
'constructor',
|
||
'hasOwnProperty',
|
||
'isPrototypeOf',
|
||
'propertyIsEnumerable',
|
||
'toLocaleString',
|
||
'toString',
|
||
'valueOf'
|
||
];
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/environment-user-agent.js"
|
||
/*!*******************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/environment-user-agent.js ***!
|
||
\*******************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
|
||
|
||
var navigator = globalThis.navigator;
|
||
var userAgent = navigator && navigator.userAgent;
|
||
|
||
module.exports = userAgent ? String(userAgent) : '';
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/environment-v8-version.js"
|
||
/*!*******************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/environment-v8-version.js ***!
|
||
\*******************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
|
||
var userAgent = __webpack_require__(/*! ../internals/environment-user-agent */ "../node_modules/core-js/internals/environment-user-agent.js");
|
||
|
||
var process = globalThis.process;
|
||
var Deno = globalThis.Deno;
|
||
var versions = process && process.versions || Deno && Deno.version;
|
||
var v8 = versions && versions.v8;
|
||
var match, version;
|
||
|
||
if (v8) {
|
||
match = v8.split('.');
|
||
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
|
||
// but their correct versions are not interesting for us
|
||
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
||
}
|
||
|
||
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
|
||
// so check `userAgent` even if `.v8` exists, but 0
|
||
if (!version && userAgent) {
|
||
match = userAgent.match(/Edge\/(\d+)/);
|
||
if (!match || match[1] >= 74) {
|
||
match = userAgent.match(/Chrome\/(\d+)/);
|
||
if (match) version = +match[1];
|
||
}
|
||
}
|
||
|
||
module.exports = version;
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/export.js"
|
||
/*!***************************************************!*\
|
||
!*** ../node_modules/core-js/internals/export.js ***!
|
||
\***************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
|
||
var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../node_modules/core-js/internals/object-get-own-property-descriptor.js").f);
|
||
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js");
|
||
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../node_modules/core-js/internals/define-built-in.js");
|
||
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js");
|
||
var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "../node_modules/core-js/internals/copy-constructor-properties.js");
|
||
var isForced = __webpack_require__(/*! ../internals/is-forced */ "../node_modules/core-js/internals/is-forced.js");
|
||
|
||
/*
|
||
options.target - name of the target object
|
||
options.global - target is the global object
|
||
options.stat - export as static methods of target
|
||
options.proto - export as prototype methods of target
|
||
options.real - real prototype method for the `pure` version
|
||
options.forced - export even if the native feature is available
|
||
options.bind - bind methods to the target, required for the `pure` version
|
||
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
||
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
||
options.sham - add a flag to not completely full polyfills
|
||
options.enumerable - export as enumerable property
|
||
options.dontCallGetSet - prevent calling a getter on target
|
||
options.name - the .name of the function if it does not match the key
|
||
*/
|
||
module.exports = function (options, source) {
|
||
var TARGET = options.target;
|
||
var GLOBAL = options.global;
|
||
var STATIC = options.stat;
|
||
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
||
if (GLOBAL) {
|
||
target = globalThis;
|
||
} else if (STATIC) {
|
||
target = globalThis[TARGET] || defineGlobalProperty(TARGET, {});
|
||
} else {
|
||
target = globalThis[TARGET] && globalThis[TARGET].prototype;
|
||
}
|
||
if (target) for (key in source) {
|
||
sourceProperty = source[key];
|
||
if (options.dontCallGetSet) {
|
||
descriptor = getOwnPropertyDescriptor(target, key);
|
||
targetProperty = descriptor && descriptor.value;
|
||
} else targetProperty = target[key];
|
||
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
||
// contained in target
|
||
if (!FORCED && targetProperty !== undefined) {
|
||
if (typeof sourceProperty == typeof targetProperty) continue;
|
||
copyConstructorProperties(sourceProperty, targetProperty);
|
||
}
|
||
// add a flag to not completely full polyfills
|
||
if (options.sham || (targetProperty && targetProperty.sham)) {
|
||
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
||
}
|
||
defineBuiltIn(target, key, sourceProperty, options);
|
||
}
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/fails.js"
|
||
/*!**************************************************!*\
|
||
!*** ../node_modules/core-js/internals/fails.js ***!
|
||
\**************************************************/
|
||
(module) {
|
||
|
||
|
||
module.exports = function (exec) {
|
||
try {
|
||
return !!exec();
|
||
} catch (error) {
|
||
return true;
|
||
}
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/function-apply.js"
|
||
/*!***********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/function-apply.js ***!
|
||
\***********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js");
|
||
|
||
var FunctionPrototype = Function.prototype;
|
||
var apply = FunctionPrototype.apply;
|
||
var call = FunctionPrototype.call;
|
||
|
||
// eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
|
||
module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
|
||
return call.apply(apply, arguments);
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/function-bind-context.js"
|
||
/*!******************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/function-bind-context.js ***!
|
||
\******************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ "../node_modules/core-js/internals/function-uncurry-this-clause.js");
|
||
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
|
||
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js");
|
||
|
||
var bind = uncurryThis(uncurryThis.bind);
|
||
|
||
// optional / simple context binding
|
||
module.exports = function (fn, that) {
|
||
aCallable(fn);
|
||
return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {
|
||
return fn.apply(that, arguments);
|
||
};
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/function-bind-native.js"
|
||
/*!*****************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/function-bind-native.js ***!
|
||
\*****************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
|
||
|
||
module.exports = !fails(function () {
|
||
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
||
var test = (function () { /* empty */ }).bind();
|
||
// eslint-disable-next-line no-prototype-builtins -- safe
|
||
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/function-call.js"
|
||
/*!**********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/function-call.js ***!
|
||
\**********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js");
|
||
|
||
var call = Function.prototype.call;
|
||
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
||
module.exports = NATIVE_BIND ? call.bind(call) : function () {
|
||
return call.apply(call, arguments);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/function-name.js"
|
||
/*!**********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/function-name.js ***!
|
||
\**********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
|
||
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
|
||
|
||
var FunctionPrototype = Function.prototype;
|
||
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
||
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
|
||
|
||
var EXISTS = hasOwn(FunctionPrototype, 'name');
|
||
// additional protection from minified / mangled / dropped function names
|
||
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
||
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
|
||
|
||
module.exports = {
|
||
EXISTS: EXISTS,
|
||
PROPER: PROPER,
|
||
CONFIGURABLE: CONFIGURABLE
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/function-uncurry-this-clause.js"
|
||
/*!*************************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/function-uncurry-this-clause.js ***!
|
||
\*************************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js");
|
||
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
|
||
|
||
module.exports = function (fn) {
|
||
// Nashorn bug:
|
||
// https://github.com/zloirock/core-js/issues/1128
|
||
// https://github.com/zloirock/core-js/issues/1130
|
||
if (classofRaw(fn) === 'Function') return uncurryThis(fn);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/function-uncurry-this.js"
|
||
/*!******************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/function-uncurry-this.js ***!
|
||
\******************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js");
|
||
|
||
var FunctionPrototype = Function.prototype;
|
||
var call = FunctionPrototype.call;
|
||
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
||
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
|
||
|
||
module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
||
return function () {
|
||
return call.apply(fn, arguments);
|
||
};
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/get-built-in.js"
|
||
/*!*********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/get-built-in.js ***!
|
||
\*********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
|
||
var aFunction = function (argument) {
|
||
return isCallable(argument) ? argument : undefined;
|
||
};
|
||
|
||
module.exports = function (namespace, method) {
|
||
return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/get-iterator-direct.js"
|
||
/*!****************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/get-iterator-direct.js ***!
|
||
\****************************************************************/
|
||
(module) {
|
||
|
||
|
||
// `GetIteratorDirect(obj)` abstract operation
|
||
// https://tc39.es/ecma262/#sec-getiteratordirect
|
||
module.exports = function (obj) {
|
||
return {
|
||
iterator: obj,
|
||
next: obj.next,
|
||
done: false
|
||
};
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/get-iterator-method.js"
|
||
/*!****************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/get-iterator-method.js ***!
|
||
\****************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var classof = __webpack_require__(/*! ../internals/classof */ "../node_modules/core-js/internals/classof.js");
|
||
var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js");
|
||
var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "../node_modules/core-js/internals/is-null-or-undefined.js");
|
||
var Iterators = __webpack_require__(/*! ../internals/iterators */ "../node_modules/core-js/internals/iterators.js");
|
||
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
|
||
|
||
var ITERATOR = wellKnownSymbol('iterator');
|
||
|
||
module.exports = function (it) {
|
||
if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
|
||
|| getMethod(it, '@@iterator')
|
||
|| Iterators[classof(it)];
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/get-iterator.js"
|
||
/*!*********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/get-iterator.js ***!
|
||
\*********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
|
||
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
|
||
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
|
||
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../node_modules/core-js/internals/try-to-string.js");
|
||
var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "../node_modules/core-js/internals/get-iterator-method.js");
|
||
|
||
var $TypeError = TypeError;
|
||
|
||
module.exports = function (argument, usingIterator) {
|
||
var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
|
||
if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
|
||
throw new $TypeError(tryToString(argument) + ' is not iterable');
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/get-method.js"
|
||
/*!*******************************************************!*\
|
||
!*** ../node_modules/core-js/internals/get-method.js ***!
|
||
\*******************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
|
||
var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "../node_modules/core-js/internals/is-null-or-undefined.js");
|
||
|
||
// `GetMethod` abstract operation
|
||
// https://tc39.es/ecma262/#sec-getmethod
|
||
module.exports = function (V, P) {
|
||
var func = V[P];
|
||
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/global-this.js"
|
||
/*!********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/global-this.js ***!
|
||
\********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var check = function (it) {
|
||
return it && it.Math === Math && it;
|
||
};
|
||
|
||
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
||
module.exports =
|
||
// eslint-disable-next-line es/no-global-this -- safe
|
||
check(typeof globalThis == 'object' && globalThis) ||
|
||
check(typeof window == 'object' && window) ||
|
||
// eslint-disable-next-line no-restricted-globals -- safe
|
||
check(typeof self == 'object' && self) ||
|
||
check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) ||
|
||
check(typeof this == 'object' && this) ||
|
||
// eslint-disable-next-line no-new-func -- fallback
|
||
(function () { return this; })() || Function('return this')();
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/has-own-property.js"
|
||
/*!*************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/has-own-property.js ***!
|
||
\*************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
|
||
var toObject = __webpack_require__(/*! ../internals/to-object */ "../node_modules/core-js/internals/to-object.js");
|
||
|
||
var hasOwnProperty = uncurryThis({}.hasOwnProperty);
|
||
|
||
// `HasOwnProperty` abstract operation
|
||
// https://tc39.es/ecma262/#sec-hasownproperty
|
||
// eslint-disable-next-line es/no-object-hasown -- safe
|
||
module.exports = Object.hasOwn || function hasOwn(it, key) {
|
||
return hasOwnProperty(toObject(it), key);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/hidden-keys.js"
|
||
/*!********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/hidden-keys.js ***!
|
||
\********************************************************/
|
||
(module) {
|
||
|
||
|
||
module.exports = {};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/html.js"
|
||
/*!*************************************************!*\
|
||
!*** ../node_modules/core-js/internals/html.js ***!
|
||
\*************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js");
|
||
|
||
module.exports = getBuiltIn('document', 'documentElement');
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/ie8-dom-define.js"
|
||
/*!***********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/ie8-dom-define.js ***!
|
||
\***********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
|
||
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
|
||
var createElement = __webpack_require__(/*! ../internals/document-create-element */ "../node_modules/core-js/internals/document-create-element.js");
|
||
|
||
// Thanks to IE8 for its funny defineProperty
|
||
module.exports = !DESCRIPTORS && !fails(function () {
|
||
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
||
return Object.defineProperty(createElement('div'), 'a', {
|
||
get: function () { return 7; }
|
||
}).a !== 7;
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/indexed-object.js"
|
||
/*!***********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/indexed-object.js ***!
|
||
\***********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
|
||
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
|
||
var classof = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js");
|
||
|
||
var $Object = Object;
|
||
var split = uncurryThis(''.split);
|
||
|
||
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
||
module.exports = fails(function () {
|
||
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
||
// eslint-disable-next-line no-prototype-builtins -- safe
|
||
return !$Object('z').propertyIsEnumerable(0);
|
||
}) ? function (it) {
|
||
return classof(it) === 'String' ? split(it, '') : $Object(it);
|
||
} : $Object;
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/inspect-source.js"
|
||
/*!***********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/inspect-source.js ***!
|
||
\***********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
var store = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js");
|
||
|
||
var functionToString = uncurryThis(Function.toString);
|
||
|
||
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
||
if (!isCallable(store.inspectSource)) {
|
||
store.inspectSource = function (it) {
|
||
return functionToString(it);
|
||
};
|
||
}
|
||
|
||
module.exports = store.inspectSource;
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/internal-state.js"
|
||
/*!***********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/internal-state.js ***!
|
||
\***********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/weak-map-basic-detection */ "../node_modules/core-js/internals/weak-map-basic-detection.js");
|
||
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
|
||
var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
|
||
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js");
|
||
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
|
||
var shared = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js");
|
||
var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "../node_modules/core-js/internals/shared-key.js");
|
||
var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js");
|
||
|
||
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
||
var TypeError = globalThis.TypeError;
|
||
var WeakMap = globalThis.WeakMap;
|
||
var set, get, has;
|
||
|
||
var enforce = function (it) {
|
||
return has(it) ? get(it) : set(it, {});
|
||
};
|
||
|
||
var getterFor = function (TYPE) {
|
||
return function (it) {
|
||
var state;
|
||
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
||
throw new TypeError('Incompatible receiver, ' + TYPE + ' required');
|
||
} return state;
|
||
};
|
||
};
|
||
|
||
if (NATIVE_WEAK_MAP || shared.state) {
|
||
var store = shared.state || (shared.state = new WeakMap());
|
||
/* eslint-disable no-self-assign -- prototype methods protection */
|
||
store.get = store.get;
|
||
store.has = store.has;
|
||
store.set = store.set;
|
||
/* eslint-enable no-self-assign -- prototype methods protection */
|
||
set = function (it, metadata) {
|
||
if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
|
||
metadata.facade = it;
|
||
store.set(it, metadata);
|
||
return metadata;
|
||
};
|
||
get = function (it) {
|
||
return store.get(it) || {};
|
||
};
|
||
has = function (it) {
|
||
return store.has(it);
|
||
};
|
||
} else {
|
||
var STATE = sharedKey('state');
|
||
hiddenKeys[STATE] = true;
|
||
set = function (it, metadata) {
|
||
if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
|
||
metadata.facade = it;
|
||
createNonEnumerableProperty(it, STATE, metadata);
|
||
return metadata;
|
||
};
|
||
get = function (it) {
|
||
return hasOwn(it, STATE) ? it[STATE] : {};
|
||
};
|
||
has = function (it) {
|
||
return hasOwn(it, STATE);
|
||
};
|
||
}
|
||
|
||
module.exports = {
|
||
set: set,
|
||
get: get,
|
||
has: has,
|
||
enforce: enforce,
|
||
getterFor: getterFor
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/is-array-iterator-method.js"
|
||
/*!*********************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/is-array-iterator-method.js ***!
|
||
\*********************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
|
||
var Iterators = __webpack_require__(/*! ../internals/iterators */ "../node_modules/core-js/internals/iterators.js");
|
||
|
||
var ITERATOR = wellKnownSymbol('iterator');
|
||
var ArrayPrototype = Array.prototype;
|
||
|
||
// check on default Array iterator
|
||
module.exports = function (it) {
|
||
return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/is-array.js"
|
||
/*!*****************************************************!*\
|
||
!*** ../node_modules/core-js/internals/is-array.js ***!
|
||
\*****************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var classof = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js");
|
||
|
||
// `IsArray` abstract operation
|
||
// https://tc39.es/ecma262/#sec-isarray
|
||
// eslint-disable-next-line es/no-array-isarray -- safe
|
||
module.exports = Array.isArray || function isArray(argument) {
|
||
return classof(argument) === 'Array';
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/is-callable.js"
|
||
/*!********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/is-callable.js ***!
|
||
\********************************************************/
|
||
(module) {
|
||
|
||
|
||
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
||
var documentAll = typeof document == 'object' && document.all;
|
||
|
||
// `IsCallable` abstract operation
|
||
// https://tc39.es/ecma262/#sec-iscallable
|
||
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
||
module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
||
return typeof argument == 'function' || argument === documentAll;
|
||
} : function (argument) {
|
||
return typeof argument == 'function';
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/is-forced.js"
|
||
/*!******************************************************!*\
|
||
!*** ../node_modules/core-js/internals/is-forced.js ***!
|
||
\******************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
|
||
var replacement = /#|\.prototype\./;
|
||
|
||
var isForced = function (feature, detection) {
|
||
var value = data[normalize(feature)];
|
||
return value === POLYFILL ? true
|
||
: value === NATIVE ? false
|
||
: isCallable(detection) ? fails(detection)
|
||
: !!detection;
|
||
};
|
||
|
||
var normalize = isForced.normalize = function (string) {
|
||
return String(string).replace(replacement, '.').toLowerCase();
|
||
};
|
||
|
||
var data = isForced.data = {};
|
||
var NATIVE = isForced.NATIVE = 'N';
|
||
var POLYFILL = isForced.POLYFILL = 'P';
|
||
|
||
module.exports = isForced;
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/is-null-or-undefined.js"
|
||
/*!*****************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/is-null-or-undefined.js ***!
|
||
\*****************************************************************/
|
||
(module) {
|
||
|
||
|
||
// we can't use just `it == null` since of `document.all` special case
|
||
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
||
module.exports = function (it) {
|
||
return it === null || it === undefined;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/is-object.js"
|
||
/*!******************************************************!*\
|
||
!*** ../node_modules/core-js/internals/is-object.js ***!
|
||
\******************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
|
||
module.exports = function (it) {
|
||
return typeof it == 'object' ? it !== null : isCallable(it);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/is-pure.js"
|
||
/*!****************************************************!*\
|
||
!*** ../node_modules/core-js/internals/is-pure.js ***!
|
||
\****************************************************/
|
||
(module) {
|
||
|
||
|
||
module.exports = false;
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/is-symbol.js"
|
||
/*!******************************************************!*\
|
||
!*** ../node_modules/core-js/internals/is-symbol.js ***!
|
||
\******************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js");
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js");
|
||
var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../node_modules/core-js/internals/use-symbol-as-uid.js");
|
||
|
||
var $Object = Object;
|
||
|
||
module.exports = USE_SYMBOL_AS_UID ? function (it) {
|
||
return typeof it == 'symbol';
|
||
} : function (it) {
|
||
var $Symbol = getBuiltIn('Symbol');
|
||
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/iterate.js"
|
||
/*!****************************************************!*\
|
||
!*** ../node_modules/core-js/internals/iterate.js ***!
|
||
\****************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var bind = __webpack_require__(/*! ../internals/function-bind-context */ "../node_modules/core-js/internals/function-bind-context.js");
|
||
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
|
||
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
|
||
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../node_modules/core-js/internals/try-to-string.js");
|
||
var isArrayIteratorMethod = __webpack_require__(/*! ../internals/is-array-iterator-method */ "../node_modules/core-js/internals/is-array-iterator-method.js");
|
||
var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "../node_modules/core-js/internals/length-of-array-like.js");
|
||
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js");
|
||
var getIterator = __webpack_require__(/*! ../internals/get-iterator */ "../node_modules/core-js/internals/get-iterator.js");
|
||
var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "../node_modules/core-js/internals/get-iterator-method.js");
|
||
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js");
|
||
|
||
var $TypeError = TypeError;
|
||
|
||
var Result = function (stopped, result) {
|
||
this.stopped = stopped;
|
||
this.result = result;
|
||
};
|
||
|
||
var ResultPrototype = Result.prototype;
|
||
|
||
module.exports = function (iterable, unboundFunction, options) {
|
||
var that = options && options.that;
|
||
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
||
var IS_RECORD = !!(options && options.IS_RECORD);
|
||
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
||
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
||
var fn = bind(unboundFunction, that);
|
||
var iterator, iterFn, index, length, result, next, step;
|
||
|
||
var stop = function (condition) {
|
||
if (iterator) iteratorClose(iterator, 'normal');
|
||
return new Result(true, condition);
|
||
};
|
||
|
||
var callFn = function (value) {
|
||
if (AS_ENTRIES) {
|
||
anObject(value);
|
||
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
||
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
||
};
|
||
|
||
if (IS_RECORD) {
|
||
iterator = iterable.iterator;
|
||
} else if (IS_ITERATOR) {
|
||
iterator = iterable;
|
||
} else {
|
||
iterFn = getIteratorMethod(iterable);
|
||
if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');
|
||
// optimisation for array iterators
|
||
if (isArrayIteratorMethod(iterFn)) {
|
||
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
||
result = callFn(iterable[index]);
|
||
if (result && isPrototypeOf(ResultPrototype, result)) return result;
|
||
} return new Result(false);
|
||
}
|
||
iterator = getIterator(iterable, iterFn);
|
||
}
|
||
|
||
next = IS_RECORD ? iterable.next : iterator.next;
|
||
while (!(step = call(next, iterator)).done) {
|
||
try {
|
||
result = callFn(step.value);
|
||
} catch (error) {
|
||
iteratorClose(iterator, 'throw', error);
|
||
}
|
||
if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
|
||
} return new Result(false);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/iterator-close-all.js"
|
||
/*!***************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/iterator-close-all.js ***!
|
||
\***************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js");
|
||
|
||
module.exports = function (iters, kind, value) {
|
||
for (var i = iters.length - 1; i >= 0; i--) {
|
||
if (iters[i] === undefined) continue;
|
||
try {
|
||
value = iteratorClose(iters[i].iterator, kind, value);
|
||
} catch (error) {
|
||
kind = 'throw';
|
||
value = error;
|
||
}
|
||
}
|
||
if (kind === 'throw') throw value;
|
||
return value;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/iterator-close.js"
|
||
/*!***********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/iterator-close.js ***!
|
||
\***********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
|
||
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
|
||
var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js");
|
||
|
||
module.exports = function (iterator, kind, value) {
|
||
var innerResult, innerError;
|
||
anObject(iterator);
|
||
try {
|
||
innerResult = getMethod(iterator, 'return');
|
||
if (!innerResult) {
|
||
if (kind === 'throw') throw value;
|
||
return value;
|
||
}
|
||
innerResult = call(innerResult, iterator);
|
||
} catch (error) {
|
||
innerError = true;
|
||
innerResult = error;
|
||
}
|
||
if (kind === 'throw') throw value;
|
||
if (innerError) throw innerResult;
|
||
anObject(innerResult);
|
||
return value;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/iterator-create-proxy.js"
|
||
/*!******************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/iterator-create-proxy.js ***!
|
||
\******************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
|
||
var create = __webpack_require__(/*! ../internals/object-create */ "../node_modules/core-js/internals/object-create.js");
|
||
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js");
|
||
var defineBuiltIns = __webpack_require__(/*! ../internals/define-built-ins */ "../node_modules/core-js/internals/define-built-ins.js");
|
||
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
|
||
var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "../node_modules/core-js/internals/internal-state.js");
|
||
var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js");
|
||
var IteratorPrototype = (__webpack_require__(/*! ../internals/iterators-core */ "../node_modules/core-js/internals/iterators-core.js").IteratorPrototype);
|
||
var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ "../node_modules/core-js/internals/create-iter-result-object.js");
|
||
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js");
|
||
var iteratorCloseAll = __webpack_require__(/*! ../internals/iterator-close-all */ "../node_modules/core-js/internals/iterator-close-all.js");
|
||
|
||
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
||
var ITERATOR_HELPER = 'IteratorHelper';
|
||
var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
|
||
var NORMAL = 'normal';
|
||
var THROW = 'throw';
|
||
var setInternalState = InternalStateModule.set;
|
||
|
||
var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
||
var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
|
||
|
||
return defineBuiltIns(create(IteratorPrototype), {
|
||
next: function next() {
|
||
var state = getInternalState(this);
|
||
// for simplification:
|
||
// for `%WrapForValidIteratorPrototype%.next` or with `state.returnHandlerResult` our `nextHandler` returns `IterResultObject`
|
||
// for `%IteratorHelperPrototype%.next` - just a value
|
||
if (IS_ITERATOR) return state.nextHandler();
|
||
if (state.done) return createIterResultObject(undefined, true);
|
||
try {
|
||
var result = state.nextHandler();
|
||
return state.returnHandlerResult ? result : createIterResultObject(result, state.done);
|
||
} catch (error) {
|
||
state.done = true;
|
||
throw error;
|
||
}
|
||
},
|
||
'return': function () {
|
||
var state = getInternalState(this);
|
||
var iterator = state.iterator;
|
||
state.done = true;
|
||
if (IS_ITERATOR) {
|
||
var returnMethod = getMethod(iterator, 'return');
|
||
return returnMethod ? call(returnMethod, iterator) : createIterResultObject(undefined, true);
|
||
}
|
||
if (state.inner) try {
|
||
iteratorClose(state.inner.iterator, NORMAL);
|
||
} catch (error) {
|
||
return iteratorClose(iterator, THROW, error);
|
||
}
|
||
if (state.openIters) try {
|
||
iteratorCloseAll(state.openIters, NORMAL);
|
||
} catch (error) {
|
||
return iteratorClose(iterator, THROW, error);
|
||
}
|
||
if (iterator) iteratorClose(iterator, NORMAL);
|
||
return createIterResultObject(undefined, true);
|
||
}
|
||
});
|
||
};
|
||
|
||
var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
|
||
var IteratorHelperPrototype = createIteratorProxyPrototype(false);
|
||
|
||
createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');
|
||
|
||
module.exports = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RESULT) {
|
||
var IteratorProxy = function Iterator(record, state) {
|
||
if (state) {
|
||
state.iterator = record.iterator;
|
||
state.next = record.next;
|
||
} else state = record;
|
||
state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
|
||
state.returnHandlerResult = !!RETURN_HANDLER_RESULT;
|
||
state.nextHandler = nextHandler;
|
||
state.counter = 0;
|
||
state.done = false;
|
||
setInternalState(this, state);
|
||
};
|
||
|
||
IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
|
||
|
||
return IteratorProxy;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js"
|
||
/*!***************************************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js ***!
|
||
\***************************************************************************************/
|
||
(module) {
|
||
|
||
|
||
// Should throw an error on invalid iterator
|
||
// https://issues.chromium.org/issues/336839115
|
||
module.exports = function (methodName, argument) {
|
||
// eslint-disable-next-line es/no-iterator -- required for testing
|
||
var method = typeof Iterator == 'function' && Iterator.prototype[methodName];
|
||
if (method) try {
|
||
method.call({ next: null }, argument).next();
|
||
} catch (error) {
|
||
return true;
|
||
}
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js"
|
||
/*!*******************************************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js ***!
|
||
\*******************************************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
|
||
|
||
// https://github.com/tc39/ecma262/pull/3467
|
||
module.exports = function (METHOD_NAME, ExpectedError) {
|
||
var Iterator = globalThis.Iterator;
|
||
var IteratorPrototype = Iterator && Iterator.prototype;
|
||
var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];
|
||
|
||
var CLOSED = false;
|
||
|
||
if (method) try {
|
||
method.call({
|
||
next: function () { return { done: true }; },
|
||
'return': function () { CLOSED = true; }
|
||
}, -1);
|
||
} catch (error) {
|
||
// https://bugs.webkit.org/show_bug.cgi?id=291195
|
||
if (!(error instanceof ExpectedError)) CLOSED = false;
|
||
}
|
||
|
||
if (!CLOSED) return method;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/iterators-core.js"
|
||
/*!***********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/iterators-core.js ***!
|
||
\***********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
|
||
var create = __webpack_require__(/*! ../internals/object-create */ "../node_modules/core-js/internals/object-create.js");
|
||
var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "../node_modules/core-js/internals/object-get-prototype-of.js");
|
||
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../node_modules/core-js/internals/define-built-in.js");
|
||
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
|
||
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js");
|
||
|
||
var ITERATOR = wellKnownSymbol('iterator');
|
||
var BUGGY_SAFARI_ITERATORS = false;
|
||
|
||
// `%IteratorPrototype%` object
|
||
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
||
var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
||
|
||
/* eslint-disable es/no-array-prototype-keys -- safe */
|
||
if ([].keys) {
|
||
arrayIterator = [].keys();
|
||
// Safari 8 has buggy iterators w/o `next`
|
||
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
|
||
else {
|
||
PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
|
||
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
|
||
}
|
||
}
|
||
|
||
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {
|
||
var test = {};
|
||
// FF44- legacy iterators case
|
||
return IteratorPrototype[ITERATOR].call(test) !== test;
|
||
});
|
||
|
||
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};
|
||
else if (IS_PURE) IteratorPrototype = create(IteratorPrototype);
|
||
|
||
// `%IteratorPrototype%[@@iterator]()` method
|
||
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
||
if (!isCallable(IteratorPrototype[ITERATOR])) {
|
||
defineBuiltIn(IteratorPrototype, ITERATOR, function () {
|
||
return this;
|
||
});
|
||
}
|
||
|
||
module.exports = {
|
||
IteratorPrototype: IteratorPrototype,
|
||
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/iterators.js"
|
||
/*!******************************************************!*\
|
||
!*** ../node_modules/core-js/internals/iterators.js ***!
|
||
\******************************************************/
|
||
(module) {
|
||
|
||
|
||
module.exports = {};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/length-of-array-like.js"
|
||
/*!*****************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/length-of-array-like.js ***!
|
||
\*****************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var toLength = __webpack_require__(/*! ../internals/to-length */ "../node_modules/core-js/internals/to-length.js");
|
||
|
||
// `LengthOfArrayLike` abstract operation
|
||
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
||
module.exports = function (obj) {
|
||
return toLength(obj.length);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/make-built-in.js"
|
||
/*!**********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/make-built-in.js ***!
|
||
\**********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
|
||
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
|
||
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
|
||
var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ "../node_modules/core-js/internals/function-name.js").CONFIGURABLE);
|
||
var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../node_modules/core-js/internals/inspect-source.js");
|
||
var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "../node_modules/core-js/internals/internal-state.js");
|
||
|
||
var enforceInternalState = InternalStateModule.enforce;
|
||
var getInternalState = InternalStateModule.get;
|
||
var $String = String;
|
||
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
||
var defineProperty = Object.defineProperty;
|
||
var stringSlice = uncurryThis(''.slice);
|
||
var replace = uncurryThis(''.replace);
|
||
var join = uncurryThis([].join);
|
||
|
||
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
|
||
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
||
});
|
||
|
||
var TEMPLATE = String(String).split('String');
|
||
|
||
var makeBuiltIn = module.exports = function (value, name, options) {
|
||
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
||
name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
||
}
|
||
if (options && options.getter) name = 'get ' + name;
|
||
if (options && options.setter) name = 'set ' + name;
|
||
if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
||
if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });
|
||
else value.name = name;
|
||
}
|
||
if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {
|
||
defineProperty(value, 'length', { value: options.arity });
|
||
}
|
||
try {
|
||
if (options && hasOwn(options, 'constructor') && options.constructor) {
|
||
if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
|
||
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
||
} else if (value.prototype) value.prototype = undefined;
|
||
} catch (error) { /* empty */ }
|
||
var state = enforceInternalState(value);
|
||
if (!hasOwn(state, 'source')) {
|
||
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
||
} return value;
|
||
};
|
||
|
||
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
||
// eslint-disable-next-line no-extend-native -- required
|
||
Function.prototype.toString = makeBuiltIn(function toString() {
|
||
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
||
}, 'toString');
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/math-trunc.js"
|
||
/*!*******************************************************!*\
|
||
!*** ../node_modules/core-js/internals/math-trunc.js ***!
|
||
\*******************************************************/
|
||
(module) {
|
||
|
||
|
||
var ceil = Math.ceil;
|
||
var floor = Math.floor;
|
||
|
||
// `Math.trunc` method
|
||
// https://tc39.es/ecma262/#sec-math.trunc
|
||
// eslint-disable-next-line es/no-math-trunc -- safe
|
||
module.exports = Math.trunc || function trunc(x) {
|
||
var n = +x;
|
||
return (n > 0 ? floor : ceil)(n);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/object-create.js"
|
||
/*!**********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/object-create.js ***!
|
||
\**********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
/* global ActiveXObject -- old IE, WSH */
|
||
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
|
||
var definePropertiesModule = __webpack_require__(/*! ../internals/object-define-properties */ "../node_modules/core-js/internals/object-define-properties.js");
|
||
var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "../node_modules/core-js/internals/enum-bug-keys.js");
|
||
var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js");
|
||
var html = __webpack_require__(/*! ../internals/html */ "../node_modules/core-js/internals/html.js");
|
||
var documentCreateElement = __webpack_require__(/*! ../internals/document-create-element */ "../node_modules/core-js/internals/document-create-element.js");
|
||
var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "../node_modules/core-js/internals/shared-key.js");
|
||
|
||
var GT = '>';
|
||
var LT = '<';
|
||
var PROTOTYPE = 'prototype';
|
||
var SCRIPT = 'script';
|
||
var IE_PROTO = sharedKey('IE_PROTO');
|
||
|
||
var EmptyConstructor = function () { /* empty */ };
|
||
|
||
var scriptTag = function (content) {
|
||
return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
|
||
};
|
||
|
||
// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
|
||
var NullProtoObjectViaActiveX = function (activeXDocument) {
|
||
activeXDocument.write(scriptTag(''));
|
||
activeXDocument.close();
|
||
var temp = activeXDocument.parentWindow.Object;
|
||
// eslint-disable-next-line no-useless-assignment -- avoid memory leak
|
||
activeXDocument = null;
|
||
return temp;
|
||
};
|
||
|
||
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
||
var NullProtoObjectViaIFrame = function () {
|
||
// Thrash, waste and sodomy: IE GC bug
|
||
var iframe = documentCreateElement('iframe');
|
||
var JS = 'java' + SCRIPT + ':';
|
||
var iframeDocument;
|
||
iframe.style.display = 'none';
|
||
html.appendChild(iframe);
|
||
// https://github.com/zloirock/core-js/issues/475
|
||
iframe.src = String(JS);
|
||
iframeDocument = iframe.contentWindow.document;
|
||
iframeDocument.open();
|
||
iframeDocument.write(scriptTag('document.F=Object'));
|
||
iframeDocument.close();
|
||
return iframeDocument.F;
|
||
};
|
||
|
||
// Check for document.domain and active x support
|
||
// No need to use active x approach when document.domain is not set
|
||
// see https://github.com/es-shims/es5-shim/issues/150
|
||
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
|
||
// avoid IE GC bug
|
||
var activeXDocument;
|
||
var NullProtoObject = function () {
|
||
try {
|
||
activeXDocument = new ActiveXObject('htmlfile');
|
||
} catch (error) { /* ignore */ }
|
||
NullProtoObject = typeof document != 'undefined'
|
||
? document.domain && activeXDocument
|
||
? NullProtoObjectViaActiveX(activeXDocument) // old IE
|
||
: NullProtoObjectViaIFrame()
|
||
: NullProtoObjectViaActiveX(activeXDocument); // WSH
|
||
var length = enumBugKeys.length;
|
||
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
|
||
return NullProtoObject();
|
||
};
|
||
|
||
hiddenKeys[IE_PROTO] = true;
|
||
|
||
// `Object.create` method
|
||
// https://tc39.es/ecma262/#sec-object.create
|
||
// eslint-disable-next-line es/no-object-create -- safe
|
||
module.exports = Object.create || function create(O, Properties) {
|
||
var result;
|
||
if (O !== null) {
|
||
EmptyConstructor[PROTOTYPE] = anObject(O);
|
||
result = new EmptyConstructor();
|
||
EmptyConstructor[PROTOTYPE] = null;
|
||
// add "__proto__" for Object.getPrototypeOf polyfill
|
||
result[IE_PROTO] = O;
|
||
} else result = NullProtoObject();
|
||
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/object-define-properties.js"
|
||
/*!*********************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/object-define-properties.js ***!
|
||
\*********************************************************************/
|
||
(__unused_webpack_module, exports, __webpack_require__) {
|
||
|
||
|
||
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
|
||
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "../node_modules/core-js/internals/v8-prototype-define-bug.js");
|
||
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js");
|
||
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
|
||
var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js");
|
||
var objectKeys = __webpack_require__(/*! ../internals/object-keys */ "../node_modules/core-js/internals/object-keys.js");
|
||
|
||
// `Object.defineProperties` method
|
||
// https://tc39.es/ecma262/#sec-object.defineproperties
|
||
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
||
exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
||
anObject(O);
|
||
var props = toIndexedObject(Properties);
|
||
var keys = objectKeys(Properties);
|
||
var length = keys.length;
|
||
var index = 0;
|
||
var key;
|
||
while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
|
||
return O;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/object-define-property.js"
|
||
/*!*******************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/object-define-property.js ***!
|
||
\*******************************************************************/
|
||
(__unused_webpack_module, exports, __webpack_require__) {
|
||
|
||
|
||
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
|
||
var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../node_modules/core-js/internals/ie8-dom-define.js");
|
||
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "../node_modules/core-js/internals/v8-prototype-define-bug.js");
|
||
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
|
||
var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../node_modules/core-js/internals/to-property-key.js");
|
||
|
||
var $TypeError = TypeError;
|
||
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
||
var $defineProperty = Object.defineProperty;
|
||
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
||
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
||
var ENUMERABLE = 'enumerable';
|
||
var CONFIGURABLE = 'configurable';
|
||
var WRITABLE = 'writable';
|
||
|
||
// `Object.defineProperty` method
|
||
// https://tc39.es/ecma262/#sec-object.defineproperty
|
||
exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
||
anObject(O);
|
||
P = toPropertyKey(P);
|
||
anObject(Attributes);
|
||
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
||
var current = $getOwnPropertyDescriptor(O, P);
|
||
if (current && current[WRITABLE]) {
|
||
O[P] = Attributes.value;
|
||
Attributes = {
|
||
configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
|
||
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
||
writable: false
|
||
};
|
||
}
|
||
} return $defineProperty(O, P, Attributes);
|
||
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
||
anObject(O);
|
||
P = toPropertyKey(P);
|
||
anObject(Attributes);
|
||
if (IE8_DOM_DEFINE) try {
|
||
return $defineProperty(O, P, Attributes);
|
||
} catch (error) { /* empty */ }
|
||
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');
|
||
if ('value' in Attributes) O[P] = Attributes.value;
|
||
return O;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/object-get-own-property-descriptor.js"
|
||
/*!*******************************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/object-get-own-property-descriptor.js ***!
|
||
\*******************************************************************************/
|
||
(__unused_webpack_module, exports, __webpack_require__) {
|
||
|
||
|
||
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
|
||
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
|
||
var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ "../node_modules/core-js/internals/object-property-is-enumerable.js");
|
||
var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js");
|
||
var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js");
|
||
var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../node_modules/core-js/internals/to-property-key.js");
|
||
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
|
||
var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../node_modules/core-js/internals/ie8-dom-define.js");
|
||
|
||
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
||
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
||
|
||
// `Object.getOwnPropertyDescriptor` method
|
||
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
||
exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
|
||
O = toIndexedObject(O);
|
||
P = toPropertyKey(P);
|
||
if (IE8_DOM_DEFINE) try {
|
||
return $getOwnPropertyDescriptor(O, P);
|
||
} catch (error) { /* empty */ }
|
||
if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/object-get-own-property-names.js"
|
||
/*!**************************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/object-get-own-property-names.js ***!
|
||
\**************************************************************************/
|
||
(__unused_webpack_module, exports, __webpack_require__) {
|
||
|
||
|
||
var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "../node_modules/core-js/internals/object-keys-internal.js");
|
||
var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "../node_modules/core-js/internals/enum-bug-keys.js");
|
||
|
||
var hiddenKeys = enumBugKeys.concat('length', 'prototype');
|
||
|
||
// `Object.getOwnPropertyNames` method
|
||
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
||
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
||
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
||
return internalObjectKeys(O, hiddenKeys);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/object-get-own-property-symbols.js"
|
||
/*!****************************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/object-get-own-property-symbols.js ***!
|
||
\****************************************************************************/
|
||
(__unused_webpack_module, exports) {
|
||
|
||
|
||
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
||
exports.f = Object.getOwnPropertySymbols;
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/object-get-prototype-of.js"
|
||
/*!********************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/object-get-prototype-of.js ***!
|
||
\********************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
var toObject = __webpack_require__(/*! ../internals/to-object */ "../node_modules/core-js/internals/to-object.js");
|
||
var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "../node_modules/core-js/internals/shared-key.js");
|
||
var CORRECT_PROTOTYPE_GETTER = __webpack_require__(/*! ../internals/correct-prototype-getter */ "../node_modules/core-js/internals/correct-prototype-getter.js");
|
||
|
||
var IE_PROTO = sharedKey('IE_PROTO');
|
||
var $Object = Object;
|
||
var ObjectPrototype = $Object.prototype;
|
||
|
||
// `Object.getPrototypeOf` method
|
||
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
||
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
||
module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
||
var object = toObject(O);
|
||
if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];
|
||
var constructor = object.constructor;
|
||
if (isCallable(constructor) && object instanceof constructor) {
|
||
return constructor.prototype;
|
||
} return object instanceof $Object ? ObjectPrototype : null;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/object-is-prototype-of.js"
|
||
/*!*******************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/object-is-prototype-of.js ***!
|
||
\*******************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
|
||
|
||
module.exports = uncurryThis({}.isPrototypeOf);
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/object-keys-internal.js"
|
||
/*!*****************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/object-keys-internal.js ***!
|
||
\*****************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
|
||
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
|
||
var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js");
|
||
var indexOf = (__webpack_require__(/*! ../internals/array-includes */ "../node_modules/core-js/internals/array-includes.js").indexOf);
|
||
var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js");
|
||
|
||
var push = uncurryThis([].push);
|
||
|
||
module.exports = function (object, names) {
|
||
var O = toIndexedObject(object);
|
||
var i = 0;
|
||
var result = [];
|
||
var key;
|
||
for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
|
||
// Don't enum bug & hidden keys
|
||
while (names.length > i) if (hasOwn(O, key = names[i++])) {
|
||
~indexOf(result, key) || push(result, key);
|
||
}
|
||
return result;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/object-keys.js"
|
||
/*!********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/object-keys.js ***!
|
||
\********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "../node_modules/core-js/internals/object-keys-internal.js");
|
||
var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "../node_modules/core-js/internals/enum-bug-keys.js");
|
||
|
||
// `Object.keys` method
|
||
// https://tc39.es/ecma262/#sec-object.keys
|
||
// eslint-disable-next-line es/no-object-keys -- safe
|
||
module.exports = Object.keys || function keys(O) {
|
||
return internalObjectKeys(O, enumBugKeys);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/object-property-is-enumerable.js"
|
||
/*!**************************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/object-property-is-enumerable.js ***!
|
||
\**************************************************************************/
|
||
(__unused_webpack_module, exports) {
|
||
|
||
|
||
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
||
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
||
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
||
|
||
// Nashorn ~ JDK8 bug
|
||
var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
||
|
||
// `Object.prototype.propertyIsEnumerable` method implementation
|
||
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
||
exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
||
var descriptor = getOwnPropertyDescriptor(this, V);
|
||
return !!descriptor && descriptor.enumerable;
|
||
} : $propertyIsEnumerable;
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/ordinary-to-primitive.js"
|
||
/*!******************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/ordinary-to-primitive.js ***!
|
||
\******************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
|
||
|
||
var $TypeError = TypeError;
|
||
|
||
// `OrdinaryToPrimitive` abstract operation
|
||
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
||
module.exports = function (input, pref) {
|
||
var fn, val;
|
||
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
||
if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
|
||
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
||
throw new $TypeError("Can't convert object to primitive value");
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/own-keys.js"
|
||
/*!*****************************************************!*\
|
||
!*** ../node_modules/core-js/internals/own-keys.js ***!
|
||
\*****************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js");
|
||
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
|
||
var getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ "../node_modules/core-js/internals/object-get-own-property-names.js");
|
||
var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ "../node_modules/core-js/internals/object-get-own-property-symbols.js");
|
||
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
|
||
|
||
var concat = uncurryThis([].concat);
|
||
|
||
// all object keys, includes non-enumerable and symbols
|
||
module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
||
var keys = getOwnPropertyNamesModule.f(anObject(it));
|
||
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
||
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/require-object-coercible.js"
|
||
/*!*********************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/require-object-coercible.js ***!
|
||
\*********************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "../node_modules/core-js/internals/is-null-or-undefined.js");
|
||
|
||
var $TypeError = TypeError;
|
||
|
||
// `RequireObjectCoercible` abstract operation
|
||
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
||
module.exports = function (it) {
|
||
if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
|
||
return it;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/shared-key.js"
|
||
/*!*******************************************************!*\
|
||
!*** ../node_modules/core-js/internals/shared-key.js ***!
|
||
\*******************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var shared = __webpack_require__(/*! ../internals/shared */ "../node_modules/core-js/internals/shared.js");
|
||
var uid = __webpack_require__(/*! ../internals/uid */ "../node_modules/core-js/internals/uid.js");
|
||
|
||
var keys = shared('keys');
|
||
|
||
module.exports = function (key) {
|
||
return keys[key] || (keys[key] = uid(key));
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/shared-store.js"
|
||
/*!*********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/shared-store.js ***!
|
||
\*********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js");
|
||
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
|
||
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js");
|
||
|
||
var SHARED = '__core-js_shared__';
|
||
var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
|
||
|
||
(store.versions || (store.versions = [])).push({
|
||
version: '3.48.0',
|
||
mode: IS_PURE ? 'pure' : 'global',
|
||
copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
|
||
license: 'https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE',
|
||
source: 'https://github.com/zloirock/core-js'
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/shared.js"
|
||
/*!***************************************************!*\
|
||
!*** ../node_modules/core-js/internals/shared.js ***!
|
||
\***************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var store = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js");
|
||
|
||
module.exports = function (key, value) {
|
||
return store[key] || (store[key] = value || {});
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/symbol-constructor-detection.js"
|
||
/*!*************************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/symbol-constructor-detection.js ***!
|
||
\*************************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
/* eslint-disable es/no-symbol -- required for testing */
|
||
var V8_VERSION = __webpack_require__(/*! ../internals/environment-v8-version */ "../node_modules/core-js/internals/environment-v8-version.js");
|
||
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
|
||
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
|
||
|
||
var $String = globalThis.String;
|
||
|
||
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
||
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
||
var symbol = Symbol('symbol detection');
|
||
// Chrome 38 Symbol has incorrect toString conversion
|
||
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
||
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
||
// of course, fail.
|
||
return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
||
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
||
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/to-absolute-index.js"
|
||
/*!**************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/to-absolute-index.js ***!
|
||
\**************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "../node_modules/core-js/internals/to-integer-or-infinity.js");
|
||
|
||
var max = Math.max;
|
||
var min = Math.min;
|
||
|
||
// Helper for a popular repeating case of the spec:
|
||
// Let integer be ? ToInteger(index).
|
||
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
||
module.exports = function (index, length) {
|
||
var integer = toIntegerOrInfinity(index);
|
||
return integer < 0 ? max(integer + length, 0) : min(integer, length);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/to-indexed-object.js"
|
||
/*!**************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/to-indexed-object.js ***!
|
||
\**************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
// toObject with fallback for non-array-like ES3 strings
|
||
var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "../node_modules/core-js/internals/indexed-object.js");
|
||
var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../node_modules/core-js/internals/require-object-coercible.js");
|
||
|
||
module.exports = function (it) {
|
||
return IndexedObject(requireObjectCoercible(it));
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/to-integer-or-infinity.js"
|
||
/*!*******************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/to-integer-or-infinity.js ***!
|
||
\*******************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var trunc = __webpack_require__(/*! ../internals/math-trunc */ "../node_modules/core-js/internals/math-trunc.js");
|
||
|
||
// `ToIntegerOrInfinity` abstract operation
|
||
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
||
module.exports = function (argument) {
|
||
var number = +argument;
|
||
// eslint-disable-next-line no-self-compare -- NaN check
|
||
return number !== number || number === 0 ? 0 : trunc(number);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/to-length.js"
|
||
/*!******************************************************!*\
|
||
!*** ../node_modules/core-js/internals/to-length.js ***!
|
||
\******************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "../node_modules/core-js/internals/to-integer-or-infinity.js");
|
||
|
||
var min = Math.min;
|
||
|
||
// `ToLength` abstract operation
|
||
// https://tc39.es/ecma262/#sec-tolength
|
||
module.exports = function (argument) {
|
||
var len = toIntegerOrInfinity(argument);
|
||
return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/to-object.js"
|
||
/*!******************************************************!*\
|
||
!*** ../node_modules/core-js/internals/to-object.js ***!
|
||
\******************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../node_modules/core-js/internals/require-object-coercible.js");
|
||
|
||
var $Object = Object;
|
||
|
||
// `ToObject` abstract operation
|
||
// https://tc39.es/ecma262/#sec-toobject
|
||
module.exports = function (argument) {
|
||
return $Object(requireObjectCoercible(argument));
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/to-primitive.js"
|
||
/*!*********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/to-primitive.js ***!
|
||
\*********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
|
||
var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
|
||
var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../node_modules/core-js/internals/is-symbol.js");
|
||
var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js");
|
||
var ordinaryToPrimitive = __webpack_require__(/*! ../internals/ordinary-to-primitive */ "../node_modules/core-js/internals/ordinary-to-primitive.js");
|
||
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
|
||
|
||
var $TypeError = TypeError;
|
||
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
||
|
||
// `ToPrimitive` abstract operation
|
||
// https://tc39.es/ecma262/#sec-toprimitive
|
||
module.exports = function (input, pref) {
|
||
if (!isObject(input) || isSymbol(input)) return input;
|
||
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
||
var result;
|
||
if (exoticToPrim) {
|
||
if (pref === undefined) pref = 'default';
|
||
result = call(exoticToPrim, input, pref);
|
||
if (!isObject(result) || isSymbol(result)) return result;
|
||
throw new $TypeError("Can't convert object to primitive value");
|
||
}
|
||
if (pref === undefined) pref = 'number';
|
||
return ordinaryToPrimitive(input, pref);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/to-property-key.js"
|
||
/*!************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/to-property-key.js ***!
|
||
\************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "../node_modules/core-js/internals/to-primitive.js");
|
||
var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../node_modules/core-js/internals/is-symbol.js");
|
||
|
||
// `ToPropertyKey` abstract operation
|
||
// https://tc39.es/ecma262/#sec-topropertykey
|
||
module.exports = function (argument) {
|
||
var key = toPrimitive(argument, 'string');
|
||
return isSymbol(key) ? key : key + '';
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/to-string-tag-support.js"
|
||
/*!******************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/to-string-tag-support.js ***!
|
||
\******************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
|
||
|
||
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
||
var test = {};
|
||
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
||
test[TO_STRING_TAG] = 'z';
|
||
|
||
module.exports = String(test) === '[object z]';
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/try-to-string.js"
|
||
/*!**********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/try-to-string.js ***!
|
||
\**********************************************************/
|
||
(module) {
|
||
|
||
|
||
var $String = String;
|
||
|
||
module.exports = function (argument) {
|
||
try {
|
||
return $String(argument);
|
||
} catch (error) {
|
||
return 'Object';
|
||
}
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/uid.js"
|
||
/*!************************************************!*\
|
||
!*** ../node_modules/core-js/internals/uid.js ***!
|
||
\************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
|
||
|
||
var id = 0;
|
||
var postfix = Math.random();
|
||
var toString = uncurryThis(1.1.toString);
|
||
|
||
module.exports = function (key) {
|
||
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/use-symbol-as-uid.js"
|
||
/*!**************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/use-symbol-as-uid.js ***!
|
||
\**************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
/* eslint-disable es/no-symbol -- required for testing */
|
||
var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "../node_modules/core-js/internals/symbol-constructor-detection.js");
|
||
|
||
module.exports = NATIVE_SYMBOL &&
|
||
!Symbol.sham &&
|
||
typeof Symbol.iterator == 'symbol';
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/v8-prototype-define-bug.js"
|
||
/*!********************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/v8-prototype-define-bug.js ***!
|
||
\********************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
|
||
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
|
||
|
||
// V8 ~ Chrome 36-
|
||
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
||
module.exports = DESCRIPTORS && fails(function () {
|
||
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
||
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
||
value: 42,
|
||
writable: false
|
||
}).prototype !== 42;
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/weak-map-basic-detection.js"
|
||
/*!*********************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/weak-map-basic-detection.js ***!
|
||
\*********************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
|
||
var WeakMap = globalThis.WeakMap;
|
||
|
||
module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/well-known-symbol.js"
|
||
/*!**************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/well-known-symbol.js ***!
|
||
\**************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
|
||
var shared = __webpack_require__(/*! ../internals/shared */ "../node_modules/core-js/internals/shared.js");
|
||
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
|
||
var uid = __webpack_require__(/*! ../internals/uid */ "../node_modules/core-js/internals/uid.js");
|
||
var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "../node_modules/core-js/internals/symbol-constructor-detection.js");
|
||
var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../node_modules/core-js/internals/use-symbol-as-uid.js");
|
||
|
||
var Symbol = globalThis.Symbol;
|
||
var WellKnownSymbolsStore = shared('wks');
|
||
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;
|
||
|
||
module.exports = function (name) {
|
||
if (!hasOwn(WellKnownSymbolsStore, name)) {
|
||
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)
|
||
? Symbol[name]
|
||
: createWellKnownSymbol('Symbol.' + name);
|
||
} return WellKnownSymbolsStore[name];
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/modules/es.array.push.js"
|
||
/*!********************************************************!*\
|
||
!*** ../node_modules/core-js/modules/es.array.push.js ***!
|
||
\********************************************************/
|
||
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js");
|
||
var toObject = __webpack_require__(/*! ../internals/to-object */ "../node_modules/core-js/internals/to-object.js");
|
||
var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "../node_modules/core-js/internals/length-of-array-like.js");
|
||
var setArrayLength = __webpack_require__(/*! ../internals/array-set-length */ "../node_modules/core-js/internals/array-set-length.js");
|
||
var doesNotExceedSafeInteger = __webpack_require__(/*! ../internals/does-not-exceed-safe-integer */ "../node_modules/core-js/internals/does-not-exceed-safe-integer.js");
|
||
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
|
||
|
||
var INCORRECT_TO_LENGTH = fails(function () {
|
||
return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
|
||
});
|
||
|
||
// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
|
||
// https://bugs.chromium.org/p/v8/issues/detail?id=12681
|
||
var properErrorOnNonWritableLength = function () {
|
||
try {
|
||
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
||
Object.defineProperty([], 'length', { writable: false }).push();
|
||
} catch (error) {
|
||
return error instanceof TypeError;
|
||
}
|
||
};
|
||
|
||
var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
|
||
|
||
// `Array.prototype.push` method
|
||
// https://tc39.es/ecma262/#sec-array.prototype.push
|
||
$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
||
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
||
push: function push(item) {
|
||
var O = toObject(this);
|
||
var len = lengthOfArrayLike(O);
|
||
var argCount = arguments.length;
|
||
doesNotExceedSafeInteger(len + argCount);
|
||
for (var i = 0; i < argCount; i++) {
|
||
O[len] = arguments[i];
|
||
len++;
|
||
}
|
||
setArrayLength(O, len);
|
||
return len;
|
||
}
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/modules/es.iterator.constructor.js"
|
||
/*!******************************************************************!*\
|
||
!*** ../node_modules/core-js/modules/es.iterator.constructor.js ***!
|
||
\******************************************************************/
|
||
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js");
|
||
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
|
||
var anInstance = __webpack_require__(/*! ../internals/an-instance */ "../node_modules/core-js/internals/an-instance.js");
|
||
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "../node_modules/core-js/internals/object-get-prototype-of.js");
|
||
var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "../node_modules/core-js/internals/define-built-in-accessor.js");
|
||
var createProperty = __webpack_require__(/*! ../internals/create-property */ "../node_modules/core-js/internals/create-property.js");
|
||
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
|
||
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
|
||
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
|
||
var IteratorPrototype = (__webpack_require__(/*! ../internals/iterators-core */ "../node_modules/core-js/internals/iterators-core.js").IteratorPrototype);
|
||
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
|
||
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js");
|
||
|
||
var CONSTRUCTOR = 'constructor';
|
||
var ITERATOR = 'Iterator';
|
||
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
||
|
||
var $TypeError = TypeError;
|
||
var NativeIterator = globalThis[ITERATOR];
|
||
|
||
// FF56- have non-standard global helper `Iterator`
|
||
var FORCED = IS_PURE
|
||
|| !isCallable(NativeIterator)
|
||
|| NativeIterator.prototype !== IteratorPrototype
|
||
// FF44- non-standard `Iterator` passes previous tests
|
||
|| !fails(function () { NativeIterator({}); });
|
||
|
||
var IteratorConstructor = function Iterator() {
|
||
anInstance(this, IteratorPrototype);
|
||
if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable');
|
||
};
|
||
|
||
var defineIteratorPrototypeAccessor = function (key, value) {
|
||
if (DESCRIPTORS) {
|
||
defineBuiltInAccessor(IteratorPrototype, key, {
|
||
configurable: true,
|
||
get: function () {
|
||
return value;
|
||
},
|
||
set: function (replacement) {
|
||
anObject(this);
|
||
if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property");
|
||
if (hasOwn(this, key)) this[key] = replacement;
|
||
else createProperty(this, key, replacement);
|
||
}
|
||
});
|
||
} else IteratorPrototype[key] = value;
|
||
};
|
||
|
||
if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR);
|
||
|
||
if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {
|
||
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
||
}
|
||
|
||
IteratorConstructor.prototype = IteratorPrototype;
|
||
|
||
// `Iterator` constructor
|
||
// https://tc39.es/ecma262/#sec-iterator
|
||
$({ global: true, constructor: true, forced: FORCED }, {
|
||
Iterator: IteratorConstructor
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/modules/es.iterator.filter.js"
|
||
/*!*************************************************************!*\
|
||
!*** ../node_modules/core-js/modules/es.iterator.filter.js ***!
|
||
\*************************************************************/
|
||
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js");
|
||
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
|
||
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
|
||
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
|
||
var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js");
|
||
var createIteratorProxy = __webpack_require__(/*! ../internals/iterator-create-proxy */ "../node_modules/core-js/internals/iterator-create-proxy.js");
|
||
var callWithSafeIterationClosing = __webpack_require__(/*! ../internals/call-with-safe-iteration-closing */ "../node_modules/core-js/internals/call-with-safe-iteration-closing.js");
|
||
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js");
|
||
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js");
|
||
var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(/*! ../internals/iterator-helper-throws-on-invalid-iterator */ "../node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js");
|
||
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");
|
||
|
||
var FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('filter', function () { /* empty */ });
|
||
var filterWithoutClosingOnEarlyError = !IS_PURE && !FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR
|
||
&& iteratorHelperWithoutClosingOnEarlyError('filter', TypeError);
|
||
|
||
var FORCED = IS_PURE || FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR || filterWithoutClosingOnEarlyError;
|
||
|
||
var IteratorProxy = createIteratorProxy(function () {
|
||
var iterator = this.iterator;
|
||
var predicate = this.predicate;
|
||
var next = this.next;
|
||
var result, done, value;
|
||
while (true) {
|
||
result = anObject(call(next, iterator));
|
||
done = this.done = !!result.done;
|
||
if (done) return;
|
||
value = result.value;
|
||
if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value;
|
||
}
|
||
});
|
||
|
||
// `Iterator.prototype.filter` method
|
||
// https://tc39.es/ecma262/#sec-iterator.prototype.filter
|
||
$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
|
||
filter: function filter(predicate) {
|
||
anObject(this);
|
||
try {
|
||
aCallable(predicate);
|
||
} catch (error) {
|
||
iteratorClose(this, 'throw', error);
|
||
}
|
||
|
||
if (filterWithoutClosingOnEarlyError) return call(filterWithoutClosingOnEarlyError, this, predicate);
|
||
|
||
return new IteratorProxy(getIteratorDirect(this), {
|
||
predicate: predicate
|
||
});
|
||
}
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/modules/es.iterator.find.js"
|
||
/*!***********************************************************!*\
|
||
!*** ../node_modules/core-js/modules/es.iterator.find.js ***!
|
||
\***********************************************************/
|
||
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js");
|
||
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
|
||
var iterate = __webpack_require__(/*! ../internals/iterate */ "../node_modules/core-js/internals/iterate.js");
|
||
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
|
||
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
|
||
var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js");
|
||
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js");
|
||
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");
|
||
|
||
var findWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('find', TypeError);
|
||
|
||
// `Iterator.prototype.find` method
|
||
// https://tc39.es/ecma262/#sec-iterator.prototype.find
|
||
$({ target: 'Iterator', proto: true, real: true, forced: findWithoutClosingOnEarlyError }, {
|
||
find: function find(predicate) {
|
||
anObject(this);
|
||
try {
|
||
aCallable(predicate);
|
||
} catch (error) {
|
||
iteratorClose(this, 'throw', error);
|
||
}
|
||
|
||
if (findWithoutClosingOnEarlyError) return call(findWithoutClosingOnEarlyError, this, predicate);
|
||
|
||
var record = getIteratorDirect(this);
|
||
var counter = 0;
|
||
return iterate(record, function (value, stop) {
|
||
if (predicate(value, counter++)) return stop(value);
|
||
}, { IS_RECORD: true, INTERRUPTED: true }).result;
|
||
}
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/modules/es.iterator.for-each.js"
|
||
/*!***************************************************************!*\
|
||
!*** ../node_modules/core-js/modules/es.iterator.for-each.js ***!
|
||
\***************************************************************/
|
||
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js");
|
||
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
|
||
var iterate = __webpack_require__(/*! ../internals/iterate */ "../node_modules/core-js/internals/iterate.js");
|
||
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
|
||
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
|
||
var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js");
|
||
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js");
|
||
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");
|
||
|
||
var forEachWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('forEach', TypeError);
|
||
|
||
// `Iterator.prototype.forEach` method
|
||
// https://tc39.es/ecma262/#sec-iterator.prototype.foreach
|
||
$({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosingOnEarlyError }, {
|
||
forEach: function forEach(fn) {
|
||
anObject(this);
|
||
try {
|
||
aCallable(fn);
|
||
} catch (error) {
|
||
iteratorClose(this, 'throw', error);
|
||
}
|
||
|
||
if (forEachWithoutClosingOnEarlyError) return call(forEachWithoutClosingOnEarlyError, this, fn);
|
||
|
||
var record = getIteratorDirect(this);
|
||
var counter = 0;
|
||
iterate(record, function (value) {
|
||
fn(value, counter++);
|
||
}, { IS_RECORD: true });
|
||
}
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/modules/es.iterator.map.js"
|
||
/*!**********************************************************!*\
|
||
!*** ../node_modules/core-js/modules/es.iterator.map.js ***!
|
||
\**********************************************************/
|
||
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js");
|
||
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
|
||
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
|
||
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
|
||
var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js");
|
||
var createIteratorProxy = __webpack_require__(/*! ../internals/iterator-create-proxy */ "../node_modules/core-js/internals/iterator-create-proxy.js");
|
||
var callWithSafeIterationClosing = __webpack_require__(/*! ../internals/call-with-safe-iteration-closing */ "../node_modules/core-js/internals/call-with-safe-iteration-closing.js");
|
||
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js");
|
||
var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(/*! ../internals/iterator-helper-throws-on-invalid-iterator */ "../node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js");
|
||
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");
|
||
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js");
|
||
|
||
var MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('map', function () { /* empty */ });
|
||
var mapWithoutClosingOnEarlyError = !IS_PURE && !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR
|
||
&& iteratorHelperWithoutClosingOnEarlyError('map', TypeError);
|
||
|
||
var FORCED = IS_PURE || MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError;
|
||
|
||
var IteratorProxy = createIteratorProxy(function () {
|
||
var iterator = this.iterator;
|
||
var result = anObject(call(this.next, iterator));
|
||
var done = this.done = !!result.done;
|
||
if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
|
||
});
|
||
|
||
// `Iterator.prototype.map` method
|
||
// https://tc39.es/ecma262/#sec-iterator.prototype.map
|
||
$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
|
||
map: function map(mapper) {
|
||
anObject(this);
|
||
try {
|
||
aCallable(mapper);
|
||
} catch (error) {
|
||
iteratorClose(this, 'throw', error);
|
||
}
|
||
|
||
if (mapWithoutClosingOnEarlyError) return call(mapWithoutClosingOnEarlyError, this, mapper);
|
||
|
||
return new IteratorProxy(getIteratorDirect(this), {
|
||
mapper: mapper
|
||
});
|
||
}
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/modules/es.iterator.reduce.js"
|
||
/*!*************************************************************!*\
|
||
!*** ../node_modules/core-js/modules/es.iterator.reduce.js ***!
|
||
\*************************************************************/
|
||
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js");
|
||
var iterate = __webpack_require__(/*! ../internals/iterate */ "../node_modules/core-js/internals/iterate.js");
|
||
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
|
||
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
|
||
var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js");
|
||
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js");
|
||
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");
|
||
var apply = __webpack_require__(/*! ../internals/function-apply */ "../node_modules/core-js/internals/function-apply.js");
|
||
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
|
||
|
||
var $TypeError = TypeError;
|
||
|
||
// https://bugs.webkit.org/show_bug.cgi?id=291651
|
||
var FAILS_ON_INITIAL_UNDEFINED = fails(function () {
|
||
// eslint-disable-next-line es/no-iterator-prototype-reduce, es/no-array-prototype-keys, array-callback-return -- required for testing
|
||
[].keys().reduce(function () { /* empty */ }, undefined);
|
||
});
|
||
|
||
var reduceWithoutClosingOnEarlyError = !FAILS_ON_INITIAL_UNDEFINED && iteratorHelperWithoutClosingOnEarlyError('reduce', $TypeError);
|
||
|
||
// `Iterator.prototype.reduce` method
|
||
// https://tc39.es/ecma262/#sec-iterator.prototype.reduce
|
||
$({ target: 'Iterator', proto: true, real: true, forced: FAILS_ON_INITIAL_UNDEFINED || reduceWithoutClosingOnEarlyError }, {
|
||
reduce: function reduce(reducer /* , initialValue */) {
|
||
anObject(this);
|
||
try {
|
||
aCallable(reducer);
|
||
} catch (error) {
|
||
iteratorClose(this, 'throw', error);
|
||
}
|
||
|
||
var noInitial = arguments.length < 2;
|
||
var accumulator = noInitial ? undefined : arguments[1];
|
||
if (reduceWithoutClosingOnEarlyError) {
|
||
return apply(reduceWithoutClosingOnEarlyError, this, noInitial ? [reducer] : [reducer, accumulator]);
|
||
}
|
||
var record = getIteratorDirect(this);
|
||
var counter = 0;
|
||
iterate(record, function (value) {
|
||
if (noInitial) {
|
||
noInitial = false;
|
||
accumulator = value;
|
||
} else {
|
||
accumulator = reducer(accumulator, value, counter);
|
||
}
|
||
counter++;
|
||
}, { IS_RECORD: true });
|
||
if (noInitial) throw new $TypeError('Reduce of empty iterator with no initial value');
|
||
return accumulator;
|
||
}
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/modules/esnext.iterator.constructor.js"
|
||
/*!**********************************************************************!*\
|
||
!*** ../node_modules/core-js/modules/esnext.iterator.constructor.js ***!
|
||
\**********************************************************************/
|
||
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
// TODO: Remove from `core-js@4`
|
||
__webpack_require__(/*! ../modules/es.iterator.constructor */ "../node_modules/core-js/modules/es.iterator.constructor.js");
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/modules/esnext.iterator.filter.js"
|
||
/*!*****************************************************************!*\
|
||
!*** ../node_modules/core-js/modules/esnext.iterator.filter.js ***!
|
||
\*****************************************************************/
|
||
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
// TODO: Remove from `core-js@4`
|
||
__webpack_require__(/*! ../modules/es.iterator.filter */ "../node_modules/core-js/modules/es.iterator.filter.js");
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/modules/esnext.iterator.find.js"
|
||
/*!***************************************************************!*\
|
||
!*** ../node_modules/core-js/modules/esnext.iterator.find.js ***!
|
||
\***************************************************************/
|
||
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
// TODO: Remove from `core-js@4`
|
||
__webpack_require__(/*! ../modules/es.iterator.find */ "../node_modules/core-js/modules/es.iterator.find.js");
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/modules/esnext.iterator.for-each.js"
|
||
/*!*******************************************************************!*\
|
||
!*** ../node_modules/core-js/modules/esnext.iterator.for-each.js ***!
|
||
\*******************************************************************/
|
||
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
// TODO: Remove from `core-js@4`
|
||
__webpack_require__(/*! ../modules/es.iterator.for-each */ "../node_modules/core-js/modules/es.iterator.for-each.js");
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/modules/esnext.iterator.map.js"
|
||
/*!**************************************************************!*\
|
||
!*** ../node_modules/core-js/modules/esnext.iterator.map.js ***!
|
||
\**************************************************************/
|
||
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
// TODO: Remove from `core-js@4`
|
||
__webpack_require__(/*! ../modules/es.iterator.map */ "../node_modules/core-js/modules/es.iterator.map.js");
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/modules/esnext.iterator.reduce.js"
|
||
/*!*****************************************************************!*\
|
||
!*** ../node_modules/core-js/modules/esnext.iterator.reduce.js ***!
|
||
\*****************************************************************/
|
||
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
|
||
// TODO: Remove from `core-js@4`
|
||
__webpack_require__(/*! ../modules/es.iterator.reduce */ "../node_modules/core-js/modules/es.iterator.reduce.js");
|
||
|
||
|
||
/***/ }
|
||
|
||
/******/ });
|
||
/************************************************************************/
|
||
/******/ // The module cache
|
||
/******/ var __webpack_module_cache__ = {};
|
||
/******/
|
||
/******/ // The require function
|
||
/******/ function __webpack_require__(moduleId) {
|
||
/******/ // Check if module is in cache
|
||
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
||
/******/ if (cachedModule !== undefined) {
|
||
/******/ return cachedModule.exports;
|
||
/******/ }
|
||
/******/ // Create a new module (and put it into the cache)
|
||
/******/ var module = __webpack_module_cache__[moduleId] = {
|
||
/******/ // no module.id needed
|
||
/******/ // no module.loaded needed
|
||
/******/ exports: {}
|
||
/******/ };
|
||
/******/
|
||
/******/ // Execute the module function
|
||
/******/ if (!(moduleId in __webpack_modules__)) {
|
||
/******/ delete __webpack_module_cache__[moduleId];
|
||
/******/ var e = new Error("Cannot find module '" + moduleId + "'");
|
||
/******/ e.code = 'MODULE_NOT_FOUND';
|
||
/******/ throw e;
|
||
/******/ }
|
||
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
||
/******/
|
||
/******/ // Return the exports of the module
|
||
/******/ return module.exports;
|
||
/******/ }
|
||
/******/
|
||
/************************************************************************/
|
||
/******/ /* webpack/runtime/global */
|
||
/******/ (() => {
|
||
/******/ __webpack_require__.g = (function() {
|
||
/******/ if (typeof globalThis === 'object') return globalThis;
|
||
/******/ try {
|
||
/******/ return this || new Function('return this')();
|
||
/******/ } catch (e) {
|
||
/******/ if (typeof window === 'object') return window;
|
||
/******/ }
|
||
/******/ })();
|
||
/******/ })();
|
||
/******/
|
||
/************************************************************************/
|
||
var __webpack_exports__ = {};
|
||
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
|
||
(() => {
|
||
/*!********************************************************************!*\
|
||
!*** ../modules/interactions/assets/js/editor-interactions-pro.js ***!
|
||
\********************************************************************/
|
||
|
||
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.filter.js */ "../node_modules/core-js/modules/esnext.iterator.filter.js");
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js");
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.map.js */ "../node_modules/core-js/modules/esnext.iterator.map.js");
|
||
var _interactionsUtils = __webpack_require__(/*! ./interactions-utils.js */ "../modules/interactions/assets/js/interactions-utils.js");
|
||
/**
|
||
* @type {Record<string, Promise<void> & { cancel: () => void }>}
|
||
*/
|
||
const playingInteractionsToStop = {};
|
||
const MAX_REPEAT_COUNT_EDITOR = 3;
|
||
function applyAnimation(element, animConfig, animateFunc) {
|
||
const {
|
||
id
|
||
} = element;
|
||
if (playingInteractionsToStop[id]) {
|
||
playingInteractionsToStop[id].cancel();
|
||
delete playingInteractionsToStop[id];
|
||
}
|
||
const keyframes = (0, _interactionsUtils.animationKeyframes)(animConfig);
|
||
const isScrollOn = 'scrollOn' === animConfig.trigger;
|
||
const repeatOptions = isScrollOn ? {} : (0, _interactionsUtils.getAnimationRepeatOptions)(animConfig.animation);
|
||
if (repeatOptions.repeat === Infinity) {
|
||
repeatOptions.repeat = MAX_REPEAT_COUNT_EDITOR;
|
||
}
|
||
const options = {
|
||
duration: animConfig.animation.timing.duration * .001,
|
||
delay: animConfig.animation.timing.delay * .001,
|
||
ease: animConfig.animation.easing ?? (0, _interactionsUtils.config)()?.defaultEasing,
|
||
...repeatOptions
|
||
};
|
||
const initialKeyframes = {};
|
||
Object.keys(keyframes).forEach(key => {
|
||
initialKeyframes[key] = keyframes[key][0];
|
||
});
|
||
|
||
// WHY - Transition can be set on elements but once it sets it destroys all animations, so we basically put it aside.
|
||
element.style.transition = 'initial';
|
||
animateFunc(element, initialKeyframes, {
|
||
duration: 0
|
||
}).then(() => {
|
||
const animation = animateFunc(element, keyframes, options);
|
||
playingInteractionsToStop[id] = animation;
|
||
animation.then(() => {
|
||
requestAnimationFrame(() => {
|
||
element.style.transition = '';
|
||
element.style.transform = '';
|
||
element.style.opacity = '';
|
||
});
|
||
delete playingInteractionsToStop[id];
|
||
});
|
||
});
|
||
}
|
||
function getInteractionsData() {
|
||
const scriptTag = document.querySelector('script[data-e-interactions="true"]');
|
||
if (!scriptTag) {
|
||
return [];
|
||
}
|
||
try {
|
||
return JSON.parse(scriptTag.textContent || '[]');
|
||
} catch {
|
||
return [];
|
||
}
|
||
}
|
||
function findElementByInteractionId(interactionId) {
|
||
return document.querySelector('[data-interaction-id="' + interactionId + '"]');
|
||
}
|
||
function applyInteractionsToElement(element, interactionsData) {
|
||
const animateFunc = (0, _interactionsUtils.getAnimateFunction)();
|
||
if (!animateFunc) {
|
||
return;
|
||
}
|
||
const parsedData = (0, _interactionsUtils.parseInteractionsData)(interactionsData);
|
||
if (!parsedData) {
|
||
return;
|
||
}
|
||
const interactions = Object.values(parsedData?.items || []);
|
||
interactions.forEach(interaction => {
|
||
const animConfig = (0, _interactionsUtils.extractAnimationConfig)(interaction);
|
||
if (animConfig) {
|
||
applyAnimation(element, animConfig, animateFunc);
|
||
}
|
||
});
|
||
}
|
||
let previousInteractionsData = [];
|
||
function handleInteractionsUpdate() {
|
||
const currentInteractionsData = getInteractionsData();
|
||
const changedItems = currentInteractionsData.filter(currentItem => {
|
||
const previousItem = previousInteractionsData.find(prev => prev.dataId === currentItem.dataId);
|
||
if (!previousItem) {
|
||
return true;
|
||
}
|
||
const currentIds = (currentItem.interactions?.items || []).map(_interactionsUtils.extractInteractionId).filter(Boolean).sort().join(',');
|
||
const prevIds = (previousItem.interactions?.items || []).map(_interactionsUtils.extractInteractionId).filter(Boolean).sort().join(',');
|
||
return currentIds !== prevIds;
|
||
});
|
||
changedItems.forEach(item => {
|
||
const element = findElementByInteractionId(item.dataId);
|
||
const prevInteractions = previousInteractionsData.find(prev => prev.dataId === item.dataId)?.interactions;
|
||
if (!element || !item.interactions?.items?.length) {
|
||
return;
|
||
}
|
||
const prevIds = new Set((prevInteractions?.items || []).map(_interactionsUtils.extractInteractionId).filter(Boolean));
|
||
const changedInteractions = item.interactions.items.filter(interaction => {
|
||
const id = (0, _interactionsUtils.extractInteractionId)(interaction);
|
||
return !id || !prevIds.has(id);
|
||
});
|
||
if (changedInteractions.length > 0) {
|
||
applyInteractionsToElement(element, {
|
||
...item.interactions,
|
||
items: changedInteractions
|
||
});
|
||
}
|
||
});
|
||
previousInteractionsData = currentInteractionsData;
|
||
}
|
||
function initEditorInteractionsHandler() {
|
||
(0, _interactionsUtils.waitForAnimateFunction)(() => {
|
||
const head = document.head;
|
||
let scriptTag = null;
|
||
let observer = null;
|
||
function setupObserver(tag) {
|
||
if (observer) {
|
||
observer.disconnect();
|
||
}
|
||
observer = new MutationObserver(() => {
|
||
handleInteractionsUpdate();
|
||
});
|
||
observer.observe(tag, {
|
||
childList: true,
|
||
characterData: true,
|
||
subtree: true
|
||
});
|
||
handleInteractionsUpdate();
|
||
registerWindowEvents();
|
||
}
|
||
const headObserver = new MutationObserver(() => {
|
||
const foundScriptTag = document.querySelector('script[data-e-interactions="true"]');
|
||
if (foundScriptTag && foundScriptTag !== scriptTag) {
|
||
scriptTag = foundScriptTag;
|
||
setupObserver(scriptTag);
|
||
headObserver.disconnect();
|
||
}
|
||
});
|
||
headObserver.observe(head, {
|
||
childList: true,
|
||
subtree: true
|
||
});
|
||
scriptTag = document.querySelector('script[data-e-interactions="true"]');
|
||
if (scriptTag) {
|
||
setupObserver(scriptTag);
|
||
headObserver.disconnect();
|
||
}
|
||
});
|
||
}
|
||
function registerWindowEvents() {
|
||
window.top.addEventListener('atomic/play_interactions', handlePlayInteractions);
|
||
}
|
||
function handlePlayInteractions(event) {
|
||
const {
|
||
elementId,
|
||
interactionId
|
||
} = event.detail;
|
||
const interactionsData = getInteractionsData();
|
||
const item = interactionsData.find(elementItemData => elementItemData.dataId === elementId);
|
||
if (!item) {
|
||
return;
|
||
}
|
||
const element = findElementByInteractionId(elementId);
|
||
if (!element) {
|
||
return;
|
||
}
|
||
const interactionsCopy = {
|
||
...item.interactions,
|
||
items: item.interactions.items.filter(interactionItem => {
|
||
const itemId = (0, _interactionsUtils.extractInteractionId)(interactionItem);
|
||
return itemId === interactionId;
|
||
})
|
||
};
|
||
applyInteractionsToElement(element, interactionsCopy);
|
||
}
|
||
if ('loading' === document.readyState) {
|
||
document.addEventListener('DOMContentLoaded', initEditorInteractionsHandler);
|
||
} else {
|
||
initEditorInteractionsHandler();
|
||
}
|
||
})();
|
||
|
||
/******/ })()
|
||
;
|
||
//# sourceMappingURL=editor-interactions-pro.js.map
|