939 lines
41 KiB
JavaScript
939 lines
41 KiB
JavaScript
|
"use strict";
|
||
|
(self["webpackChunk_woocommerce_storybook"] = self["webpackChunk_woocommerce_storybook"] || []).push([[9391],{
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||
|
/* harmony export */ A: () => (/* binding */ _arrayLikeToArray)
|
||
|
/* harmony export */ });
|
||
|
function _arrayLikeToArray(arr, len) {
|
||
|
if (len == null || len > arr.length) len = arr.length;
|
||
|
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
||
|
return arr2;
|
||
|
}
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||
|
/* harmony export */ A: () => (/* binding */ _arrayWithHoles)
|
||
|
/* harmony export */ });
|
||
|
function _arrayWithHoles(arr) {
|
||
|
if (Array.isArray(arr)) return arr;
|
||
|
}
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||
|
/* harmony export */ A: () => (/* binding */ _defineProperty)
|
||
|
/* harmony export */ });
|
||
|
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
|
||
|
|
||
|
function _defineProperty(obj, key, value) {
|
||
|
key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(key);
|
||
|
if (key in obj) {
|
||
|
Object.defineProperty(obj, key, {
|
||
|
value: value,
|
||
|
enumerable: true,
|
||
|
configurable: true,
|
||
|
writable: true
|
||
|
});
|
||
|
} else {
|
||
|
obj[key] = value;
|
||
|
}
|
||
|
return obj;
|
||
|
}
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||
|
/* harmony export */ A: () => (/* binding */ _nonIterableRest)
|
||
|
/* harmony export */ });
|
||
|
function _nonIterableRest() {
|
||
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
||
|
}
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
// EXPORTS
|
||
|
__webpack_require__.d(__webpack_exports__, {
|
||
|
A: () => (/* binding */ _objectWithoutProperties)
|
||
|
});
|
||
|
|
||
|
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
||
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
||
|
if (source == null) return {};
|
||
|
var target = {};
|
||
|
var sourceKeys = Object.keys(source);
|
||
|
var key, i;
|
||
|
for (i = 0; i < sourceKeys.length; i++) {
|
||
|
key = sourceKeys[i];
|
||
|
if (excluded.indexOf(key) >= 0) continue;
|
||
|
target[key] = source[key];
|
||
|
}
|
||
|
return target;
|
||
|
}
|
||
|
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
||
|
|
||
|
function _objectWithoutProperties(source, excluded) {
|
||
|
if (source == null) return {};
|
||
|
var target = _objectWithoutPropertiesLoose(source, excluded);
|
||
|
var key, i;
|
||
|
if (Object.getOwnPropertySymbols) {
|
||
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
||
|
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
||
|
key = sourceSymbolKeys[i];
|
||
|
if (excluded.indexOf(key) >= 0) continue;
|
||
|
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
||
|
target[key] = source[key];
|
||
|
}
|
||
|
}
|
||
|
return target;
|
||
|
}
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/slicedToArray.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
// EXPORTS
|
||
|
__webpack_require__.d(__webpack_exports__, {
|
||
|
A: () => (/* binding */ _slicedToArray)
|
||
|
});
|
||
|
|
||
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
||
|
var arrayWithHoles = __webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js");
|
||
|
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
||
|
function _iterableToArrayLimit(r, l) {
|
||
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
||
|
if (null != t) {
|
||
|
var e,
|
||
|
n,
|
||
|
i,
|
||
|
u,
|
||
|
a = [],
|
||
|
f = !0,
|
||
|
o = !1;
|
||
|
try {
|
||
|
if (i = (t = t.call(r)).next, 0 === l) {
|
||
|
if (Object(t) !== t) return;
|
||
|
f = !1;
|
||
|
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
||
|
} catch (r) {
|
||
|
o = !0, n = r;
|
||
|
} finally {
|
||
|
try {
|
||
|
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
||
|
} finally {
|
||
|
if (o) throw n;
|
||
|
}
|
||
|
}
|
||
|
return a;
|
||
|
}
|
||
|
}
|
||
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||
|
var unsupportedIterableToArray = __webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js");
|
||
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||
|
var nonIterableRest = __webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");
|
||
|
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
function _slicedToArray(arr, i) {
|
||
|
return (0,arrayWithHoles/* default */.A)(arr) || _iterableToArrayLimit(arr, i) || (0,unsupportedIterableToArray/* default */.A)(arr, i) || (0,nonIterableRest/* default */.A)();
|
||
|
}
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
// EXPORTS
|
||
|
__webpack_require__.d(__webpack_exports__, {
|
||
|
A: () => (/* binding */ _toPropertyKey)
|
||
|
});
|
||
|
|
||
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/typeof.js
|
||
|
var esm_typeof = __webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
||
|
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
||
|
|
||
|
function _toPrimitive(input, hint) {
|
||
|
if ((0,esm_typeof/* default */.A)(input) !== "object" || input === null) return input;
|
||
|
var prim = input[Symbol.toPrimitive];
|
||
|
if (prim !== undefined) {
|
||
|
var res = prim.call(input, hint || "default");
|
||
|
if ((0,esm_typeof/* default */.A)(res) !== "object") return res;
|
||
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
||
|
}
|
||
|
return (hint === "string" ? String : Number)(input);
|
||
|
}
|
||
|
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
||
|
|
||
|
|
||
|
function _toPropertyKey(arg) {
|
||
|
var key = _toPrimitive(arg, "string");
|
||
|
return (0,esm_typeof/* default */.A)(key) === "symbol" ? key : String(key);
|
||
|
}
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/typeof.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||
|
/* harmony export */ A: () => (/* binding */ _typeof)
|
||
|
/* harmony export */ });
|
||
|
function _typeof(o) {
|
||
|
"@babel/helpers - typeof";
|
||
|
|
||
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
||
|
return typeof o;
|
||
|
} : function (o) {
|
||
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
||
|
}, _typeof(o);
|
||
|
}
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||
|
/* harmony export */ A: () => (/* binding */ _unsupportedIterableToArray)
|
||
|
/* harmony export */ });
|
||
|
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");
|
||
|
|
||
|
function _unsupportedIterableToArray(o, minLen) {
|
||
|
if (!o) return;
|
||
|
if (typeof o === "string") return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(o, minLen);
|
||
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
||
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
||
|
if (n === "Map" || n === "Set") return Array.from(o);
|
||
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(o, minLen);
|
||
|
}
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@wordpress+compose@5.4.1_react@17.0.2/node_modules/@wordpress/compose/build-module/higher-order/with-instance-id/index.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
// EXPORTS
|
||
|
__webpack_require__.d(__webpack_exports__, {
|
||
|
A: () => (/* binding */ with_instance_id)
|
||
|
});
|
||
|
|
||
|
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.6/node_modules/@babel/runtime/helpers/esm/extends.js
|
||
|
function _extends() {
|
||
|
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
||
|
for (var i = 1; i < arguments.length; i++) {
|
||
|
var source = arguments[i];
|
||
|
for (var key in source) {
|
||
|
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
||
|
target[key] = source[key];
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
return target;
|
||
|
};
|
||
|
return _extends.apply(this, arguments);
|
||
|
}
|
||
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/react@18.3.1/node_modules/react/index.js
|
||
|
var react = __webpack_require__("../../node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
|
||
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/@wordpress+compose@5.4.1_react@17.0.2/node_modules/@wordpress/compose/build-module/utils/create-higher-order-component/index.js
|
||
|
var create_higher_order_component = __webpack_require__("../../node_modules/.pnpm/@wordpress+compose@5.4.1_react@17.0.2/node_modules/@wordpress/compose/build-module/utils/create-higher-order-component/index.js");
|
||
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/@wordpress+compose@5.4.1_react@17.0.2/node_modules/@wordpress/compose/build-module/hooks/use-instance-id/index.js
|
||
|
var use_instance_id = __webpack_require__("../../node_modules/.pnpm/@wordpress+compose@5.4.1_react@17.0.2/node_modules/@wordpress/compose/build-module/hooks/use-instance-id/index.js");
|
||
|
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@wordpress+compose@5.4.1_react@17.0.2/node_modules/@wordpress/compose/build-module/higher-order/with-instance-id/index.js
|
||
|
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Internal dependencies
|
||
|
*/
|
||
|
|
||
|
|
||
|
/**
|
||
|
* A Higher Order Component used to be provide a unique instance ID by
|
||
|
* component.
|
||
|
*/
|
||
|
|
||
|
const withInstanceId = (0,create_higher_order_component/* default */.A)(WrappedComponent => {
|
||
|
return props => {
|
||
|
const instanceId = (0,use_instance_id/* default */.A)(WrappedComponent); // @ts-ignore
|
||
|
|
||
|
return (0,react.createElement)(WrappedComponent, _extends({}, props, {
|
||
|
instanceId: instanceId
|
||
|
}));
|
||
|
};
|
||
|
}, 'withInstanceId');
|
||
|
/* harmony default export */ const with_instance_id = (withInstanceId);
|
||
|
//# sourceMappingURL=index.js.map
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@wordpress+compose@5.4.1_react@17.0.2/node_modules/@wordpress/compose/build-module/utils/create-higher-order-component/index.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
||
|
/* harmony export */ });
|
||
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js");
|
||
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
|
||
|
/**
|
||
|
* External dependencies
|
||
|
*/
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Given a function mapping a component to an enhanced component and modifier
|
||
|
* name, returns the enhanced component augmented with a generated displayName.
|
||
|
*
|
||
|
* @param mapComponent Function mapping component to enhanced component.
|
||
|
* @param modifierName Seed name from which to generated display name.
|
||
|
*
|
||
|
* @return Component class with generated display name assigned.
|
||
|
*/
|
||
|
function createHigherOrderComponent(mapComponent, modifierName) {
|
||
|
return Inner => {
|
||
|
const Outer = mapComponent(Inner);
|
||
|
const displayName = Inner.displayName || Inner.name || 'Component';
|
||
|
Outer.displayName = `${(0,lodash__WEBPACK_IMPORTED_MODULE_0__.upperFirst)((0,lodash__WEBPACK_IMPORTED_MODULE_0__.camelCase)(modifierName))}(${displayName})`;
|
||
|
return Outer;
|
||
|
};
|
||
|
}
|
||
|
|
||
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createHigherOrderComponent);
|
||
|
//# sourceMappingURL=index.js.map
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@wordpress+deprecated@3.6.1/node_modules/@wordpress/deprecated/build-module/index.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||
|
/* harmony export */ A: () => (/* binding */ deprecated)
|
||
|
/* harmony export */ });
|
||
|
/* unused harmony export logged */
|
||
|
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../node_modules/.pnpm/@wordpress+hooks@3.6.1/node_modules/@wordpress/hooks/build-module/index.js");
|
||
|
/**
|
||
|
* WordPress dependencies
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* Object map tracking messages which have been logged, for use in ensuring a
|
||
|
* message is only logged once.
|
||
|
*
|
||
|
* @type {Record<string, true | undefined>}
|
||
|
*/
|
||
|
|
||
|
const logged = Object.create(null);
|
||
|
/**
|
||
|
* Logs a message to notify developers about a deprecated feature.
|
||
|
*
|
||
|
* @param {string} feature Name of the deprecated feature.
|
||
|
* @param {Object} [options] Personalisation options
|
||
|
* @param {string} [options.since] Version in which the feature was deprecated.
|
||
|
* @param {string} [options.version] Version in which the feature will be removed.
|
||
|
* @param {string} [options.alternative] Feature to use instead
|
||
|
* @param {string} [options.plugin] Plugin name if it's a plugin feature
|
||
|
* @param {string} [options.link] Link to documentation
|
||
|
* @param {string} [options.hint] Additional message to help transition away from the deprecated feature.
|
||
|
*
|
||
|
* @example
|
||
|
* ```js
|
||
|
* import deprecated from '@wordpress/deprecated';
|
||
|
*
|
||
|
* deprecated( 'Eating meat', {
|
||
|
* since: '2019.01.01'
|
||
|
* version: '2020.01.01',
|
||
|
* alternative: 'vegetables',
|
||
|
* plugin: 'the earth',
|
||
|
* hint: 'You may find it beneficial to transition gradually.',
|
||
|
* } );
|
||
|
*
|
||
|
* // Logs: 'Eating meat is deprecated since version 2019.01.01 and will be removed from the earth in version 2020.01.01. Please use vegetables instead. Note: You may find it beneficial to transition gradually.'
|
||
|
* ```
|
||
|
*/
|
||
|
|
||
|
function deprecated(feature) {
|
||
|
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
||
|
const {
|
||
|
since,
|
||
|
version,
|
||
|
alternative,
|
||
|
plugin,
|
||
|
link,
|
||
|
hint
|
||
|
} = options;
|
||
|
const pluginMessage = plugin ? ` from ${plugin}` : '';
|
||
|
const sinceMessage = since ? ` since version ${since}` : '';
|
||
|
const versionMessage = version ? ` and will be removed${pluginMessage} in version ${version}` : '';
|
||
|
const useInsteadMessage = alternative ? ` Please use ${alternative} instead.` : '';
|
||
|
const linkMessage = link ? ` See: ${link}` : '';
|
||
|
const hintMessage = hint ? ` Note: ${hint}` : '';
|
||
|
const message = `${feature} is deprecated${sinceMessage}${versionMessage}.${useInsteadMessage}${linkMessage}${hintMessage}`; // Skip if already logged.
|
||
|
|
||
|
if (message in logged) {
|
||
|
return;
|
||
|
}
|
||
|
/**
|
||
|
* Fires whenever a deprecated feature is encountered
|
||
|
*
|
||
|
* @param {string} feature Name of the deprecated feature.
|
||
|
* @param {?Object} options Personalisation options
|
||
|
* @param {string} options.since Version in which the feature was deprecated.
|
||
|
* @param {?string} options.version Version in which the feature will be removed.
|
||
|
* @param {?string} options.alternative Feature to use instead
|
||
|
* @param {?string} options.plugin Plugin name if it's a plugin feature
|
||
|
* @param {?string} options.link Link to documentation
|
||
|
* @param {?string} options.hint Additional message to help transition away from the deprecated feature.
|
||
|
* @param {?string} message Message sent to console.warn
|
||
|
*/
|
||
|
|
||
|
|
||
|
(0,_wordpress_hooks__WEBPACK_IMPORTED_MODULE_0__/* .doAction */ .Eo)('deprecated', feature, options, message); // eslint-disable-next-line no-console
|
||
|
|
||
|
console.warn(message);
|
||
|
logged[message] = true;
|
||
|
}
|
||
|
/** @typedef {import('utility-types').NonUndefined<Parameters<typeof deprecated>[1]>} DeprecatedOptions */
|
||
|
//# sourceMappingURL=index.js.map
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@wordpress+icons@8.2.3/node_modules/@wordpress/icons/build-module/icon/index.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
||
|
/* harmony export */ });
|
||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
|
||
|
/**
|
||
|
* WordPress dependencies
|
||
|
*/
|
||
|
|
||
|
/** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */
|
||
|
|
||
|
/**
|
||
|
* Return an SVG icon.
|
||
|
*
|
||
|
* @param {IconProps} props icon is the SVG component to render
|
||
|
* size is a number specifiying the icon size in pixels
|
||
|
* Other props will be passed to wrapped SVG component
|
||
|
*
|
||
|
* @return {JSX.Element} Icon component
|
||
|
*/
|
||
|
|
||
|
function Icon(_ref) {
|
||
|
let {
|
||
|
icon,
|
||
|
size = 24,
|
||
|
...props
|
||
|
} = _ref;
|
||
|
return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.cloneElement)(icon, {
|
||
|
width: size,
|
||
|
height: size,
|
||
|
...props
|
||
|
});
|
||
|
}
|
||
|
|
||
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Icon);
|
||
|
//# sourceMappingURL=index.js.map
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@wordpress+icons@8.2.3/node_modules/@wordpress/icons/build-module/library/chevron-down.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
||
|
/* harmony export */ });
|
||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
|
||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../node_modules/.pnpm/@wordpress+primitives@3.4.1/node_modules/@wordpress/primitives/build-module/svg/index.js");
|
||
|
|
||
|
|
||
|
/**
|
||
|
* WordPress dependencies
|
||
|
*/
|
||
|
|
||
|
const chevronDown = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__/* .SVG */ .t4, {
|
||
|
viewBox: "0 0 24 24",
|
||
|
xmlns: "http://www.w3.org/2000/svg"
|
||
|
}, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__/* .Path */ .wA, {
|
||
|
d: "M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"
|
||
|
}));
|
||
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (chevronDown);
|
||
|
//# sourceMappingURL=chevron-down.js.map
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@wordpress+icons@8.2.3/node_modules/@wordpress/icons/build-module/library/chevron-up.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
||
|
/* harmony export */ });
|
||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
|
||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../node_modules/.pnpm/@wordpress+primitives@3.4.1/node_modules/@wordpress/primitives/build-module/svg/index.js");
|
||
|
|
||
|
|
||
|
/**
|
||
|
* WordPress dependencies
|
||
|
*/
|
||
|
|
||
|
const chevronUp = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__/* .SVG */ .t4, {
|
||
|
viewBox: "0 0 24 24",
|
||
|
xmlns: "http://www.w3.org/2000/svg"
|
||
|
}, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__/* .Path */ .wA, {
|
||
|
d: "M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"
|
||
|
}));
|
||
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (chevronUp);
|
||
|
//# sourceMappingURL=chevron-up.js.map
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-for-each.js":
|
||
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var $forEach = (__webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-iteration.js").forEach);
|
||
|
var arrayMethodIsStrict = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-method-is-strict.js");
|
||
|
|
||
|
var STRICT_METHOD = arrayMethodIsStrict('forEach');
|
||
|
|
||
|
// `Array.prototype.forEach` method implementation
|
||
|
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
||
|
module.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {
|
||
|
return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
||
|
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
|
||
|
} : [].forEach;
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-method-has-species-support.js":
|
||
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var fails = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/fails.js");
|
||
|
var wellKnownSymbol = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/well-known-symbol.js");
|
||
|
var V8_VERSION = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/engine-v8-version.js");
|
||
|
|
||
|
var SPECIES = wellKnownSymbol('species');
|
||
|
|
||
|
module.exports = function (METHOD_NAME) {
|
||
|
// We can't use this feature detection in V8 since it causes
|
||
|
// deoptimization and serious performance degradation
|
||
|
// https://github.com/zloirock/core-js/issues/677
|
||
|
return V8_VERSION >= 51 || !fails(function () {
|
||
|
var array = [];
|
||
|
var constructor = array.constructor = {};
|
||
|
constructor[SPECIES] = function () {
|
||
|
return { foo: 1 };
|
||
|
};
|
||
|
return array[METHOD_NAME](Boolean).foo !== 1;
|
||
|
});
|
||
|
};
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-method-is-strict.js":
|
||
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var fails = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/fails.js");
|
||
|
|
||
|
module.exports = function (METHOD_NAME, argument) {
|
||
|
var method = [][METHOD_NAME];
|
||
|
return !!method && fails(function () {
|
||
|
// eslint-disable-next-line no-useless-call -- required for testing
|
||
|
method.call(null, argument || function () { return 1; }, 1);
|
||
|
});
|
||
|
};
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/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/.pnpm/core-js@3.34.0/node_modules/core-js/internals/regexp-get-flags.js":
|
||
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var call = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/function-call.js");
|
||
|
var hasOwn = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/has-own-property.js");
|
||
|
var isPrototypeOf = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/object-is-prototype-of.js");
|
||
|
var regExpFlags = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/regexp-flags.js");
|
||
|
|
||
|
var RegExpPrototype = RegExp.prototype;
|
||
|
|
||
|
module.exports = function (R) {
|
||
|
var flags = R.flags;
|
||
|
return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R)
|
||
|
? call(regExpFlags, R) : flags;
|
||
|
};
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.array.concat.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var $ = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/export.js");
|
||
|
var fails = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/fails.js");
|
||
|
var isArray = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/is-array.js");
|
||
|
var isObject = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/is-object.js");
|
||
|
var toObject = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/to-object.js");
|
||
|
var lengthOfArrayLike = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/length-of-array-like.js");
|
||
|
var doesNotExceedSafeInteger = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/does-not-exceed-safe-integer.js");
|
||
|
var createProperty = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/create-property.js");
|
||
|
var arraySpeciesCreate = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-species-create.js");
|
||
|
var arrayMethodHasSpeciesSupport = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-method-has-species-support.js");
|
||
|
var wellKnownSymbol = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/well-known-symbol.js");
|
||
|
var V8_VERSION = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/engine-v8-version.js");
|
||
|
|
||
|
var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
|
||
|
|
||
|
// We can't use this feature detection in V8 since it causes
|
||
|
// deoptimization and serious performance degradation
|
||
|
// https://github.com/zloirock/core-js/issues/679
|
||
|
var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
|
||
|
var array = [];
|
||
|
array[IS_CONCAT_SPREADABLE] = false;
|
||
|
return array.concat()[0] !== array;
|
||
|
});
|
||
|
|
||
|
var isConcatSpreadable = function (O) {
|
||
|
if (!isObject(O)) return false;
|
||
|
var spreadable = O[IS_CONCAT_SPREADABLE];
|
||
|
return spreadable !== undefined ? !!spreadable : isArray(O);
|
||
|
};
|
||
|
|
||
|
var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat');
|
||
|
|
||
|
// `Array.prototype.concat` method
|
||
|
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
||
|
// with adding support of @@isConcatSpreadable and @@species
|
||
|
$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
||
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
||
|
concat: function concat(arg) {
|
||
|
var O = toObject(this);
|
||
|
var A = arraySpeciesCreate(O, 0);
|
||
|
var n = 0;
|
||
|
var i, k, length, len, E;
|
||
|
for (i = -1, length = arguments.length; i < length; i++) {
|
||
|
E = i === -1 ? O : arguments[i];
|
||
|
if (isConcatSpreadable(E)) {
|
||
|
len = lengthOfArrayLike(E);
|
||
|
doesNotExceedSafeInteger(n + len);
|
||
|
for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
|
||
|
} else {
|
||
|
doesNotExceedSafeInteger(n + 1);
|
||
|
createProperty(A, n++, E);
|
||
|
}
|
||
|
}
|
||
|
A.length = n;
|
||
|
return A;
|
||
|
}
|
||
|
});
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.array.filter.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var $ = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/export.js");
|
||
|
var $filter = (__webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-iteration.js").filter);
|
||
|
var arrayMethodHasSpeciesSupport = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-method-has-species-support.js");
|
||
|
|
||
|
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
|
||
|
|
||
|
// `Array.prototype.filter` method
|
||
|
// https://tc39.es/ecma262/#sec-array.prototype.filter
|
||
|
// with adding support of @@species
|
||
|
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
||
|
filter: function filter(callbackfn /* , thisArg */) {
|
||
|
return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
||
|
}
|
||
|
});
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.array.for-each.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var $ = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/export.js");
|
||
|
var forEach = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-for-each.js");
|
||
|
|
||
|
// `Array.prototype.forEach` method
|
||
|
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
||
|
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
|
||
|
$({ target: 'Array', proto: true, forced: [].forEach !== forEach }, {
|
||
|
forEach: forEach
|
||
|
});
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.array.map.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var $ = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/export.js");
|
||
|
var $map = (__webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-iteration.js").map);
|
||
|
var arrayMethodHasSpeciesSupport = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-method-has-species-support.js");
|
||
|
|
||
|
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');
|
||
|
|
||
|
// `Array.prototype.map` method
|
||
|
// https://tc39.es/ecma262/#sec-array.prototype.map
|
||
|
// with adding support of @@species
|
||
|
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
||
|
map: function map(callbackfn /* , thisArg */) {
|
||
|
return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
||
|
}
|
||
|
});
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.date.to-string.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
// TODO: Remove from `core-js@4`
|
||
|
var uncurryThis = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/function-uncurry-this.js");
|
||
|
var defineBuiltIn = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/define-built-in.js");
|
||
|
|
||
|
var DatePrototype = Date.prototype;
|
||
|
var INVALID_DATE = 'Invalid Date';
|
||
|
var TO_STRING = 'toString';
|
||
|
var nativeDateToString = uncurryThis(DatePrototype[TO_STRING]);
|
||
|
var thisTimeValue = uncurryThis(DatePrototype.getTime);
|
||
|
|
||
|
// `Date.prototype.toString` method
|
||
|
// https://tc39.es/ecma262/#sec-date.prototype.tostring
|
||
|
if (String(new Date(NaN)) !== INVALID_DATE) {
|
||
|
defineBuiltIn(DatePrototype, TO_STRING, function toString() {
|
||
|
var value = thisTimeValue(this);
|
||
|
// eslint-disable-next-line no-self-compare -- NaN check
|
||
|
return value === value ? nativeDateToString(this) : INVALID_DATE;
|
||
|
});
|
||
|
}
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.object.define-properties.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var $ = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/export.js");
|
||
|
var DESCRIPTORS = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/descriptors.js");
|
||
|
var defineProperties = (__webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/object-define-properties.js").f);
|
||
|
|
||
|
// `Object.defineProperties` method
|
||
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
||
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
||
|
$({ target: 'Object', stat: true, forced: Object.defineProperties !== defineProperties, sham: !DESCRIPTORS }, {
|
||
|
defineProperties: defineProperties
|
||
|
});
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.object.define-property.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var $ = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/export.js");
|
||
|
var DESCRIPTORS = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/descriptors.js");
|
||
|
var defineProperty = (__webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/object-define-property.js").f);
|
||
|
|
||
|
// `Object.defineProperty` method
|
||
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
||
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
||
|
$({ target: 'Object', stat: true, forced: Object.defineProperty !== defineProperty, sham: !DESCRIPTORS }, {
|
||
|
defineProperty: defineProperty
|
||
|
});
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.object.get-own-property-descriptor.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var $ = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/export.js");
|
||
|
var fails = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/fails.js");
|
||
|
var toIndexedObject = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/to-indexed-object.js");
|
||
|
var nativeGetOwnPropertyDescriptor = (__webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/object-get-own-property-descriptor.js").f);
|
||
|
var DESCRIPTORS = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/descriptors.js");
|
||
|
|
||
|
var FORCED = !DESCRIPTORS || fails(function () { nativeGetOwnPropertyDescriptor(1); });
|
||
|
|
||
|
// `Object.getOwnPropertyDescriptor` method
|
||
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
||
|
$({ target: 'Object', stat: true, forced: FORCED, sham: !DESCRIPTORS }, {
|
||
|
getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) {
|
||
|
return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key);
|
||
|
}
|
||
|
});
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.object.get-own-property-descriptors.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var $ = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/export.js");
|
||
|
var DESCRIPTORS = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/descriptors.js");
|
||
|
var ownKeys = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/own-keys.js");
|
||
|
var toIndexedObject = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/to-indexed-object.js");
|
||
|
var getOwnPropertyDescriptorModule = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/object-get-own-property-descriptor.js");
|
||
|
var createProperty = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/create-property.js");
|
||
|
|
||
|
// `Object.getOwnPropertyDescriptors` method
|
||
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors
|
||
|
$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {
|
||
|
getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {
|
||
|
var O = toIndexedObject(object);
|
||
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
||
|
var keys = ownKeys(O);
|
||
|
var result = {};
|
||
|
var index = 0;
|
||
|
var key, descriptor;
|
||
|
while (keys.length > index) {
|
||
|
descriptor = getOwnPropertyDescriptor(O, key = keys[index++]);
|
||
|
if (descriptor !== undefined) createProperty(result, key, descriptor);
|
||
|
}
|
||
|
return result;
|
||
|
}
|
||
|
});
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.object.keys.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var $ = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/export.js");
|
||
|
var toObject = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/to-object.js");
|
||
|
var nativeKeys = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/object-keys.js");
|
||
|
var fails = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/fails.js");
|
||
|
|
||
|
var FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });
|
||
|
|
||
|
// `Object.keys` method
|
||
|
// https://tc39.es/ecma262/#sec-object.keys
|
||
|
$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
|
||
|
keys: function keys(it) {
|
||
|
return nativeKeys(toObject(it));
|
||
|
}
|
||
|
});
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.regexp.to-string.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var PROPER_FUNCTION_NAME = (__webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/function-name.js").PROPER);
|
||
|
var defineBuiltIn = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/define-built-in.js");
|
||
|
var anObject = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/an-object.js");
|
||
|
var $toString = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/to-string.js");
|
||
|
var fails = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/fails.js");
|
||
|
var getRegExpFlags = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/regexp-get-flags.js");
|
||
|
|
||
|
var TO_STRING = 'toString';
|
||
|
var RegExpPrototype = RegExp.prototype;
|
||
|
var nativeToString = RegExpPrototype[TO_STRING];
|
||
|
|
||
|
var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
|
||
|
// FF44- RegExp#toString has a wrong name
|
||
|
var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
|
||
|
|
||
|
// `RegExp.prototype.toString` method
|
||
|
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
||
|
if (NOT_GENERIC || INCORRECT_NAME) {
|
||
|
defineBuiltIn(RegExp.prototype, TO_STRING, function toString() {
|
||
|
var R = anObject(this);
|
||
|
var pattern = $toString(R.source);
|
||
|
var flags = $toString(getRegExpFlags(R));
|
||
|
return '/' + pattern + '/' + flags;
|
||
|
}, { unsafe: true });
|
||
|
}
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/web.dom-collections.for-each.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var global = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/global.js");
|
||
|
var DOMIterables = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/dom-iterables.js");
|
||
|
var DOMTokenListPrototype = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/dom-token-list-prototype.js");
|
||
|
var forEach = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-for-each.js");
|
||
|
var createNonEnumerableProperty = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/create-non-enumerable-property.js");
|
||
|
|
||
|
var handlePrototype = function (CollectionPrototype) {
|
||
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
||
|
if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {
|
||
|
createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);
|
||
|
} catch (error) {
|
||
|
CollectionPrototype.forEach = forEach;
|
||
|
}
|
||
|
};
|
||
|
|
||
|
for (var COLLECTION_NAME in DOMIterables) {
|
||
|
if (DOMIterables[COLLECTION_NAME]) {
|
||
|
handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
handlePrototype(DOMTokenListPrototype);
|
||
|
|
||
|
|
||
|
/***/ })
|
||
|
|
||
|
}]);
|