@ankit119/doubletick-components 0.2.0 → 0.3.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/dist/doubletick-components.js +2531 -2899
- package/dist/doubletick-components.umd.cjs +75 -82
- package/package.json +1 -2
|
@@ -1,18 +1,77 @@
|
|
|
1
|
-
(function(me,Ke){typeof exports=="object"&&typeof module<"u"?Ke(exports,require("react/jsx-runtime"),require("react"),require("@mui/material"),require("@mui/icons-material/ExpandMore.js"),require("@emotion/react")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","@mui/material","@mui/icons-material/ExpandMore.js","@emotion/react"],Ke):(me=typeof globalThis<"u"?globalThis:me||self,Ke(me.DoubletickComponents={},me.jsxRuntime,me.React,me.MUI,me.ExpandMore,me.EmotionReact))})(this,(function(me,Ke,ve,ie,Cn,fe){"use strict";function lt(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const Xe=lt(Ke),xe=lt(ve);function xn(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}function En(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),e.nonce!==void 0&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}var wn=(function(){function e(t){var n=this;this._insertTag=function(o){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,i),n.tags.push(o)},this.isSpeedy=t.speedy===void 0?!0:t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var r=e.prototype;return r.hydrate=function(n){n.forEach(this._insertTag)},r.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(En(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=xn(o);try{i.insertRule(n,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},r.flush=function(){this.tags.forEach(function(n){var o;return(o=n.parentNode)==null?void 0:o.removeChild(n)}),this.tags=[],this.ctr=0},e})(),se="-ms-",dr="-moz-",Y="-webkit-",dt="comm",Lr="rule",Yr="decl",$n="@import",pt="@keyframes",On="@layer",_n=Math.abs,pr=String.fromCharCode,An=Object.assign;function Rn(e,r){return ae(e,0)^45?(((r<<2^ae(e,0))<<2^ae(e,1))<<2^ae(e,2))<<2^ae(e,3):0}function mt(e){return e.trim()}function Pn(e,r){return(e=r.exec(e))?e[0]:e}function V(e,r,t){return e.replace(r,t)}function Vr(e,r){return e.indexOf(r)}function ae(e,r){return e.charCodeAt(r)|0}function Qe(e,r,t){return e.slice(r,t)}function Ee(e){return e.length}function Wr(e){return e.length}function mr(e,r){return r.push(e),e}function kn(e,r){return e.map(r).join("")}var gr=1,je=1,gt=0,le=0,oe=0,Fe="";function hr(e,r,t,n,o,i,c){return{value:e,root:r,parent:t,type:n,props:o,children:i,line:gr,column:je,length:c,return:""}}function Je(e,r){return An(hr("",null,null,"",null,null,0),e,{length:-e.length},r)}function In(){return oe}function Mn(){return oe=le>0?ae(Fe,--le):0,je--,oe===10&&(je=1,gr--),oe}function ge(){return oe=le<gt?ae(Fe,le++):0,je++,oe===10&&(je=1,gr++),oe}function we(){return ae(Fe,le)}function yr(){return le}function Ze(e,r){return Qe(Fe,e,r)}function er(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ht(e){return gr=je=1,gt=Ee(Fe=e),le=0,[]}function yt(e){return Fe="",e}function br(e){return mt(Ze(le-1,zr(e===91?e+2:e===40?e+1:e)))}function Nn(e){for(;(oe=we())&&oe<33;)ge();return er(e)>2||er(oe)>3?"":" "}function Dn(e,r){for(;--r&&ge()&&!(oe<48||oe>102||oe>57&&oe<65||oe>70&&oe<97););return Ze(e,yr()+(r<6&&we()==32&&ge()==32))}function zr(e){for(;ge();)switch(oe){case e:return le;case 34:case 39:e!==34&&e!==39&&zr(oe);break;case 40:e===41&&zr(e);break;case 92:ge();break}return le}function Bn(e,r){for(;ge()&&e+oe!==57;)if(e+oe===84&&we()===47)break;return"/*"+Ze(r,le-1)+"*"+pr(e===47?e:ge())}function jn(e){for(;!er(we());)ge();return Ze(e,le)}function Fn(e){return yt(vr("",null,null,null,[""],e=ht(e),0,[0],e))}function vr(e,r,t,n,o,i,c,u,l){for(var d=0,b=0,p=c,y=0,v=0,g=0,s=1,E=1,w=1,A=0,x="",T=o,f=i,C=n,O=x;E;)switch(g=A,A=ge()){case 40:if(g!=108&&ae(O,p-1)==58){Vr(O+=V(br(A),"&","&\f"),"&\f")!=-1&&(w=-1);break}case 34:case 39:case 91:O+=br(A);break;case 9:case 10:case 13:case 32:O+=Nn(g);break;case 92:O+=Dn(yr()-1,7);continue;case 47:switch(we()){case 42:case 47:mr(Ln(Bn(ge(),yr()),r,t),l);break;default:O+="/"}break;case 123*s:u[d++]=Ee(O)*w;case 125*s:case 59:case 0:switch(A){case 0:case 125:E=0;case 59+b:w==-1&&(O=V(O,/\f/g,"")),v>0&&Ee(O)-p&&mr(v>32?vt(O+";",n,t,p-1):vt(V(O," ","")+";",n,t,p-2),l);break;case 59:O+=";";default:if(mr(C=bt(O,r,t,d,b,o,u,x,T=[],f=[],p),i),A===123)if(b===0)vr(O,r,C,C,T,i,p,u,f);else switch(y===99&&ae(O,3)===110?100:y){case 100:case 108:case 109:case 115:vr(e,C,C,n&&mr(bt(e,C,C,0,0,o,u,x,o,T=[],p),f),o,f,p,u,n?T:f);break;default:vr(O,C,C,C,[""],f,0,u,f)}}d=b=v=0,s=w=1,x=O="",p=c;break;case 58:p=1+Ee(O),v=g;default:if(s<1){if(A==123)--s;else if(A==125&&s++==0&&Mn()==125)continue}switch(O+=pr(A),A*s){case 38:w=b>0?1:(O+="\f",-1);break;case 44:u[d++]=(Ee(O)-1)*w,w=1;break;case 64:we()===45&&(O+=br(ge())),y=we(),b=p=Ee(x=O+=jn(yr())),A++;break;case 45:g===45&&Ee(O)==2&&(s=0)}}return i}function bt(e,r,t,n,o,i,c,u,l,d,b){for(var p=o-1,y=o===0?i:[""],v=Wr(y),g=0,s=0,E=0;g<n;++g)for(var w=0,A=Qe(e,p+1,p=_n(s=c[g])),x=e;w<v;++w)(x=mt(s>0?y[w]+" "+A:V(A,/&\f/g,y[w])))&&(l[E++]=x);return hr(e,r,t,o===0?Lr:u,l,d,b)}function Ln(e,r,t){return hr(e,r,t,dt,pr(In()),Qe(e,2,-2),0)}function vt(e,r,t,n){return hr(e,r,t,Yr,Qe(e,0,n),Qe(e,n+1,-1),n)}function Le(e,r){for(var t="",n=Wr(e),o=0;o<n;o++)t+=r(e[o],o,e,r)||"";return t}function Yn(e,r,t,n){switch(e.type){case On:if(e.children.length)break;case $n:case Yr:return e.return=e.return||e.value;case dt:return"";case pt:return e.return=e.value+"{"+Le(e.children,n)+"}";case Lr:e.value=e.props.join(",")}return Ee(t=Le(e.children,n))?e.return=e.value+"{"+t+"}":""}function Vn(e){var r=Wr(e);return function(t,n,o,i){for(var c="",u=0;u<r;u++)c+=e[u](t,n,o,i)||"";return c}}function Wn(e){return function(r){r.root||(r=r.return)&&e(r)}}function zn(e){var r=Object.create(null);return function(t){return r[t]===void 0&&(r[t]=e(t)),r[t]}}var Un=function(r,t,n){for(var o=0,i=0;o=i,i=we(),o===38&&i===12&&(t[n]=1),!er(i);)ge();return Ze(r,le)},qn=function(r,t){var n=-1,o=44;do switch(er(o)){case 0:o===38&&we()===12&&(t[n]=1),r[n]+=Un(le-1,t,n);break;case 2:r[n]+=br(o);break;case 4:if(o===44){r[++n]=we()===58?"&\f":"",t[n]=r[n].length;break}default:r[n]+=pr(o)}while(o=ge());return r},Gn=function(r,t){return yt(qn(ht(r),t))},St=new WeakMap,Hn=function(r){if(!(r.type!=="rule"||!r.parent||r.length<1)){for(var t=r.value,n=r.parent,o=r.column===n.column&&r.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(r.props.length===1&&t.charCodeAt(0)!==58&&!St.get(n))&&!o){St.set(r,!0);for(var i=[],c=Gn(t,i),u=n.props,l=0,d=0;l<c.length;l++)for(var b=0;b<u.length;b++,d++)r.props[d]=i[l]?c[l].replace(/&\f/g,u[b]):u[b]+" "+c[l]}}},Kn=function(r){if(r.type==="decl"){var t=r.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(r.return="",r.value="")}};function Tt(e,r){switch(Rn(e,r)){case 5103:return Y+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Y+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Y+e+dr+e+se+e+e;case 6828:case 4268:return Y+e+se+e+e;case 6165:return Y+e+se+"flex-"+e+e;case 5187:return Y+e+V(e,/(\w+).+(:[^]+)/,Y+"box-$1$2"+se+"flex-$1$2")+e;case 5443:return Y+e+se+"flex-item-"+V(e,/flex-|-self/,"")+e;case 4675:return Y+e+se+"flex-line-pack"+V(e,/align-content|flex-|-self/,"")+e;case 5548:return Y+e+se+V(e,"shrink","negative")+e;case 5292:return Y+e+se+V(e,"basis","preferred-size")+e;case 6060:return Y+"box-"+V(e,"-grow","")+Y+e+se+V(e,"grow","positive")+e;case 4554:return Y+V(e,/([^-])(transform)/g,"$1"+Y+"$2")+e;case 6187:return V(V(V(e,/(zoom-|grab)/,Y+"$1"),/(image-set)/,Y+"$1"),e,"")+e;case 5495:case 3959:return V(e,/(image-set\([^]*)/,Y+"$1$`$1");case 4968:return V(V(e,/(.+:)(flex-)?(.*)/,Y+"box-pack:$3"+se+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Y+e+e;case 4095:case 3583:case 4068:case 2532:return V(e,/(.+)-inline(.+)/,Y+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ee(e)-1-r>6)switch(ae(e,r+1)){case 109:if(ae(e,r+4)!==45)break;case 102:return V(e,/(.+:)(.+)-([^]+)/,"$1"+Y+"$2-$3$1"+dr+(ae(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~Vr(e,"stretch")?Tt(V(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(ae(e,r+1)!==115)break;case 6444:switch(ae(e,Ee(e)-3-(~Vr(e,"!important")&&10))){case 107:return V(e,":",":"+Y)+e;case 101:return V(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Y+(ae(e,14)===45?"inline-":"")+"box$3$1"+Y+"$2$3$1"+se+"$2box$3")+e}break;case 5936:switch(ae(e,r+11)){case 114:return Y+e+se+V(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Y+e+se+V(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Y+e+se+V(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Y+e+se+e+e}return e}var Xn=function(r,t,n,o){if(r.length>-1&&!r.return)switch(r.type){case Yr:r.return=Tt(r.value,r.length);break;case pt:return Le([Je(r,{value:V(r.value,"@","@"+Y)})],o);case Lr:if(r.length)return kn(r.props,function(i){switch(Pn(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Le([Je(r,{props:[V(i,/:(read-\w+)/,":"+dr+"$1")]})],o);case"::placeholder":return Le([Je(r,{props:[V(i,/:(plac\w+)/,":"+Y+"input-$1")]}),Je(r,{props:[V(i,/:(plac\w+)/,":"+dr+"$1")]}),Je(r,{props:[V(i,/:(plac\w+)/,se+"input-$1")]})],o)}return""})}},Qn=[Xn],Jn=function(r){var t=r.key;if(t==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(s){var E=s.getAttribute("data-emotion");E.indexOf(" ")!==-1&&(document.head.appendChild(s),s.setAttribute("data-s",""))})}var o=r.stylisPlugins||Qn,i={},c,u=[];c=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(s){for(var E=s.getAttribute("data-emotion").split(" "),w=1;w<E.length;w++)i[E[w]]=!0;u.push(s)});var l,d=[Hn,Kn];{var b,p=[Yn,Wn(function(s){b.insert(s)})],y=Vn(d.concat(o,p)),v=function(E){return Le(Fn(E),y)};l=function(E,w,A,x){b=A,v(E?E+"{"+w.styles+"}":w.styles),x&&(g.inserted[w.name]=!0)}}var g={key:t,sheet:new wn({key:t,container:c,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:i,registered:{},insert:l};return g.sheet.hydrate(u),g};function Zn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Sr={exports:{}},U={};/** @license React v16.13.1
|
|
1
|
+
(function(se,Q){typeof exports=="object"&&typeof module<"u"?Q(exports,require("@emotion/react/jsx-runtime"),require("@mui/material"),require("react"),require("react/jsx-runtime"),require("@emotion/styled"),require("@emotion/react")):typeof define=="function"&&define.amd?define(["exports","@emotion/react/jsx-runtime","@mui/material","react","react/jsx-runtime","@emotion/styled","@emotion/react"],Q):(se=typeof globalThis<"u"?globalThis:se||self,Q(se.DoubletickComponents={},se.EmotionReact,se.MUI,se.React,se.jsxRuntime,se.EmotionStyled,se.EmotionReact))})(this,(function(se,Q,oe,ge,qe,Bt,ce){"use strict";function Dt(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const Ce=Dt(ge);function jt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ge={exports:{}},q={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-is.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var Br;function Ft(){if(Br)return q;Br=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),c=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.view_transition"),v=Symbol.for("react.client.reference");function y(s){if(typeof s=="object"&&s!==null){var T=s.$$typeof;switch(T){case e:switch(s=s.type,s){case t:case o:case n:case u:case f:case p:return s;default:switch(s=s&&s.$$typeof,s){case c:case l:case m:case g:return s;case i:return s;default:return T}}case r:return T}}}return q.ContextConsumer=i,q.ContextProvider=c,q.Element=e,q.ForwardRef=l,q.Fragment=t,q.Lazy=m,q.Memo=g,q.Portal=r,q.Profiler=o,q.StrictMode=n,q.Suspense=u,q.SuspenseList=f,q.isContextConsumer=function(s){return y(s)===i},q.isContextProvider=function(s){return y(s)===c},q.isElement=function(s){return typeof s=="object"&&s!==null&&s.$$typeof===e},q.isForwardRef=function(s){return y(s)===l},q.isFragment=function(s){return y(s)===t},q.isLazy=function(s){return y(s)===m},q.isMemo=function(s){return y(s)===g},q.isPortal=function(s){return y(s)===r},q.isProfiler=function(s){return y(s)===o},q.isStrictMode=function(s){return y(s)===n},q.isSuspense=function(s){return y(s)===u},q.isSuspenseList=function(s){return y(s)===f},q.isValidElementType=function(s){return typeof s=="string"||typeof s=="function"||s===t||s===o||s===n||s===u||s===f||typeof s=="object"&&s!==null&&(s.$$typeof===m||s.$$typeof===g||s.$$typeof===c||s.$$typeof===i||s.$$typeof===l||s.$$typeof===v||s.getModuleId!==void 0)},q.typeOf=y,q}var G={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react-is.development.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var Dr;function Lt(){return Dr||(Dr=1,process.env.NODE_ENV!=="production"&&(function(){function e(s){if(typeof s=="object"&&s!==null){var T=s.$$typeof;switch(T){case r:switch(s=s.type,s){case n:case i:case o:case f:case g:case v:return s;default:switch(s=s&&s.$$typeof,s){case l:case u:case p:case m:return s;case c:return s;default:return T}}case t:return T}}}var r=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),v=Symbol.for("react.view_transition"),y=Symbol.for("react.client.reference");G.ContextConsumer=c,G.ContextProvider=l,G.Element=r,G.ForwardRef=u,G.Fragment=n,G.Lazy=p,G.Memo=m,G.Portal=t,G.Profiler=i,G.StrictMode=o,G.Suspense=f,G.SuspenseList=g,G.isContextConsumer=function(s){return e(s)===c},G.isContextProvider=function(s){return e(s)===l},G.isElement=function(s){return typeof s=="object"&&s!==null&&s.$$typeof===r},G.isForwardRef=function(s){return e(s)===u},G.isFragment=function(s){return e(s)===n},G.isLazy=function(s){return e(s)===p},G.isMemo=function(s){return e(s)===m},G.isPortal=function(s){return e(s)===t},G.isProfiler=function(s){return e(s)===i},G.isStrictMode=function(s){return e(s)===o},G.isSuspense=function(s){return e(s)===f},G.isSuspenseList=function(s){return e(s)===g},G.isValidElementType=function(s){return typeof s=="string"||typeof s=="function"||s===n||s===i||s===o||s===f||s===g||typeof s=="object"&&s!==null&&(s.$$typeof===p||s.$$typeof===m||s.$$typeof===l||s.$$typeof===c||s.$$typeof===u||s.$$typeof===y||s.getModuleId!==void 0)},G.typeOf=e})()),G}var jr;function Vt(){return jr||(jr=1,process.env.NODE_ENV==="production"?Ge.exports=Ft():Ge.exports=Lt()),Ge.exports}var He=Vt();function be(e){if(typeof e!="object"||e===null)return!1;const r=Object.getPrototypeOf(e);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Fr(e){if(Ce.isValidElement(e)||He.isValidElementType(e)||!be(e))return e;const r={};return Object.keys(e).forEach(t=>{r[t]=Fr(e[t])}),r}function ue(e,r,t={clone:!0}){const n=t.clone?{...e}:e;return be(e)&&be(r)&&Object.keys(r).forEach(o=>{Ce.isValidElement(r[o])||He.isValidElementType(r[o])?n[o]=r[o]:be(r[o])&&Object.prototype.hasOwnProperty.call(e,o)&&be(e[o])?n[o]=ue(e[o],r[o],t):t.clone?n[o]=be(r[o])?Fr(r[o]):r[o]:n[o]=r[o]}),n}var Ke={exports:{}},Qe={exports:{}},W={};/** @license React v16.13.1
|
|
2
18
|
* react-is.production.min.js
|
|
3
19
|
*
|
|
4
20
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5
21
|
*
|
|
6
22
|
* This source code is licensed under the MIT license found in the
|
|
7
23
|
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/var
|
|
24
|
+
*/var Lr;function zt(){if(Lr)return W;Lr=1;var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,s=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,$=e?Symbol.for("react.responder"):60118,J=e?Symbol.for("react.scope"):60119;function O(h){if(typeof h=="object"&&h!==null){var S=h.$$typeof;switch(S){case r:switch(h=h.type,h){case u:case f:case n:case i:case o:case m:return h;default:switch(h=h&&h.$$typeof,h){case l:case g:case y:case v:case c:return h;default:return S}}case t:return S}}}function E(h){return O(h)===f}return W.AsyncMode=u,W.ConcurrentMode=f,W.ContextConsumer=l,W.ContextProvider=c,W.Element=r,W.ForwardRef=g,W.Fragment=n,W.Lazy=y,W.Memo=v,W.Portal=t,W.Profiler=i,W.StrictMode=o,W.Suspense=m,W.isAsyncMode=function(h){return E(h)||O(h)===u},W.isConcurrentMode=E,W.isContextConsumer=function(h){return O(h)===l},W.isContextProvider=function(h){return O(h)===c},W.isElement=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===r},W.isForwardRef=function(h){return O(h)===g},W.isFragment=function(h){return O(h)===n},W.isLazy=function(h){return O(h)===y},W.isMemo=function(h){return O(h)===v},W.isPortal=function(h){return O(h)===t},W.isProfiler=function(h){return O(h)===i},W.isStrictMode=function(h){return O(h)===o},W.isSuspense=function(h){return O(h)===m},W.isValidElementType=function(h){return typeof h=="string"||typeof h=="function"||h===n||h===f||h===i||h===o||h===m||h===p||typeof h=="object"&&h!==null&&(h.$$typeof===y||h.$$typeof===v||h.$$typeof===c||h.$$typeof===l||h.$$typeof===g||h.$$typeof===T||h.$$typeof===$||h.$$typeof===J||h.$$typeof===s)},W.typeOf=O,W}var U={};/** @license React v16.13.1
|
|
9
25
|
* react-is.development.js
|
|
10
26
|
*
|
|
11
27
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
12
28
|
*
|
|
13
29
|
* This source code is licensed under the MIT license found in the
|
|
14
30
|
* LICENSE file in the root directory of this source tree.
|
|
15
|
-
*/var
|
|
31
|
+
*/var Vr;function Wt(){return Vr||(Vr=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,s=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,$=e?Symbol.for("react.responder"):60118,J=e?Symbol.for("react.scope"):60119;function O(C){return typeof C=="string"||typeof C=="function"||C===n||C===f||C===i||C===o||C===m||C===p||typeof C=="object"&&C!==null&&(C.$$typeof===y||C.$$typeof===v||C.$$typeof===c||C.$$typeof===l||C.$$typeof===g||C.$$typeof===T||C.$$typeof===$||C.$$typeof===J||C.$$typeof===s)}function E(C){if(typeof C=="object"&&C!==null){var he=C.$$typeof;switch(he){case r:var mr=C.type;switch(mr){case u:case f:case n:case i:case o:case m:return mr;default:var Nt=mr&&mr.$$typeof;switch(Nt){case l:case g:case y:case v:case c:return Nt;default:return he}}case t:return he}}}var h=u,S=f,A=l,I=c,k=r,a=g,w=n,M=y,j=v,te=t,ne=i,ie=o,de=m,Ae=!1;function je(C){return Ae||(Ae=!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.")),b(C)||E(C)===u}function b(C){return E(C)===f}function x(C){return E(C)===l}function D(C){return E(C)===c}function N(C){return typeof C=="object"&&C!==null&&C.$$typeof===r}function P(C){return E(C)===g}function L(C){return E(C)===n}function R(C){return E(C)===y}function B(C){return E(C)===v}function V(C){return E(C)===t}function Y(C){return E(C)===i}function z(C){return E(C)===o}function le(C){return E(C)===m}U.AsyncMode=h,U.ConcurrentMode=S,U.ContextConsumer=A,U.ContextProvider=I,U.Element=k,U.ForwardRef=a,U.Fragment=w,U.Lazy=M,U.Memo=j,U.Portal=te,U.Profiler=ne,U.StrictMode=ie,U.Suspense=de,U.isAsyncMode=je,U.isConcurrentMode=b,U.isContextConsumer=x,U.isContextProvider=D,U.isElement=N,U.isForwardRef=P,U.isFragment=L,U.isLazy=R,U.isMemo=B,U.isPortal=V,U.isProfiler=Y,U.isStrictMode=z,U.isSuspense=le,U.isValidElementType=O,U.typeOf=E})()),U}var zr;function Wr(){return zr||(zr=1,process.env.NODE_ENV==="production"?Qe.exports=zt():Qe.exports=Wt()),Qe.exports}/*
|
|
32
|
+
object-assign
|
|
33
|
+
(c) Sindre Sorhus
|
|
34
|
+
@license MIT
|
|
35
|
+
*/var gr,Ur;function Ut(){if(Ur)return gr;Ur=1;var e=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var c={},l=0;l<10;l++)c["_"+String.fromCharCode(l)]=l;var u=Object.getOwnPropertyNames(c).map(function(g){return c[g]});if(u.join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(g){f[g]=g}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return gr=o()?Object.assign:function(i,c){for(var l,u=n(i),f,g=1;g<arguments.length;g++){l=Object(arguments[g]);for(var m in l)r.call(l,m)&&(u[m]=l[m]);if(e){f=e(l);for(var p=0;p<f.length;p++)t.call(l,f[p])&&(u[f[p]]=l[f[p]])}}return u},gr}var yr,Yr;function hr(){if(Yr)return yr;Yr=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return yr=e,yr}var br,qr;function Gr(){return qr||(qr=1,br=Function.call.bind(Object.prototype.hasOwnProperty)),br}var vr,Hr;function Yt(){if(Hr)return vr;Hr=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var r=hr(),t={},n=Gr();e=function(i){var c="Warning: "+i;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}}}function o(i,c,l,u,f){if(process.env.NODE_ENV!=="production"){for(var g in i)if(n(i,g)){var m;try{if(typeof i[g]!="function"){var p=Error((u||"React class")+": "+l+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[g]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}m=i[g](c,g,u,l,null,r)}catch(y){m=y}if(m&&!(m instanceof Error)&&e((u||"React class")+": type specification of "+l+" `"+g+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof m+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),m instanceof Error&&!(m.message in t)){t[m.message]=!0;var v=f?f():"";e("Failed "+l+" type: "+m.message+(v??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(t={})},vr=o,vr}var Sr,Kr;function qt(){if(Kr)return Sr;Kr=1;var e=Wr(),r=Ut(),t=hr(),n=Gr(),o=Yt(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(l){var u="Warning: "+l;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}});function c(){return null}return Sr=function(l,u){var f=typeof Symbol=="function"&&Symbol.iterator,g="@@iterator";function m(b){var x=b&&(f&&b[f]||b[g]);if(typeof x=="function")return x}var p="<<anonymous>>",v={array:$("array"),bigint:$("bigint"),bool:$("boolean"),func:$("function"),number:$("number"),object:$("object"),string:$("string"),symbol:$("symbol"),any:J(),arrayOf:O,element:E(),elementType:h(),instanceOf:S,node:a(),objectOf:I,oneOf:A,oneOfType:k,shape:M,exact:j};function y(b,x){return b===x?b!==0||1/b===1/x:b!==b&&x!==x}function s(b,x){this.message=b,this.data=x&&typeof x=="object"?x:{},this.stack=""}s.prototype=Error.prototype;function T(b){if(process.env.NODE_ENV!=="production")var x={},D=0;function N(L,R,B,V,Y,z,le){if(V=V||p,z=z||B,le!==t){if(u){var C=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw C.name="Invariant Violation",C}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var he=V+":"+B;!x[he]&&D<3&&(i("You are manually calling a React.PropTypes validation function for the `"+z+"` 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."),x[he]=!0,D++)}}return R[B]==null?L?R[B]===null?new s("The "+Y+" `"+z+"` is marked as required "+("in `"+V+"`, but its value is `null`.")):new s("The "+Y+" `"+z+"` is marked as required in "+("`"+V+"`, but its value is `undefined`.")):null:b(R,B,V,Y,z)}var P=N.bind(null,!1);return P.isRequired=N.bind(null,!0),P}function $(b){function x(D,N,P,L,R,B){var V=D[N],Y=ie(V);if(Y!==b){var z=de(V);return new s("Invalid "+L+" `"+R+"` of type "+("`"+z+"` supplied to `"+P+"`, expected ")+("`"+b+"`."),{expectedType:b})}return null}return T(x)}function J(){return T(c)}function O(b){function x(D,N,P,L,R){if(typeof b!="function")return new s("Property `"+R+"` of component `"+P+"` has invalid PropType notation inside arrayOf.");var B=D[N];if(!Array.isArray(B)){var V=ie(B);return new s("Invalid "+L+" `"+R+"` of type "+("`"+V+"` supplied to `"+P+"`, expected an array."))}for(var Y=0;Y<B.length;Y++){var z=b(B,Y,P,L,R+"["+Y+"]",t);if(z instanceof Error)return z}return null}return T(x)}function E(){function b(x,D,N,P,L){var R=x[D];if(!l(R)){var B=ie(R);return new s("Invalid "+P+" `"+L+"` of type "+("`"+B+"` supplied to `"+N+"`, expected a single ReactElement."))}return null}return T(b)}function h(){function b(x,D,N,P,L){var R=x[D];if(!e.isValidElementType(R)){var B=ie(R);return new s("Invalid "+P+" `"+L+"` of type "+("`"+B+"` supplied to `"+N+"`, expected a single ReactElement type."))}return null}return T(b)}function S(b){function x(D,N,P,L,R){if(!(D[N]instanceof b)){var B=b.name||p,V=je(D[N]);return new s("Invalid "+L+" `"+R+"` of type "+("`"+V+"` supplied to `"+P+"`, expected ")+("instance of `"+B+"`."))}return null}return T(x)}function A(b){if(!Array.isArray(b))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),c;function x(D,N,P,L,R){for(var B=D[N],V=0;V<b.length;V++)if(y(B,b[V]))return null;var Y=JSON.stringify(b,function(le,C){var he=de(C);return he==="symbol"?String(C):C});return new s("Invalid "+L+" `"+R+"` of value `"+String(B)+"` "+("supplied to `"+P+"`, expected one of "+Y+"."))}return T(x)}function I(b){function x(D,N,P,L,R){if(typeof b!="function")return new s("Property `"+R+"` of component `"+P+"` has invalid PropType notation inside objectOf.");var B=D[N],V=ie(B);if(V!=="object")return new s("Invalid "+L+" `"+R+"` of type "+("`"+V+"` supplied to `"+P+"`, expected an object."));for(var Y in B)if(n(B,Y)){var z=b(B,Y,P,L,R+"."+Y,t);if(z instanceof Error)return z}return null}return T(x)}function k(b){if(!Array.isArray(b))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),c;for(var x=0;x<b.length;x++){var D=b[x];if(typeof D!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Ae(D)+" at index "+x+"."),c}function N(P,L,R,B,V){for(var Y=[],z=0;z<b.length;z++){var le=b[z],C=le(P,L,R,B,V,t);if(C==null)return null;C.data&&n(C.data,"expectedType")&&Y.push(C.data.expectedType)}var he=Y.length>0?", expected one of type ["+Y.join(", ")+"]":"";return new s("Invalid "+B+" `"+V+"` supplied to "+("`"+R+"`"+he+"."))}return T(N)}function a(){function b(x,D,N,P,L){return te(x[D])?null:new s("Invalid "+P+" `"+L+"` supplied to "+("`"+N+"`, expected a ReactNode."))}return T(b)}function w(b,x,D,N,P){return new s((b||"React class")+": "+x+" type `"+D+"."+N+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+P+"`.")}function M(b){function x(D,N,P,L,R){var B=D[N],V=ie(B);if(V!=="object")return new s("Invalid "+L+" `"+R+"` of type `"+V+"` "+("supplied to `"+P+"`, expected `object`."));for(var Y in b){var z=b[Y];if(typeof z!="function")return w(P,L,R,Y,de(z));var le=z(B,Y,P,L,R+"."+Y,t);if(le)return le}return null}return T(x)}function j(b){function x(D,N,P,L,R){var B=D[N],V=ie(B);if(V!=="object")return new s("Invalid "+L+" `"+R+"` of type `"+V+"` "+("supplied to `"+P+"`, expected `object`."));var Y=r({},D[N],b);for(var z in Y){var le=b[z];if(n(b,z)&&typeof le!="function")return w(P,L,R,z,de(le));if(!le)return new s("Invalid "+L+" `"+R+"` key `"+z+"` supplied to `"+P+"`.\nBad object: "+JSON.stringify(D[N],null," ")+`
|
|
36
|
+
Valid keys: `+JSON.stringify(Object.keys(b),null," "));var C=le(B,z,P,L,R+"."+z,t);if(C)return C}return null}return T(x)}function te(b){switch(typeof b){case"number":case"string":case"undefined":return!0;case"boolean":return!b;case"object":if(Array.isArray(b))return b.every(te);if(b===null||l(b))return!0;var x=m(b);if(x){var D=x.call(b),N;if(x!==b.entries){for(;!(N=D.next()).done;)if(!te(N.value))return!1}else for(;!(N=D.next()).done;){var P=N.value;if(P&&!te(P[1]))return!1}}else return!1;return!0;default:return!1}}function ne(b,x){return b==="symbol"?!0:x?x["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&x instanceof Symbol:!1}function ie(b){var x=typeof b;return Array.isArray(b)?"array":b instanceof RegExp?"object":ne(x,b)?"symbol":x}function de(b){if(typeof b>"u"||b===null)return""+b;var x=ie(b);if(x==="object"){if(b instanceof Date)return"date";if(b instanceof RegExp)return"regexp"}return x}function Ae(b){var x=de(b);switch(x){case"array":case"object":return"an "+x;case"boolean":case"date":case"regexp":return"a "+x;default:return x}}function je(b){return!b.constructor||!b.constructor.name?p:b.constructor.name}return v.checkPropTypes=o,v.resetWarningCache=o.resetWarningCache,v.PropTypes=v,v},Sr}var Cr,Qr;function Gt(){if(Qr)return Cr;Qr=1;var e=hr();function r(){}function t(){}return t.resetWarningCache=r,Cr=function(){function n(c,l,u,f,g,m){if(m!==e){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:t,resetWarningCache:r};return i.PropTypes=i,i},Cr}var Xr;function Ht(){if(Xr)return Ke.exports;if(Xr=1,process.env.NODE_ENV!=="production"){var e=Wr(),r=!0;Ke.exports=qt()(e.isElement,r)}else Ke.exports=Gt()();return Ke.exports}var Kt=Ht();const F=jt(Kt);function Te(e,...r){const t=new URL(`https://mui.com/production-error/?code=${e}`);return r.forEach(n=>t.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${t} for the full message.`}function Jr(e,r=""){return e.displayName||e.name||r}function Zr(e,r,t){const n=Jr(r);return e.displayName||(n!==""?`${t}(${n})`:t)}function Qt(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Jr(e,"Component");if(typeof e=="object")switch(e.$$typeof){case He.ForwardRef:return Zr(e,e.render,"ForwardRef");case He.Memo:return Zr(e,e.type,"memo");default:return}}}function Oe(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Te(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Tr(e,r){const t={...r};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const o=n;if(o==="components"||o==="slots")t[o]={...e[o],...t[o]};else if(o==="componentsProps"||o==="slotProps"){const i=e[o],c=r[o];if(!c)t[o]=i||{};else if(!i)t[o]=c;else{t[o]={...c};for(const l in i)if(Object.prototype.hasOwnProperty.call(i,l)){const u=l;t[o][u]=Tr(i[u],c[u])}}}else t[o]===void 0&&(t[o]=e[o])}return t}function Xt(e,r,t=void 0){const n={};for(const o in e){const i=e[o];let c="",l=!0;for(let u=0;u<i.length;u+=1){const f=i[u];f&&(c+=(l===!0?"":" ")+r(f),l=!1,t&&t[f]&&(c+=" "+t[f]))}n[o]=c}return n}const et=e=>e,Jt=(()=>{let e=et;return{configure(r){e=r},generate(r){return e(r)},reset(){e=et}}})(),Zt={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 xr(e,r,t="Mui"){const n=Zt[r];return n?`${t}-${n}`:`${Jt.generate(e)}-${r}`}function en(e,r,t="Mui"){const n={};return r.forEach(o=>{n[o]=xr(e,o,t)}),n}function rn(e,r=Number.MIN_SAFE_INTEGER,t=Number.MAX_SAFE_INTEGER){return Math.max(r,Math.min(e,t))}function rt(e){var r,t,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(r=0;r<o;r++)e[r]&&(t=rt(e[r]))&&(n&&(n+=" "),n+=t)}else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function tn(){for(var e,r,t=0,n="",o=arguments.length;t<o;t++)(e=arguments[t])&&(r=rt(e))&&(n&&(n+=" "),n+=r);return n}function Fe(e,r){return r?ue(e,r,{clone:!1}):e}const xe=process.env.NODE_ENV!=="production"?F.oneOfType([F.number,F.string,F.object,F.array]):{};function tt(e,r){if(!e.containerQueries)return r;const t=Object.keys(r).filter(n=>n.startsWith("@container")).sort((n,o)=>{var c,l;const i=/min-width:\s*([0-9.]+)/;return+(((c=n.match(i))==null?void 0:c[1])||0)-+(((l=o.match(i))==null?void 0:l[1])||0)});return t.length?t.reduce((n,o)=>{const i=r[o];return delete n[o],n[o]=i,n},{...r}):r}function nn(e,r){return r==="@"||r.startsWith("@")&&(e.some(t=>r.startsWith(`@${t}`))||!!r.match(/^@\d/))}function on(e,r){const t=r.match(/^@([^/]+)?\/?(.+)?$/);if(!t){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${r})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
37
|
+
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:Te(18,`(${r})`));return null}const[,n,o]=t,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function an(e){const r=(i,c)=>i.replace("@media",c?`@container ${c}`:"@container");function t(i,c){i.up=(...l)=>r(e.breakpoints.up(...l),c),i.down=(...l)=>r(e.breakpoints.down(...l),c),i.between=(...l)=>r(e.breakpoints.between(...l),c),i.only=(...l)=>r(e.breakpoints.only(...l),c),i.not=(...l)=>{const u=r(e.breakpoints.not(...l),c);return u.includes("not all and")?u.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):u}}const n={},o=i=>(t(n,i),n);return t(o),{...e,containerQueries:o}}const Xe={xs:0,sm:600,md:900,lg:1200,xl:1536},nt={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Xe[e]}px)`},sn={containerQueries:e=>({up:r=>{let t=typeof r=="number"?r:Xe[r]||r;return typeof t=="number"&&(t=`${t}px`),e?`@container ${e} (min-width:${t})`:`@container (min-width:${t})`}})};function ve(e,r,t){const n=e.theme||{};if(Array.isArray(r)){const i=n.breakpoints||nt;return r.reduce((c,l,u)=>(c[i.up(i.keys[u])]=t(r[u]),c),{})}if(typeof r=="object"){const i=n.breakpoints||nt;return Object.keys(r).reduce((c,l)=>{if(nn(i.keys,l)){const u=on(n.containerQueries?n:sn,l);u&&(c[u]=t(r[l],l))}else if(Object.keys(i.values||Xe).includes(l)){const u=i.up(l);c[u]=t(r[l],l)}else{const u=l;c[u]=r[u]}return c},{})}return t(r)}function cn(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function ot(e,r){return e.reduce((t,n)=>{const o=t[n];return(!o||Object.keys(o).length===0)&&delete t[n],t},r)}function Je(e,r,t=!0){if(!r||typeof r!="string")return null;if(e&&e.vars&&t){const n=`vars.${r}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return r.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function Ze(e,r,t,n=t){let o;return typeof e=="function"?o=e(t):Array.isArray(e)?o=e[t]||n:o=Je(e,t)||n,r&&(o=r(o,n,e)),o}function re(e){const{prop:r,cssProperty:t=e.prop,themeKey:n,transform:o}=e,i=c=>{if(c[r]==null)return null;const l=c[r],u=c.theme,f=Je(u,n)||{};return ve(c,l,m=>{let p=Ze(f,o,m);return m===p&&typeof m=="string"&&(p=Ze(f,o,`${r}${m==="default"?"":Oe(m)}`,m)),t===!1?p:{[t]:p}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[r]:xe}:{},i.filterProps=[r],i}function ln(e){const r={};return t=>(r[t]===void 0&&(r[t]=e(t)),r[t])}const un={m:"margin",p:"padding"},fn={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},it={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},dn=ln(e=>{if(e.length>2)if(it[e])e=it[e];else return[e];const[r,t]=e.split(""),n=un[r],o=fn[t]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),er=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],rr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],pn=[...er,...rr];function Le(e,r,t,n){const o=Je(e,r,!0)??t;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"?`calc(${i} * ${o})`:o*i):Array.isArray(o)?i=>{if(typeof i=="string")return i;const c=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(c)?c>o.length-1&&console.error([`MUI: The value provided (${c}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${c} > ${o.length-1}, you need to add the missing values.`].join(`
|
|
38
|
+
`)):console.error([`MUI: The \`theme.${r}\` 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.${r}\` as a number.`].join(`
|
|
39
|
+
`)));const l=o[c];return i>=0?l:typeof l=="number"?-l:`-${l}`}:typeof o=="function"?o:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${r}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
40
|
+
`)),()=>{})}function Er(e){return Le(e,"spacing",8,"spacing")}function Ve(e,r){return typeof r=="string"||r==null?r:e(r)}function mn(e,r){return t=>e.reduce((n,o)=>(n[o]=Ve(r,t),n),{})}function gn(e,r,t,n){if(!r.includes(t))return null;const o=dn(t),i=mn(o,n),c=e[t];return ve(e,c,i)}function at(e,r){const t=Er(e.theme);return Object.keys(e).map(n=>gn(e,r,n,t)).reduce(Fe,{})}function Z(e){return at(e,er)}Z.propTypes=process.env.NODE_ENV!=="production"?er.reduce((e,r)=>(e[r]=xe,e),{}):{},Z.filterProps=er;function ee(e){return at(e,rr)}ee.propTypes=process.env.NODE_ENV!=="production"?rr.reduce((e,r)=>(e[r]=xe,e),{}):{},ee.filterProps=rr,process.env.NODE_ENV!=="production"&&pn.reduce((e,r)=>(e[r]=xe,e),{});function tr(...e){const r=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),t=n=>Object.keys(n).reduce((o,i)=>r[i]?Fe(o,r[i](n)):o,{});return t.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},t.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),t}function pe(e){return typeof e!="number"?e:`${e}px solid`}function me(e,r){return re({prop:e,themeKey:"borders",transform:r})}const yn=me("border",pe),hn=me("borderTop",pe),bn=me("borderRight",pe),vn=me("borderBottom",pe),Sn=me("borderLeft",pe),Cn=me("borderColor"),Tn=me("borderTopColor"),xn=me("borderRightColor"),En=me("borderBottomColor"),wn=me("borderLeftColor"),On=me("outline",pe),kn=me("outlineColor"),nr=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const r=Le(e.theme,"shape.borderRadius",4,"borderRadius"),t=n=>({borderRadius:Ve(r,n)});return ve(e,e.borderRadius,t)}return null};nr.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:xe}:{},nr.filterProps=["borderRadius"],tr(yn,hn,bn,vn,Sn,Cn,Tn,xn,En,wn,nr,On,kn);const or=e=>{if(e.gap!==void 0&&e.gap!==null){const r=Le(e.theme,"spacing",8,"gap"),t=n=>({gap:Ve(r,n)});return ve(e,e.gap,t)}return null};or.propTypes=process.env.NODE_ENV!=="production"?{gap:xe}:{},or.filterProps=["gap"];const ir=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const r=Le(e.theme,"spacing",8,"columnGap"),t=n=>({columnGap:Ve(r,n)});return ve(e,e.columnGap,t)}return null};ir.propTypes=process.env.NODE_ENV!=="production"?{columnGap:xe}:{},ir.filterProps=["columnGap"];const ar=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const r=Le(e.theme,"spacing",8,"rowGap"),t=n=>({rowGap:Ve(r,n)});return ve(e,e.rowGap,t)}return null};ar.propTypes=process.env.NODE_ENV!=="production"?{rowGap:xe}:{},ar.filterProps=["rowGap"];const $n=re({prop:"gridColumn"}),An=re({prop:"gridRow"}),_n=re({prop:"gridAutoFlow"}),Pn=re({prop:"gridAutoColumns"}),Rn=re({prop:"gridAutoRows"}),In=re({prop:"gridTemplateColumns"}),Mn=re({prop:"gridTemplateRows"}),Nn=re({prop:"gridTemplateAreas"}),Bn=re({prop:"gridArea"});tr(or,ir,ar,$n,An,_n,Pn,Rn,In,Mn,Nn,Bn);function _e(e,r){return r==="grey"?r:e}const Dn=re({prop:"color",themeKey:"palette",transform:_e}),jn=re({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:_e}),Fn=re({prop:"backgroundColor",themeKey:"palette",transform:_e});tr(Dn,jn,Fn);function fe(e){return e<=1&&e!==0?`${e*100}%`:e}const Ln=re({prop:"width",transform:fe}),wr=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const r=t=>{var o,i,c,l,u;const n=((c=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:c[t])||Xe[t];return n?((u=(l=e.theme)==null?void 0:l.breakpoints)==null?void 0:u.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:fe(t)}};return ve(e,e.maxWidth,r)}return null};wr.filterProps=["maxWidth"];const Vn=re({prop:"minWidth",transform:fe}),zn=re({prop:"height",transform:fe}),Wn=re({prop:"maxHeight",transform:fe}),Un=re({prop:"minHeight",transform:fe});re({prop:"size",cssProperty:"width",transform:fe}),re({prop:"size",cssProperty:"height",transform:fe});const Yn=re({prop:"boxSizing"});tr(Ln,wr,Vn,zn,Wn,Un,Yn);const sr={border:{themeKey:"borders",transform:pe},borderTop:{themeKey:"borders",transform:pe},borderRight:{themeKey:"borders",transform:pe},borderBottom:{themeKey:"borders",transform:pe},borderLeft:{themeKey:"borders",transform:pe},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:pe},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:nr},color:{themeKey:"palette",transform:_e},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:_e},backgroundColor:{themeKey:"palette",transform:_e},p:{style:ee},pt:{style:ee},pr:{style:ee},pb:{style:ee},pl:{style:ee},px:{style:ee},py:{style:ee},padding:{style:ee},paddingTop:{style:ee},paddingRight:{style:ee},paddingBottom:{style:ee},paddingLeft:{style:ee},paddingX:{style:ee},paddingY:{style:ee},paddingInline:{style:ee},paddingInlineStart:{style:ee},paddingInlineEnd:{style:ee},paddingBlock:{style:ee},paddingBlockStart:{style:ee},paddingBlockEnd:{style:ee},m:{style:Z},mt:{style:Z},mr:{style:Z},mb:{style:Z},ml:{style:Z},mx:{style:Z},my:{style:Z},margin:{style:Z},marginTop:{style:Z},marginRight:{style:Z},marginBottom:{style:Z},marginLeft:{style:Z},marginX:{style:Z},marginY:{style:Z},marginInline:{style:Z},marginInlineStart:{style:Z},marginInlineEnd:{style:Z},marginBlock:{style:Z},marginBlockStart:{style:Z},marginBlockEnd:{style:Z},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:or},rowGap:{style:ar},columnGap:{style:ir},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:fe},maxWidth:{style:wr},minWidth:{transform:fe},height:{transform:fe},maxHeight:{transform:fe},minHeight:{transform:fe},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 r=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),t=new Set(r);return e.every(n=>t.size===Object.keys(n).length)}function Gn(e,r){return typeof e=="function"?e(r):e}function Hn(){function e(t,n,o,i){const c={[t]:n,theme:o},l=i[t];if(!l)return{[t]:n};const{cssProperty:u=t,themeKey:f,transform:g,style:m}=l;if(n==null)return null;if(f==="typography"&&n==="inherit")return{[t]:n};const p=Je(o,f)||{};return m?m(c):ve(c,n,y=>{let s=Ze(p,g,y);return y===s&&typeof y=="string"&&(s=Ze(p,g,`${t}${y==="default"?"":Oe(y)}`,y)),u===!1?s:{[u]:s}})}function r(t){const{sx:n,theme:o={},nested:i}=t||{};if(!n)return null;const c=o.unstable_sxConfig??sr;function l(u){let f=u;if(typeof u=="function")f=u(o);else if(typeof u!="object")return u;if(!f)return null;const g=cn(o.breakpoints),m=Object.keys(g);let p=g;return Object.keys(f).forEach(v=>{const y=Gn(f[v],o);if(y!=null)if(typeof y=="object")if(c[v])p=Fe(p,e(v,y,o,c));else{const s=ve({theme:o},y,T=>({[v]:T}));qn(s,y)?p[v]=r({sx:y,theme:o,nested:!0}):p=Fe(p,s)}else p=Fe(p,e(v,y,o,c))}),!i&&o.modularCssLayers?{"@layer sx":tt(o,ot(m,p))}:tt(o,ot(m,p))}return Array.isArray(n)?n.map(l):l(n)}return r}const Pe=Hn();Pe.filterProps=["sx"];function Kn(e){for(var r=0,t,n=0,o=e.length;o>=4;++n,o-=4)t=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(t&65535)*1540483477+((t>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(o){case 3:r^=(e.charCodeAt(n+2)&255)<<16;case 2:r^=(e.charCodeAt(n+1)&255)<<8;case 1:r^=e.charCodeAt(n)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}var Qn={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 Xn(e){var r=Object.create(null);return function(t){return r[t]===void 0&&(r[t]=e(t)),r[t]}}var Jn=/[A-Z]|^ms/g,Zn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,st=function(r){return r.charCodeAt(1)===45},ct=function(r){return r!=null&&typeof r!="boolean"},Or=Xn(function(e){return st(e)?e:e.replace(Jn,"-$&").toLowerCase()}),lt=function(r,t){switch(r){case"animation":case"animationName":if(typeof t=="string")return t.replace(Zn,function(n,o,i){return Ee={name:o,styles:i,next:Ee},o})}return Qn[r]!==1&&!st(r)&&typeof t=="number"&&t!==0?t+"px":t};function cr(e,r,t){if(t==null)return"";var n=t;if(n.__emotion_styles!==void 0)return n;switch(typeof t){case"boolean":return"";case"object":{var o=t;if(o.anim===1)return Ee={name:o.name,styles:o.styles,next:Ee},o.name;var i=t;if(i.styles!==void 0){var c=i.next;if(c!==void 0)for(;c!==void 0;)Ee={name:c.name,styles:c.styles,next:Ee},c=c.next;var l=i.styles+";";return l}return eo(e,r,t)}}var u=t;return u}function eo(e,r,t){var n="";if(Array.isArray(t))for(var o=0;o<t.length;o++)n+=cr(e,r,t[o])+";";else for(var i in t){var c=t[i];if(typeof c!="object"){var l=c;ct(l)&&(n+=Or(i)+":"+lt(i,l)+";")}else if(Array.isArray(c)&&typeof c[0]=="string"&&r==null)for(var u=0;u<c.length;u++)ct(c[u])&&(n+=Or(i)+":"+lt(i,c[u])+";");else{var f=cr(e,r,c);switch(i){case"animation":case"animationName":{n+=Or(i)+":"+f+";";break}default:n+=i+"{"+f+"}"}}}return n}var ut=/label:\s*([^\s;{]+)\s*(;|$)/g,Ee;function ro(e,r,t){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";Ee=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=cr(t,r,i);else{var c=i;o+=c[0]}for(var l=1;l<e.length;l++)if(o+=cr(t,r,e[l]),n){var u=i;o+=u[l]}ut.lastIndex=0;for(var f="",g;(g=ut.exec(o))!==null;)f+="-"+g[1];var m=Kn(o)+f;return{name:m,styles:o,next:Ee}}/**
|
|
41
|
+
* @mui/styled-engine v6.5.0
|
|
42
|
+
*
|
|
43
|
+
* @license MIT
|
|
44
|
+
* This source code is licensed under the MIT license found in the
|
|
45
|
+
* LICENSE file in the root directory of this source tree.
|
|
46
|
+
*/function to(e,r){const t=Bt(e,r);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.`),t(...n)}:t}function no(e,r){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=r(e.__emotion_styles))}const ft=[];function ke(e){return ft[0]=e,ro(ft)}const oo=e=>{const r=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return r.sort((t,n)=>t.val-n.val),r.reduce((t,n)=>({...t,[n.key]:n.val}),{})};function io(e){const{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:t="px",step:n=5,...o}=e,i=oo(r),c=Object.keys(i);function l(p){return`@media (min-width:${typeof r[p]=="number"?r[p]:p}${t})`}function u(p){return`@media (max-width:${(typeof r[p]=="number"?r[p]:p)-n/100}${t})`}function f(p,v){const y=c.indexOf(v);return`@media (min-width:${typeof r[p]=="number"?r[p]:p}${t}) and (max-width:${(y!==-1&&typeof r[c[y]]=="number"?r[c[y]]:v)-n/100}${t})`}function g(p){return c.indexOf(p)+1<c.length?f(p,c[c.indexOf(p)+1]):l(p)}function m(p){const v=c.indexOf(p);return v===0?l(c[1]):v===c.length-1?u(c[v]):f(p,c[c.indexOf(p)+1]).replace("@media","@media not all and")}return{keys:c,values:i,up:l,down:u,between:f,only:g,not:m,unit:t,...o}}const ao={borderRadius:4};function dt(e=8,r=Er({spacing:e})){if(e.mui)return e;const t=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const c=r(i);return typeof c=="number"?`${c}px`:c}).join(" "));return t.mui=!0,t}function so(e,r){var n;const t=this;if(t.vars){if(!((n=t.colorSchemes)!=null&&n[e])||typeof t.getColorSchemeSelector!="function")return{};let o=t.getColorSchemeSelector(e);return o==="&"?r:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:r})}return t.palette.mode===e?r:{}}function pt(e={},...r){const{breakpoints:t={},palette:n={},spacing:o,shape:i={},...c}=e,l=io(t),u=dt(o);let f=ue({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:u,shape:{...ao,...i}},c);return f=an(f),f.applyStyles=so,f=r.reduce((g,m)=>ue(g,m),f),f.unstable_sxConfig={...sr,...c==null?void 0:c.unstable_sxConfig},f.unstable_sx=function(m){return Pe({sx:m,theme:this})},f}function mt(e){const{variants:r,...t}=e,n={variants:r,style:ke(t),isProcessed:!0};return n.style===t||r&&r.forEach(o=>{typeof o.style!="function"&&(o.style=ke(o.style))}),n}const co=pt();function kr(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function $e(e,r){return r&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${r}{${String(e.styles)}}`),e}function lo(e){return e?(r,t)=>t[e]:null}function uo(e,r,t){e.theme=go(e.theme)?t:e.theme[r]||e.theme}function lr(e,r,t){const n=typeof r=="function"?r(e):r;if(Array.isArray(n))return n.flatMap(o=>lr(e,o,t));if(Array.isArray(n==null?void 0:n.variants)){let o;if(n.isProcessed)o=t?$e(n.style,t):n.style;else{const{variants:i,...c}=n;o=t?$e(ke(c),t):c}return gt(e,n.variants,[o],t)}return n!=null&&n.isProcessed?t?$e(ke(n.style),t):n.style:t?$e(ke(n),t):n}function gt(e,r,t=[],n=void 0){var i;let o;e:for(let c=0;c<r.length;c+=1){const l=r[c];if(typeof l.props=="function"){if(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),!l.props(o))continue}else for(const u in l.props)if(e[u]!==l.props[u]&&((i=e.ownerState)==null?void 0:i[u])!==l.props[u])continue e;typeof l.style=="function"?(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),t.push(n?$e(ke(l.style(o)),n):l.style(o))):t.push(n?$e(ke(l.style),n):l.style)}return t}function fo(e={}){const{themeId:r,defaultTheme:t=co,rootShouldForwardProp:n=kr,slotShouldForwardProp:o=kr}=e;function i(l){uo(l,r,t)}return(l,u={})=>{no(l,S=>S.filter(A=>A!==Pe));const{name:f,slot:g,skipVariantsResolver:m,skipSx:p,overridesResolver:v=lo(yt(g)),...y}=u,s=f&&f.startsWith("Mui")||g?"components":"custom",T=m!==void 0?m:g&&g!=="Root"&&g!=="root"||!1,$=p||!1;let J=kr;g==="Root"||g==="root"?J=n:g?J=o:yo(l)&&(J=void 0);const O=to(l,{shouldForwardProp:J,label:mo(f,g),...y}),E=S=>{if(S.__emotion_real===S)return S;if(typeof S=="function")return function(I){return lr(I,S,I.theme.modularCssLayers?s:void 0)};if(be(S)){const A=mt(S);return function(k){return A.variants?lr(k,A,k.theme.modularCssLayers?s:void 0):k.theme.modularCssLayers?$e(A.style,s):A.style}}return S},h=(...S)=>{const A=[],I=S.map(E),k=[];if(A.push(i),f&&v&&k.push(function(j){var de,Ae;const ne=(Ae=(de=j.theme.components)==null?void 0:de[f])==null?void 0:Ae.styleOverrides;if(!ne)return null;const ie={};for(const je in ne)ie[je]=lr(j,ne[je],j.theme.modularCssLayers?"theme":void 0);return v(j,ie)}),f&&!T&&k.push(function(j){var ie,de;const te=j.theme,ne=(de=(ie=te==null?void 0:te.components)==null?void 0:ie[f])==null?void 0:de.variants;return ne?gt(j,ne,[],j.theme.modularCssLayers?"theme":void 0):null}),$||k.push(Pe),Array.isArray(I[0])){const M=I.shift(),j=new Array(A.length).fill(""),te=new Array(k.length).fill("");let ne;ne=[...j,...M,...te],ne.raw=[...j,...M.raw,...te],A.unshift(ne)}const a=[...A,...I,...k],w=O(...a);return l.muiName&&(w.muiName=l.muiName),process.env.NODE_ENV!=="production"&&(w.displayName=po(f,g,l)),w};return O.withConfig&&(h.withConfig=O.withConfig),h}}function po(e,r,t){return e?`${e}${Oe(r||"")}`:`Styled(${Qt(t)})`}function mo(e,r){let t;return process.env.NODE_ENV!=="production"&&e&&(t=`${e}-${yt(r||"Root")}`),t}function go(e){for(const r in e)return!1;return!0}function yo(e){return typeof e=="string"&&e.charCodeAt(0)>96}function yt(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function $r(e,r=0,t=1){return process.env.NODE_ENV!=="production"&&(e<r||e>t)&&console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`),rn(e,r,t)}function ho(e){e=e.slice(1);const r=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let t=e.match(r);return t&&t[0].length===1&&(t=t.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.`),t?`rgb${t.length===4?"a":""}(${t.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function we(e){if(e.type)return e;if(e.charAt(0)==="#")return we(ho(e));const r=e.indexOf("("),t=e.substring(0,r);if(!["rgb","rgba","hsl","hsla","color"].includes(t))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
48
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Te(9,e));let n=e.substring(r+1,e.length-1),o;if(t==="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.`:Te(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:t,values:n,colorSpace:o}}const bo=e=>{const r=we(e);return r.values.slice(0,3).map((t,n)=>r.type.includes("hsl")&&n!==0?`${t}%`:t).join(" ")},ze=(e,r)=>{try{return bo(e)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}};function ur(e){const{type:r,colorSpace:t}=e;let{values:n}=e;return r.includes("rgb")?n=n.map((o,i)=>i<3?parseInt(o,10):o):r.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),r.includes("color")?n=`${t} ${n.join(" ")}`:n=`${n.join(", ")}`,`${r}(${n})`}function ht(e){e=we(e);const{values:r}=e,t=r[0],n=r[1]/100,o=r[2]/100,i=n*Math.min(o,1-o),c=(f,g=(f+t/30)%12)=>o-i*Math.max(Math.min(g-3,9-g,1),-1);let l="rgb";const u=[Math.round(c(0)*255),Math.round(c(8)*255),Math.round(c(4)*255)];return e.type==="hsla"&&(l+="a",u.push(r[3])),ur({type:l,values:u})}function Ar(e){e=we(e);let r=e.type==="hsl"||e.type==="hsla"?we(ht(e)).values:e.values;return r=r.map(t=>(e.type!=="color"&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}function bt(e,r){const t=Ar(e),n=Ar(r);return(Math.max(t,n)+.05)/(Math.min(t,n)+.05)}function vo(e,r){return e=we(e),r=$r(r),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${r}`:e.values[3]=r,ur(e)}function fr(e,r,t){try{return vo(e,r)}catch{return e}}function _r(e,r){if(e=we(e),r=$r(r),e.type.includes("hsl"))e.values[2]*=1-r;else if(e.type.includes("rgb")||e.type.includes("color"))for(let t=0;t<3;t+=1)e.values[t]*=1-r;return ur(e)}function H(e,r,t){try{return _r(e,r)}catch{return e}}function Pr(e,r){if(e=we(e),r=$r(r),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*r;else if(e.type.includes("rgb"))for(let t=0;t<3;t+=1)e.values[t]+=(255-e.values[t])*r;else if(e.type.includes("color"))for(let t=0;t<3;t+=1)e.values[t]+=(1-e.values[t])*r;return ur(e)}function K(e,r,t){try{return Pr(e,r)}catch{return e}}function So(e,r=.15){return Ar(e)>.5?_r(e,r):Pr(e,r)}function dr(e,r,t){try{return So(e,r)}catch{return e}}const Co=Ce.createContext(void 0);process.env.NODE_ENV!=="production"&&(F.node,F.object);function To(e){const{theme:r,name:t,props:n}=e;if(!r||!r.components||!r.components[t])return n;const o=r.components[t];return o.defaultProps?Tr(o.defaultProps,n):!o.styleOverrides&&!o.variants?Tr(o,n):n}function xo({props:e,name:r}){const t=Ce.useContext(Co);return To({props:e,name:r,theme:{components:t}})}const vt={theme:void 0};function Eo(e){let r,t;return function(o){let i=r;return(i===void 0||o.theme!==t)&&(vt.theme=o.theme,i=mt(e(vt)),r=i,t=o.theme),i}}function wo(e=""){function r(...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}${r(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${r(...o)})`}const St=(e,r,t,n=[])=>{let o=e;r.forEach((i,c)=>{c===r.length-1?Array.isArray(o)?o[Number(i)]=t:o&&typeof o=="object"&&(o[i]=t):o&&typeof o=="object"&&(o[i]||(o[i]=n.includes(i)?[]:{}),o=o[i])})},Oo=(e,r,t)=>{function n(o,i=[],c=[]){Object.entries(o).forEach(([l,u])=>{(!t||t&&!t([...i,l]))&&u!=null&&(typeof u=="object"&&Object.keys(u).length>0?n(u,[...i,l],Array.isArray(u)?[...c,l]:c):r([...i,l],u,c))})}n(e)},ko=(e,r)=>typeof r=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?r:`${r}px`:r;function Rr(e,r){const{prefix:t,shouldSkipGeneratingVar:n}=r||{},o={},i={},c={};return Oo(e,(l,u,f)=>{if((typeof u=="string"||typeof u=="number")&&(!n||!n(l,u))){const g=`--${t?`${t}-`:""}${l.join("-")}`,m=ko(l,u);Object.assign(o,{[g]:m}),St(i,l,`var(${g})`,f),St(c,l,`var(${g}, ${m})`,f)}},l=>l[0]==="vars"),{css:o,vars:i,varsWithDefaults:c}}function $o(e,r={}){const{getSelector:t=T,disableCssColorScheme:n,colorSchemeSelector:o}=r,{colorSchemes:i={},components:c,defaultColorScheme:l="light",...u}=e,{vars:f,css:g,varsWithDefaults:m}=Rr(u,r);let p=m;const v={},{[l]:y,...s}=i;if(Object.entries(s||{}).forEach(([O,E])=>{const{vars:h,css:S,varsWithDefaults:A}=Rr(E,r);p=ue(p,A),v[O]={css:S,vars:h}}),y){const{css:O,vars:E,varsWithDefaults:h}=Rr(y,r);p=ue(p,h),v[l]={css:O,vars:E}}function T(O,E){var S,A;let h=o;if(o==="class"&&(h=".%s"),o==="data"&&(h="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(h=`[${o}="%s"]`),O){if(h==="media")return e.defaultColorScheme===O?":root":{[`@media (prefers-color-scheme: ${((A=(S=i[O])==null?void 0:S.palette)==null?void 0:A.mode)||O})`]:{":root":E}};if(h)return e.defaultColorScheme===O?`:root, ${h.replace("%s",String(O))}`:h.replace("%s",String(O))}return":root"}return{vars:p,generateThemeVars:()=>{let O={...f};return Object.entries(v).forEach(([,{vars:E}])=>{O=ue(O,E)}),O},generateStyleSheets:()=>{var I,k;const O=[],E=e.defaultColorScheme||"light";function h(a,w){Object.keys(w).length&&O.push(typeof a=="string"?{[a]:{...w}}:a)}h(t(void 0,{...g}),g);const{[E]:S,...A}=v;if(S){const{css:a}=S,w=(k=(I=i[E])==null?void 0:I.palette)==null?void 0:k.mode,M=!n&&w?{colorScheme:w,...a}:{...a};h(t(E,{...M}),M)}return Object.entries(A).forEach(([a,{css:w}])=>{var te,ne;const M=(ne=(te=i[a])==null?void 0:te.palette)==null?void 0:ne.mode,j=!n&&M?{colorScheme:M,...w}:{...w};h(t(a,{...j}),j)}),O}}}function Ao(e){return function(t){return e==="media"?(process.env.NODE_ENV!=="production"&&t!=="light"&&t!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`),`@media (prefers-color-scheme: ${t})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:e==="class"?`.${t} &`:e==="data"?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}const We={black:"#000",white:"#fff"},_o={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"},Re={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Ie={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Ue={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Me={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Ne={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Be={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function Ct(){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:We.white,default:We.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 Po=Ct();function Tt(){return{text:{primary:We.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:We.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 xt=Tt();function Et(e,r,t,n){const o=n.light||n,i=n.dark||n*1.5;e[r]||(e.hasOwnProperty(t)?e[r]=e[t]:r==="light"?e.light=Pr(e.main,o):r==="dark"&&(e.dark=_r(e.main,i)))}function Ro(e="light"){return e==="dark"?{main:Me[200],light:Me[50],dark:Me[400]}:{main:Me[700],light:Me[400],dark:Me[800]}}function Io(e="light"){return e==="dark"?{main:Re[200],light:Re[50],dark:Re[400]}:{main:Re[500],light:Re[300],dark:Re[700]}}function Mo(e="light"){return e==="dark"?{main:Ie[500],light:Ie[300],dark:Ie[700]}:{main:Ie[700],light:Ie[400],dark:Ie[800]}}function No(e="light"){return e==="dark"?{main:Ne[400],light:Ne[300],dark:Ne[700]}:{main:Ne[700],light:Ne[500],dark:Ne[900]}}function Bo(e="light"){return e==="dark"?{main:Be[400],light:Be[300],dark:Be[700]}:{main:Be[800],light:Be[500],dark:Be[900]}}function Do(e="light"){return e==="dark"?{main:Ue[400],light:Ue[300],dark:Ue[700]}:{main:"#ed6c02",light:Ue[500],dark:Ue[900]}}function Ir(e){const{mode:r="light",contrastThreshold:t=3,tonalOffset:n=.2,...o}=e,i=e.primary||Ro(r),c=e.secondary||Io(r),l=e.error||Mo(r),u=e.info||No(r),f=e.success||Bo(r),g=e.warning||Do(r);function m(s){const T=bt(s,xt.text.primary)>=t?xt.text.primary:Po.text.primary;if(process.env.NODE_ENV!=="production"){const $=bt(s,T);$<3&&console.error([`MUI: The contrast ratio of ${$}:1 for ${T} on ${s}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
50
|
+
`))}return T}const p=({color:s,name:T,mainShade:$=500,lightShade:J=300,darkShade:O=700})=>{if(s={...s},!s.main&&s[$]&&(s.main=s[$]),!s.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${T?` (${T})`:""} provided to augmentColor(color) is invalid.
|
|
51
|
+
The color object needs to have a \`main\` property or a \`${$}\` property.`:Te(11,T?` (${T})`:"",$));if(typeof s.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${T?` (${T})`:""} provided to augmentColor(color) is invalid.
|
|
52
|
+
\`color.main\` should be a string, but \`${JSON.stringify(s.main)}\` was provided instead.
|
|
53
|
+
|
|
54
|
+
Did you intend to use one of the following approaches?
|
|
55
|
+
|
|
56
|
+
import { green } from "@mui/material/colors";
|
|
57
|
+
|
|
58
|
+
const theme1 = createTheme({ palette: {
|
|
59
|
+
primary: green,
|
|
60
|
+
} });
|
|
61
|
+
|
|
62
|
+
const theme2 = createTheme({ palette: {
|
|
63
|
+
primary: { main: green[500] },
|
|
64
|
+
} });`:Te(12,T?` (${T})`:"",JSON.stringify(s.main)));return Et(s,"light",J,n),Et(s,"dark",O,n),s.contrastText||(s.contrastText=m(s.main)),s};let v;return r==="light"?v=Ct():r==="dark"&&(v=Tt()),process.env.NODE_ENV!=="production"&&(v||console.error(`MUI: The palette mode \`${r}\` is not supported.`)),ue({common:{...We},mode:r,primary:p({color:i,name:"primary"}),secondary:p({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:l,name:"error"}),warning:p({color:g,name:"warning"}),info:p({color:u,name:"info"}),success:p({color:f,name:"success"}),grey:_o,contrastThreshold:t,getContrastText:m,augmentColor:p,tonalOffset:n,...v},o)}function jo(e){const r={};return Object.entries(e).forEach(n=>{const[o,i]=n;typeof i=="object"&&(r[o]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),r}function Fo(e,r){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...r}}function Lo(e){return Math.round(e*1e5)/1e5}const wt={textTransform:"uppercase"},Ot='"Roboto", "Helvetica", "Arial", sans-serif';function Vo(e,r){const{fontFamily:t=Ot,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:c=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:f,pxToRem:g,...m}=typeof r=="function"?r(e):r;process.env.NODE_ENV!=="production"&&(typeof n!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof u!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const p=n/14,v=g||(T=>`${T/u*p}rem`),y=(T,$,J,O,E)=>({fontFamily:t,fontWeight:T,fontSize:v($),lineHeight:J,...t===Ot?{letterSpacing:`${Lo(O/$)}em`}:{},...E,...f}),s={h1:y(o,96,1.167,-1.5),h2:y(o,60,1.2,-.5),h3:y(i,48,1.167,0),h4:y(i,34,1.235,.25),h5:y(i,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(i,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(i,16,1.5,.15),body2:y(i,14,1.43,.15),button:y(c,14,1.75,.4,wt),caption:y(i,12,1.66,.4),overline:y(i,12,2.66,1,wt),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return ue({htmlFontSize:u,pxToRem:v,fontFamily:t,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:c,fontWeightBold:l,...s},m,{clone:!1})}const zo=.2,Wo=.14,Uo=.12;function X(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${zo})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Wo})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Uo})`].join(",")}const Yo=["none",X(0,2,1,-1,0,1,1,0,0,1,3,0),X(0,3,1,-2,0,2,2,0,0,1,5,0),X(0,3,3,-2,0,3,4,0,0,1,8,0),X(0,2,4,-1,0,4,5,0,0,1,10,0),X(0,3,5,-1,0,5,8,0,0,1,14,0),X(0,3,5,-1,0,6,10,0,0,1,18,0),X(0,4,5,-2,0,7,10,1,0,2,16,1),X(0,5,5,-3,0,8,10,1,0,3,14,2),X(0,5,6,-3,0,9,12,1,0,3,16,2),X(0,6,6,-3,0,10,14,1,0,4,18,3),X(0,6,7,-4,0,11,15,1,0,4,20,3),X(0,7,8,-4,0,12,17,2,0,5,22,4),X(0,7,8,-4,0,13,19,2,0,5,24,4),X(0,7,9,-4,0,14,21,2,0,5,26,4),X(0,8,9,-5,0,15,22,2,0,6,28,5),X(0,8,10,-5,0,16,24,2,0,6,30,5),X(0,8,11,-5,0,17,26,2,0,6,32,5),X(0,9,11,-5,0,18,28,2,0,7,34,6),X(0,9,12,-6,0,19,29,2,0,7,36,6),X(0,10,13,-6,0,20,31,3,0,8,38,7),X(0,10,13,-6,0,21,33,3,0,8,40,7),X(0,10,14,-6,0,22,35,3,0,8,42,7),X(0,11,14,-7,0,23,36,3,0,9,44,8),X(0,11,15,-7,0,24,38,3,0,9,46,8)],qo={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Go={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function kt(e){return`${Math.round(e)}ms`}function Ho(e){if(!e)return 0;const r=e/36;return Math.min(Math.round((4+15*r**.25+r/5)*10),3e3)}function Ko(e){const r={...qo,...e.easing},t={...Go,...e.duration};return{getAutoHeightDuration:Ho,create:(o=["all"],i={})=>{const{duration:c=t.standard,easing:l=r.easeInOut,delay:u=0,...f}=i;if(process.env.NODE_ENV!=="production"){const g=p=>typeof p=="string",m=p=>!Number.isNaN(parseFloat(p));!g(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!m(c)&&!g(c)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${c}.`),g(l)||console.error('MUI: Argument "easing" must be a string.'),!m(u)&&!g(u)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
65
|
+
`)),Object.keys(f).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(g=>`${g} ${typeof c=="string"?c:kt(c)} ${l} ${typeof u=="string"?u:kt(u)}`).join(",")},...e,easing:r,duration:t}}const Qo={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Xo(e){return be(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function $t(e={}){const r={...e};function t(n){const o=Object.entries(n);for(let i=0;i<o.length;i++){const[c,l]=o[i];!Xo(l)||c.startsWith("unstable_")?delete n[c]:be(l)&&(n[c]={...l},t(n[c]))}}return t(r),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
66
|
+
|
|
67
|
+
const theme = ${JSON.stringify(r,null,2)};
|
|
68
|
+
|
|
69
|
+
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
70
|
+
theme.transitions = createTransitions(theme.transitions || {});
|
|
71
|
+
|
|
72
|
+
export default theme;`}function Mr(e={},...r){const{breakpoints:t,mixins:n={},spacing:o,palette:i={},transitions:c={},typography:l={},shape:u,...f}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":Te(20));const g=Ir(i),m=pt(e);let p=ue(m,{mixins:Fo(m.breakpoints,n),palette:g,shadows:Yo.slice(),typography:Vo(g,l),transitions:Ko(c),zIndex:{...Qo}});if(p=ue(p,f),p=r.reduce((v,y)=>ue(v,y),p),process.env.NODE_ENV!=="production"){const v=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],y=(s,T)=>{let $;for($ in s){const J=s[$];if(v.includes($)&&Object.keys(J).length>0){if(process.env.NODE_ENV!=="production"){const O=xr("",$);console.error([`MUI: The \`${T}\` component increases the CSS specificity of the \`${$}\` internal state.`,"You can not override it like this: ",JSON.stringify(s,null,2),"",`Instead, you need to use the '&.${O}' syntax:`,JSON.stringify({root:{[`&.${O}`]:J}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
73
|
+
`))}s[$]={}}}};Object.keys(p.components).forEach(s=>{const T=p.components[s].styleOverrides;T&&s.startsWith("Mui")&&y(T,s)})}return p.unstable_sxConfig={...sr,...f==null?void 0:f.unstable_sxConfig},p.unstable_sx=function(y){return Pe({sx:y,theme:this})},p.toRuntimeSource=$t,p}function Jo(e){let r;return e<1?r=5.11916*e**2:r=4.5*Math.log(e+1)+2,Math.round(r*10)/1e3}const Zo=[...Array(25)].map((e,r)=>{if(r===0)return"none";const t=Jo(r);return`linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`});function At(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function _t(e){return e==="dark"?Zo:[]}function ei(e){const{palette:r={mode:"light"},opacity:t,overlays:n,...o}=e,i=Ir(r);return{palette:i,opacity:{...At(i.mode),...t},overlays:n||_t(i.mode),...o}}function ri(e){var r;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((r=e[1])!=null&&r.match(/(mode|contrastThreshold|tonalOffset)/))}const ti=e=>[...[...Array(25)].map((r,t)=>`--${e?`${e}-`:""}overlays-${t}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],ni=e=>(r,t)=>{const n=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if(o==="class"&&(i=".%s"),o==="data"&&(i="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===r){if(r==="dark"){const c={};return ti(e.cssVarPrefix).forEach(l=>{c[l]=t[l],delete t[l]}),i==="media"?{[n]:t,"@media (prefers-color-scheme: dark)":{[n]:c}}:i?{[i.replace("%s",r)]:c,[`${n}, ${i.replace("%s",r)}`]:t}:{[n]:{...t,...c}}}if(i&&i!=="media")return`${n}, ${i.replace("%s",String(r))}`}else if(r){if(i==="media")return{[`@media (prefers-color-scheme: ${String(r)})`]:{[n]:t}};if(i)return i.replace("%s",String(r))}return n};function oi(e,r){r.forEach(t=>{e[t]||(e[t]={})})}function d(e,r,t){!e[r]&&t&&(e[r]=t)}function Ye(e){return typeof e!="string"||!e.startsWith("hsl")?e:ht(e)}function Se(e,r){`${r}Channel`in e||(e[`${r}Channel`]=ze(Ye(e[r]),`MUI: Can't create \`palette.${r}Channel\` because \`palette.${r}\` 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.${r}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function ii(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const ye=e=>{try{return e()}catch{}},ai=(e="mui")=>wo(e);function Nr(e,r,t,n){if(!r)return;r=r===!0?{}:r;const o=n==="dark"?"dark":"light";if(!t){e[n]=ei({...r,palette:{mode:o,...r==null?void 0:r.palette}});return}const{palette:i,...c}=Mr({...t,palette:{mode:o,...r==null?void 0:r.palette}});return e[n]={...r,palette:i,opacity:{...At(o),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||_t(o)},c}function si(e={},...r){const{colorSchemes:t={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:c=ri,colorSchemeSelector:l=t.light&&t.dark?"media":void 0,rootSelector:u=":root",...f}=e,g=Object.keys(t)[0],m=n||(t.light&&g!=="light"?"light":g),p=ai(i),{[m]:v,light:y,dark:s,...T}=t,$={...T};let J=v;if((m==="dark"&&!("dark"in t)||m==="light"&&!("light"in t))&&(J=!0),!J)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${m}\` option is either missing or invalid.`:Te(21,m));const O=Nr($,J,f,m);y&&!$.light&&Nr($,y,void 0,"light"),s&&!$.dark&&Nr($,s,void 0,"dark");let E={defaultColorScheme:m,...O,cssVarPrefix:i,colorSchemeSelector:l,rootSelector:u,getCssVar:p,colorSchemes:$,font:{...jo(O.typography),...O.font},spacing:ii(f.spacing)};Object.keys(E.colorSchemes).forEach(k=>{const a=E.colorSchemes[k].palette,w=M=>{const j=M.split("-"),te=j[1],ne=j[2];return p(M,a[te][ne])};if(a.mode==="light"&&(d(a.common,"background","#fff"),d(a.common,"onBackground","#000")),a.mode==="dark"&&(d(a.common,"background","#000"),d(a.common,"onBackground","#fff")),oi(a,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),a.mode==="light"){d(a.Alert,"errorColor",H(a.error.light,.6)),d(a.Alert,"infoColor",H(a.info.light,.6)),d(a.Alert,"successColor",H(a.success.light,.6)),d(a.Alert,"warningColor",H(a.warning.light,.6)),d(a.Alert,"errorFilledBg",w("palette-error-main")),d(a.Alert,"infoFilledBg",w("palette-info-main")),d(a.Alert,"successFilledBg",w("palette-success-main")),d(a.Alert,"warningFilledBg",w("palette-warning-main")),d(a.Alert,"errorFilledColor",ye(()=>a.getContrastText(a.error.main))),d(a.Alert,"infoFilledColor",ye(()=>a.getContrastText(a.info.main))),d(a.Alert,"successFilledColor",ye(()=>a.getContrastText(a.success.main))),d(a.Alert,"warningFilledColor",ye(()=>a.getContrastText(a.warning.main))),d(a.Alert,"errorStandardBg",K(a.error.light,.9)),d(a.Alert,"infoStandardBg",K(a.info.light,.9)),d(a.Alert,"successStandardBg",K(a.success.light,.9)),d(a.Alert,"warningStandardBg",K(a.warning.light,.9)),d(a.Alert,"errorIconColor",w("palette-error-main")),d(a.Alert,"infoIconColor",w("palette-info-main")),d(a.Alert,"successIconColor",w("palette-success-main")),d(a.Alert,"warningIconColor",w("palette-warning-main")),d(a.AppBar,"defaultBg",w("palette-grey-100")),d(a.Avatar,"defaultBg",w("palette-grey-400")),d(a.Button,"inheritContainedBg",w("palette-grey-300")),d(a.Button,"inheritContainedHoverBg",w("palette-grey-A100")),d(a.Chip,"defaultBorder",w("palette-grey-400")),d(a.Chip,"defaultAvatarColor",w("palette-grey-700")),d(a.Chip,"defaultIconColor",w("palette-grey-700")),d(a.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),d(a.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),d(a.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),d(a.LinearProgress,"primaryBg",K(a.primary.main,.62)),d(a.LinearProgress,"secondaryBg",K(a.secondary.main,.62)),d(a.LinearProgress,"errorBg",K(a.error.main,.62)),d(a.LinearProgress,"infoBg",K(a.info.main,.62)),d(a.LinearProgress,"successBg",K(a.success.main,.62)),d(a.LinearProgress,"warningBg",K(a.warning.main,.62)),d(a.Skeleton,"bg",`rgba(${w("palette-text-primaryChannel")} / 0.11)`),d(a.Slider,"primaryTrack",K(a.primary.main,.62)),d(a.Slider,"secondaryTrack",K(a.secondary.main,.62)),d(a.Slider,"errorTrack",K(a.error.main,.62)),d(a.Slider,"infoTrack",K(a.info.main,.62)),d(a.Slider,"successTrack",K(a.success.main,.62)),d(a.Slider,"warningTrack",K(a.warning.main,.62));const M=dr(a.background.default,.8);d(a.SnackbarContent,"bg",M),d(a.SnackbarContent,"color",ye(()=>a.getContrastText(M))),d(a.SpeedDialAction,"fabHoverBg",dr(a.background.paper,.15)),d(a.StepConnector,"border",w("palette-grey-400")),d(a.StepContent,"border",w("palette-grey-400")),d(a.Switch,"defaultColor",w("palette-common-white")),d(a.Switch,"defaultDisabledColor",w("palette-grey-100")),d(a.Switch,"primaryDisabledColor",K(a.primary.main,.62)),d(a.Switch,"secondaryDisabledColor",K(a.secondary.main,.62)),d(a.Switch,"errorDisabledColor",K(a.error.main,.62)),d(a.Switch,"infoDisabledColor",K(a.info.main,.62)),d(a.Switch,"successDisabledColor",K(a.success.main,.62)),d(a.Switch,"warningDisabledColor",K(a.warning.main,.62)),d(a.TableCell,"border",K(fr(a.divider,1),.88)),d(a.Tooltip,"bg",fr(a.grey[700],.92))}if(a.mode==="dark"){d(a.Alert,"errorColor",K(a.error.light,.6)),d(a.Alert,"infoColor",K(a.info.light,.6)),d(a.Alert,"successColor",K(a.success.light,.6)),d(a.Alert,"warningColor",K(a.warning.light,.6)),d(a.Alert,"errorFilledBg",w("palette-error-dark")),d(a.Alert,"infoFilledBg",w("palette-info-dark")),d(a.Alert,"successFilledBg",w("palette-success-dark")),d(a.Alert,"warningFilledBg",w("palette-warning-dark")),d(a.Alert,"errorFilledColor",ye(()=>a.getContrastText(a.error.dark))),d(a.Alert,"infoFilledColor",ye(()=>a.getContrastText(a.info.dark))),d(a.Alert,"successFilledColor",ye(()=>a.getContrastText(a.success.dark))),d(a.Alert,"warningFilledColor",ye(()=>a.getContrastText(a.warning.dark))),d(a.Alert,"errorStandardBg",H(a.error.light,.9)),d(a.Alert,"infoStandardBg",H(a.info.light,.9)),d(a.Alert,"successStandardBg",H(a.success.light,.9)),d(a.Alert,"warningStandardBg",H(a.warning.light,.9)),d(a.Alert,"errorIconColor",w("palette-error-main")),d(a.Alert,"infoIconColor",w("palette-info-main")),d(a.Alert,"successIconColor",w("palette-success-main")),d(a.Alert,"warningIconColor",w("palette-warning-main")),d(a.AppBar,"defaultBg",w("palette-grey-900")),d(a.AppBar,"darkBg",w("palette-background-paper")),d(a.AppBar,"darkColor",w("palette-text-primary")),d(a.Avatar,"defaultBg",w("palette-grey-600")),d(a.Button,"inheritContainedBg",w("palette-grey-800")),d(a.Button,"inheritContainedHoverBg",w("palette-grey-700")),d(a.Chip,"defaultBorder",w("palette-grey-700")),d(a.Chip,"defaultAvatarColor",w("palette-grey-300")),d(a.Chip,"defaultIconColor",w("palette-grey-300")),d(a.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),d(a.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),d(a.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),d(a.LinearProgress,"primaryBg",H(a.primary.main,.5)),d(a.LinearProgress,"secondaryBg",H(a.secondary.main,.5)),d(a.LinearProgress,"errorBg",H(a.error.main,.5)),d(a.LinearProgress,"infoBg",H(a.info.main,.5)),d(a.LinearProgress,"successBg",H(a.success.main,.5)),d(a.LinearProgress,"warningBg",H(a.warning.main,.5)),d(a.Skeleton,"bg",`rgba(${w("palette-text-primaryChannel")} / 0.13)`),d(a.Slider,"primaryTrack",H(a.primary.main,.5)),d(a.Slider,"secondaryTrack",H(a.secondary.main,.5)),d(a.Slider,"errorTrack",H(a.error.main,.5)),d(a.Slider,"infoTrack",H(a.info.main,.5)),d(a.Slider,"successTrack",H(a.success.main,.5)),d(a.Slider,"warningTrack",H(a.warning.main,.5));const M=dr(a.background.default,.98);d(a.SnackbarContent,"bg",M),d(a.SnackbarContent,"color",ye(()=>a.getContrastText(M))),d(a.SpeedDialAction,"fabHoverBg",dr(a.background.paper,.15)),d(a.StepConnector,"border",w("palette-grey-600")),d(a.StepContent,"border",w("palette-grey-600")),d(a.Switch,"defaultColor",w("palette-grey-300")),d(a.Switch,"defaultDisabledColor",w("palette-grey-600")),d(a.Switch,"primaryDisabledColor",H(a.primary.main,.55)),d(a.Switch,"secondaryDisabledColor",H(a.secondary.main,.55)),d(a.Switch,"errorDisabledColor",H(a.error.main,.55)),d(a.Switch,"infoDisabledColor",H(a.info.main,.55)),d(a.Switch,"successDisabledColor",H(a.success.main,.55)),d(a.Switch,"warningDisabledColor",H(a.warning.main,.55)),d(a.TableCell,"border",H(fr(a.divider,1),.68)),d(a.Tooltip,"bg",fr(a.grey[700],.92))}Se(a.background,"default"),Se(a.background,"paper"),Se(a.common,"background"),Se(a.common,"onBackground"),Se(a,"divider"),Object.keys(a).forEach(M=>{const j=a[M];M!=="tonalOffset"&&j&&typeof j=="object"&&(j.main&&d(a[M],"mainChannel",ze(Ye(j.main))),j.light&&d(a[M],"lightChannel",ze(Ye(j.light))),j.dark&&d(a[M],"darkChannel",ze(Ye(j.dark))),j.contrastText&&d(a[M],"contrastTextChannel",ze(Ye(j.contrastText))),M==="text"&&(Se(a[M],"primary"),Se(a[M],"secondary")),M==="action"&&(j.active&&Se(a[M],"active"),j.selected&&Se(a[M],"selected")))})}),E=r.reduce((k,a)=>ue(k,a),E);const h={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:c,getSelector:ni(E)},{vars:S,generateThemeVars:A,generateStyleSheets:I}=$o(E,h);return E.vars=S,Object.entries(E.colorSchemes[E.defaultColorScheme]).forEach(([k,a])=>{E[k]=a}),E.generateThemeVars=A,E.generateStyleSheets=I,E.generateSpacing=function(){return dt(f.spacing,Er(this))},E.getColorSchemeSelector=Ao(l),E.spacing=E.generateSpacing(),E.shouldSkipGeneratingVar=c,E.unstable_sxConfig={...sr,...f==null?void 0:f.unstable_sxConfig},E.unstable_sx=function(a){return Pe({sx:a,theme:this})},E.toRuntimeSource=$t,E}function Pt(e,r,t){e.colorSchemes&&t&&(e.colorSchemes[r]={...t!==!0&&t,palette:Ir({...t===!0?{}:t.palette,mode:r})})}function Rt(e={},...r){const{palette:t,cssVariables:n=!1,colorSchemes:o=t?void 0:{light:!0},defaultColorScheme:i=t==null?void 0:t.mode,...c}=e,l=i||"light",u=o==null?void 0:o[l],f={...o,...t?{[l]:{...typeof u!="boolean"&&u,palette:t}}:void 0};if(n===!1){if(!("colorSchemes"in e))return Mr(e,...r);let g=t;"palette"in e||f[l]&&(f[l]!==!0?g=f[l].palette:l==="dark"&&(g={mode:"dark"}));const m=Mr({...e,palette:g},...r);return m.defaultColorScheme=l,m.colorSchemes=f,m.palette.mode==="light"&&(m.colorSchemes.light={...f.light!==!0&&f.light,palette:m.palette},Pt(m,"dark",f.dark)),m.palette.mode==="dark"&&(m.colorSchemes.dark={...f.dark!==!0&&f.dark,palette:m.palette},Pt(m,"light",f.light)),m}return!t&&!("light"in f)&&l==="light"&&(f.light=!0),si({...c,colorSchemes:f,defaultColorScheme:l,...typeof n!="boolean"&&n},...r)}const ci=Rt(),li="$$material";function ui(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const fi=fo({themeId:li,defaultTheme:ci,rootShouldForwardProp:e=>ui(e)&&e!=="classes"}),di=Eo;process.env.NODE_ENV!=="production"&&(F.node,F.object.isRequired);function pi(e){return xo(e)}function mi(e){return xr("MuiSvgIcon",e)}en("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const gi=e=>{const{color:r,fontSize:t,classes:n}=e,o={root:["root",r!=="inherit"&&`color${Oe(r)}`,`fontSize${Oe(t)}`]};return Xt(o,mi,n)},yi=fi("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.root,t.color!=="inherit"&&r[`color${Oe(t.color)}`],r[`fontSize${Oe(t.fontSize)}`]]}})(di(({theme:e})=>{var r,t,n,o,i,c,l,u,f,g,m,p,v,y;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(o=(r=e.transitions)==null?void 0:r.create)==null?void 0:o.call(r,"fill",{duration:(n=(t=(e.vars??e).transitions)==null?void 0:t.duration)==null?void 0:n.shorter}),variants:[{props:s=>!s.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((c=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:c.call(i,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((u=(l=e.typography)==null?void 0:l.pxToRem)==null?void 0:u.call(l,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((g=(f=e.typography)==null?void 0:f.pxToRem)==null?void 0:g.call(f,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,s])=>s&&s.main).map(([s])=>{var T,$;return{props:{color:s},style:{color:($=(T=(e.vars??e).palette)==null?void 0:T[s])==null?void 0:$.main}}}),{props:{color:"action"},style:{color:(p=(m=(e.vars??e).palette)==null?void 0:m.action)==null?void 0:p.active}},{props:{color:"disabled"},style:{color:(y=(v=(e.vars??e).palette)==null?void 0:v.action)==null?void 0:y.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),pr=Ce.forwardRef(function(r,t){const n=pi({props:r,name:"MuiSvgIcon"}),{children:o,className:i,color:c="inherit",component:l="svg",fontSize:u="medium",htmlColor:f,inheritViewBox:g=!1,titleAccess:m,viewBox:p="0 0 24 24",...v}=n,y=Ce.isValidElement(o)&&o.type==="svg",s={...n,color:c,component:l,fontSize:u,instanceFontSize:r.fontSize,inheritViewBox:g,viewBox:p,hasSvgAsChild:y},T={};g||(T.viewBox=p);const $=gi(s);return qe.jsxs(yi,{as:l,className:tn($.root,i),focusable:"false",color:f,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:t,...T,...v,...y&&o.props,ownerState:s,children:[y?o.props.children:o,m?qe.jsx("title",{children:m}):null]})});process.env.NODE_ENV!=="production"&&(pr.propTypes={children:F.node,classes:F.object,className:F.string,color:F.oneOfType([F.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),F.string]),component:F.elementType,fontSize:F.oneOfType([F.oneOf(["inherit","large","medium","small"]),F.string]),htmlColor:F.string,inheritViewBox:F.bool,shapeRendering:F.string,sx:F.oneOfType([F.arrayOf(F.oneOfType([F.func,F.object,F.bool])),F.func,F.object]),titleAccess:F.string,viewBox:F.string}),pr.muiName="SvgIcon";function hi(e,r){function t(n,o){return qe.jsx(pr,{"data-testid":`${r}Icon`,ref:o,...n,children:e})}return process.env.NODE_ENV!=="production"&&(t.displayName=`${r}Icon`),t.muiName=pr.muiName,Ce.memo(Ce.forwardRef(t))}const bi=hi(qe.jsx("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore"),vi=ce.css`
|
|
16
75
|
display: flex;
|
|
17
76
|
align-items: center;
|
|
18
77
|
padding: 7px 8px 8px 12px;
|
|
@@ -25,10 +84,10 @@
|
|
|
25
84
|
height: 40px;
|
|
26
85
|
justify-content: space-between;
|
|
27
86
|
gap: 8px;
|
|
28
|
-
`,
|
|
87
|
+
`,Si=ce.css`
|
|
29
88
|
opacity: 0.5;
|
|
30
89
|
cursor: not-allowed;
|
|
31
|
-
`,
|
|
90
|
+
`,Ci=ce.css`
|
|
32
91
|
font-size: 14px;
|
|
33
92
|
font-weight: 500;
|
|
34
93
|
color: #2d2d2d;
|
|
@@ -37,18 +96,18 @@
|
|
|
37
96
|
text-overflow: ellipsis;
|
|
38
97
|
text-align: left;
|
|
39
98
|
max-width: 200px;
|
|
40
|
-
`,
|
|
99
|
+
`,Ti=ce.css`
|
|
41
100
|
width: 18px;
|
|
42
101
|
height: 18px;
|
|
43
102
|
color: #7a7a7a;
|
|
44
103
|
transition: transform 0.2s;
|
|
45
|
-
|
|
104
|
+
`,xi=ce.css`
|
|
46
105
|
transform: rotate(180deg);
|
|
47
|
-
`,
|
|
106
|
+
`,Ei=ce.css`
|
|
48
107
|
font-size: 14px;
|
|
49
108
|
font-weight: 500;
|
|
50
109
|
color: #2d2d2d;
|
|
51
|
-
`,
|
|
110
|
+
`,wi=ce.css`
|
|
52
111
|
font-size: 14px;
|
|
53
112
|
border-radius: 4px;
|
|
54
113
|
padding: 1px 2px;
|
|
@@ -59,22 +118,22 @@
|
|
|
59
118
|
display: flex;
|
|
60
119
|
justify-content: center;
|
|
61
120
|
background: #3d906d;
|
|
62
|
-
`,
|
|
121
|
+
`,Oi=ce.css`
|
|
63
122
|
padding: 8px;
|
|
64
123
|
border-bottom: 1px solid #e0e0e9;
|
|
65
|
-
`,
|
|
124
|
+
`,ki=e=>ce.css({maxHeight:e?"240px":"280px",overflowY:"auto"}),It=ce.css`
|
|
66
125
|
padding: 16px;
|
|
67
126
|
text-align: center;
|
|
68
|
-
`,
|
|
127
|
+
`,Mt=ce.css`
|
|
69
128
|
font-size: 14px;
|
|
70
129
|
color: #7a7a7a;
|
|
71
|
-
|
|
130
|
+
`,$i=ce.css`
|
|
72
131
|
padding: 6px 12px;
|
|
73
132
|
min-height: 36px;
|
|
74
133
|
&:hover {
|
|
75
134
|
background-color: rgba(93, 183, 121, 0.08);
|
|
76
135
|
}
|
|
77
|
-
`,
|
|
136
|
+
`,Ai=ce.css`
|
|
78
137
|
min-height: 36px;
|
|
79
138
|
&:hover {
|
|
80
139
|
background-color: rgba(93, 183, 121, 0.08);
|
|
@@ -85,74 +144,8 @@
|
|
|
85
144
|
background-color: rgba(93, 183, 121, 0.16);
|
|
86
145
|
}
|
|
87
146
|
}
|
|
88
|
-
`,
|
|
147
|
+
`,_i=ce.css`
|
|
89
148
|
font-size: 14px;
|
|
90
149
|
font-weight: 400;
|
|
91
150
|
color: #2d2d2d;
|
|
92
|
-
`,
|
|
93
|
-
* react-is.production.min.js
|
|
94
|
-
*
|
|
95
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
96
|
-
*
|
|
97
|
-
* This source code is licensed under the MIT license found in the
|
|
98
|
-
* LICENSE file in the root directory of this source tree.
|
|
99
|
-
*/var Dt;function Bo(){if(Dt)return G;Dt=1;var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,b=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,s=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function x(f){if(typeof f=="object"&&f!==null){var C=f.$$typeof;switch(C){case r:switch(f=f.type,f){case l:case d:case n:case i:case o:case p:return f;default:switch(f=f&&f.$$typeof,f){case u:case b:case g:case v:case c:return f;default:return C}}case t:return C}}}function T(f){return x(f)===d}return G.AsyncMode=l,G.ConcurrentMode=d,G.ContextConsumer=u,G.ContextProvider=c,G.Element=r,G.ForwardRef=b,G.Fragment=n,G.Lazy=g,G.Memo=v,G.Portal=t,G.Profiler=i,G.StrictMode=o,G.Suspense=p,G.isAsyncMode=function(f){return T(f)||x(f)===l},G.isConcurrentMode=T,G.isContextConsumer=function(f){return x(f)===u},G.isContextProvider=function(f){return x(f)===c},G.isElement=function(f){return typeof f=="object"&&f!==null&&f.$$typeof===r},G.isForwardRef=function(f){return x(f)===b},G.isFragment=function(f){return x(f)===n},G.isLazy=function(f){return x(f)===g},G.isMemo=function(f){return x(f)===v},G.isPortal=function(f){return x(f)===t},G.isProfiler=function(f){return x(f)===i},G.isStrictMode=function(f){return x(f)===o},G.isSuspense=function(f){return x(f)===p},G.isValidElementType=function(f){return typeof f=="string"||typeof f=="function"||f===n||f===d||f===i||f===o||f===p||f===y||typeof f=="object"&&f!==null&&(f.$$typeof===g||f.$$typeof===v||f.$$typeof===c||f.$$typeof===u||f.$$typeof===b||f.$$typeof===E||f.$$typeof===w||f.$$typeof===A||f.$$typeof===s)},G.typeOf=x,G}var H={};/** @license React v16.13.1
|
|
100
|
-
* react-is.development.js
|
|
101
|
-
*
|
|
102
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
103
|
-
*
|
|
104
|
-
* This source code is licensed under the MIT license found in the
|
|
105
|
-
* LICENSE file in the root directory of this source tree.
|
|
106
|
-
*/var Bt;function jo(){return Bt||(Bt=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,b=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,s=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function x(h){return typeof h=="string"||typeof h=="function"||h===n||h===d||h===i||h===o||h===p||h===y||typeof h=="object"&&h!==null&&(h.$$typeof===g||h.$$typeof===v||h.$$typeof===c||h.$$typeof===u||h.$$typeof===b||h.$$typeof===E||h.$$typeof===w||h.$$typeof===A||h.$$typeof===s)}function T(h){if(typeof h=="object"&&h!==null){var pe=h.$$typeof;switch(pe){case r:var ke=h.type;switch(ke){case l:case d:case n:case i:case o:case p:return ke;default:var lr=ke&&ke.$$typeof;switch(lr){case u:case b:case g:case v:case c:return lr;default:return pe}}case t:return pe}}}var f=l,C=d,O=u,W=c,k=r,a=b,_=n,L=g,ee=v,be=t,_e=i,Ce=o,Pe=p,Be=!1;function fr(h){return Be||(Be=!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.")),S(h)||T(h)===l}function S(h){return T(h)===d}function $(h){return T(h)===u}function D(h){return T(h)===c}function M(h){return typeof h=="object"&&h!==null&&h.$$typeof===r}function R(h){return T(h)===b}function B(h){return T(h)===n}function I(h){return T(h)===g}function N(h){return T(h)===v}function j(h){return T(h)===t}function z(h){return T(h)===i}function F(h){return T(h)===o}function ce(h){return T(h)===p}H.AsyncMode=f,H.ConcurrentMode=C,H.ContextConsumer=O,H.ContextProvider=W,H.Element=k,H.ForwardRef=a,H.Fragment=_,H.Lazy=L,H.Memo=ee,H.Portal=be,H.Profiler=_e,H.StrictMode=Ce,H.Suspense=Pe,H.isAsyncMode=fr,H.isConcurrentMode=S,H.isContextConsumer=$,H.isContextProvider=D,H.isElement=M,H.isForwardRef=R,H.isFragment=B,H.isLazy=I,H.isMemo=N,H.isPortal=j,H.isProfiler=z,H.isStrictMode=F,H.isSuspense=ce,H.isValidElementType=x,H.typeOf=T})()),H}var jt;function Ft(){return jt||(jt=1,process.env.NODE_ENV==="production"?xr.exports=Bo():xr.exports=jo()),xr.exports}/*
|
|
107
|
-
object-assign
|
|
108
|
-
(c) Sindre Sorhus
|
|
109
|
-
@license MIT
|
|
110
|
-
*/var Hr,Lt;function Fo(){if(Lt)return Hr;Lt=1;var e=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var c={},u=0;u<10;u++)c["_"+String.fromCharCode(u)]=u;var l=Object.getOwnPropertyNames(c).map(function(b){return c[b]});if(l.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(b){d[b]=b}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Hr=o()?Object.assign:function(i,c){for(var u,l=n(i),d,b=1;b<arguments.length;b++){u=Object(arguments[b]);for(var p in u)r.call(u,p)&&(l[p]=u[p]);if(e){d=e(u);for(var y=0;y<d.length;y++)t.call(u,d[y])&&(l[d[y]]=u[d[y]])}}return l},Hr}var Kr,Yt;function Xr(){if(Yt)return Kr;Yt=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Kr=e,Kr}var Qr,Vt;function Wt(){return Vt||(Vt=1,Qr=Function.call.bind(Object.prototype.hasOwnProperty)),Qr}var Jr,zt;function Lo(){if(zt)return Jr;zt=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var r=Xr(),t={},n=Wt();e=function(i){var c="Warning: "+i;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}}}function o(i,c,u,l,d){if(process.env.NODE_ENV!=="production"){for(var b in i)if(n(i,b)){var p;try{if(typeof i[b]!="function"){var y=Error((l||"React class")+": "+u+" type `"+b+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[b]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw y.name="Invariant Violation",y}p=i[b](c,b,l,u,null,r)}catch(g){p=g}if(p&&!(p instanceof Error)&&e((l||"React class")+": type specification of "+u+" `"+b+"` 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 t)){t[p.message]=!0;var v=d?d():"";e("Failed "+u+" type: "+p.message+(v??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(t={})},Jr=o,Jr}var Zr,Ut;function Yo(){if(Ut)return Zr;Ut=1;var e=Ft(),r=Fo(),t=Xr(),n=Wt(),o=Lo(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(u){var l="Warning: "+u;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function c(){return null}return Zr=function(u,l){var d=typeof Symbol=="function"&&Symbol.iterator,b="@@iterator";function p(S){var $=S&&(d&&S[d]||S[b]);if(typeof $=="function")return $}var y="<<anonymous>>",v={array:w("array"),bigint:w("bigint"),bool:w("boolean"),func:w("function"),number:w("number"),object:w("object"),string:w("string"),symbol:w("symbol"),any:A(),arrayOf:x,element:T(),elementType:f(),instanceOf:C,node:a(),objectOf:W,oneOf:O,oneOfType:k,shape:L,exact:ee};function g(S,$){return S===$?S!==0||1/S===1/$:S!==S&&$!==$}function s(S,$){this.message=S,this.data=$&&typeof $=="object"?$:{},this.stack=""}s.prototype=Error.prototype;function E(S){if(process.env.NODE_ENV!=="production")var $={},D=0;function M(B,I,N,j,z,F,ce){if(j=j||y,F=F||N,ce!==t){if(l){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}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var pe=j+":"+N;!$[pe]&&D<3&&(i("You are manually calling a React.PropTypes validation function for the `"+F+"` prop on `"+j+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),$[pe]=!0,D++)}}return I[N]==null?B?I[N]===null?new s("The "+z+" `"+F+"` is marked as required "+("in `"+j+"`, but its value is `null`.")):new s("The "+z+" `"+F+"` is marked as required in "+("`"+j+"`, but its value is `undefined`.")):null:S(I,N,j,z,F)}var R=M.bind(null,!1);return R.isRequired=M.bind(null,!0),R}function w(S){function $(D,M,R,B,I,N){var j=D[M],z=Ce(j);if(z!==S){var F=Pe(j);return new s("Invalid "+B+" `"+I+"` of type "+("`"+F+"` supplied to `"+R+"`, expected ")+("`"+S+"`."),{expectedType:S})}return null}return E($)}function A(){return E(c)}function x(S){function $(D,M,R,B,I){if(typeof S!="function")return new s("Property `"+I+"` of component `"+R+"` has invalid PropType notation inside arrayOf.");var N=D[M];if(!Array.isArray(N)){var j=Ce(N);return new s("Invalid "+B+" `"+I+"` of type "+("`"+j+"` supplied to `"+R+"`, expected an array."))}for(var z=0;z<N.length;z++){var F=S(N,z,R,B,I+"["+z+"]",t);if(F instanceof Error)return F}return null}return E($)}function T(){function S($,D,M,R,B){var I=$[D];if(!u(I)){var N=Ce(I);return new s("Invalid "+R+" `"+B+"` of type "+("`"+N+"` supplied to `"+M+"`, expected a single ReactElement."))}return null}return E(S)}function f(){function S($,D,M,R,B){var I=$[D];if(!e.isValidElementType(I)){var N=Ce(I);return new s("Invalid "+R+" `"+B+"` of type "+("`"+N+"` supplied to `"+M+"`, expected a single ReactElement type."))}return null}return E(S)}function C(S){function $(D,M,R,B,I){if(!(D[M]instanceof S)){var N=S.name||y,j=fr(D[M]);return new s("Invalid "+B+" `"+I+"` of type "+("`"+j+"` supplied to `"+R+"`, expected ")+("instance of `"+N+"`."))}return null}return E($)}function O(S){if(!Array.isArray(S))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),c;function $(D,M,R,B,I){for(var N=D[M],j=0;j<S.length;j++)if(g(N,S[j]))return null;var z=JSON.stringify(S,function(ce,h){var pe=Pe(h);return pe==="symbol"?String(h):h});return new s("Invalid "+B+" `"+I+"` of value `"+String(N)+"` "+("supplied to `"+R+"`, expected one of "+z+"."))}return E($)}function W(S){function $(D,M,R,B,I){if(typeof S!="function")return new s("Property `"+I+"` of component `"+R+"` has invalid PropType notation inside objectOf.");var N=D[M],j=Ce(N);if(j!=="object")return new s("Invalid "+B+" `"+I+"` of type "+("`"+j+"` supplied to `"+R+"`, expected an object."));for(var z in N)if(n(N,z)){var F=S(N,z,R,B,I+"."+z,t);if(F instanceof Error)return F}return null}return E($)}function k(S){if(!Array.isArray(S))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),c;for(var $=0;$<S.length;$++){var D=S[$];if(typeof D!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Be(D)+" at index "+$+"."),c}function M(R,B,I,N,j){for(var z=[],F=0;F<S.length;F++){var ce=S[F],h=ce(R,B,I,N,j,t);if(h==null)return null;h.data&&n(h.data,"expectedType")&&z.push(h.data.expectedType)}var pe=z.length>0?", expected one of type ["+z.join(", ")+"]":"";return new s("Invalid "+N+" `"+j+"` supplied to "+("`"+I+"`"+pe+"."))}return E(M)}function a(){function S($,D,M,R,B){return be($[D])?null:new s("Invalid "+R+" `"+B+"` supplied to "+("`"+M+"`, expected a ReactNode."))}return E(S)}function _(S,$,D,M,R){return new s((S||"React class")+": "+$+" type `"+D+"."+M+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+R+"`.")}function L(S){function $(D,M,R,B,I){var N=D[M],j=Ce(N);if(j!=="object")return new s("Invalid "+B+" `"+I+"` of type `"+j+"` "+("supplied to `"+R+"`, expected `object`."));for(var z in S){var F=S[z];if(typeof F!="function")return _(R,B,I,z,Pe(F));var ce=F(N,z,R,B,I+"."+z,t);if(ce)return ce}return null}return E($)}function ee(S){function $(D,M,R,B,I){var N=D[M],j=Ce(N);if(j!=="object")return new s("Invalid "+B+" `"+I+"` of type `"+j+"` "+("supplied to `"+R+"`, expected `object`."));var z=r({},D[M],S);for(var F in z){var ce=S[F];if(n(S,F)&&typeof ce!="function")return _(R,B,I,F,Pe(ce));if(!ce)return new s("Invalid "+B+" `"+I+"` key `"+F+"` supplied to `"+R+"`.\nBad object: "+JSON.stringify(D[M],null," ")+`
|
|
111
|
-
Valid keys: `+JSON.stringify(Object.keys(S),null," "));var h=ce(N,F,R,B,I+"."+F,t);if(h)return h}return null}return E($)}function be(S){switch(typeof S){case"number":case"string":case"undefined":return!0;case"boolean":return!S;case"object":if(Array.isArray(S))return S.every(be);if(S===null||u(S))return!0;var $=p(S);if($){var D=$.call(S),M;if($!==S.entries){for(;!(M=D.next()).done;)if(!be(M.value))return!1}else for(;!(M=D.next()).done;){var R=M.value;if(R&&!be(R[1]))return!1}}else return!1;return!0;default:return!1}}function _e(S,$){return S==="symbol"?!0:$?$["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&$ instanceof Symbol:!1}function Ce(S){var $=typeof S;return Array.isArray(S)?"array":S instanceof RegExp?"object":_e($,S)?"symbol":$}function Pe(S){if(typeof S>"u"||S===null)return""+S;var $=Ce(S);if($==="object"){if(S instanceof Date)return"date";if(S instanceof RegExp)return"regexp"}return $}function Be(S){var $=Pe(S);switch($){case"array":case"object":return"an "+$;case"boolean":case"date":case"regexp":return"a "+$;default:return $}}function fr(S){return!S.constructor||!S.constructor.name?y:S.constructor.name}return v.checkPropTypes=o,v.resetWarningCache=o.resetWarningCache,v.PropTypes=v,v},Zr}var et,qt;function Vo(){if(qt)return et;qt=1;var e=Xr();function r(){}function t(){}return t.resetWarningCache=r,et=function(){function n(c,u,l,d,b,p){if(p!==e){var y=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 y.name="Invariant Violation",y}}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:t,resetWarningCache:r};return i.PropTypes=i,i},et}var Gt;function Wo(){if(Gt)return Cr.exports;if(Gt=1,process.env.NODE_ENV!=="production"){var e=Ft(),r=!0;Cr.exports=Yo()(e.isElement,r)}else Cr.exports=Vo()();return Cr.exports}var zo=Wo();const tr=Zn(zo);var Er={exports:{}},K={};/**
|
|
112
|
-
* @license React
|
|
113
|
-
* react-is.production.js
|
|
114
|
-
*
|
|
115
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
116
|
-
*
|
|
117
|
-
* This source code is licensed under the MIT license found in the
|
|
118
|
-
* LICENSE file in the root directory of this source tree.
|
|
119
|
-
*/var Ht;function Uo(){if(Ht)return K;Ht=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),y=Symbol.for("react.view_transition"),v=Symbol.for("react.client.reference");function g(s){if(typeof s=="object"&&s!==null){var E=s.$$typeof;switch(E){case e:switch(s=s.type,s){case t:case o:case n:case l:case d:case y:return s;default:switch(s=s&&s.$$typeof,s){case c:case u:case p:case b:return s;case i:return s;default:return E}}case r:return E}}}return K.ContextConsumer=i,K.ContextProvider=c,K.Element=e,K.ForwardRef=u,K.Fragment=t,K.Lazy=p,K.Memo=b,K.Portal=r,K.Profiler=o,K.StrictMode=n,K.Suspense=l,K.SuspenseList=d,K.isContextConsumer=function(s){return g(s)===i},K.isContextProvider=function(s){return g(s)===c},K.isElement=function(s){return typeof s=="object"&&s!==null&&s.$$typeof===e},K.isForwardRef=function(s){return g(s)===u},K.isFragment=function(s){return g(s)===t},K.isLazy=function(s){return g(s)===p},K.isMemo=function(s){return g(s)===b},K.isPortal=function(s){return g(s)===r},K.isProfiler=function(s){return g(s)===o},K.isStrictMode=function(s){return g(s)===n},K.isSuspense=function(s){return g(s)===l},K.isSuspenseList=function(s){return g(s)===d},K.isValidElementType=function(s){return typeof s=="string"||typeof s=="function"||s===t||s===o||s===n||s===l||s===d||typeof s=="object"&&s!==null&&(s.$$typeof===p||s.$$typeof===b||s.$$typeof===c||s.$$typeof===i||s.$$typeof===u||s.$$typeof===v||s.getModuleId!==void 0)},K.typeOf=g,K}var X={};/**
|
|
120
|
-
* @license React
|
|
121
|
-
* react-is.development.js
|
|
122
|
-
*
|
|
123
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
124
|
-
*
|
|
125
|
-
* This source code is licensed under the MIT license found in the
|
|
126
|
-
* LICENSE file in the root directory of this source tree.
|
|
127
|
-
*/var Kt;function qo(){return Kt||(Kt=1,process.env.NODE_ENV!=="production"&&(function(){function e(s){if(typeof s=="object"&&s!==null){var E=s.$$typeof;switch(E){case r:switch(s=s.type,s){case n:case i:case o:case d:case b:case v:return s;default:switch(s=s&&s.$$typeof,s){case u:case l:case y:case p:return s;case c:return s;default:return E}}case t:return E}}}var r=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");X.ContextConsumer=c,X.ContextProvider=u,X.Element=r,X.ForwardRef=l,X.Fragment=n,X.Lazy=y,X.Memo=p,X.Portal=t,X.Profiler=i,X.StrictMode=o,X.Suspense=d,X.SuspenseList=b,X.isContextConsumer=function(s){return e(s)===c},X.isContextProvider=function(s){return e(s)===u},X.isElement=function(s){return typeof s=="object"&&s!==null&&s.$$typeof===r},X.isForwardRef=function(s){return e(s)===l},X.isFragment=function(s){return e(s)===n},X.isLazy=function(s){return e(s)===y},X.isMemo=function(s){return e(s)===p},X.isPortal=function(s){return e(s)===t},X.isProfiler=function(s){return e(s)===i},X.isStrictMode=function(s){return e(s)===o},X.isSuspense=function(s){return e(s)===d},X.isSuspenseList=function(s){return e(s)===b},X.isValidElementType=function(s){return typeof s=="string"||typeof s=="function"||s===n||s===i||s===o||s===d||s===b||typeof s=="object"&&s!==null&&(s.$$typeof===y||s.$$typeof===p||s.$$typeof===u||s.$$typeof===c||s.$$typeof===l||s.$$typeof===g||s.getModuleId!==void 0)},X.typeOf=e})()),X}var Xt;function Go(){return Xt||(Xt=1,process.env.NODE_ENV==="production"?Er.exports=Uo():Er.exports=qo()),Er.exports}var Qt=Go();function Me(e){if(typeof e!="object"||e===null)return!1;const r=Object.getPrototypeOf(e);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Jt(e){if(xe.isValidElement(e)||Qt.isValidElementType(e)||!Me(e))return e;const r={};return Object.keys(e).forEach(t=>{r[t]=Jt(e[t])}),r}function he(e,r,t={clone:!0}){const n=t.clone?{...e}:e;return Me(e)&&Me(r)&&Object.keys(r).forEach(o=>{xe.isValidElement(r[o])||Qt.isValidElementType(r[o])?n[o]=r[o]:Me(r[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Me(e[o])?n[o]=he(e[o],r[o],t):t.clone?n[o]=Me(r[o])?Jt(r[o]):r[o]:n[o]=r[o]}),n}const Ho=e=>{const r=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return r.sort((t,n)=>t.val-n.val),r.reduce((t,n)=>({...t,[n.key]:n.val}),{})};function Ko(e){const{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:t="px",step:n=5,...o}=e,i=Ho(r),c=Object.keys(i);function u(y){return`@media (min-width:${typeof r[y]=="number"?r[y]:y}${t})`}function l(y){return`@media (max-width:${(typeof r[y]=="number"?r[y]:y)-n/100}${t})`}function d(y,v){const g=c.indexOf(v);return`@media (min-width:${typeof r[y]=="number"?r[y]:y}${t}) and (max-width:${(g!==-1&&typeof r[c[g]]=="number"?r[c[g]]:v)-n/100}${t})`}function b(y){return c.indexOf(y)+1<c.length?d(y,c[c.indexOf(y)+1]):u(y)}function p(y){const v=c.indexOf(y);return v===0?u(c[1]):v===c.length-1?l(c[v]):d(y,c[c.indexOf(y)+1]).replace("@media","@media not all and")}return{keys:c,values:i,up:u,down:l,between:d,only:b,not:p,unit:t,...o}}function Zt(e,r){if(!e.containerQueries)return r;const t=Object.keys(r).filter(n=>n.startsWith("@container")).sort((n,o)=>{var c,u;const i=/min-width:\s*([0-9.]+)/;return+(((c=n.match(i))==null?void 0:c[1])||0)-+(((u=o.match(i))==null?void 0:u[1])||0)});return t.length?t.reduce((n,o)=>{const i=r[o];return delete n[o],n[o]=i,n},{...r}):r}function Xo(e,r){return r==="@"||r.startsWith("@")&&(e.some(t=>r.startsWith(`@${t}`))||!!r.match(/^@\d/))}function Qo(e,r){const t=r.match(/^@([^/]+)?\/?(.+)?$/);if(!t){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${r})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
128
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:Ie(18,`(${r})`));return null}const[,n,o]=t,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function Jo(e){const r=(i,c)=>i.replace("@media",c?`@container ${c}`:"@container");function t(i,c){i.up=(...u)=>r(e.breakpoints.up(...u),c),i.down=(...u)=>r(e.breakpoints.down(...u),c),i.between=(...u)=>r(e.breakpoints.between(...u),c),i.only=(...u)=>r(e.breakpoints.only(...u),c),i.not=(...u)=>{const l=r(e.breakpoints.not(...u),c);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const n={},o=i=>(t(n,i),n);return t(o),{...e,containerQueries:o}}const Zo={borderRadius:4},Ne=process.env.NODE_ENV!=="production"?tr.oneOfType([tr.number,tr.string,tr.object,tr.array]):{};function nr(e,r){return r?he(e,r,{clone:!1}):e}const wr={xs:0,sm:600,md:900,lg:1200,xl:1536},en={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${wr[e]}px)`},ei={containerQueries:e=>({up:r=>{let t=typeof r=="number"?r:wr[r]||r;return typeof t=="number"&&(t=`${t}px`),e?`@container ${e} (min-width:${t})`:`@container (min-width:${t})`}})};function Ae(e,r,t){const n=e.theme||{};if(Array.isArray(r)){const i=n.breakpoints||en;return r.reduce((c,u,l)=>(c[i.up(i.keys[l])]=t(r[l]),c),{})}if(typeof r=="object"){const i=n.breakpoints||en;return Object.keys(r).reduce((c,u)=>{if(Xo(i.keys,u)){const l=Qo(n.containerQueries?n:ei,u);l&&(c[l]=t(r[u],u))}else if(Object.keys(i.values||wr).includes(u)){const l=i.up(u);c[l]=t(r[u],u)}else{const l=u;c[l]=r[l]}return c},{})}return t(r)}function ri(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function rn(e,r){return e.reduce((t,n)=>{const o=t[n];return(!o||Object.keys(o).length===0)&&delete t[n],t},r)}function tn(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Ie(7));return e.charAt(0).toUpperCase()+e.slice(1)}function $r(e,r,t=!0){if(!r||typeof r!="string")return null;if(e&&e.vars&&t){const n=`vars.${r}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return r.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function Or(e,r,t,n=t){let o;return typeof e=="function"?o=e(t):Array.isArray(e)?o=e[t]||n:o=$r(e,t)||n,r&&(o=r(o,n,e)),o}function ne(e){const{prop:r,cssProperty:t=e.prop,themeKey:n,transform:o}=e,i=c=>{if(c[r]==null)return null;const u=c[r],l=c.theme,d=$r(l,n)||{};return Ae(c,u,p=>{let y=Or(d,o,p);return p===y&&typeof p=="string"&&(y=Or(d,o,`${r}${p==="default"?"":tn(p)}`,p)),t===!1?y:{[t]:y}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[r]:Ne}:{},i.filterProps=[r],i}function ti(e){const r={};return t=>(r[t]===void 0&&(r[t]=e(t)),r[t])}const ni={m:"margin",p:"padding"},oi={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},nn={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ii=ti(e=>{if(e.length>2)if(nn[e])e=nn[e];else return[e];const[r,t]=e.split(""),n=ni[r],o=oi[t]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),_r=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Ar=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],ai=[..._r,...Ar];function or(e,r,t,n){const o=$r(e,r,!0)??t;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"?`calc(${i} * ${o})`:o*i):Array.isArray(o)?i=>{if(typeof i=="string")return i;const c=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(c)?c>o.length-1&&console.error([`MUI: The value provided (${c}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${c} > ${o.length-1}, you need to add the missing values.`].join(`
|
|
129
|
-
`)):console.error([`MUI: The \`theme.${r}\` 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.${r}\` as a number.`].join(`
|
|
130
|
-
`)));const u=o[c];return i>=0?u:typeof u=="number"?-u:`-${u}`}:typeof o=="function"?o:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${r}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
131
|
-
`)),()=>{})}function rt(e){return or(e,"spacing",8,"spacing")}function ir(e,r){return typeof r=="string"||r==null?r:e(r)}function si(e,r){return t=>e.reduce((n,o)=>(n[o]=ir(r,t),n),{})}function ci(e,r,t,n){if(!r.includes(t))return null;const o=ii(t),i=si(o,n),c=e[t];return Ae(e,c,i)}function on(e,r){const t=rt(e.theme);return Object.keys(e).map(n=>ci(e,r,n,t)).reduce(nr,{})}function re(e){return on(e,_r)}re.propTypes=process.env.NODE_ENV!=="production"?_r.reduce((e,r)=>(e[r]=Ne,e),{}):{},re.filterProps=_r;function te(e){return on(e,Ar)}te.propTypes=process.env.NODE_ENV!=="production"?Ar.reduce((e,r)=>(e[r]=Ne,e),{}):{},te.filterProps=Ar,process.env.NODE_ENV!=="production"&&ai.reduce((e,r)=>(e[r]=Ne,e),{});function an(e=8,r=rt({spacing:e})){if(e.mui)return e;const t=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const c=r(i);return typeof c=="number"?`${c}px`:c}).join(" "));return t.mui=!0,t}function Rr(...e){const r=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),t=n=>Object.keys(n).reduce((o,i)=>r[i]?nr(o,r[i](n)):o,{});return t.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},t.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),t}function Se(e){return typeof e!="number"?e:`${e}px solid`}function Te(e,r){return ne({prop:e,themeKey:"borders",transform:r})}const ui=Te("border",Se),fi=Te("borderTop",Se),li=Te("borderRight",Se),di=Te("borderBottom",Se),pi=Te("borderLeft",Se),mi=Te("borderColor"),gi=Te("borderTopColor"),hi=Te("borderRightColor"),yi=Te("borderBottomColor"),bi=Te("borderLeftColor"),vi=Te("outline",Se),Si=Te("outlineColor"),Pr=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const r=or(e.theme,"shape.borderRadius",4,"borderRadius"),t=n=>({borderRadius:ir(r,n)});return Ae(e,e.borderRadius,t)}return null};Pr.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Ne}:{},Pr.filterProps=["borderRadius"],Rr(ui,fi,li,di,pi,mi,gi,hi,yi,bi,Pr,vi,Si);const kr=e=>{if(e.gap!==void 0&&e.gap!==null){const r=or(e.theme,"spacing",8,"gap"),t=n=>({gap:ir(r,n)});return Ae(e,e.gap,t)}return null};kr.propTypes=process.env.NODE_ENV!=="production"?{gap:Ne}:{},kr.filterProps=["gap"];const Ir=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const r=or(e.theme,"spacing",8,"columnGap"),t=n=>({columnGap:ir(r,n)});return Ae(e,e.columnGap,t)}return null};Ir.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Ne}:{},Ir.filterProps=["columnGap"];const Mr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const r=or(e.theme,"spacing",8,"rowGap"),t=n=>({rowGap:ir(r,n)});return Ae(e,e.rowGap,t)}return null};Mr.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Ne}:{},Mr.filterProps=["rowGap"];const Ti=ne({prop:"gridColumn"}),Ci=ne({prop:"gridRow"}),xi=ne({prop:"gridAutoFlow"}),Ei=ne({prop:"gridAutoColumns"}),wi=ne({prop:"gridAutoRows"}),$i=ne({prop:"gridTemplateColumns"}),Oi=ne({prop:"gridTemplateRows"}),_i=ne({prop:"gridTemplateAreas"}),Ai=ne({prop:"gridArea"});Rr(kr,Ir,Mr,Ti,Ci,xi,Ei,wi,$i,Oi,_i,Ai);function Ve(e,r){return r==="grey"?r:e}const Ri=ne({prop:"color",themeKey:"palette",transform:Ve}),Pi=ne({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ve}),ki=ne({prop:"backgroundColor",themeKey:"palette",transform:Ve});Rr(Ri,Pi,ki);function ye(e){return e<=1&&e!==0?`${e*100}%`:e}const Ii=ne({prop:"width",transform:ye}),tt=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const r=t=>{var o,i,c,u,l;const n=((c=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:c[t])||wr[t];return n?((l=(u=e.theme)==null?void 0:u.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:ye(t)}};return Ae(e,e.maxWidth,r)}return null};tt.filterProps=["maxWidth"];const Mi=ne({prop:"minWidth",transform:ye}),Ni=ne({prop:"height",transform:ye}),Di=ne({prop:"maxHeight",transform:ye}),Bi=ne({prop:"minHeight",transform:ye});ne({prop:"size",cssProperty:"width",transform:ye}),ne({prop:"size",cssProperty:"height",transform:ye});const ji=ne({prop:"boxSizing"});Rr(Ii,tt,Mi,Ni,Di,Bi,ji);const Nr={border:{themeKey:"borders",transform:Se},borderTop:{themeKey:"borders",transform:Se},borderRight:{themeKey:"borders",transform:Se},borderBottom:{themeKey:"borders",transform:Se},borderLeft:{themeKey:"borders",transform:Se},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Se},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Pr},color:{themeKey:"palette",transform:Ve},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ve},backgroundColor:{themeKey:"palette",transform:Ve},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:re},mt:{style:re},mr:{style:re},mb:{style:re},ml:{style:re},mx:{style:re},my:{style:re},margin:{style:re},marginTop:{style:re},marginRight:{style:re},marginBottom:{style:re},marginLeft:{style:re},marginX:{style:re},marginY:{style:re},marginInline:{style:re},marginInlineStart:{style:re},marginInlineEnd:{style:re},marginBlock:{style:re},marginBlockStart:{style:re},marginBlockEnd:{style:re},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:kr},rowGap:{style:Mr},columnGap:{style:Ir},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ye},maxWidth:{style:tt},minWidth:{transform:ye},height:{transform:ye},maxHeight:{transform:ye},minHeight:{transform:ye},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 Fi(...e){const r=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),t=new Set(r);return e.every(n=>t.size===Object.keys(n).length)}function Li(e,r){return typeof e=="function"?e(r):e}function Yi(){function e(t,n,o,i){const c={[t]:n,theme:o},u=i[t];if(!u)return{[t]:n};const{cssProperty:l=t,themeKey:d,transform:b,style:p}=u;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[t]:n};const y=$r(o,d)||{};return p?p(c):Ae(c,n,g=>{let s=Or(y,b,g);return g===s&&typeof g=="string"&&(s=Or(y,b,`${t}${g==="default"?"":tn(g)}`,g)),l===!1?s:{[l]:s}})}function r(t){const{sx:n,theme:o={},nested:i}=t||{};if(!n)return null;const c=o.unstable_sxConfig??Nr;function u(l){let d=l;if(typeof l=="function")d=l(o);else if(typeof l!="object")return l;if(!d)return null;const b=ri(o.breakpoints),p=Object.keys(b);let y=b;return Object.keys(d).forEach(v=>{const g=Li(d[v],o);if(g!=null)if(typeof g=="object")if(c[v])y=nr(y,e(v,g,o,c));else{const s=Ae({theme:o},g,E=>({[v]:E}));Fi(s,g)?y[v]=r({sx:g,theme:o,nested:!0}):y=nr(y,s)}else y=nr(y,e(v,g,o,c))}),!i&&o.modularCssLayers?{"@layer sx":Zt(o,rn(p,y))}:Zt(o,rn(p,y))}return Array.isArray(n)?n.map(u):u(n)}return r}const Dr=Yi();Dr.filterProps=["sx"];function Vi(e,r){var n;const t=this;if(t.vars){if(!((n=t.colorSchemes)!=null&&n[e])||typeof t.getColorSchemeSelector!="function")return{};let o=t.getColorSchemeSelector(e);return o==="&"?r:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:r})}return t.palette.mode===e?r:{}}function Wi(e={},...r){const{breakpoints:t={},palette:n={},spacing:o,shape:i={},...c}=e,u=Ko(t),l=an(o);let d=he({breakpoints:u,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:l,shape:{...Zo,...i}},c);return d=Jo(d),d.applyStyles=Vi,d=r.reduce((b,p)=>he(b,p),d),d.unstable_sxConfig={...Nr,...c==null?void 0:c.unstable_sxConfig},d.unstable_sx=function(p){return Dr({sx:p,theme:this})},d}const sn=e=>e,zi=(()=>{let e=sn;return{configure(r){e=r},generate(r){return e(r)},reset(){e=sn}}})(),Ui={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 qi(e,r,t="Mui"){const n=Ui[r];return n?`${t}-${n}`:`${zi.generate(e)}-${r}`}function Gi(e,r=Number.MIN_SAFE_INTEGER,t=Number.MAX_SAFE_INTEGER){return Math.max(r,Math.min(e,t))}function nt(e,r=0,t=1){return process.env.NODE_ENV!=="production"&&(e<r||e>t)&&console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`),Gi(e,r,t)}function Hi(e){e=e.slice(1);const r=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let t=e.match(r);return t&&t[0].length===1&&(t=t.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.`),t?`rgb${t.length===4?"a":""}(${t.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function De(e){if(e.type)return e;if(e.charAt(0)==="#")return De(Hi(e));const r=e.indexOf("("),t=e.substring(0,r);if(!["rgb","rgba","hsl","hsla","color"].includes(t))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
132
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Ie(9,e));let n=e.substring(r+1,e.length-1),o;if(t==="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.
|
|
133
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Ie(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:t,values:n,colorSpace:o}}const Ki=e=>{const r=De(e);return r.values.slice(0,3).map((t,n)=>r.type.includes("hsl")&&n!==0?`${t}%`:t).join(" ")},ar=(e,r)=>{try{return Ki(e)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}};function Br(e){const{type:r,colorSpace:t}=e;let{values:n}=e;return r.includes("rgb")?n=n.map((o,i)=>i<3?parseInt(o,10):o):r.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),r.includes("color")?n=`${t} ${n.join(" ")}`:n=`${n.join(", ")}`,`${r}(${n})`}function cn(e){e=De(e);const{values:r}=e,t=r[0],n=r[1]/100,o=r[2]/100,i=n*Math.min(o,1-o),c=(d,b=(d+t/30)%12)=>o-i*Math.max(Math.min(b-3,9-b,1),-1);let u="rgb";const l=[Math.round(c(0)*255),Math.round(c(8)*255),Math.round(c(4)*255)];return e.type==="hsla"&&(u+="a",l.push(r[3])),Br({type:u,values:l})}function ot(e){e=De(e);let r=e.type==="hsl"||e.type==="hsla"?De(cn(e)).values:e.values;return r=r.map(t=>(e.type!=="color"&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}function un(e,r){const t=ot(e),n=ot(r);return(Math.max(t,n)+.05)/(Math.min(t,n)+.05)}function Xi(e,r){return e=De(e),r=nt(r),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${r}`:e.values[3]=r,Br(e)}function jr(e,r,t){try{return Xi(e,r)}catch{return e}}function it(e,r){if(e=De(e),r=nt(r),e.type.includes("hsl"))e.values[2]*=1-r;else if(e.type.includes("rgb")||e.type.includes("color"))for(let t=0;t<3;t+=1)e.values[t]*=1-r;return Br(e)}function Q(e,r,t){try{return it(e,r)}catch{return e}}function at(e,r){if(e=De(e),r=nt(r),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*r;else if(e.type.includes("rgb"))for(let t=0;t<3;t+=1)e.values[t]+=(255-e.values[t])*r;else if(e.type.includes("color"))for(let t=0;t<3;t+=1)e.values[t]+=(1-e.values[t])*r;return Br(e)}function J(e,r,t){try{return at(e,r)}catch{return e}}function Qi(e,r=.15){return ot(e)>.5?it(e,r):at(e,r)}function Fr(e,r,t){try{return Qi(e,r)}catch{return e}}function Ji(e=""){function r(...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}${r(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${r(...o)})`}const fn=(e,r,t,n=[])=>{let o=e;r.forEach((i,c)=>{c===r.length-1?Array.isArray(o)?o[Number(i)]=t:o&&typeof o=="object"&&(o[i]=t):o&&typeof o=="object"&&(o[i]||(o[i]=n.includes(i)?[]:{}),o=o[i])})},Zi=(e,r,t)=>{function n(o,i=[],c=[]){Object.entries(o).forEach(([u,l])=>{(!t||t&&!t([...i,u]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?n(l,[...i,u],Array.isArray(l)?[...c,u]:c):r([...i,u],l,c))})}n(e)},ea=(e,r)=>typeof r=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?r:`${r}px`:r;function st(e,r){const{prefix:t,shouldSkipGeneratingVar:n}=r||{},o={},i={},c={};return Zi(e,(u,l,d)=>{if((typeof l=="string"||typeof l=="number")&&(!n||!n(u,l))){const b=`--${t?`${t}-`:""}${u.join("-")}`,p=ea(u,l);Object.assign(o,{[b]:p}),fn(i,u,`var(${b})`,d),fn(c,u,`var(${b}, ${p})`,d)}},u=>u[0]==="vars"),{css:o,vars:i,varsWithDefaults:c}}function ra(e,r={}){const{getSelector:t=E,disableCssColorScheme:n,colorSchemeSelector:o}=r,{colorSchemes:i={},components:c,defaultColorScheme:u="light",...l}=e,{vars:d,css:b,varsWithDefaults:p}=st(l,r);let y=p;const v={},{[u]:g,...s}=i;if(Object.entries(s||{}).forEach(([x,T])=>{const{vars:f,css:C,varsWithDefaults:O}=st(T,r);y=he(y,O),v[x]={css:C,vars:f}}),g){const{css:x,vars:T,varsWithDefaults:f}=st(g,r);y=he(y,f),v[u]={css:x,vars:T}}function E(x,T){var C,O;let f=o;if(o==="class"&&(f=".%s"),o==="data"&&(f="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(f=`[${o}="%s"]`),x){if(f==="media")return e.defaultColorScheme===x?":root":{[`@media (prefers-color-scheme: ${((O=(C=i[x])==null?void 0:C.palette)==null?void 0:O.mode)||x})`]:{":root":T}};if(f)return e.defaultColorScheme===x?`:root, ${f.replace("%s",String(x))}`:f.replace("%s",String(x))}return":root"}return{vars:y,generateThemeVars:()=>{let x={...d};return Object.entries(v).forEach(([,{vars:T}])=>{x=he(x,T)}),x},generateStyleSheets:()=>{var W,k;const x=[],T=e.defaultColorScheme||"light";function f(a,_){Object.keys(_).length&&x.push(typeof a=="string"?{[a]:{..._}}:a)}f(t(void 0,{...b}),b);const{[T]:C,...O}=v;if(C){const{css:a}=C,_=(k=(W=i[T])==null?void 0:W.palette)==null?void 0:k.mode,L=!n&&_?{colorScheme:_,...a}:{...a};f(t(T,{...L}),L)}return Object.entries(O).forEach(([a,{css:_}])=>{var be,_e;const L=(_e=(be=i[a])==null?void 0:be.palette)==null?void 0:_e.mode,ee=!n&&L?{colorScheme:L,..._}:{..._};f(t(a,{...ee}),ee)}),x}}}function ta(e){return function(t){return e==="media"?(process.env.NODE_ENV!=="production"&&t!=="light"&&t!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`),`@media (prefers-color-scheme: ${t})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:e==="class"?`.${t} &`:e==="data"?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}const sr={black:"#000",white:"#fff"},na={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"},We={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},ze={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},cr={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Ue={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},qe={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Ge={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function ln(){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:sr.white,default:sr.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 oa=ln();function dn(){return{text:{primary:sr.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:sr.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 pn=dn();function mn(e,r,t,n){const o=n.light||n,i=n.dark||n*1.5;e[r]||(e.hasOwnProperty(t)?e[r]=e[t]:r==="light"?e.light=at(e.main,o):r==="dark"&&(e.dark=it(e.main,i)))}function ia(e="light"){return e==="dark"?{main:Ue[200],light:Ue[50],dark:Ue[400]}:{main:Ue[700],light:Ue[400],dark:Ue[800]}}function aa(e="light"){return e==="dark"?{main:We[200],light:We[50],dark:We[400]}:{main:We[500],light:We[300],dark:We[700]}}function sa(e="light"){return e==="dark"?{main:ze[500],light:ze[300],dark:ze[700]}:{main:ze[700],light:ze[400],dark:ze[800]}}function ca(e="light"){return e==="dark"?{main:qe[400],light:qe[300],dark:qe[700]}:{main:qe[700],light:qe[500],dark:qe[900]}}function ua(e="light"){return e==="dark"?{main:Ge[400],light:Ge[300],dark:Ge[700]}:{main:Ge[800],light:Ge[500],dark:Ge[900]}}function fa(e="light"){return e==="dark"?{main:cr[400],light:cr[300],dark:cr[700]}:{main:"#ed6c02",light:cr[500],dark:cr[900]}}function ct(e){const{mode:r="light",contrastThreshold:t=3,tonalOffset:n=.2,...o}=e,i=e.primary||ia(r),c=e.secondary||aa(r),u=e.error||sa(r),l=e.info||ca(r),d=e.success||ua(r),b=e.warning||fa(r);function p(s){const E=un(s,pn.text.primary)>=t?pn.text.primary:oa.text.primary;if(process.env.NODE_ENV!=="production"){const w=un(s,E);w<3&&console.error([`MUI: The contrast ratio of ${w}:1 for ${E} on ${s}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
134
|
-
`))}return E}const y=({color:s,name:E,mainShade:w=500,lightShade:A=300,darkShade:x=700})=>{if(s={...s},!s.main&&s[w]&&(s.main=s[w]),!s.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${E?` (${E})`:""} provided to augmentColor(color) is invalid.
|
|
135
|
-
The color object needs to have a \`main\` property or a \`${w}\` property.`:Ie(11,E?` (${E})`:"",w));if(typeof s.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${E?` (${E})`:""} provided to augmentColor(color) is invalid.
|
|
136
|
-
\`color.main\` should be a string, but \`${JSON.stringify(s.main)}\` was provided instead.
|
|
137
|
-
|
|
138
|
-
Did you intend to use one of the following approaches?
|
|
139
|
-
|
|
140
|
-
import { green } from "@mui/material/colors";
|
|
141
|
-
|
|
142
|
-
const theme1 = createTheme({ palette: {
|
|
143
|
-
primary: green,
|
|
144
|
-
} });
|
|
145
|
-
|
|
146
|
-
const theme2 = createTheme({ palette: {
|
|
147
|
-
primary: { main: green[500] },
|
|
148
|
-
} });`:Ie(12,E?` (${E})`:"",JSON.stringify(s.main)));return mn(s,"light",A,n),mn(s,"dark",x,n),s.contrastText||(s.contrastText=p(s.main)),s};let v;return r==="light"?v=ln():r==="dark"&&(v=dn()),process.env.NODE_ENV!=="production"&&(v||console.error(`MUI: The palette mode \`${r}\` is not supported.`)),he({common:{...sr},mode:r,primary:y({color:i,name:"primary"}),secondary:y({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:y({color:u,name:"error"}),warning:y({color:b,name:"warning"}),info:y({color:l,name:"info"}),success:y({color:d,name:"success"}),grey:na,contrastThreshold:t,getContrastText:p,augmentColor:y,tonalOffset:n,...v},o)}function la(e){const r={};return Object.entries(e).forEach(n=>{const[o,i]=n;typeof i=="object"&&(r[o]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),r}function da(e,r){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...r}}function pa(e){return Math.round(e*1e5)/1e5}const gn={textTransform:"uppercase"},hn='"Roboto", "Helvetica", "Arial", sans-serif';function ma(e,r){const{fontFamily:t=hn,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:l=16,allVariants:d,pxToRem:b,...p}=typeof r=="function"?r(e):r;process.env.NODE_ENV!=="production"&&(typeof n!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof l!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const y=n/14,v=b||(E=>`${E/l*y}rem`),g=(E,w,A,x,T)=>({fontFamily:t,fontWeight:E,fontSize:v(w),lineHeight:A,...t===hn?{letterSpacing:`${pa(x/w)}em`}:{},...T,...d}),s={h1:g(o,96,1.167,-1.5),h2:g(o,60,1.2,-.5),h3:g(i,48,1.167,0),h4:g(i,34,1.235,.25),h5:g(i,24,1.334,0),h6:g(c,20,1.6,.15),subtitle1:g(i,16,1.75,.15),subtitle2:g(c,14,1.57,.1),body1:g(i,16,1.5,.15),body2:g(i,14,1.43,.15),button:g(c,14,1.75,.4,gn),caption:g(i,12,1.66,.4),overline:g(i,12,2.66,1,gn),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return he({htmlFontSize:l,pxToRem:v,fontFamily:t,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:c,fontWeightBold:u,...s},p,{clone:!1})}const ga=.2,ha=.14,ya=.12;function Z(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${ga})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${ha})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${ya})`].join(",")}const ba=["none",Z(0,2,1,-1,0,1,1,0,0,1,3,0),Z(0,3,1,-2,0,2,2,0,0,1,5,0),Z(0,3,3,-2,0,3,4,0,0,1,8,0),Z(0,2,4,-1,0,4,5,0,0,1,10,0),Z(0,3,5,-1,0,5,8,0,0,1,14,0),Z(0,3,5,-1,0,6,10,0,0,1,18,0),Z(0,4,5,-2,0,7,10,1,0,2,16,1),Z(0,5,5,-3,0,8,10,1,0,3,14,2),Z(0,5,6,-3,0,9,12,1,0,3,16,2),Z(0,6,6,-3,0,10,14,1,0,4,18,3),Z(0,6,7,-4,0,11,15,1,0,4,20,3),Z(0,7,8,-4,0,12,17,2,0,5,22,4),Z(0,7,8,-4,0,13,19,2,0,5,24,4),Z(0,7,9,-4,0,14,21,2,0,5,26,4),Z(0,8,9,-5,0,15,22,2,0,6,28,5),Z(0,8,10,-5,0,16,24,2,0,6,30,5),Z(0,8,11,-5,0,17,26,2,0,6,32,5),Z(0,9,11,-5,0,18,28,2,0,7,34,6),Z(0,9,12,-6,0,19,29,2,0,7,36,6),Z(0,10,13,-6,0,20,31,3,0,8,38,7),Z(0,10,13,-6,0,21,33,3,0,8,40,7),Z(0,10,14,-6,0,22,35,3,0,8,42,7),Z(0,11,14,-7,0,23,36,3,0,9,44,8),Z(0,11,15,-7,0,24,38,3,0,9,46,8)],va={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Sa={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function yn(e){return`${Math.round(e)}ms`}function Ta(e){if(!e)return 0;const r=e/36;return Math.min(Math.round((4+15*r**.25+r/5)*10),3e3)}function Ca(e){const r={...va,...e.easing},t={...Sa,...e.duration};return{getAutoHeightDuration:Ta,create:(o=["all"],i={})=>{const{duration:c=t.standard,easing:u=r.easeInOut,delay:l=0,...d}=i;if(process.env.NODE_ENV!=="production"){const b=y=>typeof y=="string",p=y=>!Number.isNaN(parseFloat(y));!b(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!p(c)&&!b(c)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${c}.`),b(u)||console.error('MUI: Argument "easing" must be a string.'),!p(l)&&!b(l)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
149
|
-
`)),Object.keys(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(b=>`${b} ${typeof c=="string"?c:yn(c)} ${u} ${typeof l=="string"?l:yn(l)}`).join(",")},...e,easing:r,duration:t}}const xa={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Ea(e){return Me(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function bn(e={}){const r={...e};function t(n){const o=Object.entries(n);for(let i=0;i<o.length;i++){const[c,u]=o[i];!Ea(u)||c.startsWith("unstable_")?delete n[c]:Me(u)&&(n[c]={...u},t(n[c]))}}return t(r),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
150
|
-
|
|
151
|
-
const theme = ${JSON.stringify(r,null,2)};
|
|
152
|
-
|
|
153
|
-
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
154
|
-
theme.transitions = createTransitions(theme.transitions || {});
|
|
155
|
-
|
|
156
|
-
export default theme;`}function ut(e={},...r){const{breakpoints:t,mixins:n={},spacing:o,palette:i={},transitions:c={},typography:u={},shape:l,...d}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":Ie(20));const b=ct(i),p=Wi(e);let y=he(p,{mixins:da(p.breakpoints,n),palette:b,shadows:ba.slice(),typography:ma(b,u),transitions:Ca(c),zIndex:{...xa}});if(y=he(y,d),y=r.reduce((v,g)=>he(v,g),y),process.env.NODE_ENV!=="production"){const v=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],g=(s,E)=>{let w;for(w in s){const A=s[w];if(v.includes(w)&&Object.keys(A).length>0){if(process.env.NODE_ENV!=="production"){const x=qi("",w);console.error([`MUI: The \`${E}\` component increases the CSS specificity of the \`${w}\` internal state.`,"You can not override it like this: ",JSON.stringify(s,null,2),"",`Instead, you need to use the '&.${x}' syntax:`,JSON.stringify({root:{[`&.${x}`]:A}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
157
|
-
`))}s[w]={}}}};Object.keys(y.components).forEach(s=>{const E=y.components[s].styleOverrides;E&&s.startsWith("Mui")&&g(E,s)})}return y.unstable_sxConfig={...Nr,...d==null?void 0:d.unstable_sxConfig},y.unstable_sx=function(g){return Dr({sx:g,theme:this})},y.toRuntimeSource=bn,y}function wa(e){let r;return e<1?r=5.11916*e**2:r=4.5*Math.log(e+1)+2,Math.round(r*10)/1e3}const $a=[...Array(25)].map((e,r)=>{if(r===0)return"none";const t=wa(r);return`linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`});function vn(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Sn(e){return e==="dark"?$a:[]}function Oa(e){const{palette:r={mode:"light"},opacity:t,overlays:n,...o}=e,i=ct(r);return{palette:i,opacity:{...vn(i.mode),...t},overlays:n||Sn(i.mode),...o}}function _a(e){var r;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((r=e[1])!=null&&r.match(/(mode|contrastThreshold|tonalOffset)/))}const Aa=e=>[...[...Array(25)].map((r,t)=>`--${e?`${e}-`:""}overlays-${t}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Ra=e=>(r,t)=>{const n=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if(o==="class"&&(i=".%s"),o==="data"&&(i="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===r){if(r==="dark"){const c={};return Aa(e.cssVarPrefix).forEach(u=>{c[u]=t[u],delete t[u]}),i==="media"?{[n]:t,"@media (prefers-color-scheme: dark)":{[n]:c}}:i?{[i.replace("%s",r)]:c,[`${n}, ${i.replace("%s",r)}`]:t}:{[n]:{...t,...c}}}if(i&&i!=="media")return`${n}, ${i.replace("%s",String(r))}`}else if(r){if(i==="media")return{[`@media (prefers-color-scheme: ${String(r)})`]:{[n]:t}};if(i)return i.replace("%s",String(r))}return n};function Pa(e,r){r.forEach(t=>{e[t]||(e[t]={})})}function m(e,r,t){!e[r]&&t&&(e[r]=t)}function ur(e){return typeof e!="string"||!e.startsWith("hsl")?e:cn(e)}function Re(e,r){`${r}Channel`in e||(e[`${r}Channel`]=ar(ur(e[r]),`MUI: Can't create \`palette.${r}Channel\` because \`palette.${r}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
158
|
-
To suppress this warning, you need to explicitly provide the \`palette.${r}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function ka(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Oe=e=>{try{return e()}catch{}},Ia=(e="mui")=>Ji(e);function ft(e,r,t,n){if(!r)return;r=r===!0?{}:r;const o=n==="dark"?"dark":"light";if(!t){e[n]=Oa({...r,palette:{mode:o,...r==null?void 0:r.palette}});return}const{palette:i,...c}=ut({...t,palette:{mode:o,...r==null?void 0:r.palette}});return e[n]={...r,palette:i,opacity:{...vn(o),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||Sn(o)},c}function Ma(e={},...r){const{colorSchemes:t={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:c=_a,colorSchemeSelector:u=t.light&&t.dark?"media":void 0,rootSelector:l=":root",...d}=e,b=Object.keys(t)[0],p=n||(t.light&&b!=="light"?"light":b),y=Ia(i),{[p]:v,light:g,dark:s,...E}=t,w={...E};let A=v;if((p==="dark"&&!("dark"in t)||p==="light"&&!("light"in t))&&(A=!0),!A)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${p}\` option is either missing or invalid.`:Ie(21,p));const x=ft(w,A,d,p);g&&!w.light&&ft(w,g,void 0,"light"),s&&!w.dark&&ft(w,s,void 0,"dark");let T={defaultColorScheme:p,...x,cssVarPrefix:i,colorSchemeSelector:u,rootSelector:l,getCssVar:y,colorSchemes:w,font:{...la(x.typography),...x.font},spacing:ka(d.spacing)};Object.keys(T.colorSchemes).forEach(k=>{const a=T.colorSchemes[k].palette,_=L=>{const ee=L.split("-"),be=ee[1],_e=ee[2];return y(L,a[be][_e])};if(a.mode==="light"&&(m(a.common,"background","#fff"),m(a.common,"onBackground","#000")),a.mode==="dark"&&(m(a.common,"background","#000"),m(a.common,"onBackground","#fff")),Pa(a,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),a.mode==="light"){m(a.Alert,"errorColor",Q(a.error.light,.6)),m(a.Alert,"infoColor",Q(a.info.light,.6)),m(a.Alert,"successColor",Q(a.success.light,.6)),m(a.Alert,"warningColor",Q(a.warning.light,.6)),m(a.Alert,"errorFilledBg",_("palette-error-main")),m(a.Alert,"infoFilledBg",_("palette-info-main")),m(a.Alert,"successFilledBg",_("palette-success-main")),m(a.Alert,"warningFilledBg",_("palette-warning-main")),m(a.Alert,"errorFilledColor",Oe(()=>a.getContrastText(a.error.main))),m(a.Alert,"infoFilledColor",Oe(()=>a.getContrastText(a.info.main))),m(a.Alert,"successFilledColor",Oe(()=>a.getContrastText(a.success.main))),m(a.Alert,"warningFilledColor",Oe(()=>a.getContrastText(a.warning.main))),m(a.Alert,"errorStandardBg",J(a.error.light,.9)),m(a.Alert,"infoStandardBg",J(a.info.light,.9)),m(a.Alert,"successStandardBg",J(a.success.light,.9)),m(a.Alert,"warningStandardBg",J(a.warning.light,.9)),m(a.Alert,"errorIconColor",_("palette-error-main")),m(a.Alert,"infoIconColor",_("palette-info-main")),m(a.Alert,"successIconColor",_("palette-success-main")),m(a.Alert,"warningIconColor",_("palette-warning-main")),m(a.AppBar,"defaultBg",_("palette-grey-100")),m(a.Avatar,"defaultBg",_("palette-grey-400")),m(a.Button,"inheritContainedBg",_("palette-grey-300")),m(a.Button,"inheritContainedHoverBg",_("palette-grey-A100")),m(a.Chip,"defaultBorder",_("palette-grey-400")),m(a.Chip,"defaultAvatarColor",_("palette-grey-700")),m(a.Chip,"defaultIconColor",_("palette-grey-700")),m(a.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),m(a.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),m(a.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),m(a.LinearProgress,"primaryBg",J(a.primary.main,.62)),m(a.LinearProgress,"secondaryBg",J(a.secondary.main,.62)),m(a.LinearProgress,"errorBg",J(a.error.main,.62)),m(a.LinearProgress,"infoBg",J(a.info.main,.62)),m(a.LinearProgress,"successBg",J(a.success.main,.62)),m(a.LinearProgress,"warningBg",J(a.warning.main,.62)),m(a.Skeleton,"bg",`rgba(${_("palette-text-primaryChannel")} / 0.11)`),m(a.Slider,"primaryTrack",J(a.primary.main,.62)),m(a.Slider,"secondaryTrack",J(a.secondary.main,.62)),m(a.Slider,"errorTrack",J(a.error.main,.62)),m(a.Slider,"infoTrack",J(a.info.main,.62)),m(a.Slider,"successTrack",J(a.success.main,.62)),m(a.Slider,"warningTrack",J(a.warning.main,.62));const L=Fr(a.background.default,.8);m(a.SnackbarContent,"bg",L),m(a.SnackbarContent,"color",Oe(()=>a.getContrastText(L))),m(a.SpeedDialAction,"fabHoverBg",Fr(a.background.paper,.15)),m(a.StepConnector,"border",_("palette-grey-400")),m(a.StepContent,"border",_("palette-grey-400")),m(a.Switch,"defaultColor",_("palette-common-white")),m(a.Switch,"defaultDisabledColor",_("palette-grey-100")),m(a.Switch,"primaryDisabledColor",J(a.primary.main,.62)),m(a.Switch,"secondaryDisabledColor",J(a.secondary.main,.62)),m(a.Switch,"errorDisabledColor",J(a.error.main,.62)),m(a.Switch,"infoDisabledColor",J(a.info.main,.62)),m(a.Switch,"successDisabledColor",J(a.success.main,.62)),m(a.Switch,"warningDisabledColor",J(a.warning.main,.62)),m(a.TableCell,"border",J(jr(a.divider,1),.88)),m(a.Tooltip,"bg",jr(a.grey[700],.92))}if(a.mode==="dark"){m(a.Alert,"errorColor",J(a.error.light,.6)),m(a.Alert,"infoColor",J(a.info.light,.6)),m(a.Alert,"successColor",J(a.success.light,.6)),m(a.Alert,"warningColor",J(a.warning.light,.6)),m(a.Alert,"errorFilledBg",_("palette-error-dark")),m(a.Alert,"infoFilledBg",_("palette-info-dark")),m(a.Alert,"successFilledBg",_("palette-success-dark")),m(a.Alert,"warningFilledBg",_("palette-warning-dark")),m(a.Alert,"errorFilledColor",Oe(()=>a.getContrastText(a.error.dark))),m(a.Alert,"infoFilledColor",Oe(()=>a.getContrastText(a.info.dark))),m(a.Alert,"successFilledColor",Oe(()=>a.getContrastText(a.success.dark))),m(a.Alert,"warningFilledColor",Oe(()=>a.getContrastText(a.warning.dark))),m(a.Alert,"errorStandardBg",Q(a.error.light,.9)),m(a.Alert,"infoStandardBg",Q(a.info.light,.9)),m(a.Alert,"successStandardBg",Q(a.success.light,.9)),m(a.Alert,"warningStandardBg",Q(a.warning.light,.9)),m(a.Alert,"errorIconColor",_("palette-error-main")),m(a.Alert,"infoIconColor",_("palette-info-main")),m(a.Alert,"successIconColor",_("palette-success-main")),m(a.Alert,"warningIconColor",_("palette-warning-main")),m(a.AppBar,"defaultBg",_("palette-grey-900")),m(a.AppBar,"darkBg",_("palette-background-paper")),m(a.AppBar,"darkColor",_("palette-text-primary")),m(a.Avatar,"defaultBg",_("palette-grey-600")),m(a.Button,"inheritContainedBg",_("palette-grey-800")),m(a.Button,"inheritContainedHoverBg",_("palette-grey-700")),m(a.Chip,"defaultBorder",_("palette-grey-700")),m(a.Chip,"defaultAvatarColor",_("palette-grey-300")),m(a.Chip,"defaultIconColor",_("palette-grey-300")),m(a.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),m(a.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),m(a.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),m(a.LinearProgress,"primaryBg",Q(a.primary.main,.5)),m(a.LinearProgress,"secondaryBg",Q(a.secondary.main,.5)),m(a.LinearProgress,"errorBg",Q(a.error.main,.5)),m(a.LinearProgress,"infoBg",Q(a.info.main,.5)),m(a.LinearProgress,"successBg",Q(a.success.main,.5)),m(a.LinearProgress,"warningBg",Q(a.warning.main,.5)),m(a.Skeleton,"bg",`rgba(${_("palette-text-primaryChannel")} / 0.13)`),m(a.Slider,"primaryTrack",Q(a.primary.main,.5)),m(a.Slider,"secondaryTrack",Q(a.secondary.main,.5)),m(a.Slider,"errorTrack",Q(a.error.main,.5)),m(a.Slider,"infoTrack",Q(a.info.main,.5)),m(a.Slider,"successTrack",Q(a.success.main,.5)),m(a.Slider,"warningTrack",Q(a.warning.main,.5));const L=Fr(a.background.default,.98);m(a.SnackbarContent,"bg",L),m(a.SnackbarContent,"color",Oe(()=>a.getContrastText(L))),m(a.SpeedDialAction,"fabHoverBg",Fr(a.background.paper,.15)),m(a.StepConnector,"border",_("palette-grey-600")),m(a.StepContent,"border",_("palette-grey-600")),m(a.Switch,"defaultColor",_("palette-grey-300")),m(a.Switch,"defaultDisabledColor",_("palette-grey-600")),m(a.Switch,"primaryDisabledColor",Q(a.primary.main,.55)),m(a.Switch,"secondaryDisabledColor",Q(a.secondary.main,.55)),m(a.Switch,"errorDisabledColor",Q(a.error.main,.55)),m(a.Switch,"infoDisabledColor",Q(a.info.main,.55)),m(a.Switch,"successDisabledColor",Q(a.success.main,.55)),m(a.Switch,"warningDisabledColor",Q(a.warning.main,.55)),m(a.TableCell,"border",Q(jr(a.divider,1),.68)),m(a.Tooltip,"bg",jr(a.grey[700],.92))}Re(a.background,"default"),Re(a.background,"paper"),Re(a.common,"background"),Re(a.common,"onBackground"),Re(a,"divider"),Object.keys(a).forEach(L=>{const ee=a[L];L!=="tonalOffset"&&ee&&typeof ee=="object"&&(ee.main&&m(a[L],"mainChannel",ar(ur(ee.main))),ee.light&&m(a[L],"lightChannel",ar(ur(ee.light))),ee.dark&&m(a[L],"darkChannel",ar(ur(ee.dark))),ee.contrastText&&m(a[L],"contrastTextChannel",ar(ur(ee.contrastText))),L==="text"&&(Re(a[L],"primary"),Re(a[L],"secondary")),L==="action"&&(ee.active&&Re(a[L],"active"),ee.selected&&Re(a[L],"selected")))})}),T=r.reduce((k,a)=>he(k,a),T);const f={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:c,getSelector:Ra(T)},{vars:C,generateThemeVars:O,generateStyleSheets:W}=ra(T,f);return T.vars=C,Object.entries(T.colorSchemes[T.defaultColorScheme]).forEach(([k,a])=>{T[k]=a}),T.generateThemeVars=O,T.generateStyleSheets=W,T.generateSpacing=function(){return an(d.spacing,rt(this))},T.getColorSchemeSelector=ta(u),T.spacing=T.generateSpacing(),T.shouldSkipGeneratingVar=c,T.unstable_sxConfig={...Nr,...d==null?void 0:d.unstable_sxConfig},T.unstable_sx=function(a){return Dr({sx:a,theme:this})},T.toRuntimeSource=bn,T}function Tn(e,r,t){e.colorSchemes&&t&&(e.colorSchemes[r]={...t!==!0&&t,palette:ct({...t===!0?{}:t.palette,mode:r})})}function Na(e={},...r){const{palette:t,cssVariables:n=!1,colorSchemes:o=t?void 0:{light:!0},defaultColorScheme:i=t==null?void 0:t.mode,...c}=e,u=i||"light",l=o==null?void 0:o[u],d={...o,...t?{[u]:{...typeof l!="boolean"&&l,palette:t}}:void 0};if(n===!1){if(!("colorSchemes"in e))return ut(e,...r);let b=t;"palette"in e||d[u]&&(d[u]!==!0?b=d[u].palette:u==="dark"&&(b={mode:"dark"}));const p=ut({...e,palette:b},...r);return p.defaultColorScheme=u,p.colorSchemes=d,p.palette.mode==="light"&&(p.colorSchemes.light={...d.light!==!0&&d.light,palette:p.palette},Tn(p,"dark",d.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:p.palette},Tn(p,"light",d.light)),p}return!t&&!("light"in d)&&u==="light"&&(d.light=!0),Ma({...c,colorSchemes:d,defaultColorScheme:u,...typeof n!="boolean"&&n},...r)}const He=e=>e,Da=He({50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#7D7D7D",600:"#5A5A5A",700:"#3F3F3F",800:"#2d2d2d",900:"#1f1f1f",950:"#121212"}),Ba=He({50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"}),ja=He({50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"}),Fa=He({50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"}),La=He({50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"}),Ya=He({50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"}),P={primary:Da,blue:Ba,green:ja,red:Fa,yellow:La,purple:Ya};function Va(e){return{text:{primary:e.primary[900],secondary:e.primary[700],tertiary:e.primary[500],danger:e.red[600],success:e.green[600],warning:e.yellow[700],info:e.blue[600],onDark:e.primary[50],inverted:e.blue[500],disabled:e.primary[300]},link:{default:e.blue[600],hover:e.blue[700],pressed:e.blue[800],visited:e.purple[600]},icon:{primary:e.primary[900],secondary:e.primary[700],tertiary:e.primary[500],danger:e.red[600],success:e.green[600],warning:e.yellow[700],info:e.blue[600],onDark:e.primary[50],inverted:e.blue[500],disabled:e.primary[300]},border:{primary:e.primary[400],secondary:e.primary[300],tertiary:e.primary[200],danger:e.red[400],success:e.green[400],warning:e.yellow[400],info:e.blue[400],onDark:e.primary[600],inverted:e.blue[400],disabled:e.primary[200]},background:{primary:e.primary[50],secondary:e.primary[100],tertiary:e.primary[200],overlay:"rgba(0,0,0,0.5)",disabled:e.primary[200],field:e.primary[50],canvas:e.primary[50],card:"#ffffff",cardInverted:e.primary[900],focus:e.green[100],hover:e.primary[100],pressed:e.primary[200],selected:e.green[50],selectedHover:e.green[100],selectedPressed:e.green[200],selectedFocussed:e.green[100],danger:e.red[600],dangerLight:e.red[50],success:e.green[600],successLight:e.green[50],warning:e.yellow[700],warningLight:e.yellow[50],info:e.blue[600],infoLight:e.blue[50],buttonPrimary:e.green[600],buttonPrimaryHover:e.green[700],buttonPrimaryPressed:e.green[800],buttonSecondary:e.primary[200],buttonSecondaryHover:e.primary[300],buttonSecondaryPressed:e.primary[400],tag:e.primary[200],tagHover:e.primary[300],tagPressed:e.primary[400],badge:e.primary[200],badgeInverted:e.primary[800]},shadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)"}}}const ue=Va(P),Wa={mode:"light",primary:{main:P.green[600],light:P.green[500],dark:P.green[700],contrastText:P.primary[50]},secondary:{main:P.primary[700],light:P.primary[600],dark:P.primary[800],contrastText:P.primary[50]},error:{main:P.red[600],light:P.red[500],dark:P.red[700],contrastText:P.primary[50]},warning:{main:P.yellow[700],light:P.yellow[600],dark:P.yellow[800],contrastText:P.primary[900]},success:{main:P.green[600],light:P.green[500],dark:P.green[700],contrastText:P.primary[50]},info:{main:P.blue[600],light:P.blue[500],dark:P.blue[700],contrastText:P.primary[50]},text:{primary:ue.text.primary,secondary:ue.text.secondary,disabled:ue.text.disabled},background:{default:ue.background.primary,paper:ue.background.card},grey:{50:P.primary[50],100:P.primary[100],200:P.primary[200],300:P.primary[300],400:P.primary[400],500:P.primary[500],600:P.primary[600],700:P.primary[700],800:P.primary[800],900:P.primary[900],A100:P.primary[200],A200:P.primary[400],A400:P.primary[600],A700:P.primary[800]},action:{active:P.primary[400],hover:ue.background.hover,hoverOpacity:1,selected:ue.background.selected,selectedOpacity:1,disabled:ue.text.disabled,disabledOpacity:1,disabledBackground:ue.background.disabled,focus:ue.background.focus,focusOpacity:1,activatedOpacity:1}},za=Na({palette:Wa,typography:{fontFamily:'"Inter", "Helvetica", "Arial", sans-serif',button:{textTransform:"none"}},shape:{borderRadius:8},designTokens:ue,custom:{base_card_ui:{borderRadius:"8px",border:`1px solid ${ue.border.secondary}`,background:ue.background.card,padding:"16px 20px",boxShadow:ue.shadow.sm}},components:{MuiButton:{styleOverrides:{root:({theme:e})=>({borderRadius:e.shape.borderRadius,boxShadow:"none",textTransform:"none"}),containedPrimary:({theme:e})=>({backgroundColor:e.designTokens.background.buttonPrimary,"&:hover":{backgroundColor:e.designTokens.background.buttonPrimaryHover},"&:active":{backgroundColor:e.designTokens.background.buttonPrimaryPressed}}),containedSecondary:({theme:e})=>({backgroundColor:e.designTokens.background.buttonSecondary,color:e.designTokens.text.primary,"&:hover":{backgroundColor:e.designTokens.background.buttonSecondaryHover},"&:active":{backgroundColor:e.designTokens.background.buttonSecondaryPressed}}),outlined:({theme:e})=>({borderColor:e.designTokens.border.primary,color:e.designTokens.text.primary,"&:hover":{borderColor:e.designTokens.border.secondary,backgroundColor:e.designTokens.background.hover}})}},MuiPaper:{styleOverrides:{root:({theme:e})=>({borderRadius:e.shape.borderRadius,border:`1px solid ${e.designTokens.border.tertiary}`,boxShadow:e.designTokens.shadow.sm,background:e.designTokens.background.card})}},MuiCard:{styleOverrides:{root:({theme:e})=>({borderRadius:e.shape.borderRadius,border:`1px solid ${e.designTokens.border.tertiary}`,boxShadow:e.designTokens.shadow.sm,background:e.designTokens.background.card})}},MuiTextField:{styleOverrides:{root:({theme:e})=>({"& .MuiOutlinedInput-root":{borderRadius:e.shape.borderRadius,"& fieldset":{borderColor:e.designTokens.border.secondary},"&:hover fieldset":{borderColor:e.designTokens.border.primary},"&.Mui-focused fieldset":{borderColor:e.palette.primary.main,borderWidth:1}}})}},MuiChip:{styleOverrides:{root:({theme:e})=>({borderRadius:e.shape.borderRadius,backgroundColor:e.designTokens.background.tag,borderColor:e.designTokens.border.tertiary,"&:hover":{backgroundColor:e.designTokens.background.tagHover}})}}}});me.DTFilterButton=Do,me.theme=za,me.tokens=ue,Object.defineProperty(me,Symbol.toStringTag,{value:"Module"})}));
|
|
151
|
+
`,Pi={padding:0,marginRight:"8px",color:"#7a7a7a","&.Mui-checked":{color:"#3d906d"}},Ri="No options found";function Ii(e){const{placeholder:r,options:t,disabled:n=!1,variant:o}=e,[i,c]=ge.useState(!1),[l,u]=ge.useState(""),f=ge.useRef(null),g=ge.useRef(null),m=e.searchable,p=ge.useMemo(()=>!m||!l.trim()?t:t.filter(S=>S.name.toLowerCase().includes(l.toLowerCase())),[t,l,m]),v=o==="multi",y=v?e:null,s=v?null:e,T=ge.useCallback(S=>{if(!y)return;const{value:A,onChange:I}=y;if(S==="all"){if(A.length===0){I(["all"]);return}if(!A.includes("all")&&A.length>0){I(["all"]);return}I([]);return}if(A.includes("all")){I(t.filter(k=>k.id!==S&&k.id!=="all").map(k=>k.id));return}if(A.includes(S))I(A.filter(k=>k!==S));else{const k=[...A,S];if(k.length===t.filter(a=>a.id!=="all").length){I(["all"]);return}I(k)}},[y,t]),$=ge.useCallback(S=>{if(!s)return;const{customOptionIds:A,onCustomSelect:I,onChange:k}=s;if(A!=null&&A.includes(S)&&I){I(S),c(!1);return}k(S),c(!1)},[s]),J=ge.useMemo(()=>{if(v&&y){const{value:S,label:A}=y,I=t;if(S.length===0||S.length===I.length||S.length===I.filter(k=>k.id!=="all").length)return r;if(S.length===1){const k=I.find(a=>a.id===S[0]);return(k==null?void 0:k.name)||r}return Q.jsxs(oe.Stack,{direction:"row",alignItems:"center",gap:1,children:[Q.jsx(oe.Typography,{css:Ei,children:A??""}),Q.jsx(oe.Typography,{css:wi,children:S.length})]})}if(!v&&s){const{value:S,getDisplayValue:A}=s;if(A){const k=A(S);if(k!=null&&k!=="")return k}if(!S||S==="all")return r;const I=t.find(k=>k.id===S);return(I==null?void 0:I.name)??r}return r},[v,y,s,t,r]);ge.useEffect(()=>{i&&m&&setTimeout(()=>{var S;return(S=g.current)==null?void 0:S.focus()},100),i||u("")},[i,m]);const O=!!m,E=v&&(y==null?void 0:y.loading),h=(v?y==null?void 0:y.noOptionsText:void 0)??Ri;return Q.jsxs(Q.Fragment,{children:[Q.jsxs(oe.ButtonBase,{ref:f,onClick:()=>c(!0),disabled:n,css:[vi,n&&Si],children:[Q.jsx(oe.Typography,{css:Ci,children:J}),Q.jsx(bi,{css:[Ti,i&&xi]})]}),Q.jsxs(oe.Popover,{open:i,anchorEl:f.current,onClose:()=>c(!1),anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},slotProps:{paper:{sx:{mt:"4px",minWidth:"160px",maxWidth:"280px",maxHeight:"320px",borderRadius:"4px",boxShadow:"0px 4px 16px rgba(0, 0, 0, 0.12)"}}},children:[O&&Q.jsx(oe.Box,{css:Oi,children:Q.jsx(oe.TextField,{inputRef:g,size:"small",placeholder:"Search...",value:l,onChange:S=>u(S.target.value),fullWidth:!0,autoComplete:"off",sx:{"& .MuiOutlinedInput-root":{height:"32px",fontSize:"14px",borderRadius:"4px"}},onKeyDown:S=>S.stopPropagation()})}),Q.jsxs(oe.Box,{css:ki(O),children:[E&&Q.jsx(oe.Box,{css:It,children:Q.jsx(oe.Typography,{css:Mt,children:"Loading..."})}),!E&&p.length===0&&Q.jsx(oe.Box,{css:It,children:Q.jsx(oe.Typography,{css:Mt,children:h})}),!E&&p.length>0&&(v?p.map(S=>Q.jsxs(oe.MenuItem,{onClick:()=>T(S.id),css:$i,children:[Q.jsx(oe.Checkbox,{checked:y.value.includes(S.id)||y.value.includes("all"),size:"small",sx:Pi}),Q.jsx(oe.ListItemText,{primary:S.name,primaryTypographyProps:{fontSize:"14px",fontWeight:400,color:"#2d2d2d"}})]},S.id)):p.map(S=>Q.jsx(oe.MenuItem,{onClick:()=>$(S.id),selected:s.value===S.id,css:Ai,children:Q.jsx(oe.Typography,{css:_i,children:S.name})},S.id)))]})]})]})}const De=e=>e,Mi=De({50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#7D7D7D",600:"#5A5A5A",700:"#3F3F3F",800:"#2d2d2d",900:"#1f1f1f",950:"#121212"}),Ni=De({50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"}),Bi=De({50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"}),Di=De({50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"}),ji=De({50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"}),Fi=De({50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"}),_={primary:Mi,blue:Ni,green:Bi,red:Di,yellow:ji,purple:Fi};function Li(e){return{text:{primary:e.primary[900],secondary:e.primary[700],tertiary:e.primary[500],danger:e.red[600],success:e.green[600],warning:e.yellow[700],info:e.blue[600],onDark:e.primary[50],inverted:e.blue[500],disabled:e.primary[300]},link:{default:e.blue[600],hover:e.blue[700],pressed:e.blue[800],visited:e.purple[600]},icon:{primary:e.primary[900],secondary:e.primary[700],tertiary:e.primary[500],danger:e.red[600],success:e.green[600],warning:e.yellow[700],info:e.blue[600],onDark:e.primary[50],inverted:e.blue[500],disabled:e.primary[300]},border:{primary:e.primary[400],secondary:e.primary[300],tertiary:e.primary[200],danger:e.red[400],success:e.green[400],warning:e.yellow[400],info:e.blue[400],onDark:e.primary[600],inverted:e.blue[400],disabled:e.primary[200]},background:{primary:e.primary[50],secondary:e.primary[100],tertiary:e.primary[200],overlay:"rgba(0,0,0,0.5)",disabled:e.primary[200],field:e.primary[50],canvas:e.primary[50],card:"#ffffff",cardInverted:e.primary[900],focus:e.green[100],hover:e.primary[100],pressed:e.primary[200],selected:e.green[50],selectedHover:e.green[100],selectedPressed:e.green[200],selectedFocussed:e.green[100],danger:e.red[600],dangerLight:e.red[50],success:e.green[600],successLight:e.green[50],warning:e.yellow[700],warningLight:e.yellow[50],info:e.blue[600],infoLight:e.blue[50],buttonPrimary:e.green[600],buttonPrimaryHover:e.green[700],buttonPrimaryPressed:e.green[800],buttonSecondary:e.primary[200],buttonSecondaryHover:e.primary[300],buttonSecondaryPressed:e.primary[400],tag:e.primary[200],tagHover:e.primary[300],tagPressed:e.primary[400],badge:e.primary[200],badgeInverted:e.primary[800]},shadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)"}}}const ae=Li(_),Vi={mode:"light",primary:{main:_.green[600],light:_.green[500],dark:_.green[700],contrastText:_.primary[50]},secondary:{main:_.primary[700],light:_.primary[600],dark:_.primary[800],contrastText:_.primary[50]},error:{main:_.red[600],light:_.red[500],dark:_.red[700],contrastText:_.primary[50]},warning:{main:_.yellow[700],light:_.yellow[600],dark:_.yellow[800],contrastText:_.primary[900]},success:{main:_.green[600],light:_.green[500],dark:_.green[700],contrastText:_.primary[50]},info:{main:_.blue[600],light:_.blue[500],dark:_.blue[700],contrastText:_.primary[50]},text:{primary:ae.text.primary,secondary:ae.text.secondary,disabled:ae.text.disabled},background:{default:ae.background.primary,paper:ae.background.card},grey:{50:_.primary[50],100:_.primary[100],200:_.primary[200],300:_.primary[300],400:_.primary[400],500:_.primary[500],600:_.primary[600],700:_.primary[700],800:_.primary[800],900:_.primary[900],A100:_.primary[200],A200:_.primary[400],A400:_.primary[600],A700:_.primary[800]},action:{active:_.primary[400],hover:ae.background.hover,hoverOpacity:1,selected:ae.background.selected,selectedOpacity:1,disabled:ae.text.disabled,disabledOpacity:1,disabledBackground:ae.background.disabled,focus:ae.background.focus,focusOpacity:1,activatedOpacity:1}},zi=Rt({palette:Vi,typography:{fontFamily:'"Inter", "Helvetica", "Arial", sans-serif',button:{textTransform:"none"}},shape:{borderRadius:8},designTokens:ae,custom:{base_card_ui:{borderRadius:"8px",border:`1px solid ${ae.border.secondary}`,background:ae.background.card,padding:"16px 20px",boxShadow:ae.shadow.sm}},components:{MuiButton:{styleOverrides:{root:({theme:e})=>({borderRadius:e.shape.borderRadius,boxShadow:"none",textTransform:"none"}),containedPrimary:({theme:e})=>({backgroundColor:e.designTokens.background.buttonPrimary,"&:hover":{backgroundColor:e.designTokens.background.buttonPrimaryHover},"&:active":{backgroundColor:e.designTokens.background.buttonPrimaryPressed}}),containedSecondary:({theme:e})=>({backgroundColor:e.designTokens.background.buttonSecondary,color:e.designTokens.text.primary,"&:hover":{backgroundColor:e.designTokens.background.buttonSecondaryHover},"&:active":{backgroundColor:e.designTokens.background.buttonSecondaryPressed}}),outlined:({theme:e})=>({borderColor:e.designTokens.border.primary,color:e.designTokens.text.primary,"&:hover":{borderColor:e.designTokens.border.secondary,backgroundColor:e.designTokens.background.hover}})}},MuiPaper:{styleOverrides:{root:({theme:e})=>({borderRadius:e.shape.borderRadius,border:`1px solid ${e.designTokens.border.tertiary}`,boxShadow:e.designTokens.shadow.sm,background:e.designTokens.background.card})}},MuiCard:{styleOverrides:{root:({theme:e})=>({borderRadius:e.shape.borderRadius,border:`1px solid ${e.designTokens.border.tertiary}`,boxShadow:e.designTokens.shadow.sm,background:e.designTokens.background.card})}},MuiTextField:{styleOverrides:{root:({theme:e})=>({"& .MuiOutlinedInput-root":{borderRadius:e.shape.borderRadius,"& fieldset":{borderColor:e.designTokens.border.secondary},"&:hover fieldset":{borderColor:e.designTokens.border.primary},"&.Mui-focused fieldset":{borderColor:e.palette.primary.main,borderWidth:1}}})}},MuiChip:{styleOverrides:{root:({theme:e})=>({borderRadius:e.shape.borderRadius,backgroundColor:e.designTokens.background.tag,borderColor:e.designTokens.border.tertiary,"&:hover":{backgroundColor:e.designTokens.background.tagHover}})}}}});se.DTFilterButton=Ii,se.theme=zi,se.tokens=ae,Object.defineProperty(se,Symbol.toStringTag,{value:"Module"})}));
|