diff --git a/kiss-translator-ios-safari.user.js b/kiss-translator-ios-safari.user.js index 76c4cd9..fee7840 100644 --- a/kiss-translator-ios-safari.user.js +++ b/kiss-translator-ios-safari.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name KISS Translator // @namespace https://github.com/fishjar/kiss-translator -// @version 1.8.4 +// @version 1.8.5 // @description A simple bilingual translation extension & Greasemonkey script (一个简约的双语对照翻译扩展 & 油猴脚本) // @author Gabe // @homepageURL https://github.com/fishjar/kiss-translator @@ -43,15 +43,15 @@ // ==/UserScript== -/******/ (function() { // webpackBootstrap +/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ 6967: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ createCache; } +/* harmony export */ Z: () => (/* binding */ createCache) /* harmony export */ }); /* harmony import */ var _emotion_sheet__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(3294); /* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7650); @@ -559,11 +559,11 @@ var createCache = function createCache(options) { /***/ }), /***/ 5756: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ murmur2; } +/* harmony export */ Z: () => (/* binding */ murmur2) /* harmony export */ }); /* eslint-disable */ // Inspired by https://github.com/garycourt/murmurhash-js @@ -612,11 +612,11 @@ function murmur2(str) { /***/ }), /***/ 190: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ isPropValid; } +/* harmony export */ Z: () => (/* binding */ isPropValid) /* harmony export */ }); /* harmony import */ var _emotion_memoize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7506); @@ -634,11 +634,11 @@ var isPropValid = /* #__PURE__ */(0,_emotion_memoize__WEBPACK_IMPORTED_MODULE_0_ /***/ }), /***/ 7506: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ memoize; } +/* harmony export */ Z: () => (/* binding */ memoize) /* harmony export */ }); function memoize(fn) { var cache = Object.create(null); @@ -651,21 +651,21 @@ function memoize(fn) { /***/ }), -/***/ 1253: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 6387: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ C: function() { return /* binding */ CacheProvider; }, -/* harmony export */ T: function() { return /* binding */ ThemeContext; }, -/* harmony export */ i: function() { return /* binding */ isBrowser; }, -/* harmony export */ w: function() { return /* binding */ withEmotionCache; } +/* harmony export */ C: () => (/* binding */ CacheProvider), +/* harmony export */ T: () => (/* binding */ ThemeContext), +/* harmony export */ i: () => (/* binding */ isBrowser), +/* harmony export */ w: () => (/* binding */ withEmotionCache) /* harmony export */ }); /* unused harmony exports E, _, a, b, c, h, u */ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7948); /* harmony import */ var _emotion_cache__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6967); /* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5525); -/* harmony import */ var _emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2919); +/* harmony import */ var _emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(122); @@ -867,11 +867,11 @@ var Emotion$1 = (/* unused pure expression or super */ null && (Emotion)); /***/ }), /***/ 5525: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ O: function() { return /* binding */ serializeStyles; } +/* harmony export */ O: () => (/* binding */ serializeStyles) /* harmony export */ }); /* harmony import */ var _emotion_hash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5756); /* harmony import */ var _emotion_unitless__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3509); @@ -1078,11 +1078,11 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) { /***/ }), /***/ 3294: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ m: function() { return /* binding */ StyleSheet; } +/* harmony export */ m: () => (/* binding */ StyleSheet) /* harmony export */ }); /* @@ -1205,20 +1205,20 @@ var StyleSheet = /*#__PURE__*/function () { /***/ }), -/***/ 3056: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 9707: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ createStyled; } +/* harmony export */ Z: () => (/* binding */ createStyled) /* harmony export */ }); /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(8957); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7948); /* harmony import */ var _emotion_is_prop_valid__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(190); -/* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1253); +/* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(6387); /* harmony import */ var _emotion_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1443); /* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5525); -/* harmony import */ var _emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2919); +/* harmony import */ var _emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(122); @@ -1358,17 +1358,17 @@ var createStyled = function createStyled(tag, options) { /***/ }), -/***/ 1066: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 1527: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ newStyled; } +/* harmony export */ Z: () => (/* binding */ newStyled) /* harmony export */ }); -/* harmony import */ var _base_dist_emotion_styled_base_browser_esm_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3056); +/* harmony import */ var _base_dist_emotion_styled_base_browser_esm_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9707); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7948); /* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5525); -/* harmony import */ var _emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2919); +/* harmony import */ var _emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(122); @@ -1390,11 +1390,11 @@ tags.forEach(function (tagName) { /***/ }), /***/ 3509: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ unitlessKeys; } +/* harmony export */ Z: () => (/* binding */ unitlessKeys) /* harmony export */ }); var unitlessKeys = { animationIterationCount: 1, @@ -1449,14 +1449,14 @@ var unitlessKeys = { /***/ }), -/***/ 2919: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 122: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; var react__WEBPACK_IMPORTED_MODULE_0___namespace_cache; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ L: function() { return /* binding */ useInsertionEffectAlwaysWithSyncFallback; }, -/* harmony export */ j: function() { return /* binding */ useInsertionEffectWithLayoutFallback; } +/* harmony export */ L: () => (/* binding */ useInsertionEffectAlwaysWithSyncFallback), +/* harmony export */ j: () => (/* binding */ useInsertionEffectWithLayoutFallback) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7948); @@ -1471,13 +1471,13 @@ var useInsertionEffectWithLayoutFallback = useInsertionEffect || react__WEBPACK_ /***/ }), /***/ 1443: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ My: function() { return /* binding */ insertStyles; }, -/* harmony export */ fp: function() { return /* binding */ getRegisteredStyles; }, -/* harmony export */ hC: function() { return /* binding */ registerStyles; } +/* harmony export */ My: () => (/* binding */ insertStyles), +/* harmony export */ fp: () => (/* binding */ getRegisteredStyles), +/* harmony export */ hC: () => (/* binding */ registerStyles) /* harmony export */ }); var isBrowser = "object" !== 'undefined'; function getRegisteredStyles(registered, registeredStyles, classNames) { @@ -1523,8 +1523,8 @@ var insertStyles = function insertStyles(cache, serialized, isStringTag) { /***/ }), -/***/ 4663: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ 349: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; var __webpack_unused_export__; @@ -1536,7 +1536,7 @@ __webpack_unused_export__ = ({ value: true }); exports.Z = void 0; -var _createSvgIcon = _interopRequireDefault(__webpack_require__(4926)); +var _createSvgIcon = _interopRequireDefault(__webpack_require__(6370)); var _jsxRuntime = __webpack_require__(7394); var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" @@ -1545,8 +1545,8 @@ exports.Z = _default; /***/ }), -/***/ 5614: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ 8035: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; var __webpack_unused_export__; @@ -1558,7 +1558,7 @@ __webpack_unused_export__ = ({ value: true }); exports.Z = void 0; -var _createSvgIcon = _interopRequireDefault(__webpack_require__(4926)); +var _createSvgIcon = _interopRequireDefault(__webpack_require__(6370)); var _jsxRuntime = __webpack_require__(7394); var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z" @@ -1567,8 +1567,8 @@ exports.Z = _default; /***/ }), -/***/ 2675: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ 6560: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; var __webpack_unused_export__; @@ -1580,7 +1580,7 @@ __webpack_unused_export__ = ({ value: true }); exports.Z = void 0; -var _createSvgIcon = _interopRequireDefault(__webpack_require__(4926)); +var _createSvgIcon = _interopRequireDefault(__webpack_require__(6370)); var _jsxRuntime = __webpack_require__(7394); var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { d: "M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1z" @@ -1589,8 +1589,8 @@ exports.Z = _default; /***/ }), -/***/ 9923: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ 4581: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; var __webpack_unused_export__; @@ -1602,7 +1602,7 @@ __webpack_unused_export__ = ({ value: true }); exports.Z = void 0; -var _createSvgIcon = _interopRequireDefault(__webpack_require__(4926)); +var _createSvgIcon = _interopRequireDefault(__webpack_require__(6370)); var _jsxRuntime = __webpack_require__(7394); var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { d: "M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" @@ -1611,8 +1611,8 @@ exports.Z = _default; /***/ }), -/***/ 5922: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ 4752: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; var __webpack_unused_export__; @@ -1624,7 +1624,7 @@ __webpack_unused_export__ = ({ value: true }); exports.Z = void 0; -var _createSvgIcon = _interopRequireDefault(__webpack_require__(4926)); +var _createSvgIcon = _interopRequireDefault(__webpack_require__(6370)); var _jsxRuntime = __webpack_require__(7394); var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { d: "m12 21.35-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" @@ -1633,8 +1633,8 @@ exports.Z = _default; /***/ }), -/***/ 8543: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ 1713: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; var __webpack_unused_export__; @@ -1646,7 +1646,7 @@ __webpack_unused_export__ = ({ value: true }); exports.Z = void 0; -var _createSvgIcon = _interopRequireDefault(__webpack_require__(4926)); +var _createSvgIcon = _interopRequireDefault(__webpack_require__(6370)); var _jsxRuntime = __webpack_require__(7394); var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { d: "M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3zm-4.4 15.55-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05z" @@ -1655,8 +1655,8 @@ exports.Z = _default; /***/ }), -/***/ 5209: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ 1447: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; var __webpack_unused_export__; @@ -1668,7 +1668,7 @@ __webpack_unused_export__ = ({ value: true }); exports.Z = void 0; -var _createSvgIcon = _interopRequireDefault(__webpack_require__(4926)); +var _createSvgIcon = _interopRequireDefault(__webpack_require__(6370)); var _jsxRuntime = __webpack_require__(7394); var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { d: "M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z" @@ -1677,8 +1677,8 @@ exports.Z = _default; /***/ }), -/***/ 8545: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ 5386: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; var __webpack_unused_export__; @@ -1690,7 +1690,7 @@ __webpack_unused_export__ = ({ value: true }); exports.Z = void 0; -var _createSvgIcon = _interopRequireDefault(__webpack_require__(4926)); +var _createSvgIcon = _interopRequireDefault(__webpack_require__(6370)); var _jsxRuntime = __webpack_require__(7394); var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { d: "M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7.53 12L9 10.5l1.4-1.41 2.07 2.08L17.6 6 19 7.41 12.47 14zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6z" @@ -1699,8 +1699,8 @@ exports.Z = _default; /***/ }), -/***/ 9517: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ 3208: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; var __webpack_unused_export__; @@ -1712,7 +1712,7 @@ __webpack_unused_export__ = ({ value: true }); exports.Z = void 0; -var _createSvgIcon = _interopRequireDefault(__webpack_require__(4926)); +var _createSvgIcon = _interopRequireDefault(__webpack_require__(6370)); var _jsxRuntime = __webpack_require__(7394); var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { d: "M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zM2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1zm18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1zm0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zM5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41L5.99 4.58zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41l-1.06-1.06zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06z" @@ -1721,8 +1721,8 @@ exports.Z = _default; /***/ }), -/***/ 7091: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ 6065: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; var __webpack_unused_export__; @@ -1734,7 +1734,7 @@ __webpack_unused_export__ = ({ value: true }); exports.Z = void 0; -var _createSvgIcon = _interopRequireDefault(__webpack_require__(4926)); +var _createSvgIcon = _interopRequireDefault(__webpack_require__(6370)); var _jsxRuntime = __webpack_require__(7394); var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { d: "m12.87 15.07-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7 1.62-4.33L19.12 17h-3.24z" @@ -1743,8 +1743,30 @@ exports.Z = _default; /***/ }), -/***/ 4926: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ 80: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +var __webpack_unused_export__; + +"use client"; + +var _interopRequireDefault = __webpack_require__(4652); +__webpack_unused_export__ = ({ + value: true +}); +exports.Z = void 0; +var _createSvgIcon = _interopRequireDefault(__webpack_require__(6370)); +var _jsxRuntime = __webpack_require__(7394); +var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { + d: "M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z" +}), 'VolumeUp'); +exports.Z = _default; + +/***/ }), + +/***/ 6370: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; @@ -1755,19 +1777,22 @@ Object.defineProperty(exports, "__esModule", ({ })); Object.defineProperty(exports, "default", ({ enumerable: true, - get: function get() { + get: function () { return _utils.createSvgIcon; } })); -var _utils = __webpack_require__(9614); +var _utils = __webpack_require__(6782); /***/ }), -/***/ 3590: -/***/ (function(__unused_webpack_module, __webpack_exports__) { +/***/ 9655: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -var blue = { +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +const blue = { 50: '#e3f2fd', 100: '#bbdefb', 200: '#90caf9', @@ -1783,27 +1808,33 @@ var blue = { A400: '#2979ff', A700: '#2962ff' }; -/* harmony default export */ __webpack_exports__.Z = (blue); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (blue); /***/ }), -/***/ 842: -/***/ (function(__unused_webpack_module, __webpack_exports__) { +/***/ 6860: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -var common = { +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +const common = { black: '#000', white: '#fff' }; -/* harmony default export */ __webpack_exports__.Z = (common); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (common); /***/ }), -/***/ 9178: -/***/ (function(__unused_webpack_module, __webpack_exports__) { +/***/ 7920: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -var green = { +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +const green = { 50: '#e8f5e9', 100: '#c8e6c9', 200: '#a5d6a7', @@ -1819,15 +1850,18 @@ var green = { A400: '#00e676', A700: '#00c853' }; -/* harmony default export */ __webpack_exports__.Z = (green); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (green); /***/ }), -/***/ 1047: -/***/ (function(__unused_webpack_module, __webpack_exports__) { +/***/ 5721: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -var grey = { +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +const grey = { 50: '#fafafa', 100: '#f5f5f5', 200: '#eeeeee', @@ -1843,15 +1877,18 @@ var grey = { A400: '#bdbdbd', A700: '#616161' }; -/* harmony default export */ __webpack_exports__.Z = (grey); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (grey); /***/ }), -/***/ 1131: -/***/ (function(__unused_webpack_module, __webpack_exports__) { +/***/ 7536: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -var lightBlue = { +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +const lightBlue = { 50: '#e1f5fe', 100: '#b3e5fc', 200: '#81d4fa', @@ -1867,15 +1904,18 @@ var lightBlue = { A400: '#00b0ff', A700: '#0091ea' }; -/* harmony default export */ __webpack_exports__.Z = (lightBlue); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (lightBlue); /***/ }), -/***/ 7781: -/***/ (function(__unused_webpack_module, __webpack_exports__) { +/***/ 609: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -var orange = { +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +const orange = { 50: '#fff3e0', 100: '#ffe0b2', 200: '#ffcc80', @@ -1891,15 +1931,18 @@ var orange = { A400: '#ff9100', A700: '#ff6d00' }; -/* harmony default export */ __webpack_exports__.Z = (orange); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (orange); /***/ }), -/***/ 4956: -/***/ (function(__unused_webpack_module, __webpack_exports__) { +/***/ 5524: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -var purple = { +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +const purple = { 50: '#f3e5f5', 100: '#e1bee7', 200: '#ce93d8', @@ -1915,15 +1958,18 @@ var purple = { A400: '#d500f9', A700: '#aa00ff' }; -/* harmony default export */ __webpack_exports__.Z = (purple); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (purple); /***/ }), -/***/ 389: -/***/ (function(__unused_webpack_module, __webpack_exports__) { +/***/ 9972: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -var red = { +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +const red = { 50: '#ffebee', 100: '#ffcdd2', 200: '#ef9a9a', @@ -1939,63 +1985,62 @@ var red = { A400: '#ff1744', A700: '#d50000' }; -/* harmony default export */ __webpack_exports__.Z = (red); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (red); /***/ }), -/***/ 5176: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 7027: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ createMixins; } +/* harmony export */ Z: () => (/* binding */ createMixins) /* harmony export */ }); -/* harmony import */ var _home_runner_work_kiss_translator_kiss_translator_node_modules_pnpm_babel_runtime_7_22_15_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(689); /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8957); - function createMixins(breakpoints, mixins) { - var _toolbar; return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({ - toolbar: (_toolbar = { - minHeight: 56 - }, (0,_home_runner_work_kiss_translator_kiss_translator_node_modules_pnpm_babel_runtime_7_22_15_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_toolbar, breakpoints.up('xs'), { - '@media (orientation: landscape)': { - minHeight: 48 + toolbar: { + minHeight: 56, + [breakpoints.up('xs')]: { + '@media (orientation: landscape)': { + minHeight: 48 + } + }, + [breakpoints.up('sm')]: { + minHeight: 64 } - }), (0,_home_runner_work_kiss_translator_kiss_translator_node_modules_pnpm_babel_runtime_7_22_15_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_toolbar, breakpoints.up('sm'), { - minHeight: 64 - }), _toolbar) + } }, mixins); } /***/ }), -/***/ 2782: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 7818: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ ZP: function() { return /* binding */ createPalette; } +/* harmony export */ ZP: () => (/* binding */ createPalette) /* harmony export */ }); /* unused harmony exports light, dark */ /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(8957); /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(45); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(8237); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(8303); -/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5806); -/* harmony import */ var _colors_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(842); -/* harmony import */ var _colors_grey__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(1047); -/* harmony import */ var _colors_purple__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4956); -/* harmony import */ var _colors_red__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(389); -/* harmony import */ var _colors_orange__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(7781); -/* harmony import */ var _colors_blue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3590); -/* harmony import */ var _colors_lightBlue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1131); -/* harmony import */ var _colors_green__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(9178); +/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(310); +/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(1754); +/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2269); +/* harmony import */ var _colors_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6860); +/* harmony import */ var _colors_grey__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(5721); +/* harmony import */ var _colors_purple__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5524); +/* harmony import */ var _colors_red__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9972); +/* harmony import */ var _colors_orange__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(609); +/* harmony import */ var _colors_blue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9655); +/* harmony import */ var _colors_lightBlue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(7536); +/* harmony import */ var _colors_green__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(7920); -var _excluded = ["mode", "contrastThreshold", "tonalOffset"]; +const _excluded = ["mode", "contrastThreshold", "tonalOffset"]; @@ -2006,7 +2051,7 @@ var _excluded = ["mode", "contrastThreshold", "tonalOffset"]; -var light = { +const light = { // The colors used to style the text. text: { // The most important text. @@ -2044,7 +2089,7 @@ var light = { activatedOpacity: 0.12 } }; -var dark = { +const dark = { text: { primary: _colors_common__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z.white, secondary: 'rgba(255, 255, 255, 0.7)', @@ -2071,8 +2116,8 @@ var dark = { } }; function addLightOrDark(intent, direction, shade, tonalOffset) { - var tonalOffsetLight = tonalOffset.light || tonalOffset; - var tonalOffsetDark = tonalOffset.dark || tonalOffset * 1.5; + const tonalOffsetLight = tonalOffset.light || tonalOffset; + const tonalOffsetDark = tonalOffset.dark || tonalOffset * 1.5; if (!intent[direction]) { if (intent.hasOwnProperty(shade)) { intent[direction] = intent[shade]; @@ -2084,7 +2129,7 @@ function addLightOrDark(intent, direction, shade, tonalOffset) { } } function getDefaultPrimary() { - var mode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'light'; + let mode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'light'; if (mode === 'dark') { return { main: _colors_blue__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z[200], @@ -2099,7 +2144,7 @@ function getDefaultPrimary() { }; } function getDefaultSecondary() { - var mode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'light'; + let mode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'light'; if (mode === 'dark') { return { main: _colors_purple__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z[200], @@ -2114,7 +2159,7 @@ function getDefaultSecondary() { }; } function getDefaultError() { - var mode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'light'; + let mode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'light'; if (mode === 'dark') { return { main: _colors_red__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z[500], @@ -2129,7 +2174,7 @@ function getDefaultError() { }; } function getDefaultInfo() { - var mode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'light'; + let mode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'light'; if (mode === 'dark') { return { main: _colors_lightBlue__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z[400], @@ -2144,7 +2189,7 @@ function getDefaultInfo() { }; } function getDefaultSuccess() { - var mode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'light'; + let mode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'light'; if (mode === 'dark') { return { main: _colors_green__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z[400], @@ -2159,7 +2204,7 @@ function getDefaultSuccess() { }; } function getDefaultWarning() { - var mode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'light'; + let mode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'light'; if (mode === 'dark') { return { main: _colors_orange__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z[400], @@ -2175,37 +2220,35 @@ function getDefaultWarning() { }; } function createPalette(palette) { - var _palette$mode = palette.mode, - mode = _palette$mode === void 0 ? 'light' : _palette$mode, - _palette$contrastThre = palette.contrastThreshold, - contrastThreshold = _palette$contrastThre === void 0 ? 3 : _palette$contrastThre, - _palette$tonalOffset = palette.tonalOffset, - tonalOffset = _palette$tonalOffset === void 0 ? 0.2 : _palette$tonalOffset, + const { + mode = 'light', + contrastThreshold = 3, + tonalOffset = 0.2 + } = palette, other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(palette, _excluded); - var primary = palette.primary || getDefaultPrimary(mode); - var secondary = palette.secondary || getDefaultSecondary(mode); - var error = palette.error || getDefaultError(mode); - var info = palette.info || getDefaultInfo(mode); - var success = palette.success || getDefaultSuccess(mode); - var warning = palette.warning || getDefaultWarning(mode); + const primary = palette.primary || getDefaultPrimary(mode); + const secondary = palette.secondary || getDefaultSecondary(mode); + const error = palette.error || getDefaultError(mode); + const info = palette.info || getDefaultInfo(mode); + const success = palette.success || getDefaultSuccess(mode); + const warning = palette.warning || getDefaultWarning(mode); // Use the same logic as // Bootstrap: https://github.com/twbs/bootstrap/blob/1d6e3710dd447de1a200f29e8fa521f8a0908f70/scss/_functions.scss#L59 // and material-components-web https://github.com/material-components/material-components-web/blob/ac46b8863c4dab9fc22c4c662dc6bd1b65dd652f/packages/mdc-theme/_functions.scss#L54 function getContrastText(background) { - var contrastText = (0,_mui_system__WEBPACK_IMPORTED_MODULE_1__/* .getContrastRatio */ .mi)(background, dark.text.primary) >= contrastThreshold ? dark.text.primary : light.text.primary; - if (false) { var contrast; } + const contrastText = (0,_mui_system__WEBPACK_IMPORTED_MODULE_1__/* .getContrastRatio */ .mi)(background, dark.text.primary) >= contrastThreshold ? dark.text.primary : light.text.primary; + if (false) {} return contrastText; } - var augmentColor = function augmentColor(_ref) { - var color = _ref.color, - name = _ref.name, - _ref$mainShade = _ref.mainShade, - mainShade = _ref$mainShade === void 0 ? 500 : _ref$mainShade, - _ref$lightShade = _ref.lightShade, - lightShade = _ref$lightShade === void 0 ? 300 : _ref$lightShade, - _ref$darkShade = _ref.darkShade, - darkShade = _ref$darkShade === void 0 ? 700 : _ref$darkShade; + const augmentColor = _ref => { + let { + color, + name, + mainShade = 500, + lightShade = 300, + darkShade = 700 + } = _ref; color = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({}, color); if (!color.main && color[mainShade]) { color.main = color[mainShade]; @@ -2223,17 +2266,17 @@ function createPalette(palette) { } return color; }; - var modes = { - dark: dark, - light: light + const modes = { + dark, + light }; if (false) {} - var paletteOutput = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + const paletteOutput = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ // A collection of common colors. common: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({}, _colors_common__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z), // prevent mutable object. // The palette mode, can be light or dark. - mode: mode, + mode, // The colors used to represent primary interface elements for a user. primary: augmentColor({ color: primary, @@ -2271,44 +2314,46 @@ function createPalette(palette) { grey: _colors_grey__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z, // Used by `getContrastText()` to maximize the contrast between // the background and the text. - contrastThreshold: contrastThreshold, + contrastThreshold, // Takes a background color and returns the text color that maximizes the contrast. - getContrastText: getContrastText, + getContrastText, // Generate a rich color object. - augmentColor: augmentColor, + augmentColor, // Used by the functions below to shift a color's luminance by approximately // two indexes within its tonal palette. // E.g., shift from Red 500 to Red 300 or Red 700. - tonalOffset: tonalOffset + tonalOffset }, modes[mode]), other); return paletteOutput; } /***/ }), -/***/ 8484: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 8538: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); /* unused harmony export createMuiTheme */ /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(8957); /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(45); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8237); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(8303); -/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4215); -/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(926); -/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(4122); -/* harmony import */ var _createMixins__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5176); -/* harmony import */ var _createPalette__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2782); -/* harmony import */ var _createTypography__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(7130); -/* harmony import */ var _shadows__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(9062); -/* harmony import */ var _createTransitions__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(8824); -/* harmony import */ var _zIndex__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(4164); +/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(310); +/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1754); +/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8311); +/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(3094); +/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(7761); +/* harmony import */ var _createMixins__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(7027); +/* harmony import */ var _createPalette__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7818); +/* harmony import */ var _createTypography__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(8243); +/* harmony import */ var _shadows__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2743); +/* harmony import */ var _createTransitions__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(2444); +/* harmony import */ var _zIndex__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(2046); - -var _excluded = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"]; +const _excluded = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"]; @@ -2319,24 +2364,22 @@ var _excluded = ["breakpoints", "mixins", "spacing", "palette", "transitions", " function createTheme() { - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var _options$mixins = options.mixins, - mixinsInput = _options$mixins === void 0 ? {} : _options$mixins, - _options$palette = options.palette, - paletteInput = _options$palette === void 0 ? {} : _options$palette, - _options$transitions = options.transitions, - transitionsInput = _options$transitions === void 0 ? {} : _options$transitions, - _options$typography = options.typography, - typographyInput = _options$typography === void 0 ? {} : _options$typography, + let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + const { + mixins: mixinsInput = {}, + palette: paletteInput = {}, + transitions: transitionsInput = {}, + typography: typographyInput = {} + } = options, other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(options, _excluded); if (options.vars) { throw new Error( false ? 0 : (0,_mui_utils__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(18)); } - var palette = (0,_createPalette__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)(paletteInput); - var systemTheme = (0,_mui_system__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(options); - var muiTheme = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(systemTheme, { + const palette = (0,_createPalette__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)(paletteInput); + const systemTheme = (0,_mui_system__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(options); + let muiTheme = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(systemTheme, { mixins: (0,_createMixins__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(systemTheme.breakpoints, mixinsInput), - palette: palette, + palette, // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol. shadows: _shadows__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.slice(), typography: (0,_createTypography__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(palette, typographyInput), @@ -2347,10 +2390,8 @@ function createTheme() { for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { args[_key - 1] = arguments[_key]; } - muiTheme = args.reduce(function (acc, argument) { - return (0,_mui_utils__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(acc, argument); - }, muiTheme); - if (false) { var traverse, stateClasses; } + muiTheme = args.reduce((acc, argument) => (0,_mui_utils__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(acc, argument), muiTheme); + if (false) {} muiTheme.unstable_sxConfig = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({}, _mui_system__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, other == null ? void 0 : other.unstable_sxConfig); muiTheme.unstable_sx = function sx(props) { return (0,_mui_system__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)({ @@ -2360,31 +2401,31 @@ function createTheme() { }; return muiTheme; } -var warnedOnce = false; +let warnedOnce = false; function createMuiTheme() { if (false) {} - return createTheme.apply(void 0, arguments); + return createTheme(...arguments); } -/* harmony default export */ __webpack_exports__.Z = (createTheme); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createTheme); /***/ }), -/***/ 8824: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 2444: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ ZP: function() { return /* binding */ createTransitions; } +/* harmony export */ ZP: () => (/* binding */ createTransitions) /* harmony export */ }); /* unused harmony exports easing, duration */ /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(45); /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8957); -var _excluded = ["duration", "easing", "delay"]; +const _excluded = ["duration", "easing", "delay"]; // Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves // to learn the context in which each easing should be used. -var easing = { +const easing = { // This is the most common easing curve. easeInOut: 'cubic-bezier(0.4, 0, 0.2, 1)', // Objects enter the screen at full velocity from off-screen and @@ -2398,7 +2439,7 @@ var easing = { // Follow https://m2.material.io/guidelines/motion/duration-easing.html#duration-easing-common-durations // to learn when use what timing -var duration = { +const duration = { shortest: 150, shorter: 200, short: 250, @@ -2418,32 +2459,29 @@ function getAutoHeightDuration(height) { if (!height) { return 0; } - var constant = height / 36; + const constant = height / 36; // https://www.wolframalpha.com/input/?i=(4+%2B+15+*+(x+%2F+36+)+**+0.25+%2B+(x+%2F+36)+%2F+5)+*+10 - return Math.round((4 + 15 * Math.pow(constant, 0.25) + constant / 5) * 10); + return Math.round((4 + 15 * constant ** 0.25 + constant / 5) * 10); } function createTransitions(inputTransitions) { - var mergedEasing = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, easing, inputTransitions.easing); - var mergedDuration = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, duration, inputTransitions.duration); - var create = function create() { - var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['all']; - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var _options$duration = options.duration, - durationOption = _options$duration === void 0 ? mergedDuration.standard : _options$duration, - _options$easing = options.easing, - easingOption = _options$easing === void 0 ? mergedEasing.easeInOut : _options$easing, - _options$delay = options.delay, - delay = _options$delay === void 0 ? 0 : _options$delay, + const mergedEasing = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, easing, inputTransitions.easing); + const mergedDuration = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, duration, inputTransitions.duration); + const create = function () { + let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['all']; + let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + const { + duration: durationOption = mergedDuration.standard, + easing: easingOption = mergedEasing.easeInOut, + delay = 0 + } = options, other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(options, _excluded); - if (false) { var isNumber, isString; } - return (Array.isArray(props) ? props : [props]).map(function (animatedProp) { - return "".concat(animatedProp, " ").concat(typeof durationOption === 'string' ? durationOption : formatMs(durationOption), " ").concat(easingOption, " ").concat(typeof delay === 'string' ? delay : formatMs(delay)); - }).join(','); + if (false) {} + return (Array.isArray(props) ? props : [props]).map(animatedProp => "".concat(animatedProp, " ").concat(typeof durationOption === 'string' ? durationOption : formatMs(durationOption), " ").concat(easingOption, " ").concat(typeof delay === 'string' ? delay : formatMs(delay))).join(','); }; return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({ - getAutoHeightDuration: getAutoHeightDuration, - create: create + getAutoHeightDuration, + create }, inputTransitions, { easing: mergedEasing, duration: mergedDuration @@ -2452,68 +2490,64 @@ function createTransitions(inputTransitions) { /***/ }), -/***/ 7130: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 8243: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ createTypography; } +/* harmony export */ Z: () => (/* binding */ createTypography) /* harmony export */ }); /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8957); /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(45); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8303); +/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1754); -var _excluded = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"]; +const _excluded = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"]; function round(value) { return Math.round(value * 1e5) / 1e5; } -var caseAllCaps = { +const caseAllCaps = { textTransform: 'uppercase' }; -var defaultFontFamily = '"Roboto", "Helvetica", "Arial", sans-serif'; +const defaultFontFamily = '"Roboto", "Helvetica", "Arial", sans-serif'; /** * @see @link{https://m2.material.io/design/typography/the-type-system.html} * @see @link{https://m2.material.io/design/typography/understanding-typography.html} */ function createTypography(palette, typography) { - var _ref = typeof typography === 'function' ? typography(palette) : typography, - _ref$fontFamily = _ref.fontFamily, - fontFamily = _ref$fontFamily === void 0 ? defaultFontFamily : _ref$fontFamily, - _ref$fontSize = _ref.fontSize, - fontSize = _ref$fontSize === void 0 ? 14 : _ref$fontSize, - _ref$fontWeightLight = _ref.fontWeightLight, - fontWeightLight = _ref$fontWeightLight === void 0 ? 300 : _ref$fontWeightLight, - _ref$fontWeightRegula = _ref.fontWeightRegular, - fontWeightRegular = _ref$fontWeightRegula === void 0 ? 400 : _ref$fontWeightRegula, - _ref$fontWeightMedium = _ref.fontWeightMedium, - fontWeightMedium = _ref$fontWeightMedium === void 0 ? 500 : _ref$fontWeightMedium, - _ref$fontWeightBold = _ref.fontWeightBold, - fontWeightBold = _ref$fontWeightBold === void 0 ? 700 : _ref$fontWeightBold, - _ref$htmlFontSize = _ref.htmlFontSize, - htmlFontSize = _ref$htmlFontSize === void 0 ? 16 : _ref$htmlFontSize, - allVariants = _ref.allVariants, - pxToRem2 = _ref.pxToRem, + const _ref = typeof typography === 'function' ? typography(palette) : typography, + { + fontFamily = defaultFontFamily, + // The default font size of the Material Specification. + fontSize = 14, + // px + fontWeightLight = 300, + fontWeightRegular = 400, + fontWeightMedium = 500, + fontWeightBold = 700, + // Tell MUI what's the font-size on the html element. + // 16px is the default font-size used by browsers. + htmlFontSize = 16, + // Apply the CSS properties to all the variants. + allVariants, + pxToRem: pxToRem2 + } = _ref, other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(_ref, _excluded); if (false) {} - var coef = fontSize / 14; - var pxToRem = pxToRem2 || function (size) { - return "".concat(size / htmlFontSize * coef, "rem"); - }; - var buildVariant = function buildVariant(fontWeight, size, lineHeight, letterSpacing, casing) { - return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)({ - fontFamily: fontFamily, - fontWeight: fontWeight, - fontSize: pxToRem(size), - // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/ - lineHeight: lineHeight - }, fontFamily === defaultFontFamily ? { - letterSpacing: "".concat(round(letterSpacing / size), "em") - } : {}, casing, allVariants); - }; - var variants = { + const coef = fontSize / 14; + const pxToRem = pxToRem2 || (size => "".concat(size / htmlFontSize * coef, "rem")); + const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)({ + fontFamily, + fontWeight, + fontSize: pxToRem(size), + // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/ + lineHeight + }, fontFamily === defaultFontFamily ? { + letterSpacing: "".concat(round(letterSpacing / size), "em") + } : {}, casing, allVariants); + const variants = { h1: buildVariant(fontWeightLight, 96, 1.167, -1.5), h2: buildVariant(fontWeightLight, 60, 1.2, -0.5), h3: buildVariant(fontWeightRegular, 48, 1.167, 0), @@ -2537,14 +2571,14 @@ function createTypography(palette, typography) { } }; return (0,_mui_utils__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)({ - htmlFontSize: htmlFontSize, - pxToRem: pxToRem, - fontFamily: fontFamily, - fontSize: fontSize, - fontWeightLight: fontWeightLight, - fontWeightRegular: fontWeightRegular, - fontWeightMedium: fontWeightMedium, - fontWeightBold: fontWeightBold + htmlFontSize, + pxToRem, + fontFamily, + fontSize, + fontWeightLight, + fontWeightRegular, + fontWeightMedium, + fontWeightBold }, variants), other, { clone: false // No need to clone deep }); @@ -2552,94 +2586,104 @@ function createTypography(palette, typography) { /***/ }), -/***/ 7562: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 4065: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -/* harmony import */ var _createTheme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8484); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _createTheme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8538); 'use client'; -var defaultTheme = (0,_createTheme__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(); -/* harmony default export */ __webpack_exports__.Z = (defaultTheme); +const defaultTheme = (0,_createTheme__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (defaultTheme); /***/ }), -/***/ 7273: -/***/ (function(__unused_webpack_module, __webpack_exports__) { +/***/ 9881: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -/* harmony default export */ __webpack_exports__.Z = ('$$material'); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ('$$material'); /***/ }), -/***/ 9062: -/***/ (function(__unused_webpack_module, __webpack_exports__) { +/***/ 2743: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -var shadowKeyUmbraOpacity = 0.2; -var shadowKeyPenumbraOpacity = 0.14; -var shadowAmbientShadowOpacity = 0.12; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +const shadowKeyUmbraOpacity = 0.2; +const shadowKeyPenumbraOpacity = 0.14; +const shadowAmbientShadowOpacity = 0.12; function createShadow() { return ["".concat(arguments.length <= 0 ? undefined : arguments[0], "px ").concat(arguments.length <= 1 ? undefined : arguments[1], "px ").concat(arguments.length <= 2 ? undefined : arguments[2], "px ").concat(arguments.length <= 3 ? undefined : arguments[3], "px rgba(0,0,0,").concat(shadowKeyUmbraOpacity, ")"), "".concat(arguments.length <= 4 ? undefined : arguments[4], "px ").concat(arguments.length <= 5 ? undefined : arguments[5], "px ").concat(arguments.length <= 6 ? undefined : arguments[6], "px ").concat(arguments.length <= 7 ? undefined : arguments[7], "px rgba(0,0,0,").concat(shadowKeyPenumbraOpacity, ")"), "".concat(arguments.length <= 8 ? undefined : arguments[8], "px ").concat(arguments.length <= 9 ? undefined : arguments[9], "px ").concat(arguments.length <= 10 ? undefined : arguments[10], "px ").concat(arguments.length <= 11 ? undefined : arguments[11], "px rgba(0,0,0,").concat(shadowAmbientShadowOpacity, ")")].join(','); } // Values from https://github.com/material-components/material-components-web/blob/be8747f94574669cb5e7add1a7c54fa41a89cec7/packages/mdc-elevation/_variables.scss -var shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)]; -/* harmony default export */ __webpack_exports__.Z = (shadows); +const shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)]; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (shadows); /***/ }), -/***/ 7219: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 5215: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Dz: function() { return /* binding */ slotShouldForwardProp; }, -/* harmony export */ FO: function() { return /* binding */ rootShouldForwardProp; } +/* harmony export */ Dz: () => (/* binding */ slotShouldForwardProp), +/* harmony export */ FO: () => (/* binding */ rootShouldForwardProp), +/* harmony export */ ZP: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7271); -/* harmony import */ var _defaultTheme__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7562); -/* harmony import */ var _identifier__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7273); +/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4891); +/* harmony import */ var _defaultTheme__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4065); +/* harmony import */ var _identifier__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9881); 'use client'; -var rootShouldForwardProp = function rootShouldForwardProp(prop) { - return (0,_mui_system__WEBPACK_IMPORTED_MODULE_0__/* .shouldForwardProp */ .x9)(prop) && prop !== 'classes'; -}; -var slotShouldForwardProp = _mui_system__WEBPACK_IMPORTED_MODULE_0__/* .shouldForwardProp */ .x9; -var styled = (0,_mui_system__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ +const rootShouldForwardProp = prop => (0,_mui_system__WEBPACK_IMPORTED_MODULE_0__/* .shouldForwardProp */ .x9)(prop) && prop !== 'classes'; +const slotShouldForwardProp = _mui_system__WEBPACK_IMPORTED_MODULE_0__/* .shouldForwardProp */ .x9; +const styled = (0,_mui_system__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ themeId: _identifier__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, defaultTheme: _defaultTheme__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z, - rootShouldForwardProp: rootShouldForwardProp + rootShouldForwardProp }); -/* harmony default export */ __webpack_exports__.ZP = (styled); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (styled); /***/ }), -/***/ 7658: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 4167: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ useThemeProps; } +/* harmony export */ Z: () => (/* binding */ useThemeProps) /* harmony export */ }); -/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1433); -/* harmony import */ var _defaultTheme__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7562); -/* harmony import */ var _identifier__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7273); +/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9507); +/* harmony import */ var _defaultTheme__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4065); +/* harmony import */ var _identifier__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9881); 'use client'; function useThemeProps(_ref) { - var props = _ref.props, - name = _ref.name; + let { + props, + name + } = _ref; return (0,_mui_system__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({ - props: props, - name: name, + props, + name, defaultTheme: _defaultTheme__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, themeId: _identifier__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z }); @@ -2647,13 +2691,16 @@ function useThemeProps(_ref) { /***/ }), -/***/ 4164: -/***/ (function(__unused_webpack_module, __webpack_exports__) { +/***/ 2046: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); // We need to centralize the zIndex definitions as they work // like global values in the browser. -var zIndex = { +const zIndex = { mobileStepper: 1000, fab: 1050, speedDial: 1050, @@ -2663,38 +2710,44 @@ var zIndex = { snackbar: 1400, tooltip: 1500 }; -/* harmony default export */ __webpack_exports__.Z = (zIndex); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (zIndex); /***/ }), -/***/ 993: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 8466: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3049); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5789); -/* harmony default export */ __webpack_exports__.Z = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); /***/ }), -/***/ 1779: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 258: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9916); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9839); -/* harmony default export */ __webpack_exports__.Z = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); /***/ }), -/***/ 753: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 7592: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { - Z: function() { return /* binding */ createSvgIcon; } + Z: () => (/* binding */ createSvgIcon) }); // EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime@7.22.15/node_modules/@babel/runtime/helpers/esm/extends.js @@ -2705,34 +2758,34 @@ var react = __webpack_require__(7948); var objectWithoutPropertiesLoose = __webpack_require__(45); // EXTERNAL MODULE: ./node_modules/.pnpm/clsx@2.0.0/node_modules/clsx/dist/clsx.mjs var clsx = __webpack_require__(5675); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.22_react@18.2.0/node_modules/@mui/utils/esm/composeClasses/composeClasses.js -var composeClasses = __webpack_require__(4483); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/capitalize.js -var capitalize = __webpack_require__(993); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/useThemeProps.js -var useThemeProps = __webpack_require__(7658); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/styled.js -var styled = __webpack_require__(7219); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.22_react@18.2.0/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js -var generateUtilityClasses = __webpack_require__(8738); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.22_react@18.2.0/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js -var generateUtilityClass = __webpack_require__(5165); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/SvgIcon/svgIconClasses.js +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.67_react@18.2.0/node_modules/@mui/utils/esm/composeClasses/composeClasses.js +var composeClasses = __webpack_require__(8550); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/capitalize.js +var capitalize = __webpack_require__(8466); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/useThemeProps.js +var useThemeProps = __webpack_require__(4167); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/styled.js +var styled = __webpack_require__(5215); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.67_react@18.2.0/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js +var generateUtilityClasses = __webpack_require__(9016); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.67_react@18.2.0/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js +var generateUtilityClass = __webpack_require__(4258); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/SvgIcon/svgIconClasses.js function getSvgIconUtilityClass(slot) { return (0,generateUtilityClass/* default */.Z)('MuiSvgIcon', slot); } -var svgIconClasses = (0,generateUtilityClasses/* default */.Z)('MuiSvgIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']); -/* harmony default export */ var SvgIcon_svgIconClasses = ((/* unused pure expression or super */ null && (svgIconClasses))); +const svgIconClasses = (0,generateUtilityClasses/* default */.Z)('MuiSvgIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']); +/* harmony default export */ const SvgIcon_svgIconClasses = ((/* unused pure expression or super */ null && (svgIconClasses))); // EXTERNAL MODULE: ./node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(7394); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/SvgIcon/SvgIcon.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/SvgIcon/SvgIcon.js 'use client'; -var _excluded = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"]; +const _excluded = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"]; @@ -2743,25 +2796,31 @@ var _excluded = ["children", "className", "color", "component", "fontSize", "htm -var useUtilityClasses = function useUtilityClasses(ownerState) { - var color = ownerState.color, - fontSize = ownerState.fontSize, - classes = ownerState.classes; - var slots = { +const useUtilityClasses = ownerState => { + const { + color, + fontSize, + classes + } = ownerState; + const slots = { root: ['root', color !== 'inherit' && "color".concat((0,capitalize/* default */.Z)(color)), "fontSize".concat((0,capitalize/* default */.Z)(fontSize))] }; return (0,composeClasses/* default */.Z)(slots, getSvgIconUtilityClass, classes); }; -var SvgIconRoot = (0,styled/* default */.ZP)('svg', { +const SvgIconRoot = (0,styled/* default */.ZP)('svg', { name: 'MuiSvgIcon', slot: 'Root', - overridesResolver: function overridesResolver(props, styles) { - var ownerState = props.ownerState; + overridesResolver: (props, styles) => { + const { + ownerState + } = props; return [styles.root, ownerState.color !== 'inherit' && styles["color".concat((0,capitalize/* default */.Z)(ownerState.color))], styles["fontSize".concat((0,capitalize/* default */.Z)(ownerState.fontSize))]]; } -})(function (_ref) { - var theme = _ref.theme, - ownerState = _ref.ownerState; +})(_ref => { + let { + theme, + ownerState + } = _ref; var _theme$transitions, _theme$transitions$cr, _theme$transitions2, _theme$typography, _theme$typography$pxT, _theme$typography2, _theme$typography2$px, _theme$typography3, _theme$typography3$px, _palette$ownerState$c, _palette, _palette2, _palette3; return { userSelect: 'none', @@ -2789,41 +2848,38 @@ var SvgIconRoot = (0,styled/* default */.ZP)('svg', { }[ownerState.color] }; }); -var SvgIcon = /*#__PURE__*/react.forwardRef(function SvgIcon(inProps, ref) { - var props = (0,useThemeProps/* default */.Z)({ +const SvgIcon = /*#__PURE__*/react.forwardRef(function SvgIcon(inProps, ref) { + const props = (0,useThemeProps/* default */.Z)({ props: inProps, name: 'MuiSvgIcon' }); - var children = props.children, - className = props.className, - _props$color = props.color, - color = _props$color === void 0 ? 'inherit' : _props$color, - _props$component = props.component, - component = _props$component === void 0 ? 'svg' : _props$component, - _props$fontSize = props.fontSize, - fontSize = _props$fontSize === void 0 ? 'medium' : _props$fontSize, - htmlColor = props.htmlColor, - _props$inheritViewBox = props.inheritViewBox, - inheritViewBox = _props$inheritViewBox === void 0 ? false : _props$inheritViewBox, - titleAccess = props.titleAccess, - _props$viewBox = props.viewBox, - viewBox = _props$viewBox === void 0 ? '0 0 24 24' : _props$viewBox, + const { + children, + className, + color = 'inherit', + component = 'svg', + fontSize = 'medium', + htmlColor, + inheritViewBox = false, + titleAccess, + viewBox = '0 0 24 24' + } = props, other = (0,objectWithoutPropertiesLoose/* default */.Z)(props, _excluded); - var hasSvgAsChild = /*#__PURE__*/react.isValidElement(children) && children.type === 'svg'; - var ownerState = (0,esm_extends/* default */.Z)({}, props, { - color: color, - component: component, - fontSize: fontSize, + const hasSvgAsChild = /*#__PURE__*/react.isValidElement(children) && children.type === 'svg'; + const ownerState = (0,esm_extends/* default */.Z)({}, props, { + color, + component, + fontSize, instanceFontSize: inProps.fontSize, - inheritViewBox: inheritViewBox, - viewBox: viewBox, - hasSvgAsChild: hasSvgAsChild + inheritViewBox, + viewBox, + hasSvgAsChild }); - var more = {}; + const more = {}; if (!inheritViewBox) { more.viewBox = viewBox; } - var classes = useUtilityClasses(ownerState); + const classes = useUtilityClasses(ownerState); return /*#__PURE__*/(0,jsx_runtime.jsxs)(SvgIconRoot, (0,esm_extends/* default */.Z)({ as: component, className: (0,clsx/* default */.Z)(classes.root, className), @@ -2841,8 +2897,8 @@ var SvgIcon = /*#__PURE__*/react.forwardRef(function SvgIcon(inProps, ref) { }); false ? 0 : void 0; SvgIcon.muiName = 'SvgIcon'; -/* harmony default export */ var SvgIcon_SvgIcon = (SvgIcon); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/createSvgIcon.js +/* harmony default export */ const SvgIcon_SvgIcon = (SvgIcon); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/createSvgIcon.js 'use client'; @@ -2869,18 +2925,21 @@ function createSvgIcon(path, displayName) { /***/ }), -/***/ 5992: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 6259: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9548); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(503); -/* harmony default export */ __webpack_exports__.Z = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); /***/ }), -/***/ 9614: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 6782: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // ESM COMPAT FLAG @@ -2888,130 +2947,124 @@ __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { - capitalize: function() { return /* reexport */ capitalize/* default */.Z; }, - createChainedFunction: function() { return /* reexport */ createChainedFunction/* default */.Z; }, - createSvgIcon: function() { return /* reexport */ createSvgIcon/* default */.Z; }, - debounce: function() { return /* reexport */ debounce/* default */.Z; }, - deprecatedPropType: function() { return /* reexport */ utils_deprecatedPropType; }, - isMuiElement: function() { return /* reexport */ isMuiElement/* default */.Z; }, - ownerDocument: function() { return /* reexport */ ownerDocument/* default */.Z; }, - ownerWindow: function() { return /* reexport */ ownerWindow/* default */.Z; }, - requirePropFactory: function() { return /* reexport */ utils_requirePropFactory; }, - setRef: function() { return /* reexport */ utils_setRef; }, - unstable_ClassNameGenerator: function() { return /* binding */ unstable_ClassNameGenerator; }, - unstable_useEnhancedEffect: function() { return /* reexport */ useEnhancedEffect/* default */.Z; }, - unstable_useId: function() { return /* reexport */ useId/* default */.Z; }, - unsupportedProp: function() { return /* reexport */ utils_unsupportedProp; }, - useControlled: function() { return /* reexport */ useControlled/* default */.Z; }, - useEventCallback: function() { return /* reexport */ useEventCallback/* default */.Z; }, - useForkRef: function() { return /* reexport */ useForkRef/* default */.Z; }, - useIsFocusVisible: function() { return /* reexport */ useIsFocusVisible/* default */.Z; } + capitalize: () => (/* reexport */ capitalize/* default */.Z), + createChainedFunction: () => (/* reexport */ createChainedFunction/* default */.Z), + createSvgIcon: () => (/* reexport */ createSvgIcon/* default */.Z), + debounce: () => (/* reexport */ debounce/* default */.Z), + deprecatedPropType: () => (/* reexport */ utils_deprecatedPropType), + isMuiElement: () => (/* reexport */ isMuiElement/* default */.Z), + ownerDocument: () => (/* reexport */ ownerDocument/* default */.Z), + ownerWindow: () => (/* reexport */ ownerWindow/* default */.Z), + requirePropFactory: () => (/* reexport */ utils_requirePropFactory), + setRef: () => (/* reexport */ utils_setRef), + unstable_ClassNameGenerator: () => (/* binding */ unstable_ClassNameGenerator), + unstable_useEnhancedEffect: () => (/* reexport */ useEnhancedEffect/* default */.Z), + unstable_useId: () => (/* reexport */ useId/* default */.Z), + unsupportedProp: () => (/* reexport */ utils_unsupportedProp), + useControlled: () => (/* reexport */ useControlled/* default */.Z), + useEventCallback: () => (/* reexport */ useEventCallback/* default */.Z), + useForkRef: () => (/* reexport */ useForkRef/* default */.Z), + useIsFocusVisible: () => (/* reexport */ useIsFocusVisible/* default */.Z) }); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.22_react@18.2.0/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js -var ClassNameGenerator = __webpack_require__(8644); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/capitalize.js -var capitalize = __webpack_require__(993); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/createChainedFunction.js -var createChainedFunction = __webpack_require__(1779); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/createSvgIcon.js + 2 modules -var createSvgIcon = __webpack_require__(753); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/debounce.js -var debounce = __webpack_require__(5992); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.22_react@18.2.0/node_modules/@mui/utils/esm/deprecatedPropType.js +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.67_react@18.2.0/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js +var ClassNameGenerator = __webpack_require__(9141); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/capitalize.js +var capitalize = __webpack_require__(8466); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/createChainedFunction.js +var createChainedFunction = __webpack_require__(258); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/createSvgIcon.js + 2 modules +var createSvgIcon = __webpack_require__(7592); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/debounce.js +var debounce = __webpack_require__(6259); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.67_react@18.2.0/node_modules/@mui/utils/esm/deprecatedPropType.js function deprecatedPropType(validator, reason) { if (true) { - return function () { - return null; - }; + return () => null; } - return function (props, propName, componentName, location, propFullName) { - var componentNameSafe = componentName || '<>'; - var propFullNameSafe = propFullName || propName; + return (props, propName, componentName, location, propFullName) => { + const componentNameSafe = componentName || '<>'; + const propFullNameSafe = propFullName || propName; if (typeof props[propName] !== 'undefined') { return new Error("The ".concat(location, " `").concat(propFullNameSafe, "` of ") + "`".concat(componentNameSafe, "` is deprecated. ").concat(reason)); } return null; }; } -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/deprecatedPropType.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/deprecatedPropType.js -/* harmony default export */ var utils_deprecatedPropType = (deprecatedPropType); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/isMuiElement.js + 1 modules -var isMuiElement = __webpack_require__(1188); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/ownerDocument.js -var ownerDocument = __webpack_require__(5029); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/ownerWindow.js -var ownerWindow = __webpack_require__(9558); +/* harmony default export */ const utils_deprecatedPropType = (deprecatedPropType); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/isMuiElement.js + 1 modules +var isMuiElement = __webpack_require__(2705); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/ownerDocument.js +var ownerDocument = __webpack_require__(7805); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/ownerWindow.js +var ownerWindow = __webpack_require__(9814); // EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime@7.22.15/node_modules/@babel/runtime/helpers/esm/extends.js var esm_extends = __webpack_require__(8957); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.22_react@18.2.0/node_modules/@mui/utils/esm/requirePropFactory.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.67_react@18.2.0/node_modules/@mui/utils/esm/requirePropFactory.js function requirePropFactory(componentNameInError, Component) { if (true) { - return function () { - return null; - }; + return () => null; } // eslint-disable-next-line react/forbid-foreign-prop-types - var prevPropTypes = Component ? (0,esm_extends/* default */.Z)({}, Component.propTypes) : null; - var requireProp = function requireProp(requiredProp) { - return function (props, propName, componentName, location, propFullName) { - var propFullNameSafe = propFullName || propName; - var defaultTypeChecker = prevPropTypes == null ? void 0 : prevPropTypes[propFullNameSafe]; - if (defaultTypeChecker) { - for (var _len = arguments.length, args = new Array(_len > 5 ? _len - 5 : 0), _key = 5; _key < _len; _key++) { - args[_key - 5] = arguments[_key]; - } - var typeCheckerResult = defaultTypeChecker.apply(void 0, [props, propName, componentName, location, propFullName].concat(args)); - if (typeCheckerResult) { - return typeCheckerResult; - } + const prevPropTypes = Component ? (0,esm_extends/* default */.Z)({}, Component.propTypes) : null; + const requireProp = requiredProp => function (props, propName, componentName, location, propFullName) { + const propFullNameSafe = propFullName || propName; + const defaultTypeChecker = prevPropTypes == null ? void 0 : prevPropTypes[propFullNameSafe]; + if (defaultTypeChecker) { + for (var _len = arguments.length, args = new Array(_len > 5 ? _len - 5 : 0), _key = 5; _key < _len; _key++) { + args[_key - 5] = arguments[_key]; } - if (typeof props[propName] !== 'undefined' && !props[requiredProp]) { - return new Error("The prop `".concat(propFullNameSafe, "` of ") + "`".concat(componentNameInError, "` can only be used together with the `").concat(requiredProp, "` prop.")); + const typeCheckerResult = defaultTypeChecker(props, propName, componentName, location, propFullName, ...args); + if (typeCheckerResult) { + return typeCheckerResult; } - return null; - }; + } + if (typeof props[propName] !== 'undefined' && !props[requiredProp]) { + return new Error("The prop `".concat(propFullNameSafe, "` of ") + "`".concat(componentNameInError, "` can only be used together with the `").concat(requiredProp, "` prop.")); + } + return null; }; return requireProp; } -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/requirePropFactory.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/requirePropFactory.js -/* harmony default export */ var utils_requirePropFactory = (requirePropFactory); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.22_react@18.2.0/node_modules/@mui/utils/esm/setRef.js -var setRef = __webpack_require__(4519); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/setRef.js +/* harmony default export */ const utils_requirePropFactory = (requirePropFactory); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.67_react@18.2.0/node_modules/@mui/utils/esm/setRef.js +var setRef = __webpack_require__(6633); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/setRef.js -/* harmony default export */ var utils_setRef = (setRef/* default */.Z); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useEnhancedEffect.js -var useEnhancedEffect = __webpack_require__(265); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useId.js -var useId = __webpack_require__(8024); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.22_react@18.2.0/node_modules/@mui/utils/esm/unsupportedProp.js +/* harmony default export */ const utils_setRef = (setRef/* default */.Z); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useEnhancedEffect.js +var useEnhancedEffect = __webpack_require__(1224); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useId.js +var useId = __webpack_require__(7952); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.67_react@18.2.0/node_modules/@mui/utils/esm/unsupportedProp.js function unsupportedProp(props, propName, componentName, location, propFullName) { if (true) { return null; } - var propFullNameSafe = propFullName || propName; + const propFullNameSafe = propFullName || propName; if (typeof props[propName] !== 'undefined') { return new Error("The prop `".concat(propFullNameSafe, "` is not supported. Please remove it.")); } return null; } -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/unsupportedProp.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/unsupportedProp.js -/* harmony default export */ var utils_unsupportedProp = (unsupportedProp); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useControlled.js + 1 modules -var useControlled = __webpack_require__(1499); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useEventCallback.js -var useEventCallback = __webpack_require__(2019); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useForkRef.js -var useForkRef = __webpack_require__(6813); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useIsFocusVisible.js -var useIsFocusVisible = __webpack_require__(3261); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/index.js +/* harmony default export */ const utils_unsupportedProp = (unsupportedProp); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useControlled.js + 1 modules +var useControlled = __webpack_require__(2349); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useEventCallback.js +var useEventCallback = __webpack_require__(2002); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useForkRef.js +var useForkRef = __webpack_require__(4884); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useIsFocusVisible.js +var useIsFocusVisible = __webpack_require__(7776); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/index.js 'use client'; @@ -3034,8 +3087,8 @@ var useIsFocusVisible = __webpack_require__(3261); // TODO: remove this export once ClassNameGenerator is stable // eslint-disable-next-line @typescript-eslint/naming-convention -var unstable_ClassNameGenerator = { - configure: function configure(generator) { +const unstable_ClassNameGenerator = { + configure: generator => { if (false) {} ClassNameGenerator/* default */.Z.configure(generator); } @@ -3043,168 +3096,185 @@ var unstable_ClassNameGenerator = { /***/ }), -/***/ 1188: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 2705: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { - Z: function() { return /* binding */ utils_isMuiElement; } + Z: () => (/* binding */ utils_isMuiElement) }); // EXTERNAL MODULE: ./node_modules/.pnpm/react@18.2.0/node_modules/react/index.js var react = __webpack_require__(7948); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.22_react@18.2.0/node_modules/@mui/utils/esm/isMuiElement.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.67_react@18.2.0/node_modules/@mui/utils/esm/isMuiElement.js function isMuiElement(element, muiNames) { return /*#__PURE__*/react.isValidElement(element) && muiNames.indexOf(element.type.muiName) !== -1; } -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/isMuiElement.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/isMuiElement.js -/* harmony default export */ var utils_isMuiElement = (isMuiElement); +/* harmony default export */ const utils_isMuiElement = (isMuiElement); /***/ }), -/***/ 5029: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 7805: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8994); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2332); -/* harmony default export */ __webpack_exports__.Z = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); /***/ }), -/***/ 9558: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 9814: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2041); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(316); -/* harmony default export */ __webpack_exports__.Z = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); /***/ }), -/***/ 1499: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 2349: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { - Z: function() { return /* binding */ utils_useControlled; } + Z: () => (/* binding */ utils_useControlled) }); -// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime@7.22.15/node_modules/@babel/runtime/helpers/esm/slicedToArray.js -var slicedToArray = __webpack_require__(7358); // EXTERNAL MODULE: ./node_modules/.pnpm/react@18.2.0/node_modules/react/index.js var react = __webpack_require__(7948); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.22_react@18.2.0/node_modules/@mui/utils/esm/useControlled/useControlled.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.67_react@18.2.0/node_modules/@mui/utils/esm/useControlled/useControlled.js 'use client'; /* eslint-disable react-hooks/rules-of-hooks, react-hooks/exhaustive-deps */ - function useControlled(_ref) { - var controlled = _ref.controlled, - defaultProp = _ref.default, - name = _ref.name, - _ref$state = _ref.state, - state = _ref$state === void 0 ? 'value' : _ref$state; + let { + controlled, + default: defaultProp, + name, + state = 'value' + } = _ref; // isControlled is ignored in the hook dependency lists as it should never change. - var _React$useRef = react.useRef(controlled !== undefined), - isControlled = _React$useRef.current; - var _React$useState = react.useState(defaultProp), - _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), - valueState = _React$useState2[0], - setValue = _React$useState2[1]; - var value = isControlled ? controlled : valueState; - if (false) { var _React$useRef2, defaultValue; } - var setValueIfUncontrolled = react.useCallback(function (newValue) { + const { + current: isControlled + } = react.useRef(controlled !== undefined); + const [valueState, setValue] = react.useState(defaultProp); + const value = isControlled ? controlled : valueState; + if (false) {} + const setValueIfUncontrolled = react.useCallback(newValue => { if (!isControlled) { setValue(newValue); } }, []); return [value, setValueIfUncontrolled]; } -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useControlled.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useControlled.js 'use client'; -/* harmony default export */ var utils_useControlled = (useControlled); +/* harmony default export */ const utils_useControlled = (useControlled); /***/ }), -/***/ 265: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 1224: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1445); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4277); 'use client'; -/* harmony default export */ __webpack_exports__.Z = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); /***/ }), -/***/ 2019: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 2002: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(757); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2928); 'use client'; -/* harmony default export */ __webpack_exports__.Z = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); /***/ }), -/***/ 6813: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 4884: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1186); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(862); 'use client'; -/* harmony default export */ __webpack_exports__.Z = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); /***/ }), -/***/ 8024: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 7952: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1036); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2108); 'use client'; -/* harmony default export */ __webpack_exports__.Z = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); /***/ }), -/***/ 3261: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 7776: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(181); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1830); 'use client'; -/* harmony default export */ __webpack_exports__.Z = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); /***/ }), /***/ 9913: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Co: function() { return /* binding */ internal_processStyles; }, -/* harmony export */ ZP: function() { return /* binding */ styled; } +/* harmony export */ Co: () => (/* binding */ internal_processStyles), +/* harmony export */ ZP: () => (/* binding */ styled) /* harmony export */ }); -/* harmony import */ var _emotion_styled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1066); +/* harmony import */ var _emotion_styled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1527); /** * @mui/styled-engine v5.14.10 * @@ -3217,13 +3287,13 @@ function useControlled(_ref) { /* eslint-disable no-underscore-dangle */ function styled(tag, options) { - var stylesFactory = (0,_emotion_styled__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(tag, options); + const stylesFactory = (0,_emotion_styled__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(tag, options); if (false) {} return stylesFactory; } // eslint-disable-next-line @typescript-eslint/naming-convention -var internal_processStyles = function internal_processStyles(tag, processor) { +const internal_processStyles = (tag, processor) => { // Emotion attaches all the styles as `__emotion_styles`. // Ref: https://github.com/emotion-js/emotion/blob/16d971d0da229596d6bcc39d282ba9753c9ee7cf/packages/styled/src/base.js#L186 if (Array.isArray(tag.__emotion_styles)) { @@ -3236,19 +3306,19 @@ var internal_processStyles = function internal_processStyles(tag, processor) { /***/ }), -/***/ 4199: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 8343: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ E0: function() { return /* binding */ borderRadius; }, -/* harmony export */ NL: function() { return /* binding */ borderTransform; } +/* harmony export */ E0: () => (/* binding */ borderRadius), +/* harmony export */ NL: () => (/* binding */ borderTransform) /* harmony export */ }); /* unused harmony exports border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor */ -/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8537); -/* harmony import */ var _compose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6352); -/* harmony import */ var _spacing__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(122); -/* harmony import */ var _breakpoints__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8755); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7076); +/* harmony import */ var _compose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9351); +/* harmony import */ var _spacing__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3563); +/* harmony import */ var _breakpoints__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4965); @@ -3260,88 +3330,85 @@ function borderTransform(value) { } return "".concat(value, "px solid"); } -var border = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ +const border = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ prop: 'border', themeKey: 'borders', transform: borderTransform }); -var borderTop = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ +const borderTop = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ prop: 'borderTop', themeKey: 'borders', transform: borderTransform }); -var borderRight = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ +const borderRight = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ prop: 'borderRight', themeKey: 'borders', transform: borderTransform }); -var borderBottom = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ +const borderBottom = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ prop: 'borderBottom', themeKey: 'borders', transform: borderTransform }); -var borderLeft = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ +const borderLeft = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ prop: 'borderLeft', themeKey: 'borders', transform: borderTransform }); -var borderColor = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ +const borderColor = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ prop: 'borderColor', themeKey: 'palette' }); -var borderTopColor = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ +const borderTopColor = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ prop: 'borderTopColor', themeKey: 'palette' }); -var borderRightColor = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ +const borderRightColor = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ prop: 'borderRightColor', themeKey: 'palette' }); -var borderBottomColor = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ +const borderBottomColor = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ prop: 'borderBottomColor', themeKey: 'palette' }); -var borderLeftColor = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ +const borderLeftColor = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ prop: 'borderLeftColor', themeKey: 'palette' }); // false positive // eslint-disable-next-line react/function-component-definition -var borderRadius = function borderRadius(props) { +const borderRadius = props => { if (props.borderRadius !== undefined && props.borderRadius !== null) { - var transformer = (0,_spacing__WEBPACK_IMPORTED_MODULE_1__/* .createUnaryUnit */ .eI)(props.theme, 'shape.borderRadius', 4, 'borderRadius'); - var styleFromPropValue = function styleFromPropValue(propValue) { - return { - borderRadius: (0,_spacing__WEBPACK_IMPORTED_MODULE_1__/* .getValue */ .NA)(transformer, propValue) - }; - }; + const transformer = (0,_spacing__WEBPACK_IMPORTED_MODULE_1__/* .createUnaryUnit */ .eI)(props.theme, 'shape.borderRadius', 4, 'borderRadius'); + const styleFromPropValue = propValue => ({ + borderRadius: (0,_spacing__WEBPACK_IMPORTED_MODULE_1__/* .getValue */ .NA)(transformer, propValue) + }); return (0,_breakpoints__WEBPACK_IMPORTED_MODULE_2__/* .handleBreakpoints */ .k9)(props, props.borderRadius, styleFromPropValue); } return null; }; borderRadius.propTypes = false ? 0 : {}; borderRadius.filterProps = ['borderRadius']; -var borders = (0,_compose__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius); +const borders = (0,_compose__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius); /* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (borders))); /***/ }), -/***/ 8755: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 4965: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ L7: function() { return /* binding */ removeUnusedBreakpoints; }, -/* harmony export */ P$: function() { return /* binding */ resolveBreakpointValues; }, -/* harmony export */ VO: function() { return /* binding */ values; }, -/* harmony export */ W8: function() { return /* binding */ createEmptyBreakpointObject; }, -/* harmony export */ dt: function() { return /* binding */ mergeBreakpointsInOrder; }, -/* harmony export */ k9: function() { return /* binding */ handleBreakpoints; } +/* harmony export */ L7: () => (/* binding */ removeUnusedBreakpoints), +/* harmony export */ P$: () => (/* binding */ resolveBreakpointValues), +/* harmony export */ VO: () => (/* binding */ values), +/* harmony export */ W8: () => (/* binding */ createEmptyBreakpointObject), +/* harmony export */ dt: () => (/* binding */ mergeBreakpointsInOrder), +/* harmony export */ k9: () => (/* binding */ handleBreakpoints) /* harmony export */ }); /* unused harmony export computeBreakpointsBase */ -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8303); - +/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1754); @@ -3349,7 +3416,7 @@ var borders = (0,_compose__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(bord // The breakpoint **start** at this value. // For instance with the first breakpoint xs: [xs, sm[. -var values = { +const values = { xs: 0, // phone sm: 600, @@ -3361,52 +3428,50 @@ var values = { xl: 1536 // large screen }; -var defaultBreakpoints = { +const defaultBreakpoints = { // Sorted ASC by size. That's important. // It can't be configured as it's used statically for propTypes. keys: ['xs', 'sm', 'md', 'lg', 'xl'], - up: function up(key) { - return "@media (min-width:".concat(values[key], "px)"); - } + up: key => "@media (min-width:".concat(values[key], "px)") }; function handleBreakpoints(props, propValue, styleFromPropValue) { - var theme = props.theme || {}; + const theme = props.theme || {}; if (Array.isArray(propValue)) { - var themeBreakpoints = theme.breakpoints || defaultBreakpoints; - return propValue.reduce(function (acc, item, index) { + const themeBreakpoints = theme.breakpoints || defaultBreakpoints; + return propValue.reduce((acc, item, index) => { acc[themeBreakpoints.up(themeBreakpoints.keys[index])] = styleFromPropValue(propValue[index]); return acc; }, {}); } if (typeof propValue === 'object') { - var _themeBreakpoints = theme.breakpoints || defaultBreakpoints; - return Object.keys(propValue).reduce(function (acc, breakpoint) { + const themeBreakpoints = theme.breakpoints || defaultBreakpoints; + return Object.keys(propValue).reduce((acc, breakpoint) => { // key is breakpoint - if (Object.keys(_themeBreakpoints.values || values).indexOf(breakpoint) !== -1) { - var mediaKey = _themeBreakpoints.up(breakpoint); + if (Object.keys(themeBreakpoints.values || values).indexOf(breakpoint) !== -1) { + const mediaKey = themeBreakpoints.up(breakpoint); acc[mediaKey] = styleFromPropValue(propValue[breakpoint], breakpoint); } else { - var cssKey = breakpoint; + const cssKey = breakpoint; acc[cssKey] = propValue[cssKey]; } return acc; }, {}); } - var output = styleFromPropValue(propValue); + const output = styleFromPropValue(propValue); return output; } function breakpoints(styleFunction) { // false positive // eslint-disable-next-line react/function-component-definition - var newStyleFunction = function newStyleFunction(props) { - var theme = props.theme || {}; - var base = styleFunction(props); - var themeBreakpoints = theme.breakpoints || defaultBreakpoints; - var extended = themeBreakpoints.keys.reduce(function (acc, key) { + const newStyleFunction = props => { + const theme = props.theme || {}; + const base = styleFunction(props); + const themeBreakpoints = theme.breakpoints || defaultBreakpoints; + const extended = themeBreakpoints.keys.reduce((acc, key) => { if (props[key]) { acc = acc || {}; acc[themeBreakpoints.up(key)] = styleFunction(_extends({ - theme: theme + theme }, props[key])); } return acc; @@ -3414,23 +3479,23 @@ function breakpoints(styleFunction) { return merge(base, extended); }; newStyleFunction.propTypes = false ? 0 : {}; - newStyleFunction.filterProps = ['xs', 'sm', 'md', 'lg', 'xl'].concat(_toConsumableArray(styleFunction.filterProps)); + newStyleFunction.filterProps = ['xs', 'sm', 'md', 'lg', 'xl', ...styleFunction.filterProps]; return newStyleFunction; } function createEmptyBreakpointObject() { - var breakpointsInput = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + let breakpointsInput = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var _breakpointsInput$key; - var breakpointsInOrder = (_breakpointsInput$key = breakpointsInput.keys) == null ? void 0 : _breakpointsInput$key.reduce(function (acc, key) { - var breakpointStyleKey = breakpointsInput.up(key); + const breakpointsInOrder = (_breakpointsInput$key = breakpointsInput.keys) == null ? void 0 : _breakpointsInput$key.reduce((acc, key) => { + const breakpointStyleKey = breakpointsInput.up(key); acc[breakpointStyleKey] = {}; return acc; }, {}); return breakpointsInOrder || {}; } function removeUnusedBreakpoints(breakpointKeys, style) { - return breakpointKeys.reduce(function (acc, key) { - var breakpointOutput = acc[key]; - var isBreakpointUnused = !breakpointOutput || Object.keys(breakpointOutput).length === 0; + return breakpointKeys.reduce((acc, key) => { + const breakpointOutput = acc[key]; + const isBreakpointUnused = !breakpointOutput || Object.keys(breakpointOutput).length === 0; if (isBreakpointUnused) { delete acc[key]; } @@ -3438,13 +3503,11 @@ function removeUnusedBreakpoints(breakpointKeys, style) { }, style); } function mergeBreakpointsInOrder(breakpointsInput) { - var emptyBreakpoints = createEmptyBreakpointObject(breakpointsInput); + const emptyBreakpoints = createEmptyBreakpointObject(breakpointsInput); for (var _len = arguments.length, styles = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { styles[_key - 1] = arguments[_key]; } - var mergedOutput = [emptyBreakpoints].concat(styles).reduce(function (prev, next) { - return (0,_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(prev, next); - }, {}); + const mergedOutput = [emptyBreakpoints, ...styles].reduce((prev, next) => (0,_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(prev, next), {}); return removeUnusedBreakpoints(Object.keys(emptyBreakpoints), mergedOutput); } @@ -3456,16 +3519,16 @@ function computeBreakpointsBase(breakpointValues, themeBreakpoints) { if (typeof breakpointValues !== 'object') { return {}; } - var base = {}; - var breakpointsKeys = Object.keys(themeBreakpoints); + const base = {}; + const breakpointsKeys = Object.keys(themeBreakpoints); if (Array.isArray(breakpointValues)) { - breakpointsKeys.forEach(function (breakpoint, i) { + breakpointsKeys.forEach((breakpoint, i) => { if (i < breakpointValues.length) { base[breakpoint] = true; } }); } else { - breakpointsKeys.forEach(function (breakpoint) { + breakpointsKeys.forEach(breakpoint => { if (breakpointValues[breakpoint] != null) { base[breakpoint] = true; } @@ -3474,16 +3537,18 @@ function computeBreakpointsBase(breakpointValues, themeBreakpoints) { return base; } function resolveBreakpointValues(_ref) { - var breakpointValues = _ref.values, - themeBreakpoints = _ref.breakpoints, - customBase = _ref.base; - var base = customBase || computeBreakpointsBase(breakpointValues, themeBreakpoints); - var keys = Object.keys(base); + let { + values: breakpointValues, + breakpoints: themeBreakpoints, + base: customBase + } = _ref; + const base = customBase || computeBreakpointsBase(breakpointValues, themeBreakpoints); + const keys = Object.keys(base); if (keys.length === 0) { return breakpointValues; } - var previous; - return keys.reduce(function (acc, breakpoint, i) { + let previous; + return keys.reduce((acc, breakpoint, i) => { if (Array.isArray(breakpointValues)) { acc[breakpoint] = breakpointValues[i] != null ? breakpointValues[i] : breakpointValues[previous]; previous = i; @@ -3500,18 +3565,18 @@ function resolveBreakpointValues(_ref) { /***/ }), -/***/ 5806: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 2269: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ $n: function() { return /* binding */ lighten; }, -/* harmony export */ Fq: function() { return /* binding */ alpha; }, -/* harmony export */ _j: function() { return /* binding */ darken; }, -/* harmony export */ mi: function() { return /* binding */ getContrastRatio; } +/* harmony export */ $n: () => (/* binding */ lighten), +/* harmony export */ Fq: () => (/* binding */ alpha), +/* harmony export */ _j: () => (/* binding */ darken), +/* harmony export */ mi: () => (/* binding */ getContrastRatio) /* harmony export */ }); /* unused harmony exports hexToRgb, decomposeColor, colorChannel, private_safeColorChannel, recomposeColor, rgbToHex, hslToRgb, getLuminance, private_safeAlpha, private_safeDarken, private_safeLighten, emphasize, private_safeEmphasize */ -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8237); +/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(310); /* eslint-disable @typescript-eslint/naming-convention */ /** @@ -3522,8 +3587,8 @@ function resolveBreakpointValues(_ref) { * @returns {number} A number in the range [min, max] */ function clamp(value) { - var min = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; - var max = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1; + let min = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; + let max = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1; if (false) {} return Math.min(Math.max(min, value), max); } @@ -3535,19 +3600,17 @@ function clamp(value) { */ function hexToRgb(color) { color = color.slice(1); - var re = new RegExp(".{1,".concat(color.length >= 6 ? 2 : 1, "}"), 'g'); - var colors = color.match(re); + const re = new RegExp(".{1,".concat(color.length >= 6 ? 2 : 1, "}"), 'g'); + let colors = color.match(re); if (colors && colors[0].length === 1) { - colors = colors.map(function (n) { - return n + n; - }); + colors = colors.map(n => n + n); } - return colors ? "rgb".concat(colors.length === 4 ? 'a' : '', "(").concat(colors.map(function (n, index) { + return colors ? "rgb".concat(colors.length === 4 ? 'a' : '', "(").concat(colors.map((n, index) => { return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000; }).join(', '), ")") : ''; } function intToHex(int) { - var hex = int.toString(16); + const hex = int.toString(16); return hex.length === 1 ? "0".concat(hex) : hex; } @@ -3566,13 +3629,13 @@ function decomposeColor(color) { if (color.charAt(0) === '#') { return decomposeColor(hexToRgb(color)); } - var marker = color.indexOf('('); - var type = color.substring(0, marker); + const marker = color.indexOf('('); + const type = color.substring(0, marker); if (['rgb', 'rgba', 'hsl', 'hsla', 'color'].indexOf(type) === -1) { throw new Error( false ? 0 : (0,_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(9, color)); } - var values = color.substring(marker + 1, color.length - 1); - var colorSpace; + let values = color.substring(marker + 1, color.length - 1); + let colorSpace; if (type === 'color') { values = values.split(' '); colorSpace = values.shift(); @@ -3585,13 +3648,11 @@ function decomposeColor(color) { } else { values = values.split(','); } - values = values.map(function (value) { - return parseFloat(value); - }); + values = values.map(value => parseFloat(value)); return { - type: type, - values: values, - colorSpace: colorSpace + type, + values, + colorSpace }; } @@ -3601,13 +3662,11 @@ function decomposeColor(color) { * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color() * @returns {string} - The channel for the color, that can be used in rgba or hsla colors */ -var colorChannel = function colorChannel(color) { - var decomposedColor = decomposeColor(color); - return decomposedColor.values.slice(0, 3).map(function (val, idx) { - return decomposedColor.type.indexOf('hsl') !== -1 && idx !== 0 ? "".concat(val, "%") : val; - }).join(' '); +const colorChannel = color => { + const decomposedColor = decomposeColor(color); + return decomposedColor.values.slice(0, 3).map((val, idx) => decomposedColor.type.indexOf('hsl') !== -1 && idx !== 0 ? "".concat(val, "%") : val).join(' '); }; -var private_safeColorChannel = function private_safeColorChannel(color, warning) { +const private_safeColorChannel = (color, warning) => { try { return colorChannel(color); } catch (error) { @@ -3624,14 +3683,16 @@ var private_safeColorChannel = function private_safeColorChannel(color, warning) * @returns {string} A CSS color string */ function recomposeColor(color) { - var type = color.type, - colorSpace = color.colorSpace; - var values = color.values; + const { + type, + colorSpace + } = color; + let { + values + } = color; if (type.indexOf('rgb') !== -1) { // Only convert the first 3 values to int (i.e. not alpha) - values = values.map(function (n, i) { - return i < 3 ? parseInt(n, 10) : n; - }); + values = values.map((n, i) => i < 3 ? parseInt(n, 10) : n); } else if (type.indexOf('hsl') !== -1) { values[1] = "".concat(values[1], "%"); values[2] = "".concat(values[2], "%"); @@ -3654,11 +3715,10 @@ function rgbToHex(color) { if (color.indexOf('#') === 0) { return color; } - var _decomposeColor = decomposeColor(color), - values = _decomposeColor.values; - return "#".concat(values.map(function (n, i) { - return intToHex(i === 3 ? Math.round(255 * n) : n); - }).join('')); + const { + values + } = decomposeColor(color); + return "#".concat(values.map((n, i) => intToHex(i === 3 ? Math.round(255 * n) : n)).join('')); } /** @@ -3668,24 +3728,25 @@ function rgbToHex(color) { */ function hslToRgb(color) { color = decomposeColor(color); - var _color = color, - values = _color.values; - var h = values[0]; - var s = values[1] / 100; - var l = values[2] / 100; - var a = s * Math.min(l, 1 - l); - var f = function f(n) { - var k = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (n + h / 30) % 12; + const { + values + } = color; + const h = values[0]; + const s = values[1] / 100; + const l = values[2] / 100; + const a = s * Math.min(l, 1 - l); + const f = function (n) { + let k = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (n + h / 30) % 12; return l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1); }; - var type = 'rgb'; - var rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)]; + let type = 'rgb'; + const rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)]; if (color.type === 'hsla') { type += 'a'; rgb.push(values[3]); } return recomposeColor({ - type: type, + type, values: rgb }); } @@ -3699,13 +3760,13 @@ function hslToRgb(color) { */ function getLuminance(color) { color = decomposeColor(color); - var rgb = color.type === 'hsl' || color.type === 'hsla' ? decomposeColor(hslToRgb(color)).values : color.values; - rgb = rgb.map(function (val) { + let rgb = color.type === 'hsl' || color.type === 'hsla' ? decomposeColor(hslToRgb(color)).values : color.values; + rgb = rgb.map(val => { if (color.type !== 'color') { val /= 255; // normalized } - return val <= 0.03928 ? val / 12.92 : Math.pow((val + 0.055) / 1.055, 2.4); + return val <= 0.03928 ? val / 12.92 : ((val + 0.055) / 1.055) ** 2.4; }); // Truncate at 3 digits @@ -3721,8 +3782,8 @@ function getLuminance(color) { * @returns {number} A contrast ratio value in the range 0 - 21. */ function getContrastRatio(foreground, background) { - var lumA = getLuminance(foreground); - var lumB = getLuminance(background); + const lumA = getLuminance(foreground); + const lumB = getLuminance(background); return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05); } @@ -3767,7 +3828,7 @@ function darken(color, coefficient) { if (color.type.indexOf('hsl') !== -1) { color.values[2] *= 1 - coefficient; } else if (color.type.indexOf('rgb') !== -1 || color.type.indexOf('color') !== -1) { - for (var i = 0; i < 3; i += 1) { + for (let i = 0; i < 3; i += 1) { color.values[i] *= 1 - coefficient; } } @@ -3794,12 +3855,12 @@ function lighten(color, coefficient) { if (color.type.indexOf('hsl') !== -1) { color.values[2] += (100 - color.values[2]) * coefficient; } else if (color.type.indexOf('rgb') !== -1) { - for (var i = 0; i < 3; i += 1) { + for (let i = 0; i < 3; i += 1) { color.values[i] += (255 - color.values[i]) * coefficient; } } else if (color.type.indexOf('color') !== -1) { - for (var _i = 0; _i < 3; _i += 1) { - color.values[_i] += (1 - color.values[_i]) * coefficient; + for (let i = 0; i < 3; i += 1) { + color.values[i] += (1 - color.values[i]) * coefficient; } } return recomposeColor(color); @@ -3821,7 +3882,7 @@ function private_safeLighten(color, coefficient, warning) { * @returns {string} A CSS color string. Hex input values are returned as rgb */ function emphasize(color) { - var coefficient = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0.15; + let coefficient = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0.15; return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient); } function private_safeEmphasize(color, coefficient, warning) { @@ -3835,18 +3896,21 @@ function private_safeEmphasize(color, coefficient, warning) { /***/ }), -/***/ 6352: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 9351: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -/* harmony import */ var _merge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4575); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _merge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3013); function compose() { for (var _len = arguments.length, styles = new Array(_len), _key = 0; _key < _len; _key++) { styles[_key] = arguments[_key]; } - var handlers = styles.reduce(function (acc, style) { - style.filterProps.forEach(function (prop) { + const handlers = styles.reduce((acc, style) => { + style.filterProps.forEach(prop => { acc[prop] = style; }); return acc; @@ -3854,8 +3918,8 @@ function compose() { // false positive // eslint-disable-next-line react/function-component-definition - var fn = function fn(props) { - return Object.keys(props).reduce(function (acc, prop) { + const fn = props => { + return Object.keys(props).reduce((acc, prop) => { if (handlers[prop]) { return (0,_merge__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(acc, handlers[prop](props)); } @@ -3863,37 +3927,31 @@ function compose() { }, {}); }; fn.propTypes = false ? 0 : {}; - fn.filterProps = styles.reduce(function (acc, style) { - return acc.concat(style.filterProps); - }, []); + fn.filterProps = styles.reduce((acc, style) => acc.concat(style.filterProps), []); return fn; } -/* harmony default export */ __webpack_exports__.Z = (compose); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (compose); /***/ }), -/***/ 7271: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 4891: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ ZP: function() { return /* binding */ createStyled; }, -/* harmony export */ x9: function() { return /* binding */ shouldForwardProp; } +/* harmony export */ ZP: () => (/* binding */ createStyled), +/* harmony export */ x9: () => (/* binding */ shouldForwardProp) /* harmony export */ }); /* unused harmony export systemDefaultTheme */ -/* harmony import */ var _home_runner_work_kiss_translator_kiss_translator_node_modules_pnpm_babel_runtime_7_22_15_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(9982); -/* harmony import */ var _home_runner_work_kiss_translator_kiss_translator_node_modules_pnpm_babel_runtime_7_22_15_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(7358); /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(45); /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8957); /* harmony import */ var _mui_styled_engine__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9913); -/* harmony import */ var _createTheme__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4215); -/* harmony import */ var _propsToClassKey__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5814); -/* harmony import */ var _styleFunctionSx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4122); +/* harmony import */ var _createTheme__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8311); +/* harmony import */ var _propsToClassKey__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6211); +/* harmony import */ var _styleFunctionSx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7761); - - -var _excluded = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"]; +const _excluded = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"]; /* eslint-disable no-underscore-dangle */ @@ -3912,34 +3970,35 @@ function isStringTag(tag) { // it's a lowercase character tag.charCodeAt(0) > 96; } -var getStyleOverrides = function getStyleOverrides(name, theme) { +const getStyleOverrides = (name, theme) => { if (theme.components && theme.components[name] && theme.components[name].styleOverrides) { return theme.components[name].styleOverrides; } return null; }; -var getVariantStyles = function getVariantStyles(name, theme) { - var variants = []; +const getVariantStyles = (name, theme) => { + let variants = []; if (theme && theme.components && theme.components[name] && theme.components[name].variants) { variants = theme.components[name].variants; } - var variantsStyles = {}; - variants.forEach(function (definition) { - var key = (0,_propsToClassKey__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(definition.props); + const variantsStyles = {}; + variants.forEach(definition => { + const key = (0,_propsToClassKey__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(definition.props); variantsStyles[key] = definition.style; }); return variantsStyles; }; -var variantsResolver = function variantsResolver(props, styles, theme, name) { +const variantsResolver = (props, styles, theme, name) => { var _theme$components; - var _props$ownerState = props.ownerState, - ownerState = _props$ownerState === void 0 ? {} : _props$ownerState; - var variantsStyles = []; - var themeVariants = theme == null || (_theme$components = theme.components) == null || (_theme$components = _theme$components[name]) == null ? void 0 : _theme$components.variants; + const { + ownerState = {} + } = props; + const variantsStyles = []; + const themeVariants = theme == null || (_theme$components = theme.components) == null || (_theme$components = _theme$components[name]) == null ? void 0 : _theme$components.variants; if (themeVariants) { - themeVariants.forEach(function (themeVariant) { - var isMatch = true; - Object.keys(themeVariant.props).forEach(function (key) { + themeVariants.forEach(themeVariant => { + let isMatch = true; + Object.keys(themeVariant.props).forEach(key => { if (ownerState[key] !== themeVariant.props[key] && props[key] !== themeVariant.props[key]) { isMatch = false; } @@ -3956,70 +4015,68 @@ var variantsResolver = function variantsResolver(props, styles, theme, name) { function shouldForwardProp(prop) { return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as'; } -var systemDefaultTheme = (0,_createTheme__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(); -var lowercaseFirstLetter = function lowercaseFirstLetter(string) { +const systemDefaultTheme = (0,_createTheme__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(); +const lowercaseFirstLetter = string => { if (!string) { return string; } return string.charAt(0).toLowerCase() + string.slice(1); }; function resolveTheme(_ref) { - var defaultTheme = _ref.defaultTheme, - theme = _ref.theme, - themeId = _ref.themeId; + let { + defaultTheme, + theme, + themeId + } = _ref; return isEmpty(theme) ? defaultTheme : theme[themeId] || theme; } function defaultOverridesResolver(slot) { if (!slot) { return null; } - return function (props, styles) { - return styles[slot]; - }; + return (props, styles) => styles[slot]; } function createStyled() { - var input = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var themeId = input.themeId, - _input$defaultTheme = input.defaultTheme, - defaultTheme = _input$defaultTheme === void 0 ? systemDefaultTheme : _input$defaultTheme, - _input$rootShouldForw = input.rootShouldForwardProp, - rootShouldForwardProp = _input$rootShouldForw === void 0 ? shouldForwardProp : _input$rootShouldForw, - _input$slotShouldForw = input.slotShouldForwardProp, - slotShouldForwardProp = _input$slotShouldForw === void 0 ? shouldForwardProp : _input$slotShouldForw; - var systemSx = function systemSx(props) { + let input = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + const { + themeId, + defaultTheme = systemDefaultTheme, + rootShouldForwardProp = shouldForwardProp, + slotShouldForwardProp = shouldForwardProp + } = input; + const systemSx = props => { return (0,_styleFunctionSx__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({}, props, { theme: resolveTheme((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({}, props, { - defaultTheme: defaultTheme, - themeId: themeId + defaultTheme, + themeId })) })); }; systemSx.__mui_systemSx = true; return function (tag) { - var inputOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + let inputOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; // Filter out the `sx` style function from the previous styled component to prevent unnecessary styles generated by the composite components. - (0,_mui_styled_engine__WEBPACK_IMPORTED_MODULE_4__/* .internal_processStyles */ .Co)(tag, function (styles) { - return styles.filter(function (style) { - return !(style != null && style.__mui_systemSx); - }); - }); - var componentName = inputOptions.name, - componentSlot = inputOptions.slot, - inputSkipVariantsResolver = inputOptions.skipVariantsResolver, - inputSkipSx = inputOptions.skipSx, - _inputOptions$overrid = inputOptions.overridesResolver, - overridesResolver = _inputOptions$overrid === void 0 ? defaultOverridesResolver(lowercaseFirstLetter(componentSlot)) : _inputOptions$overrid, + (0,_mui_styled_engine__WEBPACK_IMPORTED_MODULE_4__/* .internal_processStyles */ .Co)(tag, styles => styles.filter(style => !(style != null && style.__mui_systemSx))); + const { + name: componentName, + slot: componentSlot, + skipVariantsResolver: inputSkipVariantsResolver, + skipSx: inputSkipSx, + // TODO v6: remove `lowercaseFirstLetter()` in the next major release + // For more details: https://github.com/mui/material-ui/pull/37908 + overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(componentSlot)) + } = inputOptions, options = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(inputOptions, _excluded); // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots. - var skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver : + const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver : // TODO v6: remove `Root` in the next major release // For more details: https://github.com/mui/material-ui/pull/37908 componentSlot && componentSlot !== 'Root' && componentSlot !== 'root' || false; - var skipSx = inputSkipSx || false; - var label; + const skipSx = inputSkipSx || false; + let label; if (false) {} - var shouldForwardPropOption = shouldForwardProp; + let shouldForwardPropOption = shouldForwardProp; // TODO v6: remove `Root` in the next major release // For more details: https://github.com/mui/material-ui/pull/37908 @@ -4032,43 +4089,41 @@ function createStyled() { // for string (html) tag, preserve the behavior in emotion & styled-components. shouldForwardPropOption = undefined; } - var defaultStyledResolver = (0,_mui_styled_engine__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)(tag, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({ + const defaultStyledResolver = (0,_mui_styled_engine__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP)(tag, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({ shouldForwardProp: shouldForwardPropOption, - label: label + label }, options)); - var muiStyledResolver = function muiStyledResolver(styleArg) { + const muiStyledResolver = function (styleArg) { for (var _len = arguments.length, expressions = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { expressions[_key - 1] = arguments[_key]; } - var expressionsWithDefaultTheme = expressions ? expressions.map(function (stylesArg) { + const expressionsWithDefaultTheme = expressions ? expressions.map(stylesArg => { // On the server Emotion doesn't use React.forwardRef for creating components, so the created // component stays as a function. This condition makes sure that we do not interpolate functions // which are basically components used as a selectors. - return typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg ? function (props) { + return typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg ? props => { return stylesArg((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({}, props, { theme: resolveTheme((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({}, props, { - defaultTheme: defaultTheme, - themeId: themeId + defaultTheme, + themeId })) })); } : stylesArg; }) : []; - var transformedStyleArg = styleArg; + let transformedStyleArg = styleArg; if (componentName && overridesResolver) { - expressionsWithDefaultTheme.push(function (props) { - var theme = resolveTheme((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({}, props, { - defaultTheme: defaultTheme, - themeId: themeId + expressionsWithDefaultTheme.push(props => { + const theme = resolveTheme((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({}, props, { + defaultTheme, + themeId })); - var styleOverrides = getStyleOverrides(componentName, theme); + const styleOverrides = getStyleOverrides(componentName, theme); if (styleOverrides) { - var resolvedStyleOverrides = {}; - Object.entries(styleOverrides).forEach(function (_ref2) { - var _ref3 = (0,_home_runner_work_kiss_translator_kiss_translator_node_modules_pnpm_babel_runtime_7_22_15_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(_ref2, 2), - slotKey = _ref3[0], - slotStyle = _ref3[1]; + const resolvedStyleOverrides = {}; + Object.entries(styleOverrides).forEach(_ref2 => { + let [slotKey, slotStyle] = _ref2; resolvedStyleOverrides[slotKey] = typeof slotStyle === 'function' ? slotStyle((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({}, props, { - theme: theme + theme })) : slotStyle; }); return overridesResolver(props, resolvedStyleOverrides); @@ -4077,10 +4132,10 @@ function createStyled() { }); } if (componentName && !skipVariantsResolver) { - expressionsWithDefaultTheme.push(function (props) { - var theme = resolveTheme((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({}, props, { - defaultTheme: defaultTheme, - themeId: themeId + expressionsWithDefaultTheme.push(props => { + const theme = resolveTheme((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({}, props, { + defaultTheme, + themeId })); return variantsResolver(props, getVariantStyles(componentName, theme), theme, componentName); }); @@ -4088,29 +4143,27 @@ function createStyled() { if (!skipSx) { expressionsWithDefaultTheme.push(systemSx); } - var numOfCustomFnsApplied = expressionsWithDefaultTheme.length - expressions.length; + const numOfCustomFnsApplied = expressionsWithDefaultTheme.length - expressions.length; if (Array.isArray(styleArg) && numOfCustomFnsApplied > 0) { - var placeholders = new Array(numOfCustomFnsApplied).fill(''); + const placeholders = new Array(numOfCustomFnsApplied).fill(''); // If the type is array, than we need to add placeholders in the template for the overrides, variants and the sx styles. - transformedStyleArg = [].concat((0,_home_runner_work_kiss_translator_kiss_translator_node_modules_pnpm_babel_runtime_7_22_15_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(styleArg), (0,_home_runner_work_kiss_translator_kiss_translator_node_modules_pnpm_babel_runtime_7_22_15_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(placeholders)); - transformedStyleArg.raw = [].concat((0,_home_runner_work_kiss_translator_kiss_translator_node_modules_pnpm_babel_runtime_7_22_15_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(styleArg.raw), (0,_home_runner_work_kiss_translator_kiss_translator_node_modules_pnpm_babel_runtime_7_22_15_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(placeholders)); + transformedStyleArg = [...styleArg, ...placeholders]; + transformedStyleArg.raw = [...styleArg.raw, ...placeholders]; } else if (typeof styleArg === 'function' && // On the server Emotion doesn't use React.forwardRef for creating components, so the created // component stays as a function. This condition makes sure that we do not interpolate functions // which are basically components used as a selectors. styleArg.__emotion_real !== styleArg) { // If the type is function, we need to define the default theme. - transformedStyleArg = function transformedStyleArg(props) { - return styleArg((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({}, props, { - theme: resolveTheme((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({}, props, { - defaultTheme: defaultTheme, - themeId: themeId - })) - })); - }; + transformedStyleArg = props => styleArg((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({}, props, { + theme: resolveTheme((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({}, props, { + defaultTheme, + themeId + })) + })); } - var Component = defaultStyledResolver.apply(void 0, [transformedStyleArg].concat((0,_home_runner_work_kiss_translator_kiss_translator_node_modules_pnpm_babel_runtime_7_22_15_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(expressionsWithDefaultTheme))); - if (false) { var displayName; } + const Component = defaultStyledResolver(transformedStyleArg, ...expressionsWithDefaultTheme); + if (false) {} if (tag.muiName) { Component.muiName = tag.muiName; } @@ -4125,71 +4178,69 @@ function createStyled() { /***/ }), -/***/ 9484: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 7718: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ createBreakpoints; } +/* harmony export */ Z: () => (/* binding */ createBreakpoints) /* harmony export */ }); /* unused harmony export breakpointKeys */ -/* harmony import */ var _home_runner_work_kiss_translator_kiss_translator_node_modules_pnpm_babel_runtime_7_22_15_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(689); -/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(45); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(45); /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8957); - -var _excluded = ["values", "unit", "step"]; +const _excluded = ["values", "unit", "step"]; // Sorted ASC by size. That's important. // It can't be configured as it's used statically for propTypes. -var breakpointKeys = (/* unused pure expression or super */ null && (['xs', 'sm', 'md', 'lg', 'xl'])); -var sortBreakpointsValues = function sortBreakpointsValues(values) { - var breakpointsAsArray = Object.keys(values).map(function (key) { - return { - key: key, - val: values[key] - }; - }) || []; +const breakpointKeys = (/* unused pure expression or super */ null && (['xs', 'sm', 'md', 'lg', 'xl'])); +const sortBreakpointsValues = values => { + const breakpointsAsArray = Object.keys(values).map(key => ({ + key, + val: values[key] + })) || []; // Sort in ascending order - breakpointsAsArray.sort(function (breakpoint1, breakpoint2) { - return breakpoint1.val - breakpoint2.val; - }); - return breakpointsAsArray.reduce(function (acc, obj) { - return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, acc, (0,_home_runner_work_kiss_translator_kiss_translator_node_modules_pnpm_babel_runtime_7_22_15_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)({}, obj.key, obj.val)); + breakpointsAsArray.sort((breakpoint1, breakpoint2) => breakpoint1.val - breakpoint2.val); + return breakpointsAsArray.reduce((acc, obj) => { + return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, acc, { + [obj.key]: obj.val + }); }, {}); }; // Keep in mind that @media is inclusive by the CSS specification. function createBreakpoints(breakpoints) { - var _breakpoints$values = breakpoints.values, - values = _breakpoints$values === void 0 ? { - xs: 0, - // phone - sm: 600, - // tablet - md: 900, - // small laptop - lg: 1200, - // desktop - xl: 1536 // large screen - } : _breakpoints$values, - _breakpoints$unit = breakpoints.unit, - unit = _breakpoints$unit === void 0 ? 'px' : _breakpoints$unit, - _breakpoints$step = breakpoints.step, - step = _breakpoints$step === void 0 ? 5 : _breakpoints$step, - other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(breakpoints, _excluded); - var sortedValues = sortBreakpointsValues(values); - var keys = Object.keys(sortedValues); + const { + // The breakpoint **start** at this value. + // For instance with the first breakpoint xs: [xs, sm). + values = { + xs: 0, + // phone + sm: 600, + // tablet + md: 900, + // small laptop + lg: 1200, + // desktop + xl: 1536 // large screen + }, + + unit = 'px', + step = 5 + } = breakpoints, + other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(breakpoints, _excluded); + const sortedValues = sortBreakpointsValues(values); + const keys = Object.keys(sortedValues); function up(key) { - var value = typeof values[key] === 'number' ? values[key] : key; + const value = typeof values[key] === 'number' ? values[key] : key; return "@media (min-width:".concat(value).concat(unit, ")"); } function down(key) { - var value = typeof values[key] === 'number' ? values[key] : key; + const value = typeof values[key] === 'number' ? values[key] : key; return "@media (max-width:".concat(value - step / 100).concat(unit, ")"); } function between(start, end) { - var endIndex = keys.indexOf(end); + const endIndex = keys.indexOf(end); return "@media (min-width:".concat(typeof values[start] === 'number' ? values[start] : start).concat(unit, ") and ") + "(max-width:".concat((endIndex !== -1 && typeof values[keys[endIndex]] === 'number' ? values[keys[endIndex]] : end) - step / 100).concat(unit, ")"); } function only(key) { @@ -4200,7 +4251,7 @@ function createBreakpoints(breakpoints) { } function not(key) { // handle first and last key separately, for better readability - var keyIndex = keys.indexOf(key); + const keyIndex = keys.indexOf(key); if (keyIndex === 0) { return up(keys[1]); } @@ -4210,27 +4261,27 @@ function createBreakpoints(breakpoints) { return between(key, keys[keys.indexOf(key) + 1]).replace('@media', '@media not all and'); } return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({ - keys: keys, + keys, values: sortedValues, - up: up, - down: down, - between: between, - only: only, - not: not, - unit: unit + up, + down, + between, + only, + not, + unit }, other); } /***/ }), -/***/ 2429: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 2893: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ createSpacing; } +/* harmony export */ Z: () => (/* binding */ createSpacing) /* harmony export */ }); -/* harmony import */ var _spacing__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(122); +/* harmony import */ var _spacing__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3563); // The different signatures imply different meaning for their arguments that can't be expressed structurally. @@ -4239,7 +4290,7 @@ function createBreakpoints(breakpoints) { /* tslint:enable:unified-signatures */ function createSpacing() { - var spacingInput = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 8; + let spacingInput = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 8; // Already transformed. if (spacingInput.mui) { return spacingInput; @@ -4248,17 +4299,17 @@ function createSpacing() { // Material Design layouts are visually balanced. Most measurements align to an 8dp grid, which aligns both spacing and the overall layout. // Smaller components, such as icons, can align to a 4dp grid. // https://m2.material.io/design/layout/understanding-layout.html - var transform = (0,_spacing__WEBPACK_IMPORTED_MODULE_0__/* .createUnarySpacing */ .hB)({ + const transform = (0,_spacing__WEBPACK_IMPORTED_MODULE_0__/* .createUnarySpacing */ .hB)({ spacing: spacingInput }); - var spacing = function spacing() { + const spacing = function () { for (var _len = arguments.length, argsInput = new Array(_len), _key = 0; _key < _len; _key++) { argsInput[_key] = arguments[_key]; } if (false) {} - var args = argsInput.length === 0 ? [1] : argsInput; - return args.map(function (argument) { - var output = transform(argument); + const args = argsInput.length === 0 ? [1] : argsInput; + return args.map(argument => { + const output = transform(argument); return typeof output === 'number' ? "".concat(output, "px") : output; }).join(' '); }; @@ -4268,21 +4319,24 @@ function createSpacing() { /***/ }), -/***/ 4215: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 8311: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(8957); /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(45); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8303); -/* harmony import */ var _createBreakpoints__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9484); -/* harmony import */ var _shape__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(4607); -/* harmony import */ var _createSpacing__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2429); -/* harmony import */ var _styleFunctionSx_styleFunctionSx__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(4122); -/* harmony import */ var _styleFunctionSx_defaultSxConfig__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(926); +/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1754); +/* harmony import */ var _createBreakpoints__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7718); +/* harmony import */ var _shape__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(8089); +/* harmony import */ var _createSpacing__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2893); +/* harmony import */ var _styleFunctionSx_styleFunctionSx__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(7761); +/* harmony import */ var _styleFunctionSx_defaultSxConfig__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(3094); -var _excluded = ["breakpoints", "palette", "spacing", "shape"]; +const _excluded = ["breakpoints", "palette", "spacing", "shape"]; @@ -4290,34 +4344,31 @@ var _excluded = ["breakpoints", "palette", "spacing", "shape"]; function createTheme() { - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var _options$breakpoints = options.breakpoints, - breakpointsInput = _options$breakpoints === void 0 ? {} : _options$breakpoints, - _options$palette = options.palette, - paletteInput = _options$palette === void 0 ? {} : _options$palette, - spacingInput = options.spacing, - _options$shape = options.shape, - shapeInput = _options$shape === void 0 ? {} : _options$shape, + let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + const { + breakpoints: breakpointsInput = {}, + palette: paletteInput = {}, + spacing: spacingInput, + shape: shapeInput = {} + } = options, other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(options, _excluded); - var breakpoints = (0,_createBreakpoints__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(breakpointsInput); - var spacing = (0,_createSpacing__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(spacingInput); - var muiTheme = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({ - breakpoints: breakpoints, + const breakpoints = (0,_createBreakpoints__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(breakpointsInput); + const spacing = (0,_createSpacing__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(spacingInput); + let muiTheme = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)({ + breakpoints, direction: 'ltr', components: {}, // Inject component definitions. palette: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ mode: 'light' }, paletteInput), - spacing: spacing, + spacing, shape: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({}, _shape__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, shapeInput) }, other); for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { args[_key - 1] = arguments[_key]; } - muiTheme = args.reduce(function (acc, argument) { - return (0,_mui_utils__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(acc, argument); - }, muiTheme); + muiTheme = args.reduce((acc, argument) => (0,_mui_utils__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(acc, argument), muiTheme); muiTheme.unstable_sxConfig = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({}, _styleFunctionSx_defaultSxConfig__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z, other == null ? void 0 : other.unstable_sxConfig); muiTheme.unstable_sx = function sx(props) { return (0,_styleFunctionSx_styleFunctionSx__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)({ @@ -4327,35 +4378,38 @@ function createTheme() { }; return muiTheme; } -/* harmony default export */ __webpack_exports__.Z = (createTheme); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createTheme); /***/ }), -/***/ 4607: -/***/ (function(__unused_webpack_module, __webpack_exports__) { - -"use strict"; -var shape = { - borderRadius: 4 -}; -/* harmony default export */ __webpack_exports__.Z = (shape); - -/***/ }), - -/***/ 4289: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 8089: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ SG: function() { return /* binding */ gap; }, -/* harmony export */ e$: function() { return /* binding */ columnGap; }, -/* harmony export */ s2: function() { return /* binding */ rowGap; } +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +const shape = { + borderRadius: 4 +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (shape); + +/***/ }), + +/***/ 9805: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ SG: () => (/* binding */ gap), +/* harmony export */ e$: () => (/* binding */ columnGap), +/* harmony export */ s2: () => (/* binding */ rowGap) /* harmony export */ }); /* unused harmony exports gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea */ -/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8537); -/* harmony import */ var _compose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6352); -/* harmony import */ var _spacing__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(122); -/* harmony import */ var _breakpoints__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8755); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7076); +/* harmony import */ var _compose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9351); +/* harmony import */ var _spacing__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3563); +/* harmony import */ var _breakpoints__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4965); @@ -4364,14 +4418,12 @@ var shape = { // false positive // eslint-disable-next-line react/function-component-definition -var gap = function gap(props) { +const gap = props => { if (props.gap !== undefined && props.gap !== null) { - var transformer = (0,_spacing__WEBPACK_IMPORTED_MODULE_0__/* .createUnaryUnit */ .eI)(props.theme, 'spacing', 8, 'gap'); - var styleFromPropValue = function styleFromPropValue(propValue) { - return { - gap: (0,_spacing__WEBPACK_IMPORTED_MODULE_0__/* .getValue */ .NA)(transformer, propValue) - }; - }; + const transformer = (0,_spacing__WEBPACK_IMPORTED_MODULE_0__/* .createUnaryUnit */ .eI)(props.theme, 'spacing', 8, 'gap'); + const styleFromPropValue = propValue => ({ + gap: (0,_spacing__WEBPACK_IMPORTED_MODULE_0__/* .getValue */ .NA)(transformer, propValue) + }); return (0,_breakpoints__WEBPACK_IMPORTED_MODULE_1__/* .handleBreakpoints */ .k9)(props, props.gap, styleFromPropValue); } return null; @@ -4381,14 +4433,12 @@ gap.filterProps = ['gap']; // false positive // eslint-disable-next-line react/function-component-definition -var columnGap = function columnGap(props) { +const columnGap = props => { if (props.columnGap !== undefined && props.columnGap !== null) { - var transformer = (0,_spacing__WEBPACK_IMPORTED_MODULE_0__/* .createUnaryUnit */ .eI)(props.theme, 'spacing', 8, 'columnGap'); - var styleFromPropValue = function styleFromPropValue(propValue) { - return { - columnGap: (0,_spacing__WEBPACK_IMPORTED_MODULE_0__/* .getValue */ .NA)(transformer, propValue) - }; - }; + const transformer = (0,_spacing__WEBPACK_IMPORTED_MODULE_0__/* .createUnaryUnit */ .eI)(props.theme, 'spacing', 8, 'columnGap'); + const styleFromPropValue = propValue => ({ + columnGap: (0,_spacing__WEBPACK_IMPORTED_MODULE_0__/* .getValue */ .NA)(transformer, propValue) + }); return (0,_breakpoints__WEBPACK_IMPORTED_MODULE_1__/* .handleBreakpoints */ .k9)(props, props.columnGap, styleFromPropValue); } return null; @@ -4398,62 +4448,60 @@ columnGap.filterProps = ['columnGap']; // false positive // eslint-disable-next-line react/function-component-definition -var rowGap = function rowGap(props) { +const rowGap = props => { if (props.rowGap !== undefined && props.rowGap !== null) { - var transformer = (0,_spacing__WEBPACK_IMPORTED_MODULE_0__/* .createUnaryUnit */ .eI)(props.theme, 'spacing', 8, 'rowGap'); - var styleFromPropValue = function styleFromPropValue(propValue) { - return { - rowGap: (0,_spacing__WEBPACK_IMPORTED_MODULE_0__/* .getValue */ .NA)(transformer, propValue) - }; - }; + const transformer = (0,_spacing__WEBPACK_IMPORTED_MODULE_0__/* .createUnaryUnit */ .eI)(props.theme, 'spacing', 8, 'rowGap'); + const styleFromPropValue = propValue => ({ + rowGap: (0,_spacing__WEBPACK_IMPORTED_MODULE_0__/* .getValue */ .NA)(transformer, propValue) + }); return (0,_breakpoints__WEBPACK_IMPORTED_MODULE_1__/* .handleBreakpoints */ .k9)(props, props.rowGap, styleFromPropValue); } return null; }; rowGap.propTypes = false ? 0 : {}; rowGap.filterProps = ['rowGap']; -var gridColumn = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ +const gridColumn = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ prop: 'gridColumn' }); -var gridRow = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ +const gridRow = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ prop: 'gridRow' }); -var gridAutoFlow = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ +const gridAutoFlow = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ prop: 'gridAutoFlow' }); -var gridAutoColumns = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ +const gridAutoColumns = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ prop: 'gridAutoColumns' }); -var gridAutoRows = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ +const gridAutoRows = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ prop: 'gridAutoRows' }); -var gridTemplateColumns = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ +const gridTemplateColumns = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ prop: 'gridTemplateColumns' }); -var gridTemplateRows = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ +const gridTemplateRows = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ prop: 'gridTemplateRows' }); -var gridTemplateAreas = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ +const gridTemplateAreas = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ prop: 'gridTemplateAreas' }); -var gridArea = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ +const gridArea = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)({ prop: 'gridArea' }); -var grid = (0,_compose__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea); +const grid = (0,_compose__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea); /* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (grid))); /***/ }), -/***/ 301: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 6620: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ memoize; } +/* harmony export */ Z: () => (/* binding */ memoize) /* harmony export */ }); function memoize(fn) { - var cache = {}; - return function (arg) { + const cache = {}; + return arg => { if (cache[arg] === undefined) { cache[arg] = fn(arg); } @@ -4463,11 +4511,14 @@ function memoize(fn) { /***/ }), -/***/ 4575: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 3013: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8303); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1754); function merge(acc, item) { if (!item) { @@ -4478,20 +4529,20 @@ function merge(acc, item) { }); } -/* harmony default export */ __webpack_exports__.Z = (merge); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (merge); /***/ }), -/***/ 8875: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 7999: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Sh: function() { return /* binding */ paletteTransform; } +/* harmony export */ Sh: () => (/* binding */ paletteTransform) /* harmony export */ }); /* unused harmony exports color, bgcolor, backgroundColor */ -/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8537); -/* harmony import */ var _compose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6352); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7076); +/* harmony import */ var _compose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9351); function paletteTransform(value, userValue) { @@ -4500,38 +4551,38 @@ function paletteTransform(value, userValue) { } return value; } -var color = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ +const color = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ prop: 'color', themeKey: 'palette', transform: paletteTransform }); -var bgcolor = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ +const bgcolor = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ prop: 'bgcolor', cssProperty: 'backgroundColor', themeKey: 'palette', transform: paletteTransform }); -var backgroundColor = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ +const backgroundColor = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ prop: 'backgroundColor', themeKey: 'palette', transform: paletteTransform }); -var palette = (0,_compose__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(color, bgcolor, backgroundColor); +const palette = (0,_compose__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(color, bgcolor, backgroundColor); /* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (palette))); /***/ }), -/***/ 5814: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 6211: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ propsToClassKey; } +/* harmony export */ Z: () => (/* binding */ propsToClassKey) /* harmony export */ }); /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(45); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3049); +/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5789); -var _excluded = ["variant"]; +const _excluded = ["variant"]; function isEmpty(string) { return string.length === 0; @@ -4543,10 +4594,12 @@ function isEmpty(string) { * @param {object} props - the properties for which the classKey should be created. */ function propsToClassKey(props) { - var variant = props.variant, + const { + variant + } = props, other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(props, _excluded); - var classKey = variant || ''; - Object.keys(other).sort().forEach(function (key) { + let classKey = variant || ''; + Object.keys(other).sort().forEach(key => { if (key === 'color') { classKey += isEmpty(classKey) ? props[key] : (0,_mui_utils__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(props[key]); } else { @@ -4558,33 +4611,33 @@ function propsToClassKey(props) { /***/ }), -/***/ 2330: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 7795: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ EB: function() { return /* binding */ sizingTransform; }, -/* harmony export */ kk: function() { return /* binding */ maxWidth; } +/* harmony export */ EB: () => (/* binding */ sizingTransform), +/* harmony export */ kk: () => (/* binding */ maxWidth) /* harmony export */ }); /* unused harmony exports width, minWidth, height, maxHeight, minHeight, sizeWidth, sizeHeight, boxSizing */ -/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8537); -/* harmony import */ var _compose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6352); -/* harmony import */ var _breakpoints__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8755); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7076); +/* harmony import */ var _compose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9351); +/* harmony import */ var _breakpoints__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4965); function sizingTransform(value) { return value <= 1 && value !== 0 ? "".concat(value * 100, "%") : value; } -var width = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ +const width = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ prop: 'width', transform: sizingTransform }); -var maxWidth = function maxWidth(props) { +const maxWidth = props => { if (props.maxWidth !== undefined && props.maxWidth !== null) { - var styleFromPropValue = function styleFromPropValue(propValue) { + const styleFromPropValue = propValue => { var _props$theme, _props$theme2; - var breakpoint = ((_props$theme = props.theme) == null || (_props$theme = _props$theme.breakpoints) == null || (_props$theme = _props$theme.values) == null ? void 0 : _props$theme[propValue]) || _breakpoints__WEBPACK_IMPORTED_MODULE_1__/* .values */ .VO[propValue]; + const breakpoint = ((_props$theme = props.theme) == null || (_props$theme = _props$theme.breakpoints) == null || (_props$theme = _props$theme.values) == null ? void 0 : _props$theme[propValue]) || _breakpoints__WEBPACK_IMPORTED_MODULE_1__/* .values */ .VO[propValue]; if (!breakpoint) { return { maxWidth: sizingTransform(propValue) @@ -4604,68 +4657,66 @@ var maxWidth = function maxWidth(props) { return null; }; maxWidth.filterProps = ['maxWidth']; -var minWidth = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ +const minWidth = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ prop: 'minWidth', transform: sizingTransform }); -var height = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ +const height = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ prop: 'height', transform: sizingTransform }); -var maxHeight = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ +const maxHeight = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ prop: 'maxHeight', transform: sizingTransform }); -var minHeight = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ +const minHeight = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ prop: 'minHeight', transform: sizingTransform }); -var sizeWidth = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ +const sizeWidth = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ prop: 'size', cssProperty: 'width', transform: sizingTransform }); -var sizeHeight = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ +const sizeHeight = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ prop: 'size', cssProperty: 'height', transform: sizingTransform }); -var boxSizing = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ +const boxSizing = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)({ prop: 'boxSizing' }); -var sizing = (0,_compose__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing); +const sizing = (0,_compose__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing); /* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (sizing))); /***/ }), -/***/ 122: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 3563: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ NA: function() { return /* binding */ getValue; }, -/* harmony export */ e6: function() { return /* binding */ margin; }, -/* harmony export */ eI: function() { return /* binding */ createUnaryUnit; }, -/* harmony export */ hB: function() { return /* binding */ createUnarySpacing; }, -/* harmony export */ o3: function() { return /* binding */ padding; } +/* harmony export */ NA: () => (/* binding */ getValue), +/* harmony export */ e6: () => (/* binding */ margin), +/* harmony export */ eI: () => (/* binding */ createUnaryUnit), +/* harmony export */ hB: () => (/* binding */ createUnarySpacing), +/* harmony export */ o3: () => (/* binding */ padding) /* harmony export */ }); /* unused harmony exports marginKeys, paddingKeys, getStyleFromPropValue */ -/* harmony import */ var _home_runner_work_kiss_translator_kiss_translator_node_modules_pnpm_babel_runtime_7_22_15_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7358); -/* harmony import */ var _breakpoints__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8755); -/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8537); -/* harmony import */ var _merge__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4575); -/* harmony import */ var _memoize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(301); +/* harmony import */ var _breakpoints__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4965); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7076); +/* harmony import */ var _merge__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3013); +/* harmony import */ var _memoize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6620); - -var properties = { +const properties = { m: 'margin', p: 'padding' }; -var directions = { +const directions = { t: 'Top', r: 'Right', b: 'Bottom', @@ -4673,7 +4724,7 @@ var directions = { x: ['Left', 'Right'], y: ['Top', 'Bottom'] }; -var aliases = { +const aliases = { marginX: 'mx', marginY: 'my', paddingX: 'px', @@ -4683,7 +4734,7 @@ var aliases = { // memoize() impact: // From 300,000 ops/sec // To 350,000 ops/sec -var getCssProperties = (0,_memoize__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(function (prop) { +const getCssProperties = (0,_memoize__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(prop => { // It's not a shorthand notation. if (prop.length > 2) { if (aliases[prop]) { @@ -4692,24 +4743,19 @@ var getCssProperties = (0,_memoize__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ return [prop]; } } - var _prop$split = prop.split(''), - _prop$split2 = (0,_home_runner_work_kiss_translator_kiss_translator_node_modules_pnpm_babel_runtime_7_22_15_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_prop$split, 2), - a = _prop$split2[0], - b = _prop$split2[1]; - var property = properties[a]; - var direction = directions[b] || ''; - return Array.isArray(direction) ? direction.map(function (dir) { - return property + dir; - }) : [property + direction]; + const [a, b] = prop.split(''); + const property = properties[a]; + const direction = directions[b] || ''; + return Array.isArray(direction) ? direction.map(dir => property + dir) : [property + direction]; }); -var marginKeys = ['m', 'mt', 'mr', 'mb', 'ml', 'mx', 'my', 'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginX', 'marginY', 'marginInline', 'marginInlineStart', 'marginInlineEnd', 'marginBlock', 'marginBlockStart', 'marginBlockEnd']; -var paddingKeys = ['p', 'pt', 'pr', 'pb', 'pl', 'px', 'py', 'padding', 'paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'paddingX', 'paddingY', 'paddingInline', 'paddingInlineStart', 'paddingInlineEnd', 'paddingBlock', 'paddingBlockStart', 'paddingBlockEnd']; -var spacingKeys = [].concat(marginKeys, paddingKeys); +const marginKeys = ['m', 'mt', 'mr', 'mb', 'ml', 'mx', 'my', 'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginX', 'marginY', 'marginInline', 'marginInlineStart', 'marginInlineEnd', 'marginBlock', 'marginBlockStart', 'marginBlockEnd']; +const paddingKeys = ['p', 'pt', 'pr', 'pb', 'pl', 'px', 'py', 'padding', 'paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'paddingX', 'paddingY', 'paddingInline', 'paddingInlineStart', 'paddingInlineEnd', 'paddingBlock', 'paddingBlockStart', 'paddingBlockEnd']; +const spacingKeys = [...marginKeys, ...paddingKeys]; function createUnaryUnit(theme, themeKey, defaultValue, propName) { var _getPath; - var themeSpacing = (_getPath = (0,_style__WEBPACK_IMPORTED_MODULE_2__/* .getPath */ .DW)(theme, themeKey, false)) != null ? _getPath : defaultValue; + const themeSpacing = (_getPath = (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .getPath */ .DW)(theme, themeKey, false)) != null ? _getPath : defaultValue; if (typeof themeSpacing === 'number') { - return function (abs) { + return abs => { if (typeof abs === 'string') { return abs; } @@ -4718,7 +4764,7 @@ function createUnaryUnit(theme, themeKey, defaultValue, propName) { }; } if (Array.isArray(themeSpacing)) { - return function (abs) { + return abs => { if (typeof abs === 'string') { return abs; } @@ -4730,9 +4776,7 @@ function createUnaryUnit(theme, themeKey, defaultValue, propName) { return themeSpacing; } if (false) {} - return function () { - return undefined; - }; + return () => undefined; } function createUnarySpacing(theme) { return createUnaryUnit(theme, 'spacing', 8, 'spacing'); @@ -4741,8 +4785,8 @@ function getValue(transformer, propValue) { if (typeof propValue === 'string' || propValue == null) { return propValue; } - var abs = Math.abs(propValue); - var transformed = transformer(abs); + const abs = Math.abs(propValue); + const transformed = transformer(abs); if (propValue >= 0) { return transformed; } @@ -4752,12 +4796,10 @@ function getValue(transformer, propValue) { return "-".concat(transformed); } function getStyleFromPropValue(cssProperties, transformer) { - return function (propValue) { - return cssProperties.reduce(function (acc, cssProperty) { - acc[cssProperty] = getValue(transformer, propValue); - return acc; - }, {}); - }; + return propValue => cssProperties.reduce((acc, cssProperty) => { + acc[cssProperty] = getValue(transformer, propValue); + return acc; + }, {}); } function resolveCssProperty(props, keys, prop, transformer) { // Using a hash computation over an array iteration could be faster, but with only 28 items, @@ -4765,16 +4807,14 @@ function resolveCssProperty(props, keys, prop, transformer) { if (keys.indexOf(prop) === -1) { return null; } - var cssProperties = getCssProperties(prop); - var styleFromPropValue = getStyleFromPropValue(cssProperties, transformer); - var propValue = props[prop]; - return (0,_breakpoints__WEBPACK_IMPORTED_MODULE_3__/* .handleBreakpoints */ .k9)(props, propValue, styleFromPropValue); + const cssProperties = getCssProperties(prop); + const styleFromPropValue = getStyleFromPropValue(cssProperties, transformer); + const propValue = props[prop]; + return (0,_breakpoints__WEBPACK_IMPORTED_MODULE_2__/* .handleBreakpoints */ .k9)(props, propValue, styleFromPropValue); } function style(props, keys) { - var transformer = createUnarySpacing(props.theme); - return Object.keys(props).map(function (prop) { - return resolveCssProperty(props, keys, prop, transformer); - }).reduce(_merge__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z, {}); + const transformer = createUnarySpacing(props.theme); + return Object.keys(props).map(prop => resolveCssProperty(props, keys, prop, transformer)).reduce(_merge__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, {}); } function margin(props) { return style(props, marginKeys); @@ -4795,37 +4835,34 @@ spacing.filterProps = spacingKeys; /***/ }), -/***/ 8537: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 7076: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ DW: function() { return /* binding */ getPath; }, -/* harmony export */ Jq: function() { return /* binding */ getStyleValue; } +/* harmony export */ DW: () => (/* binding */ getPath), +/* harmony export */ Jq: () => (/* binding */ getStyleValue), +/* harmony export */ ZP: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _home_runner_work_kiss_translator_kiss_translator_node_modules_pnpm_babel_runtime_7_22_15_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(689); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3049); -/* harmony import */ var _breakpoints__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8755); - +/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5789); +/* harmony import */ var _breakpoints__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4965); function getPath(obj, path) { - var checkVars = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; + let checkVars = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; if (!path || typeof path !== 'string') { return null; } // Check if CSS variables are used if (obj && obj.vars && checkVars) { - var val = "vars.".concat(path).split('.').reduce(function (acc, item) { - return acc && acc[item] ? acc[item] : null; - }, obj); + const val = "vars.".concat(path).split('.').reduce((acc, item) => acc && acc[item] ? acc[item] : null, obj); if (val != null) { return val; } } - return path.split('.').reduce(function (acc, item) { + return path.split('.').reduce((acc, item) => { if (acc && acc[item] != null) { return acc[item]; } @@ -4833,8 +4870,8 @@ function getPath(obj, path) { }, obj); } function getStyleValue(themeMapping, transform, propValueFinal) { - var userValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : propValueFinal; - var value; + let userValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : propValueFinal; + let value; if (typeof themeMapping === 'function') { value = themeMapping(propValueFinal); } else if (Array.isArray(themeMapping)) { @@ -4848,23 +4885,24 @@ function getStyleValue(themeMapping, transform, propValueFinal) { return value; } function style(options) { - var prop = options.prop, - _options$cssProperty = options.cssProperty, - cssProperty = _options$cssProperty === void 0 ? options.prop : _options$cssProperty, - themeKey = options.themeKey, - transform = options.transform; + const { + prop, + cssProperty = options.prop, + themeKey, + transform + } = options; // false positive // eslint-disable-next-line react/function-component-definition - var fn = function fn(props) { + const fn = props => { if (props[prop] == null) { return null; } - var propValue = props[prop]; - var theme = props.theme; - var themeMapping = getPath(theme, themeKey) || {}; - var styleFromPropValue = function styleFromPropValue(propValueFinal) { - var value = getStyleValue(themeMapping, transform, propValueFinal); + const propValue = props[prop]; + const theme = props.theme; + const themeMapping = getPath(theme, themeKey) || {}; + const styleFromPropValue = propValueFinal => { + let value = getStyleValue(themeMapping, transform, propValueFinal); if (propValueFinal === value && typeof propValueFinal === 'string') { // Haven't found value value = getStyleValue(themeMapping, transform, "".concat(prop).concat(propValueFinal === 'default' ? '' : (0,_mui_utils__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(propValueFinal)), propValueFinal); @@ -4872,33 +4910,38 @@ function style(options) { if (cssProperty === false) { return value; } - return (0,_home_runner_work_kiss_translator_kiss_translator_node_modules_pnpm_babel_runtime_7_22_15_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)({}, cssProperty, value); + return { + [cssProperty]: value + }; }; - return (0,_breakpoints__WEBPACK_IMPORTED_MODULE_2__/* .handleBreakpoints */ .k9)(props, propValue, styleFromPropValue); + return (0,_breakpoints__WEBPACK_IMPORTED_MODULE_1__/* .handleBreakpoints */ .k9)(props, propValue, styleFromPropValue); }; fn.propTypes = false ? 0 : {}; fn.filterProps = [prop]; return fn; } -/* harmony default export */ __webpack_exports__.ZP = (style); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (style); /***/ }), -/***/ 926: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 3094: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -/* harmony import */ var _spacing__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(122); -/* harmony import */ var _borders__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4199); -/* harmony import */ var _cssGrid__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4289); -/* harmony import */ var _palette__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8875); -/* harmony import */ var _sizing__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2330); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _spacing__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3563); +/* harmony import */ var _borders__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8343); +/* harmony import */ var _cssGrid__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9805); +/* harmony import */ var _palette__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7999); +/* harmony import */ var _sizing__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(7795); -var defaultSxConfig = { +const defaultSxConfig = { // borders border: { themeKey: 'borders', @@ -5077,13 +5120,11 @@ var defaultSxConfig = { // display displayPrint: { cssProperty: false, - transform: function transform(value) { - return { - '@media print': { - display: value - } - }; - } + transform: value => ({ + '@media print': { + display: value + } + }) }, display: {}, overflow: {}, @@ -5178,22 +5219,23 @@ var defaultSxConfig = { themeKey: 'typography' } }; -/* harmony default export */ __webpack_exports__.Z = (defaultSxConfig); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (defaultSxConfig); /***/ }), -/***/ 4122: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 7761: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); /* unused harmony export unstable_createStyleFunctionSx */ -/* harmony import */ var _home_runner_work_kiss_translator_kiss_translator_node_modules_pnpm_babel_runtime_7_22_15_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(689); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3049); -/* harmony import */ var _merge__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(4575); -/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8537); -/* harmony import */ var _breakpoints__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8755); -/* harmony import */ var _defaultSxConfig__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(926); - +/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5789); +/* harmony import */ var _merge__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3013); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7076); +/* harmony import */ var _breakpoints__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4965); +/* harmony import */ var _defaultSxConfig__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3094); @@ -5203,13 +5245,9 @@ function objectsHaveSameKeys() { for (var _len = arguments.length, objects = new Array(_len), _key = 0; _key < _len; _key++) { objects[_key] = arguments[_key]; } - var allKeys = objects.reduce(function (keys, object) { - return keys.concat(Object.keys(object)); - }, []); - var union = new Set(allKeys); - return objects.every(function (object) { - return union.size === Object.keys(object).length; - }); + const allKeys = objects.reduce((keys, object) => keys.concat(Object.keys(object)), []); + const union = new Set(allKeys); + return objects.every(object => union.size === Object.keys(object).length); } function callIfFn(maybeFn, arg) { return typeof maybeFn === 'function' ? maybeFn(arg) : maybeFn; @@ -5218,53 +5256,62 @@ function callIfFn(maybeFn, arg) { // eslint-disable-next-line @typescript-eslint/naming-convention function unstable_createStyleFunctionSx() { function getThemeValue(prop, val, theme, config) { - var _props; - var props = (_props = {}, (0,_home_runner_work_kiss_translator_kiss_translator_node_modules_pnpm_babel_runtime_7_22_15_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(_props, prop, val), (0,_home_runner_work_kiss_translator_kiss_translator_node_modules_pnpm_babel_runtime_7_22_15_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(_props, "theme", theme), _props); - var options = config[prop]; + const props = { + [prop]: val, + theme + }; + const options = config[prop]; if (!options) { - return (0,_home_runner_work_kiss_translator_kiss_translator_node_modules_pnpm_babel_runtime_7_22_15_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, prop, val); + return { + [prop]: val + }; } - var _options$cssProperty = options.cssProperty, - cssProperty = _options$cssProperty === void 0 ? prop : _options$cssProperty, - themeKey = options.themeKey, - transform = options.transform, - style = options.style; + const { + cssProperty = prop, + themeKey, + transform, + style + } = options; if (val == null) { return null; } // TODO v6: remove, see https://github.com/mui/material-ui/pull/38123 if (themeKey === 'typography' && val === 'inherit') { - return (0,_home_runner_work_kiss_translator_kiss_translator_node_modules_pnpm_babel_runtime_7_22_15_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, prop, val); + return { + [prop]: val + }; } - var themeMapping = (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .getPath */ .DW)(theme, themeKey) || {}; + const themeMapping = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .getPath */ .DW)(theme, themeKey) || {}; if (style) { return style(props); } - var styleFromPropValue = function styleFromPropValue(propValueFinal) { - var value = (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .getStyleValue */ .Jq)(themeMapping, transform, propValueFinal); + const styleFromPropValue = propValueFinal => { + let value = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .getStyleValue */ .Jq)(themeMapping, transform, propValueFinal); if (propValueFinal === value && typeof propValueFinal === 'string') { // Haven't found value - value = (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .getStyleValue */ .Jq)(themeMapping, transform, "".concat(prop).concat(propValueFinal === 'default' ? '' : (0,_mui_utils__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(propValueFinal)), propValueFinal); + value = (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .getStyleValue */ .Jq)(themeMapping, transform, "".concat(prop).concat(propValueFinal === 'default' ? '' : (0,_mui_utils__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(propValueFinal)), propValueFinal); } if (cssProperty === false) { return value; } - return (0,_home_runner_work_kiss_translator_kiss_translator_node_modules_pnpm_babel_runtime_7_22_15_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, cssProperty, value); + return { + [cssProperty]: value + }; }; - return (0,_breakpoints__WEBPACK_IMPORTED_MODULE_3__/* .handleBreakpoints */ .k9)(props, val, styleFromPropValue); + return (0,_breakpoints__WEBPACK_IMPORTED_MODULE_2__/* .handleBreakpoints */ .k9)(props, val, styleFromPropValue); } function styleFunctionSx(props) { var _theme$unstable_sxCon; - var _ref4 = props || {}, - sx = _ref4.sx, - _ref4$theme = _ref4.theme, - theme = _ref4$theme === void 0 ? {} : _ref4$theme; + const { + sx, + theme = {} + } = props || {}; if (!sx) { return null; // Emotion & styled-components will neglect null } - var config = (_theme$unstable_sxCon = theme.unstable_sxConfig) != null ? _theme$unstable_sxCon : _defaultSxConfig__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z; + const config = (_theme$unstable_sxCon = theme.unstable_sxConfig) != null ? _theme$unstable_sxCon : _defaultSxConfig__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z; /* * Receive `sxInput` as object or callback @@ -5272,7 +5319,7 @@ function unstable_createStyleFunctionSx() { * (the result will be used in `styled`) */ function traverse(sxInput) { - var sxObject = sxInput; + let sxObject = sxInput; if (typeof sxInput === 'function') { sxObject = sxInput(theme); } else if (typeof sxInput !== 'object') { @@ -5282,80 +5329,85 @@ function unstable_createStyleFunctionSx() { if (!sxObject) { return null; } - var emptyBreakpoints = (0,_breakpoints__WEBPACK_IMPORTED_MODULE_3__/* .createEmptyBreakpointObject */ .W8)(theme.breakpoints); - var breakpointsKeys = Object.keys(emptyBreakpoints); - var css = emptyBreakpoints; - Object.keys(sxObject).forEach(function (styleKey) { - var value = callIfFn(sxObject[styleKey], theme); + const emptyBreakpoints = (0,_breakpoints__WEBPACK_IMPORTED_MODULE_2__/* .createEmptyBreakpointObject */ .W8)(theme.breakpoints); + const breakpointsKeys = Object.keys(emptyBreakpoints); + let css = emptyBreakpoints; + Object.keys(sxObject).forEach(styleKey => { + const value = callIfFn(sxObject[styleKey], theme); if (value !== null && value !== undefined) { if (typeof value === 'object') { if (config[styleKey]) { - css = (0,_merge__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(css, getThemeValue(styleKey, value, theme, config)); + css = (0,_merge__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(css, getThemeValue(styleKey, value, theme, config)); } else { - var breakpointsValues = (0,_breakpoints__WEBPACK_IMPORTED_MODULE_3__/* .handleBreakpoints */ .k9)({ - theme: theme - }, value, function (x) { - return (0,_home_runner_work_kiss_translator_kiss_translator_node_modules_pnpm_babel_runtime_7_22_15_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, styleKey, x); - }); + const breakpointsValues = (0,_breakpoints__WEBPACK_IMPORTED_MODULE_2__/* .handleBreakpoints */ .k9)({ + theme + }, value, x => ({ + [styleKey]: x + })); if (objectsHaveSameKeys(breakpointsValues, value)) { css[styleKey] = styleFunctionSx({ sx: value, - theme: theme + theme }); } else { - css = (0,_merge__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(css, breakpointsValues); + css = (0,_merge__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(css, breakpointsValues); } } } else { - css = (0,_merge__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(css, getThemeValue(styleKey, value, theme, config)); + css = (0,_merge__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(css, getThemeValue(styleKey, value, theme, config)); } } }); - return (0,_breakpoints__WEBPACK_IMPORTED_MODULE_3__/* .removeUnusedBreakpoints */ .L7)(breakpointsKeys, css); + return (0,_breakpoints__WEBPACK_IMPORTED_MODULE_2__/* .removeUnusedBreakpoints */ .L7)(breakpointsKeys, css); } return Array.isArray(sx) ? sx.map(traverse) : traverse(sx); } return styleFunctionSx; } -var styleFunctionSx = unstable_createStyleFunctionSx(); +const styleFunctionSx = unstable_createStyleFunctionSx(); styleFunctionSx.filterProps = ['sx']; -/* harmony default export */ __webpack_exports__.Z = (styleFunctionSx); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (styleFunctionSx); /***/ }), -/***/ 4501: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 9958: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); /* unused harmony export systemDefaultTheme */ -/* harmony import */ var _createTheme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4215); -/* harmony import */ var _useThemeWithoutDefault__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9803); +/* harmony import */ var _createTheme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8311); +/* harmony import */ var _useThemeWithoutDefault__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6485); 'use client'; -var systemDefaultTheme = (0,_createTheme__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(); +const systemDefaultTheme = (0,_createTheme__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(); function useTheme() { - var defaultTheme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : systemDefaultTheme; + let defaultTheme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : systemDefaultTheme; return (0,_useThemeWithoutDefault__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(defaultTheme); } -/* harmony default export */ __webpack_exports__.Z = (useTheme); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useTheme); /***/ }), -/***/ 3853: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 3927: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ getThemeProps; } +/* harmony export */ Z: () => (/* binding */ getThemeProps) /* harmony export */ }); -/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2757); +/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(397); function getThemeProps(params) { - var theme = params.theme, - name = params.name, - props = params.props; + const { + theme, + name, + props + } = params; if (!theme || !theme.components || !theme.components[name] || !theme.components[name].defaultProps) { return props; } @@ -5364,44 +5416,49 @@ function getThemeProps(params) { /***/ }), -/***/ 1433: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 9507: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ useThemeProps; } +/* harmony export */ Z: () => (/* binding */ useThemeProps) /* harmony export */ }); -/* harmony import */ var _getThemeProps__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3853); -/* harmony import */ var _useTheme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4501); +/* harmony import */ var _getThemeProps__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3927); +/* harmony import */ var _useTheme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9958); 'use client'; function useThemeProps(_ref) { - var props = _ref.props, - name = _ref.name, - defaultTheme = _ref.defaultTheme, - themeId = _ref.themeId; - var theme = (0,_useTheme__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(defaultTheme); + let { + props, + name, + defaultTheme, + themeId + } = _ref; + let theme = (0,_useTheme__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(defaultTheme); if (themeId) { theme = theme[themeId] || theme; } - var mergedProps = (0,_getThemeProps__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)({ - theme: theme, - name: name, - props: props + const mergedProps = (0,_getThemeProps__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)({ + theme, + name, + props }); return mergedProps; } /***/ }), -/***/ 9803: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 6485: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7948); -/* harmony import */ var _mui_styled_engine__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1253); +/* harmony import */ var _mui_styled_engine__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6387); 'use client'; @@ -5410,48 +5467,49 @@ function isObjectEmpty(obj) { return Object.keys(obj).length === 0; } function useTheme() { - var defaultTheme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; - var contextTheme = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_mui_styled_engine__WEBPACK_IMPORTED_MODULE_1__.T); + let defaultTheme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; + const contextTheme = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_mui_styled_engine__WEBPACK_IMPORTED_MODULE_1__.T); return !contextTheme || isObjectEmpty(contextTheme) ? defaultTheme : contextTheme; } -/* harmony default export */ __webpack_exports__.Z = (useTheme); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useTheme); /***/ }), -/***/ 8644: -/***/ (function(__unused_webpack_module, __webpack_exports__) { - -"use strict"; -var defaultGenerator = function defaultGenerator(componentName) { - return componentName; -}; -var createClassNameGenerator = function createClassNameGenerator() { - var _generate = defaultGenerator; - return { - configure: function configure(generator) { - _generate = generator; - }, - generate: function generate(componentName) { - return _generate(componentName); - }, - reset: function reset() { - _generate = defaultGenerator; - } - }; -}; -var ClassNameGenerator = createClassNameGenerator(); -/* harmony default export */ __webpack_exports__.Z = (ClassNameGenerator); - -/***/ }), - -/***/ 3049: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 9141: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ capitalize; } +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _formatMuiErrorMessage__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8237); +const defaultGenerator = componentName => componentName; +const createClassNameGenerator = () => { + let generate = defaultGenerator; + return { + configure(generator) { + generate = generator; + }, + generate(componentName) { + return generate(componentName); + }, + reset() { + generate = defaultGenerator; + } + }; +}; +const ClassNameGenerator = createClassNameGenerator(); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ClassNameGenerator); + +/***/ }), + +/***/ 5789: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (/* binding */ capitalize) +/* harmony export */ }); +/* harmony import */ var _formatMuiErrorMessage__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(310); // It should to be noted that this function isn't equivalent to `text-transform: capitalize`. // @@ -5466,23 +5524,23 @@ function capitalize(string) { /***/ }), -/***/ 4483: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 8550: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ composeClasses; } +/* harmony export */ Z: () => (/* binding */ composeClasses) /* harmony export */ }); function composeClasses(slots, getUtilityClass) { - var classes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined; - var output = {}; + let classes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined; + const output = {}; Object.keys(slots).forEach( // `Object.keys(slots)` can't be wider than `T` because we infer `T` from `slots`. // @ts-expect-error https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208 - function (slot) { - output[slot] = slots[slot].reduce(function (acc, key) { + slot => { + output[slot] = slots[slot].reduce((acc, key) => { if (key) { - var utilityClass = getUtilityClass(key); + const utilityClass = getUtilityClass(key); if (utilityClass !== '') { acc.push(utilityClass); } @@ -5498,12 +5556,12 @@ function composeClasses(slots, getUtilityClass) { /***/ }), -/***/ 9916: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 9839: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ createChainedFunction; } +/* harmony export */ Z: () => (/* binding */ createChainedFunction) /* harmony export */ }); /** * Safe chained function. @@ -5515,7 +5573,7 @@ function createChainedFunction() { for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) { funcs[_key] = arguments[_key]; } - return funcs.reduce(function (acc, func) { + return funcs.reduce((acc, func) => { if (func == null) { return acc; } @@ -5526,36 +5584,35 @@ function createChainedFunction() { acc.apply(this, args); func.apply(this, args); }; - }, function () {}); + }, () => {}); } /***/ }), -/***/ 9548: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 503: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ debounce; } +/* harmony export */ Z: () => (/* binding */ debounce) /* harmony export */ }); // Corresponds to 10 frames at 60 Hz. // A few bytes payload overhead when lodash/debounce is ~3 kB and debounce ~300 B. function debounce(func) { - var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 166; - var timeout; + let wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 166; + let timeout; function debounced() { - var _this = this; for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } - var later = function later() { + const later = () => { // @ts-ignore - func.apply(_this, args); + func.apply(this, args); }; clearTimeout(timeout); timeout = setTimeout(later, wait); } - debounced.clear = function () { + debounced.clear = () => { clearTimeout(timeout); }; return debounced; @@ -5563,13 +5620,13 @@ function debounce(func) { /***/ }), -/***/ 8303: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 1754: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ P: function() { return /* binding */ isPlainObject; }, -/* harmony export */ Z: function() { return /* binding */ deepmerge; } +/* harmony export */ P: () => (/* binding */ isPlainObject), +/* harmony export */ Z: () => (/* binding */ deepmerge) /* harmony export */ }); /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8957); @@ -5580,19 +5637,19 @@ function deepClone(source) { if (!isPlainObject(source)) { return source; } - var output = {}; - Object.keys(source).forEach(function (key) { + const output = {}; + Object.keys(source).forEach(key => { output[key] = deepClone(source[key]); }); return output; } function deepmerge(target, source) { - var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : { + let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : { clone: true }; - var output = options.clone ? (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, target) : target; + const output = options.clone ? (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, target) : target; if (isPlainObject(target) && isPlainObject(source)) { - Object.keys(source).forEach(function (key) { + Object.keys(source).forEach(key => { // Avoid prototype pollution if (key === '__proto__') { return; @@ -5612,12 +5669,12 @@ function deepmerge(target, source) { /***/ }), -/***/ 8237: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 310: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ formatMuiErrorMessage; } +/* harmony export */ Z: () => (/* binding */ formatMuiErrorMessage) /* harmony export */ }); /** * WARNING: Don't import this directly. @@ -5629,8 +5686,8 @@ function formatMuiErrorMessage(code) { // loose mode is safe iff we're concatenating primitives // see https://babeljs.io/docs/en/babel-plugin-transform-template-literals#loose /* eslint-disable prefer-template */ - var url = 'https://mui.com/production-error/?code=' + code; - for (var i = 1; i < arguments.length; i += 1) { + let url = 'https://mui.com/production-error/?code=' + code; + for (let i = 1; i < arguments.length; i += 1) { // rest params over-transpile for this case // eslint-disable-next-line prefer-rest-params url += '&args[]=' + encodeURIComponent(arguments[i]); @@ -5641,19 +5698,19 @@ function formatMuiErrorMessage(code) { /***/ }), -/***/ 5165: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 4258: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ generateUtilityClass; } +/* harmony export */ Z: () => (/* binding */ generateUtilityClass) /* harmony export */ }); -/* harmony import */ var _ClassNameGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8644); +/* harmony import */ var _ClassNameGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9141); // If GlobalStateSlot is changed, GLOBAL_STATE_CLASSES in // \packages\api-docs-builder\utils\parseSlotsAndClasses.ts must be updated accordingly. -var globalStateClassesMapping = { +const globalStateClassesMapping = { active: 'active', checked: 'checked', completed: 'completed', @@ -5668,26 +5725,26 @@ var globalStateClassesMapping = { selected: 'selected' }; function generateUtilityClass(componentName, slot) { - var globalStatePrefix = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'Mui'; - var globalStateClass = globalStateClassesMapping[slot]; + let globalStatePrefix = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'Mui'; + const globalStateClass = globalStateClassesMapping[slot]; return globalStateClass ? "".concat(globalStatePrefix, "-").concat(globalStateClass) : "".concat(_ClassNameGenerator__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z.generate(componentName), "-").concat(slot); } /***/ }), -/***/ 8738: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 9016: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ generateUtilityClasses; } +/* harmony export */ Z: () => (/* binding */ generateUtilityClasses) /* harmony export */ }); -/* harmony import */ var _generateUtilityClass__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5165); +/* harmony import */ var _generateUtilityClass__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4258); function generateUtilityClasses(componentName, slots) { - var globalStatePrefix = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'Mui'; - var result = {}; - slots.forEach(function (slot) { + let globalStatePrefix = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'Mui'; + const result = {}; + slots.forEach(slot => { result[slot] = (0,_generateUtilityClass__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(componentName, slot, globalStatePrefix); }); return result; @@ -5695,12 +5752,12 @@ function generateUtilityClasses(componentName, slots) { /***/ }), -/***/ 8994: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 2332: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ ownerDocument; } +/* harmony export */ Z: () => (/* binding */ ownerDocument) /* harmony export */ }); function ownerDocument(node) { return node && node.ownerDocument || document; @@ -5708,28 +5765,28 @@ function ownerDocument(node) { /***/ }), -/***/ 2041: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 316: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ ownerWindow; } +/* harmony export */ Z: () => (/* binding */ ownerWindow) /* harmony export */ }); -/* harmony import */ var _ownerDocument__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8994); +/* harmony import */ var _ownerDocument__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2332); function ownerWindow(node) { - var doc = (0,_ownerDocument__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(node); + const doc = (0,_ownerDocument__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(node); return doc.defaultView || window; } /***/ }), -/***/ 2757: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 397: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ resolveProps; } +/* harmony export */ Z: () => (/* binding */ resolveProps) /* harmony export */ }); /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8957); @@ -5740,13 +5797,13 @@ function ownerWindow(node) { * @returns {object} resolved props */ function resolveProps(defaultProps, props) { - var output = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, props); - Object.keys(defaultProps).forEach(function (propName) { + const output = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, props); + Object.keys(defaultProps).forEach(propName => { if (propName.toString().match(/^(components|slots)$/)) { output[propName] = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, defaultProps[propName], output[propName]); } else if (propName.toString().match(/^(componentsProps|slotProps)$/)) { - var defaultSlotProps = defaultProps[propName] || {}; - var slotProps = props[propName]; + const defaultSlotProps = defaultProps[propName] || {}; + const slotProps = props[propName]; output[propName] = {}; if (!slotProps || !Object.keys(slotProps)) { // Reduce the iteration if the slot props is empty @@ -5756,7 +5813,7 @@ function resolveProps(defaultProps, props) { output[propName] = slotProps; } else { output[propName] = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, slotProps); - Object.keys(defaultSlotProps).forEach(function (slotPropName) { + Object.keys(defaultSlotProps).forEach(slotPropName => { output[propName][slotPropName] = resolveProps(defaultSlotProps[slotPropName], slotProps[slotPropName]); }); } @@ -5769,12 +5826,12 @@ function resolveProps(defaultProps, props) { /***/ }), -/***/ 4519: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 6633: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ setRef; } +/* harmony export */ Z: () => (/* binding */ setRef) /* harmony export */ }); /** * TODO v5: consider making it private @@ -5799,25 +5856,31 @@ function setRef(ref, value) { /***/ }), -/***/ 1445: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 4277: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7948); 'use client'; -var useEnhancedEffect = typeof window !== 'undefined' ? react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect : react__WEBPACK_IMPORTED_MODULE_0__.useEffect; -/* harmony default export */ __webpack_exports__.Z = (useEnhancedEffect); +const useEnhancedEffect = typeof window !== 'undefined' ? react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect : react__WEBPACK_IMPORTED_MODULE_0__.useEffect; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useEnhancedEffect); /***/ }), -/***/ 757: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 2928: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7948); -/* harmony import */ var _useEnhancedEffect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1445); +/* harmony import */ var _useEnhancedEffect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4277); 'use client'; @@ -5829,31 +5892,31 @@ var useEnhancedEffect = typeof window !== 'undefined' ? react__WEBPACK_IMPORTED_ */ function useEventCallback(fn) { - var ref = react__WEBPACK_IMPORTED_MODULE_0__.useRef(fn); - (0,_useEnhancedEffect__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(function () { + const ref = react__WEBPACK_IMPORTED_MODULE_0__.useRef(fn); + (0,_useEnhancedEffect__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(() => { ref.current = fn; }); return react__WEBPACK_IMPORTED_MODULE_0__.useCallback(function () { return ( // @ts-expect-error hide `this` // tslint:disable-next-line:ban-comma-operator - (0, ref.current).apply(void 0, arguments) + (0, ref.current)(...arguments) ); }, []); } -/* harmony default export */ __webpack_exports__.Z = (useEventCallback); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useEventCallback); /***/ }), -/***/ 1186: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 862: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ useForkRef; } +/* harmony export */ Z: () => (/* binding */ useForkRef) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7948); -/* harmony import */ var _setRef__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4519); +/* harmony import */ var _setRef__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6633); 'use client'; @@ -5867,14 +5930,12 @@ function useForkRef() { * This means react will call the old forkRef with `null` and the new forkRef * with the ref. Cleanup naturally emerges from this behavior. */ - return react__WEBPACK_IMPORTED_MODULE_0__.useMemo(function () { - if (refs.every(function (ref) { - return ref == null; - })) { + return react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => { + if (refs.every(ref => ref == null)) { return null; } - return function (instance) { - refs.forEach(function (ref) { + return instance => { + refs.forEach(ref => { (0,_setRef__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(ref, instance); }); }; @@ -5884,28 +5945,23 @@ function useForkRef() { /***/ }), -/***/ 1036: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 2108: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; var react__WEBPACK_IMPORTED_MODULE_0___namespace_cache; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ useId; } +/* harmony export */ Z: () => (/* binding */ useId) /* harmony export */ }); -/* harmony import */ var _home_runner_work_kiss_translator_kiss_translator_node_modules_pnpm_babel_runtime_7_22_15_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7358); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7948); 'use client'; - -var globalId = 0; +let globalId = 0; function useGlobalId(idOverride) { - var _React$useState = react__WEBPACK_IMPORTED_MODULE_0__.useState(idOverride), - _React$useState2 = (0,_home_runner_work_kiss_translator_kiss_translator_node_modules_pnpm_babel_runtime_7_22_15_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_React$useState, 2), - defaultId = _React$useState2[0], - setDefaultId = _React$useState2[1]; - var id = idOverride || defaultId; - react__WEBPACK_IMPORTED_MODULE_0__.useEffect(function () { + const [defaultId, setDefaultId] = react__WEBPACK_IMPORTED_MODULE_0__.useState(idOverride); + const id = idOverride || defaultId; + react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => { if (defaultId == null) { // Fallback to this default id when possible. // Use the incrementing value for client-side rendering only. @@ -5919,7 +5975,7 @@ function useGlobalId(idOverride) { } // downstream bundlers may remove unnecessary concatenation, but won't remove toString call -- Workaround for https://github.com/webpack/webpack/issues/14814 -var maybeReactUseId = /*#__PURE__*/ (react__WEBPACK_IMPORTED_MODULE_0___namespace_cache || (react__WEBPACK_IMPORTED_MODULE_0___namespace_cache = __webpack_require__.t(react__WEBPACK_IMPORTED_MODULE_0__, 2)))['useId'.toString()]; +const maybeReactUseId = /*#__PURE__*/ (react__WEBPACK_IMPORTED_MODULE_0___namespace_cache || (react__WEBPACK_IMPORTED_MODULE_0___namespace_cache = __webpack_require__.t(react__WEBPACK_IMPORTED_MODULE_0__, 2)))['useId'.toString()]; /** * * @example
@@ -5928,7 +5984,7 @@ var maybeReactUseId = /*#__PURE__*/ (react__WEBPACK_IMPORTED_MODULE_0___namespac */ function useId(idOverride) { if (maybeReactUseId !== undefined) { - var reactId = maybeReactUseId(); + const reactId = maybeReactUseId(); return idOverride != null ? idOverride : reactId; } // eslint-disable-next-line react-hooks/rules-of-hooks -- `React.useId` is invariant at runtime. @@ -5937,12 +5993,12 @@ function useId(idOverride) { /***/ }), -/***/ 181: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 1830: +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ useIsFocusVisible; } +/* harmony export */ Z: () => (/* binding */ useIsFocusVisible) /* harmony export */ }); /* unused harmony export teardown */ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7948); @@ -5950,10 +6006,10 @@ function useId(idOverride) { // based on https://github.com/WICG/focus-visible/blob/v4.1.5/src/focus-visible.js -var hadKeyboardEvent = true; -var hadFocusVisibleRecently = false; -var hadFocusVisibleRecentlyTimeout; -var inputTypesWhitelist = { +let hadKeyboardEvent = true; +let hadFocusVisibleRecently = false; +let hadFocusVisibleRecentlyTimeout; +const inputTypesWhitelist = { text: true, search: true, url: true, @@ -5977,8 +6033,10 @@ var inputTypesWhitelist = { * @returns {boolean} */ function focusTriggersKeyboardModality(node) { - var type = node.type, - tagName = node.tagName; + const { + type, + tagName + } = node; if (tagName === 'INPUT' && inputTypesWhitelist[type] && !node.readOnly) { return true; } @@ -6041,7 +6099,9 @@ function teardown(doc) { doc.removeEventListener('visibilitychange', handleVisibilityChange, true); } function isFocusVisible(event) { - var target = event.target; + const { + target + } = event; try { return target.matches(':focus-visible'); } catch (error) { @@ -6056,12 +6116,12 @@ function isFocusVisible(event) { return hadKeyboardEvent || focusTriggersKeyboardModality(target); } function useIsFocusVisible() { - var ref = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(function (node) { + const ref = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(node => { if (node != null) { prepare(node.ownerDocument); } }, []); - var isFocusVisibleRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false); + const isFocusVisibleRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false); /** * Should be called if a blur event is fired @@ -6079,7 +6139,7 @@ function useIsFocusVisible() { // regular focus change. hadFocusVisibleRecently = true; window.clearTimeout(hadFocusVisibleRecentlyTimeout); - hadFocusVisibleRecentlyTimeout = window.setTimeout(function () { + hadFocusVisibleRecentlyTimeout = window.setTimeout(() => { hadFocusVisibleRecently = false; }, 100); isFocusVisibleRef.current = false; @@ -6099,17 +6159,17 @@ function useIsFocusVisible() { return false; } return { - isFocusVisibleRef: isFocusVisibleRef, + isFocusVisibleRef, onFocus: handleFocusVisible, onBlur: handleBlurVisible, - ref: ref + ref }; } /***/ }), /***/ 9761: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; @@ -6207,7 +6267,7 @@ module.exports = hoistNonReactStatics; /***/ }), /***/ 4883: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; /** @@ -6392,10 +6452,10 @@ function Oa(a, b) { Error.prepareStackTrace = void 0; try { if (b) { - if (b = function b() { + if (b = function () { throw Error(); }, Object.defineProperty(b.prototype, "props", { - set: function set() { + set: function () { throw Error(); } }), "object" === typeof Reflect && Reflect.construct) { @@ -6577,10 +6637,10 @@ function Ua(a) { f = c.set; Object.defineProperty(a, b, { configurable: !0, - get: function get() { + get: function () { return e.call(this); }, - set: function set(a) { + set: function (a) { d = "" + a; f.call(this, a); } @@ -6589,13 +6649,13 @@ function Ua(a) { enumerable: c.enumerable }); return { - getValue: function getValue() { + getValue: function () { return d; }, - setValue: function setValue(a) { + setValue: function (a) { d = "" + a; }, - stopTracking: function stopTracking() { + stopTracking: function () { a._valueTracker = null; delete a[b]; } @@ -6958,7 +7018,7 @@ var Lb = !1; if (ia) try { var Mb = {}; Object.defineProperty(Mb, "passive", { - get: function get() { + get: function () { Lb = !0; } }); @@ -6980,7 +7040,7 @@ var Ob = !1, Qb = !1, Rb = null, Sb = { - onError: function onError(a) { + onError: function (a) { Ob = !0; Pb = a; } @@ -7623,16 +7683,16 @@ function rd(a) { return this; } A(b.prototype, { - preventDefault: function preventDefault() { + preventDefault: function () { this.defaultPrevented = !0; var a = this.nativeEvent; a && (a.preventDefault ? a.preventDefault() : "unknown" !== typeof a.returnValue && (a.returnValue = !1), this.isDefaultPrevented = pd); }, - stopPropagation: function stopPropagation() { + stopPropagation: function () { var a = this.nativeEvent; a && (a.stopPropagation ? a.stopPropagation() : "unknown" !== typeof a.cancelBubble && (a.cancelBubble = !0), this.isPropagationStopped = pd); }, - persist: function persist() {}, + persist: function () {}, isPersistent: pd }); return b; @@ -7641,7 +7701,7 @@ var sd = { eventPhase: 0, bubbles: 0, cancelable: 0, - timeStamp: function timeStamp(a) { + timeStamp: function (a) { return a.timeStamp || Date.now(); }, defaultPrevented: 0, @@ -7670,15 +7730,15 @@ var sd = { getModifierState: zd, button: 0, buttons: 0, - relatedTarget: function relatedTarget(a) { + relatedTarget: function (a) { return void 0 === a.relatedTarget ? a.fromElement === a.srcElement ? a.toElement : a.fromElement : a.relatedTarget; }, - movementX: function movementX(a) { + movementX: function (a) { if ("movementX" in a) return a.movementX; a !== yd && (yd && "mousemove" === a.type ? (wd = a.screenX - yd.screenX, xd = a.screenY - yd.screenY) : xd = wd = 0, yd = a); return wd; }, - movementY: function movementY(a) { + movementY: function (a) { return "movementY" in a ? a.movementY : xd; } }), @@ -7698,7 +7758,7 @@ var sd = { }), Hd = rd(Gd), Id = A({}, sd, { - clipboardData: function clipboardData(a) { + clipboardData: function (a) { return "clipboardData" in a ? a.clipboardData : window.clipboardData; } }), @@ -7773,7 +7833,7 @@ function zd() { return Pd; } var Qd = A({}, ud, { - key: function key(a) { + key: function (a) { if (a.key) { var b = Md[a.key] || a.key; if ("Unidentified" !== b) return b; @@ -7789,13 +7849,13 @@ var Qd = A({}, ud, { repeat: 0, locale: 0, getModifierState: zd, - charCode: function charCode(a) { + charCode: function (a) { return "keypress" === a.type ? od(a) : 0; }, - keyCode: function keyCode(a) { + keyCode: function (a) { return "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0; }, - which: function which(a) { + which: function (a) { return "keypress" === a.type ? od(a) : "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0; } }), @@ -7831,10 +7891,10 @@ var Qd = A({}, ud, { }), Xd = rd(Wd), Yd = A({}, Ad, { - deltaX: function deltaX(a) { + deltaX: function (a) { return "deltaX" in a ? a.deltaX : "wheelDeltaX" in a ? -a.wheelDeltaX : 0; }, - deltaY: function deltaY(a) { + deltaY: function (a) { return "deltaY" in a ? a.deltaY : "wheelDeltaY" in a ? -a.wheelDeltaY : "wheelDelta" in a ? -a.wheelDelta : 0; }, deltaZ: 0, @@ -9114,10 +9174,10 @@ function kh(a, b, c, d) { 0 === a.lanes && (a.updateQueue.baseState = c); } var nh = { - isMounted: function isMounted(a) { + isMounted: function (a) { return (a = a._reactInternals) ? Vb(a) === a : !1; }, - enqueueSetState: function enqueueSetState(a, b, c) { + enqueueSetState: function (a, b, c) { a = a._reactInternals; var d = L(), e = lh(a), @@ -9127,7 +9187,7 @@ var nh = { b = dh(a, f, e); null !== b && (mh(b, a, e, d), eh(b, a, e)); }, - enqueueReplaceState: function enqueueReplaceState(a, b, c) { + enqueueReplaceState: function (a, b, c) { a = a._reactInternals; var d = L(), e = lh(a), @@ -9138,7 +9198,7 @@ var nh = { b = dh(a, f, e); null !== b && (mh(b, a, e, d), eh(b, a, e)); }, - enqueueForceUpdate: function enqueueForceUpdate(a, b) { + enqueueForceUpdate: function (a, b) { a = a._reactInternals; var c = L(), d = lh(a), @@ -9199,7 +9259,7 @@ function sh(a, b, c) { var e = d, f = "" + a; if (null !== b && null !== b.ref && "function" === typeof b.ref && b.ref._stringRef === f) return b.ref; - b = function b(a) { + b = function (a) { var b = e.refs; b === jh && (b = e.refs = {}); null === a ? delete b[f] : b[f] = a; @@ -9940,30 +10000,30 @@ var ai = { }, Yh = { readContext: Vg, - useCallback: function useCallback(a, b) { + useCallback: function (a, b) { ci().memoizedState = [a, void 0 === b ? null : b]; return a; }, useContext: Vg, useEffect: vi, - useImperativeHandle: function useImperativeHandle(a, b, c) { + useImperativeHandle: function (a, b, c) { c = null !== c && void 0 !== c ? c.concat([a]) : null; return ti(4194308, 4, yi.bind(null, b, a), c); }, - useLayoutEffect: function useLayoutEffect(a, b) { + useLayoutEffect: function (a, b) { return ti(4194308, 4, a, b); }, - useInsertionEffect: function useInsertionEffect(a, b) { + useInsertionEffect: function (a, b) { return ti(4, 2, a, b); }, - useMemo: function useMemo(a, b) { + useMemo: function (a, b) { var c = ci(); b = void 0 === b ? null : b; a = a(); c.memoizedState = [a, b]; return a; }, - useReducer: function useReducer(a, b, c) { + useReducer: function (a, b, c) { var d = ci(); b = void 0 !== c ? c(b) : b; d.memoizedState = d.baseState = b; @@ -9979,7 +10039,7 @@ var ai = { a = a.dispatch = Gi.bind(null, N, a); return [d.memoizedState, a]; }, - useRef: function useRef(a) { + useRef: function (a) { var b = ci(); a = { current: a @@ -9988,18 +10048,18 @@ var ai = { }, useState: qi, useDebugValue: Ai, - useDeferredValue: function useDeferredValue(a) { + useDeferredValue: function (a) { return ci().memoizedState = a; }, - useTransition: function useTransition() { + useTransition: function () { var a = qi(!1), b = a[0]; a = Ei.bind(null, a[1]); ci().memoizedState = a; return [b, a]; }, - useMutableSource: function useMutableSource() {}, - useSyncExternalStore: function useSyncExternalStore(a, b, c) { + useMutableSource: function () {}, + useSyncExternalStore: function (a, b, c) { var d = N, e = ci(); if (I) { @@ -10021,7 +10081,7 @@ var ai = { li(9, mi.bind(null, d, f, c, b), void 0, null); return c; }, - useId: function useId() { + useId: function () { var a = ci(), b = R.identifierPrefix; if (I) { @@ -10048,15 +10108,15 @@ var ai = { useMemo: Ci, useReducer: fi, useRef: si, - useState: function useState() { + useState: function () { return fi(ei); }, useDebugValue: Ai, - useDeferredValue: function useDeferredValue(a) { + useDeferredValue: function (a) { var b = di(); return Di(b, O.memoizedState, a); }, - useTransition: function useTransition() { + useTransition: function () { var a = fi(ei)[0], b = di().memoizedState; return [a, b]; @@ -10077,15 +10137,15 @@ var ai = { useMemo: Ci, useReducer: gi, useRef: si, - useState: function useState() { + useState: function () { return gi(ei); }, useDebugValue: Ai, - useDeferredValue: function useDeferredValue(a) { + useDeferredValue: function (a) { var b = di(); return null === O ? b.memoizedState = a : Di(b, O.memoizedState, a); }, - useTransition: function useTransition() { + useTransition: function () { var a = gi(ei)[0], b = di().memoizedState; return [a, b]; @@ -10667,7 +10727,7 @@ function zj(a, b, c) { return $i(a, b, c); } var Aj, Bj, Cj, Dj; -Aj = function Aj(a, b) { +Aj = function (a, b) { for (var c = b.child; null !== c;) { if (5 === c.tag || 6 === c.tag) a.appendChild(c.stateNode);else if (4 !== c.tag && null !== c.child) { c.child.return = c; @@ -10683,8 +10743,8 @@ Aj = function Aj(a, b) { c = c.sibling; } }; -Bj = function Bj() {}; -Cj = function Cj(a, b, c, d) { +Bj = function () {}; +Cj = function (a, b, c, d) { var e = a.memoizedProps; if (e !== d) { a = b.stateNode; @@ -10735,7 +10795,7 @@ Cj = function Cj(a, b, c, d) { if (b.updateQueue = l) b.flags |= 4; } }; -Dj = function Dj(a, b, c, d) { +Dj = function (a, b, c, d) { c !== d && (b.flags |= 4); }; function Ej(a, b) { @@ -12627,7 +12687,7 @@ function ck(a, b) { Zk(a, c); } var Wk; -Wk = function Wk(a, b, c) { +Wk = function (a, b, c) { if (null !== a) { if (a.memoizedProps !== b.pendingProps || Wf.current) Ug = !0;else { if (0 === (a.lanes & c) && 0 === (b.flags & 128)) return Ug = !1, zj(a, b, c); @@ -13112,7 +13172,7 @@ function rl(a, b, c, d, e) { if (e) { if ("function" === typeof d) { var f = d; - d = function d() { + d = function () { var a = hl(g); f.call(a); }; @@ -13127,7 +13187,7 @@ function rl(a, b, c, d, e) { for (; e = a.lastChild;) a.removeChild(e); if ("function" === typeof d) { var h = d; - d = function d() { + d = function () { var a = hl(k); h.call(a); }; @@ -13147,7 +13207,7 @@ function sl(a, b, c, d, e) { var g = f; if ("function" === typeof e) { var h = e; - e = function e() { + e = function () { var a = hl(g); h.call(a); }; @@ -13156,7 +13216,7 @@ function sl(a, b, c, d, e) { } else g = rl(c, b, a, e, d); return hl(g); } -Ec = function Ec(a) { +Ec = function (a) { switch (a.tag) { case 3: var b = a.stateNode; @@ -13175,7 +13235,7 @@ Ec = function Ec(a) { }), jl(a, 1); } }; -Fc = function Fc(a) { +Fc = function (a) { if (13 === a.tag) { var b = Zg(a, 134217728); if (null !== b) { @@ -13185,7 +13245,7 @@ Fc = function Fc(a) { jl(a, 134217728); } }; -Gc = function Gc(a) { +Gc = function (a) { if (13 === a.tag) { var b = lh(a), c = Zg(a, b); @@ -13196,10 +13256,10 @@ Gc = function Gc(a) { jl(a, b); } }; -Hc = function Hc() { +Hc = function () { return C; }; -Ic = function Ic(a, b) { +Ic = function (a, b) { var c = C; try { return C = a, b(); @@ -13207,7 +13267,7 @@ Ic = function Ic(a, b) { C = c; } }; -yb = function yb(a, b, c) { +yb = function (a, b, c) { switch (b) { case "input": bb(a, c); @@ -13260,7 +13320,7 @@ var vl = { setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: ua.ReactCurrentDispatcher, - findHostInstanceByFiber: function findHostInstanceByFiber(a) { + findHostInstanceByFiber: function (a) { a = Zb(a); return null === a ? null : a.stateNode; }, @@ -13352,7 +13412,7 @@ exports.version = "18.2.0-next-9e3b772b8-20220608"; /***/ }), /***/ 3884: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; @@ -13366,7 +13426,7 @@ if (true) { /***/ }), /***/ 7366: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; @@ -13396,7 +13456,7 @@ if (true) { /***/ }), /***/ 4918: -/***/ (function(__unused_webpack_module, exports) { +/***/ ((__unused_webpack_module, exports) => { "use strict"; /** @license React v16.13.1 @@ -13520,7 +13580,7 @@ exports.typeOf = z; /***/ }), /***/ 736: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; @@ -13532,7 +13592,7 @@ if (true) { /***/ }), /***/ 237: -/***/ (function(__unused_webpack_module, exports) { +/***/ ((__unused_webpack_module, exports) => { "use strict"; var __webpack_unused_export__; @@ -13655,7 +13715,7 @@ __webpack_unused_export__ = v; /***/ }), /***/ 8890: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; @@ -13667,7 +13727,7 @@ if (true) { /***/ }), /***/ 9656: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; /** @@ -13718,7 +13778,7 @@ exports.jsxs = q; /***/ }), /***/ 6575: -/***/ (function(__unused_webpack_module, exports) { +/***/ ((__unused_webpack_module, exports) => { "use strict"; /** @@ -13750,12 +13810,12 @@ function A(a) { return "function" === typeof a ? a : null; } var B = { - isMounted: function isMounted() { + isMounted: function () { return !1; }, - enqueueForceUpdate: function enqueueForceUpdate() {}, - enqueueReplaceState: function enqueueReplaceState() {}, - enqueueSetState: function enqueueSetState() {} + enqueueForceUpdate: function () {}, + enqueueReplaceState: function () {}, + enqueueSetState: function () {} }, C = Object.assign, D = {}; @@ -13907,24 +13967,24 @@ var U = { }; exports.Children = { map: S, - forEach: function forEach(a, b, e) { + forEach: function (a, b, e) { S(a, function () { b.apply(this, arguments); }, e); }, - count: function count(a) { + count: function (a) { var b = 0; S(a, function () { b++; }); return b; }, - toArray: function toArray(a) { + toArray: function (a) { return S(a, function (a) { return a; }) || []; }, - only: function only(a) { + only: function (a) { if (!O(a)) throw Error("React.Children.only expected to receive a single React element child."); return a; } @@ -14075,7 +14135,7 @@ exports.version = "18.2.0"; /***/ }), /***/ 7948: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; @@ -14087,7 +14147,7 @@ if (true) { /***/ }), /***/ 7394: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; @@ -14099,7 +14159,7 @@ if (true) { /***/ }), /***/ 6929: -/***/ (function(__unused_webpack_module, exports) { +/***/ ((__unused_webpack_module, exports) => { "use strict"; /** @@ -14233,16 +14293,16 @@ function R() { } else N = !1; } var S; -if ("function" === typeof F) S = function S() { +if ("function" === typeof F) S = function () { F(R); };else if ("undefined" !== typeof MessageChannel) { var T = new MessageChannel(), U = T.port2; T.port1.onmessage = R; - S = function S() { + S = function () { U.postMessage(null); }; -} else S = function S() { +} else S = function () { D(R, 0); }; function I(a) { @@ -14362,7 +14422,7 @@ exports.unstable_wrapCallback = function (a) { /***/ }), /***/ 1935: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; @@ -14374,17 +14434,9 @@ if (true) { /***/ }), /***/ 2465: -/***/ (function(module, exports, __webpack_require__) { +/***/ (function(module, exports) { -var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _toConsumableArray = (__webpack_require__(8571)["default"]); -var _classCallCheck = (__webpack_require__(374)["default"]); -var _createClass = (__webpack_require__(8519)["default"]); -var _get = (__webpack_require__(271)["default"]); -var _getPrototypeOf = (__webpack_require__(2611)["default"]); -var _inherits = (__webpack_require__(4369)["default"]); -var _createSuper = (__webpack_require__(4628)["default"]); -var _wrapNativeSuper = (__webpack_require__(3437)["default"]); -(function (global, factory) { +var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) { if (true) { !(__WEBPACK_AMD_DEFINE_ARRAY__ = [module], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? @@ -14408,17 +14460,17 @@ var _wrapNativeSuper = (__webpack_require__(3437)["default"]); throw new Error("This script should only be loaded in a browser extension."); } if (typeof globalThis.browser === "undefined" || Object.getPrototypeOf(globalThis.browser) !== Object.prototype) { - var CHROME_SEND_MESSAGE_CALLBACK_NO_RESPONSE_MESSAGE = "The message port closed before a response was received."; // Wrapping the bulk of this polyfill in a one-time-use function is a minor + const CHROME_SEND_MESSAGE_CALLBACK_NO_RESPONSE_MESSAGE = "The message port closed before a response was received."; // Wrapping the bulk of this polyfill in a one-time-use function is a minor // optimization for Firefox. Since Spidermonkey does not fully parse the // contents of a function until the first time it's called, and since it will // never actually need to be called, this allows the polyfill to be included // in Firefox nearly for free. - var wrapAPIs = function wrapAPIs(extensionAPIs) { + const wrapAPIs = extensionAPIs => { // NOTE: apiMetadata is associated to the content of the api-metadata.json file // at build time by replacing the following "include" with the content of the // JSON file. - var apiMetadata = { + const apiMetadata = { "alarms": { "clear": { "minArgs": 0, @@ -15103,28 +15155,20 @@ var _wrapNativeSuper = (__webpack_require__(3437)["default"]); * key which does not exist, the first time it is accessed. The * function receives, as its only argument, the key being created. */ - var DefaultWeakMap = /*#__PURE__*/function (_WeakMap) { - _inherits(DefaultWeakMap, _WeakMap); - var _super = _createSuper(DefaultWeakMap); - function DefaultWeakMap(createItem) { - var _this; - var items = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined; - _classCallCheck(this, DefaultWeakMap); - _this = _super.call(this, items); - _this.createItem = createItem; - return _this; + + class DefaultWeakMap extends WeakMap { + constructor(createItem) { + let items = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined; + super(items); + this.createItem = createItem; } - _createClass(DefaultWeakMap, [{ - key: "get", - value: function get(key) { - if (!this.has(key)) { - this.set(key, this.createItem(key)); - } - return _get(_getPrototypeOf(DefaultWeakMap.prototype), "get", this).call(this, key); + get(key) { + if (!this.has(key)) { + this.set(key, this.createItem(key)); } - }]); - return DefaultWeakMap; - }( /*#__PURE__*/_wrapNativeSuper(WeakMap)); + return super.get(key); + } + } /** * Returns true if the given object is an object with a `then` method, and can * therefore be assumed to behave as a Promise. @@ -15132,7 +15176,8 @@ var _wrapNativeSuper = (__webpack_require__(3437)["default"]); * @param {*} value The value to test. * @returns {boolean} True if the value is thenable. */ - var isThenable = function isThenable(value) { + + const isThenable = value => { return value && typeof value === "object" && typeof value.then === "function"; }; /** @@ -15167,7 +15212,7 @@ var _wrapNativeSuper = (__webpack_require__(3437)["default"]); * The generated callback function. */ - var makeCallback = function makeCallback(promise, metadata) { + const makeCallback = (promise, metadata) => { return function () { for (var _len = arguments.length, callbackArgs = new Array(_len), _key = 0; _key < _len; _key++) { callbackArgs[_key] = arguments[_key]; @@ -15181,9 +15226,7 @@ var _wrapNativeSuper = (__webpack_require__(3437)["default"]); } }; }; - var pluralizeArguments = function pluralizeArguments(numArgs) { - return numArgs == 1 ? "argument" : "arguments"; - }; + const pluralizeArguments = numArgs => numArgs == 1 ? "argument" : "arguments"; /** * Creates a wrapper function for a method with the given name and metadata. * @@ -15211,7 +15254,7 @@ var _wrapNativeSuper = (__webpack_require__(3437)["default"]); * The generated wrapper function. */ - var wrapAsyncFunction = function wrapAsyncFunction(name, metadata) { + const wrapAsyncFunction = (name, metadata) => { return function asyncFunctionWrapper(target) { for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { args[_key2 - 1] = arguments[_key2]; @@ -15222,19 +15265,19 @@ var _wrapNativeSuper = (__webpack_require__(3437)["default"]); if (args.length > metadata.maxArgs) { throw new Error("Expected at most ".concat(metadata.maxArgs, " ").concat(pluralizeArguments(metadata.maxArgs), " for ").concat(name, "(), got ").concat(args.length)); } - return new Promise(function (resolve, reject) { + return new Promise((resolve, reject) => { if (metadata.fallbackToNoCallback) { // This API method has currently no callback on Chrome, but it return a promise on Firefox, // and so the polyfill will try to call it with a callback first, and it will fallback // to not passing the callback if the first call fails. try { - target[name].apply(target, args.concat([makeCallback({ - resolve: resolve, - reject: reject - }, metadata)])); + target[name](...args, makeCallback({ + resolve, + reject + }, metadata)); } catch (cbError) { console.warn("".concat(name, " API method doesn't seem to support the callback parameter, ") + "falling back to call it without a callback: ", cbError); - target[name].apply(target, args); // Update the API method metadata, so that the next API calls will not try to + target[name](...args); // Update the API method metadata, so that the next API calls will not try to // use the unsupported callback anymore. metadata.fallbackToNoCallback = false; @@ -15242,13 +15285,13 @@ var _wrapNativeSuper = (__webpack_require__(3437)["default"]); resolve(); } } else if (metadata.noCallback) { - target[name].apply(target, args); + target[name](...args); resolve(); } else { - target[name].apply(target, args.concat([makeCallback({ - resolve: resolve, - reject: reject - }, metadata)])); + target[name](...args, makeCallback({ + resolve, + reject + }, metadata)); } }); }; @@ -15273,14 +15316,14 @@ var _wrapNativeSuper = (__webpack_require__(3437)["default"]); * method in its place. */ - var wrapMethod = function wrapMethod(target, method, wrapper) { + const wrapMethod = (target, method, wrapper) => { return new Proxy(method, { - apply: function apply(targetMethod, thisObj, args) { - return wrapper.call.apply(wrapper, [thisObj, target].concat(_toConsumableArray(args))); + apply(targetMethod, thisObj, args) { + return wrapper.call(thisObj, target, ...args); } }); }; - var hasOwnProperty = Function.call.bind(Object.prototype.hasOwnProperty); + let hasOwnProperty = Function.call.bind(Object.prototype.hasOwnProperty); /** * Wraps an object in a Proxy which intercepts and wraps certain methods * based on the given `wrappers` and `metadata` objects. @@ -15305,22 +15348,22 @@ var _wrapNativeSuper = (__webpack_require__(3437)["default"]); * @returns {Proxy} */ - var wrapObject = function wrapObject(target) { - var wrappers = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var metadata = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; - var cache = Object.create(null); - var handlers = { - has: function has(proxyTarget, prop) { + const wrapObject = function (target) { + let wrappers = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + let metadata = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + let cache = Object.create(null); + let handlers = { + has(proxyTarget, prop) { return prop in target || prop in cache; }, - get: function get(proxyTarget, prop, receiver) { + get(proxyTarget, prop, receiver) { if (prop in cache) { return cache[prop]; } if (!(prop in target)) { return undefined; } - var value = target[prop]; + let value = target[prop]; if (typeof value === "function") { // This is a method on the underlying object. Check if we need to do // any wrapping. @@ -15330,7 +15373,7 @@ var _wrapNativeSuper = (__webpack_require__(3437)["default"]); } else if (hasOwnProperty(metadata, prop)) { // This is an async method that we have metadata for. Create a // Promise wrapper for it. - var wrapper = wrapAsyncFunction(prop, metadata[prop]); + let wrapper = wrapAsyncFunction(prop, metadata[prop]); value = wrapMethod(target, target[prop], wrapper); } else { // This is a method that we don't know or care about. Return the @@ -15351,10 +15394,10 @@ var _wrapNativeSuper = (__webpack_require__(3437)["default"]); Object.defineProperty(cache, prop, { configurable: true, enumerable: true, - get: function get() { + get() { return target[prop]; }, - set: function set(value) { + set(value) { target[prop] = value; } }); @@ -15363,7 +15406,7 @@ var _wrapNativeSuper = (__webpack_require__(3437)["default"]); cache[prop] = value; return value; }, - set: function set(proxyTarget, prop, value, receiver) { + set(proxyTarget, prop, value, receiver) { if (prop in cache) { cache[prop] = value; } else { @@ -15371,10 +15414,10 @@ var _wrapNativeSuper = (__webpack_require__(3437)["default"]); } return true; }, - defineProperty: function defineProperty(proxyTarget, prop, desc) { + defineProperty(proxyTarget, prop, desc) { return Reflect.defineProperty(cache, prop, desc); }, - deleteProperty: function deleteProperty(proxyTarget, prop) { + deleteProperty(proxyTarget, prop) { return Reflect.deleteProperty(cache, prop); } }; // Per contract of the Proxy API, the "get" proxy handler must return the @@ -15388,7 +15431,7 @@ var _wrapNativeSuper = (__webpack_require__(3437)["default"]); // instead of the `proxyTarget`, so that the methods and properties are // dereferenced via the original targets. - var proxyTarget = Object.create(target); + let proxyTarget = Object.create(target); return new Proxy(proxyTarget, handlers); }; /** @@ -15408,23 +15451,21 @@ var _wrapNativeSuper = (__webpack_require__(3437)["default"]); * @returns {object} */ - var wrapEvent = function wrapEvent(wrapperMap) { - return { - addListener: function addListener(target, listener) { - for (var _len3 = arguments.length, args = new Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) { - args[_key3 - 2] = arguments[_key3]; - } - target.addListener.apply(target, [wrapperMap.get(listener)].concat(args)); - }, - hasListener: function hasListener(target, listener) { - return target.hasListener(wrapperMap.get(listener)); - }, - removeListener: function removeListener(target, listener) { - target.removeListener(wrapperMap.get(listener)); + const wrapEvent = wrapperMap => ({ + addListener(target, listener) { + for (var _len3 = arguments.length, args = new Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) { + args[_key3 - 2] = arguments[_key3]; } - }; - }; - var onRequestFinishedWrappers = new DefaultWeakMap(function (listener) { + target.addListener(wrapperMap.get(listener), ...args); + }, + hasListener(target, listener) { + return target.hasListener(wrapperMap.get(listener)); + }, + removeListener(target, listener) { + target.removeListener(wrapperMap.get(listener)); + } + }); + const onRequestFinishedWrappers = new DefaultWeakMap(listener => { if (typeof listener !== "function") { return listener; } @@ -15438,7 +15479,7 @@ var _wrapNativeSuper = (__webpack_require__(3437)["default"]); */ return function onRequestFinished(req) { - var wrappedReq = wrapObject(req, {} + const wrappedReq = wrapObject(req, {} /* wrappers */, { getContent: { minArgs: 0, @@ -15448,7 +15489,7 @@ var _wrapNativeSuper = (__webpack_require__(3437)["default"]); listener(wrappedReq); }; }); - var onMessageWrappers = new DefaultWeakMap(function (listener) { + const onMessageWrappers = new DefaultWeakMap(listener => { if (typeof listener !== "function") { return listener; } @@ -15471,21 +15512,21 @@ var _wrapNativeSuper = (__webpack_require__(3437)["default"]); */ return function onMessage(message, sender, sendResponse) { - var didCallSendResponse = false; - var wrappedSendResponse; - var sendResponsePromise = new Promise(function (resolve) { - wrappedSendResponse = function wrappedSendResponse(response) { + let didCallSendResponse = false; + let wrappedSendResponse; + let sendResponsePromise = new Promise(resolve => { + wrappedSendResponse = function (response) { didCallSendResponse = true; resolve(response); }; }); - var result; + let result; try { result = listener(message, sender, wrappedSendResponse); } catch (err) { result = Promise.reject(err); } - var isResultThenable = result !== true && isThenable(result); // If the listener didn't returned true or a Promise, or called + const isResultThenable = result !== true && isThenable(result); // If the listener didn't returned true or a Promise, or called // wrappedSendResponse synchronously, we can exit earlier // because there will be no response sent from this listener. @@ -15496,14 +15537,14 @@ var _wrapNativeSuper = (__webpack_require__(3437)["default"]); // to translate the message into a resolved promise or a rejected // promise). - var sendPromisedResult = function sendPromisedResult(promise) { - promise.then(function (msg) { + const sendPromisedResult = promise => { + promise.then(msg => { // send the message value. sendResponse(msg); - }, function (error) { + }, error => { // Send a JSON representation of the error if the rejected value // is an instance of error, or the object itself otherwise. - var message; + let message; if (error && (error instanceof Error || typeof error.message === "string")) { message = error.message; } else { @@ -15511,9 +15552,9 @@ var _wrapNativeSuper = (__webpack_require__(3437)["default"]); } sendResponse({ __mozWebExtensionPolyfillReject__: true, - message: message + message }); - }).catch(function (err) { + }).catch(err => { // Print an error on the console if unable to send the response. console.error("Failed to send onMessage rejected reply", err); }); @@ -15530,9 +15571,11 @@ var _wrapNativeSuper = (__webpack_require__(3437)["default"]); return true; }; }); - var wrappedSendMessageCallback = function wrappedSendMessageCallback(_ref, reply) { - var reject = _ref.reject, - resolve = _ref.resolve; + const wrappedSendMessageCallback = (_ref, reply) => { + let { + reject, + resolve + } = _ref; if (extensionAPIs.runtime.lastError) { // Detect when none of the listeners replied to the sendMessage call and resolve // the promise to undefined as in Firefox. @@ -15550,7 +15593,7 @@ var _wrapNativeSuper = (__webpack_require__(3437)["default"]); resolve(reply); } }; - var wrappedSendMessage = function wrappedSendMessage(name, metadata, apiNamespaceObj) { + const wrappedSendMessage = function (name, metadata, apiNamespaceObj) { for (var _len4 = arguments.length, args = new Array(_len4 > 3 ? _len4 - 3 : 0), _key4 = 3; _key4 < _len4; _key4++) { args[_key4 - 3] = arguments[_key4]; } @@ -15560,16 +15603,16 @@ var _wrapNativeSuper = (__webpack_require__(3437)["default"]); if (args.length > metadata.maxArgs) { throw new Error("Expected at most ".concat(metadata.maxArgs, " ").concat(pluralizeArguments(metadata.maxArgs), " for ").concat(name, "(), got ").concat(args.length)); } - return new Promise(function (resolve, reject) { - var wrappedCb = wrappedSendMessageCallback.bind(null, { - resolve: resolve, - reject: reject + return new Promise((resolve, reject) => { + const wrappedCb = wrappedSendMessageCallback.bind(null, { + resolve, + reject }); args.push(wrappedCb); - apiNamespaceObj.sendMessage.apply(apiNamespaceObj, args); + apiNamespaceObj.sendMessage(...args); }); }; - var staticWrappers = { + const staticWrappers = { devtools: { network: { onRequestFinished: wrapEvent(onRequestFinishedWrappers) @@ -15590,7 +15633,7 @@ var _wrapNativeSuper = (__webpack_require__(3437)["default"]); }) } }; - var settingMetadata = { + const settingMetadata = { clear: { minArgs: 1, maxArgs: 1 @@ -15628,190 +15671,8 @@ var _wrapNativeSuper = (__webpack_require__(3437)["default"]); /***/ }), -/***/ 9436: -/***/ (function(module) { - -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; -} -module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; - -/***/ }), - -/***/ 7042: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { - -var arrayLikeToArray = __webpack_require__(9436); -function _arrayWithoutHoles(arr) { - if (Array.isArray(arr)) return arrayLikeToArray(arr); -} -module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports; - -/***/ }), - -/***/ 7766: -/***/ (function(module) { - -function _assertThisInitialized(self) { - if (self === void 0) { - throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); - } - return self; -} -module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports; - -/***/ }), - -/***/ 374: -/***/ (function(module) { - -function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } -} -module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports; - -/***/ }), - -/***/ 3492: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { - -var setPrototypeOf = __webpack_require__(2871); -var isNativeReflectConstruct = __webpack_require__(76); -function _construct(Parent, args, Class) { - if (isNativeReflectConstruct()) { - module.exports = _construct = Reflect.construct.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports; - } else { - module.exports = _construct = function _construct(Parent, args, Class) { - var a = [null]; - a.push.apply(a, args); - var Constructor = Function.bind.apply(Parent, a); - var instance = new Constructor(); - if (Class) setPrototypeOf(instance, Class.prototype); - return instance; - }, module.exports.__esModule = true, module.exports["default"] = module.exports; - } - return _construct.apply(null, arguments); -} -module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports; - -/***/ }), - -/***/ 8519: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { - -var toPropertyKey = __webpack_require__(9448); -function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor); - } -} -function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; -} -module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports; - -/***/ }), - -/***/ 4628: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { - -var getPrototypeOf = __webpack_require__(2611); -var isNativeReflectConstruct = __webpack_require__(76); -var possibleConstructorReturn = __webpack_require__(8611); -function _createSuper(Derived) { - var hasNativeReflectConstruct = isNativeReflectConstruct(); - return function _createSuperInternal() { - var Super = getPrototypeOf(Derived), - result; - if (hasNativeReflectConstruct) { - var NewTarget = getPrototypeOf(this).constructor; - result = Reflect.construct(Super, arguments, NewTarget); - } else { - result = Super.apply(this, arguments); - } - return possibleConstructorReturn(this, result); - }; -} -module.exports = _createSuper, module.exports.__esModule = true, module.exports["default"] = module.exports; - -/***/ }), - -/***/ 271: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { - -var superPropBase = __webpack_require__(3795); -function _get() { - if (typeof Reflect !== "undefined" && Reflect.get) { - module.exports = _get = Reflect.get.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports; - } else { - module.exports = _get = function _get(target, property, receiver) { - var base = superPropBase(target, property); - if (!base) return; - var desc = Object.getOwnPropertyDescriptor(base, property); - if (desc.get) { - return desc.get.call(arguments.length < 3 ? target : receiver); - } - return desc.value; - }, module.exports.__esModule = true, module.exports["default"] = module.exports; - } - return _get.apply(this, arguments); -} -module.exports = _get, module.exports.__esModule = true, module.exports["default"] = module.exports; - -/***/ }), - -/***/ 2611: -/***/ (function(module) { - -function _getPrototypeOf(o) { - module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { - return o.__proto__ || Object.getPrototypeOf(o); - }, module.exports.__esModule = true, module.exports["default"] = module.exports; - return _getPrototypeOf(o); -} -module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; - -/***/ }), - -/***/ 4369: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { - -var setPrototypeOf = __webpack_require__(2871); -function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { - throw new TypeError("Super expression must either be null or a function"); - } - subClass.prototype = Object.create(superClass && superClass.prototype, { - constructor: { - value: subClass, - writable: true, - configurable: true - } - }); - Object.defineProperty(subClass, "prototype", { - writable: false - }); - if (superClass) setPrototypeOf(subClass, superClass); -} -module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports; - -/***/ }), - /***/ 4652: -/***/ (function(module) { +/***/ ((module) => { function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { @@ -15822,289 +15683,12 @@ module.exports = _interopRequireDefault, module.exports.__esModule = true, modul /***/ }), -/***/ 6013: -/***/ (function(module) { - -function _isNativeFunction(fn) { - return Function.toString.call(fn).indexOf("[native code]") !== -1; -} -module.exports = _isNativeFunction, module.exports.__esModule = true, module.exports["default"] = module.exports; - -/***/ }), - -/***/ 76: -/***/ (function(module) { - -function _isNativeReflectConstruct() { - if (typeof Reflect === "undefined" || !Reflect.construct) return false; - if (Reflect.construct.sham) return false; - if (typeof Proxy === "function") return true; - try { - Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); - return true; - } catch (e) { - return false; - } -} -module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports; - -/***/ }), - -/***/ 4953: -/***/ (function(module) { - -function _iterableToArray(iter) { - if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); -} -module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; - -/***/ }), - -/***/ 5740: -/***/ (function(module) { - -function _nonIterableSpread() { - throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); -} -module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports; - -/***/ }), - -/***/ 8611: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { - -var _typeof = (__webpack_require__(6895)["default"]); -var assertThisInitialized = __webpack_require__(7766); -function _possibleConstructorReturn(self, call) { - if (call && (_typeof(call) === "object" || typeof call === "function")) { - return call; - } else if (call !== void 0) { - throw new TypeError("Derived constructors may only return object or undefined"); - } - return assertThisInitialized(self); -} -module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports; - -/***/ }), - -/***/ 2871: -/***/ (function(module) { - -function _setPrototypeOf(o, p) { - module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { - o.__proto__ = p; - return o; - }, module.exports.__esModule = true, module.exports["default"] = module.exports; - return _setPrototypeOf(o, p); -} -module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; - -/***/ }), - -/***/ 3795: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { - -var getPrototypeOf = __webpack_require__(2611); -function _superPropBase(object, property) { - while (!Object.prototype.hasOwnProperty.call(object, property)) { - object = getPrototypeOf(object); - if (object === null) break; - } - return object; -} -module.exports = _superPropBase, module.exports.__esModule = true, module.exports["default"] = module.exports; - -/***/ }), - -/***/ 8571: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { - -var arrayWithoutHoles = __webpack_require__(7042); -var iterableToArray = __webpack_require__(4953); -var unsupportedIterableToArray = __webpack_require__(3647); -var nonIterableSpread = __webpack_require__(5740); -function _toConsumableArray(arr) { - return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread(); -} -module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports; - -/***/ }), - -/***/ 5257: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { - -var _typeof = (__webpack_require__(6895)["default"]); -function _toPrimitive(input, hint) { - if (_typeof(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (_typeof(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); -} -module.exports = _toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports; - -/***/ }), - -/***/ 9448: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { - -var _typeof = (__webpack_require__(6895)["default"]); -var toPrimitive = __webpack_require__(5257); -function _toPropertyKey(arg) { - var key = toPrimitive(arg, "string"); - return _typeof(key) === "symbol" ? key : String(key); -} -module.exports = _toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; - -/***/ }), - -/***/ 6895: -/***/ (function(module) { - -function _typeof(o) { - "@babel/helpers - typeof"; - - return (module.exports = _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; - }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o); -} -module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports; - -/***/ }), - -/***/ 3647: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { - -var arrayLikeToArray = __webpack_require__(9436); -function _unsupportedIterableToArray(o, minLen) { - if (!o) return; - if (typeof o === "string") return arrayLikeToArray(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 arrayLikeToArray(o, minLen); -} -module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; - -/***/ }), - -/***/ 3437: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { - -var getPrototypeOf = __webpack_require__(2611); -var setPrototypeOf = __webpack_require__(2871); -var isNativeFunction = __webpack_require__(6013); -var construct = __webpack_require__(3492); -function _wrapNativeSuper(Class) { - var _cache = typeof Map === "function" ? new Map() : undefined; - module.exports = _wrapNativeSuper = function _wrapNativeSuper(Class) { - if (Class === null || !isNativeFunction(Class)) return Class; - if (typeof Class !== "function") { - throw new TypeError("Super expression must either be null or a function"); - } - if (typeof _cache !== "undefined") { - if (_cache.has(Class)) return _cache.get(Class); - _cache.set(Class, Wrapper); - } - function Wrapper() { - return construct(Class, arguments, getPrototypeOf(this).constructor); - } - Wrapper.prototype = Object.create(Class.prototype, { - constructor: { - value: Wrapper, - enumerable: false, - writable: true, - configurable: true - } - }); - return setPrototypeOf(Wrapper, Class); - }, module.exports.__esModule = true, module.exports["default"] = module.exports; - return _wrapNativeSuper(Class); -} -module.exports = _wrapNativeSuper, module.exports.__esModule = true, module.exports["default"] = module.exports; - -/***/ }), - -/***/ 8592: -/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* 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; -} - -/***/ }), - -/***/ 3231: -/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ _arrayWithHoles; } -/* harmony export */ }); -function _arrayWithHoles(arr) { - if (Array.isArray(arr)) return arr; -} - -/***/ }), - -/***/ 6798: -/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ _arrayWithoutHoles; } -/* harmony export */ }); -/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8592); - -function _arrayWithoutHoles(arr) { - if (Array.isArray(arr)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(arr); -} - -/***/ }), - -/***/ 689: -/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ _defineProperty; } -/* harmony export */ }); -/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9499); - -function _defineProperty(obj, key, value) { - key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; -} - -/***/ }), - /***/ 8957: -/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ _extends; } +/* harmony export */ Z: () => (/* binding */ _extends) /* harmony export */ }); function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { @@ -16123,88 +15707,12 @@ function _extends() { /***/ }), -/***/ 8328: -/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ _iterableToArray; } -/* harmony export */ }); -function _iterableToArray(iter) { - if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); -} - -/***/ }), - -/***/ 5221: -/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ _iterableToArrayLimit; } -/* harmony export */ }); -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; - } -} - -/***/ }), - -/***/ 3630: -/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* 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."); -} - -/***/ }), - -/***/ 4572: -/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ _nonIterableSpread; } -/* harmony export */ }); -function _nonIterableSpread() { - throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); -} - -/***/ }), - /***/ 45: -/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ _objectWithoutPropertiesLoose; } +/* harmony export */ Z: () => (/* binding */ _objectWithoutPropertiesLoose) /* harmony export */ }); function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; @@ -16221,131 +15729,13 @@ function _objectWithoutPropertiesLoose(source, excluded) { /***/ }), -/***/ 7358: -/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ _slicedToArray; } -/* harmony export */ }); -/* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3231); -/* harmony import */ var _iterableToArrayLimit_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5221); -/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9373); -/* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3630); - - - - -function _slicedToArray(arr, i) { - return (0,_arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(arr) || (0,_iterableToArrayLimit_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(arr, i) || (0,_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(arr, i) || (0,_nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(); -} - -/***/ }), - -/***/ 9982: -/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ _toConsumableArray; } -/* harmony export */ }); -/* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6798); -/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8328); -/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9373); -/* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4572); - - - - -function _toConsumableArray(arr) { - return (0,_arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(arr) || (0,_iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(arr) || (0,_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(arr) || (0,_nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(); -} - -/***/ }), - -/***/ 7330: -/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ _toPrimitive; } -/* harmony export */ }); -/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6188); - -function _toPrimitive(input, hint) { - if ((0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if ((0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); -} - -/***/ }), - -/***/ 9499: -/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ _toPropertyKey; } -/* harmony export */ }); -/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6188); -/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7330); - - -function _toPropertyKey(arg) { - var key = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(arg, "string"); - return (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(key) === "symbol" ? key : String(key); -} - -/***/ }), - -/***/ 6188: -/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* 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); -} - -/***/ }), - -/***/ 9373: -/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ _unsupportedIterableToArray; } -/* harmony export */ }); -/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8592); - -function _unsupportedIterableToArray(o, minLen) { - if (!o) return; - if (typeof o === "string") return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(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"] */ .Z)(o, minLen); -} - -/***/ }), - /***/ 5675: -/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); /* unused harmony export clsx */ function r(e) { var t, @@ -16358,24 +15748,24 @@ function clsx() { for (var e, t, f = 0, n = ""; f < arguments.length;) (e = arguments[f++]) && (t = r(e)) && (n && (n += " "), n += t); return n; } -/* harmony default export */ __webpack_exports__.Z = (clsx); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (clsx); /***/ }), /***/ 3724: -/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Ab: function() { return /* binding */ COMMENT; }, -/* harmony export */ Fr: function() { return /* binding */ RULESET; }, -/* harmony export */ G$: function() { return /* binding */ WEBKIT; }, -/* harmony export */ JM: function() { return /* binding */ LAYER; }, -/* harmony export */ K$: function() { return /* binding */ IMPORT; }, -/* harmony export */ MS: function() { return /* binding */ MS; }, -/* harmony export */ h5: function() { return /* binding */ DECLARATION; }, -/* harmony export */ lK: function() { return /* binding */ KEYFRAMES; }, -/* harmony export */ uj: function() { return /* binding */ MOZ; } +/* harmony export */ Ab: () => (/* binding */ COMMENT), +/* harmony export */ Fr: () => (/* binding */ RULESET), +/* harmony export */ G$: () => (/* binding */ WEBKIT), +/* harmony export */ JM: () => (/* binding */ LAYER), +/* harmony export */ K$: () => (/* binding */ IMPORT), +/* harmony export */ MS: () => (/* binding */ MS), +/* harmony export */ h5: () => (/* binding */ DECLARATION), +/* harmony export */ lK: () => (/* binding */ KEYFRAMES), +/* harmony export */ uj: () => (/* binding */ MOZ) /* harmony export */ }); /* unused harmony exports PAGE, MEDIA, CHARSET, VIEWPORT, SUPPORTS, DOCUMENT, NAMESPACE, FONT_FACE, COUNTER_STYLE, FONT_FEATURE_VALUES */ var MS = '-ms-'; @@ -16401,12 +15791,12 @@ var LAYER = '@layer'; /***/ }), /***/ 7033: -/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ cD: function() { return /* binding */ rulesheet; }, -/* harmony export */ qR: function() { return /* binding */ middleware; } +/* harmony export */ cD: () => (/* binding */ rulesheet), +/* harmony export */ qR: () => (/* binding */ middleware) /* harmony export */ }); /* unused harmony exports prefixer, namespace */ /* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7279); @@ -16525,11 +15915,11 @@ function namespace(element) { /***/ }), /***/ 3963: -/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ MY: function() { return /* binding */ compile; } +/* harmony export */ MY: () => (/* binding */ compile) /* harmony export */ }); /* unused harmony exports parse, ruleset, comment, declaration */ /* harmony import */ var _Enum_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3724); @@ -16721,12 +16111,12 @@ function declaration(value, root, parent, length) { /***/ }), /***/ 903: -/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ P: function() { return /* binding */ stringify; }, -/* harmony export */ q: function() { return /* binding */ serialize; } +/* harmony export */ P: () => (/* binding */ stringify), +/* harmony export */ q: () => (/* binding */ serialize) /* harmony export */ }); /* harmony import */ var _Enum_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3724); /* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7279); @@ -16772,27 +16162,27 @@ function stringify(element, index, children, callback) { /***/ }), /***/ 7650: -/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ FK: function() { return /* binding */ position; }, -/* harmony export */ JG: function() { return /* binding */ copy; }, -/* harmony export */ QU: function() { return /* binding */ identifier; }, -/* harmony export */ Qb: function() { return /* binding */ whitespace; }, -/* harmony export */ Tb: function() { return /* binding */ char; }, -/* harmony export */ Ud: function() { return /* binding */ caret; }, -/* harmony export */ cE: function() { return /* binding */ dealloc; }, -/* harmony export */ dH: function() { return /* binding */ node; }, -/* harmony export */ fj: function() { return /* binding */ peek; }, -/* harmony export */ iF: function() { return /* binding */ delimit; }, -/* harmony export */ kq: function() { return /* binding */ escaping; }, -/* harmony export */ lp: function() { return /* binding */ next; }, -/* harmony export */ mp: function() { return /* binding */ prev; }, -/* harmony export */ q6: function() { return /* binding */ commenter; }, -/* harmony export */ r: function() { return /* binding */ token; }, -/* harmony export */ tP: function() { return /* binding */ slice; }, -/* harmony export */ un: function() { return /* binding */ alloc; } +/* harmony export */ FK: () => (/* binding */ position), +/* harmony export */ JG: () => (/* binding */ copy), +/* harmony export */ QU: () => (/* binding */ identifier), +/* harmony export */ Qb: () => (/* binding */ whitespace), +/* harmony export */ Tb: () => (/* binding */ char), +/* harmony export */ Ud: () => (/* binding */ caret), +/* harmony export */ cE: () => (/* binding */ dealloc), +/* harmony export */ dH: () => (/* binding */ node), +/* harmony export */ fj: () => (/* binding */ peek), +/* harmony export */ iF: () => (/* binding */ delimit), +/* harmony export */ kq: () => (/* binding */ escaping), +/* harmony export */ lp: () => (/* binding */ next), +/* harmony export */ mp: () => (/* binding */ prev), +/* harmony export */ q6: () => (/* binding */ commenter), +/* harmony export */ r: () => (/* binding */ token), +/* harmony export */ tP: () => (/* binding */ slice), +/* harmony export */ un: () => (/* binding */ alloc) /* harmony export */ }); /* unused harmony exports line, column, length, character, characters, tokenize, tokenizer, delimiter */ /* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7279); @@ -17053,24 +16443,24 @@ function identifier(index) { /***/ }), /***/ 7279: -/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ $e: function() { return /* binding */ combine; }, -/* harmony export */ Cw: function() { return /* binding */ indexof; }, -/* harmony export */ Dp: function() { return /* binding */ from; }, -/* harmony export */ EQ: function() { return /* binding */ match; }, -/* harmony export */ Ei: function() { return /* binding */ sizeof; }, -/* harmony export */ R3: function() { return /* binding */ append; }, -/* harmony export */ Wn: function() { return /* binding */ abs; }, -/* harmony export */ f0: function() { return /* binding */ assign; }, -/* harmony export */ fy: function() { return /* binding */ trim; }, -/* harmony export */ gx: function() { return /* binding */ replace; }, -/* harmony export */ tb: function() { return /* binding */ substr; }, -/* harmony export */ to: function() { return /* binding */ strlen; }, -/* harmony export */ uO: function() { return /* binding */ charat; }, -/* harmony export */ vp: function() { return /* binding */ hash; } +/* harmony export */ $e: () => (/* binding */ combine), +/* harmony export */ Cw: () => (/* binding */ indexof), +/* harmony export */ Dp: () => (/* binding */ from), +/* harmony export */ EQ: () => (/* binding */ match), +/* harmony export */ Ei: () => (/* binding */ sizeof), +/* harmony export */ R3: () => (/* binding */ append), +/* harmony export */ Wn: () => (/* binding */ abs), +/* harmony export */ f0: () => (/* binding */ assign), +/* harmony export */ fy: () => (/* binding */ trim), +/* harmony export */ gx: () => (/* binding */ replace), +/* harmony export */ tb: () => (/* binding */ substr), +/* harmony export */ to: () => (/* binding */ strlen), +/* harmony export */ uO: () => (/* binding */ charat), +/* harmony export */ vp: () => (/* binding */ hash) /* harmony export */ }); /** * @param {number} @@ -17218,8 +16608,8 @@ function combine(array, callback) { /******/ /************************************************************************/ /******/ /* webpack/runtime/create fake namespace object */ -/******/ !function() { -/******/ var getProto = Object.getPrototypeOf ? function(obj) { return Object.getPrototypeOf(obj); } : function(obj) { return obj.__proto__; }; +/******/ (() => { +/******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__); /******/ var leafPrototypes; /******/ // create a fake namespace object /******/ // mode & 1: value is a module id, require it @@ -17239,449 +16629,83 @@ function combine(array, callback) { /******/ var def = {}; /******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)]; /******/ for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) { -/******/ Object.getOwnPropertyNames(current).forEach(function(key) { def[key] = function() { return value[key]; }; }); +/******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key]))); /******/ } -/******/ def['default'] = function() { return value; }; +/******/ def['default'] = () => (value); /******/ __webpack_require__.d(ns, def); /******/ return ns; /******/ }; -/******/ }(); +/******/ })(); /******/ /******/ /* webpack/runtime/define property getters */ -/******/ !function() { +/******/ (() => { /******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = function(exports, definition) { +/******/ __webpack_require__.d = (exports, definition) => { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } /******/ }; -/******/ }(); +/******/ })(); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ !function() { -/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); } -/******/ }(); +/******/ (() => { +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) +/******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ -/******/ !function() { +/******/ (() => { /******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { +/******/ __webpack_require__.r = (exports) => { /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; -/******/ }(); +/******/ })(); /******/ /************************************************************************/ var __webpack_exports__ = {}; // This entry need to be wrapped in an IIFE because it need to be in strict mode. -!function() { +(() => { "use strict"; // NAMESPACE OBJECT: ./node_modules/.pnpm/query-string@8.1.0/node_modules/query-string/base.js var base_namespaceObject = {}; __webpack_require__.r(base_namespaceObject); __webpack_require__.d(base_namespaceObject, { - exclude: function() { return exclude; }, - extract: function() { return extract; }, - parse: function() { return parse; }, - parseUrl: function() { return parseUrl; }, - pick: function() { return pick; }, - stringify: function() { return stringify; }, - stringifyUrl: function() { return stringifyUrl; } + exclude: () => (exclude), + extract: () => (extract), + parse: () => (parse), + parseUrl: () => (parseUrl), + pick: () => (pick), + stringify: () => (stringify), + stringifyUrl: () => (stringifyUrl) }); -// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime@7.22.15/node_modules/@babel/runtime/helpers/esm/typeof.js -var esm_typeof = __webpack_require__(6188); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@babel+runtime@7.22.15/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js - -function regeneratorRuntime_regeneratorRuntime() { - "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ - regeneratorRuntime_regeneratorRuntime = function _regeneratorRuntime() { - return e; - }; - var t, - e = {}, - r = Object.prototype, - n = r.hasOwnProperty, - o = Object.defineProperty || function (t, e, r) { - t[e] = r.value; - }, - i = "function" == typeof Symbol ? Symbol : {}, - a = i.iterator || "@@iterator", - c = i.asyncIterator || "@@asyncIterator", - u = i.toStringTag || "@@toStringTag"; - function define(t, e, r) { - return Object.defineProperty(t, e, { - value: r, - enumerable: !0, - configurable: !0, - writable: !0 - }), t[e]; - } - try { - define({}, ""); - } catch (t) { - define = function define(t, e, r) { - return t[e] = r; - }; - } - function wrap(t, e, r, n) { - var i = e && e.prototype instanceof Generator ? e : Generator, - a = Object.create(i.prototype), - c = new Context(n || []); - return o(a, "_invoke", { - value: makeInvokeMethod(t, r, c) - }), a; - } - function tryCatch(t, e, r) { - try { - return { - type: "normal", - arg: t.call(e, r) - }; - } catch (t) { - return { - type: "throw", - arg: t - }; - } - } - e.wrap = wrap; - var h = "suspendedStart", - l = "suspendedYield", - f = "executing", - s = "completed", - y = {}; - function Generator() {} - function GeneratorFunction() {} - function GeneratorFunctionPrototype() {} - var p = {}; - define(p, a, function () { - return this; - }); - var d = Object.getPrototypeOf, - v = d && d(d(values([]))); - v && v !== r && n.call(v, a) && (p = v); - var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); - function defineIteratorMethods(t) { - ["next", "throw", "return"].forEach(function (e) { - define(t, e, function (t) { - return this._invoke(e, t); - }); - }); - } - function AsyncIterator(t, e) { - function invoke(r, o, i, a) { - var c = tryCatch(t[r], t, o); - if ("throw" !== c.type) { - var u = c.arg, - h = u.value; - return h && "object" == (0,esm_typeof/* default */.Z)(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { - invoke("next", t, i, a); - }, function (t) { - invoke("throw", t, i, a); - }) : e.resolve(h).then(function (t) { - u.value = t, i(u); - }, function (t) { - return invoke("throw", t, i, a); - }); - } - a(c.arg); - } - var r; - o(this, "_invoke", { - value: function value(t, n) { - function callInvokeWithMethodAndArg() { - return new e(function (e, r) { - invoke(t, n, e, r); - }); - } - return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); - } - }); - } - function makeInvokeMethod(e, r, n) { - var o = h; - return function (i, a) { - if (o === f) throw new Error("Generator is already running"); - if (o === s) { - if ("throw" === i) throw a; - return { - value: t, - done: !0 - }; - } - for (n.method = i, n.arg = a;;) { - var c = n.delegate; - if (c) { - var u = maybeInvokeDelegate(c, n); - if (u) { - if (u === y) continue; - return u; - } - } - if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { - if (o === h) throw o = s, n.arg; - n.dispatchException(n.arg); - } else "return" === n.method && n.abrupt("return", n.arg); - o = f; - var p = tryCatch(e, r, n); - if ("normal" === p.type) { - if (o = n.done ? s : l, p.arg === y) continue; - return { - value: p.arg, - done: n.done - }; - } - "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); - } - }; - } - function maybeInvokeDelegate(e, r) { - var n = r.method, - o = e.iterator[n]; - if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; - var i = tryCatch(o, e.iterator, r.arg); - if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; - var a = i.arg; - return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); - } - function pushTryEntry(t) { - var e = { - tryLoc: t[0] - }; - 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); - } - function resetTryEntry(t) { - var e = t.completion || {}; - e.type = "normal", delete e.arg, t.completion = e; - } - function Context(t) { - this.tryEntries = [{ - tryLoc: "root" - }], t.forEach(pushTryEntry, this), this.reset(!0); - } - function values(e) { - if (e || "" === e) { - var r = e[a]; - if (r) return r.call(e); - if ("function" == typeof e.next) return e; - if (!isNaN(e.length)) { - var o = -1, - i = function next() { - for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; - return next.value = t, next.done = !0, next; - }; - return i.next = i; - } - } - throw new TypeError((0,esm_typeof/* default */.Z)(e) + " is not iterable"); - } - return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { - value: GeneratorFunctionPrototype, - configurable: !0 - }), o(GeneratorFunctionPrototype, "constructor", { - value: GeneratorFunction, - configurable: !0 - }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { - var e = "function" == typeof t && t.constructor; - return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); - }, e.mark = function (t) { - return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; - }, e.awrap = function (t) { - return { - __await: t - }; - }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { - return this; - }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { - void 0 === i && (i = Promise); - var a = new AsyncIterator(wrap(t, r, n, o), i); - return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { - return t.done ? t.value : a.next(); - }); - }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { - return this; - }), define(g, "toString", function () { - return "[object Generator]"; - }), e.keys = function (t) { - var e = Object(t), - r = []; - for (var n in e) r.push(n); - return r.reverse(), function next() { - for (; r.length;) { - var t = r.pop(); - if (t in e) return next.value = t, next.done = !1, next; - } - return next.done = !0, next; - }; - }, e.values = values, Context.prototype = { - constructor: Context, - reset: function reset(e) { - if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); - }, - stop: function stop() { - this.done = !0; - var t = this.tryEntries[0].completion; - if ("throw" === t.type) throw t.arg; - return this.rval; - }, - dispatchException: function dispatchException(e) { - if (this.done) throw e; - var r = this; - function handle(n, o) { - return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; - } - for (var o = this.tryEntries.length - 1; o >= 0; --o) { - var i = this.tryEntries[o], - a = i.completion; - if ("root" === i.tryLoc) return handle("end"); - if (i.tryLoc <= this.prev) { - var c = n.call(i, "catchLoc"), - u = n.call(i, "finallyLoc"); - if (c && u) { - if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); - if (this.prev < i.finallyLoc) return handle(i.finallyLoc); - } else if (c) { - if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); - } else { - if (!u) throw new Error("try statement without catch or finally"); - if (this.prev < i.finallyLoc) return handle(i.finallyLoc); - } - } - } - }, - abrupt: function abrupt(t, e) { - for (var r = this.tryEntries.length - 1; r >= 0; --r) { - var o = this.tryEntries[r]; - if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { - var i = o; - break; - } - } - i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); - var a = i ? i.completion : {}; - return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); - }, - complete: function complete(t, e) { - if ("throw" === t.type) throw t.arg; - return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; - }, - finish: function finish(t) { - for (var e = this.tryEntries.length - 1; e >= 0; --e) { - var r = this.tryEntries[e]; - if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; - } - }, - "catch": function _catch(t) { - for (var e = this.tryEntries.length - 1; e >= 0; --e) { - var r = this.tryEntries[e]; - if (r.tryLoc === t) { - var n = r.completion; - if ("throw" === n.type) { - var o = n.arg; - resetTryEntry(r); - } - return o; - } - } - throw new Error("illegal catch attempt"); - }, - delegateYield: function delegateYield(e, r, n) { - return this.delegate = { - iterator: values(e), - resultName: r, - nextLoc: n - }, "next" === this.method && (this.arg = t), y; - } - }, e; -} -;// CONCATENATED MODULE: ./node_modules/.pnpm/@babel+runtime@7.22.15/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js -function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { - try { - var info = gen[key](arg); - var value = info.value; - } catch (error) { - reject(error); - return; - } - if (info.done) { - resolve(value); - } else { - Promise.resolve(value).then(_next, _throw); - } -} -function asyncToGenerator_asyncToGenerator(fn) { - return function () { - var self = this, - args = arguments; - return new Promise(function (resolve, reject) { - var gen = fn.apply(self, args); - function _next(value) { - asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); - } - function _throw(err) { - asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); - } - _next(undefined); - }); - }; -} // EXTERNAL MODULE: ./node_modules/.pnpm/react@18.2.0/node_modules/react/index.js var react = __webpack_require__(7948); // EXTERNAL MODULE: ./node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/client.js var client = __webpack_require__(3884); -// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime@7.22.15/node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(689); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@babel+runtime@7.22.15/node_modules/@babel/runtime/helpers/esm/objectSpread2.js - -function ownKeys(e, r) { - var t = Object.keys(e); - if (Object.getOwnPropertySymbols) { - var o = Object.getOwnPropertySymbols(e); - r && (o = o.filter(function (r) { - return Object.getOwnPropertyDescriptor(e, r).enumerable; - })), t.push.apply(t, o); - } - return t; -} -function _objectSpread2(e) { - for (var r = 1; r < arguments.length; r++) { - var t = null != arguments[r] ? arguments[r] : {}; - r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { - (0,defineProperty/* default */.Z)(e, r, t[r]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { - Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); - }); - } - return e; -} -// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime@7.22.15/node_modules/@babel/runtime/helpers/esm/slicedToArray.js -var slicedToArray = __webpack_require__(7358); // EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime@7.22.15/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js var objectWithoutPropertiesLoose = __webpack_require__(45); // EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime@7.22.15/node_modules/@babel/runtime/helpers/esm/extends.js var esm_extends = __webpack_require__(8957); // EXTERNAL MODULE: ./node_modules/.pnpm/clsx@2.0.0/node_modules/clsx/dist/clsx.mjs var clsx = __webpack_require__(5675); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.22_react@18.2.0/node_modules/@mui/utils/esm/composeClasses/composeClasses.js -var composeClasses = __webpack_require__(4483); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/styled.js -var styled = __webpack_require__(7219); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/useThemeProps.js -var styles_useThemeProps = __webpack_require__(7658); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useForkRef.js -var useForkRef = __webpack_require__(6813); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useEventCallback.js -var useEventCallback = __webpack_require__(2019); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useIsFocusVisible.js -var useIsFocusVisible = __webpack_require__(3261); -// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime@7.22.15/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js -var toConsumableArray = __webpack_require__(9982); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.67_react@18.2.0/node_modules/@mui/utils/esm/composeClasses/composeClasses.js +var composeClasses = __webpack_require__(8550); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/styled.js +var styled = __webpack_require__(5215); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/useThemeProps.js +var useThemeProps = __webpack_require__(4167); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useForkRef.js +var useForkRef = __webpack_require__(4884); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useEventCallback.js +var useEventCallback = __webpack_require__(2002); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useIsFocusVisible.js +var useIsFocusVisible = __webpack_require__(7776); ;// CONCATENATED MODULE: ./node_modules/.pnpm/@babel+runtime@7.22.15/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js function _taggedTemplateLiteral(strings, raw) { if (!raw) { @@ -17717,7 +16741,7 @@ function _inheritsLoose(subClass, superClass) { } ;// CONCATENATED MODULE: ./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.2.0_react@18.2.0/node_modules/react-transition-group/esm/TransitionGroupContext.js -/* harmony default export */ var TransitionGroupContext = (react.createContext(null)); +/* harmony default export */ const TransitionGroupContext = (react.createContext(null)); ;// CONCATENATED MODULE: ./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.2.0_react@18.2.0/node_modules/react-transition-group/esm/utils/ChildMapping.js /** @@ -17961,20 +16985,20 @@ var TransitionGroup = /*#__PURE__*/function (_React$Component) { }(react.Component); TransitionGroup.propTypes = false ? 0 : {}; TransitionGroup.defaultProps = defaultProps; -/* harmony default export */ var esm_TransitionGroup = (TransitionGroup); -// EXTERNAL MODULE: ./node_modules/.pnpm/@emotion+react@11.11.1_@types+react@18.2.22_react@18.2.0/node_modules/@emotion/react/dist/emotion-element-c39617d8.browser.esm.js -var emotion_element_c39617d8_browser_esm = __webpack_require__(1253); +/* harmony default export */ const esm_TransitionGroup = (TransitionGroup); +// EXTERNAL MODULE: ./node_modules/.pnpm/@emotion+react@11.11.1_@types+react@18.2.67_react@18.2.0/node_modules/@emotion/react/dist/emotion-element-c39617d8.browser.esm.js +var emotion_element_c39617d8_browser_esm = __webpack_require__(6387); // EXTERNAL MODULE: ./node_modules/.pnpm/@emotion+utils@1.2.1/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js var emotion_utils_browser_esm = __webpack_require__(1443); // EXTERNAL MODULE: ./node_modules/.pnpm/@emotion+use-insertion-effect-with-fallbacks@1.0.1_react@18.2.0/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js -var emotion_use_insertion_effect_with_fallbacks_browser_esm = __webpack_require__(2919); +var emotion_use_insertion_effect_with_fallbacks_browser_esm = __webpack_require__(122); // EXTERNAL MODULE: ./node_modules/.pnpm/@emotion+serialize@1.1.2/node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js var emotion_serialize_browser_esm = __webpack_require__(5525); // EXTERNAL MODULE: ./node_modules/.pnpm/@emotion+cache@11.11.0/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js var emotion_cache_browser_esm = __webpack_require__(6967); // EXTERNAL MODULE: ./node_modules/.pnpm/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js var hoist_non_react_statics_cjs = __webpack_require__(9761); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@emotion+react@11.11.1_@types+react@18.2.22_react@18.2.0/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@emotion+react@11.11.1_@types+react@18.2.67_react@18.2.0/node_modules/@emotion/react/dist/emotion-react.browser.esm.js @@ -18315,49 +17339,46 @@ if (false) { var globalKey, globalContext, isTestEnv, isBrowser; } // EXTERNAL MODULE: ./node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(7394); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/Ripple.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/Ripple.js 'use client'; - /** * @ignore - internal component. */ function Ripple(props) { - var className = props.className, - classes = props.classes, - _props$pulsate = props.pulsate, - pulsate = _props$pulsate === void 0 ? false : _props$pulsate, - rippleX = props.rippleX, - rippleY = props.rippleY, - rippleSize = props.rippleSize, - inProp = props.in, - onExited = props.onExited, - timeout = props.timeout; - var _React$useState = react.useState(false), - _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), - leaving = _React$useState2[0], - setLeaving = _React$useState2[1]; - var rippleClassName = (0,clsx/* default */.Z)(className, classes.ripple, classes.rippleVisible, pulsate && classes.ripplePulsate); - var rippleStyles = { + const { + className, + classes, + pulsate = false, + rippleX, + rippleY, + rippleSize, + in: inProp, + onExited, + timeout + } = props; + const [leaving, setLeaving] = react.useState(false); + const rippleClassName = (0,clsx/* default */.Z)(className, classes.ripple, classes.rippleVisible, pulsate && classes.ripplePulsate); + const rippleStyles = { width: rippleSize, height: rippleSize, top: -(rippleSize / 2) + rippleY, left: -(rippleSize / 2) + rippleX }; - var childClassName = (0,clsx/* default */.Z)(classes.child, leaving && classes.childLeaving, pulsate && classes.childPulsate); + const childClassName = (0,clsx/* default */.Z)(classes.child, leaving && classes.childLeaving, pulsate && classes.childPulsate); if (!inProp && !leaving) { setLeaving(true); } - react.useEffect(function () { + react.useEffect(() => { if (!inProp && onExited != null) { // react-transition-group#onExited - var timeoutId = setTimeout(onExited, timeout); - return function () { + const timeoutId = setTimeout(onExited, timeout); + return () => { clearTimeout(timeoutId); }; } @@ -18372,30 +17393,26 @@ function Ripple(props) { }); } false ? 0 : void 0; -/* harmony default export */ var ButtonBase_Ripple = (Ripple); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.22_react@18.2.0/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js -var generateUtilityClasses = __webpack_require__(8738); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/touchRippleClasses.js +/* harmony default export */ const ButtonBase_Ripple = (Ripple); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.67_react@18.2.0/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js +var generateUtilityClasses = __webpack_require__(9016); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/touchRippleClasses.js function getTouchRippleUtilityClass(slot) { return generateUtilityClass('MuiTouchRipple', slot); } -var touchRippleClasses = (0,generateUtilityClasses/* default */.Z)('MuiTouchRipple', ['root', 'ripple', 'rippleVisible', 'ripplePulsate', 'child', 'childLeaving', 'childPulsate']); -/* harmony default export */ var ButtonBase_touchRippleClasses = (touchRippleClasses); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/TouchRipple.js +const touchRippleClasses = (0,generateUtilityClasses/* default */.Z)('MuiTouchRipple', ['root', 'ripple', 'rippleVisible', 'ripplePulsate', 'child', 'childLeaving', 'childPulsate']); +/* harmony default export */ const ButtonBase_touchRippleClasses = (touchRippleClasses); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/TouchRipple.js 'use client'; - - var _templateObject, _templateObject2, _templateObject3, _templateObject4; -var _excluded = ["center", "classes", "className"]; -var _ = function _(t) { - return t; - }, +const _excluded = ["center", "classes", "className"]; +let _ = t => t, _t, _t2, _t3, @@ -18410,12 +17427,12 @@ var _ = function _(t) { -var DURATION = 550; -var DELAY_RIPPLE = 80; -var enterKeyframe = keyframes(_t || (_t = _(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n"]))))); -var exitKeyframe = keyframes(_t2 || (_t2 = _(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n"]))))); -var pulsateKeyframe = keyframes(_t3 || (_t3 = _(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.92);\n }\n\n 100% {\n transform: scale(1);\n }\n"]))))); -var TouchRippleRoot = (0,styled/* default */.ZP)('span', { +const DURATION = 550; +const DELAY_RIPPLE = 80; +const enterKeyframe = keyframes(_t || (_t = _(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n"]))))); +const exitKeyframe = keyframes(_t2 || (_t2 = _(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n"]))))); +const pulsateKeyframe = keyframes(_t3 || (_t3 = _(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.92);\n }\n\n 100% {\n transform: scale(1);\n }\n"]))))); +const TouchRippleRoot = (0,styled/* default */.ZP)('span', { name: 'MuiTouchRipple', slot: 'Root' })({ @@ -18432,20 +17449,28 @@ var TouchRippleRoot = (0,styled/* default */.ZP)('span', { // This `styled()` function invokes keyframes. `styled-components` only supports keyframes // in string templates. Do not convert these styles in JS object as it will break. -var TouchRippleRipple = (0,styled/* default */.ZP)(ButtonBase_Ripple, { +const TouchRippleRipple = (0,styled/* default */.ZP)(ButtonBase_Ripple, { name: 'MuiTouchRipple', slot: 'Ripple' -})(_t4 || (_t4 = _(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n opacity: 0;\n position: absolute;\n\n &.", " {\n opacity: 0.3;\n transform: scale(1);\n animation-name: ", ";\n animation-duration: ", "ms;\n animation-timing-function: ", ";\n }\n\n &.", " {\n animation-duration: ", "ms;\n }\n\n & .", " {\n opacity: 1;\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: currentColor;\n }\n\n & .", " {\n opacity: 0;\n animation-name: ", ";\n animation-duration: ", "ms;\n animation-timing-function: ", ";\n }\n\n & .", " {\n position: absolute;\n /* @noflip */\n left: 0px;\n top: 0;\n animation-name: ", ";\n animation-duration: 2500ms;\n animation-timing-function: ", ";\n animation-iteration-count: infinite;\n animation-delay: 200ms;\n }\n"])), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)), ButtonBase_touchRippleClasses.rippleVisible, enterKeyframe, DURATION, function (_ref) { - var theme = _ref.theme; +})(_t4 || (_t4 = _(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n opacity: 0;\n position: absolute;\n\n &.", " {\n opacity: 0.3;\n transform: scale(1);\n animation-name: ", ";\n animation-duration: ", "ms;\n animation-timing-function: ", ";\n }\n\n &.", " {\n animation-duration: ", "ms;\n }\n\n & .", " {\n opacity: 1;\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: currentColor;\n }\n\n & .", " {\n opacity: 0;\n animation-name: ", ";\n animation-duration: ", "ms;\n animation-timing-function: ", ";\n }\n\n & .", " {\n position: absolute;\n /* @noflip */\n left: 0px;\n top: 0;\n animation-name: ", ";\n animation-duration: 2500ms;\n animation-timing-function: ", ";\n animation-iteration-count: infinite;\n animation-delay: 200ms;\n }\n"])), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)), ButtonBase_touchRippleClasses.rippleVisible, enterKeyframe, DURATION, _ref => { + let { + theme + } = _ref; return theme.transitions.easing.easeInOut; -}, ButtonBase_touchRippleClasses.ripplePulsate, function (_ref2) { - var theme = _ref2.theme; +}, ButtonBase_touchRippleClasses.ripplePulsate, _ref2 => { + let { + theme + } = _ref2; return theme.transitions.duration.shorter; -}, ButtonBase_touchRippleClasses.child, ButtonBase_touchRippleClasses.childLeaving, exitKeyframe, DURATION, function (_ref3) { - var theme = _ref3.theme; +}, ButtonBase_touchRippleClasses.child, ButtonBase_touchRippleClasses.childLeaving, exitKeyframe, DURATION, _ref3 => { + let { + theme + } = _ref3; return theme.transitions.easing.easeInOut; -}, ButtonBase_touchRippleClasses.childPulsate, pulsateKeyframe, function (_ref4) { - var theme = _ref4.theme; +}, ButtonBase_touchRippleClasses.childPulsate, pulsateKeyframe, _ref4 => { + let { + theme + } = _ref4; return theme.transitions.easing.easeInOut; }); @@ -18454,24 +17479,21 @@ var TouchRippleRipple = (0,styled/* default */.ZP)(ButtonBase_Ripple, { * * TODO v5: Make private */ -var TouchRipple = /*#__PURE__*/react.forwardRef(function TouchRipple(inProps, ref) { - var props = (0,styles_useThemeProps/* default */.Z)({ +const TouchRipple = /*#__PURE__*/react.forwardRef(function TouchRipple(inProps, ref) { + const props = (0,useThemeProps/* default */.Z)({ props: inProps, name: 'MuiTouchRipple' }); - var _props$center = props.center, - centerProp = _props$center === void 0 ? false : _props$center, - _props$classes = props.classes, - classes = _props$classes === void 0 ? {} : _props$classes, - className = props.className, + const { + center: centerProp = false, + classes = {}, + className + } = props, other = (0,objectWithoutPropertiesLoose/* default */.Z)(props, _excluded); - var _React$useState = react.useState([]), - _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), - ripples = _React$useState2[0], - setRipples = _React$useState2[1]; - var nextKey = react.useRef(0); - var rippleCallback = react.useRef(null); - react.useEffect(function () { + const [ripples, setRipples] = react.useState([]); + const nextKey = react.useRef(0); + const rippleCallback = react.useRef(null); + react.useEffect(() => { if (rippleCallback.current) { rippleCallback.current(); rippleCallback.current = null; @@ -18479,57 +17501,56 @@ var TouchRipple = /*#__PURE__*/react.forwardRef(function TouchRipple(inProps, re }, [ripples]); // Used to filter out mouse emulated events on mobile. - var ignoringMouseDown = react.useRef(false); + const ignoringMouseDown = react.useRef(false); // We use a timer in order to only show the ripples for touch "click" like events. // We don't want to display the ripple for touch scroll events. - var startTimer = react.useRef(0); + const startTimer = react.useRef(0); // This is the hook called once the previous timeout is ready. - var startTimerCommit = react.useRef(null); - var container = react.useRef(null); - react.useEffect(function () { - return function () { + const startTimerCommit = react.useRef(null); + const container = react.useRef(null); + react.useEffect(() => { + return () => { if (startTimer.current) { clearTimeout(startTimer.current); } }; }, []); - var startCommit = react.useCallback(function (params) { - var pulsate = params.pulsate, - rippleX = params.rippleX, - rippleY = params.rippleY, - rippleSize = params.rippleSize, - cb = params.cb; - setRipples(function (oldRipples) { - return [].concat((0,toConsumableArray/* default */.Z)(oldRipples), [/*#__PURE__*/(0,jsx_runtime.jsx)(TouchRippleRipple, { - classes: { - ripple: (0,clsx/* default */.Z)(classes.ripple, ButtonBase_touchRippleClasses.ripple), - rippleVisible: (0,clsx/* default */.Z)(classes.rippleVisible, ButtonBase_touchRippleClasses.rippleVisible), - ripplePulsate: (0,clsx/* default */.Z)(classes.ripplePulsate, ButtonBase_touchRippleClasses.ripplePulsate), - child: (0,clsx/* default */.Z)(classes.child, ButtonBase_touchRippleClasses.child), - childLeaving: (0,clsx/* default */.Z)(classes.childLeaving, ButtonBase_touchRippleClasses.childLeaving), - childPulsate: (0,clsx/* default */.Z)(classes.childPulsate, ButtonBase_touchRippleClasses.childPulsate) - }, - timeout: DURATION, - pulsate: pulsate, - rippleX: rippleX, - rippleY: rippleY, - rippleSize: rippleSize - }, nextKey.current)]); - }); + const startCommit = react.useCallback(params => { + const { + pulsate, + rippleX, + rippleY, + rippleSize, + cb + } = params; + setRipples(oldRipples => [...oldRipples, /*#__PURE__*/(0,jsx_runtime.jsx)(TouchRippleRipple, { + classes: { + ripple: (0,clsx/* default */.Z)(classes.ripple, ButtonBase_touchRippleClasses.ripple), + rippleVisible: (0,clsx/* default */.Z)(classes.rippleVisible, ButtonBase_touchRippleClasses.rippleVisible), + ripplePulsate: (0,clsx/* default */.Z)(classes.ripplePulsate, ButtonBase_touchRippleClasses.ripplePulsate), + child: (0,clsx/* default */.Z)(classes.child, ButtonBase_touchRippleClasses.child), + childLeaving: (0,clsx/* default */.Z)(classes.childLeaving, ButtonBase_touchRippleClasses.childLeaving), + childPulsate: (0,clsx/* default */.Z)(classes.childPulsate, ButtonBase_touchRippleClasses.childPulsate) + }, + timeout: DURATION, + pulsate: pulsate, + rippleX: rippleX, + rippleY: rippleY, + rippleSize: rippleSize + }, nextKey.current)]); nextKey.current += 1; rippleCallback.current = cb; }, [classes]); - var start = react.useCallback(function () { - var event = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var cb = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : function () {}; - var _options$pulsate = options.pulsate, - pulsate = _options$pulsate === void 0 ? false : _options$pulsate, - _options$center = options.center, - center = _options$center === void 0 ? centerProp || options.pulsate : _options$center, - _options$fakeElement = options.fakeElement, - fakeElement = _options$fakeElement === void 0 ? false : _options$fakeElement; + const start = react.useCallback(function () { + let event = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + let cb = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : () => {}; + const { + pulsate = false, + center = centerProp || options.pulsate, + fakeElement = false // For test purposes + } = options; if ((event == null ? void 0 : event.type) === 'mousedown' && ignoringMouseDown.current) { ignoringMouseDown.current = false; return; @@ -18537,8 +17558,8 @@ var TouchRipple = /*#__PURE__*/react.forwardRef(function TouchRipple(inProps, re if ((event == null ? void 0 : event.type) === 'touchstart') { ignoringMouseDown.current = true; } - var element = fakeElement ? null : container.current; - var rect = element ? element.getBoundingClientRect() : { + const element = fakeElement ? null : container.current; + const rect = element ? element.getBoundingClientRect() : { width: 0, height: 0, left: 0, @@ -18546,30 +17567,31 @@ var TouchRipple = /*#__PURE__*/react.forwardRef(function TouchRipple(inProps, re }; // Get the size of the ripple - var rippleX; - var rippleY; - var rippleSize; + let rippleX; + let rippleY; + let rippleSize; if (center || event === undefined || event.clientX === 0 && event.clientY === 0 || !event.clientX && !event.touches) { rippleX = Math.round(rect.width / 2); rippleY = Math.round(rect.height / 2); } else { - var _ref5 = event.touches && event.touches.length > 0 ? event.touches[0] : event, - clientX = _ref5.clientX, - clientY = _ref5.clientY; + const { + clientX, + clientY + } = event.touches && event.touches.length > 0 ? event.touches[0] : event; rippleX = Math.round(clientX - rect.left); rippleY = Math.round(clientY - rect.top); } if (center) { - rippleSize = Math.sqrt((2 * Math.pow(rect.width, 2) + Math.pow(rect.height, 2)) / 3); + rippleSize = Math.sqrt((2 * rect.width ** 2 + rect.height ** 2) / 3); // For some reason the animation is broken on Mobile Chrome if the size is even. if (rippleSize % 2 === 0) { rippleSize += 1; } } else { - var sizeX = Math.max(Math.abs((element ? element.clientWidth : 0) - rippleX), rippleX) * 2 + 2; - var sizeY = Math.max(Math.abs((element ? element.clientHeight : 0) - rippleY), rippleY) * 2 + 2; - rippleSize = Math.sqrt(Math.pow(sizeX, 2) + Math.pow(sizeY, 2)); + const sizeX = Math.max(Math.abs((element ? element.clientWidth : 0) - rippleX), rippleX) * 2 + 2; + const sizeY = Math.max(Math.abs((element ? element.clientHeight : 0) - rippleY), rippleY) * 2 + 2; + rippleSize = Math.sqrt(sizeX ** 2 + sizeY ** 2); } // Touche devices @@ -18579,17 +17601,17 @@ var TouchRipple = /*#__PURE__*/react.forwardRef(function TouchRipple(inProps, re // are running if (startTimerCommit.current === null) { // Prepare the ripple effect. - startTimerCommit.current = function () { + startTimerCommit.current = () => { startCommit({ - pulsate: pulsate, - rippleX: rippleX, - rippleY: rippleY, - rippleSize: rippleSize, - cb: cb + pulsate, + rippleX, + rippleY, + rippleSize, + cb }); }; // Delay the execution of the ripple effect. - startTimer.current = setTimeout(function () { + startTimer.current = setTimeout(() => { if (startTimerCommit.current) { startTimerCommit.current(); startTimerCommit.current = null; @@ -18598,20 +17620,20 @@ var TouchRipple = /*#__PURE__*/react.forwardRef(function TouchRipple(inProps, re } } else { startCommit({ - pulsate: pulsate, - rippleX: rippleX, - rippleY: rippleY, - rippleSize: rippleSize, - cb: cb + pulsate, + rippleX, + rippleY, + rippleSize, + cb }); } }, [centerProp, startCommit]); - var pulsate = react.useCallback(function () { + const pulsate = react.useCallback(() => { start({}, { pulsate: true }); }, [start]); - var stop = react.useCallback(function (event, cb) { + const stop = react.useCallback((event, cb) => { clearTimeout(startTimer.current); // The touch interaction occurs too quickly. @@ -18619,13 +17641,13 @@ var TouchRipple = /*#__PURE__*/react.forwardRef(function TouchRipple(inProps, re if ((event == null ? void 0 : event.type) === 'touchend' && startTimerCommit.current) { startTimerCommit.current(); startTimerCommit.current = null; - startTimer.current = setTimeout(function () { + startTimer.current = setTimeout(() => { stop(event, cb); }); return; } startTimerCommit.current = null; - setRipples(function (oldRipples) { + setRipples(oldRipples => { if (oldRipples.length > 0) { return oldRipples.slice(1); } @@ -18633,13 +17655,11 @@ var TouchRipple = /*#__PURE__*/react.forwardRef(function TouchRipple(inProps, re }); rippleCallback.current = cb; }, []); - react.useImperativeHandle(ref, function () { - return { - pulsate: pulsate, - start: start, - stop: stop - }; - }, [pulsate, start, stop]); + react.useImperativeHandle(ref, () => ({ + pulsate, + start, + stop + }), [pulsate, start, stop]); return /*#__PURE__*/(0,jsx_runtime.jsx)(TouchRippleRoot, (0,esm_extends/* default */.Z)({ className: (0,clsx/* default */.Z)(ButtonBase_touchRippleClasses.root, classes.root, className), ref: container @@ -18652,26 +17672,23 @@ var TouchRipple = /*#__PURE__*/react.forwardRef(function TouchRipple(inProps, re })); }); false ? 0 : void 0; -/* harmony default export */ var ButtonBase_TouchRipple = (TouchRipple); -// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.22_react@18.2.0/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js -var generateUtilityClass_generateUtilityClass = __webpack_require__(5165); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/buttonBaseClasses.js +/* harmony default export */ const ButtonBase_TouchRipple = (TouchRipple); +// EXTERNAL MODULE: ./node_modules/.pnpm/@mui+utils@5.14.10_@types+react@18.2.67_react@18.2.0/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js +var generateUtilityClass_generateUtilityClass = __webpack_require__(4258); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/buttonBaseClasses.js function getButtonBaseUtilityClass(slot) { return (0,generateUtilityClass_generateUtilityClass/* default */.Z)('MuiButtonBase', slot); } -var buttonBaseClasses = (0,generateUtilityClasses/* default */.Z)('MuiButtonBase', ['root', 'disabled', 'focusVisible']); -/* harmony default export */ var ButtonBase_buttonBaseClasses = (buttonBaseClasses); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.22_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/ButtonBase.js +const buttonBaseClasses = (0,generateUtilityClasses/* default */.Z)('MuiButtonBase', ['root', 'disabled', 'focusVisible']); +/* harmony default export */ const ButtonBase_buttonBaseClasses = (buttonBaseClasses); +;// CONCATENATED MODULE: ./node_modules/.pnpm/@mui+material@5.14.10_@emotion+react@11.11.1_@emotion+styled@11.11.0_@types+react@18.2.67_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/ButtonBase.js 'use client'; -var _styled; - - -var ButtonBase_excluded = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"]; +const ButtonBase_excluded = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"]; @@ -18686,27 +17703,27 @@ var ButtonBase_excluded = ["action", "centerRipple", "children", "className", "c -var useUtilityClasses = function useUtilityClasses(ownerState) { - var disabled = ownerState.disabled, - focusVisible = ownerState.focusVisible, - focusVisibleClassName = ownerState.focusVisibleClassName, - classes = ownerState.classes; - var slots = { +const useUtilityClasses = ownerState => { + const { + disabled, + focusVisible, + focusVisibleClassName, + classes + } = ownerState; + const slots = { root: ['root', disabled && 'disabled', focusVisible && 'focusVisible'] }; - var composedClasses = (0,composeClasses/* default */.Z)(slots, getButtonBaseUtilityClass, classes); + const composedClasses = (0,composeClasses/* default */.Z)(slots, getButtonBaseUtilityClass, classes); if (focusVisible && focusVisibleClassName) { composedClasses.root += " ".concat(focusVisibleClassName); } return composedClasses; }; -var ButtonBaseRoot = (0,styled/* default */.ZP)('button', { +const ButtonBaseRoot = (0,styled/* default */.ZP)('button', { name: 'MuiButtonBase', slot: 'Root', - overridesResolver: function overridesResolver(props, styles) { - return styles.root; - } -})((_styled = { + overridesResolver: (props, styles) => styles.root +})({ display: 'inline-flex', alignItems: 'center', justifyContent: 'center', @@ -18735,116 +17752,106 @@ var ButtonBaseRoot = (0,styled/* default */.ZP)('button', { color: 'inherit', '&::-moz-focus-inner': { borderStyle: 'none' // Remove Firefox dotted outline. + }, + + ["&.".concat(ButtonBase_buttonBaseClasses.disabled)]: { + pointerEvents: 'none', + // Disable link interactions + cursor: 'default' + }, + '@media print': { + colorAdjust: 'exact' } -}, (0,defineProperty/* default */.Z)(_styled, "&.".concat(ButtonBase_buttonBaseClasses.disabled), { - pointerEvents: 'none', - // Disable link interactions - cursor: 'default' -}), (0,defineProperty/* default */.Z)(_styled, '@media print', { - colorAdjust: 'exact' -}), _styled)); +}); /** * `ButtonBase` contains as few styles as possible. * It aims to be a simple building block for creating a button. * It contains a load of style reset and some focus/ripple logic. */ -var ButtonBase = /*#__PURE__*/react.forwardRef(function ButtonBase(inProps, ref) { - var props = (0,styles_useThemeProps/* default */.Z)({ +const ButtonBase = /*#__PURE__*/react.forwardRef(function ButtonBase(inProps, ref) { + const props = (0,useThemeProps/* default */.Z)({ props: inProps, name: 'MuiButtonBase' }); - var action = props.action, - _props$centerRipple = props.centerRipple, - centerRipple = _props$centerRipple === void 0 ? false : _props$centerRipple, - children = props.children, - className = props.className, - _props$component = props.component, - component = _props$component === void 0 ? 'button' : _props$component, - _props$disabled = props.disabled, - disabled = _props$disabled === void 0 ? false : _props$disabled, - _props$disableRipple = props.disableRipple, - disableRipple = _props$disableRipple === void 0 ? false : _props$disableRipple, - _props$disableTouchRi = props.disableTouchRipple, - disableTouchRipple = _props$disableTouchRi === void 0 ? false : _props$disableTouchRi, - _props$focusRipple = props.focusRipple, - focusRipple = _props$focusRipple === void 0 ? false : _props$focusRipple, - _props$LinkComponent = props.LinkComponent, - LinkComponent = _props$LinkComponent === void 0 ? 'a' : _props$LinkComponent, - onBlur = props.onBlur, - onClick = props.onClick, - onContextMenu = props.onContextMenu, - onDragLeave = props.onDragLeave, - onFocus = props.onFocus, - onFocusVisible = props.onFocusVisible, - onKeyDown = props.onKeyDown, - onKeyUp = props.onKeyUp, - onMouseDown = props.onMouseDown, - onMouseLeave = props.onMouseLeave, - onMouseUp = props.onMouseUp, - onTouchEnd = props.onTouchEnd, - onTouchMove = props.onTouchMove, - onTouchStart = props.onTouchStart, - _props$tabIndex = props.tabIndex, - tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex, - TouchRippleProps = props.TouchRippleProps, - touchRippleRef = props.touchRippleRef, - type = props.type, + const { + action, + centerRipple = false, + children, + className, + component = 'button', + disabled = false, + disableRipple = false, + disableTouchRipple = false, + focusRipple = false, + LinkComponent = 'a', + onBlur, + onClick, + onContextMenu, + onDragLeave, + onFocus, + onFocusVisible, + onKeyDown, + onKeyUp, + onMouseDown, + onMouseLeave, + onMouseUp, + onTouchEnd, + onTouchMove, + onTouchStart, + tabIndex = 0, + TouchRippleProps, + touchRippleRef, + type + } = props, other = (0,objectWithoutPropertiesLoose/* default */.Z)(props, ButtonBase_excluded); - var buttonRef = react.useRef(null); - var rippleRef = react.useRef(null); - var handleRippleRef = (0,useForkRef/* default */.Z)(rippleRef, touchRippleRef); - var _useIsFocusVisible = (0,useIsFocusVisible/* default */.Z)(), - isFocusVisibleRef = _useIsFocusVisible.isFocusVisibleRef, - handleFocusVisible = _useIsFocusVisible.onFocus, - handleBlurVisible = _useIsFocusVisible.onBlur, - focusVisibleRef = _useIsFocusVisible.ref; - var _React$useState = react.useState(false), - _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), - focusVisible = _React$useState2[0], - setFocusVisible = _React$useState2[1]; + const buttonRef = react.useRef(null); + const rippleRef = react.useRef(null); + const handleRippleRef = (0,useForkRef/* default */.Z)(rippleRef, touchRippleRef); + const { + isFocusVisibleRef, + onFocus: handleFocusVisible, + onBlur: handleBlurVisible, + ref: focusVisibleRef + } = (0,useIsFocusVisible/* default */.Z)(); + const [focusVisible, setFocusVisible] = react.useState(false); if (disabled && focusVisible) { setFocusVisible(false); } - react.useImperativeHandle(action, function () { - return { - focusVisible: function focusVisible() { - setFocusVisible(true); - buttonRef.current.focus(); - } - }; - }, []); - var _React$useState3 = react.useState(false), - _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), - mountedState = _React$useState4[0], - setMountedState = _React$useState4[1]; - react.useEffect(function () { + react.useImperativeHandle(action, () => ({ + focusVisible: () => { + setFocusVisible(true); + buttonRef.current.focus(); + } + }), []); + const [mountedState, setMountedState] = react.useState(false); + react.useEffect(() => { setMountedState(true); }, []); - var enableTouchRipple = mountedState && !disableRipple && !disabled; - react.useEffect(function () { + const enableTouchRipple = mountedState && !disableRipple && !disabled; + react.useEffect(() => { if (focusVisible && focusRipple && !disableRipple && mountedState) { rippleRef.current.pulsate(); } }, [disableRipple, focusRipple, focusVisible, mountedState]); function useRippleHandler(rippleAction, eventCallback) { - var skipRippleAction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : disableTouchRipple; - return (0,useEventCallback/* default */.Z)(function (event) { + let skipRippleAction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : disableTouchRipple; + return (0,useEventCallback/* default */.Z)(event => { if (eventCallback) { eventCallback(event); } - var ignore = skipRippleAction; + const ignore = skipRippleAction; if (!ignore && rippleRef.current) { rippleRef.current[rippleAction](event); } return true; }); } - var handleMouseDown = useRippleHandler('start', onMouseDown); - var handleContextMenu = useRippleHandler('stop', onContextMenu); - var handleDragLeave = useRippleHandler('stop', onDragLeave); - var handleMouseUp = useRippleHandler('stop', onMouseUp); - var handleMouseLeave = useRippleHandler('stop', function (event) { + const handleMouseDown = useRippleHandler('start', onMouseDown); + const handleContextMenu = useRippleHandler('stop', onContextMenu); + const handleDragLeave = useRippleHandler('stop', onDragLeave); + const handleMouseUp = useRippleHandler('stop', onMouseUp); + const handleMouseLeave = useRippleHandler('stop', event => { if (focusVisible) { event.preventDefault(); } @@ -18852,10 +17859,10 @@ var ButtonBase = /*#__PURE__*/react.forwardRef(function ButtonBase(inProps, ref) onMouseLeave(event); } }); - var handleTouchStart = useRippleHandler('start', onTouchStart); - var handleTouchEnd = useRippleHandler('stop', onTouchEnd); - var handleTouchMove = useRippleHandler('stop', onTouchMove); - var handleBlur = useRippleHandler('stop', function (event) { + const handleTouchStart = useRippleHandler('start', onTouchStart); + const handleTouchEnd = useRippleHandler('stop', onTouchEnd); + const handleTouchMove = useRippleHandler('stop', onTouchMove); + const handleBlur = useRippleHandler('stop', event => { handleBlurVisible(event); if (isFocusVisibleRef.current === false) { setFocusVisible(false); @@ -18864,7 +17871,7 @@ var ButtonBase = /*#__PURE__*/react.forwardRef(function ButtonBase(inProps, ref) onBlur(event); } }, false); - var handleFocus = (0,useEventCallback/* default */.Z)(function (event) { + const handleFocus = (0,useEventCallback/* default */.Z)(event => { // Fix for https://github.com/facebook/react/issues/7769 if (!buttonRef.current) { buttonRef.current = event.currentTarget; @@ -18880,20 +17887,20 @@ var ButtonBase = /*#__PURE__*/react.forwardRef(function ButtonBase(inProps, ref) onFocus(event); } }); - var isNonNativeButton = function isNonNativeButton() { - var button = buttonRef.current; + const isNonNativeButton = () => { + const button = buttonRef.current; return component && component !== 'button' && !(button.tagName === 'A' && button.href); }; /** * IE11 shim for https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/repeat */ - var keydownRef = react.useRef(false); - var handleKeyDown = (0,useEventCallback/* default */.Z)(function (event) { + const keydownRef = react.useRef(false); + const handleKeyDown = (0,useEventCallback/* default */.Z)(event => { // Check if key is already down to avoid repeats being counted as multiple activations if (focusRipple && !keydownRef.current && focusVisible && rippleRef.current && event.key === ' ') { keydownRef.current = true; - rippleRef.current.stop(event, function () { + rippleRef.current.stop(event, () => { rippleRef.current.start(event); }); } @@ -18912,12 +17919,12 @@ var ButtonBase = /*#__PURE__*/react.forwardRef(function ButtonBase(inProps, ref) } } }); - var handleKeyUp = (0,useEventCallback/* default */.Z)(function (event) { + const handleKeyUp = (0,useEventCallback/* default */.Z)(event => { // calling preventDefault in keyUp on a