@js-smart/react-kit 5.7.0 → 5.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +74 -0
- package/index.js +4071 -25
- package/lib/components/NextLink.d.ts +8 -6
- package/lib/components/OpenInNewIconLink.d.ts +2 -2
- package/lib/components/buttons/EditIconButton.d.ts +1 -1
- package/package.json +9 -9
- package/index.mjs +0 -4096
package/index.cjs
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";var Vr=Object.defineProperty;var zr=(e,t,r)=>t in e?Vr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var je=(e,t,r)=>zr(e,typeof t!="symbol"?t+"":t,r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("react/jsx-runtime"),_=require("@mui/material"),ye=require("react"),Fr=require("@emotion/styled"),Ur=require("@emotion/react"),vr=require("react-router-dom"),Ct=require("date-fns");function Yr(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const pe=Yr(ye),Bt=e=>e,Wr=()=>{let e=Bt;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Bt}}},Hr=Wr();function Se(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}function we(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Se(7));return e.charAt(0).toUpperCase()+e.slice(1)}function qr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ye={exports:{}},We={exports:{}},z={};/** @license React v16.13.1
|
|
2
|
+
* react-is.production.min.js
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/var Dt;function Gr(){if(Dt)return z;Dt=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,C=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,s=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,$=e?Symbol.for("react.responder"):60118,J=e?Symbol.for("react.scope"):60119;function w(g){if(typeof g=="object"&&g!==null){var V=g.$$typeof;switch(V){case t:switch(g=g.type,g){case u:case f:case n:case i:case o:case h:return g;default:switch(g=g&&g.$$typeof,g){case l:case m:case b:case C:case c:return g;default:return V}}case r:return V}}}function O(g){return w(g)===f}return z.AsyncMode=u,z.ConcurrentMode=f,z.ContextConsumer=l,z.ContextProvider=c,z.Element=t,z.ForwardRef=m,z.Fragment=n,z.Lazy=b,z.Memo=C,z.Portal=r,z.Profiler=i,z.StrictMode=o,z.Suspense=h,z.isAsyncMode=function(g){return O(g)||w(g)===u},z.isConcurrentMode=O,z.isContextConsumer=function(g){return w(g)===l},z.isContextProvider=function(g){return w(g)===c},z.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},z.isForwardRef=function(g){return w(g)===m},z.isFragment=function(g){return w(g)===n},z.isLazy=function(g){return w(g)===b},z.isMemo=function(g){return w(g)===C},z.isPortal=function(g){return w(g)===r},z.isProfiler=function(g){return w(g)===i},z.isStrictMode=function(g){return w(g)===o},z.isSuspense=function(g){return w(g)===h},z.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===n||g===f||g===i||g===o||g===h||g===p||typeof g=="object"&&g!==null&&(g.$$typeof===b||g.$$typeof===C||g.$$typeof===c||g.$$typeof===l||g.$$typeof===m||g.$$typeof===T||g.$$typeof===$||g.$$typeof===J||g.$$typeof===s)},z.typeOf=w,z}var F={};/** @license React v16.13.1
|
|
9
|
+
* react-is.development.js
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
12
|
+
*
|
|
13
|
+
* This source code is licensed under the MIT license found in the
|
|
14
|
+
* LICENSE file in the root directory of this source tree.
|
|
15
|
+
*/var Lt;function Kr(){return Lt||(Lt=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,C=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,s=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,$=e?Symbol.for("react.responder"):60118,J=e?Symbol.for("react.scope"):60119;function w(S){return typeof S=="string"||typeof S=="function"||S===n||S===f||S===i||S===o||S===h||S===p||typeof S=="object"&&S!==null&&(S.$$typeof===b||S.$$typeof===C||S.$$typeof===c||S.$$typeof===l||S.$$typeof===m||S.$$typeof===T||S.$$typeof===$||S.$$typeof===J||S.$$typeof===s)}function O(S){if(typeof S=="object"&&S!==null){var de=S.$$typeof;switch(de){case t:var Ue=S.type;switch(Ue){case u:case f:case n:case i:case o:case h:return Ue;default:var Nt=Ue&&Ue.$$typeof;switch(Nt){case l:case m:case b:case C:case c:return Nt;default:return de}}case r:return de}}}var g=u,V=f,G=l,ne=c,K=t,a=m,x=n,I=b,j=C,te=r,re=i,oe=o,ae=h,Te=!1;function $e(S){return Te||(Te=!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.")),y(S)||O(S)===u}function y(S){return O(S)===f}function E(S){return O(S)===l}function M(S){return O(S)===c}function R(S){return typeof S=="object"&&S!==null&&S.$$typeof===t}function A(S){return O(S)===m}function N(S){return O(S)===n}function k(S){return O(S)===b}function P(S){return O(S)===C}function B(S){return O(S)===r}function U(S){return O(S)===i}function D(S){return O(S)===o}function ie(S){return O(S)===h}F.AsyncMode=g,F.ConcurrentMode=V,F.ContextConsumer=G,F.ContextProvider=ne,F.Element=K,F.ForwardRef=a,F.Fragment=x,F.Lazy=I,F.Memo=j,F.Portal=te,F.Profiler=re,F.StrictMode=oe,F.Suspense=ae,F.isAsyncMode=$e,F.isConcurrentMode=y,F.isContextConsumer=E,F.isContextProvider=M,F.isElement=R,F.isForwardRef=A,F.isFragment=N,F.isLazy=k,F.isMemo=P,F.isPortal=B,F.isProfiler=U,F.isStrictMode=D,F.isSuspense=ie,F.isValidElementType=w,F.typeOf=O}()),F}var Vt;function Sr(){return Vt||(Vt=1,process.env.NODE_ENV==="production"?We.exports=Gr():We.exports=Kr()),We.exports}/*
|
|
16
|
+
object-assign
|
|
17
|
+
(c) Sindre Sorhus
|
|
18
|
+
@license MIT
|
|
19
|
+
*/var ft,zt;function Qr(){if(zt)return ft;zt=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(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 c={},l=0;l<10;l++)c["_"+String.fromCharCode(l)]=l;var u=Object.getOwnPropertyNames(c).map(function(m){return c[m]});if(u.join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(m){f[m]=m}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return ft=o()?Object.assign:function(i,c){for(var l,u=n(i),f,m=1;m<arguments.length;m++){l=Object(arguments[m]);for(var h in l)t.call(l,h)&&(u[h]=l[h]);if(e){f=e(l);for(var p=0;p<f.length;p++)r.call(l,f[p])&&(u[f[p]]=l[f[p]])}}return u},ft}var dt,Ft;function Ot(){if(Ft)return dt;Ft=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return dt=e,dt}var mt,Ut;function Cr(){return Ut||(Ut=1,mt=Function.call.bind(Object.prototype.hasOwnProperty)),mt}var pt,Yt;function Jr(){if(Yt)return pt;Yt=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Ot(),r={},n=Cr();e=function(i){var c="Warning: "+i;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}}}function o(i,c,l,u,f){if(process.env.NODE_ENV!=="production"){for(var m in i)if(n(i,m)){var h;try{if(typeof i[m]!="function"){var p=Error((u||"React class")+": "+l+" type `"+m+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[m]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}h=i[m](c,m,u,l,null,t)}catch(b){h=b}if(h&&!(h instanceof Error)&&e((u||"React class")+": type specification of "+l+" `"+m+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof h+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),h instanceof Error&&!(h.message in r)){r[h.message]=!0;var C=f?f():"";e("Failed "+l+" type: "+h.message+(C??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},pt=o,pt}var ht,Wt;function Xr(){if(Wt)return ht;Wt=1;var e=Sr(),t=Qr(),r=Ot(),n=Cr(),o=Jr(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(l){var u="Warning: "+l;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}});function c(){return null}return ht=function(l,u){var f=typeof Symbol=="function"&&Symbol.iterator,m="@@iterator";function h(y){var E=y&&(f&&y[f]||y[m]);if(typeof E=="function")return E}var p="<<anonymous>>",C={array:$("array"),bigint:$("bigint"),bool:$("boolean"),func:$("function"),number:$("number"),object:$("object"),string:$("string"),symbol:$("symbol"),any:J(),arrayOf:w,element:O(),elementType:g(),instanceOf:V,node:a(),objectOf:ne,oneOf:G,oneOfType:K,shape:I,exact:j};function b(y,E){return y===E?y!==0||1/y===1/E:y!==y&&E!==E}function s(y,E){this.message=y,this.data=E&&typeof E=="object"?E:{},this.stack=""}s.prototype=Error.prototype;function T(y){if(process.env.NODE_ENV!=="production")var E={},M=0;function R(N,k,P,B,U,D,ie){if(B=B||p,D=D||P,ie!==r){if(u){var S=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 S.name="Invariant Violation",S}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var de=B+":"+P;!E[de]&&M<3&&(i("You are manually calling a React.PropTypes validation function for the `"+D+"` prop on `"+B+"`. 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."),E[de]=!0,M++)}}return k[P]==null?N?k[P]===null?new s("The "+U+" `"+D+"` is marked as required "+("in `"+B+"`, but its value is `null`.")):new s("The "+U+" `"+D+"` is marked as required in "+("`"+B+"`, but its value is `undefined`.")):null:y(k,P,B,U,D)}var A=R.bind(null,!1);return A.isRequired=R.bind(null,!0),A}function $(y){function E(M,R,A,N,k,P){var B=M[R],U=oe(B);if(U!==y){var D=ae(B);return new s("Invalid "+N+" `"+k+"` of type "+("`"+D+"` supplied to `"+A+"`, expected ")+("`"+y+"`."),{expectedType:y})}return null}return T(E)}function J(){return T(c)}function w(y){function E(M,R,A,N,k){if(typeof y!="function")return new s("Property `"+k+"` of component `"+A+"` has invalid PropType notation inside arrayOf.");var P=M[R];if(!Array.isArray(P)){var B=oe(P);return new s("Invalid "+N+" `"+k+"` of type "+("`"+B+"` supplied to `"+A+"`, expected an array."))}for(var U=0;U<P.length;U++){var D=y(P,U,A,N,k+"["+U+"]",r);if(D instanceof Error)return D}return null}return T(E)}function O(){function y(E,M,R,A,N){var k=E[M];if(!l(k)){var P=oe(k);return new s("Invalid "+A+" `"+N+"` of type "+("`"+P+"` supplied to `"+R+"`, expected a single ReactElement."))}return null}return T(y)}function g(){function y(E,M,R,A,N){var k=E[M];if(!e.isValidElementType(k)){var P=oe(k);return new s("Invalid "+A+" `"+N+"` of type "+("`"+P+"` supplied to `"+R+"`, expected a single ReactElement type."))}return null}return T(y)}function V(y){function E(M,R,A,N,k){if(!(M[R]instanceof y)){var P=y.name||p,B=$e(M[R]);return new s("Invalid "+N+" `"+k+"` of type "+("`"+B+"` supplied to `"+A+"`, expected ")+("instance of `"+P+"`."))}return null}return T(E)}function G(y){if(!Array.isArray(y))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.")),c;function E(M,R,A,N,k){for(var P=M[R],B=0;B<y.length;B++)if(b(P,y[B]))return null;var U=JSON.stringify(y,function(ie,S){var de=ae(S);return de==="symbol"?String(S):S});return new s("Invalid "+N+" `"+k+"` of value `"+String(P)+"` "+("supplied to `"+A+"`, expected one of "+U+"."))}return T(E)}function ne(y){function E(M,R,A,N,k){if(typeof y!="function")return new s("Property `"+k+"` of component `"+A+"` has invalid PropType notation inside objectOf.");var P=M[R],B=oe(P);if(B!=="object")return new s("Invalid "+N+" `"+k+"` of type "+("`"+B+"` supplied to `"+A+"`, expected an object."));for(var U in P)if(n(P,U)){var D=y(P,U,A,N,k+"."+U,r);if(D instanceof Error)return D}return null}return T(E)}function K(y){if(!Array.isArray(y))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),c;for(var E=0;E<y.length;E++){var M=y[E];if(typeof M!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Te(M)+" at index "+E+"."),c}function R(A,N,k,P,B){for(var U=[],D=0;D<y.length;D++){var ie=y[D],S=ie(A,N,k,P,B,r);if(S==null)return null;S.data&&n(S.data,"expectedType")&&U.push(S.data.expectedType)}var de=U.length>0?", expected one of type ["+U.join(", ")+"]":"";return new s("Invalid "+P+" `"+B+"` supplied to "+("`"+k+"`"+de+"."))}return T(R)}function a(){function y(E,M,R,A,N){return te(E[M])?null:new s("Invalid "+A+" `"+N+"` supplied to "+("`"+R+"`, expected a ReactNode."))}return T(y)}function x(y,E,M,R,A){return new s((y||"React class")+": "+E+" type `"+M+"."+R+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+A+"`.")}function I(y){function E(M,R,A,N,k){var P=M[R],B=oe(P);if(B!=="object")return new s("Invalid "+N+" `"+k+"` of type `"+B+"` "+("supplied to `"+A+"`, expected `object`."));for(var U in y){var D=y[U];if(typeof D!="function")return x(A,N,k,U,ae(D));var ie=D(P,U,A,N,k+"."+U,r);if(ie)return ie}return null}return T(E)}function j(y){function E(M,R,A,N,k){var P=M[R],B=oe(P);if(B!=="object")return new s("Invalid "+N+" `"+k+"` of type `"+B+"` "+("supplied to `"+A+"`, expected `object`."));var U=t({},M[R],y);for(var D in U){var ie=y[D];if(n(y,D)&&typeof ie!="function")return x(A,N,k,D,ae(ie));if(!ie)return new s("Invalid "+N+" `"+k+"` key `"+D+"` supplied to `"+A+"`.\nBad object: "+JSON.stringify(M[R],null," ")+`
|
|
20
|
+
Valid keys: `+JSON.stringify(Object.keys(y),null," "));var S=ie(P,D,A,N,k+"."+D,r);if(S)return S}return null}return T(E)}function te(y){switch(typeof y){case"number":case"string":case"undefined":return!0;case"boolean":return!y;case"object":if(Array.isArray(y))return y.every(te);if(y===null||l(y))return!0;var E=h(y);if(E){var M=E.call(y),R;if(E!==y.entries){for(;!(R=M.next()).done;)if(!te(R.value))return!1}else for(;!(R=M.next()).done;){var A=R.value;if(A&&!te(A[1]))return!1}}else return!1;return!0;default:return!1}}function re(y,E){return y==="symbol"?!0:E?E["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&E instanceof Symbol:!1}function oe(y){var E=typeof y;return Array.isArray(y)?"array":y instanceof RegExp?"object":re(E,y)?"symbol":E}function ae(y){if(typeof y>"u"||y===null)return""+y;var E=oe(y);if(E==="object"){if(y instanceof Date)return"date";if(y instanceof RegExp)return"regexp"}return E}function Te(y){var E=ae(y);switch(E){case"array":case"object":return"an "+E;case"boolean":case"date":case"regexp":return"a "+E;default:return E}}function $e(y){return!y.constructor||!y.constructor.name?p:y.constructor.name}return C.checkPropTypes=o,C.resetWarningCache=o.resetWarningCache,C.PropTypes=C,C},ht}var gt,Ht;function Zr(){if(Ht)return gt;Ht=1;var e=Ot();function t(){}function r(){}return r.resetWarningCache=t,gt=function(){function n(c,l,u,f,m,h){if(h!==e){var p=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 p.name="Invariant Violation",p}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},gt}var qt;function en(){if(qt)return Ye.exports;if(qt=1,process.env.NODE_ENV!=="production"){var e=Sr(),t=!0;Ye.exports=Xr()(e.isElement,t)}else Ye.exports=Zr()();return Ye.exports}var tn=en();const L=qr(tn);function Er(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Er(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Tr(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Er(e))&&(n&&(n+=" "),n+=t);return n}function rn(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let c="",l=!0;for(let u=0;u<i.length;u+=1){const f=i[u];f&&(c+=(l===!0?"":" ")+t(f),l=!1,r&&r[f]&&(c+=" "+r[f]))}n[o]=c}return n}var He={exports:{}},Y={};/**
|
|
21
|
+
* @license React
|
|
22
|
+
* react-is.production.js
|
|
23
|
+
*
|
|
24
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
25
|
+
*
|
|
26
|
+
* This source code is licensed under the MIT license found in the
|
|
27
|
+
* LICENSE file in the root directory of this source tree.
|
|
28
|
+
*/var Gt;function nn(){if(Gt)return Y;Gt=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),c=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.for("react.view_transition"),C=Symbol.for("react.client.reference");function b(s){if(typeof s=="object"&&s!==null){var T=s.$$typeof;switch(T){case e:switch(s=s.type,s){case r:case o:case n:case u:case f:case p:return s;default:switch(s=s&&s.$$typeof,s){case c:case l:case h:case m:return s;case i:return s;default:return T}}case t:return T}}}return Y.ContextConsumer=i,Y.ContextProvider=c,Y.Element=e,Y.ForwardRef=l,Y.Fragment=r,Y.Lazy=h,Y.Memo=m,Y.Portal=t,Y.Profiler=o,Y.StrictMode=n,Y.Suspense=u,Y.SuspenseList=f,Y.isContextConsumer=function(s){return b(s)===i},Y.isContextProvider=function(s){return b(s)===c},Y.isElement=function(s){return typeof s=="object"&&s!==null&&s.$$typeof===e},Y.isForwardRef=function(s){return b(s)===l},Y.isFragment=function(s){return b(s)===r},Y.isLazy=function(s){return b(s)===h},Y.isMemo=function(s){return b(s)===m},Y.isPortal=function(s){return b(s)===t},Y.isProfiler=function(s){return b(s)===o},Y.isStrictMode=function(s){return b(s)===n},Y.isSuspense=function(s){return b(s)===u},Y.isSuspenseList=function(s){return b(s)===f},Y.isValidElementType=function(s){return typeof s=="string"||typeof s=="function"||s===r||s===o||s===n||s===u||s===f||typeof s=="object"&&s!==null&&(s.$$typeof===h||s.$$typeof===m||s.$$typeof===c||s.$$typeof===i||s.$$typeof===l||s.$$typeof===C||s.getModuleId!==void 0)},Y.typeOf=b,Y}var W={};/**
|
|
29
|
+
* @license React
|
|
30
|
+
* react-is.development.js
|
|
31
|
+
*
|
|
32
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
33
|
+
*
|
|
34
|
+
* This source code is licensed under the MIT license found in the
|
|
35
|
+
* LICENSE file in the root directory of this source tree.
|
|
36
|
+
*/var Kt;function on(){return Kt||(Kt=1,process.env.NODE_ENV!=="production"&&function(){function e(s){if(typeof s=="object"&&s!==null){var T=s.$$typeof;switch(T){case t:switch(s=s.type,s){case n:case i:case o:case f:case m:case C:return s;default:switch(s=s&&s.$$typeof,s){case l:case u:case p:case h:return s;case c:return s;default:return T}}case r:return T}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),C=Symbol.for("react.view_transition"),b=Symbol.for("react.client.reference");W.ContextConsumer=c,W.ContextProvider=l,W.Element=t,W.ForwardRef=u,W.Fragment=n,W.Lazy=p,W.Memo=h,W.Portal=r,W.Profiler=i,W.StrictMode=o,W.Suspense=f,W.SuspenseList=m,W.isContextConsumer=function(s){return e(s)===c},W.isContextProvider=function(s){return e(s)===l},W.isElement=function(s){return typeof s=="object"&&s!==null&&s.$$typeof===t},W.isForwardRef=function(s){return e(s)===u},W.isFragment=function(s){return e(s)===n},W.isLazy=function(s){return e(s)===p},W.isMemo=function(s){return e(s)===h},W.isPortal=function(s){return e(s)===r},W.isProfiler=function(s){return e(s)===i},W.isStrictMode=function(s){return e(s)===o},W.isSuspense=function(s){return e(s)===f},W.isSuspenseList=function(s){return e(s)===m},W.isValidElementType=function(s){return typeof s=="string"||typeof s=="function"||s===n||s===i||s===o||s===f||s===m||typeof s=="object"&&s!==null&&(s.$$typeof===p||s.$$typeof===h||s.$$typeof===l||s.$$typeof===c||s.$$typeof===u||s.$$typeof===b||s.getModuleId!==void 0)},W.typeOf=e}()),W}var Qt;function an(){return Qt||(Qt=1,process.env.NODE_ENV==="production"?He.exports=nn():He.exports=on()),He.exports}var Qe=an();function ge(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function xr(e){if(pe.isValidElement(e)||Qe.isValidElementType(e)||!ge(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=xr(e[r])}),t}function ce(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return ge(e)&&ge(t)&&Object.keys(t).forEach(o=>{pe.isValidElement(t[o])||Qe.isValidElementType(t[o])?n[o]=t[o]:ge(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&ge(e[o])?n[o]=ce(e[o],t[o],r):r.clone?n[o]=ge(t[o])?xr(t[o]):t[o]:n[o]=t[o]}),n}function Le(e,t){return t?ce(e,t,{clone:!1}):e}const Ee=process.env.NODE_ENV!=="production"?L.oneOfType([L.number,L.string,L.object,L.array]):{};function Jt(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,o)=>{var c,l;const i=/min-width:\s*([0-9.]+)/;return+(((c=n.match(i))==null?void 0:c[1])||0)-+(((l=o.match(i))==null?void 0:l[1])||0)});return r.length?r.reduce((n,o)=>{const i=t[o];return delete n[o],n[o]=i,n},{...t}):t}function sn(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function cn(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
37
|
+
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:Se(18,`(${t})`));return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function ln(e){const t=(i,c)=>i.replace("@media",c?`@container ${c}`:"@container");function r(i,c){i.up=(...l)=>t(e.breakpoints.up(...l),c),i.down=(...l)=>t(e.breakpoints.down(...l),c),i.between=(...l)=>t(e.breakpoints.between(...l),c),i.only=(...l)=>t(e.breakpoints.only(...l),c),i.not=(...l)=>{const u=t(e.breakpoints.not(...l),c);return u.includes("not all and")?u.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):u}}const n={},o=i=>(r(n,i),n);return r(o),{...e,containerQueries:o}}const et={xs:0,sm:600,md:900,lg:1200,xl:1536},Xt={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${et[e]}px)`},un={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:et[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function be(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||Xt;return t.reduce((c,l,u)=>(c[i.up(i.keys[u])]=r(t[u]),c),{})}if(typeof t=="object"){const i=n.breakpoints||Xt;return Object.keys(t).reduce((c,l)=>{if(sn(i.keys,l)){const u=cn(n.containerQueries?n:un,l);u&&(c[u]=r(t[l],l))}else if(Object.keys(i.values||et).includes(l)){const u=i.up(l);c[u]=r(t[l],l)}else{const u=l;c[u]=t[u]}return c},{})}return r(t)}function fn(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function Zt(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function tt(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function Je(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=tt(e,r)||n,t&&(o=t(o,n,e)),o}function ee(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=c=>{if(c[t]==null)return null;const l=c[t],u=c.theme,f=tt(u,n)||{};return be(c,l,h=>{let p=Je(f,o,h);return h===p&&typeof h=="string"&&(p=Je(f,o,`${t}${h==="default"?"":we(h)}`,h)),r===!1?p:{[r]:p}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:Ee}:{},i.filterProps=[t],i}function dn(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const mn={m:"margin",p:"padding"},pn={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},er={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},hn=dn(e=>{if(e.length>2)if(er[e])e=er[e];else return[e];const[t,r]=e.split(""),n=mn[t],o=pn[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),rt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],nt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],gn=[...rt,...nt];function ze(e,t,r,n){const o=tt(e,t,!0)??r;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&typeof i!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`),typeof o=="string"?o.startsWith("var(")&&i===0?0:o.startsWith("var(")&&i===1?o:`calc(${i} * ${o})`:o*i):Array.isArray(o)?i=>{if(typeof i=="string")return i;const c=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(c)?c>o.length-1&&console.error([`MUI: The value provided (${c}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${c} > ${o.length-1}, you need to add the missing values.`].join(`
|
|
38
|
+
`)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
|
|
39
|
+
`)));const l=o[c];return i>=0?l:typeof l=="number"?-l:typeof l=="string"&&l.startsWith("var(")?`calc(-1 * ${l})`:`-${l}`}:typeof o=="function"?o:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
40
|
+
`)),()=>{})}function wt(e){return ze(e,"spacing",8,"spacing")}function Fe(e,t){return typeof t=="string"||t==null?t:e(t)}function yn(e,t){return r=>e.reduce((n,o)=>(n[o]=Fe(t,r),n),{})}function bn(e,t,r,n){if(!t.includes(r))return null;const o=hn(r),i=yn(o,n),c=e[r];return be(e,c,i)}function Or(e,t){const r=wt(e.theme);return Object.keys(e).map(n=>bn(e,t,n,r)).reduce(Le,{})}function X(e){return Or(e,rt)}X.propTypes=process.env.NODE_ENV!=="production"?rt.reduce((e,t)=>(e[t]=Ee,e),{}):{};X.filterProps=rt;function Z(e){return Or(e,nt)}Z.propTypes=process.env.NODE_ENV!=="production"?nt.reduce((e,t)=>(e[t]=Ee,e),{}):{};Z.filterProps=nt;process.env.NODE_ENV!=="production"&&gn.reduce((e,t)=>(e[t]=Ee,e),{});function ot(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?Le(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function ue(e){return typeof e!="number"?e:`${e}px solid`}function fe(e,t){return ee({prop:e,themeKey:"borders",transform:t})}const vn=fe("border",ue),Sn=fe("borderTop",ue),Cn=fe("borderRight",ue),En=fe("borderBottom",ue),Tn=fe("borderLeft",ue),xn=fe("borderColor"),On=fe("borderTopColor"),wn=fe("borderRightColor"),$n=fe("borderBottomColor"),_n=fe("borderLeftColor"),An=fe("outline",ue),kn=fe("outlineColor"),it=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=ze(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Fe(t,n)});return be(e,e.borderRadius,r)}return null};it.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Ee}:{};it.filterProps=["borderRadius"];ot(vn,Sn,Cn,En,Tn,xn,On,wn,$n,_n,it,An,kn);const at=e=>{if(e.gap!==void 0&&e.gap!==null){const t=ze(e.theme,"spacing",8,"gap"),r=n=>({gap:Fe(t,n)});return be(e,e.gap,r)}return null};at.propTypes=process.env.NODE_ENV!=="production"?{gap:Ee}:{};at.filterProps=["gap"];const st=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=ze(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Fe(t,n)});return be(e,e.columnGap,r)}return null};st.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Ee}:{};st.filterProps=["columnGap"];const ct=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=ze(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Fe(t,n)});return be(e,e.rowGap,r)}return null};ct.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Ee}:{};ct.filterProps=["rowGap"];const In=ee({prop:"gridColumn"}),Rn=ee({prop:"gridRow"}),Pn=ee({prop:"gridAutoFlow"}),Mn=ee({prop:"gridAutoColumns"}),jn=ee({prop:"gridAutoRows"}),Nn=ee({prop:"gridTemplateColumns"}),Bn=ee({prop:"gridTemplateRows"}),Dn=ee({prop:"gridTemplateAreas"}),Ln=ee({prop:"gridArea"});ot(at,st,ct,In,Rn,Pn,Mn,jn,Nn,Bn,Dn,Ln);function Pe(e,t){return t==="grey"?t:e}const Vn=ee({prop:"color",themeKey:"palette",transform:Pe}),zn=ee({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Pe}),Fn=ee({prop:"backgroundColor",themeKey:"palette",transform:Pe});ot(Vn,zn,Fn);function se(e){return e<=1&&e!==0?`${e*100}%`:e}const Un=ee({prop:"width",transform:se}),$t=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var o,i,c,l,u;const n=((c=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:c[r])||et[r];return n?((u=(l=e.theme)==null?void 0:l.breakpoints)==null?void 0:u.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:se(r)}};return be(e,e.maxWidth,t)}return null};$t.filterProps=["maxWidth"];const Yn=ee({prop:"minWidth",transform:se}),Wn=ee({prop:"height",transform:se}),Hn=ee({prop:"maxHeight",transform:se}),qn=ee({prop:"minHeight",transform:se});ee({prop:"size",cssProperty:"width",transform:se});ee({prop:"size",cssProperty:"height",transform:se});const Gn=ee({prop:"boxSizing"});ot(Un,$t,Yn,Wn,Hn,qn,Gn);const lt={border:{themeKey:"borders",transform:ue},borderTop:{themeKey:"borders",transform:ue},borderRight:{themeKey:"borders",transform:ue},borderBottom:{themeKey:"borders",transform:ue},borderLeft:{themeKey:"borders",transform:ue},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ue},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:it},color:{themeKey:"palette",transform:Pe},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Pe},backgroundColor:{themeKey:"palette",transform:Pe},p:{style:Z},pt:{style:Z},pr:{style:Z},pb:{style:Z},pl:{style:Z},px:{style:Z},py:{style:Z},padding:{style:Z},paddingTop:{style:Z},paddingRight:{style:Z},paddingBottom:{style:Z},paddingLeft:{style:Z},paddingX:{style:Z},paddingY:{style:Z},paddingInline:{style:Z},paddingInlineStart:{style:Z},paddingInlineEnd:{style:Z},paddingBlock:{style:Z},paddingBlockStart:{style:Z},paddingBlockEnd:{style:Z},m:{style:X},mt:{style:X},mr:{style:X},mb:{style:X},ml:{style:X},mx:{style:X},my:{style:X},margin:{style:X},marginTop:{style:X},marginRight:{style:X},marginBottom:{style:X},marginLeft:{style:X},marginX:{style:X},marginY:{style:X},marginInline:{style:X},marginInlineStart:{style:X},marginInlineEnd:{style:X},marginBlock:{style:X},marginBlockStart:{style:X},marginBlockEnd:{style:X},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:at},rowGap:{style:ct},columnGap:{style:st},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:se},maxWidth:{style:$t},minWidth:{transform:se},height:{transform:se},maxHeight:{transform:se},minHeight:{transform:se},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Kn(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function Qn(e,t){return typeof e=="function"?e(t):e}function Jn(){function e(r,n,o,i){const c={[r]:n,theme:o},l=i[r];if(!l)return{[r]:n};const{cssProperty:u=r,themeKey:f,transform:m,style:h}=l;if(n==null)return null;if(f==="typography"&&n==="inherit")return{[r]:n};const p=tt(o,f)||{};return h?h(c):be(c,n,b=>{let s=Je(p,m,b);return b===s&&typeof b=="string"&&(s=Je(p,m,`${r}${b==="default"?"":we(b)}`,b)),u===!1?s:{[u]:s}})}function t(r){const{sx:n,theme:o={},nested:i}=r||{};if(!n)return null;const c=o.unstable_sxConfig??lt;function l(u){let f=u;if(typeof u=="function")f=u(o);else if(typeof u!="object")return u;if(!f)return null;const m=fn(o.breakpoints),h=Object.keys(m);let p=m;return Object.keys(f).forEach(C=>{const b=Qn(f[C],o);if(b!=null)if(typeof b=="object")if(c[C])p=Le(p,e(C,b,o,c));else{const s=be({theme:o},b,T=>({[C]:T}));Kn(s,b)?p[C]=t({sx:b,theme:o,nested:!0}):p=Le(p,s)}else p=Le(p,e(C,b,o,c))}),!i&&o.modularCssLayers?{"@layer sx":Jt(o,Zt(h,p))}:Jt(o,Zt(h,p))}return Array.isArray(n)?n.map(l):l(n)}return t}const Me=Jn();Me.filterProps=["sx"];function Xn(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Zn={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,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function eo(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var to=/[A-Z]|^ms/g,ro=/_EMO_([^_]+?)_([^]*?)_EMO_/g,wr=function(t){return t.charCodeAt(1)===45},tr=function(t){return t!=null&&typeof t!="boolean"},yt=eo(function(e){return wr(e)?e:e.replace(to,"-$&").toLowerCase()}),rr=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(ro,function(n,o,i){return ve={name:o,styles:i,next:ve},o})}return Zn[t]!==1&&!wr(t)&&typeof r=="number"&&r!==0?r+"px":r};function Xe(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var o=r;if(o.anim===1)return ve={name:o.name,styles:o.styles,next:ve},o.name;var i=r;if(i.styles!==void 0){var c=i.next;if(c!==void 0)for(;c!==void 0;)ve={name:c.name,styles:c.styles,next:ve},c=c.next;var l=i.styles+";";return l}return no(e,t,r)}}var u=r;return u}function no(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Xe(e,t,r[o])+";";else for(var i in r){var c=r[i];if(typeof c!="object"){var l=c;tr(l)&&(n+=yt(i)+":"+rr(i,l)+";")}else if(Array.isArray(c)&&typeof c[0]=="string"&&t==null)for(var u=0;u<c.length;u++)tr(c[u])&&(n+=yt(i)+":"+rr(i,c[u])+";");else{var f=Xe(e,t,c);switch(i){case"animation":case"animationName":{n+=yt(i)+":"+f+";";break}default:n+=i+"{"+f+"}"}}}return n}var nr=/label:\s*([^\s;{]+)\s*(;|$)/g,ve;function oo(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";ve=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=Xe(r,t,i);else{var c=i;o+=c[0]}for(var l=1;l<e.length;l++)if(o+=Xe(r,t,e[l]),n){var u=i;o+=u[l]}nr.lastIndex=0;for(var f="",m;(m=nr.exec(o))!==null;)f+="-"+m[1];var h=Xn(o)+f;return{name:h,styles:o,next:ve}}/**
|
|
41
|
+
* @mui/styled-engine v7.2.0
|
|
42
|
+
*
|
|
43
|
+
* @license MIT
|
|
44
|
+
* This source code is licensed under the MIT license found in the
|
|
45
|
+
* LICENSE file in the root directory of this source tree.
|
|
46
|
+
*/function io(e,t){const r=Fr(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
47
|
+
`)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}function ao(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const or=[];function Oe(e){return or[0]=e,oo(or)}const so=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>({...r,[n.key]:n.val}),{})};function co(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=so(t),c=Object.keys(i);function l(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r})`}function u(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-n/100}${r})`}function f(p,C){const b=c.indexOf(C);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r}) and (max-width:${(b!==-1&&typeof t[c[b]]=="number"?t[c[b]]:C)-n/100}${r})`}function m(p){return c.indexOf(p)+1<c.length?f(p,c[c.indexOf(p)+1]):l(p)}function h(p){const C=c.indexOf(p);return C===0?l(c[1]):C===c.length-1?u(c[C]):f(p,c[c.indexOf(p)+1]).replace("@media","@media not all and")}return{keys:c,values:i,up:l,down:u,between:f,only:m,not:h,unit:r,...o}}const lo={borderRadius:4};function $r(e=8,t=wt({spacing:e})){if(e.mui)return e;const r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const c=t(i);return typeof c=="number"?`${c}px`:c}).join(" "));return r.mui=!0,r}function uo(e,t){var n;const r=this;if(r.vars){if(!((n=r.colorSchemes)!=null&&n[e])||typeof r.getColorSchemeSelector!="function")return{};let o=r.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return r.palette.mode===e?t:{}}function _t(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...c}=e,l=co(r),u=$r(o);let f=ce({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:u,shape:{...lo,...i}},c);return f=ln(f),f.applyStyles=uo,f=t.reduce((m,h)=>ce(m,h),f),f.unstable_sxConfig={...lt,...c==null?void 0:c.unstable_sxConfig},f.unstable_sx=function(h){return Me({sx:h,theme:this})},f}function fo(e){return Object.keys(e).length===0}function mo(e=null){const t=pe.useContext(Ur.ThemeContext);return!t||fo(t)?e:t}const po=_t();function ho(e=po){return mo(e)}const go={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function At(e,t,r="Mui"){const n=go[t];return n?`${r}-${n}`:`${Hr.generate(e)}-${t}`}function yo(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=At(e,o,r)}),n}function _r(e,t=""){return e.displayName||e.name||t}function ir(e,t,r){const n=_r(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function bo(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return _r(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Qe.ForwardRef:return ir(e,e.render,"ForwardRef");case Qe.Memo:return ir(e,e.type,"memo");default:return}}}function Ar(e){const{variants:t,...r}=e,n={variants:t,style:Oe(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=Oe(o.style))}),n}const vo=_t();function bt(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function xe(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function So(e){return e?(t,r)=>r[e]:null}function Co(e,t,r){e.theme=Oo(e.theme)?r:e.theme[t]||e.theme}function Ke(e,t,r){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(o=>Ke(e,o,r));if(Array.isArray(n==null?void 0:n.variants)){let o;if(n.isProcessed)o=r?xe(n.style,r):n.style;else{const{variants:i,...c}=n;o=r?xe(Oe(c),r):c}return kr(e,n.variants,[o],r)}return n!=null&&n.isProcessed?r?xe(Oe(n.style),r):n.style:r?xe(Oe(n),r):n}function kr(e,t,r=[],n=void 0){var i;let o;e:for(let c=0;c<t.length;c+=1){const l=t[c];if(typeof l.props=="function"){if(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),!l.props(o))continue}else for(const u in l.props)if(e[u]!==l.props[u]&&((i=e.ownerState)==null?void 0:i[u])!==l.props[u])continue e;typeof l.style=="function"?(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),r.push(n?xe(Oe(l.style(o)),n):l.style(o))):r.push(n?xe(Oe(l.style),n):l.style)}return r}function Eo(e={}){const{themeId:t,defaultTheme:r=vo,rootShouldForwardProp:n=bt,slotShouldForwardProp:o=bt}=e;function i(l){Co(l,t,r)}return(l,u={})=>{ao(l,V=>V.filter(G=>G!==Me));const{name:f,slot:m,skipVariantsResolver:h,skipSx:p,overridesResolver:C=So(Ir(m)),...b}=u,s=f&&f.startsWith("Mui")||m?"components":"custom",T=h!==void 0?h:m&&m!=="Root"&&m!=="root"||!1,$=p||!1;let J=bt;m==="Root"||m==="root"?J=n:m?J=o:wo(l)&&(J=void 0);const w=io(l,{shouldForwardProp:J,label:xo(f,m),...b}),O=V=>{if(V.__emotion_real===V)return V;if(typeof V=="function")return function(ne){return Ke(ne,V,ne.theme.modularCssLayers?s:void 0)};if(ge(V)){const G=Ar(V);return function(K){return G.variants?Ke(K,G,K.theme.modularCssLayers?s:void 0):K.theme.modularCssLayers?xe(G.style,s):G.style}}return V},g=(...V)=>{const G=[],ne=V.map(O),K=[];if(G.push(i),f&&C&&K.push(function(j){var ae,Te;const re=(Te=(ae=j.theme.components)==null?void 0:ae[f])==null?void 0:Te.styleOverrides;if(!re)return null;const oe={};for(const $e in re)oe[$e]=Ke(j,re[$e],j.theme.modularCssLayers?"theme":void 0);return C(j,oe)}),f&&!T&&K.push(function(j){var oe,ae;const te=j.theme,re=(ae=(oe=te==null?void 0:te.components)==null?void 0:oe[f])==null?void 0:ae.variants;return re?kr(j,re,[],j.theme.modularCssLayers?"theme":void 0):null}),$||K.push(Me),Array.isArray(ne[0])){const I=ne.shift(),j=new Array(G.length).fill(""),te=new Array(K.length).fill("");let re;re=[...j,...I,...te],re.raw=[...j,...I.raw,...te],G.unshift(re)}const a=[...G,...ne,...K],x=w(...a);return l.muiName&&(x.muiName=l.muiName),process.env.NODE_ENV!=="production"&&(x.displayName=To(f,m,l)),x};return w.withConfig&&(g.withConfig=w.withConfig),g}}function To(e,t,r){return e?`${e}${we(t||"")}`:`Styled(${bo(r)})`}function xo(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${Ir(t||"Root")}`),r}function Oo(e){for(const t in e)return!1;return!0}function wo(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Ir(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Et(e,t,r=!1){const n={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const i=o;if(i==="components"||i==="slots")n[i]={...e[i],...n[i]};else if(i==="componentsProps"||i==="slotProps"){const c=e[i],l=t[i];if(!l)n[i]=c||{};else if(!c)n[i]=l;else{n[i]={...l};for(const u in c)if(Object.prototype.hasOwnProperty.call(c,u)){const f=u;n[i][f]=Et(c[f],l[f],r)}}}else i==="className"&&r&&t.className?n.className=Tr(e==null?void 0:e.className,t==null?void 0:t.className):i==="style"&&r&&t.style?n.style={...e==null?void 0:e.style,...t==null?void 0:t.style}:n[i]===void 0&&(n[i]=e[i])}return n}function $o(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function kt(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),$o(e,t,r)}function _o(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function Ce(e){if(e.type)return e;if(e.charAt(0)==="#")return Ce(_o(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
48
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Se(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
|
|
49
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Se(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const Ao=e=>{const t=Ce(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},Be=(e,t)=>{try{return Ao(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function ut(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function Rr(e){e=Ce(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),c=(f,m=(f+r/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let l="rgb";const u=[Math.round(c(0)*255),Math.round(c(8)*255),Math.round(c(4)*255)];return e.type==="hsla"&&(l+="a",u.push(t[3])),ut({type:l,values:u})}function Tt(e){e=Ce(e);let t=e.type==="hsl"||e.type==="hsla"?Ce(Rr(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function ar(e,t){const r=Tt(e),n=Tt(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function ko(e,t){return e=Ce(e),t=kt(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ut(e)}function qe(e,t,r){try{return ko(e,t)}catch{return e}}function It(e,t){if(e=Ce(e),t=kt(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return ut(e)}function H(e,t,r){try{return It(e,t)}catch{return e}}function Rt(e,t){if(e=Ce(e),t=kt(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return ut(e)}function q(e,t,r){try{return Rt(e,t)}catch{return e}}function Io(e,t=.15){return Tt(e)>.5?It(e,t):Rt(e,t)}function Ge(e,t,r){try{return Io(e,t)}catch{return e}}const Ro=pe.createContext(void 0);process.env.NODE_ENV!=="production"&&(L.node,L.object);function Po(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?Et(o.defaultProps,n,t.components.mergeClassNameAndStyle):!o.styleOverrides&&!o.variants?Et(o,n,t.components.mergeClassNameAndStyle):n}function Mo({props:e,name:t}){const r=pe.useContext(Ro);return Po({props:e,name:t,theme:{components:r}})}const sr={theme:void 0};function jo(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(sr.theme=o.theme,i=Ar(e(sr)),t=i,r=o.theme),i}}function No(e=""){function t(...n){if(!n.length)return"";const o=n[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${t(...o)})`}const cr=(e,t,r,n=[])=>{let o=e;t.forEach((i,c)=>{c===t.length-1?Array.isArray(o)?o[Number(i)]=r:o&&typeof o=="object"&&(o[i]=r):o&&typeof o=="object"&&(o[i]||(o[i]=n.includes(i)?[]:{}),o=o[i])})},Bo=(e,t,r)=>{function n(o,i=[],c=[]){Object.entries(o).forEach(([l,u])=>{(!r||r&&!r([...i,l]))&&u!=null&&(typeof u=="object"&&Object.keys(u).length>0?n(u,[...i,l],Array.isArray(u)?[...c,l]:c):t([...i,l],u,c))})}n(e)},Do=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function vt(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},c={};return Bo(e,(l,u,f)=>{if((typeof u=="string"||typeof u=="number")&&(!n||!n(l,u))){const m=`--${r?`${r}-`:""}${l.join("-")}`,h=Do(l,u);Object.assign(o,{[m]:h}),cr(i,l,`var(${m})`,f),cr(c,l,`var(${m}, ${h})`,f)}},l=>l[0]==="vars"),{css:o,vars:i,varsWithDefaults:c}}function Lo(e,t={}){const{getSelector:r=T,disableCssColorScheme:n,colorSchemeSelector:o}=t,{colorSchemes:i={},components:c,defaultColorScheme:l="light",...u}=e,{vars:f,css:m,varsWithDefaults:h}=vt(u,t);let p=h;const C={},{[l]:b,...s}=i;if(Object.entries(s||{}).forEach(([w,O])=>{const{vars:g,css:V,varsWithDefaults:G}=vt(O,t);p=ce(p,G),C[w]={css:V,vars:g}}),b){const{css:w,vars:O,varsWithDefaults:g}=vt(b,t);p=ce(p,g),C[l]={css:w,vars:O}}function T(w,O){var V,G;let g=o;if(o==="class"&&(g=".%s"),o==="data"&&(g="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(g=`[${o}="%s"]`),w){if(g==="media")return e.defaultColorScheme===w?":root":{[`@media (prefers-color-scheme: ${((G=(V=i[w])==null?void 0:V.palette)==null?void 0:G.mode)||w})`]:{":root":O}};if(g)return e.defaultColorScheme===w?`:root, ${g.replace("%s",String(w))}`:g.replace("%s",String(w))}return":root"}return{vars:p,generateThemeVars:()=>{let w={...f};return Object.entries(C).forEach(([,{vars:O}])=>{w=ce(w,O)}),w},generateStyleSheets:()=>{var ne,K;const w=[],O=e.defaultColorScheme||"light";function g(a,x){Object.keys(x).length&&w.push(typeof a=="string"?{[a]:{...x}}:a)}g(r(void 0,{...m}),m);const{[O]:V,...G}=C;if(V){const{css:a}=V,x=(K=(ne=i[O])==null?void 0:ne.palette)==null?void 0:K.mode,I=!n&&x?{colorScheme:x,...a}:{...a};g(r(O,{...I}),I)}return Object.entries(G).forEach(([a,{css:x}])=>{var te,re;const I=(re=(te=i[a])==null?void 0:te.palette)==null?void 0:re.mode,j=!n&&I?{colorScheme:I,...x}:{...x};g(r(a,{...j}),j)}),w}}}function Vo(e){return function(r){return e==="media"?(process.env.NODE_ENV!=="production"&&r!=="light"&&r!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`),`@media (prefers-color-scheme: ${r})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}const Ve={black:"#000",white:"#fff"},zo={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},_e={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Ae={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Ne={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},ke={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Ie={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Re={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function Pr(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Ve.white,default:Ve.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const Fo=Pr();function Mr(){return{text:{primary:Ve.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Ve.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const lr=Mr();function ur(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Rt(e.main,o):t==="dark"&&(e.dark=It(e.main,i)))}function Uo(e="light"){return e==="dark"?{main:ke[200],light:ke[50],dark:ke[400]}:{main:ke[700],light:ke[400],dark:ke[800]}}function Yo(e="light"){return e==="dark"?{main:_e[200],light:_e[50],dark:_e[400]}:{main:_e[500],light:_e[300],dark:_e[700]}}function Wo(e="light"){return e==="dark"?{main:Ae[500],light:Ae[300],dark:Ae[700]}:{main:Ae[700],light:Ae[400],dark:Ae[800]}}function Ho(e="light"){return e==="dark"?{main:Ie[400],light:Ie[300],dark:Ie[700]}:{main:Ie[700],light:Ie[500],dark:Ie[900]}}function qo(e="light"){return e==="dark"?{main:Re[400],light:Re[300],dark:Re[700]}:{main:Re[800],light:Re[500],dark:Re[900]}}function Go(e="light"){return e==="dark"?{main:Ne[400],light:Ne[300],dark:Ne[700]}:{main:"#ed6c02",light:Ne[500],dark:Ne[900]}}function Pt(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,...o}=e,i=e.primary||Uo(t),c=e.secondary||Yo(t),l=e.error||Wo(t),u=e.info||Ho(t),f=e.success||qo(t),m=e.warning||Go(t);function h(s){const T=ar(s,lr.text.primary)>=r?lr.text.primary:Fo.text.primary;if(process.env.NODE_ENV!=="production"){const $=ar(s,T);$<3&&console.error([`MUI: The contrast ratio of ${$}:1 for ${T} on ${s}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
50
|
+
`))}return T}const p=({color:s,name:T,mainShade:$=500,lightShade:J=300,darkShade:w=700})=>{if(s={...s},!s.main&&s[$]&&(s.main=s[$]),!s.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${T?` (${T})`:""} provided to augmentColor(color) is invalid.
|
|
51
|
+
The color object needs to have a \`main\` property or a \`${$}\` property.`:Se(11,T?` (${T})`:"",$));if(typeof s.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${T?` (${T})`:""} provided to augmentColor(color) is invalid.
|
|
52
|
+
\`color.main\` should be a string, but \`${JSON.stringify(s.main)}\` was provided instead.
|
|
53
|
+
|
|
54
|
+
Did you intend to use one of the following approaches?
|
|
55
|
+
|
|
56
|
+
import { green } from "@mui/material/colors";
|
|
57
|
+
|
|
58
|
+
const theme1 = createTheme({ palette: {
|
|
59
|
+
primary: green,
|
|
60
|
+
} });
|
|
61
|
+
|
|
62
|
+
const theme2 = createTheme({ palette: {
|
|
63
|
+
primary: { main: green[500] },
|
|
64
|
+
} });`:Se(12,T?` (${T})`:"",JSON.stringify(s.main)));return ur(s,"light",J,n),ur(s,"dark",w,n),s.contrastText||(s.contrastText=h(s.main)),s};let C;return t==="light"?C=Pr():t==="dark"&&(C=Mr()),process.env.NODE_ENV!=="production"&&(C||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),ce({common:{...Ve},mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:l,name:"error"}),warning:p({color:m,name:"warning"}),info:p({color:u,name:"info"}),success:p({color:f,name:"success"}),grey:zo,contrastThreshold:r,getContrastText:h,augmentColor:p,tonalOffset:n,...C},o)}function Ko(e){const t={};return Object.entries(e).forEach(n=>{const[o,i]=n;typeof i=="object"&&(t[o]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),t}function Qo(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function Jo(e){return Math.round(e*1e5)/1e5}const fr={textTransform:"uppercase"},dr='"Roboto", "Helvetica", "Arial", sans-serif';function Xo(e,t){const{fontFamily:r=dr,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:c=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:f,pxToRem:m,...h}=typeof t=="function"?t(e):t;process.env.NODE_ENV!=="production"&&(typeof n!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof u!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const p=n/14,C=m||(T=>`${T/u*p}rem`),b=(T,$,J,w,O)=>({fontFamily:r,fontWeight:T,fontSize:C($),lineHeight:J,...r===dr?{letterSpacing:`${Jo(w/$)}em`}:{},...O,...f}),s={h1:b(o,96,1.167,-1.5),h2:b(o,60,1.2,-.5),h3:b(i,48,1.167,0),h4:b(i,34,1.235,.25),h5:b(i,24,1.334,0),h6:b(c,20,1.6,.15),subtitle1:b(i,16,1.75,.15),subtitle2:b(c,14,1.57,.1),body1:b(i,16,1.5,.15),body2:b(i,14,1.43,.15),button:b(c,14,1.75,.4,fr),caption:b(i,12,1.66,.4),overline:b(i,12,2.66,1,fr),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return ce({htmlFontSize:u,pxToRem:C,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:c,fontWeightBold:l,...s},h,{clone:!1})}const Zo=.2,ei=.14,ti=.12;function Q(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Zo})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${ei})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${ti})`].join(",")}const ri=["none",Q(0,2,1,-1,0,1,1,0,0,1,3,0),Q(0,3,1,-2,0,2,2,0,0,1,5,0),Q(0,3,3,-2,0,3,4,0,0,1,8,0),Q(0,2,4,-1,0,4,5,0,0,1,10,0),Q(0,3,5,-1,0,5,8,0,0,1,14,0),Q(0,3,5,-1,0,6,10,0,0,1,18,0),Q(0,4,5,-2,0,7,10,1,0,2,16,1),Q(0,5,5,-3,0,8,10,1,0,3,14,2),Q(0,5,6,-3,0,9,12,1,0,3,16,2),Q(0,6,6,-3,0,10,14,1,0,4,18,3),Q(0,6,7,-4,0,11,15,1,0,4,20,3),Q(0,7,8,-4,0,12,17,2,0,5,22,4),Q(0,7,8,-4,0,13,19,2,0,5,24,4),Q(0,7,9,-4,0,14,21,2,0,5,26,4),Q(0,8,9,-5,0,15,22,2,0,6,28,5),Q(0,8,10,-5,0,16,24,2,0,6,30,5),Q(0,8,11,-5,0,17,26,2,0,6,32,5),Q(0,9,11,-5,0,18,28,2,0,7,34,6),Q(0,9,12,-6,0,19,29,2,0,7,36,6),Q(0,10,13,-6,0,20,31,3,0,8,38,7),Q(0,10,13,-6,0,21,33,3,0,8,40,7),Q(0,10,14,-6,0,22,35,3,0,8,42,7),Q(0,11,14,-7,0,23,36,3,0,9,44,8),Q(0,11,15,-7,0,24,38,3,0,9,46,8)],ni={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},oi={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function mr(e){return`${Math.round(e)}ms`}function ii(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function ai(e){const t={...ni,...e.easing},r={...oi,...e.duration};return{getAutoHeightDuration:ii,create:(o=["all"],i={})=>{const{duration:c=r.standard,easing:l=t.easeInOut,delay:u=0,...f}=i;if(process.env.NODE_ENV!=="production"){const m=p=>typeof p=="string",h=p=>!Number.isNaN(parseFloat(p));!m(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!h(c)&&!m(c)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${c}.`),m(l)||console.error('MUI: Argument "easing" must be a string.'),!h(u)&&!m(u)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
65
|
+
`)),Object.keys(f).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(m=>`${m} ${typeof c=="string"?c:mr(c)} ${l} ${typeof u=="string"?u:mr(u)}`).join(",")},...e,easing:t,duration:r}}const si={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function ci(e){return ge(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function jr(e={}){const t={...e};function r(n){const o=Object.entries(n);for(let i=0;i<o.length;i++){const[c,l]=o[i];!ci(l)||c.startsWith("unstable_")?delete n[c]:ge(l)&&(n[c]={...l},r(n[c]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
66
|
+
|
|
67
|
+
const theme = ${JSON.stringify(t,null,2)};
|
|
68
|
+
|
|
69
|
+
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
70
|
+
theme.transitions = createTransitions(theme.transitions || {});
|
|
71
|
+
|
|
72
|
+
export default theme;`}function xt(e={},...t){const{breakpoints:r,mixins:n={},spacing:o,palette:i={},transitions:c={},typography:l={},shape:u,...f}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":Se(20));const m=Pt(i),h=_t(e);let p=ce(h,{mixins:Qo(h.breakpoints,n),palette:m,shadows:ri.slice(),typography:Xo(m,l),transitions:ai(c),zIndex:{...si}});if(p=ce(p,f),p=t.reduce((C,b)=>ce(C,b),p),process.env.NODE_ENV!=="production"){const C=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],b=(s,T)=>{let $;for($ in s){const J=s[$];if(C.includes($)&&Object.keys(J).length>0){if(process.env.NODE_ENV!=="production"){const w=At("",$);console.error([`MUI: The \`${T}\` component increases the CSS specificity of the \`${$}\` internal state.`,"You can not override it like this: ",JSON.stringify(s,null,2),"",`Instead, you need to use the '&.${w}' syntax:`,JSON.stringify({root:{[`&.${w}`]:J}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
73
|
+
`))}s[$]={}}}};Object.keys(p.components).forEach(s=>{const T=p.components[s].styleOverrides;T&&s.startsWith("Mui")&&b(T,s)})}return p.unstable_sxConfig={...lt,...f==null?void 0:f.unstable_sxConfig},p.unstable_sx=function(b){return Me({sx:b,theme:this})},p.toRuntimeSource=jr,p}function li(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const ui=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=li(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function Nr(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Br(e){return e==="dark"?ui:[]}function fi(e){const{palette:t={mode:"light"},opacity:r,overlays:n,...o}=e,i=Pt(t);return{palette:i,opacity:{...Nr(i.mode),...r},overlays:n||Br(i.mode),...o}}function di(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const mi=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],pi=e=>(t,r)=>{const n=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if(o==="class"&&(i=".%s"),o==="data"&&(i="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const c={};return mi(e.cssVarPrefix).forEach(l=>{c[l]=r[l],delete r[l]}),i==="media"?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:c}}:i?{[i.replace("%s",t)]:c,[`${n}, ${i.replace("%s",t)}`]:r}:{[n]:{...r,...c}}}if(i&&i!=="media")return`${n}, ${i.replace("%s",String(t))}`}else if(t){if(i==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(i)return i.replace("%s",String(t))}return n};function hi(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function d(e,t,r){!e[t]&&r&&(e[t]=r)}function De(e){return typeof e!="string"||!e.startsWith("hsl")?e:Rr(e)}function he(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Be(De(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
74
|
+
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function gi(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const me=e=>{try{return e()}catch{}},yi=(e="mui")=>No(e);function St(e,t,r,n){if(!t)return;t=t===!0?{}:t;const o=n==="dark"?"dark":"light";if(!r){e[n]=fi({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:i,...c}=xt({...r,palette:{mode:o,...t==null?void 0:t.palette}});return e[n]={...t,palette:i,opacity:{...Nr(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||Br(o)},c}function bi(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:c=di,colorSchemeSelector:l=r.light&&r.dark?"media":void 0,rootSelector:u=":root",...f}=e,m=Object.keys(r)[0],h=n||(r.light&&m!=="light"?"light":m),p=yi(i),{[h]:C,light:b,dark:s,...T}=r,$={...T};let J=C;if((h==="dark"&&!("dark"in r)||h==="light"&&!("light"in r))&&(J=!0),!J)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${h}\` option is either missing or invalid.`:Se(21,h));const w=St($,J,f,h);b&&!$.light&&St($,b,void 0,"light"),s&&!$.dark&&St($,s,void 0,"dark");let O={defaultColorScheme:h,...w,cssVarPrefix:i,colorSchemeSelector:l,rootSelector:u,getCssVar:p,colorSchemes:$,font:{...Ko(w.typography),...w.font},spacing:gi(f.spacing)};Object.keys(O.colorSchemes).forEach(K=>{const a=O.colorSchemes[K].palette,x=I=>{const j=I.split("-"),te=j[1],re=j[2];return p(I,a[te][re])};if(a.mode==="light"&&(d(a.common,"background","#fff"),d(a.common,"onBackground","#000")),a.mode==="dark"&&(d(a.common,"background","#000"),d(a.common,"onBackground","#fff")),hi(a,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),a.mode==="light"){d(a.Alert,"errorColor",H(a.error.light,.6)),d(a.Alert,"infoColor",H(a.info.light,.6)),d(a.Alert,"successColor",H(a.success.light,.6)),d(a.Alert,"warningColor",H(a.warning.light,.6)),d(a.Alert,"errorFilledBg",x("palette-error-main")),d(a.Alert,"infoFilledBg",x("palette-info-main")),d(a.Alert,"successFilledBg",x("palette-success-main")),d(a.Alert,"warningFilledBg",x("palette-warning-main")),d(a.Alert,"errorFilledColor",me(()=>a.getContrastText(a.error.main))),d(a.Alert,"infoFilledColor",me(()=>a.getContrastText(a.info.main))),d(a.Alert,"successFilledColor",me(()=>a.getContrastText(a.success.main))),d(a.Alert,"warningFilledColor",me(()=>a.getContrastText(a.warning.main))),d(a.Alert,"errorStandardBg",q(a.error.light,.9)),d(a.Alert,"infoStandardBg",q(a.info.light,.9)),d(a.Alert,"successStandardBg",q(a.success.light,.9)),d(a.Alert,"warningStandardBg",q(a.warning.light,.9)),d(a.Alert,"errorIconColor",x("palette-error-main")),d(a.Alert,"infoIconColor",x("palette-info-main")),d(a.Alert,"successIconColor",x("palette-success-main")),d(a.Alert,"warningIconColor",x("palette-warning-main")),d(a.AppBar,"defaultBg",x("palette-grey-100")),d(a.Avatar,"defaultBg",x("palette-grey-400")),d(a.Button,"inheritContainedBg",x("palette-grey-300")),d(a.Button,"inheritContainedHoverBg",x("palette-grey-A100")),d(a.Chip,"defaultBorder",x("palette-grey-400")),d(a.Chip,"defaultAvatarColor",x("palette-grey-700")),d(a.Chip,"defaultIconColor",x("palette-grey-700")),d(a.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),d(a.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),d(a.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),d(a.LinearProgress,"primaryBg",q(a.primary.main,.62)),d(a.LinearProgress,"secondaryBg",q(a.secondary.main,.62)),d(a.LinearProgress,"errorBg",q(a.error.main,.62)),d(a.LinearProgress,"infoBg",q(a.info.main,.62)),d(a.LinearProgress,"successBg",q(a.success.main,.62)),d(a.LinearProgress,"warningBg",q(a.warning.main,.62)),d(a.Skeleton,"bg",`rgba(${x("palette-text-primaryChannel")} / 0.11)`),d(a.Slider,"primaryTrack",q(a.primary.main,.62)),d(a.Slider,"secondaryTrack",q(a.secondary.main,.62)),d(a.Slider,"errorTrack",q(a.error.main,.62)),d(a.Slider,"infoTrack",q(a.info.main,.62)),d(a.Slider,"successTrack",q(a.success.main,.62)),d(a.Slider,"warningTrack",q(a.warning.main,.62));const I=Ge(a.background.default,.8);d(a.SnackbarContent,"bg",I),d(a.SnackbarContent,"color",me(()=>a.getContrastText(I))),d(a.SpeedDialAction,"fabHoverBg",Ge(a.background.paper,.15)),d(a.StepConnector,"border",x("palette-grey-400")),d(a.StepContent,"border",x("palette-grey-400")),d(a.Switch,"defaultColor",x("palette-common-white")),d(a.Switch,"defaultDisabledColor",x("palette-grey-100")),d(a.Switch,"primaryDisabledColor",q(a.primary.main,.62)),d(a.Switch,"secondaryDisabledColor",q(a.secondary.main,.62)),d(a.Switch,"errorDisabledColor",q(a.error.main,.62)),d(a.Switch,"infoDisabledColor",q(a.info.main,.62)),d(a.Switch,"successDisabledColor",q(a.success.main,.62)),d(a.Switch,"warningDisabledColor",q(a.warning.main,.62)),d(a.TableCell,"border",q(qe(a.divider,1),.88)),d(a.Tooltip,"bg",qe(a.grey[700],.92))}if(a.mode==="dark"){d(a.Alert,"errorColor",q(a.error.light,.6)),d(a.Alert,"infoColor",q(a.info.light,.6)),d(a.Alert,"successColor",q(a.success.light,.6)),d(a.Alert,"warningColor",q(a.warning.light,.6)),d(a.Alert,"errorFilledBg",x("palette-error-dark")),d(a.Alert,"infoFilledBg",x("palette-info-dark")),d(a.Alert,"successFilledBg",x("palette-success-dark")),d(a.Alert,"warningFilledBg",x("palette-warning-dark")),d(a.Alert,"errorFilledColor",me(()=>a.getContrastText(a.error.dark))),d(a.Alert,"infoFilledColor",me(()=>a.getContrastText(a.info.dark))),d(a.Alert,"successFilledColor",me(()=>a.getContrastText(a.success.dark))),d(a.Alert,"warningFilledColor",me(()=>a.getContrastText(a.warning.dark))),d(a.Alert,"errorStandardBg",H(a.error.light,.9)),d(a.Alert,"infoStandardBg",H(a.info.light,.9)),d(a.Alert,"successStandardBg",H(a.success.light,.9)),d(a.Alert,"warningStandardBg",H(a.warning.light,.9)),d(a.Alert,"errorIconColor",x("palette-error-main")),d(a.Alert,"infoIconColor",x("palette-info-main")),d(a.Alert,"successIconColor",x("palette-success-main")),d(a.Alert,"warningIconColor",x("palette-warning-main")),d(a.AppBar,"defaultBg",x("palette-grey-900")),d(a.AppBar,"darkBg",x("palette-background-paper")),d(a.AppBar,"darkColor",x("palette-text-primary")),d(a.Avatar,"defaultBg",x("palette-grey-600")),d(a.Button,"inheritContainedBg",x("palette-grey-800")),d(a.Button,"inheritContainedHoverBg",x("palette-grey-700")),d(a.Chip,"defaultBorder",x("palette-grey-700")),d(a.Chip,"defaultAvatarColor",x("palette-grey-300")),d(a.Chip,"defaultIconColor",x("palette-grey-300")),d(a.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),d(a.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),d(a.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),d(a.LinearProgress,"primaryBg",H(a.primary.main,.5)),d(a.LinearProgress,"secondaryBg",H(a.secondary.main,.5)),d(a.LinearProgress,"errorBg",H(a.error.main,.5)),d(a.LinearProgress,"infoBg",H(a.info.main,.5)),d(a.LinearProgress,"successBg",H(a.success.main,.5)),d(a.LinearProgress,"warningBg",H(a.warning.main,.5)),d(a.Skeleton,"bg",`rgba(${x("palette-text-primaryChannel")} / 0.13)`),d(a.Slider,"primaryTrack",H(a.primary.main,.5)),d(a.Slider,"secondaryTrack",H(a.secondary.main,.5)),d(a.Slider,"errorTrack",H(a.error.main,.5)),d(a.Slider,"infoTrack",H(a.info.main,.5)),d(a.Slider,"successTrack",H(a.success.main,.5)),d(a.Slider,"warningTrack",H(a.warning.main,.5));const I=Ge(a.background.default,.98);d(a.SnackbarContent,"bg",I),d(a.SnackbarContent,"color",me(()=>a.getContrastText(I))),d(a.SpeedDialAction,"fabHoverBg",Ge(a.background.paper,.15)),d(a.StepConnector,"border",x("palette-grey-600")),d(a.StepContent,"border",x("palette-grey-600")),d(a.Switch,"defaultColor",x("palette-grey-300")),d(a.Switch,"defaultDisabledColor",x("palette-grey-600")),d(a.Switch,"primaryDisabledColor",H(a.primary.main,.55)),d(a.Switch,"secondaryDisabledColor",H(a.secondary.main,.55)),d(a.Switch,"errorDisabledColor",H(a.error.main,.55)),d(a.Switch,"infoDisabledColor",H(a.info.main,.55)),d(a.Switch,"successDisabledColor",H(a.success.main,.55)),d(a.Switch,"warningDisabledColor",H(a.warning.main,.55)),d(a.TableCell,"border",H(qe(a.divider,1),.68)),d(a.Tooltip,"bg",qe(a.grey[700],.92))}he(a.background,"default"),he(a.background,"paper"),he(a.common,"background"),he(a.common,"onBackground"),he(a,"divider"),Object.keys(a).forEach(I=>{const j=a[I];I!=="tonalOffset"&&j&&typeof j=="object"&&(j.main&&d(a[I],"mainChannel",Be(De(j.main))),j.light&&d(a[I],"lightChannel",Be(De(j.light))),j.dark&&d(a[I],"darkChannel",Be(De(j.dark))),j.contrastText&&d(a[I],"contrastTextChannel",Be(De(j.contrastText))),I==="text"&&(he(a[I],"primary"),he(a[I],"secondary")),I==="action"&&(j.active&&he(a[I],"active"),j.selected&&he(a[I],"selected")))})}),O=t.reduce((K,a)=>ce(K,a),O);const g={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:c,getSelector:pi(O)},{vars:V,generateThemeVars:G,generateStyleSheets:ne}=Lo(O,g);return O.vars=V,Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([K,a])=>{O[K]=a}),O.generateThemeVars=G,O.generateStyleSheets=ne,O.generateSpacing=function(){return $r(f.spacing,wt(this))},O.getColorSchemeSelector=Vo(l),O.spacing=O.generateSpacing(),O.shouldSkipGeneratingVar=c,O.unstable_sxConfig={...lt,...f==null?void 0:f.unstable_sxConfig},O.unstable_sx=function(a){return Me({sx:a,theme:this})},O.toRuntimeSource=jr,O}function pr(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Pt({...r===!0?{}:r.palette,mode:t})})}function vi(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:i=r==null?void 0:r.mode,...c}=e,l=i||"light",u=o==null?void 0:o[l],f={...o,...r?{[l]:{...typeof u!="boolean"&&u,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return xt(e,...t);let m=r;"palette"in e||f[l]&&(f[l]!==!0?m=f[l].palette:l==="dark"&&(m={mode:"dark"}));const h=xt({...e,palette:m},...t);return h.defaultColorScheme=l,h.colorSchemes=f,h.palette.mode==="light"&&(h.colorSchemes.light={...f.light!==!0&&f.light,palette:h.palette},pr(h,"dark",f.dark)),h.palette.mode==="dark"&&(h.colorSchemes.dark={...f.dark!==!0&&f.dark,palette:h.palette},pr(h,"light",f.light)),h}return!r&&!("light"in f)&&l==="light"&&(f.light=!0),bi({...c,colorSchemes:f,defaultColorScheme:l,...typeof n!="boolean"&&n},...t)}const Dr=vi(),Lr="$$material";function Si(){const e=ho(Dr);return process.env.NODE_ENV!=="production"&&pe.useDebugValue(e),e[Lr]||e}function Ci(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Ei=e=>Ci(e)&&e!=="classes",Ti=Eo({themeId:Lr,defaultTheme:Dr,rootShouldForwardProp:Ei}),xi=jo;process.env.NODE_ENV!=="production"&&(L.node,L.object.isRequired);function Oi(e){return Mo(e)}function wi(e){return At("MuiSvgIcon",e)}yo("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const $i=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${we(t)}`,`fontSize${we(r)}`]};return rn(o,wi,n)},_i=Ti("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${we(r.color)}`],t[`fontSize${we(r.fontSize)}`]]}})(xi(({theme:e})=>{var t,r,n,o,i,c,l,u,f,m,h,p,C,b;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(o=(t=e.transitions)==null?void 0:t.create)==null?void 0:o.call(t,"fill",{duration:(n=(r=(e.vars??e).transitions)==null?void 0:r.duration)==null?void 0:n.shorter}),variants:[{props:s=>!s.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((c=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:c.call(i,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((u=(l=e.typography)==null?void 0:l.pxToRem)==null?void 0:u.call(l,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((m=(f=e.typography)==null?void 0:f.pxToRem)==null?void 0:m.call(f,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,s])=>s&&s.main).map(([s])=>{var T,$;return{props:{color:s},style:{color:($=(T=(e.vars??e).palette)==null?void 0:T[s])==null?void 0:$.main}}}),{props:{color:"action"},style:{color:(p=(h=(e.vars??e).palette)==null?void 0:h.action)==null?void 0:p.active}},{props:{color:"disabled"},style:{color:(b=(C=(e.vars??e).palette)==null?void 0:C.action)==null?void 0:b.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Ze=pe.forwardRef(function(t,r){const n=Oi({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:c="inherit",component:l="svg",fontSize:u="medium",htmlColor:f,inheritViewBox:m=!1,titleAccess:h,viewBox:p="0 0 24 24",...C}=n,b=pe.isValidElement(o)&&o.type==="svg",s={...n,color:c,component:l,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:m,viewBox:p,hasSvgAsChild:b},T={};m||(T.viewBox=p);const $=$i(s);return v.jsxs(_i,{as:l,className:Tr($.root,i),focusable:"false",color:f,"aria-hidden":h?void 0:!0,role:h?"img":void 0,ref:r,...T,...C,...b&&o.props,ownerState:s,children:[b?o.props.children:o,h?v.jsx("title",{children:h}):null]})});process.env.NODE_ENV!=="production"&&(Ze.propTypes={children:L.node,classes:L.object,className:L.string,color:L.oneOfType([L.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),L.string]),component:L.elementType,fontSize:L.oneOfType([L.oneOf(["inherit","large","medium","small"]),L.string]),htmlColor:L.string,inheritViewBox:L.bool,shapeRendering:L.string,sx:L.oneOfType([L.arrayOf(L.oneOfType([L.func,L.object,L.bool])),L.func,L.object]),titleAccess:L.string,viewBox:L.string});Ze.muiName="SvgIcon";function le(e,t){function r(n,o){return v.jsx(Ze,{"data-testid":process.env.NODE_ENV!=="production"?`${t}Icon`:void 0,ref:o,...n,children:e})}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=Ze.muiName,pe.memo(pe.forwardRef(r))}const Ai=le(v.jsx("path",{d:"M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8"}),"Undo");function ki(e){return v.jsx(_.Button,{name:e.name,"data-cy":e.dataCy??"cancel-button",className:e.className,sx:e.sx,startIcon:e.startIcon??v.jsx(Ai,{}),variant:e.variant??"contained",color:e.color??"secondary",type:e.type??"button",onClick:()=>e.onClick(),children:e.children??e.name})}const Ii=le(v.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zm2.46-7.12 1.41-1.41L12 12.59l2.12-2.12 1.41 1.41L13.41 14l2.12 2.12-1.41 1.41L12 15.41l-2.12 2.12-1.41-1.41L10.59 14zM15.5 4l-1-1h-5l-1 1H5v2h14V4z"}),"DeleteForever");function Ri(e){return v.jsx(_.Button,{"data-cy":e.dataCy??"delete-button",loading:e.loading??!1,loadingPosition:e.loadingPosition??"start",startIcon:e.startIcon??v.jsx(Ii,{}),name:e.name,variant:e.variant??"contained",color:e.color??"error",sx:{m:1},type:e.type??"button",onClick:e.onClick,children:e.label?e.label:"Delete"})}const Pi=le(v.jsx("path",{d:"M11.67 3.87 9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z"}),"ArrowBackIos");function Mi(e){return v.jsx(_.Tooltip,{title:"Go Back to Previous Page",children:v.jsxs(_.IconButton,{name:e.name,color:e.color??"primary",onClick:()=>e.navigate(-1),children:[v.jsx(Pi,{}),e.children]})})}const ji=le(v.jsx("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8z"}),"History");function Ni(e){return v.jsx(_.Button,{name:e.name,"data-cy":e.dataCy??"history-button",className:e.className,sx:e.sx??{p:1,m:1},startIcon:e.startIcon??v.jsx(ji,{}),variant:e.variant??"contained",color:e.color??"primary",type:e.type??"button",onClick:()=>e.onClick(),children:e.children??e.name})}const Bi=le(v.jsx("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"}),"Save"),Di={backgroundColor:"$primary-color",color:"var(--white-color)",margin:"20px"};function Li(e){return v.jsx(_.Button,{name:e.name,"data-cy":e.dataCy??"loading-success-button",variant:e.variant??"contained",color:e.color??"success",loadingPosition:"start",startIcon:e.startIcon??v.jsx(Bi,{}),loading:e.loading,type:e.type??"button",style:Di,sx:e.sx,onClick:e.onClick,children:e.children??e.name})}const Vi=le(v.jsx("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings");function zi(e){return v.jsx(_.Button,{name:e.name,"data-cy":e.dataCy??"manage-button",className:e.className,onClick:()=>e.onClick(),variant:e.variant??"contained",color:e.color??"primary",size:e.size??"large",startIcon:e.startIcon??v.jsx(Vi,{}),children:e.children?e.children:"Manage"})}function Fi(e){return v.jsx(_.Button,{name:e.name,"data-cy":e.dataCy??"success-button",className:e.className,sx:e.sx,startIcon:e.startIcon,variant:e.variant??"contained",color:e.color??"success",type:e.type??"button",onClick:()=>e.onClick(),children:e.children??e.name})}function Ui(e){return v.jsx(_.Button,{"data-cy":e.dataCy??"excel-button",style:{borderRadius:"20px"},className:e.className,name:e.name,sx:e.sx,startIcon:e.startIcon,variant:"contained",color:"success",type:e.type??"button",onClick:()=>e.onClick(),children:e.children??e.name})}const Yi=le(v.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit");function Wi(e){return v.jsx(_.Tooltip,{title:e.tooltipTitle,children:v.jsx(_.IconButton,{sx:{pt:0,pb:0},color:e.color??"primary",onClick:()=>e.onClick(!0),"aria-label":e.tooltipTitle,children:v.jsx(Yi,{})})})}const Mt=le(v.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Hi=e=>{const[t,r]=ye.useState(!1);ye.useEffect(()=>{r(e.open)},[e.open,e.progressState]);const n=v.jsx(_.IconButton,{size:"small","aria-label":"close",color:"inherit",onClick:()=>r(!1),children:v.jsx(Mt,{fontSize:"small"})});return v.jsxs(v.Fragment,{children:[v.jsx(_.Snackbar,{anchorOrigin:{vertical:"bottom",horizontal:"center"},open:t&&e.progressState.isSuccess,autoHideDuration:e.autoHideDuration??3e3,onClose:()=>r(!1),children:v.jsx(_.Alert,{variant:"filled",severity:"success",sx:{width:"100%"},action:n,children:e.progressState.message})}),v.jsx(_.Snackbar,{anchorOrigin:{vertical:"bottom",horizontal:"center"},open:t&&e.progressState.isError,TransitionComponent:_.Slide,autoHideDuration:e.autoHideDuration??3e3,onClose:()=>r(!1),children:v.jsx(_.Alert,{variant:"filled",sx:{width:"100%"},severity:"error",action:n,children:e.progressState.message})})]})},qi=e=>{const[t,r]=ye.useState(!1);ye.useEffect(()=>{r(e.open)},[e.open,e]);const n=v.jsx(_.IconButton,{size:"small","aria-label":"close",color:"inherit",onClick:()=>r(!1),children:v.jsx(Mt,{fontSize:"small"})});return v.jsxs(v.Fragment,{children:[v.jsx(_.Snackbar,{anchorOrigin:{vertical:"bottom",horizontal:"center"},open:t&&e.isSuccess,autoHideDuration:e.autoHideDuration??3e3,onClose:()=>r(!1),children:v.jsx(_.Alert,{variant:"filled",severity:"success",sx:{width:"100%"},action:n,children:e.message})}),v.jsx(_.Snackbar,{anchorOrigin:{vertical:"bottom",horizontal:"center"},open:t&&e.isError,TransitionComponent:_.Slide,autoHideDuration:e.autoHideDuration??3e3,onClose:()=>r(!1),children:v.jsx(_.Alert,{variant:"filled",sx:{width:"100%"},severity:"error",action:n,children:e.message})})]})},hr=le(v.jsx("path",{d:"M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),gr=le(v.jsx("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6z"}),"KeyboardArrowLeft"),yr=le(v.jsx("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"}),"KeyboardArrowRight"),br=le(v.jsx("path",{d:"M5.59 7.41 10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage");function Gi(e){const t=Si(),{count:r,page:n,rowsPerPage:o,onPageChange:i}=e,c=m=>{i(m,0)},l=m=>{i(m,n-1)},u=m=>{i(m,n+1)},f=m=>{i(m,Math.max(0,Math.ceil(r/o)-1))};return v.jsxs(_.Box,{sx:{flexShrink:0,ml:2.5},children:[v.jsx(_.IconButton,{onClick:c,disabled:n===0,"aria-label":"first page",children:t.direction==="rtl"?v.jsx(br,{}):v.jsx(hr,{})}),v.jsx(_.IconButton,{onClick:l,disabled:n===0,"aria-label":"previous page",children:t.direction==="rtl"?v.jsx(yr,{}):v.jsx(gr,{})}),v.jsx(_.IconButton,{onClick:u,disabled:n>=Math.ceil(r/o)-1,"aria-label":"next page",children:t.direction==="rtl"?v.jsx(gr,{}):v.jsx(yr,{})}),v.jsx(_.IconButton,{onClick:f,disabled:n>=Math.ceil(r/o)-1,"aria-label":"last page",children:t.direction==="rtl"?v.jsx(hr,{}):v.jsx(br,{})})]})}function Ki(e){const{children:t,index:r,...n}=e;return v.jsx("div",{className:"tabPanel",role:"tabpanel",id:`vertical-tabpanel-${r}`,"aria-labelledby":`vertical-tab-${r}`,...n,children:v.jsx(_.Box,{sx:{p:3},children:v.jsx(_.Typography,{component:"span",children:t})})})}function Qi(e){return{id:`vertical-tab-${e}`,"aria-controls":`vertical-tabpanel-${e}`}}function Ji(e){return v.jsx(_.Link,{component:vr.Link,to:e.href,className:"next-btn-link",underline:"hover",children:e.linkText??e.children})}function Xi(){return v.jsx("div",{style:{margin:"1.5rem"},className:"app-flex-justify-center",children:v.jsx(_.CircularProgress,{})})}function Zi(e){const{onClose:t,title:r,message:n,open:o,...i}=e;return v.jsxs(_.Dialog,{sx:{"& .MuiDialog-paper":{width:"80%",maxHeight:435}},maxWidth:"xs",open:o,...i,children:[v.jsx(_.DialogTitle,{children:r??"Confirm"}),v.jsx(_.DialogContent,{dividers:!0,children:n}),v.jsxs(_.DialogActions,{children:[v.jsx(_.Button,{autoFocus:!0,onClick:()=>t("No"),children:"Cancel"}),v.jsx(_.Button,{onClick:()=>t("Yes"),children:"Yes"})]})]})}function ea(e){const[t,r]=ye.useState(!0),[n]=ye.useState(e.dismissible??!0),[o]=ye.useState(e.dismissOnTimeOut??!0),[i]=ye.useState(e.dismissTimeOut??5e3);return setTimeout(()=>{r(o?!1:t)},i),v.jsx("span",{children:t&&v.jsx(_.Alert,{action:n?v.jsx(_.IconButton,{"aria-label":"close",color:"inherit",size:"small",onClick:()=>{r(!1)},children:v.jsx(Mt,{fontSize:"inherit"})}):null,style:{margin:"20px"},...e,children:e.message})})}const ta=le(v.jsx("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"}),"OpenInNew");function ra(e){return v.jsxs(_.Link,{component:vr.Link,to:e.href,target:e.target||"_blank",rel:"noreferrer",className:"next-btn-link",underline:"hover",children:[e.linkText??e.children,v.jsx(_.Icon,{sx:{fontSize:"1.1rem",mx:.75,verticalAlign:"middle",display:"inline-flex"},component:ta})]})}function na(e){const{condition:t,children:r,else:n}=e;return t?typeof r=="function"?r():r:n?typeof n=="function"?n():n:null}function oa(e){return typeof e=="boolean"?e:typeof e=="string"?e.toLowerCase()==="true":!1}var jt=(e=>(e.SYSTEM_TIME_ZONE="America/New_York",e.SYSTEM_LOCALE="en-US",e.SYSTEM_DATE_FORMAT="MM/dd/yyyy",e.SYSTEM_DATE_TIME_FORMAT="MM/dd/yyyy hh:mm:ss a",e.ISO_DATE_FORMAT="yyyy-MM-dd",e[e.SYSTEM_COOKIE_TIMEOUT_HOURS=24]="SYSTEM_COOKIE_TIMEOUT_HOURS",e[e.SYSTEM_COOKIE_TIMEOUT_MILLI_SECONDS=36e5]="SYSTEM_COOKIE_TIMEOUT_MILLI_SECONDS",e))(jt||{});const ia=()=>{const e=+new Date;return new Date(e+jt.SYSTEM_COOKIE_TIMEOUT_MILLI_SECONDS)},aa=e=>Ct.format(new Date(e),jt.ISO_DATE_FORMAT),sa=(e,t)=>e?Ct.format(Ct.parseISO(e),t):"";function ca(e){if(typeof e=="string")return Number.parseInt(e,10)}const la=()=>({isLoading:!1,isSuccess:!1,isError:!1,isComplete:!1,message:""}),ua=e=>({...e,isLoading:!0,isSuccess:!1,isError:!1,message:""}),fa=(e,t)=>({...e,isLoading:!1,isSuccess:!0,isError:!1,isComplete:!0,message:t||""}),da=(e,t)=>({...e,isLoading:!1,isSuccess:!1,isError:!0,isComplete:!0,message:t||""});function ma(e){return e==null?!0:typeof e=="string"?e.trim()==="":!1}const pa=e=>{try{return decodeURIComponent(e)!==e}catch{return!1}};class ha extends Error{constructor(r,{status:n,statusText:o,redirected:i,type:c}){super(r);je(this,"status");je(this,"statusText");je(this,"redirected");je(this,"type");this.status=n,this.statusText=o,this.statusText=c,this.redirected=i,this.name="HttpError"}}async function ga(e,t={}){const r=new Headers(t.headers||{});t.body instanceof FormData||typeof t.body=="object"&&(t.body=JSON.stringify(t.body),r.set("Content-Type","application/json"));const n={...t,headers:r};n.body&&typeof n.body=="object"&&(n.body=JSON.stringify(n.body));const o=await fetch(e,n);if(o.type==="error"){const i=await o.text();throw new ha(i,o)}return await o.json()}function ya(e){return getComputedStyle(document.documentElement).getPropertyValue(e).trim()}exports.AppSnackBar=Hi;exports.CancelButton=ki;exports.CenteredCircularProgress=Xi;exports.ConfirmDialog=Zi;exports.DeleteButton=Ri;exports.DismissibleAlert=ea;exports.EditIconButton=Wi;exports.ExcelButton=Ui;exports.GoBackButton=Mi;exports.HistoryButton=Ni;exports.LoadingSuccessButton=Li;exports.ManageButton=zi;exports.NextLink=Ji;exports.OpenInNewIconLink=ra;exports.QuerySnackBar=qi;exports.ReactIf=na;exports.SuccessButton=Fi;exports.TabPanel=Ki;exports.TablePaginationActions=Gi;exports.a11yProps=Qi;exports.convertToIsoDate=aa;exports.fetchClient=ga;exports.formatDate=sa;exports.getCssVariable=ya;exports.initializeState=la;exports.isBlankOrEmpty=ma;exports.isEncoded=pa;exports.markError=da;exports.markLoading=ua;exports.markSuccess=fa;exports.parseBoolean=oa;exports.parseNumber=ca;exports.setCookieExpirationDate=ia;
|