@reltio/authoring 1.4.1621
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle.js +75 -0
- package/bundle.js.LICENSE.txt +39 -0
- package/package.json +13 -0
package/bundle.js
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/*! For license information please see bundle.js.LICENSE.txt */
|
|
2
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("mdm-module"),require("prop-types"),require("react"),require("react-dom"),require("react-redux"),require("ui-i18n"));else if("function"==typeof define&&define.amd)define(["mdm-module","prop-types","react","react-dom","react-redux","ui-i18n"],t);else{var r="object"==typeof exports?t(require("mdm-module"),require("prop-types"),require("react"),require("react-dom"),require("react-redux"),require("ui-i18n")):t(e["mdm-module"],e["prop-types"],e.react,e["react-dom"],e["react-redux"],e["ui-i18n"]);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(self,(function(e,t,r,n,o,i){return(()=>{var a={9396:(e,t,r)=>{"use strict";r.d(t,{T:()=>s,w:()=>a});var n=r(8156),o=r(5635),i=(r(4422),r(2668),n.createContext("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null));i.Provider;var a=function(e){return(0,n.forwardRef)((function(t,r){var o=(0,n.useContext)(i);return e(t,o,r)}))},s=n.createContext({})},5635:(e,t,r)=>{"use strict";r.d(t,{Z:()=>re});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(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]}(t);try{r.insertRule(e,r.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),o=Math.abs,i=String.fromCharCode,a=Object.assign;function s(e){return e.trim()}function l(e,t,r){return e.replace(t,r)}function c(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function p(e,t,r){return e.slice(t,r)}function d(e){return e.length}function f(e){return e.length}function h(e,t){return t.push(e),e}var m=1,y=1,g=0,v=0,b=0,x="";function w(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:m,column:y,length:a,return:""}}function k(e,t){return a(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function S(){return b=v>0?u(x,--v):0,y--,10===b&&(y=1,m--),b}function Z(){return b=v<g?u(x,v++):0,y++,10===b&&(y=1,m++),b}function P(){return u(x,v)}function R(){return v}function E(e,t){return p(x,e,t)}function O(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 C(e){return m=y=1,g=d(x=e),v=0,[]}function T(e){return x="",e}function A(e){return s(E(v-1,$(91===e?e+2:40===e?e+1:e)))}function M(e){for(;(b=P())&&b<33;)Z();return O(e)>2||O(b)>3?"":" "}function j(e,t){for(;--t&&Z()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return E(e,R()+(t<6&&32==P()&&32==Z()))}function $(e){for(;Z();)switch(b){case e:return v;case 34:case 39:34!==e&&39!==e&&$(b);break;case 40:41===e&&$(e);break;case 92:Z()}return v}function N(e,t){for(;Z()&&e+b!==57&&(e+b!==84||47!==P()););return"/*"+E(t,v-1)+"*"+i(47===e?e:Z())}function I(e){for(;!O(P());)Z();return E(e,v)}var B="-ms-",L="-webkit-",D="comm",W="rule",_="decl",F="@keyframes";function z(e,t){for(var r="",n=f(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function q(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case _:return e.return=e.return||e.value;case D:return"";case F:return e.return=e.value+"{"+z(e.children,n)+"}";case W:e.value=e.props.join(",")}return d(r=z(e.children,n))?e.return=e.value+"{"+r+"}":""}function V(e){return T(H("",null,null,null,[""],e=C(e),0,[0],e))}function H(e,t,r,n,o,a,s,p,f){for(var m=0,y=0,g=s,v=0,b=0,x=0,w=1,k=1,E=1,O=0,C="",T=o,$=a,B=n,L=C;k;)switch(x=O,O=Z()){case 40:if(108!=x&&58==u(L,g-1)){-1!=c(L+=l(A(O),"&","&\f"),"&\f")&&(E=-1);break}case 34:case 39:case 91:L+=A(O);break;case 9:case 10:case 13:case 32:L+=M(x);break;case 92:L+=j(R()-1,7);continue;case 47:switch(P()){case 42:case 47:h(G(N(Z(),R()),t,r),f);break;default:L+="/"}break;case 123*w:p[m++]=d(L)*E;case 125*w:case 59:case 0:switch(O){case 0:case 125:k=0;case 59+y:-1==E&&(L=l(L,/\f/g,"")),b>0&&d(L)-g&&h(b>32?U(L+";",n,r,g-1):U(l(L," ","")+";",n,r,g-2),f);break;case 59:L+=";";default:if(h(B=K(L,t,r,m,y,o,p,C,T=[],$=[],g),a),123===O)if(0===y)H(L,t,B,B,T,a,g,p,$);else switch(99===v&&110===u(L,3)?100:v){case 100:case 108:case 109:case 115:H(e,B,B,n&&h(K(e,B,B,0,0,o,p,C,o,T=[],g),$),o,$,g,p,n?T:$);break;default:H(L,B,B,B,[""],$,0,p,$)}}m=y=b=0,w=E=1,C=L="",g=s;break;case 58:g=1+d(L),b=x;default:if(w<1)if(123==O)--w;else if(125==O&&0==w++&&125==S())continue;switch(L+=i(O),O*w){case 38:E=y>0?1:(L+="\f",-1);break;case 44:p[m++]=(d(L)-1)*E,E=1;break;case 64:45===P()&&(L+=A(Z())),v=P(),y=g=d(C=L+=I(R())),O++;break;case 45:45===x&&2==d(L)&&(w=0)}}return a}function K(e,t,r,n,i,a,c,u,d,h,m){for(var y=i-1,g=0===i?a:[""],v=f(g),b=0,x=0,k=0;b<n;++b)for(var S=0,Z=p(e,y+1,y=o(x=c[b])),P=e;S<v;++S)(P=s(x>0?g[S]+" "+Z:l(Z,/&\f/g,g[S])))&&(d[k++]=P);return w(e,t,r,0===i?W:u,d,h,m)}function G(e,t,r){return w(e,t,r,D,i(b),p(e,2,-2),0)}function U(e,t,r,n){return w(e,t,r,_,p(e,0,n),p(e,n+1,-1),n)}var X=function(e,t,r){for(var n=0,o=0;n=o,o=P(),38===n&&12===o&&(t[r]=1),!O(o);)Z();return E(e,v)},Y=new WeakMap,J=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Y.get(r))&&!n){Y.set(e,!0);for(var o=[],a=function(e,t){return T(function(e,t){var r=-1,n=44;do{switch(O(n)){case 0:38===n&&12===P()&&(t[r]=1),e[r]+=X(v-1,t,r);break;case 2:e[r]+=A(n);break;case 4:if(44===n){e[++r]=58===P()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=i(n)}}while(n=Z());return e}(C(e),t))}(t,o),s=r.props,l=0,c=0;l<a.length;l++)for(var u=0;u<s.length;u++,c++)e.props[c]=o[l]?a[l].replace(/&\f/g,s[u]):s[u]+" "+a[l]}}},Q=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ee(e,t){switch(function(e,t){return 45^u(e,0)?(((t<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3):0}(e,t)){case 5103:return"-webkit-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 L+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return L+e+"-moz-"+e+B+e+e;case 6828:case 4268:return L+e+B+e+e;case 6165:return L+e+B+"flex-"+e+e;case 5187:return L+e+l(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return L+e+B+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return L+e+B+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return L+e+B+l(e,"shrink","negative")+e;case 5292:return L+e+B+l(e,"basis","preferred-size")+e;case 6060:return"-webkit-box-"+l(e,"-grow","")+L+e+B+l(e,"grow","positive")+e;case 4554:return L+l(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,"-webkit-$1"),/(image-set)/,"-webkit-$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,"-webkit-$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+L+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,"-webkit-$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(d(e)-1-t>6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1-moz-"+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?ee(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,d(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":-webkit-")+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1-webkit-"+(45===u(e,14)?"inline-":"")+"box$3$1-webkit-$2$3$1-ms-$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return L+e+B+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return L+e+B+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return L+e+B+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return L+e+B+e+e}return e}var te=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case _:e.return=ee(e.value,e.length);break;case F:return z([k(e,{value:l(e.value,"@","@-webkit-")})],n);case W:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return z([k(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return z([k(e,{props:[l(t,/:(plac\w+)/,":-webkit-input-$1")]}),k(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),k(e,{props:[l(t,/:(plac\w+)/,"-ms-input-$1")]})],n)}return""}))}}],re=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o,i,a=e.stylisPlugins||te,s={},l=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)s[t[r]]=!0;l.push(e)}));var c,u,p,d,h=[q,(d=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],m=(u=[J,Q].concat(a,h),p=f(u),function(e,t,r,n){for(var o="",i=0;i<p;i++)o+=u[i](e,t,r,n)||"";return o});i=function(e,t,r,n){c=r,z(V(e?e+"{"+t.styles+"}":t.styles),m),n&&(y.inserted[t.name]=!0)};var y={key:t,sheet:new n({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:i};return y.sheet.hydrate(l),y}},4422:(e,t,r)=>{"use strict";r.d(t,{O:()=>h});var n={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};function o(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var i=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!=typeof e},c=o((function(e){return s(e)?e:e.replace(i,"-$&").toLowerCase()})),u=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(a,(function(e,t,r){return d={name:t,styles:r,next:d},t}))}return 1===n[e]||s(e)||"number"!=typeof t||0===t?t:t+"px"};function p(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return d={name:r.name,styles:r.styles,next:d},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)d={name:n.name,styles:n.styles,next:d},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=p(e,t,r[o])+";";else for(var i in r){var a=r[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?n+=i+"{"+t[a]+"}":l(a)&&(n+=c(i)+":"+u(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=p(e,t,a);switch(i){case"animation":case"animationName":n+=c(i)+":"+s+";";break;default:n+=i+"{"+s+"}"}}else for(var d=0;d<a.length;d++)l(a[d])&&(n+=c(i)+":"+u(i,a[d])+";")}return n}(e,t,r);case"function":if(void 0!==e){var o=d,i=r(e);return d=o,p(e,t,i)}}if(null==t)return r;var a=t[r];return void 0!==a?a:r}var d,f=/label:\s*([^\s;\n{]+)\s*(;|$)/g,h=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";d=void 0;var i=e[0];null==i||void 0===i.raw?(n=!1,o+=p(r,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=p(r,t,e[a]),n&&(o+=i[a]);f.lastIndex=0;for(var s,l="";null!==(s=f.exec(o));)l+="-"+s[1];var c=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:d}}},2668:(e,t,r)=>{"use strict";r.d(t,{L:()=>i});var n=r(8156),o=!!n.useInsertionEffect&&n.useInsertionEffect,i=o||function(e){return e()};o||n.useLayoutEffect},2679:(e,t,r)=>{"use strict";var n=r(1600);t.Z=void 0;var o=n(r(8671)),i=r(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");t.Z=a},8671:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n.createSvgIcon}});var n=r(1715)},5542:(e,t,r)=>{"use strict";r.d(t,{Z:()=>ce});var n=r(7896),o=r(1461),i=r(1512),a=r(8970),s=r(9411),l=r(9795),c=r(7450),u=r(7591);const p={black:"#000",white:"#fff"},d={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"},f="#f3e5f5",h="#ce93d8",m="#ba68c8",y="#ab47bc",g="#9c27b0",v="#7b1fa2",b="#e57373",x="#ef5350",w="#f44336",k="#d32f2f",S="#c62828",Z="#ffb74d",P="#ffa726",R="#ff9800",E="#f57c00",O="#e65100",C="#e3f2fd",T="#90caf9",A="#42a5f5",M="#1976d2",j="#1565c0",$="#4fc3f7",N="#29b6f6",I="#03a9f4",B="#0288d1",L="#01579b",D="#81c784",W="#66bb6a",_="#4caf50",F="#388e3c",z="#2e7d32",q="#1b5e20",V=["mode","contrastThreshold","tonalOffset"],H={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:p.white,default:p.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}},K={text:{primary:p.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:p.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 G(e,t,r,n){const o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,u.$n)(e.main,o):"dark"===t&&(e.dark=(0,u._j)(e.main,i)))}const U=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],X={textTransform:"uppercase"},Y='"Roboto", "Helvetica", "Arial", sans-serif';function J(e,t){const r="function"==typeof t?t(e):t,{fontFamily:i=Y,fontSize:s=14,fontWeightLight:l=300,fontWeightRegular:c=400,fontWeightMedium:u=500,fontWeightBold:p=700,htmlFontSize:d=16,allVariants:f,pxToRem:h}=r,m=(0,o.Z)(r,U),y=s/14,g=h||(e=>e/d*y+"rem"),v=(e,t,r,o,a)=>{return(0,n.Z)({fontFamily:i,fontWeight:e,fontSize:g(t),lineHeight:r},i===Y?{letterSpacing:(s=o/t,Math.round(1e5*s)/1e5+"em")}:{},a,f);var s},b={h1:v(l,96,1.167,-1.5),h2:v(l,60,1.2,-.5),h3:v(c,48,1.167,0),h4:v(c,34,1.235,.25),h5:v(c,24,1.334,0),h6:v(u,20,1.6,.15),subtitle1:v(c,16,1.75,.15),subtitle2:v(u,14,1.57,.1),body1:v(c,16,1.5,.15),body2:v(c,14,1.43,.15),button:v(u,14,1.75,.4,X),caption:v(c,12,1.66,.4),overline:v(c,12,2.66,1,X),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,a.Z)((0,n.Z)({htmlFontSize:d,pxToRem:g,fontFamily:i,fontSize:s,fontWeightLight:l,fontWeightRegular:c,fontWeightMedium:u,fontWeightBold:p},b),m,{clone:!1})}function Q(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const ee=["none",Q(0,2,1,-1,0,1,1,0,0,1,3,0),Q(0,3,1,-2,0,2,2,0,0,1,5,0),Q(0,3,3,-2,0,3,4,0,0,1,8,0),Q(0,2,4,-1,0,4,5,0,0,1,10,0),Q(0,3,5,-1,0,5,8,0,0,1,14,0),Q(0,3,5,-1,0,6,10,0,0,1,18,0),Q(0,4,5,-2,0,7,10,1,0,2,16,1),Q(0,5,5,-3,0,8,10,1,0,3,14,2),Q(0,5,6,-3,0,9,12,1,0,3,16,2),Q(0,6,6,-3,0,10,14,1,0,4,18,3),Q(0,6,7,-4,0,11,15,1,0,4,20,3),Q(0,7,8,-4,0,12,17,2,0,5,22,4),Q(0,7,8,-4,0,13,19,2,0,5,24,4),Q(0,7,9,-4,0,14,21,2,0,5,26,4),Q(0,8,9,-5,0,15,22,2,0,6,28,5),Q(0,8,10,-5,0,16,24,2,0,6,30,5),Q(0,8,11,-5,0,17,26,2,0,6,32,5),Q(0,9,11,-5,0,18,28,2,0,7,34,6),Q(0,9,12,-6,0,19,29,2,0,7,36,6),Q(0,10,13,-6,0,20,31,3,0,8,38,7),Q(0,10,13,-6,0,21,33,3,0,8,40,7),Q(0,10,14,-6,0,22,35,3,0,8,42,7),Q(0,11,14,-7,0,23,36,3,0,9,44,8),Q(0,11,15,-7,0,24,38,3,0,9,46,8)],te=["duration","easing","delay"],re={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)"},ne={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function oe(e){return`${Math.round(e)}ms`}function ie(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function ae(e){const t=(0,n.Z)({},re,e.easing),r=(0,n.Z)({},ne,e.duration);return(0,n.Z)({getAutoHeightDuration:ie,create:(e=["all"],n={})=>{const{duration:i=r.standard,easing:a=t.easeInOut,delay:s=0}=n;return(0,o.Z)(n,te),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof i?i:oe(i)} ${a} ${"string"==typeof s?s:oe(s)}`)).join(",")}},e,{easing:t,duration:r})}const se={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},le=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const ce=function(e={},...t){const{mixins:r={},palette:U={},transitions:X={},typography:Y={}}=e,Q=(0,o.Z)(e,le);if(e.vars)throw new Error((0,i.Z)(18));const te=function(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:s=.2}=e,l=(0,o.Z)(e,V),c=e.primary||function(e="light"){return"dark"===e?{main:T,light:C,dark:A}:{main:M,light:A,dark:j}}(t),U=e.secondary||function(e="light"){return"dark"===e?{main:h,light:f,dark:y}:{main:g,light:m,dark:v}}(t),X=e.error||function(e="light"){return"dark"===e?{main:w,light:b,dark:k}:{main:k,light:x,dark:S}}(t),Y=e.info||function(e="light"){return"dark"===e?{main:N,light:$,dark:B}:{main:B,light:I,dark:L}}(t),J=e.success||function(e="light"){return"dark"===e?{main:W,light:D,dark:F}:{main:z,light:_,dark:q}}(t),Q=e.warning||function(e="light"){return"dark"===e?{main:P,light:Z,dark:E}:{main:"#ed6c02",light:R,dark:O}}(t);function ee(e){return(0,u.mi)(e,K.text.primary)>=r?K.text.primary:H.text.primary}const te=({color:e,name:t,mainShade:r=500,lightShade:o=300,darkShade:a=700})=>{if(!(e=(0,n.Z)({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error((0,i.Z)(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error((0,i.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return G(e,"light",o,s),G(e,"dark",a,s),e.contrastText||(e.contrastText=ee(e.main)),e},re={dark:K,light:H};return(0,a.Z)((0,n.Z)({common:(0,n.Z)({},p),mode:t,primary:te({color:c,name:"primary"}),secondary:te({color:U,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:te({color:X,name:"error"}),warning:te({color:Q,name:"warning"}),info:te({color:Y,name:"info"}),success:te({color:J,name:"success"}),grey:d,contrastThreshold:r,getContrastText:ee,augmentColor:te,tonalOffset:s},re[t]),l)}(U),re=(0,s.Z)(e);let ne=(0,a.Z)(re,{mixins:(oe=re.breakpoints,ie=r,(0,n.Z)({toolbar:{minHeight:56,[oe.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[oe.up("sm")]:{minHeight:64}}},ie)),palette:te,shadows:ee.slice(),typography:J(te,Y),transitions:ae(X),zIndex:(0,n.Z)({},se)});var oe,ie;return ne=(0,a.Z)(ne,Q),ne=t.reduce(((e,t)=>(0,a.Z)(e,t)),ne),ne.unstable_sxConfig=(0,n.Z)({},l.Z,null==Q?void 0:Q.unstable_sxConfig),ne.unstable_sx=function(e){return(0,c.Z)({sx:e,theme:this})},ne}()},6912:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n="$$material"},3834:(e,t,r)=>{"use strict";r.d(t,{ZP:()=>F});var n=r(1461),o=r(7896),i=r(8156);function a(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var s=/^((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)-.*))$/,l=a((function(e){return s.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),c=r(9396);function u(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var p=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},d={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},f=/[A-Z]|^ms/g,h=/_EMO_([^_]+?)_([^]*?)_EMO_/g,m=function(e){return 45===e.charCodeAt(1)},y=function(e){return null!=e&&"boolean"!=typeof e},g=a((function(e){return m(e)?e:e.replace(f,"-$&").toLowerCase()})),v=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(h,(function(e,t,r){return x={name:t,styles:r,next:x},t}))}return 1===d[e]||m(e)||"number"!=typeof t||0===t?t:t+"px"};function b(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return x={name:r.name,styles:r.styles,next:x},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)x={name:n.name,styles:n.styles,next:x},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=b(e,t,r[o])+";";else for(var i in r){var a=r[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?n+=i+"{"+t[a]+"}":y(a)&&(n+=g(i)+":"+v(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=b(e,t,a);switch(i){case"animation":case"animationName":n+=g(i)+":"+s+";";break;default:n+=i+"{"+s+"}"}}else for(var l=0;l<a.length;l++)y(a[l])&&(n+=g(i)+":"+v(i,a[l])+";")}return n}(e,t,r);case"function":if(void 0!==e){var o=x,i=r(e);return x=o,b(e,t,i)}}if(null==t)return r;var a=t[r];return void 0!==a?a:r}var x,w=/label:\s*([^\s;\n{]+)\s*(;|$)/g,k=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";x=void 0;var i=e[0];null==i||void 0===i.raw?(n=!1,o+=b(r,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=b(r,t,e[a]),n&&(o+=i[a]);w.lastIndex=0;for(var s,l="";null!==(s=w.exec(o));)l+="-"+s[1];var c=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:x}},S=r(2668),Z=l,P=function(e){return"theme"!==e},R=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Z:P},E=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},O=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return p(t,r,n),(0,S.L)((function(){return function(e,t,r){p(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,r,n)})),null},C=function e(t,r){var n,a,s=t.__emotion_real===t,l=s&&t.__emotion_base||t;void 0!==r&&(n=r.label,a=r.target);var p=E(t,r,s),d=p||R(l),f=!d("as");return function(){var h=arguments,m=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&m.push("label:"+n+";"),null==h[0]||void 0===h[0].raw)m.push.apply(m,h);else{m.push(h[0][0]);for(var y=h.length,g=1;g<y;g++)m.push(h[g],h[0][g])}var v=(0,c.w)((function(e,t,r){var n=f&&e.as||l,o="",s=[],h=e;if(null==e.theme){for(var y in h={},e)h[y]=e[y];h.theme=i.useContext(c.T)}"string"==typeof e.className?o=u(t.registered,s,e.className):null!=e.className&&(o=e.className+" ");var g=k(m.concat(s),t.registered,h);o+=t.key+"-"+g.name,void 0!==a&&(o+=" "+a);var v=f&&void 0===p?R(n):d,b={};for(var x in e)f&&"as"===x||v(x)&&(b[x]=e[x]);return b.className=o,b.ref=r,i.createElement(i.Fragment,null,i.createElement(O,{cache:t,serialized:g,isStringTag:"string"==typeof n}),i.createElement(n,b))}));return v.displayName=void 0!==n?n:"Styled("+("string"==typeof l?l:l.displayName||l.name||"Component")+")",v.defaultProps=t.defaultProps,v.__emotion_real=v,v.__emotion_base=l,v.__emotion_styles=m,v.__emotion_forwardProp=p,Object.defineProperty(v,"toString",{value:function(){return"."+a}}),v.withComponent=function(t,n){return e(t,(0,o.Z)({},r,n,{shouldForwardProp:E(v,n,!0)})).apply(void 0,m)},v}}.bind();["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"].forEach((function(e){C[e]=C(e)}));var T=r(9411),A=r(1290);const M=["variant"];function j(e){return 0===e.length}function $(e){const{variant:t}=e,r=(0,n.Z)(e,M);let o=t||"";return Object.keys(r).sort().forEach((t=>{o+="color"===t?j(o)?e[t]:(0,A.Z)(e[t]):`${j(o)?t:(0,A.Z)(t)}${(0,A.Z)(e[t].toString())}`})),o}var N=r(7450);const I=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function B(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const L=(0,T.Z)();function D({defaultTheme:e,theme:t,themeId:r}){return n=t,0===Object.keys(n).length?e:t[r]||t;var n}var W=r(5542);const _=function(e={}){const{themeId:t,defaultTheme:r=L,rootShouldForwardProp:i=B,slotShouldForwardProp:a=B}=e,s=e=>(0,N.Z)((0,o.Z)({},e,{theme:D((0,o.Z)({},e,{defaultTheme:r,themeId:t}))}));return s.__mui_systemSx=!0,(e,l={})=>{((e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=e.__emotion_styles.filter((e=>!(null!=e&&e.__mui_systemSx))))})(e);const{name:c,slot:u,skipVariantsResolver:p,skipSx:d,overridesResolver:f}=l,h=(0,n.Z)(l,I),m=void 0!==p?p:u&&"Root"!==u||!1,y=d||!1;let g=B;"Root"===u?g=i:u?g=a:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(g=void 0);const v=function(e,t){return C(e,t)}(e,(0,o.Z)({shouldForwardProp:g,label:void 0},h)),b=(n,...i)=>{const a=i?i.map((e=>"function"==typeof e&&e.__emotion_real!==e?n=>e((0,o.Z)({},n,{theme:D((0,o.Z)({},n,{defaultTheme:r,themeId:t}))})):e)):[];let l=n;c&&f&&a.push((e=>{const n=D((0,o.Z)({},e,{defaultTheme:r,themeId:t})),i=((e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null)(c,n);if(i){const t={};return Object.entries(i).forEach((([r,i])=>{t[r]="function"==typeof i?i((0,o.Z)({},e,{theme:n})):i})),f(e,t)}return null})),c&&!m&&a.push((e=>{const n=D((0,o.Z)({},e,{defaultTheme:r,themeId:t}));return((e,t,r,n)=>{var o,i;const{ownerState:a={}}=e,s=[],l=null==r||null==(o=r.components)||null==(i=o[n])?void 0:i.variants;return l&&l.forEach((r=>{let n=!0;Object.keys(r.props).forEach((t=>{a[t]!==r.props[t]&&e[t]!==r.props[t]&&(n=!1)})),n&&s.push(t[$(r.props)])})),s})(e,((e,t)=>{let r=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(r=t.components[e].variants);const n={};return r.forEach((e=>{const t=$(e.props);n[t]=e.style})),n})(c,n),n,c)})),y||a.push(s);const u=a.length-i.length;if(Array.isArray(n)&&u>0){const e=new Array(u).fill("");l=[...n,...e],l.raw=[...n.raw,...e]}else"function"==typeof n&&n.__emotion_real!==n&&(l=e=>n((0,o.Z)({},e,{theme:D((0,o.Z)({},e,{defaultTheme:r,themeId:t}))})));const p=v(l,...a);return e.muiName&&(p.muiName=e.muiName),p};return v.withConfig&&(b.withConfig=v.withConfig),b}}({themeId:r(6912).Z,defaultTheme:W.Z,rootShouldForwardProp:e=>B(e)&&"classes"!==e}),F=_},2046:(e,t,r)=>{"use strict";function n(e,t){const r={...t};return Object.keys(e).forEach((o=>{if(o.toString().match(/^(components|slots)$/))r[o]={...e[o],...r[o]};else if(o.toString().match(/^(componentsProps|slotProps)$/)){const i=e[o]||{},a=t[o];r[o]={},a&&Object.keys(a)?i&&Object.keys(i)?(r[o]={...a},Object.keys(i).forEach((e=>{r[o][e]=n(i[e],a[e])}))):r[o]=a:r[o]=i}else void 0===r[o]&&(r[o]=e[o])})),r}function o(e){const{theme:t,name:r,props:o}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?n(t.components[r].defaultProps,o):o}r.d(t,{Z:()=>l});var i=r(6933),a=r(5542),s=r(6912);function l({props:e,name:t}){return function({props:e,name:t,defaultTheme:r,themeId:n}){let a=(0,i.Z)(r);return n&&(a=a[n]||a),o({theme:a,name:t,props:e})}({props:e,name:t,defaultTheme:a.Z,themeId:s.Z})}},7342:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=r(1290).Z},1715:(e,t,r)=>{"use strict";r.r(t),r.d(t,{capitalize:()=>o.Z,createChainedFunction:()=>i,createSvgIcon:()=>w,debounce:()=>k,deprecatedPropType:()=>S,isMuiElement:()=>Z,ownerDocument:()=>P,ownerWindow:()=>R,requirePropFactory:()=>E,setRef:()=>O,unstable_ClassNameGenerator:()=>I,unstable_useEnhancedEffect:()=>C,unstable_useId:()=>T.Z,unsupportedProp:()=>A,useControlled:()=>M.Z,useEventCallback:()=>j.Z,useForkRef:()=>$.Z,useIsFocusVisible:()=>N.Z});var n=r(8542),o=r(7342);const i=r(8419).Z;var a=r(7896),s=r(8156),l=r(1461),c=(r(5099),r(6277)),u=r(9075),p=r(2046),d=r(3834),f=r(9222),h=r(5672);function m(e){return(0,h.Z)("MuiSvgIcon",e)}(0,f.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var y=r(2322);const g=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],v=(0,d.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${(0,o.Z)(r.color)}`],t[`fontSize${(0,o.Z)(r.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var r,n,o,i,a,s,l,c,u,p,d,f,h,m,y,g,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:null==(r=e.transitions)||null==(n=r.create)?void 0:n.call(r,"fill",{duration:null==(o=e.transitions)||null==(i=o.duration)?void 0:i.shorter}),fontSize:{inherit:"inherit",small:(null==(a=e.typography)||null==(s=a.pxToRem)?void 0:s.call(a,20))||"1.25rem",medium:(null==(l=e.typography)||null==(c=l.pxToRem)?void 0:c.call(l,24))||"1.5rem",large:(null==(u=e.typography)||null==(p=u.pxToRem)?void 0:p.call(u,35))||"2.1875rem"}[t.fontSize],color:null!=(d=null==(f=(e.vars||e).palette)||null==(h=f[t.color])?void 0:h.main)?d:{action:null==(m=(e.vars||e).palette)||null==(y=m.action)?void 0:y.active,disabled:null==(g=(e.vars||e).palette)||null==(v=g.action)?void 0:v.disabled,inherit:void 0}[t.color]}})),b=s.forwardRef((function(e,t){const r=(0,p.Z)({props:e,name:"MuiSvgIcon"}),{children:n,className:i,color:s="inherit",component:d="svg",fontSize:f="medium",htmlColor:h,inheritViewBox:b=!1,titleAccess:x,viewBox:w="0 0 24 24"}=r,k=(0,l.Z)(r,g),S=(0,a.Z)({},r,{color:s,component:d,fontSize:f,instanceFontSize:e.fontSize,inheritViewBox:b,viewBox:w}),Z={};b||(Z.viewBox=w);const P=(e=>{const{color:t,fontSize:r,classes:n}=e,i={root:["root","inherit"!==t&&`color${(0,o.Z)(t)}`,`fontSize${(0,o.Z)(r)}`]};return(0,u.Z)(i,m,n)})(S);return(0,y.jsxs)(v,(0,a.Z)({as:d,className:(0,c.Z)(P.root,i),focusable:"false",color:h,"aria-hidden":!x||void 0,role:x?"img":void 0,ref:t},Z,k,{ownerState:S,children:[n,x?(0,y.jsx)("title",{children:x}):null]}))}));b.muiName="SvgIcon";const x=b;function w(e,t){function r(r,n){return(0,y.jsx)(x,(0,a.Z)({"data-testid":`${t}Icon`,ref:n},r,{children:e}))}return r.muiName=x.muiName,s.memo(s.forwardRef(r))}const k=function(e,t=166){let r;function n(...n){clearTimeout(r),r=setTimeout((()=>{e.apply(this,n)}),t)}return n.clear=()=>{clearTimeout(r)},n},S=function(e,t){return()=>null},Z=function(e,t){return s.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)},P=r(6855).Z,R=r(7270).Z,E=function(e,t){return()=>null},O=r(5377).Z,C=r(1399).Z;var T=r(5954);const A=function(e,t,r,n,o){return null};var M=r(5942),j=r(8647),$=r(8659),N=r(8926);const I={configure:e=>{n.Z.configure(e)}}},5942:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(8156);const o=function({controlled:e,default:t,name:r,state:o="value"}){const{current:i}=n.useRef(void 0!==e),[a,s]=n.useState(t);return[i?e:a,n.useCallback((e=>{i||s(e)}),[])]}},8647:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=r(7817).Z},8659:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=r(4501).Z},5954:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=r(3803).Z},8926:(e,t,r)=>{"use strict";r.d(t,{Z:()=>p});var n=r(8156);let o,i=!0,a=!1;const s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function l(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function c(){i=!1}function u(){"hidden"===this.visibilityState&&a&&(i=!0)}const p=function(){const e=n.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",l,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",u,!0))}),[]),t=n.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!function(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return i||function(e){const{type:t,tagName:r}=e;return!("INPUT"!==r||!s[t]||e.readOnly)||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,window.clearTimeout(o),o=window.setTimeout((()=>{a=!1}),100),t.current=!1,!0)},ref:e}}},9929:(e,t,r)=>{"use strict";r.d(t,{VO:()=>n,k9:()=>i,W8:()=>a,L7:()=>s}),r(5099);const n={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${n[e]}px)`};function i(e,t,r){const i=e.theme||{};if(Array.isArray(t)){const e=i.breakpoints||o;return t.reduce(((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n)),{})}if("object"==typeof t){const e=i.breakpoints||o;return Object.keys(t).reduce(((o,i)=>{if(-1!==Object.keys(e.values||n).indexOf(i))o[e.up(i)]=r(t[i],i);else{const e=i;o[e]=t[e]}return o}),{})}return r(t)}function a(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,r)=>(t[e.up(r)]={},t)),{}))||{}}function s(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}},7591:(e,t,r)=>{"use strict";r.d(t,{mi:()=>l,Fq:()=>c,_j:()=>u,$n:()=>p});var n=r(1512);function o(e,t=0,r=1){return Math.min(Math.max(t,e),r)}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,n.Z)(9,e));let o,a=e.substring(t+1,e.length-1);if("color"===r){if(a=a.split(" "),o=a.shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error((0,n.Z)(10,o))}else a=a.split(",");return a=a.map((e=>parseFloat(e))),{type:r,values:a,colorSpace:o}}function a(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function s(e){let t="hsl"===(e=i(e)).type||"hsla"===e.type?i(function(e){e=i(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,s=n*Math.min(o,1-o),l=(e,t=(e+r/30)%12)=>o-s*Math.max(Math.min(t-3,9-t,1),-1);let c="rgb";const u=[Math.round(255*l(0)),Math.round(255*l(8)),Math.round(255*l(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),a({type:c,values:u})}(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function l(e,t){const r=s(e),n=s(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function c(e,t){return e=i(e),t=o(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,a(e)}function u(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return a(e)}function p(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return a(e)}},9411:(e,t,r)=>{"use strict";r.d(t,{Z:()=>d});var n=r(7896),o=r(1461),i=r(8970);const a=["values","unit","step"];const s={borderRadius:4};var l=r(7649),c=r(7450),u=r(9795);const p=["breakpoints","palette","spacing","shape"],d=function(e={},...t){const{breakpoints:r={},palette:d={},spacing:f,shape:h={}}=e,m=(0,o.Z)(e,p),y=function(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:i=5}=e,s=(0,o.Z)(e,a),l=(e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>(0,n.Z)({},e,{[t.key]:t.val})),{})})(t),c=Object.keys(l);function u(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function p(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-i/100}${r})`}function d(e,n){const o=c.indexOf(n);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==o&&"number"==typeof t[c[o]]?t[c[o]]:n)-i/100}${r})`}return(0,n.Z)({keys:c,values:l,up:u,down:p,between:d,only:function(e){return c.indexOf(e)+1<c.length?d(e,c[c.indexOf(e)+1]):u(e)},not:function(e){const t=c.indexOf(e);return 0===t?u(c[1]):t===c.length-1?p(c[t]):d(e,c[c.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},s)}(r),g=function(e=8){if(e.mui)return e;const t=(0,l.hB)({spacing:e}),r=(...e)=>(0===e.length?[1]:e).map((e=>{const r=t(e);return"number"==typeof r?`${r}px`:r})).join(" ");return r.mui=!0,r}(f);let v=(0,i.Z)({breakpoints:y,direction:"ltr",components:{},palette:(0,n.Z)({mode:"light"},d),spacing:g,shape:(0,n.Z)({},s,h)},m);return v=t.reduce(((e,t)=>(0,i.Z)(e,t)),v),v.unstable_sxConfig=(0,n.Z)({},u.Z,null==m?void 0:m.unstable_sxConfig),v.unstable_sx=function(e){return(0,c.Z)({sx:e,theme:this})},v}},8329:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(8970);const o=function(e,t){return t?(0,n.Z)(e,t,{clone:!1}):e}},7649:(e,t,r)=>{"use strict";r.d(t,{hB:()=>h,eI:()=>f,NA:()=>m,e6:()=>g,o3:()=>v});var n=r(9929),o=r(2818),i=r(8329);const a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(e){const t={};return e=>(void 0===t[e]&&(t[e]=(e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}const[t,r]=e.split(""),n=a[t],o=s[r]||"";return Array.isArray(o)?o.map((e=>n+e)):[n+o]})(e)),t[e])}(),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],p=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],d=[...u,...p];function f(e,t,r,n){var i;const a=null!=(i=(0,o.DW)(e,t,!1))?i:r;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>{}}function h(e){return f(e,"spacing",8)}function m(e,t){if("string"==typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function y(e,t){const r=h(e.theme);return Object.keys(e).map((o=>function(e,t,r,o){if(-1===t.indexOf(r))return null;const i=function(e,t){return r=>e.reduce(((e,n)=>(e[n]=m(t,r),e)),{})}(c(r),o),a=e[r];return(0,n.k9)(e,a,i)}(e,t,o,r))).reduce(i.Z,{})}function g(e){return y(e,u)}function v(e){return y(e,p)}function b(e){return y(e,d)}g.propTypes={},g.filterProps=u,v.propTypes={},v.filterProps=p,b.propTypes={},b.filterProps=d},2818:(e,t,r)=>{"use strict";r.d(t,{DW:()=>i,Jq:()=>a,ZP:()=>s});var n=r(1290),o=r(9929);function i(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function a(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:i(e,r)||n,t&&(o=t(o,n,e)),o}const s=function(e){const{prop:t,cssProperty:r=e.prop,themeKey:s,transform:l}=e,c=e=>{if(null==e[t])return null;const c=e[t],u=i(e.theme,s)||{};return(0,o.k9)(e,c,(e=>{let o=a(u,l,e);return e===o&&"string"==typeof e&&(o=a(u,l,`${t}${"default"===e?"":(0,n.Z)(e)}`,e)),!1===r?o:{[r]:o}}))};return c.propTypes={},c.filterProps=[t],c}},9795:(e,t,r)=>{"use strict";r.d(t,{Z:()=>A});var n=r(7649),o=r(2818),i=r(8329);const a=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),r=e=>Object.keys(e).reduce(((r,n)=>t[n]?(0,i.Z)(r,t[n](e)):r),{});return r.propTypes={},r.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),r};var s=r(9929);function l(e){return"number"!=typeof e?e:`${e}px solid`}const c=(0,o.ZP)({prop:"border",themeKey:"borders",transform:l}),u=(0,o.ZP)({prop:"borderTop",themeKey:"borders",transform:l}),p=(0,o.ZP)({prop:"borderRight",themeKey:"borders",transform:l}),d=(0,o.ZP)({prop:"borderBottom",themeKey:"borders",transform:l}),f=(0,o.ZP)({prop:"borderLeft",themeKey:"borders",transform:l}),h=(0,o.ZP)({prop:"borderColor",themeKey:"palette"}),m=(0,o.ZP)({prop:"borderTopColor",themeKey:"palette"}),y=(0,o.ZP)({prop:"borderRightColor",themeKey:"palette"}),g=(0,o.ZP)({prop:"borderBottomColor",themeKey:"palette"}),v=(0,o.ZP)({prop:"borderLeftColor",themeKey:"palette"}),b=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,n.eI)(e.theme,"shape.borderRadius",4,"borderRadius"),r=e=>({borderRadius:(0,n.NA)(t,e)});return(0,s.k9)(e,e.borderRadius,r)}return null};b.propTypes={},b.filterProps=["borderRadius"],a(c,u,p,d,f,h,m,y,g,v,b);const x=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,n.eI)(e.theme,"spacing",8,"gap"),r=e=>({gap:(0,n.NA)(t,e)});return(0,s.k9)(e,e.gap,r)}return null};x.propTypes={},x.filterProps=["gap"];const w=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,n.eI)(e.theme,"spacing",8,"columnGap"),r=e=>({columnGap:(0,n.NA)(t,e)});return(0,s.k9)(e,e.columnGap,r)}return null};w.propTypes={},w.filterProps=["columnGap"];const k=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,n.eI)(e.theme,"spacing",8,"rowGap"),r=e=>({rowGap:(0,n.NA)(t,e)});return(0,s.k9)(e,e.rowGap,r)}return null};function S(e,t){return"grey"===t?t:e}function Z(e){return e<=1&&0!==e?100*e+"%":e}k.propTypes={},k.filterProps=["rowGap"],a(x,w,k,(0,o.ZP)({prop:"gridColumn"}),(0,o.ZP)({prop:"gridRow"}),(0,o.ZP)({prop:"gridAutoFlow"}),(0,o.ZP)({prop:"gridAutoColumns"}),(0,o.ZP)({prop:"gridAutoRows"}),(0,o.ZP)({prop:"gridTemplateColumns"}),(0,o.ZP)({prop:"gridTemplateRows"}),(0,o.ZP)({prop:"gridTemplateAreas"}),(0,o.ZP)({prop:"gridArea"})),a((0,o.ZP)({prop:"color",themeKey:"palette",transform:S}),(0,o.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:S}),(0,o.ZP)({prop:"backgroundColor",themeKey:"palette",transform:S}));const P=(0,o.ZP)({prop:"width",transform:Z}),R=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n,o;return{maxWidth:(null==(r=e.theme)||null==(n=r.breakpoints)||null==(o=n.values)?void 0:o[t])||s.VO[t]||Z(t)}};return(0,s.k9)(e,e.maxWidth,t)}return null};R.filterProps=["maxWidth"];const E=(0,o.ZP)({prop:"minWidth",transform:Z}),O=(0,o.ZP)({prop:"height",transform:Z}),C=(0,o.ZP)({prop:"maxHeight",transform:Z}),T=(0,o.ZP)({prop:"minHeight",transform:Z}),A=((0,o.ZP)({prop:"size",cssProperty:"width",transform:Z}),(0,o.ZP)({prop:"size",cssProperty:"height",transform:Z}),a(P,R,E,O,C,T,(0,o.ZP)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:b},color:{themeKey:"palette",transform:S},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:S},backgroundColor:{themeKey:"palette",transform:S},p:{style:n.o3},pt:{style:n.o3},pr:{style:n.o3},pb:{style:n.o3},pl:{style:n.o3},px:{style:n.o3},py:{style:n.o3},padding:{style:n.o3},paddingTop:{style:n.o3},paddingRight:{style:n.o3},paddingBottom:{style:n.o3},paddingLeft:{style:n.o3},paddingX:{style:n.o3},paddingY:{style:n.o3},paddingInline:{style:n.o3},paddingInlineStart:{style:n.o3},paddingInlineEnd:{style:n.o3},paddingBlock:{style:n.o3},paddingBlockStart:{style:n.o3},paddingBlockEnd:{style:n.o3},m:{style:n.e6},mt:{style:n.e6},mr:{style:n.e6},mb:{style:n.e6},ml:{style:n.e6},mx:{style:n.e6},my:{style:n.e6},margin:{style:n.e6},marginTop:{style:n.e6},marginRight:{style:n.e6},marginBottom:{style:n.e6},marginLeft:{style:n.e6},marginX:{style:n.e6},marginY:{style:n.e6},marginInline:{style:n.e6},marginInlineStart:{style:n.e6},marginInlineEnd:{style:n.e6},marginBlock:{style:n.e6},marginBlockStart:{style:n.e6},marginBlockEnd:{style:n.e6},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:x},rowGap:{style:k},columnGap:{style:w},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Z},maxWidth:{style:R},minWidth:{transform:Z},height:{transform:Z},maxHeight:{transform:Z},minHeight:{transform:Z},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},7450:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(1290),o=r(8329),i=r(2818),a=r(9929),s=r(9795);const l=function(){function e(e,t,r,o){const s={[e]:t,theme:r},l=o[e];if(!l)return{[e]:t};const{cssProperty:c=e,themeKey:u,transform:p,style:d}=l;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};const f=(0,i.DW)(r,u)||{};return d?d(s):(0,a.k9)(s,t,(t=>{let r=(0,i.Jq)(f,p,t);return t===r&&"string"==typeof t&&(r=(0,i.Jq)(f,p,`${e}${"default"===t?"":(0,n.Z)(t)}`,t)),!1===c?r:{[c]:r}}))}return function t(r){var n;const{sx:i,theme:l={}}=r||{};if(!i)return null;const c=null!=(n=l.unstable_sxConfig)?n:s.Z;function u(r){let n=r;if("function"==typeof r)n=r(l);else if("object"!=typeof r)return r;if(!n)return null;const i=(0,a.W8)(l.breakpoints),s=Object.keys(i);let u=i;return Object.keys(n).forEach((r=>{const i="function"==typeof(s=n[r])?s(l):s;var s;if(null!=i)if("object"==typeof i)if(c[r])u=(0,o.Z)(u,e(r,i,l,c));else{const e=(0,a.k9)({theme:l},i,(e=>({[r]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),r=new Set(t);return e.every((e=>r.size===Object.keys(e).length))}(e,i)?u=(0,o.Z)(u,e):u[r]=t({sx:i,theme:l})}else u=(0,o.Z)(u,e(r,i,l,c))})),(0,a.L7)(s,u)}return Array.isArray(i)?i.map(u):u(i)}}();l.filterProps=["sx"];const c=l},6933:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(9411),o=r(8457);const i=(0,n.Z)(),a=function(e=i){return(0,o.Z)(e)}},8457:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(8156),o=r(9396);const i=function(e=null){const t=n.useContext(o.T);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r}},8542:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});const n=e=>e,o=(()=>{let e=n;return{configure(t){e=t},generate:t=>e(t),reset(){e=n}}})()},1290:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(1512);function o(e){if("string"!=typeof e)throw new Error((0,n.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},9075:(e,t,r)=>{"use strict";function n(e,t,r){const n={};return Object.keys(e).forEach((o=>{n[o]=e[o].reduce(((e,n)=>{if(n){const o=t(n);""!==o&&e.push(o),r&&r[n]&&e.push(r[n])}return e}),[]).join(" ")})),n}r.d(t,{Z:()=>n})},8419:(e,t,r)=>{"use strict";function n(...e){return e.reduce(((e,t)=>null==t?e:function(...r){e.apply(this,r),t.apply(this,r)}),(()=>{}))}r.d(t,{Z:()=>n})},8970:(e,t,r)=>{"use strict";function n(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function o(e){if(!n(e))return e;const t={};return Object.keys(e).forEach((r=>{t[r]=o(e[r])})),t}function i(e,t,r={clone:!0}){const a=r.clone?{...e}:e;return n(e)&&n(t)&&Object.keys(t).forEach((s=>{"__proto__"!==s&&(n(t[s])&&s in e&&n(e[s])?a[s]=i(e[s],t[s],r):r.clone?a[s]=n(t[s])?o(t[s]):t[s]:a[s]=t[s])})),a}r.d(t,{P:()=>n,Z:()=>i})},1512:(e,t,r)=>{"use strict";function n(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}r.d(t,{Z:()=>n})},5672:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(8542);const o={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function i(e,t,r="Mui"){const i=o[t];return i?`${r}-${i}`:`${n.Z.generate(e)}-${t}`}},9222:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(5672);function o(e,t,r="Mui"){const o={};return t.forEach((t=>{o[t]=(0,n.Z)(e,t,r)})),o}},6855:(e,t,r)=>{"use strict";function n(e){return e&&e.ownerDocument||document}r.d(t,{Z:()=>n})},7270:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(6855);function o(e){return(0,n.Z)(e).defaultView||window}},5377:(e,t,r)=>{"use strict";function n(e,t){"function"==typeof e?e(t):e&&(e.current=t)}r.d(t,{Z:()=>n})},1399:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(8156);const o="undefined"!=typeof window?n.useLayoutEffect:n.useEffect},7817:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(8156),o=r(1399);function i(e){const t=n.useRef(e);return(0,o.Z)((()=>{t.current=e})),n.useCallback(((...e)=>(0,t.current)(...e)),[])}},4501:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(8156),o=r(5377);function i(...e){return n.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{(0,o.Z)(e,t)}))}),e)}},3803:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(8156);let o=0;const i=n["useId".toString()];function a(e){if(void 0!==i){const t=i();return null!=e?e:t}return function(e){const[t,r]=n.useState(e),i=e||t;return n.useEffect((()=>{null==t&&(o+=1,r(`mui-${o}`))}),[t]),i}(e)}},6277:(e,t,r)=>{"use strict";function n(e){var t,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=n(e[t]))&&(o&&(o+=" "),o+=r);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}r.d(t,{Z:()=>o});const o=function(){for(var e,t,r=0,o="";r<arguments.length;)(e=arguments[r++])&&(t=n(e))&&(o&&(o+=" "),o+=t);return o}},3463:(e,t,r)=>{"use strict";var n=r(8570),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=f(r);o&&o!==h&&e(t,o,n)}var a=u(r);p&&(a=a.concat(p(r)));for(var s=l(t),m=l(r),y=0;y<a.length;++y){var g=a[y];if(!(i[g]||n&&n[g]||m&&m[g]||s&&s[g])){var v=d(r,g);try{c(t,g,v)}catch(e){}}}}return t}},7320:e=>{"use strict";var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var a,s,l=o(e),c=1;c<arguments.length;c++){for(var u in a=Object(arguments[c]))r.call(a,u)&&(l[u]=a[u]);if(t){s=t(a);for(var p=0;p<s.length;p++)n.call(a,s[p])&&(l[s[p]]=a[s[p]])}}return l}},6866:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case p:case i:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case c:case d:case y:case m:case l:return e;default:return t}}case o:return t}}}function k(e){return w(e)===p}t.AsyncMode=u,t.ConcurrentMode=p,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=d,t.Fragment=i,t.Lazy=y,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return k(e)||w(e)===u},t.isConcurrentMode=k,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===y},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===s||e===a||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===v||e.$$typeof===b||e.$$typeof===x||e.$$typeof===g)},t.typeOf=w},8570:(e,t,r)=>{"use strict";e.exports=r(6866)},1837:(e,t,r)=>{"use strict";r(7320);var n=r(8156),o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),t.Fragment=i("react.fragment")}var a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,i={},c=null,u=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,n)&&!l.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:a.current}}t.jsx=c,t.jsxs=c},2322:(e,t,r)=>{"use strict";e.exports=r(1837)},2308:t=>{"use strict";t.exports=e},5099:e=>{"use strict";e.exports=t},8156:e=>{"use strict";e.exports=r},7111:e=>{"use strict";e.exports=n},4756:e=>{"use strict";e.exports=o},5751:e=>{"use strict";e.exports=i},1600:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},7896:(e,t,r)=>{"use strict";function n(){return n=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},n.apply(this,arguments)}r.d(t,{Z:()=>n})},1461:(e,t,r)=>{"use strict";function n(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}r.d(t,{Z:()=>n})}},s={};function l(e){var t=s[e];if(void 0!==t)return t.exports;var r=s[e]={exports:{}};return a[e](r,r.exports,l),r.exports}l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},l.d=(e,t)=>{for(var r in t)l.o(t,r)&&!l.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var c={};return(()=>{"use strict";l.r(c),l.d(c,{AuthoringView:()=>Ua});var e=l(8156),t=l.n(e),r=l(4756),n=l(1461),o=l(7896),i=l(5099),a=l.n(i),s=l(6277),u=l(9075),p=l(3803),d=l(7342),f=l(4501),h=l(6855),m=l(7817),y=l(8419),g=l(7111),v=l.n(g),b=l(1399),x=l(5377),w=l(2322);const k=e.forwardRef((function(t,r){const{children:n,container:o,disablePortal:i=!1}=t,[a,s]=e.useState(null),l=(0,f.Z)(e.isValidElement(n)?n.ref:null,r);if((0,b.Z)((()=>{i||s(function(e){return"function"==typeof e?e():e}(o)||document.body)}),[o,i]),(0,b.Z)((()=>{if(a&&!i)return(0,x.Z)(r,a),()=>{(0,x.Z)(r,null)}}),[r,a,i]),i){if(e.isValidElement(n)){const t={ref:l};return e.cloneElement(n,t)}return(0,w.jsx)(e.Fragment,{children:n})}return(0,w.jsx)(e.Fragment,{children:a?g.createPortal(n,a):a})}));var S=l(7270);function Z(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function P(e){return parseInt((0,S.Z)(e).getComputedStyle(e).paddingRight,10)||0}function R(e,t,r,n,o){const i=[t,r,...n];[].forEach.call(e.children,(e=>{const t=-1===i.indexOf(e),r=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),r="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||r}(e);t&&r&&Z(e,o)}))}function E(e,t){let r=-1;return e.some(((e,n)=>!!t(e)&&(r=n,!0))),r}const O=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function C(e){const t=[],r=[];return Array.from(e.querySelectorAll(O)).forEach(((e,n)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}(e))}(e)&&(0===o?t.push(e):r.push({documentOrder:n,tabIndex:o,node:e}))})),r.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function T(){return!0}const A=function(t){const{children:r,disableAutoFocus:n=!1,disableEnforceFocus:o=!1,disableRestoreFocus:i=!1,getTabbable:a=C,isEnabled:s=T,open:l}=t,c=e.useRef(!1),u=e.useRef(null),p=e.useRef(null),d=e.useRef(null),m=e.useRef(null),y=e.useRef(!1),g=e.useRef(null),v=(0,f.Z)(r.ref,g),b=e.useRef(null);e.useEffect((()=>{l&&g.current&&(y.current=!n)}),[n,l]),e.useEffect((()=>{if(!l||!g.current)return;const e=(0,h.Z)(g.current);return g.current.contains(e.activeElement)||(g.current.hasAttribute("tabIndex")||g.current.setAttribute("tabIndex","-1"),y.current&&g.current.focus()),()=>{i||(d.current&&d.current.focus&&(c.current=!0,d.current.focus()),d.current=null)}}),[l]),e.useEffect((()=>{if(!l||!g.current)return;const e=(0,h.Z)(g.current),t=t=>{const{current:r}=g;if(null!==r)if(e.hasFocus()&&!o&&s()&&!c.current){if(!r.contains(e.activeElement)){if(t&&m.current!==t.target||e.activeElement!==m.current)m.current=null;else if(null!==m.current)return;if(!y.current)return;let o=[];if(e.activeElement!==u.current&&e.activeElement!==p.current||(o=a(g.current)),o.length>0){var n,i;const e=Boolean((null==(n=b.current)?void 0:n.shiftKey)&&"Tab"===(null==(i=b.current)?void 0:i.key)),t=o[0],r=o[o.length-1];"string"!=typeof t&&"string"!=typeof r&&(e?r.focus():t.focus())}else r.focus()}}else c.current=!1},r=t=>{b.current=t,!o&&s()&&"Tab"===t.key&&e.activeElement===g.current&&t.shiftKey&&(c.current=!0,p.current&&p.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",r,!0);const n=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&t(null)}),50);return()=>{clearInterval(n),e.removeEventListener("focusin",t),e.removeEventListener("keydown",r,!0)}}),[n,o,i,s,l,a]);const x=e=>{null===d.current&&(d.current=e.relatedTarget),y.current=!0};return(0,w.jsxs)(e.Fragment,{children:[(0,w.jsx)("div",{tabIndex:l?0:-1,onFocus:x,ref:u,"data-testid":"sentinelStart"}),e.cloneElement(r,{ref:v,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),y.current=!0,m.current=e.target;const t=r.props.onFocus;t&&t(e)}}),(0,w.jsx)("div",{tabIndex:l?0:-1,onFocus:x,ref:p,"data-testid":"sentinelEnd"})]})};var M=l(9222),j=l(5672);function $(e){return(0,j.Z)("MuiModal",e)}function N(e){return"string"==typeof e}function I(e,t,r){return void 0===e||N(e)?t:(0,o.Z)({},t,{ownerState:(0,o.Z)({},t.ownerState,r)})}function B(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((r=>{t[r]=e[r]})),t}function L(e,t){return"function"==typeof e?e(t):e}(0,M.Z)("MuiModal",["root","hidden","backdrop"]);const D=["elementType","externalSlotProps","ownerState"];function W(e){var t;const{elementType:r,externalSlotProps:i,ownerState:a}=e,l=(0,n.Z)(e,D),c=L(i,a),{props:u,internalRef:p}=function(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:i,className:a}=e;if(!t){const e=(0,s.Z)(null==i?void 0:i.className,null==n?void 0:n.className,a,null==r?void 0:r.className),t=(0,o.Z)({},null==r?void 0:r.style,null==i?void 0:i.style,null==n?void 0:n.style),l=(0,o.Z)({},r,i,n);return e.length>0&&(l.className=e),Object.keys(t).length>0&&(l.style=t),{props:l,internalRef:void 0}}const l=function(e,t=[]){if(void 0===e)return{};const r={};return Object.keys(e).filter((r=>r.match(/^on[A-Z]/)&&"function"==typeof e[r]&&!t.includes(r))).forEach((t=>{r[t]=e[t]})),r}((0,o.Z)({},i,n)),c=B(n),u=B(i),p=t(l),d=(0,s.Z)(null==p?void 0:p.className,null==r?void 0:r.className,a,null==i?void 0:i.className,null==n?void 0:n.className),f=(0,o.Z)({},null==p?void 0:p.style,null==r?void 0:r.style,null==i?void 0:i.style,null==n?void 0:n.style),h=(0,o.Z)({},p,r,u,c);return d.length>0&&(h.className=d),Object.keys(f).length>0&&(h.style=f),{props:h,internalRef:p.ref}}((0,o.Z)({},l,{externalSlotProps:c})),d=(0,f.Z)(p,null==c?void 0:c.ref,null==(t=e.additionalProps)?void 0:t.ref);return I(r,(0,o.Z)({},u,{ref:d}),a)}const _={disableDefaultClasses:!1},F=e.createContext(_);function z(t){const{disableDefaultClasses:r}=e.useContext(F);return e=>r?"":t(e)}const q=["children","closeAfterTransition","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"],V=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let r=this.modals.indexOf(e);if(-1!==r)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&Z(e.modalRef,!1);const n=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);R(t,e.mount,e.modalRef,n,!0);const o=E(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),r):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),r)}mount(e,t){const r=E(this.containers,(t=>-1!==t.modals.indexOf(e))),n=this.containers[r];n.restore||(n.restore=function(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(function(e){const t=(0,h.Z)(e);return t.body===e?(0,S.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){const e=function(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}((0,h.Z)(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${P(n)+e}px`;const t=(0,h.Z)(n).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${P(t)+e}px`}))}let e;if(n.parentNode instanceof DocumentFragment)e=(0,h.Z)(n).body;else{const t=n.parentElement,r=(0,S.Z)(n);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===r.getComputedStyle(t).overflowY?t:n}r.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{r.forEach((({value:e,el:t,property:r})=>{e?t.style.setProperty(r,e):t.style.removeProperty(r)}))}}(n,t))}remove(e,t=!0){const r=this.modals.indexOf(e);if(-1===r)return r;const n=E(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[n];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&Z(e.modalRef,t),R(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(n,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&Z(e.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}},H=e.forwardRef((function(t,r){var i,a;const{children:s,closeAfterTransition:l=!1,container:c,disableAutoFocus:p=!1,disableEnforceFocus:d=!1,disableEscapeKeyDown:g=!1,disablePortal:v=!1,disableRestoreFocus:b=!1,disableScrollLock:x=!1,hideBackdrop:S=!1,keepMounted:P=!1,manager:R=V,onBackdropClick:E,onClose:O,onKeyDown:C,open:T,onTransitionEnter:M,onTransitionExited:j,slotProps:N={},slots:I={}}=t,B=(0,n.Z)(t,q),L=R,[D,_]=e.useState(!T),F=e.useRef({}),H=e.useRef(null),K=e.useRef(null),G=(0,f.Z)(K,r),U=function(e){return!!e&&e.props.hasOwnProperty("in")}(s),X=null==(i=t["aria-hidden"])||i,Y=()=>(F.current.modalRef=K.current,F.current.mountNode=H.current,F.current),J=()=>{L.mount(Y(),{disableScrollLock:x}),K.current&&(K.current.scrollTop=0)},Q=(0,m.Z)((()=>{const e=function(e){return"function"==typeof e?e():e}(c)||(0,h.Z)(H.current).body;L.add(Y(),e),K.current&&J()})),ee=e.useCallback((()=>L.isTopModal(Y())),[L]),te=(0,m.Z)((e=>{H.current=e,e&&K.current&&(T&&ee()?J():Z(K.current,X))})),re=e.useCallback((()=>{L.remove(Y(),X)}),[L,X]);e.useEffect((()=>()=>{re()}),[re]),e.useEffect((()=>{T?Q():U&&l||re()}),[T,re,U,l,Q]);const ne=(0,o.Z)({},t,{closeAfterTransition:l,disableAutoFocus:p,disableEnforceFocus:d,disableEscapeKeyDown:g,disablePortal:v,disableRestoreFocus:b,disableScrollLock:x,exited:D,hideBackdrop:S,keepMounted:P}),oe=(e=>{const{open:t,exited:r}=e,n={root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]};return(0,u.Z)(n,z($))})(ne),ie={};void 0===s.props.tabIndex&&(ie.tabIndex="-1"),U&&(ie.onEnter=(0,y.Z)((()=>{_(!1),M&&M()}),s.props.onEnter),ie.onExited=(0,y.Z)((()=>{_(!0),j&&j(),l&&re()}),s.props.onExited));const ae=null!=(a=I.root)?a:"div",se=W({elementType:ae,externalSlotProps:N.root,externalForwardedProps:B,additionalProps:{ref:G,role:"presentation",onKeyDown:e=>{C&&C(e),"Escape"===e.key&&ee()&&(g||(e.stopPropagation(),O&&O(e,"escapeKeyDown")))}},className:oe.root,ownerState:ne}),le=I.backdrop,ce=W({elementType:le,externalSlotProps:N.backdrop,additionalProps:{"aria-hidden":!0,onClick:e=>{e.target===e.currentTarget&&(E&&E(e),O&&O(e,"backdropClick"))},open:T},className:oe.backdrop,ownerState:ne});return P||T||U&&!D?(0,w.jsx)(k,{ref:te,container:c,disablePortal:v,children:(0,w.jsxs)(ae,(0,o.Z)({},se,{children:[!S&&le?(0,w.jsx)(le,(0,o.Z)({},ce)):null,(0,w.jsx)(A,{disableEnforceFocus:d,disableAutoFocus:p,disableRestoreFocus:b,isEnabled:ee,open:T,children:e.cloneElement(s,ie)})]}))}):null}));var K=l(3834),G=l(2046);function U(e,t){return U=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},U(e,t)}function X(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,U(e,t)}const Y=t().createContext(null);var J="unmounted",Q="exited",ee="entering",te="entered",re="exiting",ne=function(e){function r(t,r){var n;n=e.call(this,t,r)||this;var o,i=r&&!r.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?i?(o=Q,n.appearStatus=ee):o=te:o=t.unmountOnExit||t.mountOnEnter?J:Q,n.state={status:o},n.nextCallback=null,n}X(r,e),r.getDerivedStateFromProps=function(e,t){return e.in&&t.status===J?{status:Q}:null};var o=r.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==ee&&r!==te&&(t=ee):r!==ee&&r!==te||(t=re)}this.updateStatus(!1,t)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},o.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===ee){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:v().findDOMNode(this);r&&function(e){e.scrollTop}(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Q&&this.setState({status:J})},o.performEnter=function(e){var t=this,r=this.props.enter,n=this.context?this.context.isMounting:e,o=this.props.nodeRef?[n]:[v().findDOMNode(this),n],i=o[0],a=o[1],s=this.getTimeouts(),l=n?s.appear:s.enter;e||r?(this.props.onEnter(i,a),this.safeSetState({status:ee},(function(){t.props.onEntering(i,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:te},(function(){t.props.onEntered(i,a)}))}))}))):this.safeSetState({status:te},(function(){t.props.onEntered(i)}))},o.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:v().findDOMNode(this);t?(this.props.onExit(n),this.safeSetState({status:re},(function(){e.props.onExiting(n),e.onTransitionEnd(r.exit,(function(){e.safeSetState({status:Q},(function(){e.props.onExited(n)}))}))}))):this.safeSetState({status:Q},(function(){e.props.onExited(n)}))},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},o.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},o.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:v().findDOMNode(this),n=null==e&&!this.props.addEndListener;if(r&&!n){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if(e===J)return null;var r=this.props,o=r.children,i=(r.in,r.mountOnEnter,r.unmountOnExit,r.appear,r.enter,r.exit,r.timeout,r.addEndListener,r.onEnter,r.onEntering,r.onEntered,r.onExit,r.onExiting,r.onExited,r.nodeRef,(0,n.Z)(r,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return t().createElement(Y.Provider,{value:null},"function"==typeof o?o(e,i):t().cloneElement(t().Children.only(o),i))},r}(t().Component);function oe(){}ne.contextType=Y,ne.propTypes={},ne.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:oe,onEntering:oe,onEntered:oe,onExit:oe,onExiting:oe,onExited:oe},ne.UNMOUNTED=J,ne.EXITED=Q,ne.ENTERING=ee,ne.ENTERED=te,ne.EXITING=re;const ie=ne;var ae=l(6933),se=l(5542),le=l(6912);function ce(){const e=(0,ae.Z)(se.Z);return e[le.Z]||e}const ue=e=>e.scrollTop;function pe(e,t){var r,n;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(r=a.transitionDuration)?r:"number"==typeof o?o:o[t.mode]||0,easing:null!=(n=a.transitionTimingFunction)?n:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}var de=l(8659);const fe=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],he={entering:{opacity:1},entered:{opacity:1}},me=e.forwardRef((function(t,r){const i=ce(),a={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{addEndListener:s,appear:l=!0,children:c,easing:u,in:p,onEnter:d,onEntered:f,onEntering:h,onExit:m,onExited:y,onExiting:g,style:v,timeout:b=a,TransitionComponent:x=ie}=t,k=(0,n.Z)(t,fe),S=e.useRef(null),Z=(0,de.Z)(S,c.ref,r),P=e=>t=>{if(e){const r=S.current;void 0===t?e(r):e(r,t)}},R=P(h),E=P(((e,t)=>{ue(e);const r=pe({style:v,timeout:b,easing:u},{mode:"enter"});e.style.webkitTransition=i.transitions.create("opacity",r),e.style.transition=i.transitions.create("opacity",r),d&&d(e,t)})),O=P(f),C=P(g),T=P((e=>{const t=pe({style:v,timeout:b,easing:u},{mode:"exit"});e.style.webkitTransition=i.transitions.create("opacity",t),e.style.transition=i.transitions.create("opacity",t),m&&m(e)})),A=P(y);return(0,w.jsx)(x,(0,o.Z)({appear:l,in:p,nodeRef:S,onEnter:E,onEntered:O,onEntering:R,onExit:T,onExited:A,onExiting:C,addEndListener:e=>{s&&s(S.current,e)},timeout:b},k,{children:(t,r)=>e.cloneElement(c,(0,o.Z)({style:(0,o.Z)({opacity:0,visibility:"exited"!==t||p?void 0:"hidden"},he[t],v,c.props.style),ref:Z},r))}))})),ye=me;function ge(e){return(0,j.Z)("MuiBackdrop",e)}(0,M.Z)("MuiBackdrop",["root","invisible"]);const ve=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],be=(0,K.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})((({ownerState:e})=>(0,o.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),xe=e.forwardRef((function(e,t){var r,i,a;const l=(0,G.Z)({props:e,name:"MuiBackdrop"}),{children:c,className:p,component:d="div",components:f={},componentsProps:h={},invisible:m=!1,open:y,slotProps:g={},slots:v={},TransitionComponent:b=ye,transitionDuration:x}=l,k=(0,n.Z)(l,ve),S=(0,o.Z)({},l,{component:d,invisible:m}),Z=(e=>{const{classes:t,invisible:r}=e,n={root:["root",r&&"invisible"]};return(0,u.Z)(n,ge,t)})(S),P=null!=(r=g.root)?r:h.root;return(0,w.jsx)(b,(0,o.Z)({in:y,timeout:x},k,{children:(0,w.jsx)(be,(0,o.Z)({"aria-hidden":!0},P,{as:null!=(i=null!=(a=v.root)?a:f.Root)?i:d,className:(0,s.Z)(Z.root,p,null==P?void 0:P.className),ownerState:(0,o.Z)({},S,null==P?void 0:P.ownerState),classes:Z,ref:t,children:c}))}))})),we=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","open","slotProps","slots","theme"],ke=(0,K.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})((({theme:e,ownerState:t})=>(0,o.Z)({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),Se=(0,K.ZP)(xe,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Ze=e.forwardRef((function(t,r){var i,a,l,c,u,p;const d=(0,G.Z)({name:"MuiModal",props:t}),{BackdropComponent:f=Se,BackdropProps:h,classes:m,className:y,closeAfterTransition:g=!1,children:v,container:b,component:x,components:k={},componentsProps:S={},disableAutoFocus:Z=!1,disableEnforceFocus:P=!1,disableEscapeKeyDown:R=!1,disablePortal:E=!1,disableRestoreFocus:O=!1,disableScrollLock:C=!1,hideBackdrop:T=!1,keepMounted:A=!1,onBackdropClick:M,onClose:j,open:$,slotProps:I,slots:B,theme:D}=d,W=(0,n.Z)(d,we),[_,F]=e.useState(!0),z={container:b,closeAfterTransition:g,disableAutoFocus:Z,disableEnforceFocus:P,disableEscapeKeyDown:R,disablePortal:E,disableRestoreFocus:O,disableScrollLock:C,hideBackdrop:T,keepMounted:A,onBackdropClick:M,onClose:j,open:$},q=(0,o.Z)({},d,z,{exited:_}),V=null!=(i=null!=(a=null==B?void 0:B.root)?a:k.Root)?i:ke,K=null!=(l=null!=(c=null==B?void 0:B.backdrop)?c:k.Backdrop)?l:f,U=null!=(u=null==I?void 0:I.root)?u:S.root,X=null!=(p=null==I?void 0:I.backdrop)?p:S.backdrop;return(0,w.jsx)(H,(0,o.Z)({slots:{root:V,backdrop:K},slotProps:{root:()=>(0,o.Z)({},L(U,q),!N(V)&&{as:x,theme:D},{className:(0,s.Z)(y,null==U?void 0:U.className,null==m?void 0:m.root,!q.open&&q.exited&&(null==m?void 0:m.hidden))}),backdrop:()=>(0,o.Z)({},h,L(X,q),{className:(0,s.Z)(null==X?void 0:X.className,null==h?void 0:h.className,null==m?void 0:m.backdrop)})},onTransitionEnter:()=>F(!1),onTransitionExited:()=>F(!0),ref:r},W,z,{children:v}))}));var Pe=l(7591);const Re=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Ee(e){return(0,j.Z)("MuiPaper",e)}(0,M.Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Oe=["className","component","elevation","square","variant"],Ce=(0,K.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,"elevation"===r.variant&&t[`elevation${r.elevation}`]]}})((({theme:e,ownerState:t})=>{var r;return(0,o.Z)({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&(0,o.Z)({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${(0,Pe.Fq)("#fff",Re(t.elevation))}, ${(0,Pe.Fq)("#fff",Re(t.elevation))})`},e.vars&&{backgroundImage:null==(r=e.vars.overlays)?void 0:r[t.elevation]}))})),Te=e.forwardRef((function(e,t){const r=(0,G.Z)({props:e,name:"MuiPaper"}),{className:i,component:a="div",elevation:l=1,square:c=!1,variant:p="elevation"}=r,d=(0,n.Z)(r,Oe),f=(0,o.Z)({},r,{component:a,elevation:l,square:c,variant:p}),h=(e=>{const{square:t,elevation:r,variant:n,classes:o}=e,i={root:["root",n,!t&&"rounded","elevation"===n&&`elevation${r}`]};return(0,u.Z)(i,Ee,o)})(f);return(0,w.jsx)(Ce,(0,o.Z)({as:a,ownerState:f,className:(0,s.Z)(h.root,i),ref:t},d))}));function Ae(e){return(0,j.Z)("MuiDialog",e)}const Me=(0,M.Z)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),je=e.createContext({}),$e=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],Ne=(0,K.ZP)(xe,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),Ie=(0,K.ZP)(Ze,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),Be=(0,K.ZP)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.container,t[`scroll${(0,d.Z)(r.scroll)}`]]}})((({ownerState:e})=>(0,o.Z)({height:"100%","@media print":{height:"auto"},outline:0},"paper"===e.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===e.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}))),Le=(0,K.ZP)(Te,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.paper,t[`scrollPaper${(0,d.Z)(r.scroll)}`],t[`paperWidth${(0,d.Z)(String(r.maxWidth))}`],r.fullWidth&&t.paperFullWidth,r.fullScreen&&t.paperFullScreen]}})((({theme:e,ownerState:t})=>(0,o.Z)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===t.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===t.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===t.maxWidth&&{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${Me.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&"xs"!==t.maxWidth&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${Me.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+64)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${Me.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}))),De=e.forwardRef((function(t,r){const i=(0,G.Z)({props:t,name:"MuiDialog"}),a=ce(),l={enter:a.transitions.duration.enteringScreen,exit:a.transitions.duration.leavingScreen},{"aria-describedby":c,"aria-labelledby":f,BackdropComponent:h,BackdropProps:m,children:y,className:g,disableEscapeKeyDown:v=!1,fullScreen:b=!1,fullWidth:x=!1,maxWidth:k="sm",onBackdropClick:S,onClose:Z,open:P,PaperComponent:R=Te,PaperProps:E={},scroll:O="paper",TransitionComponent:C=ye,transitionDuration:T=l,TransitionProps:A}=i,M=(0,n.Z)(i,$e),j=(0,o.Z)({},i,{disableEscapeKeyDown:v,fullScreen:b,fullWidth:x,maxWidth:k,scroll:O}),$=(e=>{const{classes:t,scroll:r,maxWidth:n,fullWidth:o,fullScreen:i}=e,a={root:["root"],container:["container",`scroll${(0,d.Z)(r)}`],paper:["paper",`paperScroll${(0,d.Z)(r)}`,`paperWidth${(0,d.Z)(String(n))}`,o&&"paperFullWidth",i&&"paperFullScreen"]};return(0,u.Z)(a,Ae,t)})(j),N=e.useRef(),I=(0,p.Z)(f),B=e.useMemo((()=>({titleId:I})),[I]);return(0,w.jsx)(Ie,(0,o.Z)({className:(0,s.Z)($.root,g),closeAfterTransition:!0,components:{Backdrop:Ne},componentsProps:{backdrop:(0,o.Z)({transitionDuration:T,as:h},m)},disableEscapeKeyDown:v,onClose:Z,open:P,ref:r,onClick:e=>{N.current&&(N.current=null,S&&S(e),Z&&Z(e,"backdropClick"))},ownerState:j},M,{children:(0,w.jsx)(C,(0,o.Z)({appear:!0,in:P,timeout:T,role:"presentation"},A,{children:(0,w.jsx)(Be,{className:(0,s.Z)($.container),onMouseDown:e=>{N.current=e.target===e.currentTarget},ownerState:j,children:(0,w.jsx)(Le,(0,o.Z)({as:R,elevation:24,role:"dialog","aria-describedby":c,"aria-labelledby":I},E,{className:(0,s.Z)($.paper,E.className),ownerState:j,children:(0,w.jsx)(je.Provider,{value:B,children:y})}))})}))}))}));function We(e){return(0,j.Z)("MuiAppBar",e)}(0,M.Z)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);const _e=["className","color","enableColorOnDark","position"],Fe=(e,t)=>e?`${null==e?void 0:e.replace(")","")}, ${t})`:t,ze=(0,K.ZP)(Te,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`position${(0,d.Z)(r.position)}`],t[`color${(0,d.Z)(r.color)}`]]}})((({theme:e,ownerState:t})=>{const r="light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[900];return(0,o.Z)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===t.position&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===t.position&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===t.position&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"static"===t.position&&{position:"static"},"relative"===t.position&&{position:"relative"},!e.vars&&(0,o.Z)({},"default"===t.color&&{backgroundColor:r,color:e.palette.getContrastText(r)},t.color&&"default"!==t.color&&"inherit"!==t.color&&"transparent"!==t.color&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},"inherit"===t.color&&{color:"inherit"},"dark"===e.palette.mode&&!t.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===t.color&&(0,o.Z)({backgroundColor:"transparent",color:"inherit"},"dark"===e.palette.mode&&{backgroundImage:"none"})),e.vars&&(0,o.Z)({},"default"===t.color&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:Fe(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:Fe(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:Fe(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:Fe(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===t.color?"inherit":"var(--AppBar-color)"},"transparent"===t.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))})),qe=e.forwardRef((function(e,t){const r=(0,G.Z)({props:e,name:"MuiAppBar"}),{className:i,color:a="primary",enableColorOnDark:l=!1,position:c="fixed"}=r,p=(0,n.Z)(r,_e),f=(0,o.Z)({},r,{color:a,position:c,enableColorOnDark:l}),h=(e=>{const{color:t,position:r,classes:n}=e,o={root:["root",`color${(0,d.Z)(t)}`,`position${(0,d.Z)(r)}`]};return(0,u.Z)(o,We,n)})(f);return(0,w.jsx)(ze,(0,o.Z)({square:!0,component:"header",ownerState:f,elevation:4,className:(0,s.Z)(h.root,i,"fixed"===c&&"mui-fixed"),ref:t},p))}));function Ve(e){return(0,j.Z)("MuiToolbar",e)}(0,M.Z)("MuiToolbar",["root","gutters","regular","dense"]);const He=["className","component","disableGutters","variant"],Ke=(0,K.ZP)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableGutters&&t.gutters,t[r.variant]]}})((({theme:e,ownerState:t})=>(0,o.Z)({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},"dense"===t.variant&&{minHeight:48})),(({theme:e,ownerState:t})=>"regular"===t.variant&&e.mixins.toolbar)),Ge=e.forwardRef((function(e,t){const r=(0,G.Z)({props:e,name:"MuiToolbar"}),{className:i,component:a="div",disableGutters:l=!1,variant:c="regular"}=r,p=(0,n.Z)(r,He),d=(0,o.Z)({},r,{component:a,disableGutters:l,variant:c}),f=(e=>{const{classes:t,disableGutters:r,variant:n}=e,o={root:["root",!r&&"gutters",n]};return(0,u.Z)(o,Ve,t)})(d);return(0,w.jsx)(Ke,(0,o.Z)({as:a,className:(0,s.Z)(f.root,i),ref:t,ownerState:d},p))}));var Ue=l(8970),Xe=l(9795);const Ye=["sx"];function Je(e){return(0,j.Z)("MuiTypography",e)}(0,M.Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Qe=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],et=(0,K.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t[`align${(0,d.Z)(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>(0,o.Z)({margin:0},t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16}))),tt={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},rt={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},nt=e.forwardRef((function(e,t){const r=(0,G.Z)({props:e,name:"MuiTypography"}),i=(e=>rt[e]||e)(r.color),a=function(e){const{sx:t}=e,r=(0,n.Z)(e,Ye),{systemProps:i,otherProps:a}=(e=>{var t,r;const n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:Xe.Z;return Object.keys(e).forEach((t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]})),n})(r);let s;return s=Array.isArray(t)?[i,...t]:"function"==typeof t?(...e)=>{const r=t(...e);return(0,Ue.P)(r)?(0,o.Z)({},i,r):i}:(0,o.Z)({},i,t),(0,o.Z)({},a,{sx:s})}((0,o.Z)({},r,{color:i})),{align:l="inherit",className:c,component:p,gutterBottom:f=!1,noWrap:h=!1,paragraph:m=!1,variant:y="body1",variantMapping:g=tt}=a,v=(0,n.Z)(a,Qe),b=(0,o.Z)({},a,{align:l,color:i,className:c,component:p,gutterBottom:f,noWrap:h,paragraph:m,variant:y,variantMapping:g}),x=p||(m?"p":g[y]||tt[y])||"span",k=(e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:i,classes:a}=e,s={root:["root",i,"inherit"!==e.align&&`align${(0,d.Z)(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]};return(0,u.Z)(s,Je,a)})(b);return(0,w.jsx)(et,(0,o.Z)({as:x,ref:t,ownerState:b,className:(0,s.Z)(k.root,c)},v))}));var ot=l(2679),it=l(5751),at=l.n(it),st=l(2308);const lt=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function ct(e){return`scale(${e}, ${e**2})`}const ut={entering:{opacity:1,transform:ct(1)},entered:{opacity:1,transform:"none"}},pt="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),dt=e.forwardRef((function(t,r){const{addEndListener:i,appear:a=!0,children:s,easing:l,in:c,onEnter:u,onEntered:p,onEntering:d,onExit:f,onExited:h,onExiting:m,style:y,timeout:g="auto",TransitionComponent:v=ie}=t,b=(0,n.Z)(t,lt),x=e.useRef(),k=e.useRef(),S=ce(),Z=e.useRef(null),P=(0,de.Z)(Z,s.ref,r),R=e=>t=>{if(e){const r=Z.current;void 0===t?e(r):e(r,t)}},E=R(d),O=R(((e,t)=>{ue(e);const{duration:r,delay:n,easing:o}=pe({style:y,timeout:g,easing:l},{mode:"enter"});let i;"auto"===g?(i=S.transitions.getAutoHeightDuration(e.clientHeight),k.current=i):i=r,e.style.transition=[S.transitions.create("opacity",{duration:i,delay:n}),S.transitions.create("transform",{duration:pt?i:.666*i,delay:n,easing:o})].join(","),u&&u(e,t)})),C=R(p),T=R(m),A=R((e=>{const{duration:t,delay:r,easing:n}=pe({style:y,timeout:g,easing:l},{mode:"exit"});let o;"auto"===g?(o=S.transitions.getAutoHeightDuration(e.clientHeight),k.current=o):o=t,e.style.transition=[S.transitions.create("opacity",{duration:o,delay:r}),S.transitions.create("transform",{duration:pt?o:.666*o,delay:pt?r:r||.333*o,easing:n})].join(","),e.style.opacity=0,e.style.transform=ct(.75),f&&f(e)})),M=R(h);return e.useEffect((()=>()=>{clearTimeout(x.current)}),[]),(0,w.jsx)(v,(0,o.Z)({appear:a,in:c,nodeRef:Z,onEnter:O,onEntered:C,onEntering:E,onExit:A,onExited:M,onExiting:T,addEndListener:e=>{"auto"===g&&(x.current=setTimeout(e,k.current||0)),i&&i(Z.current,e)},timeout:"auto"===g?null:g},b,{children:(t,r)=>e.cloneElement(s,(0,o.Z)({style:(0,o.Z)({opacity:0,transform:ct(.75),visibility:"exited"!==t||c?void 0:"hidden"},ut[t],y,s.props.style),ref:P},r))}))}));dt.muiSupportAuto=!0;const ft=dt;function ht(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function mt(e){return e instanceof ht(e).Element||e instanceof Element}function yt(e){return e instanceof ht(e).HTMLElement||e instanceof HTMLElement}function gt(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ht(e).ShadowRoot||e instanceof ShadowRoot)}var vt=Math.max,bt=Math.min,xt=Math.round;function wt(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function kt(){return!/^((?!chrome|android).)*safari/i.test(wt())}function St(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&yt(e)&&(o=e.offsetWidth>0&&xt(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&xt(n.height)/e.offsetHeight||1);var a=(mt(e)?ht(e):window).visualViewport,s=!kt()&&r,l=(n.left+(s&&a?a.offsetLeft:0))/o,c=(n.top+(s&&a?a.offsetTop:0))/i,u=n.width/o,p=n.height/i;return{width:u,height:p,top:c,right:l+u,bottom:c+p,left:l,x:l,y:c}}function Zt(e){var t=ht(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Pt(e){return e?(e.nodeName||"").toLowerCase():null}function Rt(e){return((mt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Et(e){return St(Rt(e)).left+Zt(e).scrollLeft}function Ot(e){return ht(e).getComputedStyle(e)}function Ct(e){var t=Ot(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function Tt(e,t,r){void 0===r&&(r=!1);var n,o,i=yt(t),a=yt(t)&&function(e){var t=e.getBoundingClientRect(),r=xt(t.width)/e.offsetWidth||1,n=xt(t.height)/e.offsetHeight||1;return 1!==r||1!==n}(t),s=Rt(t),l=St(e,a,r),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!r)&&(("body"!==Pt(t)||Ct(s))&&(c=(n=t)!==ht(n)&&yt(n)?{scrollLeft:(o=n).scrollLeft,scrollTop:o.scrollTop}:Zt(n)),yt(t)?((u=St(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=Et(s))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function At(e){var t=St(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function Mt(e){return"html"===Pt(e)?e:e.assignedSlot||e.parentNode||(gt(e)?e.host:null)||Rt(e)}function jt(e){return["html","body","#document"].indexOf(Pt(e))>=0?e.ownerDocument.body:yt(e)&&Ct(e)?e:jt(Mt(e))}function $t(e,t){var r;void 0===t&&(t=[]);var n=jt(e),o=n===(null==(r=e.ownerDocument)?void 0:r.body),i=ht(n),a=o?[i].concat(i.visualViewport||[],Ct(n)?n:[]):n,s=t.concat(a);return o?s:s.concat($t(Mt(a)))}function Nt(e){return["table","td","th"].indexOf(Pt(e))>=0}function It(e){return yt(e)&&"fixed"!==Ot(e).position?e.offsetParent:null}function Bt(e){for(var t=ht(e),r=It(e);r&&Nt(r)&&"static"===Ot(r).position;)r=It(r);return r&&("html"===Pt(r)||"body"===Pt(r)&&"static"===Ot(r).position)?t:r||function(e){var t=/firefox/i.test(wt());if(/Trident/i.test(wt())&&yt(e)&&"fixed"===Ot(e).position)return null;var r=Mt(e);for(gt(r)&&(r=r.host);yt(r)&&["html","body"].indexOf(Pt(r))<0;){var n=Ot(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||t}var Lt="top",Dt="bottom",Wt="right",_t="left",Ft="auto",zt=[Lt,Dt,Wt,_t],qt="start",Vt="end",Ht="viewport",Kt="popper",Gt=zt.reduce((function(e,t){return e.concat([t+"-"+qt,t+"-"+Vt])}),[]),Ut=[].concat(zt,[Ft]).reduce((function(e,t){return e.concat([t,t+"-"+qt,t+"-"+Vt])}),[]),Xt=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Yt(e){var t=new Map,r=new Set,n=[];function o(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!r.has(e)){var n=t.get(e);n&&o(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){r.has(e.name)||o(e)})),n}var Jt={placement:"bottom",modifiers:[],strategy:"absolute"};function Qt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function er(e){void 0===e&&(e={});var t=e,r=t.defaultModifiers,n=void 0===r?[]:r,o=t.defaultOptions,i=void 0===o?Jt:o;return function(e,t,r){void 0===r&&(r=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Jt,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function(r){var o="function"==typeof r?r(s.options):r;p(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:mt(e)?$t(e):e.contextElement?$t(e.contextElement):[],popper:$t(t)};var a,c,d=function(e){var t=Yt(e);return Xt.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}((a=[].concat(n,s.options.modifiers),c=a.reduce((function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return s.orderedModifiers=d.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=void 0===r?{}:r,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:u,options:n});l.push(i||function(){})}})),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,r=e.popper;if(Qt(t,r)){s.rects={reference:Tt(t,Bt(r),"fixed"===s.options.strategy),popper:At(r)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var n=0;n<s.orderedModifiers.length;n++)if(!0!==s.reset){var o=s.orderedModifiers[n],i=o.fn,a=o.options,l=void 0===a?{}:a,p=o.name;"function"==typeof i&&(s=i({state:s,options:l,name:p,instance:u})||s)}else s.reset=!1,n=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){p(),c=!0}};if(!Qt(e,t))return u;function p(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(r).then((function(e){!c&&r.onFirstUpdate&&r.onFirstUpdate(e)})),u}}var tr={passive:!0};function rr(e){return e.split("-")[0]}function nr(e){return e.split("-")[1]}function or(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ir(e){var t,r=e.reference,n=e.element,o=e.placement,i=o?rr(o):null,a=o?nr(o):null,s=r.x+r.width/2-n.width/2,l=r.y+r.height/2-n.height/2;switch(i){case Lt:t={x:s,y:r.y-n.height};break;case Dt:t={x:s,y:r.y+r.height};break;case Wt:t={x:r.x+r.width,y:l};break;case _t:t={x:r.x-n.width,y:l};break;default:t={x:r.x,y:r.y}}var c=i?or(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case qt:t[c]=t[c]-(r[u]/2-n[u]/2);break;case Vt:t[c]=t[c]+(r[u]/2-n[u]/2)}}return t}var ar={top:"auto",right:"auto",bottom:"auto",left:"auto"};function sr(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,p=e.isFixed,d=a.x,f=void 0===d?0:d,h=a.y,m=void 0===h?0:h,y="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=y.x,m=y.y;var g=a.hasOwnProperty("x"),v=a.hasOwnProperty("y"),b=_t,x=Lt,w=window;if(c){var k=Bt(r),S="clientHeight",Z="clientWidth";k===ht(r)&&"static"!==Ot(k=Rt(r)).position&&"absolute"===s&&(S="scrollHeight",Z="scrollWidth"),k=k,(o===Lt||(o===_t||o===Wt)&&i===Vt)&&(x=Dt,m-=(p&&k===w&&w.visualViewport?w.visualViewport.height:k[S])-n.height,m*=l?1:-1),o!==_t&&(o!==Lt&&o!==Dt||i!==Vt)||(b=Wt,f-=(p&&k===w&&w.visualViewport?w.visualViewport.width:k[Z])-n.width,f*=l?1:-1)}var P,R=Object.assign({position:s},c&&ar),E=!0===u?function(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:xt(r*o)/o||0,y:xt(n*o)/o||0}}({x:f,y:m},ht(r)):{x:f,y:m};return f=E.x,m=E.y,l?Object.assign({},R,((P={})[x]=v?"0":"",P[b]=g?"0":"",P.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",P)):Object.assign({},R,((t={})[x]=v?m+"px":"",t[b]=g?f+"px":"",t.transform="",t))}const lr={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},o=t.elements[e];yt(o)&&Pt(o)&&(Object.assign(o.style,r),Object.keys(n).forEach((function(e){var t=n[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce((function(e,t){return e[t]="",e}),{});yt(n)&&Pt(n)&&(Object.assign(n.style,i),Object.keys(o).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]};var cr={left:"right",right:"left",bottom:"top",top:"bottom"};function ur(e){return e.replace(/left|right|bottom|top/g,(function(e){return cr[e]}))}var pr={start:"end",end:"start"};function dr(e){return e.replace(/start|end/g,(function(e){return pr[e]}))}function fr(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&>(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function hr(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function mr(e,t,r){return t===Ht?hr(function(e,t){var r=ht(e),n=Rt(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=kt();(c||!c&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+Et(e),y:l}}(e,r)):mt(t)?function(e,t){var r=St(e,!1,"fixed"===t);return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}(t,r):hr(function(e){var t,r=Rt(e),n=Zt(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=vt(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=vt(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+Et(e),l=-n.scrollTop;return"rtl"===Ot(o||r).direction&&(s+=vt(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(Rt(e)))}function yr(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function gr(e,t){return t.reduce((function(t,r){return t[r]=e,t}),{})}function vr(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=void 0===n?e.placement:n,i=r.strategy,a=void 0===i?e.strategy:i,s=r.boundary,l=void 0===s?"clippingParents":s,c=r.rootBoundary,u=void 0===c?Ht:c,p=r.elementContext,d=void 0===p?Kt:p,f=r.altBoundary,h=void 0!==f&&f,m=r.padding,y=void 0===m?0:m,g=yr("number"!=typeof y?y:gr(y,zt)),v=d===Kt?"reference":Kt,b=e.rects.popper,x=e.elements[h?v:d],w=function(e,t,r,n){var o="clippingParents"===t?function(e){var t=$t(Mt(e)),r=["absolute","fixed"].indexOf(Ot(e).position)>=0&&yt(e)?Bt(e):e;return mt(r)?t.filter((function(e){return mt(e)&&fr(e,r)&&"body"!==Pt(e)})):[]}(e):[].concat(t),i=[].concat(o,[r]),a=i[0],s=i.reduce((function(t,r){var o=mr(e,r,n);return t.top=vt(o.top,t.top),t.right=bt(o.right,t.right),t.bottom=bt(o.bottom,t.bottom),t.left=vt(o.left,t.left),t}),mr(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(mt(x)?x:x.contextElement||Rt(e.elements.popper),l,u,a),k=St(e.elements.reference),S=ir({reference:k,element:b,strategy:"absolute",placement:o}),Z=hr(Object.assign({},b,S)),P=d===Kt?Z:k,R={top:w.top-P.top+g.top,bottom:P.bottom-w.bottom+g.bottom,left:w.left-P.left+g.left,right:P.right-w.right+g.right},E=e.modifiersData.offset;if(d===Kt&&E){var O=E[o];Object.keys(R).forEach((function(e){var t=[Wt,Dt].indexOf(e)>=0?1:-1,r=[Lt,Dt].indexOf(e)>=0?"y":"x";R[e]+=O[r]*t}))}return R}function br(e,t,r){return vt(e,bt(t,r))}function xr(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function wr(e){return[Lt,Wt,Dt,_t].some((function(t){return e[t]>=0}))}var kr=er({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=void 0===o||o,a=n.resize,s=void 0===a||a,l=ht(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",r.update,tr)})),s&&l.addEventListener("resize",r.update,tr),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",r.update,tr)})),s&&l.removeEventListener("resize",r.update,tr)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=ir({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=void 0===n||n,i=r.adaptive,a=void 0===i||i,s=r.roundOffsets,l=void 0===s||s,c={placement:rr(t.placement),variation:nr(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,sr(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,sr(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},lr,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=void 0===o?[0,0]:o,a=Ut.reduce((function(e,r){return e[r]=function(e,t,r){var n=rr(e),o=[_t,Lt].indexOf(n)>=0?-1:1,i="function"==typeof r?r(Object.assign({},t,{placement:e})):r,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[_t,Wt].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}(r,t.rects,i),e}),{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=void 0===o||o,a=r.altAxis,s=void 0===a||a,l=r.fallbackPlacements,c=r.padding,u=r.boundary,p=r.rootBoundary,d=r.altBoundary,f=r.flipVariations,h=void 0===f||f,m=r.allowedAutoPlacements,y=t.options.placement,g=rr(y),v=l||(g!==y&&h?function(e){if(rr(e)===Ft)return[];var t=ur(e);return[dr(e),t,dr(t)]}(y):[ur(y)]),b=[y].concat(v).reduce((function(e,r){return e.concat(rr(r)===Ft?function(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,s=r.flipVariations,l=r.allowedAutoPlacements,c=void 0===l?Ut:l,u=nr(n),p=u?s?Gt:Gt.filter((function(e){return nr(e)===u})):zt,d=p.filter((function(e){return c.indexOf(e)>=0}));0===d.length&&(d=p);var f=d.reduce((function(t,r){return t[r]=vr(e,{placement:r,boundary:o,rootBoundary:i,padding:a})[rr(r)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:r,boundary:u,rootBoundary:p,padding:c,flipVariations:h,allowedAutoPlacements:m}):r)}),[]),x=t.rects.reference,w=t.rects.popper,k=new Map,S=!0,Z=b[0],P=0;P<b.length;P++){var R=b[P],E=rr(R),O=nr(R)===qt,C=[Lt,Dt].indexOf(E)>=0,T=C?"width":"height",A=vr(t,{placement:R,boundary:u,rootBoundary:p,altBoundary:d,padding:c}),M=C?O?Wt:_t:O?Dt:Lt;x[T]>w[T]&&(M=ur(M));var j=ur(M),$=[];if(i&&$.push(A[E]<=0),s&&$.push(A[M]<=0,A[j]<=0),$.every((function(e){return e}))){Z=R,S=!1;break}k.set(R,$)}if(S)for(var N=function(e){var t=b.find((function(t){var r=k.get(t);if(r)return r.slice(0,e).every((function(e){return e}))}));if(t)return Z=t,"break"},I=h?3:1;I>0&&"break"!==N(I);I--);t.placement!==Z&&(t.modifiersData[n]._skip=!0,t.placement=Z,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=void 0===o||o,a=r.altAxis,s=void 0!==a&&a,l=r.boundary,c=r.rootBoundary,u=r.altBoundary,p=r.padding,d=r.tether,f=void 0===d||d,h=r.tetherOffset,m=void 0===h?0:h,y=vr(t,{boundary:l,rootBoundary:c,padding:p,altBoundary:u}),g=rr(t.placement),v=nr(t.placement),b=!v,x=or(g),w="x"===x?"y":"x",k=t.modifiersData.popperOffsets,S=t.rects.reference,Z=t.rects.popper,P="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,R="number"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),E=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(k){if(i){var C,T="y"===x?Lt:_t,A="y"===x?Dt:Wt,M="y"===x?"height":"width",j=k[x],$=j+y[T],N=j-y[A],I=f?-Z[M]/2:0,B=v===qt?S[M]:Z[M],L=v===qt?-Z[M]:-S[M],D=t.elements.arrow,W=f&&D?At(D):{width:0,height:0},_=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},F=_[T],z=_[A],q=br(0,S[M],W[M]),V=b?S[M]/2-I-q-F-R.mainAxis:B-q-F-R.mainAxis,H=b?-S[M]/2+I+q+z+R.mainAxis:L+q+z+R.mainAxis,K=t.elements.arrow&&Bt(t.elements.arrow),G=K?"y"===x?K.clientTop||0:K.clientLeft||0:0,U=null!=(C=null==E?void 0:E[x])?C:0,X=j+H-U,Y=br(f?bt($,j+V-U-G):$,j,f?vt(N,X):N);k[x]=Y,O[x]=Y-j}if(s){var J,Q="x"===x?Lt:_t,ee="x"===x?Dt:Wt,te=k[w],re="y"===w?"height":"width",ne=te+y[Q],oe=te-y[ee],ie=-1!==[Lt,_t].indexOf(g),ae=null!=(J=null==E?void 0:E[w])?J:0,se=ie?ne:te-S[re]-Z[re]-ae+R.altAxis,le=ie?te+S[re]+Z[re]-ae-R.altAxis:oe,ce=f&&ie?function(e,t,r){var n=br(e,t,r);return n>r?r:n}(se,te,le):br(f?se:ne,te,f?le:oe);k[w]=ce,O[w]=ce-te}t.modifiersData[n]=O}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=rr(r.placement),l=or(s),c=[_t,Wt].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return yr("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:gr(e,zt))}(o.padding,r),p=At(i),d="y"===l?Lt:_t,f="y"===l?Dt:Wt,h=r.rects.reference[c]+r.rects.reference[l]-a[l]-r.rects.popper[c],m=a[l]-r.rects.reference[l],y=Bt(i),g=y?"y"===l?y.clientHeight||0:y.clientWidth||0:0,v=h/2-m/2,b=u[d],x=g-p[c]-u[f],w=g/2-p[c]/2+v,k=br(b,w,x),S=l;r.modifiersData[n]=((t={})[S]=k,t.centerOffset=k-w,t)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&fr(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=vr(t,{elementContext:"reference"}),s=vr(t,{altBoundary:!0}),l=xr(a,n),c=xr(s,o,i),u=wr(l),p=wr(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":p})}}]});function Sr(e){return(0,j.Z)("MuiPopper",e)}(0,M.Z)("MuiPopper",["root"]);const Zr=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Pr=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Rr(e){return"function"==typeof e?e():e}const Er={},Or=e.forwardRef((function(t,r){var i;const{anchorEl:a,children:s,direction:l,disablePortal:c,modifiers:p,open:d,placement:h,popperOptions:m,popperRef:y,slotProps:g={},slots:v={},TransitionProps:x}=t,k=(0,n.Z)(t,Zr),S=e.useRef(null),Z=(0,f.Z)(S,r),P=e.useRef(null),R=(0,f.Z)(P,y),E=e.useRef(R);(0,b.Z)((()=>{E.current=R}),[R]),e.useImperativeHandle(y,(()=>P.current),[]);const O=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(h,l),[C,T]=e.useState(O),[A,M]=e.useState(Rr(a));e.useEffect((()=>{P.current&&P.current.forceUpdate()})),e.useEffect((()=>{a&&M(Rr(a))}),[a]),(0,b.Z)((()=>{if(!A||!d)return;let e=[{name:"preventOverflow",options:{altBoundary:c}},{name:"flip",options:{altBoundary:c}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{T(e.placement)}}];null!=p&&(e=e.concat(p)),m&&null!=m.modifiers&&(e=e.concat(m.modifiers));const t=kr(A,S.current,(0,o.Z)({placement:O},m,{modifiers:e}));return E.current(t),()=>{t.destroy(),E.current(null)}}),[A,c,p,d,m,O]);const j={placement:C};null!==x&&(j.TransitionProps=x);const $=(0,u.Z)({root:["root"]},z(Sr)),N=null!=(i=v.root)?i:"div",I=W({elementType:N,externalSlotProps:g.root,externalForwardedProps:k,additionalProps:{role:"tooltip",ref:Z},ownerState:t,className:$.root});return(0,w.jsx)(N,(0,o.Z)({},I,{children:"function"==typeof s?s(j):s}))})),Cr=e.forwardRef((function(t,r){const{anchorEl:i,children:a,container:s,direction:l="ltr",disablePortal:c=!1,keepMounted:u=!1,modifiers:p,open:d,placement:f="bottom",popperOptions:m=Er,popperRef:y,style:g,transition:v=!1,slotProps:b={},slots:x={}}=t,S=(0,n.Z)(t,Pr),[Z,P]=e.useState(!0);if(!u&&!d&&(!v||Z))return null;let R;if(s)R=s;else if(i){const e=Rr(i);R=e&&void 0!==e.nodeType?(0,h.Z)(e).body:(0,h.Z)(null).body}const E=d||!u||v&&!Z?void 0:"none",O=v?{in:d,onEnter:()=>{P(!1)},onExited:()=>{P(!0)}}:void 0;return(0,w.jsx)(k,{disablePortal:c,container:R,children:(0,w.jsx)(Or,(0,o.Z)({anchorEl:i,direction:l,disablePortal:c,modifiers:p,ref:r,open:v?!Z:d,placement:f,popperOptions:m,popperRef:y,slotProps:b,slots:x},S,{style:(0,o.Z)({position:"fixed",top:0,left:0,display:E},g),TransitionProps:O,children:a}))})})),Tr=Cr;var Ar=l(8457);const Mr=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],jr=(0,K.ZP)(Tr,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),$r=e.forwardRef((function(e,t){var r;const i=(0,Ar.Z)(),a=(0,G.Z)({props:e,name:"MuiPopper"}),{anchorEl:s,component:l,components:c,componentsProps:u,container:p,disablePortal:d,keepMounted:f,modifiers:h,open:m,placement:y,popperOptions:g,popperRef:v,transition:b,slots:x,slotProps:k}=a,S=(0,n.Z)(a,Mr),Z=null!=(r=null==x?void 0:x.root)?r:null==c?void 0:c.Root,P=(0,o.Z)({anchorEl:s,container:p,disablePortal:d,keepMounted:f,modifiers:h,open:m,placement:y,popperOptions:g,popperRef:v,transition:b},S);return(0,w.jsx)(jr,(0,o.Z)({as:l,direction:null==i?void 0:i.direction,slots:{root:Z},slotProps:null!=k?k:u},P,{ref:t}))})),Nr=$r;var Ir=l(8647),Br=l(5954),Lr=l(8926),Dr=l(5942);function Wr(e){return(0,j.Z)("MuiTooltip",e)}const _r=(0,M.Z)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Fr=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"],zr=(0,K.ZP)(Nr,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.popper,!r.disableInteractive&&t.popperInteractive,r.arrow&&t.popperArrow,!r.open&&t.popperClose]}})((({theme:e,ownerState:t,open:r})=>(0,o.Z)({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!r&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${_r.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${_r.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${_r.arrow}`]:(0,o.Z)({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${_r.arrow}`]:(0,o.Z)({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),qr=(0,K.ZP)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.tooltip,r.touch&&t.touch,r.arrow&&t.tooltipArrow,t[`tooltipPlacement${(0,d.Z)(r.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>(0,o.Z)({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:(0,Pe.Fq)(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(16/14,Math.round(114285.71428571428)/1e5+"em"),fontWeight:e.typography.fontWeightRegular},{[`.${_r.popper}[data-popper-placement*="left"] &`]:(0,o.Z)({transformOrigin:"right center"},t.isRtl?(0,o.Z)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):(0,o.Z)({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${_r.popper}[data-popper-placement*="right"] &`]:(0,o.Z)({transformOrigin:"left center"},t.isRtl?(0,o.Z)({marginRight:"14px"},t.touch&&{marginRight:"24px"}):(0,o.Z)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${_r.popper}[data-popper-placement*="top"] &`]:(0,o.Z)({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${_r.popper}[data-popper-placement*="bottom"] &`]:(0,o.Z)({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})}))),Vr=(0,K.ZP)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:(0,Pe.Fq)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Hr=!1,Kr=null,Gr={x:0,y:0};function Ur(e,t){return r=>{t&&t(r),e(r)}}const Xr=e.forwardRef((function(t,r){var i,a,l,c,p,f,h,m,y,g,v,b,x,k,S,Z,P,R,E;const O=(0,G.Z)({props:t,name:"MuiTooltip"}),{arrow:C=!1,children:T,components:A={},componentsProps:M={},describeChild:j=!1,disableFocusListener:$=!1,disableHoverListener:N=!1,disableInteractive:B=!1,disableTouchListener:L=!1,enterDelay:D=100,enterNextDelay:W=0,enterTouchDelay:_=700,followCursor:F=!1,id:z,leaveDelay:q=0,leaveTouchDelay:V=1500,onClose:H,onOpen:K,open:U,placement:X="bottom",PopperComponent:Y,PopperProps:J={},slotProps:Q={},slots:ee={},title:te,TransitionComponent:re=ft,TransitionProps:ne}=O,oe=(0,n.Z)(O,Fr),ie=ce(),ae="rtl"===ie.direction,[se,le]=e.useState(),[ue,pe]=e.useState(null),fe=e.useRef(!1),he=B||F,me=e.useRef(),ye=e.useRef(),ge=e.useRef(),ve=e.useRef(),[be,xe]=(0,Dr.Z)({controlled:U,default:!1,name:"Tooltip",state:"open"});let we=be;const ke=(0,Br.Z)(z),Se=e.useRef(),Ze=e.useCallback((()=>{void 0!==Se.current&&(document.body.style.WebkitUserSelect=Se.current,Se.current=void 0),clearTimeout(ve.current)}),[]);e.useEffect((()=>()=>{clearTimeout(me.current),clearTimeout(ye.current),clearTimeout(ge.current),Ze()}),[Ze]);const Pe=e=>{clearTimeout(Kr),Hr=!0,xe(!0),K&&!we&&K(e)},Re=(0,Ir.Z)((e=>{clearTimeout(Kr),Kr=setTimeout((()=>{Hr=!1}),800+q),xe(!1),H&&we&&H(e),clearTimeout(me.current),me.current=setTimeout((()=>{fe.current=!1}),ie.transitions.duration.shortest)})),Ee=e=>{fe.current&&"touchstart"!==e.type||(se&&se.removeAttribute("title"),clearTimeout(ye.current),clearTimeout(ge.current),D||Hr&&W?ye.current=setTimeout((()=>{Pe(e)}),Hr?W:D):Pe(e))},Oe=e=>{clearTimeout(ye.current),clearTimeout(ge.current),ge.current=setTimeout((()=>{Re(e)}),q)},{isFocusVisibleRef:Ce,onBlur:Te,onFocus:Ae,ref:Me}=(0,Lr.Z)(),[,je]=e.useState(!1),$e=e=>{Te(e),!1===Ce.current&&(je(!1),Oe(e))},Ne=e=>{se||le(e.currentTarget),Ae(e),!0===Ce.current&&(je(!0),Ee(e))},Ie=e=>{fe.current=!0;const t=T.props;t.onTouchStart&&t.onTouchStart(e)},Be=Ee,Le=Oe;e.useEffect((()=>{if(we)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||Re(e)}}),[Re,we]);const De=(0,de.Z)(T.ref,Me,le,r);te||0===te||(we=!1);const We=e.useRef(),_e={},Fe="string"==typeof te;j?(_e.title=we||!Fe||N?null:te,_e["aria-describedby"]=we?ke:null):(_e["aria-label"]=Fe?te:null,_e["aria-labelledby"]=we&&!Fe?ke:null);const ze=(0,o.Z)({},_e,oe,T.props,{className:(0,s.Z)(oe.className,T.props.className),onTouchStart:Ie,ref:De},F?{onMouseMove:e=>{const t=T.props;t.onMouseMove&&t.onMouseMove(e),Gr={x:e.clientX,y:e.clientY},We.current&&We.current.update()}}:{}),qe={};L||(ze.onTouchStart=e=>{Ie(e),clearTimeout(ge.current),clearTimeout(me.current),Ze(),Se.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ve.current=setTimeout((()=>{document.body.style.WebkitUserSelect=Se.current,Ee(e)}),_)},ze.onTouchEnd=e=>{T.props.onTouchEnd&&T.props.onTouchEnd(e),Ze(),clearTimeout(ge.current),ge.current=setTimeout((()=>{Re(e)}),V)}),N||(ze.onMouseOver=Ur(Be,ze.onMouseOver),ze.onMouseLeave=Ur(Le,ze.onMouseLeave),he||(qe.onMouseOver=Be,qe.onMouseLeave=Le)),$||(ze.onFocus=Ur(Ne,ze.onFocus),ze.onBlur=Ur($e,ze.onBlur),he||(qe.onFocus=Ne,qe.onBlur=$e));const Ve=e.useMemo((()=>{var e;let t=[{name:"arrow",enabled:Boolean(ue),options:{element:ue,padding:4}}];return null!=(e=J.popperOptions)&&e.modifiers&&(t=t.concat(J.popperOptions.modifiers)),(0,o.Z)({},J.popperOptions,{modifiers:t})}),[ue,J]),He=(0,o.Z)({},O,{isRtl:ae,arrow:C,disableInteractive:he,placement:X,PopperComponentProp:Y,touch:fe.current}),Ke=(e=>{const{classes:t,disableInteractive:r,arrow:n,touch:o,placement:i}=e,a={popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",o&&"touch",`tooltipPlacement${(0,d.Z)(i.split("-")[0])}`],arrow:["arrow"]};return(0,u.Z)(a,Wr,t)})(He),Ge=null!=(i=null!=(a=ee.popper)?a:A.Popper)?i:zr,Ue=null!=(l=null!=(c=null!=(p=ee.transition)?p:A.Transition)?c:re)?l:ft,Xe=null!=(f=null!=(h=ee.tooltip)?h:A.Tooltip)?f:qr,Ye=null!=(m=null!=(y=ee.arrow)?y:A.Arrow)?m:Vr,Je=I(Ge,(0,o.Z)({},J,null!=(g=Q.popper)?g:M.popper,{className:(0,s.Z)(Ke.popper,null==J?void 0:J.className,null==(v=null!=(b=Q.popper)?b:M.popper)?void 0:v.className)}),He),Qe=I(Ue,(0,o.Z)({},ne,null!=(x=Q.transition)?x:M.transition),He),et=I(Xe,(0,o.Z)({},null!=(k=Q.tooltip)?k:M.tooltip,{className:(0,s.Z)(Ke.tooltip,null==(S=null!=(Z=Q.tooltip)?Z:M.tooltip)?void 0:S.className)}),He),tt=I(Ye,(0,o.Z)({},null!=(P=Q.arrow)?P:M.arrow,{className:(0,s.Z)(Ke.arrow,null==(R=null!=(E=Q.arrow)?E:M.arrow)?void 0:R.className)}),He);return(0,w.jsxs)(e.Fragment,{children:[e.cloneElement(T,ze),(0,w.jsx)(Ge,(0,o.Z)({as:null!=Y?Y:Nr,placement:X,anchorEl:F?{getBoundingClientRect:()=>({top:Gr.y,left:Gr.x,right:Gr.x,bottom:Gr.y,width:0,height:0})}:se,popperRef:We,open:!!se&&we,id:ke,transition:!0},qe,Je,{popperOptions:Ve,children:({TransitionProps:e})=>(0,w.jsx)(Ue,(0,o.Z)({timeout:ie.transitions.duration.shorter},e,Qe,{children:(0,w.jsxs)(Xe,(0,o.Z)({},et,{children:[te,C?(0,w.jsx)(Ye,(0,o.Z)({},tt,{ref:pe})):null]}))}))}))]})})),Yr=Xr;var Jr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};const Qr="object"===("undefined"==typeof window?"undefined":Jr(window))&&"object"===("undefined"==typeof document?"undefined":Jr(document))&&9===document.nodeType;function en(e){return en="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},en(e)}function tn(e){var t=function(e,t){if("object"!==en(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!==en(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"===en(t)?t:String(t)}function rn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,tn(n.key),n)}}function nn(e,t,r){return t&&rn(e.prototype,t),r&&rn(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function on(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var an={}.constructor;function sn(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(sn);if(e.constructor!==an)return e;var t={};for(var r in e)t[r]=sn(e[r]);return t}function ln(e,t,r){void 0===e&&(e="unnamed");var n=r.jss,o=sn(t);return n.plugins.onCreateRule(e,o,r)||(e[0],null)}var cn=function(e,t){for(var r="",n=0;n<e.length&&"!important"!==e[n];n++)r&&(r+=t),r+=e[n];return r},un=function(e){if(!Array.isArray(e))return e;var t="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)t&&(t+=", "),t+=cn(e[r]," ");else t=cn(e,", ");return"!important"===e[e.length-1]&&(t+=" !important"),t};function pn(e){return e&&!1===e.format?{linebreak:"",space:""}:{linebreak:"\n",space:" "}}function dn(e,t){for(var r="",n=0;n<t;n++)r+=" ";return r+e}function fn(e,t,r){void 0===r&&(r={});var n="";if(!t)return n;var o=r.indent,i=void 0===o?0:o,a=t.fallbacks;!1===r.format&&(i=-1/0);var s=pn(r),l=s.linebreak,c=s.space;if(e&&i++,a)if(Array.isArray(a))for(var u=0;u<a.length;u++){var p=a[u];for(var d in p){var f=p[d];null!=f&&(n&&(n+=l),n+=dn(d+":"+c+un(f)+";",i))}}else for(var h in a){var m=a[h];null!=m&&(n&&(n+=l),n+=dn(h+":"+c+un(m)+";",i))}for(var y in t){var g=t[y];null!=g&&"fallbacks"!==y&&(n&&(n+=l),n+=dn(y+":"+c+un(g)+";",i))}return(n||r.allowEmpty)&&e?(n&&(n=""+l+n+l),dn(""+e+c+"{"+n,--i)+dn("}",i)):n}var hn=/([[\].#*$><+~=|^:(),"'`\s])/g,mn="undefined"!=typeof CSS&&CSS.escape,yn=function(e){return mn?mn(e):e.replace(hn,"\\$1")},gn=function(){function e(e,t,r){this.type="style",this.isProcessed=!1;var n=r.sheet,o=r.Renderer;this.key=e,this.options=r,this.style=t,n?this.renderer=n.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,r){if(void 0===t)return this.style[e];var n=!!r&&r.force;if(!n&&this.style[e]===t)return this;var o=t;r&&!1===r.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!n)return this;var s=i&&a;if(s?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var l=this.options.sheet;return l&&l.attached,this},e}(),vn=function(e){function t(t,r,n){var o;o=e.call(this,t,r,n)||this;var i=n.selector,a=n.scoped,s=n.sheet,l=n.generateId;return i?o.selectorText=i:!1!==a&&(o.id=l(on(on(o)),s),o.selectorText="."+yn(o.id)),o}X(t,e);var r=t.prototype;return r.applyTo=function(e){var t=this.renderer;if(t){var r=this.toJSON();for(var n in r)t.setProperty(e,n,r[n])}return this},r.toJSON=function(){var e={};for(var t in this.style){var r=this.style[t];"object"!=typeof r?e[t]=r:Array.isArray(r)&&(e[t]=un(r))}return e},r.toString=function(e){var t=this.options.sheet,r=t&&t.options.link?(0,o.Z)({},e,{allowEmpty:!0}):e;return fn(this.selectorText,this.style,r)},nn(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,r=this.renderable;r&&t&&(t.setSelector(r,e)||t.replaceRule(r,this))}},get:function(){return this.selectorText}}]),t}(gn),bn={onCreateRule:function(e,t,r){return"@"===e[0]||r.parent&&"keyframes"===r.parent.type?null:new vn(e,t,r)}},xn={indent:1,children:!0},wn=/@([\w-]+)/,kn=function(){function e(e,t,r){this.type="conditional",this.isProcessed=!1,this.key=e;var n=e.match(wn);for(var i in this.at=n?n[1]:"unknown",this.query=r.name||"@"+this.at,this.options=r,this.rules=new Hn((0,o.Z)({},r,{parent:this})),t)this.rules.add(i,t[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,r){var n=this.rules.add(e,t,r);return n?(this.options.jss.plugins.onProcessRule(n),n):null},t.replaceRule=function(e,t,r){var n=this.rules.replace(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.toString=function(e){void 0===e&&(e=xn);var t=pn(e).linebreak;if(null==e.indent&&(e.indent=xn.indent),null==e.children&&(e.children=xn.children),!1===e.children)return this.query+" {}";var r=this.rules.toString(e);return r?this.query+" {"+t+r+t+"}":""},e}(),Sn=/@container|@media|@supports\s+/,Zn={onCreateRule:function(e,t,r){return Sn.test(e)?new kn(e,t,r):null}},Pn={indent:1,children:!0},Rn=/@keyframes\s+([\w-]+)/,En=function(){function e(e,t,r){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var n=e.match(Rn);n&&n[1]?this.name=n[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=r;var i=r.scoped,a=r.sheet,s=r.generateId;for(var l in this.id=!1===i?this.name:yn(s(this,a)),this.rules=new Hn((0,o.Z)({},r,{parent:this})),t)this.rules.add(l,t[l],(0,o.Z)({},r,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=Pn);var t=pn(e).linebreak;if(null==e.indent&&(e.indent=Pn.indent),null==e.children&&(e.children=Pn.children),!1===e.children)return this.at+" "+this.id+" {}";var r=this.rules.toString(e);return r&&(r=""+t+r+t),this.at+" "+this.id+" {"+r+"}"},e}(),On=/@keyframes\s+/,Cn=/\$([\w-]+)/g,Tn=function(e,t){return"string"==typeof e?e.replace(Cn,(function(e,r){return r in t?t[r]:e})):e},An=function(e,t,r){var n=e[t],o=Tn(n,r);o!==n&&(e[t]=o)},Mn={onCreateRule:function(e,t,r){return"string"==typeof e&&On.test(e)?new En(e,t,r):null},onProcessStyle:function(e,t,r){return"style"===t.type&&r?("animation-name"in e&&An(e,"animation-name",r.keyframes),"animation"in e&&An(e,"animation",r.keyframes),e):e},onChangeValue:function(e,t,r){var n=r.options.sheet;if(!n)return e;switch(t){case"animation":case"animation-name":return Tn(e,n.keyframes);default:return e}}},jn=function(e){function t(){return e.apply(this,arguments)||this}return X(t,e),t.prototype.toString=function(e){var t=this.options.sheet,r=t&&t.options.link?(0,o.Z)({},e,{allowEmpty:!0}):e;return fn(this.key,this.style,r)},t}(gn),$n={onCreateRule:function(e,t,r){return r.parent&&"keyframes"===r.parent.type?new jn(e,t,r):null}},Nn=function(){function e(e,t,r){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=r}return e.prototype.toString=function(e){var t=pn(e).linebreak;if(Array.isArray(this.style)){for(var r="",n=0;n<this.style.length;n++)r+=fn(this.at,this.style[n]),this.style[n+1]&&(r+=t);return r}return fn(this.at,this.style,e)},e}(),In=/@font-face/,Bn={onCreateRule:function(e,t,r){return In.test(e)?new Nn(e,t,r):null}},Ln=function(){function e(e,t,r){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=e,this.style=t,this.options=r}return e.prototype.toString=function(e){return fn(this.key,this.style,e)},e}(),Dn={onCreateRule:function(e,t,r){return"@viewport"===e||"@-ms-viewport"===e?new Ln(e,t,r):null}},Wn=function(){function e(e,t,r){this.type="simple",this.isProcessed=!1,this.key=e,this.value=t,this.options=r}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",r=0;r<this.value.length;r++)t+=this.key+" "+this.value[r]+";",this.value[r+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),_n={"@charset":!0,"@import":!0,"@namespace":!0},Fn={onCreateRule:function(e,t,r){return e in _n?new Wn(e,t,r):null}},zn=[bn,Zn,Mn,$n,Bn,Dn,Fn],qn={process:!0},Vn={force:!0,process:!0},Hn=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,r){var n=this.options,i=n.parent,a=n.sheet,s=n.jss,l=n.Renderer,c=n.generateId,u=n.scoped,p=(0,o.Z)({classes:this.classes,parent:i,sheet:a,jss:s,Renderer:l,generateId:c,scoped:u,name:e,keyframes:this.keyframes,selector:void 0},r),d=e;e in this.raw&&(d=e+"-d"+this.counter++),this.raw[d]=t,d in this.classes&&(p.selector="."+yn(this.classes[d]));var f=ln(d,t,p);if(!f)return null;this.register(f);var h=void 0===p.index?this.index.length:p.index;return this.index.splice(h,0,f),f},t.replace=function(e,t,r){var n=this.get(e),i=this.index.indexOf(n);n&&this.remove(n);var a=r;return-1!==i&&(a=(0,o.Z)({},r,{index:i})),this.add(e,t,a)},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof vn?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof En&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof vn?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof En&&delete this.keyframes[e.name]},t.update=function(){var e,t,r;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],r=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],r=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.get(e),t,r);else for(var n=0;n<this.index.length;n++)this.updateOne(this.index[n],t,r)},t.updateOne=function(t,r,n){void 0===n&&(n=qn);var o=this.options,i=o.jss.plugins,a=o.sheet;if(t.rules instanceof e)t.rules.update(r,n);else{var s=t.style;if(i.onUpdate(r,t,a,n),n.process&&s&&s!==t.style){for(var l in i.onProcessStyle(t.style,t,a),t.style){var c=t.style[l];c!==s[l]&&t.prop(l,c,Vn)}for(var u in s){var p=t.style[u],d=s[u];null==p&&p!==d&&t.prop(u,null,Vn)}}}},t.toString=function(e){for(var t="",r=this.options.sheet,n=!!r&&r.options.link,o=pn(e).linebreak,i=0;i<this.index.length;i++){var a=this.index[i].toString(e);(a||n)&&(t&&(t+=o),t+=a)}return t},e}(),Kn=function(){function e(e,t){for(var r in this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=(0,o.Z)({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new Hn(this.options),e)this.rules.add(r,e[r]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,r){var n=this.queue;this.attached&&!n&&(this.queue=[]);var o=this.rules.add(e,t,r);return o?(this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(n?n.push(o):(this.insertRule(o),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),o):o:(this.deployed=!1,o)):null},t.replaceRule=function(e,t,r){var n=this.rules.get(e);if(!n)return this.addRule(e,t,r);var o=this.rules.replace(e,t,r);return o&&this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(this.renderer&&(o?n.renderable&&this.renderer.replaceRule(n.renderable,o):this.renderer.deleteRule(n)),o):o:(this.deployed=!1,o)},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var r=[];for(var n in e){var o=this.addRule(n,e[n],t);o&&r.push(o)}return r},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"==typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,r){return this.rules.updateOne(e,t,r),this},t.toString=function(e){return this.rules.toString(e)},e}(),Gn=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(e,t,r){for(var n=0;n<this.registry.onCreateRule.length;n++){var o=this.registry.onCreateRule[n](e,t,r);if(o)return o}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,r=0;r<this.registry.onProcessRule.length;r++)this.registry.onProcessRule[r](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,r){for(var n=0;n<this.registry.onProcessStyle.length;n++)t.style=this.registry.onProcessStyle[n](t.style,t,r)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,r,n){for(var o=0;o<this.registry.onUpdate.length;o++)this.registry.onUpdate[o](e,t,r,n)},t.onChangeValue=function(e,t,r){for(var n=e,o=0;o<this.registry.onChangeValue.length;o++)n=this.registry.onChangeValue[o](n,t,r);return n},t.use=function(e,t){void 0===t&&(t={queue:"external"});var r=this.plugins[t.queue];-1===r.indexOf(e)&&(r.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var r in t)r in e&&e[r].push(t[r]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),Un=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,r=e.options.index;if(-1===t.indexOf(e))if(0===t.length||r>=this.index)t.push(e);else for(var n=0;n<t.length;n++)if(t[n].options.index>r)return void t.splice(n,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,r=t.attached,o=(0,n.Z)(t,["attached"]),i=pn(o).linebreak,a="",s=0;s<this.registry.length;s++){var l=this.registry[s];null!=r&&l.attached!==r||(a&&(a+=i),a+=l.toString(o))}return a},nn(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}(),Xn=new Un,Yn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:Function("return this")(),Jn="2f1acc6c3a606b082e5eef5e54414ffb";null==Yn[Jn]&&(Yn[Jn]=0);var Qn=Yn[Jn]++,eo=function(e){void 0===e&&(e={});var t=0;return function(r,n){t+=1;var o="",i="";return n&&(n.options.classNamePrefix&&(i=n.options.classNamePrefix),null!=n.options.jss.id&&(o=String(n.options.jss.id))),e.minify?""+(i||"c")+Qn+o+t:i+r.key+"-"+Qn+(o?"-"+o:"")+"-"+t}},to=function(e){var t;return function(){return t||(t=e()),t}},ro=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}},no=function(e,t,r){try{var n=r;if(Array.isArray(r)&&(n=un(r)),e.attributeStyleMap)e.attributeStyleMap.set(t,n);else{var o=n?n.indexOf("!important"):-1,i=o>-1?n.substr(0,o-1):n;e.style.setProperty(t,i,o>-1?"important":"")}}catch(e){return!1}return!0},oo=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},io=function(e,t){return e.selectorText=t,e.selectorText===t},ao=to((function(){return document.querySelector("head")}));var so=to((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),lo=function(e,t,r){try{"insertRule"in e?e.insertRule(t,r):"appendRule"in e&&e.appendRule(t)}catch(e){return!1}return e.cssRules[r]},co=function(e,t){var r=e.cssRules.length;return void 0===t||t>r?r:t},uo=function(){function e(e){this.getPropertyValue=ro,this.setProperty=no,this.removeProperty=oo,this.setSelector=io,this.hasInsertedRules=!1,this.cssRules=[],e&&Xn.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},r=t.media,n=t.meta,o=t.element;this.element=o||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),r&&this.element.setAttribute("media",r),n&&this.element.setAttribute("data-meta",n);var i=so();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var r=t.insertionPoint,n=function(e){var t=Xn.registry;if(t.length>0){var r=function(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(n.attached&&n.options.index>t.index&&n.options.insertionPoint===t.insertionPoint)return n}return null}(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=function(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.attached&&n.options.insertionPoint===t.insertionPoint)return n}return null}(t,e),r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element.nextSibling}}var n=e.insertionPoint;if(n&&"string"==typeof n){var o=function(e){for(var t=ao(),r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];if(8===n.nodeType&&n.nodeValue.trim()===e)return n}return null}(n);if(o)return{parent:o.parentNode,node:o.nextSibling}}return!1}(t);if(!1!==n&&n.parent)n.parent.insertBefore(e,n.node);else if(r&&"number"==typeof r.nodeType){var o=r,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else ao().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var r=0;r<e.index.length;r++)this.insertRule(e.index[r],r,t)},t.insertRule=function(e,t,r){if(void 0===r&&(r=this.element.sheet),e.rules){var n=e,o=r;if("conditional"===e.type||"keyframes"===e.type){var i=co(r,t);if(!1===(o=lo(r,n.toString({children:!1}),i)))return!1;this.refCssRule(e,i,o)}return this.insertRules(n.rules,o),o}var a=e.toString();if(!a)return!1;var s=co(r,t),l=lo(r,a,s);return!1!==l&&(this.hasInsertedRules=!0,this.refCssRule(e,s,l),l)},t.refCssRule=function(e,t,r){e.renderable=r,e.options.parent instanceof Kn&&this.cssRules.splice(t,0,r)},t.deleteRule=function(e){var t=this.element.sheet,r=this.indexOf(e);return-1!==r&&(t.deleteRule(r),this.cssRules.splice(r,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var r=this.indexOf(e);return-1!==r&&(this.element.sheet.deleteRule(r),this.cssRules.splice(r,1),this.insertRule(t,r))},t.getRules=function(){return this.element.sheet.cssRules},e}(),po=0,fo=function(){function e(e){this.id=po++,this.version="10.10.0",this.plugins=new Gn,this.options={id:{minify:!1},createGenerateId:eo,Renderer:Qr?uo:null,plugins:[]},this.generateId=eo({minify:!1});for(var t=0;t<zn.length;t++)this.plugins.use(zn[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=(0,o.Z)({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var r=t.index;"number"!=typeof r&&(r=0===Xn.index?0:Xn.index+1);var n=new Kn(e,(0,o.Z)({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:r}));return this.plugins.onProcessSheet(n),n},t.removeStyleSheet=function(e){return e.detach(),Xn.remove(e),this},t.createRule=function(e,t,r){if(void 0===t&&(t={}),void 0===r&&(r={}),"object"==typeof e)return this.createRule(void 0,e,t);var n=(0,o.Z)({},r,{name:e,jss:this,Renderer:this.options.Renderer});n.generateId||(n.generateId=this.generateId),n.classes||(n.classes={}),n.keyframes||(n.keyframes={});var i=ln(e,t,n);return i&&this.plugins.onProcessRule(i),i},t.use=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.forEach((function(t){e.plugins.use(t)})),this},e}(),ho=function(e){return new fo(e)},mo="object"==typeof CSS&&null!=CSS&&"number"in CSS;function yo(e){var t=null;for(var r in e){var n=e[r],o=typeof n;if("function"===o)t||(t={}),t[r]=n;else if("object"===o&&null!==n&&!Array.isArray(n)){var i=yo(n);i&&(t||(t={}),t[r]=i)}}return t}function go(e={}){const{baseClasses:t,newClasses:r,Component:n}=e;if(!r)return t;const i=(0,o.Z)({},t);return Object.keys(r).forEach((e=>{r[e]&&(i[e]=`${t[e]} ${r[e]}`)})),i}ho();const vo={set:(e,t,r,n)=>{let o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(r,n)},get:(e,t,r)=>{const n=e.get(t);return n?n.get(r):void 0},delete:(e,t,r)=>{e.get(t).delete(r)}},bo=vo,xo=e.createContext(null);function wo(){var t;const r=e.useContext(xo);return null!=(t=null==r?void 0:r.$$material)?t:r}const ko="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",So=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var Zo=Date.now(),Po="fnValues"+Zo,Ro="fnStyle"+ ++Zo;var Eo="@global",Oo="@global ",Co=function(){function e(e,t,r){for(var n in this.type="global",this.at=Eo,this.isProcessed=!1,this.key=e,this.options=r,this.rules=new Hn((0,o.Z)({},r,{parent:this})),t)this.rules.add(n,t[n]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,r){var n=this.rules.add(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.replaceRule=function(e,t,r){var n=this.rules.replace(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),To=function(){function e(e,t,r){this.type="global",this.at=Eo,this.isProcessed=!1,this.key=e,this.options=r;var n=e.substr(Oo.length);this.rule=r.jss.createRule(n,t,(0,o.Z)({},r,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),Ao=/\s*,\s*/g;function Mo(e,t){for(var r=e.split(Ao),n="",o=0;o<r.length;o++)n+=t+" "+r[o].trim(),r[o+1]&&(n+=", ");return n}var jo=/\s*,\s*/g,$o=/&/g,No=/\$([\w-]+)/g;var Io=/[A-Z]/g,Bo=/^ms-/,Lo={};function Do(e){return"-"+e.toLowerCase()}const Wo=function(e){if(Lo.hasOwnProperty(e))return Lo[e];var t=e.replace(Io,Do);return Lo[e]=Bo.test(t)?"-"+t:t};function _o(e){var t={};for(var r in e)t[0===r.indexOf("--")?r:Wo(r)]=e[r];return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(_o):t.fallbacks=_o(e.fallbacks)),t}var Fo=mo&&CSS?CSS.px:"px",zo=mo&&CSS?CSS.ms:"ms",qo=mo&&CSS?CSS.percent:"%";function Vo(e){var t=/(-[a-z])/g,r=function(e){return e[1].toUpperCase()},n={};for(var o in e)n[o]=e[o],n[o.replace(t,r)]=e[o];return n}var Ho=Vo({"animation-delay":zo,"animation-duration":zo,"background-position":Fo,"background-position-x":Fo,"background-position-y":Fo,"background-size":Fo,border:Fo,"border-bottom":Fo,"border-bottom-left-radius":Fo,"border-bottom-right-radius":Fo,"border-bottom-width":Fo,"border-left":Fo,"border-left-width":Fo,"border-radius":Fo,"border-right":Fo,"border-right-width":Fo,"border-top":Fo,"border-top-left-radius":Fo,"border-top-right-radius":Fo,"border-top-width":Fo,"border-width":Fo,"border-block":Fo,"border-block-end":Fo,"border-block-end-width":Fo,"border-block-start":Fo,"border-block-start-width":Fo,"border-block-width":Fo,"border-inline":Fo,"border-inline-end":Fo,"border-inline-end-width":Fo,"border-inline-start":Fo,"border-inline-start-width":Fo,"border-inline-width":Fo,"border-start-start-radius":Fo,"border-start-end-radius":Fo,"border-end-start-radius":Fo,"border-end-end-radius":Fo,margin:Fo,"margin-bottom":Fo,"margin-left":Fo,"margin-right":Fo,"margin-top":Fo,"margin-block":Fo,"margin-block-end":Fo,"margin-block-start":Fo,"margin-inline":Fo,"margin-inline-end":Fo,"margin-inline-start":Fo,padding:Fo,"padding-bottom":Fo,"padding-left":Fo,"padding-right":Fo,"padding-top":Fo,"padding-block":Fo,"padding-block-end":Fo,"padding-block-start":Fo,"padding-inline":Fo,"padding-inline-end":Fo,"padding-inline-start":Fo,"mask-position-x":Fo,"mask-position-y":Fo,"mask-size":Fo,height:Fo,width:Fo,"min-height":Fo,"max-height":Fo,"min-width":Fo,"max-width":Fo,bottom:Fo,left:Fo,top:Fo,right:Fo,inset:Fo,"inset-block":Fo,"inset-block-end":Fo,"inset-block-start":Fo,"inset-inline":Fo,"inset-inline-end":Fo,"inset-inline-start":Fo,"box-shadow":Fo,"text-shadow":Fo,"column-gap":Fo,"column-rule":Fo,"column-rule-width":Fo,"column-width":Fo,"font-size":Fo,"font-size-delta":Fo,"letter-spacing":Fo,"text-decoration-thickness":Fo,"text-indent":Fo,"text-stroke":Fo,"text-stroke-width":Fo,"word-spacing":Fo,motion:Fo,"motion-offset":Fo,outline:Fo,"outline-offset":Fo,"outline-width":Fo,perspective:Fo,"perspective-origin-x":qo,"perspective-origin-y":qo,"transform-origin":qo,"transform-origin-x":qo,"transform-origin-y":qo,"transform-origin-z":qo,"transition-delay":zo,"transition-duration":zo,"vertical-align":Fo,"flex-basis":Fo,"shape-margin":Fo,size:Fo,gap:Fo,grid:Fo,"grid-gap":Fo,"row-gap":Fo,"grid-row-gap":Fo,"grid-column-gap":Fo,"grid-template-rows":Fo,"grid-template-columns":Fo,"grid-auto-rows":Fo,"grid-auto-columns":Fo,"box-shadow-x":Fo,"box-shadow-y":Fo,"box-shadow-blur":Fo,"box-shadow-spread":Fo,"font-line-height":Fo,"text-shadow-x":Fo,"text-shadow-y":Fo,"text-shadow-blur":Fo});function Ko(e,t,r){if(null==t)return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]=Ko(e,t[n],r);else if("object"==typeof t)if("fallbacks"===e)for(var o in t)t[o]=Ko(o,t[o],r);else for(var i in t)t[i]=Ko(e+"-"+i,t[i],r);else if("number"==typeof t&&!1===isNaN(t)){var a=r[e]||Ho[e];return!a||0===t&&a===Fo?t.toString():"function"==typeof a?a(t).toString():""+t+a}return t}function Go(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Uo="",Xo="",Yo="",Jo="",Qo=Qr&&"ontouchstart"in document.documentElement;if(Qr){var ei={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},ti=document.createElement("p").style;for(var ri in ei)if(ri+"Transform"in ti){Uo=ri,Xo=ei[ri];break}"Webkit"===Uo&&"msHyphens"in ti&&(Uo="ms",Xo=ei.ms,Jo="edge"),"Webkit"===Uo&&"-apple-trailing-word"in ti&&(Yo="apple")}var ni=Uo,oi=Xo,ii=Yo,ai=Jo,si=Qo,li={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===ni?"-webkit-"+e:oi+e)}},ci={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===ni?oi+"print-"+e:e)}},ui=/[-\s]+(.)?/g;function pi(e,t){return t?t.toUpperCase():""}function di(e){return e.replace(ui,pi)}function fi(e){return di("-"+e)}var hi,mi={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===ni){var r="mask-image";if(di(r)in t)return e;if(ni+fi(r)in t)return oi+e}return e}},yi={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==ii||si?e:oi+e)}},gi={noPrefill:["transform"],supportedProperty:function(e,t,r){return"transform"===e&&(r.transform?e:oi+e)}},vi={noPrefill:["transition"],supportedProperty:function(e,t,r){return"transition"===e&&(r.transition?e:oi+e)}},bi={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===ni||"ms"===ni&&"edge"!==ai?oi+e:e)}},xi={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===ni||"ms"===ni||"apple"===ii?oi+e:e)}},wi={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===ni?"WebkitColumn"+fi(e)in t&&oi+"column-"+e:"Moz"===ni&&"page"+fi(e)in t&&"page-"+e)}},ki={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===ni)return e;var r=e.replace("-inline","");return ni+fi(r)in t&&oi+r}},Si={supportedProperty:function(e,t){return di(e)in t&&e}},Zi={supportedProperty:function(e,t){var r=fi(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:ni+r in t?oi+e:"Webkit"!==ni&&"Webkit"+r in t&&"-webkit-"+e}},Pi={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===ni?""+oi+e:e)}},Ri={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===ni?oi+"scroll-chaining":e)}},Ei={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},Oi={supportedProperty:function(e,t){var r=Ei[e];return!!r&&ni+fi(r)in t&&oi+r}},Ci={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},Ti=Object.keys(Ci),Ai=function(e){return oi+e},Mi={supportedProperty:function(e,t,r){var n=r.multiple;if(Ti.indexOf(e)>-1){var o=Ci[e];if(!Array.isArray(o))return ni+fi(o)in t&&oi+o;if(!n)return!1;for(var i=0;i<o.length;i++)if(!(ni+fi(o[0])in t))return!1;return o.map(Ai)}return!1}},ji=[li,ci,mi,yi,gi,vi,bi,xi,wi,ki,Si,Zi,Pi,Ri,Oi,Mi],$i=ji.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),Ni=ji.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,function(e){if(Array.isArray(e))return Go(e)}(r=t.noPrefill)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return Go(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Go(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),e;var r}),[]),Ii={};if(Qr){hi=document.createElement("p");var Bi=window.getComputedStyle(document.documentElement,"");for(var Li in Bi)isNaN(Li)||(Ii[Bi[Li]]=Bi[Li]);Ni.forEach((function(e){return delete Ii[e]}))}function Di(e,t){if(void 0===t&&(t={}),!hi)return e;if(null!=Ii[e])return Ii[e];"transition"!==e&&"transform"!==e||(t[e]=e in hi.style);for(var r=0;r<$i.length&&(Ii[e]=$i[r](e,hi.style,t),!Ii[e]);r++);try{hi.style[e]=""}catch(e){return!1}return Ii[e]}var Wi,_i={},Fi={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},zi=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function qi(e,t,r){return"var"===t?"var":"all"===t?"all":"all"===r?", all":(t?Di(t):", "+Di(r))||t||r}function Vi(e,t){var r=t;if(!Wi||"content"===e)return t;if("string"!=typeof r||!isNaN(parseInt(r,10)))return r;var n=e+r;if(null!=_i[n])return _i[n];try{Wi.style[e]=r}catch(e){return _i[n]=!1,!1}if(Fi[e])r=r.replace(zi,qi);else if(""===Wi.style[e]&&("-ms-flex"===(r=oi+r)&&(Wi.style[e]="-ms-flexbox"),Wi.style[e]=r,""===Wi.style[e]))return _i[n]=!1,!1;return Wi.style[e]="",_i[n]=r,_i[n]}Qr&&(Wi=document.createElement("p"));const Hi=ho({plugins:[{onCreateRule:function(e,t,r){if("function"!=typeof t)return null;var n=ln(e,{},r);return n[Ro]=t,n},onProcessStyle:function(e,t){if(Po in t||Ro in t)return e;var r={};for(var n in e){var o=e[n];"function"==typeof o&&(delete e[n],r[n]=o)}return t[Po]=r,e},onUpdate:function(e,t,r,n){var o=t,i=o[Ro];i&&(o.style=i(e)||{});var a=o[Po];if(a)for(var s in a)o.prop(s,a[s](e),n)}},{onCreateRule:function(e,t,r){if(!e)return null;if(e===Eo)return new Co(e,t,r);if("@"===e[0]&&e.substr(0,Oo.length)===Oo)return new To(e,t,r);var n=r.parent;return n&&("global"===n.type||n.options.parent&&"global"===n.options.parent.type)&&(r.scoped=!1),r.selector||!1!==r.scoped||(r.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var r=e.options,n=e.style,i=n?n[Eo]:null;if(i){for(var a in i)t.addRule(a,i[a],(0,o.Z)({},r,{selector:Mo(a,e.selector)}));delete n[Eo]}}(e,t),function(e,t){var r=e.options,n=e.style;for(var i in n)if("@"===i[0]&&i.substr(0,Eo.length)===Eo){var a=Mo(i.substr(Eo.length),e.selector);t.addRule(a,n[i],(0,o.Z)({},r,{selector:a})),delete n[i]}}(e,t))}},function(){function e(e,t){return function(r,n){var o=e.getRule(n)||t&&t.getRule(n);return o?o.selector:n}}function t(e,t){for(var r=t.split(jo),n=e.split(jo),o="",i=0;i<r.length;i++)for(var a=r[i],s=0;s<n.length;s++){var l=n[s];o&&(o+=", "),o+=-1!==l.indexOf("&")?l.replace($o,a):a+" "+l}return o}function r(e,t,r){if(r)return(0,o.Z)({},r,{index:r.index+1});var n=e.options.nestingLevel;n=void 0===n?1:n+1;var i=(0,o.Z)({},e.options,{nestingLevel:n,index:t.indexOf(e)+1});return delete i.name,i}return{onProcessStyle:function(n,i,a){if("style"!==i.type)return n;var s,l,c=i,u=c.options.parent;for(var p in n){var d=-1!==p.indexOf("&"),f="@"===p[0];if(d||f){if(s=r(c,u,s),d){var h=t(p,c.selector);l||(l=e(u,a)),h=h.replace(No,l);var m=c.key+"-"+p;"replaceRule"in u?u.replaceRule(m,n[p],(0,o.Z)({},s,{selector:h})):u.addRule(m,n[p],(0,o.Z)({},s,{selector:h}))}else f&&u.addRule(p,{},s).addRule(c.key,n[p],{selector:c.selector});delete n[p]}}return n}}}(),{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=_o(e[t]);return e}return _o(e)},onChangeValue:function(e,t,r){if(0===t.indexOf("--"))return e;var n=Wo(t);return t===n?e:(r.prop(n,e),null)}},function(e){void 0===e&&(e={});var t=Vo(e);return{onProcessStyle:function(e,r){if("style"!==r.type)return e;for(var n in e)e[n]=Ko(n,e[n],t);return e},onChangeValue:function(e,r){return Ko(r,e,t)}}}(),"undefined"==typeof window?null:function(){function e(t){for(var r in t){var n=t[r];if("fallbacks"===r&&Array.isArray(n))t[r]=n.map(e);else{var o=!1,i=Di(r);i&&i!==r&&(o=!0);var a=!1,s=Vi(i,un(n));s&&s!==n&&(a=!0),(o||a)&&(o&&delete t[r],t[i||r]=s||n)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=function(e){return"-"===e[1]||"ms"===ni?e:"@"+oi+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,r){return"style"!==r.type?t:e(t)},onChangeValue:function(e,t){return Vi(t,un(e))||e}}}(),(Ui=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length},{onProcessStyle:function(e,t){if("style"!==t.type)return e;for(var r={},n=Object.keys(e).sort(Ui),o=0;o<n.length;o++)r[n[o]]=e[n[o]];return r}})]}),Ki={disableGeneration:!1,generateClassName:function(e={}){const{disableGlobal:t=!1,productionPrefix:r="jss",seed:n=""}=e,o=""===n?"":`${n}-`;let i=0;const a=()=>(i+=1,i);return(e,i)=>{const s=i.options.name;if(s&&0===s.indexOf("Mui")&&!i.options.link&&!t){if(-1!==So.indexOf(e.key))return`Mui-${e.key}`;const t=`${o}${s}-${e.key}`;return i.options.theme[ko]&&""===n?`${t}-${a()}`:t}return`${o}${r}${a()}`}}(),jss:Hi,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},Gi=e.createContext(Ki);var Ui;let Xi=-1e9;var Yi=l(1290);const Ji=["variant"];function Qi(e){return 0===e.length}const ea={},ta=["name","classNamePrefix","Component","defaultTheme"];function ra({state:e,theme:t,stylesOptions:r,stylesCreator:n,name:i},a){if(r.disableGeneration)return;let s=bo.get(r.sheetsManager,n,t);s||(s={refs:0,staticSheet:null,dynamicStyles:null},bo.set(r.sheetsManager,n,t,s));const l=(0,o.Z)({},n.options,r,{theme:t,flip:"boolean"==typeof r.flip?r.flip:"rtl"===t.direction});l.generateId=l.serverGenerateClassName||l.generateClassName;const c=r.sheetsRegistry;if(0===s.refs){let e;r.sheetsCache&&(e=bo.get(r.sheetsCache,n,t));const a=n.create(t,i);e||(e=r.jss.createStyleSheet(a,(0,o.Z)({link:!1},l)),e.attach(),r.sheetsCache&&bo.set(r.sheetsCache,n,t,e)),c&&c.add(e),s.staticSheet=e,s.dynamicStyles=yo(a)}if(s.dynamicStyles){const t=r.jss.createStyleSheet(s.dynamicStyles,(0,o.Z)({link:!0},l));t.update(a),t.attach(),e.dynamicSheet=t,e.classes=go({baseClasses:s.staticSheet.classes,newClasses:t.classes}),c&&c.add(t)}else e.classes=s.staticSheet.classes;s.refs+=1}function na(t,r={}){const{name:i,classNamePrefix:a,Component:s,defaultTheme:l=ea}=r,c=(0,n.Z)(r,ta),u=function(e){const t="function"==typeof e;return{create:(r,i)=>{let a;try{a=t?e(r):e}catch(e){throw e}if(!i||!r.components||!r.components[i]||!r.components[i].styleOverrides&&!r.components[i].variants)return a;const s=r.components[i].styleOverrides||{},l=r.components[i].variants||[],c=(0,o.Z)({},a);return Object.keys(s).forEach((e=>{c[e]=(0,Ue.Z)(c[e]||{},s[e])})),l.forEach((e=>{const t=function(e){const{variant:t}=e,r=(0,n.Z)(e,Ji);let o=t||"";return Object.keys(r).sort().forEach((t=>{o+="color"===t?Qi(o)?e[t]:(0,Yi.Z)(e[t]):`${Qi(o)?t:(0,Yi.Z)(t)}${(0,Yi.Z)(e[t].toString())}`})),o}(e.props);c[t]=(0,Ue.Z)(c[t]||{},e.style)})),c},options:{}}}(t),p=i||a||"makeStyles";return u.options={index:(Xi+=1,Xi),name:i,meta:p,classNamePrefix:p},(t={})=>{const r=wo()||l,n=(0,o.Z)({},e.useContext(Gi),c),a=e.useRef(),p=e.useRef();!function(o,s){const l=e.useRef([]);let c;const d=e.useMemo((()=>({})),s);l.current!==d&&(l.current=d,c=(()=>{const e={name:i,state:{},stylesCreator:u,stylesOptions:n,theme:r};return ra(e,t),p.current=!1,a.current=e,()=>{!function({state:e,theme:t,stylesOptions:r,stylesCreator:n}){if(r.disableGeneration)return;const o=bo.get(r.sheetsManager,n,t);o.refs-=1;const i=r.sheetsRegistry;0===o.refs&&(bo.delete(r.sheetsManager,n,t),r.jss.removeStyleSheet(o.staticSheet),i&&i.remove(o.staticSheet)),e.dynamicSheet&&(r.jss.removeStyleSheet(e.dynamicSheet),i&&i.remove(e.dynamicSheet))}(e)}})()),e.useEffect((()=>()=>{c&&c()}),[d])}(0,[r,u]),e.useEffect((()=>{p.current&&function({state:e},t){e.dynamicSheet&&e.dynamicSheet.update(t)}(a.current,t),p.current=!0}));const d=function({state:e,stylesOptions:t},r,n){if(t.disableGeneration)return r||{};e.cacheClasses||(e.cacheClasses={value:null,lastProp:null,lastJSS:{}});let o=!1;return e.classes!==e.cacheClasses.lastJSS&&(e.cacheClasses.lastJSS=e.classes,o=!0),r!==e.cacheClasses.lastProp&&(e.cacheClasses.lastProp=r,o=!0),o&&(e.cacheClasses.value=go({baseClasses:e.cacheClasses.lastJSS,newClasses:r,Component:n})),e.cacheClasses.value}(a.current,t.classes,s);return d}}const oa={tooltipTitle:a().node,tooltipPlacement:a().string,showForDisabled:a().bool};const ia={modifiers:[{name:"preventOverflow",options:{altAxis:!0}}]},aa=na((e=>({tooltip:e.tooltip,wrapper:{lineHeight:0}})));function sa(t,r){var n=Object.create(null);return t&&e.Children.map(t,(function(e){return e})).forEach((function(t){n[t.key]=function(t){return r&&(0,e.isValidElement)(t)?r(t):t}(t)})),n}function la(e,t,r){return null!=r[t]?r[t]:e.props[t]}function ca(t,r,n){var o=sa(t.children),i=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(n=0;n<o[l].length;n++){var c=o[l][n];s[o[l][n]]=r(c)}s[l]=r(l)}for(n=0;n<i.length;n++)s[i[n]]=r(i[n]);return s}(r,o);return Object.keys(i).forEach((function(a){var s=i[a];if((0,e.isValidElement)(s)){var l=a in r,c=a in o,u=r[a],p=(0,e.isValidElement)(u)&&!u.props.in;!c||l&&!p?c||!l||p?c&&l&&(0,e.isValidElement)(u)&&(i[a]=(0,e.cloneElement)(s,{onExited:n.bind(null,s),in:u.props.in,exit:la(s,"exit",t),enter:la(s,"enter",t)})):i[a]=(0,e.cloneElement)(s,{in:!1}):i[a]=(0,e.cloneElement)(s,{onExited:n.bind(null,s),in:!0,exit:la(s,"exit",t),enter:la(s,"enter",t)})}})),i}var ua=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},pa=function(r){function i(e,t){var n,o=(n=r.call(this,e,t)||this).handleExited.bind(on(n));return n.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},n}X(i,r);var a=i.prototype;return a.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},a.componentWillUnmount=function(){this.mounted=!1},i.getDerivedStateFromProps=function(t,r){var n,o,i=r.children,a=r.handleExited;return{children:r.firstRender?(n=t,o=a,sa(n.children,(function(t){return(0,e.cloneElement)(t,{onExited:o.bind(null,t),in:!0,appear:la(t,"appear",n),enter:la(t,"enter",n),exit:la(t,"exit",n)})}))):ca(t,i,a),firstRender:!1}},a.handleExited=function(e,t){var r=sa(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var r=(0,o.Z)({},t.children);return delete r[e.key],{children:r}})))},a.render=function(){var e=this.props,r=e.component,o=e.childFactory,i=(0,n.Z)(e,["component","childFactory"]),a=this.state.contextValue,s=ua(this.state.children).map(o);return delete i.appear,delete i.enter,delete i.exit,null===r?t().createElement(Y.Provider,{value:a},s):t().createElement(Y.Provider,{value:a},t().createElement(r,i,s))},i}(t().Component);pa.propTypes={},pa.defaultProps={component:"div",childFactory:function(e){return e}};const da=pa;l(2668);var fa=l(4422),ha=(l(5635),l(3463)),ma=l.n(ha);function ya(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,fa.O)(t)}var ga=function(){var e=ya.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}};const va=(0,M.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),ba=["center","classes","className"];let xa,wa,ka,Sa,Za=e=>e;const Pa=ga(xa||(xa=Za`
|
|
3
|
+
0% {
|
|
4
|
+
transform: scale(0);
|
|
5
|
+
opacity: 0.1;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
100% {
|
|
9
|
+
transform: scale(1);
|
|
10
|
+
opacity: 0.3;
|
|
11
|
+
}
|
|
12
|
+
`)),Ra=ga(wa||(wa=Za`
|
|
13
|
+
0% {
|
|
14
|
+
opacity: 1;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
100% {
|
|
18
|
+
opacity: 0;
|
|
19
|
+
}
|
|
20
|
+
`)),Ea=ga(ka||(ka=Za`
|
|
21
|
+
0% {
|
|
22
|
+
transform: scale(1);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
50% {
|
|
26
|
+
transform: scale(0.92);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
100% {
|
|
30
|
+
transform: scale(1);
|
|
31
|
+
}
|
|
32
|
+
`)),Oa=(0,K.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Ca=(0,K.ZP)((function(t){const{className:r,classes:n,pulsate:o=!1,rippleX:i,rippleY:a,rippleSize:l,in:c,onExited:u,timeout:p}=t,[d,f]=e.useState(!1),h=(0,s.Z)(r,n.ripple,n.rippleVisible,o&&n.ripplePulsate),m={width:l,height:l,top:-l/2+a,left:-l/2+i},y=(0,s.Z)(n.child,d&&n.childLeaving,o&&n.childPulsate);return c||d||f(!0),e.useEffect((()=>{if(!c&&null!=u){const e=setTimeout(u,p);return()=>{clearTimeout(e)}}}),[u,c,p]),(0,w.jsx)("span",{className:h,style:m,children:(0,w.jsx)("span",{className:y})})}),{name:"MuiTouchRipple",slot:"Ripple"})(Sa||(Sa=Za`
|
|
33
|
+
opacity: 0;
|
|
34
|
+
position: absolute;
|
|
35
|
+
|
|
36
|
+
&.${0} {
|
|
37
|
+
opacity: 0.3;
|
|
38
|
+
transform: scale(1);
|
|
39
|
+
animation-name: ${0};
|
|
40
|
+
animation-duration: ${0}ms;
|
|
41
|
+
animation-timing-function: ${0};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.${0} {
|
|
45
|
+
animation-duration: ${0}ms;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
& .${0} {
|
|
49
|
+
opacity: 1;
|
|
50
|
+
display: block;
|
|
51
|
+
width: 100%;
|
|
52
|
+
height: 100%;
|
|
53
|
+
border-radius: 50%;
|
|
54
|
+
background-color: currentColor;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
& .${0} {
|
|
58
|
+
opacity: 0;
|
|
59
|
+
animation-name: ${0};
|
|
60
|
+
animation-duration: ${0}ms;
|
|
61
|
+
animation-timing-function: ${0};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
& .${0} {
|
|
65
|
+
position: absolute;
|
|
66
|
+
/* @noflip */
|
|
67
|
+
left: 0px;
|
|
68
|
+
top: 0;
|
|
69
|
+
animation-name: ${0};
|
|
70
|
+
animation-duration: 2500ms;
|
|
71
|
+
animation-timing-function: ${0};
|
|
72
|
+
animation-iteration-count: infinite;
|
|
73
|
+
animation-delay: 200ms;
|
|
74
|
+
}
|
|
75
|
+
`),va.rippleVisible,Pa,550,(({theme:e})=>e.transitions.easing.easeInOut),va.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),va.child,va.childLeaving,Ra,550,(({theme:e})=>e.transitions.easing.easeInOut),va.childPulsate,Ea,(({theme:e})=>e.transitions.easing.easeInOut)),Ta=e.forwardRef((function(t,r){const i=(0,G.Z)({props:t,name:"MuiTouchRipple"}),{center:a=!1,classes:l={},className:c}=i,u=(0,n.Z)(i,ba),[p,d]=e.useState([]),f=e.useRef(0),h=e.useRef(null);e.useEffect((()=>{h.current&&(h.current(),h.current=null)}),[p]);const m=e.useRef(!1),y=e.useRef(null),g=e.useRef(null),v=e.useRef(null);e.useEffect((()=>()=>{clearTimeout(y.current)}),[]);const b=e.useCallback((e=>{const{pulsate:t,rippleX:r,rippleY:n,rippleSize:o,cb:i}=e;d((e=>[...e,(0,w.jsx)(Ca,{classes:{ripple:(0,s.Z)(l.ripple,va.ripple),rippleVisible:(0,s.Z)(l.rippleVisible,va.rippleVisible),ripplePulsate:(0,s.Z)(l.ripplePulsate,va.ripplePulsate),child:(0,s.Z)(l.child,va.child),childLeaving:(0,s.Z)(l.childLeaving,va.childLeaving),childPulsate:(0,s.Z)(l.childPulsate,va.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:o},f.current)])),f.current+=1,h.current=i}),[l]),x=e.useCallback(((e={},t={},r=(()=>{}))=>{const{pulsate:n=!1,center:o=a||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&m.current)return void(m.current=!1);"touchstart"===(null==e?void 0:e.type)&&(m.current=!0);const s=i?null:v.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,p;if(o||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(r-l.top)}if(o)p=Math.sqrt((2*l.width**2+l.height**2)/3),p%2==0&&(p+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-u),u)+2;p=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===g.current&&(g.current=()=>{b({pulsate:n,rippleX:c,rippleY:u,rippleSize:p,cb:r})},y.current=setTimeout((()=>{g.current&&(g.current(),g.current=null)}),80)):b({pulsate:n,rippleX:c,rippleY:u,rippleSize:p,cb:r})}),[a,b]),k=e.useCallback((()=>{x({},{pulsate:!0})}),[x]),S=e.useCallback(((e,t)=>{if(clearTimeout(y.current),"touchend"===(null==e?void 0:e.type)&&g.current)return g.current(),g.current=null,void(y.current=setTimeout((()=>{S(e,t)})));g.current=null,d((e=>e.length>0?e.slice(1):e)),h.current=t}),[]);return e.useImperativeHandle(r,(()=>({pulsate:k,start:x,stop:S})),[k,x,S]),(0,w.jsx)(Oa,(0,o.Z)({className:(0,s.Z)(va.root,l.root,c),ref:v},u,{children:(0,w.jsx)(da,{component:null,exit:!0,children:p})}))})),Aa=Ta;function Ma(e){return(0,j.Z)("MuiButtonBase",e)}const ja=(0,M.Z)("MuiButtonBase",["root","disabled","focusVisible"]),$a=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Na=(0,K.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${ja.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Ia=e.forwardRef((function(t,r){const i=(0,G.Z)({props:t,name:"MuiButtonBase"}),{action:a,centerRipple:l=!1,children:c,className:p,component:d="button",disabled:f=!1,disableRipple:h=!1,disableTouchRipple:m=!1,focusRipple:y=!1,LinkComponent:g="a",onBlur:v,onClick:b,onContextMenu:x,onDragLeave:k,onFocus:S,onFocusVisible:Z,onKeyDown:P,onKeyUp:R,onMouseDown:E,onMouseLeave:O,onMouseUp:C,onTouchEnd:T,onTouchMove:A,onTouchStart:M,tabIndex:j=0,TouchRippleProps:$,touchRippleRef:N,type:I}=i,B=(0,n.Z)(i,$a),L=e.useRef(null),D=e.useRef(null),W=(0,de.Z)(D,N),{isFocusVisibleRef:_,onFocus:F,onBlur:z,ref:q}=(0,Lr.Z)(),[V,H]=e.useState(!1);f&&V&&H(!1),e.useImperativeHandle(a,(()=>({focusVisible:()=>{H(!0),L.current.focus()}})),[]);const[K,U]=e.useState(!1);e.useEffect((()=>{U(!0)}),[]);const X=K&&!h&&!f;function Y(e,t,r=m){return(0,Ir.Z)((n=>(t&&t(n),!r&&D.current&&D.current[e](n),!0)))}e.useEffect((()=>{V&&y&&!h&&K&&D.current.pulsate()}),[h,y,V,K]);const J=Y("start",E),Q=Y("stop",x),ee=Y("stop",k),te=Y("stop",C),re=Y("stop",(e=>{V&&e.preventDefault(),O&&O(e)})),ne=Y("start",M),oe=Y("stop",T),ie=Y("stop",A),ae=Y("stop",(e=>{z(e),!1===_.current&&H(!1),v&&v(e)}),!1),se=(0,Ir.Z)((e=>{L.current||(L.current=e.currentTarget),F(e),!0===_.current&&(H(!0),Z&&Z(e)),S&&S(e)})),le=()=>{const e=L.current;return d&&"button"!==d&&!("A"===e.tagName&&e.href)},ce=e.useRef(!1),ue=(0,Ir.Z)((e=>{y&&!ce.current&&V&&D.current&&" "===e.key&&(ce.current=!0,D.current.stop(e,(()=>{D.current.start(e)}))),e.target===e.currentTarget&&le()&&" "===e.key&&e.preventDefault(),P&&P(e),e.target===e.currentTarget&&le()&&"Enter"===e.key&&!f&&(e.preventDefault(),b&&b(e))})),pe=(0,Ir.Z)((e=>{y&&" "===e.key&&D.current&&V&&!e.defaultPrevented&&(ce.current=!1,D.current.stop(e,(()=>{D.current.pulsate(e)}))),R&&R(e),b&&e.target===e.currentTarget&&le()&&" "===e.key&&!e.defaultPrevented&&b(e)}));let fe=d;"button"===fe&&(B.href||B.to)&&(fe=g);const he={};"button"===fe?(he.type=void 0===I?"button":I,he.disabled=f):(B.href||B.to||(he.role="button"),f&&(he["aria-disabled"]=f));const me=(0,de.Z)(r,q,L),ye=(0,o.Z)({},i,{centerRipple:l,component:d,disabled:f,disableRipple:h,disableTouchRipple:m,focusRipple:y,tabIndex:j,focusVisible:V}),ge=(e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,i={root:["root",t&&"disabled",r&&"focusVisible"]},a=(0,u.Z)(i,Ma,o);return r&&n&&(a.root+=` ${n}`),a})(ye);return(0,w.jsxs)(Na,(0,o.Z)({as:fe,className:(0,s.Z)(ge.root,p),ownerState:ye,onBlur:ae,onClick:b,onContextMenu:Q,onFocus:se,onKeyDown:ue,onKeyUp:pe,onMouseDown:J,onMouseLeave:re,onMouseUp:te,onDragLeave:ee,onTouchEnd:oe,onTouchMove:ie,onTouchStart:ne,ref:me,tabIndex:f?-1:j,type:I},he,B,{children:[c,X?(0,w.jsx)(Aa,(0,o.Z)({ref:W,center:l},$)):null]}))}));function Ba(e){return(0,j.Z)("MuiIconButton",e)}const La=(0,M.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Da=["edge","children","className","color","disabled","disableFocusRipple","size"],Wa=(0,K.ZP)(Ia,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"default"!==r.color&&t[`color${(0,d.Z)(r.color)}`],r.edge&&t[`edge${(0,d.Z)(r.edge)}`],t[`size${(0,d.Z)(r.size)}`]]}})((({theme:e,ownerState:t})=>(0,o.Z)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Pe.Fq)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>{var r;const n=null==(r=(e.vars||e).palette)?void 0:r[t.color];return(0,o.Z)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&(0,o.Z)({color:null==n?void 0:n.main},!t.disableRipple&&{"&:hover":(0,o.Z)({},n&&{backgroundColor:e.vars?`rgba(${n.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Pe.Fq)(n.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${La.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),_a=e.forwardRef((function(e,t){const r=(0,G.Z)({props:e,name:"MuiIconButton"}),{edge:i=!1,children:a,className:l,color:c="default",disabled:p=!1,disableFocusRipple:f=!1,size:h="medium"}=r,m=(0,n.Z)(r,Da),y=(0,o.Z)({},r,{edge:i,color:c,disabled:p,disableFocusRipple:f,size:h}),g=(e=>{const{classes:t,disabled:r,color:n,edge:o,size:i}=e,a={root:["root",r&&"disabled","default"!==n&&`color${(0,d.Z)(n)}`,o&&`edge${(0,d.Z)(o)}`,`size${(0,d.Z)(i)}`]};return(0,u.Z)(a,Ba,t)})(y);return(0,w.jsx)(Wa,(0,o.Z)({className:(0,s.Z)(g.root,l),centerRipple:!0,focusRipple:!f,disabled:p,ref:t,ownerState:y},m,{children:a}))})),Fa=["defaultTheme","withTheme","name"],za=["classes"];function qa(){return qa=Object.assign||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},qa.apply(this,arguments)}const Va={XXS:"XXS",XS:"XS",S:"S",M:"M",MPlus:"MPlus",L:"L",XL:"XL"},Ha=(0,e.forwardRef)(((e,r)=>{const{classes:n,className:o,onClick:i,icon:a,size:s=Va.XS,iconClassName:l}=e,c=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["classes","className","onClick","icon","size","iconClassName"]);return t().createElement(_a,qa({ref:r,classes:{root:`${n[`root${s}`]} ${n.rootAll}`,disabled:n.disabled},onClick:i,className:o},c,{size:"large"}),a&&t().createElement(a,{classes:{root:n[`icon${s}`]},className:l}))}));Ha.displayName="SmallIconButton";const Ka=(r=>{const n=(0,e.forwardRef)(((e,n)=>{let{tooltipTitle:o,tooltipPlacement:i,showForDisabled:a=!1}=e,s=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["tooltipTitle","tooltipPlacement","showForDisabled"]);const l=aa();return o?t().createElement(Yr,{ref:n,title:o,placement:i||"bottom",disableFocusListener:!0,disableTouchListener:!0,classes:{tooltip:l.tooltip},PopperProps:ia},(e=>e?t().createElement("span",{className:l.wrapper},t().createElement(r,s)):t().createElement(r,s))(a)):t().createElement(r,s)}));return n.displayName="WithTooltip",n.propTypes=oa,n})(((t,r={})=>i=>{const{defaultTheme:a,withTheme:s=!1,name:l}=r,c=(0,n.Z)(r,Fa);let u=l;const p=na(t,(0,o.Z)({defaultTheme:a,Component:i,name:l||i.displayName,classNamePrefix:u},c)),d=e.forwardRef((function(e,t){const r=(0,n.Z)(e,za),c=p((0,o.Z)({},i.defaultProps,e));let u,d=r;return("string"==typeof l||s)&&(u=wo()||a,l&&(d=function(e){const{theme:t,name:r,props:n}=e;if(!(t&&t.components&&t.components[r]&&t.components[r].defaultProps))return n;const i=(0,o.Z)({},n),a=t.components[r].defaultProps;let s;for(s in a)void 0===i[s]&&(i[s]=a[s]);return i}({theme:u,name:l,props:r})),s&&!d.theme&&(d.theme=u)),(0,w.jsx)(i,(0,o.Z)({ref:t,classes:c},d))}));return ma()(d,i),d})((()=>({rootAll:{padding:"0"},rootXXS:{height:"16px",width:"16px"},iconXXS:{fontSize:"16px"},rootXS:{height:"20px",width:"20px"},iconXS:{fontSize:"20px"},rootS:{height:"24px",width:"24px"},iconS:{fontSize:"24px"},rootM:{height:"30px",width:"30px"},rootMPlus:{height:"36px",width:"36px"},rootL:{height:"40px",width:"40px"},rootXL:{height:"48px",width:"48px"},disabled:{fillOpacity:.5}})))(Ha)),Ga=na((()=>({toolbar:{background:"white",paddingLeft:"21px"},closeButton:{marginRight:"10px"}}))),Ua=()=>{const e=Ga(),n=(0,r.useDispatch)();return t().createElement(De,{fullScreen:!0,open:!0},t().createElement(qe,{position:"static",color:"default"},t().createElement(Ge,{className:e.toolbar},t().createElement(Ka,{tooltipTitle:at().text("Close"),"aria-label":at().text("Close"),icon:ot.Z,onClick:()=>{n(st.ui.actions.openPreviousPage())},className:e.closeButton,size:"L"}),t().createElement(nt,{variant:"h6"},at().text("Create Item: <No Label>")))))}})(),c})()}));
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
object-assign
|
|
3
|
+
(c) Sindre Sorhus
|
|
4
|
+
@license MIT
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* @mui/styled-engine v5.13.2
|
|
9
|
+
*
|
|
10
|
+
* @license MIT
|
|
11
|
+
* This source code is licensed under the MIT license found in the
|
|
12
|
+
* LICENSE file in the root directory of this source tree.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* A better abstraction over CSS.
|
|
17
|
+
*
|
|
18
|
+
* @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
|
|
19
|
+
* @website https://github.com/cssinjs/jss
|
|
20
|
+
* @license MIT
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
/** @license React v16.13.1
|
|
24
|
+
* react-is.production.min.js
|
|
25
|
+
*
|
|
26
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
27
|
+
*
|
|
28
|
+
* This source code is licensed under the MIT license found in the
|
|
29
|
+
* LICENSE file in the root directory of this source tree.
|
|
30
|
+
*/
|
|
31
|
+
|
|
32
|
+
/** @license React v17.0.2
|
|
33
|
+
* react-jsx-runtime.production.min.js
|
|
34
|
+
*
|
|
35
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
36
|
+
*
|
|
37
|
+
* This source code is licensed under the MIT license found in the
|
|
38
|
+
* LICENSE file in the root directory of this source tree.
|
|
39
|
+
*/
|
package/package.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@reltio/authoring",
|
|
3
|
+
"version": "1.4.1621",
|
|
4
|
+
"license": "SEE LICENSE IN LICENSE FILE",
|
|
5
|
+
"main": "bundle.js",
|
|
6
|
+
"dependencies": {
|
|
7
|
+
"@reltio/components": "^1.4.1621",
|
|
8
|
+
"@reltio/mdm-module": "^1.4.1621"
|
|
9
|
+
},
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"access": "public"
|
|
12
|
+
}
|
|
13
|
+
}
|