@js-smart/react-kit 5.17.0 → 5.18.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 +6 -46
- package/index.mjs +78 -82
- package/lib/components/DismissibleAlert.d.ts +0 -1
- package/lib/components/NextLink.d.ts +0 -1
- package/lib/components/OpenInNewIconLink.d.ts +0 -1
- package/lib/components/buttons/CancelButton.d.ts +3 -4
- package/lib/components/buttons/DeleteButton.d.ts +4 -5
- package/lib/components/buttons/EditIconButton.d.ts +1 -2
- package/lib/components/buttons/ExcelButton.d.ts +1 -2
- package/lib/components/buttons/GoBackButton.d.ts +1 -2
- package/lib/components/buttons/HistoryButton.d.ts +3 -4
- package/lib/components/buttons/LoadingSuccessButton.d.ts +3 -4
- package/lib/components/buttons/ManageButton.d.ts +3 -4
- package/lib/components/buttons/SuccessButton.d.ts +3 -4
- package/lib/components/tabs/TabPanel.d.ts +1 -1
- package/lib/config/fetch/FetchClient.d.ts +5 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,52 +1,12 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("react/jsx-runtime"),_=require("@mui/material"),be=require("react"),Ur=require("@emotion/styled"),Yr=require("@emotion/react"),Sr=require("react-router-dom"),xt=require("date-fns");function Wr(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 he=Wr(be),Bt=e=>e,Hr=()=>{let e=Bt;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Bt}}},Gr=Hr();function Ce(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 $e(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Ce(7));return e.charAt(0).toUpperCase()+e.slice(1)}function qr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ue={exports:{}},Ye={exports:{}},U={};/** @license React v16.13.1
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the MIT license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/var Dt;function Kr(){if(Dt)return U;Dt=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,S=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,A=e?Symbol.for("react.responder"):60118,N=e?Symbol.for("react.scope"):60119;function B(b){if(typeof b=="object"&&b!==null){var w=b.$$typeof;switch(w){case t:switch(b=b.type,b){case f:case d:case n:case i:case o:case p:return b;default:switch(b=b&&b.$$typeof,b){case c:case m:case y:case S:case s:return b;default:return w}}case r:return w}}}function O(b){return B(b)===d}return U.AsyncMode=f,U.ConcurrentMode=d,U.ContextConsumer=c,U.ContextProvider=s,U.Element=t,U.ForwardRef=m,U.Fragment=n,U.Lazy=y,U.Memo=S,U.Portal=r,U.Profiler=i,U.StrictMode=o,U.Suspense=p,U.isAsyncMode=function(b){return O(b)||B(b)===f},U.isConcurrentMode=O,U.isContextConsumer=function(b){return B(b)===c},U.isContextProvider=function(b){return B(b)===s},U.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===t},U.isForwardRef=function(b){return B(b)===m},U.isFragment=function(b){return B(b)===n},U.isLazy=function(b){return B(b)===y},U.isMemo=function(b){return B(b)===S},U.isPortal=function(b){return B(b)===r},U.isProfiler=function(b){return B(b)===i},U.isStrictMode=function(b){return B(b)===o},U.isSuspense=function(b){return B(b)===p},U.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===d||b===i||b===o||b===p||b===h||typeof b=="object"&&b!==null&&(b.$$typeof===y||b.$$typeof===S||b.$$typeof===s||b.$$typeof===c||b.$$typeof===m||b.$$typeof===x||b.$$typeof===A||b.$$typeof===N||b.$$typeof===l)},U.typeOf=B,U}var Y={};/** @license React v16.13.1
|
|
9
|
-
* react-is.development.js
|
|
10
|
-
*
|
|
11
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
12
|
-
*
|
|
13
|
-
* This source code is licensed under the MIT license found in the
|
|
14
|
-
* LICENSE file in the root directory of this source tree.
|
|
15
|
-
*/var Lt;function Qr(){return Lt||(Lt=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,S=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,A=e?Symbol.for("react.responder"):60118,N=e?Symbol.for("react.scope"):60119;function B(E){return typeof E=="string"||typeof E=="function"||E===n||E===d||E===i||E===o||E===p||E===h||typeof E=="object"&&E!==null&&(E.$$typeof===y||E.$$typeof===S||E.$$typeof===s||E.$$typeof===c||E.$$typeof===m||E.$$typeof===x||E.$$typeof===A||E.$$typeof===N||E.$$typeof===l)}function O(E){if(typeof E=="object"&&E!==null){var me=E.$$typeof;switch(me){case t:var ze=E.type;switch(ze){case f:case d:case n:case i:case o:case p:return ze;default:var jt=ze&&ze.$$typeof;switch(jt){case c:case m:case y:case S:case s:return jt;default:return me}}case r:return me}}}var b=f,w=d,X=c,ne=s,Q=t,ie=m,Z=n,a=y,$=S,C=r,k=i,D=o,oe=p,de=!1;function ft(E){return de||(de=!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.")),g(E)||O(E)===f}function g(E){return O(E)===d}function T(E){return O(E)===c}function j(E){return O(E)===s}function R(E){return typeof E=="object"&&E!==null&&E.$$typeof===t}function I(E){return O(E)===m}function L(E){return O(E)===n}function P(E){return O(E)===y}function M(E){return O(E)===S}function V(E){return O(E)===r}function W(E){return O(E)===i}function F(E){return O(E)===o}function ae(E){return O(E)===p}Y.AsyncMode=b,Y.ConcurrentMode=w,Y.ContextConsumer=X,Y.ContextProvider=ne,Y.Element=Q,Y.ForwardRef=ie,Y.Fragment=Z,Y.Lazy=a,Y.Memo=$,Y.Portal=C,Y.Profiler=k,Y.StrictMode=D,Y.Suspense=oe,Y.isAsyncMode=ft,Y.isConcurrentMode=g,Y.isContextConsumer=T,Y.isContextProvider=j,Y.isElement=R,Y.isForwardRef=I,Y.isFragment=L,Y.isLazy=P,Y.isMemo=M,Y.isPortal=V,Y.isProfiler=W,Y.isStrictMode=F,Y.isSuspense=ae,Y.isValidElementType=B,Y.typeOf=O}()),Y}var Vt;function Cr(){return Vt||(Vt=1,process.env.NODE_ENV==="production"?Ye.exports=Kr():Ye.exports=Qr()),Ye.exports}/*
|
|
16
|
-
object-assign
|
|
17
|
-
(c) Sindre Sorhus
|
|
18
|
-
@license MIT
|
|
19
|
-
*/var dt,Ft;function Xr(){if(Ft)return dt;Ft=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={},c=0;c<10;c++)s["_"+String.fromCharCode(c)]=c;var f=Object.getOwnPropertyNames(s).map(function(m){return s[m]});if(f.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(m){d[m]=m}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return dt=o()?Object.assign:function(i,s){for(var c,f=n(i),d,m=1;m<arguments.length;m++){c=Object(arguments[m]);for(var p in c)t.call(c,p)&&(f[p]=c[p]);if(e){d=e(c);for(var h=0;h<d.length;h++)r.call(c,d[h])&&(f[d[h]]=c[d[h]])}}return f},dt}var mt,zt;function $t(){if(zt)return mt;zt=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return mt=e,mt}var pt,Ut;function xr(){return Ut||(Ut=1,pt=Function.call.bind(Object.prototype.hasOwnProperty)),pt}var ht,Yt;function Jr(){if(Yt)return ht;Yt=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=$t(),r={},n=xr();e=function(i){var s="Warning: "+i;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}}}function o(i,s,c,f,d){if(process.env.NODE_ENV!=="production"){for(var m in i)if(n(i,m)){var p;try{if(typeof i[m]!="function"){var h=Error((f||"React class")+": "+c+" type `"+m+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[m]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}p=i[m](s,m,f,c,null,t)}catch(y){p=y}if(p&&!(p instanceof Error)&&e((f||"React class")+": type specification of "+c+" `"+m+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in r)){r[p.message]=!0;var S=d?d():"";e("Failed "+c+" type: "+p.message+(S??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},ht=o,ht}var gt,Wt;function Zr(){if(Wt)return gt;Wt=1;var e=Cr(),t=Xr(),r=$t(),n=xr(),o=Jr(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(c){var f="Warning: "+c;typeof console<"u"&&console.error(f);try{throw new Error(f)}catch{}});function s(){return null}return gt=function(c,f){var d=typeof Symbol=="function"&&Symbol.iterator,m="@@iterator";function p(g){var T=g&&(d&&g[d]||g[m]);if(typeof T=="function")return T}var h="<<anonymous>>",S={array:A("array"),bigint:A("bigint"),bool:A("boolean"),func:A("function"),number:A("number"),object:A("object"),string:A("string"),symbol:A("symbol"),any:N(),arrayOf:B,element:O(),elementType:b(),instanceOf:w,node:ie(),objectOf:ne,oneOf:X,oneOfType:Q,shape:a,exact:$};function y(g,T){return g===T?g!==0||1/g===1/T:g!==g&&T!==T}function l(g,T){this.message=g,this.data=T&&typeof T=="object"?T:{},this.stack=""}l.prototype=Error.prototype;function x(g){if(process.env.NODE_ENV!=="production")var T={},j=0;function R(L,P,M,V,W,F,ae){if(V=V||h,F=F||M,ae!==r){if(f){var E=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 E.name="Invariant Violation",E}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var me=V+":"+M;!T[me]&&j<3&&(i("You are manually calling a React.PropTypes validation function for the `"+F+"` prop on `"+V+"`. 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."),T[me]=!0,j++)}}return P[M]==null?L?P[M]===null?new l("The "+W+" `"+F+"` is marked as required "+("in `"+V+"`, but its value is `null`.")):new l("The "+W+" `"+F+"` is marked as required in "+("`"+V+"`, but its value is `undefined`.")):null:g(P,M,V,W,F)}var I=R.bind(null,!1);return I.isRequired=R.bind(null,!0),I}function A(g){function T(j,R,I,L,P,M){var V=j[R],W=D(V);if(W!==g){var F=oe(V);return new l("Invalid "+L+" `"+P+"` of type "+("`"+F+"` supplied to `"+I+"`, expected ")+("`"+g+"`."),{expectedType:g})}return null}return x(T)}function N(){return x(s)}function B(g){function T(j,R,I,L,P){if(typeof g!="function")return new l("Property `"+P+"` of component `"+I+"` has invalid PropType notation inside arrayOf.");var M=j[R];if(!Array.isArray(M)){var V=D(M);return new l("Invalid "+L+" `"+P+"` of type "+("`"+V+"` supplied to `"+I+"`, expected an array."))}for(var W=0;W<M.length;W++){var F=g(M,W,I,L,P+"["+W+"]",r);if(F instanceof Error)return F}return null}return x(T)}function O(){function g(T,j,R,I,L){var P=T[j];if(!c(P)){var M=D(P);return new l("Invalid "+I+" `"+L+"` of type "+("`"+M+"` supplied to `"+R+"`, expected a single ReactElement."))}return null}return x(g)}function b(){function g(T,j,R,I,L){var P=T[j];if(!e.isValidElementType(P)){var M=D(P);return new l("Invalid "+I+" `"+L+"` of type "+("`"+M+"` supplied to `"+R+"`, expected a single ReactElement type."))}return null}return x(g)}function w(g){function T(j,R,I,L,P){if(!(j[R]instanceof g)){var M=g.name||h,V=ft(j[R]);return new l("Invalid "+L+" `"+P+"` of type "+("`"+V+"` supplied to `"+I+"`, expected ")+("instance of `"+M+"`."))}return null}return x(T)}function X(g){if(!Array.isArray(g))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 T(j,R,I,L,P){for(var M=j[R],V=0;V<g.length;V++)if(y(M,g[V]))return null;var W=JSON.stringify(g,function(ae,E){var me=oe(E);return me==="symbol"?String(E):E});return new l("Invalid "+L+" `"+P+"` of value `"+String(M)+"` "+("supplied to `"+I+"`, expected one of "+W+"."))}return x(T)}function ne(g){function T(j,R,I,L,P){if(typeof g!="function")return new l("Property `"+P+"` of component `"+I+"` has invalid PropType notation inside objectOf.");var M=j[R],V=D(M);if(V!=="object")return new l("Invalid "+L+" `"+P+"` of type "+("`"+V+"` supplied to `"+I+"`, expected an object."));for(var W in M)if(n(M,W)){var F=g(M,W,I,L,P+"."+W,r);if(F instanceof Error)return F}return null}return x(T)}function Q(g){if(!Array.isArray(g))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var T=0;T<g.length;T++){var j=g[T];if(typeof j!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+de(j)+" at index "+T+"."),s}function R(I,L,P,M,V){for(var W=[],F=0;F<g.length;F++){var ae=g[F],E=ae(I,L,P,M,V,r);if(E==null)return null;E.data&&n(E.data,"expectedType")&&W.push(E.data.expectedType)}var me=W.length>0?", expected one of type ["+W.join(", ")+"]":"";return new l("Invalid "+M+" `"+V+"` supplied to "+("`"+P+"`"+me+"."))}return x(R)}function ie(){function g(T,j,R,I,L){return C(T[j])?null:new l("Invalid "+I+" `"+L+"` supplied to "+("`"+R+"`, expected a ReactNode."))}return x(g)}function Z(g,T,j,R,I){return new l((g||"React class")+": "+T+" type `"+j+"."+R+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+I+"`.")}function a(g){function T(j,R,I,L,P){var M=j[R],V=D(M);if(V!=="object")return new l("Invalid "+L+" `"+P+"` of type `"+V+"` "+("supplied to `"+I+"`, expected `object`."));for(var W in g){var F=g[W];if(typeof F!="function")return Z(I,L,P,W,oe(F));var ae=F(M,W,I,L,P+"."+W,r);if(ae)return ae}return null}return x(T)}function $(g){function T(j,R,I,L,P){var M=j[R],V=D(M);if(V!=="object")return new l("Invalid "+L+" `"+P+"` of type `"+V+"` "+("supplied to `"+I+"`, expected `object`."));var W=t({},j[R],g);for(var F in W){var ae=g[F];if(n(g,F)&&typeof ae!="function")return Z(I,L,P,F,oe(ae));if(!ae)return new l("Invalid "+L+" `"+P+"` key `"+F+"` supplied to `"+I+"`.\nBad object: "+JSON.stringify(j[R],null," ")+`
|
|
20
|
-
Valid keys: `+JSON.stringify(Object.keys(g),null," "));var E=ae(M,F,I,L,P+"."+F,r);if(E)return E}return null}return x(T)}function C(g){switch(typeof g){case"number":case"string":case"undefined":return!0;case"boolean":return!g;case"object":if(Array.isArray(g))return g.every(C);if(g===null||c(g))return!0;var T=p(g);if(T){var j=T.call(g),R;if(T!==g.entries){for(;!(R=j.next()).done;)if(!C(R.value))return!1}else for(;!(R=j.next()).done;){var I=R.value;if(I&&!C(I[1]))return!1}}else return!1;return!0;default:return!1}}function k(g,T){return g==="symbol"?!0:T?T["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&T instanceof Symbol:!1}function D(g){var T=typeof g;return Array.isArray(g)?"array":g instanceof RegExp?"object":k(T,g)?"symbol":T}function oe(g){if(typeof g>"u"||g===null)return""+g;var T=D(g);if(T==="object"){if(g instanceof Date)return"date";if(g instanceof RegExp)return"regexp"}return T}function de(g){var T=oe(g);switch(T){case"array":case"object":return"an "+T;case"boolean":case"date":case"regexp":return"a "+T;default:return T}}function ft(g){return!g.constructor||!g.constructor.name?h:g.constructor.name}return S.checkPropTypes=o,S.resetWarningCache=o.resetWarningCache,S.PropTypes=S,S},gt}var yt,Ht;function en(){if(Ht)return yt;Ht=1;var e=$t();function t(){}function r(){}return r.resetWarningCache=t,yt=function(){function n(s,c,f,d,m,p){if(p!==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},yt}var Gt;function tn(){if(Gt)return Ue.exports;if(Gt=1,process.env.NODE_ENV!=="production"){var e=Cr(),t=!0;Ue.exports=Zr()(e.isElement,t)}else Ue.exports=en()();return Ue.exports}var rn=tn();const z=qr(rn);function Er(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Er(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Tr(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Er(e))&&(n&&(n+=" "),n+=t);return n}function nn(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let s="",c=!0;for(let f=0;f<i.length;f+=1){const d=i[f];d&&(s+=(c===!0?"":" ")+t(d),c=!1,r&&r[d]&&(s+=" "+r[d]))}n[o]=s}return n}var We={exports:{}},q={};/**
|
|
21
|
-
* @license React
|
|
22
|
-
* react-is.production.js
|
|
23
|
-
*
|
|
24
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
25
|
-
*
|
|
26
|
-
* This source code is licensed under the MIT license found in the
|
|
27
|
-
* LICENSE file in the root directory of this source tree.
|
|
28
|
-
*/var qt;function on(){if(qt)return q;qt=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),S=Symbol.for("react.client.reference");function y(l){if(typeof l=="object"&&l!==null){var x=l.$$typeof;switch(x){case e:switch(l=l.type,l){case r:case o:case n:case f:case d:case h:return l;default:switch(l=l&&l.$$typeof,l){case s:case c:case p:case m:return l;case i:return l;default:return x}}case t:return x}}}return q.ContextConsumer=i,q.ContextProvider=s,q.Element=e,q.ForwardRef=c,q.Fragment=r,q.Lazy=p,q.Memo=m,q.Portal=t,q.Profiler=o,q.StrictMode=n,q.Suspense=f,q.SuspenseList=d,q.isContextConsumer=function(l){return y(l)===i},q.isContextProvider=function(l){return y(l)===s},q.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===e},q.isForwardRef=function(l){return y(l)===c},q.isFragment=function(l){return y(l)===r},q.isLazy=function(l){return y(l)===p},q.isMemo=function(l){return y(l)===m},q.isPortal=function(l){return y(l)===t},q.isProfiler=function(l){return y(l)===o},q.isStrictMode=function(l){return y(l)===n},q.isSuspense=function(l){return y(l)===f},q.isSuspenseList=function(l){return y(l)===d},q.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===r||l===o||l===n||l===f||l===d||typeof l=="object"&&l!==null&&(l.$$typeof===p||l.$$typeof===m||l.$$typeof===s||l.$$typeof===i||l.$$typeof===c||l.$$typeof===S||l.getModuleId!==void 0)},q.typeOf=y,q}var K={};/**
|
|
29
|
-
* @license React
|
|
30
|
-
* react-is.development.js
|
|
31
|
-
*
|
|
32
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
33
|
-
*
|
|
34
|
-
* This source code is licensed under the MIT license found in the
|
|
35
|
-
* LICENSE file in the root directory of this source tree.
|
|
36
|
-
*/var Kt;function an(){return Kt||(Kt=1,process.env.NODE_ENV!=="production"&&function(){function e(l){if(typeof l=="object"&&l!==null){var x=l.$$typeof;switch(x){case t:switch(l=l.type,l){case n:case i:case o:case d:case m:case S:return l;default:switch(l=l&&l.$$typeof,l){case c:case f:case h:case p:return l;case s:return l;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"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),S=Symbol.for("react.view_transition"),y=Symbol.for("react.client.reference");K.ContextConsumer=s,K.ContextProvider=c,K.Element=t,K.ForwardRef=f,K.Fragment=n,K.Lazy=h,K.Memo=p,K.Portal=r,K.Profiler=i,K.StrictMode=o,K.Suspense=d,K.SuspenseList=m,K.isContextConsumer=function(l){return e(l)===s},K.isContextProvider=function(l){return e(l)===c},K.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===t},K.isForwardRef=function(l){return e(l)===f},K.isFragment=function(l){return e(l)===n},K.isLazy=function(l){return e(l)===h},K.isMemo=function(l){return e(l)===p},K.isPortal=function(l){return e(l)===r},K.isProfiler=function(l){return e(l)===i},K.isStrictMode=function(l){return e(l)===o},K.isSuspense=function(l){return e(l)===d},K.isSuspenseList=function(l){return e(l)===m},K.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===n||l===i||l===o||l===d||l===m||typeof l=="object"&&l!==null&&(l.$$typeof===h||l.$$typeof===p||l.$$typeof===c||l.$$typeof===s||l.$$typeof===f||l.$$typeof===y||l.getModuleId!==void 0)},K.typeOf=e}()),K}var Qt;function sn(){return Qt||(Qt=1,process.env.NODE_ENV==="production"?We.exports=on():We.exports=an()),We.exports}var qe=sn();function ye(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 Or(e){if(he.isValidElement(e)||qe.isValidElementType(e)||!ye(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Or(e[r])}),t}function ce(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return ye(e)&&ye(t)&&Object.keys(t).forEach(o=>{he.isValidElement(t[o])||qe.isValidElementType(t[o])?n[o]=t[o]:ye(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&ye(e[o])?n[o]=ce(e[o],t[o],r):r.clone?n[o]=ye(t[o])?Or(t[o]):t[o]:n[o]=t[o]}),n}function De(e,t){return t?ce(e,t,{clone:!1}):e}const Ee=process.env.NODE_ENV!=="production"?z.oneOfType([z.number,z.string,z.object,z.array]):{};function Xt(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,o)=>{const i=/min-width:\s*([0-9.]+)/;return+(n.match(i)?.[1]||0)-+(o.match(i)?.[1]||0)});return r.length?r.reduce((n,o)=>{const i=t[o];return delete n[o],n[o]=i,n},{...t}):t}function cn(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function ln(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>\`.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("react/jsx-runtime"),_=require("@mui/material"),be=require("react"),Ur=require("@emotion/styled"),Yr=require("@emotion/react"),Sr=require("react-router-dom"),xt=require("date-fns");function Wr(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 he=Wr(be),Bt=e=>e,Hr=()=>{let e=Bt;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Bt}}},qr=Hr();function Ce(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 $e(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Ce(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Gr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ue={exports:{}},Ye={exports:{}},U={};var Dt;function Kr(){if(Dt)return U;Dt=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,S=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,A=e?Symbol.for("react.responder"):60118,N=e?Symbol.for("react.scope"):60119;function B(b){if(typeof b=="object"&&b!==null){var w=b.$$typeof;switch(w){case t:switch(b=b.type,b){case f:case d:case n:case i:case o:case p:return b;default:switch(b=b&&b.$$typeof,b){case c:case m:case y:case S:case s:return b;default:return w}}case r:return w}}}function O(b){return B(b)===d}return U.AsyncMode=f,U.ConcurrentMode=d,U.ContextConsumer=c,U.ContextProvider=s,U.Element=t,U.ForwardRef=m,U.Fragment=n,U.Lazy=y,U.Memo=S,U.Portal=r,U.Profiler=i,U.StrictMode=o,U.Suspense=p,U.isAsyncMode=function(b){return O(b)||B(b)===f},U.isConcurrentMode=O,U.isContextConsumer=function(b){return B(b)===c},U.isContextProvider=function(b){return B(b)===s},U.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===t},U.isForwardRef=function(b){return B(b)===m},U.isFragment=function(b){return B(b)===n},U.isLazy=function(b){return B(b)===y},U.isMemo=function(b){return B(b)===S},U.isPortal=function(b){return B(b)===r},U.isProfiler=function(b){return B(b)===i},U.isStrictMode=function(b){return B(b)===o},U.isSuspense=function(b){return B(b)===p},U.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===d||b===i||b===o||b===p||b===h||typeof b=="object"&&b!==null&&(b.$$typeof===y||b.$$typeof===S||b.$$typeof===s||b.$$typeof===c||b.$$typeof===m||b.$$typeof===x||b.$$typeof===A||b.$$typeof===N||b.$$typeof===l)},U.typeOf=B,U}var Y={};var Lt;function Qr(){return Lt||(Lt=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,S=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,A=e?Symbol.for("react.responder"):60118,N=e?Symbol.for("react.scope"):60119;function B(E){return typeof E=="string"||typeof E=="function"||E===n||E===d||E===i||E===o||E===p||E===h||typeof E=="object"&&E!==null&&(E.$$typeof===y||E.$$typeof===S||E.$$typeof===s||E.$$typeof===c||E.$$typeof===m||E.$$typeof===x||E.$$typeof===A||E.$$typeof===N||E.$$typeof===l)}function O(E){if(typeof E=="object"&&E!==null){var me=E.$$typeof;switch(me){case t:var ze=E.type;switch(ze){case f:case d:case n:case i:case o:case p:return ze;default:var jt=ze&&ze.$$typeof;switch(jt){case c:case m:case y:case S:case s:return jt;default:return me}}case r:return me}}}var b=f,w=d,X=c,ne=s,Q=t,ie=m,Z=n,a=y,$=S,C=r,k=i,D=o,oe=p,de=!1;function ft(E){return de||(de=!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.")),g(E)||O(E)===f}function g(E){return O(E)===d}function T(E){return O(E)===c}function j(E){return O(E)===s}function R(E){return typeof E=="object"&&E!==null&&E.$$typeof===t}function I(E){return O(E)===m}function L(E){return O(E)===n}function P(E){return O(E)===y}function M(E){return O(E)===S}function V(E){return O(E)===r}function W(E){return O(E)===i}function F(E){return O(E)===o}function ae(E){return O(E)===p}Y.AsyncMode=b,Y.ConcurrentMode=w,Y.ContextConsumer=X,Y.ContextProvider=ne,Y.Element=Q,Y.ForwardRef=ie,Y.Fragment=Z,Y.Lazy=a,Y.Memo=$,Y.Portal=C,Y.Profiler=k,Y.StrictMode=D,Y.Suspense=oe,Y.isAsyncMode=ft,Y.isConcurrentMode=g,Y.isContextConsumer=T,Y.isContextProvider=j,Y.isElement=R,Y.isForwardRef=I,Y.isFragment=L,Y.isLazy=P,Y.isMemo=M,Y.isPortal=V,Y.isProfiler=W,Y.isStrictMode=F,Y.isSuspense=ae,Y.isValidElementType=B,Y.typeOf=O})()),Y}var Vt;function Cr(){return Vt||(Vt=1,process.env.NODE_ENV==="production"?Ye.exports=Kr():Ye.exports=Qr()),Ye.exports}var dt,Ft;function Xr(){if(Ft)return dt;Ft=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={},c=0;c<10;c++)s["_"+String.fromCharCode(c)]=c;var f=Object.getOwnPropertyNames(s).map(function(m){return s[m]});if(f.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(m){d[m]=m}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return dt=o()?Object.assign:function(i,s){for(var c,f=n(i),d,m=1;m<arguments.length;m++){c=Object(arguments[m]);for(var p in c)t.call(c,p)&&(f[p]=c[p]);if(e){d=e(c);for(var h=0;h<d.length;h++)r.call(c,d[h])&&(f[d[h]]=c[d[h]])}}return f},dt}var mt,zt;function $t(){if(zt)return mt;zt=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return mt=e,mt}var pt,Ut;function xr(){return Ut||(Ut=1,pt=Function.call.bind(Object.prototype.hasOwnProperty)),pt}var ht,Yt;function Jr(){if(Yt)return ht;Yt=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=$t(),r={},n=xr();e=function(i){var s="Warning: "+i;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}}}function o(i,s,c,f,d){if(process.env.NODE_ENV!=="production"){for(var m in i)if(n(i,m)){var p;try{if(typeof i[m]!="function"){var h=Error((f||"React class")+": "+c+" type `"+m+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[m]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}p=i[m](s,m,f,c,null,t)}catch(y){p=y}if(p&&!(p instanceof Error)&&e((f||"React class")+": type specification of "+c+" `"+m+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in r)){r[p.message]=!0;var S=d?d():"";e("Failed "+c+" type: "+p.message+(S??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},ht=o,ht}var gt,Wt;function Zr(){if(Wt)return gt;Wt=1;var e=Cr(),t=Xr(),r=$t(),n=xr(),o=Jr(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(c){var f="Warning: "+c;typeof console<"u"&&console.error(f);try{throw new Error(f)}catch{}});function s(){return null}return gt=function(c,f){var d=typeof Symbol=="function"&&Symbol.iterator,m="@@iterator";function p(g){var T=g&&(d&&g[d]||g[m]);if(typeof T=="function")return T}var h="<<anonymous>>",S={array:A("array"),bigint:A("bigint"),bool:A("boolean"),func:A("function"),number:A("number"),object:A("object"),string:A("string"),symbol:A("symbol"),any:N(),arrayOf:B,element:O(),elementType:b(),instanceOf:w,node:ie(),objectOf:ne,oneOf:X,oneOfType:Q,shape:a,exact:$};function y(g,T){return g===T?g!==0||1/g===1/T:g!==g&&T!==T}function l(g,T){this.message=g,this.data=T&&typeof T=="object"?T:{},this.stack=""}l.prototype=Error.prototype;function x(g){if(process.env.NODE_ENV!=="production")var T={},j=0;function R(L,P,M,V,W,F,ae){if(V=V||h,F=F||M,ae!==r){if(f){var E=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 E.name="Invariant Violation",E}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var me=V+":"+M;!T[me]&&j<3&&(i("You are manually calling a React.PropTypes validation function for the `"+F+"` prop on `"+V+"`. 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."),T[me]=!0,j++)}}return P[M]==null?L?P[M]===null?new l("The "+W+" `"+F+"` is marked as required "+("in `"+V+"`, but its value is `null`.")):new l("The "+W+" `"+F+"` is marked as required in "+("`"+V+"`, but its value is `undefined`.")):null:g(P,M,V,W,F)}var I=R.bind(null,!1);return I.isRequired=R.bind(null,!0),I}function A(g){function T(j,R,I,L,P,M){var V=j[R],W=D(V);if(W!==g){var F=oe(V);return new l("Invalid "+L+" `"+P+"` of type "+("`"+F+"` supplied to `"+I+"`, expected ")+("`"+g+"`."),{expectedType:g})}return null}return x(T)}function N(){return x(s)}function B(g){function T(j,R,I,L,P){if(typeof g!="function")return new l("Property `"+P+"` of component `"+I+"` has invalid PropType notation inside arrayOf.");var M=j[R];if(!Array.isArray(M)){var V=D(M);return new l("Invalid "+L+" `"+P+"` of type "+("`"+V+"` supplied to `"+I+"`, expected an array."))}for(var W=0;W<M.length;W++){var F=g(M,W,I,L,P+"["+W+"]",r);if(F instanceof Error)return F}return null}return x(T)}function O(){function g(T,j,R,I,L){var P=T[j];if(!c(P)){var M=D(P);return new l("Invalid "+I+" `"+L+"` of type "+("`"+M+"` supplied to `"+R+"`, expected a single ReactElement."))}return null}return x(g)}function b(){function g(T,j,R,I,L){var P=T[j];if(!e.isValidElementType(P)){var M=D(P);return new l("Invalid "+I+" `"+L+"` of type "+("`"+M+"` supplied to `"+R+"`, expected a single ReactElement type."))}return null}return x(g)}function w(g){function T(j,R,I,L,P){if(!(j[R]instanceof g)){var M=g.name||h,V=ft(j[R]);return new l("Invalid "+L+" `"+P+"` of type "+("`"+V+"` supplied to `"+I+"`, expected ")+("instance of `"+M+"`."))}return null}return x(T)}function X(g){if(!Array.isArray(g))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 T(j,R,I,L,P){for(var M=j[R],V=0;V<g.length;V++)if(y(M,g[V]))return null;var W=JSON.stringify(g,function(ae,E){var me=oe(E);return me==="symbol"?String(E):E});return new l("Invalid "+L+" `"+P+"` of value `"+String(M)+"` "+("supplied to `"+I+"`, expected one of "+W+"."))}return x(T)}function ne(g){function T(j,R,I,L,P){if(typeof g!="function")return new l("Property `"+P+"` of component `"+I+"` has invalid PropType notation inside objectOf.");var M=j[R],V=D(M);if(V!=="object")return new l("Invalid "+L+" `"+P+"` of type "+("`"+V+"` supplied to `"+I+"`, expected an object."));for(var W in M)if(n(M,W)){var F=g(M,W,I,L,P+"."+W,r);if(F instanceof Error)return F}return null}return x(T)}function Q(g){if(!Array.isArray(g))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var T=0;T<g.length;T++){var j=g[T];if(typeof j!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+de(j)+" at index "+T+"."),s}function R(I,L,P,M,V){for(var W=[],F=0;F<g.length;F++){var ae=g[F],E=ae(I,L,P,M,V,r);if(E==null)return null;E.data&&n(E.data,"expectedType")&&W.push(E.data.expectedType)}var me=W.length>0?", expected one of type ["+W.join(", ")+"]":"";return new l("Invalid "+M+" `"+V+"` supplied to "+("`"+P+"`"+me+"."))}return x(R)}function ie(){function g(T,j,R,I,L){return C(T[j])?null:new l("Invalid "+I+" `"+L+"` supplied to "+("`"+R+"`, expected a ReactNode."))}return x(g)}function Z(g,T,j,R,I){return new l((g||"React class")+": "+T+" type `"+j+"."+R+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+I+"`.")}function a(g){function T(j,R,I,L,P){var M=j[R],V=D(M);if(V!=="object")return new l("Invalid "+L+" `"+P+"` of type `"+V+"` "+("supplied to `"+I+"`, expected `object`."));for(var W in g){var F=g[W];if(typeof F!="function")return Z(I,L,P,W,oe(F));var ae=F(M,W,I,L,P+"."+W,r);if(ae)return ae}return null}return x(T)}function $(g){function T(j,R,I,L,P){var M=j[R],V=D(M);if(V!=="object")return new l("Invalid "+L+" `"+P+"` of type `"+V+"` "+("supplied to `"+I+"`, expected `object`."));var W=t({},j[R],g);for(var F in W){var ae=g[F];if(n(g,F)&&typeof ae!="function")return Z(I,L,P,F,oe(ae));if(!ae)return new l("Invalid "+L+" `"+P+"` key `"+F+"` supplied to `"+I+"`.\nBad object: "+JSON.stringify(j[R],null," ")+`
|
|
2
|
+
Valid keys: `+JSON.stringify(Object.keys(g),null," "));var E=ae(M,F,I,L,P+"."+F,r);if(E)return E}return null}return x(T)}function C(g){switch(typeof g){case"number":case"string":case"undefined":return!0;case"boolean":return!g;case"object":if(Array.isArray(g))return g.every(C);if(g===null||c(g))return!0;var T=p(g);if(T){var j=T.call(g),R;if(T!==g.entries){for(;!(R=j.next()).done;)if(!C(R.value))return!1}else for(;!(R=j.next()).done;){var I=R.value;if(I&&!C(I[1]))return!1}}else return!1;return!0;default:return!1}}function k(g,T){return g==="symbol"?!0:T?T["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&T instanceof Symbol:!1}function D(g){var T=typeof g;return Array.isArray(g)?"array":g instanceof RegExp?"object":k(T,g)?"symbol":T}function oe(g){if(typeof g>"u"||g===null)return""+g;var T=D(g);if(T==="object"){if(g instanceof Date)return"date";if(g instanceof RegExp)return"regexp"}return T}function de(g){var T=oe(g);switch(T){case"array":case"object":return"an "+T;case"boolean":case"date":case"regexp":return"a "+T;default:return T}}function ft(g){return!g.constructor||!g.constructor.name?h:g.constructor.name}return S.checkPropTypes=o,S.resetWarningCache=o.resetWarningCache,S.PropTypes=S,S},gt}var yt,Ht;function en(){if(Ht)return yt;Ht=1;var e=$t();function t(){}function r(){}return r.resetWarningCache=t,yt=function(){function n(s,c,f,d,m,p){if(p!==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},yt}var qt;function tn(){if(qt)return Ue.exports;if(qt=1,process.env.NODE_ENV!=="production"){var e=Cr(),t=!0;Ue.exports=Zr()(e.isElement,t)}else Ue.exports=en()();return Ue.exports}var rn=tn();const z=Gr(rn);function Er(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Er(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Tr(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Er(e))&&(n&&(n+=" "),n+=t);return n}function nn(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let s="",c=!0;for(let f=0;f<i.length;f+=1){const d=i[f];d&&(s+=(c===!0?"":" ")+t(d),c=!1,r&&r[d]&&(s+=" "+r[d]))}n[o]=s}return n}var We={exports:{}},G={};var Gt;function on(){if(Gt)return G;Gt=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),S=Symbol.for("react.client.reference");function y(l){if(typeof l=="object"&&l!==null){var x=l.$$typeof;switch(x){case e:switch(l=l.type,l){case r:case o:case n:case f:case d:case h:return l;default:switch(l=l&&l.$$typeof,l){case s:case c:case p:case m:return l;case i:return l;default:return x}}case t:return x}}}return G.ContextConsumer=i,G.ContextProvider=s,G.Element=e,G.ForwardRef=c,G.Fragment=r,G.Lazy=p,G.Memo=m,G.Portal=t,G.Profiler=o,G.StrictMode=n,G.Suspense=f,G.SuspenseList=d,G.isContextConsumer=function(l){return y(l)===i},G.isContextProvider=function(l){return y(l)===s},G.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===e},G.isForwardRef=function(l){return y(l)===c},G.isFragment=function(l){return y(l)===r},G.isLazy=function(l){return y(l)===p},G.isMemo=function(l){return y(l)===m},G.isPortal=function(l){return y(l)===t},G.isProfiler=function(l){return y(l)===o},G.isStrictMode=function(l){return y(l)===n},G.isSuspense=function(l){return y(l)===f},G.isSuspenseList=function(l){return y(l)===d},G.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===r||l===o||l===n||l===f||l===d||typeof l=="object"&&l!==null&&(l.$$typeof===p||l.$$typeof===m||l.$$typeof===s||l.$$typeof===i||l.$$typeof===c||l.$$typeof===S||l.getModuleId!==void 0)},G.typeOf=y,G}var K={};var Kt;function an(){return Kt||(Kt=1,process.env.NODE_ENV!=="production"&&(function(){function e(l){if(typeof l=="object"&&l!==null){var x=l.$$typeof;switch(x){case t:switch(l=l.type,l){case n:case i:case o:case d:case m:case S:return l;default:switch(l=l&&l.$$typeof,l){case c:case f:case h:case p:return l;case s:return l;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"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),S=Symbol.for("react.view_transition"),y=Symbol.for("react.client.reference");K.ContextConsumer=s,K.ContextProvider=c,K.Element=t,K.ForwardRef=f,K.Fragment=n,K.Lazy=h,K.Memo=p,K.Portal=r,K.Profiler=i,K.StrictMode=o,K.Suspense=d,K.SuspenseList=m,K.isContextConsumer=function(l){return e(l)===s},K.isContextProvider=function(l){return e(l)===c},K.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===t},K.isForwardRef=function(l){return e(l)===f},K.isFragment=function(l){return e(l)===n},K.isLazy=function(l){return e(l)===h},K.isMemo=function(l){return e(l)===p},K.isPortal=function(l){return e(l)===r},K.isProfiler=function(l){return e(l)===i},K.isStrictMode=function(l){return e(l)===o},K.isSuspense=function(l){return e(l)===d},K.isSuspenseList=function(l){return e(l)===m},K.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===n||l===i||l===o||l===d||l===m||typeof l=="object"&&l!==null&&(l.$$typeof===h||l.$$typeof===p||l.$$typeof===c||l.$$typeof===s||l.$$typeof===f||l.$$typeof===y||l.getModuleId!==void 0)},K.typeOf=e})()),K}var Qt;function sn(){return Qt||(Qt=1,process.env.NODE_ENV==="production"?We.exports=on():We.exports=an()),We.exports}var Ge=sn();function ye(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 Or(e){if(he.isValidElement(e)||Ge.isValidElementType(e)||!ye(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Or(e[r])}),t}function ce(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return ye(e)&&ye(t)&&Object.keys(t).forEach(o=>{he.isValidElement(t[o])||Ge.isValidElementType(t[o])?n[o]=t[o]:ye(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&ye(e[o])?n[o]=ce(e[o],t[o],r):r.clone?n[o]=ye(t[o])?Or(t[o]):t[o]:n[o]=t[o]}),n}function De(e,t){return t?ce(e,t,{clone:!1}):e}const Ee=process.env.NODE_ENV!=="production"?z.oneOfType([z.number,z.string,z.object,z.array]):{};function Xt(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,o)=>{const i=/min-width:\s*([0-9.]+)/;return+(n.match(i)?.[1]||0)-+(o.match(i)?.[1]||0)});return r.length?r.reduce((n,o)=>{const i=t[o];return delete n[o],n[o]=i,n},{...t}):t}function cn(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function ln(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
3
|
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:Ce(18,`(${t})`));return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function un(e){const t=(i,s)=>i.replace("@media",s?`@container ${s}`:"@container");function r(i,s){i.up=(...c)=>t(e.breakpoints.up(...c),s),i.down=(...c)=>t(e.breakpoints.down(...c),s),i.between=(...c)=>t(e.breakpoints.between(...c),s),i.only=(...c)=>t(e.breakpoints.only(...c),s),i.not=(...c)=>{const f=t(e.breakpoints.not(...c),s);return f.includes("not all and")?f.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):f}}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},Jt={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Je[e]}px)`},fn={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 ve(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||Jt;return t.reduce((s,c,f)=>(s[i.up(i.keys[f])]=r(t[f]),s),{})}if(typeof t=="object"){const i=n.breakpoints||Jt;return Object.keys(t).reduce((s,c)=>{if(cn(i.keys,c)){const f=ln(n.containerQueries?n:fn,c);f&&(s[f]=r(t[c],c))}else if(Object.keys(i.values||Je).includes(c)){const f=i.up(c);s[f]=r(t[c],c)}else{const f=c;s[f]=t[f]}return s},{})}return r(t)}function dn(e={}){return e.keys?.reduce((r,n)=>{const o=e.up(n);return r[o]={},r},{})||{}}function Zt(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Ze(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 Ke(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=Ze(e,r)||n,t&&(o=t(o,n,e)),o}function re(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=s=>{if(s[t]==null)return null;const c=s[t],f=s.theme,d=Ze(f,n)||{};return ve(s,c,p=>{let h=Ke(d,o,p);return p===h&&typeof p=="string"&&(h=Ke(d,o,`${t}${p==="default"?"":$e(p)}`,p)),r===!1?h:{[r]:h}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:Ee}:{},i.filterProps=[t],i}function mn(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const pn={m:"margin",p:"padding"},hn={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},er={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},gn=mn(e=>{if(e.length>2)if(er[e])e=er[e];else return[e];const[t,r]=e.split(""),n=pn[t],o=hn[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),et=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],tt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],yn=[...et,...tt];function Ve(e,t,r,n){const o=Ze(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
4
|
`)):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
5
|
`)));const c=o[s];return i>=0?c:typeof c=="number"?-c:typeof c=="string"&&c.startsWith("var(")?`calc(-1 * ${c})`:`-${c}`}: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 _t(e){return Ve(e,"spacing",8,"spacing")}function Fe(e,t){return typeof t=="string"||t==null?t:e(t)}function bn(e,t){return r=>e.reduce((n,o)=>(n[o]=Fe(t,r),n),{})}function vn(e,t,r,n){if(!t.includes(r))return null;const o=gn(r),i=bn(o,n),s=e[r];return ve(e,s,i)}function wr(e,t){const r=_t(e.theme);return Object.keys(e).map(n=>vn(e,t,n,r)).reduce(De,{})}function ee(e){return wr(e,et)}ee.propTypes=process.env.NODE_ENV!=="production"?et.reduce((e,t)=>(e[t]=Ee,e),{}):{};ee.filterProps=et;function te(e){return wr(e,tt)}te.propTypes=process.env.NODE_ENV!=="production"?tt.reduce((e,t)=>(e[t]=Ee,e),{}):{};te.filterProps=tt;process.env.NODE_ENV!=="production"&&yn.reduce((e,t)=>(e[t]=Ee,e),{});function rt(...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]?De(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function ue(e){return typeof e!="number"?e:`${e}px solid`}function fe(e,t){return re({prop:e,themeKey:"borders",transform:t})}const Sn=fe("border",ue),Cn=fe("borderTop",ue),xn=fe("borderRight",ue),En=fe("borderBottom",ue),Tn=fe("borderLeft",ue),On=fe("borderColor"),wn=fe("borderTopColor"),$n=fe("borderRightColor"),_n=fe("borderBottomColor"),An=fe("borderLeftColor"),kn=fe("outline",ue),In=fe("outlineColor"),nt=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ve(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Fe(t,n)});return ve(e,e.borderRadius,r)}return null};nt.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Ee}:{};nt.filterProps=["borderRadius"];rt(Sn,Cn,xn,En,Tn,On,wn,$n,_n,An,nt,kn,In);const ot=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ve(e.theme,"spacing",8,"gap"),r=n=>({gap:Fe(t,n)});return ve(e,e.gap,r)}return null};ot.propTypes=process.env.NODE_ENV!=="production"?{gap:Ee}:{};ot.filterProps=["gap"];const it=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ve(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Fe(t,n)});return ve(e,e.columnGap,r)}return null};it.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Ee}:{};it.filterProps=["columnGap"];const at=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ve(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Fe(t,n)});return ve(e,e.rowGap,r)}return null};at.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Ee}:{};at.filterProps=["rowGap"];const Pn=re({prop:"gridColumn"}),Rn=re({prop:"gridRow"}),Mn=re({prop:"gridAutoFlow"}),Nn=re({prop:"gridAutoColumns"}),jn=re({prop:"gridAutoRows"}),Bn=re({prop:"gridTemplateColumns"}),Dn=re({prop:"gridTemplateRows"}),Ln=re({prop:"gridTemplateAreas"}),Vn=re({prop:"gridArea"});rt(ot,it,at,Pn,Rn,Mn,Nn,jn,Bn,Dn,Ln,Vn);function Re(e,t){return t==="grey"?t:e}const Fn=re({prop:"color",themeKey:"palette",transform:Re}),zn=re({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Re}),Un=re({prop:"backgroundColor",themeKey:"palette",transform:Re});rt(Fn,zn,Un);function se(e){return e<=1&&e!==0?`${e*100}%`:e}const Yn=re({prop:"width",transform:se}),At=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{const n=e.theme?.breakpoints?.values?.[r]||Je[r];return n?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:se(r)}};return ve(e,e.maxWidth,t)}return null};At.filterProps=["maxWidth"];const Wn=re({prop:"minWidth",transform:se}),Hn=re({prop:"height",transform:se}),Gn=re({prop:"maxHeight",transform:se}),qn=re({prop:"minHeight",transform:se});re({prop:"size",cssProperty:"width",transform:se});re({prop:"size",cssProperty:"height",transform:se});const Kn=re({prop:"boxSizing"});rt(Yn,At,Wn,Hn,Gn,qn,Kn);const st={border:{themeKey:"borders",transform:ue},borderTop:{themeKey:"borders",transform:ue},borderRight:{themeKey:"borders",transform:ue},borderBottom:{themeKey:"borders",transform:ue},borderLeft:{themeKey:"borders",transform:ue},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ue},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:nt},color:{themeKey:"palette",transform:Re},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Re},backgroundColor:{themeKey:"palette",transform:Re},p:{style:te},pt:{style:te},pr:{style:te},pb:{style:te},pl:{style:te},px:{style:te},py:{style:te},padding:{style:te},paddingTop:{style:te},paddingRight:{style:te},paddingBottom:{style:te},paddingLeft:{style:te},paddingX:{style:te},paddingY:{style:te},paddingInline:{style:te},paddingInlineStart:{style:te},paddingInlineEnd:{style:te},paddingBlock:{style:te},paddingBlockStart:{style:te},paddingBlockEnd:{style:te},m:{style:ee},mt:{style:ee},mr:{style:ee},mb:{style:ee},ml:{style:ee},mx:{style:ee},my:{style:ee},margin:{style:ee},marginTop:{style:ee},marginRight:{style:ee},marginBottom:{style:ee},marginLeft:{style:ee},marginX:{style:ee},marginY:{style:ee},marginInline:{style:ee},marginInlineStart:{style:ee},marginInlineEnd:{style:ee},marginBlock:{style:ee},marginBlockStart:{style:ee},marginBlockEnd:{style:ee},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:ot},rowGap:{style:at},columnGap:{style:it},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:se},maxWidth:{style:At},minWidth:{transform:se},height:{transform:se},maxHeight:{transform:se},minHeight:{transform:se},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Qn(...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 Xn(e,t){return typeof e=="function"?e(t):e}function Jn(){function e(r,n,o,i){const s={[r]:n,theme:o},c=i[r];if(!c)return{[r]:n};const{cssProperty:f=r,themeKey:d,transform:m,style:p}=c;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[r]:n};const h=Ze(o,d)||{};return p?p(s):ve(s,n,y=>{let l=Ke(h,m,y);return y===l&&typeof y=="string"&&(l=Ke(h,m,`${r}${y==="default"?"":$e(y)}`,y)),f===!1?l:{[f]:l}})}function t(r){const{sx:n,theme:o={},nested:i}=r||{};if(!n)return null;const s=o.unstable_sxConfig??st;function c(f){let d=f;if(typeof f=="function")d=f(o);else if(typeof f!="object")return f;if(!d)return null;const m=dn(o.breakpoints),p=Object.keys(m);let h=m;return Object.keys(d).forEach(S=>{const y=Xn(d[S],o);if(y!=null)if(typeof y=="object")if(s[S])h=De(h,e(S,y,o,s));else{const l=ve({theme:o},y,x=>({[S]:x}));Qn(l,y)?h[S]=t({sx:y,theme:o,nested:!0}):h=De(h,l)}else h=De(h,e(S,y,o,s))}),!i&&o.modularCssLayers?{"@layer sx":Xt(o,Zt(p,h))}:Xt(o,Zt(p,h))}return Array.isArray(n)?n.map(c):c(n)}return t}const Me=Jn();Me.filterProps=["sx"];function Zn(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 eo={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 to(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var ro=/[A-Z]|^ms/g,no=/_EMO_([^_]+?)_([^]*?)_EMO_/g,$r=function(t){return t.charCodeAt(1)===45},tr=function(t){return t!=null&&typeof t!="boolean"},bt=to(function(e){return $r(e)?e:e.replace(ro,"-$&").toLowerCase()}),rr=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(no,function(n,o,i){return Se={name:o,styles:i,next:Se},o})}return eo[t]!==1&&!$r(t)&&typeof r=="number"&&r!==0?r+"px":r};function Qe(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 Se={name:o.name,styles:o.styles,next:Se},o.name;var i=r;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)Se={name:s.name,styles:s.styles,next:Se},s=s.next;var c=i.styles+";";return c}return oo(e,t,r)}}var f=r;return f}function oo(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Qe(e,t,r[o])+";";else for(var i in r){var s=r[i];if(typeof s!="object"){var c=s;tr(c)&&(n+=bt(i)+":"+rr(i,c)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&t==null)for(var f=0;f<s.length;f++)tr(s[f])&&(n+=bt(i)+":"+rr(i,s[f])+";");else{var d=Qe(e,t,s);switch(i){case"animation":case"animationName":{n+=bt(i)+":"+d+";";break}default:n+=i+"{"+d+"}"}}}return n}var nr=/label:\s*([^\s;{]+)\s*(;|$)/g,Se;function io(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="";Se=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=Qe(r,t,i);else{var s=i;o+=s[0]}for(var c=1;c<e.length;c++)if(o+=Qe(r,t,e[c]),n){var f=i;o+=f[c]}nr.lastIndex=0;for(var d="",m;(m=nr.exec(o))!==null;)d+="-"+m[1];var p=Zn(o)+d;return{name:p,styles:o,next:Se}}/**
|
|
41
|
-
|
|
42
|
-
*
|
|
43
|
-
* @license MIT
|
|
44
|
-
* This source code is licensed under the MIT license found in the
|
|
45
|
-
* LICENSE file in the root directory of this source tree.
|
|
46
|
-
*/function ao(e,t){const r=Ur(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 so(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const or=[];function we(e){return or[0]=e,io(or)}const co=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 lo(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=co(t),s=Object.keys(i);function c(h){return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${r})`}function f(h){return`@media (max-width:${(typeof t[h]=="number"?t[h]:h)-n/100}${r})`}function d(h,S){const y=s.indexOf(S);return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${r}) and (max-width:${(y!==-1&&typeof t[s[y]]=="number"?t[s[y]]:S)-n/100}${r})`}function m(h){return s.indexOf(h)+1<s.length?d(h,s[s.indexOf(h)+1]):c(h)}function p(h){const S=s.indexOf(h);return S===0?c(s[1]):S===s.length-1?f(s[S]):d(h,s[s.indexOf(h)+1]).replace("@media","@media not all and")}return{keys:s,values:i,up:c,down:f,between:d,only:m,not:p,unit:r,...o}}const uo={borderRadius:4};function _r(e=8,t=_t({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 fo(e,t){const r=this;if(r.vars){if(!r.colorSchemes?.[e]||typeof r.getColorSchemeSelector!="function")return{};let n=r.getColorSchemeSelector(e);return n==="&"?t:((n.includes("data-")||n.includes("."))&&(n=`*:where(${n.replace(/\s*&$/,"")}) &`),{[n]:t})}return r.palette.mode===e?t:{}}function kt(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...s}=e,c=lo(r),f=_r(o);let d=ce({breakpoints:c,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:f,shape:{...uo,...i}},s);return d=un(d),d.applyStyles=fo,d=t.reduce((m,p)=>ce(m,p),d),d.unstable_sxConfig={...st,...s?.unstable_sxConfig},d.unstable_sx=function(p){return Me({sx:p,theme:this})},d}function mo(e){return Object.keys(e).length===0}function po(e=null){const t=he.useContext(Yr.ThemeContext);return!t||mo(t)?e:t}const ho=kt();function go(e=ho){return po(e)}const yo={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 It(e,t,r="Mui"){const n=yo[t];return n?`${r}-${n}`:`${Gr.generate(e)}-${t}`}function bo(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=It(e,o,r)}),n}function Ar(e,t=""){return e.displayName||e.name||t}function ir(e,t,r){const n=Ar(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function vo(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Ar(e,"Component");if(typeof e=="object")switch(e.$$typeof){case qe.ForwardRef:return ir(e,e.render,"ForwardRef");case qe.Memo:return ir(e,e.type,"memo");default:return}}}function kr(e){const{variants:t,...r}=e,n={variants:t,style:we(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=we(o.style))}),n}const So=kt();function vt(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Oe(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Co(e){return e?(t,r)=>r[e]:null}function xo(e,t,r){e.theme=wo(e.theme)?r:e.theme[t]||e.theme}function Ge(e,t,r){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(o=>Ge(e,o,r));if(Array.isArray(n?.variants)){let o;if(n.isProcessed)o=r?Oe(n.style,r):n.style;else{const{variants:i,...s}=n;o=r?Oe(we(s),r):s}return Ir(e,n.variants,[o],r)}return n?.isProcessed?r?Oe(we(n.style),r):n.style:r?Oe(we(n),r):n}function Ir(e,t,r=[],n=void 0){let o;e:for(let i=0;i<t.length;i+=1){const s=t[i];if(typeof s.props=="function"){if(o??={...e,...e.ownerState,ownerState:e.ownerState},!s.props(o))continue}else for(const c in s.props)if(e[c]!==s.props[c]&&e.ownerState?.[c]!==s.props[c])continue e;typeof s.style=="function"?(o??={...e,...e.ownerState,ownerState:e.ownerState},r.push(n?Oe(we(s.style(o)),n):s.style(o))):r.push(n?Oe(we(s.style),n):s.style)}return r}function Eo(e={}){const{themeId:t,defaultTheme:r=So,rootShouldForwardProp:n=vt,slotShouldForwardProp:o=vt}=e;function i(c){xo(c,t,r)}return(c,f={})=>{so(c,w=>w.filter(X=>X!==Me));const{name:d,slot:m,skipVariantsResolver:p,skipSx:h,overridesResolver:S=Co(Pr(m)),...y}=f,l=d&&d.startsWith("Mui")||m?"components":"custom",x=p!==void 0?p:m&&m!=="Root"&&m!=="root"||!1,A=h||!1;let N=vt;m==="Root"||m==="root"?N=n:m?N=o:$o(c)&&(N=void 0);const B=ao(c,{shouldForwardProp:N,label:Oo(d,m),...y}),O=w=>{if(w.__emotion_real===w)return w;if(typeof w=="function")return function(ne){return Ge(ne,w,ne.theme.modularCssLayers?l:void 0)};if(ye(w)){const X=kr(w);return function(Q){return X.variants?Ge(Q,X,Q.theme.modularCssLayers?l:void 0):Q.theme.modularCssLayers?Oe(X.style,l):X.style}}return w},b=(...w)=>{const X=[],ne=w.map(O),Q=[];if(X.push(i),d&&S&&Q.push(function($){const k=$.theme.components?.[d]?.styleOverrides;if(!k)return null;const D={};for(const oe in k)D[oe]=Ge($,k[oe],$.theme.modularCssLayers?"theme":void 0);return S($,D)}),d&&!x&&Q.push(function($){const k=$.theme?.components?.[d]?.variants;return k?Ir($,k,[],$.theme.modularCssLayers?"theme":void 0):null}),A||Q.push(Me),Array.isArray(ne[0])){const a=ne.shift(),$=new Array(X.length).fill(""),C=new Array(Q.length).fill("");let k;k=[...$,...a,...C],k.raw=[...$,...a.raw,...C],X.unshift(k)}const ie=[...X,...ne,...Q],Z=B(...ie);return c.muiName&&(Z.muiName=c.muiName),process.env.NODE_ENV!=="production"&&(Z.displayName=To(d,m,c)),Z};return B.withConfig&&(b.withConfig=B.withConfig),b}}function To(e,t,r){return e?`${e}${$e(t||"")}`:`Styled(${vo(r)})`}function Oo(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${Pr(t||"Root")}`),r}function wo(e){for(const t in e)return!1;return!0}function $o(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Pr(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Et(e,t,r=!1){const n={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const i=o;if(i==="components"||i==="slots")n[i]={...e[i],...n[i]};else if(i==="componentsProps"||i==="slotProps"){const s=e[i],c=t[i];if(!c)n[i]=s||{};else if(!s)n[i]=c;else{n[i]={...c};for(const f in s)if(Object.prototype.hasOwnProperty.call(s,f)){const d=f;n[i][d]=Et(s[d],c[d],r)}}}else i==="className"&&r&&t.className?n.className=Tr(e?.className,t?.className):i==="style"&&r&&t.style?n.style={...e?.style,...t?.style}:n[i]===void 0&&(n[i]=e[i])}return n}function _o(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function Pt(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),_o(e,t,r)}function Ao(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 xe(e){if(e.type)return e;if(e.charAt(0)==="#")return xe(Ao(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.
|
|
6
|
+
`)),()=>{})}function _t(e){return Ve(e,"spacing",8,"spacing")}function Fe(e,t){return typeof t=="string"||t==null?t:e(t)}function bn(e,t){return r=>e.reduce((n,o)=>(n[o]=Fe(t,r),n),{})}function vn(e,t,r,n){if(!t.includes(r))return null;const o=gn(r),i=bn(o,n),s=e[r];return ve(e,s,i)}function wr(e,t){const r=_t(e.theme);return Object.keys(e).map(n=>vn(e,t,n,r)).reduce(De,{})}function ee(e){return wr(e,et)}ee.propTypes=process.env.NODE_ENV!=="production"?et.reduce((e,t)=>(e[t]=Ee,e),{}):{};ee.filterProps=et;function te(e){return wr(e,tt)}te.propTypes=process.env.NODE_ENV!=="production"?tt.reduce((e,t)=>(e[t]=Ee,e),{}):{};te.filterProps=tt;process.env.NODE_ENV!=="production"&&yn.reduce((e,t)=>(e[t]=Ee,e),{});function rt(...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]?De(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function ue(e){return typeof e!="number"?e:`${e}px solid`}function fe(e,t){return re({prop:e,themeKey:"borders",transform:t})}const Sn=fe("border",ue),Cn=fe("borderTop",ue),xn=fe("borderRight",ue),En=fe("borderBottom",ue),Tn=fe("borderLeft",ue),On=fe("borderColor"),wn=fe("borderTopColor"),$n=fe("borderRightColor"),_n=fe("borderBottomColor"),An=fe("borderLeftColor"),kn=fe("outline",ue),In=fe("outlineColor"),nt=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ve(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Fe(t,n)});return ve(e,e.borderRadius,r)}return null};nt.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Ee}:{};nt.filterProps=["borderRadius"];rt(Sn,Cn,xn,En,Tn,On,wn,$n,_n,An,nt,kn,In);const ot=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ve(e.theme,"spacing",8,"gap"),r=n=>({gap:Fe(t,n)});return ve(e,e.gap,r)}return null};ot.propTypes=process.env.NODE_ENV!=="production"?{gap:Ee}:{};ot.filterProps=["gap"];const it=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ve(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Fe(t,n)});return ve(e,e.columnGap,r)}return null};it.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Ee}:{};it.filterProps=["columnGap"];const at=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ve(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Fe(t,n)});return ve(e,e.rowGap,r)}return null};at.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Ee}:{};at.filterProps=["rowGap"];const Pn=re({prop:"gridColumn"}),Rn=re({prop:"gridRow"}),Mn=re({prop:"gridAutoFlow"}),Nn=re({prop:"gridAutoColumns"}),jn=re({prop:"gridAutoRows"}),Bn=re({prop:"gridTemplateColumns"}),Dn=re({prop:"gridTemplateRows"}),Ln=re({prop:"gridTemplateAreas"}),Vn=re({prop:"gridArea"});rt(ot,it,at,Pn,Rn,Mn,Nn,jn,Bn,Dn,Ln,Vn);function Re(e,t){return t==="grey"?t:e}const Fn=re({prop:"color",themeKey:"palette",transform:Re}),zn=re({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Re}),Un=re({prop:"backgroundColor",themeKey:"palette",transform:Re});rt(Fn,zn,Un);function se(e){return e<=1&&e!==0?`${e*100}%`:e}const Yn=re({prop:"width",transform:se}),At=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{const n=e.theme?.breakpoints?.values?.[r]||Je[r];return n?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:se(r)}};return ve(e,e.maxWidth,t)}return null};At.filterProps=["maxWidth"];const Wn=re({prop:"minWidth",transform:se}),Hn=re({prop:"height",transform:se}),qn=re({prop:"maxHeight",transform:se}),Gn=re({prop:"minHeight",transform:se});re({prop:"size",cssProperty:"width",transform:se});re({prop:"size",cssProperty:"height",transform:se});const Kn=re({prop:"boxSizing"});rt(Yn,At,Wn,Hn,qn,Gn,Kn);const st={border:{themeKey:"borders",transform:ue},borderTop:{themeKey:"borders",transform:ue},borderRight:{themeKey:"borders",transform:ue},borderBottom:{themeKey:"borders",transform:ue},borderLeft:{themeKey:"borders",transform:ue},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ue},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:nt},color:{themeKey:"palette",transform:Re},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Re},backgroundColor:{themeKey:"palette",transform:Re},p:{style:te},pt:{style:te},pr:{style:te},pb:{style:te},pl:{style:te},px:{style:te},py:{style:te},padding:{style:te},paddingTop:{style:te},paddingRight:{style:te},paddingBottom:{style:te},paddingLeft:{style:te},paddingX:{style:te},paddingY:{style:te},paddingInline:{style:te},paddingInlineStart:{style:te},paddingInlineEnd:{style:te},paddingBlock:{style:te},paddingBlockStart:{style:te},paddingBlockEnd:{style:te},m:{style:ee},mt:{style:ee},mr:{style:ee},mb:{style:ee},ml:{style:ee},mx:{style:ee},my:{style:ee},margin:{style:ee},marginTop:{style:ee},marginRight:{style:ee},marginBottom:{style:ee},marginLeft:{style:ee},marginX:{style:ee},marginY:{style:ee},marginInline:{style:ee},marginInlineStart:{style:ee},marginInlineEnd:{style:ee},marginBlock:{style:ee},marginBlockStart:{style:ee},marginBlockEnd:{style:ee},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:ot},rowGap:{style:at},columnGap:{style:it},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:se},maxWidth:{style:At},minWidth:{transform:se},height:{transform:se},maxHeight:{transform:se},minHeight:{transform:se},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Qn(...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 Xn(e,t){return typeof e=="function"?e(t):e}function Jn(){function e(r,n,o,i){const s={[r]:n,theme:o},c=i[r];if(!c)return{[r]:n};const{cssProperty:f=r,themeKey:d,transform:m,style:p}=c;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[r]:n};const h=Ze(o,d)||{};return p?p(s):ve(s,n,y=>{let l=Ke(h,m,y);return y===l&&typeof y=="string"&&(l=Ke(h,m,`${r}${y==="default"?"":$e(y)}`,y)),f===!1?l:{[f]:l}})}function t(r){const{sx:n,theme:o={},nested:i}=r||{};if(!n)return null;const s=o.unstable_sxConfig??st;function c(f){let d=f;if(typeof f=="function")d=f(o);else if(typeof f!="object")return f;if(!d)return null;const m=dn(o.breakpoints),p=Object.keys(m);let h=m;return Object.keys(d).forEach(S=>{const y=Xn(d[S],o);if(y!=null)if(typeof y=="object")if(s[S])h=De(h,e(S,y,o,s));else{const l=ve({theme:o},y,x=>({[S]:x}));Qn(l,y)?h[S]=t({sx:y,theme:o,nested:!0}):h=De(h,l)}else h=De(h,e(S,y,o,s))}),!i&&o.modularCssLayers?{"@layer sx":Xt(o,Zt(p,h))}:Xt(o,Zt(p,h))}return Array.isArray(n)?n.map(c):c(n)}return t}const Me=Jn();Me.filterProps=["sx"];function Zn(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 eo={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 to(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var ro=/[A-Z]|^ms/g,no=/_EMO_([^_]+?)_([^]*?)_EMO_/g,$r=function(t){return t.charCodeAt(1)===45},tr=function(t){return t!=null&&typeof t!="boolean"},bt=to(function(e){return $r(e)?e:e.replace(ro,"-$&").toLowerCase()}),rr=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(no,function(n,o,i){return Se={name:o,styles:i,next:Se},o})}return eo[t]!==1&&!$r(t)&&typeof r=="number"&&r!==0?r+"px":r};function Qe(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 Se={name:o.name,styles:o.styles,next:Se},o.name;var i=r;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)Se={name:s.name,styles:s.styles,next:Se},s=s.next;var c=i.styles+";";return c}return oo(e,t,r)}}var f=r;return f}function oo(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Qe(e,t,r[o])+";";else for(var i in r){var s=r[i];if(typeof s!="object"){var c=s;tr(c)&&(n+=bt(i)+":"+rr(i,c)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&t==null)for(var f=0;f<s.length;f++)tr(s[f])&&(n+=bt(i)+":"+rr(i,s[f])+";");else{var d=Qe(e,t,s);switch(i){case"animation":case"animationName":{n+=bt(i)+":"+d+";";break}default:n+=i+"{"+d+"}"}}}return n}var nr=/label:\s*([^\s;{]+)\s*(;|$)/g,Se;function io(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="";Se=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=Qe(r,t,i);else{var s=i;o+=s[0]}for(var c=1;c<e.length;c++)if(o+=Qe(r,t,e[c]),n){var f=i;o+=f[c]}nr.lastIndex=0;for(var d="",m;(m=nr.exec(o))!==null;)d+="-"+m[1];var p=Zn(o)+d;return{name:p,styles:o,next:Se}}function ao(e,t){const r=Ur(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(`
|
|
7
|
+
`)):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 so(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const or=[];function we(e){return or[0]=e,io(or)}const co=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 lo(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=co(t),s=Object.keys(i);function c(h){return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${r})`}function f(h){return`@media (max-width:${(typeof t[h]=="number"?t[h]:h)-n/100}${r})`}function d(h,S){const y=s.indexOf(S);return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${r}) and (max-width:${(y!==-1&&typeof t[s[y]]=="number"?t[s[y]]:S)-n/100}${r})`}function m(h){return s.indexOf(h)+1<s.length?d(h,s[s.indexOf(h)+1]):c(h)}function p(h){const S=s.indexOf(h);return S===0?c(s[1]):S===s.length-1?f(s[S]):d(h,s[s.indexOf(h)+1]).replace("@media","@media not all and")}return{keys:s,values:i,up:c,down:f,between:d,only:m,not:p,unit:r,...o}}const uo={borderRadius:4};function _r(e=8,t=_t({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 fo(e,t){const r=this;if(r.vars){if(!r.colorSchemes?.[e]||typeof r.getColorSchemeSelector!="function")return{};let n=r.getColorSchemeSelector(e);return n==="&"?t:((n.includes("data-")||n.includes("."))&&(n=`*:where(${n.replace(/\s*&$/,"")}) &`),{[n]:t})}return r.palette.mode===e?t:{}}function kt(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...s}=e,c=lo(r),f=_r(o);let d=ce({breakpoints:c,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:f,shape:{...uo,...i}},s);return d=un(d),d.applyStyles=fo,d=t.reduce((m,p)=>ce(m,p),d),d.unstable_sxConfig={...st,...s?.unstable_sxConfig},d.unstable_sx=function(p){return Me({sx:p,theme:this})},d}function mo(e){return Object.keys(e).length===0}function po(e=null){const t=he.useContext(Yr.ThemeContext);return!t||mo(t)?e:t}const ho=kt();function go(e=ho){return po(e)}const yo={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 It(e,t,r="Mui"){const n=yo[t];return n?`${r}-${n}`:`${qr.generate(e)}-${t}`}function bo(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=It(e,o,r)}),n}function Ar(e,t=""){return e.displayName||e.name||t}function ir(e,t,r){const n=Ar(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function vo(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Ar(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Ge.ForwardRef:return ir(e,e.render,"ForwardRef");case Ge.Memo:return ir(e,e.type,"memo");default:return}}}function kr(e){const{variants:t,...r}=e,n={variants:t,style:we(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=we(o.style))}),n}const So=kt();function vt(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Oe(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Co(e){return e?(t,r)=>r[e]:null}function xo(e,t,r){e.theme=wo(e.theme)?r:e.theme[t]||e.theme}function qe(e,t,r){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(o=>qe(e,o,r));if(Array.isArray(n?.variants)){let o;if(n.isProcessed)o=r?Oe(n.style,r):n.style;else{const{variants:i,...s}=n;o=r?Oe(we(s),r):s}return Ir(e,n.variants,[o],r)}return n?.isProcessed?r?Oe(we(n.style),r):n.style:r?Oe(we(n),r):n}function Ir(e,t,r=[],n=void 0){let o;e:for(let i=0;i<t.length;i+=1){const s=t[i];if(typeof s.props=="function"){if(o??={...e,...e.ownerState,ownerState:e.ownerState},!s.props(o))continue}else for(const c in s.props)if(e[c]!==s.props[c]&&e.ownerState?.[c]!==s.props[c])continue e;typeof s.style=="function"?(o??={...e,...e.ownerState,ownerState:e.ownerState},r.push(n?Oe(we(s.style(o)),n):s.style(o))):r.push(n?Oe(we(s.style),n):s.style)}return r}function Eo(e={}){const{themeId:t,defaultTheme:r=So,rootShouldForwardProp:n=vt,slotShouldForwardProp:o=vt}=e;function i(c){xo(c,t,r)}return(c,f={})=>{so(c,w=>w.filter(X=>X!==Me));const{name:d,slot:m,skipVariantsResolver:p,skipSx:h,overridesResolver:S=Co(Pr(m)),...y}=f,l=d&&d.startsWith("Mui")||m?"components":"custom",x=p!==void 0?p:m&&m!=="Root"&&m!=="root"||!1,A=h||!1;let N=vt;m==="Root"||m==="root"?N=n:m?N=o:$o(c)&&(N=void 0);const B=ao(c,{shouldForwardProp:N,label:Oo(d,m),...y}),O=w=>{if(w.__emotion_real===w)return w;if(typeof w=="function")return function(ne){return qe(ne,w,ne.theme.modularCssLayers?l:void 0)};if(ye(w)){const X=kr(w);return function(Q){return X.variants?qe(Q,X,Q.theme.modularCssLayers?l:void 0):Q.theme.modularCssLayers?Oe(X.style,l):X.style}}return w},b=(...w)=>{const X=[],ne=w.map(O),Q=[];if(X.push(i),d&&S&&Q.push(function($){const k=$.theme.components?.[d]?.styleOverrides;if(!k)return null;const D={};for(const oe in k)D[oe]=qe($,k[oe],$.theme.modularCssLayers?"theme":void 0);return S($,D)}),d&&!x&&Q.push(function($){const k=$.theme?.components?.[d]?.variants;return k?Ir($,k,[],$.theme.modularCssLayers?"theme":void 0):null}),A||Q.push(Me),Array.isArray(ne[0])){const a=ne.shift(),$=new Array(X.length).fill(""),C=new Array(Q.length).fill("");let k;k=[...$,...a,...C],k.raw=[...$,...a.raw,...C],X.unshift(k)}const ie=[...X,...ne,...Q],Z=B(...ie);return c.muiName&&(Z.muiName=c.muiName),process.env.NODE_ENV!=="production"&&(Z.displayName=To(d,m,c)),Z};return B.withConfig&&(b.withConfig=B.withConfig),b}}function To(e,t,r){return e?`${e}${$e(t||"")}`:`Styled(${vo(r)})`}function Oo(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${Pr(t||"Root")}`),r}function wo(e){for(const t in e)return!1;return!0}function $o(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Pr(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Et(e,t,r=!1){const n={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const i=o;if(i==="components"||i==="slots")n[i]={...e[i],...n[i]};else if(i==="componentsProps"||i==="slotProps"){const s=e[i],c=t[i];if(!c)n[i]=s||{};else if(!s)n[i]=c;else{n[i]={...c};for(const f in s)if(Object.prototype.hasOwnProperty.call(s,f)){const d=f;n[i][d]=Et(s[d],c[d],r)}}}else i==="className"&&r&&t.className?n.className=Tr(e?.className,t?.className):i==="style"&&r&&t.style?n.style={...e?.style,...t?.style}:n[i]===void 0&&(n[i]=e[i])}return n}function _o(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function Pt(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),_o(e,t,r)}function Ao(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 xe(e){if(e.type)return e;if(e.charAt(0)==="#")return xe(Ao(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
8
|
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Ce(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.`:Ce(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const ko=e=>{const t=xe(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},je=(e,t)=>{try{return ko(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function ct(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function Rr(e){e=xe(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,m=(d+r/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let c="rgb";const f=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(c+="a",f.push(t[3])),ct({type:c,values:f})}function Tt(e){e=xe(e);let t=e.type==="hsl"||e.type==="hsla"?xe(Rr(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function ar(e,t){const r=Tt(e),n=Tt(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Mr(e,t){return e=xe(e),t=Pt(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ct(e)}function Te(e,t,r){try{return Mr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function lt(e,t){if(e=xe(e),t=Pt(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 ct(e)}function H(e,t,r){try{return lt(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function ut(e,t){if(e=xe(e),t=Pt(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 ct(e)}function
|
|
9
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Ce(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const ko=e=>{const t=xe(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},je=(e,t)=>{try{return ko(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function ct(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function Rr(e){e=xe(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,m=(d+r/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let c="rgb";const f=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(c+="a",f.push(t[3])),ct({type:c,values:f})}function Tt(e){e=xe(e);let t=e.type==="hsl"||e.type==="hsla"?xe(Rr(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function ar(e,t){const r=Tt(e),n=Tt(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Mr(e,t){return e=xe(e),t=Pt(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ct(e)}function Te(e,t,r){try{return Mr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function lt(e,t){if(e=xe(e),t=Pt(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 ct(e)}function H(e,t,r){try{return lt(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function ut(e,t){if(e=xe(e),t=Pt(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 ct(e)}function q(e,t,r){try{return ut(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Io(e,t=.15){return Tt(e)>.5?lt(e,t):ut(e,t)}function He(e,t,r){try{return Io(e,t)}catch{return e}}const Po=he.createContext(void 0);process.env.NODE_ENV!=="production"&&(z.node,z.object);function Ro(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?Et(o.defaultProps,n,t.components.mergeClassNameAndStyle):!o.styleOverrides&&!o.variants?Et(o,n,t.components.mergeClassNameAndStyle):n}function Mo({props:e,name:t}){const r=he.useContext(Po);return Ro({props:e,name:t,theme:{components:r}})}const sr={theme:void 0};function No(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(sr.theme=o.theme,i=kr(e(sr)),t=i,r=o.theme),i}}function jo(e=""){function t(...n){if(!n.length)return"";const o=n[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${t(...o)})`}const cr=(e,t,r,n=[])=>{let o=e;t.forEach((i,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])})},Bo=(e,t,r)=>{function n(o,i=[],s=[]){Object.entries(o).forEach(([c,f])=>{(!r||r&&!r([...i,c]))&&f!=null&&(typeof f=="object"&&Object.keys(f).length>0?n(f,[...i,c],Array.isArray(f)?[...s,c]:s):t([...i,c],f,s))})}n(e)},Do=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function St(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},s={};return Bo(e,(c,f,d)=>{if((typeof f=="string"||typeof f=="number")&&(!n||!n(c,f))){const m=`--${r?`${r}-`:""}${c.join("-")}`,p=Do(c,f);Object.assign(o,{[m]:p}),cr(i,c,`var(${m})`,d),cr(s,c,`var(${m}, ${p})`,d)}},c=>c[0]==="vars"),{css:o,vars:i,varsWithDefaults:s}}function Lo(e,t={}){const{getSelector:r=A,disableCssColorScheme:n,colorSchemeSelector:o,enableContrastVars:i}=t,{colorSchemes:s={},components:c,defaultColorScheme:f="light",...d}=e,{vars:m,css:p,varsWithDefaults:h}=St(d,t);let S=h;const y={},{[f]:l,...x}=s;if(Object.entries(x||{}).forEach(([O,b])=>{const{vars:w,css:X,varsWithDefaults:ne}=St(b,t);S=ce(S,ne),y[O]={css:X,vars:w}}),l){const{css:O,vars:b,varsWithDefaults:w}=St(l,t);S=ce(S,w),y[f]={css:O,vars:b}}function A(O,b){let w=o;if(o==="class"&&(w=".%s"),o==="data"&&(w="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(w=`[${o}="%s"]`),O){if(w==="media")return e.defaultColorScheme===O?":root":{[`@media (prefers-color-scheme: ${s[O]?.palette?.mode||O})`]:{":root":b}};if(w)return e.defaultColorScheme===O?`:root, ${w.replace("%s",String(O))}`:w.replace("%s",String(O))}return":root"}return{vars:S,generateThemeVars:()=>{let O={...m};return Object.entries(y).forEach(([,{vars:b}])=>{O=ce(O,b)}),O},generateStyleSheets:()=>{const O=[],b=e.defaultColorScheme||"light";function w(Q,ie){Object.keys(ie).length&&O.push(typeof Q=="string"?{[Q]:{...ie}}:Q)}w(r(void 0,{...p}),p);const{[b]:X,...ne}=y;if(X){const{css:Q}=X,ie=s[b]?.palette?.mode,Z=!n&&ie?{colorScheme:ie,...Q}:{...Q};w(r(b,{...Z}),Z)}return Object.entries(ne).forEach(([Q,{css:ie}])=>{const Z=s[Q]?.palette?.mode,a=!n&&Z?{colorScheme:Z,...ie}:{...ie};w(r(Q,{...a}),a)}),i&&O.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),O}}}function Vo(e){return function(r){return e==="media"?(process.env.NODE_ENV!=="production"&&r!=="light"&&r!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`),`@media (prefers-color-scheme: ${r})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}const Le={black:"#000",white:"#fff"},Fo={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},_e={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Ae={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Ne={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},ke={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Ie={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Pe={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function Nr(){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:Le.white,default:Le.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 jr=Nr();function Br(){return{text:{primary:Le.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:Le.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 Ot=Br();function lr(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=ut(e.main,o):t==="dark"&&(e.dark=lt(e.main,i)))}function ur(e,t,r,n,o){const i=o.light||o,s=o.dark||o*1.5;t[r]||(t.hasOwnProperty(n)?t[r]=t[n]:r==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(i*100).toFixed(0)}%)`:r==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(s*100).toFixed(0)}%)`))}function zo(e="light"){return e==="dark"?{main:ke[200],light:ke[50],dark:ke[400]}:{main:ke[700],light:ke[400],dark:ke[800]}}function Uo(e="light"){return e==="dark"?{main:_e[200],light:_e[50],dark:_e[400]}:{main:_e[500],light:_e[300],dark:_e[700]}}function Yo(e="light"){return e==="dark"?{main:Ae[500],light:Ae[300],dark:Ae[700]}:{main:Ae[700],light:Ae[400],dark:Ae[800]}}function Wo(e="light"){return e==="dark"?{main:Ie[400],light:Ie[300],dark:Ie[700]}:{main:Ie[700],light:Ie[500],dark:Ie[900]}}function Ho(e="light"){return e==="dark"?{main:Pe[400],light:Pe[300],dark:Pe[700]}:{main:Pe[800],light:Pe[500],dark:Pe[900]}}function qo(e="light"){return e==="dark"?{main:Ne[400],light:Ne[300],dark:Ne[700]}:{main:"#ed6c02",light:Ne[500],dark:Ne[900]}}function Go(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Rt(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,colorSpace:o,...i}=e,s=e.primary||zo(t),c=e.secondary||Uo(t),f=e.error||Yo(t),d=e.info||Wo(t),m=e.success||Ho(t),p=e.warning||qo(t);function h(x){if(o)return Go(x);const A=ar(x,Ot.text.primary)>=r?Ot.text.primary:jr.text.primary;if(process.env.NODE_ENV!=="production"){const N=ar(x,A);N<3&&console.error([`MUI: The contrast ratio of ${N}:1 for ${A} on ${x}`,"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
10
|
`))}return A}const S=({color:x,name:A,mainShade:N=500,lightShade:B=300,darkShade:O=700})=>{if(x={...x},!x.main&&x[N]&&(x.main=x[N]),!x.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${A?` (${A})`:""} provided to augmentColor(color) is invalid.
|
|
51
11
|
The color object needs to have a \`main\` property or a \`${N}\` property.`:Ce(11,A?` (${A})`:"",N));if(typeof x.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${A?` (${A})`:""} provided to augmentColor(color) is invalid.
|
|
52
12
|
\`color.main\` should be a string, but \`${JSON.stringify(x.main)}\` was provided instead.
|
|
@@ -71,4 +31,4 @@ theme.transitions = createTransitions(theme.transitions || {});
|
|
|
71
31
|
|
|
72
32
|
export default theme;`}function pr(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const li=e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let r=0;for(let n=0;n<t.length;n+=1)r+=+t[n];return r};function ui(e){Object.assign(e,{alpha(t,r){const n=this||e;return n.colorSpace?`oklch(from ${t} l c h / ${typeof r=="string"?`calc(${r})`:r})`:n.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof r=="string"?`calc(${r})`:r})`:Mr(t,li(r))},lighten(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #fff ${pr(r)})`:ut(t,r)},darken(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #000 ${pr(r)})`:lt(t,r)}})}function wt(e={},...t){const{breakpoints:r,mixins:n={},spacing:o,palette:i={},transitions:s={},typography:c={},shape:f,colorSpace:d,...m}=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.":Ce(20));const p=Rt({...i,colorSpace:d}),h=kt(e);let S=ce(h,{mixins:Qo(h.breakpoints,n),palette:p,shadows:ri.slice(),typography:Jo(p,c),transitions:ai(s),zIndex:{...si}});if(S=ce(S,m),S=t.reduce((y,l)=>ce(y,l),S),process.env.NODE_ENV!=="production"){const y=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],l=(x,A)=>{let N;for(N in x){const B=x[N];if(y.includes(N)&&Object.keys(B).length>0){if(process.env.NODE_ENV!=="production"){const O=It("",N);console.error([`MUI: The \`${A}\` component increases the CSS specificity of the \`${N}\` internal state.`,"You can not override it like this: ",JSON.stringify(x,null,2),"",`Instead, you need to use the '&.${O}' syntax:`,JSON.stringify({root:{[`&.${O}`]:B}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
73
33
|
`))}x[N]={}}}};Object.keys(S.components).forEach(x=>{const A=S.components[x].styleOverrides;A&&x.startsWith("Mui")&&l(A,x)})}return S.unstable_sxConfig={...st,...m?.unstable_sxConfig},S.unstable_sx=function(l){return Me({sx:l,theme:this})},S.toRuntimeSource=Dr,ui(S),S}function fi(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 di=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=fi(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function Lr(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Vr(e){return e==="dark"?di:[]}function mi(e){const{palette:t={mode:"light"},opacity:r,overlays:n,colorSpace:o,...i}=e,s=Rt({...t,colorSpace:o});return{palette:s,opacity:{...Lr(s.mode),...r},overlays:n||Vr(s.mode),...i}}function pi(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const hi=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],gi=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?.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const s={};return hi(e.cssVarPrefix).forEach(c=>{s[c]=r[c],delete r[c]}),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 yi(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function u(e,t,r){!e[t]&&r&&(e[t]=r)}function Be(e){return typeof e!="string"||!e.startsWith("hsl")?e:Rr(e)}function ge(e,t){`${t}Channel`in e||(e[`${t}Channel`]=je(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().
|
|
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 bi(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const pe=e=>{try{return e()}catch{}},vi=(e="mui")=>jo(e);function Ct(e,t,r,n,o){if(!r)return;r=r===!0?{}:r;const i=o==="dark"?"dark":"light";if(!n){t[o]=mi({...r,palette:{mode:i,...r?.palette},colorSpace:e});return}const{palette:s,...c}=wt({...n,palette:{mode:i,...r?.palette},colorSpace:e});return t[o]={...r,palette:s,opacity:{...Lr(i),...r?.opacity},overlays:r?.overlays||Vr(i)},c}function Si(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",nativeColor:s=!1,shouldSkipGeneratingVar:c=pi,colorSchemeSelector:f=r.light&&r.dark?"media":void 0,rootSelector:d=":root",...m}=e,p=Object.keys(r)[0],h=n||(r.light&&p!=="light"?"light":p),S=vi(i),{[h]:y,light:l,dark:x,...A}=r,N={...A};let B=y;if((h==="dark"&&!("dark"in r)||h==="light"&&!("light"in r))&&(B=!0),!B)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${h}\` option is either missing or invalid.`:Ce(21,h));let O;s&&(O="oklch");const b=Ct(O,N,B,m,h);l&&!N.light&&Ct(O,N,l,void 0,"light"),x&&!N.dark&&Ct(O,N,x,void 0,"dark");let w={defaultColorScheme:h,...b,cssVarPrefix:i,colorSchemeSelector:f,rootSelector:d,getCssVar:S,colorSchemes:N,font:{...Ko(b.typography),...b.font},spacing:bi(m.spacing)};Object.keys(w.colorSchemes).forEach(Z=>{const a=w.colorSchemes[Z].palette,$=k=>{const D=k.split("-"),oe=D[1],de=D[2];return S(k,a[oe][de])};a.mode==="light"&&(u(a.common,"background","#fff"),u(a.common,"onBackground","#000")),a.mode==="dark"&&(u(a.common,"background","#000"),u(a.common,"onBackground","#fff"));function C(k,D,oe){if(O){let de;return k===Te&&(de=`transparent ${((1-oe)*100).toFixed(0)}%`),k===H&&(de=`#000 ${(oe*100).toFixed(0)}%`),k===G&&(de=`#fff ${(oe*100).toFixed(0)}%`),`color-mix(in ${O}, ${D}, ${de})`}return k(D,oe)}if(yi(a,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),a.mode==="light"){u(a.Alert,"errorColor",C(H,a.error.light,.6)),u(a.Alert,"infoColor",C(H,a.info.light,.6)),u(a.Alert,"successColor",C(H,a.success.light,.6)),u(a.Alert,"warningColor",C(H,a.warning.light,.6)),u(a.Alert,"errorFilledBg",$("palette-error-main")),u(a.Alert,"infoFilledBg",$("palette-info-main")),u(a.Alert,"successFilledBg",$("palette-success-main")),u(a.Alert,"warningFilledBg",$("palette-warning-main")),u(a.Alert,"errorFilledColor",pe(()=>a.getContrastText(a.error.main))),u(a.Alert,"infoFilledColor",pe(()=>a.getContrastText(a.info.main))),u(a.Alert,"successFilledColor",pe(()=>a.getContrastText(a.success.main))),u(a.Alert,"warningFilledColor",pe(()=>a.getContrastText(a.warning.main))),u(a.Alert,"errorStandardBg",C(G,a.error.light,.9)),u(a.Alert,"infoStandardBg",C(G,a.info.light,.9)),u(a.Alert,"successStandardBg",C(G,a.success.light,.9)),u(a.Alert,"warningStandardBg",C(G,a.warning.light,.9)),u(a.Alert,"errorIconColor",$("palette-error-main")),u(a.Alert,"infoIconColor",$("palette-info-main")),u(a.Alert,"successIconColor",$("palette-success-main")),u(a.Alert,"warningIconColor",$("palette-warning-main")),u(a.AppBar,"defaultBg",$("palette-grey-100")),u(a.Avatar,"defaultBg",$("palette-grey-400")),u(a.Button,"inheritContainedBg",$("palette-grey-300")),u(a.Button,"inheritContainedHoverBg",$("palette-grey-A100")),u(a.Chip,"defaultBorder",$("palette-grey-400")),u(a.Chip,"defaultAvatarColor",$("palette-grey-700")),u(a.Chip,"defaultIconColor",$("palette-grey-700")),u(a.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),u(a.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),u(a.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),u(a.LinearProgress,"primaryBg",C(G,a.primary.main,.62)),u(a.LinearProgress,"secondaryBg",C(G,a.secondary.main,.62)),u(a.LinearProgress,"errorBg",C(G,a.error.main,.62)),u(a.LinearProgress,"infoBg",C(G,a.info.main,.62)),u(a.LinearProgress,"successBg",C(G,a.success.main,.62)),u(a.LinearProgress,"warningBg",C(G,a.warning.main,.62)),u(a.Skeleton,"bg",O?C(Te,a.text.primary,.11):`rgba(${$("palette-text-primaryChannel")} / 0.11)`),u(a.Slider,"primaryTrack",C(G,a.primary.main,.62)),u(a.Slider,"secondaryTrack",C(G,a.secondary.main,.62)),u(a.Slider,"errorTrack",C(G,a.error.main,.62)),u(a.Slider,"infoTrack",C(G,a.info.main,.62)),u(a.Slider,"successTrack",C(G,a.success.main,.62)),u(a.Slider,"warningTrack",C(G,a.warning.main,.62));const k=O?C(H,a.background.default,.6825):He(a.background.default,.8);u(a.SnackbarContent,"bg",k),u(a.SnackbarContent,"color",pe(()=>O?Ot.text.primary:a.getContrastText(k))),u(a.SpeedDialAction,"fabHoverBg",He(a.background.paper,.15)),u(a.StepConnector,"border",$("palette-grey-400")),u(a.StepContent,"border",$("palette-grey-400")),u(a.Switch,"defaultColor",$("palette-common-white")),u(a.Switch,"defaultDisabledColor",$("palette-grey-100")),u(a.Switch,"primaryDisabledColor",C(G,a.primary.main,.62)),u(a.Switch,"secondaryDisabledColor",C(G,a.secondary.main,.62)),u(a.Switch,"errorDisabledColor",C(G,a.error.main,.62)),u(a.Switch,"infoDisabledColor",C(G,a.info.main,.62)),u(a.Switch,"successDisabledColor",C(G,a.success.main,.62)),u(a.Switch,"warningDisabledColor",C(G,a.warning.main,.62)),u(a.TableCell,"border",C(G,C(Te,a.divider,1),.88)),u(a.Tooltip,"bg",C(Te,a.grey[700],.92))}if(a.mode==="dark"){u(a.Alert,"errorColor",C(G,a.error.light,.6)),u(a.Alert,"infoColor",C(G,a.info.light,.6)),u(a.Alert,"successColor",C(G,a.success.light,.6)),u(a.Alert,"warningColor",C(G,a.warning.light,.6)),u(a.Alert,"errorFilledBg",$("palette-error-dark")),u(a.Alert,"infoFilledBg",$("palette-info-dark")),u(a.Alert,"successFilledBg",$("palette-success-dark")),u(a.Alert,"warningFilledBg",$("palette-warning-dark")),u(a.Alert,"errorFilledColor",pe(()=>a.getContrastText(a.error.dark))),u(a.Alert,"infoFilledColor",pe(()=>a.getContrastText(a.info.dark))),u(a.Alert,"successFilledColor",pe(()=>a.getContrastText(a.success.dark))),u(a.Alert,"warningFilledColor",pe(()=>a.getContrastText(a.warning.dark))),u(a.Alert,"errorStandardBg",C(H,a.error.light,.9)),u(a.Alert,"infoStandardBg",C(H,a.info.light,.9)),u(a.Alert,"successStandardBg",C(H,a.success.light,.9)),u(a.Alert,"warningStandardBg",C(H,a.warning.light,.9)),u(a.Alert,"errorIconColor",$("palette-error-main")),u(a.Alert,"infoIconColor",$("palette-info-main")),u(a.Alert,"successIconColor",$("palette-success-main")),u(a.Alert,"warningIconColor",$("palette-warning-main")),u(a.AppBar,"defaultBg",$("palette-grey-900")),u(a.AppBar,"darkBg",$("palette-background-paper")),u(a.AppBar,"darkColor",$("palette-text-primary")),u(a.Avatar,"defaultBg",$("palette-grey-600")),u(a.Button,"inheritContainedBg",$("palette-grey-800")),u(a.Button,"inheritContainedHoverBg",$("palette-grey-700")),u(a.Chip,"defaultBorder",$("palette-grey-700")),u(a.Chip,"defaultAvatarColor",$("palette-grey-300")),u(a.Chip,"defaultIconColor",$("palette-grey-300")),u(a.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),u(a.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),u(a.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),u(a.LinearProgress,"primaryBg",C(H,a.primary.main,.5)),u(a.LinearProgress,"secondaryBg",C(H,a.secondary.main,.5)),u(a.LinearProgress,"errorBg",C(H,a.error.main,.5)),u(a.LinearProgress,"infoBg",C(H,a.info.main,.5)),u(a.LinearProgress,"successBg",C(H,a.success.main,.5)),u(a.LinearProgress,"warningBg",C(H,a.warning.main,.5)),u(a.Skeleton,"bg",O?C(Te,a.text.primary,.13):`rgba(${$("palette-text-primaryChannel")} / 0.13)`),u(a.Slider,"primaryTrack",C(H,a.primary.main,.5)),u(a.Slider,"secondaryTrack",C(H,a.secondary.main,.5)),u(a.Slider,"errorTrack",C(H,a.error.main,.5)),u(a.Slider,"infoTrack",C(H,a.info.main,.5)),u(a.Slider,"successTrack",C(H,a.success.main,.5)),u(a.Slider,"warningTrack",C(H,a.warning.main,.5));const k=O?C(G,a.background.default,.985):He(a.background.default,.98);u(a.SnackbarContent,"bg",k),u(a.SnackbarContent,"color",pe(()=>O?jr.text.primary:a.getContrastText(k))),u(a.SpeedDialAction,"fabHoverBg",He(a.background.paper,.15)),u(a.StepConnector,"border",$("palette-grey-600")),u(a.StepContent,"border",$("palette-grey-600")),u(a.Switch,"defaultColor",$("palette-grey-300")),u(a.Switch,"defaultDisabledColor",$("palette-grey-600")),u(a.Switch,"primaryDisabledColor",C(H,a.primary.main,.55)),u(a.Switch,"secondaryDisabledColor",C(H,a.secondary.main,.55)),u(a.Switch,"errorDisabledColor",C(H,a.error.main,.55)),u(a.Switch,"infoDisabledColor",C(H,a.info.main,.55)),u(a.Switch,"successDisabledColor",C(H,a.success.main,.55)),u(a.Switch,"warningDisabledColor",C(H,a.warning.main,.55)),u(a.TableCell,"border",C(H,C(Te,a.divider,1),.68)),u(a.Tooltip,"bg",C(Te,a.grey[700],.92))}ge(a.background,"default"),ge(a.background,"paper"),ge(a.common,"background"),ge(a.common,"onBackground"),ge(a,"divider"),Object.keys(a).forEach(k=>{const D=a[k];k!=="tonalOffset"&&D&&typeof D=="object"&&(D.main&&u(a[k],"mainChannel",je(Be(D.main))),D.light&&u(a[k],"lightChannel",je(Be(D.light))),D.dark&&u(a[k],"darkChannel",je(Be(D.dark))),D.contrastText&&u(a[k],"contrastTextChannel",je(Be(D.contrastText))),k==="text"&&(ge(a[k],"primary"),ge(a[k],"secondary")),k==="action"&&(D.active&&ge(a[k],"active"),D.selected&&ge(a[k],"selected")))})}),w=t.reduce((Z,a)=>ce(Z,a),w);const X={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:c,getSelector:gi(w),enableContrastVars:s},{vars:ne,generateThemeVars:Q,generateStyleSheets:ie}=Lo(w,X);return w.vars=ne,Object.entries(w.colorSchemes[w.defaultColorScheme]).forEach(([Z,a])=>{w[Z]=a}),w.generateThemeVars=Q,w.generateStyleSheets=ie,w.generateSpacing=function(){return _r(m.spacing,_t(this))},w.getColorSchemeSelector=Vo(f),w.spacing=w.generateSpacing(),w.shouldSkipGeneratingVar=c,w.unstable_sxConfig={...st,...m?.unstable_sxConfig},w.unstable_sx=function(a){return Me({sx:a,theme:this})},w.toRuntimeSource=Dr,w}function hr(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Rt({...r===!0?{}:r.palette,mode:t})})}function Ci(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:i=r?.mode,...s}=e,c=i||"light",f=o?.[c],d={...o,...r?{[c]:{...typeof f!="boolean"&&f,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return wt(e,...t);let m=r;"palette"in e||d[c]&&(d[c]!==!0?m=d[c].palette:c==="dark"&&(m={mode:"dark"}));const p=wt({...e,palette:m},...t);return p.defaultColorScheme=c,p.colorSchemes=d,p.palette.mode==="light"&&(p.colorSchemes.light={...d.light!==!0&&d.light,palette:p.palette},hr(p,"dark",d.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:p.palette},hr(p,"light",d.light)),p}return!r&&!("light"in d)&&c==="light"&&(d.light=!0),Si({...s,colorSchemes:d,defaultColorScheme:c,...typeof n!="boolean"&&n},...t)}const Fr=Ci(),zr="$$material";function xi(){const e=go(Fr);return process.env.NODE_ENV!=="production"&&he.useDebugValue(e),e[zr]||e}function Ei(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Ti=e=>Ei(e)&&e!=="classes",Oi=Eo({themeId:zr,defaultTheme:Fr,rootShouldForwardProp:Ti}),wi=No;process.env.NODE_ENV!=="production"&&(z.node,z.object.isRequired);function $i(e){return Mo(e)}function _i(e){return It("MuiSvgIcon",e)}bo("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Ai=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${$e(t)}`,`fontSize${$e(r)}`]};return nn(o,_i,n)},ki=Oi("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${$e(r.color)}`],t[`fontSize${$e(r.fontSize)}`]]}})(wi(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:t=>!t.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,t])=>t&&t.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),Xe=he.forwardRef(function(t,r){const n=$i({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:s="inherit",component:c="svg",fontSize:f="medium",htmlColor:d,inheritViewBox:m=!1,titleAccess:p,viewBox:h="0 0 24 24",...S}=n,y=he.isValidElement(o)&&o.type==="svg",l={...n,color:s,component:c,fontSize:f,instanceFontSize:t.fontSize,inheritViewBox:m,viewBox:h,hasSvgAsChild:y},x={};m||(x.viewBox=h);const A=Ai(l);return v.jsxs(ki,{as:c,className:Tr(A.root,i),focusable:"false",color:d,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:r,...x,...S,...y&&o.props,ownerState:l,children:[y?o.props.children:o,p?v.jsx("title",{children:p}):null]})});process.env.NODE_ENV!=="production"&&(Xe.propTypes={children:z.node,classes:z.object,className:z.string,color:z.oneOfType([z.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),z.string]),component:z.elementType,fontSize:z.oneOfType([z.oneOf(["inherit","large","medium","small"]),z.string]),htmlColor:z.string,inheritViewBox:z.bool,shapeRendering:z.string,sx:z.oneOfType([z.arrayOf(z.oneOfType([z.func,z.object,z.bool])),z.func,z.object]),titleAccess:z.string,viewBox:z.string});Xe.muiName="SvgIcon";function le(e,t){function r(n,o){return v.jsx(Xe,{"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=Xe.muiName,he.memo(he.forwardRef(r))}const Ii=le(v.jsx("path",{d:"M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8"}),"Undo");function Pi(e){return v.jsx(_.Button,{name:e.name,"data-cy":e.dataCy??"cancel-button",className:e.className,sx:e.sx,startIcon:e.startIcon??v.jsx(Ii,{}),variant:e.variant??"contained",color:e.color??"secondary",type:e.type??"button",onClick:()=>e.onClick(),"aria-label":e.ariaLabel??e.name??"Cancel",children:e.children??e.name})}const Ri=le(v.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zm2.46-7.12 1.41-1.41L12 12.59l2.12-2.12 1.41 1.41L13.41 14l2.12 2.12-1.41 1.41L12 15.41l-2.12 2.12-1.41-1.41L10.59 14zM15.5 4l-1-1h-5l-1 1H5v2h14V4z"}),"DeleteForever");function Mi(e){return v.jsx(_.Button,{"data-cy":e.dataCy??"delete-button",loading:e.loading??!1,loadingPosition:e.loadingPosition??"start",startIcon:e.startIcon??v.jsx(Ri,{}),name:e.name,variant:e.variant??"contained",color:e.color??"error",sx:{m:1},type:e.type??"button","aria-label":e.ariaLabel??e.name??"Delete",onClick:e.onClick,children:e.label?e.label:"Delete"})}const Ni=le(v.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit");function ji(e){return v.jsx(_.Tooltip,{title:e.tooltipTitle,"aria-label":e.ariaLabel??"Edit",children:v.jsx(_.IconButton,{sx:{pt:0,pb:0},color:e.color??"primary",onClick:()=>e.onClick(!0),"aria-label":e.tooltipTitle,children:v.jsx(Ni,{})})})}function Bi(e){return v.jsx(_.Button,{"data-cy":e.dataCy??"excel-button",style:{borderRadius:"20px"},className:e.className,name:e.name,sx:e.sx,startIcon:e.startIcon,variant:"contained",color:"success",type:e.type??"button","aria-label":e.ariaLabel??e.name??"Excel",onClick:()=>e.onClick(),children:e.children??e.name})}const Di=le(v.jsx("path",{d:"M11.67 3.87 9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z"}),"ArrowBackIos");function Li(e){return v.jsx(_.Tooltip,{title:"Go Back to Previous Page","aria-label":e.ariaLabel??"Go Back",children:v.jsxs(_.IconButton,{name:e.name,color:e.color??"primary",onClick:()=>e.navigate(-1),children:[v.jsx(Di,{}),e.children]})})}const Vi=le(v.jsx("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8z"}),"History");function Fi(e){return v.jsx(_.Button,{name:e.name,"data-cy":e.dataCy??"history-button",className:e.className,sx:e.sx??{p:1,m:1},startIcon:e.startIcon??v.jsx(Vi,{}),variant:e.variant??"contained",color:e.color??"primary",type:e.type??"button","aria-label":e.ariaLabel??e.name??"History",onClick:()=>e.onClick(),children:e.children??e.name})}const zi=le(v.jsx("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"}),"Save"),Ui={backgroundColor:"$primary-color",color:"var(--white-color)",margin:"20px"};function Yi(e){return v.jsx(_.Button,{name:e.name,"data-cy":e.dataCy??"loading-success-button",variant:e.variant??"contained",color:e.color??"success",loadingPosition:"start",startIcon:e.startIcon??v.jsx(zi,{}),loading:e.loading,type:e.type??"button",style:Ui,sx:e.sx,"aria-label":e.ariaLabel??e.name??"Save",onClick:e.onClick,children:e.children??e.name})}const Wi=le(v.jsx("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings");function Hi(e){return v.jsx(_.Button,{name:e.name,"data-cy":e.dataCy??"manage-button",className:e.className,onClick:()=>e.onClick(),variant:e.variant??"contained",color:e.color??"primary",size:e.size??"large","aria-label":e.ariaLabel??e.name??"Manage",startIcon:e.startIcon??v.jsx(Wi,{}),children:e.children?e.children:"Manage"})}function Gi(e){return v.jsx(_.Button,{name:e.name,"data-cy":e.dataCy??"success-button",className:e.className,sx:e.sx,startIcon:e.startIcon,variant:e.variant??"contained",color:e.color??"success",type:e.type??"button","aria-label":e.ariaLabel??e.name??"Success",onClick:()=>e.onClick(),children:e.children??e.name})}const Mt=le(v.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),qi=e=>{const[t,r]=be.useState(!1);be.useEffect(()=>{r(e.open)},[e.open,e.progressState]);const n=v.jsx(_.IconButton,{size:"small","aria-label":"close",color:"inherit",onClick:()=>r(!1),children:v.jsx(Mt,{fontSize:"small"})});return v.jsxs(v.Fragment,{children:[v.jsx(_.Snackbar,{anchorOrigin:{vertical:"bottom",horizontal:"center"},open:t&&e.progressState.isSuccess,autoHideDuration:e.autoHideDuration??3e3,onClose:()=>r(!1),children:v.jsx(_.Alert,{variant:"filled",severity:"success",sx:{width:"100%"},action:n,children:e.progressState.message})}),v.jsx(_.Snackbar,{anchorOrigin:{vertical:"bottom",horizontal:"center"},open:t&&e.progressState.isError,TransitionComponent:_.Slide,autoHideDuration:e.autoHideDuration??3e3,onClose:()=>r(!1),children:v.jsx(_.Alert,{variant:"filled",sx:{width:"100%"},severity:"error",action:n,children:e.progressState.message})})]})},Ki=e=>{const[t,r]=be.useState(!1);be.useEffect(()=>{r(e.open)},[e.open,e]);const n=v.jsx(_.IconButton,{size:"small","aria-label":"close",color:"inherit",onClick:()=>r(!1),children:v.jsx(Mt,{fontSize:"small"})});return v.jsxs(v.Fragment,{children:[v.jsx(_.Snackbar,{anchorOrigin:{vertical:"bottom",horizontal:"center"},open:t&&e.isSuccess,autoHideDuration:e.autoHideDuration??3e3,onClose:()=>r(!1),children:v.jsx(_.Alert,{variant:"filled",severity:"success",sx:{width:"100%"},action:n,children:e.message})}),v.jsx(_.Snackbar,{anchorOrigin:{vertical:"bottom",horizontal:"center"},open:t&&e.isError,TransitionComponent:_.Slide,autoHideDuration:e.autoHideDuration??3e3,onClose:()=>r(!1),children:v.jsx(_.Alert,{variant:"filled",sx:{width:"100%"},severity:"error",action:n,children:e.message})})]})};function Qi(){return v.jsx("div",{style:{margin:"1.5rem"},className:"app-flex-justify-center","aria-label":"Loading...",children:v.jsx(_.CircularProgress,{})})}function Xi(e){const{onClose:t,title:r,message:n,open:o,...i}=e;return v.jsxs(_.Dialog,{sx:{"& .MuiDialog-paper":{width:"80%",maxHeight:435}},maxWidth:"xs",open:o,...i,children:[v.jsx(_.DialogTitle,{children:r??"Confirm"}),v.jsx(_.DialogContent,{dividers:!0,children:n}),v.jsxs(_.DialogActions,{children:[v.jsx(_.Button,{autoFocus:!0,onClick:()=>t("No"),"aria-label":"Cancel",children:"Cancel"}),v.jsx(_.Button,{onClick:()=>t("Yes"),"aria-label":"Yes",children:"Yes"})]})]})}function Ji(e){const[t,r]=be.useState(!0),[n]=be.useState(e.dismissible??!0),[o]=be.useState(e.dismissOnTimeOut??!0),[i]=be.useState(e.dismissTimeOut??5e3);return setTimeout(()=>{r(o?!1:t)},i),v.jsx("span",{children:t&&v.jsx(_.Alert,{action:n?v.jsx(_.IconButton,{"aria-label":"close",color:"inherit",size:"small",onClick:()=>{r(!1)},children:v.jsx(Mt,{fontSize:"inherit"})}):null,style:{margin:"20px"},"aria-label":e.ariaLabel??"Dismissible Alert",...e,children:e.message})})}function Zi(e){return v.jsx(_.Link,{component:Sr.Link,to:e.href,className:"next-btn-link",underline:"hover","aria-label":e.ariaLabel,children:e.linkText??e.children})}const ea=le(v.jsx("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"}),"OpenInNew");function ta(e){return v.jsxs(_.Link,{component:Sr.Link,to:e.href,target:e.target||"_blank",rel:"noreferrer",className:"next-btn-link","aria-label":e.ariaLabel??"Open in new tab",underline:"hover",children:[e.linkText??e.children,v.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}const gr=le(v.jsx("path",{d:"M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),yr=le(v.jsx("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6z"}),"KeyboardArrowLeft"),br=le(v.jsx("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"}),"KeyboardArrowRight"),vr=le(v.jsx("path",{d:"M5.59 7.41 10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage");function na(e){const t=xi(),{count:r,page:n,rowsPerPage:o,onPageChange:i}=e,s=m=>{i(m,0)},c=m=>{i(m,n-1)},f=m=>{i(m,n+1)},d=m=>{i(m,Math.max(0,Math.ceil(r/o)-1))};return v.jsxs(_.Box,{sx:{flexShrink:0,ml:2.5},children:[v.jsx(_.IconButton,{onClick:s,disabled:n===0,"aria-label":"first page",children:t.direction==="rtl"?v.jsx(vr,{}):v.jsx(gr,{})}),v.jsx(_.IconButton,{onClick:c,disabled:n===0,"aria-label":"previous page",children:t.direction==="rtl"?v.jsx(br,{}):v.jsx(yr,{})}),v.jsx(_.IconButton,{onClick:f,disabled:n>=Math.ceil(r/o)-1,"aria-label":"next page",children:t.direction==="rtl"?v.jsx(yr,{}):v.jsx(br,{})}),v.jsx(_.IconButton,{onClick:d,disabled:n>=Math.ceil(r/o)-1,"aria-label":"last page",children:t.direction==="rtl"?v.jsx(gr,{}):v.jsx(vr,{})})]})}function oa(e){const{children:t,index:r,...n}=e;return v.jsx("div",{className:"tabPanel",role:"tabpanel",id:`vertical-tabpanel-${r}`,"aria-labelledby":`vertical-tab-${r}`,...n,children:v.jsx(_.Box,{sx:{p:3},children:v.jsx(_.Typography,{component:"span",children:t})})})}function ia(e){return{id:`vertical-tab-${e}`,"aria-controls":`vertical-tabpanel-${e}`}}function aa(e){return typeof e=="boolean"?e:typeof e=="string"?e.toLowerCase()==="true":!1}function sa(e){return getComputedStyle(document.documentElement).getPropertyValue(e).trim()}var Nt=(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))(Nt||{});const ca=()=>{const e=+new Date;return new Date(e+Nt.SYSTEM_COOKIE_TIMEOUT_MILLI_SECONDS)},la=e=>xt.format(new Date(e),Nt.ISO_DATE_FORMAT),ua=(e,t)=>e?xt.format(xt.parseISO(e),t):"";function fa(e){if(typeof e=="string")return Number.parseInt(e,10)}const da=()=>({isLoading:!1,isSuccess:!1,isError:!1,isComplete:!1,message:""}),ma=e=>({...e,isLoading:!0,isSuccess:!1,isError:!1,message:""}),pa=(e,t)=>({...e,isLoading:!1,isSuccess:!0,isError:!1,isComplete:!0,message:t||""}),ha=(e,t)=>({...e,isLoading:!1,isSuccess:!1,isError:!0,isComplete:!0,message:t||""});function ga(e){return e==null?!0:typeof e=="string"?e.trim()==="":!1}const ya=e=>{try{return decodeURIComponent(e)!==e}catch{return!1}};exports.AppSnackBar=qi;exports.CancelButton=Pi;exports.CenteredCircularProgress=Qi;exports.ConfirmDialog=Xi;exports.DeleteButton=Mi;exports.DismissibleAlert=Ji;exports.EditIconButton=ji;exports.ExcelButton=Bi;exports.GoBackButton=Li;exports.HistoryButton=Fi;exports.LoadingSuccessButton=Yi;exports.ManageButton=Hi;exports.NextLink=Zi;exports.OpenInNewIconLink=ta;exports.QuerySnackBar=Ki;exports.ReactIf=ra;exports.SuccessButton=Gi;exports.TabPanel=oa;exports.TablePaginationActions=na;exports.a11yProps=ia;exports.convertToIsoDate=la;exports.formatDate=ua;exports.getCssVariable=sa;exports.initializeState=da;exports.isBlankOrEmpty=ga;exports.isEncoded=ya;exports.markError=ha;exports.markLoading=ma;exports.markSuccess=pa;exports.parseBoolean=aa;exports.parseNumber=fa;exports.setCookieExpirationDate=ca;
|
|
34
|
+
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 bi(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const pe=e=>{try{return e()}catch{}},vi=(e="mui")=>jo(e);function Ct(e,t,r,n,o){if(!r)return;r=r===!0?{}:r;const i=o==="dark"?"dark":"light";if(!n){t[o]=mi({...r,palette:{mode:i,...r?.palette},colorSpace:e});return}const{palette:s,...c}=wt({...n,palette:{mode:i,...r?.palette},colorSpace:e});return t[o]={...r,palette:s,opacity:{...Lr(i),...r?.opacity},overlays:r?.overlays||Vr(i)},c}function Si(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",nativeColor:s=!1,shouldSkipGeneratingVar:c=pi,colorSchemeSelector:f=r.light&&r.dark?"media":void 0,rootSelector:d=":root",...m}=e,p=Object.keys(r)[0],h=n||(r.light&&p!=="light"?"light":p),S=vi(i),{[h]:y,light:l,dark:x,...A}=r,N={...A};let B=y;if((h==="dark"&&!("dark"in r)||h==="light"&&!("light"in r))&&(B=!0),!B)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${h}\` option is either missing or invalid.`:Ce(21,h));let O;s&&(O="oklch");const b=Ct(O,N,B,m,h);l&&!N.light&&Ct(O,N,l,void 0,"light"),x&&!N.dark&&Ct(O,N,x,void 0,"dark");let w={defaultColorScheme:h,...b,cssVarPrefix:i,colorSchemeSelector:f,rootSelector:d,getCssVar:S,colorSchemes:N,font:{...Ko(b.typography),...b.font},spacing:bi(m.spacing)};Object.keys(w.colorSchemes).forEach(Z=>{const a=w.colorSchemes[Z].palette,$=k=>{const D=k.split("-"),oe=D[1],de=D[2];return S(k,a[oe][de])};a.mode==="light"&&(u(a.common,"background","#fff"),u(a.common,"onBackground","#000")),a.mode==="dark"&&(u(a.common,"background","#000"),u(a.common,"onBackground","#fff"));function C(k,D,oe){if(O){let de;return k===Te&&(de=`transparent ${((1-oe)*100).toFixed(0)}%`),k===H&&(de=`#000 ${(oe*100).toFixed(0)}%`),k===q&&(de=`#fff ${(oe*100).toFixed(0)}%`),`color-mix(in ${O}, ${D}, ${de})`}return k(D,oe)}if(yi(a,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),a.mode==="light"){u(a.Alert,"errorColor",C(H,a.error.light,.6)),u(a.Alert,"infoColor",C(H,a.info.light,.6)),u(a.Alert,"successColor",C(H,a.success.light,.6)),u(a.Alert,"warningColor",C(H,a.warning.light,.6)),u(a.Alert,"errorFilledBg",$("palette-error-main")),u(a.Alert,"infoFilledBg",$("palette-info-main")),u(a.Alert,"successFilledBg",$("palette-success-main")),u(a.Alert,"warningFilledBg",$("palette-warning-main")),u(a.Alert,"errorFilledColor",pe(()=>a.getContrastText(a.error.main))),u(a.Alert,"infoFilledColor",pe(()=>a.getContrastText(a.info.main))),u(a.Alert,"successFilledColor",pe(()=>a.getContrastText(a.success.main))),u(a.Alert,"warningFilledColor",pe(()=>a.getContrastText(a.warning.main))),u(a.Alert,"errorStandardBg",C(q,a.error.light,.9)),u(a.Alert,"infoStandardBg",C(q,a.info.light,.9)),u(a.Alert,"successStandardBg",C(q,a.success.light,.9)),u(a.Alert,"warningStandardBg",C(q,a.warning.light,.9)),u(a.Alert,"errorIconColor",$("palette-error-main")),u(a.Alert,"infoIconColor",$("palette-info-main")),u(a.Alert,"successIconColor",$("palette-success-main")),u(a.Alert,"warningIconColor",$("palette-warning-main")),u(a.AppBar,"defaultBg",$("palette-grey-100")),u(a.Avatar,"defaultBg",$("palette-grey-400")),u(a.Button,"inheritContainedBg",$("palette-grey-300")),u(a.Button,"inheritContainedHoverBg",$("palette-grey-A100")),u(a.Chip,"defaultBorder",$("palette-grey-400")),u(a.Chip,"defaultAvatarColor",$("palette-grey-700")),u(a.Chip,"defaultIconColor",$("palette-grey-700")),u(a.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),u(a.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),u(a.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),u(a.LinearProgress,"primaryBg",C(q,a.primary.main,.62)),u(a.LinearProgress,"secondaryBg",C(q,a.secondary.main,.62)),u(a.LinearProgress,"errorBg",C(q,a.error.main,.62)),u(a.LinearProgress,"infoBg",C(q,a.info.main,.62)),u(a.LinearProgress,"successBg",C(q,a.success.main,.62)),u(a.LinearProgress,"warningBg",C(q,a.warning.main,.62)),u(a.Skeleton,"bg",O?C(Te,a.text.primary,.11):`rgba(${$("palette-text-primaryChannel")} / 0.11)`),u(a.Slider,"primaryTrack",C(q,a.primary.main,.62)),u(a.Slider,"secondaryTrack",C(q,a.secondary.main,.62)),u(a.Slider,"errorTrack",C(q,a.error.main,.62)),u(a.Slider,"infoTrack",C(q,a.info.main,.62)),u(a.Slider,"successTrack",C(q,a.success.main,.62)),u(a.Slider,"warningTrack",C(q,a.warning.main,.62));const k=O?C(H,a.background.default,.6825):He(a.background.default,.8);u(a.SnackbarContent,"bg",k),u(a.SnackbarContent,"color",pe(()=>O?Ot.text.primary:a.getContrastText(k))),u(a.SpeedDialAction,"fabHoverBg",He(a.background.paper,.15)),u(a.StepConnector,"border",$("palette-grey-400")),u(a.StepContent,"border",$("palette-grey-400")),u(a.Switch,"defaultColor",$("palette-common-white")),u(a.Switch,"defaultDisabledColor",$("palette-grey-100")),u(a.Switch,"primaryDisabledColor",C(q,a.primary.main,.62)),u(a.Switch,"secondaryDisabledColor",C(q,a.secondary.main,.62)),u(a.Switch,"errorDisabledColor",C(q,a.error.main,.62)),u(a.Switch,"infoDisabledColor",C(q,a.info.main,.62)),u(a.Switch,"successDisabledColor",C(q,a.success.main,.62)),u(a.Switch,"warningDisabledColor",C(q,a.warning.main,.62)),u(a.TableCell,"border",C(q,C(Te,a.divider,1),.88)),u(a.Tooltip,"bg",C(Te,a.grey[700],.92))}if(a.mode==="dark"){u(a.Alert,"errorColor",C(q,a.error.light,.6)),u(a.Alert,"infoColor",C(q,a.info.light,.6)),u(a.Alert,"successColor",C(q,a.success.light,.6)),u(a.Alert,"warningColor",C(q,a.warning.light,.6)),u(a.Alert,"errorFilledBg",$("palette-error-dark")),u(a.Alert,"infoFilledBg",$("palette-info-dark")),u(a.Alert,"successFilledBg",$("palette-success-dark")),u(a.Alert,"warningFilledBg",$("palette-warning-dark")),u(a.Alert,"errorFilledColor",pe(()=>a.getContrastText(a.error.dark))),u(a.Alert,"infoFilledColor",pe(()=>a.getContrastText(a.info.dark))),u(a.Alert,"successFilledColor",pe(()=>a.getContrastText(a.success.dark))),u(a.Alert,"warningFilledColor",pe(()=>a.getContrastText(a.warning.dark))),u(a.Alert,"errorStandardBg",C(H,a.error.light,.9)),u(a.Alert,"infoStandardBg",C(H,a.info.light,.9)),u(a.Alert,"successStandardBg",C(H,a.success.light,.9)),u(a.Alert,"warningStandardBg",C(H,a.warning.light,.9)),u(a.Alert,"errorIconColor",$("palette-error-main")),u(a.Alert,"infoIconColor",$("palette-info-main")),u(a.Alert,"successIconColor",$("palette-success-main")),u(a.Alert,"warningIconColor",$("palette-warning-main")),u(a.AppBar,"defaultBg",$("palette-grey-900")),u(a.AppBar,"darkBg",$("palette-background-paper")),u(a.AppBar,"darkColor",$("palette-text-primary")),u(a.Avatar,"defaultBg",$("palette-grey-600")),u(a.Button,"inheritContainedBg",$("palette-grey-800")),u(a.Button,"inheritContainedHoverBg",$("palette-grey-700")),u(a.Chip,"defaultBorder",$("palette-grey-700")),u(a.Chip,"defaultAvatarColor",$("palette-grey-300")),u(a.Chip,"defaultIconColor",$("palette-grey-300")),u(a.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),u(a.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),u(a.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),u(a.LinearProgress,"primaryBg",C(H,a.primary.main,.5)),u(a.LinearProgress,"secondaryBg",C(H,a.secondary.main,.5)),u(a.LinearProgress,"errorBg",C(H,a.error.main,.5)),u(a.LinearProgress,"infoBg",C(H,a.info.main,.5)),u(a.LinearProgress,"successBg",C(H,a.success.main,.5)),u(a.LinearProgress,"warningBg",C(H,a.warning.main,.5)),u(a.Skeleton,"bg",O?C(Te,a.text.primary,.13):`rgba(${$("palette-text-primaryChannel")} / 0.13)`),u(a.Slider,"primaryTrack",C(H,a.primary.main,.5)),u(a.Slider,"secondaryTrack",C(H,a.secondary.main,.5)),u(a.Slider,"errorTrack",C(H,a.error.main,.5)),u(a.Slider,"infoTrack",C(H,a.info.main,.5)),u(a.Slider,"successTrack",C(H,a.success.main,.5)),u(a.Slider,"warningTrack",C(H,a.warning.main,.5));const k=O?C(q,a.background.default,.985):He(a.background.default,.98);u(a.SnackbarContent,"bg",k),u(a.SnackbarContent,"color",pe(()=>O?jr.text.primary:a.getContrastText(k))),u(a.SpeedDialAction,"fabHoverBg",He(a.background.paper,.15)),u(a.StepConnector,"border",$("palette-grey-600")),u(a.StepContent,"border",$("palette-grey-600")),u(a.Switch,"defaultColor",$("palette-grey-300")),u(a.Switch,"defaultDisabledColor",$("palette-grey-600")),u(a.Switch,"primaryDisabledColor",C(H,a.primary.main,.55)),u(a.Switch,"secondaryDisabledColor",C(H,a.secondary.main,.55)),u(a.Switch,"errorDisabledColor",C(H,a.error.main,.55)),u(a.Switch,"infoDisabledColor",C(H,a.info.main,.55)),u(a.Switch,"successDisabledColor",C(H,a.success.main,.55)),u(a.Switch,"warningDisabledColor",C(H,a.warning.main,.55)),u(a.TableCell,"border",C(H,C(Te,a.divider,1),.68)),u(a.Tooltip,"bg",C(Te,a.grey[700],.92))}ge(a.background,"default"),ge(a.background,"paper"),ge(a.common,"background"),ge(a.common,"onBackground"),ge(a,"divider"),Object.keys(a).forEach(k=>{const D=a[k];k!=="tonalOffset"&&D&&typeof D=="object"&&(D.main&&u(a[k],"mainChannel",je(Be(D.main))),D.light&&u(a[k],"lightChannel",je(Be(D.light))),D.dark&&u(a[k],"darkChannel",je(Be(D.dark))),D.contrastText&&u(a[k],"contrastTextChannel",je(Be(D.contrastText))),k==="text"&&(ge(a[k],"primary"),ge(a[k],"secondary")),k==="action"&&(D.active&&ge(a[k],"active"),D.selected&&ge(a[k],"selected")))})}),w=t.reduce((Z,a)=>ce(Z,a),w);const X={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:c,getSelector:gi(w),enableContrastVars:s},{vars:ne,generateThemeVars:Q,generateStyleSheets:ie}=Lo(w,X);return w.vars=ne,Object.entries(w.colorSchemes[w.defaultColorScheme]).forEach(([Z,a])=>{w[Z]=a}),w.generateThemeVars=Q,w.generateStyleSheets=ie,w.generateSpacing=function(){return _r(m.spacing,_t(this))},w.getColorSchemeSelector=Vo(f),w.spacing=w.generateSpacing(),w.shouldSkipGeneratingVar=c,w.unstable_sxConfig={...st,...m?.unstable_sxConfig},w.unstable_sx=function(a){return Me({sx:a,theme:this})},w.toRuntimeSource=Dr,w}function hr(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Rt({...r===!0?{}:r.palette,mode:t})})}function Ci(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:i=r?.mode,...s}=e,c=i||"light",f=o?.[c],d={...o,...r?{[c]:{...typeof f!="boolean"&&f,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return wt(e,...t);let m=r;"palette"in e||d[c]&&(d[c]!==!0?m=d[c].palette:c==="dark"&&(m={mode:"dark"}));const p=wt({...e,palette:m},...t);return p.defaultColorScheme=c,p.colorSchemes=d,p.palette.mode==="light"&&(p.colorSchemes.light={...d.light!==!0&&d.light,palette:p.palette},hr(p,"dark",d.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:p.palette},hr(p,"light",d.light)),p}return!r&&!("light"in d)&&c==="light"&&(d.light=!0),Si({...s,colorSchemes:d,defaultColorScheme:c,...typeof n!="boolean"&&n},...t)}const Fr=Ci(),zr="$$material";function xi(){const e=go(Fr);return process.env.NODE_ENV!=="production"&&he.useDebugValue(e),e[zr]||e}function Ei(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Ti=e=>Ei(e)&&e!=="classes",Oi=Eo({themeId:zr,defaultTheme:Fr,rootShouldForwardProp:Ti}),wi=No;process.env.NODE_ENV!=="production"&&(z.node,z.object.isRequired);function $i(e){return Mo(e)}function _i(e){return It("MuiSvgIcon",e)}bo("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Ai=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${$e(t)}`,`fontSize${$e(r)}`]};return nn(o,_i,n)},ki=Oi("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${$e(r.color)}`],t[`fontSize${$e(r.fontSize)}`]]}})(wi(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:t=>!t.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,t])=>t&&t.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),Xe=he.forwardRef(function(t,r){const n=$i({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:s="inherit",component:c="svg",fontSize:f="medium",htmlColor:d,inheritViewBox:m=!1,titleAccess:p,viewBox:h="0 0 24 24",...S}=n,y=he.isValidElement(o)&&o.type==="svg",l={...n,color:s,component:c,fontSize:f,instanceFontSize:t.fontSize,inheritViewBox:m,viewBox:h,hasSvgAsChild:y},x={};m||(x.viewBox=h);const A=Ai(l);return v.jsxs(ki,{as:c,className:Tr(A.root,i),focusable:"false",color:d,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:r,...x,...S,...y&&o.props,ownerState:l,children:[y?o.props.children:o,p?v.jsx("title",{children:p}):null]})});process.env.NODE_ENV!=="production"&&(Xe.propTypes={children:z.node,classes:z.object,className:z.string,color:z.oneOfType([z.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),z.string]),component:z.elementType,fontSize:z.oneOfType([z.oneOf(["inherit","large","medium","small"]),z.string]),htmlColor:z.string,inheritViewBox:z.bool,shapeRendering:z.string,sx:z.oneOfType([z.arrayOf(z.oneOfType([z.func,z.object,z.bool])),z.func,z.object]),titleAccess:z.string,viewBox:z.string});Xe.muiName="SvgIcon";function le(e,t){function r(n,o){return v.jsx(Xe,{"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=Xe.muiName,he.memo(he.forwardRef(r))}const Ii=le(v.jsx("path",{d:"M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8"}),"Undo");function Pi(e){return v.jsx(_.Button,{name:e.name,"data-cy":e.dataCy??"cancel-button",className:e.className,sx:e.sx,startIcon:e.startIcon??v.jsx(Ii,{}),variant:e.variant??"contained",color:e.color??"secondary",type:e.type??"button",onClick:()=>e.onClick(),children:e.children??e.name})}const Ri=le(v.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zm2.46-7.12 1.41-1.41L12 12.59l2.12-2.12 1.41 1.41L13.41 14l2.12 2.12-1.41 1.41L12 15.41l-2.12 2.12-1.41-1.41L10.59 14zM15.5 4l-1-1h-5l-1 1H5v2h14V4z"}),"DeleteForever");function Mi(e){return v.jsx(_.Button,{"data-cy":e.dataCy??"delete-button",loading:e.loading??!1,loadingPosition:e.loadingPosition??"start",startIcon:e.startIcon??v.jsx(Ri,{}),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 Ni=le(v.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit");function ji(e){return v.jsx(_.Tooltip,{title:e.tooltipTitle,children:v.jsx(_.IconButton,{sx:{pt:0,pb:0},color:e.color??"primary",onClick:()=>e.onClick(!0),"aria-label":e.tooltipTitle,children:v.jsx(Ni,{})})})}function Bi(e){return v.jsx(_.Button,{"data-cy":e.dataCy??"excel-button",style:{borderRadius:"20px"},className:e.className,name:e.name,sx:e.sx,startIcon:e.startIcon,variant:"contained",color:"success",type:e.type??"button",onClick:()=>e.onClick(),children:e.children??e.name})}const Di=le(v.jsx("path",{d:"M11.67 3.87 9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z"}),"ArrowBackIos");function Li(e){return v.jsx(_.Tooltip,{title:"Go Back to Previous Page",children:v.jsxs(_.IconButton,{name:e.name,color:e.color??"primary",onClick:()=>e.navigate(-1),children:[v.jsx(Di,{}),e.children]})})}const Vi=le(v.jsx("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8z"}),"History");function Fi(e){return v.jsx(_.Button,{name:e.name,"data-cy":e.dataCy??"history-button",className:e.className,sx:e.sx??{p:1,m:1},startIcon:e.startIcon??v.jsx(Vi,{}),variant:e.variant??"contained",color:e.color??"primary",type:e.type??"button",onClick:()=>e.onClick(),children:e.children??e.name})}const zi=le(v.jsx("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"}),"Save"),Ui={backgroundColor:"$primary-color",color:"var(--white-color)",margin:"20px"};function Yi(e){return v.jsx(_.Button,{name:e.name,"data-cy":e.dataCy??"loading-success-button",variant:e.variant??"contained",color:e.color??"success",loadingPosition:"start",startIcon:e.startIcon??v.jsx(zi,{}),loading:e.loading,type:e.type??"button",style:Ui,sx:e.sx,onClick:e.onClick,children:e.children??e.name})}const Wi=le(v.jsx("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings");function Hi(e){return v.jsx(_.Button,{name:e.name,"data-cy":e.dataCy??"manage-button",className:e.className,onClick:()=>e.onClick(),variant:e.variant??"contained",color:e.color??"primary",size:e.size??"large",startIcon:e.startIcon??v.jsx(Wi,{}),children:e.children?e.children:"Manage"})}function qi(e){return v.jsx(_.Button,{name:e.name,"data-cy":e.dataCy??"success-button",className:e.className,sx:e.sx,startIcon:e.startIcon,variant:e.variant??"contained",color:e.color??"success",type:e.type??"button",onClick:()=>e.onClick(),children:e.children??e.name})}const Mt=le(v.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Gi=e=>{const[t,r]=be.useState(!1);be.useEffect(()=>{r(e.open)},[e.open,e.progressState]);const n=v.jsx(_.IconButton,{size:"small","aria-label":"close",color:"inherit",onClick:()=>r(!1),children:v.jsx(Mt,{fontSize:"small"})});return v.jsxs(v.Fragment,{children:[v.jsx(_.Snackbar,{anchorOrigin:{vertical:"bottom",horizontal:"center"},open:t&&e.progressState.isSuccess,autoHideDuration:e.autoHideDuration??3e3,onClose:()=>r(!1),children:v.jsx(_.Alert,{variant:"filled",severity:"success",sx:{width:"100%"},action:n,children:e.progressState.message})}),v.jsx(_.Snackbar,{anchorOrigin:{vertical:"bottom",horizontal:"center"},open:t&&e.progressState.isError,TransitionComponent:_.Slide,autoHideDuration:e.autoHideDuration??3e3,onClose:()=>r(!1),children:v.jsx(_.Alert,{variant:"filled",sx:{width:"100%"},severity:"error",action:n,children:e.progressState.message})})]})},Ki=e=>{const[t,r]=be.useState(!1);be.useEffect(()=>{r(e.open)},[e.open,e]);const n=v.jsx(_.IconButton,{size:"small","aria-label":"close",color:"inherit",onClick:()=>r(!1),children:v.jsx(Mt,{fontSize:"small"})});return v.jsxs(v.Fragment,{children:[v.jsx(_.Snackbar,{anchorOrigin:{vertical:"bottom",horizontal:"center"},open:t&&e.isSuccess,autoHideDuration:e.autoHideDuration??3e3,onClose:()=>r(!1),children:v.jsx(_.Alert,{variant:"filled",severity:"success",sx:{width:"100%"},action:n,children:e.message})}),v.jsx(_.Snackbar,{anchorOrigin:{vertical:"bottom",horizontal:"center"},open:t&&e.isError,TransitionComponent:_.Slide,autoHideDuration:e.autoHideDuration??3e3,onClose:()=>r(!1),children:v.jsx(_.Alert,{variant:"filled",sx:{width:"100%"},severity:"error",action:n,children:e.message})})]})};function Qi(){return v.jsx("div",{style:{margin:"1.5rem"},className:"app-flex-justify-center",children:v.jsx(_.CircularProgress,{})})}function Xi(e){const{onClose:t,title:r,message:n,open:o,...i}=e;return v.jsxs(_.Dialog,{sx:{"& .MuiDialog-paper":{width:"80%",maxHeight:435}},maxWidth:"xs",open:o,...i,children:[v.jsx(_.DialogTitle,{children:r??"Confirm"}),v.jsx(_.DialogContent,{dividers:!0,children:n}),v.jsxs(_.DialogActions,{children:[v.jsx(_.Button,{autoFocus:!0,onClick:()=>t("No"),children:"Cancel"}),v.jsx(_.Button,{onClick:()=>t("Yes"),children:"Yes"})]})]})}function Ji(e){const[t,r]=be.useState(!0),[n]=be.useState(e.dismissible??!0),[o]=be.useState(e.dismissOnTimeOut??!0),[i]=be.useState(e.dismissTimeOut??5e3);return setTimeout(()=>{r(o?!1:t)},i),v.jsx("span",{children:t&&v.jsx(_.Alert,{action:n?v.jsx(_.IconButton,{"aria-label":"close",color:"inherit",size:"small",onClick:()=>{r(!1)},children:v.jsx(Mt,{fontSize:"inherit"})}):null,style:{margin:"20px"},...e,children:e.message})})}function Zi(e){return v.jsx(_.Link,{component:Sr.Link,to:e.href,className:"next-btn-link",underline:"hover",children:e.linkText??e.children})}const ea=le(v.jsx("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"}),"OpenInNew");function ta(e){return v.jsxs(_.Link,{component:Sr.Link,to:e.href,target:e.target||"_blank",rel:"noreferrer",className:"next-btn-link",underline:"hover",children:[e.linkText??e.children,v.jsx(_.Icon,{sx:{fontSize:"1.1rem",mx:.75,verticalAlign:"middle",display:"inline-flex"},component: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}const gr=le(v.jsx("path",{d:"M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),yr=le(v.jsx("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6z"}),"KeyboardArrowLeft"),br=le(v.jsx("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"}),"KeyboardArrowRight"),vr=le(v.jsx("path",{d:"M5.59 7.41 10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage");function na(e){const t=xi(),{count:r,page:n,rowsPerPage:o,onPageChange:i}=e,s=m=>{i(m,0)},c=m=>{i(m,n-1)},f=m=>{i(m,n+1)},d=m=>{i(m,Math.max(0,Math.ceil(r/o)-1))};return v.jsxs(_.Box,{sx:{flexShrink:0,ml:2.5},children:[v.jsx(_.IconButton,{onClick:s,disabled:n===0,"aria-label":"first page",children:t.direction==="rtl"?v.jsx(vr,{}):v.jsx(gr,{})}),v.jsx(_.IconButton,{onClick:c,disabled:n===0,"aria-label":"previous page",children:t.direction==="rtl"?v.jsx(br,{}):v.jsx(yr,{})}),v.jsx(_.IconButton,{onClick:f,disabled:n>=Math.ceil(r/o)-1,"aria-label":"next page",children:t.direction==="rtl"?v.jsx(yr,{}):v.jsx(br,{})}),v.jsx(_.IconButton,{onClick:d,disabled:n>=Math.ceil(r/o)-1,"aria-label":"last page",children:t.direction==="rtl"?v.jsx(gr,{}):v.jsx(vr,{})})]})}function oa(e){const{children:t,index:r,...n}=e;return v.jsx("div",{className:"tabPanel",role:"tabpanel",id:`vertical-tabpanel-${r}`,"aria-labelledby":`vertical-tab-${r}`,...n,children:v.jsx(_.Box,{sx:{p:3},children:v.jsx(_.Typography,{component:"span",children:t})})})}function ia(e){return{id:`vertical-tab-${e}`,"aria-controls":`vertical-tabpanel-${e}`}}function aa(e){return typeof e=="boolean"?e:typeof e=="string"?e.toLowerCase()==="true":!1}function sa(e){return getComputedStyle(document.documentElement).getPropertyValue(e).trim()}var Nt=(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))(Nt||{});const ca=()=>{const e=+new Date;return new Date(e+Nt.SYSTEM_COOKIE_TIMEOUT_MILLI_SECONDS)},la=e=>xt.format(new Date(e),Nt.ISO_DATE_FORMAT),ua=(e,t)=>e?xt.format(xt.parseISO(e),t):"";function fa(e){if(typeof e=="string")return Number.parseInt(e,10)}const da=()=>({isLoading:!1,isSuccess:!1,isError:!1,isComplete:!1,message:""}),ma=e=>({...e,isLoading:!0,isSuccess:!1,isError:!1,message:""}),pa=(e,t)=>({...e,isLoading:!1,isSuccess:!0,isError:!1,isComplete:!0,message:t||""}),ha=(e,t)=>({...e,isLoading:!1,isSuccess:!1,isError:!0,isComplete:!0,message:t||""});function ga(e){return e==null?!0:typeof e=="string"?e.trim()==="":!1}const ya=e=>{try{return decodeURIComponent(e)!==e}catch{return!1}};exports.AppSnackBar=Gi;exports.CancelButton=Pi;exports.CenteredCircularProgress=Qi;exports.ConfirmDialog=Xi;exports.DeleteButton=Mi;exports.DismissibleAlert=Ji;exports.EditIconButton=ji;exports.ExcelButton=Bi;exports.GoBackButton=Li;exports.HistoryButton=Fi;exports.LoadingSuccessButton=Yi;exports.ManageButton=Hi;exports.NextLink=Zi;exports.OpenInNewIconLink=ta;exports.QuerySnackBar=Ki;exports.ReactIf=ra;exports.SuccessButton=qi;exports.TabPanel=oa;exports.TablePaginationActions=na;exports.a11yProps=ia;exports.convertToIsoDate=la;exports.formatDate=ua;exports.getCssVariable=sa;exports.initializeState=da;exports.isBlankOrEmpty=ga;exports.isEncoded=ya;exports.markError=ha;exports.markLoading=ma;exports.markSuccess=pa;exports.parseBoolean=aa;exports.parseNumber=fa;exports.setCookieExpirationDate=ca;
|
package/index.mjs
CHANGED
|
@@ -33,19 +33,11 @@ function dn(e) {
|
|
|
33
33
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
34
34
|
}
|
|
35
35
|
var He = { exports: {} }, Ge = { exports: {} }, z = {};
|
|
36
|
-
/** @license React v16.13.1
|
|
37
|
-
* react-is.production.min.js
|
|
38
|
-
*
|
|
39
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
40
|
-
*
|
|
41
|
-
* This source code is licensed under the MIT license found in the
|
|
42
|
-
* LICENSE file in the root directory of this source tree.
|
|
43
|
-
*/
|
|
44
36
|
var jt;
|
|
45
37
|
function mn() {
|
|
46
38
|
if (jt) return z;
|
|
47
39
|
jt = 1;
|
|
48
|
-
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, c = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, l = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
|
|
40
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, s = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, c = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, f = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, d = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, m = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, p = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, h = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, v = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, y = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, l = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, C = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, _ = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, M = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
49
41
|
function D(b) {
|
|
50
42
|
if (typeof b == "object" && b !== null) {
|
|
51
43
|
var w = b.$$typeof;
|
|
@@ -108,18 +100,10 @@ function mn() {
|
|
|
108
100
|
}, z.typeOf = D, z;
|
|
109
101
|
}
|
|
110
102
|
var U = {};
|
|
111
|
-
/** @license React v16.13.1
|
|
112
|
-
* react-is.development.js
|
|
113
|
-
*
|
|
114
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
115
|
-
*
|
|
116
|
-
* This source code is licensed under the MIT license found in the
|
|
117
|
-
* LICENSE file in the root directory of this source tree.
|
|
118
|
-
*/
|
|
119
103
|
var zt;
|
|
120
104
|
function pn() {
|
|
121
|
-
return zt || (zt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
122
|
-
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, c = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, l = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
|
|
105
|
+
return zt || (zt = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
106
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, s = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, c = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, f = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, d = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, m = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, p = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, h = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, v = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, y = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, l = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, C = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, _ = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, M = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
123
107
|
function D(T) {
|
|
124
108
|
return typeof T == "string" || typeof T == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
125
109
|
T === n || T === d || T === i || T === o || T === p || T === h || typeof T == "object" && T !== null && (T.$$typeof === y || T.$$typeof === v || T.$$typeof === s || T.$$typeof === c || T.$$typeof === m || T.$$typeof === C || T.$$typeof === _ || T.$$typeof === M || T.$$typeof === l);
|
|
@@ -197,17 +181,12 @@ function pn() {
|
|
|
197
181
|
return O(T) === p;
|
|
198
182
|
}
|
|
199
183
|
U.AsyncMode = b, U.ConcurrentMode = w, U.ContextConsumer = Q, U.ContextProvider = re, U.Element = q, U.ForwardRef = oe, U.Fragment = J, U.Lazy = a, U.Memo = $, U.Portal = S, U.Profiler = A, U.StrictMode = B, U.Suspense = ne, U.isAsyncMode = ht, U.isConcurrentMode = g, U.isContextConsumer = x, U.isContextProvider = N, U.isElement = P, U.isForwardRef = k, U.isFragment = L, U.isLazy = R, U.isMemo = I, U.isPortal = V, U.isProfiler = Y, U.isStrictMode = F, U.isSuspense = ie, U.isValidElementType = D, U.typeOf = O;
|
|
200
|
-
}()), U;
|
|
184
|
+
})()), U;
|
|
201
185
|
}
|
|
202
186
|
var Ut;
|
|
203
187
|
function Rr() {
|
|
204
188
|
return Ut || (Ut = 1, process.env.NODE_ENV === "production" ? Ge.exports = mn() : Ge.exports = pn()), Ge.exports;
|
|
205
189
|
}
|
|
206
|
-
/*
|
|
207
|
-
object-assign
|
|
208
|
-
(c) Sindre Sorhus
|
|
209
|
-
@license MIT
|
|
210
|
-
*/
|
|
211
190
|
var gt, Yt;
|
|
212
191
|
function hn() {
|
|
213
192
|
if (Yt) return gt;
|
|
@@ -722,20 +701,11 @@ function Cn(e, t, r = void 0) {
|
|
|
722
701
|
return n;
|
|
723
702
|
}
|
|
724
703
|
var Ke = { exports: {} }, G = {};
|
|
725
|
-
/**
|
|
726
|
-
* @license React
|
|
727
|
-
* react-is.production.js
|
|
728
|
-
*
|
|
729
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
730
|
-
*
|
|
731
|
-
* This source code is licensed under the MIT license found in the
|
|
732
|
-
* LICENSE file in the root directory of this source tree.
|
|
733
|
-
*/
|
|
734
704
|
var Xt;
|
|
735
705
|
function En() {
|
|
736
706
|
if (Xt) return G;
|
|
737
707
|
Xt = 1;
|
|
738
|
-
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), h = Symbol.for("react.view_transition"), v = Symbol.for("react.client.reference");
|
|
708
|
+
var e = /* @__PURE__ */ Symbol.for("react.transitional.element"), t = /* @__PURE__ */ Symbol.for("react.portal"), r = /* @__PURE__ */ Symbol.for("react.fragment"), n = /* @__PURE__ */ Symbol.for("react.strict_mode"), o = /* @__PURE__ */ Symbol.for("react.profiler"), i = /* @__PURE__ */ Symbol.for("react.consumer"), s = /* @__PURE__ */ Symbol.for("react.context"), c = /* @__PURE__ */ Symbol.for("react.forward_ref"), f = /* @__PURE__ */ Symbol.for("react.suspense"), d = /* @__PURE__ */ Symbol.for("react.suspense_list"), m = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), h = /* @__PURE__ */ Symbol.for("react.view_transition"), v = /* @__PURE__ */ Symbol.for("react.client.reference");
|
|
739
709
|
function y(l) {
|
|
740
710
|
if (typeof l == "object" && l !== null) {
|
|
741
711
|
var C = l.$$typeof;
|
|
@@ -796,18 +766,9 @@ function En() {
|
|
|
796
766
|
}, G.typeOf = y, G;
|
|
797
767
|
}
|
|
798
768
|
var K = {};
|
|
799
|
-
/**
|
|
800
|
-
* @license React
|
|
801
|
-
* react-is.development.js
|
|
802
|
-
*
|
|
803
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
804
|
-
*
|
|
805
|
-
* This source code is licensed under the MIT license found in the
|
|
806
|
-
* LICENSE file in the root directory of this source tree.
|
|
807
|
-
*/
|
|
808
769
|
var Jt;
|
|
809
770
|
function Tn() {
|
|
810
|
-
return Jt || (Jt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
771
|
+
return Jt || (Jt = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
811
772
|
function e(l) {
|
|
812
773
|
if (typeof l == "object" && l !== null) {
|
|
813
774
|
var C = l.$$typeof;
|
|
@@ -839,7 +800,7 @@ function Tn() {
|
|
|
839
800
|
}
|
|
840
801
|
}
|
|
841
802
|
}
|
|
842
|
-
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"), c = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), v = Symbol.for("react.view_transition"), y = Symbol.for("react.client.reference");
|
|
803
|
+
var t = /* @__PURE__ */ Symbol.for("react.transitional.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"), i = /* @__PURE__ */ Symbol.for("react.profiler"), s = /* @__PURE__ */ Symbol.for("react.consumer"), c = /* @__PURE__ */ Symbol.for("react.context"), f = /* @__PURE__ */ Symbol.for("react.forward_ref"), d = /* @__PURE__ */ Symbol.for("react.suspense"), m = /* @__PURE__ */ Symbol.for("react.suspense_list"), p = /* @__PURE__ */ Symbol.for("react.memo"), h = /* @__PURE__ */ Symbol.for("react.lazy"), v = /* @__PURE__ */ Symbol.for("react.view_transition"), y = /* @__PURE__ */ Symbol.for("react.client.reference");
|
|
843
804
|
K.ContextConsumer = s, K.ContextProvider = c, K.Element = t, K.ForwardRef = f, K.Fragment = n, K.Lazy = h, K.Memo = p, K.Portal = r, K.Profiler = i, K.StrictMode = o, K.Suspense = d, K.SuspenseList = m, K.isContextConsumer = function(l) {
|
|
844
805
|
return e(l) === s;
|
|
845
806
|
}, K.isContextProvider = function(l) {
|
|
@@ -867,7 +828,7 @@ function Tn() {
|
|
|
867
828
|
}, K.isValidElementType = function(l) {
|
|
868
829
|
return typeof l == "string" || typeof l == "function" || l === n || l === i || l === o || l === d || l === m || typeof l == "object" && l !== null && (l.$$typeof === h || l.$$typeof === p || l.$$typeof === c || l.$$typeof === s || l.$$typeof === f || l.$$typeof === y || l.getModuleId !== void 0);
|
|
869
830
|
}, K.typeOf = e;
|
|
870
|
-
}()), K;
|
|
831
|
+
})()), K;
|
|
871
832
|
}
|
|
872
833
|
var Zt;
|
|
873
834
|
function xn() {
|
|
@@ -1836,13 +1797,6 @@ function To(e, t, r) {
|
|
|
1836
1797
|
next: Se
|
|
1837
1798
|
};
|
|
1838
1799
|
}
|
|
1839
|
-
/**
|
|
1840
|
-
* @mui/styled-engine v7.3.6
|
|
1841
|
-
*
|
|
1842
|
-
* @license MIT
|
|
1843
|
-
* This source code is licensed under the MIT license found in the
|
|
1844
|
-
* LICENSE file in the root directory of this source tree.
|
|
1845
|
-
*/
|
|
1846
1800
|
function xo(e, t) {
|
|
1847
1801
|
const r = sn(e, t);
|
|
1848
1802
|
return process.env.NODE_ENV !== "production" ? (...n) => {
|
|
@@ -3735,7 +3689,6 @@ function ua(e) {
|
|
|
3735
3689
|
color: e.color ?? "secondary",
|
|
3736
3690
|
type: e.type ?? "button",
|
|
3737
3691
|
onClick: () => e.onClick(),
|
|
3738
|
-
"aria-label": e.ariaLabel ?? e.name ?? "Cancel",
|
|
3739
3692
|
children: e.children ?? e.name
|
|
3740
3693
|
}
|
|
3741
3694
|
);
|
|
@@ -3756,7 +3709,6 @@ function fa(e) {
|
|
|
3756
3709
|
color: e.color ?? "error",
|
|
3757
3710
|
sx: { m: 1 },
|
|
3758
3711
|
type: e.type ?? "button",
|
|
3759
|
-
"aria-label": e.ariaLabel ?? e.name ?? "Delete",
|
|
3760
3712
|
onClick: e.onClick,
|
|
3761
3713
|
children: e.label ? e.label : "Delete"
|
|
3762
3714
|
}
|
|
@@ -3766,7 +3718,7 @@ const Qi = ce(/* @__PURE__ */ E("path", {
|
|
|
3766
3718
|
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"
|
|
3767
3719
|
}), "Edit");
|
|
3768
3720
|
function da(e) {
|
|
3769
|
-
return /* @__PURE__ */ E(xr, { title: e.tooltipTitle,
|
|
3721
|
+
return /* @__PURE__ */ E(xr, { title: e.tooltipTitle, children: /* @__PURE__ */ E(
|
|
3770
3722
|
ye,
|
|
3771
3723
|
{
|
|
3772
3724
|
sx: { pt: 0, pb: 0 },
|
|
@@ -3790,7 +3742,6 @@ function ma(e) {
|
|
|
3790
3742
|
variant: "contained",
|
|
3791
3743
|
color: "success",
|
|
3792
3744
|
type: e.type ?? "button",
|
|
3793
|
-
"aria-label": e.ariaLabel ?? e.name ?? "Excel",
|
|
3794
3745
|
onClick: () => e.onClick(),
|
|
3795
3746
|
children: e.children ?? e.name
|
|
3796
3747
|
}
|
|
@@ -3800,10 +3751,18 @@ const Xi = ce(/* @__PURE__ */ E("path", {
|
|
|
3800
3751
|
d: "M11.67 3.87 9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z"
|
|
3801
3752
|
}), "ArrowBackIos");
|
|
3802
3753
|
function pa(e) {
|
|
3803
|
-
return /* @__PURE__ */ E(xr, { title: "Go Back to Previous Page",
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3754
|
+
return /* @__PURE__ */ E(xr, { title: "Go Back to Previous Page", children: /* @__PURE__ */ Ce(
|
|
3755
|
+
ye,
|
|
3756
|
+
{
|
|
3757
|
+
name: e.name,
|
|
3758
|
+
color: e.color ?? "primary",
|
|
3759
|
+
onClick: () => e.navigate(-1),
|
|
3760
|
+
children: [
|
|
3761
|
+
/* @__PURE__ */ E(Xi, {}),
|
|
3762
|
+
e.children
|
|
3763
|
+
]
|
|
3764
|
+
}
|
|
3765
|
+
) });
|
|
3807
3766
|
}
|
|
3808
3767
|
const Ji = ce(/* @__PURE__ */ E("path", {
|
|
3809
3768
|
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"
|
|
@@ -3820,7 +3779,6 @@ function ha(e) {
|
|
|
3820
3779
|
variant: e.variant ?? "contained",
|
|
3821
3780
|
color: e.color ?? "primary",
|
|
3822
3781
|
type: e.type ?? "button",
|
|
3823
|
-
"aria-label": e.ariaLabel ?? e.name ?? "History",
|
|
3824
3782
|
onClick: () => e.onClick(),
|
|
3825
3783
|
children: e.children ?? e.name
|
|
3826
3784
|
}
|
|
@@ -3847,7 +3805,6 @@ function ga(e) {
|
|
|
3847
3805
|
type: e.type ?? "button",
|
|
3848
3806
|
style: ea,
|
|
3849
3807
|
sx: e.sx,
|
|
3850
|
-
"aria-label": e.ariaLabel ?? e.name ?? "Save",
|
|
3851
3808
|
onClick: e.onClick,
|
|
3852
3809
|
children: e.children ?? e.name
|
|
3853
3810
|
}
|
|
@@ -3867,7 +3824,6 @@ function ya(e) {
|
|
|
3867
3824
|
variant: e.variant ?? "contained",
|
|
3868
3825
|
color: e.color ?? "primary",
|
|
3869
3826
|
size: e.size ?? "large",
|
|
3870
|
-
"aria-label": e.ariaLabel ?? e.name ?? "Manage",
|
|
3871
3827
|
startIcon: e.startIcon ?? /* @__PURE__ */ E(ta, {}),
|
|
3872
3828
|
children: e.children ? e.children : "Manage"
|
|
3873
3829
|
}
|
|
@@ -3885,7 +3841,6 @@ function ba(e) {
|
|
|
3885
3841
|
variant: e.variant ?? "contained",
|
|
3886
3842
|
color: e.color ?? "success",
|
|
3887
3843
|
type: e.type ?? "button",
|
|
3888
|
-
"aria-label": e.ariaLabel ?? e.name ?? "Success",
|
|
3889
3844
|
onClick: () => e.onClick(),
|
|
3890
3845
|
children: e.children ?? e.name
|
|
3891
3846
|
}
|
|
@@ -3953,18 +3908,27 @@ const Bt = ce(/* @__PURE__ */ E("path", {
|
|
|
3953
3908
|
] });
|
|
3954
3909
|
};
|
|
3955
3910
|
function Ca() {
|
|
3956
|
-
return /* @__PURE__ */ E("div", { style: { margin: "1.5rem" }, className: "app-flex-justify-center",
|
|
3911
|
+
return /* @__PURE__ */ E("div", { style: { margin: "1.5rem" }, className: "app-flex-justify-center", children: /* @__PURE__ */ E(Zr, {}) });
|
|
3957
3912
|
}
|
|
3958
3913
|
function Ea(e) {
|
|
3959
3914
|
const { onClose: t, title: r, message: n, open: o, ...i } = e;
|
|
3960
|
-
return /* @__PURE__ */ Ce(
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3915
|
+
return /* @__PURE__ */ Ce(
|
|
3916
|
+
en,
|
|
3917
|
+
{
|
|
3918
|
+
sx: { "& .MuiDialog-paper": { width: "80%", maxHeight: 435 } },
|
|
3919
|
+
maxWidth: "xs",
|
|
3920
|
+
open: o,
|
|
3921
|
+
...i,
|
|
3922
|
+
children: [
|
|
3923
|
+
/* @__PURE__ */ E(tn, { children: r ?? "Confirm" }),
|
|
3924
|
+
/* @__PURE__ */ E(rn, { dividers: !0, children: n }),
|
|
3925
|
+
/* @__PURE__ */ Ce(nn, { children: [
|
|
3926
|
+
/* @__PURE__ */ E(be, { autoFocus: !0, onClick: () => t("No"), children: "Cancel" }),
|
|
3927
|
+
/* @__PURE__ */ E(be, { onClick: () => t("Yes"), children: "Yes" })
|
|
3928
|
+
] })
|
|
3929
|
+
]
|
|
3930
|
+
}
|
|
3931
|
+
);
|
|
3968
3932
|
}
|
|
3969
3933
|
function Ta(e) {
|
|
3970
3934
|
const [t, r] = Me(!0), [n] = Me(e.dismissible ?? !0), [o] = Me(e.dismissOnTimeOut ?? !0), [i] = Me(e.dismissTimeOut ?? 5e3);
|
|
@@ -3986,14 +3950,13 @@ function Ta(e) {
|
|
|
3986
3950
|
}
|
|
3987
3951
|
) : null,
|
|
3988
3952
|
style: { margin: "20px" },
|
|
3989
|
-
"aria-label": e.ariaLabel ?? "Dismissible Alert",
|
|
3990
3953
|
...e,
|
|
3991
3954
|
children: e.message
|
|
3992
3955
|
}
|
|
3993
3956
|
) });
|
|
3994
3957
|
}
|
|
3995
3958
|
function xa(e) {
|
|
3996
|
-
return /* @__PURE__ */ E(wr, { component: Ar, to: e.href, className: "next-btn-link", underline: "hover",
|
|
3959
|
+
return /* @__PURE__ */ E(wr, { component: Ar, to: e.href, className: "next-btn-link", underline: "hover", children: e.linkText ?? e.children });
|
|
3997
3960
|
}
|
|
3998
3961
|
const ra = ce(/* @__PURE__ */ E("path", {
|
|
3999
3962
|
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"
|
|
@@ -4007,7 +3970,6 @@ function Oa(e) {
|
|
|
4007
3970
|
target: e.target || "_blank",
|
|
4008
3971
|
rel: "noreferrer",
|
|
4009
3972
|
className: "next-btn-link",
|
|
4010
|
-
"aria-label": e.ariaLabel ?? "Open in new tab",
|
|
4011
3973
|
underline: "hover",
|
|
4012
3974
|
children: [
|
|
4013
3975
|
e.linkText ?? e.children,
|
|
@@ -4051,15 +4013,49 @@ function $a(e) {
|
|
|
4051
4013
|
i(m, Math.max(0, Math.ceil(r / o) - 1));
|
|
4052
4014
|
};
|
|
4053
4015
|
return /* @__PURE__ */ Ce($r, { sx: { flexShrink: 0, ml: 2.5 }, children: [
|
|
4054
|
-
/* @__PURE__ */ E(
|
|
4016
|
+
/* @__PURE__ */ E(
|
|
4017
|
+
ye,
|
|
4018
|
+
{
|
|
4019
|
+
onClick: s,
|
|
4020
|
+
disabled: n === 0,
|
|
4021
|
+
"aria-label": "first page",
|
|
4022
|
+
children: t.direction === "rtl" ? /* @__PURE__ */ E(Er, {}) : /* @__PURE__ */ E(vr, {})
|
|
4023
|
+
}
|
|
4024
|
+
),
|
|
4055
4025
|
/* @__PURE__ */ E(ye, { onClick: c, disabled: n === 0, "aria-label": "previous page", children: t.direction === "rtl" ? /* @__PURE__ */ E(Cr, {}) : /* @__PURE__ */ E(Sr, {}) }),
|
|
4056
|
-
/* @__PURE__ */ E(
|
|
4057
|
-
|
|
4026
|
+
/* @__PURE__ */ E(
|
|
4027
|
+
ye,
|
|
4028
|
+
{
|
|
4029
|
+
onClick: f,
|
|
4030
|
+
disabled: n >= Math.ceil(r / o) - 1,
|
|
4031
|
+
"aria-label": "next page",
|
|
4032
|
+
children: t.direction === "rtl" ? /* @__PURE__ */ E(Sr, {}) : /* @__PURE__ */ E(Cr, {})
|
|
4033
|
+
}
|
|
4034
|
+
),
|
|
4035
|
+
/* @__PURE__ */ E(
|
|
4036
|
+
ye,
|
|
4037
|
+
{
|
|
4038
|
+
onClick: d,
|
|
4039
|
+
disabled: n >= Math.ceil(r / o) - 1,
|
|
4040
|
+
"aria-label": "last page",
|
|
4041
|
+
children: t.direction === "rtl" ? /* @__PURE__ */ E(vr, {}) : /* @__PURE__ */ E(Er, {})
|
|
4042
|
+
}
|
|
4043
|
+
)
|
|
4058
4044
|
] });
|
|
4059
4045
|
}
|
|
4060
4046
|
function _a(e) {
|
|
4061
4047
|
const { children: t, index: r, ...n } = e;
|
|
4062
|
-
return /* @__PURE__ */ E(
|
|
4048
|
+
return /* @__PURE__ */ E(
|
|
4049
|
+
"div",
|
|
4050
|
+
{
|
|
4051
|
+
className: "tabPanel",
|
|
4052
|
+
role: "tabpanel",
|
|
4053
|
+
id: `vertical-tabpanel-${r}`,
|
|
4054
|
+
"aria-labelledby": `vertical-tab-${r}`,
|
|
4055
|
+
...n,
|
|
4056
|
+
children: /* @__PURE__ */ E($r, { sx: { p: 3 }, children: /* @__PURE__ */ E(an, { component: "span", children: t }) })
|
|
4057
|
+
}
|
|
4058
|
+
);
|
|
4063
4059
|
}
|
|
4064
4060
|
function Aa(e) {
|
|
4065
4061
|
return {
|
|
@@ -12,7 +12,6 @@ type DismissibleAlertProps = {
|
|
|
12
12
|
dismissible?: boolean;
|
|
13
13
|
dismissOnTimeOut?: boolean;
|
|
14
14
|
dismissTimeOut?: number;
|
|
15
|
-
ariaLabel?: string;
|
|
16
15
|
};
|
|
17
16
|
export declare function DismissibleAlert(props: Readonly<DismissibleAlertProps>): import("react/jsx-runtime").JSX.Element;
|
|
18
17
|
export {};
|
|
@@ -12,12 +12,11 @@ interface CancelButtonProps {
|
|
|
12
12
|
name?: string;
|
|
13
13
|
dataCy?: string;
|
|
14
14
|
sx?: SxProps<Theme>;
|
|
15
|
-
type?:
|
|
16
|
-
variant?:
|
|
17
|
-
color?:
|
|
15
|
+
type?: "button" | "submit" | "reset";
|
|
16
|
+
variant?: "text" | "outlined" | "contained";
|
|
17
|
+
color?: "inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning";
|
|
18
18
|
onClick: () => void;
|
|
19
19
|
startIcon?: React.ReactNode;
|
|
20
|
-
ariaLabel?: string;
|
|
21
20
|
}
|
|
22
21
|
/**
|
|
23
22
|
* Reusable Cancel Button component
|
|
@@ -3,15 +3,14 @@ interface DeleteButtonProps {
|
|
|
3
3
|
loading: boolean;
|
|
4
4
|
label?: string;
|
|
5
5
|
loadingLabel?: string;
|
|
6
|
-
loadingPosition?:
|
|
7
|
-
type?:
|
|
8
|
-
variant?:
|
|
9
|
-
color?:
|
|
6
|
+
loadingPosition?: "start" | "end" | "center";
|
|
7
|
+
type?: "button" | "submit" | "reset" | undefined;
|
|
8
|
+
variant?: "text" | "outlined" | "contained";
|
|
9
|
+
color?: "inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning";
|
|
10
10
|
name?: string;
|
|
11
11
|
dataCy?: string;
|
|
12
12
|
startIcon?: React.ReactNode;
|
|
13
13
|
onClick: () => void;
|
|
14
|
-
ariaLabel?: string;
|
|
15
14
|
}
|
|
16
15
|
export declare function DeleteButton(props: DeleteButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
17
16
|
export {};
|
|
@@ -2,8 +2,7 @@ import { default as React } from 'react';
|
|
|
2
2
|
interface EditIconButtonProps {
|
|
3
3
|
tooltipTitle: string;
|
|
4
4
|
onClick: React.Dispatch<React.SetStateAction<boolean>>;
|
|
5
|
-
color?:
|
|
6
|
-
ariaLabel?: string;
|
|
5
|
+
color?: "inherit" | "default" | "primary" | "secondary" | "error" | "info" | "success" | "warning";
|
|
7
6
|
}
|
|
8
7
|
export declare function EditIconButton(props: Readonly<EditIconButtonProps>): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export {};
|
|
@@ -11,11 +11,10 @@ interface SuccessButtonProps {
|
|
|
11
11
|
className?: string;
|
|
12
12
|
name?: string;
|
|
13
13
|
sx?: SxProps<Theme>;
|
|
14
|
-
type?:
|
|
14
|
+
type?: "button" | "submit" | "reset";
|
|
15
15
|
onClick: () => void;
|
|
16
16
|
startIcon?: React.ReactNode;
|
|
17
17
|
dataCy?: string;
|
|
18
|
-
ariaLabel?: string;
|
|
19
18
|
}
|
|
20
19
|
/**
|
|
21
20
|
* Reusable Excel Button component
|
|
@@ -4,8 +4,7 @@ interface GoBackButtonProps {
|
|
|
4
4
|
name?: string;
|
|
5
5
|
children?: React.ReactNode;
|
|
6
6
|
navigate: NavigateFunction;
|
|
7
|
-
color?:
|
|
8
|
-
ariaLabel?: string;
|
|
7
|
+
color?: "inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning";
|
|
9
8
|
}
|
|
10
9
|
export declare function GoBackButton(props: GoBackButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
export {};
|
|
@@ -12,12 +12,11 @@ interface HistoryButtonProps {
|
|
|
12
12
|
name?: string;
|
|
13
13
|
dataCy?: string;
|
|
14
14
|
sx?: SxProps<Theme>;
|
|
15
|
-
type?:
|
|
15
|
+
type?: "button" | "submit" | "reset";
|
|
16
16
|
onClick: () => void;
|
|
17
17
|
startIcon?: React.ReactNode;
|
|
18
|
-
variant?:
|
|
19
|
-
color?:
|
|
20
|
-
ariaLabel?: string;
|
|
18
|
+
variant?: "text" | "outlined" | "contained";
|
|
19
|
+
color?: "inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning";
|
|
21
20
|
}
|
|
22
21
|
/**
|
|
23
22
|
* Reusable History Button component
|
|
@@ -8,16 +8,15 @@ import { SxProps, Theme } from '@mui/material';
|
|
|
8
8
|
*/
|
|
9
9
|
interface Props {
|
|
10
10
|
children?: React.ReactNode;
|
|
11
|
-
type?:
|
|
11
|
+
type?: "button" | "submit" | "reset";
|
|
12
12
|
name?: string;
|
|
13
13
|
loading: boolean;
|
|
14
14
|
dataCy?: string;
|
|
15
15
|
startIcon?: React.ReactNode;
|
|
16
16
|
sx?: SxProps<Theme>;
|
|
17
17
|
onClick?: () => void;
|
|
18
|
-
variant?:
|
|
19
|
-
color?:
|
|
20
|
-
ariaLabel?: string;
|
|
18
|
+
variant?: "text" | "outlined" | "contained";
|
|
19
|
+
color?: "inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning";
|
|
21
20
|
}
|
|
22
21
|
/**
|
|
23
22
|
* Reusable Success Loading Button
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
interface ManageButtonProps {
|
|
3
|
-
size?:
|
|
4
|
-
variant?:
|
|
5
|
-
color?:
|
|
3
|
+
size?: "small" | "medium" | "large";
|
|
4
|
+
variant?: "text" | "outlined" | "contained";
|
|
5
|
+
color?: "inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning";
|
|
6
6
|
className?: string;
|
|
7
7
|
name?: string;
|
|
8
8
|
dataCy?: string;
|
|
9
9
|
startIcon?: React.ReactNode;
|
|
10
10
|
onClick: () => void;
|
|
11
11
|
children?: React.ReactNode;
|
|
12
|
-
ariaLabel?: string;
|
|
13
12
|
}
|
|
14
13
|
export declare function ManageButton(props: ManageButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
15
14
|
export {};
|
|
@@ -12,12 +12,11 @@ interface SuccessButtonProps {
|
|
|
12
12
|
name?: string;
|
|
13
13
|
dataCy?: string;
|
|
14
14
|
sx?: SxProps<Theme>;
|
|
15
|
-
type?:
|
|
15
|
+
type?: "button" | "submit" | "reset";
|
|
16
16
|
onClick: () => void;
|
|
17
17
|
startIcon?: React.ReactNode;
|
|
18
|
-
variant?:
|
|
19
|
-
color?:
|
|
20
|
-
ariaLabel?: string;
|
|
18
|
+
variant?: "text" | "outlined" | "contained";
|
|
19
|
+
color?: "inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning";
|
|
21
20
|
}
|
|
22
21
|
/**
|
|
23
22
|
* Reusable Success Button component
|
|
@@ -2,7 +2,7 @@ import { default as React } from 'react';
|
|
|
2
2
|
export declare function TabPanel(props: TabPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export declare function a11yProps(index: number): {
|
|
4
4
|
id: string;
|
|
5
|
-
|
|
5
|
+
"aria-controls": string;
|
|
6
6
|
};
|
|
7
7
|
interface TabPanelProps {
|
|
8
8
|
children?: React.ReactNode;
|
|
@@ -25,23 +25,23 @@ declare class FetchInstance {
|
|
|
25
25
|
/**
|
|
26
26
|
* GET request
|
|
27
27
|
*/
|
|
28
|
-
get<T = unknown>(url: string, config?: Omit<RequestConfig,
|
|
28
|
+
get<T = unknown>(url: string, config?: Omit<RequestConfig, "method" | "url">): Promise<FetchResponse<T>>;
|
|
29
29
|
/**
|
|
30
30
|
* POST request
|
|
31
31
|
*/
|
|
32
|
-
post<T = unknown>(url: string, data?: unknown, config?: Omit<RequestConfig,
|
|
32
|
+
post<T = unknown>(url: string, data?: unknown, config?: Omit<RequestConfig, "method" | "url" | "body">): Promise<FetchResponse<T>>;
|
|
33
33
|
/**
|
|
34
34
|
* PUT request
|
|
35
35
|
*/
|
|
36
|
-
put<T = unknown>(url: string, data?: unknown, config?: Omit<RequestConfig,
|
|
36
|
+
put<T = unknown>(url: string, data?: unknown, config?: Omit<RequestConfig, "method" | "url" | "body">): Promise<FetchResponse<T>>;
|
|
37
37
|
/**
|
|
38
38
|
* DELETE request
|
|
39
39
|
*/
|
|
40
|
-
delete<T = unknown>(url: string, config?: Omit<RequestConfig,
|
|
40
|
+
delete<T = unknown>(url: string, config?: Omit<RequestConfig, "method" | "url">): Promise<FetchResponse<T>>;
|
|
41
41
|
/**
|
|
42
42
|
* PATCH request
|
|
43
43
|
*/
|
|
44
|
-
patch<T = unknown>(url: string, data?: unknown, config?: Omit<RequestConfig,
|
|
44
|
+
patch<T = unknown>(url: string, data?: unknown, config?: Omit<RequestConfig, "method" | "url" | "body">): Promise<FetchResponse<T>>;
|
|
45
45
|
/**
|
|
46
46
|
* Generic request method
|
|
47
47
|
*/
|