-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
3 lines (3 loc) · 350 KB
/
index.html
1
2
3
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>React App</title><style type="text/css">body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}
/*# sourceMappingURL=main.74c437cb.css.map*/</style></head><body style="overflow:hidden"><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="./public/coffee-main.js"></script><script defer="defer">/*! For license information please see main.6892b446.js.LICENSE.txt */
!function(){var e={6233:function(e){var t="https://itas.ddns.net/api",n={colors:{background:"#FFFFFF",redLight:"hsl(0, 100%, 50%)",greenLight:"#85ee00",intersection:"#586970",road:"#586970",roadMarking:"#bbb",hoveredIntersection:"#3d4c53",tempRoad:"#aaa",gridPoint:"#586970",grid1:"rgba(255, 255, 255, 0.5)",grid2:"rgba(220, 220, 220, 0.5)",hoveredGrid:"#f4e8e1",hoveredLane:"#dbd0ca"},fps:30,lightsFlipInterval:260,gridSize:14,mapSize:4,averageCarLength:4.5,defaultTimeFactor:5,defaultZoomLevel:3,maxZoomLevel:20,minZoomLevel:.1,defaultMap:"mappa_1",connectedMap:!0,debug:!1,myWidth:0,myHeight:0,showRedLights:!0,triangles:!0,trafficHighlight:!0,carsNumber:150,carsGap:5,waitCarSpawn:40,tooLongStop:1e3,myCar:{id:"MACCHINA",color:"#000000",maxFollowPoints:1e3,carLine:"white"},updateRoadsInterval:50,onlinePathUpdateInterval:100,apiUrl:t,pathFinderUrl:t+"/pathFinder",mapUrl:t+"/map",roadsUrl:t+"/roads",onlinePathFinderUrl:t+"/onlinePathFinder",mqtt:{port:8883,protocol:"mqtt",host:"io.adafruit.com",username:"sirmat",password:"aio_CcIX34dhmTJxDN8msWlCWnciTmGd",topic:"sirmat/feeds/path"},debugTestHtml:null!=document.getElementById("test")};e.exports=n},3361:function(e,t,n){"use strict";n.d(t,{Z:function(){return ae}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=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,n),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 n=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{n.insertRule(e,n.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 l(e){return e.trim()}function u(e,t,n){return e.replace(t,n)}function s(e,t){return e.indexOf(t)}function c(e,t){return 0|e.charCodeAt(t)}function f(e,t,n){return e.slice(t,n)}function d(e){return e.length}function p(e){return e.length}function m(e,t){return t.push(e),e}var h=1,v=1,g=0,y=0,b=0,w="";function x(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:h,column:v,length:a,return:""}}function k(e,t){return a(x("",null,null,"",null,null,0),e,{length:-e.length},t)}function S(){return b=y>0?c(w,--y):0,v--,10===b&&(v=1,h--),b}function E(){return b=y<g?c(w,y++):0,v++,10===b&&(v=1,h++),b}function P(){return c(w,y)}function C(){return y}function Z(e,t){return f(w,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 T(e){return h=v=1,g=d(w=e),y=0,[]}function R(e){return w="",e}function N(e){return l(Z(y-1,A(91===e?e+2:40===e?e+1:e)))}function _(e){for(;(b=P())&&b<33;)E();return O(e)>2||O(b)>3?"":" "}function M(e,t){for(;--t&&E()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return Z(e,C()+(t<6&&32==P()&&32==E()))}function A(e){for(;E();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&A(b);break;case 40:41===e&&A(e);break;case 92:E()}return y}function j(e,t){for(;E()&&e+b!==57&&(e+b!==84||47!==P()););return"/*"+Z(t,y-1)+"*"+i(47===e?e:E())}function L(e){for(;!O(P());)E();return Z(e,y)}var z="-ms-",F="-moz-",I="-webkit-",D="comm",B="rule",U="decl",W="@import",H="@keyframes",V="@layer";function $(e,t){for(var n="",r=p(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function q(e,t,n,r){switch(e.type){case V:if(e.children.length)break;case W:case U:return e.return=e.return||e.value;case D:return"";case H:return e.return=e.value+"{"+$(e.children,r)+"}";case B:e.value=e.props.join(",")}return d(n=$(e.children,r))?e.return=e.value+"{"+n+"}":""}function K(e){return R(G("",null,null,null,[""],e=T(e),0,[0],e))}function G(e,t,n,r,o,a,l,f,p){for(var h=0,v=0,g=l,y=0,b=0,w=0,x=1,k=1,Z=1,O=0,T="",R=o,A=a,z=r,F=T;k;)switch(w=O,O=E()){case 40:if(108!=w&&58==c(F,g-1)){-1!=s(F+=u(N(O),"&","&\f"),"&\f")&&(Z=-1);break}case 34:case 39:case 91:F+=N(O);break;case 9:case 10:case 13:case 32:F+=_(w);break;case 92:F+=M(C()-1,7);continue;case 47:switch(P()){case 42:case 47:m(X(j(E(),C()),t,n),p);break;default:F+="/"}break;case 123*x:f[h++]=d(F)*Z;case 125*x:case 59:case 0:switch(O){case 0:case 125:k=0;case 59+v:-1==Z&&(F=u(F,/\f/g,"")),b>0&&d(F)-g&&m(b>32?Y(F+";",r,n,g-1):Y(u(F," ","")+";",r,n,g-2),p);break;case 59:F+=";";default:if(m(z=Q(F,t,n,h,v,o,f,T,R=[],A=[],g),a),123===O)if(0===v)G(F,t,z,z,R,a,g,f,A);else switch(99===y&&110===c(F,3)?100:y){case 100:case 108:case 109:case 115:G(e,z,z,r&&m(Q(e,z,z,0,0,o,f,T,o,R=[],g),A),o,A,g,f,r?R:A);break;default:G(F,z,z,z,[""],A,0,f,A)}}h=v=b=0,x=Z=1,T=F="",g=l;break;case 58:g=1+d(F),b=w;default:if(x<1)if(123==O)--x;else if(125==O&&0==x++&&125==S())continue;switch(F+=i(O),O*x){case 38:Z=v>0?1:(F+="\f",-1);break;case 44:f[h++]=(d(F)-1)*Z,Z=1;break;case 64:45===P()&&(F+=N(E())),y=P(),v=g=d(T=F+=L(C())),O++;break;case 45:45===w&&2==d(F)&&(x=0)}}return a}function Q(e,t,n,r,i,a,s,c,d,m,h){for(var v=i-1,g=0===i?a:[""],y=p(g),b=0,w=0,k=0;b<r;++b)for(var S=0,E=f(e,v+1,v=o(w=s[b])),P=e;S<y;++S)(P=l(w>0?g[S]+" "+E:u(E,/&\f/g,g[S])))&&(d[k++]=P);return x(e,t,n,0===i?B:c,d,m,h)}function X(e,t,n){return x(e,t,n,D,i(b),f(e,2,-2),0)}function Y(e,t,n,r){return x(e,t,n,U,f(e,0,r),f(e,r+1,-1),r)}var J=function(e,t,n){for(var r=0,o=0;r=o,o=P(),38===r&&12===o&&(t[n]=1),!O(o);)E();return Z(e,y)},ee=function(e,t){return R(function(e,t){var n=-1,r=44;do{switch(O(r)){case 0:38===r&&12===P()&&(t[n]=1),e[n]+=J(y-1,t,n);break;case 2:e[n]+=N(r);break;case 4:if(44===r){e[++n]=58===P()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=E());return e}(T(e),t))},te=new WeakMap,ne=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||te.get(n))&&!r){te.set(e,!0);for(var o=[],i=ee(t,o),a=n.props,l=0,u=0;l<i.length;l++)for(var s=0;s<a.length;s++,u++)e.props[u]=o[l]?i[l].replace(/&\f/g,a[s]):a[s]+" "+i[l]}}},re=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function oe(e,t){switch(function(e,t){return 45^c(e,0)?(((t<<2^c(e,0))<<2^c(e,1))<<2^c(e,2))<<2^c(e,3):0}(e,t)){case 5103:return I+"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 I+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return I+e+F+e+z+e+e;case 6828:case 4268:return I+e+z+e+e;case 6165:return I+e+z+"flex-"+e+e;case 5187:return I+e+u(e,/(\w+).+(:[^]+)/,I+"box-$1$2"+z+"flex-$1$2")+e;case 5443:return I+e+z+"flex-item-"+u(e,/flex-|-self/,"")+e;case 4675:return I+e+z+"flex-line-pack"+u(e,/align-content|flex-|-self/,"")+e;case 5548:return I+e+z+u(e,"shrink","negative")+e;case 5292:return I+e+z+u(e,"basis","preferred-size")+e;case 6060:return I+"box-"+u(e,"-grow","")+I+e+z+u(e,"grow","positive")+e;case 4554:return I+u(e,/([^-])(transform)/g,"$1"+I+"$2")+e;case 6187:return u(u(u(e,/(zoom-|grab)/,I+"$1"),/(image-set)/,I+"$1"),e,"")+e;case 5495:case 3959:return u(e,/(image-set\([^]*)/,I+"$1$`$1");case 4968:return u(u(e,/(.+:)(flex-)?(.*)/,I+"box-pack:$3"+z+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+I+e+e;case 4095:case 3583:case 4068:case 2532:return u(e,/(.+)-inline(.+)/,I+"$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(c(e,t+1)){case 109:if(45!==c(e,t+4))break;case 102:return u(e,/(.+:)(.+)-([^]+)/,"$1"+I+"$2-$3$1"+F+(108==c(e,t+3)?"$3":"$2-$3"))+e;case 115:return~s(e,"stretch")?oe(u(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==c(e,t+1))break;case 6444:switch(c(e,d(e)-3-(~s(e,"!important")&&10))){case 107:return u(e,":",":"+I)+e;case 101:return u(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+I+(45===c(e,14)?"inline-":"")+"box$3$1"+I+"$2$3$1"+z+"$2box$3")+e}break;case 5936:switch(c(e,t+11)){case 114:return I+e+z+u(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return I+e+z+u(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return I+e+z+u(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return I+e+z+e+e}return e}var ie=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case U:e.return=oe(e.value,e.length);break;case H:return $([k(e,{value:u(e.value,"@","@"+I)})],r);case B: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 $([k(e,{props:[u(t,/:(read-\w+)/,":"+F+"$1")]})],r);case"::placeholder":return $([k(e,{props:[u(t,/:(plac\w+)/,":"+I+"input-$1")]}),k(e,{props:[u(t,/:(plac\w+)/,":"+F+"$1")]}),k(e,{props:[u(t,/:(plac\w+)/,z+"input-$1")]})],r)}return""}))}}],ae=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o,i,a=e.stylisPlugins||ie,l={},u=[];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(" "),n=1;n<t.length;n++)l[t[n]]=!0;u.push(e)}));var s,c,f=[q,(c=function(e){s.insert(e)},function(e){e.root||(e=e.return)&&c(e)})],d=function(e){var t=p(e);return function(n,r,o,i){for(var a="",l=0;l<t;l++)a+=e[l](n,r,o,i)||"";return a}}([ne,re].concat(a,f));i=function(e,t,n,r){s=n,$(K(e?e+"{"+t.styles+"}":t.styles),d),r&&(m.inserted[t.name]=!0)};var m={key:t,sheet:new r({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:l,registered:{},insert:i};return m.sheet.hydrate(u),m}},9797:function(e,t,n){"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{Z:function(){return r}})},2564:function(e,t,n){"use strict";n.d(t,{T:function(){return l},w:function(){return a}});var r=n(2791),o=n(3361),i=(n(9140),n(2561),r.createContext("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null));i.Provider;var a=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(i);return e(t,o,n)}))},l=r.createContext({})},9140:function(e,t,n){"use strict";n.d(t,{O:function(){return m}});var r={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},o=n(9797),i=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},u=function(e){return null!=e&&"boolean"!=typeof e},s=(0,o.Z)((function(e){return l(e)?e:e.replace(i,"-$&").toLowerCase()})),c=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(a,(function(e,t,n){return d={name:t,styles:n,next:d},t}))}return 1===r[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"};function f(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return d={name:n.name,styles:n.styles,next:d},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)d={name:r.name,styles:r.styles,next:d},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=f(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":u(a)&&(r+=s(i)+":"+c(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=f(e,t,a);switch(i){case"animation":case"animationName":r+=s(i)+":"+l+";";break;default:r+=i+"{"+l+"}"}}else for(var d=0;d<a.length;d++)u(a[d])&&(r+=s(i)+":"+c(i,a[d])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=d,i=n(e);return d=o,f(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var d,p=/label:\s*([^\s;\n{]+)\s*(;|$)/g,m=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";d=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=f(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=f(n,t,e[a]),r&&(o+=i[a]);p.lastIndex=0;for(var l,u="";null!==(l=p.exec(o));)u+="-"+l[1];var s=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+u;return{name:s,styles:o,next:d}}},2561:function(e,t,n){"use strict";var r;n.d(t,{L:function(){return a}});var o=n(2791),i=!!(r||(r=n.t(o,2))).useInsertionEffect&&(r||(r=n.t(o,2))).useInsertionEffect,a=i||function(e){return e()};i||o.useLayoutEffect},4568:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2z"}),"Circle");t.Z=a},5860:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"InfoOutlined");t.Z=a},5649:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(5395)},7:function(e,t){"use strict";t.Z={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"}},2460:function(e,t){"use strict";t.Z={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"}},6532:function(e,t){"use strict";Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.for("react.offscreen");Symbol.for("react.module.reference")},8457:function(e,t,n){"use strict";n(6532)},4584:function(e,t,n){"use strict";n.d(t,{Z:function(){return W}});var r=n(7462),o=n(3366),i=n(6189),a=n(2466),l=n(5080),u=n(7416),s=n(104),c=n(4942);function f(e,t){var n;return(0,r.Z)({toolbar:(n={minHeight:56},(0,c.Z)(n,e.up("xs"),{"@media (orientation: landscape)":{minHeight:48}}),(0,c.Z)(n,e.up("sm"),{minHeight:64}),n)},t)}var d=n(2065),p={black:"#000",white:"#fff"},m={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"},h={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},v=n(2460),g={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},y={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},b={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},w=n(7),x=["mode","contrastThreshold","tonalOffset"],k={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}},S={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 E(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,d.$n)(e.main,o):"dark"===t&&(e.dark=(0,d._j)(e.main,i)))}function P(e){var t=e.mode,n=void 0===t?"light":t,l=e.contrastThreshold,u=void 0===l?3:l,s=e.tonalOffset,c=void 0===s?.2:s,f=(0,o.Z)(e,x),P=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:y[200],light:y[50],dark:y[400]}:{main:y[700],light:y[400],dark:y[800]}}(n),C=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:h[200],light:h[50],dark:h[400]}:{main:h[500],light:h[300],dark:h[700]}}(n),Z=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:v.Z[500],light:v.Z[300],dark:v.Z[700]}:{main:v.Z[700],light:v.Z[400],dark:v.Z[800]}}(n),O=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:b[400],light:b[300],dark:b[700]}:{main:b[700],light:b[500],dark:b[900]}}(n),T=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:w.Z[400],light:w.Z[300],dark:w.Z[700]}:{main:w.Z[800],light:w.Z[500],dark:w.Z[900]}}(n),R=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:g[400],light:g[300],dark:g[700]}:{main:"#ed6c02",light:g[500],dark:g[900]}}(n);function N(e){return(0,d.mi)(e,S.text.primary)>=u?S.text.primary:k.text.primary}var _=function(e){var t=e.color,n=e.name,o=e.mainShade,a=void 0===o?500:o,l=e.lightShade,u=void 0===l?300:l,s=e.darkShade,f=void 0===s?700:s;if(!(t=(0,r.Z)({},t)).main&&t[a]&&(t.main=t[a]),!t.hasOwnProperty("main"))throw new Error((0,i.Z)(11,n?" (".concat(n,")"):"",a));if("string"!=typeof t.main)throw new Error((0,i.Z)(12,n?" (".concat(n,")"):"",JSON.stringify(t.main)));return E(t,"light",u,c),E(t,"dark",f,c),t.contrastText||(t.contrastText=N(t.main)),t},M={dark:S,light:k};return(0,a.Z)((0,r.Z)({common:(0,r.Z)({},p),mode:n,primary:_({color:P,name:"primary"}),secondary:_({color:C,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:_({color:Z,name:"error"}),warning:_({color:R,name:"warning"}),info:_({color:O,name:"info"}),success:_({color:T,name:"success"}),grey:m,contrastThreshold:u,getContrastText:N,augmentColor:_,tonalOffset:c},M[n]),f)}var C=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],Z={textTransform:"uppercase"},O='"Roboto", "Helvetica", "Arial", sans-serif';function T(e,t){var n="function"==typeof t?t(e):t,i=n.fontFamily,l=void 0===i?O:i,u=n.fontSize,s=void 0===u?14:u,c=n.fontWeightLight,f=void 0===c?300:c,d=n.fontWeightRegular,p=void 0===d?400:d,m=n.fontWeightMedium,h=void 0===m?500:m,v=n.fontWeightBold,g=void 0===v?700:v,y=n.htmlFontSize,b=void 0===y?16:y,w=n.allVariants,x=n.pxToRem,k=(0,o.Z)(n,C),S=s/14,E=x||function(e){return"".concat(e/b*S,"rem")},P=function(e,t,n,o,i){return(0,r.Z)({fontFamily:l,fontWeight:e,fontSize:E(t),lineHeight:n},l===O?{letterSpacing:"".concat((a=o/t,Math.round(1e5*a)/1e5),"em")}:{},i,w);var a},T={h1:P(f,96,1.167,-1.5),h2:P(f,60,1.2,-.5),h3:P(p,48,1.167,0),h4:P(p,34,1.235,.25),h5:P(p,24,1.334,0),h6:P(h,20,1.6,.15),subtitle1:P(p,16,1.75,.15),subtitle2:P(h,14,1.57,.1),body1:P(p,16,1.5,.15),body2:P(p,14,1.43,.15),button:P(h,14,1.75,.4,Z),caption:P(p,12,1.66,.4),overline:P(p,12,2.66,1,Z),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,a.Z)((0,r.Z)({htmlFontSize:b,pxToRem:E,fontFamily:l,fontSize:s,fontWeightLight:f,fontWeightRegular:p,fontWeightMedium:h,fontWeightBold:g},T),k,{clone:!1})}var R=.2,N=.14,_=.12;function M(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(R,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(N,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(_,")")].join(",")}var A=["none",M(0,2,1,-1,0,1,1,0,0,1,3,0),M(0,3,1,-2,0,2,2,0,0,1,5,0),M(0,3,3,-2,0,3,4,0,0,1,8,0),M(0,2,4,-1,0,4,5,0,0,1,10,0),M(0,3,5,-1,0,5,8,0,0,1,14,0),M(0,3,5,-1,0,6,10,0,0,1,18,0),M(0,4,5,-2,0,7,10,1,0,2,16,1),M(0,5,5,-3,0,8,10,1,0,3,14,2),M(0,5,6,-3,0,9,12,1,0,3,16,2),M(0,6,6,-3,0,10,14,1,0,4,18,3),M(0,6,7,-4,0,11,15,1,0,4,20,3),M(0,7,8,-4,0,12,17,2,0,5,22,4),M(0,7,8,-4,0,13,19,2,0,5,24,4),M(0,7,9,-4,0,14,21,2,0,5,26,4),M(0,8,9,-5,0,15,22,2,0,6,28,5),M(0,8,10,-5,0,16,24,2,0,6,30,5),M(0,8,11,-5,0,17,26,2,0,6,32,5),M(0,9,11,-5,0,18,28,2,0,7,34,6),M(0,9,12,-6,0,19,29,2,0,7,36,6),M(0,10,13,-6,0,20,31,3,0,8,38,7),M(0,10,13,-6,0,21,33,3,0,8,40,7),M(0,10,14,-6,0,22,35,3,0,8,42,7),M(0,11,14,-7,0,23,36,3,0,9,44,8),M(0,11,15,-7,0,24,38,3,0,9,46,8)],j=["duration","easing","delay"],L={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)"},z={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function F(e){return"".concat(Math.round(e),"ms")}function I(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}function D(e){var t=(0,r.Z)({},L,e.easing),n=(0,r.Z)({},z,e.duration);return(0,r.Z)({getAutoHeightDuration:I,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.duration,a=void 0===i?n.standard:i,l=r.easing,u=void 0===l?t.easeInOut:l,s=r.delay,c=void 0===s?0:s;return(0,o.Z)(r,j),(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof a?a:F(a)," ").concat(u," ").concat("string"==typeof c?c:F(c))})).join(",")}},e,{easing:t,duration:n})}var B={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},U=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];var W=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mixins,n=void 0===t?{}:t,c=e.palette,d=void 0===c?{}:c,p=e.transitions,m=void 0===p?{}:p,h=e.typography,v=void 0===h?{}:h,g=(0,o.Z)(e,U);if(e.vars)throw new Error((0,i.Z)(18));var y=P(d),b=(0,l.Z)(e),w=(0,a.Z)(b,{mixins:f(b.breakpoints,n),palette:y,shadows:A.slice(),typography:T(y,v),transitions:D(m),zIndex:(0,r.Z)({},B)});w=(0,a.Z)(w,g);for(var x=arguments.length,k=new Array(x>1?x-1:0),S=1;S<x;S++)k[S-1]=arguments[S];return(w=k.reduce((function(e,t){return(0,a.Z)(e,t)}),w)).unstable_sxConfig=(0,r.Z)({},u.Z,null==g?void 0:g.unstable_sxConfig),w.unstable_sx=function(e){return(0,s.Z)({sx:e,theme:this})},w}},6482:function(e,t,n){"use strict";var r=(0,n(4584).Z)();t.Z=r},988:function(e,t){"use strict";t.Z="$$material"},7630:function(e,t,n){"use strict";n.d(t,{ZP:function(){return E},FO:function(){return k}});var r=n(2982),o=n(885),i=n(3366),a=n(7462),l=n(5783),u=n(5080),s=n(1122),c=["variant"];function f(e){return 0===e.length}function d(e){var t=e.variant,n=(0,i.Z)(e,c),r=t||"";return Object.keys(n).sort().forEach((function(t){r+="color"===t?f(r)?e[t]:(0,s.Z)(e[t]):"".concat(f(r)?t:(0,s.Z)(t)).concat((0,s.Z)(e[t].toString()))})),r}var p=n(104),m=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],h=function(e,t){var n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);var r={};return n.forEach((function(e){var t=d(e.props);r[t]=e.style})),r},v=function(e,t,n,r){var o,i,a=e.ownerState,l=void 0===a?{}:a,u=[],s=null==n||null==(o=n.components)||null==(i=o[r])?void 0:i.variants;return s&&s.forEach((function(n){var r=!0;Object.keys(n.props).forEach((function(t){l[t]!==n.props[t]&&e[t]!==n.props[t]&&(r=!1)})),r&&u.push(t[d(n.props)])})),u};function g(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}var y=(0,u.Z)();function b(e){var t,n=e.defaultTheme,r=e.theme,o=e.themeId;return t=r,0===Object.keys(t).length?n:r[o]||r}var w=n(6482),x=n(988),k=function(e){return g(e)&&"classes"!==e},S=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.themeId,n=e.defaultTheme,u=void 0===n?y:n,s=e.rootShouldForwardProp,c=void 0===s?g:s,f=e.slotShouldForwardProp,d=void 0===f?g:f,w=function(e){return(0,p.Z)((0,a.Z)({},e,{theme:b((0,a.Z)({},e,{defaultTheme:u,themeId:t}))}))};return w.__mui_systemSx=!0,function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,l.Co)(e,(function(e){return e.filter((function(e){return!(null!=e&&e.__mui_systemSx)}))}));var s=n.name,f=n.slot,p=n.skipVariantsResolver,y=n.skipSx,x=n.overridesResolver,k=(0,i.Z)(n,m),S=void 0!==p?p:f&&"Root"!==f||!1,E=y||!1,P=g;"Root"===f?P=c:f?P=d:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(P=void 0);var C=(0,l.ZP)(e,(0,a.Z)({shouldForwardProp:P,label:void 0},k)),Z=function(n){for(var i=arguments.length,l=new Array(i>1?i-1:0),c=1;c<i;c++)l[c-1]=arguments[c];var f=l?l.map((function(e){return"function"==typeof e&&e.__emotion_real!==e?function(n){return e((0,a.Z)({},n,{theme:b((0,a.Z)({},n,{defaultTheme:u,themeId:t}))}))}:e})):[],d=n;s&&x&&f.push((function(e){var n=b((0,a.Z)({},e,{defaultTheme:u,themeId:t})),r=function(e,t){return t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null}(s,n);if(r){var i={};return Object.entries(r).forEach((function(t){var r=(0,o.Z)(t,2),l=r[0],u=r[1];i[l]="function"==typeof u?u((0,a.Z)({},e,{theme:n})):u})),x(e,i)}return null})),s&&!S&&f.push((function(e){var n=b((0,a.Z)({},e,{defaultTheme:u,themeId:t}));return v(e,h(s,n),n,s)})),E||f.push(w);var p=f.length-l.length;if(Array.isArray(n)&&p>0){var m=new Array(p).fill("");(d=[].concat((0,r.Z)(n),(0,r.Z)(m))).raw=[].concat((0,r.Z)(n.raw),(0,r.Z)(m))}else"function"==typeof n&&n.__emotion_real!==n&&(d=function(e){return n((0,a.Z)({},e,{theme:b((0,a.Z)({},e,{defaultTheme:u,themeId:t}))}))});var g=C.apply(void 0,[d].concat((0,r.Z)(f)));return e.muiName&&(g.muiName=e.muiName),g};return C.withConfig&&(Z.withConfig=C.withConfig),Z}}({themeId:x.Z,defaultTheme:w.Z,rootShouldForwardProp:k}),E=S},551:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(7462);function o(e,t){var n=(0,r.Z)({},t);return Object.keys(e).forEach((function(i){if(i.toString().match(/^(components|slots)$/))n[i]=(0,r.Z)({},e[i],n[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){var a=e[i]||{},l=t[i];n[i]={},l&&Object.keys(l)?a&&Object.keys(a)?(n[i]=(0,r.Z)({},l),Object.keys(a).forEach((function(e){n[i][e]=o(a[e],l[e])}))):n[i]=l:n[i]=a}else void 0===n[i]&&(n[i]=e[i])})),n}function i(e){var t=e.theme,n=e.name,r=e.props;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?o(t.components[n].defaultProps,r):r}var a=n(418),l=n(6482),u=n(988);function s(e){return function(e){var t=e.props,n=e.name,r=e.defaultTheme,o=e.themeId,l=(0,a.Z)(r);return o&&(l=l[o]||l),i({theme:l,name:n,props:t})}({props:e.props,name:e.name,defaultTheme:l.Z,themeId:u.Z})}},4036:function(e,t,n){"use strict";var r=n(1122);t.Z=r.Z},9201:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(7462),o=n(2791),i=n(3366),a=n(8182),l=n(4419),u=n(4036),s=n(551),c=n(7630),f=n(5878),d=n(1217);function p(e){return(0,d.Z)("MuiSvgIcon",e)}(0,f.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var m=n(184),h=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],v=(0,c.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"inherit"!==n.color&&t["color".concat((0,u.Z)(n.color))],t["fontSize".concat((0,u.Z)(n.fontSize))]]}})((function(e){var t,n,r,o,i,a,l,u,s,c,f,d,p,m,h,v,g,y=e.theme,b=e.ownerState;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:b.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(t=y.transitions)||null==(n=t.create)?void 0:n.call(t,"fill",{duration:null==(r=y.transitions)||null==(o=r.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=y.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(l=y.typography)||null==(u=l.pxToRem)?void 0:u.call(l,24))||"1.5rem",large:(null==(s=y.typography)||null==(c=s.pxToRem)?void 0:c.call(s,35))||"2.1875rem"}[b.fontSize],color:null!=(f=null==(d=(y.vars||y).palette)||null==(p=d[b.color])?void 0:p.main)?f:{action:null==(m=(y.vars||y).palette)||null==(h=m.action)?void 0:h.active,disabled:null==(v=(y.vars||y).palette)||null==(g=v.action)?void 0:g.disabled,inherit:void 0}[b.color]}})),g=o.forwardRef((function(e,t){var n=(0,s.Z)({props:e,name:"MuiSvgIcon"}),c=n.children,f=n.className,d=n.color,g=void 0===d?"inherit":d,y=n.component,b=void 0===y?"svg":y,w=n.fontSize,x=void 0===w?"medium":w,k=n.htmlColor,S=n.inheritViewBox,E=void 0!==S&&S,P=n.titleAccess,C=n.viewBox,Z=void 0===C?"0 0 24 24":C,O=(0,i.Z)(n,h),T=o.isValidElement(c)&&"svg"===c.type,R=(0,r.Z)({},n,{color:g,component:b,fontSize:x,instanceFontSize:e.fontSize,inheritViewBox:E,viewBox:Z,hasSvgAsChild:T}),N={};E||(N.viewBox=Z);var _=function(e){var t=e.color,n=e.fontSize,r=e.classes,o={root:["root","inherit"!==t&&"color".concat((0,u.Z)(t)),"fontSize".concat((0,u.Z)(n))]};return(0,l.Z)(o,p,r)}(R);return(0,m.jsxs)(v,(0,r.Z)({as:b,className:(0,a.Z)(_.root,f),focusable:"false",color:k,"aria-hidden":!P||void 0,role:P?"img":void 0,ref:t},N,O,T&&c.props,{ownerState:R,children:[T?c.props.children:c,P?(0,m.jsx)("title",{children:P}):null]}))}));g.muiName="SvgIcon";var y=g;function b(e,t){function n(n,o){return(0,m.jsx)(y,(0,r.Z)({"data-testid":"".concat(t,"Icon"),ref:o},n,{children:e}))}return n.muiName=y.muiName,o.memo(o.forwardRef(n))}},3070:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=this,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];clearTimeout(t),t=setTimeout((function(){e.apply(r,i)}),n)}return r.clear=function(){clearTimeout(t)},r}},5395:function(e,t,n){"use strict";n.r(t),n.d(t,{capitalize:function(){return o.Z},createChainedFunction:function(){return i},createSvgIcon:function(){return a.Z},debounce:function(){return l.Z},deprecatedPropType:function(){return u},isMuiElement:function(){return c},ownerDocument:function(){return f.Z},ownerWindow:function(){return d.Z},requirePropFactory:function(){return p},setRef:function(){return m},unstable_ClassNameGenerator:function(){return k},unstable_useEnhancedEffect:function(){return h.Z},unstable_useId:function(){return v.Z},unsupportedProp:function(){return g},useControlled:function(){return y.Z},useEventCallback:function(){return b.Z},useForkRef:function(){return w.Z},useIsFocusVisible:function(){return x.Z}});var r=n(5902),o=n(4036),i=n(8949).Z,a=n(9201),l=n(3070),u=function(e,t){return function(){return null}},s=n(2791),c=function(e,t){return s.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)},f=n(8301),d=n(7602);n(7462);var p=function(e,t){return function(){return null}},m=n(2971).Z,h=n(162),v=n(5987),g=function(e,t,n,r,o){return null},y=n(5158),b=n(9683),w=n(2071),x=n(3031),k={configure:function(e){r.Z.configure(e)}}},8301:function(e,t,n){"use strict";var r=n(4913);t.Z=r.Z},7602:function(e,t,n){"use strict";var r=n(5202);t.Z=r.Z},5158:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(885),o=n(2791),i=function(e){var t=e.controlled,n=e.default,i=(e.name,e.state,o.useRef(void 0!==t).current),a=o.useState(n),l=(0,r.Z)(a,2),u=l[0],s=l[1];return[i?t:u,o.useCallback((function(e){i||s(e)}),[])]}},162:function(e,t,n){"use strict";var r=n(2876);t.Z=r.Z},9683:function(e,t,n){"use strict";var r=n(7054);t.Z=r.Z},2071:function(e,t,n){"use strict";var r=n(6117);t.Z=r.Z},5987:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(885),o=n(2791),i=0,a=n.t(o,2)["useId".toString()],l=function(e){if(void 0!==a){var t=a();return null!=e?e:t}return function(e){var t=o.useState(e),n=(0,r.Z)(t,2),a=n[0],l=n[1],u=e||a;return o.useEffect((function(){null==a&&l("mui-".concat(i+=1))}),[a]),u}(e)}},3031:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r,o=n(2791),i=!0,a=!1,l={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 u(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function s(){i=!1}function c(){"hidden"===this.visibilityState&&a&&(i=!0)}var f=function(){var e=o.useCallback((function(e){var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",u,!0),t.addEventListener("mousedown",s,!0),t.addEventListener("pointerdown",s,!0),t.addEventListener("touchstart",s,!0),t.addEventListener("visibilitychange",c,!0))}),[]),t=o.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!function(e){var t=e.target;try{return t.matches(":focus-visible")}catch(e){}return i||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!l[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,window.clearTimeout(r),r=window.setTimeout((function(){a=!1}),100),t.current=!1,!0)},ref:e}}},5783:function(e,t,n){"use strict";n.d(t,{ZP:function(){return y},Co:function(){return b}});var r=n(7462),o=n(2791),i=n(9797),a=/^((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=(0,i.Z)((function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),u=n(2564),s=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},c=n(9140),f=n(2561),d=l,p=function(e){return"theme"!==e},m=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?d:p},h=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},v=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return s(t,n,r),(0,f.L)((function(){return function(e,t,n){s(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,n,r)})),null},g=function e(t,n){var i,a,l=t.__emotion_real===t,s=l&&t.__emotion_base||t;void 0!==n&&(i=n.label,a=n.target);var f=h(t,n,l),d=f||m(s),p=!d("as");return function(){var g=arguments,y=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&y.push("label:"+i+";"),null==g[0]||void 0===g[0].raw)y.push.apply(y,g);else{y.push(g[0][0]);for(var b=g.length,w=1;w<b;w++)y.push(g[w],g[0][w])}var x=(0,u.w)((function(e,t,n){var r=p&&e.as||s,i="",l=[],h=e;if(null==e.theme){for(var g in h={},e)h[g]=e[g];h.theme=o.useContext(u.T)}"string"==typeof e.className?i=function(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}(t.registered,l,e.className):null!=e.className&&(i=e.className+" ");var b=(0,c.O)(y.concat(l),t.registered,h);i+=t.key+"-"+b.name,void 0!==a&&(i+=" "+a);var w=p&&void 0===f?m(r):d,x={};for(var k in e)p&&"as"===k||w(k)&&(x[k]=e[k]);return x.className=i,x.ref=n,o.createElement(o.Fragment,null,o.createElement(v,{cache:t,serialized:b,isStringTag:"string"==typeof r}),o.createElement(r,x))}));return x.displayName=void 0!==i?i:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",x.defaultProps=t.defaultProps,x.__emotion_real=x,x.__emotion_base=s,x.__emotion_styles=y,x.__emotion_forwardProp=f,Object.defineProperty(x,"toString",{value:function(){return"."+a}}),x.withComponent=function(t,o){return e(t,(0,r.Z)({},n,o,{shouldForwardProp:h(x,o,!0)})).apply(void 0,y)},x}}.bind();function y(e,t){return g(e,t)}["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){g[e]=g(e)}));var b=function(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},1184:function(e,t,n){"use strict";n.d(t,{L7:function(){return l},P$:function(){return u},VO:function(){return r},W8:function(){return a},k9:function(){return i}});var r={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(r[e],"px)")}};function i(e,t,n){var i=e.theme||{};if(Array.isArray(t)){var a=i.breakpoints||o;return t.reduce((function(e,r,o){return e[a.up(a.keys[o])]=n(t[o]),e}),{})}if("object"==typeof t){var l=i.breakpoints||o;return Object.keys(t).reduce((function(e,o){if(-1!==Object.keys(l.values||r).indexOf(o))e[l.up(o)]=n(t[o],o);else{var i=o;e[i]=t[i]}return e}),{})}return n(t)}function a(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(null==(e=t.keys)?void 0:e.reduce((function(e,n){return e[t.up(n)]={},e}),{}))||{}}function l(e,t){return e.reduce((function(e,t){var n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function u(e){var t,n=e.values,r=e.breakpoints,o=e.base||function(e,t){if("object"!=typeof e)return{};var n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((function(t,r){r<e.length&&(n[t]=!0)})):r.forEach((function(t){null!=e[t]&&(n[t]=!0)})),n}(n,r),i=Object.keys(o);return 0===i.length?n:i.reduce((function(e,r,o){return Array.isArray(n)?(e[r]=null!=n[o]?n[o]:n[t],t=o):"object"==typeof n?(e[r]=null!=n[r]?n[r]:n[t],t=r):e[r]=n,e}),{})}},2065:function(e,t,n){"use strict";n.d(t,{$n:function(){return f},Fq:function(){return s},_j:function(){return c},mi:function(){return u}});var r=n(6189);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.slice(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,r.Z)(9,e));var o,a=e.substring(t+1,e.length-1);if("color"===n){if(o=(a=a.split(" ")).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,r.Z)(10,o))}else a=a.split(",");return{type:n,values:a=a.map((function(e){return parseFloat(e)})),colorSpace:o}}function a(e){var t=e.type,n=e.colorSpace,r=e.values;return-1!==t.indexOf("rgb")?r=r.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),r=-1!==t.indexOf("color")?"".concat(n," ").concat(r.join(" ")):"".concat(r.join(", ")),"".concat(t,"(").concat(r,")")}function l(e){var t="hsl"===(e=i(e)).type||"hsla"===e.type?i(function(e){var t=(e=i(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,l=r*Math.min(o,1-o),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-l*Math.max(Math.min(t-3,9-t,1),-1)},s="rgb",c=[Math.round(255*u(0)),Math.round(255*u(8)),Math.round(255*u(4))];return"hsla"===e.type&&(s+="a",c.push(t[3])),a({type:s,values:c})}(e)).values:e.values;return t=t.map((function(t){return"color"!==e.type&&(t/=255),t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function u(e,t){var n=l(e),r=l(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function s(e,t){return e=i(e),t=o(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/".concat(t):e.values[3]=t,a(e)}function c(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(var n=0;n<3;n+=1)e.values[n]*=1-t;return a(e)}function f(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(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(var r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return a(e)}},5080:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(7462),o=n(3366),i=n(2466),a=n(4942),l=["values","unit","step"],u=function(e){var t=Object.keys(e).map((function(t){return{key:t,val:e[t]}}))||[];return t.sort((function(e,t){return e.val-t.val})),t.reduce((function(e,t){return(0,r.Z)({},e,(0,a.Z)({},t.key,t.val))}),{})},s={borderRadius:4},c=n(5682),f=n(104),d=n(7416),p=["breakpoints","palette","spacing","shape"],m=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,a=e.palette,m=void 0===a?{}:a,h=e.spacing,v=e.shape,g=void 0===v?{}:v,y=(0,o.Z)(e,p),b=function(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:900,lg:1200,xl:1536}:t,i=e.unit,a=void 0===i?"px":i,s=e.step,c=void 0===s?5:s,f=(0,o.Z)(e,l),d=u(n),p=Object.keys(d);function m(e){var t="number"==typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(a,")")}function h(e){var t="number"==typeof n[e]?n[e]:e;return"@media (max-width:".concat(t-c/100).concat(a,")")}function v(e,t){var r=p.indexOf(t);return"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(a,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof n[p[r]]?n[p[r]]:t)-c/100).concat(a,")")}return(0,r.Z)({keys:p,values:d,up:m,down:h,between:v,only:function(e){return p.indexOf(e)+1<p.length?v(e,p[p.indexOf(e)+1]):m(e)},not:function(e){var t=p.indexOf(e);return 0===t?m(p[1]):t===p.length-1?h(p[t]):v(e,p[p.indexOf(e)+1]).replace("@media","@media not all and")},unit:a},f)}(n),w=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=(0,c.hB)({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(0===n.length?[1]:n).map((function(e){var n=t(e);return"number"==typeof n?"".concat(n,"px"):n})).join(" ")};return n.mui=!0,n}(h),x=(0,i.Z)({breakpoints:b,direction:"ltr",components:{},palette:(0,r.Z)({mode:"light"},m),spacing:w,shape:(0,r.Z)({},s,g)},y),k=arguments.length,S=new Array(k>1?k-1:0),E=1;E<k;E++)S[E-1]=arguments[E];return(x=S.reduce((function(e,t){return(0,i.Z)(e,t)}),x)).unstable_sxConfig=(0,r.Z)({},d.Z,null==y?void 0:y.unstable_sxConfig),x.unstable_sx=function(e){return(0,f.Z)({sx:e,theme:this})},x}},8247:function(e,t,n){"use strict";var r=n(2466);t.Z=function(e,t){return t?(0,r.Z)(e,t,{clone:!1}):e}},5682:function(e,t,n){"use strict";n.d(t,{hB:function(){return h},eI:function(){return m},NA:function(){return v},e6:function(){return y},o3:function(){return b}});var r=n(885),o=n(1184),i=n(8529),a=n(8247),l={m:"margin",p:"padding"},u={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},s={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(e){var t={};return function(e){return void 0===t[e]&&(t[e]=function(e){if(e.length>2){if(!s[e])return[e];e=s[e]}var t=e.split(""),n=(0,r.Z)(t,2),o=n[0],i=n[1],a=l[o],c=u[i]||"";return Array.isArray(c)?c.map((function(e){return a+e})):[a+c]}(e)),t[e]}}(),f=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[].concat(f,d);function m(e,t,n,r){var o,a=null!=(o=(0,i.DW)(e,t,!1))?o:n;return"number"==typeof a?function(e){return"string"==typeof e?e:a*e}:Array.isArray(a)?function(e){return"string"==typeof e?e:a[e]}:"function"==typeof a?a:function(){}}function h(e){return m(e,"spacing",8)}function v(e,t){if("string"==typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:"-".concat(n)}function g(e,t){var n=h(e.theme);return Object.keys(e).map((function(r){return function(e,t,n,r){if(-1===t.indexOf(n))return null;var i=function(e,t){return function(n){return e.reduce((function(e,r){return e[r]=v(t,n),e}),{})}}(c(n),r),a=e[n];return(0,o.k9)(e,a,i)}(e,t,r,n)})).reduce(a.Z,{})}function y(e){return g(e,f)}function b(e){return g(e,d)}function w(e){return g(e,p)}y.propTypes={},y.filterProps=f,b.propTypes={},b.filterProps=d,w.propTypes={},w.filterProps=p},8529:function(e,t,n){"use strict";n.d(t,{DW:function(){return a},Jq:function(){return l}});var r=n(4942),o=n(1122),i=n(1184);function a(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){var r="vars.".concat(t).split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e);if(null!=r)return r}return t.split(".").reduce((function(e,t){return e&&null!=e[t]?e[t]:null}),e)}function l(e,t,n){var r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return r="function"==typeof e?e(n):Array.isArray(e)?e[n]||o:a(e,n)||o,t&&(r=t(r,o,e)),r}t.ZP=function(e){var t=e.prop,n=e.cssProperty,u=void 0===n?e.prop:n,s=e.themeKey,c=e.transform,f=function(e){if(null==e[t])return null;var n=e[t],f=a(e.theme,s)||{};return(0,i.k9)(e,n,(function(e){var n=l(f,c,e);return e===n&&"string"==typeof e&&(n=l(f,c,"".concat(t).concat("default"===e?"":(0,o.Z)(e)),e)),!1===u?n:(0,r.Z)({},u,n)}))};return f.propTypes={},f.filterProps=[t],f}},7416:function(e,t,n){"use strict";n.d(t,{Z:function(){return N}});var r=n(5682),o=n(8529),i=n(8247),a=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return t.filterProps.forEach((function(n){e[n]=t})),e}),{}),o=function(e){return Object.keys(e).reduce((function(t,n){return r[n]?(0,i.Z)(t,r[n](e)):t}),{})};return o.propTypes={},o.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),o},l=n(1184);function u(e){return"number"!=typeof e?e:"".concat(e,"px solid")}var s=(0,o.ZP)({prop:"border",themeKey:"borders",transform:u}),c=(0,o.ZP)({prop:"borderTop",themeKey:"borders",transform:u}),f=(0,o.ZP)({prop:"borderRight",themeKey:"borders",transform:u}),d=(0,o.ZP)({prop:"borderBottom",themeKey:"borders",transform:u}),p=(0,o.ZP)({prop:"borderLeft",themeKey:"borders",transform:u}),m=(0,o.ZP)({prop:"borderColor",themeKey:"palette"}),h=(0,o.ZP)({prop:"borderTopColor",themeKey:"palette"}),v=(0,o.ZP)({prop:"borderRightColor",themeKey:"palette"}),g=(0,o.ZP)({prop:"borderBottomColor",themeKey:"palette"}),y=(0,o.ZP)({prop:"borderLeftColor",themeKey:"palette"}),b=function(e){if(void 0!==e.borderRadius&&null!==e.borderRadius){var t=(0,r.eI)(e.theme,"shape.borderRadius",4,"borderRadius");return(0,l.k9)(e,e.borderRadius,(function(e){return{borderRadius:(0,r.NA)(t,e)}}))}return null};b.propTypes={},b.filterProps=["borderRadius"],a(s,c,f,d,p,m,h,v,g,y,b);var w=function(e){if(void 0!==e.gap&&null!==e.gap){var t=(0,r.eI)(e.theme,"spacing",8,"gap");return(0,l.k9)(e,e.gap,(function(e){return{gap:(0,r.NA)(t,e)}}))}return null};w.propTypes={},w.filterProps=["gap"];var x=function(e){if(void 0!==e.columnGap&&null!==e.columnGap){var t=(0,r.eI)(e.theme,"spacing",8,"columnGap");return(0,l.k9)(e,e.columnGap,(function(e){return{columnGap:(0,r.NA)(t,e)}}))}return null};x.propTypes={},x.filterProps=["columnGap"];var k=function(e){if(void 0!==e.rowGap&&null!==e.rowGap){var t=(0,r.eI)(e.theme,"spacing",8,"rowGap");return(0,l.k9)(e,e.rowGap,(function(e){return{rowGap:(0,r.NA)(t,e)}}))}return null};function S(e,t){return"grey"===t?t:e}function E(e){return e<=1&&0!==e?"".concat(100*e,"%"):e}k.propTypes={},k.filterProps=["rowGap"],a(w,x,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}));var P=(0,o.ZP)({prop:"width",transform:E}),C=function(e){return void 0!==e.maxWidth&&null!==e.maxWidth?(0,l.k9)(e,e.maxWidth,(function(t){var n,r,o;return{maxWidth:(null==(n=e.theme)||null==(r=n.breakpoints)||null==(o=r.values)?void 0:o[t])||l.VO[t]||E(t)}})):null};C.filterProps=["maxWidth"];var Z=(0,o.ZP)({prop:"minWidth",transform:E}),O=(0,o.ZP)({prop:"height",transform:E}),T=(0,o.ZP)({prop:"maxHeight",transform:E}),R=(0,o.ZP)({prop:"minHeight",transform:E}),N=((0,o.ZP)({prop:"size",cssProperty:"width",transform:E}),(0,o.ZP)({prop:"size",cssProperty:"height",transform:E}),a(P,C,Z,O,T,R,(0,o.ZP)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:u},borderTop:{themeKey:"borders",transform:u},borderRight:{themeKey:"borders",transform:u},borderBottom:{themeKey:"borders",transform:u},borderLeft:{themeKey:"borders",transform:u},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:r.o3},pt:{style:r.o3},pr:{style:r.o3},pb:{style:r.o3},pl:{style:r.o3},px:{style:r.o3},py:{style:r.o3},padding:{style:r.o3},paddingTop:{style:r.o3},paddingRight:{style:r.o3},paddingBottom:{style:r.o3},paddingLeft:{style:r.o3},paddingX:{style:r.o3},paddingY:{style:r.o3},paddingInline:{style:r.o3},paddingInlineStart:{style:r.o3},paddingInlineEnd:{style:r.o3},paddingBlock:{style:r.o3},paddingBlockStart:{style:r.o3},paddingBlockEnd:{style:r.o3},m:{style:r.e6},mt:{style:r.e6},mr:{style:r.e6},mb:{style:r.e6},ml:{style:r.e6},mx:{style:r.e6},my:{style:r.e6},margin:{style:r.e6},marginTop:{style:r.e6},marginRight:{style:r.e6},marginBottom:{style:r.e6},marginLeft:{style:r.e6},marginX:{style:r.e6},marginY:{style:r.e6},marginInline:{style:r.e6},marginInlineStart:{style:r.e6},marginInlineEnd:{style:r.e6},marginBlock:{style:r.e6},marginBlockStart:{style:r.e6},marginBlockEnd:{style:r.e6},displayPrint:{cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:w},rowGap:{style:k},columnGap:{style:x},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:E},maxWidth:{style:C},minWidth:{transform:E},height:{transform:E},maxHeight:{transform:E},minHeight:{transform:E},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},104:function(e,t,n){"use strict";var r=n(4942),o=n(1122),i=n(8247),a=n(8529),l=n(1184),u=n(7416),s=function(){function e(e,t,n,i){var u,s=(u={},(0,r.Z)(u,e,t),(0,r.Z)(u,"theme",n),u),c=i[e];if(!c)return(0,r.Z)({},e,t);var f=c.cssProperty,d=void 0===f?e:f,p=c.themeKey,m=c.transform,h=c.style;if(null==t)return null;if("typography"===p&&"inherit"===t)return(0,r.Z)({},e,t);var v=(0,a.DW)(n,p)||{};return h?h(s):(0,l.k9)(s,t,(function(t){var n=(0,a.Jq)(v,m,t);return t===n&&"string"==typeof t&&(n=(0,a.Jq)(v,m,"".concat(e).concat("default"===t?"":(0,o.Z)(t)),t)),!1===d?n:(0,r.Z)({},d,n)}))}return function t(n){var o,a=n||{},s=a.sx,c=a.theme,f=void 0===c?{}:c;if(!s)return null;var d=null!=(o=f.unstable_sxConfig)?o:u.Z;function p(n){var o=n;if("function"==typeof n)o=n(f);else if("object"!=typeof n)return n;if(!o)return null;var a=(0,l.W8)(f.breakpoints),u=Object.keys(a),s=a;return Object.keys(o).forEach((function(n){var a,u="function"==typeof(a=o[n])?a(f):a;if(null!=u)if("object"==typeof u)if(d[n])s=(0,i.Z)(s,e(n,u,f,d));else{var c=(0,l.k9)({theme:f},u,(function(e){return(0,r.Z)({},n,e)}));!function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return e.concat(Object.keys(t))}),[]),o=new Set(r);return t.every((function(e){return o.size===Object.keys(e).length}))}(c,u)?s=(0,i.Z)(s,c):s[n]=t({sx:u,theme:f})}else s=(0,i.Z)(s,e(n,u,f,d))})),(0,l.L7)(u,s)}return Array.isArray(s)?s.map(p):p(s)}}();s.filterProps=["sx"],t.Z=s},418:function(e,t,n){"use strict";var r=n(5080),o=n(9120),i=(0,r.Z)();t.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;return(0,o.Z)(e)}},9120:function(e,t,n){"use strict";var r=n(2791),o=n(2564);t.Z=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=r.useContext(o.T);return n&&(e=n,0!==Object.keys(e).length)?n:t}},5902:function(e,t){"use strict";var n=function(e){return e},r=function(){var e=n;return{configure:function(t){e=t},generate:function(t){return e(t)},reset:function(){e=n}}}();t.Z=r},1122:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(6189);function o(e){if("string"!=typeof e)throw new Error((0,r.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},4419:function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r={};return Object.keys(e).forEach((function(o){r[o]=e[o].reduce((function(e,r){if(r){var o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}n.d(t,{Z:function(){return r}})},8949:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}}),(function(){}))}n.d(t,{Z:function(){return r}})},2466:function(e,t,n){"use strict";n.d(t,{P:function(){return o},Z:function(){return a}});var r=n(7462);function o(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function i(e){if(!o(e))return e;var t={};return Object.keys(e).forEach((function(n){t[n]=i(e[n])})),t}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},l=n.clone?(0,r.Z)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(o(t[r])&&r in e&&o(e[r])?l[r]=a(e[r],t[r],n):n.clone?l[r]=o(t[r])?i(t[r]):t[r]:l[r]=t[r])})),l}},6189:function(e,t,n){"use strict";function r(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}n.d(t,{Z:function(){return r}})},1217:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(5902),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){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",i=o[t];return i?"".concat(n,"-").concat(i):"".concat(r.Z.generate(e),"-").concat(t)}},5878:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(1217);function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",o={};return t.forEach((function(t){o[t]=(0,r.Z)(e,t,n)})),o}},4913:function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{Z:function(){return r}})},5202:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(4913);function o(e){return(0,r.Z)(e).defaultView||window}},2971:function(e,t,n){"use strict";function r(e,t){"function"==typeof e?e(t):e&&(e.current=t)}n.d(t,{Z:function(){return r}})},2876:function(e,t,n){"use strict";var r=n(2791),o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;t.Z=o},7054:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2791),o=n(2876);function i(e){var t=r.useRef(e);return(0,o.Z)((function(){t.current=e})),r.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}},6117:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2791),o=n(2971);function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.useMemo((function(){return t.every((function(e){return null==e}))?null:function(e){t.forEach((function(t){(0,o.Z)(t,e)}))}}),t)}},8182:function(e,t,n){"use strict";function r(e){var t,n,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]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}t.Z=function(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}},2110:function(e,t,n){"use strict";var r=n(8309),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},l={};function u(e){return r.isMemo(e)?a:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=a;var s=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=p(n);o&&o!==m&&e(t,o,r)}var a=c(n);f&&(a=a.concat(f(n)));for(var l=u(t),h=u(n),v=0;v<a.length;++v){var g=a[v];if(!(i[g]||r&&r[g]||h&&h[g]||l&&l[g])){var y=d(n,g);try{s(t,g,y)}catch(e){}}}}return t}},746:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,s=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case f:case i:case l:case a:case p:return e;default:switch(e=e&&e.$$typeof){case s:case d:case v:case h:case u:return e;default:return t}}case o:return t}}}function k(e){return x(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=s,t.ContextProvider=u,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=v,t.Memo=h,t.Portal=o,t.Profiler=l,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||x(e)===c},t.isConcurrentMode=k,t.isContextConsumer=function(e){return x(e)===s},t.isContextProvider=function(e){return x(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===d},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===v},t.isMemo=function(e){return x(e)===h},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===l},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===f||e===l||e===a||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===h||e.$$typeof===u||e.$$typeof===s||e.$$typeof===d||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===g)},t.typeOf=x},8309:function(e,t,n){"use strict";e.exports=n(746)},4463:function(e,t,n){"use strict";var r=n(2791),o=n(5296);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,l={};function u(e,t){s(e,t),s(e+"Capture",t)}function s(e,t){for(l[e]=t,e=0;e<t.length;e++)a.add(t[e])}var c=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),f=Object.prototype.hasOwnProperty,d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},m={};function h(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new h(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new h(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new h(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new h(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new h(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new h(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var o=v.hasOwnProperty(t)?v[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!f.call(m,e)||!f.call(p,e)&&(d.test(e)?m[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,y);v[t]=new h(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,y);v[t]=new h(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,y);v[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),k=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),P=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),Z=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),_=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var M=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var A=Symbol.iterator;function j(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=A&&e[A]||e["@@iterator"])?e:null}var L,z=Object.assign;function F(e){if(void 0===L)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);L=t&&t[1]||""}return"\n"+L+e}var I=!1;function D(e,t){if(!e||I)return"";I=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(1!==a||1!==l)do{if(a--,0>--l||o[a]!==i[l]){var u="\n"+o[a].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=a&&0<=l);break}}}finally{I=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function B(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return D(e.type,!1);case 11:return D(e.type.render,!1);case 1:return D(e.type,!0);default:return""}}function U(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case k:return"Portal";case P:return"Profiler";case E:return"StrictMode";case T:return"Suspense";case R:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Z:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case O:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case N:return null!==(t=e.displayName||null)?t:U(e.type)||"Memo";case _:t=e._payload,e=e._init;try{return U(e(t))}catch(e){}}return null}function W(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return U(t);case 8:return t===E?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function V(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function $(e){e._valueTracker||(e._valueTracker=function(e){var t=V(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=V(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function K(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function G(e,t){var n=t.checked;return z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Q(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function X(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Y(e,t){X(e,t);var n=H(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&K(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+H(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return z({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:H(n)}}function ie(e,t){var n=H(t.value),r=H(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ue(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var se,ce,fe=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((se=se||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=se.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function de(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},me=["Webkit","ms","Moz","O"];function he(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ve(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=he(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach((function(e){me.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ge=z({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ke=null,Se=null,Ee=null;function Pe(e){if(e=wo(e)){if("function"!=typeof ke)throw Error(i(280));var t=e.stateNode;t&&(t=ko(t),ke(e.stateNode,e.type,t))}}function Ce(e){Se?Ee?Ee.push(e):Ee=[e]:Se=e}function Ze(){if(Se){var e=Se,t=Ee;if(Ee=Se=null,Pe(e),t)for(e=0;e<t.length;e++)Pe(t[e])}}function Oe(e,t){return e(t)}function Te(){}var Re=!1;function Ne(e,t,n){if(Re)return e(t,n);Re=!0;try{return Oe(e,t,n)}finally{Re=!1,(null!==Se||null!==Ee)&&(Te(),Ze())}}function _e(e,t){var n=e.stateNode;if(null===n)return null;var r=ko(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var Me=!1;if(c)try{var Ae={};Object.defineProperty(Ae,"passive",{get:function(){Me=!0}}),window.addEventListener("test",Ae,Ae),window.removeEventListener("test",Ae,Ae)}catch(ce){Me=!1}function je(e,t,n,r,o,i,a,l,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this.onError(e)}}var Le=!1,ze=null,Fe=!1,Ie=null,De={onError:function(e){Le=!0,ze=e}};function Be(e,t,n,r,o,i,a,l,u){Le=!1,ze=null,je.apply(De,arguments)}function Ue(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function We(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function He(e){if(Ue(e)!==e)throw Error(i(188))}function Ve(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ue(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return He(o),e;if(a===r)return He(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var l=!1,u=o.child;u;){if(u===n){l=!0,n=o,r=a;break}if(u===r){l=!0,r=o,n=a;break}u=u.sibling}if(!l){for(u=a.child;u;){if(u===n){l=!0,n=a,r=o;break}if(u===r){l=!0,r=a,n=o;break}u=u.sibling}if(!l)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?$e(e):null}function $e(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=$e(e);if(null!==t)return t;e=e.sibling}return null}var qe=o.unstable_scheduleCallback,Ke=o.unstable_cancelCallback,Ge=o.unstable_shouldYield,Qe=o.unstable_requestPaint,Xe=o.unstable_now,Ye=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null,at=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(lt(e)/ut|0)|0},lt=Math.log,ut=Math.LN2,st=64,ct=4194304;function ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var l=a&~o;0!==l?r=ft(l):0!=(i&=a)&&(r=ft(i))}else 0!=(a=n&~o)?r=ft(a):0!==i&&(r=ft(i));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!=(4194240&i)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function mt(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ht(){var e=st;return 0==(4194240&(st<<=1))&&(st=64),e}function vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function gt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var xt,kt,St,Et,Pt,Ct=!1,Zt=[],Ot=null,Tt=null,Rt=null,Nt=new Map,_t=new Map,Mt=[],At="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function jt(e,t){switch(e){case"focusin":case"focusout":Ot=null;break;case"dragenter":case"dragleave":Tt=null;break;case"mouseover":case"mouseout":Rt=null;break;case"pointerover":case"pointerout":Nt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":_t.delete(t.pointerId)}}function Lt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&null!==(t=wo(t))&&kt(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function zt(e){var t=bo(e.target);if(null!==t){var n=Ue(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=We(n)))return e.blockedOn=t,void Pt(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ft(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Gt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=wo(n))&&kt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function It(e,t,n){Ft(e)&&n.delete(t)}function Dt(){Ct=!1,null!==Ot&&Ft(Ot)&&(Ot=null),null!==Tt&&Ft(Tt)&&(Tt=null),null!==Rt&&Ft(Rt)&&(Rt=null),Nt.forEach(It),_t.forEach(It)}function Bt(e,t){e.blockedOn===t&&(e.blockedOn=null,Ct||(Ct=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Dt)))}function Ut(e){function t(t){return Bt(t,e)}if(0<Zt.length){Bt(Zt[0],e);for(var n=1;n<Zt.length;n++){var r=Zt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Ot&&Bt(Ot,e),null!==Tt&&Bt(Tt,e),null!==Rt&&Bt(Rt,e),Nt.forEach(t),_t.forEach(t),n=0;n<Mt.length;n++)(r=Mt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Mt.length&&null===(n=Mt[0]).blockedOn;)zt(n),null===n.blockedOn&&Mt.shift()}var Wt=w.ReactCurrentBatchConfig,Ht=!0;function Vt(e,t,n,r){var o=bt,i=Wt.transition;Wt.transition=null;try{bt=1,qt(e,t,n,r)}finally{bt=o,Wt.transition=i}}function $t(e,t,n,r){var o=bt,i=Wt.transition;Wt.transition=null;try{bt=4,qt(e,t,n,r)}finally{bt=o,Wt.transition=i}}function qt(e,t,n,r){if(Ht){var o=Gt(e,t,n,r);if(null===o)Hr(e,t,r,Kt,n),jt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Ot=Lt(Ot,e,t,n,r,o),!0;case"dragenter":return Tt=Lt(Tt,e,t,n,r,o),!0;case"mouseover":return Rt=Lt(Rt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Nt.set(i,Lt(Nt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,_t.set(i,Lt(_t.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(jt(e,r),4&t&&-1<At.indexOf(e)){for(;null!==o;){var i=wo(o);if(null!==i&&xt(i),null===(i=Gt(e,t,n,r))&&Hr(e,t,r,Kt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Hr(e,t,r,null,n)}}var Kt=null;function Gt(e,t,n,r){if(Kt=null,null!==(e=bo(e=xe(r))))if(null===(t=Ue(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=We(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Kt=e,null}function Qt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ye()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Xt=null,Yt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Yt,r=n.length,o="value"in Xt?Xt.value:Xt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return z(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,ln,un,sn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(sn),fn=z({},sn,{view:0,detail:0}),dn=on(fn),pn=z({},fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&"mousemove"===e.type?(an=e.screenX-un.screenX,ln=e.screenY-un.screenY):ln=an=0,un=e),an)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),mn=on(pn),hn=on(z({},pn,{dataTransfer:0})),vn=on(z({},fn,{relatedTarget:0})),gn=on(z({},sn,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=z({},sn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(yn),wn=on(z({},sn,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function Pn(){return En}var Cn=z({},fn,{key:function(e){if(e.key){var t=xn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?kn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Zn=on(Cn),On=on(z({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Tn=on(z({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pn})),Rn=on(z({},sn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Nn=z({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),_n=on(Nn),Mn=[9,13,27,32],An=c&&"CompositionEvent"in window,jn=null;c&&"documentMode"in document&&(jn=document.documentMode);var Ln=c&&"TextEvent"in window&&!jn,zn=c&&(!An||jn&&8<jn&&11>=jn),Fn=String.fromCharCode(32),In=!1;function Dn(e,t){switch(e){case"keyup":return-1!==Mn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Un=!1,Wn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Wn[e.type]:"textarea"===t}function Vn(e,t,n,r){Ce(r),0<(t=$r(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var $n=null,qn=null;function Kn(e){Fr(e,0)}function Gn(e){if(q(xo(e)))return e}function Qn(e,t){if("change"===e)return t}var Xn=!1;if(c){var Yn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Yn=Jn}else Yn=!1;Xn=Yn&&(!document.documentMode||9<document.documentMode)}function tr(){$n&&($n.detachEvent("onpropertychange",nr),qn=$n=null)}function nr(e){if("value"===e.propertyName&&Gn(qn)){var t=[];Vn(t,qn,e,xe(e)),Ne(Kn,t)}}function rr(e,t,n){"focusin"===e?(tr(),qn=n,($n=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Gn(qn)}function ir(e,t){if("click"===e)return Gn(t)}function ar(e,t){if("input"===e||"change"===e)return Gn(t)}var lr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ur(e,t){if(lr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!f.call(t,o)||!lr(e[o],t[o]))return!1}return!0}function sr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=sr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=sr(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=K((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function mr(e){var t=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=cr(n,i);var a=cr(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var hr=c&&"documentMode"in document&&11>=document.documentMode,vr=null,gr=null,yr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==vr||vr!==K(r)||(r="selectionStart"in(r=vr)&&pr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&ur(yr,r)||(yr=r,0<(r=$r(gr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}function xr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kr={animationend:xr("Animation","AnimationEnd"),animationiteration:xr("Animation","AnimationIteration"),animationstart:xr("Animation","AnimationStart"),transitionend:xr("Transition","TransitionEnd")},Sr={},Er={};function Pr(e){if(Sr[e])return Sr[e];if(!kr[e])return e;var t,n=kr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return Sr[e]=n[t];return e}c&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete kr.animationend.animation,delete kr.animationiteration.animation,delete kr.animationstart.animation),"TransitionEvent"in window||delete kr.transitionend.transition);var Cr=Pr("animationend"),Zr=Pr("animationiteration"),Or=Pr("animationstart"),Tr=Pr("transitionend"),Rr=new Map,Nr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function _r(e,t){Rr.set(e,t),u(t,[e])}for(var Mr=0;Mr<Nr.length;Mr++){var Ar=Nr[Mr];_r(Ar.toLowerCase(),"on"+(Ar[0].toUpperCase()+Ar.slice(1)))}_r(Cr,"onAnimationEnd"),_r(Zr,"onAnimationIteration"),_r(Or,"onAnimationStart"),_r("dblclick","onDoubleClick"),_r("focusin","onFocus"),_r("focusout","onBlur"),_r(Tr,"onTransitionEnd"),s("onMouseEnter",["mouseout","mouseover"]),s("onMouseLeave",["mouseout","mouseover"]),s("onPointerEnter",["pointerout","pointerover"]),s("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var jr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Lr=new Set("cancel close invalid load scroll toggle".split(" ").concat(jr));function zr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,l,u,s){if(Be.apply(this,arguments),Le){if(!Le)throw Error(i(198));var c=ze;Le=!1,ze=null,Fe||(Fe=!0,Ie=c)}}(r,t,void 0,e),e.currentTarget=null}function Fr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],u=l.instance,s=l.currentTarget;if(l=l.listener,u!==i&&o.isPropagationStopped())break e;zr(o,l,s),i=u}else for(a=0;a<r.length;a++){if(u=(l=r[a]).instance,s=l.currentTarget,l=l.listener,u!==i&&o.isPropagationStopped())break e;zr(o,l,s),i=u}}}if(Fe)throw e=Ie,Fe=!1,Ie=null,e}function Ir(e,t){var n=t[vo];void 0===n&&(n=t[vo]=new Set);var r=e+"__bubble";n.has(r)||(Wr(t,e,2,!1),n.add(r))}function Dr(e,t,n){var r=0;t&&(r|=4),Wr(n,e,r,t)}var Br="_reactListening"+Math.random().toString(36).slice(2);function Ur(e){if(!e[Br]){e[Br]=!0,a.forEach((function(t){"selectionchange"!==t&&(Lr.has(t)||Dr(t,!1,e),Dr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Br]||(t[Br]=!0,Dr("selectionchange",!1,t))}}function Wr(e,t,n,r){switch(Qt(t)){case 1:var o=Vt;break;case 4:o=$t;break;default:o=qt}n=o.bind(null,t,n,e),o=void 0,!Me||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Hr(e,t,n,r,o){var i=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var u=a.tag;if((3===u||4===u)&&((u=a.stateNode.containerInfo)===o||8===u.nodeType&&u.parentNode===o))return;a=a.return}for(;null!==l;){if(null===(a=bo(l)))return;if(5===(u=a.tag)||6===u){r=i=a;continue e}l=l.parentNode}}r=r.return}Ne((function(){var r=i,o=xe(n),a=[];e:{var l=Rr.get(e);if(void 0!==l){var u=cn,s=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":u=Zn;break;case"focusin":s="focus",u=vn;break;case"focusout":s="blur",u=vn;break;case"beforeblur":case"afterblur":u=vn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=mn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=hn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Tn;break;case Cr:case Zr:case Or:u=gn;break;case Tr:u=Rn;break;case"scroll":u=dn;break;case"wheel":u=_n;break;case"copy":case"cut":case"paste":u=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=On}var c=0!=(4&t),f=!c&&"scroll"===e,d=c?null!==l?l+"Capture":null:l;c=[];for(var p,m=r;null!==m;){var h=(p=m).stateNode;if(5===p.tag&&null!==h&&(p=h,null!==d&&null!=(h=_e(m,d))&&c.push(Vr(m,h,p))),f)break;m=m.return}0<c.length&&(l=new u(l,s,null,n,o),a.push({event:l,listeners:c}))}}if(0==(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===we||!(s=n.relatedTarget||n.fromElement)||!bo(s)&&!s[ho])&&(u||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,u?(u=r,null!==(s=(s=n.relatedTarget||n.toElement)?bo(s):null)&&(s!==(f=Ue(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(u=null,s=r),u!==s)){if(c=mn,h="onMouseLeave",d="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(c=On,h="onPointerLeave",d="onPointerEnter",m="pointer"),f=null==u?l:xo(u),p=null==s?l:xo(s),(l=new c(h,m+"leave",u,n,o)).target=f,l.relatedTarget=p,h=null,bo(o)===r&&((c=new c(d,m+"enter",s,n,o)).target=p,c.relatedTarget=f,h=c),f=h,u&&s)e:{for(d=s,m=0,p=c=u;p;p=qr(p))m++;for(p=0,h=d;h;h=qr(h))p++;for(;0<m-p;)c=qr(c),m--;for(;0<p-m;)d=qr(d),p--;for(;m--;){if(c===d||null!==d&&c===d.alternate)break e;c=qr(c),d=qr(d)}c=null}else c=null;null!==u&&Kr(a,l,u,c,!1),null!==s&&null!==f&&Kr(a,f,s,c,!0)}if("select"===(u=(l=r?xo(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type)var v=Qn;else if(Hn(l))if(Xn)v=ar;else{v=or;var g=rr}else(u=l.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(v=ir);switch(v&&(v=v(e,r))?Vn(a,v,n,o):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&ee(l,"number",l.value)),g=r?xo(r):window,e){case"focusin":(Hn(g)||"true"===g.contentEditable)&&(vr=g,gr=r,yr=null);break;case"focusout":yr=gr=vr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(a,n,o);break;case"selectionchange":if(hr)break;case"keydown":case"keyup":wr(a,n,o)}var y;if(An)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Un?Dn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(zn&&"ko"!==n.locale&&(Un||"onCompositionStart"!==b?"onCompositionEnd"===b&&Un&&(y=en()):(Yt="value"in(Xt=o)?Xt.value:Xt.textContent,Un=!0)),0<(g=$r(r,b)).length&&(b=new wn(b,e,null,n,o),a.push({event:b,listeners:g}),(y||null!==(y=Bn(n)))&&(b.data=y))),(y=Ln?function(e,t){switch(e){case"compositionend":return Bn(t);case"keypress":return 32!==t.which?null:(In=!0,Fn);case"textInput":return(e=t.data)===Fn&&In?null:e;default:return null}}(e,n):function(e,t){if(Un)return"compositionend"===e||!An&&Dn(e,t)?(e=en(),Jt=Yt=Xt=null,Un=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=$r(r,"onBeforeInput")).length&&(o=new wn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y)}Fr(a,t)}))}function Vr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function $r(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=_e(e,n))&&r.unshift(Vr(e,i,o)),null!=(i=_e(e,t))&&r.push(Vr(e,i,o))),e=e.return}return r}function qr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Kr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var l=n,u=l.alternate,s=l.stateNode;if(null!==u&&u===r)break;5===l.tag&&null!==s&&(l=s,o?null!=(u=_e(n,i))&&a.unshift(Vr(n,u,l)):o||null!=(u=_e(n,i))&&a.push(Vr(n,u,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Gr=/\r\n?/g,Qr=/\u0000|\uFFFD/g;function Xr(e){return("string"==typeof e?e:""+e).replace(Gr,"\n").replace(Qr,"")}function Yr(e,t,n){if(t=Xr(t),Xr(e)!==t&&n)throw Error(i(425))}function Jr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,io="function"==typeof Promise?Promise:void 0,ao="function"==typeof queueMicrotask?queueMicrotask:void 0!==io?function(e){return io.resolve(null).then(e).catch(lo)}:ro;function lo(e){setTimeout((function(){throw e}))}function uo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Ut(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Ut(t)}function so(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function co(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),po="__reactFiber$"+fo,mo="__reactProps$"+fo,ho="__reactContainer$"+fo,vo="__reactEvents$"+fo,go="__reactListeners$"+fo,yo="__reactHandles$"+fo;function bo(e){var t=e[po];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ho]||n[po]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=co(e);null!==e;){if(n=e[po])return n;e=co(e)}return t}n=(e=n).parentNode}return null}function wo(e){return!(e=e[po]||e[ho])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function xo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function ko(e){return e[mo]||null}var So=[],Eo=-1;function Po(e){return{current:e}}function Co(e){0>Eo||(e.current=So[Eo],So[Eo]=null,Eo--)}function Zo(e,t){Eo++,So[Eo]=e.current,e.current=t}var Oo={},To=Po(Oo),Ro=Po(!1),No=Oo;function _o(e,t){var n=e.type.contextTypes;if(!n)return Oo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Mo(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Ao(){Co(Ro),Co(To)}function jo(e,t,n){if(To.current!==Oo)throw Error(i(168));Zo(To,t),Zo(Ro,n)}function Lo(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,W(e)||"Unknown",o));return z({},n,r)}function zo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Oo,No=To.current,Zo(To,e),Zo(Ro,Ro.current),!0}function Fo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Lo(e,t,No),r.__reactInternalMemoizedMergedChildContext=e,Co(Ro),Co(To),Zo(To,e)):Co(Ro),Zo(Ro,n)}var Io=null,Do=!1,Bo=!1;function Uo(e){null===Io?Io=[e]:Io.push(e)}function Wo(){if(!Bo&&null!==Io){Bo=!0;var e=0,t=bt;try{var n=Io;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Io=null,Do=!1}catch(t){throw null!==Io&&(Io=Io.slice(e+1)),qe(Je,Wo),t}finally{bt=t,Bo=!1}}return null}var Ho=[],Vo=0,$o=null,qo=0,Ko=[],Go=0,Qo=null,Xo=1,Yo="";function Jo(e,t){Ho[Vo++]=qo,Ho[Vo++]=$o,$o=e,qo=t}function ei(e,t,n){Ko[Go++]=Xo,Ko[Go++]=Yo,Ko[Go++]=Qo,Qo=e;var r=Xo;e=Yo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Xo=1<<32-at(t)+o|n<<o|r,Yo=i+e}else Xo=1<<i|n<<o|r,Yo=e}function ti(e){null!==e.return&&(Jo(e,1),ei(e,1,0))}function ni(e){for(;e===$o;)$o=Ho[--Vo],Ho[Vo]=null,qo=Ho[--Vo],Ho[Vo]=null;for(;e===Qo;)Qo=Ko[--Go],Ko[Go]=null,Yo=Ko[--Go],Ko[Go]=null,Xo=Ko[--Go],Ko[Go]=null}var ri=null,oi=null,ii=!1,ai=null;function li(e,t){var n=_s(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function ui(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,oi=so(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Qo?{id:Xo,overflow:Yo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=_s(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function si(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function ci(e){if(ii){var t=oi;if(t){var n=t;if(!ui(e,t)){if(si(e))throw Error(i(418));t=so(n.nextSibling);var r=ri;t&&ui(e,t)?li(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(si(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function fi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function di(e){if(e!==ri)return!1;if(!ii)return fi(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(si(e))throw pi(),Error(i(418));for(;t;)li(e,t),t=so(t.nextSibling)}if(fi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=so(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?so(e.stateNode.nextSibling):null;return!0}function pi(){for(var e=oi;e;)e=so(e.nextSibling)}function mi(){oi=ri=null,ii=!1}function hi(e){null===ai?ai=[e]:ai.push(e)}var vi=w.ReactCurrentBatchConfig;function gi(e,t){if(e&&e.defaultProps){for(var n in t=z({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var yi=Po(null),bi=null,wi=null,xi=null;function ki(){xi=wi=bi=null}function Si(e){var t=yi.current;Co(yi),e._currentValue=t}function Ei(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Pi(e,t){bi=e,xi=wi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(wl=!0),e.firstContext=null)}function Ci(e){var t=e._currentValue;if(xi!==e)if(e={context:e,memoizedValue:t,next:null},null===wi){if(null===bi)throw Error(i(308));wi=e,bi.dependencies={lanes:0,firstContext:e}}else wi=wi.next=e;return t}var Zi=null;function Oi(e){null===Zi?Zi=[e]:Zi.push(e)}function Ti(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Oi(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ri(e,r)}function Ri(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ni=!1;function _i(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Mi(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ai(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ji(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Tu)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ri(e,n)}return null===(o=r.interleaved)?(t.next=t,Oi(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ri(e,n)}function Li(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function zi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Fi(e,t,n,r){var o=e.updateQueue;Ni=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var u=l,s=u.next;u.next=null,null===a?i=s:a.next=s,a=u;var c=e.alternate;null!==c&&(l=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===l?c.firstBaseUpdate=s:l.next=s,c.lastBaseUpdate=u)}if(null!==i){var f=o.baseState;for(a=0,c=s=u=null,l=i;;){var d=l.lane,p=l.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var m=e,h=l;switch(d=t,p=n,h.tag){case 1:if("function"==typeof(m=h.payload)){f=m.call(p,f,d);break e}f=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null===(d="function"==typeof(m=h.payload)?m.call(p,f,d):m)||void 0===d)break e;f=z({},f,d);break e;case 2:Ni=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(d=o.effects)?o.effects=[l]:d.push(l))}else p={eventTime:p,lane:d,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(s=c=p,u=f):c=c.next=p,a|=d;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(d=l).next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}if(null===c&&(u=f),o.baseState=u,o.firstBaseUpdate=s,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);zu|=a,e.lanes=a,e.memoizedState=f}}function Ii(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(i(191,o));o.call(r)}}}var Di=(new r.Component).refs;function Bi(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:z({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Ui={isMounted:function(e){return!!(e=e._reactInternals)&&Ue(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ts(),o=ns(e),i=Ai(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=ji(e,i,o))&&(rs(t,e,o,r),Li(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ts(),o=ns(e),i=Ai(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=ji(e,i,o))&&(rs(t,e,o,r),Li(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ts(),r=ns(e),o=Ai(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=ji(e,o,r))&&(rs(t,e,r,n),Li(t,e,r))}};function Wi(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!(t.prototype&&t.prototype.isPureReactComponent&&ur(n,r)&&ur(o,i))}function Hi(e,t,n){var r=!1,o=Oo,i=t.contextType;return"object"==typeof i&&null!==i?i=Ci(i):(o=Mo(t)?No:To.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?_o(e,o):Oo),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ui,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Vi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ui.enqueueReplaceState(t,t.state,null)}function $i(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Di,_i(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=Ci(i):(i=Mo(t)?No:To.current,o.context=_o(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(Bi(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Ui.enqueueReplaceState(o,o.state,null),Fi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function qi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;t===Di&&(t=o.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Ki(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Gi(e){return(0,e._init)(e._payload)}function Qi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=As(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Fs(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){var i=n.type;return i===S?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===_&&Gi(i)===t.type)?((r=o(t,n.props)).ref=qi(e,t,n),r.return=e,r):((r=js(n.type,n.key,n.props,null,e.mode,r)).ref=qi(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Is(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=Ls(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Fs(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case x:return(n=js(t.type,t.key,t.props,null,e.mode,n)).ref=qi(e,null,t),n.return=e,n;case k:return(t=Is(t,e.mode,n)).return=e,t;case _:return d(e,(0,t._init)(t._payload),n)}if(te(t)||j(t))return(t=Ls(t,e.mode,n,null)).return=e,t;Ki(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case x:return n.key===o?s(e,t,n,r):null;case k:return n.key===o?c(e,t,n,r):null;case _:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||j(n))return null!==o?null:f(e,t,n,r,null);Ki(e,n)}return null}function m(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case x:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o);case k:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case _:return m(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||j(r))return f(t,e=e.get(n)||null,r,o,null);Ki(t,r)}return null}function h(o,i,l,u){for(var s=null,c=null,f=i,h=i=0,v=null;null!==f&&h<l.length;h++){f.index>h?(v=f,f=null):v=f.sibling;var g=p(o,f,l[h],u);if(null===g){null===f&&(f=v);break}e&&f&&null===g.alternate&&t(o,f),i=a(g,i,h),null===c?s=g:c.sibling=g,c=g,f=v}if(h===l.length)return n(o,f),ii&&Jo(o,h),s;if(null===f){for(;h<l.length;h++)null!==(f=d(o,l[h],u))&&(i=a(f,i,h),null===c?s=f:c.sibling=f,c=f);return ii&&Jo(o,h),s}for(f=r(o,f);h<l.length;h++)null!==(v=m(f,o,h,l[h],u))&&(e&&null!==v.alternate&&f.delete(null===v.key?h:v.key),i=a(v,i,h),null===c?s=v:c.sibling=v,c=v);return e&&f.forEach((function(e){return t(o,e)})),ii&&Jo(o,h),s}function v(o,l,u,s){var c=j(u);if("function"!=typeof c)throw Error(i(150));if(null==(u=c.call(u)))throw Error(i(151));for(var f=c=null,h=l,v=l=0,g=null,y=u.next();null!==h&&!y.done;v++,y=u.next()){h.index>v?(g=h,h=null):g=h.sibling;var b=p(o,h,y.value,s);if(null===b){null===h&&(h=g);break}e&&h&&null===b.alternate&&t(o,h),l=a(b,l,v),null===f?c=b:f.sibling=b,f=b,h=g}if(y.done)return n(o,h),ii&&Jo(o,v),c;if(null===h){for(;!y.done;v++,y=u.next())null!==(y=d(o,y.value,s))&&(l=a(y,l,v),null===f?c=y:f.sibling=y,f=y);return ii&&Jo(o,v),c}for(h=r(o,h);!y.done;v++,y=u.next())null!==(y=m(h,o,v,y.value,s))&&(e&&null!==y.alternate&&h.delete(null===y.key?v:y.key),l=a(y,l,v),null===f?c=y:f.sibling=y,f=y);return e&&h.forEach((function(e){return t(o,e)})),ii&&Jo(o,v),c}return function e(r,i,a,u){if("object"==typeof a&&null!==a&&a.type===S&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case x:e:{for(var s=a.key,c=i;null!==c;){if(c.key===s){if((s=a.type)===S){if(7===c.tag){n(r,c.sibling),(i=o(c,a.props.children)).return=r,r=i;break e}}else if(c.elementType===s||"object"==typeof s&&null!==s&&s.$$typeof===_&&Gi(s)===c.type){n(r,c.sibling),(i=o(c,a.props)).ref=qi(r,c,a),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}a.type===S?((i=Ls(a.props.children,r.mode,u,a.key)).return=r,r=i):((u=js(a.type,a.key,a.props,null,r.mode,u)).ref=qi(r,i,a),u.return=r,r=u)}return l(r);case k:e:{for(c=a.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Is(a,r.mode,u)).return=r,r=i}return l(r);case _:return e(r,i,(c=a._init)(a._payload),u)}if(te(a))return h(r,i,a,u);if(j(a))return v(r,i,a,u);Ki(r,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=Fs(a,r.mode,u)).return=r,r=i),l(r)):n(r,i)}}var Xi=Qi(!0),Yi=Qi(!1),Ji={},ea=Po(Ji),ta=Po(Ji),na=Po(Ji);function ra(e){if(e===Ji)throw Error(i(174));return e}function oa(e,t){switch(Zo(na,t),Zo(ta,e),Zo(ea,Ji),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Co(ea),Zo(ea,t)}function ia(){Co(ea),Co(ta),Co(na)}function aa(e){ra(na.current);var t=ra(ea.current),n=ue(t,e.type);t!==n&&(Zo(ta,e),Zo(ea,n))}function la(e){ta.current===e&&(Co(ea),Co(ta))}var ua=Po(0);function sa(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ca=[];function fa(){for(var e=0;e<ca.length;e++)ca[e]._workInProgressVersionPrimary=null;ca.length=0}var da=w.ReactCurrentDispatcher,pa=w.ReactCurrentBatchConfig,ma=0,ha=null,va=null,ga=null,ya=!1,ba=!1,wa=0,xa=0;function ka(){throw Error(i(321))}function Sa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function Ea(e,t,n,r,o,a){if(ma=a,ha=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,da.current=null===e||null===e.memoizedState?ll:ul,e=n(r,o),ba){a=0;do{if(ba=!1,wa=0,25<=a)throw Error(i(301));a+=1,ga=va=null,t.updateQueue=null,da.current=sl,e=n(r,o)}while(ba)}if(da.current=al,t=null!==va&&null!==va.next,ma=0,ga=va=ha=null,ya=!1,t)throw Error(i(300));return e}function Pa(){var e=0!==wa;return wa=0,e}function Ca(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ga?ha.memoizedState=ga=e:ga=ga.next=e,ga}function Za(){if(null===va){var e=ha.alternate;e=null!==e?e.memoizedState:null}else e=va.next;var t=null===ga?ha.memoizedState:ga.next;if(null!==t)ga=t,va=e;else{if(null===e)throw Error(i(310));e={memoizedState:(va=e).memoizedState,baseState:va.baseState,baseQueue:va.baseQueue,queue:va.queue,next:null},null===ga?ha.memoizedState=ga=e:ga=ga.next=e}return ga}function Oa(e,t){return"function"==typeof t?t(e):t}function Ta(e){var t=Za(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=va,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var l=o.next;o.next=a.next,a.next=l}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var u=l=null,s=null,c=a;do{var f=c.lane;if((ma&f)===f)null!==s&&(s=s.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:f,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===s?(u=s=d,l=r):s=s.next=d,ha.lanes|=f,zu|=f}c=c.next}while(null!==c&&c!==a);null===s?l=r:s.next=u,lr(r,t.memoizedState)||(wl=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,ha.lanes|=a,zu|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ra(e){var t=Za(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var l=o=o.next;do{a=e(a,l.action),l=l.next}while(l!==o);lr(a,t.memoizedState)||(wl=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Na(){}function _a(e,t){var n=ha,r=Za(),o=t(),a=!lr(r.memoizedState,o);if(a&&(r.memoizedState=o,wl=!0),r=r.queue,Ha(ja.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ga&&1&ga.memoizedState.tag){if(n.flags|=2048,Ia(9,Aa.bind(null,n,r,o,t),void 0,null),null===Ru)throw Error(i(349));0!=(30&ma)||Ma(n,t,o)}return o}function Ma(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ha.updateQueue)?(t={lastEffect:null,stores:null},ha.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Aa(e,t,n,r){t.value=n,t.getSnapshot=r,La(t)&&za(e)}function ja(e,t,n){return n((function(){La(t)&&za(e)}))}function La(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(e){return!0}}function za(e){var t=Ri(e,1);null!==t&&rs(t,e,1,-1)}function Fa(e){var t=Ca();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Oa,lastRenderedState:e},t.queue=e,e=e.dispatch=nl.bind(null,ha,e),[t.memoizedState,e]}function Ia(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ha.updateQueue)?(t={lastEffect:null,stores:null},ha.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Da(){return Za().memoizedState}function Ba(e,t,n,r){var o=Ca();ha.flags|=e,o.memoizedState=Ia(1|t,n,void 0,void 0===r?null:r)}function Ua(e,t,n,r){var o=Za();r=void 0===r?null:r;var i=void 0;if(null!==va){var a=va.memoizedState;if(i=a.destroy,null!==r&&Sa(r,a.deps))return void(o.memoizedState=Ia(t,n,i,r))}ha.flags|=e,o.memoizedState=Ia(1|t,n,i,r)}function Wa(e,t){return Ba(8390656,8,e,t)}function Ha(e,t){return Ua(2048,8,e,t)}function Va(e,t){return Ua(4,2,e,t)}function $a(e,t){return Ua(4,4,e,t)}function qa(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ka(e,t,n){return n=null!=n?n.concat([e]):null,Ua(4,4,qa.bind(null,t,e),n)}function Ga(){}function Qa(e,t){var n=Za();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Sa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Xa(e,t){var n=Za();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Sa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ya(e,t,n){return 0==(21&ma)?(e.baseState&&(e.baseState=!1,wl=!0),e.memoizedState=n):(lr(n,t)||(n=ht(),ha.lanes|=n,zu|=n,e.baseState=!0),t)}function Ja(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=pa.transition;pa.transition={};try{e(!1),t()}finally{bt=n,pa.transition=r}}function el(){return Za().memoizedState}function tl(e,t,n){var r=ns(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rl(e)?ol(t,n):null!==(n=Ti(e,t,n,r))&&(rs(n,e,r,ts()),il(n,t,r))}function nl(e,t,n){var r=ns(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rl(e))ol(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,lr(l,a)){var u=t.interleaved;return null===u?(o.next=o,Oi(t)):(o.next=u.next,u.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=Ti(e,t,o,r))&&(rs(n,e,r,o=ts()),il(n,t,r))}}function rl(e){var t=e.alternate;return e===ha||null!==t&&t===ha}function ol(e,t){ba=ya=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function il(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var al={readContext:Ci,useCallback:ka,useContext:ka,useEffect:ka,useImperativeHandle:ka,useInsertionEffect:ka,useLayoutEffect:ka,useMemo:ka,useReducer:ka,useRef:ka,useState:ka,useDebugValue:ka,useDeferredValue:ka,useTransition:ka,useMutableSource:ka,useSyncExternalStore:ka,useId:ka,unstable_isNewReconciler:!1},ll={readContext:Ci,useCallback:function(e,t){return Ca().memoizedState=[e,void 0===t?null:t],e},useContext:Ci,useEffect:Wa,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ba(4194308,4,qa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ba(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ba(4,2,e,t)},useMemo:function(e,t){var n=Ca();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ca();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=tl.bind(null,ha,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ca().memoizedState=e},useState:Fa,useDebugValue:Ga,useDeferredValue:function(e){return Ca().memoizedState=e},useTransition:function(){var e=Fa(!1),t=e[0];return e=Ja.bind(null,e[1]),Ca().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ha,o=Ca();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Ru)throw Error(i(349));0!=(30&ma)||Ma(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Wa(ja.bind(null,r,a,e),[e]),r.flags|=2048,Ia(9,Aa.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Ca(),t=Ru.identifierPrefix;if(ii){var n=Yo;t=":"+t+"R"+(n=(Xo&~(1<<32-at(Xo)-1)).toString(32)+n),0<(n=wa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=xa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ul={readContext:Ci,useCallback:Qa,useContext:Ci,useEffect:Ha,useImperativeHandle:Ka,useInsertionEffect:Va,useLayoutEffect:$a,useMemo:Xa,useReducer:Ta,useRef:Da,useState:function(){return Ta(Oa)},useDebugValue:Ga,useDeferredValue:function(e){return Ya(Za(),va.memoizedState,e)},useTransition:function(){return[Ta(Oa)[0],Za().memoizedState]},useMutableSource:Na,useSyncExternalStore:_a,useId:el,unstable_isNewReconciler:!1},sl={readContext:Ci,useCallback:Qa,useContext:Ci,useEffect:Ha,useImperativeHandle:Ka,useInsertionEffect:Va,useLayoutEffect:$a,useMemo:Xa,useReducer:Ra,useRef:Da,useState:function(){return Ra(Oa)},useDebugValue:Ga,useDeferredValue:function(e){var t=Za();return null===va?t.memoizedState=e:Ya(t,va.memoizedState,e)},useTransition:function(){return[Ra(Oa)[0],Za().memoizedState]},useMutableSource:Na,useSyncExternalStore:_a,useId:el,unstable_isNewReconciler:!1};function cl(e,t){try{var n="",r=t;do{n+=B(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function fl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function dl(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var pl="function"==typeof WeakMap?WeakMap:Map;function ml(e,t,n){(n=Ai(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Vu||(Vu=!0,$u=r),dl(0,t)},n}function hl(e,t,n){(n=Ai(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){dl(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){dl(0,t),"function"!=typeof r&&(null===qu?qu=new Set([this]):qu.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function vl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pl;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Cs.bind(null,e,t,n),t.then(e,e))}function gl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function yl(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Ai(-1,1)).tag=2,ji(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var bl=w.ReactCurrentOwner,wl=!1;function xl(e,t,n,r){t.child=null===e?Yi(t,null,n,r):Xi(t,e.child,n,r)}function kl(e,t,n,r,o){n=n.render;var i=t.ref;return Pi(t,o),r=Ea(e,t,n,r,i,o),n=Pa(),null===e||wl?(ii&&n&&ti(t),t.flags|=1,xl(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Vl(e,t,o))}function Sl(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||Ms(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=js(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,El(e,t,i,r,o))}if(i=e.child,0==(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(a,r)&&e.ref===t.ref)return Vl(e,t,o)}return t.flags|=1,(e=As(i,r)).ref=t.ref,e.return=t,t.child=e}function El(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(ur(i,r)&&e.ref===t.ref){if(wl=!1,t.pendingProps=r=i,0==(e.lanes&o))return t.lanes=e.lanes,Vl(e,t,o);0!=(131072&e.flags)&&(wl=!0)}}return Zl(e,t,n,r,o)}function Pl(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Zo(Au,Mu),Mu|=n;else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Zo(Au,Mu),Mu|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Zo(Au,Mu),Mu|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Zo(Au,Mu),Mu|=r;return xl(e,t,o,n),t.child}function Cl(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Zl(e,t,n,r,o){var i=Mo(n)?No:To.current;return i=_o(t,i),Pi(t,o),n=Ea(e,t,n,r,i,o),r=Pa(),null===e||wl?(ii&&r&&ti(t),t.flags|=1,xl(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Vl(e,t,o))}function Ol(e,t,n,r,o){if(Mo(n)){var i=!0;zo(t)}else i=!1;if(Pi(t,o),null===t.stateNode)Hl(e,t),Hi(t,n,r),$i(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var u=a.context,s=n.contextType;s="object"==typeof s&&null!==s?Ci(s):_o(t,s=Mo(n)?No:To.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||u!==s)&&Vi(t,a,r,s),Ni=!1;var d=t.memoizedState;a.state=d,Fi(t,r,a,o),u=t.memoizedState,l!==r||d!==u||Ro.current||Ni?("function"==typeof c&&(Bi(t,n,c,r),u=t.memoizedState),(l=Ni||Wi(t,n,l,r,d,u,s))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=s,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Mi(e,t),l=t.memoizedProps,s=t.type===t.elementType?l:gi(t.type,l),a.props=s,f=t.pendingProps,d=a.context,u="object"==typeof(u=n.contextType)&&null!==u?Ci(u):_o(t,u=Mo(n)?No:To.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==f||d!==u)&&Vi(t,a,r,u),Ni=!1,d=t.memoizedState,a.state=d,Fi(t,r,a,o);var m=t.memoizedState;l!==f||d!==m||Ro.current||Ni?("function"==typeof p&&(Bi(t,n,p,r),m=t.memoizedState),(s=Ni||Wi(t,n,s,r,d,m,u)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,m,u),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,m,u)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),a.props=r,a.state=m,a.context=u,r=s):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Tl(e,t,n,r,i,o)}function Tl(e,t,n,r,o,i){Cl(e,t);var a=0!=(128&t.flags);if(!r&&!a)return o&&Fo(t,n,!1),Vl(e,t,i);r=t.stateNode,bl.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Xi(t,e.child,null,i),t.child=Xi(t,null,l,i)):xl(e,t,l,i),t.memoizedState=r.state,o&&Fo(t,n,!0),t.child}function Rl(e){var t=e.stateNode;t.pendingContext?jo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&jo(0,t.context,!1),oa(e,t.containerInfo)}function Nl(e,t,n,r,o){return mi(),hi(o),t.flags|=256,xl(e,t,n,r),t.child}var _l,Ml,Al,jl,Ll={dehydrated:null,treeContext:null,retryLane:0};function zl(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fl(e,t,n){var r,o=t.pendingProps,a=ua.current,l=!1,u=0!=(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Zo(ua,1&a),null===e)return ci(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(u=o.children,e=o.fallback,l?(o=t.mode,l=t.child,u={mode:"hidden",children:u},0==(1&o)&&null!==l?(l.childLanes=0,l.pendingProps=u):l=zs(u,o,0,null),e=Ls(e,o,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=zl(n),t.memoizedState=Ll,e):Il(t,u));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,l){if(n)return 256&t.flags?(t.flags&=-257,Dl(e,t,l,r=fl(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=zs({mode:"visible",children:r.children},o,0,null),(a=Ls(a,o,l,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!=(1&t.mode)&&Xi(t,e.child,null,l),t.child.memoizedState=zl(l),t.memoizedState=Ll,a);if(0==(1&t.mode))return Dl(e,t,l,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var u=r.dgst;return r=u,Dl(e,t,l,r=fl(a=Error(i(419)),r,void 0))}if(u=0!=(l&e.childLanes),wl||u){if(null!==(r=Ru)){switch(l&-l){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|l))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Ri(e,o),rs(r,e,o,-1))}return vs(),Dl(e,t,l,r=fl(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Os.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=so(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&(Ko[Go++]=Xo,Ko[Go++]=Yo,Ko[Go++]=Qo,Xo=e.id,Yo=e.overflow,Qo=t),(t=Il(t,r.children)).flags|=4096,t)}(e,t,u,o,r,a,n);if(l){l=o.fallback,u=t.mode,r=(a=e.child).sibling;var s={mode:"hidden",children:o.children};return 0==(1&u)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=s,t.deletions=null):(o=As(a,s)).subtreeFlags=14680064&a.subtreeFlags,null!==r?l=As(r,l):(l=Ls(l,u,n,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,o=l,l=t.child,u=null===(u=e.child.memoizedState)?zl(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},l.memoizedState=u,l.childLanes=e.childLanes&~n,t.memoizedState=Ll,o}return e=(l=e.child).sibling,o=As(l,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Il(e,t){return(t=zs({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Dl(e,t,n,r){return null!==r&&hi(r),Xi(t,e.child,null,n),(e=Il(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Bl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ei(e.return,t,n)}function Ul(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Wl(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(xl(e,t,r.children,n),0!=(2&(r=ua.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Bl(e,n,t);else if(19===e.tag)Bl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Zo(ua,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===sa(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Ul(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===sa(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Ul(t,!0,n,null,i);break;case"together":Ul(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Hl(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Vl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),zu|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=As(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=As(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function $l(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ql(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Kl(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ql(t),null;case 1:case 17:return Mo(t.type)&&Ao(),ql(t),null;case 3:return r=t.stateNode,ia(),Co(Ro),Co(To),fa(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(di(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ai&&(ls(ai),ai=null))),Ml(e,t),ql(t),null;case 5:la(t);var o=ra(na.current);if(n=t.type,null!==e&&null!=t.stateNode)Al(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return ql(t),null}if(e=ra(ea.current),di(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[po]=t,r[mo]=a,e=0!=(1&t.mode),n){case"dialog":Ir("cancel",r),Ir("close",r);break;case"iframe":case"object":case"embed":Ir("load",r);break;case"video":case"audio":for(o=0;o<jr.length;o++)Ir(jr[o],r);break;case"source":Ir("error",r);break;case"img":case"image":case"link":Ir("error",r),Ir("load",r);break;case"details":Ir("toggle",r);break;case"input":Q(r,a),Ir("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Ir("invalid",r);break;case"textarea":oe(r,a),Ir("invalid",r)}for(var u in ye(n,a),o=null,a)if(a.hasOwnProperty(u)){var s=a[u];"children"===u?"string"==typeof s?r.textContent!==s&&(!0!==a.suppressHydrationWarning&&Yr(r.textContent,s,e),o=["children",s]):"number"==typeof s&&r.textContent!==""+s&&(!0!==a.suppressHydrationWarning&&Yr(r.textContent,s,e),o=["children",""+s]):l.hasOwnProperty(u)&&null!=s&&"onScroll"===u&&Ir("scroll",r)}switch(n){case"input":$(r),J(r,a,!0);break;case"textarea":$(r),ae(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{u=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[po]=t,e[mo]=r,_l(e,t,!1,!1),t.stateNode=e;e:{switch(u=be(n,r),n){case"dialog":Ir("cancel",e),Ir("close",e),o=r;break;case"iframe":case"object":case"embed":Ir("load",e),o=r;break;case"video":case"audio":for(o=0;o<jr.length;o++)Ir(jr[o],e);o=r;break;case"source":Ir("error",e),o=r;break;case"img":case"image":case"link":Ir("error",e),Ir("load",e),o=r;break;case"details":Ir("toggle",e),o=r;break;case"input":Q(e,r),o=G(e,r),Ir("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=z({},r,{value:void 0}),Ir("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Ir("invalid",e)}for(a in ye(n,o),s=o)if(s.hasOwnProperty(a)){var c=s[a];"style"===a?ve(e,c):"dangerouslySetInnerHTML"===a?null!=(c=c?c.__html:void 0)&&fe(e,c):"children"===a?"string"==typeof c?("textarea"!==n||""!==c)&&de(e,c):"number"==typeof c&&de(e,""+c):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(l.hasOwnProperty(a)?null!=c&&"onScroll"===a&&Ir("scroll",e):null!=c&&b(e,a,c,u))}switch(n){case"input":$(e),J(e,r,!1);break;case"textarea":$(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return ql(t),null;case 6:if(e&&null!=t.stateNode)jl(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));if(n=ra(na.current),ra(ea.current),di(t)){if(r=t.stateNode,n=t.memoizedProps,r[po]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Yr(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Yr(r.nodeValue,n,0!=(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[po]=t,t.stateNode=r}return ql(t),null;case 13:if(Co(ua),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&0!=(1&t.mode)&&0==(128&t.flags))pi(),mi(),t.flags|=98560,a=!1;else if(a=di(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[po]=t}else mi(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;ql(t),a=!1}else null!==ai&&(ls(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&ua.current)?0===ju&&(ju=3):vs())),null!==t.updateQueue&&(t.flags|=4),ql(t),null);case 4:return ia(),Ml(e,t),null===e&&Ur(t.stateNode.containerInfo),ql(t),null;case 10:return Si(t.type._context),ql(t),null;case 19:if(Co(ua),null===(a=t.memoizedState))return ql(t),null;if(r=0!=(128&t.flags),null===(u=a.rendering))if(r)$l(a,!1);else{if(0!==ju||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(u=sa(e))){for(t.flags|=128,$l(a,!1),null!==(r=u.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(u=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=u.childLanes,a.lanes=u.lanes,a.child=u.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=u.memoizedProps,a.memoizedState=u.memoizedState,a.updateQueue=u.updateQueue,a.type=u.type,e=u.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Zo(ua,1&ua.current|2),t.child}e=e.sibling}null!==a.tail&&Xe()>Wu&&(t.flags|=128,r=!0,$l(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=sa(u))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),$l(a,!0),null===a.tail&&"hidden"===a.tailMode&&!u.alternate&&!ii)return ql(t),null}else 2*Xe()-a.renderingStartTime>Wu&&1073741824!==n&&(t.flags|=128,r=!0,$l(a,!1),t.lanes=4194304);a.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=a.last)?n.sibling=u:t.child=u,a.last=u)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Xe(),t.sibling=null,n=ua.current,Zo(ua,r?1&n|2:1&n),t):(ql(t),null);case 22:case 23:return ds(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Mu)&&(ql(t),6&t.subtreeFlags&&(t.flags|=8192)):ql(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Gl(e,t){switch(ni(t),t.tag){case 1:return Mo(t.type)&&Ao(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ia(),Co(Ro),Co(To),fa(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return la(t),null;case 13:if(Co(ua),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));mi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Co(ua),null;case 4:return ia(),null;case 10:return Si(t.type._context),null;case 22:case 23:return ds(),null;default:return null}}_l=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ml=function(){},Al=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ra(ea.current);var i,a=null;switch(n){case"input":o=G(e,o),r=G(e,r),a=[];break;case"select":o=z({},o,{value:void 0}),r=z({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(c in ye(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var u=o[c];for(i in u)u.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(l.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var s=r[c];if(u=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&s!==u&&(null!=s||null!=u))if("style"===c)if(u){for(i in u)!u.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&u[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(a||(a=[]),a.push(c,n)),n=s;else"dangerouslySetInnerHTML"===c?(s=s?s.__html:void 0,u=u?u.__html:void 0,null!=s&&u!==s&&(a=a||[]).push(c,s)):"children"===c?"string"!=typeof s&&"number"!=typeof s||(a=a||[]).push(c,""+s):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(l.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&Ir("scroll",e),a||u===s||(a=[])):(a=a||[]).push(c,s))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},jl=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ql=!1,Xl=!1,Yl="function"==typeof WeakSet?WeakSet:Set,Jl=null;function eu(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Ps(e,t,n)}else n.current=null}function tu(e,t,n){try{n()}catch(n){Ps(e,t,n)}}var nu=!1;function ru(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&tu(t,n,i)}o=o.next}while(o!==r)}}function ou(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function iu(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function au(e){var t=e.alternate;null!==t&&(e.alternate=null,au(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[po],delete t[mo],delete t[vo],delete t[go],delete t[yo]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function lu(e){return 5===e.tag||3===e.tag||4===e.tag}function uu(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||lu(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function su(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(su(e,t,n),e=e.sibling;null!==e;)su(e,t,n),e=e.sibling}function cu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cu(e,t,n),e=e.sibling;null!==e;)cu(e,t,n),e=e.sibling}var fu=null,du=!1;function pu(e,t,n){for(n=n.child;null!==n;)mu(e,t,n),n=n.sibling}function mu(e,t,n){if(it&&"function"==typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(e){}switch(n.tag){case 5:Xl||eu(n,t);case 6:var r=fu,o=du;fu=null,pu(e,t,n),du=o,null!==(fu=r)&&(du?(e=fu,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):fu.removeChild(n.stateNode));break;case 18:null!==fu&&(du?(e=fu,n=n.stateNode,8===e.nodeType?uo(e.parentNode,n):1===e.nodeType&&uo(e,n),Ut(e)):uo(fu,n.stateNode));break;case 4:r=fu,o=du,fu=n.stateNode.containerInfo,du=!0,pu(e,t,n),fu=r,du=o;break;case 0:case 11:case 14:case 15:if(!Xl&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!=(2&i)||0!=(4&i))&&tu(n,t,a),o=o.next}while(o!==r)}pu(e,t,n);break;case 1:if(!Xl&&(eu(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Ps(n,t,e)}pu(e,t,n);break;case 21:pu(e,t,n);break;case 22:1&n.mode?(Xl=(r=Xl)||null!==n.memoizedState,pu(e,t,n),Xl=r):pu(e,t,n);break;default:pu(e,t,n)}}function hu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Yl),t.forEach((function(t){var r=Ts.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function vu(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,l=t,u=l;e:for(;null!==u;){switch(u.tag){case 5:fu=u.stateNode,du=!1;break e;case 3:case 4:fu=u.stateNode.containerInfo,du=!0;break e}u=u.return}if(null===fu)throw Error(i(160));mu(a,l,o),fu=null,du=!1;var s=o.alternate;null!==s&&(s.return=null),o.return=null}catch(e){Ps(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gu(t,e),t=t.sibling}function gu(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vu(t,e),yu(e),4&r){try{ru(3,e,e.return),ou(3,e)}catch(t){Ps(e,e.return,t)}try{ru(5,e,e.return)}catch(t){Ps(e,e.return,t)}}break;case 1:vu(t,e),yu(e),512&r&&null!==n&&eu(n,n.return);break;case 5:if(vu(t,e),yu(e),512&r&&null!==n&&eu(n,n.return),32&e.flags){var o=e.stateNode;try{de(o,"")}catch(t){Ps(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,l=null!==n?n.memoizedProps:a,u=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===u&&"radio"===a.type&&null!=a.name&&X(o,a),be(u,l);var c=be(u,a);for(l=0;l<s.length;l+=2){var f=s[l],d=s[l+1];"style"===f?ve(o,d):"dangerouslySetInnerHTML"===f?fe(o,d):"children"===f?de(o,d):b(o,f,d,c)}switch(u){case"input":Y(o,a);break;case"textarea":ie(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var m=a.value;null!=m?ne(o,!!a.multiple,m,!1):p!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[mo]=a}catch(t){Ps(e,e.return,t)}}break;case 6:if(vu(t,e),yu(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){Ps(e,e.return,t)}}break;case 3:if(vu(t,e),yu(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ut(t.containerInfo)}catch(t){Ps(e,e.return,t)}break;case 4:default:vu(t,e),yu(e);break;case 13:vu(t,e),yu(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Uu=Xe())),4&r&&hu(e);break;case 22:if(f=null!==n&&null!==n.memoizedState,1&e.mode?(Xl=(c=Xl)||f,vu(t,e),Xl=c):vu(t,e),yu(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!f&&0!=(1&e.mode))for(Jl=e,f=e.child;null!==f;){for(d=Jl=f;null!==Jl;){switch(m=(p=Jl).child,p.tag){case 0:case 11:case 14:case 15:ru(4,p,p.return);break;case 1:eu(p,p.return);var h=p.stateNode;if("function"==typeof h.componentWillUnmount){r=p,n=p.return;try{t=r,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(e){Ps(r,n,e)}}break;case 5:eu(p,p.return);break;case 22:if(null!==p.memoizedState){ku(d);continue}}null!==m?(m.return=p,Jl=m):ku(d)}f=f.sibling}e:for(f=null,d=e;;){if(5===d.tag){if(null===f){f=d;try{o=d.stateNode,c?"function"==typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(u=d.stateNode,l=void 0!==(s=d.memoizedProps.style)&&null!==s&&s.hasOwnProperty("display")?s.display:null,u.style.display=he("display",l))}catch(t){Ps(e,e.return,t)}}}else if(6===d.tag){if(null===f)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(t){Ps(e,e.return,t)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:vu(t,e),yu(e),4&r&&hu(e);case 21:}}function yu(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(lu(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(de(o,""),r.flags&=-33),cu(e,uu(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;su(e,uu(e),a);break;default:throw Error(i(161))}}catch(t){Ps(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bu(e,t,n){Jl=e,wu(e,t,n)}function wu(e,t,n){for(var r=0!=(1&e.mode);null!==Jl;){var o=Jl,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Ql;if(!a){var l=o.alternate,u=null!==l&&null!==l.memoizedState||Xl;l=Ql;var s=Xl;if(Ql=a,(Xl=u)&&!s)for(Jl=o;null!==Jl;)u=(a=Jl).child,22===a.tag&&null!==a.memoizedState?Su(o):null!==u?(u.return=a,Jl=u):Su(o);for(;null!==i;)Jl=i,wu(i,t,n),i=i.sibling;Jl=o,Ql=l,Xl=s}xu(e)}else 0!=(8772&o.subtreeFlags)&&null!==i?(i.return=o,Jl=i):xu(e)}}function xu(e){for(;null!==Jl;){var t=Jl;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Xl||ou(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Xl)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:gi(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Ii(t,a,r);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Ii(t,l,n)}break;case 5:var u=t.stateNode;if(null===n&&4&t.flags){n=u;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var f=c.memoizedState;if(null!==f){var d=f.dehydrated;null!==d&&Ut(d)}}}break;default:throw Error(i(163))}Xl||512&t.flags&&iu(t)}catch(e){Ps(t,t.return,e)}}if(t===e){Jl=null;break}if(null!==(n=t.sibling)){n.return=t.return,Jl=n;break}Jl=t.return}}function ku(e){for(;null!==Jl;){var t=Jl;if(t===e){Jl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Jl=n;break}Jl=t.return}}function Su(e){for(;null!==Jl;){var t=Jl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ou(4,t)}catch(e){Ps(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){Ps(t,o,e)}}var i=t.return;try{iu(t)}catch(e){Ps(t,i,e)}break;case 5:var a=t.return;try{iu(t)}catch(e){Ps(t,a,e)}}}catch(e){Ps(t,t.return,e)}if(t===e){Jl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Jl=l;break}Jl=t.return}}var Eu,Pu=Math.ceil,Cu=w.ReactCurrentDispatcher,Zu=w.ReactCurrentOwner,Ou=w.ReactCurrentBatchConfig,Tu=0,Ru=null,Nu=null,_u=0,Mu=0,Au=Po(0),ju=0,Lu=null,zu=0,Fu=0,Iu=0,Du=null,Bu=null,Uu=0,Wu=1/0,Hu=null,Vu=!1,$u=null,qu=null,Ku=!1,Gu=null,Qu=0,Xu=0,Yu=null,Ju=-1,es=0;function ts(){return 0!=(6&Tu)?Xe():-1!==Ju?Ju:Ju=Xe()}function ns(e){return 0==(1&e.mode)?1:0!=(2&Tu)&&0!==_u?_u&-_u:null!==vi.transition?(0===es&&(es=ht()),es):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Qt(e.type)}function rs(e,t,n,r){if(50<Xu)throw Xu=0,Yu=null,Error(i(185));gt(e,n,r),0!=(2&Tu)&&e===Ru||(e===Ru&&(0==(2&Tu)&&(Fu|=n),4===ju&&us(e,_u)),os(e,r),1===n&&0===Tu&&0==(1&t.mode)&&(Wu=Xe()+500,Do&&Wo()))}function os(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),l=1<<a,u=o[a];-1===u?0!=(l&n)&&0==(l&r)||(o[a]=pt(l,t)):u<=t&&(e.expiredLanes|=l),i&=~l}}(e,t);var r=dt(e,e===Ru?_u:0);if(0===r)null!==n&&Ke(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ke(n),1===t)0===e.tag?function(e){Do=!0,Uo(e)}(ss.bind(null,e)):Uo(ss.bind(null,e)),ao((function(){0==(6&Tu)&&Wo()})),n=null;else{switch(wt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Rs(n,is.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function is(e,t){if(Ju=-1,es=0,0!=(6&Tu))throw Error(i(327));var n=e.callbackNode;if(Ss()&&e.callbackNode!==n)return null;var r=dt(e,e===Ru?_u:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=gs(e,r);else{t=r;var o=Tu;Tu|=2;var a=hs();for(Ru===e&&_u===t||(Hu=null,Wu=Xe()+500,ps(e,t));;)try{bs();break}catch(t){ms(e,t)}ki(),Cu.current=a,Tu=o,null!==Nu?t=0:(Ru=null,_u=0,t=ju)}if(0!==t){if(2===t&&0!==(o=mt(e))&&(r=o,t=as(e,o)),1===t)throw n=Lu,ps(e,0),us(e,r),os(e,Xe()),n;if(6===t)us(e,r);else{if(o=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!lr(i(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=gs(e,r))&&0!==(a=mt(e))&&(r=a,t=as(e,a)),1===t))throw n=Lu,ps(e,0),us(e,r),os(e,Xe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:ks(e,Bu,Hu);break;case 3:if(us(e,r),(130023424&r)===r&&10<(t=Uu+500-Xe())){if(0!==dt(e,0))break;if(((o=e.suspendedLanes)&r)!==r){ts(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(ks.bind(null,e,Bu,Hu),t);break}ks(e,Bu,Hu);break;case 4:if(us(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var l=31-at(r);a=1<<l,(l=t[l])>o&&(o=l),r&=~a}if(r=o,10<(r=(120>(r=Xe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Pu(r/1960))-r)){e.timeoutHandle=ro(ks.bind(null,e,Bu,Hu),r);break}ks(e,Bu,Hu);break;default:throw Error(i(329))}}}return os(e,Xe()),e.callbackNode===n?is.bind(null,e):null}function as(e,t){var n=Du;return e.current.memoizedState.isDehydrated&&(ps(e,t).flags|=256),2!==(e=gs(e,t))&&(t=Bu,Bu=n,null!==t&&ls(t)),e}function ls(e){null===Bu?Bu=e:Bu.push.apply(Bu,e)}function us(e,t){for(t&=~Iu,t&=~Fu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function ss(e){if(0!=(6&Tu))throw Error(i(327));Ss();var t=dt(e,0);if(0==(1&t))return os(e,Xe()),null;var n=gs(e,t);if(0!==e.tag&&2===n){var r=mt(e);0!==r&&(t=r,n=as(e,r))}if(1===n)throw n=Lu,ps(e,0),us(e,t),os(e,Xe()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ks(e,Bu,Hu),os(e,Xe()),null}function cs(e,t){var n=Tu;Tu|=1;try{return e(t)}finally{0===(Tu=n)&&(Wu=Xe()+500,Do&&Wo())}}function fs(e){null!==Gu&&0===Gu.tag&&0==(6&Tu)&&Ss();var t=Tu;Tu|=1;var n=Ou.transition,r=bt;try{if(Ou.transition=null,bt=1,e)return e()}finally{bt=r,Ou.transition=n,0==(6&(Tu=t))&&Wo()}}function ds(){Mu=Au.current,Co(Au)}function ps(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Nu)for(n=Nu.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Ao();break;case 3:ia(),Co(Ro),Co(To),fa();break;case 5:la(r);break;case 4:ia();break;case 13:case 19:Co(ua);break;case 10:Si(r.type._context);break;case 22:case 23:ds()}n=n.return}if(Ru=e,Nu=e=As(e.current,null),_u=Mu=t,ju=0,Lu=null,Iu=Fu=zu=0,Bu=Du=null,null!==Zi){for(t=0;t<Zi.length;t++)if(null!==(r=(n=Zi[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Zi=null}return e}function ms(e,t){for(;;){var n=Nu;try{if(ki(),da.current=al,ya){for(var r=ha.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ya=!1}if(ma=0,ga=va=ha=null,ba=!1,wa=0,Zu.current=null,null===n||null===n.return){ju=1,Lu=t,Nu=null;break}e:{var a=e,l=n.return,u=n,s=t;if(t=_u,u.flags|=32768,null!==s&&"object"==typeof s&&"function"==typeof s.then){var c=s,f=u,d=f.tag;if(0==(1&f.mode)&&(0===d||11===d||15===d)){var p=f.alternate;p?(f.updateQueue=p.updateQueue,f.memoizedState=p.memoizedState,f.lanes=p.lanes):(f.updateQueue=null,f.memoizedState=null)}var m=gl(l);if(null!==m){m.flags&=-257,yl(m,l,u,0,t),1&m.mode&&vl(a,c,t),s=c;var h=(t=m).updateQueue;if(null===h){var v=new Set;v.add(s),t.updateQueue=v}else h.add(s);break e}if(0==(1&t)){vl(a,c,t),vs();break e}s=Error(i(426))}else if(ii&&1&u.mode){var g=gl(l);if(null!==g){0==(65536&g.flags)&&(g.flags|=256),yl(g,l,u,0,t),hi(cl(s,u));break e}}a=s=cl(s,u),4!==ju&&(ju=2),null===Du?Du=[a]:Du.push(a),a=l;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,zi(a,ml(0,s,t));break e;case 1:u=s;var y=a.type,b=a.stateNode;if(0==(128&a.flags)&&("function"==typeof y.getDerivedStateFromError||null!==b&&"function"==typeof b.componentDidCatch&&(null===qu||!qu.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,zi(a,hl(a,u,t));break e}}a=a.return}while(null!==a)}xs(n)}catch(e){t=e,Nu===n&&null!==n&&(Nu=n=n.return);continue}break}}function hs(){var e=Cu.current;return Cu.current=al,null===e?al:e}function vs(){0!==ju&&3!==ju&&2!==ju||(ju=4),null===Ru||0==(268435455&zu)&&0==(268435455&Fu)||us(Ru,_u)}function gs(e,t){var n=Tu;Tu|=2;var r=hs();for(Ru===e&&_u===t||(Hu=null,ps(e,t));;)try{ys();break}catch(t){ms(e,t)}if(ki(),Tu=n,Cu.current=r,null!==Nu)throw Error(i(261));return Ru=null,_u=0,ju}function ys(){for(;null!==Nu;)ws(Nu)}function bs(){for(;null!==Nu&&!Ge();)ws(Nu)}function ws(e){var t=Eu(e.alternate,e,Mu);e.memoizedProps=e.pendingProps,null===t?xs(e):Nu=t,Zu.current=null}function xs(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Kl(n,t,Mu)))return void(Nu=n)}else{if(null!==(n=Gl(n,t)))return n.flags&=32767,void(Nu=n);if(null===e)return ju=6,void(Nu=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Nu=t);Nu=t=e}while(null!==t);0===ju&&(ju=5)}function ks(e,t,n){var r=bt,o=Ou.transition;try{Ou.transition=null,bt=1,function(e,t,n,r){do{Ss()}while(null!==Gu);if(0!=(6&Tu))throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===Ru&&(Nu=Ru=null,_u=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Ku||(Ku=!0,Rs(tt,(function(){return Ss(),null}))),a=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||a){a=Ou.transition,Ou.transition=null;var l=bt;bt=1;var u=Tu;Tu|=4,Zu.current=null,function(e,t){if(eo=Ht,pr(e=dr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var l=0,u=-1,s=-1,c=0,f=0,d=e,p=null;t:for(;;){for(var m;d!==n||0!==o&&3!==d.nodeType||(u=l+o),d!==a||0!==r&&3!==d.nodeType||(s=l+r),3===d.nodeType&&(l+=d.nodeValue.length),null!==(m=d.firstChild);)p=d,d=m;for(;;){if(d===e)break t;if(p===n&&++c===o&&(u=l),p===a&&++f===r&&(s=l),null!==(m=d.nextSibling))break;p=(d=p).parentNode}d=m}n=-1===u||-1===s?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},Ht=!1,Jl=t;null!==Jl;)if(e=(t=Jl).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Jl=e;else for(;null!==Jl;){t=Jl;try{var h=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==h){var v=h.memoizedProps,g=h.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?v:gi(t.type,v),g);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(i(163))}}catch(e){Ps(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Jl=e;break}Jl=t.return}h=nu,nu=!1}(e,n),gu(n,e),mr(to),Ht=!!eo,to=eo=null,e.current=n,bu(n,e,o),Qe(),Tu=u,bt=l,Ou.transition=a}else e.current=n;if(Ku&&(Ku=!1,Gu=e,Qu=o),0===(a=e.pendingLanes)&&(qu=null),function(e){if(it&&"function"==typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode),os(e,Xe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((o=t[n]).value,{componentStack:o.stack,digest:o.digest});if(Vu)throw Vu=!1,e=$u,$u=null,e;0!=(1&Qu)&&0!==e.tag&&Ss(),0!=(1&(a=e.pendingLanes))?e===Yu?Xu++:(Xu=0,Yu=e):Xu=0,Wo()}(e,t,n,r)}finally{Ou.transition=o,bt=r}return null}function Ss(){if(null!==Gu){var e=wt(Qu),t=Ou.transition,n=bt;try{if(Ou.transition=null,bt=16>e?16:e,null===Gu)var r=!1;else{if(e=Gu,Gu=null,Qu=0,0!=(6&Tu))throw Error(i(331));var o=Tu;for(Tu|=4,Jl=e.current;null!==Jl;){var a=Jl,l=a.child;if(0!=(16&Jl.flags)){var u=a.deletions;if(null!==u){for(var s=0;s<u.length;s++){var c=u[s];for(Jl=c;null!==Jl;){var f=Jl;switch(f.tag){case 0:case 11:case 15:ru(8,f,a)}var d=f.child;if(null!==d)d.return=f,Jl=d;else for(;null!==Jl;){var p=(f=Jl).sibling,m=f.return;if(au(f),f===c){Jl=null;break}if(null!==p){p.return=m,Jl=p;break}Jl=m}}}var h=a.alternate;if(null!==h){var v=h.child;if(null!==v){h.child=null;do{var g=v.sibling;v.sibling=null,v=g}while(null!==v)}}Jl=a}}if(0!=(2064&a.subtreeFlags)&&null!==l)l.return=a,Jl=l;else e:for(;null!==Jl;){if(0!=(2048&(a=Jl).flags))switch(a.tag){case 0:case 11:case 15:ru(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,Jl=y;break e}Jl=a.return}}var b=e.current;for(Jl=b;null!==Jl;){var w=(l=Jl).child;if(0!=(2064&l.subtreeFlags)&&null!==w)w.return=l,Jl=w;else e:for(l=b;null!==Jl;){if(0!=(2048&(u=Jl).flags))try{switch(u.tag){case 0:case 11:case 15:ou(9,u)}}catch(e){Ps(u,u.return,e)}if(u===l){Jl=null;break e}var x=u.sibling;if(null!==x){x.return=u.return,Jl=x;break e}Jl=u.return}}if(Tu=o,Wo(),it&&"function"==typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(e){}r=!0}return r}finally{bt=n,Ou.transition=t}}return!1}function Es(e,t,n){e=ji(e,t=ml(0,t=cl(n,t),1),1),t=ts(),null!==e&&(gt(e,1,t),os(e,t))}function Ps(e,t,n){if(3===e.tag)Es(e,e,n);else for(;null!==t;){if(3===t.tag){Es(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===qu||!qu.has(r))){t=ji(t,e=hl(t,e=cl(n,e),1),1),e=ts(),null!==t&&(gt(t,1,e),os(t,e));break}}t=t.return}}function Cs(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ts(),e.pingedLanes|=e.suspendedLanes&n,Ru===e&&(_u&n)===n&&(4===ju||3===ju&&(130023424&_u)===_u&&500>Xe()-Uu?ps(e,0):Iu|=n),os(e,t)}function Zs(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ct,0==(130023424&(ct<<=1))&&(ct=4194304)));var n=ts();null!==(e=Ri(e,t))&&(gt(e,t,n),os(e,n))}function Os(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Zs(e,n)}function Ts(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Zs(e,n)}function Rs(e,t){return qe(e,t)}function Ns(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function _s(e,t,n,r){return new Ns(e,t,n,r)}function Ms(e){return!(!(e=e.prototype)||!e.isReactComponent)}function As(e,t){var n=e.alternate;return null===n?((n=_s(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function js(e,t,n,r,o,a){var l=2;if(r=e,"function"==typeof e)Ms(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case S:return Ls(n.children,o,a,t);case E:l=8,o|=8;break;case P:return(e=_s(12,n,t,2|o)).elementType=P,e.lanes=a,e;case T:return(e=_s(13,n,t,o)).elementType=T,e.lanes=a,e;case R:return(e=_s(19,n,t,o)).elementType=R,e.lanes=a,e;case M:return zs(n,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case C:l=10;break e;case Z:l=9;break e;case O:l=11;break e;case N:l=14;break e;case _:l=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=_s(l,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Ls(e,t,n,r){return(e=_s(7,e,r,t)).lanes=n,e}function zs(e,t,n,r){return(e=_s(22,e,r,t)).elementType=M,e.lanes=n,e.stateNode={isHidden:!1},e}function Fs(e,t,n){return(e=_s(6,e,null,t)).lanes=n,e}function Is(e,t,n){return(t=_s(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ds(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Bs(e,t,n,r,o,i,a,l,u){return e=new Ds(e,t,n,l,u),1===t?(t=1,!0===i&&(t|=8)):t=0,i=_s(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},_i(i),e}function Us(e){if(!e)return Oo;e:{if(Ue(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Mo(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(Mo(n))return Lo(e,n,t)}return t}function Ws(e,t,n,r,o,i,a,l,u){return(e=Bs(n,r,!0,e,0,i,0,l,u)).context=Us(null),n=e.current,(i=Ai(r=ts(),o=ns(n))).callback=null!=t?t:null,ji(n,i,o),e.current.lanes=o,gt(e,o,r),os(e,r),e}function Hs(e,t,n,r){var o=t.current,i=ts(),a=ns(o);return n=Us(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ai(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=ji(o,t,a))&&(rs(e,o,a,i),Li(e,o,a)),a}function Vs(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function $s(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function qs(e,t){$s(e,t),(e=e.alternate)&&$s(e,t)}Eu=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ro.current)wl=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return wl=!1,function(e,t,n){switch(t.tag){case 3:Rl(t),mi();break;case 5:aa(t);break;case 1:Mo(t.type)&&zo(t);break;case 4:oa(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Zo(yi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Zo(ua,1&ua.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Fl(e,t,n):(Zo(ua,1&ua.current),null!==(e=Vl(e,t,n))?e.sibling:null);Zo(ua,1&ua.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return Wl(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Zo(ua,ua.current),r)break;return null;case 22:case 23:return t.lanes=0,Pl(e,t,n)}return Vl(e,t,n)}(e,t,n);wl=0!=(131072&e.flags)}else wl=!1,ii&&0!=(1048576&t.flags)&&ei(t,qo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hl(e,t),e=t.pendingProps;var o=_o(t,To.current);Pi(t,n),o=Ea(null,t,r,e,o,n);var a=Pa();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Mo(r)?(a=!0,zo(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,_i(t),o.updater=Ui,t.stateNode=o,o._reactInternals=t,$i(t,r,e,n),t=Tl(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),xl(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hl(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return Ms(e)?1:0;if(null!=e){if((e=e.$$typeof)===O)return 11;if(e===N)return 14}return 2}(r),e=gi(r,e),o){case 0:t=Zl(null,t,r,e,n);break e;case 1:t=Ol(null,t,r,e,n);break e;case 11:t=kl(null,t,r,e,n);break e;case 14:t=Sl(null,t,r,gi(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Zl(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ol(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 3:e:{if(Rl(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,Mi(e,t),Fi(t,r,null,n);var l=t.memoizedState;if(r=l.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Nl(e,t,r,n,o=cl(Error(i(423)),t));break e}if(r!==o){t=Nl(e,t,r,n,o=cl(Error(i(424)),t));break e}for(oi=so(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=Yi(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(mi(),r===o){t=Vl(e,t,n);break e}xl(e,t,r,n)}t=t.child}return t;case 5:return aa(t),null===e&&ci(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,l=o.children,no(r,o)?l=null:null!==a&&no(r,a)&&(t.flags|=32),Cl(e,t),xl(e,t,l,n),t.child;case 6:return null===e&&ci(t),null;case 13:return Fl(e,t,n);case 4:return oa(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Xi(t,null,r,n):xl(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,kl(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 7:return xl(e,t,t.pendingProps,n),t.child;case 8:case 12:return xl(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,l=o.value,Zo(yi,r._currentValue),r._currentValue=l,null!==a)if(lr(a.value,l)){if(a.children===o.children&&!Ro.current){t=Vl(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var u=a.dependencies;if(null!==u){l=a.child;for(var s=u.firstContext;null!==s;){if(s.context===r){if(1===a.tag){(s=Ai(-1,n&-n)).tag=2;var c=a.updateQueue;if(null!==c){var f=(c=c.shared).pending;null===f?s.next=s:(s.next=f.next,f.next=s),c.pending=s}}a.lanes|=n,null!==(s=a.alternate)&&(s.lanes|=n),Ei(a.return,n,t),u.lanes|=n;break}s=s.next}}else if(10===a.tag)l=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(l=a.return))throw Error(i(341));l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),Ei(l,n,t),l=a.sibling}else l=a.child;if(null!==l)l.return=a;else for(l=a;null!==l;){if(l===t){l=null;break}if(null!==(a=l.sibling)){a.return=l.return,l=a;break}l=l.return}a=l}xl(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Pi(t,n),r=r(o=Ci(o)),t.flags|=1,xl(e,t,r,n),t.child;case 14:return o=gi(r=t.type,t.pendingProps),Sl(e,t,r,o=gi(r.type,o),n);case 15:return El(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:gi(r,o),Hl(e,t),t.tag=1,Mo(r)?(e=!0,zo(t)):e=!1,Pi(t,n),Hi(t,r,o),$i(t,r,o,n),Tl(null,t,r,!0,e,n);case 19:return Wl(e,t,n);case 22:return Pl(e,t,n)}throw Error(i(156,t.tag))};var Ks="function"==typeof reportError?reportError:function(e){console.error(e)};function Gs(e){this._internalRoot=e}function Qs(e){this._internalRoot=e}function Xs(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Ys(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Js(){}function ec(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"==typeof o){var l=o;o=function(){var e=Vs(a);l.call(e)}}Hs(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=Vs(a);i.call(e)}}var a=Ws(t,r,e,0,null,!1,0,"",Js);return e._reactRootContainer=a,e[ho]=a.current,Ur(8===e.nodeType?e.parentNode:e),fs(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var l=r;r=function(){var e=Vs(u);l.call(e)}}var u=Bs(e,0,!1,null,0,!1,0,"",Js);return e._reactRootContainer=u,e[ho]=u.current,Ur(8===e.nodeType?e.parentNode:e),fs((function(){Hs(t,u,n,r)})),u}(n,t,e,o,r);return Vs(a)}Qs.prototype.render=Gs.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Hs(e,t,null,null)},Qs.prototype.unmount=Gs.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;fs((function(){Hs(null,e,null,null)})),t[ho]=null}},Qs.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Mt.length&&0!==t&&t<Mt[n].priority;n++);Mt.splice(n,0,e),0===n&&zt(e)}},xt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ft(t.pendingLanes);0!==n&&(yt(t,1|n),os(t,Xe()),0==(6&Tu)&&(Wu=Xe()+500,Wo()))}break;case 13:fs((function(){var t=Ri(e,1);if(null!==t){var n=ts();rs(t,e,1,n)}})),qs(e,1)}},kt=function(e){if(13===e.tag){var t=Ri(e,134217728);null!==t&&rs(t,e,134217728,ts()),qs(e,134217728)}},St=function(e){if(13===e.tag){var t=ns(e),n=Ri(e,t);null!==n&&rs(n,e,t,ts()),qs(e,t)}},Et=function(){return bt},Pt=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},ke=function(e,t,n){switch(t){case"input":if(Y(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=ko(r);if(!o)throw Error(i(90));q(r),Y(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Oe=cs,Te=fs;var tc={usingClientEntryPoint:!1,Events:[wo,xo,ko,Ce,Ze,cs]},nc={findFiberByHostInstance:bo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ve(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var oc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!oc.isDisabled&&oc.supportsFiber)try{ot=oc.inject(rc),it=oc}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Xs(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Xs(e))throw Error(i(299));var n=!1,r="",o=Ks;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Bs(e,1,!1,null,0,n,0,r,o),e[ho]=t.current,Ur(8===e.nodeType?e.parentNode:e),new Gs(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return null===(e=Ve(t))?null:e.stateNode},t.flushSync=function(e){return fs(e)},t.hydrate=function(e,t,n){if(!Ys(t))throw Error(i(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Xs(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",l=Ks;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=Ws(t,null,e,1,null!=n?n:null,o,0,a,l),e[ho]=t.current,Ur(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Qs(t)},t.render=function(e,t,n){if(!Ys(t))throw Error(i(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Ys(e))throw Error(i(40));return!!e._reactRootContainer&&(fs((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[ho]=null}))})),!0)},t.unstable_batchedUpdates=cs,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ys(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return ec(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},1250:function(e,t,n){"use strict";var r=n(4164);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},4164:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(4463)},6374:function(e,t,n){"use strict";var r=n(2791),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var r,i={},s=null,c=null;for(r in void 0!==n&&(s=""+n),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,r)&&!u.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:s,ref:c,props:i,_owner:l.current}}t.Fragment=i,t.jsx=s,t.jsxs=s},9117:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator,m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,v={};function g(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||m}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||m}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=g.prototype;var w=b.prototype=new y;w.constructor=b,h(w,g.prototype),w.isPureReactComponent=!0;var x=Array.isArray,k=Object.prototype.hasOwnProperty,S={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function P(e,t,r){var o,i={},a=null,l=null;if(null!=t)for(o in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)k.call(t,o)&&!E.hasOwnProperty(o)&&(i[o]=t[o]);var u=arguments.length-2;if(1===u)i.children=r;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(o in u=e.defaultProps)void 0===i[o]&&(i[o]=u[o]);return{$$typeof:n,type:e,key:a,ref:l,props:i,_owner:S.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var Z=/\/+/g;function O(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function T(e,t,o,i,a){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var u=!1;if(null===e)u=!0;else switch(l){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case n:case r:u=!0}}if(u)return a=a(u=e),e=""===i?"."+O(u,0):i,x(a)?(o="",null!=e&&(o=e.replace(Z,"$&/")+"/"),T(a,t,o,"",(function(e){return e}))):null!=a&&(C(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||u&&u.key===a.key?"":(""+a.key).replace(Z,"$&/")+"/")+e)),t.push(a)),1;if(u=0,i=""===i?".":i+":",x(e))for(var s=0;s<e.length;s++){var c=i+O(l=e[s],s);u+=T(l,t,o,c,a)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),s=0;!(l=e.next()).done;)u+=T(l=l.value,t,o,c=i+O(l,s++),a);else if("object"===l)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return u}function R(e,t,n){if(null==e)return e;var r=[],o=0;return T(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function N(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var _={current:null},M={transition:null},A={ReactCurrentDispatcher:_,ReactCurrentBatchConfig:M,ReactCurrentOwner:S};t.Children={map:R,forEach:function(e,t,n){R(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return R(e,(function(){t++})),t},toArray:function(e){return R(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=g,t.Fragment=o,t.Profiler=a,t.PureComponent=b,t.StrictMode=i,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=A,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=h({},e.props),i=e.key,a=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,l=S.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(s in t)k.call(t,s)&&!E.hasOwnProperty(s)&&(o[s]=void 0===t[s]&&void 0!==u?u[s]:t[s])}var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){u=Array(s);for(var c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}return{$$typeof:n,type:e.type,key:i,ref:a,props:o,_owner:l}},t.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=P,t.createFactory=function(e){var t=P.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:N}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=M.transition;M.transition={};try{e()}finally{M.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return _.current.useCallback(e,t)},t.useContext=function(e){return _.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return _.current.useDeferredValue(e)},t.useEffect=function(e,t){return _.current.useEffect(e,t)},t.useId=function(){return _.current.useId()},t.useImperativeHandle=function(e,t,n){return _.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return _.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return _.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return _.current.useMemo(e,t)},t.useReducer=function(e,t,n){return _.current.useReducer(e,t,n)},t.useRef=function(e){return _.current.useRef(e)},t.useState=function(e){return _.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return _.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return _.current.useTransition()},t.version="18.2.0"},2791:function(e,t,n){"use strict";e.exports=n(9117)},184:function(e,t,n){"use strict";e.exports=n(6374)},6813:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var l=2*(r+1)-1,u=e[l],s=l+1,c=e[s];if(0>i(u,n))s<o&&0>i(c,u)?(e[r]=c,e[s]=n,r=s):(e[r]=u,e[l]=n,r=l);else{if(!(s<o&&0>i(c,n)))break e;e[r]=c,e[s]=n,r=s}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var l=Date,u=l.now();t.unstable_now=function(){return l.now()-u}}var s=[],c=[],f=1,d=null,p=3,m=!1,h=!1,v=!1,g="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(s,t)}t=r(c)}}function x(e){if(v=!1,w(e),!h)if(null!==r(s))h=!0,M(k);else{var t=r(c);null!==t&&A(x,t.startTime-e)}}function k(e,n){h=!1,v&&(v=!1,y(C),C=-1),m=!0;var i=p;try{for(w(n),d=r(s);null!==d&&(!(d.expirationTime>n)||e&&!T());){var a=d.callback;if("function"==typeof a){d.callback=null,p=d.priorityLevel;var l=a(d.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?d.callback=l:d===r(s)&&o(s),w(n)}else o(s);d=r(s)}if(null!==d)var u=!0;else{var f=r(c);null!==f&&A(x,f.startTime-n),u=!1}return u}finally{d=null,p=i,m=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,E=!1,P=null,C=-1,Z=5,O=-1;function T(){return!(t.unstable_now()-O<Z)}function R(){if(null!==P){var e=t.unstable_now();O=e;var n=!0;try{n=P(!0,e)}finally{n?S():(E=!1,P=null)}}else E=!1}if("function"==typeof b)S=function(){b(R)};else if("undefined"!=typeof MessageChannel){var N=new MessageChannel,_=N.port2;N.port1.onmessage=R,S=function(){_.postMessage(null)}}else S=function(){g(R,0)};function M(e){P=e,E||(E=!0,S())}function A(e,n){C=g((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){h||m||(h=!0,M(k))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Z=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(s)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?a+i:a,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:f++,callback:o,priorityLevel:e,startTime:i,expirationTime:l=i+l,sortIndex:-1},i>a?(e.sortIndex=i,n(c,e),null===r(s)&&e===r(c)&&(v?(y(C),C=-1):v=!0,A(x,i-a))):(e.sortIndex=l,n(s,e),h||m||(h=!0,M(k))),e},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},5296:function(e,t,n){"use strict";e.exports=n(6813)},4836:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},907:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},4942:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9142);function o(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},7462:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},3366:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},885:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(181);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],u=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);u=!0);}catch(e){s=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(e,t)||(0,r.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},2982:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(907),o=n(181);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,o.Z)(e)||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.")}()}},9142:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(1002);function o(e){var t=function(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!==(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===(0,r.Z)(t)?t:String(t)}},1002:function(e,t,n){"use strict";function r(e){return r="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},r(e)}n.d(t,{Z:function(){return r}})},181:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(907);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.m=e,function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var l=2&o&&r;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((function(e){a[e]=function(){return r[e]}}));return a.default=function(){return r},n.d(i,a),i}}(),n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))},n.u=function(e){return"static/js/"+e+".19f43361.chunk.js"},n.miniCssF=function(e){},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="traffic-simulator:";n.l=function(r,o,i,a){if(e[r])e[r].push(o);else{var l,u;if(void 0!==i)for(var s=document.getElementsByTagName("script"),c=0;c<s.length;c++){var f=s[c];if(f.getAttribute("src")==r||f.getAttribute("data-webpack")==t+i){l=f;break}}l||(u=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,n.nc&&l.setAttribute("nonce",n.nc),l.setAttribute("data-webpack",t+i),l.src=r),e[r]=[o];var d=function(t,n){l.onerror=l.onload=null,clearTimeout(p);var o=e[r];if(delete e[r],l.parentNode&&l.parentNode.removeChild(l),o&&o.forEach((function(e){return e(n)})),t)return t(n)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=d.bind(null,l.onerror),l.onload=d.bind(null,l.onload),u&&document.head.appendChild(l)}}}(),n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="/",function(){var e={179:0};n.f.j=function(t,r){var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var i=new Promise((function(n,r){o=e[t]=[n,r]}));r.push(o[2]=i);var a=n.p+n.u(t),l=new Error;n.l(a,(function(r){if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;l.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",l.name="ChunkLoadError",l.type=i,l.request=a,o[1](l)}}),"chunk-"+t,t)}};var t=function(t,r){var o,i,a=r[0],l=r[1],u=r[2],s=0;if(a.some((function(t){return 0!==e[t]}))){for(o in l)n.o(l,o)&&(n.m[o]=l[o]);u&&u(n)}for(t&&t(r);s<a.length;s++)i=a[s],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=self.webpackChunktraffic_simulator=self.webpackChunktraffic_simulator||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}(),function(){"use strict";var e=n(2791),t=n(1250);function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=n(9142);function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(0,o.Z)(r.key),r)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var s=n(1002);function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var f=n(885);function d(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function p(e,t){return function(){return e.apply(t,arguments)}}var m,h=Object.prototype.toString,v=Object.getPrototypeOf,g=(m=Object.create(null),function(e){var t=h.call(e);return m[t]||(m[t]=t.slice(8,-1).toLowerCase())}),y=function(e){return e=e.toLowerCase(),function(t){return g(t)===e}},b=function(e){return function(t){return typeof t===e}},w=Array.isArray,x=b("undefined"),k=y("ArrayBuffer"),S=b("string"),E=b("function"),P=b("number"),C=function(e){return null!==e&&"object"==typeof e},Z=function(e){if("object"!==g(e))return!1;var t=v(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},O=y("Date"),T=y("File"),R=y("Blob"),N=y("FileList"),_=y("URLSearchParams");function M(e,t){var n,r,o=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).allOwnKeys,i=void 0!==o&&o;if(null!=e)if("object"!=typeof e&&(e=[e]),w(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{var a,l=i?Object.getOwnPropertyNames(e):Object.keys(e),u=l.length;for(n=0;n<u;n++)a=l[n],t.call(null,e[a],a,e)}}function A(e,t){t=t.toLowerCase();for(var n,r=Object.keys(e),o=r.length;o-- >0;)if(t===(n=r[o]).toLowerCase())return n;return null}var j,L="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,z=function(e){return!x(e)&&e!==L},F=(j="undefined"!=typeof Uint8Array&&v(Uint8Array),function(e){return j&&e instanceof j}),I=y("HTMLFormElement"),D=function(e){var t=Object.prototype.hasOwnProperty;return function(e,n){return t.call(e,n)}}(),B=y("RegExp"),U=function(e,t){var n=Object.getOwnPropertyDescriptors(e),r={};M(n,(function(n,o){!1!==t(n,o,e)&&(r[o]=n)})),Object.defineProperties(e,r)},W="abcdefghijklmnopqrstuvwxyz",H="0123456789",V={DIGIT:H,ALPHA:W,ALPHA_DIGIT:W+W.toUpperCase()+H},$=y("AsyncFunction"),q={isArray:w,isArrayBuffer:k,isBuffer:function(e){return null!==e&&!x(e)&&null!==e.constructor&&!x(e.constructor)&&E(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:function(e){var t;return e&&("function"==typeof FormData&&e instanceof FormData||E(e.append)&&("formdata"===(t=g(e))||"object"===t&&E(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&k(e.buffer)},isString:S,isNumber:P,isBoolean:function(e){return!0===e||!1===e},isObject:C,isPlainObject:Z,isUndefined:x,isDate:O,isFile:T,isBlob:R,isRegExp:B,isFunction:E,isStream:function(e){return C(e)&&E(e.pipe)},isURLSearchParams:_,isTypedArray:F,isFileList:N,forEach:M,merge:function e(){for(var t=(z(this)&&this||{}).caseless,n={},r=function(r,o){var i=t&&A(n,o)||o;Z(n[i])&&Z(r)?n[i]=e(n[i],r):Z(r)?n[i]=e({},r):w(r)?n[i]=r.slice():n[i]=r},o=0,i=arguments.length;o<i;o++)arguments[o]&&M(arguments[o],r);return n},extend:function(e,t,n){return M(t,(function(t,r){n&&E(t)?e[r]=p(t,n):e[r]=t}),{allOwnKeys:(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).allOwnKeys}),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n,r){var o,i,a,l={};if(t=t||{},null==e)return t;do{for(i=(o=Object.getOwnPropertyNames(e)).length;i-- >0;)a=o[i],r&&!r(a,e,t)||l[a]||(t[a]=e[a],l[a]=!0);e=!1!==n&&v(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:g,kindOfTest:y,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;if(w(e))return e;var t=e.length;if(!P(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},forEachEntry:function(e,t){for(var n,r=(e&&e[Symbol.iterator]).call(e);(n=r.next())&&!n.done;){var o=n.value;t.call(e,o[0],o[1])}},matchAll:function(e,t){for(var n,r=[];null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:I,hasOwnProperty:D,hasOwnProp:D,reduceDescriptors:U,freezeMethods:function(e){U(e,(function(t,n){if(E(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;var r=e[n];E(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=function(){throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:function(e,t){var n={},r=function(e){e.forEach((function(e){n[e]=!0}))};return w(e)?r(e):r(String(e).split(t)),n},toCamelCase:function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n}))},noop:function(){},toFiniteNumber:function(e,t){return e=+e,Number.isFinite(e)?e:t},findKey:A,global:L,isContextDefined:z,ALPHABET:V,generateString:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:V.ALPHA_DIGIT,n="",r=t.length;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&E(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:function(e){var t=new Array(10);return function e(n,r){if(C(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[r]=n;var o=w(n)?[]:{};return M(n,(function(t,n){var i=e(t,r+1);!x(i)&&(o[n]=i)})),t[r]=void 0,o}}return n}(e,0)},isAsyncFn:$,isThenable:function(e){return e&&(C(e)||E(e))&&E(e.then)&&E(e.catch)}};function K(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}q.inherits(K,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:q.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var G=K.prototype,Q={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(e){Q[e]={value:e}})),Object.defineProperties(K,Q),Object.defineProperty(G,"isAxiosError",{value:!0}),K.from=function(e,t,n,r,o,i){var a=Object.create(G);return q.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(function(e){return"isAxiosError"!==e})),K.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};var X=K;function Y(e){return q.isPlainObject(e)||q.isArray(e)}function J(e){return q.endsWith(e,"[]")?e.slice(0,-2):e}function ee(e,t,n){return e?e.concat(t).map((function(e,t){return e=J(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}var te=q.toFlatObject(q,{},null,(function(e){return/^is[A-Z]/.test(e)})),ne=function(e,t,n){if(!q.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;var r=(n=q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!q.isUndefined(t[e])}))).metaTokens,o=n.visitor||s,i=n.dots,a=n.indexes,l=(n.Blob||"undefined"!=typeof Blob&&Blob)&&q.isSpecCompliantForm(t);if(!q.isFunction(o))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(q.isDate(e))return e.toISOString();if(!l&&q.isBlob(e))throw new X("Blob is not supported. Use a Buffer instead.");return q.isArrayBuffer(e)||q.isTypedArray(e)?l&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function s(e,n,o){var l=e;if(e&&!o&&"object"==typeof e)if(q.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(q.isArray(e)&&function(e){return q.isArray(e)&&!e.some(Y)}(e)||(q.isFileList(e)||q.endsWith(n,"[]"))&&(l=q.toArray(e)))return n=J(n),l.forEach((function(e,r){!q.isUndefined(e)&&null!==e&&t.append(!0===a?ee([n],r,i):null===a?n:n+"[]",u(e))})),!1;return!!Y(e)||(t.append(ee(o,n,i),u(e)),!1)}var c=[],f=Object.assign(te,{defaultVisitor:s,convertValue:u,isVisitable:Y});if(!q.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!q.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),q.forEach(n,(function(n,i){!0===(!(q.isUndefined(n)||null===n)&&o.call(t,n,q.isString(i)?i.trim():i,r,f))&&e(n,r?r.concat(i):[i])})),c.pop()}}(e),t};function re(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function oe(e,t){this._pairs=[],e&&ne(e,this,t)}var ie=oe.prototype;ie.append=function(e,t){this._pairs.push([e,t])},ie.toString=function(e){var t=e?function(t){return e.call(this,t,re)}:re;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var ae=oe;function le(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ue(e,t,n){if(!t)return e;var r,o=n&&n.encode||le,i=n&&n.serialize;if(r=i?i(t,n):q.isURLSearchParams(t)?t.toString():new ae(t,n).toString(o)){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}var se=function(){function e(){r(this,e),this.handlers=[]}return a(e,[{key:"use",value:function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}},{key:"eject",value:function(e){this.handlers[e]&&(this.handlers[e]=null)}},{key:"clear",value:function(){this.handlers&&(this.handlers=[])}},{key:"forEach",value:function(e){q.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}]),e}(),ce={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},fe={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ae,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},isStandardBrowserEnv:function(){var e;return("undefined"==typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&"undefined"!=typeof window&&"undefined"!=typeof document}(),isStandardBrowserWebWorkerEnv:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,protocols:["http","https","file","blob","url","data"]},de=function(e){function t(e,n,r,o){var i=e[o++],a=Number.isFinite(+i),l=o>=e.length;return i=!i&&q.isArray(r)?r.length:i,l?(q.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a):(r[i]&&q.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&q.isArray(r[i])&&(r[i]=function(e){var t,n,r={},o=Object.keys(e),i=o.length;for(t=0;t<i;t++)r[n=o[t]]=e[n];return r}(r[i])),!a)}if(q.isFormData(e)&&q.isFunction(e.entries)){var n={};return q.forEachEntry(e,(function(e,r){t(function(e){return q.matchAll(/\w+|\[(\w*)]/g,e).map((function(e){return"[]"===e[0]?"":e[1]||e[0]}))}(e),r,n,0)})),n}return null},pe={"Content-Type":void 0},me={transitional:ce,adapter:["xhr","http"],transformRequest:[function(e,t){var n,r=t.getContentType()||"",o=r.indexOf("application/json")>-1,i=q.isObject(e);if(i&&q.isHTMLForm(e)&&(e=new FormData(e)),q.isFormData(e))return o&&o?JSON.stringify(de(e)):e;if(q.isArrayBuffer(e)||q.isBuffer(e)||q.isStream(e)||q.isFile(e)||q.isBlob(e))return e;if(q.isArrayBufferView(e))return e.buffer;if(q.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ne(e,new fe.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return fe.isNode&&q.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((n=q.isFileList(e))||r.indexOf("multipart/form-data")>-1){var a=this.env&&this.env.FormData;return ne(n?{"files[]":e}:e,a&&new a,this.formSerializer)}}return i||o?(t.setContentType("application/json",!1),function(e,t,n){if(q.isString(e))try{return(0,JSON.parse)(e),q.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||me.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&q.isString(e)&&(n&&!this.responseType||r)){var o=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(o){if("SyntaxError"===e.name)throw X.from(e,X.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:fe.classes.FormData,Blob:fe.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};q.forEach(["delete","get","head"],(function(e){me.headers[e]={}})),q.forEach(["post","put","patch"],(function(e){me.headers[e]=q.merge(pe)}));var he=me,ve=q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),ge=Symbol("internals");function ye(e){return e&&String(e).trim().toLowerCase()}function be(e){return!1===e||null==e?e:q.isArray(e)?e.map(be):String(e)}function we(e,t,n,r,o){return q.isFunction(r)?r.call(this,t,n):(o&&(t=n),q.isString(t)?q.isString(r)?-1!==t.indexOf(r):q.isRegExp(r)?r.test(t):void 0:void 0)}var xe=function(e,t){function n(e){r(this,n),e&&this.set(e)}return a(n,[{key:"set",value:function(e,t,n){var r=this;function o(e,t,n){var o=ye(t);if(!o)throw new Error("header name must be a non-empty string");var i=q.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=be(e))}var i=function(e,t){return q.forEach(e,(function(e,n){return o(e,n,t)}))};return q.isPlainObject(e)||e instanceof this.constructor?i(e,t):q.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?i(function(e){var t,n,r,o={};return e&&e.split("\n").forEach((function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),n=e.substring(r+1).trim(),!t||o[t]&&ve[t]||("set-cookie"===t?o[t]?o[t].push(n):o[t]=[n]:o[t]=o[t]?o[t]+", "+n:n)})),o}(e),t):null!=e&&o(t,e,n),this}},{key:"get",value:function(e,t){if(e=ye(e)){var n=q.findKey(this,e);if(n){var r=this[n];if(!t)return r;if(!0===t)return function(e){for(var t,n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;t=r.exec(e);)n[t[1]]=t[2];return n}(r);if(q.isFunction(t))return t.call(this,r,n);if(q.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}},{key:"has",value:function(e,t){if(e=ye(e)){var n=q.findKey(this,e);return!(!n||void 0===this[n]||t&&!we(0,this[n],n,t))}return!1}},{key:"delete",value:function(e,t){var n=this,r=!1;function o(e){if(e=ye(e)){var o=q.findKey(n,e);!o||t&&!we(0,n[o],o,t)||(delete n[o],r=!0)}}return q.isArray(e)?e.forEach(o):o(e),r}},{key:"clear",value:function(e){for(var t=Object.keys(this),n=t.length,r=!1;n--;){var o=t[n];e&&!we(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}},{key:"normalize",value:function(e){var t=this,n={};return q.forEach(this,(function(r,o){var i=q.findKey(n,o);if(i)return t[i]=be(r),void delete t[o];var a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n}))}(o):String(o).trim();a!==o&&delete t[o],t[a]=be(r),n[a]=!0})),this}},{key:"concat",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=this.constructor).concat.apply(e,[this].concat(n))}},{key:"toJSON",value:function(e){var t=Object.create(null);return q.forEach(this,(function(n,r){null!=n&&!1!==n&&(t[r]=e&&q.isArray(n)?n.join(", "):n)})),t}},{key:Symbol.iterator,value:function(){return Object.entries(this.toJSON())[Symbol.iterator]()}},{key:"toString",value:function(){return Object.entries(this.toJSON()).map((function(e){var t=(0,f.Z)(e,2);return t[0]+": "+t[1]})).join("\n")}},{key:Symbol.toStringTag,get:function(){return"AxiosHeaders"}}],[{key:"from",value:function(e){return e instanceof this?e:new this(e)}},{key:"concat",value:function(e){for(var t=new this(e),n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.forEach((function(e){return t.set(e)})),t}},{key:"accessor",value:function(e){var t=(this[ge]=this[ge]={accessors:{}}).accessors,n=this.prototype;function r(e){var r=ye(e);t[r]||(function(e,t){var n=q.toCamelCase(" "+t);["get","set","has"].forEach((function(r){Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return q.isArray(e)?e.forEach(r):r(e),this}}]),n}();xe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),q.freezeMethods(xe.prototype),q.freezeMethods(xe);var ke=xe;function Se(e,t){var n=this||he,r=t||n,o=ke.from(r.headers),i=r.data;return q.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Ee(e){return!(!e||!e.__CANCEL__)}function Pe(e,t,n){X.call(this,null==e?"canceled":e,X.ERR_CANCELED,t,n),this.name="CanceledError"}q.inherits(Pe,X,{__CANCEL__:!0});var Ce=Pe,Ze=fe.isStandardBrowserEnv?{write:function(e,t,n,r,o,i){var a=[];a.push(e+"="+encodeURIComponent(t)),q.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),q.isString(r)&&a.push("path="+r),q.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function Oe(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var Te=fe.isStandardBrowserEnv?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){var n=q.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0},Re=function(e,t){e=e||10;var n,r=new Array(e),o=new Array(e),i=0,a=0;return t=void 0!==t?t:1e3,function(l){var u=Date.now(),s=o[a];n||(n=u),r[i]=l,o[i]=u;for(var c=a,f=0;c!==i;)f+=r[c++],c%=e;if((i=(i+1)%e)===a&&(a=(a+1)%e),!(u-n<t)){var d=s&&u-s;return d?Math.round(1e3*f/d):void 0}}};function Ne(e,t){var n=0,r=Re(50,250);return function(o){var i=o.loaded,a=o.lengthComputable?o.total:void 0,l=i-n,u=r(l);n=i;var s={loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a&&i<=a?(a-i)/u:void 0,event:o};s[t?"download":"upload"]=!0,e(s)}}var _e="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){var r,o=e.data,i=ke.from(e.headers).normalize(),a=e.responseType;function l(){e.cancelToken&&e.cancelToken.unsubscribe(r),e.signal&&e.signal.removeEventListener("abort",r)}q.isFormData(o)&&(fe.isStandardBrowserEnv||fe.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));var u=new XMLHttpRequest;if(e.auth){var s=e.auth.username||"",c=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(s+":"+c))}var f=Oe(e.baseURL,e.url);function d(){if(u){var r=ke.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders());!function(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new X("Request failed with status code "+n.status,[X.ERR_BAD_REQUEST,X.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),l()}),(function(e){n(e),l()}),{data:a&&"text"!==a&&"json"!==a?u.response:u.responseText,status:u.status,statusText:u.statusText,headers:r,config:e,request:u}),u=null}}if(u.open(e.method.toUpperCase(),ue(f,e.params,e.paramsSerializer),!0),u.timeout=e.timeout,"onloadend"in u?u.onloadend=d:u.onreadystatechange=function(){u&&4===u.readyState&&(0!==u.status||u.responseURL&&0===u.responseURL.indexOf("file:"))&&setTimeout(d)},u.onabort=function(){u&&(n(new X("Request aborted",X.ECONNABORTED,e,u)),u=null)},u.onerror=function(){n(new X("Network Error",X.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||ce;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new X(t,r.clarifyTimeoutError?X.ETIMEDOUT:X.ECONNABORTED,e,u)),u=null},fe.isStandardBrowserEnv){var p=(e.withCredentials||Te(f))&&e.xsrfCookieName&&Ze.read(e.xsrfCookieName);p&&i.set(e.xsrfHeaderName,p)}void 0===o&&i.setContentType(null),"setRequestHeader"in u&&q.forEach(i.toJSON(),(function(e,t){u.setRequestHeader(t,e)})),q.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),a&&"json"!==a&&(u.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&u.addEventListener("progress",Ne(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&u.upload&&u.upload.addEventListener("progress",Ne(e.onUploadProgress)),(e.cancelToken||e.signal)&&(r=function(t){u&&(n(!t||t.type?new Ce(null,e,u):t),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(r),e.signal&&(e.signal.aborted?r():e.signal.addEventListener("abort",r)));var m=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(f);m&&-1===fe.protocols.indexOf(m)?n(new X("Unsupported protocol "+m+":",X.ERR_BAD_REQUEST,e)):u.send(o||null)}))},Me={http:null,xhr:_e};q.forEach(Me,(function(e,t){if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));var Ae={getAdapter:function(e){for(var t,n,r=(e=q.isArray(e)?e:[e]).length,o=0;o<r&&(t=e[o],!(n=q.isString(t)?Me[t.toLowerCase()]:t));o++);if(!n){if(!1===n)throw new X("Adapter ".concat(t," is not supported by the environment"),"ERR_NOT_SUPPORT");throw new Error(q.hasOwnProp(Me,t)?"Adapter '".concat(t,"' is not available in the build"):"Unknown adapter '".concat(t,"'"))}if(!q.isFunction(n))throw new TypeError("adapter is not a function");return n},adapters:Me};function je(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ce(null,e)}function Le(e){return je(e),e.headers=ke.from(e.headers),e.data=Se.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ae.getAdapter(e.adapter||he.adapter)(e).then((function(t){return je(e),t.data=Se.call(e,e.transformResponse,t),t.headers=ke.from(t.headers),t}),(function(t){return Ee(t)||(je(e),t&&t.response&&(t.response.data=Se.call(e,e.transformResponse,t.response),t.response.headers=ke.from(t.response.headers))),Promise.reject(t)}))}var ze=function(e){return e instanceof ke?e.toJSON():e};function Fe(e,t){t=t||{};var n={};function r(e,t,n){return q.isPlainObject(e)&&q.isPlainObject(t)?q.merge.call({caseless:n},e,t):q.isPlainObject(t)?q.merge({},t):q.isArray(t)?t.slice():t}function o(e,t,n){return q.isUndefined(t)?q.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!q.isUndefined(t))return r(void 0,t)}function a(e,t){return q.isUndefined(t)?q.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function l(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}var u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:function(e,t){return o(ze(e),ze(t),!0)}};return q.forEach(Object.keys(Object.assign({},e,t)),(function(r){var i=u[r]||o,a=i(e[r],t[r],r);q.isUndefined(a)&&i!==l||(n[r]=a)})),n}var Ie={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){Ie[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var De={};Ie.transitional=function(e,t,n){function r(e,t){return"[Axios v1.4.0] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,o,i){if(!1===e)throw new X(r(o," has been removed"+(t?" in "+t:"")),X.ERR_DEPRECATED);return t&&!De[o]&&(De[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};var Be={assertOptions:function(e,t,n){if("object"!=typeof e)throw new X("options must be an object",X.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var l=e[i],u=void 0===l||a(l,i,e);if(!0!==u)throw new X("option "+i+" must be "+u,X.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new X("Unknown option "+i,X.ERR_BAD_OPTION)}},validators:Ie},Ue=Be.validators,We=function(){function e(t){r(this,e),this.defaults=t,this.interceptors={request:new se,response:new se}}return a(e,[{key:"request",value:function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{};var n,r=t=Fe(this.defaults,t),o=r.transitional,i=r.paramsSerializer,a=r.headers;void 0!==o&&Be.assertOptions(o,{silentJSONParsing:Ue.transitional(Ue.boolean),forcedJSONParsing:Ue.transitional(Ue.boolean),clarifyTimeoutError:Ue.transitional(Ue.boolean)},!1),null!=i&&(q.isFunction(i)?t.paramsSerializer={serialize:i}:Be.assertOptions(i,{encode:Ue.function,serialize:Ue.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase(),(n=a&&q.merge(a.common,a[t.method]))&&q.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete a[e]})),t.headers=ke.concat(n,a);var l=[],u=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(u=u&&e.synchronous,l.unshift(e.fulfilled,e.rejected))}));var s,c=[];this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));var f,d=0;if(!u){var p=[Le.bind(this),void 0];for(p.unshift.apply(p,l),p.push.apply(p,c),f=p.length,s=Promise.resolve(t);d<f;)s=s.then(p[d++],p[d++]);return s}f=l.length;var m=t;for(d=0;d<f;){var h=l[d++],v=l[d++];try{m=h(m)}catch(e){v.call(this,e);break}}try{s=Le.call(this,m)}catch(e){return Promise.reject(e)}for(d=0,f=c.length;d<f;)s=s.then(c[d++],c[d++]);return s}},{key:"getUri",value:function(e){return ue(Oe((e=Fe(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}]),e}();q.forEach(["delete","get","head","options"],(function(e){We.prototype[e]=function(t,n){return this.request(Fe(n||{},{method:e,url:t,data:(n||{}).data}))}})),q.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(Fe(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}We.prototype[e]=t(),We.prototype[e+"Form"]=t(!0)}));var He=We,Ve=function(){function e(t){if(r(this,e),"function"!=typeof t)throw new TypeError("executor must be a function.");var n;this.promise=new Promise((function(e){n=e}));var o=this;this.promise.then((function(e){if(o._listeners){for(var t=o._listeners.length;t-- >0;)o._listeners[t](e);o._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){o.subscribe(e),t=e})).then(e);return n.cancel=function(){o.unsubscribe(t)},n},t((function(e,t,r){o.reason||(o.reason=new Ce(e,t,r),n(o.reason))}))}return a(e,[{key:"throwIfRequested",value:function(){if(this.reason)throw this.reason}},{key:"subscribe",value:function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}},{key:"unsubscribe",value:function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}}}],[{key:"source",value:function(){var t;return{token:new e((function(e){t=e})),cancel:t}}}]),e}(),$e=Ve,qe={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(qe).forEach((function(e){var t=(0,f.Z)(e,2),n=t[0],r=t[1];qe[r]=n}));var Ke=qe,Ge=function e(t){var n=new He(t),r=p(He.prototype.request,n);return q.extend(r,He.prototype,n,{allOwnKeys:!0}),q.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Fe(t,n))},r}(he);Ge.Axios=He,Ge.CanceledError=Ce,Ge.CancelToken=$e,Ge.isCancel=Ee,Ge.VERSION="1.4.0",Ge.toFormData=ne,Ge.AxiosError=X,Ge.Cancel=Ge.CanceledError,Ge.all=function(e){return Promise.all(e)},Ge.spread=function(e){return function(t){return e.apply(null,t)}},Ge.isAxiosError=function(e){return q.isObject(e)&&!0===e.isAxiosError},Ge.mergeConfig=Fe,Ge.AxiosHeaders=ke,Ge.formToJSON=function(e){return de(q.isHTMLForm(e)?new FormData(e):e)},Ge.HttpStatusCode=Ke,Ge.default=Ge;var Qe=Ge,Xe=n(7630),Ye=n(4568),Je=n(7462),et=n(3366),tt=n(8182),nt=n(4419),rt=n(551),ot=n(5878),it=n(1217);function at(e){return(0,it.Z)("MuiCardContent",e)}(0,ot.Z)("MuiCardContent",["root"]);var lt=n(184),ut=["className","component"],st=(0,Xe.ZP)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(){return{padding:16,"&:last-child":{paddingBottom:24}}})),ct=e.forwardRef((function(e,t){var n=(0,rt.Z)({props:e,name:"MuiCardContent"}),r=n.className,o=n.component,i=void 0===o?"div":o,a=(0,et.Z)(n,ut),l=(0,Je.Z)({},n,{component:i}),u=function(e){var t=e.classes;return(0,nt.Z)({root:["root"]},at,t)}(l);return(0,lt.jsx)(st,(0,Je.Z)({as:i,className:(0,tt.Z)(u.root,r),ownerState:l,ref:t},a))})),ft=n(5783),dt=n(104),pt=n(2982),mt=n(2466),ht=n(7416),vt=["sx"],gt=function(e){var t,n,r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:ht.Z;return Object.keys(e).forEach((function(t){o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r};function yt(e){var t,n=e.sx,r=(0,et.Z)(e,vt),o=gt(r),i=o.systemProps,a=o.otherProps;return t=Array.isArray(n)?[i].concat((0,pt.Z)(n)):"function"==typeof n?function(){var e=n.apply(void 0,arguments);return(0,mt.P)(e)?(0,Je.Z)({},i,e):i}:(0,Je.Z)({},i,n),(0,Je.Z)({},a,{sx:t})}var bt,wt=n(418),xt=["className","component"],kt=n(5902),St=n(4584),Et=n(988),Pt=(0,St.Z)(),Ct=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.themeId,r=t.defaultTheme,o=t.defaultClassName,i=void 0===o?"MuiBox-root":o,a=t.generateClassName,l=(0,ft.ZP)("div",{shouldForwardProp:function(e){return"theme"!==e&&"sx"!==e&&"as"!==e}})(dt.Z);return e.forwardRef((function(e,t){var o=(0,wt.Z)(r),u=yt(e),s=u.className,c=u.component,f=void 0===c?"div":c,d=(0,et.Z)(u,xt);return(0,lt.jsx)(l,(0,Je.Z)({as:f,ref:t,className:(0,tt.Z)(s,a?a(i):i),theme:n&&o[n]||o},d))}))}({themeId:Et.Z,defaultTheme:Pt,defaultClassName:"MuiBox-root",generateClassName:kt.Z.generate}),Zt=Ct,Ot=n(7),Tt=n(2460),Rt=n(6233),Nt=(0,Xe.ZP)(Ye.Z)(bt||(bt=d(["\n animation: blinker 1.5s linear infinite;\n\n @keyframes blinker {\n 70% {\n opacity: 0.7; // 0\n }\n }\n"]))),_t=function(){var t=(0,e.useState)(!1),n=(0,f.Z)(t,2),r=n[0],o=n[1],i=(0,e.useState)(null),a=(0,f.Z)(i,2),l=a[0],u=a[1],s=(0,e.useState)(null),c=(0,f.Z)(s,2),d=c[0],p=c[1],m=function(){Qe.get(Rt.apiUrl+"/isConnected",{headers:{"Content-Type":"application/json"},mode:"cors",timeout:3e3}).then((function(e){o(!0),u(new Date)})).catch((function(e){o(!1)}))};return(0,e.useEffect)((function(){m();var e=setInterval((function(){m()}),5e3),t=setInterval((function(){p(l?function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n=[],r=[["w",604800],["d",86400],["h",3600],["m",60],["s",1]],o=0;o<r.length;o++){var i=r[o][0],a=r[o][1],l=Math.floor(e/a);l&&(e-=l*a,n.push("".concat(l).concat(i)))}var u=n.slice(0,t).join(", ");return u?"".concat(u," ago"):"".concat(e.toFixed(0),"s ago")}((new Date-l)/1e3):null)}),1e3);return function(){clearInterval(e),clearInterval(t)}})),(0,lt.jsx)(ct,{children:(0,lt.jsxs)(Zt,{sx:{position:"relative"},children:[" ",(0,lt.jsxs)("div",{style:{minHeight:"30px",display:"flex",justifyContent:"left",alignItems:"center"},children:[(0,lt.jsxs)("div",{style:{marginLeft:"10px",width:"20px",height:"20px",borderRadius:"10px"},children:[" ",r?(0,lt.jsx)(Nt,{sx:{color:Ot.Z[700]},fontSize:"small"}):(0,lt.jsx)(Nt,{sx:{color:Tt.Z[700]},fontSize:"small"})," "]}),(0,lt.jsxs)("div",{style:{marginLeft:"10px"},children:[(0,lt.jsxs)("span",{style:{paddingRight:"20px"},children:["Server Connection ",r?"active":"inactive"," ",d?"("+d+")":""]}),(0,lt.jsx)("span",{style:{paddingRight:"20px"},children:" - "}),(0,lt.jsx)("a",{href:Rt.apiUrl,target:"_blank",rel:"noopener noreferrer",children:" API"})]})]})]})})},Mt=n(2065),At=function(e){return((e<1?5.11916*Math.pow(e,2):4.5*Math.log(e+1)+2)/100).toFixed(2)};function jt(e){return(0,it.Z)("MuiPaper",e)}(0,ot.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"]);var Lt=["className","component","elevation","square","variant"],zt=(0,Xe.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t["elevation".concat(n.elevation)]]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Je.Z)({backgroundColor:(n.vars||n).palette.background.paper,color:(n.vars||n).palette.text.primary,transition:n.transitions.create("box-shadow")},!r.square&&{borderRadius:n.shape.borderRadius},"outlined"===r.variant&&{border:"1px solid ".concat((n.vars||n).palette.divider)},"elevation"===r.variant&&(0,Je.Z)({boxShadow:(n.vars||n).shadows[r.elevation]},!n.vars&&"dark"===n.palette.mode&&{backgroundImage:"linear-gradient(".concat((0,Mt.Fq)("#fff",At(r.elevation)),", ").concat((0,Mt.Fq)("#fff",At(r.elevation)),")")},n.vars&&{backgroundImage:null==(t=n.vars.overlays)?void 0:t[r.elevation]}))})),Ft=e.forwardRef((function(e,t){var n=(0,rt.Z)({props:e,name:"MuiPaper"}),r=n.className,o=n.component,i=void 0===o?"div":o,a=n.elevation,l=void 0===a?1:a,u=n.square,s=void 0!==u&&u,c=n.variant,f=void 0===c?"elevation":c,d=(0,et.Z)(n,Lt),p=(0,Je.Z)({},n,{component:i,elevation:l,square:s,variant:f}),m=function(e){var t=e.square,n=e.elevation,r=e.variant,o=e.classes,i={root:["root",r,!t&&"rounded","elevation"===r&&"elevation".concat(n)]};return(0,nt.Z)(i,jt,o)}(p);return(0,lt.jsx)(zt,(0,Je.Z)({as:i,ownerState:p,className:(0,tt.Z)(m.root,r),ref:t},d))}));function It(e){return(0,it.Z)("MuiCard",e)}(0,ot.Z)("MuiCard",["root"]);var Dt=["className","raised"],Bt=(0,Xe.ZP)(Ft,{name:"MuiCard",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(){return{overflow:"hidden"}})),Ut=e.forwardRef((function(e,t){var n=(0,rt.Z)({props:e,name:"MuiCard"}),r=n.className,o=n.raised,i=void 0!==o&&o,a=(0,et.Z)(n,Dt),l=(0,Je.Z)({},n,{raised:i}),u=function(e){var t=e.classes;return(0,nt.Z)({root:["root"]},It,t)}(l);return(0,lt.jsx)(Bt,(0,Je.Z)({className:(0,tt.Z)(u.root,r),elevation:i?8:void 0,ref:t,ownerState:l},a))})),Wt=n(4036);function Ht(e){return(0,it.Z)("MuiTypography",e)}(0,ot.Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var Vt=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],$t=(0,Xe.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t["align".concat((0,Wt.Z)(n.align))],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Je.Z)({margin:0},n.variant&&t.typography[n.variant],"inherit"!==n.align&&{textAlign:n.align},n.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n.gutterBottom&&{marginBottom:"0.35em"},n.paragraph&&{marginBottom:16})})),qt={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Kt={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Gt=e.forwardRef((function(e,t){var n=(0,rt.Z)({props:e,name:"MuiTypography"}),r=function(e){return Kt[e]||e}(n.color),o=yt((0,Je.Z)({},n,{color:r})),i=o.align,a=void 0===i?"inherit":i,l=o.className,u=o.component,s=o.gutterBottom,c=void 0!==s&&s,f=o.noWrap,d=void 0!==f&&f,p=o.paragraph,m=void 0!==p&&p,h=o.variant,v=void 0===h?"body1":h,g=o.variantMapping,y=void 0===g?qt:g,b=(0,et.Z)(o,Vt),w=(0,Je.Z)({},o,{align:a,color:r,className:l,component:u,gutterBottom:c,noWrap:d,paragraph:m,variant:v,variantMapping:y}),x=u||(m?"p":y[v]||qt[v])||"span",k=function(e){var t=e.align,n=e.gutterBottom,r=e.noWrap,o=e.paragraph,i=e.variant,a=e.classes,l={root:["root",i,"inherit"!==e.align&&"align".concat((0,Wt.Z)(t)),n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return(0,nt.Z)(l,Ht,a)}(w);return(0,lt.jsx)($t,(0,Je.Z)({as:x,ref:t,ownerState:w,className:(0,tt.Z)(k.root,l)},b))})),Qt=n(4942),Xt=n(1184),Yt=n(6482);function Jt(){var e=(0,wt.Z)(Yt.Z);return e[Et.Z]||e}var en=e.createContext();function tn(e){return(0,it.Z)("MuiGrid",e)}var nn=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],rn=(0,ot.Z)("MuiGrid",["root","container","item","zeroMinWidth"].concat((0,pt.Z)([0,1,2,3,4,5,6,7,8,9,10].map((function(e){return"spacing-xs-".concat(e)}))),(0,pt.Z)(["column-reverse","column","row-reverse","row"].map((function(e){return"direction-xs-".concat(e)}))),(0,pt.Z)(["nowrap","wrap-reverse","wrap"].map((function(e){return"wrap-xs-".concat(e)}))),(0,pt.Z)(nn.map((function(e){return"grid-xs-".concat(e)}))),(0,pt.Z)(nn.map((function(e){return"grid-sm-".concat(e)}))),(0,pt.Z)(nn.map((function(e){return"grid-md-".concat(e)}))),(0,pt.Z)(nn.map((function(e){return"grid-lg-".concat(e)}))),(0,pt.Z)(nn.map((function(e){return"grid-xl-".concat(e)}))))),on=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function an(e){var t=parseFloat(e);return"".concat(t).concat(String(e).replace(String(t),"")||"px")}function ln(e){var t=e.breakpoints,n=e.values,r="";Object.keys(n).forEach((function(e){""===r&&0!==n[e]&&(r=e)}));var o=Object.keys(t).sort((function(e,n){return t[e]-t[n]}));return o.slice(0,o.indexOf(r))}var un=(0,Xe.ZP)("div",{name:"MuiGrid",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState,r=n.container,o=n.direction,i=n.item,a=n.spacing,l=n.wrap,u=n.zeroMinWidth,s=n.breakpoints,c=[];r&&(c=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[n["spacing-xs-".concat(String(e))]];var r=[];return t.forEach((function(t){var o=e[t];Number(o)>0&&r.push(n["spacing-".concat(t,"-").concat(String(o))])})),r}(a,s,t));var f=[];return s.forEach((function(e){var r=n[e];r&&f.push(t["grid-".concat(e,"-").concat(String(r))])})),[t.root,r&&t.container,i&&t.item,u&&t.zeroMinWidth].concat((0,pt.Z)(c),["row"!==o&&t["direction-xs-".concat(String(o))],"wrap"!==l&&t["wrap-xs-".concat(String(l))]],f)}})((function(e){var t=e.ownerState;return(0,Je.Z)({boxSizing:"border-box"},t.container&&{display:"flex",flexWrap:"wrap",width:"100%"},t.item&&{margin:0},t.zeroMinWidth&&{minWidth:0},"wrap"!==t.wrap&&{flexWrap:t.wrap})}),(function(e){var t=e.theme,n=e.ownerState,r=(0,Xt.P$)({values:n.direction,breakpoints:t.breakpoints.values});return(0,Xt.k9)({theme:t},r,(function(e){var t={flexDirection:e};return 0===e.indexOf("column")&&(t["& > .".concat(rn.item)]={maxWidth:"none"}),t}))}),(function(e){var t=e.theme,n=e.ownerState,r=n.container,o=n.rowSpacing,i={};if(r&&0!==o){var a,l=(0,Xt.P$)({values:o,breakpoints:t.breakpoints.values});"object"==typeof l&&(a=ln({breakpoints:t.breakpoints.values,values:l})),i=(0,Xt.k9)({theme:t},l,(function(e,n){var r,o=t.spacing(e);return"0px"!==o?(0,Qt.Z)({marginTop:"-".concat(an(o))},"& > .".concat(rn.item),{paddingTop:an(o)}):null!=(r=a)&&r.includes(n)?{}:(0,Qt.Z)({marginTop:0},"& > .".concat(rn.item),{paddingTop:0})}))}return i}),(function(e){var t=e.theme,n=e.ownerState,r=n.container,o=n.columnSpacing,i={};if(r&&0!==o){var a,l=(0,Xt.P$)({values:o,breakpoints:t.breakpoints.values});"object"==typeof l&&(a=ln({breakpoints:t.breakpoints.values,values:l})),i=(0,Xt.k9)({theme:t},l,(function(e,n){var r,o=t.spacing(e);return"0px"!==o?(0,Qt.Z)({width:"calc(100% + ".concat(an(o),")"),marginLeft:"-".concat(an(o))},"& > .".concat(rn.item),{paddingLeft:an(o)}):null!=(r=a)&&r.includes(n)?{}:(0,Qt.Z)({width:"100%",marginLeft:0},"& > .".concat(rn.item),{paddingLeft:0})}))}return i}),(function(e){var t,n=e.theme,r=e.ownerState;return n.breakpoints.keys.reduce((function(e,o){var i={};if(r[o]&&(t=r[o]),!t)return e;if(!0===t)i={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===t)i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{var a=(0,Xt.P$)({values:r.columns,breakpoints:n.breakpoints.values}),l="object"==typeof a?a[o]:a;if(null==l)return e;var u="".concat(Math.round(t/l*1e8)/1e6,"%"),s={};if(r.container&&r.item&&0!==r.columnSpacing){var c=n.spacing(r.columnSpacing);if("0px"!==c){var f="calc(".concat(u," + ").concat(an(c),")");s={flexBasis:f,maxWidth:f}}}i=(0,Je.Z)({flexBasis:u,flexGrow:0,maxWidth:u},s)}return 0===n.breakpoints.values[o]?Object.assign(e,i):e[n.breakpoints.up(o)]=i,e}),{})})),sn=e.forwardRef((function(t,n){var r=(0,rt.Z)({props:t,name:"MuiGrid"}),o=Jt().breakpoints,i=yt(r),a=i.className,l=i.columns,u=i.columnSpacing,s=i.component,c=void 0===s?"div":s,f=i.container,d=void 0!==f&&f,p=i.direction,m=void 0===p?"row":p,h=i.item,v=void 0!==h&&h,g=i.rowSpacing,y=i.spacing,b=void 0===y?0:y,w=i.wrap,x=void 0===w?"wrap":w,k=i.zeroMinWidth,S=void 0!==k&&k,E=(0,et.Z)(i,on),P=g||b,C=u||b,Z=e.useContext(en),O=d?l||12:Z,T={},R=(0,Je.Z)({},E);o.keys.forEach((function(e){null!=E[e]&&(T[e]=E[e],delete R[e])}));var N=(0,Je.Z)({},i,{columns:O,container:d,direction:m,item:v,rowSpacing:P,columnSpacing:C,wrap:x,zeroMinWidth:S,spacing:b},T,{breakpoints:o.keys}),_=function(e){var t=e.classes,n=e.container,r=e.direction,o=e.item,i=e.spacing,a=e.wrap,l=e.zeroMinWidth,u=e.breakpoints,s=[];n&&(s=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return["spacing-xs-".concat(String(e))];var n=[];return t.forEach((function(t){var r=e[t];if(Number(r)>0){var o="spacing-".concat(t,"-").concat(String(r));n.push(o)}})),n}(i,u));var c=[];u.forEach((function(t){var n=e[t];n&&c.push("grid-".concat(t,"-").concat(String(n)))}));var f={root:["root",n&&"container",o&&"item",l&&"zeroMinWidth"].concat((0,pt.Z)(s),["row"!==r&&"direction-xs-".concat(String(r)),"wrap"!==a&&"wrap-xs-".concat(String(a))],c)};return(0,nt.Z)(f,tn,t)}(N);return(0,lt.jsx)(en.Provider,{value:O,children:(0,lt.jsx)(un,(0,Je.Z)({ownerState:N,className:(0,tt.Z)(_.root,a),as:c,ref:n},R))})})),cn=sn,fn=n(9201),dn=(0,fn.Z)((0,lt.jsx)("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"}),"ArrowUpward"),pn=(0,fn.Z)((0,lt.jsx)("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward"),mn=(0,fn.Z)((0,lt.jsx)("path",{d:"m6.83 11 1.59 1.59L7 14l-4-4 4-4 1.41 1.41L6.83 9H15c1.1 0 2 .9 2 2v9h-2v-9H6.83z"}),"TurnLeft"),hn=(0,fn.Z)((0,lt.jsx)("path",{d:"m17.17 11-1.59 1.59L17 14l4-4-4-4-1.41 1.41L17.17 9H9c-1.1 0-2 .9-2 2v9h2v-9h8.17z"}),"TurnRight"),vn=(0,fn.Z)((0,lt.jsx)("path",{d:"M18.92 6.01C18.72 5.42 18.16 5 17.5 5h-11c-.66 0-1.21.42-1.42 1.01L3 12v8c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h12v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-8l-2.08-5.99zM6.5 16c-.83 0-1.5-.67-1.5-1.5S5.67 13 6.5 13s1.5.67 1.5 1.5S7.33 16 6.5 16zm11 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zM5 11l1.5-4.5h11L19 11H5z"}),"DirectionsCar"),gn=function(){var t=(0,e.useState)({carAcceleration:0,carDirection:void 0,carLane:void 0,carRoad:void 0,carSpeed:0,carTargetLane:void 0,carDistanceToEnd:void 0}),n=(0,f.Z)(t,2),r=n[0],o=n[1];return(0,e.useEffect)((function(){setInterval((function(){!function(){var e;void 0!==(null===(e=window)||void 0===e?void 0:e.virtualScreen)&&o(window.virtualScreen)}()}),500)}),[]),(0,lt.jsx)(Ut,{children:(0,lt.jsxs)(ct,{children:[(0,lt.jsx)(Gt,{variant:"h6",gutterBottom:!0,children:"Navigator"}),(0,lt.jsxs)(cn,{container:!0,alignItems:"center",children:[(0,lt.jsx)(cn,{item:!0,xs:12,sm:6,md:4,children:(0,lt.jsxs)(cn,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",columnSpacing:{xs:1,sm:2,md:3},children:[(0,lt.jsxs)("div",{style:{transition:"transform 0.5s"},children:["forward"===r.carDirection?(0,lt.jsx)(dn,{fontSize:"large"}):(0,lt.jsx)(lt.Fragment,{}),"down"===r.carDirection?(0,lt.jsx)(pn,{fontSize:"large"}):(0,lt.jsx)(lt.Fragment,{}),"left"===r.carDirection?(0,lt.jsx)(mn,{fontSize:"large"}):(0,lt.jsx)(lt.Fragment,{}),"right"===r.carDirection?(0,lt.jsx)(hn,{fontSize:"large"}):(0,lt.jsx)(lt.Fragment,{})]}),(0,lt.jsx)(Gt,{variant:"h6",component:"div",children:r.carDistanceToEnd||""}),(0,lt.jsx)("div",{style:{transition:"left 0.5s"},children:(0,lt.jsx)(vn,{fontSize:"large"})})]})}),(0,lt.jsxs)(cn,{item:!0,xs:12,sm:6,md:8,children:[(0,lt.jsxs)(Gt,{variant:"body2",component:"div",children:[(0,lt.jsx)("strong",{children:"Acceleration:"})," ",r.carAcceleration||"N/A"]}),(0,lt.jsxs)(Gt,{variant:"body2",component:"div",children:[(0,lt.jsx)("strong",{children:"Direction:"})," ",r.carDirection||"N/A"]}),(0,lt.jsxs)(Gt,{variant:"body2",component:"div",children:[(0,lt.jsx)("strong",{children:"Lane:"})," ",r.carLane||"N/A"]}),(0,lt.jsxs)(Gt,{variant:"body2",component:"div",children:[(0,lt.jsx)("strong",{children:"Road:"})," ",r.carRoad||"N/A"]}),(0,lt.jsxs)(Gt,{variant:"body2",component:"div",children:[(0,lt.jsx)("strong",{children:"Speed:"})," ",r.carSpeed||"N/A"]}),(0,lt.jsxs)(Gt,{variant:"body2",component:"div",children:[(0,lt.jsx)("strong",{children:"Next Lane:"})," ",r.carTargetLane||"N/A"]})]})]})]})})};function yn(e){return"string"==typeof e}function bn(e,t,n){return void 0===e||yn(e)?t:(0,Je.Z)({},t,{ownerState:(0,Je.Z)({},t.ownerState,n)})}function wn(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,l(e,t)}var xn=n(4164),kn=e.createContext(null),Sn="unmounted",En="exited",Pn="entering",Cn="entered",Zn="exiting",On=function(t){function n(e,n){var r;r=t.call(this,e,n)||this;var o,i=n&&!n.isMounting?e.enter:e.appear;return r.appearStatus=null,e.in?i?(o=En,r.appearStatus=Pn):o=Cn:o=e.unmountOnExit||e.mountOnEnter?Sn:En,r.state={status:o},r.nextCallback=null,r}wn(n,t),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Sn?{status:En}:null};var r=n.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Pn&&n!==Cn&&(t=Pn):n!==Pn&&n!==Cn||(t=Zn)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Pn){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:xn.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===En&&this.setState({status:Sn})},r.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[xn.findDOMNode(this),r],i=o[0],a=o[1],l=this.getTimeouts(),u=r?l.appear:l.enter;e||n?(this.props.onEnter(i,a),this.safeSetState({status:Pn},(function(){t.props.onEntering(i,a),t.onTransitionEnd(u,(function(){t.safeSetState({status:Cn},(function(){t.props.onEntered(i,a)}))}))}))):this.safeSetState({status:Cn},(function(){t.props.onEntered(i)}))},r.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:xn.findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:Zn},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:En},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:En},(function(){e.props.onExited(r)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:xn.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var t=this.state.status;if(t===Sn)return null;var n=this.props,r=n.children,o=(n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef,(0,et.Z)(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return e.createElement(kn.Provider,{value:null},"function"==typeof r?r(t,o):e.cloneElement(e.Children.only(r),o))},n}(e.Component);function Tn(){}On.contextType=kn,On.propTypes={},On.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Tn,onEntering:Tn,onEntered:Tn,onExit:Tn,onExiting:Tn,onExited:Tn},On.UNMOUNTED=Sn,On.EXITED=En,On.ENTERING=Pn,On.ENTERED=Cn,On.EXITING=Zn;var Rn=On,Nn=function(e){return e.scrollTop};function _n(e,t){var n,r,o=e.timeout,i=e.easing,a=e.style,l=void 0===a?{}:a;return{duration:null!=(n=l.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=l.transitionTimingFunction)?r:"object"==typeof i?i[t.mode]:i,delay:l.transitionDelay}}var Mn=n(2071),An=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function jn(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var Ln={entering:{opacity:1,transform:jn(1)},entered:{opacity:1,transform:"none"}},zn="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Fn=e.forwardRef((function(t,n){var r=t.addEndListener,o=t.appear,i=void 0===o||o,a=t.children,l=t.easing,u=t.in,s=t.onEnter,c=t.onEntered,f=t.onEntering,d=t.onExit,p=t.onExited,m=t.onExiting,h=t.style,v=t.timeout,g=void 0===v?"auto":v,y=t.TransitionComponent,b=void 0===y?Rn:y,w=(0,et.Z)(t,An),x=e.useRef(),k=e.useRef(),S=Jt(),E=e.useRef(null),P=(0,Mn.Z)(E,a.ref,n),C=function(e){return function(t){if(e){var n=E.current;void 0===t?e(n):e(n,t)}}},Z=C(f),O=C((function(e,t){Nn(e);var n,r=_n({style:h,timeout:g,easing:l},{mode:"enter"}),o=r.duration,i=r.delay,a=r.easing;"auto"===g?(n=S.transitions.getAutoHeightDuration(e.clientHeight),k.current=n):n=o,e.style.transition=[S.transitions.create("opacity",{duration:n,delay:i}),S.transitions.create("transform",{duration:zn?n:.666*n,delay:i,easing:a})].join(","),s&&s(e,t)})),T=C(c),R=C(m),N=C((function(e){var t,n=_n({style:h,timeout:g,easing:l},{mode:"exit"}),r=n.duration,o=n.delay,i=n.easing;"auto"===g?(t=S.transitions.getAutoHeightDuration(e.clientHeight),k.current=t):t=r,e.style.transition=[S.transitions.create("opacity",{duration:t,delay:o}),S.transitions.create("transform",{duration:zn?t:.666*t,delay:zn?o:o||.333*t,easing:i})].join(","),e.style.opacity=0,e.style.transform=jn(.75),d&&d(e)})),_=C(p);return e.useEffect((function(){return function(){clearTimeout(x.current)}}),[]),(0,lt.jsx)(b,(0,Je.Z)({appear:i,in:u,nodeRef:E,onEnter:O,onEntered:T,onEntering:Z,onExit:N,onExited:_,onExiting:R,addEndListener:function(e){"auto"===g&&(x.current=setTimeout(e,k.current||0)),r&&r(E.current,e)},timeout:"auto"===g?null:g},w,{children:function(t,n){return e.cloneElement(a,(0,Je.Z)({style:(0,Je.Z)({opacity:0,transform:jn(.75),visibility:"exited"!==t||u?void 0:"hidden"},Ln[t],h,a.props.style),ref:P},n))}}))}));Fn.muiSupportAuto=!0;var In=Fn,Dn=n(6117),Bn=n(2876),Un=n(4913);function Wn(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Hn(e){return e instanceof Wn(e).Element||e instanceof Element}function Vn(e){return e instanceof Wn(e).HTMLElement||e instanceof HTMLElement}function $n(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Wn(e).ShadowRoot||e instanceof ShadowRoot)}var qn=Math.max,Kn=Math.min,Gn=Math.round;function Qn(){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 Xn(){return!/^((?!chrome|android).)*safari/i.test(Qn())}function Yn(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&Vn(e)&&(o=e.offsetWidth>0&&Gn(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Gn(r.height)/e.offsetHeight||1);var a=(Hn(e)?Wn(e):window).visualViewport,l=!Xn()&&n,u=(r.left+(l&&a?a.offsetLeft:0))/o,s=(r.top+(l&&a?a.offsetTop:0))/i,c=r.width/o,f=r.height/i;return{width:c,height:f,top:s,right:u+c,bottom:s+f,left:u,x:u,y:s}}function Jn(e){var t=Wn(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function er(e){return e?(e.nodeName||"").toLowerCase():null}function tr(e){return((Hn(e)?e.ownerDocument:e.document)||window.document).documentElement}function nr(e){return Yn(tr(e)).left+Jn(e).scrollLeft}function rr(e){return Wn(e).getComputedStyle(e)}function or(e){var t=rr(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function ir(e,t,n){void 0===n&&(n=!1);var r=Vn(t),o=Vn(t)&&function(e){var t=e.getBoundingClientRect(),n=Gn(t.width)/e.offsetWidth||1,r=Gn(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=tr(t),a=Yn(e,o,n),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&(("body"!==er(t)||or(i))&&(l=function(e){return e!==Wn(e)&&Vn(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:Jn(e);var t}(t)),Vn(t)?((u=Yn(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):i&&(u.x=nr(i))),{x:a.left+l.scrollLeft-u.x,y:a.top+l.scrollTop-u.y,width:a.width,height:a.height}}function ar(e){var t=Yn(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function lr(e){return"html"===er(e)?e:e.assignedSlot||e.parentNode||($n(e)?e.host:null)||tr(e)}function ur(e){return["html","body","#document"].indexOf(er(e))>=0?e.ownerDocument.body:Vn(e)&&or(e)?e:ur(lr(e))}function sr(e,t){var n;void 0===t&&(t=[]);var r=ur(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Wn(r),a=o?[i].concat(i.visualViewport||[],or(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(sr(lr(a)))}function cr(e){return["table","td","th"].indexOf(er(e))>=0}function fr(e){return Vn(e)&&"fixed"!==rr(e).position?e.offsetParent:null}function dr(e){for(var t=Wn(e),n=fr(e);n&&cr(n)&&"static"===rr(n).position;)n=fr(n);return n&&("html"===er(n)||"body"===er(n)&&"static"===rr(n).position)?t:n||function(e){var t=/firefox/i.test(Qn());if(/Trident/i.test(Qn())&&Vn(e)&&"fixed"===rr(e).position)return null;var n=lr(e);for($n(n)&&(n=n.host);Vn(n)&&["html","body"].indexOf(er(n))<0;){var r=rr(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var pr="top",mr="bottom",hr="right",vr="left",gr="auto",yr=[pr,mr,hr,vr],br="start",wr="end",xr="clippingParents",kr="viewport",Sr="popper",Er="reference",Pr=yr.reduce((function(e,t){return e.concat([t+"-"+br,t+"-"+wr])}),[]),Cr=[].concat(yr,[gr]).reduce((function(e,t){return e.concat([t,t+"-"+br,t+"-"+wr])}),[]),Zr=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Or(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function Tr(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var Rr={placement:"bottom",modifiers:[],strategy:"absolute"};function Nr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}var _r={passive:!0};function Mr(e){return e.split("-")[0]}function Ar(e){return e.split("-")[1]}function jr(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Lr(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Mr(o):null,a=o?Ar(o):null,l=n.x+n.width/2-r.width/2,u=n.y+n.height/2-r.height/2;switch(i){case pr:t={x:l,y:n.y-r.height};break;case mr:t={x:l,y:n.y+n.height};break;case hr:t={x:n.x+n.width,y:u};break;case vr:t={x:n.x-r.width,y:u};break;default:t={x:n.x,y:n.y}}var s=i?jr(i):null;if(null!=s){var c="y"===s?"height":"width";switch(a){case br:t[s]=t[s]-(n[c]/2-r[c]/2);break;case wr:t[s]=t[s]+(n[c]/2-r[c]/2)}}return t}var zr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Fr(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,l=e.position,u=e.gpuAcceleration,s=e.adaptive,c=e.roundOffsets,f=e.isFixed,d=a.x,p=void 0===d?0:d,m=a.y,h=void 0===m?0:m,v="function"==typeof c?c({x:p,y:h}):{x:p,y:h};p=v.x,h=v.y;var g=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=vr,w=pr,x=window;if(s){var k=dr(n),S="clientHeight",E="clientWidth";k===Wn(n)&&"static"!==rr(k=tr(n)).position&&"absolute"===l&&(S="scrollHeight",E="scrollWidth"),(o===pr||(o===vr||o===hr)&&i===wr)&&(w=mr,h-=(f&&k===x&&x.visualViewport?x.visualViewport.height:k[S])-r.height,h*=u?1:-1),o!==vr&&(o!==pr&&o!==mr||i!==wr)||(b=hr,p-=(f&&k===x&&x.visualViewport?x.visualViewport.width:k[E])-r.width,p*=u?1:-1)}var P,C=Object.assign({position:l},s&&zr),Z=!0===c?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Gn(n*o)/o||0,y:Gn(r*o)/o||0}}({x:p,y:h},Wn(n)):{x:p,y:h};return p=Z.x,h=Z.y,u?Object.assign({},C,((P={})[w]=y?"0":"",P[b]=g?"0":"",P.transform=(x.devicePixelRatio||1)<=1?"translate("+p+"px, "+h+"px)":"translate3d("+p+"px, "+h+"px, 0)",P)):Object.assign({},C,((t={})[w]=y?h+"px":"",t[b]=g?p+"px":"",t.transform="",t))}var Ir={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=Cr.reduce((function(e,n){return e[n]=function(e,t,n){var r=Mr(e),o=[vr,pr].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*o,[vr,hr].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}(n,t.rects,i),e}),{}),l=a[t.placement],u=l.x,s=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=s),t.modifiersData[r]=a}},Dr={left:"right",right:"left",bottom:"top",top:"bottom"};function Br(e){return e.replace(/left|right|bottom|top/g,(function(e){return Dr[e]}))}var Ur={start:"end",end:"start"};function Wr(e){return e.replace(/start|end/g,(function(e){return Ur[e]}))}function Hr(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&$n(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Vr(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function $r(e,t,n){return t===kr?Vr(function(e,t){var n=Wn(e),r=tr(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,u=0;if(o){i=o.width,a=o.height;var s=Xn();(s||!s&&"fixed"===t)&&(l=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:l+nr(e),y:u}}(e,n)):Hn(t)?function(e,t){var n=Yn(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Vr(function(e){var t,n=tr(e),r=Jn(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=qn(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=qn(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+nr(e),u=-r.scrollTop;return"rtl"===rr(o||n).direction&&(l+=qn(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:u}}(tr(e)))}function qr(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Kr(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Gr(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,l=n.boundary,u=void 0===l?xr:l,s=n.rootBoundary,c=void 0===s?kr:s,f=n.elementContext,d=void 0===f?Sr:f,p=n.altBoundary,m=void 0!==p&&p,h=n.padding,v=void 0===h?0:h,g=qr("number"!=typeof v?v:Kr(v,yr)),y=d===Sr?Er:Sr,b=e.rects.popper,w=e.elements[m?y:d],x=function(e,t,n,r){var o="clippingParents"===t?function(e){var t=sr(lr(e)),n=["absolute","fixed"].indexOf(rr(e).position)>=0&&Vn(e)?dr(e):e;return Hn(n)?t.filter((function(e){return Hn(e)&&Hr(e,n)&&"body"!==er(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],l=i.reduce((function(t,n){var o=$r(e,n,r);return t.top=qn(o.top,t.top),t.right=Kn(o.right,t.right),t.bottom=Kn(o.bottom,t.bottom),t.left=qn(o.left,t.left),t}),$r(e,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}(Hn(w)?w:w.contextElement||tr(e.elements.popper),u,c,a),k=Yn(e.elements.reference),S=Lr({reference:k,element:b,strategy:"absolute",placement:o}),E=Vr(Object.assign({},b,S)),P=d===Sr?E:k,C={top:x.top-P.top+g.top,bottom:P.bottom-x.bottom+g.bottom,left:x.left-P.left+g.left,right:P.right-x.right+g.right},Z=e.modifiersData.offset;if(d===Sr&&Z){var O=Z[o];Object.keys(C).forEach((function(e){var t=[hr,mr].indexOf(e)>=0?1:-1,n=[pr,mr].indexOf(e)>=0?"y":"x";C[e]+=O[n]*t}))}return C}function Qr(e,t,n){return qn(e,Kn(t,n))}var Xr={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0!==a&&a,u=n.boundary,s=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,p=void 0===d||d,m=n.tetherOffset,h=void 0===m?0:m,v=Gr(t,{boundary:u,rootBoundary:s,padding:f,altBoundary:c}),g=Mr(t.placement),y=Ar(t.placement),b=!y,w=jr(g),x="x"===w?"y":"x",k=t.modifiersData.popperOffsets,S=t.rects.reference,E=t.rects.popper,P="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,C="number"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),Z=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(k){if(i){var T,R="y"===w?pr:vr,N="y"===w?mr:hr,_="y"===w?"height":"width",M=k[w],A=M+v[R],j=M-v[N],L=p?-E[_]/2:0,z=y===br?S[_]:E[_],F=y===br?-E[_]:-S[_],I=t.elements.arrow,D=p&&I?ar(I):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},U=B[R],W=B[N],H=Qr(0,S[_],D[_]),V=b?S[_]/2-L-H-U-C.mainAxis:z-H-U-C.mainAxis,$=b?-S[_]/2+L+H+W+C.mainAxis:F+H+W+C.mainAxis,q=t.elements.arrow&&dr(t.elements.arrow),K=q?"y"===w?q.clientTop||0:q.clientLeft||0:0,G=null!=(T=null==Z?void 0:Z[w])?T:0,Q=M+$-G,X=Qr(p?Kn(A,M+V-G-K):A,M,p?qn(j,Q):j);k[w]=X,O[w]=X-M}if(l){var Y,J="x"===w?pr:vr,ee="x"===w?mr:hr,te=k[x],ne="y"===x?"height":"width",re=te+v[J],oe=te-v[ee],ie=-1!==[pr,vr].indexOf(g),ae=null!=(Y=null==Z?void 0:Z[x])?Y:0,le=ie?re:te-S[ne]-E[ne]-ae+C.altAxis,ue=ie?te+S[ne]+E[ne]-ae-C.altAxis:oe,se=p&&ie?function(e,t,n){var r=Qr(e,t,n);return r>n?n:r}(le,te,ue):Qr(p?le:re,te,p?ue:oe);k[x]=se,O[x]=se-te}t.modifiersData[r]=O}},requiresIfExists:["offset"]},Yr={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=Mr(n.placement),u=jr(l),s=[vr,hr].indexOf(l)>=0?"height":"width";if(i&&a){var c=function(e,t){return qr("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Kr(e,yr))}(o.padding,n),f=ar(i),d="y"===u?pr:vr,p="y"===u?mr:hr,m=n.rects.reference[s]+n.rects.reference[u]-a[u]-n.rects.popper[s],h=a[u]-n.rects.reference[u],v=dr(i),g=v?"y"===u?v.clientHeight||0:v.clientWidth||0:0,y=m/2-h/2,b=c[d],w=g-f[s]-c[p],x=g/2-f[s]/2+y,k=Qr(b,x,w),S=u;n.modifiersData[r]=((t={})[S]=k,t.centerOffset=k-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Hr(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Jr(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function eo(e){return[pr,hr,mr,vr].some((function(t){return e[t]>=0}))}var to=function(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?Rr:o;return function(e,t,n){void 0===n&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},Rr,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],l=!1,u={state:o,setOptions:function(n){var l="function"==typeof n?n(o.options):n;s(),o.options=Object.assign({},i,o.options,l),o.scrollParents={reference:Hn(e)?sr(e):e.contextElement?sr(e.contextElement):[],popper:sr(t)};var c=function(e){var t=Or(e);return Zr.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,o.options.modifiers)));return o.orderedModifiers=c.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var l=i({state:o,name:t,instance:u,options:r});a.push(l||function(){})}})),u.update()},forceUpdate:function(){if(!l){var e=o.elements,t=e.reference,n=e.popper;if(Nr(t,n)){o.rects={reference:ir(t,dr(n),"fixed"===o.options.strategy),popper:ar(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var i=o.orderedModifiers[r],a=i.fn,s=i.options,c=void 0===s?{}:s,f=i.name;"function"==typeof a&&(o=a({state:o,options:c,name:f,instance:u})||o)}else o.reset=!1,r=-1}}},update:Tr((function(){return new Promise((function(e){u.forceUpdate(),e(o)}))})),destroy:function(){s(),l=!0}};if(!Nr(e,t))return u;function s(){a.forEach((function(e){return e()})),a=[]}return u.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,l=void 0===a||a,u=Wn(t.elements.popper),s=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&s.forEach((function(e){e.addEventListener("scroll",n.update,_r)})),l&&u.addEventListener("resize",n.update,_r),function(){i&&s.forEach((function(e){e.removeEventListener("scroll",n.update,_r)})),l&&u.removeEventListener("resize",n.update,_r)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Lr({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,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,l=n.roundOffsets,u=void 0===l||l,s={placement:Mr(t.placement),variation:Ar(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,Fr(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Fr(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Vn(o)&&er(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Vn(r)&&er(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},Ir,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0===a||a,u=n.fallbackPlacements,s=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,m=void 0===p||p,h=n.allowedAutoPlacements,v=t.options.placement,g=Mr(v),y=u||(g!==v&&m?function(e){if(Mr(e)===gr)return[];var t=Br(e);return[Wr(e),t,Wr(t)]}(v):[Br(v)]),b=[v].concat(y).reduce((function(e,n){return e.concat(Mr(n)===gr?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,u=n.allowedAutoPlacements,s=void 0===u?Cr:u,c=Ar(r),f=c?l?Pr:Pr.filter((function(e){return Ar(e)===c})):yr,d=f.filter((function(e){return s.indexOf(e)>=0}));0===d.length&&(d=f);var p=d.reduce((function(t,n){return t[n]=Gr(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[Mr(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:c,rootBoundary:f,padding:s,flipVariations:m,allowedAutoPlacements:h}):n)}),[]),w=t.rects.reference,x=t.rects.popper,k=new Map,S=!0,E=b[0],P=0;P<b.length;P++){var C=b[P],Z=Mr(C),O=Ar(C)===br,T=[pr,mr].indexOf(Z)>=0,R=T?"width":"height",N=Gr(t,{placement:C,boundary:c,rootBoundary:f,altBoundary:d,padding:s}),_=T?O?hr:vr:O?mr:pr;w[R]>x[R]&&(_=Br(_));var M=Br(_),A=[];if(i&&A.push(N[Z]<=0),l&&A.push(N[_]<=0,N[M]<=0),A.every((function(e){return e}))){E=C,S=!1;break}k.set(C,A)}if(S)for(var j=function(e){var t=b.find((function(t){var n=k.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},L=m?3:1;L>0&&"break"!==j(L);L--);t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},Xr,Yr,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Gr(t,{elementContext:"reference"}),l=Gr(t,{altBoundary:!0}),u=Jr(a,r),s=Jr(l,o,i),c=eo(u),f=eo(s);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:s,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}}]}),no=n(2971),ro=e.forwardRef((function(t,n){var r=t.children,o=t.container,i=t.disablePortal,a=void 0!==i&&i,l=e.useState(null),u=(0,f.Z)(l,2),s=u[0],c=u[1],d=(0,Dn.Z)(e.isValidElement(r)?r.ref:null,n);if((0,Bn.Z)((function(){a||c(function(e){return"function"==typeof e?e():e}(o)||document.body)}),[o,a]),(0,Bn.Z)((function(){if(s&&!a)return(0,no.Z)(n,s),function(){(0,no.Z)(n,null)}}),[n,s,a]),a){if(e.isValidElement(r)){var p={ref:d};return e.cloneElement(r,p)}return(0,lt.jsx)(e.Fragment,{children:r})}return(0,lt.jsx)(e.Fragment,{children:s?xn.createPortal(r,s):s})}));function oo(e){return(0,it.Z)("MuiPopper",e)}function io(e){if(void 0===e)return{};var t={};return Object.keys(e).filter((function(t){return!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])})).forEach((function(n){t[n]=e[n]})),t}function ao(e,t,n){return"function"==typeof e?e(t,n):e}(0,ot.Z)("MuiPopper",["root"]);var lo=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function uo(e){var t,n=e.elementType,r=e.externalSlotProps,o=e.ownerState,i=e.skipResolvingSlotProps,a=void 0!==i&&i,l=(0,et.Z)(e,lo),u=a?{}:ao(r,o),s=function(e){var t=e.getSlotProps,n=e.additionalProps,r=e.externalSlotProps,o=e.externalForwardedProps,i=e.className;if(!t){var a=(0,tt.Z)(null==o?void 0:o.className,null==r?void 0:r.className,i,null==n?void 0:n.className),l=(0,Je.Z)({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),u=(0,Je.Z)({},n,o,r);return a.length>0&&(u.className=a),Object.keys(l).length>0&&(u.style=l),{props:u,internalRef:void 0}}var s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(void 0===e)return{};var n={};return Object.keys(e).filter((function(n){return n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n)})).forEach((function(t){n[t]=e[t]})),n}((0,Je.Z)({},o,r)),c=io(r),f=io(o),d=t(s),p=(0,tt.Z)(null==d?void 0:d.className,null==n?void 0:n.className,i,null==o?void 0:o.className,null==r?void 0:r.className),m=(0,Je.Z)({},null==d?void 0:d.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),h=(0,Je.Z)({},d,n,f,c);return p.length>0&&(h.className=p),Object.keys(m).length>0&&(h.style=m),{props:h,internalRef:d.ref}}((0,Je.Z)({},l,{externalSlotProps:u})),c=s.props,f=s.internalRef,d=(0,Dn.Z)(f,null==u?void 0:u.ref,null==(t=e.additionalProps)?void 0:t.ref);return bn(n,(0,Je.Z)({},c,{ref:d}),o)}var so=e.createContext({disableDefaultClasses:!1});function co(t){var n=e.useContext(so).disableDefaultClasses;return function(e){return n?"":t(e)}}var fo=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],po=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function mo(e){return"function"==typeof e?e():e}var ho={},vo=e.forwardRef((function(t,n){var r,o=t.anchorEl,i=t.children,a=t.direction,l=t.disablePortal,u=t.modifiers,s=t.open,c=t.placement,d=t.popperOptions,p=t.popperRef,m=t.slotProps,h=void 0===m?{}:m,v=t.slots,g=void 0===v?{}:v,y=t.TransitionProps,b=(0,et.Z)(t,fo),w=e.useRef(null),x=(0,Dn.Z)(w,n),k=e.useRef(null),S=(0,Dn.Z)(k,p),E=e.useRef(S);(0,Bn.Z)((function(){E.current=S}),[S]),e.useImperativeHandle(p,(function(){return k.current}),[]);var P=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}}(c,a),C=e.useState(P),Z=(0,f.Z)(C,2),O=Z[0],T=Z[1],R=e.useState(mo(o)),N=(0,f.Z)(R,2),_=N[0],M=N[1];e.useEffect((function(){k.current&&k.current.forceUpdate()})),e.useEffect((function(){o&&M(mo(o))}),[o]),(0,Bn.Z)((function(){if(_&&s){var e=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:function(e){var t=e.state;T(t.placement)}}];null!=u&&(e=e.concat(u)),d&&null!=d.modifiers&&(e=e.concat(d.modifiers));var t=to(_,w.current,(0,Je.Z)({placement:P},d,{modifiers:e}));return E.current(t),function(){t.destroy(),E.current(null)}}}),[_,l,u,s,d,P]);var A={placement:O};null!==y&&(A.TransitionProps=y);var j=(0,nt.Z)({root:["root"]},co(oo)),L=null!=(r=g.root)?r:"div",z=uo({elementType:L,externalSlotProps:h.root,externalForwardedProps:b,additionalProps:{role:"tooltip",ref:x},ownerState:t,className:j.root});return(0,lt.jsx)(L,(0,Je.Z)({},z,{children:"function"==typeof i?i(A):i}))})),go=e.forwardRef((function(t,n){var r,o=t.anchorEl,i=t.children,a=t.container,l=t.direction,u=void 0===l?"ltr":l,s=t.disablePortal,c=void 0!==s&&s,d=t.keepMounted,p=void 0!==d&&d,m=t.modifiers,h=t.open,v=t.placement,g=void 0===v?"bottom":v,y=t.popperOptions,b=void 0===y?ho:y,w=t.popperRef,x=t.style,k=t.transition,S=void 0!==k&&k,E=t.slotProps,P=void 0===E?{}:E,C=t.slots,Z=void 0===C?{}:C,O=(0,et.Z)(t,po),T=e.useState(!0),R=(0,f.Z)(T,2),N=R[0],_=R[1];if(!p&&!h&&(!S||N))return null;if(a)r=a;else if(o){var M=mo(o);r=M&&function(e){return void 0!==e.nodeType}(M)?(0,Un.Z)(M).body:(0,Un.Z)(null).body}var A=h||!p||S&&!N?void 0:"none",j=S?{in:h,onEnter:function(){_(!1)},onExited:function(){_(!0)}}:void 0;return(0,lt.jsx)(ro,{disablePortal:c,container:r,children:(0,lt.jsx)(vo,(0,Je.Z)({anchorEl:o,direction:u,disablePortal:c,modifiers:m,ref:n,open:S?!N:h,placement:g,popperOptions:b,popperRef:w,slotProps:P,slots:Z},O,{style:(0,Je.Z)({position:"fixed",top:0,left:0,display:A},x),TransitionProps:j,children:i}))})})),yo=n(9120),bo=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],wo=(0,Xe.ZP)(go,{name:"MuiPopper",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),xo=e.forwardRef((function(e,t){var n,r=(0,yo.Z)(),o=(0,rt.Z)({props:e,name:"MuiPopper"}),i=o.anchorEl,a=o.component,l=o.components,u=o.componentsProps,s=o.container,c=o.disablePortal,f=o.keepMounted,d=o.modifiers,p=o.open,m=o.placement,h=o.popperOptions,v=o.popperRef,g=o.transition,y=o.slots,b=o.slotProps,w=(0,et.Z)(o,bo),x=null!=(n=null==y?void 0:y.root)?n:null==l?void 0:l.Root,k=(0,Je.Z)({anchorEl:i,container:s,disablePortal:c,keepMounted:f,modifiers:d,open:p,placement:m,popperOptions:h,popperRef:v,transition:g},w);return(0,lt.jsx)(wo,(0,Je.Z)({as:a,direction:null==r?void 0:r.direction,slots:{root:x},slotProps:null!=b?b:u},k,{ref:t}))})),ko=n(9683),So=n(5987),Eo=n(3031),Po=n(5158);function Co(e){return(0,it.Z)("MuiTooltip",e)}var Zo=(0,ot.Z)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Oo=["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"],To=(0,Xe.ZP)(xo,{name:"MuiTooltip",slot:"Popper",overridesResolver:function(e,t){var n=e.ownerState;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((function(e){var t,n=e.theme,r=e.ownerState,o=e.open;return(0,Je.Z)({zIndex:(n.vars||n).zIndex.tooltip,pointerEvents:"none"},!r.disableInteractive&&{pointerEvents:"auto"},!o&&{pointerEvents:"none"},r.arrow&&(t={},(0,Qt.Z)(t,'&[data-popper-placement*="bottom"] .'.concat(Zo.arrow),{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}}),(0,Qt.Z)(t,'&[data-popper-placement*="top"] .'.concat(Zo.arrow),{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}}),(0,Qt.Z)(t,'&[data-popper-placement*="right"] .'.concat(Zo.arrow),(0,Je.Z)({},r.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}})),(0,Qt.Z)(t,'&[data-popper-placement*="left"] .'.concat(Zo.arrow),(0,Je.Z)({},r.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})),t))})),Ro=(0,Xe.ZP)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:function(e,t){var n=e.ownerState;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t["tooltipPlacement".concat((0,Wt.Z)(n.placement.split("-")[0]))]]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Je.Z)({backgroundColor:n.vars?n.vars.palette.Tooltip.bg:(0,Mt.Fq)(n.palette.grey[700],.92),borderRadius:(n.vars||n).shape.borderRadius,color:(n.vars||n).palette.common.white,fontFamily:n.typography.fontFamily,padding:"4px 8px",fontSize:n.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:n.typography.fontWeightMedium},r.arrow&&{position:"relative",margin:0},r.touch&&{padding:"8px 16px",fontSize:n.typography.pxToRem(14),lineHeight:"".concat((16/14,Math.round(114285.71428571428)/1e5),"em"),fontWeight:n.typography.fontWeightRegular},(t={},(0,Qt.Z)(t,".".concat(Zo.popper,'[data-popper-placement*="left"] &'),(0,Je.Z)({transformOrigin:"right center"},r.isRtl?(0,Je.Z)({marginLeft:"14px"},r.touch&&{marginLeft:"24px"}):(0,Je.Z)({marginRight:"14px"},r.touch&&{marginRight:"24px"}))),(0,Qt.Z)(t,".".concat(Zo.popper,'[data-popper-placement*="right"] &'),(0,Je.Z)({transformOrigin:"left center"},r.isRtl?(0,Je.Z)({marginRight:"14px"},r.touch&&{marginRight:"24px"}):(0,Je.Z)({marginLeft:"14px"},r.touch&&{marginLeft:"24px"}))),(0,Qt.Z)(t,".".concat(Zo.popper,'[data-popper-placement*="top"] &'),(0,Je.Z)({transformOrigin:"center bottom",marginBottom:"14px"},r.touch&&{marginBottom:"24px"})),(0,Qt.Z)(t,".".concat(Zo.popper,'[data-popper-placement*="bottom"] &'),(0,Je.Z)({transformOrigin:"center top",marginTop:"14px"},r.touch&&{marginTop:"24px"})),t))})),No=(0,Xe.ZP)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:function(e,t){return t.arrow}})((function(e){var t=e.theme;return{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t.vars?t.vars.palette.Tooltip.bg:(0,Mt.Fq)(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}})),_o=!1,Mo=null,Ao={x:0,y:0};function jo(e,t){return function(n){t&&t(n),e(n)}}var Lo=e.forwardRef((function(t,n){var r,o,i,a,l,u,s,c,d,p,m,h,v,g,y,b,w,x,k,S=(0,rt.Z)({props:t,name:"MuiTooltip"}),E=S.arrow,P=void 0!==E&&E,C=S.children,Z=S.components,O=void 0===Z?{}:Z,T=S.componentsProps,R=void 0===T?{}:T,N=S.describeChild,_=void 0!==N&&N,M=S.disableFocusListener,A=void 0!==M&&M,j=S.disableHoverListener,L=void 0!==j&&j,z=S.disableInteractive,F=void 0!==z&&z,I=S.disableTouchListener,D=void 0!==I&&I,B=S.enterDelay,U=void 0===B?100:B,W=S.enterNextDelay,H=void 0===W?0:W,V=S.enterTouchDelay,$=void 0===V?700:V,q=S.followCursor,K=void 0!==q&&q,G=S.id,Q=S.leaveDelay,X=void 0===Q?0:Q,Y=S.leaveTouchDelay,J=void 0===Y?1500:Y,ee=S.onClose,te=S.onOpen,ne=S.open,re=S.placement,oe=void 0===re?"bottom":re,ie=S.PopperComponent,ae=S.PopperProps,le=void 0===ae?{}:ae,ue=S.slotProps,se=void 0===ue?{}:ue,ce=S.slots,fe=void 0===ce?{}:ce,de=S.title,pe=S.TransitionComponent,me=void 0===pe?In:pe,he=S.TransitionProps,ve=(0,et.Z)(S,Oo),ge=e.isValidElement(C)?C:(0,lt.jsx)("span",{children:C}),ye=Jt(),be="rtl"===ye.direction,we=e.useState(),xe=(0,f.Z)(we,2),ke=xe[0],Se=xe[1],Ee=e.useState(null),Pe=(0,f.Z)(Ee,2),Ce=Pe[0],Ze=Pe[1],Oe=e.useRef(!1),Te=F||K,Re=e.useRef(),Ne=e.useRef(),_e=e.useRef(),Me=e.useRef(),Ae=(0,Po.Z)({controlled:ne,default:!1,name:"Tooltip",state:"open"}),je=(0,f.Z)(Ae,2),Le=je[0],ze=je[1],Fe=Le,Ie=(0,So.Z)(G),De=e.useRef(),Be=e.useCallback((function(){void 0!==De.current&&(document.body.style.WebkitUserSelect=De.current,De.current=void 0),clearTimeout(Me.current)}),[]);e.useEffect((function(){return function(){clearTimeout(Re.current),clearTimeout(Ne.current),clearTimeout(_e.current),Be()}}),[Be]);var Ue=function(e){clearTimeout(Mo),_o=!0,ze(!0),te&&!Fe&&te(e)},We=(0,ko.Z)((function(e){clearTimeout(Mo),Mo=setTimeout((function(){_o=!1}),800+X),ze(!1),ee&&Fe&&ee(e),clearTimeout(Re.current),Re.current=setTimeout((function(){Oe.current=!1}),ye.transitions.duration.shortest)})),He=function(e){Oe.current&&"touchstart"!==e.type||(ke&&ke.removeAttribute("title"),clearTimeout(Ne.current),clearTimeout(_e.current),U||_o&&H?Ne.current=setTimeout((function(){Ue(e)}),_o?H:U):Ue(e))},Ve=function(e){clearTimeout(Ne.current),clearTimeout(_e.current),_e.current=setTimeout((function(){We(e)}),X)},$e=(0,Eo.Z)(),qe=$e.isFocusVisibleRef,Ke=$e.onBlur,Ge=$e.onFocus,Qe=$e.ref,Xe=e.useState(!1),Ye=(0,f.Z)(Xe,2)[1],ot=function(e){Ke(e),!1===qe.current&&(Ye(!1),Ve(e))},it=function(e){ke||Se(e.currentTarget),Ge(e),!0===qe.current&&(Ye(!0),He(e))},at=function(e){Oe.current=!0;var t=ge.props;t.onTouchStart&&t.onTouchStart(e)},ut=He,st=Ve;e.useEffect((function(){if(Fe)return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||We(e)}}),[We,Fe]);var ct=(0,Mn.Z)(ge.ref,Qe,Se,n);de||0===de||(Fe=!1);var ft=e.useRef(),dt={},pt="string"==typeof de;_?(dt.title=Fe||!pt||L?null:de,dt["aria-describedby"]=Fe?Ie:null):(dt["aria-label"]=pt?de:null,dt["aria-labelledby"]=Fe&&!pt?Ie:null);var mt=(0,Je.Z)({},dt,ve,ge.props,{className:(0,tt.Z)(ve.className,ge.props.className),onTouchStart:at,ref:ct},K?{onMouseMove:function(e){var t=ge.props;t.onMouseMove&&t.onMouseMove(e),Ao={x:e.clientX,y:e.clientY},ft.current&&ft.current.update()}}:{}),ht={};D||(mt.onTouchStart=function(e){at(e),clearTimeout(_e.current),clearTimeout(Re.current),Be(),De.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Me.current=setTimeout((function(){document.body.style.WebkitUserSelect=De.current,He(e)}),$)},mt.onTouchEnd=function(e){ge.props.onTouchEnd&&ge.props.onTouchEnd(e),Be(),clearTimeout(_e.current),_e.current=setTimeout((function(){We(e)}),J)}),L||(mt.onMouseOver=jo(ut,mt.onMouseOver),mt.onMouseLeave=jo(st,mt.onMouseLeave),Te||(ht.onMouseOver=ut,ht.onMouseLeave=st)),A||(mt.onFocus=jo(it,mt.onFocus),mt.onBlur=jo(ot,mt.onBlur),Te||(ht.onFocus=it,ht.onBlur=ot));var vt=e.useMemo((function(){var e,t=[{name:"arrow",enabled:Boolean(Ce),options:{element:Ce,padding:4}}];return null!=(e=le.popperOptions)&&e.modifiers&&(t=t.concat(le.popperOptions.modifiers)),(0,Je.Z)({},le.popperOptions,{modifiers:t})}),[Ce,le]),gt=(0,Je.Z)({},S,{isRtl:be,arrow:P,disableInteractive:Te,placement:oe,PopperComponentProp:ie,touch:Oe.current}),yt=function(e){var t=e.classes,n=e.disableInteractive,r=e.arrow,o=e.touch,i=e.placement,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch","tooltipPlacement".concat((0,Wt.Z)(i.split("-")[0]))],arrow:["arrow"]};return(0,nt.Z)(a,Co,t)}(gt),bt=null!=(r=null!=(o=fe.popper)?o:O.Popper)?r:To,wt=null!=(i=null!=(a=null!=(l=fe.transition)?l:O.Transition)?a:me)?i:In,xt=null!=(u=null!=(s=fe.tooltip)?s:O.Tooltip)?u:Ro,kt=null!=(c=null!=(d=fe.arrow)?d:O.Arrow)?c:No,St=bn(bt,(0,Je.Z)({},le,null!=(p=se.popper)?p:R.popper,{className:(0,tt.Z)(yt.popper,null==le?void 0:le.className,null==(m=null!=(h=se.popper)?h:R.popper)?void 0:m.className)}),gt),Et=bn(wt,(0,Je.Z)({},he,null!=(v=se.transition)?v:R.transition),gt),Pt=bn(xt,(0,Je.Z)({},null!=(g=se.tooltip)?g:R.tooltip,{className:(0,tt.Z)(yt.tooltip,null==(y=null!=(b=se.tooltip)?b:R.tooltip)?void 0:y.className)}),gt),Ct=bn(kt,(0,Je.Z)({},null!=(w=se.arrow)?w:R.arrow,{className:(0,tt.Z)(yt.arrow,null==(x=null!=(k=se.arrow)?k:R.arrow)?void 0:x.className)}),gt);return(0,lt.jsxs)(e.Fragment,{children:[e.cloneElement(ge,mt),(0,lt.jsx)(bt,(0,Je.Z)({as:null!=ie?ie:xo,placement:oe,anchorEl:K?{getBoundingClientRect:function(){return{top:Ao.y,left:Ao.x,right:Ao.x,bottom:Ao.y,width:0,height:0}}}:ke,popperRef:ft,open:!!ke&&Fe,id:Ie,transition:!0},ht,St,{popperOptions:vt,children:function(e){var t=e.TransitionProps;return(0,lt.jsx)(wt,(0,Je.Z)({timeout:ye.transitions.duration.shorter},t,Et,{children:(0,lt.jsxs)(xt,(0,Je.Z)({},Pt,{children:[de,P?(0,lt.jsx)(kt,(0,Je.Z)({},Ct,{ref:Ze})):null]}))}))}}))]})})),zo=Lo;function Fo(t,n){var r=Object.create(null);return t&&e.Children.map(t,(function(e){return e})).forEach((function(t){r[t.key]=function(t){return n&&(0,e.isValidElement)(t)?n(t):t}(t)})),r}function Io(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Do(t,n,r){var o=Fo(t.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var l={};for(var u in t){if(o[u])for(r=0;r<o[u].length;r++){var s=o[u][r];l[o[u][r]]=n(s)}l[u]=n(u)}for(r=0;r<i.length;r++)l[i[r]]=n(i[r]);return l}(n,o);return Object.keys(i).forEach((function(a){var l=i[a];if((0,e.isValidElement)(l)){var u=a in n,s=a in o,c=n[a],f=(0,e.isValidElement)(c)&&!c.props.in;!s||u&&!f?s||!u||f?s&&u&&(0,e.isValidElement)(c)&&(i[a]=(0,e.cloneElement)(l,{onExited:r.bind(null,l),in:c.props.in,exit:Io(l,"exit",t),enter:Io(l,"enter",t)})):i[a]=(0,e.cloneElement)(l,{in:!1}):i[a]=(0,e.cloneElement)(l,{onExited:r.bind(null,l),in:!0,exit:Io(l,"exit",t),enter:Io(l,"enter",t)})}})),i}var Bo=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Uo=function(t){function n(e,n){var r,o=(r=t.call(this,e,n)||this).handleExited.bind(c(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}wn(n,t);var r=n.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(t,n){var r,o,i=n.children,a=n.handleExited;return{children:n.firstRender?(r=t,o=a,Fo(r.children,(function(t){return(0,e.cloneElement)(t,{onExited:o.bind(null,t),in:!0,appear:Io(t,"appear",r),enter:Io(t,"enter",r),exit:Io(t,"exit",r)})}))):Do(t,i,a),firstRender:!1}},r.handleExited=function(e,t){var n=Fo(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,Je.Z)({},t.children);return delete n[e.key],{children:n}})))},r.render=function(){var t=this.props,n=t.component,r=t.childFactory,o=(0,et.Z)(t,["component","childFactory"]),i=this.state.contextValue,a=Bo(this.state.children).map(r);return delete o.appear,delete o.enter,delete o.exit,null===n?e.createElement(kn.Provider,{value:i},a):e.createElement(kn.Provider,{value:i},e.createElement(n,o,a))},n}(e.Component);Uo.propTypes={},Uo.defaultProps={component:"div",childFactory:function(e){return e}};var Wo=Uo,Ho=(n(2561),n(9140));function Vo(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,Ho.O)(t)}n(3361),n(2110);var $o,qo,Ko,Go,Qo,Xo,Yo,Jo,ei=function(){var e=Vo.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_"}}},ti=(0,ot.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),ni=["center","classes","className"],ri=ei(Qo||(Qo=$o||($o=d(["\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n"])))),oi=ei(Xo||(Xo=qo||(qo=d(["\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n"])))),ii=ei(Yo||(Yo=Ko||(Ko=d(["\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.92);\n }\n\n 100% {\n transform: scale(1);\n }\n"])))),ai=(0,Xe.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),li=(0,Xe.ZP)((function(t){var n=t.className,r=t.classes,o=t.pulsate,i=void 0!==o&&o,a=t.rippleX,l=t.rippleY,u=t.rippleSize,s=t.in,c=t.onExited,d=t.timeout,p=e.useState(!1),m=(0,f.Z)(p,2),h=m[0],v=m[1],g=(0,tt.Z)(n,r.ripple,r.rippleVisible,i&&r.ripplePulsate),y={width:u,height:u,top:-u/2+l,left:-u/2+a},b=(0,tt.Z)(r.child,h&&r.childLeaving,i&&r.childPulsate);return s||h||v(!0),e.useEffect((function(){if(!s&&null!=c){var e=setTimeout(c,d);return function(){clearTimeout(e)}}}),[c,s,d]),(0,lt.jsx)("span",{className:g,style:y,children:(0,lt.jsx)("span",{className:b})})}),{name:"MuiTouchRipple",slot:"Ripple"})(Jo||(Jo=Go||(Go=d(["\n opacity: 0;\n position: absolute;\n\n &."," {\n opacity: 0.3;\n transform: scale(1);\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n &."," {\n animation-duration: ","ms;\n }\n\n & ."," {\n opacity: 1;\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: currentColor;\n }\n\n & ."," {\n opacity: 0;\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n & ."," {\n position: absolute;\n /* @noflip */\n left: 0px;\n top: 0;\n animation-name: ",";\n animation-duration: 2500ms;\n animation-timing-function: ",";\n animation-iteration-count: infinite;\n animation-delay: 200ms;\n }\n"]))),ti.rippleVisible,ri,550,(function(e){return e.theme.transitions.easing.easeInOut}),ti.ripplePulsate,(function(e){return e.theme.transitions.duration.shorter}),ti.child,ti.childLeaving,oi,550,(function(e){return e.theme.transitions.easing.easeInOut}),ti.childPulsate,ii,(function(e){return e.theme.transitions.easing.easeInOut})),ui=e.forwardRef((function(t,n){var r=(0,rt.Z)({props:t,name:"MuiTouchRipple"}),o=r.center,i=void 0!==o&&o,a=r.classes,l=void 0===a?{}:a,u=r.className,s=(0,et.Z)(r,ni),c=e.useState([]),d=(0,f.Z)(c,2),p=d[0],m=d[1],h=e.useRef(0),v=e.useRef(null);e.useEffect((function(){v.current&&(v.current(),v.current=null)}),[p]);var g=e.useRef(!1),y=e.useRef(0),b=e.useRef(null),w=e.useRef(null);e.useEffect((function(){return function(){y.current&&clearTimeout(y.current)}}),[]);var x=e.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,o=e.rippleSize,i=e.cb;m((function(e){return[].concat((0,pt.Z)(e),[(0,lt.jsx)(li,{classes:{ripple:(0,tt.Z)(l.ripple,ti.ripple),rippleVisible:(0,tt.Z)(l.rippleVisible,ti.rippleVisible),ripplePulsate:(0,tt.Z)(l.ripplePulsate,ti.ripplePulsate),child:(0,tt.Z)(l.child,ti.child),childLeaving:(0,tt.Z)(l.childLeaving,ti.childLeaving),childPulsate:(0,tt.Z)(l.childPulsate,ti.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},h.current)])})),h.current+=1,v.current=i}),[l]),k=e.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=t.pulsate,o=void 0!==r&&r,a=t.center,l=void 0===a?i||t.pulsate:a,u=t.fakeElement,s=void 0!==u&&u;if("mousedown"===(null==e?void 0:e.type)&&g.current)g.current=!1;else{"touchstart"===(null==e?void 0:e.type)&&(g.current=!0);var c,f,d,p=s?null:w.current,m=p?p.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(l||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(m.width/2),f=Math.round(m.height/2);else{var h=e.touches&&e.touches.length>0?e.touches[0]:e,v=h.clientX,k=h.clientY;c=Math.round(v-m.left),f=Math.round(k-m.top)}if(l)(d=Math.sqrt((2*Math.pow(m.width,2)+Math.pow(m.height,2))/3))%2==0&&(d+=1);else{var S=2*Math.max(Math.abs((p?p.clientWidth:0)-c),c)+2,E=2*Math.max(Math.abs((p?p.clientHeight:0)-f),f)+2;d=Math.sqrt(Math.pow(S,2)+Math.pow(E,2))}null!=e&&e.touches?null===b.current&&(b.current=function(){x({pulsate:o,rippleX:c,rippleY:f,rippleSize:d,cb:n})},y.current=setTimeout((function(){b.current&&(b.current(),b.current=null)}),80)):x({pulsate:o,rippleX:c,rippleY:f,rippleSize:d,cb:n})}}),[i,x]),S=e.useCallback((function(){k({},{pulsate:!0})}),[k]),E=e.useCallback((function(e,t){if(clearTimeout(y.current),"touchend"===(null==e?void 0:e.type)&&b.current)return b.current(),b.current=null,void(y.current=setTimeout((function(){E(e,t)})));b.current=null,m((function(e){return e.length>0?e.slice(1):e})),v.current=t}),[]);return e.useImperativeHandle(n,(function(){return{pulsate:S,start:k,stop:E}}),[S,k,E]),(0,lt.jsx)(ai,(0,Je.Z)({className:(0,tt.Z)(ti.root,l.root,u),ref:w},s,{children:(0,lt.jsx)(Wo,{component:null,exit:!0,children:p})}))})),si=ui;function ci(e){return(0,it.Z)("MuiButtonBase",e)}var fi,di=(0,ot.Z)("MuiButtonBase",["root","disabled","focusVisible"]),pi=["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"],mi=(0,Xe.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:function(e,t){return t.root}})((fi={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"}},(0,Qt.Z)(fi,"&.".concat(di.disabled),{pointerEvents:"none",cursor:"default"}),(0,Qt.Z)(fi,"@media print",{colorAdjust:"exact"}),fi)),hi=e.forwardRef((function(t,n){var r=(0,rt.Z)({props:t,name:"MuiButtonBase"}),o=r.action,i=r.centerRipple,a=void 0!==i&&i,l=r.children,u=r.className,s=r.component,c=void 0===s?"button":s,d=r.disabled,p=void 0!==d&&d,m=r.disableRipple,h=void 0!==m&&m,v=r.disableTouchRipple,g=void 0!==v&&v,y=r.focusRipple,b=void 0!==y&&y,w=r.LinkComponent,x=void 0===w?"a":w,k=r.onBlur,S=r.onClick,E=r.onContextMenu,P=r.onDragLeave,C=r.onFocus,Z=r.onFocusVisible,O=r.onKeyDown,T=r.onKeyUp,R=r.onMouseDown,N=r.onMouseLeave,_=r.onMouseUp,M=r.onTouchEnd,A=r.onTouchMove,j=r.onTouchStart,L=r.tabIndex,z=void 0===L?0:L,F=r.TouchRippleProps,I=r.touchRippleRef,D=r.type,B=(0,et.Z)(r,pi),U=e.useRef(null),W=e.useRef(null),H=(0,Mn.Z)(W,I),V=(0,Eo.Z)(),$=V.isFocusVisibleRef,q=V.onFocus,K=V.onBlur,G=V.ref,Q=e.useState(!1),X=(0,f.Z)(Q,2),Y=X[0],J=X[1];p&&Y&&J(!1),e.useImperativeHandle(o,(function(){return{focusVisible:function(){J(!0),U.current.focus()}}}),[]);var ee=e.useState(!1),te=(0,f.Z)(ee,2),ne=te[0],re=te[1];e.useEffect((function(){re(!0)}),[]);var oe=ne&&!h&&!p;function ie(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g;return(0,ko.Z)((function(r){return t&&t(r),!n&&W.current&&W.current[e](r),!0}))}e.useEffect((function(){Y&&b&&!h&&ne&&W.current.pulsate()}),[h,b,Y,ne]);var ae=ie("start",R),le=ie("stop",E),ue=ie("stop",P),se=ie("stop",_),ce=ie("stop",(function(e){Y&&e.preventDefault(),N&&N(e)})),fe=ie("start",j),de=ie("stop",M),pe=ie("stop",A),me=ie("stop",(function(e){K(e),!1===$.current&&J(!1),k&&k(e)}),!1),he=(0,ko.Z)((function(e){U.current||(U.current=e.currentTarget),q(e),!0===$.current&&(J(!0),Z&&Z(e)),C&&C(e)})),ve=function(){var e=U.current;return c&&"button"!==c&&!("A"===e.tagName&&e.href)},ge=e.useRef(!1),ye=(0,ko.Z)((function(e){b&&!ge.current&&Y&&W.current&&" "===e.key&&(ge.current=!0,W.current.stop(e,(function(){W.current.start(e)}))),e.target===e.currentTarget&&ve()&&" "===e.key&&e.preventDefault(),O&&O(e),e.target===e.currentTarget&&ve()&&"Enter"===e.key&&!p&&(e.preventDefault(),S&&S(e))})),be=(0,ko.Z)((function(e){b&&" "===e.key&&W.current&&Y&&!e.defaultPrevented&&(ge.current=!1,W.current.stop(e,(function(){W.current.pulsate(e)}))),T&&T(e),S&&e.target===e.currentTarget&&ve()&&" "===e.key&&!e.defaultPrevented&&S(e)})),we=c;"button"===we&&(B.href||B.to)&&(we=x);var xe={};"button"===we?(xe.type=void 0===D?"button":D,xe.disabled=p):(B.href||B.to||(xe.role="button"),p&&(xe["aria-disabled"]=p));var ke=(0,Mn.Z)(n,G,U),Se=(0,Je.Z)({},r,{centerRipple:a,component:c,disabled:p,disableRipple:h,disableTouchRipple:g,focusRipple:b,tabIndex:z,focusVisible:Y}),Ee=function(e){var t=e.disabled,n=e.focusVisible,r=e.focusVisibleClassName,o=e.classes,i={root:["root",t&&"disabled",n&&"focusVisible"]},a=(0,nt.Z)(i,ci,o);return n&&r&&(a.root+=" ".concat(r)),a}(Se);return(0,lt.jsxs)(mi,(0,Je.Z)({as:we,className:(0,tt.Z)(Ee.root,u),ownerState:Se,onBlur:me,onClick:S,onContextMenu:le,onFocus:he,onKeyDown:ye,onKeyUp:be,onMouseDown:ae,onMouseLeave:ce,onMouseUp:se,onDragLeave:ue,onTouchEnd:de,onTouchMove:pe,onTouchStart:fe,ref:ke,tabIndex:p?-1:z,type:D},xe,B,{children:[l,oe?(0,lt.jsx)(si,(0,Je.Z)({ref:H,center:a},F)):null]}))})),vi=hi;function gi(e){return(0,it.Z)("MuiIconButton",e)}var yi=(0,ot.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),bi=["edge","children","className","color","disabled","disableFocusRipple","size"],wi=(0,Xe.ZP)(vi,{name:"MuiIconButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"default"!==n.color&&t["color".concat((0,Wt.Z)(n.color))],n.edge&&t["edge".concat((0,Wt.Z)(n.edge))],t["size".concat((0,Wt.Z)(n.size))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Je.Z)({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest})},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.activeChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,Mt.Fq)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===n.edge&&{marginLeft:"small"===n.size?-3:-12},"end"===n.edge&&{marginRight:"small"===n.size?-3:-12})}),(function(e){var t,n=e.theme,r=e.ownerState,o=null==(t=(n.vars||n).palette)?void 0:t[r.color];return(0,Je.Z)({},"inherit"===r.color&&{color:"inherit"},"inherit"!==r.color&&"default"!==r.color&&(0,Je.Z)({color:null==o?void 0:o.main},!r.disableRipple&&{"&:hover":(0,Je.Z)({},o&&{backgroundColor:n.vars?"rgba(".concat(o.mainChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):(0,Mt.Fq)(o.main,n.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===r.size&&{padding:5,fontSize:n.typography.pxToRem(18)},"large"===r.size&&{padding:12,fontSize:n.typography.pxToRem(28)},(0,Qt.Z)({},"&.".concat(yi.disabled),{backgroundColor:"transparent",color:(n.vars||n).palette.action.disabled}))})),xi=e.forwardRef((function(e,t){var n=(0,rt.Z)({props:e,name:"MuiIconButton"}),r=n.edge,o=void 0!==r&&r,i=n.children,a=n.className,l=n.color,u=void 0===l?"default":l,s=n.disabled,c=void 0!==s&&s,f=n.disableFocusRipple,d=void 0!==f&&f,p=n.size,m=void 0===p?"medium":p,h=(0,et.Z)(n,bi),v=(0,Je.Z)({},n,{edge:o,color:u,disabled:c,disableFocusRipple:d,size:m}),g=function(e){var t=e.classes,n=e.disabled,r=e.color,o=e.edge,i=e.size,a={root:["root",n&&"disabled","default"!==r&&"color".concat((0,Wt.Z)(r)),o&&"edge".concat((0,Wt.Z)(o)),"size".concat((0,Wt.Z)(i))]};return(0,nt.Z)(a,gi,t)}(v);return(0,lt.jsx)(wi,(0,Je.Z)({className:(0,tt.Z)(g.root,a),centerRipple:!0,focusRipple:!d,disabled:c,ref:t,ownerState:v},h,{children:i}))})),ki=(n(8457),n(8301)),Si=e.createContext({});function Ei(e){return(0,it.Z)("MuiList",e)}(0,ot.Z)("MuiList",["root","padding","dense","subheader"]);var Pi=["children","className","component","dense","disablePadding","subheader"],Ci=(0,Xe.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((function(e){var t=e.ownerState;return(0,Je.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})})),Zi=e.forwardRef((function(t,n){var r=(0,rt.Z)({props:t,name:"MuiList"}),o=r.children,i=r.className,a=r.component,l=void 0===a?"ul":a,u=r.dense,s=void 0!==u&&u,c=r.disablePadding,f=void 0!==c&&c,d=r.subheader,p=(0,et.Z)(r,Pi),m=e.useMemo((function(){return{dense:s}}),[s]),h=(0,Je.Z)({},r,{component:l,dense:s,disablePadding:f}),v=function(e){var t=e.classes,n={root:["root",!e.disablePadding&&"padding",e.dense&&"dense",e.subheader&&"subheader"]};return(0,nt.Z)(n,Ei,t)}(h);return(0,lt.jsx)(Si.Provider,{value:m,children:(0,lt.jsxs)(Ci,(0,Je.Z)({as:l,className:(0,tt.Z)(v.root,i),ref:n,ownerState:h},p,{children:[d,o]}))})}));function Oi(e){var t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}var Ti=Oi,Ri=n(162),Ni=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function _i(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Mi(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Ai(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function ji(e,t,n,r,o,i){for(var a=!1,l=o(e,t,!!t&&n);l;){if(l===e.firstChild){if(a)return!1;a=!0}var u=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&Ai(l,i)&&!u)return l.focus(),!0;l=o(e,l,n)}return!1}var Li=e.forwardRef((function(t,n){var r=t.actions,o=t.autoFocus,i=void 0!==o&&o,a=t.autoFocusItem,l=void 0!==a&&a,u=t.children,s=t.className,c=t.disabledItemsFocusable,f=void 0!==c&&c,d=t.disableListWrap,p=void 0!==d&&d,m=t.onKeyDown,h=t.variant,v=void 0===h?"selectedMenu":h,g=(0,et.Z)(t,Ni),y=e.useRef(null),b=e.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,Ri.Z)((function(){i&&y.current.focus()}),[i]),e.useImperativeHandle(r,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!y.current.style.width;if(e.clientHeight<y.current.clientHeight&&n){var r="".concat(Ti((0,ki.Z)(e)),"px");y.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=r,y.current.style.width="calc(100% + ".concat(r,")")}return y.current}}}),[]);var w=(0,Mn.Z)(y,n),x=-1;e.Children.forEach(u,(function(t,n){e.isValidElement(t)?(t.props.disabled||("selectedMenu"===v&&t.props.selected||-1===x)&&(x=n),x===n&&(t.props.disabled||t.props.muiSkipListHighlight||t.type.muiSkipListHighlight)&&(x+=1)>=u.length&&(x=-1)):x===n&&(x+=1)>=u.length&&(x=-1)}));var k=e.Children.map(u,(function(t,n){if(n===x){var r={};return l&&(r.autoFocus=!0),void 0===t.props.tabIndex&&"selectedMenu"===v&&(r.tabIndex=0),e.cloneElement(t,r)}return t}));return(0,lt.jsx)(Zi,(0,Je.Z)({role:"menu",ref:w,className:s,onKeyDown:function(e){var t=y.current,n=e.key,r=(0,ki.Z)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),ji(t,r,p,f,_i);else if("ArrowUp"===n)e.preventDefault(),ji(t,r,p,f,Mi);else if("Home"===n)e.preventDefault(),ji(t,null,p,f,_i);else if("End"===n)e.preventDefault(),ji(t,null,p,f,Mi);else if(1===n.length){var o=b.current,i=n.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);var l=r&&!o.repeating&&Ai(r,o);o.previousKeyMatched&&(l||ji(t,r,!1,f,_i,o))?e.preventDefault():o.previousKeyMatched=!1}m&&m(e)},tabIndex:i?0:-1},g,{children:k}))})),zi=n(3070),Fi=n(7602),Ii=n(7054),Di=n(8949),Bi=n(5202);function Ui(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Wi(e){return parseInt((0,Bi.Z)(e).getComputedStyle(e).paddingRight,10)||0}function Hi(e,t,n,r,o){var i=[t,n].concat((0,pt.Z)(r));[].forEach.call(e.children,(function(e){var t=-1===i.indexOf(e),n=!function(e){var t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&Ui(e,o)}))}function Vi(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}var $i=function(){function e(){r(this,e),this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}return a(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&Ui(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);Hi(t,e.mount,e.modalRef,r,!0);var o=Vi(this.containers,(function(e){return e.container===t}));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}},{key:"mount",value:function(e,t){var n=Vi(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=function(e,t){var n=[],r=e.container;if(!t.disableScrollLock){if(function(e){var t=(0,Un.Z)(e);return t.body===e?(0,Bi.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){var o=Oi((0,Un.Z)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight="".concat(Wi(r)+o,"px");var i=(0,Un.Z)(r).querySelectorAll(".mui-fixed");[].forEach.call(i,(function(e){n.push({value:e.style.paddingRight,property:"padding-right",el:e}),e.style.paddingRight="".concat(Wi(e)+o,"px")}))}var a;if(r.parentNode instanceof DocumentFragment)a=(0,Un.Z)(r).body;else{var l=r.parentElement,u=(0,Bi.Z)(r);a="HTML"===(null==l?void 0:l.nodeName)&&"scroll"===u.getComputedStyle(l).overflowY?l:r}n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return function(){n.forEach((function(e){var t=e.value,n=e.el,r=e.property;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}(r,t))}},{key:"remove",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.modals.indexOf(e);if(-1===n)return n;var r=Vi(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&Ui(e.modalRef,t),Hi(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{var i=o.modals[o.modals.length-1];i.modalRef&&Ui(i.modalRef,!1)}return n}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}(),qi=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Ki(e){var t=[],n=[];return Array.from(e.querySelectorAll(qi)).forEach((function(e,r){var o=function(e){var 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;var t=function(t){return e.ownerDocument.querySelector('input[type="radio"]'.concat(t))},n=t('[name="'.concat(e.name,'"]:checked'));return n||(n=t('[name="'.concat(e.name,'"]'))),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort((function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex})).map((function(e){return e.node})).concat(t)}function Gi(){return!0}var Qi=function(t){var n=t.children,r=t.disableAutoFocus,o=void 0!==r&&r,i=t.disableEnforceFocus,a=void 0!==i&&i,l=t.disableRestoreFocus,u=void 0!==l&&l,s=t.getTabbable,c=void 0===s?Ki:s,f=t.isEnabled,d=void 0===f?Gi:f,p=t.open,m=e.useRef(!1),h=e.useRef(null),v=e.useRef(null),g=e.useRef(null),y=e.useRef(null),b=e.useRef(!1),w=e.useRef(null),x=(0,Dn.Z)(n.ref,w),k=e.useRef(null);e.useEffect((function(){p&&w.current&&(b.current=!o)}),[o,p]),e.useEffect((function(){if(p&&w.current){var e=(0,Un.Z)(w.current);return w.current.contains(e.activeElement)||(w.current.hasAttribute("tabIndex")||w.current.setAttribute("tabIndex","-1"),b.current&&w.current.focus()),function(){u||(g.current&&g.current.focus&&(m.current=!0,g.current.focus()),g.current=null)}}}),[p]),e.useEffect((function(){if(p&&w.current){var e=(0,Un.Z)(w.current),t=function(t){var n=w.current;if(null!==n)if(e.hasFocus()&&!a&&d()&&!m.current){if(!n.contains(e.activeElement)){if(t&&y.current!==t.target||e.activeElement!==y.current)y.current=null;else if(null!==y.current)return;if(!b.current)return;var r=[];if(e.activeElement!==h.current&&e.activeElement!==v.current||(r=c(w.current)),r.length>0){var o,i,l=Boolean((null==(o=k.current)?void 0:o.shiftKey)&&"Tab"===(null==(i=k.current)?void 0:i.key)),u=r[0],s=r[r.length-1];"string"!=typeof u&&"string"!=typeof s&&(l?s.focus():u.focus())}else n.focus()}}else m.current=!1},n=function(t){k.current=t,!a&&d()&&"Tab"===t.key&&e.activeElement===w.current&&t.shiftKey&&(m.current=!0,v.current&&v.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",n,!0);var r=setInterval((function(){e.activeElement&&"BODY"===e.activeElement.tagName&&t(null)}),50);return function(){clearInterval(r),e.removeEventListener("focusin",t),e.removeEventListener("keydown",n,!0)}}}),[o,a,u,d,p,c]);var S=function(e){null===g.current&&(g.current=e.relatedTarget),b.current=!0};return(0,lt.jsxs)(e.Fragment,{children:[(0,lt.jsx)("div",{tabIndex:p?0:-1,onFocus:S,ref:h,"data-testid":"sentinelStart"}),e.cloneElement(n,{ref:x,onFocus:function(e){null===g.current&&(g.current=e.relatedTarget),b.current=!0,y.current=e.target;var t=n.props.onFocus;t&&t(e)}}),(0,lt.jsx)("div",{tabIndex:p?0:-1,onFocus:S,ref:v,"data-testid":"sentinelEnd"})]})};function Xi(e){return(0,it.Z)("MuiModal",e)}(0,ot.Z)("MuiModal",["root","hidden","backdrop"]);var Yi=["children","closeAfterTransition","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"],Ji=new $i,ea=e.forwardRef((function(t,n){var r,o,i=t.children,a=t.closeAfterTransition,l=void 0!==a&&a,u=t.container,s=t.disableAutoFocus,c=void 0!==s&&s,d=t.disableEnforceFocus,p=void 0!==d&&d,m=t.disableEscapeKeyDown,h=void 0!==m&&m,v=t.disablePortal,g=void 0!==v&&v,y=t.disableRestoreFocus,b=void 0!==y&&y,w=t.disableScrollLock,x=void 0!==w&&w,k=t.hideBackdrop,S=void 0!==k&&k,E=t.keepMounted,P=void 0!==E&&E,C=t.manager,Z=void 0===C?Ji:C,O=t.onBackdropClick,T=t.onClose,R=t.onKeyDown,N=t.open,_=t.onTransitionEnter,M=t.onTransitionExited,A=t.slotProps,j=void 0===A?{}:A,L=t.slots,z=void 0===L?{}:L,F=(0,et.Z)(t,Yi),I=Z,D=e.useState(!N),B=(0,f.Z)(D,2),U=B[0],W=B[1],H=e.useRef({}),V=e.useRef(null),$=e.useRef(null),q=(0,Dn.Z)($,n),K=function(e){return!!e&&e.props.hasOwnProperty("in")}(i),G=null==(r=t["aria-hidden"])||r,Q=function(){return H.current.modalRef=$.current,H.current.mountNode=V.current,H.current},X=function(){I.mount(Q(),{disableScrollLock:x}),$.current&&($.current.scrollTop=0)},Y=(0,Ii.Z)((function(){var e=function(e){return"function"==typeof e?e():e}(u)||(0,Un.Z)(V.current).body;I.add(Q(),e),$.current&&X()})),J=e.useCallback((function(){return I.isTopModal(Q())}),[I]),ee=(0,Ii.Z)((function(e){V.current=e,e&&$.current&&(N&&J()?X():Ui($.current,G))})),te=e.useCallback((function(){I.remove(Q(),G)}),[I,G]);e.useEffect((function(){return function(){te()}}),[te]),e.useEffect((function(){N?Y():K&&l||te()}),[N,te,K,l,Y]);var ne=(0,Je.Z)({},t,{closeAfterTransition:l,disableAutoFocus:c,disableEnforceFocus:p,disableEscapeKeyDown:h,disablePortal:g,disableRestoreFocus:b,disableScrollLock:x,exited:U,hideBackdrop:S,keepMounted:P}),re=function(e){var t=e.open,n=e.exited,r={root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]};return(0,nt.Z)(r,co(Xi))}(ne),oe={};void 0===i.props.tabIndex&&(oe.tabIndex="-1"),K&&(oe.onEnter=(0,Di.Z)((function(){W(!1),_&&_()}),i.props.onEnter),oe.onExited=(0,Di.Z)((function(){W(!0),M&&M(),l&&te()}),i.props.onExited));var ie=null!=(o=z.root)?o:"div",ae=uo({elementType:ie,externalSlotProps:j.root,externalForwardedProps:F,additionalProps:{ref:q,role:"presentation",onKeyDown:function(e){R&&R(e),"Escape"===e.key&&J()&&(h||(e.stopPropagation(),T&&T(e,"escapeKeyDown")))}},className:re.root,ownerState:ne}),le=z.backdrop,ue=uo({elementType:le,externalSlotProps:j.backdrop,additionalProps:{"aria-hidden":!0,onClick:function(e){e.target===e.currentTarget&&(O&&O(e),T&&T(e,"backdropClick"))},open:N},className:re.backdrop,ownerState:ne});return P||N||K&&!U?(0,lt.jsx)(ro,{ref:ee,container:u,disablePortal:g,children:(0,lt.jsxs)(ie,(0,Je.Z)({},ae,{children:[!S&&le?(0,lt.jsx)(le,(0,Je.Z)({},ue)):null,(0,lt.jsx)(Qi,{disableEnforceFocus:p,disableAutoFocus:c,disableRestoreFocus:b,isEnabled:J,open:N,children:e.cloneElement(i,oe)})]}))}):null})),ta=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],na={entering:{opacity:1},entered:{opacity:1}},ra=e.forwardRef((function(t,n){var r=Jt(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},i=t.addEndListener,a=t.appear,l=void 0===a||a,u=t.children,s=t.easing,c=t.in,f=t.onEnter,d=t.onEntered,p=t.onEntering,m=t.onExit,h=t.onExited,v=t.onExiting,g=t.style,y=t.timeout,b=void 0===y?o:y,w=t.TransitionComponent,x=void 0===w?Rn:w,k=(0,et.Z)(t,ta),S=e.useRef(null),E=(0,Mn.Z)(S,u.ref,n),P=function(e){return function(t){if(e){var n=S.current;void 0===t?e(n):e(n,t)}}},C=P(p),Z=P((function(e,t){Nn(e);var n=_n({style:g,timeout:b,easing:s},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),f&&f(e,t)})),O=P(d),T=P(v),R=P((function(e){var t=_n({style:g,timeout:b,easing:s},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),m&&m(e)})),N=P(h);return(0,lt.jsx)(x,(0,Je.Z)({appear:l,in:c,nodeRef:S,onEnter:Z,onEntered:O,onEntering:C,onExit:R,onExited:N,onExiting:T,addEndListener:function(e){i&&i(S.current,e)},timeout:b},k,{children:function(t,n){return e.cloneElement(u,(0,Je.Z)({style:(0,Je.Z)({opacity:0,visibility:"exited"!==t||c?void 0:"hidden"},na[t],g,u.props.style),ref:E},n))}}))}));function oa(e){return(0,it.Z)("MuiBackdrop",e)}(0,ot.Z)("MuiBackdrop",["root","invisible"]);var ia=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],aa=(0,Xe.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.invisible&&t.invisible]}})((function(e){var t=e.ownerState;return(0,Je.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"},t.invisible&&{backgroundColor:"transparent"})})),la=e.forwardRef((function(e,t){var n,r,o,i=(0,rt.Z)({props:e,name:"MuiBackdrop"}),a=i.children,l=i.className,u=i.component,s=void 0===u?"div":u,c=i.components,f=void 0===c?{}:c,d=i.componentsProps,p=void 0===d?{}:d,m=i.invisible,h=void 0!==m&&m,v=i.open,g=i.slotProps,y=void 0===g?{}:g,b=i.slots,w=void 0===b?{}:b,x=i.TransitionComponent,k=void 0===x?ra:x,S=i.transitionDuration,E=(0,et.Z)(i,ia),P=(0,Je.Z)({},i,{component:s,invisible:h}),C=function(e){var t=e.classes,n={root:["root",e.invisible&&"invisible"]};return(0,nt.Z)(n,oa,t)}(P),Z=null!=(n=y.root)?n:p.root;return(0,lt.jsx)(k,(0,Je.Z)({in:v,timeout:S},E,{children:(0,lt.jsx)(aa,(0,Je.Z)({"aria-hidden":!0},Z,{as:null!=(r=null!=(o=w.root)?o:f.Root)?r:s,className:(0,tt.Z)(C.root,l,null==Z?void 0:Z.className),ownerState:(0,Je.Z)({},P,null==Z?void 0:Z.ownerState),classes:C,ref:t,children:a}))}))})),ua=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","open","slotProps","slots","theme"],sa=(0,Xe.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.open&&n.exited&&t.hidden]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Je.Z)({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0},!n.open&&n.exited&&{visibility:"hidden"})})),ca=(0,Xe.ZP)(la,{name:"MuiModal",slot:"Backdrop",overridesResolver:function(e,t){return t.backdrop}})({zIndex:-1}),fa=e.forwardRef((function(t,n){var r,o,i,a,l,u,s=(0,rt.Z)({name:"MuiModal",props:t}),c=s.BackdropComponent,d=void 0===c?ca:c,p=s.BackdropProps,m=s.classes,h=s.className,v=s.closeAfterTransition,g=void 0!==v&&v,y=s.children,b=s.container,w=s.component,x=s.components,k=void 0===x?{}:x,S=s.componentsProps,E=void 0===S?{}:S,P=s.disableAutoFocus,C=void 0!==P&&P,Z=s.disableEnforceFocus,O=void 0!==Z&&Z,T=s.disableEscapeKeyDown,R=void 0!==T&&T,N=s.disablePortal,_=void 0!==N&&N,M=s.disableRestoreFocus,A=void 0!==M&&M,j=s.disableScrollLock,L=void 0!==j&&j,z=s.hideBackdrop,F=void 0!==z&&z,I=s.keepMounted,D=void 0!==I&&I,B=s.onBackdropClick,U=s.onClose,W=s.open,H=s.slotProps,V=s.slots,$=s.theme,q=(0,et.Z)(s,ua),K=e.useState(!0),G=(0,f.Z)(K,2),Q=G[0],X=G[1],Y={container:b,closeAfterTransition:g,disableAutoFocus:C,disableEnforceFocus:O,disableEscapeKeyDown:R,disablePortal:_,disableRestoreFocus:A,disableScrollLock:L,hideBackdrop:F,keepMounted:D,onBackdropClick:B,onClose:U,open:W},J=(0,Je.Z)({},s,Y,{exited:Q}),ee=null!=(r=null!=(o=null==V?void 0:V.root)?o:k.Root)?r:sa,te=null!=(i=null!=(a=null==V?void 0:V.backdrop)?a:k.Backdrop)?i:d,ne=null!=(l=null==H?void 0:H.root)?l:E.root,re=null!=(u=null==H?void 0:H.backdrop)?u:E.backdrop;return(0,lt.jsx)(ea,(0,Je.Z)({slots:{root:ee,backdrop:te},slotProps:{root:function(){return(0,Je.Z)({},ao(ne,J),!yn(ee)&&{as:w,theme:$},{className:(0,tt.Z)(h,null==ne?void 0:ne.className,null==m?void 0:m.root,!J.open&&J.exited&&(null==m?void 0:m.hidden))})},backdrop:function(){return(0,Je.Z)({},p,ao(re,J),{className:(0,tt.Z)(null==re?void 0:re.className,null==p?void 0:p.className,null==m?void 0:m.backdrop)})}},onTransitionEnter:function(){return X(!1)},onTransitionExited:function(){return X(!0)},ref:n},q,Y,{children:y}))}));function da(e){return(0,it.Z)("MuiPopover",e)}(0,ot.Z)("MuiPopover",["root","paper"]);var pa=["onEntering"],ma=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"],ha=["slotProps"];function va(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function ga(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function ya(e){return[e.horizontal,e.vertical].map((function(e){return"number"==typeof e?"".concat(e,"px"):e})).join(" ")}function ba(e){return"function"==typeof e?e():e}var wa=(0,Xe.ZP)(fa,{name:"MuiPopover",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),xa=(0,Xe.ZP)(Ft,{name:"MuiPopover",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),ka=e.forwardRef((function(t,n){var r,o,i,a=(0,rt.Z)({props:t,name:"MuiPopover"}),l=a.action,u=a.anchorEl,s=a.anchorOrigin,c=void 0===s?{vertical:"top",horizontal:"left"}:s,d=a.anchorPosition,p=a.anchorReference,m=void 0===p?"anchorEl":p,h=a.children,v=a.className,g=a.container,y=a.elevation,b=void 0===y?8:y,w=a.marginThreshold,x=void 0===w?16:w,k=a.open,S=a.PaperProps,E=void 0===S?{}:S,P=a.slots,C=a.slotProps,Z=a.transformOrigin,O=void 0===Z?{vertical:"top",horizontal:"left"}:Z,T=a.TransitionComponent,R=void 0===T?In:T,N=a.transitionDuration,_=void 0===N?"auto":N,M=a.TransitionProps,A=(void 0===M?{}:M).onEntering,j=(0,et.Z)(a.TransitionProps,pa),L=(0,et.Z)(a,ma),z=null!=(r=null==C?void 0:C.paper)?r:E,F=e.useRef(),I=(0,Mn.Z)(F,z.ref),D=(0,Je.Z)({},a,{anchorOrigin:c,anchorReference:m,elevation:b,marginThreshold:x,externalPaperSlotProps:z,transformOrigin:O,TransitionComponent:R,transitionDuration:_,TransitionProps:j}),B=function(e){var t=e.classes;return(0,nt.Z)({root:["root"],paper:["paper"]},da,t)}(D),U=e.useCallback((function(){if("anchorPosition"===m)return d;var e=ba(u),t=(e&&1===e.nodeType?e:(0,ki.Z)(F.current).body).getBoundingClientRect();return{top:t.top+va(t,c.vertical),left:t.left+ga(t,c.horizontal)}}),[u,c.horizontal,c.vertical,d,m]),W=e.useCallback((function(e){return{vertical:va(e,O.vertical),horizontal:ga(e,O.horizontal)}}),[O.horizontal,O.vertical]),H=e.useCallback((function(e){var t={width:e.offsetWidth,height:e.offsetHeight},n=W(t);if("none"===m)return{top:null,left:null,transformOrigin:ya(n)};var r=U(),o=r.top-n.vertical,i=r.left-n.horizontal,a=o+t.height,l=i+t.width,s=(0,Fi.Z)(ba(u)),c=s.innerHeight-x,f=s.innerWidth-x;if(o<x){var d=o-x;o-=d,n.vertical+=d}else if(a>c){var p=a-c;o-=p,n.vertical+=p}if(i<x){var h=i-x;i-=h,n.horizontal+=h}else if(l>f){var v=l-f;i-=v,n.horizontal+=v}return{top:"".concat(Math.round(o),"px"),left:"".concat(Math.round(i),"px"),transformOrigin:ya(n)}}),[u,m,U,W,x]),V=e.useState(k),$=(0,f.Z)(V,2),q=$[0],K=$[1],G=e.useCallback((function(){var e=F.current;if(e){var t=H(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,K(!0)}}),[H]);e.useEffect((function(){k&&G()})),e.useImperativeHandle(l,(function(){return k?{updatePosition:function(){G()}}:null}),[k,G]),e.useEffect((function(){if(k){var e=(0,zi.Z)((function(){G()})),t=(0,Fi.Z)(u);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}}}),[u,k,G]);var Q=_;"auto"!==_||R.muiSupportAuto||(Q=void 0);var X=g||(u?(0,ki.Z)(ba(u)).body:void 0),Y=null!=(o=null==P?void 0:P.root)?o:wa,J=null!=(i=null==P?void 0:P.paper)?i:xa,ee=uo({elementType:J,externalSlotProps:(0,Je.Z)({},z,{style:q?z.style:(0,Je.Z)({},z.style,{opacity:0})}),additionalProps:{elevation:b,ref:I},ownerState:D,className:(0,tt.Z)(B.paper,null==z?void 0:z.className)}),te=uo({elementType:Y,externalSlotProps:(null==C?void 0:C.root)||{},externalForwardedProps:L,additionalProps:{ref:n,slotProps:{backdrop:{invisible:!0}},container:X,open:k},ownerState:D,className:(0,tt.Z)(B.root,v)}),ne=te.slotProps,re=(0,et.Z)(te,ha);return(0,lt.jsx)(Y,(0,Je.Z)({},re,!yn(Y)&&{slotProps:ne},{children:(0,lt.jsx)(R,(0,Je.Z)({appear:!0,in:k,onEntering:function(e,t){A&&A(e,t),G()},onExited:function(){K(!1)},timeout:Q},j,{children:(0,lt.jsx)(J,(0,Je.Z)({},ee,{children:h}))}))}))})),Sa=ka;function Ea(e){return(0,it.Z)("MuiMenu",e)}(0,ot.Z)("MuiMenu",["root","paper","list"]);var Pa=["onEntering"],Ca=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],Za={vertical:"top",horizontal:"right"},Oa={vertical:"top",horizontal:"left"},Ta=(0,Xe.ZP)(Sa,{shouldForwardProp:function(e){return(0,Xe.FO)(e)||"classes"===e},name:"MuiMenu",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),Ra=(0,Xe.ZP)(xa,{name:"MuiMenu",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Na=(0,Xe.ZP)(Li,{name:"MuiMenu",slot:"List",overridesResolver:function(e,t){return t.list}})({outline:0}),_a=e.forwardRef((function(t,n){var r=(0,rt.Z)({props:t,name:"MuiMenu"}),o=r.autoFocus,i=void 0===o||o,a=r.children,l=r.disableAutoFocusItem,u=void 0!==l&&l,s=r.MenuListProps,c=void 0===s?{}:s,f=r.onClose,d=r.open,p=r.PaperProps,m=void 0===p?{}:p,h=r.PopoverClasses,v=r.transitionDuration,g=void 0===v?"auto":v,y=r.TransitionProps,b=(void 0===y?{}:y).onEntering,w=r.variant,x=void 0===w?"selectedMenu":w,k=(0,et.Z)(r.TransitionProps,Pa),S=(0,et.Z)(r,Ca),E=Jt(),P="rtl"===E.direction,C=(0,Je.Z)({},r,{autoFocus:i,disableAutoFocusItem:u,MenuListProps:c,onEntering:b,PaperProps:m,transitionDuration:g,TransitionProps:k,variant:x}),Z=function(e){var t=e.classes;return(0,nt.Z)({root:["root"],paper:["paper"],list:["list"]},Ea,t)}(C),O=i&&!u&&d,T=e.useRef(null),R=-1;return e.Children.map(a,(function(t,n){e.isValidElement(t)&&(t.props.disabled||("selectedMenu"===x&&t.props.selected||-1===R)&&(R=n))})),(0,lt.jsx)(Ta,(0,Je.Z)({onClose:f,anchorOrigin:{vertical:"bottom",horizontal:P?"right":"left"},transformOrigin:P?Za:Oa,slots:{paper:Ra},slotProps:{paper:(0,Je.Z)({},m,{classes:(0,Je.Z)({},m.classes,{root:Z.paper})})},className:Z.root,open:d,ref:n,transitionDuration:g,TransitionProps:(0,Je.Z)({onEntering:function(e,t){T.current&&T.current.adjustStyleForScrollbar(e,E),b&&b(e,t)}},k),ownerState:C},S,{classes:h,children:(0,lt.jsx)(Na,(0,Je.Z)({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),f&&f(e,"tabKeyDown"))},actions:T,autoFocus:i&&(-1===R||u),autoFocusItem:O,variant:x},c,{className:(0,tt.Z)(Z.list,c.className),children:a}))}))})),Ma=(0,ot.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Aa=(0,ot.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]),ja=(0,ot.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function La(e){return(0,it.Z)("MuiMenuItem",e)}var za=(0,ot.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Fa=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],Ia=(0,Xe.ZP)(vi,{shouldForwardProp:function(e){return(0,Xe.FO)(e)||"classes"===e},name:"MuiMenuItem",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Je.Z)({},n.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!r.disableGutters&&{paddingLeft:16,paddingRight:16},r.divider&&{borderBottom:"1px solid ".concat((n.vars||n).palette.divider),backgroundClip:"padding-box"},(t={"&:hover":{textDecoration:"none",backgroundColor:(n.vars||n).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},(0,Qt.Z)(t,"&.".concat(za.selected),(0,Qt.Z)({backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,Mt.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)},"&.".concat(za.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,Mt.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)})),(0,Qt.Z)(t,"&.".concat(za.selected,":hover"),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,Mt.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,Mt.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)}}),(0,Qt.Z)(t,"&.".concat(za.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,Qt.Z)(t,"&.".concat(za.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),(0,Qt.Z)(t,"& + .".concat(Ma.root),{marginTop:n.spacing(1),marginBottom:n.spacing(1)}),(0,Qt.Z)(t,"& + .".concat(Ma.inset),{marginLeft:52}),(0,Qt.Z)(t,"& .".concat(ja.root),{marginTop:0,marginBottom:0}),(0,Qt.Z)(t,"& .".concat(ja.inset),{paddingLeft:36}),(0,Qt.Z)(t,"& .".concat(Aa.root),{minWidth:36}),t),!r.dense&&(0,Qt.Z)({},n.breakpoints.up("sm"),{minHeight:"auto"}),r.dense&&(0,Je.Z)({minHeight:32,paddingTop:4,paddingBottom:4},n.typography.body2,(0,Qt.Z)({},"& .".concat(Aa.root," svg"),{fontSize:"1.25rem"})))})),Da=e.forwardRef((function(t,n){var r=(0,rt.Z)({props:t,name:"MuiMenuItem"}),o=r.autoFocus,i=void 0!==o&&o,a=r.component,l=void 0===a?"li":a,u=r.dense,s=void 0!==u&&u,c=r.divider,f=void 0!==c&&c,d=r.disableGutters,p=void 0!==d&&d,m=r.focusVisibleClassName,h=r.role,v=void 0===h?"menuitem":h,g=r.tabIndex,y=r.className,b=(0,et.Z)(r,Fa),w=e.useContext(Si),x=e.useMemo((function(){return{dense:s||w.dense||!1,disableGutters:p}}),[w.dense,s,p]),k=e.useRef(null);(0,Ri.Z)((function(){i&&k.current&&k.current.focus()}),[i]);var S,E=(0,Je.Z)({},r,{dense:x.dense,divider:f,disableGutters:p}),P=function(e){var t=e.disabled,n=e.dense,r=e.divider,o=e.disableGutters,i=e.selected,a=e.classes,l={root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},u=(0,nt.Z)(l,La,a);return(0,Je.Z)({},a,u)}(r),C=(0,Mn.Z)(k,n);return r.disabled||(S=void 0!==g?g:-1),(0,lt.jsx)(Si.Provider,{value:x,children:(0,lt.jsx)(Ia,(0,Je.Z)({ref:C,role:v,tabIndex:S,component:l,focusVisibleClassName:(0,tt.Z)(P.focusVisible,m),className:(0,tt.Z)(P.root,y)},b,{ownerState:E,classes:P}))})})),Ba=(0,fn.Z)((0,lt.jsx)("path",{d:"M4.59 6.89c.7-.71 1.4-1.35 1.71-1.22.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1H21v-2.5h-2.47c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3 5.12 3 3.97 4 3.72 4.25c-.36.36-.66.66-.88.93l1.75 1.71zm9.29 11.66c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48z"}),"Gesture"),Ua=(0,fn.Z)((0,lt.jsx)("path",{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"ControlPoint"),Wa=(0,fn.Z)((0,lt.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"}),"Clear"),Ha=n(5860),Va=[{icon:Ba,command:"⇧ + Click",description:"Add new intersection"},{icon:Ba,command:"⇧ + Drag",description:"Add new road"},{icon:Ua,command:"Ctrl + Click (on lanes)",description:"Add new car"},{icon:Ua,command:"Alt + Click (on intersections)",description:"Add new point to track path"},{icon:Wa,command:"Alt + Click (everywhere except intersections)",description:"Remove last point from track path"},{icon:Ba,command:"Alt + S",description:"Save and draw track path"},{icon:vn,command:"Alt + C",description:"Send path to pathFinder, draw path, and start car"},{icon:vn,command:"Alt + G",description:"Ask the shortest path based on road length and draw path"}],$a=function(){var t=(0,e.useState)(null),n=(0,f.Z)(t,2),r=n[0],o=n[1],i={display:"flex",alignItems:"center",position:"relative",paddingRight:"25px",borderLeft:"2px solid #ccc",height:"100%"},a={},l={fontSize:"13px",fontWeight:"bold"};return(0,lt.jsxs)(lt.Fragment,{children:[(0,lt.jsx)(zo,{title:"Legend",children:(0,lt.jsx)(xi,{onClick:function(e){o(e.currentTarget)},children:(0,lt.jsx)(Ha.Z,{})})}),(0,lt.jsx)(_a,{anchorEl:r,open:Boolean(r),onClose:function(){o(null)},anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},children:Va.map((function(t,n){return(0,lt.jsxs)(Da,{sx:i,children:[e.createElement(t.icon,{sx:{marginRight:"10px"}}),(0,lt.jsxs)("div",{children:[(0,lt.jsx)("div",{style:a,children:t.command}),(0,lt.jsx)("div",{style:l,children:t.description})]})]},n)}))})]})},qa=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===(0,s.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return c(e)}(this,n)}}(n);function n(e){var o;return r(this,n),(o=t.call(this,e)).state={carsNumber:0},o}return a(n,[{key:"componentDidMount",value:function(){var e=this;this.timer=setInterval((function(){if(void 0!==window.world){var t=Object.keys(window.world.cars.objects).length;e.setState({carsNumber:t})}}),1e3)}},{key:"componentWillUnmount",value:function(){clearInterval(this.timer)}},{key:"render",value:function(){return(0,lt.jsxs)("div",{className:"App",children:[(0,lt.jsx)("header",{className:"App-header",children:(0,lt.jsx)("h3",{style:{textAlign:"center"},children:"Smart Traffic Simulator"})}),(0,lt.jsx)(Zt,{children:(0,lt.jsxs)(cn,{container:!0,children:[(0,lt.jsx)(cn,{item:!0,xs:10,children:(0,lt.jsx)("canvas",{id:"canvas",style:{top:0,left:0,width:"100%",height:.87*window.innerHeight+"px",display:"block"}})}),(0,lt.jsxs)(cn,{item:!0,xs:2,padding:1,children:[(0,lt.jsx)(cn,{item:!0,xs:12,children:(0,lt.jsx)("div",{id:"gui-container",style:{height:.6*window.innerHeight+"px",overflowY:"auto",overflowX:"hidden"},children:(0,lt.jsx)("div",{id:"gui"})})}),(0,lt.jsx)(gn,{})]}),(0,lt.jsx)(_t,{}),(0,lt.jsx)($a,{})]})})]})}}]),n}(e.Component);t.createRoot(document.getElementById("root")).render((0,lt.jsx)(e.StrictMode,{children:(0,lt.jsx)(qa,{})})),function(e){e&&e instanceof Function&&n.e(787).then(n.bind(n,787)).then((function(t){var n=t.getCLS,r=t.getFID,o=t.getFCP,i=t.getLCP,a=t.getTTFB;n(e),r(e),o(e),i(e),a(e)}))}()}()}()</script></body></html>