/******/ (function() { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "./node_modules/@elementor/ui/AppBar/index.esm.js": /*!********************************************************!*\ !*** ./node_modules/@elementor/ui/AppBar/index.esm.js ***! \********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ appBarClasses: function() { return /* reexport safe */ _mui_material_AppBar__WEBPACK_IMPORTED_MODULE_1__.appBarClasses; }, /* harmony export */ "default": function() { return /* binding */ AppBar; }, /* harmony export */ getAppBarUtilityClass: function() { return /* reexport safe */ _mui_material_AppBar__WEBPACK_IMPORTED_MODULE_1__.getAppBarUtilityClass; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _mui_material_AppBar__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/AppBar */ "./node_modules/@mui/material/AppBar/AppBar.js"); /* harmony import */ var _mui_material_AppBar__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/AppBar */ "./node_modules/@mui/material/AppBar/index.js"); const AppBar = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((props, ref) => { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material_AppBar__WEBPACK_IMPORTED_MODULE_2__["default"], { ...props, ref }); }); //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/Box/index.esm.js": /*!*****************************************************!*\ !*** ./node_modules/@elementor/ui/Box/index.esm.js ***! \*****************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ boxClasses: function() { return /* reexport safe */ _mui_material_Box__WEBPACK_IMPORTED_MODULE_1__.boxClasses; }, /* harmony export */ "default": function() { return /* binding */ Box; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _mui_material_Box__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/Box */ "./node_modules/@mui/material/Box/Box.js"); /* harmony import */ var _mui_material_Box__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/Box */ "./node_modules/@mui/material/Box/index.js"); const Box = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((props, ref) => { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material_Box__WEBPACK_IMPORTED_MODULE_2__["default"], { ...props, ref }); }); //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/Button/index.esm.js": /*!********************************************************!*\ !*** ./node_modules/@elementor/ui/Button/index.esm.js ***! \********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ buttonClasses: function() { return /* reexport safe */ _mui_material_Button__WEBPACK_IMPORTED_MODULE_1__.buttonClasses; }, /* harmony export */ "default": function() { return /* binding */ Button; }, /* harmony export */ getButtonUtilityClass: function() { return /* reexport safe */ _mui_material_Button__WEBPACK_IMPORTED_MODULE_1__.getButtonUtilityClass; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _mui_material_Button__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/Button */ "./node_modules/@mui/material/Button/Button.js"); /* harmony import */ var _mui_material_Button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/Button */ "./node_modules/@mui/material/Button/index.js"); /* harmony import */ var _styles__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../styles */ "./node_modules/@mui/material/styles/styled.js"); /* harmony import */ var _styles__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../styles */ "./node_modules/@elementor/ui/styles/index.esm.js"); /* harmony import */ var _ButtonGroup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../ButtonGroup */ "./node_modules/@mui/material/ButtonGroup/ButtonGroupContext.js"); /* harmony import */ var _CircularProgress__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../CircularProgress */ "./node_modules/@elementor/ui/CircularProgress/index.esm.js"); const LINK_PSEUDO_SELECTORS = "&:hover,&:focus,&:active,&:visited"; const UNSTABLE_ACCESSIBLE_MAIN_KEY = "__unstableAccessibleMain"; const StyledButton = (0,_styles__WEBPACK_IMPORTED_MODULE_2__["default"])(_mui_material_Button__WEBPACK_IMPORTED_MODULE_3__["default"])(({ theme, ownerState }) => { if (!ownerState.loading) { return null; } const hasCenteredLoader = ownerState.loadingPosition === "center"; if (hasCenteredLoader) { return { "&.MuiButtonBase-root": { "&, &:hover, &:focus, &:active": { color: "transparent" } }, "& .MuiButton-loadingWrapper": { display: "contents", "& .MuiButton-loadingIndicator": { display: "flex", position: "absolute", left: "50%", transform: "translateX(-50%)", color: theme.palette.action.disabled } } }; } return null; }); const getTextColor = (color = "primary", variant = "text") => { if (!color) { return; } if (color === "inherit") { return "inherit"; } if (variant === "contained") { return `${color}.contrastText`; } if (_styles__WEBPACK_IMPORTED_MODULE_4__.inaccessibleColors.includes(color)) { return `${color}.${UNSTABLE_ACCESSIBLE_MAIN_KEY}`; } return `${color}.main`; }; const Button = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((props, ref) => { const groupContext = react__WEBPACK_IMPORTED_MODULE_0___default().useContext(_ButtonGroup__WEBPACK_IMPORTED_MODULE_5__["default"]); const { sx = {}, ...rootProps } = getPropsWithLoadingState(props); let sxAdjustments = {}; const adjustmentsSelector = rootProps.href ? LINK_PSEUDO_SELECTORS : "&:hover,&:focus,&:active"; const color = rootProps.color || groupContext?.color; const variant = rootProps.variant || groupContext?.variant; sxAdjustments = { [adjustmentsSelector]: { color: getTextColor(color, variant) } }; return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( StyledButton, { ...rootProps, sx: { ...sxAdjustments, ...sx }, ref, ownerState: props } ); }); Button.defaultProps = { loading: false, loadingIndicator: /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_CircularProgress__WEBPACK_IMPORTED_MODULE_6__["default"], { color: "inherit", size: 16 }), loadingPosition: "center" }; function ButtonLoader({ loadingIndicator, children }) { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", { className: "MuiButton-loadingWrapper" }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", { className: "MuiButton-loadingIndicator" }, loadingIndicator)), children); } function getPropsWithLoadingState(props) { const { loading, loadingPosition, loadingIndicator, ...rest } = props; if (!loading) { return rest; } switch (loadingPosition) { case "start": rest.startIcon = loadingIndicator; break; case "end": rest.endIcon = loadingIndicator; break; case "center": rest.children = /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(ButtonLoader, { loadingIndicator }, props.children); break; } return { ...rest, disabled: true }; } //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/ButtonBase/index.esm.js": /*!************************************************************!*\ !*** ./node_modules/@elementor/ui/ButtonBase/index.esm.js ***! \************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ buttonBaseClasses: function() { return /* reexport safe */ _mui_material_ButtonBase__WEBPACK_IMPORTED_MODULE_1__.buttonBaseClasses; }, /* harmony export */ "default": function() { return /* binding */ ButtonBase; }, /* harmony export */ getButtonBaseUtilityClass: function() { return /* reexport safe */ _mui_material_ButtonBase__WEBPACK_IMPORTED_MODULE_1__.getButtonBaseUtilityClass; }, /* harmony export */ getTouchRippleUtilityClass: function() { return /* reexport safe */ _mui_material_ButtonBase__WEBPACK_IMPORTED_MODULE_1__.getTouchRippleUtilityClass; }, /* harmony export */ touchRippleClasses: function() { return /* reexport safe */ _mui_material_ButtonBase__WEBPACK_IMPORTED_MODULE_1__.touchRippleClasses; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _mui_material_ButtonBase__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/ButtonBase */ "./node_modules/@mui/material/ButtonBase/ButtonBase.js"); /* harmony import */ var _mui_material_ButtonBase__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/ButtonBase */ "./node_modules/@mui/material/ButtonBase/index.js"); const ButtonBase = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((props, ref) => { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material_ButtonBase__WEBPACK_IMPORTED_MODULE_2__["default"], { ...props, ref }); }); //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/ButtonGroup/index.esm.js": /*!*************************************************************!*\ !*** ./node_modules/@elementor/ui/ButtonGroup/index.esm.js ***! \*************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ ButtonGroupButtonContext: function() { return /* reexport safe */ _mui_material_ButtonGroup__WEBPACK_IMPORTED_MODULE_1__.ButtonGroupButtonContext; }, /* harmony export */ ButtonGroupContext: function() { return /* reexport safe */ _mui_material_ButtonGroup__WEBPACK_IMPORTED_MODULE_1__.ButtonGroupContext; }, /* harmony export */ buttonGroupClasses: function() { return /* reexport safe */ _mui_material_ButtonGroup__WEBPACK_IMPORTED_MODULE_1__.buttonGroupClasses; }, /* harmony export */ "default": function() { return /* binding */ ButtonGroup; }, /* harmony export */ getButtonGroupUtilityClass: function() { return /* reexport safe */ _mui_material_ButtonGroup__WEBPACK_IMPORTED_MODULE_1__.getButtonGroupUtilityClass; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _mui_material_ButtonGroup__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/ButtonGroup */ "./node_modules/@mui/material/ButtonGroup/ButtonGroup.js"); /* harmony import */ var _mui_material_ButtonGroup__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/ButtonGroup */ "./node_modules/@mui/material/ButtonGroup/index.js"); const ButtonGroup = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((props, ref) => { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material_ButtonGroup__WEBPACK_IMPORTED_MODULE_2__["default"], { ...props, ref }); }); //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/CircularProgress/index.esm.js": /*!******************************************************************!*\ !*** ./node_modules/@elementor/ui/CircularProgress/index.esm.js ***! \******************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ circularProgressClasses: function() { return /* reexport safe */ _mui_material_CircularProgress__WEBPACK_IMPORTED_MODULE_1__.circularProgressClasses; }, /* harmony export */ "default": function() { return /* binding */ CircularProgress; }, /* harmony export */ getCircularProgressUtilityClass: function() { return /* reexport safe */ _mui_material_CircularProgress__WEBPACK_IMPORTED_MODULE_1__.getCircularProgressUtilityClass; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _mui_material_CircularProgress__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/CircularProgress */ "./node_modules/@mui/material/CircularProgress/CircularProgress.js"); /* harmony import */ var _mui_material_CircularProgress__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/CircularProgress */ "./node_modules/@mui/material/CircularProgress/index.js"); const CircularProgress = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((props, ref) => { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material_CircularProgress__WEBPACK_IMPORTED_MODULE_2__["default"], { ...props, ref }); }); //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/ClickAwayListener/index.esm.js": /*!*******************************************************************!*\ !*** ./node_modules/@elementor/ui/ClickAwayListener/index.esm.js ***! \*******************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ ClickAwayListener; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _mui_material_ClickAwayListener__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/ClickAwayListener */ "./node_modules/@mui/base/ClickAwayListener/ClickAwayListener.js"); const ClickAwayListener = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((props, ref) => { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material_ClickAwayListener__WEBPACK_IMPORTED_MODULE_1__.ClickAwayListener, { ...props, ref }); }); //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/CloseButton/index.esm.js": /*!*************************************************************!*\ !*** ./node_modules/@elementor/ui/CloseButton/index.esm.js ***! \*************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ CloseButton; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! clsx */ "./node_modules/@elementor/ui/node_modules/clsx/dist/clsx.mjs"); /* harmony import */ var _IconButton__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../IconButton */ "./node_modules/@elementor/ui/IconButton/index.esm.js"); /* harmony import */ var _SvgIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../SvgIcon */ "./node_modules/@elementor/ui/SvgIcon/index.esm.js"); /* harmony import */ var _styles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../styles */ "./node_modules/@elementor/ui/styles/index.esm.js"); /* harmony import */ var _styles__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../styles */ "./node_modules/@mui/material/styles/styled.js"); /* harmony import */ var _styles__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../styles */ "./node_modules/@mui/material/styles/useThemeProps.js"); const XIcon = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((props, ref) => { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_SvgIcon__WEBPACK_IMPORTED_MODULE_2__["default"], { viewBox: "0 0 24 24", ...props, ref }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( "path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18.5303 5.46967C18.8232 5.76256 18.8232 6.23744 18.5303 6.53033L6.53033 18.5303C6.23744 18.8232 5.76256 18.8232 5.46967 18.5303C5.17678 18.2374 5.17678 17.7626 5.46967 17.4697L17.4697 5.46967C17.7626 5.17678 18.2374 5.17678 18.5303 5.46967Z" } ), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( "path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.46967 5.46967C5.76256 5.17678 6.23744 5.17678 6.53033 5.46967L18.5303 17.4697C18.8232 17.7626 18.8232 18.2374 18.5303 18.5303C18.2374 18.8232 17.7626 18.8232 17.4697 18.5303L5.46967 6.53033C5.17678 6.23744 5.17678 5.76256 5.46967 5.46967Z" } )); }); const { slots, classNames } = (0,_styles__WEBPACK_IMPORTED_MODULE_3__.createSlots)("CloseButton", ["root", "icon"]); const Root = (0,_styles__WEBPACK_IMPORTED_MODULE_4__["default"])(_IconButton__WEBPACK_IMPORTED_MODULE_5__["default"], slots.root)({}); const Icon = (0,_styles__WEBPACK_IMPORTED_MODULE_4__["default"])(XIcon, slots.icon)({}); const CloseButton = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((inProps, ref) => { const props = (0,_styles__WEBPACK_IMPORTED_MODULE_6__["default"])({ props: inProps, name: slots.root.name }); const { slotProps = {}, ...rootProps } = props; return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( Root, { ...rootProps, size: "small", ref, className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__["default"])([[classNames.root, rootProps.className]]), ownerState: props }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( Icon, { ...slotProps.icon, className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__["default"])([classNames.icon, slotProps.icon?.className]), ownerState: props } ) ); }); CloseButton.defaultProps = { "aria-label": "close", color: "default" }; //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/DirectionProvider/index.esm.js": /*!*******************************************************************!*\ !*** ./node_modules/@elementor/ui/DirectionProvider/index.esm.js ***! \*******************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ DirectionProvider; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var stylis_plugin_rtl__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! stylis-plugin-rtl */ "./node_modules/stylis-plugin-rtl/dist/stylis-rtl.js"); /* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @emotion/react */ "./node_modules/@emotion/react/dist/emotion-element-7a1343fa.browser.development.esm.js"); /* harmony import */ var _emotion_cache__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @emotion/cache */ "./node_modules/@emotion/cache/dist/emotion-cache.browser.development.esm.js"); /* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! stylis */ "./node_modules/stylis/src/Middleware.js"); const LTR_CACHE_KEY = "eui"; const RTL_CACHE_KEY = "eui-rtl"; const rtlCache = (0,_emotion_cache__WEBPACK_IMPORTED_MODULE_2__["default"])({ key: RTL_CACHE_KEY, stylisPlugins: [stylis__WEBPACK_IMPORTED_MODULE_3__.prefixer, stylis_plugin_rtl__WEBPACK_IMPORTED_MODULE_1__["default"]] }); const ltrCache = (0,_emotion_cache__WEBPACK_IMPORTED_MODULE_2__["default"])({ key: LTR_CACHE_KEY }); const DirectionProvider = ({ rtl, children }) => { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_emotion_react__WEBPACK_IMPORTED_MODULE_4__.C, { value: rtl ? rtlCache : ltrCache }, children); }; //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/Divider/index.esm.js": /*!*********************************************************!*\ !*** ./node_modules/@elementor/ui/Divider/index.esm.js ***! \*********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ Divider; }, /* harmony export */ dividerClasses: function() { return /* reexport safe */ _mui_material_Divider__WEBPACK_IMPORTED_MODULE_1__.dividerClasses; }, /* harmony export */ getDividerUtilityClass: function() { return /* reexport safe */ _mui_material_Divider__WEBPACK_IMPORTED_MODULE_1__.getDividerUtilityClass; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _mui_material_Divider__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/Divider */ "./node_modules/@mui/material/Divider/Divider.js"); /* harmony import */ var _mui_material_Divider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/Divider */ "./node_modules/@mui/material/Divider/index.js"); const Divider = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((props, ref) => { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material_Divider__WEBPACK_IMPORTED_MODULE_2__["default"], { ...props, ref }); }); //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/IconButton/index.esm.js": /*!************************************************************!*\ !*** ./node_modules/@elementor/ui/IconButton/index.esm.js ***! \************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ IconButton; }, /* harmony export */ getIconButtonUtilityClass: function() { return /* reexport safe */ _mui_material_IconButton__WEBPACK_IMPORTED_MODULE_1__.getIconButtonUtilityClass; }, /* harmony export */ iconButtonClasses: function() { return /* reexport safe */ _mui_material_IconButton__WEBPACK_IMPORTED_MODULE_1__.iconButtonClasses; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _mui_material_IconButton__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/IconButton */ "./node_modules/@mui/material/IconButton/IconButton.js"); /* harmony import */ var _mui_material_IconButton__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/IconButton */ "./node_modules/@mui/material/IconButton/index.js"); /* harmony import */ var _styles__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../styles */ "./node_modules/@elementor/ui/styles/index.esm.js"); const LINK_PSEUDO_SELECTORS = "&:hover,&:focus,&:active,&:visited"; const UNSTABLE_ACCESSIBLE_MAIN_KEY = "__unstableAccessibleMain"; const getIconColor = (color = "default") => { if (color === "inherit") { return "inherit"; } if (color === "default") { return "action.active"; } if (_styles__WEBPACK_IMPORTED_MODULE_2__.inaccessibleColors.includes(color)) { return `${color}.${UNSTABLE_ACCESSIBLE_MAIN_KEY}`; } return `${color}.main`; }; const IconButton = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((props, ref) => { const { sx = {}, color } = props; const adjustmentsSelector = props.href ? LINK_PSEUDO_SELECTORS : "&:hover,&:focus,&:active"; const sxAdjustments = { [adjustmentsSelector]: { color: getIconColor(color) } }; return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( _mui_material_IconButton__WEBPACK_IMPORTED_MODULE_3__["default"], { ...props, sx: { ...sxAdjustments, ...sx }, ref } ); }); //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/InputAdornment/index.esm.js": /*!****************************************************************!*\ !*** ./node_modules/@elementor/ui/InputAdornment/index.esm.js ***! \****************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ InputAdornment; }, /* harmony export */ getInputAdornmentUtilityClass: function() { return /* reexport safe */ _mui_material_InputAdornment__WEBPACK_IMPORTED_MODULE_1__.getInputAdornmentUtilityClass; }, /* harmony export */ inputAdornmentClasses: function() { return /* reexport safe */ _mui_material_InputAdornment__WEBPACK_IMPORTED_MODULE_1__.inputAdornmentClasses; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _mui_material_InputAdornment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/InputAdornment */ "./node_modules/@mui/material/InputAdornment/InputAdornment.js"); /* harmony import */ var _mui_material_InputAdornment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/InputAdornment */ "./node_modules/@mui/material/InputAdornment/index.js"); const InputAdornment = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((props, ref) => { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material_InputAdornment__WEBPACK_IMPORTED_MODULE_2__["default"], { ...props, ref }); }); //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/ListItemIcon/index.esm.js": /*!**************************************************************!*\ !*** ./node_modules/@elementor/ui/ListItemIcon/index.esm.js ***! \**************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ ListItemIcon; }, /* harmony export */ getListItemIconUtilityClass: function() { return /* reexport safe */ _mui_material_ListItemIcon__WEBPACK_IMPORTED_MODULE_1__.getListItemIconUtilityClass; }, /* harmony export */ listItemIconClasses: function() { return /* reexport safe */ _mui_material_ListItemIcon__WEBPACK_IMPORTED_MODULE_1__.listItemIconClasses; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _mui_material_ListItemIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/ListItemIcon */ "./node_modules/@mui/material/ListItemIcon/ListItemIcon.js"); /* harmony import */ var _mui_material_ListItemIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/ListItemIcon */ "./node_modules/@mui/material/ListItemIcon/index.js"); const ListItemIcon = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((props, ref) => { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material_ListItemIcon__WEBPACK_IMPORTED_MODULE_2__["default"], { ...props, ref }); }); //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/ListItemText/index.esm.js": /*!**************************************************************!*\ !*** ./node_modules/@elementor/ui/ListItemText/index.esm.js ***! \**************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ ListItemText; }, /* harmony export */ getListItemTextUtilityClass: function() { return /* reexport safe */ _mui_material_ListItemText__WEBPACK_IMPORTED_MODULE_1__.getListItemTextUtilityClass; }, /* harmony export */ listItemTextClasses: function() { return /* reexport safe */ _mui_material_ListItemText__WEBPACK_IMPORTED_MODULE_1__.listItemTextClasses; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _mui_material_ListItemText__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/ListItemText */ "./node_modules/@mui/material/ListItemText/ListItemText.js"); /* harmony import */ var _mui_material_ListItemText__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/ListItemText */ "./node_modules/@mui/material/ListItemText/index.js"); const ListItemText = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((props, ref) => { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material_ListItemText__WEBPACK_IMPORTED_MODULE_2__["default"], { ...props, ref }); }); //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/MenuItem/index.esm.js": /*!**********************************************************!*\ !*** ./node_modules/@elementor/ui/MenuItem/index.esm.js ***! \**********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ MenuItem; }, /* harmony export */ getMenuItemUtilityClass: function() { return /* reexport safe */ _mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_1__.getMenuItemUtilityClass; }, /* harmony export */ menuItemClasses: function() { return /* reexport safe */ _mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_1__.menuItemClasses; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/MenuItem */ "./node_modules/@mui/material/MenuItem/MenuItem.js"); /* harmony import */ var _mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/MenuItem */ "./node_modules/@mui/material/MenuItem/index.js"); const MenuItem = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((props, ref) => { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_2__["default"], { ...props, ref }); }); //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/OutlinedInput/index.esm.js": /*!***************************************************************!*\ !*** ./node_modules/@elementor/ui/OutlinedInput/index.esm.js ***! \***************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ OutlinedInput; }, /* harmony export */ getOutlinedInputUtilityClass: function() { return /* reexport safe */ _mui_material_OutlinedInput__WEBPACK_IMPORTED_MODULE_1__.getOutlinedInputUtilityClass; }, /* harmony export */ outlinedInputClasses: function() { return /* reexport safe */ _mui_material_OutlinedInput__WEBPACK_IMPORTED_MODULE_1__.outlinedInputClasses; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _mui_material_OutlinedInput__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/OutlinedInput */ "./node_modules/@mui/material/OutlinedInput/OutlinedInput.js"); /* harmony import */ var _mui_material_OutlinedInput__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/OutlinedInput */ "./node_modules/@mui/material/OutlinedInput/index.js"); const OutlinedInput = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((props, ref) => { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material_OutlinedInput__WEBPACK_IMPORTED_MODULE_2__["default"], { ...props, ref }); }); //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/Popover/index.esm.js": /*!*********************************************************!*\ !*** ./node_modules/@elementor/ui/Popover/index.esm.js ***! \*********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ PopoverPaper: function() { return /* reexport safe */ _mui_material_Popover__WEBPACK_IMPORTED_MODULE_1__.PopoverPaper; }, /* harmony export */ PopoverRoot: function() { return /* reexport safe */ _mui_material_Popover__WEBPACK_IMPORTED_MODULE_1__.PopoverRoot; }, /* harmony export */ "default": function() { return /* binding */ Popover; }, /* harmony export */ getOffsetLeft: function() { return /* reexport safe */ _mui_material_Popover__WEBPACK_IMPORTED_MODULE_1__.getOffsetLeft; }, /* harmony export */ getOffsetTop: function() { return /* reexport safe */ _mui_material_Popover__WEBPACK_IMPORTED_MODULE_1__.getOffsetTop; }, /* harmony export */ getPopoverUtilityClass: function() { return /* reexport safe */ _mui_material_Popover__WEBPACK_IMPORTED_MODULE_1__.getPopoverUtilityClass; }, /* harmony export */ popoverClasses: function() { return /* reexport safe */ _mui_material_Popover__WEBPACK_IMPORTED_MODULE_1__.popoverClasses; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _mui_material_Popover__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/Popover */ "./node_modules/@mui/material/Popover/Popover.js"); /* harmony import */ var _mui_material_Popover__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/Popover */ "./node_modules/@mui/material/Popover/index.js"); /* harmony import */ var _styles__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../styles */ "./node_modules/@mui/material/styles/useTheme.js"); const Popover = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((inProps, ref) => { const { direction } = (0,_styles__WEBPACK_IMPORTED_MODULE_2__["default"])(); const props = { ...inProps }; if (direction === "rtl") { if (props.anchorOrigin?.horizontal) { props.anchorOrigin = { ...props.anchorOrigin, horizontal: props.anchorOrigin.horizontal === "left" ? "right" : "left" }; } if (props.transformOrigin?.horizontal) { props.transformOrigin = { ...props.transformOrigin, horizontal: props.transformOrigin.horizontal === "left" ? "right" : "left" }; } } return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material_Popover__WEBPACK_IMPORTED_MODULE_3__["default"], { ...props, ref }); }); //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/Popper/index.esm.js": /*!********************************************************!*\ !*** ./node_modules/@elementor/ui/Popper/index.esm.js ***! \********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ Popper; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _mui_material_Popper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/Popper */ "./node_modules/@mui/material/Popper/Popper.js"); const Popper = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((props, ref) => { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material_Popper__WEBPACK_IMPORTED_MODULE_1__["default"], { ...props, ref }); }); //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/Select/index.esm.js": /*!********************************************************!*\ !*** ./node_modules/@elementor/ui/Select/index.esm.js ***! \********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ Select; }, /* harmony export */ getSelectUtilityClasses: function() { return /* reexport safe */ _mui_material_Select__WEBPACK_IMPORTED_MODULE_1__.getSelectUtilityClasses; }, /* harmony export */ selectClasses: function() { return /* reexport safe */ _mui_material_Select__WEBPACK_IMPORTED_MODULE_1__.selectClasses; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _mui_material_Select__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/Select */ "./node_modules/@mui/material/Select/Select.js"); /* harmony import */ var _mui_material_Select__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/Select */ "./node_modules/@mui/material/Select/index.js"); const Select = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((inProps, ref) => { const { MenuProps = {}, ...props } = inProps; return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( _mui_material_Select__WEBPACK_IMPORTED_MODULE_2__["default"], { ...props, MenuProps: { ...MenuProps, MenuListProps: { dense: props.size === "tiny", ...MenuProps.MenuListProps || {} } }, ref } ); }); //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/Slider/index.esm.js": /*!********************************************************!*\ !*** ./node_modules/@elementor/ui/Slider/index.esm.js ***! \********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ SliderMark: function() { return /* reexport safe */ _mui_material_Slider__WEBPACK_IMPORTED_MODULE_1__.SliderMark; }, /* harmony export */ SliderMarkLabel: function() { return /* reexport safe */ _mui_material_Slider__WEBPACK_IMPORTED_MODULE_1__.SliderMarkLabel; }, /* harmony export */ SliderRail: function() { return /* reexport safe */ _mui_material_Slider__WEBPACK_IMPORTED_MODULE_1__.SliderRail; }, /* harmony export */ SliderRoot: function() { return /* reexport safe */ _mui_material_Slider__WEBPACK_IMPORTED_MODULE_1__.SliderRoot; }, /* harmony export */ SliderThumb: function() { return /* reexport safe */ _mui_material_Slider__WEBPACK_IMPORTED_MODULE_1__.SliderThumb; }, /* harmony export */ SliderTrack: function() { return /* reexport safe */ _mui_material_Slider__WEBPACK_IMPORTED_MODULE_1__.SliderTrack; }, /* harmony export */ SliderValueLabel: function() { return /* reexport safe */ _mui_material_Slider__WEBPACK_IMPORTED_MODULE_1__.SliderValueLabel; }, /* harmony export */ "default": function() { return /* binding */ Slider; }, /* harmony export */ getSliderUtilityClass: function() { return /* reexport safe */ _mui_material_Slider__WEBPACK_IMPORTED_MODULE_1__.getSliderUtilityClass; }, /* harmony export */ sliderClasses: function() { return /* reexport safe */ _mui_material_Slider__WEBPACK_IMPORTED_MODULE_1__.sliderClasses; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _mui_material_Slider__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/Slider */ "./node_modules/@mui/material/Slider/Slider.js"); /* harmony import */ var _mui_material_Slider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/Slider */ "./node_modules/@mui/material/Slider/index.js"); const Slider = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((props, ref) => { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material_Slider__WEBPACK_IMPORTED_MODULE_2__["default"], { ...props, ref }); }); //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/Stack/index.esm.js": /*!*******************************************************!*\ !*** ./node_modules/@elementor/ui/Stack/index.esm.js ***! \*******************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ Stack; }, /* harmony export */ stackClasses: function() { return /* reexport safe */ _mui_material_Stack__WEBPACK_IMPORTED_MODULE_1__.stackClasses; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _mui_material_Stack__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/Stack */ "./node_modules/@mui/material/Stack/Stack.js"); /* harmony import */ var _mui_material_Stack__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/Stack */ "./node_modules/@mui/material/Stack/index.js"); const Stack = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((props, ref) => { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material_Stack__WEBPACK_IMPORTED_MODULE_2__["default"], { ...props, ref }); }); //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/SvgIcon/index.esm.js": /*!*********************************************************!*\ !*** ./node_modules/@elementor/ui/SvgIcon/index.esm.js ***! \*********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ SvgIcon; }, /* harmony export */ getSvgIconUtilityClass: function() { return /* reexport safe */ _mui_material_SvgIcon__WEBPACK_IMPORTED_MODULE_1__.getSvgIconUtilityClass; }, /* harmony export */ svgIconClasses: function() { return /* reexport safe */ _mui_material_SvgIcon__WEBPACK_IMPORTED_MODULE_1__.svgIconClasses; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _mui_material_SvgIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/SvgIcon */ "./node_modules/@mui/material/SvgIcon/SvgIcon.js"); /* harmony import */ var _mui_material_SvgIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/SvgIcon */ "./node_modules/@mui/material/SvgIcon/index.js"); const SvgIcon = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((props, ref) => { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material_SvgIcon__WEBPACK_IMPORTED_MODULE_2__["default"], { ...props, ref }); }); //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/TextField/index.esm.js": /*!***********************************************************!*\ !*** ./node_modules/@elementor/ui/TextField/index.esm.js ***! \***********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ TextField; }, /* harmony export */ getTextFieldUtilityClass: function() { return /* reexport safe */ _mui_material_TextField__WEBPACK_IMPORTED_MODULE_1__.getTextFieldUtilityClass; }, /* harmony export */ textFieldClasses: function() { return /* reexport safe */ _mui_material_TextField__WEBPACK_IMPORTED_MODULE_1__.textFieldClasses; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _mui_material_TextField__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/TextField */ "./node_modules/@mui/material/TextField/TextField.js"); /* harmony import */ var _mui_material_TextField__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/TextField */ "./node_modules/@mui/material/TextField/index.js"); const TextField = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((inProps, ref) => { const props = { ...inProps }; if (props.select && props.size === "tiny") { props.SelectProps = { ...props.SelectProps || {}, MenuProps: { ...props.SelectProps?.MenuProps || {}, MenuListProps: { dense: true, ...props.SelectProps?.MenuProps?.MenuListProps || {} } } }; } return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material_TextField__WEBPACK_IMPORTED_MODULE_2__["default"], { ...props, ref }); }); //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/Toolbar/index.esm.js": /*!*********************************************************!*\ !*** ./node_modules/@elementor/ui/Toolbar/index.esm.js ***! \*********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ Toolbar; }, /* harmony export */ getToolbarUtilityClass: function() { return /* reexport safe */ _mui_material_Toolbar__WEBPACK_IMPORTED_MODULE_1__.getToolbarUtilityClass; }, /* harmony export */ toolbarClasses: function() { return /* reexport safe */ _mui_material_Toolbar__WEBPACK_IMPORTED_MODULE_1__.toolbarClasses; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _mui_material_Toolbar__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/Toolbar */ "./node_modules/@mui/material/Toolbar/Toolbar.js"); /* harmony import */ var _mui_material_Toolbar__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/Toolbar */ "./node_modules/@mui/material/Toolbar/index.js"); const Toolbar = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((props, ref) => { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material_Toolbar__WEBPACK_IMPORTED_MODULE_2__["default"], { ...props, ref }); }); //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/Tooltip/index.esm.js": /*!*********************************************************!*\ !*** ./node_modules/@elementor/ui/Tooltip/index.esm.js ***! \*********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ Tooltip; }, /* harmony export */ getTooltipUtilityClass: function() { return /* reexport safe */ _mui_material_Tooltip__WEBPACK_IMPORTED_MODULE_1__.getTooltipUtilityClass; }, /* harmony export */ tooltipClasses: function() { return /* reexport safe */ _mui_material_Tooltip__WEBPACK_IMPORTED_MODULE_1__.tooltipClasses; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _mui_material_Tooltip__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/Tooltip */ "./node_modules/@mui/material/Tooltip/Tooltip.js"); /* harmony import */ var _mui_material_Tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/Tooltip */ "./node_modules/@mui/material/Tooltip/index.js"); const Tooltip = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((props, ref) => { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material_Tooltip__WEBPACK_IMPORTED_MODULE_2__["default"], { ...props, ref }); }); //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/Typography/index.esm.js": /*!************************************************************!*\ !*** ./node_modules/@elementor/ui/Typography/index.esm.js ***! \************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ Typography; }, /* harmony export */ getTypographyUtilityClass: function() { return /* reexport safe */ _mui_material_Typography__WEBPACK_IMPORTED_MODULE_1__.getTypographyUtilityClass; }, /* harmony export */ typographyClasses: function() { return /* reexport safe */ _mui_material_Typography__WEBPACK_IMPORTED_MODULE_1__.typographyClasses; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _mui_material_Typography__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/Typography */ "./node_modules/@mui/material/Typography/Typography.js"); /* harmony import */ var _mui_material_Typography__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/Typography */ "./node_modules/@mui/material/Typography/index.js"); const Typography = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((props, ref) => { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_2__["default"], { ...props, ref }); }); //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/styles/index.esm.js": /*!********************************************************!*\ !*** ./node_modules/@elementor/ui/styles/index.esm.js ***! \********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Experimental_CssVarsProvider: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.Experimental_CssVarsProvider; }, /* harmony export */ StyledEngineProvider: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.StyledEngineProvider; }, /* harmony export */ THEME_ID: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.THEME_ID; }, /* harmony export */ ThemeProvider: function() { return /* binding */ ThemeProvider; }, /* harmony export */ accessibleColors: function() { return /* binding */ accessibleColors; }, /* harmony export */ adaptV4Theme: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.adaptV4Theme; }, /* harmony export */ alpha: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.alpha; }, /* harmony export */ createMuiTheme: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.createMuiTheme; }, /* harmony export */ createSlots: function() { return /* binding */ createSlots; }, /* harmony export */ createStyles: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.createStyles; }, /* harmony export */ createTheme: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.createTheme; }, /* harmony export */ css: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.css; }, /* harmony export */ darken: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.darken; }, /* harmony export */ decomposeColor: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.decomposeColor; }, /* harmony export */ "default": function() { return /* binding */ index; }, /* harmony export */ duration: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.duration; }, /* harmony export */ easing: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.easing; }, /* harmony export */ emphasize: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.emphasize; }, /* harmony export */ experimentalStyled: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.experimentalStyled; }, /* harmony export */ experimental_extendTheme: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.experimental_extendTheme; }, /* harmony export */ experimental_sx: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.experimental_sx; }, /* harmony export */ getContrastRatio: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.getContrastRatio; }, /* harmony export */ getInitColorSchemeScript: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.getInitColorSchemeScript; }, /* harmony export */ getLuminance: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.getLuminance; }, /* harmony export */ getOverlayAlpha: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.getOverlayAlpha; }, /* harmony export */ hexToRgb: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.hexToRgb; }, /* harmony export */ hslToRgb: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.hslToRgb; }, /* harmony export */ inaccessibleColors: function() { return /* binding */ inaccessibleColors; }, /* harmony export */ keyframes: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.keyframes; }, /* harmony export */ lighten: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.lighten; }, /* harmony export */ makeStyles: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.makeStyles; }, /* harmony export */ private_createMixins: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.private_createMixins; }, /* harmony export */ private_createTypography: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.private_createTypography; }, /* harmony export */ private_excludeVariablesFromRoot: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.private_excludeVariablesFromRoot; }, /* harmony export */ recomposeColor: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.recomposeColor; }, /* harmony export */ responsiveFontSizes: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.responsiveFontSizes; }, /* harmony export */ rgbToHex: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.rgbToHex; }, /* harmony export */ shouldSkipGeneratingVar: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.shouldSkipGeneratingVar; }, /* harmony export */ styled: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.styled; }, /* harmony export */ themePaletteSemanticColors: function() { return /* binding */ themePaletteSemanticColors; }, /* harmony export */ unstable_createMuiStrictModeTheme: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.unstable_createMuiStrictModeTheme; }, /* harmony export */ unstable_getUnit: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.unstable_getUnit; }, /* harmony export */ unstable_toUnitless: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.unstable_toUnitless; }, /* harmony export */ useColorScheme: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.useColorScheme; }, /* harmony export */ useTheme: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.useTheme; }, /* harmony export */ useThemeProps: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.useThemeProps; }, /* harmony export */ withStyles: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.withStyles; }, /* harmony export */ withTheme: function() { return /* reexport safe */ _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.withTheme; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/@mui/system/esm/colorManipulator.js"); /* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/@mui/material/styles/createTheme.js"); /* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/@mui/material/styles/ThemeProvider.js"); /* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/@mui/material/styles/index.js"); /* harmony import */ var _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @elementor/design-tokens */ "@elementor/design-tokens"); /* harmony import */ var _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @emotion/react */ "./node_modules/@emotion/react/dist/emotion-element-7a1343fa.browser.development.esm.js"); /* harmony import */ var _mui_material_useMediaQuery__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/useMediaQuery */ "./node_modules/@mui/system/esm/useMediaQuery/useMediaQuery.js"); const MuiAccordion = { styleOverrides: { root: ({ theme }) => ({ backgroundColor: theme.palette.background.default, "&:before": { // The accordion has an upper divider by default, which is not needed. content: "none" }, "&.Mui-expanded": { margin: 0 }, "&.MuiAccordion-gutters + .MuiAccordion-root.MuiAccordion-gutters": { marginTop: theme.spacing(1), marginBottom: theme.spacing(0) }, "&:not(.MuiAccordion-gutters) + .MuiAccordion-root:not(.MuiAccordion-gutters)": { borderTop: 0 }, "&.Mui-disabled": { backgroundColor: theme.palette.background.default } }) } }; const MuiAccordionActions = { styleOverrides: { root: ({ theme }) => ({ padding: theme.spacing(2) }) } }; const MuiAccordionSummary = { styleOverrides: { root: () => ({ // Matching the default minHeight of .MuiAccordionSummary.Mui-expanded minHeight: "64px" }), content: ({ theme }) => ({ margin: theme.spacing(1, 0), "&.MuiAccordionSummary-content.Mui-expanded": { margin: theme.spacing(1, 0) } }) } }; const MuiAccordionSummaryIcon = { styleOverrides: { root: ({ theme }) => ({ padding: theme.spacing(1, 0) }) } }; const MuiAccordionSummaryText = { styleOverrides: { root: ({ theme }) => ({ marginTop: 0, marginBottom: 0, padding: theme.spacing(1, 0) }) } }; const MuiAppBar = { defaultProps: { elevation: 0, color: "default" } }; const LINK_PSEUDO_SELECTORS = "&:hover,&:focus,&:active,&:visited"; const UNSTABLE_ACCESSIBLE_MAIN_KEY = "__unstableAccessibleMain"; const UNSTABLE_ACCESSIBLE_LIGHT_KEY = "__unstableAccessibleLight"; const UNSTABLE_ACCESSIBLE_MARKETING_PRIMARY_MAIN = "#524CFF"; const UNSTABLE_ACCESSIBLE_MARKETING_PRIMARY_LIGHT = "#6B65FF"; const TINY_FONT_SIZE = "0.625rem"; const TINY_INPUT_HEIGHT = "2.8em"; const TINY_OUTLINED_INPUT_HEIGHT = "1.2em"; const TINY_FILLED_INPUT_HEIGHT = "1.2em"; const ACTION_SELECTED_OPACITY = 0.08; const RTL_CACHE_KEY = "eui-rtl"; const MuiAutocomplete = { defaultProps: { slotProps: { paper: { elevation: 6 } } }, styleOverrides: { listbox: ({ theme }) => ({ "&.MuiAutocomplete-listboxSizeTiny": { // Should match the font-size of MenuList dense which is 14px. fontSize: "0.875rem" }, '&.MuiAutocomplete-listbox .MuiAutocomplete-option[aria-selected="true"]': { "&,&.Mui-Mui-focused": { backgroundColor: theme.palette.action.selected } } }) }, variants: [ { props: { size: "tiny" }, style: ({ theme }) => ({ // Modifying the Autocomplete height to 28px when using TextField with "outlined" variant. "& .MuiOutlinedInput-root": { fontSize: TINY_FONT_SIZE, padding: theme.spacing(0.5, 0), "& .MuiAutocomplete-input": { height: "1.2em", padding: theme.spacing(0.5, 0.25, 0.5, 1) } }, // Modifying the Autocomplete height to 28px when using TextField with "filled" variant. "& .MuiFilledInput-root": { paddingTop: 0, "& .MuiFilledInput-input": { padding: theme.spacing(1, 0) } }, "& .MuiInputLabel-sizeTiny": { fontSize: TINY_FONT_SIZE, transform: `translate(${theme.spacing(1)}, ${theme.spacing(0.875)}) scale(1)`, "&.MuiInputLabel-shrink": { transform: `translate(${theme.spacing(1.75)}, ${theme.spacing(-0.75)}) scale(0.9)` } }, "& .MuiAutocomplete-popupIndicator": { fontSize: "1.5em" }, "& .MuiAutocomplete-clearIndicator": { fontSize: "1.2em" }, "& .MuiAutocomplete-popupIndicator .MuiSvgIcon-root, & .MuiAutocomplete-clearIndicator .MuiSvgIcon-root": { fontSize: "1em" }, "& .MuiInputAdornment-root .MuiIconButton-root": { padding: theme.spacing(0.25) }, "& .MuiAutocomplete-tagSizeTiny": { fontSize: TINY_FONT_SIZE }, "&.MuiAutocomplete-hasPopupIcon.MuiAutocomplete-hasClearIcon .MuiOutlinedInput-root .MuiAutocomplete-input": { paddingRight: theme.spacing(6) } }) }, { props: { size: "small" }, style: ({ theme }) => ({ // Modifying the Autocomplete height to 40px when using TextField with "filled" variant. "& .MuiFilledInput-root": { paddingTop: 0, "&.MuiInputBase-root .MuiFilledInput-input": { padding: theme.spacing(1, 0.5) } }, // Modifying the label position when using TextField with "filled" variant. "& .MuiFormLabel-root.MuiInputLabel-filled": { transform: "translate(12px, 9px) scale(1)", "&.MuiInputLabel-shrink": { transform: "translate(12px, -8px) scale(0.65)" } } }) }, { props: { size: "medium" }, style: () => ({ // Modifying the Autocomplete height to 56px when using TextField with "filled" variant. "& .MuiFilledInput-root": { paddingTop: 0, "&.MuiInputBase-root .MuiFilledInput-input": { padding: "16.5px 4px" } }, // Modifying the label position when using TextField with "filled" variant. "& .MuiFormLabel-root.MuiInputLabel-filled": { transform: "translate(14px, 16px) scale(1)", "&.MuiInputLabel-shrink": { transform: "translate(12px, -8px) scale(0.65)" } } }) } ] }; const MuiButton = { styleOverrides: { root: () => ({ boxShadow: "none", whiteSpace: "nowrap", "&:hover": { boxShadow: "none" }, "& .MuiSvgIcon-root": { fill: "currentColor" } }) }, variants: [ { props: { color: "primary", variant: "outlined" }, style: ({ theme }) => ({ // Temporary customizations until it will be decided in the design-system. color: theme.palette.primary.__unstableAccessibleMain, borderColor: theme.palette.primary.__unstableAccessibleMain, "&:hover": { borderColor: theme.palette.primary.__unstableAccessibleMain } }) }, { props: { color: "primary", variant: "text" }, style: ({ theme }) => ({ // Temporary customizations until it will be decided in the design-system. color: theme.palette.primary.__unstableAccessibleMain }) }, { props: { color: "global", variant: "outlined" }, style: ({ theme }) => ({ // Temporary customizations until it will be decided in the design-system. color: theme.palette.global.__unstableAccessibleMain, borderColor: theme.palette.global.__unstableAccessibleMain, "&:hover": { borderColor: theme.palette.global.__unstableAccessibleMain } }) }, { props: { color: "global", variant: "text" }, style: ({ theme }) => ({ // Temporary customizations until it will be decided in the design-system. color: theme.palette.global.__unstableAccessibleMain }) } ] }; const MuiButtonBase = { defaultProps: { disableRipple: true }, styleOverrides: { root: () => ({ "&.MuiButtonBase-root.Mui-focusVisible": { // Temp customization for accessibility (using 'border' because 'outline' is not working properly in Tabs). boxShadow: "0 0 0 1px inset" }, // The CircularProgress component used as a loader of the buttons. ".MuiCircularProgress-root": { fontSize: "inherit" } }) } }; const themePaletteSemanticColors = [ "primary", "secondary", "error", "warning", "info", "success", "accent", "global", "promotion" ]; const inaccessibleColors = ["primary", "global"]; const accessibleColors = themePaletteSemanticColors.filter( (val) => !inaccessibleColors.includes(val) ); const MuiButtonGroup = { defaultProps: { disableRipple: true }, styleOverrides: { root: () => ({ boxShadow: "none", "&:hover": { boxShadow: "none" } }) }, variants: themePaletteSemanticColors.map((color) => ({ props: { variant: "contained", color }, // Fixing a Material UI bug when one of the group children is wrapped with another element (e.g. a tooltip). style: ({ theme }) => { return { // Removing the border of the grouped buttons for supporting additional children types. "& .MuiButtonGroup-grouped:not(:last-of-type), & .MuiButtonGroup-grouped:not(:last-of-type).Mui-disabled": { borderRight: 0 }, // Supporting additional children types, when a button can be inside another element (e.g. a tooltip). "& .MuiButtonGroup-grouped:not(:last-child), & > *:not(:last-child) .MuiButtonGroup-grouped": { borderRight: `1px solid ${theme.palette[color].dark}` }, // Supporting additional children types, when a disabled button can be inside another element (e.g. a tooltip). "& .MuiButtonGroup-grouped:not(:last-child).Mui-disabled, & > *:not(:last-child) .MuiButtonGroup-grouped.Mui-disabled": { borderRight: `1px solid ${theme.palette.action.disabled}` } }; } })) }; const MuiCard = { defaultProps: {}, styleOverrides: { root: () => ({ // Must be relative due to the CardOverlay absolute positioning. position: "relative" }) } }; const MuiCardActions = { styleOverrides: { root: ({ theme }) => ({ justifyContent: "flex-end", padding: theme.spacing(1.5, 2) }) } }; const MuiCardGroup = { styleOverrides: { root: () => ({ "& .MuiCard-root.MuiPaper-outlined:not(:last-child)": { borderBottom: 0 }, "& .MuiCard-root.MuiPaper-rounded": { "&:first-child:not(:last-child)": { borderBottomRightRadius: 0, borderBottomLeftRadius: 0 }, "&:not(:first-child):not(:last-child)": { borderRadius: 0 }, "&:last-child:not(:first-child)": { borderTopRightRadius: 0, borderTopLeftRadius: 0 } } }) } }; const MuiCardHeader = { defaultProps: { titleTypographyProps: { variant: "subtitle1" } }, styleOverrides: { action: () => ({ alignSelf: "center" }) }, variants: [ { props: { disableActionOffset: true }, style: () => ({ "& .MuiCardHeader-action": { marginRight: 0 } }) } ] }; const MuiChip = { variants: [ { props: { color: "primary", variant: "outlined" }, style: ({ theme }) => ({ // Temporary customizations until it will be decided in the design-system. color: theme.palette.primary.__unstableAccessibleMain, borderColor: theme.palette.primary.__unstableAccessibleMain, "& .MuiChip-deleteIcon": { color: theme.palette.primary.__unstableAccessibleLight, "&:hover": { color: theme.palette.primary.__unstableAccessibleMain } } }) }, { props: { color: "global", variant: "outlined" }, style: ({ theme }) => ({ // Temporary customizations until it will be decided in the design-system. color: theme.palette.global.__unstableAccessibleMain, borderColor: theme.palette.global.__unstableAccessibleMain, "& .MuiChip-deleteIcon": { color: theme.palette.global.__unstableAccessibleLight, "&:hover": { color: theme.palette.global.__unstableAccessibleMain } } }) }, { props: { color: "default", variant: "filled" }, style: ({ theme }) => ({ // Temporary colors until the palette will be extended. backgroundColor: theme.palette.mode === "light" ? "#EBEBEB" : "#434547", "&.Mui-focusVisible, &.MuiChip-clickable:hover": { backgroundColor: theme.palette.action.focus } }) }, ...getStandardVariantForColors(["default"], getStandardVariantDefaultColorMap), ...getStandardVariantForColors(["primary", "global"], getStandardVariantInaccessibleColorsMap), ...getStandardVariantForColors(accessibleColors, getStandardVariantAccessibleColorsMap), { props: { size: "tiny" }, style: ({ theme }) => ({ // TODO: replace with a typography variant once exist. fontSize: "0.625rem", height: "16px", "& .MuiChip-avatar": { width: "1em", height: "1em", fontSize: "inherit", marginLeft: theme.spacing(0.25), marginRight: theme.spacing(-0.25) }, "& .MuiChip-icon": { fontSize: "inherit", marginLeft: theme.spacing(0.25), marginRight: theme.spacing(-0.25) }, "& .MuiChip-label": { paddingRight: theme.spacing(0.5), paddingLeft: theme.spacing(0.5) }, "& .MuiChip-deleteIcon": { fontSize: "inherit", marginLeft: theme.spacing(-0.25), marginRight: theme.spacing(0.25) } }) } ] }; function getStandardVariantForColors(colors, getColorMap) { return colors.map((color) => ({ props: { color, variant: "standard" }, style: ({ theme }) => { const colorsMap = getColorMap(theme, color); const { mode } = theme.palette; return { backgroundColor: colorsMap.backgroundColor[mode], color: colorsMap.color[mode], "&.Mui-focusVisible, &.MuiChip-clickable:hover": { backgroundColor: colorsMap.backgroundColorHover[mode] }, "& .MuiChip-deleteIcon": { color: colorsMap.color[mode], opacity: colorsMap.deleteIconOpacity, "&:hover,&:focus": { color: colorsMap.color[mode], opacity: colorsMap.deleteIconOpacityHover } } }; } })); } function getStandardVariantDefaultColorMap(theme) { return { backgroundColor: { // Temporary colors until the palette will be extended. light: "#EBEBEB", dark: "#434547" }, backgroundColorHover: { light: theme.palette.action.focus, dark: theme.palette.action.focus }, color: { light: theme.palette.text.primary, dark: theme.palette.text.primary }, deleteIconOpacity: 0.26, deleteIconOpacityHover: 0.7 }; } function getStandardVariantInaccessibleColorsMap(theme, color) { const themeColor = theme.palette[color]; return { backgroundColor: { light: (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_3__.lighten)(themeColor.light, 0.8), dark: (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_3__.darken)(themeColor.__unstableAccessibleMain, 0.8) }, backgroundColorHover: { light: (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_3__.lighten)(themeColor.light, 0.6), dark: (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_3__.darken)(themeColor.__unstableAccessibleMain, 0.9) }, color: { light: (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_3__.darken)(themeColor.__unstableAccessibleMain, 0.3), dark: (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_3__.lighten)(themeColor.light, 0.3) }, deleteIconOpacity: 0.7, deleteIconOpacityHover: 1 }; } function getStandardVariantAccessibleColorsMap(theme, color) { return { backgroundColor: { light: (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_3__.lighten)(theme.palette[color].light, 0.9), dark: (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_3__.darken)(theme.palette[color].light, 0.8) }, backgroundColorHover: { light: (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_3__.lighten)(theme.palette[color].light, 0.8), dark: (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_3__.darken)(theme.palette[color].light, 0.9) }, color: { light: (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_3__.darken)(theme.palette[color].main, 0.3), dark: (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_3__.lighten)(theme.palette[color].main, 0.5) }, deleteIconOpacity: 0.7, deleteIconOpacityHover: 1 }; } const MuiCircularProgress = { defaultProps: { color: "inherit", /** * Customizing to 1em for easy customization by other components that wrap the CircularProgress. * Setting the default size value in the styleOverrides fontSize property. */ size: "1em" }, styleOverrides: { root: ({ theme }) => ({ // Temporarily reading the value from the spacing, until we'll find a better solution. fontSize: theme.spacing(5) }) } }; const MuiDialogActions = { styleOverrides: { root: ({ theme }) => ({ padding: theme.spacing(2, 3) }) } }; const MuiDialogContent = { styleOverrides: { dividers: () => ({ "&:last-child": { // Fixing Material UI bug - when the divider is the last child it should not be shown. borderBottom: "none" } }) } }; const MuiFilledInput = { variants: [ { props: { size: "tiny" }, style: () => ({ fontSize: TINY_FONT_SIZE, lineHeight: TINY_FILLED_INPUT_HEIGHT, "& .MuiInputBase-input": { height: TINY_FILLED_INPUT_HEIGHT, padding: "14px 8px 2px" } }) }, { props: { size: "tiny", multiline: true }, style: () => ({ // When multiline is true, the padding are applied to the root element. padding: 0 }) } ] }; const MuiFormHelperText = { styleOverrides: { root: ({ theme }) => ({ color: theme.palette.text.tertiary, margin: theme.spacing(0.5, 0, 0) }) } }; const MuiIconButton = { variants: [ { props: { color: "primary" }, style: ({ theme }) => ({ // Temporary customizations until it will be decided in the design-system. color: theme.palette.primary.__unstableAccessibleMain }) }, { props: { color: "global" }, style: ({ theme }) => ({ // Temporary customizations until it will be decided in the design-system. color: theme.palette.global.__unstableAccessibleMain }) }, { props: { edge: "start", size: "small" }, style: ({ theme }) => ({ marginLeft: theme.spacing(-1.5) }) }, { props: { edge: "end", size: "small" }, style: ({ theme }) => ({ marginRight: theme.spacing(-1.5) }) }, { props: { edge: "start", size: "large" }, style: ({ theme }) => ({ marginLeft: theme.spacing(-2) }) }, { props: { edge: "end", size: "large" }, style: ({ theme }) => ({ marginRight: theme.spacing(-2) }) }, { props: { size: "tiny" }, style: ({ theme }) => ({ padding: theme.spacing(0.75) }) } ] }; const MuiInput = { variants: [ { props: { size: "tiny" }, style: () => ({ fontSize: TINY_FONT_SIZE, "& .MuiInputBase-input": { height: TINY_INPUT_HEIGHT, padding: 0 } }) } ] }; const MuiInputAdornment = { styleOverrides: { root: ({ theme }) => ({ "&.MuiInputAdornment-sizeTiny": { "&.MuiInputAdornment-positionStart": { marginRight: theme.spacing(0.5) }, "&.MuiInputAdornment-positionEnd": { marginLeft: theme.spacing(0.5) } } }) } }; const MuiInputBase = { styleOverrides: { input: () => ({ // Setting the background color to prevent global style overrides. ".MuiInputBase-root.Mui-disabled &": { backgroundColor: "initial" } }) } }; const MuiInputLabel = { variants: [ { props: { size: "tiny" }, style: () => ({ fontSize: TINY_FONT_SIZE, transform: "translate(8px, 6px) scale(1)", "&.MuiInputLabel-shrink": { transform: "translate(8px, 1px) scale(0.9)" } }) } ] }; const MuiListItem = { styleOverrides: { root: ({ theme }) => ({ color: theme.palette.text.primary, // Setting the pseudo-classes color to prevent global style overrides when the MenuItem is an "a" tag. "a&": { [LINK_PSEUDO_SELECTORS]: { color: theme.palette.text.primary } } }) } }; const MuiListItemButton = { styleOverrides: { root: ({ theme }) => ({ color: theme.palette.text.primary, "&.Mui-selected": { backgroundColor: theme.palette.action.selected, "&:hover": { backgroundColor: theme.palette.action.selected }, "&:focus": { backgroundColor: theme.palette.action.focus } }, // Setting the pseudo-classes color to prevent global style overrides when the MenuItem is an "a" tag. "a&": { [LINK_PSEUDO_SELECTORS]: { color: theme.palette.text.primary } } }) } }; const MuiListItemIcon = { styleOverrides: { root: ({ theme }) => ({ minWidth: "initial", "&:not(:last-child)": { marginRight: theme.spacing(1) } }) } }; const MuiListItemText = { styleOverrides: { root: ({ theme }) => ({ color: theme.palette.text.primary }) } }; const PAPER_BACKGROUND_IMAGE = "linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12))"; const MuiPaper = {}; const MuiListSubheader = { styleOverrides: { root: ({ theme }) => ({ // The background color should be the same as the drop-downs background color. backgroundImage: PAPER_BACKGROUND_IMAGE, // Temp value until there will be a token in the design system. lineHeight: "36px", color: theme.palette.text.secondary }) } }; const MuiMenu = { defaultProps: { elevation: 6 } }; const MuiMenuItem = { styleOverrides: { root: ({ theme }) => ({ "&.Mui-selected": { backgroundColor: theme.palette.action.selected, "&:hover": { backgroundColor: theme.palette.action.selected }, "&:focus": { backgroundColor: theme.palette.action.focus } }, // Setting the pseudo-classes color to prevent global style overrides when the MenuItem is an "a" tag. "a&": { [LINK_PSEUDO_SELECTORS]: { color: theme.palette.text.primary } }, "& .MuiListItemIcon-root": { minWidth: "initial" } }) } }; const MuiOutlinedInput = { styleOverrides: { root: ({ theme }) => ({ /** * When using an input as an adornment of another input, and the outer input is focused, * it gets a colored outline. This outline is also being applied to the inner input due to an * inaccurate CSS selector. * In order to avoid it, we override it with the default outline color from Material. * * Material doesn't provide a token for that, so we use this specific color: * * @see https://github.com/mui/material-ui/blob/next/packages/mui-material/src/OutlinedInput/OutlinedInput.js#L44C5-L44C90 */ "&.Mui-focused .MuiInputAdornment-root .MuiOutlinedInput-notchedOutline": { borderColor: theme.palette.mode === "dark" ? "rgba(255, 255, 255, 0.23)" : "rgba(0, 0, 0, 0.23)", borderWidth: "1px" } }) }, variants: [ { props: { size: "tiny" }, style: ({ theme }) => ({ fontSize: TINY_FONT_SIZE, lineHeight: TINY_OUTLINED_INPUT_HEIGHT, "&.MuiInputBase-adornedStart": { paddingLeft: theme.spacing(1) }, "&.MuiInputBase-adornedEnd": { paddingRight: theme.spacing(1) }, "& .MuiInputBase-input": { height: TINY_OUTLINED_INPUT_HEIGHT, padding: theme.spacing(1) }, "& .MuiOutlinedInput-notchedOutline > *": { fontSize: TINY_FONT_SIZE, "& > *:not(:empty):not(.notranslate)": { paddingRight: theme.spacing(0.25), paddingLeft: theme.spacing(0.25) } }, // When InputAdornment exist before the input, the left padding already exist before the InputAdornment. "& .MuiInputAdornment-root + .MuiInputBase-input": { paddingLeft: 0 }, // When InputAdornment exist after the input, the right padding already exist after the InputAdornment. "& .MuiInputBase-input:has(+ .MuiInputAdornment-root)": { paddingRight: 0 } }) }, { props: { size: "tiny", multiline: true }, style: () => ({ padding: 0 }) }, { props: (props) => !!props.endAdornment && props.size === "tiny", style: () => ({ "& .MuiInputAdornment-root .MuiInputBase-root .MuiSelect-select": { "&.MuiSelect-standard": { paddingTop: 0, paddingBottom: 0 }, "&.MuiSelect-outlined,&.MuiSelect-filled": { paddingTop: "4px", paddingBottom: "4px" } } }) }, { props: (props) => !!props.endAdornment && props.size === "small", style: () => ({ "& .MuiInputAdornment-root .MuiInputBase-root .MuiSelect-select": { paddingTop: "2.5px", paddingBottom: "2.5px" } }) }, { props: (props) => !!props.endAdornment && (props.size === "medium" || !props.size), style: () => ({ "& .MuiInputAdornment-root .MuiInputBase-root .MuiSelect-select": { paddingTop: "8.5px", paddingBottom: "8.5px" } }) } ] }; const MuiSelect = { styleOverrides: { nativeInput: () => ({ // Setting the background color and opacity to prevent global style overrides. ".MuiInputBase-root.Mui-disabled &": { backgroundColor: "initial", opacity: 0 } }) }, variants: [ { props: { size: "tiny" }, style: () => ({ lineHeight: "1.2em", "& .MuiSelect-icon": { fontSize: "1.2rem" }, "& .MuiSelect-select.MuiSelect-outlined, & .MuiSelect-select.MuiSelect-filled": { minHeight: TINY_OUTLINED_INPUT_HEIGHT }, "& .MuiSelect-select.MuiSelect-standard": { lineHeight: TINY_INPUT_HEIGHT, minHeight: TINY_INPUT_HEIGHT } }) } ] }; const MuiStepConnector = { styleOverrides: { root: ({ theme }) => ({ "& .MuiStepConnector-line": { borderColor: theme.palette.divider } }) } }; const MuiStepIcon = { styleOverrides: { root: ({ theme }) => ({ "&:not(.Mui-active) .MuiStepIcon-text": { fill: theme.palette.common.white } }) } }; const MuiStepLabel = { styleOverrides: { root: () => ({ alignItems: "flex-start" }) } }; const MuiStepper = { styleOverrides: { root: () => ({ "& .MuiStepLabel-root": { alignItems: "center" } }) } }; const MuiSvgIcon = { variants: [ { props: { fontSize: "tiny" }, style: () => ({ fontSize: "1rem" }) } ] }; const MuiTableRow = { styleOverrides: { root: ({ theme }) => ({ "&.Mui-selected": { backgroundColor: theme.palette.action.selected, "&:hover": { backgroundColor: theme.palette.action.selected } } }) }, variants: [ { props: (props) => "onClick" in props, style: () => ({ cursor: "pointer" }) } ] }; const MuiTabPanel = { styleOverrides: { root: ({ theme }) => ({ color: theme.palette.text.primary, padding: theme.spacing(3, 0) }) }, variants: [ { props: { disablePadding: true }, style: () => ({ padding: 0 }) } ] }; const MuiToggleButton = { variants: [ { props: { color: "primary" }, style: ({ theme }) => ({ // Temporary customizations until it will be decided in the design-system. "&.MuiToggleButton-root.Mui-selected": { color: theme.palette.primary.__unstableAccessibleMain } }) }, { props: { color: "global" }, style: ({ theme }) => ({ // Temporary customizations until it will be decided in the design-system. "&.MuiToggleButton-root.Mui-selected": { color: theme.palette.global.__unstableAccessibleMain } }) }, { props: { size: "tiny" }, style: ({ theme }) => ({ lineHeight: "1.6", fontSize: "0.625rem", // This specific padding value is needed in order to get 28px height. padding: theme.spacing(0.625) // 5px }) } ] }; const MuiTooltip = { defaultProps: { arrow: true }, styleOverrides: { arrow: ({ theme }) => ({ color: theme.palette.grey[700] }), tooltip: ({ theme }) => ({ backgroundColor: theme.palette.grey[700] }) } }; var components = { MuiAccordion, MuiAccordionActions, MuiAccordionSummary, MuiAccordionSummaryIcon, MuiAccordionSummaryText, MuiAppBar, MuiAutocomplete, MuiButton, MuiButtonBase, MuiButtonGroup, MuiCard, MuiCardActions, MuiCardGroup, MuiCardHeader, MuiChip, MuiCircularProgress, MuiDialogActions, MuiDialogContent, MuiFilledInput, MuiFormHelperText, MuiIconButton, MuiInput, MuiInputAdornment, MuiInputBase, MuiInputLabel, MuiListItem, MuiListItemButton, MuiListItemIcon, MuiListItemText, MuiListSubheader, MuiMenu, MuiMenuItem, MuiOutlinedInput, MuiPaper, MuiSelect, MuiStepConnector, MuiStepIcon, MuiStepLabel, MuiStepper, MuiSvgIcon, MuiTableRow, MuiTabPanel, MuiToggleButton, MuiTooltip }; const themeBaseConfig = { components, typography: { button: { textTransform: "none" }, h1: { fontWeight: 700 }, h2: { fontWeight: 700 }, h3: { fontSize: "2.75rem", fontWeight: 700 }, h4: { fontSize: "2rem", fontWeight: 700 }, h5: { fontWeight: 700 }, subtitle1: { fontWeight: 500, lineHeight: 1.3 }, subtitle2: { lineHeight: 1.3 } }, zIndex: { mobileStepper: 1e3, fab: 1050, speedDial: 1050, appBar: 1100, drawer: 1200, modal: 1300, snackbar: 1400, tooltip: 1500 } }; const lightThemeConfig = { ...themeBaseConfig, palette: { mode: "light", primary: { main: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorPink300, light: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorPink200, dark: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorPink400, contrastText: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey900, [UNSTABLE_ACCESSIBLE_MAIN_KEY]: "#C00BB9", [UNSTABLE_ACCESSIBLE_LIGHT_KEY]: "#D355CE" }, secondary: { main: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey600, light: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey500, dark: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey700, contrastText: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorCommonWhite }, grey: { 50: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey50, 100: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey100, 200: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey200, 300: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey300, 400: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey400, 500: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey500, 600: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey600, 700: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey700, 800: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey800, 900: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey900 }, text: { primary: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey900, secondary: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey700, tertiary: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey500, disabled: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey300 }, background: { paper: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorCommonWhite, default: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorCommonWhite }, success: { main: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGreen600, light: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGreen500, dark: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGreen700, contrastText: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorCommonWhite }, error: { main: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorRed600, light: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorRed500, dark: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorRed700, contrastText: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorCommonWhite }, warning: { main: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorYellow700, light: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorYellow600, dark: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorYellow800, contrastText: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorCommonWhite }, info: { main: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorBlue600, light: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorBlue500, dark: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorBlue700, contrastText: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorCommonWhite }, global: { main: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorCyan400, light: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorCyan300, dark: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorCyan500, contrastText: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey900, [UNSTABLE_ACCESSIBLE_MAIN_KEY]: "#17929B", [UNSTABLE_ACCESSIBLE_LIGHT_KEY]: "#5DB3B9" }, // TODO: the accent values should be updated as part of a deprecation process. accent: { main: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorBurgundy800, light: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorBurgundy700, dark: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorBurgundy900, contrastText: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorCommonWhite }, promotion: { main: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorBurgundy800, light: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorBurgundy700, dark: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorBurgundy900, contrastText: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorCommonWhite } } }; const darkThemeConfig = { ...themeBaseConfig, palette: { mode: "dark", primary: { main: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorPink300, light: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorPink200, dark: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorPink400, contrastText: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey900, [UNSTABLE_ACCESSIBLE_MAIN_KEY]: "#C00BB9", [UNSTABLE_ACCESSIBLE_LIGHT_KEY]: "#D355CE" }, secondary: { main: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey300, light: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey200, dark: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey400, contrastText: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey900 }, grey: { 50: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey50, 100: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey100, 200: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey200, 300: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey300, 400: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey400, 500: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey500, 600: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey600, 700: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey700, 800: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey800, 900: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey900 }, text: { primary: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorCommonWhite, secondary: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey200, tertiary: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey300, disabled: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey600 }, background: { paper: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey900, default: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey800 }, success: { main: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGreen600, light: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGreen500, dark: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGreen700, contrastText: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorCommonWhite }, error: { main: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorRed600, light: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorRed500, dark: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorRed700, contrastText: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorCommonWhite }, warning: { main: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorYellow500, light: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorYellow400, dark: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorYellow800, contrastText: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorCommonBlack }, info: { main: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorBlue600, light: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorBlue500, dark: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorBlue700, contrastText: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorCommonWhite }, global: { main: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorCyan400, light: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorCyan300, dark: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorCyan500, contrastText: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorGrey900, [UNSTABLE_ACCESSIBLE_MAIN_KEY]: "#17929B", [UNSTABLE_ACCESSIBLE_LIGHT_KEY]: "#5DB3B9" }, // TODO: the accent values should be updated as part of a deprecation process. accent: { main: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorBurgundy800, light: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorBurgundy700, dark: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorBurgundy900, contrastText: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorCommonWhite }, promotion: { main: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorBurgundy800, light: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorBurgundy700, dark: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorBurgundy900, contrastText: _elementor_design_tokens__WEBPACK_IMPORTED_MODULE_2__.ColorCommonWhite } } }; const primaryMain = "#524CFF"; const marketingSuitePalette = { primary: { main: primaryMain, light: "#6B65FF", dark: "#4C43E5", contrastText: "#FFFFFF", [UNSTABLE_ACCESSIBLE_MAIN_KEY]: UNSTABLE_ACCESSIBLE_MARKETING_PRIMARY_MAIN, [UNSTABLE_ACCESSIBLE_LIGHT_KEY]: UNSTABLE_ACCESSIBLE_MARKETING_PRIMARY_LIGHT }, action: { selected: (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_3__.alpha)(primaryMain, ACTION_SELECTED_OPACITY) } }; const ThemeConfigContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(null); const ThemeConfigProvider = ({ value, children }) => /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(ThemeConfigContext.Provider, { value }, children); const useThemeConfig = () => { return (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(ThemeConfigContext); }; const defaultOverrides = { zIndex: themeBaseConfig.zIndex }; function getOverrides(themeProviderOverrides, configProviderOverrides) { if (!themeProviderOverrides) { return configProviderOverrides; } if (typeof themeProviderOverrides !== "function") { console.error("overrides must be a function"); return configProviderOverrides; } const overridesResult = themeProviderOverrides(structuredClone(configProviderOverrides || defaultOverrides)); if (!overridesResult || typeof overridesResult !== "object") { console.error("overrides function must return an object"); return configProviderOverrides; } return overridesResult; } const getTheme = ({ palette = "default", rtl = false, isDarkMode = false, overrides } = {}) => { const themeData = isDarkMode ? darkThemeConfig : lightThemeConfig; const themeArgs = {}; const allowedOverrides = ["zIndex"]; if (palette === "marketing-suite") { themeArgs.palette = marketingSuitePalette; } if (rtl) { themeArgs.direction = "rtl"; } if (overrides) { allowedOverrides.forEach((override) => { if (override in overrides) { themeArgs[override] = overrides[override]; } }); } return (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_4__["default"])(themeData, themeArgs); }; const ThemeProvider = (0,_emotion_react__WEBPACK_IMPORTED_MODULE_5__.w)( ({ colorScheme, palette, children, overrides }, directionCache) => { const themeConfig = useThemeConfig(); const rtl = directionCache.key === RTL_CACHE_KEY; const currentPalette = palette || themeConfig?.palette; const currentColorScheme = colorScheme || themeConfig?.colorScheme || "auto"; const prefersDarkMode = (0,_mui_material_useMediaQuery__WEBPACK_IMPORTED_MODULE_6__["default"])("(prefers-color-scheme: dark)"); const isDarkMode = currentColorScheme === "auto" && prefersDarkMode || currentColorScheme === "dark"; const currentOverrides = getOverrides(overrides, themeConfig?.overrides); const theme = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => { return getTheme({ rtl, isDarkMode, palette: currentPalette, overrides: currentOverrides }); }, [rtl, isDarkMode, currentPalette, currentOverrides]); return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(ThemeConfigProvider, { value: { colorScheme, palette, overrides: currentOverrides } }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material_styles__WEBPACK_IMPORTED_MODULE_7__["default"], { theme }, children)); } ); const createSlots = (componentName, componentSlots) => { const slots = {}; const classNames = {}; componentSlots.forEach((slot) => { classNames[slot] = `Mui${componentName}-${slot}`; slots[slot] = { slot, name: `Mui${componentName}` }; }); return { slots, classNames }; }; var index = {}; //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/unstable/index.esm.js": /*!**********************************************************!*\ !*** ./node_modules/@elementor/ui/unstable/index.esm.js ***! \**********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ UnstableChipGroup: function() { return /* binding */ ChipGroup; }, /* harmony export */ UnstableColorBox: function() { return /* binding */ ColorBox; }, /* harmony export */ UnstableColorField: function() { return /* binding */ ColorField; }, /* harmony export */ UnstableColorIndicator: function() { return /* binding */ ColorIndicator; }, /* harmony export */ UnstableColorPicker: function() { return /* binding */ ColorPicker; }, /* harmony export */ UnstableColorPopover: function() { return /* binding */ ColorPopover; }, /* harmony export */ UnstableFloatingActionBar: function() { return /* binding */ FloatingActionBar; }, /* harmony export */ UnstableGradientBox: function() { return /* binding */ GradientBox; }, /* harmony export */ UnstableTag: function() { return /* binding */ Tag; }, /* harmony export */ "default": function() { return /* binding */ index; }, /* harmony export */ useUnstableColorState: function() { return /* binding */ useColorState; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! clsx */ "./node_modules/@elementor/ui/node_modules/clsx/dist/clsx.mjs"); /* harmony import */ var _styles__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../styles */ "./node_modules/@elementor/ui/styles/index.esm.js"); /* harmony import */ var _styles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../styles */ "./node_modules/@mui/material/styles/styled.js"); /* harmony import */ var _styles__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../styles */ "./node_modules/@mui/material/styles/useThemeProps.js"); /* harmony import */ var _usePopupState__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../usePopupState */ "./node_modules/@elementor/ui/usePopupState/index.esm.js"); /* harmony import */ var _usePopupState__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../usePopupState */ "./node_modules/material-ui-popup-state/hooks.mjs"); /* harmony import */ var _MenuItem__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../MenuItem */ "./node_modules/@elementor/ui/MenuItem/index.esm.js"); /* harmony import */ var _Box__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../Box */ "./node_modules/@elementor/ui/Box/index.esm.js"); /* harmony import */ var _Select__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../Select */ "./node_modules/@elementor/ui/Select/index.esm.js"); /* harmony import */ var react_colorful__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-colorful */ "./node_modules/react-colorful/dist/index.mjs"); /* harmony import */ var _InputAdornment__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../InputAdornment */ "./node_modules/@elementor/ui/InputAdornment/index.esm.js"); /* harmony import */ var _OutlinedInput__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../OutlinedInput */ "./node_modules/@elementor/ui/OutlinedInput/index.esm.js"); /* harmony import */ var colord__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! colord */ "./node_modules/colord/index.mjs"); /* harmony import */ var _Popover__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../Popover */ "./node_modules/@elementor/ui/Popover/index.esm.js"); /* harmony import */ var _Popper__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../Popper */ "./node_modules/@elementor/ui/Popper/index.esm.js"); /* harmony import */ var _ClickAwayListener__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../ClickAwayListener */ "./node_modules/@elementor/ui/ClickAwayListener/index.esm.js"); /* harmony import */ var _Slider__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../Slider */ "./node_modules/@elementor/ui/Slider/index.esm.js"); /* harmony import */ var _DirectionProvider__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../DirectionProvider */ "./node_modules/@elementor/ui/DirectionProvider/index.esm.js"); /* harmony import */ var _ButtonBase__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../ButtonBase */ "./node_modules/@elementor/ui/ButtonBase/index.esm.js"); /* harmony import */ var _SvgIcon__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../SvgIcon */ "./node_modules/@elementor/ui/SvgIcon/index.esm.js"); /* harmony import */ var _Stack__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../Stack */ "./node_modules/@elementor/ui/Stack/index.esm.js"); /* harmony import */ var _Typography__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../Typography */ "./node_modules/@elementor/ui/Typography/index.esm.js"); /* harmony import */ var _Divider__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../Divider */ "./node_modules/@elementor/ui/Divider/index.esm.js"); /* harmony import */ var _IconButton__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../IconButton */ "./node_modules/@elementor/ui/IconButton/index.esm.js"); /* harmony import */ var _unstable__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../unstable */ "./node_modules/@elementor/ui/unstable/index.esm.js"); const { slots: slots$4, classNames: classNames$4 } = (0,_styles__WEBPACK_IMPORTED_MODULE_2__.createSlots)("ChipGroup", ["root"]); const Root$3 = (0,_styles__WEBPACK_IMPORTED_MODULE_3__["default"])( "div", slots$4.root )(() => ({ "& .MuiChip-root": { "&:first-child:not(:only-child)": { borderTopRightRadius: 0, borderBottomRightRadius: 0 }, "&:not(:first-child):not(:last-child)": { borderRadius: 0 }, "&:last-child:not(:only-child)": { borderTopLeftRadius: 0, borderBottomLeftRadius: 0 } } })); const ChipGroup = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((inProps, ref) => { const props = (0,_styles__WEBPACK_IMPORTED_MODULE_4__["default"])({ props: inProps, name: slots$4.root.name }); return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( Root$3, { ...props, ref, className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__["default"])([[classNames$4.root, props.className]]), ownerState: props } ); }); const StyledContainer = (0,_styles__WEBPACK_IMPORTED_MODULE_3__["default"])("div")(({ theme }) => ({ "& .react-colorful": { width: "100%", height: "auto", gap: theme.spacing(2), "& .react-colorful__saturation": { borderRadius: 0, height: 200 }, "& .react-colorful__hue, & .react-colorful__alpha": { borderRadius: theme.shape.borderRadius * 5, height: "12px" }, "& .react-colorful__pointer": { width: "24px", height: "24px" } } })); const PickerComponentsMap = { hex: react_colorful__WEBPACK_IMPORTED_MODULE_5__.HexAlphaColorPicker, rgb: react_colorful__WEBPACK_IMPORTED_MODULE_5__.RgbaStringColorPicker, hsl: react_colorful__WEBPACK_IMPORTED_MODULE_5__.HslaStringColorPicker }; const Picker = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((inProps, ref) => { const { value, format, onChange, ...props } = inProps; const Component = PickerComponentsMap[format]; return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(StyledContainer, { ...props, ref }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( Component, { color: value, onChange: (updatedValue) => { const validValue = format === "hex" && updatedValue.startsWith("#Na") ? "" : updatedValue; onChange(validValue); } } )); }); const isValidColor$2 = (color) => { return typeof color === "string" && (0,colord__WEBPACK_IMPORTED_MODULE_6__.colord)(color).isValid(); }; const getFormat = (value) => { if (value?.startsWith("rgb")) { return "rgb"; } if (value?.startsWith("hsl")) { return "hsl"; } return "hex"; }; const parseInRange = (value, { min, max } = {}) => { value = typeof value === "string" ? parseFloat(value) : value; if (typeof value !== "number" || isNaN(value)) { return 0; } if (typeof max !== "undefined") { value = Math.min(value, max); } if (typeof min !== "undefined") { value = Math.max(value, min); } return value; }; const StyledOutlinedInput = (0,_styles__WEBPACK_IMPORTED_MODULE_3__["default"])(_OutlinedInput__WEBPACK_IMPORTED_MODULE_7__["default"])(() => ({ "& .MuiInputBase-input": { // Removing the number field arrows. "-moz-appearance": "textfield", "&::-webkit-outer-spin-button, &::-webkit-inner-spin-button": { margin: 0, "-webkit-appearance": "none" } } })); const NumericInput = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((inProps, ref) => { const { value, onChange, min, max, onBlur, ...props } = inProps; return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( StyledOutlinedInput, { color: "secondary", type: "number", ...props, ref, value, onChange: (event) => { const parsedValue = parseFloat(event.target.value); onChange(parsedValue); }, onBlur: (event) => { const parsedValue = parseInRange(event.target.value, { min, max }); onChange(parsedValue); onBlur?.(event); } } ); }); const RgbaInput = ({ value, onChange, ...props }) => { const { r, g, b, a } = value; return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Box__WEBPACK_IMPORTED_MODULE_8__["default"], { display: "flex", gap: 0.75 }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( NumericInput, { color: "secondary", ...props, min: 0, max: 255, value: r, onChange: (val) => onChange({ ...value, r: val }) } ), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( NumericInput, { color: "secondary", ...props, min: 0, max: 255, value: g, onChange: (val) => onChange({ ...value, g: val }) } ), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( NumericInput, { color: "secondary", ...props, min: 0, max: 255, value: b, onChange: (val) => onChange({ ...value, b: val }) } ), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( NumericInput, { color: "secondary", ...props, min: 0, max: 100, value: Math.round(a * 100), onChange: (val) => onChange({ ...value, a: val / 100 }), endAdornment: /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_InputAdornment__WEBPACK_IMPORTED_MODULE_9__["default"], { disableTypography: true, position: "end" }, "%") } )); }; const HexInput = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((inProps, ref) => { const { value, onChange, ...props } = inProps; const latestValidColor = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(value); return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( _OutlinedInput__WEBPACK_IMPORTED_MODULE_7__["default"], { color: "secondary", ...props, ref, value, onChange: (event) => { const inputValueWithoutHash = event.target.value.replace(/^#+/g, ""); onChange("#" + inputValueWithoutHash); }, onFocus: (event) => { latestValidColor.current = event.target.value; props.onFocus?.(event); }, onBlur: (event) => { const inputValue = event.target.value; if (isValidColor$2(inputValue)) { latestValidColor.current = inputValue; } else { onChange(latestValidColor.current); } props.onBlur?.(event); } } ); }); const AlphaInput = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((inProps, ref) => { const { value, onChange, ...props } = inProps; return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( _OutlinedInput__WEBPACK_IMPORTED_MODULE_7__["default"], { ref, color: "secondary", sx: { width: "57px" }, ...props, value: (value * 100).toFixed(), onChange: (event) => onChange(normalizeValue(event.target.value)), endAdornment: /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_InputAdornment__WEBPACK_IMPORTED_MODULE_9__["default"], { disableTypography: true, position: "end" }, "%") } ); }); function normalizeValue(value) { if (!value) { return 0; } const normalized = parseInt(value); if (isNaN(normalized)) { return 1; } const decimal = normalized / 100; if (decimal > 1) { return 1; } if (decimal < 0) { return 0; } return decimal; } const HslaInput = ({ value, onChange, ...props }) => { const { h, s, l, a } = value; return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Box__WEBPACK_IMPORTED_MODULE_8__["default"], { display: "flex", gap: 0.75 }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( NumericInput, { color: "secondary", ...props, min: 0, max: 360, value: h, onChange: (val) => onChange({ ...value, h: val }) } ), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( NumericInput, { color: "secondary", ...props, min: 0, max: 100, value: s, onChange: (val) => onChange({ ...value, s: val }) } ), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( NumericInput, { color: "secondary", ...props, min: 0, max: 100, value: l, onChange: (val) => onChange({ ...value, l: val }) } ), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( NumericInput, { color: "secondary", ...props, min: 0, max: 100, value: Math.round(a * 100), onChange: (val) => onChange({ ...value, a: val / 100 }), endAdornment: /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_InputAdornment__WEBPACK_IMPORTED_MODULE_9__["default"], { disableTypography: true, position: "end" }, "%") } )); }; const useColorData = (value) => { const colorData = (0,colord__WEBPACK_IMPORTED_MODULE_6__.colord)(value); return { getAlpha: () => colorData.alpha(), getFormat: () => (0,colord__WEBPACK_IMPORTED_MODULE_6__.getFormat)(value), isValid: () => colorData.isValid(), toHsl: () => colorData.toHsl(), toRgb: () => colorData.toRgb() }; }; const useColorConverter = () => { return convertColor; }; function convertColor(color, format, alpha) { let colorData = (0,colord__WEBPACK_IMPORTED_MODULE_6__.colord)(color); if (alpha !== undefined && alpha >= 0 && alpha <= 1) { colorData = colorData.alpha(alpha); } if (format === "rgb") { return colorData.toRgbString(); } if (format === "hsl") { return colorData.toHslString(); } return colorData.toHex(); } const StyledBox = (0,_styles__WEBPACK_IMPORTED_MODULE_3__["default"])("div")(({ theme }) => ({ display: "flex", flexDirection: "column", gap: theme.spacing(2), padding: theme.spacing(2), width: 276 })); const ColorBox = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef( ({ value, onChange, hideInputFields, ...props }, ref) => { const { getAlpha, getFormat: getFormat$1, toRgb, toHsl } = useColorData(value); const convertColor = useColorConverter(); const format = getFormat(getFormat$1()); return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(StyledBox, { ...props, ref }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Picker, { value, format, onChange }), !hideInputFields && /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Box__WEBPACK_IMPORTED_MODULE_8__["default"], { display: "flex", gap: 1 }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( _Select__WEBPACK_IMPORTED_MODULE_10__["default"], { size: "tiny", value: format, color: "secondary", onChange: (event) => { const updatedFormat = event.target.value; const updatedColor = convertColor(value, updatedFormat); onChange(updatedColor); } }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_MenuItem__WEBPACK_IMPORTED_MODULE_11__["default"], { value: "hex" }, "hex"), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_MenuItem__WEBPACK_IMPORTED_MODULE_11__["default"], { value: "rgb" }, "rgb"), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_MenuItem__WEBPACK_IMPORTED_MODULE_11__["default"], { value: "hsl" }, "hsl") ), format === "hex" && /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(HexInput, { size: "tiny", value, onChange, sx: { flexGrow: 1 } }), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( AlphaInput, { size: "tiny", value: getAlpha(), onChange: (updatedAlpha) => { const updatedColor = convertColor(value, format, updatedAlpha); onChange(updatedColor); } } )), format === "rgb" && /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( RgbaInput, { size: "tiny", value: toRgb(), onChange: (colorData) => { const updatedColor = convertColor(colorData, "rgb"); onChange(updatedColor); } } ), format === "hsl" && /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( HslaInput, { size: "tiny", value: toHsl(), onChange: (colorData) => { const updatedColor = convertColor(colorData, "hsl"); onChange(updatedColor); } } ))); } ); ColorBox.defaultProps = { hideInputFields: false }; const transparentPattern = 'data:image/svg+xml;charset=utf-8,'; const StyledIndicator = (0,_styles__WEBPACK_IMPORTED_MODULE_3__["default"])("span")(({ theme, ownerState }) => { const { value, size } = ownerState; const indicatorSize = { tiny: 26, small: 38, medium: 54, inherit: "1em" }[size || "medium"]; const backgroundImageValues = []; if (value) { const isGradientValue = /[a-z]-gradient\(/.test(value); const colorValue = isGradientValue ? value : `linear-gradient(${value}, ${value})`; backgroundImageValues.push(colorValue); } backgroundImageValues.push(`url('${transparentPattern}')`); const backgroundImage = backgroundImageValues.join(", "); return { display: "inline-flex", flexShrink: 0, flexGrow: 0, borderRadius: theme.shape.borderRadius, fontSize: size === "inherit" ? "inherit" : undefined, width: indicatorSize, height: indicatorSize, minWidth: "initial", outline: `1px solid ${theme.palette.action.disabled}`, border: 0, padding: 0, backgroundColor: theme.palette.common.white, backgroundPosition: "center", backgroundImage, "button&": { "&:not(:disabled)": { cursor: "pointer" }, "&:not(:disabled):hover, &:focus": { outlineWidth: 2, outlineColor: theme.palette.text.primary } } }; }); const ColorIndicator = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((inProps, ref) => { const { value, size, component, ...props } = inProps; const ownerState = { value, size }; return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(StyledIndicator, { ...props, as: component, ref, ownerState }); }); ColorIndicator.defaultProps = { component: "span", size: "medium" }; const ColorPopover = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef(({ children, ...props }, ref) => { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Popover__WEBPACK_IMPORTED_MODULE_12__["default"], { ...props, ref }, children); }); ColorPopover.defaultProps = { disablePortal: true, anchorOrigin: { vertical: "bottom", horizontal: "left" }, transformOrigin: { vertical: "top", horizontal: "left" } }; const ColorPicker = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((props, ref) => { const { size, anchorEl, anchorOrigin, anchorReference, anchorPosition, transformOrigin, hideInputFields, slotProps = {}, value = "", onChange, disabled } = props; const popoverState = (0,_usePopupState__WEBPACK_IMPORTED_MODULE_13__.usePopupState)({ variant: "popover", popupId: "eui-color-picker-popover" }); const popoverProps = Object.entries({ anchorEl, anchorOrigin, anchorReference, anchorPosition, transformOrigin }).reduce((acc, [key, val]) => val ? { ...acc, [key]: val } : acc, {}); return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( ColorIndicator, { ref, size, value, component: "button", disabled, ...(0,_usePopupState__WEBPACK_IMPORTED_MODULE_14__.bindTrigger)(popoverState), ...slotProps.colorIndicator } ), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(ColorPopover, { ...(0,_usePopupState__WEBPACK_IMPORTED_MODULE_14__.bindPopover)(popoverState), ...popoverProps, ...slotProps.popover }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( ColorBox, { value, onChange, hideInputFields, ...slotProps.colorBox } ))); }); ColorPicker.defaultProps = { hideInputFields: false }; const ColorInput = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((inProps, ref) => { const { value, onChange, ...props } = inProps; const latestValidColor = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(value); return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( _OutlinedInput__WEBPACK_IMPORTED_MODULE_7__["default"], { color: "secondary", ...props, ref, value, onChange: (event) => onChange(event.target.value), onFocus: (event) => { latestValidColor.current = event.target.value; props.onFocus?.(event); }, onBlur: (event) => { const inputValue = event.target.value; if (isValidColor$1(inputValue)) { latestValidColor.current = inputValue; } else { onChange(latestValidColor.current); } props.onBlur?.(event); } } ); }); function isValidColor$1(value) { if (typeof value !== "string") { return false; } if (value === "") { return true; } return (0,colord__WEBPACK_IMPORTED_MODULE_6__.colord)(value).isValid(); } const { slots: slots$3, classNames: classNames$3 } = (0,_styles__WEBPACK_IMPORTED_MODULE_2__.createSlots)("ColorField", ["root"]); const Root$2 = (0,_styles__WEBPACK_IMPORTED_MODULE_3__["default"])( "div", slots$3.root )(({ theme }) => ({ display: "flex", alignItems: "center", gap: theme.spacing(1) })); const ColorField = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((inProps, ref) => { const props = (0,_styles__WEBPACK_IMPORTED_MODULE_4__["default"])({ props: inProps, name: slots$3.root.name }); const { value, onChange, size, placeholder, disabled, fullWidth, slotProps = {}, ...rootProps } = props; return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Root$2, { ...rootProps, ref, className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__["default"])([[classNames$3.root, rootProps.className]]) }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( ColorPicker, { ...slotProps?.colorPicker, value, onChange, size, disabled } ), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( ColorInput, { value, onChange, size, fullWidth, placeholder, disabled } )); }); ColorField.defaultProps = { size: "medium" }; const { slots: slots$2, classNames: classNames$2 } = (0,_styles__WEBPACK_IMPORTED_MODULE_2__.createSlots)("FloatingActionBar", ["actions", "popper"]); const PopperRoot = (0,_styles__WEBPACK_IMPORTED_MODULE_3__["default"])(_Popper__WEBPACK_IMPORTED_MODULE_15__["default"], slots$2.popper)({}); const Actions$1 = (0,_styles__WEBPACK_IMPORTED_MODULE_3__["default"])( "div", slots$2.actions )(({ theme }) => ({ maxWidth: "initial", display: "flex", alignItems: "center", backgroundColor: theme.palette.background.paper, color: theme.palette.text.primary, boxShadow: theme.shadows["1"], borderRadius: theme.shape.borderRadius * 5, paddingInline: theme.spacing(1), paddingBlock: theme.spacing(0.25), "& > .MuiIconButton-sizeTiny": { padding: theme.spacing(0.25) } })); const FloatingActionBar = (0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)((inProps, ref) => { const props = (0,_styles__WEBPACK_IMPORTED_MODULE_4__["default"])({ props: inProps, name: slots$2.popper.name }); const { actions, children, open, placement, slotProps = {}, onClose } = props; const [childElement, setChildElement] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(null); const popperState = (0,_usePopupState__WEBPACK_IMPORTED_MODULE_13__.usePopupState)({ variant: "popper", popupId: "floating-action-bar" }); const isControlled = typeof open === "boolean"; const isValidChildren = !Array.isArray(children) && (0,react__WEBPACK_IMPORTED_MODULE_0__.isValidElement)(children); if (!isValidChildren) { console.error("FloatingActionBar: The children prop must be a single valid React element."); } const popperDisplayProps = isControlled ? { open: !!(childElement && open), anchorEl: childElement } : (0,_usePopupState__WEBPACK_IMPORTED_MODULE_14__.bindPopper)(popperState); const childDisplayProps = isControlled ? {} : { // Merge the popper state with the child props. ...(0,_usePopupState__WEBPACK_IMPORTED_MODULE_14__.bindHover)(popperState), ...(0,_usePopupState__WEBPACK_IMPORTED_MODULE_14__.bindFocus)(popperState), ...children.props, onTouchStart: (event) => { (0,_usePopupState__WEBPACK_IMPORTED_MODULE_14__.bindHover)(popperState).onTouchStart(event); children.props.onTouchStart?.(event); }, onMouseOver: (event) => { (0,_usePopupState__WEBPACK_IMPORTED_MODULE_14__.bindHover)(popperState).onMouseOver(event); children.props.onMouseOver?.(event); }, onMouseLeave: (event) => { (0,_usePopupState__WEBPACK_IMPORTED_MODULE_14__.bindHover)(popperState).onMouseLeave(event); children.props.onMouseLeave?.(event); }, onFocus: (event) => { (0,_usePopupState__WEBPACK_IMPORTED_MODULE_14__.bindFocus)(popperState).onFocus(event); children.props.onFocus?.(event); }, onBlur: (event) => { (0,_usePopupState__WEBPACK_IMPORTED_MODULE_14__.bindFocus)(popperState).onBlur(event); children.props.onBlur?.(event); } }; const clonedChild = isValidChildren ? (0,react__WEBPACK_IMPORTED_MODULE_0__.cloneElement)(children, { ref: setChildElement, ...childDisplayProps }) : null; const handleClickAway = () => { if (!isControlled) { popperState.close(); } onClose?.(); }; const handleEscapeKeyDown = (event) => { if (event.key === "Escape") { if (!isControlled) { popperState.close(); } onClose?.(); } }; const shouldHaveClickAwayListener = !isControlled || typeof onClose === "function"; return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, clonedChild, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( PopperRoot, { ref, disablePortal: true, role: "presentation", ...popperDisplayProps, className: classNames$2.popper, placement: placement === "bottom-start" ? "bottom-start" : "top-end", modifiers: [ /** * Popper is using translate3d by default in order to calculate the position of the popper. * This make a wrong calculation of additional poppers that should be opened relatively to the popper. * In order to fix this, we need to disable the GPU acceleration, which will make the popper use the top/left properties. */ { name: "computeStyles", options: { gpuAcceleration: false } }, // Preventing the floating action bar from changing position when colliding with the window edges. { name: "flip", enabled: false }, { name: "offset", options: { offset: [0, -4] } } ], ownerState: props }, actions && /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(ActionsWrapper, { onClickOutside: shouldHaveClickAwayListener ? handleClickAway : undefined }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( Actions$1, { role: "group", onKeyDown: handleEscapeKeyDown, ...slotProps.actions, className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__["default"])([classNames$2.actions, slotProps.actions?.className]) }, actions )) )); }); function ActionsWrapper({ children, onClickOutside }) { if (!onClickOutside) { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, children); } return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_ClickAwayListener__WEBPACK_IMPORTED_MODULE_16__["default"], { onClickAway: onClickOutside }, children); } const DEFAULT_ANGLE = 90; const DEFAULT_TYPE = "linear"; const DEFAULT_POSITIONS = ["center", "center"]; const TRANSPARENT_PATTERN_IMG_DATA = 'data:image/svg+xml;charset=utf-8,'; const DEFAULT_STOPS = [ { color: "#000", offset: 0 }, { color: "#fff", offset: 100 } ]; const MIN_GRADIENT_STOPS = DEFAULT_STOPS.length; const MAX_GRADIENT_STOPS = 101; const DEFAULT_GRADIENT = { type: DEFAULT_TYPE, angle: DEFAULT_ANGLE, stops: DEFAULT_STOPS }; const backgroundImage = `linear-gradient(var(--eui-gradient-slider-thumb-color, transparent), var(--eui-gradient-slider-thumb-color, transparent)), url('${TRANSPARENT_PATTERN_IMG_DATA}')`; const StyledThumb = (0,_styles__WEBPACK_IMPORTED_MODULE_3__["default"])(_Box__WEBPACK_IMPORTED_MODULE_8__["default"])(({ theme, selected }) => { const thumbFrameColor = selected ? theme.palette.text.secondary : theme.palette.text.tertiary; return { position: "absolute", top: 0, transform: "translateX(-50%)", width: 20, height: 20, border: `solid ${thumbFrameColor}`, borderWidth: selected ? 2 : 1, backgroundImage, borderRadius: theme.shape.borderRadius, "&:before": { content: '""', position: "absolute", top: "100%", left: "50%", transform: "translateX(-50%)", width: 0, height: 0, borderLeft: "4px solid transparent", borderRight: "4px solid transparent", borderTop: `8px solid ${thumbFrameColor}` }, "& button": { visibility: "hidden" }, "&:hover, &:focus": { "& button": { visibility: "visible" } } }; }); const StyledDeleteButton = (0,_styles__WEBPACK_IMPORTED_MODULE_3__["default"])(_ButtonBase__WEBPACK_IMPORTED_MODULE_17__["default"])(({ theme }) => { return { position: "absolute", width: 16, height: 16, transform: "translate(-50%, -50%)", borderRadius: "50%", backgroundColor: theme.palette.text.secondary, color: theme.palette.background.default, fontSize: "10px", "&:hover": { backgroundColor: theme.palette.text.primary } }; }); const DeleteIcon = (0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)((props, ref) => { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_SvgIcon__WEBPACK_IMPORTED_MODULE_18__["default"], { viewBox: "0 0 24 24", ...props, ref }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( "path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18.5303 5.46967C18.8232 5.76256 18.8232 6.23744 18.5303 6.53033L6.53033 18.5303C6.23744 18.8232 5.76256 18.8232 5.46967 18.5303C5.17678 18.2374 5.17678 17.7626 5.46967 17.4697L17.4697 5.46967C17.7626 5.17678 18.2374 5.17678 18.5303 5.46967Z" } ), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( "path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.46967 5.46967C5.76256 5.17678 6.23744 5.17678 6.53033 5.46967L18.5303 17.4697C18.8232 17.7626 18.8232 18.2374 18.5303 18.5303C18.2374 18.8232 17.7626 18.8232 17.4697 18.5303L5.46967 6.53033C5.17678 6.23744 5.17678 5.76256 5.46967 5.46967Z" } )); }); const Thumb = (0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)( ({ stops: colors, onThumbMoveStart, onThumbMoveEnd, onDelete, selected, children, ...thumbProps }, ref) => { const index = thumbProps["data-index"]; const thumbColor = colors[index].color; return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( StyledThumb, { ref, ...thumbProps, selected: selected === index, onMouseDown: () => { onThumbMoveStart?.(index); }, onMouseUp: () => { onThumbMoveEnd?.(index); }, style: { ...thumbProps.style, "--eui-gradient-slider-thumb-color": thumbColor } }, children, onDelete && /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( StyledDeleteButton, { "aria-label": "delete", onMouseDown: (event) => { event.stopPropagation(); onDelete(index); } }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(DeleteIcon, { fontSize: "inherit" }) ) ); } ); function useGradientUtils() { return { addStop: (offset, stops) => { const availableOffset = getNextAvailableOffset(offset, stops); if (availableOffset === null) { return { index: -1, stops }; } const { index, stops: updatedStops } = addNewStopByOffset(availableOffset, stops); return { index, stops: updatedStops }; }, removeStop: (index, stops) => { if (stops.length <= MIN_GRADIENT_STOPS) { return stops; } const updatedStops = [...stops]; updatedStops.splice(index, 1); return updatedStops; }, updateStop: (index, updatedStop, stops) => { const stopExists = stops[index]; if (!stopExists) { return stops; } const updatedStops = [...stops]; updatedStops[index] = { ...updatedStops[index], ...updatedStop }; return updatedStops; }, updateStopsOffsets: (newOffsets, stops) => { if (newOffsets.length !== stops.length) { return stops; } return stops.map((stop, index) => ({ ...stop, offset: newOffsets[index] })); }, swapStopsColors: (index1, index2, stops) => { const updatedStops = [...stops]; updatedStops[index1] = { ...updatedStops[index1], color: stops[index2].color }; updatedStops[index2] = { ...updatedStops[index2], color: stops[index1].color }; return updatedStops; }, flipStops: (stops) => { return stops.map(({ color, offset }) => ({ color, offset: 100 - offset })).reverse(); } }; } function addNewStopByOffset(offset, stops) { const updatedStops = [...stops]; const newOffsetIndex = updatedStops.findIndex((item) => item.offset > offset); const isClickBeforeFirstColor = newOffsetIndex === 0; const isClickAfterLastColor = newOffsetIndex === -1; let colorValue = ""; if (isClickBeforeFirstColor || isClickAfterLastColor) { const outOfRangeIndex = isClickBeforeFirstColor ? 0 : updatedStops.length - 1; colorValue = updatedStops[outOfRangeIndex].color; } else { colorValue = mixStops({ offset, beforeStop: updatedStops[newOffsetIndex - 1], afterStop: updatedStops[newOffsetIndex] }); } const newStop = { color: colorValue, offset }; const newStopIndex = isClickAfterLastColor ? updatedStops.length : newOffsetIndex; updatedStops.splice(newStopIndex, 0, newStop); return { stops: updatedStops, index: newStopIndex }; } function mixStops({ offset, beforeStop, afterStop }) { const { color: beforeColor, offset: prevOffset } = beforeStop; const { color: afterColor, offset: nextOffset } = afterStop; const ratio = (offset - prevOffset) / (nextOffset - prevOffset); const newRGB = mixRGBColors((0,colord__WEBPACK_IMPORTED_MODULE_6__.colord)(beforeColor).toRgb(), (0,colord__WEBPACK_IMPORTED_MODULE_6__.colord)(afterColor).toRgb(), ratio); const beforeColorFormat = (0,colord__WEBPACK_IMPORTED_MODULE_6__.getFormat)(beforeColor); const afterColorFormat = (0,colord__WEBPACK_IMPORTED_MODULE_6__.getFormat)(afterColor); const newColorData = (0,colord__WEBPACK_IMPORTED_MODULE_6__.colord)(newRGB); const bothStopsAreRGB = beforeColorFormat === "rgb" && afterColorFormat === "rgb"; if (bothStopsAreRGB) { return newColorData.toRgbString(); } const bothStopsAreHSL = beforeColorFormat === "hsl" && afterColorFormat === "hsl"; if (bothStopsAreHSL) { return newColorData.toHslString(); } return newColorData.toHex(); } function mixRGBColors(color1, color2, ratio) { ratio = Math.max(0, Math.min(1, ratio)); return { r: Math.round(color1.r + ratio * (color2.r - color1.r)), g: Math.round(color1.g + ratio * (color2.g - color1.g)), b: Math.round(color1.b + ratio * (color2.b - color1.b)) }; } function getNextAvailableOffset(offset, stops) { const hasMaxStops = stops.length === MAX_GRADIENT_STOPS; if (hasMaxStops) { return null; } const isOffsetAvailable = !stops.find((item) => item.offset === offset); if (isOffsetAvailable) { return offset; } const existingOffsets = new Set(stops.map((stop) => stop.offset)); for (let i = 1; i <= stops.length; i++) { const nextOffsetValue = offset + i; const isAfterOffsetAvailable = nextOffsetValue < MAX_GRADIENT_STOPS && !existingOffsets.has(nextOffsetValue); if (isAfterOffsetAvailable) { return nextOffsetValue; } const beforeOffsetValue = offset - i; const isBeforeOffsetAvailable = beforeOffsetValue >= 0 && !existingOffsets.has(beforeOffsetValue); if (isBeforeOffsetAvailable) { return beforeOffsetValue; } } return null; } const StyledSlider = (0,_styles__WEBPACK_IMPORTED_MODULE_3__["default"])(_Slider__WEBPACK_IMPORTED_MODULE_19__["default"], { shouldForwardProp: (prop) => prop !== "railBackground" })(({ theme, railBackground }) => { return { height: 12, padding: theme.spacing(4.25, 0, 0.5), marginBottom: theme.spacing(0.5), "& .MuiSlider-rail": { top: "initial", bottom: 0, opacity: 1, backgroundColor: "initial", backgroundImage: `${railBackground}, url('${TRANSPARENT_PATTERN_IMG_DATA}')`, outline: `1px solid ${theme.palette.divider}` }, "&:not(.MuiSlider-dragging) .MuiSlider-rail": { cursor: "copy" } }; }); const GradientSlider = (0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)( ({ value, selectedIndex = -1, onSelectedChange, onChange, ...props }, ref) => { const { addStop, removeStop, swapStopsColors, updateStopsOffsets } = useGradientUtils(); const shouldBlockNewColorStop = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(false); const currentDraggedThumbIndex = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null); const stops = value.map(({ color, offset }) => ({ offset, color: color || "transparent" })); const offsets = stops.map((item) => item.offset); const shouldAllowDelete = stops.length > MIN_GRADIENT_STOPS; const handleDelete = (index) => { if (!shouldAllowDelete) { return; } const isLast = index === stops.length - 1; const nextActiveColorIndex = isLast ? index - 1 : index; onSelectedChange?.(nextActiveColorIndex); onChange(removeStop(index, stops)); }; const handleNewStop = (offset) => { const { index: newIndex, stops: updatedStops } = addStop(offset, stops); if (newIndex === -1) { return; } onSelectedChange?.(newIndex); onChange(updatedStops); }; return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_DirectionProvider__WEBPACK_IMPORTED_MODULE_20__["default"], { rtl: false }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_styles__WEBPACK_IMPORTED_MODULE_2__.ThemeProvider, null, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( StyledSlider, { ...props, ref, track: false, value: offsets, railBackground: colorsToCssBackground(stops), onChange: (event, updatedOffsets, activeThumb) => { const isThumbJump = event.type === "mousedown"; const isRailDrag = event.type === "mousemove" && currentDraggedThumbIndex.current === null; if (isThumbJump || isRailDrag) { return; } const isKeyboardEvent = event.type === "input"; const activeThumbIndex = isKeyboardEvent ? getChangedValueIndex(offsets, updatedOffsets) : activeThumb; let updatedStops = [...stops]; const isActiveThumbChanged = activeThumbIndex !== selectedIndex; if (isActiveThumbChanged) { updatedStops = swapStopsColors(selectedIndex, activeThumbIndex, updatedStops); onSelectedChange?.(activeThumbIndex); } updatedStops = updateStopsOffsets(updatedOffsets, updatedStops); onChange(updatedStops); }, slotProps: { rail: { onMouseDown: (event) => { if (shouldBlockNewColorStop.current) { return; } const railClickOffset = getElementClickOffset(event, event.target); handleNewStop(railClickOffset); } }, thumb: { stops, selected: selectedIndex, onDelete: shouldAllowDelete ? (thumbIndex) => handleDelete(thumbIndex) : undefined, onThumbMoveStart: (index) => { currentDraggedThumbIndex.current = index; shouldBlockNewColorStop.current = true; onSelectedChange?.(index); }, onThumbMoveEnd: () => { currentDraggedThumbIndex.current = null; shouldBlockNewColorStop.current = false; }, onKeyUp: ({ target, key }) => { const thumbElement = target; const thumbIndex = Number(thumbElement.dataset.index); if (isNaN(thumbIndex)) { return; } if (key === "Backspace") { handleDelete(thumbIndex); } else if (key === "Tab") { onSelectedChange?.(thumbIndex); } } } }, slots: { thumb: Thumb } } ))); } ); function getChangedValueIndex(source, changed) { return source.findIndex((currentValue, index) => currentValue !== changed[index]); } function getElementClickOffset(event, element) { const rect = element.getBoundingClientRect(); const clickOffset = Math.round((event.clientX - rect.left) / rect.width * 100); return clickOffset; } function colorsToCssBackground(colors) { const colorValues = colors.map(({ color, offset }) => `${color} ${offset}%`); return `linear-gradient(to right, ${colorValues.join(", ")})`; } const LinearAngleInput = (0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(({ value, onChange }, ref) => { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( _OutlinedInput__WEBPACK_IMPORTED_MODULE_7__["default"], { ref, type: "number", size: "tiny", endAdornment: "DEG", inputProps: { min: 0, max: 360 }, value, onChange: ({ target }) => { const newAngle = parseInt(target.value) % 360; onChange(newAngle); } } ); }); const StopInput = (0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(({ value, onChange }, ref) => { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( _OutlinedInput__WEBPACK_IMPORTED_MODULE_7__["default"], { ref, type: "number", size: "tiny", endAdornment: "%", inputProps: { min: 0, max: 100 }, value, onChange: ({ target }) => { const inputValue = Number(target.value); const validValue = isNaN(inputValue) ? 0 : inputValue; const newValue = Math.min(100, Math.max(0, validValue)); onChange(newValue); } } ); }); const RadialPositionEntries = [ ["center", "center"], ["center", "left"], ["center", "right"], ["top", "center"], ["top", "left"], ["top", "right"], ["bottom", "center"], ["bottom", "left"], ["bottom", "right"] ]; const defaultLabels$1 = { bottom: "Bottom", center: "Center", left: "Left", right: "Right", top: "Top" }; const RadialPositionsSelect = (0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)((inProps, ref) => { const { value, onChange, labels: inLabels = {} } = inProps; const labels = { ...defaultLabels$1, ...inLabels }; return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( _Select__WEBPACK_IMPORTED_MODULE_10__["default"], { ref, size: "tiny", value: value.join("-"), MenuProps: { disablePortal: true }, onChange: ({ target }) => { const positionKey = target.value; const positionValue = positionKey.split("-"); onChange(positionValue); } }, RadialPositionEntries.map(([y, x]) => { const key = `${y}-${x}`; return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_MenuItem__WEBPACK_IMPORTED_MODULE_11__["default"], { key, value: key }, labels[y] + " " + labels[x]); }) ); }); RadialPositionsSelect.defaultProps = { labels: defaultLabels$1 }; const ArrowsLeftRightIcon = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((props, ref) => { return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_SvgIcon__WEBPACK_IMPORTED_MODULE_18__["default"], { viewBox: "0 0 24 24", ...props, ref }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement("path", { d: "M6.53033 3.46967C6.82322 3.76256 6.82322 4.23744 6.53033 4.53033L4.81066 6.25H21C21.4142 6.25 21.75 6.58579 21.75 7C21.75 7.41421 21.4142 7.75 21 7.75H4.81066L6.53033 9.46967C6.82322 9.76256 6.82322 10.2374 6.53033 10.5303C6.23744 10.8232 5.76256 10.8232 5.46967 10.5303L2.46967 7.53033C2.17678 7.23744 2.17678 6.76256 2.46967 6.46967L5.46967 3.46967C5.76256 3.17678 6.23744 3.17678 6.53033 3.46967Z" }), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement("path", { d: "M17.4697 13.4697C17.7626 13.1768 18.2374 13.1768 18.5303 13.4697L21.5303 16.4697C21.8232 16.7626 21.8232 17.2374 21.5303 17.5303L18.5303 20.5303C18.2374 20.8232 17.7626 20.8232 17.4697 20.5303C17.1768 20.2374 17.1768 19.7626 17.4697 19.4697L19.1893 17.75H3C2.58579 17.75 2.25 17.4142 2.25 17C2.25 16.5858 2.58579 16.25 3 16.25H19.1893L17.4697 14.5303C17.1768 14.2374 17.1768 13.7626 17.4697 13.4697Z" })); }); const { slots: slots$1, classNames: classNames$1 } = (0,_styles__WEBPACK_IMPORTED_MODULE_2__.createSlots)("GradientBox", ["root"]); const Root$1 = (0,_styles__WEBPACK_IMPORTED_MODULE_3__["default"])( "div", slots$1.root )(({ theme }) => ({ padding: theme.spacing(2), width: 276 })); const defaultLabels = { angle: "Angle", color: "Color", flip: "Flip", linear: "Linear", position: "Position", radial: "Radial", stop: "Stop", type: "Type" }; const GradientBox = (0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)((inProps, ref) => { const props = (0,_styles__WEBPACK_IMPORTED_MODULE_4__["default"])({ props: inProps, name: slots$1.root.name }); const { flipStops } = useGradientUtils(); const [activeColorIndex, setActiveColorIndex] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(0); const { slotProps = {}, value = DEFAULT_GRADIENT, onChange, labels: inLabels = {}, ...rootProps } = props; const labels = { ...defaultLabels, ...inLabels }; const { angle = DEFAULT_ANGLE, positions = DEFAULT_POSITIONS, type = "linear", stops = [] } = value; const colors = normalizeStops(stops); const currentActiveColor = colors[activeColorIndex].color; const setStops = (updatedStops) => { const validatedColors = normalizeStops(updatedStops); const updatedValue = { ...value, stops: validatedColors }; onChange(updatedValue); }; return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( Root$1, { ...rootProps, ref, className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__["default"])([[classNames$1.root, rootProps.className]]), ownerState: props }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( GradientSlider, { value: colors, onChange: setStops, selectedIndex: activeColorIndex, onSelectedChange: setActiveColorIndex } ), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Stack__WEBPACK_IMPORTED_MODULE_21__["default"], { direction: "row", alignItems: "center", justifyContent: "space-between" }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Typography__WEBPACK_IMPORTED_MODULE_22__["default"], { variant: "body2", color: "text.primary" }, labels.flip), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( _IconButton__WEBPACK_IMPORTED_MODULE_23__["default"], { size: "tiny", "aria-label": "flip", sx: { ml: "auto" }, onClick: () => setStops(flipStops(colors)) }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(ArrowsLeftRightIcon, { fontSize: "small" }) )), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Divider__WEBPACK_IMPORTED_MODULE_24__["default"], { sx: { my: 2 } }), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Box__WEBPACK_IMPORTED_MODULE_8__["default"], { display: "grid", gridTemplateColumns: "repeat(2, 1fr)", rowGap: 2, columnGap: 1.5 }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Stack__WEBPACK_IMPORTED_MODULE_21__["default"], { gap: 1 }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Typography__WEBPACK_IMPORTED_MODULE_22__["default"], { variant: "caption", color: "text.primary" }, labels.color), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( _unstable__WEBPACK_IMPORTED_MODULE_25__.UnstableColorField, { ...slotProps.colorField, fullWidth: true, size: "tiny", value: currentActiveColor === "transparent" ? "" : currentActiveColor, onChange: (newColor) => { const validatedColor = validateGradientColor(newColor); const updatedValue = { ...value }; updatedValue.stops[activeColorIndex] = { ...updatedValue.stops[activeColorIndex], color: validatedColor }; onChange(updatedValue); } } )), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Stack__WEBPACK_IMPORTED_MODULE_21__["default"], { gap: 1 }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Typography__WEBPACK_IMPORTED_MODULE_22__["default"], { variant: "caption", color: "text.primary" }, labels.stop), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( StopInput, { value: colors[activeColorIndex].offset, onChange: (newValue) => { const updatedValue = { ...value, stops: [...value.stops] }; updatedValue.stops[activeColorIndex] = { ...updatedValue.stops[activeColorIndex], offset: newValue }; onChange(updatedValue); } } )), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Stack__WEBPACK_IMPORTED_MODULE_21__["default"], { gap: 1 }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Typography__WEBPACK_IMPORTED_MODULE_22__["default"], { variant: "caption", color: "text.primary" }, labels.type), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( _Select__WEBPACK_IMPORTED_MODULE_10__["default"], { size: "tiny", value: type, MenuProps: { disablePortal: true }, onChange: ({ target }) => { const newType = target.value; const updatedValue = { ...value, type: newType }; const validatedValue = normalizeGradientDefaultValues(updatedValue); onChange(validatedValue); } }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_MenuItem__WEBPACK_IMPORTED_MODULE_11__["default"], { value: "linear" }, labels.linear), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_MenuItem__WEBPACK_IMPORTED_MODULE_11__["default"], { value: "radial" }, labels.radial) )), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Stack__WEBPACK_IMPORTED_MODULE_21__["default"], { gap: 1 }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Typography__WEBPACK_IMPORTED_MODULE_22__["default"], { variant: "caption", color: "text.primary" }, type === "radial" ? labels.position : labels.angle), type === "radial" ? /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( RadialPositionsSelect, { value: positions, onChange: (positionValue) => onChange({ ...value, positions: positionValue }), labels: { ...labels.center && { center: labels.center }, ...labels.top && { top: labels.top }, ...labels.bottom && { bottom: labels.bottom }, ...labels.left && { left: labels.left }, ...labels.right && { right: labels.right } } } ) : /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( LinearAngleInput, { value: angle, onChange: (newAngle) => onChange({ ...value, angle: newAngle }) } ))) ); }); GradientBox.defaultProps = { labels: defaultLabels }; function normalizeGradientDefaultValues(value) { const { type, angle, positions } = value; const isRadialWithoutPositions = type === "radial" && !positions; if (isRadialWithoutPositions) { return { ...value, positions: DEFAULT_POSITIONS }; } const isLinearWithoutAngle = type === "linear" && !Number.isFinite(angle); if (isLinearWithoutAngle) { return { ...value, angle: DEFAULT_ANGLE }; } return value; } function normalizeStops(stops) { const stopsNeededForMinimum = DEFAULT_STOPS.slice(stops.length); const normalizedStops = [...stops, ...stopsNeededForMinimum]; return normalizedStops.map(({ color, offset }) => ({ offset, color: validateGradientColor(color) })); } function validateGradientColor(color) { return color || "transparent"; } const { slots, classNames } = (0,_styles__WEBPACK_IMPORTED_MODULE_2__.createSlots)("Tag", [ "root", "button", "content", "label", "startIcon", "endIcon", "actions", "startAdornment", "endAdornment" ]); const Root = (0,_styles__WEBPACK_IMPORTED_MODULE_3__["default"])( "div", slots.root )(({ theme, ownerState }) => { const variantStyle = ownerState.variant === "outlined" ? getRootOutlinedVariantStyle(theme, ownerState) : getRootFilledVariantStyle(theme, ownerState); return { display: "inline-flex", alignItems: "center", position: "relative", borderRadius: theme.shape.borderRadius, width: ownerState.fullWidth ? "100%" : undefined, // Show actions on hover or focus including focus on inner elements as long as the tag is not disabled. "&:focus-within, &:hover": { [`& .${classNames.actions}`]: { visibility: ownerState.disabled ? undefined : "visible" } }, // IconButton adjustments. [`& .${classNames.startAdornment}, & .${classNames.endAdornment}, & .${classNames.actions}`]: { "& > .MuiIconButton-root": { padding: theme.spacing(0.25) } }, ...variantStyle }; }); const ClickableSurface = (0,_styles__WEBPACK_IMPORTED_MODULE_3__["default"])( "div", slots.button )(({ ownerState }) => ({ position: "absolute", inset: 0, outline: "none", cursor: ownerState.isClickable && !ownerState.disabled ? "pointer" : undefined })); const Content = (0,_styles__WEBPACK_IMPORTED_MODULE_3__["default"])( "div", slots.content )(({ theme, ownerState }) => ({ display: "flex", alignItems: "center", lineHeight: 1, flexGrow: 1, overflow: "hidden", padding: ownerState.variant === "outlined" ? theme.spacing(0.625, 1) : theme.spacing(0.75, 1), color: ownerState.disabled ? theme.palette.text.disabled : theme.palette.text.primary })); const Label = (0,_styles__WEBPACK_IMPORTED_MODULE_3__["default"])( _Typography__WEBPACK_IMPORTED_MODULE_22__["default"], slots.label )(() => ({ fontSize: "0.625rem", lineHeight: 1, maxWidth: "100%" })); const Actions = (0,_styles__WEBPACK_IMPORTED_MODULE_3__["default"])( "div", slots.actions )(({ theme, ownerState }) => ({ display: "flex", alignItems: "center", paddingRight: theme.spacing(0.5), visibility: ownerState.showActionsOnHover ? "hidden" : undefined, zIndex: 1 })); const StartAdornment = (0,_styles__WEBPACK_IMPORTED_MODULE_3__["default"])( "span", slots.startAdornment )(({ theme }) => ({ display: "flex", alignItems: "center", marginLeft: theme.spacing(1), zIndex: 1 })); const EndAdornment = (0,_styles__WEBPACK_IMPORTED_MODULE_3__["default"])( "span", slots.endAdornment )(({ theme }) => ({ display: "flex", alignItems: "center", marginRight: theme.spacing(1), zIndex: 1 })); const StartIcon = (0,_styles__WEBPACK_IMPORTED_MODULE_3__["default"])( "span", slots.startIcon )(({ theme }) => ({ display: "flex", alignItems: "center", marginRight: theme.spacing(0.5), marginLeft: theme.spacing(-0.25) })); const EndIcon = (0,_styles__WEBPACK_IMPORTED_MODULE_3__["default"])( "span", slots.endIcon )(() => ({ display: "flex", alignItems: "center", marginLeft: "auto" })); const Tag = react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((inProps, ref) => { const props = (0,_styles__WEBPACK_IMPORTED_MODULE_4__["default"])({ props: inProps, name: slots.root.name }); const { slotProps = {}, label, startIcon, endIcon, actions, startAdornment, endAdornment, disabled, showActionsOnHover, fullWidth, variant, onClick, onTouchStart, "aria-label": ariaLabel, "aria-haspopup": ariaHaspopup, ...rootProps } = props; const isClickable = Boolean(onClick) || Boolean(onTouchStart); const ownerState = { disabled, fullWidth, showActionsOnHover, variant, isClickable }; const handleClick = (event) => { if (disabled) { return; } onClick?.(event); }; const handleTouchStart = (event) => { if (disabled) { return; } onTouchStart?.(event); }; const handleKeyDown = (event) => { if (disabled) { return; } if (event.key === "Enter" || event.key === " ") { onClick?.(event); } }; return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( Root, { ...rootProps, ref, className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__["default"])([[classNames.root, rootProps.className]]), ownerState }, isClickable && /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( ClickableSurface, { role: "button", tabIndex: 0, onClick: handleClick, onTouchStart: handleTouchStart, onKeyDown: handleKeyDown, "aria-label": ariaLabel, "aria-haspopup": ariaHaspopup, "aria-disabled": disabled || undefined, ...slotProps.startAdornment, className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__["default"])([classNames.button, slotProps.button?.className]), ownerState } ), startAdornment && /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( StartAdornment, { ...slotProps.startAdornment, className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__["default"])([classNames.startAdornment, slotProps.startAdornment?.className]) }, startAdornment ), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( Content, { ...slotProps.content, className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__["default"])([classNames.content, slotProps.content?.className]), ownerState }, startIcon && /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( StartIcon, { ...slotProps.startIcon, className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__["default"])([classNames.startIcon, slotProps.startIcon?.className]) }, startIcon ), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( Label, { noWrap: true, variant: "caption", ...slotProps.label, className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__["default"])([classNames.label, slotProps.label?.className]) }, label ), endIcon && /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( EndIcon, { ...slotProps.endIcon, className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__["default"])([classNames.endIcon, slotProps.endIcon?.className]) }, endIcon ) ), actions && /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( Actions, { ...slotProps.actions, className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__["default"])([classNames.actions, slotProps.actions?.className]), ownerState }, actions ), endAdornment && /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0___default().createElement( EndAdornment, { ...slotProps.endAdornment, className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__["default"])([classNames.endAdornment, slotProps.endAdornment?.className]) }, endAdornment ) ); }); Tag.defaultProps = { fullWidth: false, showActionsOnHover: false, variant: "filled" }; function getRootFilledVariantStyle(theme, ownerState) { const { mode } = theme.palette; const backgroundColor = { light: "rgba(0, 0, 0, 0.06)", dark: "rgba(255, 255, 255, 0.09)" }[mode]; if (!ownerState.isClickable) { return { backgroundColor }; } const hoverBackgroundColor = { light: "rgba(0, 0, 0, 0.09)", dark: "rgba(255, 255, 255, 0.13)" }[mode]; const disabledBackgroundColor = { light: "rgba(0, 0, 0, 0.12)", dark: "rgba(255, 255, 255, 0.12)" }[mode]; return { backgroundColor: ownerState.disabled ? disabledBackgroundColor : backgroundColor, [`&:focus, &:hover, &:has(.${classNames.button}:focus)`]: { backgroundColor: ownerState.disabled ? disabledBackgroundColor : hoverBackgroundColor, // TODO: replace secondary with a proper token. outline: `1px solid ${theme.palette.secondary.main}` } }; } function getRootOutlinedVariantStyle(theme, ownerState) { const { mode } = theme.palette; const borderColor = { light: "rgba(0, 0, 0, 0.23)", dark: "rgba(255, 255, 255, 0.23)" }[mode]; if (!ownerState.isClickable) { return { border: `1px solid ${borderColor}` }; } return { border: `1px solid ${ownerState.disabled ? theme.palette.action.disabled : borderColor}`, [`&:focus, &:hover, &:has(.${classNames.button}:focus)`]: { borderColor: ownerState.disabled ? theme.palette.action.disabled : theme.palette.text.primary } }; } const useColorState = (value) => { const [color, setColor] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(() => isValidColor(value) ? value : ""); const lastValidColor = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(color); const getPickerProps = () => ({ value: color, onChange: setColor }); const getInputProps = () => ({ value: color, onChange: (event) => setColor(event.target.value), onFocus: (event) => { lastValidColor.current = event.target.value; }, onBlur: (event) => { const inputValue = event.target.value; if (isValidColor(inputValue)) { lastValidColor.current = inputValue; } else { setColor(lastValidColor.current); } } }); return { color, setColor, getPickerProps, getInputProps }; }; function isValidColor(value) { if (typeof value !== "string") { return false; } if (value === "") { return true; } return (0,colord__WEBPACK_IMPORTED_MODULE_6__.colord)(value).isValid(); } var index = {}; //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@elementor/ui/usePopupState/index.esm.js": /*!***************************************************************!*\ !*** ./node_modules/@elementor/ui/usePopupState/index.esm.js ***! \***************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ anchorRef: function() { return /* reexport safe */ material_ui_popup_state_hooks__WEBPACK_IMPORTED_MODULE_0__.anchorRef; }, /* harmony export */ bindContextMenu: function() { return /* reexport safe */ material_ui_popup_state_hooks__WEBPACK_IMPORTED_MODULE_0__.bindContextMenu; }, /* harmony export */ bindDialog: function() { return /* reexport safe */ material_ui_popup_state_hooks__WEBPACK_IMPORTED_MODULE_0__.bindDialog; }, /* harmony export */ bindDoubleClick: function() { return /* reexport safe */ material_ui_popup_state_hooks__WEBPACK_IMPORTED_MODULE_0__.bindDoubleClick; }, /* harmony export */ bindFocus: function() { return /* reexport safe */ material_ui_popup_state_hooks__WEBPACK_IMPORTED_MODULE_0__.bindFocus; }, /* harmony export */ bindHover: function() { return /* reexport safe */ material_ui_popup_state_hooks__WEBPACK_IMPORTED_MODULE_0__.bindHover; }, /* harmony export */ bindMenu: function() { return /* reexport safe */ material_ui_popup_state_hooks__WEBPACK_IMPORTED_MODULE_0__.bindMenu; }, /* harmony export */ bindPopover: function() { return /* reexport safe */ material_ui_popup_state_hooks__WEBPACK_IMPORTED_MODULE_0__.bindPopover; }, /* harmony export */ bindPopper: function() { return /* reexport safe */ material_ui_popup_state_hooks__WEBPACK_IMPORTED_MODULE_0__.bindPopper; }, /* harmony export */ bindToggle: function() { return /* reexport safe */ material_ui_popup_state_hooks__WEBPACK_IMPORTED_MODULE_0__.bindToggle; }, /* harmony export */ bindTrigger: function() { return /* reexport safe */ material_ui_popup_state_hooks__WEBPACK_IMPORTED_MODULE_0__.bindTrigger; }, /* harmony export */ "default": function() { return /* binding */ usePopupState; }, /* harmony export */ initCoreState: function() { return /* reexport safe */ material_ui_popup_state_hooks__WEBPACK_IMPORTED_MODULE_0__.initCoreState; }, /* harmony export */ usePopupState: function() { return /* binding */ usePopupState; } /* harmony export */ }); /* harmony import */ var material_ui_popup_state_hooks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! material-ui-popup-state/hooks */ "./node_modules/material-ui-popup-state/hooks.mjs"); let uniqueId = 0; const usePopupState = ({ popupId, ...rest }) => { const id = popupId || `eui-popup-${uniqueId++}`; return (0,material_ui_popup_state_hooks__WEBPACK_IMPORTED_MODULE_0__.usePopupState)({ ...rest, popupId: id }); }; //# sourceMappingURL=index.esm.js.map /***/ }), /***/ "./node_modules/@emotion/cache/dist/emotion-cache.browser.development.esm.js": /*!***********************************************************************************!*\ !*** ./node_modules/@emotion/cache/dist/emotion-cache.browser.development.esm.js ***! \***********************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ createCache; } /* harmony export */ }); /* harmony import */ var _emotion_sheet__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/sheet */ "./node_modules/@emotion/sheet/dist/emotion-sheet.development.esm.js"); /* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! stylis */ "./node_modules/@emotion/cache/node_modules/stylis/src/Tokenizer.js"); /* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! stylis */ "./node_modules/@emotion/cache/node_modules/stylis/src/Utility.js"); /* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! stylis */ "./node_modules/@emotion/cache/node_modules/stylis/src/Enum.js"); /* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! stylis */ "./node_modules/@emotion/cache/node_modules/stylis/src/Serializer.js"); /* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! stylis */ "./node_modules/@emotion/cache/node_modules/stylis/src/Middleware.js"); /* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! stylis */ "./node_modules/@emotion/cache/node_modules/stylis/src/Parser.js"); /* harmony import */ var _emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @emotion/weak-memoize */ "./node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js"); /* harmony import */ var _emotion_memoize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @emotion/memoize */ "./node_modules/@emotion/memoize/dist/emotion-memoize.esm.js"); var identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) { var previous = 0; var character = 0; while (true) { previous = character; character = (0,stylis__WEBPACK_IMPORTED_MODULE_3__.peek)(); // &\f if (previous === 38 && character === 12) { points[index] = 1; } if ((0,stylis__WEBPACK_IMPORTED_MODULE_3__.token)(character)) { break; } (0,stylis__WEBPACK_IMPORTED_MODULE_3__.next)(); } return (0,stylis__WEBPACK_IMPORTED_MODULE_3__.slice)(begin, stylis__WEBPACK_IMPORTED_MODULE_3__.position); }; var toRules = function toRules(parsed, points) { // pretend we've started with a comma var index = -1; var character = 44; do { switch ((0,stylis__WEBPACK_IMPORTED_MODULE_3__.token)(character)) { case 0: // &\f if (character === 38 && (0,stylis__WEBPACK_IMPORTED_MODULE_3__.peek)() === 12) { // this is not 100% correct, we don't account for literal sequences here - like for example quoted strings // stylis inserts \f after & to know when & where it should replace this sequence with the context selector // and when it should just concatenate the outer and inner selectors // it's very unlikely for this sequence to actually appear in a different context, so we just leverage this fact here points[index] = 1; } parsed[index] += identifierWithPointTracking(stylis__WEBPACK_IMPORTED_MODULE_3__.position - 1, points, index); break; case 2: parsed[index] += (0,stylis__WEBPACK_IMPORTED_MODULE_3__.delimit)(character); break; case 4: // comma if (character === 44) { // colon parsed[++index] = (0,stylis__WEBPACK_IMPORTED_MODULE_3__.peek)() === 58 ? '&\f' : ''; points[index] = parsed[index].length; break; } // fallthrough default: parsed[index] += (0,stylis__WEBPACK_IMPORTED_MODULE_4__.from)(character); } } while (character = (0,stylis__WEBPACK_IMPORTED_MODULE_3__.next)()); return parsed; }; var getRules = function getRules(value, points) { return (0,stylis__WEBPACK_IMPORTED_MODULE_3__.dealloc)(toRules((0,stylis__WEBPACK_IMPORTED_MODULE_3__.alloc)(value), points)); }; // WeakSet would be more appropriate, but only WeakMap is supported in IE11 var fixedElements = /* #__PURE__ */new WeakMap(); var compat = function compat(element) { if (element.type !== 'rule' || !element.parent || // positive .length indicates that this rule contains pseudo // negative .length indicates that this rule has been already prefixed element.length < 1) { return; } var value = element.value, parent = element.parent; var isImplicitRule = element.column === parent.column && element.line === parent.line; while (parent.type !== 'rule') { parent = parent.parent; if (!parent) return; } // short-circuit for the simplest case if (element.props.length === 1 && value.charCodeAt(0) !== 58 /* colon */ && !fixedElements.get(parent)) { return; } // if this is an implicitly inserted rule (the one eagerly inserted at the each new nested level) // then the props has already been manipulated beforehand as they that array is shared between it and its "rule parent" if (isImplicitRule) { return; } fixedElements.set(element, true); var points = []; var rules = getRules(value, points); var parentRules = parent.props; for (var i = 0, k = 0; i < rules.length; i++) { for (var j = 0; j < parentRules.length; j++, k++) { element.props[k] = points[i] ? rules[i].replace(/&\f/g, parentRules[j]) : parentRules[j] + " " + rules[i]; } } }; var removeLabel = function removeLabel(element) { if (element.type === 'decl') { var value = element.value; if ( // charcode for l value.charCodeAt(0) === 108 && // charcode for b value.charCodeAt(2) === 98) { // this ignores label element["return"] = ''; element.value = ''; } } }; var ignoreFlag = 'emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason'; var isIgnoringComment = function isIgnoringComment(element) { return element.type === 'comm' && element.children.indexOf(ignoreFlag) > -1; }; var createUnsafeSelectorsAlarm = function createUnsafeSelectorsAlarm(cache) { return function (element, index, children) { if (element.type !== 'rule' || cache.compat) return; var unsafePseudoClasses = element.value.match(/(:first|:nth|:nth-last)-child/g); if (unsafePseudoClasses) { var isNested = !!element.parent; // in nested rules comments become children of the "auto-inserted" rule and that's always the `element.parent` // // considering this input: // .a { // .b /* comm */ {} // color: hotpink; // } // we get output corresponding to this: // .a { // & { // /* comm */ // color: hotpink; // } // .b {} // } var commentContainer = isNested ? element.parent.children : // global rule at the root level children; for (var i = commentContainer.length - 1; i >= 0; i--) { var node = commentContainer[i]; if (node.line < element.line) { break; } // it is quite weird but comments are *usually* put at `column: element.column - 1` // so we seek *from the end* for the node that is earlier than the rule's `element` and check that // this will also match inputs like this: // .a { // /* comm */ // .b {} // } // // but that is fine // // it would be the easiest to change the placement of the comment to be the first child of the rule: // .a { // .b { /* comm */ } // } // with such inputs we wouldn't have to search for the comment at all // TODO: consider changing this comment placement in the next major version if (node.column < element.column) { if (isIgnoringComment(node)) { return; } break; } } unsafePseudoClasses.forEach(function (unsafePseudoClass) { console.error("The pseudo class \"" + unsafePseudoClass + "\" is potentially unsafe when doing server-side rendering. Try changing it to \"" + unsafePseudoClass.split('-child')[0] + "-of-type\"."); }); } }; }; var isImportRule = function isImportRule(element) { return element.type.charCodeAt(1) === 105 && element.type.charCodeAt(0) === 64; }; var isPrependedWithRegularRules = function isPrependedWithRegularRules(index, children) { for (var i = index - 1; i >= 0; i--) { if (!isImportRule(children[i])) { return true; } } return false; }; // use this to remove incorrect elements from further processing // so they don't get handed to the `sheet` (or anything else) // as that could potentially lead to additional logs which in turn could be overhelming to the user var nullifyElement = function nullifyElement(element) { element.type = ''; element.value = ''; element["return"] = ''; element.children = ''; element.props = ''; }; var incorrectImportAlarm = function incorrectImportAlarm(element, index, children) { if (!isImportRule(element)) { return; } if (element.parent) { console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."); nullifyElement(element); } else if (isPrependedWithRegularRules(index, children)) { console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."); nullifyElement(element); } }; /* eslint-disable no-fallthrough */ function prefix(value, length) { switch ((0,stylis__WEBPACK_IMPORTED_MODULE_4__.hash)(value, length)) { // color-adjust case 5103: return stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + 'print-' + value + value; // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function) case 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921: // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break case 5572: case 6356: case 5844: case 3191: case 6645: case 3005: // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite, case 6391: case 5879: case 5623: case 6135: case 4599: case 4855: // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width) case 4215: case 6389: case 5109: case 5365: case 5621: case 3829: return stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + value + value; // appearance, user-select, transform, hyphens, text-size-adjust case 5349: case 4246: case 4810: case 6968: case 2756: return stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_5__.MOZ + value + stylis__WEBPACK_IMPORTED_MODULE_5__.MS + value + value; // flex, flex-direction case 6828: case 4268: return stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_5__.MS + value + value; // order case 6165: return stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_5__.MS + 'flex-' + value + value; // align-items case 5187: return stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + value + (0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)(value, /(\w+).+(:[^]+)/, stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + 'box-$1$2' + stylis__WEBPACK_IMPORTED_MODULE_5__.MS + 'flex-$1$2') + value; // align-self case 5443: return stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_5__.MS + 'flex-item-' + (0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)(value, /flex-|-self/, '') + value; // align-content case 4675: return stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_5__.MS + 'flex-line-pack' + (0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)(value, /align-content|flex-|-self/, '') + value; // flex-shrink case 5548: return stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_5__.MS + (0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)(value, 'shrink', 'negative') + value; // flex-basis case 5292: return stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_5__.MS + (0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)(value, 'basis', 'preferred-size') + value; // flex-grow case 6060: return stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + 'box-' + (0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)(value, '-grow', '') + stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_5__.MS + (0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)(value, 'grow', 'positive') + value; // transition case 4554: return stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + (0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)(value, /([^-])(transform)/g, '$1' + stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + '$2') + value; // cursor case 6187: return (0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)((0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)((0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)(value, /(zoom-|grab)/, stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + '$1'), /(image-set)/, stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + '$1'), value, '') + value; // background, background-image case 5495: case 3959: return (0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)(value, /(image-set\([^]*)/, stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + '$1' + '$`$1'); // justify-content case 4968: return (0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)((0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)(value, /(.+:)(flex-)?(.*)/, stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + 'box-pack:$3' + stylis__WEBPACK_IMPORTED_MODULE_5__.MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + value + value; // (margin|padding)-inline-(start|end) case 4095: case 3583: case 4068: case 2532: return (0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)(value, /(.+)-inline(.+)/, stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + '$1$2') + value; // (min|max)?(width|height|inline-size|block-size) case 8116: case 7059: case 5753: case 5535: case 5445: case 5701: case 4933: case 4677: case 5533: case 5789: case 5021: case 4765: // stretch, max-content, min-content, fill-available if ((0,stylis__WEBPACK_IMPORTED_MODULE_4__.strlen)(value) - 1 - length > 6) switch ((0,stylis__WEBPACK_IMPORTED_MODULE_4__.charat)(value, length + 1)) { // (m)ax-content, (m)in-content case 109: // - if ((0,stylis__WEBPACK_IMPORTED_MODULE_4__.charat)(value, length + 4) !== 45) break; // (f)ill-available, (f)it-content case 102: return (0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)(value, /(.+:)(.+)-([^]+)/, '$1' + stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + '$2-$3' + '$1' + stylis__WEBPACK_IMPORTED_MODULE_5__.MOZ + ((0,stylis__WEBPACK_IMPORTED_MODULE_4__.charat)(value, length + 3) == 108 ? '$3' : '$2-$3')) + value; // (s)tretch case 115: return ~(0,stylis__WEBPACK_IMPORTED_MODULE_4__.indexof)(value, 'stretch') ? prefix((0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)(value, 'stretch', 'fill-available'), length) + value : value; } break; // position: sticky case 4949: // (s)ticky? if ((0,stylis__WEBPACK_IMPORTED_MODULE_4__.charat)(value, length + 1) !== 115) break; // display: (flex|inline-flex) case 6444: switch ((0,stylis__WEBPACK_IMPORTED_MODULE_4__.charat)(value, (0,stylis__WEBPACK_IMPORTED_MODULE_4__.strlen)(value) - 3 - (~(0,stylis__WEBPACK_IMPORTED_MODULE_4__.indexof)(value, '!important') && 10))) { // stic(k)y case 107: return (0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)(value, ':', ':' + stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT) + value; // (inline-)?fl(e)x case 101: return (0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + ((0,stylis__WEBPACK_IMPORTED_MODULE_4__.charat)(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + '$2$3' + '$1' + stylis__WEBPACK_IMPORTED_MODULE_5__.MS + '$2box$3') + value; } break; // writing-mode case 5936: switch ((0,stylis__WEBPACK_IMPORTED_MODULE_4__.charat)(value, length + 11)) { // vertical-l(r) case 114: return stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_5__.MS + (0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)(value, /[svh]\w+-[tblr]{2}/, 'tb') + value; // vertical-r(l) case 108: return stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_5__.MS + (0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value; // horizontal(-)tb case 45: return stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_5__.MS + (0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)(value, /[svh]\w+-[tblr]{2}/, 'lr') + value; } return stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_5__.MS + value + value; } return value; } var prefixer = function prefixer(element, index, children, callback) { if (element.length > -1) if (!element["return"]) switch (element.type) { case stylis__WEBPACK_IMPORTED_MODULE_5__.DECLARATION: element["return"] = prefix(element.value, element.length); break; case stylis__WEBPACK_IMPORTED_MODULE_5__.KEYFRAMES: return (0,stylis__WEBPACK_IMPORTED_MODULE_6__.serialize)([(0,stylis__WEBPACK_IMPORTED_MODULE_3__.copy)(element, { value: (0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)(element.value, '@', '@' + stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT) })], callback); case stylis__WEBPACK_IMPORTED_MODULE_5__.RULESET: if (element.length) return (0,stylis__WEBPACK_IMPORTED_MODULE_4__.combine)(element.props, function (value) { switch ((0,stylis__WEBPACK_IMPORTED_MODULE_4__.match)(value, /(::plac\w+|:read-\w+)/)) { // :read-(only|write) case ':read-only': case ':read-write': return (0,stylis__WEBPACK_IMPORTED_MODULE_6__.serialize)([(0,stylis__WEBPACK_IMPORTED_MODULE_3__.copy)(element, { props: [(0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)(value, /:(read-\w+)/, ':' + stylis__WEBPACK_IMPORTED_MODULE_5__.MOZ + '$1')] })], callback); // :placeholder case '::placeholder': return (0,stylis__WEBPACK_IMPORTED_MODULE_6__.serialize)([(0,stylis__WEBPACK_IMPORTED_MODULE_3__.copy)(element, { props: [(0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)(value, /:(plac\w+)/, ':' + stylis__WEBPACK_IMPORTED_MODULE_5__.WEBKIT + 'input-$1')] }), (0,stylis__WEBPACK_IMPORTED_MODULE_3__.copy)(element, { props: [(0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)(value, /:(plac\w+)/, ':' + stylis__WEBPACK_IMPORTED_MODULE_5__.MOZ + '$1')] }), (0,stylis__WEBPACK_IMPORTED_MODULE_3__.copy)(element, { props: [(0,stylis__WEBPACK_IMPORTED_MODULE_4__.replace)(value, /:(plac\w+)/, stylis__WEBPACK_IMPORTED_MODULE_5__.MS + 'input-$1')] })], callback); } return ''; }); } }; var defaultStylisPlugins = [prefixer]; var createCache = function /*: EmotionCache */ createCache(options /*: Options */ ) { var key = options.key; if (!key) { throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\n" + "If multiple caches share the same key they might \"fight\" for each other's style elements."); } if (key === 'css') { var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])"); // get SSRed styles out of the way of React's hydration // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be) // note this very very intentionally targets all style elements regardless of the key to ensure // that creating a cache works inside of render of a React component Array.prototype.forEach.call(ssrStyles, function (node /*: HTMLStyleElement */ ) { // we want to only move elements which have a space in the data-emotion attribute value // because that indicates that it is an Emotion 11 server-side rendered style elements // while we will already ignore Emotion 11 client-side inserted styles because of the :not([data-s]) part in the selector // Emotion 10 client-side inserted styles did not have data-s (but importantly did not have a space in their data-emotion attributes) // so checking for the space ensures that loading Emotion 11 after Emotion 10 has inserted some styles // will not result in the Emotion 10 styles being destroyed var dataEmotionAttribute = node.getAttribute('data-emotion'); if (dataEmotionAttribute.indexOf(' ') === -1) { return; } document.head.appendChild(node); node.setAttribute('data-s', ''); }); } var stylisPlugins = options.stylisPlugins || defaultStylisPlugins; { if (/[^a-z-]/.test(key)) { throw new Error("Emotion key must only contain lower case alphabetical characters and - but \"" + key + "\" was passed"); } } var inserted = {}; var container; /* : Node */ var nodesToHydrate = []; { container = options.container || document.head; Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which // means that the style elements we're looking at are only Emotion 11 server-rendered style elements document.querySelectorAll("style[data-emotion^=\"" + key + " \"]"), function (node /*: HTMLStyleElement */ ) { var attrib = node.getAttribute("data-emotion").split(' '); for (var i = 1; i < attrib.length; i++) { inserted[attrib[i]] = true; } nodesToHydrate.push(node); }); } var _insert; /*: ( selector: string, serialized: SerializedStyles, sheet: StyleSheet, shouldCache: boolean ) => string | void */ var omnipresentPlugins = [compat, removeLabel]; { omnipresentPlugins.push(createUnsafeSelectorsAlarm({ get compat() { return cache.compat; } }), incorrectImportAlarm); } { var currentSheet; var finalizingPlugins = [stylis__WEBPACK_IMPORTED_MODULE_6__.stringify, function (element) { if (!element.root) { if (element["return"]) { currentSheet.insert(element["return"]); } else if (element.value && element.type !== stylis__WEBPACK_IMPORTED_MODULE_5__.COMMENT) { // insert empty rule in non-production environments // so @emotion/jest can grab `key` from the (JS)DOM for caches without any rules inserted yet currentSheet.insert(element.value + "{}"); } } } ]; var serializer = (0,stylis__WEBPACK_IMPORTED_MODULE_7__.middleware)(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins)); var stylis = function stylis(styles) { return (0,stylis__WEBPACK_IMPORTED_MODULE_6__.serialize)((0,stylis__WEBPACK_IMPORTED_MODULE_8__.compile)(styles), serializer); }; _insert = function /*: void */ insert(selector /*: string */ , serialized /*: SerializedStyles */ , sheet /*: StyleSheet */ , shouldCache /*: boolean */ ) { currentSheet = sheet; if (serialized.map !== undefined) { currentSheet = { insert: function insert(rule /*: string */ ) { sheet.insert(rule + serialized.map); } }; } stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles); if (shouldCache) { cache.inserted[serialized.name] = true; } }; } var cache /*: EmotionCache */ = { key: key, sheet: new _emotion_sheet__WEBPACK_IMPORTED_MODULE_0__.StyleSheet({ key: key, container: container, nonce: options.nonce, speedy: options.speedy, prepend: options.prepend, insertionPoint: options.insertionPoint }), nonce: options.nonce, inserted: inserted, registered: {}, insert: _insert }; cache.sheet.hydrate(nodesToHydrate); return cache; }; /***/ }), /***/ "./node_modules/@emotion/hash/dist/emotion-hash.esm.js": /*!*************************************************************!*\ !*** ./node_modules/@emotion/hash/dist/emotion-hash.esm.js ***! \*************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ murmur2; } /* harmony export */ }); /* eslint-disable */ // Inspired by https://github.com/garycourt/murmurhash-js // Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86 function murmur2(str) { // 'm' and 'r' are mixing constants generated offline. // They're not really 'magic', they just happen to work well. // const m = 0x5bd1e995; // const r = 24; // Initialize the hash var h = 0; // Mix 4 bytes at a time into the hash var k, i = 0, len = str.length; for (; len >= 4; ++i, len -= 4) { k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24; k = /* Math.imul(k, m): */ (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16); k ^= /* k >>> r: */ k >>> 24; h = /* Math.imul(k, m): */ (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^ /* Math.imul(h, m): */ (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16); } // Handle the last few bytes of the input array switch (len) { case 3: h ^= (str.charCodeAt(i + 2) & 0xff) << 16; case 2: h ^= (str.charCodeAt(i + 1) & 0xff) << 8; case 1: h ^= str.charCodeAt(i) & 0xff; h = /* Math.imul(h, m): */ (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16); } // Do a few final mixes of the hash to ensure the last few // bytes are well-incorporated. h ^= h >>> 13; h = /* Math.imul(h, m): */ (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16); return ((h ^ h >>> 15) >>> 0).toString(36); } /***/ }), /***/ "./node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js": /*!*******************************************************************************!*\ !*** ./node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js ***! \*******************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ isPropValid; } /* harmony export */ }); /* harmony import */ var _emotion_memoize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/memoize */ "./node_modules/@emotion/memoize/dist/emotion-memoize.esm.js"); // eslint-disable-next-line no-undef var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23 var isPropValid = /* #__PURE__ */(0,_emotion_memoize__WEBPACK_IMPORTED_MODULE_0__["default"])(function (prop) { return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111 /* o */ && prop.charCodeAt(1) === 110 /* n */ && prop.charCodeAt(2) < 91; } /* Z+1 */ ); /***/ }), /***/ "./node_modules/@emotion/memoize/dist/emotion-memoize.esm.js": /*!*******************************************************************!*\ !*** ./node_modules/@emotion/memoize/dist/emotion-memoize.esm.js ***! \*******************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ memoize; } /* harmony export */ }); function memoize(fn) { var cache = Object.create(null); return function (arg) { if (cache[arg] === undefined) cache[arg] = fn(arg); return cache[arg]; }; } /***/ }), /***/ "./node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.development.esm.js": /*!*****************************************************************************************************************!*\ !*** ./node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.development.esm.js ***! \*****************************************************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ hoistNonReactStatics; } /* harmony export */ }); /* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! hoist-non-react-statics */ "./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"); /* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_0__); // this file isolates this package that is not tree-shakeable // and if this module doesn't actually contain any logic of its own // then Rollup just use 'hoist-non-react-statics' directly in other chunks var hoistNonReactStatics = (function (targetComponent, sourceComponent) { return hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_0___default()(targetComponent, sourceComponent); }); /***/ }), /***/ "./node_modules/@emotion/react/dist/emotion-element-7a1343fa.browser.development.esm.js": /*!**********************************************************************************************!*\ !*** ./node_modules/@emotion/react/dist/emotion-element-7a1343fa.browser.development.esm.js ***! \**********************************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ C: function() { return /* binding */ CacheProvider; }, /* harmony export */ E: function() { return /* binding */ Emotion$1; }, /* harmony export */ T: function() { return /* binding */ ThemeContext; }, /* harmony export */ _: function() { return /* binding */ __unsafe_useEmotionCache; }, /* harmony export */ a: function() { return /* binding */ ThemeProvider; }, /* harmony export */ b: function() { return /* binding */ withTheme; }, /* harmony export */ c: function() { return /* binding */ createEmotionProps; }, /* harmony export */ h: function() { return /* binding */ hasOwn; }, /* harmony export */ u: function() { return /* binding */ useTheme; }, /* harmony export */ w: function() { return /* binding */ withEmotionCache; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _emotion_cache__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @emotion/cache */ "./node_modules/@emotion/cache/dist/emotion-cache.browser.development.esm.js"); /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js"); /* harmony import */ var _emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @emotion/weak-memoize */ "./node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js"); /* harmony import */ var _isolated_hnrs_dist_emotion_react_isolated_hnrs_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.development.esm.js */ "./node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.development.esm.js"); /* harmony import */ var _emotion_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @emotion/utils */ "./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js"); /* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @emotion/serialize */ "./node_modules/@emotion/serialize/dist/emotion-serialize.development.esm.js"); /* harmony import */ var _emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @emotion/use-insertion-effect-with-fallbacks */ "./node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js"); /* import { type EmotionCache } from '@emotion/utils' */ var EmotionCacheContext /*: React.Context */ = /* #__PURE__ */react__WEBPACK_IMPORTED_MODULE_0__.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case // because this module is primarily intended for the browser and node // but it's also required in react native and similar environments sometimes // and we could have a special build just for that // but this is much easier and the native packages // might use a different theme context in the future anyway typeof HTMLElement !== 'undefined' ? /* #__PURE__ */(0,_emotion_cache__WEBPACK_IMPORTED_MODULE_1__["default"])({ key: 'css' }) : null); { EmotionCacheContext.displayName = 'EmotionCacheContext'; } var CacheProvider = EmotionCacheContext.Provider; var __unsafe_useEmotionCache = function useEmotionCache() /*: EmotionCache | null*/ { return (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(EmotionCacheContext); }; var withEmotionCache = function withEmotionCache /* > */ (func /*: (props: Props, cache: EmotionCache, ref: Ref) => React.Node */ ) /*: React.AbstractComponent */ { return /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(function (props /*: Props */ , ref /*: Ref */ ) { // the cache will never be null in the browser var cache = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(EmotionCacheContext); return func(props, cache, ref); }); }; var ThemeContext = /* #__PURE__ */react__WEBPACK_IMPORTED_MODULE_0__.createContext({}); { ThemeContext.displayName = 'EmotionThemeContext'; } var useTheme = function useTheme() { return react__WEBPACK_IMPORTED_MODULE_0__.useContext(ThemeContext); }; var getTheme = function getTheme(outerTheme /*: Object */ , theme /*: Object | (Object => Object) */ ) { if (typeof theme === 'function') { var mergedTheme = theme(outerTheme); if ((mergedTheme == null || typeof mergedTheme !== 'object' || Array.isArray(mergedTheme))) { throw new Error('[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!'); } return mergedTheme; } if ((theme == null || typeof theme !== 'object' || Array.isArray(theme))) { throw new Error('[ThemeProvider] Please make your theme prop a plain object'); } return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, outerTheme, theme); }; var createCacheWithTheme = /* #__PURE__ */(0,_emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_3__["default"])(function (outerTheme) { return (0,_emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_3__["default"])(function (theme) { return getTheme(outerTheme, theme); }); }); /* type ThemeProviderProps = { theme: Object | (Object => Object), children: React.Node } */ var ThemeProvider = function ThemeProvider(props /*: ThemeProviderProps */ ) { var theme = react__WEBPACK_IMPORTED_MODULE_0__.useContext(ThemeContext); if (props.theme !== theme) { theme = createCacheWithTheme(theme)(props.theme); } return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(ThemeContext.Provider, { value: theme }, props.children); }; function withTheme /* */ (Component /*: React.AbstractComponent */ ) /*: React.AbstractComponent<$Diff> */ { var componentName = Component.displayName || Component.name || 'Component'; var render = function render(props, ref) { var theme = react__WEBPACK_IMPORTED_MODULE_0__.useContext(ThemeContext); return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Component, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({ theme: theme, ref: ref }, props)); }; var WithTheme = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(render); WithTheme.displayName = "WithTheme(" + componentName + ")"; return (0,_isolated_hnrs_dist_emotion_react_isolated_hnrs_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_7__["default"])(WithTheme, Component); } var hasOwn = {}.hasOwnProperty; var getLastPart = function /* : string */ getLastPart(functionName /* : string */ ) { // The match may be something like 'Object.createEmotionProps' or // 'Loader.prototype.render' var parts = functionName.split('.'); return parts[parts.length - 1]; }; var getFunctionNameFromStackTraceLine = function /*: ?string*/ getFunctionNameFromStackTraceLine(line /*: string*/ ) { // V8 var match = /^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(line); if (match) return getLastPart(match[1]); // Safari / Firefox match = /^([A-Za-z0-9$.]+)@/.exec(line); if (match) return getLastPart(match[1]); return undefined; }; var internalReactFunctionNames = /* #__PURE__ */new Set(['renderWithHooks', 'processChild', 'finishClassComponent', 'renderToString']); // These identifiers come from error stacks, so they have to be valid JS // identifiers, thus we only need to replace what is a valid character for JS, // but not for CSS. var sanitizeIdentifier = function sanitizeIdentifier(identifier) { return identifier.replace(/\$/g, '-'); }; var getLabelFromStackTrace = function getLabelFromStackTrace(stackTrace) { if (!stackTrace) return undefined; var lines = stackTrace.split('\n'); for (var i = 0; i < lines.length; i++) { var functionName = getFunctionNameFromStackTraceLine(lines[i]); // The first line of V8 stack traces is just "Error" if (!functionName) continue; // If we reach one of these, we have gone too far and should quit if (internalReactFunctionNames.has(functionName)) break; // The component name is the first function in the stack that starts with an // uppercase letter if (/^[A-Z]/.test(functionName)) return sanitizeIdentifier(functionName); } return undefined; }; var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__'; var labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__'; var createEmotionProps = function createEmotionProps(type /*: React.ElementType */ , props /*: Object */ ) { if (typeof props.css === 'string' && // check if there is a css declaration props.css.indexOf(':') !== -1) { throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`" + props.css + "`"); } var newProps /*: any */ = {}; for (var key in props) { if (hasOwn.call(props, key)) { newProps[key] = props[key]; } } newProps[typePropName] = type; // Runtime labeling is an opt-in feature because: // - It causes hydration warnings when using Safari and SSR // - It can degrade performance if there are a huge number of elements // // Even if the flag is set, we still don't compute the label if it has already // been determined by the Babel plugin. if (typeof globalThis !== 'undefined' && !!globalThis.EMOTION_RUNTIME_AUTO_LABEL && !!props.css && (typeof props.css !== 'object' || typeof props.css.name !== 'string' || props.css.name.indexOf('-') === -1)) { var label = getLabelFromStackTrace(new Error().stack); if (label) newProps[labelPropName] = label; } return newProps; }; var Insertion = function Insertion(_ref) { var cache = _ref.cache, serialized = _ref.serialized, isStringTag = _ref.isStringTag; (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_4__.registerStyles)(cache, serialized, isStringTag); (0,_emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_6__.useInsertionEffectAlwaysWithSyncFallback)(function () { return (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_4__.insertStyles)(cache, serialized, isStringTag); }); return null; }; var Emotion = /* #__PURE__ */withEmotionCache( /* */ function (props, cache, ref) { var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works // not passing the registered cache to serializeStyles because it would // make certain babel optimisations not possible if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) { cssProp = cache.registered[cssProp]; } var WrappedComponent = props[typePropName]; var registeredStyles = [cssProp]; var className = ''; if (typeof props.className === 'string') { className = (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_4__.getRegisteredStyles)(cache.registered, registeredStyles, props.className); } else if (props.className != null) { className = props.className + " "; } var serialized = (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_5__.serializeStyles)(registeredStyles, undefined, react__WEBPACK_IMPORTED_MODULE_0__.useContext(ThemeContext)); if (serialized.name.indexOf('-') === -1) { var labelFromStack = props[labelPropName]; if (labelFromStack) { serialized = (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_5__.serializeStyles)([serialized, 'label:' + labelFromStack + ';']); } } className += cache.key + "-" + serialized.name; var newProps = {}; for (var key in props) { if (hasOwn.call(props, key) && key !== 'css' && key !== typePropName && (key !== labelPropName)) { newProps[key] = props[key]; } } newProps.className = className; if (ref) { newProps.ref = ref; } return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Insertion, { cache: cache, serialized: serialized, isStringTag: typeof WrappedComponent === 'string' }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(WrappedComponent, newProps)); }); { Emotion.displayName = 'EmotionCssPropInternal'; } var Emotion$1 = Emotion; /***/ }), /***/ "./node_modules/@emotion/react/dist/emotion-react.browser.development.esm.js": /*!***********************************************************************************!*\ !*** ./node_modules/@emotion/react/dist/emotion-react.browser.development.esm.js ***! \***********************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ CacheProvider: function() { return /* reexport safe */ _emotion_element_7a1343fa_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.C; }, /* harmony export */ ClassNames: function() { return /* binding */ ClassNames; }, /* harmony export */ Global: function() { return /* binding */ Global; }, /* harmony export */ ThemeContext: function() { return /* reexport safe */ _emotion_element_7a1343fa_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.T; }, /* harmony export */ ThemeProvider: function() { return /* reexport safe */ _emotion_element_7a1343fa_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.a; }, /* harmony export */ __unsafe_useEmotionCache: function() { return /* reexport safe */ _emotion_element_7a1343fa_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__._; }, /* harmony export */ createElement: function() { return /* binding */ jsx; }, /* harmony export */ css: function() { return /* binding */ css; }, /* harmony export */ jsx: function() { return /* binding */ jsx; }, /* harmony export */ keyframes: function() { return /* binding */ keyframes; }, /* harmony export */ useTheme: function() { return /* reexport safe */ _emotion_element_7a1343fa_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.u; }, /* harmony export */ withEmotionCache: function() { return /* reexport safe */ _emotion_element_7a1343fa_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.w; }, /* harmony export */ withTheme: function() { return /* reexport safe */ _emotion_element_7a1343fa_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.b; } /* harmony export */ }); /* harmony import */ var _emotion_element_7a1343fa_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./emotion-element-7a1343fa.browser.development.esm.js */ "./node_modules/@emotion/react/dist/emotion-element-7a1343fa.browser.development.esm.js"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _emotion_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @emotion/utils */ "./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js"); /* harmony import */ var _emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @emotion/use-insertion-effect-with-fallbacks */ "./node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js"); /* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @emotion/serialize */ "./node_modules/@emotion/serialize/dist/emotion-serialize.development.esm.js"); /* harmony import */ var _emotion_cache__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @emotion/cache */ "./node_modules/@emotion/cache/dist/emotion-cache.browser.development.esm.js"); /* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js"); /* harmony import */ var _emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @emotion/weak-memoize */ "./node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js"); /* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! hoist-non-react-statics */ "./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"); /* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_8__); var isDevelopment = true; var pkg = { name: "@emotion/react", version: "11.13.0", main: "dist/emotion-react.cjs.js", module: "dist/emotion-react.esm.js", exports: { ".": { types: { "import": "./dist/emotion-react.cjs.mjs", "default": "./dist/emotion-react.cjs.js" }, development: { "edge-light": { module: "./dist/emotion-react.development.edge-light.esm.js", "import": "./dist/emotion-react.development.edge-light.cjs.mjs", "default": "./dist/emotion-react.development.edge-light.cjs.js" }, worker: { module: "./dist/emotion-react.development.edge-light.esm.js", "import": "./dist/emotion-react.development.edge-light.cjs.mjs", "default": "./dist/emotion-react.development.edge-light.cjs.js" }, workerd: { module: "./dist/emotion-react.development.edge-light.esm.js", "import": "./dist/emotion-react.development.edge-light.cjs.mjs", "default": "./dist/emotion-react.development.edge-light.cjs.js" }, browser: { module: "./dist/emotion-react.browser.development.esm.js", "import": "./dist/emotion-react.browser.development.cjs.mjs", "default": "./dist/emotion-react.browser.development.cjs.js" }, module: "./dist/emotion-react.development.esm.js", "import": "./dist/emotion-react.development.cjs.mjs", "default": "./dist/emotion-react.development.cjs.js" }, "edge-light": { module: "./dist/emotion-react.edge-light.esm.js", "import": "./dist/emotion-react.edge-light.cjs.mjs", "default": "./dist/emotion-react.edge-light.cjs.js" }, worker: { module: "./dist/emotion-react.edge-light.esm.js", "import": "./dist/emotion-react.edge-light.cjs.mjs", "default": "./dist/emotion-react.edge-light.cjs.js" }, workerd: { module: "./dist/emotion-react.edge-light.esm.js", "import": "./dist/emotion-react.edge-light.cjs.mjs", "default": "./dist/emotion-react.edge-light.cjs.js" }, browser: { module: "./dist/emotion-react.browser.esm.js", "import": "./dist/emotion-react.browser.cjs.mjs", "default": "./dist/emotion-react.browser.cjs.js" }, module: "./dist/emotion-react.esm.js", "import": "./dist/emotion-react.cjs.mjs", "default": "./dist/emotion-react.cjs.js" }, "./jsx-runtime": { types: { "import": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs", "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js" }, development: { "edge-light": { module: "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.esm.js", "import": "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.cjs.mjs", "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.cjs.js" }, worker: { module: "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.esm.js", "import": "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.cjs.mjs", "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.cjs.js" }, workerd: { module: "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.esm.js", "import": "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.cjs.mjs", "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.cjs.js" }, browser: { module: "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.esm.js", "import": "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.cjs.mjs", "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.cjs.js" }, module: "./jsx-runtime/dist/emotion-react-jsx-runtime.development.esm.js", "import": "./jsx-runtime/dist/emotion-react-jsx-runtime.development.cjs.mjs", "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.development.cjs.js" }, "edge-light": { module: "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.esm.js", "import": "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.cjs.mjs", "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.cjs.js" }, worker: { module: "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.esm.js", "import": "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.cjs.mjs", "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.cjs.js" }, workerd: { module: "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.esm.js", "import": "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.cjs.mjs", "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.cjs.js" }, browser: { module: "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js", "import": "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.cjs.mjs", "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.cjs.js" }, module: "./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js", "import": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs", "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js" }, "./_isolated-hnrs": { types: { "import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs", "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js" }, development: { "edge-light": { module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.esm.js", "import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.cjs.mjs", "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.cjs.js" }, worker: { module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.esm.js", "import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.cjs.mjs", "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.cjs.js" }, workerd: { module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.esm.js", "import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.cjs.mjs", "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.cjs.js" }, browser: { module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.development.esm.js", "import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.development.cjs.mjs", "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.development.cjs.js" }, module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.esm.js", "import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.cjs.mjs", "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.cjs.js" }, "edge-light": { module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.esm.js", "import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.cjs.mjs", "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.cjs.js" }, worker: { module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.esm.js", "import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.cjs.mjs", "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.cjs.js" }, workerd: { module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.esm.js", "import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.cjs.mjs", "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.cjs.js" }, browser: { module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js", "import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.cjs.mjs", "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.cjs.js" }, module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js", "import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs", "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js" }, "./jsx-dev-runtime": { types: { "import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs", "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js" }, development: { "edge-light": { module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.esm.js", "import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.cjs.mjs", "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.cjs.js" }, worker: { module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.esm.js", "import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.cjs.mjs", "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.cjs.js" }, workerd: { module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.esm.js", "import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.cjs.mjs", "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.cjs.js" }, browser: { module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.development.esm.js", "import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.development.cjs.mjs", "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.development.cjs.js" }, module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.esm.js", "import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.cjs.mjs", "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.cjs.js" }, "edge-light": { module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.esm.js", "import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.cjs.mjs", "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.cjs.js" }, worker: { module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.esm.js", "import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.cjs.mjs", "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.cjs.js" }, workerd: { module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.esm.js", "import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.cjs.mjs", "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.cjs.js" }, browser: { module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js", "import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.cjs.mjs", "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.cjs.js" }, module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js", "import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs", "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js" }, "./package.json": "./package.json", "./types/css-prop": "./types/css-prop.d.ts", "./macro": { types: { "import": "./macro.d.mts", "default": "./macro.d.ts" }, "default": "./macro.js" } }, imports: { "#is-development": { development: "./src/conditions/true.js", "default": "./src/conditions/false.js" }, "#is-browser": { "edge-light": "./src/conditions/false.js", workerd: "./src/conditions/false.js", worker: "./src/conditions/false.js", browser: "./src/conditions/true.js", "default": "./src/conditions/is-browser.js" } }, types: "types/index.d.ts", files: [ "src", "dist", "jsx-runtime", "jsx-dev-runtime", "_isolated-hnrs", "types/*.d.ts", "macro.*" ], sideEffects: false, author: "Emotion Contributors", license: "MIT", scripts: { "test:typescript": "dtslint types" }, dependencies: { "@babel/runtime": "^7.18.3", "@emotion/babel-plugin": "^11.12.0", "@emotion/cache": "^11.13.0", "@emotion/serialize": "^1.3.0", "@emotion/use-insertion-effect-with-fallbacks": "^1.1.0", "@emotion/utils": "^1.4.0", "@emotion/weak-memoize": "^0.4.0", "hoist-non-react-statics": "^3.3.1" }, peerDependencies: { react: ">=16.8.0" }, peerDependenciesMeta: { "@types/react": { optional: true } }, devDependencies: { "@definitelytyped/dtslint": "0.0.112", "@emotion/css": "11.13.0", "@emotion/css-prettifier": "1.1.4", "@emotion/server": "11.11.0", "@emotion/styled": "11.13.0", "html-tag-names": "^1.1.2", react: "16.14.0", "svg-tag-names": "^1.1.1", typescript: "^5.4.5" }, repository: "https://github.com/emotion-js/emotion/tree/main/packages/react", publishConfig: { access: "public" }, "umd:main": "dist/emotion-react.umd.min.js", preconstruct: { entrypoints: [ "./index.js", "./jsx-runtime.js", "./jsx-dev-runtime.js", "./_isolated-hnrs.js" ], umdName: "emotionReact", exports: { extra: { "./types/css-prop": "./types/css-prop.d.ts", "./macro": { types: { "import": "./macro.d.mts", "default": "./macro.d.ts" }, "default": "./macro.js" } } } } }; var jsx /*: typeof React.createElement */ = function jsx /*: typeof React.createElement */ (type /*: React.ElementType */ , props /*: Object */ ) { var args = arguments; if (props == null || !_emotion_element_7a1343fa_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.h.call(props, 'css')) { return react__WEBPACK_IMPORTED_MODULE_1__.createElement.apply(undefined, args); } var argsLength = args.length; var createElementArgArray = new Array(argsLength); createElementArgArray[0] = _emotion_element_7a1343fa_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.E; createElementArgArray[1] = (0,_emotion_element_7a1343fa_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.c)(type, props); for (var i = 2; i < argsLength; i++) { createElementArgArray[i] = args[i]; } return react__WEBPACK_IMPORTED_MODULE_1__.createElement.apply(null, createElementArgArray); }; /* type Styles = Object | Array type GlobalProps = { +styles: Styles | (Object => Styles) } */ var warnedAboutCssPropForGlobal = false; // maintain place over rerenders. // initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild // initial client-side render from SSR, use place of hydrating tag var Global /*: React.AbstractComponent< GlobalProps > */ = /* #__PURE__ */(0,_emotion_element_7a1343fa_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.w)(function (props /*: GlobalProps */ , cache) { if (!warnedAboutCssPropForGlobal && ( // check for className as well since the user is // probably using the custom createElement which // means it will be turned into a className prop // I don't really want to add it to the type since it shouldn't be used props.className || props.css)) { console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"); warnedAboutCssPropForGlobal = true; } var styles = props.styles; var serialized = (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_4__.serializeStyles)([styles], undefined, react__WEBPACK_IMPORTED_MODULE_1__.useContext(_emotion_element_7a1343fa_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.T)); // but it is based on a constant that will never change at runtime // it's effectively like having two implementations and switching them out // so it's not actually breaking anything var sheetRef = react__WEBPACK_IMPORTED_MODULE_1__.useRef(); (0,_emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_3__.useInsertionEffectWithLayoutFallback)(function () { var key = cache.key + "-global"; // use case of https://github.com/emotion-js/emotion/issues/2675 var sheet = new cache.sheet.constructor({ key: key, nonce: cache.sheet.nonce, container: cache.sheet.container, speedy: cache.sheet.isSpeedy }); var rehydrating = false; var node /*: HTMLStyleElement | null*/ = document.querySelector("style[data-emotion=\"" + key + " " + serialized.name + "\"]"); if (cache.sheet.tags.length) { sheet.before = cache.sheet.tags[0]; } if (node !== null) { rehydrating = true; // clear the hash so this node won't be recognizable as rehydratable by other s node.setAttribute('data-emotion', key); sheet.hydrate([node]); } sheetRef.current = [sheet, rehydrating]; return function () { sheet.flush(); }; }, [cache]); (0,_emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_3__.useInsertionEffectWithLayoutFallback)(function () { var sheetRefCurrent = sheetRef.current; var sheet = sheetRefCurrent[0], rehydrating = sheetRefCurrent[1]; if (rehydrating) { sheetRefCurrent[1] = false; return; } if (serialized.next !== undefined) { // insert keyframes (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_2__.insertStyles)(cache, serialized.next, true); } if (sheet.tags.length) { // if this doesn't exist then it will be null so the style element will be appended var element = sheet.tags[sheet.tags.length - 1].nextElementSibling; sheet.before = element; sheet.flush(); } cache.insert("", serialized, sheet, false); }, [cache, serialized.name]); return null; }); { Global.displayName = 'EmotionGlobal'; } /* import type { Interpolation, SerializedStyles } from '@emotion/utils' */ function css() /*: SerializedStyles */ { for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } return (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_4__.serializeStyles)(args); } /* type Keyframes = {| name: string, styles: string, anim: 1, toString: () => string |} & string */ var keyframes = function /*: Keyframes */ keyframes() { var insertable = css.apply(void 0, arguments); var name = "animation-" + insertable.name; return { name: name, styles: "@keyframes " + name + "{" + insertable.styles + "}", anim: 1, toString: function toString() { return "_EMO_" + this.name + "_" + this.styles + "_EMO_"; } }; }; /* type ClassNameArg = | string | boolean | { [key: string]: boolean } | Array | null | void */ var classnames = function /*: string */ classnames(args /*: Array */ ) { var len = args.length; var i = 0; var cls = ''; for (; i < len; i++) { var arg = args[i]; if (arg == null) continue; var toAdd = void 0; switch (typeof arg) { case 'boolean': break; case 'object': { if (Array.isArray(arg)) { toAdd = classnames(arg); } else { if (arg.styles !== undefined && arg.name !== undefined) { console.error('You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n' + '`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from component.'); } toAdd = ''; for (var k in arg) { if (arg[k] && k) { toAdd && (toAdd += ' '); toAdd += k; } } } break; } default: { toAdd = arg; } } if (toAdd) { cls && (cls += ' '); cls += toAdd; } } return cls; }; function merge(registered /*: Object */ , css /*: (...args: Array) => string */ , className /*: string */ ) { var registeredStyles = []; var rawClassName = (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_2__.getRegisteredStyles)(registered, registeredStyles, className); if (registeredStyles.length < 2) { return className; } return rawClassName + css(registeredStyles); } var Insertion = function Insertion(_ref) { var cache = _ref.cache, serializedArr = _ref.serializedArr; (0,_emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_3__.useInsertionEffectAlwaysWithSyncFallback)(function () { for (var i = 0; i < serializedArr.length; i++) { (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_2__.insertStyles)(cache, serializedArr[i], false); } }); return null; }; /* type Props = { children: ({ css: (...args: any) => string, cx: (...args: Array) => string, theme: Object }) => React.Node } */ var ClassNames /*: React.AbstractComponent*/ = /* #__PURE__ */(0,_emotion_element_7a1343fa_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.w)(function (props, cache) { var hasRendered = false; var serializedArr = []; var css = function css() { if (hasRendered && isDevelopment) { throw new Error('css can only be used during render'); } for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } var serialized = (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_4__.serializeStyles)(args, cache.registered); serializedArr.push(serialized); // registration has to happen here as the result of this might get consumed by `cx` (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_2__.registerStyles)(cache, serialized, false); return cache.key + "-" + serialized.name; }; var cx = function cx() { if (hasRendered && isDevelopment) { throw new Error('cx can only be used during render'); } for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { args[_key2] = arguments[_key2]; } return merge(cache.registered, css, classnames(args)); }; var content = { css: css, cx: cx, theme: react__WEBPACK_IMPORTED_MODULE_1__.useContext(_emotion_element_7a1343fa_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.T) }; var ele = props.children(content); hasRendered = true; return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(Insertion, { cache: cache, serializedArr: serializedArr }), ele); }); { ClassNames.displayName = 'EmotionClassNames'; } { var isBrowser = typeof document !== 'undefined'; // #1727, #2905 for some reason Jest and Vitest evaluate modules twice if some consuming module gets mocked var isTestEnv = typeof jest !== 'undefined' || typeof vi !== 'undefined'; if (isBrowser && !isTestEnv) { // globalThis has wide browser support - https://caniuse.com/?search=globalThis, Node.js 12 and later var globalContext = // $FlowIgnore typeof globalThis !== 'undefined' ? globalThis // eslint-disable-line no-undef : isBrowser ? window : __webpack_require__.g; var globalKey = "__EMOTION_REACT_" + pkg.version.split('.')[0] + "__"; if (globalContext[globalKey]) { console.warn('You are loading @emotion/react when it is already loaded. Running ' + 'multiple instances may cause problems. This can happen if multiple ' + 'versions are used, or if multiple builds of the same version are ' + 'used.'); } globalContext[globalKey] = true; } } /***/ }), /***/ "./node_modules/@emotion/serialize/dist/emotion-serialize.development.esm.js": /*!***********************************************************************************!*\ !*** ./node_modules/@emotion/serialize/dist/emotion-serialize.development.esm.js ***! \***********************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ serializeStyles: function() { return /* binding */ serializeStyles; } /* harmony export */ }); /* harmony import */ var _emotion_hash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/hash */ "./node_modules/@emotion/hash/dist/emotion-hash.esm.js"); /* harmony import */ var _emotion_unitless__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @emotion/unitless */ "./node_modules/@emotion/serialize/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js"); /* harmony import */ var _emotion_memoize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @emotion/memoize */ "./node_modules/@emotion/memoize/dist/emotion-memoize.esm.js"); var isDevelopment = true; var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences"; var UNDEFINED_AS_OBJECT_KEY_ERROR = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key)."; var hyphenateRegex = /[A-Z]|^ms/g; var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g; var isCustomProperty = function isCustomProperty(property) { return property.charCodeAt(1) === 45; }; var isProcessableValue = function isProcessableValue(value) { return value != null && typeof value !== 'boolean'; }; var processStyleName = /* #__PURE__ */(0,_emotion_memoize__WEBPACK_IMPORTED_MODULE_2__["default"])(function (styleName) { return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase(); }); var processStyleValue = function processStyleValue(key, value) { switch (key) { case 'animation': case 'animationName': { if (typeof value === 'string') { return value.replace(animationRegex, function (match, p1, p2) { cursor = { name: p1, styles: p2, next: cursor }; return p1; }); } } } if (_emotion_unitless__WEBPACK_IMPORTED_MODULE_1__["default"][key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) { return value + 'px'; } return value; }; { var contentValuePattern = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/; var contentValues = ['normal', 'none', 'initial', 'inherit', 'unset']; var oldProcessStyleValue = processStyleValue; var msPattern = /^-ms-/; var hyphenPattern = /-(.)/g; var hyphenatedCache = {}; processStyleValue = function processStyleValue(key, value) { if (key === 'content') { if (typeof value !== 'string' || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '"' && value.charAt(0) !== "'")) { throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + value + "\"'`"); } } var processed = oldProcessStyleValue(key, value); if (processed !== '' && !isCustomProperty(key) && key.indexOf('-') !== -1 && hyphenatedCache[key] === undefined) { hyphenatedCache[key] = true; console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + key.replace(msPattern, 'ms-').replace(hyphenPattern, function (str, _char) { return _char.toUpperCase(); }) + "?"); } return processed; }; } var noComponentSelectorMessage = 'Component selectors can only be used in conjunction with ' + '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' + 'compiler transform.'; function handleInterpolation(mergedProps, registered, interpolation) { if (interpolation == null) { return ''; } var componentSelector = interpolation; if (componentSelector.__emotion_styles !== undefined) { if (String(componentSelector) === 'NO_COMPONENT_SELECTOR') { throw new Error(noComponentSelectorMessage); } return componentSelector; } switch (typeof interpolation) { case 'boolean': { return ''; } case 'object': { var keyframes = interpolation; if (keyframes.anim === 1) { cursor = { name: keyframes.name, styles: keyframes.styles, next: cursor }; return keyframes.name; } var serializedStyles = interpolation; if (serializedStyles.styles !== undefined) { var next = serializedStyles.next; if (next !== undefined) { // not the most efficient thing ever but this is a pretty rare case // and there will be very few iterations of this generally while (next !== undefined) { cursor = { name: next.name, styles: next.styles, next: cursor }; next = next.next; } } var styles = serializedStyles.styles + ";"; if (serializedStyles.map !== undefined) { styles += serializedStyles.map; } return styles; } return createStringFromObject(mergedProps, registered, interpolation); } case 'function': { if (mergedProps !== undefined) { var previousCursor = cursor; var result = interpolation(mergedProps); cursor = previousCursor; return handleInterpolation(mergedProps, registered, result); } else { console.error('Functions that are interpolated in css calls will be stringified.\n' + 'If you want to have a css call based on props, create a function that returns a css call like this\n' + 'let dynamicStyle = (props) => css`color: ${props.color}`\n' + 'It can be called directly with props or interpolated in a styled call like this\n' + "let SomeComponent = styled('div')`${dynamicStyle}`"); } break; } case 'string': { var matched = []; var replaced = interpolation.replace(animationRegex, function (_match, _p1, p2) { var fakeVarName = "animation" + matched.length; matched.push("const " + fakeVarName + " = keyframes`" + p2.replace(/^@keyframes animation-\w+/, '') + "`"); return "${" + fakeVarName + "}"; }); if (matched.length) { console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n" + [].concat(matched, ["`" + replaced + "`"]).join('\n') + "\n\nYou should wrap it with `css` like this:\n\ncss`" + replaced + "`"); } } break; } // finalize string values (regular strings and functions interpolated into css calls) var asString = interpolation; if (registered == null) { return asString; } var cached = registered[asString]; return cached !== undefined ? cached : asString; } function createStringFromObject(mergedProps, registered, obj) { var string = ''; if (Array.isArray(obj)) { for (var i = 0; i < obj.length; i++) { string += handleInterpolation(mergedProps, registered, obj[i]) + ";"; } } else { for (var key in obj) { var value = obj[key]; if (typeof value !== 'object') { var asString = value; if (registered != null && registered[asString] !== undefined) { string += key + "{" + registered[asString] + "}"; } else if (isProcessableValue(asString)) { string += processStyleName(key) + ":" + processStyleValue(key, asString) + ";"; } } else { if (key === 'NO_COMPONENT_SELECTOR' && isDevelopment) { throw new Error(noComponentSelectorMessage); } if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) { for (var _i = 0; _i < value.length; _i++) { if (isProcessableValue(value[_i])) { string += processStyleName(key) + ":" + processStyleValue(key, value[_i]) + ";"; } } } else { var interpolated = handleInterpolation(mergedProps, registered, value); switch (key) { case 'animation': case 'animationName': { string += processStyleName(key) + ":" + interpolated + ";"; break; } default: { if (key === 'undefined') { console.error(UNDEFINED_AS_OBJECT_KEY_ERROR); } string += key + "{" + interpolated + "}"; } } } } } } return string; } var labelPattern = /label:\s*([^\s;\n{]+)\s*(;|$)/g; var sourceMapPattern; { sourceMapPattern = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g; } // this is the cursor for keyframes // keyframes are stored on the SerializedStyles object as a linked list var cursor; function serializeStyles(args, registered, mergedProps) { if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) { return args[0]; } var stringMode = true; var styles = ''; cursor = undefined; var strings = args[0]; if (strings == null || strings.raw === undefined) { stringMode = false; styles += handleInterpolation(mergedProps, registered, strings); } else { var asTemplateStringsArr = strings; if (asTemplateStringsArr[0] === undefined) { console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR); } styles += asTemplateStringsArr[0]; } // we start at 1 since we've already handled the first arg for (var i = 1; i < args.length; i++) { styles += handleInterpolation(mergedProps, registered, args[i]); if (stringMode) { var templateStringsArr = strings; if (templateStringsArr[i] === undefined) { console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR); } styles += templateStringsArr[i]; } } var sourceMap; { styles = styles.replace(sourceMapPattern, function (match) { sourceMap = match; return ''; }); } // using a global regex with .exec is stateful so lastIndex has to be reset each time labelPattern.lastIndex = 0; var identifierName = ''; var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5 while ((match = labelPattern.exec(styles)) !== null) { identifierName += '-' + match[1]; } var name = (0,_emotion_hash__WEBPACK_IMPORTED_MODULE_0__["default"])(styles) + identifierName; { var devStyles = { name: name, styles: styles, map: sourceMap, next: cursor, toString: function toString() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; } }; return devStyles; } } /***/ }), /***/ "./node_modules/@emotion/serialize/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js": /*!*****************************************************************************************************!*\ !*** ./node_modules/@emotion/serialize/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js ***! \*****************************************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ unitlessKeys; } /* harmony export */ }); var unitlessKeys = { animationIterationCount: 1, aspectRatio: 1, borderImageOutset: 1, borderImageSlice: 1, borderImageWidth: 1, boxFlex: 1, boxFlexGroup: 1, boxOrdinalGroup: 1, columnCount: 1, columns: 1, flex: 1, flexGrow: 1, flexPositive: 1, flexShrink: 1, flexNegative: 1, flexOrder: 1, gridRow: 1, gridRowEnd: 1, gridRowSpan: 1, gridRowStart: 1, gridColumn: 1, gridColumnEnd: 1, gridColumnSpan: 1, gridColumnStart: 1, msGridRow: 1, msGridRowSpan: 1, msGridColumn: 1, msGridColumnSpan: 1, fontWeight: 1, lineHeight: 1, opacity: 1, order: 1, orphans: 1, tabSize: 1, widows: 1, zIndex: 1, zoom: 1, WebkitLineClamp: 1, // SVG-related properties fillOpacity: 1, floodOpacity: 1, stopOpacity: 1, strokeDasharray: 1, strokeDashoffset: 1, strokeMiterlimit: 1, strokeOpacity: 1, strokeWidth: 1 }; /***/ }), /***/ "./node_modules/@emotion/sheet/dist/emotion-sheet.development.esm.js": /*!***************************************************************************!*\ !*** ./node_modules/@emotion/sheet/dist/emotion-sheet.development.esm.js ***! \***************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ StyleSheet: function() { return /* binding */ StyleSheet; } /* harmony export */ }); var isDevelopment = true; /* Based off glamor's StyleSheet, thanks Sunil ❤️ high performance StyleSheet for css-in-js systems - uses multiple style tags behind the scenes for millions of rules - uses `insertRule` for appending in production for *much* faster performance // usage import { StyleSheet } from '@emotion/sheet' let styleSheet = new StyleSheet({ key: '', container: document.head }) styleSheet.insert('#box { border: 1px solid red; }') - appends a css rule into the stylesheet styleSheet.flush() - empties the stylesheet of all its contents */ function sheetForTag(tag) { if (tag.sheet) { return tag.sheet; } // this weirdness brought to you by firefox /* istanbul ignore next */ for (var i = 0; i < document.styleSheets.length; i++) { if (document.styleSheets[i].ownerNode === tag) { return document.styleSheets[i]; } } // this function should always return with a value // TS can't understand it though so we make it stop complaining here return undefined; } function createStyleElement(options) { var tag = document.createElement('style'); tag.setAttribute('data-emotion', options.key); if (options.nonce !== undefined) { tag.setAttribute('nonce', options.nonce); } tag.appendChild(document.createTextNode('')); tag.setAttribute('data-s', ''); return tag; } var StyleSheet = /*#__PURE__*/function () { // Using Node instead of HTMLElement since container may be a ShadowRoot function StyleSheet(options) { var _this = this; this._insertTag = function (tag) { var before; if (_this.tags.length === 0) { if (_this.insertionPoint) { before = _this.insertionPoint.nextSibling; } else if (_this.prepend) { before = _this.container.firstChild; } else { before = _this.before; } } else { before = _this.tags[_this.tags.length - 1].nextSibling; } _this.container.insertBefore(tag, before); _this.tags.push(tag); }; this.isSpeedy = options.speedy === undefined ? !isDevelopment : options.speedy; this.tags = []; this.ctr = 0; this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets this.key = options.key; this.container = options.container; this.prepend = options.prepend; this.insertionPoint = options.insertionPoint; this.before = null; } var _proto = StyleSheet.prototype; _proto.hydrate = function hydrate(nodes) { nodes.forEach(this._insertTag); }; _proto.insert = function insert(rule) { // the max length is how many rules we have per style tag, it's 65000 in speedy mode // it's 1 in dev because we insert source maps that map a single rule to a location // and you can only have one source map per style tag if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) { this._insertTag(createStyleElement(this)); } var tag = this.tags[this.tags.length - 1]; { var isImportRule = rule.charCodeAt(0) === 64 && rule.charCodeAt(1) === 105; if (isImportRule && this._alreadyInsertedOrderInsensitiveRule) { // this would only cause problem in speedy mode // but we don't want enabling speedy to affect the observable behavior // so we report this error at all times console.error("You're attempting to insert the following rule:\n" + rule + '\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules.'); } this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !isImportRule; } if (this.isSpeedy) { var sheet = sheetForTag(tag); try { // this is the ultrafast version, works across browsers // the big drawback is that the css won't be editable in devtools sheet.insertRule(rule, sheet.cssRules.length); } catch (e) { if (!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(rule)) { console.error("There was a problem inserting the following rule: \"" + rule + "\"", e); } } } else { tag.appendChild(document.createTextNode(rule)); } this.ctr++; }; _proto.flush = function flush() { this.tags.forEach(function (tag) { var _tag$parentNode; return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag); }); this.tags = []; this.ctr = 0; { this._alreadyInsertedOrderInsensitiveRule = false; } }; return StyleSheet; }(); /***/ }), /***/ "./node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.development.esm.js": /*!***********************************************************************************************!*\ !*** ./node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.development.esm.js ***! \***********************************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ createStyled; } /* harmony export */ }); /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _emotion_is_prop_valid__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @emotion/is-prop-valid */ "./node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js"); /* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @emotion/react */ "./node_modules/@emotion/react/dist/emotion-element-7a1343fa.browser.development.esm.js"); /* harmony import */ var _emotion_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @emotion/utils */ "./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js"); /* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @emotion/serialize */ "./node_modules/@emotion/serialize/dist/emotion-serialize.development.esm.js"); /* harmony import */ var _emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @emotion/use-insertion-effect-with-fallbacks */ "./node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js"); /* import type { ElementType, StatelessFunctionalComponent, AbstractComponent } from 'react' */ /* export type Interpolations = Array export type StyledElementType = | string | AbstractComponent<{ ...Props, className: string }, mixed> export type StyledOptions = { label?: string, shouldForwardProp?: string => boolean, target?: string } export type StyledComponent = StatelessFunctionalComponent & { defaultProps: any, toString: () => string, withComponent: ( nextTag: StyledElementType, nextOptions?: StyledOptions ) => StyledComponent } export type PrivateStyledComponent = StyledComponent & { __emotion_real: StyledComponent, __emotion_base: any, __emotion_styles: any, __emotion_forwardProp: any } */ var testOmitPropsOnStringTag = _emotion_is_prop_valid__WEBPACK_IMPORTED_MODULE_2__["default"]; var testOmitPropsOnComponent = function testOmitPropsOnComponent(key /*: string */ ) { return key !== 'theme'; }; var getDefaultShouldForwardProp = function getDefaultShouldForwardProp(tag /*: ElementType */ ) { return typeof tag === 'string' && // 96 is one less than the char code // for "a" so this is checking that // it's a lowercase character tag.charCodeAt(0) > 96 ? testOmitPropsOnStringTag : testOmitPropsOnComponent; }; var composeShouldForwardProps = function composeShouldForwardProps(tag /*: PrivateStyledComponent */ , options /*: StyledOptions | void */ , isReal /*: boolean */ ) { var shouldForwardProp; if (options) { var optionsShouldForwardProp = options.shouldForwardProp; shouldForwardProp = tag.__emotion_forwardProp && optionsShouldForwardProp ? function (propName /*: string */ ) { return tag.__emotion_forwardProp(propName) && optionsShouldForwardProp(propName); } : optionsShouldForwardProp; } if (typeof shouldForwardProp !== 'function' && isReal) { shouldForwardProp = tag.__emotion_forwardProp; } return shouldForwardProp; }; /* export type CreateStyledComponent = ( ...args: Interpolations ) => StyledComponent export type CreateStyled = { ( tag: StyledElementType, options?: StyledOptions ): (...args: Interpolations) => StyledComponent, [key: string]: CreateStyledComponent, bind: () => CreateStyled } */ var isDevelopment = true; var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences"; var Insertion = function Insertion(_ref) { var cache = _ref.cache, serialized = _ref.serialized, isStringTag = _ref.isStringTag; (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_3__.registerStyles)(cache, serialized, isStringTag); (0,_emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_5__.useInsertionEffectAlwaysWithSyncFallback)(function () { return (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_3__.insertStyles)(cache, serialized, isStringTag); }); return null; }; var createStyled /*: CreateStyled */ = function createStyled /*: CreateStyled */ (tag /*: any */ , options /* ?: StyledOptions */ ) { { if (tag === undefined) { throw new Error('You are trying to create a styled element with an undefined component.\nYou may have forgotten to import it.'); } } var isReal = tag.__emotion_real === tag; var baseTag = isReal && tag.__emotion_base || tag; var identifierName; var targetClassName; if (options !== undefined) { identifierName = options.label; targetClassName = options.target; } var shouldForwardProp = composeShouldForwardProps(tag, options, isReal); var defaultShouldForwardProp = shouldForwardProp || getDefaultShouldForwardProp(baseTag); var shouldUseAs = !defaultShouldForwardProp('as'); /* return function(): PrivateStyledComponent { */ return function () { var args = arguments; var styles = isReal && tag.__emotion_styles !== undefined ? tag.__emotion_styles.slice(0) : []; if (identifierName !== undefined) { styles.push("label:" + identifierName + ";"); } if (args[0] == null || args[0].raw === undefined) { styles.push.apply(styles, args); } else { if (args[0][0] === undefined) { console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR); } styles.push(args[0][0]); var len = args.length; var i = 1; for (; i < len; i++) { if (args[0][i] === undefined) { console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR); } styles.push(args[i], args[0][i]); } } var Styled /*: PrivateStyledComponent */ = (0,_emotion_react__WEBPACK_IMPORTED_MODULE_6__.w)(function (props, cache, ref) { var FinalTag = shouldUseAs && props.as || baseTag; var className = ''; var classInterpolations = []; var mergedProps = props; if (props.theme == null) { mergedProps = {}; for (var key in props) { mergedProps[key] = props[key]; } mergedProps.theme = react__WEBPACK_IMPORTED_MODULE_1__.useContext(_emotion_react__WEBPACK_IMPORTED_MODULE_6__.T); } if (typeof props.className === 'string') { className = (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_3__.getRegisteredStyles)(cache.registered, classInterpolations, props.className); } else if (props.className != null) { className = props.className + " "; } var serialized = (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_4__.serializeStyles)(styles.concat(classInterpolations), cache.registered, mergedProps); className += cache.key + "-" + serialized.name; if (targetClassName !== undefined) { className += " " + targetClassName; } var finalShouldForwardProp = shouldUseAs && shouldForwardProp === undefined ? getDefaultShouldForwardProp(FinalTag) : defaultShouldForwardProp; var newProps = {}; for (var _key in props) { if (shouldUseAs && _key === 'as') continue; if (finalShouldForwardProp(_key)) { newProps[_key] = props[_key]; } } newProps.className = className; if (ref) { newProps.ref = ref; } return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(Insertion, { cache: cache, serialized: serialized, isStringTag: typeof FinalTag === 'string' }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(FinalTag, newProps)); }); Styled.displayName = identifierName !== undefined ? identifierName : "Styled(" + (typeof baseTag === 'string' ? baseTag : baseTag.displayName || baseTag.name || 'Component') + ")"; Styled.defaultProps = tag.defaultProps; Styled.__emotion_real = Styled; Styled.__emotion_base = baseTag; Styled.__emotion_styles = styles; Styled.__emotion_forwardProp = shouldForwardProp; Object.defineProperty(Styled, 'toString', { value: function value() { if (targetClassName === undefined && isDevelopment) { return 'NO_COMPONENT_SELECTOR'; } return "." + targetClassName; } }); Styled.withComponent = function (nextTag /*: StyledElementType */ , nextOptions /* ?: StyledOptions */ ) { return createStyled(nextTag, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, nextOptions, { shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true) })).apply(void 0, styles); }; return Styled; }; }; /***/ }), /***/ "./node_modules/@emotion/styled/dist/emotion-styled.browser.development.esm.js": /*!*************************************************************************************!*\ !*** ./node_modules/@emotion/styled/dist/emotion-styled.browser.development.esm.js ***! \*************************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ newStyled; } /* harmony export */ }); /* harmony import */ var _base_dist_emotion_styled_base_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../base/dist/emotion-styled-base.browser.development.esm.js */ "./node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.development.esm.js"); /* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _emotion_is_prop_valid__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @emotion/is-prop-valid */ "./node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js"); /* harmony import */ var _emotion_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @emotion/utils */ "./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js"); /* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @emotion/serialize */ "./node_modules/@emotion/serialize/dist/emotion-serialize.development.esm.js"); /* harmony import */ var _emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @emotion/use-insertion-effect-with-fallbacks */ "./node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js"); var tags = ['a', 'abbr', 'address', 'area', 'article', 'aside', 'audio', 'b', 'base', 'bdi', 'bdo', 'big', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'cite', 'code', 'col', 'colgroup', 'data', 'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'iframe', 'img', 'input', 'ins', 'kbd', 'keygen', 'label', 'legend', 'li', 'link', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meta', 'meter', 'nav', 'noscript', 'object', 'ol', 'optgroup', 'option', 'output', 'p', 'param', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'script', 'section', 'select', 'small', 'source', 'span', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'textarea', 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track', 'u', 'ul', 'var', 'video', 'wbr', // SVG 'circle', 'clipPath', 'defs', 'ellipse', 'foreignObject', 'g', 'image', 'line', 'linearGradient', 'mask', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'stop', 'svg', 'text', 'tspan']; var newStyled = _base_dist_emotion_styled_base_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__["default"].bind(); tags.forEach(function (tagName) { newStyled[tagName] = newStyled(tagName); }); /***/ }), /***/ "./node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js": /*!***********************************************************************************************************************************!*\ !*** ./node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js ***! \***********************************************************************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ useInsertionEffectAlwaysWithSyncFallback: function() { return /* binding */ useInsertionEffectAlwaysWithSyncFallback; }, /* harmony export */ useInsertionEffectWithLayoutFallback: function() { return /* binding */ useInsertionEffectWithLayoutFallback; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); var syncFallback = function syncFallback(create) { return create(); }; var useInsertionEffect = react__WEBPACK_IMPORTED_MODULE_0__['useInsertion' + 'Effect'] ? react__WEBPACK_IMPORTED_MODULE_0__['useInsertion' + 'Effect'] : false; var useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback; var useInsertionEffectWithLayoutFallback = useInsertionEffect || react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect; /***/ }), /***/ "./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js": /*!***********************************************************************!*\ !*** ./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js ***! \***********************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ getRegisteredStyles: function() { return /* binding */ getRegisteredStyles; }, /* harmony export */ insertStyles: function() { return /* binding */ insertStyles; }, /* harmony export */ registerStyles: function() { return /* binding */ registerStyles; } /* harmony export */ }); var isBrowser = true; function getRegisteredStyles(registered, registeredStyles, classNames) { var rawClassName = ''; classNames.split(' ').forEach(function (className) { if (registered[className] !== undefined) { registeredStyles.push(registered[className] + ";"); } else { rawClassName += className + " "; } }); return rawClassName; } var registerStyles = function registerStyles(cache, serialized, isStringTag) { var className = cache.key + "-" + serialized.name; if ( // we only need to add the styles to the registered cache if the // class name could be used further down // the tree but if it's a string tag, we know it won't // so we don't have to add it to registered cache. // this improves memory usage since we can avoid storing the whole style string (isStringTag === false || // we need to always store it if we're in compat mode and // in node since emotion-server relies on whether a style is in // the registered cache to know whether a style is global or not // also, note that this check will be dead code eliminated in the browser isBrowser === false ) && cache.registered[className] === undefined) { cache.registered[className] = serialized.styles; } }; var insertStyles = function insertStyles(cache, serialized, isStringTag) { registerStyles(cache, serialized, isStringTag); var className = cache.key + "-" + serialized.name; if (cache.inserted[serialized.name] === undefined) { var current = serialized; do { cache.insert(serialized === current ? "." + className : '', current, cache.sheet, true); current = current.next; } while (current !== undefined); } }; /***/ }), /***/ "./node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js": /*!*****************************************************************************!*\ !*** ./node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js ***! \*****************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": function() { return /* binding */ weakMemoize; } /* harmony export */ }); var weakMemoize = function weakMemoize(func) { var cache = new WeakMap(); return function (arg) { if (cache.has(arg)) { // Use non-null assertion because we just checked that the cache `has` it // This allows us to remove `undefined` from the return value return cache.get(arg); } var ret = func(arg); cache.set(arg, ret); return ret; }; }; /***/ }), /***/ "./node_modules/@mui/base/ClickAwayListener/ClickAwayListener.js": /*!***********************************************************************!*\ !*** ./node_modules/@mui/base/ClickAwayListener/ClickAwayListener.js ***! \***********************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ ClickAwayListener: function() { return /* binding */ ClickAwayListener; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js"); /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__); /* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils */ "./node_modules/@mui/utils/useForkRef/useForkRef.js"); /* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils */ "./node_modules/@mui/utils/useEventCallback/useEventCallback.js"); /* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils */ "./node_modules/@mui/utils/ownerDocument/ownerDocument.js"); /* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils */ "./node_modules/@mui/utils/elementAcceptingRef/elementAcceptingRef.js"); /* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/utils */ "./node_modules/@mui/utils/exactProp/exactProp.js"); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js"); 'use client'; // TODO: return `EventHandlerName extends `on${infer EventName}` ? Lowercase : never` once generatePropTypes runs with TS 4.1 function mapEventPropToEvent(eventProp) { return eventProp.substring(2).toLowerCase(); } function clickedRootScrollbar(event, doc) { return doc.documentElement.clientWidth < event.clientX || doc.documentElement.clientHeight < event.clientY; } /** * Listen for click events that occur somewhere in the document, outside of the element itself. * For instance, if you need to hide a menu when people click anywhere else on your page. * * Demos: * * - [Click-Away Listener](https://mui.com/base-ui/react-click-away-listener/) * * API: * * - [ClickAwayListener API](https://mui.com/base-ui/react-click-away-listener/components-api/#click-away-listener) */ function ClickAwayListener(props) { const { children, disableReactTree = false, mouseEvent = 'onClick', onClickAway, touchEvent = 'onTouchEnd' } = props; const movedRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false); const nodeRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null); const activatedRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false); const syntheticEventRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false); react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => { // Ensure that this component is not "activated" synchronously. // https://github.com/facebook/react/issues/20074 setTimeout(() => { activatedRef.current = true; }, 0); return () => { activatedRef.current = false; }; }, []); const handleRef = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_2__["default"])( // @ts-expect-error TODO upstream fix children.ref, nodeRef); // The handler doesn't take event.defaultPrevented into account: // // event.preventDefault() is meant to stop default behaviors like // clicking a checkbox to check it, hitting a button to submit a form, // and hitting left arrow to move the cursor in a text input etc. // Only special HTML elements have these default behaviors. const handleClickAway = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_3__["default"])(event => { // Given developers can stop the propagation of the synthetic event, // we can only be confident with a positive value. const insideReactTree = syntheticEventRef.current; syntheticEventRef.current = false; const doc = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_4__["default"])(nodeRef.current); // 1. IE11 support, which trigger the handleClickAway even after the unbind // 2. The child might render null. // 3. Behave like a blur listener. if (!activatedRef.current || !nodeRef.current || 'clientX' in event && clickedRootScrollbar(event, doc)) { return; } // Do not act if user performed touchmove if (movedRef.current) { movedRef.current = false; return; } let insideDOM; // If not enough, can use https://github.com/DieterHolvoet/event-propagation-path/blob/master/propagationPath.js if (event.composedPath) { insideDOM = event.composedPath().indexOf(nodeRef.current) > -1; } else { insideDOM = !doc.documentElement.contains( // @ts-expect-error returns `false` as intended when not dispatched from a Node event.target) || nodeRef.current.contains( // @ts-expect-error returns `false` as intended when not dispatched from a Node event.target); } if (!insideDOM && (disableReactTree || !insideReactTree)) { onClickAway(event); } }); // Keep track of mouse/touch events that bubbled up through the portal. const createHandleSynthetic = handlerName => event => { syntheticEventRef.current = true; const childrenPropsHandler = children.props[handlerName]; if (childrenPropsHandler) { childrenPropsHandler(event); } }; const childrenProps = { ref: handleRef }; if (touchEvent !== false) { childrenProps[touchEvent] = createHandleSynthetic(touchEvent); } react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => { if (touchEvent !== false) { const mappedTouchEvent = mapEventPropToEvent(touchEvent); const doc = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_4__["default"])(nodeRef.current); const handleTouchMove = () => { movedRef.current = true; }; doc.addEventListener(mappedTouchEvent, handleClickAway); doc.addEventListener('touchmove', handleTouchMove); return () => { doc.removeEventListener(mappedTouchEvent, handleClickAway); doc.removeEventListener('touchmove', handleTouchMove); }; } return undefined; }, [handleClickAway, touchEvent]); if (mouseEvent !== false) { childrenProps[mouseEvent] = createHandleSynthetic(mouseEvent); } react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => { if (mouseEvent !== false) { const mappedMouseEvent = mapEventPropToEvent(mouseEvent); const doc = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_4__["default"])(nodeRef.current); doc.addEventListener(mappedMouseEvent, handleClickAway); return () => { doc.removeEventListener(mappedMouseEvent, handleClickAway); }; } return undefined; }, [handleClickAway, mouseEvent]); return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, { children: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(children, childrenProps) }); } true ? ClickAwayListener.propTypes /* remove-proptypes */ = { // ┌────────────────────────────── Warning ──────────────────────────────┐ // │ These PropTypes are generated from the TypeScript type definitions. │ // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ // └─────────────────────────────────────────────────────────────────────┘ /** * The wrapped element. */ children: _mui_utils__WEBPACK_IMPORTED_MODULE_5__["default"].isRequired, /** * If `true`, the React tree is ignored and only the DOM tree is considered. * This prop changes how portaled elements are handled. * @default false */ disableReactTree: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().bool), /** * The mouse event to listen to. You can disable the listener by providing `false`. * @default 'onClick' */ mouseEvent: prop_types__WEBPACK_IMPORTED_MODULE_6___default().oneOf(['onClick', 'onMouseDown', 'onMouseUp', 'onPointerDown', 'onPointerUp', false]), /** * Callback fired when a "click away" event is detected. */ onClickAway: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func).isRequired, /** * The touch event to listen to. You can disable the listener by providing `false`. * @default 'onTouchEnd' */ touchEvent: prop_types__WEBPACK_IMPORTED_MODULE_6___default().oneOf(['onTouchEnd', 'onTouchStart', false]) } : 0; if (true) { // eslint-disable-next-line ClickAwayListener['propTypes' + ''] = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_7__["default"])(ClickAwayListener.propTypes); } /***/ }), /***/ "./node_modules/@mui/base/FocusTrap/FocusTrap.js": /*!*******************************************************!*\ !*** ./node_modules/@mui/base/FocusTrap/FocusTrap.js ***! \*******************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ FocusTrap: function() { return /* binding */ FocusTrap; } /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js"); /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__); /* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils */ "./node_modules/@mui/utils/useForkRef/useForkRef.js"); /* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils */ "./node_modules/@mui/utils/ownerDocument/ownerDocument.js"); /* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils */ "./node_modules/@mui/utils/elementAcceptingRef/elementAcceptingRef.js"); /* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/utils */ "./node_modules/@mui/utils/exactProp/exactProp.js"); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js"); 'use client'; /* eslint-disable consistent-return, jsx-a11y/no-noninteractive-tabindex */ // Inspired by https://github.com/focus-trap/tabbable const candidatesSelector = ['input', 'select', 'textarea', 'a[href]', 'button', '[tabindex]', 'audio[controls]', 'video[controls]', '[contenteditable]:not([contenteditable="false"])'].join(','); function getTabIndex(node) { const tabindexAttr = parseInt(node.getAttribute('tabindex') || '', 10); if (!Number.isNaN(tabindexAttr)) { return tabindexAttr; } // Browsers do not return `tabIndex` correctly for contentEditable nodes; // https://bugs.chromium.org/p/chromium/issues/detail?id=661108&q=contenteditable%20tabindex&can=2 // so if they don't have a tabindex attribute specifically set, assume it's 0. // in Chrome,
,