@ukpc-lib/react 0.0.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.
@@ -0,0 +1,120 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Te=require("react/jsx-runtime"),ae=require("react"),nr=require("axios"),Eo=require("react-dom");function So(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const Q=So(ae),xo={black:"#000",white:"#fff"},Ze=xo,Oo={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Ne=Oo,wo={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Ie=wo,To={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},je=To,_o={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Me=_o,Co={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Fe=Co,Ro={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Qe=Ro,Po={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"},$o=Po;function ze(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const or="$$material";function R(){return R=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},R.apply(this,arguments)}function xe(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,s;for(s=0;s<n.length;s++)o=n[s],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function An(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Ao=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,ko=An(function(e){return Ao.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function No(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Io(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var jo=function(){function e(r){var n=this;this._insertTag=function(o){var s;n.tags.length===0?n.insertionPoint?s=n.insertionPoint.nextSibling:n.prepend?s=n.container.firstChild:s=n.before:s=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,s),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?process.env.NODE_ENV==="production":r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Io(this));var o=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var s=n.charCodeAt(0)===64&&n.charCodeAt(1)===105;s&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
2
+ `+n+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!s}if(this.isSpeedy){var i=No(o);try{i.insertRule(n,i.cssRules.length)}catch(a){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(n)&&console.error('There was a problem inserting the following rule: "'+n+'"',a)}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),le="-ms-",ht="-moz-",U="-webkit-",sr="comm",ir="rule",ar="decl",Mo="@import",kn="@keyframes",Fo="@layer",Do=Math.abs,Et=String.fromCharCode,Lo=Object.assign;function Uo(e,t){return ie(e,0)^45?(((t<<2^ie(e,0))<<2^ie(e,1))<<2^ie(e,2))<<2^ie(e,3):0}function Nn(e){return e.trim()}function Vo(e,t){return(e=t.exec(e))?e[0]:e}function V(e,t,r){return e.replace(t,r)}function Gt(e,t){return e.indexOf(t)}function ie(e,t){return e.charCodeAt(t)|0}function et(e,t,r){return e.slice(t,r)}function we(e){return e.length}function cr(e){return e.length}function ct(e,t){return t.push(e),e}function zo(e,t){return e.map(t).join("")}var St=1,We=1,In=0,fe=0,re=0,qe="";function xt(e,t,r,n,o,s,i){return{value:e,root:t,parent:r,type:n,props:o,children:s,line:St,column:We,length:i,return:""}}function Ke(e,t){return Lo(xt("",null,null,"",null,null,0),e,{length:-e.length},t)}function Wo(){return re}function Yo(){return re=fe>0?ie(qe,--fe):0,We--,re===10&&(We=1,St--),re}function me(){return re=fe<In?ie(qe,fe++):0,We++,re===10&&(We=1,St++),re}function _e(){return ie(qe,fe)}function lt(){return fe}function ot(e,t){return et(qe,e,t)}function tt(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 jn(e){return St=We=1,In=we(qe=e),fe=0,[]}function Mn(e){return qe="",e}function ft(e){return Nn(ot(fe-1,Qt(e===91?e+2:e===40?e+1:e)))}function Bo(e){for(;(re=_e())&&re<33;)me();return tt(e)>2||tt(re)>3?"":" "}function qo(e,t){for(;--t&&me()&&!(re<48||re>102||re>57&&re<65||re>70&&re<97););return ot(e,lt()+(t<6&&_e()==32&&me()==32))}function Qt(e){for(;me();)switch(re){case e:return fe;case 34:case 39:e!==34&&e!==39&&Qt(re);break;case 40:e===41&&Qt(e);break;case 92:me();break}return fe}function Go(e,t){for(;me()&&e+re!==47+10;)if(e+re===42+42&&_e()===47)break;return"/*"+ot(t,fe-1)+"*"+Et(e===47?e:me())}function Qo(e){for(;!tt(_e());)me();return ot(e,fe)}function Ko(e){return Mn(dt("",null,null,null,[""],e=jn(e),0,[0],e))}function dt(e,t,r,n,o,s,i,a,u){for(var c=0,l=0,d=i,m=0,g=0,v=0,p=1,h=1,x=1,C=0,S="",O=o,f=s,P=n,$=S;h;)switch(v=C,C=me()){case 40:if(v!=108&&ie($,d-1)==58){Gt($+=V(ft(C),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:$+=ft(C);break;case 9:case 10:case 13:case 32:$+=Bo(v);break;case 92:$+=qo(lt()-1,7);continue;case 47:switch(_e()){case 42:case 47:ct(Ho(Go(me(),lt()),t,r),u);break;default:$+="/"}break;case 123*p:a[c++]=we($)*x;case 125*p:case 59:case 0:switch(C){case 0:case 125:h=0;case 59+l:x==-1&&($=V($,/\f/g,"")),g>0&&we($)-d&&ct(g>32?wr($+";",n,r,d-1):wr(V($," ","")+";",n,r,d-2),u);break;case 59:$+=";";default:if(ct(P=Or($,t,r,c,l,o,a,S,O=[],f=[],d),s),C===123)if(l===0)dt($,t,P,P,O,s,d,a,f);else switch(m===99&&ie($,3)===110?100:m){case 100:case 108:case 109:case 115:dt(e,P,P,n&&ct(Or(e,P,P,0,0,o,a,S,o,O=[],d),f),o,f,d,a,n?O:f);break;default:dt($,P,P,P,[""],f,0,a,f)}}c=l=g=0,p=x=1,S=$="",d=i;break;case 58:d=1+we($),g=v;default:if(p<1){if(C==123)--p;else if(C==125&&p++==0&&Yo()==125)continue}switch($+=Et(C),C*p){case 38:x=l>0?1:($+="\f",-1);break;case 44:a[c++]=(we($)-1)*x,x=1;break;case 64:_e()===45&&($+=ft(me())),m=_e(),l=d=we(S=$+=Qo(lt())),C++;break;case 45:v===45&&we($)==2&&(p=0)}}return s}function Or(e,t,r,n,o,s,i,a,u,c,l){for(var d=o-1,m=o===0?s:[""],g=cr(m),v=0,p=0,h=0;v<n;++v)for(var x=0,C=et(e,d+1,d=Do(p=i[v])),S=e;x<g;++x)(S=Nn(p>0?m[x]+" "+C:V(C,/&\f/g,m[x])))&&(u[h++]=S);return xt(e,t,r,o===0?ir:a,u,c,l)}function Ho(e,t,r){return xt(e,t,r,sr,Et(Wo()),et(e,2,-2),0)}function wr(e,t,r,n){return xt(e,t,r,ar,et(e,0,n),et(e,n+1,-1),n)}function Le(e,t){for(var r="",n=cr(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Xo(e,t,r,n){switch(e.type){case Fo:if(e.children.length)break;case Mo:case ar:return e.return=e.return||e.value;case sr:return"";case kn:return e.return=e.value+"{"+Le(e.children,n)+"}";case ir:e.value=e.props.join(",")}return we(r=Le(e.children,n))?e.return=e.value+"{"+r+"}":""}function Jo(e){var t=cr(e);return function(r,n,o,s){for(var i="",a=0;a<t;a++)i+=e[a](r,n,o,s)||"";return i}}function Zo(e){return function(t){t.root||(t=t.return)&&e(t)}}var es=function(t,r,n){for(var o=0,s=0;o=s,s=_e(),o===38&&s===12&&(r[n]=1),!tt(s);)me();return ot(t,fe)},ts=function(t,r){var n=-1,o=44;do switch(tt(o)){case 0:o===38&&_e()===12&&(r[n]=1),t[n]+=es(fe-1,r,n);break;case 2:t[n]+=ft(o);break;case 4:if(o===44){t[++n]=_e()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Et(o)}while(o=me());return t},rs=function(t,r){return Mn(ts(jn(t),r))},Tr=new WeakMap,ns=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Tr.get(n))&&!o){Tr.set(t,!0);for(var s=[],i=rs(r,s),a=n.props,u=0,c=0;u<i.length;u++)for(var l=0;l<a.length;l++,c++)t.props[c]=s[u]?i[u].replace(/&\f/g,a[l]):a[l]+" "+i[u]}}},os=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},ss="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",is=function(t){return t.type==="comm"&&t.children.indexOf(ss)>-1},as=function(t){return function(r,n,o){if(!(r.type!=="rule"||t.compat)){var s=r.value.match(/(:first|:nth|:nth-last)-child/g);if(s){for(var i=!!r.parent,a=i?r.parent.children:o,u=a.length-1;u>=0;u--){var c=a[u];if(c.line<r.line)break;if(c.column<r.column){if(is(c))return;break}}s.forEach(function(l){console.error('The pseudo class "'+l+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+l.split("-child")[0]+'-of-type".')})}}}},Fn=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},cs=function(t,r){for(var n=t-1;n>=0;n--)if(!Fn(r[n]))return!0;return!1},_r=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},us=function(t,r,n){Fn(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),_r(t)):cs(r,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),_r(t)))};function Dn(e,t){switch(Uo(e,t)){case 5103:return U+"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 U+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return U+e+ht+e+le+e+e;case 6828:case 4268:return U+e+le+e+e;case 6165:return U+e+le+"flex-"+e+e;case 5187:return U+e+V(e,/(\w+).+(:[^]+)/,U+"box-$1$2"+le+"flex-$1$2")+e;case 5443:return U+e+le+"flex-item-"+V(e,/flex-|-self/,"")+e;case 4675:return U+e+le+"flex-line-pack"+V(e,/align-content|flex-|-self/,"")+e;case 5548:return U+e+le+V(e,"shrink","negative")+e;case 5292:return U+e+le+V(e,"basis","preferred-size")+e;case 6060:return U+"box-"+V(e,"-grow","")+U+e+le+V(e,"grow","positive")+e;case 4554:return U+V(e,/([^-])(transform)/g,"$1"+U+"$2")+e;case 6187:return V(V(V(e,/(zoom-|grab)/,U+"$1"),/(image-set)/,U+"$1"),e,"")+e;case 5495:case 3959:return V(e,/(image-set\([^]*)/,U+"$1$`$1");case 4968:return V(V(e,/(.+:)(flex-)?(.*)/,U+"box-pack:$3"+le+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+U+e+e;case 4095:case 3583:case 4068:case 2532:return V(e,/(.+)-inline(.+)/,U+"$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(we(e)-1-t>6)switch(ie(e,t+1)){case 109:if(ie(e,t+4)!==45)break;case 102:return V(e,/(.+:)(.+)-([^]+)/,"$1"+U+"$2-$3$1"+ht+(ie(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Gt(e,"stretch")?Dn(V(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ie(e,t+1)!==115)break;case 6444:switch(ie(e,we(e)-3-(~Gt(e,"!important")&&10))){case 107:return V(e,":",":"+U)+e;case 101:return V(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+U+(ie(e,14)===45?"inline-":"")+"box$3$1"+U+"$2$3$1"+le+"$2box$3")+e}break;case 5936:switch(ie(e,t+11)){case 114:return U+e+le+V(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return U+e+le+V(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return U+e+le+V(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return U+e+le+e+e}return e}var ls=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case ar:t.return=Dn(t.value,t.length);break;case kn:return Le([Ke(t,{value:V(t.value,"@","@"+U)})],o);case ir:if(t.length)return zo(t.props,function(s){switch(Vo(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Le([Ke(t,{props:[V(s,/:(read-\w+)/,":"+ht+"$1")]})],o);case"::placeholder":return Le([Ke(t,{props:[V(s,/:(plac\w+)/,":"+U+"input-$1")]}),Ke(t,{props:[V(s,/:(plac\w+)/,":"+ht+"$1")]}),Ke(t,{props:[V(s,/:(plac\w+)/,le+"input-$1")]})],o)}return""})}},fs=[ls],ds=function(t){var r=t.key;if(process.env.NODE_ENV!=="production"&&!r)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
3
+ If multiple caches share the same key they might "fight" for each other's style elements.`);if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(p){var h=p.getAttribute("data-emotion");h.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var o=t.stylisPlugins||fs;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(r))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+r+'" was passed');var s={},i,a=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(p){for(var h=p.getAttribute("data-emotion").split(" "),x=1;x<h.length;x++)s[h[x]]=!0;a.push(p)});var u,c=[ns,os];process.env.NODE_ENV!=="production"&&c.push(as({get compat(){return v.compat}}),us);{var l,d=[Xo,process.env.NODE_ENV!=="production"?function(p){p.root||(p.return?l.insert(p.return):p.value&&p.type!==sr&&l.insert(p.value+"{}"))}:Zo(function(p){l.insert(p)})],m=Jo(c.concat(o,d)),g=function(h){return Le(Ko(h),m)};u=function(h,x,C,S){l=C,process.env.NODE_ENV!=="production"&&x.map!==void 0&&(l={insert:function(f){C.insert(f+x.map)}}),g(h?h+"{"+x.styles+"}":x.styles),S&&(v.inserted[x.name]=!0)}}var v={key:r,sheet:new jo({key:r,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:u};return v.sheet.hydrate(a),v};function ps(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Kt={exports:{}},z={};/** @license React v16.13.1
4
+ * react-is.production.min.js
5
+ *
6
+ * Copyright (c) Facebook, Inc. and its affiliates.
7
+ *
8
+ * This source code is licensed under the MIT license found in the
9
+ * LICENSE file in the root directory of this source tree.
10
+ */var Cr;function ms(){if(Cr)return z;Cr=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function S(f){if(typeof f=="object"&&f!==null){var P=f.$$typeof;switch(P){case t:switch(f=f.type,f){case u:case c:case n:case s:case o:case d:return f;default:switch(f=f&&f.$$typeof,f){case a:case l:case v:case g:case i:return f;default:return P}}case r:return P}}}function O(f){return S(f)===c}return z.AsyncMode=u,z.ConcurrentMode=c,z.ContextConsumer=a,z.ContextProvider=i,z.Element=t,z.ForwardRef=l,z.Fragment=n,z.Lazy=v,z.Memo=g,z.Portal=r,z.Profiler=s,z.StrictMode=o,z.Suspense=d,z.isAsyncMode=function(f){return O(f)||S(f)===u},z.isConcurrentMode=O,z.isContextConsumer=function(f){return S(f)===a},z.isContextProvider=function(f){return S(f)===i},z.isElement=function(f){return typeof f=="object"&&f!==null&&f.$$typeof===t},z.isForwardRef=function(f){return S(f)===l},z.isFragment=function(f){return S(f)===n},z.isLazy=function(f){return S(f)===v},z.isMemo=function(f){return S(f)===g},z.isPortal=function(f){return S(f)===r},z.isProfiler=function(f){return S(f)===s},z.isStrictMode=function(f){return S(f)===o},z.isSuspense=function(f){return S(f)===d},z.isValidElementType=function(f){return typeof f=="string"||typeof f=="function"||f===n||f===c||f===s||f===o||f===d||f===m||typeof f=="object"&&f!==null&&(f.$$typeof===v||f.$$typeof===g||f.$$typeof===i||f.$$typeof===a||f.$$typeof===l||f.$$typeof===h||f.$$typeof===x||f.$$typeof===C||f.$$typeof===p)},z.typeOf=S,z}var W={};/** @license React v16.13.1
11
+ * react-is.development.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its 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 Rr;function hs(){return Rr||(Rr=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function S(y){return typeof y=="string"||typeof y=="function"||y===n||y===c||y===s||y===o||y===d||y===m||typeof y=="object"&&y!==null&&(y.$$typeof===v||y.$$typeof===g||y.$$typeof===i||y.$$typeof===a||y.$$typeof===l||y.$$typeof===h||y.$$typeof===x||y.$$typeof===C||y.$$typeof===p)}function O(y){if(typeof y=="object"&&y!==null){var ue=y.$$typeof;switch(ue){case t:var _=y.type;switch(_){case u:case c:case n:case s:case o:case d:return _;default:var Re=_&&_.$$typeof;switch(Re){case a:case l:case v:case g:case i:return Re;default:return ue}}case r:return ue}}}var f=u,P=c,$=a,se=i,te=t,T=l,K=n,H=v,de=g,ne=r,he=s,ce=o,be=d,Oe=!1;function $e(y){return Oe||(Oe=!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.")),E(y)||O(y)===u}function E(y){return O(y)===c}function w(y){return O(y)===a}function j(y){return O(y)===i}function N(y){return typeof y=="object"&&y!==null&&y.$$typeof===t}function A(y){return O(y)===l}function M(y){return O(y)===n}function k(y){return O(y)===v}function I(y){return O(y)===g}function F(y){return O(y)===r}function L(y){return O(y)===s}function D(y){return O(y)===o}function oe(y){return O(y)===d}W.AsyncMode=f,W.ConcurrentMode=P,W.ContextConsumer=$,W.ContextProvider=se,W.Element=te,W.ForwardRef=T,W.Fragment=K,W.Lazy=H,W.Memo=de,W.Portal=ne,W.Profiler=he,W.StrictMode=ce,W.Suspense=be,W.isAsyncMode=$e,W.isConcurrentMode=E,W.isContextConsumer=w,W.isContextProvider=j,W.isElement=N,W.isForwardRef=A,W.isFragment=M,W.isLazy=k,W.isMemo=I,W.isPortal=F,W.isProfiler=L,W.isStrictMode=D,W.isSuspense=oe,W.isValidElementType=S,W.typeOf=O}()),W}process.env.NODE_ENV==="production"?Kt.exports=ms():Kt.exports=hs();var ys=Kt.exports,Ln=ys,vs={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},gs={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Un={};Un[Ln.ForwardRef]=vs;Un[Ln.Memo]=gs;var bs=!0;function ur(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):n+=o+" "}),n}var Ot=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||bs===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},wt=function(t,r,n){Ot(t,r,n);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var s=r;do t.insert(r===s?"."+o:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function Es(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Ss={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,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},Pr=`You have illegal escape sequence in your template literal, most likely inside content's property value.
18
+ Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
19
+ You can read more about this here:
20
+ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,xs="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Os=/[A-Z]|^ms/g,Vn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,lr=function(t){return t.charCodeAt(1)===45},$r=function(t){return t!=null&&typeof t!="boolean"},Lt=An(function(e){return lr(e)?e:e.replace(Os,"-$&").toLowerCase()}),yt=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Vn,function(n,o,s){return Ee={name:o,styles:s,next:Ee},o})}return Ss[t]!==1&&!lr(t)&&typeof r=="number"&&r!==0?r+"px":r};if(process.env.NODE_ENV!=="production"){var ws=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Ts=["normal","none","initial","inherit","unset"],_s=yt,Cs=/^-ms-/,Rs=/-(.)/g,Ar={};yt=function(t,r){if(t==="content"&&(typeof r!="string"||Ts.indexOf(r)===-1&&!ws.test(r)&&(r.charAt(0)!==r.charAt(r.length-1)||r.charAt(0)!=='"'&&r.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+r+"\"'`");var n=_s(t,r);return n!==""&&!lr(t)&&t.indexOf("-")!==-1&&Ar[t]===void 0&&(Ar[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(Cs,"ms-").replace(Rs,function(o,s){return s.toUpperCase()})+"?")),n}}var zn="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function rt(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(zn);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Ee={name:r.name,styles:r.styles,next:Ee},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Ee={name:n.name,styles:n.styles,next:Ee},n=n.next;var o=r.styles+";";return process.env.NODE_ENV!=="production"&&r.map!==void 0&&(o+=r.map),o}return Ps(e,t,r)}case"function":{if(e!==void 0){var s=Ee,i=r(e);return Ee=s,rt(e,t,i)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var a=[],u=r.replace(Vn,function(l,d,m){var g="animation"+a.length;return a.push("const "+g+" = keyframes`"+m.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+g+"}"});a.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(a,["`"+u+"`"]).join(`
21
+ `)+`
22
+
23
+ You should wrap it with \`css\` like this:
24
+
25
+ `+("css`"+u+"`"))}break}if(t==null)return r;var c=t[r];return c!==void 0?c:r}function Ps(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=rt(e,t,r[o])+";";else for(var s in r){var i=r[s];if(typeof i!="object")t!=null&&t[i]!==void 0?n+=s+"{"+t[i]+"}":$r(i)&&(n+=Lt(s)+":"+yt(s,i)+";");else{if(s==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(zn);if(Array.isArray(i)&&typeof i[0]=="string"&&(t==null||t[i[0]]===void 0))for(var a=0;a<i.length;a++)$r(i[a])&&(n+=Lt(s)+":"+yt(s,i[a])+";");else{var u=rt(e,t,i);switch(s){case"animation":case"animationName":{n+=Lt(s)+":"+u+";";break}default:process.env.NODE_ENV!=="production"&&s==="undefined"&&console.error(xs),n+=s+"{"+u+"}"}}}}return n}var kr=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Wn;process.env.NODE_ENV!=="production"&&(Wn=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Ee,Ye=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,s="";Ee=void 0;var i=t[0];i==null||i.raw===void 0?(o=!1,s+=rt(n,r,i)):(process.env.NODE_ENV!=="production"&&i[0]===void 0&&console.error(Pr),s+=i[0]);for(var a=1;a<t.length;a++)s+=rt(n,r,t[a]),o&&(process.env.NODE_ENV!=="production"&&i[a]===void 0&&console.error(Pr),s+=i[a]);var u;process.env.NODE_ENV!=="production"&&(s=s.replace(Wn,function(m){return u=m,""})),kr.lastIndex=0;for(var c="",l;(l=kr.exec(s))!==null;)c+="-"+l[1];var d=Es(s)+c;return process.env.NODE_ENV!=="production"?{name:d,styles:s,map:u,next:Ee,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:d,styles:s,next:Ee}},$s=function(t){return t()},Yn=Q["useInsertionEffect"]?Q["useInsertionEffect"]:!1,fr=Yn||$s,Nr=Yn||Q.useLayoutEffect,As={}.hasOwnProperty,dr=Q.createContext(typeof HTMLElement<"u"?ds({key:"css"}):null);process.env.NODE_ENV!=="production"&&(dr.displayName="EmotionCacheContext");dr.Provider;var Tt=function(t){return ae.forwardRef(function(r,n){var o=ae.useContext(dr);return t(r,o,n)})},Ge=Q.createContext({});process.env.NODE_ENV!=="production"&&(Ge.displayName="EmotionThemeContext");var Ir="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",jr="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",ks=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Ot(r,n,o),fr(function(){return wt(r,n,o)}),null},Ns=Tt(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[Ir],s=[n],i="";typeof e.className=="string"?i=ur(t.registered,s,e.className):e.className!=null&&(i=e.className+" ");var a=Ye(s,void 0,Q.useContext(Ge));if(process.env.NODE_ENV!=="production"&&a.name.indexOf("-")===-1){var u=e[jr];u&&(a=Ye([a,"label:"+u+";"]))}i+=t.key+"-"+a.name;var c={};for(var l in e)As.call(e,l)&&l!=="css"&&l!==Ir&&(process.env.NODE_ENV==="production"||l!==jr)&&(c[l]=e[l]);return c.ref=r,c.className=i,Q.createElement(Q.Fragment,null,Q.createElement(ks,{cache:t,serialized:a,isStringTag:typeof o=="string"}),Q.createElement(o,c))});process.env.NODE_ENV!=="production"&&(Ns.displayName="EmotionCssPropInternal");var Is={name:"@emotion/react",version:"11.11.3",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.3","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.2","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},Mr=!1,js=Tt(function(e,t){process.env.NODE_ENV!=="production"&&!Mr&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Mr=!0);var r=e.styles,n=Ye([r],void 0,Q.useContext(Ge)),o=Q.useRef();return Nr(function(){var s=t.key+"-global",i=new t.sheet.constructor({key:s,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,u=document.querySelector('style[data-emotion="'+s+" "+n.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),u!==null&&(a=!0,u.setAttribute("data-emotion",s),i.hydrate([u])),o.current=[i,a],function(){i.flush()}},[t]),Nr(function(){var s=o.current,i=s[0],a=s[1];if(a){s[1]=!1;return}if(n.next!==void 0&&wt(t,n.next,!0),i.tags.length){var u=i.tags[i.tags.length-1].nextElementSibling;i.before=u,i.flush()}t.insert("",n,i,!1)},[t,n.name]),null});process.env.NODE_ENV!=="production"&&(js.displayName="EmotionGlobal");function pr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ye(t)}var Bn=function(){var t=pr.apply(void 0,arguments),r="animation-"+t.name;return{name:r,styles:"@keyframes "+r+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Ms=function e(t){for(var r=t.length,n=0,o="";n<r;n++){var s=t[n];if(s!=null){var i=void 0;switch(typeof s){case"boolean":break;case"object":{if(Array.isArray(s))i=e(s);else{process.env.NODE_ENV!=="production"&&s.styles!==void 0&&s.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),i="";for(var a in s)s[a]&&a&&(i&&(i+=" "),i+=a)}break}default:i=s}i&&(o&&(o+=" "),o+=i)}}return o};function Fs(e,t,r){var n=[],o=ur(e,n,r);return n.length<2?r:o+t(n)}var Ds=function(t){var r=t.cache,n=t.serializedArr;return fr(function(){for(var o=0;o<n.length;o++)wt(r,n[o],!1)}),null},Ls=Tt(function(e,t){var r=!1,n=[],o=function(){if(r&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var c=arguments.length,l=new Array(c),d=0;d<c;d++)l[d]=arguments[d];var m=Ye(l,t.registered);return n.push(m),Ot(t,m,!1),t.key+"-"+m.name},s=function(){if(r&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var c=arguments.length,l=new Array(c),d=0;d<c;d++)l[d]=arguments[d];return Fs(t.registered,o,Ms(l))},i={css:o,cx:s,theme:Q.useContext(Ge)},a=e.children(i);return r=!0,Q.createElement(Q.Fragment,null,Q.createElement(Ds,{cache:t,serializedArr:n}),a)});process.env.NODE_ENV!=="production"&&(Ls.displayName="EmotionClassNames");if(process.env.NODE_ENV!=="production"){var Fr=!0,Us=typeof jest<"u"||typeof vi<"u";if(Fr&&!Us){var Dr=typeof globalThis<"u"?globalThis:Fr?window:global,Lr="__EMOTION_REACT_"+Is.version.split(".")[0]+"__";Dr[Lr]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),Dr[Lr]=!0}}var Vs=ko,zs=function(t){return t!=="theme"},Ur=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Vs:zs},Vr=function(t,r,n){var o;if(r){var s=r.shouldForwardProp;o=t.__emotion_forwardProp&&s?function(i){return t.__emotion_forwardProp(i)&&s(i)}:s}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},zr=`You have illegal escape sequence in your template literal, most likely inside content's property value.
26
+ Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
27
+ You can read more about this here:
28
+ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Ws=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Ot(r,n,o),fr(function(){return wt(r,n,o)}),null},Ys=function e(t,r){if(process.env.NODE_ENV!=="production"&&t===void 0)throw new Error(`You are trying to create a styled element with an undefined component.
29
+ You may have forgotten to import it.`);var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,s,i;r!==void 0&&(s=r.label,i=r.target);var a=Vr(t,r,n),u=a||Ur(o),c=!u("as");return function(){var l=arguments,d=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(s!==void 0&&d.push("label:"+s+";"),l[0]==null||l[0].raw===void 0)d.push.apply(d,l);else{process.env.NODE_ENV!=="production"&&l[0][0]===void 0&&console.error(zr),d.push(l[0][0]);for(var m=l.length,g=1;g<m;g++)process.env.NODE_ENV!=="production"&&l[0][g]===void 0&&console.error(zr),d.push(l[g],l[0][g])}var v=Tt(function(p,h,x){var C=c&&p.as||o,S="",O=[],f=p;if(p.theme==null){f={};for(var P in p)f[P]=p[P];f.theme=Q.useContext(Ge)}typeof p.className=="string"?S=ur(h.registered,O,p.className):p.className!=null&&(S=p.className+" ");var $=Ye(d.concat(O),h.registered,f);S+=h.key+"-"+$.name,i!==void 0&&(S+=" "+i);var se=c&&a===void 0?Ur(C):u,te={};for(var T in p)c&&T==="as"||se(T)&&(te[T]=p[T]);return te.className=S,te.ref=x,Q.createElement(Q.Fragment,null,Q.createElement(Ws,{cache:h,serialized:$,isStringTag:typeof C=="string"}),Q.createElement(C,te))});return v.displayName=s!==void 0?s:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",v.defaultProps=t.defaultProps,v.__emotion_real=v,v.__emotion_base=o,v.__emotion_styles=d,v.__emotion_forwardProp=a,Object.defineProperty(v,"toString",{value:function(){return i===void 0&&process.env.NODE_ENV!=="production"?"NO_COMPONENT_SELECTOR":"."+i}}),v.withComponent=function(p,h){return e(p,R({},r,h,{shouldForwardProp:Vr(v,h,!0)})).apply(void 0,d)},v}},Bs=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Ht=Ys.bind();Bs.forEach(function(e){Ht[e]=Ht(e)});var Xt={exports:{}},ut={exports:{}},Y={};/** @license React v16.13.1
30
+ * react-is.production.min.js
31
+ *
32
+ * Copyright (c) Facebook, Inc. and its affiliates.
33
+ *
34
+ * This source code is licensed under the MIT license found in the
35
+ * LICENSE file in the root directory of this source tree.
36
+ */var Wr;function qs(){if(Wr)return Y;Wr=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function S(f){if(typeof f=="object"&&f!==null){var P=f.$$typeof;switch(P){case t:switch(f=f.type,f){case u:case c:case n:case s:case o:case d:return f;default:switch(f=f&&f.$$typeof,f){case a:case l:case v:case g:case i:return f;default:return P}}case r:return P}}}function O(f){return S(f)===c}return Y.AsyncMode=u,Y.ConcurrentMode=c,Y.ContextConsumer=a,Y.ContextProvider=i,Y.Element=t,Y.ForwardRef=l,Y.Fragment=n,Y.Lazy=v,Y.Memo=g,Y.Portal=r,Y.Profiler=s,Y.StrictMode=o,Y.Suspense=d,Y.isAsyncMode=function(f){return O(f)||S(f)===u},Y.isConcurrentMode=O,Y.isContextConsumer=function(f){return S(f)===a},Y.isContextProvider=function(f){return S(f)===i},Y.isElement=function(f){return typeof f=="object"&&f!==null&&f.$$typeof===t},Y.isForwardRef=function(f){return S(f)===l},Y.isFragment=function(f){return S(f)===n},Y.isLazy=function(f){return S(f)===v},Y.isMemo=function(f){return S(f)===g},Y.isPortal=function(f){return S(f)===r},Y.isProfiler=function(f){return S(f)===s},Y.isStrictMode=function(f){return S(f)===o},Y.isSuspense=function(f){return S(f)===d},Y.isValidElementType=function(f){return typeof f=="string"||typeof f=="function"||f===n||f===c||f===s||f===o||f===d||f===m||typeof f=="object"&&f!==null&&(f.$$typeof===v||f.$$typeof===g||f.$$typeof===i||f.$$typeof===a||f.$$typeof===l||f.$$typeof===h||f.$$typeof===x||f.$$typeof===C||f.$$typeof===p)},Y.typeOf=S,Y}var B={};/** @license React v16.13.1
37
+ * react-is.development.js
38
+ *
39
+ * Copyright (c) Facebook, Inc. and its affiliates.
40
+ *
41
+ * This source code is licensed under the MIT license found in the
42
+ * LICENSE file in the root directory of this source tree.
43
+ */var Yr;function Gs(){return Yr||(Yr=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function S(y){return typeof y=="string"||typeof y=="function"||y===n||y===c||y===s||y===o||y===d||y===m||typeof y=="object"&&y!==null&&(y.$$typeof===v||y.$$typeof===g||y.$$typeof===i||y.$$typeof===a||y.$$typeof===l||y.$$typeof===h||y.$$typeof===x||y.$$typeof===C||y.$$typeof===p)}function O(y){if(typeof y=="object"&&y!==null){var ue=y.$$typeof;switch(ue){case t:var _=y.type;switch(_){case u:case c:case n:case s:case o:case d:return _;default:var Re=_&&_.$$typeof;switch(Re){case a:case l:case v:case g:case i:return Re;default:return ue}}case r:return ue}}}var f=u,P=c,$=a,se=i,te=t,T=l,K=n,H=v,de=g,ne=r,he=s,ce=o,be=d,Oe=!1;function $e(y){return Oe||(Oe=!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.")),E(y)||O(y)===u}function E(y){return O(y)===c}function w(y){return O(y)===a}function j(y){return O(y)===i}function N(y){return typeof y=="object"&&y!==null&&y.$$typeof===t}function A(y){return O(y)===l}function M(y){return O(y)===n}function k(y){return O(y)===v}function I(y){return O(y)===g}function F(y){return O(y)===r}function L(y){return O(y)===s}function D(y){return O(y)===o}function oe(y){return O(y)===d}B.AsyncMode=f,B.ConcurrentMode=P,B.ContextConsumer=$,B.ContextProvider=se,B.Element=te,B.ForwardRef=T,B.Fragment=K,B.Lazy=H,B.Memo=de,B.Portal=ne,B.Profiler=he,B.StrictMode=ce,B.Suspense=be,B.isAsyncMode=$e,B.isConcurrentMode=E,B.isContextConsumer=w,B.isContextProvider=j,B.isElement=N,B.isForwardRef=A,B.isFragment=M,B.isLazy=k,B.isMemo=I,B.isPortal=F,B.isProfiler=L,B.isStrictMode=D,B.isSuspense=oe,B.isValidElementType=S,B.typeOf=O}()),B}var Br;function qn(){return Br||(Br=1,process.env.NODE_ENV==="production"?ut.exports=qs():ut.exports=Gs()),ut.exports}/*
44
+ object-assign
45
+ (c) Sindre Sorhus
46
+ @license MIT
47
+ */var Ut,qr;function Qs(){if(qr)return Ut;qr=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(s){if(s==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(s)}function o(){try{if(!Object.assign)return!1;var s=new String("abc");if(s[5]="de",Object.getOwnPropertyNames(s)[0]==="5")return!1;for(var i={},a=0;a<10;a++)i["_"+String.fromCharCode(a)]=a;var u=Object.getOwnPropertyNames(i).map(function(l){return i[l]});if(u.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(l){c[l]=l}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Ut=o()?Object.assign:function(s,i){for(var a,u=n(s),c,l=1;l<arguments.length;l++){a=Object(arguments[l]);for(var d in a)t.call(a,d)&&(u[d]=a[d]);if(e){c=e(a);for(var m=0;m<c.length;m++)r.call(a,c[m])&&(u[c[m]]=a[c[m]])}}return u},Ut}var Vt,Gr;function mr(){if(Gr)return Vt;Gr=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Vt=e,Vt}var zt,Qr;function Gn(){return Qr||(Qr=1,zt=Function.call.bind(Object.prototype.hasOwnProperty)),zt}var Wt,Kr;function Ks(){if(Kr)return Wt;Kr=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=mr(),r={},n=Gn();e=function(s){var i="Warning: "+s;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function o(s,i,a,u,c){if(process.env.NODE_ENV!=="production"){for(var l in s)if(n(s,l)){var d;try{if(typeof s[l]!="function"){var m=Error((u||"React class")+": "+a+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}d=s[l](i,l,u,a,null,t)}catch(v){d=v}if(d&&!(d instanceof Error)&&e((u||"React class")+": type specification of "+a+" `"+l+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in r)){r[d.message]=!0;var g=c?c():"";e("Failed "+a+" type: "+d.message+(g??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Wt=o,Wt}var Yt,Hr;function Hs(){if(Hr)return Yt;Hr=1;var e=qn(),t=Qs(),r=mr(),n=Gn(),o=Ks(),s=function(){};process.env.NODE_ENV!=="production"&&(s=function(a){var u="Warning: "+a;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}});function i(){return null}return Yt=function(a,u){var c=typeof Symbol=="function"&&Symbol.iterator,l="@@iterator";function d(E){var w=E&&(c&&E[c]||E[l]);if(typeof w=="function")return w}var m="<<anonymous>>",g={array:x("array"),bigint:x("bigint"),bool:x("boolean"),func:x("function"),number:x("number"),object:x("object"),string:x("string"),symbol:x("symbol"),any:C(),arrayOf:S,element:O(),elementType:f(),instanceOf:P,node:T(),objectOf:se,oneOf:$,oneOfType:te,shape:H,exact:de};function v(E,w){return E===w?E!==0||1/E===1/w:E!==E&&w!==w}function p(E,w){this.message=E,this.data=w&&typeof w=="object"?w:{},this.stack=""}p.prototype=Error.prototype;function h(E){if(process.env.NODE_ENV!=="production")var w={},j=0;function N(M,k,I,F,L,D,oe){if(F=F||m,D=D||I,oe!==r){if(u){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}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ue=F+":"+I;!w[ue]&&j<3&&(s("You are manually calling a React.PropTypes validation function for the `"+D+"` prop on `"+F+"`. 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."),w[ue]=!0,j++)}}return k[I]==null?M?k[I]===null?new p("The "+L+" `"+D+"` is marked as required "+("in `"+F+"`, but its value is `null`.")):new p("The "+L+" `"+D+"` is marked as required in "+("`"+F+"`, but its value is `undefined`.")):null:E(k,I,F,L,D)}var A=N.bind(null,!1);return A.isRequired=N.bind(null,!0),A}function x(E){function w(j,N,A,M,k,I){var F=j[N],L=ce(F);if(L!==E){var D=be(F);return new p("Invalid "+M+" `"+k+"` of type "+("`"+D+"` supplied to `"+A+"`, expected ")+("`"+E+"`."),{expectedType:E})}return null}return h(w)}function C(){return h(i)}function S(E){function w(j,N,A,M,k){if(typeof E!="function")return new p("Property `"+k+"` of component `"+A+"` has invalid PropType notation inside arrayOf.");var I=j[N];if(!Array.isArray(I)){var F=ce(I);return new p("Invalid "+M+" `"+k+"` of type "+("`"+F+"` supplied to `"+A+"`, expected an array."))}for(var L=0;L<I.length;L++){var D=E(I,L,A,M,k+"["+L+"]",r);if(D instanceof Error)return D}return null}return h(w)}function O(){function E(w,j,N,A,M){var k=w[j];if(!a(k)){var I=ce(k);return new p("Invalid "+A+" `"+M+"` of type "+("`"+I+"` supplied to `"+N+"`, expected a single ReactElement."))}return null}return h(E)}function f(){function E(w,j,N,A,M){var k=w[j];if(!e.isValidElementType(k)){var I=ce(k);return new p("Invalid "+A+" `"+M+"` of type "+("`"+I+"` supplied to `"+N+"`, expected a single ReactElement type."))}return null}return h(E)}function P(E){function w(j,N,A,M,k){if(!(j[N]instanceof E)){var I=E.name||m,F=$e(j[N]);return new p("Invalid "+M+" `"+k+"` of type "+("`"+F+"` supplied to `"+A+"`, expected ")+("instance of `"+I+"`."))}return null}return h(w)}function $(E){if(!Array.isArray(E))return process.env.NODE_ENV!=="production"&&(arguments.length>1?s("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])."):s("Invalid argument supplied to oneOf, expected an array.")),i;function w(j,N,A,M,k){for(var I=j[N],F=0;F<E.length;F++)if(v(I,E[F]))return null;var L=JSON.stringify(E,function(oe,y){var ue=be(y);return ue==="symbol"?String(y):y});return new p("Invalid "+M+" `"+k+"` of value `"+String(I)+"` "+("supplied to `"+A+"`, expected one of "+L+"."))}return h(w)}function se(E){function w(j,N,A,M,k){if(typeof E!="function")return new p("Property `"+k+"` of component `"+A+"` has invalid PropType notation inside objectOf.");var I=j[N],F=ce(I);if(F!=="object")return new p("Invalid "+M+" `"+k+"` of type "+("`"+F+"` supplied to `"+A+"`, expected an object."));for(var L in I)if(n(I,L)){var D=E(I,L,A,M,k+"."+L,r);if(D instanceof Error)return D}return null}return h(w)}function te(E){if(!Array.isArray(E))return process.env.NODE_ENV!=="production"&&s("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var w=0;w<E.length;w++){var j=E[w];if(typeof j!="function")return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Oe(j)+" at index "+w+"."),i}function N(A,M,k,I,F){for(var L=[],D=0;D<E.length;D++){var oe=E[D],y=oe(A,M,k,I,F,r);if(y==null)return null;y.data&&n(y.data,"expectedType")&&L.push(y.data.expectedType)}var ue=L.length>0?", expected one of type ["+L.join(", ")+"]":"";return new p("Invalid "+I+" `"+F+"` supplied to "+("`"+k+"`"+ue+"."))}return h(N)}function T(){function E(w,j,N,A,M){return ne(w[j])?null:new p("Invalid "+A+" `"+M+"` supplied to "+("`"+N+"`, expected a ReactNode."))}return h(E)}function K(E,w,j,N,A){return new p((E||"React class")+": "+w+" type `"+j+"."+N+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+A+"`.")}function H(E){function w(j,N,A,M,k){var I=j[N],F=ce(I);if(F!=="object")return new p("Invalid "+M+" `"+k+"` of type `"+F+"` "+("supplied to `"+A+"`, expected `object`."));for(var L in E){var D=E[L];if(typeof D!="function")return K(A,M,k,L,be(D));var oe=D(I,L,A,M,k+"."+L,r);if(oe)return oe}return null}return h(w)}function de(E){function w(j,N,A,M,k){var I=j[N],F=ce(I);if(F!=="object")return new p("Invalid "+M+" `"+k+"` of type `"+F+"` "+("supplied to `"+A+"`, expected `object`."));var L=t({},j[N],E);for(var D in L){var oe=E[D];if(n(E,D)&&typeof oe!="function")return K(A,M,k,D,be(oe));if(!oe)return new p("Invalid "+M+" `"+k+"` key `"+D+"` supplied to `"+A+"`.\nBad object: "+JSON.stringify(j[N],null," ")+`
48
+ Valid keys: `+JSON.stringify(Object.keys(E),null," "));var y=oe(I,D,A,M,k+"."+D,r);if(y)return y}return null}return h(w)}function ne(E){switch(typeof E){case"number":case"string":case"undefined":return!0;case"boolean":return!E;case"object":if(Array.isArray(E))return E.every(ne);if(E===null||a(E))return!0;var w=d(E);if(w){var j=w.call(E),N;if(w!==E.entries){for(;!(N=j.next()).done;)if(!ne(N.value))return!1}else for(;!(N=j.next()).done;){var A=N.value;if(A&&!ne(A[1]))return!1}}else return!1;return!0;default:return!1}}function he(E,w){return E==="symbol"?!0:w?w["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&w instanceof Symbol:!1}function ce(E){var w=typeof E;return Array.isArray(E)?"array":E instanceof RegExp?"object":he(w,E)?"symbol":w}function be(E){if(typeof E>"u"||E===null)return""+E;var w=ce(E);if(w==="object"){if(E instanceof Date)return"date";if(E instanceof RegExp)return"regexp"}return w}function Oe(E){var w=be(E);switch(w){case"array":case"object":return"an "+w;case"boolean":case"date":case"regexp":return"a "+w;default:return w}}function $e(E){return!E.constructor||!E.constructor.name?m:E.constructor.name}return g.checkPropTypes=o,g.resetWarningCache=o.resetWarningCache,g.PropTypes=g,g},Yt}var Bt,Xr;function Xs(){if(Xr)return Bt;Xr=1;var e=mr();function t(){}function r(){}return r.resetWarningCache=t,Bt=function(){function n(i,a,u,c,l,d){if(d!==e){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}n.isRequired=n;function o(){return n}var s={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return s.PropTypes=s,s},Bt}if(process.env.NODE_ENV!=="production"){var Js=qn(),Zs=!0;Xt.exports=Hs()(Js.isElement,Zs)}else Xt.exports=Xs()();var ei=Xt.exports;const b=ps(ei);/**
49
+ * @mui/styled-engine v5.15.4
50
+ *
51
+ * @license MIT
52
+ * This source code is licensed under the MIT license found in the
53
+ * LICENSE file in the root directory of this source tree.
54
+ */function ti(e,t){const r=Ht(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
55
+ `)):n.some(s=>s===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}const ri=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};function ni(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...n){return e(...n)||t(...n)}}function Pe(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Qn(e){if(!Pe(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Qn(e[r])}),t}function Se(e,t,r={clone:!0}){const n=r.clone?R({},e):e;return Pe(e)&&Pe(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(Pe(t[o])&&o in e&&Pe(e[o])?n[o]=Se(e[o],t[o],r):r.clone?n[o]=Pe(t[o])?Qn(t[o]):t[o]:n[o]=t[o])}),n}var Jt={exports:{}},q={};/**
56
+ * @license React
57
+ * react-is.production.min.js
58
+ *
59
+ * Copyright (c) Facebook, Inc. and its affiliates.
60
+ *
61
+ * This source code is licensed under the MIT license found in the
62
+ * LICENSE file in the root directory of this source tree.
63
+ */var Jr;function oi(){if(Jr)return q;Jr=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),i=Symbol.for("react.context"),a=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),v;v=Symbol.for("react.module.reference");function p(h){if(typeof h=="object"&&h!==null){var x=h.$$typeof;switch(x){case e:switch(h=h.type,h){case r:case o:case n:case c:case l:return h;default:switch(h=h&&h.$$typeof,h){case a:case i:case u:case m:case d:case s:return h;default:return x}}case t:return x}}}return q.ContextConsumer=i,q.ContextProvider=s,q.Element=e,q.ForwardRef=u,q.Fragment=r,q.Lazy=m,q.Memo=d,q.Portal=t,q.Profiler=o,q.StrictMode=n,q.Suspense=c,q.SuspenseList=l,q.isAsyncMode=function(){return!1},q.isConcurrentMode=function(){return!1},q.isContextConsumer=function(h){return p(h)===i},q.isContextProvider=function(h){return p(h)===s},q.isElement=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===e},q.isForwardRef=function(h){return p(h)===u},q.isFragment=function(h){return p(h)===r},q.isLazy=function(h){return p(h)===m},q.isMemo=function(h){return p(h)===d},q.isPortal=function(h){return p(h)===t},q.isProfiler=function(h){return p(h)===o},q.isStrictMode=function(h){return p(h)===n},q.isSuspense=function(h){return p(h)===c},q.isSuspenseList=function(h){return p(h)===l},q.isValidElementType=function(h){return typeof h=="string"||typeof h=="function"||h===r||h===o||h===n||h===c||h===l||h===g||typeof h=="object"&&h!==null&&(h.$$typeof===m||h.$$typeof===d||h.$$typeof===s||h.$$typeof===i||h.$$typeof===u||h.$$typeof===v||h.getModuleId!==void 0)},q.typeOf=p,q}var G={};/**
64
+ * @license React
65
+ * react-is.development.js
66
+ *
67
+ * Copyright (c) Facebook, Inc. and its affiliates.
68
+ *
69
+ * This source code is licensed under the MIT license found in the
70
+ * LICENSE file in the root directory of this source tree.
71
+ */var Zr;function si(){return Zr||(Zr=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),i=Symbol.for("react.context"),a=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),v=!1,p=!1,h=!1,x=!1,C=!1,S;S=Symbol.for("react.module.reference");function O(_){return!!(typeof _=="string"||typeof _=="function"||_===r||_===o||C||_===n||_===c||_===l||x||_===g||v||p||h||typeof _=="object"&&_!==null&&(_.$$typeof===m||_.$$typeof===d||_.$$typeof===s||_.$$typeof===i||_.$$typeof===u||_.$$typeof===S||_.getModuleId!==void 0))}function f(_){if(typeof _=="object"&&_!==null){var Re=_.$$typeof;switch(Re){case e:var at=_.type;switch(at){case r:case o:case n:case c:case l:return at;default:var xr=at&&at.$$typeof;switch(xr){case a:case i:case u:case m:case d:case s:return xr;default:return Re}}case t:return Re}}}var P=i,$=s,se=e,te=u,T=r,K=m,H=d,de=t,ne=o,he=n,ce=c,be=l,Oe=!1,$e=!1;function E(_){return Oe||(Oe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function w(_){return $e||($e=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function j(_){return f(_)===i}function N(_){return f(_)===s}function A(_){return typeof _=="object"&&_!==null&&_.$$typeof===e}function M(_){return f(_)===u}function k(_){return f(_)===r}function I(_){return f(_)===m}function F(_){return f(_)===d}function L(_){return f(_)===t}function D(_){return f(_)===o}function oe(_){return f(_)===n}function y(_){return f(_)===c}function ue(_){return f(_)===l}G.ContextConsumer=P,G.ContextProvider=$,G.Element=se,G.ForwardRef=te,G.Fragment=T,G.Lazy=K,G.Memo=H,G.Portal=de,G.Profiler=ne,G.StrictMode=he,G.Suspense=ce,G.SuspenseList=be,G.isAsyncMode=E,G.isConcurrentMode=w,G.isContextConsumer=j,G.isContextProvider=N,G.isElement=A,G.isForwardRef=M,G.isFragment=k,G.isLazy=I,G.isMemo=F,G.isPortal=L,G.isProfiler=D,G.isStrictMode=oe,G.isSuspense=y,G.isSuspenseList=ue,G.isValidElementType=O,G.typeOf=f}()),G}process.env.NODE_ENV==="production"?Jt.exports=oi():Jt.exports=si();var en=Jt.exports;const ii=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function ai(e){const t=`${e}`.match(ii);return t&&t[1]||""}function Kn(e,t=""){return e.displayName||e.name||ai(e)||t}function tn(e,t,r){const n=Kn(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function ci(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Kn(e,"Component");if(typeof e=="object")switch(e.$$typeof){case en.ForwardRef:return tn(e,e.render,"ForwardRef");case en.Memo:return tn(e,e.type,"memo");default:return}}}function Ce(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":ze(7));return e.charAt(0).toUpperCase()+e.slice(1)}function ui(e,t){if(process.env.NODE_ENV==="production")return()=>null;const r=t?R({},t.propTypes):null;return o=>(s,i,a,u,c,...l)=>{const d=c||i,m=r==null?void 0:r[d];if(m){const g=m(s,i,a,u,c,...l);if(g)return g}return typeof s[i]<"u"&&!s[o]?new Error(`The prop \`${d}\` of \`${e}\` can only be used together with the \`${o}\` prop.`):null}}function Hn(e,t){const r=R({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=R({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},s=t[n];r[n]={},!s||!Object.keys(s)?r[n]=o:!o||!Object.keys(o)?r[n]=s:(r[n]=R({},s),Object.keys(o).forEach(i=>{r[n][i]=Hn(o[i],s[i])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function Xn(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((s,i)=>{if(i){const a=t(i);a!==""&&s.push(a),r&&r[i]&&s.push(r[i])}return s},[]).join(" ")}),n}const rn=e=>e,li=()=>{let e=rn;return{configure(t){e=t},generate(t){return e(t)},reset(){e=rn}}},fi=li(),di=fi,pi={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function _t(e,t,r="Mui"){const n=pi[t];return n?`${r}-${n}`:`${di.generate(e)}-${t}`}function Jn(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=_t(e,o,r)}),n}const mi=["values","unit","step"],hi=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>R({},r,{[n.key]:n.val}),{})};function yi(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=xe(e,mi),s=hi(t),i=Object.keys(s);function a(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${r})`}function u(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-n/100}${r})`}function c(m,g){const v=i.indexOf(g);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${r}) and (max-width:${(v!==-1&&typeof t[i[v]]=="number"?t[i[v]]:g)-n/100}${r})`}function l(m){return i.indexOf(m)+1<i.length?c(m,i[i.indexOf(m)+1]):a(m)}function d(m){const g=i.indexOf(m);return g===0?a(i[1]):g===i.length-1?u(i[g]):c(m,i[i.indexOf(m)+1]).replace("@media","@media not all and")}return R({keys:i,values:s,up:a,down:u,between:c,only:l,not:d,unit:r},o)}const gi={borderRadius:4},bi=gi,Ei=process.env.NODE_ENV!=="production"?b.oneOfType([b.number,b.string,b.object,b.array]):{},ke=Ei;function Xe(e,t){return t?Se(e,t,{clone:!1}):e}const hr={xs:0,sm:600,md:900,lg:1200,xl:1536},nn={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${hr[e]}px)`};function ve(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const s=n.breakpoints||nn;return t.reduce((i,a,u)=>(i[s.up(s.keys[u])]=r(t[u]),i),{})}if(typeof t=="object"){const s=n.breakpoints||nn;return Object.keys(t).reduce((i,a)=>{if(Object.keys(s.values||hr).indexOf(a)!==-1){const u=s.up(a);i[u]=r(t[a],a)}else{const u=a;i[u]=t[u]}return i},{})}return r(t)}function Si(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const s=e.up(o);return n[s]={},n},{}))||{}}function xi(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Oi(e,t){if(typeof e!="object")return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((o,s)=>{s<e.length&&(r[o]=!0)}):n.forEach(o=>{e[o]!=null&&(r[o]=!0)}),r}function Ct({values:e,breakpoints:t,base:r}){const n=r||Oi(e,t),o=Object.keys(n);if(o.length===0)return e;let s;return o.reduce((i,a,u)=>(Array.isArray(e)?(i[a]=e[u]!=null?e[u]:e[s],s=u):typeof e=="object"?(i[a]=e[a]!=null?e[a]:e[s],s=a):i[a]=e,i),{})}function Rt(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,s)=>o&&o[s]?o[s]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function vt(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=Rt(e,r)||n,t&&(o=t(o,n,e)),o}function ee(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,s=i=>{if(i[t]==null)return null;const a=i[t],u=i.theme,c=Rt(u,n)||{};return ve(i,a,d=>{let m=vt(c,o,d);return d===m&&typeof d=="string"&&(m=vt(c,o,`${t}${d==="default"?"":Ce(d)}`,d)),r===!1?m:{[r]:m}})};return s.propTypes=process.env.NODE_ENV!=="production"?{[t]:ke}:{},s.filterProps=[t],s}function wi(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Ti={m:"margin",p:"padding"},_i={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},on={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Ci=wi(e=>{if(e.length>2)if(on[e])e=on[e];else return[e];const[t,r]=e.split(""),n=Ti[t],o=_i[r]||"";return Array.isArray(o)?o.map(s=>n+s):[n+o]}),Pt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],$t=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Ri=[...Pt,...$t];function st(e,t,r,n){var o;const s=(o=Rt(e,t,!1))!=null?o:r;return typeof s=="number"?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}.`),s*i):Array.isArray(s)?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&(Number.isInteger(i)?i>s.length-1&&console.error([`MUI: The value provided (${i}) overflows.`,`The supported values are: ${JSON.stringify(s)}.`,`${i} > ${s.length-1}, you need to add the missing values.`].join(`
72
+ `)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
73
+ `))),s[i]):typeof s=="function"?s:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${s}) is invalid.`,"It should be a number, an array or a function."].join(`
74
+ `)),()=>{})}function Zn(e){return st(e,"spacing",8,"spacing")}function it(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function Pi(e,t){return r=>e.reduce((n,o)=>(n[o]=it(t,r),n),{})}function $i(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=Ci(r),s=Pi(o,n),i=e[r];return ve(e,i,s)}function eo(e,t){const r=Zn(e.theme);return Object.keys(e).map(n=>$i(e,t,n,r)).reduce(Xe,{})}function J(e){return eo(e,Pt)}J.propTypes=process.env.NODE_ENV!=="production"?Pt.reduce((e,t)=>(e[t]=ke,e),{}):{};J.filterProps=Pt;function Z(e){return eo(e,$t)}Z.propTypes=process.env.NODE_ENV!=="production"?$t.reduce((e,t)=>(e[t]=ke,e),{}):{};Z.filterProps=$t;process.env.NODE_ENV!=="production"&&Ri.reduce((e,t)=>(e[t]=ke,e),{});function Ai(e=8){if(e.mui)return e;const t=Zn({spacing:e}),r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(s=>{const i=t(s);return typeof i=="number"?`${i}px`:i}).join(" "));return r.mui=!0,r}function At(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(s=>{n[s]=o}),n),{}),r=n=>Object.keys(n).reduce((o,s)=>t[s]?Xe(o,t[s](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function ye(e){return typeof e!="number"?e:`${e}px solid`}function ge(e,t){return ee({prop:e,themeKey:"borders",transform:t})}const ki=ge("border",ye),Ni=ge("borderTop",ye),Ii=ge("borderRight",ye),ji=ge("borderBottom",ye),Mi=ge("borderLeft",ye),Fi=ge("borderColor"),Di=ge("borderTopColor"),Li=ge("borderRightColor"),Ui=ge("borderBottomColor"),Vi=ge("borderLeftColor"),zi=ge("outline",ye),Wi=ge("outlineColor"),kt=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=st(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:it(t,n)});return ve(e,e.borderRadius,r)}return null};kt.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:ke}:{};kt.filterProps=["borderRadius"];At(ki,Ni,Ii,ji,Mi,Fi,Di,Li,Ui,Vi,kt,zi,Wi);const Nt=e=>{if(e.gap!==void 0&&e.gap!==null){const t=st(e.theme,"spacing",8,"gap"),r=n=>({gap:it(t,n)});return ve(e,e.gap,r)}return null};Nt.propTypes=process.env.NODE_ENV!=="production"?{gap:ke}:{};Nt.filterProps=["gap"];const It=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=st(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:it(t,n)});return ve(e,e.columnGap,r)}return null};It.propTypes=process.env.NODE_ENV!=="production"?{columnGap:ke}:{};It.filterProps=["columnGap"];const jt=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=st(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:it(t,n)});return ve(e,e.rowGap,r)}return null};jt.propTypes=process.env.NODE_ENV!=="production"?{rowGap:ke}:{};jt.filterProps=["rowGap"];const Yi=ee({prop:"gridColumn"}),Bi=ee({prop:"gridRow"}),qi=ee({prop:"gridAutoFlow"}),Gi=ee({prop:"gridAutoColumns"}),Qi=ee({prop:"gridAutoRows"}),Ki=ee({prop:"gridTemplateColumns"}),Hi=ee({prop:"gridTemplateRows"}),Xi=ee({prop:"gridTemplateAreas"}),Ji=ee({prop:"gridArea"});At(Nt,It,jt,Yi,Bi,qi,Gi,Qi,Ki,Hi,Xi,Ji);function Ue(e,t){return t==="grey"?t:e}const Zi=ee({prop:"color",themeKey:"palette",transform:Ue}),ea=ee({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ue}),ta=ee({prop:"backgroundColor",themeKey:"palette",transform:Ue});At(Zi,ea,ta);function pe(e){return e<=1&&e!==0?`${e*100}%`:e}const ra=ee({prop:"width",transform:pe}),yr=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,o;const s=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||hr[r];return s?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${s}${e.theme.breakpoints.unit}`}:{maxWidth:s}:{maxWidth:pe(r)}};return ve(e,e.maxWidth,t)}return null};yr.filterProps=["maxWidth"];const na=ee({prop:"minWidth",transform:pe}),oa=ee({prop:"height",transform:pe}),sa=ee({prop:"maxHeight",transform:pe}),ia=ee({prop:"minHeight",transform:pe});ee({prop:"size",cssProperty:"width",transform:pe});ee({prop:"size",cssProperty:"height",transform:pe});const aa=ee({prop:"boxSizing"});At(ra,yr,na,oa,sa,ia,aa);const ca={border:{themeKey:"borders",transform:ye},borderTop:{themeKey:"borders",transform:ye},borderRight:{themeKey:"borders",transform:ye},borderBottom:{themeKey:"borders",transform:ye},borderLeft:{themeKey:"borders",transform:ye},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ye},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:kt},color:{themeKey:"palette",transform:Ue},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ue},backgroundColor:{themeKey:"palette",transform:Ue},p:{style:Z},pt:{style:Z},pr:{style:Z},pb:{style:Z},pl:{style:Z},px:{style:Z},py:{style:Z},padding:{style:Z},paddingTop:{style:Z},paddingRight:{style:Z},paddingBottom:{style:Z},paddingLeft:{style:Z},paddingX:{style:Z},paddingY:{style:Z},paddingInline:{style:Z},paddingInlineStart:{style:Z},paddingInlineEnd:{style:Z},paddingBlock:{style:Z},paddingBlockStart:{style:Z},paddingBlockEnd:{style:Z},m:{style:J},mt:{style:J},mr:{style:J},mb:{style:J},ml:{style:J},mx:{style:J},my:{style:J},margin:{style:J},marginTop:{style:J},marginRight:{style:J},marginBottom:{style:J},marginLeft:{style:J},marginX:{style:J},marginY:{style:J},marginInline:{style:J},marginInlineStart:{style:J},marginInlineEnd:{style:J},marginBlock:{style:J},marginBlockStart:{style:J},marginBlockEnd:{style:J},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Nt},rowGap:{style:jt},columnGap:{style:It},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:pe},maxWidth:{style:yr},minWidth:{transform:pe},height:{transform:pe},maxHeight:{transform:pe},minHeight:{transform:pe},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Mt=ca;function ua(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function la(e,t){return typeof e=="function"?e(t):e}function fa(){function e(r,n,o,s){const i={[r]:n,theme:o},a=s[r];if(!a)return{[r]:n};const{cssProperty:u=r,themeKey:c,transform:l,style:d}=a;if(n==null)return null;if(c==="typography"&&n==="inherit")return{[r]:n};const m=Rt(o,c)||{};return d?d(i):ve(i,n,v=>{let p=vt(m,l,v);return v===p&&typeof v=="string"&&(p=vt(m,l,`${r}${v==="default"?"":Ce(v)}`,v)),u===!1?p:{[u]:p}})}function t(r){var n;const{sx:o,theme:s={}}=r||{};if(!o)return null;const i=(n=s.unstable_sxConfig)!=null?n:Mt;function a(u){let c=u;if(typeof u=="function")c=u(s);else if(typeof u!="object")return u;if(!c)return null;const l=Si(s.breakpoints),d=Object.keys(l);let m=l;return Object.keys(c).forEach(g=>{const v=la(c[g],s);if(v!=null)if(typeof v=="object")if(i[g])m=Xe(m,e(g,v,s,i));else{const p=ve({theme:s},v,h=>({[g]:h}));ua(p,v)?m[g]=t({sx:v,theme:s}):m=Xe(m,p)}else m=Xe(m,e(g,v,s,i))}),xi(d,m)}return Array.isArray(o)?o.map(a):a(o)}return t}const to=fa();to.filterProps=["sx"];const vr=to,da=["breakpoints","palette","spacing","shape"];function gr(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:s={}}=e,i=xe(e,da),a=yi(r),u=Ai(o);let c=Se({breakpoints:a,direction:"ltr",components:{},palette:R({mode:"light"},n),spacing:u,shape:R({},bi,s)},i);return c=t.reduce((l,d)=>Se(l,d),c),c.unstable_sxConfig=R({},Mt,i==null?void 0:i.unstable_sxConfig),c.unstable_sx=function(d){return vr({sx:d,theme:this})},c}function pa(e){return Object.keys(e).length===0}function ma(e=null){const t=Q.useContext(Ge);return!t||pa(t)?e:t}const ha=gr();function ro(e=ha){return ma(e)}const ya=["sx"],va=e=>{var t,r;const n={systemProps:{},otherProps:{}},o=(t=e==null||(r=e.theme)==null?void 0:r.unstable_sxConfig)!=null?t:Mt;return Object.keys(e).forEach(s=>{o[s]?n.systemProps[s]=e[s]:n.otherProps[s]=e[s]}),n};function ga(e){const{sx:t}=e,r=xe(e,ya),{systemProps:n,otherProps:o}=va(r);let s;return Array.isArray(t)?s=[n,...t]:typeof t=="function"?s=(...i)=>{const a=t(...i);return Pe(a)?R({},n,a):n}:s=R({},n,t),R({},o,{sx:s})}function no(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=no(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function oo(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=no(e))&&(n&&(n+=" "),n+=t);return n}const ba=["variant"];function sn(e){return e.length===0}function so(e){const{variant:t}=e,r=xe(e,ba);let n=t||"";return Object.keys(r).sort().forEach(o=>{o==="color"?n+=sn(n)?e[o]:Ce(e[o]):n+=`${sn(n)?o:Ce(o)}${Ce(e[o].toString())}`}),n}const Ea=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Sa(e){return Object.keys(e).length===0}function xa(e){return typeof e=="string"&&e.charCodeAt(0)>96}const Oa=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,gt=e=>{let t=0;const r={};return e&&e.forEach(n=>{let o="";typeof n.props=="function"?(o=`callback${t}`,t+=1):o=so(n.props),r[o]=n.style}),r},wa=(e,t)=>{let r=[];return t&&t.components&&t.components[e]&&t.components[e].variants&&(r=t.components[e].variants),gt(r)},bt=(e,t,r)=>{const{ownerState:n={}}=e,o=[];let s=0;return r&&r.forEach(i=>{let a=!0;if(typeof i.props=="function"){const u=R({},e,n);a=i.props(u)}else Object.keys(i.props).forEach(u=>{n[u]!==i.props[u]&&e[u]!==i.props[u]&&(a=!1)});a&&(typeof i.props=="function"?o.push(t[`callback${s}`]):o.push(t[so(i.props)])),typeof i.props=="function"&&(s+=1)}),o},Ta=(e,t,r,n)=>{var o;const s=r==null||(o=r.components)==null||(o=o[n])==null?void 0:o.variants;return bt(e,t,s)};function pt(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const _a=gr(),an=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function mt({defaultTheme:e,theme:t,themeId:r}){return Sa(t)?e:t[r]||t}function Ca(e){return e?(t,r)=>r[e]:null}const cn=({styledArg:e,props:t,defaultTheme:r,themeId:n})=>{const o=e(R({},t,{theme:mt(R({},t,{defaultTheme:r,themeId:n}))}));let s;if(o&&o.variants&&(s=o.variants,delete o.variants),s){const i=bt(t,gt(s),s);return[o,...i]}return o};function Ra(e={}){const{themeId:t,defaultTheme:r=_a,rootShouldForwardProp:n=pt,slotShouldForwardProp:o=pt}=e,s=i=>vr(R({},i,{theme:mt(R({},i,{defaultTheme:r,themeId:t}))}));return s.__mui_systemSx=!0,(i,a={})=>{ri(i,O=>O.filter(f=>!(f!=null&&f.__mui_systemSx)));const{name:u,slot:c,skipVariantsResolver:l,skipSx:d,overridesResolver:m=Ca(an(c))}=a,g=xe(a,Ea),v=l!==void 0?l:c&&c!=="Root"&&c!=="root"||!1,p=d||!1;let h;process.env.NODE_ENV!=="production"&&u&&(h=`${u}-${an(c||"Root")}`);let x=pt;c==="Root"||c==="root"?x=n:c?x=o:xa(i)&&(x=void 0);const C=ti(i,R({shouldForwardProp:x,label:h},g)),S=(O,...f)=>{const P=f?f.map(T=>{if(typeof T=="function"&&T.__emotion_real!==T)return K=>cn({styledArg:T,props:K,defaultTheme:r,themeId:t});if(Pe(T)){let K=T,H;return T&&T.variants&&(H=T.variants,delete K.variants,K=de=>{let ne=T;return bt(de,gt(H),H).forEach(ce=>{ne=Se(ne,ce)}),ne}),K}return T}):[];let $=O;if(Pe(O)){let T;O&&O.variants&&(T=O.variants,delete $.variants,$=K=>{let H=O;return bt(K,gt(T),T).forEach(ne=>{H=Se(H,ne)}),H})}else typeof O=="function"&&O.__emotion_real!==O&&($=T=>cn({styledArg:O,props:T,defaultTheme:r,themeId:t}));u&&m&&P.push(T=>{const K=mt(R({},T,{defaultTheme:r,themeId:t})),H=Oa(u,K);if(H){const de={};return Object.entries(H).forEach(([ne,he])=>{de[ne]=typeof he=="function"?he(R({},T,{theme:K})):he}),m(T,de)}return null}),u&&!v&&P.push(T=>{const K=mt(R({},T,{defaultTheme:r,themeId:t}));return Ta(T,wa(u,K),K,u)}),p||P.push(s);const se=P.length-f.length;if(Array.isArray(O)&&se>0){const T=new Array(se).fill("");$=[...O,...T],$.raw=[...O.raw,...T]}const te=C($,...P);if(process.env.NODE_ENV!=="production"){let T;u&&(T=`${u}${Ce(c||"")}`),T===void 0&&(T=`Styled(${ci(i)})`),te.displayName=T}return i.muiName&&(te.muiName=i.muiName),te};return C.withConfig&&(S.withConfig=C.withConfig),S}}function Pa(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:Hn(t.components[r].defaultProps,n)}function $a({props:e,name:t,defaultTheme:r,themeId:n}){let o=ro(r);return n&&(o=o[n]||o),Pa({theme:o,name:t,props:e})}function io(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),Math.min(Math.max(t,e),r)}function Aa(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function Be(e){if(e.type)return e;if(e.charAt(0)==="#")return Be(Aa(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
75
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:ze(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
76
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:ze(10,o))}else n=n.split(",");return n=n.map(s=>parseFloat(s)),{type:r,values:n,colorSpace:o}}function br(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,s)=>s<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function ka(e){e=Be(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,s=n*Math.min(o,1-o),i=(c,l=(c+r/30)%12)=>o-s*Math.max(Math.min(l-3,9-l,1),-1);let a="rgb";const u=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(a+="a",u.push(t[3])),br({type:a,values:u})}function un(e){e=Be(e);let t=e.type==="hsl"||e.type==="hsla"?Be(ka(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function ln(e,t){const r=un(e),n=un(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Na(e,t){if(e=Be(e),t=io(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return br(e)}function Ia(e,t){if(e=Be(e),t=io(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return br(e)}function ja(e,t){return R({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const Ma=["mode","contrastThreshold","tonalOffset"],fn={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:Ze.white,default:Ze.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}},qt={text:{primary:Ze.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:Ze.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}};function dn(e,t,r,n){const o=n.light||n,s=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Ia(e.main,o):t==="dark"&&(e.dark=Na(e.main,s)))}function Fa(e="light"){return e==="dark"?{main:je[200],light:je[50],dark:je[400]}:{main:je[700],light:je[400],dark:je[800]}}function Da(e="light"){return e==="dark"?{main:Ie[200],light:Ie[50],dark:Ie[400]}:{main:Ie[500],light:Ie[300],dark:Ie[700]}}function La(e="light"){return e==="dark"?{main:Ne[500],light:Ne[300],dark:Ne[700]}:{main:Ne[700],light:Ne[400],dark:Ne[800]}}function Ua(e="light"){return e==="dark"?{main:Me[400],light:Me[300],dark:Me[700]}:{main:Me[700],light:Me[500],dark:Me[900]}}function Va(e="light"){return e==="dark"?{main:Fe[400],light:Fe[300],dark:Fe[700]}:{main:Fe[800],light:Fe[500],dark:Fe[900]}}function za(e="light"){return e==="dark"?{main:Qe[400],light:Qe[300],dark:Qe[700]}:{main:"#ed6c02",light:Qe[500],dark:Qe[900]}}function Wa(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=xe(e,Ma),s=e.primary||Fa(t),i=e.secondary||Da(t),a=e.error||La(t),u=e.info||Ua(t),c=e.success||Va(t),l=e.warning||za(t);function d(p){const h=ln(p,qt.text.primary)>=r?qt.text.primary:fn.text.primary;if(process.env.NODE_ENV!=="production"){const x=ln(p,h);x<3&&console.error([`MUI: The contrast ratio of ${x}:1 for ${h} on ${p}`,"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(`
77
+ `))}return h}const m=({color:p,name:h,mainShade:x=500,lightShade:C=300,darkShade:S=700})=>{if(p=R({},p),!p.main&&p[x]&&(p.main=p[x]),!p.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${h?` (${h})`:""} provided to augmentColor(color) is invalid.
78
+ The color object needs to have a \`main\` property or a \`${x}\` property.`:ze(11,h?` (${h})`:"",x));if(typeof p.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${h?` (${h})`:""} provided to augmentColor(color) is invalid.
79
+ \`color.main\` should be a string, but \`${JSON.stringify(p.main)}\` was provided instead.
80
+
81
+ Did you intend to use one of the following approaches?
82
+
83
+ import { green } from "@mui/material/colors";
84
+
85
+ const theme1 = createTheme({ palette: {
86
+ primary: green,
87
+ } });
88
+
89
+ const theme2 = createTheme({ palette: {
90
+ primary: { main: green[500] },
91
+ } });`:ze(12,h?` (${h})`:"",JSON.stringify(p.main)));return dn(p,"light",C,n),dn(p,"dark",S,n),p.contrastText||(p.contrastText=d(p.main)),p},g={dark:qt,light:fn};return process.env.NODE_ENV!=="production"&&(g[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Se(R({common:R({},Ze),mode:t,primary:m({color:s,name:"primary"}),secondary:m({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:a,name:"error"}),warning:m({color:l,name:"warning"}),info:m({color:u,name:"info"}),success:m({color:c,name:"success"}),grey:$o,contrastThreshold:r,getContrastText:d,augmentColor:m,tonalOffset:n},g[t]),o)}const Ya=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Ba(e){return Math.round(e*1e5)/1e5}const pn={textTransform:"uppercase"},mn='"Roboto", "Helvetica", "Arial", sans-serif';function qa(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=mn,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:u=700,htmlFontSize:c=16,allVariants:l,pxToRem:d}=r,m=xe(r,Ya);process.env.NODE_ENV!=="production"&&(typeof o!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof c!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const g=o/14,v=d||(x=>`${x/c*g}rem`),p=(x,C,S,O,f)=>R({fontFamily:n,fontWeight:x,fontSize:v(C),lineHeight:S},n===mn?{letterSpacing:`${Ba(O/C)}em`}:{},f,l),h={h1:p(s,96,1.167,-1.5),h2:p(s,60,1.2,-.5),h3:p(i,48,1.167,0),h4:p(i,34,1.235,.25),h5:p(i,24,1.334,0),h6:p(a,20,1.6,.15),subtitle1:p(i,16,1.75,.15),subtitle2:p(a,14,1.57,.1),body1:p(i,16,1.5,.15),body2:p(i,14,1.43,.15),button:p(a,14,1.75,.4,pn),caption:p(i,12,1.66,.4),overline:p(i,12,2.66,1,pn),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Se(R({htmlFontSize:c,pxToRem:v,fontFamily:n,fontSize:o,fontWeightLight:s,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:u},h),m,{clone:!1})}const Ga=.2,Qa=.14,Ka=.12;function X(...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,${Qa})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Ka})`].join(",")}const Ha=["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)],Xa=Ha,Ja=["duration","easing","delay"],Za={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)"},ec={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function hn(e){return`${Math.round(e)}ms`}function tc(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function rc(e){const t=R({},Za,e.easing),r=R({},ec,e.duration);return R({getAutoHeightDuration:tc,create:(o=["all"],s={})=>{const{duration:i=r.standard,easing:a=t.easeInOut,delay:u=0}=s,c=xe(s,Ja);if(process.env.NODE_ENV!=="production"){const l=m=>typeof m=="string",d=m=>!isNaN(parseFloat(m));!l(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!d(i)&&!l(i)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`),l(a)||console.error('MUI: Argument "easing" must be a string.'),!d(u)&&!l(u)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof s!="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(`
92
+ `)),Object.keys(c).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(c).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(l=>`${l} ${typeof i=="string"?i:hn(i)} ${a} ${typeof u=="string"?u:hn(u)}`).join(",")}},e,{easing:t,duration:r})}const nc={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},oc=nc,sc=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function ic(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:s={}}=e,i=xe(e,sc);if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":ze(18));const a=Wa(n),u=gr(e);let c=Se(u,{mixins:ja(u.breakpoints,r),palette:a,shadows:Xa.slice(),typography:qa(a,s),transitions:rc(o),zIndex:R({},oc)});if(c=Se(c,i),c=t.reduce((l,d)=>Se(l,d),c),process.env.NODE_ENV!=="production"){const l=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],d=(m,g)=>{let v;for(v in m){const p=m[v];if(l.indexOf(v)!==-1&&Object.keys(p).length>0){if(process.env.NODE_ENV!=="production"){const h=_t("",v);console.error([`MUI: The \`${g}\` component increases the CSS specificity of the \`${v}\` internal state.`,"You can not override it like this: ",JSON.stringify(m,null,2),"",`Instead, you need to use the '&.${h}' syntax:`,JSON.stringify({root:{[`&.${h}`]:p}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
93
+ `))}m[v]={}}}};Object.keys(c.components).forEach(m=>{const g=c.components[m].styleOverrides;g&&m.indexOf("Mui")===0&&d(g,m)})}return c.unstable_sxConfig=R({},Mt,i==null?void 0:i.unstable_sxConfig),c.unstable_sx=function(d){return vr({sx:d,theme:this})},c}const ac=ic(),Er=ac;function cc(){const e=ro(Er);return process.env.NODE_ENV!=="production"&&Q.useDebugValue(e),e[or]||e}function ao({props:e,name:t}){return $a({props:e,name:t,defaultTheme:Er,themeId:or})}const uc=e=>pt(e)&&e!=="classes",lc=Ra({themeId:or,defaultTheme:Er,rootShouldForwardProp:uc}),Ft=lc;function Zt(e,t){return Zt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},Zt(e,t)}function co(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Zt(e,t)}function fc(e){return _t("MuiCircularProgress",e)}Jn("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const dc=["className","color","disableShrink","size","style","thickness","value","variant"];let Dt=e=>e,yn,vn,gn,bn;const Ae=44,pc=Bn(yn||(yn=Dt`
94
+ 0% {
95
+ transform: rotate(0deg);
96
+ }
97
+
98
+ 100% {
99
+ transform: rotate(360deg);
100
+ }
101
+ `)),mc=Bn(vn||(vn=Dt`
102
+ 0% {
103
+ stroke-dasharray: 1px, 200px;
104
+ stroke-dashoffset: 0;
105
+ }
106
+
107
+ 50% {
108
+ stroke-dasharray: 100px, 200px;
109
+ stroke-dashoffset: -15px;
110
+ }
111
+
112
+ 100% {
113
+ stroke-dasharray: 100px, 200px;
114
+ stroke-dashoffset: -125px;
115
+ }
116
+ `)),hc=e=>{const{classes:t,variant:r,color:n,disableShrink:o}=e,s={root:["root",r,`color${Ce(n)}`],svg:["svg"],circle:["circle",`circle${Ce(r)}`,o&&"circleDisableShrink"]};return Xn(s,fc,t)},yc=Ft("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${Ce(r.color)}`]]}})(({ownerState:e,theme:t})=>R({display:"inline-block"},e.variant==="determinate"&&{transition:t.transitions.create("transform")},e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>e.variant==="indeterminate"&&pr(gn||(gn=Dt`
117
+ animation: ${0} 1.4s linear infinite;
118
+ `),pc)),vc=Ft("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),gc=Ft("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${Ce(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>R({stroke:"currentColor"},e.variant==="determinate"&&{transition:t.transitions.create("stroke-dashoffset")},e.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink&&pr(bn||(bn=Dt`
119
+ animation: ${0} 1.4s ease-in-out infinite;
120
+ `),mc)),uo=Q.forwardRef(function(t,r){const n=ao({props:t,name:"MuiCircularProgress"}),{className:o,color:s="primary",disableShrink:i=!1,size:a=40,style:u,thickness:c=3.6,value:l=0,variant:d="indeterminate"}=n,m=xe(n,dc),g=R({},n,{color:s,disableShrink:i,size:a,thickness:c,value:l,variant:d}),v=hc(g),p={},h={},x={};if(d==="determinate"){const C=2*Math.PI*((Ae-c)/2);p.strokeDasharray=C.toFixed(3),x["aria-valuenow"]=Math.round(l),p.strokeDashoffset=`${((100-l)/100*C).toFixed(3)}px`,h.transform="rotate(-90deg)"}return Te.jsx(yc,R({className:oo(v.root,o),style:R({width:a,height:a},h,u),ownerState:g,ref:r,role:"progressbar"},x,m,{children:Te.jsx(vc,{className:v.svg,ownerState:g,viewBox:`${Ae/2} ${Ae/2} ${Ae} ${Ae}`,children:Te.jsx(gc,{className:v.circle,style:p,ownerState:g,cx:Ae,cy:Ae,r:(Ae-c)/2,fill:"none",strokeWidth:c})})}))});process.env.NODE_ENV!=="production"&&(uo.propTypes={classes:b.object,className:b.string,color:b.oneOfType([b.oneOf(["inherit","primary","secondary","error","info","success","warning"]),b.string]),disableShrink:ni(b.bool,e=>e.disableShrink&&e.variant&&e.variant!=="indeterminate"?new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),size:b.oneOfType([b.number,b.string]),style:b.object,sx:b.oneOfType([b.arrayOf(b.oneOfType([b.func,b.object,b.bool])),b.func,b.object]),thickness:b.number,value:b.number,variant:b.oneOf(["determinate","indeterminate"])});const bc=uo,lo=Q.createContext();process.env.NODE_ENV!=="production"&&(lo.displayName="GridContext");const En=lo;function Ec(e){return _t("MuiGrid",e)}const Sc=[0,1,2,3,4,5,6,7,8,9,10],xc=["column-reverse","column","row-reverse","row"],Oc=["nowrap","wrap-reverse","wrap"],He=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],nt=Jn("MuiGrid",["root","container","item","zeroMinWidth",...Sc.map(e=>`spacing-xs-${e}`),...xc.map(e=>`direction-xs-${e}`),...Oc.map(e=>`wrap-xs-${e}`),...He.map(e=>`grid-xs-${e}`),...He.map(e=>`grid-sm-${e}`),...He.map(e=>`grid-md-${e}`),...He.map(e=>`grid-lg-${e}`),...He.map(e=>`grid-xl-${e}`)]),wc=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function Ve(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function Tc({theme:e,ownerState:t}){let r;return e.breakpoints.keys.reduce((n,o)=>{let s={};if(t[o]&&(r=t[o]),!r)return n;if(r===!0)s={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(r==="auto")s={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const i=Ct({values:t.columns,breakpoints:e.breakpoints.values}),a=typeof i=="object"?i[o]:i;if(a==null)return n;const u=`${Math.round(r/a*1e8)/1e6}%`;let c={};if(t.container&&t.item&&t.columnSpacing!==0){const l=e.spacing(t.columnSpacing);if(l!=="0px"){const d=`calc(${u} + ${Ve(l)})`;c={flexBasis:d,maxWidth:d}}}s=R({flexBasis:u,flexGrow:0,maxWidth:u},c)}return e.breakpoints.values[o]===0?Object.assign(n,s):n[e.breakpoints.up(o)]=s,n},{})}function _c({theme:e,ownerState:t}){const r=Ct({values:t.direction,breakpoints:e.breakpoints.values});return ve({theme:e},r,n=>{const o={flexDirection:n};return n.indexOf("column")===0&&(o[`& > .${nt.item}`]={maxWidth:"none"}),o})}function fo({breakpoints:e,values:t}){let r="";Object.keys(t).forEach(o=>{r===""&&t[o]!==0&&(r=o)});const n=Object.keys(e).sort((o,s)=>e[o]-e[s]);return n.slice(0,n.indexOf(r))}function Cc({theme:e,ownerState:t}){const{container:r,rowSpacing:n}=t;let o={};if(r&&n!==0){const s=Ct({values:n,breakpoints:e.breakpoints.values});let i;typeof s=="object"&&(i=fo({breakpoints:e.breakpoints.values,values:s})),o=ve({theme:e},s,(a,u)=>{var c;const l=e.spacing(a);return l!=="0px"?{marginTop:`-${Ve(l)}`,[`& > .${nt.item}`]:{paddingTop:Ve(l)}}:(c=i)!=null&&c.includes(u)?{}:{marginTop:0,[`& > .${nt.item}`]:{paddingTop:0}}})}return o}function Rc({theme:e,ownerState:t}){const{container:r,columnSpacing:n}=t;let o={};if(r&&n!==0){const s=Ct({values:n,breakpoints:e.breakpoints.values});let i;typeof s=="object"&&(i=fo({breakpoints:e.breakpoints.values,values:s})),o=ve({theme:e},s,(a,u)=>{var c;const l=e.spacing(a);return l!=="0px"?{width:`calc(100% + ${Ve(l)})`,marginLeft:`-${Ve(l)}`,[`& > .${nt.item}`]:{paddingLeft:Ve(l)}}:(c=i)!=null&&c.includes(u)?{}:{width:"100%",marginLeft:0,[`& > .${nt.item}`]:{paddingLeft:0}}})}return o}function Pc(e,t,r={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[r[`spacing-xs-${String(e)}`]];const n=[];return t.forEach(o=>{const s=e[o];Number(s)>0&&n.push(r[`spacing-${o}-${String(s)}`])}),n}const $c=Ft("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{container:n,direction:o,item:s,spacing:i,wrap:a,zeroMinWidth:u,breakpoints:c}=r;let l=[];n&&(l=Pc(i,c,t));const d=[];return c.forEach(m=>{const g=r[m];g&&d.push(t[`grid-${m}-${String(g)}`])}),[t.root,n&&t.container,s&&t.item,u&&t.zeroMinWidth,...l,o!=="row"&&t[`direction-xs-${String(o)}`],a!=="wrap"&&t[`wrap-xs-${String(a)}`],...d]}})(({ownerState:e})=>R({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},e.wrap!=="wrap"&&{flexWrap:e.wrap}),_c,Cc,Rc,Tc);function Ac(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const r=[];return t.forEach(n=>{const o=e[n];if(Number(o)>0){const s=`spacing-${n}-${String(o)}`;r.push(s)}}),r}const kc=e=>{const{classes:t,container:r,direction:n,item:o,spacing:s,wrap:i,zeroMinWidth:a,breakpoints:u}=e;let c=[];r&&(c=Ac(s,u));const l=[];u.forEach(m=>{const g=e[m];g&&l.push(`grid-${m}-${String(g)}`)});const d={root:["root",r&&"container",o&&"item",a&&"zeroMinWidth",...c,n!=="row"&&`direction-xs-${String(n)}`,i!=="wrap"&&`wrap-xs-${String(i)}`,...l]};return Xn(d,Ec,t)},Je=Q.forwardRef(function(t,r){const n=ao({props:t,name:"MuiGrid"}),{breakpoints:o}=cc(),s=ga(n),{className:i,columns:a,columnSpacing:u,component:c="div",container:l=!1,direction:d="row",item:m=!1,rowSpacing:g,spacing:v=0,wrap:p="wrap",zeroMinWidth:h=!1}=s,x=xe(s,wc),C=g||v,S=u||v,O=Q.useContext(En),f=l?a||12:O,P={},$=R({},x);o.keys.forEach(T=>{x[T]!=null&&(P[T]=x[T],delete $[T])});const se=R({},s,{columns:f,container:l,direction:d,item:m,rowSpacing:C,columnSpacing:S,wrap:p,zeroMinWidth:h,spacing:v},P,{breakpoints:o.keys}),te=kc(se);return Te.jsx(En.Provider,{value:f,children:Te.jsx($c,R({ownerState:se,className:oo(te.root,i),as:c,ref:r},$))})});process.env.NODE_ENV!=="production"&&(Je.propTypes={children:b.node,classes:b.object,className:b.string,columns:b.oneOfType([b.arrayOf(b.number),b.number,b.object]),columnSpacing:b.oneOfType([b.arrayOf(b.oneOfType([b.number,b.string])),b.number,b.object,b.string]),component:b.elementType,container:b.bool,direction:b.oneOfType([b.oneOf(["column-reverse","column","row-reverse","row"]),b.arrayOf(b.oneOf(["column-reverse","column","row-reverse","row"])),b.object]),item:b.bool,lg:b.oneOfType([b.oneOf(["auto"]),b.number,b.bool]),md:b.oneOfType([b.oneOf(["auto"]),b.number,b.bool]),rowSpacing:b.oneOfType([b.arrayOf(b.oneOfType([b.number,b.string])),b.number,b.object,b.string]),sm:b.oneOfType([b.oneOf(["auto"]),b.number,b.bool]),spacing:b.oneOfType([b.arrayOf(b.oneOfType([b.number,b.string])),b.number,b.object,b.string]),sx:b.oneOfType([b.arrayOf(b.oneOfType([b.func,b.object,b.bool])),b.func,b.object]),wrap:b.oneOf(["nowrap","wrap-reverse","wrap"]),xl:b.oneOfType([b.oneOf(["auto"]),b.number,b.bool]),xs:b.oneOfType([b.oneOf(["auto"]),b.number,b.bool]),zeroMinWidth:b.bool});if(process.env.NODE_ENV!=="production"){const e=ui("Grid",Je);Je["propTypes"]=R({},Je.propTypes,{direction:e("container"),lg:e("item"),md:e("item"),sm:e("item"),spacing:e("container"),wrap:e("container"),xs:e("item"),zeroMinWidth:e("item")})}const Nc=Je,Sn=window.location.origin,po=ae.createContext({}),Ic=({children:e,baseUrl:t,userData:r})=>{const n=()=>{window.location.href=`${t}/authentication/login?callbackUrl=${Sn}`},o=()=>{window.location.href=`${t}/authentication/logout?callbackUrl=${Sn}`};return r!=null&&r.isFetching?Te.jsx(Nc,{container:!0,justifyContent:"center",alignItems:"center",sx:{minHeight:"100vh"},children:Te.jsx(bc,{})}):r!=null&&r.isError?(n(),null):Te.jsx(po.Provider,{value:{user:r==null?void 0:r.data,login:n,logout:o},children:e})},jc=()=>{const{login:e,logout:t,user:r}=ae.useContext(po);return{login:e,logout:t,user:r}},Mc={TOKEN_MALFORMED:"token_malformed",TOKEN_EXPIRED:"token_expired"},xn=e=>{window.location.href=`${e}/authentication/login?callbackUrl=${window.location.origin}`};function Fc({config:e,pushError:t}){const r=nr.create(e);r.interceptors.request.use(async s=>(s.headers={Accept:"application/json","Content-Type":"application/json"},s),s=>Promise.reject(s));const n=r.interceptors.response.use(s=>s,async s=>o(s));function o(s){var a,u,c,l,d,m,g,v;console.error("Error 🚨:",s);const i=s==null?void 0:s.config;if(((u=(a=s.response)==null?void 0:a.data)==null?void 0:u.statusCode)===401&&s.response.data.errorMessage===Mc.TOKEN_EXPIRED&&!i._retry&&(i._retry=!0,r.post("/authentication/api/v1/auth/refresh-token").then(()=>r(i)).catch(()=>xn(e.baseURL)),r.interceptors.response.eject(n)),((l=(c=s.response)==null?void 0:c.data)==null?void 0:l.statusCode)===401&&xn(e.baseURL),s.response.status!==401){const p=typeof((d=s==null?void 0:s.response)==null?void 0:d.data)=="string"?(m=s==null?void 0:s.response)==null?void 0:m.data:((v=(g=s==null?void 0:s.response)==null?void 0:g.data)==null?void 0:v.message)||s.message||"Server error!";return t(p),Promise.reject(s.response.data)}return Promise.reject(s)}return r}var mo=function(){function e(){this.listeners=[]}var t=e.prototype;return t.subscribe=function(n){var o=this,s=n||function(){};return this.listeners.push(s),this.onSubscribe(),function(){o.listeners=o.listeners.filter(function(i){return i!==s}),o.onUnsubscribe()}},t.hasListeners=function(){return this.listeners.length>0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}(),er=typeof window>"u";function Dc(){}function On(e){return typeof e=="number"&&e>=0&&e!==1/0}function Lc(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Uc(e,t,r){return zc(e)?typeof t=="function"?R({},r,{queryKey:e,queryFn:t}):R({},t,{queryKey:e}):e}function tr(e,t){if(e===t)return e;var r=Array.isArray(e)&&Array.isArray(t);if(r||wn(e)&&wn(t)){for(var n=r?e.length:Object.keys(e).length,o=r?t:Object.keys(t),s=o.length,i=r?[]:{},a=0,u=0;u<s;u++){var c=r?u:o[u];i[c]=tr(e[c],t[c]),i[c]===e[c]&&a++}return n===s&&a===n?e:i}return t}function Vc(e,t){if(e&&!t||t&&!e)return!1;for(var r in e)if(e[r]!==t[r])return!1;return!0}function wn(e){if(!Tn(e))return!1;var t=e.constructor;if(typeof t>"u")return!0;var r=t.prototype;return!(!Tn(r)||!r.hasOwnProperty("isPrototypeOf"))}function Tn(e){return Object.prototype.toString.call(e)==="[object Object]"}function zc(e){return typeof e=="string"||Array.isArray(e)}function _n(e){Promise.resolve().then(e).catch(function(t){return setTimeout(function(){throw t})})}var Wc=function(e){co(t,e);function t(){var n;return n=e.call(this)||this,n.setup=function(o){var s;if(!er&&((s=window)!=null&&s.addEventListener)){var i=function(){return o()};return window.addEventListener("visibilitychange",i,!1),window.addEventListener("focus",i,!1),function(){window.removeEventListener("visibilitychange",i),window.removeEventListener("focus",i)}}},n}var r=t.prototype;return r.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},r.onUnsubscribe=function(){if(!this.hasListeners()){var o;(o=this.cleanup)==null||o.call(this),this.cleanup=void 0}},r.setEventListener=function(o){var s,i=this;this.setup=o,(s=this.cleanup)==null||s.call(this),this.cleanup=o(function(a){typeof a=="boolean"?i.setFocused(a):i.onFocus()})},r.setFocused=function(o){this.focused=o,o&&this.onFocus()},r.onFocus=function(){this.listeners.forEach(function(o){o()})},r.isFocused=function(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)},t}(mo),Yc=new Wc,Bc=function(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent};function qc(e){return e instanceof Bc}var Gc=function(){function e(){this.queue=[],this.transactions=0,this.notifyFn=function(r){r()},this.batchNotifyFn=function(r){r()}}var t=e.prototype;return t.batch=function(n){var o;this.transactions++;try{o=n()}finally{this.transactions--,this.transactions||this.flush()}return o},t.schedule=function(n){var o=this;this.transactions?this.queue.push(n):_n(function(){o.notifyFn(n)})},t.batchCalls=function(n){var o=this;return function(){for(var s=arguments.length,i=new Array(s),a=0;a<s;a++)i[a]=arguments[a];o.schedule(function(){n.apply(void 0,i)})}},t.flush=function(){var n=this,o=this.queue;this.queue=[],o.length&&_n(function(){n.batchNotifyFn(function(){o.forEach(function(s){n.notifyFn(s)})})})},t.setNotifyFunction=function(n){this.notifyFn=n},t.setBatchNotifyFunction=function(n){this.batchNotifyFn=n},e}(),De=new Gc,ho=console;function Cn(){return ho}function Qc(e){ho=e}var Kc=function(e){co(t,e);function t(n,o){var s;return s=e.call(this)||this,s.client=n,s.options=o,s.trackedProps=[],s.selectError=null,s.bindMethods(),s.setOptions(o),s}var r=t.prototype;return r.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},r.onSubscribe=function(){this.listeners.length===1&&(this.currentQuery.addObserver(this),Rn(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},r.onUnsubscribe=function(){this.listeners.length||this.destroy()},r.shouldFetchOnReconnect=function(){return rr(this.currentQuery,this.options,this.options.refetchOnReconnect)},r.shouldFetchOnWindowFocus=function(){return rr(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},r.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},r.setOptions=function(o,s){var i=this.options,a=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(o),typeof this.options.enabled<"u"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=i.queryKey),this.updateQuery();var u=this.hasListeners();u&&Pn(this.currentQuery,a,this.options,i)&&this.executeFetch(),this.updateResult(s),u&&(this.currentQuery!==a||this.options.enabled!==i.enabled||this.options.staleTime!==i.staleTime)&&this.updateStaleTimeout();var c=this.computeRefetchInterval();u&&(this.currentQuery!==a||this.options.enabled!==i.enabled||c!==this.currentRefetchInterval)&&this.updateRefetchInterval(c)},r.getOptimisticResult=function(o){var s=this.client.defaultQueryObserverOptions(o),i=this.client.getQueryCache().build(this.client,s);return this.createResult(i,s)},r.getCurrentResult=function(){return this.currentResult},r.trackResult=function(o,s){var i=this,a={},u=function(l){i.trackedProps.includes(l)||i.trackedProps.push(l)};return Object.keys(o).forEach(function(c){Object.defineProperty(a,c,{configurable:!1,enumerable:!0,get:function(){return u(c),o[c]}})}),(s.useErrorBoundary||s.suspense)&&u("error"),a},r.getNextResult=function(o){var s=this;return new Promise(function(i,a){var u=s.subscribe(function(c){c.isFetching||(u(),c.isError&&(o!=null&&o.throwOnError)?a(c.error):i(c))})})},r.getCurrentQuery=function(){return this.currentQuery},r.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},r.refetch=function(o){return this.fetch(R({},o,{meta:{refetchPage:o==null?void 0:o.refetchPage}}))},r.fetchOptimistic=function(o){var s=this,i=this.client.defaultQueryObserverOptions(o),a=this.client.getQueryCache().build(this.client,i);return a.fetch().then(function(){return s.createResult(a,i)})},r.fetch=function(o){var s=this;return this.executeFetch(o).then(function(){return s.updateResult(),s.currentResult})},r.executeFetch=function(o){this.updateQuery();var s=this.currentQuery.fetch(this.options,o);return o!=null&&o.throwOnError||(s=s.catch(Dc)),s},r.updateStaleTimeout=function(){var o=this;if(this.clearStaleTimeout(),!(er||this.currentResult.isStale||!On(this.options.staleTime))){var s=Lc(this.currentResult.dataUpdatedAt,this.options.staleTime),i=s+1;this.staleTimeoutId=setTimeout(function(){o.currentResult.isStale||o.updateResult()},i)}},r.computeRefetchInterval=function(){var o;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(o=this.options.refetchInterval)!=null?o:!1},r.updateRefetchInterval=function(o){var s=this;this.clearRefetchInterval(),this.currentRefetchInterval=o,!(er||this.options.enabled===!1||!On(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(function(){(s.options.refetchIntervalInBackground||Yc.isFocused())&&s.executeFetch()},this.currentRefetchInterval))},r.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},r.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},r.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},r.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},r.createResult=function(o,s){var i=this.currentQuery,a=this.options,u=this.currentResult,c=this.currentResultState,l=this.currentResultOptions,d=o!==i,m=d?o.state:this.currentQueryInitialState,g=d?this.currentResult:this.previousQueryResult,v=o.state,p=v.dataUpdatedAt,h=v.error,x=v.errorUpdatedAt,C=v.isFetching,S=v.status,O=!1,f=!1,P;if(s.optimisticResults){var $=this.hasListeners(),se=!$&&Rn(o,s),te=$&&Pn(o,i,s,a);(se||te)&&(C=!0,p||(S="loading"))}if(s.keepPreviousData&&!v.dataUpdateCount&&(g!=null&&g.isSuccess)&&S!=="error")P=g.data,p=g.dataUpdatedAt,S=g.status,O=!0;else if(s.select&&typeof v.data<"u")if(u&&v.data===(c==null?void 0:c.data)&&s.select===this.selectFn)P=this.selectResult;else try{this.selectFn=s.select,P=s.select(v.data),s.structuralSharing!==!1&&(P=tr(u==null?void 0:u.data,P)),this.selectResult=P,this.selectError=null}catch(H){Cn().error(H),this.selectError=H}else P=v.data;if(typeof s.placeholderData<"u"&&typeof P>"u"&&(S==="loading"||S==="idle")){var T;if(u!=null&&u.isPlaceholderData&&s.placeholderData===(l==null?void 0:l.placeholderData))T=u.data;else if(T=typeof s.placeholderData=="function"?s.placeholderData():s.placeholderData,s.select&&typeof T<"u")try{T=s.select(T),s.structuralSharing!==!1&&(T=tr(u==null?void 0:u.data,T)),this.selectError=null}catch(H){Cn().error(H),this.selectError=H}typeof T<"u"&&(S="success",P=T,f=!0)}this.selectError&&(h=this.selectError,P=this.selectResult,x=Date.now(),S="error");var K={status:S,isLoading:S==="loading",isSuccess:S==="success",isError:S==="error",isIdle:S==="idle",data:P,dataUpdatedAt:p,error:h,errorUpdatedAt:x,failureCount:v.fetchFailureCount,errorUpdateCount:v.errorUpdateCount,isFetched:v.dataUpdateCount>0||v.errorUpdateCount>0,isFetchedAfterMount:v.dataUpdateCount>m.dataUpdateCount||v.errorUpdateCount>m.errorUpdateCount,isFetching:C,isRefetching:C&&S!=="loading",isLoadingError:S==="error"&&v.dataUpdatedAt===0,isPlaceholderData:f,isPreviousData:O,isRefetchError:S==="error"&&v.dataUpdatedAt!==0,isStale:Sr(o,s),refetch:this.refetch,remove:this.remove};return K},r.shouldNotifyListeners=function(o,s){if(!s)return!0;var i=this.options,a=i.notifyOnChangeProps,u=i.notifyOnChangePropsExclusions;if(!a&&!u||a==="tracked"&&!this.trackedProps.length)return!0;var c=a==="tracked"?this.trackedProps:a;return Object.keys(o).some(function(l){var d=l,m=o[d]!==s[d],g=c==null?void 0:c.some(function(p){return p===l}),v=u==null?void 0:u.some(function(p){return p===l});return m&&!v&&(!c||g)})},r.updateResult=function(o){var s=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!Vc(this.currentResult,s)){var i={cache:!0};(o==null?void 0:o.listeners)!==!1&&this.shouldNotifyListeners(this.currentResult,s)&&(i.listeners=!0),this.notify(R({},i,o))}},r.updateQuery=function(){var o=this.client.getQueryCache().build(this.client,this.options);if(o!==this.currentQuery){var s=this.currentQuery;this.currentQuery=o,this.currentQueryInitialState=o.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(s==null||s.removeObserver(this),o.addObserver(this))}},r.onQueryUpdate=function(o){var s={};o.type==="success"?s.onSuccess=!0:o.type==="error"&&!qc(o.error)&&(s.onError=!0),this.updateResult(s),this.hasListeners()&&this.updateTimers()},r.notify=function(o){var s=this;De.batch(function(){o.onSuccess?(s.options.onSuccess==null||s.options.onSuccess(s.currentResult.data),s.options.onSettled==null||s.options.onSettled(s.currentResult.data,null)):o.onError&&(s.options.onError==null||s.options.onError(s.currentResult.error),s.options.onSettled==null||s.options.onSettled(void 0,s.currentResult.error)),o.listeners&&s.listeners.forEach(function(i){i(s.currentResult)}),o.cache&&s.client.getQueryCache().notify({query:s.currentQuery,type:"observerResultsUpdated"})})},t}(mo);function Hc(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Rn(e,t){return Hc(e,t)||e.state.dataUpdatedAt>0&&rr(e,t,t.refetchOnMount)}function rr(e,t,r){if(t.enabled!==!1){var n=typeof r=="function"?r(e):r;return n==="always"||n!==!1&&Sr(e,t)}return!1}function Pn(e,t,r,n){return r.enabled!==!1&&(e!==t||n.enabled===!1)&&(!r.suspense||e.state.status!=="error")&&Sr(e,r)}function Sr(e,t){return e.isStaleByTime(t.staleTime)}var Xc=Eo.unstable_batchedUpdates;De.setBatchNotifyFunction(Xc);var Jc=console;Qc(Jc);var $n=ae.createContext(void 0),Zc=ae.createContext(!1);function eu(e){return e&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=$n),window.ReactQueryClientContext):$n}var yo=function(){var t=ae.useContext(eu(ae.useContext(Zc)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t};function tu(){var e=!1;return{clearReset:function(){e=!1},reset:function(){e=!0},isReset:function(){return e}}}var ru=ae.createContext(tu()),nu=function(){return ae.useContext(ru)};function ou(e,t,r){return typeof t=="function"?t.apply(void 0,r):typeof t=="boolean"?t:!!e}function su(e,t){var r=ae.useRef(!1),n=ae.useState(0),o=n[1],s=yo(),i=nu(),a=s.defaultQueryObserverOptions(e);a.optimisticResults=!0,a.onError&&(a.onError=De.batchCalls(a.onError)),a.onSuccess&&(a.onSuccess=De.batchCalls(a.onSuccess)),a.onSettled&&(a.onSettled=De.batchCalls(a.onSettled)),a.suspense&&(typeof a.staleTime!="number"&&(a.staleTime=1e3),a.cacheTime===0&&(a.cacheTime=1)),(a.suspense||a.useErrorBoundary)&&(i.isReset()||(a.retryOnMount=!1));var u=ae.useState(function(){return new t(s,a)}),c=u[0],l=c.getOptimisticResult(a);if(ae.useEffect(function(){r.current=!0,i.clearReset();var d=c.subscribe(De.batchCalls(function(){r.current&&o(function(m){return m+1})}));return c.updateResult(),function(){r.current=!1,d()}},[i,c]),ae.useEffect(function(){c.setOptions(a,{listeners:!1})},[a,c]),a.suspense&&l.isLoading)throw c.fetchOptimistic(a).then(function(d){var m=d.data;a.onSuccess==null||a.onSuccess(m),a.onSettled==null||a.onSettled(m,null)}).catch(function(d){i.clearReset(),a.onError==null||a.onError(d),a.onSettled==null||a.onSettled(void 0,d)});if(l.isError&&!i.isReset()&&!l.isFetching&&ou(a.suspense,a.useErrorBoundary,[l.error,c.getCurrentQuery()]))throw l.error;return a.notifyOnChangeProps==="tracked"&&(l=c.trackResult(l,a)),l}function vo(e,t,r){var n=Uc(e,t,r);return su(n,Kc)}const go=e=>vo({queryKey:["user-permission"],queryFn:()=>nr.get(`${e}/user-management/api/v1/users/my-account/permissions`,{withCredentials:!0}).then(t=>t.data).catch(t=>{console.error("Getting user permission error:",t)}),staleTime:6e4,cacheTime:9e4}),iu=e=>{const t=yo(),r=vo({queryKey:["user"],refetchOnWindowFocus:!1,retry:!1,queryFn:()=>nr.get(`${e}/user-management/api/v1/users/my-account`,{withCredentials:!0}).then(n=>n.data).catch(n=>{console.log("Getting user Error:",n)})});return ae.useEffect(()=>{window.onpageshow=function(n){n.persisted&&t.invalidateQueries(["user"])}},[t]),r},bo=e=>(t,r)=>{const{data:n}=go(e);return r?t.every(o=>n==null?void 0:n.includes(o)):t.some(o=>n==null?void 0:n.includes(o))},au=({baseUrl:e,accessWith:t,requireAll:r,children:n})=>bo(e)(t,r)?Te.jsx(Te.Fragment,{children:n}):null;exports.AuthProvider=Ic;exports.HasPermission=au;exports.getAxiosInstance=Fc;exports.getUseHasPermission=bo;exports.useAuth=jc;exports.useGetPermission=go;exports.useUser=iu;
@@ -0,0 +1,4 @@
1
+ export * from './AuthProvider';
2
+ export * from './interceptor';
3
+ export * from './hooks';
4
+ export * from './permissions';