mui-toolpad-extended-tuni
Version:
1,444 lines (1,442 loc) • 755 kB
JavaScript
var um = Object.defineProperty;
var dm = (e, t, n) => t in e ? um(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
var qn = (e, t, n) => dm(e, typeof t != "symbol" ? t + "" : t, n);
import * as v from "react";
import ue, { Children as fm, isValidElement as Ur, cloneElement as zr, forwardRef as mo, useRef as lr, useCallback as $i, useEffect as Le, createElement as Wr, Component as Id, useMemo as $d, useState as st, memo as _d, useContext as pm, useLayoutEffect as hm } from "react";
import mm from "@emotion/styled";
import { Global as gm, ThemeContext as Md, keyframes as Na } from "@emotion/react";
import { Snackbar as ym, Badge as Dd, Alert as vm, SnackbarContent as bm, Button as $n, IconButton as Ld, useMediaQuery as Bd, styled as go, useTheme as yo, Box as Ye, Typography as Be, createTheme as xm, MenuItem as Fd, ListItemIcon as Em, Avatar as Sm, ListItemText as Vd, Paper as Ud, MenuList as wm, Stack as Aa, Divider as Kc, Card as Ia, CardContent as $a, ListItem as Cm, List as Xc, Fade as _a, keyframes as Ma, CircularProgress as Tm, ToggleButtonGroup as Om, Tooltip as mi, ToggleButton as Jc, TextField as Rm, CardActionArea as zd, Dialog as jm, DialogTitle as km, DialogContent as Pm, DialogActions as Nm } from "@mui/material";
import * as Am from "react-dom";
import Lo, { createPortal as Im } from "react-dom";
function Da(e) {
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
var Xs = { exports: {} }, Rr = {};
/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var Zc;
function $m() {
if (Zc) return Rr;
Zc = 1;
var e = ue, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
function a(c, l, u) {
var d, f = {}, m = null, b = null;
u !== void 0 && (m = "" + u), l.key !== void 0 && (m = "" + l.key), l.ref !== void 0 && (b = l.ref);
for (d in l) r.call(l, d) && !i.hasOwnProperty(d) && (f[d] = l[d]);
if (c && c.defaultProps) for (d in l = c.defaultProps, l) f[d] === void 0 && (f[d] = l[d]);
return { $$typeof: t, type: c, key: m, ref: b, props: f, _owner: o.current };
}
return Rr.Fragment = n, Rr.jsx = a, Rr.jsxs = a, Rr;
}
var jr = {};
/**
* @license React
* react-jsx-runtime.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var Qc;
function _m() {
return Qc || (Qc = 1, process.env.NODE_ENV !== "production" && function() {
var e = ue, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), c = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), g = Symbol.iterator, p = "@@iterator";
function y(j) {
if (j === null || typeof j != "object")
return null;
var z = g && j[g] || j[p];
return typeof z == "function" ? z : null;
}
var C = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
function T(j) {
{
for (var z = arguments.length, te = new Array(z > 1 ? z - 1 : 0), ae = 1; ae < z; ae++)
te[ae - 1] = arguments[ae];
w("error", j, te);
}
}
function w(j, z, te) {
{
var ae = C.ReactDebugCurrentFrame, ve = ae.getStackAddendum();
ve !== "" && (z += "%s", te = te.concat([ve]));
var Ne = te.map(function(ge) {
return String(ge);
});
Ne.unshift("Warning: " + z), Function.prototype.apply.call(console[j], console, Ne);
}
}
var E = !1, S = !1, O = !1, R = !1, P = !1, N;
N = Symbol.for("react.module.reference");
function x(j) {
return !!(typeof j == "string" || typeof j == "function" || j === r || j === i || P || j === o || j === u || j === d || R || j === b || E || S || O || typeof j == "object" && j !== null && (j.$$typeof === m || j.$$typeof === f || j.$$typeof === a || j.$$typeof === c || j.$$typeof === l || // This needs to include all possible module reference object
// types supported by any Flight configuration anywhere since
// we don't know which Flight build this will end up being used
// with.
j.$$typeof === N || j.getModuleId !== void 0));
}
function k(j, z, te) {
var ae = j.displayName;
if (ae)
return ae;
var ve = z.displayName || z.name || "";
return ve !== "" ? te + "(" + ve + ")" : te;
}
function L(j) {
return j.displayName || "Context";
}
function _(j) {
if (j == null)
return null;
if (typeof j.tag == "number" && T("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof j == "function")
return j.displayName || j.name || null;
if (typeof j == "string")
return j;
switch (j) {
case r:
return "Fragment";
case n:
return "Portal";
case i:
return "Profiler";
case o:
return "StrictMode";
case u:
return "Suspense";
case d:
return "SuspenseList";
}
if (typeof j == "object")
switch (j.$$typeof) {
case c:
var z = j;
return L(z) + ".Consumer";
case a:
var te = j;
return L(te._context) + ".Provider";
case l:
return k(j, j.render, "ForwardRef");
case f:
var ae = j.displayName || null;
return ae !== null ? ae : _(j.type) || "Memo";
case m: {
var ve = j, Ne = ve._payload, ge = ve._init;
try {
return _(ge(Ne));
} catch {
return null;
}
}
}
return null;
}
var V = Object.assign, M = 0, D, W, H, X, A, U, Q;
function ee() {
}
ee.__reactDisabledLog = !0;
function q() {
{
if (M === 0) {
D = console.log, W = console.info, H = console.warn, X = console.error, A = console.group, U = console.groupCollapsed, Q = console.groupEnd;
var j = {
configurable: !0,
enumerable: !0,
value: ee,
writable: !0
};
Object.defineProperties(console, {
info: j,
log: j,
warn: j,
error: j,
group: j,
groupCollapsed: j,
groupEnd: j
});
}
M++;
}
}
function K() {
{
if (M--, M === 0) {
var j = {
configurable: !0,
enumerable: !0,
writable: !0
};
Object.defineProperties(console, {
log: V({}, j, {
value: D
}),
info: V({}, j, {
value: W
}),
warn: V({}, j, {
value: H
}),
error: V({}, j, {
value: X
}),
group: V({}, j, {
value: A
}),
groupCollapsed: V({}, j, {
value: U
}),
groupEnd: V({}, j, {
value: Q
})
});
}
M < 0 && T("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
}
}
var F = C.ReactCurrentDispatcher, J;
function Z(j, z, te) {
{
if (J === void 0)
try {
throw Error();
} catch (ve) {
var ae = ve.stack.trim().match(/\n( *(at )?)/);
J = ae && ae[1] || "";
}
return `
` + J + j;
}
}
var ne = !1, G;
{
var re = typeof WeakMap == "function" ? WeakMap : Map;
G = new re();
}
function B(j, z) {
if (!j || ne)
return "";
{
var te = G.get(j);
if (te !== void 0)
return te;
}
var ae;
ne = !0;
var ve = Error.prepareStackTrace;
Error.prepareStackTrace = void 0;
var Ne;
Ne = F.current, F.current = null, q();
try {
if (z) {
var ge = function() {
throw Error();
};
if (Object.defineProperty(ge.prototype, "props", {
set: function() {
throw Error();
}
}), typeof Reflect == "object" && Reflect.construct) {
try {
Reflect.construct(ge, []);
} catch (lt) {
ae = lt;
}
Reflect.construct(j, [], ge);
} else {
try {
ge.call();
} catch (lt) {
ae = lt;
}
j.call(ge.prototype);
}
} else {
try {
throw Error();
} catch (lt) {
ae = lt;
}
j();
}
} catch (lt) {
if (lt && ae && typeof lt.stack == "string") {
for (var he = lt.stack.split(`
`), it = ae.stack.split(`
`), Xe = he.length - 1, et = it.length - 1; Xe >= 1 && et >= 0 && he[Xe] !== it[et]; )
et--;
for (; Xe >= 1 && et >= 0; Xe--, et--)
if (he[Xe] !== it[et]) {
if (Xe !== 1 || et !== 1)
do
if (Xe--, et--, et < 0 || he[Xe] !== it[et]) {
var Et = `
` + he[Xe].replace(" at new ", " at ");
return j.displayName && Et.includes("<anonymous>") && (Et = Et.replace("<anonymous>", j.displayName)), typeof j == "function" && G.set(j, Et), Et;
}
while (Xe >= 1 && et >= 0);
break;
}
}
} finally {
ne = !1, F.current = Ne, K(), Error.prepareStackTrace = ve;
}
var Hn = j ? j.displayName || j.name : "", Sn = Hn ? Z(Hn) : "";
return typeof j == "function" && G.set(j, Sn), Sn;
}
function pe(j, z, te) {
return B(j, !1);
}
function Y(j) {
var z = j.prototype;
return !!(z && z.isReactComponent);
}
function ye(j, z, te) {
if (j == null)
return "";
if (typeof j == "function")
return B(j, Y(j));
if (typeof j == "string")
return Z(j);
switch (j) {
case u:
return Z("Suspense");
case d:
return Z("SuspenseList");
}
if (typeof j == "object")
switch (j.$$typeof) {
case l:
return pe(j.render);
case f:
return ye(j.type, z, te);
case m: {
var ae = j, ve = ae._payload, Ne = ae._init;
try {
return ye(Ne(ve), z, te);
} catch {
}
}
}
return "";
}
var Me = Object.prototype.hasOwnProperty, me = {}, De = C.ReactDebugCurrentFrame;
function Fe(j) {
if (j) {
var z = j._owner, te = ye(j.type, j._source, z ? z.type : null);
De.setExtraStackFrame(te);
} else
De.setExtraStackFrame(null);
}
function Qe(j, z, te, ae, ve) {
{
var Ne = Function.call.bind(Me);
for (var ge in j)
if (Ne(j, ge)) {
var he = void 0;
try {
if (typeof j[ge] != "function") {
var it = Error((ae || "React class") + ": " + te + " type `" + ge + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof j[ge] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
throw it.name = "Invariant Violation", it;
}
he = j[ge](z, ge, ae, te, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
} catch (Xe) {
he = Xe;
}
he && !(he instanceof Error) && (Fe(ve), T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ae || "React class", te, ge, typeof he), Fe(null)), he instanceof Error && !(he.message in me) && (me[he.message] = !0, Fe(ve), T("Failed %s type: %s", te, he.message), Fe(null));
}
}
}
var $e = Array.isArray;
function oe(j) {
return $e(j);
}
function Bt(j) {
{
var z = typeof Symbol == "function" && Symbol.toStringTag, te = z && j[Symbol.toStringTag] || j.constructor.name || "Object";
return te;
}
}
function Ft(j) {
try {
return Vt(j), !1;
} catch {
return !0;
}
}
function Vt(j) {
return "" + j;
}
function Ut(j) {
if (Ft(j))
return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Bt(j)), Vt(j);
}
var Pe = C.ReactCurrentOwner, Ke = {
key: !0,
ref: !0,
__self: !0,
__source: !0
}, We, xt;
function _e(j) {
if (Me.call(j, "ref")) {
var z = Object.getOwnPropertyDescriptor(j, "ref").get;
if (z && z.isReactWarning)
return !1;
}
return j.ref !== void 0;
}
function rt(j) {
if (Me.call(j, "key")) {
var z = Object.getOwnPropertyDescriptor(j, "key").get;
if (z && z.isReactWarning)
return !1;
}
return j.key !== void 0;
}
function Xt(j, z) {
typeof j.ref == "string" && Pe.current;
}
function mt(j, z) {
{
var te = function() {
We || (We = !0, T("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", z));
};
te.isReactWarning = !0, Object.defineProperty(j, "key", {
get: te,
configurable: !0
});
}
}
function fs(j, z) {
{
var te = function() {
xt || (xt = !0, T("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", z));
};
te.isReactWarning = !0, Object.defineProperty(j, "ref", {
get: te,
configurable: !0
});
}
}
var Cr = function(j, z, te, ae, ve, Ne, ge) {
var he = {
// This tag allows us to uniquely identify this as a React Element
$$typeof: t,
// Built-in properties that belong on the element
type: j,
key: z,
ref: te,
props: ge,
// Record the component responsible for creating this element.
_owner: Ne
};
return he._store = {}, Object.defineProperty(he._store, "validated", {
configurable: !1,
enumerable: !1,
writable: !0,
value: !1
}), Object.defineProperty(he, "_self", {
configurable: !1,
enumerable: !1,
writable: !1,
value: ae
}), Object.defineProperty(he, "_source", {
configurable: !1,
enumerable: !1,
writable: !1,
value: ve
}), Object.freeze && (Object.freeze(he.props), Object.freeze(he)), he;
};
function ps(j, z, te, ae, ve) {
{
var Ne, ge = {}, he = null, it = null;
te !== void 0 && (Ut(te), he = "" + te), rt(z) && (Ut(z.key), he = "" + z.key), _e(z) && (it = z.ref, Xt(z, ve));
for (Ne in z)
Me.call(z, Ne) && !Ke.hasOwnProperty(Ne) && (ge[Ne] = z[Ne]);
if (j && j.defaultProps) {
var Xe = j.defaultProps;
for (Ne in Xe)
ge[Ne] === void 0 && (ge[Ne] = Xe[Ne]);
}
if (he || it) {
var et = typeof j == "function" ? j.displayName || j.name || "Unknown" : j;
he && mt(ge, et), it && fs(ge, et);
}
return Cr(j, he, it, ve, ae, Pe.current, ge);
}
}
var sn = C.ReactCurrentOwner, $o = C.ReactDebugCurrentFrame;
function an(j) {
if (j) {
var z = j._owner, te = ye(j.type, j._source, z ? z.type : null);
$o.setExtraStackFrame(te);
} else
$o.setExtraStackFrame(null);
}
var Tr;
Tr = !1;
function Or(j) {
return typeof j == "object" && j !== null && j.$$typeof === t;
}
function _o() {
{
if (sn.current) {
var j = _(sn.current.type);
if (j)
return `
Check the render method of \`` + j + "`.";
}
return "";
}
}
function hs(j) {
return "";
}
var Mo = {};
function ms(j) {
{
var z = _o();
if (!z) {
var te = typeof j == "string" ? j : j.displayName || j.name;
te && (z = `
Check the top-level render call using <` + te + ">.");
}
return z;
}
}
function ce(j, z) {
{
if (!j._store || j._store.validated || j.key != null)
return;
j._store.validated = !0;
var te = ms(z);
if (Mo[te])
return;
Mo[te] = !0;
var ae = "";
j && j._owner && j._owner !== sn.current && (ae = " It was passed a child from " + _(j._owner.type) + "."), an(j), T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', te, ae), an(null);
}
}
function ct(j, z) {
{
if (typeof j != "object")
return;
if (oe(j))
for (var te = 0; te < j.length; te++) {
var ae = j[te];
Or(ae) && ce(ae, z);
}
else if (Or(j))
j._store && (j._store.validated = !0);
else if (j) {
var ve = y(j);
if (typeof ve == "function" && ve !== j.entries)
for (var Ne = ve.call(j), ge; !(ge = Ne.next()).done; )
Or(ge.value) && ce(ge.value, z);
}
}
}
function Do(j) {
{
var z = j.type;
if (z == null || typeof z == "string")
return;
var te;
if (typeof z == "function")
te = z.propTypes;
else if (typeof z == "object" && (z.$$typeof === l || // Note: Memo only checks outer props here.
// Inner props are checked in the reconciler.
z.$$typeof === f))
te = z.propTypes;
else
return;
if (te) {
var ae = _(z);
Qe(te, j.props, "prop", ae, j);
} else if (z.PropTypes !== void 0 && !Tr) {
Tr = !0;
var ve = _(z);
T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ve || "Unknown");
}
typeof z.getDefaultProps == "function" && !z.getDefaultProps.isReactClassApproved && T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
}
}
function rm(j) {
{
for (var z = Object.keys(j.props), te = 0; te < z.length; te++) {
var ae = z[te];
if (ae !== "children" && ae !== "key") {
an(j), T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", ae), an(null);
break;
}
}
j.ref !== null && (an(j), T("Invalid attribute `ref` supplied to `React.Fragment`."), an(null));
}
}
var Gc = {};
function Yc(j, z, te, ae, ve, Ne) {
{
var ge = x(j);
if (!ge) {
var he = "";
(j === void 0 || typeof j == "object" && j !== null && Object.keys(j).length === 0) && (he += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
var it = hs();
it ? he += it : he += _o();
var Xe;
j === null ? Xe = "null" : oe(j) ? Xe = "array" : j !== void 0 && j.$$typeof === t ? (Xe = "<" + (_(j.type) || "Unknown") + " />", he = " Did you accidentally export a JSX literal instead of a component?") : Xe = typeof j, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Xe, he);
}
var et = ps(j, z, te, ve, Ne);
if (et == null)
return et;
if (ge) {
var Et = z.children;
if (Et !== void 0)
if (ae)
if (oe(Et)) {
for (var Hn = 0; Hn < Et.length; Hn++)
ct(Et[Hn], j);
Object.freeze && Object.freeze(Et);
} else
T("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
else
ct(Et, j);
}
if (Me.call(z, "key")) {
var Sn = _(j), lt = Object.keys(z).filter(function(lm) {
return lm !== "key";
}), gs = lt.length > 0 ? "{key: someKey, " + lt.join(": ..., ") + ": ...}" : "{key: someKey}";
if (!Gc[Sn + gs]) {
var cm = lt.length > 0 ? "{" + lt.join(": ..., ") + ": ...}" : "{}";
T(`A props object containing a "key" prop is being spread into JSX:
let props = %s;
<%s {...props} />
React keys must be passed directly to JSX without using spread:
let props = %s;
<%s key={someKey} {...props} />`, gs, Sn, cm, Sn), Gc[Sn + gs] = !0;
}
}
return j === r ? rm(et) : Do(et), et;
}
}
function om(j, z, te) {
return Yc(j, z, te, !0);
}
function im(j, z, te) {
return Yc(j, z, te, !1);
}
var sm = im, am = om;
jr.Fragment = r, jr.jsx = sm, jr.jsxs = am;
}()), jr;
}
process.env.NODE_ENV === "production" ? Xs.exports = $m() : Xs.exports = _m();
var h = Xs.exports, Js = { exports: {} }, Bo = { exports: {} }, be = {};
/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var el;
function Mm() {
if (el) return be;
el = 1;
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119;
function w(S) {
if (typeof S == "object" && S !== null) {
var O = S.$$typeof;
switch (O) {
case t:
switch (S = S.type, S) {
case l:
case u:
case r:
case i:
case o:
case f:
return S;
default:
switch (S = S && S.$$typeof, S) {
case c:
case d:
case g:
case b:
case a:
return S;
default:
return O;
}
}
case n:
return O;
}
}
}
function E(S) {
return w(S) === u;
}
return be.AsyncMode = l, be.ConcurrentMode = u, be.ContextConsumer = c, be.ContextProvider = a, be.Element = t, be.ForwardRef = d, be.Fragment = r, be.Lazy = g, be.Memo = b, be.Portal = n, be.Profiler = i, be.StrictMode = o, be.Suspense = f, be.isAsyncMode = function(S) {
return E(S) || w(S) === l;
}, be.isConcurrentMode = E, be.isContextConsumer = function(S) {
return w(S) === c;
}, be.isContextProvider = function(S) {
return w(S) === a;
}, be.isElement = function(S) {
return typeof S == "object" && S !== null && S.$$typeof === t;
}, be.isForwardRef = function(S) {
return w(S) === d;
}, be.isFragment = function(S) {
return w(S) === r;
}, be.isLazy = function(S) {
return w(S) === g;
}, be.isMemo = function(S) {
return w(S) === b;
}, be.isPortal = function(S) {
return w(S) === n;
}, be.isProfiler = function(S) {
return w(S) === i;
}, be.isStrictMode = function(S) {
return w(S) === o;
}, be.isSuspense = function(S) {
return w(S) === f;
}, be.isValidElementType = function(S) {
return typeof S == "string" || typeof S == "function" || S === r || S === u || S === i || S === o || S === f || S === m || typeof S == "object" && S !== null && (S.$$typeof === g || S.$$typeof === b || S.$$typeof === a || S.$$typeof === c || S.$$typeof === d || S.$$typeof === y || S.$$typeof === C || S.$$typeof === T || S.$$typeof === p);
}, be.typeOf = w, be;
}
var xe = {};
/** @license React v16.13.1
* react-is.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var tl;
function Dm() {
return tl || (tl = 1, process.env.NODE_ENV !== "production" && function() {
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119;
function w(B) {
return typeof B == "string" || typeof B == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
B === r || B === u || B === i || B === o || B === f || B === m || typeof B == "object" && B !== null && (B.$$typeof === g || B.$$typeof === b || B.$$typeof === a || B.$$typeof === c || B.$$typeof === d || B.$$typeof === y || B.$$typeof === C || B.$$typeof === T || B.$$typeof === p);
}
function E(B) {
if (typeof B == "object" && B !== null) {
var pe = B.$$typeof;
switch (pe) {
case t:
var Y = B.type;
switch (Y) {
case l:
case u:
case r:
case i:
case o:
case f:
return Y;
default:
var ye = Y && Y.$$typeof;
switch (ye) {
case c:
case d:
case g:
case b:
case a:
return ye;
default:
return pe;
}
}
case n:
return pe;
}
}
}
var S = l, O = u, R = c, P = a, N = t, x = d, k = r, L = g, _ = b, V = n, M = i, D = o, W = f, H = !1;
function X(B) {
return H || (H = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), A(B) || E(B) === l;
}
function A(B) {
return E(B) === u;
}
function U(B) {
return E(B) === c;
}
function Q(B) {
return E(B) === a;
}
function ee(B) {
return typeof B == "object" && B !== null && B.$$typeof === t;
}
function q(B) {
return E(B) === d;
}
function K(B) {
return E(B) === r;
}
function F(B) {
return E(B) === g;
}
function J(B) {
return E(B) === b;
}
function Z(B) {
return E(B) === n;
}
function ne(B) {
return E(B) === i;
}
function G(B) {
return E(B) === o;
}
function re(B) {
return E(B) === f;
}
xe.AsyncMode = S, xe.ConcurrentMode = O, xe.ContextConsumer = R, xe.ContextProvider = P, xe.Element = N, xe.ForwardRef = x, xe.Fragment = k, xe.Lazy = L, xe.Memo = _, xe.Portal = V, xe.Profiler = M, xe.StrictMode = D, xe.Suspense = W, xe.isAsyncMode = X, xe.isConcurrentMode = A, xe.isContextConsumer = U, xe.isContextProvider = Q, xe.isElement = ee, xe.isForwardRef = q, xe.isFragment = K, xe.isLazy = F, xe.isMemo = J, xe.isPortal = Z, xe.isProfiler = ne, xe.isStrictMode = G, xe.isSuspense = re, xe.isValidElementType = w, xe.typeOf = E;
}()), xe;
}
var nl;
function Wd() {
return nl || (nl = 1, process.env.NODE_ENV === "production" ? Bo.exports = Mm() : Bo.exports = Dm()), Bo.exports;
}
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
var ys, rl;
function Lm() {
if (rl) return ys;
rl = 1;
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
function r(i) {
if (i == null)
throw new TypeError("Object.assign cannot be called with null or undefined");
return Object(i);
}
function o() {
try {
if (!Object.assign)
return !1;
var i = new String("abc");
if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
return !1;
for (var a = {}, c = 0; c < 10; c++)
a["_" + String.fromCharCode(c)] = c;
var l = Object.getOwnPropertyNames(a).map(function(d) {
return a[d];
});
if (l.join("") !== "0123456789")
return !1;
var u = {};
return "abcdefghijklmnopqrst".split("").forEach(function(d) {
u[d] = d;
}), Object.keys(Object.assign({}, u)).join("") === "abcdefghijklmnopqrst";
} catch {
return !1;
}
}
return ys = o() ? Object.assign : function(i, a) {
for (var c, l = r(i), u, d = 1; d < arguments.length; d++) {
c = Object(arguments[d]);
for (var f in c)
t.call(c, f) && (l[f] = c[f]);
if (e) {
u = e(c);
for (var m = 0; m < u.length; m++)
n.call(c, u[m]) && (l[u[m]] = c[u[m]]);
}
}
return l;
}, ys;
}
var vs, ol;
function La() {
if (ol) return vs;
ol = 1;
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
return vs = e, vs;
}
var bs, il;
function Hd() {
return il || (il = 1, bs = Function.call.bind(Object.prototype.hasOwnProperty)), bs;
}
var xs, sl;
function Bm() {
if (sl) return xs;
sl = 1;
var e = function() {
};
if (process.env.NODE_ENV !== "production") {
var t = La(), n = {}, r = Hd();
e = function(i) {
var a = "Warning: " + i;
typeof console < "u" && console.error(a);
try {
throw new Error(a);
} catch {
}
};
}
function o(i, a, c, l, u) {
if (process.env.NODE_ENV !== "production") {
for (var d in i)
if (r(i, d)) {
var f;
try {
if (typeof i[d] != "function") {
var m = Error(
(l || "React class") + ": " + c + " type `" + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[d] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
);
throw m.name = "Invariant Violation", m;
}
f = i[d](a, d, l, c, null, t);
} catch (g) {
f = g;
}
if (f && !(f instanceof Error) && e(
(l || "React class") + ": type specification of " + c + " `" + d + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof f + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
), f instanceof Error && !(f.message in n)) {
n[f.message] = !0;
var b = u ? u() : "";
e(
"Failed " + c + " type: " + f.message + (b ?? "")
);
}
}
}
}
return o.resetWarningCache = function() {
process.env.NODE_ENV !== "production" && (n = {});
}, xs = o, xs;
}
var Es, al;
function Fm() {
if (al) return Es;
al = 1;
var e = Wd(), t = Lm(), n = La(), r = Hd(), o = Bm(), i = function() {
};
process.env.NODE_ENV !== "production" && (i = function(c) {
var l = "Warning: " + c;
typeof console < "u" && console.error(l);
try {
throw new Error(l);
} catch {
}
});
function a() {
return null;
}
return Es = function(c, l) {
var u = typeof Symbol == "function" && Symbol.iterator, d = "@@iterator";
function f(A) {
var U = A && (u && A[u] || A[d]);
if (typeof U == "function")
return U;
}
var m = "<<anonymous>>", b = {
array: C("array"),
bigint: C("bigint"),
bool: C("boolean"),
func: C("function"),
number: C("number"),
object: C("object"),
string: C("string"),
symbol: C("symbol"),
any: T(),
arrayOf: w,
element: E(),
elementType: S(),
instanceOf: O,
node: x(),
objectOf: P,
oneOf: R,
oneOfType: N,
shape: L,
exact: _
};
function g(A, U) {
return A === U ? A !== 0 || 1 / A === 1 / U : A !== A && U !== U;
}
function p(A, U) {
this.message = A, this.data = U && typeof U == "object" ? U : {}, this.stack = "";
}
p.prototype = Error.prototype;
function y(A) {
if (process.env.NODE_ENV !== "production")
var U = {}, Q = 0;
function ee(K, F, J, Z, ne, G, re) {
if (Z = Z || m, G = G || J, re !== n) {
if (l) {
var B = new Error(
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
);
throw B.name = "Invariant Violation", B;
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
var pe = Z + ":" + J;
!U[pe] && // Avoid spamming the console because they are often not actionable except for lib authors
Q < 3 && (i(
"You are manually calling a React.PropTypes validation function for the `" + G + "` prop on `" + Z + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
), U[pe] = !0, Q++);
}
}
return F[J] == null ? K ? F[J] === null ? new p("The " + ne + " `" + G + "` is marked as required " + ("in `" + Z + "`, but its value is `null`.")) : new p("The " + ne + " `" + G + "` is marked as required in " + ("`" + Z + "`, but its value is `undefined`.")) : null : A(F, J, Z, ne, G);
}
var q = ee.bind(null, !1);
return q.isRequired = ee.bind(null, !0), q;
}
function C(A) {
function U(Q, ee, q, K, F, J) {
var Z = Q[ee], ne = D(Z);
if (ne !== A) {
var G = W(Z);
return new p(
"Invalid " + K + " `" + F + "` of type " + ("`" + G + "` supplied to `" + q + "`, expected ") + ("`" + A + "`."),
{ expectedType: A }
);
}
return null;
}
return y(U);
}
function T() {
return y(a);
}
function w(A) {
function U(Q, ee, q, K, F) {
if (typeof A != "function")
return new p("Property `" + F + "` of component `" + q + "` has invalid PropType notation inside arrayOf.");
var J = Q[ee];
if (!Array.isArray(J)) {
var Z = D(J);
return new p("Invalid " + K + " `" + F + "` of type " + ("`" + Z + "` supplied to `" + q + "`, expected an array."));
}
for (var ne = 0; ne < J.length; ne++) {
var G = A(J, ne, q, K, F + "[" + ne + "]", n);
if (G instanceof Error)
return G;
}
return null;
}
return y(U);
}
function E() {
function A(U, Q, ee, q, K) {
var F = U[Q];
if (!c(F)) {
var J = D(F);
return new p("Invalid " + q + " `" + K + "` of type " + ("`" + J + "` supplied to `" + ee + "`, expected a single ReactElement."));
}
return null;
}
return y(A);
}
function S() {
function A(U, Q, ee, q, K) {
var F = U[Q];
if (!e.isValidElementType(F)) {
var J = D(F);
return new p("Invalid " + q + " `" + K + "` of type " + ("`" + J + "` supplied to `" + ee + "`, expected a single ReactElement type."));
}
return null;
}
return y(A);
}
function O(A) {
function U(Q, ee, q, K, F) {
if (!(Q[ee] instanceof A)) {
var J = A.name || m, Z = X(Q[ee]);
return new p("Invalid " + K + " `" + F + "` of type " + ("`" + Z + "` supplied to `" + q + "`, expected ") + ("instance of `" + J + "`."));
}
return null;
}
return y(U);
}
function R(A) {
if (!Array.isArray(A))
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
) : i("Invalid argument supplied to oneOf, expected an array.")), a;
function U(Q, ee, q, K, F) {
for (var J = Q[ee], Z = 0; Z < A.length; Z++)
if (g(J, A[Z]))
return null;
var ne = JSON.stringify(A, function(re, B) {
var pe = W(B);
return pe === "symbol" ? String(B) : B;
});
return new p("Invalid " + K + " `" + F + "` of value `" + String(J) + "` " + ("supplied to `" + q + "`, expected one of " + ne + "."));
}
return y(U);
}
function P(A) {
function U(Q, ee, q, K, F) {
if (typeof A != "function")
return new p("Property `" + F + "` of component `" + q + "` has invalid PropType notation inside objectOf.");
var J = Q[ee], Z = D(J);
if (Z !== "object")
return new p("Invalid " + K + " `" + F + "` of type " + ("`" + Z + "` supplied to `" + q + "`, expected an object."));
for (var ne in J)
if (r(J, ne)) {
var G = A(J, ne, q, K, F + "." + ne, n);
if (G instanceof Error)
return G;
}
return null;
}
return y(U);
}
function N(A) {
if (!Array.isArray(A))
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), a;
for (var U = 0; U < A.length; U++) {
var Q = A[U];
if (typeof Q != "function")
return i(
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + H(Q) + " at index " + U + "."
), a;
}
function ee(q, K, F, J, Z) {
for (var ne = [], G = 0; G < A.length; G++) {
var re = A[G], B = re(q, K, F, J, Z, n);
if (B == null)
return null;
B.data && r(B.data, "expectedType") && ne.push(B.data.expectedType);
}
var pe = ne.length > 0 ? ", expected one of type [" + ne.join(", ") + "]" : "";
return new p("Invalid " + J + " `" + Z + "` supplied to " + ("`" + F + "`" + pe + "."));
}
return y(ee);
}
function x() {
function A(U, Q, ee, q, K) {
return V(U[Q]) ? null : new p("Invalid " + q + " `" + K + "` supplied to " + ("`" + ee + "`, expected a ReactNode."));
}
return y(A);
}
function k(A, U, Q, ee, q) {
return new p(
(A || "React class") + ": " + U + " type `" + Q + "." + ee + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + q + "`."
);
}
function L(A) {
function U(Q, ee, q, K, F) {
var J = Q[ee], Z = D(J);
if (Z !== "object")
return new p("Invalid " + K + " `" + F + "` of type `" + Z + "` " + ("supplied to `" + q + "`, expected `object`."));
for (var ne in A) {
var G = A[ne];
if (typeof G != "function")
return k(q, K, F, ne, W(G));
var re = G(J, ne, q, K, F + "." + ne, n);
if (re)
return re;
}
return null;
}
return y(U);
}
function _(A) {
function U(Q, ee, q, K, F) {
var J = Q[ee], Z = D(J);
if (Z !== "object")
return new p("Invalid " + K + " `" + F + "` of type `" + Z + "` " + ("supplied to `" + q + "`, expected `object`."));
var ne = t({}, Q[ee], A);
for (var G in ne) {
var re = A[G];
if (r(A, G) && typeof re != "function")
return k(q, K, F, G, W(re));
if (!re)
return new p(
"Invalid " + K + " `" + F + "` key `" + G + "` supplied to `" + q + "`.\nBad object: " + JSON.stringify(Q[ee], null, " ") + `
Valid keys: ` + JSON.stringify(Object.keys(A), null, " ")
);
var B = re(J, G, q, K, F + "." + G, n);
if (B)
return B;
}
return null;
}
return y(U);
}
function V(A) {
switch (typeof A) {
case "number":
case "string":
case "undefined":
return !0;
case "boolean":
return !A;
case "object":
if (Array.isArray(A))
return A.every(V);
if (A === null || c(A))
return !0;
var U = f(A);
if (U) {
var Q = U.call(A), ee;
if (U !== A.entries) {
for (; !(ee = Q.next()).done; )
if (!V(ee.value))
return !1;
} else
for (; !(ee = Q.next()).done; ) {
var q = ee.value;
if (q && !V(q[1]))
return !1;
}
} else
return !1;
return !0;
default:
return !1;
}
}
function M(A, U) {
return A === "symbol" ? !0 : U ? U["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && U instanceof Symbol : !1;
}
function D(A) {
var U = typeof A;
return Array.isArray(A) ? "array" : A instanceof RegExp ? "object" : M(U, A) ? "symbol" : U;
}
function W(A) {
if (typeof A > "u" || A === null)
return "" + A;
var U = D(A);
if (U === "object") {
if (A instanceof Date)
return "date";
if (A instanceof RegExp)
return "regexp";
}
return U;
}
function H(A) {
var U = W(A);
switch (U) {
case "array":
case "object":
return "an " + U;
case "boolean":
case "date":
case "regexp":
return "a " + U;
default:
return U;
}
}
function X(A) {
return !A.constructor || !A.constructor.name ? m : A.constructor.name;
}
return b.checkPropTypes = o, b.resetWarningCache = o.resetWarningCache, b.PropTypes = b, b;
}, Es;
}
var Ss, cl;
function Vm() {
if (cl) return Ss;
cl = 1;
var e = La();
function t() {
}
function n() {
}
return n.resetWarningCache = t, Ss = function() {
function r(a, c, l, u, d, f) {
if (f !== e) {
var m = new Error(
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
);
throw m.name = "Invariant Violation", m;
}
}
r.isRequired = r;
function o() {
return r;
}
var i = {
array: r,
bigint: r,
bool: r,
func: r,
number: r,
object: r,
string: r,
symbol: r,
any: r,
arrayOf: o,
element: r,
elementType: r,
instanceOf: o,
node: r,
objectOf: o,
oneOf: o,
oneOfType: o,
shape: o,
exact: o,
checkPropTypes: n,
resetWarningCache: t
};
return i.PropTypes = i, i;
}, Ss;
}
if (process.env.NODE_ENV !== "production") {
var Um = Wd(), zm = !0;
Js.exports = Fm()(Um.isElement, zm);
} else
Js.exports = Vm()();
var Wm = Js.exports;
const s = /* @__PURE__ */ Da(Wm);
function fn(e, ...t) {
const n = new URL(`https://mui.com/production-error/?code=${e}`);
return t.forEach((r) => n.searchParams.append("args[]", r)), `Minified MUI error #${e}; visit ${n} for the full message.`;
}
const It = "$$material";
function Hm(e) {
for (var t = 0, n, r = 0, o = e.length; o >= 4; ++r, o -= 4)
n = e.charCodeAt(r) & 255 | (e.charCodeAt(++r) & 255) << 8 | (e.charCodeAt(++r) & 255) << 16 | (e.charCodeAt(++r) & 255) << 24, n = /* Math.imul(k, m): */
(n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
n >>> 24, t = /* Math.imul(k, m): */
(n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
switch (o) {
case 3:
t ^= (e.charCodeAt(r + 2) & 255) << 16;
case 2:
t ^= (e.charCodeAt(r + 1) & 255) << 8;
case 1:
t ^= e.charCodeAt(r) & 255, t = /* Math.imul(h, m): */
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
}
return t ^= t >>> 13, t = /* Math.imul(h, m): */
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
}
var qm = {
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,
scale: 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
};
function Gm(e) {
var t = /* @__PURE__ */ Object.create(null);
return function(n) {
return t[n] === void 0 && (t[n] = e(n)), t[n];
};
}
var Ym = /[A-Z]|^ms/g, Km = /_EMO_([^_]+?)_([^]*?)_EMO_/g, qd = function(t) {
return t.charCodeAt(1) === 45;
}, ll = function(t) {
return t != null && typeof t != "boolean";
}, ws = /* @__PURE__ */ Gm(function(e) {
return qd(e) ? e : e.replace(Ym, "-$&").toLowerCase();
}), ul = function(t, n) {
switch (t) {
case "animation":
case "animationName":
if (typeof n == "string")
return n.replace(Km, function(r, o, i) {
return un = {
name: o,
styles: i,
next: un
}, o;
});
}
return qm[t] !== 1 && !qd(t) && typeof n == "number" && n !== 0 ? n + "px" : n;
};
function gi(e, t, n) {
if (n == null)
return "";
var r = n;
if (r.__emotion_styles !== void 0)
return r;
switch (typeof n) {
case "boolean":
return "";
case "object": {
var o = n;
if (o.anim === 1)
return un = {
name: o.name,
styles: o.styles,
next: un
}, o.name;
var i = n;
if (i.styles !== void 0) {
var a = i.next;
if (a !== void 0)
for (; a !== void 0; )
un = {
name: a.name,
styles: a.styles,
next: un
}, a = a.next;
var c = i.styles + ";";
return c;
}
return Xm(e, t, n);
}
}
var l = n;
return l;
}
function Xm(e, t, n) {
var r = "";
if (Array.isArray(n))
for (var o = 0; o < n.length; o++)
r += gi(e, t, n[o]) + ";";
else
for (var i in n) {
var a = n[i];
if (typeof a != "object") {
var c = a;
ll(c) &&