@js-smart/react-kit 5.7.0 → 5.8.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.js +13 -13
- package/index.mjs +94 -82
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var jr=Object.defineProperty;var Br=(e,t,r)=>t in e?jr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Pe=(e,t,r)=>Br(e,typeof t!="symbol"?t+"":t,r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react/jsx-runtime"),$=require("@mui/material"),ye=require("react"),Dr=require("@emotion/styled"),Lr=require("@emotion/react"),gr=require("react-router-dom"),vt=require("date-fns");function zr(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=zr(ye),Nt=e=>e,Vr=()=>{let e=Nt;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Nt}}},Fr=Vr();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 xe(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 Ur(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ve={exports:{}},Fe={exports:{}},z={};/** @license React v16.13.1
|
|
2
2
|
* react-is.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
*
|
|
13
13
|
* This source code is licensed under the MIT license found in the
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
|
-
*/var Bt;function Wr(){return Bt||(Bt=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,s=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,S=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,c=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,_=e?Symbol.for("react.responder"):60118,X=e?Symbol.for("react.scope"):60119;function w(C){return typeof C=="string"||typeof C=="function"||C===n||C===d||C===i||C===o||C===m||C===h||typeof C=="object"&&C!==null&&(C.$$typeof===v||C.$$typeof===S||C.$$typeof===s||C.$$typeof===l||C.$$typeof===p||C.$$typeof===x||C.$$typeof===_||C.$$typeof===X||C.$$typeof===c)}function O(C){if(typeof C=="object"&&C!==null){var de=C.$$typeof;switch(de){case t:var ze=C.type;switch(ze){case u:case d:case n:case i:case o:case m:return ze;default:var Mt=ze&&ze.$$typeof;switch(Mt){case l:case p:case v:case S:case s:return Mt;default:return de}}case r:return de}}}var g=u,F=d,ee=l,te=s,re=t,a=p,T=n
|
|
15
|
+
*/var Bt;function Wr(){return Bt||(Bt=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,s=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,S=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,c=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,_=e?Symbol.for("react.responder"):60118,X=e?Symbol.for("react.scope"):60119;function w(C){return typeof C=="string"||typeof C=="function"||C===n||C===d||C===i||C===o||C===m||C===h||typeof C=="object"&&C!==null&&(C.$$typeof===v||C.$$typeof===S||C.$$typeof===s||C.$$typeof===l||C.$$typeof===p||C.$$typeof===x||C.$$typeof===_||C.$$typeof===X||C.$$typeof===c)}function O(C){if(typeof C=="object"&&C!==null){var de=C.$$typeof;switch(de){case t:var ze=C.type;switch(ze){case u:case d:case n:case i:case o:case m:return ze;default:var Mt=ze&&ze.$$typeof;switch(Mt){case l:case p:case v:case S:case s:return Mt;default:return de}}case r:return de}}}var g=u,F=d,ee=l,te=s,re=t,a=p,T=n,A=v,L=S,K=r,oe=i,ne=o,fe=m,Te=!1;function ct(C){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(C)||O(C)===u}function y(C){return O(C)===d}function E(C){return O(C)===l}function M(C){return O(C)===s}function P(C){return typeof C=="object"&&C!==null&&C.$$typeof===t}function k(C){return O(C)===p}function N(C){return O(C)===n}function I(C){return O(C)===v}function R(C){return O(C)===S}function j(C){return O(C)===r}function U(C){return O(C)===i}function B(C){return O(C)===o}function ie(C){return O(C)===m}V.AsyncMode=g,V.ConcurrentMode=F,V.ContextConsumer=ee,V.ContextProvider=te,V.Element=re,V.ForwardRef=a,V.Fragment=T,V.Lazy=A,V.Memo=L,V.Portal=K,V.Profiler=oe,V.StrictMode=ne,V.Suspense=fe,V.isAsyncMode=ct,V.isConcurrentMode=y,V.isContextConsumer=E,V.isContextProvider=M,V.isElement=P,V.isForwardRef=k,V.isFragment=N,V.isLazy=I,V.isMemo=R,V.isPortal=j,V.isProfiler=U,V.isStrictMode=B,V.isSuspense=ie,V.isValidElementType=w,V.typeOf=O}()),V}var Dt;function yr(){return Dt||(Dt=1,process.env.NODE_ENV==="production"?Fe.exports=Yr():Fe.exports=Wr()),Fe.exports}/*
|
|
16
16
|
object-assign
|
|
17
17
|
(c) Sindre Sorhus
|
|
18
18
|
@license MIT
|
|
19
|
-
*/var lt,Lt;function Hr(){if(Lt)return lt;Lt=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 s={},l=0;l<10;l++)s["_"+String.fromCharCode(l)]=l;var u=Object.getOwnPropertyNames(s).map(function(p){return s[p]});if(u.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(p){d[p]=p}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return lt=o()?Object.assign:function(i,s){for(var l,u=n(i),d,p=1;p<arguments.length;p++){l=Object(arguments[p]);for(var m in l)t.call(l,m)&&(u[m]=l[m]);if(e){d=e(l);for(var h=0;h<d.length;h++)r.call(l,d[h])&&(u[d[h]]=l[d[h]])}}return u},lt}var ut,zt;function Tt(){if(zt)return ut;zt=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ut=e,ut}var ft,Vt;function
|
|
20
|
-
Valid keys: `+JSON.stringify(Object.keys(y),null," "));var C=ie(R,B,k,N,I+"."+B,r);if(C)return C}return null}return x(E)}function K(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(K);if(y===null||l(y))return!0;var E=m(y);if(E){var M=E.call(y),P;if(E!==y.entries){for(;!(P=M.next()).done;)if(!K(P.value))return!1}else for(;!(P=M.next()).done;){var k=P.value;if(k&&!K(k[1]))return!1}}else return!1;return!0;default:return!1}}function oe(y,E){return y==="symbol"?!0:E?E["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&E instanceof Symbol:!1}function ne(y){var E=typeof y;return Array.isArray(y)?"array":y instanceof RegExp?"object":oe(E,y)?"symbol":E}function fe(y){if(typeof y>"u"||y===null)return""+y;var E=ne(y);if(E==="object"){if(y instanceof Date)return"date";if(y instanceof RegExp)return"regexp"}return E}function Te(y){var E=fe(y);switch(E){case"array":case"object":return"an "+E;case"boolean":case"date":case"regexp":return"a "+E;default:return E}}function ct(y){return!y.constructor||!y.constructor.name?h:y.constructor.name}return S.checkPropTypes=o,S.resetWarningCache=o.resetWarningCache,S.PropTypes=S,S},mt}var pt,Yt;function Kr(){if(Yt)return pt;Yt=1;var e=Tt();function t(){}function r(){}return r.resetWarningCache=t,pt=function(){function n(s,l,u,d,p,m){if(m!==e){var h=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 h.name="Invariant Violation",h}}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},pt}var Wt;function Qr(){if(Wt)return Ve.exports;if(Wt=1,process.env.NODE_ENV!=="production"){var e=
|
|
19
|
+
*/var lt,Lt;function Hr(){if(Lt)return lt;Lt=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 s={},l=0;l<10;l++)s["_"+String.fromCharCode(l)]=l;var u=Object.getOwnPropertyNames(s).map(function(p){return s[p]});if(u.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(p){d[p]=p}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return lt=o()?Object.assign:function(i,s){for(var l,u=n(i),d,p=1;p<arguments.length;p++){l=Object(arguments[p]);for(var m in l)t.call(l,m)&&(u[m]=l[m]);if(e){d=e(l);for(var h=0;h<d.length;h++)r.call(l,d[h])&&(u[d[h]]=l[d[h]])}}return u},lt}var ut,zt;function Tt(){if(zt)return ut;zt=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ut=e,ut}var ft,Vt;function br(){return Vt||(Vt=1,ft=Function.call.bind(Object.prototype.hasOwnProperty)),ft}var dt,Ft;function qr(){if(Ft)return dt;Ft=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Tt(),r={},n=br();e=function(i){var s="Warning: "+i;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}}}function o(i,s,l,u,d){if(process.env.NODE_ENV!=="production"){for(var p in i)if(n(i,p)){var m;try{if(typeof i[p]!="function"){var h=Error((u||"React class")+": "+l+" type `"+p+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[p]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}m=i[p](s,p,u,l,null,t)}catch(v){m=v}if(m&&!(m instanceof Error)&&e((u||"React class")+": type specification of "+l+" `"+p+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof m+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),m instanceof Error&&!(m.message in r)){r[m.message]=!0;var S=d?d():"";e("Failed "+l+" type: "+m.message+(S??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},dt=o,dt}var mt,Ut;function Gr(){if(Ut)return mt;Ut=1;var e=yr(),t=Hr(),r=Tt(),n=br(),o=qr(),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 s(){return null}return mt=function(l,u){var d=typeof Symbol=="function"&&Symbol.iterator,p="@@iterator";function m(y){var E=y&&(d&&y[d]||y[p]);if(typeof E=="function")return E}var h="<<anonymous>>",S={array:_("array"),bigint:_("bigint"),bool:_("boolean"),func:_("function"),number:_("number"),object:_("object"),string:_("string"),symbol:_("symbol"),any:X(),arrayOf:w,element:O(),elementType:g(),instanceOf:F,node:a(),objectOf:te,oneOf:ee,oneOfType:re,shape:A,exact:L};function v(y,E){return y===E?y!==0||1/y===1/E:y!==y&&E!==E}function c(y,E){this.message=y,this.data=E&&typeof E=="object"?E:{},this.stack=""}c.prototype=Error.prototype;function x(y){if(process.env.NODE_ENV!=="production")var E={},M=0;function P(N,I,R,j,U,B,ie){if(j=j||h,B=B||R,ie!==r){if(u){var C=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 C.name="Invariant Violation",C}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var de=j+":"+R;!E[de]&&M<3&&(i("You are manually calling a React.PropTypes validation function for the `"+B+"` prop on `"+j+"`. 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 I[R]==null?N?I[R]===null?new c("The "+U+" `"+B+"` is marked as required "+("in `"+j+"`, but its value is `null`.")):new c("The "+U+" `"+B+"` is marked as required in "+("`"+j+"`, but its value is `undefined`.")):null:y(I,R,j,U,B)}var k=P.bind(null,!1);return k.isRequired=P.bind(null,!0),k}function _(y){function E(M,P,k,N,I,R){var j=M[P],U=ne(j);if(U!==y){var B=fe(j);return new c("Invalid "+N+" `"+I+"` of type "+("`"+B+"` supplied to `"+k+"`, expected ")+("`"+y+"`."),{expectedType:y})}return null}return x(E)}function X(){return x(s)}function w(y){function E(M,P,k,N,I){if(typeof y!="function")return new c("Property `"+I+"` of component `"+k+"` has invalid PropType notation inside arrayOf.");var R=M[P];if(!Array.isArray(R)){var j=ne(R);return new c("Invalid "+N+" `"+I+"` of type "+("`"+j+"` supplied to `"+k+"`, expected an array."))}for(var U=0;U<R.length;U++){var B=y(R,U,k,N,I+"["+U+"]",r);if(B instanceof Error)return B}return null}return x(E)}function O(){function y(E,M,P,k,N){var I=E[M];if(!l(I)){var R=ne(I);return new c("Invalid "+k+" `"+N+"` of type "+("`"+R+"` supplied to `"+P+"`, expected a single ReactElement."))}return null}return x(y)}function g(){function y(E,M,P,k,N){var I=E[M];if(!e.isValidElementType(I)){var R=ne(I);return new c("Invalid "+k+" `"+N+"` of type "+("`"+R+"` supplied to `"+P+"`, expected a single ReactElement type."))}return null}return x(y)}function F(y){function E(M,P,k,N,I){if(!(M[P]instanceof y)){var R=y.name||h,j=ct(M[P]);return new c("Invalid "+N+" `"+I+"` of type "+("`"+j+"` supplied to `"+k+"`, expected ")+("instance of `"+R+"`."))}return null}return x(E)}function ee(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.")),s;function E(M,P,k,N,I){for(var R=M[P],j=0;j<y.length;j++)if(v(R,y[j]))return null;var U=JSON.stringify(y,function(ie,C){var de=fe(C);return de==="symbol"?String(C):C});return new c("Invalid "+N+" `"+I+"` of value `"+String(R)+"` "+("supplied to `"+k+"`, expected one of "+U+"."))}return x(E)}function te(y){function E(M,P,k,N,I){if(typeof y!="function")return new c("Property `"+I+"` of component `"+k+"` has invalid PropType notation inside objectOf.");var R=M[P],j=ne(R);if(j!=="object")return new c("Invalid "+N+" `"+I+"` of type "+("`"+j+"` supplied to `"+k+"`, expected an object."));for(var U in R)if(n(R,U)){var B=y(R,U,k,N,I+"."+U,r);if(B instanceof Error)return B}return null}return x(E)}function re(y){if(!Array.isArray(y))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),s;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+"."),s}function P(k,N,I,R,j){for(var U=[],B=0;B<y.length;B++){var ie=y[B],C=ie(k,N,I,R,j,r);if(C==null)return null;C.data&&n(C.data,"expectedType")&&U.push(C.data.expectedType)}var de=U.length>0?", expected one of type ["+U.join(", ")+"]":"";return new c("Invalid "+R+" `"+j+"` supplied to "+("`"+I+"`"+de+"."))}return x(P)}function a(){function y(E,M,P,k,N){return K(E[M])?null:new c("Invalid "+k+" `"+N+"` supplied to "+("`"+P+"`, expected a ReactNode."))}return x(y)}function T(y,E,M,P,k){return new c((y||"React class")+": "+E+" type `"+M+"."+P+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+k+"`.")}function A(y){function E(M,P,k,N,I){var R=M[P],j=ne(R);if(j!=="object")return new c("Invalid "+N+" `"+I+"` of type `"+j+"` "+("supplied to `"+k+"`, expected `object`."));for(var U in y){var B=y[U];if(typeof B!="function")return T(k,N,I,U,fe(B));var ie=B(R,U,k,N,I+"."+U,r);if(ie)return ie}return null}return x(E)}function L(y){function E(M,P,k,N,I){var R=M[P],j=ne(R);if(j!=="object")return new c("Invalid "+N+" `"+I+"` of type `"+j+"` "+("supplied to `"+k+"`, expected `object`."));var U=t({},M[P],y);for(var B in U){var ie=y[B];if(n(y,B)&&typeof ie!="function")return T(k,N,I,B,fe(ie));if(!ie)return new c("Invalid "+N+" `"+I+"` key `"+B+"` supplied to `"+k+"`.\nBad object: "+JSON.stringify(M[P],null," ")+`
|
|
20
|
+
Valid keys: `+JSON.stringify(Object.keys(y),null," "));var C=ie(R,B,k,N,I+"."+B,r);if(C)return C}return null}return x(E)}function K(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(K);if(y===null||l(y))return!0;var E=m(y);if(E){var M=E.call(y),P;if(E!==y.entries){for(;!(P=M.next()).done;)if(!K(P.value))return!1}else for(;!(P=M.next()).done;){var k=P.value;if(k&&!K(k[1]))return!1}}else return!1;return!0;default:return!1}}function oe(y,E){return y==="symbol"?!0:E?E["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&E instanceof Symbol:!1}function ne(y){var E=typeof y;return Array.isArray(y)?"array":y instanceof RegExp?"object":oe(E,y)?"symbol":E}function fe(y){if(typeof y>"u"||y===null)return""+y;var E=ne(y);if(E==="object"){if(y instanceof Date)return"date";if(y instanceof RegExp)return"regexp"}return E}function Te(y){var E=fe(y);switch(E){case"array":case"object":return"an "+E;case"boolean":case"date":case"regexp":return"a "+E;default:return E}}function ct(y){return!y.constructor||!y.constructor.name?h:y.constructor.name}return S.checkPropTypes=o,S.resetWarningCache=o.resetWarningCache,S.PropTypes=S,S},mt}var pt,Yt;function Kr(){if(Yt)return pt;Yt=1;var e=Tt();function t(){}function r(){}return r.resetWarningCache=t,pt=function(){function n(s,l,u,d,p,m){if(m!==e){var h=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 h.name="Invariant Violation",h}}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},pt}var Wt;function Qr(){if(Wt)return Ve.exports;if(Wt=1,process.env.NODE_ENV!=="production"){var e=yr(),t=!0;Ve.exports=Gr()(e.isElement,t)}else Ve.exports=Kr()();return Ve.exports}var Jr=Qr();const D=Ur(Jr);function vr(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=vr(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Xr(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=vr(e))&&(n&&(n+=" "),n+=t);return n}function Zr(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let s="",l=!0;for(let u=0;u<i.length;u+=1){const d=i[u];d&&(s+=(l===!0?"":" ")+t(d),l=!1,r&&r[d]&&(s+=" "+r[d]))}n[o]=s}return n}var Ue={exports:{}},Y={};/**
|
|
21
21
|
* @license React
|
|
22
22
|
* react-is.production.js
|
|
23
23
|
*
|
|
@@ -33,20 +33,20 @@ Valid keys: `+JSON.stringify(Object.keys(y),null," "));var C=ie(R,B,k,N,I+"."+B
|
|
|
33
33
|
*
|
|
34
34
|
* This source code is licensed under the MIT license found in the
|
|
35
35
|
* LICENSE file in the root directory of this source tree.
|
|
36
|
-
*/var qt;function tn(){return qt||(qt=1,process.env.NODE_ENV!=="production"&&function(){function e(c){if(typeof c=="object"&&c!==null){var x=c.$$typeof;switch(x){case t:switch(c=c.type,c){case n:case i:case o:case d:case p:case S:return c;default:switch(c=c&&c.$$typeof,c){case l:case u:case h:case m:return c;case s:return c;default:return x}}case r:return x}}}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"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),S=Symbol.for("react.view_transition"),v=Symbol.for("react.client.reference");W.ContextConsumer=s,W.ContextProvider=l,W.Element=t,W.ForwardRef=u,W.Fragment=n,W.Lazy=h,W.Memo=m,W.Portal=r,W.Profiler=i,W.StrictMode=o,W.Suspense=d,W.SuspenseList=p,W.isContextConsumer=function(c){return e(c)===s},W.isContextProvider=function(c){return e(c)===l},W.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===t},W.isForwardRef=function(c){return e(c)===u},W.isFragment=function(c){return e(c)===n},W.isLazy=function(c){return e(c)===h},W.isMemo=function(c){return e(c)===m},W.isPortal=function(c){return e(c)===r},W.isProfiler=function(c){return e(c)===i},W.isStrictMode=function(c){return e(c)===o},W.isSuspense=function(c){return e(c)===d},W.isSuspenseList=function(c){return e(c)===p},W.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===n||c===i||c===o||c===d||c===p||typeof c=="object"&&c!==null&&(c.$$typeof===h||c.$$typeof===m||c.$$typeof===l||c.$$typeof===s||c.$$typeof===u||c.$$typeof===v||c.getModuleId!==void 0)},W.typeOf=e}()),W}var Gt;function rn(){return Gt||(Gt=1,process.env.NODE_ENV==="production"?Ue.exports=en():Ue.exports=tn()),Ue.exports}var qe=rn();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
|
|
36
|
+
*/var qt;function tn(){return qt||(qt=1,process.env.NODE_ENV!=="production"&&function(){function e(c){if(typeof c=="object"&&c!==null){var x=c.$$typeof;switch(x){case t:switch(c=c.type,c){case n:case i:case o:case d:case p:case S:return c;default:switch(c=c&&c.$$typeof,c){case l:case u:case h:case m:return c;case s:return c;default:return x}}case r:return x}}}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"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),S=Symbol.for("react.view_transition"),v=Symbol.for("react.client.reference");W.ContextConsumer=s,W.ContextProvider=l,W.Element=t,W.ForwardRef=u,W.Fragment=n,W.Lazy=h,W.Memo=m,W.Portal=r,W.Profiler=i,W.StrictMode=o,W.Suspense=d,W.SuspenseList=p,W.isContextConsumer=function(c){return e(c)===s},W.isContextProvider=function(c){return e(c)===l},W.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===t},W.isForwardRef=function(c){return e(c)===u},W.isFragment=function(c){return e(c)===n},W.isLazy=function(c){return e(c)===h},W.isMemo=function(c){return e(c)===m},W.isPortal=function(c){return e(c)===r},W.isProfiler=function(c){return e(c)===i},W.isStrictMode=function(c){return e(c)===o},W.isSuspense=function(c){return e(c)===d},W.isSuspenseList=function(c){return e(c)===p},W.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===n||c===i||c===o||c===d||c===p||typeof c=="object"&&c!==null&&(c.$$typeof===h||c.$$typeof===m||c.$$typeof===l||c.$$typeof===s||c.$$typeof===u||c.$$typeof===v||c.getModuleId!==void 0)},W.typeOf=e}()),W}var Gt;function rn(){return Gt||(Gt=1,process.env.NODE_ENV==="production"?Ue.exports=en():Ue.exports=tn()),Ue.exports}var qe=rn();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 Sr(e){if(pe.isValidElement(e)||qe.isValidElementType(e)||!ge(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Sr(e[r])}),t}function se(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]=se(e[o],t[o],r):r.clone?n[o]=ge(t[o])?Sr(t[o]):t[o]:n[o]=t[o]}),n}function je(e,t){return t?se(e,t,{clone:!1}):e}const Ee=process.env.NODE_ENV!=="production"?D.oneOfType([D.number,D.string,D.object,D.array]):{};function nn(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,o)=>{var s,l;const i=/min-width:\s*([0-9.]+)/;return+(((s=n.match(i))==null?void 0:s[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 on(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function an(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
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 sn(e){const t=(i,s)=>i.replace("@media",s?`@container ${s}`:"@container");function r(i,s){i.up=(...l)=>t(e.breakpoints.up(...l),s),i.down=(...l)=>t(e.breakpoints.down(...l),s),i.between=(...l)=>t(e.breakpoints.between(...l),s),i.only=(...l)=>t(e.breakpoints.only(...l),s),i.not=(...l)=>{const u=t(e.breakpoints.not(...l),s);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 Je={xs:0,sm:600,md:900,lg:1200,xl:1536},Kt={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Je[e]}px)`},cn={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:Je[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||Kt;return t.reduce((s,l,u)=>(s[i.up(i.keys[u])]=r(t[u]),s),{})}if(typeof t=="object"){const i=n.breakpoints||Kt;return Object.keys(t).reduce((s,l)=>{if(on(i.keys,l)){const u=an(n.containerQueries?n:cn,l);u&&(s[u]=r(t[l],l))}else if(Object.keys(i.values||Je).includes(l)){const u=i.up(l);s[u]=r(t[l],l)}else{const u=l;s[u]=t[u]}return s},{})}return r(t)}function ln(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function un(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Xe(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 Ge(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=Xe(e,r)||n,t&&(o=t(o,n,e)),o}function Z(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=s=>{if(s[t]==null)return null;const l=s[t],u=s.theme,d=Xe(u,n)||{};return be(s,l,m=>{let h=Ge(d,o,m);return m===h&&typeof m=="string"&&(h=Ge(d,o,`${t}${m==="default"?"":xe(m)}`,m)),r===!1?h:{[r]:h}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:Ee}:{},i.filterProps=[t],i}function fn(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const dn={m:"margin",p:"padding"},mn={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Qt={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},pn=fn(e=>{if(e.length>2)if(Qt[e])e=Qt[e];else return[e];const[t,r]=e.split(""),n=dn[t],o=mn[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),Ze=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],et=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],hn=[...Ze,...et];function De(e,t,r,n){const o=Xe(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 s=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(s)?s>o.length-1&&console.error([`MUI: The value provided (${s}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${s} > ${o.length-1}, you need to add the missing values.`].join(`
|
|
38
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
39
|
`)));const l=o[s];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 xt(e){return De(e,"spacing",8,"spacing")}function Le(e,t){return typeof t=="string"||t==null?t:e(t)}function gn(e,t){return r=>e.reduce((n,o)=>(n[o]=Le(t,r),n),{})}function yn(e,t,r,n){if(!t.includes(r))return null;const o=pn(r),i=gn(o,n),s=e[r];return be(e,s,i)}function Sr(e,t){const r=xt(e.theme);return Object.keys(e).map(n=>yn(e,t,n,r)).reduce(je,{})}function Q(e){return Sr(e,Ze)}Q.propTypes=process.env.NODE_ENV!=="production"?Ze.reduce((e,t)=>(e[t]=Ee,e),{}):{};Q.filterProps=Ze;function J(e){return Sr(e,et)}J.propTypes=process.env.NODE_ENV!=="production"?et.reduce((e,t)=>(e[t]=Ee,e),{}):{};J.filterProps=et;process.env.NODE_ENV!=="production"&&hn.reduce((e,t)=>(e[t]=Ee,e),{});function tt(...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]?je(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 le(e){return typeof e!="number"?e:`${e}px solid`}function ue(e,t){return Z({prop:e,themeKey:"borders",transform:t})}const bn=ue("border",le),vn=ue("borderTop",le),Sn=ue("borderRight",le),Cn=ue("borderBottom",le),En=ue("borderLeft",le),Tn=ue("borderColor"),xn=ue("borderTopColor"),On=ue("borderRightColor"),wn=ue("borderBottomColor"),_n=ue("borderLeftColor"),$n=ue("outline",le),An=ue("outlineColor"),rt=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=De(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Le(t,n)});return be(e,e.borderRadius,r)}return null};rt.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Ee}:{};rt.filterProps=["borderRadius"];tt(bn,vn,Sn,Cn,En,Tn,xn,On,wn,_n,rt,$n,An);const nt=e=>{if(e.gap!==void 0&&e.gap!==null){const t=De(e.theme,"spacing",8,"gap"),r=n=>({gap:Le(t,n)});return be(e,e.gap,r)}return null};nt.propTypes=process.env.NODE_ENV!=="production"?{gap:Ee}:{};nt.filterProps=["gap"];const ot=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=De(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Le(t,n)});return be(e,e.columnGap,r)}return null};ot.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Ee}:{};ot.filterProps=["columnGap"];const it=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=De(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Le(t,n)});return be(e,e.rowGap,r)}return null};it.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Ee}:{};it.filterProps=["rowGap"];const kn=Z({prop:"gridColumn"}),In=Z({prop:"gridRow"}),Pn=Z({prop:"gridAutoFlow"}),Rn=Z({prop:"gridAutoColumns"}),Mn=Z({prop:"gridAutoRows"}),Nn=Z({prop:"gridTemplateColumns"}),jn=Z({prop:"gridTemplateRows"}),Bn=Z({prop:"gridTemplateAreas"}),Dn=Z({prop:"gridArea"});tt(nt,ot,it,kn,In,Pn,Rn,Mn,Nn,jn,Bn,Dn);function ke(e,t){return t==="grey"?t:e}const Ln=Z({prop:"color",themeKey:"palette",transform:ke}),zn=Z({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ke}),Vn=Z({prop:"backgroundColor",themeKey:"palette",transform:ke});tt(Ln,zn,Vn);function ae(e){return e<=1&&e!==0?`${e*100}%`:e}const Fn=Z({prop:"width",transform:ae}),Ot=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var o,i,s,l,u;const n=((s=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:s[r])||Je[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:ae(r)}};return be(e,e.maxWidth,t)}return null};Ot.filterProps=["maxWidth"];const Un=Z({prop:"minWidth",transform:ae}),Yn=Z({prop:"height",transform:ae}),Wn=Z({prop:"maxHeight",transform:ae}),Hn=Z({prop:"minHeight",transform:ae});Z({prop:"size",cssProperty:"width",transform:ae});Z({prop:"size",cssProperty:"height",transform:ae});const qn=Z({prop:"boxSizing"});tt(Fn,Ot,Un,Yn,Wn,Hn,qn);const at={border:{themeKey:"borders",transform:le},borderTop:{themeKey:"borders",transform:le},borderRight:{themeKey:"borders",transform:le},borderBottom:{themeKey:"borders",transform:le},borderLeft:{themeKey:"borders",transform:le},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:le},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:rt},color:{themeKey:"palette",transform:ke},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ke},backgroundColor:{themeKey:"palette",transform:ke},p:{style:J},pt:{style:J},pr:{style:J},pb:{style:J},pl:{style:J},px:{style:J},py:{style:J},padding:{style:J},paddingTop:{style:J},paddingRight:{style:J},paddingBottom:{style:J},paddingLeft:{style:J},paddingX:{style:J},paddingY:{style:J},paddingInline:{style:J},paddingInlineStart:{style:J},paddingInlineEnd:{style:J},paddingBlock:{style:J},paddingBlockStart:{style:J},paddingBlockEnd:{style:J},m:{style:Q},mt:{style:Q},mr:{style:Q},mb:{style:Q},ml:{style:Q},mx:{style:Q},my:{style:Q},margin:{style:Q},marginTop:{style:Q},marginRight:{style:Q},marginBottom:{style:Q},marginLeft:{style:Q},marginX:{style:Q},marginY:{style:Q},marginInline:{style:Q},marginInlineStart:{style:Q},marginInlineEnd:{style:Q},marginBlock:{style:Q},marginBlockStart:{style:Q},marginBlockEnd:{style:Q},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:nt},rowGap:{style:it},columnGap:{style:ot},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ae},maxWidth:{style:Ot},minWidth:{transform:ae},height:{transform:ae},maxHeight:{transform:ae},minHeight:{transform:ae},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 Gn(...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 Kn(e,t){return typeof e=="function"?e(t):e}function Qn(){function e(r,n,o,i){const s={[r]:n,theme:o},l=i[r];if(!l)return{[r]:n};const{cssProperty:u=r,themeKey:d,transform:p,style:m}=l;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[r]:n};const h=Xe(o,d)||{};return m?m(s):be(s,n,v=>{let c=Ge(h,p,v);return v===c&&typeof v=="string"&&(c=Ge(h,p,`${r}${v==="default"?"":xe(v)}`,v)),u===!1?c:{[u]:c}})}function t(r){const{sx:n,theme:o={}}=r||{};if(!n)return null;const i=o.unstable_sxConfig??at;function s(l){let u=l;if(typeof l=="function")u=l(o);else if(typeof l!="object")return l;if(!u)return null;const d=ln(o.breakpoints),p=Object.keys(d);let m=d;return Object.keys(u).forEach(h=>{const S=Kn(u[h],o);if(S!=null)if(typeof S=="object")if(i[h])m=je(m,e(h,S,o,i));else{const v=be({theme:o},S,c=>({[h]:c}));Gn(v,S)?m[h]=t({sx:S,theme:o}):m=je(m,v)}else m=je(m,e(h,S,o,i))}),nn(o,un(p,m))}return Array.isArray(n)?n.map(s):s(n)}return t}const Ie=Qn();Ie.filterProps=["sx"];function Jn(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 Xn={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 Zn(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var eo=/[A-Z]|^ms/g,to=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Cr=function(t){return t.charCodeAt(1)===45},Jt=function(t){return t!=null&&typeof t!="boolean"},ht=Zn(function(e){return Cr(e)?e:e.replace(eo,"-$&").toLowerCase()}),Xt=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(to,function(n,o,i){return ve={name:o,styles:i,next:ve},o})}return Xn[t]!==1&&!Cr(t)&&typeof r=="number"&&r!==0?r+"px":r};function Ke(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 s=i.next;if(s!==void 0)for(;s!==void 0;)ve={name:s.name,styles:s.styles,next:ve},s=s.next;var l=i.styles+";";return l}return ro(e,t,r)}}var u=r;return u}function ro(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Ke(e,t,r[o])+";";else for(var i in r){var s=r[i];if(typeof s!="object"){var l=s;Jt(l)&&(n+=ht(i)+":"+Xt(i,l)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&t==null)for(var u=0;u<s.length;u++)Jt(s[u])&&(n+=ht(i)+":"+Xt(i,s[u])+";");else{var d=Ke(e,t,s);switch(i){case"animation":case"animationName":{n+=ht(i)+":"+d+";";break}default:n+=i+"{"+d+"}"}}}return n}var Zt=/label:\s*([^\s;{]+)\s*(;|$)/g,ve;function no(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+=Ke(r,t,i);else{var s=i;o+=s[0]}for(var l=1;l<e.length;l++)if(o+=Ke(r,t,e[l]),n){var u=i;o+=u[l]}Zt.lastIndex=0;for(var d="",p;(p=Zt.exec(o))!==null;)d+="-"+p[1];var m=Jn(o)+d;return{name:m,styles:o,next:ve}}/**
|
|
40
|
+
`)),()=>{})}function xt(e){return De(e,"spacing",8,"spacing")}function Le(e,t){return typeof t=="string"||t==null?t:e(t)}function gn(e,t){return r=>e.reduce((n,o)=>(n[o]=Le(t,r),n),{})}function yn(e,t,r,n){if(!t.includes(r))return null;const o=pn(r),i=gn(o,n),s=e[r];return be(e,s,i)}function Cr(e,t){const r=xt(e.theme);return Object.keys(e).map(n=>yn(e,t,n,r)).reduce(je,{})}function Q(e){return Cr(e,Ze)}Q.propTypes=process.env.NODE_ENV!=="production"?Ze.reduce((e,t)=>(e[t]=Ee,e),{}):{};Q.filterProps=Ze;function J(e){return Cr(e,et)}J.propTypes=process.env.NODE_ENV!=="production"?et.reduce((e,t)=>(e[t]=Ee,e),{}):{};J.filterProps=et;process.env.NODE_ENV!=="production"&&hn.reduce((e,t)=>(e[t]=Ee,e),{});function tt(...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]?je(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 le(e){return typeof e!="number"?e:`${e}px solid`}function ue(e,t){return Z({prop:e,themeKey:"borders",transform:t})}const bn=ue("border",le),vn=ue("borderTop",le),Sn=ue("borderRight",le),Cn=ue("borderBottom",le),En=ue("borderLeft",le),Tn=ue("borderColor"),xn=ue("borderTopColor"),On=ue("borderRightColor"),wn=ue("borderBottomColor"),_n=ue("borderLeftColor"),$n=ue("outline",le),An=ue("outlineColor"),rt=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=De(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Le(t,n)});return be(e,e.borderRadius,r)}return null};rt.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Ee}:{};rt.filterProps=["borderRadius"];tt(bn,vn,Sn,Cn,En,Tn,xn,On,wn,_n,rt,$n,An);const nt=e=>{if(e.gap!==void 0&&e.gap!==null){const t=De(e.theme,"spacing",8,"gap"),r=n=>({gap:Le(t,n)});return be(e,e.gap,r)}return null};nt.propTypes=process.env.NODE_ENV!=="production"?{gap:Ee}:{};nt.filterProps=["gap"];const ot=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=De(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Le(t,n)});return be(e,e.columnGap,r)}return null};ot.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Ee}:{};ot.filterProps=["columnGap"];const it=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=De(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Le(t,n)});return be(e,e.rowGap,r)}return null};it.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Ee}:{};it.filterProps=["rowGap"];const kn=Z({prop:"gridColumn"}),In=Z({prop:"gridRow"}),Pn=Z({prop:"gridAutoFlow"}),Rn=Z({prop:"gridAutoColumns"}),Mn=Z({prop:"gridAutoRows"}),Nn=Z({prop:"gridTemplateColumns"}),jn=Z({prop:"gridTemplateRows"}),Bn=Z({prop:"gridTemplateAreas"}),Dn=Z({prop:"gridArea"});tt(nt,ot,it,kn,In,Pn,Rn,Mn,Nn,jn,Bn,Dn);function ke(e,t){return t==="grey"?t:e}const Ln=Z({prop:"color",themeKey:"palette",transform:ke}),zn=Z({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ke}),Vn=Z({prop:"backgroundColor",themeKey:"palette",transform:ke});tt(Ln,zn,Vn);function ae(e){return e<=1&&e!==0?`${e*100}%`:e}const Fn=Z({prop:"width",transform:ae}),Ot=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var o,i,s,l,u;const n=((s=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:s[r])||Je[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:ae(r)}};return be(e,e.maxWidth,t)}return null};Ot.filterProps=["maxWidth"];const Un=Z({prop:"minWidth",transform:ae}),Yn=Z({prop:"height",transform:ae}),Wn=Z({prop:"maxHeight",transform:ae}),Hn=Z({prop:"minHeight",transform:ae});Z({prop:"size",cssProperty:"width",transform:ae});Z({prop:"size",cssProperty:"height",transform:ae});const qn=Z({prop:"boxSizing"});tt(Fn,Ot,Un,Yn,Wn,Hn,qn);const at={border:{themeKey:"borders",transform:le},borderTop:{themeKey:"borders",transform:le},borderRight:{themeKey:"borders",transform:le},borderBottom:{themeKey:"borders",transform:le},borderLeft:{themeKey:"borders",transform:le},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:le},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:rt},color:{themeKey:"palette",transform:ke},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ke},backgroundColor:{themeKey:"palette",transform:ke},p:{style:J},pt:{style:J},pr:{style:J},pb:{style:J},pl:{style:J},px:{style:J},py:{style:J},padding:{style:J},paddingTop:{style:J},paddingRight:{style:J},paddingBottom:{style:J},paddingLeft:{style:J},paddingX:{style:J},paddingY:{style:J},paddingInline:{style:J},paddingInlineStart:{style:J},paddingInlineEnd:{style:J},paddingBlock:{style:J},paddingBlockStart:{style:J},paddingBlockEnd:{style:J},m:{style:Q},mt:{style:Q},mr:{style:Q},mb:{style:Q},ml:{style:Q},mx:{style:Q},my:{style:Q},margin:{style:Q},marginTop:{style:Q},marginRight:{style:Q},marginBottom:{style:Q},marginLeft:{style:Q},marginX:{style:Q},marginY:{style:Q},marginInline:{style:Q},marginInlineStart:{style:Q},marginInlineEnd:{style:Q},marginBlock:{style:Q},marginBlockStart:{style:Q},marginBlockEnd:{style:Q},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:nt},rowGap:{style:it},columnGap:{style:ot},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ae},maxWidth:{style:Ot},minWidth:{transform:ae},height:{transform:ae},maxHeight:{transform:ae},minHeight:{transform:ae},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 Gn(...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 Kn(e,t){return typeof e=="function"?e(t):e}function Qn(){function e(r,n,o,i){const s={[r]:n,theme:o},l=i[r];if(!l)return{[r]:n};const{cssProperty:u=r,themeKey:d,transform:p,style:m}=l;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[r]:n};const h=Xe(o,d)||{};return m?m(s):be(s,n,v=>{let c=Ge(h,p,v);return v===c&&typeof v=="string"&&(c=Ge(h,p,`${r}${v==="default"?"":xe(v)}`,v)),u===!1?c:{[u]:c}})}function t(r){const{sx:n,theme:o={}}=r||{};if(!n)return null;const i=o.unstable_sxConfig??at;function s(l){let u=l;if(typeof l=="function")u=l(o);else if(typeof l!="object")return l;if(!u)return null;const d=ln(o.breakpoints),p=Object.keys(d);let m=d;return Object.keys(u).forEach(h=>{const S=Kn(u[h],o);if(S!=null)if(typeof S=="object")if(i[h])m=je(m,e(h,S,o,i));else{const v=be({theme:o},S,c=>({[h]:c}));Gn(v,S)?m[h]=t({sx:S,theme:o}):m=je(m,v)}else m=je(m,e(h,S,o,i))}),nn(o,un(p,m))}return Array.isArray(n)?n.map(s):s(n)}return t}const Ie=Qn();Ie.filterProps=["sx"];function Jn(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 Xn={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 Zn(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var eo=/[A-Z]|^ms/g,to=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Er=function(t){return t.charCodeAt(1)===45},Jt=function(t){return t!=null&&typeof t!="boolean"},ht=Zn(function(e){return Er(e)?e:e.replace(eo,"-$&").toLowerCase()}),Xt=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(to,function(n,o,i){return ve={name:o,styles:i,next:ve},o})}return Xn[t]!==1&&!Er(t)&&typeof r=="number"&&r!==0?r+"px":r};function Ke(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 s=i.next;if(s!==void 0)for(;s!==void 0;)ve={name:s.name,styles:s.styles,next:ve},s=s.next;var l=i.styles+";";return l}return ro(e,t,r)}}var u=r;return u}function ro(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Ke(e,t,r[o])+";";else for(var i in r){var s=r[i];if(typeof s!="object"){var l=s;Jt(l)&&(n+=ht(i)+":"+Xt(i,l)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&t==null)for(var u=0;u<s.length;u++)Jt(s[u])&&(n+=ht(i)+":"+Xt(i,s[u])+";");else{var d=Ke(e,t,s);switch(i){case"animation":case"animationName":{n+=ht(i)+":"+d+";";break}default:n+=i+"{"+d+"}"}}}return n}var Zt=/label:\s*([^\s;{]+)\s*(;|$)/g,ve;function no(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+=Ke(r,t,i);else{var s=i;o+=s[0]}for(var l=1;l<e.length;l++)if(o+=Ke(r,t,e[l]),n){var u=i;o+=u[l]}Zt.lastIndex=0;for(var d="",p;(p=Zt.exec(o))!==null;)d+="-"+p[1];var m=Jn(o)+d;return{name:m,styles:o,next:ve}}/**
|
|
41
41
|
* @mui/styled-engine v7.1.0
|
|
42
42
|
*
|
|
43
43
|
* @license MIT
|
|
44
44
|
* This source code is licensed under the MIT license found in the
|
|
45
45
|
* LICENSE file in the root directory of this source tree.
|
|
46
|
-
*/function oo(e,t){const r=
|
|
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 io(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const er=[];function tr(e){return er[0]=e,no(er)}const ao=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 so(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=ao(t),s=Object.keys(i);function l(h){return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${r})`}function u(h){return`@media (max-width:${(typeof t[h]=="number"?t[h]:h)-n/100}${r})`}function d(h,S){const v=s.indexOf(S);return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${r}) and (max-width:${(v!==-1&&typeof t[s[v]]=="number"?t[s[v]]:S)-n/100}${r})`}function p(h){return s.indexOf(h)+1<s.length?d(h,s[s.indexOf(h)+1]):l(h)}function m(h){const S=s.indexOf(h);return S===0?l(s[1]):S===s.length-1?u(s[S]):d(h,s[s.indexOf(h)+1]).replace("@media","@media not all and")}return{keys:s,values:i,up:l,down:u,between:d,only:p,not:m,unit:r,...o}}const co={borderRadius:4};function
|
|
46
|
+
*/function oo(e,t){const r=Dr(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 io(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const er=[];function tr(e){return er[0]=e,no(er)}const ao=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 so(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=ao(t),s=Object.keys(i);function l(h){return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${r})`}function u(h){return`@media (max-width:${(typeof t[h]=="number"?t[h]:h)-n/100}${r})`}function d(h,S){const v=s.indexOf(S);return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${r}) and (max-width:${(v!==-1&&typeof t[s[v]]=="number"?t[s[v]]:S)-n/100}${r})`}function p(h){return s.indexOf(h)+1<s.length?d(h,s[s.indexOf(h)+1]):l(h)}function m(h){const S=s.indexOf(h);return S===0?l(s[1]):S===s.length-1?u(s[S]):d(h,s[s.indexOf(h)+1]).replace("@media","@media not all and")}return{keys:s,values:i,up:l,down:u,between:d,only:p,not:m,unit:r,...o}}const co={borderRadius:4};function Tr(e=8,t=xt({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 s=t(i);return typeof s=="number"?`${s}px`:s}).join(" "));return r.mui=!0,r}function lo(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 wt(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...s}=e,l=so(r),u=Tr(o);let d=se({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:u,shape:{...co,...i}},s);return d=sn(d),d.applyStyles=lo,d=t.reduce((p,m)=>se(p,m),d),d.unstable_sxConfig={...at,...s==null?void 0:s.unstable_sxConfig},d.unstable_sx=function(m){return Ie({sx:m,theme:this})},d}function uo(e){return Object.keys(e).length===0}function fo(e=null){const t=pe.useContext(Lr.ThemeContext);return!t||uo(t)?e:t}const mo=wt();function po(e=mo){return fo(e)}const ho={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 _t(e,t,r="Mui"){const n=ho[t];return n?`${r}-${n}`:`${Fr.generate(e)}-${t}`}function go(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=_t(e,o,r)}),n}function xr(e,t=""){return e.displayName||e.name||t}function rr(e,t,r){const n=xr(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function yo(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return xr(e,"Component");if(typeof e=="object")switch(e.$$typeof){case qe.ForwardRef:return rr(e,e.render,"ForwardRef");case qe.Memo:return rr(e,e.type,"memo");default:return}}}function Or(e){const{variants:t,...r}=e,n={variants:t,style:tr(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=tr(o.style))}),n}const bo=wt();function gt(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function vo(e){return e?(t,r)=>r[e]:null}function So(e,t,r){e.theme=xo(e.theme)?r:e.theme[t]||e.theme}function He(e,t){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(n=>He(e,n));if(Array.isArray(r==null?void 0:r.variants)){let n;if(r.isProcessed)n=r.style;else{const{variants:o,...i}=r;n=i}return wr(e,r.variants,[n])}return r!=null&&r.isProcessed?r.style:r}function wr(e,t,r=[]){var o;let n;e:for(let i=0;i<t.length;i+=1){const s=t[i];if(typeof s.props=="function"){if(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),!s.props(n))continue}else for(const l in s.props)if(e[l]!==s.props[l]&&((o=e.ownerState)==null?void 0:o[l])!==s.props[l])continue e;typeof s.style=="function"?(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),r.push(s.style(n))):r.push(s.style)}return r}function Co(e={}){const{themeId:t,defaultTheme:r=bo,rootShouldForwardProp:n=gt,slotShouldForwardProp:o=gt}=e;function i(l){So(l,t,r)}return(l,u={})=>{io(l,g=>g.filter(F=>F!==Ie));const{name:d,slot:p,skipVariantsResolver:m,skipSx:h,overridesResolver:S=vo(_r(p)),...v}=u,c=m!==void 0?m:p&&p!=="Root"&&p!=="root"||!1,x=h||!1;let _=gt;p==="Root"||p==="root"?_=n:p?_=o:Oo(l)&&(_=void 0);const X=oo(l,{shouldForwardProp:_,label:To(d,p),...v}),w=g=>{if(typeof g=="function"&&g.__emotion_real!==g)return function(ee){return He(ee,g)};if(ge(g)){const F=Or(g);return F.variants?function(te){return He(te,F)}:F.style}return g},O=(...g)=>{const F=[],ee=g.map(w),te=[];if(F.push(i),d&&S&&te.push(function(A){var ne,fe;const K=(fe=(ne=A.theme.components)==null?void 0:ne[d])==null?void 0:fe.styleOverrides;if(!K)return null;const oe={};for(const Te in K)oe[Te]=He(A,K[Te]);return S(A,oe)}),d&&!c&&te.push(function(A){var oe,ne;const L=A.theme,K=(ne=(oe=L==null?void 0:L.components)==null?void 0:oe[d])==null?void 0:ne.variants;return K?wr(A,K):null}),x||te.push(Ie),Array.isArray(ee[0])){const T=ee.shift(),A=new Array(F.length).fill(""),L=new Array(te.length).fill("");let K;K=[...A,...T,...L],K.raw=[...A,...T.raw,...L],F.unshift(K)}const re=[...F,...ee,...te],a=X(...re);return l.muiName&&(a.muiName=l.muiName),process.env.NODE_ENV!=="production"&&(a.displayName=Eo(d,p,l)),a};return X.withConfig&&(O.withConfig=X.withConfig),O}}function Eo(e,t,r){return e?`${e}${xe(t||"")}`:`Styled(${yo(r)})`}function To(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${_r(t||"Root")}`),r}function xo(e){for(const t in e)return!1;return!0}function Oo(e){return typeof e=="string"&&e.charCodeAt(0)>96}function _r(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function St(e,t){const r={...t};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const o=n;if(o==="components"||o==="slots")r[o]={...e[o],...r[o]};else if(o==="componentsProps"||o==="slotProps"){const i=e[o],s=t[o];if(!s)r[o]=i||{};else if(!i)r[o]=s;else{r[o]={...s};for(const l in i)if(Object.prototype.hasOwnProperty.call(i,l)){const u=l;r[o][u]=St(i[u],s[u])}}}else r[o]===void 0&&(r[o]=e[o])}return r}function wo(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function $t(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}].`),wo(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
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 $o=e=>{const t=Ce(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},Me=(e,t)=>{try{return $o(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function st(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
|
|
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 $o=e=>{const t=Ce(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},Me=(e,t)=>{try{return $o(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function st(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 $r(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),s=(d,p=(d+r/30)%12)=>o-i*Math.max(Math.min(p-3,9-p,1),-1);let l="rgb";const u=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(l+="a",u.push(t[3])),st({type:l,values:u})}function Ct(e){e=Ce(e);let t=e.type==="hsl"||e.type==="hsla"?Ce($r(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 nr(e,t){const r=Ct(e),n=Ct(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Ao(e,t){return e=Ce(e),t=$t(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,st(e)}function Ye(e,t,r){try{return Ao(e,t)}catch{return e}}function At(e,t){if(e=Ce(e),t=$t(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 st(e)}function H(e,t,r){try{return At(e,t)}catch{return e}}function kt(e,t){if(e=Ce(e),t=$t(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 st(e)}function q(e,t,r){try{return kt(e,t)}catch{return e}}function ko(e,t=.15){return Ct(e)>.5?At(e,t):kt(e,t)}function We(e,t,r){try{return ko(e,t)}catch{return e}}const Io=pe.createContext(void 0);process.env.NODE_ENV!=="production"&&(D.node,D.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?St(o.defaultProps,n):!o.styleOverrides&&!o.variants?St(o,n):n}function Ro({props:e,name:t}){const r=pe.useContext(Io);return Po({props:e,name:t,theme:{components:r}})}const or={theme:void 0};function Mo(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(or.theme=o.theme,i=Or(e(or)),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 ir=(e,t,r,n=[])=>{let o=e;t.forEach((i,s)=>{s===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])})},jo=(e,t,r)=>{function n(o,i=[],s=[]){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)?[...s,l]:s):t([...i,l],u,s))})}n(e)},Bo=(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 yt(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},s={};return jo(e,(l,u,d)=>{if((typeof u=="string"||typeof u=="number")&&(!n||!n(l,u))){const p=`--${r?`${r}-`:""}${l.join("-")}`,m=Bo(l,u);Object.assign(o,{[p]:m}),ir(i,l,`var(${p})`,d),ir(s,l,`var(${p}, ${m})`,d)}},l=>l[0]==="vars"),{css:o,vars:i,varsWithDefaults:s}}function Do(e,t={}){const{getSelector:r=x,disableCssColorScheme:n,colorSchemeSelector:o}=t,{colorSchemes:i={},components:s,defaultColorScheme:l="light",...u}=e,{vars:d,css:p,varsWithDefaults:m}=yt(u,t);let h=m;const S={},{[l]:v,...c}=i;if(Object.entries(c||{}).forEach(([w,O])=>{const{vars:g,css:F,varsWithDefaults:ee}=yt(O,t);h=se(h,ee),S[w]={css:F,vars:g}}),v){const{css:w,vars:O,varsWithDefaults:g}=yt(v,t);h=se(h,g),S[l]={css:w,vars:O}}function x(w,O){var F,ee;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: ${((ee=(F=i[w])==null?void 0:F.palette)==null?void 0:ee.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:h,generateThemeVars:()=>{let w={...d};return Object.entries(S).forEach(([,{vars:O}])=>{w=se(w,O)}),w},generateStyleSheets:()=>{var te,re;const w=[],O=e.defaultColorScheme||"light";function g(a,T){Object.keys(T).length&&w.push(typeof a=="string"?{[a]:{...T}}:a)}g(r(void 0,{...p}),p);const{[O]:F,...ee}=S;if(F){const{css:a}=F,T=(re=(te=i[O])==null?void 0:te.palette)==null?void 0:re.mode,A=!n&&T?{colorScheme:T,...a}:{...a};g(r(O,{...A}),A)}return Object.entries(ee).forEach(([a,{css:T}])=>{var K,oe;const A=(oe=(K=i[a])==null?void 0:K.palette)==null?void 0:oe.mode,L=!n&&A?{colorScheme:A,...T}:{...T};g(r(a,{...L}),L)}),w}}}function Lo(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 Be={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"},Oe={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},we={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Re={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},_e={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},$e={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Ae={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function Ar(){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:Be.white,default:Be.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 Vo=Ar();function kr(){return{text:{primary:Be.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:Be.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 ar=kr();function sr(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=kt(e.main,o):t==="dark"&&(e.dark=At(e.main,i)))}function Fo(e="light"){return e==="dark"?{main:_e[200],light:_e[50],dark:_e[400]}:{main:_e[700],light:_e[400],dark:_e[800]}}function Uo(e="light"){return e==="dark"?{main:Oe[200],light:Oe[50],dark:Oe[400]}:{main:Oe[500],light:Oe[300],dark:Oe[700]}}function Yo(e="light"){return e==="dark"?{main:we[500],light:we[300],dark:we[700]}:{main:we[700],light:we[400],dark:we[800]}}function Wo(e="light"){return e==="dark"?{main:$e[400],light:$e[300],dark:$e[700]}:{main:$e[700],light:$e[500],dark:$e[900]}}function Ho(e="light"){return e==="dark"?{main:Ae[400],light:Ae[300],dark:Ae[700]}:{main:Ae[800],light:Ae[500],dark:Ae[900]}}function qo(e="light"){return e==="dark"?{main:Re[400],light:Re[300],dark:Re[700]}:{main:"#ed6c02",light:Re[500],dark:Re[900]}}function It(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,...o}=e,i=e.primary||Fo(t),s=e.secondary||Uo(t),l=e.error||Yo(t),u=e.info||Wo(t),d=e.success||Ho(t),p=e.warning||qo(t);function m(c){const x=nr(c,ar.text.primary)>=r?ar.text.primary:Vo.text.primary;if(process.env.NODE_ENV!=="production"){const _=nr(c,x);_<3&&console.error([`MUI: The contrast ratio of ${_}:1 for ${x} on ${c}`,"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
50
|
`))}return x}const h=({color:c,name:x,mainShade:_=500,lightShade:X=300,darkShade:w=700})=>{if(c={...c},!c.main&&c[_]&&(c.main=c[_]),!c.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${x?` (${x})`:""} provided to augmentColor(color) is invalid.
|
|
51
51
|
The color object needs to have a \`main\` property or a \`${_}\` property.`:Se(11,x?` (${x})`:"",_));if(typeof c.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${x?` (${x})`:""} provided to augmentColor(color) is invalid.
|
|
52
52
|
\`color.main\` should be a string, but \`${JSON.stringify(c.main)}\` was provided instead.
|
|
@@ -61,8 +61,8 @@ const theme1 = createTheme({ palette: {
|
|
|
61
61
|
|
|
62
62
|
const theme2 = createTheme({ palette: {
|
|
63
63
|
primary: { main: green[500] },
|
|
64
|
-
} });`:Se(12,x?` (${x})`:"",JSON.stringify(c.main)));return sr(c,"light",X,n),sr(c,"dark",w,n),c.contrastText||(c.contrastText=m(c.main)),c};let S;return t==="light"?S
|
|
65
|
-
`)),Object.keys(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(p=>`${p} ${typeof s=="string"?s:ur(s)} ${l} ${typeof u=="string"?u:ur(u)}`).join(",")},...e,easing:t,duration:r}}const ai={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function si(e){return ge(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function
|
|
64
|
+
} });`:Se(12,x?` (${x})`:"",JSON.stringify(c.main)));return sr(c,"light",X,n),sr(c,"dark",w,n),c.contrastText||(c.contrastText=m(c.main)),c};let S;return t==="light"?S=Ar():t==="dark"&&(S=kr()),process.env.NODE_ENV!=="production"&&(S||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),se({common:{...Be},mode:t,primary:h({color:i,name:"primary"}),secondary:h({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:l,name:"error"}),warning:h({color:p,name:"warning"}),info:h({color:u,name:"info"}),success:h({color:d,name:"success"}),grey:zo,contrastThreshold:r,getContrastText:m,augmentColor:h,tonalOffset:n,...S},o)}function Go(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 Ko(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function Qo(e){return Math.round(e*1e5)/1e5}const cr={textTransform:"uppercase"},lr='"Roboto", "Helvetica", "Arial", sans-serif';function Jo(e,t){const{fontFamily:r=lr,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:d,pxToRem:p,...m}=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 h=n/14,S=p||(x=>`${x/u*h}rem`),v=(x,_,X,w,O)=>({fontFamily:r,fontWeight:x,fontSize:S(_),lineHeight:X,...r===lr?{letterSpacing:`${Qo(w/_)}em`}:{},...O,...d}),c={h1:v(o,96,1.167,-1.5),h2:v(o,60,1.2,-.5),h3:v(i,48,1.167,0),h4:v(i,34,1.235,.25),h5:v(i,24,1.334,0),h6:v(s,20,1.6,.15),subtitle1:v(i,16,1.75,.15),subtitle2:v(s,14,1.57,.1),body1:v(i,16,1.5,.15),body2:v(i,14,1.43,.15),button:v(s,14,1.75,.4,cr),caption:v(i,12,1.66,.4),overline:v(i,12,2.66,1,cr),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return se({htmlFontSize:u,pxToRem:S,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:l,...c},m,{clone:!1})}const Xo=.2,Zo=.14,ei=.12;function G(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Xo})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Zo})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${ei})`].join(",")}const ti=["none",G(0,2,1,-1,0,1,1,0,0,1,3,0),G(0,3,1,-2,0,2,2,0,0,1,5,0),G(0,3,3,-2,0,3,4,0,0,1,8,0),G(0,2,4,-1,0,4,5,0,0,1,10,0),G(0,3,5,-1,0,5,8,0,0,1,14,0),G(0,3,5,-1,0,6,10,0,0,1,18,0),G(0,4,5,-2,0,7,10,1,0,2,16,1),G(0,5,5,-3,0,8,10,1,0,3,14,2),G(0,5,6,-3,0,9,12,1,0,3,16,2),G(0,6,6,-3,0,10,14,1,0,4,18,3),G(0,6,7,-4,0,11,15,1,0,4,20,3),G(0,7,8,-4,0,12,17,2,0,5,22,4),G(0,7,8,-4,0,13,19,2,0,5,24,4),G(0,7,9,-4,0,14,21,2,0,5,26,4),G(0,8,9,-5,0,15,22,2,0,6,28,5),G(0,8,10,-5,0,16,24,2,0,6,30,5),G(0,8,11,-5,0,17,26,2,0,6,32,5),G(0,9,11,-5,0,18,28,2,0,7,34,6),G(0,9,12,-6,0,19,29,2,0,7,36,6),G(0,10,13,-6,0,20,31,3,0,8,38,7),G(0,10,13,-6,0,21,33,3,0,8,40,7),G(0,10,14,-6,0,22,35,3,0,8,42,7),G(0,11,14,-7,0,23,36,3,0,9,44,8),G(0,11,15,-7,0,24,38,3,0,9,46,8)],ri={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)"},ni={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ur(e){return`${Math.round(e)}ms`}function oi(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function ii(e){const t={...ri,...e.easing},r={...ni,...e.duration};return{getAutoHeightDuration:oi,create:(o=["all"],i={})=>{const{duration:s=r.standard,easing:l=t.easeInOut,delay:u=0,...d}=i;if(process.env.NODE_ENV!=="production"){const p=h=>typeof h=="string",m=h=>!Number.isNaN(parseFloat(h));!p(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!m(s)&&!p(s)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`),p(l)||console.error('MUI: Argument "easing" must be a string.'),!m(u)&&!p(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(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(p=>`${p} ${typeof s=="string"?s:ur(s)} ${l} ${typeof u=="string"?u:ur(u)}`).join(",")},...e,easing:t,duration:r}}const ai={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function si(e){return ge(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Ir(e={}){const t={...e};function r(n){const o=Object.entries(n);for(let i=0;i<o.length;i++){const[s,l]=o[i];!si(l)||s.startsWith("unstable_")?delete n[s]:ge(l)&&(n[s]={...l},r(n[s]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
66
66
|
|
|
67
67
|
const theme = ${JSON.stringify(t,null,2)};
|
|
68
68
|
|
|
@@ -70,5 +70,5 @@ theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
|
70
70
|
theme.transitions = createTransitions(theme.transitions || {});
|
|
71
71
|
|
|
72
72
|
export default theme;`}function Et(e={},...t){const{breakpoints:r,mixins:n={},spacing:o,palette:i={},transitions:s={},typography:l={},shape:u,...d}=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 p=It(i),m=wt(e);let h=se(m,{mixins:Ko(m.breakpoints,n),palette:p,shadows:ti.slice(),typography:Jo(p,l),transitions:ii(s),zIndex:{...ai}});if(h=se(h,d),h=t.reduce((S,v)=>se(S,v),h),process.env.NODE_ENV!=="production"){const S=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],v=(c,x)=>{let _;for(_ in c){const X=c[_];if(S.includes(_)&&Object.keys(X).length>0){if(process.env.NODE_ENV!=="production"){const w=_t("",_);console.error([`MUI: The \`${x}\` component increases the CSS specificity of the \`${_}\` internal state.`,"You can not override it like this: ",JSON.stringify(c,null,2),"",`Instead, you need to use the '&.${w}' syntax:`,JSON.stringify({root:{[`&.${w}`]:X}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
73
|
-
`))}c[_]={}}}};Object.keys(h.components).forEach(c=>{const x=h.components[c].styleOverrides;x&&c.startsWith("Mui")&&v(x,c)})}return h.unstable_sxConfig={...at,...d==null?void 0:d.unstable_sxConfig},h.unstable_sx=function(v){return Ie({sx:v,theme:this})},h.toRuntimeSource=
|
|
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 hi(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{}},gi=(e="mui")=>No(e);function bt(e,t,r,n){if(!t)return;t=t===!0?{}:t;const o=n==="dark"?"dark":"light";if(!r){e[n]=ui({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:i,...s}=Et({...r,palette:{mode:o,...t==null?void 0:t.palette}});return e[n]={...t,palette:i,opacity:{...Ir(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||Pr(o)},s}function yi(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:s=fi,colorSchemeSelector:l=r.light&&r.dark?"media":void 0,rootSelector:u=":root",...d}=e,p=Object.keys(r)[0],m=n||(r.light&&p!=="light"?"light":p),h=gi(i),{[m]:S,light:v,dark:c,...x}=r,_={...x};let X=S;if((m==="dark"&&!("dark"in r)||m==="light"&&!("light"in r))&&(X=!0),!X)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${m}\` option is either missing or invalid.`:Se(21,m));const w=bt(_,X,d,m);v&&!_.light&&bt(_,v,void 0,"light"),c&&!_.dark&&bt(_,c,void 0,"dark");let O={defaultColorScheme:m,...w,cssVarPrefix:i,colorSchemeSelector:l,rootSelector:u,getCssVar:h,colorSchemes:_,font:{...Go(w.typography),...w.font},spacing:hi(d.spacing)};Object.keys(O.colorSchemes).forEach(re=>{const a=O.colorSchemes[re].palette,T=$=>{const L=$.split("-"),K=L[1],oe=L[2];return h($,a[K][oe])};if(a.mode==="light"&&(f(a.common,"background","#fff"),f(a.common,"onBackground","#000")),a.mode==="dark"&&(f(a.common,"background","#000"),f(a.common,"onBackground","#fff")),pi(a,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),a.mode==="light"){f(a.Alert,"errorColor",H(a.error.light,.6)),f(a.Alert,"infoColor",H(a.info.light,.6)),f(a.Alert,"successColor",H(a.success.light,.6)),f(a.Alert,"warningColor",H(a.warning.light,.6)),f(a.Alert,"errorFilledBg",T("palette-error-main")),f(a.Alert,"infoFilledBg",T("palette-info-main")),f(a.Alert,"successFilledBg",T("palette-success-main")),f(a.Alert,"warningFilledBg",T("palette-warning-main")),f(a.Alert,"errorFilledColor",me(()=>a.getContrastText(a.error.main))),f(a.Alert,"infoFilledColor",me(()=>a.getContrastText(a.info.main))),f(a.Alert,"successFilledColor",me(()=>a.getContrastText(a.success.main))),f(a.Alert,"warningFilledColor",me(()=>a.getContrastText(a.warning.main))),f(a.Alert,"errorStandardBg",q(a.error.light,.9)),f(a.Alert,"infoStandardBg",q(a.info.light,.9)),f(a.Alert,"successStandardBg",q(a.success.light,.9)),f(a.Alert,"warningStandardBg",q(a.warning.light,.9)),f(a.Alert,"errorIconColor",T("palette-error-main")),f(a.Alert,"infoIconColor",T("palette-info-main")),f(a.Alert,"successIconColor",T("palette-success-main")),f(a.Alert,"warningIconColor",T("palette-warning-main")),f(a.AppBar,"defaultBg",T("palette-grey-100")),f(a.Avatar,"defaultBg",T("palette-grey-400")),f(a.Button,"inheritContainedBg",T("palette-grey-300")),f(a.Button,"inheritContainedHoverBg",T("palette-grey-A100")),f(a.Chip,"defaultBorder",T("palette-grey-400")),f(a.Chip,"defaultAvatarColor",T("palette-grey-700")),f(a.Chip,"defaultIconColor",T("palette-grey-700")),f(a.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),f(a.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),f(a.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),f(a.LinearProgress,"primaryBg",q(a.primary.main,.62)),f(a.LinearProgress,"secondaryBg",q(a.secondary.main,.62)),f(a.LinearProgress,"errorBg",q(a.error.main,.62)),f(a.LinearProgress,"infoBg",q(a.info.main,.62)),f(a.LinearProgress,"successBg",q(a.success.main,.62)),f(a.LinearProgress,"warningBg",q(a.warning.main,.62)),f(a.Skeleton,"bg",`rgba(${T("palette-text-primaryChannel")} / 0.11)`),f(a.Slider,"primaryTrack",q(a.primary.main,.62)),f(a.Slider,"secondaryTrack",q(a.secondary.main,.62)),f(a.Slider,"errorTrack",q(a.error.main,.62)),f(a.Slider,"infoTrack",q(a.info.main,.62)),f(a.Slider,"successTrack",q(a.success.main,.62)),f(a.Slider,"warningTrack",q(a.warning.main,.62));const $=We(a.background.default,.8);f(a.SnackbarContent,"bg",$),f(a.SnackbarContent,"color",me(()=>a.getContrastText($))),f(a.SpeedDialAction,"fabHoverBg",We(a.background.paper,.15)),f(a.StepConnector,"border",T("palette-grey-400")),f(a.StepContent,"border",T("palette-grey-400")),f(a.Switch,"defaultColor",T("palette-common-white")),f(a.Switch,"defaultDisabledColor",T("palette-grey-100")),f(a.Switch,"primaryDisabledColor",q(a.primary.main,.62)),f(a.Switch,"secondaryDisabledColor",q(a.secondary.main,.62)),f(a.Switch,"errorDisabledColor",q(a.error.main,.62)),f(a.Switch,"infoDisabledColor",q(a.info.main,.62)),f(a.Switch,"successDisabledColor",q(a.success.main,.62)),f(a.Switch,"warningDisabledColor",q(a.warning.main,.62)),f(a.TableCell,"border",q(Ye(a.divider,1),.88)),f(a.Tooltip,"bg",Ye(a.grey[700],.92))}if(a.mode==="dark"){f(a.Alert,"errorColor",q(a.error.light,.6)),f(a.Alert,"infoColor",q(a.info.light,.6)),f(a.Alert,"successColor",q(a.success.light,.6)),f(a.Alert,"warningColor",q(a.warning.light,.6)),f(a.Alert,"errorFilledBg",T("palette-error-dark")),f(a.Alert,"infoFilledBg",T("palette-info-dark")),f(a.Alert,"successFilledBg",T("palette-success-dark")),f(a.Alert,"warningFilledBg",T("palette-warning-dark")),f(a.Alert,"errorFilledColor",me(()=>a.getContrastText(a.error.dark))),f(a.Alert,"infoFilledColor",me(()=>a.getContrastText(a.info.dark))),f(a.Alert,"successFilledColor",me(()=>a.getContrastText(a.success.dark))),f(a.Alert,"warningFilledColor",me(()=>a.getContrastText(a.warning.dark))),f(a.Alert,"errorStandardBg",H(a.error.light,.9)),f(a.Alert,"infoStandardBg",H(a.info.light,.9)),f(a.Alert,"successStandardBg",H(a.success.light,.9)),f(a.Alert,"warningStandardBg",H(a.warning.light,.9)),f(a.Alert,"errorIconColor",T("palette-error-main")),f(a.Alert,"infoIconColor",T("palette-info-main")),f(a.Alert,"successIconColor",T("palette-success-main")),f(a.Alert,"warningIconColor",T("palette-warning-main")),f(a.AppBar,"defaultBg",T("palette-grey-900")),f(a.AppBar,"darkBg",T("palette-background-paper")),f(a.AppBar,"darkColor",T("palette-text-primary")),f(a.Avatar,"defaultBg",T("palette-grey-600")),f(a.Button,"inheritContainedBg",T("palette-grey-800")),f(a.Button,"inheritContainedHoverBg",T("palette-grey-700")),f(a.Chip,"defaultBorder",T("palette-grey-700")),f(a.Chip,"defaultAvatarColor",T("palette-grey-300")),f(a.Chip,"defaultIconColor",T("palette-grey-300")),f(a.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),f(a.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),f(a.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),f(a.LinearProgress,"primaryBg",H(a.primary.main,.5)),f(a.LinearProgress,"secondaryBg",H(a.secondary.main,.5)),f(a.LinearProgress,"errorBg",H(a.error.main,.5)),f(a.LinearProgress,"infoBg",H(a.info.main,.5)),f(a.LinearProgress,"successBg",H(a.success.main,.5)),f(a.LinearProgress,"warningBg",H(a.warning.main,.5)),f(a.Skeleton,"bg",`rgba(${T("palette-text-primaryChannel")} / 0.13)`),f(a.Slider,"primaryTrack",H(a.primary.main,.5)),f(a.Slider,"secondaryTrack",H(a.secondary.main,.5)),f(a.Slider,"errorTrack",H(a.error.main,.5)),f(a.Slider,"infoTrack",H(a.info.main,.5)),f(a.Slider,"successTrack",H(a.success.main,.5)),f(a.Slider,"warningTrack",H(a.warning.main,.5));const $=We(a.background.default,.98);f(a.SnackbarContent,"bg",$),f(a.SnackbarContent,"color",me(()=>a.getContrastText($))),f(a.SpeedDialAction,"fabHoverBg",We(a.background.paper,.15)),f(a.StepConnector,"border",T("palette-grey-600")),f(a.StepContent,"border",T("palette-grey-600")),f(a.Switch,"defaultColor",T("palette-grey-300")),f(a.Switch,"defaultDisabledColor",T("palette-grey-600")),f(a.Switch,"primaryDisabledColor",H(a.primary.main,.55)),f(a.Switch,"secondaryDisabledColor",H(a.secondary.main,.55)),f(a.Switch,"errorDisabledColor",H(a.error.main,.55)),f(a.Switch,"infoDisabledColor",H(a.info.main,.55)),f(a.Switch,"successDisabledColor",H(a.success.main,.55)),f(a.Switch,"warningDisabledColor",H(a.warning.main,.55)),f(a.TableCell,"border",H(Ye(a.divider,1),.68)),f(a.Tooltip,"bg",Ye(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($=>{const L=a[$];$!=="tonalOffset"&&L&&typeof L=="object"&&(L.main&&f(a[$],"mainChannel",Me(Ne(L.main))),L.light&&f(a[$],"lightChannel",Me(Ne(L.light))),L.dark&&f(a[$],"darkChannel",Me(Ne(L.dark))),L.contrastText&&f(a[$],"contrastTextChannel",Me(Ne(L.contrastText))),$==="text"&&(he(a[$],"primary"),he(a[$],"secondary")),$==="action"&&(L.active&&he(a[$],"active"),L.selected&&he(a[$],"selected")))})}),O=t.reduce((re,a)=>se(re,a),O);const g={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:mi(O)},{vars:F,generateThemeVars:ee,generateStyleSheets:te}=Do(O,g);return O.vars=F,Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([re,a])=>{O[re]=a}),O.generateThemeVars=ee,O.generateStyleSheets=te,O.generateSpacing=function(){return Er(d.spacing,xt(this))},O.getColorSchemeSelector=Lo(l),O.spacing=O.generateSpacing(),O.shouldSkipGeneratingVar=s,O.unstable_sxConfig={...at,...d==null?void 0:d.unstable_sxConfig},O.unstable_sx=function(a){return Ie({sx:a,theme:this})},O.toRuntimeSource=kr,O}function fr(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:It({...r===!0?{}:r.palette,mode:t})})}function bi(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:i=r==null?void 0:r.mode,...s}=e,l=i||"light",u=o==null?void 0:o[l],d={...o,...r?{[l]:{...typeof u!="boolean"&&u,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return Et(e,...t);let p=r;"palette"in e||d[l]&&(d[l]!==!0?p=d[l].palette:l==="dark"&&(p={mode:"dark"}));const m=Et({...e,palette:p},...t);return m.defaultColorScheme=l,m.colorSchemes=d,m.palette.mode==="light"&&(m.colorSchemes.light={...d.light!==!0&&d.light,palette:m.palette},fr(m,"dark",d.dark)),m.palette.mode==="dark"&&(m.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:m.palette},fr(m,"light",d.light)),m}return!r&&!("light"in d)&&l==="light"&&(d.light=!0),yi({...s,colorSchemes:d,defaultColorScheme:l,...typeof n!="boolean"&&n},...t)}const Rr=bi(),Mr="$$material";function vi(){const e=po(Rr);return process.env.NODE_ENV!=="production"&&pe.useDebugValue(e),e[Mr]||e}function Si(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Ci=e=>Si(e)&&e!=="classes",Ei=Co({themeId:Mr,defaultTheme:Rr,rootShouldForwardProp:Ci}),Ti=Mo;process.env.NODE_ENV!=="production"&&(D.node,D.object.isRequired);function xi(e){return Ro(e)}function Oi(e){return _t("MuiSvgIcon",e)}go("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const wi=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${xe(t)}`,`fontSize${xe(r)}`]};return Zr(o,Oi,n)},_i=Ei("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${xe(r.color)}`],t[`fontSize${xe(r.fontSize)}`]]}})(Ti(({theme:e})=>{var t,r,n,o,i,s,l,u,d,p,m,h,S,v;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:c=>!c.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((s=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:s.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:((p=(d=e.typography)==null?void 0:d.pxToRem)==null?void 0:p.call(d,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,c])=>c&&c.main).map(([c])=>{var x,_;return{props:{color:c},style:{color:(_=(x=(e.vars??e).palette)==null?void 0:x[c])==null?void 0:_.main}}}),{props:{color:"action"},style:{color:(h=(m=(e.vars??e).palette)==null?void 0:m.action)==null?void 0:h.active}},{props:{color:"disabled"},style:{color:(v=(S=(e.vars??e).palette)==null?void 0:S.action)==null?void 0:v.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Qe=pe.forwardRef(function(t,r){const n=xi({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:s="inherit",component:l="svg",fontSize:u="medium",htmlColor:d,inheritViewBox:p=!1,titleAccess:m,viewBox:h="0 0 24 24",...S}=n,v=pe.isValidElement(o)&&o.type==="svg",c={...n,color:s,component:l,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:h,hasSvgAsChild:v},x={};p||(x.viewBox=h);const _=wi(c);return b.jsxs(_i,{as:l,className:Xr(_.root,i),focusable:"false",color:d,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:r,...x,...S,...v&&o.props,ownerState:c,children:[v?o.props.children:o,m?b.jsx("title",{children:m}):null]})});process.env.NODE_ENV!=="production"&&(Qe.propTypes={children:D.node,classes:D.object,className:D.string,color:D.oneOfType([D.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),D.string]),component:D.elementType,fontSize:D.oneOfType([D.oneOf(["inherit","large","medium","small"]),D.string]),htmlColor:D.string,inheritViewBox:D.bool,shapeRendering:D.string,sx:D.oneOfType([D.arrayOf(D.oneOfType([D.func,D.object,D.bool])),D.func,D.object]),titleAccess:D.string,viewBox:D.string});Qe.muiName="SvgIcon";function ce(e,t){function r(n,o){return b.jsx(Qe,{"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=Qe.muiName,pe.memo(pe.forwardRef(r))}const $i=ce(b.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 Ai(e){return b.jsx(A.Button,{name:e.name,"data-cy":e.dataCy??"cancel-button",className:e.className,sx:e.sx,startIcon:e.startIcon??b.jsx($i,{}),variant:e.variant??"contained",color:e.color??"secondary",type:e.type??"button",onClick:()=>e.onClick(),children:e.children??e.name})}const ki=ce(b.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 Ii(e){return b.jsx(A.Button,{"data-cy":e.dataCy??"delete-button",loading:e.loading??!1,loadingPosition:e.loadingPosition??"start",startIcon:e.startIcon??b.jsx(ki,{}),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=ce(b.jsx("path",{d:"M11.67 3.87 9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z"}),"ArrowBackIos");function Ri(e){return b.jsx(A.Tooltip,{title:"Go Back to Previous Page",children:b.jsxs(A.IconButton,{name:e.name,color:e.color??"primary",onClick:()=>e.navigate(-1),children:[b.jsx(Pi,{}),e.children]})})}const Mi=ce(b.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 b.jsx(A.Button,{name:e.name,"data-cy":e.dataCy??"history-button",className:e.className,sx:e.sx??{p:1,m:1},startIcon:e.startIcon??b.jsx(Mi,{}),variant:e.variant??"contained",color:e.color??"primary",type:e.type??"button",onClick:()=>e.onClick(),children:e.children??e.name})}const ji=ce(b.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"),Bi={backgroundColor:"$primary-color",color:"var(--white-color)",margin:"20px"};function Di(e){return b.jsx(A.Button,{name:e.name,"data-cy":e.dataCy??"loading-success-button",variant:e.variant??"contained",color:e.color??"success",loadingPosition:"start",startIcon:e.startIcon??b.jsx(ji,{}),loading:e.loading,type:e.type??"button",style:Bi,sx:e.sx,onClick:e.onClick,children:e.children??e.name})}const Li=ce(b.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 b.jsx(A.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??b.jsx(Li,{}),children:e.children?e.children:"Manage"})}function Vi(e){return b.jsx(A.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 Fi(e){return b.jsx(A.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 Ui=ce(b.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 Yi(e){return b.jsx(A.Tooltip,{title:e.tooltipTitle,children:b.jsx(A.IconButton,{sx:{pt:0,pb:0},color:e.color??"primary",onClick:()=>e.onClick(!0),"aria-label":e.tooltipTitle,children:b.jsx(Ui,{})})})}const Pt=ce(b.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"),Wi=e=>{const[t,r]=ye.useState(!1);ye.useEffect(()=>{r(e.open)},[e.open,e.progressState]);const n=b.jsx(A.IconButton,{size:"small","aria-label":"close",color:"inherit",onClick:()=>r(!1),children:b.jsx(Pt,{fontSize:"small"})});return b.jsxs(b.Fragment,{children:[b.jsx(A.Snackbar,{anchorOrigin:{vertical:"bottom",horizontal:"center"},open:t&&e.progressState.isSuccess,autoHideDuration:e.autoHideDuration??3e3,onClose:()=>r(!1),children:b.jsx(A.Alert,{variant:"filled",severity:"success",sx:{width:"100%"},action:n,children:e.progressState.message})}),b.jsx(A.Snackbar,{anchorOrigin:{vertical:"bottom",horizontal:"center"},open:t&&e.progressState.isError,TransitionComponent:A.Slide,autoHideDuration:e.autoHideDuration??3e3,onClose:()=>r(!1),children:b.jsx(A.Alert,{variant:"filled",sx:{width:"100%"},severity:"error",action:n,children:e.progressState.message})})]})},Hi=e=>{const[t,r]=ye.useState(!1);ye.useEffect(()=>{r(e.open)},[e.open,e]);const n=b.jsx(A.IconButton,{size:"small","aria-label":"close",color:"inherit",onClick:()=>r(!1),children:b.jsx(Pt,{fontSize:"small"})});return b.jsxs(b.Fragment,{children:[b.jsx(A.Snackbar,{anchorOrigin:{vertical:"bottom",horizontal:"center"},open:t&&e.isSuccess,autoHideDuration:e.autoHideDuration??3e3,onClose:()=>r(!1),children:b.jsx(A.Alert,{variant:"filled",severity:"success",sx:{width:"100%"},action:n,children:e.message})}),b.jsx(A.Snackbar,{anchorOrigin:{vertical:"bottom",horizontal:"center"},open:t&&e.isError,TransitionComponent:A.Slide,autoHideDuration:e.autoHideDuration??3e3,onClose:()=>r(!1),children:b.jsx(A.Alert,{variant:"filled",sx:{width:"100%"},severity:"error",action:n,children:e.message})})]})},dr=ce(b.jsx("path",{d:"M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),mr=ce(b.jsx("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6z"}),"KeyboardArrowLeft"),pr=ce(b.jsx("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"}),"KeyboardArrowRight"),hr=ce(b.jsx("path",{d:"M5.59 7.41 10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage");function qi(e){const t=vi(),{count:r,page:n,rowsPerPage:o,onPageChange:i}=e,s=p=>{i(p,0)},l=p=>{i(p,n-1)},u=p=>{i(p,n+1)},d=p=>{i(p,Math.max(0,Math.ceil(r/o)-1))};return b.jsxs(A.Box,{sx:{flexShrink:0,ml:2.5},children:[b.jsx(A.IconButton,{onClick:s,disabled:n===0,"aria-label":"first page",children:t.direction==="rtl"?b.jsx(hr,{}):b.jsx(dr,{})}),b.jsx(A.IconButton,{onClick:l,disabled:n===0,"aria-label":"previous page",children:t.direction==="rtl"?b.jsx(pr,{}):b.jsx(mr,{})}),b.jsx(A.IconButton,{onClick:u,disabled:n>=Math.ceil(r/o)-1,"aria-label":"next page",children:t.direction==="rtl"?b.jsx(mr,{}):b.jsx(pr,{})}),b.jsx(A.IconButton,{onClick:d,disabled:n>=Math.ceil(r/o)-1,"aria-label":"last page",children:t.direction==="rtl"?b.jsx(dr,{}):b.jsx(hr,{})})]})}function Gi(e){const{children:t,index:r,...n}=e;return b.jsx("div",{className:"tabPanel",role:"tabpanel",id:`vertical-tabpanel-${r}`,"aria-labelledby":`vertical-tab-${r}`,...n,children:b.jsx(A.Box,{sx:{p:3},children:b.jsx(A.Typography,{component:"span",children:t})})})}function Ki(e){return{id:`vertical-tab-${e}`,"aria-controls":`vertical-tabpanel-${e}`}}function Qi(e){return b.jsx(A.Link,{component:Lr.Link,to:e.href,className:"next-btn-link",underline:"hover",children:e.linkText??e.children})}function Ji(){return b.jsx("div",{style:{margin:"1.5rem"},className:"app-flex-justify-center",children:b.jsx(A.CircularProgress,{})})}function Xi(e){const{onClose:t,title:r,message:n,open:o,...i}=e;return b.jsxs(A.Dialog,{sx:{"& .MuiDialog-paper":{width:"80%",maxHeight:435}},maxWidth:"xs",open:o,...i,children:[b.jsx(A.DialogTitle,{children:r??"Confirm"}),b.jsx(A.DialogContent,{dividers:!0,children:n}),b.jsxs(A.DialogActions,{children:[b.jsx(A.Button,{autoFocus:!0,onClick:()=>t("No"),children:"Cancel"}),b.jsx(A.Button,{onClick:()=>t("Yes"),children:"Yes"})]})]})}function Zi(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),b.jsx("span",{children:t&&b.jsx(A.Alert,{action:n?b.jsx(A.IconButton,{"aria-label":"close",color:"inherit",size:"small",onClick:()=>{r(!1)},children:b.jsx(Pt,{fontSize:"inherit"})}):null,style:{margin:"20px"},...e,children:e.message})})}const ea=ce(b.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 ta(e){return b.jsxs("a",{href:e.href,target:"_blank",rel:"noreferrer",style:{display:"flex",alignItems:"center"},children:[e.linkText,b.jsx(A.Icon,{sx:{fontSize:"1.1rem",mx:.75},component:ea}),e.children]})}function ra(e){const{condition:t,children:r,else:n}=e;return t?typeof r=="function"?r():r:n?typeof n=="function"?n():n:null}function na(e){return typeof e=="boolean"?e:typeof e=="string"?e.toLowerCase()==="true":!1}var Rt=(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))(Rt||{});const oa=()=>{const e=+new Date;return new Date(e+Rt.SYSTEM_COOKIE_TIMEOUT_MILLI_SECONDS)},ia=e=>vt.format(new Date(e),Rt.ISO_DATE_FORMAT),aa=(e,t)=>e?vt.format(vt.parseISO(e),t):"";function sa(e){if(typeof e=="string")return Number.parseInt(e,10)}const ca=()=>({isLoading:!1,isSuccess:!1,isError:!1,isComplete:!1,message:""}),la=e=>({...e,isLoading:!0,isSuccess:!1,isError:!1,message:""}),ua=(e,t)=>({...e,isLoading:!1,isSuccess:!0,isError:!1,isComplete:!0,message:t||""}),fa=(e,t)=>({...e,isLoading:!1,isSuccess:!1,isError:!0,isComplete:!0,message:t||""});function da(e){return e==null?!0:typeof e=="string"?e.trim()==="":!1}const ma=e=>{try{return decodeURIComponent(e)!==e}catch{return!1}};class pa extends Error{constructor(r,{status:n,statusText:o,redirected:i,type:s}){super(r);Pe(this,"status");Pe(this,"statusText");Pe(this,"redirected");Pe(this,"type");this.status=n,this.statusText=o,this.statusText=s,this.redirected=i,this.name="HttpError"}}async function ha(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 pa(i,o)}return await o.json()}function ga(e){return getComputedStyle(document.documentElement).getPropertyValue(e).trim()}exports.AppSnackBar=Wi;exports.CancelButton=Ai;exports.CenteredCircularProgress=Ji;exports.ConfirmDialog=Xi;exports.DeleteButton=Ii;exports.DismissibleAlert=Zi;exports.EditIconButton=Yi;exports.ExcelButton=Fi;exports.GoBackButton=Ri;exports.HistoryButton=Ni;exports.LoadingSuccessButton=Di;exports.ManageButton=zi;exports.NextLink=Qi;exports.OpenInNewIconLink=ta;exports.QuerySnackBar=Hi;exports.ReactIf=ra;exports.SuccessButton=Vi;exports.TabPanel=Gi;exports.TablePaginationActions=qi;exports.a11yProps=Ki;exports.convertToIsoDate=ia;exports.fetchClient=ha;exports.formatDate=aa;exports.getCssVariable=ga;exports.initializeState=ca;exports.isBlankOrEmpty=da;exports.isEncoded=ma;exports.markError=fa;exports.markLoading=la;exports.markSuccess=ua;exports.parseBoolean=na;exports.parseNumber=sa;exports.setCookieExpirationDate=oa;
|
|
73
|
+
`))}c[_]={}}}};Object.keys(h.components).forEach(c=>{const x=h.components[c].styleOverrides;x&&c.startsWith("Mui")&&v(x,c)})}return h.unstable_sxConfig={...at,...d==null?void 0:d.unstable_sxConfig},h.unstable_sx=function(v){return Ie({sx:v,theme:this})},h.toRuntimeSource=Ir,h}function ci(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 li=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=ci(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function Pr(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Rr(e){return e==="dark"?li:[]}function ui(e){const{palette:t={mode:"light"},opacity:r,overlays:n,...o}=e,i=It(t);return{palette:i,opacity:{...Pr(i.mode),...r},overlays:n||Rr(i.mode),...o}}function fi(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const di=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],mi=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 s={};return di(e.cssVarPrefix).forEach(l=>{s[l]=r[l],delete r[l]}),i==="media"?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:s}}:i?{[i.replace("%s",t)]:s,[`${n}, ${i.replace("%s",t)}`]:r}:{[n]:{...r,...s}}}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 pi(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function f(e,t,r){!e[t]&&r&&(e[t]=r)}function Ne(e){return typeof e!="string"||!e.startsWith("hsl")?e:$r(e)}function he(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Me(Ne(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 hi(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{}},gi=(e="mui")=>No(e);function bt(e,t,r,n){if(!t)return;t=t===!0?{}:t;const o=n==="dark"?"dark":"light";if(!r){e[n]=ui({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:i,...s}=Et({...r,palette:{mode:o,...t==null?void 0:t.palette}});return e[n]={...t,palette:i,opacity:{...Pr(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||Rr(o)},s}function yi(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:s=fi,colorSchemeSelector:l=r.light&&r.dark?"media":void 0,rootSelector:u=":root",...d}=e,p=Object.keys(r)[0],m=n||(r.light&&p!=="light"?"light":p),h=gi(i),{[m]:S,light:v,dark:c,...x}=r,_={...x};let X=S;if((m==="dark"&&!("dark"in r)||m==="light"&&!("light"in r))&&(X=!0),!X)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${m}\` option is either missing or invalid.`:Se(21,m));const w=bt(_,X,d,m);v&&!_.light&&bt(_,v,void 0,"light"),c&&!_.dark&&bt(_,c,void 0,"dark");let O={defaultColorScheme:m,...w,cssVarPrefix:i,colorSchemeSelector:l,rootSelector:u,getCssVar:h,colorSchemes:_,font:{...Go(w.typography),...w.font},spacing:hi(d.spacing)};Object.keys(O.colorSchemes).forEach(re=>{const a=O.colorSchemes[re].palette,T=A=>{const L=A.split("-"),K=L[1],oe=L[2];return h(A,a[K][oe])};if(a.mode==="light"&&(f(a.common,"background","#fff"),f(a.common,"onBackground","#000")),a.mode==="dark"&&(f(a.common,"background","#000"),f(a.common,"onBackground","#fff")),pi(a,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),a.mode==="light"){f(a.Alert,"errorColor",H(a.error.light,.6)),f(a.Alert,"infoColor",H(a.info.light,.6)),f(a.Alert,"successColor",H(a.success.light,.6)),f(a.Alert,"warningColor",H(a.warning.light,.6)),f(a.Alert,"errorFilledBg",T("palette-error-main")),f(a.Alert,"infoFilledBg",T("palette-info-main")),f(a.Alert,"successFilledBg",T("palette-success-main")),f(a.Alert,"warningFilledBg",T("palette-warning-main")),f(a.Alert,"errorFilledColor",me(()=>a.getContrastText(a.error.main))),f(a.Alert,"infoFilledColor",me(()=>a.getContrastText(a.info.main))),f(a.Alert,"successFilledColor",me(()=>a.getContrastText(a.success.main))),f(a.Alert,"warningFilledColor",me(()=>a.getContrastText(a.warning.main))),f(a.Alert,"errorStandardBg",q(a.error.light,.9)),f(a.Alert,"infoStandardBg",q(a.info.light,.9)),f(a.Alert,"successStandardBg",q(a.success.light,.9)),f(a.Alert,"warningStandardBg",q(a.warning.light,.9)),f(a.Alert,"errorIconColor",T("palette-error-main")),f(a.Alert,"infoIconColor",T("palette-info-main")),f(a.Alert,"successIconColor",T("palette-success-main")),f(a.Alert,"warningIconColor",T("palette-warning-main")),f(a.AppBar,"defaultBg",T("palette-grey-100")),f(a.Avatar,"defaultBg",T("palette-grey-400")),f(a.Button,"inheritContainedBg",T("palette-grey-300")),f(a.Button,"inheritContainedHoverBg",T("palette-grey-A100")),f(a.Chip,"defaultBorder",T("palette-grey-400")),f(a.Chip,"defaultAvatarColor",T("palette-grey-700")),f(a.Chip,"defaultIconColor",T("palette-grey-700")),f(a.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),f(a.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),f(a.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),f(a.LinearProgress,"primaryBg",q(a.primary.main,.62)),f(a.LinearProgress,"secondaryBg",q(a.secondary.main,.62)),f(a.LinearProgress,"errorBg",q(a.error.main,.62)),f(a.LinearProgress,"infoBg",q(a.info.main,.62)),f(a.LinearProgress,"successBg",q(a.success.main,.62)),f(a.LinearProgress,"warningBg",q(a.warning.main,.62)),f(a.Skeleton,"bg",`rgba(${T("palette-text-primaryChannel")} / 0.11)`),f(a.Slider,"primaryTrack",q(a.primary.main,.62)),f(a.Slider,"secondaryTrack",q(a.secondary.main,.62)),f(a.Slider,"errorTrack",q(a.error.main,.62)),f(a.Slider,"infoTrack",q(a.info.main,.62)),f(a.Slider,"successTrack",q(a.success.main,.62)),f(a.Slider,"warningTrack",q(a.warning.main,.62));const A=We(a.background.default,.8);f(a.SnackbarContent,"bg",A),f(a.SnackbarContent,"color",me(()=>a.getContrastText(A))),f(a.SpeedDialAction,"fabHoverBg",We(a.background.paper,.15)),f(a.StepConnector,"border",T("palette-grey-400")),f(a.StepContent,"border",T("palette-grey-400")),f(a.Switch,"defaultColor",T("palette-common-white")),f(a.Switch,"defaultDisabledColor",T("palette-grey-100")),f(a.Switch,"primaryDisabledColor",q(a.primary.main,.62)),f(a.Switch,"secondaryDisabledColor",q(a.secondary.main,.62)),f(a.Switch,"errorDisabledColor",q(a.error.main,.62)),f(a.Switch,"infoDisabledColor",q(a.info.main,.62)),f(a.Switch,"successDisabledColor",q(a.success.main,.62)),f(a.Switch,"warningDisabledColor",q(a.warning.main,.62)),f(a.TableCell,"border",q(Ye(a.divider,1),.88)),f(a.Tooltip,"bg",Ye(a.grey[700],.92))}if(a.mode==="dark"){f(a.Alert,"errorColor",q(a.error.light,.6)),f(a.Alert,"infoColor",q(a.info.light,.6)),f(a.Alert,"successColor",q(a.success.light,.6)),f(a.Alert,"warningColor",q(a.warning.light,.6)),f(a.Alert,"errorFilledBg",T("palette-error-dark")),f(a.Alert,"infoFilledBg",T("palette-info-dark")),f(a.Alert,"successFilledBg",T("palette-success-dark")),f(a.Alert,"warningFilledBg",T("palette-warning-dark")),f(a.Alert,"errorFilledColor",me(()=>a.getContrastText(a.error.dark))),f(a.Alert,"infoFilledColor",me(()=>a.getContrastText(a.info.dark))),f(a.Alert,"successFilledColor",me(()=>a.getContrastText(a.success.dark))),f(a.Alert,"warningFilledColor",me(()=>a.getContrastText(a.warning.dark))),f(a.Alert,"errorStandardBg",H(a.error.light,.9)),f(a.Alert,"infoStandardBg",H(a.info.light,.9)),f(a.Alert,"successStandardBg",H(a.success.light,.9)),f(a.Alert,"warningStandardBg",H(a.warning.light,.9)),f(a.Alert,"errorIconColor",T("palette-error-main")),f(a.Alert,"infoIconColor",T("palette-info-main")),f(a.Alert,"successIconColor",T("palette-success-main")),f(a.Alert,"warningIconColor",T("palette-warning-main")),f(a.AppBar,"defaultBg",T("palette-grey-900")),f(a.AppBar,"darkBg",T("palette-background-paper")),f(a.AppBar,"darkColor",T("palette-text-primary")),f(a.Avatar,"defaultBg",T("palette-grey-600")),f(a.Button,"inheritContainedBg",T("palette-grey-800")),f(a.Button,"inheritContainedHoverBg",T("palette-grey-700")),f(a.Chip,"defaultBorder",T("palette-grey-700")),f(a.Chip,"defaultAvatarColor",T("palette-grey-300")),f(a.Chip,"defaultIconColor",T("palette-grey-300")),f(a.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),f(a.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),f(a.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),f(a.LinearProgress,"primaryBg",H(a.primary.main,.5)),f(a.LinearProgress,"secondaryBg",H(a.secondary.main,.5)),f(a.LinearProgress,"errorBg",H(a.error.main,.5)),f(a.LinearProgress,"infoBg",H(a.info.main,.5)),f(a.LinearProgress,"successBg",H(a.success.main,.5)),f(a.LinearProgress,"warningBg",H(a.warning.main,.5)),f(a.Skeleton,"bg",`rgba(${T("palette-text-primaryChannel")} / 0.13)`),f(a.Slider,"primaryTrack",H(a.primary.main,.5)),f(a.Slider,"secondaryTrack",H(a.secondary.main,.5)),f(a.Slider,"errorTrack",H(a.error.main,.5)),f(a.Slider,"infoTrack",H(a.info.main,.5)),f(a.Slider,"successTrack",H(a.success.main,.5)),f(a.Slider,"warningTrack",H(a.warning.main,.5));const A=We(a.background.default,.98);f(a.SnackbarContent,"bg",A),f(a.SnackbarContent,"color",me(()=>a.getContrastText(A))),f(a.SpeedDialAction,"fabHoverBg",We(a.background.paper,.15)),f(a.StepConnector,"border",T("palette-grey-600")),f(a.StepContent,"border",T("palette-grey-600")),f(a.Switch,"defaultColor",T("palette-grey-300")),f(a.Switch,"defaultDisabledColor",T("palette-grey-600")),f(a.Switch,"primaryDisabledColor",H(a.primary.main,.55)),f(a.Switch,"secondaryDisabledColor",H(a.secondary.main,.55)),f(a.Switch,"errorDisabledColor",H(a.error.main,.55)),f(a.Switch,"infoDisabledColor",H(a.info.main,.55)),f(a.Switch,"successDisabledColor",H(a.success.main,.55)),f(a.Switch,"warningDisabledColor",H(a.warning.main,.55)),f(a.TableCell,"border",H(Ye(a.divider,1),.68)),f(a.Tooltip,"bg",Ye(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(A=>{const L=a[A];A!=="tonalOffset"&&L&&typeof L=="object"&&(L.main&&f(a[A],"mainChannel",Me(Ne(L.main))),L.light&&f(a[A],"lightChannel",Me(Ne(L.light))),L.dark&&f(a[A],"darkChannel",Me(Ne(L.dark))),L.contrastText&&f(a[A],"contrastTextChannel",Me(Ne(L.contrastText))),A==="text"&&(he(a[A],"primary"),he(a[A],"secondary")),A==="action"&&(L.active&&he(a[A],"active"),L.selected&&he(a[A],"selected")))})}),O=t.reduce((re,a)=>se(re,a),O);const g={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:mi(O)},{vars:F,generateThemeVars:ee,generateStyleSheets:te}=Do(O,g);return O.vars=F,Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([re,a])=>{O[re]=a}),O.generateThemeVars=ee,O.generateStyleSheets=te,O.generateSpacing=function(){return Tr(d.spacing,xt(this))},O.getColorSchemeSelector=Lo(l),O.spacing=O.generateSpacing(),O.shouldSkipGeneratingVar=s,O.unstable_sxConfig={...at,...d==null?void 0:d.unstable_sxConfig},O.unstable_sx=function(a){return Ie({sx:a,theme:this})},O.toRuntimeSource=Ir,O}function fr(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:It({...r===!0?{}:r.palette,mode:t})})}function bi(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:i=r==null?void 0:r.mode,...s}=e,l=i||"light",u=o==null?void 0:o[l],d={...o,...r?{[l]:{...typeof u!="boolean"&&u,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return Et(e,...t);let p=r;"palette"in e||d[l]&&(d[l]!==!0?p=d[l].palette:l==="dark"&&(p={mode:"dark"}));const m=Et({...e,palette:p},...t);return m.defaultColorScheme=l,m.colorSchemes=d,m.palette.mode==="light"&&(m.colorSchemes.light={...d.light!==!0&&d.light,palette:m.palette},fr(m,"dark",d.dark)),m.palette.mode==="dark"&&(m.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:m.palette},fr(m,"light",d.light)),m}return!r&&!("light"in d)&&l==="light"&&(d.light=!0),yi({...s,colorSchemes:d,defaultColorScheme:l,...typeof n!="boolean"&&n},...t)}const Mr=bi(),Nr="$$material";function vi(){const e=po(Mr);return process.env.NODE_ENV!=="production"&&pe.useDebugValue(e),e[Nr]||e}function Si(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Ci=e=>Si(e)&&e!=="classes",Ei=Co({themeId:Nr,defaultTheme:Mr,rootShouldForwardProp:Ci}),Ti=Mo;process.env.NODE_ENV!=="production"&&(D.node,D.object.isRequired);function xi(e){return Ro(e)}function Oi(e){return _t("MuiSvgIcon",e)}go("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const wi=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${xe(t)}`,`fontSize${xe(r)}`]};return Zr(o,Oi,n)},_i=Ei("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${xe(r.color)}`],t[`fontSize${xe(r.fontSize)}`]]}})(Ti(({theme:e})=>{var t,r,n,o,i,s,l,u,d,p,m,h,S,v;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:c=>!c.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((s=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:s.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:((p=(d=e.typography)==null?void 0:d.pxToRem)==null?void 0:p.call(d,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,c])=>c&&c.main).map(([c])=>{var x,_;return{props:{color:c},style:{color:(_=(x=(e.vars??e).palette)==null?void 0:x[c])==null?void 0:_.main}}}),{props:{color:"action"},style:{color:(h=(m=(e.vars??e).palette)==null?void 0:m.action)==null?void 0:h.active}},{props:{color:"disabled"},style:{color:(v=(S=(e.vars??e).palette)==null?void 0:S.action)==null?void 0:v.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Qe=pe.forwardRef(function(t,r){const n=xi({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:s="inherit",component:l="svg",fontSize:u="medium",htmlColor:d,inheritViewBox:p=!1,titleAccess:m,viewBox:h="0 0 24 24",...S}=n,v=pe.isValidElement(o)&&o.type==="svg",c={...n,color:s,component:l,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:h,hasSvgAsChild:v},x={};p||(x.viewBox=h);const _=wi(c);return b.jsxs(_i,{as:l,className:Xr(_.root,i),focusable:"false",color:d,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:r,...x,...S,...v&&o.props,ownerState:c,children:[v?o.props.children:o,m?b.jsx("title",{children:m}):null]})});process.env.NODE_ENV!=="production"&&(Qe.propTypes={children:D.node,classes:D.object,className:D.string,color:D.oneOfType([D.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),D.string]),component:D.elementType,fontSize:D.oneOfType([D.oneOf(["inherit","large","medium","small"]),D.string]),htmlColor:D.string,inheritViewBox:D.bool,shapeRendering:D.string,sx:D.oneOfType([D.arrayOf(D.oneOfType([D.func,D.object,D.bool])),D.func,D.object]),titleAccess:D.string,viewBox:D.string});Qe.muiName="SvgIcon";function ce(e,t){function r(n,o){return b.jsx(Qe,{"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=Qe.muiName,pe.memo(pe.forwardRef(r))}const $i=ce(b.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 Ai(e){return b.jsx($.Button,{name:e.name,"data-cy":e.dataCy??"cancel-button",className:e.className,sx:e.sx,startIcon:e.startIcon??b.jsx($i,{}),variant:e.variant??"contained",color:e.color??"secondary",type:e.type??"button",onClick:()=>e.onClick(),children:e.children??e.name})}const ki=ce(b.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 Ii(e){return b.jsx($.Button,{"data-cy":e.dataCy??"delete-button",loading:e.loading??!1,loadingPosition:e.loadingPosition??"start",startIcon:e.startIcon??b.jsx(ki,{}),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=ce(b.jsx("path",{d:"M11.67 3.87 9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z"}),"ArrowBackIos");function Ri(e){return b.jsx($.Tooltip,{title:"Go Back to Previous Page",children:b.jsxs($.IconButton,{name:e.name,color:e.color??"primary",onClick:()=>e.navigate(-1),children:[b.jsx(Pi,{}),e.children]})})}const Mi=ce(b.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 b.jsx($.Button,{name:e.name,"data-cy":e.dataCy??"history-button",className:e.className,sx:e.sx??{p:1,m:1},startIcon:e.startIcon??b.jsx(Mi,{}),variant:e.variant??"contained",color:e.color??"primary",type:e.type??"button",onClick:()=>e.onClick(),children:e.children??e.name})}const ji=ce(b.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"),Bi={backgroundColor:"$primary-color",color:"var(--white-color)",margin:"20px"};function Di(e){return b.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??b.jsx(ji,{}),loading:e.loading,type:e.type??"button",style:Bi,sx:e.sx,onClick:e.onClick,children:e.children??e.name})}const Li=ce(b.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 b.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??b.jsx(Li,{}),children:e.children?e.children:"Manage"})}function Vi(e){return b.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 Fi(e){return b.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 Ui=ce(b.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 Yi(e){return b.jsx($.Tooltip,{title:e.tooltipTitle,children:b.jsx($.IconButton,{sx:{pt:0,pb:0},color:e.color??"primary",onClick:()=>e.onClick(!0),"aria-label":e.tooltipTitle,children:b.jsx(Ui,{})})})}const Pt=ce(b.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"),Wi=e=>{const[t,r]=ye.useState(!1);ye.useEffect(()=>{r(e.open)},[e.open,e.progressState]);const n=b.jsx($.IconButton,{size:"small","aria-label":"close",color:"inherit",onClick:()=>r(!1),children:b.jsx(Pt,{fontSize:"small"})});return b.jsxs(b.Fragment,{children:[b.jsx($.Snackbar,{anchorOrigin:{vertical:"bottom",horizontal:"center"},open:t&&e.progressState.isSuccess,autoHideDuration:e.autoHideDuration??3e3,onClose:()=>r(!1),children:b.jsx($.Alert,{variant:"filled",severity:"success",sx:{width:"100%"},action:n,children:e.progressState.message})}),b.jsx($.Snackbar,{anchorOrigin:{vertical:"bottom",horizontal:"center"},open:t&&e.progressState.isError,TransitionComponent:$.Slide,autoHideDuration:e.autoHideDuration??3e3,onClose:()=>r(!1),children:b.jsx($.Alert,{variant:"filled",sx:{width:"100%"},severity:"error",action:n,children:e.progressState.message})})]})},Hi=e=>{const[t,r]=ye.useState(!1);ye.useEffect(()=>{r(e.open)},[e.open,e]);const n=b.jsx($.IconButton,{size:"small","aria-label":"close",color:"inherit",onClick:()=>r(!1),children:b.jsx(Pt,{fontSize:"small"})});return b.jsxs(b.Fragment,{children:[b.jsx($.Snackbar,{anchorOrigin:{vertical:"bottom",horizontal:"center"},open:t&&e.isSuccess,autoHideDuration:e.autoHideDuration??3e3,onClose:()=>r(!1),children:b.jsx($.Alert,{variant:"filled",severity:"success",sx:{width:"100%"},action:n,children:e.message})}),b.jsx($.Snackbar,{anchorOrigin:{vertical:"bottom",horizontal:"center"},open:t&&e.isError,TransitionComponent:$.Slide,autoHideDuration:e.autoHideDuration??3e3,onClose:()=>r(!1),children:b.jsx($.Alert,{variant:"filled",sx:{width:"100%"},severity:"error",action:n,children:e.message})})]})},dr=ce(b.jsx("path",{d:"M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),mr=ce(b.jsx("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6z"}),"KeyboardArrowLeft"),pr=ce(b.jsx("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"}),"KeyboardArrowRight"),hr=ce(b.jsx("path",{d:"M5.59 7.41 10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage");function qi(e){const t=vi(),{count:r,page:n,rowsPerPage:o,onPageChange:i}=e,s=p=>{i(p,0)},l=p=>{i(p,n-1)},u=p=>{i(p,n+1)},d=p=>{i(p,Math.max(0,Math.ceil(r/o)-1))};return b.jsxs($.Box,{sx:{flexShrink:0,ml:2.5},children:[b.jsx($.IconButton,{onClick:s,disabled:n===0,"aria-label":"first page",children:t.direction==="rtl"?b.jsx(hr,{}):b.jsx(dr,{})}),b.jsx($.IconButton,{onClick:l,disabled:n===0,"aria-label":"previous page",children:t.direction==="rtl"?b.jsx(pr,{}):b.jsx(mr,{})}),b.jsx($.IconButton,{onClick:u,disabled:n>=Math.ceil(r/o)-1,"aria-label":"next page",children:t.direction==="rtl"?b.jsx(mr,{}):b.jsx(pr,{})}),b.jsx($.IconButton,{onClick:d,disabled:n>=Math.ceil(r/o)-1,"aria-label":"last page",children:t.direction==="rtl"?b.jsx(dr,{}):b.jsx(hr,{})})]})}function Gi(e){const{children:t,index:r,...n}=e;return b.jsx("div",{className:"tabPanel",role:"tabpanel",id:`vertical-tabpanel-${r}`,"aria-labelledby":`vertical-tab-${r}`,...n,children:b.jsx($.Box,{sx:{p:3},children:b.jsx($.Typography,{component:"span",children:t})})})}function Ki(e){return{id:`vertical-tab-${e}`,"aria-controls":`vertical-tabpanel-${e}`}}function Qi(e){return b.jsx($.Link,{component:gr.Link,to:e.href,className:"next-btn-link",underline:"hover",children:e.linkText??e.children})}function Ji(){return b.jsx("div",{style:{margin:"1.5rem"},className:"app-flex-justify-center",children:b.jsx($.CircularProgress,{})})}function Xi(e){const{onClose:t,title:r,message:n,open:o,...i}=e;return b.jsxs($.Dialog,{sx:{"& .MuiDialog-paper":{width:"80%",maxHeight:435}},maxWidth:"xs",open:o,...i,children:[b.jsx($.DialogTitle,{children:r??"Confirm"}),b.jsx($.DialogContent,{dividers:!0,children:n}),b.jsxs($.DialogActions,{children:[b.jsx($.Button,{autoFocus:!0,onClick:()=>t("No"),children:"Cancel"}),b.jsx($.Button,{onClick:()=>t("Yes"),children:"Yes"})]})]})}function Zi(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),b.jsx("span",{children:t&&b.jsx($.Alert,{action:n?b.jsx($.IconButton,{"aria-label":"close",color:"inherit",size:"small",onClick:()=>{r(!1)},children:b.jsx(Pt,{fontSize:"inherit"})}):null,style:{margin:"20px"},...e,children:e.message})})}const ea=ce(b.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 ta(e){return b.jsxs($.Link,{component:gr.Link,to:e.href,target:e.target||"_blank",rel:"noreferrer",className:"next-btn-link",underline:"hover",children:[e.linkText??e.children,b.jsx($.Icon,{sx:{fontSize:"1.1rem",mx:.75,verticalAlign:"middle",display:"inline-flex"},component:ea})]})}function ra(e){const{condition:t,children:r,else:n}=e;return t?typeof r=="function"?r():r:n?typeof n=="function"?n():n:null}function na(e){return typeof e=="boolean"?e:typeof e=="string"?e.toLowerCase()==="true":!1}var Rt=(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))(Rt||{});const oa=()=>{const e=+new Date;return new Date(e+Rt.SYSTEM_COOKIE_TIMEOUT_MILLI_SECONDS)},ia=e=>vt.format(new Date(e),Rt.ISO_DATE_FORMAT),aa=(e,t)=>e?vt.format(vt.parseISO(e),t):"";function sa(e){if(typeof e=="string")return Number.parseInt(e,10)}const ca=()=>({isLoading:!1,isSuccess:!1,isError:!1,isComplete:!1,message:""}),la=e=>({...e,isLoading:!0,isSuccess:!1,isError:!1,message:""}),ua=(e,t)=>({...e,isLoading:!1,isSuccess:!0,isError:!1,isComplete:!0,message:t||""}),fa=(e,t)=>({...e,isLoading:!1,isSuccess:!1,isError:!0,isComplete:!0,message:t||""});function da(e){return e==null?!0:typeof e=="string"?e.trim()==="":!1}const ma=e=>{try{return decodeURIComponent(e)!==e}catch{return!1}};class pa extends Error{constructor(r,{status:n,statusText:o,redirected:i,type:s}){super(r);Pe(this,"status");Pe(this,"statusText");Pe(this,"redirected");Pe(this,"type");this.status=n,this.statusText=o,this.statusText=s,this.redirected=i,this.name="HttpError"}}async function ha(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 pa(i,o)}return await o.json()}function ga(e){return getComputedStyle(document.documentElement).getPropertyValue(e).trim()}exports.AppSnackBar=Wi;exports.CancelButton=Ai;exports.CenteredCircularProgress=Ji;exports.ConfirmDialog=Xi;exports.DeleteButton=Ii;exports.DismissibleAlert=Zi;exports.EditIconButton=Yi;exports.ExcelButton=Fi;exports.GoBackButton=Ri;exports.HistoryButton=Ni;exports.LoadingSuccessButton=Di;exports.ManageButton=zi;exports.NextLink=Qi;exports.OpenInNewIconLink=ta;exports.QuerySnackBar=Hi;exports.ReactIf=ra;exports.SuccessButton=Vi;exports.TabPanel=Gi;exports.TablePaginationActions=qi;exports.a11yProps=Ki;exports.convertToIsoDate=ia;exports.fetchClient=ha;exports.formatDate=aa;exports.getCssVariable=ga;exports.initializeState=ca;exports.isBlankOrEmpty=da;exports.isEncoded=ma;exports.markError=fa;exports.markLoading=la;exports.markSuccess=ua;exports.parseBoolean=na;exports.parseNumber=sa;exports.setCookieExpirationDate=oa;
|
package/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var Me = (e, t, r) =>
|
|
1
|
+
var Hr = Object.defineProperty;
|
|
2
|
+
var Gr = (e, t, r) => t in e ? Hr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
|
+
var Me = (e, t, r) => Gr(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
4
|
import { jsxs as Se, jsx as v, Fragment as vr } from "react/jsx-runtime";
|
|
5
|
-
import { Button as ye, Tooltip as Sr, IconButton as ge, Snackbar as Qe, Alert as ze, Slide as Cr, Box as Er, Typography as
|
|
5
|
+
import { Button as ye, Tooltip as Sr, IconButton as ge, Snackbar as Qe, Alert as ze, Slide as Cr, Box as Er, Typography as Kr, Link as Tr, CircularProgress as qr, Dialog as Qr, DialogTitle as Jr, DialogContent as Xr, DialogActions as Zr, Icon as en } from "@mui/material";
|
|
6
6
|
import * as me from "react";
|
|
7
|
-
import { useState as Pe, useEffect as
|
|
8
|
-
import
|
|
9
|
-
import { ThemeContext as
|
|
10
|
-
import { Link as
|
|
11
|
-
import { format as
|
|
7
|
+
import { useState as Pe, useEffect as xr } from "react";
|
|
8
|
+
import tn from "@emotion/styled";
|
|
9
|
+
import { ThemeContext as rn } from "@emotion/react";
|
|
10
|
+
import { Link as wr } from "react-router-dom";
|
|
11
|
+
import { format as Or, parseISO as nn } from "date-fns";
|
|
12
12
|
const Lt = (e) => e, on = () => {
|
|
13
13
|
let e = Lt;
|
|
14
14
|
return {
|
|
@@ -203,7 +203,7 @@ function ln() {
|
|
|
203
203
|
}()), V;
|
|
204
204
|
}
|
|
205
205
|
var jt;
|
|
206
|
-
function
|
|
206
|
+
function $r() {
|
|
207
207
|
return jt || (jt = 1, process.env.NODE_ENV === "production" ? We.exports = cn() : We.exports = ln()), We.exports;
|
|
208
208
|
}
|
|
209
209
|
/*
|
|
@@ -265,7 +265,7 @@ function Ot() {
|
|
|
265
265
|
return pt = e, pt;
|
|
266
266
|
}
|
|
267
267
|
var ht, Yt;
|
|
268
|
-
function
|
|
268
|
+
function _r() {
|
|
269
269
|
return Yt || (Yt = 1, ht = Function.call.bind(Object.prototype.hasOwnProperty)), ht;
|
|
270
270
|
}
|
|
271
271
|
var gt, Wt;
|
|
@@ -275,7 +275,7 @@ function fn() {
|
|
|
275
275
|
var e = function() {
|
|
276
276
|
};
|
|
277
277
|
if (process.env.NODE_ENV !== "production") {
|
|
278
|
-
var t = /* @__PURE__ */ Ot(), r = {}, n = /* @__PURE__ */
|
|
278
|
+
var t = /* @__PURE__ */ Ot(), r = {}, n = /* @__PURE__ */ _r();
|
|
279
279
|
e = function(i) {
|
|
280
280
|
var s = "Warning: " + i;
|
|
281
281
|
typeof console < "u" && console.error(s);
|
|
@@ -321,7 +321,7 @@ var yt, Ht;
|
|
|
321
321
|
function dn() {
|
|
322
322
|
if (Ht) return yt;
|
|
323
323
|
Ht = 1;
|
|
324
|
-
var e =
|
|
324
|
+
var e = $r(), t = un(), r = /* @__PURE__ */ Ot(), n = /* @__PURE__ */ _r(), o = /* @__PURE__ */ fn(), i = function() {
|
|
325
325
|
};
|
|
326
326
|
process.env.NODE_ENV !== "production" && (i = function(l) {
|
|
327
327
|
var u = "Warning: " + l;
|
|
@@ -690,7 +690,7 @@ var Kt;
|
|
|
690
690
|
function pn() {
|
|
691
691
|
if (Kt) return Ye.exports;
|
|
692
692
|
if (Kt = 1, process.env.NODE_ENV !== "production") {
|
|
693
|
-
var e =
|
|
693
|
+
var e = $r(), t = !0;
|
|
694
694
|
Ye.exports = /* @__PURE__ */ dn()(e.isElement, t);
|
|
695
695
|
} else
|
|
696
696
|
Ye.exports = /* @__PURE__ */ mn()();
|
|
@@ -698,17 +698,17 @@ function pn() {
|
|
|
698
698
|
}
|
|
699
699
|
var hn = /* @__PURE__ */ pn();
|
|
700
700
|
const B = /* @__PURE__ */ sn(hn);
|
|
701
|
-
function
|
|
701
|
+
function Ar(e) {
|
|
702
702
|
var t, r, n = "";
|
|
703
703
|
if (typeof e == "string" || typeof e == "number") n += e;
|
|
704
704
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
705
705
|
var o = e.length;
|
|
706
|
-
for (t = 0; t < o; t++) e[t] && (r =
|
|
706
|
+
for (t = 0; t < o; t++) e[t] && (r = Ar(e[t])) && (n && (n += " "), n += r);
|
|
707
707
|
} else for (r in e) e[r] && (n && (n += " "), n += r);
|
|
708
708
|
return n;
|
|
709
709
|
}
|
|
710
710
|
function gn() {
|
|
711
|
-
for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t =
|
|
711
|
+
for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = Ar(e)) && (n && (n += " "), n += t);
|
|
712
712
|
return n;
|
|
713
713
|
}
|
|
714
714
|
function yn(e, t, r = void 0) {
|
|
@@ -883,12 +883,12 @@ function he(e) {
|
|
|
883
883
|
const t = Object.getPrototypeOf(e);
|
|
884
884
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
885
885
|
}
|
|
886
|
-
function
|
|
886
|
+
function Rr(e) {
|
|
887
887
|
if (/* @__PURE__ */ me.isValidElement(e) || Je.isValidElementType(e) || !he(e))
|
|
888
888
|
return e;
|
|
889
889
|
const t = {};
|
|
890
890
|
return Object.keys(e).forEach((r) => {
|
|
891
|
-
t[r] =
|
|
891
|
+
t[r] = Rr(e[r]);
|
|
892
892
|
}), t;
|
|
893
893
|
}
|
|
894
894
|
function ae(e, t, r = {
|
|
@@ -899,7 +899,7 @@ function ae(e, t, r = {
|
|
|
899
899
|
} : e;
|
|
900
900
|
return he(e) && he(t) && Object.keys(t).forEach((o) => {
|
|
901
901
|
/* @__PURE__ */ me.isValidElement(t[o]) || Je.isValidElementType(t[o]) ? n[o] = t[o] : he(t[o]) && // Avoid prototype pollution
|
|
902
|
-
Object.prototype.hasOwnProperty.call(e, o) && he(e[o]) ? n[o] = ae(e[o], t[o], r) : r.clone ? n[o] = he(t[o]) ?
|
|
902
|
+
Object.prototype.hasOwnProperty.call(e, o) && he(e[o]) ? n[o] = ae(e[o], t[o], r) : r.clone ? n[o] = he(t[o]) ? Rr(t[o]) : t[o] : n[o] = t[o];
|
|
903
903
|
}), n;
|
|
904
904
|
}
|
|
905
905
|
function Le(e, t) {
|
|
@@ -1106,17 +1106,17 @@ function Mn(e, t, r, n) {
|
|
|
1106
1106
|
const o = Pn(r), i = In(o, n), s = e[r];
|
|
1107
1107
|
return be(e, s, i);
|
|
1108
1108
|
}
|
|
1109
|
-
function
|
|
1109
|
+
function Pr(e, t) {
|
|
1110
1110
|
const r = $t(e.theme);
|
|
1111
1111
|
return Object.keys(e).map((n) => Mn(e, t, n, r)).reduce(Le, {});
|
|
1112
1112
|
}
|
|
1113
1113
|
function q(e) {
|
|
1114
|
-
return
|
|
1114
|
+
return Pr(e, nt);
|
|
1115
1115
|
}
|
|
1116
1116
|
q.propTypes = process.env.NODE_ENV !== "production" ? nt.reduce((e, t) => (e[t] = Te, e), {}) : {};
|
|
1117
1117
|
q.filterProps = nt;
|
|
1118
1118
|
function Q(e) {
|
|
1119
|
-
return
|
|
1119
|
+
return Pr(e, ot);
|
|
1120
1120
|
}
|
|
1121
1121
|
Q.propTypes = process.env.NODE_ENV !== "production" ? ot.reduce((e, t) => (e[t] = Te, e), {}) : {};
|
|
1122
1122
|
Q.filterProps = ot;
|
|
@@ -1724,12 +1724,12 @@ function yo(e) {
|
|
|
1724
1724
|
return t[r] === void 0 && (t[r] = e(r)), t[r];
|
|
1725
1725
|
};
|
|
1726
1726
|
}
|
|
1727
|
-
var bo = /[A-Z]|^ms/g, vo = /_EMO_([^_]+?)_([^]*?)_EMO_/g,
|
|
1727
|
+
var bo = /[A-Z]|^ms/g, vo = /_EMO_([^_]+?)_([^]*?)_EMO_/g, kr = function(t) {
|
|
1728
1728
|
return t.charCodeAt(1) === 45;
|
|
1729
1729
|
}, er = function(t) {
|
|
1730
1730
|
return t != null && typeof t != "boolean";
|
|
1731
1731
|
}, vt = /* @__PURE__ */ yo(function(e) {
|
|
1732
|
-
return
|
|
1732
|
+
return kr(e) ? e : e.replace(bo, "-$&").toLowerCase();
|
|
1733
1733
|
}), tr = function(t, r) {
|
|
1734
1734
|
switch (t) {
|
|
1735
1735
|
case "animation":
|
|
@@ -1743,7 +1743,7 @@ var bo = /[A-Z]|^ms/g, vo = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Rr = function(t) {
|
|
|
1743
1743
|
}, o;
|
|
1744
1744
|
});
|
|
1745
1745
|
}
|
|
1746
|
-
return go[t] !== 1 && !
|
|
1746
|
+
return go[t] !== 1 && !kr(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
|
|
1747
1747
|
};
|
|
1748
1748
|
function Ze(e, t, r) {
|
|
1749
1749
|
if (r == null)
|
|
@@ -1846,7 +1846,7 @@ function Co(e, t, r) {
|
|
|
1846
1846
|
* LICENSE file in the root directory of this source tree.
|
|
1847
1847
|
*/
|
|
1848
1848
|
function Eo(e, t) {
|
|
1849
|
-
const r =
|
|
1849
|
+
const r = tn(e, t);
|
|
1850
1850
|
return process.env.NODE_ENV !== "production" ? (...n) => {
|
|
1851
1851
|
const o = typeof e == "string" ? `"${e}"` : "component";
|
|
1852
1852
|
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(`
|
|
@@ -1922,7 +1922,7 @@ function wo(e) {
|
|
|
1922
1922
|
const Oo = {
|
|
1923
1923
|
borderRadius: 4
|
|
1924
1924
|
};
|
|
1925
|
-
function
|
|
1925
|
+
function Ir(e = 8, t = $t({
|
|
1926
1926
|
spacing: e
|
|
1927
1927
|
})) {
|
|
1928
1928
|
if (e.mui)
|
|
@@ -1953,7 +1953,7 @@ function At(e = {}, ...t) {
|
|
|
1953
1953
|
spacing: o,
|
|
1954
1954
|
shape: i = {},
|
|
1955
1955
|
...s
|
|
1956
|
-
} = e, l = wo(r), u =
|
|
1956
|
+
} = e, l = wo(r), u = Ir(o);
|
|
1957
1957
|
let d = ae({
|
|
1958
1958
|
breakpoints: l,
|
|
1959
1959
|
direction: "ltr",
|
|
@@ -1983,7 +1983,7 @@ function _o(e) {
|
|
|
1983
1983
|
return Object.keys(e).length === 0;
|
|
1984
1984
|
}
|
|
1985
1985
|
function Ao(e = null) {
|
|
1986
|
-
const t = me.useContext(
|
|
1986
|
+
const t = me.useContext(rn);
|
|
1987
1987
|
return !t || _o(t) ? e : t;
|
|
1988
1988
|
}
|
|
1989
1989
|
const Ro = At();
|
|
@@ -2014,11 +2014,11 @@ function Io(e, t, r = "Mui") {
|
|
|
2014
2014
|
n[o] = Rt(e, o, r);
|
|
2015
2015
|
}), n;
|
|
2016
2016
|
}
|
|
2017
|
-
function
|
|
2017
|
+
function Mr(e, t = "") {
|
|
2018
2018
|
return e.displayName || e.name || t;
|
|
2019
2019
|
}
|
|
2020
2020
|
function ir(e, t, r) {
|
|
2021
|
-
const n =
|
|
2021
|
+
const n = Mr(t);
|
|
2022
2022
|
return e.displayName || (n !== "" ? `${r}(${n})` : r);
|
|
2023
2023
|
}
|
|
2024
2024
|
function Mo(e) {
|
|
@@ -2026,7 +2026,7 @@ function Mo(e) {
|
|
|
2026
2026
|
if (typeof e == "string")
|
|
2027
2027
|
return e;
|
|
2028
2028
|
if (typeof e == "function")
|
|
2029
|
-
return
|
|
2029
|
+
return Mr(e, "Component");
|
|
2030
2030
|
if (typeof e == "object")
|
|
2031
2031
|
switch (e.$$typeof) {
|
|
2032
2032
|
case Je.ForwardRef:
|
|
@@ -2038,7 +2038,7 @@ function Mo(e) {
|
|
|
2038
2038
|
}
|
|
2039
2039
|
}
|
|
2040
2040
|
}
|
|
2041
|
-
function
|
|
2041
|
+
function Nr(e) {
|
|
2042
2042
|
const {
|
|
2043
2043
|
variants: t,
|
|
2044
2044
|
...r
|
|
@@ -2076,11 +2076,11 @@ function qe(e, t) {
|
|
|
2076
2076
|
} = r;
|
|
2077
2077
|
n = i;
|
|
2078
2078
|
}
|
|
2079
|
-
return
|
|
2079
|
+
return Dr(e, r.variants, [n]);
|
|
2080
2080
|
}
|
|
2081
2081
|
return r != null && r.isProcessed ? r.style : r;
|
|
2082
2082
|
}
|
|
2083
|
-
function
|
|
2083
|
+
function Dr(e, t, r = []) {
|
|
2084
2084
|
var o;
|
|
2085
2085
|
let n;
|
|
2086
2086
|
e: for (let i = 0; i < t.length; i += 1) {
|
|
@@ -2123,7 +2123,7 @@ function Lo(e = {}) {
|
|
|
2123
2123
|
skipSx: h,
|
|
2124
2124
|
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
2125
2125
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
2126
|
-
overridesResolver: S = Do(
|
|
2126
|
+
overridesResolver: S = Do(Br(p)),
|
|
2127
2127
|
...b
|
|
2128
2128
|
} = u, c = m !== void 0 ? m : (
|
|
2129
2129
|
// TODO v6: remove `Root` in the next major release
|
|
@@ -2142,7 +2142,7 @@ function Lo(e = {}) {
|
|
|
2142
2142
|
return qe(Z, g);
|
|
2143
2143
|
};
|
|
2144
2144
|
if (he(g)) {
|
|
2145
|
-
const j =
|
|
2145
|
+
const j = Nr(g);
|
|
2146
2146
|
return j.variants ? function(ee) {
|
|
2147
2147
|
return qe(ee, j);
|
|
2148
2148
|
} : j.style;
|
|
@@ -2162,7 +2162,7 @@ function Lo(e = {}) {
|
|
|
2162
2162
|
}), d && !c && ee.push(function(_) {
|
|
2163
2163
|
var ne, re;
|
|
2164
2164
|
const L = _.theme, K = (re = (ne = L == null ? void 0 : L.components) == null ? void 0 : ne[d]) == null ? void 0 : re.variants;
|
|
2165
|
-
return K ?
|
|
2165
|
+
return K ? Dr(_, K) : null;
|
|
2166
2166
|
}), x || ee.push(Ie), Array.isArray(Z[0])) {
|
|
2167
2167
|
const T = Z.shift(), _ = new Array(j.length).fill(""), L = new Array(ee.length).fill("");
|
|
2168
2168
|
let K;
|
|
@@ -2179,7 +2179,7 @@ function zo(e, t, r) {
|
|
|
2179
2179
|
}
|
|
2180
2180
|
function Vo(e, t) {
|
|
2181
2181
|
let r;
|
|
2182
|
-
return process.env.NODE_ENV !== "production" && e && (r = `${e}-${
|
|
2182
|
+
return process.env.NODE_ENV !== "production" && e && (r = `${e}-${Br(t || "Root")}`), r;
|
|
2183
2183
|
}
|
|
2184
2184
|
function jo(e) {
|
|
2185
2185
|
for (const t in e)
|
|
@@ -2192,7 +2192,7 @@ function Fo(e) {
|
|
|
2192
2192
|
// it's a lowercase character
|
|
2193
2193
|
e.charCodeAt(0) > 96;
|
|
2194
2194
|
}
|
|
2195
|
-
function
|
|
2195
|
+
function Br(e) {
|
|
2196
2196
|
return e && e.charAt(0).toLowerCase() + e.slice(1);
|
|
2197
2197
|
}
|
|
2198
2198
|
function Tt(e, t) {
|
|
@@ -2281,7 +2281,7 @@ function ft(e) {
|
|
|
2281
2281
|
} = e;
|
|
2282
2282
|
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})`;
|
|
2283
2283
|
}
|
|
2284
|
-
function
|
|
2284
|
+
function Lr(e) {
|
|
2285
2285
|
e = Ee(e);
|
|
2286
2286
|
const {
|
|
2287
2287
|
values: t
|
|
@@ -2295,7 +2295,7 @@ function Dr(e) {
|
|
|
2295
2295
|
}
|
|
2296
2296
|
function xt(e) {
|
|
2297
2297
|
e = Ee(e);
|
|
2298
|
-
let t = e.type === "hsl" || e.type === "hsla" ? Ee(
|
|
2298
|
+
let t = e.type === "hsl" || e.type === "hsla" ? Ee(Lr(e)).values : e.values;
|
|
2299
2299
|
return t = t.map((r) => (e.type !== "color" && (r /= 255), r <= 0.03928 ? r / 12.92 : ((r + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3));
|
|
2300
2300
|
}
|
|
2301
2301
|
function ar(e, t) {
|
|
@@ -2388,7 +2388,7 @@ function Jo(e) {
|
|
|
2388
2388
|
let t, r;
|
|
2389
2389
|
return function(o) {
|
|
2390
2390
|
let i = t;
|
|
2391
|
-
return (i === void 0 || o.theme !== r) && (sr.theme = o.theme, i =
|
|
2391
|
+
return (i === void 0 || o.theme !== r) && (sr.theme = o.theme, i = Nr(e(sr)), t = i, r = o.theme), i;
|
|
2392
2392
|
};
|
|
2393
2393
|
}
|
|
2394
2394
|
function Xo(e = "") {
|
|
@@ -2613,7 +2613,7 @@ const Ve = {
|
|
|
2613
2613
|
800: "#2e7d32",
|
|
2614
2614
|
900: "#1b5e20"
|
|
2615
2615
|
};
|
|
2616
|
-
function
|
|
2616
|
+
function zr() {
|
|
2617
2617
|
return {
|
|
2618
2618
|
// The colors used to style the text.
|
|
2619
2619
|
text: {
|
|
@@ -2653,8 +2653,8 @@ function Br() {
|
|
|
2653
2653
|
}
|
|
2654
2654
|
};
|
|
2655
2655
|
}
|
|
2656
|
-
const oi =
|
|
2657
|
-
function
|
|
2656
|
+
const oi = zr();
|
|
2657
|
+
function Vr() {
|
|
2658
2658
|
return {
|
|
2659
2659
|
text: {
|
|
2660
2660
|
primary: Ve.white,
|
|
@@ -2682,7 +2682,7 @@ function Lr() {
|
|
|
2682
2682
|
}
|
|
2683
2683
|
};
|
|
2684
2684
|
}
|
|
2685
|
-
const lr =
|
|
2685
|
+
const lr = Vr();
|
|
2686
2686
|
function ur(e, t, r, n) {
|
|
2687
2687
|
const o = n.light || n, i = n.dark || n * 1.5;
|
|
2688
2688
|
e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = It(e.main, o) : t === "dark" && (e.dark = kt(e.main, i)));
|
|
@@ -2800,7 +2800,7 @@ const theme2 = createTheme({ palette: {
|
|
|
2800
2800
|
return ur(c, "light", J, n), ur(c, "dark", O, n), c.contrastText || (c.contrastText = m(c.main)), c;
|
|
2801
2801
|
};
|
|
2802
2802
|
let S;
|
|
2803
|
-
return t === "light" ? S =
|
|
2803
|
+
return t === "light" ? S = zr() : t === "dark" && (S = Vr()), process.env.NODE_ENV !== "production" && (S || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), ae({
|
|
2804
2804
|
// A collection of common colors.
|
|
2805
2805
|
common: {
|
|
2806
2806
|
...Ve
|
|
@@ -3035,7 +3035,7 @@ const Ti = {
|
|
|
3035
3035
|
function xi(e) {
|
|
3036
3036
|
return he(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
|
|
3037
3037
|
}
|
|
3038
|
-
function
|
|
3038
|
+
function jr(e = {}) {
|
|
3039
3039
|
const t = {
|
|
3040
3040
|
...e
|
|
3041
3041
|
};
|
|
@@ -3116,7 +3116,7 @@ function wt(e = {}, ...t) {
|
|
|
3116
3116
|
sx: b,
|
|
3117
3117
|
theme: this
|
|
3118
3118
|
});
|
|
3119
|
-
}, h.toRuntimeSource =
|
|
3119
|
+
}, h.toRuntimeSource = jr, h;
|
|
3120
3120
|
}
|
|
3121
3121
|
function wi(e) {
|
|
3122
3122
|
let t;
|
|
@@ -3128,7 +3128,7 @@ const Oi = [...Array(25)].map((e, t) => {
|
|
|
3128
3128
|
const r = wi(t);
|
|
3129
3129
|
return `linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`;
|
|
3130
3130
|
});
|
|
3131
|
-
function
|
|
3131
|
+
function Fr(e) {
|
|
3132
3132
|
return {
|
|
3133
3133
|
inputPlaceholder: e === "dark" ? 0.5 : 0.42,
|
|
3134
3134
|
inputUnderline: e === "dark" ? 0.7 : 0.42,
|
|
@@ -3136,7 +3136,7 @@ function Vr(e) {
|
|
|
3136
3136
|
switchTrack: e === "dark" ? 0.3 : 0.38
|
|
3137
3137
|
};
|
|
3138
3138
|
}
|
|
3139
|
-
function
|
|
3139
|
+
function Ur(e) {
|
|
3140
3140
|
return e === "dark" ? Oi : [];
|
|
3141
3141
|
}
|
|
3142
3142
|
function $i(e) {
|
|
@@ -3152,10 +3152,10 @@ function $i(e) {
|
|
|
3152
3152
|
return {
|
|
3153
3153
|
palette: i,
|
|
3154
3154
|
opacity: {
|
|
3155
|
-
...
|
|
3155
|
+
...Fr(i.mode),
|
|
3156
3156
|
...r
|
|
3157
3157
|
},
|
|
3158
|
-
overlays: n ||
|
|
3158
|
+
overlays: n || Ur(i.mode),
|
|
3159
3159
|
...o
|
|
3160
3160
|
};
|
|
3161
3161
|
}
|
|
@@ -3210,7 +3210,7 @@ function f(e, t, r) {
|
|
|
3210
3210
|
!e[t] && r && (e[t] = r);
|
|
3211
3211
|
}
|
|
3212
3212
|
function Be(e) {
|
|
3213
|
-
return typeof e != "string" || !e.startsWith("hsl") ? e :
|
|
3213
|
+
return typeof e != "string" || !e.startsWith("hsl") ? e : Lr(e);
|
|
3214
3214
|
}
|
|
3215
3215
|
function pe(e, t) {
|
|
3216
3216
|
`${t}Channel` in e || (e[`${t}Channel`] = De(Be(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().
|
|
@@ -3254,10 +3254,10 @@ function Et(e, t, r, n) {
|
|
|
3254
3254
|
...t,
|
|
3255
3255
|
palette: i,
|
|
3256
3256
|
opacity: {
|
|
3257
|
-
...
|
|
3257
|
+
...Fr(o),
|
|
3258
3258
|
...t == null ? void 0 : t.opacity
|
|
3259
3259
|
},
|
|
3260
|
-
overlays: (t == null ? void 0 : t.overlays) ||
|
|
3260
|
+
overlays: (t == null ? void 0 : t.overlays) || Ur(o)
|
|
3261
3261
|
}, s;
|
|
3262
3262
|
}
|
|
3263
3263
|
function Mi(e = {}, ...t) {
|
|
@@ -3332,7 +3332,7 @@ function Mi(e = {}, ...t) {
|
|
|
3332
3332
|
return w.vars = j, Object.entries(w.colorSchemes[w.defaultColorScheme]).forEach(([te, a]) => {
|
|
3333
3333
|
w[te] = a;
|
|
3334
3334
|
}), w.generateThemeVars = Z, w.generateStyleSheets = ee, w.generateSpacing = function() {
|
|
3335
|
-
return
|
|
3335
|
+
return Ir(d.spacing, $t(this));
|
|
3336
3336
|
}, w.getColorSchemeSelector = ri(l), w.spacing = w.generateSpacing(), w.shouldSkipGeneratingVar = s, w.unstable_sxConfig = {
|
|
3337
3337
|
...ut,
|
|
3338
3338
|
...d == null ? void 0 : d.unstable_sxConfig
|
|
@@ -3341,7 +3341,7 @@ function Mi(e = {}, ...t) {
|
|
|
3341
3341
|
sx: a,
|
|
3342
3342
|
theme: this
|
|
3343
3343
|
});
|
|
3344
|
-
}, w.toRuntimeSource =
|
|
3344
|
+
}, w.toRuntimeSource = jr, w;
|
|
3345
3345
|
}
|
|
3346
3346
|
function pr(e, t, r) {
|
|
3347
3347
|
e.colorSchemes && r && (e.colorSchemes[t] = {
|
|
@@ -3397,17 +3397,17 @@ function Ni(e = {}, ...t) {
|
|
|
3397
3397
|
...typeof n != "boolean" && n
|
|
3398
3398
|
}, ...t);
|
|
3399
3399
|
}
|
|
3400
|
-
const
|
|
3400
|
+
const Yr = Ni(), Wr = "$$material";
|
|
3401
3401
|
function Di() {
|
|
3402
|
-
const e = Po(
|
|
3403
|
-
return process.env.NODE_ENV !== "production" && me.useDebugValue(e), e[
|
|
3402
|
+
const e = Po(Yr);
|
|
3403
|
+
return process.env.NODE_ENV !== "production" && me.useDebugValue(e), e[Wr] || e;
|
|
3404
3404
|
}
|
|
3405
3405
|
function Bi(e) {
|
|
3406
3406
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
3407
3407
|
}
|
|
3408
3408
|
const Li = (e) => Bi(e) && e !== "classes", zi = Lo({
|
|
3409
|
-
themeId:
|
|
3410
|
-
defaultTheme:
|
|
3409
|
+
themeId: Wr,
|
|
3410
|
+
defaultTheme: Yr,
|
|
3411
3411
|
rootShouldForwardProp: Li
|
|
3412
3412
|
}), Vi = Jo;
|
|
3413
3413
|
process.env.NODE_ENV !== "production" && (B.node, B.object.isRequired);
|
|
@@ -3825,7 +3825,7 @@ const Nt = se(/* @__PURE__ */ v("path", {
|
|
|
3825
3825
|
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"
|
|
3826
3826
|
}), "Close"), ba = (e) => {
|
|
3827
3827
|
const [t, r] = Pe(!1);
|
|
3828
|
-
|
|
3828
|
+
xr(() => {
|
|
3829
3829
|
r(e.open);
|
|
3830
3830
|
}, [e.open, e.progressState]);
|
|
3831
3831
|
const n = /* @__PURE__ */ v(ge, { size: "small", "aria-label": "close", color: "inherit", onClick: () => r(!1), children: /* @__PURE__ */ v(Nt, { fontSize: "small" }) });
|
|
@@ -3854,7 +3854,7 @@ const Nt = se(/* @__PURE__ */ v("path", {
|
|
|
3854
3854
|
] });
|
|
3855
3855
|
}, va = (e) => {
|
|
3856
3856
|
const [t, r] = Pe(!1);
|
|
3857
|
-
|
|
3857
|
+
xr(() => {
|
|
3858
3858
|
r(e.open);
|
|
3859
3859
|
}, [e.open, e]);
|
|
3860
3860
|
const n = /* @__PURE__ */ v(ge, { size: "small", "aria-label": "close", color: "inherit", onClick: () => r(!1), children: /* @__PURE__ */ v(Nt, { fontSize: "small" }) });
|
|
@@ -3909,7 +3909,7 @@ function Sa(e) {
|
|
|
3909
3909
|
}
|
|
3910
3910
|
function Ca(e) {
|
|
3911
3911
|
const { children: t, index: r, ...n } = e;
|
|
3912
|
-
return /* @__PURE__ */ v("div", { className: "tabPanel", role: "tabpanel", id: `vertical-tabpanel-${r}`, "aria-labelledby": `vertical-tab-${r}`, ...n, children: /* @__PURE__ */ v(Er, { sx: { p: 3 }, children: /* @__PURE__ */ v(
|
|
3912
|
+
return /* @__PURE__ */ v("div", { className: "tabPanel", role: "tabpanel", id: `vertical-tabpanel-${r}`, "aria-labelledby": `vertical-tab-${r}`, ...n, children: /* @__PURE__ */ v(Er, { sx: { p: 3 }, children: /* @__PURE__ */ v(Kr, { component: "span", children: t }) }) });
|
|
3913
3913
|
}
|
|
3914
3914
|
function Ea(e) {
|
|
3915
3915
|
return {
|
|
@@ -3918,17 +3918,17 @@ function Ea(e) {
|
|
|
3918
3918
|
};
|
|
3919
3919
|
}
|
|
3920
3920
|
function Ta(e) {
|
|
3921
|
-
return /* @__PURE__ */ v(
|
|
3921
|
+
return /* @__PURE__ */ v(Tr, { component: wr, to: e.href, className: "next-btn-link", underline: "hover", children: e.linkText ?? e.children });
|
|
3922
3922
|
}
|
|
3923
3923
|
function xa() {
|
|
3924
|
-
return /* @__PURE__ */ v("div", { style: { margin: "1.5rem" }, className: "app-flex-justify-center", children: /* @__PURE__ */ v(
|
|
3924
|
+
return /* @__PURE__ */ v("div", { style: { margin: "1.5rem" }, className: "app-flex-justify-center", children: /* @__PURE__ */ v(qr, {}) });
|
|
3925
3925
|
}
|
|
3926
3926
|
function wa(e) {
|
|
3927
3927
|
const { onClose: t, title: r, message: n, open: o, ...i } = e;
|
|
3928
|
-
return /* @__PURE__ */ Se(
|
|
3929
|
-
/* @__PURE__ */ v(
|
|
3930
|
-
/* @__PURE__ */ v(
|
|
3931
|
-
/* @__PURE__ */ Se(
|
|
3928
|
+
return /* @__PURE__ */ Se(Qr, { sx: { "& .MuiDialog-paper": { width: "80%", maxHeight: 435 } }, maxWidth: "xs", open: o, ...i, children: [
|
|
3929
|
+
/* @__PURE__ */ v(Jr, { children: r ?? "Confirm" }),
|
|
3930
|
+
/* @__PURE__ */ v(Xr, { dividers: !0, children: n }),
|
|
3931
|
+
/* @__PURE__ */ Se(Zr, { children: [
|
|
3932
3932
|
/* @__PURE__ */ v(ye, { autoFocus: !0, onClick: () => t("No"), children: "Cancel" }),
|
|
3933
3933
|
/* @__PURE__ */ v(ye, { onClick: () => t("Yes"), children: "Yes" })
|
|
3934
3934
|
] })
|
|
@@ -3964,16 +3964,28 @@ const Zi = se(/* @__PURE__ */ v("path", {
|
|
|
3964
3964
|
}), "OpenInNew");
|
|
3965
3965
|
function $a(e) {
|
|
3966
3966
|
return /* @__PURE__ */ Se(
|
|
3967
|
-
|
|
3967
|
+
Tr,
|
|
3968
3968
|
{
|
|
3969
|
-
|
|
3970
|
-
|
|
3969
|
+
component: wr,
|
|
3970
|
+
to: e.href,
|
|
3971
|
+
target: e.target || "_blank",
|
|
3971
3972
|
rel: "noreferrer",
|
|
3972
|
-
|
|
3973
|
+
className: "next-btn-link",
|
|
3974
|
+
underline: "hover",
|
|
3973
3975
|
children: [
|
|
3974
|
-
e.linkText,
|
|
3975
|
-
/* @__PURE__ */ v(
|
|
3976
|
-
|
|
3976
|
+
e.linkText ?? e.children,
|
|
3977
|
+
/* @__PURE__ */ v(
|
|
3978
|
+
en,
|
|
3979
|
+
{
|
|
3980
|
+
sx: {
|
|
3981
|
+
fontSize: "1.1rem",
|
|
3982
|
+
mx: 0.75,
|
|
3983
|
+
verticalAlign: "middle",
|
|
3984
|
+
display: "inline-flex"
|
|
3985
|
+
},
|
|
3986
|
+
component: Zi
|
|
3987
|
+
}
|
|
3988
|
+
)
|
|
3977
3989
|
]
|
|
3978
3990
|
}
|
|
3979
3991
|
);
|
|
@@ -3989,7 +4001,7 @@ var Dt = /* @__PURE__ */ ((e) => (e.SYSTEM_TIME_ZONE = "America/New_York", e.SYS
|
|
|
3989
4001
|
const Ra = () => {
|
|
3990
4002
|
const e = +/* @__PURE__ */ new Date();
|
|
3991
4003
|
return new Date(e + Dt.SYSTEM_COOKIE_TIMEOUT_MILLI_SECONDS);
|
|
3992
|
-
}, Pa = (e) =>
|
|
4004
|
+
}, Pa = (e) => Or(new Date(e), Dt.ISO_DATE_FORMAT), ka = (e, t) => e ? Or(nn(e), t) : "";
|
|
3993
4005
|
function Ia(e) {
|
|
3994
4006
|
if (typeof e == "string")
|
|
3995
4007
|
return Number.parseInt(e, 10);
|