Changeset 3330882
- Timestamp:
- 07/20/2025 10:51:11 AM (9 months ago)
- Location:
- smart-prefetch
- Files:
-
- 1 added
- 5 edited
- 10 copied
-
tags/1.2.0 (added)
-
tags/1.2.0/admin (copied) (copied from smart-prefetch/trunk/admin)
-
tags/1.2.0/admin/js/index.umd.js (copied) (copied from smart-prefetch/trunk/admin/js/index.umd.js) (13 diffs)
-
tags/1.2.0/assets (copied) (copied from smart-prefetch/trunk/assets)
-
tags/1.2.0/autoload.php (copied) (copied from smart-prefetch/trunk/autoload.php) (1 diff)
-
tags/1.2.0/inc (copied) (copied from smart-prefetch/trunk/inc)
-
tags/1.2.0/inc/tab_init.php (copied) (copied from smart-prefetch/trunk/inc/tab_init.php) (1 diff)
-
tags/1.2.0/index.php (copied) (copied from smart-prefetch/trunk/index.php)
-
tags/1.2.0/readme.txt (copied) (copied from smart-prefetch/trunk/readme.txt) (3 diffs)
-
tags/1.2.0/smart-prefetch.php (copied) (copied from smart-prefetch/trunk/smart-prefetch.php) (1 diff)
-
tags/1.2.0/uninstall.php (copied) (copied from smart-prefetch/trunk/uninstall.php)
-
trunk/admin/js/index.umd.js (modified) (13 diffs)
-
trunk/autoload.php (modified) (1 diff)
-
trunk/inc/tab_init.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/smart-prefetch.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
smart-prefetch/tags/1.2.0/admin/js/index.umd.js
r3326813 r3330882 1 (function( er,mt){typeof exports=="object"&&typeof module<"u"?mt(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],mt):(er=typeof globalThis<"u"?globalThis:er||self,mt(er.SmartPrefetchWordPress={},er.React,er.ReactDOM))})(this,function(er,mt,rn){"use strict";function Lc(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const O=Lc(mt);function rr(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function i(){return this instanceof i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(i){var s=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(n,i,s.get?s:{enumerable:!0,get:function(){return t[i]}})}),n}var Cs={exports:{}},Bn={};/**1 (function(wr,St){typeof exports=="object"&&typeof module<"u"?St(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],St):(wr=typeof globalThis<"u"?globalThis:wr||self,St(wr.SmartPrefetchWordPress={},wr.React,wr.ReactDOM))})(this,function(wr,St,Vr){"use strict";function Aa(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const M=Aa(St),yp=Aa(Vr);function Sr(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function o(){return this instanceof o?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(o){var s=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,s.get?s:{enumerable:!0,get:function(){return t[o]}})}),n}var Oa={exports:{}},Ro={};/** 2 2 * @license React 3 3 * react-jsx-runtime.production.min.js … … 7 7 * This source code is licensed under the MIT license found in the 8 8 * LICENSE file in the root directory of this source tree. 9 */var Wc=mt,Uc=Symbol.for("react.element"),Vc=Symbol.for("react.fragment"),Hc=Object.prototype.hasOwnProperty,Gc=Wc.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Kc={key:!0,ref:!0,__self:!0,__source:!0};function ks(t,e,n){var i,s={},l=null,c=null;n!==void 0&&(l=""+n),e.key!==void 0&&(l=""+e.key),e.ref!==void 0&&(c=e.ref);for(i in e)Hc.call(e,i)&&!Kc.hasOwnProperty(i)&&(s[i]=e[i]);if(t&&t.defaultProps)for(i in e=t.defaultProps,e)s[i]===void 0&&(s[i]=e[i]);return{$$typeof:Uc,type:t,key:l,ref:c,props:s,_owner:Gc.current}}Bn.Fragment=Vc,Bn.jsx=ks,Bn.jsxs=ks,Cs.exports=Bn;var B=Cs.exports,pi={},Rs=rn;pi.createRoot=Rs.createRoot,pi.hydrateRoot=Rs.hydrateRoot;const nn={black:"#000",white:"#fff"},Sr={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"},wr={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"},Cr={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"},kr={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"},Rr={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"},on={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"},qc={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"};function sn(t){let e="https://mui.com/production-error/?code="+t;for(let n=1;n<arguments.length;n+=1)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+t+"; visit "+e+" for the full message."}const Yc=Object.freeze(Object.defineProperty({__proto__:null,default:sn},Symbol.toStringTag,{value:"Module"})),Tr="$$material";function k(){return k=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},k.apply(null,arguments)}function nt(t,e){if(t==null)return{};var n={};for(var i in t)if({}.hasOwnProperty.call(t,i)){if(e.indexOf(i)!==-1)continue;n[i]=t[i]}return n}var Xc=!1;function Zc(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function Jc(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var Qc=function(){function t(n){var i=this;this._insertTag=function(s){var l;i.tags.length===0?i.insertionPoint?l=i.insertionPoint.nextSibling:i.prepend?l=i.container.firstChild:l=i.before:l=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(s,l),i.tags.push(s)},this.isSpeedy=n.speedy===void 0?!Xc:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(i){i.forEach(this._insertTag)},e.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Jc(this));var s=this.tags[this.tags.length-1];if(this.isSpeedy){var l=Zc(s);try{l.insertRule(i,l.cssRules.length)}catch{}}else s.appendChild(document.createTextNode(i));this.ctr++},e.flush=function(){this.tags.forEach(function(i){var s;return(s=i.parentNode)==null?void 0:s.removeChild(i)}),this.tags=[],this.ctr=0},t}(),ee="-ms-",zn="-moz-",St="-webkit-",Ts="comm",di="rule",fi="decl",tu="@import",Es="@keyframes",eu="@layer",ru=Math.abs,Nn=String.fromCharCode,nu=Object.assign;function ou(t,e){return te(t,0)^45?(((e<<2^te(t,0))<<2^te(t,1))<<2^te(t,2))<<2^te(t,3):0}function js(t){return t.trim()}function iu(t,e){return(t=e.exec(t))?t[0]:t}function wt(t,e,n){return t.replace(e,n)}function hi(t,e){return t.indexOf(e)}function te(t,e){return t.charCodeAt(e)|0}function an(t,e,n){return t.slice(e,n)}function Be(t){return t.length}function yi(t){return t.length}function _n(t,e){return e.push(t),t}function su(t,e){return t.map(e).join("")}var Fn=1,Er=1,$s=0,ie=0,Kt=0,jr="";function Dn(t,e,n,i,s,l,c){return{value:t,root:e,parent:n,type:i,props:s,children:l,line:Fn,column:Er,length:c,return:""}}function ln(t,e){return nu(Dn("",null,null,"",null,null,0),t,{length:-t.length},e)}function au(){return Kt}function lu(){return Kt=ie>0?te(jr,--ie):0,Er--,Kt===10&&(Er=1,Fn--),Kt}function ae(){return Kt=ie<$s?te(jr,ie++):0,Er++,Kt===10&&(Er=1,Fn++),Kt}function ze(){return te(jr,ie)}function Ln(){return ie}function cn(t,e){return an(jr,t,e)}function un(t){switch(t){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 Ms(t){return Fn=Er=1,$s=Be(jr=t),ie=0,[]}function As(t){return jr="",t}function Wn(t){return js(cn(ie-1,gi(t===91?t+2:t===40?t+1:t)))}function cu(t){for(;(Kt=ze())&&Kt<33;)ae();return un(t)>2||un(Kt)>3?"":" "}function uu(t,e){for(;--e&&ae()&&!(Kt<48||Kt>102||Kt>57&&Kt<65||Kt>70&&Kt<97););return cn(t,Ln()+(e<6&&ze()==32&&ae()==32))}function gi(t){for(;ae();)switch(Kt){case t:return ie;case 34:case 39:t!==34&&t!==39&&gi(Kt);break;case 40:t===41&&gi(t);break;case 92:ae();break}return ie}function pu(t,e){for(;ae()&&t+Kt!==47+10;)if(t+Kt===42+42&&ze()===47)break;return"/*"+cn(e,ie-1)+"*"+Nn(t===47?t:ae())}function du(t){for(;!un(ze());)ae();return cn(t,ie)}function fu(t){return As(Un("",null,null,null,[""],t=Ms(t),0,[0],t))}function Un(t,e,n,i,s,l,c,d,f){for(var g=0,x=0,T=c,m=0,M=0,R=0,E=1,A=1,h=1,$=0,z="",D=s,L=l,U=i,C=z;A;)switch(R=$,$=ae()){case 40:if(R!=108&&te(C,T-1)==58){hi(C+=wt(Wn($),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:C+=Wn($);break;case 9:case 10:case 13:case 32:C+=cu(R);break;case 92:C+=uu(Ln()-1,7);continue;case 47:switch(ze()){case 42:case 47:_n(hu(pu(ae(),Ln()),e,n),f);break;default:C+="/"}break;case 123*E:d[g++]=Be(C)*h;case 125*E:case 59:case 0:switch($){case 0:case 125:A=0;case 59+x:h==-1&&(C=wt(C,/\f/g,"")),M>0&&Be(C)-T&&_n(M>32?Os(C+";",i,n,T-1):Os(wt(C," ","")+";",i,n,T-2),f);break;case 59:C+=";";default:if(_n(U=Ps(C,e,n,g,x,s,d,z,D=[],L=[],T),l),$===123)if(x===0)Un(C,e,U,U,D,l,T,d,L);else switch(m===99&&te(C,3)===110?100:m){case 100:case 108:case 109:case 115:Un(t,U,U,i&&_n(Ps(t,U,U,0,0,s,d,z,s,D=[],T),L),s,L,T,d,i?D:L);break;default:Un(C,U,U,U,[""],L,0,d,L)}}g=x=M=0,E=h=1,z=C="",T=c;break;case 58:T=1+Be(C),M=R;default:if(E<1){if($==123)--E;else if($==125&&E++==0&&lu()==125)continue}switch(C+=Nn($),$*E){case 38:h=x>0?1:(C+="\f",-1);break;case 44:d[g++]=(Be(C)-1)*h,h=1;break;case 64:ze()===45&&(C+=Wn(ae())),m=ze(),x=T=Be(z=C+=du(Ln())),$++;break;case 45:R===45&&Be(C)==2&&(E=0)}}return l}function Ps(t,e,n,i,s,l,c,d,f,g,x){for(var T=s-1,m=s===0?l:[""],M=yi(m),R=0,E=0,A=0;R<i;++R)for(var h=0,$=an(t,T+1,T=ru(E=c[R])),z=t;h<M;++h)(z=js(E>0?m[h]+" "+$:wt($,/&\f/g,m[h])))&&(f[A++]=z);return Dn(t,e,n,s===0?di:d,f,g,x)}function hu(t,e,n){return Dn(t,e,n,Ts,Nn(au()),an(t,2,-2),0)}function Os(t,e,n,i){return Dn(t,e,n,fi,an(t,0,i),an(t,i+1,-1),i)}function $r(t,e){for(var n="",i=yi(t),s=0;s<i;s++)n+=e(t[s],s,t,e)||"";return n}function yu(t,e,n,i){switch(t.type){case eu:if(t.children.length)break;case tu:case fi:return t.return=t.return||t.value;case Ts:return"";case Es:return t.return=t.value+"{"+$r(t.children,i)+"}";case di:t.value=t.props.join(",")}return Be(n=$r(t.children,i))?t.return=t.value+"{"+n+"}":""}function gu(t){var e=yi(t);return function(n,i,s,l){for(var c="",d=0;d<e;d++)c+=t[d](n,i,s,l)||"";return c}}function mu(t){return function(e){e.root||(e=e.return)&&t(e)}}function Is(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var bu=function(e,n,i){for(var s=0,l=0;s=l,l=ze(),s===38&&l===12&&(n[i]=1),!un(l);)ae();return cn(e,ie)},vu=function(e,n){var i=-1,s=44;do switch(un(s)){case 0:s===38&&ze()===12&&(n[i]=1),e[i]+=bu(ie-1,n,i);break;case 2:e[i]+=Wn(s);break;case 4:if(s===44){e[++i]=ze()===58?"&\f":"",n[i]=e[i].length;break}default:e[i]+=Nn(s)}while(s=ae());return e},xu=function(e,n){return As(vu(Ms(e),n))},Bs=new WeakMap,Su=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var n=e.value,i=e.parent,s=e.column===i.column&&e.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(e.props.length===1&&n.charCodeAt(0)!==58&&!Bs.get(i))&&!s){Bs.set(e,!0);for(var l=[],c=xu(n,l),d=i.props,f=0,g=0;f<c.length;f++)for(var x=0;x<d.length;x++,g++)e.props[g]=l[f]?c[f].replace(/&\f/g,d[x]):d[x]+" "+c[f]}}},wu=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}};function zs(t,e){switch(ou(t,e)){case 5103:return St+"print-"+t+t;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 St+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return St+t+zn+t+ee+t+t;case 6828:case 4268:return St+t+ee+t+t;case 6165:return St+t+ee+"flex-"+t+t;case 5187:return St+t+wt(t,/(\w+).+(:[^]+)/,St+"box-$1$2"+ee+"flex-$1$2")+t;case 5443:return St+t+ee+"flex-item-"+wt(t,/flex-|-self/,"")+t;case 4675:return St+t+ee+"flex-line-pack"+wt(t,/align-content|flex-|-self/,"")+t;case 5548:return St+t+ee+wt(t,"shrink","negative")+t;case 5292:return St+t+ee+wt(t,"basis","preferred-size")+t;case 6060:return St+"box-"+wt(t,"-grow","")+St+t+ee+wt(t,"grow","positive")+t;case 4554:return St+wt(t,/([^-])(transform)/g,"$1"+St+"$2")+t;case 6187:return wt(wt(wt(t,/(zoom-|grab)/,St+"$1"),/(image-set)/,St+"$1"),t,"")+t;case 5495:case 3959:return wt(t,/(image-set\([^]*)/,St+"$1$`$1");case 4968:return wt(wt(t,/(.+:)(flex-)?(.*)/,St+"box-pack:$3"+ee+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+St+t+t;case 4095:case 3583:case 4068:case 2532:return wt(t,/(.+)-inline(.+)/,St+"$1$2")+t;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(Be(t)-1-e>6)switch(te(t,e+1)){case 109:if(te(t,e+4)!==45)break;case 102:return wt(t,/(.+:)(.+)-([^]+)/,"$1"+St+"$2-$3$1"+zn+(te(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~hi(t,"stretch")?zs(wt(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(te(t,e+1)!==115)break;case 6444:switch(te(t,Be(t)-3-(~hi(t,"!important")&&10))){case 107:return wt(t,":",":"+St)+t;case 101:return wt(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+St+(te(t,14)===45?"inline-":"")+"box$3$1"+St+"$2$3$1"+ee+"$2box$3")+t}break;case 5936:switch(te(t,e+11)){case 114:return St+t+ee+wt(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return St+t+ee+wt(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return St+t+ee+wt(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return St+t+ee+t+t}return t}var Cu=function(e,n,i,s){if(e.length>-1&&!e.return)switch(e.type){case fi:e.return=zs(e.value,e.length);break;case Es:return $r([ln(e,{value:wt(e.value,"@","@"+St)})],s);case di:if(e.length)return su(e.props,function(l){switch(iu(l,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return $r([ln(e,{props:[wt(l,/:(read-\w+)/,":"+zn+"$1")]})],s);case"::placeholder":return $r([ln(e,{props:[wt(l,/:(plac\w+)/,":"+St+"input-$1")]}),ln(e,{props:[wt(l,/:(plac\w+)/,":"+zn+"$1")]}),ln(e,{props:[wt(l,/:(plac\w+)/,ee+"input-$1")]})],s)}return""})}},ku=[Cu],Ns=function(e){var n=e.key;if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(E){var A=E.getAttribute("data-emotion");A.indexOf(" ")!==-1&&(document.head.appendChild(E),E.setAttribute("data-s",""))})}var s=e.stylisPlugins||ku,l={},c,d=[];c=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(E){for(var A=E.getAttribute("data-emotion").split(" "),h=1;h<A.length;h++)l[A[h]]=!0;d.push(E)});var f,g=[Su,wu];{var x,T=[yu,mu(function(E){x.insert(E)})],m=gu(g.concat(s,T)),M=function(A){return $r(fu(A),m)};f=function(A,h,$,z){x=$,M(A?A+"{"+h.styles+"}":h.styles),z&&(R.inserted[h.name]=!0)}}var R={key:n,sheet:new Qc({key:n,container:c,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:l,registered:{},insert:f};return R.sheet.hydrate(d),R},_s={exports:{}},Rt={};/** @license React v16.13.19 */var mp=St,bp=Symbol.for("react.element"),vp=Symbol.for("react.fragment"),xp=Object.prototype.hasOwnProperty,wp=mp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Sp={key:!0,ref:!0,__self:!0,__source:!0};function Ia(t,e,n){var o,s={},a=null,c=null;n!==void 0&&(a=""+n),e.key!==void 0&&(a=""+e.key),e.ref!==void 0&&(c=e.ref);for(o in e)xp.call(e,o)&&!Sp.hasOwnProperty(o)&&(s[o]=e[o]);if(t&&t.defaultProps)for(o in e=t.defaultProps,e)s[o]===void 0&&(s[o]=e[o]);return{$$typeof:bp,type:t,key:a,ref:c,props:s,_owner:wp.current}}Ro.Fragment=vp,Ro.jsx=Ia,Ro.jsxs=Ia,Oa.exports=Ro;var F=Oa.exports,cs={},Ba=Vr;cs.createRoot=Ba.createRoot,cs.hydrateRoot=Ba.hydrateRoot;const In={black:"#000",white:"#fff"},Kr={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"},Yr={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"},qr={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"},Xr={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"},Jr={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"},Bn={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"},Cp={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"};function Fn(t){let e="https://mui.com/production-error/?code="+t;for(let n=1;n<arguments.length;n+=1)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+t+"; visit "+e+" for the full message."}const Rp=Object.freeze(Object.defineProperty({__proto__:null,default:Fn},Symbol.toStringTag,{value:"Module"})),Zr="$$material";function T(){return T=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},T.apply(null,arguments)}function at(t,e){if(t==null)return{};var n={};for(var o in t)if({}.hasOwnProperty.call(t,o)){if(e.indexOf(o)!==-1)continue;n[o]=t[o]}return n}var Ep=!1;function Tp(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function kp(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var jp=function(){function t(n){var o=this;this._insertTag=function(s){var a;o.tags.length===0?o.insertionPoint?a=o.insertionPoint.nextSibling:o.prepend?a=o.container.firstChild:a=o.before:a=o.tags[o.tags.length-1].nextSibling,o.container.insertBefore(s,a),o.tags.push(s)},this.isSpeedy=n.speedy===void 0?!Ep:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(o){o.forEach(this._insertTag)},e.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(kp(this));var s=this.tags[this.tags.length-1];if(this.isSpeedy){var a=Tp(s);try{a.insertRule(o,a.cssRules.length)}catch{}}else s.appendChild(document.createTextNode(o));this.ctr++},e.flush=function(){this.tags.forEach(function(o){var s;return(s=o.parentNode)==null?void 0:s.removeChild(o)}),this.tags=[],this.ctr=0},t}(),Se="-ms-",Eo="-moz-",Mt="-webkit-",Fa="comm",us="rule",ps="decl",Pp="@import",za="@keyframes",$p="@layer",Mp=Math.abs,To=String.fromCharCode,Ap=Object.assign;function Op(t,e){return ge(t,0)^45?(((e<<2^ge(t,0))<<2^ge(t,1))<<2^ge(t,2))<<2^ge(t,3):0}function Da(t){return t.trim()}function Ip(t,e){return(t=e.exec(t))?t[0]:t}function At(t,e,n){return t.replace(e,n)}function ds(t,e){return t.indexOf(e)}function ge(t,e){return t.charCodeAt(e)|0}function zn(t,e,n){return t.slice(e,n)}function cr(t){return t.length}function fs(t){return t.length}function ko(t,e){return e.push(t),t}function Bp(t,e){return t.map(e).join("")}var jo=1,Qr=1,Na=0,je=0,ne=0,tn="";function Po(t,e,n,o,s,a,c){return{value:t,root:e,parent:n,type:o,props:s,children:a,line:jo,column:Qr,length:c,return:""}}function Dn(t,e){return Ap(Po("",null,null,"",null,null,0),t,{length:-t.length},e)}function Fp(){return ne}function zp(){return ne=je>0?ge(tn,--je):0,Qr--,ne===10&&(Qr=1,jo--),ne}function Ie(){return ne=je<Na?ge(tn,je++):0,Qr++,ne===10&&(Qr=1,jo++),ne}function ur(){return ge(tn,je)}function $o(){return je}function Nn(t,e){return zn(tn,t,e)}function _n(t){switch(t){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 _a(t){return jo=Qr=1,Na=cr(tn=t),je=0,[]}function La(t){return tn="",t}function Mo(t){return Da(Nn(je-1,hs(t===91?t+2:t===40?t+1:t)))}function Dp(t){for(;(ne=ur())&&ne<33;)Ie();return _n(t)>2||_n(ne)>3?"":" "}function Np(t,e){for(;--e&&Ie()&&!(ne<48||ne>102||ne>57&&ne<65||ne>70&&ne<97););return Nn(t,$o()+(e<6&&ur()==32&&Ie()==32))}function hs(t){for(;Ie();)switch(ne){case t:return je;case 34:case 39:t!==34&&t!==39&&hs(ne);break;case 40:t===41&&hs(t);break;case 92:Ie();break}return je}function _p(t,e){for(;Ie()&&t+ne!==47+10;)if(t+ne===42+42&&ur()===47)break;return"/*"+Nn(e,je-1)+"*"+To(t===47?t:Ie())}function Lp(t){for(;!_n(ur());)Ie();return Nn(t,je)}function Wp(t){return La(Ao("",null,null,null,[""],t=_a(t),0,[0],t))}function Ao(t,e,n,o,s,a,c,p,d){for(var g=0,m=0,S=c,y=0,j=0,k=0,E=1,A=1,h=1,P=0,D="",I=s,z=a,N=o,x=D;A;)switch(k=P,P=Ie()){case 40:if(k!=108&&ge(x,S-1)==58){ds(x+=At(Mo(P),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:x+=Mo(P);break;case 9:case 10:case 13:case 32:x+=Dp(k);break;case 92:x+=Np($o()-1,7);continue;case 47:switch(ur()){case 42:case 47:ko(Up(_p(Ie(),$o()),e,n),d);break;default:x+="/"}break;case 123*E:p[g++]=cr(x)*h;case 125*E:case 59:case 0:switch(P){case 0:case 125:A=0;case 59+m:h==-1&&(x=At(x,/\f/g,"")),j>0&&cr(x)-S&&ko(j>32?Ua(x+";",o,n,S-1):Ua(At(x," ","")+";",o,n,S-2),d);break;case 59:x+=";";default:if(ko(N=Wa(x,e,n,g,m,s,p,D,I=[],z=[],S),a),P===123)if(m===0)Ao(x,e,N,N,I,a,S,p,z);else switch(y===99&&ge(x,3)===110?100:y){case 100:case 108:case 109:case 115:Ao(t,N,N,o&&ko(Wa(t,N,N,0,0,s,p,D,s,I=[],S),z),s,z,S,p,o?I:z);break;default:Ao(x,N,N,N,[""],z,0,p,z)}}g=m=j=0,E=h=1,D=x="",S=c;break;case 58:S=1+cr(x),j=k;default:if(E<1){if(P==123)--E;else if(P==125&&E++==0&&zp()==125)continue}switch(x+=To(P),P*E){case 38:h=m>0?1:(x+="\f",-1);break;case 44:p[g++]=(cr(x)-1)*h,h=1;break;case 64:ur()===45&&(x+=Mo(Ie())),y=ur(),m=S=cr(D=x+=Lp($o())),P++;break;case 45:k===45&&cr(x)==2&&(E=0)}}return a}function Wa(t,e,n,o,s,a,c,p,d,g,m){for(var S=s-1,y=s===0?a:[""],j=fs(y),k=0,E=0,A=0;k<o;++k)for(var h=0,P=zn(t,S+1,S=Mp(E=c[k])),D=t;h<j;++h)(D=Da(E>0?y[h]+" "+P:At(P,/&\f/g,y[h])))&&(d[A++]=D);return Po(t,e,n,s===0?us:p,d,g,m)}function Up(t,e,n){return Po(t,e,n,Fa,To(Fp()),zn(t,2,-2),0)}function Ua(t,e,n,o){return Po(t,e,n,ps,zn(t,0,o),zn(t,o+1,-1),o)}function en(t,e){for(var n="",o=fs(t),s=0;s<o;s++)n+=e(t[s],s,t,e)||"";return n}function Hp(t,e,n,o){switch(t.type){case $p:if(t.children.length)break;case Pp:case ps:return t.return=t.return||t.value;case Fa:return"";case za:return t.return=t.value+"{"+en(t.children,o)+"}";case us:t.value=t.props.join(",")}return cr(n=en(t.children,o))?t.return=t.value+"{"+n+"}":""}function Gp(t){var e=fs(t);return function(n,o,s,a){for(var c="",p=0;p<e;p++)c+=t[p](n,o,s,a)||"";return c}}function Vp(t){return function(e){e.root||(e=e.return)&&t(e)}}function Ha(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var Kp=function(e,n,o){for(var s=0,a=0;s=a,a=ur(),s===38&&a===12&&(n[o]=1),!_n(a);)Ie();return Nn(e,je)},Yp=function(e,n){var o=-1,s=44;do switch(_n(s)){case 0:s===38&&ur()===12&&(n[o]=1),e[o]+=Kp(je-1,n,o);break;case 2:e[o]+=Mo(s);break;case 4:if(s===44){e[++o]=ur()===58?"&\f":"",n[o]=e[o].length;break}default:e[o]+=To(s)}while(s=Ie());return e},qp=function(e,n){return La(Yp(_a(e),n))},Ga=new WeakMap,Xp=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var n=e.value,o=e.parent,s=e.column===o.column&&e.line===o.line;o.type!=="rule";)if(o=o.parent,!o)return;if(!(e.props.length===1&&n.charCodeAt(0)!==58&&!Ga.get(o))&&!s){Ga.set(e,!0);for(var a=[],c=qp(n,a),p=o.props,d=0,g=0;d<c.length;d++)for(var m=0;m<p.length;m++,g++)e.props[g]=a[d]?c[d].replace(/&\f/g,p[m]):p[m]+" "+c[d]}}},Jp=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}};function Va(t,e){switch(Op(t,e)){case 5103:return Mt+"print-"+t+t;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 Mt+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return Mt+t+Eo+t+Se+t+t;case 6828:case 4268:return Mt+t+Se+t+t;case 6165:return Mt+t+Se+"flex-"+t+t;case 5187:return Mt+t+At(t,/(\w+).+(:[^]+)/,Mt+"box-$1$2"+Se+"flex-$1$2")+t;case 5443:return Mt+t+Se+"flex-item-"+At(t,/flex-|-self/,"")+t;case 4675:return Mt+t+Se+"flex-line-pack"+At(t,/align-content|flex-|-self/,"")+t;case 5548:return Mt+t+Se+At(t,"shrink","negative")+t;case 5292:return Mt+t+Se+At(t,"basis","preferred-size")+t;case 6060:return Mt+"box-"+At(t,"-grow","")+Mt+t+Se+At(t,"grow","positive")+t;case 4554:return Mt+At(t,/([^-])(transform)/g,"$1"+Mt+"$2")+t;case 6187:return At(At(At(t,/(zoom-|grab)/,Mt+"$1"),/(image-set)/,Mt+"$1"),t,"")+t;case 5495:case 3959:return At(t,/(image-set\([^]*)/,Mt+"$1$`$1");case 4968:return At(At(t,/(.+:)(flex-)?(.*)/,Mt+"box-pack:$3"+Se+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Mt+t+t;case 4095:case 3583:case 4068:case 2532:return At(t,/(.+)-inline(.+)/,Mt+"$1$2")+t;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(cr(t)-1-e>6)switch(ge(t,e+1)){case 109:if(ge(t,e+4)!==45)break;case 102:return At(t,/(.+:)(.+)-([^]+)/,"$1"+Mt+"$2-$3$1"+Eo+(ge(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~ds(t,"stretch")?Va(At(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(ge(t,e+1)!==115)break;case 6444:switch(ge(t,cr(t)-3-(~ds(t,"!important")&&10))){case 107:return At(t,":",":"+Mt)+t;case 101:return At(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Mt+(ge(t,14)===45?"inline-":"")+"box$3$1"+Mt+"$2$3$1"+Se+"$2box$3")+t}break;case 5936:switch(ge(t,e+11)){case 114:return Mt+t+Se+At(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return Mt+t+Se+At(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return Mt+t+Se+At(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return Mt+t+Se+t+t}return t}var Zp=function(e,n,o,s){if(e.length>-1&&!e.return)switch(e.type){case ps:e.return=Va(e.value,e.length);break;case za:return en([Dn(e,{value:At(e.value,"@","@"+Mt)})],s);case us:if(e.length)return Bp(e.props,function(a){switch(Ip(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return en([Dn(e,{props:[At(a,/:(read-\w+)/,":"+Eo+"$1")]})],s);case"::placeholder":return en([Dn(e,{props:[At(a,/:(plac\w+)/,":"+Mt+"input-$1")]}),Dn(e,{props:[At(a,/:(plac\w+)/,":"+Eo+"$1")]}),Dn(e,{props:[At(a,/:(plac\w+)/,Se+"input-$1")]})],s)}return""})}},Qp=[Zp],Ka=function(e){var n=e.key;if(n==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(E){var A=E.getAttribute("data-emotion");A.indexOf(" ")!==-1&&(document.head.appendChild(E),E.setAttribute("data-s",""))})}var s=e.stylisPlugins||Qp,a={},c,p=[];c=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(E){for(var A=E.getAttribute("data-emotion").split(" "),h=1;h<A.length;h++)a[A[h]]=!0;p.push(E)});var d,g=[Xp,Jp];{var m,S=[Hp,Vp(function(E){m.insert(E)})],y=Gp(g.concat(s,S)),j=function(A){return en(Wp(A),y)};d=function(A,h,P,D){m=P,j(A?A+"{"+h.styles+"}":h.styles),D&&(k.inserted[h.name]=!0)}}var k={key:n,sheet:new jp({key:n,container:c,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:d};return k.sheet.hydrate(p),k},Ya={exports:{}},It={};/** @license React v16.13.1 10 10 * react-is.production.min.js 11 11 * … … 14 14 * This source code is licensed under the MIT license found in the 15 15 * LICENSE file in the root directory of this source tree. 16 */var Jt=typeof Symbol=="function"&&Symbol.for,mi=Jt?Symbol.for("react.element"):60103,bi=Jt?Symbol.for("react.portal"):60106,Vn=Jt?Symbol.for("react.fragment"):60107,Hn=Jt?Symbol.for("react.strict_mode"):60108,Gn=Jt?Symbol.for("react.profiler"):60114,Kn=Jt?Symbol.for("react.provider"):60109,qn=Jt?Symbol.for("react.context"):60110,vi=Jt?Symbol.for("react.async_mode"):60111,Yn=Jt?Symbol.for("react.concurrent_mode"):60111,Xn=Jt?Symbol.for("react.forward_ref"):60112,Zn=Jt?Symbol.for("react.suspense"):60113,Ru=Jt?Symbol.for("react.suspense_list"):60120,Jn=Jt?Symbol.for("react.memo"):60115,Qn=Jt?Symbol.for("react.lazy"):60116,Tu=Jt?Symbol.for("react.block"):60121,Eu=Jt?Symbol.for("react.fundamental"):60117,ju=Jt?Symbol.for("react.responder"):60118,$u=Jt?Symbol.for("react.scope"):60119;function le(t){if(typeof t=="object"&&t!==null){var e=t.$$typeof;switch(e){case mi:switch(t=t.type,t){case vi:case Yn:case Vn:case Gn:case Hn:case Zn:return t;default:switch(t=t&&t.$$typeof,t){case qn:case Xn:case Qn:case Jn:case Kn:return t;default:return e}}case bi:return e}}}function Fs(t){return le(t)===Yn}Rt.AsyncMode=vi,Rt.ConcurrentMode=Yn,Rt.ContextConsumer=qn,Rt.ContextProvider=Kn,Rt.Element=mi,Rt.ForwardRef=Xn,Rt.Fragment=Vn,Rt.Lazy=Qn,Rt.Memo=Jn,Rt.Portal=bi,Rt.Profiler=Gn,Rt.StrictMode=Hn,Rt.Suspense=Zn,Rt.isAsyncMode=function(t){return Fs(t)||le(t)===vi},Rt.isConcurrentMode=Fs,Rt.isContextConsumer=function(t){return le(t)===qn},Rt.isContextProvider=function(t){return le(t)===Kn},Rt.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===mi},Rt.isForwardRef=function(t){return le(t)===Xn},Rt.isFragment=function(t){return le(t)===Vn},Rt.isLazy=function(t){return le(t)===Qn},Rt.isMemo=function(t){return le(t)===Jn},Rt.isPortal=function(t){return le(t)===bi},Rt.isProfiler=function(t){return le(t)===Gn},Rt.isStrictMode=function(t){return le(t)===Hn},Rt.isSuspense=function(t){return le(t)===Zn},Rt.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===Vn||t===Yn||t===Gn||t===Hn||t===Zn||t===Ru||typeof t=="object"&&t!==null&&(t.$$typeof===Qn||t.$$typeof===Jn||t.$$typeof===Kn||t.$$typeof===qn||t.$$typeof===Xn||t.$$typeof===Eu||t.$$typeof===ju||t.$$typeof===$u||t.$$typeof===Tu)},Rt.typeOf=le,_s.exports=Rt;var Mu=_s.exports,Ds=Mu,Au={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Pu={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ls={};Ls[Ds.ForwardRef]=Au,Ls[Ds.Memo]=Pu;var Ou=!0;function Ws(t,e,n){var i="";return n.split(" ").forEach(function(s){t[s]!==void 0?e.push(t[s]+";"):s&&(i+=s+" ")}),i}var xi=function(e,n,i){var s=e.key+"-"+n.name;(i===!1||Ou===!1)&&e.registered[s]===void 0&&(e.registered[s]=n.styles)},Si=function(e,n,i){xi(e,n,i);var s=e.key+"-"+n.name;if(e.inserted[n.name]===void 0){var l=n;do e.insert(n===l?"."+s:"",l,e.sheet,!0),l=l.next;while(l!==void 0)}};function Iu(t){for(var e=0,n,i=0,s=t.length;s>=4;++i,s-=4)n=t.charCodeAt(i)&255|(t.charCodeAt(++i)&255)<<8|(t.charCodeAt(++i)&255)<<16|(t.charCodeAt(++i)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(s){case 3:e^=(t.charCodeAt(i+2)&255)<<16;case 2:e^=(t.charCodeAt(i+1)&255)<<8;case 1:e^=t.charCodeAt(i)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var Bu={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},zu=!1,Nu=/[A-Z]|^ms/g,_u=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Us=function(e){return e.charCodeAt(1)===45},Vs=function(e){return e!=null&&typeof e!="boolean"},wi=Is(function(t){return Us(t)?t:t.replace(Nu,"-$&").toLowerCase()}),Hs=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(_u,function(i,s,l){return Ne={name:s,styles:l,next:Ne},s})}return Bu[e]!==1&&!Us(e)&&typeof n=="number"&&n!==0?n+"px":n},Fu="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function pn(t,e,n){if(n==null)return"";var i=n;if(i.__emotion_styles!==void 0)return i;switch(typeof n){case"boolean":return"";case"object":{var s=n;if(s.anim===1)return Ne={name:s.name,styles:s.styles,next:Ne},s.name;var l=n;if(l.styles!==void 0){var c=l.next;if(c!==void 0)for(;c!==void 0;)Ne={name:c.name,styles:c.styles,next:Ne},c=c.next;var d=l.styles+";";return d}return Du(t,e,n)}case"function":{if(t!==void 0){var f=Ne,g=n(t);return Ne=f,pn(t,e,g)}break}}var x=n;if(e==null)return x;var T=e[x];return T!==void 0?T:x}function Du(t,e,n){var i="";if(Array.isArray(n))for(var s=0;s<n.length;s++)i+=pn(t,e,n[s])+";";else for(var l in n){var c=n[l];if(typeof c!="object"){var d=c;e!=null&&e[d]!==void 0?i+=l+"{"+e[d]+"}":Vs(d)&&(i+=wi(l)+":"+Hs(l,d)+";")}else{if(l==="NO_COMPONENT_SELECTOR"&&zu)throw new Error(Fu);if(Array.isArray(c)&&typeof c[0]=="string"&&(e==null||e[c[0]]===void 0))for(var f=0;f<c.length;f++)Vs(c[f])&&(i+=wi(l)+":"+Hs(l,c[f])+";");else{var g=pn(t,e,c);switch(l){case"animation":case"animationName":{i+=wi(l)+":"+g+";";break}default:i+=l+"{"+g+"}"}}}}return i}var Gs=/label:\s*([^\s;{]+)\s*(;|$)/g,Ne;function to(t,e,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,s="";Ne=void 0;var l=t[0];if(l==null||l.raw===void 0)i=!1,s+=pn(n,e,l);else{var c=l;s+=c[0]}for(var d=1;d<t.length;d++)if(s+=pn(n,e,t[d]),i){var f=l;s+=f[d]}Gs.lastIndex=0;for(var g="",x;(x=Gs.exec(s))!==null;)g+="-"+x[1];var T=Iu(s)+g;return{name:T,styles:s,next:Ne}}var Lu=function(e){return e()},Ks=O["useInsertionEffect"]?O["useInsertionEffect"]:!1,qs=Ks||Lu,Ys=Ks||O.useLayoutEffect,Wu=!1,Xs=O.createContext(typeof HTMLElement<"u"?Ns({key:"css"}):null),Uu=Xs.Provider,Ci=function(e){return mt.forwardRef(function(n,i){var s=mt.useContext(Xs);return e(n,s,i)})},Mr=O.createContext({}),ki={}.hasOwnProperty,Ri="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Vu=function(e,n){var i={};for(var s in n)ki.call(n,s)&&(i[s]=n[s]);return i[Ri]=e,i},Hu=function(e){var n=e.cache,i=e.serialized,s=e.isStringTag;return xi(n,i,s),qs(function(){return Si(n,i,s)}),null},Gu=Ci(function(t,e,n){var i=t.css;typeof i=="string"&&e.registered[i]!==void 0&&(i=e.registered[i]);var s=t[Ri],l=[i],c="";typeof t.className=="string"?c=Ws(e.registered,l,t.className):t.className!=null&&(c=t.className+" ");var d=to(l,void 0,O.useContext(Mr));c+=e.key+"-"+d.name;var f={};for(var g in t)ki.call(t,g)&&g!=="css"&&g!==Ri&&!Wu&&(f[g]=t[g]);return f.className=c,n&&(f.ref=n),O.createElement(O.Fragment,null,O.createElement(Hu,{cache:e,serialized:d,isStringTag:typeof s=="string"}),O.createElement(s,f))}),Ku=Gu,Ti={exports:{}},Zs;function Js(){return Zs||(Zs=1,function(t){function e(){return t.exports=e=Object.assign?Object.assign.bind():function(n){for(var i=1;i<arguments.length;i++){var s=arguments[i];for(var l in s)({}).hasOwnProperty.call(s,l)&&(n[l]=s[l])}return n},t.exports.__esModule=!0,t.exports.default=t.exports,e.apply(null,arguments)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(Ti)),Ti.exports}Js();var Qs=function(e,n){var i=arguments;if(n==null||!ki.call(n,"css"))return O.createElement.apply(void 0,i);var s=i.length,l=new Array(s);l[0]=Ku,l[1]=Vu(e,n);for(var c=2;c<s;c++)l[c]=i[c];return O.createElement.apply(null,l)};(function(t){var e;e||(e=t.JSX||(t.JSX={}))})(Qs||(Qs={}));var qu=Ci(function(t,e){var n=t.styles,i=to([n],void 0,O.useContext(Mr)),s=O.useRef();return Ys(function(){var l=e.key+"-globalThis",c=new e.sheet.constructor({key:l,nonce:e.sheet.nonce,container:e.sheet.container,speedy:e.sheet.isSpeedy}),d=!1,f=document.querySelector('style[data-emotion="'+l+" "+i.name+'"]');return e.sheet.tags.length&&(c.before=e.sheet.tags[0]),f!==null&&(d=!0,f.setAttribute("data-emotion",l),c.hydrate([f])),s.current=[c,d],function(){c.flush()}},[e]),Ys(function(){var l=s.current,c=l[0],d=l[1];if(d){l[1]=!1;return}if(i.next!==void 0&&Si(e,i.next,!0),c.tags.length){var f=c.tags[c.tags.length-1].nextElementSibling;c.before=f,c.flush()}e.insert("",i,c,!1)},[e,i.name]),null});function dn(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return to(e)}function sr(){var t=dn.apply(void 0,arguments),e="animation-"+t.name;return{name:e,styles:"@keyframes "+e+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var Yu=/^((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|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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)-.*))$/,Xu=Is(function(t){return Yu.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),Zu=!1,Ju=Xu,Qu=function(e){return e!=="theme"},ta=function(e){return typeof e=="string"&&e.charCodeAt(0)>96?Ju:Qu},ea=function(e,n,i){var s;if(n){var l=n.shouldForwardProp;s=e.__emotion_forwardProp&&l?function(c){return e.__emotion_forwardProp(c)&&l(c)}:l}return typeof s!="function"&&i&&(s=e.__emotion_forwardProp),s},tp=function(e){var n=e.cache,i=e.serialized,s=e.isStringTag;return xi(n,i,s),qs(function(){return Si(n,i,s)}),null},ep=function t(e,n){var i=e.__emotion_real===e,s=i&&e.__emotion_base||e,l,c;n!==void 0&&(l=n.label,c=n.target);var d=ea(e,n,i),f=d||ta(s),g=!f("as");return function(){var x=arguments,T=i&&e.__emotion_styles!==void 0?e.__emotion_styles.slice(0):[];if(l!==void 0&&T.push("label:"+l+";"),x[0]==null||x[0].raw===void 0)T.push.apply(T,x);else{var m=x[0];T.push(m[0]);for(var M=x.length,R=1;R<M;R++)T.push(x[R],m[R])}var E=Ci(function(A,h,$){var z=g&&A.as||s,D="",L=[],U=A;if(A.theme==null){U={};for(var C in A)U[C]=A[C];U.theme=O.useContext(Mr)}typeof A.className=="string"?D=Ws(h.registered,L,A.className):A.className!=null&&(D=A.className+" ");var at=to(T.concat(L),h.registered,U);D+=h.key+"-"+at.name,c!==void 0&&(D+=" "+c);var pt=g&&d===void 0?ta(z):f,K={};for(var Y in A)g&&Y==="as"||pt(Y)&&(K[Y]=A[Y]);return K.className=D,$&&(K.ref=$),O.createElement(O.Fragment,null,O.createElement(tp,{cache:h,serialized:at,isStringTag:typeof z=="string"}),O.createElement(z,K))});return E.displayName=l!==void 0?l:"Styled("+(typeof s=="string"?s:s.displayName||s.name||"Component")+")",E.defaultProps=e.defaultProps,E.__emotion_real=E,E.__emotion_base=s,E.__emotion_styles=T,E.__emotion_forwardProp=d,Object.defineProperty(E,"toString",{value:function(){return c===void 0&&Zu?"NO_COMPONENT_SELECTOR":"."+c}}),E.withComponent=function(A,h){var $=t(A,k({},n,h,{shouldForwardProp:ea(E,h,!0)}));return $.apply(void 0,T)},E}},rp=["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"],Ei=ep.bind(null);rp.forEach(function(t){Ei[t]=Ei(t)});let ji;typeof document=="object"&&(ji=Ns({key:"css",prepend:!0}));function np(t){const{injectFirst:e,children:n}=t;return e&&ji?B.jsx(Uu,{value:ji,children:n}):n}function op(t){return t==null||Object.keys(t).length===0}function ra(t){const{styles:e,defaultTheme:n={}}=t,i=typeof e=="function"?s=>e(op(s)?n:s):e;return B.jsx(qu,{styles:i})}/**16 */var de=typeof Symbol=="function"&&Symbol.for,gs=de?Symbol.for("react.element"):60103,ys=de?Symbol.for("react.portal"):60106,Oo=de?Symbol.for("react.fragment"):60107,Io=de?Symbol.for("react.strict_mode"):60108,Bo=de?Symbol.for("react.profiler"):60114,Fo=de?Symbol.for("react.provider"):60109,zo=de?Symbol.for("react.context"):60110,ms=de?Symbol.for("react.async_mode"):60111,Do=de?Symbol.for("react.concurrent_mode"):60111,No=de?Symbol.for("react.forward_ref"):60112,_o=de?Symbol.for("react.suspense"):60113,td=de?Symbol.for("react.suspense_list"):60120,Lo=de?Symbol.for("react.memo"):60115,Wo=de?Symbol.for("react.lazy"):60116,ed=de?Symbol.for("react.block"):60121,rd=de?Symbol.for("react.fundamental"):60117,nd=de?Symbol.for("react.responder"):60118,od=de?Symbol.for("react.scope"):60119;function Be(t){if(typeof t=="object"&&t!==null){var e=t.$$typeof;switch(e){case gs:switch(t=t.type,t){case ms:case Do:case Oo:case Bo:case Io:case _o:return t;default:switch(t=t&&t.$$typeof,t){case zo:case No:case Wo:case Lo:case Fo:return t;default:return e}}case ys:return e}}}function qa(t){return Be(t)===Do}It.AsyncMode=ms,It.ConcurrentMode=Do,It.ContextConsumer=zo,It.ContextProvider=Fo,It.Element=gs,It.ForwardRef=No,It.Fragment=Oo,It.Lazy=Wo,It.Memo=Lo,It.Portal=ys,It.Profiler=Bo,It.StrictMode=Io,It.Suspense=_o,It.isAsyncMode=function(t){return qa(t)||Be(t)===ms},It.isConcurrentMode=qa,It.isContextConsumer=function(t){return Be(t)===zo},It.isContextProvider=function(t){return Be(t)===Fo},It.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===gs},It.isForwardRef=function(t){return Be(t)===No},It.isFragment=function(t){return Be(t)===Oo},It.isLazy=function(t){return Be(t)===Wo},It.isMemo=function(t){return Be(t)===Lo},It.isPortal=function(t){return Be(t)===ys},It.isProfiler=function(t){return Be(t)===Bo},It.isStrictMode=function(t){return Be(t)===Io},It.isSuspense=function(t){return Be(t)===_o},It.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===Oo||t===Do||t===Bo||t===Io||t===_o||t===td||typeof t=="object"&&t!==null&&(t.$$typeof===Wo||t.$$typeof===Lo||t.$$typeof===Fo||t.$$typeof===zo||t.$$typeof===No||t.$$typeof===rd||t.$$typeof===nd||t.$$typeof===od||t.$$typeof===ed)},It.typeOf=Be,Ya.exports=It;var id=Ya.exports,Xa=id,sd={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ad={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ja={};Ja[Xa.ForwardRef]=sd,Ja[Xa.Memo]=ad;var ld=!0;function Za(t,e,n){var o="";return n.split(" ").forEach(function(s){t[s]!==void 0?e.push(t[s]+";"):s&&(o+=s+" ")}),o}var bs=function(e,n,o){var s=e.key+"-"+n.name;(o===!1||ld===!1)&&e.registered[s]===void 0&&(e.registered[s]=n.styles)},vs=function(e,n,o){bs(e,n,o);var s=e.key+"-"+n.name;if(e.inserted[n.name]===void 0){var a=n;do e.insert(n===a?"."+s:"",a,e.sheet,!0),a=a.next;while(a!==void 0)}};function cd(t){for(var e=0,n,o=0,s=t.length;s>=4;++o,s-=4)n=t.charCodeAt(o)&255|(t.charCodeAt(++o)&255)<<8|(t.charCodeAt(++o)&255)<<16|(t.charCodeAt(++o)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(s){case 3:e^=(t.charCodeAt(o+2)&255)<<16;case 2:e^=(t.charCodeAt(o+1)&255)<<8;case 1:e^=t.charCodeAt(o)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var ud={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},pd=!1,dd=/[A-Z]|^ms/g,fd=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Qa=function(e){return e.charCodeAt(1)===45},tl=function(e){return e!=null&&typeof e!="boolean"},xs=Ha(function(t){return Qa(t)?t:t.replace(dd,"-$&").toLowerCase()}),el=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(fd,function(o,s,a){return pr={name:s,styles:a,next:pr},s})}return ud[e]!==1&&!Qa(e)&&typeof n=="number"&&n!==0?n+"px":n},hd="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ln(t,e,n){if(n==null)return"";var o=n;if(o.__emotion_styles!==void 0)return o;switch(typeof n){case"boolean":return"";case"object":{var s=n;if(s.anim===1)return pr={name:s.name,styles:s.styles,next:pr},s.name;var a=n;if(a.styles!==void 0){var c=a.next;if(c!==void 0)for(;c!==void 0;)pr={name:c.name,styles:c.styles,next:pr},c=c.next;var p=a.styles+";";return p}return gd(t,e,n)}case"function":{if(t!==void 0){var d=pr,g=n(t);return pr=d,Ln(t,e,g)}break}}var m=n;if(e==null)return m;var S=e[m];return S!==void 0?S:m}function gd(t,e,n){var o="";if(Array.isArray(n))for(var s=0;s<n.length;s++)o+=Ln(t,e,n[s])+";";else for(var a in n){var c=n[a];if(typeof c!="object"){var p=c;e!=null&&e[p]!==void 0?o+=a+"{"+e[p]+"}":tl(p)&&(o+=xs(a)+":"+el(a,p)+";")}else{if(a==="NO_COMPONENT_SELECTOR"&&pd)throw new Error(hd);if(Array.isArray(c)&&typeof c[0]=="string"&&(e==null||e[c[0]]===void 0))for(var d=0;d<c.length;d++)tl(c[d])&&(o+=xs(a)+":"+el(a,c[d])+";");else{var g=Ln(t,e,c);switch(a){case"animation":case"animationName":{o+=xs(a)+":"+g+";";break}default:o+=a+"{"+g+"}"}}}}return o}var rl=/label:\s*([^\s;{]+)\s*(;|$)/g,pr;function Uo(t,e,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,s="";pr=void 0;var a=t[0];if(a==null||a.raw===void 0)o=!1,s+=Ln(n,e,a);else{var c=a;s+=c[0]}for(var p=1;p<t.length;p++)if(s+=Ln(n,e,t[p]),o){var d=a;s+=d[p]}rl.lastIndex=0;for(var g="",m;(m=rl.exec(s))!==null;)g+="-"+m[1];var S=cd(s)+g;return{name:S,styles:s,next:pr}}var yd=function(e){return e()},nl=M["useInsertionEffect"]?M["useInsertionEffect"]:!1,ol=nl||yd,il=nl||M.useLayoutEffect,md=!1,sl=M.createContext(typeof HTMLElement<"u"?Ka({key:"css"}):null),bd=sl.Provider,ws=function(e){return St.forwardRef(function(n,o){var s=St.useContext(sl);return e(n,s,o)})},rn=M.createContext({}),Ss={}.hasOwnProperty,Cs="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",vd=function(e,n){var o={};for(var s in n)Ss.call(n,s)&&(o[s]=n[s]);return o[Cs]=e,o},xd=function(e){var n=e.cache,o=e.serialized,s=e.isStringTag;return bs(n,o,s),ol(function(){return vs(n,o,s)}),null},wd=ws(function(t,e,n){var o=t.css;typeof o=="string"&&e.registered[o]!==void 0&&(o=e.registered[o]);var s=t[Cs],a=[o],c="";typeof t.className=="string"?c=Za(e.registered,a,t.className):t.className!=null&&(c=t.className+" ");var p=Uo(a,void 0,M.useContext(rn));c+=e.key+"-"+p.name;var d={};for(var g in t)Ss.call(t,g)&&g!=="css"&&g!==Cs&&!md&&(d[g]=t[g]);return d.className=c,n&&(d.ref=n),M.createElement(M.Fragment,null,M.createElement(xd,{cache:e,serialized:p,isStringTag:typeof s=="string"}),M.createElement(s,d))}),Sd=wd,Rs={exports:{}},al;function ll(){return al||(al=1,function(t){function e(){return t.exports=e=Object.assign?Object.assign.bind():function(n){for(var o=1;o<arguments.length;o++){var s=arguments[o];for(var a in s)({}).hasOwnProperty.call(s,a)&&(n[a]=s[a])}return n},t.exports.__esModule=!0,t.exports.default=t.exports,e.apply(null,arguments)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(Rs)),Rs.exports}ll();var cl=function(e,n){var o=arguments;if(n==null||!Ss.call(n,"css"))return M.createElement.apply(void 0,o);var s=o.length,a=new Array(s);a[0]=Sd,a[1]=vd(e,n);for(var c=2;c<s;c++)a[c]=o[c];return M.createElement.apply(null,a)};(function(t){var e;e||(e=t.JSX||(t.JSX={}))})(cl||(cl={}));var Cd=ws(function(t,e){var n=t.styles,o=Uo([n],void 0,M.useContext(rn)),s=M.useRef();return il(function(){var a=e.key+"-globalThis",c=new e.sheet.constructor({key:a,nonce:e.sheet.nonce,container:e.sheet.container,speedy:e.sheet.isSpeedy}),p=!1,d=document.querySelector('style[data-emotion="'+a+" "+o.name+'"]');return e.sheet.tags.length&&(c.before=e.sheet.tags[0]),d!==null&&(p=!0,d.setAttribute("data-emotion",a),c.hydrate([d])),s.current=[c,p],function(){c.flush()}},[e]),il(function(){var a=s.current,c=a[0],p=a[1];if(p){a[1]=!1;return}if(o.next!==void 0&&vs(e,o.next,!0),c.tags.length){var d=c.tags[c.tags.length-1].nextElementSibling;c.before=d,c.flush()}e.insert("",o,c,!1)},[e,o.name]),null});function Wn(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Uo(e)}function Ar(){var t=Wn.apply(void 0,arguments),e="animation-"+t.name;return{name:e,styles:"@keyframes "+e+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var Rd=/^((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|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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)-.*))$/,Ed=Ha(function(t){return Rd.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),Td=!1,kd=Ed,jd=function(e){return e!=="theme"},ul=function(e){return typeof e=="string"&&e.charCodeAt(0)>96?kd:jd},pl=function(e,n,o){var s;if(n){var a=n.shouldForwardProp;s=e.__emotion_forwardProp&&a?function(c){return e.__emotion_forwardProp(c)&&a(c)}:a}return typeof s!="function"&&o&&(s=e.__emotion_forwardProp),s},Pd=function(e){var n=e.cache,o=e.serialized,s=e.isStringTag;return bs(n,o,s),ol(function(){return vs(n,o,s)}),null},$d=function t(e,n){var o=e.__emotion_real===e,s=o&&e.__emotion_base||e,a,c;n!==void 0&&(a=n.label,c=n.target);var p=pl(e,n,o),d=p||ul(s),g=!d("as");return function(){var m=arguments,S=o&&e.__emotion_styles!==void 0?e.__emotion_styles.slice(0):[];if(a!==void 0&&S.push("label:"+a+";"),m[0]==null||m[0].raw===void 0)S.push.apply(S,m);else{var y=m[0];S.push(y[0]);for(var j=m.length,k=1;k<j;k++)S.push(m[k],y[k])}var E=ws(function(A,h,P){var D=g&&A.as||s,I="",z=[],N=A;if(A.theme==null){N={};for(var x in A)N[x]=A[x];N.theme=M.useContext(rn)}typeof A.className=="string"?I=Za(h.registered,z,A.className):A.className!=null&&(I=A.className+" ");var V=Uo(S.concat(z),h.registered,N);I+=h.key+"-"+V.name,c!==void 0&&(I+=" "+c);var G=g&&p===void 0?ul(D):d,L={};for(var K in A)g&&K==="as"||G(K)&&(L[K]=A[K]);return L.className=I,P&&(L.ref=P),M.createElement(M.Fragment,null,M.createElement(Pd,{cache:h,serialized:V,isStringTag:typeof D=="string"}),M.createElement(D,L))});return E.displayName=a!==void 0?a:"Styled("+(typeof s=="string"?s:s.displayName||s.name||"Component")+")",E.defaultProps=e.defaultProps,E.__emotion_real=E,E.__emotion_base=s,E.__emotion_styles=S,E.__emotion_forwardProp=p,Object.defineProperty(E,"toString",{value:function(){return c===void 0&&Td?"NO_COMPONENT_SELECTOR":"."+c}}),E.withComponent=function(A,h){var P=t(A,T({},n,h,{shouldForwardProp:pl(E,h,!0)}));return P.apply(void 0,S)},E}},Md=["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"],Es=$d.bind(null);Md.forEach(function(t){Es[t]=Es(t)});let Ts;typeof document=="object"&&(Ts=Ka({key:"css",prepend:!0}));function Ad(t){const{injectFirst:e,children:n}=t;return e&&Ts?F.jsx(bd,{value:Ts,children:n}):n}function Od(t){return t==null||Object.keys(t).length===0}function dl(t){const{styles:e,defaultTheme:n={}}=t,o=typeof e=="function"?s=>e(Od(s)?n:s):e;return F.jsx(Cd,{styles:o})}/** 17 17 * @mui/styled-engine v5.16.14 18 18 * … … 20 20 * This source code is licensed under the MIT license found in the 21 21 * LICENSE file in the root directory of this source tree. 22 */function $i(t,e){return Ei(t,e)}const na=(t,e)=>{Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=e(t.__emotion_styles))},ip=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:ra,StyledEngineProvider:np,ThemeContext:Mr,css:dn,default:$i,internal_processStyles:na,keyframes:sr},Symbol.toStringTag,{value:"Module"}));function Ge(t){if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function oa(t){if(O.isValidElement(t)||!Ge(t))return t;const e={};return Object.keys(t).forEach(n=>{e[n]=oa(t[n])}),e}function ye(t,e,n={clone:!0}){const i=n.clone?k({},t):t;return Ge(t)&&Ge(e)&&Object.keys(e).forEach(s=>{O.isValidElement(e[s])?i[s]=e[s]:Ge(e[s])&&Object.prototype.hasOwnProperty.call(t,s)&&Ge(t[s])?i[s]=ye(t[s],e[s],n):n.clone?i[s]=Ge(e[s])?oa(e[s]):e[s]:i[s]=e[s]}),i}const sp=Object.freeze(Object.defineProperty({__proto__:null,default:ye,isPlainObject:Ge},Symbol.toStringTag,{value:"Module"})),ap=["values","unit","step"],lp=t=>{const e=Object.keys(t).map(n=>({key:n,val:t[n]}))||[];return e.sort((n,i)=>n.val-i.val),e.reduce((n,i)=>k({},n,{[i.key]:i.val}),{})};function ia(t){const{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:i=5}=t,s=nt(t,ap),l=lp(e),c=Object.keys(l);function d(m){return`@media (min-width:${typeof e[m]=="number"?e[m]:m}${n})`}function f(m){return`@media (max-width:${(typeof e[m]=="number"?e[m]:m)-i/100}${n})`}function g(m,M){const R=c.indexOf(M);return`@media (min-width:${typeof e[m]=="number"?e[m]:m}${n}) and (max-width:${(R!==-1&&typeof e[c[R]]=="number"?e[c[R]]:M)-i/100}${n})`}function x(m){return c.indexOf(m)+1<c.length?g(m,c[c.indexOf(m)+1]):d(m)}function T(m){const M=c.indexOf(m);return M===0?d(c[1]):M===c.length-1?f(c[M]):g(m,c[c.indexOf(m)+1]).replace("@media","@media not all and")}return k({keys:c,values:l,up:d,down:f,between:g,only:x,not:T,unit:n},s)}const cp={borderRadius:4};function fn(t,e){return e?ye(t,e,{clone:!1}):t}const Mi={xs:0,sm:600,md:900,lg:1200,xl:1536},sa={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${Mi[t]}px)`};function se(t,e,n){const i=t.theme||{};if(Array.isArray(e)){const l=i.breakpoints||sa;return e.reduce((c,d,f)=>(c[l.up(l.keys[f])]=n(e[f]),c),{})}if(typeof e=="object"){const l=i.breakpoints||sa;return Object.keys(e).reduce((c,d)=>{if(Object.keys(l.values||Mi).indexOf(d)!==-1){const f=l.up(d);c[f]=n(e[d],d)}else{const f=d;c[f]=e[f]}return c},{})}return n(e)}function aa(t={}){var e;return((e=t.keys)==null?void 0:e.reduce((i,s)=>{const l=t.up(s);return i[l]={},i},{}))||{}}function la(t,e){return t.reduce((n,i)=>{const s=n[i];return(!s||Object.keys(s).length===0)&&delete n[i],n},e)}function up(t,...e){const n=aa(t),i=[n,...e].reduce((s,l)=>ye(s,l),{});return la(Object.keys(n),i)}function pp(t,e){if(typeof t!="object")return{};const n={},i=Object.keys(e);return Array.isArray(t)?i.forEach((s,l)=>{l<t.length&&(n[s]=!0)}):i.forEach(s=>{t[s]!=null&&(n[s]=!0)}),n}function ar({values:t,breakpoints:e,base:n}){const i=n||pp(t,e),s=Object.keys(i);if(s.length===0)return t;let l;return s.reduce((c,d,f)=>(Array.isArray(t)?(c[d]=t[f]!=null?t[f]:t[l],l=f):typeof t=="object"?(c[d]=t[d]!=null?t[d]:t[l],l=d):c[d]=t,c),{})}function H(t){if(typeof t!="string")throw new Error(sn(7));return t.charAt(0).toUpperCase()+t.slice(1)}const dp=Object.freeze(Object.defineProperty({__proto__:null,default:H},Symbol.toStringTag,{value:"Module"}));function Ar(t,e,n=!0){if(!e||typeof e!="string")return null;if(t&&t.vars&&n){const i=`vars.${e}`.split(".").reduce((s,l)=>s&&s[l]?s[l]:null,t);if(i!=null)return i}return e.split(".").reduce((i,s)=>i&&i[s]!=null?i[s]:null,t)}function eo(t,e,n,i=n){let s;return typeof t=="function"?s=t(n):Array.isArray(t)?s=t[n]||i:s=Ar(t,n)||i,e&&(s=e(s,i,t)),s}function Lt(t){const{prop:e,cssProperty:n=t.prop,themeKey:i,transform:s}=t,l=c=>{if(c[e]==null)return null;const d=c[e],f=c.theme,g=Ar(f,i)||{};return se(c,d,T=>{let m=eo(g,s,T);return T===m&&typeof T=="string"&&(m=eo(g,s,`${e}${T==="default"?"":H(T)}`,T)),n===!1?m:{[n]:m}})};return l.propTypes={},l.filterProps=[e],l}function fp(t){const e={};return n=>(e[n]===void 0&&(e[n]=t(n)),e[n])}const hp={m:"margin",p:"padding"},yp={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ca={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},gp=fp(t=>{if(t.length>2)if(ca[t])t=ca[t];else return[t];const[e,n]=t.split(""),i=hp[e],s=yp[n]||"";return Array.isArray(s)?s.map(l=>i+l):[i+s]}),Ai=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Pi=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Ai,...Pi];function hn(t,e,n,i){var s;const l=(s=Ar(t,e,!1))!=null?s:n;return typeof l=="number"?c=>typeof c=="string"?c:l*c:Array.isArray(l)?c=>typeof c=="string"?c:l[c]:typeof l=="function"?l:()=>{}}function Oi(t){return hn(t,"spacing",8)}function lr(t,e){if(typeof e=="string"||e==null)return e;const n=Math.abs(e),i=t(n);return e>=0?i:typeof i=="number"?-i:`-${i}`}function mp(t,e){return n=>t.reduce((i,s)=>(i[s]=lr(e,n),i),{})}function bp(t,e,n,i){if(e.indexOf(n)===-1)return null;const s=gp(n),l=mp(s,i),c=t[n];return se(t,c,l)}function ua(t,e){const n=Oi(t.theme);return Object.keys(t).map(i=>bp(t,e,i,n)).reduce(fn,{})}function Bt(t){return ua(t,Ai)}Bt.propTypes={},Bt.filterProps=Ai;function zt(t){return ua(t,Pi)}zt.propTypes={},zt.filterProps=Pi;function vp(t=8){if(t.mui)return t;const e=Oi({spacing:t}),n=(...i)=>(i.length===0?[1]:i).map(l=>{const c=e(l);return typeof c=="number"?`${c}px`:c}).join(" ");return n.mui=!0,n}function ro(...t){const e=t.reduce((i,s)=>(s.filterProps.forEach(l=>{i[l]=s}),i),{}),n=i=>Object.keys(i).reduce((s,l)=>e[l]?fn(s,e[l](i)):s,{});return n.propTypes={},n.filterProps=t.reduce((i,s)=>i.concat(s.filterProps),[]),n}function ge(t){return typeof t!="number"?t:`${t}px solid`}function me(t,e){return Lt({prop:t,themeKey:"borders",transform:e})}const xp=me("border",ge),Sp=me("borderTop",ge),wp=me("borderRight",ge),Cp=me("borderBottom",ge),kp=me("borderLeft",ge),Rp=me("borderColor"),Tp=me("borderTopColor"),Ep=me("borderRightColor"),jp=me("borderBottomColor"),$p=me("borderLeftColor"),Mp=me("outline",ge),Ap=me("outlineColor"),no=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const e=hn(t.theme,"shape.borderRadius",4),n=i=>({borderRadius:lr(e,i)});return se(t,t.borderRadius,n)}return null};no.propTypes={},no.filterProps=["borderRadius"],ro(xp,Sp,wp,Cp,kp,Rp,Tp,Ep,jp,$p,no,Mp,Ap);const oo=t=>{if(t.gap!==void 0&&t.gap!==null){const e=hn(t.theme,"spacing",8),n=i=>({gap:lr(e,i)});return se(t,t.gap,n)}return null};oo.propTypes={},oo.filterProps=["gap"];const io=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const e=hn(t.theme,"spacing",8),n=i=>({columnGap:lr(e,i)});return se(t,t.columnGap,n)}return null};io.propTypes={},io.filterProps=["columnGap"];const so=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const e=hn(t.theme,"spacing",8),n=i=>({rowGap:lr(e,i)});return se(t,t.rowGap,n)}return null};so.propTypes={},so.filterProps=["rowGap"];const Pp=Lt({prop:"gridColumn"}),Op=Lt({prop:"gridRow"}),Ip=Lt({prop:"gridAutoFlow"}),Bp=Lt({prop:"gridAutoColumns"}),zp=Lt({prop:"gridAutoRows"}),Np=Lt({prop:"gridTemplateColumns"}),_p=Lt({prop:"gridTemplateRows"}),Fp=Lt({prop:"gridTemplateAreas"}),Dp=Lt({prop:"gridArea"});ro(oo,io,so,Pp,Op,Ip,Bp,zp,Np,_p,Fp,Dp);function Pr(t,e){return e==="grey"?e:t}const Lp=Lt({prop:"color",themeKey:"palette",transform:Pr}),Wp=Lt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Pr}),Up=Lt({prop:"backgroundColor",themeKey:"palette",transform:Pr});ro(Lp,Wp,Up);function ce(t){return t<=1&&t!==0?`${t*100}%`:t}const Vp=Lt({prop:"width",transform:ce}),Ii=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const e=n=>{var i,s;const l=((i=t.theme)==null||(i=i.breakpoints)==null||(i=i.values)==null?void 0:i[n])||Mi[n];return l?((s=t.theme)==null||(s=s.breakpoints)==null?void 0:s.unit)!=="px"?{maxWidth:`${l}${t.theme.breakpoints.unit}`}:{maxWidth:l}:{maxWidth:ce(n)}};return se(t,t.maxWidth,e)}return null};Ii.filterProps=["maxWidth"];const Hp=Lt({prop:"minWidth",transform:ce}),Gp=Lt({prop:"height",transform:ce}),Kp=Lt({prop:"maxHeight",transform:ce}),qp=Lt({prop:"minHeight",transform:ce});Lt({prop:"size",cssProperty:"width",transform:ce}),Lt({prop:"size",cssProperty:"height",transform:ce});const Yp=Lt({prop:"boxSizing"});ro(Vp,Ii,Hp,Gp,Kp,qp,Yp);const yn={border:{themeKey:"borders",transform:ge},borderTop:{themeKey:"borders",transform:ge},borderRight:{themeKey:"borders",transform:ge},borderBottom:{themeKey:"borders",transform:ge},borderLeft:{themeKey:"borders",transform:ge},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ge},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:no},color:{themeKey:"palette",transform:Pr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Pr},backgroundColor:{themeKey:"palette",transform:Pr},p:{style:zt},pt:{style:zt},pr:{style:zt},pb:{style:zt},pl:{style:zt},px:{style:zt},py:{style:zt},padding:{style:zt},paddingTop:{style:zt},paddingRight:{style:zt},paddingBottom:{style:zt},paddingLeft:{style:zt},paddingX:{style:zt},paddingY:{style:zt},paddingInline:{style:zt},paddingInlineStart:{style:zt},paddingInlineEnd:{style:zt},paddingBlock:{style:zt},paddingBlockStart:{style:zt},paddingBlockEnd:{style:zt},m:{style:Bt},mt:{style:Bt},mr:{style:Bt},mb:{style:Bt},ml:{style:Bt},mx:{style:Bt},my:{style:Bt},margin:{style:Bt},marginTop:{style:Bt},marginRight:{style:Bt},marginBottom:{style:Bt},marginLeft:{style:Bt},marginX:{style:Bt},marginY:{style:Bt},marginInline:{style:Bt},marginInlineStart:{style:Bt},marginInlineEnd:{style:Bt},marginBlock:{style:Bt},marginBlockStart:{style:Bt},marginBlockEnd:{style:Bt},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:oo},rowGap:{style:so},columnGap:{style:io},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ce},maxWidth:{style:Ii},minWidth:{transform:ce},height:{transform:ce},maxHeight:{transform:ce},minHeight:{transform:ce},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Xp(...t){const e=t.reduce((i,s)=>i.concat(Object.keys(s)),[]),n=new Set(e);return t.every(i=>n.size===Object.keys(i).length)}function Zp(t,e){return typeof t=="function"?t(e):t}function pa(){function t(n,i,s,l){const c={[n]:i,theme:s},d=l[n];if(!d)return{[n]:i};const{cssProperty:f=n,themeKey:g,transform:x,style:T}=d;if(i==null)return null;if(g==="typography"&&i==="inherit")return{[n]:i};const m=Ar(s,g)||{};return T?T(c):se(c,i,R=>{let E=eo(m,x,R);return R===E&&typeof R=="string"&&(E=eo(m,x,`${n}${R==="default"?"":H(R)}`,R)),f===!1?E:{[f]:E}})}function e(n){var i;const{sx:s,theme:l={}}=n||{};if(!s)return null;const c=(i=l.unstable_sxConfig)!=null?i:yn;function d(f){let g=f;if(typeof f=="function")g=f(l);else if(typeof f!="object")return f;if(!g)return null;const x=aa(l.breakpoints),T=Object.keys(x);let m=x;return Object.keys(g).forEach(M=>{const R=Zp(g[M],l);if(R!=null)if(typeof R=="object")if(c[M])m=fn(m,t(M,R,l,c));else{const E=se({theme:l},R,A=>({[M]:A}));Xp(E,R)?m[M]=e({sx:R,theme:l}):m=fn(m,E)}else m=fn(m,t(M,R,l,c))}),la(T,m)}return Array.isArray(s)?s.map(d):d(s)}return e}const da=pa();da.filterProps=["sx"];const gn=da;function fa(t,e){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(t).replace(/(\[[^\]]+\])/,"*:where($1)")]:e}:n.palette.mode===t?e:{}}const Jp=["breakpoints","palette","spacing","shape"];function mn(t={},...e){const{breakpoints:n={},palette:i={},spacing:s,shape:l={}}=t,c=nt(t,Jp),d=ia(n),f=vp(s);let g=ye({breakpoints:d,direction:"ltr",components:{},palette:k({mode:"light"},i),spacing:f,shape:k({},cp,l)},c);return g.applyStyles=fa,g=e.reduce((x,T)=>ye(x,T),g),g.unstable_sxConfig=k({},yn,c==null?void 0:c.unstable_sxConfig),g.unstable_sx=function(T){return gn({sx:T,theme:this})},g}const Qp=Object.freeze(Object.defineProperty({__proto__:null,default:mn,private_createBreakpoints:ia,unstable_applyStyles:fa},Symbol.toStringTag,{value:"Module"}));function td(t){return Object.keys(t).length===0}function ha(t=null){const e=O.useContext(Mr);return!e||td(e)?t:e}const ed=mn();function ao(t=ed){return ha(t)}function rd({styles:t,themeId:e,defaultTheme:n={}}){const i=ao(n),s=typeof t=="function"?t(e&&i[e]||i):t;return B.jsx(ra,{styles:s})}const nd=["sx"],od=t=>{var e,n;const i={systemProps:{},otherProps:{}},s=(e=t==null||(n=t.theme)==null?void 0:n.unstable_sxConfig)!=null?e:yn;return Object.keys(t).forEach(l=>{s[l]?i.systemProps[l]=t[l]:i.otherProps[l]=t[l]}),i};function bn(t){const{sx:e}=t,n=nt(t,nd),{systemProps:i,otherProps:s}=od(n);let l;return Array.isArray(e)?l=[i,...e]:typeof e=="function"?l=(...c)=>{const d=e(...c);return Ge(d)?k({},i,d):i}:l=k({},i,e),k({},s,{sx:l})}const id=Object.freeze(Object.defineProperty({__proto__:null,default:gn,extendSxProp:bn,unstable_createStyleFunctionSx:pa,unstable_defaultSxConfig:yn},Symbol.toStringTag,{value:"Module"})),ya=t=>t,ga=(()=>{let t=ya;return{configure(e){t=e},generate(e){return t(e)},reset(){t=ya}}})();function ma(t){var e,n,i="";if(typeof t=="string"||typeof t=="number")i+=t;else if(typeof t=="object")if(Array.isArray(t)){var s=t.length;for(e=0;e<s;e++)t[e]&&(n=ma(t[e]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}function J(){for(var t,e,n=0,i="",s=arguments.length;n<s;n++)(t=arguments[n])&&(e=ma(t))&&(i&&(i+=" "),i+=e);return i}const sd=["className","component"];function ad(t={}){const{themeId:e,defaultTheme:n,defaultClassName:i="MuiBox-root",generateClassName:s}=t,l=$i("div",{shouldForwardProp:d=>d!=="theme"&&d!=="sx"&&d!=="as"})(gn);return O.forwardRef(function(f,g){const x=ao(n),T=bn(f),{className:m,component:M="div"}=T,R=nt(T,sd);return B.jsx(l,k({as:M,ref:g,className:J(m,s?s(i):i),theme:e&&x[e]||x},R))})}const ld={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Ct(t,e,n="Mui"){const i=ld[e];return i?`${n}-${i}`:`${ga.generate(t)}-${e}`}function bt(t,e,n="Mui"){const i={};return e.forEach(s=>{i[s]=Ct(t,s,n)}),i}var ba={exports:{}},jt={};/**22 */function ks(t,e){return Es(t,e)}const fl=(t,e)=>{Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=e(t.__emotion_styles))},Id=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:dl,StyledEngineProvider:Ad,ThemeContext:rn,css:Wn,default:ks,internal_processStyles:fl,keyframes:Ar},Symbol.toStringTag,{value:"Module"}));function hr(t){if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function hl(t){if(M.isValidElement(t)||!hr(t))return t;const e={};return Object.keys(t).forEach(n=>{e[n]=hl(t[n])}),e}function Ue(t,e,n={clone:!0}){const o=n.clone?T({},t):t;return hr(t)&&hr(e)&&Object.keys(e).forEach(s=>{M.isValidElement(e[s])?o[s]=e[s]:hr(e[s])&&Object.prototype.hasOwnProperty.call(t,s)&&hr(t[s])?o[s]=Ue(t[s],e[s],n):n.clone?o[s]=hr(e[s])?hl(e[s]):e[s]:o[s]=e[s]}),o}const Bd=Object.freeze(Object.defineProperty({__proto__:null,default:Ue,isPlainObject:hr},Symbol.toStringTag,{value:"Module"})),Fd=["values","unit","step"],zd=t=>{const e=Object.keys(t).map(n=>({key:n,val:t[n]}))||[];return e.sort((n,o)=>n.val-o.val),e.reduce((n,o)=>T({},n,{[o.key]:o.val}),{})};function gl(t){const{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:o=5}=t,s=at(t,Fd),a=zd(e),c=Object.keys(a);function p(y){return`@media (min-width:${typeof e[y]=="number"?e[y]:y}${n})`}function d(y){return`@media (max-width:${(typeof e[y]=="number"?e[y]:y)-o/100}${n})`}function g(y,j){const k=c.indexOf(j);return`@media (min-width:${typeof e[y]=="number"?e[y]:y}${n}) and (max-width:${(k!==-1&&typeof e[c[k]]=="number"?e[c[k]]:j)-o/100}${n})`}function m(y){return c.indexOf(y)+1<c.length?g(y,c[c.indexOf(y)+1]):p(y)}function S(y){const j=c.indexOf(y);return j===0?p(c[1]):j===c.length-1?d(c[j]):g(y,c[c.indexOf(y)+1]).replace("@media","@media not all and")}return T({keys:c,values:a,up:p,down:d,between:g,only:m,not:S,unit:n},s)}const Dd={borderRadius:4};function Un(t,e){return e?Ue(t,e,{clone:!1}):t}const js={xs:0,sm:600,md:900,lg:1200,xl:1536},yl={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${js[t]}px)`};function Pe(t,e,n){const o=t.theme||{};if(Array.isArray(e)){const a=o.breakpoints||yl;return e.reduce((c,p,d)=>(c[a.up(a.keys[d])]=n(e[d]),c),{})}if(typeof e=="object"){const a=o.breakpoints||yl;return Object.keys(e).reduce((c,p)=>{if(Object.keys(a.values||js).indexOf(p)!==-1){const d=a.up(p);c[d]=n(e[p],p)}else{const d=p;c[d]=e[d]}return c},{})}return n(e)}function ml(t={}){var e;return((e=t.keys)==null?void 0:e.reduce((o,s)=>{const a=t.up(s);return o[a]={},o},{}))||{}}function bl(t,e){return t.reduce((n,o)=>{const s=n[o];return(!s||Object.keys(s).length===0)&&delete n[o],n},e)}function Nd(t,...e){const n=ml(t),o=[n,...e].reduce((s,a)=>Ue(s,a),{});return bl(Object.keys(n),o)}function _d(t,e){if(typeof t!="object")return{};const n={},o=Object.keys(e);return Array.isArray(t)?o.forEach((s,a)=>{a<t.length&&(n[s]=!0)}):o.forEach(s=>{t[s]!=null&&(n[s]=!0)}),n}function Or({values:t,breakpoints:e,base:n}){const o=n||_d(t,e),s=Object.keys(o);if(s.length===0)return t;let a;return s.reduce((c,p,d)=>(Array.isArray(t)?(c[p]=t[d]!=null?t[d]:t[a],a=d):typeof t=="object"?(c[p]=t[p]!=null?t[p]:t[a],a=p):c[p]=t,c),{})}function X(t){if(typeof t!="string")throw new Error(Fn(7));return t.charAt(0).toUpperCase()+t.slice(1)}const Ld=Object.freeze(Object.defineProperty({__proto__:null,default:X},Symbol.toStringTag,{value:"Module"}));function nn(t,e,n=!0){if(!e||typeof e!="string")return null;if(t&&t.vars&&n){const o=`vars.${e}`.split(".").reduce((s,a)=>s&&s[a]?s[a]:null,t);if(o!=null)return o}return e.split(".").reduce((o,s)=>o&&o[s]!=null?o[s]:null,t)}function Ho(t,e,n,o=n){let s;return typeof t=="function"?s=t(n):Array.isArray(t)?s=t[n]||o:s=nn(t,n)||o,e&&(s=e(s,o,t)),s}function qt(t){const{prop:e,cssProperty:n=t.prop,themeKey:o,transform:s}=t,a=c=>{if(c[e]==null)return null;const p=c[e],d=c.theme,g=nn(d,o)||{};return Pe(c,p,S=>{let y=Ho(g,s,S);return S===y&&typeof S=="string"&&(y=Ho(g,s,`${e}${S==="default"?"":X(S)}`,S)),n===!1?y:{[n]:y}})};return a.propTypes={},a.filterProps=[e],a}function Wd(t){const e={};return n=>(e[n]===void 0&&(e[n]=t(n)),e[n])}const Ud={m:"margin",p:"padding"},Hd={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},vl={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Gd=Wd(t=>{if(t.length>2)if(vl[t])t=vl[t];else return[t];const[e,n]=t.split(""),o=Ud[e],s=Hd[n]||"";return Array.isArray(s)?s.map(a=>o+a):[o+s]}),Ps=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],$s=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Ps,...$s];function Hn(t,e,n,o){var s;const a=(s=nn(t,e,!1))!=null?s:n;return typeof a=="number"?c=>typeof c=="string"?c:a*c:Array.isArray(a)?c=>typeof c=="string"?c:a[c]:typeof a=="function"?a:()=>{}}function Ms(t){return Hn(t,"spacing",8)}function Ir(t,e){if(typeof e=="string"||e==null)return e;const n=Math.abs(e),o=t(n);return e>=0?o:typeof o=="number"?-o:`-${o}`}function Vd(t,e){return n=>t.reduce((o,s)=>(o[s]=Ir(e,n),o),{})}function Kd(t,e,n,o){if(e.indexOf(n)===-1)return null;const s=Gd(n),a=Vd(s,o),c=t[n];return Pe(t,c,a)}function xl(t,e){const n=Ms(t.theme);return Object.keys(t).map(o=>Kd(t,e,o,n)).reduce(Un,{})}function Ut(t){return xl(t,Ps)}Ut.propTypes={},Ut.filterProps=Ps;function Ht(t){return xl(t,$s)}Ht.propTypes={},Ht.filterProps=$s;function Yd(t=8){if(t.mui)return t;const e=Ms({spacing:t}),n=(...o)=>(o.length===0?[1]:o).map(a=>{const c=e(a);return typeof c=="number"?`${c}px`:c}).join(" ");return n.mui=!0,n}function Go(...t){const e=t.reduce((o,s)=>(s.filterProps.forEach(a=>{o[a]=s}),o),{}),n=o=>Object.keys(o).reduce((s,a)=>e[a]?Un(s,e[a](o)):s,{});return n.propTypes={},n.filterProps=t.reduce((o,s)=>o.concat(s.filterProps),[]),n}function He(t){return typeof t!="number"?t:`${t}px solid`}function Ge(t,e){return qt({prop:t,themeKey:"borders",transform:e})}const qd=Ge("border",He),Xd=Ge("borderTop",He),Jd=Ge("borderRight",He),Zd=Ge("borderBottom",He),Qd=Ge("borderLeft",He),tf=Ge("borderColor"),ef=Ge("borderTopColor"),rf=Ge("borderRightColor"),nf=Ge("borderBottomColor"),of=Ge("borderLeftColor"),sf=Ge("outline",He),af=Ge("outlineColor"),Vo=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const e=Hn(t.theme,"shape.borderRadius",4),n=o=>({borderRadius:Ir(e,o)});return Pe(t,t.borderRadius,n)}return null};Vo.propTypes={},Vo.filterProps=["borderRadius"],Go(qd,Xd,Jd,Zd,Qd,tf,ef,rf,nf,of,Vo,sf,af);const Ko=t=>{if(t.gap!==void 0&&t.gap!==null){const e=Hn(t.theme,"spacing",8),n=o=>({gap:Ir(e,o)});return Pe(t,t.gap,n)}return null};Ko.propTypes={},Ko.filterProps=["gap"];const Yo=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const e=Hn(t.theme,"spacing",8),n=o=>({columnGap:Ir(e,o)});return Pe(t,t.columnGap,n)}return null};Yo.propTypes={},Yo.filterProps=["columnGap"];const qo=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const e=Hn(t.theme,"spacing",8),n=o=>({rowGap:Ir(e,o)});return Pe(t,t.rowGap,n)}return null};qo.propTypes={},qo.filterProps=["rowGap"];const lf=qt({prop:"gridColumn"}),cf=qt({prop:"gridRow"}),uf=qt({prop:"gridAutoFlow"}),pf=qt({prop:"gridAutoColumns"}),df=qt({prop:"gridAutoRows"}),ff=qt({prop:"gridTemplateColumns"}),hf=qt({prop:"gridTemplateRows"}),gf=qt({prop:"gridTemplateAreas"}),yf=qt({prop:"gridArea"});Go(Ko,Yo,qo,lf,cf,uf,pf,df,ff,hf,gf,yf);function on(t,e){return e==="grey"?e:t}const mf=qt({prop:"color",themeKey:"palette",transform:on}),bf=qt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:on}),vf=qt({prop:"backgroundColor",themeKey:"palette",transform:on});Go(mf,bf,vf);function Fe(t){return t<=1&&t!==0?`${t*100}%`:t}const xf=qt({prop:"width",transform:Fe}),As=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const e=n=>{var o,s;const a=((o=t.theme)==null||(o=o.breakpoints)==null||(o=o.values)==null?void 0:o[n])||js[n];return a?((s=t.theme)==null||(s=s.breakpoints)==null?void 0:s.unit)!=="px"?{maxWidth:`${a}${t.theme.breakpoints.unit}`}:{maxWidth:a}:{maxWidth:Fe(n)}};return Pe(t,t.maxWidth,e)}return null};As.filterProps=["maxWidth"];const wf=qt({prop:"minWidth",transform:Fe}),Sf=qt({prop:"height",transform:Fe}),Cf=qt({prop:"maxHeight",transform:Fe}),Rf=qt({prop:"minHeight",transform:Fe});qt({prop:"size",cssProperty:"width",transform:Fe}),qt({prop:"size",cssProperty:"height",transform:Fe});const Ef=qt({prop:"boxSizing"});Go(xf,As,wf,Sf,Cf,Rf,Ef);const Gn={border:{themeKey:"borders",transform:He},borderTop:{themeKey:"borders",transform:He},borderRight:{themeKey:"borders",transform:He},borderBottom:{themeKey:"borders",transform:He},borderLeft:{themeKey:"borders",transform:He},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:He},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Vo},color:{themeKey:"palette",transform:on},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:on},backgroundColor:{themeKey:"palette",transform:on},p:{style:Ht},pt:{style:Ht},pr:{style:Ht},pb:{style:Ht},pl:{style:Ht},px:{style:Ht},py:{style:Ht},padding:{style:Ht},paddingTop:{style:Ht},paddingRight:{style:Ht},paddingBottom:{style:Ht},paddingLeft:{style:Ht},paddingX:{style:Ht},paddingY:{style:Ht},paddingInline:{style:Ht},paddingInlineStart:{style:Ht},paddingInlineEnd:{style:Ht},paddingBlock:{style:Ht},paddingBlockStart:{style:Ht},paddingBlockEnd:{style:Ht},m:{style:Ut},mt:{style:Ut},mr:{style:Ut},mb:{style:Ut},ml:{style:Ut},mx:{style:Ut},my:{style:Ut},margin:{style:Ut},marginTop:{style:Ut},marginRight:{style:Ut},marginBottom:{style:Ut},marginLeft:{style:Ut},marginX:{style:Ut},marginY:{style:Ut},marginInline:{style:Ut},marginInlineStart:{style:Ut},marginInlineEnd:{style:Ut},marginBlock:{style:Ut},marginBlockStart:{style:Ut},marginBlockEnd:{style:Ut},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Ko},rowGap:{style:qo},columnGap:{style:Yo},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Fe},maxWidth:{style:As},minWidth:{transform:Fe},height:{transform:Fe},maxHeight:{transform:Fe},minHeight:{transform:Fe},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Tf(...t){const e=t.reduce((o,s)=>o.concat(Object.keys(s)),[]),n=new Set(e);return t.every(o=>n.size===Object.keys(o).length)}function kf(t,e){return typeof t=="function"?t(e):t}function wl(){function t(n,o,s,a){const c={[n]:o,theme:s},p=a[n];if(!p)return{[n]:o};const{cssProperty:d=n,themeKey:g,transform:m,style:S}=p;if(o==null)return null;if(g==="typography"&&o==="inherit")return{[n]:o};const y=nn(s,g)||{};return S?S(c):Pe(c,o,k=>{let E=Ho(y,m,k);return k===E&&typeof k=="string"&&(E=Ho(y,m,`${n}${k==="default"?"":X(k)}`,k)),d===!1?E:{[d]:E}})}function e(n){var o;const{sx:s,theme:a={}}=n||{};if(!s)return null;const c=(o=a.unstable_sxConfig)!=null?o:Gn;function p(d){let g=d;if(typeof d=="function")g=d(a);else if(typeof d!="object")return d;if(!g)return null;const m=ml(a.breakpoints),S=Object.keys(m);let y=m;return Object.keys(g).forEach(j=>{const k=kf(g[j],a);if(k!=null)if(typeof k=="object")if(c[j])y=Un(y,t(j,k,a,c));else{const E=Pe({theme:a},k,A=>({[j]:A}));Tf(E,k)?y[j]=e({sx:k,theme:a}):y=Un(y,E)}else y=Un(y,t(j,k,a,c))}),bl(S,y)}return Array.isArray(s)?s.map(p):p(s)}return e}const Sl=wl();Sl.filterProps=["sx"];const Vn=Sl;function Cl(t,e){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(t).replace(/(\[[^\]]+\])/,"*:where($1)")]:e}:n.palette.mode===t?e:{}}const jf=["breakpoints","palette","spacing","shape"];function Kn(t={},...e){const{breakpoints:n={},palette:o={},spacing:s,shape:a={}}=t,c=at(t,jf),p=gl(n),d=Yd(s);let g=Ue({breakpoints:p,direction:"ltr",components:{},palette:T({mode:"light"},o),spacing:d,shape:T({},Dd,a)},c);return g.applyStyles=Cl,g=e.reduce((m,S)=>Ue(m,S),g),g.unstable_sxConfig=T({},Gn,c==null?void 0:c.unstable_sxConfig),g.unstable_sx=function(S){return Vn({sx:S,theme:this})},g}const Pf=Object.freeze(Object.defineProperty({__proto__:null,default:Kn,private_createBreakpoints:gl,unstable_applyStyles:Cl},Symbol.toStringTag,{value:"Module"}));function $f(t){return Object.keys(t).length===0}function Rl(t=null){const e=M.useContext(rn);return!e||$f(e)?t:e}const Mf=Kn();function Xo(t=Mf){return Rl(t)}function Af({styles:t,themeId:e,defaultTheme:n={}}){const o=Xo(n),s=typeof t=="function"?t(e&&o[e]||o):t;return F.jsx(dl,{styles:s})}const Of=["sx"],If=t=>{var e,n;const o={systemProps:{},otherProps:{}},s=(e=t==null||(n=t.theme)==null?void 0:n.unstable_sxConfig)!=null?e:Gn;return Object.keys(t).forEach(a=>{s[a]?o.systemProps[a]=t[a]:o.otherProps[a]=t[a]}),o};function Yn(t){const{sx:e}=t,n=at(t,Of),{systemProps:o,otherProps:s}=If(n);let a;return Array.isArray(e)?a=[o,...e]:typeof e=="function"?a=(...c)=>{const p=e(...c);return hr(p)?T({},o,p):o}:a=T({},o,e),T({},s,{sx:a})}const Bf=Object.freeze(Object.defineProperty({__proto__:null,default:Vn,extendSxProp:Yn,unstable_createStyleFunctionSx:wl,unstable_defaultSxConfig:Gn},Symbol.toStringTag,{value:"Module"})),El=t=>t,Tl=(()=>{let t=El;return{configure(e){t=e},generate(e){return t(e)},reset(){t=El}}})();function kl(t){var e,n,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var s=t.length;for(e=0;e<s;e++)t[e]&&(n=kl(t[e]))&&(o&&(o+=" "),o+=n)}else for(n in t)t[n]&&(o&&(o+=" "),o+=n);return o}function ot(){for(var t,e,n=0,o="",s=arguments.length;n<s;n++)(t=arguments[n])&&(e=kl(t))&&(o&&(o+=" "),o+=e);return o}const Ff=["className","component"];function zf(t={}){const{themeId:e,defaultTheme:n,defaultClassName:o="MuiBox-root",generateClassName:s}=t,a=ks("div",{shouldForwardProp:p=>p!=="theme"&&p!=="sx"&&p!=="as"})(Vn);return M.forwardRef(function(d,g){const m=Xo(n),S=Yn(d),{className:y,component:j="div"}=S,k=at(S,Ff);return F.jsx(a,T({as:j,ref:g,className:ot(y,s?s(o):o),theme:e&&m[e]||m},k))})}const Df={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function kt(t,e,n="Mui"){const o=Df[e];return o?`${n}-${o}`:`${Tl.generate(t)}-${e}`}function Et(t,e,n="Mui"){const o={};return e.forEach(s=>{o[s]=kt(t,s,n)}),o}var jl={exports:{}},Bt={};/** 23 23 * @license React 24 24 * react-is.production.js … … 28 28 * This source code is licensed under the MIT license found in the 29 29 * LICENSE file in the root directory of this source tree. 30 */var Bi=Symbol.for("react.transitional.element"),zi=Symbol.for("react.portal"),lo=Symbol.for("react.fragment"),co=Symbol.for("react.strict_mode"),uo=Symbol.for("react.profiler"),po=Symbol.for("react.consumer"),fo=Symbol.for("react.context"),ho=Symbol.for("react.forward_ref"),yo=Symbol.for("react.suspense"),go=Symbol.for("react.suspense_list"),mo=Symbol.for("react.memo"),bo=Symbol.for("react.lazy"),cd=Symbol.for("react.view_transition"),ud=Symbol.for("react.client.reference");function be(t){if(typeof t=="object"&&t!==null){var e=t.$$typeof;switch(e){case Bi:switch(t=t.type,t){case lo:case uo:case co:case yo:case go:case cd:return t;default:switch(t=t&&t.$$typeof,t){case fo:case ho:case bo:case mo:return t;case po:return t;default:return e}}case zi:return e}}}jt.ContextConsumer=po,jt.ContextProvider=fo,jt.Element=Bi,jt.ForwardRef=ho,jt.Fragment=lo,jt.Lazy=bo,jt.Memo=mo,jt.Portal=zi,jt.Profiler=uo,jt.StrictMode=co,jt.Suspense=yo,jt.SuspenseList=go,jt.isContextConsumer=function(t){return be(t)===po},jt.isContextProvider=function(t){return be(t)===fo},jt.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===Bi},jt.isForwardRef=function(t){return be(t)===ho},jt.isFragment=function(t){return be(t)===lo},jt.isLazy=function(t){return be(t)===bo},jt.isMemo=function(t){return be(t)===mo},jt.isPortal=function(t){return be(t)===zi},jt.isProfiler=function(t){return be(t)===uo},jt.isStrictMode=function(t){return be(t)===co},jt.isSuspense=function(t){return be(t)===yo},jt.isSuspenseList=function(t){return be(t)===go},jt.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===lo||t===uo||t===co||t===yo||t===go||typeof t=="object"&&t!==null&&(t.$$typeof===bo||t.$$typeof===mo||t.$$typeof===fo||t.$$typeof===po||t.$$typeof===ho||t.$$typeof===ud||t.getModuleId!==void 0)},jt.typeOf=be,ba.exports=jt;var va=ba.exports;const pd=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function xa(t){const e=`${t}`.match(pd);return e&&e[1]||""}function Sa(t,e=""){return t.displayName||t.name||xa(t)||e}function wa(t,e,n){const i=Sa(e);return t.displayName||(i!==""?`${n}(${i})`:n)}function dd(t){if(t!=null){if(typeof t=="string")return t;if(typeof t=="function")return Sa(t,"Component");if(typeof t=="object")switch(t.$$typeof){case va.ForwardRef:return wa(t,t.render,"ForwardRef");case va.Memo:return wa(t,t.type,"memo");default:return}}}const fd=Object.freeze(Object.defineProperty({__proto__:null,default:dd,getFunctionName:xa},Symbol.toStringTag,{value:"Module"})),hd=["ownerState"],yd=["variants"],gd=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function md(t){return Object.keys(t).length===0}function bd(t){return typeof t=="string"&&t.charCodeAt(0)>96}function Ni(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const vd=mn(),xd=t=>t&&t.charAt(0).toLowerCase()+t.slice(1);function vo({defaultTheme:t,theme:e,themeId:n}){return md(e)?t:e[n]||e}function Sd(t){return t?(e,n)=>n[t]:null}function xo(t,e){let{ownerState:n}=e,i=nt(e,hd);const s=typeof t=="function"?t(k({ownerState:n},i)):t;if(Array.isArray(s))return s.flatMap(l=>xo(l,k({ownerState:n},i)));if(s&&typeof s=="object"&&Array.isArray(s.variants)){const{variants:l=[]}=s;let d=nt(s,yd);return l.forEach(f=>{let g=!0;typeof f.props=="function"?g=f.props(k({ownerState:n},i,n)):Object.keys(f.props).forEach(x=>{(n==null?void 0:n[x])!==f.props[x]&&i[x]!==f.props[x]&&(g=!1)}),g&&(Array.isArray(d)||(d=[d]),d.push(typeof f.style=="function"?f.style(k({ownerState:n},i,n)):f.style))}),d}return s}function wd(t={}){const{themeId:e,defaultTheme:n=vd,rootShouldForwardProp:i=Ni,slotShouldForwardProp:s=Ni}=t,l=c=>gn(k({},c,{theme:vo(k({},c,{defaultTheme:n,themeId:e}))}));return l.__mui_systemSx=!0,(c,d={})=>{na(c,L=>L.filter(U=>!(U!=null&&U.__mui_systemSx)));const{name:f,slot:g,skipVariantsResolver:x,skipSx:T,overridesResolver:m=Sd(xd(g))}=d,M=nt(d,gd),R=x!==void 0?x:g&&g!=="Root"&&g!=="root"||!1,E=T||!1;let A,h=Ni;g==="Root"||g==="root"?h=i:g?h=s:bd(c)&&(h=void 0);const $=$i(c,k({shouldForwardProp:h,label:A},M)),z=L=>typeof L=="function"&&L.__emotion_real!==L||Ge(L)?U=>xo(L,k({},U,{theme:vo({theme:U.theme,defaultTheme:n,themeId:e})})):L,D=(L,...U)=>{let C=z(L);const at=U?U.map(z):[];f&&m&&at.push(Y=>{const Z=vo(k({},Y,{defaultTheme:n,themeId:e}));if(!Z.components||!Z.components[f]||!Z.components[f].styleOverrides)return null;const N=Z.components[f].styleOverrides,Q={};return Object.entries(N).forEach(([dt,ft])=>{Q[dt]=xo(ft,k({},Y,{theme:Z}))}),m(Y,Q)}),f&&!R&&at.push(Y=>{var Z;const N=vo(k({},Y,{defaultTheme:n,themeId:e})),Q=N==null||(Z=N.components)==null||(Z=Z[f])==null?void 0:Z.variants;return xo({variants:Q},k({},Y,{theme:N}))}),E||at.push(l);const pt=at.length-U.length;if(Array.isArray(L)&&pt>0){const Y=new Array(pt).fill("");C=[...L,...Y],C.raw=[...L.raw,...Y]}const K=$(C,...at);return c.muiName&&(K.muiName=c.muiName),K};return $.withConfig&&(D.withConfig=$.withConfig),D}}const Cd=wd();function vn(t,e){const n=k({},e);return Object.keys(t).forEach(i=>{if(i.toString().match(/^(components|slots)$/))n[i]=k({},t[i],n[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){const s=t[i]||{},l=e[i];n[i]={},!l||!Object.keys(l)?n[i]=s:!s||!Object.keys(s)?n[i]=l:(n[i]=k({},l),Object.keys(s).forEach(c=>{n[i][c]=vn(s[c],l[c])}))}else n[i]===void 0&&(n[i]=t[i])}),n}function kd(t){const{theme:e,name:n,props:i}=t;return!e||!e.components||!e.components[n]||!e.components[n].defaultProps?i:vn(e.components[n].defaultProps,i)}function Rd({props:t,name:e,defaultTheme:n,themeId:i}){let s=ao(n);return i&&(s=s[i]||s),kd({theme:s,name:e,props:t})}const _i=typeof window<"u"?O.useLayoutEffect:O.useEffect;function Td(t,e=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(e,Math.min(t,n))}const Ed=Object.freeze(Object.defineProperty({__proto__:null,default:Td},Symbol.toStringTag,{value:"Module"}));function Ca(t,e=166){let n;function i(...s){const l=()=>{t.apply(this,s)};clearTimeout(n),n=setTimeout(l,e)}return i.clear=()=>{clearTimeout(n)},i}function jd(t,e){var n,i;return O.isValidElement(t)&&e.indexOf((n=t.type.muiName)!=null?n:(i=t.type)==null||(i=i._payload)==null||(i=i.value)==null?void 0:i.muiName)!==-1}function ka(t){return t&&t.ownerDocument||document}function Ra(t){return ka(t).defaultView||window}function $d(t,e){typeof t=="function"?t(e):t&&(t.current=e)}function cr(t){const e=O.useRef(t);return _i(()=>{e.current=t}),O.useRef((...n)=>(0,e.current)(...n)).current}function nr(...t){return O.useMemo(()=>t.every(e=>e==null)?null:e=>{t.forEach(n=>{$d(n,e)})},t)}const Ta={};function Md(t,e){const n=O.useRef(Ta);return n.current===Ta&&(n.current=t(e)),n}const Ad=[];function Pd(t){O.useEffect(t,Ad)}class So{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new So}start(e,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},e)}}function Ea(){const t=Md(So.create).current;return Pd(t.disposeEffect),t}let wo=!0,Fi=!1;const Od=new So,Id={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 Bd(t){const{type:e,tagName:n}=t;return!!(n==="INPUT"&&Id[e]&&!t.readOnly||n==="TEXTAREA"&&!t.readOnly||t.isContentEditable)}function zd(t){t.metaKey||t.altKey||t.ctrlKey||(wo=!0)}function Di(){wo=!1}function Nd(){this.visibilityState==="hidden"&&Fi&&(wo=!0)}function _d(t){t.addEventListener("keydown",zd,!0),t.addEventListener("mousedown",Di,!0),t.addEventListener("pointerdown",Di,!0),t.addEventListener("touchstart",Di,!0),t.addEventListener("visibilitychange",Nd,!0)}function Fd(t){const{target:e}=t;try{return e.matches(":focus-visible")}catch{}return wo||Bd(e)}function ja(){const t=O.useCallback(s=>{s!=null&&_d(s.ownerDocument)},[]),e=O.useRef(!1);function n(){return e.current?(Fi=!0,Od.start(100,()=>{Fi=!1}),e.current=!1,!0):!1}function i(s){return Fd(s)?(e.current=!0,!0):!1}return{isFocusVisibleRef:e,onFocus:i,onBlur:n,ref:t}}let Or;function $a(){if(Or)return Or;const t=document.createElement("div"),e=document.createElement("div");return e.style.width="10px",e.style.height="1px",t.appendChild(e),t.dir="rtl",t.style.fontSize="14px",t.style.width="4px",t.style.height="1px",t.style.position="absolute",t.style.top="-1000px",t.style.overflow="scroll",document.body.appendChild(t),Or="reverse",t.scrollLeft>0?Or="default":(t.scrollLeft=1,t.scrollLeft===0&&(Or="negative")),document.body.removeChild(t),Or}function Dd(t,e){const n=t.scrollLeft;if(e!=="rtl")return n;switch($a()){case"negative":return t.scrollWidth-t.clientWidth+n;case"reverse":return t.scrollWidth-t.clientWidth-n;default:return n}}function kt(t,e,n=void 0){const i={};return Object.keys(t).forEach(s=>{i[s]=t[s].reduce((l,c)=>{if(c){const d=e(c);d!==""&&l.push(d),n&&n[c]&&l.push(n[c])}return l},[]).join(" ")}),i}function Li(t){return typeof t=="string"}function Ma(t,e,n){return t===void 0||Li(t)?e:k({},e,{ownerState:k({},e.ownerState,n)})}function Ld(t,e=[]){if(t===void 0)return{};const n={};return Object.keys(t).filter(i=>i.match(/^on[A-Z]/)&&typeof t[i]=="function"&&!e.includes(i)).forEach(i=>{n[i]=t[i]}),n}function Aa(t){if(t===void 0)return{};const e={};return Object.keys(t).filter(n=>!(n.match(/^on[A-Z]/)&&typeof t[n]=="function")).forEach(n=>{e[n]=t[n]}),e}function Pa(t){const{getSlotProps:e,additionalProps:n,externalSlotProps:i,externalForwardedProps:s,className:l}=t;if(!e){const M=J(n==null?void 0:n.className,l,s==null?void 0:s.className,i==null?void 0:i.className),R=k({},n==null?void 0:n.style,s==null?void 0:s.style,i==null?void 0:i.style),E=k({},n,s,i);return M.length>0&&(E.className=M),Object.keys(R).length>0&&(E.style=R),{props:E,internalRef:void 0}}const c=Ld(k({},s,i)),d=Aa(i),f=Aa(s),g=e(c),x=J(g==null?void 0:g.className,n==null?void 0:n.className,l,s==null?void 0:s.className,i==null?void 0:i.className),T=k({},g==null?void 0:g.style,n==null?void 0:n.style,s==null?void 0:s.style,i==null?void 0:i.style),m=k({},g,n,f,d);return x.length>0&&(m.className=x),Object.keys(T).length>0&&(m.style=T),{props:m,internalRef:g.ref}}function Oa(t,e,n){return typeof t=="function"?t(e,n):t}const Wd=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Co(t){var e;const{elementType:n,externalSlotProps:i,ownerState:s,skipResolvingSlotProps:l=!1}=t,c=nt(t,Wd),d=l?{}:Oa(i,s),{props:f,internalRef:g}=Pa(k({},c,{externalSlotProps:d})),x=nr(g,d==null?void 0:d.ref,(e=t.additionalProps)==null?void 0:e.ref);return Ma(n,k({},f,{ref:x}),s)}const Ia=O.createContext(null);function Ba(){return O.useContext(Ia)}const Ud=typeof Symbol=="function"&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Vd(t,e){return typeof e=="function"?e(t):k({},t,e)}function Hd(t){const{children:e,theme:n}=t,i=Ba(),s=O.useMemo(()=>{const l=i===null?n:Vd(i,n);return l!=null&&(l[Ud]=i!==null),l},[n,i]);return B.jsx(Ia.Provider,{value:s,children:e})}const Gd=["value"],za=O.createContext();function Kd(t){let{value:e}=t,n=nt(t,Gd);return B.jsx(za.Provider,k({value:e??!0},n))}const Wi=()=>{const t=O.useContext(za);return t??!1},Na=O.createContext(void 0);function qd({value:t,children:e}){return B.jsx(Na.Provider,{value:t,children:e})}function Yd(t){const{theme:e,name:n,props:i}=t;if(!e||!e.components||!e.components[n])return i;const s=e.components[n];return s.defaultProps?vn(s.defaultProps,i):!s.styleOverrides&&!s.variants?vn(s,i):i}function Xd({props:t,name:e}){const n=O.useContext(Na);return Yd({props:t,name:e,theme:{components:n}})}const _a={};function Fa(t,e,n,i=!1){return O.useMemo(()=>{const s=t&&e[t]||e;if(typeof n=="function"){const l=n(s),c=t?k({},e,{[t]:l}):l;return i?()=>c:c}return t?k({},e,{[t]:n}):k({},e,n)},[t,e,n,i])}function Zd(t){const{children:e,theme:n,themeId:i}=t,s=ha(_a),l=Ba()||_a,c=Fa(i,s,n),d=Fa(i,l,n,!0),f=c.direction==="rtl";return B.jsx(Hd,{theme:d,children:B.jsx(Mr.Provider,{value:c,children:B.jsx(Kd,{value:f,children:B.jsx(qd,{value:c==null?void 0:c.components,children:e})})})})}const Jd=["component","direction","spacing","divider","children","className","useFlexGap"],Qd=mn(),tf=Cd("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,e)=>e.root});function ef(t){return Rd({props:t,name:"MuiStack",defaultTheme:Qd})}function rf(t,e){const n=O.Children.toArray(t).filter(Boolean);return n.reduce((i,s,l)=>(i.push(s),l<n.length-1&&i.push(O.cloneElement(e,{key:`separator-${l}`})),i),[])}const nf=t=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[t],of=({ownerState:t,theme:e})=>{let n=k({display:"flex",flexDirection:"column"},se({theme:e},ar({values:t.direction,breakpoints:e.breakpoints.values}),i=>({flexDirection:i})));if(t.spacing){const i=Oi(e),s=Object.keys(e.breakpoints.values).reduce((f,g)=>((typeof t.spacing=="object"&&t.spacing[g]!=null||typeof t.direction=="object"&&t.direction[g]!=null)&&(f[g]=!0),f),{}),l=ar({values:t.direction,base:s}),c=ar({values:t.spacing,base:s});typeof l=="object"&&Object.keys(l).forEach((f,g,x)=>{if(!l[f]){const m=g>0?l[x[g-1]]:"column";l[f]=m}}),n=ye(n,se({theme:e},c,(f,g)=>t.useFlexGap?{gap:lr(i,f)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${nf(g?l[g]:t.direction)}`]:lr(i,f)}}))}return n=up(e.breakpoints,n),n};function sf(t={}){const{createStyledComponent:e=tf,useThemeProps:n=ef,componentName:i="MuiStack"}=t,s=()=>kt({root:["root"]},f=>Ct(i,f),{}),l=e(of);return O.forwardRef(function(f,g){const x=n(f),T=bn(x),{component:m="div",direction:M="column",spacing:R=0,divider:E,children:A,className:h,useFlexGap:$=!1}=T,z=nt(T,Jd),D={direction:M,spacing:R,useFlexGap:$},L=s();return B.jsx(l,k({as:m,ownerState:D,ref:g,className:J(L.root,h)},z,{children:E?rf(A,E):A}))})}function af(t,e){return k({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},e)}var Wt={},Da={exports:{}};(function(t){function e(n){return n&&n.__esModule?n:{default:n}}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})(Da);var La=Da.exports;const lf=rr(Yc),cf=rr(Ed);var Wa=La;Object.defineProperty(Wt,"__esModule",{value:!0});var Tt=Wt.alpha=Ka;Wt.blend=xf,Wt.colorChannel=void 0;var xn=Wt.darken=Vi;Wt.decomposeColor=ve,Wt.emphasize=qa;var uf=Wt.getContrastRatio=yf;Wt.getLuminance=ko,Wt.hexToRgb=Va,Wt.hslToRgb=Ga;var Sn=Wt.lighten=Hi;Wt.private_safeAlpha=gf,Wt.private_safeColorChannel=void 0,Wt.private_safeDarken=mf,Wt.private_safeEmphasize=vf,Wt.private_safeLighten=bf,Wt.recomposeColor=Ir,Wt.rgbToHex=hf;var Ua=Wa(lf),pf=Wa(cf);function Ui(t,e=0,n=1){return(0,pf.default)(t,e,n)}function Va(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let n=t.match(e);return n&&n[0].length===1&&(n=n.map(i=>i+i)),n?`rgb${n.length===4?"a":""}(${n.map((i,s)=>s<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function df(t){const e=t.toString(16);return e.length===1?`0${e}`:e}function ve(t){if(t.type)return t;if(t.charAt(0)==="#")return ve(Va(t));const e=t.indexOf("("),n=t.substring(0,e);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,Ua.default)(9,t));let i=t.substring(e+1,t.length-1),s;if(n==="color"){if(i=i.split(" "),s=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(s)===-1)throw new Error((0,Ua.default)(10,s))}else i=i.split(",");return i=i.map(l=>parseFloat(l)),{type:n,values:i,colorSpace:s}}const Ha=t=>{const e=ve(t);return e.values.slice(0,3).map((n,i)=>e.type.indexOf("hsl")!==-1&&i!==0?`${n}%`:n).join(" ")};Wt.colorChannel=Ha;const ff=(t,e)=>{try{return Ha(t)}catch{return t}};Wt.private_safeColorChannel=ff;function Ir(t){const{type:e,colorSpace:n}=t;let{values:i}=t;return e.indexOf("rgb")!==-1?i=i.map((s,l)=>l<3?parseInt(s,10):s):e.indexOf("hsl")!==-1&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),e.indexOf("color")!==-1?i=`${n} ${i.join(" ")}`:i=`${i.join(", ")}`,`${e}(${i})`}function hf(t){if(t.indexOf("#")===0)return t;const{values:e}=ve(t);return`#${e.map((n,i)=>df(i===3?Math.round(255*n):n)).join("")}`}function Ga(t){t=ve(t);const{values:e}=t,n=e[0],i=e[1]/100,s=e[2]/100,l=i*Math.min(s,1-s),c=(g,x=(g+n/30)%12)=>s-l*Math.max(Math.min(x-3,9-x,1),-1);let d="rgb";const f=[Math.round(c(0)*255),Math.round(c(8)*255),Math.round(c(4)*255)];return t.type==="hsla"&&(d+="a",f.push(e[3])),Ir({type:d,values:f})}function ko(t){t=ve(t);let e=t.type==="hsl"||t.type==="hsla"?ve(Ga(t)).values:t.values;return e=e.map(n=>(t.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function yf(t,e){const n=ko(t),i=ko(e);return(Math.max(n,i)+.05)/(Math.min(n,i)+.05)}function Ka(t,e){return t=ve(t),e=Ui(e),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${e}`:t.values[3]=e,Ir(t)}function gf(t,e,n){try{return Ka(t,e)}catch{return t}}function Vi(t,e){if(t=ve(t),e=Ui(e),t.type.indexOf("hsl")!==-1)t.values[2]*=1-e;else if(t.type.indexOf("rgb")!==-1||t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]*=1-e;return Ir(t)}function mf(t,e,n){try{return Vi(t,e)}catch{return t}}function Hi(t,e){if(t=ve(t),e=Ui(e),t.type.indexOf("hsl")!==-1)t.values[2]+=(100-t.values[2])*e;else if(t.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return Ir(t)}function bf(t,e,n){try{return Hi(t,e)}catch{return t}}function qa(t,e=.15){return ko(t)>.5?Vi(t,e):Hi(t,e)}function vf(t,e,n){try{return qa(t,e)}catch{return t}}function xf(t,e,n,i=1){const s=(f,g)=>Math.round((f**(1/i)*(1-n)+g**(1/i)*n)**i),l=ve(t),c=ve(e),d=[s(l.values[0],c.values[0]),s(l.values[1],c.values[1]),s(l.values[2],c.values[2])];return Ir({type:"rgb",values:d})}const Sf=["mode","contrastThreshold","tonalOffset"],Ya={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:nn.white,default:nn.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}},Gi={text:{primary:nn.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:nn.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 Xa(t,e,n,i){const s=i.light||i,l=i.dark||i*1.5;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:e==="light"?t.light=Sn(t.main,s):e==="dark"&&(t.dark=xn(t.main,l)))}function wf(t="light"){return t==="dark"?{main:Cr[200],light:Cr[50],dark:Cr[400]}:{main:Cr[700],light:Cr[400],dark:Cr[800]}}function Cf(t="light"){return t==="dark"?{main:wr[200],light:wr[50],dark:wr[400]}:{main:wr[500],light:wr[300],dark:wr[700]}}function kf(t="light"){return t==="dark"?{main:Sr[500],light:Sr[300],dark:Sr[700]}:{main:Sr[700],light:Sr[400],dark:Sr[800]}}function Rf(t="light"){return t==="dark"?{main:kr[400],light:kr[300],dark:kr[700]}:{main:kr[700],light:kr[500],dark:kr[900]}}function Tf(t="light"){return t==="dark"?{main:Rr[400],light:Rr[300],dark:Rr[700]}:{main:Rr[800],light:Rr[500],dark:Rr[900]}}function Ef(t="light"){return t==="dark"?{main:on[400],light:on[300],dark:on[700]}:{main:"#ed6c02",light:on[500],dark:on[900]}}function jf(t){const{mode:e="light",contrastThreshold:n=3,tonalOffset:i=.2}=t,s=nt(t,Sf),l=t.primary||wf(e),c=t.secondary||Cf(e),d=t.error||kf(e),f=t.info||Rf(e),g=t.success||Tf(e),x=t.warning||Ef(e);function T(E){return uf(E,Gi.text.primary)>=n?Gi.text.primary:Ya.text.primary}const m=({color:E,name:A,mainShade:h=500,lightShade:$=300,darkShade:z=700})=>{if(E=k({},E),!E.main&&E[h]&&(E.main=E[h]),!E.hasOwnProperty("main"))throw new Error(sn(11,A?` (${A})`:"",h));if(typeof E.main!="string")throw new Error(sn(12,A?` (${A})`:"",JSON.stringify(E.main)));return Xa(E,"light",$,i),Xa(E,"dark",z,i),E.contrastText||(E.contrastText=T(E.main)),E},M={dark:Gi,light:Ya};return ye(k({common:k({},nn),mode:e,primary:m({color:l,name:"primary"}),secondary:m({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:d,name:"error"}),warning:m({color:x,name:"warning"}),info:m({color:f,name:"info"}),success:m({color:g,name:"success"}),grey:qc,contrastThreshold:n,getContrastText:T,augmentColor:m,tonalOffset:i},M[e]),s)}const $f=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Mf(t){return Math.round(t*1e5)/1e5}const Za={textTransform:"uppercase"},Ja='"Roboto", "Helvetica", "Arial", sans-serif';function Af(t,e){const n=typeof e=="function"?e(t):e,{fontFamily:i=Ja,fontSize:s=14,fontWeightLight:l=300,fontWeightRegular:c=400,fontWeightMedium:d=500,fontWeightBold:f=700,htmlFontSize:g=16,allVariants:x,pxToRem:T}=n,m=nt(n,$f),M=s/14,R=T||(h=>`${h/g*M}rem`),E=(h,$,z,D,L)=>k({fontFamily:i,fontWeight:h,fontSize:R($),lineHeight:z},i===Ja?{letterSpacing:`${Mf(D/$)}em`}:{},L,x),A={h1:E(l,96,1.167,-1.5),h2:E(l,60,1.2,-.5),h3:E(c,48,1.167,0),h4:E(c,34,1.235,.25),h5:E(c,24,1.334,0),h6:E(d,20,1.6,.15),subtitle1:E(c,16,1.75,.15),subtitle2:E(d,14,1.57,.1),body1:E(c,16,1.5,.15),body2:E(c,14,1.43,.15),button:E(d,14,1.75,.4,Za),caption:E(c,12,1.66,.4),overline:E(c,12,2.66,1,Za),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return ye(k({htmlFontSize:g,pxToRem:R,fontFamily:i,fontSize:s,fontWeightLight:l,fontWeightRegular:c,fontWeightMedium:d,fontWeightBold:f},A),m,{clone:!1})}const Pf=.2,Of=.14,If=.12;function Pt(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${Pf})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${Of})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${If})`].join(",")}const Bf=["none",Pt(0,2,1,-1,0,1,1,0,0,1,3,0),Pt(0,3,1,-2,0,2,2,0,0,1,5,0),Pt(0,3,3,-2,0,3,4,0,0,1,8,0),Pt(0,2,4,-1,0,4,5,0,0,1,10,0),Pt(0,3,5,-1,0,5,8,0,0,1,14,0),Pt(0,3,5,-1,0,6,10,0,0,1,18,0),Pt(0,4,5,-2,0,7,10,1,0,2,16,1),Pt(0,5,5,-3,0,8,10,1,0,3,14,2),Pt(0,5,6,-3,0,9,12,1,0,3,16,2),Pt(0,6,6,-3,0,10,14,1,0,4,18,3),Pt(0,6,7,-4,0,11,15,1,0,4,20,3),Pt(0,7,8,-4,0,12,17,2,0,5,22,4),Pt(0,7,8,-4,0,13,19,2,0,5,24,4),Pt(0,7,9,-4,0,14,21,2,0,5,26,4),Pt(0,8,9,-5,0,15,22,2,0,6,28,5),Pt(0,8,10,-5,0,16,24,2,0,6,30,5),Pt(0,8,11,-5,0,17,26,2,0,6,32,5),Pt(0,9,11,-5,0,18,28,2,0,7,34,6),Pt(0,9,12,-6,0,19,29,2,0,7,36,6),Pt(0,10,13,-6,0,20,31,3,0,8,38,7),Pt(0,10,13,-6,0,21,33,3,0,8,40,7),Pt(0,10,14,-6,0,22,35,3,0,8,42,7),Pt(0,11,14,-7,0,23,36,3,0,9,44,8),Pt(0,11,15,-7,0,24,38,3,0,9,46,8)],zf=["duration","easing","delay"],Nf={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)"},Qa={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function tl(t){return`${Math.round(t)}ms`}function _f(t){if(!t)return 0;const e=t/36;return Math.round((4+15*e**.25+e/5)*10)}function Ff(t){const e=k({},Nf,t.easing),n=k({},Qa,t.duration);return k({getAutoHeightDuration:_f,create:(s=["all"],l={})=>{const{duration:c=n.standard,easing:d=e.easeInOut,delay:f=0}=l;return nt(l,zf),(Array.isArray(s)?s:[s]).map(g=>`${g} ${typeof c=="string"?c:tl(c)} ${d} ${typeof f=="string"?f:tl(f)}`).join(",")}},t,{easing:e,duration:n})}const Df={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Lf=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function el(t={},...e){const{mixins:n={},palette:i={},transitions:s={},typography:l={}}=t,c=nt(t,Lf);if(t.vars&&t.generateCssVars===void 0)throw new Error(sn(18));const d=jf(i),f=mn(t);let g=ye(f,{mixins:af(f.breakpoints,n),palette:d,shadows:Bf.slice(),typography:Af(d,l),transitions:Ff(s),zIndex:k({},Df)});return g=ye(g,c),g=e.reduce((x,T)=>ye(x,T),g),g.unstable_sxConfig=k({},yn,c==null?void 0:c.unstable_sxConfig),g.unstable_sx=function(T){return gn({sx:T,theme:this})},g}const Ki=el();function qi(){const t=ao(Ki);return t[Tr]||t}var wn={},Yi={exports:{}},rl;function Wf(){return rl||(rl=1,function(t){function e(n,i){if(n==null)return{};var s={};for(var l in n)if({}.hasOwnProperty.call(n,l)){if(i.indexOf(l)!==-1)continue;s[l]=n[l]}return s}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(Yi)),Yi.exports}const Uf=rr(ip),Vf=rr(sp),Hf=rr(dp),Gf=rr(fd),Kf=rr(Qp),qf=rr(id);var Br=La;Object.defineProperty(wn,"__esModule",{value:!0});var Yf=wn.default=lh;wn.shouldForwardProp=Ro,wn.systemDefaultTheme=void 0;var xe=Br(Js()),Xi=Br(Wf()),nl=rh(Uf),Xf=Vf;Br(Hf),Br(Gf);var Zf=Br(Kf),Jf=Br(qf);const Qf=["ownerState"],th=["variants"],eh=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function ol(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(ol=function(i){return i?n:e})(t)}function rh(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var n=ol(e);if(n&&n.has(t))return n.get(t);var i={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if(l!=="default"&&Object.prototype.hasOwnProperty.call(t,l)){var c=s?Object.getOwnPropertyDescriptor(t,l):null;c&&(c.get||c.set)?Object.defineProperty(i,l,c):i[l]=t[l]}return i.default=t,n&&n.set(t,i),i}function nh(t){return Object.keys(t).length===0}function oh(t){return typeof t=="string"&&t.charCodeAt(0)>96}function Ro(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const ih=wn.systemDefaultTheme=(0,Zf.default)(),sh=t=>t&&t.charAt(0).toLowerCase()+t.slice(1);function To({defaultTheme:t,theme:e,themeId:n}){return nh(e)?t:e[n]||e}function ah(t){return t?(e,n)=>n[t]:null}function Eo(t,e){let{ownerState:n}=e,i=(0,Xi.default)(e,Qf);const s=typeof t=="function"?t((0,xe.default)({ownerState:n},i)):t;if(Array.isArray(s))return s.flatMap(l=>Eo(l,(0,xe.default)({ownerState:n},i)));if(s&&typeof s=="object"&&Array.isArray(s.variants)){const{variants:l=[]}=s;let d=(0,Xi.default)(s,th);return l.forEach(f=>{let g=!0;typeof f.props=="function"?g=f.props((0,xe.default)({ownerState:n},i,n)):Object.keys(f.props).forEach(x=>{(n==null?void 0:n[x])!==f.props[x]&&i[x]!==f.props[x]&&(g=!1)}),g&&(Array.isArray(d)||(d=[d]),d.push(typeof f.style=="function"?f.style((0,xe.default)({ownerState:n},i,n)):f.style))}),d}return s}function lh(t={}){const{themeId:e,defaultTheme:n=ih,rootShouldForwardProp:i=Ro,slotShouldForwardProp:s=Ro}=t,l=c=>(0,Jf.default)((0,xe.default)({},c,{theme:To((0,xe.default)({},c,{defaultTheme:n,themeId:e}))}));return l.__mui_systemSx=!0,(c,d={})=>{(0,nl.internal_processStyles)(c,L=>L.filter(U=>!(U!=null&&U.__mui_systemSx)));const{name:f,slot:g,skipVariantsResolver:x,skipSx:T,overridesResolver:m=ah(sh(g))}=d,M=(0,Xi.default)(d,eh),R=x!==void 0?x:g&&g!=="Root"&&g!=="root"||!1,E=T||!1;let A,h=Ro;g==="Root"||g==="root"?h=i:g?h=s:oh(c)&&(h=void 0);const $=(0,nl.default)(c,(0,xe.default)({shouldForwardProp:h,label:A},M)),z=L=>typeof L=="function"&&L.__emotion_real!==L||(0,Xf.isPlainObject)(L)?U=>Eo(L,(0,xe.default)({},U,{theme:To({theme:U.theme,defaultTheme:n,themeId:e})})):L,D=(L,...U)=>{let C=z(L);const at=U?U.map(z):[];f&&m&&at.push(Y=>{const Z=To((0,xe.default)({},Y,{defaultTheme:n,themeId:e}));if(!Z.components||!Z.components[f]||!Z.components[f].styleOverrides)return null;const N=Z.components[f].styleOverrides,Q={};return Object.entries(N).forEach(([dt,ft])=>{Q[dt]=Eo(ft,(0,xe.default)({},Y,{theme:Z}))}),m(Y,Q)}),f&&!R&&at.push(Y=>{var Z;const N=To((0,xe.default)({},Y,{defaultTheme:n,themeId:e})),Q=N==null||(Z=N.components)==null||(Z=Z[f])==null?void 0:Z.variants;return Eo({variants:Q},(0,xe.default)({},Y,{theme:N}))}),E||at.push(l);const pt=at.length-U.length;if(Array.isArray(L)&&pt>0){const Y=new Array(pt).fill("");C=[...L,...Y],C.raw=[...L.raw,...Y]}const K=$(C,...at);return c.muiName&&(K.muiName=c.muiName),K};return $.withConfig&&(D.withConfig=$.withConfig),D}}function ch(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const il=t=>ch(t)&&t!=="classes",st=Yf({themeId:Tr,defaultTheme:Ki,rootShouldForwardProp:il}),uh=["theme"];function ph(t){let{theme:e}=t,n=nt(t,uh);const i=e[Tr];let s=i||e;return typeof e!="function"&&(i&&!i.vars?s=k({},i,{vars:null}):e&&!e.vars&&(s=k({},e,{vars:null}))),B.jsx(Zd,k({},n,{themeId:i?Tr:void 0,theme:s}))}const sl=t=>{let e;return t<1?e=5.11916*t**2:e=4.5*Math.log(t+1)+2,(e/100).toFixed(2)};function vt(t){return Xd(t)}function dh(t){return Ct("MuiSvgIcon",t)}bt("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const fh=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],hh=t=>{const{color:e,fontSize:n,classes:i}=t,s={root:["root",e!=="inherit"&&`color${H(e)}`,`fontSize${H(n)}`]};return kt(s,dh,i)},yh=st("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.color!=="inherit"&&e[`color${H(n.color)}`],e[`fontSize${H(n.fontSize)}`]]}})(({theme:t,ownerState:e})=>{var n,i,s,l,c,d,f,g,x,T,m,M,R;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:e.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=t.transitions)==null||(i=n.create)==null?void 0:i.call(n,"fill",{duration:(s=t.transitions)==null||(s=s.duration)==null?void 0:s.shorter}),fontSize:{inherit:"inherit",small:((l=t.typography)==null||(c=l.pxToRem)==null?void 0:c.call(l,20))||"1.25rem",medium:((d=t.typography)==null||(f=d.pxToRem)==null?void 0:f.call(d,24))||"1.5rem",large:((g=t.typography)==null||(x=g.pxToRem)==null?void 0:x.call(g,35))||"2.1875rem"}[e.fontSize],color:(T=(m=(t.vars||t).palette)==null||(m=m[e.color])==null?void 0:m.main)!=null?T:{action:(M=(t.vars||t).palette)==null||(M=M.action)==null?void 0:M.active,disabled:(R=(t.vars||t).palette)==null||(R=R.action)==null?void 0:R.disabled,inherit:void 0}[e.color]}}),al=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiSvgIcon"}),{children:s,className:l,color:c="inherit",component:d="svg",fontSize:f="medium",htmlColor:g,inheritViewBox:x=!1,titleAccess:T,viewBox:m="0 0 24 24"}=i,M=nt(i,fh),R=O.isValidElement(s)&&s.type==="svg",E=k({},i,{color:c,component:d,fontSize:f,instanceFontSize:e.fontSize,inheritViewBox:x,viewBox:m,hasSvgAsChild:R}),A={};x||(A.viewBox=m);const h=hh(E);return B.jsxs(yh,k({as:d,className:J(h.root,l),focusable:"false",color:g,"aria-hidden":T?void 0:!0,role:T?"img":void 0,ref:n},A,M,R&&s.props,{ownerState:E,children:[R?s.props.children:s,T?B.jsx("title",{children:T}):null]}))});al.muiName="SvgIcon";const ll=al;function Mt(t,e){function n(i,s){return B.jsx(ll,k({"data-testid":`${e}Icon`,ref:s},i,{children:t}))}return n.muiName=ll.muiName,O.memo(O.forwardRef(n))}function Zi(t,e){return Zi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Zi(t,e)}function cl(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Zi(t,e)}const ul={disabled:!1},jo=mt.createContext(null);var gh=function(e){return e.scrollTop},Cn="unmounted",ur="exited",pr="entering",zr="entered",Ji="exiting",Ke=function(t){cl(e,t);function e(i,s){var l;l=t.call(this,i,s)||this;var c=s,d=c&&!c.isMounting?i.enter:i.appear,f;return l.appearStatus=null,i.in?d?(f=ur,l.appearStatus=pr):f=zr:i.unmountOnExit||i.mountOnEnter?f=Cn:f=ur,l.state={status:f},l.nextCallback=null,l}e.getDerivedStateFromProps=function(s,l){var c=s.in;return c&&l.status===Cn?{status:ur}:null};var n=e.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(s){var l=null;if(s!==this.props){var c=this.state.status;this.props.in?c!==pr&&c!==zr&&(l=pr):(c===pr||c===zr)&&(l=Ji)}this.updateStatus(!1,l)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var s=this.props.timeout,l,c,d;return l=c=d=s,s!=null&&typeof s!="number"&&(l=s.exit,c=s.enter,d=s.appear!==void 0?s.appear:c),{exit:l,enter:c,appear:d}},n.updateStatus=function(s,l){if(s===void 0&&(s=!1),l!==null)if(this.cancelNextCallback(),l===pr){if(this.props.unmountOnExit||this.props.mountOnEnter){var c=this.props.nodeRef?this.props.nodeRef.current:rn.findDOMNode(this);c&&gh(c)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ur&&this.setState({status:Cn})},n.performEnter=function(s){var l=this,c=this.props.enter,d=this.context?this.context.isMounting:s,f=this.props.nodeRef?[d]:[rn.findDOMNode(this),d],g=f[0],x=f[1],T=this.getTimeouts(),m=d?T.appear:T.enter;if(!s&&!c||ul.disabled){this.safeSetState({status:zr},function(){l.props.onEntered(g)});return}this.props.onEnter(g,x),this.safeSetState({status:pr},function(){l.props.onEntering(g,x),l.onTransitionEnd(m,function(){l.safeSetState({status:zr},function(){l.props.onEntered(g,x)})})})},n.performExit=function(){var s=this,l=this.props.exit,c=this.getTimeouts(),d=this.props.nodeRef?void 0:rn.findDOMNode(this);if(!l||ul.disabled){this.safeSetState({status:ur},function(){s.props.onExited(d)});return}this.props.onExit(d),this.safeSetState({status:Ji},function(){s.props.onExiting(d),s.onTransitionEnd(c.exit,function(){s.safeSetState({status:ur},function(){s.props.onExited(d)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(s,l){l=this.setNextCallback(l),this.setState(s,l)},n.setNextCallback=function(s){var l=this,c=!0;return this.nextCallback=function(d){c&&(c=!1,l.nextCallback=null,s(d))},this.nextCallback.cancel=function(){c=!1},this.nextCallback},n.onTransitionEnd=function(s,l){this.setNextCallback(l);var c=this.props.nodeRef?this.props.nodeRef.current:rn.findDOMNode(this),d=s==null&&!this.props.addEndListener;if(!c||d){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var f=this.props.nodeRef?[this.nextCallback]:[c,this.nextCallback],g=f[0],x=f[1];this.props.addEndListener(g,x)}s!=null&&setTimeout(this.nextCallback,s)},n.render=function(){var s=this.state.status;if(s===Cn)return null;var l=this.props,c=l.children;l.in,l.mountOnEnter,l.unmountOnExit,l.appear,l.enter,l.exit,l.timeout,l.addEndListener,l.onEnter,l.onEntering,l.onEntered,l.onExit,l.onExiting,l.onExited,l.nodeRef;var d=nt(l,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return mt.createElement(jo.Provider,{value:null},typeof c=="function"?c(s,d):mt.cloneElement(mt.Children.only(c),d))},e}(mt.Component);Ke.contextType=jo,Ke.propTypes={};function Nr(){}Ke.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Nr,onEntering:Nr,onEntered:Nr,onExit:Nr,onExiting:Nr,onExited:Nr},Ke.UNMOUNTED=Cn,Ke.EXITED=ur,Ke.ENTERING=pr,Ke.ENTERED=zr,Ke.EXITING=Ji;const mh=Ke;function bh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Qi(t,e){var n=function(l){return e&&mt.isValidElement(l)?e(l):l},i=Object.create(null);return t&&mt.Children.map(t,function(s){return s}).forEach(function(s){i[s.key]=n(s)}),i}function vh(t,e){t=t||{},e=e||{};function n(x){return x in e?e[x]:t[x]}var i=Object.create(null),s=[];for(var l in t)l in e?s.length&&(i[l]=s,s=[]):s.push(l);var c,d={};for(var f in e){if(i[f])for(c=0;c<i[f].length;c++){var g=i[f][c];d[i[f][c]]=n(g)}d[f]=n(f)}for(c=0;c<s.length;c++)d[s[c]]=n(s[c]);return d}function dr(t,e,n){return n[e]!=null?n[e]:t.props[e]}function xh(t,e){return Qi(t.children,function(n){return mt.cloneElement(n,{onExited:e.bind(null,n),in:!0,appear:dr(n,"appear",t),enter:dr(n,"enter",t),exit:dr(n,"exit",t)})})}function Sh(t,e,n){var i=Qi(t.children),s=vh(e,i);return Object.keys(s).forEach(function(l){var c=s[l];if(mt.isValidElement(c)){var d=l in e,f=l in i,g=e[l],x=mt.isValidElement(g)&&!g.props.in;f&&(!d||x)?s[l]=mt.cloneElement(c,{onExited:n.bind(null,c),in:!0,exit:dr(c,"exit",t),enter:dr(c,"enter",t)}):!f&&d&&!x?s[l]=mt.cloneElement(c,{in:!1}):f&&d&&mt.isValidElement(g)&&(s[l]=mt.cloneElement(c,{onExited:n.bind(null,c),in:g.props.in,exit:dr(c,"exit",t),enter:dr(c,"enter",t)}))}}),s}var wh=Object.values||function(t){return Object.keys(t).map(function(e){return t[e]})},Ch={component:"div",childFactory:function(e){return e}},ts=function(t){cl(e,t);function e(i,s){var l;l=t.call(this,i,s)||this;var c=l.handleExited.bind(bh(l));return l.state={contextValue:{isMounting:!0},handleExited:c,firstRender:!0},l}var n=e.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(s,l){var c=l.children,d=l.handleExited,f=l.firstRender;return{children:f?xh(s,d):Sh(s,c,d),firstRender:!1}},n.handleExited=function(s,l){var c=Qi(this.props.children);s.key in c||(s.props.onExited&&s.props.onExited(l),this.mounted&&this.setState(function(d){var f=k({},d.children);return delete f[s.key],{children:f}}))},n.render=function(){var s=this.props,l=s.component,c=s.childFactory,d=nt(s,["component","childFactory"]),f=this.state.contextValue,g=wh(this.state.children).map(c);return delete d.appear,delete d.enter,delete d.exit,l===null?mt.createElement(jo.Provider,{value:f},g):mt.createElement(jo.Provider,{value:f},mt.createElement(l,d,g))},e}(mt.Component);ts.propTypes={},ts.defaultProps=Ch;const kh=ts;function pl(t,e){var n,i;const{timeout:s,easing:l,style:c={}}=t;return{duration:(n=c.transitionDuration)!=null?n:typeof s=="number"?s:s[e.mode]||0,easing:(i=c.transitionTimingFunction)!=null?i:typeof l=="object"?l[e.mode]:l,delay:c.transitionDelay}}function Rh(t){return Ct("MuiCollapse",t)}bt("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const Th=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],Eh=t=>{const{orientation:e,classes:n}=t,i={root:["root",`${e}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${e}`],wrapperInner:["wrapperInner",`${e}`]};return kt(i,Rh,n)},jh=st("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.orientation],n.state==="entered"&&e.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&e.hidden]}})(({theme:t,ownerState:e})=>k({height:0,overflow:"hidden",transition:t.transitions.create("height")},e.orientation==="horizontal"&&{height:"auto",width:0,transition:t.transitions.create("width")},e.state==="entered"&&k({height:"auto",overflow:"visible"},e.orientation==="horizontal"&&{width:"auto"}),e.state==="exited"&&!e.in&&e.collapsedSize==="0px"&&{visibility:"hidden"})),$h=st("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(t,e)=>e.wrapper})(({ownerState:t})=>k({display:"flex",width:"100%"},t.orientation==="horizontal"&&{width:"auto",height:"100%"})),Mh=st("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(t,e)=>e.wrapperInner})(({ownerState:t})=>k({width:"100%"},t.orientation==="horizontal"&&{width:"auto",height:"100%"})),dl=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiCollapse"}),{addEndListener:s,children:l,className:c,collapsedSize:d="0px",component:f,easing:g,in:x,onEnter:T,onEntered:m,onEntering:M,onExit:R,onExited:E,onExiting:A,orientation:h="vertical",style:$,timeout:z=Qa.standard,TransitionComponent:D=mh}=i,L=nt(i,Th),U=k({},i,{orientation:h,collapsedSize:d}),C=Eh(U),at=qi(),pt=Ea(),K=O.useRef(null),Y=O.useRef(),Z=typeof d=="number"?`${d}px`:d,N=h==="horizontal",Q=N?"width":"height",dt=O.useRef(null),ft=nr(n,dt),Et=lt=>G=>{if(lt){const u=dt.current;G===void 0?lt(u):lt(u,G)}},gt=()=>K.current?K.current[N?"clientWidth":"clientHeight"]:0,ht=Et((lt,G)=>{K.current&&N&&(K.current.style.position="absolute"),lt.style[Q]=Z,T&&T(lt,G)}),$t=Et((lt,G)=>{const u=gt();K.current&&N&&(K.current.style.position="");const{duration:w,easing:V}=pl({style:$,timeout:z,easing:g},{mode:"enter"});if(z==="auto"){const Xe=at.transitions.getAutoHeightDuration(u);lt.style.transitionDuration=`${Xe}ms`,Y.current=Xe}else lt.style.transitionDuration=typeof w=="string"?w:`${w}ms`;lt.style[Q]=`${u}px`,lt.style.transitionTimingFunction=V,M&&M(lt,G)}),At=Et((lt,G)=>{lt.style[Q]="auto",m&&m(lt,G)}),pe=Et(lt=>{lt.style[Q]=`${gt()}px`,R&&R(lt)}),_e=Et(E),Ht=Et(lt=>{const G=gt(),{duration:u,easing:w}=pl({style:$,timeout:z,easing:g},{mode:"exit"});if(z==="auto"){const V=at.transitions.getAutoHeightDuration(G);lt.style.transitionDuration=`${V}ms`,Y.current=V}else lt.style.transitionDuration=typeof u=="string"?u:`${u}ms`;lt.style[Q]=Z,lt.style.transitionTimingFunction=w,A&&A(lt)}),je=lt=>{z==="auto"&&pt.start(Y.current||0,lt),s&&s(dt.current,lt)};return B.jsx(D,k({in:x,onEnter:ht,onEntered:At,onEntering:$t,onExit:pe,onExited:_e,onExiting:Ht,addEndListener:je,nodeRef:dt,timeout:z==="auto"?null:z},L,{children:(lt,G)=>B.jsx(jh,k({as:f,className:J(C.root,c,{entered:C.entered,exited:!x&&Z==="0px"&&C.hidden}[lt]),style:k({[N?"minWidth":"minHeight"]:Z},$),ref:ft},G,{ownerState:k({},U,{state:lt}),children:B.jsx($h,{ownerState:k({},U,{state:lt}),className:C.wrapper,ref:K,children:B.jsx(Mh,{ownerState:k({},U,{state:lt}),className:C.wrapperInner,children:l})})}))}))});dl.muiSupportAuto=!0;const Ah=dl;function Ph(t){return Ct("MuiPaper",t)}bt("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Oh=["className","component","elevation","square","variant"],Ih=t=>{const{square:e,elevation:n,variant:i,classes:s}=t,l={root:["root",i,!e&&"rounded",i==="elevation"&&`elevation${n}`]};return kt(l,Ph,s)},Bh=st("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],!n.square&&e.rounded,n.variant==="elevation"&&e[`elevation${n.elevation}`]]}})(({theme:t,ownerState:e})=>{var n;return k({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow")},!e.square&&{borderRadius:t.shape.borderRadius},e.variant==="outlined"&&{border:`1px solid ${(t.vars||t).palette.divider}`},e.variant==="elevation"&&k({boxShadow:(t.vars||t).shadows[e.elevation]},!t.vars&&t.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Tt("#fff",sl(e.elevation))}, ${Tt("#fff",sl(e.elevation))})`},t.vars&&{backgroundImage:(n=t.vars.overlays)==null?void 0:n[e.elevation]}))}),$o=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiPaper"}),{className:s,component:l="div",elevation:c=1,square:d=!1,variant:f="elevation"}=i,g=nt(i,Oh),x=k({},i,{component:l,elevation:c,square:d,variant:f}),T=Ih(x);return B.jsx(Bh,k({as:l,ownerState:x,className:J(T.root,s),ref:n},g))}),zh=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],Nh=["component","slots","slotProps"],_h=["component"];function fl(t,e){const{className:n,elementType:i,ownerState:s,externalForwardedProps:l,getSlotOwnerState:c,internalForwardedProps:d}=e,f=nt(e,zh),{component:g,slots:x={[t]:void 0},slotProps:T={[t]:void 0}}=l,m=nt(l,Nh),M=x[t]||i,R=Oa(T[t],s),E=Pa(k({className:n},f,{externalForwardedProps:t==="root"?m:void 0,externalSlotProps:R})),{props:{component:A},internalRef:h}=E,$=nt(E.props,_h),z=nr(h,R==null?void 0:R.ref,e.ref),D=c?c($):{},L=k({},s,D),U=t==="root"?A||g:A,C=Ma(M,k({},t==="root"&&!g&&!x[t]&&d,t!=="root"&&!x[t]&&d,$,U&&{as:U},{ref:z}),L);return Object.keys(D).forEach(at=>{delete C[at]}),[M,C]}function Fh(t){const{className:e,classes:n,pulsate:i=!1,rippleX:s,rippleY:l,rippleSize:c,in:d,onExited:f,timeout:g}=t,[x,T]=O.useState(!1),m=J(e,n.ripple,n.rippleVisible,i&&n.ripplePulsate),M={width:c,height:c,top:-(c/2)+l,left:-(c/2)+s},R=J(n.child,x&&n.childLeaving,i&&n.childPulsate);return!d&&!x&&T(!0),O.useEffect(()=>{if(!d&&f!=null){const E=setTimeout(f,g);return()=>{clearTimeout(E)}}},[f,d,g]),B.jsx("span",{className:m,style:M,children:B.jsx("span",{className:R})})}const Se=bt("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Dh=["center","classes","className"];let Mo=t=>t,hl,yl,gl,ml;const es=550,Lh=80,Wh=sr(hl||(hl=Mo`30 */var Os=Symbol.for("react.transitional.element"),Is=Symbol.for("react.portal"),Jo=Symbol.for("react.fragment"),Zo=Symbol.for("react.strict_mode"),Qo=Symbol.for("react.profiler"),ti=Symbol.for("react.consumer"),ei=Symbol.for("react.context"),ri=Symbol.for("react.forward_ref"),ni=Symbol.for("react.suspense"),oi=Symbol.for("react.suspense_list"),ii=Symbol.for("react.memo"),si=Symbol.for("react.lazy"),Nf=Symbol.for("react.view_transition"),_f=Symbol.for("react.client.reference");function Ve(t){if(typeof t=="object"&&t!==null){var e=t.$$typeof;switch(e){case Os:switch(t=t.type,t){case Jo:case Qo:case Zo:case ni:case oi:case Nf:return t;default:switch(t=t&&t.$$typeof,t){case ei:case ri:case si:case ii:return t;case ti:return t;default:return e}}case Is:return e}}}Bt.ContextConsumer=ti,Bt.ContextProvider=ei,Bt.Element=Os,Bt.ForwardRef=ri,Bt.Fragment=Jo,Bt.Lazy=si,Bt.Memo=ii,Bt.Portal=Is,Bt.Profiler=Qo,Bt.StrictMode=Zo,Bt.Suspense=ni,Bt.SuspenseList=oi,Bt.isContextConsumer=function(t){return Ve(t)===ti},Bt.isContextProvider=function(t){return Ve(t)===ei},Bt.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===Os},Bt.isForwardRef=function(t){return Ve(t)===ri},Bt.isFragment=function(t){return Ve(t)===Jo},Bt.isLazy=function(t){return Ve(t)===si},Bt.isMemo=function(t){return Ve(t)===ii},Bt.isPortal=function(t){return Ve(t)===Is},Bt.isProfiler=function(t){return Ve(t)===Qo},Bt.isStrictMode=function(t){return Ve(t)===Zo},Bt.isSuspense=function(t){return Ve(t)===ni},Bt.isSuspenseList=function(t){return Ve(t)===oi},Bt.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===Jo||t===Qo||t===Zo||t===ni||t===oi||typeof t=="object"&&t!==null&&(t.$$typeof===si||t.$$typeof===ii||t.$$typeof===ei||t.$$typeof===ti||t.$$typeof===ri||t.$$typeof===_f||t.getModuleId!==void 0)},Bt.typeOf=Ve,jl.exports=Bt;var Pl=jl.exports;const Lf=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function $l(t){const e=`${t}`.match(Lf);return e&&e[1]||""}function Ml(t,e=""){return t.displayName||t.name||$l(t)||e}function Al(t,e,n){const o=Ml(e);return t.displayName||(o!==""?`${n}(${o})`:n)}function Wf(t){if(t!=null){if(typeof t=="string")return t;if(typeof t=="function")return Ml(t,"Component");if(typeof t=="object")switch(t.$$typeof){case Pl.ForwardRef:return Al(t,t.render,"ForwardRef");case Pl.Memo:return Al(t,t.type,"memo");default:return}}}const Uf=Object.freeze(Object.defineProperty({__proto__:null,default:Wf,getFunctionName:$l},Symbol.toStringTag,{value:"Module"})),Hf=["ownerState"],Gf=["variants"],Vf=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Kf(t){return Object.keys(t).length===0}function Yf(t){return typeof t=="string"&&t.charCodeAt(0)>96}function Bs(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const qf=Kn(),Xf=t=>t&&t.charAt(0).toLowerCase()+t.slice(1);function ai({defaultTheme:t,theme:e,themeId:n}){return Kf(e)?t:e[n]||e}function Jf(t){return t?(e,n)=>n[t]:null}function li(t,e){let{ownerState:n}=e,o=at(e,Hf);const s=typeof t=="function"?t(T({ownerState:n},o)):t;if(Array.isArray(s))return s.flatMap(a=>li(a,T({ownerState:n},o)));if(s&&typeof s=="object"&&Array.isArray(s.variants)){const{variants:a=[]}=s;let p=at(s,Gf);return a.forEach(d=>{let g=!0;typeof d.props=="function"?g=d.props(T({ownerState:n},o,n)):Object.keys(d.props).forEach(m=>{(n==null?void 0:n[m])!==d.props[m]&&o[m]!==d.props[m]&&(g=!1)}),g&&(Array.isArray(p)||(p=[p]),p.push(typeof d.style=="function"?d.style(T({ownerState:n},o,n)):d.style))}),p}return s}function Zf(t={}){const{themeId:e,defaultTheme:n=qf,rootShouldForwardProp:o=Bs,slotShouldForwardProp:s=Bs}=t,a=c=>Vn(T({},c,{theme:ai(T({},c,{defaultTheme:n,themeId:e}))}));return a.__mui_systemSx=!0,(c,p={})=>{fl(c,z=>z.filter(N=>!(N!=null&&N.__mui_systemSx)));const{name:d,slot:g,skipVariantsResolver:m,skipSx:S,overridesResolver:y=Jf(Xf(g))}=p,j=at(p,Vf),k=m!==void 0?m:g&&g!=="Root"&&g!=="root"||!1,E=S||!1;let A,h=Bs;g==="Root"||g==="root"?h=o:g?h=s:Yf(c)&&(h=void 0);const P=ks(c,T({shouldForwardProp:h,label:A},j)),D=z=>typeof z=="function"&&z.__emotion_real!==z||hr(z)?N=>li(z,T({},N,{theme:ai({theme:N.theme,defaultTheme:n,themeId:e})})):z,I=(z,...N)=>{let x=D(z);const V=N?N.map(D):[];d&&y&&V.push(K=>{const J=ai(T({},K,{defaultTheme:n,themeId:e}));if(!J.components||!J.components[d]||!J.components[d].styleOverrides)return null;const _=J.components[d].styleOverrides,Q={};return Object.entries(_).forEach(([q,tt])=>{Q[q]=li(tt,T({},K,{theme:J}))}),y(K,Q)}),d&&!k&&V.push(K=>{var J;const _=ai(T({},K,{defaultTheme:n,themeId:e})),Q=_==null||(J=_.components)==null||(J=J[d])==null?void 0:J.variants;return li({variants:Q},T({},K,{theme:_}))}),E||V.push(a);const G=V.length-N.length;if(Array.isArray(z)&&G>0){const K=new Array(G).fill("");x=[...z,...K],x.raw=[...z.raw,...K]}const L=P(x,...V);return c.muiName&&(L.muiName=c.muiName),L};return P.withConfig&&(I.withConfig=P.withConfig),I}}const Qf=Zf();function qn(t,e){const n=T({},e);return Object.keys(t).forEach(o=>{if(o.toString().match(/^(components|slots)$/))n[o]=T({},t[o],n[o]);else if(o.toString().match(/^(componentsProps|slotProps)$/)){const s=t[o]||{},a=e[o];n[o]={},!a||!Object.keys(a)?n[o]=s:!s||!Object.keys(s)?n[o]=a:(n[o]=T({},a),Object.keys(s).forEach(c=>{n[o][c]=qn(s[c],a[c])}))}else n[o]===void 0&&(n[o]=t[o])}),n}function th(t){const{theme:e,name:n,props:o}=t;return!e||!e.components||!e.components[n]||!e.components[n].defaultProps?o:qn(e.components[n].defaultProps,o)}function eh({props:t,name:e,defaultTheme:n,themeId:o}){let s=Xo(n);return o&&(s=s[o]||s),th({theme:s,name:e,props:t})}const Br=typeof window<"u"?M.useLayoutEffect:M.useEffect;function rh(t,e=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(e,Math.min(t,n))}const nh=Object.freeze(Object.defineProperty({__proto__:null,default:rh},Symbol.toStringTag,{value:"Module"}));function Ol(t,e=166){let n;function o(...s){const a=()=>{t.apply(this,s)};clearTimeout(n),n=setTimeout(a,e)}return o.clear=()=>{clearTimeout(n)},o}function oh(t,e){var n,o;return M.isValidElement(t)&&e.indexOf((n=t.type.muiName)!=null?n:(o=t.type)==null||(o=o._payload)==null||(o=o.value)==null?void 0:o.muiName)!==-1}function ci(t){return t&&t.ownerDocument||document}function Il(t){return ci(t).defaultView||window}function Fs(t,e){typeof t=="function"?t(e):t&&(t.current=e)}let Bl=0;function ih(t){const[e,n]=M.useState(t),o=t||e;return M.useEffect(()=>{e==null&&(Bl+=1,n(`mui-${Bl}`))},[e]),o}const Fl=M["useId".toString()];function sh(t){if(Fl!==void 0){const e=Fl();return t??e}return ih(t)}function ah({controlled:t,default:e,name:n,state:o="value"}){const{current:s}=M.useRef(t!==void 0),[a,c]=M.useState(e),p=s?t:a,d=M.useCallback(g=>{s||c(g)},[]);return[p,d]}function gr(t){const e=M.useRef(t);return Br(()=>{e.current=t}),M.useRef((...n)=>(0,e.current)(...n)).current}function ze(...t){return M.useMemo(()=>t.every(e=>e==null)?null:e=>{t.forEach(n=>{Fs(n,e)})},t)}const zl={};function lh(t,e){const n=M.useRef(zl);return n.current===zl&&(n.current=t(e)),n}const ch=[];function uh(t){M.useEffect(t,ch)}class Xn{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Xn}start(e,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},e)}}function Fr(){const t=lh(Xn.create).current;return uh(t.disposeEffect),t}let ui=!0,zs=!1;const ph=new Xn,dh={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 fh(t){const{type:e,tagName:n}=t;return!!(n==="INPUT"&&dh[e]&&!t.readOnly||n==="TEXTAREA"&&!t.readOnly||t.isContentEditable)}function hh(t){t.metaKey||t.altKey||t.ctrlKey||(ui=!0)}function Ds(){ui=!1}function gh(){this.visibilityState==="hidden"&&zs&&(ui=!0)}function yh(t){t.addEventListener("keydown",hh,!0),t.addEventListener("mousedown",Ds,!0),t.addEventListener("pointerdown",Ds,!0),t.addEventListener("touchstart",Ds,!0),t.addEventListener("visibilitychange",gh,!0)}function mh(t){const{target:e}=t;try{return e.matches(":focus-visible")}catch{}return ui||fh(e)}function Ns(){const t=M.useCallback(s=>{s!=null&&yh(s.ownerDocument)},[]),e=M.useRef(!1);function n(){return e.current?(zs=!0,ph.start(100,()=>{zs=!1}),e.current=!1,!0):!1}function o(s){return mh(s)?(e.current=!0,!0):!1}return{isFocusVisibleRef:e,onFocus:o,onBlur:n,ref:t}}let sn;function Dl(){if(sn)return sn;const t=document.createElement("div"),e=document.createElement("div");return e.style.width="10px",e.style.height="1px",t.appendChild(e),t.dir="rtl",t.style.fontSize="14px",t.style.width="4px",t.style.height="1px",t.style.position="absolute",t.style.top="-1000px",t.style.overflow="scroll",document.body.appendChild(t),sn="reverse",t.scrollLeft>0?sn="default":(t.scrollLeft=1,t.scrollLeft===0&&(sn="negative")),document.body.removeChild(t),sn}function bh(t,e){const n=t.scrollLeft;if(e!=="rtl")return n;switch(Dl()){case"negative":return t.scrollWidth-t.clientWidth+n;case"reverse":return t.scrollWidth-t.clientWidth-n;default:return n}}function jt(t,e,n=void 0){const o={};return Object.keys(t).forEach(s=>{o[s]=t[s].reduce((a,c)=>{if(c){const p=e(c);p!==""&&a.push(p),n&&n[c]&&a.push(n[c])}return a},[]).join(" ")}),o}function _s(t){return typeof t=="string"}function an(t,e,n){return t===void 0||_s(t)?e:T({},e,{ownerState:T({},e.ownerState,n)})}function vh(t,e=[]){if(t===void 0)return{};const n={};return Object.keys(t).filter(o=>o.match(/^on[A-Z]/)&&typeof t[o]=="function"&&!e.includes(o)).forEach(o=>{n[o]=t[o]}),n}function Nl(t){if(t===void 0)return{};const e={};return Object.keys(t).filter(n=>!(n.match(/^on[A-Z]/)&&typeof t[n]=="function")).forEach(n=>{e[n]=t[n]}),e}function _l(t){const{getSlotProps:e,additionalProps:n,externalSlotProps:o,externalForwardedProps:s,className:a}=t;if(!e){const j=ot(n==null?void 0:n.className,a,s==null?void 0:s.className,o==null?void 0:o.className),k=T({},n==null?void 0:n.style,s==null?void 0:s.style,o==null?void 0:o.style),E=T({},n,s,o);return j.length>0&&(E.className=j),Object.keys(k).length>0&&(E.style=k),{props:E,internalRef:void 0}}const c=vh(T({},s,o)),p=Nl(o),d=Nl(s),g=e(c),m=ot(g==null?void 0:g.className,n==null?void 0:n.className,a,s==null?void 0:s.className,o==null?void 0:o.className),S=T({},g==null?void 0:g.style,n==null?void 0:n.style,s==null?void 0:s.style,o==null?void 0:o.style),y=T({},g,n,d,p);return m.length>0&&(y.className=m),Object.keys(S).length>0&&(y.style=S),{props:y,internalRef:g.ref}}function Ll(t,e,n){return typeof t=="function"?t(e,n):t}const xh=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Jn(t){var e;const{elementType:n,externalSlotProps:o,ownerState:s,skipResolvingSlotProps:a=!1}=t,c=at(t,xh),p=a?{}:Ll(o,s),{props:d,internalRef:g}=_l(T({},c,{externalSlotProps:p})),m=ze(g,p==null?void 0:p.ref,(e=t.additionalProps)==null?void 0:e.ref);return an(n,T({},d,{ref:m}),s)}function Ls(t){if(parseInt(M.version,10)>=19){var e;return(t==null||(e=t.props)==null?void 0:e.ref)||null}return(t==null?void 0:t.ref)||null}const Wl=M.createContext(null);function Ul(){return M.useContext(Wl)}const wh=typeof Symbol=="function"&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Sh(t,e){return typeof e=="function"?e(t):T({},t,e)}function Ch(t){const{children:e,theme:n}=t,o=Ul(),s=M.useMemo(()=>{const a=o===null?n:Sh(o,n);return a!=null&&(a[wh]=o!==null),a},[n,o]);return F.jsx(Wl.Provider,{value:s,children:e})}const Rh=["value"],Hl=M.createContext();function Eh(t){let{value:e}=t,n=at(t,Rh);return F.jsx(Hl.Provider,T({value:e??!0},n))}const pi=()=>{const t=M.useContext(Hl);return t??!1},Gl=M.createContext(void 0);function Th({value:t,children:e}){return F.jsx(Gl.Provider,{value:t,children:e})}function kh(t){const{theme:e,name:n,props:o}=t;if(!e||!e.components||!e.components[n])return o;const s=e.components[n];return s.defaultProps?qn(s.defaultProps,o):!s.styleOverrides&&!s.variants?qn(s,o):o}function jh({props:t,name:e}){const n=M.useContext(Gl);return kh({props:t,name:e,theme:{components:n}})}const Vl={};function Kl(t,e,n,o=!1){return M.useMemo(()=>{const s=t&&e[t]||e;if(typeof n=="function"){const a=n(s),c=t?T({},e,{[t]:a}):a;return o?()=>c:c}return t?T({},e,{[t]:n}):T({},e,n)},[t,e,n,o])}function Ph(t){const{children:e,theme:n,themeId:o}=t,s=Rl(Vl),a=Ul()||Vl,c=Kl(o,s,n),p=Kl(o,a,n,!0),d=c.direction==="rtl";return F.jsx(Ch,{theme:p,children:F.jsx(rn.Provider,{value:c,children:F.jsx(Eh,{value:d,children:F.jsx(Th,{value:c==null?void 0:c.components,children:e})})})})}const $h=["component","direction","spacing","divider","children","className","useFlexGap"],Mh=Kn(),Ah=Qf("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,e)=>e.root});function Oh(t){return eh({props:t,name:"MuiStack",defaultTheme:Mh})}function Ih(t,e){const n=M.Children.toArray(t).filter(Boolean);return n.reduce((o,s,a)=>(o.push(s),a<n.length-1&&o.push(M.cloneElement(e,{key:`separator-${a}`})),o),[])}const Bh=t=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[t],Fh=({ownerState:t,theme:e})=>{let n=T({display:"flex",flexDirection:"column"},Pe({theme:e},Or({values:t.direction,breakpoints:e.breakpoints.values}),o=>({flexDirection:o})));if(t.spacing){const o=Ms(e),s=Object.keys(e.breakpoints.values).reduce((d,g)=>((typeof t.spacing=="object"&&t.spacing[g]!=null||typeof t.direction=="object"&&t.direction[g]!=null)&&(d[g]=!0),d),{}),a=Or({values:t.direction,base:s}),c=Or({values:t.spacing,base:s});typeof a=="object"&&Object.keys(a).forEach((d,g,m)=>{if(!a[d]){const y=g>0?a[m[g-1]]:"column";a[d]=y}}),n=Ue(n,Pe({theme:e},c,(d,g)=>t.useFlexGap?{gap:Ir(o,d)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${Bh(g?a[g]:t.direction)}`]:Ir(o,d)}}))}return n=Nd(e.breakpoints,n),n};function zh(t={}){const{createStyledComponent:e=Ah,useThemeProps:n=Oh,componentName:o="MuiStack"}=t,s=()=>jt({root:["root"]},d=>kt(o,d),{}),a=e(Fh);return M.forwardRef(function(d,g){const m=n(d),S=Yn(m),{component:y="div",direction:j="column",spacing:k=0,divider:E,children:A,className:h,useFlexGap:P=!1}=S,D=at(S,$h),I={direction:j,spacing:k,useFlexGap:P},z=s();return F.jsx(a,T({as:y,ownerState:I,ref:g,className:ot(z.root,h)},D,{children:E?Ih(A,E):A}))})}function Dh(t,e){return T({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},e)}var Xt={},Yl={exports:{}};(function(t){function e(n){return n&&n.__esModule?n:{default:n}}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})(Yl);var ql=Yl.exports;const Nh=Sr(Rp),_h=Sr(nh);var Xl=ql;Object.defineProperty(Xt,"__esModule",{value:!0});var Ot=Xt.alpha=ec;Xt.blend=Jh,Xt.colorChannel=void 0;var Zn=Xt.darken=Us;Xt.decomposeColor=Ke,Xt.emphasize=rc;var Lh=Xt.getContrastRatio=Vh;Xt.getLuminance=di,Xt.hexToRgb=Zl,Xt.hslToRgb=tc;var Qn=Xt.lighten=Hs;Xt.private_safeAlpha=Kh,Xt.private_safeColorChannel=void 0,Xt.private_safeDarken=Yh,Xt.private_safeEmphasize=Xh,Xt.private_safeLighten=qh,Xt.recomposeColor=ln,Xt.rgbToHex=Gh;var Jl=Xl(Nh),Wh=Xl(_h);function Ws(t,e=0,n=1){return(0,Wh.default)(t,e,n)}function Zl(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let n=t.match(e);return n&&n[0].length===1&&(n=n.map(o=>o+o)),n?`rgb${n.length===4?"a":""}(${n.map((o,s)=>s<3?parseInt(o,16):Math.round(parseInt(o,16)/255*1e3)/1e3).join(", ")})`:""}function Uh(t){const e=t.toString(16);return e.length===1?`0${e}`:e}function Ke(t){if(t.type)return t;if(t.charAt(0)==="#")return Ke(Zl(t));const e=t.indexOf("("),n=t.substring(0,e);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,Jl.default)(9,t));let o=t.substring(e+1,t.length-1),s;if(n==="color"){if(o=o.split(" "),s=o.shift(),o.length===4&&o[3].charAt(0)==="/"&&(o[3]=o[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(s)===-1)throw new Error((0,Jl.default)(10,s))}else o=o.split(",");return o=o.map(a=>parseFloat(a)),{type:n,values:o,colorSpace:s}}const Ql=t=>{const e=Ke(t);return e.values.slice(0,3).map((n,o)=>e.type.indexOf("hsl")!==-1&&o!==0?`${n}%`:n).join(" ")};Xt.colorChannel=Ql;const Hh=(t,e)=>{try{return Ql(t)}catch{return t}};Xt.private_safeColorChannel=Hh;function ln(t){const{type:e,colorSpace:n}=t;let{values:o}=t;return e.indexOf("rgb")!==-1?o=o.map((s,a)=>a<3?parseInt(s,10):s):e.indexOf("hsl")!==-1&&(o[1]=`${o[1]}%`,o[2]=`${o[2]}%`),e.indexOf("color")!==-1?o=`${n} ${o.join(" ")}`:o=`${o.join(", ")}`,`${e}(${o})`}function Gh(t){if(t.indexOf("#")===0)return t;const{values:e}=Ke(t);return`#${e.map((n,o)=>Uh(o===3?Math.round(255*n):n)).join("")}`}function tc(t){t=Ke(t);const{values:e}=t,n=e[0],o=e[1]/100,s=e[2]/100,a=o*Math.min(s,1-s),c=(g,m=(g+n/30)%12)=>s-a*Math.max(Math.min(m-3,9-m,1),-1);let p="rgb";const d=[Math.round(c(0)*255),Math.round(c(8)*255),Math.round(c(4)*255)];return t.type==="hsla"&&(p+="a",d.push(e[3])),ln({type:p,values:d})}function di(t){t=Ke(t);let e=t.type==="hsl"||t.type==="hsla"?Ke(tc(t)).values:t.values;return e=e.map(n=>(t.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function Vh(t,e){const n=di(t),o=di(e);return(Math.max(n,o)+.05)/(Math.min(n,o)+.05)}function ec(t,e){return t=Ke(t),e=Ws(e),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${e}`:t.values[3]=e,ln(t)}function Kh(t,e,n){try{return ec(t,e)}catch{return t}}function Us(t,e){if(t=Ke(t),e=Ws(e),t.type.indexOf("hsl")!==-1)t.values[2]*=1-e;else if(t.type.indexOf("rgb")!==-1||t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]*=1-e;return ln(t)}function Yh(t,e,n){try{return Us(t,e)}catch{return t}}function Hs(t,e){if(t=Ke(t),e=Ws(e),t.type.indexOf("hsl")!==-1)t.values[2]+=(100-t.values[2])*e;else if(t.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return ln(t)}function qh(t,e,n){try{return Hs(t,e)}catch{return t}}function rc(t,e=.15){return di(t)>.5?Us(t,e):Hs(t,e)}function Xh(t,e,n){try{return rc(t,e)}catch{return t}}function Jh(t,e,n,o=1){const s=(d,g)=>Math.round((d**(1/o)*(1-n)+g**(1/o)*n)**o),a=Ke(t),c=Ke(e),p=[s(a.values[0],c.values[0]),s(a.values[1],c.values[1]),s(a.values[2],c.values[2])];return ln({type:"rgb",values:p})}const Zh=["mode","contrastThreshold","tonalOffset"],nc={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:In.white,default:In.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}},Gs={text:{primary:In.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:In.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 oc(t,e,n,o){const s=o.light||o,a=o.dark||o*1.5;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:e==="light"?t.light=Qn(t.main,s):e==="dark"&&(t.dark=Zn(t.main,a)))}function Qh(t="light"){return t==="dark"?{main:qr[200],light:qr[50],dark:qr[400]}:{main:qr[700],light:qr[400],dark:qr[800]}}function tg(t="light"){return t==="dark"?{main:Yr[200],light:Yr[50],dark:Yr[400]}:{main:Yr[500],light:Yr[300],dark:Yr[700]}}function eg(t="light"){return t==="dark"?{main:Kr[500],light:Kr[300],dark:Kr[700]}:{main:Kr[700],light:Kr[400],dark:Kr[800]}}function rg(t="light"){return t==="dark"?{main:Xr[400],light:Xr[300],dark:Xr[700]}:{main:Xr[700],light:Xr[500],dark:Xr[900]}}function ng(t="light"){return t==="dark"?{main:Jr[400],light:Jr[300],dark:Jr[700]}:{main:Jr[800],light:Jr[500],dark:Jr[900]}}function og(t="light"){return t==="dark"?{main:Bn[400],light:Bn[300],dark:Bn[700]}:{main:"#ed6c02",light:Bn[500],dark:Bn[900]}}function ig(t){const{mode:e="light",contrastThreshold:n=3,tonalOffset:o=.2}=t,s=at(t,Zh),a=t.primary||Qh(e),c=t.secondary||tg(e),p=t.error||eg(e),d=t.info||rg(e),g=t.success||ng(e),m=t.warning||og(e);function S(E){return Lh(E,Gs.text.primary)>=n?Gs.text.primary:nc.text.primary}const y=({color:E,name:A,mainShade:h=500,lightShade:P=300,darkShade:D=700})=>{if(E=T({},E),!E.main&&E[h]&&(E.main=E[h]),!E.hasOwnProperty("main"))throw new Error(Fn(11,A?` (${A})`:"",h));if(typeof E.main!="string")throw new Error(Fn(12,A?` (${A})`:"",JSON.stringify(E.main)));return oc(E,"light",P,o),oc(E,"dark",D,o),E.contrastText||(E.contrastText=S(E.main)),E},j={dark:Gs,light:nc};return Ue(T({common:T({},In),mode:e,primary:y({color:a,name:"primary"}),secondary:y({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:y({color:p,name:"error"}),warning:y({color:m,name:"warning"}),info:y({color:d,name:"info"}),success:y({color:g,name:"success"}),grey:Cp,contrastThreshold:n,getContrastText:S,augmentColor:y,tonalOffset:o},j[e]),s)}const sg=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function ag(t){return Math.round(t*1e5)/1e5}const ic={textTransform:"uppercase"},sc='"Roboto", "Helvetica", "Arial", sans-serif';function lg(t,e){const n=typeof e=="function"?e(t):e,{fontFamily:o=sc,fontSize:s=14,fontWeightLight:a=300,fontWeightRegular:c=400,fontWeightMedium:p=500,fontWeightBold:d=700,htmlFontSize:g=16,allVariants:m,pxToRem:S}=n,y=at(n,sg),j=s/14,k=S||(h=>`${h/g*j}rem`),E=(h,P,D,I,z)=>T({fontFamily:o,fontWeight:h,fontSize:k(P),lineHeight:D},o===sc?{letterSpacing:`${ag(I/P)}em`}:{},z,m),A={h1:E(a,96,1.167,-1.5),h2:E(a,60,1.2,-.5),h3:E(c,48,1.167,0),h4:E(c,34,1.235,.25),h5:E(c,24,1.334,0),h6:E(p,20,1.6,.15),subtitle1:E(c,16,1.75,.15),subtitle2:E(p,14,1.57,.1),body1:E(c,16,1.5,.15),body2:E(c,14,1.43,.15),button:E(p,14,1.75,.4,ic),caption:E(c,12,1.66,.4),overline:E(c,12,2.66,1,ic),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ue(T({htmlFontSize:g,pxToRem:k,fontFamily:o,fontSize:s,fontWeightLight:a,fontWeightRegular:c,fontWeightMedium:p,fontWeightBold:d},A),y,{clone:!1})}const cg=.2,ug=.14,pg=.12;function Nt(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${cg})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${ug})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${pg})`].join(",")}const dg=["none",Nt(0,2,1,-1,0,1,1,0,0,1,3,0),Nt(0,3,1,-2,0,2,2,0,0,1,5,0),Nt(0,3,3,-2,0,3,4,0,0,1,8,0),Nt(0,2,4,-1,0,4,5,0,0,1,10,0),Nt(0,3,5,-1,0,5,8,0,0,1,14,0),Nt(0,3,5,-1,0,6,10,0,0,1,18,0),Nt(0,4,5,-2,0,7,10,1,0,2,16,1),Nt(0,5,5,-3,0,8,10,1,0,3,14,2),Nt(0,5,6,-3,0,9,12,1,0,3,16,2),Nt(0,6,6,-3,0,10,14,1,0,4,18,3),Nt(0,6,7,-4,0,11,15,1,0,4,20,3),Nt(0,7,8,-4,0,12,17,2,0,5,22,4),Nt(0,7,8,-4,0,13,19,2,0,5,24,4),Nt(0,7,9,-4,0,14,21,2,0,5,26,4),Nt(0,8,9,-5,0,15,22,2,0,6,28,5),Nt(0,8,10,-5,0,16,24,2,0,6,30,5),Nt(0,8,11,-5,0,17,26,2,0,6,32,5),Nt(0,9,11,-5,0,18,28,2,0,7,34,6),Nt(0,9,12,-6,0,19,29,2,0,7,36,6),Nt(0,10,13,-6,0,20,31,3,0,8,38,7),Nt(0,10,13,-6,0,21,33,3,0,8,40,7),Nt(0,10,14,-6,0,22,35,3,0,8,42,7),Nt(0,11,14,-7,0,23,36,3,0,9,44,8),Nt(0,11,15,-7,0,24,38,3,0,9,46,8)],fg=["duration","easing","delay"],hg={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)"},ac={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function lc(t){return`${Math.round(t)}ms`}function gg(t){if(!t)return 0;const e=t/36;return Math.round((4+15*e**.25+e/5)*10)}function yg(t){const e=T({},hg,t.easing),n=T({},ac,t.duration);return T({getAutoHeightDuration:gg,create:(s=["all"],a={})=>{const{duration:c=n.standard,easing:p=e.easeInOut,delay:d=0}=a;return at(a,fg),(Array.isArray(s)?s:[s]).map(g=>`${g} ${typeof c=="string"?c:lc(c)} ${p} ${typeof d=="string"?d:lc(d)}`).join(",")}},t,{easing:e,duration:n})}const mg={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},bg=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function cc(t={},...e){const{mixins:n={},palette:o={},transitions:s={},typography:a={}}=t,c=at(t,bg);if(t.vars&&t.generateCssVars===void 0)throw new Error(Fn(18));const p=ig(o),d=Kn(t);let g=Ue(d,{mixins:Dh(d.breakpoints,n),palette:p,shadows:dg.slice(),typography:lg(p,a),transitions:yg(s),zIndex:T({},mg)});return g=Ue(g,c),g=e.reduce((m,S)=>Ue(m,S),g),g.unstable_sxConfig=T({},Gn,c==null?void 0:c.unstable_sxConfig),g.unstable_sx=function(S){return Vn({sx:S,theme:this})},g}const Vs=cc();function to(){const t=Xo(Vs);return t[Zr]||t}var eo={},Ks={exports:{}},uc;function vg(){return uc||(uc=1,function(t){function e(n,o){if(n==null)return{};var s={};for(var a in n)if({}.hasOwnProperty.call(n,a)){if(o.indexOf(a)!==-1)continue;s[a]=n[a]}return s}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(Ks)),Ks.exports}const pc=Sr(Id),xg=Sr(Bd),wg=Sr(Ld),Sg=Sr(Uf),Cg=Sr(Pf),Rg=Sr(Bf);var cn=ql;Object.defineProperty(eo,"__esModule",{value:!0});var Eg=eo.default=Dg;eo.shouldForwardProp=fi,eo.systemDefaultTheme=void 0;var Ye=cn(ll()),Ys=cn(vg()),dc=Ag(pc),Tg=xg;cn(wg),cn(Sg);var kg=cn(Cg),jg=cn(Rg);const Pg=["ownerState"],$g=["variants"],Mg=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function fc(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(fc=function(o){return o?n:e})(t)}function Ag(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var n=fc(e);if(n&&n.has(t))return n.get(t);var o={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if(a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)){var c=s?Object.getOwnPropertyDescriptor(t,a):null;c&&(c.get||c.set)?Object.defineProperty(o,a,c):o[a]=t[a]}return o.default=t,n&&n.set(t,o),o}function Og(t){return Object.keys(t).length===0}function Ig(t){return typeof t=="string"&&t.charCodeAt(0)>96}function fi(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const Bg=eo.systemDefaultTheme=(0,kg.default)(),Fg=t=>t&&t.charAt(0).toLowerCase()+t.slice(1);function hi({defaultTheme:t,theme:e,themeId:n}){return Og(e)?t:e[n]||e}function zg(t){return t?(e,n)=>n[t]:null}function gi(t,e){let{ownerState:n}=e,o=(0,Ys.default)(e,Pg);const s=typeof t=="function"?t((0,Ye.default)({ownerState:n},o)):t;if(Array.isArray(s))return s.flatMap(a=>gi(a,(0,Ye.default)({ownerState:n},o)));if(s&&typeof s=="object"&&Array.isArray(s.variants)){const{variants:a=[]}=s;let p=(0,Ys.default)(s,$g);return a.forEach(d=>{let g=!0;typeof d.props=="function"?g=d.props((0,Ye.default)({ownerState:n},o,n)):Object.keys(d.props).forEach(m=>{(n==null?void 0:n[m])!==d.props[m]&&o[m]!==d.props[m]&&(g=!1)}),g&&(Array.isArray(p)||(p=[p]),p.push(typeof d.style=="function"?d.style((0,Ye.default)({ownerState:n},o,n)):d.style))}),p}return s}function Dg(t={}){const{themeId:e,defaultTheme:n=Bg,rootShouldForwardProp:o=fi,slotShouldForwardProp:s=fi}=t,a=c=>(0,jg.default)((0,Ye.default)({},c,{theme:hi((0,Ye.default)({},c,{defaultTheme:n,themeId:e}))}));return a.__mui_systemSx=!0,(c,p={})=>{(0,dc.internal_processStyles)(c,z=>z.filter(N=>!(N!=null&&N.__mui_systemSx)));const{name:d,slot:g,skipVariantsResolver:m,skipSx:S,overridesResolver:y=zg(Fg(g))}=p,j=(0,Ys.default)(p,Mg),k=m!==void 0?m:g&&g!=="Root"&&g!=="root"||!1,E=S||!1;let A,h=fi;g==="Root"||g==="root"?h=o:g?h=s:Ig(c)&&(h=void 0);const P=(0,dc.default)(c,(0,Ye.default)({shouldForwardProp:h,label:A},j)),D=z=>typeof z=="function"&&z.__emotion_real!==z||(0,Tg.isPlainObject)(z)?N=>gi(z,(0,Ye.default)({},N,{theme:hi({theme:N.theme,defaultTheme:n,themeId:e})})):z,I=(z,...N)=>{let x=D(z);const V=N?N.map(D):[];d&&y&&V.push(K=>{const J=hi((0,Ye.default)({},K,{defaultTheme:n,themeId:e}));if(!J.components||!J.components[d]||!J.components[d].styleOverrides)return null;const _=J.components[d].styleOverrides,Q={};return Object.entries(_).forEach(([q,tt])=>{Q[q]=gi(tt,(0,Ye.default)({},K,{theme:J}))}),y(K,Q)}),d&&!k&&V.push(K=>{var J;const _=hi((0,Ye.default)({},K,{defaultTheme:n,themeId:e})),Q=_==null||(J=_.components)==null||(J=J[d])==null?void 0:J.variants;return gi({variants:Q},(0,Ye.default)({},K,{theme:_}))}),E||V.push(a);const G=V.length-N.length;if(Array.isArray(z)&&G>0){const K=new Array(G).fill("");x=[...z,...K],x.raw=[...z.raw,...K]}const L=P(x,...V);return c.muiName&&(L.muiName=c.muiName),L};return P.withConfig&&(I.withConfig=P.withConfig),I}}function Ng(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const hc=t=>Ng(t)&&t!=="classes",ht=Eg({themeId:Zr,defaultTheme:Vs,rootShouldForwardProp:hc}),_g=["theme"];function Lg(t){let{theme:e}=t,n=at(t,_g);const o=e[Zr];let s=o||e;return typeof e!="function"&&(o&&!o.vars?s=T({},o,{vars:null}):e&&!e.vars&&(s=T({},e,{vars:null}))),F.jsx(Ph,T({},n,{themeId:o?Zr:void 0,theme:s}))}const gc=t=>{let e;return t<1?e=5.11916*t**2:e=4.5*Math.log(t+1)+2,(e/100).toFixed(2)};function Tt(t){return jh(t)}function Wg(t){return kt("MuiSvgIcon",t)}Et("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Ug=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Hg=t=>{const{color:e,fontSize:n,classes:o}=t,s={root:["root",e!=="inherit"&&`color${X(e)}`,`fontSize${X(n)}`]};return jt(s,Wg,o)},Gg=ht("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.color!=="inherit"&&e[`color${X(n.color)}`],e[`fontSize${X(n.fontSize)}`]]}})(({theme:t,ownerState:e})=>{var n,o,s,a,c,p,d,g,m,S,y,j,k;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:e.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=t.transitions)==null||(o=n.create)==null?void 0:o.call(n,"fill",{duration:(s=t.transitions)==null||(s=s.duration)==null?void 0:s.shorter}),fontSize:{inherit:"inherit",small:((a=t.typography)==null||(c=a.pxToRem)==null?void 0:c.call(a,20))||"1.25rem",medium:((p=t.typography)==null||(d=p.pxToRem)==null?void 0:d.call(p,24))||"1.5rem",large:((g=t.typography)==null||(m=g.pxToRem)==null?void 0:m.call(g,35))||"2.1875rem"}[e.fontSize],color:(S=(y=(t.vars||t).palette)==null||(y=y[e.color])==null?void 0:y.main)!=null?S:{action:(j=(t.vars||t).palette)==null||(j=j.action)==null?void 0:j.active,disabled:(k=(t.vars||t).palette)==null||(k=k.action)==null?void 0:k.disabled,inherit:void 0}[e.color]}}),yc=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiSvgIcon"}),{children:s,className:a,color:c="inherit",component:p="svg",fontSize:d="medium",htmlColor:g,inheritViewBox:m=!1,titleAccess:S,viewBox:y="0 0 24 24"}=o,j=at(o,Ug),k=M.isValidElement(s)&&s.type==="svg",E=T({},o,{color:c,component:p,fontSize:d,instanceFontSize:e.fontSize,inheritViewBox:m,viewBox:y,hasSvgAsChild:k}),A={};m||(A.viewBox=y);const h=Hg(E);return F.jsxs(Gg,T({as:p,className:ot(h.root,a),focusable:"false",color:g,"aria-hidden":S?void 0:!0,role:S?"img":void 0,ref:n},A,j,k&&s.props,{ownerState:E,children:[k?s.props.children:s,S?F.jsx("title",{children:S}):null]}))});yc.muiName="SvgIcon";const mc=yc;function zt(t,e){function n(o,s){return F.jsx(mc,T({"data-testid":`${e}Icon`,ref:s},o,{children:t}))}return n.muiName=mc.muiName,M.memo(M.forwardRef(n))}function qs(t,e){return qs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},qs(t,e)}function bc(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,qs(t,e)}const vc={disabled:!1},yi=St.createContext(null);var Vg=function(e){return e.scrollTop},ro="unmounted",zr="exited",Dr="entering",un="entered",Xs="exiting",yr=function(t){bc(e,t);function e(o,s){var a;a=t.call(this,o,s)||this;var c=s,p=c&&!c.isMounting?o.enter:o.appear,d;return a.appearStatus=null,o.in?p?(d=zr,a.appearStatus=Dr):d=un:o.unmountOnExit||o.mountOnEnter?d=ro:d=zr,a.state={status:d},a.nextCallback=null,a}e.getDerivedStateFromProps=function(s,a){var c=s.in;return c&&a.status===ro?{status:zr}:null};var n=e.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(s){var a=null;if(s!==this.props){var c=this.state.status;this.props.in?c!==Dr&&c!==un&&(a=Dr):(c===Dr||c===un)&&(a=Xs)}this.updateStatus(!1,a)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var s=this.props.timeout,a,c,p;return a=c=p=s,s!=null&&typeof s!="number"&&(a=s.exit,c=s.enter,p=s.appear!==void 0?s.appear:c),{exit:a,enter:c,appear:p}},n.updateStatus=function(s,a){if(s===void 0&&(s=!1),a!==null)if(this.cancelNextCallback(),a===Dr){if(this.props.unmountOnExit||this.props.mountOnEnter){var c=this.props.nodeRef?this.props.nodeRef.current:Vr.findDOMNode(this);c&&Vg(c)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===zr&&this.setState({status:ro})},n.performEnter=function(s){var a=this,c=this.props.enter,p=this.context?this.context.isMounting:s,d=this.props.nodeRef?[p]:[Vr.findDOMNode(this),p],g=d[0],m=d[1],S=this.getTimeouts(),y=p?S.appear:S.enter;if(!s&&!c||vc.disabled){this.safeSetState({status:un},function(){a.props.onEntered(g)});return}this.props.onEnter(g,m),this.safeSetState({status:Dr},function(){a.props.onEntering(g,m),a.onTransitionEnd(y,function(){a.safeSetState({status:un},function(){a.props.onEntered(g,m)})})})},n.performExit=function(){var s=this,a=this.props.exit,c=this.getTimeouts(),p=this.props.nodeRef?void 0:Vr.findDOMNode(this);if(!a||vc.disabled){this.safeSetState({status:zr},function(){s.props.onExited(p)});return}this.props.onExit(p),this.safeSetState({status:Xs},function(){s.props.onExiting(p),s.onTransitionEnd(c.exit,function(){s.safeSetState({status:zr},function(){s.props.onExited(p)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(s,a){a=this.setNextCallback(a),this.setState(s,a)},n.setNextCallback=function(s){var a=this,c=!0;return this.nextCallback=function(p){c&&(c=!1,a.nextCallback=null,s(p))},this.nextCallback.cancel=function(){c=!1},this.nextCallback},n.onTransitionEnd=function(s,a){this.setNextCallback(a);var c=this.props.nodeRef?this.props.nodeRef.current:Vr.findDOMNode(this),p=s==null&&!this.props.addEndListener;if(!c||p){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var d=this.props.nodeRef?[this.nextCallback]:[c,this.nextCallback],g=d[0],m=d[1];this.props.addEndListener(g,m)}s!=null&&setTimeout(this.nextCallback,s)},n.render=function(){var s=this.state.status;if(s===ro)return null;var a=this.props,c=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var p=at(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return St.createElement(yi.Provider,{value:null},typeof c=="function"?c(s,p):St.cloneElement(St.Children.only(c),p))},e}(St.Component);yr.contextType=yi,yr.propTypes={};function pn(){}yr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:pn,onEntering:pn,onEntered:pn,onExit:pn,onExiting:pn,onExited:pn},yr.UNMOUNTED=ro,yr.EXITED=zr,yr.ENTERING=Dr,yr.ENTERED=un,yr.EXITING=Xs;const xc=yr;function Kg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Js(t,e){var n=function(a){return e&&St.isValidElement(a)?e(a):a},o=Object.create(null);return t&&St.Children.map(t,function(s){return s}).forEach(function(s){o[s.key]=n(s)}),o}function Yg(t,e){t=t||{},e=e||{};function n(m){return m in e?e[m]:t[m]}var o=Object.create(null),s=[];for(var a in t)a in e?s.length&&(o[a]=s,s=[]):s.push(a);var c,p={};for(var d in e){if(o[d])for(c=0;c<o[d].length;c++){var g=o[d][c];p[o[d][c]]=n(g)}p[d]=n(d)}for(c=0;c<s.length;c++)p[s[c]]=n(s[c]);return p}function Nr(t,e,n){return n[e]!=null?n[e]:t.props[e]}function qg(t,e){return Js(t.children,function(n){return St.cloneElement(n,{onExited:e.bind(null,n),in:!0,appear:Nr(n,"appear",t),enter:Nr(n,"enter",t),exit:Nr(n,"exit",t)})})}function Xg(t,e,n){var o=Js(t.children),s=Yg(e,o);return Object.keys(s).forEach(function(a){var c=s[a];if(St.isValidElement(c)){var p=a in e,d=a in o,g=e[a],m=St.isValidElement(g)&&!g.props.in;d&&(!p||m)?s[a]=St.cloneElement(c,{onExited:n.bind(null,c),in:!0,exit:Nr(c,"exit",t),enter:Nr(c,"enter",t)}):!d&&p&&!m?s[a]=St.cloneElement(c,{in:!1}):d&&p&&St.isValidElement(g)&&(s[a]=St.cloneElement(c,{onExited:n.bind(null,c),in:g.props.in,exit:Nr(c,"exit",t),enter:Nr(c,"enter",t)}))}}),s}var Jg=Object.values||function(t){return Object.keys(t).map(function(e){return t[e]})},Zg={component:"div",childFactory:function(e){return e}},Zs=function(t){bc(e,t);function e(o,s){var a;a=t.call(this,o,s)||this;var c=a.handleExited.bind(Kg(a));return a.state={contextValue:{isMounting:!0},handleExited:c,firstRender:!0},a}var n=e.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(s,a){var c=a.children,p=a.handleExited,d=a.firstRender;return{children:d?qg(s,p):Xg(s,c,p),firstRender:!1}},n.handleExited=function(s,a){var c=Js(this.props.children);s.key in c||(s.props.onExited&&s.props.onExited(a),this.mounted&&this.setState(function(p){var d=T({},p.children);return delete d[s.key],{children:d}}))},n.render=function(){var s=this.props,a=s.component,c=s.childFactory,p=at(s,["component","childFactory"]),d=this.state.contextValue,g=Jg(this.state.children).map(c);return delete p.appear,delete p.enter,delete p.exit,a===null?St.createElement(yi.Provider,{value:d},g):St.createElement(yi.Provider,{value:d},St.createElement(a,p,g))},e}(St.Component);Zs.propTypes={},Zs.defaultProps=Zg;const Qg=Zs,ty=t=>t.scrollTop;function mi(t,e){var n,o;const{timeout:s,easing:a,style:c={}}=t;return{duration:(n=c.transitionDuration)!=null?n:typeof s=="number"?s:s[e.mode]||0,easing:(o=c.transitionTimingFunction)!=null?o:typeof a=="object"?a[e.mode]:a,delay:c.transitionDelay}}function ey(t){return kt("MuiCollapse",t)}Et("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const ry=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],ny=t=>{const{orientation:e,classes:n}=t,o={root:["root",`${e}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${e}`],wrapperInner:["wrapperInner",`${e}`]};return jt(o,ey,n)},oy=ht("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.orientation],n.state==="entered"&&e.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&e.hidden]}})(({theme:t,ownerState:e})=>T({height:0,overflow:"hidden",transition:t.transitions.create("height")},e.orientation==="horizontal"&&{height:"auto",width:0,transition:t.transitions.create("width")},e.state==="entered"&&T({height:"auto",overflow:"visible"},e.orientation==="horizontal"&&{width:"auto"}),e.state==="exited"&&!e.in&&e.collapsedSize==="0px"&&{visibility:"hidden"})),iy=ht("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(t,e)=>e.wrapper})(({ownerState:t})=>T({display:"flex",width:"100%"},t.orientation==="horizontal"&&{width:"auto",height:"100%"})),sy=ht("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(t,e)=>e.wrapperInner})(({ownerState:t})=>T({width:"100%"},t.orientation==="horizontal"&&{width:"auto",height:"100%"})),wc=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiCollapse"}),{addEndListener:s,children:a,className:c,collapsedSize:p="0px",component:d,easing:g,in:m,onEnter:S,onEntered:y,onEntering:j,onExit:k,onExited:E,onExiting:A,orientation:h="vertical",style:P,timeout:D=ac.standard,TransitionComponent:I=xc}=o,z=at(o,ry),N=T({},o,{orientation:h,collapsedSize:p}),x=ny(N),V=to(),G=Fr(),L=M.useRef(null),K=M.useRef(),J=typeof p=="number"?`${p}px`:p,_=h==="horizontal",Q=_?"width":"height",q=M.useRef(null),tt=ze(n,q),dt=st=>rt=>{if(st){const nt=q.current;rt===void 0?st(nt):st(nt,rt)}},bt=()=>L.current?L.current[_?"clientWidth":"clientHeight"]:0,it=dt((st,rt)=>{L.current&&_&&(L.current.style.position="absolute"),st.style[Q]=J,S&&S(st,rt)}),xt=dt((st,rt)=>{const nt=bt();L.current&&_&&(L.current.style.position="");const{duration:Rt,easing:ut}=mi({style:P,timeout:D,easing:g},{mode:"enter"});if(D==="auto"){const u=V.transitions.getAutoHeightDuration(nt);st.style.transitionDuration=`${u}ms`,K.current=u}else st.style.transitionDuration=typeof Rt=="string"?Rt:`${Rt}ms`;st.style[Q]=`${nt}px`,st.style.transitionTimingFunction=ut,j&&j(st,rt)}),Ct=dt((st,rt)=>{st.style[Q]="auto",y&&y(st,rt)}),Qt=dt(st=>{st.style[Q]=`${bt()}px`,k&&k(st)}),fe=dt(E),Ft=dt(st=>{const rt=bt(),{duration:nt,easing:Rt}=mi({style:P,timeout:D,easing:g},{mode:"exit"});if(D==="auto"){const ut=V.transitions.getAutoHeightDuration(rt);st.style.transitionDuration=`${ut}ms`,K.current=ut}else st.style.transitionDuration=typeof nt=="string"?nt:`${nt}ms`;st.style[Q]=J,st.style.transitionTimingFunction=Rt,A&&A(st)}),Wt=st=>{D==="auto"&&G.start(K.current||0,st),s&&s(q.current,st)};return F.jsx(I,T({in:m,onEnter:it,onEntered:Ct,onEntering:xt,onExit:Qt,onExited:fe,onExiting:Ft,addEndListener:Wt,nodeRef:q,timeout:D==="auto"?null:D},z,{children:(st,rt)=>F.jsx(oy,T({as:d,className:ot(x.root,c,{entered:x.entered,exited:!m&&J==="0px"&&x.hidden}[st]),style:T({[_?"minWidth":"minHeight"]:J},P),ref:tt},rt,{ownerState:T({},N,{state:st}),children:F.jsx(iy,{ownerState:T({},N,{state:st}),className:x.wrapper,ref:L,children:F.jsx(sy,{ownerState:T({},N,{state:st}),className:x.wrapperInner,children:a})})}))}))});wc.muiSupportAuto=!0;const ay=wc;function ly(t){return kt("MuiPaper",t)}Et("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const cy=["className","component","elevation","square","variant"],uy=t=>{const{square:e,elevation:n,variant:o,classes:s}=t,a={root:["root",o,!e&&"rounded",o==="elevation"&&`elevation${n}`]};return jt(a,ly,s)},py=ht("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],!n.square&&e.rounded,n.variant==="elevation"&&e[`elevation${n.elevation}`]]}})(({theme:t,ownerState:e})=>{var n;return T({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow")},!e.square&&{borderRadius:t.shape.borderRadius},e.variant==="outlined"&&{border:`1px solid ${(t.vars||t).palette.divider}`},e.variant==="elevation"&&T({boxShadow:(t.vars||t).shadows[e.elevation]},!t.vars&&t.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Ot("#fff",gc(e.elevation))}, ${Ot("#fff",gc(e.elevation))})`},t.vars&&{backgroundImage:(n=t.vars.overlays)==null?void 0:n[e.elevation]}))}),bi=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiPaper"}),{className:s,component:a="div",elevation:c=1,square:p=!1,variant:d="elevation"}=o,g=at(o,cy),m=T({},o,{component:a,elevation:c,square:p,variant:d}),S=uy(m);return F.jsx(py,T({as:a,ownerState:m,className:ot(S.root,s),ref:n},g))}),dy=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],fy=["component","slots","slotProps"],hy=["component"];function Sc(t,e){const{className:n,elementType:o,ownerState:s,externalForwardedProps:a,getSlotOwnerState:c,internalForwardedProps:p}=e,d=at(e,dy),{component:g,slots:m={[t]:void 0},slotProps:S={[t]:void 0}}=a,y=at(a,fy),j=m[t]||o,k=Ll(S[t],s),E=_l(T({className:n},d,{externalForwardedProps:t==="root"?y:void 0,externalSlotProps:k})),{props:{component:A},internalRef:h}=E,P=at(E.props,hy),D=ze(h,k==null?void 0:k.ref,e.ref),I=c?c(P):{},z=T({},s,I),N=t==="root"?A||g:A,x=an(j,T({},t==="root"&&!g&&!m[t]&&p,t!=="root"&&!m[t]&&p,P,N&&{as:N},{ref:D}),z);return Object.keys(I).forEach(V=>{delete x[V]}),[j,x]}function gy(t){const{className:e,classes:n,pulsate:o=!1,rippleX:s,rippleY:a,rippleSize:c,in:p,onExited:d,timeout:g}=t,[m,S]=M.useState(!1),y=ot(e,n.ripple,n.rippleVisible,o&&n.ripplePulsate),j={width:c,height:c,top:-(c/2)+a,left:-(c/2)+s},k=ot(n.child,m&&n.childLeaving,o&&n.childPulsate);return!p&&!m&&S(!0),M.useEffect(()=>{if(!p&&d!=null){const E=setTimeout(d,g);return()=>{clearTimeout(E)}}},[d,p,g]),F.jsx("span",{className:y,style:j,children:F.jsx("span",{className:k})})}const qe=Et("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),yy=["center","classes","className"];let vi=t=>t,Cc,Rc,Ec,Tc;const Qs=550,my=80,by=Ar(Cc||(Cc=vi` 31 31 0% { 32 32 transform: scale(0); … … 38 38 opacity: 0.3; 39 39 } 40 `)), Uh=sr(yl||(yl=Mo`40 `)),vy=Ar(Rc||(Rc=vi` 41 41 0% { 42 42 opacity: 1; … … 46 46 opacity: 0; 47 47 } 48 `)), Vh=sr(gl||(gl=Mo`48 `)),xy=Ar(Ec||(Ec=vi` 49 49 0% { 50 50 transform: scale(1); … … 58 58 transform: scale(1); 59 59 } 60 `)), Hh=st("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Gh=st(Fh,{name:"MuiTouchRipple",slot:"Ripple"})(ml||(ml=Mo`60 `)),wy=ht("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Sy=ht(gy,{name:"MuiTouchRipple",slot:"Ripple"})(Tc||(Tc=vi` 61 61 opacity: 0; 62 62 position: absolute; … … 101 101 animation-delay: 200ms; 102 102 } 103 `), Se.rippleVisible,Wh,es,({theme:t})=>t.transitions.easing.easeInOut,Se.ripplePulsate,({theme:t})=>t.transitions.duration.shorter,Se.child,Se.childLeaving,Uh,es,({theme:t})=>t.transitions.easing.easeInOut,Se.childPulsate,Vh,({theme:t})=>t.transitions.easing.easeInOut),Kh=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiTouchRipple"}),{center:s=!1,classes:l={},className:c}=i,d=nt(i,Dh),[f,g]=O.useState([]),x=O.useRef(0),T=O.useRef(null);O.useEffect(()=>{T.current&&(T.current(),T.current=null)},[f]);const m=O.useRef(!1),M=Ea(),R=O.useRef(null),E=O.useRef(null),A=O.useCallback(D=>{const{pulsate:L,rippleX:U,rippleY:C,rippleSize:at,cb:pt}=D;g(K=>[...K,B.jsx(Gh,{classes:{ripple:J(l.ripple,Se.ripple),rippleVisible:J(l.rippleVisible,Se.rippleVisible),ripplePulsate:J(l.ripplePulsate,Se.ripplePulsate),child:J(l.child,Se.child),childLeaving:J(l.childLeaving,Se.childLeaving),childPulsate:J(l.childPulsate,Se.childPulsate)},timeout:es,pulsate:L,rippleX:U,rippleY:C,rippleSize:at},x.current)]),x.current+=1,T.current=pt},[l]),h=O.useCallback((D={},L={},U=()=>{})=>{const{pulsate:C=!1,center:at=s||L.pulsate,fakeElement:pt=!1}=L;if((D==null?void 0:D.type)==="mousedown"&&m.current){m.current=!1;return}(D==null?void 0:D.type)==="touchstart"&&(m.current=!0);const K=pt?null:E.current,Y=K?K.getBoundingClientRect():{width:0,height:0,left:0,top:0};let Z,N,Q;if(at||D===void 0||D.clientX===0&&D.clientY===0||!D.clientX&&!D.touches)Z=Math.round(Y.width/2),N=Math.round(Y.height/2);else{const{clientX:dt,clientY:ft}=D.touches&&D.touches.length>0?D.touches[0]:D;Z=Math.round(dt-Y.left),N=Math.round(ft-Y.top)}if(at)Q=Math.sqrt((2*Y.width**2+Y.height**2)/3),Q%2===0&&(Q+=1);else{const dt=Math.max(Math.abs((K?K.clientWidth:0)-Z),Z)*2+2,ft=Math.max(Math.abs((K?K.clientHeight:0)-N),N)*2+2;Q=Math.sqrt(dt**2+ft**2)}D!=null&&D.touches?R.current===null&&(R.current=()=>{A({pulsate:C,rippleX:Z,rippleY:N,rippleSize:Q,cb:U})},M.start(Lh,()=>{R.current&&(R.current(),R.current=null)})):A({pulsate:C,rippleX:Z,rippleY:N,rippleSize:Q,cb:U})},[s,A,M]),$=O.useCallback(()=>{h({},{pulsate:!0})},[h]),z=O.useCallback((D,L)=>{if(M.clear(),(D==null?void 0:D.type)==="touchend"&&R.current){R.current(),R.current=null,M.start(0,()=>{z(D,L)});return}R.current=null,g(U=>U.length>0?U.slice(1):U),T.current=L},[M]);return O.useImperativeHandle(n,()=>({pulsate:$,start:h,stop:z}),[$,h,z]),B.jsx(Hh,k({className:J(Se.root,l.root,c),ref:E},d,{children:B.jsx(kh,{component:null,exit:!0,children:f})}))});function qh(t){return Ct("MuiButtonBase",t)}const Yh=bt("MuiButtonBase",["root","disabled","focusVisible"]),Xh=["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"],Zh=t=>{const{disabled:e,focusVisible:n,focusVisibleClassName:i,classes:s}=t,c=kt({root:["root",e&&"disabled",n&&"focusVisible"]},qh,s);return n&&i&&(c.root+=` ${i}`),c},Jh=st("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Yh.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),fr=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiButtonBase"}),{action:s,centerRipple:l=!1,children:c,className:d,component:f="button",disabled:g=!1,disableRipple:x=!1,disableTouchRipple:T=!1,focusRipple:m=!1,LinkComponent:M="a",onBlur:R,onClick:E,onContextMenu:A,onDragLeave:h,onFocus:$,onFocusVisible:z,onKeyDown:D,onKeyUp:L,onMouseDown:U,onMouseLeave:C,onMouseUp:at,onTouchEnd:pt,onTouchMove:K,onTouchStart:Y,tabIndex:Z=0,TouchRippleProps:N,touchRippleRef:Q,type:dt}=i,ft=nt(i,Xh),Et=O.useRef(null),gt=O.useRef(null),ht=nr(gt,Q),{isFocusVisibleRef:$t,onFocus:At,onBlur:pe,ref:_e}=ja(),[Ht,je]=O.useState(!1);g&&Ht&&je(!1),O.useImperativeHandle(s,()=>({focusVisible:()=>{je(!0),Et.current.focus()}}),[]);const[lt,G]=O.useState(!1);O.useEffect(()=>{G(!0)},[]);const u=lt&&!x&&!g;O.useEffect(()=>{Ht&&m&&!x&<&>.current.pulsate()},[x,m,Ht,lt]);function w(ct,Ve,I=T){return cr(He=>(Ve&&Ve(He),!I&>.current&>.current[ct](He),!0))}const V=w("start",U),Xe=w("stop",A),yr=w("stop",h),Qr=w("stop",at),de=w("stop",ct=>{Ht&&ct.preventDefault(),C&&C(ct)}),Fe=w("start",Y),De=w("stop",pt),re=w("stop",K),$e=w("stop",ct=>{pe(ct),$t.current===!1&&je(!1),R&&R(ct)},!1),Ze=cr(ct=>{Et.current||(Et.current=ct.currentTarget),At(ct),$t.current===!0&&(je(!0),z&&z(ct)),$&&$(ct)}),Me=()=>{const ct=Et.current;return f&&f!=="button"&&!(ct.tagName==="A"&&ct.href)},Le=O.useRef(!1),Je=cr(ct=>{m&&!Le.current&&Ht&>.current&&ct.key===" "&&(Le.current=!0,gt.current.stop(ct,()=>{gt.current.start(ct)})),ct.target===ct.currentTarget&&Me()&&ct.key===" "&&ct.preventDefault(),D&&D(ct),ct.target===ct.currentTarget&&Me()&&ct.key==="Enter"&&!g&&(ct.preventDefault(),E&&E(ct))}),We=cr(ct=>{m&&ct.key===" "&>.current&&Ht&&!ct.defaultPrevented&&(Le.current=!1,gt.current.stop(ct,()=>{gt.current.pulsate(ct)})),L&&L(ct),E&&ct.target===ct.currentTarget&&Me()&&ct.key===" "&&!ct.defaultPrevented&&E(ct)});let Ae=f;Ae==="button"&&(ft.href||ft.to)&&(Ae=M);const Ue={};Ae==="button"?(Ue.type=dt===void 0?"button":dt,Ue.disabled=g):(!ft.href&&!ft.to&&(Ue.role="button"),g&&(Ue["aria-disabled"]=g));const Qe=nr(n,_e,Et),gr=k({},i,{centerRipple:l,component:f,disabled:g,disableRipple:x,disableTouchRipple:T,focusRipple:m,tabIndex:Z,focusVisible:Ht}),mr=Zh(gr);return B.jsxs(Jh,k({as:Ae,className:J(mr.root,d),ownerState:gr,onBlur:$e,onClick:E,onContextMenu:Xe,onFocus:Ze,onKeyDown:Je,onKeyUp:We,onMouseDown:V,onMouseLeave:de,onMouseUp:Qr,onDragLeave:yr,onTouchEnd:De,onTouchMove:re,onTouchStart:Fe,ref:Qe,tabIndex:g?-1:Z,type:dt},Ue,ft,{children:[c,u?B.jsx(Kh,k({ref:ht,center:l},N)):null]}))});function Qh(t){return Ct("MuiAlert",t)}const bl=bt("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function ty(t){return Ct("MuiIconButton",t)}const ey=bt("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),ry=["edge","children","className","color","disabled","disableFocusRipple","size"],ny=t=>{const{classes:e,disabled:n,color:i,edge:s,size:l}=t,c={root:["root",n&&"disabled",i!=="default"&&`color${H(i)}`,s&&`edge${H(s)}`,`size${H(l)}`]};return kt(c,ty,e)},oy=st(fr,{name:"MuiIconButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.color!=="default"&&e[`color${H(n.color)}`],n.edge&&e[`edge${H(n.edge)}`],e[`size${H(n.size)}`]]}})(({theme:t,ownerState:e})=>k({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})},!e.disableRipple&&{"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12}),({theme:t,ownerState:e})=>{var n;const i=(n=(t.vars||t).palette)==null?void 0:n[e.color];return k({},e.color==="inherit"&&{color:"inherit"},e.color!=="inherit"&&e.color!=="default"&&k({color:i==null?void 0:i.main},!e.disableRipple&&{"&:hover":k({},i&&{backgroundColor:t.vars?`rgba(${i.mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(i.main,t.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),e.size==="small"&&{padding:5,fontSize:t.typography.pxToRem(18)},e.size==="large"&&{padding:12,fontSize:t.typography.pxToRem(28)},{[`&.${ey.disabled}`]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled}})}),vl=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiIconButton"}),{edge:s=!1,children:l,className:c,color:d="default",disabled:f=!1,disableFocusRipple:g=!1,size:x="medium"}=i,T=nt(i,ry),m=k({},i,{edge:s,color:d,disabled:f,disableFocusRipple:g,size:x}),M=ny(m);return B.jsx(oy,k({className:J(M.root,c),centerRipple:!0,focusRipple:!g,disabled:f,ref:n},T,{ownerState:m,children:l}))}),iy=Mt(B.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),sy=Mt(B.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),ay=Mt(B.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),ly=Mt(B.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),cy=Mt(B.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),uy=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],py=t=>{const{variant:e,color:n,severity:i,classes:s}=t,l={root:["root",`color${H(n||i)}`,`${e}${H(n||i)}`,`${e}`],icon:["icon"],message:["message"],action:["action"]};return kt(l,Qh,s)},dy=st($o,{name:"MuiAlert",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`${n.variant}${H(n.color||n.severity)}`]]}})(({theme:t})=>{const e=t.palette.mode==="light"?xn:Sn,n=t.palette.mode==="light"?Sn:xn;return k({},t.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(t.palette).filter(([,i])=>i.main&&i.light).map(([i])=>({props:{colorSeverity:i,variant:"standard"},style:{color:t.vars?t.vars.palette.Alert[`${i}Color`]:e(t.palette[i].light,.6),backgroundColor:t.vars?t.vars.palette.Alert[`${i}StandardBg`]:n(t.palette[i].light,.9),[`& .${bl.icon}`]:t.vars?{color:t.vars.palette.Alert[`${i}IconColor`]}:{color:t.palette[i].main}}})),...Object.entries(t.palette).filter(([,i])=>i.main&&i.light).map(([i])=>({props:{colorSeverity:i,variant:"outlined"},style:{color:t.vars?t.vars.palette.Alert[`${i}Color`]:e(t.palette[i].light,.6),border:`1px solid ${(t.vars||t).palette[i].light}`,[`& .${bl.icon}`]:t.vars?{color:t.vars.palette.Alert[`${i}IconColor`]}:{color:t.palette[i].main}}})),...Object.entries(t.palette).filter(([,i])=>i.main&&i.dark).map(([i])=>({props:{colorSeverity:i,variant:"filled"},style:k({fontWeight:t.typography.fontWeightMedium},t.vars?{color:t.vars.palette.Alert[`${i}FilledColor`],backgroundColor:t.vars.palette.Alert[`${i}FilledBg`]}:{backgroundColor:t.palette.mode==="dark"?t.palette[i].dark:t.palette[i].main,color:t.palette.getContrastText(t.palette[i].main)})}))]})}),fy=st("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(t,e)=>e.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),hy=st("div",{name:"MuiAlert",slot:"Message",overridesResolver:(t,e)=>e.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),xl=st("div",{name:"MuiAlert",slot:"Action",overridesResolver:(t,e)=>e.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Sl={success:B.jsx(iy,{fontSize:"inherit"}),warning:B.jsx(sy,{fontSize:"inherit"}),error:B.jsx(ay,{fontSize:"inherit"}),info:B.jsx(ly,{fontSize:"inherit"})},yy=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiAlert"}),{action:s,children:l,className:c,closeText:d="Close",color:f,components:g={},componentsProps:x={},icon:T,iconMapping:m=Sl,onClose:M,role:R="alert",severity:E="success",slotProps:A={},slots:h={},variant:$="standard"}=i,z=nt(i,uy),D=k({},i,{color:f,severity:E,variant:$,colorSeverity:f||E}),L=py(D),U={slots:k({closeButton:g.CloseButton,closeIcon:g.CloseIcon},h),slotProps:k({},x,A)},[C,at]=fl("closeButton",{elementType:vl,externalForwardedProps:U,ownerState:D}),[pt,K]=fl("closeIcon",{elementType:cy,externalForwardedProps:U,ownerState:D});return B.jsxs(dy,k({role:R,elevation:0,ownerState:D,className:J(L.root,c),ref:n},z,{children:[T!==!1?B.jsx(fy,{ownerState:D,className:L.icon,children:T||m[E]||Sl[E]}):null,B.jsx(hy,{ownerState:D,className:L.message,children:l}),s!=null?B.jsx(xl,{ownerState:D,className:L.action,children:s}):null,s==null&&M?B.jsx(xl,{ownerState:D,className:L.action,children:B.jsx(C,k({size:"small","aria-label":d,title:d,color:"inherit",onClick:M},at,{children:B.jsx(pt,k({fontSize:"small"},K))}))}):null]}))});function gy(t){return Ct("MuiTypography",t)}bt("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const my=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],by=t=>{const{align:e,gutterBottom:n,noWrap:i,paragraph:s,variant:l,classes:c}=t,d={root:["root",l,t.align!=="inherit"&&`align${H(e)}`,n&&"gutterBottom",i&&"noWrap",s&&"paragraph"]};return kt(d,gy,c)},vy=st("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.variant&&e[n.variant],n.align!=="inherit"&&e[`align${H(n.align)}`],n.noWrap&&e.noWrap,n.gutterBottom&&e.gutterBottom,n.paragraph&&e.paragraph]}})(({theme:t,ownerState:e})=>k({margin:0},e.variant==="inherit"&&{font:"inherit"},e.variant!=="inherit"&&t.typography[e.variant],e.align!=="inherit"&&{textAlign:e.align},e.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},e.gutterBottom&&{marginBottom:"0.35em"},e.paragraph&&{marginBottom:16})),wl={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},xy={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Sy=t=>xy[t]||t,X=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiTypography"}),s=Sy(i.color),l=bn(k({},i,{color:s})),{align:c="inherit",className:d,component:f,gutterBottom:g=!1,noWrap:x=!1,paragraph:T=!1,variant:m="body1",variantMapping:M=wl}=l,R=nt(l,my),E=k({},l,{align:c,color:s,className:d,component:f,gutterBottom:g,noWrap:x,paragraph:T,variant:m,variantMapping:M}),A=f||(T?"p":M[m]||wl[m])||"span",h=by(E);return B.jsx(vy,k({as:A,ref:n,ownerState:E,className:J(h.root,d)},R))}),wy=Mt(B.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function Cy(t){return Ct("MuiChip",t)}const xt=bt("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),ky=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],Ry=t=>{const{classes:e,disabled:n,size:i,color:s,iconColor:l,onDelete:c,clickable:d,variant:f}=t,g={root:["root",f,n&&"disabled",`size${H(i)}`,`color${H(s)}`,d&&"clickable",d&&`clickableColor${H(s)}`,c&&"deletable",c&&`deletableColor${H(s)}`,`${f}${H(s)}`],label:["label",`label${H(i)}`],avatar:["avatar",`avatar${H(i)}`,`avatarColor${H(s)}`],icon:["icon",`icon${H(i)}`,`iconColor${H(l)}`],deleteIcon:["deleteIcon",`deleteIcon${H(i)}`,`deleteIconColor${H(s)}`,`deleteIcon${H(f)}Color${H(s)}`]};return kt(g,Cy,e)},Ty=st("div",{name:"MuiChip",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t,{color:i,iconColor:s,clickable:l,onDelete:c,size:d,variant:f}=n;return[{[`& .${xt.avatar}`]:e.avatar},{[`& .${xt.avatar}`]:e[`avatar${H(d)}`]},{[`& .${xt.avatar}`]:e[`avatarColor${H(i)}`]},{[`& .${xt.icon}`]:e.icon},{[`& .${xt.icon}`]:e[`icon${H(d)}`]},{[`& .${xt.icon}`]:e[`iconColor${H(s)}`]},{[`& .${xt.deleteIcon}`]:e.deleteIcon},{[`& .${xt.deleteIcon}`]:e[`deleteIcon${H(d)}`]},{[`& .${xt.deleteIcon}`]:e[`deleteIconColor${H(i)}`]},{[`& .${xt.deleteIcon}`]:e[`deleteIcon${H(f)}Color${H(i)}`]},e.root,e[`size${H(d)}`],e[`color${H(i)}`],l&&e.clickable,l&&i!=="default"&&e[`clickableColor${H(i)})`],c&&e.deletable,c&&i!=="default"&&e[`deletableColor${H(i)}`],e[f],e[`${f}${H(i)}`]]}})(({theme:t,ownerState:e})=>{const n=t.palette.mode==="light"?t.palette.grey[700]:t.palette.grey[300];return k({maxWidth:"100%",fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(t.vars||t).palette.text.primary,backgroundColor:(t.vars||t).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:t.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${xt.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${xt.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:t.vars?t.vars.palette.Chip.defaultAvatarColor:n,fontSize:t.typography.pxToRem(12)},[`& .${xt.avatarColorPrimary}`]:{color:(t.vars||t).palette.primary.contrastText,backgroundColor:(t.vars||t).palette.primary.dark},[`& .${xt.avatarColorSecondary}`]:{color:(t.vars||t).palette.secondary.contrastText,backgroundColor:(t.vars||t).palette.secondary.dark},[`& .${xt.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:t.typography.pxToRem(10)},[`& .${xt.icon}`]:k({marginLeft:5,marginRight:-6},e.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},e.iconColor===e.color&&k({color:t.vars?t.vars.palette.Chip.defaultIconColor:n},e.color!=="default"&&{color:"inherit"})),[`& .${xt.deleteIcon}`]:k({WebkitTapHighlightColor:"transparent",color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.26)`:Tt(t.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.4)`:Tt(t.palette.text.primary,.4)}},e.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},e.color!=="default"&&{color:t.vars?`rgba(${t.vars.palette[e.color].contrastTextChannel} / 0.7)`:Tt(t.palette[e.color].contrastText,.7),"&:hover, &:active":{color:(t.vars||t).palette[e.color].contrastText}})},e.size==="small"&&{height:24},e.color!=="default"&&{backgroundColor:(t.vars||t).palette[e.color].main,color:(t.vars||t).palette[e.color].contrastText},e.onDelete&&{[`&.${xt.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:Tt(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},e.onDelete&&e.color!=="default"&&{[`&.${xt.focusVisible}`]:{backgroundColor:(t.vars||t).palette[e.color].dark}})},({theme:t,ownerState:e})=>k({},e.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Tt(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)},[`&.${xt.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:Tt(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)},"&:active":{boxShadow:(t.vars||t).shadows[1]}},e.clickable&&e.color!=="default"&&{[`&:hover, &.${xt.focusVisible}`]:{backgroundColor:(t.vars||t).palette[e.color].dark}}),({theme:t,ownerState:e})=>k({},e.variant==="outlined"&&{backgroundColor:"transparent",border:t.vars?`1px solid ${t.vars.palette.Chip.defaultBorder}`:`1px solid ${t.palette.mode==="light"?t.palette.grey[400]:t.palette.grey[700]}`,[`&.${xt.clickable}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${xt.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`& .${xt.avatar}`]:{marginLeft:4},[`& .${xt.avatarSmall}`]:{marginLeft:2},[`& .${xt.icon}`]:{marginLeft:4},[`& .${xt.iconSmall}`]:{marginLeft:2},[`& .${xt.deleteIcon}`]:{marginRight:5},[`& .${xt.deleteIconSmall}`]:{marginRight:3}},e.variant==="outlined"&&e.color!=="default"&&{color:(t.vars||t).palette[e.color].main,border:`1px solid ${t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / 0.7)`:Tt(t.palette[e.color].main,.7)}`,[`&.${xt.clickable}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette[e.color].main,t.palette.action.hoverOpacity)},[`&.${xt.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.focusOpacity})`:Tt(t.palette[e.color].main,t.palette.action.focusOpacity)},[`& .${xt.deleteIcon}`]:{color:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / 0.7)`:Tt(t.palette[e.color].main,.7),"&:hover, &:active":{color:(t.vars||t).palette[e.color].main}}})),Ey=st("span",{name:"MuiChip",slot:"Label",overridesResolver:(t,e)=>{const{ownerState:n}=t,{size:i}=n;return[e.label,e[`label${H(i)}`]]}})(({ownerState:t})=>k({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},t.variant==="outlined"&&{paddingLeft:11,paddingRight:11},t.size==="small"&&{paddingLeft:8,paddingRight:8},t.size==="small"&&t.variant==="outlined"&&{paddingLeft:7,paddingRight:7}));function Cl(t){return t.key==="Backspace"||t.key==="Delete"}const Pe=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiChip"}),{avatar:s,className:l,clickable:c,color:d="default",component:f,deleteIcon:g,disabled:x=!1,icon:T,label:m,onClick:M,onDelete:R,onKeyDown:E,onKeyUp:A,size:h="medium",variant:$="filled",tabIndex:z,skipFocusWhenDisabled:D=!1}=i,L=nt(i,ky),U=O.useRef(null),C=nr(U,n),at=ht=>{ht.stopPropagation(),R&&R(ht)},pt=ht=>{ht.currentTarget===ht.target&&Cl(ht)&&ht.preventDefault(),E&&E(ht)},K=ht=>{ht.currentTarget===ht.target&&(R&&Cl(ht)?R(ht):ht.key==="Escape"&&U.current&&U.current.blur()),A&&A(ht)},Y=c!==!1&&M?!0:c,Z=Y||R?fr:f||"div",N=k({},i,{component:Z,disabled:x,size:h,color:d,iconColor:O.isValidElement(T)&&T.props.color||d,onDelete:!!R,clickable:Y,variant:$}),Q=Ry(N),dt=Z===fr?k({component:f||"div",focusVisibleClassName:Q.focusVisible},R&&{disableRipple:!0}):{};let ft=null;R&&(ft=g&&O.isValidElement(g)?O.cloneElement(g,{className:J(g.props.className,Q.deleteIcon),onClick:at}):B.jsx(wy,{className:J(Q.deleteIcon),onClick:at}));let Et=null;s&&O.isValidElement(s)&&(Et=O.cloneElement(s,{className:J(Q.avatar,s.props.className)}));let gt=null;return T&&O.isValidElement(T)&&(gt=O.cloneElement(T,{className:J(Q.icon,T.props.className)})),B.jsxs(Ty,k({as:Z,className:J(Q.root,l),disabled:Y&&x?!0:void 0,onClick:M,onKeyDown:pt,onKeyUp:K,ref:C,tabIndex:D&&x?-1:z,ownerState:N},dt,L,{children:[Et||gt,B.jsx(Ey,{className:J(Q.label),ownerState:N,children:m}),ft]}))});function jy(t){return B.jsx(rd,k({},t,{defaultTheme:Ki,themeId:Tr}))}const $y=bt("MuiBox",["root"]),My=el(),ut=ad({themeId:Tr,defaultTheme:My,defaultClassName:$y.root,generateClassName:ga.generate});function Ay(t){return Ct("MuiButton",t)}const Ao=bt("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Py=O.createContext({}),Oy=O.createContext(void 0),Iy=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],By=t=>{const{color:e,disableElevation:n,fullWidth:i,size:s,variant:l,classes:c}=t,d={root:["root",l,`${l}${H(e)}`,`size${H(s)}`,`${l}Size${H(s)}`,`color${H(e)}`,n&&"disableElevation",i&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${H(s)}`],endIcon:["icon","endIcon",`iconSize${H(s)}`]},f=kt(d,Ay,c);return k({},c,f)},kl=t=>k({},t.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},t.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},t.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),zy=st(fr,{shouldForwardProp:t=>il(t)||t==="classes",name:"MuiButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`${n.variant}${H(n.color)}`],e[`size${H(n.size)}`],e[`${n.variant}Size${H(n.size)}`],n.color==="inherit"&&e.colorInherit,n.disableElevation&&e.disableElevation,n.fullWidth&&e.fullWidth]}})(({theme:t,ownerState:e})=>{var n,i;const s=t.palette.mode==="light"?t.palette.grey[300]:t.palette.grey[800],l=t.palette.mode==="light"?t.palette.grey.A100:t.palette.grey[700];return k({},t.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":k({textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},e.variant==="text"&&e.color!=="inherit"&&{backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette[e.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},e.variant==="outlined"&&e.color!=="inherit"&&{border:`1px solid ${(t.vars||t).palette[e.color].main}`,backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette[e.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},e.variant==="contained"&&{backgroundColor:t.vars?t.vars.palette.Button.inheritContainedHoverBg:l,boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2],backgroundColor:(t.vars||t).palette.grey[300]}},e.variant==="contained"&&e.color!=="inherit"&&{backgroundColor:(t.vars||t).palette[e.color].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[e.color].main}}),"&:active":k({},e.variant==="contained"&&{boxShadow:(t.vars||t).shadows[8]}),[`&.${Ao.focusVisible}`]:k({},e.variant==="contained"&&{boxShadow:(t.vars||t).shadows[6]}),[`&.${Ao.disabled}`]:k({color:(t.vars||t).palette.action.disabled},e.variant==="outlined"&&{border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},e.variant==="contained"&&{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground})},e.variant==="text"&&{padding:"6px 8px"},e.variant==="text"&&e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main},e.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},e.variant==="outlined"&&e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main,border:t.vars?`1px solid rgba(${t.vars.palette[e.color].mainChannel} / 0.5)`:`1px solid ${Tt(t.palette[e.color].main,.5)}`},e.variant==="contained"&&{color:t.vars?t.vars.palette.text.primary:(n=(i=t.palette).getContrastText)==null?void 0:n.call(i,t.palette.grey[300]),backgroundColor:t.vars?t.vars.palette.Button.inheritContainedBg:s,boxShadow:(t.vars||t).shadows[2]},e.variant==="contained"&&e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].contrastText,backgroundColor:(t.vars||t).palette[e.color].main},e.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},e.size==="small"&&e.variant==="text"&&{padding:"4px 5px",fontSize:t.typography.pxToRem(13)},e.size==="large"&&e.variant==="text"&&{padding:"8px 11px",fontSize:t.typography.pxToRem(15)},e.size==="small"&&e.variant==="outlined"&&{padding:"3px 9px",fontSize:t.typography.pxToRem(13)},e.size==="large"&&e.variant==="outlined"&&{padding:"7px 21px",fontSize:t.typography.pxToRem(15)},e.size==="small"&&e.variant==="contained"&&{padding:"4px 10px",fontSize:t.typography.pxToRem(13)},e.size==="large"&&e.variant==="contained"&&{padding:"8px 22px",fontSize:t.typography.pxToRem(15)},e.fullWidth&&{width:"100%"})},({ownerState:t})=>t.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Ao.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Ao.disabled}`]:{boxShadow:"none"}}),Ny=st("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.startIcon,e[`iconSize${H(n.size)}`]]}})(({ownerState:t})=>k({display:"inherit",marginRight:8,marginLeft:-4},t.size==="small"&&{marginLeft:-2},kl(t))),_y=st("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.endIcon,e[`iconSize${H(n.size)}`]]}})(({ownerState:t})=>k({display:"inherit",marginRight:-4,marginLeft:8},t.size==="small"&&{marginRight:-2},kl(t))),Fy=O.forwardRef(function(e,n){const i=O.useContext(Py),s=O.useContext(Oy),l=vn(i,e),c=vt({props:l,name:"MuiButton"}),{children:d,color:f="primary",component:g="button",className:x,disabled:T=!1,disableElevation:m=!1,disableFocusRipple:M=!1,endIcon:R,focusVisibleClassName:E,fullWidth:A=!1,size:h="medium",startIcon:$,type:z,variant:D="text"}=c,L=nt(c,Iy),U=k({},c,{color:f,component:g,disabled:T,disableElevation:m,disableFocusRipple:M,fullWidth:A,size:h,type:z,variant:D}),C=By(U),at=$&&B.jsx(Ny,{className:C.startIcon,ownerState:U,children:$}),pt=R&&B.jsx(_y,{className:C.endIcon,ownerState:U,children:R}),K=s||"";return B.jsxs(zy,k({ownerState:U,className:J(i.className,C.root,x,K),component:g,disabled:T,focusRipple:!M,focusVisibleClassName:J(C.focusVisible,E),ref:n,type:z},L,{classes:C,children:[at,d,pt]}))});function Dy(t){return Ct("MuiCard",t)}bt("MuiCard",["root"]);const Ly=["className","raised"],Wy=t=>{const{classes:e}=t;return kt({root:["root"]},Dy,e)},Uy=st($o,{name:"MuiCard",slot:"Root",overridesResolver:(t,e)=>e.root})(()=>({overflow:"hidden"})),_r=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiCard"}),{className:s,raised:l=!1}=i,c=nt(i,Ly),d=k({},i,{raised:l}),f=Wy(d);return B.jsx(Uy,k({className:J(f.root,s),elevation:l?8:void 0,ref:n,ownerState:d},c))});function Vy(t){return Ct("MuiCardContent",t)}bt("MuiCardContent",["root"]);const Hy=["className","component"],Gy=t=>{const{classes:e}=t;return kt({root:["root"]},Vy,e)},Ky=st("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(t,e)=>e.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),Fr=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiCardContent"}),{className:s,component:l="div"}=i,c=nt(i,Hy),d=k({},i,{component:l}),f=Gy(d);return B.jsx(Ky,k({as:l,className:J(f.root,s),ownerState:d,ref:n},c))}),qy=(t,e)=>k({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},e&&!t.vars&&{colorScheme:t.palette.mode}),Yy=t=>k({color:(t.vars||t).palette.text.primary},t.typography.body1,{backgroundColor:(t.vars||t).palette.background.default,"@media print":{backgroundColor:(t.vars||t).palette.common.white}}),Xy=(t,e=!1)=>{var n;const i={};e&&t.colorSchemes&&Object.entries(t.colorSchemes).forEach(([c,d])=>{var f;i[t.getColorSchemeSelector(c).replace(/\s*&/,"")]={colorScheme:(f=d.palette)==null?void 0:f.mode}});let s=k({html:qy(t,e),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:k({margin:0},Yy(t),{"&::backdrop":{backgroundColor:(t.vars||t).palette.background.default}})},i);const l=(n=t.components)==null||(n=n.MuiCssBaseline)==null?void 0:n.styleOverrides;return l&&(s=[s,l]),s};function Zy(t){const e=vt({props:t,name:"MuiCssBaseline"}),{children:n,enableColorScheme:i=!1}=e;return B.jsxs(O.Fragment,{children:[B.jsx(jy,{styles:s=>Xy(s,i)}),n]})}function Jy(t){return Ct("MuiDivider",t)}bt("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const Qy=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],tg=t=>{const{absolute:e,children:n,classes:i,flexItem:s,light:l,orientation:c,textAlign:d,variant:f}=t;return kt({root:["root",e&&"absolute",f,l&&"light",c==="vertical"&&"vertical",s&&"flexItem",n&&"withChildren",n&&c==="vertical"&&"withChildrenVertical",d==="right"&&c!=="vertical"&&"textAlignRight",d==="left"&&c!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",c==="vertical"&&"wrapperVertical"]},Jy,i)},eg=st("div",{name:"MuiDivider",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.absolute&&e.absolute,e[n.variant],n.light&&e.light,n.orientation==="vertical"&&e.vertical,n.flexItem&&e.flexItem,n.children&&e.withChildren,n.children&&n.orientation==="vertical"&&e.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&e.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&e.textAlignLeft]}})(({theme:t,ownerState:e})=>k({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},e.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},e.light&&{borderColor:t.vars?`rgba(${t.vars.palette.dividerChannel} / 0.08)`:Tt(t.palette.divider,.08)},e.variant==="inset"&&{marginLeft:72},e.variant==="middle"&&e.orientation==="horizontal"&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},e.variant==="middle"&&e.orientation==="vertical"&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},e.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},e.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:t})=>k({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:t,ownerState:e})=>k({},e.children&&e.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(t.vars||t).palette.divider}`,borderTopStyle:"inherit"}}),({theme:t,ownerState:e})=>k({},e.children&&e.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(t.vars||t).palette.divider}`,borderLeftStyle:"inherit"}}),({ownerState:t})=>k({},t.textAlign==="right"&&t.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},t.textAlign==="left"&&t.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),rg=st("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.wrapper,n.orientation==="vertical"&&e.wrapperVertical]}})(({theme:t,ownerState:e})=>k({display:"inline-block",paddingLeft:`calc(${t.spacing(1)} * 1.2)`,paddingRight:`calc(${t.spacing(1)} * 1.2)`},e.orientation==="vertical"&&{paddingTop:`calc(${t.spacing(1)} * 1.2)`,paddingBottom:`calc(${t.spacing(1)} * 1.2)`})),Rl=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiDivider"}),{absolute:s=!1,children:l,className:c,component:d=l?"div":"hr",flexItem:f=!1,light:g=!1,orientation:x="horizontal",role:T=d!=="hr"?"separator":void 0,textAlign:m="center",variant:M="fullWidth"}=i,R=nt(i,Qy),E=k({},i,{absolute:s,component:d,flexItem:f,light:g,orientation:x,role:T,textAlign:m,variant:M}),A=tg(E);return B.jsx(eg,k({as:d,className:J(A.root,c),role:T,ref:n,ownerState:E},R,{children:l?B.jsx(rg,{className:A.wrapper,ownerState:E,children:l}):null}))});Rl.muiSkipListHighlight=!0;const ng=Rl,Tl=sf({createStyledComponent:st("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,e)=>e.root}),useThemeProps:t=>vt({props:t,name:"MuiStack"})}),El=O.createContext();function og(t){return Ct("MuiGrid",t)}const ig=[0,1,2,3,4,5,6,7,8,9,10],sg=["column-reverse","column","row-reverse","row"],ag=["nowrap","wrap-reverse","wrap"],kn=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],Rn=bt("MuiGrid",["root","container","item","zeroMinWidth",...ig.map(t=>`spacing-xs-${t}`),...sg.map(t=>`direction-xs-${t}`),...ag.map(t=>`wrap-xs-${t}`),...kn.map(t=>`grid-xs-${t}`),...kn.map(t=>`grid-sm-${t}`),...kn.map(t=>`grid-md-${t}`),...kn.map(t=>`grid-lg-${t}`),...kn.map(t=>`grid-xl-${t}`)]),lg=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function Dr(t){const e=parseFloat(t);return`${e}${String(t).replace(String(e),"")||"px"}`}function cg({theme:t,ownerState:e}){let n;return t.breakpoints.keys.reduce((i,s)=>{let l={};if(e[s]&&(n=e[s]),!n)return i;if(n===!0)l={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")l={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const c=ar({values:e.columns,breakpoints:t.breakpoints.values}),d=typeof c=="object"?c[s]:c;if(d==null)return i;const f=`${Math.round(n/d*1e8)/1e6}%`;let g={};if(e.container&&e.item&&e.columnSpacing!==0){const x=t.spacing(e.columnSpacing);if(x!=="0px"){const T=`calc(${f} + ${Dr(x)})`;g={flexBasis:T,maxWidth:T}}}l=k({flexBasis:f,flexGrow:0,maxWidth:f},g)}return t.breakpoints.values[s]===0?Object.assign(i,l):i[t.breakpoints.up(s)]=l,i},{})}function ug({theme:t,ownerState:e}){const n=ar({values:e.direction,breakpoints:t.breakpoints.values});return se({theme:t},n,i=>{const s={flexDirection:i};return i.indexOf("column")===0&&(s[`& > .${Rn.item}`]={maxWidth:"none"}),s})}function jl({breakpoints:t,values:e}){let n="";Object.keys(e).forEach(s=>{n===""&&e[s]!==0&&(n=s)});const i=Object.keys(t).sort((s,l)=>t[s]-t[l]);return i.slice(0,i.indexOf(n))}function pg({theme:t,ownerState:e}){const{container:n,rowSpacing:i}=e;let s={};if(n&&i!==0){const l=ar({values:i,breakpoints:t.breakpoints.values});let c;typeof l=="object"&&(c=jl({breakpoints:t.breakpoints.values,values:l})),s=se({theme:t},l,(d,f)=>{var g;const x=t.spacing(d);return x!=="0px"?{marginTop:`-${Dr(x)}`,[`& > .${Rn.item}`]:{paddingTop:Dr(x)}}:(g=c)!=null&&g.includes(f)?{}:{marginTop:0,[`& > .${Rn.item}`]:{paddingTop:0}}})}return s}function dg({theme:t,ownerState:e}){const{container:n,columnSpacing:i}=e;let s={};if(n&&i!==0){const l=ar({values:i,breakpoints:t.breakpoints.values});let c;typeof l=="object"&&(c=jl({breakpoints:t.breakpoints.values,values:l})),s=se({theme:t},l,(d,f)=>{var g;const x=t.spacing(d);return x!=="0px"?{width:`calc(100% + ${Dr(x)})`,marginLeft:`-${Dr(x)}`,[`& > .${Rn.item}`]:{paddingLeft:Dr(x)}}:(g=c)!=null&&g.includes(f)?{}:{width:"100%",marginLeft:0,[`& > .${Rn.item}`]:{paddingLeft:0}}})}return s}function fg(t,e,n={}){if(!t||t<=0)return[];if(typeof t=="string"&&!Number.isNaN(Number(t))||typeof t=="number")return[n[`spacing-xs-${String(t)}`]];const i=[];return e.forEach(s=>{const l=t[s];Number(l)>0&&i.push(n[`spacing-${s}-${String(l)}`])}),i}const hg=st("div",{name:"MuiGrid",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t,{container:i,direction:s,item:l,spacing:c,wrap:d,zeroMinWidth:f,breakpoints:g}=n;let x=[];i&&(x=fg(c,g,e));const T=[];return g.forEach(m=>{const M=n[m];M&&T.push(e[`grid-${m}-${String(M)}`])}),[e.root,i&&e.container,l&&e.item,f&&e.zeroMinWidth,...x,s!=="row"&&e[`direction-xs-${String(s)}`],d!=="wrap"&&e[`wrap-xs-${String(d)}`],...T]}})(({ownerState:t})=>k({boxSizing:"border-box"},t.container&&{display:"flex",flexWrap:"wrap",width:"100%"},t.item&&{margin:0},t.zeroMinWidth&&{minWidth:0},t.wrap!=="wrap"&&{flexWrap:t.wrap}),ug,pg,dg,cg);function yg(t,e){if(!t||t<=0)return[];if(typeof t=="string"&&!Number.isNaN(Number(t))||typeof t=="number")return[`spacing-xs-${String(t)}`];const n=[];return e.forEach(i=>{const s=t[i];if(Number(s)>0){const l=`spacing-${i}-${String(s)}`;n.push(l)}}),n}const gg=t=>{const{classes:e,container:n,direction:i,item:s,spacing:l,wrap:c,zeroMinWidth:d,breakpoints:f}=t;let g=[];n&&(g=yg(l,f));const x=[];f.forEach(m=>{const M=t[m];M&&x.push(`grid-${m}-${String(M)}`)});const T={root:["root",n&&"container",s&&"item",d&&"zeroMinWidth",...g,i!=="row"&&`direction-xs-${String(i)}`,c!=="wrap"&&`wrap-xs-${String(c)}`,...x]};return kt(T,og,e)},or=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiGrid"}),{breakpoints:s}=qi(),l=bn(i),{className:c,columns:d,columnSpacing:f,component:g="div",container:x=!1,direction:T="row",item:m=!1,rowSpacing:M,spacing:R=0,wrap:E="wrap",zeroMinWidth:A=!1}=l,h=nt(l,lg),$=M||R,z=f||R,D=O.useContext(El),L=x?d||12:D,U={},C=k({},h);s.keys.forEach(K=>{h[K]!=null&&(U[K]=h[K],delete C[K])});const at=k({},l,{columns:L,container:x,direction:T,item:m,rowSpacing:$,columnSpacing:z,wrap:E,zeroMinWidth:A,spacing:R},U,{breakpoints:s.keys}),pt=gg(at);return B.jsx(El.Provider,{value:L,children:B.jsx(hg,k({ownerState:at,className:J(pt.root,c),as:g,ref:n},C))})});function mg(t){return Ct("MuiLinearProgress",t)}bt("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const bg=["className","color","value","valueBuffer","variant"];let Lr=t=>t,$l,Ml,Al,Pl,Ol,Il;const rs=4,vg=sr($l||($l=Lr`103 `),qe.rippleVisible,by,Qs,({theme:t})=>t.transitions.easing.easeInOut,qe.ripplePulsate,({theme:t})=>t.transitions.duration.shorter,qe.child,qe.childLeaving,vy,Qs,({theme:t})=>t.transitions.easing.easeInOut,qe.childPulsate,xy,({theme:t})=>t.transitions.easing.easeInOut),Cy=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiTouchRipple"}),{center:s=!1,classes:a={},className:c}=o,p=at(o,yy),[d,g]=M.useState([]),m=M.useRef(0),S=M.useRef(null);M.useEffect(()=>{S.current&&(S.current(),S.current=null)},[d]);const y=M.useRef(!1),j=Fr(),k=M.useRef(null),E=M.useRef(null),A=M.useCallback(I=>{const{pulsate:z,rippleX:N,rippleY:x,rippleSize:V,cb:G}=I;g(L=>[...L,F.jsx(Sy,{classes:{ripple:ot(a.ripple,qe.ripple),rippleVisible:ot(a.rippleVisible,qe.rippleVisible),ripplePulsate:ot(a.ripplePulsate,qe.ripplePulsate),child:ot(a.child,qe.child),childLeaving:ot(a.childLeaving,qe.childLeaving),childPulsate:ot(a.childPulsate,qe.childPulsate)},timeout:Qs,pulsate:z,rippleX:N,rippleY:x,rippleSize:V},m.current)]),m.current+=1,S.current=G},[a]),h=M.useCallback((I={},z={},N=()=>{})=>{const{pulsate:x=!1,center:V=s||z.pulsate,fakeElement:G=!1}=z;if((I==null?void 0:I.type)==="mousedown"&&y.current){y.current=!1;return}(I==null?void 0:I.type)==="touchstart"&&(y.current=!0);const L=G?null:E.current,K=L?L.getBoundingClientRect():{width:0,height:0,left:0,top:0};let J,_,Q;if(V||I===void 0||I.clientX===0&&I.clientY===0||!I.clientX&&!I.touches)J=Math.round(K.width/2),_=Math.round(K.height/2);else{const{clientX:q,clientY:tt}=I.touches&&I.touches.length>0?I.touches[0]:I;J=Math.round(q-K.left),_=Math.round(tt-K.top)}if(V)Q=Math.sqrt((2*K.width**2+K.height**2)/3),Q%2===0&&(Q+=1);else{const q=Math.max(Math.abs((L?L.clientWidth:0)-J),J)*2+2,tt=Math.max(Math.abs((L?L.clientHeight:0)-_),_)*2+2;Q=Math.sqrt(q**2+tt**2)}I!=null&&I.touches?k.current===null&&(k.current=()=>{A({pulsate:x,rippleX:J,rippleY:_,rippleSize:Q,cb:N})},j.start(my,()=>{k.current&&(k.current(),k.current=null)})):A({pulsate:x,rippleX:J,rippleY:_,rippleSize:Q,cb:N})},[s,A,j]),P=M.useCallback(()=>{h({},{pulsate:!0})},[h]),D=M.useCallback((I,z)=>{if(j.clear(),(I==null?void 0:I.type)==="touchend"&&k.current){k.current(),k.current=null,j.start(0,()=>{D(I,z)});return}k.current=null,g(N=>N.length>0?N.slice(1):N),S.current=z},[j]);return M.useImperativeHandle(n,()=>({pulsate:P,start:h,stop:D}),[P,h,D]),F.jsx(wy,T({className:ot(qe.root,a.root,c),ref:E},p,{children:F.jsx(Qg,{component:null,exit:!0,children:d})}))});function Ry(t){return kt("MuiButtonBase",t)}const Ey=Et("MuiButtonBase",["root","disabled","focusVisible"]),Ty=["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"],ky=t=>{const{disabled:e,focusVisible:n,focusVisibleClassName:o,classes:s}=t,c=jt({root:["root",e&&"disabled",n&&"focusVisible"]},Ry,s);return n&&o&&(c.root+=` ${o}`),c},jy=ht("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Ey.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),_r=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiButtonBase"}),{action:s,centerRipple:a=!1,children:c,className:p,component:d="button",disabled:g=!1,disableRipple:m=!1,disableTouchRipple:S=!1,focusRipple:y=!1,LinkComponent:j="a",onBlur:k,onClick:E,onContextMenu:A,onDragLeave:h,onFocus:P,onFocusVisible:D,onKeyDown:I,onKeyUp:z,onMouseDown:N,onMouseLeave:x,onMouseUp:V,onTouchEnd:G,onTouchMove:L,onTouchStart:K,tabIndex:J=0,TouchRippleProps:_,touchRippleRef:Q,type:q}=o,tt=at(o,Ty),dt=M.useRef(null),bt=M.useRef(null),it=ze(bt,Q),{isFocusVisibleRef:xt,onFocus:Ct,onBlur:Qt,ref:fe}=Ns(),[Ft,Wt]=M.useState(!1);g&&Ft&&Wt(!1),M.useImperativeHandle(s,()=>({focusVisible:()=>{Wt(!0),dt.current.focus()}}),[]);const[st,rt]=M.useState(!1);M.useEffect(()=>{rt(!0)},[]);const nt=st&&!m&&!g;M.useEffect(()=>{Ft&&y&&!m&&st&&bt.current.pulsate()},[m,y,Ft,st]);function Rt(yt,le,B=S){return gr(Re=>(le&&le(Re),!B&&bt.current&&bt.current[yt](Re),!0))}const ut=Rt("start",N),u=Rt("stop",A),w=Rt("stop",h),H=Rt("stop",V),he=Rt("stop",yt=>{Ft&&yt.preventDefault(),x&&x(yt)}),te=Rt("start",K),Ce=Rt("stop",G),ee=Rt("stop",L),ae=Rt("stop",yt=>{Qt(yt),xt.current===!1&&Wt(!1),k&&k(yt)},!1),Ae=gr(yt=>{dt.current||(dt.current=yt.currentTarget),Ct(yt),xt.current===!0&&(Wt(!0),D&&D(yt)),P&&P(yt)}),Lt=()=>{const yt=dt.current;return d&&d!=="button"&&!(yt.tagName==="A"&&yt.href)},ye=M.useRef(!1),me=gr(yt=>{y&&!ye.current&&Ft&&bt.current&&yt.key===" "&&(ye.current=!0,bt.current.stop(yt,()=>{bt.current.start(yt)})),yt.target===yt.currentTarget&&Lt()&&yt.key===" "&&yt.preventDefault(),I&&I(yt),yt.target===yt.currentTarget&&Lt()&&yt.key==="Enter"&&!g&&(yt.preventDefault(),E&&E(yt))}),be=gr(yt=>{y&&yt.key===" "&&bt.current&&Ft&&!yt.defaultPrevented&&(ye.current=!1,bt.current.stop(yt,()=>{bt.current.pulsate(yt)})),z&&z(yt),E&&yt.target===yt.currentTarget&&Lt()&&yt.key===" "&&!yt.defaultPrevented&&E(yt)});let ue=d;ue==="button"&&(tt.href||tt.to)&&(ue=j);const ve={};ue==="button"?(ve.type=q===void 0?"button":q,ve.disabled=g):(!tt.href&&!tt.to&&(ve.role="button"),g&&(ve["aria-disabled"]=g));const xe=ze(n,fe,dt),_e=T({},o,{centerRipple:a,component:d,disabled:g,disableRipple:m,disableTouchRipple:S,focusRipple:y,tabIndex:J,focusVisible:Ft}),ar=ky(_e);return F.jsxs(jy,T({as:ue,className:ot(ar.root,p),ownerState:_e,onBlur:ae,onClick:E,onContextMenu:u,onFocus:Ae,onKeyDown:me,onKeyUp:be,onMouseDown:ut,onMouseLeave:he,onMouseUp:H,onDragLeave:w,onTouchEnd:Ce,onTouchMove:ee,onTouchStart:te,ref:xe,tabIndex:g?-1:J,type:q},ve,tt,{children:[c,nt?F.jsx(Cy,T({ref:it,center:a},_)):null]}))});function Py(t){return kt("MuiAlert",t)}const kc=Et("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function $y(t){return kt("MuiIconButton",t)}const My=Et("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Ay=["edge","children","className","color","disabled","disableFocusRipple","size"],Oy=t=>{const{classes:e,disabled:n,color:o,edge:s,size:a}=t,c={root:["root",n&&"disabled",o!=="default"&&`color${X(o)}`,s&&`edge${X(s)}`,`size${X(a)}`]};return jt(c,$y,e)},Iy=ht(_r,{name:"MuiIconButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.color!=="default"&&e[`color${X(n.color)}`],n.edge&&e[`edge${X(n.edge)}`],e[`size${X(n.size)}`]]}})(({theme:t,ownerState:e})=>T({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})},!e.disableRipple&&{"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:Ot(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12}),({theme:t,ownerState:e})=>{var n;const o=(n=(t.vars||t).palette)==null?void 0:n[e.color];return T({},e.color==="inherit"&&{color:"inherit"},e.color!=="inherit"&&e.color!=="default"&&T({color:o==null?void 0:o.main},!e.disableRipple&&{"&:hover":T({},o&&{backgroundColor:t.vars?`rgba(${o.mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Ot(o.main,t.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),e.size==="small"&&{padding:5,fontSize:t.typography.pxToRem(18)},e.size==="large"&&{padding:12,fontSize:t.typography.pxToRem(28)},{[`&.${My.disabled}`]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled}})}),ta=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiIconButton"}),{edge:s=!1,children:a,className:c,color:p="default",disabled:d=!1,disableFocusRipple:g=!1,size:m="medium"}=o,S=at(o,Ay),y=T({},o,{edge:s,color:p,disabled:d,disableFocusRipple:g,size:m}),j=Oy(y);return F.jsx(Iy,T({className:ot(j.root,c),centerRipple:!0,focusRipple:!g,disabled:d,ref:n},S,{ownerState:y,children:a}))}),By=zt(F.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),Fy=zt(F.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),zy=zt(F.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),Dy=zt(F.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),Ny=zt(F.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),_y=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],Ly=t=>{const{variant:e,color:n,severity:o,classes:s}=t,a={root:["root",`color${X(n||o)}`,`${e}${X(n||o)}`,`${e}`],icon:["icon"],message:["message"],action:["action"]};return jt(a,Py,s)},Wy=ht(bi,{name:"MuiAlert",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`${n.variant}${X(n.color||n.severity)}`]]}})(({theme:t})=>{const e=t.palette.mode==="light"?Zn:Qn,n=t.palette.mode==="light"?Qn:Zn;return T({},t.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(t.palette).filter(([,o])=>o.main&&o.light).map(([o])=>({props:{colorSeverity:o,variant:"standard"},style:{color:t.vars?t.vars.palette.Alert[`${o}Color`]:e(t.palette[o].light,.6),backgroundColor:t.vars?t.vars.palette.Alert[`${o}StandardBg`]:n(t.palette[o].light,.9),[`& .${kc.icon}`]:t.vars?{color:t.vars.palette.Alert[`${o}IconColor`]}:{color:t.palette[o].main}}})),...Object.entries(t.palette).filter(([,o])=>o.main&&o.light).map(([o])=>({props:{colorSeverity:o,variant:"outlined"},style:{color:t.vars?t.vars.palette.Alert[`${o}Color`]:e(t.palette[o].light,.6),border:`1px solid ${(t.vars||t).palette[o].light}`,[`& .${kc.icon}`]:t.vars?{color:t.vars.palette.Alert[`${o}IconColor`]}:{color:t.palette[o].main}}})),...Object.entries(t.palette).filter(([,o])=>o.main&&o.dark).map(([o])=>({props:{colorSeverity:o,variant:"filled"},style:T({fontWeight:t.typography.fontWeightMedium},t.vars?{color:t.vars.palette.Alert[`${o}FilledColor`],backgroundColor:t.vars.palette.Alert[`${o}FilledBg`]}:{backgroundColor:t.palette.mode==="dark"?t.palette[o].dark:t.palette[o].main,color:t.palette.getContrastText(t.palette[o].main)})}))]})}),Uy=ht("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(t,e)=>e.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),Hy=ht("div",{name:"MuiAlert",slot:"Message",overridesResolver:(t,e)=>e.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),jc=ht("div",{name:"MuiAlert",slot:"Action",overridesResolver:(t,e)=>e.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Pc={success:F.jsx(By,{fontSize:"inherit"}),warning:F.jsx(Fy,{fontSize:"inherit"}),error:F.jsx(zy,{fontSize:"inherit"}),info:F.jsx(Dy,{fontSize:"inherit"})},Gy=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiAlert"}),{action:s,children:a,className:c,closeText:p="Close",color:d,components:g={},componentsProps:m={},icon:S,iconMapping:y=Pc,onClose:j,role:k="alert",severity:E="success",slotProps:A={},slots:h={},variant:P="standard"}=o,D=at(o,_y),I=T({},o,{color:d,severity:E,variant:P,colorSeverity:d||E}),z=Ly(I),N={slots:T({closeButton:g.CloseButton,closeIcon:g.CloseIcon},h),slotProps:T({},m,A)},[x,V]=Sc("closeButton",{elementType:ta,externalForwardedProps:N,ownerState:I}),[G,L]=Sc("closeIcon",{elementType:Ny,externalForwardedProps:N,ownerState:I});return F.jsxs(Wy,T({role:k,elevation:0,ownerState:I,className:ot(z.root,c),ref:n},D,{children:[S!==!1?F.jsx(Uy,{ownerState:I,className:z.icon,children:S||y[E]||Pc[E]}):null,F.jsx(Hy,{ownerState:I,className:z.message,children:a}),s!=null?F.jsx(jc,{ownerState:I,className:z.action,children:s}):null,s==null&&j?F.jsx(jc,{ownerState:I,className:z.action,children:F.jsx(x,T({size:"small","aria-label":p,title:p,color:"inherit",onClick:j},V,{children:F.jsx(G,T({fontSize:"small"},L))}))}):null]}))});function Vy(t){return kt("MuiTypography",t)}Et("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Ky=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Yy=t=>{const{align:e,gutterBottom:n,noWrap:o,paragraph:s,variant:a,classes:c}=t,p={root:["root",a,t.align!=="inherit"&&`align${X(e)}`,n&&"gutterBottom",o&&"noWrap",s&&"paragraph"]};return jt(p,Vy,c)},qy=ht("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.variant&&e[n.variant],n.align!=="inherit"&&e[`align${X(n.align)}`],n.noWrap&&e.noWrap,n.gutterBottom&&e.gutterBottom,n.paragraph&&e.paragraph]}})(({theme:t,ownerState:e})=>T({margin:0},e.variant==="inherit"&&{font:"inherit"},e.variant!=="inherit"&&t.typography[e.variant],e.align!=="inherit"&&{textAlign:e.align},e.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},e.gutterBottom&&{marginBottom:"0.35em"},e.paragraph&&{marginBottom:16})),$c={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Xy={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Jy=t=>Xy[t]||t,et=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiTypography"}),s=Jy(o.color),a=Yn(T({},o,{color:s})),{align:c="inherit",className:p,component:d,gutterBottom:g=!1,noWrap:m=!1,paragraph:S=!1,variant:y="body1",variantMapping:j=$c}=a,k=at(a,Ky),E=T({},a,{align:c,color:s,className:p,component:d,gutterBottom:g,noWrap:m,paragraph:S,variant:y,variantMapping:j}),A=d||(S?"p":j[y]||$c[y])||"span",h=Yy(E);return F.jsx(qy,T({as:A,ref:n,ownerState:E,className:ot(h.root,p)},k))});var ea={};Object.defineProperty(ea,"__esModule",{value:!0});var Mc=ea.default=void 0,Zy=tm(St),Qy=pc;function Ac(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(Ac=function(o){return o?n:e})(t)}function tm(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var n=Ac(e);if(n&&n.has(t))return n.get(t);var o={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if(a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)){var c=s?Object.getOwnPropertyDescriptor(t,a):null;c&&(c.get||c.set)?Object.defineProperty(o,a,c):o[a]=t[a]}return o.default=t,n&&n.set(t,o),o}function em(t){return Object.keys(t).length===0}function rm(t=null){const e=Zy.useContext(Qy.ThemeContext);return!e||em(e)?t:e}Mc=ea.default=rm;var $e="top",Xe="bottom",Je="right",Me="left",ra="auto",no=[$e,Xe,Je,Me],dn="start",oo="end",nm="clippingParents",Oc="viewport",io="popper",om="reference",Ic=no.reduce(function(t,e){return t.concat([e+"-"+dn,e+"-"+oo])},[]),Bc=[].concat(no,[ra]).reduce(function(t,e){return t.concat([e,e+"-"+dn,e+"-"+oo])},[]),im="beforeRead",sm="read",am="afterRead",lm="beforeMain",cm="main",um="afterMain",pm="beforeWrite",dm="write",fm="afterWrite",hm=[im,sm,am,lm,cm,um,pm,dm,fm];function dr(t){return t?(t.nodeName||"").toLowerCase():null}function De(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Lr(t){var e=De(t).Element;return t instanceof e||t instanceof Element}function Ze(t){var e=De(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function na(t){if(typeof ShadowRoot>"u")return!1;var e=De(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function gm(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var o=e.styles[n]||{},s=e.attributes[n]||{},a=e.elements[n];!Ze(a)||!dr(a)||(Object.assign(a.style,o),Object.keys(s).forEach(function(c){var p=s[c];p===!1?a.removeAttribute(c):a.setAttribute(c,p===!0?"":p)}))})}function ym(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(o){var s=e.elements[o],a=e.attributes[o]||{},c=Object.keys(e.styles.hasOwnProperty(o)?e.styles[o]:n[o]),p=c.reduce(function(d,g){return d[g]="",d},{});!Ze(s)||!dr(s)||(Object.assign(s.style,p),Object.keys(a).forEach(function(d){s.removeAttribute(d)}))})}}const mm={name:"applyStyles",enabled:!0,phase:"write",fn:gm,effect:ym,requires:["computeStyles"]};function fr(t){return t.split("-")[0]}var Wr=Math.max,xi=Math.min,fn=Math.round;function oa(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Fc(){return!/^((?!chrome|android).)*safari/i.test(oa())}function hn(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var o=t.getBoundingClientRect(),s=1,a=1;e&&Ze(t)&&(s=t.offsetWidth>0&&fn(o.width)/t.offsetWidth||1,a=t.offsetHeight>0&&fn(o.height)/t.offsetHeight||1);var c=Lr(t)?De(t):window,p=c.visualViewport,d=!Fc()&&n,g=(o.left+(d&&p?p.offsetLeft:0))/s,m=(o.top+(d&&p?p.offsetTop:0))/a,S=o.width/s,y=o.height/a;return{width:S,height:y,top:m,right:g+S,bottom:m+y,left:g,x:g,y:m}}function ia(t){var e=hn(t),n=t.offsetWidth,o=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-o)<=1&&(o=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:o}}function zc(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&na(n)){var o=e;do{if(o&&t.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function mr(t){return De(t).getComputedStyle(t)}function bm(t){return["table","td","th"].indexOf(dr(t))>=0}function Cr(t){return((Lr(t)?t.ownerDocument:t.document)||window.document).documentElement}function wi(t){return dr(t)==="html"?t:t.assignedSlot||t.parentNode||(na(t)?t.host:null)||Cr(t)}function Dc(t){return!Ze(t)||mr(t).position==="fixed"?null:t.offsetParent}function vm(t){var e=/firefox/i.test(oa()),n=/Trident/i.test(oa());if(n&&Ze(t)){var o=mr(t);if(o.position==="fixed")return null}var s=wi(t);for(na(s)&&(s=s.host);Ze(s)&&["html","body"].indexOf(dr(s))<0;){var a=mr(s);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||e&&a.willChange==="filter"||e&&a.filter&&a.filter!=="none")return s;s=s.parentNode}return null}function so(t){for(var e=De(t),n=Dc(t);n&&bm(n)&&mr(n).position==="static";)n=Dc(n);return n&&(dr(n)==="html"||dr(n)==="body"&&mr(n).position==="static")?e:n||vm(t)||e}function sa(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function ao(t,e,n){return Wr(t,xi(e,n))}function xm(t,e,n){var o=ao(t,e,n);return o>n?n:o}function Nc(){return{top:0,right:0,bottom:0,left:0}}function _c(t){return Object.assign({},Nc(),t)}function Lc(t,e){return e.reduce(function(n,o){return n[o]=t,n},{})}var wm=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,_c(typeof e!="number"?e:Lc(e,no))};function Sm(t){var e,n=t.state,o=t.name,s=t.options,a=n.elements.arrow,c=n.modifiersData.popperOffsets,p=fr(n.placement),d=sa(p),g=[Me,Je].indexOf(p)>=0,m=g?"height":"width";if(!(!a||!c)){var S=wm(s.padding,n),y=ia(a),j=d==="y"?$e:Me,k=d==="y"?Xe:Je,E=n.rects.reference[m]+n.rects.reference[d]-c[d]-n.rects.popper[m],A=c[d]-n.rects.reference[d],h=so(a),P=h?d==="y"?h.clientHeight||0:h.clientWidth||0:0,D=E/2-A/2,I=S[j],z=P-y[m]-S[k],N=P/2-y[m]/2+D,x=ao(I,N,z),V=d;n.modifiersData[o]=(e={},e[V]=x,e.centerOffset=x-N,e)}}function Cm(t){var e=t.state,n=t.options,o=n.element,s=o===void 0?"[data-popper-arrow]":o;s!=null&&(typeof s=="string"&&(s=e.elements.popper.querySelector(s),!s)||zc(e.elements.popper,s)&&(e.elements.arrow=s))}const Rm={name:"arrow",enabled:!0,phase:"main",fn:Sm,effect:Cm,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function gn(t){return t.split("-")[1]}var Em={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Tm(t,e){var n=t.x,o=t.y,s=e.devicePixelRatio||1;return{x:fn(n*s)/s||0,y:fn(o*s)/s||0}}function Wc(t){var e,n=t.popper,o=t.popperRect,s=t.placement,a=t.variation,c=t.offsets,p=t.position,d=t.gpuAcceleration,g=t.adaptive,m=t.roundOffsets,S=t.isFixed,y=c.x,j=y===void 0?0:y,k=c.y,E=k===void 0?0:k,A=typeof m=="function"?m({x:j,y:E}):{x:j,y:E};j=A.x,E=A.y;var h=c.hasOwnProperty("x"),P=c.hasOwnProperty("y"),D=Me,I=$e,z=window;if(g){var N=so(n),x="clientHeight",V="clientWidth";if(N===De(n)&&(N=Cr(n),mr(N).position!=="static"&&p==="absolute"&&(x="scrollHeight",V="scrollWidth")),N=N,s===$e||(s===Me||s===Je)&&a===oo){I=Xe;var G=S&&N===z&&z.visualViewport?z.visualViewport.height:N[x];E-=G-o.height,E*=d?1:-1}if(s===Me||(s===$e||s===Xe)&&a===oo){D=Je;var L=S&&N===z&&z.visualViewport?z.visualViewport.width:N[V];j-=L-o.width,j*=d?1:-1}}var K=Object.assign({position:p},g&&Em),J=m===!0?Tm({x:j,y:E},De(n)):{x:j,y:E};if(j=J.x,E=J.y,d){var _;return Object.assign({},K,(_={},_[I]=P?"0":"",_[D]=h?"0":"",_.transform=(z.devicePixelRatio||1)<=1?"translate("+j+"px, "+E+"px)":"translate3d("+j+"px, "+E+"px, 0)",_))}return Object.assign({},K,(e={},e[I]=P?E+"px":"",e[D]=h?j+"px":"",e.transform="",e))}function km(t){var e=t.state,n=t.options,o=n.gpuAcceleration,s=o===void 0?!0:o,a=n.adaptive,c=a===void 0?!0:a,p=n.roundOffsets,d=p===void 0?!0:p,g={placement:fr(e.placement),variation:gn(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Wc(Object.assign({},g,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:c,roundOffsets:d})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Wc(Object.assign({},g,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:d})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const jm={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:km,data:{}};var Si={passive:!0};function Pm(t){var e=t.state,n=t.instance,o=t.options,s=o.scroll,a=s===void 0?!0:s,c=o.resize,p=c===void 0?!0:c,d=De(e.elements.popper),g=[].concat(e.scrollParents.reference,e.scrollParents.popper);return a&&g.forEach(function(m){m.addEventListener("scroll",n.update,Si)}),p&&d.addEventListener("resize",n.update,Si),function(){a&&g.forEach(function(m){m.removeEventListener("scroll",n.update,Si)}),p&&d.removeEventListener("resize",n.update,Si)}}const $m={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Pm,data:{}};var Mm={left:"right",right:"left",bottom:"top",top:"bottom"};function Ci(t){return t.replace(/left|right|bottom|top/g,function(e){return Mm[e]})}var Am={start:"end",end:"start"};function Uc(t){return t.replace(/start|end/g,function(e){return Am[e]})}function aa(t){var e=De(t),n=e.pageXOffset,o=e.pageYOffset;return{scrollLeft:n,scrollTop:o}}function la(t){return hn(Cr(t)).left+aa(t).scrollLeft}function Om(t,e){var n=De(t),o=Cr(t),s=n.visualViewport,a=o.clientWidth,c=o.clientHeight,p=0,d=0;if(s){a=s.width,c=s.height;var g=Fc();(g||!g&&e==="fixed")&&(p=s.offsetLeft,d=s.offsetTop)}return{width:a,height:c,x:p+la(t),y:d}}function Im(t){var e,n=Cr(t),o=aa(t),s=(e=t.ownerDocument)==null?void 0:e.body,a=Wr(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),c=Wr(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),p=-o.scrollLeft+la(t),d=-o.scrollTop;return mr(s||n).direction==="rtl"&&(p+=Wr(n.clientWidth,s?s.clientWidth:0)-a),{width:a,height:c,x:p,y:d}}function ca(t){var e=mr(t),n=e.overflow,o=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+o)}function Hc(t){return["html","body","#document"].indexOf(dr(t))>=0?t.ownerDocument.body:Ze(t)&&ca(t)?t:Hc(wi(t))}function lo(t,e){var n;e===void 0&&(e=[]);var o=Hc(t),s=o===((n=t.ownerDocument)==null?void 0:n.body),a=De(o),c=s?[a].concat(a.visualViewport||[],ca(o)?o:[]):o,p=e.concat(c);return s?p:p.concat(lo(wi(c)))}function ua(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Bm(t,e){var n=hn(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Gc(t,e,n){return e===Oc?ua(Om(t,n)):Lr(e)?Bm(e,n):ua(Im(Cr(t)))}function Fm(t){var e=lo(wi(t)),n=["absolute","fixed"].indexOf(mr(t).position)>=0,o=n&&Ze(t)?so(t):t;return Lr(o)?e.filter(function(s){return Lr(s)&&zc(s,o)&&dr(s)!=="body"}):[]}function zm(t,e,n,o){var s=e==="clippingParents"?Fm(t):[].concat(e),a=[].concat(s,[n]),c=a[0],p=a.reduce(function(d,g){var m=Gc(t,g,o);return d.top=Wr(m.top,d.top),d.right=xi(m.right,d.right),d.bottom=xi(m.bottom,d.bottom),d.left=Wr(m.left,d.left),d},Gc(t,c,o));return p.width=p.right-p.left,p.height=p.bottom-p.top,p.x=p.left,p.y=p.top,p}function Vc(t){var e=t.reference,n=t.element,o=t.placement,s=o?fr(o):null,a=o?gn(o):null,c=e.x+e.width/2-n.width/2,p=e.y+e.height/2-n.height/2,d;switch(s){case $e:d={x:c,y:e.y-n.height};break;case Xe:d={x:c,y:e.y+e.height};break;case Je:d={x:e.x+e.width,y:p};break;case Me:d={x:e.x-n.width,y:p};break;default:d={x:e.x,y:e.y}}var g=s?sa(s):null;if(g!=null){var m=g==="y"?"height":"width";switch(a){case dn:d[g]=d[g]-(e[m]/2-n[m]/2);break;case oo:d[g]=d[g]+(e[m]/2-n[m]/2);break}}return d}function co(t,e){e===void 0&&(e={});var n=e,o=n.placement,s=o===void 0?t.placement:o,a=n.strategy,c=a===void 0?t.strategy:a,p=n.boundary,d=p===void 0?nm:p,g=n.rootBoundary,m=g===void 0?Oc:g,S=n.elementContext,y=S===void 0?io:S,j=n.altBoundary,k=j===void 0?!1:j,E=n.padding,A=E===void 0?0:E,h=_c(typeof A!="number"?A:Lc(A,no)),P=y===io?om:io,D=t.rects.popper,I=t.elements[k?P:y],z=zm(Lr(I)?I:I.contextElement||Cr(t.elements.popper),d,m,c),N=hn(t.elements.reference),x=Vc({reference:N,element:D,strategy:"absolute",placement:s}),V=ua(Object.assign({},D,x)),G=y===io?V:N,L={top:z.top-G.top+h.top,bottom:G.bottom-z.bottom+h.bottom,left:z.left-G.left+h.left,right:G.right-z.right+h.right},K=t.modifiersData.offset;if(y===io&&K){var J=K[s];Object.keys(L).forEach(function(_){var Q=[Je,Xe].indexOf(_)>=0?1:-1,q=[$e,Xe].indexOf(_)>=0?"y":"x";L[_]+=J[q]*Q})}return L}function Dm(t,e){e===void 0&&(e={});var n=e,o=n.placement,s=n.boundary,a=n.rootBoundary,c=n.padding,p=n.flipVariations,d=n.allowedAutoPlacements,g=d===void 0?Bc:d,m=gn(o),S=m?p?Ic:Ic.filter(function(k){return gn(k)===m}):no,y=S.filter(function(k){return g.indexOf(k)>=0});y.length===0&&(y=S);var j=y.reduce(function(k,E){return k[E]=co(t,{placement:E,boundary:s,rootBoundary:a,padding:c})[fr(E)],k},{});return Object.keys(j).sort(function(k,E){return j[k]-j[E]})}function Nm(t){if(fr(t)===ra)return[];var e=Ci(t);return[Uc(t),e,Uc(e)]}function _m(t){var e=t.state,n=t.options,o=t.name;if(!e.modifiersData[o]._skip){for(var s=n.mainAxis,a=s===void 0?!0:s,c=n.altAxis,p=c===void 0?!0:c,d=n.fallbackPlacements,g=n.padding,m=n.boundary,S=n.rootBoundary,y=n.altBoundary,j=n.flipVariations,k=j===void 0?!0:j,E=n.allowedAutoPlacements,A=e.options.placement,h=fr(A),P=h===A,D=d||(P||!k?[Ci(A)]:Nm(A)),I=[A].concat(D).reduce(function(Ft,Wt){return Ft.concat(fr(Wt)===ra?Dm(e,{placement:Wt,boundary:m,rootBoundary:S,padding:g,flipVariations:k,allowedAutoPlacements:E}):Wt)},[]),z=e.rects.reference,N=e.rects.popper,x=new Map,V=!0,G=I[0],L=0;L<I.length;L++){var K=I[L],J=fr(K),_=gn(K)===dn,Q=[$e,Xe].indexOf(J)>=0,q=Q?"width":"height",tt=co(e,{placement:K,boundary:m,rootBoundary:S,altBoundary:y,padding:g}),dt=Q?_?Je:Me:_?Xe:$e;z[q]>N[q]&&(dt=Ci(dt));var bt=Ci(dt),it=[];if(a&&it.push(tt[J]<=0),p&&it.push(tt[dt]<=0,tt[bt]<=0),it.every(function(Ft){return Ft})){G=K,V=!1;break}x.set(K,it)}if(V)for(var xt=k?3:1,Ct=function(Wt){var st=I.find(function(rt){var nt=x.get(rt);if(nt)return nt.slice(0,Wt).every(function(Rt){return Rt})});if(st)return G=st,"break"},Qt=xt;Qt>0;Qt--){var fe=Ct(Qt);if(fe==="break")break}e.placement!==G&&(e.modifiersData[o]._skip=!0,e.placement=G,e.reset=!0)}}const Lm={name:"flip",enabled:!0,phase:"main",fn:_m,requiresIfExists:["offset"],data:{_skip:!1}};function Kc(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Yc(t){return[$e,Je,Xe,Me].some(function(e){return t[e]>=0})}function Wm(t){var e=t.state,n=t.name,o=e.rects.reference,s=e.rects.popper,a=e.modifiersData.preventOverflow,c=co(e,{elementContext:"reference"}),p=co(e,{altBoundary:!0}),d=Kc(c,o),g=Kc(p,s,a),m=Yc(d),S=Yc(g);e.modifiersData[n]={referenceClippingOffsets:d,popperEscapeOffsets:g,isReferenceHidden:m,hasPopperEscaped:S},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":m,"data-popper-escaped":S})}const Um={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Wm};function Hm(t,e,n){var o=fr(t),s=[Me,$e].indexOf(o)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,c=a[0],p=a[1];return c=c||0,p=(p||0)*s,[Me,Je].indexOf(o)>=0?{x:p,y:c}:{x:c,y:p}}function Gm(t){var e=t.state,n=t.options,o=t.name,s=n.offset,a=s===void 0?[0,0]:s,c=Bc.reduce(function(m,S){return m[S]=Hm(S,e.rects,a),m},{}),p=c[e.placement],d=p.x,g=p.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=d,e.modifiersData.popperOffsets.y+=g),e.modifiersData[o]=c}const Vm={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Gm};function Km(t){var e=t.state,n=t.name;e.modifiersData[n]=Vc({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Ym={name:"popperOffsets",enabled:!0,phase:"read",fn:Km,data:{}};function qm(t){return t==="x"?"y":"x"}function Xm(t){var e=t.state,n=t.options,o=t.name,s=n.mainAxis,a=s===void 0?!0:s,c=n.altAxis,p=c===void 0?!1:c,d=n.boundary,g=n.rootBoundary,m=n.altBoundary,S=n.padding,y=n.tether,j=y===void 0?!0:y,k=n.tetherOffset,E=k===void 0?0:k,A=co(e,{boundary:d,rootBoundary:g,padding:S,altBoundary:m}),h=fr(e.placement),P=gn(e.placement),D=!P,I=sa(h),z=qm(I),N=e.modifiersData.popperOffsets,x=e.rects.reference,V=e.rects.popper,G=typeof E=="function"?E(Object.assign({},e.rects,{placement:e.placement})):E,L=typeof G=="number"?{mainAxis:G,altAxis:G}:Object.assign({mainAxis:0,altAxis:0},G),K=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,J={x:0,y:0};if(N){if(a){var _,Q=I==="y"?$e:Me,q=I==="y"?Xe:Je,tt=I==="y"?"height":"width",dt=N[I],bt=dt+A[Q],it=dt-A[q],xt=j?-V[tt]/2:0,Ct=P===dn?x[tt]:V[tt],Qt=P===dn?-V[tt]:-x[tt],fe=e.elements.arrow,Ft=j&&fe?ia(fe):{width:0,height:0},Wt=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Nc(),st=Wt[Q],rt=Wt[q],nt=ao(0,x[tt],Ft[tt]),Rt=D?x[tt]/2-xt-nt-st-L.mainAxis:Ct-nt-st-L.mainAxis,ut=D?-x[tt]/2+xt+nt+rt+L.mainAxis:Qt+nt+rt+L.mainAxis,u=e.elements.arrow&&so(e.elements.arrow),w=u?I==="y"?u.clientTop||0:u.clientLeft||0:0,H=(_=K==null?void 0:K[I])!=null?_:0,he=dt+Rt-H-w,te=dt+ut-H,Ce=ao(j?xi(bt,he):bt,dt,j?Wr(it,te):it);N[I]=Ce,J[I]=Ce-dt}if(p){var ee,ae=I==="x"?$e:Me,Ae=I==="x"?Xe:Je,Lt=N[z],ye=z==="y"?"height":"width",me=Lt+A[ae],be=Lt-A[Ae],ue=[$e,Me].indexOf(h)!==-1,ve=(ee=K==null?void 0:K[z])!=null?ee:0,xe=ue?me:Lt-x[ye]-V[ye]-ve+L.altAxis,_e=ue?Lt+x[ye]+V[ye]-ve-L.altAxis:be,ar=j&&ue?xm(xe,Lt,_e):ao(j?xe:me,Lt,j?_e:be);N[z]=ar,J[z]=ar-Lt}e.modifiersData[o]=J}}const Jm={name:"preventOverflow",enabled:!0,phase:"main",fn:Xm,requiresIfExists:["offset"]};function Zm(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Qm(t){return t===De(t)||!Ze(t)?aa(t):Zm(t)}function t0(t){var e=t.getBoundingClientRect(),n=fn(e.width)/t.offsetWidth||1,o=fn(e.height)/t.offsetHeight||1;return n!==1||o!==1}function e0(t,e,n){n===void 0&&(n=!1);var o=Ze(e),s=Ze(e)&&t0(e),a=Cr(e),c=hn(t,s,n),p={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(o||!o&&!n)&&((dr(e)!=="body"||ca(a))&&(p=Qm(e)),Ze(e)?(d=hn(e,!0),d.x+=e.clientLeft,d.y+=e.clientTop):a&&(d.x=la(a))),{x:c.left+p.scrollLeft-d.x,y:c.top+p.scrollTop-d.y,width:c.width,height:c.height}}function r0(t){var e=new Map,n=new Set,o=[];t.forEach(function(a){e.set(a.name,a)});function s(a){n.add(a.name);var c=[].concat(a.requires||[],a.requiresIfExists||[]);c.forEach(function(p){if(!n.has(p)){var d=e.get(p);d&&s(d)}}),o.push(a)}return t.forEach(function(a){n.has(a.name)||s(a)}),o}function n0(t){var e=r0(t);return hm.reduce(function(n,o){return n.concat(e.filter(function(s){return s.phase===o}))},[])}function o0(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function i0(t){var e=t.reduce(function(n,o){var s=n[o.name];return n[o.name]=s?Object.assign({},s,o,{options:Object.assign({},s.options,o.options),data:Object.assign({},s.data,o.data)}):o,n},{});return Object.keys(e).map(function(n){return e[n]})}var qc={placement:"bottom",modifiers:[],strategy:"absolute"};function Xc(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function s0(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,o=n===void 0?[]:n,s=e.defaultOptions,a=s===void 0?qc:s;return function(p,d,g){g===void 0&&(g=a);var m={placement:"bottom",orderedModifiers:[],options:Object.assign({},qc,a),modifiersData:{},elements:{reference:p,popper:d},attributes:{},styles:{}},S=[],y=!1,j={state:m,setOptions:function(h){var P=typeof h=="function"?h(m.options):h;E(),m.options=Object.assign({},a,m.options,P),m.scrollParents={reference:Lr(p)?lo(p):p.contextElement?lo(p.contextElement):[],popper:lo(d)};var D=n0(i0([].concat(o,m.options.modifiers)));return m.orderedModifiers=D.filter(function(I){return I.enabled}),k(),j.update()},forceUpdate:function(){if(!y){var h=m.elements,P=h.reference,D=h.popper;if(Xc(P,D)){m.rects={reference:e0(P,so(D),m.options.strategy==="fixed"),popper:ia(D)},m.reset=!1,m.placement=m.options.placement,m.orderedModifiers.forEach(function(L){return m.modifiersData[L.name]=Object.assign({},L.data)});for(var I=0;I<m.orderedModifiers.length;I++){if(m.reset===!0){m.reset=!1,I=-1;continue}var z=m.orderedModifiers[I],N=z.fn,x=z.options,V=x===void 0?{}:x,G=z.name;typeof N=="function"&&(m=N({state:m,options:V,name:G,instance:j})||m)}}}},update:o0(function(){return new Promise(function(A){j.forceUpdate(),A(m)})}),destroy:function(){E(),y=!0}};if(!Xc(p,d))return j;j.setOptions(g).then(function(A){!y&&g.onFirstUpdate&&g.onFirstUpdate(A)});function k(){m.orderedModifiers.forEach(function(A){var h=A.name,P=A.options,D=P===void 0?{}:P,I=A.effect;if(typeof I=="function"){var z=I({state:m,name:h,instance:j,options:D}),N=function(){};S.push(z||N)}})}function E(){S.forEach(function(A){return A()}),S=[]}return j}}var a0=[$m,Ym,jm,mm,Vm,Lm,Jm,Rm,Um],l0=s0({defaultModifiers:a0});function c0(t){return typeof t=="function"?t():t}const u0=M.forwardRef(function(e,n){const{children:o,container:s,disablePortal:a=!1}=e,[c,p]=M.useState(null),d=ze(M.isValidElement(o)?Ls(o):null,n);if(Br(()=>{a||p(c0(s)||document.body)},[s,a]),Br(()=>{if(c&&!a)return Fs(n,c),()=>{Fs(n,null)}},[n,c,a]),a){if(M.isValidElement(o)){const g={ref:d};return M.cloneElement(o,g)}return F.jsx(M.Fragment,{children:o})}return F.jsx(M.Fragment,{children:c&&yp.createPortal(o,c)})});function p0(t){return kt("MuiPopper",t)}Et("MuiPopper",["root"]);const d0=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],f0=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function h0(t,e){if(e==="ltr")return t;switch(t){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 t}}function pa(t){return typeof t=="function"?t():t}function g0(t){return t.nodeType!==void 0}const y0=t=>{const{classes:e}=t;return jt({root:["root"]},p0,e)},m0={},b0=M.forwardRef(function(e,n){var o;const{anchorEl:s,children:a,direction:c,disablePortal:p,modifiers:d,open:g,placement:m,popperOptions:S,popperRef:y,slotProps:j={},slots:k={},TransitionProps:E}=e,A=at(e,d0),h=M.useRef(null),P=ze(h,n),D=M.useRef(null),I=ze(D,y),z=M.useRef(I);Br(()=>{z.current=I},[I]),M.useImperativeHandle(y,()=>D.current,[]);const N=h0(m,c),[x,V]=M.useState(N),[G,L]=M.useState(pa(s));M.useEffect(()=>{D.current&&D.current.forceUpdate()}),M.useEffect(()=>{s&&L(pa(s))},[s]),Br(()=>{if(!G||!g)return;const q=bt=>{V(bt.placement)};let tt=[{name:"preventOverflow",options:{altBoundary:p}},{name:"flip",options:{altBoundary:p}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:bt})=>{q(bt)}}];d!=null&&(tt=tt.concat(d)),S&&S.modifiers!=null&&(tt=tt.concat(S.modifiers));const dt=l0(G,h.current,T({placement:N},S,{modifiers:tt}));return z.current(dt),()=>{dt.destroy(),z.current(null)}},[G,p,d,g,S,N]);const K={placement:x};E!==null&&(K.TransitionProps=E);const J=y0(e),_=(o=k.root)!=null?o:"div",Q=Jn({elementType:_,externalSlotProps:j.root,externalForwardedProps:A,additionalProps:{role:"tooltip",ref:P},ownerState:e,className:J.root});return F.jsx(_,T({},Q,{children:typeof a=="function"?a(K):a}))}),v0=M.forwardRef(function(e,n){const{anchorEl:o,children:s,container:a,direction:c="ltr",disablePortal:p=!1,keepMounted:d=!1,modifiers:g,open:m,placement:S="bottom",popperOptions:y=m0,popperRef:j,style:k,transition:E=!1,slotProps:A={},slots:h={}}=e,P=at(e,f0),[D,I]=M.useState(!0),z=()=>{I(!1)},N=()=>{I(!0)};if(!d&&!m&&(!E||D))return null;let x;if(a)x=a;else if(o){const L=pa(o);x=L&&g0(L)?ci(L).body:ci(null).body}const V=!m&&d&&(!E||D)?"none":void 0,G=E?{in:m,onEnter:z,onExited:N}:void 0;return F.jsx(u0,{disablePortal:p,container:x,children:F.jsx(b0,T({anchorEl:o,direction:c,disablePortal:p,modifiers:g,ref:n,open:E?!D:m,placement:S,popperOptions:y,popperRef:j,slotProps:A,slots:h},P,{style:T({position:"fixed",top:0,left:0,display:V},k),TransitionProps:G,children:s}))})}),x0=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],w0=ht(v0,{name:"MuiPopper",slot:"Root",overridesResolver:(t,e)=>e.root})({}),Jc=M.forwardRef(function(e,n){var o;const s=Mc(),a=Tt({props:e,name:"MuiPopper"}),{anchorEl:c,component:p,components:d,componentsProps:g,container:m,disablePortal:S,keepMounted:y,modifiers:j,open:k,placement:E,popperOptions:A,popperRef:h,transition:P,slots:D,slotProps:I}=a,z=at(a,x0),N=(o=D==null?void 0:D.root)!=null?o:d==null?void 0:d.Root,x=T({anchorEl:c,container:m,disablePortal:S,keepMounted:y,modifiers:j,open:k,placement:E,popperOptions:A,popperRef:h,transition:P},z);return F.jsx(w0,T({as:p,direction:s==null?void 0:s.direction,slots:{root:N},slotProps:I??g},x,{ref:n}))}),S0=zt(F.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function C0(t){return kt("MuiChip",t)}const Pt=Et("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),R0=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],E0=t=>{const{classes:e,disabled:n,size:o,color:s,iconColor:a,onDelete:c,clickable:p,variant:d}=t,g={root:["root",d,n&&"disabled",`size${X(o)}`,`color${X(s)}`,p&&"clickable",p&&`clickableColor${X(s)}`,c&&"deletable",c&&`deletableColor${X(s)}`,`${d}${X(s)}`],label:["label",`label${X(o)}`],avatar:["avatar",`avatar${X(o)}`,`avatarColor${X(s)}`],icon:["icon",`icon${X(o)}`,`iconColor${X(a)}`],deleteIcon:["deleteIcon",`deleteIcon${X(o)}`,`deleteIconColor${X(s)}`,`deleteIcon${X(d)}Color${X(s)}`]};return jt(g,C0,e)},T0=ht("div",{name:"MuiChip",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t,{color:o,iconColor:s,clickable:a,onDelete:c,size:p,variant:d}=n;return[{[`& .${Pt.avatar}`]:e.avatar},{[`& .${Pt.avatar}`]:e[`avatar${X(p)}`]},{[`& .${Pt.avatar}`]:e[`avatarColor${X(o)}`]},{[`& .${Pt.icon}`]:e.icon},{[`& .${Pt.icon}`]:e[`icon${X(p)}`]},{[`& .${Pt.icon}`]:e[`iconColor${X(s)}`]},{[`& .${Pt.deleteIcon}`]:e.deleteIcon},{[`& .${Pt.deleteIcon}`]:e[`deleteIcon${X(p)}`]},{[`& .${Pt.deleteIcon}`]:e[`deleteIconColor${X(o)}`]},{[`& .${Pt.deleteIcon}`]:e[`deleteIcon${X(d)}Color${X(o)}`]},e.root,e[`size${X(p)}`],e[`color${X(o)}`],a&&e.clickable,a&&o!=="default"&&e[`clickableColor${X(o)})`],c&&e.deletable,c&&o!=="default"&&e[`deletableColor${X(o)}`],e[d],e[`${d}${X(o)}`]]}})(({theme:t,ownerState:e})=>{const n=t.palette.mode==="light"?t.palette.grey[700]:t.palette.grey[300];return T({maxWidth:"100%",fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(t.vars||t).palette.text.primary,backgroundColor:(t.vars||t).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:t.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Pt.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Pt.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:t.vars?t.vars.palette.Chip.defaultAvatarColor:n,fontSize:t.typography.pxToRem(12)},[`& .${Pt.avatarColorPrimary}`]:{color:(t.vars||t).palette.primary.contrastText,backgroundColor:(t.vars||t).palette.primary.dark},[`& .${Pt.avatarColorSecondary}`]:{color:(t.vars||t).palette.secondary.contrastText,backgroundColor:(t.vars||t).palette.secondary.dark},[`& .${Pt.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:t.typography.pxToRem(10)},[`& .${Pt.icon}`]:T({marginLeft:5,marginRight:-6},e.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},e.iconColor===e.color&&T({color:t.vars?t.vars.palette.Chip.defaultIconColor:n},e.color!=="default"&&{color:"inherit"})),[`& .${Pt.deleteIcon}`]:T({WebkitTapHighlightColor:"transparent",color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.26)`:Ot(t.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.4)`:Ot(t.palette.text.primary,.4)}},e.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},e.color!=="default"&&{color:t.vars?`rgba(${t.vars.palette[e.color].contrastTextChannel} / 0.7)`:Ot(t.palette[e.color].contrastText,.7),"&:hover, &:active":{color:(t.vars||t).palette[e.color].contrastText}})},e.size==="small"&&{height:24},e.color!=="default"&&{backgroundColor:(t.vars||t).palette[e.color].main,color:(t.vars||t).palette[e.color].contrastText},e.onDelete&&{[`&.${Pt.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:Ot(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},e.onDelete&&e.color!=="default"&&{[`&.${Pt.focusVisible}`]:{backgroundColor:(t.vars||t).palette[e.color].dark}})},({theme:t,ownerState:e})=>T({},e.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Ot(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)},[`&.${Pt.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:Ot(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)},"&:active":{boxShadow:(t.vars||t).shadows[1]}},e.clickable&&e.color!=="default"&&{[`&:hover, &.${Pt.focusVisible}`]:{backgroundColor:(t.vars||t).palette[e.color].dark}}),({theme:t,ownerState:e})=>T({},e.variant==="outlined"&&{backgroundColor:"transparent",border:t.vars?`1px solid ${t.vars.palette.Chip.defaultBorder}`:`1px solid ${t.palette.mode==="light"?t.palette.grey[400]:t.palette.grey[700]}`,[`&.${Pt.clickable}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${Pt.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`& .${Pt.avatar}`]:{marginLeft:4},[`& .${Pt.avatarSmall}`]:{marginLeft:2},[`& .${Pt.icon}`]:{marginLeft:4},[`& .${Pt.iconSmall}`]:{marginLeft:2},[`& .${Pt.deleteIcon}`]:{marginRight:5},[`& .${Pt.deleteIconSmall}`]:{marginRight:3}},e.variant==="outlined"&&e.color!=="default"&&{color:(t.vars||t).palette[e.color].main,border:`1px solid ${t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / 0.7)`:Ot(t.palette[e.color].main,.7)}`,[`&.${Pt.clickable}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Ot(t.palette[e.color].main,t.palette.action.hoverOpacity)},[`&.${Pt.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.focusOpacity})`:Ot(t.palette[e.color].main,t.palette.action.focusOpacity)},[`& .${Pt.deleteIcon}`]:{color:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / 0.7)`:Ot(t.palette[e.color].main,.7),"&:hover, &:active":{color:(t.vars||t).palette[e.color].main}}})),k0=ht("span",{name:"MuiChip",slot:"Label",overridesResolver:(t,e)=>{const{ownerState:n}=t,{size:o}=n;return[e.label,e[`label${X(o)}`]]}})(({ownerState:t})=>T({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},t.variant==="outlined"&&{paddingLeft:11,paddingRight:11},t.size==="small"&&{paddingLeft:8,paddingRight:8},t.size==="small"&&t.variant==="outlined"&&{paddingLeft:7,paddingRight:7}));function Zc(t){return t.key==="Backspace"||t.key==="Delete"}const Qe=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiChip"}),{avatar:s,className:a,clickable:c,color:p="default",component:d,deleteIcon:g,disabled:m=!1,icon:S,label:y,onClick:j,onDelete:k,onKeyDown:E,onKeyUp:A,size:h="medium",variant:P="filled",tabIndex:D,skipFocusWhenDisabled:I=!1}=o,z=at(o,R0),N=M.useRef(null),x=ze(N,n),V=it=>{it.stopPropagation(),k&&k(it)},G=it=>{it.currentTarget===it.target&&Zc(it)&&it.preventDefault(),E&&E(it)},L=it=>{it.currentTarget===it.target&&(k&&Zc(it)?k(it):it.key==="Escape"&&N.current&&N.current.blur()),A&&A(it)},K=c!==!1&&j?!0:c,J=K||k?_r:d||"div",_=T({},o,{component:J,disabled:m,size:h,color:p,iconColor:M.isValidElement(S)&&S.props.color||p,onDelete:!!k,clickable:K,variant:P}),Q=E0(_),q=J===_r?T({component:d||"div",focusVisibleClassName:Q.focusVisible},k&&{disableRipple:!0}):{};let tt=null;k&&(tt=g&&M.isValidElement(g)?M.cloneElement(g,{className:ot(g.props.className,Q.deleteIcon),onClick:V}):F.jsx(S0,{className:ot(Q.deleteIcon),onClick:V}));let dt=null;s&&M.isValidElement(s)&&(dt=M.cloneElement(s,{className:ot(Q.avatar,s.props.className)}));let bt=null;return S&&M.isValidElement(S)&&(bt=M.cloneElement(S,{className:ot(Q.icon,S.props.className)})),F.jsxs(T0,T({as:J,className:ot(Q.root,a),disabled:K&&m?!0:void 0,onClick:j,onKeyDown:G,onKeyUp:L,ref:x,tabIndex:I&&m?-1:D,ownerState:_},q,z,{children:[dt||bt,F.jsx(k0,{className:ot(Q.label),ownerState:_,children:y}),tt]}))});function j0(t){return F.jsx(Af,T({},t,{defaultTheme:Vs,themeId:Zr}))}const P0=Et("MuiBox",["root"]),$0=cc(),ft=zf({themeId:Zr,defaultTheme:$0,defaultClassName:P0.root,generateClassName:Tl.generate});function M0(t){return kt("MuiButton",t)}const Ri=Et("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),A0=M.createContext({}),O0=M.createContext(void 0),I0=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],B0=t=>{const{color:e,disableElevation:n,fullWidth:o,size:s,variant:a,classes:c}=t,p={root:["root",a,`${a}${X(e)}`,`size${X(s)}`,`${a}Size${X(s)}`,`color${X(e)}`,n&&"disableElevation",o&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${X(s)}`],endIcon:["icon","endIcon",`iconSize${X(s)}`]},d=jt(p,M0,c);return T({},c,d)},Qc=t=>T({},t.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},t.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},t.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),F0=ht(_r,{shouldForwardProp:t=>hc(t)||t==="classes",name:"MuiButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`${n.variant}${X(n.color)}`],e[`size${X(n.size)}`],e[`${n.variant}Size${X(n.size)}`],n.color==="inherit"&&e.colorInherit,n.disableElevation&&e.disableElevation,n.fullWidth&&e.fullWidth]}})(({theme:t,ownerState:e})=>{var n,o;const s=t.palette.mode==="light"?t.palette.grey[300]:t.palette.grey[800],a=t.palette.mode==="light"?t.palette.grey.A100:t.palette.grey[700];return T({},t.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":T({textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:Ot(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},e.variant==="text"&&e.color!=="inherit"&&{backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Ot(t.palette[e.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},e.variant==="outlined"&&e.color!=="inherit"&&{border:`1px solid ${(t.vars||t).palette[e.color].main}`,backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Ot(t.palette[e.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},e.variant==="contained"&&{backgroundColor:t.vars?t.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2],backgroundColor:(t.vars||t).palette.grey[300]}},e.variant==="contained"&&e.color!=="inherit"&&{backgroundColor:(t.vars||t).palette[e.color].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[e.color].main}}),"&:active":T({},e.variant==="contained"&&{boxShadow:(t.vars||t).shadows[8]}),[`&.${Ri.focusVisible}`]:T({},e.variant==="contained"&&{boxShadow:(t.vars||t).shadows[6]}),[`&.${Ri.disabled}`]:T({color:(t.vars||t).palette.action.disabled},e.variant==="outlined"&&{border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},e.variant==="contained"&&{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground})},e.variant==="text"&&{padding:"6px 8px"},e.variant==="text"&&e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main},e.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},e.variant==="outlined"&&e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main,border:t.vars?`1px solid rgba(${t.vars.palette[e.color].mainChannel} / 0.5)`:`1px solid ${Ot(t.palette[e.color].main,.5)}`},e.variant==="contained"&&{color:t.vars?t.vars.palette.text.primary:(n=(o=t.palette).getContrastText)==null?void 0:n.call(o,t.palette.grey[300]),backgroundColor:t.vars?t.vars.palette.Button.inheritContainedBg:s,boxShadow:(t.vars||t).shadows[2]},e.variant==="contained"&&e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].contrastText,backgroundColor:(t.vars||t).palette[e.color].main},e.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},e.size==="small"&&e.variant==="text"&&{padding:"4px 5px",fontSize:t.typography.pxToRem(13)},e.size==="large"&&e.variant==="text"&&{padding:"8px 11px",fontSize:t.typography.pxToRem(15)},e.size==="small"&&e.variant==="outlined"&&{padding:"3px 9px",fontSize:t.typography.pxToRem(13)},e.size==="large"&&e.variant==="outlined"&&{padding:"7px 21px",fontSize:t.typography.pxToRem(15)},e.size==="small"&&e.variant==="contained"&&{padding:"4px 10px",fontSize:t.typography.pxToRem(13)},e.size==="large"&&e.variant==="contained"&&{padding:"8px 22px",fontSize:t.typography.pxToRem(15)},e.fullWidth&&{width:"100%"})},({ownerState:t})=>t.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Ri.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Ri.disabled}`]:{boxShadow:"none"}}),z0=ht("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.startIcon,e[`iconSize${X(n.size)}`]]}})(({ownerState:t})=>T({display:"inherit",marginRight:8,marginLeft:-4},t.size==="small"&&{marginLeft:-2},Qc(t))),D0=ht("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.endIcon,e[`iconSize${X(n.size)}`]]}})(({ownerState:t})=>T({display:"inherit",marginRight:-4,marginLeft:8},t.size==="small"&&{marginRight:-2},Qc(t))),tu=M.forwardRef(function(e,n){const o=M.useContext(A0),s=M.useContext(O0),a=qn(o,e),c=Tt({props:a,name:"MuiButton"}),{children:p,color:d="primary",component:g="button",className:m,disabled:S=!1,disableElevation:y=!1,disableFocusRipple:j=!1,endIcon:k,focusVisibleClassName:E,fullWidth:A=!1,size:h="medium",startIcon:P,type:D,variant:I="text"}=c,z=at(c,I0),N=T({},c,{color:d,component:g,disabled:S,disableElevation:y,disableFocusRipple:j,fullWidth:A,size:h,type:D,variant:I}),x=B0(N),V=P&&F.jsx(z0,{className:x.startIcon,ownerState:N,children:P}),G=k&&F.jsx(D0,{className:x.endIcon,ownerState:N,children:k}),L=s||"";return F.jsxs(F0,T({ownerState:N,className:ot(o.className,x.root,m,L),component:g,disabled:S,focusRipple:!j,focusVisibleClassName:ot(x.focusVisible,E),ref:n,type:D},z,{classes:x,children:[V,p,G]}))});function N0(t){return kt("MuiCard",t)}Et("MuiCard",["root"]);const _0=["className","raised"],L0=t=>{const{classes:e}=t;return jt({root:["root"]},N0,e)},W0=ht(bi,{name:"MuiCard",slot:"Root",overridesResolver:(t,e)=>e.root})(()=>({overflow:"hidden"})),Rr=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiCard"}),{className:s,raised:a=!1}=o,c=at(o,_0),p=T({},o,{raised:a}),d=L0(p);return F.jsx(W0,T({className:ot(d.root,s),elevation:a?8:void 0,ref:n,ownerState:p},c))});function U0(t){return kt("MuiCardContent",t)}Et("MuiCardContent",["root"]);const H0=["className","component"],G0=t=>{const{classes:e}=t;return jt({root:["root"]},U0,e)},V0=ht("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(t,e)=>e.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),Er=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiCardContent"}),{className:s,component:a="div"}=o,c=at(o,H0),p=T({},o,{component:a}),d=G0(p);return F.jsx(V0,T({as:a,className:ot(d.root,s),ownerState:p,ref:n},c))}),K0=(t,e)=>T({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},e&&!t.vars&&{colorScheme:t.palette.mode}),Y0=t=>T({color:(t.vars||t).palette.text.primary},t.typography.body1,{backgroundColor:(t.vars||t).palette.background.default,"@media print":{backgroundColor:(t.vars||t).palette.common.white}}),q0=(t,e=!1)=>{var n;const o={};e&&t.colorSchemes&&Object.entries(t.colorSchemes).forEach(([c,p])=>{var d;o[t.getColorSchemeSelector(c).replace(/\s*&/,"")]={colorScheme:(d=p.palette)==null?void 0:d.mode}});let s=T({html:K0(t,e),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:T({margin:0},Y0(t),{"&::backdrop":{backgroundColor:(t.vars||t).palette.background.default}})},o);const a=(n=t.components)==null||(n=n.MuiCssBaseline)==null?void 0:n.styleOverrides;return a&&(s=[s,a]),s};function X0(t){const e=Tt({props:t,name:"MuiCssBaseline"}),{children:n,enableColorScheme:o=!1}=e;return F.jsxs(M.Fragment,{children:[F.jsx(j0,{styles:s=>q0(s,o)}),n]})}function J0(t){return kt("MuiDivider",t)}Et("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const Z0=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Q0=t=>{const{absolute:e,children:n,classes:o,flexItem:s,light:a,orientation:c,textAlign:p,variant:d}=t;return jt({root:["root",e&&"absolute",d,a&&"light",c==="vertical"&&"vertical",s&&"flexItem",n&&"withChildren",n&&c==="vertical"&&"withChildrenVertical",p==="right"&&c!=="vertical"&&"textAlignRight",p==="left"&&c!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",c==="vertical"&&"wrapperVertical"]},J0,o)},tb=ht("div",{name:"MuiDivider",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.absolute&&e.absolute,e[n.variant],n.light&&e.light,n.orientation==="vertical"&&e.vertical,n.flexItem&&e.flexItem,n.children&&e.withChildren,n.children&&n.orientation==="vertical"&&e.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&e.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&e.textAlignLeft]}})(({theme:t,ownerState:e})=>T({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},e.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},e.light&&{borderColor:t.vars?`rgba(${t.vars.palette.dividerChannel} / 0.08)`:Ot(t.palette.divider,.08)},e.variant==="inset"&&{marginLeft:72},e.variant==="middle"&&e.orientation==="horizontal"&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},e.variant==="middle"&&e.orientation==="vertical"&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},e.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},e.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:t})=>T({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:t,ownerState:e})=>T({},e.children&&e.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(t.vars||t).palette.divider}`,borderTopStyle:"inherit"}}),({theme:t,ownerState:e})=>T({},e.children&&e.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(t.vars||t).palette.divider}`,borderLeftStyle:"inherit"}}),({ownerState:t})=>T({},t.textAlign==="right"&&t.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},t.textAlign==="left"&&t.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),eb=ht("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.wrapper,n.orientation==="vertical"&&e.wrapperVertical]}})(({theme:t,ownerState:e})=>T({display:"inline-block",paddingLeft:`calc(${t.spacing(1)} * 1.2)`,paddingRight:`calc(${t.spacing(1)} * 1.2)`},e.orientation==="vertical"&&{paddingTop:`calc(${t.spacing(1)} * 1.2)`,paddingBottom:`calc(${t.spacing(1)} * 1.2)`})),eu=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiDivider"}),{absolute:s=!1,children:a,className:c,component:p=a?"div":"hr",flexItem:d=!1,light:g=!1,orientation:m="horizontal",role:S=p!=="hr"?"separator":void 0,textAlign:y="center",variant:j="fullWidth"}=o,k=at(o,Z0),E=T({},o,{absolute:s,component:p,flexItem:d,light:g,orientation:m,role:S,textAlign:y,variant:j}),A=Q0(E);return F.jsx(tb,T({as:p,className:ot(A.root,c),role:S,ref:n,ownerState:E},k,{children:a?F.jsx(eb,{className:A.wrapper,ownerState:E,children:a}):null}))});eu.muiSkipListHighlight=!0;const rb=eu,ru=zh({createStyledComponent:ht("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,e)=>e.root}),useThemeProps:t=>Tt({props:t,name:"MuiStack"})}),nu=M.createContext();function nb(t){return kt("MuiGrid",t)}const ob=[0,1,2,3,4,5,6,7,8,9,10],ib=["column-reverse","column","row-reverse","row"],sb=["nowrap","wrap-reverse","wrap"],uo=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],po=Et("MuiGrid",["root","container","item","zeroMinWidth",...ob.map(t=>`spacing-xs-${t}`),...ib.map(t=>`direction-xs-${t}`),...sb.map(t=>`wrap-xs-${t}`),...uo.map(t=>`grid-xs-${t}`),...uo.map(t=>`grid-sm-${t}`),...uo.map(t=>`grid-md-${t}`),...uo.map(t=>`grid-lg-${t}`),...uo.map(t=>`grid-xl-${t}`)]),ab=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function yn(t){const e=parseFloat(t);return`${e}${String(t).replace(String(e),"")||"px"}`}function lb({theme:t,ownerState:e}){let n;return t.breakpoints.keys.reduce((o,s)=>{let a={};if(e[s]&&(n=e[s]),!n)return o;if(n===!0)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const c=Or({values:e.columns,breakpoints:t.breakpoints.values}),p=typeof c=="object"?c[s]:c;if(p==null)return o;const d=`${Math.round(n/p*1e8)/1e6}%`;let g={};if(e.container&&e.item&&e.columnSpacing!==0){const m=t.spacing(e.columnSpacing);if(m!=="0px"){const S=`calc(${d} + ${yn(m)})`;g={flexBasis:S,maxWidth:S}}}a=T({flexBasis:d,flexGrow:0,maxWidth:d},g)}return t.breakpoints.values[s]===0?Object.assign(o,a):o[t.breakpoints.up(s)]=a,o},{})}function cb({theme:t,ownerState:e}){const n=Or({values:e.direction,breakpoints:t.breakpoints.values});return Pe({theme:t},n,o=>{const s={flexDirection:o};return o.indexOf("column")===0&&(s[`& > .${po.item}`]={maxWidth:"none"}),s})}function ou({breakpoints:t,values:e}){let n="";Object.keys(e).forEach(s=>{n===""&&e[s]!==0&&(n=s)});const o=Object.keys(t).sort((s,a)=>t[s]-t[a]);return o.slice(0,o.indexOf(n))}function ub({theme:t,ownerState:e}){const{container:n,rowSpacing:o}=e;let s={};if(n&&o!==0){const a=Or({values:o,breakpoints:t.breakpoints.values});let c;typeof a=="object"&&(c=ou({breakpoints:t.breakpoints.values,values:a})),s=Pe({theme:t},a,(p,d)=>{var g;const m=t.spacing(p);return m!=="0px"?{marginTop:`-${yn(m)}`,[`& > .${po.item}`]:{paddingTop:yn(m)}}:(g=c)!=null&&g.includes(d)?{}:{marginTop:0,[`& > .${po.item}`]:{paddingTop:0}}})}return s}function pb({theme:t,ownerState:e}){const{container:n,columnSpacing:o}=e;let s={};if(n&&o!==0){const a=Or({values:o,breakpoints:t.breakpoints.values});let c;typeof a=="object"&&(c=ou({breakpoints:t.breakpoints.values,values:a})),s=Pe({theme:t},a,(p,d)=>{var g;const m=t.spacing(p);return m!=="0px"?{width:`calc(100% + ${yn(m)})`,marginLeft:`-${yn(m)}`,[`& > .${po.item}`]:{paddingLeft:yn(m)}}:(g=c)!=null&&g.includes(d)?{}:{width:"100%",marginLeft:0,[`& > .${po.item}`]:{paddingLeft:0}}})}return s}function db(t,e,n={}){if(!t||t<=0)return[];if(typeof t=="string"&&!Number.isNaN(Number(t))||typeof t=="number")return[n[`spacing-xs-${String(t)}`]];const o=[];return e.forEach(s=>{const a=t[s];Number(a)>0&&o.push(n[`spacing-${s}-${String(a)}`])}),o}const fb=ht("div",{name:"MuiGrid",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t,{container:o,direction:s,item:a,spacing:c,wrap:p,zeroMinWidth:d,breakpoints:g}=n;let m=[];o&&(m=db(c,g,e));const S=[];return g.forEach(y=>{const j=n[y];j&&S.push(e[`grid-${y}-${String(j)}`])}),[e.root,o&&e.container,a&&e.item,d&&e.zeroMinWidth,...m,s!=="row"&&e[`direction-xs-${String(s)}`],p!=="wrap"&&e[`wrap-xs-${String(p)}`],...S]}})(({ownerState:t})=>T({boxSizing:"border-box"},t.container&&{display:"flex",flexWrap:"wrap",width:"100%"},t.item&&{margin:0},t.zeroMinWidth&&{minWidth:0},t.wrap!=="wrap"&&{flexWrap:t.wrap}),cb,ub,pb,lb);function hb(t,e){if(!t||t<=0)return[];if(typeof t=="string"&&!Number.isNaN(Number(t))||typeof t=="number")return[`spacing-xs-${String(t)}`];const n=[];return e.forEach(o=>{const s=t[o];if(Number(s)>0){const a=`spacing-${o}-${String(s)}`;n.push(a)}}),n}const gb=t=>{const{classes:e,container:n,direction:o,item:s,spacing:a,wrap:c,zeroMinWidth:p,breakpoints:d}=t;let g=[];n&&(g=hb(a,d));const m=[];d.forEach(y=>{const j=t[y];j&&m.push(`grid-${y}-${String(j)}`)});const S={root:["root",n&&"container",s&&"item",p&&"zeroMinWidth",...g,o!=="row"&&`direction-xs-${String(o)}`,c!=="wrap"&&`wrap-xs-${String(c)}`,...m]};return jt(S,nb,e)},tr=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiGrid"}),{breakpoints:s}=to(),a=Yn(o),{className:c,columns:p,columnSpacing:d,component:g="div",container:m=!1,direction:S="row",item:y=!1,rowSpacing:j,spacing:k=0,wrap:E="wrap",zeroMinWidth:A=!1}=a,h=at(a,ab),P=j||k,D=d||k,I=M.useContext(nu),z=m?p||12:I,N={},x=T({},h);s.keys.forEach(L=>{h[L]!=null&&(N[L]=h[L],delete x[L])});const V=T({},a,{columns:z,container:m,direction:S,item:y,rowSpacing:P,columnSpacing:D,wrap:E,zeroMinWidth:A,spacing:k},N,{breakpoints:s.keys}),G=gb(V);return F.jsx(nu.Provider,{value:z,children:F.jsx(fb,T({ownerState:V,className:ot(G.root,c),as:g,ref:n},x))})}),yb=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function da(t){return`scale(${t}, ${t**2})`}const mb={entering:{opacity:1,transform:da(1)},entered:{opacity:1,transform:"none"}},fa=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),iu=M.forwardRef(function(e,n){const{addEndListener:o,appear:s=!0,children:a,easing:c,in:p,onEnter:d,onEntered:g,onEntering:m,onExit:S,onExited:y,onExiting:j,style:k,timeout:E="auto",TransitionComponent:A=xc}=e,h=at(e,yb),P=Fr(),D=M.useRef(),I=to(),z=M.useRef(null),N=ze(z,Ls(a),n),x=q=>tt=>{if(q){const dt=z.current;tt===void 0?q(dt):q(dt,tt)}},V=x(m),G=x((q,tt)=>{ty(q);const{duration:dt,delay:bt,easing:it}=mi({style:k,timeout:E,easing:c},{mode:"enter"});let xt;E==="auto"?(xt=I.transitions.getAutoHeightDuration(q.clientHeight),D.current=xt):xt=dt,q.style.transition=[I.transitions.create("opacity",{duration:xt,delay:bt}),I.transitions.create("transform",{duration:fa?xt:xt*.666,delay:bt,easing:it})].join(","),d&&d(q,tt)}),L=x(g),K=x(j),J=x(q=>{const{duration:tt,delay:dt,easing:bt}=mi({style:k,timeout:E,easing:c},{mode:"exit"});let it;E==="auto"?(it=I.transitions.getAutoHeightDuration(q.clientHeight),D.current=it):it=tt,q.style.transition=[I.transitions.create("opacity",{duration:it,delay:dt}),I.transitions.create("transform",{duration:fa?it:it*.666,delay:fa?dt:dt||it*.333,easing:bt})].join(","),q.style.opacity=0,q.style.transform=da(.75),S&&S(q)}),_=x(y),Q=q=>{E==="auto"&&P.start(D.current||0,q),o&&o(z.current,q)};return F.jsx(A,T({appear:s,in:p,nodeRef:z,onEnter:G,onEntered:L,onEntering:V,onExit:J,onExited:_,onExiting:K,addEndListener:Q,timeout:E==="auto"?null:E},h,{children:(q,tt)=>M.cloneElement(a,T({style:T({opacity:0,transform:da(.75),visibility:q==="exited"&&!p?"hidden":void 0},mb[q],k,a.props.style),ref:N},tt))}))});iu.muiSupportAuto=!0;const su=iu;function bb(t){return kt("MuiLinearProgress",t)}Et("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const vb=["className","color","value","valueBuffer","variant"];let mn=t=>t,au,lu,cu,uu,pu,du;const ha=4,xb=Ar(au||(au=mn` 104 104 0% { 105 105 left: -35%; … … 116 116 right: -90%; 117 117 } 118 `)), xg=sr(Ml||(Ml=Lr`118 `)),wb=Ar(lu||(lu=mn` 119 119 0% { 120 120 left: -200%; … … 131 131 right: -8%; 132 132 } 133 `)),S g=sr(Al||(Al=Lr`133 `)),Sb=Ar(cu||(cu=mn` 134 134 0% { 135 135 opacity: 1; … … 146 146 background-position: -200px -23px; 147 147 } 148 `)), wg=t=>{const{classes:e,variant:n,color:i}=t,s={root:["root",`color${H(i)}`,n],dashed:["dashed",`dashedColor${H(i)}`],bar1:["bar",`barColor${H(i)}`,(n==="indeterminate"||n==="query")&&"bar1Indeterminate",n==="determinate"&&"bar1Determinate",n==="buffer"&&"bar1Buffer"],bar2:["bar",n!=="buffer"&&`barColor${H(i)}`,n==="buffer"&&`color${H(i)}`,(n==="indeterminate"||n==="query")&&"bar2Indeterminate",n==="buffer"&&"bar2Buffer"]};return kt(s,mg,e)},ns=(t,e)=>e==="inherit"?"currentColor":t.vars?t.vars.palette.LinearProgress[`${e}Bg`]:t.palette.mode==="light"?Sn(t.palette[e].main,.62):xn(t.palette[e].main,.5),Cg=st("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`color${H(n.color)}`],e[n.variant]]}})(({ownerState:t,theme:e})=>k({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:ns(e,t.color)},t.color==="inherit"&&t.variant!=="buffer"&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},t.variant==="buffer"&&{backgroundColor:"transparent"},t.variant==="query"&&{transform:"rotate(180deg)"})),kg=st("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.dashed,e[`dashedColor${H(n.color)}`]]}})(({ownerState:t,theme:e})=>{const n=ns(e,t.color);return k({position:"absolute",marginTop:0,height:"100%",width:"100%"},t.color==="inherit"&&{opacity:.3},{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},dn(Pl||(Pl=Lr`148 `)),Cb=t=>{const{classes:e,variant:n,color:o}=t,s={root:["root",`color${X(o)}`,n],dashed:["dashed",`dashedColor${X(o)}`],bar1:["bar",`barColor${X(o)}`,(n==="indeterminate"||n==="query")&&"bar1Indeterminate",n==="determinate"&&"bar1Determinate",n==="buffer"&&"bar1Buffer"],bar2:["bar",n!=="buffer"&&`barColor${X(o)}`,n==="buffer"&&`color${X(o)}`,(n==="indeterminate"||n==="query")&&"bar2Indeterminate",n==="buffer"&&"bar2Buffer"]};return jt(s,bb,e)},ga=(t,e)=>e==="inherit"?"currentColor":t.vars?t.vars.palette.LinearProgress[`${e}Bg`]:t.palette.mode==="light"?Qn(t.palette[e].main,.62):Zn(t.palette[e].main,.5),Rb=ht("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`color${X(n.color)}`],e[n.variant]]}})(({ownerState:t,theme:e})=>T({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:ga(e,t.color)},t.color==="inherit"&&t.variant!=="buffer"&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},t.variant==="buffer"&&{backgroundColor:"transparent"},t.variant==="query"&&{transform:"rotate(180deg)"})),Eb=ht("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.dashed,e[`dashedColor${X(n.color)}`]]}})(({ownerState:t,theme:e})=>{const n=ga(e,t.color);return T({position:"absolute",marginTop:0,height:"100%",width:"100%"},t.color==="inherit"&&{opacity:.3},{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},Wn(uu||(uu=mn` 149 149 animation: ${0} 3s infinite linear; 150 `),S g)),Rg=st("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.bar,e[`barColor${H(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&e.bar1Indeterminate,n.variant==="determinate"&&e.bar1Determinate,n.variant==="buffer"&&e.bar1Buffer]}})(({ownerState:t,theme:e})=>k({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:t.color==="inherit"?"currentColor":(e.vars||e).palette[t.color].main},t.variant==="determinate"&&{transition:`transform .${rs}s linear`},t.variant==="buffer"&&{zIndex:1,transition:`transform .${rs}s linear`}),({ownerState:t})=>(t.variant==="indeterminate"||t.variant==="query")&&dn(Ol||(Ol=Lr`150 `),Sb)),Tb=ht("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.bar,e[`barColor${X(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&e.bar1Indeterminate,n.variant==="determinate"&&e.bar1Determinate,n.variant==="buffer"&&e.bar1Buffer]}})(({ownerState:t,theme:e})=>T({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:t.color==="inherit"?"currentColor":(e.vars||e).palette[t.color].main},t.variant==="determinate"&&{transition:`transform .${ha}s linear`},t.variant==="buffer"&&{zIndex:1,transition:`transform .${ha}s linear`}),({ownerState:t})=>(t.variant==="indeterminate"||t.variant==="query")&&Wn(pu||(pu=mn` 151 151 width: auto; 152 152 animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; 153 `), vg)),Tg=st("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.bar,e[`barColor${H(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&e.bar2Indeterminate,n.variant==="buffer"&&e.bar2Buffer]}})(({ownerState:t,theme:e})=>k({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},t.variant!=="buffer"&&{backgroundColor:t.color==="inherit"?"currentColor":(e.vars||e).palette[t.color].main},t.color==="inherit"&&{opacity:.3},t.variant==="buffer"&&{backgroundColor:ns(e,t.color),transition:`transform .${rs}s linear`}),({ownerState:t})=>(t.variant==="indeterminate"||t.variant==="query")&&dn(Il||(Il=Lr`153 `),xb)),kb=ht("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.bar,e[`barColor${X(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&e.bar2Indeterminate,n.variant==="buffer"&&e.bar2Buffer]}})(({ownerState:t,theme:e})=>T({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},t.variant!=="buffer"&&{backgroundColor:t.color==="inherit"?"currentColor":(e.vars||e).palette[t.color].main},t.color==="inherit"&&{opacity:.3},t.variant==="buffer"&&{backgroundColor:ga(e,t.color),transition:`transform .${ha}s linear`}),({ownerState:t})=>(t.variant==="indeterminate"||t.variant==="query")&&Wn(du||(du=mn` 154 154 width: auto; 155 155 animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; 156 `), xg)),Eg=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiLinearProgress"}),{className:s,color:l="primary",value:c,valueBuffer:d,variant:f="indeterminate"}=i,g=nt(i,bg),x=k({},i,{color:l,variant:f}),T=wg(x),m=Wi(),M={},R={bar1:{},bar2:{}};if((f==="determinate"||f==="buffer")&&c!==void 0){M["aria-valuenow"]=Math.round(c),M["aria-valuemin"]=0,M["aria-valuemax"]=100;let E=c-100;m&&(E=-E),R.bar1.transform=`translateX(${E}%)`}if(f==="buffer"&&d!==void 0){let E=(d||0)-100;m&&(E=-E),R.bar2.transform=`translateX(${E}%)`}return B.jsxs(Cg,k({className:J(T.root,s),ownerState:x,role:"progressbar"},M,{ref:n},g,{children:[f==="buffer"?B.jsx(kg,{className:T.dashed,ownerState:x}):null,B.jsx(Rg,{className:T.bar1,ownerState:x,style:R.bar1}),f==="determinate"?null:B.jsx(Tg,{className:T.bar2,ownerState:x,style:R.bar2})]}))});function jg(t){return Ct("MuiLink",t)}const $g=bt("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),Bl={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Mg=t=>Bl[t]||t,Ag=({theme:t,ownerState:e})=>{const n=Mg(e.color),i=Ar(t,`palette.${n}`,!1)||e.color,s=Ar(t,`palette.${n}Channel`);return"vars"in t&&s?`rgba(${s} / 0.4)`:Tt(i,.4)},Pg=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],Og=t=>{const{classes:e,component:n,focusVisible:i,underline:s}=t,l={root:["root",`underline${H(s)}`,n==="button"&&"button",i&&"focusVisible"]};return kt(l,jg,e)},Ig=st(X,{name:"MuiLink",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`underline${H(n.underline)}`],n.component==="button"&&e.button]}})(({theme:t,ownerState:e})=>k({},e.underline==="none"&&{textDecoration:"none"},e.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},e.underline==="always"&&k({textDecoration:"underline"},e.color!=="inherit"&&{textDecorationColor:Ag({theme:t,ownerState:e})},{"&:hover":{textDecorationColor:"inherit"}}),e.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${$g.focusVisible}`]:{outline:"auto"}})),zl=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiLink"}),{className:s,color:l="primary",component:c="a",onBlur:d,onFocus:f,TypographyClasses:g,underline:x="always",variant:T="inherit",sx:m}=i,M=nt(i,Pg),{isFocusVisibleRef:R,onBlur:E,onFocus:A,ref:h}=ja(),[$,z]=O.useState(!1),D=nr(n,h),L=pt=>{E(pt),R.current===!1&&z(!1),d&&d(pt)},U=pt=>{A(pt),R.current===!0&&z(!0),f&&f(pt)},C=k({},i,{color:l,component:c,focusVisible:$,underline:x,variant:T}),at=Og(C);return B.jsx(Ig,k({color:l,className:J(at.root,s),classes:g,component:c,onBlur:L,onFocus:U,ref:D,ownerState:C,variant:T,sx:[...Object.keys(Bl).includes(l)?[]:[{color:l}],...Array.isArray(m)?m:[m]]},M))}),hr=O.createContext({});function Bg(t){return Ct("MuiList",t)}bt("MuiList",["root","padding","dense","subheader"]);const zg=["children","className","component","dense","disablePadding","subheader"],Ng=t=>{const{classes:e,disablePadding:n,dense:i,subheader:s}=t;return kt({root:["root",!n&&"padding",i&&"dense",s&&"subheader"]},Bg,e)},_g=st("ul",{name:"MuiList",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.disablePadding&&e.padding,n.dense&&e.dense,n.subheader&&e.subheader]}})(({ownerState:t})=>k({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})),Po=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiList"}),{children:s,className:l,component:c="ul",dense:d=!1,disablePadding:f=!1,subheader:g}=i,x=nt(i,zg),T=O.useMemo(()=>({dense:d}),[d]),m=k({},i,{component:c,dense:d,disablePadding:f}),M=Ng(m);return B.jsx(hr.Provider,{value:T,children:B.jsxs(_g,k({as:c,className:J(M.root,l),ref:n,ownerState:m},x,{children:[g,s]}))})});function Fg(t){return Ct("MuiListItem",t)}const Wr=bt("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),Dg=bt("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function Lg(t){return Ct("MuiListItemSecondaryAction",t)}bt("MuiListItemSecondaryAction",["root","disableGutters"]);const Wg=["className"],Ug=t=>{const{disableGutters:e,classes:n}=t;return kt({root:["root",e&&"disableGutters"]},Lg,n)},Vg=st("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.disableGutters&&e.disableGutters]}})(({ownerState:t})=>k({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},t.disableGutters&&{right:0})),Nl=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiListItemSecondaryAction"}),{className:s}=i,l=nt(i,Wg),c=O.useContext(hr),d=k({},i,{disableGutters:c.disableGutters}),f=Ug(d);return B.jsx(Vg,k({className:J(f.root,s),ownerState:d,ref:n},l))});Nl.muiName="ListItemSecondaryAction";const Hg=Nl,Gg=["className"],Kg=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],qg=(t,e)=>{const{ownerState:n}=t;return[e.root,n.dense&&e.dense,n.alignItems==="flex-start"&&e.alignItemsFlexStart,n.divider&&e.divider,!n.disableGutters&&e.gutters,!n.disablePadding&&e.padding,n.button&&e.button,n.hasSecondaryAction&&e.secondaryAction]},Yg=t=>{const{alignItems:e,button:n,classes:i,dense:s,disabled:l,disableGutters:c,disablePadding:d,divider:f,hasSecondaryAction:g,selected:x}=t;return kt({root:["root",s&&"dense",!c&&"gutters",!d&&"padding",f&&"divider",l&&"disabled",n&&"button",e==="flex-start"&&"alignItemsFlexStart",g&&"secondaryAction",x&&"selected"],container:["container"]},Fg,i)},Xg=st("div",{name:"MuiListItem",slot:"Root",overridesResolver:qg})(({theme:t,ownerState:e})=>k({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!e.disablePadding&&k({paddingTop:8,paddingBottom:8},e.dense&&{paddingTop:4,paddingBottom:4},!e.disableGutters&&{paddingLeft:16,paddingRight:16},!!e.secondaryAction&&{paddingRight:48}),!!e.secondaryAction&&{[`& > .${Dg.root}`]:{paddingRight:48}},{[`&.${Wr.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${Wr.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Tt(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${Wr.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:Tt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${Wr.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},e.alignItems==="flex-start"&&{alignItems:"flex-start"},e.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},e.button&&{transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Wr.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Tt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Tt(t.palette.primary.main,t.palette.action.selectedOpacity)}}},e.hasSecondaryAction&&{paddingRight:48})),Zg=st("li",{name:"MuiListItem",slot:"Container",overridesResolver:(t,e)=>e.container})({position:"relative"}),we=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiListItem"}),{alignItems:s="center",autoFocus:l=!1,button:c=!1,children:d,className:f,component:g,components:x={},componentsProps:T={},ContainerComponent:m="li",ContainerProps:{className:M}={},dense:R=!1,disabled:E=!1,disableGutters:A=!1,disablePadding:h=!1,divider:$=!1,focusVisibleClassName:z,secondaryAction:D,selected:L=!1,slotProps:U={},slots:C={}}=i,at=nt(i.ContainerProps,Gg),pt=nt(i,Kg),K=O.useContext(hr),Y=O.useMemo(()=>({dense:R||K.dense||!1,alignItems:s,disableGutters:A}),[s,K.dense,R,A]),Z=O.useRef(null);_i(()=>{l&&Z.current&&Z.current.focus()},[l]);const N=O.Children.toArray(d),Q=N.length&&jd(N[N.length-1],["ListItemSecondaryAction"]),dt=k({},i,{alignItems:s,autoFocus:l,button:c,dense:Y.dense,disabled:E,disableGutters:A,disablePadding:h,divider:$,hasSecondaryAction:Q,selected:L}),ft=Yg(dt),Et=nr(Z,n),gt=C.root||x.Root||Xg,ht=U.root||T.root||{},$t=k({className:J(ft.root,ht.className,f),disabled:E},pt);let At=g||"li";return c&&($t.component=g||"div",$t.focusVisibleClassName=J(Wr.focusVisible,z),At=fr),Q?(At=!$t.component&&!g?"div":At,m==="li"&&(At==="li"?At="div":$t.component==="li"&&($t.component="div")),B.jsx(hr.Provider,{value:Y,children:B.jsxs(Zg,k({as:m,className:J(ft.container,M),ref:Et,ownerState:dt},at,{children:[B.jsx(gt,k({},ht,!Li(gt)&&{as:At,ownerState:k({},dt,ht.ownerState)},$t,{children:N})),N.pop()]}))})):B.jsx(hr.Provider,{value:Y,children:B.jsxs(gt,k({},ht,{as:At,ref:Et},!Li(gt)&&{ownerState:k({},dt,ht.ownerState)},$t,{children:[N,D&&B.jsx(Hg,{children:D})]}))})});function Jg(t){return Ct("MuiListItemIcon",t)}bt("MuiListItemIcon",["root","alignItemsFlexStart"]);const Qg=["className"],t0=t=>{const{alignItems:e,classes:n}=t;return kt({root:["root",e==="flex-start"&&"alignItemsFlexStart"]},Jg,n)},e0=st("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.alignItems==="flex-start"&&e.alignItemsFlexStart]}})(({theme:t,ownerState:e})=>k({minWidth:56,color:(t.vars||t).palette.action.active,flexShrink:0,display:"inline-flex"},e.alignItems==="flex-start"&&{marginTop:8})),Ce=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiListItemIcon"}),{className:s}=i,l=nt(i,Qg),c=O.useContext(hr),d=k({},i,{alignItems:c.alignItems}),f=t0(d);return B.jsx(e0,k({className:J(f.root,s),ownerState:d,ref:n},l))});function r0(t){return Ct("MuiListItemText",t)}const _l=bt("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),n0=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],o0=t=>{const{classes:e,inset:n,primary:i,secondary:s,dense:l}=t;return kt({root:["root",n&&"inset",l&&"dense",i&&s&&"multiline"],primary:["primary"],secondary:["secondary"]},r0,e)},i0=st("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${_l.primary}`]:e.primary},{[`& .${_l.secondary}`]:e.secondary},e.root,n.inset&&e.inset,n.primary&&n.secondary&&e.multiline,n.dense&&e.dense]}})(({ownerState:t})=>k({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},t.primary&&t.secondary&&{marginTop:6,marginBottom:6},t.inset&&{paddingLeft:56})),ke=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiListItemText"}),{children:s,className:l,disableTypography:c=!1,inset:d=!1,primary:f,primaryTypographyProps:g,secondary:x,secondaryTypographyProps:T}=i,m=nt(i,n0),{dense:M}=O.useContext(hr);let R=f??s,E=x;const A=k({},i,{disableTypography:c,inset:d,primary:!!R,secondary:!!E,dense:M}),h=o0(A);return R!=null&&R.type!==X&&!c&&(R=B.jsx(X,k({variant:M?"body2":"body1",className:h.primary,component:g!=null&&g.variant?void 0:"span",display:"block"},g,{children:R}))),E!=null&&E.type!==X&&!c&&(E=B.jsx(X,k({variant:"body2",className:h.secondary,color:"text.secondary",display:"block"},T,{children:E}))),B.jsxs(i0,k({className:J(h.root,l),ownerState:A,ref:n},m,{children:[R,E]}))});function s0(t){return Ct("MuiTab",t)}const ir=bt("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),a0=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],l0=t=>{const{classes:e,textColor:n,fullWidth:i,wrapped:s,icon:l,label:c,selected:d,disabled:f}=t,g={root:["root",l&&c&&"labelIcon",`textColor${H(n)}`,i&&"fullWidth",s&&"wrapped",d&&"selected",f&&"disabled"],iconWrapper:["iconWrapper"]};return kt(g,s0,e)},c0=st(fr,{name:"MuiTab",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.label&&n.icon&&e.labelIcon,e[`textColor${H(n.textColor)}`],n.fullWidth&&e.fullWidth,n.wrapped&&e.wrapped,{[`& .${ir.iconWrapper}`]:e.iconWrapper}]}})(({theme:t,ownerState:e})=>k({},t.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},e.label&&{flexDirection:e.iconPosition==="top"||e.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},e.icon&&e.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${ir.iconWrapper}`]:k({},e.iconPosition==="top"&&{marginBottom:6},e.iconPosition==="bottom"&&{marginTop:6},e.iconPosition==="start"&&{marginRight:t.spacing(1)},e.iconPosition==="end"&&{marginLeft:t.spacing(1)})},e.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${ir.selected}`]:{opacity:1},[`&.${ir.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},e.textColor==="primary"&&{color:(t.vars||t).palette.text.secondary,[`&.${ir.selected}`]:{color:(t.vars||t).palette.primary.main},[`&.${ir.disabled}`]:{color:(t.vars||t).palette.text.disabled}},e.textColor==="secondary"&&{color:(t.vars||t).palette.text.secondary,[`&.${ir.selected}`]:{color:(t.vars||t).palette.secondary.main},[`&.${ir.disabled}`]:{color:(t.vars||t).palette.text.disabled}},e.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},e.wrapped&&{fontSize:t.typography.pxToRem(12)})),Fl=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiTab"}),{className:s,disabled:l=!1,disableFocusRipple:c=!1,fullWidth:d,icon:f,iconPosition:g="top",indicator:x,label:T,onChange:m,onClick:M,onFocus:R,selected:E,selectionFollowsFocus:A,textColor:h="inherit",value:$,wrapped:z=!1}=i,D=nt(i,a0),L=k({},i,{disabled:l,disableFocusRipple:c,selected:E,icon:!!f,iconPosition:g,label:!!T,fullWidth:d,textColor:h,wrapped:z}),U=l0(L),C=f&&T&&O.isValidElement(f)?O.cloneElement(f,{className:J(U.iconWrapper,f.props.className)}):f,at=K=>{!E&&m&&m(K,$),M&&M(K)},pt=K=>{A&&!E&&m&&m(K,$),R&&R(K)};return B.jsxs(c0,k({focusRipple:!c,className:J(U.root,s),ref:n,role:"tab","aria-selected":E,disabled:l,onClick:at,onFocus:pt,ownerState:L,tabIndex:E?0:-1},D,{children:[g==="top"||g==="start"?B.jsxs(O.Fragment,{children:[C,T]}):B.jsxs(O.Fragment,{children:[T,C]}),x]}))}),Dl=O.createContext();function u0(t){return Ct("MuiTable",t)}bt("MuiTable",["root","stickyHeader"]);const p0=["className","component","padding","size","stickyHeader"],d0=t=>{const{classes:e,stickyHeader:n}=t;return kt({root:["root",n&&"stickyHeader"]},u0,e)},f0=st("table",{name:"MuiTable",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.stickyHeader&&e.stickyHeader]}})(({theme:t,ownerState:e})=>k({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":k({},t.typography.body2,{padding:t.spacing(2),color:(t.vars||t).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},e.stickyHeader&&{borderCollapse:"separate"})),Ll="table",Wl=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiTable"}),{className:s,component:l=Ll,padding:c="normal",size:d="medium",stickyHeader:f=!1}=i,g=nt(i,p0),x=k({},i,{component:l,padding:c,size:d,stickyHeader:f}),T=d0(x),m=O.useMemo(()=>({padding:c,size:d,stickyHeader:f}),[c,d,f]);return B.jsx(Dl.Provider,{value:m,children:B.jsx(f0,k({as:l,role:l===Ll?null:"table",ref:n,className:J(T.root,s),ownerState:x},g))})}),Oo=O.createContext();function h0(t){return Ct("MuiTableBody",t)}bt("MuiTableBody",["root"]);const y0=["className","component"],g0=t=>{const{classes:e}=t;return kt({root:["root"]},h0,e)},m0=st("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-row-group"}),b0={variant:"body"},Ul="tbody",Vl=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiTableBody"}),{className:s,component:l=Ul}=i,c=nt(i,y0),d=k({},i,{component:l}),f=g0(d);return B.jsx(Oo.Provider,{value:b0,children:B.jsx(m0,k({className:J(f.root,s),as:l,ref:n,role:l===Ul?null:"rowgroup",ownerState:d},c))})});function v0(t){return Ct("MuiTableCell",t)}const x0=bt("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),S0=["align","className","component","padding","scope","size","sortDirection","variant"],w0=t=>{const{classes:e,variant:n,align:i,padding:s,size:l,stickyHeader:c}=t,d={root:["root",n,c&&"stickyHeader",i!=="inherit"&&`align${H(i)}`,s!=="normal"&&`padding${H(s)}`,`size${H(l)}`]};return kt(d,v0,e)},C0=st("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`size${H(n.size)}`],n.padding!=="normal"&&e[`padding${H(n.padding)}`],n.align!=="inherit"&&e[`align${H(n.align)}`],n.stickyHeader&&e.stickyHeader]}})(({theme:t,ownerState:e})=>k({},t.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:t.vars?`1px solid ${t.vars.palette.TableCell.border}`:`1px solid157 ${t.palette.mode==="light"? Sn(Tt(t.palette.divider,1),.88):xn(Tt(t.palette.divider,1),.68)}`,textAlign:"left",padding:16},e.variant==="head"&&{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium},e.variant==="body"&&{color:(t.vars||t).palette.text.primary},e.variant==="footer"&&{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)},e.size==="small"&&{padding:"6px 16px",[`&.${x0.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},e.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},e.padding==="none"&&{padding:0},e.align==="left"&&{textAlign:"left"},e.align==="center"&&{textAlign:"center"},e.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},e.align==="justify"&&{textAlign:"justify"},e.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(t.vars||t).palette.background.default})),ne=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiTableCell"}),{align:s="inherit",className:l,component:c,padding:d,scope:f,size:g,sortDirection:x,variant:T}=i,m=nt(i,S0),M=O.useContext(Dl),R=O.useContext(Oo),E=R&&R.variant==="head";let A;c?A=c:A=E?"th":"td";let h=f;A==="td"?h=void 0:!h&&E&&(h="col");const $=T||R&&R.variant,z=k({},i,{align:s,component:A,padding:d||(M&&M.padding?M.padding:"normal"),size:g||(M&&M.size?M.size:"medium"),sortDirection:x,stickyHeader:$==="head"&&M&&M.stickyHeader,variant:$}),D=w0(z);let L=null;return x&&(L=x==="asc"?"ascending":"descending"),B.jsx(C0,k({as:A,ref:n,className:J(D.root,l),"aria-sort":L,scope:h,ownerState:z},m))});function k0(t){return Ct("MuiTableContainer",t)}bt("MuiTableContainer",["root"]);const R0=["className","component"],T0=t=>{const{classes:e}=t;return kt({root:["root"]},k0,e)},E0=st("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(t,e)=>e.root})({width:"100%",overflowX:"auto"}),j0=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiTableContainer"}),{className:s,component:l="div"}=i,c=nt(i,R0),d=k({},i,{component:l}),f=T0(d);return B.jsx(E0,k({ref:n,as:l,className:J(f.root,s),ownerState:d},c))});function $0(t){return Ct("MuiTableHead",t)}bt("MuiTableHead",["root"]);const M0=["className","component"],A0=t=>{const{classes:e}=t;return kt({root:["root"]},$0,e)},P0=st("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-header-group"}),O0={variant:"head"},Hl="thead",Gl=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiTableHead"}),{className:s,component:l=Hl}=i,c=nt(i,M0),d=k({},i,{component:l}),f=A0(d);return B.jsx(Oo.Provider,{value:O0,children:B.jsx(P0,k({as:l,className:J(f.root,s),ref:n,role:l===Hl?null:"rowgroup",ownerState:d},c))})}),I0=Mt(B.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),B0=Mt(B.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function z0(t){return Ct("MuiTableRow",t)}const Kl=bt("MuiTableRow",["root","selected","hover","head","footer"]),N0=["className","component","hover","selected"],_0=t=>{const{classes:e,selected:n,hover:i,head:s,footer:l}=t;return kt({root:["root",n&&"selected",i&&"hover",s&&"head",l&&"footer"]},z0,e)},F0=st("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.head&&e.head,n.footer&&e.footer]}})(({theme:t})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${Kl.hover}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${Kl.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Tt(t.palette.primary.main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Tt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)}}})),ql="tr",Tn=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiTableRow"}),{className:s,component:l=ql,hover:c=!1,selected:d=!1}=i,f=nt(i,N0),g=O.useContext(Oo),x=k({},i,{component:l,hover:c,selected:d,head:g&&g.variant==="head",footer:g&&g.variant==="footer"}),T=_0(x);return B.jsx(F0,k({as:l,ref:n,className:J(T.root,s),role:l===ql?null:"row",ownerState:x},f))});function D0(t){return(1+Math.sin(Math.PI*t-Math.PI/2))/2}function L0(t,e,n,i={},s=()=>{}){const{ease:l=D0,duration:c=300}=i;let d=null;const f=e[t];let g=!1;const x=()=>{g=!0},T=m=>{if(g){s(new Error("Animation cancelled"));return}d===null&&(d=m);const M=Math.min(1,(m-d)/c);if(e[t]=l(M)*(n-f)+f,M>=1){requestAnimationFrame(()=>{s(null)});return}requestAnimationFrame(T)};return f===n?(s(new Error("Element already at target position")),x):(requestAnimationFrame(T),x)}const W0=["onChange"],U0={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function V0(t){const{onChange:e}=t,n=nt(t,W0),i=O.useRef(),s=O.useRef(null),l=()=>{i.current=s.current.offsetHeight-s.current.clientHeight};return _i(()=>{const c=Ca(()=>{const f=i.current;l(),f!==i.current&&e(i.current)}),d=Ra(s.current);return d.addEventListener("resize",c),()=>{c.clear(),d.removeEventListener("resize",c)}},[e]),O.useEffect(()=>{l(),e(i.current)},[e]),B.jsx("div",k({style:U0},n,{ref:s}))}function H0(t){return Ct("MuiTabScrollButton",t)}const G0=bt("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),K0=["className","slots","slotProps","direction","orientation","disabled"],q0=t=>{const{classes:e,orientation:n,disabled:i}=t;return kt({root:["root",n,i&&"disabled"]},H0,e)},Y0=st(fr,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.orientation&&e[n.orientation]]}})(({ownerState:t})=>k({width:40,flexShrink:0,opacity:.8,[`&.${G0.disabled}`]:{opacity:0}},t.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${t.isRtl?-90:90}deg)`}})),X0=O.forwardRef(function(e,n){var i,s;const l=vt({props:e,name:"MuiTabScrollButton"}),{className:c,slots:d={},slotProps:f={},direction:g}=l,x=nt(l,K0),T=Wi(),m=k({isRtl:T},l),M=q0(m),R=(i=d.StartScrollButtonIcon)!=null?i:I0,E=(s=d.EndScrollButtonIcon)!=null?s:B0,A=Co({elementType:R,externalSlotProps:f.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:m}),h=Co({elementType:E,externalSlotProps:f.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:m});return B.jsx(Y0,k({component:"div",className:J(M.root,c),ref:n,role:null,ownerState:m,tabIndex:null},x,{children:g==="left"?B.jsx(R,k({},A)):B.jsx(E,k({},h))}))});function Z0(t){return Ct("MuiTabs",t)}const os=bt("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),J0=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],Yl=(t,e)=>t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:t.firstChild,Xl=(t,e)=>t===e?t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:t.lastChild,Io=(t,e,n)=>{let i=!1,s=n(t,e);for(;s;){if(s===t.firstChild){if(i)return;i=!0}const l=s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||l)s=n(t,s);else{s.focus();return}}},Q0=t=>{const{vertical:e,fixed:n,hideScrollbar:i,scrollableX:s,scrollableY:l,centered:c,scrollButtonsHideMobile:d,classes:f}=t;return kt({root:["root",e&&"vertical"],scroller:["scroller",n&&"fixed",i&&"hideScrollbar",s&&"scrollableX",l&&"scrollableY"],flexContainer:["flexContainer",e&&"flexContainerVertical",c&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",d&&"scrollButtonsHideMobile"],scrollableX:[s&&"scrollableX"],hideScrollbar:[i&&"hideScrollbar"]},Z0,f)},tm=st("div",{name:"MuiTabs",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${os.scrollButtons}`]:e.scrollButtons},{[`& .${os.scrollButtons}`]:n.scrollButtonsHideMobile&&e.scrollButtonsHideMobile},e.root,n.vertical&&e.vertical]}})(({ownerState:t,theme:e})=>k({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},t.vertical&&{flexDirection:"column"},t.scrollButtonsHideMobile&&{[`& .${os.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}})),em=st("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.scroller,n.fixed&&e.fixed,n.hideScrollbar&&e.hideScrollbar,n.scrollableX&&e.scrollableX,n.scrollableY&&e.scrollableY]}})(({ownerState:t})=>k({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},t.fixed&&{overflowX:"hidden",width:"100%"},t.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},t.scrollableX&&{overflowX:"auto",overflowY:"hidden"},t.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),rm=st("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.flexContainer,n.vertical&&e.flexContainerVertical,n.centered&&e.centered]}})(({ownerState:t})=>k({display:"flex"},t.vertical&&{flexDirection:"column"},t.centered&&{justifyContent:"center"})),nm=st("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(t,e)=>e.indicator})(({ownerState:t,theme:e})=>k({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create()},t.indicatorColor==="primary"&&{backgroundColor:(e.vars||e).palette.primary.main},t.indicatorColor==="secondary"&&{backgroundColor:(e.vars||e).palette.secondary.main},t.vertical&&{height:"100%",width:2,right:0})),om=st(V0)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),Zl={},im=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiTabs"}),s=qi(),l=Wi(),{"aria-label":c,"aria-labelledby":d,action:f,centered:g=!1,children:x,className:T,component:m="div",allowScrollButtonsMobile:M=!1,indicatorColor:R="primary",onChange:E,orientation:A="horizontal",ScrollButtonComponent:h=X0,scrollButtons:$="auto",selectionFollowsFocus:z,slots:D={},slotProps:L={},TabIndicatorProps:U={},TabScrollButtonProps:C={},textColor:at="primary",value:pt,variant:K="standard",visibleScrollbar:Y=!1}=i,Z=nt(i,J0),N=K==="scrollable",Q=A==="vertical",dt=Q?"scrollTop":"scrollLeft",ft=Q?"top":"left",Et=Q?"bottom":"right",gt=Q?"clientHeight":"clientWidth",ht=Q?"height":"width",$t=k({},i,{component:m,allowScrollButtonsMobile:M,indicatorColor:R,orientation:A,vertical:Q,scrollButtons:$,textColor:at,variant:K,visibleScrollbar:Y,fixed:!N,hideScrollbar:N&&!Y,scrollableX:N&&!Q,scrollableY:N&&Q,centered:g&&!N,scrollButtonsHideMobile:!M}),At=Q0($t),pe=Co({elementType:D.StartScrollButtonIcon,externalSlotProps:L.startScrollButtonIcon,ownerState:$t}),_e=Co({elementType:D.EndScrollButtonIcon,externalSlotProps:L.endScrollButtonIcon,ownerState:$t}),[Ht,je]=O.useState(!1),[lt,G]=O.useState(Zl),[u,w]=O.useState(!1),[V,Xe]=O.useState(!1),[yr,Qr]=O.useState(!1),[de,Fe]=O.useState({overflow:"hidden",scrollbarWidth:0}),De=new Map,re=O.useRef(null),$e=O.useRef(null),Ze=()=>{const q=re.current;let ot;if(q){const yt=q.getBoundingClientRect();ot={clientWidth:q.clientWidth,scrollLeft:q.scrollLeft,scrollTop:q.scrollTop,scrollLeftNormalized:Dd(q,l?"rtl":"ltr"),scrollWidth:q.scrollWidth,top:yt.top,bottom:yt.bottom,left:yt.left,right:yt.right}}let et;if(q&&pt!==!1){const yt=$e.current.children;if(yt.length>0){const It=yt[De.get(pt)];et=It?It.getBoundingClientRect():null}}return{tabsMeta:ot,tabMeta:et}},Me=cr(()=>{const{tabsMeta:q,tabMeta:ot}=Ze();let et=0,yt;if(Q)yt="top",ot&&q&&(et=ot.top-q.top+q.scrollTop);else if(yt=l?"right":"left",ot&&q){const F=l?q.scrollLeftNormalized+q.clientWidth-q.scrollWidth:q.scrollLeft;et=(l?-1:1)*(ot[yt]-q[yt]+F)}const It={[yt]:et,[ht]:ot?ot[ht]:0};if(isNaN(lt[yt])||isNaN(lt[ht]))G(It);else{const F=Math.abs(lt[yt]-It[yt]),oe=Math.abs(lt[ht]-It[ht]);(F>=1||oe>=1)&&G(It)}}),Le=(q,{animation:ot=!0}={})=>{ot?L0(dt,re.current,q,{duration:s.transitions.duration.standard}):re.current[dt]=q},Je=q=>{let ot=re.current[dt];Q?ot+=q:(ot+=q*(l?-1:1),ot*=l&&$a()==="reverse"?-1:1),Le(ot)},We=()=>{const q=re.current[gt];let ot=0;const et=Array.from($e.current.children);for(let yt=0;yt<et.length;yt+=1){const It=et[yt];if(ot+It[gt]>q){yt===0&&(ot=q);break}ot+=It[gt]}return ot},Ae=()=>{Je(-1*We())},Ue=()=>{Je(We())},Qe=O.useCallback(q=>{Fe({overflow:null,scrollbarWidth:q})},[]),gr=()=>{const q={};q.scrollbarSizeListener=N?B.jsx(om,{onChange:Qe,className:J(At.scrollableX,At.hideScrollbar)}):null;const et=N&&($==="auto"&&(u||V)||$===!0);return q.scrollButtonStart=et?B.jsx(h,k({slots:{StartScrollButtonIcon:D.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:pe},orientation:A,direction:l?"right":"left",onClick:Ae,disabled:!u},C,{className:J(At.scrollButtons,C.className)})):null,q.scrollButtonEnd=et?B.jsx(h,k({slots:{EndScrollButtonIcon:D.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:_e},orientation:A,direction:l?"left":"right",onClick:Ue,disabled:!V},C,{className:J(At.scrollButtons,C.className)})):null,q},mr=cr(q=>{const{tabsMeta:ot,tabMeta:et}=Ze();if(!(!et||!ot)){if(et[ft]<ot[ft]){const yt=ot[dt]+(et[ft]-ot[ft]);Le(yt,{animation:q})}else if(et[Et]>ot[Et]){const yt=ot[dt]+(et[Et]-ot[Et]);Le(yt,{animation:q})}}}),ct=cr(()=>{N&&$!==!1&&Qr(!yr)});O.useEffect(()=>{const q=Ca(()=>{re.current&&Me()});let ot;const et=F=>{F.forEach(oe=>{oe.removedNodes.forEach(Oe=>{var fe;(fe=ot)==null||fe.unobserve(Oe)}),oe.addedNodes.forEach(Oe=>{var fe;(fe=ot)==null||fe.observe(Oe)})}),q(),ct()},yt=Ra(re.current);yt.addEventListener("resize",q);let It;return typeof ResizeObserver<"u"&&(ot=new ResizeObserver(q),Array.from($e.current.children).forEach(F=>{ot.observe(F)})),typeof MutationObserver<"u"&&(It=new MutationObserver(et),It.observe($e.current,{childList:!0})),()=>{var F,oe;q.clear(),yt.removeEventListener("resize",q),(F=It)==null||F.disconnect(),(oe=ot)==null||oe.disconnect()}},[Me,ct]),O.useEffect(()=>{const q=Array.from($e.current.children),ot=q.length;if(typeof IntersectionObserver<"u"&&ot>0&&N&&$!==!1){const et=q[0],yt=q[ot-1],It={root:re.current,threshold:.99},F=tn=>{w(!tn[0].isIntersecting)},oe=new IntersectionObserver(F,It);oe.observe(et);const Oe=tn=>{Xe(!tn[0].isIntersecting)},fe=new IntersectionObserver(Oe,It);return fe.observe(yt),()=>{oe.disconnect(),fe.disconnect()}}},[N,$,yr,x==null?void 0:x.length]),O.useEffect(()=>{je(!0)},[]),O.useEffect(()=>{Me()}),O.useEffect(()=>{mr(Zl!==lt)},[mr,lt]),O.useImperativeHandle(f,()=>({updateIndicator:Me,updateScrollButtons:ct}),[Me,ct]);const Ve=B.jsx(nm,k({},U,{className:J(At.indicator,U.className),ownerState:$t,style:k({},lt,U.style)}));let I=0;const He=O.Children.map(x,q=>{if(!O.isValidElement(q))return null;const ot=q.props.value===void 0?I:q.props.value;De.set(ot,I);const et=ot===pt;return I+=1,O.cloneElement(q,k({fullWidth:K==="fullWidth",indicator:et&&!Ht&&Ve,selected:et,selectionFollowsFocus:z,onChange:E,textColor:at,value:ot},I===1&&pt===!1&&!q.props.tabIndex?{tabIndex:0}:{}))}),br=q=>{const ot=$e.current,et=ka(ot).activeElement;if(et.getAttribute("role")!=="tab")return;let It=A==="horizontal"?"ArrowLeft":"ArrowUp",F=A==="horizontal"?"ArrowRight":"ArrowDown";switch(A==="horizontal"&&l&&(It="ArrowRight",F="ArrowLeft"),q.key){case It:q.preventDefault(),Io(ot,et,Xl);break;case F:q.preventDefault(),Io(ot,et,Yl);break;case"Home":q.preventDefault(),Io(ot,null,Yl);break;case"End":q.preventDefault(),Io(ot,null,Xl);break}},v=gr();return B.jsxs(tm,k({className:J(At.root,T),ownerState:$t,ref:n,as:m},Z,{children:[v.scrollButtonStart,v.scrollbarSizeListener,B.jsxs(em,{className:At.scroller,ownerState:$t,style:{overflow:de.overflow,[Q?`margin${l?"Left":"Right"}`:"marginBottom"]:Y?void 0:-de.scrollbarWidth},ref:re,children:[B.jsx(rm,{"aria-label":c,"aria-labelledby":d,"aria-orientation":A==="vertical"?"vertical":null,className:At.flexContainer,ownerState:$t,onKeyDown:br,ref:$e,role:"tablist",children:He}),Ht&&Ve]}),v.scrollButtonEnd]}))}),Jl=Mt(B.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2M9 17H7v-5h2zm4 0h-2v-3h2zm0-5h-2v-2h2zm4 5h-2V7h2z"}),"Analytics"),sm=Mt(B.jsx("path",{d:"m19 9 1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25zm-7.5.5L9 4 6.5 9.5 1 12l5.5 2.5L9 20l2.5-5.5L17 12zM19 15l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25z"}),"AutoAwesome"),Ql=Mt(B.jsx("path",{d:"M4 9h4v11H4zm12 4h4v7h-4zm-6-9h4v16h-4z"}),"BarChart"),am=Mt(B.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M10 17l-3.5-3.5 1.41-1.41L10 14.17 15.18 9l1.41 1.41z"}),"CloudDone"),lm=Mt(B.jsx("path",{d:"M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z"}),"Code"),tc=Mt(B.jsx("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4-8 5-8-5V6l8 5 8-5z"}),"Email"),cm=Mt(B.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"}),"Info"),um=Mt(B.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDown"),pm=Mt(B.jsx("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"}),"KeyboardArrowRight"),dm=Mt(B.jsx("path",{d:"M9 21c0 .5.4 1 1 1h4c.6 0 1-.5 1-1v-1H9zm3-19C8.1 2 5 5.1 5 9c0 2.4 1.2 4.5 3 5.7V17c0 .5.4 1 1 1h6c.6 0 1-.5 1-1v-2.3c1.8-1.3 3-3.4 3-5.7 0-3.9-3.1-7-7-7"}),"Lightbulb"),fm=Mt([B.jsx("path",{d:"M13 8.57c-.79 0-1.43.64-1.43 1.43s.64 1.43 1.43 1.43 1.43-.64 1.43-1.43-.64-1.43-1.43-1.43"},"0"),B.jsx("path",{d:"M13 3C9.25 3 6.2 5.94 6.02 9.64L4.1 12.2c-.25.33-.01.8.4.8H6v3c0 1.1.9 2 2 2h1v3h7v-4.68c2.36-1.12 4-3.53 4-6.32 0-3.87-3.13-7-7-7m3 7c0 .13-.01.26-.02.39l.83.66c.08.06.1.16.05.25l-.8 1.39c-.05.09-.16.12-.24.09l-.99-.4c-.21.16-.43.29-.67.39L14 13.83c-.01.1-.1.17-.2.17h-1.6c-.1 0-.18-.07-.2-.17l-.15-1.06c-.25-.1-.47-.23-.68-.39l-.99.4c-.09.03-.2 0-.25-.09l-.8-1.39c-.05-.08-.03-.19.05-.25l.84-.66c-.01-.13-.02-.26-.02-.39s.02-.27.04-.39l-.85-.66c-.08-.06-.1-.16-.05-.26l.8-1.38c.05-.09.15-.12.24-.09l1 .4c.2-.15.43-.29.67-.39L12 6.17c.02-.1.1-.17.2-.17h1.6c.1 0 .18.07.2.17l.15 1.06c.24.1.46.23.67.39l1-.4c.09-.03.2 0 .24.09l.8 1.38c.05.09.03.2-.05.26l-.85.66c.03.12.04.25.04.39"},"1")],"Psychology"),hm=Mt(B.jsx("path",{d:"M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1m-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1"}),"QuestionAnswer"),ym=Mt(B.jsx("path",{d:"M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11z"}),"Security"),ec=Mt(B.jsx("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings"),is=Mt(B.jsx("path",{d:"m20.38 8.57-1.23 1.85a8 8 0 0 1-.22 7.58H5.07A8 8 0 0 1 15.58 6.85l1.85-1.23A10 10 0 0 0 3.35 19a2 2 0 0 0 1.72 1h13.85a2 2 0 0 0 1.74-1 10 10 0 0 0-.27-10.44zm-9.79 6.84a2 2 0 0 0 2.83 0l5.66-8.49-8.49 5.66a2 2 0 0 0 0 2.83"}),"Speed"),gm=Mt(B.jsx("path",{d:"M23 8c0 1.1-.9 2-2 2-.18 0-.35-.02-.51-.07l-3.56 3.55c.05.16.07.34.07.52 0 1.1-.9 2-2 2s-2-.9-2-2c0-.18.02-.36.07-.52l-2.55-2.55c-.16.05-.34.07-.52.07s-.36-.02-.52-.07l-4.55 4.56c.05.16.07.33.07.51 0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.18 0 .35.02.51.07l4.56-4.55C8.02 9.36 8 9.18 8 9c0-1.1.9-2 2-2s2 .9 2 2c0 .18-.02.36-.07.52l2.55 2.55c.16-.05.34-.07.52-.07s.36.02.52.07l3.55-3.56C19.02 8.35 19 8.18 19 8c0-1.1.9-2 2-2s2 .9 2 2"}),"Timeline"),Bo=Mt(B.jsx("path",{d:"m16 6 2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z"}),"TrendingUp");var mm=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},Yt=(t,e,n)=>(mm(t,e,"read from private field"),n?n.call(t):e.get(t)),Xt=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},rc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};function nc(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function i(){return this instanceof i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(i){var s=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(n,i,s.get?s:{enumerable:!0,get:function(){return t[i]}})}),n}var oc={exports:{}},En={};/**156 `),wb)),fu=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiLinearProgress"}),{className:s,color:a="primary",value:c,valueBuffer:p,variant:d="indeterminate"}=o,g=at(o,vb),m=T({},o,{color:a,variant:d}),S=Cb(m),y=pi(),j={},k={bar1:{},bar2:{}};if((d==="determinate"||d==="buffer")&&c!==void 0){j["aria-valuenow"]=Math.round(c),j["aria-valuemin"]=0,j["aria-valuemax"]=100;let E=c-100;y&&(E=-E),k.bar1.transform=`translateX(${E}%)`}if(d==="buffer"&&p!==void 0){let E=(p||0)-100;y&&(E=-E),k.bar2.transform=`translateX(${E}%)`}return F.jsxs(Rb,T({className:ot(S.root,s),ownerState:m,role:"progressbar"},j,{ref:n},g,{children:[d==="buffer"?F.jsx(Eb,{className:S.dashed,ownerState:m}):null,F.jsx(Tb,{className:S.bar1,ownerState:m,style:k.bar1}),d==="determinate"?null:F.jsx(kb,{className:S.bar2,ownerState:m,style:k.bar2})]}))});function jb(t){return kt("MuiLink",t)}const Pb=Et("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),hu={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},$b=t=>hu[t]||t,Mb=({theme:t,ownerState:e})=>{const n=$b(e.color),o=nn(t,`palette.${n}`,!1)||e.color,s=nn(t,`palette.${n}Channel`);return"vars"in t&&s?`rgba(${s} / 0.4)`:Ot(o,.4)},Ab=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],Ob=t=>{const{classes:e,component:n,focusVisible:o,underline:s}=t,a={root:["root",`underline${X(s)}`,n==="button"&&"button",o&&"focusVisible"]};return jt(a,jb,e)},Ib=ht(et,{name:"MuiLink",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`underline${X(n.underline)}`],n.component==="button"&&e.button]}})(({theme:t,ownerState:e})=>T({},e.underline==="none"&&{textDecoration:"none"},e.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},e.underline==="always"&&T({textDecoration:"underline"},e.color!=="inherit"&&{textDecorationColor:Mb({theme:t,ownerState:e})},{"&:hover":{textDecorationColor:"inherit"}}),e.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Pb.focusVisible}`]:{outline:"auto"}})),gu=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiLink"}),{className:s,color:a="primary",component:c="a",onBlur:p,onFocus:d,TypographyClasses:g,underline:m="always",variant:S="inherit",sx:y}=o,j=at(o,Ab),{isFocusVisibleRef:k,onBlur:E,onFocus:A,ref:h}=Ns(),[P,D]=M.useState(!1),I=ze(n,h),z=G=>{E(G),k.current===!1&&D(!1),p&&p(G)},N=G=>{A(G),k.current===!0&&D(!0),d&&d(G)},x=T({},o,{color:a,component:c,focusVisible:P,underline:m,variant:S}),V=Ob(x);return F.jsx(Ib,T({color:a,className:ot(V.root,s),classes:g,component:c,onBlur:z,onFocus:N,ref:I,ownerState:x,variant:S,sx:[...Object.keys(hu).includes(a)?[]:[{color:a}],...Array.isArray(y)?y:[y]]},j))}),Ur=M.createContext({});function Bb(t){return kt("MuiList",t)}Et("MuiList",["root","padding","dense","subheader"]);const Fb=["children","className","component","dense","disablePadding","subheader"],zb=t=>{const{classes:e,disablePadding:n,dense:o,subheader:s}=t;return jt({root:["root",!n&&"padding",o&&"dense",s&&"subheader"]},Bb,e)},Db=ht("ul",{name:"MuiList",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.disablePadding&&e.padding,n.dense&&e.dense,n.subheader&&e.subheader]}})(({ownerState:t})=>T({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})),Ei=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiList"}),{children:s,className:a,component:c="ul",dense:p=!1,disablePadding:d=!1,subheader:g}=o,m=at(o,Fb),S=M.useMemo(()=>({dense:p}),[p]),y=T({},o,{component:c,dense:p,disablePadding:d}),j=zb(y);return F.jsx(Ur.Provider,{value:S,children:F.jsxs(Db,T({as:c,className:ot(j.root,a),ref:n,ownerState:y},m,{children:[g,s]}))})});function Nb(t){return kt("MuiListItem",t)}const bn=Et("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),_b=Et("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function Lb(t){return kt("MuiListItemSecondaryAction",t)}Et("MuiListItemSecondaryAction",["root","disableGutters"]);const Wb=["className"],Ub=t=>{const{disableGutters:e,classes:n}=t;return jt({root:["root",e&&"disableGutters"]},Lb,n)},Hb=ht("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.disableGutters&&e.disableGutters]}})(({ownerState:t})=>T({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},t.disableGutters&&{right:0})),yu=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiListItemSecondaryAction"}),{className:s}=o,a=at(o,Wb),c=M.useContext(Ur),p=T({},o,{disableGutters:c.disableGutters}),d=Ub(p);return F.jsx(Hb,T({className:ot(d.root,s),ownerState:p,ref:n},a))});yu.muiName="ListItemSecondaryAction";const Gb=yu,Vb=["className"],Kb=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],Yb=(t,e)=>{const{ownerState:n}=t;return[e.root,n.dense&&e.dense,n.alignItems==="flex-start"&&e.alignItemsFlexStart,n.divider&&e.divider,!n.disableGutters&&e.gutters,!n.disablePadding&&e.padding,n.button&&e.button,n.hasSecondaryAction&&e.secondaryAction]},qb=t=>{const{alignItems:e,button:n,classes:o,dense:s,disabled:a,disableGutters:c,disablePadding:p,divider:d,hasSecondaryAction:g,selected:m}=t;return jt({root:["root",s&&"dense",!c&&"gutters",!p&&"padding",d&&"divider",a&&"disabled",n&&"button",e==="flex-start"&&"alignItemsFlexStart",g&&"secondaryAction",m&&"selected"],container:["container"]},Nb,o)},Xb=ht("div",{name:"MuiListItem",slot:"Root",overridesResolver:Yb})(({theme:t,ownerState:e})=>T({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!e.disablePadding&&T({paddingTop:8,paddingBottom:8},e.dense&&{paddingTop:4,paddingBottom:4},!e.disableGutters&&{paddingLeft:16,paddingRight:16},!!e.secondaryAction&&{paddingRight:48}),!!e.secondaryAction&&{[`& > .${_b.root}`]:{paddingRight:48}},{[`&.${bn.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${bn.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Ot(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${bn.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:Ot(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${bn.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},e.alignItems==="flex-start"&&{alignItems:"flex-start"},e.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},e.button&&{transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${bn.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Ot(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Ot(t.palette.primary.main,t.palette.action.selectedOpacity)}}},e.hasSecondaryAction&&{paddingRight:48})),Jb=ht("li",{name:"MuiListItem",slot:"Container",overridesResolver:(t,e)=>e.container})({position:"relative"}),er=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiListItem"}),{alignItems:s="center",autoFocus:a=!1,button:c=!1,children:p,className:d,component:g,components:m={},componentsProps:S={},ContainerComponent:y="li",ContainerProps:{className:j}={},dense:k=!1,disabled:E=!1,disableGutters:A=!1,disablePadding:h=!1,divider:P=!1,focusVisibleClassName:D,secondaryAction:I,selected:z=!1,slotProps:N={},slots:x={}}=o,V=at(o.ContainerProps,Vb),G=at(o,Kb),L=M.useContext(Ur),K=M.useMemo(()=>({dense:k||L.dense||!1,alignItems:s,disableGutters:A}),[s,L.dense,k,A]),J=M.useRef(null);Br(()=>{a&&J.current&&J.current.focus()},[a]);const _=M.Children.toArray(p),Q=_.length&&oh(_[_.length-1],["ListItemSecondaryAction"]),q=T({},o,{alignItems:s,autoFocus:a,button:c,dense:K.dense,disabled:E,disableGutters:A,disablePadding:h,divider:P,hasSecondaryAction:Q,selected:z}),tt=qb(q),dt=ze(J,n),bt=x.root||m.Root||Xb,it=N.root||S.root||{},xt=T({className:ot(tt.root,it.className,d),disabled:E},G);let Ct=g||"li";return c&&(xt.component=g||"div",xt.focusVisibleClassName=ot(bn.focusVisible,D),Ct=_r),Q?(Ct=!xt.component&&!g?"div":Ct,y==="li"&&(Ct==="li"?Ct="div":xt.component==="li"&&(xt.component="div")),F.jsx(Ur.Provider,{value:K,children:F.jsxs(Jb,T({as:y,className:ot(tt.container,j),ref:dt,ownerState:q},V,{children:[F.jsx(bt,T({},it,!_s(bt)&&{as:Ct,ownerState:T({},q,it.ownerState)},xt,{children:_})),_.pop()]}))})):F.jsx(Ur.Provider,{value:K,children:F.jsxs(bt,T({},it,{as:Ct,ref:dt},!_s(bt)&&{ownerState:T({},q,it.ownerState)},xt,{children:[_,I&&F.jsx(Gb,{children:I})]}))})});function Zb(t){return kt("MuiListItemIcon",t)}Et("MuiListItemIcon",["root","alignItemsFlexStart"]);const Qb=["className"],tv=t=>{const{alignItems:e,classes:n}=t;return jt({root:["root",e==="flex-start"&&"alignItemsFlexStart"]},Zb,n)},ev=ht("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.alignItems==="flex-start"&&e.alignItemsFlexStart]}})(({theme:t,ownerState:e})=>T({minWidth:56,color:(t.vars||t).palette.action.active,flexShrink:0,display:"inline-flex"},e.alignItems==="flex-start"&&{marginTop:8})),rr=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiListItemIcon"}),{className:s}=o,a=at(o,Qb),c=M.useContext(Ur),p=T({},o,{alignItems:c.alignItems}),d=tv(p);return F.jsx(ev,T({className:ot(d.root,s),ownerState:p,ref:n},a))});function rv(t){return kt("MuiListItemText",t)}const mu=Et("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),nv=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],ov=t=>{const{classes:e,inset:n,primary:o,secondary:s,dense:a}=t;return jt({root:["root",n&&"inset",a&&"dense",o&&s&&"multiline"],primary:["primary"],secondary:["secondary"]},rv,e)},iv=ht("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${mu.primary}`]:e.primary},{[`& .${mu.secondary}`]:e.secondary},e.root,n.inset&&e.inset,n.primary&&n.secondary&&e.multiline,n.dense&&e.dense]}})(({ownerState:t})=>T({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},t.primary&&t.secondary&&{marginTop:6,marginBottom:6},t.inset&&{paddingLeft:56})),nr=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiListItemText"}),{children:s,className:a,disableTypography:c=!1,inset:p=!1,primary:d,primaryTypographyProps:g,secondary:m,secondaryTypographyProps:S}=o,y=at(o,nv),{dense:j}=M.useContext(Ur);let k=d??s,E=m;const A=T({},o,{disableTypography:c,inset:p,primary:!!k,secondary:!!E,dense:j}),h=ov(A);return k!=null&&k.type!==et&&!c&&(k=F.jsx(et,T({variant:j?"body2":"body1",className:h.primary,component:g!=null&&g.variant?void 0:"span",display:"block"},g,{children:k}))),E!=null&&E.type!==et&&!c&&(E=F.jsx(et,T({variant:"body2",className:h.secondary,color:"text.secondary",display:"block"},S,{children:E}))),F.jsxs(iv,T({className:ot(h.root,a),ownerState:A,ref:n},y,{children:[k,E]}))});function sv(t){return kt("MuiTooltip",t)}const Tr=Et("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),av=["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"];function lv(t){return Math.round(t*1e5)/1e5}const cv=t=>{const{classes:e,disableInteractive:n,arrow:o,touch:s,placement:a}=t,c={popper:["popper",!n&&"popperInteractive",o&&"popperArrow"],tooltip:["tooltip",o&&"tooltipArrow",s&&"touch",`tooltipPlacement${X(a.split("-")[0])}`],arrow:["arrow"]};return jt(c,sv,e)},uv=ht(Jc,{name:"MuiTooltip",slot:"Popper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.popper,!n.disableInteractive&&e.popperInteractive,n.arrow&&e.popperArrow,!n.open&&e.popperClose]}})(({theme:t,ownerState:e,open:n})=>T({zIndex:(t.vars||t).zIndex.tooltip,pointerEvents:"none"},!e.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},e.arrow&&{[`&[data-popper-placement*="bottom"] .${Tr.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Tr.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Tr.arrow}`]:T({},e.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Tr.arrow}`]:T({},e.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),pv=ht("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.tooltip,n.touch&&e.touch,n.arrow&&e.tooltipArrow,e[`tooltipPlacement${X(n.placement.split("-")[0])}`]]}})(({theme:t,ownerState:e})=>T({backgroundColor:t.vars?t.vars.palette.Tooltip.bg:Ot(t.palette.grey[700],.92),borderRadius:(t.vars||t).shape.borderRadius,color:(t.vars||t).palette.common.white,fontFamily:t.typography.fontFamily,padding:"4px 8px",fontSize:t.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:t.typography.fontWeightMedium},e.arrow&&{position:"relative",margin:0},e.touch&&{padding:"8px 16px",fontSize:t.typography.pxToRem(14),lineHeight:`${lv(16/14)}em`,fontWeight:t.typography.fontWeightRegular},{[`.${Tr.popper}[data-popper-placement*="left"] &`]:T({transformOrigin:"right center"},e.isRtl?T({marginLeft:"14px"},e.touch&&{marginLeft:"24px"}):T({marginRight:"14px"},e.touch&&{marginRight:"24px"})),[`.${Tr.popper}[data-popper-placement*="right"] &`]:T({transformOrigin:"left center"},e.isRtl?T({marginRight:"14px"},e.touch&&{marginRight:"24px"}):T({marginLeft:"14px"},e.touch&&{marginLeft:"24px"})),[`.${Tr.popper}[data-popper-placement*="top"] &`]:T({transformOrigin:"center bottom",marginBottom:"14px"},e.touch&&{marginBottom:"24px"}),[`.${Tr.popper}[data-popper-placement*="bottom"] &`]:T({transformOrigin:"center top",marginTop:"14px"},e.touch&&{marginTop:"24px"})})),dv=ht("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(t,e)=>e.arrow})(({theme:t})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t.vars?t.vars.palette.Tooltip.bg:Ot(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let Ti=!1;const bu=new Xn;let fo={x:0,y:0};function ki(t,e){return(n,...o)=>{e&&e(n,...o),t(n,...o)}}const vu=M.forwardRef(function(e,n){var o,s,a,c,p,d,g,m,S,y,j,k,E,A,h,P,D,I,z;const N=Tt({props:e,name:"MuiTooltip"}),{arrow:x=!1,children:V,components:G={},componentsProps:L={},describeChild:K=!1,disableFocusListener:J=!1,disableHoverListener:_=!1,disableInteractive:Q=!1,disableTouchListener:q=!1,enterDelay:tt=100,enterNextDelay:dt=0,enterTouchDelay:bt=700,followCursor:it=!1,id:xt,leaveDelay:Ct=0,leaveTouchDelay:Qt=1500,onClose:fe,onOpen:Ft,open:Wt,placement:st="bottom",PopperComponent:rt,PopperProps:nt={},slotProps:Rt={},slots:ut={},title:u,TransitionComponent:w=su,TransitionProps:H}=N,he=at(N,av),te=M.isValidElement(V)?V:F.jsx("span",{children:V}),Ce=to(),ee=pi(),[ae,Ae]=M.useState(),[Lt,ye]=M.useState(null),me=M.useRef(!1),be=Q||it,ue=Fr(),ve=Fr(),xe=Fr(),_e=Fr(),[ar,yt]=ah({controlled:Wt,default:!1,name:"Tooltip",state:"open"});let le=ar;const B=sh(xt),Re=M.useRef(),lr=gr(()=>{Re.current!==void 0&&(document.body.style.WebkitUserSelect=Re.current,Re.current=void 0),_e.clear()});M.useEffect(()=>lr,[lr]);const C=vt=>{bu.clear(),Ti=!0,yt(!0),Ft&&!le&&Ft(vt)},Z=gr(vt=>{bu.start(800+Ct,()=>{Ti=!1}),yt(!1),fe&&le&&fe(vt),ue.start(Ce.transitions.duration.shortest,()=>{me.current=!1})}),lt=vt=>{me.current&&vt.type!=="touchstart"||(ae&&ae.removeAttribute("title"),ve.clear(),xe.clear(),tt||Ti&&dt?ve.start(Ti?dt:tt,()=>{C(vt)}):C(vt))},ct=vt=>{ve.clear(),xe.start(Ct,()=>{Z(vt)})},{isFocusVisibleRef:wt,onBlur:Dt,onFocus:U,ref:we}=Ns(),[,Oe]=M.useState(!1),Ee=vt=>{Dt(vt),wt.current===!1&&(Oe(!1),ct(vt))},xr=vt=>{ae||Ae(vt.currentTarget),U(vt),wt.current===!0&&(Oe(!0),lt(vt))},Te=vt=>{me.current=!0;const $t=te.props;$t.onTouchStart&&$t.onTouchStart(vt)},Di=vt=>{Te(vt),xe.clear(),ue.clear(),lr(),Re.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",_e.start(bt,()=>{document.body.style.WebkitUserSelect=Re.current,lt(vt)})},Ni=vt=>{te.props.onTouchEnd&&te.props.onTouchEnd(vt),lr(),xe.start(Qt,()=>{Z(vt)})};M.useEffect(()=>{if(!le)return;function vt($t){($t.key==="Escape"||$t.key==="Esc")&&Z($t)}return document.addEventListener("keydown",vt),()=>{document.removeEventListener("keydown",vt)}},[Z,le]);const _i=ze(Ls(te),we,Ae,n);!u&&u!==0&&(le=!1);const $n=M.useRef(),Li=vt=>{const $t=te.props;$t.onMouseMove&&$t.onMouseMove(vt),fo={x:vt.clientX,y:vt.clientY},$n.current&&$n.current.update()},jr={},Le=typeof u=="string";K?(jr.title=!le&&Le&&!_?u:null,jr["aria-describedby"]=le?B:null):(jr["aria-label"]=Le?u:null,jr["aria-labelledby"]=le&&!Le?B:null);const pe=T({},jr,he,te.props,{className:ot(he.className,te.props.className),onTouchStart:Te,ref:_i},it?{onMouseMove:Li}:{}),Pr={};q||(pe.onTouchStart=Di,pe.onTouchEnd=Ni),_||(pe.onMouseOver=ki(lt,pe.onMouseOver),pe.onMouseLeave=ki(ct,pe.onMouseLeave),be||(Pr.onMouseOver=lt,Pr.onMouseLeave=ct)),J||(pe.onFocus=ki(xr,pe.onFocus),pe.onBlur=ki(Ee,pe.onBlur),be||(Pr.onFocus=xr,Pr.onBlur=Ee));const So=M.useMemo(()=>{var vt;let $t=[{name:"arrow",enabled:!!Lt,options:{element:Lt,padding:4}}];return(vt=nt.popperOptions)!=null&&vt.modifiers&&($t=$t.concat(nt.popperOptions.modifiers)),T({},nt.popperOptions,{modifiers:$t})},[Lt,nt]),$r=T({},N,{isRtl:ee,arrow:x,disableInteractive:be,placement:st,PopperComponentProp:rt,touch:me.current}),Mn=cv($r),An=(o=(s=ut.popper)!=null?s:G.Popper)!=null?o:uv,Mr=(a=(c=(p=ut.transition)!=null?p:G.Transition)!=null?c:w)!=null?a:su,Hr=(d=(g=ut.tooltip)!=null?g:G.Tooltip)!=null?d:pv,On=(m=(S=ut.arrow)!=null?S:G.Arrow)!=null?m:dv,We=an(An,T({},nt,(y=Rt.popper)!=null?y:L.popper,{className:ot(Mn.popper,nt==null?void 0:nt.className,(j=(k=Rt.popper)!=null?k:L.popper)==null?void 0:j.className)}),$r),Y=an(Mr,T({},H,(E=Rt.transition)!=null?E:L.transition),$r),pt=an(Hr,T({},(A=Rt.tooltip)!=null?A:L.tooltip,{className:ot(Mn.tooltip,(h=(P=Rt.tooltip)!=null?P:L.tooltip)==null?void 0:h.className)}),$r),Co=an(On,T({},(D=Rt.arrow)!=null?D:L.arrow,{className:ot(Mn.arrow,(I=(z=Rt.arrow)!=null?z:L.arrow)==null?void 0:I.className)}),$r);return F.jsxs(M.Fragment,{children:[M.cloneElement(te,pe),F.jsx(An,T({as:rt??Jc,placement:st,anchorEl:it?{getBoundingClientRect:()=>({top:fo.y,left:fo.x,right:fo.x,bottom:fo.y,width:0,height:0})}:ae,popperRef:$n,open:ae?le:!1,id:B,transition:!0},Pr,We,{popperOptions:So,children:({TransitionProps:vt})=>F.jsx(Mr,T({timeout:Ce.transitions.duration.shorter},vt,Y,{children:F.jsxs(Hr,T({},pt,{children:[u,x?F.jsx(On,T({},Co,{ref:ye})):null]}))}))}))]})});function fv(t){return kt("MuiTab",t)}const kr=Et("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),hv=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],gv=t=>{const{classes:e,textColor:n,fullWidth:o,wrapped:s,icon:a,label:c,selected:p,disabled:d}=t,g={root:["root",a&&c&&"labelIcon",`textColor${X(n)}`,o&&"fullWidth",s&&"wrapped",p&&"selected",d&&"disabled"],iconWrapper:["iconWrapper"]};return jt(g,fv,e)},yv=ht(_r,{name:"MuiTab",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.label&&n.icon&&e.labelIcon,e[`textColor${X(n.textColor)}`],n.fullWidth&&e.fullWidth,n.wrapped&&e.wrapped,{[`& .${kr.iconWrapper}`]:e.iconWrapper}]}})(({theme:t,ownerState:e})=>T({},t.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},e.label&&{flexDirection:e.iconPosition==="top"||e.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},e.icon&&e.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${kr.iconWrapper}`]:T({},e.iconPosition==="top"&&{marginBottom:6},e.iconPosition==="bottom"&&{marginTop:6},e.iconPosition==="start"&&{marginRight:t.spacing(1)},e.iconPosition==="end"&&{marginLeft:t.spacing(1)})},e.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${kr.selected}`]:{opacity:1},[`&.${kr.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},e.textColor==="primary"&&{color:(t.vars||t).palette.text.secondary,[`&.${kr.selected}`]:{color:(t.vars||t).palette.primary.main},[`&.${kr.disabled}`]:{color:(t.vars||t).palette.text.disabled}},e.textColor==="secondary"&&{color:(t.vars||t).palette.text.secondary,[`&.${kr.selected}`]:{color:(t.vars||t).palette.secondary.main},[`&.${kr.disabled}`]:{color:(t.vars||t).palette.text.disabled}},e.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},e.wrapped&&{fontSize:t.typography.pxToRem(12)})),xu=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiTab"}),{className:s,disabled:a=!1,disableFocusRipple:c=!1,fullWidth:p,icon:d,iconPosition:g="top",indicator:m,label:S,onChange:y,onClick:j,onFocus:k,selected:E,selectionFollowsFocus:A,textColor:h="inherit",value:P,wrapped:D=!1}=o,I=at(o,hv),z=T({},o,{disabled:a,disableFocusRipple:c,selected:E,icon:!!d,iconPosition:g,label:!!S,fullWidth:p,textColor:h,wrapped:D}),N=gv(z),x=d&&S&&M.isValidElement(d)?M.cloneElement(d,{className:ot(N.iconWrapper,d.props.className)}):d,V=L=>{!E&&y&&y(L,P),j&&j(L)},G=L=>{A&&!E&&y&&y(L,P),k&&k(L)};return F.jsxs(yv,T({focusRipple:!c,className:ot(N.root,s),ref:n,role:"tab","aria-selected":E,disabled:a,onClick:V,onFocus:G,ownerState:z,tabIndex:E?0:-1},I,{children:[g==="top"||g==="start"?F.jsxs(M.Fragment,{children:[x,S]}):F.jsxs(M.Fragment,{children:[S,x]}),m]}))}),wu=M.createContext();function mv(t){return kt("MuiTable",t)}Et("MuiTable",["root","stickyHeader"]);const bv=["className","component","padding","size","stickyHeader"],vv=t=>{const{classes:e,stickyHeader:n}=t;return jt({root:["root",n&&"stickyHeader"]},mv,e)},xv=ht("table",{name:"MuiTable",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.stickyHeader&&e.stickyHeader]}})(({theme:t,ownerState:e})=>T({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":T({},t.typography.body2,{padding:t.spacing(2),color:(t.vars||t).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},e.stickyHeader&&{borderCollapse:"separate"})),Su="table",Cu=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiTable"}),{className:s,component:a=Su,padding:c="normal",size:p="medium",stickyHeader:d=!1}=o,g=at(o,bv),m=T({},o,{component:a,padding:c,size:p,stickyHeader:d}),S=vv(m),y=M.useMemo(()=>({padding:c,size:p,stickyHeader:d}),[c,p,d]);return F.jsx(wu.Provider,{value:y,children:F.jsx(xv,T({as:a,role:a===Su?null:"table",ref:n,className:ot(S.root,s),ownerState:m},g))})}),ji=M.createContext();function wv(t){return kt("MuiTableBody",t)}Et("MuiTableBody",["root"]);const Sv=["className","component"],Cv=t=>{const{classes:e}=t;return jt({root:["root"]},wv,e)},Rv=ht("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-row-group"}),Ev={variant:"body"},Ru="tbody",Eu=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiTableBody"}),{className:s,component:a=Ru}=o,c=at(o,Sv),p=T({},o,{component:a}),d=Cv(p);return F.jsx(ji.Provider,{value:Ev,children:F.jsx(Rv,T({className:ot(d.root,s),as:a,ref:n,role:a===Ru?null:"rowgroup",ownerState:p},c))})});function Tv(t){return kt("MuiTableCell",t)}const kv=Et("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),jv=["align","className","component","padding","scope","size","sortDirection","variant"],Pv=t=>{const{classes:e,variant:n,align:o,padding:s,size:a,stickyHeader:c}=t,p={root:["root",n,c&&"stickyHeader",o!=="inherit"&&`align${X(o)}`,s!=="normal"&&`padding${X(s)}`,`size${X(a)}`]};return jt(p,Tv,e)},$v=ht("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`size${X(n.size)}`],n.padding!=="normal"&&e[`padding${X(n.padding)}`],n.align!=="inherit"&&e[`align${X(n.align)}`],n.stickyHeader&&e.stickyHeader]}})(({theme:t,ownerState:e})=>T({},t.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:t.vars?`1px solid ${t.vars.palette.TableCell.border}`:`1px solid 157 ${t.palette.mode==="light"?Qn(Ot(t.palette.divider,1),.88):Zn(Ot(t.palette.divider,1),.68)}`,textAlign:"left",padding:16},e.variant==="head"&&{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium},e.variant==="body"&&{color:(t.vars||t).palette.text.primary},e.variant==="footer"&&{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)},e.size==="small"&&{padding:"6px 16px",[`&.${kv.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},e.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},e.padding==="none"&&{padding:0},e.align==="left"&&{textAlign:"left"},e.align==="center"&&{textAlign:"center"},e.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},e.align==="justify"&&{textAlign:"justify"},e.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(t.vars||t).palette.background.default})),ke=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiTableCell"}),{align:s="inherit",className:a,component:c,padding:p,scope:d,size:g,sortDirection:m,variant:S}=o,y=at(o,jv),j=M.useContext(wu),k=M.useContext(ji),E=k&&k.variant==="head";let A;c?A=c:A=E?"th":"td";let h=d;A==="td"?h=void 0:!h&&E&&(h="col");const P=S||k&&k.variant,D=T({},o,{align:s,component:A,padding:p||(j&&j.padding?j.padding:"normal"),size:g||(j&&j.size?j.size:"medium"),sortDirection:m,stickyHeader:P==="head"&&j&&j.stickyHeader,variant:P}),I=Pv(D);let z=null;return m&&(z=m==="asc"?"ascending":"descending"),F.jsx($v,T({as:A,ref:n,className:ot(I.root,a),"aria-sort":z,scope:h,ownerState:D},y))});function Mv(t){return kt("MuiTableContainer",t)}Et("MuiTableContainer",["root"]);const Av=["className","component"],Ov=t=>{const{classes:e}=t;return jt({root:["root"]},Mv,e)},Iv=ht("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(t,e)=>e.root})({width:"100%",overflowX:"auto"}),Bv=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiTableContainer"}),{className:s,component:a="div"}=o,c=at(o,Av),p=T({},o,{component:a}),d=Ov(p);return F.jsx(Iv,T({ref:n,as:a,className:ot(d.root,s),ownerState:p},c))});function Fv(t){return kt("MuiTableHead",t)}Et("MuiTableHead",["root"]);const zv=["className","component"],Dv=t=>{const{classes:e}=t;return jt({root:["root"]},Fv,e)},Nv=ht("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-header-group"}),_v={variant:"head"},Tu="thead",ku=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiTableHead"}),{className:s,component:a=Tu}=o,c=at(o,zv),p=T({},o,{component:a}),d=Dv(p);return F.jsx(ji.Provider,{value:_v,children:F.jsx(Nv,T({as:a,className:ot(d.root,s),ref:n,role:a===Tu?null:"rowgroup",ownerState:p},c))})}),Lv=zt(F.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),Wv=zt(F.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function Uv(t){return kt("MuiTableRow",t)}const ju=Et("MuiTableRow",["root","selected","hover","head","footer"]),Hv=["className","component","hover","selected"],Gv=t=>{const{classes:e,selected:n,hover:o,head:s,footer:a}=t;return jt({root:["root",n&&"selected",o&&"hover",s&&"head",a&&"footer"]},Uv,e)},Vv=ht("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.head&&e.head,n.footer&&e.footer]}})(({theme:t})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${ju.hover}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${ju.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Ot(t.palette.primary.main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Ot(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)}}})),Pu="tr",ho=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiTableRow"}),{className:s,component:a=Pu,hover:c=!1,selected:p=!1}=o,d=at(o,Hv),g=M.useContext(ji),m=T({},o,{component:a,hover:c,selected:p,head:g&&g.variant==="head",footer:g&&g.variant==="footer"}),S=Gv(m);return F.jsx(Vv,T({as:a,ref:n,className:ot(S.root,s),role:a===Pu?null:"row",ownerState:m},d))});function Kv(t){return(1+Math.sin(Math.PI*t-Math.PI/2))/2}function Yv(t,e,n,o={},s=()=>{}){const{ease:a=Kv,duration:c=300}=o;let p=null;const d=e[t];let g=!1;const m=()=>{g=!0},S=y=>{if(g){s(new Error("Animation cancelled"));return}p===null&&(p=y);const j=Math.min(1,(y-p)/c);if(e[t]=a(j)*(n-d)+d,j>=1){requestAnimationFrame(()=>{s(null)});return}requestAnimationFrame(S)};return d===n?(s(new Error("Element already at target position")),m):(requestAnimationFrame(S),m)}const qv=["onChange"],Xv={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function Jv(t){const{onChange:e}=t,n=at(t,qv),o=M.useRef(),s=M.useRef(null),a=()=>{o.current=s.current.offsetHeight-s.current.clientHeight};return Br(()=>{const c=Ol(()=>{const d=o.current;a(),d!==o.current&&e(o.current)}),p=Il(s.current);return p.addEventListener("resize",c),()=>{c.clear(),p.removeEventListener("resize",c)}},[e]),M.useEffect(()=>{a(),e(o.current)},[e]),F.jsx("div",T({style:Xv},n,{ref:s}))}function Zv(t){return kt("MuiTabScrollButton",t)}const Qv=Et("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),t1=["className","slots","slotProps","direction","orientation","disabled"],e1=t=>{const{classes:e,orientation:n,disabled:o}=t;return jt({root:["root",n,o&&"disabled"]},Zv,e)},r1=ht(_r,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.orientation&&e[n.orientation]]}})(({ownerState:t})=>T({width:40,flexShrink:0,opacity:.8,[`&.${Qv.disabled}`]:{opacity:0}},t.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${t.isRtl?-90:90}deg)`}})),n1=M.forwardRef(function(e,n){var o,s;const a=Tt({props:e,name:"MuiTabScrollButton"}),{className:c,slots:p={},slotProps:d={},direction:g}=a,m=at(a,t1),S=pi(),y=T({isRtl:S},a),j=e1(y),k=(o=p.StartScrollButtonIcon)!=null?o:Lv,E=(s=p.EndScrollButtonIcon)!=null?s:Wv,A=Jn({elementType:k,externalSlotProps:d.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:y}),h=Jn({elementType:E,externalSlotProps:d.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:y});return F.jsx(r1,T({component:"div",className:ot(j.root,c),ref:n,role:null,ownerState:y,tabIndex:null},m,{children:g==="left"?F.jsx(k,T({},A)):F.jsx(E,T({},h))}))});function o1(t){return kt("MuiTabs",t)}const ya=Et("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),i1=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],$u=(t,e)=>t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:t.firstChild,Mu=(t,e)=>t===e?t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:t.lastChild,Pi=(t,e,n)=>{let o=!1,s=n(t,e);for(;s;){if(s===t.firstChild){if(o)return;o=!0}const a=s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||a)s=n(t,s);else{s.focus();return}}},s1=t=>{const{vertical:e,fixed:n,hideScrollbar:o,scrollableX:s,scrollableY:a,centered:c,scrollButtonsHideMobile:p,classes:d}=t;return jt({root:["root",e&&"vertical"],scroller:["scroller",n&&"fixed",o&&"hideScrollbar",s&&"scrollableX",a&&"scrollableY"],flexContainer:["flexContainer",e&&"flexContainerVertical",c&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",p&&"scrollButtonsHideMobile"],scrollableX:[s&&"scrollableX"],hideScrollbar:[o&&"hideScrollbar"]},o1,d)},a1=ht("div",{name:"MuiTabs",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${ya.scrollButtons}`]:e.scrollButtons},{[`& .${ya.scrollButtons}`]:n.scrollButtonsHideMobile&&e.scrollButtonsHideMobile},e.root,n.vertical&&e.vertical]}})(({ownerState:t,theme:e})=>T({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},t.vertical&&{flexDirection:"column"},t.scrollButtonsHideMobile&&{[`& .${ya.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}})),l1=ht("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.scroller,n.fixed&&e.fixed,n.hideScrollbar&&e.hideScrollbar,n.scrollableX&&e.scrollableX,n.scrollableY&&e.scrollableY]}})(({ownerState:t})=>T({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},t.fixed&&{overflowX:"hidden",width:"100%"},t.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},t.scrollableX&&{overflowX:"auto",overflowY:"hidden"},t.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),c1=ht("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.flexContainer,n.vertical&&e.flexContainerVertical,n.centered&&e.centered]}})(({ownerState:t})=>T({display:"flex"},t.vertical&&{flexDirection:"column"},t.centered&&{justifyContent:"center"})),u1=ht("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(t,e)=>e.indicator})(({ownerState:t,theme:e})=>T({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create()},t.indicatorColor==="primary"&&{backgroundColor:(e.vars||e).palette.primary.main},t.indicatorColor==="secondary"&&{backgroundColor:(e.vars||e).palette.secondary.main},t.vertical&&{height:"100%",width:2,right:0})),p1=ht(Jv)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),Au={},d1=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiTabs"}),s=to(),a=pi(),{"aria-label":c,"aria-labelledby":p,action:d,centered:g=!1,children:m,className:S,component:y="div",allowScrollButtonsMobile:j=!1,indicatorColor:k="primary",onChange:E,orientation:A="horizontal",ScrollButtonComponent:h=n1,scrollButtons:P="auto",selectionFollowsFocus:D,slots:I={},slotProps:z={},TabIndicatorProps:N={},TabScrollButtonProps:x={},textColor:V="primary",value:G,variant:L="standard",visibleScrollbar:K=!1}=o,J=at(o,i1),_=L==="scrollable",Q=A==="vertical",q=Q?"scrollTop":"scrollLeft",tt=Q?"top":"left",dt=Q?"bottom":"right",bt=Q?"clientHeight":"clientWidth",it=Q?"height":"width",xt=T({},o,{component:y,allowScrollButtonsMobile:j,indicatorColor:k,orientation:A,vertical:Q,scrollButtons:P,textColor:V,variant:L,visibleScrollbar:K,fixed:!_,hideScrollbar:_&&!K,scrollableX:_&&!Q,scrollableY:_&&Q,centered:g&&!_,scrollButtonsHideMobile:!j}),Ct=s1(xt),Qt=Jn({elementType:I.StartScrollButtonIcon,externalSlotProps:z.startScrollButtonIcon,ownerState:xt}),fe=Jn({elementType:I.EndScrollButtonIcon,externalSlotProps:z.endScrollButtonIcon,ownerState:xt}),[Ft,Wt]=M.useState(!1),[st,rt]=M.useState(Au),[nt,Rt]=M.useState(!1),[ut,u]=M.useState(!1),[w,H]=M.useState(!1),[he,te]=M.useState({overflow:"hidden",scrollbarWidth:0}),Ce=new Map,ee=M.useRef(null),ae=M.useRef(null),Ae=()=>{const Z=ee.current;let lt;if(Z){const wt=Z.getBoundingClientRect();lt={clientWidth:Z.clientWidth,scrollLeft:Z.scrollLeft,scrollTop:Z.scrollTop,scrollLeftNormalized:bh(Z,a?"rtl":"ltr"),scrollWidth:Z.scrollWidth,top:wt.top,bottom:wt.bottom,left:wt.left,right:wt.right}}let ct;if(Z&&G!==!1){const wt=ae.current.children;if(wt.length>0){const Dt=wt[Ce.get(G)];ct=Dt?Dt.getBoundingClientRect():null}}return{tabsMeta:lt,tabMeta:ct}},Lt=gr(()=>{const{tabsMeta:Z,tabMeta:lt}=Ae();let ct=0,wt;if(Q)wt="top",lt&&Z&&(ct=lt.top-Z.top+Z.scrollTop);else if(wt=a?"right":"left",lt&&Z){const U=a?Z.scrollLeftNormalized+Z.clientWidth-Z.scrollWidth:Z.scrollLeft;ct=(a?-1:1)*(lt[wt]-Z[wt]+U)}const Dt={[wt]:ct,[it]:lt?lt[it]:0};if(isNaN(st[wt])||isNaN(st[it]))rt(Dt);else{const U=Math.abs(st[wt]-Dt[wt]),we=Math.abs(st[it]-Dt[it]);(U>=1||we>=1)&&rt(Dt)}}),ye=(Z,{animation:lt=!0}={})=>{lt?Yv(q,ee.current,Z,{duration:s.transitions.duration.standard}):ee.current[q]=Z},me=Z=>{let lt=ee.current[q];Q?lt+=Z:(lt+=Z*(a?-1:1),lt*=a&&Dl()==="reverse"?-1:1),ye(lt)},be=()=>{const Z=ee.current[bt];let lt=0;const ct=Array.from(ae.current.children);for(let wt=0;wt<ct.length;wt+=1){const Dt=ct[wt];if(lt+Dt[bt]>Z){wt===0&&(lt=Z);break}lt+=Dt[bt]}return lt},ue=()=>{me(-1*be())},ve=()=>{me(be())},xe=M.useCallback(Z=>{te({overflow:null,scrollbarWidth:Z})},[]),_e=()=>{const Z={};Z.scrollbarSizeListener=_?F.jsx(p1,{onChange:xe,className:ot(Ct.scrollableX,Ct.hideScrollbar)}):null;const ct=_&&(P==="auto"&&(nt||ut)||P===!0);return Z.scrollButtonStart=ct?F.jsx(h,T({slots:{StartScrollButtonIcon:I.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:Qt},orientation:A,direction:a?"right":"left",onClick:ue,disabled:!nt},x,{className:ot(Ct.scrollButtons,x.className)})):null,Z.scrollButtonEnd=ct?F.jsx(h,T({slots:{EndScrollButtonIcon:I.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:fe},orientation:A,direction:a?"left":"right",onClick:ve,disabled:!ut},x,{className:ot(Ct.scrollButtons,x.className)})):null,Z},ar=gr(Z=>{const{tabsMeta:lt,tabMeta:ct}=Ae();if(!(!ct||!lt)){if(ct[tt]<lt[tt]){const wt=lt[q]+(ct[tt]-lt[tt]);ye(wt,{animation:Z})}else if(ct[dt]>lt[dt]){const wt=lt[q]+(ct[dt]-lt[dt]);ye(wt,{animation:Z})}}}),yt=gr(()=>{_&&P!==!1&&H(!w)});M.useEffect(()=>{const Z=Ol(()=>{ee.current&&Lt()});let lt;const ct=U=>{U.forEach(we=>{we.removedNodes.forEach(Oe=>{var Ee;(Ee=lt)==null||Ee.unobserve(Oe)}),we.addedNodes.forEach(Oe=>{var Ee;(Ee=lt)==null||Ee.observe(Oe)})}),Z(),yt()},wt=Il(ee.current);wt.addEventListener("resize",Z);let Dt;return typeof ResizeObserver<"u"&&(lt=new ResizeObserver(Z),Array.from(ae.current.children).forEach(U=>{lt.observe(U)})),typeof MutationObserver<"u"&&(Dt=new MutationObserver(ct),Dt.observe(ae.current,{childList:!0})),()=>{var U,we;Z.clear(),wt.removeEventListener("resize",Z),(U=Dt)==null||U.disconnect(),(we=lt)==null||we.disconnect()}},[Lt,yt]),M.useEffect(()=>{const Z=Array.from(ae.current.children),lt=Z.length;if(typeof IntersectionObserver<"u"&<>0&&_&&P!==!1){const ct=Z[0],wt=Z[lt-1],Dt={root:ee.current,threshold:.99},U=xr=>{Rt(!xr[0].isIntersecting)},we=new IntersectionObserver(U,Dt);we.observe(ct);const Oe=xr=>{u(!xr[0].isIntersecting)},Ee=new IntersectionObserver(Oe,Dt);return Ee.observe(wt),()=>{we.disconnect(),Ee.disconnect()}}},[_,P,w,m==null?void 0:m.length]),M.useEffect(()=>{Wt(!0)},[]),M.useEffect(()=>{Lt()}),M.useEffect(()=>{ar(Au!==st)},[ar,st]),M.useImperativeHandle(d,()=>({updateIndicator:Lt,updateScrollButtons:yt}),[Lt,yt]);const le=F.jsx(u1,T({},N,{className:ot(Ct.indicator,N.className),ownerState:xt,style:T({},st,N.style)}));let B=0;const Re=M.Children.map(m,Z=>{if(!M.isValidElement(Z))return null;const lt=Z.props.value===void 0?B:Z.props.value;Ce.set(lt,B);const ct=lt===G;return B+=1,M.cloneElement(Z,T({fullWidth:L==="fullWidth",indicator:ct&&!Ft&&le,selected:ct,selectionFollowsFocus:D,onChange:E,textColor:V,value:lt},B===1&&G===!1&&!Z.props.tabIndex?{tabIndex:0}:{}))}),lr=Z=>{const lt=ae.current,ct=ci(lt).activeElement;if(ct.getAttribute("role")!=="tab")return;let Dt=A==="horizontal"?"ArrowLeft":"ArrowUp",U=A==="horizontal"?"ArrowRight":"ArrowDown";switch(A==="horizontal"&&a&&(Dt="ArrowRight",U="ArrowLeft"),Z.key){case Dt:Z.preventDefault(),Pi(lt,ct,Mu);break;case U:Z.preventDefault(),Pi(lt,ct,$u);break;case"Home":Z.preventDefault(),Pi(lt,null,$u);break;case"End":Z.preventDefault(),Pi(lt,null,Mu);break}},C=_e();return F.jsxs(a1,T({className:ot(Ct.root,S),ownerState:xt,ref:n,as:y},J,{children:[C.scrollButtonStart,C.scrollbarSizeListener,F.jsxs(l1,{className:Ct.scroller,ownerState:xt,style:{overflow:he.overflow,[Q?`margin${a?"Left":"Right"}`:"marginBottom"]:K?void 0:-he.scrollbarWidth},ref:ee,children:[F.jsx(c1,{"aria-label":c,"aria-labelledby":p,"aria-orientation":A==="vertical"?"vertical":null,className:Ct.flexContainer,ownerState:xt,onKeyDown:lr,ref:ae,role:"tablist",children:Re}),Ft&&le]}),C.scrollButtonEnd]}))}),Ou=zt(F.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2M9 17H7v-5h2zm4 0h-2v-3h2zm0-5h-2v-2h2zm4 5h-2V7h2z"}),"Analytics"),f1=zt(F.jsx("path",{d:"m19 9 1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25zm-7.5.5L9 4 6.5 9.5 1 12l5.5 2.5L9 20l2.5-5.5L17 12zM19 15l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25z"}),"AutoAwesome"),Iu=zt(F.jsx("path",{d:"M4 9h4v11H4zm12 4h4v7h-4zm-6-9h4v16h-4z"}),"BarChart"),h1=zt(F.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M10 17l-3.5-3.5 1.41-1.41L10 14.17 15.18 9l1.41 1.41z"}),"CloudDone"),g1=zt(F.jsx("path",{d:"M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z"}),"Code"),Bu=zt(F.jsx("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4-8 5-8-5V6l8 5 8-5z"}),"Email"),Fu=zt(F.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"}),"Info"),y1=zt(F.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDown"),m1=zt(F.jsx("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"}),"KeyboardArrowRight"),b1=zt(F.jsx("path",{d:"M9 21c0 .5.4 1 1 1h4c.6 0 1-.5 1-1v-1H9zm3-19C8.1 2 5 5.1 5 9c0 2.4 1.2 4.5 3 5.7V17c0 .5.4 1 1 1h6c.6 0 1-.5 1-1v-2.3c1.8-1.3 3-3.4 3-5.7 0-3.9-3.1-7-7-7"}),"Lightbulb"),zu=zt([F.jsx("path",{d:"M13 8.57c-.79 0-1.43.64-1.43 1.43s.64 1.43 1.43 1.43 1.43-.64 1.43-1.43-.64-1.43-1.43-1.43"},"0"),F.jsx("path",{d:"M13 3C9.25 3 6.2 5.94 6.02 9.64L4.1 12.2c-.25.33-.01.8.4.8H6v3c0 1.1.9 2 2 2h1v3h7v-4.68c2.36-1.12 4-3.53 4-6.32 0-3.87-3.13-7-7-7m3 7c0 .13-.01.26-.02.39l.83.66c.08.06.1.16.05.25l-.8 1.39c-.05.09-.16.12-.24.09l-.99-.4c-.21.16-.43.29-.67.39L14 13.83c-.01.1-.1.17-.2.17h-1.6c-.1 0-.18-.07-.2-.17l-.15-1.06c-.25-.1-.47-.23-.68-.39l-.99.4c-.09.03-.2 0-.25-.09l-.8-1.39c-.05-.08-.03-.19.05-.25l.84-.66c-.01-.13-.02-.26-.02-.39s.02-.27.04-.39l-.85-.66c-.08-.06-.1-.16-.05-.26l.8-1.38c.05-.09.15-.12.24-.09l1 .4c.2-.15.43-.29.67-.39L12 6.17c.02-.1.1-.17.2-.17h1.6c.1 0 .18.07.2.17l.15 1.06c.24.1.46.23.67.39l1-.4c.09-.03.2 0 .24.09l.8 1.38c.05.09.03.2-.05.26l-.85.66c.03.12.04.25.04.39"},"1")],"Psychology"),v1=zt(F.jsx("path",{d:"M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1m-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1"}),"QuestionAnswer"),x1=zt(F.jsx("path",{d:"M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11z"}),"Security"),Du=zt(F.jsx("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings"),ma=zt(F.jsx("path",{d:"m20.38 8.57-1.23 1.85a8 8 0 0 1-.22 7.58H5.07A8 8 0 0 1 15.58 6.85l1.85-1.23A10 10 0 0 0 3.35 19a2 2 0 0 0 1.72 1h13.85a2 2 0 0 0 1.74-1 10 10 0 0 0-.27-10.44zm-9.79 6.84a2 2 0 0 0 2.83 0l5.66-8.49-8.49 5.66a2 2 0 0 0 0 2.83"}),"Speed"),Nu=zt(F.jsx("path",{d:"M23 8c0 1.1-.9 2-2 2-.18 0-.35-.02-.51-.07l-3.56 3.55c.05.16.07.34.07.52 0 1.1-.9 2-2 2s-2-.9-2-2c0-.18.02-.36.07-.52l-2.55-2.55c-.16.05-.34.07-.52.07s-.36-.02-.52-.07l-4.55 4.56c.05.16.07.33.07.51 0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.18 0 .35.02.51.07l4.56-4.55C8.02 9.36 8 9.18 8 9c0-1.1.9-2 2-2s2 .9 2 2c0 .18-.02.36-.07.52l2.55 2.55c.16-.05.34-.07.52-.07s.36.02.52.07l3.55-3.56C19.02 8.35 19 8.18 19 8c0-1.1.9-2 2-2s2 .9 2 2"}),"Timeline"),vn=zt(F.jsx("path",{d:"m16 6 2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z"}),"TrendingUp"),w1=zt(F.jsx("path",{d:"M16 18v2H8v-2zM11 7.99V16h2V7.99h3L12 4 8 7.99z"}),"UpgradeOutlined");var S1=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},oe=(t,e,n)=>(S1(t,e,"read from private field"),n?n.call(t):e.get(t)),ie=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},_u=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};function Lu(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function o(){return this instanceof o?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(o){var s=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,s.get?s:{enumerable:!0,get:function(){return t[o]}})}),n}var Wu={exports:{}},go={};/** 158 158 * @license React 159 159 * react-jsx-runtime.production.min.js … … 163 163 * This source code is licensed under the MIT license found in the 164 164 * LICENSE file in the root directory of this source tree. 165 */var ic;function bm(){if(ic)return En;ic=1;var t=mt,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(d,f,g){var x,T={},m=null,M=null;g!==void 0&&(m=""+g),f.key!==void 0&&(m=""+f.key),f.ref!==void 0&&(M=f.ref);for(x in f)i.call(f,x)&&!l.hasOwnProperty(x)&&(T[x]=f[x]);if(d&&d.defaultProps)for(x in f=d.defaultProps,f)T[x]===void 0&&(T[x]=f[x]);return{$$typeof:e,type:d,key:m,ref:M,props:T,_owner:s.current}}return En.Fragment=n,En.jsx=c,En.jsxs=c,En}oc.exports=bm();var S=oc.exports,j={};(function(t){var e=typeof Object.defineProperties=="function"?Object.defineProperty:function(r,o,a){r!=Array.prototype&&r!=Object.prototype&&(r[o]=a.value)},n=rc;function i(r,o){if(o){var a=n;r=r.split(".");for(var p=0;p<r.length-1;p++){var b=r[p];b in a||(a[b]={}),a=a[b]}r=r[r.length-1],p=a[r],o=o(p),o!=p&&o!=null&&e(a,r,{configurable:!0,writable:!0,value:o})}}function s(r){var o=0;return function(){return o<r.length?{done:!1,value:r[o++]}:{done:!0}}}function l(){l=function(){},n.Symbol||(n.Symbol=d)}function c(r,o){this.a=r,e(this,"description",{configurable:!0,writable:!0,value:o})}c.prototype.toString=function(){return this.a};var d=function(){function r(a){if(this instanceof r)throw new TypeError("Symbol is not a constructor");return new c("jscomp_symbol_"+(a||"")+"_"+o++,a)}var o=0;return r}();function f(){l();var r=n.Symbol.iterator;r||(r=n.Symbol.iterator=n.Symbol("Symbol.iterator")),typeof Array.prototype[r]!="function"&&e(Array.prototype,r,{configurable:!0,writable:!0,value:function(){return g(s(this))}}),f=function(){}}function g(r){return f(),r={next:r},r[n.Symbol.iterator]=function(){return this},r}function x(r,o){f(),r instanceof String&&(r+="");var a=0,p={next:function(){if(a<r.length){var b=a++;return{value:o(b,r[b]),done:!1}}return p.next=function(){return{done:!0,value:void 0}},p.next()}};return p[Symbol.iterator]=function(){return p},p}i("Array.prototype.entries",function(r){return r||function(){return x(this,function(o,a){return[o,a]})}});var T=rc||self;function m(r,o,a){r=r.split("."),a=a||T,r[0]in a||typeof a.execScript>"u"||a.execScript("var "+r[0]);for(var p;r.length&&(p=r.shift());)r.length||o===void 0?a[p]&&a[p]!==Object.prototype[p]?a=a[p]:a=a[p]={}:a[p]=o}function M(r){var o=typeof r;if(o=="object")if(r){if(r instanceof Array)return"array";if(r instanceof Object)return o;var a=Object.prototype.toString.call(r);if(a=="[object Window]")return"object";if(a=="[object Array]"||typeof r.length=="number"&&typeof r.splice<"u"&&typeof r.propertyIsEnumerable<"u"&&!r.propertyIsEnumerable("splice"))return"array";if(a=="[object Function]"||typeof r.call<"u"&&typeof r.propertyIsEnumerable<"u"&&!r.propertyIsEnumerable("call"))return"function"}else return"null";else if(o=="function"&&typeof r.call>"u")return"object";return o}function R(r){var o=typeof r;return o=="object"&&r!=null||o=="function"}function E(r,o,a){m(r,o,a)}function A(r,o){function a(){}a.prototype=o.prototype,r.prototype=new a,r.prototype.constructor=r}var h="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function $(r,o){for(var a,p,b=1;b<arguments.length;b++){p=arguments[b];for(a in p)r[a]=p[a];for(var P=0;P<h.length;P++)a=h[P],Object.prototype.hasOwnProperty.call(p,a)&&(r[a]=p[a])}}var z=Array.prototype.forEach?function(r,o){Array.prototype.forEach.call(r,o,void 0)}:function(r,o){for(var a=r.length,p=typeof r=="string"?r.split(""):r,b=0;b<a;b++)b in p&&o.call(void 0,p[b],b,r)},D=Array.prototype.map?function(r,o){return Array.prototype.map.call(r,o,void 0)}:function(r,o){for(var a=r.length,p=Array(a),b=typeof r=="string"?r.split(""):r,P=0;P<a;P++)P in b&&(p[P]=o.call(void 0,b[P],P,r));return p};function L(r,o,a){return 2>=arguments.length?Array.prototype.slice.call(r,o):Array.prototype.slice.call(r,o,a)}function U(r,o,a,p){var b="Assertion failed";if(a){b+=": "+a;var P=p}else r&&(b+=": "+r,P=o);throw Error(b,P||[])}function C(r,o,a){for(var p=[],b=2;b<arguments.length;++b)p[b-2]=arguments[b];return r||U("",null,o,p),r}function at(r,o,a){for(var p=[],b=2;b<arguments.length;++b)p[b-2]=arguments[b];typeof r!="string"&&U("Expected string but got %s: %s.",[M(r),r],o,p)}function pt(r,o,a){for(var p=[],b=2;b<arguments.length;++b)p[b-2]=arguments[b];Array.isArray(r)||U("Expected array but got %s: %s.",[M(r),r],o,p)}function K(r,o){for(var a=[],p=1;p<arguments.length;++p)a[p-1]=arguments[p];throw Error("Failure"+(r?": "+r:""),a)}function Y(r,o,a,p){for(var b=[],P=3;P<arguments.length;++P)b[P-3]=arguments[P];r instanceof o||U("Expected instanceof %s but got %s.",[Z(o),Z(r)],a,b)}function Z(r){return r instanceof Function?r.displayName||r.name||"unknown type name":r instanceof Object?r.constructor.displayName||r.constructor.name||Object.prototype.toString.call(r):r===null?"null":typeof r}function N(r,o){if(this.c=r,this.b=o,this.a={},this.arrClean=!0,0<this.c.length){for(r=0;r<this.c.length;r++){o=this.c[r];var a=o[0];this.a[a.toString()]=new Et(a,o[1])}this.arrClean=!0}}m("jspb.Map",N,void 0),N.prototype.g=function(){if(this.arrClean){if(this.b){var r=this.a,o;for(o in r)if(Object.prototype.hasOwnProperty.call(r,o)){var a=r[o].a;a&&a.g()}}}else{for(this.c.length=0,r=ft(this),r.sort(),o=0;o<r.length;o++){var p=this.a[r[o]];(a=p.a)&&a.g(),this.c.push([p.key,p.value])}this.arrClean=!0}return this.c},N.prototype.toArray=N.prototype.g,N.prototype.Mc=function(r,o){for(var a=this.g(),p=[],b=0;b<a.length;b++){var P=this.a[a[b][0].toString()];dt(this,P);var _=P.a;_?(C(o),p.push([P.key,o(r,_)])):p.push([P.key,P.value])}return p},N.prototype.toObject=N.prototype.Mc,N.fromObject=function(r,o,a){o=new N([],o);for(var p=0;p<r.length;p++){var b=r[p][0],P=a(r[p][1]);o.set(b,P)}return o};function Q(r){this.a=0,this.b=r}Q.prototype.next=function(){return this.a<this.b.length?{done:!1,value:this.b[this.a++]}:{done:!0,value:void 0}},typeof Symbol<"u"&&(Q.prototype[Symbol.iterator]=function(){return this}),N.prototype.Jb=function(){return ft(this).length},N.prototype.getLength=N.prototype.Jb,N.prototype.clear=function(){this.a={},this.arrClean=!1},N.prototype.clear=N.prototype.clear,N.prototype.Cb=function(r){r=r.toString();var o=this.a.hasOwnProperty(r);return delete this.a[r],this.arrClean=!1,o},N.prototype.del=N.prototype.Cb,N.prototype.Eb=function(){var r=[],o=ft(this);o.sort();for(var a=0;a<o.length;a++){var p=this.a[o[a]];r.push([p.key,p.value])}return r},N.prototype.getEntryList=N.prototype.Eb,N.prototype.entries=function(){var r=[],o=ft(this);o.sort();for(var a=0;a<o.length;a++){var p=this.a[o[a]];r.push([p.key,dt(this,p)])}return new Q(r)},N.prototype.entries=N.prototype.entries,N.prototype.keys=function(){var r=[],o=ft(this);o.sort();for(var a=0;a<o.length;a++)r.push(this.a[o[a]].key);return new Q(r)},N.prototype.keys=N.prototype.keys,N.prototype.values=function(){var r=[],o=ft(this);o.sort();for(var a=0;a<o.length;a++)r.push(dt(this,this.a[o[a]]));return new Q(r)},N.prototype.values=N.prototype.values,N.prototype.forEach=function(r,o){var a=ft(this);a.sort();for(var p=0;p<a.length;p++){var b=this.a[a[p]];r.call(o,dt(this,b),b.key,this)}},N.prototype.forEach=N.prototype.forEach,N.prototype.set=function(r,o){var a=new Et(r);return this.b?(a.a=o,a.value=o.g()):a.value=o,this.a[r.toString()]=a,this.arrClean=!1,this},N.prototype.set=N.prototype.set;function dt(r,o){return r.b?(o.a||(o.a=new r.b(o.value)),o.a):o.value}N.prototype.get=function(r){if(r=this.a[r.toString()])return dt(this,r)},N.prototype.get=N.prototype.get,N.prototype.has=function(r){return r.toString()in this.a},N.prototype.has=N.prototype.has,N.prototype.Jc=function(r,o,a,p,b){var P=ft(this);P.sort();for(var _=0;_<P.length;_++){var rt=this.a[P[_]];o.Va(r),a.call(o,1,rt.key),this.b?p.call(o,2,dt(this,rt),b):p.call(o,2,rt.value),o.Ya()}},N.prototype.serializeBinary=N.prototype.Jc,N.deserializeBinary=function(r,o,a,p,b,P,_){for(;o.oa()&&!o.bb();){var rt=o.c;rt==1?P=a.call(o):rt==2&&(r.b?(C(b),_||(_=new r.b),p.call(o,_,b)):_=p.call(o))}C(P!=null),C(_!=null),r.set(P,_)};function ft(r){r=r.a;var o=[],a;for(a in r)Object.prototype.hasOwnProperty.call(r,a)&&o.push(a);return o}function Et(r,o){this.key=r,this.value=o,this.a=void 0}function gt(r){if(8192>=r.length)return String.fromCharCode.apply(null,r);for(var o="",a=0;a<r.length;a+=8192)o+=String.fromCharCode.apply(null,L(r,a,a+8192));return o}var ht={"\0":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},$t={"'":"\\'"},At={},pe=null;function _e(r,o){o===void 0&&(o=0),lt(),o=At[o];for(var a=[],p=0;p<r.length;p+=3){var b=r[p],P=p+1<r.length,_=P?r[p+1]:0,rt=p+2<r.length,Gt=rt?r[p+2]:0,xr=b>>2;b=(b&3)<<4|_>>4,_=(_&15)<<2|Gt>>6,Gt&=63,rt||(Gt=64,P||(_=64)),a.push(o[xr],o[b],o[_]||"",o[Gt]||"")}return a.join("")}function Ht(r){var o=r.length,a=3*o/4;a%3?a=Math.floor(a):"=.".indexOf(r[o-1])!=-1&&(a="=.".indexOf(r[o-2])!=-1?a-2:a-1);var p=new Uint8Array(a),b=0;return je(r,function(P){p[b++]=P}),p.subarray(0,b)}function je(r,o){function a(Gt){for(;p<r.length;){var xr=r.charAt(p++),Dc=pe[xr];if(Dc!=null)return Dc;if(!/^[\s\xa0]*$/.test(xr))throw Error("Unknown base64 encoding at char: "+xr)}return Gt}lt();for(var p=0;;){var b=a(-1),P=a(0),_=a(64),rt=a(64);if(rt===64&&b===-1)break;o(b<<2|P>>4),_!=64&&(o(P<<4&240|_>>2),rt!=64&&o(_<<6&192|rt))}}function lt(){if(!pe){pe={};for(var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),o=["+/=","+/","-_=","-_.","-_"],a=0;5>a;a++){var p=r.concat(o[a].split(""));At[a]=p;for(var b=0;b<p.length;b++){var P=p[b];pe[P]===void 0&&(pe[P]=b)}}}}m("jspb.ConstBinaryMessage",function(){},void 0),m("jspb.BinaryMessage",function(){},void 0),m("jspb.BinaryConstants.FieldType",{yb:-1,ee:1,FLOAT:2,ke:3,te:4,je:5,xb:6,wb:7,BOOL:8,re:9,ie:10,le:11,ce:12,se:13,ge:14,me:15,ne:16,oe:17,pe:18,he:30,ve:31},void 0),m("jspb.BinaryConstants.WireType",{yb:-1,ue:0,xb:1,de:2,qe:3,fe:4,wb:5},void 0),m("jspb.BinaryConstants.FieldTypeToWireType",function(r){switch(r){case 5:case 3:case 13:case 4:case 17:case 18:case 8:case 14:case 31:return 0;case 1:case 6:case 16:case 30:return 1;case 9:case 11:case 12:return 2;case 2:case 7:case 15:return 5;default:return-1}},void 0),m("jspb.BinaryConstants.INVALID_FIELD_NUMBER",-1,void 0),m("jspb.BinaryConstants.FLOAT32_EPS",1401298464324817e-60,void 0),m("jspb.BinaryConstants.FLOAT32_MIN",11754943508222875e-54,void 0),m("jspb.BinaryConstants.FLOAT32_MAX",34028234663852886e22,void 0),m("jspb.BinaryConstants.FLOAT64_EPS",5e-324,void 0),m("jspb.BinaryConstants.FLOAT64_MIN",22250738585072014e-324,void 0),m("jspb.BinaryConstants.FLOAT64_MAX",17976931348623157e292,void 0),m("jspb.BinaryConstants.TWO_TO_20",1048576,void 0),m("jspb.BinaryConstants.TWO_TO_23",8388608,void 0),m("jspb.BinaryConstants.TWO_TO_31",2147483648,void 0),m("jspb.BinaryConstants.TWO_TO_32",4294967296,void 0),m("jspb.BinaryConstants.TWO_TO_52",4503599627370496,void 0),m("jspb.BinaryConstants.TWO_TO_63",9223372036854776e3,void 0),m("jspb.BinaryConstants.TWO_TO_64",18446744073709552e3,void 0),m("jspb.BinaryConstants.ZERO_HASH","\0\0\0\0\0\0\0\0",void 0);var G=0,u=0;m("jspb.utils.getSplit64Low",function(){return G},void 0),m("jspb.utils.getSplit64High",function(){return u},void 0);function w(r){var o=r>>>0;r=Math.floor((r-o)/4294967296)>>>0,G=o,u=r}m("jspb.utils.splitUint64",w,void 0);function V(r){var o=0>r;r=Math.abs(r);var a=r>>>0;r=Math.floor((r-a)/4294967296),r>>>=0,o&&(r=~r>>>0,a=(~a>>>0)+1,4294967295<a&&(a=0,r++,4294967295<r&&(r=0))),G=a,u=r}m("jspb.utils.splitInt64",V,void 0);function Xe(r){var o=0>r;r=2*Math.abs(r),w(r),r=G;var a=u;o&&(r==0?a==0?a=r=4294967295:(a--,r=4294967295):r--),G=r,u=a}m("jspb.utils.splitZigzag64",Xe,void 0);function yr(r){var o=0>r?1:0;if(r=o?-r:r,r===0)0<1/r?G=u=0:(u=0,G=2147483648);else if(isNaN(r))u=0,G=2147483647;else if(34028234663852886e22<r)u=0,G=(o<<31|2139095040)>>>0;else if(11754943508222875e-54>r)r=Math.round(r/Math.pow(2,-149)),u=0,G=(o<<31|r)>>>0;else{var a=Math.floor(Math.log(r)/Math.LN2);r*=Math.pow(2,-a),r=Math.round(8388608*r),16777216<=r&&++a,u=0,G=(o<<31|a+127<<23|r&8388607)>>>0}}m("jspb.utils.splitFloat32",yr,void 0);function Qr(r){var o=0>r?1:0;if(r=o?-r:r,r===0)u=0<1/r?0:2147483648,G=0;else if(isNaN(r))u=2147483647,G=4294967295;else if(17976931348623157e292<r)u=(o<<31|2146435072)>>>0,G=0;else if(22250738585072014e-324>r)r/=Math.pow(2,-1074),u=(o<<31|r/4294967296)>>>0,G=r>>>0;else{var a=r,p=0;if(2<=a)for(;2<=a&&1023>p;)p++,a/=2;else for(;1>a&&-1022<p;)a*=2,p--;r*=Math.pow(2,-p),u=(o<<31|p+1023<<20|1048576*r&1048575)>>>0,G=4503599627370496*r>>>0}}m("jspb.utils.splitFloat64",Qr,void 0);function de(r){var o=r.charCodeAt(4),a=r.charCodeAt(5),p=r.charCodeAt(6),b=r.charCodeAt(7);G=r.charCodeAt(0)+(r.charCodeAt(1)<<8)+(r.charCodeAt(2)<<16)+(r.charCodeAt(3)<<24)>>>0,u=o+(a<<8)+(p<<16)+(b<<24)>>>0}m("jspb.utils.splitHash64",de,void 0);function Fe(r,o){return 4294967296*o+(r>>>0)}m("jspb.utils.joinUint64",Fe,void 0);function De(r,o){var a=o&2147483648;return a&&(r=~r+1>>>0,o=~o>>>0,r==0&&(o=o+1>>>0)),r=Fe(r,o),a?-r:r}m("jspb.utils.joinInt64",De,void 0);function re(r,o,a){var p=o>>31;return a(r<<1^p,(o<<1|r>>>31)^p)}m("jspb.utils.toZigzag64",re,void 0);function $e(r,o){return Ze(r,o,De)}m("jspb.utils.joinZigzag64",$e,void 0);function Ze(r,o,a){var p=-(r&1);return a((r>>>1|o<<31)^p,o>>>1^p)}m("jspb.utils.fromZigzag64",Ze,void 0);function Me(r){var o=2*(r>>31)+1,a=r>>>23&255;return r&=8388607,a==255?r?NaN:1/0*o:a==0?o*Math.pow(2,-149)*r:o*Math.pow(2,a-150)*(r+Math.pow(2,23))}m("jspb.utils.joinFloat32",Me,void 0);function Le(r,o){var a=2*(o>>31)+1,p=o>>>20&2047;return r=4294967296*(o&1048575)+r,p==2047?r?NaN:1/0*a:p==0?a*Math.pow(2,-1074)*r:a*Math.pow(2,p-1075)*(r+4503599627370496)}m("jspb.utils.joinFloat64",Le,void 0);function Je(r,o){return String.fromCharCode(r>>>0&255,r>>>8&255,r>>>16&255,r>>>24&255,o>>>0&255,o>>>8&255,o>>>16&255,o>>>24&255)}m("jspb.utils.joinHash64",Je,void 0),m("jspb.utils.DIGITS","0123456789abcdef".split(""),void 0);function We(r,o){function a(b,P){return b=b?String(b):"",P?"0000000".slice(b.length)+b:b}if(2097151>=o)return""+Fe(r,o);var p=(r>>>24|o<<8)>>>0&16777215;return o=o>>16&65535,r=(r&16777215)+6777216*p+6710656*o,p+=8147497*o,o*=2,1e7<=r&&(p+=Math.floor(r/1e7),r%=1e7),1e7<=p&&(o+=Math.floor(p/1e7),p%=1e7),a(o,0)+a(p,o)+a(r,1)}m("jspb.utils.joinUnsignedDecimalString",We,void 0);function Ae(r,o){var a=o&2147483648;return a&&(r=~r+1>>>0,o=~o+(r==0?1:0)>>>0),r=We(r,o),a?"-"+r:r}m("jspb.utils.joinSignedDecimalString",Ae,void 0);function Ue(r,o){de(r),r=G;var a=u;return o?Ae(r,a):We(r,a)}m("jspb.utils.hash64ToDecimalString",Ue,void 0),m("jspb.utils.hash64ArrayToDecimalStrings",function(r,o){for(var a=Array(r.length),p=0;p<r.length;p++)a[p]=Ue(r[p],o);return a},void 0);function Qe(r){function o(_,rt){for(var Gt=0;8>Gt&&(_!==1||0<rt);Gt++)rt=_*b[Gt]+rt,b[Gt]=rt&255,rt>>>=8}function a(){for(var _=0;8>_;_++)b[_]=~b[_]&255}C(0<r.length);var p=!1;r[0]==="-"&&(p=!0,r=r.slice(1));for(var b=[0,0,0,0,0,0,0,0],P=0;P<r.length;P++)o(10,r.charCodeAt(P)-48);return p&&(a(),o(1,1)),gt(b)}m("jspb.utils.decimalStringToHash64",Qe,void 0),m("jspb.utils.splitDecimalString",function(r){de(Qe(r))},void 0);function gr(r){return String.fromCharCode(10>r?48+r:87+r)}function mr(r){return 97<=r?r-97+10:r-48}m("jspb.utils.hash64ToHexString",function(r){var o=Array(18);o[0]="0",o[1]="x";for(var a=0;8>a;a++){var p=r.charCodeAt(7-a);o[2*a+2]=gr(p>>4),o[2*a+3]=gr(p&15)}return o.join("")},void 0),m("jspb.utils.hexStringToHash64",function(r){r=r.toLowerCase(),C(r.length==18),C(r[0]=="0"),C(r[1]=="x");for(var o="",a=0;8>a;a++)o=String.fromCharCode(16*mr(r.charCodeAt(2*a+2))+mr(r.charCodeAt(2*a+3)))+o;return o},void 0),m("jspb.utils.hash64ToNumber",function(r,o){de(r),r=G;var a=u;return o?De(r,a):Fe(r,a)},void 0),m("jspb.utils.numberToHash64",function(r){return V(r),Je(G,u)},void 0),m("jspb.utils.countVarints",function(r,o,a){for(var p=0,b=o;b<a;b++)p+=r[b]>>7;return a-o-p},void 0),m("jspb.utils.countVarintFields",function(r,o,a,p){var b=0;if(p*=8,128>p)for(;o<a&&r[o++]==p;)for(b++;;){var P=r[o++];if(!(P&128))break}else for(;o<a;){for(P=p;128<P;){if(r[o]!=(P&127|128))return b;o++,P>>=7}if(r[o++]!=P)break;for(b++;P=r[o++],(P&128)!=0;);}return b},void 0);function ct(r,o,a,p,b){var P=0;if(128>p)for(;o<a&&r[o++]==p;)P++,o+=b;else for(;o<a;){for(var _=p;128<_;){if(r[o++]!=(_&127|128))return P;_>>=7}if(r[o++]!=_)break;P++,o+=b}return P}m("jspb.utils.countFixed32Fields",function(r,o,a,p){return ct(r,o,a,8*p+5,4)},void 0),m("jspb.utils.countFixed64Fields",function(r,o,a,p){return ct(r,o,a,8*p+1,8)},void 0),m("jspb.utils.countDelimitedFields",function(r,o,a,p){var b=0;for(p=8*p+2;o<a;){for(var P=p;128<P;){if(r[o++]!=(P&127|128))return b;P>>=7}if(r[o++]!=P)break;b++;for(var _=0,rt=1;P=r[o++],_+=(P&127)*rt,rt*=128,(P&128)!=0;);o+=_}return b},void 0),m("jspb.utils.debugBytesToTextFormat",function(r){var o='"';if(r){r=Ve(r);for(var a=0;a<r.length;a++)o+="\\x",16>r[a]&&(o+="0"),o+=r[a].toString(16)}return o+'"'},void 0),m("jspb.utils.debugScalarToTextFormat",function(r){if(typeof r=="string"){r=String(r);for(var o=['"'],a=0;a<r.length;a++){var p=r.charAt(a),b=p.charCodeAt(0),P=a+1,_;(_=ht[p])||(31<b&&127>b||(b=p,b in $t?p=$t[b]:b in ht?p=$t[b]=ht[b]:(_=b.charCodeAt(0),31<_&&127>_?p=b:(256>_?(p="\\x",(16>_||256<_)&&(p+="0")):(p="\\u",4096>_&&(p+="0")),p+=_.toString(16).toUpperCase()),p=$t[b]=p)),_=p),o[P]=_}o.push('"'),r=o.join("")}else r=r.toString();return r},void 0),m("jspb.utils.stringToByteArray",function(r){for(var o=new Uint8Array(r.length),a=0;a<r.length;a++){var p=r.charCodeAt(a);if(255<p)throw Error("Conversion error: string contains codepoint outside of byte range");o[a]=p}return o},void 0);function Ve(r){return r.constructor===Uint8Array?r:r.constructor===ArrayBuffer?new Uint8Array(r):r.constructor===Array?new Uint8Array(r):r.constructor===String?Ht(r):r instanceof Uint8Array?new Uint8Array(r.buffer,r.byteOffset,r.byteLength):(K("Type not convertible to Uint8Array."),new Uint8Array(0))}m("jspb.utils.byteSourceToUint8Array",Ve,void 0);function I(r,o,a){this.b=null,this.a=this.c=this.h=0,this.v=!1,r&&this.H(r,o,a)}m("jspb.BinaryDecoder",I,void 0);var He=[];I.getInstanceCacheLength=function(){return He.length};function br(r,o,a){if(He.length){var p=He.pop();return r&&p.H(r,o,a),p}return new I(r,o,a)}I.alloc=br,I.prototype.Ca=function(){this.clear(),100>He.length&&He.push(this)},I.prototype.free=I.prototype.Ca,I.prototype.clone=function(){return br(this.b,this.h,this.c-this.h)},I.prototype.clone=I.prototype.clone,I.prototype.clear=function(){this.b=null,this.a=this.c=this.h=0,this.v=!1},I.prototype.clear=I.prototype.clear,I.prototype.Y=function(){return this.b},I.prototype.getBuffer=I.prototype.Y,I.prototype.H=function(r,o,a){this.b=Ve(r),this.h=o!==void 0?o:0,this.c=a!==void 0?this.h+a:this.b.length,this.a=this.h},I.prototype.setBlock=I.prototype.H,I.prototype.Db=function(){return this.c},I.prototype.getEnd=I.prototype.Db,I.prototype.setEnd=function(r){this.c=r},I.prototype.setEnd=I.prototype.setEnd,I.prototype.reset=function(){this.a=this.h},I.prototype.reset=I.prototype.reset,I.prototype.B=function(){return this.a},I.prototype.getCursor=I.prototype.B,I.prototype.Ma=function(r){this.a=r},I.prototype.setCursor=I.prototype.Ma,I.prototype.advance=function(r){this.a+=r,C(this.a<=this.c)},I.prototype.advance=I.prototype.advance,I.prototype.ya=function(){return this.a==this.c},I.prototype.atEnd=I.prototype.ya,I.prototype.Qb=function(){return this.a>this.c},I.prototype.pastEnd=I.prototype.Qb,I.prototype.getError=function(){return this.v||0>this.a||this.a>this.c},I.prototype.getError=I.prototype.getError,I.prototype.w=function(r){for(var o=128,a=0,p=0,b=0;4>b&&128<=o;b++)o=this.b[this.a++],a|=(o&127)<<7*b;if(128<=o&&(o=this.b[this.a++],a|=(o&127)<<28,p|=(o&127)>>4),128<=o)for(b=0;5>b&&128<=o;b++)o=this.b[this.a++],p|=(o&127)<<7*b+3;if(128>o)return r(a>>>0,p>>>0);K("Failed to read varint, encoding is invalid."),this.v=!0},I.prototype.readSplitVarint64=I.prototype.w,I.prototype.ea=function(r){return this.w(function(o,a){return Ze(o,a,r)})},I.prototype.readSplitZigzagVarint64=I.prototype.ea,I.prototype.ta=function(r){var o=this.b,a=this.a;this.a+=8;for(var p=0,b=0,P=a+7;P>=a;P--)p=p<<8|o[P],b=b<<8|o[P+4];return r(p,b)},I.prototype.readSplitFixed64=I.prototype.ta,I.prototype.kb=function(){for(;this.b[this.a]&128;)this.a++;this.a++},I.prototype.skipVarint=I.prototype.kb,I.prototype.mb=function(r){for(;128<r;)this.a--,r>>>=7;this.a--},I.prototype.unskipVarint=I.prototype.mb,I.prototype.o=function(){var r=this.b,o=r[this.a],a=o&127;return 128>o?(this.a+=1,C(this.a<=this.c),a):(o=r[this.a+1],a|=(o&127)<<7,128>o?(this.a+=2,C(this.a<=this.c),a):(o=r[this.a+2],a|=(o&127)<<14,128>o?(this.a+=3,C(this.a<=this.c),a):(o=r[this.a+3],a|=(o&127)<<21,128>o?(this.a+=4,C(this.a<=this.c),a):(o=r[this.a+4],a|=(o&15)<<28,128>o?(this.a+=5,C(this.a<=this.c),a>>>0):(this.a+=5,128<=r[this.a++]&&128<=r[this.a++]&&128<=r[this.a++]&&128<=r[this.a++]&&128<=r[this.a++]&&C(!1),C(this.a<=this.c),a)))))},I.prototype.readUnsignedVarint32=I.prototype.o,I.prototype.da=function(){return~~this.o()},I.prototype.readSignedVarint32=I.prototype.da,I.prototype.O=function(){return this.o().toString()},I.prototype.Ea=function(){return this.da().toString()},I.prototype.readSignedVarint32String=I.prototype.Ea,I.prototype.Ia=function(){var r=this.o();return r>>>1^-(r&1)},I.prototype.readZigzagVarint32=I.prototype.Ia,I.prototype.Ga=function(){return this.w(Fe)},I.prototype.readUnsignedVarint64=I.prototype.Ga,I.prototype.Ha=function(){return this.w(We)},I.prototype.readUnsignedVarint64String=I.prototype.Ha,I.prototype.sa=function(){return this.w(De)},I.prototype.readSignedVarint64=I.prototype.sa,I.prototype.Fa=function(){return this.w(Ae)},I.prototype.readSignedVarint64String=I.prototype.Fa,I.prototype.Ja=function(){return this.w($e)},I.prototype.readZigzagVarint64=I.prototype.Ja,I.prototype.fb=function(){return this.ea(Je)},I.prototype.readZigzagVarintHash64=I.prototype.fb,I.prototype.Ka=function(){return this.ea(Ae)},I.prototype.readZigzagVarint64String=I.prototype.Ka,I.prototype.Gc=function(){var r=this.b[this.a];return this.a+=1,C(this.a<=this.c),r},I.prototype.readUint8=I.prototype.Gc,I.prototype.Ec=function(){var r=this.b[this.a],o=this.b[this.a+1];return this.a+=2,C(this.a<=this.c),r<<0|o<<8},I.prototype.readUint16=I.prototype.Ec,I.prototype.m=function(){var r=this.b[this.a],o=this.b[this.a+1],a=this.b[this.a+2],p=this.b[this.a+3];return this.a+=4,C(this.a<=this.c),(r<<0|o<<8|a<<16|p<<24)>>>0},I.prototype.readUint32=I.prototype.m,I.prototype.ga=function(){var r=this.m(),o=this.m();return Fe(r,o)},I.prototype.readUint64=I.prototype.ga,I.prototype.ha=function(){var r=this.m(),o=this.m();return We(r,o)},I.prototype.readUint64String=I.prototype.ha,I.prototype.Xb=function(){var r=this.b[this.a];return this.a+=1,C(this.a<=this.c),r<<24>>24},I.prototype.readInt8=I.prototype.Xb,I.prototype.Vb=function(){var r=this.b[this.a],o=this.b[this.a+1];return this.a+=2,C(this.a<=this.c),(r<<0|o<<8)<<16>>16},I.prototype.readInt16=I.prototype.Vb,I.prototype.P=function(){var r=this.b[this.a],o=this.b[this.a+1],a=this.b[this.a+2],p=this.b[this.a+3];return this.a+=4,C(this.a<=this.c),r<<0|o<<8|a<<16|p<<24},I.prototype.readInt32=I.prototype.P,I.prototype.ba=function(){var r=this.m(),o=this.m();return De(r,o)},I.prototype.readInt64=I.prototype.ba,I.prototype.ca=function(){var r=this.m(),o=this.m();return Ae(r,o)},I.prototype.readInt64String=I.prototype.ca,I.prototype.aa=function(){var r=this.m();return Me(r)},I.prototype.readFloat=I.prototype.aa,I.prototype.Z=function(){var r=this.m(),o=this.m();return Le(r,o)},I.prototype.readDouble=I.prototype.Z,I.prototype.pa=function(){return!!this.b[this.a++]},I.prototype.readBool=I.prototype.pa,I.prototype.ra=function(){return this.da()},I.prototype.readEnum=I.prototype.ra,I.prototype.fa=function(r){var o=this.b,a=this.a;r=a+r;for(var p=[],b="";a<r;){var P=o[a++];if(128>P)p.push(P);else{if(192>P)continue;if(224>P){var _=o[a++];p.push((P&31)<<6|_&63)}else if(240>P){_=o[a++];var rt=o[a++];p.push((P&15)<<12|(_&63)<<6|rt&63)}else if(248>P){_=o[a++],rt=o[a++];var Gt=o[a++];P=(P&7)<<18|(_&63)<<12|(rt&63)<<6|Gt&63,P-=65536,p.push((P>>10&1023)+55296,(P&1023)+56320)}}8192<=p.length&&(b+=String.fromCharCode.apply(null,p),p.length=0)}return b+=gt(p),this.a=a,b},I.prototype.readString=I.prototype.fa,I.prototype.Dc=function(){var r=this.o();return this.fa(r)},I.prototype.readStringWithLength=I.prototype.Dc,I.prototype.qa=function(r){if(0>r||this.a+r>this.b.length)return this.v=!0,K("Invalid byte length!"),new Uint8Array(0);var o=this.b.subarray(this.a,this.a+r);return this.a+=r,C(this.a<=this.c),o},I.prototype.readBytes=I.prototype.qa,I.prototype.ia=function(){return this.w(Je)},I.prototype.readVarintHash64=I.prototype.ia,I.prototype.$=function(){var r=this.b,o=this.a,a=r[o],p=r[o+1],b=r[o+2],P=r[o+3],_=r[o+4],rt=r[o+5],Gt=r[o+6];return r=r[o+7],this.a+=8,String.fromCharCode(a,p,b,P,_,rt,Gt,r)},I.prototype.readFixedHash64=I.prototype.$;function v(r,o,a){this.a=br(r,o,a),this.O=this.a.B(),this.b=this.c=-1,this.h=!1,this.v=null}m("jspb.BinaryReader",v,void 0);var q=[];v.clearInstanceCache=function(){q=[]},v.getInstanceCacheLength=function(){return q.length};function ot(r,o,a){if(q.length){var p=q.pop();return r&&p.a.H(r,o,a),p}return new v(r,o,a)}v.alloc=ot,v.prototype.zb=ot,v.prototype.alloc=v.prototype.zb,v.prototype.Ca=function(){this.a.clear(),this.b=this.c=-1,this.h=!1,this.v=null,100>q.length&&q.push(this)},v.prototype.free=v.prototype.Ca,v.prototype.Fb=function(){return this.O},v.prototype.getFieldCursor=v.prototype.Fb,v.prototype.B=function(){return this.a.B()},v.prototype.getCursor=v.prototype.B,v.prototype.Y=function(){return this.a.Y()},v.prototype.getBuffer=v.prototype.Y,v.prototype.Hb=function(){return this.c},v.prototype.getFieldNumber=v.prototype.Hb,v.prototype.Lb=function(){return this.b},v.prototype.getWireType=v.prototype.Lb,v.prototype.Mb=function(){return this.b==2},v.prototype.isDelimited=v.prototype.Mb,v.prototype.bb=function(){return this.b==4},v.prototype.isEndGroup=v.prototype.bb,v.prototype.getError=function(){return this.h||this.a.getError()},v.prototype.getError=v.prototype.getError,v.prototype.H=function(r,o,a){this.a.H(r,o,a),this.b=this.c=-1},v.prototype.setBlock=v.prototype.H,v.prototype.reset=function(){this.a.reset(),this.b=this.c=-1},v.prototype.reset=v.prototype.reset,v.prototype.advance=function(r){this.a.advance(r)},v.prototype.advance=v.prototype.advance,v.prototype.oa=function(){if(this.a.ya())return!1;if(this.getError())return K("Decoder hit an error"),!1;this.O=this.a.B();var r=this.a.o(),o=r>>>3;return r&=7,r!=0&&r!=5&&r!=1&&r!=2&&r!=3&&r!=4?(K("Invalid wire type: %s (at position %s)",r,this.O),this.h=!0,!1):(this.c=o,this.b=r,!0)},v.prototype.nextField=v.prototype.oa,v.prototype.Oa=function(){this.a.mb(this.c<<3|this.b)},v.prototype.unskipHeader=v.prototype.Oa,v.prototype.Lc=function(){var r=this.c;for(this.Oa();this.oa()&&this.c==r;)this.C();this.a.ya()||this.Oa()},v.prototype.skipMatchingFields=v.prototype.Lc,v.prototype.lb=function(){this.b!=0?(K("Invalid wire type for skipVarintField"),this.C()):this.a.kb()},v.prototype.skipVarintField=v.prototype.lb,v.prototype.gb=function(){if(this.b!=2)K("Invalid wire type for skipDelimitedField"),this.C();else{var r=this.a.o();this.a.advance(r)}},v.prototype.skipDelimitedField=v.prototype.gb,v.prototype.hb=function(){this.b!=5?(K("Invalid wire type for skipFixed32Field"),this.C()):this.a.advance(4)},v.prototype.skipFixed32Field=v.prototype.hb,v.prototype.ib=function(){this.b!=1?(K("Invalid wire type for skipFixed64Field"),this.C()):this.a.advance(8)},v.prototype.skipFixed64Field=v.prototype.ib,v.prototype.jb=function(){var r=this.c;do{if(!this.oa()){K("Unmatched start-group tag: stream EOF"),this.h=!0;break}if(this.b==4){this.c!=r&&(K("Unmatched end-group tag"),this.h=!0);break}this.C()}while(1)},v.prototype.skipGroup=v.prototype.jb,v.prototype.C=function(){switch(this.b){case 0:this.lb();break;case 1:this.ib();break;case 2:this.gb();break;case 5:this.hb();break;case 3:this.jb();break;default:K("Invalid wire encoding for field.")}},v.prototype.skipField=v.prototype.C,v.prototype.Hc=function(r,o){this.v===null&&(this.v={}),C(!this.v[r]),this.v[r]=o},v.prototype.registerReadCallback=v.prototype.Hc,v.prototype.Ic=function(r){return C(this.v!==null),r=this.v[r],C(r),r(this)},v.prototype.runReadCallback=v.prototype.Ic,v.prototype.Yb=function(r,o){C(this.b==2);var a=this.a.c,p=this.a.o();p=this.a.B()+p,this.a.setEnd(p),o(r,this),this.a.Ma(p),this.a.setEnd(a)},v.prototype.readMessage=v.prototype.Yb,v.prototype.Ub=function(r,o,a){C(this.b==3),C(this.c==r),a(o,this),this.h||this.b==4||(K("Group submessage did not end with an END_GROUP tag"),this.h=!0)},v.prototype.readGroup=v.prototype.Ub,v.prototype.Gb=function(){C(this.b==2);var r=this.a.o(),o=this.a.B(),a=o+r;return r=br(this.a.Y(),o,r),this.a.Ma(a),r},v.prototype.getFieldDecoder=v.prototype.Gb,v.prototype.P=function(){return C(this.b==0),this.a.da()},v.prototype.readInt32=v.prototype.P,v.prototype.Wb=function(){return C(this.b==0),this.a.Ea()},v.prototype.readInt32String=v.prototype.Wb,v.prototype.ba=function(){return C(this.b==0),this.a.sa()},v.prototype.readInt64=v.prototype.ba,v.prototype.ca=function(){return C(this.b==0),this.a.Fa()},v.prototype.readInt64String=v.prototype.ca,v.prototype.m=function(){return C(this.b==0),this.a.o()},v.prototype.readUint32=v.prototype.m,v.prototype.Fc=function(){return C(this.b==0),this.a.O()},v.prototype.readUint32String=v.prototype.Fc,v.prototype.ga=function(){return C(this.b==0),this.a.Ga()},v.prototype.readUint64=v.prototype.ga,v.prototype.ha=function(){return C(this.b==0),this.a.Ha()},v.prototype.readUint64String=v.prototype.ha,v.prototype.zc=function(){return C(this.b==0),this.a.Ia()},v.prototype.readSint32=v.prototype.zc,v.prototype.Ac=function(){return C(this.b==0),this.a.Ja()},v.prototype.readSint64=v.prototype.Ac,v.prototype.Bc=function(){return C(this.b==0),this.a.Ka()},v.prototype.readSint64String=v.prototype.Bc,v.prototype.Rb=function(){return C(this.b==5),this.a.m()},v.prototype.readFixed32=v.prototype.Rb,v.prototype.Sb=function(){return C(this.b==1),this.a.ga()},v.prototype.readFixed64=v.prototype.Sb,v.prototype.Tb=function(){return C(this.b==1),this.a.ha()},v.prototype.readFixed64String=v.prototype.Tb,v.prototype.vc=function(){return C(this.b==5),this.a.P()},v.prototype.readSfixed32=v.prototype.vc,v.prototype.wc=function(){return C(this.b==5),this.a.P().toString()},v.prototype.readSfixed32String=v.prototype.wc,v.prototype.xc=function(){return C(this.b==1),this.a.ba()},v.prototype.readSfixed64=v.prototype.xc,v.prototype.yc=function(){return C(this.b==1),this.a.ca()},v.prototype.readSfixed64String=v.prototype.yc,v.prototype.aa=function(){return C(this.b==5),this.a.aa()},v.prototype.readFloat=v.prototype.aa,v.prototype.Z=function(){return C(this.b==1),this.a.Z()},v.prototype.readDouble=v.prototype.Z,v.prototype.pa=function(){return C(this.b==0),!!this.a.o()},v.prototype.readBool=v.prototype.pa,v.prototype.ra=function(){return C(this.b==0),this.a.sa()},v.prototype.readEnum=v.prototype.ra,v.prototype.fa=function(){C(this.b==2);var r=this.a.o();return this.a.fa(r)},v.prototype.readString=v.prototype.fa,v.prototype.qa=function(){C(this.b==2);var r=this.a.o();return this.a.qa(r)},v.prototype.readBytes=v.prototype.qa,v.prototype.ia=function(){return C(this.b==0),this.a.ia()},v.prototype.readVarintHash64=v.prototype.ia,v.prototype.Cc=function(){return C(this.b==0),this.a.fb()},v.prototype.readSintHash64=v.prototype.Cc,v.prototype.w=function(r){return C(this.b==0),this.a.w(r)},v.prototype.readSplitVarint64=v.prototype.w,v.prototype.ea=function(r){return C(this.b==0),this.a.w(function(o,a){return Ze(o,a,r)})},v.prototype.readSplitZigzagVarint64=v.prototype.ea,v.prototype.$=function(){return C(this.b==1),this.a.$()},v.prototype.readFixedHash64=v.prototype.$,v.prototype.ta=function(r){return C(this.b==1),this.a.ta(r)},v.prototype.readSplitFixed64=v.prototype.ta;function et(r,o){C(r.b==2);var a=r.a.o();a=r.a.B()+a;for(var p=[];r.a.B()<a;)p.push(o.call(r.a));return p}v.prototype.gc=function(){return et(this,this.a.da)},v.prototype.readPackedInt32=v.prototype.gc,v.prototype.hc=function(){return et(this,this.a.Ea)},v.prototype.readPackedInt32String=v.prototype.hc,v.prototype.ic=function(){return et(this,this.a.sa)},v.prototype.readPackedInt64=v.prototype.ic,v.prototype.jc=function(){return et(this,this.a.Fa)},v.prototype.readPackedInt64String=v.prototype.jc,v.prototype.qc=function(){return et(this,this.a.o)},v.prototype.readPackedUint32=v.prototype.qc,v.prototype.rc=function(){return et(this,this.a.O)},v.prototype.readPackedUint32String=v.prototype.rc,v.prototype.sc=function(){return et(this,this.a.Ga)},v.prototype.readPackedUint64=v.prototype.sc,v.prototype.tc=function(){return et(this,this.a.Ha)},v.prototype.readPackedUint64String=v.prototype.tc,v.prototype.nc=function(){return et(this,this.a.Ia)},v.prototype.readPackedSint32=v.prototype.nc,v.prototype.oc=function(){return et(this,this.a.Ja)},v.prototype.readPackedSint64=v.prototype.oc,v.prototype.pc=function(){return et(this,this.a.Ka)},v.prototype.readPackedSint64String=v.prototype.pc,v.prototype.bc=function(){return et(this,this.a.m)},v.prototype.readPackedFixed32=v.prototype.bc,v.prototype.cc=function(){return et(this,this.a.ga)},v.prototype.readPackedFixed64=v.prototype.cc,v.prototype.dc=function(){return et(this,this.a.ha)},v.prototype.readPackedFixed64String=v.prototype.dc,v.prototype.kc=function(){return et(this,this.a.P)},v.prototype.readPackedSfixed32=v.prototype.kc,v.prototype.lc=function(){return et(this,this.a.ba)},v.prototype.readPackedSfixed64=v.prototype.lc,v.prototype.mc=function(){return et(this,this.a.ca)},v.prototype.readPackedSfixed64String=v.prototype.mc,v.prototype.fc=function(){return et(this,this.a.aa)},v.prototype.readPackedFloat=v.prototype.fc,v.prototype.$b=function(){return et(this,this.a.Z)},v.prototype.readPackedDouble=v.prototype.$b,v.prototype.Zb=function(){return et(this,this.a.pa)},v.prototype.readPackedBool=v.prototype.Zb,v.prototype.ac=function(){return et(this,this.a.ra)},v.prototype.readPackedEnum=v.prototype.ac,v.prototype.uc=function(){return et(this,this.a.ia)},v.prototype.readPackedVarintHash64=v.prototype.uc,v.prototype.ec=function(){return et(this,this.a.$)},v.prototype.readPackedFixedHash64=v.prototype.ec;function yt(r,o,a,p,b){this.ma=r,this.Ba=o,this.la=a,this.Na=p,this.na=b}m("jspb.ExtensionFieldInfo",yt,void 0);function It(r,o,a,p,b,P){this.Za=r,this.za=o,this.Aa=a,this.Wa=p,this.Ab=b,this.Nb=P}m("jspb.ExtensionFieldBinaryInfo",It,void 0),yt.prototype.F=function(){return!!this.la},yt.prototype.isMessageType=yt.prototype.F;function F(){}m("jspb.Message",F,void 0),F.GENERATE_TO_OBJECT=!0,F.GENERATE_FROM_OBJECT=!0;var oe=typeof Uint8Array=="function";F.prototype.Ib=function(){return this.b},F.prototype.getJsPbMessageId=F.prototype.Ib,F.initialize=function(r,o,a,p,b,P){r.f=null,o||(o=a?[a]:[]),r.b=a?String(a):void 0,r.D=a===0?-1:0,r.u=o;t:{if(a=r.u.length,o=-1,a&&(o=a-1,a=r.u[o],!(a===null||typeof a!="object"||Array.isArray(a)||oe&&a instanceof Uint8Array))){r.G=o-r.D,r.i=a;break t}-1<p?(r.G=Math.max(p,o+1-r.D),r.i=null):r.G=Number.MAX_VALUE}if(r.a={},b)for(p=0;p<b.length;p++)o=b[p],o<r.G?(o+=r.D,r.u[o]=r.u[o]||Oe):(fe(r),r.i[o]=r.i[o]||Oe);if(P&&P.length)for(p=0;p<P.length;p++)ms(r,P[p])};var Oe=Object.freeze?Object.freeze([]):[];function fe(r){var o=r.G+r.D;r.u[o]||(r.i=r.u[o]={})}function tn(r,o,a){for(var p=[],b=0;b<r.length;b++)p[b]=o.call(r[b],a,r[b]);return p}F.toObjectList=tn,F.toObjectExtension=function(r,o,a,p,b){for(var P in a){var _=a[P],rt=p.call(r,_);if(rt!=null){for(var Gt in _.Ba)if(_.Ba.hasOwnProperty(Gt))break;o[Gt]=_.Na?_.na?tn(rt,_.Na,b):_.Na(b,rt):rt}}},F.serializeBinaryExtensions=function(r,o,a,p){for(var b in a){var P=a[b],_=P.Za;if(!P.Aa)throw Error("Message extension present that was generated without binary serialization support");var rt=p.call(r,_);if(rt!=null)if(_.F())if(P.Wa)P.Aa.call(o,_.ma,rt,P.Wa);else throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");else P.Aa.call(o,_.ma,rt)}},F.readBinaryExtension=function(r,o,a,p,b){var P=a[o.c];if(P){if(a=P.Za,!P.za)throw Error("Deserializing extension whose generated code does not support binary format");if(a.F()){var _=new a.la;P.za.call(o,_,P.Ab)}else _=P.za.call(o);a.na&&!P.Nb?(o=p.call(r,a))?o.push(_):b.call(r,a,[_]):b.call(r,a,_)}else o.C()};function he(r,o){if(o<r.G){o+=r.D;var a=r.u[o];return a===Oe?r.u[o]=[]:a}if(r.i)return a=r.i[o],a===Oe?r.i[o]=[]:a}F.getField=he,F.getRepeatedField=function(r,o){return he(r,o)};function Mc(r,o){return r=he(r,o),r==null?r:+r}F.getOptionalFloatingPointField=Mc;function Ac(r,o){return r=he(r,o),r==null?r:!!r}F.getBooleanField=Ac,F.getRepeatedFloatingPointField=function(r,o){var a=he(r,o);if(r.a||(r.a={}),!r.a[o]){for(var p=0;p<a.length;p++)a[p]=+a[p];r.a[o]=!0}return a},F.getRepeatedBooleanField=function(r,o){var a=he(r,o);if(r.a||(r.a={}),!r.a[o]){for(var p=0;p<a.length;p++)a[p]=!!a[p];r.a[o]=!0}return a};function Pc(r){return r==null||typeof r=="string"?r:oe&&r instanceof Uint8Array?_e(r):(K("Cannot coerce to b64 string: "+M(r)),null)}F.bytesAsB64=Pc;function Oc(r){return r==null||r instanceof Uint8Array?r:typeof r=="string"?Ht(r):(K("Cannot coerce to Uint8Array: "+M(r)),null)}F.bytesAsU8=Oc,F.bytesListAsB64=function(r){return Ic(r),r.length&&typeof r[0]!="string"?D(r,Pc):r},F.bytesListAsU8=function(r){return Ic(r),!r.length||r[0]instanceof Uint8Array?r:D(r,Oc)};function Ic(r){if(r&&1<r.length){var o=M(r[0]);z(r,function(a){M(a)!=o&&K("Inconsistent type in JSPB repeated field array. Got "+M(a)+" expected "+o)})}}function Bc(r,o,a){return r=he(r,o),r??a}F.getFieldWithDefault=Bc,F.getBooleanFieldWithDefault=function(r,o,a){return r=Ac(r,o),r??a},F.getFloatingPointFieldWithDefault=function(r,o,a){return r=Mc(r,o),r??a},F.getFieldProto3=Bc,F.getMapField=function(r,o,a,p){if(r.f||(r.f={}),o in r.f)return r.f[o];var b=he(r,o);if(!b){if(a)return;b=[],tr(r,o,b)}return r.f[o]=new N(b,p)};function tr(r,o,a){return Y(r,F),o<r.G?r.u[o+r.D]=a:(fe(r),r.i[o]=a),r}F.setField=tr,F.setProto3IntField=function(r,o,a){return vr(r,o,a,0)},F.setProto3FloatField=function(r,o,a){return vr(r,o,a,0)},F.setProto3BooleanField=function(r,o,a){return vr(r,o,a,!1)},F.setProto3StringField=function(r,o,a){return vr(r,o,a,"")},F.setProto3BytesField=function(r,o,a){return vr(r,o,a,"")},F.setProto3EnumField=function(r,o,a){return vr(r,o,a,0)},F.setProto3StringIntField=function(r,o,a){return vr(r,o,a,"0")};function vr(r,o,a,p){return Y(r,F),a!==p?tr(r,o,a):o<r.G?r.u[o+r.D]=null:(fe(r),delete r.i[o]),r}F.addToRepeatedField=function(r,o,a,p){return Y(r,F),o=he(r,o),p!=null?o.splice(p,0,a):o.push(a),r};function zc(r,o,a,p){return Y(r,F),(a=ms(r,a))&&a!==o&&p!==void 0&&(r.f&&a in r.f&&(r.f[a]=void 0),tr(r,a,void 0)),tr(r,o,p)}F.setOneofField=zc;function ms(r,o){for(var a,p,b=0;b<o.length;b++){var P=o[b],_=he(r,P);_!=null&&(a=P,p=_,tr(r,P,void 0))}return a?(tr(r,a,p),a):0}F.computeOneofCase=ms,F.getWrapperField=function(r,o,a,p){if(r.f||(r.f={}),!r.f[a]){var b=he(r,a);(p||b)&&(r.f[a]=new o(b))}return r.f[a]},F.getRepeatedWrapperField=function(r,o,a){return Nc(r,o,a),o=r.f[a],o==Oe&&(o=r.f[a]=[]),o};function Nc(r,o,a){if(r.f||(r.f={}),!r.f[a]){for(var p=he(r,a),b=[],P=0;P<p.length;P++)b[P]=new o(p[P]);r.f[a]=b}}F.setWrapperField=function(r,o,a){Y(r,F),r.f||(r.f={});var p=a&&a.g();return r.f[o]=a,tr(r,o,p)},F.setOneofWrapperField=function(r,o,a,p){Y(r,F),r.f||(r.f={});var b=p&&p.g();return r.f[o]=p,zc(r,o,a,b)},F.setRepeatedWrapperField=function(r,o,a){Y(r,F),r.f||(r.f={}),a=a||[];for(var p=[],b=0;b<a.length;b++)p[b]=a[b].g();return r.f[o]=a,tr(r,o,p)},F.addToRepeatedWrapperField=function(r,o,a,p,b){Nc(r,p,o);var P=r.f[o];return P||(P=r.f[o]=[]),a=a||new p,r=he(r,o),b!=null?(P.splice(b,0,a),r.splice(b,0,a.g())):(P.push(a),r.push(a.g())),a},F.toMap=function(r,o,a,p){for(var b={},P=0;P<r.length;P++)b[o.call(r[P])]=a?a.call(r[P],p,r[P]):r[P];return b};function _c(r){if(r.f)for(var o in r.f){var a=r.f[o];if(Array.isArray(a))for(var p=0;p<a.length;p++)a[p]&&a[p].g();else a&&a.g()}}F.prototype.g=function(){return _c(this),this.u},F.prototype.toArray=F.prototype.g,F.prototype.toString=function(){return _c(this),this.u.toString()},F.prototype.getExtension=function(r){if(this.i){this.f||(this.f={});var o=r.ma;if(r.na){if(r.F())return this.f[o]||(this.f[o]=D(this.i[o]||[],function(a){return new r.la(a)})),this.f[o]}else if(r.F())return!this.f[o]&&this.i[o]&&(this.f[o]=new r.la(this.i[o])),this.f[o];return this.i[o]}},F.prototype.getExtension=F.prototype.getExtension,F.prototype.Kc=function(r,o){this.f||(this.f={}),fe(this);var a=r.ma;return r.na?(o=o||[],r.F()?(this.f[a]=o,this.i[a]=D(o,function(p){return p.g()})):this.i[a]=o):r.F()?(this.f[a]=o,this.i[a]=o&&o.g()):this.i[a]=o,this},F.prototype.setExtension=F.prototype.Kc,F.difference=function(r,o){if(!(r instanceof o.constructor))throw Error("Messages have different types.");var a=r.g();o=o.g();var p=[],b=0,P=a.length>o.length?a.length:o.length;for(r.b&&(p[0]=r.b,b=1);b<P;b++)In(a[b],o[b])||(p[b]=o[b]);return new r.constructor(p)},F.equals=function(r,o){return r==o||!(!r||!o)&&r instanceof o.constructor&&In(r.g(),o.g())};function bs(r,o){r=r||{},o=o||{};var a={},p;for(p in r)a[p]=0;for(p in o)a[p]=0;for(p in a)if(!In(r[p],o[p]))return!1;return!0}F.compareExtensions=bs;function In(r,o){if(r==o)return!0;if(!R(r)||!R(o))return typeof r=="number"&&isNaN(r)||typeof o=="number"&&isNaN(o)?String(r)==String(o):!1;if(r.constructor!=o.constructor)return!1;if(oe&&r.constructor===Uint8Array){if(r.length!=o.length)return!1;for(var a=0;a<r.length;a++)if(r[a]!=o[a])return!1;return!0}if(r.constructor===Array){var p=void 0,b=void 0,P=Math.max(r.length,o.length);for(a=0;a<P;a++){var _=r[a],rt=o[a];if(_&&_.constructor==Object&&(C(p===void 0),C(a===r.length-1),p=_,_=void 0),rt&&rt.constructor==Object&&(C(b===void 0),C(a===o.length-1),b=rt,rt=void 0),!In(_,rt))return!1}return p||b?(p=p||{},b=b||{},bs(p,b)):!0}if(r.constructor===Object)return bs(r,o);throw Error("Invalid type in JSPB array")}F.compareFields=In,F.prototype.Bb=function(){return Vo(this)},F.prototype.cloneMessage=F.prototype.Bb,F.prototype.clone=function(){return Vo(this)},F.prototype.clone=F.prototype.clone,F.clone=function(r){return Vo(r)};function Vo(r){return new r.constructor(vs(r.g()))}F.copyInto=function(r,o){Y(r,F),Y(o,F),C(r.constructor==o.constructor,"Copy source and target message should have the same type."),r=Vo(r);for(var a=o.g(),p=r.g(),b=a.length=0;b<p.length;b++)a[b]=p[b];o.f=r.f,o.i=r.i};function vs(r){if(Array.isArray(r)){for(var o=Array(r.length),a=0;a<r.length;a++){var p=r[a];p!=null&&(o[a]=typeof p=="object"?vs(C(p)):p)}return o}if(oe&&r instanceof Uint8Array)return new Uint8Array(r);o={};for(a in r)p=r[a],p!=null&&(o[a]=typeof p=="object"?vs(C(p)):p);return o}F.registerMessageType=function(r,o){o.we=r};var Ie={dump:function(r){return Y(r,F,"jspb.Message instance expected"),C(r.getExtension,"Only unobfuscated and unoptimized compilation modes supported."),Ie.X(r)}};m("jspb.debug.dump",Ie.dump,void 0),Ie.X=function(r){var o=M(r);if(o=="number"||o=="string"||o=="boolean"||o=="null"||o=="undefined"||typeof Uint8Array<"u"&&r instanceof Uint8Array)return r;if(o=="array")return pt(r),D(r,Ie.X);if(r instanceof N){var a={};r=r.entries();for(var p=r.next();!p.done;p=r.next())a[p.value[0]]=Ie.X(p.value[1]);return a}Y(r,F,"Only messages expected: "+r),o=r.constructor;var b={$name:o.name||o.displayName};for(rt in o.prototype){var P=/^get([A-Z]\w*)/.exec(rt);if(P&&rt!="getExtension"&&rt!="getJsPbMessageId"){var _="has"+P[1];(!r[_]||r[_]())&&(_=r[rt](),b[Ie.$a(P[1])]=Ie.X(_))}}if(r.extensionObject_)return b.$extensions="Recursive dumping of extensions not supported in compiled code. Switch to uncompiled or dump extension object directly",b;for(p in o.extensions)if(/^\d+$/.test(p)){_=o.extensions[p];var rt=r.getExtension(_);P=void 0,_=_.Ba;var Gt=[],xr=0;for(P in _)Gt[xr++]=P;P=Gt[0],rt!=null&&(a||(a=b.$extensions={}),a[Ie.$a(P)]=Ie.X(rt))}return b},Ie.$a=function(r){return r.replace(/^[A-Z]/,function(o){return o.toLowerCase()})};function W(){this.a=[]}m("jspb.BinaryEncoder",W,void 0),W.prototype.length=function(){return this.a.length},W.prototype.length=W.prototype.length,W.prototype.end=function(){var r=this.a;return this.a=[],r},W.prototype.end=W.prototype.end,W.prototype.l=function(r,o){for(C(r==Math.floor(r)),C(o==Math.floor(o)),C(0<=r&&4294967296>r),C(0<=o&&4294967296>o);0<o||127<r;)this.a.push(r&127|128),r=(r>>>7|o<<25)>>>0,o>>>=7;this.a.push(r)},W.prototype.writeSplitVarint64=W.prototype.l,W.prototype.A=function(r,o){C(r==Math.floor(r)),C(o==Math.floor(o)),C(0<=r&&4294967296>r),C(0<=o&&4294967296>o),this.s(r),this.s(o)},W.prototype.writeSplitFixed64=W.prototype.A,W.prototype.j=function(r){for(C(r==Math.floor(r)),C(0<=r&&4294967296>r);127<r;)this.a.push(r&127|128),r>>>=7;this.a.push(r)},W.prototype.writeUnsignedVarint32=W.prototype.j,W.prototype.M=function(r){if(C(r==Math.floor(r)),C(-2147483648<=r&&2147483648>r),0<=r)this.j(r);else{for(var o=0;9>o;o++)this.a.push(r&127|128),r>>=7;this.a.push(1)}},W.prototype.writeSignedVarint32=W.prototype.M,W.prototype.va=function(r){C(r==Math.floor(r)),C(0<=r&&18446744073709552e3>r),V(r),this.l(G,u)},W.prototype.writeUnsignedVarint64=W.prototype.va,W.prototype.ua=function(r){C(r==Math.floor(r)),C(-9223372036854776e3<=r&&9223372036854776e3>r),V(r),this.l(G,u)},W.prototype.writeSignedVarint64=W.prototype.ua,W.prototype.wa=function(r){C(r==Math.floor(r)),C(-2147483648<=r&&2147483648>r),this.j((r<<1^r>>31)>>>0)},W.prototype.writeZigzagVarint32=W.prototype.wa,W.prototype.xa=function(r){C(r==Math.floor(r)),C(-9223372036854776e3<=r&&9223372036854776e3>r),Xe(r),this.l(G,u)},W.prototype.writeZigzagVarint64=W.prototype.xa,W.prototype.Ta=function(r){this.W(Qe(r))},W.prototype.writeZigzagVarint64String=W.prototype.Ta,W.prototype.W=function(r){var o=this;de(r),re(G,u,function(a,p){o.l(a>>>0,p>>>0)})},W.prototype.writeZigzagVarintHash64=W.prototype.W,W.prototype.be=function(r){C(r==Math.floor(r)),C(0<=r&&256>r),this.a.push(r>>>0&255)},W.prototype.writeUint8=W.prototype.be,W.prototype.ae=function(r){C(r==Math.floor(r)),C(0<=r&&65536>r),this.a.push(r>>>0&255),this.a.push(r>>>8&255)},W.prototype.writeUint16=W.prototype.ae,W.prototype.s=function(r){C(r==Math.floor(r)),C(0<=r&&4294967296>r),this.a.push(r>>>0&255),this.a.push(r>>>8&255),this.a.push(r>>>16&255),this.a.push(r>>>24&255)},W.prototype.writeUint32=W.prototype.s,W.prototype.V=function(r){C(r==Math.floor(r)),C(0<=r&&18446744073709552e3>r),w(r),this.s(G),this.s(u)},W.prototype.writeUint64=W.prototype.V,W.prototype.Qc=function(r){C(r==Math.floor(r)),C(-128<=r&&128>r),this.a.push(r>>>0&255)},W.prototype.writeInt8=W.prototype.Qc,W.prototype.Pc=function(r){C(r==Math.floor(r)),C(-32768<=r&&32768>r),this.a.push(r>>>0&255),this.a.push(r>>>8&255)},W.prototype.writeInt16=W.prototype.Pc,W.prototype.S=function(r){C(r==Math.floor(r)),C(-2147483648<=r&&2147483648>r),this.a.push(r>>>0&255),this.a.push(r>>>8&255),this.a.push(r>>>16&255),this.a.push(r>>>24&255)},W.prototype.writeInt32=W.prototype.S,W.prototype.T=function(r){C(r==Math.floor(r)),C(-9223372036854776e3<=r&&9223372036854776e3>r),V(r),this.A(G,u)},W.prototype.writeInt64=W.prototype.T,W.prototype.ka=function(r){C(r==Math.floor(r)),C(-9223372036854776e3<=+r&&9223372036854776e3>+r),de(Qe(r)),this.A(G,u)},W.prototype.writeInt64String=W.prototype.ka,W.prototype.L=function(r){C(r===1/0||r===-1/0||isNaN(r)||-34028234663852886e22<=r&&34028234663852886e22>=r),yr(r),this.s(G)},W.prototype.writeFloat=W.prototype.L,W.prototype.J=function(r){C(r===1/0||r===-1/0||isNaN(r)||-17976931348623157e292<=r&&17976931348623157e292>=r),Qr(r),this.s(G),this.s(u)},W.prototype.writeDouble=W.prototype.J,W.prototype.I=function(r){C(typeof r=="boolean"||typeof r=="number"),this.a.push(r?1:0)},W.prototype.writeBool=W.prototype.I,W.prototype.R=function(r){C(r==Math.floor(r)),C(-2147483648<=r&&2147483648>r),this.M(r)},W.prototype.writeEnum=W.prototype.R,W.prototype.ja=function(r){this.a.push.apply(this.a,r)},W.prototype.writeBytes=W.prototype.ja,W.prototype.N=function(r){de(r),this.l(G,u)},W.prototype.writeVarintHash64=W.prototype.N,W.prototype.K=function(r){de(r),this.s(G),this.s(u)},W.prototype.writeFixedHash64=W.prototype.K,W.prototype.U=function(r){var o=this.a.length;at(r);for(var a=0;a<r.length;a++){var p=r.charCodeAt(a);if(128>p)this.a.push(p);else if(2048>p)this.a.push(p>>6|192),this.a.push(p&63|128);else if(65536>p)if(55296<=p&&56319>=p&&a+1<r.length){var b=r.charCodeAt(a+1);56320<=b&&57343>=b&&(p=1024*(p-55296)+b-56320+65536,this.a.push(p>>18|240),this.a.push(p>>12&63|128),this.a.push(p>>6&63|128),this.a.push(p&63|128),a++)}else this.a.push(p>>12|224),this.a.push(p>>6&63|128),this.a.push(p&63|128)}return this.a.length-o},W.prototype.writeString=W.prototype.U;function tt(r,o){this.lo=r,this.hi=o}m("jspb.arith.UInt64",tt,void 0),tt.prototype.cmp=function(r){return this.hi<r.hi||this.hi==r.hi&&this.lo<r.lo?-1:this.hi==r.hi&&this.lo==r.lo?0:1},tt.prototype.cmp=tt.prototype.cmp,tt.prototype.La=function(){return new tt((this.lo>>>1|(this.hi&1)<<31)>>>0,this.hi>>>1>>>0)},tt.prototype.rightShift=tt.prototype.La,tt.prototype.Da=function(){return new tt(this.lo<<1>>>0,(this.hi<<1|this.lo>>>31)>>>0)},tt.prototype.leftShift=tt.prototype.Da,tt.prototype.cb=function(){return!!(this.hi&2147483648)},tt.prototype.msb=tt.prototype.cb,tt.prototype.Ob=function(){return!!(this.lo&1)},tt.prototype.lsb=tt.prototype.Ob,tt.prototype.Ua=function(){return this.lo==0&&this.hi==0},tt.prototype.zero=tt.prototype.Ua,tt.prototype.add=function(r){return new tt((this.lo+r.lo&4294967295)>>>0>>>0,((this.hi+r.hi&4294967295)>>>0)+(4294967296<=this.lo+r.lo?1:0)>>>0)},tt.prototype.add=tt.prototype.add,tt.prototype.sub=function(r){return new tt((this.lo-r.lo&4294967295)>>>0>>>0,((this.hi-r.hi&4294967295)>>>0)-(0>this.lo-r.lo?1:0)>>>0)},tt.prototype.sub=tt.prototype.sub;function xs(r,o){var a=r&65535;r>>>=16;var p=o&65535,b=o>>>16;for(o=a*p+65536*(a*b&65535)+65536*(r*p&65535),a=r*b+(a*b>>>16)+(r*p>>>16);4294967296<=o;)o-=4294967296,a+=1;return new tt(o>>>0,a>>>0)}tt.mul32x32=xs,tt.prototype.eb=function(r){var o=xs(this.lo,r);return r=xs(this.hi,r),r.hi=r.lo,r.lo=0,o.add(r)},tt.prototype.mul=tt.prototype.eb,tt.prototype.Xa=function(r){if(r==0)return[];var o=new tt(0,0),a=new tt(this.lo,this.hi);r=new tt(r,0);for(var p=new tt(1,0);!r.cb();)r=r.Da(),p=p.Da();for(;!p.Ua();)0>=r.cmp(a)&&(o=o.add(p),a=a.sub(r)),r=r.La(),p=p.La();return[o,a]},tt.prototype.div=tt.prototype.Xa,tt.prototype.toString=function(){for(var r="",o=this;!o.Ua();){o=o.Xa(10);var a=o[0];r=o[1].lo+r,o=a}return r==""&&(r="0"),r},tt.prototype.toString=tt.prototype.toString;function en(r){for(var o=new tt(0,0),a=new tt(0,0),p=0;p<r.length;p++){if("0">r[p]||"9"<r[p])return null;a.lo=parseInt(r[p],10),o=o.eb(10).add(a)}return o}tt.fromString=en,tt.prototype.clone=function(){return new tt(this.lo,this.hi)},tt.prototype.clone=tt.prototype.clone;function Qt(r,o){this.lo=r,this.hi=o}m("jspb.arith.Int64",Qt,void 0),Qt.prototype.add=function(r){return new Qt((this.lo+r.lo&4294967295)>>>0>>>0,((this.hi+r.hi&4294967295)>>>0)+(4294967296<=this.lo+r.lo?1:0)>>>0)},Qt.prototype.add=Qt.prototype.add,Qt.prototype.sub=function(r){return new Qt((this.lo-r.lo&4294967295)>>>0>>>0,((this.hi-r.hi&4294967295)>>>0)-(0>this.lo-r.lo?1:0)>>>0)},Qt.prototype.sub=Qt.prototype.sub,Qt.prototype.clone=function(){return new Qt(this.lo,this.hi)},Qt.prototype.clone=Qt.prototype.clone,Qt.prototype.toString=function(){var r=(this.hi&2147483648)!=0,o=new tt(this.lo,this.hi);return r&&(o=new tt(0,0).sub(o)),(r?"-":"")+o.toString()},Qt.prototype.toString=Qt.prototype.toString;function Ho(r){var o=0<r.length&&r[0]=="-";return o&&(r=r.substring(1)),r=en(r),r===null?null:(o&&(r=new tt(0,0).sub(r)),new Qt(r.lo,r.hi))}Qt.fromString=Ho;function y(){this.c=[],this.b=0,this.a=new W,this.h=[]}m("jspb.BinaryWriter",y,void 0);function Fc(r,o){var a=r.a.end();r.c.push(a),r.c.push(o),r.b+=a.length+o.length}function Ft(r,o){return it(r,o,2),o=r.a.end(),r.c.push(o),r.b+=o.length,o.push(r.b),o}function Dt(r,o){var a=o.pop();for(a=r.b+r.a.length()-a,C(0<=a);127<a;)o.push(a&127|128),a>>>=7,r.b++;o.push(a),r.b++}y.prototype.pb=function(r,o,a){Fc(this,r.subarray(o,a))},y.prototype.writeSerializedMessage=y.prototype.pb,y.prototype.Pb=function(r,o,a){r!=null&&o!=null&&a!=null&&this.pb(r,o,a)},y.prototype.maybeWriteSerializedMessage=y.prototype.Pb,y.prototype.reset=function(){this.c=[],this.a.end(),this.b=0,this.h=[]},y.prototype.reset=y.prototype.reset,y.prototype.ab=function(){C(this.h.length==0);for(var r=new Uint8Array(this.b+this.a.length()),o=this.c,a=o.length,p=0,b=0;b<a;b++){var P=o[b];r.set(P,p),p+=P.length}return o=this.a.end(),r.set(o,p),p+=o.length,C(p==r.length),this.c=[r],r},y.prototype.getResultBuffer=y.prototype.ab,y.prototype.Kb=function(r){return _e(this.ab(),r)},y.prototype.getResultBase64String=y.prototype.Kb,y.prototype.Va=function(r){this.h.push(Ft(this,r))},y.prototype.beginSubMessage=y.prototype.Va,y.prototype.Ya=function(){C(0<=this.h.length),Dt(this,this.h.pop())},y.prototype.endSubMessage=y.prototype.Ya;function it(r,o,a){C(1<=o&&o==Math.floor(o)),r.a.j(8*o+a)}y.prototype.Nc=function(r,o,a){switch(r){case 1:this.J(o,a);break;case 2:this.L(o,a);break;case 3:this.T(o,a);break;case 4:this.V(o,a);break;case 5:this.S(o,a);break;case 6:this.Qa(o,a);break;case 7:this.Pa(o,a);break;case 8:this.I(o,a);break;case 9:this.U(o,a);break;case 10:K("Group field type not supported in writeAny()");break;case 11:K("Message field type not supported in writeAny()");break;case 12:this.ja(o,a);break;case 13:this.s(o,a);break;case 14:this.R(o,a);break;case 15:this.Ra(o,a);break;case 16:this.Sa(o,a);break;case 17:this.rb(o,a);break;case 18:this.sb(o,a);break;case 30:this.K(o,a);break;case 31:this.N(o,a);break;default:K("Invalid field type in writeAny()")}},y.prototype.writeAny=y.prototype.Nc;function Ss(r,o,a){a!=null&&(it(r,o,0),r.a.j(a))}function ws(r,o,a){a!=null&&(it(r,o,0),r.a.M(a))}y.prototype.S=function(r,o){o!=null&&(C(-2147483648<=o&&2147483648>o),ws(this,r,o))},y.prototype.writeInt32=y.prototype.S,y.prototype.ob=function(r,o){o!=null&&(o=parseInt(o,10),C(-2147483648<=o&&2147483648>o),ws(this,r,o))},y.prototype.writeInt32String=y.prototype.ob,y.prototype.T=function(r,o){o!=null&&(C(-9223372036854776e3<=o&&9223372036854776e3>o),o!=null&&(it(this,r,0),this.a.ua(o)))},y.prototype.writeInt64=y.prototype.T,y.prototype.ka=function(r,o){o!=null&&(o=Ho(o),it(this,r,0),this.a.l(o.lo,o.hi))},y.prototype.writeInt64String=y.prototype.ka,y.prototype.s=function(r,o){o!=null&&(C(0<=o&&4294967296>o),Ss(this,r,o))},y.prototype.writeUint32=y.prototype.s,y.prototype.ub=function(r,o){o!=null&&(o=parseInt(o,10),C(0<=o&&4294967296>o),Ss(this,r,o))},y.prototype.writeUint32String=y.prototype.ub,y.prototype.V=function(r,o){o!=null&&(C(0<=o&&18446744073709552e3>o),o!=null&&(it(this,r,0),this.a.va(o)))},y.prototype.writeUint64=y.prototype.V,y.prototype.vb=function(r,o){o!=null&&(o=en(o),it(this,r,0),this.a.l(o.lo,o.hi))},y.prototype.writeUint64String=y.prototype.vb,y.prototype.rb=function(r,o){o!=null&&(C(-2147483648<=o&&2147483648>o),o!=null&&(it(this,r,0),this.a.wa(o)))},y.prototype.writeSint32=y.prototype.rb,y.prototype.sb=function(r,o){o!=null&&(C(-9223372036854776e3<=o&&9223372036854776e3>o),o!=null&&(it(this,r,0),this.a.xa(o)))},y.prototype.writeSint64=y.prototype.sb,y.prototype.$d=function(r,o){o!=null&&o!=null&&(it(this,r,0),this.a.W(o))},y.prototype.writeSintHash64=y.prototype.$d,y.prototype.Zd=function(r,o){o!=null&&o!=null&&(it(this,r,0),this.a.Ta(o))},y.prototype.writeSint64String=y.prototype.Zd,y.prototype.Pa=function(r,o){o!=null&&(C(0<=o&&4294967296>o),it(this,r,5),this.a.s(o))},y.prototype.writeFixed32=y.prototype.Pa,y.prototype.Qa=function(r,o){o!=null&&(C(0<=o&&18446744073709552e3>o),it(this,r,1),this.a.V(o))},y.prototype.writeFixed64=y.prototype.Qa,y.prototype.nb=function(r,o){o!=null&&(o=en(o),it(this,r,1),this.a.A(o.lo,o.hi))},y.prototype.writeFixed64String=y.prototype.nb,y.prototype.Ra=function(r,o){o!=null&&(C(-2147483648<=o&&2147483648>o),it(this,r,5),this.a.S(o))},y.prototype.writeSfixed32=y.prototype.Ra,y.prototype.Sa=function(r,o){o!=null&&(C(-9223372036854776e3<=o&&9223372036854776e3>o),it(this,r,1),this.a.T(o))},y.prototype.writeSfixed64=y.prototype.Sa,y.prototype.qb=function(r,o){o!=null&&(o=Ho(o),it(this,r,1),this.a.A(o.lo,o.hi))},y.prototype.writeSfixed64String=y.prototype.qb,y.prototype.L=function(r,o){o!=null&&(it(this,r,5),this.a.L(o))},y.prototype.writeFloat=y.prototype.L,y.prototype.J=function(r,o){o!=null&&(it(this,r,1),this.a.J(o))},y.prototype.writeDouble=y.prototype.J,y.prototype.I=function(r,o){o!=null&&(C(typeof o=="boolean"||typeof o=="number"),it(this,r,0),this.a.I(o))},y.prototype.writeBool=y.prototype.I,y.prototype.R=function(r,o){o!=null&&(C(-2147483648<=o&&2147483648>o),it(this,r,0),this.a.M(o))},y.prototype.writeEnum=y.prototype.R,y.prototype.U=function(r,o){o!=null&&(r=Ft(this,r),this.a.U(o),Dt(this,r))},y.prototype.writeString=y.prototype.U,y.prototype.ja=function(r,o){o!=null&&(o=Ve(o),it(this,r,2),this.a.j(o.length),Fc(this,o))},y.prototype.writeBytes=y.prototype.ja,y.prototype.Rc=function(r,o,a){o!=null&&(r=Ft(this,r),a(o,this),Dt(this,r))},y.prototype.writeMessage=y.prototype.Rc,y.prototype.Sc=function(r,o,a){o!=null&&(it(this,1,3),it(this,2,0),this.a.M(r),r=Ft(this,3),a(o,this),Dt(this,r),it(this,1,4))},y.prototype.writeMessageSet=y.prototype.Sc,y.prototype.Oc=function(r,o,a){o!=null&&(it(this,r,3),a(o,this),it(this,r,4))},y.prototype.writeGroup=y.prototype.Oc,y.prototype.K=function(r,o){o!=null&&(C(o.length==8),it(this,r,1),this.a.K(o))},y.prototype.writeFixedHash64=y.prototype.K,y.prototype.N=function(r,o){o!=null&&(C(o.length==8),it(this,r,0),this.a.N(o))},y.prototype.writeVarintHash64=y.prototype.N,y.prototype.A=function(r,o,a){it(this,r,1),this.a.A(o,a)},y.prototype.writeSplitFixed64=y.prototype.A,y.prototype.l=function(r,o,a){it(this,r,0),this.a.l(o,a)},y.prototype.writeSplitVarint64=y.prototype.l,y.prototype.tb=function(r,o,a){it(this,r,0);var p=this.a;re(o,a,function(b,P){p.l(b>>>0,P>>>0)})},y.prototype.writeSplitZigzagVarint64=y.prototype.tb,y.prototype.Ed=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)ws(this,r,o[a])},y.prototype.writeRepeatedInt32=y.prototype.Ed,y.prototype.Fd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.ob(r,o[a])},y.prototype.writeRepeatedInt32String=y.prototype.Fd,y.prototype.Gd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++){var p=o[a];p!=null&&(it(this,r,0),this.a.ua(p))}},y.prototype.writeRepeatedInt64=y.prototype.Gd,y.prototype.Qd=function(r,o,a,p){if(o!=null)for(var b=0;b<o.length;b++)this.A(r,a(o[b]),p(o[b]))},y.prototype.writeRepeatedSplitFixed64=y.prototype.Qd,y.prototype.Rd=function(r,o,a,p){if(o!=null)for(var b=0;b<o.length;b++)this.l(r,a(o[b]),p(o[b]))},y.prototype.writeRepeatedSplitVarint64=y.prototype.Rd,y.prototype.Sd=function(r,o,a,p){if(o!=null)for(var b=0;b<o.length;b++)this.tb(r,a(o[b]),p(o[b]))},y.prototype.writeRepeatedSplitZigzagVarint64=y.prototype.Sd,y.prototype.Hd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.ka(r,o[a])},y.prototype.writeRepeatedInt64String=y.prototype.Hd,y.prototype.Ud=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)Ss(this,r,o[a])},y.prototype.writeRepeatedUint32=y.prototype.Ud,y.prototype.Vd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.ub(r,o[a])},y.prototype.writeRepeatedUint32String=y.prototype.Vd,y.prototype.Wd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++){var p=o[a];p!=null&&(it(this,r,0),this.a.va(p))}},y.prototype.writeRepeatedUint64=y.prototype.Wd,y.prototype.Xd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.vb(r,o[a])},y.prototype.writeRepeatedUint64String=y.prototype.Xd,y.prototype.Md=function(r,o){if(o!=null)for(var a=0;a<o.length;a++){var p=o[a];p!=null&&(it(this,r,0),this.a.wa(p))}},y.prototype.writeRepeatedSint32=y.prototype.Md,y.prototype.Nd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++){var p=o[a];p!=null&&(it(this,r,0),this.a.xa(p))}},y.prototype.writeRepeatedSint64=y.prototype.Nd,y.prototype.Od=function(r,o){if(o!=null)for(var a=0;a<o.length;a++){var p=o[a];p!=null&&(it(this,r,0),this.a.Ta(p))}},y.prototype.writeRepeatedSint64String=y.prototype.Od,y.prototype.Pd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++){var p=o[a];p!=null&&(it(this,r,0),this.a.W(p))}},y.prototype.writeRepeatedSintHash64=y.prototype.Pd,y.prototype.yd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.Pa(r,o[a])},y.prototype.writeRepeatedFixed32=y.prototype.yd,y.prototype.zd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.Qa(r,o[a])},y.prototype.writeRepeatedFixed64=y.prototype.zd,y.prototype.Ad=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.nb(r,o[a])},y.prototype.writeRepeatedFixed64String=y.prototype.Ad,y.prototype.Jd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.Ra(r,o[a])},y.prototype.writeRepeatedSfixed32=y.prototype.Jd,y.prototype.Kd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.Sa(r,o[a])},y.prototype.writeRepeatedSfixed64=y.prototype.Kd,y.prototype.Ld=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.qb(r,o[a])},y.prototype.writeRepeatedSfixed64String=y.prototype.Ld,y.prototype.Cd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.L(r,o[a])},y.prototype.writeRepeatedFloat=y.prototype.Cd,y.prototype.wd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.J(r,o[a])},y.prototype.writeRepeatedDouble=y.prototype.wd,y.prototype.ud=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.I(r,o[a])},y.prototype.writeRepeatedBool=y.prototype.ud,y.prototype.xd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.R(r,o[a])},y.prototype.writeRepeatedEnum=y.prototype.xd,y.prototype.Td=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.U(r,o[a])},y.prototype.writeRepeatedString=y.prototype.Td,y.prototype.vd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.ja(r,o[a])},y.prototype.writeRepeatedBytes=y.prototype.vd,y.prototype.Id=function(r,o,a){if(o!=null)for(var p=0;p<o.length;p++){var b=Ft(this,r);a(o[p],this),Dt(this,b)}},y.prototype.writeRepeatedMessage=y.prototype.Id,y.prototype.Dd=function(r,o,a){if(o!=null)for(var p=0;p<o.length;p++)it(this,r,3),a(o[p],this),it(this,r,4)},y.prototype.writeRepeatedGroup=y.prototype.Dd,y.prototype.Bd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.K(r,o[a])},y.prototype.writeRepeatedFixedHash64=y.prototype.Bd,y.prototype.Yd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.N(r,o[a])},y.prototype.writeRepeatedVarintHash64=y.prototype.Yd,y.prototype.ad=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++)this.a.M(o[a]);Dt(this,r)}},y.prototype.writePackedInt32=y.prototype.ad,y.prototype.bd=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++)this.a.M(parseInt(o[a],10));Dt(this,r)}},y.prototype.writePackedInt32String=y.prototype.bd,y.prototype.cd=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++)this.a.ua(o[a]);Dt(this,r)}},y.prototype.writePackedInt64=y.prototype.cd,y.prototype.md=function(r,o,a,p){if(o!=null){r=Ft(this,r);for(var b=0;b<o.length;b++)this.a.A(a(o[b]),p(o[b]));Dt(this,r)}},y.prototype.writePackedSplitFixed64=y.prototype.md,y.prototype.nd=function(r,o,a,p){if(o!=null){r=Ft(this,r);for(var b=0;b<o.length;b++)this.a.l(a(o[b]),p(o[b]));Dt(this,r)}},y.prototype.writePackedSplitVarint64=y.prototype.nd,y.prototype.od=function(r,o,a,p){if(o!=null){r=Ft(this,r);for(var b=this.a,P=0;P<o.length;P++)re(a(o[P]),p(o[P]),function(_,rt){b.l(_>>>0,rt>>>0)});Dt(this,r)}},y.prototype.writePackedSplitZigzagVarint64=y.prototype.od,y.prototype.dd=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++){var p=Ho(o[a]);this.a.l(p.lo,p.hi)}Dt(this,r)}},y.prototype.writePackedInt64String=y.prototype.dd,y.prototype.pd=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++)this.a.j(o[a]);Dt(this,r)}},y.prototype.writePackedUint32=y.prototype.pd,y.prototype.qd=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++)this.a.j(parseInt(o[a],10));Dt(this,r)}},y.prototype.writePackedUint32String=y.prototype.qd,y.prototype.rd=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++)this.a.va(o[a]);Dt(this,r)}},y.prototype.writePackedUint64=y.prototype.rd,y.prototype.sd=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++){var p=en(o[a]);this.a.l(p.lo,p.hi)}Dt(this,r)}},y.prototype.writePackedUint64String=y.prototype.sd,y.prototype.hd=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++)this.a.wa(o[a]);Dt(this,r)}},y.prototype.writePackedSint32=y.prototype.hd,y.prototype.jd=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++)this.a.xa(o[a]);Dt(this,r)}},y.prototype.writePackedSint64=y.prototype.jd,y.prototype.kd=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++)this.a.W(Qe(o[a]));Dt(this,r)}},y.prototype.writePackedSint64String=y.prototype.kd,y.prototype.ld=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++)this.a.W(o[a]);Dt(this,r)}},y.prototype.writePackedSintHash64=y.prototype.ld,y.prototype.Wc=function(r,o){if(o!=null&&o.length)for(it(this,r,2),this.a.j(4*o.length),r=0;r<o.length;r++)this.a.s(o[r])},y.prototype.writePackedFixed32=y.prototype.Wc,y.prototype.Xc=function(r,o){if(o!=null&&o.length)for(it(this,r,2),this.a.j(8*o.length),r=0;r<o.length;r++)this.a.V(o[r])},y.prototype.writePackedFixed64=y.prototype.Xc,y.prototype.Yc=function(r,o){if(o!=null&&o.length)for(it(this,r,2),this.a.j(8*o.length),r=0;r<o.length;r++){var a=en(o[r]);this.a.A(a.lo,a.hi)}},y.prototype.writePackedFixed64String=y.prototype.Yc,y.prototype.ed=function(r,o){if(o!=null&&o.length)for(it(this,r,2),this.a.j(4*o.length),r=0;r<o.length;r++)this.a.S(o[r])},y.prototype.writePackedSfixed32=y.prototype.ed,y.prototype.fd=function(r,o){if(o!=null&&o.length)for(it(this,r,2),this.a.j(8*o.length),r=0;r<o.length;r++)this.a.T(o[r])},y.prototype.writePackedSfixed64=y.prototype.fd,y.prototype.gd=function(r,o){if(o!=null&&o.length)for(it(this,r,2),this.a.j(8*o.length),r=0;r<o.length;r++)this.a.ka(o[r])},y.prototype.writePackedSfixed64String=y.prototype.gd,y.prototype.$c=function(r,o){if(o!=null&&o.length)for(it(this,r,2),this.a.j(4*o.length),r=0;r<o.length;r++)this.a.L(o[r])},y.prototype.writePackedFloat=y.prototype.$c,y.prototype.Uc=function(r,o){if(o!=null&&o.length)for(it(this,r,2),this.a.j(8*o.length),r=0;r<o.length;r++)this.a.J(o[r])},y.prototype.writePackedDouble=y.prototype.Uc,y.prototype.Tc=function(r,o){if(o!=null&&o.length)for(it(this,r,2),this.a.j(o.length),r=0;r<o.length;r++)this.a.I(o[r])},y.prototype.writePackedBool=y.prototype.Tc,y.prototype.Vc=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++)this.a.R(o[a]);Dt(this,r)}},y.prototype.writePackedEnum=y.prototype.Vc,y.prototype.Zc=function(r,o){if(o!=null&&o.length)for(it(this,r,2),this.a.j(8*o.length),r=0;r<o.length;r++)this.a.K(o[r])},y.prototype.writePackedFixedHash64=y.prototype.Zc,y.prototype.td=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++)this.a.N(o[a]);Dt(this,r)}},y.prototype.writePackedVarintHash64=y.prototype.td,t.debug=Ie,t.Map=N,t.Message=F,t.BinaryReader=v,t.BinaryWriter=y,t.ExtensionFieldInfo=yt,t.ExtensionFieldBinaryInfo=It,t.exportSymbol=E,t.inherits=A,t.object={extend:$},t.typeOf=M})(j);var Ur;(t=>{var e,n,i,s,l;(A=>{A[A.UNDEFINED_BRAND=0]="UNDEFINED_BRAND",A[A.rabbitloader=1]="rabbitloader",A[A.dofollow=2]="dofollow",A[A.prefetch=3]="prefetch"})(t.Brand||(t.Brand={})),(A=>{A[A.AUDIENCE_UNDEFINED=0]="AUDIENCE_UNDEFINED",A[A.AUDIENCE_RL_WP_PLUGIN=1]="AUDIENCE_RL_WP_PLUGIN",A[A.AUDIENCE_RL_DASHBOARD=2]="AUDIENCE_RL_DASHBOARD",A[A.AUDIENCE_DF_DASHBOARD=3]="AUDIENCE_DF_DASHBOARD",A[A.AUDIENCE_CF_WORKER=4]="AUDIENCE_CF_WORKER",A[A.AUDIENCE_PREFETCH_DASHBOARD=5]="AUDIENCE_PREFETCH_DASHBOARD"})(t.Audience||(t.Audience={})),(A=>{A[A.CURRENCY_UNDEFINED=0]="CURRENCY_UNDEFINED",A[A.CURRENCY_USD=1]="CURRENCY_USD",A[A.CURRENCY_INR=2]="CURRENCY_INR"})(t.Currency||(t.Currency={})),(A=>{A[A.UNDEFINED_PLATFORM=0]="UNDEFINED_PLATFORM",A[A.wp=1]="wp",A[A.shopify=2]="shopify",A[A.phpsdk=3]="phpsdk",A[A.laravel=4]="laravel"})(t.PlatformID||(t.PlatformID={}));const c=class Go extends j.Message{constructor(h){super(),Xt(this,e,[]),j.Message.initialize(this,Array.isArray(h)?h:[],0,-1,[],Yt(this,e)),!Array.isArray(h)&&typeof h=="object"&&("countryCode"in h&&h.countryCode!=null&&(this.countryCode=h.countryCode),"region"in h&&h.region!=null&&(this.region=h.region),"city"in h&&h.city!=null&&(this.city=h.city),"ipAddress"in h&&h.ipAddress!=null&&(this.ipAddress=h.ipAddress),"userAgent"in h&&h.userAgent!=null&&(this.userAgent=h.userAgent),"zip"in h&&h.zip!=null&&(this.zip=h.zip))}get countryCode(){return j.Message.getFieldWithDefault(this,1,"")}set countryCode(h){j.Message.setField(this,1,h)}get region(){return j.Message.getFieldWithDefault(this,2,"")}set region(h){j.Message.setField(this,2,h)}get city(){return j.Message.getFieldWithDefault(this,3,"")}set city(h){j.Message.setField(this,3,h)}get ipAddress(){return j.Message.getFieldWithDefault(this,4,"")}set ipAddress(h){j.Message.setField(this,4,h)}get userAgent(){return j.Message.getFieldWithDefault(this,5,"")}set userAgent(h){j.Message.setField(this,5,h)}get zip(){return j.Message.getFieldWithDefault(this,6,"")}set zip(h){j.Message.setField(this,6,h)}static fromObject(h){const $=new Go({});return h.countryCode!=null&&($.countryCode=h.countryCode),h.region!=null&&($.region=h.region),h.city!=null&&($.city=h.city),h.ipAddress!=null&&($.ipAddress=h.ipAddress),h.userAgent!=null&&($.userAgent=h.userAgent),h.zip!=null&&($.zip=h.zip),$}toObject(){const h={};return this.countryCode!=null&&(h.countryCode=this.countryCode),this.region!=null&&(h.region=this.region),this.city!=null&&(h.city=this.city),this.ipAddress!=null&&(h.ipAddress=this.ipAddress),this.userAgent!=null&&(h.userAgent=this.userAgent),this.zip!=null&&(h.zip=this.zip),h}serialize(h){const $=h||new j.BinaryWriter;if(this.countryCode.length&&$.writeString(1,this.countryCode),this.region.length&&$.writeString(2,this.region),this.city.length&&$.writeString(3,this.city),this.ipAddress.length&&$.writeString(4,this.ipAddress),this.userAgent.length&&$.writeString(5,this.userAgent),this.zip.length&&$.writeString(6,this.zip),!h)return $.getResultBuffer()}static deserialize(h){const $=h instanceof j.BinaryReader?h:new j.BinaryReader(h),z=new Go;for(;$.nextField()&&!$.isEndGroup();)switch($.getFieldNumber()){case 1:z.countryCode=$.readString();break;case 2:z.region=$.readString();break;case 3:z.city=$.readString();break;case 4:z.ipAddress=$.readString();break;case 5:z.userAgent=$.readString();break;case 6:z.zip=$.readString();break;default:$.skipField()}return z}serializeBinary(){return this.serialize()}static deserializeBinary(h){return Go.deserialize(h)}};e=new WeakMap;let d=c;t.DeviceLocation=d;const f=class Ko extends j.Message{constructor(h){super(),Xt(this,n,[]),j.Message.initialize(this,Array.isArray(h)?h:[],0,-1,[],Yt(this,n)),!Array.isArray(h)&&typeof h=="object"&&("code"in h&&h.code!=null&&(this.code=h.code),"message"in h&&h.message!=null&&(this.message=h.message))}get code(){return j.Message.getFieldWithDefault(this,1,"")}set code(h){j.Message.setField(this,1,h)}get message(){return j.Message.getFieldWithDefault(this,2,"")}set message(h){j.Message.setField(this,2,h)}static fromObject(h){const $=new Ko({});return h.code!=null&&($.code=h.code),h.message!=null&&($.message=h.message),$}toObject(){const h={};return this.code!=null&&(h.code=this.code),this.message!=null&&(h.message=this.message),h}serialize(h){const $=h||new j.BinaryWriter;if(this.code.length&&$.writeString(1,this.code),this.message.length&&$.writeString(2,this.message),!h)return $.getResultBuffer()}static deserialize(h){const $=h instanceof j.BinaryReader?h:new j.BinaryReader(h),z=new Ko;for(;$.nextField()&&!$.isEndGroup();)switch($.getFieldNumber()){case 1:z.code=$.readString();break;case 2:z.message=$.readString();break;default:$.skipField()}return z}serializeBinary(){return this.serialize()}static deserializeBinary(h){return Ko.deserialize(h)}};n=new WeakMap;let g=f;t.Error=g;const x=class qo extends j.Message{constructor(h){super(),Xt(this,i,[]),j.Message.initialize(this,Array.isArray(h)?h:[],0,-1,[],Yt(this,i)),!Array.isArray(h)&&typeof h=="object"&&("cents"in h&&h.cents!=null&&(this.cents=h.cents),"currency"in h&&h.currency!=null&&(this.currency=h.currency))}get cents(){return j.Message.getFieldWithDefault(this,1,0)}set cents(h){j.Message.setField(this,1,h)}get currency(){return j.Message.getFieldWithDefault(this,2,0)}set currency(h){j.Message.setField(this,2,h)}static fromObject(h){const $=new qo({});return h.cents!=null&&($.cents=h.cents),h.currency!=null&&($.currency=h.currency),$}toObject(){const h={};return this.cents!=null&&(h.cents=this.cents),this.currency!=null&&(h.currency=this.currency),h}serialize(h){const $=h||new j.BinaryWriter;if(this.cents!=0&&$.writeInt64(1,this.cents),this.currency!=0&&$.writeEnum(2,this.currency),!h)return $.getResultBuffer()}static deserialize(h){const $=h instanceof j.BinaryReader?h:new j.BinaryReader(h),z=new qo;for(;$.nextField()&&!$.isEndGroup();)switch($.getFieldNumber()){case 1:z.cents=$.readInt64();break;case 2:z.currency=$.readEnum();break;default:$.skipField()}return z}serializeBinary(){return this.serialize()}static deserializeBinary(h){return qo.deserialize(h)}};i=new WeakMap;let T=x;t.Money=T;const m=class Yo extends j.Message{constructor(h){super(),Xt(this,s,[]),j.Message.initialize(this,Array.isArray(h)?h:[],0,-1,[],Yt(this,s)),!Array.isArray(h)&&typeof h=="object"&&("source"in h&&h.source!=null&&(this.source=h.source),"target"in h&&h.target!=null&&(this.target=h.target),"medium"in h&&h.medium!=null&&(this.medium=h.medium),"campaign"in h&&h.campaign!=null&&(this.campaign=h.campaign),"term"in h&&h.term!=null&&(this.term=h.term),"content"in h&&h.content!=null&&(this.content=h.content))}get source(){return j.Message.getFieldWithDefault(this,1,"")}set source(h){j.Message.setField(this,1,h)}get target(){return j.Message.getFieldWithDefault(this,2,"")}set target(h){j.Message.setField(this,2,h)}get medium(){return j.Message.getFieldWithDefault(this,3,"")}set medium(h){j.Message.setField(this,3,h)}get campaign(){return j.Message.getFieldWithDefault(this,4,"")}set campaign(h){j.Message.setField(this,4,h)}get term(){return j.Message.getFieldWithDefault(this,5,"")}set term(h){j.Message.setField(this,5,h)}get content(){return j.Message.getFieldWithDefault(this,6,"")}set content(h){j.Message.setField(this,6,h)}static fromObject(h){const $=new Yo({});return h.source!=null&&($.source=h.source),h.target!=null&&($.target=h.target),h.medium!=null&&($.medium=h.medium),h.campaign!=null&&($.campaign=h.campaign),h.term!=null&&($.term=h.term),h.content!=null&&($.content=h.content),$}toObject(){const h={};return this.source!=null&&(h.source=this.source),this.target!=null&&(h.target=this.target),this.medium!=null&&(h.medium=this.medium),this.campaign!=null&&(h.campaign=this.campaign),this.term!=null&&(h.term=this.term),this.content!=null&&(h.content=this.content),h}serialize(h){const $=h||new j.BinaryWriter;if(this.source.length&&$.writeString(1,this.source),this.target.length&&$.writeString(2,this.target),this.medium.length&&$.writeString(3,this.medium),this.campaign.length&&$.writeString(4,this.campaign),this.term.length&&$.writeString(5,this.term),this.content.length&&$.writeString(6,this.content),!h)return $.getResultBuffer()}static deserialize(h){const $=h instanceof j.BinaryReader?h:new j.BinaryReader(h),z=new Yo;for(;$.nextField()&&!$.isEndGroup();)switch($.getFieldNumber()){case 1:z.source=$.readString();break;case 2:z.target=$.readString();break;case 3:z.medium=$.readString();break;case 4:z.campaign=$.readString();break;case 5:z.term=$.readString();break;case 6:z.content=$.readString();break;default:$.skipField()}return z}serializeBinary(){return this.serialize()}static deserializeBinary(h){return Yo.deserialize(h)}};s=new WeakMap;let M=m;t.UrchinTracking=M;const R=class Xo extends j.Message{constructor(h){super(),Xt(this,l,[]),j.Message.initialize(this,Array.isArray(h)?h:[],0,-1,[1],Yt(this,l)),!Array.isArray(h)&&typeof h=="object"&&"values"in h&&h.values!=null&&(this.values=h.values)}get values(){return j.Message.getFieldWithDefault(this,1,[])}set values(h){j.Message.setField(this,1,h)}static fromObject(h){const $=new Xo({});return h.values!=null&&($.values=h.values),$}toObject(){const h={};return this.values!=null&&(h.values=this.values),h}serialize(h){const $=h||new j.BinaryWriter;if(this.values.length&&$.writeRepeatedString(1,this.values),!h)return $.getResultBuffer()}static deserialize(h){const $=h instanceof j.BinaryReader?h:new j.BinaryReader(h),z=new Xo;for(;$.nextField()&&!$.isEndGroup();)switch($.getFieldNumber()){case 1:j.Message.addToRepeatedField(z,1,$.readString());break;default:$.skipField()}return z}serializeBinary(){return this.serialize()}static deserializeBinary(h){return Xo.deserialize(h)}};l=new WeakMap;let E=R;t.Strings=E})(Ur||(Ur={}));var qt;(t=>{var e,n,i,s,l,c,d,f,g,x,T,m,M,R;(G=>{G[G.ERROR_CODE_UNDEFINED=0]="ERROR_CODE_UNDEFINED",G[G.ERROR_CODE_UNKNOWN=1]="ERROR_CODE_UNKNOWN",G[G.ERROR_CODE_ADD_DOMAIN_ANOTHER_USER=2]="ERROR_CODE_ADD_DOMAIN_ANOTHER_USER",G[G.ERROR_CODE_ADD_DOMAIN_FREE_COUNT_LIMIT=3]="ERROR_CODE_ADD_DOMAIN_FREE_COUNT_LIMIT"})(t.ErrorCode||(t.ErrorCode={})),(G=>{G[G.NET_UNDEFINED=0]="NET_UNDEFINED",G[G.NET_2G=1]="NET_2G",G[G.NET_3G=2]="NET_3G",G[G.NET_4G=3]="NET_4G"})(t.NetworkEffectiveType||(t.NetworkEffectiveType={})),(G=>{G[G.DRT_UNDEFINED=0]="DRT_UNDEFINED",G[G.DRT_MOBILE=1]="DRT_MOBILE",G[G.DRT_TABLET=2]="DRT_TABLET",G[G.DRT_DESKTOP=3]="DRT_DESKTOP"})(t.DeviceResolutionType||(t.DeviceResolutionType={}));const E=class Zo extends j.Message{constructor(u){super(),Xt(this,e,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],Yt(this,e)),!Array.isArray(u)&&typeof u=="object"&&("deviceResolutionType"in u&&u.deviceResolutionType!=null&&(this.deviceResolutionType=u.deviceResolutionType),"networkEffectiveType"in u&&u.networkEffectiveType!=null&&(this.networkEffectiveType=u.networkEffectiveType))}get deviceResolutionType(){return j.Message.getFieldWithDefault(this,1,0)}set deviceResolutionType(u){j.Message.setField(this,1,u)}get networkEffectiveType(){return j.Message.getFieldWithDefault(this,2,0)}set networkEffectiveType(u){j.Message.setField(this,2,u)}static fromObject(u){const w=new Zo({});return u.deviceResolutionType!=null&&(w.deviceResolutionType=u.deviceResolutionType),u.networkEffectiveType!=null&&(w.networkEffectiveType=u.networkEffectiveType),w}toObject(){const u={};return this.deviceResolutionType!=null&&(u.deviceResolutionType=this.deviceResolutionType),this.networkEffectiveType!=null&&(u.networkEffectiveType=this.networkEffectiveType),u}serialize(u){const w=u||new j.BinaryWriter;if(this.deviceResolutionType!=0&&w.writeEnum(1,this.deviceResolutionType),this.networkEffectiveType!=0&&w.writeEnum(2,this.networkEffectiveType),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new Zo;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:V.deviceResolutionType=w.readEnum();break;case 2:V.networkEffectiveType=w.readEnum();break;default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return Zo.deserialize(u)}};e=new WeakMap;let A=E;t.ClusterAttrs=A;const h=class Jo extends j.Message{constructor(u){super(),Xt(this,n,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],Yt(this,n)),!Array.isArray(u)&&typeof u=="object"&&("referrer"in u&&u.referrer!=null&&(this.referrer=u.referrer),"page"in u&&u.page!=null&&(this.page=u.page),"deviceResolutionType"in u&&u.deviceResolutionType!=null&&(this.deviceResolutionType=u.deviceResolutionType),"networkEffectiveType"in u&&u.networkEffectiveType!=null&&(this.networkEffectiveType=u.networkEffectiveType))}get referrer(){return j.Message.getFieldWithDefault(this,1,"")}set referrer(u){j.Message.setField(this,1,u)}get page(){return j.Message.getFieldWithDefault(this,2,"")}set page(u){j.Message.setField(this,2,u)}get deviceResolutionType(){return j.Message.getFieldWithDefault(this,3,0)}set deviceResolutionType(u){j.Message.setField(this,3,u)}get networkEffectiveType(){return j.Message.getFieldWithDefault(this,4,0)}set networkEffectiveType(u){j.Message.setField(this,4,u)}static fromObject(u){const w=new Jo({});return u.referrer!=null&&(w.referrer=u.referrer),u.page!=null&&(w.page=u.page),u.deviceResolutionType!=null&&(w.deviceResolutionType=u.deviceResolutionType),u.networkEffectiveType!=null&&(w.networkEffectiveType=u.networkEffectiveType),w}toObject(){const u={};return this.referrer!=null&&(u.referrer=this.referrer),this.page!=null&&(u.page=this.page),this.deviceResolutionType!=null&&(u.deviceResolutionType=this.deviceResolutionType),this.networkEffectiveType!=null&&(u.networkEffectiveType=this.networkEffectiveType),u}serialize(u){const w=u||new j.BinaryWriter;if(this.referrer.length&&w.writeString(1,this.referrer),this.page.length&&w.writeString(2,this.page),this.deviceResolutionType!=0&&w.writeEnum(3,this.deviceResolutionType),this.networkEffectiveType!=0&&w.writeEnum(4,this.networkEffectiveType),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new Jo;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:V.referrer=w.readString();break;case 2:V.page=w.readString();break;case 3:V.deviceResolutionType=w.readEnum();break;case 4:V.networkEffectiveType=w.readEnum();break;default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return Jo.deserialize(u)}};n=new WeakMap;let $=h;t.GetPrefetchReq=$;const z=class Qo extends j.Message{constructor(u){super(),Xt(this,i,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[1,2],Yt(this,i)),!Array.isArray(u)&&typeof u=="object"&&("prerender"in u&&u.prerender!=null&&(this.prerender=u.prerender),"prefetch"in u&&u.prefetch!=null&&(this.prefetch=u.prefetch))}get prerender(){return j.Message.getFieldWithDefault(this,1,[])}set prerender(u){j.Message.setField(this,1,u)}get prefetch(){return j.Message.getFieldWithDefault(this,2,[])}set prefetch(u){j.Message.setField(this,2,u)}static fromObject(u){const w=new Qo({});return u.prerender!=null&&(w.prerender=u.prerender),u.prefetch!=null&&(w.prefetch=u.prefetch),w}toObject(){const u={};return this.prerender!=null&&(u.prerender=this.prerender),this.prefetch!=null&&(u.prefetch=this.prefetch),u}serialize(u){const w=u||new j.BinaryWriter;if(this.prerender.length&&w.writeRepeatedString(1,this.prerender),this.prefetch.length&&w.writeRepeatedString(2,this.prefetch),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new Qo;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:j.Message.addToRepeatedField(V,1,w.readString());break;case 2:j.Message.addToRepeatedField(V,2,w.readString());break;default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return Qo.deserialize(u)}};i=new WeakMap;let D=z;t.GetPrefetchRes=D;const L=class ti extends j.Message{constructor(u){super(),Xt(this,s,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],Yt(this,s)),!Array.isArray(u)&&typeof u=="object"&&("host"in u&&u.host!=null&&(this.host=u.host),"platform"in u&&u.platform!=null&&(this.platform=u.platform))}get host(){return j.Message.getFieldWithDefault(this,1,"")}set host(u){j.Message.setField(this,1,u)}get platform(){return j.Message.getFieldWithDefault(this,2,Ur.PlatformID.UNDEFINED_PLATFORM)}set platform(u){j.Message.setField(this,2,u)}static fromObject(u){const w=new ti({});return u.host!=null&&(w.host=u.host),u.platform!=null&&(w.platform=u.platform),w}toObject(){const u={};return this.host!=null&&(u.host=this.host),this.platform!=null&&(u.platform=this.platform),u}serialize(u){const w=u||new j.BinaryWriter;if(this.host.length&&w.writeString(1,this.host),this.platform!=Ur.PlatformID.UNDEFINED_PLATFORM&&w.writeEnum(2,this.platform),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new ti;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:V.host=w.readString();break;case 2:V.platform=w.readEnum();break;default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return ti.deserialize(u)}};s=new WeakMap;let U=L;t.AddDomainReq=U;const C=class ei extends j.Message{constructor(u){super(),Xt(this,l,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],Yt(this,l)),!Array.isArray(u)&&typeof u=="object"&&"domain"in u&&u.domain!=null&&(this.domain=u.domain)}get domain(){return j.Message.getWrapperField(this,Z,1)}set domain(u){j.Message.setWrapperField(this,1,u)}get has_domain(){return j.Message.getField(this,1)!=null}static fromObject(u){const w=new ei({});return u.domain!=null&&(w.domain=Z.fromObject(u.domain)),w}toObject(){const u={};return this.domain!=null&&(u.domain=this.domain.toObject()),u}serialize(u){const w=u||new j.BinaryWriter;if(this.has_domain&&w.writeMessage(1,this.domain,()=>this.domain.serialize(w)),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new ei;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:w.readMessage(V.domain,()=>V.domain=Z.deserialize(w));break;default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return ei.deserialize(u)}};l=new WeakMap;let at=C;t.AddDomainRes=at;const pt=class ri extends j.Message{constructor(u){super(),Xt(this,c,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],Yt(this,c))}static fromObject(u){return new ri({})}toObject(){return{}}serialize(u){const w=u||new j.BinaryWriter;if(!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new ri;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return ri.deserialize(u)}};c=new WeakMap;let K=pt;t.GetDomainsReq=K;const Y=class ni extends j.Message{constructor(u){super(),Xt(this,d,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],Yt(this,d)),!Array.isArray(u)&&typeof u=="object"&&("id"in u&&u.id!=null&&(this.id=u.id),"host"in u&&u.host!=null&&(this.host=u.host),"platform"in u&&u.platform!=null&&(this.platform=u.platform))}get id(){return j.Message.getFieldWithDefault(this,1,"")}set id(u){j.Message.setField(this,1,u)}get host(){return j.Message.getFieldWithDefault(this,2,"")}set host(u){j.Message.setField(this,2,u)}get platform(){return j.Message.getFieldWithDefault(this,3,Ur.PlatformID.UNDEFINED_PLATFORM)}set platform(u){j.Message.setField(this,3,u)}static fromObject(u){const w=new ni({});return u.id!=null&&(w.id=u.id),u.host!=null&&(w.host=u.host),u.platform!=null&&(w.platform=u.platform),w}toObject(){const u={};return this.id!=null&&(u.id=this.id),this.host!=null&&(u.host=this.host),this.platform!=null&&(u.platform=this.platform),u}serialize(u){const w=u||new j.BinaryWriter;if(this.id.length&&w.writeString(1,this.id),this.host.length&&w.writeString(2,this.host),this.platform!=Ur.PlatformID.UNDEFINED_PLATFORM&&w.writeEnum(3,this.platform),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new ni;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:V.id=w.readString();break;case 2:V.host=w.readString();break;case 3:V.platform=w.readEnum();break;default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return ni.deserialize(u)}};d=new WeakMap;let Z=Y;t.Domain=Z;const N=class oi extends j.Message{constructor(u){super(),Xt(this,f,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[1],Yt(this,f)),!Array.isArray(u)&&typeof u=="object"&&"domains"in u&&u.domains!=null&&(this.domains=u.domains)}get domains(){return j.Message.getRepeatedWrapperField(this,Z,1)}set domains(u){j.Message.setRepeatedWrapperField(this,1,u)}static fromObject(u){const w=new oi({});return u.domains!=null&&(w.domains=u.domains.map(V=>Z.fromObject(V))),w}toObject(){const u={};return this.domains!=null&&(u.domains=this.domains.map(w=>w.toObject())),u}serialize(u){const w=u||new j.BinaryWriter;if(this.domains.length&&w.writeRepeatedMessage(1,this.domains,V=>V.serialize(w)),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new oi;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:w.readMessage(V.domains,()=>j.Message.addToRepeatedWrapperField(V,1,Z.deserialize(w),Z));break;default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return oi.deserialize(u)}};f=new WeakMap;let Q=N;t.GetDomainsRes=Q;const dt=class ii extends j.Message{constructor(u){super(),Xt(this,g,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],Yt(this,g)),!Array.isArray(u)&&typeof u=="object"&&"host"in u&&u.host!=null&&(this.host=u.host)}get host(){return j.Message.getFieldWithDefault(this,1,"")}set host(u){j.Message.setField(this,1,u)}static fromObject(u){const w=new ii({});return u.host!=null&&(w.host=u.host),w}toObject(){const u={};return this.host!=null&&(u.host=this.host),u}serialize(u){const w=u||new j.BinaryWriter;if(this.host.length&&w.writeString(1,this.host),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new ii;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:V.host=w.readString();break;default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return ii.deserialize(u)}};g=new WeakMap;let ft=dt;t.GetReportReq=ft;const Et=class si extends j.Message{constructor(u){super(),Xt(this,x,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],Yt(this,x)),!Array.isArray(u)&&typeof u=="object"&&("fromPath"in u&&u.fromPath!=null&&(this.fromPath=u.fromPath),"toPath"in u&&u.toPath!=null&&(this.toPath=u.toPath),"probability"in u&&u.probability!=null&&(this.probability=u.probability))}get fromPath(){return j.Message.getFieldWithDefault(this,1,"")}set fromPath(u){j.Message.setField(this,1,u)}get toPath(){return j.Message.getFieldWithDefault(this,2,"")}set toPath(u){j.Message.setField(this,2,u)}get probability(){return j.Message.getFieldWithDefault(this,3,0)}set probability(u){j.Message.setField(this,3,u)}static fromObject(u){const w=new si({});return u.fromPath!=null&&(w.fromPath=u.fromPath),u.toPath!=null&&(w.toPath=u.toPath),u.probability!=null&&(w.probability=u.probability),w}toObject(){const u={};return this.fromPath!=null&&(u.fromPath=this.fromPath),this.toPath!=null&&(u.toPath=this.toPath),this.probability!=null&&(u.probability=this.probability),u}serialize(u){const w=u||new j.BinaryWriter;if(this.fromPath.length&&w.writeString(1,this.fromPath),this.toPath.length&&w.writeString(2,this.toPath),this.probability!=0&&w.writeUint32(3,this.probability),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new si;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:V.fromPath=w.readString();break;case 2:V.toPath=w.readString();break;case 3:V.probability=w.readUint32();break;default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return si.deserialize(u)}};x=new WeakMap;let gt=Et;t.GetReportItem=gt;const ht=class ai extends j.Message{constructor(u){super(),Xt(this,T,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[1],Yt(this,T)),!Array.isArray(u)&&typeof u=="object"&&"items"in u&&u.items!=null&&(this.items=u.items)}get items(){return j.Message.getRepeatedWrapperField(this,gt,1)}set items(u){j.Message.setRepeatedWrapperField(this,1,u)}static fromObject(u){const w=new ai({});return u.items!=null&&(w.items=u.items.map(V=>gt.fromObject(V))),w}toObject(){const u={};return this.items!=null&&(u.items=this.items.map(w=>w.toObject())),u}serialize(u){const w=u||new j.BinaryWriter;if(this.items.length&&w.writeRepeatedMessage(1,this.items,V=>V.serialize(w)),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new ai;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:w.readMessage(V.items,()=>j.Message.addToRepeatedWrapperField(V,1,gt.deserialize(w),gt));break;default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return ai.deserialize(u)}};T=new WeakMap;let $t=ht;t.GetReportRes=$t;const At=class li extends j.Message{constructor(u){super(),Xt(this,m,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],Yt(this,m)),!Array.isArray(u)&&typeof u=="object"&&"host"in u&&u.host!=null&&(this.host=u.host)}get host(){return j.Message.getFieldWithDefault(this,1,"")}set host(u){j.Message.setField(this,1,u)}static fromObject(u){const w=new li({});return u.host!=null&&(w.host=u.host),w}toObject(){const u={};return this.host!=null&&(u.host=this.host),u}serialize(u){const w=u||new j.BinaryWriter;if(this.host.length&&w.writeString(1,this.host),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new li;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:V.host=w.readString();break;default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return li.deserialize(u)}};m=new WeakMap;let pe=At;t.GetReportV2Req=pe;const _e=class ci extends j.Message{constructor(u){super(),Xt(this,M,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],Yt(this,M)),!Array.isArray(u)&&typeof u=="object"&&("fromPath"in u&&u.fromPath!=null&&(this.fromPath=u.fromPath),"toPath"in u&&u.toPath!=null&&(this.toPath=u.toPath),"impressions"in u&&u.impressions!=null&&(this.impressions=u.impressions),"clusterAttrs"in u&&u.clusterAttrs!=null&&(this.clusterAttrs=u.clusterAttrs))}get fromPath(){return j.Message.getFieldWithDefault(this,1,"")}set fromPath(u){j.Message.setField(this,1,u)}get toPath(){return j.Message.getFieldWithDefault(this,2,"")}set toPath(u){j.Message.setField(this,2,u)}get impressions(){return j.Message.getFieldWithDefault(this,3,0)}set impressions(u){j.Message.setField(this,3,u)}get clusterAttrs(){return j.Message.getWrapperField(this,A,4)}set clusterAttrs(u){j.Message.setWrapperField(this,4,u)}get has_clusterAttrs(){return j.Message.getField(this,4)!=null}static fromObject(u){const w=new ci({});return u.fromPath!=null&&(w.fromPath=u.fromPath),u.toPath!=null&&(w.toPath=u.toPath),u.impressions!=null&&(w.impressions=u.impressions),u.clusterAttrs!=null&&(w.clusterAttrs=A.fromObject(u.clusterAttrs)),w}toObject(){const u={};return this.fromPath!=null&&(u.fromPath=this.fromPath),this.toPath!=null&&(u.toPath=this.toPath),this.impressions!=null&&(u.impressions=this.impressions),this.clusterAttrs!=null&&(u.clusterAttrs=this.clusterAttrs.toObject()),u}serialize(u){const w=u||new j.BinaryWriter;if(this.fromPath.length&&w.writeString(1,this.fromPath),this.toPath.length&&w.writeString(2,this.toPath),this.impressions!=0&&w.writeUint64(3,this.impressions),this.has_clusterAttrs&&w.writeMessage(4,this.clusterAttrs,()=>this.clusterAttrs.serialize(w)),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new ci;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:V.fromPath=w.readString();break;case 2:V.toPath=w.readString();break;case 3:V.impressions=w.readUint64();break;case 4:w.readMessage(V.clusterAttrs,()=>V.clusterAttrs=A.deserialize(w));break;default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return ci.deserialize(u)}};M=new WeakMap;let Ht=_e;t.GetReportV2Item=Ht;const je=class ui extends j.Message{constructor(u){super(),Xt(this,R,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[1],Yt(this,R)),!Array.isArray(u)&&typeof u=="object"&&"items"in u&&u.items!=null&&(this.items=u.items)}get items(){return j.Message.getRepeatedWrapperField(this,Ht,1)}set items(u){j.Message.setRepeatedWrapperField(this,1,u)}static fromObject(u){const w=new ui({});return u.items!=null&&(w.items=u.items.map(V=>Ht.fromObject(V))),w}toObject(){const u={};return this.items!=null&&(u.items=this.items.map(w=>w.toObject())),u}serialize(u){const w=u||new j.BinaryWriter;if(this.items.length&&w.writeRepeatedMessage(1,this.items,V=>V.serialize(w)),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new ui;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:w.readMessage(V.items,()=>j.Message.addToRepeatedWrapperField(V,1,Ht.deserialize(w),Ht));break;default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return ui.deserialize(u)}};R=new WeakMap;let lt=je;t.GetReportV2Res=lt})(qt||(qt={}));const vm=t=>{switch(t){case qt.DeviceResolutionType.DRT_MOBILE:return"Mobile";case qt.DeviceResolutionType.DRT_TABLET:return"Tablet";case qt.DeviceResolutionType.DRT_DESKTOP:return"Desktop";default:return"Unknown"}},xm=t=>{switch(t){case qt.NetworkEffectiveType.NET_2G:return"2G";case qt.NetworkEffectiveType.NET_3G:return"3G";case qt.NetworkEffectiveType.NET_4G:return"4G";default:return"Unknown"}},Sm=(t,e)=>{const n=[];return t!==void 0&&t!==qt.DeviceResolutionType.DRT_UNDEFINED&&n.push(vm(t)),e!==void 0&&e!==qt.NetworkEffectiveType.NET_UNDEFINED&&n.push(xm(e)),n.join(" + ")||"Uncategorized"},wm=({details:t,totalImpressions:e})=>S.jsxs(ut,{sx:{p:2,bgcolor:"grey.50"},children:[S.jsx(X,{variant:"subtitle2",gutterBottom:!0,children:"Navigation Details"}),S.jsxs(Wl,{size:"small",children:[S.jsx(Gl,{children:S.jsxs(Tn,{children:[S.jsx(ne,{children:S.jsx(X,{variant:"caption",fontWeight:"bold",children:"Winning Attribute"})}),S.jsx(ne,{children:S.jsx(X,{variant:"caption",fontWeight:"bold",children:"Destination"})}),S.jsx(ne,{align:"right",children:S.jsx(X,{variant:"caption",fontWeight:"bold",children:"Confidence"})})]})}),S.jsx(Vl,{children:t.map((n,i)=>{const s=(n.impressions/e*100).toFixed(1);return S.jsxs(Tn,{children:[S.jsx(ne,{children:S.jsx(X,{variant:"body2",children:Sm(n.clusterAttrs.deviceResolutionType,n.clusterAttrs.networkEffectiveType)})}),S.jsx(ne,{children:S.jsx(X,{variant:"body2",component:"code",sx:{bgcolor:"grey.200",px:1,py:.5,borderRadius:.5,fontFamily:"monospace"},children:n.toPath})}),S.jsx(ne,{align:"right",children:S.jsx(Pe,{label:`${s}%`,size:"small",variant:"outlined",color:parseFloat(s)>50?"success":parseFloat(s)>25?"warning":"error"})})]},i)})})]})]}),Cm=({item:t})=>{const[e,n]=mt.useState(!1);return S.jsxs(S.Fragment,{children:[S.jsxs(Tn,{hover:!0,children:[S.jsx(ne,{children:S.jsx(vl,{size:"small",onClick:()=>n(!e),sx:{mr:1},children:e?S.jsx(um,{}):S.jsx(pm,{})})}),S.jsx(ne,{children:S.jsx(X,{variant:"body2",component:"code",sx:{bgcolor:"grey.100",px:1,py:.5,borderRadius:.5,fontFamily:"monospace"},children:t.fromPath})}),S.jsx(ne,{align:"center",children:S.jsx(X,{variant:"body2",fontWeight:"medium",children:t.totalImpressions.toLocaleString()})}),S.jsx(ne,{align:"center",children:S.jsx(X,{variant:"body2",fontWeight:"medium",children:t.possibleNavigations})})]}),S.jsx(Tn,{children:S.jsx(ne,{style:{paddingBottom:0,paddingTop:0},colSpan:4,children:S.jsx(Ah,{in:e,timeout:"auto",unmountOnExit:!0,children:S.jsx(wm,{details:t.details,totalImpressions:t.totalImpressions})})})})]})},km=({items:t,loading:e=!1,error:n=null,onNavigateToSettings:i,showDashboardLink:s=!1})=>e?S.jsxs(ut,{sx:{p:3},children:[S.jsx(Eg,{}),S.jsx(X,{variant:"body2",color:"text.secondary",sx:{mt:2},children:"Loading report data..."})]}):n?S.jsxs(ut,{sx:{p:3,textAlign:"center"},children:[S.jsx(X,{variant:"body1",color:"error",sx:{mb:2},children:n}),S.jsx(X,{variant:"body2",color:"text.secondary",children:"Please check your internet connection and try again."})]}):t.length===0?S.jsxs(ut,{sx:{p:3,textAlign:"center"},children:[S.jsx(Ql,{sx:{fontSize:48,color:"text.disabled",mb:2}}),S.jsx(X,{variant:"body1",color:"text.secondary",sx:{mb:2},children:"No prefetch data available yet."}),S.jsxs(Tl,{spacing:1,alignItems:"center",children:[S.jsx(X,{variant:"body2",color:"text.secondary",children:"New websites may take a few minutes to generate reports based on visitor traffic."}),S.jsx(X,{variant:"body2",color:"text.secondary",children:"Please ensure the Smart Prefetch plugin is properly integrated."}),i&&S.jsx(ut,{sx:{mt:2},children:S.jsxs(zl,{component:"button",variant:"body2",onClick:i,sx:{display:"inline-flex",alignItems:"center",gap:.5,textDecoration:"none","&:hover":{textDecoration:"underline"}},children:[S.jsx(ec,{fontSize:"small"}),"Check integration settings"]})})]})]}):S.jsxs(S.Fragment,{children:[S.jsxs(ut,{children:[S.jsx(X,{variant:"body2",color:"text.secondary",sx:{mb:3},children:"Analysis of user navigation patterns and prefetch predictions for your website."}),S.jsx(j0,{component:$o,elevation:1,children:S.jsxs(Wl,{children:[S.jsx(Gl,{children:S.jsxs(Tn,{children:[S.jsx(ne,{width:"50px"}),S.jsx(ne,{children:S.jsx(X,{variant:"subtitle2",fontWeight:"bold",children:"Page"})}),S.jsx(ne,{align:"center",children:S.jsx(X,{variant:"subtitle2",fontWeight:"bold",children:"Samples Collected"})}),S.jsx(ne,{align:"center",children:S.jsx(X,{variant:"subtitle2",fontWeight:"bold",children:"Possible Navigation"})})]})}),S.jsx(Vl,{children:t.map((l,c)=>S.jsx(Cm,{item:l},c))})]})}),S.jsxs(X,{variant:"caption",color:"text.secondary",sx:{mt:2,display:"block"},children:["Showing ",t.length," page",t.length!==1?"s":""," with prefetch data"]})]}),s&&S.jsx(ut,{sx:{mt:2,textAlign:"center"},children:S.jsxs(zl,{href:"https://dash.smartprefetch.link/",target:"_blank",rel:"noopener noreferrer",variant:"body2",sx:{display:"inline-flex",alignItems:"center",gap:.5,textDecoration:"none","&:hover":{textDecoration:"underline"}},children:[S.jsx(Ql,{fontSize:"small"}),"Visit Smart Prefetch Dashboard for Advanced Analytics"]})})]}),Rm=5*60*1e3,Tm=3,Em=[500,502,503],jm=!1;class $m extends Error{constructor(e){super(e),this.name="MissingPathVarError"}}const Mm=new $m("path variable is missing");function Am(t,e){let n=!1,i=t;for(const[s,l]of Object.entries(e))i=i.replace(s,l);return n=i.includes("{"),{newPath:i,missingVar:n}}const Pm=(t,e={},n,i)=>{const{timeout:s=Rm,retryCount:l=Tm,retryableCodes:c=Em,contentTypeJson:d=jm}=e;let{newPath:f,missingVar:g}=Am(i+"/prefetch/v2/report",e.pathVars||{});if(g)return Promise.reject(Mm);const x=t.serializeBinary(),T={method:"GET",headers:new Headers({Authorization:`Bearer ${n}`,"Content-Type":d?"application/json":"application/x-protobuf",Accept:d?"application/json":"application/x-protobuf",...Object.fromEntries(e.headers||new Headers)}),...e.cache?{cache:e.cache}:{}};f=f+"?"+new URLSearchParams({get_params:btoa(String.fromCharCode.apply(null,Array.from(x)))});async function m(M){try{const R=await fetch(f,T);if(!R.ok&&c.includes(R.status)&&M!==0)return m(M-1);if(d)try{return[await R.json(),R.status]}catch(E){return console.log("error in reading response body: ",E),[new qt.GetReportV2Res,R.status]}try{const E=await R.arrayBuffer();if(E.byteLength===0)return[new qt.GetReportV2Res,R.status];const A=new Uint8Array(E);return[qt.GetReportV2Res.deserialize(A),R.status]}catch(E){return console.error("error in reading response body",E),[new qt.GetReportV2Res,R.status]}}catch(R){return console.log("error getting data: ",R),[new qt.GetReportV2Res,0]}}return m(l)},Om=window.location.hostname.includes(".local")||window.location.hostname.includes("localhost"),Im=Om?"https://api.smartprefetch.local":"https://api.smartprefetch.link",Bm=({selectedDomain:t,jwt:e,onAuthenticationFailed:n,onNavigateToSettings:i,showDashboardLink:s=!1})=>{const[l,c]=mt.useState([]),[d,f]=mt.useState(!1),[g,x]=mt.useState(null),T=M=>{const R={};return M.forEach(E=>{const A=E.fromPath,h=E.clusterAttrs;if(E.impressions===0||!h)return;const $=h.deviceResolutionType,z=h.networkEffectiveType;$===qt.DeviceResolutionType.DRT_UNDEFINED&&z===qt.NetworkEffectiveType.NET_UNDEFINED||(R[A]||(R[A]={fromPath:A,totalImpressions:0,possibleNavigations:0,details:[]}),R[A].totalImpressions+=E.impressions,R[A].possibleNavigations+=1,R[A].details.push({toPath:E.toPath,impressions:E.impressions,clusterAttrs:{deviceResolutionType:$!==qt.DeviceResolutionType.DRT_UNDEFINED?$:void 0,networkEffectiveType:z!==qt.NetworkEffectiveType.NET_UNDEFINED?z:void 0}}))}),Object.values(R).forEach(E=>{E.details.sort((A,h)=>h.impressions-A.impressions)}),Object.values(R)},m=async()=>{var M,R,E,A;if(t){f(!0),x(null);try{const h=new qt.GetReportV2Req({host:t.host}),[$]=await Pm(h,{},e,Im),z=T($.items||[]);c(z)}catch(h){if(console.error("Error loading report:",h),(M=h.message)!=null&&M.includes("401")||(R=h.message)!=null&&R.includes("Unauthorized")||(E=h.message)!=null&&E.includes("authentication")||(A=h.message)!=null&&A.includes("token")){x("Your session has expired. Please sign in again to continue. Error RT109."),setTimeout(()=>{n==null||n()},2e3);return}x("Failed to load report data. Please try again."),c([])}finally{f(!1)}}};return mt.useEffect(()=>{m()},[t,e]),S.jsx(km,{items:l,loading:d,error:g,onNavigateToSettings:i,showDashboardLink:s})},zm=({showLogo:t=!0,variant:e="full"})=>{const n=()=>S.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[S.jsx("rect",{width:"64",height:"64",fill:"transparent"}),S.jsx("circle",{cx:"24",cy:"32",r:"20",stroke:"#008080",strokeWidth:"4",fill:"none"}),S.jsx("path",{d:"M24 14 L36 32 L24 51",stroke:"#008080",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),S.jsx("path",{d:"M37 32 L59 32",stroke:"#008080",strokeWidth:"4",strokeLinecap:"round"})]});return S.jsx(ut,{sx:{backgroundColor:"background.paper",borderBottom:"1px solid",borderColor:"divider",py:e==="compact"?1.5:2,px:3},children:S.jsxs(Tl,{direction:"row",alignItems:"center",spacing:2,children:[t&&S.jsx(n,{}),S.jsxs(ut,{children:[S.jsx(X,{variant:e==="compact"?"h6":"h5",component:"h1",sx:{fontWeight:700,background:"linear-gradient(45deg, #008080 30%, #4db6ac 90%)",backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",textFillColor:"transparent",mb:e==="compact"?0:.5},children:"Smart Prefetch"}),e==="full"&&S.jsx(X,{variant:"body2",color:"text.secondary",sx:{fontWeight:500},children:"Intelligent Page-to-Page Navigation Optimization"})]})]})})},Nm=()=>S.jsx(_r,{sx:{mt:3,backgroundColor:"background.paper"},elevation:1,children:S.jsxs(Fr,{sx:{p:3},children:[S.jsxs(ut,{sx:{display:"flex",alignItems:"center",mb:2},children:[S.jsx(cm,{color:"primary",sx:{mr:1}}),S.jsx(X,{variant:"h6",component:"h3",color:"primary.main",children:"Understanding Your Prefetch Report"})]}),S.jsx(X,{variant:"body2",color:"text.secondary",paragraph:!0,children:"This report shows how Smart Prefetch predicts user navigation patterns on your website based on real visitor behavior."}),S.jsxs(ut,{sx:{mb:3},children:[S.jsx(X,{variant:"subtitle2",gutterBottom:!0,sx:{fontWeight:600,color:"text.primary"},children:"Column Explanations:"}),S.jsxs(Po,{dense:!0,sx:{pl:1},children:[S.jsxs(we,{sx:{pl:0,py:.5},children:[S.jsx(Ce,{sx:{minWidth:36},children:S.jsx(ut,{sx:{width:8,height:8,borderRadius:"50%",backgroundColor:"primary.main"}})}),S.jsx(ke,{primary:S.jsxs(ut,{sx:{display:"flex",alignItems:"center",gap:1},children:[S.jsx(Pe,{label:"Page",size:"small",variant:"outlined"}),S.jsx(X,{variant:"body2",children:"- Source page where predictions are made"})]})})]}),S.jsxs(we,{sx:{pl:0,py:.5},children:[S.jsx(Ce,{sx:{minWidth:36},children:S.jsx(ut,{sx:{width:8,height:8,borderRadius:"50%",backgroundColor:"primary.main"}})}),S.jsx(ke,{primary:S.jsxs(ut,{sx:{display:"flex",alignItems:"center",gap:1},children:[S.jsx(Pe,{label:"Samples Collected",size:"small",variant:"outlined"}),S.jsx(X,{variant:"body2",children:"- Number of user interactions analyzed"})]})})]}),S.jsxs(we,{sx:{pl:0,py:.5},children:[S.jsx(Ce,{sx:{minWidth:36},children:S.jsx(ut,{sx:{width:8,height:8,borderRadius:"50%",backgroundColor:"primary.main"}})}),S.jsx(ke,{primary:S.jsxs(ut,{sx:{display:"flex",alignItems:"center",gap:1},children:[S.jsx(Pe,{label:"Possible Navigation",size:"small",variant:"outlined"}),S.jsx(X,{variant:"body2",children:"- Number of different predicted destinations"})]})})]})]})]}),S.jsx(ng,{sx:{my:2}}),S.jsxs(ut,{sx:{mb:3},children:[S.jsx(X,{variant:"subtitle2",gutterBottom:!0,sx:{fontWeight:600,color:"text.primary"},children:"Expandable Details:"}),S.jsxs(Po,{dense:!0,sx:{pl:1},children:[S.jsxs(we,{sx:{pl:0,py:.5},children:[S.jsx(Ce,{sx:{minWidth:36},children:S.jsx(Jl,{color:"primary",fontSize:"small"})}),S.jsx(ke,{primary:S.jsxs(ut,{sx:{display:"flex",alignItems:"center",gap:1},children:[S.jsx(Pe,{label:"Winning Attribute",size:"small",variant:"outlined"}),S.jsx(X,{variant:"body2",children:"- User characteristic that best predicts navigation"})]})})]}),S.jsxs(we,{sx:{pl:0,py:.5},children:[S.jsx(Ce,{sx:{minWidth:36},children:S.jsx(Bo,{color:"primary",fontSize:"small"})}),S.jsx(ke,{primary:S.jsxs(ut,{sx:{display:"flex",alignItems:"center",gap:1},children:[S.jsx(Pe,{label:"Destination",size:"small",variant:"outlined"}),S.jsx(X,{variant:"body2",children:"- Predicted page user will visit next"})]})})]}),S.jsxs(we,{sx:{pl:0,py:.5},children:[S.jsx(Ce,{sx:{minWidth:36},children:S.jsx(is,{color:"primary",fontSize:"small"})}),S.jsx(ke,{primary:S.jsxs(ut,{sx:{display:"flex",alignItems:"center",gap:1},children:[S.jsx(Pe,{label:"Confidence",size:"small",variant:"outlined"}),S.jsx(X,{variant:"body2",children:"- Likelihood of this prediction (higher = better)"})]})})]})]})]}),S.jsxs(ut,{sx:{p:2,backgroundColor:"grey.50",borderRadius:1,display:"flex",alignItems:"center",gap:1},children:[S.jsx(dm,{sx:{color:"text.secondary",fontSize:20}}),S.jsxs(X,{variant:"body2",sx:{color:"text.primary",fontWeight:500},children:[S.jsx("strong",{children:"Tip:"})," Pages with higher confidence scores (70%+) will have more effective prefetching, leading to faster load times and better user experience."]})]})]})}),_m=()=>S.jsx(_r,{elevation:1,sx:{mt:3},children:S.jsxs(Fr,{children:[S.jsxs(ut,{sx:{display:"flex",alignItems:"center",mb:2},children:[S.jsx(is,{sx:{mr:1,color:"primary.main"}}),S.jsx(X,{variant:"h6",component:"h2",color:"primary.main",children:"Performance Benefits"})]}),S.jsx(X,{variant:"body2",color:"text.secondary",sx:{mb:3},children:"Smart Prefetch intelligently predicts and preloads pages to enhance your website's performance and user experience."}),S.jsxs(Po,{dense:!0,children:[S.jsxs(we,{sx:{px:0},children:[S.jsx(Ce,{sx:{minWidth:40},children:S.jsx(Bo,{color:"success"})}),S.jsx(ke,{primary:"Higher Confidence = Better Performance",secondary:"Pages with higher confidence scores are more likely to be prefetched for users matching the winning attributes, significantly reducing load times."})]}),S.jsxs(we,{sx:{px:0},children:[S.jsx(Ce,{sx:{minWidth:40},children:S.jsx(fm,{color:"info"})}),S.jsx(ke,{primary:"Adaptive Learning System",secondary:"The system continuously learns from user behavior patterns to optimize predictions over time, becoming more accurate with increased usage."})]}),S.jsxs(we,{sx:{px:0},children:[S.jsx(Ce,{sx:{minWidth:40},children:S.jsx(gm,{color:"warning"})}),S.jsx(ke,{primary:"Improved Navigation Experience",secondary:"Users experience faster page transitions and smoother navigation, leading to better engagement and reduced bounce rates."})]})]}),S.jsxs(ut,{sx:{mt:2,display:"flex",flexWrap:"wrap",gap:1},children:[S.jsx(Pe,{label:"Faster Load Times",size:"small",color:"success",variant:"outlined"}),S.jsx(Pe,{label:"Better User Experience",size:"small",color:"primary",variant:"outlined"}),S.jsx(Pe,{label:"Machine Learning",size:"small",color:"info",variant:"outlined"})]})]})}),Fm=()=>{const t=[{icon:is,title:"Lightning Fast",description:"Prefetch pages before users click, reducing load times by up to 70%"},{icon:Jl,title:"Smart Analytics",description:"AI-powered predictions based on user behavior patterns"},{icon:ym,title:"Privacy First",description:"No personal data collected, GDPR compliant"},{icon:am,title:"Cloud Powered",description:"Scalable infrastructure that grows with your traffic"},{icon:sm,title:"Auto-Optimization",description:"Continuously learns and improves predictions"},{icon:Bo,title:"Performance Boost",description:"Measurable improvements in user experience metrics"}],e=[{question:"How does Smart Prefetch work?",answer:"Smart Prefetch uses machine learning to analyze user behavior and predict which pages they are likely to visit next. It then prefetches those pages in the background."},{question:"Will it slow down my website?",answer:"No, Smart Prefetch is designed to be lightweight and only prefetches during idle time. It actually makes your website faster by loading pages before users need them."},{question:"Is it compatible with my platform?",answer:"Yes! Smart Prefetch works with WordPress, Shopify, and any website through our JavaScript integration."},{question:"How much does it cost?",answer:"We offer flexible pricing plans based on your traffic volume. Contact us for a custom quote that fits your needs."}];return S.jsxs(ut,{sx:{p:3},children:[S.jsx(X,{variant:"h4",gutterBottom:!0,children:"Help & Support"}),S.jsx(X,{variant:"body1",color:"text.secondary",gutterBottom:!0,children:"Get help with Smart Prefetch and optimize your website performance."}),S.jsx(_r,{sx:{mt:4,mb:4},children:S.jsxs(Fr,{children:[S.jsxs(ut,{sx:{display:"flex",alignItems:"center",gap:2,mb:3},children:[S.jsx(tc,{sx:{color:"primary.main",fontSize:32}}),S.jsxs(ut,{children:[S.jsx(X,{variant:"h5",gutterBottom:!0,children:"Need Help?"}),S.jsx(X,{variant:"body1",color:"text.secondary",children:"Our support team is here to help you optimize your website performance."})]})]}),S.jsx(yy,{severity:"info",sx:{mb:3},children:S.jsxs(X,{variant:"body2",children:[S.jsx("strong",{children:"Average Response Time:"})," 2-4 business days for free tiers"]})}),S.jsxs(ut,{sx:{display:"flex",gap:2,alignItems:"center",flexWrap:"wrap"},children:[S.jsx(Fy,{variant:"contained",startIcon:S.jsx(tc,{}),href:"mailto:support@smartprefetch.link",size:"large",children:"Email Support"}),S.jsx(X,{variant:"body2",color:"text.secondary",children:"support@smartprefetch.link"}),S.jsx(Pe,{label:"24/7 Available",color:"primary",variant:"outlined",size:"small"})]})]})}),S.jsxs(ut,{sx:{mb:4},children:[S.jsx(X,{variant:"h5",gutterBottom:!0,children:"Why Smart Prefetch?"}),S.jsx(or,{container:!0,spacing:3,children:t.map((n,i)=>{const s=n.icon;return S.jsx(or,{item:!0,xs:12,md:6,children:S.jsx($o,{sx:{p:2,height:"100%"},children:S.jsxs(ut,{sx:{display:"flex",alignItems:"flex-start",gap:2},children:[S.jsx(s,{sx:{color:"primary.main",mt:.5}}),S.jsxs(ut,{children:[S.jsx(X,{variant:"h6",gutterBottom:!0,children:n.title}),S.jsx(X,{variant:"body2",color:"text.secondary",children:n.description})]})]})})},i)})})]}),S.jsx(_r,{sx:{mb:4},children:S.jsxs(Fr,{children:[S.jsx(X,{variant:"h5",gutterBottom:!0,children:"Quick Start Guide"}),S.jsxs(Po,{children:[S.jsxs(we,{children:[S.jsx(Ce,{children:S.jsx(ut,{sx:{width:24,height:24,borderRadius:"50%",backgroundColor:"primary.main",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"0.875rem",fontWeight:"bold"},children:"1"})}),S.jsx(ke,{primary:"Add Your Website",secondary:"Click the 'Add Website' button in the header to register your domain"})]}),S.jsxs(we,{children:[S.jsx(Ce,{children:S.jsx(ut,{sx:{width:24,height:24,borderRadius:"50%",backgroundColor:"primary.main",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"0.875rem",fontWeight:"bold"},children:"2"})}),S.jsx(ke,{primary:"Install Integration",secondary:"Follow the platform-specific instructions in Settings to integrate Smart Prefetch"})]}),S.jsxs(we,{children:[S.jsx(Ce,{children:S.jsx(ut,{sx:{width:24,height:24,borderRadius:"50%",backgroundColor:"primary.main",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"0.875rem",fontWeight:"bold"},children:"3"})}),S.jsx(ke,{primary:"Monitor Performance",secondary:"View your prefetch analytics and performance improvements in the Report section"})]})]})]})}),S.jsxs(ut,{sx:{mb:4},children:[S.jsx(X,{variant:"h5",gutterBottom:!0,children:"Frequently Asked Questions"}),S.jsx(or,{container:!0,spacing:2,children:e.map((n,i)=>S.jsx(or,{item:!0,xs:12,children:S.jsx(_r,{children:S.jsx(Fr,{children:S.jsxs(ut,{sx:{display:"flex",alignItems:"flex-start",gap:2},children:[S.jsx(hm,{sx:{color:"primary.main",mt:.5}}),S.jsxs(ut,{children:[S.jsx(X,{variant:"h6",gutterBottom:!0,children:n.question}),S.jsx(X,{variant:"body2",color:"text.secondary",children:n.answer})]})]})})})},i))})]}),S.jsx(_r,{children:S.jsxs(Fr,{children:[S.jsx(X,{variant:"h5",gutterBottom:!0,children:"Additional Resources"}),S.jsxs(or,{container:!0,spacing:2,children:[S.jsxs(or,{item:!0,xs:12,md:4,children:[S.jsxs(ut,{sx:{display:"flex",alignItems:"center",gap:2,mb:2},children:[S.jsx(lm,{sx:{color:"primary.main"}}),S.jsx(X,{variant:"h6",children:"Developer Docs"})]}),S.jsx(X,{variant:"body2",color:"text.secondary",children:"Technical documentation and API references for custom integrations."})]}),S.jsxs(or,{item:!0,xs:12,md:4,children:[S.jsxs(ut,{sx:{display:"flex",alignItems:"center",gap:2,mb:2},children:[S.jsx(ec,{sx:{color:"primary.main"}}),S.jsx(X,{variant:"h6",children:"Integration Guides"})]}),S.jsx(X,{variant:"body2",color:"text.secondary",children:"Step-by-step guides for WordPress, Shopify, and custom implementations."})]}),S.jsxs(or,{item:!0,xs:12,md:4,children:[S.jsxs(ut,{sx:{display:"flex",alignItems:"center",gap:2,mb:2},children:[S.jsx(Bo,{sx:{color:"primary.main"}}),S.jsx(X,{variant:"h6",children:"Performance Tips"})]}),S.jsx(X,{variant:"body2",color:"text.secondary",children:"Best practices to maximize your website's performance improvements."})]})]})]})})]})};function jn(t){let e="https://mui.com/production-error/?code="+t;for(let n=1;n<arguments.length;n+=1)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+t+"; visit "+e+" for the full message."}const Dm=Object.freeze(Object.defineProperty({__proto__:null,default:jn},Symbol.toStringTag,{value:"Module"}));function Zt(){return Zt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Zt.apply(null,arguments)}function Vr(t,e){if(t==null)return{};var n={};for(var i in t)if({}.hasOwnProperty.call(t,i)){if(e.indexOf(i)!==-1)continue;n[i]=t[i]}return n}var ss,sc;function Lm(){if(sc)return ss;sc=1;var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ss=t,ss}var as,ac;function Wm(){if(ac)return as;ac=1;var t=Lm();function e(){}function n(){}return n.resetWarningCache=e,as=function(){function i(c,d,f,g,x,T){if(T!==t){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}i.isRequired=i;function s(){return i}var l={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:s,element:i,elementType:i,instanceOf:s,node:i,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:n,resetWarningCache:e};return l.PropTypes=l,l},as}Wm()();function Hr(t){if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function lc(t){if(O.isValidElement(t)||!Hr(t))return t;const e={};return Object.keys(t).forEach(n=>{e[n]=lc(t[n])}),e}function qe(t,e,n={clone:!0}){const i=n.clone?Zt({},t):t;return Hr(t)&&Hr(e)&&Object.keys(e).forEach(s=>{O.isValidElement(e[s])?i[s]=e[s]:Hr(e[s])&&Object.prototype.hasOwnProperty.call(t,s)&&Hr(t[s])?i[s]=qe(t[s],e[s],n):n.clone?i[s]=Hr(e[s])?lc(e[s]):e[s]:i[s]=e[s]}),i}const Um=["values","unit","step"],Vm=t=>{const e=Object.keys(t).map(n=>({key:n,val:t[n]}))||[];return e.sort((n,i)=>n.val-i.val),e.reduce((n,i)=>Zt({},n,{[i.key]:i.val}),{})};function Hm(t){const{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:i=5}=t,s=Vr(t,Um),l=Vm(e),c=Object.keys(l);function d(m){return`@media (min-width:${typeof e[m]=="number"?e[m]:m}${n})`}function f(m){return`@media (max-width:${(typeof e[m]=="number"?e[m]:m)-i/100}${n})`}function g(m,M){const R=c.indexOf(M);return`@media (min-width:${typeof e[m]=="number"?e[m]:m}${n}) and (max-width:${(R!==-1&&typeof e[c[R]]=="number"?e[c[R]]:M)-i/100}${n})`}function x(m){return c.indexOf(m)+1<c.length?g(m,c[c.indexOf(m)+1]):d(m)}function T(m){const M=c.indexOf(m);return M===0?d(c[1]):M===c.length-1?f(c[M]):g(m,c[c.indexOf(m)+1]).replace("@media","@media not all and")}return Zt({keys:c,values:l,up:d,down:f,between:g,only:x,not:T,unit:n},s)}const Gm={borderRadius:4},Km=Gm;function $n(t,e){return e?qe(t,e,{clone:!1}):t}const ls={xs:0,sm:600,md:900,lg:1200,xl:1536},cc={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${ls[t]}px)`};function Ye(t,e,n){const i=t.theme||{};if(Array.isArray(e)){const s=i.breakpoints||cc;return e.reduce((l,c,d)=>(l[s.up(s.keys[d])]=n(e[d]),l),{})}if(typeof e=="object"){const s=i.breakpoints||cc;return Object.keys(e).reduce((l,c)=>{if(Object.keys(s.values||ls).indexOf(c)!==-1){const d=s.up(c);l[d]=n(e[c],c)}else{const d=c;l[d]=e[d]}return l},{})}return n(e)}function qm(t={}){var e;return((e=t.keys)==null?void 0:e.reduce((n,i)=>{const s=t.up(i);return n[s]={},n},{}))||{}}function Ym(t,e){return t.reduce((n,i)=>{const s=n[i];return(!s||Object.keys(s).length===0)&&delete n[i],n},e)}function uc(t){if(typeof t!="string")throw new Error(jn(7));return t.charAt(0).toUpperCase()+t.slice(1)}function zo(t,e,n=!0){if(!e||typeof e!="string")return null;if(t&&t.vars&&n){const i=`vars.${e}`.split(".").reduce((s,l)=>s&&s[l]?s[l]:null,t);if(i!=null)return i}return e.split(".").reduce((i,s)=>i&&i[s]!=null?i[s]:null,t)}function No(t,e,n,i=n){let s;return typeof t=="function"?s=t(n):Array.isArray(t)?s=t[n]||i:s=zo(t,n)||i,e&&(s=e(s,i,t)),s}function Ut(t){const{prop:e,cssProperty:n=t.prop,themeKey:i,transform:s}=t,l=c=>{if(c[e]==null)return null;const d=c[e],f=c.theme,g=zo(f,i)||{};return Ye(c,d,x=>{let T=No(g,s,x);return x===T&&typeof x=="string"&&(T=No(g,s,`${e}${x==="default"?"":uc(x)}`,x)),n===!1?T:{[n]:T}})};return l.propTypes={},l.filterProps=[e],l}function Xm(t){const e={};return n=>(e[n]===void 0&&(e[n]=t(n)),e[n])}const Zm={m:"margin",p:"padding"},Jm={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},pc={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Qm=Xm(t=>{if(t.length>2)if(pc[t])t=pc[t];else return[t];const[e,n]=t.split(""),i=Zm[e],s=Jm[n]||"";return Array.isArray(s)?s.map(l=>i+l):[i+s]}),cs=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],us=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...cs,...us];function Mn(t,e,n,i){var s;const l=(s=zo(t,e,!1))!=null?s:n;return typeof l=="number"?c=>typeof c=="string"?c:l*c:Array.isArray(l)?c=>typeof c=="string"?c:l[c]:typeof l=="function"?l:()=>{}}function dc(t){return Mn(t,"spacing",8)}function An(t,e){if(typeof e=="string"||e==null)return e;const n=Math.abs(e),i=t(n);return e>=0?i:typeof i=="number"?-i:`-${i}`}function tb(t,e){return n=>t.reduce((i,s)=>(i[s]=An(e,n),i),{})}function eb(t,e,n,i){if(e.indexOf(n)===-1)return null;const s=Qm(n),l=tb(s,i),c=t[n];return Ye(t,c,l)}function fc(t,e){const n=dc(t.theme);return Object.keys(t).map(i=>eb(t,e,i,n)).reduce($n,{})}function Nt(t){return fc(t,cs)}Nt.propTypes={},Nt.filterProps=cs;function _t(t){return fc(t,us)}_t.propTypes={},_t.filterProps=us;function rb(t=8){if(t.mui)return t;const e=dc({spacing:t}),n=(...i)=>(i.length===0?[1]:i).map(s=>{const l=e(s);return typeof l=="number"?`${l}px`:l}).join(" ");return n.mui=!0,n}function _o(...t){const e=t.reduce((i,s)=>(s.filterProps.forEach(l=>{i[l]=s}),i),{}),n=i=>Object.keys(i).reduce((s,l)=>e[l]?$n(s,e[l](i)):s,{});return n.propTypes={},n.filterProps=t.reduce((i,s)=>i.concat(s.filterProps),[]),n}function Re(t){return typeof t!="number"?t:`${t}px solid`}function Te(t,e){return Ut({prop:t,themeKey:"borders",transform:e})}const nb=Te("border",Re),ob=Te("borderTop",Re),ib=Te("borderRight",Re),sb=Te("borderBottom",Re),ab=Te("borderLeft",Re),lb=Te("borderColor"),cb=Te("borderTopColor"),ub=Te("borderRightColor"),pb=Te("borderBottomColor"),db=Te("borderLeftColor"),fb=Te("outline",Re),hb=Te("outlineColor"),Fo=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const e=Mn(t.theme,"shape.borderRadius",4),n=i=>({borderRadius:An(e,i)});return Ye(t,t.borderRadius,n)}return null};Fo.propTypes={},Fo.filterProps=["borderRadius"],_o(nb,ob,ib,sb,ab,lb,cb,ub,pb,db,Fo,fb,hb);const Do=t=>{if(t.gap!==void 0&&t.gap!==null){const e=Mn(t.theme,"spacing",8),n=i=>({gap:An(e,i)});return Ye(t,t.gap,n)}return null};Do.propTypes={},Do.filterProps=["gap"];const Lo=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const e=Mn(t.theme,"spacing",8),n=i=>({columnGap:An(e,i)});return Ye(t,t.columnGap,n)}return null};Lo.propTypes={},Lo.filterProps=["columnGap"];const Wo=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const e=Mn(t.theme,"spacing",8),n=i=>({rowGap:An(e,i)});return Ye(t,t.rowGap,n)}return null};Wo.propTypes={},Wo.filterProps=["rowGap"];const yb=Ut({prop:"gridColumn"}),gb=Ut({prop:"gridRow"}),mb=Ut({prop:"gridAutoFlow"}),bb=Ut({prop:"gridAutoColumns"}),vb=Ut({prop:"gridAutoRows"}),xb=Ut({prop:"gridTemplateColumns"}),Sb=Ut({prop:"gridTemplateRows"}),wb=Ut({prop:"gridTemplateAreas"}),Cb=Ut({prop:"gridArea"});_o(Do,Lo,Wo,yb,gb,mb,bb,vb,xb,Sb,wb,Cb);function Gr(t,e){return e==="grey"?e:t}const kb=Ut({prop:"color",themeKey:"palette",transform:Gr}),Rb=Ut({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Gr}),Tb=Ut({prop:"backgroundColor",themeKey:"palette",transform:Gr});_o(kb,Rb,Tb);function ue(t){return t<=1&&t!==0?`${t*100}%`:t}const Eb=Ut({prop:"width",transform:ue}),ps=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const e=n=>{var i,s;const l=((i=t.theme)==null||(i=i.breakpoints)==null||(i=i.values)==null?void 0:i[n])||ls[n];return l?((s=t.theme)==null||(s=s.breakpoints)==null?void 0:s.unit)!=="px"?{maxWidth:`${l}${t.theme.breakpoints.unit}`}:{maxWidth:l}:{maxWidth:ue(n)}};return Ye(t,t.maxWidth,e)}return null};ps.filterProps=["maxWidth"];const jb=Ut({prop:"minWidth",transform:ue}),$b=Ut({prop:"height",transform:ue}),Mb=Ut({prop:"maxHeight",transform:ue}),Ab=Ut({prop:"minHeight",transform:ue});Ut({prop:"size",cssProperty:"width",transform:ue}),Ut({prop:"size",cssProperty:"height",transform:ue});const Pb=Ut({prop:"boxSizing"});_o(Eb,ps,jb,$b,Mb,Ab,Pb);const Ob={border:{themeKey:"borders",transform:Re},borderTop:{themeKey:"borders",transform:Re},borderRight:{themeKey:"borders",transform:Re},borderBottom:{themeKey:"borders",transform:Re},borderLeft:{themeKey:"borders",transform:Re},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Re},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Fo},color:{themeKey:"palette",transform:Gr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Gr},backgroundColor:{themeKey:"palette",transform:Gr},p:{style:_t},pt:{style:_t},pr:{style:_t},pb:{style:_t},pl:{style:_t},px:{style:_t},py:{style:_t},padding:{style:_t},paddingTop:{style:_t},paddingRight:{style:_t},paddingBottom:{style:_t},paddingLeft:{style:_t},paddingX:{style:_t},paddingY:{style:_t},paddingInline:{style:_t},paddingInlineStart:{style:_t},paddingInlineEnd:{style:_t},paddingBlock:{style:_t},paddingBlockStart:{style:_t},paddingBlockEnd:{style:_t},m:{style:Nt},mt:{style:Nt},mr:{style:Nt},mb:{style:Nt},ml:{style:Nt},mx:{style:Nt},my:{style:Nt},margin:{style:Nt},marginTop:{style:Nt},marginRight:{style:Nt},marginBottom:{style:Nt},marginLeft:{style:Nt},marginX:{style:Nt},marginY:{style:Nt},marginInline:{style:Nt},marginInlineStart:{style:Nt},marginInlineEnd:{style:Nt},marginBlock:{style:Nt},marginBlockStart:{style:Nt},marginBlockEnd:{style:Nt},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Do},rowGap:{style:Wo},columnGap:{style:Lo},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ue},maxWidth:{style:ps},minWidth:{transform:ue},height:{transform:ue},maxHeight:{transform:ue},minHeight:{transform:ue},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},ds=Ob;function Ib(...t){const e=t.reduce((i,s)=>i.concat(Object.keys(s)),[]),n=new Set(e);return t.every(i=>n.size===Object.keys(i).length)}function Bb(t,e){return typeof t=="function"?t(e):t}function zb(){function t(n,i,s,l){const c={[n]:i,theme:s},d=l[n];if(!d)return{[n]:i};const{cssProperty:f=n,themeKey:g,transform:x,style:T}=d;if(i==null)return null;if(g==="typography"&&i==="inherit")return{[n]:i};const m=zo(s,g)||{};return T?T(c):Ye(c,i,M=>{let R=No(m,x,M);return M===R&&typeof M=="string"&&(R=No(m,x,`${n}${M==="default"?"":uc(M)}`,M)),f===!1?R:{[f]:R}})}function e(n){var i;const{sx:s,theme:l={}}=n||{};if(!s)return null;const c=(i=l.unstable_sxConfig)!=null?i:ds;function d(f){let g=f;if(typeof f=="function")g=f(l);else if(typeof f!="object")return f;if(!g)return null;const x=qm(l.breakpoints),T=Object.keys(x);let m=x;return Object.keys(g).forEach(M=>{const R=Bb(g[M],l);if(R!=null)if(typeof R=="object")if(c[M])m=$n(m,t(M,R,l,c));else{const E=Ye({theme:l},R,A=>({[M]:A}));Ib(E,R)?m[M]=e({sx:R,theme:l}):m=$n(m,E)}else m=$n(m,t(M,R,l,c))}),Ym(T,m)}return Array.isArray(s)?s.map(d):d(s)}return e}const hc=zb();hc.filterProps=["sx"];const yc=hc;function Nb(t,e){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(t).replace(/(\[[^\]]+\])/,"*:where($1)")]:e}:n.palette.mode===t?e:{}}const _b=["breakpoints","palette","spacing","shape"];function Fb(t={},...e){const{breakpoints:n={},palette:i={},spacing:s,shape:l={}}=t,c=Vr(t,_b),d=Hm(n),f=rb(s);let g=qe({breakpoints:d,direction:"ltr",components:{},palette:Zt({mode:"light"},i),spacing:f,shape:Zt({},Km,l)},c);return g.applyStyles=Nb,g=e.reduce((x,T)=>qe(x,T),g),g.unstable_sxConfig=Zt({},ds,c==null?void 0:c.unstable_sxConfig),g.unstable_sx=function(x){return yc({sx:x,theme:this})},g}function Db(t,e=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(e,Math.min(t,n))}const Lb=Object.freeze(Object.defineProperty({__proto__:null,default:Db},Symbol.toStringTag,{value:"Module"}));function Wb(t,e){return Zt({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},e)}var Vt={},gc={exports:{}};(function(t){function e(n){return n&&n.__esModule?n:{default:n}}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})(gc);var Ub=gc.exports;const Vb=nc(Dm),Hb=nc(Lb);var mc=Ub;Object.defineProperty(Vt,"__esModule",{value:!0}),Vt.alpha=wc,Vt.blend=o1,Vt.colorChannel=void 0;var Gb=Vt.darken=hs;Vt.decomposeColor=Ee,Vt.emphasize=Cc;var Kb=Vt.getContrastRatio=Qb;Vt.getLuminance=Uo,Vt.hexToRgb=vc,Vt.hslToRgb=Sc;var qb=Vt.lighten=ys;Vt.private_safeAlpha=t1,Vt.private_safeColorChannel=void 0,Vt.private_safeDarken=e1,Vt.private_safeEmphasize=n1,Vt.private_safeLighten=r1,Vt.recomposeColor=Kr,Vt.rgbToHex=Jb;var bc=mc(Vb),Yb=mc(Hb);function fs(t,e=0,n=1){return(0,Yb.default)(t,e,n)}function vc(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let n=t.match(e);return n&&n[0].length===1&&(n=n.map(i=>i+i)),n?`rgb${n.length===4?"a":""}(${n.map((i,s)=>s<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function Xb(t){const e=t.toString(16);return e.length===1?`0${e}`:e}function Ee(t){if(t.type)return t;if(t.charAt(0)==="#")return Ee(vc(t));const e=t.indexOf("("),n=t.substring(0,e);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,bc.default)(9,t));let i=t.substring(e+1,t.length-1),s;if(n==="color"){if(i=i.split(" "),s=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(s)===-1)throw new Error((0,bc.default)(10,s))}else i=i.split(",");return i=i.map(l=>parseFloat(l)),{type:n,values:i,colorSpace:s}}const xc=t=>{const e=Ee(t);return e.values.slice(0,3).map((n,i)=>e.type.indexOf("hsl")!==-1&&i!==0?`${n}%`:n).join(" ")};Vt.colorChannel=xc;const Zb=(t,e)=>{try{return xc(t)}catch{return t}};Vt.private_safeColorChannel=Zb;function Kr(t){const{type:e,colorSpace:n}=t;let{values:i}=t;return e.indexOf("rgb")!==-1?i=i.map((s,l)=>l<3?parseInt(s,10):s):e.indexOf("hsl")!==-1&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),e.indexOf("color")!==-1?i=`${n} ${i.join(" ")}`:i=`${i.join(", ")}`,`${e}(${i})`}function Jb(t){if(t.indexOf("#")===0)return t;const{values:e}=Ee(t);return`#${e.map((n,i)=>Xb(i===3?Math.round(255*n):n)).join("")}`}function Sc(t){t=Ee(t);const{values:e}=t,n=e[0],i=e[1]/100,s=e[2]/100,l=i*Math.min(s,1-s),c=(g,x=(g+n/30)%12)=>s-l*Math.max(Math.min(x-3,9-x,1),-1);let d="rgb";const f=[Math.round(c(0)*255),Math.round(c(8)*255),Math.round(c(4)*255)];return t.type==="hsla"&&(d+="a",f.push(e[3])),Kr({type:d,values:f})}function Uo(t){t=Ee(t);let e=t.type==="hsl"||t.type==="hsla"?Ee(Sc(t)).values:t.values;return e=e.map(n=>(t.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function Qb(t,e){const n=Uo(t),i=Uo(e);return(Math.max(n,i)+.05)/(Math.min(n,i)+.05)}function wc(t,e){return t=Ee(t),e=fs(e),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${e}`:t.values[3]=e,Kr(t)}function t1(t,e,n){try{return wc(t,e)}catch{return t}}function hs(t,e){if(t=Ee(t),e=fs(e),t.type.indexOf("hsl")!==-1)t.values[2]*=1-e;else if(t.type.indexOf("rgb")!==-1||t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]*=1-e;return Kr(t)}function e1(t,e,n){try{return hs(t,e)}catch{return t}}function ys(t,e){if(t=Ee(t),e=fs(e),t.type.indexOf("hsl")!==-1)t.values[2]+=(100-t.values[2])*e;else if(t.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return Kr(t)}function r1(t,e,n){try{return ys(t,e)}catch{return t}}function Cc(t,e=.15){return Uo(t)>.5?hs(t,e):ys(t,e)}function n1(t,e,n){try{return Cc(t,e)}catch{return t}}function o1(t,e,n,i=1){const s=(f,g)=>Math.round((f**(1/i)*(1-n)+g**(1/i)*n)**i),l=Ee(t),c=Ee(e),d=[s(l.values[0],c.values[0]),s(l.values[1],c.values[1]),s(l.values[2],c.values[2])];return Kr({type:"rgb",values:d})}const i1={black:"#000",white:"#fff"},Pn=i1,s1={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"},a1=s1,l1={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"},qr=l1,c1={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"},Yr=c1,u1={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"},On=u1,p1={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"},Xr=p1,d1={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"},Zr=d1,f1={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"},Jr=f1,h1=["mode","contrastThreshold","tonalOffset"],kc={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:Pn.white,default:Pn.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}},gs={text:{primary:Pn.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:Pn.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 Rc(t,e,n,i){const s=i.light||i,l=i.dark||i*1.5;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:e==="light"?t.light=qb(t.main,s):e==="dark"&&(t.dark=Gb(t.main,l)))}function y1(t="light"){return t==="dark"?{main:Xr[200],light:Xr[50],dark:Xr[400]}:{main:Xr[700],light:Xr[400],dark:Xr[800]}}function g1(t="light"){return t==="dark"?{main:qr[200],light:qr[50],dark:qr[400]}:{main:qr[500],light:qr[300],dark:qr[700]}}function m1(t="light"){return t==="dark"?{main:Yr[500],light:Yr[300],dark:Yr[700]}:{main:Yr[700],light:Yr[400],dark:Yr[800]}}function b1(t="light"){return t==="dark"?{main:Zr[400],light:Zr[300],dark:Zr[700]}:{main:Zr[700],light:Zr[500],dark:Zr[900]}}function v1(t="light"){return t==="dark"?{main:Jr[400],light:Jr[300],dark:Jr[700]}:{main:Jr[800],light:Jr[500],dark:Jr[900]}}function x1(t="light"){return t==="dark"?{main:On[400],light:On[300],dark:On[700]}:{main:"#ed6c02",light:On[500],dark:On[900]}}function S1(t){const{mode:e="light",contrastThreshold:n=3,tonalOffset:i=.2}=t,s=Vr(t,h1),l=t.primary||y1(e),c=t.secondary||g1(e),d=t.error||m1(e),f=t.info||b1(e),g=t.success||v1(e),x=t.warning||x1(e);function T(R){return Kb(R,gs.text.primary)>=n?gs.text.primary:kc.text.primary}const m=({color:R,name:E,mainShade:A=500,lightShade:h=300,darkShade:$=700})=>{if(R=Zt({},R),!R.main&&R[A]&&(R.main=R[A]),!R.hasOwnProperty("main"))throw new Error(jn(11,E?` (${E})`:"",A));if(typeof R.main!="string")throw new Error(jn(12,E?` (${E})`:"",JSON.stringify(R.main)));return Rc(R,"light",h,i),Rc(R,"dark",$,i),R.contrastText||(R.contrastText=T(R.main)),R},M={dark:gs,light:kc};return qe(Zt({common:Zt({},Pn),mode:e,primary:m({color:l,name:"primary"}),secondary:m({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:d,name:"error"}),warning:m({color:x,name:"warning"}),info:m({color:f,name:"info"}),success:m({color:g,name:"success"}),grey:a1,contrastThreshold:n,getContrastText:T,augmentColor:m,tonalOffset:i},M[e]),s)}const w1=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function C1(t){return Math.round(t*1e5)/1e5}const Tc={textTransform:"uppercase"},Ec='"Roboto", "Helvetica", "Arial", sans-serif';function k1(t,e){const n=typeof e=="function"?e(t):e,{fontFamily:i=Ec,fontSize:s=14,fontWeightLight:l=300,fontWeightRegular:c=400,fontWeightMedium:d=500,fontWeightBold:f=700,htmlFontSize:g=16,allVariants:x,pxToRem:T}=n,m=Vr(n,w1),M=s/14,R=T||(h=>`${h/g*M}rem`),E=(h,$,z,D,L)=>Zt({fontFamily:i,fontWeight:h,fontSize:R($),lineHeight:z},i===Ec?{letterSpacing:`${C1(D/$)}em`}:{},L,x),A={h1:E(l,96,1.167,-1.5),h2:E(l,60,1.2,-.5),h3:E(c,48,1.167,0),h4:E(c,34,1.235,.25),h5:E(c,24,1.334,0),h6:E(d,20,1.6,.15),subtitle1:E(c,16,1.75,.15),subtitle2:E(d,14,1.57,.1),body1:E(c,16,1.5,.15),body2:E(c,14,1.43,.15),button:E(d,14,1.75,.4,Tc),caption:E(c,12,1.66,.4),overline:E(c,12,2.66,1,Tc),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return qe(Zt({htmlFontSize:g,pxToRem:R,fontFamily:i,fontSize:s,fontWeightLight:l,fontWeightRegular:c,fontWeightMedium:d,fontWeightBold:f},A),m,{clone:!1})}const R1=.2,T1=.14,E1=.12;function Ot(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${R1})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${T1})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${E1})`].join(",")}const j1=["none",Ot(0,2,1,-1,0,1,1,0,0,1,3,0),Ot(0,3,1,-2,0,2,2,0,0,1,5,0),Ot(0,3,3,-2,0,3,4,0,0,1,8,0),Ot(0,2,4,-1,0,4,5,0,0,1,10,0),Ot(0,3,5,-1,0,5,8,0,0,1,14,0),Ot(0,3,5,-1,0,6,10,0,0,1,18,0),Ot(0,4,5,-2,0,7,10,1,0,2,16,1),Ot(0,5,5,-3,0,8,10,1,0,3,14,2),Ot(0,5,6,-3,0,9,12,1,0,3,16,2),Ot(0,6,6,-3,0,10,14,1,0,4,18,3),Ot(0,6,7,-4,0,11,15,1,0,4,20,3),Ot(0,7,8,-4,0,12,17,2,0,5,22,4),Ot(0,7,8,-4,0,13,19,2,0,5,24,4),Ot(0,7,9,-4,0,14,21,2,0,5,26,4),Ot(0,8,9,-5,0,15,22,2,0,6,28,5),Ot(0,8,10,-5,0,16,24,2,0,6,30,5),Ot(0,8,11,-5,0,17,26,2,0,6,32,5),Ot(0,9,11,-5,0,18,28,2,0,7,34,6),Ot(0,9,12,-6,0,19,29,2,0,7,36,6),Ot(0,10,13,-6,0,20,31,3,0,8,38,7),Ot(0,10,13,-6,0,21,33,3,0,8,40,7),Ot(0,10,14,-6,0,22,35,3,0,8,42,7),Ot(0,11,14,-7,0,23,36,3,0,9,44,8),Ot(0,11,15,-7,0,24,38,3,0,9,46,8)],$1=j1,M1=["duration","easing","delay"],A1={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)"},P1={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function jc(t){return`${Math.round(t)}ms`}function O1(t){if(!t)return 0;const e=t/36;return Math.round((4+15*e**.25+e/5)*10)}function I1(t){const e=Zt({},A1,t.easing),n=Zt({},P1,t.duration);return Zt({getAutoHeightDuration:O1,create:(i=["all"],s={})=>{const{duration:l=n.standard,easing:c=e.easeInOut,delay:d=0}=s;return Vr(s,M1),(Array.isArray(i)?i:[i]).map(f=>`${f} ${typeof l=="string"?l:jc(l)} ${c} ${typeof d=="string"?d:jc(d)}`).join(",")}},t,{easing:e,duration:n})}const B1={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},z1=B1,N1=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function _1(t={},...e){const{mixins:n={},palette:i={},transitions:s={},typography:l={}}=t,c=Vr(t,N1);if(t.vars&&t.generateCssVars===void 0)throw new Error(jn(18));const d=S1(i),f=Fb(t);let g=qe(f,{mixins:Wb(f.breakpoints,n),palette:d,shadows:$1.slice(),typography:k1(d,l),transitions:I1(s),zIndex:Zt({},z1)});return g=qe(g,c),g=e.reduce((x,T)=>qe(x,T),g),g.unstable_sxConfig=Zt({},ds,c==null?void 0:c.unstable_sxConfig),g.unstable_sx=function(x){return yc({sx:x,theme:this})},g}const F1=_1({palette:{mode:"light",primary:{main:"#008080",light:"#4db6ac",dark:"#004d40",contrastText:"#ffffff"},secondary:{main:"#ff6b35",light:"#ff9a66",dark:"#c73e00",contrastText:"#ffffff"},background:{default:"#fafafa",paper:"#ffffff"},text:{primary:"#2c3e50",secondary:"#546e7a"},error:{main:"#e74c3c"},warning:{main:"#f39c12"},info:{main:"#3498db"},success:{main:"#27ae60"},divider:"#e0e0e0"},typography:{fontFamily:'"Inter", "Roboto", "Helvetica", "Arial", sans-serif',h1:{fontWeight:700,fontSize:"2.5rem",lineHeight:1.2,letterSpacing:"-0.02em"},h2:{fontWeight:600,fontSize:"2rem",lineHeight:1.3,letterSpacing:"-0.01em"},h3:{fontWeight:600,fontSize:"1.5rem",lineHeight:1.4},h4:{fontWeight:600,fontSize:"1.25rem",lineHeight:1.4},h5:{fontWeight:600,fontSize:"1.125rem",lineHeight:1.4},h6:{fontWeight:600,fontSize:"1rem",lineHeight:1.4},body1:{fontSize:"1rem",lineHeight:1.6},body2:{fontSize:"0.875rem",lineHeight:1.6},button:{textTransform:"none",fontWeight:600,letterSpacing:"0.02em"}},shape:{borderRadius:12},components:{MuiButton:{styleOverrides:{root:{borderRadius:8,padding:"10px 24px",fontSize:"0.875rem",fontWeight:600,boxShadow:"none","&:hover":{boxShadow:"0 4px 12px rgba(0, 128, 128, 0.2)"}},contained:{background:"linear-gradient(45deg, #008080 30%, #4db6ac 90%)","&:hover":{background:"linear-gradient(45deg, #004d40 30%, #008080 90%)"}}}},MuiCard:{styleOverrides:{root:{borderRadius:16,boxShadow:"0 2px 20px rgba(0, 0, 0, 0.05)",border:"1px solid rgba(0, 0, 0, 0.05)","&:hover":{boxShadow:"0 4px 28px rgba(0, 0, 0, 0.1)"}}}},MuiPaper:{styleOverrides:{root:{borderRadius:12,boxShadow:"0 1px 8px rgba(0, 0, 0, 0.05)"}}},MuiAppBar:{styleOverrides:{root:{backgroundColor:"#ffffff",color:"#2c3e50",boxShadow:"0 1px 4px rgba(0, 0, 0, 0.05)",backdropFilter:"blur(8px)"}}},MuiChip:{styleOverrides:{root:{borderRadius:8,fontWeight:500},filled:{backgroundColor:"rgba(0, 128, 128, 0.1)",color:"#004d40"}}},MuiTextField:{styleOverrides:{root:{"& .MuiOutlinedInput-root":{borderRadius:8,"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"#008080"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"#008080"}}}}},MuiDialog:{styleOverrides:{paper:{borderRadius:16,boxShadow:"0 8px 32px rgba(0, 0, 0, 0.12)"}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:"rgba(0, 128, 128, 0.05)","& .MuiTableCell-head":{fontWeight:600,color:"#004d40"}}}},MuiTableRow:{styleOverrides:{root:{"&:hover":{backgroundColor:"rgba(0, 128, 128, 0.02)"}}}}}});function $c({children:t,value:e,index:n,...i}){return B.jsx("div",{role:"tabpanel",hidden:e!==n,id:`simple-tabpanel-${n}`,"aria-labelledby":`simple-tab-${n}`,...i,children:e===n&&B.jsx(ut,{sx:{p:3},children:t})})}const D1=({selectedDomain:t,jwt:e,onAuthenticationFailed:n})=>{const[i,s]=mt.useState(0),l=(c,d)=>{s(d)};return B.jsxs(ph,{theme:F1,children:[B.jsx(Zy,{}),B.jsx(zm,{variant:"full"}),B.jsxs(ut,{sx:{width:"100%"},children:[B.jsx(ut,{sx:{borderBottom:1,borderColor:"divider"},children:B.jsxs(im,{value:i,onChange:l,"aria-label":"Smart Prefetch tabs",children:[B.jsx(Fl,{label:"Report",id:"tab-0","aria-controls":"simple-tabpanel-0"}),B.jsx(Fl,{label:"Help",id:"tab-1","aria-controls":"simple-tabpanel-1"})]})}),B.jsxs($c,{value:i,index:0,children:[B.jsx(Bm,{selectedDomain:t,jwt:e||null,onAuthenticationFailed:n,showDashboardLink:!0}),B.jsx(_m,{}),B.jsx(Nm,{})]})," ",B.jsx($c,{value:i,index:1,children:B.jsx(Fm,{})})]})]})};function L1(t){const e=document.getElementById("smart_prefetch_root");if(!e){console.warn('Smart Prefetch: Container with id "smart_prefetch_root" not found');return}pi.createRoot(e).render(mt.createElement(D1,t))}er.Init=L1,Object.defineProperty(er,Symbol.toStringTag,{value:"Module"})});165 */var Uu;function C1(){if(Uu)return go;Uu=1;var t=St,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function c(p,d,g){var m,S={},y=null,j=null;g!==void 0&&(y=""+g),d.key!==void 0&&(y=""+d.key),d.ref!==void 0&&(j=d.ref);for(m in d)o.call(d,m)&&!a.hasOwnProperty(m)&&(S[m]=d[m]);if(p&&p.defaultProps)for(m in d=p.defaultProps,d)S[m]===void 0&&(S[m]=d[m]);return{$$typeof:e,type:p,key:y,ref:j,props:S,_owner:s.current}}return go.Fragment=n,go.jsx=c,go.jsxs=c,go}Wu.exports=C1();var v=Wu.exports,$={};(function(t){var e=typeof Object.defineProperties=="function"?Object.defineProperty:function(r,i,l){r!=Array.prototype&&r!=Object.prototype&&(r[i]=l.value)},n=_u;function o(r,i){if(i){var l=n;r=r.split(".");for(var f=0;f<r.length-1;f++){var R=r[f];R in l||(l[R]={}),l=l[R]}r=r[r.length-1],f=l[r],i=i(f),i!=f&&i!=null&&e(l,r,{configurable:!0,writable:!0,value:i})}}function s(r){var i=0;return function(){return i<r.length?{done:!1,value:r[i++]}:{done:!0}}}function a(){a=function(){},n.Symbol||(n.Symbol=p)}function c(r,i){this.a=r,e(this,"description",{configurable:!0,writable:!0,value:i})}c.prototype.toString=function(){return this.a};var p=function(){function r(l){if(this instanceof r)throw new TypeError("Symbol is not a constructor");return new c("jscomp_symbol_"+(l||"")+"_"+i++,l)}var i=0;return r}();function d(){a();var r=n.Symbol.iterator;r||(r=n.Symbol.iterator=n.Symbol("Symbol.iterator")),typeof Array.prototype[r]!="function"&&e(Array.prototype,r,{configurable:!0,writable:!0,value:function(){return g(s(this))}}),d=function(){}}function g(r){return d(),r={next:r},r[n.Symbol.iterator]=function(){return this},r}function m(r,i){d(),r instanceof String&&(r+="");var l=0,f={next:function(){if(l<r.length){var R=l++;return{value:i(R,r[R]),done:!1}}return f.next=function(){return{done:!0,value:void 0}},f.next()}};return f[Symbol.iterator]=function(){return f},f}o("Array.prototype.entries",function(r){return r||function(){return m(this,function(i,l){return[i,l]})}});var S=_u||self;function y(r,i,l){r=r.split("."),l=l||S,r[0]in l||typeof l.execScript>"u"||l.execScript("var "+r[0]);for(var f;r.length&&(f=r.shift());)r.length||i===void 0?l[f]&&l[f]!==Object.prototype[f]?l=l[f]:l=l[f]={}:l[f]=i}function j(r){var i=typeof r;if(i=="object")if(r){if(r instanceof Array)return"array";if(r instanceof Object)return i;var l=Object.prototype.toString.call(r);if(l=="[object Window]")return"object";if(l=="[object Array]"||typeof r.length=="number"&&typeof r.splice<"u"&&typeof r.propertyIsEnumerable<"u"&&!r.propertyIsEnumerable("splice"))return"array";if(l=="[object Function]"||typeof r.call<"u"&&typeof r.propertyIsEnumerable<"u"&&!r.propertyIsEnumerable("call"))return"function"}else return"null";else if(i=="function"&&typeof r.call>"u")return"object";return i}function k(r){var i=typeof r;return i=="object"&&r!=null||i=="function"}function E(r,i,l){y(r,i,l)}function A(r,i){function l(){}l.prototype=i.prototype,r.prototype=new l,r.prototype.constructor=r}var h="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function P(r,i){for(var l,f,R=1;R<arguments.length;R++){f=arguments[R];for(l in f)r[l]=f[l];for(var O=0;O<h.length;O++)l=h[O],Object.prototype.hasOwnProperty.call(f,l)&&(r[l]=f[l])}}var D=Array.prototype.forEach?function(r,i){Array.prototype.forEach.call(r,i,void 0)}:function(r,i){for(var l=r.length,f=typeof r=="string"?r.split(""):r,R=0;R<l;R++)R in f&&i.call(void 0,f[R],R,r)},I=Array.prototype.map?function(r,i){return Array.prototype.map.call(r,i,void 0)}:function(r,i){for(var l=r.length,f=Array(l),R=typeof r=="string"?r.split(""):r,O=0;O<l;O++)O in R&&(f[O]=i.call(void 0,R[O],O,r));return f};function z(r,i,l){return 2>=arguments.length?Array.prototype.slice.call(r,i):Array.prototype.slice.call(r,i,l)}function N(r,i,l,f){var R="Assertion failed";if(l){R+=": "+l;var O=f}else r&&(R+=": "+r,O=i);throw Error(R,O||[])}function x(r,i,l){for(var f=[],R=2;R<arguments.length;++R)f[R-2]=arguments[R];return r||N("",null,i,f),r}function V(r,i,l){for(var f=[],R=2;R<arguments.length;++R)f[R-2]=arguments[R];typeof r!="string"&&N("Expected string but got %s: %s.",[j(r),r],i,f)}function G(r,i,l){for(var f=[],R=2;R<arguments.length;++R)f[R-2]=arguments[R];Array.isArray(r)||N("Expected array but got %s: %s.",[j(r),r],i,f)}function L(r,i){for(var l=[],f=1;f<arguments.length;++f)l[f-1]=arguments[f];throw Error("Failure"+(r?": "+r:""),l)}function K(r,i,l,f){for(var R=[],O=3;O<arguments.length;++O)R[O-3]=arguments[O];r instanceof i||N("Expected instanceof %s but got %s.",[J(i),J(r)],l,R)}function J(r){return r instanceof Function?r.displayName||r.name||"unknown type name":r instanceof Object?r.constructor.displayName||r.constructor.name||Object.prototype.toString.call(r):r===null?"null":typeof r}function _(r,i){if(this.c=r,this.b=i,this.a={},this.arrClean=!0,0<this.c.length){for(r=0;r<this.c.length;r++){i=this.c[r];var l=i[0];this.a[l.toString()]=new dt(l,i[1])}this.arrClean=!0}}y("jspb.Map",_,void 0),_.prototype.g=function(){if(this.arrClean){if(this.b){var r=this.a,i;for(i in r)if(Object.prototype.hasOwnProperty.call(r,i)){var l=r[i].a;l&&l.g()}}}else{for(this.c.length=0,r=tt(this),r.sort(),i=0;i<r.length;i++){var f=this.a[r[i]];(l=f.a)&&l.g(),this.c.push([f.key,f.value])}this.arrClean=!0}return this.c},_.prototype.toArray=_.prototype.g,_.prototype.Mc=function(r,i){for(var l=this.g(),f=[],R=0;R<l.length;R++){var O=this.a[l[R][0].toString()];q(this,O);var W=O.a;W?(x(i),f.push([O.key,i(r,W)])):f.push([O.key,O.value])}return f},_.prototype.toObject=_.prototype.Mc,_.fromObject=function(r,i,l){i=new _([],i);for(var f=0;f<r.length;f++){var R=r[f][0],O=l(r[f][1]);i.set(R,O)}return i};function Q(r){this.a=0,this.b=r}Q.prototype.next=function(){return this.a<this.b.length?{done:!1,value:this.b[this.a++]}:{done:!0,value:void 0}},typeof Symbol<"u"&&(Q.prototype[Symbol.iterator]=function(){return this}),_.prototype.Jb=function(){return tt(this).length},_.prototype.getLength=_.prototype.Jb,_.prototype.clear=function(){this.a={},this.arrClean=!1},_.prototype.clear=_.prototype.clear,_.prototype.Cb=function(r){r=r.toString();var i=this.a.hasOwnProperty(r);return delete this.a[r],this.arrClean=!1,i},_.prototype.del=_.prototype.Cb,_.prototype.Eb=function(){var r=[],i=tt(this);i.sort();for(var l=0;l<i.length;l++){var f=this.a[i[l]];r.push([f.key,f.value])}return r},_.prototype.getEntryList=_.prototype.Eb,_.prototype.entries=function(){var r=[],i=tt(this);i.sort();for(var l=0;l<i.length;l++){var f=this.a[i[l]];r.push([f.key,q(this,f)])}return new Q(r)},_.prototype.entries=_.prototype.entries,_.prototype.keys=function(){var r=[],i=tt(this);i.sort();for(var l=0;l<i.length;l++)r.push(this.a[i[l]].key);return new Q(r)},_.prototype.keys=_.prototype.keys,_.prototype.values=function(){var r=[],i=tt(this);i.sort();for(var l=0;l<i.length;l++)r.push(q(this,this.a[i[l]]));return new Q(r)},_.prototype.values=_.prototype.values,_.prototype.forEach=function(r,i){var l=tt(this);l.sort();for(var f=0;f<l.length;f++){var R=this.a[l[f]];r.call(i,q(this,R),R.key,this)}},_.prototype.forEach=_.prototype.forEach,_.prototype.set=function(r,i){var l=new dt(r);return this.b?(l.a=i,l.value=i.g()):l.value=i,this.a[r.toString()]=l,this.arrClean=!1,this},_.prototype.set=_.prototype.set;function q(r,i){return r.b?(i.a||(i.a=new r.b(i.value)),i.a):i.value}_.prototype.get=function(r){if(r=this.a[r.toString()])return q(this,r)},_.prototype.get=_.prototype.get,_.prototype.has=function(r){return r.toString()in this.a},_.prototype.has=_.prototype.has,_.prototype.Jc=function(r,i,l,f,R){var O=tt(this);O.sort();for(var W=0;W<O.length;W++){var gt=this.a[O[W]];i.Va(r),l.call(i,1,gt.key),this.b?f.call(i,2,q(this,gt),R):f.call(i,2,gt.value),i.Ya()}},_.prototype.serializeBinary=_.prototype.Jc,_.deserializeBinary=function(r,i,l,f,R,O,W){for(;i.oa()&&!i.bb();){var gt=i.c;gt==1?O=l.call(i):gt==2&&(r.b?(x(R),W||(W=new r.b),f.call(i,W,R)):W=f.call(i))}x(O!=null),x(W!=null),r.set(O,W)};function tt(r){r=r.a;var i=[],l;for(l in r)Object.prototype.hasOwnProperty.call(r,l)&&i.push(l);return i}function dt(r,i){this.key=r,this.value=i,this.a=void 0}function bt(r){if(8192>=r.length)return String.fromCharCode.apply(null,r);for(var i="",l=0;l<r.length;l+=8192)i+=String.fromCharCode.apply(null,z(r,l,l+8192));return i}var it={"\0":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},xt={"'":"\\'"},Ct={},Qt=null;function fe(r,i){i===void 0&&(i=0),st(),i=Ct[i];for(var l=[],f=0;f<r.length;f+=3){var R=r[f],O=f+1<r.length,W=O?r[f+1]:0,gt=f+2<r.length,re=gt?r[f+2]:0,Gr=R>>2;R=(R&3)<<4|W>>4,W=(W&15)<<2|re>>6,re&=63,gt||(re=64,O||(W=64)),l.push(i[Gr],i[R],i[W]||"",i[re]||"")}return l.join("")}function Ft(r){var i=r.length,l=3*i/4;l%3?l=Math.floor(l):"=.".indexOf(r[i-1])!=-1&&(l="=.".indexOf(r[i-2])!=-1?l-2:l-1);var f=new Uint8Array(l),R=0;return Wt(r,function(O){f[R++]=O}),f.subarray(0,R)}function Wt(r,i){function l(re){for(;f<r.length;){var Gr=r.charAt(f++),gp=Qt[Gr];if(gp!=null)return gp;if(!/^[\s\xa0]*$/.test(Gr))throw Error("Unknown base64 encoding at char: "+Gr)}return re}st();for(var f=0;;){var R=l(-1),O=l(0),W=l(64),gt=l(64);if(gt===64&&R===-1)break;i(R<<2|O>>4),W!=64&&(i(O<<4&240|W>>2),gt!=64&&i(W<<6&192|gt))}}function st(){if(!Qt){Qt={};for(var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),i=["+/=","+/","-_=","-_.","-_"],l=0;5>l;l++){var f=r.concat(i[l].split(""));Ct[l]=f;for(var R=0;R<f.length;R++){var O=f[R];Qt[O]===void 0&&(Qt[O]=R)}}}}y("jspb.ConstBinaryMessage",function(){},void 0),y("jspb.BinaryMessage",function(){},void 0),y("jspb.BinaryConstants.FieldType",{yb:-1,ee:1,FLOAT:2,ke:3,te:4,je:5,xb:6,wb:7,BOOL:8,re:9,ie:10,le:11,ce:12,se:13,ge:14,me:15,ne:16,oe:17,pe:18,he:30,ve:31},void 0),y("jspb.BinaryConstants.WireType",{yb:-1,ue:0,xb:1,de:2,qe:3,fe:4,wb:5},void 0),y("jspb.BinaryConstants.FieldTypeToWireType",function(r){switch(r){case 5:case 3:case 13:case 4:case 17:case 18:case 8:case 14:case 31:return 0;case 1:case 6:case 16:case 30:return 1;case 9:case 11:case 12:return 2;case 2:case 7:case 15:return 5;default:return-1}},void 0),y("jspb.BinaryConstants.INVALID_FIELD_NUMBER",-1,void 0),y("jspb.BinaryConstants.FLOAT32_EPS",1401298464324817e-60,void 0),y("jspb.BinaryConstants.FLOAT32_MIN",11754943508222875e-54,void 0),y("jspb.BinaryConstants.FLOAT32_MAX",34028234663852886e22,void 0),y("jspb.BinaryConstants.FLOAT64_EPS",5e-324,void 0),y("jspb.BinaryConstants.FLOAT64_MIN",22250738585072014e-324,void 0),y("jspb.BinaryConstants.FLOAT64_MAX",17976931348623157e292,void 0),y("jspb.BinaryConstants.TWO_TO_20",1048576,void 0),y("jspb.BinaryConstants.TWO_TO_23",8388608,void 0),y("jspb.BinaryConstants.TWO_TO_31",2147483648,void 0),y("jspb.BinaryConstants.TWO_TO_32",4294967296,void 0),y("jspb.BinaryConstants.TWO_TO_52",4503599627370496,void 0),y("jspb.BinaryConstants.TWO_TO_63",9223372036854776e3,void 0),y("jspb.BinaryConstants.TWO_TO_64",18446744073709552e3,void 0),y("jspb.BinaryConstants.ZERO_HASH","\0\0\0\0\0\0\0\0",void 0);var rt=0,nt=0;y("jspb.utils.getSplit64Low",function(){return rt},void 0),y("jspb.utils.getSplit64High",function(){return nt},void 0);function Rt(r){var i=r>>>0;r=Math.floor((r-i)/4294967296)>>>0,rt=i,nt=r}y("jspb.utils.splitUint64",Rt,void 0);function ut(r){var i=0>r;r=Math.abs(r);var l=r>>>0;r=Math.floor((r-l)/4294967296),r>>>=0,i&&(r=~r>>>0,l=(~l>>>0)+1,4294967295<l&&(l=0,r++,4294967295<r&&(r=0))),rt=l,nt=r}y("jspb.utils.splitInt64",ut,void 0);function u(r){var i=0>r;r=2*Math.abs(r),Rt(r),r=rt;var l=nt;i&&(r==0?l==0?l=r=4294967295:(l--,r=4294967295):r--),rt=r,nt=l}y("jspb.utils.splitZigzag64",u,void 0);function w(r){var i=0>r?1:0;if(r=i?-r:r,r===0)0<1/r?rt=nt=0:(nt=0,rt=2147483648);else if(isNaN(r))nt=0,rt=2147483647;else if(34028234663852886e22<r)nt=0,rt=(i<<31|2139095040)>>>0;else if(11754943508222875e-54>r)r=Math.round(r/Math.pow(2,-149)),nt=0,rt=(i<<31|r)>>>0;else{var l=Math.floor(Math.log(r)/Math.LN2);r*=Math.pow(2,-l),r=Math.round(8388608*r),16777216<=r&&++l,nt=0,rt=(i<<31|l+127<<23|r&8388607)>>>0}}y("jspb.utils.splitFloat32",w,void 0);function H(r){var i=0>r?1:0;if(r=i?-r:r,r===0)nt=0<1/r?0:2147483648,rt=0;else if(isNaN(r))nt=2147483647,rt=4294967295;else if(17976931348623157e292<r)nt=(i<<31|2146435072)>>>0,rt=0;else if(22250738585072014e-324>r)r/=Math.pow(2,-1074),nt=(i<<31|r/4294967296)>>>0,rt=r>>>0;else{var l=r,f=0;if(2<=l)for(;2<=l&&1023>f;)f++,l/=2;else for(;1>l&&-1022<f;)l*=2,f--;r*=Math.pow(2,-f),nt=(i<<31|f+1023<<20|1048576*r&1048575)>>>0,rt=4503599627370496*r>>>0}}y("jspb.utils.splitFloat64",H,void 0);function he(r){var i=r.charCodeAt(4),l=r.charCodeAt(5),f=r.charCodeAt(6),R=r.charCodeAt(7);rt=r.charCodeAt(0)+(r.charCodeAt(1)<<8)+(r.charCodeAt(2)<<16)+(r.charCodeAt(3)<<24)>>>0,nt=i+(l<<8)+(f<<16)+(R<<24)>>>0}y("jspb.utils.splitHash64",he,void 0);function te(r,i){return 4294967296*i+(r>>>0)}y("jspb.utils.joinUint64",te,void 0);function Ce(r,i){var l=i&2147483648;return l&&(r=~r+1>>>0,i=~i>>>0,r==0&&(i=i+1>>>0)),r=te(r,i),l?-r:r}y("jspb.utils.joinInt64",Ce,void 0);function ee(r,i,l){var f=i>>31;return l(r<<1^f,(i<<1|r>>>31)^f)}y("jspb.utils.toZigzag64",ee,void 0);function ae(r,i){return Ae(r,i,Ce)}y("jspb.utils.joinZigzag64",ae,void 0);function Ae(r,i,l){var f=-(r&1);return l((r>>>1|i<<31)^f,i>>>1^f)}y("jspb.utils.fromZigzag64",Ae,void 0);function Lt(r){var i=2*(r>>31)+1,l=r>>>23&255;return r&=8388607,l==255?r?NaN:1/0*i:l==0?i*Math.pow(2,-149)*r:i*Math.pow(2,l-150)*(r+Math.pow(2,23))}y("jspb.utils.joinFloat32",Lt,void 0);function ye(r,i){var l=2*(i>>31)+1,f=i>>>20&2047;return r=4294967296*(i&1048575)+r,f==2047?r?NaN:1/0*l:f==0?l*Math.pow(2,-1074)*r:l*Math.pow(2,f-1075)*(r+4503599627370496)}y("jspb.utils.joinFloat64",ye,void 0);function me(r,i){return String.fromCharCode(r>>>0&255,r>>>8&255,r>>>16&255,r>>>24&255,i>>>0&255,i>>>8&255,i>>>16&255,i>>>24&255)}y("jspb.utils.joinHash64",me,void 0),y("jspb.utils.DIGITS","0123456789abcdef".split(""),void 0);function be(r,i){function l(R,O){return R=R?String(R):"",O?"0000000".slice(R.length)+R:R}if(2097151>=i)return""+te(r,i);var f=(r>>>24|i<<8)>>>0&16777215;return i=i>>16&65535,r=(r&16777215)+6777216*f+6710656*i,f+=8147497*i,i*=2,1e7<=r&&(f+=Math.floor(r/1e7),r%=1e7),1e7<=f&&(i+=Math.floor(f/1e7),f%=1e7),l(i,0)+l(f,i)+l(r,1)}y("jspb.utils.joinUnsignedDecimalString",be,void 0);function ue(r,i){var l=i&2147483648;return l&&(r=~r+1>>>0,i=~i+(r==0?1:0)>>>0),r=be(r,i),l?"-"+r:r}y("jspb.utils.joinSignedDecimalString",ue,void 0);function ve(r,i){he(r),r=rt;var l=nt;return i?ue(r,l):be(r,l)}y("jspb.utils.hash64ToDecimalString",ve,void 0),y("jspb.utils.hash64ArrayToDecimalStrings",function(r,i){for(var l=Array(r.length),f=0;f<r.length;f++)l[f]=ve(r[f],i);return l},void 0);function xe(r){function i(W,gt){for(var re=0;8>re&&(W!==1||0<gt);re++)gt=W*R[re]+gt,R[re]=gt&255,gt>>>=8}function l(){for(var W=0;8>W;W++)R[W]=~R[W]&255}x(0<r.length);var f=!1;r[0]==="-"&&(f=!0,r=r.slice(1));for(var R=[0,0,0,0,0,0,0,0],O=0;O<r.length;O++)i(10,r.charCodeAt(O)-48);return f&&(l(),i(1,1)),bt(R)}y("jspb.utils.decimalStringToHash64",xe,void 0),y("jspb.utils.splitDecimalString",function(r){he(xe(r))},void 0);function _e(r){return String.fromCharCode(10>r?48+r:87+r)}function ar(r){return 97<=r?r-97+10:r-48}y("jspb.utils.hash64ToHexString",function(r){var i=Array(18);i[0]="0",i[1]="x";for(var l=0;8>l;l++){var f=r.charCodeAt(7-l);i[2*l+2]=_e(f>>4),i[2*l+3]=_e(f&15)}return i.join("")},void 0),y("jspb.utils.hexStringToHash64",function(r){r=r.toLowerCase(),x(r.length==18),x(r[0]=="0"),x(r[1]=="x");for(var i="",l=0;8>l;l++)i=String.fromCharCode(16*ar(r.charCodeAt(2*l+2))+ar(r.charCodeAt(2*l+3)))+i;return i},void 0),y("jspb.utils.hash64ToNumber",function(r,i){he(r),r=rt;var l=nt;return i?Ce(r,l):te(r,l)},void 0),y("jspb.utils.numberToHash64",function(r){return ut(r),me(rt,nt)},void 0),y("jspb.utils.countVarints",function(r,i,l){for(var f=0,R=i;R<l;R++)f+=r[R]>>7;return l-i-f},void 0),y("jspb.utils.countVarintFields",function(r,i,l,f){var R=0;if(f*=8,128>f)for(;i<l&&r[i++]==f;)for(R++;;){var O=r[i++];if(!(O&128))break}else for(;i<l;){for(O=f;128<O;){if(r[i]!=(O&127|128))return R;i++,O>>=7}if(r[i++]!=O)break;for(R++;O=r[i++],(O&128)!=0;);}return R},void 0);function yt(r,i,l,f,R){var O=0;if(128>f)for(;i<l&&r[i++]==f;)O++,i+=R;else for(;i<l;){for(var W=f;128<W;){if(r[i++]!=(W&127|128))return O;W>>=7}if(r[i++]!=W)break;O++,i+=R}return O}y("jspb.utils.countFixed32Fields",function(r,i,l,f){return yt(r,i,l,8*f+5,4)},void 0),y("jspb.utils.countFixed64Fields",function(r,i,l,f){return yt(r,i,l,8*f+1,8)},void 0),y("jspb.utils.countDelimitedFields",function(r,i,l,f){var R=0;for(f=8*f+2;i<l;){for(var O=f;128<O;){if(r[i++]!=(O&127|128))return R;O>>=7}if(r[i++]!=O)break;R++;for(var W=0,gt=1;O=r[i++],W+=(O&127)*gt,gt*=128,(O&128)!=0;);i+=W}return R},void 0),y("jspb.utils.debugBytesToTextFormat",function(r){var i='"';if(r){r=le(r);for(var l=0;l<r.length;l++)i+="\\x",16>r[l]&&(i+="0"),i+=r[l].toString(16)}return i+'"'},void 0),y("jspb.utils.debugScalarToTextFormat",function(r){if(typeof r=="string"){r=String(r);for(var i=['"'],l=0;l<r.length;l++){var f=r.charAt(l),R=f.charCodeAt(0),O=l+1,W;(W=it[f])||(31<R&&127>R||(R=f,R in xt?f=xt[R]:R in it?f=xt[R]=it[R]:(W=R.charCodeAt(0),31<W&&127>W?f=R:(256>W?(f="\\x",(16>W||256<W)&&(f+="0")):(f="\\u",4096>W&&(f+="0")),f+=W.toString(16).toUpperCase()),f=xt[R]=f)),W=f),i[O]=W}i.push('"'),r=i.join("")}else r=r.toString();return r},void 0),y("jspb.utils.stringToByteArray",function(r){for(var i=new Uint8Array(r.length),l=0;l<r.length;l++){var f=r.charCodeAt(l);if(255<f)throw Error("Conversion error: string contains codepoint outside of byte range");i[l]=f}return i},void 0);function le(r){return r.constructor===Uint8Array?r:r.constructor===ArrayBuffer?new Uint8Array(r):r.constructor===Array?new Uint8Array(r):r.constructor===String?Ft(r):r instanceof Uint8Array?new Uint8Array(r.buffer,r.byteOffset,r.byteLength):(L("Type not convertible to Uint8Array."),new Uint8Array(0))}y("jspb.utils.byteSourceToUint8Array",le,void 0);function B(r,i,l){this.b=null,this.a=this.c=this.h=0,this.v=!1,r&&this.H(r,i,l)}y("jspb.BinaryDecoder",B,void 0);var Re=[];B.getInstanceCacheLength=function(){return Re.length};function lr(r,i,l){if(Re.length){var f=Re.pop();return r&&f.H(r,i,l),f}return new B(r,i,l)}B.alloc=lr,B.prototype.Ca=function(){this.clear(),100>Re.length&&Re.push(this)},B.prototype.free=B.prototype.Ca,B.prototype.clone=function(){return lr(this.b,this.h,this.c-this.h)},B.prototype.clone=B.prototype.clone,B.prototype.clear=function(){this.b=null,this.a=this.c=this.h=0,this.v=!1},B.prototype.clear=B.prototype.clear,B.prototype.Y=function(){return this.b},B.prototype.getBuffer=B.prototype.Y,B.prototype.H=function(r,i,l){this.b=le(r),this.h=i!==void 0?i:0,this.c=l!==void 0?this.h+l:this.b.length,this.a=this.h},B.prototype.setBlock=B.prototype.H,B.prototype.Db=function(){return this.c},B.prototype.getEnd=B.prototype.Db,B.prototype.setEnd=function(r){this.c=r},B.prototype.setEnd=B.prototype.setEnd,B.prototype.reset=function(){this.a=this.h},B.prototype.reset=B.prototype.reset,B.prototype.B=function(){return this.a},B.prototype.getCursor=B.prototype.B,B.prototype.Ma=function(r){this.a=r},B.prototype.setCursor=B.prototype.Ma,B.prototype.advance=function(r){this.a+=r,x(this.a<=this.c)},B.prototype.advance=B.prototype.advance,B.prototype.ya=function(){return this.a==this.c},B.prototype.atEnd=B.prototype.ya,B.prototype.Qb=function(){return this.a>this.c},B.prototype.pastEnd=B.prototype.Qb,B.prototype.getError=function(){return this.v||0>this.a||this.a>this.c},B.prototype.getError=B.prototype.getError,B.prototype.w=function(r){for(var i=128,l=0,f=0,R=0;4>R&&128<=i;R++)i=this.b[this.a++],l|=(i&127)<<7*R;if(128<=i&&(i=this.b[this.a++],l|=(i&127)<<28,f|=(i&127)>>4),128<=i)for(R=0;5>R&&128<=i;R++)i=this.b[this.a++],f|=(i&127)<<7*R+3;if(128>i)return r(l>>>0,f>>>0);L("Failed to read varint, encoding is invalid."),this.v=!0},B.prototype.readSplitVarint64=B.prototype.w,B.prototype.ea=function(r){return this.w(function(i,l){return Ae(i,l,r)})},B.prototype.readSplitZigzagVarint64=B.prototype.ea,B.prototype.ta=function(r){var i=this.b,l=this.a;this.a+=8;for(var f=0,R=0,O=l+7;O>=l;O--)f=f<<8|i[O],R=R<<8|i[O+4];return r(f,R)},B.prototype.readSplitFixed64=B.prototype.ta,B.prototype.kb=function(){for(;this.b[this.a]&128;)this.a++;this.a++},B.prototype.skipVarint=B.prototype.kb,B.prototype.mb=function(r){for(;128<r;)this.a--,r>>>=7;this.a--},B.prototype.unskipVarint=B.prototype.mb,B.prototype.o=function(){var r=this.b,i=r[this.a],l=i&127;return 128>i?(this.a+=1,x(this.a<=this.c),l):(i=r[this.a+1],l|=(i&127)<<7,128>i?(this.a+=2,x(this.a<=this.c),l):(i=r[this.a+2],l|=(i&127)<<14,128>i?(this.a+=3,x(this.a<=this.c),l):(i=r[this.a+3],l|=(i&127)<<21,128>i?(this.a+=4,x(this.a<=this.c),l):(i=r[this.a+4],l|=(i&15)<<28,128>i?(this.a+=5,x(this.a<=this.c),l>>>0):(this.a+=5,128<=r[this.a++]&&128<=r[this.a++]&&128<=r[this.a++]&&128<=r[this.a++]&&128<=r[this.a++]&&x(!1),x(this.a<=this.c),l)))))},B.prototype.readUnsignedVarint32=B.prototype.o,B.prototype.da=function(){return~~this.o()},B.prototype.readSignedVarint32=B.prototype.da,B.prototype.O=function(){return this.o().toString()},B.prototype.Ea=function(){return this.da().toString()},B.prototype.readSignedVarint32String=B.prototype.Ea,B.prototype.Ia=function(){var r=this.o();return r>>>1^-(r&1)},B.prototype.readZigzagVarint32=B.prototype.Ia,B.prototype.Ga=function(){return this.w(te)},B.prototype.readUnsignedVarint64=B.prototype.Ga,B.prototype.Ha=function(){return this.w(be)},B.prototype.readUnsignedVarint64String=B.prototype.Ha,B.prototype.sa=function(){return this.w(Ce)},B.prototype.readSignedVarint64=B.prototype.sa,B.prototype.Fa=function(){return this.w(ue)},B.prototype.readSignedVarint64String=B.prototype.Fa,B.prototype.Ja=function(){return this.w(ae)},B.prototype.readZigzagVarint64=B.prototype.Ja,B.prototype.fb=function(){return this.ea(me)},B.prototype.readZigzagVarintHash64=B.prototype.fb,B.prototype.Ka=function(){return this.ea(ue)},B.prototype.readZigzagVarint64String=B.prototype.Ka,B.prototype.Gc=function(){var r=this.b[this.a];return this.a+=1,x(this.a<=this.c),r},B.prototype.readUint8=B.prototype.Gc,B.prototype.Ec=function(){var r=this.b[this.a],i=this.b[this.a+1];return this.a+=2,x(this.a<=this.c),r<<0|i<<8},B.prototype.readUint16=B.prototype.Ec,B.prototype.m=function(){var r=this.b[this.a],i=this.b[this.a+1],l=this.b[this.a+2],f=this.b[this.a+3];return this.a+=4,x(this.a<=this.c),(r<<0|i<<8|l<<16|f<<24)>>>0},B.prototype.readUint32=B.prototype.m,B.prototype.ga=function(){var r=this.m(),i=this.m();return te(r,i)},B.prototype.readUint64=B.prototype.ga,B.prototype.ha=function(){var r=this.m(),i=this.m();return be(r,i)},B.prototype.readUint64String=B.prototype.ha,B.prototype.Xb=function(){var r=this.b[this.a];return this.a+=1,x(this.a<=this.c),r<<24>>24},B.prototype.readInt8=B.prototype.Xb,B.prototype.Vb=function(){var r=this.b[this.a],i=this.b[this.a+1];return this.a+=2,x(this.a<=this.c),(r<<0|i<<8)<<16>>16},B.prototype.readInt16=B.prototype.Vb,B.prototype.P=function(){var r=this.b[this.a],i=this.b[this.a+1],l=this.b[this.a+2],f=this.b[this.a+3];return this.a+=4,x(this.a<=this.c),r<<0|i<<8|l<<16|f<<24},B.prototype.readInt32=B.prototype.P,B.prototype.ba=function(){var r=this.m(),i=this.m();return Ce(r,i)},B.prototype.readInt64=B.prototype.ba,B.prototype.ca=function(){var r=this.m(),i=this.m();return ue(r,i)},B.prototype.readInt64String=B.prototype.ca,B.prototype.aa=function(){var r=this.m();return Lt(r)},B.prototype.readFloat=B.prototype.aa,B.prototype.Z=function(){var r=this.m(),i=this.m();return ye(r,i)},B.prototype.readDouble=B.prototype.Z,B.prototype.pa=function(){return!!this.b[this.a++]},B.prototype.readBool=B.prototype.pa,B.prototype.ra=function(){return this.da()},B.prototype.readEnum=B.prototype.ra,B.prototype.fa=function(r){var i=this.b,l=this.a;r=l+r;for(var f=[],R="";l<r;){var O=i[l++];if(128>O)f.push(O);else{if(192>O)continue;if(224>O){var W=i[l++];f.push((O&31)<<6|W&63)}else if(240>O){W=i[l++];var gt=i[l++];f.push((O&15)<<12|(W&63)<<6|gt&63)}else if(248>O){W=i[l++],gt=i[l++];var re=i[l++];O=(O&7)<<18|(W&63)<<12|(gt&63)<<6|re&63,O-=65536,f.push((O>>10&1023)+55296,(O&1023)+56320)}}8192<=f.length&&(R+=String.fromCharCode.apply(null,f),f.length=0)}return R+=bt(f),this.a=l,R},B.prototype.readString=B.prototype.fa,B.prototype.Dc=function(){var r=this.o();return this.fa(r)},B.prototype.readStringWithLength=B.prototype.Dc,B.prototype.qa=function(r){if(0>r||this.a+r>this.b.length)return this.v=!0,L("Invalid byte length!"),new Uint8Array(0);var i=this.b.subarray(this.a,this.a+r);return this.a+=r,x(this.a<=this.c),i},B.prototype.readBytes=B.prototype.qa,B.prototype.ia=function(){return this.w(me)},B.prototype.readVarintHash64=B.prototype.ia,B.prototype.$=function(){var r=this.b,i=this.a,l=r[i],f=r[i+1],R=r[i+2],O=r[i+3],W=r[i+4],gt=r[i+5],re=r[i+6];return r=r[i+7],this.a+=8,String.fromCharCode(l,f,R,O,W,gt,re,r)},B.prototype.readFixedHash64=B.prototype.$;function C(r,i,l){this.a=lr(r,i,l),this.O=this.a.B(),this.b=this.c=-1,this.h=!1,this.v=null}y("jspb.BinaryReader",C,void 0);var Z=[];C.clearInstanceCache=function(){Z=[]},C.getInstanceCacheLength=function(){return Z.length};function lt(r,i,l){if(Z.length){var f=Z.pop();return r&&f.a.H(r,i,l),f}return new C(r,i,l)}C.alloc=lt,C.prototype.zb=lt,C.prototype.alloc=C.prototype.zb,C.prototype.Ca=function(){this.a.clear(),this.b=this.c=-1,this.h=!1,this.v=null,100>Z.length&&Z.push(this)},C.prototype.free=C.prototype.Ca,C.prototype.Fb=function(){return this.O},C.prototype.getFieldCursor=C.prototype.Fb,C.prototype.B=function(){return this.a.B()},C.prototype.getCursor=C.prototype.B,C.prototype.Y=function(){return this.a.Y()},C.prototype.getBuffer=C.prototype.Y,C.prototype.Hb=function(){return this.c},C.prototype.getFieldNumber=C.prototype.Hb,C.prototype.Lb=function(){return this.b},C.prototype.getWireType=C.prototype.Lb,C.prototype.Mb=function(){return this.b==2},C.prototype.isDelimited=C.prototype.Mb,C.prototype.bb=function(){return this.b==4},C.prototype.isEndGroup=C.prototype.bb,C.prototype.getError=function(){return this.h||this.a.getError()},C.prototype.getError=C.prototype.getError,C.prototype.H=function(r,i,l){this.a.H(r,i,l),this.b=this.c=-1},C.prototype.setBlock=C.prototype.H,C.prototype.reset=function(){this.a.reset(),this.b=this.c=-1},C.prototype.reset=C.prototype.reset,C.prototype.advance=function(r){this.a.advance(r)},C.prototype.advance=C.prototype.advance,C.prototype.oa=function(){if(this.a.ya())return!1;if(this.getError())return L("Decoder hit an error"),!1;this.O=this.a.B();var r=this.a.o(),i=r>>>3;return r&=7,r!=0&&r!=5&&r!=1&&r!=2&&r!=3&&r!=4?(L("Invalid wire type: %s (at position %s)",r,this.O),this.h=!0,!1):(this.c=i,this.b=r,!0)},C.prototype.nextField=C.prototype.oa,C.prototype.Oa=function(){this.a.mb(this.c<<3|this.b)},C.prototype.unskipHeader=C.prototype.Oa,C.prototype.Lc=function(){var r=this.c;for(this.Oa();this.oa()&&this.c==r;)this.C();this.a.ya()||this.Oa()},C.prototype.skipMatchingFields=C.prototype.Lc,C.prototype.lb=function(){this.b!=0?(L("Invalid wire type for skipVarintField"),this.C()):this.a.kb()},C.prototype.skipVarintField=C.prototype.lb,C.prototype.gb=function(){if(this.b!=2)L("Invalid wire type for skipDelimitedField"),this.C();else{var r=this.a.o();this.a.advance(r)}},C.prototype.skipDelimitedField=C.prototype.gb,C.prototype.hb=function(){this.b!=5?(L("Invalid wire type for skipFixed32Field"),this.C()):this.a.advance(4)},C.prototype.skipFixed32Field=C.prototype.hb,C.prototype.ib=function(){this.b!=1?(L("Invalid wire type for skipFixed64Field"),this.C()):this.a.advance(8)},C.prototype.skipFixed64Field=C.prototype.ib,C.prototype.jb=function(){var r=this.c;do{if(!this.oa()){L("Unmatched start-group tag: stream EOF"),this.h=!0;break}if(this.b==4){this.c!=r&&(L("Unmatched end-group tag"),this.h=!0);break}this.C()}while(1)},C.prototype.skipGroup=C.prototype.jb,C.prototype.C=function(){switch(this.b){case 0:this.lb();break;case 1:this.ib();break;case 2:this.gb();break;case 5:this.hb();break;case 3:this.jb();break;default:L("Invalid wire encoding for field.")}},C.prototype.skipField=C.prototype.C,C.prototype.Hc=function(r,i){this.v===null&&(this.v={}),x(!this.v[r]),this.v[r]=i},C.prototype.registerReadCallback=C.prototype.Hc,C.prototype.Ic=function(r){return x(this.v!==null),r=this.v[r],x(r),r(this)},C.prototype.runReadCallback=C.prototype.Ic,C.prototype.Yb=function(r,i){x(this.b==2);var l=this.a.c,f=this.a.o();f=this.a.B()+f,this.a.setEnd(f),i(r,this),this.a.Ma(f),this.a.setEnd(l)},C.prototype.readMessage=C.prototype.Yb,C.prototype.Ub=function(r,i,l){x(this.b==3),x(this.c==r),l(i,this),this.h||this.b==4||(L("Group submessage did not end with an END_GROUP tag"),this.h=!0)},C.prototype.readGroup=C.prototype.Ub,C.prototype.Gb=function(){x(this.b==2);var r=this.a.o(),i=this.a.B(),l=i+r;return r=lr(this.a.Y(),i,r),this.a.Ma(l),r},C.prototype.getFieldDecoder=C.prototype.Gb,C.prototype.P=function(){return x(this.b==0),this.a.da()},C.prototype.readInt32=C.prototype.P,C.prototype.Wb=function(){return x(this.b==0),this.a.Ea()},C.prototype.readInt32String=C.prototype.Wb,C.prototype.ba=function(){return x(this.b==0),this.a.sa()},C.prototype.readInt64=C.prototype.ba,C.prototype.ca=function(){return x(this.b==0),this.a.Fa()},C.prototype.readInt64String=C.prototype.ca,C.prototype.m=function(){return x(this.b==0),this.a.o()},C.prototype.readUint32=C.prototype.m,C.prototype.Fc=function(){return x(this.b==0),this.a.O()},C.prototype.readUint32String=C.prototype.Fc,C.prototype.ga=function(){return x(this.b==0),this.a.Ga()},C.prototype.readUint64=C.prototype.ga,C.prototype.ha=function(){return x(this.b==0),this.a.Ha()},C.prototype.readUint64String=C.prototype.ha,C.prototype.zc=function(){return x(this.b==0),this.a.Ia()},C.prototype.readSint32=C.prototype.zc,C.prototype.Ac=function(){return x(this.b==0),this.a.Ja()},C.prototype.readSint64=C.prototype.Ac,C.prototype.Bc=function(){return x(this.b==0),this.a.Ka()},C.prototype.readSint64String=C.prototype.Bc,C.prototype.Rb=function(){return x(this.b==5),this.a.m()},C.prototype.readFixed32=C.prototype.Rb,C.prototype.Sb=function(){return x(this.b==1),this.a.ga()},C.prototype.readFixed64=C.prototype.Sb,C.prototype.Tb=function(){return x(this.b==1),this.a.ha()},C.prototype.readFixed64String=C.prototype.Tb,C.prototype.vc=function(){return x(this.b==5),this.a.P()},C.prototype.readSfixed32=C.prototype.vc,C.prototype.wc=function(){return x(this.b==5),this.a.P().toString()},C.prototype.readSfixed32String=C.prototype.wc,C.prototype.xc=function(){return x(this.b==1),this.a.ba()},C.prototype.readSfixed64=C.prototype.xc,C.prototype.yc=function(){return x(this.b==1),this.a.ca()},C.prototype.readSfixed64String=C.prototype.yc,C.prototype.aa=function(){return x(this.b==5),this.a.aa()},C.prototype.readFloat=C.prototype.aa,C.prototype.Z=function(){return x(this.b==1),this.a.Z()},C.prototype.readDouble=C.prototype.Z,C.prototype.pa=function(){return x(this.b==0),!!this.a.o()},C.prototype.readBool=C.prototype.pa,C.prototype.ra=function(){return x(this.b==0),this.a.sa()},C.prototype.readEnum=C.prototype.ra,C.prototype.fa=function(){x(this.b==2);var r=this.a.o();return this.a.fa(r)},C.prototype.readString=C.prototype.fa,C.prototype.qa=function(){x(this.b==2);var r=this.a.o();return this.a.qa(r)},C.prototype.readBytes=C.prototype.qa,C.prototype.ia=function(){return x(this.b==0),this.a.ia()},C.prototype.readVarintHash64=C.prototype.ia,C.prototype.Cc=function(){return x(this.b==0),this.a.fb()},C.prototype.readSintHash64=C.prototype.Cc,C.prototype.w=function(r){return x(this.b==0),this.a.w(r)},C.prototype.readSplitVarint64=C.prototype.w,C.prototype.ea=function(r){return x(this.b==0),this.a.w(function(i,l){return Ae(i,l,r)})},C.prototype.readSplitZigzagVarint64=C.prototype.ea,C.prototype.$=function(){return x(this.b==1),this.a.$()},C.prototype.readFixedHash64=C.prototype.$,C.prototype.ta=function(r){return x(this.b==1),this.a.ta(r)},C.prototype.readSplitFixed64=C.prototype.ta;function ct(r,i){x(r.b==2);var l=r.a.o();l=r.a.B()+l;for(var f=[];r.a.B()<l;)f.push(i.call(r.a));return f}C.prototype.gc=function(){return ct(this,this.a.da)},C.prototype.readPackedInt32=C.prototype.gc,C.prototype.hc=function(){return ct(this,this.a.Ea)},C.prototype.readPackedInt32String=C.prototype.hc,C.prototype.ic=function(){return ct(this,this.a.sa)},C.prototype.readPackedInt64=C.prototype.ic,C.prototype.jc=function(){return ct(this,this.a.Fa)},C.prototype.readPackedInt64String=C.prototype.jc,C.prototype.qc=function(){return ct(this,this.a.o)},C.prototype.readPackedUint32=C.prototype.qc,C.prototype.rc=function(){return ct(this,this.a.O)},C.prototype.readPackedUint32String=C.prototype.rc,C.prototype.sc=function(){return ct(this,this.a.Ga)},C.prototype.readPackedUint64=C.prototype.sc,C.prototype.tc=function(){return ct(this,this.a.Ha)},C.prototype.readPackedUint64String=C.prototype.tc,C.prototype.nc=function(){return ct(this,this.a.Ia)},C.prototype.readPackedSint32=C.prototype.nc,C.prototype.oc=function(){return ct(this,this.a.Ja)},C.prototype.readPackedSint64=C.prototype.oc,C.prototype.pc=function(){return ct(this,this.a.Ka)},C.prototype.readPackedSint64String=C.prototype.pc,C.prototype.bc=function(){return ct(this,this.a.m)},C.prototype.readPackedFixed32=C.prototype.bc,C.prototype.cc=function(){return ct(this,this.a.ga)},C.prototype.readPackedFixed64=C.prototype.cc,C.prototype.dc=function(){return ct(this,this.a.ha)},C.prototype.readPackedFixed64String=C.prototype.dc,C.prototype.kc=function(){return ct(this,this.a.P)},C.prototype.readPackedSfixed32=C.prototype.kc,C.prototype.lc=function(){return ct(this,this.a.ba)},C.prototype.readPackedSfixed64=C.prototype.lc,C.prototype.mc=function(){return ct(this,this.a.ca)},C.prototype.readPackedSfixed64String=C.prototype.mc,C.prototype.fc=function(){return ct(this,this.a.aa)},C.prototype.readPackedFloat=C.prototype.fc,C.prototype.$b=function(){return ct(this,this.a.Z)},C.prototype.readPackedDouble=C.prototype.$b,C.prototype.Zb=function(){return ct(this,this.a.pa)},C.prototype.readPackedBool=C.prototype.Zb,C.prototype.ac=function(){return ct(this,this.a.ra)},C.prototype.readPackedEnum=C.prototype.ac,C.prototype.uc=function(){return ct(this,this.a.ia)},C.prototype.readPackedVarintHash64=C.prototype.uc,C.prototype.ec=function(){return ct(this,this.a.$)},C.prototype.readPackedFixedHash64=C.prototype.ec;function wt(r,i,l,f,R){this.ma=r,this.Ba=i,this.la=l,this.Na=f,this.na=R}y("jspb.ExtensionFieldInfo",wt,void 0);function Dt(r,i,l,f,R,O){this.Za=r,this.za=i,this.Aa=l,this.Wa=f,this.Ab=R,this.Nb=O}y("jspb.ExtensionFieldBinaryInfo",Dt,void 0),wt.prototype.F=function(){return!!this.la},wt.prototype.isMessageType=wt.prototype.F;function U(){}y("jspb.Message",U,void 0),U.GENERATE_TO_OBJECT=!0,U.GENERATE_FROM_OBJECT=!0;var we=typeof Uint8Array=="function";U.prototype.Ib=function(){return this.b},U.prototype.getJsPbMessageId=U.prototype.Ib,U.initialize=function(r,i,l,f,R,O){r.f=null,i||(i=l?[l]:[]),r.b=l?String(l):void 0,r.D=l===0?-1:0,r.u=i;t:{if(l=r.u.length,i=-1,l&&(i=l-1,l=r.u[i],!(l===null||typeof l!="object"||Array.isArray(l)||we&&l instanceof Uint8Array))){r.G=i-r.D,r.i=l;break t}-1<f?(r.G=Math.max(f,i+1-r.D),r.i=null):r.G=Number.MAX_VALUE}if(r.a={},R)for(f=0;f<R.length;f++)i=R[f],i<r.G?(i+=r.D,r.u[i]=r.u[i]||Oe):(Ee(r),r.i[i]=r.i[i]||Oe);if(O&&O.length)for(f=0;f<O.length;f++)So(r,O[f])};var Oe=Object.freeze?Object.freeze([]):[];function Ee(r){var i=r.G+r.D;r.u[i]||(r.i=r.u[i]={})}function xr(r,i,l){for(var f=[],R=0;R<r.length;R++)f[R]=i.call(r[R],l,r[R]);return f}U.toObjectList=xr,U.toObjectExtension=function(r,i,l,f,R){for(var O in l){var W=l[O],gt=f.call(r,W);if(gt!=null){for(var re in W.Ba)if(W.Ba.hasOwnProperty(re))break;i[re]=W.Na?W.na?xr(gt,W.Na,R):W.Na(R,gt):gt}}},U.serializeBinaryExtensions=function(r,i,l,f){for(var R in l){var O=l[R],W=O.Za;if(!O.Aa)throw Error("Message extension present that was generated without binary serialization support");var gt=f.call(r,W);if(gt!=null)if(W.F())if(O.Wa)O.Aa.call(i,W.ma,gt,O.Wa);else throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");else O.Aa.call(i,W.ma,gt)}},U.readBinaryExtension=function(r,i,l,f,R){var O=l[i.c];if(O){if(l=O.Za,!O.za)throw Error("Deserializing extension whose generated code does not support binary format");if(l.F()){var W=new l.la;O.za.call(i,W,O.Ab)}else W=O.za.call(i);l.na&&!O.Nb?(i=f.call(r,l))?i.push(W):R.call(r,l,[W]):R.call(r,l,W)}else i.C()};function Te(r,i){if(i<r.G){i+=r.D;var l=r.u[i];return l===Oe?r.u[i]=[]:l}if(r.i)return l=r.i[i],l===Oe?r.i[i]=[]:l}U.getField=Te,U.getRepeatedField=function(r,i){return Te(r,i)};function Di(r,i){return r=Te(r,i),r==null?r:+r}U.getOptionalFloatingPointField=Di;function Ni(r,i){return r=Te(r,i),r==null?r:!!r}U.getBooleanField=Ni,U.getRepeatedFloatingPointField=function(r,i){var l=Te(r,i);if(r.a||(r.a={}),!r.a[i]){for(var f=0;f<l.length;f++)l[f]=+l[f];r.a[i]=!0}return l},U.getRepeatedBooleanField=function(r,i){var l=Te(r,i);if(r.a||(r.a={}),!r.a[i]){for(var f=0;f<l.length;f++)l[f]=!!l[f];r.a[i]=!0}return l};function _i(r){return r==null||typeof r=="string"?r:we&&r instanceof Uint8Array?fe(r):(L("Cannot coerce to b64 string: "+j(r)),null)}U.bytesAsB64=_i;function $n(r){return r==null||r instanceof Uint8Array?r:typeof r=="string"?Ft(r):(L("Cannot coerce to Uint8Array: "+j(r)),null)}U.bytesAsU8=$n,U.bytesListAsB64=function(r){return Li(r),r.length&&typeof r[0]!="string"?I(r,_i):r},U.bytesListAsU8=function(r){return Li(r),!r.length||r[0]instanceof Uint8Array?r:I(r,$n)};function Li(r){if(r&&1<r.length){var i=j(r[0]);D(r,function(l){j(l)!=i&&L("Inconsistent type in JSPB repeated field array. Got "+j(l)+" expected "+i)})}}function jr(r,i,l){return r=Te(r,i),r??l}U.getFieldWithDefault=jr,U.getBooleanFieldWithDefault=function(r,i,l){return r=Ni(r,i),r??l},U.getFloatingPointFieldWithDefault=function(r,i,l){return r=Di(r,i),r??l},U.getFieldProto3=jr,U.getMapField=function(r,i,l,f){if(r.f||(r.f={}),i in r.f)return r.f[i];var R=Te(r,i);if(!R){if(l)return;R=[],Le(r,i,R)}return r.f[i]=new _(R,f)};function Le(r,i,l){return K(r,U),i<r.G?r.u[i+r.D]=l:(Ee(r),r.i[i]=l),r}U.setField=Le,U.setProto3IntField=function(r,i,l){return pe(r,i,l,0)},U.setProto3FloatField=function(r,i,l){return pe(r,i,l,0)},U.setProto3BooleanField=function(r,i,l){return pe(r,i,l,!1)},U.setProto3StringField=function(r,i,l){return pe(r,i,l,"")},U.setProto3BytesField=function(r,i,l){return pe(r,i,l,"")},U.setProto3EnumField=function(r,i,l){return pe(r,i,l,0)},U.setProto3StringIntField=function(r,i,l){return pe(r,i,l,"0")};function pe(r,i,l,f){return K(r,U),l!==f?Le(r,i,l):i<r.G?r.u[i+r.D]=null:(Ee(r),delete r.i[i]),r}U.addToRepeatedField=function(r,i,l,f){return K(r,U),i=Te(r,i),f!=null?i.splice(f,0,l):i.push(l),r};function Pr(r,i,l,f){return K(r,U),(l=So(r,l))&&l!==i&&f!==void 0&&(r.f&&l in r.f&&(r.f[l]=void 0),Le(r,l,void 0)),Le(r,i,f)}U.setOneofField=Pr;function So(r,i){for(var l,f,R=0;R<i.length;R++){var O=i[R],W=Te(r,O);W!=null&&(l=O,f=W,Le(r,O,void 0))}return l?(Le(r,l,f),l):0}U.computeOneofCase=So,U.getWrapperField=function(r,i,l,f){if(r.f||(r.f={}),!r.f[l]){var R=Te(r,l);(f||R)&&(r.f[l]=new i(R))}return r.f[l]},U.getRepeatedWrapperField=function(r,i,l){return $r(r,i,l),i=r.f[l],i==Oe&&(i=r.f[l]=[]),i};function $r(r,i,l){if(r.f||(r.f={}),!r.f[l]){for(var f=Te(r,l),R=[],O=0;O<f.length;O++)R[O]=new i(f[O]);r.f[l]=R}}U.setWrapperField=function(r,i,l){K(r,U),r.f||(r.f={});var f=l&&l.g();return r.f[i]=l,Le(r,i,f)},U.setOneofWrapperField=function(r,i,l,f){K(r,U),r.f||(r.f={});var R=f&&f.g();return r.f[i]=f,Pr(r,i,l,R)},U.setRepeatedWrapperField=function(r,i,l){K(r,U),r.f||(r.f={}),l=l||[];for(var f=[],R=0;R<l.length;R++)f[R]=l[R].g();return r.f[i]=l,Le(r,i,f)},U.addToRepeatedWrapperField=function(r,i,l,f,R){$r(r,f,i);var O=r.f[i];return O||(O=r.f[i]=[]),l=l||new f,r=Te(r,i),R!=null?(O.splice(R,0,l),r.splice(R,0,l.g())):(O.push(l),r.push(l.g())),l},U.toMap=function(r,i,l,f){for(var R={},O=0;O<r.length;O++)R[i.call(r[O])]=l?l.call(r[O],f,r[O]):r[O];return R};function Mn(r){if(r.f)for(var i in r.f){var l=r.f[i];if(Array.isArray(l))for(var f=0;f<l.length;f++)l[f]&&l[f].g();else l&&l.g()}}U.prototype.g=function(){return Mn(this),this.u},U.prototype.toArray=U.prototype.g,U.prototype.toString=function(){return Mn(this),this.u.toString()},U.prototype.getExtension=function(r){if(this.i){this.f||(this.f={});var i=r.ma;if(r.na){if(r.F())return this.f[i]||(this.f[i]=I(this.i[i]||[],function(l){return new r.la(l)})),this.f[i]}else if(r.F())return!this.f[i]&&this.i[i]&&(this.f[i]=new r.la(this.i[i])),this.f[i];return this.i[i]}},U.prototype.getExtension=U.prototype.getExtension,U.prototype.Kc=function(r,i){this.f||(this.f={}),Ee(this);var l=r.ma;return r.na?(i=i||[],r.F()?(this.f[l]=i,this.i[l]=I(i,function(f){return f.g()})):this.i[l]=i):r.F()?(this.f[l]=i,this.i[l]=i&&i.g()):this.i[l]=i,this},U.prototype.setExtension=U.prototype.Kc,U.difference=function(r,i){if(!(r instanceof i.constructor))throw Error("Messages have different types.");var l=r.g();i=i.g();var f=[],R=0,O=l.length>i.length?l.length:i.length;for(r.b&&(f[0]=r.b,R=1);R<O;R++)Mr(l[R],i[R])||(f[R]=i[R]);return new r.constructor(f)},U.equals=function(r,i){return r==i||!(!r||!i)&&r instanceof i.constructor&&Mr(r.g(),i.g())};function An(r,i){r=r||{},i=i||{};var l={},f;for(f in r)l[f]=0;for(f in i)l[f]=0;for(f in l)if(!Mr(r[f],i[f]))return!1;return!0}U.compareExtensions=An;function Mr(r,i){if(r==i)return!0;if(!k(r)||!k(i))return typeof r=="number"&&isNaN(r)||typeof i=="number"&&isNaN(i)?String(r)==String(i):!1;if(r.constructor!=i.constructor)return!1;if(we&&r.constructor===Uint8Array){if(r.length!=i.length)return!1;for(var l=0;l<r.length;l++)if(r[l]!=i[l])return!1;return!0}if(r.constructor===Array){var f=void 0,R=void 0,O=Math.max(r.length,i.length);for(l=0;l<O;l++){var W=r[l],gt=i[l];if(W&&W.constructor==Object&&(x(f===void 0),x(l===r.length-1),f=W,W=void 0),gt&>.constructor==Object&&(x(R===void 0),x(l===i.length-1),R=gt,gt=void 0),!Mr(W,gt))return!1}return f||R?(f=f||{},R=R||{},An(f,R)):!0}if(r.constructor===Object)return An(r,i);throw Error("Invalid type in JSPB array")}U.compareFields=Mr,U.prototype.Bb=function(){return Hr(this)},U.prototype.cloneMessage=U.prototype.Bb,U.prototype.clone=function(){return Hr(this)},U.prototype.clone=U.prototype.clone,U.clone=function(r){return Hr(r)};function Hr(r){return new r.constructor(On(r.g()))}U.copyInto=function(r,i){K(r,U),K(i,U),x(r.constructor==i.constructor,"Copy source and target message should have the same type."),r=Hr(r);for(var l=i.g(),f=r.g(),R=l.length=0;R<f.length;R++)l[R]=f[R];i.f=r.f,i.i=r.i};function On(r){if(Array.isArray(r)){for(var i=Array(r.length),l=0;l<r.length;l++){var f=r[l];f!=null&&(i[l]=typeof f=="object"?On(x(f)):f)}return i}if(we&&r instanceof Uint8Array)return new Uint8Array(r);i={};for(l in r)f=r[l],f!=null&&(i[l]=typeof f=="object"?On(x(f)):f);return i}U.registerMessageType=function(r,i){i.we=r};var We={dump:function(r){return K(r,U,"jspb.Message instance expected"),x(r.getExtension,"Only unobfuscated and unoptimized compilation modes supported."),We.X(r)}};y("jspb.debug.dump",We.dump,void 0),We.X=function(r){var i=j(r);if(i=="number"||i=="string"||i=="boolean"||i=="null"||i=="undefined"||typeof Uint8Array<"u"&&r instanceof Uint8Array)return r;if(i=="array")return G(r),I(r,We.X);if(r instanceof _){var l={};r=r.entries();for(var f=r.next();!f.done;f=r.next())l[f.value[0]]=We.X(f.value[1]);return l}K(r,U,"Only messages expected: "+r),i=r.constructor;var R={$name:i.name||i.displayName};for(gt in i.prototype){var O=/^get([A-Z]\w*)/.exec(gt);if(O&>!="getExtension"&>!="getJsPbMessageId"){var W="has"+O[1];(!r[W]||r[W]())&&(W=r[gt](),R[We.$a(O[1])]=We.X(W))}}if(r.extensionObject_)return R.$extensions="Recursive dumping of extensions not supported in compiled code. Switch to uncompiled or dump extension object directly",R;for(f in i.extensions)if(/^\d+$/.test(f)){W=i.extensions[f];var gt=r.getExtension(W);O=void 0,W=W.Ba;var re=[],Gr=0;for(O in W)re[Gr++]=O;O=re[0],gt!=null&&(l||(l=R.$extensions={}),l[We.$a(O)]=We.X(gt))}return R},We.$a=function(r){return r.replace(/^[A-Z]/,function(i){return i.toLowerCase()})};function Y(){this.a=[]}y("jspb.BinaryEncoder",Y,void 0),Y.prototype.length=function(){return this.a.length},Y.prototype.length=Y.prototype.length,Y.prototype.end=function(){var r=this.a;return this.a=[],r},Y.prototype.end=Y.prototype.end,Y.prototype.l=function(r,i){for(x(r==Math.floor(r)),x(i==Math.floor(i)),x(0<=r&&4294967296>r),x(0<=i&&4294967296>i);0<i||127<r;)this.a.push(r&127|128),r=(r>>>7|i<<25)>>>0,i>>>=7;this.a.push(r)},Y.prototype.writeSplitVarint64=Y.prototype.l,Y.prototype.A=function(r,i){x(r==Math.floor(r)),x(i==Math.floor(i)),x(0<=r&&4294967296>r),x(0<=i&&4294967296>i),this.s(r),this.s(i)},Y.prototype.writeSplitFixed64=Y.prototype.A,Y.prototype.j=function(r){for(x(r==Math.floor(r)),x(0<=r&&4294967296>r);127<r;)this.a.push(r&127|128),r>>>=7;this.a.push(r)},Y.prototype.writeUnsignedVarint32=Y.prototype.j,Y.prototype.M=function(r){if(x(r==Math.floor(r)),x(-2147483648<=r&&2147483648>r),0<=r)this.j(r);else{for(var i=0;9>i;i++)this.a.push(r&127|128),r>>=7;this.a.push(1)}},Y.prototype.writeSignedVarint32=Y.prototype.M,Y.prototype.va=function(r){x(r==Math.floor(r)),x(0<=r&&18446744073709552e3>r),ut(r),this.l(rt,nt)},Y.prototype.writeUnsignedVarint64=Y.prototype.va,Y.prototype.ua=function(r){x(r==Math.floor(r)),x(-9223372036854776e3<=r&&9223372036854776e3>r),ut(r),this.l(rt,nt)},Y.prototype.writeSignedVarint64=Y.prototype.ua,Y.prototype.wa=function(r){x(r==Math.floor(r)),x(-2147483648<=r&&2147483648>r),this.j((r<<1^r>>31)>>>0)},Y.prototype.writeZigzagVarint32=Y.prototype.wa,Y.prototype.xa=function(r){x(r==Math.floor(r)),x(-9223372036854776e3<=r&&9223372036854776e3>r),u(r),this.l(rt,nt)},Y.prototype.writeZigzagVarint64=Y.prototype.xa,Y.prototype.Ta=function(r){this.W(xe(r))},Y.prototype.writeZigzagVarint64String=Y.prototype.Ta,Y.prototype.W=function(r){var i=this;he(r),ee(rt,nt,function(l,f){i.l(l>>>0,f>>>0)})},Y.prototype.writeZigzagVarintHash64=Y.prototype.W,Y.prototype.be=function(r){x(r==Math.floor(r)),x(0<=r&&256>r),this.a.push(r>>>0&255)},Y.prototype.writeUint8=Y.prototype.be,Y.prototype.ae=function(r){x(r==Math.floor(r)),x(0<=r&&65536>r),this.a.push(r>>>0&255),this.a.push(r>>>8&255)},Y.prototype.writeUint16=Y.prototype.ae,Y.prototype.s=function(r){x(r==Math.floor(r)),x(0<=r&&4294967296>r),this.a.push(r>>>0&255),this.a.push(r>>>8&255),this.a.push(r>>>16&255),this.a.push(r>>>24&255)},Y.prototype.writeUint32=Y.prototype.s,Y.prototype.V=function(r){x(r==Math.floor(r)),x(0<=r&&18446744073709552e3>r),Rt(r),this.s(rt),this.s(nt)},Y.prototype.writeUint64=Y.prototype.V,Y.prototype.Qc=function(r){x(r==Math.floor(r)),x(-128<=r&&128>r),this.a.push(r>>>0&255)},Y.prototype.writeInt8=Y.prototype.Qc,Y.prototype.Pc=function(r){x(r==Math.floor(r)),x(-32768<=r&&32768>r),this.a.push(r>>>0&255),this.a.push(r>>>8&255)},Y.prototype.writeInt16=Y.prototype.Pc,Y.prototype.S=function(r){x(r==Math.floor(r)),x(-2147483648<=r&&2147483648>r),this.a.push(r>>>0&255),this.a.push(r>>>8&255),this.a.push(r>>>16&255),this.a.push(r>>>24&255)},Y.prototype.writeInt32=Y.prototype.S,Y.prototype.T=function(r){x(r==Math.floor(r)),x(-9223372036854776e3<=r&&9223372036854776e3>r),ut(r),this.A(rt,nt)},Y.prototype.writeInt64=Y.prototype.T,Y.prototype.ka=function(r){x(r==Math.floor(r)),x(-9223372036854776e3<=+r&&9223372036854776e3>+r),he(xe(r)),this.A(rt,nt)},Y.prototype.writeInt64String=Y.prototype.ka,Y.prototype.L=function(r){x(r===1/0||r===-1/0||isNaN(r)||-34028234663852886e22<=r&&34028234663852886e22>=r),w(r),this.s(rt)},Y.prototype.writeFloat=Y.prototype.L,Y.prototype.J=function(r){x(r===1/0||r===-1/0||isNaN(r)||-17976931348623157e292<=r&&17976931348623157e292>=r),H(r),this.s(rt),this.s(nt)},Y.prototype.writeDouble=Y.prototype.J,Y.prototype.I=function(r){x(typeof r=="boolean"||typeof r=="number"),this.a.push(r?1:0)},Y.prototype.writeBool=Y.prototype.I,Y.prototype.R=function(r){x(r==Math.floor(r)),x(-2147483648<=r&&2147483648>r),this.M(r)},Y.prototype.writeEnum=Y.prototype.R,Y.prototype.ja=function(r){this.a.push.apply(this.a,r)},Y.prototype.writeBytes=Y.prototype.ja,Y.prototype.N=function(r){he(r),this.l(rt,nt)},Y.prototype.writeVarintHash64=Y.prototype.N,Y.prototype.K=function(r){he(r),this.s(rt),this.s(nt)},Y.prototype.writeFixedHash64=Y.prototype.K,Y.prototype.U=function(r){var i=this.a.length;V(r);for(var l=0;l<r.length;l++){var f=r.charCodeAt(l);if(128>f)this.a.push(f);else if(2048>f)this.a.push(f>>6|192),this.a.push(f&63|128);else if(65536>f)if(55296<=f&&56319>=f&&l+1<r.length){var R=r.charCodeAt(l+1);56320<=R&&57343>=R&&(f=1024*(f-55296)+R-56320+65536,this.a.push(f>>18|240),this.a.push(f>>12&63|128),this.a.push(f>>6&63|128),this.a.push(f&63|128),l++)}else this.a.push(f>>12|224),this.a.push(f>>6&63|128),this.a.push(f&63|128)}return this.a.length-i},Y.prototype.writeString=Y.prototype.U;function pt(r,i){this.lo=r,this.hi=i}y("jspb.arith.UInt64",pt,void 0),pt.prototype.cmp=function(r){return this.hi<r.hi||this.hi==r.hi&&this.lo<r.lo?-1:this.hi==r.hi&&this.lo==r.lo?0:1},pt.prototype.cmp=pt.prototype.cmp,pt.prototype.La=function(){return new pt((this.lo>>>1|(this.hi&1)<<31)>>>0,this.hi>>>1>>>0)},pt.prototype.rightShift=pt.prototype.La,pt.prototype.Da=function(){return new pt(this.lo<<1>>>0,(this.hi<<1|this.lo>>>31)>>>0)},pt.prototype.leftShift=pt.prototype.Da,pt.prototype.cb=function(){return!!(this.hi&2147483648)},pt.prototype.msb=pt.prototype.cb,pt.prototype.Ob=function(){return!!(this.lo&1)},pt.prototype.lsb=pt.prototype.Ob,pt.prototype.Ua=function(){return this.lo==0&&this.hi==0},pt.prototype.zero=pt.prototype.Ua,pt.prototype.add=function(r){return new pt((this.lo+r.lo&4294967295)>>>0>>>0,((this.hi+r.hi&4294967295)>>>0)+(4294967296<=this.lo+r.lo?1:0)>>>0)},pt.prototype.add=pt.prototype.add,pt.prototype.sub=function(r){return new pt((this.lo-r.lo&4294967295)>>>0>>>0,((this.hi-r.hi&4294967295)>>>0)-(0>this.lo-r.lo?1:0)>>>0)},pt.prototype.sub=pt.prototype.sub;function Co(r,i){var l=r&65535;r>>>=16;var f=i&65535,R=i>>>16;for(i=l*f+65536*(l*R&65535)+65536*(r*f&65535),l=r*R+(l*R>>>16)+(r*f>>>16);4294967296<=i;)i-=4294967296,l+=1;return new pt(i>>>0,l>>>0)}pt.mul32x32=Co,pt.prototype.eb=function(r){var i=Co(this.lo,r);return r=Co(this.hi,r),r.hi=r.lo,r.lo=0,i.add(r)},pt.prototype.mul=pt.prototype.eb,pt.prototype.Xa=function(r){if(r==0)return[];var i=new pt(0,0),l=new pt(this.lo,this.hi);r=new pt(r,0);for(var f=new pt(1,0);!r.cb();)r=r.Da(),f=f.Da();for(;!f.Ua();)0>=r.cmp(l)&&(i=i.add(f),l=l.sub(r)),r=r.La(),f=f.La();return[i,l]},pt.prototype.div=pt.prototype.Xa,pt.prototype.toString=function(){for(var r="",i=this;!i.Ua();){i=i.Xa(10);var l=i[0];r=i[1].lo+r,i=l}return r==""&&(r="0"),r},pt.prototype.toString=pt.prototype.toString;function vt(r){for(var i=new pt(0,0),l=new pt(0,0),f=0;f<r.length;f++){if("0">r[f]||"9"<r[f])return null;l.lo=parseInt(r[f],10),i=i.eb(10).add(l)}return i}pt.fromString=vt,pt.prototype.clone=function(){return new pt(this.lo,this.hi)},pt.prototype.clone=pt.prototype.clone;function $t(r,i){this.lo=r,this.hi=i}y("jspb.arith.Int64",$t,void 0),$t.prototype.add=function(r){return new $t((this.lo+r.lo&4294967295)>>>0>>>0,((this.hi+r.hi&4294967295)>>>0)+(4294967296<=this.lo+r.lo?1:0)>>>0)},$t.prototype.add=$t.prototype.add,$t.prototype.sub=function(r){return new $t((this.lo-r.lo&4294967295)>>>0>>>0,((this.hi-r.hi&4294967295)>>>0)-(0>this.lo-r.lo?1:0)>>>0)},$t.prototype.sub=$t.prototype.sub,$t.prototype.clone=function(){return new $t(this.lo,this.hi)},$t.prototype.clone=$t.prototype.clone,$t.prototype.toString=function(){var r=(this.hi&2147483648)!=0,i=new pt(this.lo,this.hi);return r&&(i=new pt(0,0).sub(i)),(r?"-":"")+i.toString()},$t.prototype.toString=$t.prototype.toString;function Wi(r){var i=0<r.length&&r[0]=="-";return i&&(r=r.substring(1)),r=vt(r),r===null?null:(i&&(r=new pt(0,0).sub(r)),new $t(r.lo,r.hi))}$t.fromString=Wi;function b(){this.c=[],this.b=0,this.a=new Y,this.h=[]}y("jspb.BinaryWriter",b,void 0);function hp(r,i){var l=r.a.end();r.c.push(l),r.c.push(i),r.b+=l.length+i.length}function Kt(r,i){return mt(r,i,2),i=r.a.end(),r.c.push(i),r.b+=i.length,i.push(r.b),i}function Yt(r,i){var l=i.pop();for(l=r.b+r.a.length()-l,x(0<=l);127<l;)i.push(l&127|128),l>>>=7,r.b++;i.push(l),r.b++}b.prototype.pb=function(r,i,l){hp(this,r.subarray(i,l))},b.prototype.writeSerializedMessage=b.prototype.pb,b.prototype.Pb=function(r,i,l){r!=null&&i!=null&&l!=null&&this.pb(r,i,l)},b.prototype.maybeWriteSerializedMessage=b.prototype.Pb,b.prototype.reset=function(){this.c=[],this.a.end(),this.b=0,this.h=[]},b.prototype.reset=b.prototype.reset,b.prototype.ab=function(){x(this.h.length==0);for(var r=new Uint8Array(this.b+this.a.length()),i=this.c,l=i.length,f=0,R=0;R<l;R++){var O=i[R];r.set(O,f),f+=O.length}return i=this.a.end(),r.set(i,f),f+=i.length,x(f==r.length),this.c=[r],r},b.prototype.getResultBuffer=b.prototype.ab,b.prototype.Kb=function(r){return fe(this.ab(),r)},b.prototype.getResultBase64String=b.prototype.Kb,b.prototype.Va=function(r){this.h.push(Kt(this,r))},b.prototype.beginSubMessage=b.prototype.Va,b.prototype.Ya=function(){x(0<=this.h.length),Yt(this,this.h.pop())},b.prototype.endSubMessage=b.prototype.Ya;function mt(r,i,l){x(1<=i&&i==Math.floor(i)),r.a.j(8*i+l)}b.prototype.Nc=function(r,i,l){switch(r){case 1:this.J(i,l);break;case 2:this.L(i,l);break;case 3:this.T(i,l);break;case 4:this.V(i,l);break;case 5:this.S(i,l);break;case 6:this.Qa(i,l);break;case 7:this.Pa(i,l);break;case 8:this.I(i,l);break;case 9:this.U(i,l);break;case 10:L("Group field type not supported in writeAny()");break;case 11:L("Message field type not supported in writeAny()");break;case 12:this.ja(i,l);break;case 13:this.s(i,l);break;case 14:this.R(i,l);break;case 15:this.Ra(i,l);break;case 16:this.Sa(i,l);break;case 17:this.rb(i,l);break;case 18:this.sb(i,l);break;case 30:this.K(i,l);break;case 31:this.N(i,l);break;default:L("Invalid field type in writeAny()")}},b.prototype.writeAny=b.prototype.Nc;function $a(r,i,l){l!=null&&(mt(r,i,0),r.a.j(l))}function Ma(r,i,l){l!=null&&(mt(r,i,0),r.a.M(l))}b.prototype.S=function(r,i){i!=null&&(x(-2147483648<=i&&2147483648>i),Ma(this,r,i))},b.prototype.writeInt32=b.prototype.S,b.prototype.ob=function(r,i){i!=null&&(i=parseInt(i,10),x(-2147483648<=i&&2147483648>i),Ma(this,r,i))},b.prototype.writeInt32String=b.prototype.ob,b.prototype.T=function(r,i){i!=null&&(x(-9223372036854776e3<=i&&9223372036854776e3>i),i!=null&&(mt(this,r,0),this.a.ua(i)))},b.prototype.writeInt64=b.prototype.T,b.prototype.ka=function(r,i){i!=null&&(i=Wi(i),mt(this,r,0),this.a.l(i.lo,i.hi))},b.prototype.writeInt64String=b.prototype.ka,b.prototype.s=function(r,i){i!=null&&(x(0<=i&&4294967296>i),$a(this,r,i))},b.prototype.writeUint32=b.prototype.s,b.prototype.ub=function(r,i){i!=null&&(i=parseInt(i,10),x(0<=i&&4294967296>i),$a(this,r,i))},b.prototype.writeUint32String=b.prototype.ub,b.prototype.V=function(r,i){i!=null&&(x(0<=i&&18446744073709552e3>i),i!=null&&(mt(this,r,0),this.a.va(i)))},b.prototype.writeUint64=b.prototype.V,b.prototype.vb=function(r,i){i!=null&&(i=vt(i),mt(this,r,0),this.a.l(i.lo,i.hi))},b.prototype.writeUint64String=b.prototype.vb,b.prototype.rb=function(r,i){i!=null&&(x(-2147483648<=i&&2147483648>i),i!=null&&(mt(this,r,0),this.a.wa(i)))},b.prototype.writeSint32=b.prototype.rb,b.prototype.sb=function(r,i){i!=null&&(x(-9223372036854776e3<=i&&9223372036854776e3>i),i!=null&&(mt(this,r,0),this.a.xa(i)))},b.prototype.writeSint64=b.prototype.sb,b.prototype.$d=function(r,i){i!=null&&i!=null&&(mt(this,r,0),this.a.W(i))},b.prototype.writeSintHash64=b.prototype.$d,b.prototype.Zd=function(r,i){i!=null&&i!=null&&(mt(this,r,0),this.a.Ta(i))},b.prototype.writeSint64String=b.prototype.Zd,b.prototype.Pa=function(r,i){i!=null&&(x(0<=i&&4294967296>i),mt(this,r,5),this.a.s(i))},b.prototype.writeFixed32=b.prototype.Pa,b.prototype.Qa=function(r,i){i!=null&&(x(0<=i&&18446744073709552e3>i),mt(this,r,1),this.a.V(i))},b.prototype.writeFixed64=b.prototype.Qa,b.prototype.nb=function(r,i){i!=null&&(i=vt(i),mt(this,r,1),this.a.A(i.lo,i.hi))},b.prototype.writeFixed64String=b.prototype.nb,b.prototype.Ra=function(r,i){i!=null&&(x(-2147483648<=i&&2147483648>i),mt(this,r,5),this.a.S(i))},b.prototype.writeSfixed32=b.prototype.Ra,b.prototype.Sa=function(r,i){i!=null&&(x(-9223372036854776e3<=i&&9223372036854776e3>i),mt(this,r,1),this.a.T(i))},b.prototype.writeSfixed64=b.prototype.Sa,b.prototype.qb=function(r,i){i!=null&&(i=Wi(i),mt(this,r,1),this.a.A(i.lo,i.hi))},b.prototype.writeSfixed64String=b.prototype.qb,b.prototype.L=function(r,i){i!=null&&(mt(this,r,5),this.a.L(i))},b.prototype.writeFloat=b.prototype.L,b.prototype.J=function(r,i){i!=null&&(mt(this,r,1),this.a.J(i))},b.prototype.writeDouble=b.prototype.J,b.prototype.I=function(r,i){i!=null&&(x(typeof i=="boolean"||typeof i=="number"),mt(this,r,0),this.a.I(i))},b.prototype.writeBool=b.prototype.I,b.prototype.R=function(r,i){i!=null&&(x(-2147483648<=i&&2147483648>i),mt(this,r,0),this.a.M(i))},b.prototype.writeEnum=b.prototype.R,b.prototype.U=function(r,i){i!=null&&(r=Kt(this,r),this.a.U(i),Yt(this,r))},b.prototype.writeString=b.prototype.U,b.prototype.ja=function(r,i){i!=null&&(i=le(i),mt(this,r,2),this.a.j(i.length),hp(this,i))},b.prototype.writeBytes=b.prototype.ja,b.prototype.Rc=function(r,i,l){i!=null&&(r=Kt(this,r),l(i,this),Yt(this,r))},b.prototype.writeMessage=b.prototype.Rc,b.prototype.Sc=function(r,i,l){i!=null&&(mt(this,1,3),mt(this,2,0),this.a.M(r),r=Kt(this,3),l(i,this),Yt(this,r),mt(this,1,4))},b.prototype.writeMessageSet=b.prototype.Sc,b.prototype.Oc=function(r,i,l){i!=null&&(mt(this,r,3),l(i,this),mt(this,r,4))},b.prototype.writeGroup=b.prototype.Oc,b.prototype.K=function(r,i){i!=null&&(x(i.length==8),mt(this,r,1),this.a.K(i))},b.prototype.writeFixedHash64=b.prototype.K,b.prototype.N=function(r,i){i!=null&&(x(i.length==8),mt(this,r,0),this.a.N(i))},b.prototype.writeVarintHash64=b.prototype.N,b.prototype.A=function(r,i,l){mt(this,r,1),this.a.A(i,l)},b.prototype.writeSplitFixed64=b.prototype.A,b.prototype.l=function(r,i,l){mt(this,r,0),this.a.l(i,l)},b.prototype.writeSplitVarint64=b.prototype.l,b.prototype.tb=function(r,i,l){mt(this,r,0);var f=this.a;ee(i,l,function(R,O){f.l(R>>>0,O>>>0)})},b.prototype.writeSplitZigzagVarint64=b.prototype.tb,b.prototype.Ed=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)Ma(this,r,i[l])},b.prototype.writeRepeatedInt32=b.prototype.Ed,b.prototype.Fd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.ob(r,i[l])},b.prototype.writeRepeatedInt32String=b.prototype.Fd,b.prototype.Gd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++){var f=i[l];f!=null&&(mt(this,r,0),this.a.ua(f))}},b.prototype.writeRepeatedInt64=b.prototype.Gd,b.prototype.Qd=function(r,i,l,f){if(i!=null)for(var R=0;R<i.length;R++)this.A(r,l(i[R]),f(i[R]))},b.prototype.writeRepeatedSplitFixed64=b.prototype.Qd,b.prototype.Rd=function(r,i,l,f){if(i!=null)for(var R=0;R<i.length;R++)this.l(r,l(i[R]),f(i[R]))},b.prototype.writeRepeatedSplitVarint64=b.prototype.Rd,b.prototype.Sd=function(r,i,l,f){if(i!=null)for(var R=0;R<i.length;R++)this.tb(r,l(i[R]),f(i[R]))},b.prototype.writeRepeatedSplitZigzagVarint64=b.prototype.Sd,b.prototype.Hd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.ka(r,i[l])},b.prototype.writeRepeatedInt64String=b.prototype.Hd,b.prototype.Ud=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)$a(this,r,i[l])},b.prototype.writeRepeatedUint32=b.prototype.Ud,b.prototype.Vd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.ub(r,i[l])},b.prototype.writeRepeatedUint32String=b.prototype.Vd,b.prototype.Wd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++){var f=i[l];f!=null&&(mt(this,r,0),this.a.va(f))}},b.prototype.writeRepeatedUint64=b.prototype.Wd,b.prototype.Xd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.vb(r,i[l])},b.prototype.writeRepeatedUint64String=b.prototype.Xd,b.prototype.Md=function(r,i){if(i!=null)for(var l=0;l<i.length;l++){var f=i[l];f!=null&&(mt(this,r,0),this.a.wa(f))}},b.prototype.writeRepeatedSint32=b.prototype.Md,b.prototype.Nd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++){var f=i[l];f!=null&&(mt(this,r,0),this.a.xa(f))}},b.prototype.writeRepeatedSint64=b.prototype.Nd,b.prototype.Od=function(r,i){if(i!=null)for(var l=0;l<i.length;l++){var f=i[l];f!=null&&(mt(this,r,0),this.a.Ta(f))}},b.prototype.writeRepeatedSint64String=b.prototype.Od,b.prototype.Pd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++){var f=i[l];f!=null&&(mt(this,r,0),this.a.W(f))}},b.prototype.writeRepeatedSintHash64=b.prototype.Pd,b.prototype.yd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.Pa(r,i[l])},b.prototype.writeRepeatedFixed32=b.prototype.yd,b.prototype.zd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.Qa(r,i[l])},b.prototype.writeRepeatedFixed64=b.prototype.zd,b.prototype.Ad=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.nb(r,i[l])},b.prototype.writeRepeatedFixed64String=b.prototype.Ad,b.prototype.Jd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.Ra(r,i[l])},b.prototype.writeRepeatedSfixed32=b.prototype.Jd,b.prototype.Kd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.Sa(r,i[l])},b.prototype.writeRepeatedSfixed64=b.prototype.Kd,b.prototype.Ld=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.qb(r,i[l])},b.prototype.writeRepeatedSfixed64String=b.prototype.Ld,b.prototype.Cd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.L(r,i[l])},b.prototype.writeRepeatedFloat=b.prototype.Cd,b.prototype.wd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.J(r,i[l])},b.prototype.writeRepeatedDouble=b.prototype.wd,b.prototype.ud=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.I(r,i[l])},b.prototype.writeRepeatedBool=b.prototype.ud,b.prototype.xd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.R(r,i[l])},b.prototype.writeRepeatedEnum=b.prototype.xd,b.prototype.Td=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.U(r,i[l])},b.prototype.writeRepeatedString=b.prototype.Td,b.prototype.vd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.ja(r,i[l])},b.prototype.writeRepeatedBytes=b.prototype.vd,b.prototype.Id=function(r,i,l){if(i!=null)for(var f=0;f<i.length;f++){var R=Kt(this,r);l(i[f],this),Yt(this,R)}},b.prototype.writeRepeatedMessage=b.prototype.Id,b.prototype.Dd=function(r,i,l){if(i!=null)for(var f=0;f<i.length;f++)mt(this,r,3),l(i[f],this),mt(this,r,4)},b.prototype.writeRepeatedGroup=b.prototype.Dd,b.prototype.Bd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.K(r,i[l])},b.prototype.writeRepeatedFixedHash64=b.prototype.Bd,b.prototype.Yd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.N(r,i[l])},b.prototype.writeRepeatedVarintHash64=b.prototype.Yd,b.prototype.ad=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++)this.a.M(i[l]);Yt(this,r)}},b.prototype.writePackedInt32=b.prototype.ad,b.prototype.bd=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++)this.a.M(parseInt(i[l],10));Yt(this,r)}},b.prototype.writePackedInt32String=b.prototype.bd,b.prototype.cd=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++)this.a.ua(i[l]);Yt(this,r)}},b.prototype.writePackedInt64=b.prototype.cd,b.prototype.md=function(r,i,l,f){if(i!=null){r=Kt(this,r);for(var R=0;R<i.length;R++)this.a.A(l(i[R]),f(i[R]));Yt(this,r)}},b.prototype.writePackedSplitFixed64=b.prototype.md,b.prototype.nd=function(r,i,l,f){if(i!=null){r=Kt(this,r);for(var R=0;R<i.length;R++)this.a.l(l(i[R]),f(i[R]));Yt(this,r)}},b.prototype.writePackedSplitVarint64=b.prototype.nd,b.prototype.od=function(r,i,l,f){if(i!=null){r=Kt(this,r);for(var R=this.a,O=0;O<i.length;O++)ee(l(i[O]),f(i[O]),function(W,gt){R.l(W>>>0,gt>>>0)});Yt(this,r)}},b.prototype.writePackedSplitZigzagVarint64=b.prototype.od,b.prototype.dd=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++){var f=Wi(i[l]);this.a.l(f.lo,f.hi)}Yt(this,r)}},b.prototype.writePackedInt64String=b.prototype.dd,b.prototype.pd=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++)this.a.j(i[l]);Yt(this,r)}},b.prototype.writePackedUint32=b.prototype.pd,b.prototype.qd=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++)this.a.j(parseInt(i[l],10));Yt(this,r)}},b.prototype.writePackedUint32String=b.prototype.qd,b.prototype.rd=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++)this.a.va(i[l]);Yt(this,r)}},b.prototype.writePackedUint64=b.prototype.rd,b.prototype.sd=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++){var f=vt(i[l]);this.a.l(f.lo,f.hi)}Yt(this,r)}},b.prototype.writePackedUint64String=b.prototype.sd,b.prototype.hd=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++)this.a.wa(i[l]);Yt(this,r)}},b.prototype.writePackedSint32=b.prototype.hd,b.prototype.jd=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++)this.a.xa(i[l]);Yt(this,r)}},b.prototype.writePackedSint64=b.prototype.jd,b.prototype.kd=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++)this.a.W(xe(i[l]));Yt(this,r)}},b.prototype.writePackedSint64String=b.prototype.kd,b.prototype.ld=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++)this.a.W(i[l]);Yt(this,r)}},b.prototype.writePackedSintHash64=b.prototype.ld,b.prototype.Wc=function(r,i){if(i!=null&&i.length)for(mt(this,r,2),this.a.j(4*i.length),r=0;r<i.length;r++)this.a.s(i[r])},b.prototype.writePackedFixed32=b.prototype.Wc,b.prototype.Xc=function(r,i){if(i!=null&&i.length)for(mt(this,r,2),this.a.j(8*i.length),r=0;r<i.length;r++)this.a.V(i[r])},b.prototype.writePackedFixed64=b.prototype.Xc,b.prototype.Yc=function(r,i){if(i!=null&&i.length)for(mt(this,r,2),this.a.j(8*i.length),r=0;r<i.length;r++){var l=vt(i[r]);this.a.A(l.lo,l.hi)}},b.prototype.writePackedFixed64String=b.prototype.Yc,b.prototype.ed=function(r,i){if(i!=null&&i.length)for(mt(this,r,2),this.a.j(4*i.length),r=0;r<i.length;r++)this.a.S(i[r])},b.prototype.writePackedSfixed32=b.prototype.ed,b.prototype.fd=function(r,i){if(i!=null&&i.length)for(mt(this,r,2),this.a.j(8*i.length),r=0;r<i.length;r++)this.a.T(i[r])},b.prototype.writePackedSfixed64=b.prototype.fd,b.prototype.gd=function(r,i){if(i!=null&&i.length)for(mt(this,r,2),this.a.j(8*i.length),r=0;r<i.length;r++)this.a.ka(i[r])},b.prototype.writePackedSfixed64String=b.prototype.gd,b.prototype.$c=function(r,i){if(i!=null&&i.length)for(mt(this,r,2),this.a.j(4*i.length),r=0;r<i.length;r++)this.a.L(i[r])},b.prototype.writePackedFloat=b.prototype.$c,b.prototype.Uc=function(r,i){if(i!=null&&i.length)for(mt(this,r,2),this.a.j(8*i.length),r=0;r<i.length;r++)this.a.J(i[r])},b.prototype.writePackedDouble=b.prototype.Uc,b.prototype.Tc=function(r,i){if(i!=null&&i.length)for(mt(this,r,2),this.a.j(i.length),r=0;r<i.length;r++)this.a.I(i[r])},b.prototype.writePackedBool=b.prototype.Tc,b.prototype.Vc=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++)this.a.R(i[l]);Yt(this,r)}},b.prototype.writePackedEnum=b.prototype.Vc,b.prototype.Zc=function(r,i){if(i!=null&&i.length)for(mt(this,r,2),this.a.j(8*i.length),r=0;r<i.length;r++)this.a.K(i[r])},b.prototype.writePackedFixedHash64=b.prototype.Zc,b.prototype.td=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++)this.a.N(i[l]);Yt(this,r)}},b.prototype.writePackedVarintHash64=b.prototype.td,t.debug=We,t.Map=_,t.Message=U,t.BinaryReader=C,t.BinaryWriter=b,t.ExtensionFieldInfo=wt,t.ExtensionFieldBinaryInfo=Dt,t.exportSymbol=E,t.inherits=A,t.object={extend:P},t.typeOf=j})($);var xn;(t=>{var e,n,o,s,a;(A=>{A[A.UNDEFINED_BRAND=0]="UNDEFINED_BRAND",A[A.rabbitloader=1]="rabbitloader",A[A.dofollow=2]="dofollow",A[A.prefetch=3]="prefetch"})(t.Brand||(t.Brand={})),(A=>{A[A.AUDIENCE_UNDEFINED=0]="AUDIENCE_UNDEFINED",A[A.AUDIENCE_RL_WP_PLUGIN=1]="AUDIENCE_RL_WP_PLUGIN",A[A.AUDIENCE_RL_DASHBOARD=2]="AUDIENCE_RL_DASHBOARD",A[A.AUDIENCE_DF_DASHBOARD=3]="AUDIENCE_DF_DASHBOARD",A[A.AUDIENCE_CF_WORKER=4]="AUDIENCE_CF_WORKER",A[A.AUDIENCE_PREFETCH_DASHBOARD=5]="AUDIENCE_PREFETCH_DASHBOARD"})(t.Audience||(t.Audience={})),(A=>{A[A.CURRENCY_UNDEFINED=0]="CURRENCY_UNDEFINED",A[A.CURRENCY_USD=1]="CURRENCY_USD",A[A.CURRENCY_INR=2]="CURRENCY_INR"})(t.Currency||(t.Currency={})),(A=>{A[A.UNDEFINED_PLATFORM=0]="UNDEFINED_PLATFORM",A[A.wp=1]="wp",A[A.shopify=2]="shopify",A[A.phpsdk=3]="phpsdk",A[A.laravel=4]="laravel"})(t.PlatformID||(t.PlatformID={}));const c=class Ui extends $.Message{constructor(h){super(),ie(this,e,[]),$.Message.initialize(this,Array.isArray(h)?h:[],0,-1,[],oe(this,e)),!Array.isArray(h)&&typeof h=="object"&&("countryCode"in h&&h.countryCode!=null&&(this.countryCode=h.countryCode),"region"in h&&h.region!=null&&(this.region=h.region),"city"in h&&h.city!=null&&(this.city=h.city),"ipAddress"in h&&h.ipAddress!=null&&(this.ipAddress=h.ipAddress),"userAgent"in h&&h.userAgent!=null&&(this.userAgent=h.userAgent),"zip"in h&&h.zip!=null&&(this.zip=h.zip))}get countryCode(){return $.Message.getFieldWithDefault(this,1,"")}set countryCode(h){$.Message.setField(this,1,h)}get region(){return $.Message.getFieldWithDefault(this,2,"")}set region(h){$.Message.setField(this,2,h)}get city(){return $.Message.getFieldWithDefault(this,3,"")}set city(h){$.Message.setField(this,3,h)}get ipAddress(){return $.Message.getFieldWithDefault(this,4,"")}set ipAddress(h){$.Message.setField(this,4,h)}get userAgent(){return $.Message.getFieldWithDefault(this,5,"")}set userAgent(h){$.Message.setField(this,5,h)}get zip(){return $.Message.getFieldWithDefault(this,6,"")}set zip(h){$.Message.setField(this,6,h)}static fromObject(h){const P=new Ui({});return h.countryCode!=null&&(P.countryCode=h.countryCode),h.region!=null&&(P.region=h.region),h.city!=null&&(P.city=h.city),h.ipAddress!=null&&(P.ipAddress=h.ipAddress),h.userAgent!=null&&(P.userAgent=h.userAgent),h.zip!=null&&(P.zip=h.zip),P}toObject(){const h={};return this.countryCode!=null&&(h.countryCode=this.countryCode),this.region!=null&&(h.region=this.region),this.city!=null&&(h.city=this.city),this.ipAddress!=null&&(h.ipAddress=this.ipAddress),this.userAgent!=null&&(h.userAgent=this.userAgent),this.zip!=null&&(h.zip=this.zip),h}serialize(h){const P=h||new $.BinaryWriter;if(this.countryCode.length&&P.writeString(1,this.countryCode),this.region.length&&P.writeString(2,this.region),this.city.length&&P.writeString(3,this.city),this.ipAddress.length&&P.writeString(4,this.ipAddress),this.userAgent.length&&P.writeString(5,this.userAgent),this.zip.length&&P.writeString(6,this.zip),!h)return P.getResultBuffer()}static deserialize(h){const P=h instanceof $.BinaryReader?h:new $.BinaryReader(h),D=new Ui;for(;P.nextField()&&!P.isEndGroup();)switch(P.getFieldNumber()){case 1:D.countryCode=P.readString();break;case 2:D.region=P.readString();break;case 3:D.city=P.readString();break;case 4:D.ipAddress=P.readString();break;case 5:D.userAgent=P.readString();break;case 6:D.zip=P.readString();break;default:P.skipField()}return D}serializeBinary(){return this.serialize()}static deserializeBinary(h){return Ui.deserialize(h)}};e=new WeakMap;let p=c;t.DeviceLocation=p;const d=class Hi extends $.Message{constructor(h){super(),ie(this,n,[]),$.Message.initialize(this,Array.isArray(h)?h:[],0,-1,[],oe(this,n)),!Array.isArray(h)&&typeof h=="object"&&("code"in h&&h.code!=null&&(this.code=h.code),"message"in h&&h.message!=null&&(this.message=h.message))}get code(){return $.Message.getFieldWithDefault(this,1,"")}set code(h){$.Message.setField(this,1,h)}get message(){return $.Message.getFieldWithDefault(this,2,"")}set message(h){$.Message.setField(this,2,h)}static fromObject(h){const P=new Hi({});return h.code!=null&&(P.code=h.code),h.message!=null&&(P.message=h.message),P}toObject(){const h={};return this.code!=null&&(h.code=this.code),this.message!=null&&(h.message=this.message),h}serialize(h){const P=h||new $.BinaryWriter;if(this.code.length&&P.writeString(1,this.code),this.message.length&&P.writeString(2,this.message),!h)return P.getResultBuffer()}static deserialize(h){const P=h instanceof $.BinaryReader?h:new $.BinaryReader(h),D=new Hi;for(;P.nextField()&&!P.isEndGroup();)switch(P.getFieldNumber()){case 1:D.code=P.readString();break;case 2:D.message=P.readString();break;default:P.skipField()}return D}serializeBinary(){return this.serialize()}static deserializeBinary(h){return Hi.deserialize(h)}};n=new WeakMap;let g=d;t.Error=g;const m=class Gi extends $.Message{constructor(h){super(),ie(this,o,[]),$.Message.initialize(this,Array.isArray(h)?h:[],0,-1,[],oe(this,o)),!Array.isArray(h)&&typeof h=="object"&&("cents"in h&&h.cents!=null&&(this.cents=h.cents),"currency"in h&&h.currency!=null&&(this.currency=h.currency))}get cents(){return $.Message.getFieldWithDefault(this,1,0)}set cents(h){$.Message.setField(this,1,h)}get currency(){return $.Message.getFieldWithDefault(this,2,0)}set currency(h){$.Message.setField(this,2,h)}static fromObject(h){const P=new Gi({});return h.cents!=null&&(P.cents=h.cents),h.currency!=null&&(P.currency=h.currency),P}toObject(){const h={};return this.cents!=null&&(h.cents=this.cents),this.currency!=null&&(h.currency=this.currency),h}serialize(h){const P=h||new $.BinaryWriter;if(this.cents!=0&&P.writeInt64(1,this.cents),this.currency!=0&&P.writeEnum(2,this.currency),!h)return P.getResultBuffer()}static deserialize(h){const P=h instanceof $.BinaryReader?h:new $.BinaryReader(h),D=new Gi;for(;P.nextField()&&!P.isEndGroup();)switch(P.getFieldNumber()){case 1:D.cents=P.readInt64();break;case 2:D.currency=P.readEnum();break;default:P.skipField()}return D}serializeBinary(){return this.serialize()}static deserializeBinary(h){return Gi.deserialize(h)}};o=new WeakMap;let S=m;t.Money=S;const y=class Vi extends $.Message{constructor(h){super(),ie(this,s,[]),$.Message.initialize(this,Array.isArray(h)?h:[],0,-1,[],oe(this,s)),!Array.isArray(h)&&typeof h=="object"&&("source"in h&&h.source!=null&&(this.source=h.source),"target"in h&&h.target!=null&&(this.target=h.target),"medium"in h&&h.medium!=null&&(this.medium=h.medium),"campaign"in h&&h.campaign!=null&&(this.campaign=h.campaign),"term"in h&&h.term!=null&&(this.term=h.term),"content"in h&&h.content!=null&&(this.content=h.content))}get source(){return $.Message.getFieldWithDefault(this,1,"")}set source(h){$.Message.setField(this,1,h)}get target(){return $.Message.getFieldWithDefault(this,2,"")}set target(h){$.Message.setField(this,2,h)}get medium(){return $.Message.getFieldWithDefault(this,3,"")}set medium(h){$.Message.setField(this,3,h)}get campaign(){return $.Message.getFieldWithDefault(this,4,"")}set campaign(h){$.Message.setField(this,4,h)}get term(){return $.Message.getFieldWithDefault(this,5,"")}set term(h){$.Message.setField(this,5,h)}get content(){return $.Message.getFieldWithDefault(this,6,"")}set content(h){$.Message.setField(this,6,h)}static fromObject(h){const P=new Vi({});return h.source!=null&&(P.source=h.source),h.target!=null&&(P.target=h.target),h.medium!=null&&(P.medium=h.medium),h.campaign!=null&&(P.campaign=h.campaign),h.term!=null&&(P.term=h.term),h.content!=null&&(P.content=h.content),P}toObject(){const h={};return this.source!=null&&(h.source=this.source),this.target!=null&&(h.target=this.target),this.medium!=null&&(h.medium=this.medium),this.campaign!=null&&(h.campaign=this.campaign),this.term!=null&&(h.term=this.term),this.content!=null&&(h.content=this.content),h}serialize(h){const P=h||new $.BinaryWriter;if(this.source.length&&P.writeString(1,this.source),this.target.length&&P.writeString(2,this.target),this.medium.length&&P.writeString(3,this.medium),this.campaign.length&&P.writeString(4,this.campaign),this.term.length&&P.writeString(5,this.term),this.content.length&&P.writeString(6,this.content),!h)return P.getResultBuffer()}static deserialize(h){const P=h instanceof $.BinaryReader?h:new $.BinaryReader(h),D=new Vi;for(;P.nextField()&&!P.isEndGroup();)switch(P.getFieldNumber()){case 1:D.source=P.readString();break;case 2:D.target=P.readString();break;case 3:D.medium=P.readString();break;case 4:D.campaign=P.readString();break;case 5:D.term=P.readString();break;case 6:D.content=P.readString();break;default:P.skipField()}return D}serializeBinary(){return this.serialize()}static deserializeBinary(h){return Vi.deserialize(h)}};s=new WeakMap;let j=y;t.UrchinTracking=j;const k=class Ki extends $.Message{constructor(h){super(),ie(this,a,[]),$.Message.initialize(this,Array.isArray(h)?h:[],0,-1,[1],oe(this,a)),!Array.isArray(h)&&typeof h=="object"&&"values"in h&&h.values!=null&&(this.values=h.values)}get values(){return $.Message.getFieldWithDefault(this,1,[])}set values(h){$.Message.setField(this,1,h)}static fromObject(h){const P=new Ki({});return h.values!=null&&(P.values=h.values),P}toObject(){const h={};return this.values!=null&&(h.values=this.values),h}serialize(h){const P=h||new $.BinaryWriter;if(this.values.length&&P.writeRepeatedString(1,this.values),!h)return P.getResultBuffer()}static deserialize(h){const P=h instanceof $.BinaryReader?h:new $.BinaryReader(h),D=new Ki;for(;P.nextField()&&!P.isEndGroup();)switch(P.getFieldNumber()){case 1:$.Message.addToRepeatedField(D,1,P.readString());break;default:P.skipField()}return D}serializeBinary(){return this.serialize()}static deserializeBinary(h){return Ki.deserialize(h)}};a=new WeakMap;let E=k;t.Strings=E})(xn||(xn={}));var se;(t=>{var e,n,o,s,a,c,p,d,g,m,S,y,j,k,E;(ut=>{ut[ut.ERROR_CODE_UNDEFINED=0]="ERROR_CODE_UNDEFINED",ut[ut.ERROR_CODE_UNKNOWN=1]="ERROR_CODE_UNKNOWN",ut[ut.ERROR_CODE_ADD_DOMAIN_ANOTHER_USER=2]="ERROR_CODE_ADD_DOMAIN_ANOTHER_USER",ut[ut.ERROR_CODE_ADD_DOMAIN_FREE_COUNT_LIMIT=3]="ERROR_CODE_ADD_DOMAIN_FREE_COUNT_LIMIT"})(t.ErrorCode||(t.ErrorCode={})),(ut=>{ut[ut.NET_UNDEFINED=0]="NET_UNDEFINED",ut[ut.NET_2G=1]="NET_2G",ut[ut.NET_3G=2]="NET_3G",ut[ut.NET_4G=3]="NET_4G"})(t.NetworkEffectiveType||(t.NetworkEffectiveType={})),(ut=>{ut[ut.DRT_UNDEFINED=0]="DRT_UNDEFINED",ut[ut.DRT_MOBILE=1]="DRT_MOBILE",ut[ut.DRT_TABLET=2]="DRT_TABLET",ut[ut.DRT_DESKTOP=3]="DRT_DESKTOP"})(t.DeviceResolutionType||(t.DeviceResolutionType={})),(ut=>{ut[ut.PLAN_FREE=0]="PLAN_FREE",ut[ut.PLAN_M4_Y49=1]="PLAN_M4_Y49",ut[ut.PLAN_M9_Y99=2]="PLAN_M9_Y99"})(t.BillingPlanID||(t.BillingPlanID={}));const A=class Yi extends $.Message{constructor(u){super(),ie(this,e,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],oe(this,e)),!Array.isArray(u)&&typeof u=="object"&&("planID"in u&&u.planID!=null&&(this.planID=u.planID),"planName"in u&&u.planName!=null&&(this.planName=u.planName),"suggestionsLimit"in u&&u.suggestionsLimit!=null&&(this.suggestionsLimit=u.suggestionsLimit),"suggestionsUsed"in u&&u.suggestionsUsed!=null&&(this.suggestionsUsed=u.suggestionsUsed),"cycleStartDay"in u&&u.cycleStartDay!=null&&(this.cycleStartDay=u.cycleStartDay))}get planID(){return $.Message.getFieldWithDefault(this,1,0)}set planID(u){$.Message.setField(this,1,u)}get planName(){return $.Message.getFieldWithDefault(this,2,"")}set planName(u){$.Message.setField(this,2,u)}get suggestionsLimit(){return $.Message.getFieldWithDefault(this,3,0)}set suggestionsLimit(u){$.Message.setField(this,3,u)}get suggestionsUsed(){return $.Message.getFieldWithDefault(this,4,0)}set suggestionsUsed(u){$.Message.setField(this,4,u)}get cycleStartDay(){return $.Message.getFieldWithDefault(this,5,0)}set cycleStartDay(u){$.Message.setField(this,5,u)}static fromObject(u){const w=new Yi({});return u.planID!=null&&(w.planID=u.planID),u.planName!=null&&(w.planName=u.planName),u.suggestionsLimit!=null&&(w.suggestionsLimit=u.suggestionsLimit),u.suggestionsUsed!=null&&(w.suggestionsUsed=u.suggestionsUsed),u.cycleStartDay!=null&&(w.cycleStartDay=u.cycleStartDay),w}toObject(){const u={};return this.planID!=null&&(u.planID=this.planID),this.planName!=null&&(u.planName=this.planName),this.suggestionsLimit!=null&&(u.suggestionsLimit=this.suggestionsLimit),this.suggestionsUsed!=null&&(u.suggestionsUsed=this.suggestionsUsed),this.cycleStartDay!=null&&(u.cycleStartDay=this.cycleStartDay),u}serialize(u){const w=u||new $.BinaryWriter;if(this.planID!=0&&w.writeEnum(1,this.planID),this.planName.length&&w.writeString(2,this.planName),this.suggestionsLimit!=0&&w.writeInt64(3,this.suggestionsLimit),this.suggestionsUsed!=0&&w.writeInt64(4,this.suggestionsUsed),this.cycleStartDay!=0&&w.writeInt32(5,this.cycleStartDay),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new Yi;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:H.planID=w.readEnum();break;case 2:H.planName=w.readString();break;case 3:H.suggestionsLimit=w.readInt64();break;case 4:H.suggestionsUsed=w.readInt64();break;case 5:H.cycleStartDay=w.readInt32();break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return Yi.deserialize(u)}};e=new WeakMap;let h=A;t.BillingDetails=h;const P=class qi extends $.Message{constructor(u){super(),ie(this,n,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],oe(this,n)),!Array.isArray(u)&&typeof u=="object"&&("deviceResolutionType"in u&&u.deviceResolutionType!=null&&(this.deviceResolutionType=u.deviceResolutionType),"networkEffectiveType"in u&&u.networkEffectiveType!=null&&(this.networkEffectiveType=u.networkEffectiveType))}get deviceResolutionType(){return $.Message.getFieldWithDefault(this,1,0)}set deviceResolutionType(u){$.Message.setField(this,1,u)}get networkEffectiveType(){return $.Message.getFieldWithDefault(this,2,0)}set networkEffectiveType(u){$.Message.setField(this,2,u)}static fromObject(u){const w=new qi({});return u.deviceResolutionType!=null&&(w.deviceResolutionType=u.deviceResolutionType),u.networkEffectiveType!=null&&(w.networkEffectiveType=u.networkEffectiveType),w}toObject(){const u={};return this.deviceResolutionType!=null&&(u.deviceResolutionType=this.deviceResolutionType),this.networkEffectiveType!=null&&(u.networkEffectiveType=this.networkEffectiveType),u}serialize(u){const w=u||new $.BinaryWriter;if(this.deviceResolutionType!=0&&w.writeEnum(1,this.deviceResolutionType),this.networkEffectiveType!=0&&w.writeEnum(2,this.networkEffectiveType),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new qi;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:H.deviceResolutionType=w.readEnum();break;case 2:H.networkEffectiveType=w.readEnum();break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return qi.deserialize(u)}};n=new WeakMap;let D=P;t.ClusterAttrs=D;const I=class Xi extends $.Message{constructor(u){super(),ie(this,o,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],oe(this,o)),!Array.isArray(u)&&typeof u=="object"&&("referrer"in u&&u.referrer!=null&&(this.referrer=u.referrer),"page"in u&&u.page!=null&&(this.page=u.page),"deviceResolutionType"in u&&u.deviceResolutionType!=null&&(this.deviceResolutionType=u.deviceResolutionType),"networkEffectiveType"in u&&u.networkEffectiveType!=null&&(this.networkEffectiveType=u.networkEffectiveType))}get referrer(){return $.Message.getFieldWithDefault(this,1,"")}set referrer(u){$.Message.setField(this,1,u)}get page(){return $.Message.getFieldWithDefault(this,2,"")}set page(u){$.Message.setField(this,2,u)}get deviceResolutionType(){return $.Message.getFieldWithDefault(this,3,0)}set deviceResolutionType(u){$.Message.setField(this,3,u)}get networkEffectiveType(){return $.Message.getFieldWithDefault(this,4,0)}set networkEffectiveType(u){$.Message.setField(this,4,u)}static fromObject(u){const w=new Xi({});return u.referrer!=null&&(w.referrer=u.referrer),u.page!=null&&(w.page=u.page),u.deviceResolutionType!=null&&(w.deviceResolutionType=u.deviceResolutionType),u.networkEffectiveType!=null&&(w.networkEffectiveType=u.networkEffectiveType),w}toObject(){const u={};return this.referrer!=null&&(u.referrer=this.referrer),this.page!=null&&(u.page=this.page),this.deviceResolutionType!=null&&(u.deviceResolutionType=this.deviceResolutionType),this.networkEffectiveType!=null&&(u.networkEffectiveType=this.networkEffectiveType),u}serialize(u){const w=u||new $.BinaryWriter;if(this.referrer.length&&w.writeString(1,this.referrer),this.page.length&&w.writeString(2,this.page),this.deviceResolutionType!=0&&w.writeEnum(3,this.deviceResolutionType),this.networkEffectiveType!=0&&w.writeEnum(4,this.networkEffectiveType),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new Xi;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:H.referrer=w.readString();break;case 2:H.page=w.readString();break;case 3:H.deviceResolutionType=w.readEnum();break;case 4:H.networkEffectiveType=w.readEnum();break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return Xi.deserialize(u)}};o=new WeakMap;let z=I;t.GetPrefetchReq=z;const N=class Ji extends $.Message{constructor(u){super(),ie(this,s,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[1,2],oe(this,s)),!Array.isArray(u)&&typeof u=="object"&&("prerender"in u&&u.prerender!=null&&(this.prerender=u.prerender),"prefetch"in u&&u.prefetch!=null&&(this.prefetch=u.prefetch))}get prerender(){return $.Message.getFieldWithDefault(this,1,[])}set prerender(u){$.Message.setField(this,1,u)}get prefetch(){return $.Message.getFieldWithDefault(this,2,[])}set prefetch(u){$.Message.setField(this,2,u)}static fromObject(u){const w=new Ji({});return u.prerender!=null&&(w.prerender=u.prerender),u.prefetch!=null&&(w.prefetch=u.prefetch),w}toObject(){const u={};return this.prerender!=null&&(u.prerender=this.prerender),this.prefetch!=null&&(u.prefetch=this.prefetch),u}serialize(u){const w=u||new $.BinaryWriter;if(this.prerender.length&&w.writeRepeatedString(1,this.prerender),this.prefetch.length&&w.writeRepeatedString(2,this.prefetch),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new Ji;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:$.Message.addToRepeatedField(H,1,w.readString());break;case 2:$.Message.addToRepeatedField(H,2,w.readString());break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return Ji.deserialize(u)}};s=new WeakMap;let x=N;t.GetPrefetchRes=x;const V=class Zi extends $.Message{constructor(u){super(),ie(this,a,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],oe(this,a)),!Array.isArray(u)&&typeof u=="object"&&("host"in u&&u.host!=null&&(this.host=u.host),"platform"in u&&u.platform!=null&&(this.platform=u.platform))}get host(){return $.Message.getFieldWithDefault(this,1,"")}set host(u){$.Message.setField(this,1,u)}get platform(){return $.Message.getFieldWithDefault(this,2,xn.PlatformID.UNDEFINED_PLATFORM)}set platform(u){$.Message.setField(this,2,u)}static fromObject(u){const w=new Zi({});return u.host!=null&&(w.host=u.host),u.platform!=null&&(w.platform=u.platform),w}toObject(){const u={};return this.host!=null&&(u.host=this.host),this.platform!=null&&(u.platform=this.platform),u}serialize(u){const w=u||new $.BinaryWriter;if(this.host.length&&w.writeString(1,this.host),this.platform!=xn.PlatformID.UNDEFINED_PLATFORM&&w.writeEnum(2,this.platform),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new Zi;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:H.host=w.readString();break;case 2:H.platform=w.readEnum();break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return Zi.deserialize(u)}};a=new WeakMap;let G=V;t.AddDomainReq=G;const L=class Qi extends $.Message{constructor(u){super(),ie(this,c,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],oe(this,c)),!Array.isArray(u)&&typeof u=="object"&&"domain"in u&&u.domain!=null&&(this.domain=u.domain)}get domain(){return $.Message.getWrapperField(this,q,1)}set domain(u){$.Message.setWrapperField(this,1,u)}get has_domain(){return $.Message.getField(this,1)!=null}static fromObject(u){const w=new Qi({});return u.domain!=null&&(w.domain=q.fromObject(u.domain)),w}toObject(){const u={};return this.domain!=null&&(u.domain=this.domain.toObject()),u}serialize(u){const w=u||new $.BinaryWriter;if(this.has_domain&&w.writeMessage(1,this.domain,()=>this.domain.serialize(w)),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new Qi;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:w.readMessage(H.domain,()=>H.domain=q.deserialize(w));break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return Qi.deserialize(u)}};c=new WeakMap;let K=L;t.AddDomainRes=K;const J=class ts extends $.Message{constructor(u){super(),ie(this,p,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],oe(this,p))}static fromObject(u){return new ts({})}toObject(){return{}}serialize(u){const w=u||new $.BinaryWriter;if(!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new ts;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return ts.deserialize(u)}};p=new WeakMap;let _=J;t.GetDomainsReq=_;const Q=class es extends $.Message{constructor(u){super(),ie(this,d,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],oe(this,d)),!Array.isArray(u)&&typeof u=="object"&&("id"in u&&u.id!=null&&(this.id=u.id),"host"in u&&u.host!=null&&(this.host=u.host),"platform"in u&&u.platform!=null&&(this.platform=u.platform),"billingDetails"in u&&u.billingDetails!=null&&(this.billingDetails=u.billingDetails))}get id(){return $.Message.getFieldWithDefault(this,1,"")}set id(u){$.Message.setField(this,1,u)}get host(){return $.Message.getFieldWithDefault(this,2,"")}set host(u){$.Message.setField(this,2,u)}get platform(){return $.Message.getFieldWithDefault(this,3,xn.PlatformID.UNDEFINED_PLATFORM)}set platform(u){$.Message.setField(this,3,u)}get billingDetails(){return $.Message.getWrapperField(this,h,4)}set billingDetails(u){$.Message.setWrapperField(this,4,u)}get has_billingDetails(){return $.Message.getField(this,4)!=null}static fromObject(u){const w=new es({});return u.id!=null&&(w.id=u.id),u.host!=null&&(w.host=u.host),u.platform!=null&&(w.platform=u.platform),u.billingDetails!=null&&(w.billingDetails=h.fromObject(u.billingDetails)),w}toObject(){const u={};return this.id!=null&&(u.id=this.id),this.host!=null&&(u.host=this.host),this.platform!=null&&(u.platform=this.platform),this.billingDetails!=null&&(u.billingDetails=this.billingDetails.toObject()),u}serialize(u){const w=u||new $.BinaryWriter;if(this.id.length&&w.writeString(1,this.id),this.host.length&&w.writeString(2,this.host),this.platform!=xn.PlatformID.UNDEFINED_PLATFORM&&w.writeEnum(3,this.platform),this.has_billingDetails&&w.writeMessage(4,this.billingDetails,()=>this.billingDetails.serialize(w)),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new es;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:H.id=w.readString();break;case 2:H.host=w.readString();break;case 3:H.platform=w.readEnum();break;case 4:w.readMessage(H.billingDetails,()=>H.billingDetails=h.deserialize(w));break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return es.deserialize(u)}};d=new WeakMap;let q=Q;t.Domain=q;const tt=class rs extends $.Message{constructor(u){super(),ie(this,g,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[1],oe(this,g)),!Array.isArray(u)&&typeof u=="object"&&"domains"in u&&u.domains!=null&&(this.domains=u.domains)}get domains(){return $.Message.getRepeatedWrapperField(this,q,1)}set domains(u){$.Message.setRepeatedWrapperField(this,1,u)}static fromObject(u){const w=new rs({});return u.domains!=null&&(w.domains=u.domains.map(H=>q.fromObject(H))),w}toObject(){const u={};return this.domains!=null&&(u.domains=this.domains.map(w=>w.toObject())),u}serialize(u){const w=u||new $.BinaryWriter;if(this.domains.length&&w.writeRepeatedMessage(1,this.domains,H=>H.serialize(w)),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new rs;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:w.readMessage(H.domains,()=>$.Message.addToRepeatedWrapperField(H,1,q.deserialize(w),q));break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return rs.deserialize(u)}};g=new WeakMap;let dt=tt;t.GetDomainsRes=dt;const bt=class ns extends $.Message{constructor(u){super(),ie(this,m,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],oe(this,m)),!Array.isArray(u)&&typeof u=="object"&&"host"in u&&u.host!=null&&(this.host=u.host)}get host(){return $.Message.getFieldWithDefault(this,1,"")}set host(u){$.Message.setField(this,1,u)}static fromObject(u){const w=new ns({});return u.host!=null&&(w.host=u.host),w}toObject(){const u={};return this.host!=null&&(u.host=this.host),u}serialize(u){const w=u||new $.BinaryWriter;if(this.host.length&&w.writeString(1,this.host),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new ns;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:H.host=w.readString();break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return ns.deserialize(u)}};m=new WeakMap;let it=bt;t.GetReportReq=it;const xt=class os extends $.Message{constructor(u){super(),ie(this,S,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],oe(this,S)),!Array.isArray(u)&&typeof u=="object"&&("fromPath"in u&&u.fromPath!=null&&(this.fromPath=u.fromPath),"toPath"in u&&u.toPath!=null&&(this.toPath=u.toPath),"probability"in u&&u.probability!=null&&(this.probability=u.probability))}get fromPath(){return $.Message.getFieldWithDefault(this,1,"")}set fromPath(u){$.Message.setField(this,1,u)}get toPath(){return $.Message.getFieldWithDefault(this,2,"")}set toPath(u){$.Message.setField(this,2,u)}get probability(){return $.Message.getFieldWithDefault(this,3,0)}set probability(u){$.Message.setField(this,3,u)}static fromObject(u){const w=new os({});return u.fromPath!=null&&(w.fromPath=u.fromPath),u.toPath!=null&&(w.toPath=u.toPath),u.probability!=null&&(w.probability=u.probability),w}toObject(){const u={};return this.fromPath!=null&&(u.fromPath=this.fromPath),this.toPath!=null&&(u.toPath=this.toPath),this.probability!=null&&(u.probability=this.probability),u}serialize(u){const w=u||new $.BinaryWriter;if(this.fromPath.length&&w.writeString(1,this.fromPath),this.toPath.length&&w.writeString(2,this.toPath),this.probability!=0&&w.writeUint32(3,this.probability),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new os;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:H.fromPath=w.readString();break;case 2:H.toPath=w.readString();break;case 3:H.probability=w.readUint32();break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return os.deserialize(u)}};S=new WeakMap;let Ct=xt;t.GetReportItem=Ct;const Qt=class is extends $.Message{constructor(u){super(),ie(this,y,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[1],oe(this,y)),!Array.isArray(u)&&typeof u=="object"&&"items"in u&&u.items!=null&&(this.items=u.items)}get items(){return $.Message.getRepeatedWrapperField(this,Ct,1)}set items(u){$.Message.setRepeatedWrapperField(this,1,u)}static fromObject(u){const w=new is({});return u.items!=null&&(w.items=u.items.map(H=>Ct.fromObject(H))),w}toObject(){const u={};return this.items!=null&&(u.items=this.items.map(w=>w.toObject())),u}serialize(u){const w=u||new $.BinaryWriter;if(this.items.length&&w.writeRepeatedMessage(1,this.items,H=>H.serialize(w)),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new is;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:w.readMessage(H.items,()=>$.Message.addToRepeatedWrapperField(H,1,Ct.deserialize(w),Ct));break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return is.deserialize(u)}};y=new WeakMap;let fe=Qt;t.GetReportRes=fe;const Ft=class ss extends $.Message{constructor(u){super(),ie(this,j,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],oe(this,j)),!Array.isArray(u)&&typeof u=="object"&&"host"in u&&u.host!=null&&(this.host=u.host)}get host(){return $.Message.getFieldWithDefault(this,1,"")}set host(u){$.Message.setField(this,1,u)}static fromObject(u){const w=new ss({});return u.host!=null&&(w.host=u.host),w}toObject(){const u={};return this.host!=null&&(u.host=this.host),u}serialize(u){const w=u||new $.BinaryWriter;if(this.host.length&&w.writeString(1,this.host),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new ss;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:H.host=w.readString();break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return ss.deserialize(u)}};j=new WeakMap;let Wt=Ft;t.GetReportV2Req=Wt;const st=class as extends $.Message{constructor(u){super(),ie(this,k,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],oe(this,k)),!Array.isArray(u)&&typeof u=="object"&&("fromPath"in u&&u.fromPath!=null&&(this.fromPath=u.fromPath),"toPath"in u&&u.toPath!=null&&(this.toPath=u.toPath),"impressions"in u&&u.impressions!=null&&(this.impressions=u.impressions),"clusterAttrs"in u&&u.clusterAttrs!=null&&(this.clusterAttrs=u.clusterAttrs))}get fromPath(){return $.Message.getFieldWithDefault(this,1,"")}set fromPath(u){$.Message.setField(this,1,u)}get toPath(){return $.Message.getFieldWithDefault(this,2,"")}set toPath(u){$.Message.setField(this,2,u)}get impressions(){return $.Message.getFieldWithDefault(this,3,0)}set impressions(u){$.Message.setField(this,3,u)}get clusterAttrs(){return $.Message.getWrapperField(this,D,4)}set clusterAttrs(u){$.Message.setWrapperField(this,4,u)}get has_clusterAttrs(){return $.Message.getField(this,4)!=null}static fromObject(u){const w=new as({});return u.fromPath!=null&&(w.fromPath=u.fromPath),u.toPath!=null&&(w.toPath=u.toPath),u.impressions!=null&&(w.impressions=u.impressions),u.clusterAttrs!=null&&(w.clusterAttrs=D.fromObject(u.clusterAttrs)),w}toObject(){const u={};return this.fromPath!=null&&(u.fromPath=this.fromPath),this.toPath!=null&&(u.toPath=this.toPath),this.impressions!=null&&(u.impressions=this.impressions),this.clusterAttrs!=null&&(u.clusterAttrs=this.clusterAttrs.toObject()),u}serialize(u){const w=u||new $.BinaryWriter;if(this.fromPath.length&&w.writeString(1,this.fromPath),this.toPath.length&&w.writeString(2,this.toPath),this.impressions!=0&&w.writeUint64(3,this.impressions),this.has_clusterAttrs&&w.writeMessage(4,this.clusterAttrs,()=>this.clusterAttrs.serialize(w)),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new as;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:H.fromPath=w.readString();break;case 2:H.toPath=w.readString();break;case 3:H.impressions=w.readUint64();break;case 4:w.readMessage(H.clusterAttrs,()=>H.clusterAttrs=D.deserialize(w));break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return as.deserialize(u)}};k=new WeakMap;let rt=st;t.GetReportV2Item=rt;const nt=class ls extends $.Message{constructor(u){super(),ie(this,E,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[1],oe(this,E)),!Array.isArray(u)&&typeof u=="object"&&("items"in u&&u.items!=null&&(this.items=u.items),"suggestionsGeneratedL30"in u&&u.suggestionsGeneratedL30!=null&&(this.suggestionsGeneratedL30=u.suggestionsGeneratedL30),"domain"in u&&u.domain!=null&&(this.domain=u.domain))}get items(){return $.Message.getRepeatedWrapperField(this,rt,1)}set items(u){$.Message.setRepeatedWrapperField(this,1,u)}get suggestionsGeneratedL30(){return $.Message.getFieldWithDefault(this,2,0)}set suggestionsGeneratedL30(u){$.Message.setField(this,2,u)}get domain(){return $.Message.getWrapperField(this,q,3)}set domain(u){$.Message.setWrapperField(this,3,u)}get has_domain(){return $.Message.getField(this,3)!=null}static fromObject(u){const w=new ls({});return u.items!=null&&(w.items=u.items.map(H=>rt.fromObject(H))),u.suggestionsGeneratedL30!=null&&(w.suggestionsGeneratedL30=u.suggestionsGeneratedL30),u.domain!=null&&(w.domain=q.fromObject(u.domain)),w}toObject(){const u={};return this.items!=null&&(u.items=this.items.map(w=>w.toObject())),this.suggestionsGeneratedL30!=null&&(u.suggestionsGeneratedL30=this.suggestionsGeneratedL30),this.domain!=null&&(u.domain=this.domain.toObject()),u}serialize(u){const w=u||new $.BinaryWriter;if(this.items.length&&w.writeRepeatedMessage(1,this.items,H=>H.serialize(w)),this.suggestionsGeneratedL30!=0&&w.writeInt64(2,this.suggestionsGeneratedL30),this.has_domain&&w.writeMessage(3,this.domain,()=>this.domain.serialize(w)),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new ls;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:w.readMessage(H.items,()=>$.Message.addToRepeatedWrapperField(H,1,rt.deserialize(w),rt));break;case 2:H.suggestionsGeneratedL30=w.readInt64();break;case 3:w.readMessage(H.domain,()=>H.domain=q.deserialize(w));break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return ls.deserialize(u)}};E=new WeakMap;let Rt=nt;t.GetReportV2Res=Rt})(se||(se={}));const R1=t=>{switch(t){case se.DeviceResolutionType.DRT_MOBILE:return"Mobile";case se.DeviceResolutionType.DRT_TABLET:return"Tablet";case se.DeviceResolutionType.DRT_DESKTOP:return"Desktop";default:return"Unknown"}},E1=t=>{switch(t){case se.NetworkEffectiveType.NET_2G:return"2G";case se.NetworkEffectiveType.NET_3G:return"3G";case se.NetworkEffectiveType.NET_4G:return"4G";default:return"Unknown"}},T1=(t,e)=>{const n=[];return t!==void 0&&t!==se.DeviceResolutionType.DRT_UNDEFINED&&n.push(R1(t)),e!==void 0&&e!==se.NetworkEffectiveType.NET_UNDEFINED&&n.push(E1(e)),n.join(" + ")||"Uncategorized"},k1=({details:t,totalImpressions:e})=>v.jsxs(ft,{sx:{p:2,bgcolor:"grey.50"},children:[v.jsx(et,{variant:"subtitle2",gutterBottom:!0,children:"Navigation Details"}),v.jsxs(Cu,{size:"small",children:[v.jsx(ku,{children:v.jsxs(ho,{children:[v.jsx(ke,{children:v.jsx(et,{variant:"caption",fontWeight:"bold",children:"Winning Attribute"})}),v.jsx(ke,{children:v.jsx(et,{variant:"caption",fontWeight:"bold",children:"Destination"})}),v.jsx(ke,{align:"right",children:v.jsx(et,{variant:"caption",fontWeight:"bold",children:"Confidence"})})]})}),v.jsx(Eu,{children:t.map((n,o)=>{const s=(n.impressions/e*100).toFixed(1);return v.jsxs(ho,{children:[v.jsx(ke,{children:v.jsx(et,{variant:"body2",children:T1(n.clusterAttrs.deviceResolutionType,n.clusterAttrs.networkEffectiveType)})}),v.jsx(ke,{children:v.jsx(et,{variant:"body2",component:"code",sx:{bgcolor:"grey.200",px:1,py:.5,borderRadius:.5,fontFamily:"monospace"},children:n.toPath})}),v.jsx(ke,{align:"right",children:v.jsx(Qe,{label:`${s}%`,size:"small",variant:"outlined",color:parseFloat(s)>50?"success":parseFloat(s)>25?"warning":"error"})})]},o)})})]})]}),j1=({item:t})=>{const[e,n]=St.useState(!1);return v.jsxs(v.Fragment,{children:[v.jsxs(ho,{hover:!0,children:[v.jsx(ke,{children:v.jsx(ta,{size:"small",onClick:()=>n(!e),sx:{mr:1},children:e?v.jsx(y1,{}):v.jsx(m1,{})})}),v.jsx(ke,{children:v.jsx(et,{variant:"body2",component:"code",sx:{bgcolor:"grey.100",px:1,py:.5,borderRadius:.5,fontFamily:"monospace"},children:t.fromPath})}),v.jsx(ke,{align:"center",children:v.jsx(et,{variant:"body2",fontWeight:"medium",children:t.totalImpressions.toLocaleString()})}),v.jsx(ke,{align:"center",children:v.jsx(et,{variant:"body2",fontWeight:"medium",children:t.possibleNavigations})})]}),v.jsx(ho,{children:v.jsx(ke,{style:{paddingBottom:0,paddingTop:0},colSpan:4,children:v.jsx(ay,{in:e,timeout:"auto",unmountOnExit:!0,children:v.jsx(k1,{details:t.details,totalImpressions:t.totalImpressions})})})})]})},P1=({items:t,loading:e=!1,error:n=null,onNavigateToSettings:o,showDashboardLink:s=!1})=>e?v.jsxs(ft,{sx:{p:3},children:[v.jsx(fu,{}),v.jsx(et,{variant:"body2",color:"text.secondary",sx:{mt:2},children:"Loading report data..."})]}):n?v.jsxs(ft,{sx:{p:3,textAlign:"center"},children:[v.jsx(et,{variant:"body1",color:"error",sx:{mb:2},children:n}),v.jsx(et,{variant:"body2",color:"text.secondary",children:"Please check your internet connection and try again."})]}):t.length===0?v.jsxs(ft,{sx:{p:3,textAlign:"center"},children:[v.jsx(Iu,{sx:{fontSize:48,color:"text.disabled",mb:2}}),v.jsx(et,{variant:"body1",color:"text.secondary",sx:{mb:2},children:"No prefetch data available yet."}),v.jsxs(ru,{spacing:1,alignItems:"center",children:[v.jsx(et,{variant:"body2",color:"text.secondary",children:"New websites may take a few minutes to generate reports based on visitor traffic."}),v.jsx(et,{variant:"body2",color:"text.secondary",children:"Please ensure the Smart Prefetch plugin is properly integrated."}),o&&v.jsx(ft,{sx:{mt:2},children:v.jsxs(gu,{component:"button",variant:"body2",onClick:o,sx:{display:"inline-flex",alignItems:"center",gap:.5,textDecoration:"none","&:hover":{textDecoration:"underline"}},children:[v.jsx(Du,{fontSize:"small"}),"Check integration settings"]})})]})]}):v.jsxs(v.Fragment,{children:[v.jsxs(ft,{children:[v.jsx(et,{variant:"body2",color:"text.secondary",sx:{mb:3},children:"Analysis of user navigation patterns and prefetch predictions for your website."}),v.jsx(Bv,{component:bi,elevation:1,children:v.jsxs(Cu,{children:[v.jsx(ku,{children:v.jsxs(ho,{children:[v.jsx(ke,{width:"50px"}),v.jsx(ke,{children:v.jsx(et,{variant:"subtitle2",fontWeight:"bold",children:"Page"})}),v.jsx(ke,{align:"center",children:v.jsx(et,{variant:"subtitle2",fontWeight:"bold",children:"Samples Collected"})}),v.jsx(ke,{align:"center",children:v.jsx(et,{variant:"subtitle2",fontWeight:"bold",children:"Possible Navigation"})})]})}),v.jsx(Eu,{children:t.map((a,c)=>v.jsx(j1,{item:a},c))})]})}),v.jsxs(et,{variant:"caption",color:"text.secondary",sx:{mt:2,display:"block"},children:["Showing ",t.length," page",t.length!==1?"s":""," with prefetch data"]})]}),s&&v.jsx(ft,{sx:{mt:2,textAlign:"center"},children:v.jsxs(gu,{href:"https://dash.smartprefetch.link/",target:"_blank",rel:"noopener noreferrer",variant:"body2",sx:{display:"inline-flex",alignItems:"center",gap:.5,textDecoration:"none","&:hover":{textDecoration:"underline"}},children:[v.jsx(Iu,{fontSize:"small"}),"Visit Smart Prefetch Dashboard for Advanced Analytics"]})})]}),ba=({title:t,value:e,subtitle:n,icon:o=v.jsx(vn,{}),color:s="primary",infoTooltip:a})=>v.jsx(Rr,{elevation:2,sx:{height:"100%",background:"linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%)",border:"1px solid",borderColor:"divider",transition:"all 0.3s ease-in-out","&:hover":{elevation:4,transform:"translateY(-2px)"}},children:v.jsxs(Er,{sx:{p:3},children:[v.jsxs(ft,{sx:{display:"flex",alignItems:"center",mb:2},children:[v.jsx(ft,{sx:{display:"flex",alignItems:"center",justifyContent:"center",width:48,height:48,borderRadius:"12px",backgroundColor:`${s}.main`,color:"white",mr:2},children:o}),v.jsxs(ft,{sx:{display:"flex",alignItems:"center",flex:1},children:[v.jsx(et,{variant:"h6",component:"h3",color:"text.primary",sx:{fontWeight:600,flex:1},children:t}),a&&v.jsx(vu,{title:a,placement:"top",arrow:!0,sx:{ml:1},children:v.jsx(ta,{size:"small",sx:{color:"text.secondary",opacity:.7,"&:hover":{opacity:1,color:`${s}.main`}},children:v.jsx(Fu,{fontSize:"small"})})})]})]}),v.jsx(et,{variant:"h3",component:"div",color:`${s}.main`,sx:{fontWeight:700,mb:1,fontSize:{xs:"2rem",sm:"2.5rem"}},children:e}),n&&v.jsx(et,{variant:"body2",color:"text.secondary",sx:{fontWeight:500},children:n})]})}),$1=({suggestionsGenerated:t,averageConfidence:e,averageDivergence:n})=>v.jsx(ft,{sx:{mb:4},children:v.jsxs(tr,{container:!0,spacing:3,children:[v.jsx(tr,{item:!0,xs:12,sm:6,md:4,children:v.jsx(ba,{title:"Suggestions Generated",value:t.toLocaleString(),subtitle:"Last 30 days",icon:v.jsx(vn,{}),color:"success",infoTooltip:"This shows how many page predictions our AI has generated for your website in the last 30 days. Higher numbers mean more opportunities for faster loading!"})}),v.jsx(tr,{item:!0,xs:12,sm:6,md:4,children:v.jsx(ba,{title:"Average Confidence",value:`${e.toFixed(1)}%`,subtitle:"Prediction accuracy",icon:v.jsx(zu,{}),color:"info",infoTooltip:"This measures how sure our AI is about its predictions. Higher confidence means users are more likely to visit the predicted pages, resulting in faster loading times."})}),v.jsx(tr,{item:!0,xs:12,sm:6,md:4,children:v.jsx(ba,{title:"Average Divergence",value:n.toFixed(1),subtitle:"Navigation paths per page",icon:v.jsx(Nu,{}),color:"warning",infoTooltip:"This shows the average number of different pages users might visit next from each page. Lower numbers indicate more predictable user behavior, which leads to better prefetching."})})]})}),M1=({billingDetails:t,showDashboardLink:e=!1,onUpgradeClick:n})=>{if(!t)return null;const{planName:o,suggestionsUsed:s,suggestionsLimit:a,cycleStartDay:c}=t,p=a>0?Math.min(s/a*100,100):0,d=y=>y.toLocaleString(),g=()=>{e?window.open("https://dash.smartprefetch.link/dashboard","_blank"):n&&n()},m=`${c}${(y=>{if(y>=11&&y<=13)return"th";switch(y%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(c)}`,S=`Cycle resets on the ${m} of each month`;return v.jsx(Rr,{sx:{mb:2,background:"linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%)",border:"1px solid",borderColor:"divider",borderRadius:2,boxShadow:"0 2px 12px rgba(0, 0, 0, 0.08)"},children:v.jsxs(Er,{sx:{p:2,"&:last-child":{pb:2}},children:[v.jsxs(ft,{display:"flex",justifyContent:"space-between",alignItems:"center",mb:1.5,children:[v.jsxs(ft,{display:"flex",alignItems:"center",gap:1,children:[v.jsx(et,{variant:"subtitle2",fontWeight:600,color:"text.primary",children:"Current Plan:"}),v.jsx(Qe,{label:o,color:"primary",size:"small",sx:{fontWeight:600,fontSize:"0.7rem",height:24}})]}),v.jsx(tu,{variant:"contained",startIcon:v.jsx(w1,{}),onClick:g,size:"small",sx:{borderRadius:2,textTransform:"none",fontWeight:600,fontSize:"0.8rem",px:2,py:.5,minHeight:"auto",boxShadow:"0 2px 8px rgba(25, 118, 210, 0.3)","&:hover":{boxShadow:"0 4px 12px rgba(25, 118, 210, 0.4)",transform:"translateY(-1px)"}},children:"Upgrade"})]}),v.jsxs(ft,{children:[v.jsxs(ft,{display:"flex",justifyContent:"space-between",alignItems:"center",mb:.5,children:[v.jsxs(et,{variant:"body2",fontWeight:500,fontSize:"0.9rem",children:[d(s)," / ",a===0?"∞":d(a)]}),v.jsxs(ft,{display:"flex",alignItems:"center",gap:1,children:[v.jsx(et,{variant:"body2",color:"text.secondary",fontSize:"0.8rem",children:a>0?`${p.toFixed(1)}%`:"Unlimited"}),v.jsx(vu,{title:S,arrow:!0,placement:"top",children:v.jsxs(et,{variant:"body2",color:"text.secondary",sx:{cursor:"help",textDecoration:"underline dotted",fontSize:"0.8rem","&:hover":{color:"primary.main"}},children:["Resets ",m]})})]})]}),a>0?v.jsx(fu,{variant:"determinate",value:p,sx:{height:6,borderRadius:3,backgroundColor:"rgba(0, 0, 0, 0.1)",mb:.5,"& .MuiLinearProgress-bar":{borderRadius:3,background:p>80?"linear-gradient(45deg, #ff9800 30%, #f57c00 90%)":p>60?"linear-gradient(45deg, #2196f3 30%, #1976d2 90%)":"linear-gradient(45deg, #4caf50 30%, #388e3c 90%)"}}}):v.jsx(ft,{sx:{height:6,borderRadius:3,background:"linear-gradient(45deg, #4caf50 30%, #388e3c 90%)",position:"relative",overflow:"hidden",mb:.5,"&::after":{content:'""',position:"absolute",top:0,left:"-100%",width:"100%",height:"100%",background:"linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent)",animation:"shimmer 2s infinite"},"@keyframes shimmer":{"0%":{left:"-100%"},"100%":{left:"100%"}}}}),v.jsx(et,{variant:"caption",color:"text.secondary",fontSize:"0.7rem",children:"Smart navigation predictions this cycle"})]})]})})},A1=5*60*1e3,O1=3,I1=[500,502,503],B1=!1;class F1 extends Error{constructor(e){super(e),this.name="MissingPathVarError"}}const z1=new F1("path variable is missing");function D1(t,e){let n=!1,o=t;for(const[s,a]of Object.entries(e))o=o.replace(s,a);return n=o.includes("{"),{newPath:o,missingVar:n}}const N1=(t,e={},n,o)=>{const{timeout:s=A1,retryCount:a=O1,retryableCodes:c=I1,contentTypeJson:p=B1}=e;let{newPath:d,missingVar:g}=D1(o+"/prefetch/v2/report",e.pathVars||{});if(g)return Promise.reject(z1);const m=t.serializeBinary(),S={method:"GET",headers:new Headers({Authorization:`Bearer ${n}`,"Content-Type":p?"application/json":"application/x-protobuf",Accept:p?"application/json":"application/x-protobuf",...Object.fromEntries(e.headers||new Headers)}),...e.cache?{cache:e.cache}:{}};d=d+"?"+new URLSearchParams({get_params:btoa(String.fromCharCode.apply(null,Array.from(m)))});async function y(j){try{const k=await fetch(d,S);if(!k.ok&&c.includes(k.status)&&j!==0)return y(j-1);if(p)try{return[await k.json(),k.status]}catch(E){return console.log("error in reading response body: ",E),[new se.GetReportV2Res,k.status]}try{const E=await k.arrayBuffer();if(E.byteLength===0)return[new se.GetReportV2Res,k.status];const A=new Uint8Array(E);return[se.GetReportV2Res.deserialize(A),k.status]}catch(E){return console.error("error in reading response body",E),[new se.GetReportV2Res,k.status]}}catch(k){return console.log("error getting data: ",k),[new se.GetReportV2Res,0]}}return y(a)},_1=window.location.hostname.includes(".local")||window.location.hostname.includes("localhost"),L1=_1?"https://api.smartprefetch.local":"https://api.smartprefetch.link",W1=({host:t,jwt:e,onAuthenticationFailed:n,onNavigateToSettings:o,onNavigateToUpgrade:s,showDashboardLink:a=!1})=>{const[c,p]=St.useState([]),[d,g]=St.useState(!1),[m,S]=St.useState(null),[y,j]=St.useState({suggestionsGenerated:0,averageConfidence:0,averageDivergence:0}),[k,E]=St.useState(null),A=D=>{const I={};return D.forEach(z=>{const N=z.fromPath,x=z.clusterAttrs;if(z.impressions===0||!x)return;const V=x.deviceResolutionType,G=x.networkEffectiveType;V===se.DeviceResolutionType.DRT_UNDEFINED&&G===se.NetworkEffectiveType.NET_UNDEFINED||(I[N]||(I[N]={fromPath:N,totalImpressions:0,possibleNavigations:0,details:[]}),I[N].totalImpressions+=z.impressions,I[N].possibleNavigations+=1,I[N].details.push({toPath:z.toPath,impressions:z.impressions,clusterAttrs:{deviceResolutionType:V!==se.DeviceResolutionType.DRT_UNDEFINED?V:void 0,networkEffectiveType:G!==se.NetworkEffectiveType.NET_UNDEFINED?G:void 0}}))}),Object.values(I).forEach(z=>{z.details.sort((N,x)=>x.impressions-N.impressions)}),Object.values(I)},h=(D,I,z)=>{if(I.length===0)return{suggestionsGenerated:z,averageConfidence:0,averageDivergence:0};let N=0;I.forEach(G=>{let L=0;G.details.forEach(K=>{const J=K.impressions/G.totalImpressions*100;L=Math.max(L,J)}),N+=L});const x=N/I.length,V=I.reduce((G,L)=>G+L.possibleNavigations,0)/I.length;return{suggestionsGenerated:z,averageConfidence:x,averageDivergence:V}},P=async()=>{var D,I,z,N,x;if(t){g(!0),S(null);try{const V=new se.GetReportV2Req({host:t}),[G]=await N1(V,{},e,L1),L=A(G.items||[]);p(L);const K=h(G.items||[],L,G.suggestionsGeneratedL30||0);j(K),(D=G.domain)!=null&&D.billingDetails?E({planName:G.domain.billingDetails.planName||"Free Plan",suggestionsUsed:G.domain.billingDetails.suggestionsUsed||0,suggestionsLimit:G.domain.billingDetails.suggestionsLimit||0,cycleStartDay:G.domain.billingDetails.cycleStartDay||1}):E(null)}catch(V){if(console.error("Error loading report:",V),(I=V.message)!=null&&I.includes("401")||(z=V.message)!=null&&z.includes("Unauthorized")||(N=V.message)!=null&&N.includes("authentication")||(x=V.message)!=null&&x.includes("token")){S("Your session has expired. Please sign in again to continue. Error RT109."),setTimeout(()=>{n==null||n()},2e3);return}S("Failed to load report data. Please try again."),p([])}finally{g(!1)}}};return St.useEffect(()=>{P()},[t,e]),v.jsxs(ft,{children:[v.jsx($1,{suggestionsGenerated:y.suggestionsGenerated,averageConfidence:y.averageConfidence,averageDivergence:y.averageDivergence}),v.jsx(M1,{billingDetails:k,showDashboardLink:a,onUpgradeClick:s}),v.jsx(P1,{items:c,loading:d,error:m,onNavigateToSettings:o,showDashboardLink:a})]})},U1=({showLogo:t=!0,variant:e="full"})=>{const n=()=>v.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[v.jsx("rect",{width:"64",height:"64",fill:"transparent"}),v.jsx("circle",{cx:"24",cy:"32",r:"20",stroke:"#008080",strokeWidth:"4",fill:"none"}),v.jsx("path",{d:"M24 14 L36 32 L24 51",stroke:"#008080",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),v.jsx("path",{d:"M37 32 L59 32",stroke:"#008080",strokeWidth:"4",strokeLinecap:"round"})]});return v.jsx(ft,{sx:{backgroundColor:"background.paper",borderBottom:"1px solid",borderColor:"divider",py:e==="compact"?1.5:2,px:3},children:v.jsxs(ru,{direction:"row",alignItems:"center",spacing:2,children:[t&&v.jsx(n,{}),v.jsxs(ft,{children:[v.jsx(et,{variant:e==="compact"?"h6":"h5",component:"h1",sx:{fontWeight:700,background:"linear-gradient(45deg, #008080 30%, #4db6ac 90%)",backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",textFillColor:"transparent",mb:e==="compact"?0:.5},children:"Smart Prefetch"}),e==="full"&&v.jsx(et,{variant:"body2",color:"text.secondary",sx:{fontWeight:500},children:"Intelligent Page-to-Page Navigation Optimization"})]})]})})},H1=()=>v.jsx(Rr,{sx:{mt:3,backgroundColor:"background.paper"},elevation:1,children:v.jsxs(Er,{sx:{p:3},children:[v.jsxs(ft,{sx:{display:"flex",alignItems:"center",mb:2},children:[v.jsx(Fu,{color:"primary",sx:{mr:1}}),v.jsx(et,{variant:"h6",component:"h3",color:"primary.main",children:"Understanding Your Prefetch Report"})]}),v.jsx(et,{variant:"body2",color:"text.secondary",paragraph:!0,children:"This report shows how Smart Prefetch predicts user navigation patterns on your website based on real visitor behavior."}),v.jsxs(ft,{sx:{mb:3},children:[v.jsx(et,{variant:"subtitle2",gutterBottom:!0,sx:{fontWeight:600,color:"text.primary"},children:"Column Explanations:"}),v.jsxs(Ei,{dense:!0,sx:{pl:1},children:[v.jsxs(er,{sx:{pl:0,py:.5},children:[v.jsx(rr,{sx:{minWidth:36},children:v.jsx(ft,{sx:{width:8,height:8,borderRadius:"50%",backgroundColor:"primary.main"}})}),v.jsx(nr,{primary:v.jsxs(ft,{sx:{display:"flex",alignItems:"center",gap:1},children:[v.jsx(Qe,{label:"Page",size:"small",variant:"outlined"}),v.jsx(et,{variant:"body2",children:"- Source page where predictions are made"})]})})]}),v.jsxs(er,{sx:{pl:0,py:.5},children:[v.jsx(rr,{sx:{minWidth:36},children:v.jsx(ft,{sx:{width:8,height:8,borderRadius:"50%",backgroundColor:"primary.main"}})}),v.jsx(nr,{primary:v.jsxs(ft,{sx:{display:"flex",alignItems:"center",gap:1},children:[v.jsx(Qe,{label:"Samples Collected",size:"small",variant:"outlined"}),v.jsx(et,{variant:"body2",children:"- Number of user interactions analyzed"})]})})]}),v.jsxs(er,{sx:{pl:0,py:.5},children:[v.jsx(rr,{sx:{minWidth:36},children:v.jsx(ft,{sx:{width:8,height:8,borderRadius:"50%",backgroundColor:"primary.main"}})}),v.jsx(nr,{primary:v.jsxs(ft,{sx:{display:"flex",alignItems:"center",gap:1},children:[v.jsx(Qe,{label:"Possible Navigation",size:"small",variant:"outlined"}),v.jsx(et,{variant:"body2",children:"- Number of different predicted destinations"})]})})]})]})]}),v.jsx(rb,{sx:{my:2}}),v.jsxs(ft,{sx:{mb:3},children:[v.jsx(et,{variant:"subtitle2",gutterBottom:!0,sx:{fontWeight:600,color:"text.primary"},children:"Expandable Details:"}),v.jsxs(Ei,{dense:!0,sx:{pl:1},children:[v.jsxs(er,{sx:{pl:0,py:.5},children:[v.jsx(rr,{sx:{minWidth:36},children:v.jsx(Ou,{color:"primary",fontSize:"small"})}),v.jsx(nr,{primary:v.jsxs(ft,{sx:{display:"flex",alignItems:"center",gap:1},children:[v.jsx(Qe,{label:"Winning Attribute",size:"small",variant:"outlined"}),v.jsx(et,{variant:"body2",children:"- User characteristic that best predicts navigation"})]})})]}),v.jsxs(er,{sx:{pl:0,py:.5},children:[v.jsx(rr,{sx:{minWidth:36},children:v.jsx(vn,{color:"primary",fontSize:"small"})}),v.jsx(nr,{primary:v.jsxs(ft,{sx:{display:"flex",alignItems:"center",gap:1},children:[v.jsx(Qe,{label:"Destination",size:"small",variant:"outlined"}),v.jsx(et,{variant:"body2",children:"- Predicted page user will visit next"})]})})]}),v.jsxs(er,{sx:{pl:0,py:.5},children:[v.jsx(rr,{sx:{minWidth:36},children:v.jsx(ma,{color:"primary",fontSize:"small"})}),v.jsx(nr,{primary:v.jsxs(ft,{sx:{display:"flex",alignItems:"center",gap:1},children:[v.jsx(Qe,{label:"Confidence",size:"small",variant:"outlined"}),v.jsx(et,{variant:"body2",children:"- Likelihood of this prediction (higher = better)"})]})})]})]})]}),v.jsxs(ft,{sx:{p:2,backgroundColor:"grey.50",borderRadius:1,display:"flex",alignItems:"center",gap:1},children:[v.jsx(b1,{sx:{color:"text.secondary",fontSize:20}}),v.jsxs(et,{variant:"body2",sx:{color:"text.primary",fontWeight:500},children:[v.jsx("strong",{children:"Tip:"})," Pages with higher confidence scores (70%+) will have more effective prefetching, leading to faster load times and better user experience."]})]})]})}),G1=()=>v.jsx(Rr,{elevation:1,sx:{mt:3},children:v.jsxs(Er,{children:[v.jsxs(ft,{sx:{display:"flex",alignItems:"center",mb:2},children:[v.jsx(ma,{sx:{mr:1,color:"primary.main"}}),v.jsx(et,{variant:"h6",component:"h2",color:"primary.main",children:"Performance Benefits"})]}),v.jsx(et,{variant:"body2",color:"text.secondary",sx:{mb:3},children:"Smart Prefetch intelligently predicts and preloads pages to enhance your website's performance and user experience."}),v.jsxs(Ei,{dense:!0,children:[v.jsxs(er,{sx:{px:0},children:[v.jsx(rr,{sx:{minWidth:40},children:v.jsx(vn,{color:"success"})}),v.jsx(nr,{primary:"Higher Confidence = Better Performance",secondary:"Pages with higher confidence scores are more likely to be prefetched for users matching the winning attributes, significantly reducing load times."})]}),v.jsxs(er,{sx:{px:0},children:[v.jsx(rr,{sx:{minWidth:40},children:v.jsx(zu,{color:"info"})}),v.jsx(nr,{primary:"Adaptive Learning System",secondary:"The system continuously learns from user behavior patterns to optimize predictions over time, becoming more accurate with increased usage."})]}),v.jsxs(er,{sx:{px:0},children:[v.jsx(rr,{sx:{minWidth:40},children:v.jsx(Nu,{color:"warning"})}),v.jsx(nr,{primary:"Improved Navigation Experience",secondary:"Users experience faster page transitions and smoother navigation, leading to better engagement and reduced bounce rates."})]})]}),v.jsxs(ft,{sx:{mt:2,display:"flex",flexWrap:"wrap",gap:1},children:[v.jsx(Qe,{label:"Faster Load Times",size:"small",color:"success",variant:"outlined"}),v.jsx(Qe,{label:"Better User Experience",size:"small",color:"primary",variant:"outlined"}),v.jsx(Qe,{label:"Machine Learning",size:"small",color:"info",variant:"outlined"})]})]})}),V1=()=>{const t=[{icon:ma,title:"Lightning Fast",description:"Prefetch pages before users click, reducing load times by up to 70%"},{icon:Ou,title:"Smart Analytics",description:"AI-powered predictions based on user behavior patterns"},{icon:x1,title:"Privacy First",description:"No personal data collected, GDPR compliant"},{icon:h1,title:"Cloud Powered",description:"Scalable infrastructure that grows with your traffic"},{icon:f1,title:"Auto-Optimization",description:"Continuously learns and improves predictions"},{icon:vn,title:"Performance Boost",description:"Measurable improvements in user experience metrics"}],e=[{question:"How does Smart Prefetch work?",answer:"Smart Prefetch uses machine learning to analyze user behavior and predict which pages they are likely to visit next. It then prefetches those pages in the background."},{question:"Will it slow down my website?",answer:"No, Smart Prefetch is designed to be lightweight and only prefetches during idle time. It actually makes your website faster by loading pages before users need them."},{question:"Is it compatible with my platform?",answer:"Yes! Smart Prefetch works with WordPress, Shopify, and any website through our JavaScript integration."},{question:"How much does it cost?",answer:"We offer flexible pricing plans based on your traffic volume. Contact us for a custom quote that fits your needs."}];return v.jsxs(ft,{sx:{p:3},children:[v.jsx(et,{variant:"h4",gutterBottom:!0,children:"Help & Support"}),v.jsx(et,{variant:"body1",color:"text.secondary",gutterBottom:!0,children:"Get help with Smart Prefetch and optimize your website performance."}),v.jsx(Rr,{sx:{mt:4,mb:4},children:v.jsxs(Er,{children:[v.jsxs(ft,{sx:{display:"flex",alignItems:"center",gap:2,mb:3},children:[v.jsx(Bu,{sx:{color:"primary.main",fontSize:32}}),v.jsxs(ft,{children:[v.jsx(et,{variant:"h5",gutterBottom:!0,children:"Need Help?"}),v.jsx(et,{variant:"body1",color:"text.secondary",children:"Our support team is here to help you optimize your website performance."})]})]}),v.jsx(Gy,{severity:"info",sx:{mb:3},children:v.jsxs(et,{variant:"body2",children:[v.jsx("strong",{children:"Average Response Time:"})," 2-4 business days for free tiers"]})}),v.jsxs(ft,{sx:{display:"flex",gap:2,alignItems:"center",flexWrap:"wrap"},children:[v.jsx(tu,{variant:"contained",startIcon:v.jsx(Bu,{}),href:"mailto:support@smartprefetch.link",size:"large",children:"Email Support"}),v.jsx(et,{variant:"body2",color:"text.secondary",children:"support@smartprefetch.link"}),v.jsx(Qe,{label:"24/7 Available",color:"primary",variant:"outlined",size:"small"})]})]})}),v.jsxs(ft,{sx:{mb:4},children:[v.jsx(et,{variant:"h5",gutterBottom:!0,children:"Why Smart Prefetch?"}),v.jsx(tr,{container:!0,spacing:3,children:t.map((n,o)=>{const s=n.icon;return v.jsx(tr,{item:!0,xs:12,md:6,children:v.jsx(bi,{sx:{p:2,height:"100%"},children:v.jsxs(ft,{sx:{display:"flex",alignItems:"flex-start",gap:2},children:[v.jsx(s,{sx:{color:"primary.main",mt:.5}}),v.jsxs(ft,{children:[v.jsx(et,{variant:"h6",gutterBottom:!0,children:n.title}),v.jsx(et,{variant:"body2",color:"text.secondary",children:n.description})]})]})})},o)})})]}),v.jsx(Rr,{sx:{mb:4},children:v.jsxs(Er,{children:[v.jsx(et,{variant:"h5",gutterBottom:!0,children:"Quick Start Guide"}),v.jsxs(Ei,{children:[v.jsxs(er,{children:[v.jsx(rr,{children:v.jsx(ft,{sx:{width:24,height:24,borderRadius:"50%",backgroundColor:"primary.main",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"0.875rem",fontWeight:"bold"},children:"1"})}),v.jsx(nr,{primary:"Add Your Website",secondary:"Click the 'Add Website' button in the header to register your domain"})]}),v.jsxs(er,{children:[v.jsx(rr,{children:v.jsx(ft,{sx:{width:24,height:24,borderRadius:"50%",backgroundColor:"primary.main",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"0.875rem",fontWeight:"bold"},children:"2"})}),v.jsx(nr,{primary:"Install Integration",secondary:"Follow the platform-specific instructions in Settings to integrate Smart Prefetch"})]}),v.jsxs(er,{children:[v.jsx(rr,{children:v.jsx(ft,{sx:{width:24,height:24,borderRadius:"50%",backgroundColor:"primary.main",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"0.875rem",fontWeight:"bold"},children:"3"})}),v.jsx(nr,{primary:"Monitor Performance",secondary:"View your prefetch analytics and performance improvements in the Report section"})]})]})]})}),v.jsxs(ft,{sx:{mb:4},children:[v.jsx(et,{variant:"h5",gutterBottom:!0,children:"Frequently Asked Questions"}),v.jsx(tr,{container:!0,spacing:2,children:e.map((n,o)=>v.jsx(tr,{item:!0,xs:12,children:v.jsx(Rr,{children:v.jsx(Er,{children:v.jsxs(ft,{sx:{display:"flex",alignItems:"flex-start",gap:2},children:[v.jsx(v1,{sx:{color:"primary.main",mt:.5}}),v.jsxs(ft,{children:[v.jsx(et,{variant:"h6",gutterBottom:!0,children:n.question}),v.jsx(et,{variant:"body2",color:"text.secondary",children:n.answer})]})]})})})},o))})]}),v.jsx(Rr,{children:v.jsxs(Er,{children:[v.jsx(et,{variant:"h5",gutterBottom:!0,children:"Additional Resources"}),v.jsxs(tr,{container:!0,spacing:2,children:[v.jsxs(tr,{item:!0,xs:12,md:4,children:[v.jsxs(ft,{sx:{display:"flex",alignItems:"center",gap:2,mb:2},children:[v.jsx(g1,{sx:{color:"primary.main"}}),v.jsx(et,{variant:"h6",children:"Developer Docs"})]}),v.jsx(et,{variant:"body2",color:"text.secondary",children:"Technical documentation and API references for custom integrations."})]}),v.jsxs(tr,{item:!0,xs:12,md:4,children:[v.jsxs(ft,{sx:{display:"flex",alignItems:"center",gap:2,mb:2},children:[v.jsx(Du,{sx:{color:"primary.main"}}),v.jsx(et,{variant:"h6",children:"Integration Guides"})]}),v.jsx(et,{variant:"body2",color:"text.secondary",children:"Step-by-step guides for WordPress, Shopify, and custom implementations."})]}),v.jsxs(tr,{item:!0,xs:12,md:4,children:[v.jsxs(ft,{sx:{display:"flex",alignItems:"center",gap:2,mb:2},children:[v.jsx(vn,{sx:{color:"primary.main"}}),v.jsx(et,{variant:"h6",children:"Performance Tips"})]}),v.jsx(et,{variant:"body2",color:"text.secondary",children:"Best practices to maximize your website's performance improvements."})]})]})]})})]})};function yo(t){let e="https://mui.com/production-error/?code="+t;for(let n=1;n<arguments.length;n+=1)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+t+"; visit "+e+" for the full message."}const K1=Object.freeze(Object.defineProperty({__proto__:null,default:yo},Symbol.toStringTag,{value:"Module"}));function ce(){return ce=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},ce.apply(null,arguments)}function wn(t,e){if(t==null)return{};var n={};for(var o in t)if({}.hasOwnProperty.call(t,o)){if(e.indexOf(o)!==-1)continue;n[o]=t[o]}return n}var va,Hu;function Y1(){if(Hu)return va;Hu=1;var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return va=t,va}var xa,Gu;function q1(){if(Gu)return xa;Gu=1;var t=Y1();function e(){}function n(){}return n.resetWarningCache=e,xa=function(){function o(c,p,d,g,m,S){if(S!==t){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}}o.isRequired=o;function s(){return o}var a={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:s,element:o,elementType:o,instanceOf:s,node:o,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:n,resetWarningCache:e};return a.PropTypes=a,a},xa}q1()();function Sn(t){if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function Vu(t){if(M.isValidElement(t)||!Sn(t))return t;const e={};return Object.keys(t).forEach(n=>{e[n]=Vu(t[n])}),e}function br(t,e,n={clone:!0}){const o=n.clone?ce({},t):t;return Sn(t)&&Sn(e)&&Object.keys(e).forEach(s=>{M.isValidElement(e[s])?o[s]=e[s]:Sn(e[s])&&Object.prototype.hasOwnProperty.call(t,s)&&Sn(t[s])?o[s]=br(t[s],e[s],n):n.clone?o[s]=Sn(e[s])?Vu(e[s]):e[s]:o[s]=e[s]}),o}const X1=["values","unit","step"],J1=t=>{const e=Object.keys(t).map(n=>({key:n,val:t[n]}))||[];return e.sort((n,o)=>n.val-o.val),e.reduce((n,o)=>ce({},n,{[o.key]:o.val}),{})};function Z1(t){const{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:o=5}=t,s=wn(t,X1),a=J1(e),c=Object.keys(a);function p(y){return`@media (min-width:${typeof e[y]=="number"?e[y]:y}${n})`}function d(y){return`@media (max-width:${(typeof e[y]=="number"?e[y]:y)-o/100}${n})`}function g(y,j){const k=c.indexOf(j);return`@media (min-width:${typeof e[y]=="number"?e[y]:y}${n}) and (max-width:${(k!==-1&&typeof e[c[k]]=="number"?e[c[k]]:j)-o/100}${n})`}function m(y){return c.indexOf(y)+1<c.length?g(y,c[c.indexOf(y)+1]):p(y)}function S(y){const j=c.indexOf(y);return j===0?p(c[1]):j===c.length-1?d(c[j]):g(y,c[c.indexOf(y)+1]).replace("@media","@media not all and")}return ce({keys:c,values:a,up:p,down:d,between:g,only:m,not:S,unit:n},s)}const Q1={borderRadius:4},tx=Q1;function mo(t,e){return e?br(t,e,{clone:!1}):t}const wa={xs:0,sm:600,md:900,lg:1200,xl:1536},Ku={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${wa[t]}px)`};function vr(t,e,n){const o=t.theme||{};if(Array.isArray(e)){const s=o.breakpoints||Ku;return e.reduce((a,c,p)=>(a[s.up(s.keys[p])]=n(e[p]),a),{})}if(typeof e=="object"){const s=o.breakpoints||Ku;return Object.keys(e).reduce((a,c)=>{if(Object.keys(s.values||wa).indexOf(c)!==-1){const p=s.up(c);a[p]=n(e[c],c)}else{const p=c;a[p]=e[p]}return a},{})}return n(e)}function ex(t={}){var e;return((e=t.keys)==null?void 0:e.reduce((n,o)=>{const s=t.up(o);return n[s]={},n},{}))||{}}function rx(t,e){return t.reduce((n,o)=>{const s=n[o];return(!s||Object.keys(s).length===0)&&delete n[o],n},e)}function Yu(t){if(typeof t!="string")throw new Error(yo(7));return t.charAt(0).toUpperCase()+t.slice(1)}function $i(t,e,n=!0){if(!e||typeof e!="string")return null;if(t&&t.vars&&n){const o=`vars.${e}`.split(".").reduce((s,a)=>s&&s[a]?s[a]:null,t);if(o!=null)return o}return e.split(".").reduce((o,s)=>o&&o[s]!=null?o[s]:null,t)}function Mi(t,e,n,o=n){let s;return typeof t=="function"?s=t(n):Array.isArray(t)?s=t[n]||o:s=$i(t,n)||o,e&&(s=e(s,o,t)),s}function Jt(t){const{prop:e,cssProperty:n=t.prop,themeKey:o,transform:s}=t,a=c=>{if(c[e]==null)return null;const p=c[e],d=c.theme,g=$i(d,o)||{};return vr(c,p,m=>{let S=Mi(g,s,m);return m===S&&typeof m=="string"&&(S=Mi(g,s,`${e}${m==="default"?"":Yu(m)}`,m)),n===!1?S:{[n]:S}})};return a.propTypes={},a.filterProps=[e],a}function nx(t){const e={};return n=>(e[n]===void 0&&(e[n]=t(n)),e[n])}const ox={m:"margin",p:"padding"},ix={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},qu={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},sx=nx(t=>{if(t.length>2)if(qu[t])t=qu[t];else return[t];const[e,n]=t.split(""),o=ox[e],s=ix[n]||"";return Array.isArray(s)?s.map(a=>o+a):[o+s]}),Sa=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Ca=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Sa,...Ca];function bo(t,e,n,o){var s;const a=(s=$i(t,e,!1))!=null?s:n;return typeof a=="number"?c=>typeof c=="string"?c:a*c:Array.isArray(a)?c=>typeof c=="string"?c:a[c]:typeof a=="function"?a:()=>{}}function Xu(t){return bo(t,"spacing",8)}function vo(t,e){if(typeof e=="string"||e==null)return e;const n=Math.abs(e),o=t(n);return e>=0?o:typeof o=="number"?-o:`-${o}`}function ax(t,e){return n=>t.reduce((o,s)=>(o[s]=vo(e,n),o),{})}function lx(t,e,n,o){if(e.indexOf(n)===-1)return null;const s=sx(n),a=ax(s,o),c=t[n];return vr(t,c,a)}function Ju(t,e){const n=Xu(t.theme);return Object.keys(t).map(o=>lx(t,e,o,n)).reduce(mo,{})}function Gt(t){return Ju(t,Sa)}Gt.propTypes={},Gt.filterProps=Sa;function Vt(t){return Ju(t,Ca)}Vt.propTypes={},Vt.filterProps=Ca;function cx(t=8){if(t.mui)return t;const e=Xu({spacing:t}),n=(...o)=>(o.length===0?[1]:o).map(s=>{const a=e(s);return typeof a=="number"?`${a}px`:a}).join(" ");return n.mui=!0,n}function Ai(...t){const e=t.reduce((o,s)=>(s.filterProps.forEach(a=>{o[a]=s}),o),{}),n=o=>Object.keys(o).reduce((s,a)=>e[a]?mo(s,e[a](o)):s,{});return n.propTypes={},n.filterProps=t.reduce((o,s)=>o.concat(s.filterProps),[]),n}function or(t){return typeof t!="number"?t:`${t}px solid`}function ir(t,e){return Jt({prop:t,themeKey:"borders",transform:e})}const ux=ir("border",or),px=ir("borderTop",or),dx=ir("borderRight",or),fx=ir("borderBottom",or),hx=ir("borderLeft",or),gx=ir("borderColor"),yx=ir("borderTopColor"),mx=ir("borderRightColor"),bx=ir("borderBottomColor"),vx=ir("borderLeftColor"),xx=ir("outline",or),wx=ir("outlineColor"),Oi=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const e=bo(t.theme,"shape.borderRadius",4),n=o=>({borderRadius:vo(e,o)});return vr(t,t.borderRadius,n)}return null};Oi.propTypes={},Oi.filterProps=["borderRadius"],Ai(ux,px,dx,fx,hx,gx,yx,mx,bx,vx,Oi,xx,wx);const Ii=t=>{if(t.gap!==void 0&&t.gap!==null){const e=bo(t.theme,"spacing",8),n=o=>({gap:vo(e,o)});return vr(t,t.gap,n)}return null};Ii.propTypes={},Ii.filterProps=["gap"];const Bi=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const e=bo(t.theme,"spacing",8),n=o=>({columnGap:vo(e,o)});return vr(t,t.columnGap,n)}return null};Bi.propTypes={},Bi.filterProps=["columnGap"];const Fi=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const e=bo(t.theme,"spacing",8),n=o=>({rowGap:vo(e,o)});return vr(t,t.rowGap,n)}return null};Fi.propTypes={},Fi.filterProps=["rowGap"];const Sx=Jt({prop:"gridColumn"}),Cx=Jt({prop:"gridRow"}),Rx=Jt({prop:"gridAutoFlow"}),Ex=Jt({prop:"gridAutoColumns"}),Tx=Jt({prop:"gridAutoRows"}),kx=Jt({prop:"gridTemplateColumns"}),jx=Jt({prop:"gridTemplateRows"}),Px=Jt({prop:"gridTemplateAreas"}),$x=Jt({prop:"gridArea"});Ai(Ii,Bi,Fi,Sx,Cx,Rx,Ex,Tx,kx,jx,Px,$x);function Cn(t,e){return e==="grey"?e:t}const Mx=Jt({prop:"color",themeKey:"palette",transform:Cn}),Ax=Jt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Cn}),Ox=Jt({prop:"backgroundColor",themeKey:"palette",transform:Cn});Ai(Mx,Ax,Ox);function Ne(t){return t<=1&&t!==0?`${t*100}%`:t}const Ix=Jt({prop:"width",transform:Ne}),Ra=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const e=n=>{var o,s;const a=((o=t.theme)==null||(o=o.breakpoints)==null||(o=o.values)==null?void 0:o[n])||wa[n];return a?((s=t.theme)==null||(s=s.breakpoints)==null?void 0:s.unit)!=="px"?{maxWidth:`${a}${t.theme.breakpoints.unit}`}:{maxWidth:a}:{maxWidth:Ne(n)}};return vr(t,t.maxWidth,e)}return null};Ra.filterProps=["maxWidth"];const Bx=Jt({prop:"minWidth",transform:Ne}),Fx=Jt({prop:"height",transform:Ne}),zx=Jt({prop:"maxHeight",transform:Ne}),Dx=Jt({prop:"minHeight",transform:Ne});Jt({prop:"size",cssProperty:"width",transform:Ne}),Jt({prop:"size",cssProperty:"height",transform:Ne});const Nx=Jt({prop:"boxSizing"});Ai(Ix,Ra,Bx,Fx,zx,Dx,Nx);const _x={border:{themeKey:"borders",transform:or},borderTop:{themeKey:"borders",transform:or},borderRight:{themeKey:"borders",transform:or},borderBottom:{themeKey:"borders",transform:or},borderLeft:{themeKey:"borders",transform:or},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:or},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Oi},color:{themeKey:"palette",transform:Cn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Cn},backgroundColor:{themeKey:"palette",transform:Cn},p:{style:Vt},pt:{style:Vt},pr:{style:Vt},pb:{style:Vt},pl:{style:Vt},px:{style:Vt},py:{style:Vt},padding:{style:Vt},paddingTop:{style:Vt},paddingRight:{style:Vt},paddingBottom:{style:Vt},paddingLeft:{style:Vt},paddingX:{style:Vt},paddingY:{style:Vt},paddingInline:{style:Vt},paddingInlineStart:{style:Vt},paddingInlineEnd:{style:Vt},paddingBlock:{style:Vt},paddingBlockStart:{style:Vt},paddingBlockEnd:{style:Vt},m:{style:Gt},mt:{style:Gt},mr:{style:Gt},mb:{style:Gt},ml:{style:Gt},mx:{style:Gt},my:{style:Gt},margin:{style:Gt},marginTop:{style:Gt},marginRight:{style:Gt},marginBottom:{style:Gt},marginLeft:{style:Gt},marginX:{style:Gt},marginY:{style:Gt},marginInline:{style:Gt},marginInlineStart:{style:Gt},marginInlineEnd:{style:Gt},marginBlock:{style:Gt},marginBlockStart:{style:Gt},marginBlockEnd:{style:Gt},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Ii},rowGap:{style:Fi},columnGap:{style:Bi},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ne},maxWidth:{style:Ra},minWidth:{transform:Ne},height:{transform:Ne},maxHeight:{transform:Ne},minHeight:{transform:Ne},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Ea=_x;function Lx(...t){const e=t.reduce((o,s)=>o.concat(Object.keys(s)),[]),n=new Set(e);return t.every(o=>n.size===Object.keys(o).length)}function Wx(t,e){return typeof t=="function"?t(e):t}function Ux(){function t(n,o,s,a){const c={[n]:o,theme:s},p=a[n];if(!p)return{[n]:o};const{cssProperty:d=n,themeKey:g,transform:m,style:S}=p;if(o==null)return null;if(g==="typography"&&o==="inherit")return{[n]:o};const y=$i(s,g)||{};return S?S(c):vr(c,o,j=>{let k=Mi(y,m,j);return j===k&&typeof j=="string"&&(k=Mi(y,m,`${n}${j==="default"?"":Yu(j)}`,j)),d===!1?k:{[d]:k}})}function e(n){var o;const{sx:s,theme:a={}}=n||{};if(!s)return null;const c=(o=a.unstable_sxConfig)!=null?o:Ea;function p(d){let g=d;if(typeof d=="function")g=d(a);else if(typeof d!="object")return d;if(!g)return null;const m=ex(a.breakpoints),S=Object.keys(m);let y=m;return Object.keys(g).forEach(j=>{const k=Wx(g[j],a);if(k!=null)if(typeof k=="object")if(c[j])y=mo(y,t(j,k,a,c));else{const E=vr({theme:a},k,A=>({[j]:A}));Lx(E,k)?y[j]=e({sx:k,theme:a}):y=mo(y,E)}else y=mo(y,t(j,k,a,c))}),rx(S,y)}return Array.isArray(s)?s.map(p):p(s)}return e}const Zu=Ux();Zu.filterProps=["sx"];const Qu=Zu;function Hx(t,e){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(t).replace(/(\[[^\]]+\])/,"*:where($1)")]:e}:n.palette.mode===t?e:{}}const Gx=["breakpoints","palette","spacing","shape"];function Vx(t={},...e){const{breakpoints:n={},palette:o={},spacing:s,shape:a={}}=t,c=wn(t,Gx),p=Z1(n),d=cx(s);let g=br({breakpoints:p,direction:"ltr",components:{},palette:ce({mode:"light"},o),spacing:d,shape:ce({},tx,a)},c);return g.applyStyles=Hx,g=e.reduce((m,S)=>br(m,S),g),g.unstable_sxConfig=ce({},Ea,c==null?void 0:c.unstable_sxConfig),g.unstable_sx=function(m){return Qu({sx:m,theme:this})},g}function Kx(t,e=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(e,Math.min(t,n))}const Yx=Object.freeze(Object.defineProperty({__proto__:null,default:Kx},Symbol.toStringTag,{value:"Module"}));function qx(t,e){return ce({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},e)}var Zt={},tp={exports:{}};(function(t){function e(n){return n&&n.__esModule?n:{default:n}}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})(tp);var Xx=tp.exports;const Jx=Lu(K1),Zx=Lu(Yx);var ep=Xx;Object.defineProperty(Zt,"__esModule",{value:!0}),Zt.alpha=sp,Zt.blend=p2,Zt.colorChannel=void 0;var Qx=Zt.darken=ka;Zt.decomposeColor=sr,Zt.emphasize=ap;var t2=Zt.getContrastRatio=s2;Zt.getLuminance=zi,Zt.hexToRgb=np,Zt.hslToRgb=ip;var e2=Zt.lighten=ja;Zt.private_safeAlpha=a2,Zt.private_safeColorChannel=void 0,Zt.private_safeDarken=l2,Zt.private_safeEmphasize=u2,Zt.private_safeLighten=c2,Zt.recomposeColor=Rn,Zt.rgbToHex=i2;var rp=ep(Jx),r2=ep(Zx);function Ta(t,e=0,n=1){return(0,r2.default)(t,e,n)}function np(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let n=t.match(e);return n&&n[0].length===1&&(n=n.map(o=>o+o)),n?`rgb${n.length===4?"a":""}(${n.map((o,s)=>s<3?parseInt(o,16):Math.round(parseInt(o,16)/255*1e3)/1e3).join(", ")})`:""}function n2(t){const e=t.toString(16);return e.length===1?`0${e}`:e}function sr(t){if(t.type)return t;if(t.charAt(0)==="#")return sr(np(t));const e=t.indexOf("("),n=t.substring(0,e);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,rp.default)(9,t));let o=t.substring(e+1,t.length-1),s;if(n==="color"){if(o=o.split(" "),s=o.shift(),o.length===4&&o[3].charAt(0)==="/"&&(o[3]=o[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(s)===-1)throw new Error((0,rp.default)(10,s))}else o=o.split(",");return o=o.map(a=>parseFloat(a)),{type:n,values:o,colorSpace:s}}const op=t=>{const e=sr(t);return e.values.slice(0,3).map((n,o)=>e.type.indexOf("hsl")!==-1&&o!==0?`${n}%`:n).join(" ")};Zt.colorChannel=op;const o2=(t,e)=>{try{return op(t)}catch{return t}};Zt.private_safeColorChannel=o2;function Rn(t){const{type:e,colorSpace:n}=t;let{values:o}=t;return e.indexOf("rgb")!==-1?o=o.map((s,a)=>a<3?parseInt(s,10):s):e.indexOf("hsl")!==-1&&(o[1]=`${o[1]}%`,o[2]=`${o[2]}%`),e.indexOf("color")!==-1?o=`${n} ${o.join(" ")}`:o=`${o.join(", ")}`,`${e}(${o})`}function i2(t){if(t.indexOf("#")===0)return t;const{values:e}=sr(t);return`#${e.map((n,o)=>n2(o===3?Math.round(255*n):n)).join("")}`}function ip(t){t=sr(t);const{values:e}=t,n=e[0],o=e[1]/100,s=e[2]/100,a=o*Math.min(s,1-s),c=(g,m=(g+n/30)%12)=>s-a*Math.max(Math.min(m-3,9-m,1),-1);let p="rgb";const d=[Math.round(c(0)*255),Math.round(c(8)*255),Math.round(c(4)*255)];return t.type==="hsla"&&(p+="a",d.push(e[3])),Rn({type:p,values:d})}function zi(t){t=sr(t);let e=t.type==="hsl"||t.type==="hsla"?sr(ip(t)).values:t.values;return e=e.map(n=>(t.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function s2(t,e){const n=zi(t),o=zi(e);return(Math.max(n,o)+.05)/(Math.min(n,o)+.05)}function sp(t,e){return t=sr(t),e=Ta(e),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${e}`:t.values[3]=e,Rn(t)}function a2(t,e,n){try{return sp(t,e)}catch{return t}}function ka(t,e){if(t=sr(t),e=Ta(e),t.type.indexOf("hsl")!==-1)t.values[2]*=1-e;else if(t.type.indexOf("rgb")!==-1||t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]*=1-e;return Rn(t)}function l2(t,e,n){try{return ka(t,e)}catch{return t}}function ja(t,e){if(t=sr(t),e=Ta(e),t.type.indexOf("hsl")!==-1)t.values[2]+=(100-t.values[2])*e;else if(t.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return Rn(t)}function c2(t,e,n){try{return ja(t,e)}catch{return t}}function ap(t,e=.15){return zi(t)>.5?ka(t,e):ja(t,e)}function u2(t,e,n){try{return ap(t,e)}catch{return t}}function p2(t,e,n,o=1){const s=(d,g)=>Math.round((d**(1/o)*(1-n)+g**(1/o)*n)**o),a=sr(t),c=sr(e),p=[s(a.values[0],c.values[0]),s(a.values[1],c.values[1]),s(a.values[2],c.values[2])];return Rn({type:"rgb",values:p})}const d2={black:"#000",white:"#fff"},xo=d2,f2={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"},h2=f2,g2={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"},En=g2,y2={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"},Tn=y2,m2={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"},wo=m2,b2={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"},kn=b2,v2={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"},jn=v2,x2={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"},Pn=x2,w2=["mode","contrastThreshold","tonalOffset"],lp={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:xo.white,default:xo.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}},Pa={text:{primary:xo.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:xo.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 cp(t,e,n,o){const s=o.light||o,a=o.dark||o*1.5;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:e==="light"?t.light=e2(t.main,s):e==="dark"&&(t.dark=Qx(t.main,a)))}function S2(t="light"){return t==="dark"?{main:kn[200],light:kn[50],dark:kn[400]}:{main:kn[700],light:kn[400],dark:kn[800]}}function C2(t="light"){return t==="dark"?{main:En[200],light:En[50],dark:En[400]}:{main:En[500],light:En[300],dark:En[700]}}function R2(t="light"){return t==="dark"?{main:Tn[500],light:Tn[300],dark:Tn[700]}:{main:Tn[700],light:Tn[400],dark:Tn[800]}}function E2(t="light"){return t==="dark"?{main:jn[400],light:jn[300],dark:jn[700]}:{main:jn[700],light:jn[500],dark:jn[900]}}function T2(t="light"){return t==="dark"?{main:Pn[400],light:Pn[300],dark:Pn[700]}:{main:Pn[800],light:Pn[500],dark:Pn[900]}}function k2(t="light"){return t==="dark"?{main:wo[400],light:wo[300],dark:wo[700]}:{main:"#ed6c02",light:wo[500],dark:wo[900]}}function j2(t){const{mode:e="light",contrastThreshold:n=3,tonalOffset:o=.2}=t,s=wn(t,w2),a=t.primary||S2(e),c=t.secondary||C2(e),p=t.error||R2(e),d=t.info||E2(e),g=t.success||T2(e),m=t.warning||k2(e);function S(k){return t2(k,Pa.text.primary)>=n?Pa.text.primary:lp.text.primary}const y=({color:k,name:E,mainShade:A=500,lightShade:h=300,darkShade:P=700})=>{if(k=ce({},k),!k.main&&k[A]&&(k.main=k[A]),!k.hasOwnProperty("main"))throw new Error(yo(11,E?` (${E})`:"",A));if(typeof k.main!="string")throw new Error(yo(12,E?` (${E})`:"",JSON.stringify(k.main)));return cp(k,"light",h,o),cp(k,"dark",P,o),k.contrastText||(k.contrastText=S(k.main)),k},j={dark:Pa,light:lp};return br(ce({common:ce({},xo),mode:e,primary:y({color:a,name:"primary"}),secondary:y({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:y({color:p,name:"error"}),warning:y({color:m,name:"warning"}),info:y({color:d,name:"info"}),success:y({color:g,name:"success"}),grey:h2,contrastThreshold:n,getContrastText:S,augmentColor:y,tonalOffset:o},j[e]),s)}const P2=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function $2(t){return Math.round(t*1e5)/1e5}const up={textTransform:"uppercase"},pp='"Roboto", "Helvetica", "Arial", sans-serif';function M2(t,e){const n=typeof e=="function"?e(t):e,{fontFamily:o=pp,fontSize:s=14,fontWeightLight:a=300,fontWeightRegular:c=400,fontWeightMedium:p=500,fontWeightBold:d=700,htmlFontSize:g=16,allVariants:m,pxToRem:S}=n,y=wn(n,P2),j=s/14,k=S||(h=>`${h/g*j}rem`),E=(h,P,D,I,z)=>ce({fontFamily:o,fontWeight:h,fontSize:k(P),lineHeight:D},o===pp?{letterSpacing:`${$2(I/P)}em`}:{},z,m),A={h1:E(a,96,1.167,-1.5),h2:E(a,60,1.2,-.5),h3:E(c,48,1.167,0),h4:E(c,34,1.235,.25),h5:E(c,24,1.334,0),h6:E(p,20,1.6,.15),subtitle1:E(c,16,1.75,.15),subtitle2:E(p,14,1.57,.1),body1:E(c,16,1.5,.15),body2:E(c,14,1.43,.15),button:E(p,14,1.75,.4,up),caption:E(c,12,1.66,.4),overline:E(c,12,2.66,1,up),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return br(ce({htmlFontSize:g,pxToRem:k,fontFamily:o,fontSize:s,fontWeightLight:a,fontWeightRegular:c,fontWeightMedium:p,fontWeightBold:d},A),y,{clone:!1})}const A2=.2,O2=.14,I2=.12;function _t(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${A2})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${O2})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${I2})`].join(",")}const B2=["none",_t(0,2,1,-1,0,1,1,0,0,1,3,0),_t(0,3,1,-2,0,2,2,0,0,1,5,0),_t(0,3,3,-2,0,3,4,0,0,1,8,0),_t(0,2,4,-1,0,4,5,0,0,1,10,0),_t(0,3,5,-1,0,5,8,0,0,1,14,0),_t(0,3,5,-1,0,6,10,0,0,1,18,0),_t(0,4,5,-2,0,7,10,1,0,2,16,1),_t(0,5,5,-3,0,8,10,1,0,3,14,2),_t(0,5,6,-3,0,9,12,1,0,3,16,2),_t(0,6,6,-3,0,10,14,1,0,4,18,3),_t(0,6,7,-4,0,11,15,1,0,4,20,3),_t(0,7,8,-4,0,12,17,2,0,5,22,4),_t(0,7,8,-4,0,13,19,2,0,5,24,4),_t(0,7,9,-4,0,14,21,2,0,5,26,4),_t(0,8,9,-5,0,15,22,2,0,6,28,5),_t(0,8,10,-5,0,16,24,2,0,6,30,5),_t(0,8,11,-5,0,17,26,2,0,6,32,5),_t(0,9,11,-5,0,18,28,2,0,7,34,6),_t(0,9,12,-6,0,19,29,2,0,7,36,6),_t(0,10,13,-6,0,20,31,3,0,8,38,7),_t(0,10,13,-6,0,21,33,3,0,8,40,7),_t(0,10,14,-6,0,22,35,3,0,8,42,7),_t(0,11,14,-7,0,23,36,3,0,9,44,8),_t(0,11,15,-7,0,24,38,3,0,9,46,8)],F2=B2,z2=["duration","easing","delay"],D2={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)"},N2={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function dp(t){return`${Math.round(t)}ms`}function _2(t){if(!t)return 0;const e=t/36;return Math.round((4+15*e**.25+e/5)*10)}function L2(t){const e=ce({},D2,t.easing),n=ce({},N2,t.duration);return ce({getAutoHeightDuration:_2,create:(o=["all"],s={})=>{const{duration:a=n.standard,easing:c=e.easeInOut,delay:p=0}=s;return wn(s,z2),(Array.isArray(o)?o:[o]).map(d=>`${d} ${typeof a=="string"?a:dp(a)} ${c} ${typeof p=="string"?p:dp(p)}`).join(",")}},t,{easing:e,duration:n})}const W2={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},U2=W2,H2=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function G2(t={},...e){const{mixins:n={},palette:o={},transitions:s={},typography:a={}}=t,c=wn(t,H2);if(t.vars&&t.generateCssVars===void 0)throw new Error(yo(18));const p=j2(o),d=Vx(t);let g=br(d,{mixins:qx(d.breakpoints,n),palette:p,shadows:F2.slice(),typography:M2(p,a),transitions:L2(s),zIndex:ce({},U2)});return g=br(g,c),g=e.reduce((m,S)=>br(m,S),g),g.unstable_sxConfig=ce({},Ea,c==null?void 0:c.unstable_sxConfig),g.unstable_sx=function(m){return Qu({sx:m,theme:this})},g}const V2=G2({palette:{mode:"light",primary:{main:"#008080",light:"#4db6ac",dark:"#004d40",contrastText:"#ffffff"},secondary:{main:"#ff6b35",light:"#ff9a66",dark:"#c73e00",contrastText:"#ffffff"},background:{default:"#fafafa",paper:"#ffffff"},text:{primary:"#2c3e50",secondary:"#546e7a"},error:{main:"#e74c3c"},warning:{main:"#f39c12"},info:{main:"#3498db"},success:{main:"#27ae60"},divider:"#e0e0e0"},typography:{fontFamily:'"Inter", "Roboto", "Helvetica", "Arial", sans-serif',h1:{fontWeight:700,fontSize:"2.5rem",lineHeight:1.2,letterSpacing:"-0.02em"},h2:{fontWeight:600,fontSize:"2rem",lineHeight:1.3,letterSpacing:"-0.01em"},h3:{fontWeight:600,fontSize:"1.5rem",lineHeight:1.4},h4:{fontWeight:600,fontSize:"1.25rem",lineHeight:1.4},h5:{fontWeight:600,fontSize:"1.125rem",lineHeight:1.4},h6:{fontWeight:600,fontSize:"1rem",lineHeight:1.4},body1:{fontSize:"1rem",lineHeight:1.6},body2:{fontSize:"0.875rem",lineHeight:1.6},button:{textTransform:"none",fontWeight:600,letterSpacing:"0.02em"}},shape:{borderRadius:12},components:{MuiButton:{styleOverrides:{root:{borderRadius:8,padding:"10px 24px",fontSize:"0.875rem",fontWeight:600,boxShadow:"none","&:hover":{boxShadow:"0 4px 12px rgba(0, 128, 128, 0.2)"}},contained:{background:"linear-gradient(45deg, #008080 30%, #4db6ac 90%)","&:hover":{background:"linear-gradient(45deg, #004d40 30%, #008080 90%)"}}}},MuiCard:{styleOverrides:{root:{borderRadius:16,boxShadow:"0 2px 20px rgba(0, 0, 0, 0.05)",border:"1px solid rgba(0, 0, 0, 0.05)","&:hover":{boxShadow:"0 4px 28px rgba(0, 0, 0, 0.1)"}}}},MuiPaper:{styleOverrides:{root:{borderRadius:12,boxShadow:"0 1px 8px rgba(0, 0, 0, 0.05)"}}},MuiAppBar:{styleOverrides:{root:{backgroundColor:"#ffffff",color:"#2c3e50",boxShadow:"0 1px 4px rgba(0, 0, 0, 0.05)",backdropFilter:"blur(8px)"}}},MuiChip:{styleOverrides:{root:{borderRadius:8,fontWeight:500},filled:{backgroundColor:"rgba(0, 128, 128, 0.1)",color:"#004d40"}}},MuiTextField:{styleOverrides:{root:{"& .MuiOutlinedInput-root":{borderRadius:8,"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"#008080"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"#008080"}}}}},MuiDialog:{styleOverrides:{paper:{borderRadius:16,boxShadow:"0 8px 32px rgba(0, 0, 0, 0.12)"}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:"rgba(0, 128, 128, 0.05)","& .MuiTableCell-head":{fontWeight:600,color:"#004d40"}}}},MuiTableRow:{styleOverrides:{root:{"&:hover":{backgroundColor:"rgba(0, 128, 128, 0.02)"}}}}}});function fp({children:t,value:e,index:n,...o}){return F.jsx("div",{role:"tabpanel",hidden:e!==n,id:`simple-tabpanel-${n}`,"aria-labelledby":`simple-tab-${n}`,...o,children:e===n&&F.jsx(ft,{sx:{p:3},children:t})})}const K2=({host:t,jwt:e,onAuthenticationFailed:n})=>{const[o,s]=St.useState(0),a=(c,p)=>{s(p)};return F.jsxs(Lg,{theme:V2,children:[F.jsx(X0,{}),F.jsx(U1,{variant:"full"}),F.jsxs(ft,{sx:{width:"100%"},children:[F.jsx(ft,{sx:{borderBottom:1,borderColor:"divider"},children:F.jsxs(d1,{value:o,onChange:a,"aria-label":"Smart Prefetch tabs",children:[F.jsx(xu,{label:"Report",id:"tab-0","aria-controls":"simple-tabpanel-0"}),F.jsx(xu,{label:"Help",id:"tab-1","aria-controls":"simple-tabpanel-1"})]})}),F.jsxs(fp,{value:o,index:0,children:[F.jsx(W1,{host:t||null,jwt:e||null,onAuthenticationFailed:n,showDashboardLink:!0}),F.jsx(G1,{}),F.jsx(H1,{})]})," ",F.jsx(fp,{value:o,index:1,children:F.jsx(V1,{})})]})]})};function Y2(t){const e=document.getElementById("smart_prefetch_root");if(!e){console.warn('Smart Prefetch: Container with id "smart_prefetch_root" not found');return}cs.createRoot(e).render(St.createElement(K2,t))}wr.Init=Y2,Object.defineProperty(wr,Symbol.toStringTag,{value:"Module"})}); -
smart-prefetch/tags/1.2.0/autoload.php
r3326813 r3330882 4 4 define('SMART_PREFETCH_PLUG_DIR', plugin_dir_path(__FILE__)); 5 5 define('SMART_PREFETCH_PLUG_URL', plugin_dir_url(__FILE__)); 6 define('SMART_PREFETCH_PLUG_VERSION', '1. 1.0');6 define('SMART_PREFETCH_PLUG_VERSION', '1.2.0'); 7 7 define('SMART_PREFETCH_PLUG_ENV', 'PROD'); 8 8 define('SMART_PREFETCH_PLUG_SLUG', 'smart-prefetch'); -
smart-prefetch/tags/1.2.0/inc/tab_init.php
r3326813 r3330882 19 19 20 20 $props = [ 21 'selectedDomain' => [ 22 'id' => '', 23 'host' => preg_replace('#^https?://#', '', rtrim(get_site_url(), '/')), 24 'platform' => '', 25 ], 21 'host' => preg_replace('#^https?://#', '', rtrim(get_site_url(), '/')), 26 22 'jwt' => '' 27 23 ]; -
smart-prefetch/tags/1.2.0/readme.txt
r3326813 r3330882 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.2 7 Stable tag: 1. 1.07 Stable tag: 1.2.0 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 16 16 **Smart Prefetch Plugin** solves this by using predictive intelligence to prefetch the *next most likely page* — so your visitors experience **lightning-fast navigation** across your site. 17 17 18 Unlike basic prefetching plugins that load every visible link, Smart Prefetchuses a **data-driven algorithm** to identify which link a user is *most likely to click next*, based on behavior patterns, device, country, and more. It then injects prefetch hints at the right time — **after critical resources load** — to avoid hurting current page performance.18 Unlike basic prefetching plugins that load every visible link, [Smart Prefetch](https://smartprefetch.link/) uses a **data-driven algorithm** to identify which link a user is *most likely to click next*, based on behavior patterns, device, country, and more. It then injects prefetch hints at the right time — **after critical resources load** — to avoid hurting current page performance. 19 19 20 20 This means your visitors get fast, responsive navigation without the resource drain of indiscriminate prefetching. … … 108 108 == Changelog == 109 109 110 = 1.2.0 = 111 * More Intuitive Report 112 * Plan details and usage indicator 113 110 114 = 1.1.0 = 111 115 * More Intuitive Report -
smart-prefetch/tags/1.2.0/smart-prefetch.php
r3326813 r3330882 9 9 * Requires at least: 5.2 10 10 * Requires PHP: 7.2 11 * Version: 1. 1.011 * Version: 1.2.0 12 12 * Text Domain: smart-prefetch 13 13 * License: GPLv2 or later -
smart-prefetch/trunk/admin/js/index.umd.js
r3326813 r3330882 1 (function( er,mt){typeof exports=="object"&&typeof module<"u"?mt(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],mt):(er=typeof globalThis<"u"?globalThis:er||self,mt(er.SmartPrefetchWordPress={},er.React,er.ReactDOM))})(this,function(er,mt,rn){"use strict";function Lc(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const O=Lc(mt);function rr(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function i(){return this instanceof i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(i){var s=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(n,i,s.get?s:{enumerable:!0,get:function(){return t[i]}})}),n}var Cs={exports:{}},Bn={};/**1 (function(wr,St){typeof exports=="object"&&typeof module<"u"?St(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],St):(wr=typeof globalThis<"u"?globalThis:wr||self,St(wr.SmartPrefetchWordPress={},wr.React,wr.ReactDOM))})(this,function(wr,St,Vr){"use strict";function Aa(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const M=Aa(St),yp=Aa(Vr);function Sr(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function o(){return this instanceof o?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(o){var s=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,s.get?s:{enumerable:!0,get:function(){return t[o]}})}),n}var Oa={exports:{}},Ro={};/** 2 2 * @license React 3 3 * react-jsx-runtime.production.min.js … … 7 7 * This source code is licensed under the MIT license found in the 8 8 * LICENSE file in the root directory of this source tree. 9 */var Wc=mt,Uc=Symbol.for("react.element"),Vc=Symbol.for("react.fragment"),Hc=Object.prototype.hasOwnProperty,Gc=Wc.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Kc={key:!0,ref:!0,__self:!0,__source:!0};function ks(t,e,n){var i,s={},l=null,c=null;n!==void 0&&(l=""+n),e.key!==void 0&&(l=""+e.key),e.ref!==void 0&&(c=e.ref);for(i in e)Hc.call(e,i)&&!Kc.hasOwnProperty(i)&&(s[i]=e[i]);if(t&&t.defaultProps)for(i in e=t.defaultProps,e)s[i]===void 0&&(s[i]=e[i]);return{$$typeof:Uc,type:t,key:l,ref:c,props:s,_owner:Gc.current}}Bn.Fragment=Vc,Bn.jsx=ks,Bn.jsxs=ks,Cs.exports=Bn;var B=Cs.exports,pi={},Rs=rn;pi.createRoot=Rs.createRoot,pi.hydrateRoot=Rs.hydrateRoot;const nn={black:"#000",white:"#fff"},Sr={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"},wr={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"},Cr={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"},kr={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"},Rr={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"},on={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"},qc={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"};function sn(t){let e="https://mui.com/production-error/?code="+t;for(let n=1;n<arguments.length;n+=1)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+t+"; visit "+e+" for the full message."}const Yc=Object.freeze(Object.defineProperty({__proto__:null,default:sn},Symbol.toStringTag,{value:"Module"})),Tr="$$material";function k(){return k=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},k.apply(null,arguments)}function nt(t,e){if(t==null)return{};var n={};for(var i in t)if({}.hasOwnProperty.call(t,i)){if(e.indexOf(i)!==-1)continue;n[i]=t[i]}return n}var Xc=!1;function Zc(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function Jc(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var Qc=function(){function t(n){var i=this;this._insertTag=function(s){var l;i.tags.length===0?i.insertionPoint?l=i.insertionPoint.nextSibling:i.prepend?l=i.container.firstChild:l=i.before:l=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(s,l),i.tags.push(s)},this.isSpeedy=n.speedy===void 0?!Xc:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(i){i.forEach(this._insertTag)},e.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Jc(this));var s=this.tags[this.tags.length-1];if(this.isSpeedy){var l=Zc(s);try{l.insertRule(i,l.cssRules.length)}catch{}}else s.appendChild(document.createTextNode(i));this.ctr++},e.flush=function(){this.tags.forEach(function(i){var s;return(s=i.parentNode)==null?void 0:s.removeChild(i)}),this.tags=[],this.ctr=0},t}(),ee="-ms-",zn="-moz-",St="-webkit-",Ts="comm",di="rule",fi="decl",tu="@import",Es="@keyframes",eu="@layer",ru=Math.abs,Nn=String.fromCharCode,nu=Object.assign;function ou(t,e){return te(t,0)^45?(((e<<2^te(t,0))<<2^te(t,1))<<2^te(t,2))<<2^te(t,3):0}function js(t){return t.trim()}function iu(t,e){return(t=e.exec(t))?t[0]:t}function wt(t,e,n){return t.replace(e,n)}function hi(t,e){return t.indexOf(e)}function te(t,e){return t.charCodeAt(e)|0}function an(t,e,n){return t.slice(e,n)}function Be(t){return t.length}function yi(t){return t.length}function _n(t,e){return e.push(t),t}function su(t,e){return t.map(e).join("")}var Fn=1,Er=1,$s=0,ie=0,Kt=0,jr="";function Dn(t,e,n,i,s,l,c){return{value:t,root:e,parent:n,type:i,props:s,children:l,line:Fn,column:Er,length:c,return:""}}function ln(t,e){return nu(Dn("",null,null,"",null,null,0),t,{length:-t.length},e)}function au(){return Kt}function lu(){return Kt=ie>0?te(jr,--ie):0,Er--,Kt===10&&(Er=1,Fn--),Kt}function ae(){return Kt=ie<$s?te(jr,ie++):0,Er++,Kt===10&&(Er=1,Fn++),Kt}function ze(){return te(jr,ie)}function Ln(){return ie}function cn(t,e){return an(jr,t,e)}function un(t){switch(t){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 Ms(t){return Fn=Er=1,$s=Be(jr=t),ie=0,[]}function As(t){return jr="",t}function Wn(t){return js(cn(ie-1,gi(t===91?t+2:t===40?t+1:t)))}function cu(t){for(;(Kt=ze())&&Kt<33;)ae();return un(t)>2||un(Kt)>3?"":" "}function uu(t,e){for(;--e&&ae()&&!(Kt<48||Kt>102||Kt>57&&Kt<65||Kt>70&&Kt<97););return cn(t,Ln()+(e<6&&ze()==32&&ae()==32))}function gi(t){for(;ae();)switch(Kt){case t:return ie;case 34:case 39:t!==34&&t!==39&&gi(Kt);break;case 40:t===41&&gi(t);break;case 92:ae();break}return ie}function pu(t,e){for(;ae()&&t+Kt!==47+10;)if(t+Kt===42+42&&ze()===47)break;return"/*"+cn(e,ie-1)+"*"+Nn(t===47?t:ae())}function du(t){for(;!un(ze());)ae();return cn(t,ie)}function fu(t){return As(Un("",null,null,null,[""],t=Ms(t),0,[0],t))}function Un(t,e,n,i,s,l,c,d,f){for(var g=0,x=0,T=c,m=0,M=0,R=0,E=1,A=1,h=1,$=0,z="",D=s,L=l,U=i,C=z;A;)switch(R=$,$=ae()){case 40:if(R!=108&&te(C,T-1)==58){hi(C+=wt(Wn($),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:C+=Wn($);break;case 9:case 10:case 13:case 32:C+=cu(R);break;case 92:C+=uu(Ln()-1,7);continue;case 47:switch(ze()){case 42:case 47:_n(hu(pu(ae(),Ln()),e,n),f);break;default:C+="/"}break;case 123*E:d[g++]=Be(C)*h;case 125*E:case 59:case 0:switch($){case 0:case 125:A=0;case 59+x:h==-1&&(C=wt(C,/\f/g,"")),M>0&&Be(C)-T&&_n(M>32?Os(C+";",i,n,T-1):Os(wt(C," ","")+";",i,n,T-2),f);break;case 59:C+=";";default:if(_n(U=Ps(C,e,n,g,x,s,d,z,D=[],L=[],T),l),$===123)if(x===0)Un(C,e,U,U,D,l,T,d,L);else switch(m===99&&te(C,3)===110?100:m){case 100:case 108:case 109:case 115:Un(t,U,U,i&&_n(Ps(t,U,U,0,0,s,d,z,s,D=[],T),L),s,L,T,d,i?D:L);break;default:Un(C,U,U,U,[""],L,0,d,L)}}g=x=M=0,E=h=1,z=C="",T=c;break;case 58:T=1+Be(C),M=R;default:if(E<1){if($==123)--E;else if($==125&&E++==0&&lu()==125)continue}switch(C+=Nn($),$*E){case 38:h=x>0?1:(C+="\f",-1);break;case 44:d[g++]=(Be(C)-1)*h,h=1;break;case 64:ze()===45&&(C+=Wn(ae())),m=ze(),x=T=Be(z=C+=du(Ln())),$++;break;case 45:R===45&&Be(C)==2&&(E=0)}}return l}function Ps(t,e,n,i,s,l,c,d,f,g,x){for(var T=s-1,m=s===0?l:[""],M=yi(m),R=0,E=0,A=0;R<i;++R)for(var h=0,$=an(t,T+1,T=ru(E=c[R])),z=t;h<M;++h)(z=js(E>0?m[h]+" "+$:wt($,/&\f/g,m[h])))&&(f[A++]=z);return Dn(t,e,n,s===0?di:d,f,g,x)}function hu(t,e,n){return Dn(t,e,n,Ts,Nn(au()),an(t,2,-2),0)}function Os(t,e,n,i){return Dn(t,e,n,fi,an(t,0,i),an(t,i+1,-1),i)}function $r(t,e){for(var n="",i=yi(t),s=0;s<i;s++)n+=e(t[s],s,t,e)||"";return n}function yu(t,e,n,i){switch(t.type){case eu:if(t.children.length)break;case tu:case fi:return t.return=t.return||t.value;case Ts:return"";case Es:return t.return=t.value+"{"+$r(t.children,i)+"}";case di:t.value=t.props.join(",")}return Be(n=$r(t.children,i))?t.return=t.value+"{"+n+"}":""}function gu(t){var e=yi(t);return function(n,i,s,l){for(var c="",d=0;d<e;d++)c+=t[d](n,i,s,l)||"";return c}}function mu(t){return function(e){e.root||(e=e.return)&&t(e)}}function Is(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var bu=function(e,n,i){for(var s=0,l=0;s=l,l=ze(),s===38&&l===12&&(n[i]=1),!un(l);)ae();return cn(e,ie)},vu=function(e,n){var i=-1,s=44;do switch(un(s)){case 0:s===38&&ze()===12&&(n[i]=1),e[i]+=bu(ie-1,n,i);break;case 2:e[i]+=Wn(s);break;case 4:if(s===44){e[++i]=ze()===58?"&\f":"",n[i]=e[i].length;break}default:e[i]+=Nn(s)}while(s=ae());return e},xu=function(e,n){return As(vu(Ms(e),n))},Bs=new WeakMap,Su=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var n=e.value,i=e.parent,s=e.column===i.column&&e.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(e.props.length===1&&n.charCodeAt(0)!==58&&!Bs.get(i))&&!s){Bs.set(e,!0);for(var l=[],c=xu(n,l),d=i.props,f=0,g=0;f<c.length;f++)for(var x=0;x<d.length;x++,g++)e.props[g]=l[f]?c[f].replace(/&\f/g,d[x]):d[x]+" "+c[f]}}},wu=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}};function zs(t,e){switch(ou(t,e)){case 5103:return St+"print-"+t+t;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 St+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return St+t+zn+t+ee+t+t;case 6828:case 4268:return St+t+ee+t+t;case 6165:return St+t+ee+"flex-"+t+t;case 5187:return St+t+wt(t,/(\w+).+(:[^]+)/,St+"box-$1$2"+ee+"flex-$1$2")+t;case 5443:return St+t+ee+"flex-item-"+wt(t,/flex-|-self/,"")+t;case 4675:return St+t+ee+"flex-line-pack"+wt(t,/align-content|flex-|-self/,"")+t;case 5548:return St+t+ee+wt(t,"shrink","negative")+t;case 5292:return St+t+ee+wt(t,"basis","preferred-size")+t;case 6060:return St+"box-"+wt(t,"-grow","")+St+t+ee+wt(t,"grow","positive")+t;case 4554:return St+wt(t,/([^-])(transform)/g,"$1"+St+"$2")+t;case 6187:return wt(wt(wt(t,/(zoom-|grab)/,St+"$1"),/(image-set)/,St+"$1"),t,"")+t;case 5495:case 3959:return wt(t,/(image-set\([^]*)/,St+"$1$`$1");case 4968:return wt(wt(t,/(.+:)(flex-)?(.*)/,St+"box-pack:$3"+ee+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+St+t+t;case 4095:case 3583:case 4068:case 2532:return wt(t,/(.+)-inline(.+)/,St+"$1$2")+t;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(Be(t)-1-e>6)switch(te(t,e+1)){case 109:if(te(t,e+4)!==45)break;case 102:return wt(t,/(.+:)(.+)-([^]+)/,"$1"+St+"$2-$3$1"+zn+(te(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~hi(t,"stretch")?zs(wt(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(te(t,e+1)!==115)break;case 6444:switch(te(t,Be(t)-3-(~hi(t,"!important")&&10))){case 107:return wt(t,":",":"+St)+t;case 101:return wt(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+St+(te(t,14)===45?"inline-":"")+"box$3$1"+St+"$2$3$1"+ee+"$2box$3")+t}break;case 5936:switch(te(t,e+11)){case 114:return St+t+ee+wt(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return St+t+ee+wt(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return St+t+ee+wt(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return St+t+ee+t+t}return t}var Cu=function(e,n,i,s){if(e.length>-1&&!e.return)switch(e.type){case fi:e.return=zs(e.value,e.length);break;case Es:return $r([ln(e,{value:wt(e.value,"@","@"+St)})],s);case di:if(e.length)return su(e.props,function(l){switch(iu(l,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return $r([ln(e,{props:[wt(l,/:(read-\w+)/,":"+zn+"$1")]})],s);case"::placeholder":return $r([ln(e,{props:[wt(l,/:(plac\w+)/,":"+St+"input-$1")]}),ln(e,{props:[wt(l,/:(plac\w+)/,":"+zn+"$1")]}),ln(e,{props:[wt(l,/:(plac\w+)/,ee+"input-$1")]})],s)}return""})}},ku=[Cu],Ns=function(e){var n=e.key;if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(E){var A=E.getAttribute("data-emotion");A.indexOf(" ")!==-1&&(document.head.appendChild(E),E.setAttribute("data-s",""))})}var s=e.stylisPlugins||ku,l={},c,d=[];c=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(E){for(var A=E.getAttribute("data-emotion").split(" "),h=1;h<A.length;h++)l[A[h]]=!0;d.push(E)});var f,g=[Su,wu];{var x,T=[yu,mu(function(E){x.insert(E)})],m=gu(g.concat(s,T)),M=function(A){return $r(fu(A),m)};f=function(A,h,$,z){x=$,M(A?A+"{"+h.styles+"}":h.styles),z&&(R.inserted[h.name]=!0)}}var R={key:n,sheet:new Qc({key:n,container:c,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:l,registered:{},insert:f};return R.sheet.hydrate(d),R},_s={exports:{}},Rt={};/** @license React v16.13.19 */var mp=St,bp=Symbol.for("react.element"),vp=Symbol.for("react.fragment"),xp=Object.prototype.hasOwnProperty,wp=mp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Sp={key:!0,ref:!0,__self:!0,__source:!0};function Ia(t,e,n){var o,s={},a=null,c=null;n!==void 0&&(a=""+n),e.key!==void 0&&(a=""+e.key),e.ref!==void 0&&(c=e.ref);for(o in e)xp.call(e,o)&&!Sp.hasOwnProperty(o)&&(s[o]=e[o]);if(t&&t.defaultProps)for(o in e=t.defaultProps,e)s[o]===void 0&&(s[o]=e[o]);return{$$typeof:bp,type:t,key:a,ref:c,props:s,_owner:wp.current}}Ro.Fragment=vp,Ro.jsx=Ia,Ro.jsxs=Ia,Oa.exports=Ro;var F=Oa.exports,cs={},Ba=Vr;cs.createRoot=Ba.createRoot,cs.hydrateRoot=Ba.hydrateRoot;const In={black:"#000",white:"#fff"},Kr={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"},Yr={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"},qr={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"},Xr={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"},Jr={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"},Bn={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"},Cp={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"};function Fn(t){let e="https://mui.com/production-error/?code="+t;for(let n=1;n<arguments.length;n+=1)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+t+"; visit "+e+" for the full message."}const Rp=Object.freeze(Object.defineProperty({__proto__:null,default:Fn},Symbol.toStringTag,{value:"Module"})),Zr="$$material";function T(){return T=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},T.apply(null,arguments)}function at(t,e){if(t==null)return{};var n={};for(var o in t)if({}.hasOwnProperty.call(t,o)){if(e.indexOf(o)!==-1)continue;n[o]=t[o]}return n}var Ep=!1;function Tp(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function kp(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var jp=function(){function t(n){var o=this;this._insertTag=function(s){var a;o.tags.length===0?o.insertionPoint?a=o.insertionPoint.nextSibling:o.prepend?a=o.container.firstChild:a=o.before:a=o.tags[o.tags.length-1].nextSibling,o.container.insertBefore(s,a),o.tags.push(s)},this.isSpeedy=n.speedy===void 0?!Ep:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(o){o.forEach(this._insertTag)},e.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(kp(this));var s=this.tags[this.tags.length-1];if(this.isSpeedy){var a=Tp(s);try{a.insertRule(o,a.cssRules.length)}catch{}}else s.appendChild(document.createTextNode(o));this.ctr++},e.flush=function(){this.tags.forEach(function(o){var s;return(s=o.parentNode)==null?void 0:s.removeChild(o)}),this.tags=[],this.ctr=0},t}(),Se="-ms-",Eo="-moz-",Mt="-webkit-",Fa="comm",us="rule",ps="decl",Pp="@import",za="@keyframes",$p="@layer",Mp=Math.abs,To=String.fromCharCode,Ap=Object.assign;function Op(t,e){return ge(t,0)^45?(((e<<2^ge(t,0))<<2^ge(t,1))<<2^ge(t,2))<<2^ge(t,3):0}function Da(t){return t.trim()}function Ip(t,e){return(t=e.exec(t))?t[0]:t}function At(t,e,n){return t.replace(e,n)}function ds(t,e){return t.indexOf(e)}function ge(t,e){return t.charCodeAt(e)|0}function zn(t,e,n){return t.slice(e,n)}function cr(t){return t.length}function fs(t){return t.length}function ko(t,e){return e.push(t),t}function Bp(t,e){return t.map(e).join("")}var jo=1,Qr=1,Na=0,je=0,ne=0,tn="";function Po(t,e,n,o,s,a,c){return{value:t,root:e,parent:n,type:o,props:s,children:a,line:jo,column:Qr,length:c,return:""}}function Dn(t,e){return Ap(Po("",null,null,"",null,null,0),t,{length:-t.length},e)}function Fp(){return ne}function zp(){return ne=je>0?ge(tn,--je):0,Qr--,ne===10&&(Qr=1,jo--),ne}function Ie(){return ne=je<Na?ge(tn,je++):0,Qr++,ne===10&&(Qr=1,jo++),ne}function ur(){return ge(tn,je)}function $o(){return je}function Nn(t,e){return zn(tn,t,e)}function _n(t){switch(t){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 _a(t){return jo=Qr=1,Na=cr(tn=t),je=0,[]}function La(t){return tn="",t}function Mo(t){return Da(Nn(je-1,hs(t===91?t+2:t===40?t+1:t)))}function Dp(t){for(;(ne=ur())&&ne<33;)Ie();return _n(t)>2||_n(ne)>3?"":" "}function Np(t,e){for(;--e&&Ie()&&!(ne<48||ne>102||ne>57&&ne<65||ne>70&&ne<97););return Nn(t,$o()+(e<6&&ur()==32&&Ie()==32))}function hs(t){for(;Ie();)switch(ne){case t:return je;case 34:case 39:t!==34&&t!==39&&hs(ne);break;case 40:t===41&&hs(t);break;case 92:Ie();break}return je}function _p(t,e){for(;Ie()&&t+ne!==47+10;)if(t+ne===42+42&&ur()===47)break;return"/*"+Nn(e,je-1)+"*"+To(t===47?t:Ie())}function Lp(t){for(;!_n(ur());)Ie();return Nn(t,je)}function Wp(t){return La(Ao("",null,null,null,[""],t=_a(t),0,[0],t))}function Ao(t,e,n,o,s,a,c,p,d){for(var g=0,m=0,S=c,y=0,j=0,k=0,E=1,A=1,h=1,P=0,D="",I=s,z=a,N=o,x=D;A;)switch(k=P,P=Ie()){case 40:if(k!=108&&ge(x,S-1)==58){ds(x+=At(Mo(P),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:x+=Mo(P);break;case 9:case 10:case 13:case 32:x+=Dp(k);break;case 92:x+=Np($o()-1,7);continue;case 47:switch(ur()){case 42:case 47:ko(Up(_p(Ie(),$o()),e,n),d);break;default:x+="/"}break;case 123*E:p[g++]=cr(x)*h;case 125*E:case 59:case 0:switch(P){case 0:case 125:A=0;case 59+m:h==-1&&(x=At(x,/\f/g,"")),j>0&&cr(x)-S&&ko(j>32?Ua(x+";",o,n,S-1):Ua(At(x," ","")+";",o,n,S-2),d);break;case 59:x+=";";default:if(ko(N=Wa(x,e,n,g,m,s,p,D,I=[],z=[],S),a),P===123)if(m===0)Ao(x,e,N,N,I,a,S,p,z);else switch(y===99&&ge(x,3)===110?100:y){case 100:case 108:case 109:case 115:Ao(t,N,N,o&&ko(Wa(t,N,N,0,0,s,p,D,s,I=[],S),z),s,z,S,p,o?I:z);break;default:Ao(x,N,N,N,[""],z,0,p,z)}}g=m=j=0,E=h=1,D=x="",S=c;break;case 58:S=1+cr(x),j=k;default:if(E<1){if(P==123)--E;else if(P==125&&E++==0&&zp()==125)continue}switch(x+=To(P),P*E){case 38:h=m>0?1:(x+="\f",-1);break;case 44:p[g++]=(cr(x)-1)*h,h=1;break;case 64:ur()===45&&(x+=Mo(Ie())),y=ur(),m=S=cr(D=x+=Lp($o())),P++;break;case 45:k===45&&cr(x)==2&&(E=0)}}return a}function Wa(t,e,n,o,s,a,c,p,d,g,m){for(var S=s-1,y=s===0?a:[""],j=fs(y),k=0,E=0,A=0;k<o;++k)for(var h=0,P=zn(t,S+1,S=Mp(E=c[k])),D=t;h<j;++h)(D=Da(E>0?y[h]+" "+P:At(P,/&\f/g,y[h])))&&(d[A++]=D);return Po(t,e,n,s===0?us:p,d,g,m)}function Up(t,e,n){return Po(t,e,n,Fa,To(Fp()),zn(t,2,-2),0)}function Ua(t,e,n,o){return Po(t,e,n,ps,zn(t,0,o),zn(t,o+1,-1),o)}function en(t,e){for(var n="",o=fs(t),s=0;s<o;s++)n+=e(t[s],s,t,e)||"";return n}function Hp(t,e,n,o){switch(t.type){case $p:if(t.children.length)break;case Pp:case ps:return t.return=t.return||t.value;case Fa:return"";case za:return t.return=t.value+"{"+en(t.children,o)+"}";case us:t.value=t.props.join(",")}return cr(n=en(t.children,o))?t.return=t.value+"{"+n+"}":""}function Gp(t){var e=fs(t);return function(n,o,s,a){for(var c="",p=0;p<e;p++)c+=t[p](n,o,s,a)||"";return c}}function Vp(t){return function(e){e.root||(e=e.return)&&t(e)}}function Ha(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var Kp=function(e,n,o){for(var s=0,a=0;s=a,a=ur(),s===38&&a===12&&(n[o]=1),!_n(a);)Ie();return Nn(e,je)},Yp=function(e,n){var o=-1,s=44;do switch(_n(s)){case 0:s===38&&ur()===12&&(n[o]=1),e[o]+=Kp(je-1,n,o);break;case 2:e[o]+=Mo(s);break;case 4:if(s===44){e[++o]=ur()===58?"&\f":"",n[o]=e[o].length;break}default:e[o]+=To(s)}while(s=Ie());return e},qp=function(e,n){return La(Yp(_a(e),n))},Ga=new WeakMap,Xp=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var n=e.value,o=e.parent,s=e.column===o.column&&e.line===o.line;o.type!=="rule";)if(o=o.parent,!o)return;if(!(e.props.length===1&&n.charCodeAt(0)!==58&&!Ga.get(o))&&!s){Ga.set(e,!0);for(var a=[],c=qp(n,a),p=o.props,d=0,g=0;d<c.length;d++)for(var m=0;m<p.length;m++,g++)e.props[g]=a[d]?c[d].replace(/&\f/g,p[m]):p[m]+" "+c[d]}}},Jp=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}};function Va(t,e){switch(Op(t,e)){case 5103:return Mt+"print-"+t+t;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 Mt+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return Mt+t+Eo+t+Se+t+t;case 6828:case 4268:return Mt+t+Se+t+t;case 6165:return Mt+t+Se+"flex-"+t+t;case 5187:return Mt+t+At(t,/(\w+).+(:[^]+)/,Mt+"box-$1$2"+Se+"flex-$1$2")+t;case 5443:return Mt+t+Se+"flex-item-"+At(t,/flex-|-self/,"")+t;case 4675:return Mt+t+Se+"flex-line-pack"+At(t,/align-content|flex-|-self/,"")+t;case 5548:return Mt+t+Se+At(t,"shrink","negative")+t;case 5292:return Mt+t+Se+At(t,"basis","preferred-size")+t;case 6060:return Mt+"box-"+At(t,"-grow","")+Mt+t+Se+At(t,"grow","positive")+t;case 4554:return Mt+At(t,/([^-])(transform)/g,"$1"+Mt+"$2")+t;case 6187:return At(At(At(t,/(zoom-|grab)/,Mt+"$1"),/(image-set)/,Mt+"$1"),t,"")+t;case 5495:case 3959:return At(t,/(image-set\([^]*)/,Mt+"$1$`$1");case 4968:return At(At(t,/(.+:)(flex-)?(.*)/,Mt+"box-pack:$3"+Se+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Mt+t+t;case 4095:case 3583:case 4068:case 2532:return At(t,/(.+)-inline(.+)/,Mt+"$1$2")+t;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(cr(t)-1-e>6)switch(ge(t,e+1)){case 109:if(ge(t,e+4)!==45)break;case 102:return At(t,/(.+:)(.+)-([^]+)/,"$1"+Mt+"$2-$3$1"+Eo+(ge(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~ds(t,"stretch")?Va(At(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(ge(t,e+1)!==115)break;case 6444:switch(ge(t,cr(t)-3-(~ds(t,"!important")&&10))){case 107:return At(t,":",":"+Mt)+t;case 101:return At(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Mt+(ge(t,14)===45?"inline-":"")+"box$3$1"+Mt+"$2$3$1"+Se+"$2box$3")+t}break;case 5936:switch(ge(t,e+11)){case 114:return Mt+t+Se+At(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return Mt+t+Se+At(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return Mt+t+Se+At(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return Mt+t+Se+t+t}return t}var Zp=function(e,n,o,s){if(e.length>-1&&!e.return)switch(e.type){case ps:e.return=Va(e.value,e.length);break;case za:return en([Dn(e,{value:At(e.value,"@","@"+Mt)})],s);case us:if(e.length)return Bp(e.props,function(a){switch(Ip(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return en([Dn(e,{props:[At(a,/:(read-\w+)/,":"+Eo+"$1")]})],s);case"::placeholder":return en([Dn(e,{props:[At(a,/:(plac\w+)/,":"+Mt+"input-$1")]}),Dn(e,{props:[At(a,/:(plac\w+)/,":"+Eo+"$1")]}),Dn(e,{props:[At(a,/:(plac\w+)/,Se+"input-$1")]})],s)}return""})}},Qp=[Zp],Ka=function(e){var n=e.key;if(n==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(E){var A=E.getAttribute("data-emotion");A.indexOf(" ")!==-1&&(document.head.appendChild(E),E.setAttribute("data-s",""))})}var s=e.stylisPlugins||Qp,a={},c,p=[];c=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(E){for(var A=E.getAttribute("data-emotion").split(" "),h=1;h<A.length;h++)a[A[h]]=!0;p.push(E)});var d,g=[Xp,Jp];{var m,S=[Hp,Vp(function(E){m.insert(E)})],y=Gp(g.concat(s,S)),j=function(A){return en(Wp(A),y)};d=function(A,h,P,D){m=P,j(A?A+"{"+h.styles+"}":h.styles),D&&(k.inserted[h.name]=!0)}}var k={key:n,sheet:new jp({key:n,container:c,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:d};return k.sheet.hydrate(p),k},Ya={exports:{}},It={};/** @license React v16.13.1 10 10 * react-is.production.min.js 11 11 * … … 14 14 * This source code is licensed under the MIT license found in the 15 15 * LICENSE file in the root directory of this source tree. 16 */var Jt=typeof Symbol=="function"&&Symbol.for,mi=Jt?Symbol.for("react.element"):60103,bi=Jt?Symbol.for("react.portal"):60106,Vn=Jt?Symbol.for("react.fragment"):60107,Hn=Jt?Symbol.for("react.strict_mode"):60108,Gn=Jt?Symbol.for("react.profiler"):60114,Kn=Jt?Symbol.for("react.provider"):60109,qn=Jt?Symbol.for("react.context"):60110,vi=Jt?Symbol.for("react.async_mode"):60111,Yn=Jt?Symbol.for("react.concurrent_mode"):60111,Xn=Jt?Symbol.for("react.forward_ref"):60112,Zn=Jt?Symbol.for("react.suspense"):60113,Ru=Jt?Symbol.for("react.suspense_list"):60120,Jn=Jt?Symbol.for("react.memo"):60115,Qn=Jt?Symbol.for("react.lazy"):60116,Tu=Jt?Symbol.for("react.block"):60121,Eu=Jt?Symbol.for("react.fundamental"):60117,ju=Jt?Symbol.for("react.responder"):60118,$u=Jt?Symbol.for("react.scope"):60119;function le(t){if(typeof t=="object"&&t!==null){var e=t.$$typeof;switch(e){case mi:switch(t=t.type,t){case vi:case Yn:case Vn:case Gn:case Hn:case Zn:return t;default:switch(t=t&&t.$$typeof,t){case qn:case Xn:case Qn:case Jn:case Kn:return t;default:return e}}case bi:return e}}}function Fs(t){return le(t)===Yn}Rt.AsyncMode=vi,Rt.ConcurrentMode=Yn,Rt.ContextConsumer=qn,Rt.ContextProvider=Kn,Rt.Element=mi,Rt.ForwardRef=Xn,Rt.Fragment=Vn,Rt.Lazy=Qn,Rt.Memo=Jn,Rt.Portal=bi,Rt.Profiler=Gn,Rt.StrictMode=Hn,Rt.Suspense=Zn,Rt.isAsyncMode=function(t){return Fs(t)||le(t)===vi},Rt.isConcurrentMode=Fs,Rt.isContextConsumer=function(t){return le(t)===qn},Rt.isContextProvider=function(t){return le(t)===Kn},Rt.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===mi},Rt.isForwardRef=function(t){return le(t)===Xn},Rt.isFragment=function(t){return le(t)===Vn},Rt.isLazy=function(t){return le(t)===Qn},Rt.isMemo=function(t){return le(t)===Jn},Rt.isPortal=function(t){return le(t)===bi},Rt.isProfiler=function(t){return le(t)===Gn},Rt.isStrictMode=function(t){return le(t)===Hn},Rt.isSuspense=function(t){return le(t)===Zn},Rt.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===Vn||t===Yn||t===Gn||t===Hn||t===Zn||t===Ru||typeof t=="object"&&t!==null&&(t.$$typeof===Qn||t.$$typeof===Jn||t.$$typeof===Kn||t.$$typeof===qn||t.$$typeof===Xn||t.$$typeof===Eu||t.$$typeof===ju||t.$$typeof===$u||t.$$typeof===Tu)},Rt.typeOf=le,_s.exports=Rt;var Mu=_s.exports,Ds=Mu,Au={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Pu={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ls={};Ls[Ds.ForwardRef]=Au,Ls[Ds.Memo]=Pu;var Ou=!0;function Ws(t,e,n){var i="";return n.split(" ").forEach(function(s){t[s]!==void 0?e.push(t[s]+";"):s&&(i+=s+" ")}),i}var xi=function(e,n,i){var s=e.key+"-"+n.name;(i===!1||Ou===!1)&&e.registered[s]===void 0&&(e.registered[s]=n.styles)},Si=function(e,n,i){xi(e,n,i);var s=e.key+"-"+n.name;if(e.inserted[n.name]===void 0){var l=n;do e.insert(n===l?"."+s:"",l,e.sheet,!0),l=l.next;while(l!==void 0)}};function Iu(t){for(var e=0,n,i=0,s=t.length;s>=4;++i,s-=4)n=t.charCodeAt(i)&255|(t.charCodeAt(++i)&255)<<8|(t.charCodeAt(++i)&255)<<16|(t.charCodeAt(++i)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(s){case 3:e^=(t.charCodeAt(i+2)&255)<<16;case 2:e^=(t.charCodeAt(i+1)&255)<<8;case 1:e^=t.charCodeAt(i)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var Bu={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},zu=!1,Nu=/[A-Z]|^ms/g,_u=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Us=function(e){return e.charCodeAt(1)===45},Vs=function(e){return e!=null&&typeof e!="boolean"},wi=Is(function(t){return Us(t)?t:t.replace(Nu,"-$&").toLowerCase()}),Hs=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(_u,function(i,s,l){return Ne={name:s,styles:l,next:Ne},s})}return Bu[e]!==1&&!Us(e)&&typeof n=="number"&&n!==0?n+"px":n},Fu="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function pn(t,e,n){if(n==null)return"";var i=n;if(i.__emotion_styles!==void 0)return i;switch(typeof n){case"boolean":return"";case"object":{var s=n;if(s.anim===1)return Ne={name:s.name,styles:s.styles,next:Ne},s.name;var l=n;if(l.styles!==void 0){var c=l.next;if(c!==void 0)for(;c!==void 0;)Ne={name:c.name,styles:c.styles,next:Ne},c=c.next;var d=l.styles+";";return d}return Du(t,e,n)}case"function":{if(t!==void 0){var f=Ne,g=n(t);return Ne=f,pn(t,e,g)}break}}var x=n;if(e==null)return x;var T=e[x];return T!==void 0?T:x}function Du(t,e,n){var i="";if(Array.isArray(n))for(var s=0;s<n.length;s++)i+=pn(t,e,n[s])+";";else for(var l in n){var c=n[l];if(typeof c!="object"){var d=c;e!=null&&e[d]!==void 0?i+=l+"{"+e[d]+"}":Vs(d)&&(i+=wi(l)+":"+Hs(l,d)+";")}else{if(l==="NO_COMPONENT_SELECTOR"&&zu)throw new Error(Fu);if(Array.isArray(c)&&typeof c[0]=="string"&&(e==null||e[c[0]]===void 0))for(var f=0;f<c.length;f++)Vs(c[f])&&(i+=wi(l)+":"+Hs(l,c[f])+";");else{var g=pn(t,e,c);switch(l){case"animation":case"animationName":{i+=wi(l)+":"+g+";";break}default:i+=l+"{"+g+"}"}}}}return i}var Gs=/label:\s*([^\s;{]+)\s*(;|$)/g,Ne;function to(t,e,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,s="";Ne=void 0;var l=t[0];if(l==null||l.raw===void 0)i=!1,s+=pn(n,e,l);else{var c=l;s+=c[0]}for(var d=1;d<t.length;d++)if(s+=pn(n,e,t[d]),i){var f=l;s+=f[d]}Gs.lastIndex=0;for(var g="",x;(x=Gs.exec(s))!==null;)g+="-"+x[1];var T=Iu(s)+g;return{name:T,styles:s,next:Ne}}var Lu=function(e){return e()},Ks=O["useInsertionEffect"]?O["useInsertionEffect"]:!1,qs=Ks||Lu,Ys=Ks||O.useLayoutEffect,Wu=!1,Xs=O.createContext(typeof HTMLElement<"u"?Ns({key:"css"}):null),Uu=Xs.Provider,Ci=function(e){return mt.forwardRef(function(n,i){var s=mt.useContext(Xs);return e(n,s,i)})},Mr=O.createContext({}),ki={}.hasOwnProperty,Ri="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Vu=function(e,n){var i={};for(var s in n)ki.call(n,s)&&(i[s]=n[s]);return i[Ri]=e,i},Hu=function(e){var n=e.cache,i=e.serialized,s=e.isStringTag;return xi(n,i,s),qs(function(){return Si(n,i,s)}),null},Gu=Ci(function(t,e,n){var i=t.css;typeof i=="string"&&e.registered[i]!==void 0&&(i=e.registered[i]);var s=t[Ri],l=[i],c="";typeof t.className=="string"?c=Ws(e.registered,l,t.className):t.className!=null&&(c=t.className+" ");var d=to(l,void 0,O.useContext(Mr));c+=e.key+"-"+d.name;var f={};for(var g in t)ki.call(t,g)&&g!=="css"&&g!==Ri&&!Wu&&(f[g]=t[g]);return f.className=c,n&&(f.ref=n),O.createElement(O.Fragment,null,O.createElement(Hu,{cache:e,serialized:d,isStringTag:typeof s=="string"}),O.createElement(s,f))}),Ku=Gu,Ti={exports:{}},Zs;function Js(){return Zs||(Zs=1,function(t){function e(){return t.exports=e=Object.assign?Object.assign.bind():function(n){for(var i=1;i<arguments.length;i++){var s=arguments[i];for(var l in s)({}).hasOwnProperty.call(s,l)&&(n[l]=s[l])}return n},t.exports.__esModule=!0,t.exports.default=t.exports,e.apply(null,arguments)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(Ti)),Ti.exports}Js();var Qs=function(e,n){var i=arguments;if(n==null||!ki.call(n,"css"))return O.createElement.apply(void 0,i);var s=i.length,l=new Array(s);l[0]=Ku,l[1]=Vu(e,n);for(var c=2;c<s;c++)l[c]=i[c];return O.createElement.apply(null,l)};(function(t){var e;e||(e=t.JSX||(t.JSX={}))})(Qs||(Qs={}));var qu=Ci(function(t,e){var n=t.styles,i=to([n],void 0,O.useContext(Mr)),s=O.useRef();return Ys(function(){var l=e.key+"-globalThis",c=new e.sheet.constructor({key:l,nonce:e.sheet.nonce,container:e.sheet.container,speedy:e.sheet.isSpeedy}),d=!1,f=document.querySelector('style[data-emotion="'+l+" "+i.name+'"]');return e.sheet.tags.length&&(c.before=e.sheet.tags[0]),f!==null&&(d=!0,f.setAttribute("data-emotion",l),c.hydrate([f])),s.current=[c,d],function(){c.flush()}},[e]),Ys(function(){var l=s.current,c=l[0],d=l[1];if(d){l[1]=!1;return}if(i.next!==void 0&&Si(e,i.next,!0),c.tags.length){var f=c.tags[c.tags.length-1].nextElementSibling;c.before=f,c.flush()}e.insert("",i,c,!1)},[e,i.name]),null});function dn(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return to(e)}function sr(){var t=dn.apply(void 0,arguments),e="animation-"+t.name;return{name:e,styles:"@keyframes "+e+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var Yu=/^((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|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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)-.*))$/,Xu=Is(function(t){return Yu.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),Zu=!1,Ju=Xu,Qu=function(e){return e!=="theme"},ta=function(e){return typeof e=="string"&&e.charCodeAt(0)>96?Ju:Qu},ea=function(e,n,i){var s;if(n){var l=n.shouldForwardProp;s=e.__emotion_forwardProp&&l?function(c){return e.__emotion_forwardProp(c)&&l(c)}:l}return typeof s!="function"&&i&&(s=e.__emotion_forwardProp),s},tp=function(e){var n=e.cache,i=e.serialized,s=e.isStringTag;return xi(n,i,s),qs(function(){return Si(n,i,s)}),null},ep=function t(e,n){var i=e.__emotion_real===e,s=i&&e.__emotion_base||e,l,c;n!==void 0&&(l=n.label,c=n.target);var d=ea(e,n,i),f=d||ta(s),g=!f("as");return function(){var x=arguments,T=i&&e.__emotion_styles!==void 0?e.__emotion_styles.slice(0):[];if(l!==void 0&&T.push("label:"+l+";"),x[0]==null||x[0].raw===void 0)T.push.apply(T,x);else{var m=x[0];T.push(m[0]);for(var M=x.length,R=1;R<M;R++)T.push(x[R],m[R])}var E=Ci(function(A,h,$){var z=g&&A.as||s,D="",L=[],U=A;if(A.theme==null){U={};for(var C in A)U[C]=A[C];U.theme=O.useContext(Mr)}typeof A.className=="string"?D=Ws(h.registered,L,A.className):A.className!=null&&(D=A.className+" ");var at=to(T.concat(L),h.registered,U);D+=h.key+"-"+at.name,c!==void 0&&(D+=" "+c);var pt=g&&d===void 0?ta(z):f,K={};for(var Y in A)g&&Y==="as"||pt(Y)&&(K[Y]=A[Y]);return K.className=D,$&&(K.ref=$),O.createElement(O.Fragment,null,O.createElement(tp,{cache:h,serialized:at,isStringTag:typeof z=="string"}),O.createElement(z,K))});return E.displayName=l!==void 0?l:"Styled("+(typeof s=="string"?s:s.displayName||s.name||"Component")+")",E.defaultProps=e.defaultProps,E.__emotion_real=E,E.__emotion_base=s,E.__emotion_styles=T,E.__emotion_forwardProp=d,Object.defineProperty(E,"toString",{value:function(){return c===void 0&&Zu?"NO_COMPONENT_SELECTOR":"."+c}}),E.withComponent=function(A,h){var $=t(A,k({},n,h,{shouldForwardProp:ea(E,h,!0)}));return $.apply(void 0,T)},E}},rp=["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"],Ei=ep.bind(null);rp.forEach(function(t){Ei[t]=Ei(t)});let ji;typeof document=="object"&&(ji=Ns({key:"css",prepend:!0}));function np(t){const{injectFirst:e,children:n}=t;return e&&ji?B.jsx(Uu,{value:ji,children:n}):n}function op(t){return t==null||Object.keys(t).length===0}function ra(t){const{styles:e,defaultTheme:n={}}=t,i=typeof e=="function"?s=>e(op(s)?n:s):e;return B.jsx(qu,{styles:i})}/**16 */var de=typeof Symbol=="function"&&Symbol.for,gs=de?Symbol.for("react.element"):60103,ys=de?Symbol.for("react.portal"):60106,Oo=de?Symbol.for("react.fragment"):60107,Io=de?Symbol.for("react.strict_mode"):60108,Bo=de?Symbol.for("react.profiler"):60114,Fo=de?Symbol.for("react.provider"):60109,zo=de?Symbol.for("react.context"):60110,ms=de?Symbol.for("react.async_mode"):60111,Do=de?Symbol.for("react.concurrent_mode"):60111,No=de?Symbol.for("react.forward_ref"):60112,_o=de?Symbol.for("react.suspense"):60113,td=de?Symbol.for("react.suspense_list"):60120,Lo=de?Symbol.for("react.memo"):60115,Wo=de?Symbol.for("react.lazy"):60116,ed=de?Symbol.for("react.block"):60121,rd=de?Symbol.for("react.fundamental"):60117,nd=de?Symbol.for("react.responder"):60118,od=de?Symbol.for("react.scope"):60119;function Be(t){if(typeof t=="object"&&t!==null){var e=t.$$typeof;switch(e){case gs:switch(t=t.type,t){case ms:case Do:case Oo:case Bo:case Io:case _o:return t;default:switch(t=t&&t.$$typeof,t){case zo:case No:case Wo:case Lo:case Fo:return t;default:return e}}case ys:return e}}}function qa(t){return Be(t)===Do}It.AsyncMode=ms,It.ConcurrentMode=Do,It.ContextConsumer=zo,It.ContextProvider=Fo,It.Element=gs,It.ForwardRef=No,It.Fragment=Oo,It.Lazy=Wo,It.Memo=Lo,It.Portal=ys,It.Profiler=Bo,It.StrictMode=Io,It.Suspense=_o,It.isAsyncMode=function(t){return qa(t)||Be(t)===ms},It.isConcurrentMode=qa,It.isContextConsumer=function(t){return Be(t)===zo},It.isContextProvider=function(t){return Be(t)===Fo},It.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===gs},It.isForwardRef=function(t){return Be(t)===No},It.isFragment=function(t){return Be(t)===Oo},It.isLazy=function(t){return Be(t)===Wo},It.isMemo=function(t){return Be(t)===Lo},It.isPortal=function(t){return Be(t)===ys},It.isProfiler=function(t){return Be(t)===Bo},It.isStrictMode=function(t){return Be(t)===Io},It.isSuspense=function(t){return Be(t)===_o},It.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===Oo||t===Do||t===Bo||t===Io||t===_o||t===td||typeof t=="object"&&t!==null&&(t.$$typeof===Wo||t.$$typeof===Lo||t.$$typeof===Fo||t.$$typeof===zo||t.$$typeof===No||t.$$typeof===rd||t.$$typeof===nd||t.$$typeof===od||t.$$typeof===ed)},It.typeOf=Be,Ya.exports=It;var id=Ya.exports,Xa=id,sd={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ad={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ja={};Ja[Xa.ForwardRef]=sd,Ja[Xa.Memo]=ad;var ld=!0;function Za(t,e,n){var o="";return n.split(" ").forEach(function(s){t[s]!==void 0?e.push(t[s]+";"):s&&(o+=s+" ")}),o}var bs=function(e,n,o){var s=e.key+"-"+n.name;(o===!1||ld===!1)&&e.registered[s]===void 0&&(e.registered[s]=n.styles)},vs=function(e,n,o){bs(e,n,o);var s=e.key+"-"+n.name;if(e.inserted[n.name]===void 0){var a=n;do e.insert(n===a?"."+s:"",a,e.sheet,!0),a=a.next;while(a!==void 0)}};function cd(t){for(var e=0,n,o=0,s=t.length;s>=4;++o,s-=4)n=t.charCodeAt(o)&255|(t.charCodeAt(++o)&255)<<8|(t.charCodeAt(++o)&255)<<16|(t.charCodeAt(++o)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(s){case 3:e^=(t.charCodeAt(o+2)&255)<<16;case 2:e^=(t.charCodeAt(o+1)&255)<<8;case 1:e^=t.charCodeAt(o)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var ud={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},pd=!1,dd=/[A-Z]|^ms/g,fd=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Qa=function(e){return e.charCodeAt(1)===45},tl=function(e){return e!=null&&typeof e!="boolean"},xs=Ha(function(t){return Qa(t)?t:t.replace(dd,"-$&").toLowerCase()}),el=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(fd,function(o,s,a){return pr={name:s,styles:a,next:pr},s})}return ud[e]!==1&&!Qa(e)&&typeof n=="number"&&n!==0?n+"px":n},hd="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ln(t,e,n){if(n==null)return"";var o=n;if(o.__emotion_styles!==void 0)return o;switch(typeof n){case"boolean":return"";case"object":{var s=n;if(s.anim===1)return pr={name:s.name,styles:s.styles,next:pr},s.name;var a=n;if(a.styles!==void 0){var c=a.next;if(c!==void 0)for(;c!==void 0;)pr={name:c.name,styles:c.styles,next:pr},c=c.next;var p=a.styles+";";return p}return gd(t,e,n)}case"function":{if(t!==void 0){var d=pr,g=n(t);return pr=d,Ln(t,e,g)}break}}var m=n;if(e==null)return m;var S=e[m];return S!==void 0?S:m}function gd(t,e,n){var o="";if(Array.isArray(n))for(var s=0;s<n.length;s++)o+=Ln(t,e,n[s])+";";else for(var a in n){var c=n[a];if(typeof c!="object"){var p=c;e!=null&&e[p]!==void 0?o+=a+"{"+e[p]+"}":tl(p)&&(o+=xs(a)+":"+el(a,p)+";")}else{if(a==="NO_COMPONENT_SELECTOR"&&pd)throw new Error(hd);if(Array.isArray(c)&&typeof c[0]=="string"&&(e==null||e[c[0]]===void 0))for(var d=0;d<c.length;d++)tl(c[d])&&(o+=xs(a)+":"+el(a,c[d])+";");else{var g=Ln(t,e,c);switch(a){case"animation":case"animationName":{o+=xs(a)+":"+g+";";break}default:o+=a+"{"+g+"}"}}}}return o}var rl=/label:\s*([^\s;{]+)\s*(;|$)/g,pr;function Uo(t,e,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,s="";pr=void 0;var a=t[0];if(a==null||a.raw===void 0)o=!1,s+=Ln(n,e,a);else{var c=a;s+=c[0]}for(var p=1;p<t.length;p++)if(s+=Ln(n,e,t[p]),o){var d=a;s+=d[p]}rl.lastIndex=0;for(var g="",m;(m=rl.exec(s))!==null;)g+="-"+m[1];var S=cd(s)+g;return{name:S,styles:s,next:pr}}var yd=function(e){return e()},nl=M["useInsertionEffect"]?M["useInsertionEffect"]:!1,ol=nl||yd,il=nl||M.useLayoutEffect,md=!1,sl=M.createContext(typeof HTMLElement<"u"?Ka({key:"css"}):null),bd=sl.Provider,ws=function(e){return St.forwardRef(function(n,o){var s=St.useContext(sl);return e(n,s,o)})},rn=M.createContext({}),Ss={}.hasOwnProperty,Cs="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",vd=function(e,n){var o={};for(var s in n)Ss.call(n,s)&&(o[s]=n[s]);return o[Cs]=e,o},xd=function(e){var n=e.cache,o=e.serialized,s=e.isStringTag;return bs(n,o,s),ol(function(){return vs(n,o,s)}),null},wd=ws(function(t,e,n){var o=t.css;typeof o=="string"&&e.registered[o]!==void 0&&(o=e.registered[o]);var s=t[Cs],a=[o],c="";typeof t.className=="string"?c=Za(e.registered,a,t.className):t.className!=null&&(c=t.className+" ");var p=Uo(a,void 0,M.useContext(rn));c+=e.key+"-"+p.name;var d={};for(var g in t)Ss.call(t,g)&&g!=="css"&&g!==Cs&&!md&&(d[g]=t[g]);return d.className=c,n&&(d.ref=n),M.createElement(M.Fragment,null,M.createElement(xd,{cache:e,serialized:p,isStringTag:typeof s=="string"}),M.createElement(s,d))}),Sd=wd,Rs={exports:{}},al;function ll(){return al||(al=1,function(t){function e(){return t.exports=e=Object.assign?Object.assign.bind():function(n){for(var o=1;o<arguments.length;o++){var s=arguments[o];for(var a in s)({}).hasOwnProperty.call(s,a)&&(n[a]=s[a])}return n},t.exports.__esModule=!0,t.exports.default=t.exports,e.apply(null,arguments)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(Rs)),Rs.exports}ll();var cl=function(e,n){var o=arguments;if(n==null||!Ss.call(n,"css"))return M.createElement.apply(void 0,o);var s=o.length,a=new Array(s);a[0]=Sd,a[1]=vd(e,n);for(var c=2;c<s;c++)a[c]=o[c];return M.createElement.apply(null,a)};(function(t){var e;e||(e=t.JSX||(t.JSX={}))})(cl||(cl={}));var Cd=ws(function(t,e){var n=t.styles,o=Uo([n],void 0,M.useContext(rn)),s=M.useRef();return il(function(){var a=e.key+"-globalThis",c=new e.sheet.constructor({key:a,nonce:e.sheet.nonce,container:e.sheet.container,speedy:e.sheet.isSpeedy}),p=!1,d=document.querySelector('style[data-emotion="'+a+" "+o.name+'"]');return e.sheet.tags.length&&(c.before=e.sheet.tags[0]),d!==null&&(p=!0,d.setAttribute("data-emotion",a),c.hydrate([d])),s.current=[c,p],function(){c.flush()}},[e]),il(function(){var a=s.current,c=a[0],p=a[1];if(p){a[1]=!1;return}if(o.next!==void 0&&vs(e,o.next,!0),c.tags.length){var d=c.tags[c.tags.length-1].nextElementSibling;c.before=d,c.flush()}e.insert("",o,c,!1)},[e,o.name]),null});function Wn(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Uo(e)}function Ar(){var t=Wn.apply(void 0,arguments),e="animation-"+t.name;return{name:e,styles:"@keyframes "+e+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var Rd=/^((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|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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)-.*))$/,Ed=Ha(function(t){return Rd.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),Td=!1,kd=Ed,jd=function(e){return e!=="theme"},ul=function(e){return typeof e=="string"&&e.charCodeAt(0)>96?kd:jd},pl=function(e,n,o){var s;if(n){var a=n.shouldForwardProp;s=e.__emotion_forwardProp&&a?function(c){return e.__emotion_forwardProp(c)&&a(c)}:a}return typeof s!="function"&&o&&(s=e.__emotion_forwardProp),s},Pd=function(e){var n=e.cache,o=e.serialized,s=e.isStringTag;return bs(n,o,s),ol(function(){return vs(n,o,s)}),null},$d=function t(e,n){var o=e.__emotion_real===e,s=o&&e.__emotion_base||e,a,c;n!==void 0&&(a=n.label,c=n.target);var p=pl(e,n,o),d=p||ul(s),g=!d("as");return function(){var m=arguments,S=o&&e.__emotion_styles!==void 0?e.__emotion_styles.slice(0):[];if(a!==void 0&&S.push("label:"+a+";"),m[0]==null||m[0].raw===void 0)S.push.apply(S,m);else{var y=m[0];S.push(y[0]);for(var j=m.length,k=1;k<j;k++)S.push(m[k],y[k])}var E=ws(function(A,h,P){var D=g&&A.as||s,I="",z=[],N=A;if(A.theme==null){N={};for(var x in A)N[x]=A[x];N.theme=M.useContext(rn)}typeof A.className=="string"?I=Za(h.registered,z,A.className):A.className!=null&&(I=A.className+" ");var V=Uo(S.concat(z),h.registered,N);I+=h.key+"-"+V.name,c!==void 0&&(I+=" "+c);var G=g&&p===void 0?ul(D):d,L={};for(var K in A)g&&K==="as"||G(K)&&(L[K]=A[K]);return L.className=I,P&&(L.ref=P),M.createElement(M.Fragment,null,M.createElement(Pd,{cache:h,serialized:V,isStringTag:typeof D=="string"}),M.createElement(D,L))});return E.displayName=a!==void 0?a:"Styled("+(typeof s=="string"?s:s.displayName||s.name||"Component")+")",E.defaultProps=e.defaultProps,E.__emotion_real=E,E.__emotion_base=s,E.__emotion_styles=S,E.__emotion_forwardProp=p,Object.defineProperty(E,"toString",{value:function(){return c===void 0&&Td?"NO_COMPONENT_SELECTOR":"."+c}}),E.withComponent=function(A,h){var P=t(A,T({},n,h,{shouldForwardProp:pl(E,h,!0)}));return P.apply(void 0,S)},E}},Md=["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"],Es=$d.bind(null);Md.forEach(function(t){Es[t]=Es(t)});let Ts;typeof document=="object"&&(Ts=Ka({key:"css",prepend:!0}));function Ad(t){const{injectFirst:e,children:n}=t;return e&&Ts?F.jsx(bd,{value:Ts,children:n}):n}function Od(t){return t==null||Object.keys(t).length===0}function dl(t){const{styles:e,defaultTheme:n={}}=t,o=typeof e=="function"?s=>e(Od(s)?n:s):e;return F.jsx(Cd,{styles:o})}/** 17 17 * @mui/styled-engine v5.16.14 18 18 * … … 20 20 * This source code is licensed under the MIT license found in the 21 21 * LICENSE file in the root directory of this source tree. 22 */function $i(t,e){return Ei(t,e)}const na=(t,e)=>{Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=e(t.__emotion_styles))},ip=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:ra,StyledEngineProvider:np,ThemeContext:Mr,css:dn,default:$i,internal_processStyles:na,keyframes:sr},Symbol.toStringTag,{value:"Module"}));function Ge(t){if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function oa(t){if(O.isValidElement(t)||!Ge(t))return t;const e={};return Object.keys(t).forEach(n=>{e[n]=oa(t[n])}),e}function ye(t,e,n={clone:!0}){const i=n.clone?k({},t):t;return Ge(t)&&Ge(e)&&Object.keys(e).forEach(s=>{O.isValidElement(e[s])?i[s]=e[s]:Ge(e[s])&&Object.prototype.hasOwnProperty.call(t,s)&&Ge(t[s])?i[s]=ye(t[s],e[s],n):n.clone?i[s]=Ge(e[s])?oa(e[s]):e[s]:i[s]=e[s]}),i}const sp=Object.freeze(Object.defineProperty({__proto__:null,default:ye,isPlainObject:Ge},Symbol.toStringTag,{value:"Module"})),ap=["values","unit","step"],lp=t=>{const e=Object.keys(t).map(n=>({key:n,val:t[n]}))||[];return e.sort((n,i)=>n.val-i.val),e.reduce((n,i)=>k({},n,{[i.key]:i.val}),{})};function ia(t){const{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:i=5}=t,s=nt(t,ap),l=lp(e),c=Object.keys(l);function d(m){return`@media (min-width:${typeof e[m]=="number"?e[m]:m}${n})`}function f(m){return`@media (max-width:${(typeof e[m]=="number"?e[m]:m)-i/100}${n})`}function g(m,M){const R=c.indexOf(M);return`@media (min-width:${typeof e[m]=="number"?e[m]:m}${n}) and (max-width:${(R!==-1&&typeof e[c[R]]=="number"?e[c[R]]:M)-i/100}${n})`}function x(m){return c.indexOf(m)+1<c.length?g(m,c[c.indexOf(m)+1]):d(m)}function T(m){const M=c.indexOf(m);return M===0?d(c[1]):M===c.length-1?f(c[M]):g(m,c[c.indexOf(m)+1]).replace("@media","@media not all and")}return k({keys:c,values:l,up:d,down:f,between:g,only:x,not:T,unit:n},s)}const cp={borderRadius:4};function fn(t,e){return e?ye(t,e,{clone:!1}):t}const Mi={xs:0,sm:600,md:900,lg:1200,xl:1536},sa={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${Mi[t]}px)`};function se(t,e,n){const i=t.theme||{};if(Array.isArray(e)){const l=i.breakpoints||sa;return e.reduce((c,d,f)=>(c[l.up(l.keys[f])]=n(e[f]),c),{})}if(typeof e=="object"){const l=i.breakpoints||sa;return Object.keys(e).reduce((c,d)=>{if(Object.keys(l.values||Mi).indexOf(d)!==-1){const f=l.up(d);c[f]=n(e[d],d)}else{const f=d;c[f]=e[f]}return c},{})}return n(e)}function aa(t={}){var e;return((e=t.keys)==null?void 0:e.reduce((i,s)=>{const l=t.up(s);return i[l]={},i},{}))||{}}function la(t,e){return t.reduce((n,i)=>{const s=n[i];return(!s||Object.keys(s).length===0)&&delete n[i],n},e)}function up(t,...e){const n=aa(t),i=[n,...e].reduce((s,l)=>ye(s,l),{});return la(Object.keys(n),i)}function pp(t,e){if(typeof t!="object")return{};const n={},i=Object.keys(e);return Array.isArray(t)?i.forEach((s,l)=>{l<t.length&&(n[s]=!0)}):i.forEach(s=>{t[s]!=null&&(n[s]=!0)}),n}function ar({values:t,breakpoints:e,base:n}){const i=n||pp(t,e),s=Object.keys(i);if(s.length===0)return t;let l;return s.reduce((c,d,f)=>(Array.isArray(t)?(c[d]=t[f]!=null?t[f]:t[l],l=f):typeof t=="object"?(c[d]=t[d]!=null?t[d]:t[l],l=d):c[d]=t,c),{})}function H(t){if(typeof t!="string")throw new Error(sn(7));return t.charAt(0).toUpperCase()+t.slice(1)}const dp=Object.freeze(Object.defineProperty({__proto__:null,default:H},Symbol.toStringTag,{value:"Module"}));function Ar(t,e,n=!0){if(!e||typeof e!="string")return null;if(t&&t.vars&&n){const i=`vars.${e}`.split(".").reduce((s,l)=>s&&s[l]?s[l]:null,t);if(i!=null)return i}return e.split(".").reduce((i,s)=>i&&i[s]!=null?i[s]:null,t)}function eo(t,e,n,i=n){let s;return typeof t=="function"?s=t(n):Array.isArray(t)?s=t[n]||i:s=Ar(t,n)||i,e&&(s=e(s,i,t)),s}function Lt(t){const{prop:e,cssProperty:n=t.prop,themeKey:i,transform:s}=t,l=c=>{if(c[e]==null)return null;const d=c[e],f=c.theme,g=Ar(f,i)||{};return se(c,d,T=>{let m=eo(g,s,T);return T===m&&typeof T=="string"&&(m=eo(g,s,`${e}${T==="default"?"":H(T)}`,T)),n===!1?m:{[n]:m}})};return l.propTypes={},l.filterProps=[e],l}function fp(t){const e={};return n=>(e[n]===void 0&&(e[n]=t(n)),e[n])}const hp={m:"margin",p:"padding"},yp={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ca={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},gp=fp(t=>{if(t.length>2)if(ca[t])t=ca[t];else return[t];const[e,n]=t.split(""),i=hp[e],s=yp[n]||"";return Array.isArray(s)?s.map(l=>i+l):[i+s]}),Ai=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Pi=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Ai,...Pi];function hn(t,e,n,i){var s;const l=(s=Ar(t,e,!1))!=null?s:n;return typeof l=="number"?c=>typeof c=="string"?c:l*c:Array.isArray(l)?c=>typeof c=="string"?c:l[c]:typeof l=="function"?l:()=>{}}function Oi(t){return hn(t,"spacing",8)}function lr(t,e){if(typeof e=="string"||e==null)return e;const n=Math.abs(e),i=t(n);return e>=0?i:typeof i=="number"?-i:`-${i}`}function mp(t,e){return n=>t.reduce((i,s)=>(i[s]=lr(e,n),i),{})}function bp(t,e,n,i){if(e.indexOf(n)===-1)return null;const s=gp(n),l=mp(s,i),c=t[n];return se(t,c,l)}function ua(t,e){const n=Oi(t.theme);return Object.keys(t).map(i=>bp(t,e,i,n)).reduce(fn,{})}function Bt(t){return ua(t,Ai)}Bt.propTypes={},Bt.filterProps=Ai;function zt(t){return ua(t,Pi)}zt.propTypes={},zt.filterProps=Pi;function vp(t=8){if(t.mui)return t;const e=Oi({spacing:t}),n=(...i)=>(i.length===0?[1]:i).map(l=>{const c=e(l);return typeof c=="number"?`${c}px`:c}).join(" ");return n.mui=!0,n}function ro(...t){const e=t.reduce((i,s)=>(s.filterProps.forEach(l=>{i[l]=s}),i),{}),n=i=>Object.keys(i).reduce((s,l)=>e[l]?fn(s,e[l](i)):s,{});return n.propTypes={},n.filterProps=t.reduce((i,s)=>i.concat(s.filterProps),[]),n}function ge(t){return typeof t!="number"?t:`${t}px solid`}function me(t,e){return Lt({prop:t,themeKey:"borders",transform:e})}const xp=me("border",ge),Sp=me("borderTop",ge),wp=me("borderRight",ge),Cp=me("borderBottom",ge),kp=me("borderLeft",ge),Rp=me("borderColor"),Tp=me("borderTopColor"),Ep=me("borderRightColor"),jp=me("borderBottomColor"),$p=me("borderLeftColor"),Mp=me("outline",ge),Ap=me("outlineColor"),no=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const e=hn(t.theme,"shape.borderRadius",4),n=i=>({borderRadius:lr(e,i)});return se(t,t.borderRadius,n)}return null};no.propTypes={},no.filterProps=["borderRadius"],ro(xp,Sp,wp,Cp,kp,Rp,Tp,Ep,jp,$p,no,Mp,Ap);const oo=t=>{if(t.gap!==void 0&&t.gap!==null){const e=hn(t.theme,"spacing",8),n=i=>({gap:lr(e,i)});return se(t,t.gap,n)}return null};oo.propTypes={},oo.filterProps=["gap"];const io=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const e=hn(t.theme,"spacing",8),n=i=>({columnGap:lr(e,i)});return se(t,t.columnGap,n)}return null};io.propTypes={},io.filterProps=["columnGap"];const so=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const e=hn(t.theme,"spacing",8),n=i=>({rowGap:lr(e,i)});return se(t,t.rowGap,n)}return null};so.propTypes={},so.filterProps=["rowGap"];const Pp=Lt({prop:"gridColumn"}),Op=Lt({prop:"gridRow"}),Ip=Lt({prop:"gridAutoFlow"}),Bp=Lt({prop:"gridAutoColumns"}),zp=Lt({prop:"gridAutoRows"}),Np=Lt({prop:"gridTemplateColumns"}),_p=Lt({prop:"gridTemplateRows"}),Fp=Lt({prop:"gridTemplateAreas"}),Dp=Lt({prop:"gridArea"});ro(oo,io,so,Pp,Op,Ip,Bp,zp,Np,_p,Fp,Dp);function Pr(t,e){return e==="grey"?e:t}const Lp=Lt({prop:"color",themeKey:"palette",transform:Pr}),Wp=Lt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Pr}),Up=Lt({prop:"backgroundColor",themeKey:"palette",transform:Pr});ro(Lp,Wp,Up);function ce(t){return t<=1&&t!==0?`${t*100}%`:t}const Vp=Lt({prop:"width",transform:ce}),Ii=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const e=n=>{var i,s;const l=((i=t.theme)==null||(i=i.breakpoints)==null||(i=i.values)==null?void 0:i[n])||Mi[n];return l?((s=t.theme)==null||(s=s.breakpoints)==null?void 0:s.unit)!=="px"?{maxWidth:`${l}${t.theme.breakpoints.unit}`}:{maxWidth:l}:{maxWidth:ce(n)}};return se(t,t.maxWidth,e)}return null};Ii.filterProps=["maxWidth"];const Hp=Lt({prop:"minWidth",transform:ce}),Gp=Lt({prop:"height",transform:ce}),Kp=Lt({prop:"maxHeight",transform:ce}),qp=Lt({prop:"minHeight",transform:ce});Lt({prop:"size",cssProperty:"width",transform:ce}),Lt({prop:"size",cssProperty:"height",transform:ce});const Yp=Lt({prop:"boxSizing"});ro(Vp,Ii,Hp,Gp,Kp,qp,Yp);const yn={border:{themeKey:"borders",transform:ge},borderTop:{themeKey:"borders",transform:ge},borderRight:{themeKey:"borders",transform:ge},borderBottom:{themeKey:"borders",transform:ge},borderLeft:{themeKey:"borders",transform:ge},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ge},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:no},color:{themeKey:"palette",transform:Pr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Pr},backgroundColor:{themeKey:"palette",transform:Pr},p:{style:zt},pt:{style:zt},pr:{style:zt},pb:{style:zt},pl:{style:zt},px:{style:zt},py:{style:zt},padding:{style:zt},paddingTop:{style:zt},paddingRight:{style:zt},paddingBottom:{style:zt},paddingLeft:{style:zt},paddingX:{style:zt},paddingY:{style:zt},paddingInline:{style:zt},paddingInlineStart:{style:zt},paddingInlineEnd:{style:zt},paddingBlock:{style:zt},paddingBlockStart:{style:zt},paddingBlockEnd:{style:zt},m:{style:Bt},mt:{style:Bt},mr:{style:Bt},mb:{style:Bt},ml:{style:Bt},mx:{style:Bt},my:{style:Bt},margin:{style:Bt},marginTop:{style:Bt},marginRight:{style:Bt},marginBottom:{style:Bt},marginLeft:{style:Bt},marginX:{style:Bt},marginY:{style:Bt},marginInline:{style:Bt},marginInlineStart:{style:Bt},marginInlineEnd:{style:Bt},marginBlock:{style:Bt},marginBlockStart:{style:Bt},marginBlockEnd:{style:Bt},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:oo},rowGap:{style:so},columnGap:{style:io},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ce},maxWidth:{style:Ii},minWidth:{transform:ce},height:{transform:ce},maxHeight:{transform:ce},minHeight:{transform:ce},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Xp(...t){const e=t.reduce((i,s)=>i.concat(Object.keys(s)),[]),n=new Set(e);return t.every(i=>n.size===Object.keys(i).length)}function Zp(t,e){return typeof t=="function"?t(e):t}function pa(){function t(n,i,s,l){const c={[n]:i,theme:s},d=l[n];if(!d)return{[n]:i};const{cssProperty:f=n,themeKey:g,transform:x,style:T}=d;if(i==null)return null;if(g==="typography"&&i==="inherit")return{[n]:i};const m=Ar(s,g)||{};return T?T(c):se(c,i,R=>{let E=eo(m,x,R);return R===E&&typeof R=="string"&&(E=eo(m,x,`${n}${R==="default"?"":H(R)}`,R)),f===!1?E:{[f]:E}})}function e(n){var i;const{sx:s,theme:l={}}=n||{};if(!s)return null;const c=(i=l.unstable_sxConfig)!=null?i:yn;function d(f){let g=f;if(typeof f=="function")g=f(l);else if(typeof f!="object")return f;if(!g)return null;const x=aa(l.breakpoints),T=Object.keys(x);let m=x;return Object.keys(g).forEach(M=>{const R=Zp(g[M],l);if(R!=null)if(typeof R=="object")if(c[M])m=fn(m,t(M,R,l,c));else{const E=se({theme:l},R,A=>({[M]:A}));Xp(E,R)?m[M]=e({sx:R,theme:l}):m=fn(m,E)}else m=fn(m,t(M,R,l,c))}),la(T,m)}return Array.isArray(s)?s.map(d):d(s)}return e}const da=pa();da.filterProps=["sx"];const gn=da;function fa(t,e){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(t).replace(/(\[[^\]]+\])/,"*:where($1)")]:e}:n.palette.mode===t?e:{}}const Jp=["breakpoints","palette","spacing","shape"];function mn(t={},...e){const{breakpoints:n={},palette:i={},spacing:s,shape:l={}}=t,c=nt(t,Jp),d=ia(n),f=vp(s);let g=ye({breakpoints:d,direction:"ltr",components:{},palette:k({mode:"light"},i),spacing:f,shape:k({},cp,l)},c);return g.applyStyles=fa,g=e.reduce((x,T)=>ye(x,T),g),g.unstable_sxConfig=k({},yn,c==null?void 0:c.unstable_sxConfig),g.unstable_sx=function(T){return gn({sx:T,theme:this})},g}const Qp=Object.freeze(Object.defineProperty({__proto__:null,default:mn,private_createBreakpoints:ia,unstable_applyStyles:fa},Symbol.toStringTag,{value:"Module"}));function td(t){return Object.keys(t).length===0}function ha(t=null){const e=O.useContext(Mr);return!e||td(e)?t:e}const ed=mn();function ao(t=ed){return ha(t)}function rd({styles:t,themeId:e,defaultTheme:n={}}){const i=ao(n),s=typeof t=="function"?t(e&&i[e]||i):t;return B.jsx(ra,{styles:s})}const nd=["sx"],od=t=>{var e,n;const i={systemProps:{},otherProps:{}},s=(e=t==null||(n=t.theme)==null?void 0:n.unstable_sxConfig)!=null?e:yn;return Object.keys(t).forEach(l=>{s[l]?i.systemProps[l]=t[l]:i.otherProps[l]=t[l]}),i};function bn(t){const{sx:e}=t,n=nt(t,nd),{systemProps:i,otherProps:s}=od(n);let l;return Array.isArray(e)?l=[i,...e]:typeof e=="function"?l=(...c)=>{const d=e(...c);return Ge(d)?k({},i,d):i}:l=k({},i,e),k({},s,{sx:l})}const id=Object.freeze(Object.defineProperty({__proto__:null,default:gn,extendSxProp:bn,unstable_createStyleFunctionSx:pa,unstable_defaultSxConfig:yn},Symbol.toStringTag,{value:"Module"})),ya=t=>t,ga=(()=>{let t=ya;return{configure(e){t=e},generate(e){return t(e)},reset(){t=ya}}})();function ma(t){var e,n,i="";if(typeof t=="string"||typeof t=="number")i+=t;else if(typeof t=="object")if(Array.isArray(t)){var s=t.length;for(e=0;e<s;e++)t[e]&&(n=ma(t[e]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}function J(){for(var t,e,n=0,i="",s=arguments.length;n<s;n++)(t=arguments[n])&&(e=ma(t))&&(i&&(i+=" "),i+=e);return i}const sd=["className","component"];function ad(t={}){const{themeId:e,defaultTheme:n,defaultClassName:i="MuiBox-root",generateClassName:s}=t,l=$i("div",{shouldForwardProp:d=>d!=="theme"&&d!=="sx"&&d!=="as"})(gn);return O.forwardRef(function(f,g){const x=ao(n),T=bn(f),{className:m,component:M="div"}=T,R=nt(T,sd);return B.jsx(l,k({as:M,ref:g,className:J(m,s?s(i):i),theme:e&&x[e]||x},R))})}const ld={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Ct(t,e,n="Mui"){const i=ld[e];return i?`${n}-${i}`:`${ga.generate(t)}-${e}`}function bt(t,e,n="Mui"){const i={};return e.forEach(s=>{i[s]=Ct(t,s,n)}),i}var ba={exports:{}},jt={};/**22 */function ks(t,e){return Es(t,e)}const fl=(t,e)=>{Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=e(t.__emotion_styles))},Id=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:dl,StyledEngineProvider:Ad,ThemeContext:rn,css:Wn,default:ks,internal_processStyles:fl,keyframes:Ar},Symbol.toStringTag,{value:"Module"}));function hr(t){if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function hl(t){if(M.isValidElement(t)||!hr(t))return t;const e={};return Object.keys(t).forEach(n=>{e[n]=hl(t[n])}),e}function Ue(t,e,n={clone:!0}){const o=n.clone?T({},t):t;return hr(t)&&hr(e)&&Object.keys(e).forEach(s=>{M.isValidElement(e[s])?o[s]=e[s]:hr(e[s])&&Object.prototype.hasOwnProperty.call(t,s)&&hr(t[s])?o[s]=Ue(t[s],e[s],n):n.clone?o[s]=hr(e[s])?hl(e[s]):e[s]:o[s]=e[s]}),o}const Bd=Object.freeze(Object.defineProperty({__proto__:null,default:Ue,isPlainObject:hr},Symbol.toStringTag,{value:"Module"})),Fd=["values","unit","step"],zd=t=>{const e=Object.keys(t).map(n=>({key:n,val:t[n]}))||[];return e.sort((n,o)=>n.val-o.val),e.reduce((n,o)=>T({},n,{[o.key]:o.val}),{})};function gl(t){const{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:o=5}=t,s=at(t,Fd),a=zd(e),c=Object.keys(a);function p(y){return`@media (min-width:${typeof e[y]=="number"?e[y]:y}${n})`}function d(y){return`@media (max-width:${(typeof e[y]=="number"?e[y]:y)-o/100}${n})`}function g(y,j){const k=c.indexOf(j);return`@media (min-width:${typeof e[y]=="number"?e[y]:y}${n}) and (max-width:${(k!==-1&&typeof e[c[k]]=="number"?e[c[k]]:j)-o/100}${n})`}function m(y){return c.indexOf(y)+1<c.length?g(y,c[c.indexOf(y)+1]):p(y)}function S(y){const j=c.indexOf(y);return j===0?p(c[1]):j===c.length-1?d(c[j]):g(y,c[c.indexOf(y)+1]).replace("@media","@media not all and")}return T({keys:c,values:a,up:p,down:d,between:g,only:m,not:S,unit:n},s)}const Dd={borderRadius:4};function Un(t,e){return e?Ue(t,e,{clone:!1}):t}const js={xs:0,sm:600,md:900,lg:1200,xl:1536},yl={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${js[t]}px)`};function Pe(t,e,n){const o=t.theme||{};if(Array.isArray(e)){const a=o.breakpoints||yl;return e.reduce((c,p,d)=>(c[a.up(a.keys[d])]=n(e[d]),c),{})}if(typeof e=="object"){const a=o.breakpoints||yl;return Object.keys(e).reduce((c,p)=>{if(Object.keys(a.values||js).indexOf(p)!==-1){const d=a.up(p);c[d]=n(e[p],p)}else{const d=p;c[d]=e[d]}return c},{})}return n(e)}function ml(t={}){var e;return((e=t.keys)==null?void 0:e.reduce((o,s)=>{const a=t.up(s);return o[a]={},o},{}))||{}}function bl(t,e){return t.reduce((n,o)=>{const s=n[o];return(!s||Object.keys(s).length===0)&&delete n[o],n},e)}function Nd(t,...e){const n=ml(t),o=[n,...e].reduce((s,a)=>Ue(s,a),{});return bl(Object.keys(n),o)}function _d(t,e){if(typeof t!="object")return{};const n={},o=Object.keys(e);return Array.isArray(t)?o.forEach((s,a)=>{a<t.length&&(n[s]=!0)}):o.forEach(s=>{t[s]!=null&&(n[s]=!0)}),n}function Or({values:t,breakpoints:e,base:n}){const o=n||_d(t,e),s=Object.keys(o);if(s.length===0)return t;let a;return s.reduce((c,p,d)=>(Array.isArray(t)?(c[p]=t[d]!=null?t[d]:t[a],a=d):typeof t=="object"?(c[p]=t[p]!=null?t[p]:t[a],a=p):c[p]=t,c),{})}function X(t){if(typeof t!="string")throw new Error(Fn(7));return t.charAt(0).toUpperCase()+t.slice(1)}const Ld=Object.freeze(Object.defineProperty({__proto__:null,default:X},Symbol.toStringTag,{value:"Module"}));function nn(t,e,n=!0){if(!e||typeof e!="string")return null;if(t&&t.vars&&n){const o=`vars.${e}`.split(".").reduce((s,a)=>s&&s[a]?s[a]:null,t);if(o!=null)return o}return e.split(".").reduce((o,s)=>o&&o[s]!=null?o[s]:null,t)}function Ho(t,e,n,o=n){let s;return typeof t=="function"?s=t(n):Array.isArray(t)?s=t[n]||o:s=nn(t,n)||o,e&&(s=e(s,o,t)),s}function qt(t){const{prop:e,cssProperty:n=t.prop,themeKey:o,transform:s}=t,a=c=>{if(c[e]==null)return null;const p=c[e],d=c.theme,g=nn(d,o)||{};return Pe(c,p,S=>{let y=Ho(g,s,S);return S===y&&typeof S=="string"&&(y=Ho(g,s,`${e}${S==="default"?"":X(S)}`,S)),n===!1?y:{[n]:y}})};return a.propTypes={},a.filterProps=[e],a}function Wd(t){const e={};return n=>(e[n]===void 0&&(e[n]=t(n)),e[n])}const Ud={m:"margin",p:"padding"},Hd={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},vl={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Gd=Wd(t=>{if(t.length>2)if(vl[t])t=vl[t];else return[t];const[e,n]=t.split(""),o=Ud[e],s=Hd[n]||"";return Array.isArray(s)?s.map(a=>o+a):[o+s]}),Ps=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],$s=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Ps,...$s];function Hn(t,e,n,o){var s;const a=(s=nn(t,e,!1))!=null?s:n;return typeof a=="number"?c=>typeof c=="string"?c:a*c:Array.isArray(a)?c=>typeof c=="string"?c:a[c]:typeof a=="function"?a:()=>{}}function Ms(t){return Hn(t,"spacing",8)}function Ir(t,e){if(typeof e=="string"||e==null)return e;const n=Math.abs(e),o=t(n);return e>=0?o:typeof o=="number"?-o:`-${o}`}function Vd(t,e){return n=>t.reduce((o,s)=>(o[s]=Ir(e,n),o),{})}function Kd(t,e,n,o){if(e.indexOf(n)===-1)return null;const s=Gd(n),a=Vd(s,o),c=t[n];return Pe(t,c,a)}function xl(t,e){const n=Ms(t.theme);return Object.keys(t).map(o=>Kd(t,e,o,n)).reduce(Un,{})}function Ut(t){return xl(t,Ps)}Ut.propTypes={},Ut.filterProps=Ps;function Ht(t){return xl(t,$s)}Ht.propTypes={},Ht.filterProps=$s;function Yd(t=8){if(t.mui)return t;const e=Ms({spacing:t}),n=(...o)=>(o.length===0?[1]:o).map(a=>{const c=e(a);return typeof c=="number"?`${c}px`:c}).join(" ");return n.mui=!0,n}function Go(...t){const e=t.reduce((o,s)=>(s.filterProps.forEach(a=>{o[a]=s}),o),{}),n=o=>Object.keys(o).reduce((s,a)=>e[a]?Un(s,e[a](o)):s,{});return n.propTypes={},n.filterProps=t.reduce((o,s)=>o.concat(s.filterProps),[]),n}function He(t){return typeof t!="number"?t:`${t}px solid`}function Ge(t,e){return qt({prop:t,themeKey:"borders",transform:e})}const qd=Ge("border",He),Xd=Ge("borderTop",He),Jd=Ge("borderRight",He),Zd=Ge("borderBottom",He),Qd=Ge("borderLeft",He),tf=Ge("borderColor"),ef=Ge("borderTopColor"),rf=Ge("borderRightColor"),nf=Ge("borderBottomColor"),of=Ge("borderLeftColor"),sf=Ge("outline",He),af=Ge("outlineColor"),Vo=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const e=Hn(t.theme,"shape.borderRadius",4),n=o=>({borderRadius:Ir(e,o)});return Pe(t,t.borderRadius,n)}return null};Vo.propTypes={},Vo.filterProps=["borderRadius"],Go(qd,Xd,Jd,Zd,Qd,tf,ef,rf,nf,of,Vo,sf,af);const Ko=t=>{if(t.gap!==void 0&&t.gap!==null){const e=Hn(t.theme,"spacing",8),n=o=>({gap:Ir(e,o)});return Pe(t,t.gap,n)}return null};Ko.propTypes={},Ko.filterProps=["gap"];const Yo=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const e=Hn(t.theme,"spacing",8),n=o=>({columnGap:Ir(e,o)});return Pe(t,t.columnGap,n)}return null};Yo.propTypes={},Yo.filterProps=["columnGap"];const qo=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const e=Hn(t.theme,"spacing",8),n=o=>({rowGap:Ir(e,o)});return Pe(t,t.rowGap,n)}return null};qo.propTypes={},qo.filterProps=["rowGap"];const lf=qt({prop:"gridColumn"}),cf=qt({prop:"gridRow"}),uf=qt({prop:"gridAutoFlow"}),pf=qt({prop:"gridAutoColumns"}),df=qt({prop:"gridAutoRows"}),ff=qt({prop:"gridTemplateColumns"}),hf=qt({prop:"gridTemplateRows"}),gf=qt({prop:"gridTemplateAreas"}),yf=qt({prop:"gridArea"});Go(Ko,Yo,qo,lf,cf,uf,pf,df,ff,hf,gf,yf);function on(t,e){return e==="grey"?e:t}const mf=qt({prop:"color",themeKey:"palette",transform:on}),bf=qt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:on}),vf=qt({prop:"backgroundColor",themeKey:"palette",transform:on});Go(mf,bf,vf);function Fe(t){return t<=1&&t!==0?`${t*100}%`:t}const xf=qt({prop:"width",transform:Fe}),As=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const e=n=>{var o,s;const a=((o=t.theme)==null||(o=o.breakpoints)==null||(o=o.values)==null?void 0:o[n])||js[n];return a?((s=t.theme)==null||(s=s.breakpoints)==null?void 0:s.unit)!=="px"?{maxWidth:`${a}${t.theme.breakpoints.unit}`}:{maxWidth:a}:{maxWidth:Fe(n)}};return Pe(t,t.maxWidth,e)}return null};As.filterProps=["maxWidth"];const wf=qt({prop:"minWidth",transform:Fe}),Sf=qt({prop:"height",transform:Fe}),Cf=qt({prop:"maxHeight",transform:Fe}),Rf=qt({prop:"minHeight",transform:Fe});qt({prop:"size",cssProperty:"width",transform:Fe}),qt({prop:"size",cssProperty:"height",transform:Fe});const Ef=qt({prop:"boxSizing"});Go(xf,As,wf,Sf,Cf,Rf,Ef);const Gn={border:{themeKey:"borders",transform:He},borderTop:{themeKey:"borders",transform:He},borderRight:{themeKey:"borders",transform:He},borderBottom:{themeKey:"borders",transform:He},borderLeft:{themeKey:"borders",transform:He},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:He},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Vo},color:{themeKey:"palette",transform:on},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:on},backgroundColor:{themeKey:"palette",transform:on},p:{style:Ht},pt:{style:Ht},pr:{style:Ht},pb:{style:Ht},pl:{style:Ht},px:{style:Ht},py:{style:Ht},padding:{style:Ht},paddingTop:{style:Ht},paddingRight:{style:Ht},paddingBottom:{style:Ht},paddingLeft:{style:Ht},paddingX:{style:Ht},paddingY:{style:Ht},paddingInline:{style:Ht},paddingInlineStart:{style:Ht},paddingInlineEnd:{style:Ht},paddingBlock:{style:Ht},paddingBlockStart:{style:Ht},paddingBlockEnd:{style:Ht},m:{style:Ut},mt:{style:Ut},mr:{style:Ut},mb:{style:Ut},ml:{style:Ut},mx:{style:Ut},my:{style:Ut},margin:{style:Ut},marginTop:{style:Ut},marginRight:{style:Ut},marginBottom:{style:Ut},marginLeft:{style:Ut},marginX:{style:Ut},marginY:{style:Ut},marginInline:{style:Ut},marginInlineStart:{style:Ut},marginInlineEnd:{style:Ut},marginBlock:{style:Ut},marginBlockStart:{style:Ut},marginBlockEnd:{style:Ut},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Ko},rowGap:{style:qo},columnGap:{style:Yo},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Fe},maxWidth:{style:As},minWidth:{transform:Fe},height:{transform:Fe},maxHeight:{transform:Fe},minHeight:{transform:Fe},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Tf(...t){const e=t.reduce((o,s)=>o.concat(Object.keys(s)),[]),n=new Set(e);return t.every(o=>n.size===Object.keys(o).length)}function kf(t,e){return typeof t=="function"?t(e):t}function wl(){function t(n,o,s,a){const c={[n]:o,theme:s},p=a[n];if(!p)return{[n]:o};const{cssProperty:d=n,themeKey:g,transform:m,style:S}=p;if(o==null)return null;if(g==="typography"&&o==="inherit")return{[n]:o};const y=nn(s,g)||{};return S?S(c):Pe(c,o,k=>{let E=Ho(y,m,k);return k===E&&typeof k=="string"&&(E=Ho(y,m,`${n}${k==="default"?"":X(k)}`,k)),d===!1?E:{[d]:E}})}function e(n){var o;const{sx:s,theme:a={}}=n||{};if(!s)return null;const c=(o=a.unstable_sxConfig)!=null?o:Gn;function p(d){let g=d;if(typeof d=="function")g=d(a);else if(typeof d!="object")return d;if(!g)return null;const m=ml(a.breakpoints),S=Object.keys(m);let y=m;return Object.keys(g).forEach(j=>{const k=kf(g[j],a);if(k!=null)if(typeof k=="object")if(c[j])y=Un(y,t(j,k,a,c));else{const E=Pe({theme:a},k,A=>({[j]:A}));Tf(E,k)?y[j]=e({sx:k,theme:a}):y=Un(y,E)}else y=Un(y,t(j,k,a,c))}),bl(S,y)}return Array.isArray(s)?s.map(p):p(s)}return e}const Sl=wl();Sl.filterProps=["sx"];const Vn=Sl;function Cl(t,e){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(t).replace(/(\[[^\]]+\])/,"*:where($1)")]:e}:n.palette.mode===t?e:{}}const jf=["breakpoints","palette","spacing","shape"];function Kn(t={},...e){const{breakpoints:n={},palette:o={},spacing:s,shape:a={}}=t,c=at(t,jf),p=gl(n),d=Yd(s);let g=Ue({breakpoints:p,direction:"ltr",components:{},palette:T({mode:"light"},o),spacing:d,shape:T({},Dd,a)},c);return g.applyStyles=Cl,g=e.reduce((m,S)=>Ue(m,S),g),g.unstable_sxConfig=T({},Gn,c==null?void 0:c.unstable_sxConfig),g.unstable_sx=function(S){return Vn({sx:S,theme:this})},g}const Pf=Object.freeze(Object.defineProperty({__proto__:null,default:Kn,private_createBreakpoints:gl,unstable_applyStyles:Cl},Symbol.toStringTag,{value:"Module"}));function $f(t){return Object.keys(t).length===0}function Rl(t=null){const e=M.useContext(rn);return!e||$f(e)?t:e}const Mf=Kn();function Xo(t=Mf){return Rl(t)}function Af({styles:t,themeId:e,defaultTheme:n={}}){const o=Xo(n),s=typeof t=="function"?t(e&&o[e]||o):t;return F.jsx(dl,{styles:s})}const Of=["sx"],If=t=>{var e,n;const o={systemProps:{},otherProps:{}},s=(e=t==null||(n=t.theme)==null?void 0:n.unstable_sxConfig)!=null?e:Gn;return Object.keys(t).forEach(a=>{s[a]?o.systemProps[a]=t[a]:o.otherProps[a]=t[a]}),o};function Yn(t){const{sx:e}=t,n=at(t,Of),{systemProps:o,otherProps:s}=If(n);let a;return Array.isArray(e)?a=[o,...e]:typeof e=="function"?a=(...c)=>{const p=e(...c);return hr(p)?T({},o,p):o}:a=T({},o,e),T({},s,{sx:a})}const Bf=Object.freeze(Object.defineProperty({__proto__:null,default:Vn,extendSxProp:Yn,unstable_createStyleFunctionSx:wl,unstable_defaultSxConfig:Gn},Symbol.toStringTag,{value:"Module"})),El=t=>t,Tl=(()=>{let t=El;return{configure(e){t=e},generate(e){return t(e)},reset(){t=El}}})();function kl(t){var e,n,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var s=t.length;for(e=0;e<s;e++)t[e]&&(n=kl(t[e]))&&(o&&(o+=" "),o+=n)}else for(n in t)t[n]&&(o&&(o+=" "),o+=n);return o}function ot(){for(var t,e,n=0,o="",s=arguments.length;n<s;n++)(t=arguments[n])&&(e=kl(t))&&(o&&(o+=" "),o+=e);return o}const Ff=["className","component"];function zf(t={}){const{themeId:e,defaultTheme:n,defaultClassName:o="MuiBox-root",generateClassName:s}=t,a=ks("div",{shouldForwardProp:p=>p!=="theme"&&p!=="sx"&&p!=="as"})(Vn);return M.forwardRef(function(d,g){const m=Xo(n),S=Yn(d),{className:y,component:j="div"}=S,k=at(S,Ff);return F.jsx(a,T({as:j,ref:g,className:ot(y,s?s(o):o),theme:e&&m[e]||m},k))})}const Df={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function kt(t,e,n="Mui"){const o=Df[e];return o?`${n}-${o}`:`${Tl.generate(t)}-${e}`}function Et(t,e,n="Mui"){const o={};return e.forEach(s=>{o[s]=kt(t,s,n)}),o}var jl={exports:{}},Bt={};/** 23 23 * @license React 24 24 * react-is.production.js … … 28 28 * This source code is licensed under the MIT license found in the 29 29 * LICENSE file in the root directory of this source tree. 30 */var Bi=Symbol.for("react.transitional.element"),zi=Symbol.for("react.portal"),lo=Symbol.for("react.fragment"),co=Symbol.for("react.strict_mode"),uo=Symbol.for("react.profiler"),po=Symbol.for("react.consumer"),fo=Symbol.for("react.context"),ho=Symbol.for("react.forward_ref"),yo=Symbol.for("react.suspense"),go=Symbol.for("react.suspense_list"),mo=Symbol.for("react.memo"),bo=Symbol.for("react.lazy"),cd=Symbol.for("react.view_transition"),ud=Symbol.for("react.client.reference");function be(t){if(typeof t=="object"&&t!==null){var e=t.$$typeof;switch(e){case Bi:switch(t=t.type,t){case lo:case uo:case co:case yo:case go:case cd:return t;default:switch(t=t&&t.$$typeof,t){case fo:case ho:case bo:case mo:return t;case po:return t;default:return e}}case zi:return e}}}jt.ContextConsumer=po,jt.ContextProvider=fo,jt.Element=Bi,jt.ForwardRef=ho,jt.Fragment=lo,jt.Lazy=bo,jt.Memo=mo,jt.Portal=zi,jt.Profiler=uo,jt.StrictMode=co,jt.Suspense=yo,jt.SuspenseList=go,jt.isContextConsumer=function(t){return be(t)===po},jt.isContextProvider=function(t){return be(t)===fo},jt.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===Bi},jt.isForwardRef=function(t){return be(t)===ho},jt.isFragment=function(t){return be(t)===lo},jt.isLazy=function(t){return be(t)===bo},jt.isMemo=function(t){return be(t)===mo},jt.isPortal=function(t){return be(t)===zi},jt.isProfiler=function(t){return be(t)===uo},jt.isStrictMode=function(t){return be(t)===co},jt.isSuspense=function(t){return be(t)===yo},jt.isSuspenseList=function(t){return be(t)===go},jt.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===lo||t===uo||t===co||t===yo||t===go||typeof t=="object"&&t!==null&&(t.$$typeof===bo||t.$$typeof===mo||t.$$typeof===fo||t.$$typeof===po||t.$$typeof===ho||t.$$typeof===ud||t.getModuleId!==void 0)},jt.typeOf=be,ba.exports=jt;var va=ba.exports;const pd=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function xa(t){const e=`${t}`.match(pd);return e&&e[1]||""}function Sa(t,e=""){return t.displayName||t.name||xa(t)||e}function wa(t,e,n){const i=Sa(e);return t.displayName||(i!==""?`${n}(${i})`:n)}function dd(t){if(t!=null){if(typeof t=="string")return t;if(typeof t=="function")return Sa(t,"Component");if(typeof t=="object")switch(t.$$typeof){case va.ForwardRef:return wa(t,t.render,"ForwardRef");case va.Memo:return wa(t,t.type,"memo");default:return}}}const fd=Object.freeze(Object.defineProperty({__proto__:null,default:dd,getFunctionName:xa},Symbol.toStringTag,{value:"Module"})),hd=["ownerState"],yd=["variants"],gd=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function md(t){return Object.keys(t).length===0}function bd(t){return typeof t=="string"&&t.charCodeAt(0)>96}function Ni(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const vd=mn(),xd=t=>t&&t.charAt(0).toLowerCase()+t.slice(1);function vo({defaultTheme:t,theme:e,themeId:n}){return md(e)?t:e[n]||e}function Sd(t){return t?(e,n)=>n[t]:null}function xo(t,e){let{ownerState:n}=e,i=nt(e,hd);const s=typeof t=="function"?t(k({ownerState:n},i)):t;if(Array.isArray(s))return s.flatMap(l=>xo(l,k({ownerState:n},i)));if(s&&typeof s=="object"&&Array.isArray(s.variants)){const{variants:l=[]}=s;let d=nt(s,yd);return l.forEach(f=>{let g=!0;typeof f.props=="function"?g=f.props(k({ownerState:n},i,n)):Object.keys(f.props).forEach(x=>{(n==null?void 0:n[x])!==f.props[x]&&i[x]!==f.props[x]&&(g=!1)}),g&&(Array.isArray(d)||(d=[d]),d.push(typeof f.style=="function"?f.style(k({ownerState:n},i,n)):f.style))}),d}return s}function wd(t={}){const{themeId:e,defaultTheme:n=vd,rootShouldForwardProp:i=Ni,slotShouldForwardProp:s=Ni}=t,l=c=>gn(k({},c,{theme:vo(k({},c,{defaultTheme:n,themeId:e}))}));return l.__mui_systemSx=!0,(c,d={})=>{na(c,L=>L.filter(U=>!(U!=null&&U.__mui_systemSx)));const{name:f,slot:g,skipVariantsResolver:x,skipSx:T,overridesResolver:m=Sd(xd(g))}=d,M=nt(d,gd),R=x!==void 0?x:g&&g!=="Root"&&g!=="root"||!1,E=T||!1;let A,h=Ni;g==="Root"||g==="root"?h=i:g?h=s:bd(c)&&(h=void 0);const $=$i(c,k({shouldForwardProp:h,label:A},M)),z=L=>typeof L=="function"&&L.__emotion_real!==L||Ge(L)?U=>xo(L,k({},U,{theme:vo({theme:U.theme,defaultTheme:n,themeId:e})})):L,D=(L,...U)=>{let C=z(L);const at=U?U.map(z):[];f&&m&&at.push(Y=>{const Z=vo(k({},Y,{defaultTheme:n,themeId:e}));if(!Z.components||!Z.components[f]||!Z.components[f].styleOverrides)return null;const N=Z.components[f].styleOverrides,Q={};return Object.entries(N).forEach(([dt,ft])=>{Q[dt]=xo(ft,k({},Y,{theme:Z}))}),m(Y,Q)}),f&&!R&&at.push(Y=>{var Z;const N=vo(k({},Y,{defaultTheme:n,themeId:e})),Q=N==null||(Z=N.components)==null||(Z=Z[f])==null?void 0:Z.variants;return xo({variants:Q},k({},Y,{theme:N}))}),E||at.push(l);const pt=at.length-U.length;if(Array.isArray(L)&&pt>0){const Y=new Array(pt).fill("");C=[...L,...Y],C.raw=[...L.raw,...Y]}const K=$(C,...at);return c.muiName&&(K.muiName=c.muiName),K};return $.withConfig&&(D.withConfig=$.withConfig),D}}const Cd=wd();function vn(t,e){const n=k({},e);return Object.keys(t).forEach(i=>{if(i.toString().match(/^(components|slots)$/))n[i]=k({},t[i],n[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){const s=t[i]||{},l=e[i];n[i]={},!l||!Object.keys(l)?n[i]=s:!s||!Object.keys(s)?n[i]=l:(n[i]=k({},l),Object.keys(s).forEach(c=>{n[i][c]=vn(s[c],l[c])}))}else n[i]===void 0&&(n[i]=t[i])}),n}function kd(t){const{theme:e,name:n,props:i}=t;return!e||!e.components||!e.components[n]||!e.components[n].defaultProps?i:vn(e.components[n].defaultProps,i)}function Rd({props:t,name:e,defaultTheme:n,themeId:i}){let s=ao(n);return i&&(s=s[i]||s),kd({theme:s,name:e,props:t})}const _i=typeof window<"u"?O.useLayoutEffect:O.useEffect;function Td(t,e=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(e,Math.min(t,n))}const Ed=Object.freeze(Object.defineProperty({__proto__:null,default:Td},Symbol.toStringTag,{value:"Module"}));function Ca(t,e=166){let n;function i(...s){const l=()=>{t.apply(this,s)};clearTimeout(n),n=setTimeout(l,e)}return i.clear=()=>{clearTimeout(n)},i}function jd(t,e){var n,i;return O.isValidElement(t)&&e.indexOf((n=t.type.muiName)!=null?n:(i=t.type)==null||(i=i._payload)==null||(i=i.value)==null?void 0:i.muiName)!==-1}function ka(t){return t&&t.ownerDocument||document}function Ra(t){return ka(t).defaultView||window}function $d(t,e){typeof t=="function"?t(e):t&&(t.current=e)}function cr(t){const e=O.useRef(t);return _i(()=>{e.current=t}),O.useRef((...n)=>(0,e.current)(...n)).current}function nr(...t){return O.useMemo(()=>t.every(e=>e==null)?null:e=>{t.forEach(n=>{$d(n,e)})},t)}const Ta={};function Md(t,e){const n=O.useRef(Ta);return n.current===Ta&&(n.current=t(e)),n}const Ad=[];function Pd(t){O.useEffect(t,Ad)}class So{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new So}start(e,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},e)}}function Ea(){const t=Md(So.create).current;return Pd(t.disposeEffect),t}let wo=!0,Fi=!1;const Od=new So,Id={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 Bd(t){const{type:e,tagName:n}=t;return!!(n==="INPUT"&&Id[e]&&!t.readOnly||n==="TEXTAREA"&&!t.readOnly||t.isContentEditable)}function zd(t){t.metaKey||t.altKey||t.ctrlKey||(wo=!0)}function Di(){wo=!1}function Nd(){this.visibilityState==="hidden"&&Fi&&(wo=!0)}function _d(t){t.addEventListener("keydown",zd,!0),t.addEventListener("mousedown",Di,!0),t.addEventListener("pointerdown",Di,!0),t.addEventListener("touchstart",Di,!0),t.addEventListener("visibilitychange",Nd,!0)}function Fd(t){const{target:e}=t;try{return e.matches(":focus-visible")}catch{}return wo||Bd(e)}function ja(){const t=O.useCallback(s=>{s!=null&&_d(s.ownerDocument)},[]),e=O.useRef(!1);function n(){return e.current?(Fi=!0,Od.start(100,()=>{Fi=!1}),e.current=!1,!0):!1}function i(s){return Fd(s)?(e.current=!0,!0):!1}return{isFocusVisibleRef:e,onFocus:i,onBlur:n,ref:t}}let Or;function $a(){if(Or)return Or;const t=document.createElement("div"),e=document.createElement("div");return e.style.width="10px",e.style.height="1px",t.appendChild(e),t.dir="rtl",t.style.fontSize="14px",t.style.width="4px",t.style.height="1px",t.style.position="absolute",t.style.top="-1000px",t.style.overflow="scroll",document.body.appendChild(t),Or="reverse",t.scrollLeft>0?Or="default":(t.scrollLeft=1,t.scrollLeft===0&&(Or="negative")),document.body.removeChild(t),Or}function Dd(t,e){const n=t.scrollLeft;if(e!=="rtl")return n;switch($a()){case"negative":return t.scrollWidth-t.clientWidth+n;case"reverse":return t.scrollWidth-t.clientWidth-n;default:return n}}function kt(t,e,n=void 0){const i={};return Object.keys(t).forEach(s=>{i[s]=t[s].reduce((l,c)=>{if(c){const d=e(c);d!==""&&l.push(d),n&&n[c]&&l.push(n[c])}return l},[]).join(" ")}),i}function Li(t){return typeof t=="string"}function Ma(t,e,n){return t===void 0||Li(t)?e:k({},e,{ownerState:k({},e.ownerState,n)})}function Ld(t,e=[]){if(t===void 0)return{};const n={};return Object.keys(t).filter(i=>i.match(/^on[A-Z]/)&&typeof t[i]=="function"&&!e.includes(i)).forEach(i=>{n[i]=t[i]}),n}function Aa(t){if(t===void 0)return{};const e={};return Object.keys(t).filter(n=>!(n.match(/^on[A-Z]/)&&typeof t[n]=="function")).forEach(n=>{e[n]=t[n]}),e}function Pa(t){const{getSlotProps:e,additionalProps:n,externalSlotProps:i,externalForwardedProps:s,className:l}=t;if(!e){const M=J(n==null?void 0:n.className,l,s==null?void 0:s.className,i==null?void 0:i.className),R=k({},n==null?void 0:n.style,s==null?void 0:s.style,i==null?void 0:i.style),E=k({},n,s,i);return M.length>0&&(E.className=M),Object.keys(R).length>0&&(E.style=R),{props:E,internalRef:void 0}}const c=Ld(k({},s,i)),d=Aa(i),f=Aa(s),g=e(c),x=J(g==null?void 0:g.className,n==null?void 0:n.className,l,s==null?void 0:s.className,i==null?void 0:i.className),T=k({},g==null?void 0:g.style,n==null?void 0:n.style,s==null?void 0:s.style,i==null?void 0:i.style),m=k({},g,n,f,d);return x.length>0&&(m.className=x),Object.keys(T).length>0&&(m.style=T),{props:m,internalRef:g.ref}}function Oa(t,e,n){return typeof t=="function"?t(e,n):t}const Wd=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Co(t){var e;const{elementType:n,externalSlotProps:i,ownerState:s,skipResolvingSlotProps:l=!1}=t,c=nt(t,Wd),d=l?{}:Oa(i,s),{props:f,internalRef:g}=Pa(k({},c,{externalSlotProps:d})),x=nr(g,d==null?void 0:d.ref,(e=t.additionalProps)==null?void 0:e.ref);return Ma(n,k({},f,{ref:x}),s)}const Ia=O.createContext(null);function Ba(){return O.useContext(Ia)}const Ud=typeof Symbol=="function"&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Vd(t,e){return typeof e=="function"?e(t):k({},t,e)}function Hd(t){const{children:e,theme:n}=t,i=Ba(),s=O.useMemo(()=>{const l=i===null?n:Vd(i,n);return l!=null&&(l[Ud]=i!==null),l},[n,i]);return B.jsx(Ia.Provider,{value:s,children:e})}const Gd=["value"],za=O.createContext();function Kd(t){let{value:e}=t,n=nt(t,Gd);return B.jsx(za.Provider,k({value:e??!0},n))}const Wi=()=>{const t=O.useContext(za);return t??!1},Na=O.createContext(void 0);function qd({value:t,children:e}){return B.jsx(Na.Provider,{value:t,children:e})}function Yd(t){const{theme:e,name:n,props:i}=t;if(!e||!e.components||!e.components[n])return i;const s=e.components[n];return s.defaultProps?vn(s.defaultProps,i):!s.styleOverrides&&!s.variants?vn(s,i):i}function Xd({props:t,name:e}){const n=O.useContext(Na);return Yd({props:t,name:e,theme:{components:n}})}const _a={};function Fa(t,e,n,i=!1){return O.useMemo(()=>{const s=t&&e[t]||e;if(typeof n=="function"){const l=n(s),c=t?k({},e,{[t]:l}):l;return i?()=>c:c}return t?k({},e,{[t]:n}):k({},e,n)},[t,e,n,i])}function Zd(t){const{children:e,theme:n,themeId:i}=t,s=ha(_a),l=Ba()||_a,c=Fa(i,s,n),d=Fa(i,l,n,!0),f=c.direction==="rtl";return B.jsx(Hd,{theme:d,children:B.jsx(Mr.Provider,{value:c,children:B.jsx(Kd,{value:f,children:B.jsx(qd,{value:c==null?void 0:c.components,children:e})})})})}const Jd=["component","direction","spacing","divider","children","className","useFlexGap"],Qd=mn(),tf=Cd("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,e)=>e.root});function ef(t){return Rd({props:t,name:"MuiStack",defaultTheme:Qd})}function rf(t,e){const n=O.Children.toArray(t).filter(Boolean);return n.reduce((i,s,l)=>(i.push(s),l<n.length-1&&i.push(O.cloneElement(e,{key:`separator-${l}`})),i),[])}const nf=t=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[t],of=({ownerState:t,theme:e})=>{let n=k({display:"flex",flexDirection:"column"},se({theme:e},ar({values:t.direction,breakpoints:e.breakpoints.values}),i=>({flexDirection:i})));if(t.spacing){const i=Oi(e),s=Object.keys(e.breakpoints.values).reduce((f,g)=>((typeof t.spacing=="object"&&t.spacing[g]!=null||typeof t.direction=="object"&&t.direction[g]!=null)&&(f[g]=!0),f),{}),l=ar({values:t.direction,base:s}),c=ar({values:t.spacing,base:s});typeof l=="object"&&Object.keys(l).forEach((f,g,x)=>{if(!l[f]){const m=g>0?l[x[g-1]]:"column";l[f]=m}}),n=ye(n,se({theme:e},c,(f,g)=>t.useFlexGap?{gap:lr(i,f)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${nf(g?l[g]:t.direction)}`]:lr(i,f)}}))}return n=up(e.breakpoints,n),n};function sf(t={}){const{createStyledComponent:e=tf,useThemeProps:n=ef,componentName:i="MuiStack"}=t,s=()=>kt({root:["root"]},f=>Ct(i,f),{}),l=e(of);return O.forwardRef(function(f,g){const x=n(f),T=bn(x),{component:m="div",direction:M="column",spacing:R=0,divider:E,children:A,className:h,useFlexGap:$=!1}=T,z=nt(T,Jd),D={direction:M,spacing:R,useFlexGap:$},L=s();return B.jsx(l,k({as:m,ownerState:D,ref:g,className:J(L.root,h)},z,{children:E?rf(A,E):A}))})}function af(t,e){return k({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},e)}var Wt={},Da={exports:{}};(function(t){function e(n){return n&&n.__esModule?n:{default:n}}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})(Da);var La=Da.exports;const lf=rr(Yc),cf=rr(Ed);var Wa=La;Object.defineProperty(Wt,"__esModule",{value:!0});var Tt=Wt.alpha=Ka;Wt.blend=xf,Wt.colorChannel=void 0;var xn=Wt.darken=Vi;Wt.decomposeColor=ve,Wt.emphasize=qa;var uf=Wt.getContrastRatio=yf;Wt.getLuminance=ko,Wt.hexToRgb=Va,Wt.hslToRgb=Ga;var Sn=Wt.lighten=Hi;Wt.private_safeAlpha=gf,Wt.private_safeColorChannel=void 0,Wt.private_safeDarken=mf,Wt.private_safeEmphasize=vf,Wt.private_safeLighten=bf,Wt.recomposeColor=Ir,Wt.rgbToHex=hf;var Ua=Wa(lf),pf=Wa(cf);function Ui(t,e=0,n=1){return(0,pf.default)(t,e,n)}function Va(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let n=t.match(e);return n&&n[0].length===1&&(n=n.map(i=>i+i)),n?`rgb${n.length===4?"a":""}(${n.map((i,s)=>s<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function df(t){const e=t.toString(16);return e.length===1?`0${e}`:e}function ve(t){if(t.type)return t;if(t.charAt(0)==="#")return ve(Va(t));const e=t.indexOf("("),n=t.substring(0,e);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,Ua.default)(9,t));let i=t.substring(e+1,t.length-1),s;if(n==="color"){if(i=i.split(" "),s=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(s)===-1)throw new Error((0,Ua.default)(10,s))}else i=i.split(",");return i=i.map(l=>parseFloat(l)),{type:n,values:i,colorSpace:s}}const Ha=t=>{const e=ve(t);return e.values.slice(0,3).map((n,i)=>e.type.indexOf("hsl")!==-1&&i!==0?`${n}%`:n).join(" ")};Wt.colorChannel=Ha;const ff=(t,e)=>{try{return Ha(t)}catch{return t}};Wt.private_safeColorChannel=ff;function Ir(t){const{type:e,colorSpace:n}=t;let{values:i}=t;return e.indexOf("rgb")!==-1?i=i.map((s,l)=>l<3?parseInt(s,10):s):e.indexOf("hsl")!==-1&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),e.indexOf("color")!==-1?i=`${n} ${i.join(" ")}`:i=`${i.join(", ")}`,`${e}(${i})`}function hf(t){if(t.indexOf("#")===0)return t;const{values:e}=ve(t);return`#${e.map((n,i)=>df(i===3?Math.round(255*n):n)).join("")}`}function Ga(t){t=ve(t);const{values:e}=t,n=e[0],i=e[1]/100,s=e[2]/100,l=i*Math.min(s,1-s),c=(g,x=(g+n/30)%12)=>s-l*Math.max(Math.min(x-3,9-x,1),-1);let d="rgb";const f=[Math.round(c(0)*255),Math.round(c(8)*255),Math.round(c(4)*255)];return t.type==="hsla"&&(d+="a",f.push(e[3])),Ir({type:d,values:f})}function ko(t){t=ve(t);let e=t.type==="hsl"||t.type==="hsla"?ve(Ga(t)).values:t.values;return e=e.map(n=>(t.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function yf(t,e){const n=ko(t),i=ko(e);return(Math.max(n,i)+.05)/(Math.min(n,i)+.05)}function Ka(t,e){return t=ve(t),e=Ui(e),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${e}`:t.values[3]=e,Ir(t)}function gf(t,e,n){try{return Ka(t,e)}catch{return t}}function Vi(t,e){if(t=ve(t),e=Ui(e),t.type.indexOf("hsl")!==-1)t.values[2]*=1-e;else if(t.type.indexOf("rgb")!==-1||t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]*=1-e;return Ir(t)}function mf(t,e,n){try{return Vi(t,e)}catch{return t}}function Hi(t,e){if(t=ve(t),e=Ui(e),t.type.indexOf("hsl")!==-1)t.values[2]+=(100-t.values[2])*e;else if(t.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return Ir(t)}function bf(t,e,n){try{return Hi(t,e)}catch{return t}}function qa(t,e=.15){return ko(t)>.5?Vi(t,e):Hi(t,e)}function vf(t,e,n){try{return qa(t,e)}catch{return t}}function xf(t,e,n,i=1){const s=(f,g)=>Math.round((f**(1/i)*(1-n)+g**(1/i)*n)**i),l=ve(t),c=ve(e),d=[s(l.values[0],c.values[0]),s(l.values[1],c.values[1]),s(l.values[2],c.values[2])];return Ir({type:"rgb",values:d})}const Sf=["mode","contrastThreshold","tonalOffset"],Ya={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:nn.white,default:nn.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}},Gi={text:{primary:nn.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:nn.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 Xa(t,e,n,i){const s=i.light||i,l=i.dark||i*1.5;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:e==="light"?t.light=Sn(t.main,s):e==="dark"&&(t.dark=xn(t.main,l)))}function wf(t="light"){return t==="dark"?{main:Cr[200],light:Cr[50],dark:Cr[400]}:{main:Cr[700],light:Cr[400],dark:Cr[800]}}function Cf(t="light"){return t==="dark"?{main:wr[200],light:wr[50],dark:wr[400]}:{main:wr[500],light:wr[300],dark:wr[700]}}function kf(t="light"){return t==="dark"?{main:Sr[500],light:Sr[300],dark:Sr[700]}:{main:Sr[700],light:Sr[400],dark:Sr[800]}}function Rf(t="light"){return t==="dark"?{main:kr[400],light:kr[300],dark:kr[700]}:{main:kr[700],light:kr[500],dark:kr[900]}}function Tf(t="light"){return t==="dark"?{main:Rr[400],light:Rr[300],dark:Rr[700]}:{main:Rr[800],light:Rr[500],dark:Rr[900]}}function Ef(t="light"){return t==="dark"?{main:on[400],light:on[300],dark:on[700]}:{main:"#ed6c02",light:on[500],dark:on[900]}}function jf(t){const{mode:e="light",contrastThreshold:n=3,tonalOffset:i=.2}=t,s=nt(t,Sf),l=t.primary||wf(e),c=t.secondary||Cf(e),d=t.error||kf(e),f=t.info||Rf(e),g=t.success||Tf(e),x=t.warning||Ef(e);function T(E){return uf(E,Gi.text.primary)>=n?Gi.text.primary:Ya.text.primary}const m=({color:E,name:A,mainShade:h=500,lightShade:$=300,darkShade:z=700})=>{if(E=k({},E),!E.main&&E[h]&&(E.main=E[h]),!E.hasOwnProperty("main"))throw new Error(sn(11,A?` (${A})`:"",h));if(typeof E.main!="string")throw new Error(sn(12,A?` (${A})`:"",JSON.stringify(E.main)));return Xa(E,"light",$,i),Xa(E,"dark",z,i),E.contrastText||(E.contrastText=T(E.main)),E},M={dark:Gi,light:Ya};return ye(k({common:k({},nn),mode:e,primary:m({color:l,name:"primary"}),secondary:m({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:d,name:"error"}),warning:m({color:x,name:"warning"}),info:m({color:f,name:"info"}),success:m({color:g,name:"success"}),grey:qc,contrastThreshold:n,getContrastText:T,augmentColor:m,tonalOffset:i},M[e]),s)}const $f=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Mf(t){return Math.round(t*1e5)/1e5}const Za={textTransform:"uppercase"},Ja='"Roboto", "Helvetica", "Arial", sans-serif';function Af(t,e){const n=typeof e=="function"?e(t):e,{fontFamily:i=Ja,fontSize:s=14,fontWeightLight:l=300,fontWeightRegular:c=400,fontWeightMedium:d=500,fontWeightBold:f=700,htmlFontSize:g=16,allVariants:x,pxToRem:T}=n,m=nt(n,$f),M=s/14,R=T||(h=>`${h/g*M}rem`),E=(h,$,z,D,L)=>k({fontFamily:i,fontWeight:h,fontSize:R($),lineHeight:z},i===Ja?{letterSpacing:`${Mf(D/$)}em`}:{},L,x),A={h1:E(l,96,1.167,-1.5),h2:E(l,60,1.2,-.5),h3:E(c,48,1.167,0),h4:E(c,34,1.235,.25),h5:E(c,24,1.334,0),h6:E(d,20,1.6,.15),subtitle1:E(c,16,1.75,.15),subtitle2:E(d,14,1.57,.1),body1:E(c,16,1.5,.15),body2:E(c,14,1.43,.15),button:E(d,14,1.75,.4,Za),caption:E(c,12,1.66,.4),overline:E(c,12,2.66,1,Za),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return ye(k({htmlFontSize:g,pxToRem:R,fontFamily:i,fontSize:s,fontWeightLight:l,fontWeightRegular:c,fontWeightMedium:d,fontWeightBold:f},A),m,{clone:!1})}const Pf=.2,Of=.14,If=.12;function Pt(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${Pf})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${Of})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${If})`].join(",")}const Bf=["none",Pt(0,2,1,-1,0,1,1,0,0,1,3,0),Pt(0,3,1,-2,0,2,2,0,0,1,5,0),Pt(0,3,3,-2,0,3,4,0,0,1,8,0),Pt(0,2,4,-1,0,4,5,0,0,1,10,0),Pt(0,3,5,-1,0,5,8,0,0,1,14,0),Pt(0,3,5,-1,0,6,10,0,0,1,18,0),Pt(0,4,5,-2,0,7,10,1,0,2,16,1),Pt(0,5,5,-3,0,8,10,1,0,3,14,2),Pt(0,5,6,-3,0,9,12,1,0,3,16,2),Pt(0,6,6,-3,0,10,14,1,0,4,18,3),Pt(0,6,7,-4,0,11,15,1,0,4,20,3),Pt(0,7,8,-4,0,12,17,2,0,5,22,4),Pt(0,7,8,-4,0,13,19,2,0,5,24,4),Pt(0,7,9,-4,0,14,21,2,0,5,26,4),Pt(0,8,9,-5,0,15,22,2,0,6,28,5),Pt(0,8,10,-5,0,16,24,2,0,6,30,5),Pt(0,8,11,-5,0,17,26,2,0,6,32,5),Pt(0,9,11,-5,0,18,28,2,0,7,34,6),Pt(0,9,12,-6,0,19,29,2,0,7,36,6),Pt(0,10,13,-6,0,20,31,3,0,8,38,7),Pt(0,10,13,-6,0,21,33,3,0,8,40,7),Pt(0,10,14,-6,0,22,35,3,0,8,42,7),Pt(0,11,14,-7,0,23,36,3,0,9,44,8),Pt(0,11,15,-7,0,24,38,3,0,9,46,8)],zf=["duration","easing","delay"],Nf={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)"},Qa={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function tl(t){return`${Math.round(t)}ms`}function _f(t){if(!t)return 0;const e=t/36;return Math.round((4+15*e**.25+e/5)*10)}function Ff(t){const e=k({},Nf,t.easing),n=k({},Qa,t.duration);return k({getAutoHeightDuration:_f,create:(s=["all"],l={})=>{const{duration:c=n.standard,easing:d=e.easeInOut,delay:f=0}=l;return nt(l,zf),(Array.isArray(s)?s:[s]).map(g=>`${g} ${typeof c=="string"?c:tl(c)} ${d} ${typeof f=="string"?f:tl(f)}`).join(",")}},t,{easing:e,duration:n})}const Df={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Lf=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function el(t={},...e){const{mixins:n={},palette:i={},transitions:s={},typography:l={}}=t,c=nt(t,Lf);if(t.vars&&t.generateCssVars===void 0)throw new Error(sn(18));const d=jf(i),f=mn(t);let g=ye(f,{mixins:af(f.breakpoints,n),palette:d,shadows:Bf.slice(),typography:Af(d,l),transitions:Ff(s),zIndex:k({},Df)});return g=ye(g,c),g=e.reduce((x,T)=>ye(x,T),g),g.unstable_sxConfig=k({},yn,c==null?void 0:c.unstable_sxConfig),g.unstable_sx=function(T){return gn({sx:T,theme:this})},g}const Ki=el();function qi(){const t=ao(Ki);return t[Tr]||t}var wn={},Yi={exports:{}},rl;function Wf(){return rl||(rl=1,function(t){function e(n,i){if(n==null)return{};var s={};for(var l in n)if({}.hasOwnProperty.call(n,l)){if(i.indexOf(l)!==-1)continue;s[l]=n[l]}return s}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(Yi)),Yi.exports}const Uf=rr(ip),Vf=rr(sp),Hf=rr(dp),Gf=rr(fd),Kf=rr(Qp),qf=rr(id);var Br=La;Object.defineProperty(wn,"__esModule",{value:!0});var Yf=wn.default=lh;wn.shouldForwardProp=Ro,wn.systemDefaultTheme=void 0;var xe=Br(Js()),Xi=Br(Wf()),nl=rh(Uf),Xf=Vf;Br(Hf),Br(Gf);var Zf=Br(Kf),Jf=Br(qf);const Qf=["ownerState"],th=["variants"],eh=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function ol(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(ol=function(i){return i?n:e})(t)}function rh(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var n=ol(e);if(n&&n.has(t))return n.get(t);var i={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if(l!=="default"&&Object.prototype.hasOwnProperty.call(t,l)){var c=s?Object.getOwnPropertyDescriptor(t,l):null;c&&(c.get||c.set)?Object.defineProperty(i,l,c):i[l]=t[l]}return i.default=t,n&&n.set(t,i),i}function nh(t){return Object.keys(t).length===0}function oh(t){return typeof t=="string"&&t.charCodeAt(0)>96}function Ro(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const ih=wn.systemDefaultTheme=(0,Zf.default)(),sh=t=>t&&t.charAt(0).toLowerCase()+t.slice(1);function To({defaultTheme:t,theme:e,themeId:n}){return nh(e)?t:e[n]||e}function ah(t){return t?(e,n)=>n[t]:null}function Eo(t,e){let{ownerState:n}=e,i=(0,Xi.default)(e,Qf);const s=typeof t=="function"?t((0,xe.default)({ownerState:n},i)):t;if(Array.isArray(s))return s.flatMap(l=>Eo(l,(0,xe.default)({ownerState:n},i)));if(s&&typeof s=="object"&&Array.isArray(s.variants)){const{variants:l=[]}=s;let d=(0,Xi.default)(s,th);return l.forEach(f=>{let g=!0;typeof f.props=="function"?g=f.props((0,xe.default)({ownerState:n},i,n)):Object.keys(f.props).forEach(x=>{(n==null?void 0:n[x])!==f.props[x]&&i[x]!==f.props[x]&&(g=!1)}),g&&(Array.isArray(d)||(d=[d]),d.push(typeof f.style=="function"?f.style((0,xe.default)({ownerState:n},i,n)):f.style))}),d}return s}function lh(t={}){const{themeId:e,defaultTheme:n=ih,rootShouldForwardProp:i=Ro,slotShouldForwardProp:s=Ro}=t,l=c=>(0,Jf.default)((0,xe.default)({},c,{theme:To((0,xe.default)({},c,{defaultTheme:n,themeId:e}))}));return l.__mui_systemSx=!0,(c,d={})=>{(0,nl.internal_processStyles)(c,L=>L.filter(U=>!(U!=null&&U.__mui_systemSx)));const{name:f,slot:g,skipVariantsResolver:x,skipSx:T,overridesResolver:m=ah(sh(g))}=d,M=(0,Xi.default)(d,eh),R=x!==void 0?x:g&&g!=="Root"&&g!=="root"||!1,E=T||!1;let A,h=Ro;g==="Root"||g==="root"?h=i:g?h=s:oh(c)&&(h=void 0);const $=(0,nl.default)(c,(0,xe.default)({shouldForwardProp:h,label:A},M)),z=L=>typeof L=="function"&&L.__emotion_real!==L||(0,Xf.isPlainObject)(L)?U=>Eo(L,(0,xe.default)({},U,{theme:To({theme:U.theme,defaultTheme:n,themeId:e})})):L,D=(L,...U)=>{let C=z(L);const at=U?U.map(z):[];f&&m&&at.push(Y=>{const Z=To((0,xe.default)({},Y,{defaultTheme:n,themeId:e}));if(!Z.components||!Z.components[f]||!Z.components[f].styleOverrides)return null;const N=Z.components[f].styleOverrides,Q={};return Object.entries(N).forEach(([dt,ft])=>{Q[dt]=Eo(ft,(0,xe.default)({},Y,{theme:Z}))}),m(Y,Q)}),f&&!R&&at.push(Y=>{var Z;const N=To((0,xe.default)({},Y,{defaultTheme:n,themeId:e})),Q=N==null||(Z=N.components)==null||(Z=Z[f])==null?void 0:Z.variants;return Eo({variants:Q},(0,xe.default)({},Y,{theme:N}))}),E||at.push(l);const pt=at.length-U.length;if(Array.isArray(L)&&pt>0){const Y=new Array(pt).fill("");C=[...L,...Y],C.raw=[...L.raw,...Y]}const K=$(C,...at);return c.muiName&&(K.muiName=c.muiName),K};return $.withConfig&&(D.withConfig=$.withConfig),D}}function ch(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const il=t=>ch(t)&&t!=="classes",st=Yf({themeId:Tr,defaultTheme:Ki,rootShouldForwardProp:il}),uh=["theme"];function ph(t){let{theme:e}=t,n=nt(t,uh);const i=e[Tr];let s=i||e;return typeof e!="function"&&(i&&!i.vars?s=k({},i,{vars:null}):e&&!e.vars&&(s=k({},e,{vars:null}))),B.jsx(Zd,k({},n,{themeId:i?Tr:void 0,theme:s}))}const sl=t=>{let e;return t<1?e=5.11916*t**2:e=4.5*Math.log(t+1)+2,(e/100).toFixed(2)};function vt(t){return Xd(t)}function dh(t){return Ct("MuiSvgIcon",t)}bt("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const fh=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],hh=t=>{const{color:e,fontSize:n,classes:i}=t,s={root:["root",e!=="inherit"&&`color${H(e)}`,`fontSize${H(n)}`]};return kt(s,dh,i)},yh=st("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.color!=="inherit"&&e[`color${H(n.color)}`],e[`fontSize${H(n.fontSize)}`]]}})(({theme:t,ownerState:e})=>{var n,i,s,l,c,d,f,g,x,T,m,M,R;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:e.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=t.transitions)==null||(i=n.create)==null?void 0:i.call(n,"fill",{duration:(s=t.transitions)==null||(s=s.duration)==null?void 0:s.shorter}),fontSize:{inherit:"inherit",small:((l=t.typography)==null||(c=l.pxToRem)==null?void 0:c.call(l,20))||"1.25rem",medium:((d=t.typography)==null||(f=d.pxToRem)==null?void 0:f.call(d,24))||"1.5rem",large:((g=t.typography)==null||(x=g.pxToRem)==null?void 0:x.call(g,35))||"2.1875rem"}[e.fontSize],color:(T=(m=(t.vars||t).palette)==null||(m=m[e.color])==null?void 0:m.main)!=null?T:{action:(M=(t.vars||t).palette)==null||(M=M.action)==null?void 0:M.active,disabled:(R=(t.vars||t).palette)==null||(R=R.action)==null?void 0:R.disabled,inherit:void 0}[e.color]}}),al=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiSvgIcon"}),{children:s,className:l,color:c="inherit",component:d="svg",fontSize:f="medium",htmlColor:g,inheritViewBox:x=!1,titleAccess:T,viewBox:m="0 0 24 24"}=i,M=nt(i,fh),R=O.isValidElement(s)&&s.type==="svg",E=k({},i,{color:c,component:d,fontSize:f,instanceFontSize:e.fontSize,inheritViewBox:x,viewBox:m,hasSvgAsChild:R}),A={};x||(A.viewBox=m);const h=hh(E);return B.jsxs(yh,k({as:d,className:J(h.root,l),focusable:"false",color:g,"aria-hidden":T?void 0:!0,role:T?"img":void 0,ref:n},A,M,R&&s.props,{ownerState:E,children:[R?s.props.children:s,T?B.jsx("title",{children:T}):null]}))});al.muiName="SvgIcon";const ll=al;function Mt(t,e){function n(i,s){return B.jsx(ll,k({"data-testid":`${e}Icon`,ref:s},i,{children:t}))}return n.muiName=ll.muiName,O.memo(O.forwardRef(n))}function Zi(t,e){return Zi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Zi(t,e)}function cl(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Zi(t,e)}const ul={disabled:!1},jo=mt.createContext(null);var gh=function(e){return e.scrollTop},Cn="unmounted",ur="exited",pr="entering",zr="entered",Ji="exiting",Ke=function(t){cl(e,t);function e(i,s){var l;l=t.call(this,i,s)||this;var c=s,d=c&&!c.isMounting?i.enter:i.appear,f;return l.appearStatus=null,i.in?d?(f=ur,l.appearStatus=pr):f=zr:i.unmountOnExit||i.mountOnEnter?f=Cn:f=ur,l.state={status:f},l.nextCallback=null,l}e.getDerivedStateFromProps=function(s,l){var c=s.in;return c&&l.status===Cn?{status:ur}:null};var n=e.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(s){var l=null;if(s!==this.props){var c=this.state.status;this.props.in?c!==pr&&c!==zr&&(l=pr):(c===pr||c===zr)&&(l=Ji)}this.updateStatus(!1,l)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var s=this.props.timeout,l,c,d;return l=c=d=s,s!=null&&typeof s!="number"&&(l=s.exit,c=s.enter,d=s.appear!==void 0?s.appear:c),{exit:l,enter:c,appear:d}},n.updateStatus=function(s,l){if(s===void 0&&(s=!1),l!==null)if(this.cancelNextCallback(),l===pr){if(this.props.unmountOnExit||this.props.mountOnEnter){var c=this.props.nodeRef?this.props.nodeRef.current:rn.findDOMNode(this);c&&gh(c)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ur&&this.setState({status:Cn})},n.performEnter=function(s){var l=this,c=this.props.enter,d=this.context?this.context.isMounting:s,f=this.props.nodeRef?[d]:[rn.findDOMNode(this),d],g=f[0],x=f[1],T=this.getTimeouts(),m=d?T.appear:T.enter;if(!s&&!c||ul.disabled){this.safeSetState({status:zr},function(){l.props.onEntered(g)});return}this.props.onEnter(g,x),this.safeSetState({status:pr},function(){l.props.onEntering(g,x),l.onTransitionEnd(m,function(){l.safeSetState({status:zr},function(){l.props.onEntered(g,x)})})})},n.performExit=function(){var s=this,l=this.props.exit,c=this.getTimeouts(),d=this.props.nodeRef?void 0:rn.findDOMNode(this);if(!l||ul.disabled){this.safeSetState({status:ur},function(){s.props.onExited(d)});return}this.props.onExit(d),this.safeSetState({status:Ji},function(){s.props.onExiting(d),s.onTransitionEnd(c.exit,function(){s.safeSetState({status:ur},function(){s.props.onExited(d)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(s,l){l=this.setNextCallback(l),this.setState(s,l)},n.setNextCallback=function(s){var l=this,c=!0;return this.nextCallback=function(d){c&&(c=!1,l.nextCallback=null,s(d))},this.nextCallback.cancel=function(){c=!1},this.nextCallback},n.onTransitionEnd=function(s,l){this.setNextCallback(l);var c=this.props.nodeRef?this.props.nodeRef.current:rn.findDOMNode(this),d=s==null&&!this.props.addEndListener;if(!c||d){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var f=this.props.nodeRef?[this.nextCallback]:[c,this.nextCallback],g=f[0],x=f[1];this.props.addEndListener(g,x)}s!=null&&setTimeout(this.nextCallback,s)},n.render=function(){var s=this.state.status;if(s===Cn)return null;var l=this.props,c=l.children;l.in,l.mountOnEnter,l.unmountOnExit,l.appear,l.enter,l.exit,l.timeout,l.addEndListener,l.onEnter,l.onEntering,l.onEntered,l.onExit,l.onExiting,l.onExited,l.nodeRef;var d=nt(l,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return mt.createElement(jo.Provider,{value:null},typeof c=="function"?c(s,d):mt.cloneElement(mt.Children.only(c),d))},e}(mt.Component);Ke.contextType=jo,Ke.propTypes={};function Nr(){}Ke.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Nr,onEntering:Nr,onEntered:Nr,onExit:Nr,onExiting:Nr,onExited:Nr},Ke.UNMOUNTED=Cn,Ke.EXITED=ur,Ke.ENTERING=pr,Ke.ENTERED=zr,Ke.EXITING=Ji;const mh=Ke;function bh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Qi(t,e){var n=function(l){return e&&mt.isValidElement(l)?e(l):l},i=Object.create(null);return t&&mt.Children.map(t,function(s){return s}).forEach(function(s){i[s.key]=n(s)}),i}function vh(t,e){t=t||{},e=e||{};function n(x){return x in e?e[x]:t[x]}var i=Object.create(null),s=[];for(var l in t)l in e?s.length&&(i[l]=s,s=[]):s.push(l);var c,d={};for(var f in e){if(i[f])for(c=0;c<i[f].length;c++){var g=i[f][c];d[i[f][c]]=n(g)}d[f]=n(f)}for(c=0;c<s.length;c++)d[s[c]]=n(s[c]);return d}function dr(t,e,n){return n[e]!=null?n[e]:t.props[e]}function xh(t,e){return Qi(t.children,function(n){return mt.cloneElement(n,{onExited:e.bind(null,n),in:!0,appear:dr(n,"appear",t),enter:dr(n,"enter",t),exit:dr(n,"exit",t)})})}function Sh(t,e,n){var i=Qi(t.children),s=vh(e,i);return Object.keys(s).forEach(function(l){var c=s[l];if(mt.isValidElement(c)){var d=l in e,f=l in i,g=e[l],x=mt.isValidElement(g)&&!g.props.in;f&&(!d||x)?s[l]=mt.cloneElement(c,{onExited:n.bind(null,c),in:!0,exit:dr(c,"exit",t),enter:dr(c,"enter",t)}):!f&&d&&!x?s[l]=mt.cloneElement(c,{in:!1}):f&&d&&mt.isValidElement(g)&&(s[l]=mt.cloneElement(c,{onExited:n.bind(null,c),in:g.props.in,exit:dr(c,"exit",t),enter:dr(c,"enter",t)}))}}),s}var wh=Object.values||function(t){return Object.keys(t).map(function(e){return t[e]})},Ch={component:"div",childFactory:function(e){return e}},ts=function(t){cl(e,t);function e(i,s){var l;l=t.call(this,i,s)||this;var c=l.handleExited.bind(bh(l));return l.state={contextValue:{isMounting:!0},handleExited:c,firstRender:!0},l}var n=e.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(s,l){var c=l.children,d=l.handleExited,f=l.firstRender;return{children:f?xh(s,d):Sh(s,c,d),firstRender:!1}},n.handleExited=function(s,l){var c=Qi(this.props.children);s.key in c||(s.props.onExited&&s.props.onExited(l),this.mounted&&this.setState(function(d){var f=k({},d.children);return delete f[s.key],{children:f}}))},n.render=function(){var s=this.props,l=s.component,c=s.childFactory,d=nt(s,["component","childFactory"]),f=this.state.contextValue,g=wh(this.state.children).map(c);return delete d.appear,delete d.enter,delete d.exit,l===null?mt.createElement(jo.Provider,{value:f},g):mt.createElement(jo.Provider,{value:f},mt.createElement(l,d,g))},e}(mt.Component);ts.propTypes={},ts.defaultProps=Ch;const kh=ts;function pl(t,e){var n,i;const{timeout:s,easing:l,style:c={}}=t;return{duration:(n=c.transitionDuration)!=null?n:typeof s=="number"?s:s[e.mode]||0,easing:(i=c.transitionTimingFunction)!=null?i:typeof l=="object"?l[e.mode]:l,delay:c.transitionDelay}}function Rh(t){return Ct("MuiCollapse",t)}bt("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const Th=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],Eh=t=>{const{orientation:e,classes:n}=t,i={root:["root",`${e}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${e}`],wrapperInner:["wrapperInner",`${e}`]};return kt(i,Rh,n)},jh=st("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.orientation],n.state==="entered"&&e.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&e.hidden]}})(({theme:t,ownerState:e})=>k({height:0,overflow:"hidden",transition:t.transitions.create("height")},e.orientation==="horizontal"&&{height:"auto",width:0,transition:t.transitions.create("width")},e.state==="entered"&&k({height:"auto",overflow:"visible"},e.orientation==="horizontal"&&{width:"auto"}),e.state==="exited"&&!e.in&&e.collapsedSize==="0px"&&{visibility:"hidden"})),$h=st("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(t,e)=>e.wrapper})(({ownerState:t})=>k({display:"flex",width:"100%"},t.orientation==="horizontal"&&{width:"auto",height:"100%"})),Mh=st("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(t,e)=>e.wrapperInner})(({ownerState:t})=>k({width:"100%"},t.orientation==="horizontal"&&{width:"auto",height:"100%"})),dl=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiCollapse"}),{addEndListener:s,children:l,className:c,collapsedSize:d="0px",component:f,easing:g,in:x,onEnter:T,onEntered:m,onEntering:M,onExit:R,onExited:E,onExiting:A,orientation:h="vertical",style:$,timeout:z=Qa.standard,TransitionComponent:D=mh}=i,L=nt(i,Th),U=k({},i,{orientation:h,collapsedSize:d}),C=Eh(U),at=qi(),pt=Ea(),K=O.useRef(null),Y=O.useRef(),Z=typeof d=="number"?`${d}px`:d,N=h==="horizontal",Q=N?"width":"height",dt=O.useRef(null),ft=nr(n,dt),Et=lt=>G=>{if(lt){const u=dt.current;G===void 0?lt(u):lt(u,G)}},gt=()=>K.current?K.current[N?"clientWidth":"clientHeight"]:0,ht=Et((lt,G)=>{K.current&&N&&(K.current.style.position="absolute"),lt.style[Q]=Z,T&&T(lt,G)}),$t=Et((lt,G)=>{const u=gt();K.current&&N&&(K.current.style.position="");const{duration:w,easing:V}=pl({style:$,timeout:z,easing:g},{mode:"enter"});if(z==="auto"){const Xe=at.transitions.getAutoHeightDuration(u);lt.style.transitionDuration=`${Xe}ms`,Y.current=Xe}else lt.style.transitionDuration=typeof w=="string"?w:`${w}ms`;lt.style[Q]=`${u}px`,lt.style.transitionTimingFunction=V,M&&M(lt,G)}),At=Et((lt,G)=>{lt.style[Q]="auto",m&&m(lt,G)}),pe=Et(lt=>{lt.style[Q]=`${gt()}px`,R&&R(lt)}),_e=Et(E),Ht=Et(lt=>{const G=gt(),{duration:u,easing:w}=pl({style:$,timeout:z,easing:g},{mode:"exit"});if(z==="auto"){const V=at.transitions.getAutoHeightDuration(G);lt.style.transitionDuration=`${V}ms`,Y.current=V}else lt.style.transitionDuration=typeof u=="string"?u:`${u}ms`;lt.style[Q]=Z,lt.style.transitionTimingFunction=w,A&&A(lt)}),je=lt=>{z==="auto"&&pt.start(Y.current||0,lt),s&&s(dt.current,lt)};return B.jsx(D,k({in:x,onEnter:ht,onEntered:At,onEntering:$t,onExit:pe,onExited:_e,onExiting:Ht,addEndListener:je,nodeRef:dt,timeout:z==="auto"?null:z},L,{children:(lt,G)=>B.jsx(jh,k({as:f,className:J(C.root,c,{entered:C.entered,exited:!x&&Z==="0px"&&C.hidden}[lt]),style:k({[N?"minWidth":"minHeight"]:Z},$),ref:ft},G,{ownerState:k({},U,{state:lt}),children:B.jsx($h,{ownerState:k({},U,{state:lt}),className:C.wrapper,ref:K,children:B.jsx(Mh,{ownerState:k({},U,{state:lt}),className:C.wrapperInner,children:l})})}))}))});dl.muiSupportAuto=!0;const Ah=dl;function Ph(t){return Ct("MuiPaper",t)}bt("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Oh=["className","component","elevation","square","variant"],Ih=t=>{const{square:e,elevation:n,variant:i,classes:s}=t,l={root:["root",i,!e&&"rounded",i==="elevation"&&`elevation${n}`]};return kt(l,Ph,s)},Bh=st("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],!n.square&&e.rounded,n.variant==="elevation"&&e[`elevation${n.elevation}`]]}})(({theme:t,ownerState:e})=>{var n;return k({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow")},!e.square&&{borderRadius:t.shape.borderRadius},e.variant==="outlined"&&{border:`1px solid ${(t.vars||t).palette.divider}`},e.variant==="elevation"&&k({boxShadow:(t.vars||t).shadows[e.elevation]},!t.vars&&t.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Tt("#fff",sl(e.elevation))}, ${Tt("#fff",sl(e.elevation))})`},t.vars&&{backgroundImage:(n=t.vars.overlays)==null?void 0:n[e.elevation]}))}),$o=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiPaper"}),{className:s,component:l="div",elevation:c=1,square:d=!1,variant:f="elevation"}=i,g=nt(i,Oh),x=k({},i,{component:l,elevation:c,square:d,variant:f}),T=Ih(x);return B.jsx(Bh,k({as:l,ownerState:x,className:J(T.root,s),ref:n},g))}),zh=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],Nh=["component","slots","slotProps"],_h=["component"];function fl(t,e){const{className:n,elementType:i,ownerState:s,externalForwardedProps:l,getSlotOwnerState:c,internalForwardedProps:d}=e,f=nt(e,zh),{component:g,slots:x={[t]:void 0},slotProps:T={[t]:void 0}}=l,m=nt(l,Nh),M=x[t]||i,R=Oa(T[t],s),E=Pa(k({className:n},f,{externalForwardedProps:t==="root"?m:void 0,externalSlotProps:R})),{props:{component:A},internalRef:h}=E,$=nt(E.props,_h),z=nr(h,R==null?void 0:R.ref,e.ref),D=c?c($):{},L=k({},s,D),U=t==="root"?A||g:A,C=Ma(M,k({},t==="root"&&!g&&!x[t]&&d,t!=="root"&&!x[t]&&d,$,U&&{as:U},{ref:z}),L);return Object.keys(D).forEach(at=>{delete C[at]}),[M,C]}function Fh(t){const{className:e,classes:n,pulsate:i=!1,rippleX:s,rippleY:l,rippleSize:c,in:d,onExited:f,timeout:g}=t,[x,T]=O.useState(!1),m=J(e,n.ripple,n.rippleVisible,i&&n.ripplePulsate),M={width:c,height:c,top:-(c/2)+l,left:-(c/2)+s},R=J(n.child,x&&n.childLeaving,i&&n.childPulsate);return!d&&!x&&T(!0),O.useEffect(()=>{if(!d&&f!=null){const E=setTimeout(f,g);return()=>{clearTimeout(E)}}},[f,d,g]),B.jsx("span",{className:m,style:M,children:B.jsx("span",{className:R})})}const Se=bt("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Dh=["center","classes","className"];let Mo=t=>t,hl,yl,gl,ml;const es=550,Lh=80,Wh=sr(hl||(hl=Mo`30 */var Os=Symbol.for("react.transitional.element"),Is=Symbol.for("react.portal"),Jo=Symbol.for("react.fragment"),Zo=Symbol.for("react.strict_mode"),Qo=Symbol.for("react.profiler"),ti=Symbol.for("react.consumer"),ei=Symbol.for("react.context"),ri=Symbol.for("react.forward_ref"),ni=Symbol.for("react.suspense"),oi=Symbol.for("react.suspense_list"),ii=Symbol.for("react.memo"),si=Symbol.for("react.lazy"),Nf=Symbol.for("react.view_transition"),_f=Symbol.for("react.client.reference");function Ve(t){if(typeof t=="object"&&t!==null){var e=t.$$typeof;switch(e){case Os:switch(t=t.type,t){case Jo:case Qo:case Zo:case ni:case oi:case Nf:return t;default:switch(t=t&&t.$$typeof,t){case ei:case ri:case si:case ii:return t;case ti:return t;default:return e}}case Is:return e}}}Bt.ContextConsumer=ti,Bt.ContextProvider=ei,Bt.Element=Os,Bt.ForwardRef=ri,Bt.Fragment=Jo,Bt.Lazy=si,Bt.Memo=ii,Bt.Portal=Is,Bt.Profiler=Qo,Bt.StrictMode=Zo,Bt.Suspense=ni,Bt.SuspenseList=oi,Bt.isContextConsumer=function(t){return Ve(t)===ti},Bt.isContextProvider=function(t){return Ve(t)===ei},Bt.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===Os},Bt.isForwardRef=function(t){return Ve(t)===ri},Bt.isFragment=function(t){return Ve(t)===Jo},Bt.isLazy=function(t){return Ve(t)===si},Bt.isMemo=function(t){return Ve(t)===ii},Bt.isPortal=function(t){return Ve(t)===Is},Bt.isProfiler=function(t){return Ve(t)===Qo},Bt.isStrictMode=function(t){return Ve(t)===Zo},Bt.isSuspense=function(t){return Ve(t)===ni},Bt.isSuspenseList=function(t){return Ve(t)===oi},Bt.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===Jo||t===Qo||t===Zo||t===ni||t===oi||typeof t=="object"&&t!==null&&(t.$$typeof===si||t.$$typeof===ii||t.$$typeof===ei||t.$$typeof===ti||t.$$typeof===ri||t.$$typeof===_f||t.getModuleId!==void 0)},Bt.typeOf=Ve,jl.exports=Bt;var Pl=jl.exports;const Lf=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function $l(t){const e=`${t}`.match(Lf);return e&&e[1]||""}function Ml(t,e=""){return t.displayName||t.name||$l(t)||e}function Al(t,e,n){const o=Ml(e);return t.displayName||(o!==""?`${n}(${o})`:n)}function Wf(t){if(t!=null){if(typeof t=="string")return t;if(typeof t=="function")return Ml(t,"Component");if(typeof t=="object")switch(t.$$typeof){case Pl.ForwardRef:return Al(t,t.render,"ForwardRef");case Pl.Memo:return Al(t,t.type,"memo");default:return}}}const Uf=Object.freeze(Object.defineProperty({__proto__:null,default:Wf,getFunctionName:$l},Symbol.toStringTag,{value:"Module"})),Hf=["ownerState"],Gf=["variants"],Vf=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Kf(t){return Object.keys(t).length===0}function Yf(t){return typeof t=="string"&&t.charCodeAt(0)>96}function Bs(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const qf=Kn(),Xf=t=>t&&t.charAt(0).toLowerCase()+t.slice(1);function ai({defaultTheme:t,theme:e,themeId:n}){return Kf(e)?t:e[n]||e}function Jf(t){return t?(e,n)=>n[t]:null}function li(t,e){let{ownerState:n}=e,o=at(e,Hf);const s=typeof t=="function"?t(T({ownerState:n},o)):t;if(Array.isArray(s))return s.flatMap(a=>li(a,T({ownerState:n},o)));if(s&&typeof s=="object"&&Array.isArray(s.variants)){const{variants:a=[]}=s;let p=at(s,Gf);return a.forEach(d=>{let g=!0;typeof d.props=="function"?g=d.props(T({ownerState:n},o,n)):Object.keys(d.props).forEach(m=>{(n==null?void 0:n[m])!==d.props[m]&&o[m]!==d.props[m]&&(g=!1)}),g&&(Array.isArray(p)||(p=[p]),p.push(typeof d.style=="function"?d.style(T({ownerState:n},o,n)):d.style))}),p}return s}function Zf(t={}){const{themeId:e,defaultTheme:n=qf,rootShouldForwardProp:o=Bs,slotShouldForwardProp:s=Bs}=t,a=c=>Vn(T({},c,{theme:ai(T({},c,{defaultTheme:n,themeId:e}))}));return a.__mui_systemSx=!0,(c,p={})=>{fl(c,z=>z.filter(N=>!(N!=null&&N.__mui_systemSx)));const{name:d,slot:g,skipVariantsResolver:m,skipSx:S,overridesResolver:y=Jf(Xf(g))}=p,j=at(p,Vf),k=m!==void 0?m:g&&g!=="Root"&&g!=="root"||!1,E=S||!1;let A,h=Bs;g==="Root"||g==="root"?h=o:g?h=s:Yf(c)&&(h=void 0);const P=ks(c,T({shouldForwardProp:h,label:A},j)),D=z=>typeof z=="function"&&z.__emotion_real!==z||hr(z)?N=>li(z,T({},N,{theme:ai({theme:N.theme,defaultTheme:n,themeId:e})})):z,I=(z,...N)=>{let x=D(z);const V=N?N.map(D):[];d&&y&&V.push(K=>{const J=ai(T({},K,{defaultTheme:n,themeId:e}));if(!J.components||!J.components[d]||!J.components[d].styleOverrides)return null;const _=J.components[d].styleOverrides,Q={};return Object.entries(_).forEach(([q,tt])=>{Q[q]=li(tt,T({},K,{theme:J}))}),y(K,Q)}),d&&!k&&V.push(K=>{var J;const _=ai(T({},K,{defaultTheme:n,themeId:e})),Q=_==null||(J=_.components)==null||(J=J[d])==null?void 0:J.variants;return li({variants:Q},T({},K,{theme:_}))}),E||V.push(a);const G=V.length-N.length;if(Array.isArray(z)&&G>0){const K=new Array(G).fill("");x=[...z,...K],x.raw=[...z.raw,...K]}const L=P(x,...V);return c.muiName&&(L.muiName=c.muiName),L};return P.withConfig&&(I.withConfig=P.withConfig),I}}const Qf=Zf();function qn(t,e){const n=T({},e);return Object.keys(t).forEach(o=>{if(o.toString().match(/^(components|slots)$/))n[o]=T({},t[o],n[o]);else if(o.toString().match(/^(componentsProps|slotProps)$/)){const s=t[o]||{},a=e[o];n[o]={},!a||!Object.keys(a)?n[o]=s:!s||!Object.keys(s)?n[o]=a:(n[o]=T({},a),Object.keys(s).forEach(c=>{n[o][c]=qn(s[c],a[c])}))}else n[o]===void 0&&(n[o]=t[o])}),n}function th(t){const{theme:e,name:n,props:o}=t;return!e||!e.components||!e.components[n]||!e.components[n].defaultProps?o:qn(e.components[n].defaultProps,o)}function eh({props:t,name:e,defaultTheme:n,themeId:o}){let s=Xo(n);return o&&(s=s[o]||s),th({theme:s,name:e,props:t})}const Br=typeof window<"u"?M.useLayoutEffect:M.useEffect;function rh(t,e=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(e,Math.min(t,n))}const nh=Object.freeze(Object.defineProperty({__proto__:null,default:rh},Symbol.toStringTag,{value:"Module"}));function Ol(t,e=166){let n;function o(...s){const a=()=>{t.apply(this,s)};clearTimeout(n),n=setTimeout(a,e)}return o.clear=()=>{clearTimeout(n)},o}function oh(t,e){var n,o;return M.isValidElement(t)&&e.indexOf((n=t.type.muiName)!=null?n:(o=t.type)==null||(o=o._payload)==null||(o=o.value)==null?void 0:o.muiName)!==-1}function ci(t){return t&&t.ownerDocument||document}function Il(t){return ci(t).defaultView||window}function Fs(t,e){typeof t=="function"?t(e):t&&(t.current=e)}let Bl=0;function ih(t){const[e,n]=M.useState(t),o=t||e;return M.useEffect(()=>{e==null&&(Bl+=1,n(`mui-${Bl}`))},[e]),o}const Fl=M["useId".toString()];function sh(t){if(Fl!==void 0){const e=Fl();return t??e}return ih(t)}function ah({controlled:t,default:e,name:n,state:o="value"}){const{current:s}=M.useRef(t!==void 0),[a,c]=M.useState(e),p=s?t:a,d=M.useCallback(g=>{s||c(g)},[]);return[p,d]}function gr(t){const e=M.useRef(t);return Br(()=>{e.current=t}),M.useRef((...n)=>(0,e.current)(...n)).current}function ze(...t){return M.useMemo(()=>t.every(e=>e==null)?null:e=>{t.forEach(n=>{Fs(n,e)})},t)}const zl={};function lh(t,e){const n=M.useRef(zl);return n.current===zl&&(n.current=t(e)),n}const ch=[];function uh(t){M.useEffect(t,ch)}class Xn{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Xn}start(e,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},e)}}function Fr(){const t=lh(Xn.create).current;return uh(t.disposeEffect),t}let ui=!0,zs=!1;const ph=new Xn,dh={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 fh(t){const{type:e,tagName:n}=t;return!!(n==="INPUT"&&dh[e]&&!t.readOnly||n==="TEXTAREA"&&!t.readOnly||t.isContentEditable)}function hh(t){t.metaKey||t.altKey||t.ctrlKey||(ui=!0)}function Ds(){ui=!1}function gh(){this.visibilityState==="hidden"&&zs&&(ui=!0)}function yh(t){t.addEventListener("keydown",hh,!0),t.addEventListener("mousedown",Ds,!0),t.addEventListener("pointerdown",Ds,!0),t.addEventListener("touchstart",Ds,!0),t.addEventListener("visibilitychange",gh,!0)}function mh(t){const{target:e}=t;try{return e.matches(":focus-visible")}catch{}return ui||fh(e)}function Ns(){const t=M.useCallback(s=>{s!=null&&yh(s.ownerDocument)},[]),e=M.useRef(!1);function n(){return e.current?(zs=!0,ph.start(100,()=>{zs=!1}),e.current=!1,!0):!1}function o(s){return mh(s)?(e.current=!0,!0):!1}return{isFocusVisibleRef:e,onFocus:o,onBlur:n,ref:t}}let sn;function Dl(){if(sn)return sn;const t=document.createElement("div"),e=document.createElement("div");return e.style.width="10px",e.style.height="1px",t.appendChild(e),t.dir="rtl",t.style.fontSize="14px",t.style.width="4px",t.style.height="1px",t.style.position="absolute",t.style.top="-1000px",t.style.overflow="scroll",document.body.appendChild(t),sn="reverse",t.scrollLeft>0?sn="default":(t.scrollLeft=1,t.scrollLeft===0&&(sn="negative")),document.body.removeChild(t),sn}function bh(t,e){const n=t.scrollLeft;if(e!=="rtl")return n;switch(Dl()){case"negative":return t.scrollWidth-t.clientWidth+n;case"reverse":return t.scrollWidth-t.clientWidth-n;default:return n}}function jt(t,e,n=void 0){const o={};return Object.keys(t).forEach(s=>{o[s]=t[s].reduce((a,c)=>{if(c){const p=e(c);p!==""&&a.push(p),n&&n[c]&&a.push(n[c])}return a},[]).join(" ")}),o}function _s(t){return typeof t=="string"}function an(t,e,n){return t===void 0||_s(t)?e:T({},e,{ownerState:T({},e.ownerState,n)})}function vh(t,e=[]){if(t===void 0)return{};const n={};return Object.keys(t).filter(o=>o.match(/^on[A-Z]/)&&typeof t[o]=="function"&&!e.includes(o)).forEach(o=>{n[o]=t[o]}),n}function Nl(t){if(t===void 0)return{};const e={};return Object.keys(t).filter(n=>!(n.match(/^on[A-Z]/)&&typeof t[n]=="function")).forEach(n=>{e[n]=t[n]}),e}function _l(t){const{getSlotProps:e,additionalProps:n,externalSlotProps:o,externalForwardedProps:s,className:a}=t;if(!e){const j=ot(n==null?void 0:n.className,a,s==null?void 0:s.className,o==null?void 0:o.className),k=T({},n==null?void 0:n.style,s==null?void 0:s.style,o==null?void 0:o.style),E=T({},n,s,o);return j.length>0&&(E.className=j),Object.keys(k).length>0&&(E.style=k),{props:E,internalRef:void 0}}const c=vh(T({},s,o)),p=Nl(o),d=Nl(s),g=e(c),m=ot(g==null?void 0:g.className,n==null?void 0:n.className,a,s==null?void 0:s.className,o==null?void 0:o.className),S=T({},g==null?void 0:g.style,n==null?void 0:n.style,s==null?void 0:s.style,o==null?void 0:o.style),y=T({},g,n,d,p);return m.length>0&&(y.className=m),Object.keys(S).length>0&&(y.style=S),{props:y,internalRef:g.ref}}function Ll(t,e,n){return typeof t=="function"?t(e,n):t}const xh=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Jn(t){var e;const{elementType:n,externalSlotProps:o,ownerState:s,skipResolvingSlotProps:a=!1}=t,c=at(t,xh),p=a?{}:Ll(o,s),{props:d,internalRef:g}=_l(T({},c,{externalSlotProps:p})),m=ze(g,p==null?void 0:p.ref,(e=t.additionalProps)==null?void 0:e.ref);return an(n,T({},d,{ref:m}),s)}function Ls(t){if(parseInt(M.version,10)>=19){var e;return(t==null||(e=t.props)==null?void 0:e.ref)||null}return(t==null?void 0:t.ref)||null}const Wl=M.createContext(null);function Ul(){return M.useContext(Wl)}const wh=typeof Symbol=="function"&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Sh(t,e){return typeof e=="function"?e(t):T({},t,e)}function Ch(t){const{children:e,theme:n}=t,o=Ul(),s=M.useMemo(()=>{const a=o===null?n:Sh(o,n);return a!=null&&(a[wh]=o!==null),a},[n,o]);return F.jsx(Wl.Provider,{value:s,children:e})}const Rh=["value"],Hl=M.createContext();function Eh(t){let{value:e}=t,n=at(t,Rh);return F.jsx(Hl.Provider,T({value:e??!0},n))}const pi=()=>{const t=M.useContext(Hl);return t??!1},Gl=M.createContext(void 0);function Th({value:t,children:e}){return F.jsx(Gl.Provider,{value:t,children:e})}function kh(t){const{theme:e,name:n,props:o}=t;if(!e||!e.components||!e.components[n])return o;const s=e.components[n];return s.defaultProps?qn(s.defaultProps,o):!s.styleOverrides&&!s.variants?qn(s,o):o}function jh({props:t,name:e}){const n=M.useContext(Gl);return kh({props:t,name:e,theme:{components:n}})}const Vl={};function Kl(t,e,n,o=!1){return M.useMemo(()=>{const s=t&&e[t]||e;if(typeof n=="function"){const a=n(s),c=t?T({},e,{[t]:a}):a;return o?()=>c:c}return t?T({},e,{[t]:n}):T({},e,n)},[t,e,n,o])}function Ph(t){const{children:e,theme:n,themeId:o}=t,s=Rl(Vl),a=Ul()||Vl,c=Kl(o,s,n),p=Kl(o,a,n,!0),d=c.direction==="rtl";return F.jsx(Ch,{theme:p,children:F.jsx(rn.Provider,{value:c,children:F.jsx(Eh,{value:d,children:F.jsx(Th,{value:c==null?void 0:c.components,children:e})})})})}const $h=["component","direction","spacing","divider","children","className","useFlexGap"],Mh=Kn(),Ah=Qf("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,e)=>e.root});function Oh(t){return eh({props:t,name:"MuiStack",defaultTheme:Mh})}function Ih(t,e){const n=M.Children.toArray(t).filter(Boolean);return n.reduce((o,s,a)=>(o.push(s),a<n.length-1&&o.push(M.cloneElement(e,{key:`separator-${a}`})),o),[])}const Bh=t=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[t],Fh=({ownerState:t,theme:e})=>{let n=T({display:"flex",flexDirection:"column"},Pe({theme:e},Or({values:t.direction,breakpoints:e.breakpoints.values}),o=>({flexDirection:o})));if(t.spacing){const o=Ms(e),s=Object.keys(e.breakpoints.values).reduce((d,g)=>((typeof t.spacing=="object"&&t.spacing[g]!=null||typeof t.direction=="object"&&t.direction[g]!=null)&&(d[g]=!0),d),{}),a=Or({values:t.direction,base:s}),c=Or({values:t.spacing,base:s});typeof a=="object"&&Object.keys(a).forEach((d,g,m)=>{if(!a[d]){const y=g>0?a[m[g-1]]:"column";a[d]=y}}),n=Ue(n,Pe({theme:e},c,(d,g)=>t.useFlexGap?{gap:Ir(o,d)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${Bh(g?a[g]:t.direction)}`]:Ir(o,d)}}))}return n=Nd(e.breakpoints,n),n};function zh(t={}){const{createStyledComponent:e=Ah,useThemeProps:n=Oh,componentName:o="MuiStack"}=t,s=()=>jt({root:["root"]},d=>kt(o,d),{}),a=e(Fh);return M.forwardRef(function(d,g){const m=n(d),S=Yn(m),{component:y="div",direction:j="column",spacing:k=0,divider:E,children:A,className:h,useFlexGap:P=!1}=S,D=at(S,$h),I={direction:j,spacing:k,useFlexGap:P},z=s();return F.jsx(a,T({as:y,ownerState:I,ref:g,className:ot(z.root,h)},D,{children:E?Ih(A,E):A}))})}function Dh(t,e){return T({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},e)}var Xt={},Yl={exports:{}};(function(t){function e(n){return n&&n.__esModule?n:{default:n}}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})(Yl);var ql=Yl.exports;const Nh=Sr(Rp),_h=Sr(nh);var Xl=ql;Object.defineProperty(Xt,"__esModule",{value:!0});var Ot=Xt.alpha=ec;Xt.blend=Jh,Xt.colorChannel=void 0;var Zn=Xt.darken=Us;Xt.decomposeColor=Ke,Xt.emphasize=rc;var Lh=Xt.getContrastRatio=Vh;Xt.getLuminance=di,Xt.hexToRgb=Zl,Xt.hslToRgb=tc;var Qn=Xt.lighten=Hs;Xt.private_safeAlpha=Kh,Xt.private_safeColorChannel=void 0,Xt.private_safeDarken=Yh,Xt.private_safeEmphasize=Xh,Xt.private_safeLighten=qh,Xt.recomposeColor=ln,Xt.rgbToHex=Gh;var Jl=Xl(Nh),Wh=Xl(_h);function Ws(t,e=0,n=1){return(0,Wh.default)(t,e,n)}function Zl(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let n=t.match(e);return n&&n[0].length===1&&(n=n.map(o=>o+o)),n?`rgb${n.length===4?"a":""}(${n.map((o,s)=>s<3?parseInt(o,16):Math.round(parseInt(o,16)/255*1e3)/1e3).join(", ")})`:""}function Uh(t){const e=t.toString(16);return e.length===1?`0${e}`:e}function Ke(t){if(t.type)return t;if(t.charAt(0)==="#")return Ke(Zl(t));const e=t.indexOf("("),n=t.substring(0,e);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,Jl.default)(9,t));let o=t.substring(e+1,t.length-1),s;if(n==="color"){if(o=o.split(" "),s=o.shift(),o.length===4&&o[3].charAt(0)==="/"&&(o[3]=o[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(s)===-1)throw new Error((0,Jl.default)(10,s))}else o=o.split(",");return o=o.map(a=>parseFloat(a)),{type:n,values:o,colorSpace:s}}const Ql=t=>{const e=Ke(t);return e.values.slice(0,3).map((n,o)=>e.type.indexOf("hsl")!==-1&&o!==0?`${n}%`:n).join(" ")};Xt.colorChannel=Ql;const Hh=(t,e)=>{try{return Ql(t)}catch{return t}};Xt.private_safeColorChannel=Hh;function ln(t){const{type:e,colorSpace:n}=t;let{values:o}=t;return e.indexOf("rgb")!==-1?o=o.map((s,a)=>a<3?parseInt(s,10):s):e.indexOf("hsl")!==-1&&(o[1]=`${o[1]}%`,o[2]=`${o[2]}%`),e.indexOf("color")!==-1?o=`${n} ${o.join(" ")}`:o=`${o.join(", ")}`,`${e}(${o})`}function Gh(t){if(t.indexOf("#")===0)return t;const{values:e}=Ke(t);return`#${e.map((n,o)=>Uh(o===3?Math.round(255*n):n)).join("")}`}function tc(t){t=Ke(t);const{values:e}=t,n=e[0],o=e[1]/100,s=e[2]/100,a=o*Math.min(s,1-s),c=(g,m=(g+n/30)%12)=>s-a*Math.max(Math.min(m-3,9-m,1),-1);let p="rgb";const d=[Math.round(c(0)*255),Math.round(c(8)*255),Math.round(c(4)*255)];return t.type==="hsla"&&(p+="a",d.push(e[3])),ln({type:p,values:d})}function di(t){t=Ke(t);let e=t.type==="hsl"||t.type==="hsla"?Ke(tc(t)).values:t.values;return e=e.map(n=>(t.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function Vh(t,e){const n=di(t),o=di(e);return(Math.max(n,o)+.05)/(Math.min(n,o)+.05)}function ec(t,e){return t=Ke(t),e=Ws(e),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${e}`:t.values[3]=e,ln(t)}function Kh(t,e,n){try{return ec(t,e)}catch{return t}}function Us(t,e){if(t=Ke(t),e=Ws(e),t.type.indexOf("hsl")!==-1)t.values[2]*=1-e;else if(t.type.indexOf("rgb")!==-1||t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]*=1-e;return ln(t)}function Yh(t,e,n){try{return Us(t,e)}catch{return t}}function Hs(t,e){if(t=Ke(t),e=Ws(e),t.type.indexOf("hsl")!==-1)t.values[2]+=(100-t.values[2])*e;else if(t.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return ln(t)}function qh(t,e,n){try{return Hs(t,e)}catch{return t}}function rc(t,e=.15){return di(t)>.5?Us(t,e):Hs(t,e)}function Xh(t,e,n){try{return rc(t,e)}catch{return t}}function Jh(t,e,n,o=1){const s=(d,g)=>Math.round((d**(1/o)*(1-n)+g**(1/o)*n)**o),a=Ke(t),c=Ke(e),p=[s(a.values[0],c.values[0]),s(a.values[1],c.values[1]),s(a.values[2],c.values[2])];return ln({type:"rgb",values:p})}const Zh=["mode","contrastThreshold","tonalOffset"],nc={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:In.white,default:In.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}},Gs={text:{primary:In.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:In.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 oc(t,e,n,o){const s=o.light||o,a=o.dark||o*1.5;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:e==="light"?t.light=Qn(t.main,s):e==="dark"&&(t.dark=Zn(t.main,a)))}function Qh(t="light"){return t==="dark"?{main:qr[200],light:qr[50],dark:qr[400]}:{main:qr[700],light:qr[400],dark:qr[800]}}function tg(t="light"){return t==="dark"?{main:Yr[200],light:Yr[50],dark:Yr[400]}:{main:Yr[500],light:Yr[300],dark:Yr[700]}}function eg(t="light"){return t==="dark"?{main:Kr[500],light:Kr[300],dark:Kr[700]}:{main:Kr[700],light:Kr[400],dark:Kr[800]}}function rg(t="light"){return t==="dark"?{main:Xr[400],light:Xr[300],dark:Xr[700]}:{main:Xr[700],light:Xr[500],dark:Xr[900]}}function ng(t="light"){return t==="dark"?{main:Jr[400],light:Jr[300],dark:Jr[700]}:{main:Jr[800],light:Jr[500],dark:Jr[900]}}function og(t="light"){return t==="dark"?{main:Bn[400],light:Bn[300],dark:Bn[700]}:{main:"#ed6c02",light:Bn[500],dark:Bn[900]}}function ig(t){const{mode:e="light",contrastThreshold:n=3,tonalOffset:o=.2}=t,s=at(t,Zh),a=t.primary||Qh(e),c=t.secondary||tg(e),p=t.error||eg(e),d=t.info||rg(e),g=t.success||ng(e),m=t.warning||og(e);function S(E){return Lh(E,Gs.text.primary)>=n?Gs.text.primary:nc.text.primary}const y=({color:E,name:A,mainShade:h=500,lightShade:P=300,darkShade:D=700})=>{if(E=T({},E),!E.main&&E[h]&&(E.main=E[h]),!E.hasOwnProperty("main"))throw new Error(Fn(11,A?` (${A})`:"",h));if(typeof E.main!="string")throw new Error(Fn(12,A?` (${A})`:"",JSON.stringify(E.main)));return oc(E,"light",P,o),oc(E,"dark",D,o),E.contrastText||(E.contrastText=S(E.main)),E},j={dark:Gs,light:nc};return Ue(T({common:T({},In),mode:e,primary:y({color:a,name:"primary"}),secondary:y({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:y({color:p,name:"error"}),warning:y({color:m,name:"warning"}),info:y({color:d,name:"info"}),success:y({color:g,name:"success"}),grey:Cp,contrastThreshold:n,getContrastText:S,augmentColor:y,tonalOffset:o},j[e]),s)}const sg=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function ag(t){return Math.round(t*1e5)/1e5}const ic={textTransform:"uppercase"},sc='"Roboto", "Helvetica", "Arial", sans-serif';function lg(t,e){const n=typeof e=="function"?e(t):e,{fontFamily:o=sc,fontSize:s=14,fontWeightLight:a=300,fontWeightRegular:c=400,fontWeightMedium:p=500,fontWeightBold:d=700,htmlFontSize:g=16,allVariants:m,pxToRem:S}=n,y=at(n,sg),j=s/14,k=S||(h=>`${h/g*j}rem`),E=(h,P,D,I,z)=>T({fontFamily:o,fontWeight:h,fontSize:k(P),lineHeight:D},o===sc?{letterSpacing:`${ag(I/P)}em`}:{},z,m),A={h1:E(a,96,1.167,-1.5),h2:E(a,60,1.2,-.5),h3:E(c,48,1.167,0),h4:E(c,34,1.235,.25),h5:E(c,24,1.334,0),h6:E(p,20,1.6,.15),subtitle1:E(c,16,1.75,.15),subtitle2:E(p,14,1.57,.1),body1:E(c,16,1.5,.15),body2:E(c,14,1.43,.15),button:E(p,14,1.75,.4,ic),caption:E(c,12,1.66,.4),overline:E(c,12,2.66,1,ic),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ue(T({htmlFontSize:g,pxToRem:k,fontFamily:o,fontSize:s,fontWeightLight:a,fontWeightRegular:c,fontWeightMedium:p,fontWeightBold:d},A),y,{clone:!1})}const cg=.2,ug=.14,pg=.12;function Nt(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${cg})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${ug})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${pg})`].join(",")}const dg=["none",Nt(0,2,1,-1,0,1,1,0,0,1,3,0),Nt(0,3,1,-2,0,2,2,0,0,1,5,0),Nt(0,3,3,-2,0,3,4,0,0,1,8,0),Nt(0,2,4,-1,0,4,5,0,0,1,10,0),Nt(0,3,5,-1,0,5,8,0,0,1,14,0),Nt(0,3,5,-1,0,6,10,0,0,1,18,0),Nt(0,4,5,-2,0,7,10,1,0,2,16,1),Nt(0,5,5,-3,0,8,10,1,0,3,14,2),Nt(0,5,6,-3,0,9,12,1,0,3,16,2),Nt(0,6,6,-3,0,10,14,1,0,4,18,3),Nt(0,6,7,-4,0,11,15,1,0,4,20,3),Nt(0,7,8,-4,0,12,17,2,0,5,22,4),Nt(0,7,8,-4,0,13,19,2,0,5,24,4),Nt(0,7,9,-4,0,14,21,2,0,5,26,4),Nt(0,8,9,-5,0,15,22,2,0,6,28,5),Nt(0,8,10,-5,0,16,24,2,0,6,30,5),Nt(0,8,11,-5,0,17,26,2,0,6,32,5),Nt(0,9,11,-5,0,18,28,2,0,7,34,6),Nt(0,9,12,-6,0,19,29,2,0,7,36,6),Nt(0,10,13,-6,0,20,31,3,0,8,38,7),Nt(0,10,13,-6,0,21,33,3,0,8,40,7),Nt(0,10,14,-6,0,22,35,3,0,8,42,7),Nt(0,11,14,-7,0,23,36,3,0,9,44,8),Nt(0,11,15,-7,0,24,38,3,0,9,46,8)],fg=["duration","easing","delay"],hg={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)"},ac={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function lc(t){return`${Math.round(t)}ms`}function gg(t){if(!t)return 0;const e=t/36;return Math.round((4+15*e**.25+e/5)*10)}function yg(t){const e=T({},hg,t.easing),n=T({},ac,t.duration);return T({getAutoHeightDuration:gg,create:(s=["all"],a={})=>{const{duration:c=n.standard,easing:p=e.easeInOut,delay:d=0}=a;return at(a,fg),(Array.isArray(s)?s:[s]).map(g=>`${g} ${typeof c=="string"?c:lc(c)} ${p} ${typeof d=="string"?d:lc(d)}`).join(",")}},t,{easing:e,duration:n})}const mg={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},bg=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function cc(t={},...e){const{mixins:n={},palette:o={},transitions:s={},typography:a={}}=t,c=at(t,bg);if(t.vars&&t.generateCssVars===void 0)throw new Error(Fn(18));const p=ig(o),d=Kn(t);let g=Ue(d,{mixins:Dh(d.breakpoints,n),palette:p,shadows:dg.slice(),typography:lg(p,a),transitions:yg(s),zIndex:T({},mg)});return g=Ue(g,c),g=e.reduce((m,S)=>Ue(m,S),g),g.unstable_sxConfig=T({},Gn,c==null?void 0:c.unstable_sxConfig),g.unstable_sx=function(S){return Vn({sx:S,theme:this})},g}const Vs=cc();function to(){const t=Xo(Vs);return t[Zr]||t}var eo={},Ks={exports:{}},uc;function vg(){return uc||(uc=1,function(t){function e(n,o){if(n==null)return{};var s={};for(var a in n)if({}.hasOwnProperty.call(n,a)){if(o.indexOf(a)!==-1)continue;s[a]=n[a]}return s}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(Ks)),Ks.exports}const pc=Sr(Id),xg=Sr(Bd),wg=Sr(Ld),Sg=Sr(Uf),Cg=Sr(Pf),Rg=Sr(Bf);var cn=ql;Object.defineProperty(eo,"__esModule",{value:!0});var Eg=eo.default=Dg;eo.shouldForwardProp=fi,eo.systemDefaultTheme=void 0;var Ye=cn(ll()),Ys=cn(vg()),dc=Ag(pc),Tg=xg;cn(wg),cn(Sg);var kg=cn(Cg),jg=cn(Rg);const Pg=["ownerState"],$g=["variants"],Mg=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function fc(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(fc=function(o){return o?n:e})(t)}function Ag(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var n=fc(e);if(n&&n.has(t))return n.get(t);var o={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if(a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)){var c=s?Object.getOwnPropertyDescriptor(t,a):null;c&&(c.get||c.set)?Object.defineProperty(o,a,c):o[a]=t[a]}return o.default=t,n&&n.set(t,o),o}function Og(t){return Object.keys(t).length===0}function Ig(t){return typeof t=="string"&&t.charCodeAt(0)>96}function fi(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const Bg=eo.systemDefaultTheme=(0,kg.default)(),Fg=t=>t&&t.charAt(0).toLowerCase()+t.slice(1);function hi({defaultTheme:t,theme:e,themeId:n}){return Og(e)?t:e[n]||e}function zg(t){return t?(e,n)=>n[t]:null}function gi(t,e){let{ownerState:n}=e,o=(0,Ys.default)(e,Pg);const s=typeof t=="function"?t((0,Ye.default)({ownerState:n},o)):t;if(Array.isArray(s))return s.flatMap(a=>gi(a,(0,Ye.default)({ownerState:n},o)));if(s&&typeof s=="object"&&Array.isArray(s.variants)){const{variants:a=[]}=s;let p=(0,Ys.default)(s,$g);return a.forEach(d=>{let g=!0;typeof d.props=="function"?g=d.props((0,Ye.default)({ownerState:n},o,n)):Object.keys(d.props).forEach(m=>{(n==null?void 0:n[m])!==d.props[m]&&o[m]!==d.props[m]&&(g=!1)}),g&&(Array.isArray(p)||(p=[p]),p.push(typeof d.style=="function"?d.style((0,Ye.default)({ownerState:n},o,n)):d.style))}),p}return s}function Dg(t={}){const{themeId:e,defaultTheme:n=Bg,rootShouldForwardProp:o=fi,slotShouldForwardProp:s=fi}=t,a=c=>(0,jg.default)((0,Ye.default)({},c,{theme:hi((0,Ye.default)({},c,{defaultTheme:n,themeId:e}))}));return a.__mui_systemSx=!0,(c,p={})=>{(0,dc.internal_processStyles)(c,z=>z.filter(N=>!(N!=null&&N.__mui_systemSx)));const{name:d,slot:g,skipVariantsResolver:m,skipSx:S,overridesResolver:y=zg(Fg(g))}=p,j=(0,Ys.default)(p,Mg),k=m!==void 0?m:g&&g!=="Root"&&g!=="root"||!1,E=S||!1;let A,h=fi;g==="Root"||g==="root"?h=o:g?h=s:Ig(c)&&(h=void 0);const P=(0,dc.default)(c,(0,Ye.default)({shouldForwardProp:h,label:A},j)),D=z=>typeof z=="function"&&z.__emotion_real!==z||(0,Tg.isPlainObject)(z)?N=>gi(z,(0,Ye.default)({},N,{theme:hi({theme:N.theme,defaultTheme:n,themeId:e})})):z,I=(z,...N)=>{let x=D(z);const V=N?N.map(D):[];d&&y&&V.push(K=>{const J=hi((0,Ye.default)({},K,{defaultTheme:n,themeId:e}));if(!J.components||!J.components[d]||!J.components[d].styleOverrides)return null;const _=J.components[d].styleOverrides,Q={};return Object.entries(_).forEach(([q,tt])=>{Q[q]=gi(tt,(0,Ye.default)({},K,{theme:J}))}),y(K,Q)}),d&&!k&&V.push(K=>{var J;const _=hi((0,Ye.default)({},K,{defaultTheme:n,themeId:e})),Q=_==null||(J=_.components)==null||(J=J[d])==null?void 0:J.variants;return gi({variants:Q},(0,Ye.default)({},K,{theme:_}))}),E||V.push(a);const G=V.length-N.length;if(Array.isArray(z)&&G>0){const K=new Array(G).fill("");x=[...z,...K],x.raw=[...z.raw,...K]}const L=P(x,...V);return c.muiName&&(L.muiName=c.muiName),L};return P.withConfig&&(I.withConfig=P.withConfig),I}}function Ng(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const hc=t=>Ng(t)&&t!=="classes",ht=Eg({themeId:Zr,defaultTheme:Vs,rootShouldForwardProp:hc}),_g=["theme"];function Lg(t){let{theme:e}=t,n=at(t,_g);const o=e[Zr];let s=o||e;return typeof e!="function"&&(o&&!o.vars?s=T({},o,{vars:null}):e&&!e.vars&&(s=T({},e,{vars:null}))),F.jsx(Ph,T({},n,{themeId:o?Zr:void 0,theme:s}))}const gc=t=>{let e;return t<1?e=5.11916*t**2:e=4.5*Math.log(t+1)+2,(e/100).toFixed(2)};function Tt(t){return jh(t)}function Wg(t){return kt("MuiSvgIcon",t)}Et("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Ug=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Hg=t=>{const{color:e,fontSize:n,classes:o}=t,s={root:["root",e!=="inherit"&&`color${X(e)}`,`fontSize${X(n)}`]};return jt(s,Wg,o)},Gg=ht("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.color!=="inherit"&&e[`color${X(n.color)}`],e[`fontSize${X(n.fontSize)}`]]}})(({theme:t,ownerState:e})=>{var n,o,s,a,c,p,d,g,m,S,y,j,k;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:e.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=t.transitions)==null||(o=n.create)==null?void 0:o.call(n,"fill",{duration:(s=t.transitions)==null||(s=s.duration)==null?void 0:s.shorter}),fontSize:{inherit:"inherit",small:((a=t.typography)==null||(c=a.pxToRem)==null?void 0:c.call(a,20))||"1.25rem",medium:((p=t.typography)==null||(d=p.pxToRem)==null?void 0:d.call(p,24))||"1.5rem",large:((g=t.typography)==null||(m=g.pxToRem)==null?void 0:m.call(g,35))||"2.1875rem"}[e.fontSize],color:(S=(y=(t.vars||t).palette)==null||(y=y[e.color])==null?void 0:y.main)!=null?S:{action:(j=(t.vars||t).palette)==null||(j=j.action)==null?void 0:j.active,disabled:(k=(t.vars||t).palette)==null||(k=k.action)==null?void 0:k.disabled,inherit:void 0}[e.color]}}),yc=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiSvgIcon"}),{children:s,className:a,color:c="inherit",component:p="svg",fontSize:d="medium",htmlColor:g,inheritViewBox:m=!1,titleAccess:S,viewBox:y="0 0 24 24"}=o,j=at(o,Ug),k=M.isValidElement(s)&&s.type==="svg",E=T({},o,{color:c,component:p,fontSize:d,instanceFontSize:e.fontSize,inheritViewBox:m,viewBox:y,hasSvgAsChild:k}),A={};m||(A.viewBox=y);const h=Hg(E);return F.jsxs(Gg,T({as:p,className:ot(h.root,a),focusable:"false",color:g,"aria-hidden":S?void 0:!0,role:S?"img":void 0,ref:n},A,j,k&&s.props,{ownerState:E,children:[k?s.props.children:s,S?F.jsx("title",{children:S}):null]}))});yc.muiName="SvgIcon";const mc=yc;function zt(t,e){function n(o,s){return F.jsx(mc,T({"data-testid":`${e}Icon`,ref:s},o,{children:t}))}return n.muiName=mc.muiName,M.memo(M.forwardRef(n))}function qs(t,e){return qs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},qs(t,e)}function bc(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,qs(t,e)}const vc={disabled:!1},yi=St.createContext(null);var Vg=function(e){return e.scrollTop},ro="unmounted",zr="exited",Dr="entering",un="entered",Xs="exiting",yr=function(t){bc(e,t);function e(o,s){var a;a=t.call(this,o,s)||this;var c=s,p=c&&!c.isMounting?o.enter:o.appear,d;return a.appearStatus=null,o.in?p?(d=zr,a.appearStatus=Dr):d=un:o.unmountOnExit||o.mountOnEnter?d=ro:d=zr,a.state={status:d},a.nextCallback=null,a}e.getDerivedStateFromProps=function(s,a){var c=s.in;return c&&a.status===ro?{status:zr}:null};var n=e.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(s){var a=null;if(s!==this.props){var c=this.state.status;this.props.in?c!==Dr&&c!==un&&(a=Dr):(c===Dr||c===un)&&(a=Xs)}this.updateStatus(!1,a)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var s=this.props.timeout,a,c,p;return a=c=p=s,s!=null&&typeof s!="number"&&(a=s.exit,c=s.enter,p=s.appear!==void 0?s.appear:c),{exit:a,enter:c,appear:p}},n.updateStatus=function(s,a){if(s===void 0&&(s=!1),a!==null)if(this.cancelNextCallback(),a===Dr){if(this.props.unmountOnExit||this.props.mountOnEnter){var c=this.props.nodeRef?this.props.nodeRef.current:Vr.findDOMNode(this);c&&Vg(c)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===zr&&this.setState({status:ro})},n.performEnter=function(s){var a=this,c=this.props.enter,p=this.context?this.context.isMounting:s,d=this.props.nodeRef?[p]:[Vr.findDOMNode(this),p],g=d[0],m=d[1],S=this.getTimeouts(),y=p?S.appear:S.enter;if(!s&&!c||vc.disabled){this.safeSetState({status:un},function(){a.props.onEntered(g)});return}this.props.onEnter(g,m),this.safeSetState({status:Dr},function(){a.props.onEntering(g,m),a.onTransitionEnd(y,function(){a.safeSetState({status:un},function(){a.props.onEntered(g,m)})})})},n.performExit=function(){var s=this,a=this.props.exit,c=this.getTimeouts(),p=this.props.nodeRef?void 0:Vr.findDOMNode(this);if(!a||vc.disabled){this.safeSetState({status:zr},function(){s.props.onExited(p)});return}this.props.onExit(p),this.safeSetState({status:Xs},function(){s.props.onExiting(p),s.onTransitionEnd(c.exit,function(){s.safeSetState({status:zr},function(){s.props.onExited(p)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(s,a){a=this.setNextCallback(a),this.setState(s,a)},n.setNextCallback=function(s){var a=this,c=!0;return this.nextCallback=function(p){c&&(c=!1,a.nextCallback=null,s(p))},this.nextCallback.cancel=function(){c=!1},this.nextCallback},n.onTransitionEnd=function(s,a){this.setNextCallback(a);var c=this.props.nodeRef?this.props.nodeRef.current:Vr.findDOMNode(this),p=s==null&&!this.props.addEndListener;if(!c||p){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var d=this.props.nodeRef?[this.nextCallback]:[c,this.nextCallback],g=d[0],m=d[1];this.props.addEndListener(g,m)}s!=null&&setTimeout(this.nextCallback,s)},n.render=function(){var s=this.state.status;if(s===ro)return null;var a=this.props,c=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var p=at(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return St.createElement(yi.Provider,{value:null},typeof c=="function"?c(s,p):St.cloneElement(St.Children.only(c),p))},e}(St.Component);yr.contextType=yi,yr.propTypes={};function pn(){}yr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:pn,onEntering:pn,onEntered:pn,onExit:pn,onExiting:pn,onExited:pn},yr.UNMOUNTED=ro,yr.EXITED=zr,yr.ENTERING=Dr,yr.ENTERED=un,yr.EXITING=Xs;const xc=yr;function Kg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Js(t,e){var n=function(a){return e&&St.isValidElement(a)?e(a):a},o=Object.create(null);return t&&St.Children.map(t,function(s){return s}).forEach(function(s){o[s.key]=n(s)}),o}function Yg(t,e){t=t||{},e=e||{};function n(m){return m in e?e[m]:t[m]}var o=Object.create(null),s=[];for(var a in t)a in e?s.length&&(o[a]=s,s=[]):s.push(a);var c,p={};for(var d in e){if(o[d])for(c=0;c<o[d].length;c++){var g=o[d][c];p[o[d][c]]=n(g)}p[d]=n(d)}for(c=0;c<s.length;c++)p[s[c]]=n(s[c]);return p}function Nr(t,e,n){return n[e]!=null?n[e]:t.props[e]}function qg(t,e){return Js(t.children,function(n){return St.cloneElement(n,{onExited:e.bind(null,n),in:!0,appear:Nr(n,"appear",t),enter:Nr(n,"enter",t),exit:Nr(n,"exit",t)})})}function Xg(t,e,n){var o=Js(t.children),s=Yg(e,o);return Object.keys(s).forEach(function(a){var c=s[a];if(St.isValidElement(c)){var p=a in e,d=a in o,g=e[a],m=St.isValidElement(g)&&!g.props.in;d&&(!p||m)?s[a]=St.cloneElement(c,{onExited:n.bind(null,c),in:!0,exit:Nr(c,"exit",t),enter:Nr(c,"enter",t)}):!d&&p&&!m?s[a]=St.cloneElement(c,{in:!1}):d&&p&&St.isValidElement(g)&&(s[a]=St.cloneElement(c,{onExited:n.bind(null,c),in:g.props.in,exit:Nr(c,"exit",t),enter:Nr(c,"enter",t)}))}}),s}var Jg=Object.values||function(t){return Object.keys(t).map(function(e){return t[e]})},Zg={component:"div",childFactory:function(e){return e}},Zs=function(t){bc(e,t);function e(o,s){var a;a=t.call(this,o,s)||this;var c=a.handleExited.bind(Kg(a));return a.state={contextValue:{isMounting:!0},handleExited:c,firstRender:!0},a}var n=e.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(s,a){var c=a.children,p=a.handleExited,d=a.firstRender;return{children:d?qg(s,p):Xg(s,c,p),firstRender:!1}},n.handleExited=function(s,a){var c=Js(this.props.children);s.key in c||(s.props.onExited&&s.props.onExited(a),this.mounted&&this.setState(function(p){var d=T({},p.children);return delete d[s.key],{children:d}}))},n.render=function(){var s=this.props,a=s.component,c=s.childFactory,p=at(s,["component","childFactory"]),d=this.state.contextValue,g=Jg(this.state.children).map(c);return delete p.appear,delete p.enter,delete p.exit,a===null?St.createElement(yi.Provider,{value:d},g):St.createElement(yi.Provider,{value:d},St.createElement(a,p,g))},e}(St.Component);Zs.propTypes={},Zs.defaultProps=Zg;const Qg=Zs,ty=t=>t.scrollTop;function mi(t,e){var n,o;const{timeout:s,easing:a,style:c={}}=t;return{duration:(n=c.transitionDuration)!=null?n:typeof s=="number"?s:s[e.mode]||0,easing:(o=c.transitionTimingFunction)!=null?o:typeof a=="object"?a[e.mode]:a,delay:c.transitionDelay}}function ey(t){return kt("MuiCollapse",t)}Et("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const ry=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],ny=t=>{const{orientation:e,classes:n}=t,o={root:["root",`${e}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${e}`],wrapperInner:["wrapperInner",`${e}`]};return jt(o,ey,n)},oy=ht("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.orientation],n.state==="entered"&&e.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&e.hidden]}})(({theme:t,ownerState:e})=>T({height:0,overflow:"hidden",transition:t.transitions.create("height")},e.orientation==="horizontal"&&{height:"auto",width:0,transition:t.transitions.create("width")},e.state==="entered"&&T({height:"auto",overflow:"visible"},e.orientation==="horizontal"&&{width:"auto"}),e.state==="exited"&&!e.in&&e.collapsedSize==="0px"&&{visibility:"hidden"})),iy=ht("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(t,e)=>e.wrapper})(({ownerState:t})=>T({display:"flex",width:"100%"},t.orientation==="horizontal"&&{width:"auto",height:"100%"})),sy=ht("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(t,e)=>e.wrapperInner})(({ownerState:t})=>T({width:"100%"},t.orientation==="horizontal"&&{width:"auto",height:"100%"})),wc=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiCollapse"}),{addEndListener:s,children:a,className:c,collapsedSize:p="0px",component:d,easing:g,in:m,onEnter:S,onEntered:y,onEntering:j,onExit:k,onExited:E,onExiting:A,orientation:h="vertical",style:P,timeout:D=ac.standard,TransitionComponent:I=xc}=o,z=at(o,ry),N=T({},o,{orientation:h,collapsedSize:p}),x=ny(N),V=to(),G=Fr(),L=M.useRef(null),K=M.useRef(),J=typeof p=="number"?`${p}px`:p,_=h==="horizontal",Q=_?"width":"height",q=M.useRef(null),tt=ze(n,q),dt=st=>rt=>{if(st){const nt=q.current;rt===void 0?st(nt):st(nt,rt)}},bt=()=>L.current?L.current[_?"clientWidth":"clientHeight"]:0,it=dt((st,rt)=>{L.current&&_&&(L.current.style.position="absolute"),st.style[Q]=J,S&&S(st,rt)}),xt=dt((st,rt)=>{const nt=bt();L.current&&_&&(L.current.style.position="");const{duration:Rt,easing:ut}=mi({style:P,timeout:D,easing:g},{mode:"enter"});if(D==="auto"){const u=V.transitions.getAutoHeightDuration(nt);st.style.transitionDuration=`${u}ms`,K.current=u}else st.style.transitionDuration=typeof Rt=="string"?Rt:`${Rt}ms`;st.style[Q]=`${nt}px`,st.style.transitionTimingFunction=ut,j&&j(st,rt)}),Ct=dt((st,rt)=>{st.style[Q]="auto",y&&y(st,rt)}),Qt=dt(st=>{st.style[Q]=`${bt()}px`,k&&k(st)}),fe=dt(E),Ft=dt(st=>{const rt=bt(),{duration:nt,easing:Rt}=mi({style:P,timeout:D,easing:g},{mode:"exit"});if(D==="auto"){const ut=V.transitions.getAutoHeightDuration(rt);st.style.transitionDuration=`${ut}ms`,K.current=ut}else st.style.transitionDuration=typeof nt=="string"?nt:`${nt}ms`;st.style[Q]=J,st.style.transitionTimingFunction=Rt,A&&A(st)}),Wt=st=>{D==="auto"&&G.start(K.current||0,st),s&&s(q.current,st)};return F.jsx(I,T({in:m,onEnter:it,onEntered:Ct,onEntering:xt,onExit:Qt,onExited:fe,onExiting:Ft,addEndListener:Wt,nodeRef:q,timeout:D==="auto"?null:D},z,{children:(st,rt)=>F.jsx(oy,T({as:d,className:ot(x.root,c,{entered:x.entered,exited:!m&&J==="0px"&&x.hidden}[st]),style:T({[_?"minWidth":"minHeight"]:J},P),ref:tt},rt,{ownerState:T({},N,{state:st}),children:F.jsx(iy,{ownerState:T({},N,{state:st}),className:x.wrapper,ref:L,children:F.jsx(sy,{ownerState:T({},N,{state:st}),className:x.wrapperInner,children:a})})}))}))});wc.muiSupportAuto=!0;const ay=wc;function ly(t){return kt("MuiPaper",t)}Et("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const cy=["className","component","elevation","square","variant"],uy=t=>{const{square:e,elevation:n,variant:o,classes:s}=t,a={root:["root",o,!e&&"rounded",o==="elevation"&&`elevation${n}`]};return jt(a,ly,s)},py=ht("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],!n.square&&e.rounded,n.variant==="elevation"&&e[`elevation${n.elevation}`]]}})(({theme:t,ownerState:e})=>{var n;return T({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow")},!e.square&&{borderRadius:t.shape.borderRadius},e.variant==="outlined"&&{border:`1px solid ${(t.vars||t).palette.divider}`},e.variant==="elevation"&&T({boxShadow:(t.vars||t).shadows[e.elevation]},!t.vars&&t.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Ot("#fff",gc(e.elevation))}, ${Ot("#fff",gc(e.elevation))})`},t.vars&&{backgroundImage:(n=t.vars.overlays)==null?void 0:n[e.elevation]}))}),bi=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiPaper"}),{className:s,component:a="div",elevation:c=1,square:p=!1,variant:d="elevation"}=o,g=at(o,cy),m=T({},o,{component:a,elevation:c,square:p,variant:d}),S=uy(m);return F.jsx(py,T({as:a,ownerState:m,className:ot(S.root,s),ref:n},g))}),dy=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],fy=["component","slots","slotProps"],hy=["component"];function Sc(t,e){const{className:n,elementType:o,ownerState:s,externalForwardedProps:a,getSlotOwnerState:c,internalForwardedProps:p}=e,d=at(e,dy),{component:g,slots:m={[t]:void 0},slotProps:S={[t]:void 0}}=a,y=at(a,fy),j=m[t]||o,k=Ll(S[t],s),E=_l(T({className:n},d,{externalForwardedProps:t==="root"?y:void 0,externalSlotProps:k})),{props:{component:A},internalRef:h}=E,P=at(E.props,hy),D=ze(h,k==null?void 0:k.ref,e.ref),I=c?c(P):{},z=T({},s,I),N=t==="root"?A||g:A,x=an(j,T({},t==="root"&&!g&&!m[t]&&p,t!=="root"&&!m[t]&&p,P,N&&{as:N},{ref:D}),z);return Object.keys(I).forEach(V=>{delete x[V]}),[j,x]}function gy(t){const{className:e,classes:n,pulsate:o=!1,rippleX:s,rippleY:a,rippleSize:c,in:p,onExited:d,timeout:g}=t,[m,S]=M.useState(!1),y=ot(e,n.ripple,n.rippleVisible,o&&n.ripplePulsate),j={width:c,height:c,top:-(c/2)+a,left:-(c/2)+s},k=ot(n.child,m&&n.childLeaving,o&&n.childPulsate);return!p&&!m&&S(!0),M.useEffect(()=>{if(!p&&d!=null){const E=setTimeout(d,g);return()=>{clearTimeout(E)}}},[d,p,g]),F.jsx("span",{className:y,style:j,children:F.jsx("span",{className:k})})}const qe=Et("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),yy=["center","classes","className"];let vi=t=>t,Cc,Rc,Ec,Tc;const Qs=550,my=80,by=Ar(Cc||(Cc=vi` 31 31 0% { 32 32 transform: scale(0); … … 38 38 opacity: 0.3; 39 39 } 40 `)), Uh=sr(yl||(yl=Mo`40 `)),vy=Ar(Rc||(Rc=vi` 41 41 0% { 42 42 opacity: 1; … … 46 46 opacity: 0; 47 47 } 48 `)), Vh=sr(gl||(gl=Mo`48 `)),xy=Ar(Ec||(Ec=vi` 49 49 0% { 50 50 transform: scale(1); … … 58 58 transform: scale(1); 59 59 } 60 `)), Hh=st("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Gh=st(Fh,{name:"MuiTouchRipple",slot:"Ripple"})(ml||(ml=Mo`60 `)),wy=ht("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Sy=ht(gy,{name:"MuiTouchRipple",slot:"Ripple"})(Tc||(Tc=vi` 61 61 opacity: 0; 62 62 position: absolute; … … 101 101 animation-delay: 200ms; 102 102 } 103 `), Se.rippleVisible,Wh,es,({theme:t})=>t.transitions.easing.easeInOut,Se.ripplePulsate,({theme:t})=>t.transitions.duration.shorter,Se.child,Se.childLeaving,Uh,es,({theme:t})=>t.transitions.easing.easeInOut,Se.childPulsate,Vh,({theme:t})=>t.transitions.easing.easeInOut),Kh=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiTouchRipple"}),{center:s=!1,classes:l={},className:c}=i,d=nt(i,Dh),[f,g]=O.useState([]),x=O.useRef(0),T=O.useRef(null);O.useEffect(()=>{T.current&&(T.current(),T.current=null)},[f]);const m=O.useRef(!1),M=Ea(),R=O.useRef(null),E=O.useRef(null),A=O.useCallback(D=>{const{pulsate:L,rippleX:U,rippleY:C,rippleSize:at,cb:pt}=D;g(K=>[...K,B.jsx(Gh,{classes:{ripple:J(l.ripple,Se.ripple),rippleVisible:J(l.rippleVisible,Se.rippleVisible),ripplePulsate:J(l.ripplePulsate,Se.ripplePulsate),child:J(l.child,Se.child),childLeaving:J(l.childLeaving,Se.childLeaving),childPulsate:J(l.childPulsate,Se.childPulsate)},timeout:es,pulsate:L,rippleX:U,rippleY:C,rippleSize:at},x.current)]),x.current+=1,T.current=pt},[l]),h=O.useCallback((D={},L={},U=()=>{})=>{const{pulsate:C=!1,center:at=s||L.pulsate,fakeElement:pt=!1}=L;if((D==null?void 0:D.type)==="mousedown"&&m.current){m.current=!1;return}(D==null?void 0:D.type)==="touchstart"&&(m.current=!0);const K=pt?null:E.current,Y=K?K.getBoundingClientRect():{width:0,height:0,left:0,top:0};let Z,N,Q;if(at||D===void 0||D.clientX===0&&D.clientY===0||!D.clientX&&!D.touches)Z=Math.round(Y.width/2),N=Math.round(Y.height/2);else{const{clientX:dt,clientY:ft}=D.touches&&D.touches.length>0?D.touches[0]:D;Z=Math.round(dt-Y.left),N=Math.round(ft-Y.top)}if(at)Q=Math.sqrt((2*Y.width**2+Y.height**2)/3),Q%2===0&&(Q+=1);else{const dt=Math.max(Math.abs((K?K.clientWidth:0)-Z),Z)*2+2,ft=Math.max(Math.abs((K?K.clientHeight:0)-N),N)*2+2;Q=Math.sqrt(dt**2+ft**2)}D!=null&&D.touches?R.current===null&&(R.current=()=>{A({pulsate:C,rippleX:Z,rippleY:N,rippleSize:Q,cb:U})},M.start(Lh,()=>{R.current&&(R.current(),R.current=null)})):A({pulsate:C,rippleX:Z,rippleY:N,rippleSize:Q,cb:U})},[s,A,M]),$=O.useCallback(()=>{h({},{pulsate:!0})},[h]),z=O.useCallback((D,L)=>{if(M.clear(),(D==null?void 0:D.type)==="touchend"&&R.current){R.current(),R.current=null,M.start(0,()=>{z(D,L)});return}R.current=null,g(U=>U.length>0?U.slice(1):U),T.current=L},[M]);return O.useImperativeHandle(n,()=>({pulsate:$,start:h,stop:z}),[$,h,z]),B.jsx(Hh,k({className:J(Se.root,l.root,c),ref:E},d,{children:B.jsx(kh,{component:null,exit:!0,children:f})}))});function qh(t){return Ct("MuiButtonBase",t)}const Yh=bt("MuiButtonBase",["root","disabled","focusVisible"]),Xh=["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"],Zh=t=>{const{disabled:e,focusVisible:n,focusVisibleClassName:i,classes:s}=t,c=kt({root:["root",e&&"disabled",n&&"focusVisible"]},qh,s);return n&&i&&(c.root+=` ${i}`),c},Jh=st("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Yh.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),fr=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiButtonBase"}),{action:s,centerRipple:l=!1,children:c,className:d,component:f="button",disabled:g=!1,disableRipple:x=!1,disableTouchRipple:T=!1,focusRipple:m=!1,LinkComponent:M="a",onBlur:R,onClick:E,onContextMenu:A,onDragLeave:h,onFocus:$,onFocusVisible:z,onKeyDown:D,onKeyUp:L,onMouseDown:U,onMouseLeave:C,onMouseUp:at,onTouchEnd:pt,onTouchMove:K,onTouchStart:Y,tabIndex:Z=0,TouchRippleProps:N,touchRippleRef:Q,type:dt}=i,ft=nt(i,Xh),Et=O.useRef(null),gt=O.useRef(null),ht=nr(gt,Q),{isFocusVisibleRef:$t,onFocus:At,onBlur:pe,ref:_e}=ja(),[Ht,je]=O.useState(!1);g&&Ht&&je(!1),O.useImperativeHandle(s,()=>({focusVisible:()=>{je(!0),Et.current.focus()}}),[]);const[lt,G]=O.useState(!1);O.useEffect(()=>{G(!0)},[]);const u=lt&&!x&&!g;O.useEffect(()=>{Ht&&m&&!x&<&>.current.pulsate()},[x,m,Ht,lt]);function w(ct,Ve,I=T){return cr(He=>(Ve&&Ve(He),!I&>.current&>.current[ct](He),!0))}const V=w("start",U),Xe=w("stop",A),yr=w("stop",h),Qr=w("stop",at),de=w("stop",ct=>{Ht&&ct.preventDefault(),C&&C(ct)}),Fe=w("start",Y),De=w("stop",pt),re=w("stop",K),$e=w("stop",ct=>{pe(ct),$t.current===!1&&je(!1),R&&R(ct)},!1),Ze=cr(ct=>{Et.current||(Et.current=ct.currentTarget),At(ct),$t.current===!0&&(je(!0),z&&z(ct)),$&&$(ct)}),Me=()=>{const ct=Et.current;return f&&f!=="button"&&!(ct.tagName==="A"&&ct.href)},Le=O.useRef(!1),Je=cr(ct=>{m&&!Le.current&&Ht&>.current&&ct.key===" "&&(Le.current=!0,gt.current.stop(ct,()=>{gt.current.start(ct)})),ct.target===ct.currentTarget&&Me()&&ct.key===" "&&ct.preventDefault(),D&&D(ct),ct.target===ct.currentTarget&&Me()&&ct.key==="Enter"&&!g&&(ct.preventDefault(),E&&E(ct))}),We=cr(ct=>{m&&ct.key===" "&>.current&&Ht&&!ct.defaultPrevented&&(Le.current=!1,gt.current.stop(ct,()=>{gt.current.pulsate(ct)})),L&&L(ct),E&&ct.target===ct.currentTarget&&Me()&&ct.key===" "&&!ct.defaultPrevented&&E(ct)});let Ae=f;Ae==="button"&&(ft.href||ft.to)&&(Ae=M);const Ue={};Ae==="button"?(Ue.type=dt===void 0?"button":dt,Ue.disabled=g):(!ft.href&&!ft.to&&(Ue.role="button"),g&&(Ue["aria-disabled"]=g));const Qe=nr(n,_e,Et),gr=k({},i,{centerRipple:l,component:f,disabled:g,disableRipple:x,disableTouchRipple:T,focusRipple:m,tabIndex:Z,focusVisible:Ht}),mr=Zh(gr);return B.jsxs(Jh,k({as:Ae,className:J(mr.root,d),ownerState:gr,onBlur:$e,onClick:E,onContextMenu:Xe,onFocus:Ze,onKeyDown:Je,onKeyUp:We,onMouseDown:V,onMouseLeave:de,onMouseUp:Qr,onDragLeave:yr,onTouchEnd:De,onTouchMove:re,onTouchStart:Fe,ref:Qe,tabIndex:g?-1:Z,type:dt},Ue,ft,{children:[c,u?B.jsx(Kh,k({ref:ht,center:l},N)):null]}))});function Qh(t){return Ct("MuiAlert",t)}const bl=bt("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function ty(t){return Ct("MuiIconButton",t)}const ey=bt("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),ry=["edge","children","className","color","disabled","disableFocusRipple","size"],ny=t=>{const{classes:e,disabled:n,color:i,edge:s,size:l}=t,c={root:["root",n&&"disabled",i!=="default"&&`color${H(i)}`,s&&`edge${H(s)}`,`size${H(l)}`]};return kt(c,ty,e)},oy=st(fr,{name:"MuiIconButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.color!=="default"&&e[`color${H(n.color)}`],n.edge&&e[`edge${H(n.edge)}`],e[`size${H(n.size)}`]]}})(({theme:t,ownerState:e})=>k({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})},!e.disableRipple&&{"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12}),({theme:t,ownerState:e})=>{var n;const i=(n=(t.vars||t).palette)==null?void 0:n[e.color];return k({},e.color==="inherit"&&{color:"inherit"},e.color!=="inherit"&&e.color!=="default"&&k({color:i==null?void 0:i.main},!e.disableRipple&&{"&:hover":k({},i&&{backgroundColor:t.vars?`rgba(${i.mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(i.main,t.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),e.size==="small"&&{padding:5,fontSize:t.typography.pxToRem(18)},e.size==="large"&&{padding:12,fontSize:t.typography.pxToRem(28)},{[`&.${ey.disabled}`]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled}})}),vl=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiIconButton"}),{edge:s=!1,children:l,className:c,color:d="default",disabled:f=!1,disableFocusRipple:g=!1,size:x="medium"}=i,T=nt(i,ry),m=k({},i,{edge:s,color:d,disabled:f,disableFocusRipple:g,size:x}),M=ny(m);return B.jsx(oy,k({className:J(M.root,c),centerRipple:!0,focusRipple:!g,disabled:f,ref:n},T,{ownerState:m,children:l}))}),iy=Mt(B.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),sy=Mt(B.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),ay=Mt(B.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),ly=Mt(B.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),cy=Mt(B.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),uy=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],py=t=>{const{variant:e,color:n,severity:i,classes:s}=t,l={root:["root",`color${H(n||i)}`,`${e}${H(n||i)}`,`${e}`],icon:["icon"],message:["message"],action:["action"]};return kt(l,Qh,s)},dy=st($o,{name:"MuiAlert",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`${n.variant}${H(n.color||n.severity)}`]]}})(({theme:t})=>{const e=t.palette.mode==="light"?xn:Sn,n=t.palette.mode==="light"?Sn:xn;return k({},t.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(t.palette).filter(([,i])=>i.main&&i.light).map(([i])=>({props:{colorSeverity:i,variant:"standard"},style:{color:t.vars?t.vars.palette.Alert[`${i}Color`]:e(t.palette[i].light,.6),backgroundColor:t.vars?t.vars.palette.Alert[`${i}StandardBg`]:n(t.palette[i].light,.9),[`& .${bl.icon}`]:t.vars?{color:t.vars.palette.Alert[`${i}IconColor`]}:{color:t.palette[i].main}}})),...Object.entries(t.palette).filter(([,i])=>i.main&&i.light).map(([i])=>({props:{colorSeverity:i,variant:"outlined"},style:{color:t.vars?t.vars.palette.Alert[`${i}Color`]:e(t.palette[i].light,.6),border:`1px solid ${(t.vars||t).palette[i].light}`,[`& .${bl.icon}`]:t.vars?{color:t.vars.palette.Alert[`${i}IconColor`]}:{color:t.palette[i].main}}})),...Object.entries(t.palette).filter(([,i])=>i.main&&i.dark).map(([i])=>({props:{colorSeverity:i,variant:"filled"},style:k({fontWeight:t.typography.fontWeightMedium},t.vars?{color:t.vars.palette.Alert[`${i}FilledColor`],backgroundColor:t.vars.palette.Alert[`${i}FilledBg`]}:{backgroundColor:t.palette.mode==="dark"?t.palette[i].dark:t.palette[i].main,color:t.palette.getContrastText(t.palette[i].main)})}))]})}),fy=st("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(t,e)=>e.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),hy=st("div",{name:"MuiAlert",slot:"Message",overridesResolver:(t,e)=>e.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),xl=st("div",{name:"MuiAlert",slot:"Action",overridesResolver:(t,e)=>e.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Sl={success:B.jsx(iy,{fontSize:"inherit"}),warning:B.jsx(sy,{fontSize:"inherit"}),error:B.jsx(ay,{fontSize:"inherit"}),info:B.jsx(ly,{fontSize:"inherit"})},yy=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiAlert"}),{action:s,children:l,className:c,closeText:d="Close",color:f,components:g={},componentsProps:x={},icon:T,iconMapping:m=Sl,onClose:M,role:R="alert",severity:E="success",slotProps:A={},slots:h={},variant:$="standard"}=i,z=nt(i,uy),D=k({},i,{color:f,severity:E,variant:$,colorSeverity:f||E}),L=py(D),U={slots:k({closeButton:g.CloseButton,closeIcon:g.CloseIcon},h),slotProps:k({},x,A)},[C,at]=fl("closeButton",{elementType:vl,externalForwardedProps:U,ownerState:D}),[pt,K]=fl("closeIcon",{elementType:cy,externalForwardedProps:U,ownerState:D});return B.jsxs(dy,k({role:R,elevation:0,ownerState:D,className:J(L.root,c),ref:n},z,{children:[T!==!1?B.jsx(fy,{ownerState:D,className:L.icon,children:T||m[E]||Sl[E]}):null,B.jsx(hy,{ownerState:D,className:L.message,children:l}),s!=null?B.jsx(xl,{ownerState:D,className:L.action,children:s}):null,s==null&&M?B.jsx(xl,{ownerState:D,className:L.action,children:B.jsx(C,k({size:"small","aria-label":d,title:d,color:"inherit",onClick:M},at,{children:B.jsx(pt,k({fontSize:"small"},K))}))}):null]}))});function gy(t){return Ct("MuiTypography",t)}bt("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const my=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],by=t=>{const{align:e,gutterBottom:n,noWrap:i,paragraph:s,variant:l,classes:c}=t,d={root:["root",l,t.align!=="inherit"&&`align${H(e)}`,n&&"gutterBottom",i&&"noWrap",s&&"paragraph"]};return kt(d,gy,c)},vy=st("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.variant&&e[n.variant],n.align!=="inherit"&&e[`align${H(n.align)}`],n.noWrap&&e.noWrap,n.gutterBottom&&e.gutterBottom,n.paragraph&&e.paragraph]}})(({theme:t,ownerState:e})=>k({margin:0},e.variant==="inherit"&&{font:"inherit"},e.variant!=="inherit"&&t.typography[e.variant],e.align!=="inherit"&&{textAlign:e.align},e.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},e.gutterBottom&&{marginBottom:"0.35em"},e.paragraph&&{marginBottom:16})),wl={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},xy={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Sy=t=>xy[t]||t,X=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiTypography"}),s=Sy(i.color),l=bn(k({},i,{color:s})),{align:c="inherit",className:d,component:f,gutterBottom:g=!1,noWrap:x=!1,paragraph:T=!1,variant:m="body1",variantMapping:M=wl}=l,R=nt(l,my),E=k({},l,{align:c,color:s,className:d,component:f,gutterBottom:g,noWrap:x,paragraph:T,variant:m,variantMapping:M}),A=f||(T?"p":M[m]||wl[m])||"span",h=by(E);return B.jsx(vy,k({as:A,ref:n,ownerState:E,className:J(h.root,d)},R))}),wy=Mt(B.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function Cy(t){return Ct("MuiChip",t)}const xt=bt("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),ky=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],Ry=t=>{const{classes:e,disabled:n,size:i,color:s,iconColor:l,onDelete:c,clickable:d,variant:f}=t,g={root:["root",f,n&&"disabled",`size${H(i)}`,`color${H(s)}`,d&&"clickable",d&&`clickableColor${H(s)}`,c&&"deletable",c&&`deletableColor${H(s)}`,`${f}${H(s)}`],label:["label",`label${H(i)}`],avatar:["avatar",`avatar${H(i)}`,`avatarColor${H(s)}`],icon:["icon",`icon${H(i)}`,`iconColor${H(l)}`],deleteIcon:["deleteIcon",`deleteIcon${H(i)}`,`deleteIconColor${H(s)}`,`deleteIcon${H(f)}Color${H(s)}`]};return kt(g,Cy,e)},Ty=st("div",{name:"MuiChip",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t,{color:i,iconColor:s,clickable:l,onDelete:c,size:d,variant:f}=n;return[{[`& .${xt.avatar}`]:e.avatar},{[`& .${xt.avatar}`]:e[`avatar${H(d)}`]},{[`& .${xt.avatar}`]:e[`avatarColor${H(i)}`]},{[`& .${xt.icon}`]:e.icon},{[`& .${xt.icon}`]:e[`icon${H(d)}`]},{[`& .${xt.icon}`]:e[`iconColor${H(s)}`]},{[`& .${xt.deleteIcon}`]:e.deleteIcon},{[`& .${xt.deleteIcon}`]:e[`deleteIcon${H(d)}`]},{[`& .${xt.deleteIcon}`]:e[`deleteIconColor${H(i)}`]},{[`& .${xt.deleteIcon}`]:e[`deleteIcon${H(f)}Color${H(i)}`]},e.root,e[`size${H(d)}`],e[`color${H(i)}`],l&&e.clickable,l&&i!=="default"&&e[`clickableColor${H(i)})`],c&&e.deletable,c&&i!=="default"&&e[`deletableColor${H(i)}`],e[f],e[`${f}${H(i)}`]]}})(({theme:t,ownerState:e})=>{const n=t.palette.mode==="light"?t.palette.grey[700]:t.palette.grey[300];return k({maxWidth:"100%",fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(t.vars||t).palette.text.primary,backgroundColor:(t.vars||t).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:t.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${xt.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${xt.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:t.vars?t.vars.palette.Chip.defaultAvatarColor:n,fontSize:t.typography.pxToRem(12)},[`& .${xt.avatarColorPrimary}`]:{color:(t.vars||t).palette.primary.contrastText,backgroundColor:(t.vars||t).palette.primary.dark},[`& .${xt.avatarColorSecondary}`]:{color:(t.vars||t).palette.secondary.contrastText,backgroundColor:(t.vars||t).palette.secondary.dark},[`& .${xt.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:t.typography.pxToRem(10)},[`& .${xt.icon}`]:k({marginLeft:5,marginRight:-6},e.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},e.iconColor===e.color&&k({color:t.vars?t.vars.palette.Chip.defaultIconColor:n},e.color!=="default"&&{color:"inherit"})),[`& .${xt.deleteIcon}`]:k({WebkitTapHighlightColor:"transparent",color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.26)`:Tt(t.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.4)`:Tt(t.palette.text.primary,.4)}},e.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},e.color!=="default"&&{color:t.vars?`rgba(${t.vars.palette[e.color].contrastTextChannel} / 0.7)`:Tt(t.palette[e.color].contrastText,.7),"&:hover, &:active":{color:(t.vars||t).palette[e.color].contrastText}})},e.size==="small"&&{height:24},e.color!=="default"&&{backgroundColor:(t.vars||t).palette[e.color].main,color:(t.vars||t).palette[e.color].contrastText},e.onDelete&&{[`&.${xt.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:Tt(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},e.onDelete&&e.color!=="default"&&{[`&.${xt.focusVisible}`]:{backgroundColor:(t.vars||t).palette[e.color].dark}})},({theme:t,ownerState:e})=>k({},e.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Tt(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)},[`&.${xt.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:Tt(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)},"&:active":{boxShadow:(t.vars||t).shadows[1]}},e.clickable&&e.color!=="default"&&{[`&:hover, &.${xt.focusVisible}`]:{backgroundColor:(t.vars||t).palette[e.color].dark}}),({theme:t,ownerState:e})=>k({},e.variant==="outlined"&&{backgroundColor:"transparent",border:t.vars?`1px solid ${t.vars.palette.Chip.defaultBorder}`:`1px solid ${t.palette.mode==="light"?t.palette.grey[400]:t.palette.grey[700]}`,[`&.${xt.clickable}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${xt.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`& .${xt.avatar}`]:{marginLeft:4},[`& .${xt.avatarSmall}`]:{marginLeft:2},[`& .${xt.icon}`]:{marginLeft:4},[`& .${xt.iconSmall}`]:{marginLeft:2},[`& .${xt.deleteIcon}`]:{marginRight:5},[`& .${xt.deleteIconSmall}`]:{marginRight:3}},e.variant==="outlined"&&e.color!=="default"&&{color:(t.vars||t).palette[e.color].main,border:`1px solid ${t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / 0.7)`:Tt(t.palette[e.color].main,.7)}`,[`&.${xt.clickable}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette[e.color].main,t.palette.action.hoverOpacity)},[`&.${xt.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.focusOpacity})`:Tt(t.palette[e.color].main,t.palette.action.focusOpacity)},[`& .${xt.deleteIcon}`]:{color:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / 0.7)`:Tt(t.palette[e.color].main,.7),"&:hover, &:active":{color:(t.vars||t).palette[e.color].main}}})),Ey=st("span",{name:"MuiChip",slot:"Label",overridesResolver:(t,e)=>{const{ownerState:n}=t,{size:i}=n;return[e.label,e[`label${H(i)}`]]}})(({ownerState:t})=>k({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},t.variant==="outlined"&&{paddingLeft:11,paddingRight:11},t.size==="small"&&{paddingLeft:8,paddingRight:8},t.size==="small"&&t.variant==="outlined"&&{paddingLeft:7,paddingRight:7}));function Cl(t){return t.key==="Backspace"||t.key==="Delete"}const Pe=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiChip"}),{avatar:s,className:l,clickable:c,color:d="default",component:f,deleteIcon:g,disabled:x=!1,icon:T,label:m,onClick:M,onDelete:R,onKeyDown:E,onKeyUp:A,size:h="medium",variant:$="filled",tabIndex:z,skipFocusWhenDisabled:D=!1}=i,L=nt(i,ky),U=O.useRef(null),C=nr(U,n),at=ht=>{ht.stopPropagation(),R&&R(ht)},pt=ht=>{ht.currentTarget===ht.target&&Cl(ht)&&ht.preventDefault(),E&&E(ht)},K=ht=>{ht.currentTarget===ht.target&&(R&&Cl(ht)?R(ht):ht.key==="Escape"&&U.current&&U.current.blur()),A&&A(ht)},Y=c!==!1&&M?!0:c,Z=Y||R?fr:f||"div",N=k({},i,{component:Z,disabled:x,size:h,color:d,iconColor:O.isValidElement(T)&&T.props.color||d,onDelete:!!R,clickable:Y,variant:$}),Q=Ry(N),dt=Z===fr?k({component:f||"div",focusVisibleClassName:Q.focusVisible},R&&{disableRipple:!0}):{};let ft=null;R&&(ft=g&&O.isValidElement(g)?O.cloneElement(g,{className:J(g.props.className,Q.deleteIcon),onClick:at}):B.jsx(wy,{className:J(Q.deleteIcon),onClick:at}));let Et=null;s&&O.isValidElement(s)&&(Et=O.cloneElement(s,{className:J(Q.avatar,s.props.className)}));let gt=null;return T&&O.isValidElement(T)&&(gt=O.cloneElement(T,{className:J(Q.icon,T.props.className)})),B.jsxs(Ty,k({as:Z,className:J(Q.root,l),disabled:Y&&x?!0:void 0,onClick:M,onKeyDown:pt,onKeyUp:K,ref:C,tabIndex:D&&x?-1:z,ownerState:N},dt,L,{children:[Et||gt,B.jsx(Ey,{className:J(Q.label),ownerState:N,children:m}),ft]}))});function jy(t){return B.jsx(rd,k({},t,{defaultTheme:Ki,themeId:Tr}))}const $y=bt("MuiBox",["root"]),My=el(),ut=ad({themeId:Tr,defaultTheme:My,defaultClassName:$y.root,generateClassName:ga.generate});function Ay(t){return Ct("MuiButton",t)}const Ao=bt("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Py=O.createContext({}),Oy=O.createContext(void 0),Iy=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],By=t=>{const{color:e,disableElevation:n,fullWidth:i,size:s,variant:l,classes:c}=t,d={root:["root",l,`${l}${H(e)}`,`size${H(s)}`,`${l}Size${H(s)}`,`color${H(e)}`,n&&"disableElevation",i&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${H(s)}`],endIcon:["icon","endIcon",`iconSize${H(s)}`]},f=kt(d,Ay,c);return k({},c,f)},kl=t=>k({},t.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},t.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},t.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),zy=st(fr,{shouldForwardProp:t=>il(t)||t==="classes",name:"MuiButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`${n.variant}${H(n.color)}`],e[`size${H(n.size)}`],e[`${n.variant}Size${H(n.size)}`],n.color==="inherit"&&e.colorInherit,n.disableElevation&&e.disableElevation,n.fullWidth&&e.fullWidth]}})(({theme:t,ownerState:e})=>{var n,i;const s=t.palette.mode==="light"?t.palette.grey[300]:t.palette.grey[800],l=t.palette.mode==="light"?t.palette.grey.A100:t.palette.grey[700];return k({},t.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":k({textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},e.variant==="text"&&e.color!=="inherit"&&{backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette[e.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},e.variant==="outlined"&&e.color!=="inherit"&&{border:`1px solid ${(t.vars||t).palette[e.color].main}`,backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette[e.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},e.variant==="contained"&&{backgroundColor:t.vars?t.vars.palette.Button.inheritContainedHoverBg:l,boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2],backgroundColor:(t.vars||t).palette.grey[300]}},e.variant==="contained"&&e.color!=="inherit"&&{backgroundColor:(t.vars||t).palette[e.color].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[e.color].main}}),"&:active":k({},e.variant==="contained"&&{boxShadow:(t.vars||t).shadows[8]}),[`&.${Ao.focusVisible}`]:k({},e.variant==="contained"&&{boxShadow:(t.vars||t).shadows[6]}),[`&.${Ao.disabled}`]:k({color:(t.vars||t).palette.action.disabled},e.variant==="outlined"&&{border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},e.variant==="contained"&&{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground})},e.variant==="text"&&{padding:"6px 8px"},e.variant==="text"&&e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main},e.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},e.variant==="outlined"&&e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main,border:t.vars?`1px solid rgba(${t.vars.palette[e.color].mainChannel} / 0.5)`:`1px solid ${Tt(t.palette[e.color].main,.5)}`},e.variant==="contained"&&{color:t.vars?t.vars.palette.text.primary:(n=(i=t.palette).getContrastText)==null?void 0:n.call(i,t.palette.grey[300]),backgroundColor:t.vars?t.vars.palette.Button.inheritContainedBg:s,boxShadow:(t.vars||t).shadows[2]},e.variant==="contained"&&e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].contrastText,backgroundColor:(t.vars||t).palette[e.color].main},e.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},e.size==="small"&&e.variant==="text"&&{padding:"4px 5px",fontSize:t.typography.pxToRem(13)},e.size==="large"&&e.variant==="text"&&{padding:"8px 11px",fontSize:t.typography.pxToRem(15)},e.size==="small"&&e.variant==="outlined"&&{padding:"3px 9px",fontSize:t.typography.pxToRem(13)},e.size==="large"&&e.variant==="outlined"&&{padding:"7px 21px",fontSize:t.typography.pxToRem(15)},e.size==="small"&&e.variant==="contained"&&{padding:"4px 10px",fontSize:t.typography.pxToRem(13)},e.size==="large"&&e.variant==="contained"&&{padding:"8px 22px",fontSize:t.typography.pxToRem(15)},e.fullWidth&&{width:"100%"})},({ownerState:t})=>t.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Ao.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Ao.disabled}`]:{boxShadow:"none"}}),Ny=st("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.startIcon,e[`iconSize${H(n.size)}`]]}})(({ownerState:t})=>k({display:"inherit",marginRight:8,marginLeft:-4},t.size==="small"&&{marginLeft:-2},kl(t))),_y=st("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.endIcon,e[`iconSize${H(n.size)}`]]}})(({ownerState:t})=>k({display:"inherit",marginRight:-4,marginLeft:8},t.size==="small"&&{marginRight:-2},kl(t))),Fy=O.forwardRef(function(e,n){const i=O.useContext(Py),s=O.useContext(Oy),l=vn(i,e),c=vt({props:l,name:"MuiButton"}),{children:d,color:f="primary",component:g="button",className:x,disabled:T=!1,disableElevation:m=!1,disableFocusRipple:M=!1,endIcon:R,focusVisibleClassName:E,fullWidth:A=!1,size:h="medium",startIcon:$,type:z,variant:D="text"}=c,L=nt(c,Iy),U=k({},c,{color:f,component:g,disabled:T,disableElevation:m,disableFocusRipple:M,fullWidth:A,size:h,type:z,variant:D}),C=By(U),at=$&&B.jsx(Ny,{className:C.startIcon,ownerState:U,children:$}),pt=R&&B.jsx(_y,{className:C.endIcon,ownerState:U,children:R}),K=s||"";return B.jsxs(zy,k({ownerState:U,className:J(i.className,C.root,x,K),component:g,disabled:T,focusRipple:!M,focusVisibleClassName:J(C.focusVisible,E),ref:n,type:z},L,{classes:C,children:[at,d,pt]}))});function Dy(t){return Ct("MuiCard",t)}bt("MuiCard",["root"]);const Ly=["className","raised"],Wy=t=>{const{classes:e}=t;return kt({root:["root"]},Dy,e)},Uy=st($o,{name:"MuiCard",slot:"Root",overridesResolver:(t,e)=>e.root})(()=>({overflow:"hidden"})),_r=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiCard"}),{className:s,raised:l=!1}=i,c=nt(i,Ly),d=k({},i,{raised:l}),f=Wy(d);return B.jsx(Uy,k({className:J(f.root,s),elevation:l?8:void 0,ref:n,ownerState:d},c))});function Vy(t){return Ct("MuiCardContent",t)}bt("MuiCardContent",["root"]);const Hy=["className","component"],Gy=t=>{const{classes:e}=t;return kt({root:["root"]},Vy,e)},Ky=st("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(t,e)=>e.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),Fr=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiCardContent"}),{className:s,component:l="div"}=i,c=nt(i,Hy),d=k({},i,{component:l}),f=Gy(d);return B.jsx(Ky,k({as:l,className:J(f.root,s),ownerState:d,ref:n},c))}),qy=(t,e)=>k({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},e&&!t.vars&&{colorScheme:t.palette.mode}),Yy=t=>k({color:(t.vars||t).palette.text.primary},t.typography.body1,{backgroundColor:(t.vars||t).palette.background.default,"@media print":{backgroundColor:(t.vars||t).palette.common.white}}),Xy=(t,e=!1)=>{var n;const i={};e&&t.colorSchemes&&Object.entries(t.colorSchemes).forEach(([c,d])=>{var f;i[t.getColorSchemeSelector(c).replace(/\s*&/,"")]={colorScheme:(f=d.palette)==null?void 0:f.mode}});let s=k({html:qy(t,e),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:k({margin:0},Yy(t),{"&::backdrop":{backgroundColor:(t.vars||t).palette.background.default}})},i);const l=(n=t.components)==null||(n=n.MuiCssBaseline)==null?void 0:n.styleOverrides;return l&&(s=[s,l]),s};function Zy(t){const e=vt({props:t,name:"MuiCssBaseline"}),{children:n,enableColorScheme:i=!1}=e;return B.jsxs(O.Fragment,{children:[B.jsx(jy,{styles:s=>Xy(s,i)}),n]})}function Jy(t){return Ct("MuiDivider",t)}bt("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const Qy=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],tg=t=>{const{absolute:e,children:n,classes:i,flexItem:s,light:l,orientation:c,textAlign:d,variant:f}=t;return kt({root:["root",e&&"absolute",f,l&&"light",c==="vertical"&&"vertical",s&&"flexItem",n&&"withChildren",n&&c==="vertical"&&"withChildrenVertical",d==="right"&&c!=="vertical"&&"textAlignRight",d==="left"&&c!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",c==="vertical"&&"wrapperVertical"]},Jy,i)},eg=st("div",{name:"MuiDivider",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.absolute&&e.absolute,e[n.variant],n.light&&e.light,n.orientation==="vertical"&&e.vertical,n.flexItem&&e.flexItem,n.children&&e.withChildren,n.children&&n.orientation==="vertical"&&e.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&e.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&e.textAlignLeft]}})(({theme:t,ownerState:e})=>k({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},e.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},e.light&&{borderColor:t.vars?`rgba(${t.vars.palette.dividerChannel} / 0.08)`:Tt(t.palette.divider,.08)},e.variant==="inset"&&{marginLeft:72},e.variant==="middle"&&e.orientation==="horizontal"&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},e.variant==="middle"&&e.orientation==="vertical"&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},e.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},e.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:t})=>k({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:t,ownerState:e})=>k({},e.children&&e.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(t.vars||t).palette.divider}`,borderTopStyle:"inherit"}}),({theme:t,ownerState:e})=>k({},e.children&&e.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(t.vars||t).palette.divider}`,borderLeftStyle:"inherit"}}),({ownerState:t})=>k({},t.textAlign==="right"&&t.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},t.textAlign==="left"&&t.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),rg=st("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.wrapper,n.orientation==="vertical"&&e.wrapperVertical]}})(({theme:t,ownerState:e})=>k({display:"inline-block",paddingLeft:`calc(${t.spacing(1)} * 1.2)`,paddingRight:`calc(${t.spacing(1)} * 1.2)`},e.orientation==="vertical"&&{paddingTop:`calc(${t.spacing(1)} * 1.2)`,paddingBottom:`calc(${t.spacing(1)} * 1.2)`})),Rl=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiDivider"}),{absolute:s=!1,children:l,className:c,component:d=l?"div":"hr",flexItem:f=!1,light:g=!1,orientation:x="horizontal",role:T=d!=="hr"?"separator":void 0,textAlign:m="center",variant:M="fullWidth"}=i,R=nt(i,Qy),E=k({},i,{absolute:s,component:d,flexItem:f,light:g,orientation:x,role:T,textAlign:m,variant:M}),A=tg(E);return B.jsx(eg,k({as:d,className:J(A.root,c),role:T,ref:n,ownerState:E},R,{children:l?B.jsx(rg,{className:A.wrapper,ownerState:E,children:l}):null}))});Rl.muiSkipListHighlight=!0;const ng=Rl,Tl=sf({createStyledComponent:st("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,e)=>e.root}),useThemeProps:t=>vt({props:t,name:"MuiStack"})}),El=O.createContext();function og(t){return Ct("MuiGrid",t)}const ig=[0,1,2,3,4,5,6,7,8,9,10],sg=["column-reverse","column","row-reverse","row"],ag=["nowrap","wrap-reverse","wrap"],kn=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],Rn=bt("MuiGrid",["root","container","item","zeroMinWidth",...ig.map(t=>`spacing-xs-${t}`),...sg.map(t=>`direction-xs-${t}`),...ag.map(t=>`wrap-xs-${t}`),...kn.map(t=>`grid-xs-${t}`),...kn.map(t=>`grid-sm-${t}`),...kn.map(t=>`grid-md-${t}`),...kn.map(t=>`grid-lg-${t}`),...kn.map(t=>`grid-xl-${t}`)]),lg=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function Dr(t){const e=parseFloat(t);return`${e}${String(t).replace(String(e),"")||"px"}`}function cg({theme:t,ownerState:e}){let n;return t.breakpoints.keys.reduce((i,s)=>{let l={};if(e[s]&&(n=e[s]),!n)return i;if(n===!0)l={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")l={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const c=ar({values:e.columns,breakpoints:t.breakpoints.values}),d=typeof c=="object"?c[s]:c;if(d==null)return i;const f=`${Math.round(n/d*1e8)/1e6}%`;let g={};if(e.container&&e.item&&e.columnSpacing!==0){const x=t.spacing(e.columnSpacing);if(x!=="0px"){const T=`calc(${f} + ${Dr(x)})`;g={flexBasis:T,maxWidth:T}}}l=k({flexBasis:f,flexGrow:0,maxWidth:f},g)}return t.breakpoints.values[s]===0?Object.assign(i,l):i[t.breakpoints.up(s)]=l,i},{})}function ug({theme:t,ownerState:e}){const n=ar({values:e.direction,breakpoints:t.breakpoints.values});return se({theme:t},n,i=>{const s={flexDirection:i};return i.indexOf("column")===0&&(s[`& > .${Rn.item}`]={maxWidth:"none"}),s})}function jl({breakpoints:t,values:e}){let n="";Object.keys(e).forEach(s=>{n===""&&e[s]!==0&&(n=s)});const i=Object.keys(t).sort((s,l)=>t[s]-t[l]);return i.slice(0,i.indexOf(n))}function pg({theme:t,ownerState:e}){const{container:n,rowSpacing:i}=e;let s={};if(n&&i!==0){const l=ar({values:i,breakpoints:t.breakpoints.values});let c;typeof l=="object"&&(c=jl({breakpoints:t.breakpoints.values,values:l})),s=se({theme:t},l,(d,f)=>{var g;const x=t.spacing(d);return x!=="0px"?{marginTop:`-${Dr(x)}`,[`& > .${Rn.item}`]:{paddingTop:Dr(x)}}:(g=c)!=null&&g.includes(f)?{}:{marginTop:0,[`& > .${Rn.item}`]:{paddingTop:0}}})}return s}function dg({theme:t,ownerState:e}){const{container:n,columnSpacing:i}=e;let s={};if(n&&i!==0){const l=ar({values:i,breakpoints:t.breakpoints.values});let c;typeof l=="object"&&(c=jl({breakpoints:t.breakpoints.values,values:l})),s=se({theme:t},l,(d,f)=>{var g;const x=t.spacing(d);return x!=="0px"?{width:`calc(100% + ${Dr(x)})`,marginLeft:`-${Dr(x)}`,[`& > .${Rn.item}`]:{paddingLeft:Dr(x)}}:(g=c)!=null&&g.includes(f)?{}:{width:"100%",marginLeft:0,[`& > .${Rn.item}`]:{paddingLeft:0}}})}return s}function fg(t,e,n={}){if(!t||t<=0)return[];if(typeof t=="string"&&!Number.isNaN(Number(t))||typeof t=="number")return[n[`spacing-xs-${String(t)}`]];const i=[];return e.forEach(s=>{const l=t[s];Number(l)>0&&i.push(n[`spacing-${s}-${String(l)}`])}),i}const hg=st("div",{name:"MuiGrid",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t,{container:i,direction:s,item:l,spacing:c,wrap:d,zeroMinWidth:f,breakpoints:g}=n;let x=[];i&&(x=fg(c,g,e));const T=[];return g.forEach(m=>{const M=n[m];M&&T.push(e[`grid-${m}-${String(M)}`])}),[e.root,i&&e.container,l&&e.item,f&&e.zeroMinWidth,...x,s!=="row"&&e[`direction-xs-${String(s)}`],d!=="wrap"&&e[`wrap-xs-${String(d)}`],...T]}})(({ownerState:t})=>k({boxSizing:"border-box"},t.container&&{display:"flex",flexWrap:"wrap",width:"100%"},t.item&&{margin:0},t.zeroMinWidth&&{minWidth:0},t.wrap!=="wrap"&&{flexWrap:t.wrap}),ug,pg,dg,cg);function yg(t,e){if(!t||t<=0)return[];if(typeof t=="string"&&!Number.isNaN(Number(t))||typeof t=="number")return[`spacing-xs-${String(t)}`];const n=[];return e.forEach(i=>{const s=t[i];if(Number(s)>0){const l=`spacing-${i}-${String(s)}`;n.push(l)}}),n}const gg=t=>{const{classes:e,container:n,direction:i,item:s,spacing:l,wrap:c,zeroMinWidth:d,breakpoints:f}=t;let g=[];n&&(g=yg(l,f));const x=[];f.forEach(m=>{const M=t[m];M&&x.push(`grid-${m}-${String(M)}`)});const T={root:["root",n&&"container",s&&"item",d&&"zeroMinWidth",...g,i!=="row"&&`direction-xs-${String(i)}`,c!=="wrap"&&`wrap-xs-${String(c)}`,...x]};return kt(T,og,e)},or=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiGrid"}),{breakpoints:s}=qi(),l=bn(i),{className:c,columns:d,columnSpacing:f,component:g="div",container:x=!1,direction:T="row",item:m=!1,rowSpacing:M,spacing:R=0,wrap:E="wrap",zeroMinWidth:A=!1}=l,h=nt(l,lg),$=M||R,z=f||R,D=O.useContext(El),L=x?d||12:D,U={},C=k({},h);s.keys.forEach(K=>{h[K]!=null&&(U[K]=h[K],delete C[K])});const at=k({},l,{columns:L,container:x,direction:T,item:m,rowSpacing:$,columnSpacing:z,wrap:E,zeroMinWidth:A,spacing:R},U,{breakpoints:s.keys}),pt=gg(at);return B.jsx(El.Provider,{value:L,children:B.jsx(hg,k({ownerState:at,className:J(pt.root,c),as:g,ref:n},C))})});function mg(t){return Ct("MuiLinearProgress",t)}bt("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const bg=["className","color","value","valueBuffer","variant"];let Lr=t=>t,$l,Ml,Al,Pl,Ol,Il;const rs=4,vg=sr($l||($l=Lr`103 `),qe.rippleVisible,by,Qs,({theme:t})=>t.transitions.easing.easeInOut,qe.ripplePulsate,({theme:t})=>t.transitions.duration.shorter,qe.child,qe.childLeaving,vy,Qs,({theme:t})=>t.transitions.easing.easeInOut,qe.childPulsate,xy,({theme:t})=>t.transitions.easing.easeInOut),Cy=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiTouchRipple"}),{center:s=!1,classes:a={},className:c}=o,p=at(o,yy),[d,g]=M.useState([]),m=M.useRef(0),S=M.useRef(null);M.useEffect(()=>{S.current&&(S.current(),S.current=null)},[d]);const y=M.useRef(!1),j=Fr(),k=M.useRef(null),E=M.useRef(null),A=M.useCallback(I=>{const{pulsate:z,rippleX:N,rippleY:x,rippleSize:V,cb:G}=I;g(L=>[...L,F.jsx(Sy,{classes:{ripple:ot(a.ripple,qe.ripple),rippleVisible:ot(a.rippleVisible,qe.rippleVisible),ripplePulsate:ot(a.ripplePulsate,qe.ripplePulsate),child:ot(a.child,qe.child),childLeaving:ot(a.childLeaving,qe.childLeaving),childPulsate:ot(a.childPulsate,qe.childPulsate)},timeout:Qs,pulsate:z,rippleX:N,rippleY:x,rippleSize:V},m.current)]),m.current+=1,S.current=G},[a]),h=M.useCallback((I={},z={},N=()=>{})=>{const{pulsate:x=!1,center:V=s||z.pulsate,fakeElement:G=!1}=z;if((I==null?void 0:I.type)==="mousedown"&&y.current){y.current=!1;return}(I==null?void 0:I.type)==="touchstart"&&(y.current=!0);const L=G?null:E.current,K=L?L.getBoundingClientRect():{width:0,height:0,left:0,top:0};let J,_,Q;if(V||I===void 0||I.clientX===0&&I.clientY===0||!I.clientX&&!I.touches)J=Math.round(K.width/2),_=Math.round(K.height/2);else{const{clientX:q,clientY:tt}=I.touches&&I.touches.length>0?I.touches[0]:I;J=Math.round(q-K.left),_=Math.round(tt-K.top)}if(V)Q=Math.sqrt((2*K.width**2+K.height**2)/3),Q%2===0&&(Q+=1);else{const q=Math.max(Math.abs((L?L.clientWidth:0)-J),J)*2+2,tt=Math.max(Math.abs((L?L.clientHeight:0)-_),_)*2+2;Q=Math.sqrt(q**2+tt**2)}I!=null&&I.touches?k.current===null&&(k.current=()=>{A({pulsate:x,rippleX:J,rippleY:_,rippleSize:Q,cb:N})},j.start(my,()=>{k.current&&(k.current(),k.current=null)})):A({pulsate:x,rippleX:J,rippleY:_,rippleSize:Q,cb:N})},[s,A,j]),P=M.useCallback(()=>{h({},{pulsate:!0})},[h]),D=M.useCallback((I,z)=>{if(j.clear(),(I==null?void 0:I.type)==="touchend"&&k.current){k.current(),k.current=null,j.start(0,()=>{D(I,z)});return}k.current=null,g(N=>N.length>0?N.slice(1):N),S.current=z},[j]);return M.useImperativeHandle(n,()=>({pulsate:P,start:h,stop:D}),[P,h,D]),F.jsx(wy,T({className:ot(qe.root,a.root,c),ref:E},p,{children:F.jsx(Qg,{component:null,exit:!0,children:d})}))});function Ry(t){return kt("MuiButtonBase",t)}const Ey=Et("MuiButtonBase",["root","disabled","focusVisible"]),Ty=["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"],ky=t=>{const{disabled:e,focusVisible:n,focusVisibleClassName:o,classes:s}=t,c=jt({root:["root",e&&"disabled",n&&"focusVisible"]},Ry,s);return n&&o&&(c.root+=` ${o}`),c},jy=ht("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Ey.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),_r=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiButtonBase"}),{action:s,centerRipple:a=!1,children:c,className:p,component:d="button",disabled:g=!1,disableRipple:m=!1,disableTouchRipple:S=!1,focusRipple:y=!1,LinkComponent:j="a",onBlur:k,onClick:E,onContextMenu:A,onDragLeave:h,onFocus:P,onFocusVisible:D,onKeyDown:I,onKeyUp:z,onMouseDown:N,onMouseLeave:x,onMouseUp:V,onTouchEnd:G,onTouchMove:L,onTouchStart:K,tabIndex:J=0,TouchRippleProps:_,touchRippleRef:Q,type:q}=o,tt=at(o,Ty),dt=M.useRef(null),bt=M.useRef(null),it=ze(bt,Q),{isFocusVisibleRef:xt,onFocus:Ct,onBlur:Qt,ref:fe}=Ns(),[Ft,Wt]=M.useState(!1);g&&Ft&&Wt(!1),M.useImperativeHandle(s,()=>({focusVisible:()=>{Wt(!0),dt.current.focus()}}),[]);const[st,rt]=M.useState(!1);M.useEffect(()=>{rt(!0)},[]);const nt=st&&!m&&!g;M.useEffect(()=>{Ft&&y&&!m&&st&&bt.current.pulsate()},[m,y,Ft,st]);function Rt(yt,le,B=S){return gr(Re=>(le&&le(Re),!B&&bt.current&&bt.current[yt](Re),!0))}const ut=Rt("start",N),u=Rt("stop",A),w=Rt("stop",h),H=Rt("stop",V),he=Rt("stop",yt=>{Ft&&yt.preventDefault(),x&&x(yt)}),te=Rt("start",K),Ce=Rt("stop",G),ee=Rt("stop",L),ae=Rt("stop",yt=>{Qt(yt),xt.current===!1&&Wt(!1),k&&k(yt)},!1),Ae=gr(yt=>{dt.current||(dt.current=yt.currentTarget),Ct(yt),xt.current===!0&&(Wt(!0),D&&D(yt)),P&&P(yt)}),Lt=()=>{const yt=dt.current;return d&&d!=="button"&&!(yt.tagName==="A"&&yt.href)},ye=M.useRef(!1),me=gr(yt=>{y&&!ye.current&&Ft&&bt.current&&yt.key===" "&&(ye.current=!0,bt.current.stop(yt,()=>{bt.current.start(yt)})),yt.target===yt.currentTarget&&Lt()&&yt.key===" "&&yt.preventDefault(),I&&I(yt),yt.target===yt.currentTarget&&Lt()&&yt.key==="Enter"&&!g&&(yt.preventDefault(),E&&E(yt))}),be=gr(yt=>{y&&yt.key===" "&&bt.current&&Ft&&!yt.defaultPrevented&&(ye.current=!1,bt.current.stop(yt,()=>{bt.current.pulsate(yt)})),z&&z(yt),E&&yt.target===yt.currentTarget&&Lt()&&yt.key===" "&&!yt.defaultPrevented&&E(yt)});let ue=d;ue==="button"&&(tt.href||tt.to)&&(ue=j);const ve={};ue==="button"?(ve.type=q===void 0?"button":q,ve.disabled=g):(!tt.href&&!tt.to&&(ve.role="button"),g&&(ve["aria-disabled"]=g));const xe=ze(n,fe,dt),_e=T({},o,{centerRipple:a,component:d,disabled:g,disableRipple:m,disableTouchRipple:S,focusRipple:y,tabIndex:J,focusVisible:Ft}),ar=ky(_e);return F.jsxs(jy,T({as:ue,className:ot(ar.root,p),ownerState:_e,onBlur:ae,onClick:E,onContextMenu:u,onFocus:Ae,onKeyDown:me,onKeyUp:be,onMouseDown:ut,onMouseLeave:he,onMouseUp:H,onDragLeave:w,onTouchEnd:Ce,onTouchMove:ee,onTouchStart:te,ref:xe,tabIndex:g?-1:J,type:q},ve,tt,{children:[c,nt?F.jsx(Cy,T({ref:it,center:a},_)):null]}))});function Py(t){return kt("MuiAlert",t)}const kc=Et("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function $y(t){return kt("MuiIconButton",t)}const My=Et("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Ay=["edge","children","className","color","disabled","disableFocusRipple","size"],Oy=t=>{const{classes:e,disabled:n,color:o,edge:s,size:a}=t,c={root:["root",n&&"disabled",o!=="default"&&`color${X(o)}`,s&&`edge${X(s)}`,`size${X(a)}`]};return jt(c,$y,e)},Iy=ht(_r,{name:"MuiIconButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.color!=="default"&&e[`color${X(n.color)}`],n.edge&&e[`edge${X(n.edge)}`],e[`size${X(n.size)}`]]}})(({theme:t,ownerState:e})=>T({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})},!e.disableRipple&&{"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:Ot(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12}),({theme:t,ownerState:e})=>{var n;const o=(n=(t.vars||t).palette)==null?void 0:n[e.color];return T({},e.color==="inherit"&&{color:"inherit"},e.color!=="inherit"&&e.color!=="default"&&T({color:o==null?void 0:o.main},!e.disableRipple&&{"&:hover":T({},o&&{backgroundColor:t.vars?`rgba(${o.mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Ot(o.main,t.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),e.size==="small"&&{padding:5,fontSize:t.typography.pxToRem(18)},e.size==="large"&&{padding:12,fontSize:t.typography.pxToRem(28)},{[`&.${My.disabled}`]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled}})}),ta=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiIconButton"}),{edge:s=!1,children:a,className:c,color:p="default",disabled:d=!1,disableFocusRipple:g=!1,size:m="medium"}=o,S=at(o,Ay),y=T({},o,{edge:s,color:p,disabled:d,disableFocusRipple:g,size:m}),j=Oy(y);return F.jsx(Iy,T({className:ot(j.root,c),centerRipple:!0,focusRipple:!g,disabled:d,ref:n},S,{ownerState:y,children:a}))}),By=zt(F.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),Fy=zt(F.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),zy=zt(F.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),Dy=zt(F.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),Ny=zt(F.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),_y=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],Ly=t=>{const{variant:e,color:n,severity:o,classes:s}=t,a={root:["root",`color${X(n||o)}`,`${e}${X(n||o)}`,`${e}`],icon:["icon"],message:["message"],action:["action"]};return jt(a,Py,s)},Wy=ht(bi,{name:"MuiAlert",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`${n.variant}${X(n.color||n.severity)}`]]}})(({theme:t})=>{const e=t.palette.mode==="light"?Zn:Qn,n=t.palette.mode==="light"?Qn:Zn;return T({},t.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(t.palette).filter(([,o])=>o.main&&o.light).map(([o])=>({props:{colorSeverity:o,variant:"standard"},style:{color:t.vars?t.vars.palette.Alert[`${o}Color`]:e(t.palette[o].light,.6),backgroundColor:t.vars?t.vars.palette.Alert[`${o}StandardBg`]:n(t.palette[o].light,.9),[`& .${kc.icon}`]:t.vars?{color:t.vars.palette.Alert[`${o}IconColor`]}:{color:t.palette[o].main}}})),...Object.entries(t.palette).filter(([,o])=>o.main&&o.light).map(([o])=>({props:{colorSeverity:o,variant:"outlined"},style:{color:t.vars?t.vars.palette.Alert[`${o}Color`]:e(t.palette[o].light,.6),border:`1px solid ${(t.vars||t).palette[o].light}`,[`& .${kc.icon}`]:t.vars?{color:t.vars.palette.Alert[`${o}IconColor`]}:{color:t.palette[o].main}}})),...Object.entries(t.palette).filter(([,o])=>o.main&&o.dark).map(([o])=>({props:{colorSeverity:o,variant:"filled"},style:T({fontWeight:t.typography.fontWeightMedium},t.vars?{color:t.vars.palette.Alert[`${o}FilledColor`],backgroundColor:t.vars.palette.Alert[`${o}FilledBg`]}:{backgroundColor:t.palette.mode==="dark"?t.palette[o].dark:t.palette[o].main,color:t.palette.getContrastText(t.palette[o].main)})}))]})}),Uy=ht("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(t,e)=>e.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),Hy=ht("div",{name:"MuiAlert",slot:"Message",overridesResolver:(t,e)=>e.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),jc=ht("div",{name:"MuiAlert",slot:"Action",overridesResolver:(t,e)=>e.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Pc={success:F.jsx(By,{fontSize:"inherit"}),warning:F.jsx(Fy,{fontSize:"inherit"}),error:F.jsx(zy,{fontSize:"inherit"}),info:F.jsx(Dy,{fontSize:"inherit"})},Gy=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiAlert"}),{action:s,children:a,className:c,closeText:p="Close",color:d,components:g={},componentsProps:m={},icon:S,iconMapping:y=Pc,onClose:j,role:k="alert",severity:E="success",slotProps:A={},slots:h={},variant:P="standard"}=o,D=at(o,_y),I=T({},o,{color:d,severity:E,variant:P,colorSeverity:d||E}),z=Ly(I),N={slots:T({closeButton:g.CloseButton,closeIcon:g.CloseIcon},h),slotProps:T({},m,A)},[x,V]=Sc("closeButton",{elementType:ta,externalForwardedProps:N,ownerState:I}),[G,L]=Sc("closeIcon",{elementType:Ny,externalForwardedProps:N,ownerState:I});return F.jsxs(Wy,T({role:k,elevation:0,ownerState:I,className:ot(z.root,c),ref:n},D,{children:[S!==!1?F.jsx(Uy,{ownerState:I,className:z.icon,children:S||y[E]||Pc[E]}):null,F.jsx(Hy,{ownerState:I,className:z.message,children:a}),s!=null?F.jsx(jc,{ownerState:I,className:z.action,children:s}):null,s==null&&j?F.jsx(jc,{ownerState:I,className:z.action,children:F.jsx(x,T({size:"small","aria-label":p,title:p,color:"inherit",onClick:j},V,{children:F.jsx(G,T({fontSize:"small"},L))}))}):null]}))});function Vy(t){return kt("MuiTypography",t)}Et("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Ky=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Yy=t=>{const{align:e,gutterBottom:n,noWrap:o,paragraph:s,variant:a,classes:c}=t,p={root:["root",a,t.align!=="inherit"&&`align${X(e)}`,n&&"gutterBottom",o&&"noWrap",s&&"paragraph"]};return jt(p,Vy,c)},qy=ht("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.variant&&e[n.variant],n.align!=="inherit"&&e[`align${X(n.align)}`],n.noWrap&&e.noWrap,n.gutterBottom&&e.gutterBottom,n.paragraph&&e.paragraph]}})(({theme:t,ownerState:e})=>T({margin:0},e.variant==="inherit"&&{font:"inherit"},e.variant!=="inherit"&&t.typography[e.variant],e.align!=="inherit"&&{textAlign:e.align},e.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},e.gutterBottom&&{marginBottom:"0.35em"},e.paragraph&&{marginBottom:16})),$c={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Xy={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Jy=t=>Xy[t]||t,et=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiTypography"}),s=Jy(o.color),a=Yn(T({},o,{color:s})),{align:c="inherit",className:p,component:d,gutterBottom:g=!1,noWrap:m=!1,paragraph:S=!1,variant:y="body1",variantMapping:j=$c}=a,k=at(a,Ky),E=T({},a,{align:c,color:s,className:p,component:d,gutterBottom:g,noWrap:m,paragraph:S,variant:y,variantMapping:j}),A=d||(S?"p":j[y]||$c[y])||"span",h=Yy(E);return F.jsx(qy,T({as:A,ref:n,ownerState:E,className:ot(h.root,p)},k))});var ea={};Object.defineProperty(ea,"__esModule",{value:!0});var Mc=ea.default=void 0,Zy=tm(St),Qy=pc;function Ac(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(Ac=function(o){return o?n:e})(t)}function tm(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var n=Ac(e);if(n&&n.has(t))return n.get(t);var o={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if(a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)){var c=s?Object.getOwnPropertyDescriptor(t,a):null;c&&(c.get||c.set)?Object.defineProperty(o,a,c):o[a]=t[a]}return o.default=t,n&&n.set(t,o),o}function em(t){return Object.keys(t).length===0}function rm(t=null){const e=Zy.useContext(Qy.ThemeContext);return!e||em(e)?t:e}Mc=ea.default=rm;var $e="top",Xe="bottom",Je="right",Me="left",ra="auto",no=[$e,Xe,Je,Me],dn="start",oo="end",nm="clippingParents",Oc="viewport",io="popper",om="reference",Ic=no.reduce(function(t,e){return t.concat([e+"-"+dn,e+"-"+oo])},[]),Bc=[].concat(no,[ra]).reduce(function(t,e){return t.concat([e,e+"-"+dn,e+"-"+oo])},[]),im="beforeRead",sm="read",am="afterRead",lm="beforeMain",cm="main",um="afterMain",pm="beforeWrite",dm="write",fm="afterWrite",hm=[im,sm,am,lm,cm,um,pm,dm,fm];function dr(t){return t?(t.nodeName||"").toLowerCase():null}function De(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Lr(t){var e=De(t).Element;return t instanceof e||t instanceof Element}function Ze(t){var e=De(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function na(t){if(typeof ShadowRoot>"u")return!1;var e=De(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function gm(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var o=e.styles[n]||{},s=e.attributes[n]||{},a=e.elements[n];!Ze(a)||!dr(a)||(Object.assign(a.style,o),Object.keys(s).forEach(function(c){var p=s[c];p===!1?a.removeAttribute(c):a.setAttribute(c,p===!0?"":p)}))})}function ym(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(o){var s=e.elements[o],a=e.attributes[o]||{},c=Object.keys(e.styles.hasOwnProperty(o)?e.styles[o]:n[o]),p=c.reduce(function(d,g){return d[g]="",d},{});!Ze(s)||!dr(s)||(Object.assign(s.style,p),Object.keys(a).forEach(function(d){s.removeAttribute(d)}))})}}const mm={name:"applyStyles",enabled:!0,phase:"write",fn:gm,effect:ym,requires:["computeStyles"]};function fr(t){return t.split("-")[0]}var Wr=Math.max,xi=Math.min,fn=Math.round;function oa(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Fc(){return!/^((?!chrome|android).)*safari/i.test(oa())}function hn(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var o=t.getBoundingClientRect(),s=1,a=1;e&&Ze(t)&&(s=t.offsetWidth>0&&fn(o.width)/t.offsetWidth||1,a=t.offsetHeight>0&&fn(o.height)/t.offsetHeight||1);var c=Lr(t)?De(t):window,p=c.visualViewport,d=!Fc()&&n,g=(o.left+(d&&p?p.offsetLeft:0))/s,m=(o.top+(d&&p?p.offsetTop:0))/a,S=o.width/s,y=o.height/a;return{width:S,height:y,top:m,right:g+S,bottom:m+y,left:g,x:g,y:m}}function ia(t){var e=hn(t),n=t.offsetWidth,o=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-o)<=1&&(o=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:o}}function zc(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&na(n)){var o=e;do{if(o&&t.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function mr(t){return De(t).getComputedStyle(t)}function bm(t){return["table","td","th"].indexOf(dr(t))>=0}function Cr(t){return((Lr(t)?t.ownerDocument:t.document)||window.document).documentElement}function wi(t){return dr(t)==="html"?t:t.assignedSlot||t.parentNode||(na(t)?t.host:null)||Cr(t)}function Dc(t){return!Ze(t)||mr(t).position==="fixed"?null:t.offsetParent}function vm(t){var e=/firefox/i.test(oa()),n=/Trident/i.test(oa());if(n&&Ze(t)){var o=mr(t);if(o.position==="fixed")return null}var s=wi(t);for(na(s)&&(s=s.host);Ze(s)&&["html","body"].indexOf(dr(s))<0;){var a=mr(s);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||e&&a.willChange==="filter"||e&&a.filter&&a.filter!=="none")return s;s=s.parentNode}return null}function so(t){for(var e=De(t),n=Dc(t);n&&bm(n)&&mr(n).position==="static";)n=Dc(n);return n&&(dr(n)==="html"||dr(n)==="body"&&mr(n).position==="static")?e:n||vm(t)||e}function sa(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function ao(t,e,n){return Wr(t,xi(e,n))}function xm(t,e,n){var o=ao(t,e,n);return o>n?n:o}function Nc(){return{top:0,right:0,bottom:0,left:0}}function _c(t){return Object.assign({},Nc(),t)}function Lc(t,e){return e.reduce(function(n,o){return n[o]=t,n},{})}var wm=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,_c(typeof e!="number"?e:Lc(e,no))};function Sm(t){var e,n=t.state,o=t.name,s=t.options,a=n.elements.arrow,c=n.modifiersData.popperOffsets,p=fr(n.placement),d=sa(p),g=[Me,Je].indexOf(p)>=0,m=g?"height":"width";if(!(!a||!c)){var S=wm(s.padding,n),y=ia(a),j=d==="y"?$e:Me,k=d==="y"?Xe:Je,E=n.rects.reference[m]+n.rects.reference[d]-c[d]-n.rects.popper[m],A=c[d]-n.rects.reference[d],h=so(a),P=h?d==="y"?h.clientHeight||0:h.clientWidth||0:0,D=E/2-A/2,I=S[j],z=P-y[m]-S[k],N=P/2-y[m]/2+D,x=ao(I,N,z),V=d;n.modifiersData[o]=(e={},e[V]=x,e.centerOffset=x-N,e)}}function Cm(t){var e=t.state,n=t.options,o=n.element,s=o===void 0?"[data-popper-arrow]":o;s!=null&&(typeof s=="string"&&(s=e.elements.popper.querySelector(s),!s)||zc(e.elements.popper,s)&&(e.elements.arrow=s))}const Rm={name:"arrow",enabled:!0,phase:"main",fn:Sm,effect:Cm,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function gn(t){return t.split("-")[1]}var Em={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Tm(t,e){var n=t.x,o=t.y,s=e.devicePixelRatio||1;return{x:fn(n*s)/s||0,y:fn(o*s)/s||0}}function Wc(t){var e,n=t.popper,o=t.popperRect,s=t.placement,a=t.variation,c=t.offsets,p=t.position,d=t.gpuAcceleration,g=t.adaptive,m=t.roundOffsets,S=t.isFixed,y=c.x,j=y===void 0?0:y,k=c.y,E=k===void 0?0:k,A=typeof m=="function"?m({x:j,y:E}):{x:j,y:E};j=A.x,E=A.y;var h=c.hasOwnProperty("x"),P=c.hasOwnProperty("y"),D=Me,I=$e,z=window;if(g){var N=so(n),x="clientHeight",V="clientWidth";if(N===De(n)&&(N=Cr(n),mr(N).position!=="static"&&p==="absolute"&&(x="scrollHeight",V="scrollWidth")),N=N,s===$e||(s===Me||s===Je)&&a===oo){I=Xe;var G=S&&N===z&&z.visualViewport?z.visualViewport.height:N[x];E-=G-o.height,E*=d?1:-1}if(s===Me||(s===$e||s===Xe)&&a===oo){D=Je;var L=S&&N===z&&z.visualViewport?z.visualViewport.width:N[V];j-=L-o.width,j*=d?1:-1}}var K=Object.assign({position:p},g&&Em),J=m===!0?Tm({x:j,y:E},De(n)):{x:j,y:E};if(j=J.x,E=J.y,d){var _;return Object.assign({},K,(_={},_[I]=P?"0":"",_[D]=h?"0":"",_.transform=(z.devicePixelRatio||1)<=1?"translate("+j+"px, "+E+"px)":"translate3d("+j+"px, "+E+"px, 0)",_))}return Object.assign({},K,(e={},e[I]=P?E+"px":"",e[D]=h?j+"px":"",e.transform="",e))}function km(t){var e=t.state,n=t.options,o=n.gpuAcceleration,s=o===void 0?!0:o,a=n.adaptive,c=a===void 0?!0:a,p=n.roundOffsets,d=p===void 0?!0:p,g={placement:fr(e.placement),variation:gn(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Wc(Object.assign({},g,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:c,roundOffsets:d})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Wc(Object.assign({},g,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:d})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const jm={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:km,data:{}};var Si={passive:!0};function Pm(t){var e=t.state,n=t.instance,o=t.options,s=o.scroll,a=s===void 0?!0:s,c=o.resize,p=c===void 0?!0:c,d=De(e.elements.popper),g=[].concat(e.scrollParents.reference,e.scrollParents.popper);return a&&g.forEach(function(m){m.addEventListener("scroll",n.update,Si)}),p&&d.addEventListener("resize",n.update,Si),function(){a&&g.forEach(function(m){m.removeEventListener("scroll",n.update,Si)}),p&&d.removeEventListener("resize",n.update,Si)}}const $m={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Pm,data:{}};var Mm={left:"right",right:"left",bottom:"top",top:"bottom"};function Ci(t){return t.replace(/left|right|bottom|top/g,function(e){return Mm[e]})}var Am={start:"end",end:"start"};function Uc(t){return t.replace(/start|end/g,function(e){return Am[e]})}function aa(t){var e=De(t),n=e.pageXOffset,o=e.pageYOffset;return{scrollLeft:n,scrollTop:o}}function la(t){return hn(Cr(t)).left+aa(t).scrollLeft}function Om(t,e){var n=De(t),o=Cr(t),s=n.visualViewport,a=o.clientWidth,c=o.clientHeight,p=0,d=0;if(s){a=s.width,c=s.height;var g=Fc();(g||!g&&e==="fixed")&&(p=s.offsetLeft,d=s.offsetTop)}return{width:a,height:c,x:p+la(t),y:d}}function Im(t){var e,n=Cr(t),o=aa(t),s=(e=t.ownerDocument)==null?void 0:e.body,a=Wr(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),c=Wr(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),p=-o.scrollLeft+la(t),d=-o.scrollTop;return mr(s||n).direction==="rtl"&&(p+=Wr(n.clientWidth,s?s.clientWidth:0)-a),{width:a,height:c,x:p,y:d}}function ca(t){var e=mr(t),n=e.overflow,o=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+o)}function Hc(t){return["html","body","#document"].indexOf(dr(t))>=0?t.ownerDocument.body:Ze(t)&&ca(t)?t:Hc(wi(t))}function lo(t,e){var n;e===void 0&&(e=[]);var o=Hc(t),s=o===((n=t.ownerDocument)==null?void 0:n.body),a=De(o),c=s?[a].concat(a.visualViewport||[],ca(o)?o:[]):o,p=e.concat(c);return s?p:p.concat(lo(wi(c)))}function ua(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Bm(t,e){var n=hn(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Gc(t,e,n){return e===Oc?ua(Om(t,n)):Lr(e)?Bm(e,n):ua(Im(Cr(t)))}function Fm(t){var e=lo(wi(t)),n=["absolute","fixed"].indexOf(mr(t).position)>=0,o=n&&Ze(t)?so(t):t;return Lr(o)?e.filter(function(s){return Lr(s)&&zc(s,o)&&dr(s)!=="body"}):[]}function zm(t,e,n,o){var s=e==="clippingParents"?Fm(t):[].concat(e),a=[].concat(s,[n]),c=a[0],p=a.reduce(function(d,g){var m=Gc(t,g,o);return d.top=Wr(m.top,d.top),d.right=xi(m.right,d.right),d.bottom=xi(m.bottom,d.bottom),d.left=Wr(m.left,d.left),d},Gc(t,c,o));return p.width=p.right-p.left,p.height=p.bottom-p.top,p.x=p.left,p.y=p.top,p}function Vc(t){var e=t.reference,n=t.element,o=t.placement,s=o?fr(o):null,a=o?gn(o):null,c=e.x+e.width/2-n.width/2,p=e.y+e.height/2-n.height/2,d;switch(s){case $e:d={x:c,y:e.y-n.height};break;case Xe:d={x:c,y:e.y+e.height};break;case Je:d={x:e.x+e.width,y:p};break;case Me:d={x:e.x-n.width,y:p};break;default:d={x:e.x,y:e.y}}var g=s?sa(s):null;if(g!=null){var m=g==="y"?"height":"width";switch(a){case dn:d[g]=d[g]-(e[m]/2-n[m]/2);break;case oo:d[g]=d[g]+(e[m]/2-n[m]/2);break}}return d}function co(t,e){e===void 0&&(e={});var n=e,o=n.placement,s=o===void 0?t.placement:o,a=n.strategy,c=a===void 0?t.strategy:a,p=n.boundary,d=p===void 0?nm:p,g=n.rootBoundary,m=g===void 0?Oc:g,S=n.elementContext,y=S===void 0?io:S,j=n.altBoundary,k=j===void 0?!1:j,E=n.padding,A=E===void 0?0:E,h=_c(typeof A!="number"?A:Lc(A,no)),P=y===io?om:io,D=t.rects.popper,I=t.elements[k?P:y],z=zm(Lr(I)?I:I.contextElement||Cr(t.elements.popper),d,m,c),N=hn(t.elements.reference),x=Vc({reference:N,element:D,strategy:"absolute",placement:s}),V=ua(Object.assign({},D,x)),G=y===io?V:N,L={top:z.top-G.top+h.top,bottom:G.bottom-z.bottom+h.bottom,left:z.left-G.left+h.left,right:G.right-z.right+h.right},K=t.modifiersData.offset;if(y===io&&K){var J=K[s];Object.keys(L).forEach(function(_){var Q=[Je,Xe].indexOf(_)>=0?1:-1,q=[$e,Xe].indexOf(_)>=0?"y":"x";L[_]+=J[q]*Q})}return L}function Dm(t,e){e===void 0&&(e={});var n=e,o=n.placement,s=n.boundary,a=n.rootBoundary,c=n.padding,p=n.flipVariations,d=n.allowedAutoPlacements,g=d===void 0?Bc:d,m=gn(o),S=m?p?Ic:Ic.filter(function(k){return gn(k)===m}):no,y=S.filter(function(k){return g.indexOf(k)>=0});y.length===0&&(y=S);var j=y.reduce(function(k,E){return k[E]=co(t,{placement:E,boundary:s,rootBoundary:a,padding:c})[fr(E)],k},{});return Object.keys(j).sort(function(k,E){return j[k]-j[E]})}function Nm(t){if(fr(t)===ra)return[];var e=Ci(t);return[Uc(t),e,Uc(e)]}function _m(t){var e=t.state,n=t.options,o=t.name;if(!e.modifiersData[o]._skip){for(var s=n.mainAxis,a=s===void 0?!0:s,c=n.altAxis,p=c===void 0?!0:c,d=n.fallbackPlacements,g=n.padding,m=n.boundary,S=n.rootBoundary,y=n.altBoundary,j=n.flipVariations,k=j===void 0?!0:j,E=n.allowedAutoPlacements,A=e.options.placement,h=fr(A),P=h===A,D=d||(P||!k?[Ci(A)]:Nm(A)),I=[A].concat(D).reduce(function(Ft,Wt){return Ft.concat(fr(Wt)===ra?Dm(e,{placement:Wt,boundary:m,rootBoundary:S,padding:g,flipVariations:k,allowedAutoPlacements:E}):Wt)},[]),z=e.rects.reference,N=e.rects.popper,x=new Map,V=!0,G=I[0],L=0;L<I.length;L++){var K=I[L],J=fr(K),_=gn(K)===dn,Q=[$e,Xe].indexOf(J)>=0,q=Q?"width":"height",tt=co(e,{placement:K,boundary:m,rootBoundary:S,altBoundary:y,padding:g}),dt=Q?_?Je:Me:_?Xe:$e;z[q]>N[q]&&(dt=Ci(dt));var bt=Ci(dt),it=[];if(a&&it.push(tt[J]<=0),p&&it.push(tt[dt]<=0,tt[bt]<=0),it.every(function(Ft){return Ft})){G=K,V=!1;break}x.set(K,it)}if(V)for(var xt=k?3:1,Ct=function(Wt){var st=I.find(function(rt){var nt=x.get(rt);if(nt)return nt.slice(0,Wt).every(function(Rt){return Rt})});if(st)return G=st,"break"},Qt=xt;Qt>0;Qt--){var fe=Ct(Qt);if(fe==="break")break}e.placement!==G&&(e.modifiersData[o]._skip=!0,e.placement=G,e.reset=!0)}}const Lm={name:"flip",enabled:!0,phase:"main",fn:_m,requiresIfExists:["offset"],data:{_skip:!1}};function Kc(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Yc(t){return[$e,Je,Xe,Me].some(function(e){return t[e]>=0})}function Wm(t){var e=t.state,n=t.name,o=e.rects.reference,s=e.rects.popper,a=e.modifiersData.preventOverflow,c=co(e,{elementContext:"reference"}),p=co(e,{altBoundary:!0}),d=Kc(c,o),g=Kc(p,s,a),m=Yc(d),S=Yc(g);e.modifiersData[n]={referenceClippingOffsets:d,popperEscapeOffsets:g,isReferenceHidden:m,hasPopperEscaped:S},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":m,"data-popper-escaped":S})}const Um={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Wm};function Hm(t,e,n){var o=fr(t),s=[Me,$e].indexOf(o)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,c=a[0],p=a[1];return c=c||0,p=(p||0)*s,[Me,Je].indexOf(o)>=0?{x:p,y:c}:{x:c,y:p}}function Gm(t){var e=t.state,n=t.options,o=t.name,s=n.offset,a=s===void 0?[0,0]:s,c=Bc.reduce(function(m,S){return m[S]=Hm(S,e.rects,a),m},{}),p=c[e.placement],d=p.x,g=p.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=d,e.modifiersData.popperOffsets.y+=g),e.modifiersData[o]=c}const Vm={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Gm};function Km(t){var e=t.state,n=t.name;e.modifiersData[n]=Vc({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Ym={name:"popperOffsets",enabled:!0,phase:"read",fn:Km,data:{}};function qm(t){return t==="x"?"y":"x"}function Xm(t){var e=t.state,n=t.options,o=t.name,s=n.mainAxis,a=s===void 0?!0:s,c=n.altAxis,p=c===void 0?!1:c,d=n.boundary,g=n.rootBoundary,m=n.altBoundary,S=n.padding,y=n.tether,j=y===void 0?!0:y,k=n.tetherOffset,E=k===void 0?0:k,A=co(e,{boundary:d,rootBoundary:g,padding:S,altBoundary:m}),h=fr(e.placement),P=gn(e.placement),D=!P,I=sa(h),z=qm(I),N=e.modifiersData.popperOffsets,x=e.rects.reference,V=e.rects.popper,G=typeof E=="function"?E(Object.assign({},e.rects,{placement:e.placement})):E,L=typeof G=="number"?{mainAxis:G,altAxis:G}:Object.assign({mainAxis:0,altAxis:0},G),K=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,J={x:0,y:0};if(N){if(a){var _,Q=I==="y"?$e:Me,q=I==="y"?Xe:Je,tt=I==="y"?"height":"width",dt=N[I],bt=dt+A[Q],it=dt-A[q],xt=j?-V[tt]/2:0,Ct=P===dn?x[tt]:V[tt],Qt=P===dn?-V[tt]:-x[tt],fe=e.elements.arrow,Ft=j&&fe?ia(fe):{width:0,height:0},Wt=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Nc(),st=Wt[Q],rt=Wt[q],nt=ao(0,x[tt],Ft[tt]),Rt=D?x[tt]/2-xt-nt-st-L.mainAxis:Ct-nt-st-L.mainAxis,ut=D?-x[tt]/2+xt+nt+rt+L.mainAxis:Qt+nt+rt+L.mainAxis,u=e.elements.arrow&&so(e.elements.arrow),w=u?I==="y"?u.clientTop||0:u.clientLeft||0:0,H=(_=K==null?void 0:K[I])!=null?_:0,he=dt+Rt-H-w,te=dt+ut-H,Ce=ao(j?xi(bt,he):bt,dt,j?Wr(it,te):it);N[I]=Ce,J[I]=Ce-dt}if(p){var ee,ae=I==="x"?$e:Me,Ae=I==="x"?Xe:Je,Lt=N[z],ye=z==="y"?"height":"width",me=Lt+A[ae],be=Lt-A[Ae],ue=[$e,Me].indexOf(h)!==-1,ve=(ee=K==null?void 0:K[z])!=null?ee:0,xe=ue?me:Lt-x[ye]-V[ye]-ve+L.altAxis,_e=ue?Lt+x[ye]+V[ye]-ve-L.altAxis:be,ar=j&&ue?xm(xe,Lt,_e):ao(j?xe:me,Lt,j?_e:be);N[z]=ar,J[z]=ar-Lt}e.modifiersData[o]=J}}const Jm={name:"preventOverflow",enabled:!0,phase:"main",fn:Xm,requiresIfExists:["offset"]};function Zm(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Qm(t){return t===De(t)||!Ze(t)?aa(t):Zm(t)}function t0(t){var e=t.getBoundingClientRect(),n=fn(e.width)/t.offsetWidth||1,o=fn(e.height)/t.offsetHeight||1;return n!==1||o!==1}function e0(t,e,n){n===void 0&&(n=!1);var o=Ze(e),s=Ze(e)&&t0(e),a=Cr(e),c=hn(t,s,n),p={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(o||!o&&!n)&&((dr(e)!=="body"||ca(a))&&(p=Qm(e)),Ze(e)?(d=hn(e,!0),d.x+=e.clientLeft,d.y+=e.clientTop):a&&(d.x=la(a))),{x:c.left+p.scrollLeft-d.x,y:c.top+p.scrollTop-d.y,width:c.width,height:c.height}}function r0(t){var e=new Map,n=new Set,o=[];t.forEach(function(a){e.set(a.name,a)});function s(a){n.add(a.name);var c=[].concat(a.requires||[],a.requiresIfExists||[]);c.forEach(function(p){if(!n.has(p)){var d=e.get(p);d&&s(d)}}),o.push(a)}return t.forEach(function(a){n.has(a.name)||s(a)}),o}function n0(t){var e=r0(t);return hm.reduce(function(n,o){return n.concat(e.filter(function(s){return s.phase===o}))},[])}function o0(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function i0(t){var e=t.reduce(function(n,o){var s=n[o.name];return n[o.name]=s?Object.assign({},s,o,{options:Object.assign({},s.options,o.options),data:Object.assign({},s.data,o.data)}):o,n},{});return Object.keys(e).map(function(n){return e[n]})}var qc={placement:"bottom",modifiers:[],strategy:"absolute"};function Xc(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function s0(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,o=n===void 0?[]:n,s=e.defaultOptions,a=s===void 0?qc:s;return function(p,d,g){g===void 0&&(g=a);var m={placement:"bottom",orderedModifiers:[],options:Object.assign({},qc,a),modifiersData:{},elements:{reference:p,popper:d},attributes:{},styles:{}},S=[],y=!1,j={state:m,setOptions:function(h){var P=typeof h=="function"?h(m.options):h;E(),m.options=Object.assign({},a,m.options,P),m.scrollParents={reference:Lr(p)?lo(p):p.contextElement?lo(p.contextElement):[],popper:lo(d)};var D=n0(i0([].concat(o,m.options.modifiers)));return m.orderedModifiers=D.filter(function(I){return I.enabled}),k(),j.update()},forceUpdate:function(){if(!y){var h=m.elements,P=h.reference,D=h.popper;if(Xc(P,D)){m.rects={reference:e0(P,so(D),m.options.strategy==="fixed"),popper:ia(D)},m.reset=!1,m.placement=m.options.placement,m.orderedModifiers.forEach(function(L){return m.modifiersData[L.name]=Object.assign({},L.data)});for(var I=0;I<m.orderedModifiers.length;I++){if(m.reset===!0){m.reset=!1,I=-1;continue}var z=m.orderedModifiers[I],N=z.fn,x=z.options,V=x===void 0?{}:x,G=z.name;typeof N=="function"&&(m=N({state:m,options:V,name:G,instance:j})||m)}}}},update:o0(function(){return new Promise(function(A){j.forceUpdate(),A(m)})}),destroy:function(){E(),y=!0}};if(!Xc(p,d))return j;j.setOptions(g).then(function(A){!y&&g.onFirstUpdate&&g.onFirstUpdate(A)});function k(){m.orderedModifiers.forEach(function(A){var h=A.name,P=A.options,D=P===void 0?{}:P,I=A.effect;if(typeof I=="function"){var z=I({state:m,name:h,instance:j,options:D}),N=function(){};S.push(z||N)}})}function E(){S.forEach(function(A){return A()}),S=[]}return j}}var a0=[$m,Ym,jm,mm,Vm,Lm,Jm,Rm,Um],l0=s0({defaultModifiers:a0});function c0(t){return typeof t=="function"?t():t}const u0=M.forwardRef(function(e,n){const{children:o,container:s,disablePortal:a=!1}=e,[c,p]=M.useState(null),d=ze(M.isValidElement(o)?Ls(o):null,n);if(Br(()=>{a||p(c0(s)||document.body)},[s,a]),Br(()=>{if(c&&!a)return Fs(n,c),()=>{Fs(n,null)}},[n,c,a]),a){if(M.isValidElement(o)){const g={ref:d};return M.cloneElement(o,g)}return F.jsx(M.Fragment,{children:o})}return F.jsx(M.Fragment,{children:c&&yp.createPortal(o,c)})});function p0(t){return kt("MuiPopper",t)}Et("MuiPopper",["root"]);const d0=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],f0=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function h0(t,e){if(e==="ltr")return t;switch(t){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 t}}function pa(t){return typeof t=="function"?t():t}function g0(t){return t.nodeType!==void 0}const y0=t=>{const{classes:e}=t;return jt({root:["root"]},p0,e)},m0={},b0=M.forwardRef(function(e,n){var o;const{anchorEl:s,children:a,direction:c,disablePortal:p,modifiers:d,open:g,placement:m,popperOptions:S,popperRef:y,slotProps:j={},slots:k={},TransitionProps:E}=e,A=at(e,d0),h=M.useRef(null),P=ze(h,n),D=M.useRef(null),I=ze(D,y),z=M.useRef(I);Br(()=>{z.current=I},[I]),M.useImperativeHandle(y,()=>D.current,[]);const N=h0(m,c),[x,V]=M.useState(N),[G,L]=M.useState(pa(s));M.useEffect(()=>{D.current&&D.current.forceUpdate()}),M.useEffect(()=>{s&&L(pa(s))},[s]),Br(()=>{if(!G||!g)return;const q=bt=>{V(bt.placement)};let tt=[{name:"preventOverflow",options:{altBoundary:p}},{name:"flip",options:{altBoundary:p}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:bt})=>{q(bt)}}];d!=null&&(tt=tt.concat(d)),S&&S.modifiers!=null&&(tt=tt.concat(S.modifiers));const dt=l0(G,h.current,T({placement:N},S,{modifiers:tt}));return z.current(dt),()=>{dt.destroy(),z.current(null)}},[G,p,d,g,S,N]);const K={placement:x};E!==null&&(K.TransitionProps=E);const J=y0(e),_=(o=k.root)!=null?o:"div",Q=Jn({elementType:_,externalSlotProps:j.root,externalForwardedProps:A,additionalProps:{role:"tooltip",ref:P},ownerState:e,className:J.root});return F.jsx(_,T({},Q,{children:typeof a=="function"?a(K):a}))}),v0=M.forwardRef(function(e,n){const{anchorEl:o,children:s,container:a,direction:c="ltr",disablePortal:p=!1,keepMounted:d=!1,modifiers:g,open:m,placement:S="bottom",popperOptions:y=m0,popperRef:j,style:k,transition:E=!1,slotProps:A={},slots:h={}}=e,P=at(e,f0),[D,I]=M.useState(!0),z=()=>{I(!1)},N=()=>{I(!0)};if(!d&&!m&&(!E||D))return null;let x;if(a)x=a;else if(o){const L=pa(o);x=L&&g0(L)?ci(L).body:ci(null).body}const V=!m&&d&&(!E||D)?"none":void 0,G=E?{in:m,onEnter:z,onExited:N}:void 0;return F.jsx(u0,{disablePortal:p,container:x,children:F.jsx(b0,T({anchorEl:o,direction:c,disablePortal:p,modifiers:g,ref:n,open:E?!D:m,placement:S,popperOptions:y,popperRef:j,slotProps:A,slots:h},P,{style:T({position:"fixed",top:0,left:0,display:V},k),TransitionProps:G,children:s}))})}),x0=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],w0=ht(v0,{name:"MuiPopper",slot:"Root",overridesResolver:(t,e)=>e.root})({}),Jc=M.forwardRef(function(e,n){var o;const s=Mc(),a=Tt({props:e,name:"MuiPopper"}),{anchorEl:c,component:p,components:d,componentsProps:g,container:m,disablePortal:S,keepMounted:y,modifiers:j,open:k,placement:E,popperOptions:A,popperRef:h,transition:P,slots:D,slotProps:I}=a,z=at(a,x0),N=(o=D==null?void 0:D.root)!=null?o:d==null?void 0:d.Root,x=T({anchorEl:c,container:m,disablePortal:S,keepMounted:y,modifiers:j,open:k,placement:E,popperOptions:A,popperRef:h,transition:P},z);return F.jsx(w0,T({as:p,direction:s==null?void 0:s.direction,slots:{root:N},slotProps:I??g},x,{ref:n}))}),S0=zt(F.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function C0(t){return kt("MuiChip",t)}const Pt=Et("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),R0=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],E0=t=>{const{classes:e,disabled:n,size:o,color:s,iconColor:a,onDelete:c,clickable:p,variant:d}=t,g={root:["root",d,n&&"disabled",`size${X(o)}`,`color${X(s)}`,p&&"clickable",p&&`clickableColor${X(s)}`,c&&"deletable",c&&`deletableColor${X(s)}`,`${d}${X(s)}`],label:["label",`label${X(o)}`],avatar:["avatar",`avatar${X(o)}`,`avatarColor${X(s)}`],icon:["icon",`icon${X(o)}`,`iconColor${X(a)}`],deleteIcon:["deleteIcon",`deleteIcon${X(o)}`,`deleteIconColor${X(s)}`,`deleteIcon${X(d)}Color${X(s)}`]};return jt(g,C0,e)},T0=ht("div",{name:"MuiChip",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t,{color:o,iconColor:s,clickable:a,onDelete:c,size:p,variant:d}=n;return[{[`& .${Pt.avatar}`]:e.avatar},{[`& .${Pt.avatar}`]:e[`avatar${X(p)}`]},{[`& .${Pt.avatar}`]:e[`avatarColor${X(o)}`]},{[`& .${Pt.icon}`]:e.icon},{[`& .${Pt.icon}`]:e[`icon${X(p)}`]},{[`& .${Pt.icon}`]:e[`iconColor${X(s)}`]},{[`& .${Pt.deleteIcon}`]:e.deleteIcon},{[`& .${Pt.deleteIcon}`]:e[`deleteIcon${X(p)}`]},{[`& .${Pt.deleteIcon}`]:e[`deleteIconColor${X(o)}`]},{[`& .${Pt.deleteIcon}`]:e[`deleteIcon${X(d)}Color${X(o)}`]},e.root,e[`size${X(p)}`],e[`color${X(o)}`],a&&e.clickable,a&&o!=="default"&&e[`clickableColor${X(o)})`],c&&e.deletable,c&&o!=="default"&&e[`deletableColor${X(o)}`],e[d],e[`${d}${X(o)}`]]}})(({theme:t,ownerState:e})=>{const n=t.palette.mode==="light"?t.palette.grey[700]:t.palette.grey[300];return T({maxWidth:"100%",fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(t.vars||t).palette.text.primary,backgroundColor:(t.vars||t).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:t.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Pt.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Pt.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:t.vars?t.vars.palette.Chip.defaultAvatarColor:n,fontSize:t.typography.pxToRem(12)},[`& .${Pt.avatarColorPrimary}`]:{color:(t.vars||t).palette.primary.contrastText,backgroundColor:(t.vars||t).palette.primary.dark},[`& .${Pt.avatarColorSecondary}`]:{color:(t.vars||t).palette.secondary.contrastText,backgroundColor:(t.vars||t).palette.secondary.dark},[`& .${Pt.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:t.typography.pxToRem(10)},[`& .${Pt.icon}`]:T({marginLeft:5,marginRight:-6},e.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},e.iconColor===e.color&&T({color:t.vars?t.vars.palette.Chip.defaultIconColor:n},e.color!=="default"&&{color:"inherit"})),[`& .${Pt.deleteIcon}`]:T({WebkitTapHighlightColor:"transparent",color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.26)`:Ot(t.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.4)`:Ot(t.palette.text.primary,.4)}},e.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},e.color!=="default"&&{color:t.vars?`rgba(${t.vars.palette[e.color].contrastTextChannel} / 0.7)`:Ot(t.palette[e.color].contrastText,.7),"&:hover, &:active":{color:(t.vars||t).palette[e.color].contrastText}})},e.size==="small"&&{height:24},e.color!=="default"&&{backgroundColor:(t.vars||t).palette[e.color].main,color:(t.vars||t).palette[e.color].contrastText},e.onDelete&&{[`&.${Pt.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:Ot(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},e.onDelete&&e.color!=="default"&&{[`&.${Pt.focusVisible}`]:{backgroundColor:(t.vars||t).palette[e.color].dark}})},({theme:t,ownerState:e})=>T({},e.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Ot(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)},[`&.${Pt.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:Ot(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)},"&:active":{boxShadow:(t.vars||t).shadows[1]}},e.clickable&&e.color!=="default"&&{[`&:hover, &.${Pt.focusVisible}`]:{backgroundColor:(t.vars||t).palette[e.color].dark}}),({theme:t,ownerState:e})=>T({},e.variant==="outlined"&&{backgroundColor:"transparent",border:t.vars?`1px solid ${t.vars.palette.Chip.defaultBorder}`:`1px solid ${t.palette.mode==="light"?t.palette.grey[400]:t.palette.grey[700]}`,[`&.${Pt.clickable}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${Pt.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`& .${Pt.avatar}`]:{marginLeft:4},[`& .${Pt.avatarSmall}`]:{marginLeft:2},[`& .${Pt.icon}`]:{marginLeft:4},[`& .${Pt.iconSmall}`]:{marginLeft:2},[`& .${Pt.deleteIcon}`]:{marginRight:5},[`& .${Pt.deleteIconSmall}`]:{marginRight:3}},e.variant==="outlined"&&e.color!=="default"&&{color:(t.vars||t).palette[e.color].main,border:`1px solid ${t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / 0.7)`:Ot(t.palette[e.color].main,.7)}`,[`&.${Pt.clickable}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Ot(t.palette[e.color].main,t.palette.action.hoverOpacity)},[`&.${Pt.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.focusOpacity})`:Ot(t.palette[e.color].main,t.palette.action.focusOpacity)},[`& .${Pt.deleteIcon}`]:{color:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / 0.7)`:Ot(t.palette[e.color].main,.7),"&:hover, &:active":{color:(t.vars||t).palette[e.color].main}}})),k0=ht("span",{name:"MuiChip",slot:"Label",overridesResolver:(t,e)=>{const{ownerState:n}=t,{size:o}=n;return[e.label,e[`label${X(o)}`]]}})(({ownerState:t})=>T({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},t.variant==="outlined"&&{paddingLeft:11,paddingRight:11},t.size==="small"&&{paddingLeft:8,paddingRight:8},t.size==="small"&&t.variant==="outlined"&&{paddingLeft:7,paddingRight:7}));function Zc(t){return t.key==="Backspace"||t.key==="Delete"}const Qe=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiChip"}),{avatar:s,className:a,clickable:c,color:p="default",component:d,deleteIcon:g,disabled:m=!1,icon:S,label:y,onClick:j,onDelete:k,onKeyDown:E,onKeyUp:A,size:h="medium",variant:P="filled",tabIndex:D,skipFocusWhenDisabled:I=!1}=o,z=at(o,R0),N=M.useRef(null),x=ze(N,n),V=it=>{it.stopPropagation(),k&&k(it)},G=it=>{it.currentTarget===it.target&&Zc(it)&&it.preventDefault(),E&&E(it)},L=it=>{it.currentTarget===it.target&&(k&&Zc(it)?k(it):it.key==="Escape"&&N.current&&N.current.blur()),A&&A(it)},K=c!==!1&&j?!0:c,J=K||k?_r:d||"div",_=T({},o,{component:J,disabled:m,size:h,color:p,iconColor:M.isValidElement(S)&&S.props.color||p,onDelete:!!k,clickable:K,variant:P}),Q=E0(_),q=J===_r?T({component:d||"div",focusVisibleClassName:Q.focusVisible},k&&{disableRipple:!0}):{};let tt=null;k&&(tt=g&&M.isValidElement(g)?M.cloneElement(g,{className:ot(g.props.className,Q.deleteIcon),onClick:V}):F.jsx(S0,{className:ot(Q.deleteIcon),onClick:V}));let dt=null;s&&M.isValidElement(s)&&(dt=M.cloneElement(s,{className:ot(Q.avatar,s.props.className)}));let bt=null;return S&&M.isValidElement(S)&&(bt=M.cloneElement(S,{className:ot(Q.icon,S.props.className)})),F.jsxs(T0,T({as:J,className:ot(Q.root,a),disabled:K&&m?!0:void 0,onClick:j,onKeyDown:G,onKeyUp:L,ref:x,tabIndex:I&&m?-1:D,ownerState:_},q,z,{children:[dt||bt,F.jsx(k0,{className:ot(Q.label),ownerState:_,children:y}),tt]}))});function j0(t){return F.jsx(Af,T({},t,{defaultTheme:Vs,themeId:Zr}))}const P0=Et("MuiBox",["root"]),$0=cc(),ft=zf({themeId:Zr,defaultTheme:$0,defaultClassName:P0.root,generateClassName:Tl.generate});function M0(t){return kt("MuiButton",t)}const Ri=Et("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),A0=M.createContext({}),O0=M.createContext(void 0),I0=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],B0=t=>{const{color:e,disableElevation:n,fullWidth:o,size:s,variant:a,classes:c}=t,p={root:["root",a,`${a}${X(e)}`,`size${X(s)}`,`${a}Size${X(s)}`,`color${X(e)}`,n&&"disableElevation",o&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${X(s)}`],endIcon:["icon","endIcon",`iconSize${X(s)}`]},d=jt(p,M0,c);return T({},c,d)},Qc=t=>T({},t.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},t.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},t.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),F0=ht(_r,{shouldForwardProp:t=>hc(t)||t==="classes",name:"MuiButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`${n.variant}${X(n.color)}`],e[`size${X(n.size)}`],e[`${n.variant}Size${X(n.size)}`],n.color==="inherit"&&e.colorInherit,n.disableElevation&&e.disableElevation,n.fullWidth&&e.fullWidth]}})(({theme:t,ownerState:e})=>{var n,o;const s=t.palette.mode==="light"?t.palette.grey[300]:t.palette.grey[800],a=t.palette.mode==="light"?t.palette.grey.A100:t.palette.grey[700];return T({},t.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":T({textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:Ot(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},e.variant==="text"&&e.color!=="inherit"&&{backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Ot(t.palette[e.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},e.variant==="outlined"&&e.color!=="inherit"&&{border:`1px solid ${(t.vars||t).palette[e.color].main}`,backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Ot(t.palette[e.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},e.variant==="contained"&&{backgroundColor:t.vars?t.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2],backgroundColor:(t.vars||t).palette.grey[300]}},e.variant==="contained"&&e.color!=="inherit"&&{backgroundColor:(t.vars||t).palette[e.color].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[e.color].main}}),"&:active":T({},e.variant==="contained"&&{boxShadow:(t.vars||t).shadows[8]}),[`&.${Ri.focusVisible}`]:T({},e.variant==="contained"&&{boxShadow:(t.vars||t).shadows[6]}),[`&.${Ri.disabled}`]:T({color:(t.vars||t).palette.action.disabled},e.variant==="outlined"&&{border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},e.variant==="contained"&&{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground})},e.variant==="text"&&{padding:"6px 8px"},e.variant==="text"&&e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main},e.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},e.variant==="outlined"&&e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main,border:t.vars?`1px solid rgba(${t.vars.palette[e.color].mainChannel} / 0.5)`:`1px solid ${Ot(t.palette[e.color].main,.5)}`},e.variant==="contained"&&{color:t.vars?t.vars.palette.text.primary:(n=(o=t.palette).getContrastText)==null?void 0:n.call(o,t.palette.grey[300]),backgroundColor:t.vars?t.vars.palette.Button.inheritContainedBg:s,boxShadow:(t.vars||t).shadows[2]},e.variant==="contained"&&e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].contrastText,backgroundColor:(t.vars||t).palette[e.color].main},e.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},e.size==="small"&&e.variant==="text"&&{padding:"4px 5px",fontSize:t.typography.pxToRem(13)},e.size==="large"&&e.variant==="text"&&{padding:"8px 11px",fontSize:t.typography.pxToRem(15)},e.size==="small"&&e.variant==="outlined"&&{padding:"3px 9px",fontSize:t.typography.pxToRem(13)},e.size==="large"&&e.variant==="outlined"&&{padding:"7px 21px",fontSize:t.typography.pxToRem(15)},e.size==="small"&&e.variant==="contained"&&{padding:"4px 10px",fontSize:t.typography.pxToRem(13)},e.size==="large"&&e.variant==="contained"&&{padding:"8px 22px",fontSize:t.typography.pxToRem(15)},e.fullWidth&&{width:"100%"})},({ownerState:t})=>t.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Ri.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Ri.disabled}`]:{boxShadow:"none"}}),z0=ht("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.startIcon,e[`iconSize${X(n.size)}`]]}})(({ownerState:t})=>T({display:"inherit",marginRight:8,marginLeft:-4},t.size==="small"&&{marginLeft:-2},Qc(t))),D0=ht("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.endIcon,e[`iconSize${X(n.size)}`]]}})(({ownerState:t})=>T({display:"inherit",marginRight:-4,marginLeft:8},t.size==="small"&&{marginRight:-2},Qc(t))),tu=M.forwardRef(function(e,n){const o=M.useContext(A0),s=M.useContext(O0),a=qn(o,e),c=Tt({props:a,name:"MuiButton"}),{children:p,color:d="primary",component:g="button",className:m,disabled:S=!1,disableElevation:y=!1,disableFocusRipple:j=!1,endIcon:k,focusVisibleClassName:E,fullWidth:A=!1,size:h="medium",startIcon:P,type:D,variant:I="text"}=c,z=at(c,I0),N=T({},c,{color:d,component:g,disabled:S,disableElevation:y,disableFocusRipple:j,fullWidth:A,size:h,type:D,variant:I}),x=B0(N),V=P&&F.jsx(z0,{className:x.startIcon,ownerState:N,children:P}),G=k&&F.jsx(D0,{className:x.endIcon,ownerState:N,children:k}),L=s||"";return F.jsxs(F0,T({ownerState:N,className:ot(o.className,x.root,m,L),component:g,disabled:S,focusRipple:!j,focusVisibleClassName:ot(x.focusVisible,E),ref:n,type:D},z,{classes:x,children:[V,p,G]}))});function N0(t){return kt("MuiCard",t)}Et("MuiCard",["root"]);const _0=["className","raised"],L0=t=>{const{classes:e}=t;return jt({root:["root"]},N0,e)},W0=ht(bi,{name:"MuiCard",slot:"Root",overridesResolver:(t,e)=>e.root})(()=>({overflow:"hidden"})),Rr=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiCard"}),{className:s,raised:a=!1}=o,c=at(o,_0),p=T({},o,{raised:a}),d=L0(p);return F.jsx(W0,T({className:ot(d.root,s),elevation:a?8:void 0,ref:n,ownerState:p},c))});function U0(t){return kt("MuiCardContent",t)}Et("MuiCardContent",["root"]);const H0=["className","component"],G0=t=>{const{classes:e}=t;return jt({root:["root"]},U0,e)},V0=ht("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(t,e)=>e.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),Er=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiCardContent"}),{className:s,component:a="div"}=o,c=at(o,H0),p=T({},o,{component:a}),d=G0(p);return F.jsx(V0,T({as:a,className:ot(d.root,s),ownerState:p,ref:n},c))}),K0=(t,e)=>T({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},e&&!t.vars&&{colorScheme:t.palette.mode}),Y0=t=>T({color:(t.vars||t).palette.text.primary},t.typography.body1,{backgroundColor:(t.vars||t).palette.background.default,"@media print":{backgroundColor:(t.vars||t).palette.common.white}}),q0=(t,e=!1)=>{var n;const o={};e&&t.colorSchemes&&Object.entries(t.colorSchemes).forEach(([c,p])=>{var d;o[t.getColorSchemeSelector(c).replace(/\s*&/,"")]={colorScheme:(d=p.palette)==null?void 0:d.mode}});let s=T({html:K0(t,e),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:T({margin:0},Y0(t),{"&::backdrop":{backgroundColor:(t.vars||t).palette.background.default}})},o);const a=(n=t.components)==null||(n=n.MuiCssBaseline)==null?void 0:n.styleOverrides;return a&&(s=[s,a]),s};function X0(t){const e=Tt({props:t,name:"MuiCssBaseline"}),{children:n,enableColorScheme:o=!1}=e;return F.jsxs(M.Fragment,{children:[F.jsx(j0,{styles:s=>q0(s,o)}),n]})}function J0(t){return kt("MuiDivider",t)}Et("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const Z0=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Q0=t=>{const{absolute:e,children:n,classes:o,flexItem:s,light:a,orientation:c,textAlign:p,variant:d}=t;return jt({root:["root",e&&"absolute",d,a&&"light",c==="vertical"&&"vertical",s&&"flexItem",n&&"withChildren",n&&c==="vertical"&&"withChildrenVertical",p==="right"&&c!=="vertical"&&"textAlignRight",p==="left"&&c!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",c==="vertical"&&"wrapperVertical"]},J0,o)},tb=ht("div",{name:"MuiDivider",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.absolute&&e.absolute,e[n.variant],n.light&&e.light,n.orientation==="vertical"&&e.vertical,n.flexItem&&e.flexItem,n.children&&e.withChildren,n.children&&n.orientation==="vertical"&&e.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&e.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&e.textAlignLeft]}})(({theme:t,ownerState:e})=>T({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},e.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},e.light&&{borderColor:t.vars?`rgba(${t.vars.palette.dividerChannel} / 0.08)`:Ot(t.palette.divider,.08)},e.variant==="inset"&&{marginLeft:72},e.variant==="middle"&&e.orientation==="horizontal"&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},e.variant==="middle"&&e.orientation==="vertical"&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},e.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},e.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:t})=>T({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:t,ownerState:e})=>T({},e.children&&e.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(t.vars||t).palette.divider}`,borderTopStyle:"inherit"}}),({theme:t,ownerState:e})=>T({},e.children&&e.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(t.vars||t).palette.divider}`,borderLeftStyle:"inherit"}}),({ownerState:t})=>T({},t.textAlign==="right"&&t.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},t.textAlign==="left"&&t.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),eb=ht("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.wrapper,n.orientation==="vertical"&&e.wrapperVertical]}})(({theme:t,ownerState:e})=>T({display:"inline-block",paddingLeft:`calc(${t.spacing(1)} * 1.2)`,paddingRight:`calc(${t.spacing(1)} * 1.2)`},e.orientation==="vertical"&&{paddingTop:`calc(${t.spacing(1)} * 1.2)`,paddingBottom:`calc(${t.spacing(1)} * 1.2)`})),eu=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiDivider"}),{absolute:s=!1,children:a,className:c,component:p=a?"div":"hr",flexItem:d=!1,light:g=!1,orientation:m="horizontal",role:S=p!=="hr"?"separator":void 0,textAlign:y="center",variant:j="fullWidth"}=o,k=at(o,Z0),E=T({},o,{absolute:s,component:p,flexItem:d,light:g,orientation:m,role:S,textAlign:y,variant:j}),A=Q0(E);return F.jsx(tb,T({as:p,className:ot(A.root,c),role:S,ref:n,ownerState:E},k,{children:a?F.jsx(eb,{className:A.wrapper,ownerState:E,children:a}):null}))});eu.muiSkipListHighlight=!0;const rb=eu,ru=zh({createStyledComponent:ht("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,e)=>e.root}),useThemeProps:t=>Tt({props:t,name:"MuiStack"})}),nu=M.createContext();function nb(t){return kt("MuiGrid",t)}const ob=[0,1,2,3,4,5,6,7,8,9,10],ib=["column-reverse","column","row-reverse","row"],sb=["nowrap","wrap-reverse","wrap"],uo=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],po=Et("MuiGrid",["root","container","item","zeroMinWidth",...ob.map(t=>`spacing-xs-${t}`),...ib.map(t=>`direction-xs-${t}`),...sb.map(t=>`wrap-xs-${t}`),...uo.map(t=>`grid-xs-${t}`),...uo.map(t=>`grid-sm-${t}`),...uo.map(t=>`grid-md-${t}`),...uo.map(t=>`grid-lg-${t}`),...uo.map(t=>`grid-xl-${t}`)]),ab=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function yn(t){const e=parseFloat(t);return`${e}${String(t).replace(String(e),"")||"px"}`}function lb({theme:t,ownerState:e}){let n;return t.breakpoints.keys.reduce((o,s)=>{let a={};if(e[s]&&(n=e[s]),!n)return o;if(n===!0)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const c=Or({values:e.columns,breakpoints:t.breakpoints.values}),p=typeof c=="object"?c[s]:c;if(p==null)return o;const d=`${Math.round(n/p*1e8)/1e6}%`;let g={};if(e.container&&e.item&&e.columnSpacing!==0){const m=t.spacing(e.columnSpacing);if(m!=="0px"){const S=`calc(${d} + ${yn(m)})`;g={flexBasis:S,maxWidth:S}}}a=T({flexBasis:d,flexGrow:0,maxWidth:d},g)}return t.breakpoints.values[s]===0?Object.assign(o,a):o[t.breakpoints.up(s)]=a,o},{})}function cb({theme:t,ownerState:e}){const n=Or({values:e.direction,breakpoints:t.breakpoints.values});return Pe({theme:t},n,o=>{const s={flexDirection:o};return o.indexOf("column")===0&&(s[`& > .${po.item}`]={maxWidth:"none"}),s})}function ou({breakpoints:t,values:e}){let n="";Object.keys(e).forEach(s=>{n===""&&e[s]!==0&&(n=s)});const o=Object.keys(t).sort((s,a)=>t[s]-t[a]);return o.slice(0,o.indexOf(n))}function ub({theme:t,ownerState:e}){const{container:n,rowSpacing:o}=e;let s={};if(n&&o!==0){const a=Or({values:o,breakpoints:t.breakpoints.values});let c;typeof a=="object"&&(c=ou({breakpoints:t.breakpoints.values,values:a})),s=Pe({theme:t},a,(p,d)=>{var g;const m=t.spacing(p);return m!=="0px"?{marginTop:`-${yn(m)}`,[`& > .${po.item}`]:{paddingTop:yn(m)}}:(g=c)!=null&&g.includes(d)?{}:{marginTop:0,[`& > .${po.item}`]:{paddingTop:0}}})}return s}function pb({theme:t,ownerState:e}){const{container:n,columnSpacing:o}=e;let s={};if(n&&o!==0){const a=Or({values:o,breakpoints:t.breakpoints.values});let c;typeof a=="object"&&(c=ou({breakpoints:t.breakpoints.values,values:a})),s=Pe({theme:t},a,(p,d)=>{var g;const m=t.spacing(p);return m!=="0px"?{width:`calc(100% + ${yn(m)})`,marginLeft:`-${yn(m)}`,[`& > .${po.item}`]:{paddingLeft:yn(m)}}:(g=c)!=null&&g.includes(d)?{}:{width:"100%",marginLeft:0,[`& > .${po.item}`]:{paddingLeft:0}}})}return s}function db(t,e,n={}){if(!t||t<=0)return[];if(typeof t=="string"&&!Number.isNaN(Number(t))||typeof t=="number")return[n[`spacing-xs-${String(t)}`]];const o=[];return e.forEach(s=>{const a=t[s];Number(a)>0&&o.push(n[`spacing-${s}-${String(a)}`])}),o}const fb=ht("div",{name:"MuiGrid",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t,{container:o,direction:s,item:a,spacing:c,wrap:p,zeroMinWidth:d,breakpoints:g}=n;let m=[];o&&(m=db(c,g,e));const S=[];return g.forEach(y=>{const j=n[y];j&&S.push(e[`grid-${y}-${String(j)}`])}),[e.root,o&&e.container,a&&e.item,d&&e.zeroMinWidth,...m,s!=="row"&&e[`direction-xs-${String(s)}`],p!=="wrap"&&e[`wrap-xs-${String(p)}`],...S]}})(({ownerState:t})=>T({boxSizing:"border-box"},t.container&&{display:"flex",flexWrap:"wrap",width:"100%"},t.item&&{margin:0},t.zeroMinWidth&&{minWidth:0},t.wrap!=="wrap"&&{flexWrap:t.wrap}),cb,ub,pb,lb);function hb(t,e){if(!t||t<=0)return[];if(typeof t=="string"&&!Number.isNaN(Number(t))||typeof t=="number")return[`spacing-xs-${String(t)}`];const n=[];return e.forEach(o=>{const s=t[o];if(Number(s)>0){const a=`spacing-${o}-${String(s)}`;n.push(a)}}),n}const gb=t=>{const{classes:e,container:n,direction:o,item:s,spacing:a,wrap:c,zeroMinWidth:p,breakpoints:d}=t;let g=[];n&&(g=hb(a,d));const m=[];d.forEach(y=>{const j=t[y];j&&m.push(`grid-${y}-${String(j)}`)});const S={root:["root",n&&"container",s&&"item",p&&"zeroMinWidth",...g,o!=="row"&&`direction-xs-${String(o)}`,c!=="wrap"&&`wrap-xs-${String(c)}`,...m]};return jt(S,nb,e)},tr=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiGrid"}),{breakpoints:s}=to(),a=Yn(o),{className:c,columns:p,columnSpacing:d,component:g="div",container:m=!1,direction:S="row",item:y=!1,rowSpacing:j,spacing:k=0,wrap:E="wrap",zeroMinWidth:A=!1}=a,h=at(a,ab),P=j||k,D=d||k,I=M.useContext(nu),z=m?p||12:I,N={},x=T({},h);s.keys.forEach(L=>{h[L]!=null&&(N[L]=h[L],delete x[L])});const V=T({},a,{columns:z,container:m,direction:S,item:y,rowSpacing:P,columnSpacing:D,wrap:E,zeroMinWidth:A,spacing:k},N,{breakpoints:s.keys}),G=gb(V);return F.jsx(nu.Provider,{value:z,children:F.jsx(fb,T({ownerState:V,className:ot(G.root,c),as:g,ref:n},x))})}),yb=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function da(t){return`scale(${t}, ${t**2})`}const mb={entering:{opacity:1,transform:da(1)},entered:{opacity:1,transform:"none"}},fa=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),iu=M.forwardRef(function(e,n){const{addEndListener:o,appear:s=!0,children:a,easing:c,in:p,onEnter:d,onEntered:g,onEntering:m,onExit:S,onExited:y,onExiting:j,style:k,timeout:E="auto",TransitionComponent:A=xc}=e,h=at(e,yb),P=Fr(),D=M.useRef(),I=to(),z=M.useRef(null),N=ze(z,Ls(a),n),x=q=>tt=>{if(q){const dt=z.current;tt===void 0?q(dt):q(dt,tt)}},V=x(m),G=x((q,tt)=>{ty(q);const{duration:dt,delay:bt,easing:it}=mi({style:k,timeout:E,easing:c},{mode:"enter"});let xt;E==="auto"?(xt=I.transitions.getAutoHeightDuration(q.clientHeight),D.current=xt):xt=dt,q.style.transition=[I.transitions.create("opacity",{duration:xt,delay:bt}),I.transitions.create("transform",{duration:fa?xt:xt*.666,delay:bt,easing:it})].join(","),d&&d(q,tt)}),L=x(g),K=x(j),J=x(q=>{const{duration:tt,delay:dt,easing:bt}=mi({style:k,timeout:E,easing:c},{mode:"exit"});let it;E==="auto"?(it=I.transitions.getAutoHeightDuration(q.clientHeight),D.current=it):it=tt,q.style.transition=[I.transitions.create("opacity",{duration:it,delay:dt}),I.transitions.create("transform",{duration:fa?it:it*.666,delay:fa?dt:dt||it*.333,easing:bt})].join(","),q.style.opacity=0,q.style.transform=da(.75),S&&S(q)}),_=x(y),Q=q=>{E==="auto"&&P.start(D.current||0,q),o&&o(z.current,q)};return F.jsx(A,T({appear:s,in:p,nodeRef:z,onEnter:G,onEntered:L,onEntering:V,onExit:J,onExited:_,onExiting:K,addEndListener:Q,timeout:E==="auto"?null:E},h,{children:(q,tt)=>M.cloneElement(a,T({style:T({opacity:0,transform:da(.75),visibility:q==="exited"&&!p?"hidden":void 0},mb[q],k,a.props.style),ref:N},tt))}))});iu.muiSupportAuto=!0;const su=iu;function bb(t){return kt("MuiLinearProgress",t)}Et("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const vb=["className","color","value","valueBuffer","variant"];let mn=t=>t,au,lu,cu,uu,pu,du;const ha=4,xb=Ar(au||(au=mn` 104 104 0% { 105 105 left: -35%; … … 116 116 right: -90%; 117 117 } 118 `)), xg=sr(Ml||(Ml=Lr`118 `)),wb=Ar(lu||(lu=mn` 119 119 0% { 120 120 left: -200%; … … 131 131 right: -8%; 132 132 } 133 `)),S g=sr(Al||(Al=Lr`133 `)),Sb=Ar(cu||(cu=mn` 134 134 0% { 135 135 opacity: 1; … … 146 146 background-position: -200px -23px; 147 147 } 148 `)), wg=t=>{const{classes:e,variant:n,color:i}=t,s={root:["root",`color${H(i)}`,n],dashed:["dashed",`dashedColor${H(i)}`],bar1:["bar",`barColor${H(i)}`,(n==="indeterminate"||n==="query")&&"bar1Indeterminate",n==="determinate"&&"bar1Determinate",n==="buffer"&&"bar1Buffer"],bar2:["bar",n!=="buffer"&&`barColor${H(i)}`,n==="buffer"&&`color${H(i)}`,(n==="indeterminate"||n==="query")&&"bar2Indeterminate",n==="buffer"&&"bar2Buffer"]};return kt(s,mg,e)},ns=(t,e)=>e==="inherit"?"currentColor":t.vars?t.vars.palette.LinearProgress[`${e}Bg`]:t.palette.mode==="light"?Sn(t.palette[e].main,.62):xn(t.palette[e].main,.5),Cg=st("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`color${H(n.color)}`],e[n.variant]]}})(({ownerState:t,theme:e})=>k({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:ns(e,t.color)},t.color==="inherit"&&t.variant!=="buffer"&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},t.variant==="buffer"&&{backgroundColor:"transparent"},t.variant==="query"&&{transform:"rotate(180deg)"})),kg=st("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.dashed,e[`dashedColor${H(n.color)}`]]}})(({ownerState:t,theme:e})=>{const n=ns(e,t.color);return k({position:"absolute",marginTop:0,height:"100%",width:"100%"},t.color==="inherit"&&{opacity:.3},{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},dn(Pl||(Pl=Lr`148 `)),Cb=t=>{const{classes:e,variant:n,color:o}=t,s={root:["root",`color${X(o)}`,n],dashed:["dashed",`dashedColor${X(o)}`],bar1:["bar",`barColor${X(o)}`,(n==="indeterminate"||n==="query")&&"bar1Indeterminate",n==="determinate"&&"bar1Determinate",n==="buffer"&&"bar1Buffer"],bar2:["bar",n!=="buffer"&&`barColor${X(o)}`,n==="buffer"&&`color${X(o)}`,(n==="indeterminate"||n==="query")&&"bar2Indeterminate",n==="buffer"&&"bar2Buffer"]};return jt(s,bb,e)},ga=(t,e)=>e==="inherit"?"currentColor":t.vars?t.vars.palette.LinearProgress[`${e}Bg`]:t.palette.mode==="light"?Qn(t.palette[e].main,.62):Zn(t.palette[e].main,.5),Rb=ht("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`color${X(n.color)}`],e[n.variant]]}})(({ownerState:t,theme:e})=>T({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:ga(e,t.color)},t.color==="inherit"&&t.variant!=="buffer"&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},t.variant==="buffer"&&{backgroundColor:"transparent"},t.variant==="query"&&{transform:"rotate(180deg)"})),Eb=ht("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.dashed,e[`dashedColor${X(n.color)}`]]}})(({ownerState:t,theme:e})=>{const n=ga(e,t.color);return T({position:"absolute",marginTop:0,height:"100%",width:"100%"},t.color==="inherit"&&{opacity:.3},{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},Wn(uu||(uu=mn` 149 149 animation: ${0} 3s infinite linear; 150 `),S g)),Rg=st("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.bar,e[`barColor${H(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&e.bar1Indeterminate,n.variant==="determinate"&&e.bar1Determinate,n.variant==="buffer"&&e.bar1Buffer]}})(({ownerState:t,theme:e})=>k({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:t.color==="inherit"?"currentColor":(e.vars||e).palette[t.color].main},t.variant==="determinate"&&{transition:`transform .${rs}s linear`},t.variant==="buffer"&&{zIndex:1,transition:`transform .${rs}s linear`}),({ownerState:t})=>(t.variant==="indeterminate"||t.variant==="query")&&dn(Ol||(Ol=Lr`150 `),Sb)),Tb=ht("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.bar,e[`barColor${X(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&e.bar1Indeterminate,n.variant==="determinate"&&e.bar1Determinate,n.variant==="buffer"&&e.bar1Buffer]}})(({ownerState:t,theme:e})=>T({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:t.color==="inherit"?"currentColor":(e.vars||e).palette[t.color].main},t.variant==="determinate"&&{transition:`transform .${ha}s linear`},t.variant==="buffer"&&{zIndex:1,transition:`transform .${ha}s linear`}),({ownerState:t})=>(t.variant==="indeterminate"||t.variant==="query")&&Wn(pu||(pu=mn` 151 151 width: auto; 152 152 animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; 153 `), vg)),Tg=st("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.bar,e[`barColor${H(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&e.bar2Indeterminate,n.variant==="buffer"&&e.bar2Buffer]}})(({ownerState:t,theme:e})=>k({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},t.variant!=="buffer"&&{backgroundColor:t.color==="inherit"?"currentColor":(e.vars||e).palette[t.color].main},t.color==="inherit"&&{opacity:.3},t.variant==="buffer"&&{backgroundColor:ns(e,t.color),transition:`transform .${rs}s linear`}),({ownerState:t})=>(t.variant==="indeterminate"||t.variant==="query")&&dn(Il||(Il=Lr`153 `),xb)),kb=ht("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.bar,e[`barColor${X(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&e.bar2Indeterminate,n.variant==="buffer"&&e.bar2Buffer]}})(({ownerState:t,theme:e})=>T({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},t.variant!=="buffer"&&{backgroundColor:t.color==="inherit"?"currentColor":(e.vars||e).palette[t.color].main},t.color==="inherit"&&{opacity:.3},t.variant==="buffer"&&{backgroundColor:ga(e,t.color),transition:`transform .${ha}s linear`}),({ownerState:t})=>(t.variant==="indeterminate"||t.variant==="query")&&Wn(du||(du=mn` 154 154 width: auto; 155 155 animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; 156 `), xg)),Eg=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiLinearProgress"}),{className:s,color:l="primary",value:c,valueBuffer:d,variant:f="indeterminate"}=i,g=nt(i,bg),x=k({},i,{color:l,variant:f}),T=wg(x),m=Wi(),M={},R={bar1:{},bar2:{}};if((f==="determinate"||f==="buffer")&&c!==void 0){M["aria-valuenow"]=Math.round(c),M["aria-valuemin"]=0,M["aria-valuemax"]=100;let E=c-100;m&&(E=-E),R.bar1.transform=`translateX(${E}%)`}if(f==="buffer"&&d!==void 0){let E=(d||0)-100;m&&(E=-E),R.bar2.transform=`translateX(${E}%)`}return B.jsxs(Cg,k({className:J(T.root,s),ownerState:x,role:"progressbar"},M,{ref:n},g,{children:[f==="buffer"?B.jsx(kg,{className:T.dashed,ownerState:x}):null,B.jsx(Rg,{className:T.bar1,ownerState:x,style:R.bar1}),f==="determinate"?null:B.jsx(Tg,{className:T.bar2,ownerState:x,style:R.bar2})]}))});function jg(t){return Ct("MuiLink",t)}const $g=bt("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),Bl={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Mg=t=>Bl[t]||t,Ag=({theme:t,ownerState:e})=>{const n=Mg(e.color),i=Ar(t,`palette.${n}`,!1)||e.color,s=Ar(t,`palette.${n}Channel`);return"vars"in t&&s?`rgba(${s} / 0.4)`:Tt(i,.4)},Pg=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],Og=t=>{const{classes:e,component:n,focusVisible:i,underline:s}=t,l={root:["root",`underline${H(s)}`,n==="button"&&"button",i&&"focusVisible"]};return kt(l,jg,e)},Ig=st(X,{name:"MuiLink",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`underline${H(n.underline)}`],n.component==="button"&&e.button]}})(({theme:t,ownerState:e})=>k({},e.underline==="none"&&{textDecoration:"none"},e.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},e.underline==="always"&&k({textDecoration:"underline"},e.color!=="inherit"&&{textDecorationColor:Ag({theme:t,ownerState:e})},{"&:hover":{textDecorationColor:"inherit"}}),e.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${$g.focusVisible}`]:{outline:"auto"}})),zl=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiLink"}),{className:s,color:l="primary",component:c="a",onBlur:d,onFocus:f,TypographyClasses:g,underline:x="always",variant:T="inherit",sx:m}=i,M=nt(i,Pg),{isFocusVisibleRef:R,onBlur:E,onFocus:A,ref:h}=ja(),[$,z]=O.useState(!1),D=nr(n,h),L=pt=>{E(pt),R.current===!1&&z(!1),d&&d(pt)},U=pt=>{A(pt),R.current===!0&&z(!0),f&&f(pt)},C=k({},i,{color:l,component:c,focusVisible:$,underline:x,variant:T}),at=Og(C);return B.jsx(Ig,k({color:l,className:J(at.root,s),classes:g,component:c,onBlur:L,onFocus:U,ref:D,ownerState:C,variant:T,sx:[...Object.keys(Bl).includes(l)?[]:[{color:l}],...Array.isArray(m)?m:[m]]},M))}),hr=O.createContext({});function Bg(t){return Ct("MuiList",t)}bt("MuiList",["root","padding","dense","subheader"]);const zg=["children","className","component","dense","disablePadding","subheader"],Ng=t=>{const{classes:e,disablePadding:n,dense:i,subheader:s}=t;return kt({root:["root",!n&&"padding",i&&"dense",s&&"subheader"]},Bg,e)},_g=st("ul",{name:"MuiList",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.disablePadding&&e.padding,n.dense&&e.dense,n.subheader&&e.subheader]}})(({ownerState:t})=>k({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})),Po=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiList"}),{children:s,className:l,component:c="ul",dense:d=!1,disablePadding:f=!1,subheader:g}=i,x=nt(i,zg),T=O.useMemo(()=>({dense:d}),[d]),m=k({},i,{component:c,dense:d,disablePadding:f}),M=Ng(m);return B.jsx(hr.Provider,{value:T,children:B.jsxs(_g,k({as:c,className:J(M.root,l),ref:n,ownerState:m},x,{children:[g,s]}))})});function Fg(t){return Ct("MuiListItem",t)}const Wr=bt("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),Dg=bt("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function Lg(t){return Ct("MuiListItemSecondaryAction",t)}bt("MuiListItemSecondaryAction",["root","disableGutters"]);const Wg=["className"],Ug=t=>{const{disableGutters:e,classes:n}=t;return kt({root:["root",e&&"disableGutters"]},Lg,n)},Vg=st("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.disableGutters&&e.disableGutters]}})(({ownerState:t})=>k({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},t.disableGutters&&{right:0})),Nl=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiListItemSecondaryAction"}),{className:s}=i,l=nt(i,Wg),c=O.useContext(hr),d=k({},i,{disableGutters:c.disableGutters}),f=Ug(d);return B.jsx(Vg,k({className:J(f.root,s),ownerState:d,ref:n},l))});Nl.muiName="ListItemSecondaryAction";const Hg=Nl,Gg=["className"],Kg=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],qg=(t,e)=>{const{ownerState:n}=t;return[e.root,n.dense&&e.dense,n.alignItems==="flex-start"&&e.alignItemsFlexStart,n.divider&&e.divider,!n.disableGutters&&e.gutters,!n.disablePadding&&e.padding,n.button&&e.button,n.hasSecondaryAction&&e.secondaryAction]},Yg=t=>{const{alignItems:e,button:n,classes:i,dense:s,disabled:l,disableGutters:c,disablePadding:d,divider:f,hasSecondaryAction:g,selected:x}=t;return kt({root:["root",s&&"dense",!c&&"gutters",!d&&"padding",f&&"divider",l&&"disabled",n&&"button",e==="flex-start"&&"alignItemsFlexStart",g&&"secondaryAction",x&&"selected"],container:["container"]},Fg,i)},Xg=st("div",{name:"MuiListItem",slot:"Root",overridesResolver:qg})(({theme:t,ownerState:e})=>k({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!e.disablePadding&&k({paddingTop:8,paddingBottom:8},e.dense&&{paddingTop:4,paddingBottom:4},!e.disableGutters&&{paddingLeft:16,paddingRight:16},!!e.secondaryAction&&{paddingRight:48}),!!e.secondaryAction&&{[`& > .${Dg.root}`]:{paddingRight:48}},{[`&.${Wr.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${Wr.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Tt(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${Wr.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:Tt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${Wr.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},e.alignItems==="flex-start"&&{alignItems:"flex-start"},e.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},e.button&&{transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Wr.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Tt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Tt(t.palette.primary.main,t.palette.action.selectedOpacity)}}},e.hasSecondaryAction&&{paddingRight:48})),Zg=st("li",{name:"MuiListItem",slot:"Container",overridesResolver:(t,e)=>e.container})({position:"relative"}),we=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiListItem"}),{alignItems:s="center",autoFocus:l=!1,button:c=!1,children:d,className:f,component:g,components:x={},componentsProps:T={},ContainerComponent:m="li",ContainerProps:{className:M}={},dense:R=!1,disabled:E=!1,disableGutters:A=!1,disablePadding:h=!1,divider:$=!1,focusVisibleClassName:z,secondaryAction:D,selected:L=!1,slotProps:U={},slots:C={}}=i,at=nt(i.ContainerProps,Gg),pt=nt(i,Kg),K=O.useContext(hr),Y=O.useMemo(()=>({dense:R||K.dense||!1,alignItems:s,disableGutters:A}),[s,K.dense,R,A]),Z=O.useRef(null);_i(()=>{l&&Z.current&&Z.current.focus()},[l]);const N=O.Children.toArray(d),Q=N.length&&jd(N[N.length-1],["ListItemSecondaryAction"]),dt=k({},i,{alignItems:s,autoFocus:l,button:c,dense:Y.dense,disabled:E,disableGutters:A,disablePadding:h,divider:$,hasSecondaryAction:Q,selected:L}),ft=Yg(dt),Et=nr(Z,n),gt=C.root||x.Root||Xg,ht=U.root||T.root||{},$t=k({className:J(ft.root,ht.className,f),disabled:E},pt);let At=g||"li";return c&&($t.component=g||"div",$t.focusVisibleClassName=J(Wr.focusVisible,z),At=fr),Q?(At=!$t.component&&!g?"div":At,m==="li"&&(At==="li"?At="div":$t.component==="li"&&($t.component="div")),B.jsx(hr.Provider,{value:Y,children:B.jsxs(Zg,k({as:m,className:J(ft.container,M),ref:Et,ownerState:dt},at,{children:[B.jsx(gt,k({},ht,!Li(gt)&&{as:At,ownerState:k({},dt,ht.ownerState)},$t,{children:N})),N.pop()]}))})):B.jsx(hr.Provider,{value:Y,children:B.jsxs(gt,k({},ht,{as:At,ref:Et},!Li(gt)&&{ownerState:k({},dt,ht.ownerState)},$t,{children:[N,D&&B.jsx(Hg,{children:D})]}))})});function Jg(t){return Ct("MuiListItemIcon",t)}bt("MuiListItemIcon",["root","alignItemsFlexStart"]);const Qg=["className"],t0=t=>{const{alignItems:e,classes:n}=t;return kt({root:["root",e==="flex-start"&&"alignItemsFlexStart"]},Jg,n)},e0=st("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.alignItems==="flex-start"&&e.alignItemsFlexStart]}})(({theme:t,ownerState:e})=>k({minWidth:56,color:(t.vars||t).palette.action.active,flexShrink:0,display:"inline-flex"},e.alignItems==="flex-start"&&{marginTop:8})),Ce=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiListItemIcon"}),{className:s}=i,l=nt(i,Qg),c=O.useContext(hr),d=k({},i,{alignItems:c.alignItems}),f=t0(d);return B.jsx(e0,k({className:J(f.root,s),ownerState:d,ref:n},l))});function r0(t){return Ct("MuiListItemText",t)}const _l=bt("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),n0=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],o0=t=>{const{classes:e,inset:n,primary:i,secondary:s,dense:l}=t;return kt({root:["root",n&&"inset",l&&"dense",i&&s&&"multiline"],primary:["primary"],secondary:["secondary"]},r0,e)},i0=st("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${_l.primary}`]:e.primary},{[`& .${_l.secondary}`]:e.secondary},e.root,n.inset&&e.inset,n.primary&&n.secondary&&e.multiline,n.dense&&e.dense]}})(({ownerState:t})=>k({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},t.primary&&t.secondary&&{marginTop:6,marginBottom:6},t.inset&&{paddingLeft:56})),ke=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiListItemText"}),{children:s,className:l,disableTypography:c=!1,inset:d=!1,primary:f,primaryTypographyProps:g,secondary:x,secondaryTypographyProps:T}=i,m=nt(i,n0),{dense:M}=O.useContext(hr);let R=f??s,E=x;const A=k({},i,{disableTypography:c,inset:d,primary:!!R,secondary:!!E,dense:M}),h=o0(A);return R!=null&&R.type!==X&&!c&&(R=B.jsx(X,k({variant:M?"body2":"body1",className:h.primary,component:g!=null&&g.variant?void 0:"span",display:"block"},g,{children:R}))),E!=null&&E.type!==X&&!c&&(E=B.jsx(X,k({variant:"body2",className:h.secondary,color:"text.secondary",display:"block"},T,{children:E}))),B.jsxs(i0,k({className:J(h.root,l),ownerState:A,ref:n},m,{children:[R,E]}))});function s0(t){return Ct("MuiTab",t)}const ir=bt("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),a0=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],l0=t=>{const{classes:e,textColor:n,fullWidth:i,wrapped:s,icon:l,label:c,selected:d,disabled:f}=t,g={root:["root",l&&c&&"labelIcon",`textColor${H(n)}`,i&&"fullWidth",s&&"wrapped",d&&"selected",f&&"disabled"],iconWrapper:["iconWrapper"]};return kt(g,s0,e)},c0=st(fr,{name:"MuiTab",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.label&&n.icon&&e.labelIcon,e[`textColor${H(n.textColor)}`],n.fullWidth&&e.fullWidth,n.wrapped&&e.wrapped,{[`& .${ir.iconWrapper}`]:e.iconWrapper}]}})(({theme:t,ownerState:e})=>k({},t.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},e.label&&{flexDirection:e.iconPosition==="top"||e.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},e.icon&&e.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${ir.iconWrapper}`]:k({},e.iconPosition==="top"&&{marginBottom:6},e.iconPosition==="bottom"&&{marginTop:6},e.iconPosition==="start"&&{marginRight:t.spacing(1)},e.iconPosition==="end"&&{marginLeft:t.spacing(1)})},e.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${ir.selected}`]:{opacity:1},[`&.${ir.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},e.textColor==="primary"&&{color:(t.vars||t).palette.text.secondary,[`&.${ir.selected}`]:{color:(t.vars||t).palette.primary.main},[`&.${ir.disabled}`]:{color:(t.vars||t).palette.text.disabled}},e.textColor==="secondary"&&{color:(t.vars||t).palette.text.secondary,[`&.${ir.selected}`]:{color:(t.vars||t).palette.secondary.main},[`&.${ir.disabled}`]:{color:(t.vars||t).palette.text.disabled}},e.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},e.wrapped&&{fontSize:t.typography.pxToRem(12)})),Fl=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiTab"}),{className:s,disabled:l=!1,disableFocusRipple:c=!1,fullWidth:d,icon:f,iconPosition:g="top",indicator:x,label:T,onChange:m,onClick:M,onFocus:R,selected:E,selectionFollowsFocus:A,textColor:h="inherit",value:$,wrapped:z=!1}=i,D=nt(i,a0),L=k({},i,{disabled:l,disableFocusRipple:c,selected:E,icon:!!f,iconPosition:g,label:!!T,fullWidth:d,textColor:h,wrapped:z}),U=l0(L),C=f&&T&&O.isValidElement(f)?O.cloneElement(f,{className:J(U.iconWrapper,f.props.className)}):f,at=K=>{!E&&m&&m(K,$),M&&M(K)},pt=K=>{A&&!E&&m&&m(K,$),R&&R(K)};return B.jsxs(c0,k({focusRipple:!c,className:J(U.root,s),ref:n,role:"tab","aria-selected":E,disabled:l,onClick:at,onFocus:pt,ownerState:L,tabIndex:E?0:-1},D,{children:[g==="top"||g==="start"?B.jsxs(O.Fragment,{children:[C,T]}):B.jsxs(O.Fragment,{children:[T,C]}),x]}))}),Dl=O.createContext();function u0(t){return Ct("MuiTable",t)}bt("MuiTable",["root","stickyHeader"]);const p0=["className","component","padding","size","stickyHeader"],d0=t=>{const{classes:e,stickyHeader:n}=t;return kt({root:["root",n&&"stickyHeader"]},u0,e)},f0=st("table",{name:"MuiTable",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.stickyHeader&&e.stickyHeader]}})(({theme:t,ownerState:e})=>k({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":k({},t.typography.body2,{padding:t.spacing(2),color:(t.vars||t).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},e.stickyHeader&&{borderCollapse:"separate"})),Ll="table",Wl=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiTable"}),{className:s,component:l=Ll,padding:c="normal",size:d="medium",stickyHeader:f=!1}=i,g=nt(i,p0),x=k({},i,{component:l,padding:c,size:d,stickyHeader:f}),T=d0(x),m=O.useMemo(()=>({padding:c,size:d,stickyHeader:f}),[c,d,f]);return B.jsx(Dl.Provider,{value:m,children:B.jsx(f0,k({as:l,role:l===Ll?null:"table",ref:n,className:J(T.root,s),ownerState:x},g))})}),Oo=O.createContext();function h0(t){return Ct("MuiTableBody",t)}bt("MuiTableBody",["root"]);const y0=["className","component"],g0=t=>{const{classes:e}=t;return kt({root:["root"]},h0,e)},m0=st("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-row-group"}),b0={variant:"body"},Ul="tbody",Vl=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiTableBody"}),{className:s,component:l=Ul}=i,c=nt(i,y0),d=k({},i,{component:l}),f=g0(d);return B.jsx(Oo.Provider,{value:b0,children:B.jsx(m0,k({className:J(f.root,s),as:l,ref:n,role:l===Ul?null:"rowgroup",ownerState:d},c))})});function v0(t){return Ct("MuiTableCell",t)}const x0=bt("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),S0=["align","className","component","padding","scope","size","sortDirection","variant"],w0=t=>{const{classes:e,variant:n,align:i,padding:s,size:l,stickyHeader:c}=t,d={root:["root",n,c&&"stickyHeader",i!=="inherit"&&`align${H(i)}`,s!=="normal"&&`padding${H(s)}`,`size${H(l)}`]};return kt(d,v0,e)},C0=st("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`size${H(n.size)}`],n.padding!=="normal"&&e[`padding${H(n.padding)}`],n.align!=="inherit"&&e[`align${H(n.align)}`],n.stickyHeader&&e.stickyHeader]}})(({theme:t,ownerState:e})=>k({},t.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:t.vars?`1px solid ${t.vars.palette.TableCell.border}`:`1px solid157 ${t.palette.mode==="light"? Sn(Tt(t.palette.divider,1),.88):xn(Tt(t.palette.divider,1),.68)}`,textAlign:"left",padding:16},e.variant==="head"&&{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium},e.variant==="body"&&{color:(t.vars||t).palette.text.primary},e.variant==="footer"&&{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)},e.size==="small"&&{padding:"6px 16px",[`&.${x0.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},e.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},e.padding==="none"&&{padding:0},e.align==="left"&&{textAlign:"left"},e.align==="center"&&{textAlign:"center"},e.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},e.align==="justify"&&{textAlign:"justify"},e.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(t.vars||t).palette.background.default})),ne=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiTableCell"}),{align:s="inherit",className:l,component:c,padding:d,scope:f,size:g,sortDirection:x,variant:T}=i,m=nt(i,S0),M=O.useContext(Dl),R=O.useContext(Oo),E=R&&R.variant==="head";let A;c?A=c:A=E?"th":"td";let h=f;A==="td"?h=void 0:!h&&E&&(h="col");const $=T||R&&R.variant,z=k({},i,{align:s,component:A,padding:d||(M&&M.padding?M.padding:"normal"),size:g||(M&&M.size?M.size:"medium"),sortDirection:x,stickyHeader:$==="head"&&M&&M.stickyHeader,variant:$}),D=w0(z);let L=null;return x&&(L=x==="asc"?"ascending":"descending"),B.jsx(C0,k({as:A,ref:n,className:J(D.root,l),"aria-sort":L,scope:h,ownerState:z},m))});function k0(t){return Ct("MuiTableContainer",t)}bt("MuiTableContainer",["root"]);const R0=["className","component"],T0=t=>{const{classes:e}=t;return kt({root:["root"]},k0,e)},E0=st("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(t,e)=>e.root})({width:"100%",overflowX:"auto"}),j0=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiTableContainer"}),{className:s,component:l="div"}=i,c=nt(i,R0),d=k({},i,{component:l}),f=T0(d);return B.jsx(E0,k({ref:n,as:l,className:J(f.root,s),ownerState:d},c))});function $0(t){return Ct("MuiTableHead",t)}bt("MuiTableHead",["root"]);const M0=["className","component"],A0=t=>{const{classes:e}=t;return kt({root:["root"]},$0,e)},P0=st("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-header-group"}),O0={variant:"head"},Hl="thead",Gl=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiTableHead"}),{className:s,component:l=Hl}=i,c=nt(i,M0),d=k({},i,{component:l}),f=A0(d);return B.jsx(Oo.Provider,{value:O0,children:B.jsx(P0,k({as:l,className:J(f.root,s),ref:n,role:l===Hl?null:"rowgroup",ownerState:d},c))})}),I0=Mt(B.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),B0=Mt(B.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function z0(t){return Ct("MuiTableRow",t)}const Kl=bt("MuiTableRow",["root","selected","hover","head","footer"]),N0=["className","component","hover","selected"],_0=t=>{const{classes:e,selected:n,hover:i,head:s,footer:l}=t;return kt({root:["root",n&&"selected",i&&"hover",s&&"head",l&&"footer"]},z0,e)},F0=st("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.head&&e.head,n.footer&&e.footer]}})(({theme:t})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${Kl.hover}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${Kl.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Tt(t.palette.primary.main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Tt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)}}})),ql="tr",Tn=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiTableRow"}),{className:s,component:l=ql,hover:c=!1,selected:d=!1}=i,f=nt(i,N0),g=O.useContext(Oo),x=k({},i,{component:l,hover:c,selected:d,head:g&&g.variant==="head",footer:g&&g.variant==="footer"}),T=_0(x);return B.jsx(F0,k({as:l,ref:n,className:J(T.root,s),role:l===ql?null:"row",ownerState:x},f))});function D0(t){return(1+Math.sin(Math.PI*t-Math.PI/2))/2}function L0(t,e,n,i={},s=()=>{}){const{ease:l=D0,duration:c=300}=i;let d=null;const f=e[t];let g=!1;const x=()=>{g=!0},T=m=>{if(g){s(new Error("Animation cancelled"));return}d===null&&(d=m);const M=Math.min(1,(m-d)/c);if(e[t]=l(M)*(n-f)+f,M>=1){requestAnimationFrame(()=>{s(null)});return}requestAnimationFrame(T)};return f===n?(s(new Error("Element already at target position")),x):(requestAnimationFrame(T),x)}const W0=["onChange"],U0={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function V0(t){const{onChange:e}=t,n=nt(t,W0),i=O.useRef(),s=O.useRef(null),l=()=>{i.current=s.current.offsetHeight-s.current.clientHeight};return _i(()=>{const c=Ca(()=>{const f=i.current;l(),f!==i.current&&e(i.current)}),d=Ra(s.current);return d.addEventListener("resize",c),()=>{c.clear(),d.removeEventListener("resize",c)}},[e]),O.useEffect(()=>{l(),e(i.current)},[e]),B.jsx("div",k({style:U0},n,{ref:s}))}function H0(t){return Ct("MuiTabScrollButton",t)}const G0=bt("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),K0=["className","slots","slotProps","direction","orientation","disabled"],q0=t=>{const{classes:e,orientation:n,disabled:i}=t;return kt({root:["root",n,i&&"disabled"]},H0,e)},Y0=st(fr,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.orientation&&e[n.orientation]]}})(({ownerState:t})=>k({width:40,flexShrink:0,opacity:.8,[`&.${G0.disabled}`]:{opacity:0}},t.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${t.isRtl?-90:90}deg)`}})),X0=O.forwardRef(function(e,n){var i,s;const l=vt({props:e,name:"MuiTabScrollButton"}),{className:c,slots:d={},slotProps:f={},direction:g}=l,x=nt(l,K0),T=Wi(),m=k({isRtl:T},l),M=q0(m),R=(i=d.StartScrollButtonIcon)!=null?i:I0,E=(s=d.EndScrollButtonIcon)!=null?s:B0,A=Co({elementType:R,externalSlotProps:f.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:m}),h=Co({elementType:E,externalSlotProps:f.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:m});return B.jsx(Y0,k({component:"div",className:J(M.root,c),ref:n,role:null,ownerState:m,tabIndex:null},x,{children:g==="left"?B.jsx(R,k({},A)):B.jsx(E,k({},h))}))});function Z0(t){return Ct("MuiTabs",t)}const os=bt("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),J0=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],Yl=(t,e)=>t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:t.firstChild,Xl=(t,e)=>t===e?t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:t.lastChild,Io=(t,e,n)=>{let i=!1,s=n(t,e);for(;s;){if(s===t.firstChild){if(i)return;i=!0}const l=s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||l)s=n(t,s);else{s.focus();return}}},Q0=t=>{const{vertical:e,fixed:n,hideScrollbar:i,scrollableX:s,scrollableY:l,centered:c,scrollButtonsHideMobile:d,classes:f}=t;return kt({root:["root",e&&"vertical"],scroller:["scroller",n&&"fixed",i&&"hideScrollbar",s&&"scrollableX",l&&"scrollableY"],flexContainer:["flexContainer",e&&"flexContainerVertical",c&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",d&&"scrollButtonsHideMobile"],scrollableX:[s&&"scrollableX"],hideScrollbar:[i&&"hideScrollbar"]},Z0,f)},tm=st("div",{name:"MuiTabs",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${os.scrollButtons}`]:e.scrollButtons},{[`& .${os.scrollButtons}`]:n.scrollButtonsHideMobile&&e.scrollButtonsHideMobile},e.root,n.vertical&&e.vertical]}})(({ownerState:t,theme:e})=>k({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},t.vertical&&{flexDirection:"column"},t.scrollButtonsHideMobile&&{[`& .${os.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}})),em=st("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.scroller,n.fixed&&e.fixed,n.hideScrollbar&&e.hideScrollbar,n.scrollableX&&e.scrollableX,n.scrollableY&&e.scrollableY]}})(({ownerState:t})=>k({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},t.fixed&&{overflowX:"hidden",width:"100%"},t.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},t.scrollableX&&{overflowX:"auto",overflowY:"hidden"},t.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),rm=st("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.flexContainer,n.vertical&&e.flexContainerVertical,n.centered&&e.centered]}})(({ownerState:t})=>k({display:"flex"},t.vertical&&{flexDirection:"column"},t.centered&&{justifyContent:"center"})),nm=st("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(t,e)=>e.indicator})(({ownerState:t,theme:e})=>k({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create()},t.indicatorColor==="primary"&&{backgroundColor:(e.vars||e).palette.primary.main},t.indicatorColor==="secondary"&&{backgroundColor:(e.vars||e).palette.secondary.main},t.vertical&&{height:"100%",width:2,right:0})),om=st(V0)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),Zl={},im=O.forwardRef(function(e,n){const i=vt({props:e,name:"MuiTabs"}),s=qi(),l=Wi(),{"aria-label":c,"aria-labelledby":d,action:f,centered:g=!1,children:x,className:T,component:m="div",allowScrollButtonsMobile:M=!1,indicatorColor:R="primary",onChange:E,orientation:A="horizontal",ScrollButtonComponent:h=X0,scrollButtons:$="auto",selectionFollowsFocus:z,slots:D={},slotProps:L={},TabIndicatorProps:U={},TabScrollButtonProps:C={},textColor:at="primary",value:pt,variant:K="standard",visibleScrollbar:Y=!1}=i,Z=nt(i,J0),N=K==="scrollable",Q=A==="vertical",dt=Q?"scrollTop":"scrollLeft",ft=Q?"top":"left",Et=Q?"bottom":"right",gt=Q?"clientHeight":"clientWidth",ht=Q?"height":"width",$t=k({},i,{component:m,allowScrollButtonsMobile:M,indicatorColor:R,orientation:A,vertical:Q,scrollButtons:$,textColor:at,variant:K,visibleScrollbar:Y,fixed:!N,hideScrollbar:N&&!Y,scrollableX:N&&!Q,scrollableY:N&&Q,centered:g&&!N,scrollButtonsHideMobile:!M}),At=Q0($t),pe=Co({elementType:D.StartScrollButtonIcon,externalSlotProps:L.startScrollButtonIcon,ownerState:$t}),_e=Co({elementType:D.EndScrollButtonIcon,externalSlotProps:L.endScrollButtonIcon,ownerState:$t}),[Ht,je]=O.useState(!1),[lt,G]=O.useState(Zl),[u,w]=O.useState(!1),[V,Xe]=O.useState(!1),[yr,Qr]=O.useState(!1),[de,Fe]=O.useState({overflow:"hidden",scrollbarWidth:0}),De=new Map,re=O.useRef(null),$e=O.useRef(null),Ze=()=>{const q=re.current;let ot;if(q){const yt=q.getBoundingClientRect();ot={clientWidth:q.clientWidth,scrollLeft:q.scrollLeft,scrollTop:q.scrollTop,scrollLeftNormalized:Dd(q,l?"rtl":"ltr"),scrollWidth:q.scrollWidth,top:yt.top,bottom:yt.bottom,left:yt.left,right:yt.right}}let et;if(q&&pt!==!1){const yt=$e.current.children;if(yt.length>0){const It=yt[De.get(pt)];et=It?It.getBoundingClientRect():null}}return{tabsMeta:ot,tabMeta:et}},Me=cr(()=>{const{tabsMeta:q,tabMeta:ot}=Ze();let et=0,yt;if(Q)yt="top",ot&&q&&(et=ot.top-q.top+q.scrollTop);else if(yt=l?"right":"left",ot&&q){const F=l?q.scrollLeftNormalized+q.clientWidth-q.scrollWidth:q.scrollLeft;et=(l?-1:1)*(ot[yt]-q[yt]+F)}const It={[yt]:et,[ht]:ot?ot[ht]:0};if(isNaN(lt[yt])||isNaN(lt[ht]))G(It);else{const F=Math.abs(lt[yt]-It[yt]),oe=Math.abs(lt[ht]-It[ht]);(F>=1||oe>=1)&&G(It)}}),Le=(q,{animation:ot=!0}={})=>{ot?L0(dt,re.current,q,{duration:s.transitions.duration.standard}):re.current[dt]=q},Je=q=>{let ot=re.current[dt];Q?ot+=q:(ot+=q*(l?-1:1),ot*=l&&$a()==="reverse"?-1:1),Le(ot)},We=()=>{const q=re.current[gt];let ot=0;const et=Array.from($e.current.children);for(let yt=0;yt<et.length;yt+=1){const It=et[yt];if(ot+It[gt]>q){yt===0&&(ot=q);break}ot+=It[gt]}return ot},Ae=()=>{Je(-1*We())},Ue=()=>{Je(We())},Qe=O.useCallback(q=>{Fe({overflow:null,scrollbarWidth:q})},[]),gr=()=>{const q={};q.scrollbarSizeListener=N?B.jsx(om,{onChange:Qe,className:J(At.scrollableX,At.hideScrollbar)}):null;const et=N&&($==="auto"&&(u||V)||$===!0);return q.scrollButtonStart=et?B.jsx(h,k({slots:{StartScrollButtonIcon:D.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:pe},orientation:A,direction:l?"right":"left",onClick:Ae,disabled:!u},C,{className:J(At.scrollButtons,C.className)})):null,q.scrollButtonEnd=et?B.jsx(h,k({slots:{EndScrollButtonIcon:D.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:_e},orientation:A,direction:l?"left":"right",onClick:Ue,disabled:!V},C,{className:J(At.scrollButtons,C.className)})):null,q},mr=cr(q=>{const{tabsMeta:ot,tabMeta:et}=Ze();if(!(!et||!ot)){if(et[ft]<ot[ft]){const yt=ot[dt]+(et[ft]-ot[ft]);Le(yt,{animation:q})}else if(et[Et]>ot[Et]){const yt=ot[dt]+(et[Et]-ot[Et]);Le(yt,{animation:q})}}}),ct=cr(()=>{N&&$!==!1&&Qr(!yr)});O.useEffect(()=>{const q=Ca(()=>{re.current&&Me()});let ot;const et=F=>{F.forEach(oe=>{oe.removedNodes.forEach(Oe=>{var fe;(fe=ot)==null||fe.unobserve(Oe)}),oe.addedNodes.forEach(Oe=>{var fe;(fe=ot)==null||fe.observe(Oe)})}),q(),ct()},yt=Ra(re.current);yt.addEventListener("resize",q);let It;return typeof ResizeObserver<"u"&&(ot=new ResizeObserver(q),Array.from($e.current.children).forEach(F=>{ot.observe(F)})),typeof MutationObserver<"u"&&(It=new MutationObserver(et),It.observe($e.current,{childList:!0})),()=>{var F,oe;q.clear(),yt.removeEventListener("resize",q),(F=It)==null||F.disconnect(),(oe=ot)==null||oe.disconnect()}},[Me,ct]),O.useEffect(()=>{const q=Array.from($e.current.children),ot=q.length;if(typeof IntersectionObserver<"u"&&ot>0&&N&&$!==!1){const et=q[0],yt=q[ot-1],It={root:re.current,threshold:.99},F=tn=>{w(!tn[0].isIntersecting)},oe=new IntersectionObserver(F,It);oe.observe(et);const Oe=tn=>{Xe(!tn[0].isIntersecting)},fe=new IntersectionObserver(Oe,It);return fe.observe(yt),()=>{oe.disconnect(),fe.disconnect()}}},[N,$,yr,x==null?void 0:x.length]),O.useEffect(()=>{je(!0)},[]),O.useEffect(()=>{Me()}),O.useEffect(()=>{mr(Zl!==lt)},[mr,lt]),O.useImperativeHandle(f,()=>({updateIndicator:Me,updateScrollButtons:ct}),[Me,ct]);const Ve=B.jsx(nm,k({},U,{className:J(At.indicator,U.className),ownerState:$t,style:k({},lt,U.style)}));let I=0;const He=O.Children.map(x,q=>{if(!O.isValidElement(q))return null;const ot=q.props.value===void 0?I:q.props.value;De.set(ot,I);const et=ot===pt;return I+=1,O.cloneElement(q,k({fullWidth:K==="fullWidth",indicator:et&&!Ht&&Ve,selected:et,selectionFollowsFocus:z,onChange:E,textColor:at,value:ot},I===1&&pt===!1&&!q.props.tabIndex?{tabIndex:0}:{}))}),br=q=>{const ot=$e.current,et=ka(ot).activeElement;if(et.getAttribute("role")!=="tab")return;let It=A==="horizontal"?"ArrowLeft":"ArrowUp",F=A==="horizontal"?"ArrowRight":"ArrowDown";switch(A==="horizontal"&&l&&(It="ArrowRight",F="ArrowLeft"),q.key){case It:q.preventDefault(),Io(ot,et,Xl);break;case F:q.preventDefault(),Io(ot,et,Yl);break;case"Home":q.preventDefault(),Io(ot,null,Yl);break;case"End":q.preventDefault(),Io(ot,null,Xl);break}},v=gr();return B.jsxs(tm,k({className:J(At.root,T),ownerState:$t,ref:n,as:m},Z,{children:[v.scrollButtonStart,v.scrollbarSizeListener,B.jsxs(em,{className:At.scroller,ownerState:$t,style:{overflow:de.overflow,[Q?`margin${l?"Left":"Right"}`:"marginBottom"]:Y?void 0:-de.scrollbarWidth},ref:re,children:[B.jsx(rm,{"aria-label":c,"aria-labelledby":d,"aria-orientation":A==="vertical"?"vertical":null,className:At.flexContainer,ownerState:$t,onKeyDown:br,ref:$e,role:"tablist",children:He}),Ht&&Ve]}),v.scrollButtonEnd]}))}),Jl=Mt(B.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2M9 17H7v-5h2zm4 0h-2v-3h2zm0-5h-2v-2h2zm4 5h-2V7h2z"}),"Analytics"),sm=Mt(B.jsx("path",{d:"m19 9 1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25zm-7.5.5L9 4 6.5 9.5 1 12l5.5 2.5L9 20l2.5-5.5L17 12zM19 15l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25z"}),"AutoAwesome"),Ql=Mt(B.jsx("path",{d:"M4 9h4v11H4zm12 4h4v7h-4zm-6-9h4v16h-4z"}),"BarChart"),am=Mt(B.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M10 17l-3.5-3.5 1.41-1.41L10 14.17 15.18 9l1.41 1.41z"}),"CloudDone"),lm=Mt(B.jsx("path",{d:"M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z"}),"Code"),tc=Mt(B.jsx("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4-8 5-8-5V6l8 5 8-5z"}),"Email"),cm=Mt(B.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"}),"Info"),um=Mt(B.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDown"),pm=Mt(B.jsx("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"}),"KeyboardArrowRight"),dm=Mt(B.jsx("path",{d:"M9 21c0 .5.4 1 1 1h4c.6 0 1-.5 1-1v-1H9zm3-19C8.1 2 5 5.1 5 9c0 2.4 1.2 4.5 3 5.7V17c0 .5.4 1 1 1h6c.6 0 1-.5 1-1v-2.3c1.8-1.3 3-3.4 3-5.7 0-3.9-3.1-7-7-7"}),"Lightbulb"),fm=Mt([B.jsx("path",{d:"M13 8.57c-.79 0-1.43.64-1.43 1.43s.64 1.43 1.43 1.43 1.43-.64 1.43-1.43-.64-1.43-1.43-1.43"},"0"),B.jsx("path",{d:"M13 3C9.25 3 6.2 5.94 6.02 9.64L4.1 12.2c-.25.33-.01.8.4.8H6v3c0 1.1.9 2 2 2h1v3h7v-4.68c2.36-1.12 4-3.53 4-6.32 0-3.87-3.13-7-7-7m3 7c0 .13-.01.26-.02.39l.83.66c.08.06.1.16.05.25l-.8 1.39c-.05.09-.16.12-.24.09l-.99-.4c-.21.16-.43.29-.67.39L14 13.83c-.01.1-.1.17-.2.17h-1.6c-.1 0-.18-.07-.2-.17l-.15-1.06c-.25-.1-.47-.23-.68-.39l-.99.4c-.09.03-.2 0-.25-.09l-.8-1.39c-.05-.08-.03-.19.05-.25l.84-.66c-.01-.13-.02-.26-.02-.39s.02-.27.04-.39l-.85-.66c-.08-.06-.1-.16-.05-.26l.8-1.38c.05-.09.15-.12.24-.09l1 .4c.2-.15.43-.29.67-.39L12 6.17c.02-.1.1-.17.2-.17h1.6c.1 0 .18.07.2.17l.15 1.06c.24.1.46.23.67.39l1-.4c.09-.03.2 0 .24.09l.8 1.38c.05.09.03.2-.05.26l-.85.66c.03.12.04.25.04.39"},"1")],"Psychology"),hm=Mt(B.jsx("path",{d:"M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1m-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1"}),"QuestionAnswer"),ym=Mt(B.jsx("path",{d:"M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11z"}),"Security"),ec=Mt(B.jsx("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings"),is=Mt(B.jsx("path",{d:"m20.38 8.57-1.23 1.85a8 8 0 0 1-.22 7.58H5.07A8 8 0 0 1 15.58 6.85l1.85-1.23A10 10 0 0 0 3.35 19a2 2 0 0 0 1.72 1h13.85a2 2 0 0 0 1.74-1 10 10 0 0 0-.27-10.44zm-9.79 6.84a2 2 0 0 0 2.83 0l5.66-8.49-8.49 5.66a2 2 0 0 0 0 2.83"}),"Speed"),gm=Mt(B.jsx("path",{d:"M23 8c0 1.1-.9 2-2 2-.18 0-.35-.02-.51-.07l-3.56 3.55c.05.16.07.34.07.52 0 1.1-.9 2-2 2s-2-.9-2-2c0-.18.02-.36.07-.52l-2.55-2.55c-.16.05-.34.07-.52.07s-.36-.02-.52-.07l-4.55 4.56c.05.16.07.33.07.51 0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.18 0 .35.02.51.07l4.56-4.55C8.02 9.36 8 9.18 8 9c0-1.1.9-2 2-2s2 .9 2 2c0 .18-.02.36-.07.52l2.55 2.55c.16-.05.34-.07.52-.07s.36.02.52.07l3.55-3.56C19.02 8.35 19 8.18 19 8c0-1.1.9-2 2-2s2 .9 2 2"}),"Timeline"),Bo=Mt(B.jsx("path",{d:"m16 6 2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z"}),"TrendingUp");var mm=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},Yt=(t,e,n)=>(mm(t,e,"read from private field"),n?n.call(t):e.get(t)),Xt=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},rc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};function nc(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function i(){return this instanceof i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(i){var s=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(n,i,s.get?s:{enumerable:!0,get:function(){return t[i]}})}),n}var oc={exports:{}},En={};/**156 `),wb)),fu=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiLinearProgress"}),{className:s,color:a="primary",value:c,valueBuffer:p,variant:d="indeterminate"}=o,g=at(o,vb),m=T({},o,{color:a,variant:d}),S=Cb(m),y=pi(),j={},k={bar1:{},bar2:{}};if((d==="determinate"||d==="buffer")&&c!==void 0){j["aria-valuenow"]=Math.round(c),j["aria-valuemin"]=0,j["aria-valuemax"]=100;let E=c-100;y&&(E=-E),k.bar1.transform=`translateX(${E}%)`}if(d==="buffer"&&p!==void 0){let E=(p||0)-100;y&&(E=-E),k.bar2.transform=`translateX(${E}%)`}return F.jsxs(Rb,T({className:ot(S.root,s),ownerState:m,role:"progressbar"},j,{ref:n},g,{children:[d==="buffer"?F.jsx(Eb,{className:S.dashed,ownerState:m}):null,F.jsx(Tb,{className:S.bar1,ownerState:m,style:k.bar1}),d==="determinate"?null:F.jsx(kb,{className:S.bar2,ownerState:m,style:k.bar2})]}))});function jb(t){return kt("MuiLink",t)}const Pb=Et("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),hu={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},$b=t=>hu[t]||t,Mb=({theme:t,ownerState:e})=>{const n=$b(e.color),o=nn(t,`palette.${n}`,!1)||e.color,s=nn(t,`palette.${n}Channel`);return"vars"in t&&s?`rgba(${s} / 0.4)`:Ot(o,.4)},Ab=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],Ob=t=>{const{classes:e,component:n,focusVisible:o,underline:s}=t,a={root:["root",`underline${X(s)}`,n==="button"&&"button",o&&"focusVisible"]};return jt(a,jb,e)},Ib=ht(et,{name:"MuiLink",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`underline${X(n.underline)}`],n.component==="button"&&e.button]}})(({theme:t,ownerState:e})=>T({},e.underline==="none"&&{textDecoration:"none"},e.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},e.underline==="always"&&T({textDecoration:"underline"},e.color!=="inherit"&&{textDecorationColor:Mb({theme:t,ownerState:e})},{"&:hover":{textDecorationColor:"inherit"}}),e.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Pb.focusVisible}`]:{outline:"auto"}})),gu=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiLink"}),{className:s,color:a="primary",component:c="a",onBlur:p,onFocus:d,TypographyClasses:g,underline:m="always",variant:S="inherit",sx:y}=o,j=at(o,Ab),{isFocusVisibleRef:k,onBlur:E,onFocus:A,ref:h}=Ns(),[P,D]=M.useState(!1),I=ze(n,h),z=G=>{E(G),k.current===!1&&D(!1),p&&p(G)},N=G=>{A(G),k.current===!0&&D(!0),d&&d(G)},x=T({},o,{color:a,component:c,focusVisible:P,underline:m,variant:S}),V=Ob(x);return F.jsx(Ib,T({color:a,className:ot(V.root,s),classes:g,component:c,onBlur:z,onFocus:N,ref:I,ownerState:x,variant:S,sx:[...Object.keys(hu).includes(a)?[]:[{color:a}],...Array.isArray(y)?y:[y]]},j))}),Ur=M.createContext({});function Bb(t){return kt("MuiList",t)}Et("MuiList",["root","padding","dense","subheader"]);const Fb=["children","className","component","dense","disablePadding","subheader"],zb=t=>{const{classes:e,disablePadding:n,dense:o,subheader:s}=t;return jt({root:["root",!n&&"padding",o&&"dense",s&&"subheader"]},Bb,e)},Db=ht("ul",{name:"MuiList",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.disablePadding&&e.padding,n.dense&&e.dense,n.subheader&&e.subheader]}})(({ownerState:t})=>T({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})),Ei=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiList"}),{children:s,className:a,component:c="ul",dense:p=!1,disablePadding:d=!1,subheader:g}=o,m=at(o,Fb),S=M.useMemo(()=>({dense:p}),[p]),y=T({},o,{component:c,dense:p,disablePadding:d}),j=zb(y);return F.jsx(Ur.Provider,{value:S,children:F.jsxs(Db,T({as:c,className:ot(j.root,a),ref:n,ownerState:y},m,{children:[g,s]}))})});function Nb(t){return kt("MuiListItem",t)}const bn=Et("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),_b=Et("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function Lb(t){return kt("MuiListItemSecondaryAction",t)}Et("MuiListItemSecondaryAction",["root","disableGutters"]);const Wb=["className"],Ub=t=>{const{disableGutters:e,classes:n}=t;return jt({root:["root",e&&"disableGutters"]},Lb,n)},Hb=ht("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.disableGutters&&e.disableGutters]}})(({ownerState:t})=>T({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},t.disableGutters&&{right:0})),yu=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiListItemSecondaryAction"}),{className:s}=o,a=at(o,Wb),c=M.useContext(Ur),p=T({},o,{disableGutters:c.disableGutters}),d=Ub(p);return F.jsx(Hb,T({className:ot(d.root,s),ownerState:p,ref:n},a))});yu.muiName="ListItemSecondaryAction";const Gb=yu,Vb=["className"],Kb=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],Yb=(t,e)=>{const{ownerState:n}=t;return[e.root,n.dense&&e.dense,n.alignItems==="flex-start"&&e.alignItemsFlexStart,n.divider&&e.divider,!n.disableGutters&&e.gutters,!n.disablePadding&&e.padding,n.button&&e.button,n.hasSecondaryAction&&e.secondaryAction]},qb=t=>{const{alignItems:e,button:n,classes:o,dense:s,disabled:a,disableGutters:c,disablePadding:p,divider:d,hasSecondaryAction:g,selected:m}=t;return jt({root:["root",s&&"dense",!c&&"gutters",!p&&"padding",d&&"divider",a&&"disabled",n&&"button",e==="flex-start"&&"alignItemsFlexStart",g&&"secondaryAction",m&&"selected"],container:["container"]},Nb,o)},Xb=ht("div",{name:"MuiListItem",slot:"Root",overridesResolver:Yb})(({theme:t,ownerState:e})=>T({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!e.disablePadding&&T({paddingTop:8,paddingBottom:8},e.dense&&{paddingTop:4,paddingBottom:4},!e.disableGutters&&{paddingLeft:16,paddingRight:16},!!e.secondaryAction&&{paddingRight:48}),!!e.secondaryAction&&{[`& > .${_b.root}`]:{paddingRight:48}},{[`&.${bn.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${bn.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Ot(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${bn.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:Ot(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${bn.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},e.alignItems==="flex-start"&&{alignItems:"flex-start"},e.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},e.button&&{transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${bn.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Ot(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Ot(t.palette.primary.main,t.palette.action.selectedOpacity)}}},e.hasSecondaryAction&&{paddingRight:48})),Jb=ht("li",{name:"MuiListItem",slot:"Container",overridesResolver:(t,e)=>e.container})({position:"relative"}),er=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiListItem"}),{alignItems:s="center",autoFocus:a=!1,button:c=!1,children:p,className:d,component:g,components:m={},componentsProps:S={},ContainerComponent:y="li",ContainerProps:{className:j}={},dense:k=!1,disabled:E=!1,disableGutters:A=!1,disablePadding:h=!1,divider:P=!1,focusVisibleClassName:D,secondaryAction:I,selected:z=!1,slotProps:N={},slots:x={}}=o,V=at(o.ContainerProps,Vb),G=at(o,Kb),L=M.useContext(Ur),K=M.useMemo(()=>({dense:k||L.dense||!1,alignItems:s,disableGutters:A}),[s,L.dense,k,A]),J=M.useRef(null);Br(()=>{a&&J.current&&J.current.focus()},[a]);const _=M.Children.toArray(p),Q=_.length&&oh(_[_.length-1],["ListItemSecondaryAction"]),q=T({},o,{alignItems:s,autoFocus:a,button:c,dense:K.dense,disabled:E,disableGutters:A,disablePadding:h,divider:P,hasSecondaryAction:Q,selected:z}),tt=qb(q),dt=ze(J,n),bt=x.root||m.Root||Xb,it=N.root||S.root||{},xt=T({className:ot(tt.root,it.className,d),disabled:E},G);let Ct=g||"li";return c&&(xt.component=g||"div",xt.focusVisibleClassName=ot(bn.focusVisible,D),Ct=_r),Q?(Ct=!xt.component&&!g?"div":Ct,y==="li"&&(Ct==="li"?Ct="div":xt.component==="li"&&(xt.component="div")),F.jsx(Ur.Provider,{value:K,children:F.jsxs(Jb,T({as:y,className:ot(tt.container,j),ref:dt,ownerState:q},V,{children:[F.jsx(bt,T({},it,!_s(bt)&&{as:Ct,ownerState:T({},q,it.ownerState)},xt,{children:_})),_.pop()]}))})):F.jsx(Ur.Provider,{value:K,children:F.jsxs(bt,T({},it,{as:Ct,ref:dt},!_s(bt)&&{ownerState:T({},q,it.ownerState)},xt,{children:[_,I&&F.jsx(Gb,{children:I})]}))})});function Zb(t){return kt("MuiListItemIcon",t)}Et("MuiListItemIcon",["root","alignItemsFlexStart"]);const Qb=["className"],tv=t=>{const{alignItems:e,classes:n}=t;return jt({root:["root",e==="flex-start"&&"alignItemsFlexStart"]},Zb,n)},ev=ht("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.alignItems==="flex-start"&&e.alignItemsFlexStart]}})(({theme:t,ownerState:e})=>T({minWidth:56,color:(t.vars||t).palette.action.active,flexShrink:0,display:"inline-flex"},e.alignItems==="flex-start"&&{marginTop:8})),rr=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiListItemIcon"}),{className:s}=o,a=at(o,Qb),c=M.useContext(Ur),p=T({},o,{alignItems:c.alignItems}),d=tv(p);return F.jsx(ev,T({className:ot(d.root,s),ownerState:p,ref:n},a))});function rv(t){return kt("MuiListItemText",t)}const mu=Et("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),nv=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],ov=t=>{const{classes:e,inset:n,primary:o,secondary:s,dense:a}=t;return jt({root:["root",n&&"inset",a&&"dense",o&&s&&"multiline"],primary:["primary"],secondary:["secondary"]},rv,e)},iv=ht("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${mu.primary}`]:e.primary},{[`& .${mu.secondary}`]:e.secondary},e.root,n.inset&&e.inset,n.primary&&n.secondary&&e.multiline,n.dense&&e.dense]}})(({ownerState:t})=>T({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},t.primary&&t.secondary&&{marginTop:6,marginBottom:6},t.inset&&{paddingLeft:56})),nr=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiListItemText"}),{children:s,className:a,disableTypography:c=!1,inset:p=!1,primary:d,primaryTypographyProps:g,secondary:m,secondaryTypographyProps:S}=o,y=at(o,nv),{dense:j}=M.useContext(Ur);let k=d??s,E=m;const A=T({},o,{disableTypography:c,inset:p,primary:!!k,secondary:!!E,dense:j}),h=ov(A);return k!=null&&k.type!==et&&!c&&(k=F.jsx(et,T({variant:j?"body2":"body1",className:h.primary,component:g!=null&&g.variant?void 0:"span",display:"block"},g,{children:k}))),E!=null&&E.type!==et&&!c&&(E=F.jsx(et,T({variant:"body2",className:h.secondary,color:"text.secondary",display:"block"},S,{children:E}))),F.jsxs(iv,T({className:ot(h.root,a),ownerState:A,ref:n},y,{children:[k,E]}))});function sv(t){return kt("MuiTooltip",t)}const Tr=Et("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),av=["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"];function lv(t){return Math.round(t*1e5)/1e5}const cv=t=>{const{classes:e,disableInteractive:n,arrow:o,touch:s,placement:a}=t,c={popper:["popper",!n&&"popperInteractive",o&&"popperArrow"],tooltip:["tooltip",o&&"tooltipArrow",s&&"touch",`tooltipPlacement${X(a.split("-")[0])}`],arrow:["arrow"]};return jt(c,sv,e)},uv=ht(Jc,{name:"MuiTooltip",slot:"Popper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.popper,!n.disableInteractive&&e.popperInteractive,n.arrow&&e.popperArrow,!n.open&&e.popperClose]}})(({theme:t,ownerState:e,open:n})=>T({zIndex:(t.vars||t).zIndex.tooltip,pointerEvents:"none"},!e.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},e.arrow&&{[`&[data-popper-placement*="bottom"] .${Tr.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Tr.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Tr.arrow}`]:T({},e.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Tr.arrow}`]:T({},e.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),pv=ht("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.tooltip,n.touch&&e.touch,n.arrow&&e.tooltipArrow,e[`tooltipPlacement${X(n.placement.split("-")[0])}`]]}})(({theme:t,ownerState:e})=>T({backgroundColor:t.vars?t.vars.palette.Tooltip.bg:Ot(t.palette.grey[700],.92),borderRadius:(t.vars||t).shape.borderRadius,color:(t.vars||t).palette.common.white,fontFamily:t.typography.fontFamily,padding:"4px 8px",fontSize:t.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:t.typography.fontWeightMedium},e.arrow&&{position:"relative",margin:0},e.touch&&{padding:"8px 16px",fontSize:t.typography.pxToRem(14),lineHeight:`${lv(16/14)}em`,fontWeight:t.typography.fontWeightRegular},{[`.${Tr.popper}[data-popper-placement*="left"] &`]:T({transformOrigin:"right center"},e.isRtl?T({marginLeft:"14px"},e.touch&&{marginLeft:"24px"}):T({marginRight:"14px"},e.touch&&{marginRight:"24px"})),[`.${Tr.popper}[data-popper-placement*="right"] &`]:T({transformOrigin:"left center"},e.isRtl?T({marginRight:"14px"},e.touch&&{marginRight:"24px"}):T({marginLeft:"14px"},e.touch&&{marginLeft:"24px"})),[`.${Tr.popper}[data-popper-placement*="top"] &`]:T({transformOrigin:"center bottom",marginBottom:"14px"},e.touch&&{marginBottom:"24px"}),[`.${Tr.popper}[data-popper-placement*="bottom"] &`]:T({transformOrigin:"center top",marginTop:"14px"},e.touch&&{marginTop:"24px"})})),dv=ht("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(t,e)=>e.arrow})(({theme:t})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t.vars?t.vars.palette.Tooltip.bg:Ot(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let Ti=!1;const bu=new Xn;let fo={x:0,y:0};function ki(t,e){return(n,...o)=>{e&&e(n,...o),t(n,...o)}}const vu=M.forwardRef(function(e,n){var o,s,a,c,p,d,g,m,S,y,j,k,E,A,h,P,D,I,z;const N=Tt({props:e,name:"MuiTooltip"}),{arrow:x=!1,children:V,components:G={},componentsProps:L={},describeChild:K=!1,disableFocusListener:J=!1,disableHoverListener:_=!1,disableInteractive:Q=!1,disableTouchListener:q=!1,enterDelay:tt=100,enterNextDelay:dt=0,enterTouchDelay:bt=700,followCursor:it=!1,id:xt,leaveDelay:Ct=0,leaveTouchDelay:Qt=1500,onClose:fe,onOpen:Ft,open:Wt,placement:st="bottom",PopperComponent:rt,PopperProps:nt={},slotProps:Rt={},slots:ut={},title:u,TransitionComponent:w=su,TransitionProps:H}=N,he=at(N,av),te=M.isValidElement(V)?V:F.jsx("span",{children:V}),Ce=to(),ee=pi(),[ae,Ae]=M.useState(),[Lt,ye]=M.useState(null),me=M.useRef(!1),be=Q||it,ue=Fr(),ve=Fr(),xe=Fr(),_e=Fr(),[ar,yt]=ah({controlled:Wt,default:!1,name:"Tooltip",state:"open"});let le=ar;const B=sh(xt),Re=M.useRef(),lr=gr(()=>{Re.current!==void 0&&(document.body.style.WebkitUserSelect=Re.current,Re.current=void 0),_e.clear()});M.useEffect(()=>lr,[lr]);const C=vt=>{bu.clear(),Ti=!0,yt(!0),Ft&&!le&&Ft(vt)},Z=gr(vt=>{bu.start(800+Ct,()=>{Ti=!1}),yt(!1),fe&&le&&fe(vt),ue.start(Ce.transitions.duration.shortest,()=>{me.current=!1})}),lt=vt=>{me.current&&vt.type!=="touchstart"||(ae&&ae.removeAttribute("title"),ve.clear(),xe.clear(),tt||Ti&&dt?ve.start(Ti?dt:tt,()=>{C(vt)}):C(vt))},ct=vt=>{ve.clear(),xe.start(Ct,()=>{Z(vt)})},{isFocusVisibleRef:wt,onBlur:Dt,onFocus:U,ref:we}=Ns(),[,Oe]=M.useState(!1),Ee=vt=>{Dt(vt),wt.current===!1&&(Oe(!1),ct(vt))},xr=vt=>{ae||Ae(vt.currentTarget),U(vt),wt.current===!0&&(Oe(!0),lt(vt))},Te=vt=>{me.current=!0;const $t=te.props;$t.onTouchStart&&$t.onTouchStart(vt)},Di=vt=>{Te(vt),xe.clear(),ue.clear(),lr(),Re.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",_e.start(bt,()=>{document.body.style.WebkitUserSelect=Re.current,lt(vt)})},Ni=vt=>{te.props.onTouchEnd&&te.props.onTouchEnd(vt),lr(),xe.start(Qt,()=>{Z(vt)})};M.useEffect(()=>{if(!le)return;function vt($t){($t.key==="Escape"||$t.key==="Esc")&&Z($t)}return document.addEventListener("keydown",vt),()=>{document.removeEventListener("keydown",vt)}},[Z,le]);const _i=ze(Ls(te),we,Ae,n);!u&&u!==0&&(le=!1);const $n=M.useRef(),Li=vt=>{const $t=te.props;$t.onMouseMove&&$t.onMouseMove(vt),fo={x:vt.clientX,y:vt.clientY},$n.current&&$n.current.update()},jr={},Le=typeof u=="string";K?(jr.title=!le&&Le&&!_?u:null,jr["aria-describedby"]=le?B:null):(jr["aria-label"]=Le?u:null,jr["aria-labelledby"]=le&&!Le?B:null);const pe=T({},jr,he,te.props,{className:ot(he.className,te.props.className),onTouchStart:Te,ref:_i},it?{onMouseMove:Li}:{}),Pr={};q||(pe.onTouchStart=Di,pe.onTouchEnd=Ni),_||(pe.onMouseOver=ki(lt,pe.onMouseOver),pe.onMouseLeave=ki(ct,pe.onMouseLeave),be||(Pr.onMouseOver=lt,Pr.onMouseLeave=ct)),J||(pe.onFocus=ki(xr,pe.onFocus),pe.onBlur=ki(Ee,pe.onBlur),be||(Pr.onFocus=xr,Pr.onBlur=Ee));const So=M.useMemo(()=>{var vt;let $t=[{name:"arrow",enabled:!!Lt,options:{element:Lt,padding:4}}];return(vt=nt.popperOptions)!=null&&vt.modifiers&&($t=$t.concat(nt.popperOptions.modifiers)),T({},nt.popperOptions,{modifiers:$t})},[Lt,nt]),$r=T({},N,{isRtl:ee,arrow:x,disableInteractive:be,placement:st,PopperComponentProp:rt,touch:me.current}),Mn=cv($r),An=(o=(s=ut.popper)!=null?s:G.Popper)!=null?o:uv,Mr=(a=(c=(p=ut.transition)!=null?p:G.Transition)!=null?c:w)!=null?a:su,Hr=(d=(g=ut.tooltip)!=null?g:G.Tooltip)!=null?d:pv,On=(m=(S=ut.arrow)!=null?S:G.Arrow)!=null?m:dv,We=an(An,T({},nt,(y=Rt.popper)!=null?y:L.popper,{className:ot(Mn.popper,nt==null?void 0:nt.className,(j=(k=Rt.popper)!=null?k:L.popper)==null?void 0:j.className)}),$r),Y=an(Mr,T({},H,(E=Rt.transition)!=null?E:L.transition),$r),pt=an(Hr,T({},(A=Rt.tooltip)!=null?A:L.tooltip,{className:ot(Mn.tooltip,(h=(P=Rt.tooltip)!=null?P:L.tooltip)==null?void 0:h.className)}),$r),Co=an(On,T({},(D=Rt.arrow)!=null?D:L.arrow,{className:ot(Mn.arrow,(I=(z=Rt.arrow)!=null?z:L.arrow)==null?void 0:I.className)}),$r);return F.jsxs(M.Fragment,{children:[M.cloneElement(te,pe),F.jsx(An,T({as:rt??Jc,placement:st,anchorEl:it?{getBoundingClientRect:()=>({top:fo.y,left:fo.x,right:fo.x,bottom:fo.y,width:0,height:0})}:ae,popperRef:$n,open:ae?le:!1,id:B,transition:!0},Pr,We,{popperOptions:So,children:({TransitionProps:vt})=>F.jsx(Mr,T({timeout:Ce.transitions.duration.shorter},vt,Y,{children:F.jsxs(Hr,T({},pt,{children:[u,x?F.jsx(On,T({},Co,{ref:ye})):null]}))}))}))]})});function fv(t){return kt("MuiTab",t)}const kr=Et("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),hv=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],gv=t=>{const{classes:e,textColor:n,fullWidth:o,wrapped:s,icon:a,label:c,selected:p,disabled:d}=t,g={root:["root",a&&c&&"labelIcon",`textColor${X(n)}`,o&&"fullWidth",s&&"wrapped",p&&"selected",d&&"disabled"],iconWrapper:["iconWrapper"]};return jt(g,fv,e)},yv=ht(_r,{name:"MuiTab",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.label&&n.icon&&e.labelIcon,e[`textColor${X(n.textColor)}`],n.fullWidth&&e.fullWidth,n.wrapped&&e.wrapped,{[`& .${kr.iconWrapper}`]:e.iconWrapper}]}})(({theme:t,ownerState:e})=>T({},t.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},e.label&&{flexDirection:e.iconPosition==="top"||e.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},e.icon&&e.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${kr.iconWrapper}`]:T({},e.iconPosition==="top"&&{marginBottom:6},e.iconPosition==="bottom"&&{marginTop:6},e.iconPosition==="start"&&{marginRight:t.spacing(1)},e.iconPosition==="end"&&{marginLeft:t.spacing(1)})},e.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${kr.selected}`]:{opacity:1},[`&.${kr.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},e.textColor==="primary"&&{color:(t.vars||t).palette.text.secondary,[`&.${kr.selected}`]:{color:(t.vars||t).palette.primary.main},[`&.${kr.disabled}`]:{color:(t.vars||t).palette.text.disabled}},e.textColor==="secondary"&&{color:(t.vars||t).palette.text.secondary,[`&.${kr.selected}`]:{color:(t.vars||t).palette.secondary.main},[`&.${kr.disabled}`]:{color:(t.vars||t).palette.text.disabled}},e.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},e.wrapped&&{fontSize:t.typography.pxToRem(12)})),xu=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiTab"}),{className:s,disabled:a=!1,disableFocusRipple:c=!1,fullWidth:p,icon:d,iconPosition:g="top",indicator:m,label:S,onChange:y,onClick:j,onFocus:k,selected:E,selectionFollowsFocus:A,textColor:h="inherit",value:P,wrapped:D=!1}=o,I=at(o,hv),z=T({},o,{disabled:a,disableFocusRipple:c,selected:E,icon:!!d,iconPosition:g,label:!!S,fullWidth:p,textColor:h,wrapped:D}),N=gv(z),x=d&&S&&M.isValidElement(d)?M.cloneElement(d,{className:ot(N.iconWrapper,d.props.className)}):d,V=L=>{!E&&y&&y(L,P),j&&j(L)},G=L=>{A&&!E&&y&&y(L,P),k&&k(L)};return F.jsxs(yv,T({focusRipple:!c,className:ot(N.root,s),ref:n,role:"tab","aria-selected":E,disabled:a,onClick:V,onFocus:G,ownerState:z,tabIndex:E?0:-1},I,{children:[g==="top"||g==="start"?F.jsxs(M.Fragment,{children:[x,S]}):F.jsxs(M.Fragment,{children:[S,x]}),m]}))}),wu=M.createContext();function mv(t){return kt("MuiTable",t)}Et("MuiTable",["root","stickyHeader"]);const bv=["className","component","padding","size","stickyHeader"],vv=t=>{const{classes:e,stickyHeader:n}=t;return jt({root:["root",n&&"stickyHeader"]},mv,e)},xv=ht("table",{name:"MuiTable",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.stickyHeader&&e.stickyHeader]}})(({theme:t,ownerState:e})=>T({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":T({},t.typography.body2,{padding:t.spacing(2),color:(t.vars||t).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},e.stickyHeader&&{borderCollapse:"separate"})),Su="table",Cu=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiTable"}),{className:s,component:a=Su,padding:c="normal",size:p="medium",stickyHeader:d=!1}=o,g=at(o,bv),m=T({},o,{component:a,padding:c,size:p,stickyHeader:d}),S=vv(m),y=M.useMemo(()=>({padding:c,size:p,stickyHeader:d}),[c,p,d]);return F.jsx(wu.Provider,{value:y,children:F.jsx(xv,T({as:a,role:a===Su?null:"table",ref:n,className:ot(S.root,s),ownerState:m},g))})}),ji=M.createContext();function wv(t){return kt("MuiTableBody",t)}Et("MuiTableBody",["root"]);const Sv=["className","component"],Cv=t=>{const{classes:e}=t;return jt({root:["root"]},wv,e)},Rv=ht("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-row-group"}),Ev={variant:"body"},Ru="tbody",Eu=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiTableBody"}),{className:s,component:a=Ru}=o,c=at(o,Sv),p=T({},o,{component:a}),d=Cv(p);return F.jsx(ji.Provider,{value:Ev,children:F.jsx(Rv,T({className:ot(d.root,s),as:a,ref:n,role:a===Ru?null:"rowgroup",ownerState:p},c))})});function Tv(t){return kt("MuiTableCell",t)}const kv=Et("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),jv=["align","className","component","padding","scope","size","sortDirection","variant"],Pv=t=>{const{classes:e,variant:n,align:o,padding:s,size:a,stickyHeader:c}=t,p={root:["root",n,c&&"stickyHeader",o!=="inherit"&&`align${X(o)}`,s!=="normal"&&`padding${X(s)}`,`size${X(a)}`]};return jt(p,Tv,e)},$v=ht("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`size${X(n.size)}`],n.padding!=="normal"&&e[`padding${X(n.padding)}`],n.align!=="inherit"&&e[`align${X(n.align)}`],n.stickyHeader&&e.stickyHeader]}})(({theme:t,ownerState:e})=>T({},t.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:t.vars?`1px solid ${t.vars.palette.TableCell.border}`:`1px solid 157 ${t.palette.mode==="light"?Qn(Ot(t.palette.divider,1),.88):Zn(Ot(t.palette.divider,1),.68)}`,textAlign:"left",padding:16},e.variant==="head"&&{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium},e.variant==="body"&&{color:(t.vars||t).palette.text.primary},e.variant==="footer"&&{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)},e.size==="small"&&{padding:"6px 16px",[`&.${kv.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},e.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},e.padding==="none"&&{padding:0},e.align==="left"&&{textAlign:"left"},e.align==="center"&&{textAlign:"center"},e.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},e.align==="justify"&&{textAlign:"justify"},e.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(t.vars||t).palette.background.default})),ke=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiTableCell"}),{align:s="inherit",className:a,component:c,padding:p,scope:d,size:g,sortDirection:m,variant:S}=o,y=at(o,jv),j=M.useContext(wu),k=M.useContext(ji),E=k&&k.variant==="head";let A;c?A=c:A=E?"th":"td";let h=d;A==="td"?h=void 0:!h&&E&&(h="col");const P=S||k&&k.variant,D=T({},o,{align:s,component:A,padding:p||(j&&j.padding?j.padding:"normal"),size:g||(j&&j.size?j.size:"medium"),sortDirection:m,stickyHeader:P==="head"&&j&&j.stickyHeader,variant:P}),I=Pv(D);let z=null;return m&&(z=m==="asc"?"ascending":"descending"),F.jsx($v,T({as:A,ref:n,className:ot(I.root,a),"aria-sort":z,scope:h,ownerState:D},y))});function Mv(t){return kt("MuiTableContainer",t)}Et("MuiTableContainer",["root"]);const Av=["className","component"],Ov=t=>{const{classes:e}=t;return jt({root:["root"]},Mv,e)},Iv=ht("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(t,e)=>e.root})({width:"100%",overflowX:"auto"}),Bv=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiTableContainer"}),{className:s,component:a="div"}=o,c=at(o,Av),p=T({},o,{component:a}),d=Ov(p);return F.jsx(Iv,T({ref:n,as:a,className:ot(d.root,s),ownerState:p},c))});function Fv(t){return kt("MuiTableHead",t)}Et("MuiTableHead",["root"]);const zv=["className","component"],Dv=t=>{const{classes:e}=t;return jt({root:["root"]},Fv,e)},Nv=ht("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-header-group"}),_v={variant:"head"},Tu="thead",ku=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiTableHead"}),{className:s,component:a=Tu}=o,c=at(o,zv),p=T({},o,{component:a}),d=Dv(p);return F.jsx(ji.Provider,{value:_v,children:F.jsx(Nv,T({as:a,className:ot(d.root,s),ref:n,role:a===Tu?null:"rowgroup",ownerState:p},c))})}),Lv=zt(F.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),Wv=zt(F.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function Uv(t){return kt("MuiTableRow",t)}const ju=Et("MuiTableRow",["root","selected","hover","head","footer"]),Hv=["className","component","hover","selected"],Gv=t=>{const{classes:e,selected:n,hover:o,head:s,footer:a}=t;return jt({root:["root",n&&"selected",o&&"hover",s&&"head",a&&"footer"]},Uv,e)},Vv=ht("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.head&&e.head,n.footer&&e.footer]}})(({theme:t})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${ju.hover}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${ju.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Ot(t.palette.primary.main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Ot(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)}}})),Pu="tr",ho=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiTableRow"}),{className:s,component:a=Pu,hover:c=!1,selected:p=!1}=o,d=at(o,Hv),g=M.useContext(ji),m=T({},o,{component:a,hover:c,selected:p,head:g&&g.variant==="head",footer:g&&g.variant==="footer"}),S=Gv(m);return F.jsx(Vv,T({as:a,ref:n,className:ot(S.root,s),role:a===Pu?null:"row",ownerState:m},d))});function Kv(t){return(1+Math.sin(Math.PI*t-Math.PI/2))/2}function Yv(t,e,n,o={},s=()=>{}){const{ease:a=Kv,duration:c=300}=o;let p=null;const d=e[t];let g=!1;const m=()=>{g=!0},S=y=>{if(g){s(new Error("Animation cancelled"));return}p===null&&(p=y);const j=Math.min(1,(y-p)/c);if(e[t]=a(j)*(n-d)+d,j>=1){requestAnimationFrame(()=>{s(null)});return}requestAnimationFrame(S)};return d===n?(s(new Error("Element already at target position")),m):(requestAnimationFrame(S),m)}const qv=["onChange"],Xv={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function Jv(t){const{onChange:e}=t,n=at(t,qv),o=M.useRef(),s=M.useRef(null),a=()=>{o.current=s.current.offsetHeight-s.current.clientHeight};return Br(()=>{const c=Ol(()=>{const d=o.current;a(),d!==o.current&&e(o.current)}),p=Il(s.current);return p.addEventListener("resize",c),()=>{c.clear(),p.removeEventListener("resize",c)}},[e]),M.useEffect(()=>{a(),e(o.current)},[e]),F.jsx("div",T({style:Xv},n,{ref:s}))}function Zv(t){return kt("MuiTabScrollButton",t)}const Qv=Et("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),t1=["className","slots","slotProps","direction","orientation","disabled"],e1=t=>{const{classes:e,orientation:n,disabled:o}=t;return jt({root:["root",n,o&&"disabled"]},Zv,e)},r1=ht(_r,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.orientation&&e[n.orientation]]}})(({ownerState:t})=>T({width:40,flexShrink:0,opacity:.8,[`&.${Qv.disabled}`]:{opacity:0}},t.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${t.isRtl?-90:90}deg)`}})),n1=M.forwardRef(function(e,n){var o,s;const a=Tt({props:e,name:"MuiTabScrollButton"}),{className:c,slots:p={},slotProps:d={},direction:g}=a,m=at(a,t1),S=pi(),y=T({isRtl:S},a),j=e1(y),k=(o=p.StartScrollButtonIcon)!=null?o:Lv,E=(s=p.EndScrollButtonIcon)!=null?s:Wv,A=Jn({elementType:k,externalSlotProps:d.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:y}),h=Jn({elementType:E,externalSlotProps:d.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:y});return F.jsx(r1,T({component:"div",className:ot(j.root,c),ref:n,role:null,ownerState:y,tabIndex:null},m,{children:g==="left"?F.jsx(k,T({},A)):F.jsx(E,T({},h))}))});function o1(t){return kt("MuiTabs",t)}const ya=Et("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),i1=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],$u=(t,e)=>t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:t.firstChild,Mu=(t,e)=>t===e?t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:t.lastChild,Pi=(t,e,n)=>{let o=!1,s=n(t,e);for(;s;){if(s===t.firstChild){if(o)return;o=!0}const a=s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||a)s=n(t,s);else{s.focus();return}}},s1=t=>{const{vertical:e,fixed:n,hideScrollbar:o,scrollableX:s,scrollableY:a,centered:c,scrollButtonsHideMobile:p,classes:d}=t;return jt({root:["root",e&&"vertical"],scroller:["scroller",n&&"fixed",o&&"hideScrollbar",s&&"scrollableX",a&&"scrollableY"],flexContainer:["flexContainer",e&&"flexContainerVertical",c&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",p&&"scrollButtonsHideMobile"],scrollableX:[s&&"scrollableX"],hideScrollbar:[o&&"hideScrollbar"]},o1,d)},a1=ht("div",{name:"MuiTabs",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${ya.scrollButtons}`]:e.scrollButtons},{[`& .${ya.scrollButtons}`]:n.scrollButtonsHideMobile&&e.scrollButtonsHideMobile},e.root,n.vertical&&e.vertical]}})(({ownerState:t,theme:e})=>T({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},t.vertical&&{flexDirection:"column"},t.scrollButtonsHideMobile&&{[`& .${ya.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}})),l1=ht("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.scroller,n.fixed&&e.fixed,n.hideScrollbar&&e.hideScrollbar,n.scrollableX&&e.scrollableX,n.scrollableY&&e.scrollableY]}})(({ownerState:t})=>T({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},t.fixed&&{overflowX:"hidden",width:"100%"},t.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},t.scrollableX&&{overflowX:"auto",overflowY:"hidden"},t.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),c1=ht("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.flexContainer,n.vertical&&e.flexContainerVertical,n.centered&&e.centered]}})(({ownerState:t})=>T({display:"flex"},t.vertical&&{flexDirection:"column"},t.centered&&{justifyContent:"center"})),u1=ht("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(t,e)=>e.indicator})(({ownerState:t,theme:e})=>T({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create()},t.indicatorColor==="primary"&&{backgroundColor:(e.vars||e).palette.primary.main},t.indicatorColor==="secondary"&&{backgroundColor:(e.vars||e).palette.secondary.main},t.vertical&&{height:"100%",width:2,right:0})),p1=ht(Jv)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),Au={},d1=M.forwardRef(function(e,n){const o=Tt({props:e,name:"MuiTabs"}),s=to(),a=pi(),{"aria-label":c,"aria-labelledby":p,action:d,centered:g=!1,children:m,className:S,component:y="div",allowScrollButtonsMobile:j=!1,indicatorColor:k="primary",onChange:E,orientation:A="horizontal",ScrollButtonComponent:h=n1,scrollButtons:P="auto",selectionFollowsFocus:D,slots:I={},slotProps:z={},TabIndicatorProps:N={},TabScrollButtonProps:x={},textColor:V="primary",value:G,variant:L="standard",visibleScrollbar:K=!1}=o,J=at(o,i1),_=L==="scrollable",Q=A==="vertical",q=Q?"scrollTop":"scrollLeft",tt=Q?"top":"left",dt=Q?"bottom":"right",bt=Q?"clientHeight":"clientWidth",it=Q?"height":"width",xt=T({},o,{component:y,allowScrollButtonsMobile:j,indicatorColor:k,orientation:A,vertical:Q,scrollButtons:P,textColor:V,variant:L,visibleScrollbar:K,fixed:!_,hideScrollbar:_&&!K,scrollableX:_&&!Q,scrollableY:_&&Q,centered:g&&!_,scrollButtonsHideMobile:!j}),Ct=s1(xt),Qt=Jn({elementType:I.StartScrollButtonIcon,externalSlotProps:z.startScrollButtonIcon,ownerState:xt}),fe=Jn({elementType:I.EndScrollButtonIcon,externalSlotProps:z.endScrollButtonIcon,ownerState:xt}),[Ft,Wt]=M.useState(!1),[st,rt]=M.useState(Au),[nt,Rt]=M.useState(!1),[ut,u]=M.useState(!1),[w,H]=M.useState(!1),[he,te]=M.useState({overflow:"hidden",scrollbarWidth:0}),Ce=new Map,ee=M.useRef(null),ae=M.useRef(null),Ae=()=>{const Z=ee.current;let lt;if(Z){const wt=Z.getBoundingClientRect();lt={clientWidth:Z.clientWidth,scrollLeft:Z.scrollLeft,scrollTop:Z.scrollTop,scrollLeftNormalized:bh(Z,a?"rtl":"ltr"),scrollWidth:Z.scrollWidth,top:wt.top,bottom:wt.bottom,left:wt.left,right:wt.right}}let ct;if(Z&&G!==!1){const wt=ae.current.children;if(wt.length>0){const Dt=wt[Ce.get(G)];ct=Dt?Dt.getBoundingClientRect():null}}return{tabsMeta:lt,tabMeta:ct}},Lt=gr(()=>{const{tabsMeta:Z,tabMeta:lt}=Ae();let ct=0,wt;if(Q)wt="top",lt&&Z&&(ct=lt.top-Z.top+Z.scrollTop);else if(wt=a?"right":"left",lt&&Z){const U=a?Z.scrollLeftNormalized+Z.clientWidth-Z.scrollWidth:Z.scrollLeft;ct=(a?-1:1)*(lt[wt]-Z[wt]+U)}const Dt={[wt]:ct,[it]:lt?lt[it]:0};if(isNaN(st[wt])||isNaN(st[it]))rt(Dt);else{const U=Math.abs(st[wt]-Dt[wt]),we=Math.abs(st[it]-Dt[it]);(U>=1||we>=1)&&rt(Dt)}}),ye=(Z,{animation:lt=!0}={})=>{lt?Yv(q,ee.current,Z,{duration:s.transitions.duration.standard}):ee.current[q]=Z},me=Z=>{let lt=ee.current[q];Q?lt+=Z:(lt+=Z*(a?-1:1),lt*=a&&Dl()==="reverse"?-1:1),ye(lt)},be=()=>{const Z=ee.current[bt];let lt=0;const ct=Array.from(ae.current.children);for(let wt=0;wt<ct.length;wt+=1){const Dt=ct[wt];if(lt+Dt[bt]>Z){wt===0&&(lt=Z);break}lt+=Dt[bt]}return lt},ue=()=>{me(-1*be())},ve=()=>{me(be())},xe=M.useCallback(Z=>{te({overflow:null,scrollbarWidth:Z})},[]),_e=()=>{const Z={};Z.scrollbarSizeListener=_?F.jsx(p1,{onChange:xe,className:ot(Ct.scrollableX,Ct.hideScrollbar)}):null;const ct=_&&(P==="auto"&&(nt||ut)||P===!0);return Z.scrollButtonStart=ct?F.jsx(h,T({slots:{StartScrollButtonIcon:I.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:Qt},orientation:A,direction:a?"right":"left",onClick:ue,disabled:!nt},x,{className:ot(Ct.scrollButtons,x.className)})):null,Z.scrollButtonEnd=ct?F.jsx(h,T({slots:{EndScrollButtonIcon:I.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:fe},orientation:A,direction:a?"left":"right",onClick:ve,disabled:!ut},x,{className:ot(Ct.scrollButtons,x.className)})):null,Z},ar=gr(Z=>{const{tabsMeta:lt,tabMeta:ct}=Ae();if(!(!ct||!lt)){if(ct[tt]<lt[tt]){const wt=lt[q]+(ct[tt]-lt[tt]);ye(wt,{animation:Z})}else if(ct[dt]>lt[dt]){const wt=lt[q]+(ct[dt]-lt[dt]);ye(wt,{animation:Z})}}}),yt=gr(()=>{_&&P!==!1&&H(!w)});M.useEffect(()=>{const Z=Ol(()=>{ee.current&&Lt()});let lt;const ct=U=>{U.forEach(we=>{we.removedNodes.forEach(Oe=>{var Ee;(Ee=lt)==null||Ee.unobserve(Oe)}),we.addedNodes.forEach(Oe=>{var Ee;(Ee=lt)==null||Ee.observe(Oe)})}),Z(),yt()},wt=Il(ee.current);wt.addEventListener("resize",Z);let Dt;return typeof ResizeObserver<"u"&&(lt=new ResizeObserver(Z),Array.from(ae.current.children).forEach(U=>{lt.observe(U)})),typeof MutationObserver<"u"&&(Dt=new MutationObserver(ct),Dt.observe(ae.current,{childList:!0})),()=>{var U,we;Z.clear(),wt.removeEventListener("resize",Z),(U=Dt)==null||U.disconnect(),(we=lt)==null||we.disconnect()}},[Lt,yt]),M.useEffect(()=>{const Z=Array.from(ae.current.children),lt=Z.length;if(typeof IntersectionObserver<"u"&<>0&&_&&P!==!1){const ct=Z[0],wt=Z[lt-1],Dt={root:ee.current,threshold:.99},U=xr=>{Rt(!xr[0].isIntersecting)},we=new IntersectionObserver(U,Dt);we.observe(ct);const Oe=xr=>{u(!xr[0].isIntersecting)},Ee=new IntersectionObserver(Oe,Dt);return Ee.observe(wt),()=>{we.disconnect(),Ee.disconnect()}}},[_,P,w,m==null?void 0:m.length]),M.useEffect(()=>{Wt(!0)},[]),M.useEffect(()=>{Lt()}),M.useEffect(()=>{ar(Au!==st)},[ar,st]),M.useImperativeHandle(d,()=>({updateIndicator:Lt,updateScrollButtons:yt}),[Lt,yt]);const le=F.jsx(u1,T({},N,{className:ot(Ct.indicator,N.className),ownerState:xt,style:T({},st,N.style)}));let B=0;const Re=M.Children.map(m,Z=>{if(!M.isValidElement(Z))return null;const lt=Z.props.value===void 0?B:Z.props.value;Ce.set(lt,B);const ct=lt===G;return B+=1,M.cloneElement(Z,T({fullWidth:L==="fullWidth",indicator:ct&&!Ft&&le,selected:ct,selectionFollowsFocus:D,onChange:E,textColor:V,value:lt},B===1&&G===!1&&!Z.props.tabIndex?{tabIndex:0}:{}))}),lr=Z=>{const lt=ae.current,ct=ci(lt).activeElement;if(ct.getAttribute("role")!=="tab")return;let Dt=A==="horizontal"?"ArrowLeft":"ArrowUp",U=A==="horizontal"?"ArrowRight":"ArrowDown";switch(A==="horizontal"&&a&&(Dt="ArrowRight",U="ArrowLeft"),Z.key){case Dt:Z.preventDefault(),Pi(lt,ct,Mu);break;case U:Z.preventDefault(),Pi(lt,ct,$u);break;case"Home":Z.preventDefault(),Pi(lt,null,$u);break;case"End":Z.preventDefault(),Pi(lt,null,Mu);break}},C=_e();return F.jsxs(a1,T({className:ot(Ct.root,S),ownerState:xt,ref:n,as:y},J,{children:[C.scrollButtonStart,C.scrollbarSizeListener,F.jsxs(l1,{className:Ct.scroller,ownerState:xt,style:{overflow:he.overflow,[Q?`margin${a?"Left":"Right"}`:"marginBottom"]:K?void 0:-he.scrollbarWidth},ref:ee,children:[F.jsx(c1,{"aria-label":c,"aria-labelledby":p,"aria-orientation":A==="vertical"?"vertical":null,className:Ct.flexContainer,ownerState:xt,onKeyDown:lr,ref:ae,role:"tablist",children:Re}),Ft&&le]}),C.scrollButtonEnd]}))}),Ou=zt(F.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2M9 17H7v-5h2zm4 0h-2v-3h2zm0-5h-2v-2h2zm4 5h-2V7h2z"}),"Analytics"),f1=zt(F.jsx("path",{d:"m19 9 1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25zm-7.5.5L9 4 6.5 9.5 1 12l5.5 2.5L9 20l2.5-5.5L17 12zM19 15l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25z"}),"AutoAwesome"),Iu=zt(F.jsx("path",{d:"M4 9h4v11H4zm12 4h4v7h-4zm-6-9h4v16h-4z"}),"BarChart"),h1=zt(F.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M10 17l-3.5-3.5 1.41-1.41L10 14.17 15.18 9l1.41 1.41z"}),"CloudDone"),g1=zt(F.jsx("path",{d:"M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z"}),"Code"),Bu=zt(F.jsx("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4-8 5-8-5V6l8 5 8-5z"}),"Email"),Fu=zt(F.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"}),"Info"),y1=zt(F.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDown"),m1=zt(F.jsx("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"}),"KeyboardArrowRight"),b1=zt(F.jsx("path",{d:"M9 21c0 .5.4 1 1 1h4c.6 0 1-.5 1-1v-1H9zm3-19C8.1 2 5 5.1 5 9c0 2.4 1.2 4.5 3 5.7V17c0 .5.4 1 1 1h6c.6 0 1-.5 1-1v-2.3c1.8-1.3 3-3.4 3-5.7 0-3.9-3.1-7-7-7"}),"Lightbulb"),zu=zt([F.jsx("path",{d:"M13 8.57c-.79 0-1.43.64-1.43 1.43s.64 1.43 1.43 1.43 1.43-.64 1.43-1.43-.64-1.43-1.43-1.43"},"0"),F.jsx("path",{d:"M13 3C9.25 3 6.2 5.94 6.02 9.64L4.1 12.2c-.25.33-.01.8.4.8H6v3c0 1.1.9 2 2 2h1v3h7v-4.68c2.36-1.12 4-3.53 4-6.32 0-3.87-3.13-7-7-7m3 7c0 .13-.01.26-.02.39l.83.66c.08.06.1.16.05.25l-.8 1.39c-.05.09-.16.12-.24.09l-.99-.4c-.21.16-.43.29-.67.39L14 13.83c-.01.1-.1.17-.2.17h-1.6c-.1 0-.18-.07-.2-.17l-.15-1.06c-.25-.1-.47-.23-.68-.39l-.99.4c-.09.03-.2 0-.25-.09l-.8-1.39c-.05-.08-.03-.19.05-.25l.84-.66c-.01-.13-.02-.26-.02-.39s.02-.27.04-.39l-.85-.66c-.08-.06-.1-.16-.05-.26l.8-1.38c.05-.09.15-.12.24-.09l1 .4c.2-.15.43-.29.67-.39L12 6.17c.02-.1.1-.17.2-.17h1.6c.1 0 .18.07.2.17l.15 1.06c.24.1.46.23.67.39l1-.4c.09-.03.2 0 .24.09l.8 1.38c.05.09.03.2-.05.26l-.85.66c.03.12.04.25.04.39"},"1")],"Psychology"),v1=zt(F.jsx("path",{d:"M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1m-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1"}),"QuestionAnswer"),x1=zt(F.jsx("path",{d:"M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11z"}),"Security"),Du=zt(F.jsx("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings"),ma=zt(F.jsx("path",{d:"m20.38 8.57-1.23 1.85a8 8 0 0 1-.22 7.58H5.07A8 8 0 0 1 15.58 6.85l1.85-1.23A10 10 0 0 0 3.35 19a2 2 0 0 0 1.72 1h13.85a2 2 0 0 0 1.74-1 10 10 0 0 0-.27-10.44zm-9.79 6.84a2 2 0 0 0 2.83 0l5.66-8.49-8.49 5.66a2 2 0 0 0 0 2.83"}),"Speed"),Nu=zt(F.jsx("path",{d:"M23 8c0 1.1-.9 2-2 2-.18 0-.35-.02-.51-.07l-3.56 3.55c.05.16.07.34.07.52 0 1.1-.9 2-2 2s-2-.9-2-2c0-.18.02-.36.07-.52l-2.55-2.55c-.16.05-.34.07-.52.07s-.36-.02-.52-.07l-4.55 4.56c.05.16.07.33.07.51 0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.18 0 .35.02.51.07l4.56-4.55C8.02 9.36 8 9.18 8 9c0-1.1.9-2 2-2s2 .9 2 2c0 .18-.02.36-.07.52l2.55 2.55c.16-.05.34-.07.52-.07s.36.02.52.07l3.55-3.56C19.02 8.35 19 8.18 19 8c0-1.1.9-2 2-2s2 .9 2 2"}),"Timeline"),vn=zt(F.jsx("path",{d:"m16 6 2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z"}),"TrendingUp"),w1=zt(F.jsx("path",{d:"M16 18v2H8v-2zM11 7.99V16h2V7.99h3L12 4 8 7.99z"}),"UpgradeOutlined");var S1=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},oe=(t,e,n)=>(S1(t,e,"read from private field"),n?n.call(t):e.get(t)),ie=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},_u=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};function Lu(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function o(){return this instanceof o?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(o){var s=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,s.get?s:{enumerable:!0,get:function(){return t[o]}})}),n}var Wu={exports:{}},go={};/** 158 158 * @license React 159 159 * react-jsx-runtime.production.min.js … … 163 163 * This source code is licensed under the MIT license found in the 164 164 * LICENSE file in the root directory of this source tree. 165 */var ic;function bm(){if(ic)return En;ic=1;var t=mt,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(d,f,g){var x,T={},m=null,M=null;g!==void 0&&(m=""+g),f.key!==void 0&&(m=""+f.key),f.ref!==void 0&&(M=f.ref);for(x in f)i.call(f,x)&&!l.hasOwnProperty(x)&&(T[x]=f[x]);if(d&&d.defaultProps)for(x in f=d.defaultProps,f)T[x]===void 0&&(T[x]=f[x]);return{$$typeof:e,type:d,key:m,ref:M,props:T,_owner:s.current}}return En.Fragment=n,En.jsx=c,En.jsxs=c,En}oc.exports=bm();var S=oc.exports,j={};(function(t){var e=typeof Object.defineProperties=="function"?Object.defineProperty:function(r,o,a){r!=Array.prototype&&r!=Object.prototype&&(r[o]=a.value)},n=rc;function i(r,o){if(o){var a=n;r=r.split(".");for(var p=0;p<r.length-1;p++){var b=r[p];b in a||(a[b]={}),a=a[b]}r=r[r.length-1],p=a[r],o=o(p),o!=p&&o!=null&&e(a,r,{configurable:!0,writable:!0,value:o})}}function s(r){var o=0;return function(){return o<r.length?{done:!1,value:r[o++]}:{done:!0}}}function l(){l=function(){},n.Symbol||(n.Symbol=d)}function c(r,o){this.a=r,e(this,"description",{configurable:!0,writable:!0,value:o})}c.prototype.toString=function(){return this.a};var d=function(){function r(a){if(this instanceof r)throw new TypeError("Symbol is not a constructor");return new c("jscomp_symbol_"+(a||"")+"_"+o++,a)}var o=0;return r}();function f(){l();var r=n.Symbol.iterator;r||(r=n.Symbol.iterator=n.Symbol("Symbol.iterator")),typeof Array.prototype[r]!="function"&&e(Array.prototype,r,{configurable:!0,writable:!0,value:function(){return g(s(this))}}),f=function(){}}function g(r){return f(),r={next:r},r[n.Symbol.iterator]=function(){return this},r}function x(r,o){f(),r instanceof String&&(r+="");var a=0,p={next:function(){if(a<r.length){var b=a++;return{value:o(b,r[b]),done:!1}}return p.next=function(){return{done:!0,value:void 0}},p.next()}};return p[Symbol.iterator]=function(){return p},p}i("Array.prototype.entries",function(r){return r||function(){return x(this,function(o,a){return[o,a]})}});var T=rc||self;function m(r,o,a){r=r.split("."),a=a||T,r[0]in a||typeof a.execScript>"u"||a.execScript("var "+r[0]);for(var p;r.length&&(p=r.shift());)r.length||o===void 0?a[p]&&a[p]!==Object.prototype[p]?a=a[p]:a=a[p]={}:a[p]=o}function M(r){var o=typeof r;if(o=="object")if(r){if(r instanceof Array)return"array";if(r instanceof Object)return o;var a=Object.prototype.toString.call(r);if(a=="[object Window]")return"object";if(a=="[object Array]"||typeof r.length=="number"&&typeof r.splice<"u"&&typeof r.propertyIsEnumerable<"u"&&!r.propertyIsEnumerable("splice"))return"array";if(a=="[object Function]"||typeof r.call<"u"&&typeof r.propertyIsEnumerable<"u"&&!r.propertyIsEnumerable("call"))return"function"}else return"null";else if(o=="function"&&typeof r.call>"u")return"object";return o}function R(r){var o=typeof r;return o=="object"&&r!=null||o=="function"}function E(r,o,a){m(r,o,a)}function A(r,o){function a(){}a.prototype=o.prototype,r.prototype=new a,r.prototype.constructor=r}var h="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function $(r,o){for(var a,p,b=1;b<arguments.length;b++){p=arguments[b];for(a in p)r[a]=p[a];for(var P=0;P<h.length;P++)a=h[P],Object.prototype.hasOwnProperty.call(p,a)&&(r[a]=p[a])}}var z=Array.prototype.forEach?function(r,o){Array.prototype.forEach.call(r,o,void 0)}:function(r,o){for(var a=r.length,p=typeof r=="string"?r.split(""):r,b=0;b<a;b++)b in p&&o.call(void 0,p[b],b,r)},D=Array.prototype.map?function(r,o){return Array.prototype.map.call(r,o,void 0)}:function(r,o){for(var a=r.length,p=Array(a),b=typeof r=="string"?r.split(""):r,P=0;P<a;P++)P in b&&(p[P]=o.call(void 0,b[P],P,r));return p};function L(r,o,a){return 2>=arguments.length?Array.prototype.slice.call(r,o):Array.prototype.slice.call(r,o,a)}function U(r,o,a,p){var b="Assertion failed";if(a){b+=": "+a;var P=p}else r&&(b+=": "+r,P=o);throw Error(b,P||[])}function C(r,o,a){for(var p=[],b=2;b<arguments.length;++b)p[b-2]=arguments[b];return r||U("",null,o,p),r}function at(r,o,a){for(var p=[],b=2;b<arguments.length;++b)p[b-2]=arguments[b];typeof r!="string"&&U("Expected string but got %s: %s.",[M(r),r],o,p)}function pt(r,o,a){for(var p=[],b=2;b<arguments.length;++b)p[b-2]=arguments[b];Array.isArray(r)||U("Expected array but got %s: %s.",[M(r),r],o,p)}function K(r,o){for(var a=[],p=1;p<arguments.length;++p)a[p-1]=arguments[p];throw Error("Failure"+(r?": "+r:""),a)}function Y(r,o,a,p){for(var b=[],P=3;P<arguments.length;++P)b[P-3]=arguments[P];r instanceof o||U("Expected instanceof %s but got %s.",[Z(o),Z(r)],a,b)}function Z(r){return r instanceof Function?r.displayName||r.name||"unknown type name":r instanceof Object?r.constructor.displayName||r.constructor.name||Object.prototype.toString.call(r):r===null?"null":typeof r}function N(r,o){if(this.c=r,this.b=o,this.a={},this.arrClean=!0,0<this.c.length){for(r=0;r<this.c.length;r++){o=this.c[r];var a=o[0];this.a[a.toString()]=new Et(a,o[1])}this.arrClean=!0}}m("jspb.Map",N,void 0),N.prototype.g=function(){if(this.arrClean){if(this.b){var r=this.a,o;for(o in r)if(Object.prototype.hasOwnProperty.call(r,o)){var a=r[o].a;a&&a.g()}}}else{for(this.c.length=0,r=ft(this),r.sort(),o=0;o<r.length;o++){var p=this.a[r[o]];(a=p.a)&&a.g(),this.c.push([p.key,p.value])}this.arrClean=!0}return this.c},N.prototype.toArray=N.prototype.g,N.prototype.Mc=function(r,o){for(var a=this.g(),p=[],b=0;b<a.length;b++){var P=this.a[a[b][0].toString()];dt(this,P);var _=P.a;_?(C(o),p.push([P.key,o(r,_)])):p.push([P.key,P.value])}return p},N.prototype.toObject=N.prototype.Mc,N.fromObject=function(r,o,a){o=new N([],o);for(var p=0;p<r.length;p++){var b=r[p][0],P=a(r[p][1]);o.set(b,P)}return o};function Q(r){this.a=0,this.b=r}Q.prototype.next=function(){return this.a<this.b.length?{done:!1,value:this.b[this.a++]}:{done:!0,value:void 0}},typeof Symbol<"u"&&(Q.prototype[Symbol.iterator]=function(){return this}),N.prototype.Jb=function(){return ft(this).length},N.prototype.getLength=N.prototype.Jb,N.prototype.clear=function(){this.a={},this.arrClean=!1},N.prototype.clear=N.prototype.clear,N.prototype.Cb=function(r){r=r.toString();var o=this.a.hasOwnProperty(r);return delete this.a[r],this.arrClean=!1,o},N.prototype.del=N.prototype.Cb,N.prototype.Eb=function(){var r=[],o=ft(this);o.sort();for(var a=0;a<o.length;a++){var p=this.a[o[a]];r.push([p.key,p.value])}return r},N.prototype.getEntryList=N.prototype.Eb,N.prototype.entries=function(){var r=[],o=ft(this);o.sort();for(var a=0;a<o.length;a++){var p=this.a[o[a]];r.push([p.key,dt(this,p)])}return new Q(r)},N.prototype.entries=N.prototype.entries,N.prototype.keys=function(){var r=[],o=ft(this);o.sort();for(var a=0;a<o.length;a++)r.push(this.a[o[a]].key);return new Q(r)},N.prototype.keys=N.prototype.keys,N.prototype.values=function(){var r=[],o=ft(this);o.sort();for(var a=0;a<o.length;a++)r.push(dt(this,this.a[o[a]]));return new Q(r)},N.prototype.values=N.prototype.values,N.prototype.forEach=function(r,o){var a=ft(this);a.sort();for(var p=0;p<a.length;p++){var b=this.a[a[p]];r.call(o,dt(this,b),b.key,this)}},N.prototype.forEach=N.prototype.forEach,N.prototype.set=function(r,o){var a=new Et(r);return this.b?(a.a=o,a.value=o.g()):a.value=o,this.a[r.toString()]=a,this.arrClean=!1,this},N.prototype.set=N.prototype.set;function dt(r,o){return r.b?(o.a||(o.a=new r.b(o.value)),o.a):o.value}N.prototype.get=function(r){if(r=this.a[r.toString()])return dt(this,r)},N.prototype.get=N.prototype.get,N.prototype.has=function(r){return r.toString()in this.a},N.prototype.has=N.prototype.has,N.prototype.Jc=function(r,o,a,p,b){var P=ft(this);P.sort();for(var _=0;_<P.length;_++){var rt=this.a[P[_]];o.Va(r),a.call(o,1,rt.key),this.b?p.call(o,2,dt(this,rt),b):p.call(o,2,rt.value),o.Ya()}},N.prototype.serializeBinary=N.prototype.Jc,N.deserializeBinary=function(r,o,a,p,b,P,_){for(;o.oa()&&!o.bb();){var rt=o.c;rt==1?P=a.call(o):rt==2&&(r.b?(C(b),_||(_=new r.b),p.call(o,_,b)):_=p.call(o))}C(P!=null),C(_!=null),r.set(P,_)};function ft(r){r=r.a;var o=[],a;for(a in r)Object.prototype.hasOwnProperty.call(r,a)&&o.push(a);return o}function Et(r,o){this.key=r,this.value=o,this.a=void 0}function gt(r){if(8192>=r.length)return String.fromCharCode.apply(null,r);for(var o="",a=0;a<r.length;a+=8192)o+=String.fromCharCode.apply(null,L(r,a,a+8192));return o}var ht={"\0":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},$t={"'":"\\'"},At={},pe=null;function _e(r,o){o===void 0&&(o=0),lt(),o=At[o];for(var a=[],p=0;p<r.length;p+=3){var b=r[p],P=p+1<r.length,_=P?r[p+1]:0,rt=p+2<r.length,Gt=rt?r[p+2]:0,xr=b>>2;b=(b&3)<<4|_>>4,_=(_&15)<<2|Gt>>6,Gt&=63,rt||(Gt=64,P||(_=64)),a.push(o[xr],o[b],o[_]||"",o[Gt]||"")}return a.join("")}function Ht(r){var o=r.length,a=3*o/4;a%3?a=Math.floor(a):"=.".indexOf(r[o-1])!=-1&&(a="=.".indexOf(r[o-2])!=-1?a-2:a-1);var p=new Uint8Array(a),b=0;return je(r,function(P){p[b++]=P}),p.subarray(0,b)}function je(r,o){function a(Gt){for(;p<r.length;){var xr=r.charAt(p++),Dc=pe[xr];if(Dc!=null)return Dc;if(!/^[\s\xa0]*$/.test(xr))throw Error("Unknown base64 encoding at char: "+xr)}return Gt}lt();for(var p=0;;){var b=a(-1),P=a(0),_=a(64),rt=a(64);if(rt===64&&b===-1)break;o(b<<2|P>>4),_!=64&&(o(P<<4&240|_>>2),rt!=64&&o(_<<6&192|rt))}}function lt(){if(!pe){pe={};for(var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),o=["+/=","+/","-_=","-_.","-_"],a=0;5>a;a++){var p=r.concat(o[a].split(""));At[a]=p;for(var b=0;b<p.length;b++){var P=p[b];pe[P]===void 0&&(pe[P]=b)}}}}m("jspb.ConstBinaryMessage",function(){},void 0),m("jspb.BinaryMessage",function(){},void 0),m("jspb.BinaryConstants.FieldType",{yb:-1,ee:1,FLOAT:2,ke:3,te:4,je:5,xb:6,wb:7,BOOL:8,re:9,ie:10,le:11,ce:12,se:13,ge:14,me:15,ne:16,oe:17,pe:18,he:30,ve:31},void 0),m("jspb.BinaryConstants.WireType",{yb:-1,ue:0,xb:1,de:2,qe:3,fe:4,wb:5},void 0),m("jspb.BinaryConstants.FieldTypeToWireType",function(r){switch(r){case 5:case 3:case 13:case 4:case 17:case 18:case 8:case 14:case 31:return 0;case 1:case 6:case 16:case 30:return 1;case 9:case 11:case 12:return 2;case 2:case 7:case 15:return 5;default:return-1}},void 0),m("jspb.BinaryConstants.INVALID_FIELD_NUMBER",-1,void 0),m("jspb.BinaryConstants.FLOAT32_EPS",1401298464324817e-60,void 0),m("jspb.BinaryConstants.FLOAT32_MIN",11754943508222875e-54,void 0),m("jspb.BinaryConstants.FLOAT32_MAX",34028234663852886e22,void 0),m("jspb.BinaryConstants.FLOAT64_EPS",5e-324,void 0),m("jspb.BinaryConstants.FLOAT64_MIN",22250738585072014e-324,void 0),m("jspb.BinaryConstants.FLOAT64_MAX",17976931348623157e292,void 0),m("jspb.BinaryConstants.TWO_TO_20",1048576,void 0),m("jspb.BinaryConstants.TWO_TO_23",8388608,void 0),m("jspb.BinaryConstants.TWO_TO_31",2147483648,void 0),m("jspb.BinaryConstants.TWO_TO_32",4294967296,void 0),m("jspb.BinaryConstants.TWO_TO_52",4503599627370496,void 0),m("jspb.BinaryConstants.TWO_TO_63",9223372036854776e3,void 0),m("jspb.BinaryConstants.TWO_TO_64",18446744073709552e3,void 0),m("jspb.BinaryConstants.ZERO_HASH","\0\0\0\0\0\0\0\0",void 0);var G=0,u=0;m("jspb.utils.getSplit64Low",function(){return G},void 0),m("jspb.utils.getSplit64High",function(){return u},void 0);function w(r){var o=r>>>0;r=Math.floor((r-o)/4294967296)>>>0,G=o,u=r}m("jspb.utils.splitUint64",w,void 0);function V(r){var o=0>r;r=Math.abs(r);var a=r>>>0;r=Math.floor((r-a)/4294967296),r>>>=0,o&&(r=~r>>>0,a=(~a>>>0)+1,4294967295<a&&(a=0,r++,4294967295<r&&(r=0))),G=a,u=r}m("jspb.utils.splitInt64",V,void 0);function Xe(r){var o=0>r;r=2*Math.abs(r),w(r),r=G;var a=u;o&&(r==0?a==0?a=r=4294967295:(a--,r=4294967295):r--),G=r,u=a}m("jspb.utils.splitZigzag64",Xe,void 0);function yr(r){var o=0>r?1:0;if(r=o?-r:r,r===0)0<1/r?G=u=0:(u=0,G=2147483648);else if(isNaN(r))u=0,G=2147483647;else if(34028234663852886e22<r)u=0,G=(o<<31|2139095040)>>>0;else if(11754943508222875e-54>r)r=Math.round(r/Math.pow(2,-149)),u=0,G=(o<<31|r)>>>0;else{var a=Math.floor(Math.log(r)/Math.LN2);r*=Math.pow(2,-a),r=Math.round(8388608*r),16777216<=r&&++a,u=0,G=(o<<31|a+127<<23|r&8388607)>>>0}}m("jspb.utils.splitFloat32",yr,void 0);function Qr(r){var o=0>r?1:0;if(r=o?-r:r,r===0)u=0<1/r?0:2147483648,G=0;else if(isNaN(r))u=2147483647,G=4294967295;else if(17976931348623157e292<r)u=(o<<31|2146435072)>>>0,G=0;else if(22250738585072014e-324>r)r/=Math.pow(2,-1074),u=(o<<31|r/4294967296)>>>0,G=r>>>0;else{var a=r,p=0;if(2<=a)for(;2<=a&&1023>p;)p++,a/=2;else for(;1>a&&-1022<p;)a*=2,p--;r*=Math.pow(2,-p),u=(o<<31|p+1023<<20|1048576*r&1048575)>>>0,G=4503599627370496*r>>>0}}m("jspb.utils.splitFloat64",Qr,void 0);function de(r){var o=r.charCodeAt(4),a=r.charCodeAt(5),p=r.charCodeAt(6),b=r.charCodeAt(7);G=r.charCodeAt(0)+(r.charCodeAt(1)<<8)+(r.charCodeAt(2)<<16)+(r.charCodeAt(3)<<24)>>>0,u=o+(a<<8)+(p<<16)+(b<<24)>>>0}m("jspb.utils.splitHash64",de,void 0);function Fe(r,o){return 4294967296*o+(r>>>0)}m("jspb.utils.joinUint64",Fe,void 0);function De(r,o){var a=o&2147483648;return a&&(r=~r+1>>>0,o=~o>>>0,r==0&&(o=o+1>>>0)),r=Fe(r,o),a?-r:r}m("jspb.utils.joinInt64",De,void 0);function re(r,o,a){var p=o>>31;return a(r<<1^p,(o<<1|r>>>31)^p)}m("jspb.utils.toZigzag64",re,void 0);function $e(r,o){return Ze(r,o,De)}m("jspb.utils.joinZigzag64",$e,void 0);function Ze(r,o,a){var p=-(r&1);return a((r>>>1|o<<31)^p,o>>>1^p)}m("jspb.utils.fromZigzag64",Ze,void 0);function Me(r){var o=2*(r>>31)+1,a=r>>>23&255;return r&=8388607,a==255?r?NaN:1/0*o:a==0?o*Math.pow(2,-149)*r:o*Math.pow(2,a-150)*(r+Math.pow(2,23))}m("jspb.utils.joinFloat32",Me,void 0);function Le(r,o){var a=2*(o>>31)+1,p=o>>>20&2047;return r=4294967296*(o&1048575)+r,p==2047?r?NaN:1/0*a:p==0?a*Math.pow(2,-1074)*r:a*Math.pow(2,p-1075)*(r+4503599627370496)}m("jspb.utils.joinFloat64",Le,void 0);function Je(r,o){return String.fromCharCode(r>>>0&255,r>>>8&255,r>>>16&255,r>>>24&255,o>>>0&255,o>>>8&255,o>>>16&255,o>>>24&255)}m("jspb.utils.joinHash64",Je,void 0),m("jspb.utils.DIGITS","0123456789abcdef".split(""),void 0);function We(r,o){function a(b,P){return b=b?String(b):"",P?"0000000".slice(b.length)+b:b}if(2097151>=o)return""+Fe(r,o);var p=(r>>>24|o<<8)>>>0&16777215;return o=o>>16&65535,r=(r&16777215)+6777216*p+6710656*o,p+=8147497*o,o*=2,1e7<=r&&(p+=Math.floor(r/1e7),r%=1e7),1e7<=p&&(o+=Math.floor(p/1e7),p%=1e7),a(o,0)+a(p,o)+a(r,1)}m("jspb.utils.joinUnsignedDecimalString",We,void 0);function Ae(r,o){var a=o&2147483648;return a&&(r=~r+1>>>0,o=~o+(r==0?1:0)>>>0),r=We(r,o),a?"-"+r:r}m("jspb.utils.joinSignedDecimalString",Ae,void 0);function Ue(r,o){de(r),r=G;var a=u;return o?Ae(r,a):We(r,a)}m("jspb.utils.hash64ToDecimalString",Ue,void 0),m("jspb.utils.hash64ArrayToDecimalStrings",function(r,o){for(var a=Array(r.length),p=0;p<r.length;p++)a[p]=Ue(r[p],o);return a},void 0);function Qe(r){function o(_,rt){for(var Gt=0;8>Gt&&(_!==1||0<rt);Gt++)rt=_*b[Gt]+rt,b[Gt]=rt&255,rt>>>=8}function a(){for(var _=0;8>_;_++)b[_]=~b[_]&255}C(0<r.length);var p=!1;r[0]==="-"&&(p=!0,r=r.slice(1));for(var b=[0,0,0,0,0,0,0,0],P=0;P<r.length;P++)o(10,r.charCodeAt(P)-48);return p&&(a(),o(1,1)),gt(b)}m("jspb.utils.decimalStringToHash64",Qe,void 0),m("jspb.utils.splitDecimalString",function(r){de(Qe(r))},void 0);function gr(r){return String.fromCharCode(10>r?48+r:87+r)}function mr(r){return 97<=r?r-97+10:r-48}m("jspb.utils.hash64ToHexString",function(r){var o=Array(18);o[0]="0",o[1]="x";for(var a=0;8>a;a++){var p=r.charCodeAt(7-a);o[2*a+2]=gr(p>>4),o[2*a+3]=gr(p&15)}return o.join("")},void 0),m("jspb.utils.hexStringToHash64",function(r){r=r.toLowerCase(),C(r.length==18),C(r[0]=="0"),C(r[1]=="x");for(var o="",a=0;8>a;a++)o=String.fromCharCode(16*mr(r.charCodeAt(2*a+2))+mr(r.charCodeAt(2*a+3)))+o;return o},void 0),m("jspb.utils.hash64ToNumber",function(r,o){de(r),r=G;var a=u;return o?De(r,a):Fe(r,a)},void 0),m("jspb.utils.numberToHash64",function(r){return V(r),Je(G,u)},void 0),m("jspb.utils.countVarints",function(r,o,a){for(var p=0,b=o;b<a;b++)p+=r[b]>>7;return a-o-p},void 0),m("jspb.utils.countVarintFields",function(r,o,a,p){var b=0;if(p*=8,128>p)for(;o<a&&r[o++]==p;)for(b++;;){var P=r[o++];if(!(P&128))break}else for(;o<a;){for(P=p;128<P;){if(r[o]!=(P&127|128))return b;o++,P>>=7}if(r[o++]!=P)break;for(b++;P=r[o++],(P&128)!=0;);}return b},void 0);function ct(r,o,a,p,b){var P=0;if(128>p)for(;o<a&&r[o++]==p;)P++,o+=b;else for(;o<a;){for(var _=p;128<_;){if(r[o++]!=(_&127|128))return P;_>>=7}if(r[o++]!=_)break;P++,o+=b}return P}m("jspb.utils.countFixed32Fields",function(r,o,a,p){return ct(r,o,a,8*p+5,4)},void 0),m("jspb.utils.countFixed64Fields",function(r,o,a,p){return ct(r,o,a,8*p+1,8)},void 0),m("jspb.utils.countDelimitedFields",function(r,o,a,p){var b=0;for(p=8*p+2;o<a;){for(var P=p;128<P;){if(r[o++]!=(P&127|128))return b;P>>=7}if(r[o++]!=P)break;b++;for(var _=0,rt=1;P=r[o++],_+=(P&127)*rt,rt*=128,(P&128)!=0;);o+=_}return b},void 0),m("jspb.utils.debugBytesToTextFormat",function(r){var o='"';if(r){r=Ve(r);for(var a=0;a<r.length;a++)o+="\\x",16>r[a]&&(o+="0"),o+=r[a].toString(16)}return o+'"'},void 0),m("jspb.utils.debugScalarToTextFormat",function(r){if(typeof r=="string"){r=String(r);for(var o=['"'],a=0;a<r.length;a++){var p=r.charAt(a),b=p.charCodeAt(0),P=a+1,_;(_=ht[p])||(31<b&&127>b||(b=p,b in $t?p=$t[b]:b in ht?p=$t[b]=ht[b]:(_=b.charCodeAt(0),31<_&&127>_?p=b:(256>_?(p="\\x",(16>_||256<_)&&(p+="0")):(p="\\u",4096>_&&(p+="0")),p+=_.toString(16).toUpperCase()),p=$t[b]=p)),_=p),o[P]=_}o.push('"'),r=o.join("")}else r=r.toString();return r},void 0),m("jspb.utils.stringToByteArray",function(r){for(var o=new Uint8Array(r.length),a=0;a<r.length;a++){var p=r.charCodeAt(a);if(255<p)throw Error("Conversion error: string contains codepoint outside of byte range");o[a]=p}return o},void 0);function Ve(r){return r.constructor===Uint8Array?r:r.constructor===ArrayBuffer?new Uint8Array(r):r.constructor===Array?new Uint8Array(r):r.constructor===String?Ht(r):r instanceof Uint8Array?new Uint8Array(r.buffer,r.byteOffset,r.byteLength):(K("Type not convertible to Uint8Array."),new Uint8Array(0))}m("jspb.utils.byteSourceToUint8Array",Ve,void 0);function I(r,o,a){this.b=null,this.a=this.c=this.h=0,this.v=!1,r&&this.H(r,o,a)}m("jspb.BinaryDecoder",I,void 0);var He=[];I.getInstanceCacheLength=function(){return He.length};function br(r,o,a){if(He.length){var p=He.pop();return r&&p.H(r,o,a),p}return new I(r,o,a)}I.alloc=br,I.prototype.Ca=function(){this.clear(),100>He.length&&He.push(this)},I.prototype.free=I.prototype.Ca,I.prototype.clone=function(){return br(this.b,this.h,this.c-this.h)},I.prototype.clone=I.prototype.clone,I.prototype.clear=function(){this.b=null,this.a=this.c=this.h=0,this.v=!1},I.prototype.clear=I.prototype.clear,I.prototype.Y=function(){return this.b},I.prototype.getBuffer=I.prototype.Y,I.prototype.H=function(r,o,a){this.b=Ve(r),this.h=o!==void 0?o:0,this.c=a!==void 0?this.h+a:this.b.length,this.a=this.h},I.prototype.setBlock=I.prototype.H,I.prototype.Db=function(){return this.c},I.prototype.getEnd=I.prototype.Db,I.prototype.setEnd=function(r){this.c=r},I.prototype.setEnd=I.prototype.setEnd,I.prototype.reset=function(){this.a=this.h},I.prototype.reset=I.prototype.reset,I.prototype.B=function(){return this.a},I.prototype.getCursor=I.prototype.B,I.prototype.Ma=function(r){this.a=r},I.prototype.setCursor=I.prototype.Ma,I.prototype.advance=function(r){this.a+=r,C(this.a<=this.c)},I.prototype.advance=I.prototype.advance,I.prototype.ya=function(){return this.a==this.c},I.prototype.atEnd=I.prototype.ya,I.prototype.Qb=function(){return this.a>this.c},I.prototype.pastEnd=I.prototype.Qb,I.prototype.getError=function(){return this.v||0>this.a||this.a>this.c},I.prototype.getError=I.prototype.getError,I.prototype.w=function(r){for(var o=128,a=0,p=0,b=0;4>b&&128<=o;b++)o=this.b[this.a++],a|=(o&127)<<7*b;if(128<=o&&(o=this.b[this.a++],a|=(o&127)<<28,p|=(o&127)>>4),128<=o)for(b=0;5>b&&128<=o;b++)o=this.b[this.a++],p|=(o&127)<<7*b+3;if(128>o)return r(a>>>0,p>>>0);K("Failed to read varint, encoding is invalid."),this.v=!0},I.prototype.readSplitVarint64=I.prototype.w,I.prototype.ea=function(r){return this.w(function(o,a){return Ze(o,a,r)})},I.prototype.readSplitZigzagVarint64=I.prototype.ea,I.prototype.ta=function(r){var o=this.b,a=this.a;this.a+=8;for(var p=0,b=0,P=a+7;P>=a;P--)p=p<<8|o[P],b=b<<8|o[P+4];return r(p,b)},I.prototype.readSplitFixed64=I.prototype.ta,I.prototype.kb=function(){for(;this.b[this.a]&128;)this.a++;this.a++},I.prototype.skipVarint=I.prototype.kb,I.prototype.mb=function(r){for(;128<r;)this.a--,r>>>=7;this.a--},I.prototype.unskipVarint=I.prototype.mb,I.prototype.o=function(){var r=this.b,o=r[this.a],a=o&127;return 128>o?(this.a+=1,C(this.a<=this.c),a):(o=r[this.a+1],a|=(o&127)<<7,128>o?(this.a+=2,C(this.a<=this.c),a):(o=r[this.a+2],a|=(o&127)<<14,128>o?(this.a+=3,C(this.a<=this.c),a):(o=r[this.a+3],a|=(o&127)<<21,128>o?(this.a+=4,C(this.a<=this.c),a):(o=r[this.a+4],a|=(o&15)<<28,128>o?(this.a+=5,C(this.a<=this.c),a>>>0):(this.a+=5,128<=r[this.a++]&&128<=r[this.a++]&&128<=r[this.a++]&&128<=r[this.a++]&&128<=r[this.a++]&&C(!1),C(this.a<=this.c),a)))))},I.prototype.readUnsignedVarint32=I.prototype.o,I.prototype.da=function(){return~~this.o()},I.prototype.readSignedVarint32=I.prototype.da,I.prototype.O=function(){return this.o().toString()},I.prototype.Ea=function(){return this.da().toString()},I.prototype.readSignedVarint32String=I.prototype.Ea,I.prototype.Ia=function(){var r=this.o();return r>>>1^-(r&1)},I.prototype.readZigzagVarint32=I.prototype.Ia,I.prototype.Ga=function(){return this.w(Fe)},I.prototype.readUnsignedVarint64=I.prototype.Ga,I.prototype.Ha=function(){return this.w(We)},I.prototype.readUnsignedVarint64String=I.prototype.Ha,I.prototype.sa=function(){return this.w(De)},I.prototype.readSignedVarint64=I.prototype.sa,I.prototype.Fa=function(){return this.w(Ae)},I.prototype.readSignedVarint64String=I.prototype.Fa,I.prototype.Ja=function(){return this.w($e)},I.prototype.readZigzagVarint64=I.prototype.Ja,I.prototype.fb=function(){return this.ea(Je)},I.prototype.readZigzagVarintHash64=I.prototype.fb,I.prototype.Ka=function(){return this.ea(Ae)},I.prototype.readZigzagVarint64String=I.prototype.Ka,I.prototype.Gc=function(){var r=this.b[this.a];return this.a+=1,C(this.a<=this.c),r},I.prototype.readUint8=I.prototype.Gc,I.prototype.Ec=function(){var r=this.b[this.a],o=this.b[this.a+1];return this.a+=2,C(this.a<=this.c),r<<0|o<<8},I.prototype.readUint16=I.prototype.Ec,I.prototype.m=function(){var r=this.b[this.a],o=this.b[this.a+1],a=this.b[this.a+2],p=this.b[this.a+3];return this.a+=4,C(this.a<=this.c),(r<<0|o<<8|a<<16|p<<24)>>>0},I.prototype.readUint32=I.prototype.m,I.prototype.ga=function(){var r=this.m(),o=this.m();return Fe(r,o)},I.prototype.readUint64=I.prototype.ga,I.prototype.ha=function(){var r=this.m(),o=this.m();return We(r,o)},I.prototype.readUint64String=I.prototype.ha,I.prototype.Xb=function(){var r=this.b[this.a];return this.a+=1,C(this.a<=this.c),r<<24>>24},I.prototype.readInt8=I.prototype.Xb,I.prototype.Vb=function(){var r=this.b[this.a],o=this.b[this.a+1];return this.a+=2,C(this.a<=this.c),(r<<0|o<<8)<<16>>16},I.prototype.readInt16=I.prototype.Vb,I.prototype.P=function(){var r=this.b[this.a],o=this.b[this.a+1],a=this.b[this.a+2],p=this.b[this.a+3];return this.a+=4,C(this.a<=this.c),r<<0|o<<8|a<<16|p<<24},I.prototype.readInt32=I.prototype.P,I.prototype.ba=function(){var r=this.m(),o=this.m();return De(r,o)},I.prototype.readInt64=I.prototype.ba,I.prototype.ca=function(){var r=this.m(),o=this.m();return Ae(r,o)},I.prototype.readInt64String=I.prototype.ca,I.prototype.aa=function(){var r=this.m();return Me(r)},I.prototype.readFloat=I.prototype.aa,I.prototype.Z=function(){var r=this.m(),o=this.m();return Le(r,o)},I.prototype.readDouble=I.prototype.Z,I.prototype.pa=function(){return!!this.b[this.a++]},I.prototype.readBool=I.prototype.pa,I.prototype.ra=function(){return this.da()},I.prototype.readEnum=I.prototype.ra,I.prototype.fa=function(r){var o=this.b,a=this.a;r=a+r;for(var p=[],b="";a<r;){var P=o[a++];if(128>P)p.push(P);else{if(192>P)continue;if(224>P){var _=o[a++];p.push((P&31)<<6|_&63)}else if(240>P){_=o[a++];var rt=o[a++];p.push((P&15)<<12|(_&63)<<6|rt&63)}else if(248>P){_=o[a++],rt=o[a++];var Gt=o[a++];P=(P&7)<<18|(_&63)<<12|(rt&63)<<6|Gt&63,P-=65536,p.push((P>>10&1023)+55296,(P&1023)+56320)}}8192<=p.length&&(b+=String.fromCharCode.apply(null,p),p.length=0)}return b+=gt(p),this.a=a,b},I.prototype.readString=I.prototype.fa,I.prototype.Dc=function(){var r=this.o();return this.fa(r)},I.prototype.readStringWithLength=I.prototype.Dc,I.prototype.qa=function(r){if(0>r||this.a+r>this.b.length)return this.v=!0,K("Invalid byte length!"),new Uint8Array(0);var o=this.b.subarray(this.a,this.a+r);return this.a+=r,C(this.a<=this.c),o},I.prototype.readBytes=I.prototype.qa,I.prototype.ia=function(){return this.w(Je)},I.prototype.readVarintHash64=I.prototype.ia,I.prototype.$=function(){var r=this.b,o=this.a,a=r[o],p=r[o+1],b=r[o+2],P=r[o+3],_=r[o+4],rt=r[o+5],Gt=r[o+6];return r=r[o+7],this.a+=8,String.fromCharCode(a,p,b,P,_,rt,Gt,r)},I.prototype.readFixedHash64=I.prototype.$;function v(r,o,a){this.a=br(r,o,a),this.O=this.a.B(),this.b=this.c=-1,this.h=!1,this.v=null}m("jspb.BinaryReader",v,void 0);var q=[];v.clearInstanceCache=function(){q=[]},v.getInstanceCacheLength=function(){return q.length};function ot(r,o,a){if(q.length){var p=q.pop();return r&&p.a.H(r,o,a),p}return new v(r,o,a)}v.alloc=ot,v.prototype.zb=ot,v.prototype.alloc=v.prototype.zb,v.prototype.Ca=function(){this.a.clear(),this.b=this.c=-1,this.h=!1,this.v=null,100>q.length&&q.push(this)},v.prototype.free=v.prototype.Ca,v.prototype.Fb=function(){return this.O},v.prototype.getFieldCursor=v.prototype.Fb,v.prototype.B=function(){return this.a.B()},v.prototype.getCursor=v.prototype.B,v.prototype.Y=function(){return this.a.Y()},v.prototype.getBuffer=v.prototype.Y,v.prototype.Hb=function(){return this.c},v.prototype.getFieldNumber=v.prototype.Hb,v.prototype.Lb=function(){return this.b},v.prototype.getWireType=v.prototype.Lb,v.prototype.Mb=function(){return this.b==2},v.prototype.isDelimited=v.prototype.Mb,v.prototype.bb=function(){return this.b==4},v.prototype.isEndGroup=v.prototype.bb,v.prototype.getError=function(){return this.h||this.a.getError()},v.prototype.getError=v.prototype.getError,v.prototype.H=function(r,o,a){this.a.H(r,o,a),this.b=this.c=-1},v.prototype.setBlock=v.prototype.H,v.prototype.reset=function(){this.a.reset(),this.b=this.c=-1},v.prototype.reset=v.prototype.reset,v.prototype.advance=function(r){this.a.advance(r)},v.prototype.advance=v.prototype.advance,v.prototype.oa=function(){if(this.a.ya())return!1;if(this.getError())return K("Decoder hit an error"),!1;this.O=this.a.B();var r=this.a.o(),o=r>>>3;return r&=7,r!=0&&r!=5&&r!=1&&r!=2&&r!=3&&r!=4?(K("Invalid wire type: %s (at position %s)",r,this.O),this.h=!0,!1):(this.c=o,this.b=r,!0)},v.prototype.nextField=v.prototype.oa,v.prototype.Oa=function(){this.a.mb(this.c<<3|this.b)},v.prototype.unskipHeader=v.prototype.Oa,v.prototype.Lc=function(){var r=this.c;for(this.Oa();this.oa()&&this.c==r;)this.C();this.a.ya()||this.Oa()},v.prototype.skipMatchingFields=v.prototype.Lc,v.prototype.lb=function(){this.b!=0?(K("Invalid wire type for skipVarintField"),this.C()):this.a.kb()},v.prototype.skipVarintField=v.prototype.lb,v.prototype.gb=function(){if(this.b!=2)K("Invalid wire type for skipDelimitedField"),this.C();else{var r=this.a.o();this.a.advance(r)}},v.prototype.skipDelimitedField=v.prototype.gb,v.prototype.hb=function(){this.b!=5?(K("Invalid wire type for skipFixed32Field"),this.C()):this.a.advance(4)},v.prototype.skipFixed32Field=v.prototype.hb,v.prototype.ib=function(){this.b!=1?(K("Invalid wire type for skipFixed64Field"),this.C()):this.a.advance(8)},v.prototype.skipFixed64Field=v.prototype.ib,v.prototype.jb=function(){var r=this.c;do{if(!this.oa()){K("Unmatched start-group tag: stream EOF"),this.h=!0;break}if(this.b==4){this.c!=r&&(K("Unmatched end-group tag"),this.h=!0);break}this.C()}while(1)},v.prototype.skipGroup=v.prototype.jb,v.prototype.C=function(){switch(this.b){case 0:this.lb();break;case 1:this.ib();break;case 2:this.gb();break;case 5:this.hb();break;case 3:this.jb();break;default:K("Invalid wire encoding for field.")}},v.prototype.skipField=v.prototype.C,v.prototype.Hc=function(r,o){this.v===null&&(this.v={}),C(!this.v[r]),this.v[r]=o},v.prototype.registerReadCallback=v.prototype.Hc,v.prototype.Ic=function(r){return C(this.v!==null),r=this.v[r],C(r),r(this)},v.prototype.runReadCallback=v.prototype.Ic,v.prototype.Yb=function(r,o){C(this.b==2);var a=this.a.c,p=this.a.o();p=this.a.B()+p,this.a.setEnd(p),o(r,this),this.a.Ma(p),this.a.setEnd(a)},v.prototype.readMessage=v.prototype.Yb,v.prototype.Ub=function(r,o,a){C(this.b==3),C(this.c==r),a(o,this),this.h||this.b==4||(K("Group submessage did not end with an END_GROUP tag"),this.h=!0)},v.prototype.readGroup=v.prototype.Ub,v.prototype.Gb=function(){C(this.b==2);var r=this.a.o(),o=this.a.B(),a=o+r;return r=br(this.a.Y(),o,r),this.a.Ma(a),r},v.prototype.getFieldDecoder=v.prototype.Gb,v.prototype.P=function(){return C(this.b==0),this.a.da()},v.prototype.readInt32=v.prototype.P,v.prototype.Wb=function(){return C(this.b==0),this.a.Ea()},v.prototype.readInt32String=v.prototype.Wb,v.prototype.ba=function(){return C(this.b==0),this.a.sa()},v.prototype.readInt64=v.prototype.ba,v.prototype.ca=function(){return C(this.b==0),this.a.Fa()},v.prototype.readInt64String=v.prototype.ca,v.prototype.m=function(){return C(this.b==0),this.a.o()},v.prototype.readUint32=v.prototype.m,v.prototype.Fc=function(){return C(this.b==0),this.a.O()},v.prototype.readUint32String=v.prototype.Fc,v.prototype.ga=function(){return C(this.b==0),this.a.Ga()},v.prototype.readUint64=v.prototype.ga,v.prototype.ha=function(){return C(this.b==0),this.a.Ha()},v.prototype.readUint64String=v.prototype.ha,v.prototype.zc=function(){return C(this.b==0),this.a.Ia()},v.prototype.readSint32=v.prototype.zc,v.prototype.Ac=function(){return C(this.b==0),this.a.Ja()},v.prototype.readSint64=v.prototype.Ac,v.prototype.Bc=function(){return C(this.b==0),this.a.Ka()},v.prototype.readSint64String=v.prototype.Bc,v.prototype.Rb=function(){return C(this.b==5),this.a.m()},v.prototype.readFixed32=v.prototype.Rb,v.prototype.Sb=function(){return C(this.b==1),this.a.ga()},v.prototype.readFixed64=v.prototype.Sb,v.prototype.Tb=function(){return C(this.b==1),this.a.ha()},v.prototype.readFixed64String=v.prototype.Tb,v.prototype.vc=function(){return C(this.b==5),this.a.P()},v.prototype.readSfixed32=v.prototype.vc,v.prototype.wc=function(){return C(this.b==5),this.a.P().toString()},v.prototype.readSfixed32String=v.prototype.wc,v.prototype.xc=function(){return C(this.b==1),this.a.ba()},v.prototype.readSfixed64=v.prototype.xc,v.prototype.yc=function(){return C(this.b==1),this.a.ca()},v.prototype.readSfixed64String=v.prototype.yc,v.prototype.aa=function(){return C(this.b==5),this.a.aa()},v.prototype.readFloat=v.prototype.aa,v.prototype.Z=function(){return C(this.b==1),this.a.Z()},v.prototype.readDouble=v.prototype.Z,v.prototype.pa=function(){return C(this.b==0),!!this.a.o()},v.prototype.readBool=v.prototype.pa,v.prototype.ra=function(){return C(this.b==0),this.a.sa()},v.prototype.readEnum=v.prototype.ra,v.prototype.fa=function(){C(this.b==2);var r=this.a.o();return this.a.fa(r)},v.prototype.readString=v.prototype.fa,v.prototype.qa=function(){C(this.b==2);var r=this.a.o();return this.a.qa(r)},v.prototype.readBytes=v.prototype.qa,v.prototype.ia=function(){return C(this.b==0),this.a.ia()},v.prototype.readVarintHash64=v.prototype.ia,v.prototype.Cc=function(){return C(this.b==0),this.a.fb()},v.prototype.readSintHash64=v.prototype.Cc,v.prototype.w=function(r){return C(this.b==0),this.a.w(r)},v.prototype.readSplitVarint64=v.prototype.w,v.prototype.ea=function(r){return C(this.b==0),this.a.w(function(o,a){return Ze(o,a,r)})},v.prototype.readSplitZigzagVarint64=v.prototype.ea,v.prototype.$=function(){return C(this.b==1),this.a.$()},v.prototype.readFixedHash64=v.prototype.$,v.prototype.ta=function(r){return C(this.b==1),this.a.ta(r)},v.prototype.readSplitFixed64=v.prototype.ta;function et(r,o){C(r.b==2);var a=r.a.o();a=r.a.B()+a;for(var p=[];r.a.B()<a;)p.push(o.call(r.a));return p}v.prototype.gc=function(){return et(this,this.a.da)},v.prototype.readPackedInt32=v.prototype.gc,v.prototype.hc=function(){return et(this,this.a.Ea)},v.prototype.readPackedInt32String=v.prototype.hc,v.prototype.ic=function(){return et(this,this.a.sa)},v.prototype.readPackedInt64=v.prototype.ic,v.prototype.jc=function(){return et(this,this.a.Fa)},v.prototype.readPackedInt64String=v.prototype.jc,v.prototype.qc=function(){return et(this,this.a.o)},v.prototype.readPackedUint32=v.prototype.qc,v.prototype.rc=function(){return et(this,this.a.O)},v.prototype.readPackedUint32String=v.prototype.rc,v.prototype.sc=function(){return et(this,this.a.Ga)},v.prototype.readPackedUint64=v.prototype.sc,v.prototype.tc=function(){return et(this,this.a.Ha)},v.prototype.readPackedUint64String=v.prototype.tc,v.prototype.nc=function(){return et(this,this.a.Ia)},v.prototype.readPackedSint32=v.prototype.nc,v.prototype.oc=function(){return et(this,this.a.Ja)},v.prototype.readPackedSint64=v.prototype.oc,v.prototype.pc=function(){return et(this,this.a.Ka)},v.prototype.readPackedSint64String=v.prototype.pc,v.prototype.bc=function(){return et(this,this.a.m)},v.prototype.readPackedFixed32=v.prototype.bc,v.prototype.cc=function(){return et(this,this.a.ga)},v.prototype.readPackedFixed64=v.prototype.cc,v.prototype.dc=function(){return et(this,this.a.ha)},v.prototype.readPackedFixed64String=v.prototype.dc,v.prototype.kc=function(){return et(this,this.a.P)},v.prototype.readPackedSfixed32=v.prototype.kc,v.prototype.lc=function(){return et(this,this.a.ba)},v.prototype.readPackedSfixed64=v.prototype.lc,v.prototype.mc=function(){return et(this,this.a.ca)},v.prototype.readPackedSfixed64String=v.prototype.mc,v.prototype.fc=function(){return et(this,this.a.aa)},v.prototype.readPackedFloat=v.prototype.fc,v.prototype.$b=function(){return et(this,this.a.Z)},v.prototype.readPackedDouble=v.prototype.$b,v.prototype.Zb=function(){return et(this,this.a.pa)},v.prototype.readPackedBool=v.prototype.Zb,v.prototype.ac=function(){return et(this,this.a.ra)},v.prototype.readPackedEnum=v.prototype.ac,v.prototype.uc=function(){return et(this,this.a.ia)},v.prototype.readPackedVarintHash64=v.prototype.uc,v.prototype.ec=function(){return et(this,this.a.$)},v.prototype.readPackedFixedHash64=v.prototype.ec;function yt(r,o,a,p,b){this.ma=r,this.Ba=o,this.la=a,this.Na=p,this.na=b}m("jspb.ExtensionFieldInfo",yt,void 0);function It(r,o,a,p,b,P){this.Za=r,this.za=o,this.Aa=a,this.Wa=p,this.Ab=b,this.Nb=P}m("jspb.ExtensionFieldBinaryInfo",It,void 0),yt.prototype.F=function(){return!!this.la},yt.prototype.isMessageType=yt.prototype.F;function F(){}m("jspb.Message",F,void 0),F.GENERATE_TO_OBJECT=!0,F.GENERATE_FROM_OBJECT=!0;var oe=typeof Uint8Array=="function";F.prototype.Ib=function(){return this.b},F.prototype.getJsPbMessageId=F.prototype.Ib,F.initialize=function(r,o,a,p,b,P){r.f=null,o||(o=a?[a]:[]),r.b=a?String(a):void 0,r.D=a===0?-1:0,r.u=o;t:{if(a=r.u.length,o=-1,a&&(o=a-1,a=r.u[o],!(a===null||typeof a!="object"||Array.isArray(a)||oe&&a instanceof Uint8Array))){r.G=o-r.D,r.i=a;break t}-1<p?(r.G=Math.max(p,o+1-r.D),r.i=null):r.G=Number.MAX_VALUE}if(r.a={},b)for(p=0;p<b.length;p++)o=b[p],o<r.G?(o+=r.D,r.u[o]=r.u[o]||Oe):(fe(r),r.i[o]=r.i[o]||Oe);if(P&&P.length)for(p=0;p<P.length;p++)ms(r,P[p])};var Oe=Object.freeze?Object.freeze([]):[];function fe(r){var o=r.G+r.D;r.u[o]||(r.i=r.u[o]={})}function tn(r,o,a){for(var p=[],b=0;b<r.length;b++)p[b]=o.call(r[b],a,r[b]);return p}F.toObjectList=tn,F.toObjectExtension=function(r,o,a,p,b){for(var P in a){var _=a[P],rt=p.call(r,_);if(rt!=null){for(var Gt in _.Ba)if(_.Ba.hasOwnProperty(Gt))break;o[Gt]=_.Na?_.na?tn(rt,_.Na,b):_.Na(b,rt):rt}}},F.serializeBinaryExtensions=function(r,o,a,p){for(var b in a){var P=a[b],_=P.Za;if(!P.Aa)throw Error("Message extension present that was generated without binary serialization support");var rt=p.call(r,_);if(rt!=null)if(_.F())if(P.Wa)P.Aa.call(o,_.ma,rt,P.Wa);else throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");else P.Aa.call(o,_.ma,rt)}},F.readBinaryExtension=function(r,o,a,p,b){var P=a[o.c];if(P){if(a=P.Za,!P.za)throw Error("Deserializing extension whose generated code does not support binary format");if(a.F()){var _=new a.la;P.za.call(o,_,P.Ab)}else _=P.za.call(o);a.na&&!P.Nb?(o=p.call(r,a))?o.push(_):b.call(r,a,[_]):b.call(r,a,_)}else o.C()};function he(r,o){if(o<r.G){o+=r.D;var a=r.u[o];return a===Oe?r.u[o]=[]:a}if(r.i)return a=r.i[o],a===Oe?r.i[o]=[]:a}F.getField=he,F.getRepeatedField=function(r,o){return he(r,o)};function Mc(r,o){return r=he(r,o),r==null?r:+r}F.getOptionalFloatingPointField=Mc;function Ac(r,o){return r=he(r,o),r==null?r:!!r}F.getBooleanField=Ac,F.getRepeatedFloatingPointField=function(r,o){var a=he(r,o);if(r.a||(r.a={}),!r.a[o]){for(var p=0;p<a.length;p++)a[p]=+a[p];r.a[o]=!0}return a},F.getRepeatedBooleanField=function(r,o){var a=he(r,o);if(r.a||(r.a={}),!r.a[o]){for(var p=0;p<a.length;p++)a[p]=!!a[p];r.a[o]=!0}return a};function Pc(r){return r==null||typeof r=="string"?r:oe&&r instanceof Uint8Array?_e(r):(K("Cannot coerce to b64 string: "+M(r)),null)}F.bytesAsB64=Pc;function Oc(r){return r==null||r instanceof Uint8Array?r:typeof r=="string"?Ht(r):(K("Cannot coerce to Uint8Array: "+M(r)),null)}F.bytesAsU8=Oc,F.bytesListAsB64=function(r){return Ic(r),r.length&&typeof r[0]!="string"?D(r,Pc):r},F.bytesListAsU8=function(r){return Ic(r),!r.length||r[0]instanceof Uint8Array?r:D(r,Oc)};function Ic(r){if(r&&1<r.length){var o=M(r[0]);z(r,function(a){M(a)!=o&&K("Inconsistent type in JSPB repeated field array. Got "+M(a)+" expected "+o)})}}function Bc(r,o,a){return r=he(r,o),r??a}F.getFieldWithDefault=Bc,F.getBooleanFieldWithDefault=function(r,o,a){return r=Ac(r,o),r??a},F.getFloatingPointFieldWithDefault=function(r,o,a){return r=Mc(r,o),r??a},F.getFieldProto3=Bc,F.getMapField=function(r,o,a,p){if(r.f||(r.f={}),o in r.f)return r.f[o];var b=he(r,o);if(!b){if(a)return;b=[],tr(r,o,b)}return r.f[o]=new N(b,p)};function tr(r,o,a){return Y(r,F),o<r.G?r.u[o+r.D]=a:(fe(r),r.i[o]=a),r}F.setField=tr,F.setProto3IntField=function(r,o,a){return vr(r,o,a,0)},F.setProto3FloatField=function(r,o,a){return vr(r,o,a,0)},F.setProto3BooleanField=function(r,o,a){return vr(r,o,a,!1)},F.setProto3StringField=function(r,o,a){return vr(r,o,a,"")},F.setProto3BytesField=function(r,o,a){return vr(r,o,a,"")},F.setProto3EnumField=function(r,o,a){return vr(r,o,a,0)},F.setProto3StringIntField=function(r,o,a){return vr(r,o,a,"0")};function vr(r,o,a,p){return Y(r,F),a!==p?tr(r,o,a):o<r.G?r.u[o+r.D]=null:(fe(r),delete r.i[o]),r}F.addToRepeatedField=function(r,o,a,p){return Y(r,F),o=he(r,o),p!=null?o.splice(p,0,a):o.push(a),r};function zc(r,o,a,p){return Y(r,F),(a=ms(r,a))&&a!==o&&p!==void 0&&(r.f&&a in r.f&&(r.f[a]=void 0),tr(r,a,void 0)),tr(r,o,p)}F.setOneofField=zc;function ms(r,o){for(var a,p,b=0;b<o.length;b++){var P=o[b],_=he(r,P);_!=null&&(a=P,p=_,tr(r,P,void 0))}return a?(tr(r,a,p),a):0}F.computeOneofCase=ms,F.getWrapperField=function(r,o,a,p){if(r.f||(r.f={}),!r.f[a]){var b=he(r,a);(p||b)&&(r.f[a]=new o(b))}return r.f[a]},F.getRepeatedWrapperField=function(r,o,a){return Nc(r,o,a),o=r.f[a],o==Oe&&(o=r.f[a]=[]),o};function Nc(r,o,a){if(r.f||(r.f={}),!r.f[a]){for(var p=he(r,a),b=[],P=0;P<p.length;P++)b[P]=new o(p[P]);r.f[a]=b}}F.setWrapperField=function(r,o,a){Y(r,F),r.f||(r.f={});var p=a&&a.g();return r.f[o]=a,tr(r,o,p)},F.setOneofWrapperField=function(r,o,a,p){Y(r,F),r.f||(r.f={});var b=p&&p.g();return r.f[o]=p,zc(r,o,a,b)},F.setRepeatedWrapperField=function(r,o,a){Y(r,F),r.f||(r.f={}),a=a||[];for(var p=[],b=0;b<a.length;b++)p[b]=a[b].g();return r.f[o]=a,tr(r,o,p)},F.addToRepeatedWrapperField=function(r,o,a,p,b){Nc(r,p,o);var P=r.f[o];return P||(P=r.f[o]=[]),a=a||new p,r=he(r,o),b!=null?(P.splice(b,0,a),r.splice(b,0,a.g())):(P.push(a),r.push(a.g())),a},F.toMap=function(r,o,a,p){for(var b={},P=0;P<r.length;P++)b[o.call(r[P])]=a?a.call(r[P],p,r[P]):r[P];return b};function _c(r){if(r.f)for(var o in r.f){var a=r.f[o];if(Array.isArray(a))for(var p=0;p<a.length;p++)a[p]&&a[p].g();else a&&a.g()}}F.prototype.g=function(){return _c(this),this.u},F.prototype.toArray=F.prototype.g,F.prototype.toString=function(){return _c(this),this.u.toString()},F.prototype.getExtension=function(r){if(this.i){this.f||(this.f={});var o=r.ma;if(r.na){if(r.F())return this.f[o]||(this.f[o]=D(this.i[o]||[],function(a){return new r.la(a)})),this.f[o]}else if(r.F())return!this.f[o]&&this.i[o]&&(this.f[o]=new r.la(this.i[o])),this.f[o];return this.i[o]}},F.prototype.getExtension=F.prototype.getExtension,F.prototype.Kc=function(r,o){this.f||(this.f={}),fe(this);var a=r.ma;return r.na?(o=o||[],r.F()?(this.f[a]=o,this.i[a]=D(o,function(p){return p.g()})):this.i[a]=o):r.F()?(this.f[a]=o,this.i[a]=o&&o.g()):this.i[a]=o,this},F.prototype.setExtension=F.prototype.Kc,F.difference=function(r,o){if(!(r instanceof o.constructor))throw Error("Messages have different types.");var a=r.g();o=o.g();var p=[],b=0,P=a.length>o.length?a.length:o.length;for(r.b&&(p[0]=r.b,b=1);b<P;b++)In(a[b],o[b])||(p[b]=o[b]);return new r.constructor(p)},F.equals=function(r,o){return r==o||!(!r||!o)&&r instanceof o.constructor&&In(r.g(),o.g())};function bs(r,o){r=r||{},o=o||{};var a={},p;for(p in r)a[p]=0;for(p in o)a[p]=0;for(p in a)if(!In(r[p],o[p]))return!1;return!0}F.compareExtensions=bs;function In(r,o){if(r==o)return!0;if(!R(r)||!R(o))return typeof r=="number"&&isNaN(r)||typeof o=="number"&&isNaN(o)?String(r)==String(o):!1;if(r.constructor!=o.constructor)return!1;if(oe&&r.constructor===Uint8Array){if(r.length!=o.length)return!1;for(var a=0;a<r.length;a++)if(r[a]!=o[a])return!1;return!0}if(r.constructor===Array){var p=void 0,b=void 0,P=Math.max(r.length,o.length);for(a=0;a<P;a++){var _=r[a],rt=o[a];if(_&&_.constructor==Object&&(C(p===void 0),C(a===r.length-1),p=_,_=void 0),rt&&rt.constructor==Object&&(C(b===void 0),C(a===o.length-1),b=rt,rt=void 0),!In(_,rt))return!1}return p||b?(p=p||{},b=b||{},bs(p,b)):!0}if(r.constructor===Object)return bs(r,o);throw Error("Invalid type in JSPB array")}F.compareFields=In,F.prototype.Bb=function(){return Vo(this)},F.prototype.cloneMessage=F.prototype.Bb,F.prototype.clone=function(){return Vo(this)},F.prototype.clone=F.prototype.clone,F.clone=function(r){return Vo(r)};function Vo(r){return new r.constructor(vs(r.g()))}F.copyInto=function(r,o){Y(r,F),Y(o,F),C(r.constructor==o.constructor,"Copy source and target message should have the same type."),r=Vo(r);for(var a=o.g(),p=r.g(),b=a.length=0;b<p.length;b++)a[b]=p[b];o.f=r.f,o.i=r.i};function vs(r){if(Array.isArray(r)){for(var o=Array(r.length),a=0;a<r.length;a++){var p=r[a];p!=null&&(o[a]=typeof p=="object"?vs(C(p)):p)}return o}if(oe&&r instanceof Uint8Array)return new Uint8Array(r);o={};for(a in r)p=r[a],p!=null&&(o[a]=typeof p=="object"?vs(C(p)):p);return o}F.registerMessageType=function(r,o){o.we=r};var Ie={dump:function(r){return Y(r,F,"jspb.Message instance expected"),C(r.getExtension,"Only unobfuscated and unoptimized compilation modes supported."),Ie.X(r)}};m("jspb.debug.dump",Ie.dump,void 0),Ie.X=function(r){var o=M(r);if(o=="number"||o=="string"||o=="boolean"||o=="null"||o=="undefined"||typeof Uint8Array<"u"&&r instanceof Uint8Array)return r;if(o=="array")return pt(r),D(r,Ie.X);if(r instanceof N){var a={};r=r.entries();for(var p=r.next();!p.done;p=r.next())a[p.value[0]]=Ie.X(p.value[1]);return a}Y(r,F,"Only messages expected: "+r),o=r.constructor;var b={$name:o.name||o.displayName};for(rt in o.prototype){var P=/^get([A-Z]\w*)/.exec(rt);if(P&&rt!="getExtension"&&rt!="getJsPbMessageId"){var _="has"+P[1];(!r[_]||r[_]())&&(_=r[rt](),b[Ie.$a(P[1])]=Ie.X(_))}}if(r.extensionObject_)return b.$extensions="Recursive dumping of extensions not supported in compiled code. Switch to uncompiled or dump extension object directly",b;for(p in o.extensions)if(/^\d+$/.test(p)){_=o.extensions[p];var rt=r.getExtension(_);P=void 0,_=_.Ba;var Gt=[],xr=0;for(P in _)Gt[xr++]=P;P=Gt[0],rt!=null&&(a||(a=b.$extensions={}),a[Ie.$a(P)]=Ie.X(rt))}return b},Ie.$a=function(r){return r.replace(/^[A-Z]/,function(o){return o.toLowerCase()})};function W(){this.a=[]}m("jspb.BinaryEncoder",W,void 0),W.prototype.length=function(){return this.a.length},W.prototype.length=W.prototype.length,W.prototype.end=function(){var r=this.a;return this.a=[],r},W.prototype.end=W.prototype.end,W.prototype.l=function(r,o){for(C(r==Math.floor(r)),C(o==Math.floor(o)),C(0<=r&&4294967296>r),C(0<=o&&4294967296>o);0<o||127<r;)this.a.push(r&127|128),r=(r>>>7|o<<25)>>>0,o>>>=7;this.a.push(r)},W.prototype.writeSplitVarint64=W.prototype.l,W.prototype.A=function(r,o){C(r==Math.floor(r)),C(o==Math.floor(o)),C(0<=r&&4294967296>r),C(0<=o&&4294967296>o),this.s(r),this.s(o)},W.prototype.writeSplitFixed64=W.prototype.A,W.prototype.j=function(r){for(C(r==Math.floor(r)),C(0<=r&&4294967296>r);127<r;)this.a.push(r&127|128),r>>>=7;this.a.push(r)},W.prototype.writeUnsignedVarint32=W.prototype.j,W.prototype.M=function(r){if(C(r==Math.floor(r)),C(-2147483648<=r&&2147483648>r),0<=r)this.j(r);else{for(var o=0;9>o;o++)this.a.push(r&127|128),r>>=7;this.a.push(1)}},W.prototype.writeSignedVarint32=W.prototype.M,W.prototype.va=function(r){C(r==Math.floor(r)),C(0<=r&&18446744073709552e3>r),V(r),this.l(G,u)},W.prototype.writeUnsignedVarint64=W.prototype.va,W.prototype.ua=function(r){C(r==Math.floor(r)),C(-9223372036854776e3<=r&&9223372036854776e3>r),V(r),this.l(G,u)},W.prototype.writeSignedVarint64=W.prototype.ua,W.prototype.wa=function(r){C(r==Math.floor(r)),C(-2147483648<=r&&2147483648>r),this.j((r<<1^r>>31)>>>0)},W.prototype.writeZigzagVarint32=W.prototype.wa,W.prototype.xa=function(r){C(r==Math.floor(r)),C(-9223372036854776e3<=r&&9223372036854776e3>r),Xe(r),this.l(G,u)},W.prototype.writeZigzagVarint64=W.prototype.xa,W.prototype.Ta=function(r){this.W(Qe(r))},W.prototype.writeZigzagVarint64String=W.prototype.Ta,W.prototype.W=function(r){var o=this;de(r),re(G,u,function(a,p){o.l(a>>>0,p>>>0)})},W.prototype.writeZigzagVarintHash64=W.prototype.W,W.prototype.be=function(r){C(r==Math.floor(r)),C(0<=r&&256>r),this.a.push(r>>>0&255)},W.prototype.writeUint8=W.prototype.be,W.prototype.ae=function(r){C(r==Math.floor(r)),C(0<=r&&65536>r),this.a.push(r>>>0&255),this.a.push(r>>>8&255)},W.prototype.writeUint16=W.prototype.ae,W.prototype.s=function(r){C(r==Math.floor(r)),C(0<=r&&4294967296>r),this.a.push(r>>>0&255),this.a.push(r>>>8&255),this.a.push(r>>>16&255),this.a.push(r>>>24&255)},W.prototype.writeUint32=W.prototype.s,W.prototype.V=function(r){C(r==Math.floor(r)),C(0<=r&&18446744073709552e3>r),w(r),this.s(G),this.s(u)},W.prototype.writeUint64=W.prototype.V,W.prototype.Qc=function(r){C(r==Math.floor(r)),C(-128<=r&&128>r),this.a.push(r>>>0&255)},W.prototype.writeInt8=W.prototype.Qc,W.prototype.Pc=function(r){C(r==Math.floor(r)),C(-32768<=r&&32768>r),this.a.push(r>>>0&255),this.a.push(r>>>8&255)},W.prototype.writeInt16=W.prototype.Pc,W.prototype.S=function(r){C(r==Math.floor(r)),C(-2147483648<=r&&2147483648>r),this.a.push(r>>>0&255),this.a.push(r>>>8&255),this.a.push(r>>>16&255),this.a.push(r>>>24&255)},W.prototype.writeInt32=W.prototype.S,W.prototype.T=function(r){C(r==Math.floor(r)),C(-9223372036854776e3<=r&&9223372036854776e3>r),V(r),this.A(G,u)},W.prototype.writeInt64=W.prototype.T,W.prototype.ka=function(r){C(r==Math.floor(r)),C(-9223372036854776e3<=+r&&9223372036854776e3>+r),de(Qe(r)),this.A(G,u)},W.prototype.writeInt64String=W.prototype.ka,W.prototype.L=function(r){C(r===1/0||r===-1/0||isNaN(r)||-34028234663852886e22<=r&&34028234663852886e22>=r),yr(r),this.s(G)},W.prototype.writeFloat=W.prototype.L,W.prototype.J=function(r){C(r===1/0||r===-1/0||isNaN(r)||-17976931348623157e292<=r&&17976931348623157e292>=r),Qr(r),this.s(G),this.s(u)},W.prototype.writeDouble=W.prototype.J,W.prototype.I=function(r){C(typeof r=="boolean"||typeof r=="number"),this.a.push(r?1:0)},W.prototype.writeBool=W.prototype.I,W.prototype.R=function(r){C(r==Math.floor(r)),C(-2147483648<=r&&2147483648>r),this.M(r)},W.prototype.writeEnum=W.prototype.R,W.prototype.ja=function(r){this.a.push.apply(this.a,r)},W.prototype.writeBytes=W.prototype.ja,W.prototype.N=function(r){de(r),this.l(G,u)},W.prototype.writeVarintHash64=W.prototype.N,W.prototype.K=function(r){de(r),this.s(G),this.s(u)},W.prototype.writeFixedHash64=W.prototype.K,W.prototype.U=function(r){var o=this.a.length;at(r);for(var a=0;a<r.length;a++){var p=r.charCodeAt(a);if(128>p)this.a.push(p);else if(2048>p)this.a.push(p>>6|192),this.a.push(p&63|128);else if(65536>p)if(55296<=p&&56319>=p&&a+1<r.length){var b=r.charCodeAt(a+1);56320<=b&&57343>=b&&(p=1024*(p-55296)+b-56320+65536,this.a.push(p>>18|240),this.a.push(p>>12&63|128),this.a.push(p>>6&63|128),this.a.push(p&63|128),a++)}else this.a.push(p>>12|224),this.a.push(p>>6&63|128),this.a.push(p&63|128)}return this.a.length-o},W.prototype.writeString=W.prototype.U;function tt(r,o){this.lo=r,this.hi=o}m("jspb.arith.UInt64",tt,void 0),tt.prototype.cmp=function(r){return this.hi<r.hi||this.hi==r.hi&&this.lo<r.lo?-1:this.hi==r.hi&&this.lo==r.lo?0:1},tt.prototype.cmp=tt.prototype.cmp,tt.prototype.La=function(){return new tt((this.lo>>>1|(this.hi&1)<<31)>>>0,this.hi>>>1>>>0)},tt.prototype.rightShift=tt.prototype.La,tt.prototype.Da=function(){return new tt(this.lo<<1>>>0,(this.hi<<1|this.lo>>>31)>>>0)},tt.prototype.leftShift=tt.prototype.Da,tt.prototype.cb=function(){return!!(this.hi&2147483648)},tt.prototype.msb=tt.prototype.cb,tt.prototype.Ob=function(){return!!(this.lo&1)},tt.prototype.lsb=tt.prototype.Ob,tt.prototype.Ua=function(){return this.lo==0&&this.hi==0},tt.prototype.zero=tt.prototype.Ua,tt.prototype.add=function(r){return new tt((this.lo+r.lo&4294967295)>>>0>>>0,((this.hi+r.hi&4294967295)>>>0)+(4294967296<=this.lo+r.lo?1:0)>>>0)},tt.prototype.add=tt.prototype.add,tt.prototype.sub=function(r){return new tt((this.lo-r.lo&4294967295)>>>0>>>0,((this.hi-r.hi&4294967295)>>>0)-(0>this.lo-r.lo?1:0)>>>0)},tt.prototype.sub=tt.prototype.sub;function xs(r,o){var a=r&65535;r>>>=16;var p=o&65535,b=o>>>16;for(o=a*p+65536*(a*b&65535)+65536*(r*p&65535),a=r*b+(a*b>>>16)+(r*p>>>16);4294967296<=o;)o-=4294967296,a+=1;return new tt(o>>>0,a>>>0)}tt.mul32x32=xs,tt.prototype.eb=function(r){var o=xs(this.lo,r);return r=xs(this.hi,r),r.hi=r.lo,r.lo=0,o.add(r)},tt.prototype.mul=tt.prototype.eb,tt.prototype.Xa=function(r){if(r==0)return[];var o=new tt(0,0),a=new tt(this.lo,this.hi);r=new tt(r,0);for(var p=new tt(1,0);!r.cb();)r=r.Da(),p=p.Da();for(;!p.Ua();)0>=r.cmp(a)&&(o=o.add(p),a=a.sub(r)),r=r.La(),p=p.La();return[o,a]},tt.prototype.div=tt.prototype.Xa,tt.prototype.toString=function(){for(var r="",o=this;!o.Ua();){o=o.Xa(10);var a=o[0];r=o[1].lo+r,o=a}return r==""&&(r="0"),r},tt.prototype.toString=tt.prototype.toString;function en(r){for(var o=new tt(0,0),a=new tt(0,0),p=0;p<r.length;p++){if("0">r[p]||"9"<r[p])return null;a.lo=parseInt(r[p],10),o=o.eb(10).add(a)}return o}tt.fromString=en,tt.prototype.clone=function(){return new tt(this.lo,this.hi)},tt.prototype.clone=tt.prototype.clone;function Qt(r,o){this.lo=r,this.hi=o}m("jspb.arith.Int64",Qt,void 0),Qt.prototype.add=function(r){return new Qt((this.lo+r.lo&4294967295)>>>0>>>0,((this.hi+r.hi&4294967295)>>>0)+(4294967296<=this.lo+r.lo?1:0)>>>0)},Qt.prototype.add=Qt.prototype.add,Qt.prototype.sub=function(r){return new Qt((this.lo-r.lo&4294967295)>>>0>>>0,((this.hi-r.hi&4294967295)>>>0)-(0>this.lo-r.lo?1:0)>>>0)},Qt.prototype.sub=Qt.prototype.sub,Qt.prototype.clone=function(){return new Qt(this.lo,this.hi)},Qt.prototype.clone=Qt.prototype.clone,Qt.prototype.toString=function(){var r=(this.hi&2147483648)!=0,o=new tt(this.lo,this.hi);return r&&(o=new tt(0,0).sub(o)),(r?"-":"")+o.toString()},Qt.prototype.toString=Qt.prototype.toString;function Ho(r){var o=0<r.length&&r[0]=="-";return o&&(r=r.substring(1)),r=en(r),r===null?null:(o&&(r=new tt(0,0).sub(r)),new Qt(r.lo,r.hi))}Qt.fromString=Ho;function y(){this.c=[],this.b=0,this.a=new W,this.h=[]}m("jspb.BinaryWriter",y,void 0);function Fc(r,o){var a=r.a.end();r.c.push(a),r.c.push(o),r.b+=a.length+o.length}function Ft(r,o){return it(r,o,2),o=r.a.end(),r.c.push(o),r.b+=o.length,o.push(r.b),o}function Dt(r,o){var a=o.pop();for(a=r.b+r.a.length()-a,C(0<=a);127<a;)o.push(a&127|128),a>>>=7,r.b++;o.push(a),r.b++}y.prototype.pb=function(r,o,a){Fc(this,r.subarray(o,a))},y.prototype.writeSerializedMessage=y.prototype.pb,y.prototype.Pb=function(r,o,a){r!=null&&o!=null&&a!=null&&this.pb(r,o,a)},y.prototype.maybeWriteSerializedMessage=y.prototype.Pb,y.prototype.reset=function(){this.c=[],this.a.end(),this.b=0,this.h=[]},y.prototype.reset=y.prototype.reset,y.prototype.ab=function(){C(this.h.length==0);for(var r=new Uint8Array(this.b+this.a.length()),o=this.c,a=o.length,p=0,b=0;b<a;b++){var P=o[b];r.set(P,p),p+=P.length}return o=this.a.end(),r.set(o,p),p+=o.length,C(p==r.length),this.c=[r],r},y.prototype.getResultBuffer=y.prototype.ab,y.prototype.Kb=function(r){return _e(this.ab(),r)},y.prototype.getResultBase64String=y.prototype.Kb,y.prototype.Va=function(r){this.h.push(Ft(this,r))},y.prototype.beginSubMessage=y.prototype.Va,y.prototype.Ya=function(){C(0<=this.h.length),Dt(this,this.h.pop())},y.prototype.endSubMessage=y.prototype.Ya;function it(r,o,a){C(1<=o&&o==Math.floor(o)),r.a.j(8*o+a)}y.prototype.Nc=function(r,o,a){switch(r){case 1:this.J(o,a);break;case 2:this.L(o,a);break;case 3:this.T(o,a);break;case 4:this.V(o,a);break;case 5:this.S(o,a);break;case 6:this.Qa(o,a);break;case 7:this.Pa(o,a);break;case 8:this.I(o,a);break;case 9:this.U(o,a);break;case 10:K("Group field type not supported in writeAny()");break;case 11:K("Message field type not supported in writeAny()");break;case 12:this.ja(o,a);break;case 13:this.s(o,a);break;case 14:this.R(o,a);break;case 15:this.Ra(o,a);break;case 16:this.Sa(o,a);break;case 17:this.rb(o,a);break;case 18:this.sb(o,a);break;case 30:this.K(o,a);break;case 31:this.N(o,a);break;default:K("Invalid field type in writeAny()")}},y.prototype.writeAny=y.prototype.Nc;function Ss(r,o,a){a!=null&&(it(r,o,0),r.a.j(a))}function ws(r,o,a){a!=null&&(it(r,o,0),r.a.M(a))}y.prototype.S=function(r,o){o!=null&&(C(-2147483648<=o&&2147483648>o),ws(this,r,o))},y.prototype.writeInt32=y.prototype.S,y.prototype.ob=function(r,o){o!=null&&(o=parseInt(o,10),C(-2147483648<=o&&2147483648>o),ws(this,r,o))},y.prototype.writeInt32String=y.prototype.ob,y.prototype.T=function(r,o){o!=null&&(C(-9223372036854776e3<=o&&9223372036854776e3>o),o!=null&&(it(this,r,0),this.a.ua(o)))},y.prototype.writeInt64=y.prototype.T,y.prototype.ka=function(r,o){o!=null&&(o=Ho(o),it(this,r,0),this.a.l(o.lo,o.hi))},y.prototype.writeInt64String=y.prototype.ka,y.prototype.s=function(r,o){o!=null&&(C(0<=o&&4294967296>o),Ss(this,r,o))},y.prototype.writeUint32=y.prototype.s,y.prototype.ub=function(r,o){o!=null&&(o=parseInt(o,10),C(0<=o&&4294967296>o),Ss(this,r,o))},y.prototype.writeUint32String=y.prototype.ub,y.prototype.V=function(r,o){o!=null&&(C(0<=o&&18446744073709552e3>o),o!=null&&(it(this,r,0),this.a.va(o)))},y.prototype.writeUint64=y.prototype.V,y.prototype.vb=function(r,o){o!=null&&(o=en(o),it(this,r,0),this.a.l(o.lo,o.hi))},y.prototype.writeUint64String=y.prototype.vb,y.prototype.rb=function(r,o){o!=null&&(C(-2147483648<=o&&2147483648>o),o!=null&&(it(this,r,0),this.a.wa(o)))},y.prototype.writeSint32=y.prototype.rb,y.prototype.sb=function(r,o){o!=null&&(C(-9223372036854776e3<=o&&9223372036854776e3>o),o!=null&&(it(this,r,0),this.a.xa(o)))},y.prototype.writeSint64=y.prototype.sb,y.prototype.$d=function(r,o){o!=null&&o!=null&&(it(this,r,0),this.a.W(o))},y.prototype.writeSintHash64=y.prototype.$d,y.prototype.Zd=function(r,o){o!=null&&o!=null&&(it(this,r,0),this.a.Ta(o))},y.prototype.writeSint64String=y.prototype.Zd,y.prototype.Pa=function(r,o){o!=null&&(C(0<=o&&4294967296>o),it(this,r,5),this.a.s(o))},y.prototype.writeFixed32=y.prototype.Pa,y.prototype.Qa=function(r,o){o!=null&&(C(0<=o&&18446744073709552e3>o),it(this,r,1),this.a.V(o))},y.prototype.writeFixed64=y.prototype.Qa,y.prototype.nb=function(r,o){o!=null&&(o=en(o),it(this,r,1),this.a.A(o.lo,o.hi))},y.prototype.writeFixed64String=y.prototype.nb,y.prototype.Ra=function(r,o){o!=null&&(C(-2147483648<=o&&2147483648>o),it(this,r,5),this.a.S(o))},y.prototype.writeSfixed32=y.prototype.Ra,y.prototype.Sa=function(r,o){o!=null&&(C(-9223372036854776e3<=o&&9223372036854776e3>o),it(this,r,1),this.a.T(o))},y.prototype.writeSfixed64=y.prototype.Sa,y.prototype.qb=function(r,o){o!=null&&(o=Ho(o),it(this,r,1),this.a.A(o.lo,o.hi))},y.prototype.writeSfixed64String=y.prototype.qb,y.prototype.L=function(r,o){o!=null&&(it(this,r,5),this.a.L(o))},y.prototype.writeFloat=y.prototype.L,y.prototype.J=function(r,o){o!=null&&(it(this,r,1),this.a.J(o))},y.prototype.writeDouble=y.prototype.J,y.prototype.I=function(r,o){o!=null&&(C(typeof o=="boolean"||typeof o=="number"),it(this,r,0),this.a.I(o))},y.prototype.writeBool=y.prototype.I,y.prototype.R=function(r,o){o!=null&&(C(-2147483648<=o&&2147483648>o),it(this,r,0),this.a.M(o))},y.prototype.writeEnum=y.prototype.R,y.prototype.U=function(r,o){o!=null&&(r=Ft(this,r),this.a.U(o),Dt(this,r))},y.prototype.writeString=y.prototype.U,y.prototype.ja=function(r,o){o!=null&&(o=Ve(o),it(this,r,2),this.a.j(o.length),Fc(this,o))},y.prototype.writeBytes=y.prototype.ja,y.prototype.Rc=function(r,o,a){o!=null&&(r=Ft(this,r),a(o,this),Dt(this,r))},y.prototype.writeMessage=y.prototype.Rc,y.prototype.Sc=function(r,o,a){o!=null&&(it(this,1,3),it(this,2,0),this.a.M(r),r=Ft(this,3),a(o,this),Dt(this,r),it(this,1,4))},y.prototype.writeMessageSet=y.prototype.Sc,y.prototype.Oc=function(r,o,a){o!=null&&(it(this,r,3),a(o,this),it(this,r,4))},y.prototype.writeGroup=y.prototype.Oc,y.prototype.K=function(r,o){o!=null&&(C(o.length==8),it(this,r,1),this.a.K(o))},y.prototype.writeFixedHash64=y.prototype.K,y.prototype.N=function(r,o){o!=null&&(C(o.length==8),it(this,r,0),this.a.N(o))},y.prototype.writeVarintHash64=y.prototype.N,y.prototype.A=function(r,o,a){it(this,r,1),this.a.A(o,a)},y.prototype.writeSplitFixed64=y.prototype.A,y.prototype.l=function(r,o,a){it(this,r,0),this.a.l(o,a)},y.prototype.writeSplitVarint64=y.prototype.l,y.prototype.tb=function(r,o,a){it(this,r,0);var p=this.a;re(o,a,function(b,P){p.l(b>>>0,P>>>0)})},y.prototype.writeSplitZigzagVarint64=y.prototype.tb,y.prototype.Ed=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)ws(this,r,o[a])},y.prototype.writeRepeatedInt32=y.prototype.Ed,y.prototype.Fd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.ob(r,o[a])},y.prototype.writeRepeatedInt32String=y.prototype.Fd,y.prototype.Gd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++){var p=o[a];p!=null&&(it(this,r,0),this.a.ua(p))}},y.prototype.writeRepeatedInt64=y.prototype.Gd,y.prototype.Qd=function(r,o,a,p){if(o!=null)for(var b=0;b<o.length;b++)this.A(r,a(o[b]),p(o[b]))},y.prototype.writeRepeatedSplitFixed64=y.prototype.Qd,y.prototype.Rd=function(r,o,a,p){if(o!=null)for(var b=0;b<o.length;b++)this.l(r,a(o[b]),p(o[b]))},y.prototype.writeRepeatedSplitVarint64=y.prototype.Rd,y.prototype.Sd=function(r,o,a,p){if(o!=null)for(var b=0;b<o.length;b++)this.tb(r,a(o[b]),p(o[b]))},y.prototype.writeRepeatedSplitZigzagVarint64=y.prototype.Sd,y.prototype.Hd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.ka(r,o[a])},y.prototype.writeRepeatedInt64String=y.prototype.Hd,y.prototype.Ud=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)Ss(this,r,o[a])},y.prototype.writeRepeatedUint32=y.prototype.Ud,y.prototype.Vd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.ub(r,o[a])},y.prototype.writeRepeatedUint32String=y.prototype.Vd,y.prototype.Wd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++){var p=o[a];p!=null&&(it(this,r,0),this.a.va(p))}},y.prototype.writeRepeatedUint64=y.prototype.Wd,y.prototype.Xd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.vb(r,o[a])},y.prototype.writeRepeatedUint64String=y.prototype.Xd,y.prototype.Md=function(r,o){if(o!=null)for(var a=0;a<o.length;a++){var p=o[a];p!=null&&(it(this,r,0),this.a.wa(p))}},y.prototype.writeRepeatedSint32=y.prototype.Md,y.prototype.Nd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++){var p=o[a];p!=null&&(it(this,r,0),this.a.xa(p))}},y.prototype.writeRepeatedSint64=y.prototype.Nd,y.prototype.Od=function(r,o){if(o!=null)for(var a=0;a<o.length;a++){var p=o[a];p!=null&&(it(this,r,0),this.a.Ta(p))}},y.prototype.writeRepeatedSint64String=y.prototype.Od,y.prototype.Pd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++){var p=o[a];p!=null&&(it(this,r,0),this.a.W(p))}},y.prototype.writeRepeatedSintHash64=y.prototype.Pd,y.prototype.yd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.Pa(r,o[a])},y.prototype.writeRepeatedFixed32=y.prototype.yd,y.prototype.zd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.Qa(r,o[a])},y.prototype.writeRepeatedFixed64=y.prototype.zd,y.prototype.Ad=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.nb(r,o[a])},y.prototype.writeRepeatedFixed64String=y.prototype.Ad,y.prototype.Jd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.Ra(r,o[a])},y.prototype.writeRepeatedSfixed32=y.prototype.Jd,y.prototype.Kd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.Sa(r,o[a])},y.prototype.writeRepeatedSfixed64=y.prototype.Kd,y.prototype.Ld=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.qb(r,o[a])},y.prototype.writeRepeatedSfixed64String=y.prototype.Ld,y.prototype.Cd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.L(r,o[a])},y.prototype.writeRepeatedFloat=y.prototype.Cd,y.prototype.wd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.J(r,o[a])},y.prototype.writeRepeatedDouble=y.prototype.wd,y.prototype.ud=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.I(r,o[a])},y.prototype.writeRepeatedBool=y.prototype.ud,y.prototype.xd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.R(r,o[a])},y.prototype.writeRepeatedEnum=y.prototype.xd,y.prototype.Td=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.U(r,o[a])},y.prototype.writeRepeatedString=y.prototype.Td,y.prototype.vd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.ja(r,o[a])},y.prototype.writeRepeatedBytes=y.prototype.vd,y.prototype.Id=function(r,o,a){if(o!=null)for(var p=0;p<o.length;p++){var b=Ft(this,r);a(o[p],this),Dt(this,b)}},y.prototype.writeRepeatedMessage=y.prototype.Id,y.prototype.Dd=function(r,o,a){if(o!=null)for(var p=0;p<o.length;p++)it(this,r,3),a(o[p],this),it(this,r,4)},y.prototype.writeRepeatedGroup=y.prototype.Dd,y.prototype.Bd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.K(r,o[a])},y.prototype.writeRepeatedFixedHash64=y.prototype.Bd,y.prototype.Yd=function(r,o){if(o!=null)for(var a=0;a<o.length;a++)this.N(r,o[a])},y.prototype.writeRepeatedVarintHash64=y.prototype.Yd,y.prototype.ad=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++)this.a.M(o[a]);Dt(this,r)}},y.prototype.writePackedInt32=y.prototype.ad,y.prototype.bd=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++)this.a.M(parseInt(o[a],10));Dt(this,r)}},y.prototype.writePackedInt32String=y.prototype.bd,y.prototype.cd=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++)this.a.ua(o[a]);Dt(this,r)}},y.prototype.writePackedInt64=y.prototype.cd,y.prototype.md=function(r,o,a,p){if(o!=null){r=Ft(this,r);for(var b=0;b<o.length;b++)this.a.A(a(o[b]),p(o[b]));Dt(this,r)}},y.prototype.writePackedSplitFixed64=y.prototype.md,y.prototype.nd=function(r,o,a,p){if(o!=null){r=Ft(this,r);for(var b=0;b<o.length;b++)this.a.l(a(o[b]),p(o[b]));Dt(this,r)}},y.prototype.writePackedSplitVarint64=y.prototype.nd,y.prototype.od=function(r,o,a,p){if(o!=null){r=Ft(this,r);for(var b=this.a,P=0;P<o.length;P++)re(a(o[P]),p(o[P]),function(_,rt){b.l(_>>>0,rt>>>0)});Dt(this,r)}},y.prototype.writePackedSplitZigzagVarint64=y.prototype.od,y.prototype.dd=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++){var p=Ho(o[a]);this.a.l(p.lo,p.hi)}Dt(this,r)}},y.prototype.writePackedInt64String=y.prototype.dd,y.prototype.pd=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++)this.a.j(o[a]);Dt(this,r)}},y.prototype.writePackedUint32=y.prototype.pd,y.prototype.qd=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++)this.a.j(parseInt(o[a],10));Dt(this,r)}},y.prototype.writePackedUint32String=y.prototype.qd,y.prototype.rd=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++)this.a.va(o[a]);Dt(this,r)}},y.prototype.writePackedUint64=y.prototype.rd,y.prototype.sd=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++){var p=en(o[a]);this.a.l(p.lo,p.hi)}Dt(this,r)}},y.prototype.writePackedUint64String=y.prototype.sd,y.prototype.hd=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++)this.a.wa(o[a]);Dt(this,r)}},y.prototype.writePackedSint32=y.prototype.hd,y.prototype.jd=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++)this.a.xa(o[a]);Dt(this,r)}},y.prototype.writePackedSint64=y.prototype.jd,y.prototype.kd=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++)this.a.W(Qe(o[a]));Dt(this,r)}},y.prototype.writePackedSint64String=y.prototype.kd,y.prototype.ld=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++)this.a.W(o[a]);Dt(this,r)}},y.prototype.writePackedSintHash64=y.prototype.ld,y.prototype.Wc=function(r,o){if(o!=null&&o.length)for(it(this,r,2),this.a.j(4*o.length),r=0;r<o.length;r++)this.a.s(o[r])},y.prototype.writePackedFixed32=y.prototype.Wc,y.prototype.Xc=function(r,o){if(o!=null&&o.length)for(it(this,r,2),this.a.j(8*o.length),r=0;r<o.length;r++)this.a.V(o[r])},y.prototype.writePackedFixed64=y.prototype.Xc,y.prototype.Yc=function(r,o){if(o!=null&&o.length)for(it(this,r,2),this.a.j(8*o.length),r=0;r<o.length;r++){var a=en(o[r]);this.a.A(a.lo,a.hi)}},y.prototype.writePackedFixed64String=y.prototype.Yc,y.prototype.ed=function(r,o){if(o!=null&&o.length)for(it(this,r,2),this.a.j(4*o.length),r=0;r<o.length;r++)this.a.S(o[r])},y.prototype.writePackedSfixed32=y.prototype.ed,y.prototype.fd=function(r,o){if(o!=null&&o.length)for(it(this,r,2),this.a.j(8*o.length),r=0;r<o.length;r++)this.a.T(o[r])},y.prototype.writePackedSfixed64=y.prototype.fd,y.prototype.gd=function(r,o){if(o!=null&&o.length)for(it(this,r,2),this.a.j(8*o.length),r=0;r<o.length;r++)this.a.ka(o[r])},y.prototype.writePackedSfixed64String=y.prototype.gd,y.prototype.$c=function(r,o){if(o!=null&&o.length)for(it(this,r,2),this.a.j(4*o.length),r=0;r<o.length;r++)this.a.L(o[r])},y.prototype.writePackedFloat=y.prototype.$c,y.prototype.Uc=function(r,o){if(o!=null&&o.length)for(it(this,r,2),this.a.j(8*o.length),r=0;r<o.length;r++)this.a.J(o[r])},y.prototype.writePackedDouble=y.prototype.Uc,y.prototype.Tc=function(r,o){if(o!=null&&o.length)for(it(this,r,2),this.a.j(o.length),r=0;r<o.length;r++)this.a.I(o[r])},y.prototype.writePackedBool=y.prototype.Tc,y.prototype.Vc=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++)this.a.R(o[a]);Dt(this,r)}},y.prototype.writePackedEnum=y.prototype.Vc,y.prototype.Zc=function(r,o){if(o!=null&&o.length)for(it(this,r,2),this.a.j(8*o.length),r=0;r<o.length;r++)this.a.K(o[r])},y.prototype.writePackedFixedHash64=y.prototype.Zc,y.prototype.td=function(r,o){if(o!=null&&o.length){r=Ft(this,r);for(var a=0;a<o.length;a++)this.a.N(o[a]);Dt(this,r)}},y.prototype.writePackedVarintHash64=y.prototype.td,t.debug=Ie,t.Map=N,t.Message=F,t.BinaryReader=v,t.BinaryWriter=y,t.ExtensionFieldInfo=yt,t.ExtensionFieldBinaryInfo=It,t.exportSymbol=E,t.inherits=A,t.object={extend:$},t.typeOf=M})(j);var Ur;(t=>{var e,n,i,s,l;(A=>{A[A.UNDEFINED_BRAND=0]="UNDEFINED_BRAND",A[A.rabbitloader=1]="rabbitloader",A[A.dofollow=2]="dofollow",A[A.prefetch=3]="prefetch"})(t.Brand||(t.Brand={})),(A=>{A[A.AUDIENCE_UNDEFINED=0]="AUDIENCE_UNDEFINED",A[A.AUDIENCE_RL_WP_PLUGIN=1]="AUDIENCE_RL_WP_PLUGIN",A[A.AUDIENCE_RL_DASHBOARD=2]="AUDIENCE_RL_DASHBOARD",A[A.AUDIENCE_DF_DASHBOARD=3]="AUDIENCE_DF_DASHBOARD",A[A.AUDIENCE_CF_WORKER=4]="AUDIENCE_CF_WORKER",A[A.AUDIENCE_PREFETCH_DASHBOARD=5]="AUDIENCE_PREFETCH_DASHBOARD"})(t.Audience||(t.Audience={})),(A=>{A[A.CURRENCY_UNDEFINED=0]="CURRENCY_UNDEFINED",A[A.CURRENCY_USD=1]="CURRENCY_USD",A[A.CURRENCY_INR=2]="CURRENCY_INR"})(t.Currency||(t.Currency={})),(A=>{A[A.UNDEFINED_PLATFORM=0]="UNDEFINED_PLATFORM",A[A.wp=1]="wp",A[A.shopify=2]="shopify",A[A.phpsdk=3]="phpsdk",A[A.laravel=4]="laravel"})(t.PlatformID||(t.PlatformID={}));const c=class Go extends j.Message{constructor(h){super(),Xt(this,e,[]),j.Message.initialize(this,Array.isArray(h)?h:[],0,-1,[],Yt(this,e)),!Array.isArray(h)&&typeof h=="object"&&("countryCode"in h&&h.countryCode!=null&&(this.countryCode=h.countryCode),"region"in h&&h.region!=null&&(this.region=h.region),"city"in h&&h.city!=null&&(this.city=h.city),"ipAddress"in h&&h.ipAddress!=null&&(this.ipAddress=h.ipAddress),"userAgent"in h&&h.userAgent!=null&&(this.userAgent=h.userAgent),"zip"in h&&h.zip!=null&&(this.zip=h.zip))}get countryCode(){return j.Message.getFieldWithDefault(this,1,"")}set countryCode(h){j.Message.setField(this,1,h)}get region(){return j.Message.getFieldWithDefault(this,2,"")}set region(h){j.Message.setField(this,2,h)}get city(){return j.Message.getFieldWithDefault(this,3,"")}set city(h){j.Message.setField(this,3,h)}get ipAddress(){return j.Message.getFieldWithDefault(this,4,"")}set ipAddress(h){j.Message.setField(this,4,h)}get userAgent(){return j.Message.getFieldWithDefault(this,5,"")}set userAgent(h){j.Message.setField(this,5,h)}get zip(){return j.Message.getFieldWithDefault(this,6,"")}set zip(h){j.Message.setField(this,6,h)}static fromObject(h){const $=new Go({});return h.countryCode!=null&&($.countryCode=h.countryCode),h.region!=null&&($.region=h.region),h.city!=null&&($.city=h.city),h.ipAddress!=null&&($.ipAddress=h.ipAddress),h.userAgent!=null&&($.userAgent=h.userAgent),h.zip!=null&&($.zip=h.zip),$}toObject(){const h={};return this.countryCode!=null&&(h.countryCode=this.countryCode),this.region!=null&&(h.region=this.region),this.city!=null&&(h.city=this.city),this.ipAddress!=null&&(h.ipAddress=this.ipAddress),this.userAgent!=null&&(h.userAgent=this.userAgent),this.zip!=null&&(h.zip=this.zip),h}serialize(h){const $=h||new j.BinaryWriter;if(this.countryCode.length&&$.writeString(1,this.countryCode),this.region.length&&$.writeString(2,this.region),this.city.length&&$.writeString(3,this.city),this.ipAddress.length&&$.writeString(4,this.ipAddress),this.userAgent.length&&$.writeString(5,this.userAgent),this.zip.length&&$.writeString(6,this.zip),!h)return $.getResultBuffer()}static deserialize(h){const $=h instanceof j.BinaryReader?h:new j.BinaryReader(h),z=new Go;for(;$.nextField()&&!$.isEndGroup();)switch($.getFieldNumber()){case 1:z.countryCode=$.readString();break;case 2:z.region=$.readString();break;case 3:z.city=$.readString();break;case 4:z.ipAddress=$.readString();break;case 5:z.userAgent=$.readString();break;case 6:z.zip=$.readString();break;default:$.skipField()}return z}serializeBinary(){return this.serialize()}static deserializeBinary(h){return Go.deserialize(h)}};e=new WeakMap;let d=c;t.DeviceLocation=d;const f=class Ko extends j.Message{constructor(h){super(),Xt(this,n,[]),j.Message.initialize(this,Array.isArray(h)?h:[],0,-1,[],Yt(this,n)),!Array.isArray(h)&&typeof h=="object"&&("code"in h&&h.code!=null&&(this.code=h.code),"message"in h&&h.message!=null&&(this.message=h.message))}get code(){return j.Message.getFieldWithDefault(this,1,"")}set code(h){j.Message.setField(this,1,h)}get message(){return j.Message.getFieldWithDefault(this,2,"")}set message(h){j.Message.setField(this,2,h)}static fromObject(h){const $=new Ko({});return h.code!=null&&($.code=h.code),h.message!=null&&($.message=h.message),$}toObject(){const h={};return this.code!=null&&(h.code=this.code),this.message!=null&&(h.message=this.message),h}serialize(h){const $=h||new j.BinaryWriter;if(this.code.length&&$.writeString(1,this.code),this.message.length&&$.writeString(2,this.message),!h)return $.getResultBuffer()}static deserialize(h){const $=h instanceof j.BinaryReader?h:new j.BinaryReader(h),z=new Ko;for(;$.nextField()&&!$.isEndGroup();)switch($.getFieldNumber()){case 1:z.code=$.readString();break;case 2:z.message=$.readString();break;default:$.skipField()}return z}serializeBinary(){return this.serialize()}static deserializeBinary(h){return Ko.deserialize(h)}};n=new WeakMap;let g=f;t.Error=g;const x=class qo extends j.Message{constructor(h){super(),Xt(this,i,[]),j.Message.initialize(this,Array.isArray(h)?h:[],0,-1,[],Yt(this,i)),!Array.isArray(h)&&typeof h=="object"&&("cents"in h&&h.cents!=null&&(this.cents=h.cents),"currency"in h&&h.currency!=null&&(this.currency=h.currency))}get cents(){return j.Message.getFieldWithDefault(this,1,0)}set cents(h){j.Message.setField(this,1,h)}get currency(){return j.Message.getFieldWithDefault(this,2,0)}set currency(h){j.Message.setField(this,2,h)}static fromObject(h){const $=new qo({});return h.cents!=null&&($.cents=h.cents),h.currency!=null&&($.currency=h.currency),$}toObject(){const h={};return this.cents!=null&&(h.cents=this.cents),this.currency!=null&&(h.currency=this.currency),h}serialize(h){const $=h||new j.BinaryWriter;if(this.cents!=0&&$.writeInt64(1,this.cents),this.currency!=0&&$.writeEnum(2,this.currency),!h)return $.getResultBuffer()}static deserialize(h){const $=h instanceof j.BinaryReader?h:new j.BinaryReader(h),z=new qo;for(;$.nextField()&&!$.isEndGroup();)switch($.getFieldNumber()){case 1:z.cents=$.readInt64();break;case 2:z.currency=$.readEnum();break;default:$.skipField()}return z}serializeBinary(){return this.serialize()}static deserializeBinary(h){return qo.deserialize(h)}};i=new WeakMap;let T=x;t.Money=T;const m=class Yo extends j.Message{constructor(h){super(),Xt(this,s,[]),j.Message.initialize(this,Array.isArray(h)?h:[],0,-1,[],Yt(this,s)),!Array.isArray(h)&&typeof h=="object"&&("source"in h&&h.source!=null&&(this.source=h.source),"target"in h&&h.target!=null&&(this.target=h.target),"medium"in h&&h.medium!=null&&(this.medium=h.medium),"campaign"in h&&h.campaign!=null&&(this.campaign=h.campaign),"term"in h&&h.term!=null&&(this.term=h.term),"content"in h&&h.content!=null&&(this.content=h.content))}get source(){return j.Message.getFieldWithDefault(this,1,"")}set source(h){j.Message.setField(this,1,h)}get target(){return j.Message.getFieldWithDefault(this,2,"")}set target(h){j.Message.setField(this,2,h)}get medium(){return j.Message.getFieldWithDefault(this,3,"")}set medium(h){j.Message.setField(this,3,h)}get campaign(){return j.Message.getFieldWithDefault(this,4,"")}set campaign(h){j.Message.setField(this,4,h)}get term(){return j.Message.getFieldWithDefault(this,5,"")}set term(h){j.Message.setField(this,5,h)}get content(){return j.Message.getFieldWithDefault(this,6,"")}set content(h){j.Message.setField(this,6,h)}static fromObject(h){const $=new Yo({});return h.source!=null&&($.source=h.source),h.target!=null&&($.target=h.target),h.medium!=null&&($.medium=h.medium),h.campaign!=null&&($.campaign=h.campaign),h.term!=null&&($.term=h.term),h.content!=null&&($.content=h.content),$}toObject(){const h={};return this.source!=null&&(h.source=this.source),this.target!=null&&(h.target=this.target),this.medium!=null&&(h.medium=this.medium),this.campaign!=null&&(h.campaign=this.campaign),this.term!=null&&(h.term=this.term),this.content!=null&&(h.content=this.content),h}serialize(h){const $=h||new j.BinaryWriter;if(this.source.length&&$.writeString(1,this.source),this.target.length&&$.writeString(2,this.target),this.medium.length&&$.writeString(3,this.medium),this.campaign.length&&$.writeString(4,this.campaign),this.term.length&&$.writeString(5,this.term),this.content.length&&$.writeString(6,this.content),!h)return $.getResultBuffer()}static deserialize(h){const $=h instanceof j.BinaryReader?h:new j.BinaryReader(h),z=new Yo;for(;$.nextField()&&!$.isEndGroup();)switch($.getFieldNumber()){case 1:z.source=$.readString();break;case 2:z.target=$.readString();break;case 3:z.medium=$.readString();break;case 4:z.campaign=$.readString();break;case 5:z.term=$.readString();break;case 6:z.content=$.readString();break;default:$.skipField()}return z}serializeBinary(){return this.serialize()}static deserializeBinary(h){return Yo.deserialize(h)}};s=new WeakMap;let M=m;t.UrchinTracking=M;const R=class Xo extends j.Message{constructor(h){super(),Xt(this,l,[]),j.Message.initialize(this,Array.isArray(h)?h:[],0,-1,[1],Yt(this,l)),!Array.isArray(h)&&typeof h=="object"&&"values"in h&&h.values!=null&&(this.values=h.values)}get values(){return j.Message.getFieldWithDefault(this,1,[])}set values(h){j.Message.setField(this,1,h)}static fromObject(h){const $=new Xo({});return h.values!=null&&($.values=h.values),$}toObject(){const h={};return this.values!=null&&(h.values=this.values),h}serialize(h){const $=h||new j.BinaryWriter;if(this.values.length&&$.writeRepeatedString(1,this.values),!h)return $.getResultBuffer()}static deserialize(h){const $=h instanceof j.BinaryReader?h:new j.BinaryReader(h),z=new Xo;for(;$.nextField()&&!$.isEndGroup();)switch($.getFieldNumber()){case 1:j.Message.addToRepeatedField(z,1,$.readString());break;default:$.skipField()}return z}serializeBinary(){return this.serialize()}static deserializeBinary(h){return Xo.deserialize(h)}};l=new WeakMap;let E=R;t.Strings=E})(Ur||(Ur={}));var qt;(t=>{var e,n,i,s,l,c,d,f,g,x,T,m,M,R;(G=>{G[G.ERROR_CODE_UNDEFINED=0]="ERROR_CODE_UNDEFINED",G[G.ERROR_CODE_UNKNOWN=1]="ERROR_CODE_UNKNOWN",G[G.ERROR_CODE_ADD_DOMAIN_ANOTHER_USER=2]="ERROR_CODE_ADD_DOMAIN_ANOTHER_USER",G[G.ERROR_CODE_ADD_DOMAIN_FREE_COUNT_LIMIT=3]="ERROR_CODE_ADD_DOMAIN_FREE_COUNT_LIMIT"})(t.ErrorCode||(t.ErrorCode={})),(G=>{G[G.NET_UNDEFINED=0]="NET_UNDEFINED",G[G.NET_2G=1]="NET_2G",G[G.NET_3G=2]="NET_3G",G[G.NET_4G=3]="NET_4G"})(t.NetworkEffectiveType||(t.NetworkEffectiveType={})),(G=>{G[G.DRT_UNDEFINED=0]="DRT_UNDEFINED",G[G.DRT_MOBILE=1]="DRT_MOBILE",G[G.DRT_TABLET=2]="DRT_TABLET",G[G.DRT_DESKTOP=3]="DRT_DESKTOP"})(t.DeviceResolutionType||(t.DeviceResolutionType={}));const E=class Zo extends j.Message{constructor(u){super(),Xt(this,e,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],Yt(this,e)),!Array.isArray(u)&&typeof u=="object"&&("deviceResolutionType"in u&&u.deviceResolutionType!=null&&(this.deviceResolutionType=u.deviceResolutionType),"networkEffectiveType"in u&&u.networkEffectiveType!=null&&(this.networkEffectiveType=u.networkEffectiveType))}get deviceResolutionType(){return j.Message.getFieldWithDefault(this,1,0)}set deviceResolutionType(u){j.Message.setField(this,1,u)}get networkEffectiveType(){return j.Message.getFieldWithDefault(this,2,0)}set networkEffectiveType(u){j.Message.setField(this,2,u)}static fromObject(u){const w=new Zo({});return u.deviceResolutionType!=null&&(w.deviceResolutionType=u.deviceResolutionType),u.networkEffectiveType!=null&&(w.networkEffectiveType=u.networkEffectiveType),w}toObject(){const u={};return this.deviceResolutionType!=null&&(u.deviceResolutionType=this.deviceResolutionType),this.networkEffectiveType!=null&&(u.networkEffectiveType=this.networkEffectiveType),u}serialize(u){const w=u||new j.BinaryWriter;if(this.deviceResolutionType!=0&&w.writeEnum(1,this.deviceResolutionType),this.networkEffectiveType!=0&&w.writeEnum(2,this.networkEffectiveType),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new Zo;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:V.deviceResolutionType=w.readEnum();break;case 2:V.networkEffectiveType=w.readEnum();break;default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return Zo.deserialize(u)}};e=new WeakMap;let A=E;t.ClusterAttrs=A;const h=class Jo extends j.Message{constructor(u){super(),Xt(this,n,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],Yt(this,n)),!Array.isArray(u)&&typeof u=="object"&&("referrer"in u&&u.referrer!=null&&(this.referrer=u.referrer),"page"in u&&u.page!=null&&(this.page=u.page),"deviceResolutionType"in u&&u.deviceResolutionType!=null&&(this.deviceResolutionType=u.deviceResolutionType),"networkEffectiveType"in u&&u.networkEffectiveType!=null&&(this.networkEffectiveType=u.networkEffectiveType))}get referrer(){return j.Message.getFieldWithDefault(this,1,"")}set referrer(u){j.Message.setField(this,1,u)}get page(){return j.Message.getFieldWithDefault(this,2,"")}set page(u){j.Message.setField(this,2,u)}get deviceResolutionType(){return j.Message.getFieldWithDefault(this,3,0)}set deviceResolutionType(u){j.Message.setField(this,3,u)}get networkEffectiveType(){return j.Message.getFieldWithDefault(this,4,0)}set networkEffectiveType(u){j.Message.setField(this,4,u)}static fromObject(u){const w=new Jo({});return u.referrer!=null&&(w.referrer=u.referrer),u.page!=null&&(w.page=u.page),u.deviceResolutionType!=null&&(w.deviceResolutionType=u.deviceResolutionType),u.networkEffectiveType!=null&&(w.networkEffectiveType=u.networkEffectiveType),w}toObject(){const u={};return this.referrer!=null&&(u.referrer=this.referrer),this.page!=null&&(u.page=this.page),this.deviceResolutionType!=null&&(u.deviceResolutionType=this.deviceResolutionType),this.networkEffectiveType!=null&&(u.networkEffectiveType=this.networkEffectiveType),u}serialize(u){const w=u||new j.BinaryWriter;if(this.referrer.length&&w.writeString(1,this.referrer),this.page.length&&w.writeString(2,this.page),this.deviceResolutionType!=0&&w.writeEnum(3,this.deviceResolutionType),this.networkEffectiveType!=0&&w.writeEnum(4,this.networkEffectiveType),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new Jo;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:V.referrer=w.readString();break;case 2:V.page=w.readString();break;case 3:V.deviceResolutionType=w.readEnum();break;case 4:V.networkEffectiveType=w.readEnum();break;default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return Jo.deserialize(u)}};n=new WeakMap;let $=h;t.GetPrefetchReq=$;const z=class Qo extends j.Message{constructor(u){super(),Xt(this,i,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[1,2],Yt(this,i)),!Array.isArray(u)&&typeof u=="object"&&("prerender"in u&&u.prerender!=null&&(this.prerender=u.prerender),"prefetch"in u&&u.prefetch!=null&&(this.prefetch=u.prefetch))}get prerender(){return j.Message.getFieldWithDefault(this,1,[])}set prerender(u){j.Message.setField(this,1,u)}get prefetch(){return j.Message.getFieldWithDefault(this,2,[])}set prefetch(u){j.Message.setField(this,2,u)}static fromObject(u){const w=new Qo({});return u.prerender!=null&&(w.prerender=u.prerender),u.prefetch!=null&&(w.prefetch=u.prefetch),w}toObject(){const u={};return this.prerender!=null&&(u.prerender=this.prerender),this.prefetch!=null&&(u.prefetch=this.prefetch),u}serialize(u){const w=u||new j.BinaryWriter;if(this.prerender.length&&w.writeRepeatedString(1,this.prerender),this.prefetch.length&&w.writeRepeatedString(2,this.prefetch),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new Qo;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:j.Message.addToRepeatedField(V,1,w.readString());break;case 2:j.Message.addToRepeatedField(V,2,w.readString());break;default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return Qo.deserialize(u)}};i=new WeakMap;let D=z;t.GetPrefetchRes=D;const L=class ti extends j.Message{constructor(u){super(),Xt(this,s,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],Yt(this,s)),!Array.isArray(u)&&typeof u=="object"&&("host"in u&&u.host!=null&&(this.host=u.host),"platform"in u&&u.platform!=null&&(this.platform=u.platform))}get host(){return j.Message.getFieldWithDefault(this,1,"")}set host(u){j.Message.setField(this,1,u)}get platform(){return j.Message.getFieldWithDefault(this,2,Ur.PlatformID.UNDEFINED_PLATFORM)}set platform(u){j.Message.setField(this,2,u)}static fromObject(u){const w=new ti({});return u.host!=null&&(w.host=u.host),u.platform!=null&&(w.platform=u.platform),w}toObject(){const u={};return this.host!=null&&(u.host=this.host),this.platform!=null&&(u.platform=this.platform),u}serialize(u){const w=u||new j.BinaryWriter;if(this.host.length&&w.writeString(1,this.host),this.platform!=Ur.PlatformID.UNDEFINED_PLATFORM&&w.writeEnum(2,this.platform),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new ti;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:V.host=w.readString();break;case 2:V.platform=w.readEnum();break;default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return ti.deserialize(u)}};s=new WeakMap;let U=L;t.AddDomainReq=U;const C=class ei extends j.Message{constructor(u){super(),Xt(this,l,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],Yt(this,l)),!Array.isArray(u)&&typeof u=="object"&&"domain"in u&&u.domain!=null&&(this.domain=u.domain)}get domain(){return j.Message.getWrapperField(this,Z,1)}set domain(u){j.Message.setWrapperField(this,1,u)}get has_domain(){return j.Message.getField(this,1)!=null}static fromObject(u){const w=new ei({});return u.domain!=null&&(w.domain=Z.fromObject(u.domain)),w}toObject(){const u={};return this.domain!=null&&(u.domain=this.domain.toObject()),u}serialize(u){const w=u||new j.BinaryWriter;if(this.has_domain&&w.writeMessage(1,this.domain,()=>this.domain.serialize(w)),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new ei;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:w.readMessage(V.domain,()=>V.domain=Z.deserialize(w));break;default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return ei.deserialize(u)}};l=new WeakMap;let at=C;t.AddDomainRes=at;const pt=class ri extends j.Message{constructor(u){super(),Xt(this,c,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],Yt(this,c))}static fromObject(u){return new ri({})}toObject(){return{}}serialize(u){const w=u||new j.BinaryWriter;if(!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new ri;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return ri.deserialize(u)}};c=new WeakMap;let K=pt;t.GetDomainsReq=K;const Y=class ni extends j.Message{constructor(u){super(),Xt(this,d,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],Yt(this,d)),!Array.isArray(u)&&typeof u=="object"&&("id"in u&&u.id!=null&&(this.id=u.id),"host"in u&&u.host!=null&&(this.host=u.host),"platform"in u&&u.platform!=null&&(this.platform=u.platform))}get id(){return j.Message.getFieldWithDefault(this,1,"")}set id(u){j.Message.setField(this,1,u)}get host(){return j.Message.getFieldWithDefault(this,2,"")}set host(u){j.Message.setField(this,2,u)}get platform(){return j.Message.getFieldWithDefault(this,3,Ur.PlatformID.UNDEFINED_PLATFORM)}set platform(u){j.Message.setField(this,3,u)}static fromObject(u){const w=new ni({});return u.id!=null&&(w.id=u.id),u.host!=null&&(w.host=u.host),u.platform!=null&&(w.platform=u.platform),w}toObject(){const u={};return this.id!=null&&(u.id=this.id),this.host!=null&&(u.host=this.host),this.platform!=null&&(u.platform=this.platform),u}serialize(u){const w=u||new j.BinaryWriter;if(this.id.length&&w.writeString(1,this.id),this.host.length&&w.writeString(2,this.host),this.platform!=Ur.PlatformID.UNDEFINED_PLATFORM&&w.writeEnum(3,this.platform),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new ni;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:V.id=w.readString();break;case 2:V.host=w.readString();break;case 3:V.platform=w.readEnum();break;default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return ni.deserialize(u)}};d=new WeakMap;let Z=Y;t.Domain=Z;const N=class oi extends j.Message{constructor(u){super(),Xt(this,f,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[1],Yt(this,f)),!Array.isArray(u)&&typeof u=="object"&&"domains"in u&&u.domains!=null&&(this.domains=u.domains)}get domains(){return j.Message.getRepeatedWrapperField(this,Z,1)}set domains(u){j.Message.setRepeatedWrapperField(this,1,u)}static fromObject(u){const w=new oi({});return u.domains!=null&&(w.domains=u.domains.map(V=>Z.fromObject(V))),w}toObject(){const u={};return this.domains!=null&&(u.domains=this.domains.map(w=>w.toObject())),u}serialize(u){const w=u||new j.BinaryWriter;if(this.domains.length&&w.writeRepeatedMessage(1,this.domains,V=>V.serialize(w)),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new oi;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:w.readMessage(V.domains,()=>j.Message.addToRepeatedWrapperField(V,1,Z.deserialize(w),Z));break;default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return oi.deserialize(u)}};f=new WeakMap;let Q=N;t.GetDomainsRes=Q;const dt=class ii extends j.Message{constructor(u){super(),Xt(this,g,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],Yt(this,g)),!Array.isArray(u)&&typeof u=="object"&&"host"in u&&u.host!=null&&(this.host=u.host)}get host(){return j.Message.getFieldWithDefault(this,1,"")}set host(u){j.Message.setField(this,1,u)}static fromObject(u){const w=new ii({});return u.host!=null&&(w.host=u.host),w}toObject(){const u={};return this.host!=null&&(u.host=this.host),u}serialize(u){const w=u||new j.BinaryWriter;if(this.host.length&&w.writeString(1,this.host),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new ii;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:V.host=w.readString();break;default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return ii.deserialize(u)}};g=new WeakMap;let ft=dt;t.GetReportReq=ft;const Et=class si extends j.Message{constructor(u){super(),Xt(this,x,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],Yt(this,x)),!Array.isArray(u)&&typeof u=="object"&&("fromPath"in u&&u.fromPath!=null&&(this.fromPath=u.fromPath),"toPath"in u&&u.toPath!=null&&(this.toPath=u.toPath),"probability"in u&&u.probability!=null&&(this.probability=u.probability))}get fromPath(){return j.Message.getFieldWithDefault(this,1,"")}set fromPath(u){j.Message.setField(this,1,u)}get toPath(){return j.Message.getFieldWithDefault(this,2,"")}set toPath(u){j.Message.setField(this,2,u)}get probability(){return j.Message.getFieldWithDefault(this,3,0)}set probability(u){j.Message.setField(this,3,u)}static fromObject(u){const w=new si({});return u.fromPath!=null&&(w.fromPath=u.fromPath),u.toPath!=null&&(w.toPath=u.toPath),u.probability!=null&&(w.probability=u.probability),w}toObject(){const u={};return this.fromPath!=null&&(u.fromPath=this.fromPath),this.toPath!=null&&(u.toPath=this.toPath),this.probability!=null&&(u.probability=this.probability),u}serialize(u){const w=u||new j.BinaryWriter;if(this.fromPath.length&&w.writeString(1,this.fromPath),this.toPath.length&&w.writeString(2,this.toPath),this.probability!=0&&w.writeUint32(3,this.probability),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new si;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:V.fromPath=w.readString();break;case 2:V.toPath=w.readString();break;case 3:V.probability=w.readUint32();break;default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return si.deserialize(u)}};x=new WeakMap;let gt=Et;t.GetReportItem=gt;const ht=class ai extends j.Message{constructor(u){super(),Xt(this,T,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[1],Yt(this,T)),!Array.isArray(u)&&typeof u=="object"&&"items"in u&&u.items!=null&&(this.items=u.items)}get items(){return j.Message.getRepeatedWrapperField(this,gt,1)}set items(u){j.Message.setRepeatedWrapperField(this,1,u)}static fromObject(u){const w=new ai({});return u.items!=null&&(w.items=u.items.map(V=>gt.fromObject(V))),w}toObject(){const u={};return this.items!=null&&(u.items=this.items.map(w=>w.toObject())),u}serialize(u){const w=u||new j.BinaryWriter;if(this.items.length&&w.writeRepeatedMessage(1,this.items,V=>V.serialize(w)),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new ai;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:w.readMessage(V.items,()=>j.Message.addToRepeatedWrapperField(V,1,gt.deserialize(w),gt));break;default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return ai.deserialize(u)}};T=new WeakMap;let $t=ht;t.GetReportRes=$t;const At=class li extends j.Message{constructor(u){super(),Xt(this,m,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],Yt(this,m)),!Array.isArray(u)&&typeof u=="object"&&"host"in u&&u.host!=null&&(this.host=u.host)}get host(){return j.Message.getFieldWithDefault(this,1,"")}set host(u){j.Message.setField(this,1,u)}static fromObject(u){const w=new li({});return u.host!=null&&(w.host=u.host),w}toObject(){const u={};return this.host!=null&&(u.host=this.host),u}serialize(u){const w=u||new j.BinaryWriter;if(this.host.length&&w.writeString(1,this.host),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new li;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:V.host=w.readString();break;default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return li.deserialize(u)}};m=new WeakMap;let pe=At;t.GetReportV2Req=pe;const _e=class ci extends j.Message{constructor(u){super(),Xt(this,M,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],Yt(this,M)),!Array.isArray(u)&&typeof u=="object"&&("fromPath"in u&&u.fromPath!=null&&(this.fromPath=u.fromPath),"toPath"in u&&u.toPath!=null&&(this.toPath=u.toPath),"impressions"in u&&u.impressions!=null&&(this.impressions=u.impressions),"clusterAttrs"in u&&u.clusterAttrs!=null&&(this.clusterAttrs=u.clusterAttrs))}get fromPath(){return j.Message.getFieldWithDefault(this,1,"")}set fromPath(u){j.Message.setField(this,1,u)}get toPath(){return j.Message.getFieldWithDefault(this,2,"")}set toPath(u){j.Message.setField(this,2,u)}get impressions(){return j.Message.getFieldWithDefault(this,3,0)}set impressions(u){j.Message.setField(this,3,u)}get clusterAttrs(){return j.Message.getWrapperField(this,A,4)}set clusterAttrs(u){j.Message.setWrapperField(this,4,u)}get has_clusterAttrs(){return j.Message.getField(this,4)!=null}static fromObject(u){const w=new ci({});return u.fromPath!=null&&(w.fromPath=u.fromPath),u.toPath!=null&&(w.toPath=u.toPath),u.impressions!=null&&(w.impressions=u.impressions),u.clusterAttrs!=null&&(w.clusterAttrs=A.fromObject(u.clusterAttrs)),w}toObject(){const u={};return this.fromPath!=null&&(u.fromPath=this.fromPath),this.toPath!=null&&(u.toPath=this.toPath),this.impressions!=null&&(u.impressions=this.impressions),this.clusterAttrs!=null&&(u.clusterAttrs=this.clusterAttrs.toObject()),u}serialize(u){const w=u||new j.BinaryWriter;if(this.fromPath.length&&w.writeString(1,this.fromPath),this.toPath.length&&w.writeString(2,this.toPath),this.impressions!=0&&w.writeUint64(3,this.impressions),this.has_clusterAttrs&&w.writeMessage(4,this.clusterAttrs,()=>this.clusterAttrs.serialize(w)),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new ci;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:V.fromPath=w.readString();break;case 2:V.toPath=w.readString();break;case 3:V.impressions=w.readUint64();break;case 4:w.readMessage(V.clusterAttrs,()=>V.clusterAttrs=A.deserialize(w));break;default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return ci.deserialize(u)}};M=new WeakMap;let Ht=_e;t.GetReportV2Item=Ht;const je=class ui extends j.Message{constructor(u){super(),Xt(this,R,[]),j.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[1],Yt(this,R)),!Array.isArray(u)&&typeof u=="object"&&"items"in u&&u.items!=null&&(this.items=u.items)}get items(){return j.Message.getRepeatedWrapperField(this,Ht,1)}set items(u){j.Message.setRepeatedWrapperField(this,1,u)}static fromObject(u){const w=new ui({});return u.items!=null&&(w.items=u.items.map(V=>Ht.fromObject(V))),w}toObject(){const u={};return this.items!=null&&(u.items=this.items.map(w=>w.toObject())),u}serialize(u){const w=u||new j.BinaryWriter;if(this.items.length&&w.writeRepeatedMessage(1,this.items,V=>V.serialize(w)),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof j.BinaryReader?u:new j.BinaryReader(u),V=new ui;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:w.readMessage(V.items,()=>j.Message.addToRepeatedWrapperField(V,1,Ht.deserialize(w),Ht));break;default:w.skipField()}return V}serializeBinary(){return this.serialize()}static deserializeBinary(u){return ui.deserialize(u)}};R=new WeakMap;let lt=je;t.GetReportV2Res=lt})(qt||(qt={}));const vm=t=>{switch(t){case qt.DeviceResolutionType.DRT_MOBILE:return"Mobile";case qt.DeviceResolutionType.DRT_TABLET:return"Tablet";case qt.DeviceResolutionType.DRT_DESKTOP:return"Desktop";default:return"Unknown"}},xm=t=>{switch(t){case qt.NetworkEffectiveType.NET_2G:return"2G";case qt.NetworkEffectiveType.NET_3G:return"3G";case qt.NetworkEffectiveType.NET_4G:return"4G";default:return"Unknown"}},Sm=(t,e)=>{const n=[];return t!==void 0&&t!==qt.DeviceResolutionType.DRT_UNDEFINED&&n.push(vm(t)),e!==void 0&&e!==qt.NetworkEffectiveType.NET_UNDEFINED&&n.push(xm(e)),n.join(" + ")||"Uncategorized"},wm=({details:t,totalImpressions:e})=>S.jsxs(ut,{sx:{p:2,bgcolor:"grey.50"},children:[S.jsx(X,{variant:"subtitle2",gutterBottom:!0,children:"Navigation Details"}),S.jsxs(Wl,{size:"small",children:[S.jsx(Gl,{children:S.jsxs(Tn,{children:[S.jsx(ne,{children:S.jsx(X,{variant:"caption",fontWeight:"bold",children:"Winning Attribute"})}),S.jsx(ne,{children:S.jsx(X,{variant:"caption",fontWeight:"bold",children:"Destination"})}),S.jsx(ne,{align:"right",children:S.jsx(X,{variant:"caption",fontWeight:"bold",children:"Confidence"})})]})}),S.jsx(Vl,{children:t.map((n,i)=>{const s=(n.impressions/e*100).toFixed(1);return S.jsxs(Tn,{children:[S.jsx(ne,{children:S.jsx(X,{variant:"body2",children:Sm(n.clusterAttrs.deviceResolutionType,n.clusterAttrs.networkEffectiveType)})}),S.jsx(ne,{children:S.jsx(X,{variant:"body2",component:"code",sx:{bgcolor:"grey.200",px:1,py:.5,borderRadius:.5,fontFamily:"monospace"},children:n.toPath})}),S.jsx(ne,{align:"right",children:S.jsx(Pe,{label:`${s}%`,size:"small",variant:"outlined",color:parseFloat(s)>50?"success":parseFloat(s)>25?"warning":"error"})})]},i)})})]})]}),Cm=({item:t})=>{const[e,n]=mt.useState(!1);return S.jsxs(S.Fragment,{children:[S.jsxs(Tn,{hover:!0,children:[S.jsx(ne,{children:S.jsx(vl,{size:"small",onClick:()=>n(!e),sx:{mr:1},children:e?S.jsx(um,{}):S.jsx(pm,{})})}),S.jsx(ne,{children:S.jsx(X,{variant:"body2",component:"code",sx:{bgcolor:"grey.100",px:1,py:.5,borderRadius:.5,fontFamily:"monospace"},children:t.fromPath})}),S.jsx(ne,{align:"center",children:S.jsx(X,{variant:"body2",fontWeight:"medium",children:t.totalImpressions.toLocaleString()})}),S.jsx(ne,{align:"center",children:S.jsx(X,{variant:"body2",fontWeight:"medium",children:t.possibleNavigations})})]}),S.jsx(Tn,{children:S.jsx(ne,{style:{paddingBottom:0,paddingTop:0},colSpan:4,children:S.jsx(Ah,{in:e,timeout:"auto",unmountOnExit:!0,children:S.jsx(wm,{details:t.details,totalImpressions:t.totalImpressions})})})})]})},km=({items:t,loading:e=!1,error:n=null,onNavigateToSettings:i,showDashboardLink:s=!1})=>e?S.jsxs(ut,{sx:{p:3},children:[S.jsx(Eg,{}),S.jsx(X,{variant:"body2",color:"text.secondary",sx:{mt:2},children:"Loading report data..."})]}):n?S.jsxs(ut,{sx:{p:3,textAlign:"center"},children:[S.jsx(X,{variant:"body1",color:"error",sx:{mb:2},children:n}),S.jsx(X,{variant:"body2",color:"text.secondary",children:"Please check your internet connection and try again."})]}):t.length===0?S.jsxs(ut,{sx:{p:3,textAlign:"center"},children:[S.jsx(Ql,{sx:{fontSize:48,color:"text.disabled",mb:2}}),S.jsx(X,{variant:"body1",color:"text.secondary",sx:{mb:2},children:"No prefetch data available yet."}),S.jsxs(Tl,{spacing:1,alignItems:"center",children:[S.jsx(X,{variant:"body2",color:"text.secondary",children:"New websites may take a few minutes to generate reports based on visitor traffic."}),S.jsx(X,{variant:"body2",color:"text.secondary",children:"Please ensure the Smart Prefetch plugin is properly integrated."}),i&&S.jsx(ut,{sx:{mt:2},children:S.jsxs(zl,{component:"button",variant:"body2",onClick:i,sx:{display:"inline-flex",alignItems:"center",gap:.5,textDecoration:"none","&:hover":{textDecoration:"underline"}},children:[S.jsx(ec,{fontSize:"small"}),"Check integration settings"]})})]})]}):S.jsxs(S.Fragment,{children:[S.jsxs(ut,{children:[S.jsx(X,{variant:"body2",color:"text.secondary",sx:{mb:3},children:"Analysis of user navigation patterns and prefetch predictions for your website."}),S.jsx(j0,{component:$o,elevation:1,children:S.jsxs(Wl,{children:[S.jsx(Gl,{children:S.jsxs(Tn,{children:[S.jsx(ne,{width:"50px"}),S.jsx(ne,{children:S.jsx(X,{variant:"subtitle2",fontWeight:"bold",children:"Page"})}),S.jsx(ne,{align:"center",children:S.jsx(X,{variant:"subtitle2",fontWeight:"bold",children:"Samples Collected"})}),S.jsx(ne,{align:"center",children:S.jsx(X,{variant:"subtitle2",fontWeight:"bold",children:"Possible Navigation"})})]})}),S.jsx(Vl,{children:t.map((l,c)=>S.jsx(Cm,{item:l},c))})]})}),S.jsxs(X,{variant:"caption",color:"text.secondary",sx:{mt:2,display:"block"},children:["Showing ",t.length," page",t.length!==1?"s":""," with prefetch data"]})]}),s&&S.jsx(ut,{sx:{mt:2,textAlign:"center"},children:S.jsxs(zl,{href:"https://dash.smartprefetch.link/",target:"_blank",rel:"noopener noreferrer",variant:"body2",sx:{display:"inline-flex",alignItems:"center",gap:.5,textDecoration:"none","&:hover":{textDecoration:"underline"}},children:[S.jsx(Ql,{fontSize:"small"}),"Visit Smart Prefetch Dashboard for Advanced Analytics"]})})]}),Rm=5*60*1e3,Tm=3,Em=[500,502,503],jm=!1;class $m extends Error{constructor(e){super(e),this.name="MissingPathVarError"}}const Mm=new $m("path variable is missing");function Am(t,e){let n=!1,i=t;for(const[s,l]of Object.entries(e))i=i.replace(s,l);return n=i.includes("{"),{newPath:i,missingVar:n}}const Pm=(t,e={},n,i)=>{const{timeout:s=Rm,retryCount:l=Tm,retryableCodes:c=Em,contentTypeJson:d=jm}=e;let{newPath:f,missingVar:g}=Am(i+"/prefetch/v2/report",e.pathVars||{});if(g)return Promise.reject(Mm);const x=t.serializeBinary(),T={method:"GET",headers:new Headers({Authorization:`Bearer ${n}`,"Content-Type":d?"application/json":"application/x-protobuf",Accept:d?"application/json":"application/x-protobuf",...Object.fromEntries(e.headers||new Headers)}),...e.cache?{cache:e.cache}:{}};f=f+"?"+new URLSearchParams({get_params:btoa(String.fromCharCode.apply(null,Array.from(x)))});async function m(M){try{const R=await fetch(f,T);if(!R.ok&&c.includes(R.status)&&M!==0)return m(M-1);if(d)try{return[await R.json(),R.status]}catch(E){return console.log("error in reading response body: ",E),[new qt.GetReportV2Res,R.status]}try{const E=await R.arrayBuffer();if(E.byteLength===0)return[new qt.GetReportV2Res,R.status];const A=new Uint8Array(E);return[qt.GetReportV2Res.deserialize(A),R.status]}catch(E){return console.error("error in reading response body",E),[new qt.GetReportV2Res,R.status]}}catch(R){return console.log("error getting data: ",R),[new qt.GetReportV2Res,0]}}return m(l)},Om=window.location.hostname.includes(".local")||window.location.hostname.includes("localhost"),Im=Om?"https://api.smartprefetch.local":"https://api.smartprefetch.link",Bm=({selectedDomain:t,jwt:e,onAuthenticationFailed:n,onNavigateToSettings:i,showDashboardLink:s=!1})=>{const[l,c]=mt.useState([]),[d,f]=mt.useState(!1),[g,x]=mt.useState(null),T=M=>{const R={};return M.forEach(E=>{const A=E.fromPath,h=E.clusterAttrs;if(E.impressions===0||!h)return;const $=h.deviceResolutionType,z=h.networkEffectiveType;$===qt.DeviceResolutionType.DRT_UNDEFINED&&z===qt.NetworkEffectiveType.NET_UNDEFINED||(R[A]||(R[A]={fromPath:A,totalImpressions:0,possibleNavigations:0,details:[]}),R[A].totalImpressions+=E.impressions,R[A].possibleNavigations+=1,R[A].details.push({toPath:E.toPath,impressions:E.impressions,clusterAttrs:{deviceResolutionType:$!==qt.DeviceResolutionType.DRT_UNDEFINED?$:void 0,networkEffectiveType:z!==qt.NetworkEffectiveType.NET_UNDEFINED?z:void 0}}))}),Object.values(R).forEach(E=>{E.details.sort((A,h)=>h.impressions-A.impressions)}),Object.values(R)},m=async()=>{var M,R,E,A;if(t){f(!0),x(null);try{const h=new qt.GetReportV2Req({host:t.host}),[$]=await Pm(h,{},e,Im),z=T($.items||[]);c(z)}catch(h){if(console.error("Error loading report:",h),(M=h.message)!=null&&M.includes("401")||(R=h.message)!=null&&R.includes("Unauthorized")||(E=h.message)!=null&&E.includes("authentication")||(A=h.message)!=null&&A.includes("token")){x("Your session has expired. Please sign in again to continue. Error RT109."),setTimeout(()=>{n==null||n()},2e3);return}x("Failed to load report data. Please try again."),c([])}finally{f(!1)}}};return mt.useEffect(()=>{m()},[t,e]),S.jsx(km,{items:l,loading:d,error:g,onNavigateToSettings:i,showDashboardLink:s})},zm=({showLogo:t=!0,variant:e="full"})=>{const n=()=>S.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[S.jsx("rect",{width:"64",height:"64",fill:"transparent"}),S.jsx("circle",{cx:"24",cy:"32",r:"20",stroke:"#008080",strokeWidth:"4",fill:"none"}),S.jsx("path",{d:"M24 14 L36 32 L24 51",stroke:"#008080",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),S.jsx("path",{d:"M37 32 L59 32",stroke:"#008080",strokeWidth:"4",strokeLinecap:"round"})]});return S.jsx(ut,{sx:{backgroundColor:"background.paper",borderBottom:"1px solid",borderColor:"divider",py:e==="compact"?1.5:2,px:3},children:S.jsxs(Tl,{direction:"row",alignItems:"center",spacing:2,children:[t&&S.jsx(n,{}),S.jsxs(ut,{children:[S.jsx(X,{variant:e==="compact"?"h6":"h5",component:"h1",sx:{fontWeight:700,background:"linear-gradient(45deg, #008080 30%, #4db6ac 90%)",backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",textFillColor:"transparent",mb:e==="compact"?0:.5},children:"Smart Prefetch"}),e==="full"&&S.jsx(X,{variant:"body2",color:"text.secondary",sx:{fontWeight:500},children:"Intelligent Page-to-Page Navigation Optimization"})]})]})})},Nm=()=>S.jsx(_r,{sx:{mt:3,backgroundColor:"background.paper"},elevation:1,children:S.jsxs(Fr,{sx:{p:3},children:[S.jsxs(ut,{sx:{display:"flex",alignItems:"center",mb:2},children:[S.jsx(cm,{color:"primary",sx:{mr:1}}),S.jsx(X,{variant:"h6",component:"h3",color:"primary.main",children:"Understanding Your Prefetch Report"})]}),S.jsx(X,{variant:"body2",color:"text.secondary",paragraph:!0,children:"This report shows how Smart Prefetch predicts user navigation patterns on your website based on real visitor behavior."}),S.jsxs(ut,{sx:{mb:3},children:[S.jsx(X,{variant:"subtitle2",gutterBottom:!0,sx:{fontWeight:600,color:"text.primary"},children:"Column Explanations:"}),S.jsxs(Po,{dense:!0,sx:{pl:1},children:[S.jsxs(we,{sx:{pl:0,py:.5},children:[S.jsx(Ce,{sx:{minWidth:36},children:S.jsx(ut,{sx:{width:8,height:8,borderRadius:"50%",backgroundColor:"primary.main"}})}),S.jsx(ke,{primary:S.jsxs(ut,{sx:{display:"flex",alignItems:"center",gap:1},children:[S.jsx(Pe,{label:"Page",size:"small",variant:"outlined"}),S.jsx(X,{variant:"body2",children:"- Source page where predictions are made"})]})})]}),S.jsxs(we,{sx:{pl:0,py:.5},children:[S.jsx(Ce,{sx:{minWidth:36},children:S.jsx(ut,{sx:{width:8,height:8,borderRadius:"50%",backgroundColor:"primary.main"}})}),S.jsx(ke,{primary:S.jsxs(ut,{sx:{display:"flex",alignItems:"center",gap:1},children:[S.jsx(Pe,{label:"Samples Collected",size:"small",variant:"outlined"}),S.jsx(X,{variant:"body2",children:"- Number of user interactions analyzed"})]})})]}),S.jsxs(we,{sx:{pl:0,py:.5},children:[S.jsx(Ce,{sx:{minWidth:36},children:S.jsx(ut,{sx:{width:8,height:8,borderRadius:"50%",backgroundColor:"primary.main"}})}),S.jsx(ke,{primary:S.jsxs(ut,{sx:{display:"flex",alignItems:"center",gap:1},children:[S.jsx(Pe,{label:"Possible Navigation",size:"small",variant:"outlined"}),S.jsx(X,{variant:"body2",children:"- Number of different predicted destinations"})]})})]})]})]}),S.jsx(ng,{sx:{my:2}}),S.jsxs(ut,{sx:{mb:3},children:[S.jsx(X,{variant:"subtitle2",gutterBottom:!0,sx:{fontWeight:600,color:"text.primary"},children:"Expandable Details:"}),S.jsxs(Po,{dense:!0,sx:{pl:1},children:[S.jsxs(we,{sx:{pl:0,py:.5},children:[S.jsx(Ce,{sx:{minWidth:36},children:S.jsx(Jl,{color:"primary",fontSize:"small"})}),S.jsx(ke,{primary:S.jsxs(ut,{sx:{display:"flex",alignItems:"center",gap:1},children:[S.jsx(Pe,{label:"Winning Attribute",size:"small",variant:"outlined"}),S.jsx(X,{variant:"body2",children:"- User characteristic that best predicts navigation"})]})})]}),S.jsxs(we,{sx:{pl:0,py:.5},children:[S.jsx(Ce,{sx:{minWidth:36},children:S.jsx(Bo,{color:"primary",fontSize:"small"})}),S.jsx(ke,{primary:S.jsxs(ut,{sx:{display:"flex",alignItems:"center",gap:1},children:[S.jsx(Pe,{label:"Destination",size:"small",variant:"outlined"}),S.jsx(X,{variant:"body2",children:"- Predicted page user will visit next"})]})})]}),S.jsxs(we,{sx:{pl:0,py:.5},children:[S.jsx(Ce,{sx:{minWidth:36},children:S.jsx(is,{color:"primary",fontSize:"small"})}),S.jsx(ke,{primary:S.jsxs(ut,{sx:{display:"flex",alignItems:"center",gap:1},children:[S.jsx(Pe,{label:"Confidence",size:"small",variant:"outlined"}),S.jsx(X,{variant:"body2",children:"- Likelihood of this prediction (higher = better)"})]})})]})]})]}),S.jsxs(ut,{sx:{p:2,backgroundColor:"grey.50",borderRadius:1,display:"flex",alignItems:"center",gap:1},children:[S.jsx(dm,{sx:{color:"text.secondary",fontSize:20}}),S.jsxs(X,{variant:"body2",sx:{color:"text.primary",fontWeight:500},children:[S.jsx("strong",{children:"Tip:"})," Pages with higher confidence scores (70%+) will have more effective prefetching, leading to faster load times and better user experience."]})]})]})}),_m=()=>S.jsx(_r,{elevation:1,sx:{mt:3},children:S.jsxs(Fr,{children:[S.jsxs(ut,{sx:{display:"flex",alignItems:"center",mb:2},children:[S.jsx(is,{sx:{mr:1,color:"primary.main"}}),S.jsx(X,{variant:"h6",component:"h2",color:"primary.main",children:"Performance Benefits"})]}),S.jsx(X,{variant:"body2",color:"text.secondary",sx:{mb:3},children:"Smart Prefetch intelligently predicts and preloads pages to enhance your website's performance and user experience."}),S.jsxs(Po,{dense:!0,children:[S.jsxs(we,{sx:{px:0},children:[S.jsx(Ce,{sx:{minWidth:40},children:S.jsx(Bo,{color:"success"})}),S.jsx(ke,{primary:"Higher Confidence = Better Performance",secondary:"Pages with higher confidence scores are more likely to be prefetched for users matching the winning attributes, significantly reducing load times."})]}),S.jsxs(we,{sx:{px:0},children:[S.jsx(Ce,{sx:{minWidth:40},children:S.jsx(fm,{color:"info"})}),S.jsx(ke,{primary:"Adaptive Learning System",secondary:"The system continuously learns from user behavior patterns to optimize predictions over time, becoming more accurate with increased usage."})]}),S.jsxs(we,{sx:{px:0},children:[S.jsx(Ce,{sx:{minWidth:40},children:S.jsx(gm,{color:"warning"})}),S.jsx(ke,{primary:"Improved Navigation Experience",secondary:"Users experience faster page transitions and smoother navigation, leading to better engagement and reduced bounce rates."})]})]}),S.jsxs(ut,{sx:{mt:2,display:"flex",flexWrap:"wrap",gap:1},children:[S.jsx(Pe,{label:"Faster Load Times",size:"small",color:"success",variant:"outlined"}),S.jsx(Pe,{label:"Better User Experience",size:"small",color:"primary",variant:"outlined"}),S.jsx(Pe,{label:"Machine Learning",size:"small",color:"info",variant:"outlined"})]})]})}),Fm=()=>{const t=[{icon:is,title:"Lightning Fast",description:"Prefetch pages before users click, reducing load times by up to 70%"},{icon:Jl,title:"Smart Analytics",description:"AI-powered predictions based on user behavior patterns"},{icon:ym,title:"Privacy First",description:"No personal data collected, GDPR compliant"},{icon:am,title:"Cloud Powered",description:"Scalable infrastructure that grows with your traffic"},{icon:sm,title:"Auto-Optimization",description:"Continuously learns and improves predictions"},{icon:Bo,title:"Performance Boost",description:"Measurable improvements in user experience metrics"}],e=[{question:"How does Smart Prefetch work?",answer:"Smart Prefetch uses machine learning to analyze user behavior and predict which pages they are likely to visit next. It then prefetches those pages in the background."},{question:"Will it slow down my website?",answer:"No, Smart Prefetch is designed to be lightweight and only prefetches during idle time. It actually makes your website faster by loading pages before users need them."},{question:"Is it compatible with my platform?",answer:"Yes! Smart Prefetch works with WordPress, Shopify, and any website through our JavaScript integration."},{question:"How much does it cost?",answer:"We offer flexible pricing plans based on your traffic volume. Contact us for a custom quote that fits your needs."}];return S.jsxs(ut,{sx:{p:3},children:[S.jsx(X,{variant:"h4",gutterBottom:!0,children:"Help & Support"}),S.jsx(X,{variant:"body1",color:"text.secondary",gutterBottom:!0,children:"Get help with Smart Prefetch and optimize your website performance."}),S.jsx(_r,{sx:{mt:4,mb:4},children:S.jsxs(Fr,{children:[S.jsxs(ut,{sx:{display:"flex",alignItems:"center",gap:2,mb:3},children:[S.jsx(tc,{sx:{color:"primary.main",fontSize:32}}),S.jsxs(ut,{children:[S.jsx(X,{variant:"h5",gutterBottom:!0,children:"Need Help?"}),S.jsx(X,{variant:"body1",color:"text.secondary",children:"Our support team is here to help you optimize your website performance."})]})]}),S.jsx(yy,{severity:"info",sx:{mb:3},children:S.jsxs(X,{variant:"body2",children:[S.jsx("strong",{children:"Average Response Time:"})," 2-4 business days for free tiers"]})}),S.jsxs(ut,{sx:{display:"flex",gap:2,alignItems:"center",flexWrap:"wrap"},children:[S.jsx(Fy,{variant:"contained",startIcon:S.jsx(tc,{}),href:"mailto:support@smartprefetch.link",size:"large",children:"Email Support"}),S.jsx(X,{variant:"body2",color:"text.secondary",children:"support@smartprefetch.link"}),S.jsx(Pe,{label:"24/7 Available",color:"primary",variant:"outlined",size:"small"})]})]})}),S.jsxs(ut,{sx:{mb:4},children:[S.jsx(X,{variant:"h5",gutterBottom:!0,children:"Why Smart Prefetch?"}),S.jsx(or,{container:!0,spacing:3,children:t.map((n,i)=>{const s=n.icon;return S.jsx(or,{item:!0,xs:12,md:6,children:S.jsx($o,{sx:{p:2,height:"100%"},children:S.jsxs(ut,{sx:{display:"flex",alignItems:"flex-start",gap:2},children:[S.jsx(s,{sx:{color:"primary.main",mt:.5}}),S.jsxs(ut,{children:[S.jsx(X,{variant:"h6",gutterBottom:!0,children:n.title}),S.jsx(X,{variant:"body2",color:"text.secondary",children:n.description})]})]})})},i)})})]}),S.jsx(_r,{sx:{mb:4},children:S.jsxs(Fr,{children:[S.jsx(X,{variant:"h5",gutterBottom:!0,children:"Quick Start Guide"}),S.jsxs(Po,{children:[S.jsxs(we,{children:[S.jsx(Ce,{children:S.jsx(ut,{sx:{width:24,height:24,borderRadius:"50%",backgroundColor:"primary.main",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"0.875rem",fontWeight:"bold"},children:"1"})}),S.jsx(ke,{primary:"Add Your Website",secondary:"Click the 'Add Website' button in the header to register your domain"})]}),S.jsxs(we,{children:[S.jsx(Ce,{children:S.jsx(ut,{sx:{width:24,height:24,borderRadius:"50%",backgroundColor:"primary.main",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"0.875rem",fontWeight:"bold"},children:"2"})}),S.jsx(ke,{primary:"Install Integration",secondary:"Follow the platform-specific instructions in Settings to integrate Smart Prefetch"})]}),S.jsxs(we,{children:[S.jsx(Ce,{children:S.jsx(ut,{sx:{width:24,height:24,borderRadius:"50%",backgroundColor:"primary.main",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"0.875rem",fontWeight:"bold"},children:"3"})}),S.jsx(ke,{primary:"Monitor Performance",secondary:"View your prefetch analytics and performance improvements in the Report section"})]})]})]})}),S.jsxs(ut,{sx:{mb:4},children:[S.jsx(X,{variant:"h5",gutterBottom:!0,children:"Frequently Asked Questions"}),S.jsx(or,{container:!0,spacing:2,children:e.map((n,i)=>S.jsx(or,{item:!0,xs:12,children:S.jsx(_r,{children:S.jsx(Fr,{children:S.jsxs(ut,{sx:{display:"flex",alignItems:"flex-start",gap:2},children:[S.jsx(hm,{sx:{color:"primary.main",mt:.5}}),S.jsxs(ut,{children:[S.jsx(X,{variant:"h6",gutterBottom:!0,children:n.question}),S.jsx(X,{variant:"body2",color:"text.secondary",children:n.answer})]})]})})})},i))})]}),S.jsx(_r,{children:S.jsxs(Fr,{children:[S.jsx(X,{variant:"h5",gutterBottom:!0,children:"Additional Resources"}),S.jsxs(or,{container:!0,spacing:2,children:[S.jsxs(or,{item:!0,xs:12,md:4,children:[S.jsxs(ut,{sx:{display:"flex",alignItems:"center",gap:2,mb:2},children:[S.jsx(lm,{sx:{color:"primary.main"}}),S.jsx(X,{variant:"h6",children:"Developer Docs"})]}),S.jsx(X,{variant:"body2",color:"text.secondary",children:"Technical documentation and API references for custom integrations."})]}),S.jsxs(or,{item:!0,xs:12,md:4,children:[S.jsxs(ut,{sx:{display:"flex",alignItems:"center",gap:2,mb:2},children:[S.jsx(ec,{sx:{color:"primary.main"}}),S.jsx(X,{variant:"h6",children:"Integration Guides"})]}),S.jsx(X,{variant:"body2",color:"text.secondary",children:"Step-by-step guides for WordPress, Shopify, and custom implementations."})]}),S.jsxs(or,{item:!0,xs:12,md:4,children:[S.jsxs(ut,{sx:{display:"flex",alignItems:"center",gap:2,mb:2},children:[S.jsx(Bo,{sx:{color:"primary.main"}}),S.jsx(X,{variant:"h6",children:"Performance Tips"})]}),S.jsx(X,{variant:"body2",color:"text.secondary",children:"Best practices to maximize your website's performance improvements."})]})]})]})})]})};function jn(t){let e="https://mui.com/production-error/?code="+t;for(let n=1;n<arguments.length;n+=1)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+t+"; visit "+e+" for the full message."}const Dm=Object.freeze(Object.defineProperty({__proto__:null,default:jn},Symbol.toStringTag,{value:"Module"}));function Zt(){return Zt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Zt.apply(null,arguments)}function Vr(t,e){if(t==null)return{};var n={};for(var i in t)if({}.hasOwnProperty.call(t,i)){if(e.indexOf(i)!==-1)continue;n[i]=t[i]}return n}var ss,sc;function Lm(){if(sc)return ss;sc=1;var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ss=t,ss}var as,ac;function Wm(){if(ac)return as;ac=1;var t=Lm();function e(){}function n(){}return n.resetWarningCache=e,as=function(){function i(c,d,f,g,x,T){if(T!==t){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}i.isRequired=i;function s(){return i}var l={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:s,element:i,elementType:i,instanceOf:s,node:i,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:n,resetWarningCache:e};return l.PropTypes=l,l},as}Wm()();function Hr(t){if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function lc(t){if(O.isValidElement(t)||!Hr(t))return t;const e={};return Object.keys(t).forEach(n=>{e[n]=lc(t[n])}),e}function qe(t,e,n={clone:!0}){const i=n.clone?Zt({},t):t;return Hr(t)&&Hr(e)&&Object.keys(e).forEach(s=>{O.isValidElement(e[s])?i[s]=e[s]:Hr(e[s])&&Object.prototype.hasOwnProperty.call(t,s)&&Hr(t[s])?i[s]=qe(t[s],e[s],n):n.clone?i[s]=Hr(e[s])?lc(e[s]):e[s]:i[s]=e[s]}),i}const Um=["values","unit","step"],Vm=t=>{const e=Object.keys(t).map(n=>({key:n,val:t[n]}))||[];return e.sort((n,i)=>n.val-i.val),e.reduce((n,i)=>Zt({},n,{[i.key]:i.val}),{})};function Hm(t){const{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:i=5}=t,s=Vr(t,Um),l=Vm(e),c=Object.keys(l);function d(m){return`@media (min-width:${typeof e[m]=="number"?e[m]:m}${n})`}function f(m){return`@media (max-width:${(typeof e[m]=="number"?e[m]:m)-i/100}${n})`}function g(m,M){const R=c.indexOf(M);return`@media (min-width:${typeof e[m]=="number"?e[m]:m}${n}) and (max-width:${(R!==-1&&typeof e[c[R]]=="number"?e[c[R]]:M)-i/100}${n})`}function x(m){return c.indexOf(m)+1<c.length?g(m,c[c.indexOf(m)+1]):d(m)}function T(m){const M=c.indexOf(m);return M===0?d(c[1]):M===c.length-1?f(c[M]):g(m,c[c.indexOf(m)+1]).replace("@media","@media not all and")}return Zt({keys:c,values:l,up:d,down:f,between:g,only:x,not:T,unit:n},s)}const Gm={borderRadius:4},Km=Gm;function $n(t,e){return e?qe(t,e,{clone:!1}):t}const ls={xs:0,sm:600,md:900,lg:1200,xl:1536},cc={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${ls[t]}px)`};function Ye(t,e,n){const i=t.theme||{};if(Array.isArray(e)){const s=i.breakpoints||cc;return e.reduce((l,c,d)=>(l[s.up(s.keys[d])]=n(e[d]),l),{})}if(typeof e=="object"){const s=i.breakpoints||cc;return Object.keys(e).reduce((l,c)=>{if(Object.keys(s.values||ls).indexOf(c)!==-1){const d=s.up(c);l[d]=n(e[c],c)}else{const d=c;l[d]=e[d]}return l},{})}return n(e)}function qm(t={}){var e;return((e=t.keys)==null?void 0:e.reduce((n,i)=>{const s=t.up(i);return n[s]={},n},{}))||{}}function Ym(t,e){return t.reduce((n,i)=>{const s=n[i];return(!s||Object.keys(s).length===0)&&delete n[i],n},e)}function uc(t){if(typeof t!="string")throw new Error(jn(7));return t.charAt(0).toUpperCase()+t.slice(1)}function zo(t,e,n=!0){if(!e||typeof e!="string")return null;if(t&&t.vars&&n){const i=`vars.${e}`.split(".").reduce((s,l)=>s&&s[l]?s[l]:null,t);if(i!=null)return i}return e.split(".").reduce((i,s)=>i&&i[s]!=null?i[s]:null,t)}function No(t,e,n,i=n){let s;return typeof t=="function"?s=t(n):Array.isArray(t)?s=t[n]||i:s=zo(t,n)||i,e&&(s=e(s,i,t)),s}function Ut(t){const{prop:e,cssProperty:n=t.prop,themeKey:i,transform:s}=t,l=c=>{if(c[e]==null)return null;const d=c[e],f=c.theme,g=zo(f,i)||{};return Ye(c,d,x=>{let T=No(g,s,x);return x===T&&typeof x=="string"&&(T=No(g,s,`${e}${x==="default"?"":uc(x)}`,x)),n===!1?T:{[n]:T}})};return l.propTypes={},l.filterProps=[e],l}function Xm(t){const e={};return n=>(e[n]===void 0&&(e[n]=t(n)),e[n])}const Zm={m:"margin",p:"padding"},Jm={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},pc={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Qm=Xm(t=>{if(t.length>2)if(pc[t])t=pc[t];else return[t];const[e,n]=t.split(""),i=Zm[e],s=Jm[n]||"";return Array.isArray(s)?s.map(l=>i+l):[i+s]}),cs=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],us=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...cs,...us];function Mn(t,e,n,i){var s;const l=(s=zo(t,e,!1))!=null?s:n;return typeof l=="number"?c=>typeof c=="string"?c:l*c:Array.isArray(l)?c=>typeof c=="string"?c:l[c]:typeof l=="function"?l:()=>{}}function dc(t){return Mn(t,"spacing",8)}function An(t,e){if(typeof e=="string"||e==null)return e;const n=Math.abs(e),i=t(n);return e>=0?i:typeof i=="number"?-i:`-${i}`}function tb(t,e){return n=>t.reduce((i,s)=>(i[s]=An(e,n),i),{})}function eb(t,e,n,i){if(e.indexOf(n)===-1)return null;const s=Qm(n),l=tb(s,i),c=t[n];return Ye(t,c,l)}function fc(t,e){const n=dc(t.theme);return Object.keys(t).map(i=>eb(t,e,i,n)).reduce($n,{})}function Nt(t){return fc(t,cs)}Nt.propTypes={},Nt.filterProps=cs;function _t(t){return fc(t,us)}_t.propTypes={},_t.filterProps=us;function rb(t=8){if(t.mui)return t;const e=dc({spacing:t}),n=(...i)=>(i.length===0?[1]:i).map(s=>{const l=e(s);return typeof l=="number"?`${l}px`:l}).join(" ");return n.mui=!0,n}function _o(...t){const e=t.reduce((i,s)=>(s.filterProps.forEach(l=>{i[l]=s}),i),{}),n=i=>Object.keys(i).reduce((s,l)=>e[l]?$n(s,e[l](i)):s,{});return n.propTypes={},n.filterProps=t.reduce((i,s)=>i.concat(s.filterProps),[]),n}function Re(t){return typeof t!="number"?t:`${t}px solid`}function Te(t,e){return Ut({prop:t,themeKey:"borders",transform:e})}const nb=Te("border",Re),ob=Te("borderTop",Re),ib=Te("borderRight",Re),sb=Te("borderBottom",Re),ab=Te("borderLeft",Re),lb=Te("borderColor"),cb=Te("borderTopColor"),ub=Te("borderRightColor"),pb=Te("borderBottomColor"),db=Te("borderLeftColor"),fb=Te("outline",Re),hb=Te("outlineColor"),Fo=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const e=Mn(t.theme,"shape.borderRadius",4),n=i=>({borderRadius:An(e,i)});return Ye(t,t.borderRadius,n)}return null};Fo.propTypes={},Fo.filterProps=["borderRadius"],_o(nb,ob,ib,sb,ab,lb,cb,ub,pb,db,Fo,fb,hb);const Do=t=>{if(t.gap!==void 0&&t.gap!==null){const e=Mn(t.theme,"spacing",8),n=i=>({gap:An(e,i)});return Ye(t,t.gap,n)}return null};Do.propTypes={},Do.filterProps=["gap"];const Lo=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const e=Mn(t.theme,"spacing",8),n=i=>({columnGap:An(e,i)});return Ye(t,t.columnGap,n)}return null};Lo.propTypes={},Lo.filterProps=["columnGap"];const Wo=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const e=Mn(t.theme,"spacing",8),n=i=>({rowGap:An(e,i)});return Ye(t,t.rowGap,n)}return null};Wo.propTypes={},Wo.filterProps=["rowGap"];const yb=Ut({prop:"gridColumn"}),gb=Ut({prop:"gridRow"}),mb=Ut({prop:"gridAutoFlow"}),bb=Ut({prop:"gridAutoColumns"}),vb=Ut({prop:"gridAutoRows"}),xb=Ut({prop:"gridTemplateColumns"}),Sb=Ut({prop:"gridTemplateRows"}),wb=Ut({prop:"gridTemplateAreas"}),Cb=Ut({prop:"gridArea"});_o(Do,Lo,Wo,yb,gb,mb,bb,vb,xb,Sb,wb,Cb);function Gr(t,e){return e==="grey"?e:t}const kb=Ut({prop:"color",themeKey:"palette",transform:Gr}),Rb=Ut({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Gr}),Tb=Ut({prop:"backgroundColor",themeKey:"palette",transform:Gr});_o(kb,Rb,Tb);function ue(t){return t<=1&&t!==0?`${t*100}%`:t}const Eb=Ut({prop:"width",transform:ue}),ps=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const e=n=>{var i,s;const l=((i=t.theme)==null||(i=i.breakpoints)==null||(i=i.values)==null?void 0:i[n])||ls[n];return l?((s=t.theme)==null||(s=s.breakpoints)==null?void 0:s.unit)!=="px"?{maxWidth:`${l}${t.theme.breakpoints.unit}`}:{maxWidth:l}:{maxWidth:ue(n)}};return Ye(t,t.maxWidth,e)}return null};ps.filterProps=["maxWidth"];const jb=Ut({prop:"minWidth",transform:ue}),$b=Ut({prop:"height",transform:ue}),Mb=Ut({prop:"maxHeight",transform:ue}),Ab=Ut({prop:"minHeight",transform:ue});Ut({prop:"size",cssProperty:"width",transform:ue}),Ut({prop:"size",cssProperty:"height",transform:ue});const Pb=Ut({prop:"boxSizing"});_o(Eb,ps,jb,$b,Mb,Ab,Pb);const Ob={border:{themeKey:"borders",transform:Re},borderTop:{themeKey:"borders",transform:Re},borderRight:{themeKey:"borders",transform:Re},borderBottom:{themeKey:"borders",transform:Re},borderLeft:{themeKey:"borders",transform:Re},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Re},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Fo},color:{themeKey:"palette",transform:Gr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Gr},backgroundColor:{themeKey:"palette",transform:Gr},p:{style:_t},pt:{style:_t},pr:{style:_t},pb:{style:_t},pl:{style:_t},px:{style:_t},py:{style:_t},padding:{style:_t},paddingTop:{style:_t},paddingRight:{style:_t},paddingBottom:{style:_t},paddingLeft:{style:_t},paddingX:{style:_t},paddingY:{style:_t},paddingInline:{style:_t},paddingInlineStart:{style:_t},paddingInlineEnd:{style:_t},paddingBlock:{style:_t},paddingBlockStart:{style:_t},paddingBlockEnd:{style:_t},m:{style:Nt},mt:{style:Nt},mr:{style:Nt},mb:{style:Nt},ml:{style:Nt},mx:{style:Nt},my:{style:Nt},margin:{style:Nt},marginTop:{style:Nt},marginRight:{style:Nt},marginBottom:{style:Nt},marginLeft:{style:Nt},marginX:{style:Nt},marginY:{style:Nt},marginInline:{style:Nt},marginInlineStart:{style:Nt},marginInlineEnd:{style:Nt},marginBlock:{style:Nt},marginBlockStart:{style:Nt},marginBlockEnd:{style:Nt},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Do},rowGap:{style:Wo},columnGap:{style:Lo},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ue},maxWidth:{style:ps},minWidth:{transform:ue},height:{transform:ue},maxHeight:{transform:ue},minHeight:{transform:ue},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},ds=Ob;function Ib(...t){const e=t.reduce((i,s)=>i.concat(Object.keys(s)),[]),n=new Set(e);return t.every(i=>n.size===Object.keys(i).length)}function Bb(t,e){return typeof t=="function"?t(e):t}function zb(){function t(n,i,s,l){const c={[n]:i,theme:s},d=l[n];if(!d)return{[n]:i};const{cssProperty:f=n,themeKey:g,transform:x,style:T}=d;if(i==null)return null;if(g==="typography"&&i==="inherit")return{[n]:i};const m=zo(s,g)||{};return T?T(c):Ye(c,i,M=>{let R=No(m,x,M);return M===R&&typeof M=="string"&&(R=No(m,x,`${n}${M==="default"?"":uc(M)}`,M)),f===!1?R:{[f]:R}})}function e(n){var i;const{sx:s,theme:l={}}=n||{};if(!s)return null;const c=(i=l.unstable_sxConfig)!=null?i:ds;function d(f){let g=f;if(typeof f=="function")g=f(l);else if(typeof f!="object")return f;if(!g)return null;const x=qm(l.breakpoints),T=Object.keys(x);let m=x;return Object.keys(g).forEach(M=>{const R=Bb(g[M],l);if(R!=null)if(typeof R=="object")if(c[M])m=$n(m,t(M,R,l,c));else{const E=Ye({theme:l},R,A=>({[M]:A}));Ib(E,R)?m[M]=e({sx:R,theme:l}):m=$n(m,E)}else m=$n(m,t(M,R,l,c))}),Ym(T,m)}return Array.isArray(s)?s.map(d):d(s)}return e}const hc=zb();hc.filterProps=["sx"];const yc=hc;function Nb(t,e){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(t).replace(/(\[[^\]]+\])/,"*:where($1)")]:e}:n.palette.mode===t?e:{}}const _b=["breakpoints","palette","spacing","shape"];function Fb(t={},...e){const{breakpoints:n={},palette:i={},spacing:s,shape:l={}}=t,c=Vr(t,_b),d=Hm(n),f=rb(s);let g=qe({breakpoints:d,direction:"ltr",components:{},palette:Zt({mode:"light"},i),spacing:f,shape:Zt({},Km,l)},c);return g.applyStyles=Nb,g=e.reduce((x,T)=>qe(x,T),g),g.unstable_sxConfig=Zt({},ds,c==null?void 0:c.unstable_sxConfig),g.unstable_sx=function(x){return yc({sx:x,theme:this})},g}function Db(t,e=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(e,Math.min(t,n))}const Lb=Object.freeze(Object.defineProperty({__proto__:null,default:Db},Symbol.toStringTag,{value:"Module"}));function Wb(t,e){return Zt({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},e)}var Vt={},gc={exports:{}};(function(t){function e(n){return n&&n.__esModule?n:{default:n}}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})(gc);var Ub=gc.exports;const Vb=nc(Dm),Hb=nc(Lb);var mc=Ub;Object.defineProperty(Vt,"__esModule",{value:!0}),Vt.alpha=wc,Vt.blend=o1,Vt.colorChannel=void 0;var Gb=Vt.darken=hs;Vt.decomposeColor=Ee,Vt.emphasize=Cc;var Kb=Vt.getContrastRatio=Qb;Vt.getLuminance=Uo,Vt.hexToRgb=vc,Vt.hslToRgb=Sc;var qb=Vt.lighten=ys;Vt.private_safeAlpha=t1,Vt.private_safeColorChannel=void 0,Vt.private_safeDarken=e1,Vt.private_safeEmphasize=n1,Vt.private_safeLighten=r1,Vt.recomposeColor=Kr,Vt.rgbToHex=Jb;var bc=mc(Vb),Yb=mc(Hb);function fs(t,e=0,n=1){return(0,Yb.default)(t,e,n)}function vc(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let n=t.match(e);return n&&n[0].length===1&&(n=n.map(i=>i+i)),n?`rgb${n.length===4?"a":""}(${n.map((i,s)=>s<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function Xb(t){const e=t.toString(16);return e.length===1?`0${e}`:e}function Ee(t){if(t.type)return t;if(t.charAt(0)==="#")return Ee(vc(t));const e=t.indexOf("("),n=t.substring(0,e);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,bc.default)(9,t));let i=t.substring(e+1,t.length-1),s;if(n==="color"){if(i=i.split(" "),s=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(s)===-1)throw new Error((0,bc.default)(10,s))}else i=i.split(",");return i=i.map(l=>parseFloat(l)),{type:n,values:i,colorSpace:s}}const xc=t=>{const e=Ee(t);return e.values.slice(0,3).map((n,i)=>e.type.indexOf("hsl")!==-1&&i!==0?`${n}%`:n).join(" ")};Vt.colorChannel=xc;const Zb=(t,e)=>{try{return xc(t)}catch{return t}};Vt.private_safeColorChannel=Zb;function Kr(t){const{type:e,colorSpace:n}=t;let{values:i}=t;return e.indexOf("rgb")!==-1?i=i.map((s,l)=>l<3?parseInt(s,10):s):e.indexOf("hsl")!==-1&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),e.indexOf("color")!==-1?i=`${n} ${i.join(" ")}`:i=`${i.join(", ")}`,`${e}(${i})`}function Jb(t){if(t.indexOf("#")===0)return t;const{values:e}=Ee(t);return`#${e.map((n,i)=>Xb(i===3?Math.round(255*n):n)).join("")}`}function Sc(t){t=Ee(t);const{values:e}=t,n=e[0],i=e[1]/100,s=e[2]/100,l=i*Math.min(s,1-s),c=(g,x=(g+n/30)%12)=>s-l*Math.max(Math.min(x-3,9-x,1),-1);let d="rgb";const f=[Math.round(c(0)*255),Math.round(c(8)*255),Math.round(c(4)*255)];return t.type==="hsla"&&(d+="a",f.push(e[3])),Kr({type:d,values:f})}function Uo(t){t=Ee(t);let e=t.type==="hsl"||t.type==="hsla"?Ee(Sc(t)).values:t.values;return e=e.map(n=>(t.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function Qb(t,e){const n=Uo(t),i=Uo(e);return(Math.max(n,i)+.05)/(Math.min(n,i)+.05)}function wc(t,e){return t=Ee(t),e=fs(e),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${e}`:t.values[3]=e,Kr(t)}function t1(t,e,n){try{return wc(t,e)}catch{return t}}function hs(t,e){if(t=Ee(t),e=fs(e),t.type.indexOf("hsl")!==-1)t.values[2]*=1-e;else if(t.type.indexOf("rgb")!==-1||t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]*=1-e;return Kr(t)}function e1(t,e,n){try{return hs(t,e)}catch{return t}}function ys(t,e){if(t=Ee(t),e=fs(e),t.type.indexOf("hsl")!==-1)t.values[2]+=(100-t.values[2])*e;else if(t.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return Kr(t)}function r1(t,e,n){try{return ys(t,e)}catch{return t}}function Cc(t,e=.15){return Uo(t)>.5?hs(t,e):ys(t,e)}function n1(t,e,n){try{return Cc(t,e)}catch{return t}}function o1(t,e,n,i=1){const s=(f,g)=>Math.round((f**(1/i)*(1-n)+g**(1/i)*n)**i),l=Ee(t),c=Ee(e),d=[s(l.values[0],c.values[0]),s(l.values[1],c.values[1]),s(l.values[2],c.values[2])];return Kr({type:"rgb",values:d})}const i1={black:"#000",white:"#fff"},Pn=i1,s1={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"},a1=s1,l1={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"},qr=l1,c1={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"},Yr=c1,u1={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"},On=u1,p1={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"},Xr=p1,d1={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"},Zr=d1,f1={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"},Jr=f1,h1=["mode","contrastThreshold","tonalOffset"],kc={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:Pn.white,default:Pn.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}},gs={text:{primary:Pn.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:Pn.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 Rc(t,e,n,i){const s=i.light||i,l=i.dark||i*1.5;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:e==="light"?t.light=qb(t.main,s):e==="dark"&&(t.dark=Gb(t.main,l)))}function y1(t="light"){return t==="dark"?{main:Xr[200],light:Xr[50],dark:Xr[400]}:{main:Xr[700],light:Xr[400],dark:Xr[800]}}function g1(t="light"){return t==="dark"?{main:qr[200],light:qr[50],dark:qr[400]}:{main:qr[500],light:qr[300],dark:qr[700]}}function m1(t="light"){return t==="dark"?{main:Yr[500],light:Yr[300],dark:Yr[700]}:{main:Yr[700],light:Yr[400],dark:Yr[800]}}function b1(t="light"){return t==="dark"?{main:Zr[400],light:Zr[300],dark:Zr[700]}:{main:Zr[700],light:Zr[500],dark:Zr[900]}}function v1(t="light"){return t==="dark"?{main:Jr[400],light:Jr[300],dark:Jr[700]}:{main:Jr[800],light:Jr[500],dark:Jr[900]}}function x1(t="light"){return t==="dark"?{main:On[400],light:On[300],dark:On[700]}:{main:"#ed6c02",light:On[500],dark:On[900]}}function S1(t){const{mode:e="light",contrastThreshold:n=3,tonalOffset:i=.2}=t,s=Vr(t,h1),l=t.primary||y1(e),c=t.secondary||g1(e),d=t.error||m1(e),f=t.info||b1(e),g=t.success||v1(e),x=t.warning||x1(e);function T(R){return Kb(R,gs.text.primary)>=n?gs.text.primary:kc.text.primary}const m=({color:R,name:E,mainShade:A=500,lightShade:h=300,darkShade:$=700})=>{if(R=Zt({},R),!R.main&&R[A]&&(R.main=R[A]),!R.hasOwnProperty("main"))throw new Error(jn(11,E?` (${E})`:"",A));if(typeof R.main!="string")throw new Error(jn(12,E?` (${E})`:"",JSON.stringify(R.main)));return Rc(R,"light",h,i),Rc(R,"dark",$,i),R.contrastText||(R.contrastText=T(R.main)),R},M={dark:gs,light:kc};return qe(Zt({common:Zt({},Pn),mode:e,primary:m({color:l,name:"primary"}),secondary:m({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:d,name:"error"}),warning:m({color:x,name:"warning"}),info:m({color:f,name:"info"}),success:m({color:g,name:"success"}),grey:a1,contrastThreshold:n,getContrastText:T,augmentColor:m,tonalOffset:i},M[e]),s)}const w1=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function C1(t){return Math.round(t*1e5)/1e5}const Tc={textTransform:"uppercase"},Ec='"Roboto", "Helvetica", "Arial", sans-serif';function k1(t,e){const n=typeof e=="function"?e(t):e,{fontFamily:i=Ec,fontSize:s=14,fontWeightLight:l=300,fontWeightRegular:c=400,fontWeightMedium:d=500,fontWeightBold:f=700,htmlFontSize:g=16,allVariants:x,pxToRem:T}=n,m=Vr(n,w1),M=s/14,R=T||(h=>`${h/g*M}rem`),E=(h,$,z,D,L)=>Zt({fontFamily:i,fontWeight:h,fontSize:R($),lineHeight:z},i===Ec?{letterSpacing:`${C1(D/$)}em`}:{},L,x),A={h1:E(l,96,1.167,-1.5),h2:E(l,60,1.2,-.5),h3:E(c,48,1.167,0),h4:E(c,34,1.235,.25),h5:E(c,24,1.334,0),h6:E(d,20,1.6,.15),subtitle1:E(c,16,1.75,.15),subtitle2:E(d,14,1.57,.1),body1:E(c,16,1.5,.15),body2:E(c,14,1.43,.15),button:E(d,14,1.75,.4,Tc),caption:E(c,12,1.66,.4),overline:E(c,12,2.66,1,Tc),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return qe(Zt({htmlFontSize:g,pxToRem:R,fontFamily:i,fontSize:s,fontWeightLight:l,fontWeightRegular:c,fontWeightMedium:d,fontWeightBold:f},A),m,{clone:!1})}const R1=.2,T1=.14,E1=.12;function Ot(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${R1})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${T1})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${E1})`].join(",")}const j1=["none",Ot(0,2,1,-1,0,1,1,0,0,1,3,0),Ot(0,3,1,-2,0,2,2,0,0,1,5,0),Ot(0,3,3,-2,0,3,4,0,0,1,8,0),Ot(0,2,4,-1,0,4,5,0,0,1,10,0),Ot(0,3,5,-1,0,5,8,0,0,1,14,0),Ot(0,3,5,-1,0,6,10,0,0,1,18,0),Ot(0,4,5,-2,0,7,10,1,0,2,16,1),Ot(0,5,5,-3,0,8,10,1,0,3,14,2),Ot(0,5,6,-3,0,9,12,1,0,3,16,2),Ot(0,6,6,-3,0,10,14,1,0,4,18,3),Ot(0,6,7,-4,0,11,15,1,0,4,20,3),Ot(0,7,8,-4,0,12,17,2,0,5,22,4),Ot(0,7,8,-4,0,13,19,2,0,5,24,4),Ot(0,7,9,-4,0,14,21,2,0,5,26,4),Ot(0,8,9,-5,0,15,22,2,0,6,28,5),Ot(0,8,10,-5,0,16,24,2,0,6,30,5),Ot(0,8,11,-5,0,17,26,2,0,6,32,5),Ot(0,9,11,-5,0,18,28,2,0,7,34,6),Ot(0,9,12,-6,0,19,29,2,0,7,36,6),Ot(0,10,13,-6,0,20,31,3,0,8,38,7),Ot(0,10,13,-6,0,21,33,3,0,8,40,7),Ot(0,10,14,-6,0,22,35,3,0,8,42,7),Ot(0,11,14,-7,0,23,36,3,0,9,44,8),Ot(0,11,15,-7,0,24,38,3,0,9,46,8)],$1=j1,M1=["duration","easing","delay"],A1={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)"},P1={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function jc(t){return`${Math.round(t)}ms`}function O1(t){if(!t)return 0;const e=t/36;return Math.round((4+15*e**.25+e/5)*10)}function I1(t){const e=Zt({},A1,t.easing),n=Zt({},P1,t.duration);return Zt({getAutoHeightDuration:O1,create:(i=["all"],s={})=>{const{duration:l=n.standard,easing:c=e.easeInOut,delay:d=0}=s;return Vr(s,M1),(Array.isArray(i)?i:[i]).map(f=>`${f} ${typeof l=="string"?l:jc(l)} ${c} ${typeof d=="string"?d:jc(d)}`).join(",")}},t,{easing:e,duration:n})}const B1={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},z1=B1,N1=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function _1(t={},...e){const{mixins:n={},palette:i={},transitions:s={},typography:l={}}=t,c=Vr(t,N1);if(t.vars&&t.generateCssVars===void 0)throw new Error(jn(18));const d=S1(i),f=Fb(t);let g=qe(f,{mixins:Wb(f.breakpoints,n),palette:d,shadows:$1.slice(),typography:k1(d,l),transitions:I1(s),zIndex:Zt({},z1)});return g=qe(g,c),g=e.reduce((x,T)=>qe(x,T),g),g.unstable_sxConfig=Zt({},ds,c==null?void 0:c.unstable_sxConfig),g.unstable_sx=function(x){return yc({sx:x,theme:this})},g}const F1=_1({palette:{mode:"light",primary:{main:"#008080",light:"#4db6ac",dark:"#004d40",contrastText:"#ffffff"},secondary:{main:"#ff6b35",light:"#ff9a66",dark:"#c73e00",contrastText:"#ffffff"},background:{default:"#fafafa",paper:"#ffffff"},text:{primary:"#2c3e50",secondary:"#546e7a"},error:{main:"#e74c3c"},warning:{main:"#f39c12"},info:{main:"#3498db"},success:{main:"#27ae60"},divider:"#e0e0e0"},typography:{fontFamily:'"Inter", "Roboto", "Helvetica", "Arial", sans-serif',h1:{fontWeight:700,fontSize:"2.5rem",lineHeight:1.2,letterSpacing:"-0.02em"},h2:{fontWeight:600,fontSize:"2rem",lineHeight:1.3,letterSpacing:"-0.01em"},h3:{fontWeight:600,fontSize:"1.5rem",lineHeight:1.4},h4:{fontWeight:600,fontSize:"1.25rem",lineHeight:1.4},h5:{fontWeight:600,fontSize:"1.125rem",lineHeight:1.4},h6:{fontWeight:600,fontSize:"1rem",lineHeight:1.4},body1:{fontSize:"1rem",lineHeight:1.6},body2:{fontSize:"0.875rem",lineHeight:1.6},button:{textTransform:"none",fontWeight:600,letterSpacing:"0.02em"}},shape:{borderRadius:12},components:{MuiButton:{styleOverrides:{root:{borderRadius:8,padding:"10px 24px",fontSize:"0.875rem",fontWeight:600,boxShadow:"none","&:hover":{boxShadow:"0 4px 12px rgba(0, 128, 128, 0.2)"}},contained:{background:"linear-gradient(45deg, #008080 30%, #4db6ac 90%)","&:hover":{background:"linear-gradient(45deg, #004d40 30%, #008080 90%)"}}}},MuiCard:{styleOverrides:{root:{borderRadius:16,boxShadow:"0 2px 20px rgba(0, 0, 0, 0.05)",border:"1px solid rgba(0, 0, 0, 0.05)","&:hover":{boxShadow:"0 4px 28px rgba(0, 0, 0, 0.1)"}}}},MuiPaper:{styleOverrides:{root:{borderRadius:12,boxShadow:"0 1px 8px rgba(0, 0, 0, 0.05)"}}},MuiAppBar:{styleOverrides:{root:{backgroundColor:"#ffffff",color:"#2c3e50",boxShadow:"0 1px 4px rgba(0, 0, 0, 0.05)",backdropFilter:"blur(8px)"}}},MuiChip:{styleOverrides:{root:{borderRadius:8,fontWeight:500},filled:{backgroundColor:"rgba(0, 128, 128, 0.1)",color:"#004d40"}}},MuiTextField:{styleOverrides:{root:{"& .MuiOutlinedInput-root":{borderRadius:8,"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"#008080"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"#008080"}}}}},MuiDialog:{styleOverrides:{paper:{borderRadius:16,boxShadow:"0 8px 32px rgba(0, 0, 0, 0.12)"}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:"rgba(0, 128, 128, 0.05)","& .MuiTableCell-head":{fontWeight:600,color:"#004d40"}}}},MuiTableRow:{styleOverrides:{root:{"&:hover":{backgroundColor:"rgba(0, 128, 128, 0.02)"}}}}}});function $c({children:t,value:e,index:n,...i}){return B.jsx("div",{role:"tabpanel",hidden:e!==n,id:`simple-tabpanel-${n}`,"aria-labelledby":`simple-tab-${n}`,...i,children:e===n&&B.jsx(ut,{sx:{p:3},children:t})})}const D1=({selectedDomain:t,jwt:e,onAuthenticationFailed:n})=>{const[i,s]=mt.useState(0),l=(c,d)=>{s(d)};return B.jsxs(ph,{theme:F1,children:[B.jsx(Zy,{}),B.jsx(zm,{variant:"full"}),B.jsxs(ut,{sx:{width:"100%"},children:[B.jsx(ut,{sx:{borderBottom:1,borderColor:"divider"},children:B.jsxs(im,{value:i,onChange:l,"aria-label":"Smart Prefetch tabs",children:[B.jsx(Fl,{label:"Report",id:"tab-0","aria-controls":"simple-tabpanel-0"}),B.jsx(Fl,{label:"Help",id:"tab-1","aria-controls":"simple-tabpanel-1"})]})}),B.jsxs($c,{value:i,index:0,children:[B.jsx(Bm,{selectedDomain:t,jwt:e||null,onAuthenticationFailed:n,showDashboardLink:!0}),B.jsx(_m,{}),B.jsx(Nm,{})]})," ",B.jsx($c,{value:i,index:1,children:B.jsx(Fm,{})})]})]})};function L1(t){const e=document.getElementById("smart_prefetch_root");if(!e){console.warn('Smart Prefetch: Container with id "smart_prefetch_root" not found');return}pi.createRoot(e).render(mt.createElement(D1,t))}er.Init=L1,Object.defineProperty(er,Symbol.toStringTag,{value:"Module"})});165 */var Uu;function C1(){if(Uu)return go;Uu=1;var t=St,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function c(p,d,g){var m,S={},y=null,j=null;g!==void 0&&(y=""+g),d.key!==void 0&&(y=""+d.key),d.ref!==void 0&&(j=d.ref);for(m in d)o.call(d,m)&&!a.hasOwnProperty(m)&&(S[m]=d[m]);if(p&&p.defaultProps)for(m in d=p.defaultProps,d)S[m]===void 0&&(S[m]=d[m]);return{$$typeof:e,type:p,key:y,ref:j,props:S,_owner:s.current}}return go.Fragment=n,go.jsx=c,go.jsxs=c,go}Wu.exports=C1();var v=Wu.exports,$={};(function(t){var e=typeof Object.defineProperties=="function"?Object.defineProperty:function(r,i,l){r!=Array.prototype&&r!=Object.prototype&&(r[i]=l.value)},n=_u;function o(r,i){if(i){var l=n;r=r.split(".");for(var f=0;f<r.length-1;f++){var R=r[f];R in l||(l[R]={}),l=l[R]}r=r[r.length-1],f=l[r],i=i(f),i!=f&&i!=null&&e(l,r,{configurable:!0,writable:!0,value:i})}}function s(r){var i=0;return function(){return i<r.length?{done:!1,value:r[i++]}:{done:!0}}}function a(){a=function(){},n.Symbol||(n.Symbol=p)}function c(r,i){this.a=r,e(this,"description",{configurable:!0,writable:!0,value:i})}c.prototype.toString=function(){return this.a};var p=function(){function r(l){if(this instanceof r)throw new TypeError("Symbol is not a constructor");return new c("jscomp_symbol_"+(l||"")+"_"+i++,l)}var i=0;return r}();function d(){a();var r=n.Symbol.iterator;r||(r=n.Symbol.iterator=n.Symbol("Symbol.iterator")),typeof Array.prototype[r]!="function"&&e(Array.prototype,r,{configurable:!0,writable:!0,value:function(){return g(s(this))}}),d=function(){}}function g(r){return d(),r={next:r},r[n.Symbol.iterator]=function(){return this},r}function m(r,i){d(),r instanceof String&&(r+="");var l=0,f={next:function(){if(l<r.length){var R=l++;return{value:i(R,r[R]),done:!1}}return f.next=function(){return{done:!0,value:void 0}},f.next()}};return f[Symbol.iterator]=function(){return f},f}o("Array.prototype.entries",function(r){return r||function(){return m(this,function(i,l){return[i,l]})}});var S=_u||self;function y(r,i,l){r=r.split("."),l=l||S,r[0]in l||typeof l.execScript>"u"||l.execScript("var "+r[0]);for(var f;r.length&&(f=r.shift());)r.length||i===void 0?l[f]&&l[f]!==Object.prototype[f]?l=l[f]:l=l[f]={}:l[f]=i}function j(r){var i=typeof r;if(i=="object")if(r){if(r instanceof Array)return"array";if(r instanceof Object)return i;var l=Object.prototype.toString.call(r);if(l=="[object Window]")return"object";if(l=="[object Array]"||typeof r.length=="number"&&typeof r.splice<"u"&&typeof r.propertyIsEnumerable<"u"&&!r.propertyIsEnumerable("splice"))return"array";if(l=="[object Function]"||typeof r.call<"u"&&typeof r.propertyIsEnumerable<"u"&&!r.propertyIsEnumerable("call"))return"function"}else return"null";else if(i=="function"&&typeof r.call>"u")return"object";return i}function k(r){var i=typeof r;return i=="object"&&r!=null||i=="function"}function E(r,i,l){y(r,i,l)}function A(r,i){function l(){}l.prototype=i.prototype,r.prototype=new l,r.prototype.constructor=r}var h="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function P(r,i){for(var l,f,R=1;R<arguments.length;R++){f=arguments[R];for(l in f)r[l]=f[l];for(var O=0;O<h.length;O++)l=h[O],Object.prototype.hasOwnProperty.call(f,l)&&(r[l]=f[l])}}var D=Array.prototype.forEach?function(r,i){Array.prototype.forEach.call(r,i,void 0)}:function(r,i){for(var l=r.length,f=typeof r=="string"?r.split(""):r,R=0;R<l;R++)R in f&&i.call(void 0,f[R],R,r)},I=Array.prototype.map?function(r,i){return Array.prototype.map.call(r,i,void 0)}:function(r,i){for(var l=r.length,f=Array(l),R=typeof r=="string"?r.split(""):r,O=0;O<l;O++)O in R&&(f[O]=i.call(void 0,R[O],O,r));return f};function z(r,i,l){return 2>=arguments.length?Array.prototype.slice.call(r,i):Array.prototype.slice.call(r,i,l)}function N(r,i,l,f){var R="Assertion failed";if(l){R+=": "+l;var O=f}else r&&(R+=": "+r,O=i);throw Error(R,O||[])}function x(r,i,l){for(var f=[],R=2;R<arguments.length;++R)f[R-2]=arguments[R];return r||N("",null,i,f),r}function V(r,i,l){for(var f=[],R=2;R<arguments.length;++R)f[R-2]=arguments[R];typeof r!="string"&&N("Expected string but got %s: %s.",[j(r),r],i,f)}function G(r,i,l){for(var f=[],R=2;R<arguments.length;++R)f[R-2]=arguments[R];Array.isArray(r)||N("Expected array but got %s: %s.",[j(r),r],i,f)}function L(r,i){for(var l=[],f=1;f<arguments.length;++f)l[f-1]=arguments[f];throw Error("Failure"+(r?": "+r:""),l)}function K(r,i,l,f){for(var R=[],O=3;O<arguments.length;++O)R[O-3]=arguments[O];r instanceof i||N("Expected instanceof %s but got %s.",[J(i),J(r)],l,R)}function J(r){return r instanceof Function?r.displayName||r.name||"unknown type name":r instanceof Object?r.constructor.displayName||r.constructor.name||Object.prototype.toString.call(r):r===null?"null":typeof r}function _(r,i){if(this.c=r,this.b=i,this.a={},this.arrClean=!0,0<this.c.length){for(r=0;r<this.c.length;r++){i=this.c[r];var l=i[0];this.a[l.toString()]=new dt(l,i[1])}this.arrClean=!0}}y("jspb.Map",_,void 0),_.prototype.g=function(){if(this.arrClean){if(this.b){var r=this.a,i;for(i in r)if(Object.prototype.hasOwnProperty.call(r,i)){var l=r[i].a;l&&l.g()}}}else{for(this.c.length=0,r=tt(this),r.sort(),i=0;i<r.length;i++){var f=this.a[r[i]];(l=f.a)&&l.g(),this.c.push([f.key,f.value])}this.arrClean=!0}return this.c},_.prototype.toArray=_.prototype.g,_.prototype.Mc=function(r,i){for(var l=this.g(),f=[],R=0;R<l.length;R++){var O=this.a[l[R][0].toString()];q(this,O);var W=O.a;W?(x(i),f.push([O.key,i(r,W)])):f.push([O.key,O.value])}return f},_.prototype.toObject=_.prototype.Mc,_.fromObject=function(r,i,l){i=new _([],i);for(var f=0;f<r.length;f++){var R=r[f][0],O=l(r[f][1]);i.set(R,O)}return i};function Q(r){this.a=0,this.b=r}Q.prototype.next=function(){return this.a<this.b.length?{done:!1,value:this.b[this.a++]}:{done:!0,value:void 0}},typeof Symbol<"u"&&(Q.prototype[Symbol.iterator]=function(){return this}),_.prototype.Jb=function(){return tt(this).length},_.prototype.getLength=_.prototype.Jb,_.prototype.clear=function(){this.a={},this.arrClean=!1},_.prototype.clear=_.prototype.clear,_.prototype.Cb=function(r){r=r.toString();var i=this.a.hasOwnProperty(r);return delete this.a[r],this.arrClean=!1,i},_.prototype.del=_.prototype.Cb,_.prototype.Eb=function(){var r=[],i=tt(this);i.sort();for(var l=0;l<i.length;l++){var f=this.a[i[l]];r.push([f.key,f.value])}return r},_.prototype.getEntryList=_.prototype.Eb,_.prototype.entries=function(){var r=[],i=tt(this);i.sort();for(var l=0;l<i.length;l++){var f=this.a[i[l]];r.push([f.key,q(this,f)])}return new Q(r)},_.prototype.entries=_.prototype.entries,_.prototype.keys=function(){var r=[],i=tt(this);i.sort();for(var l=0;l<i.length;l++)r.push(this.a[i[l]].key);return new Q(r)},_.prototype.keys=_.prototype.keys,_.prototype.values=function(){var r=[],i=tt(this);i.sort();for(var l=0;l<i.length;l++)r.push(q(this,this.a[i[l]]));return new Q(r)},_.prototype.values=_.prototype.values,_.prototype.forEach=function(r,i){var l=tt(this);l.sort();for(var f=0;f<l.length;f++){var R=this.a[l[f]];r.call(i,q(this,R),R.key,this)}},_.prototype.forEach=_.prototype.forEach,_.prototype.set=function(r,i){var l=new dt(r);return this.b?(l.a=i,l.value=i.g()):l.value=i,this.a[r.toString()]=l,this.arrClean=!1,this},_.prototype.set=_.prototype.set;function q(r,i){return r.b?(i.a||(i.a=new r.b(i.value)),i.a):i.value}_.prototype.get=function(r){if(r=this.a[r.toString()])return q(this,r)},_.prototype.get=_.prototype.get,_.prototype.has=function(r){return r.toString()in this.a},_.prototype.has=_.prototype.has,_.prototype.Jc=function(r,i,l,f,R){var O=tt(this);O.sort();for(var W=0;W<O.length;W++){var gt=this.a[O[W]];i.Va(r),l.call(i,1,gt.key),this.b?f.call(i,2,q(this,gt),R):f.call(i,2,gt.value),i.Ya()}},_.prototype.serializeBinary=_.prototype.Jc,_.deserializeBinary=function(r,i,l,f,R,O,W){for(;i.oa()&&!i.bb();){var gt=i.c;gt==1?O=l.call(i):gt==2&&(r.b?(x(R),W||(W=new r.b),f.call(i,W,R)):W=f.call(i))}x(O!=null),x(W!=null),r.set(O,W)};function tt(r){r=r.a;var i=[],l;for(l in r)Object.prototype.hasOwnProperty.call(r,l)&&i.push(l);return i}function dt(r,i){this.key=r,this.value=i,this.a=void 0}function bt(r){if(8192>=r.length)return String.fromCharCode.apply(null,r);for(var i="",l=0;l<r.length;l+=8192)i+=String.fromCharCode.apply(null,z(r,l,l+8192));return i}var it={"\0":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},xt={"'":"\\'"},Ct={},Qt=null;function fe(r,i){i===void 0&&(i=0),st(),i=Ct[i];for(var l=[],f=0;f<r.length;f+=3){var R=r[f],O=f+1<r.length,W=O?r[f+1]:0,gt=f+2<r.length,re=gt?r[f+2]:0,Gr=R>>2;R=(R&3)<<4|W>>4,W=(W&15)<<2|re>>6,re&=63,gt||(re=64,O||(W=64)),l.push(i[Gr],i[R],i[W]||"",i[re]||"")}return l.join("")}function Ft(r){var i=r.length,l=3*i/4;l%3?l=Math.floor(l):"=.".indexOf(r[i-1])!=-1&&(l="=.".indexOf(r[i-2])!=-1?l-2:l-1);var f=new Uint8Array(l),R=0;return Wt(r,function(O){f[R++]=O}),f.subarray(0,R)}function Wt(r,i){function l(re){for(;f<r.length;){var Gr=r.charAt(f++),gp=Qt[Gr];if(gp!=null)return gp;if(!/^[\s\xa0]*$/.test(Gr))throw Error("Unknown base64 encoding at char: "+Gr)}return re}st();for(var f=0;;){var R=l(-1),O=l(0),W=l(64),gt=l(64);if(gt===64&&R===-1)break;i(R<<2|O>>4),W!=64&&(i(O<<4&240|W>>2),gt!=64&&i(W<<6&192|gt))}}function st(){if(!Qt){Qt={};for(var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),i=["+/=","+/","-_=","-_.","-_"],l=0;5>l;l++){var f=r.concat(i[l].split(""));Ct[l]=f;for(var R=0;R<f.length;R++){var O=f[R];Qt[O]===void 0&&(Qt[O]=R)}}}}y("jspb.ConstBinaryMessage",function(){},void 0),y("jspb.BinaryMessage",function(){},void 0),y("jspb.BinaryConstants.FieldType",{yb:-1,ee:1,FLOAT:2,ke:3,te:4,je:5,xb:6,wb:7,BOOL:8,re:9,ie:10,le:11,ce:12,se:13,ge:14,me:15,ne:16,oe:17,pe:18,he:30,ve:31},void 0),y("jspb.BinaryConstants.WireType",{yb:-1,ue:0,xb:1,de:2,qe:3,fe:4,wb:5},void 0),y("jspb.BinaryConstants.FieldTypeToWireType",function(r){switch(r){case 5:case 3:case 13:case 4:case 17:case 18:case 8:case 14:case 31:return 0;case 1:case 6:case 16:case 30:return 1;case 9:case 11:case 12:return 2;case 2:case 7:case 15:return 5;default:return-1}},void 0),y("jspb.BinaryConstants.INVALID_FIELD_NUMBER",-1,void 0),y("jspb.BinaryConstants.FLOAT32_EPS",1401298464324817e-60,void 0),y("jspb.BinaryConstants.FLOAT32_MIN",11754943508222875e-54,void 0),y("jspb.BinaryConstants.FLOAT32_MAX",34028234663852886e22,void 0),y("jspb.BinaryConstants.FLOAT64_EPS",5e-324,void 0),y("jspb.BinaryConstants.FLOAT64_MIN",22250738585072014e-324,void 0),y("jspb.BinaryConstants.FLOAT64_MAX",17976931348623157e292,void 0),y("jspb.BinaryConstants.TWO_TO_20",1048576,void 0),y("jspb.BinaryConstants.TWO_TO_23",8388608,void 0),y("jspb.BinaryConstants.TWO_TO_31",2147483648,void 0),y("jspb.BinaryConstants.TWO_TO_32",4294967296,void 0),y("jspb.BinaryConstants.TWO_TO_52",4503599627370496,void 0),y("jspb.BinaryConstants.TWO_TO_63",9223372036854776e3,void 0),y("jspb.BinaryConstants.TWO_TO_64",18446744073709552e3,void 0),y("jspb.BinaryConstants.ZERO_HASH","\0\0\0\0\0\0\0\0",void 0);var rt=0,nt=0;y("jspb.utils.getSplit64Low",function(){return rt},void 0),y("jspb.utils.getSplit64High",function(){return nt},void 0);function Rt(r){var i=r>>>0;r=Math.floor((r-i)/4294967296)>>>0,rt=i,nt=r}y("jspb.utils.splitUint64",Rt,void 0);function ut(r){var i=0>r;r=Math.abs(r);var l=r>>>0;r=Math.floor((r-l)/4294967296),r>>>=0,i&&(r=~r>>>0,l=(~l>>>0)+1,4294967295<l&&(l=0,r++,4294967295<r&&(r=0))),rt=l,nt=r}y("jspb.utils.splitInt64",ut,void 0);function u(r){var i=0>r;r=2*Math.abs(r),Rt(r),r=rt;var l=nt;i&&(r==0?l==0?l=r=4294967295:(l--,r=4294967295):r--),rt=r,nt=l}y("jspb.utils.splitZigzag64",u,void 0);function w(r){var i=0>r?1:0;if(r=i?-r:r,r===0)0<1/r?rt=nt=0:(nt=0,rt=2147483648);else if(isNaN(r))nt=0,rt=2147483647;else if(34028234663852886e22<r)nt=0,rt=(i<<31|2139095040)>>>0;else if(11754943508222875e-54>r)r=Math.round(r/Math.pow(2,-149)),nt=0,rt=(i<<31|r)>>>0;else{var l=Math.floor(Math.log(r)/Math.LN2);r*=Math.pow(2,-l),r=Math.round(8388608*r),16777216<=r&&++l,nt=0,rt=(i<<31|l+127<<23|r&8388607)>>>0}}y("jspb.utils.splitFloat32",w,void 0);function H(r){var i=0>r?1:0;if(r=i?-r:r,r===0)nt=0<1/r?0:2147483648,rt=0;else if(isNaN(r))nt=2147483647,rt=4294967295;else if(17976931348623157e292<r)nt=(i<<31|2146435072)>>>0,rt=0;else if(22250738585072014e-324>r)r/=Math.pow(2,-1074),nt=(i<<31|r/4294967296)>>>0,rt=r>>>0;else{var l=r,f=0;if(2<=l)for(;2<=l&&1023>f;)f++,l/=2;else for(;1>l&&-1022<f;)l*=2,f--;r*=Math.pow(2,-f),nt=(i<<31|f+1023<<20|1048576*r&1048575)>>>0,rt=4503599627370496*r>>>0}}y("jspb.utils.splitFloat64",H,void 0);function he(r){var i=r.charCodeAt(4),l=r.charCodeAt(5),f=r.charCodeAt(6),R=r.charCodeAt(7);rt=r.charCodeAt(0)+(r.charCodeAt(1)<<8)+(r.charCodeAt(2)<<16)+(r.charCodeAt(3)<<24)>>>0,nt=i+(l<<8)+(f<<16)+(R<<24)>>>0}y("jspb.utils.splitHash64",he,void 0);function te(r,i){return 4294967296*i+(r>>>0)}y("jspb.utils.joinUint64",te,void 0);function Ce(r,i){var l=i&2147483648;return l&&(r=~r+1>>>0,i=~i>>>0,r==0&&(i=i+1>>>0)),r=te(r,i),l?-r:r}y("jspb.utils.joinInt64",Ce,void 0);function ee(r,i,l){var f=i>>31;return l(r<<1^f,(i<<1|r>>>31)^f)}y("jspb.utils.toZigzag64",ee,void 0);function ae(r,i){return Ae(r,i,Ce)}y("jspb.utils.joinZigzag64",ae,void 0);function Ae(r,i,l){var f=-(r&1);return l((r>>>1|i<<31)^f,i>>>1^f)}y("jspb.utils.fromZigzag64",Ae,void 0);function Lt(r){var i=2*(r>>31)+1,l=r>>>23&255;return r&=8388607,l==255?r?NaN:1/0*i:l==0?i*Math.pow(2,-149)*r:i*Math.pow(2,l-150)*(r+Math.pow(2,23))}y("jspb.utils.joinFloat32",Lt,void 0);function ye(r,i){var l=2*(i>>31)+1,f=i>>>20&2047;return r=4294967296*(i&1048575)+r,f==2047?r?NaN:1/0*l:f==0?l*Math.pow(2,-1074)*r:l*Math.pow(2,f-1075)*(r+4503599627370496)}y("jspb.utils.joinFloat64",ye,void 0);function me(r,i){return String.fromCharCode(r>>>0&255,r>>>8&255,r>>>16&255,r>>>24&255,i>>>0&255,i>>>8&255,i>>>16&255,i>>>24&255)}y("jspb.utils.joinHash64",me,void 0),y("jspb.utils.DIGITS","0123456789abcdef".split(""),void 0);function be(r,i){function l(R,O){return R=R?String(R):"",O?"0000000".slice(R.length)+R:R}if(2097151>=i)return""+te(r,i);var f=(r>>>24|i<<8)>>>0&16777215;return i=i>>16&65535,r=(r&16777215)+6777216*f+6710656*i,f+=8147497*i,i*=2,1e7<=r&&(f+=Math.floor(r/1e7),r%=1e7),1e7<=f&&(i+=Math.floor(f/1e7),f%=1e7),l(i,0)+l(f,i)+l(r,1)}y("jspb.utils.joinUnsignedDecimalString",be,void 0);function ue(r,i){var l=i&2147483648;return l&&(r=~r+1>>>0,i=~i+(r==0?1:0)>>>0),r=be(r,i),l?"-"+r:r}y("jspb.utils.joinSignedDecimalString",ue,void 0);function ve(r,i){he(r),r=rt;var l=nt;return i?ue(r,l):be(r,l)}y("jspb.utils.hash64ToDecimalString",ve,void 0),y("jspb.utils.hash64ArrayToDecimalStrings",function(r,i){for(var l=Array(r.length),f=0;f<r.length;f++)l[f]=ve(r[f],i);return l},void 0);function xe(r){function i(W,gt){for(var re=0;8>re&&(W!==1||0<gt);re++)gt=W*R[re]+gt,R[re]=gt&255,gt>>>=8}function l(){for(var W=0;8>W;W++)R[W]=~R[W]&255}x(0<r.length);var f=!1;r[0]==="-"&&(f=!0,r=r.slice(1));for(var R=[0,0,0,0,0,0,0,0],O=0;O<r.length;O++)i(10,r.charCodeAt(O)-48);return f&&(l(),i(1,1)),bt(R)}y("jspb.utils.decimalStringToHash64",xe,void 0),y("jspb.utils.splitDecimalString",function(r){he(xe(r))},void 0);function _e(r){return String.fromCharCode(10>r?48+r:87+r)}function ar(r){return 97<=r?r-97+10:r-48}y("jspb.utils.hash64ToHexString",function(r){var i=Array(18);i[0]="0",i[1]="x";for(var l=0;8>l;l++){var f=r.charCodeAt(7-l);i[2*l+2]=_e(f>>4),i[2*l+3]=_e(f&15)}return i.join("")},void 0),y("jspb.utils.hexStringToHash64",function(r){r=r.toLowerCase(),x(r.length==18),x(r[0]=="0"),x(r[1]=="x");for(var i="",l=0;8>l;l++)i=String.fromCharCode(16*ar(r.charCodeAt(2*l+2))+ar(r.charCodeAt(2*l+3)))+i;return i},void 0),y("jspb.utils.hash64ToNumber",function(r,i){he(r),r=rt;var l=nt;return i?Ce(r,l):te(r,l)},void 0),y("jspb.utils.numberToHash64",function(r){return ut(r),me(rt,nt)},void 0),y("jspb.utils.countVarints",function(r,i,l){for(var f=0,R=i;R<l;R++)f+=r[R]>>7;return l-i-f},void 0),y("jspb.utils.countVarintFields",function(r,i,l,f){var R=0;if(f*=8,128>f)for(;i<l&&r[i++]==f;)for(R++;;){var O=r[i++];if(!(O&128))break}else for(;i<l;){for(O=f;128<O;){if(r[i]!=(O&127|128))return R;i++,O>>=7}if(r[i++]!=O)break;for(R++;O=r[i++],(O&128)!=0;);}return R},void 0);function yt(r,i,l,f,R){var O=0;if(128>f)for(;i<l&&r[i++]==f;)O++,i+=R;else for(;i<l;){for(var W=f;128<W;){if(r[i++]!=(W&127|128))return O;W>>=7}if(r[i++]!=W)break;O++,i+=R}return O}y("jspb.utils.countFixed32Fields",function(r,i,l,f){return yt(r,i,l,8*f+5,4)},void 0),y("jspb.utils.countFixed64Fields",function(r,i,l,f){return yt(r,i,l,8*f+1,8)},void 0),y("jspb.utils.countDelimitedFields",function(r,i,l,f){var R=0;for(f=8*f+2;i<l;){for(var O=f;128<O;){if(r[i++]!=(O&127|128))return R;O>>=7}if(r[i++]!=O)break;R++;for(var W=0,gt=1;O=r[i++],W+=(O&127)*gt,gt*=128,(O&128)!=0;);i+=W}return R},void 0),y("jspb.utils.debugBytesToTextFormat",function(r){var i='"';if(r){r=le(r);for(var l=0;l<r.length;l++)i+="\\x",16>r[l]&&(i+="0"),i+=r[l].toString(16)}return i+'"'},void 0),y("jspb.utils.debugScalarToTextFormat",function(r){if(typeof r=="string"){r=String(r);for(var i=['"'],l=0;l<r.length;l++){var f=r.charAt(l),R=f.charCodeAt(0),O=l+1,W;(W=it[f])||(31<R&&127>R||(R=f,R in xt?f=xt[R]:R in it?f=xt[R]=it[R]:(W=R.charCodeAt(0),31<W&&127>W?f=R:(256>W?(f="\\x",(16>W||256<W)&&(f+="0")):(f="\\u",4096>W&&(f+="0")),f+=W.toString(16).toUpperCase()),f=xt[R]=f)),W=f),i[O]=W}i.push('"'),r=i.join("")}else r=r.toString();return r},void 0),y("jspb.utils.stringToByteArray",function(r){for(var i=new Uint8Array(r.length),l=0;l<r.length;l++){var f=r.charCodeAt(l);if(255<f)throw Error("Conversion error: string contains codepoint outside of byte range");i[l]=f}return i},void 0);function le(r){return r.constructor===Uint8Array?r:r.constructor===ArrayBuffer?new Uint8Array(r):r.constructor===Array?new Uint8Array(r):r.constructor===String?Ft(r):r instanceof Uint8Array?new Uint8Array(r.buffer,r.byteOffset,r.byteLength):(L("Type not convertible to Uint8Array."),new Uint8Array(0))}y("jspb.utils.byteSourceToUint8Array",le,void 0);function B(r,i,l){this.b=null,this.a=this.c=this.h=0,this.v=!1,r&&this.H(r,i,l)}y("jspb.BinaryDecoder",B,void 0);var Re=[];B.getInstanceCacheLength=function(){return Re.length};function lr(r,i,l){if(Re.length){var f=Re.pop();return r&&f.H(r,i,l),f}return new B(r,i,l)}B.alloc=lr,B.prototype.Ca=function(){this.clear(),100>Re.length&&Re.push(this)},B.prototype.free=B.prototype.Ca,B.prototype.clone=function(){return lr(this.b,this.h,this.c-this.h)},B.prototype.clone=B.prototype.clone,B.prototype.clear=function(){this.b=null,this.a=this.c=this.h=0,this.v=!1},B.prototype.clear=B.prototype.clear,B.prototype.Y=function(){return this.b},B.prototype.getBuffer=B.prototype.Y,B.prototype.H=function(r,i,l){this.b=le(r),this.h=i!==void 0?i:0,this.c=l!==void 0?this.h+l:this.b.length,this.a=this.h},B.prototype.setBlock=B.prototype.H,B.prototype.Db=function(){return this.c},B.prototype.getEnd=B.prototype.Db,B.prototype.setEnd=function(r){this.c=r},B.prototype.setEnd=B.prototype.setEnd,B.prototype.reset=function(){this.a=this.h},B.prototype.reset=B.prototype.reset,B.prototype.B=function(){return this.a},B.prototype.getCursor=B.prototype.B,B.prototype.Ma=function(r){this.a=r},B.prototype.setCursor=B.prototype.Ma,B.prototype.advance=function(r){this.a+=r,x(this.a<=this.c)},B.prototype.advance=B.prototype.advance,B.prototype.ya=function(){return this.a==this.c},B.prototype.atEnd=B.prototype.ya,B.prototype.Qb=function(){return this.a>this.c},B.prototype.pastEnd=B.prototype.Qb,B.prototype.getError=function(){return this.v||0>this.a||this.a>this.c},B.prototype.getError=B.prototype.getError,B.prototype.w=function(r){for(var i=128,l=0,f=0,R=0;4>R&&128<=i;R++)i=this.b[this.a++],l|=(i&127)<<7*R;if(128<=i&&(i=this.b[this.a++],l|=(i&127)<<28,f|=(i&127)>>4),128<=i)for(R=0;5>R&&128<=i;R++)i=this.b[this.a++],f|=(i&127)<<7*R+3;if(128>i)return r(l>>>0,f>>>0);L("Failed to read varint, encoding is invalid."),this.v=!0},B.prototype.readSplitVarint64=B.prototype.w,B.prototype.ea=function(r){return this.w(function(i,l){return Ae(i,l,r)})},B.prototype.readSplitZigzagVarint64=B.prototype.ea,B.prototype.ta=function(r){var i=this.b,l=this.a;this.a+=8;for(var f=0,R=0,O=l+7;O>=l;O--)f=f<<8|i[O],R=R<<8|i[O+4];return r(f,R)},B.prototype.readSplitFixed64=B.prototype.ta,B.prototype.kb=function(){for(;this.b[this.a]&128;)this.a++;this.a++},B.prototype.skipVarint=B.prototype.kb,B.prototype.mb=function(r){for(;128<r;)this.a--,r>>>=7;this.a--},B.prototype.unskipVarint=B.prototype.mb,B.prototype.o=function(){var r=this.b,i=r[this.a],l=i&127;return 128>i?(this.a+=1,x(this.a<=this.c),l):(i=r[this.a+1],l|=(i&127)<<7,128>i?(this.a+=2,x(this.a<=this.c),l):(i=r[this.a+2],l|=(i&127)<<14,128>i?(this.a+=3,x(this.a<=this.c),l):(i=r[this.a+3],l|=(i&127)<<21,128>i?(this.a+=4,x(this.a<=this.c),l):(i=r[this.a+4],l|=(i&15)<<28,128>i?(this.a+=5,x(this.a<=this.c),l>>>0):(this.a+=5,128<=r[this.a++]&&128<=r[this.a++]&&128<=r[this.a++]&&128<=r[this.a++]&&128<=r[this.a++]&&x(!1),x(this.a<=this.c),l)))))},B.prototype.readUnsignedVarint32=B.prototype.o,B.prototype.da=function(){return~~this.o()},B.prototype.readSignedVarint32=B.prototype.da,B.prototype.O=function(){return this.o().toString()},B.prototype.Ea=function(){return this.da().toString()},B.prototype.readSignedVarint32String=B.prototype.Ea,B.prototype.Ia=function(){var r=this.o();return r>>>1^-(r&1)},B.prototype.readZigzagVarint32=B.prototype.Ia,B.prototype.Ga=function(){return this.w(te)},B.prototype.readUnsignedVarint64=B.prototype.Ga,B.prototype.Ha=function(){return this.w(be)},B.prototype.readUnsignedVarint64String=B.prototype.Ha,B.prototype.sa=function(){return this.w(Ce)},B.prototype.readSignedVarint64=B.prototype.sa,B.prototype.Fa=function(){return this.w(ue)},B.prototype.readSignedVarint64String=B.prototype.Fa,B.prototype.Ja=function(){return this.w(ae)},B.prototype.readZigzagVarint64=B.prototype.Ja,B.prototype.fb=function(){return this.ea(me)},B.prototype.readZigzagVarintHash64=B.prototype.fb,B.prototype.Ka=function(){return this.ea(ue)},B.prototype.readZigzagVarint64String=B.prototype.Ka,B.prototype.Gc=function(){var r=this.b[this.a];return this.a+=1,x(this.a<=this.c),r},B.prototype.readUint8=B.prototype.Gc,B.prototype.Ec=function(){var r=this.b[this.a],i=this.b[this.a+1];return this.a+=2,x(this.a<=this.c),r<<0|i<<8},B.prototype.readUint16=B.prototype.Ec,B.prototype.m=function(){var r=this.b[this.a],i=this.b[this.a+1],l=this.b[this.a+2],f=this.b[this.a+3];return this.a+=4,x(this.a<=this.c),(r<<0|i<<8|l<<16|f<<24)>>>0},B.prototype.readUint32=B.prototype.m,B.prototype.ga=function(){var r=this.m(),i=this.m();return te(r,i)},B.prototype.readUint64=B.prototype.ga,B.prototype.ha=function(){var r=this.m(),i=this.m();return be(r,i)},B.prototype.readUint64String=B.prototype.ha,B.prototype.Xb=function(){var r=this.b[this.a];return this.a+=1,x(this.a<=this.c),r<<24>>24},B.prototype.readInt8=B.prototype.Xb,B.prototype.Vb=function(){var r=this.b[this.a],i=this.b[this.a+1];return this.a+=2,x(this.a<=this.c),(r<<0|i<<8)<<16>>16},B.prototype.readInt16=B.prototype.Vb,B.prototype.P=function(){var r=this.b[this.a],i=this.b[this.a+1],l=this.b[this.a+2],f=this.b[this.a+3];return this.a+=4,x(this.a<=this.c),r<<0|i<<8|l<<16|f<<24},B.prototype.readInt32=B.prototype.P,B.prototype.ba=function(){var r=this.m(),i=this.m();return Ce(r,i)},B.prototype.readInt64=B.prototype.ba,B.prototype.ca=function(){var r=this.m(),i=this.m();return ue(r,i)},B.prototype.readInt64String=B.prototype.ca,B.prototype.aa=function(){var r=this.m();return Lt(r)},B.prototype.readFloat=B.prototype.aa,B.prototype.Z=function(){var r=this.m(),i=this.m();return ye(r,i)},B.prototype.readDouble=B.prototype.Z,B.prototype.pa=function(){return!!this.b[this.a++]},B.prototype.readBool=B.prototype.pa,B.prototype.ra=function(){return this.da()},B.prototype.readEnum=B.prototype.ra,B.prototype.fa=function(r){var i=this.b,l=this.a;r=l+r;for(var f=[],R="";l<r;){var O=i[l++];if(128>O)f.push(O);else{if(192>O)continue;if(224>O){var W=i[l++];f.push((O&31)<<6|W&63)}else if(240>O){W=i[l++];var gt=i[l++];f.push((O&15)<<12|(W&63)<<6|gt&63)}else if(248>O){W=i[l++],gt=i[l++];var re=i[l++];O=(O&7)<<18|(W&63)<<12|(gt&63)<<6|re&63,O-=65536,f.push((O>>10&1023)+55296,(O&1023)+56320)}}8192<=f.length&&(R+=String.fromCharCode.apply(null,f),f.length=0)}return R+=bt(f),this.a=l,R},B.prototype.readString=B.prototype.fa,B.prototype.Dc=function(){var r=this.o();return this.fa(r)},B.prototype.readStringWithLength=B.prototype.Dc,B.prototype.qa=function(r){if(0>r||this.a+r>this.b.length)return this.v=!0,L("Invalid byte length!"),new Uint8Array(0);var i=this.b.subarray(this.a,this.a+r);return this.a+=r,x(this.a<=this.c),i},B.prototype.readBytes=B.prototype.qa,B.prototype.ia=function(){return this.w(me)},B.prototype.readVarintHash64=B.prototype.ia,B.prototype.$=function(){var r=this.b,i=this.a,l=r[i],f=r[i+1],R=r[i+2],O=r[i+3],W=r[i+4],gt=r[i+5],re=r[i+6];return r=r[i+7],this.a+=8,String.fromCharCode(l,f,R,O,W,gt,re,r)},B.prototype.readFixedHash64=B.prototype.$;function C(r,i,l){this.a=lr(r,i,l),this.O=this.a.B(),this.b=this.c=-1,this.h=!1,this.v=null}y("jspb.BinaryReader",C,void 0);var Z=[];C.clearInstanceCache=function(){Z=[]},C.getInstanceCacheLength=function(){return Z.length};function lt(r,i,l){if(Z.length){var f=Z.pop();return r&&f.a.H(r,i,l),f}return new C(r,i,l)}C.alloc=lt,C.prototype.zb=lt,C.prototype.alloc=C.prototype.zb,C.prototype.Ca=function(){this.a.clear(),this.b=this.c=-1,this.h=!1,this.v=null,100>Z.length&&Z.push(this)},C.prototype.free=C.prototype.Ca,C.prototype.Fb=function(){return this.O},C.prototype.getFieldCursor=C.prototype.Fb,C.prototype.B=function(){return this.a.B()},C.prototype.getCursor=C.prototype.B,C.prototype.Y=function(){return this.a.Y()},C.prototype.getBuffer=C.prototype.Y,C.prototype.Hb=function(){return this.c},C.prototype.getFieldNumber=C.prototype.Hb,C.prototype.Lb=function(){return this.b},C.prototype.getWireType=C.prototype.Lb,C.prototype.Mb=function(){return this.b==2},C.prototype.isDelimited=C.prototype.Mb,C.prototype.bb=function(){return this.b==4},C.prototype.isEndGroup=C.prototype.bb,C.prototype.getError=function(){return this.h||this.a.getError()},C.prototype.getError=C.prototype.getError,C.prototype.H=function(r,i,l){this.a.H(r,i,l),this.b=this.c=-1},C.prototype.setBlock=C.prototype.H,C.prototype.reset=function(){this.a.reset(),this.b=this.c=-1},C.prototype.reset=C.prototype.reset,C.prototype.advance=function(r){this.a.advance(r)},C.prototype.advance=C.prototype.advance,C.prototype.oa=function(){if(this.a.ya())return!1;if(this.getError())return L("Decoder hit an error"),!1;this.O=this.a.B();var r=this.a.o(),i=r>>>3;return r&=7,r!=0&&r!=5&&r!=1&&r!=2&&r!=3&&r!=4?(L("Invalid wire type: %s (at position %s)",r,this.O),this.h=!0,!1):(this.c=i,this.b=r,!0)},C.prototype.nextField=C.prototype.oa,C.prototype.Oa=function(){this.a.mb(this.c<<3|this.b)},C.prototype.unskipHeader=C.prototype.Oa,C.prototype.Lc=function(){var r=this.c;for(this.Oa();this.oa()&&this.c==r;)this.C();this.a.ya()||this.Oa()},C.prototype.skipMatchingFields=C.prototype.Lc,C.prototype.lb=function(){this.b!=0?(L("Invalid wire type for skipVarintField"),this.C()):this.a.kb()},C.prototype.skipVarintField=C.prototype.lb,C.prototype.gb=function(){if(this.b!=2)L("Invalid wire type for skipDelimitedField"),this.C();else{var r=this.a.o();this.a.advance(r)}},C.prototype.skipDelimitedField=C.prototype.gb,C.prototype.hb=function(){this.b!=5?(L("Invalid wire type for skipFixed32Field"),this.C()):this.a.advance(4)},C.prototype.skipFixed32Field=C.prototype.hb,C.prototype.ib=function(){this.b!=1?(L("Invalid wire type for skipFixed64Field"),this.C()):this.a.advance(8)},C.prototype.skipFixed64Field=C.prototype.ib,C.prototype.jb=function(){var r=this.c;do{if(!this.oa()){L("Unmatched start-group tag: stream EOF"),this.h=!0;break}if(this.b==4){this.c!=r&&(L("Unmatched end-group tag"),this.h=!0);break}this.C()}while(1)},C.prototype.skipGroup=C.prototype.jb,C.prototype.C=function(){switch(this.b){case 0:this.lb();break;case 1:this.ib();break;case 2:this.gb();break;case 5:this.hb();break;case 3:this.jb();break;default:L("Invalid wire encoding for field.")}},C.prototype.skipField=C.prototype.C,C.prototype.Hc=function(r,i){this.v===null&&(this.v={}),x(!this.v[r]),this.v[r]=i},C.prototype.registerReadCallback=C.prototype.Hc,C.prototype.Ic=function(r){return x(this.v!==null),r=this.v[r],x(r),r(this)},C.prototype.runReadCallback=C.prototype.Ic,C.prototype.Yb=function(r,i){x(this.b==2);var l=this.a.c,f=this.a.o();f=this.a.B()+f,this.a.setEnd(f),i(r,this),this.a.Ma(f),this.a.setEnd(l)},C.prototype.readMessage=C.prototype.Yb,C.prototype.Ub=function(r,i,l){x(this.b==3),x(this.c==r),l(i,this),this.h||this.b==4||(L("Group submessage did not end with an END_GROUP tag"),this.h=!0)},C.prototype.readGroup=C.prototype.Ub,C.prototype.Gb=function(){x(this.b==2);var r=this.a.o(),i=this.a.B(),l=i+r;return r=lr(this.a.Y(),i,r),this.a.Ma(l),r},C.prototype.getFieldDecoder=C.prototype.Gb,C.prototype.P=function(){return x(this.b==0),this.a.da()},C.prototype.readInt32=C.prototype.P,C.prototype.Wb=function(){return x(this.b==0),this.a.Ea()},C.prototype.readInt32String=C.prototype.Wb,C.prototype.ba=function(){return x(this.b==0),this.a.sa()},C.prototype.readInt64=C.prototype.ba,C.prototype.ca=function(){return x(this.b==0),this.a.Fa()},C.prototype.readInt64String=C.prototype.ca,C.prototype.m=function(){return x(this.b==0),this.a.o()},C.prototype.readUint32=C.prototype.m,C.prototype.Fc=function(){return x(this.b==0),this.a.O()},C.prototype.readUint32String=C.prototype.Fc,C.prototype.ga=function(){return x(this.b==0),this.a.Ga()},C.prototype.readUint64=C.prototype.ga,C.prototype.ha=function(){return x(this.b==0),this.a.Ha()},C.prototype.readUint64String=C.prototype.ha,C.prototype.zc=function(){return x(this.b==0),this.a.Ia()},C.prototype.readSint32=C.prototype.zc,C.prototype.Ac=function(){return x(this.b==0),this.a.Ja()},C.prototype.readSint64=C.prototype.Ac,C.prototype.Bc=function(){return x(this.b==0),this.a.Ka()},C.prototype.readSint64String=C.prototype.Bc,C.prototype.Rb=function(){return x(this.b==5),this.a.m()},C.prototype.readFixed32=C.prototype.Rb,C.prototype.Sb=function(){return x(this.b==1),this.a.ga()},C.prototype.readFixed64=C.prototype.Sb,C.prototype.Tb=function(){return x(this.b==1),this.a.ha()},C.prototype.readFixed64String=C.prototype.Tb,C.prototype.vc=function(){return x(this.b==5),this.a.P()},C.prototype.readSfixed32=C.prototype.vc,C.prototype.wc=function(){return x(this.b==5),this.a.P().toString()},C.prototype.readSfixed32String=C.prototype.wc,C.prototype.xc=function(){return x(this.b==1),this.a.ba()},C.prototype.readSfixed64=C.prototype.xc,C.prototype.yc=function(){return x(this.b==1),this.a.ca()},C.prototype.readSfixed64String=C.prototype.yc,C.prototype.aa=function(){return x(this.b==5),this.a.aa()},C.prototype.readFloat=C.prototype.aa,C.prototype.Z=function(){return x(this.b==1),this.a.Z()},C.prototype.readDouble=C.prototype.Z,C.prototype.pa=function(){return x(this.b==0),!!this.a.o()},C.prototype.readBool=C.prototype.pa,C.prototype.ra=function(){return x(this.b==0),this.a.sa()},C.prototype.readEnum=C.prototype.ra,C.prototype.fa=function(){x(this.b==2);var r=this.a.o();return this.a.fa(r)},C.prototype.readString=C.prototype.fa,C.prototype.qa=function(){x(this.b==2);var r=this.a.o();return this.a.qa(r)},C.prototype.readBytes=C.prototype.qa,C.prototype.ia=function(){return x(this.b==0),this.a.ia()},C.prototype.readVarintHash64=C.prototype.ia,C.prototype.Cc=function(){return x(this.b==0),this.a.fb()},C.prototype.readSintHash64=C.prototype.Cc,C.prototype.w=function(r){return x(this.b==0),this.a.w(r)},C.prototype.readSplitVarint64=C.prototype.w,C.prototype.ea=function(r){return x(this.b==0),this.a.w(function(i,l){return Ae(i,l,r)})},C.prototype.readSplitZigzagVarint64=C.prototype.ea,C.prototype.$=function(){return x(this.b==1),this.a.$()},C.prototype.readFixedHash64=C.prototype.$,C.prototype.ta=function(r){return x(this.b==1),this.a.ta(r)},C.prototype.readSplitFixed64=C.prototype.ta;function ct(r,i){x(r.b==2);var l=r.a.o();l=r.a.B()+l;for(var f=[];r.a.B()<l;)f.push(i.call(r.a));return f}C.prototype.gc=function(){return ct(this,this.a.da)},C.prototype.readPackedInt32=C.prototype.gc,C.prototype.hc=function(){return ct(this,this.a.Ea)},C.prototype.readPackedInt32String=C.prototype.hc,C.prototype.ic=function(){return ct(this,this.a.sa)},C.prototype.readPackedInt64=C.prototype.ic,C.prototype.jc=function(){return ct(this,this.a.Fa)},C.prototype.readPackedInt64String=C.prototype.jc,C.prototype.qc=function(){return ct(this,this.a.o)},C.prototype.readPackedUint32=C.prototype.qc,C.prototype.rc=function(){return ct(this,this.a.O)},C.prototype.readPackedUint32String=C.prototype.rc,C.prototype.sc=function(){return ct(this,this.a.Ga)},C.prototype.readPackedUint64=C.prototype.sc,C.prototype.tc=function(){return ct(this,this.a.Ha)},C.prototype.readPackedUint64String=C.prototype.tc,C.prototype.nc=function(){return ct(this,this.a.Ia)},C.prototype.readPackedSint32=C.prototype.nc,C.prototype.oc=function(){return ct(this,this.a.Ja)},C.prototype.readPackedSint64=C.prototype.oc,C.prototype.pc=function(){return ct(this,this.a.Ka)},C.prototype.readPackedSint64String=C.prototype.pc,C.prototype.bc=function(){return ct(this,this.a.m)},C.prototype.readPackedFixed32=C.prototype.bc,C.prototype.cc=function(){return ct(this,this.a.ga)},C.prototype.readPackedFixed64=C.prototype.cc,C.prototype.dc=function(){return ct(this,this.a.ha)},C.prototype.readPackedFixed64String=C.prototype.dc,C.prototype.kc=function(){return ct(this,this.a.P)},C.prototype.readPackedSfixed32=C.prototype.kc,C.prototype.lc=function(){return ct(this,this.a.ba)},C.prototype.readPackedSfixed64=C.prototype.lc,C.prototype.mc=function(){return ct(this,this.a.ca)},C.prototype.readPackedSfixed64String=C.prototype.mc,C.prototype.fc=function(){return ct(this,this.a.aa)},C.prototype.readPackedFloat=C.prototype.fc,C.prototype.$b=function(){return ct(this,this.a.Z)},C.prototype.readPackedDouble=C.prototype.$b,C.prototype.Zb=function(){return ct(this,this.a.pa)},C.prototype.readPackedBool=C.prototype.Zb,C.prototype.ac=function(){return ct(this,this.a.ra)},C.prototype.readPackedEnum=C.prototype.ac,C.prototype.uc=function(){return ct(this,this.a.ia)},C.prototype.readPackedVarintHash64=C.prototype.uc,C.prototype.ec=function(){return ct(this,this.a.$)},C.prototype.readPackedFixedHash64=C.prototype.ec;function wt(r,i,l,f,R){this.ma=r,this.Ba=i,this.la=l,this.Na=f,this.na=R}y("jspb.ExtensionFieldInfo",wt,void 0);function Dt(r,i,l,f,R,O){this.Za=r,this.za=i,this.Aa=l,this.Wa=f,this.Ab=R,this.Nb=O}y("jspb.ExtensionFieldBinaryInfo",Dt,void 0),wt.prototype.F=function(){return!!this.la},wt.prototype.isMessageType=wt.prototype.F;function U(){}y("jspb.Message",U,void 0),U.GENERATE_TO_OBJECT=!0,U.GENERATE_FROM_OBJECT=!0;var we=typeof Uint8Array=="function";U.prototype.Ib=function(){return this.b},U.prototype.getJsPbMessageId=U.prototype.Ib,U.initialize=function(r,i,l,f,R,O){r.f=null,i||(i=l?[l]:[]),r.b=l?String(l):void 0,r.D=l===0?-1:0,r.u=i;t:{if(l=r.u.length,i=-1,l&&(i=l-1,l=r.u[i],!(l===null||typeof l!="object"||Array.isArray(l)||we&&l instanceof Uint8Array))){r.G=i-r.D,r.i=l;break t}-1<f?(r.G=Math.max(f,i+1-r.D),r.i=null):r.G=Number.MAX_VALUE}if(r.a={},R)for(f=0;f<R.length;f++)i=R[f],i<r.G?(i+=r.D,r.u[i]=r.u[i]||Oe):(Ee(r),r.i[i]=r.i[i]||Oe);if(O&&O.length)for(f=0;f<O.length;f++)So(r,O[f])};var Oe=Object.freeze?Object.freeze([]):[];function Ee(r){var i=r.G+r.D;r.u[i]||(r.i=r.u[i]={})}function xr(r,i,l){for(var f=[],R=0;R<r.length;R++)f[R]=i.call(r[R],l,r[R]);return f}U.toObjectList=xr,U.toObjectExtension=function(r,i,l,f,R){for(var O in l){var W=l[O],gt=f.call(r,W);if(gt!=null){for(var re in W.Ba)if(W.Ba.hasOwnProperty(re))break;i[re]=W.Na?W.na?xr(gt,W.Na,R):W.Na(R,gt):gt}}},U.serializeBinaryExtensions=function(r,i,l,f){for(var R in l){var O=l[R],W=O.Za;if(!O.Aa)throw Error("Message extension present that was generated without binary serialization support");var gt=f.call(r,W);if(gt!=null)if(W.F())if(O.Wa)O.Aa.call(i,W.ma,gt,O.Wa);else throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");else O.Aa.call(i,W.ma,gt)}},U.readBinaryExtension=function(r,i,l,f,R){var O=l[i.c];if(O){if(l=O.Za,!O.za)throw Error("Deserializing extension whose generated code does not support binary format");if(l.F()){var W=new l.la;O.za.call(i,W,O.Ab)}else W=O.za.call(i);l.na&&!O.Nb?(i=f.call(r,l))?i.push(W):R.call(r,l,[W]):R.call(r,l,W)}else i.C()};function Te(r,i){if(i<r.G){i+=r.D;var l=r.u[i];return l===Oe?r.u[i]=[]:l}if(r.i)return l=r.i[i],l===Oe?r.i[i]=[]:l}U.getField=Te,U.getRepeatedField=function(r,i){return Te(r,i)};function Di(r,i){return r=Te(r,i),r==null?r:+r}U.getOptionalFloatingPointField=Di;function Ni(r,i){return r=Te(r,i),r==null?r:!!r}U.getBooleanField=Ni,U.getRepeatedFloatingPointField=function(r,i){var l=Te(r,i);if(r.a||(r.a={}),!r.a[i]){for(var f=0;f<l.length;f++)l[f]=+l[f];r.a[i]=!0}return l},U.getRepeatedBooleanField=function(r,i){var l=Te(r,i);if(r.a||(r.a={}),!r.a[i]){for(var f=0;f<l.length;f++)l[f]=!!l[f];r.a[i]=!0}return l};function _i(r){return r==null||typeof r=="string"?r:we&&r instanceof Uint8Array?fe(r):(L("Cannot coerce to b64 string: "+j(r)),null)}U.bytesAsB64=_i;function $n(r){return r==null||r instanceof Uint8Array?r:typeof r=="string"?Ft(r):(L("Cannot coerce to Uint8Array: "+j(r)),null)}U.bytesAsU8=$n,U.bytesListAsB64=function(r){return Li(r),r.length&&typeof r[0]!="string"?I(r,_i):r},U.bytesListAsU8=function(r){return Li(r),!r.length||r[0]instanceof Uint8Array?r:I(r,$n)};function Li(r){if(r&&1<r.length){var i=j(r[0]);D(r,function(l){j(l)!=i&&L("Inconsistent type in JSPB repeated field array. Got "+j(l)+" expected "+i)})}}function jr(r,i,l){return r=Te(r,i),r??l}U.getFieldWithDefault=jr,U.getBooleanFieldWithDefault=function(r,i,l){return r=Ni(r,i),r??l},U.getFloatingPointFieldWithDefault=function(r,i,l){return r=Di(r,i),r??l},U.getFieldProto3=jr,U.getMapField=function(r,i,l,f){if(r.f||(r.f={}),i in r.f)return r.f[i];var R=Te(r,i);if(!R){if(l)return;R=[],Le(r,i,R)}return r.f[i]=new _(R,f)};function Le(r,i,l){return K(r,U),i<r.G?r.u[i+r.D]=l:(Ee(r),r.i[i]=l),r}U.setField=Le,U.setProto3IntField=function(r,i,l){return pe(r,i,l,0)},U.setProto3FloatField=function(r,i,l){return pe(r,i,l,0)},U.setProto3BooleanField=function(r,i,l){return pe(r,i,l,!1)},U.setProto3StringField=function(r,i,l){return pe(r,i,l,"")},U.setProto3BytesField=function(r,i,l){return pe(r,i,l,"")},U.setProto3EnumField=function(r,i,l){return pe(r,i,l,0)},U.setProto3StringIntField=function(r,i,l){return pe(r,i,l,"0")};function pe(r,i,l,f){return K(r,U),l!==f?Le(r,i,l):i<r.G?r.u[i+r.D]=null:(Ee(r),delete r.i[i]),r}U.addToRepeatedField=function(r,i,l,f){return K(r,U),i=Te(r,i),f!=null?i.splice(f,0,l):i.push(l),r};function Pr(r,i,l,f){return K(r,U),(l=So(r,l))&&l!==i&&f!==void 0&&(r.f&&l in r.f&&(r.f[l]=void 0),Le(r,l,void 0)),Le(r,i,f)}U.setOneofField=Pr;function So(r,i){for(var l,f,R=0;R<i.length;R++){var O=i[R],W=Te(r,O);W!=null&&(l=O,f=W,Le(r,O,void 0))}return l?(Le(r,l,f),l):0}U.computeOneofCase=So,U.getWrapperField=function(r,i,l,f){if(r.f||(r.f={}),!r.f[l]){var R=Te(r,l);(f||R)&&(r.f[l]=new i(R))}return r.f[l]},U.getRepeatedWrapperField=function(r,i,l){return $r(r,i,l),i=r.f[l],i==Oe&&(i=r.f[l]=[]),i};function $r(r,i,l){if(r.f||(r.f={}),!r.f[l]){for(var f=Te(r,l),R=[],O=0;O<f.length;O++)R[O]=new i(f[O]);r.f[l]=R}}U.setWrapperField=function(r,i,l){K(r,U),r.f||(r.f={});var f=l&&l.g();return r.f[i]=l,Le(r,i,f)},U.setOneofWrapperField=function(r,i,l,f){K(r,U),r.f||(r.f={});var R=f&&f.g();return r.f[i]=f,Pr(r,i,l,R)},U.setRepeatedWrapperField=function(r,i,l){K(r,U),r.f||(r.f={}),l=l||[];for(var f=[],R=0;R<l.length;R++)f[R]=l[R].g();return r.f[i]=l,Le(r,i,f)},U.addToRepeatedWrapperField=function(r,i,l,f,R){$r(r,f,i);var O=r.f[i];return O||(O=r.f[i]=[]),l=l||new f,r=Te(r,i),R!=null?(O.splice(R,0,l),r.splice(R,0,l.g())):(O.push(l),r.push(l.g())),l},U.toMap=function(r,i,l,f){for(var R={},O=0;O<r.length;O++)R[i.call(r[O])]=l?l.call(r[O],f,r[O]):r[O];return R};function Mn(r){if(r.f)for(var i in r.f){var l=r.f[i];if(Array.isArray(l))for(var f=0;f<l.length;f++)l[f]&&l[f].g();else l&&l.g()}}U.prototype.g=function(){return Mn(this),this.u},U.prototype.toArray=U.prototype.g,U.prototype.toString=function(){return Mn(this),this.u.toString()},U.prototype.getExtension=function(r){if(this.i){this.f||(this.f={});var i=r.ma;if(r.na){if(r.F())return this.f[i]||(this.f[i]=I(this.i[i]||[],function(l){return new r.la(l)})),this.f[i]}else if(r.F())return!this.f[i]&&this.i[i]&&(this.f[i]=new r.la(this.i[i])),this.f[i];return this.i[i]}},U.prototype.getExtension=U.prototype.getExtension,U.prototype.Kc=function(r,i){this.f||(this.f={}),Ee(this);var l=r.ma;return r.na?(i=i||[],r.F()?(this.f[l]=i,this.i[l]=I(i,function(f){return f.g()})):this.i[l]=i):r.F()?(this.f[l]=i,this.i[l]=i&&i.g()):this.i[l]=i,this},U.prototype.setExtension=U.prototype.Kc,U.difference=function(r,i){if(!(r instanceof i.constructor))throw Error("Messages have different types.");var l=r.g();i=i.g();var f=[],R=0,O=l.length>i.length?l.length:i.length;for(r.b&&(f[0]=r.b,R=1);R<O;R++)Mr(l[R],i[R])||(f[R]=i[R]);return new r.constructor(f)},U.equals=function(r,i){return r==i||!(!r||!i)&&r instanceof i.constructor&&Mr(r.g(),i.g())};function An(r,i){r=r||{},i=i||{};var l={},f;for(f in r)l[f]=0;for(f in i)l[f]=0;for(f in l)if(!Mr(r[f],i[f]))return!1;return!0}U.compareExtensions=An;function Mr(r,i){if(r==i)return!0;if(!k(r)||!k(i))return typeof r=="number"&&isNaN(r)||typeof i=="number"&&isNaN(i)?String(r)==String(i):!1;if(r.constructor!=i.constructor)return!1;if(we&&r.constructor===Uint8Array){if(r.length!=i.length)return!1;for(var l=0;l<r.length;l++)if(r[l]!=i[l])return!1;return!0}if(r.constructor===Array){var f=void 0,R=void 0,O=Math.max(r.length,i.length);for(l=0;l<O;l++){var W=r[l],gt=i[l];if(W&&W.constructor==Object&&(x(f===void 0),x(l===r.length-1),f=W,W=void 0),gt&>.constructor==Object&&(x(R===void 0),x(l===i.length-1),R=gt,gt=void 0),!Mr(W,gt))return!1}return f||R?(f=f||{},R=R||{},An(f,R)):!0}if(r.constructor===Object)return An(r,i);throw Error("Invalid type in JSPB array")}U.compareFields=Mr,U.prototype.Bb=function(){return Hr(this)},U.prototype.cloneMessage=U.prototype.Bb,U.prototype.clone=function(){return Hr(this)},U.prototype.clone=U.prototype.clone,U.clone=function(r){return Hr(r)};function Hr(r){return new r.constructor(On(r.g()))}U.copyInto=function(r,i){K(r,U),K(i,U),x(r.constructor==i.constructor,"Copy source and target message should have the same type."),r=Hr(r);for(var l=i.g(),f=r.g(),R=l.length=0;R<f.length;R++)l[R]=f[R];i.f=r.f,i.i=r.i};function On(r){if(Array.isArray(r)){for(var i=Array(r.length),l=0;l<r.length;l++){var f=r[l];f!=null&&(i[l]=typeof f=="object"?On(x(f)):f)}return i}if(we&&r instanceof Uint8Array)return new Uint8Array(r);i={};for(l in r)f=r[l],f!=null&&(i[l]=typeof f=="object"?On(x(f)):f);return i}U.registerMessageType=function(r,i){i.we=r};var We={dump:function(r){return K(r,U,"jspb.Message instance expected"),x(r.getExtension,"Only unobfuscated and unoptimized compilation modes supported."),We.X(r)}};y("jspb.debug.dump",We.dump,void 0),We.X=function(r){var i=j(r);if(i=="number"||i=="string"||i=="boolean"||i=="null"||i=="undefined"||typeof Uint8Array<"u"&&r instanceof Uint8Array)return r;if(i=="array")return G(r),I(r,We.X);if(r instanceof _){var l={};r=r.entries();for(var f=r.next();!f.done;f=r.next())l[f.value[0]]=We.X(f.value[1]);return l}K(r,U,"Only messages expected: "+r),i=r.constructor;var R={$name:i.name||i.displayName};for(gt in i.prototype){var O=/^get([A-Z]\w*)/.exec(gt);if(O&>!="getExtension"&>!="getJsPbMessageId"){var W="has"+O[1];(!r[W]||r[W]())&&(W=r[gt](),R[We.$a(O[1])]=We.X(W))}}if(r.extensionObject_)return R.$extensions="Recursive dumping of extensions not supported in compiled code. Switch to uncompiled or dump extension object directly",R;for(f in i.extensions)if(/^\d+$/.test(f)){W=i.extensions[f];var gt=r.getExtension(W);O=void 0,W=W.Ba;var re=[],Gr=0;for(O in W)re[Gr++]=O;O=re[0],gt!=null&&(l||(l=R.$extensions={}),l[We.$a(O)]=We.X(gt))}return R},We.$a=function(r){return r.replace(/^[A-Z]/,function(i){return i.toLowerCase()})};function Y(){this.a=[]}y("jspb.BinaryEncoder",Y,void 0),Y.prototype.length=function(){return this.a.length},Y.prototype.length=Y.prototype.length,Y.prototype.end=function(){var r=this.a;return this.a=[],r},Y.prototype.end=Y.prototype.end,Y.prototype.l=function(r,i){for(x(r==Math.floor(r)),x(i==Math.floor(i)),x(0<=r&&4294967296>r),x(0<=i&&4294967296>i);0<i||127<r;)this.a.push(r&127|128),r=(r>>>7|i<<25)>>>0,i>>>=7;this.a.push(r)},Y.prototype.writeSplitVarint64=Y.prototype.l,Y.prototype.A=function(r,i){x(r==Math.floor(r)),x(i==Math.floor(i)),x(0<=r&&4294967296>r),x(0<=i&&4294967296>i),this.s(r),this.s(i)},Y.prototype.writeSplitFixed64=Y.prototype.A,Y.prototype.j=function(r){for(x(r==Math.floor(r)),x(0<=r&&4294967296>r);127<r;)this.a.push(r&127|128),r>>>=7;this.a.push(r)},Y.prototype.writeUnsignedVarint32=Y.prototype.j,Y.prototype.M=function(r){if(x(r==Math.floor(r)),x(-2147483648<=r&&2147483648>r),0<=r)this.j(r);else{for(var i=0;9>i;i++)this.a.push(r&127|128),r>>=7;this.a.push(1)}},Y.prototype.writeSignedVarint32=Y.prototype.M,Y.prototype.va=function(r){x(r==Math.floor(r)),x(0<=r&&18446744073709552e3>r),ut(r),this.l(rt,nt)},Y.prototype.writeUnsignedVarint64=Y.prototype.va,Y.prototype.ua=function(r){x(r==Math.floor(r)),x(-9223372036854776e3<=r&&9223372036854776e3>r),ut(r),this.l(rt,nt)},Y.prototype.writeSignedVarint64=Y.prototype.ua,Y.prototype.wa=function(r){x(r==Math.floor(r)),x(-2147483648<=r&&2147483648>r),this.j((r<<1^r>>31)>>>0)},Y.prototype.writeZigzagVarint32=Y.prototype.wa,Y.prototype.xa=function(r){x(r==Math.floor(r)),x(-9223372036854776e3<=r&&9223372036854776e3>r),u(r),this.l(rt,nt)},Y.prototype.writeZigzagVarint64=Y.prototype.xa,Y.prototype.Ta=function(r){this.W(xe(r))},Y.prototype.writeZigzagVarint64String=Y.prototype.Ta,Y.prototype.W=function(r){var i=this;he(r),ee(rt,nt,function(l,f){i.l(l>>>0,f>>>0)})},Y.prototype.writeZigzagVarintHash64=Y.prototype.W,Y.prototype.be=function(r){x(r==Math.floor(r)),x(0<=r&&256>r),this.a.push(r>>>0&255)},Y.prototype.writeUint8=Y.prototype.be,Y.prototype.ae=function(r){x(r==Math.floor(r)),x(0<=r&&65536>r),this.a.push(r>>>0&255),this.a.push(r>>>8&255)},Y.prototype.writeUint16=Y.prototype.ae,Y.prototype.s=function(r){x(r==Math.floor(r)),x(0<=r&&4294967296>r),this.a.push(r>>>0&255),this.a.push(r>>>8&255),this.a.push(r>>>16&255),this.a.push(r>>>24&255)},Y.prototype.writeUint32=Y.prototype.s,Y.prototype.V=function(r){x(r==Math.floor(r)),x(0<=r&&18446744073709552e3>r),Rt(r),this.s(rt),this.s(nt)},Y.prototype.writeUint64=Y.prototype.V,Y.prototype.Qc=function(r){x(r==Math.floor(r)),x(-128<=r&&128>r),this.a.push(r>>>0&255)},Y.prototype.writeInt8=Y.prototype.Qc,Y.prototype.Pc=function(r){x(r==Math.floor(r)),x(-32768<=r&&32768>r),this.a.push(r>>>0&255),this.a.push(r>>>8&255)},Y.prototype.writeInt16=Y.prototype.Pc,Y.prototype.S=function(r){x(r==Math.floor(r)),x(-2147483648<=r&&2147483648>r),this.a.push(r>>>0&255),this.a.push(r>>>8&255),this.a.push(r>>>16&255),this.a.push(r>>>24&255)},Y.prototype.writeInt32=Y.prototype.S,Y.prototype.T=function(r){x(r==Math.floor(r)),x(-9223372036854776e3<=r&&9223372036854776e3>r),ut(r),this.A(rt,nt)},Y.prototype.writeInt64=Y.prototype.T,Y.prototype.ka=function(r){x(r==Math.floor(r)),x(-9223372036854776e3<=+r&&9223372036854776e3>+r),he(xe(r)),this.A(rt,nt)},Y.prototype.writeInt64String=Y.prototype.ka,Y.prototype.L=function(r){x(r===1/0||r===-1/0||isNaN(r)||-34028234663852886e22<=r&&34028234663852886e22>=r),w(r),this.s(rt)},Y.prototype.writeFloat=Y.prototype.L,Y.prototype.J=function(r){x(r===1/0||r===-1/0||isNaN(r)||-17976931348623157e292<=r&&17976931348623157e292>=r),H(r),this.s(rt),this.s(nt)},Y.prototype.writeDouble=Y.prototype.J,Y.prototype.I=function(r){x(typeof r=="boolean"||typeof r=="number"),this.a.push(r?1:0)},Y.prototype.writeBool=Y.prototype.I,Y.prototype.R=function(r){x(r==Math.floor(r)),x(-2147483648<=r&&2147483648>r),this.M(r)},Y.prototype.writeEnum=Y.prototype.R,Y.prototype.ja=function(r){this.a.push.apply(this.a,r)},Y.prototype.writeBytes=Y.prototype.ja,Y.prototype.N=function(r){he(r),this.l(rt,nt)},Y.prototype.writeVarintHash64=Y.prototype.N,Y.prototype.K=function(r){he(r),this.s(rt),this.s(nt)},Y.prototype.writeFixedHash64=Y.prototype.K,Y.prototype.U=function(r){var i=this.a.length;V(r);for(var l=0;l<r.length;l++){var f=r.charCodeAt(l);if(128>f)this.a.push(f);else if(2048>f)this.a.push(f>>6|192),this.a.push(f&63|128);else if(65536>f)if(55296<=f&&56319>=f&&l+1<r.length){var R=r.charCodeAt(l+1);56320<=R&&57343>=R&&(f=1024*(f-55296)+R-56320+65536,this.a.push(f>>18|240),this.a.push(f>>12&63|128),this.a.push(f>>6&63|128),this.a.push(f&63|128),l++)}else this.a.push(f>>12|224),this.a.push(f>>6&63|128),this.a.push(f&63|128)}return this.a.length-i},Y.prototype.writeString=Y.prototype.U;function pt(r,i){this.lo=r,this.hi=i}y("jspb.arith.UInt64",pt,void 0),pt.prototype.cmp=function(r){return this.hi<r.hi||this.hi==r.hi&&this.lo<r.lo?-1:this.hi==r.hi&&this.lo==r.lo?0:1},pt.prototype.cmp=pt.prototype.cmp,pt.prototype.La=function(){return new pt((this.lo>>>1|(this.hi&1)<<31)>>>0,this.hi>>>1>>>0)},pt.prototype.rightShift=pt.prototype.La,pt.prototype.Da=function(){return new pt(this.lo<<1>>>0,(this.hi<<1|this.lo>>>31)>>>0)},pt.prototype.leftShift=pt.prototype.Da,pt.prototype.cb=function(){return!!(this.hi&2147483648)},pt.prototype.msb=pt.prototype.cb,pt.prototype.Ob=function(){return!!(this.lo&1)},pt.prototype.lsb=pt.prototype.Ob,pt.prototype.Ua=function(){return this.lo==0&&this.hi==0},pt.prototype.zero=pt.prototype.Ua,pt.prototype.add=function(r){return new pt((this.lo+r.lo&4294967295)>>>0>>>0,((this.hi+r.hi&4294967295)>>>0)+(4294967296<=this.lo+r.lo?1:0)>>>0)},pt.prototype.add=pt.prototype.add,pt.prototype.sub=function(r){return new pt((this.lo-r.lo&4294967295)>>>0>>>0,((this.hi-r.hi&4294967295)>>>0)-(0>this.lo-r.lo?1:0)>>>0)},pt.prototype.sub=pt.prototype.sub;function Co(r,i){var l=r&65535;r>>>=16;var f=i&65535,R=i>>>16;for(i=l*f+65536*(l*R&65535)+65536*(r*f&65535),l=r*R+(l*R>>>16)+(r*f>>>16);4294967296<=i;)i-=4294967296,l+=1;return new pt(i>>>0,l>>>0)}pt.mul32x32=Co,pt.prototype.eb=function(r){var i=Co(this.lo,r);return r=Co(this.hi,r),r.hi=r.lo,r.lo=0,i.add(r)},pt.prototype.mul=pt.prototype.eb,pt.prototype.Xa=function(r){if(r==0)return[];var i=new pt(0,0),l=new pt(this.lo,this.hi);r=new pt(r,0);for(var f=new pt(1,0);!r.cb();)r=r.Da(),f=f.Da();for(;!f.Ua();)0>=r.cmp(l)&&(i=i.add(f),l=l.sub(r)),r=r.La(),f=f.La();return[i,l]},pt.prototype.div=pt.prototype.Xa,pt.prototype.toString=function(){for(var r="",i=this;!i.Ua();){i=i.Xa(10);var l=i[0];r=i[1].lo+r,i=l}return r==""&&(r="0"),r},pt.prototype.toString=pt.prototype.toString;function vt(r){for(var i=new pt(0,0),l=new pt(0,0),f=0;f<r.length;f++){if("0">r[f]||"9"<r[f])return null;l.lo=parseInt(r[f],10),i=i.eb(10).add(l)}return i}pt.fromString=vt,pt.prototype.clone=function(){return new pt(this.lo,this.hi)},pt.prototype.clone=pt.prototype.clone;function $t(r,i){this.lo=r,this.hi=i}y("jspb.arith.Int64",$t,void 0),$t.prototype.add=function(r){return new $t((this.lo+r.lo&4294967295)>>>0>>>0,((this.hi+r.hi&4294967295)>>>0)+(4294967296<=this.lo+r.lo?1:0)>>>0)},$t.prototype.add=$t.prototype.add,$t.prototype.sub=function(r){return new $t((this.lo-r.lo&4294967295)>>>0>>>0,((this.hi-r.hi&4294967295)>>>0)-(0>this.lo-r.lo?1:0)>>>0)},$t.prototype.sub=$t.prototype.sub,$t.prototype.clone=function(){return new $t(this.lo,this.hi)},$t.prototype.clone=$t.prototype.clone,$t.prototype.toString=function(){var r=(this.hi&2147483648)!=0,i=new pt(this.lo,this.hi);return r&&(i=new pt(0,0).sub(i)),(r?"-":"")+i.toString()},$t.prototype.toString=$t.prototype.toString;function Wi(r){var i=0<r.length&&r[0]=="-";return i&&(r=r.substring(1)),r=vt(r),r===null?null:(i&&(r=new pt(0,0).sub(r)),new $t(r.lo,r.hi))}$t.fromString=Wi;function b(){this.c=[],this.b=0,this.a=new Y,this.h=[]}y("jspb.BinaryWriter",b,void 0);function hp(r,i){var l=r.a.end();r.c.push(l),r.c.push(i),r.b+=l.length+i.length}function Kt(r,i){return mt(r,i,2),i=r.a.end(),r.c.push(i),r.b+=i.length,i.push(r.b),i}function Yt(r,i){var l=i.pop();for(l=r.b+r.a.length()-l,x(0<=l);127<l;)i.push(l&127|128),l>>>=7,r.b++;i.push(l),r.b++}b.prototype.pb=function(r,i,l){hp(this,r.subarray(i,l))},b.prototype.writeSerializedMessage=b.prototype.pb,b.prototype.Pb=function(r,i,l){r!=null&&i!=null&&l!=null&&this.pb(r,i,l)},b.prototype.maybeWriteSerializedMessage=b.prototype.Pb,b.prototype.reset=function(){this.c=[],this.a.end(),this.b=0,this.h=[]},b.prototype.reset=b.prototype.reset,b.prototype.ab=function(){x(this.h.length==0);for(var r=new Uint8Array(this.b+this.a.length()),i=this.c,l=i.length,f=0,R=0;R<l;R++){var O=i[R];r.set(O,f),f+=O.length}return i=this.a.end(),r.set(i,f),f+=i.length,x(f==r.length),this.c=[r],r},b.prototype.getResultBuffer=b.prototype.ab,b.prototype.Kb=function(r){return fe(this.ab(),r)},b.prototype.getResultBase64String=b.prototype.Kb,b.prototype.Va=function(r){this.h.push(Kt(this,r))},b.prototype.beginSubMessage=b.prototype.Va,b.prototype.Ya=function(){x(0<=this.h.length),Yt(this,this.h.pop())},b.prototype.endSubMessage=b.prototype.Ya;function mt(r,i,l){x(1<=i&&i==Math.floor(i)),r.a.j(8*i+l)}b.prototype.Nc=function(r,i,l){switch(r){case 1:this.J(i,l);break;case 2:this.L(i,l);break;case 3:this.T(i,l);break;case 4:this.V(i,l);break;case 5:this.S(i,l);break;case 6:this.Qa(i,l);break;case 7:this.Pa(i,l);break;case 8:this.I(i,l);break;case 9:this.U(i,l);break;case 10:L("Group field type not supported in writeAny()");break;case 11:L("Message field type not supported in writeAny()");break;case 12:this.ja(i,l);break;case 13:this.s(i,l);break;case 14:this.R(i,l);break;case 15:this.Ra(i,l);break;case 16:this.Sa(i,l);break;case 17:this.rb(i,l);break;case 18:this.sb(i,l);break;case 30:this.K(i,l);break;case 31:this.N(i,l);break;default:L("Invalid field type in writeAny()")}},b.prototype.writeAny=b.prototype.Nc;function $a(r,i,l){l!=null&&(mt(r,i,0),r.a.j(l))}function Ma(r,i,l){l!=null&&(mt(r,i,0),r.a.M(l))}b.prototype.S=function(r,i){i!=null&&(x(-2147483648<=i&&2147483648>i),Ma(this,r,i))},b.prototype.writeInt32=b.prototype.S,b.prototype.ob=function(r,i){i!=null&&(i=parseInt(i,10),x(-2147483648<=i&&2147483648>i),Ma(this,r,i))},b.prototype.writeInt32String=b.prototype.ob,b.prototype.T=function(r,i){i!=null&&(x(-9223372036854776e3<=i&&9223372036854776e3>i),i!=null&&(mt(this,r,0),this.a.ua(i)))},b.prototype.writeInt64=b.prototype.T,b.prototype.ka=function(r,i){i!=null&&(i=Wi(i),mt(this,r,0),this.a.l(i.lo,i.hi))},b.prototype.writeInt64String=b.prototype.ka,b.prototype.s=function(r,i){i!=null&&(x(0<=i&&4294967296>i),$a(this,r,i))},b.prototype.writeUint32=b.prototype.s,b.prototype.ub=function(r,i){i!=null&&(i=parseInt(i,10),x(0<=i&&4294967296>i),$a(this,r,i))},b.prototype.writeUint32String=b.prototype.ub,b.prototype.V=function(r,i){i!=null&&(x(0<=i&&18446744073709552e3>i),i!=null&&(mt(this,r,0),this.a.va(i)))},b.prototype.writeUint64=b.prototype.V,b.prototype.vb=function(r,i){i!=null&&(i=vt(i),mt(this,r,0),this.a.l(i.lo,i.hi))},b.prototype.writeUint64String=b.prototype.vb,b.prototype.rb=function(r,i){i!=null&&(x(-2147483648<=i&&2147483648>i),i!=null&&(mt(this,r,0),this.a.wa(i)))},b.prototype.writeSint32=b.prototype.rb,b.prototype.sb=function(r,i){i!=null&&(x(-9223372036854776e3<=i&&9223372036854776e3>i),i!=null&&(mt(this,r,0),this.a.xa(i)))},b.prototype.writeSint64=b.prototype.sb,b.prototype.$d=function(r,i){i!=null&&i!=null&&(mt(this,r,0),this.a.W(i))},b.prototype.writeSintHash64=b.prototype.$d,b.prototype.Zd=function(r,i){i!=null&&i!=null&&(mt(this,r,0),this.a.Ta(i))},b.prototype.writeSint64String=b.prototype.Zd,b.prototype.Pa=function(r,i){i!=null&&(x(0<=i&&4294967296>i),mt(this,r,5),this.a.s(i))},b.prototype.writeFixed32=b.prototype.Pa,b.prototype.Qa=function(r,i){i!=null&&(x(0<=i&&18446744073709552e3>i),mt(this,r,1),this.a.V(i))},b.prototype.writeFixed64=b.prototype.Qa,b.prototype.nb=function(r,i){i!=null&&(i=vt(i),mt(this,r,1),this.a.A(i.lo,i.hi))},b.prototype.writeFixed64String=b.prototype.nb,b.prototype.Ra=function(r,i){i!=null&&(x(-2147483648<=i&&2147483648>i),mt(this,r,5),this.a.S(i))},b.prototype.writeSfixed32=b.prototype.Ra,b.prototype.Sa=function(r,i){i!=null&&(x(-9223372036854776e3<=i&&9223372036854776e3>i),mt(this,r,1),this.a.T(i))},b.prototype.writeSfixed64=b.prototype.Sa,b.prototype.qb=function(r,i){i!=null&&(i=Wi(i),mt(this,r,1),this.a.A(i.lo,i.hi))},b.prototype.writeSfixed64String=b.prototype.qb,b.prototype.L=function(r,i){i!=null&&(mt(this,r,5),this.a.L(i))},b.prototype.writeFloat=b.prototype.L,b.prototype.J=function(r,i){i!=null&&(mt(this,r,1),this.a.J(i))},b.prototype.writeDouble=b.prototype.J,b.prototype.I=function(r,i){i!=null&&(x(typeof i=="boolean"||typeof i=="number"),mt(this,r,0),this.a.I(i))},b.prototype.writeBool=b.prototype.I,b.prototype.R=function(r,i){i!=null&&(x(-2147483648<=i&&2147483648>i),mt(this,r,0),this.a.M(i))},b.prototype.writeEnum=b.prototype.R,b.prototype.U=function(r,i){i!=null&&(r=Kt(this,r),this.a.U(i),Yt(this,r))},b.prototype.writeString=b.prototype.U,b.prototype.ja=function(r,i){i!=null&&(i=le(i),mt(this,r,2),this.a.j(i.length),hp(this,i))},b.prototype.writeBytes=b.prototype.ja,b.prototype.Rc=function(r,i,l){i!=null&&(r=Kt(this,r),l(i,this),Yt(this,r))},b.prototype.writeMessage=b.prototype.Rc,b.prototype.Sc=function(r,i,l){i!=null&&(mt(this,1,3),mt(this,2,0),this.a.M(r),r=Kt(this,3),l(i,this),Yt(this,r),mt(this,1,4))},b.prototype.writeMessageSet=b.prototype.Sc,b.prototype.Oc=function(r,i,l){i!=null&&(mt(this,r,3),l(i,this),mt(this,r,4))},b.prototype.writeGroup=b.prototype.Oc,b.prototype.K=function(r,i){i!=null&&(x(i.length==8),mt(this,r,1),this.a.K(i))},b.prototype.writeFixedHash64=b.prototype.K,b.prototype.N=function(r,i){i!=null&&(x(i.length==8),mt(this,r,0),this.a.N(i))},b.prototype.writeVarintHash64=b.prototype.N,b.prototype.A=function(r,i,l){mt(this,r,1),this.a.A(i,l)},b.prototype.writeSplitFixed64=b.prototype.A,b.prototype.l=function(r,i,l){mt(this,r,0),this.a.l(i,l)},b.prototype.writeSplitVarint64=b.prototype.l,b.prototype.tb=function(r,i,l){mt(this,r,0);var f=this.a;ee(i,l,function(R,O){f.l(R>>>0,O>>>0)})},b.prototype.writeSplitZigzagVarint64=b.prototype.tb,b.prototype.Ed=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)Ma(this,r,i[l])},b.prototype.writeRepeatedInt32=b.prototype.Ed,b.prototype.Fd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.ob(r,i[l])},b.prototype.writeRepeatedInt32String=b.prototype.Fd,b.prototype.Gd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++){var f=i[l];f!=null&&(mt(this,r,0),this.a.ua(f))}},b.prototype.writeRepeatedInt64=b.prototype.Gd,b.prototype.Qd=function(r,i,l,f){if(i!=null)for(var R=0;R<i.length;R++)this.A(r,l(i[R]),f(i[R]))},b.prototype.writeRepeatedSplitFixed64=b.prototype.Qd,b.prototype.Rd=function(r,i,l,f){if(i!=null)for(var R=0;R<i.length;R++)this.l(r,l(i[R]),f(i[R]))},b.prototype.writeRepeatedSplitVarint64=b.prototype.Rd,b.prototype.Sd=function(r,i,l,f){if(i!=null)for(var R=0;R<i.length;R++)this.tb(r,l(i[R]),f(i[R]))},b.prototype.writeRepeatedSplitZigzagVarint64=b.prototype.Sd,b.prototype.Hd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.ka(r,i[l])},b.prototype.writeRepeatedInt64String=b.prototype.Hd,b.prototype.Ud=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)$a(this,r,i[l])},b.prototype.writeRepeatedUint32=b.prototype.Ud,b.prototype.Vd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.ub(r,i[l])},b.prototype.writeRepeatedUint32String=b.prototype.Vd,b.prototype.Wd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++){var f=i[l];f!=null&&(mt(this,r,0),this.a.va(f))}},b.prototype.writeRepeatedUint64=b.prototype.Wd,b.prototype.Xd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.vb(r,i[l])},b.prototype.writeRepeatedUint64String=b.prototype.Xd,b.prototype.Md=function(r,i){if(i!=null)for(var l=0;l<i.length;l++){var f=i[l];f!=null&&(mt(this,r,0),this.a.wa(f))}},b.prototype.writeRepeatedSint32=b.prototype.Md,b.prototype.Nd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++){var f=i[l];f!=null&&(mt(this,r,0),this.a.xa(f))}},b.prototype.writeRepeatedSint64=b.prototype.Nd,b.prototype.Od=function(r,i){if(i!=null)for(var l=0;l<i.length;l++){var f=i[l];f!=null&&(mt(this,r,0),this.a.Ta(f))}},b.prototype.writeRepeatedSint64String=b.prototype.Od,b.prototype.Pd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++){var f=i[l];f!=null&&(mt(this,r,0),this.a.W(f))}},b.prototype.writeRepeatedSintHash64=b.prototype.Pd,b.prototype.yd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.Pa(r,i[l])},b.prototype.writeRepeatedFixed32=b.prototype.yd,b.prototype.zd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.Qa(r,i[l])},b.prototype.writeRepeatedFixed64=b.prototype.zd,b.prototype.Ad=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.nb(r,i[l])},b.prototype.writeRepeatedFixed64String=b.prototype.Ad,b.prototype.Jd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.Ra(r,i[l])},b.prototype.writeRepeatedSfixed32=b.prototype.Jd,b.prototype.Kd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.Sa(r,i[l])},b.prototype.writeRepeatedSfixed64=b.prototype.Kd,b.prototype.Ld=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.qb(r,i[l])},b.prototype.writeRepeatedSfixed64String=b.prototype.Ld,b.prototype.Cd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.L(r,i[l])},b.prototype.writeRepeatedFloat=b.prototype.Cd,b.prototype.wd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.J(r,i[l])},b.prototype.writeRepeatedDouble=b.prototype.wd,b.prototype.ud=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.I(r,i[l])},b.prototype.writeRepeatedBool=b.prototype.ud,b.prototype.xd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.R(r,i[l])},b.prototype.writeRepeatedEnum=b.prototype.xd,b.prototype.Td=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.U(r,i[l])},b.prototype.writeRepeatedString=b.prototype.Td,b.prototype.vd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.ja(r,i[l])},b.prototype.writeRepeatedBytes=b.prototype.vd,b.prototype.Id=function(r,i,l){if(i!=null)for(var f=0;f<i.length;f++){var R=Kt(this,r);l(i[f],this),Yt(this,R)}},b.prototype.writeRepeatedMessage=b.prototype.Id,b.prototype.Dd=function(r,i,l){if(i!=null)for(var f=0;f<i.length;f++)mt(this,r,3),l(i[f],this),mt(this,r,4)},b.prototype.writeRepeatedGroup=b.prototype.Dd,b.prototype.Bd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.K(r,i[l])},b.prototype.writeRepeatedFixedHash64=b.prototype.Bd,b.prototype.Yd=function(r,i){if(i!=null)for(var l=0;l<i.length;l++)this.N(r,i[l])},b.prototype.writeRepeatedVarintHash64=b.prototype.Yd,b.prototype.ad=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++)this.a.M(i[l]);Yt(this,r)}},b.prototype.writePackedInt32=b.prototype.ad,b.prototype.bd=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++)this.a.M(parseInt(i[l],10));Yt(this,r)}},b.prototype.writePackedInt32String=b.prototype.bd,b.prototype.cd=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++)this.a.ua(i[l]);Yt(this,r)}},b.prototype.writePackedInt64=b.prototype.cd,b.prototype.md=function(r,i,l,f){if(i!=null){r=Kt(this,r);for(var R=0;R<i.length;R++)this.a.A(l(i[R]),f(i[R]));Yt(this,r)}},b.prototype.writePackedSplitFixed64=b.prototype.md,b.prototype.nd=function(r,i,l,f){if(i!=null){r=Kt(this,r);for(var R=0;R<i.length;R++)this.a.l(l(i[R]),f(i[R]));Yt(this,r)}},b.prototype.writePackedSplitVarint64=b.prototype.nd,b.prototype.od=function(r,i,l,f){if(i!=null){r=Kt(this,r);for(var R=this.a,O=0;O<i.length;O++)ee(l(i[O]),f(i[O]),function(W,gt){R.l(W>>>0,gt>>>0)});Yt(this,r)}},b.prototype.writePackedSplitZigzagVarint64=b.prototype.od,b.prototype.dd=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++){var f=Wi(i[l]);this.a.l(f.lo,f.hi)}Yt(this,r)}},b.prototype.writePackedInt64String=b.prototype.dd,b.prototype.pd=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++)this.a.j(i[l]);Yt(this,r)}},b.prototype.writePackedUint32=b.prototype.pd,b.prototype.qd=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++)this.a.j(parseInt(i[l],10));Yt(this,r)}},b.prototype.writePackedUint32String=b.prototype.qd,b.prototype.rd=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++)this.a.va(i[l]);Yt(this,r)}},b.prototype.writePackedUint64=b.prototype.rd,b.prototype.sd=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++){var f=vt(i[l]);this.a.l(f.lo,f.hi)}Yt(this,r)}},b.prototype.writePackedUint64String=b.prototype.sd,b.prototype.hd=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++)this.a.wa(i[l]);Yt(this,r)}},b.prototype.writePackedSint32=b.prototype.hd,b.prototype.jd=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++)this.a.xa(i[l]);Yt(this,r)}},b.prototype.writePackedSint64=b.prototype.jd,b.prototype.kd=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++)this.a.W(xe(i[l]));Yt(this,r)}},b.prototype.writePackedSint64String=b.prototype.kd,b.prototype.ld=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++)this.a.W(i[l]);Yt(this,r)}},b.prototype.writePackedSintHash64=b.prototype.ld,b.prototype.Wc=function(r,i){if(i!=null&&i.length)for(mt(this,r,2),this.a.j(4*i.length),r=0;r<i.length;r++)this.a.s(i[r])},b.prototype.writePackedFixed32=b.prototype.Wc,b.prototype.Xc=function(r,i){if(i!=null&&i.length)for(mt(this,r,2),this.a.j(8*i.length),r=0;r<i.length;r++)this.a.V(i[r])},b.prototype.writePackedFixed64=b.prototype.Xc,b.prototype.Yc=function(r,i){if(i!=null&&i.length)for(mt(this,r,2),this.a.j(8*i.length),r=0;r<i.length;r++){var l=vt(i[r]);this.a.A(l.lo,l.hi)}},b.prototype.writePackedFixed64String=b.prototype.Yc,b.prototype.ed=function(r,i){if(i!=null&&i.length)for(mt(this,r,2),this.a.j(4*i.length),r=0;r<i.length;r++)this.a.S(i[r])},b.prototype.writePackedSfixed32=b.prototype.ed,b.prototype.fd=function(r,i){if(i!=null&&i.length)for(mt(this,r,2),this.a.j(8*i.length),r=0;r<i.length;r++)this.a.T(i[r])},b.prototype.writePackedSfixed64=b.prototype.fd,b.prototype.gd=function(r,i){if(i!=null&&i.length)for(mt(this,r,2),this.a.j(8*i.length),r=0;r<i.length;r++)this.a.ka(i[r])},b.prototype.writePackedSfixed64String=b.prototype.gd,b.prototype.$c=function(r,i){if(i!=null&&i.length)for(mt(this,r,2),this.a.j(4*i.length),r=0;r<i.length;r++)this.a.L(i[r])},b.prototype.writePackedFloat=b.prototype.$c,b.prototype.Uc=function(r,i){if(i!=null&&i.length)for(mt(this,r,2),this.a.j(8*i.length),r=0;r<i.length;r++)this.a.J(i[r])},b.prototype.writePackedDouble=b.prototype.Uc,b.prototype.Tc=function(r,i){if(i!=null&&i.length)for(mt(this,r,2),this.a.j(i.length),r=0;r<i.length;r++)this.a.I(i[r])},b.prototype.writePackedBool=b.prototype.Tc,b.prototype.Vc=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++)this.a.R(i[l]);Yt(this,r)}},b.prototype.writePackedEnum=b.prototype.Vc,b.prototype.Zc=function(r,i){if(i!=null&&i.length)for(mt(this,r,2),this.a.j(8*i.length),r=0;r<i.length;r++)this.a.K(i[r])},b.prototype.writePackedFixedHash64=b.prototype.Zc,b.prototype.td=function(r,i){if(i!=null&&i.length){r=Kt(this,r);for(var l=0;l<i.length;l++)this.a.N(i[l]);Yt(this,r)}},b.prototype.writePackedVarintHash64=b.prototype.td,t.debug=We,t.Map=_,t.Message=U,t.BinaryReader=C,t.BinaryWriter=b,t.ExtensionFieldInfo=wt,t.ExtensionFieldBinaryInfo=Dt,t.exportSymbol=E,t.inherits=A,t.object={extend:P},t.typeOf=j})($);var xn;(t=>{var e,n,o,s,a;(A=>{A[A.UNDEFINED_BRAND=0]="UNDEFINED_BRAND",A[A.rabbitloader=1]="rabbitloader",A[A.dofollow=2]="dofollow",A[A.prefetch=3]="prefetch"})(t.Brand||(t.Brand={})),(A=>{A[A.AUDIENCE_UNDEFINED=0]="AUDIENCE_UNDEFINED",A[A.AUDIENCE_RL_WP_PLUGIN=1]="AUDIENCE_RL_WP_PLUGIN",A[A.AUDIENCE_RL_DASHBOARD=2]="AUDIENCE_RL_DASHBOARD",A[A.AUDIENCE_DF_DASHBOARD=3]="AUDIENCE_DF_DASHBOARD",A[A.AUDIENCE_CF_WORKER=4]="AUDIENCE_CF_WORKER",A[A.AUDIENCE_PREFETCH_DASHBOARD=5]="AUDIENCE_PREFETCH_DASHBOARD"})(t.Audience||(t.Audience={})),(A=>{A[A.CURRENCY_UNDEFINED=0]="CURRENCY_UNDEFINED",A[A.CURRENCY_USD=1]="CURRENCY_USD",A[A.CURRENCY_INR=2]="CURRENCY_INR"})(t.Currency||(t.Currency={})),(A=>{A[A.UNDEFINED_PLATFORM=0]="UNDEFINED_PLATFORM",A[A.wp=1]="wp",A[A.shopify=2]="shopify",A[A.phpsdk=3]="phpsdk",A[A.laravel=4]="laravel"})(t.PlatformID||(t.PlatformID={}));const c=class Ui extends $.Message{constructor(h){super(),ie(this,e,[]),$.Message.initialize(this,Array.isArray(h)?h:[],0,-1,[],oe(this,e)),!Array.isArray(h)&&typeof h=="object"&&("countryCode"in h&&h.countryCode!=null&&(this.countryCode=h.countryCode),"region"in h&&h.region!=null&&(this.region=h.region),"city"in h&&h.city!=null&&(this.city=h.city),"ipAddress"in h&&h.ipAddress!=null&&(this.ipAddress=h.ipAddress),"userAgent"in h&&h.userAgent!=null&&(this.userAgent=h.userAgent),"zip"in h&&h.zip!=null&&(this.zip=h.zip))}get countryCode(){return $.Message.getFieldWithDefault(this,1,"")}set countryCode(h){$.Message.setField(this,1,h)}get region(){return $.Message.getFieldWithDefault(this,2,"")}set region(h){$.Message.setField(this,2,h)}get city(){return $.Message.getFieldWithDefault(this,3,"")}set city(h){$.Message.setField(this,3,h)}get ipAddress(){return $.Message.getFieldWithDefault(this,4,"")}set ipAddress(h){$.Message.setField(this,4,h)}get userAgent(){return $.Message.getFieldWithDefault(this,5,"")}set userAgent(h){$.Message.setField(this,5,h)}get zip(){return $.Message.getFieldWithDefault(this,6,"")}set zip(h){$.Message.setField(this,6,h)}static fromObject(h){const P=new Ui({});return h.countryCode!=null&&(P.countryCode=h.countryCode),h.region!=null&&(P.region=h.region),h.city!=null&&(P.city=h.city),h.ipAddress!=null&&(P.ipAddress=h.ipAddress),h.userAgent!=null&&(P.userAgent=h.userAgent),h.zip!=null&&(P.zip=h.zip),P}toObject(){const h={};return this.countryCode!=null&&(h.countryCode=this.countryCode),this.region!=null&&(h.region=this.region),this.city!=null&&(h.city=this.city),this.ipAddress!=null&&(h.ipAddress=this.ipAddress),this.userAgent!=null&&(h.userAgent=this.userAgent),this.zip!=null&&(h.zip=this.zip),h}serialize(h){const P=h||new $.BinaryWriter;if(this.countryCode.length&&P.writeString(1,this.countryCode),this.region.length&&P.writeString(2,this.region),this.city.length&&P.writeString(3,this.city),this.ipAddress.length&&P.writeString(4,this.ipAddress),this.userAgent.length&&P.writeString(5,this.userAgent),this.zip.length&&P.writeString(6,this.zip),!h)return P.getResultBuffer()}static deserialize(h){const P=h instanceof $.BinaryReader?h:new $.BinaryReader(h),D=new Ui;for(;P.nextField()&&!P.isEndGroup();)switch(P.getFieldNumber()){case 1:D.countryCode=P.readString();break;case 2:D.region=P.readString();break;case 3:D.city=P.readString();break;case 4:D.ipAddress=P.readString();break;case 5:D.userAgent=P.readString();break;case 6:D.zip=P.readString();break;default:P.skipField()}return D}serializeBinary(){return this.serialize()}static deserializeBinary(h){return Ui.deserialize(h)}};e=new WeakMap;let p=c;t.DeviceLocation=p;const d=class Hi extends $.Message{constructor(h){super(),ie(this,n,[]),$.Message.initialize(this,Array.isArray(h)?h:[],0,-1,[],oe(this,n)),!Array.isArray(h)&&typeof h=="object"&&("code"in h&&h.code!=null&&(this.code=h.code),"message"in h&&h.message!=null&&(this.message=h.message))}get code(){return $.Message.getFieldWithDefault(this,1,"")}set code(h){$.Message.setField(this,1,h)}get message(){return $.Message.getFieldWithDefault(this,2,"")}set message(h){$.Message.setField(this,2,h)}static fromObject(h){const P=new Hi({});return h.code!=null&&(P.code=h.code),h.message!=null&&(P.message=h.message),P}toObject(){const h={};return this.code!=null&&(h.code=this.code),this.message!=null&&(h.message=this.message),h}serialize(h){const P=h||new $.BinaryWriter;if(this.code.length&&P.writeString(1,this.code),this.message.length&&P.writeString(2,this.message),!h)return P.getResultBuffer()}static deserialize(h){const P=h instanceof $.BinaryReader?h:new $.BinaryReader(h),D=new Hi;for(;P.nextField()&&!P.isEndGroup();)switch(P.getFieldNumber()){case 1:D.code=P.readString();break;case 2:D.message=P.readString();break;default:P.skipField()}return D}serializeBinary(){return this.serialize()}static deserializeBinary(h){return Hi.deserialize(h)}};n=new WeakMap;let g=d;t.Error=g;const m=class Gi extends $.Message{constructor(h){super(),ie(this,o,[]),$.Message.initialize(this,Array.isArray(h)?h:[],0,-1,[],oe(this,o)),!Array.isArray(h)&&typeof h=="object"&&("cents"in h&&h.cents!=null&&(this.cents=h.cents),"currency"in h&&h.currency!=null&&(this.currency=h.currency))}get cents(){return $.Message.getFieldWithDefault(this,1,0)}set cents(h){$.Message.setField(this,1,h)}get currency(){return $.Message.getFieldWithDefault(this,2,0)}set currency(h){$.Message.setField(this,2,h)}static fromObject(h){const P=new Gi({});return h.cents!=null&&(P.cents=h.cents),h.currency!=null&&(P.currency=h.currency),P}toObject(){const h={};return this.cents!=null&&(h.cents=this.cents),this.currency!=null&&(h.currency=this.currency),h}serialize(h){const P=h||new $.BinaryWriter;if(this.cents!=0&&P.writeInt64(1,this.cents),this.currency!=0&&P.writeEnum(2,this.currency),!h)return P.getResultBuffer()}static deserialize(h){const P=h instanceof $.BinaryReader?h:new $.BinaryReader(h),D=new Gi;for(;P.nextField()&&!P.isEndGroup();)switch(P.getFieldNumber()){case 1:D.cents=P.readInt64();break;case 2:D.currency=P.readEnum();break;default:P.skipField()}return D}serializeBinary(){return this.serialize()}static deserializeBinary(h){return Gi.deserialize(h)}};o=new WeakMap;let S=m;t.Money=S;const y=class Vi extends $.Message{constructor(h){super(),ie(this,s,[]),$.Message.initialize(this,Array.isArray(h)?h:[],0,-1,[],oe(this,s)),!Array.isArray(h)&&typeof h=="object"&&("source"in h&&h.source!=null&&(this.source=h.source),"target"in h&&h.target!=null&&(this.target=h.target),"medium"in h&&h.medium!=null&&(this.medium=h.medium),"campaign"in h&&h.campaign!=null&&(this.campaign=h.campaign),"term"in h&&h.term!=null&&(this.term=h.term),"content"in h&&h.content!=null&&(this.content=h.content))}get source(){return $.Message.getFieldWithDefault(this,1,"")}set source(h){$.Message.setField(this,1,h)}get target(){return $.Message.getFieldWithDefault(this,2,"")}set target(h){$.Message.setField(this,2,h)}get medium(){return $.Message.getFieldWithDefault(this,3,"")}set medium(h){$.Message.setField(this,3,h)}get campaign(){return $.Message.getFieldWithDefault(this,4,"")}set campaign(h){$.Message.setField(this,4,h)}get term(){return $.Message.getFieldWithDefault(this,5,"")}set term(h){$.Message.setField(this,5,h)}get content(){return $.Message.getFieldWithDefault(this,6,"")}set content(h){$.Message.setField(this,6,h)}static fromObject(h){const P=new Vi({});return h.source!=null&&(P.source=h.source),h.target!=null&&(P.target=h.target),h.medium!=null&&(P.medium=h.medium),h.campaign!=null&&(P.campaign=h.campaign),h.term!=null&&(P.term=h.term),h.content!=null&&(P.content=h.content),P}toObject(){const h={};return this.source!=null&&(h.source=this.source),this.target!=null&&(h.target=this.target),this.medium!=null&&(h.medium=this.medium),this.campaign!=null&&(h.campaign=this.campaign),this.term!=null&&(h.term=this.term),this.content!=null&&(h.content=this.content),h}serialize(h){const P=h||new $.BinaryWriter;if(this.source.length&&P.writeString(1,this.source),this.target.length&&P.writeString(2,this.target),this.medium.length&&P.writeString(3,this.medium),this.campaign.length&&P.writeString(4,this.campaign),this.term.length&&P.writeString(5,this.term),this.content.length&&P.writeString(6,this.content),!h)return P.getResultBuffer()}static deserialize(h){const P=h instanceof $.BinaryReader?h:new $.BinaryReader(h),D=new Vi;for(;P.nextField()&&!P.isEndGroup();)switch(P.getFieldNumber()){case 1:D.source=P.readString();break;case 2:D.target=P.readString();break;case 3:D.medium=P.readString();break;case 4:D.campaign=P.readString();break;case 5:D.term=P.readString();break;case 6:D.content=P.readString();break;default:P.skipField()}return D}serializeBinary(){return this.serialize()}static deserializeBinary(h){return Vi.deserialize(h)}};s=new WeakMap;let j=y;t.UrchinTracking=j;const k=class Ki extends $.Message{constructor(h){super(),ie(this,a,[]),$.Message.initialize(this,Array.isArray(h)?h:[],0,-1,[1],oe(this,a)),!Array.isArray(h)&&typeof h=="object"&&"values"in h&&h.values!=null&&(this.values=h.values)}get values(){return $.Message.getFieldWithDefault(this,1,[])}set values(h){$.Message.setField(this,1,h)}static fromObject(h){const P=new Ki({});return h.values!=null&&(P.values=h.values),P}toObject(){const h={};return this.values!=null&&(h.values=this.values),h}serialize(h){const P=h||new $.BinaryWriter;if(this.values.length&&P.writeRepeatedString(1,this.values),!h)return P.getResultBuffer()}static deserialize(h){const P=h instanceof $.BinaryReader?h:new $.BinaryReader(h),D=new Ki;for(;P.nextField()&&!P.isEndGroup();)switch(P.getFieldNumber()){case 1:$.Message.addToRepeatedField(D,1,P.readString());break;default:P.skipField()}return D}serializeBinary(){return this.serialize()}static deserializeBinary(h){return Ki.deserialize(h)}};a=new WeakMap;let E=k;t.Strings=E})(xn||(xn={}));var se;(t=>{var e,n,o,s,a,c,p,d,g,m,S,y,j,k,E;(ut=>{ut[ut.ERROR_CODE_UNDEFINED=0]="ERROR_CODE_UNDEFINED",ut[ut.ERROR_CODE_UNKNOWN=1]="ERROR_CODE_UNKNOWN",ut[ut.ERROR_CODE_ADD_DOMAIN_ANOTHER_USER=2]="ERROR_CODE_ADD_DOMAIN_ANOTHER_USER",ut[ut.ERROR_CODE_ADD_DOMAIN_FREE_COUNT_LIMIT=3]="ERROR_CODE_ADD_DOMAIN_FREE_COUNT_LIMIT"})(t.ErrorCode||(t.ErrorCode={})),(ut=>{ut[ut.NET_UNDEFINED=0]="NET_UNDEFINED",ut[ut.NET_2G=1]="NET_2G",ut[ut.NET_3G=2]="NET_3G",ut[ut.NET_4G=3]="NET_4G"})(t.NetworkEffectiveType||(t.NetworkEffectiveType={})),(ut=>{ut[ut.DRT_UNDEFINED=0]="DRT_UNDEFINED",ut[ut.DRT_MOBILE=1]="DRT_MOBILE",ut[ut.DRT_TABLET=2]="DRT_TABLET",ut[ut.DRT_DESKTOP=3]="DRT_DESKTOP"})(t.DeviceResolutionType||(t.DeviceResolutionType={})),(ut=>{ut[ut.PLAN_FREE=0]="PLAN_FREE",ut[ut.PLAN_M4_Y49=1]="PLAN_M4_Y49",ut[ut.PLAN_M9_Y99=2]="PLAN_M9_Y99"})(t.BillingPlanID||(t.BillingPlanID={}));const A=class Yi extends $.Message{constructor(u){super(),ie(this,e,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],oe(this,e)),!Array.isArray(u)&&typeof u=="object"&&("planID"in u&&u.planID!=null&&(this.planID=u.planID),"planName"in u&&u.planName!=null&&(this.planName=u.planName),"suggestionsLimit"in u&&u.suggestionsLimit!=null&&(this.suggestionsLimit=u.suggestionsLimit),"suggestionsUsed"in u&&u.suggestionsUsed!=null&&(this.suggestionsUsed=u.suggestionsUsed),"cycleStartDay"in u&&u.cycleStartDay!=null&&(this.cycleStartDay=u.cycleStartDay))}get planID(){return $.Message.getFieldWithDefault(this,1,0)}set planID(u){$.Message.setField(this,1,u)}get planName(){return $.Message.getFieldWithDefault(this,2,"")}set planName(u){$.Message.setField(this,2,u)}get suggestionsLimit(){return $.Message.getFieldWithDefault(this,3,0)}set suggestionsLimit(u){$.Message.setField(this,3,u)}get suggestionsUsed(){return $.Message.getFieldWithDefault(this,4,0)}set suggestionsUsed(u){$.Message.setField(this,4,u)}get cycleStartDay(){return $.Message.getFieldWithDefault(this,5,0)}set cycleStartDay(u){$.Message.setField(this,5,u)}static fromObject(u){const w=new Yi({});return u.planID!=null&&(w.planID=u.planID),u.planName!=null&&(w.planName=u.planName),u.suggestionsLimit!=null&&(w.suggestionsLimit=u.suggestionsLimit),u.suggestionsUsed!=null&&(w.suggestionsUsed=u.suggestionsUsed),u.cycleStartDay!=null&&(w.cycleStartDay=u.cycleStartDay),w}toObject(){const u={};return this.planID!=null&&(u.planID=this.planID),this.planName!=null&&(u.planName=this.planName),this.suggestionsLimit!=null&&(u.suggestionsLimit=this.suggestionsLimit),this.suggestionsUsed!=null&&(u.suggestionsUsed=this.suggestionsUsed),this.cycleStartDay!=null&&(u.cycleStartDay=this.cycleStartDay),u}serialize(u){const w=u||new $.BinaryWriter;if(this.planID!=0&&w.writeEnum(1,this.planID),this.planName.length&&w.writeString(2,this.planName),this.suggestionsLimit!=0&&w.writeInt64(3,this.suggestionsLimit),this.suggestionsUsed!=0&&w.writeInt64(4,this.suggestionsUsed),this.cycleStartDay!=0&&w.writeInt32(5,this.cycleStartDay),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new Yi;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:H.planID=w.readEnum();break;case 2:H.planName=w.readString();break;case 3:H.suggestionsLimit=w.readInt64();break;case 4:H.suggestionsUsed=w.readInt64();break;case 5:H.cycleStartDay=w.readInt32();break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return Yi.deserialize(u)}};e=new WeakMap;let h=A;t.BillingDetails=h;const P=class qi extends $.Message{constructor(u){super(),ie(this,n,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],oe(this,n)),!Array.isArray(u)&&typeof u=="object"&&("deviceResolutionType"in u&&u.deviceResolutionType!=null&&(this.deviceResolutionType=u.deviceResolutionType),"networkEffectiveType"in u&&u.networkEffectiveType!=null&&(this.networkEffectiveType=u.networkEffectiveType))}get deviceResolutionType(){return $.Message.getFieldWithDefault(this,1,0)}set deviceResolutionType(u){$.Message.setField(this,1,u)}get networkEffectiveType(){return $.Message.getFieldWithDefault(this,2,0)}set networkEffectiveType(u){$.Message.setField(this,2,u)}static fromObject(u){const w=new qi({});return u.deviceResolutionType!=null&&(w.deviceResolutionType=u.deviceResolutionType),u.networkEffectiveType!=null&&(w.networkEffectiveType=u.networkEffectiveType),w}toObject(){const u={};return this.deviceResolutionType!=null&&(u.deviceResolutionType=this.deviceResolutionType),this.networkEffectiveType!=null&&(u.networkEffectiveType=this.networkEffectiveType),u}serialize(u){const w=u||new $.BinaryWriter;if(this.deviceResolutionType!=0&&w.writeEnum(1,this.deviceResolutionType),this.networkEffectiveType!=0&&w.writeEnum(2,this.networkEffectiveType),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new qi;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:H.deviceResolutionType=w.readEnum();break;case 2:H.networkEffectiveType=w.readEnum();break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return qi.deserialize(u)}};n=new WeakMap;let D=P;t.ClusterAttrs=D;const I=class Xi extends $.Message{constructor(u){super(),ie(this,o,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],oe(this,o)),!Array.isArray(u)&&typeof u=="object"&&("referrer"in u&&u.referrer!=null&&(this.referrer=u.referrer),"page"in u&&u.page!=null&&(this.page=u.page),"deviceResolutionType"in u&&u.deviceResolutionType!=null&&(this.deviceResolutionType=u.deviceResolutionType),"networkEffectiveType"in u&&u.networkEffectiveType!=null&&(this.networkEffectiveType=u.networkEffectiveType))}get referrer(){return $.Message.getFieldWithDefault(this,1,"")}set referrer(u){$.Message.setField(this,1,u)}get page(){return $.Message.getFieldWithDefault(this,2,"")}set page(u){$.Message.setField(this,2,u)}get deviceResolutionType(){return $.Message.getFieldWithDefault(this,3,0)}set deviceResolutionType(u){$.Message.setField(this,3,u)}get networkEffectiveType(){return $.Message.getFieldWithDefault(this,4,0)}set networkEffectiveType(u){$.Message.setField(this,4,u)}static fromObject(u){const w=new Xi({});return u.referrer!=null&&(w.referrer=u.referrer),u.page!=null&&(w.page=u.page),u.deviceResolutionType!=null&&(w.deviceResolutionType=u.deviceResolutionType),u.networkEffectiveType!=null&&(w.networkEffectiveType=u.networkEffectiveType),w}toObject(){const u={};return this.referrer!=null&&(u.referrer=this.referrer),this.page!=null&&(u.page=this.page),this.deviceResolutionType!=null&&(u.deviceResolutionType=this.deviceResolutionType),this.networkEffectiveType!=null&&(u.networkEffectiveType=this.networkEffectiveType),u}serialize(u){const w=u||new $.BinaryWriter;if(this.referrer.length&&w.writeString(1,this.referrer),this.page.length&&w.writeString(2,this.page),this.deviceResolutionType!=0&&w.writeEnum(3,this.deviceResolutionType),this.networkEffectiveType!=0&&w.writeEnum(4,this.networkEffectiveType),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new Xi;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:H.referrer=w.readString();break;case 2:H.page=w.readString();break;case 3:H.deviceResolutionType=w.readEnum();break;case 4:H.networkEffectiveType=w.readEnum();break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return Xi.deserialize(u)}};o=new WeakMap;let z=I;t.GetPrefetchReq=z;const N=class Ji extends $.Message{constructor(u){super(),ie(this,s,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[1,2],oe(this,s)),!Array.isArray(u)&&typeof u=="object"&&("prerender"in u&&u.prerender!=null&&(this.prerender=u.prerender),"prefetch"in u&&u.prefetch!=null&&(this.prefetch=u.prefetch))}get prerender(){return $.Message.getFieldWithDefault(this,1,[])}set prerender(u){$.Message.setField(this,1,u)}get prefetch(){return $.Message.getFieldWithDefault(this,2,[])}set prefetch(u){$.Message.setField(this,2,u)}static fromObject(u){const w=new Ji({});return u.prerender!=null&&(w.prerender=u.prerender),u.prefetch!=null&&(w.prefetch=u.prefetch),w}toObject(){const u={};return this.prerender!=null&&(u.prerender=this.prerender),this.prefetch!=null&&(u.prefetch=this.prefetch),u}serialize(u){const w=u||new $.BinaryWriter;if(this.prerender.length&&w.writeRepeatedString(1,this.prerender),this.prefetch.length&&w.writeRepeatedString(2,this.prefetch),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new Ji;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:$.Message.addToRepeatedField(H,1,w.readString());break;case 2:$.Message.addToRepeatedField(H,2,w.readString());break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return Ji.deserialize(u)}};s=new WeakMap;let x=N;t.GetPrefetchRes=x;const V=class Zi extends $.Message{constructor(u){super(),ie(this,a,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],oe(this,a)),!Array.isArray(u)&&typeof u=="object"&&("host"in u&&u.host!=null&&(this.host=u.host),"platform"in u&&u.platform!=null&&(this.platform=u.platform))}get host(){return $.Message.getFieldWithDefault(this,1,"")}set host(u){$.Message.setField(this,1,u)}get platform(){return $.Message.getFieldWithDefault(this,2,xn.PlatformID.UNDEFINED_PLATFORM)}set platform(u){$.Message.setField(this,2,u)}static fromObject(u){const w=new Zi({});return u.host!=null&&(w.host=u.host),u.platform!=null&&(w.platform=u.platform),w}toObject(){const u={};return this.host!=null&&(u.host=this.host),this.platform!=null&&(u.platform=this.platform),u}serialize(u){const w=u||new $.BinaryWriter;if(this.host.length&&w.writeString(1,this.host),this.platform!=xn.PlatformID.UNDEFINED_PLATFORM&&w.writeEnum(2,this.platform),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new Zi;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:H.host=w.readString();break;case 2:H.platform=w.readEnum();break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return Zi.deserialize(u)}};a=new WeakMap;let G=V;t.AddDomainReq=G;const L=class Qi extends $.Message{constructor(u){super(),ie(this,c,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],oe(this,c)),!Array.isArray(u)&&typeof u=="object"&&"domain"in u&&u.domain!=null&&(this.domain=u.domain)}get domain(){return $.Message.getWrapperField(this,q,1)}set domain(u){$.Message.setWrapperField(this,1,u)}get has_domain(){return $.Message.getField(this,1)!=null}static fromObject(u){const w=new Qi({});return u.domain!=null&&(w.domain=q.fromObject(u.domain)),w}toObject(){const u={};return this.domain!=null&&(u.domain=this.domain.toObject()),u}serialize(u){const w=u||new $.BinaryWriter;if(this.has_domain&&w.writeMessage(1,this.domain,()=>this.domain.serialize(w)),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new Qi;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:w.readMessage(H.domain,()=>H.domain=q.deserialize(w));break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return Qi.deserialize(u)}};c=new WeakMap;let K=L;t.AddDomainRes=K;const J=class ts extends $.Message{constructor(u){super(),ie(this,p,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],oe(this,p))}static fromObject(u){return new ts({})}toObject(){return{}}serialize(u){const w=u||new $.BinaryWriter;if(!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new ts;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return ts.deserialize(u)}};p=new WeakMap;let _=J;t.GetDomainsReq=_;const Q=class es extends $.Message{constructor(u){super(),ie(this,d,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],oe(this,d)),!Array.isArray(u)&&typeof u=="object"&&("id"in u&&u.id!=null&&(this.id=u.id),"host"in u&&u.host!=null&&(this.host=u.host),"platform"in u&&u.platform!=null&&(this.platform=u.platform),"billingDetails"in u&&u.billingDetails!=null&&(this.billingDetails=u.billingDetails))}get id(){return $.Message.getFieldWithDefault(this,1,"")}set id(u){$.Message.setField(this,1,u)}get host(){return $.Message.getFieldWithDefault(this,2,"")}set host(u){$.Message.setField(this,2,u)}get platform(){return $.Message.getFieldWithDefault(this,3,xn.PlatformID.UNDEFINED_PLATFORM)}set platform(u){$.Message.setField(this,3,u)}get billingDetails(){return $.Message.getWrapperField(this,h,4)}set billingDetails(u){$.Message.setWrapperField(this,4,u)}get has_billingDetails(){return $.Message.getField(this,4)!=null}static fromObject(u){const w=new es({});return u.id!=null&&(w.id=u.id),u.host!=null&&(w.host=u.host),u.platform!=null&&(w.platform=u.platform),u.billingDetails!=null&&(w.billingDetails=h.fromObject(u.billingDetails)),w}toObject(){const u={};return this.id!=null&&(u.id=this.id),this.host!=null&&(u.host=this.host),this.platform!=null&&(u.platform=this.platform),this.billingDetails!=null&&(u.billingDetails=this.billingDetails.toObject()),u}serialize(u){const w=u||new $.BinaryWriter;if(this.id.length&&w.writeString(1,this.id),this.host.length&&w.writeString(2,this.host),this.platform!=xn.PlatformID.UNDEFINED_PLATFORM&&w.writeEnum(3,this.platform),this.has_billingDetails&&w.writeMessage(4,this.billingDetails,()=>this.billingDetails.serialize(w)),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new es;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:H.id=w.readString();break;case 2:H.host=w.readString();break;case 3:H.platform=w.readEnum();break;case 4:w.readMessage(H.billingDetails,()=>H.billingDetails=h.deserialize(w));break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return es.deserialize(u)}};d=new WeakMap;let q=Q;t.Domain=q;const tt=class rs extends $.Message{constructor(u){super(),ie(this,g,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[1],oe(this,g)),!Array.isArray(u)&&typeof u=="object"&&"domains"in u&&u.domains!=null&&(this.domains=u.domains)}get domains(){return $.Message.getRepeatedWrapperField(this,q,1)}set domains(u){$.Message.setRepeatedWrapperField(this,1,u)}static fromObject(u){const w=new rs({});return u.domains!=null&&(w.domains=u.domains.map(H=>q.fromObject(H))),w}toObject(){const u={};return this.domains!=null&&(u.domains=this.domains.map(w=>w.toObject())),u}serialize(u){const w=u||new $.BinaryWriter;if(this.domains.length&&w.writeRepeatedMessage(1,this.domains,H=>H.serialize(w)),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new rs;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:w.readMessage(H.domains,()=>$.Message.addToRepeatedWrapperField(H,1,q.deserialize(w),q));break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return rs.deserialize(u)}};g=new WeakMap;let dt=tt;t.GetDomainsRes=dt;const bt=class ns extends $.Message{constructor(u){super(),ie(this,m,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],oe(this,m)),!Array.isArray(u)&&typeof u=="object"&&"host"in u&&u.host!=null&&(this.host=u.host)}get host(){return $.Message.getFieldWithDefault(this,1,"")}set host(u){$.Message.setField(this,1,u)}static fromObject(u){const w=new ns({});return u.host!=null&&(w.host=u.host),w}toObject(){const u={};return this.host!=null&&(u.host=this.host),u}serialize(u){const w=u||new $.BinaryWriter;if(this.host.length&&w.writeString(1,this.host),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new ns;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:H.host=w.readString();break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return ns.deserialize(u)}};m=new WeakMap;let it=bt;t.GetReportReq=it;const xt=class os extends $.Message{constructor(u){super(),ie(this,S,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],oe(this,S)),!Array.isArray(u)&&typeof u=="object"&&("fromPath"in u&&u.fromPath!=null&&(this.fromPath=u.fromPath),"toPath"in u&&u.toPath!=null&&(this.toPath=u.toPath),"probability"in u&&u.probability!=null&&(this.probability=u.probability))}get fromPath(){return $.Message.getFieldWithDefault(this,1,"")}set fromPath(u){$.Message.setField(this,1,u)}get toPath(){return $.Message.getFieldWithDefault(this,2,"")}set toPath(u){$.Message.setField(this,2,u)}get probability(){return $.Message.getFieldWithDefault(this,3,0)}set probability(u){$.Message.setField(this,3,u)}static fromObject(u){const w=new os({});return u.fromPath!=null&&(w.fromPath=u.fromPath),u.toPath!=null&&(w.toPath=u.toPath),u.probability!=null&&(w.probability=u.probability),w}toObject(){const u={};return this.fromPath!=null&&(u.fromPath=this.fromPath),this.toPath!=null&&(u.toPath=this.toPath),this.probability!=null&&(u.probability=this.probability),u}serialize(u){const w=u||new $.BinaryWriter;if(this.fromPath.length&&w.writeString(1,this.fromPath),this.toPath.length&&w.writeString(2,this.toPath),this.probability!=0&&w.writeUint32(3,this.probability),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new os;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:H.fromPath=w.readString();break;case 2:H.toPath=w.readString();break;case 3:H.probability=w.readUint32();break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return os.deserialize(u)}};S=new WeakMap;let Ct=xt;t.GetReportItem=Ct;const Qt=class is extends $.Message{constructor(u){super(),ie(this,y,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[1],oe(this,y)),!Array.isArray(u)&&typeof u=="object"&&"items"in u&&u.items!=null&&(this.items=u.items)}get items(){return $.Message.getRepeatedWrapperField(this,Ct,1)}set items(u){$.Message.setRepeatedWrapperField(this,1,u)}static fromObject(u){const w=new is({});return u.items!=null&&(w.items=u.items.map(H=>Ct.fromObject(H))),w}toObject(){const u={};return this.items!=null&&(u.items=this.items.map(w=>w.toObject())),u}serialize(u){const w=u||new $.BinaryWriter;if(this.items.length&&w.writeRepeatedMessage(1,this.items,H=>H.serialize(w)),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new is;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:w.readMessage(H.items,()=>$.Message.addToRepeatedWrapperField(H,1,Ct.deserialize(w),Ct));break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return is.deserialize(u)}};y=new WeakMap;let fe=Qt;t.GetReportRes=fe;const Ft=class ss extends $.Message{constructor(u){super(),ie(this,j,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],oe(this,j)),!Array.isArray(u)&&typeof u=="object"&&"host"in u&&u.host!=null&&(this.host=u.host)}get host(){return $.Message.getFieldWithDefault(this,1,"")}set host(u){$.Message.setField(this,1,u)}static fromObject(u){const w=new ss({});return u.host!=null&&(w.host=u.host),w}toObject(){const u={};return this.host!=null&&(u.host=this.host),u}serialize(u){const w=u||new $.BinaryWriter;if(this.host.length&&w.writeString(1,this.host),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new ss;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:H.host=w.readString();break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return ss.deserialize(u)}};j=new WeakMap;let Wt=Ft;t.GetReportV2Req=Wt;const st=class as extends $.Message{constructor(u){super(),ie(this,k,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],oe(this,k)),!Array.isArray(u)&&typeof u=="object"&&("fromPath"in u&&u.fromPath!=null&&(this.fromPath=u.fromPath),"toPath"in u&&u.toPath!=null&&(this.toPath=u.toPath),"impressions"in u&&u.impressions!=null&&(this.impressions=u.impressions),"clusterAttrs"in u&&u.clusterAttrs!=null&&(this.clusterAttrs=u.clusterAttrs))}get fromPath(){return $.Message.getFieldWithDefault(this,1,"")}set fromPath(u){$.Message.setField(this,1,u)}get toPath(){return $.Message.getFieldWithDefault(this,2,"")}set toPath(u){$.Message.setField(this,2,u)}get impressions(){return $.Message.getFieldWithDefault(this,3,0)}set impressions(u){$.Message.setField(this,3,u)}get clusterAttrs(){return $.Message.getWrapperField(this,D,4)}set clusterAttrs(u){$.Message.setWrapperField(this,4,u)}get has_clusterAttrs(){return $.Message.getField(this,4)!=null}static fromObject(u){const w=new as({});return u.fromPath!=null&&(w.fromPath=u.fromPath),u.toPath!=null&&(w.toPath=u.toPath),u.impressions!=null&&(w.impressions=u.impressions),u.clusterAttrs!=null&&(w.clusterAttrs=D.fromObject(u.clusterAttrs)),w}toObject(){const u={};return this.fromPath!=null&&(u.fromPath=this.fromPath),this.toPath!=null&&(u.toPath=this.toPath),this.impressions!=null&&(u.impressions=this.impressions),this.clusterAttrs!=null&&(u.clusterAttrs=this.clusterAttrs.toObject()),u}serialize(u){const w=u||new $.BinaryWriter;if(this.fromPath.length&&w.writeString(1,this.fromPath),this.toPath.length&&w.writeString(2,this.toPath),this.impressions!=0&&w.writeUint64(3,this.impressions),this.has_clusterAttrs&&w.writeMessage(4,this.clusterAttrs,()=>this.clusterAttrs.serialize(w)),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new as;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:H.fromPath=w.readString();break;case 2:H.toPath=w.readString();break;case 3:H.impressions=w.readUint64();break;case 4:w.readMessage(H.clusterAttrs,()=>H.clusterAttrs=D.deserialize(w));break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return as.deserialize(u)}};k=new WeakMap;let rt=st;t.GetReportV2Item=rt;const nt=class ls extends $.Message{constructor(u){super(),ie(this,E,[]),$.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[1],oe(this,E)),!Array.isArray(u)&&typeof u=="object"&&("items"in u&&u.items!=null&&(this.items=u.items),"suggestionsGeneratedL30"in u&&u.suggestionsGeneratedL30!=null&&(this.suggestionsGeneratedL30=u.suggestionsGeneratedL30),"domain"in u&&u.domain!=null&&(this.domain=u.domain))}get items(){return $.Message.getRepeatedWrapperField(this,rt,1)}set items(u){$.Message.setRepeatedWrapperField(this,1,u)}get suggestionsGeneratedL30(){return $.Message.getFieldWithDefault(this,2,0)}set suggestionsGeneratedL30(u){$.Message.setField(this,2,u)}get domain(){return $.Message.getWrapperField(this,q,3)}set domain(u){$.Message.setWrapperField(this,3,u)}get has_domain(){return $.Message.getField(this,3)!=null}static fromObject(u){const w=new ls({});return u.items!=null&&(w.items=u.items.map(H=>rt.fromObject(H))),u.suggestionsGeneratedL30!=null&&(w.suggestionsGeneratedL30=u.suggestionsGeneratedL30),u.domain!=null&&(w.domain=q.fromObject(u.domain)),w}toObject(){const u={};return this.items!=null&&(u.items=this.items.map(w=>w.toObject())),this.suggestionsGeneratedL30!=null&&(u.suggestionsGeneratedL30=this.suggestionsGeneratedL30),this.domain!=null&&(u.domain=this.domain.toObject()),u}serialize(u){const w=u||new $.BinaryWriter;if(this.items.length&&w.writeRepeatedMessage(1,this.items,H=>H.serialize(w)),this.suggestionsGeneratedL30!=0&&w.writeInt64(2,this.suggestionsGeneratedL30),this.has_domain&&w.writeMessage(3,this.domain,()=>this.domain.serialize(w)),!u)return w.getResultBuffer()}static deserialize(u){const w=u instanceof $.BinaryReader?u:new $.BinaryReader(u),H=new ls;for(;w.nextField()&&!w.isEndGroup();)switch(w.getFieldNumber()){case 1:w.readMessage(H.items,()=>$.Message.addToRepeatedWrapperField(H,1,rt.deserialize(w),rt));break;case 2:H.suggestionsGeneratedL30=w.readInt64();break;case 3:w.readMessage(H.domain,()=>H.domain=q.deserialize(w));break;default:w.skipField()}return H}serializeBinary(){return this.serialize()}static deserializeBinary(u){return ls.deserialize(u)}};E=new WeakMap;let Rt=nt;t.GetReportV2Res=Rt})(se||(se={}));const R1=t=>{switch(t){case se.DeviceResolutionType.DRT_MOBILE:return"Mobile";case se.DeviceResolutionType.DRT_TABLET:return"Tablet";case se.DeviceResolutionType.DRT_DESKTOP:return"Desktop";default:return"Unknown"}},E1=t=>{switch(t){case se.NetworkEffectiveType.NET_2G:return"2G";case se.NetworkEffectiveType.NET_3G:return"3G";case se.NetworkEffectiveType.NET_4G:return"4G";default:return"Unknown"}},T1=(t,e)=>{const n=[];return t!==void 0&&t!==se.DeviceResolutionType.DRT_UNDEFINED&&n.push(R1(t)),e!==void 0&&e!==se.NetworkEffectiveType.NET_UNDEFINED&&n.push(E1(e)),n.join(" + ")||"Uncategorized"},k1=({details:t,totalImpressions:e})=>v.jsxs(ft,{sx:{p:2,bgcolor:"grey.50"},children:[v.jsx(et,{variant:"subtitle2",gutterBottom:!0,children:"Navigation Details"}),v.jsxs(Cu,{size:"small",children:[v.jsx(ku,{children:v.jsxs(ho,{children:[v.jsx(ke,{children:v.jsx(et,{variant:"caption",fontWeight:"bold",children:"Winning Attribute"})}),v.jsx(ke,{children:v.jsx(et,{variant:"caption",fontWeight:"bold",children:"Destination"})}),v.jsx(ke,{align:"right",children:v.jsx(et,{variant:"caption",fontWeight:"bold",children:"Confidence"})})]})}),v.jsx(Eu,{children:t.map((n,o)=>{const s=(n.impressions/e*100).toFixed(1);return v.jsxs(ho,{children:[v.jsx(ke,{children:v.jsx(et,{variant:"body2",children:T1(n.clusterAttrs.deviceResolutionType,n.clusterAttrs.networkEffectiveType)})}),v.jsx(ke,{children:v.jsx(et,{variant:"body2",component:"code",sx:{bgcolor:"grey.200",px:1,py:.5,borderRadius:.5,fontFamily:"monospace"},children:n.toPath})}),v.jsx(ke,{align:"right",children:v.jsx(Qe,{label:`${s}%`,size:"small",variant:"outlined",color:parseFloat(s)>50?"success":parseFloat(s)>25?"warning":"error"})})]},o)})})]})]}),j1=({item:t})=>{const[e,n]=St.useState(!1);return v.jsxs(v.Fragment,{children:[v.jsxs(ho,{hover:!0,children:[v.jsx(ke,{children:v.jsx(ta,{size:"small",onClick:()=>n(!e),sx:{mr:1},children:e?v.jsx(y1,{}):v.jsx(m1,{})})}),v.jsx(ke,{children:v.jsx(et,{variant:"body2",component:"code",sx:{bgcolor:"grey.100",px:1,py:.5,borderRadius:.5,fontFamily:"monospace"},children:t.fromPath})}),v.jsx(ke,{align:"center",children:v.jsx(et,{variant:"body2",fontWeight:"medium",children:t.totalImpressions.toLocaleString()})}),v.jsx(ke,{align:"center",children:v.jsx(et,{variant:"body2",fontWeight:"medium",children:t.possibleNavigations})})]}),v.jsx(ho,{children:v.jsx(ke,{style:{paddingBottom:0,paddingTop:0},colSpan:4,children:v.jsx(ay,{in:e,timeout:"auto",unmountOnExit:!0,children:v.jsx(k1,{details:t.details,totalImpressions:t.totalImpressions})})})})]})},P1=({items:t,loading:e=!1,error:n=null,onNavigateToSettings:o,showDashboardLink:s=!1})=>e?v.jsxs(ft,{sx:{p:3},children:[v.jsx(fu,{}),v.jsx(et,{variant:"body2",color:"text.secondary",sx:{mt:2},children:"Loading report data..."})]}):n?v.jsxs(ft,{sx:{p:3,textAlign:"center"},children:[v.jsx(et,{variant:"body1",color:"error",sx:{mb:2},children:n}),v.jsx(et,{variant:"body2",color:"text.secondary",children:"Please check your internet connection and try again."})]}):t.length===0?v.jsxs(ft,{sx:{p:3,textAlign:"center"},children:[v.jsx(Iu,{sx:{fontSize:48,color:"text.disabled",mb:2}}),v.jsx(et,{variant:"body1",color:"text.secondary",sx:{mb:2},children:"No prefetch data available yet."}),v.jsxs(ru,{spacing:1,alignItems:"center",children:[v.jsx(et,{variant:"body2",color:"text.secondary",children:"New websites may take a few minutes to generate reports based on visitor traffic."}),v.jsx(et,{variant:"body2",color:"text.secondary",children:"Please ensure the Smart Prefetch plugin is properly integrated."}),o&&v.jsx(ft,{sx:{mt:2},children:v.jsxs(gu,{component:"button",variant:"body2",onClick:o,sx:{display:"inline-flex",alignItems:"center",gap:.5,textDecoration:"none","&:hover":{textDecoration:"underline"}},children:[v.jsx(Du,{fontSize:"small"}),"Check integration settings"]})})]})]}):v.jsxs(v.Fragment,{children:[v.jsxs(ft,{children:[v.jsx(et,{variant:"body2",color:"text.secondary",sx:{mb:3},children:"Analysis of user navigation patterns and prefetch predictions for your website."}),v.jsx(Bv,{component:bi,elevation:1,children:v.jsxs(Cu,{children:[v.jsx(ku,{children:v.jsxs(ho,{children:[v.jsx(ke,{width:"50px"}),v.jsx(ke,{children:v.jsx(et,{variant:"subtitle2",fontWeight:"bold",children:"Page"})}),v.jsx(ke,{align:"center",children:v.jsx(et,{variant:"subtitle2",fontWeight:"bold",children:"Samples Collected"})}),v.jsx(ke,{align:"center",children:v.jsx(et,{variant:"subtitle2",fontWeight:"bold",children:"Possible Navigation"})})]})}),v.jsx(Eu,{children:t.map((a,c)=>v.jsx(j1,{item:a},c))})]})}),v.jsxs(et,{variant:"caption",color:"text.secondary",sx:{mt:2,display:"block"},children:["Showing ",t.length," page",t.length!==1?"s":""," with prefetch data"]})]}),s&&v.jsx(ft,{sx:{mt:2,textAlign:"center"},children:v.jsxs(gu,{href:"https://dash.smartprefetch.link/",target:"_blank",rel:"noopener noreferrer",variant:"body2",sx:{display:"inline-flex",alignItems:"center",gap:.5,textDecoration:"none","&:hover":{textDecoration:"underline"}},children:[v.jsx(Iu,{fontSize:"small"}),"Visit Smart Prefetch Dashboard for Advanced Analytics"]})})]}),ba=({title:t,value:e,subtitle:n,icon:o=v.jsx(vn,{}),color:s="primary",infoTooltip:a})=>v.jsx(Rr,{elevation:2,sx:{height:"100%",background:"linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%)",border:"1px solid",borderColor:"divider",transition:"all 0.3s ease-in-out","&:hover":{elevation:4,transform:"translateY(-2px)"}},children:v.jsxs(Er,{sx:{p:3},children:[v.jsxs(ft,{sx:{display:"flex",alignItems:"center",mb:2},children:[v.jsx(ft,{sx:{display:"flex",alignItems:"center",justifyContent:"center",width:48,height:48,borderRadius:"12px",backgroundColor:`${s}.main`,color:"white",mr:2},children:o}),v.jsxs(ft,{sx:{display:"flex",alignItems:"center",flex:1},children:[v.jsx(et,{variant:"h6",component:"h3",color:"text.primary",sx:{fontWeight:600,flex:1},children:t}),a&&v.jsx(vu,{title:a,placement:"top",arrow:!0,sx:{ml:1},children:v.jsx(ta,{size:"small",sx:{color:"text.secondary",opacity:.7,"&:hover":{opacity:1,color:`${s}.main`}},children:v.jsx(Fu,{fontSize:"small"})})})]})]}),v.jsx(et,{variant:"h3",component:"div",color:`${s}.main`,sx:{fontWeight:700,mb:1,fontSize:{xs:"2rem",sm:"2.5rem"}},children:e}),n&&v.jsx(et,{variant:"body2",color:"text.secondary",sx:{fontWeight:500},children:n})]})}),$1=({suggestionsGenerated:t,averageConfidence:e,averageDivergence:n})=>v.jsx(ft,{sx:{mb:4},children:v.jsxs(tr,{container:!0,spacing:3,children:[v.jsx(tr,{item:!0,xs:12,sm:6,md:4,children:v.jsx(ba,{title:"Suggestions Generated",value:t.toLocaleString(),subtitle:"Last 30 days",icon:v.jsx(vn,{}),color:"success",infoTooltip:"This shows how many page predictions our AI has generated for your website in the last 30 days. Higher numbers mean more opportunities for faster loading!"})}),v.jsx(tr,{item:!0,xs:12,sm:6,md:4,children:v.jsx(ba,{title:"Average Confidence",value:`${e.toFixed(1)}%`,subtitle:"Prediction accuracy",icon:v.jsx(zu,{}),color:"info",infoTooltip:"This measures how sure our AI is about its predictions. Higher confidence means users are more likely to visit the predicted pages, resulting in faster loading times."})}),v.jsx(tr,{item:!0,xs:12,sm:6,md:4,children:v.jsx(ba,{title:"Average Divergence",value:n.toFixed(1),subtitle:"Navigation paths per page",icon:v.jsx(Nu,{}),color:"warning",infoTooltip:"This shows the average number of different pages users might visit next from each page. Lower numbers indicate more predictable user behavior, which leads to better prefetching."})})]})}),M1=({billingDetails:t,showDashboardLink:e=!1,onUpgradeClick:n})=>{if(!t)return null;const{planName:o,suggestionsUsed:s,suggestionsLimit:a,cycleStartDay:c}=t,p=a>0?Math.min(s/a*100,100):0,d=y=>y.toLocaleString(),g=()=>{e?window.open("https://dash.smartprefetch.link/dashboard","_blank"):n&&n()},m=`${c}${(y=>{if(y>=11&&y<=13)return"th";switch(y%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(c)}`,S=`Cycle resets on the ${m} of each month`;return v.jsx(Rr,{sx:{mb:2,background:"linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%)",border:"1px solid",borderColor:"divider",borderRadius:2,boxShadow:"0 2px 12px rgba(0, 0, 0, 0.08)"},children:v.jsxs(Er,{sx:{p:2,"&:last-child":{pb:2}},children:[v.jsxs(ft,{display:"flex",justifyContent:"space-between",alignItems:"center",mb:1.5,children:[v.jsxs(ft,{display:"flex",alignItems:"center",gap:1,children:[v.jsx(et,{variant:"subtitle2",fontWeight:600,color:"text.primary",children:"Current Plan:"}),v.jsx(Qe,{label:o,color:"primary",size:"small",sx:{fontWeight:600,fontSize:"0.7rem",height:24}})]}),v.jsx(tu,{variant:"contained",startIcon:v.jsx(w1,{}),onClick:g,size:"small",sx:{borderRadius:2,textTransform:"none",fontWeight:600,fontSize:"0.8rem",px:2,py:.5,minHeight:"auto",boxShadow:"0 2px 8px rgba(25, 118, 210, 0.3)","&:hover":{boxShadow:"0 4px 12px rgba(25, 118, 210, 0.4)",transform:"translateY(-1px)"}},children:"Upgrade"})]}),v.jsxs(ft,{children:[v.jsxs(ft,{display:"flex",justifyContent:"space-between",alignItems:"center",mb:.5,children:[v.jsxs(et,{variant:"body2",fontWeight:500,fontSize:"0.9rem",children:[d(s)," / ",a===0?"∞":d(a)]}),v.jsxs(ft,{display:"flex",alignItems:"center",gap:1,children:[v.jsx(et,{variant:"body2",color:"text.secondary",fontSize:"0.8rem",children:a>0?`${p.toFixed(1)}%`:"Unlimited"}),v.jsx(vu,{title:S,arrow:!0,placement:"top",children:v.jsxs(et,{variant:"body2",color:"text.secondary",sx:{cursor:"help",textDecoration:"underline dotted",fontSize:"0.8rem","&:hover":{color:"primary.main"}},children:["Resets ",m]})})]})]}),a>0?v.jsx(fu,{variant:"determinate",value:p,sx:{height:6,borderRadius:3,backgroundColor:"rgba(0, 0, 0, 0.1)",mb:.5,"& .MuiLinearProgress-bar":{borderRadius:3,background:p>80?"linear-gradient(45deg, #ff9800 30%, #f57c00 90%)":p>60?"linear-gradient(45deg, #2196f3 30%, #1976d2 90%)":"linear-gradient(45deg, #4caf50 30%, #388e3c 90%)"}}}):v.jsx(ft,{sx:{height:6,borderRadius:3,background:"linear-gradient(45deg, #4caf50 30%, #388e3c 90%)",position:"relative",overflow:"hidden",mb:.5,"&::after":{content:'""',position:"absolute",top:0,left:"-100%",width:"100%",height:"100%",background:"linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent)",animation:"shimmer 2s infinite"},"@keyframes shimmer":{"0%":{left:"-100%"},"100%":{left:"100%"}}}}),v.jsx(et,{variant:"caption",color:"text.secondary",fontSize:"0.7rem",children:"Smart navigation predictions this cycle"})]})]})})},A1=5*60*1e3,O1=3,I1=[500,502,503],B1=!1;class F1 extends Error{constructor(e){super(e),this.name="MissingPathVarError"}}const z1=new F1("path variable is missing");function D1(t,e){let n=!1,o=t;for(const[s,a]of Object.entries(e))o=o.replace(s,a);return n=o.includes("{"),{newPath:o,missingVar:n}}const N1=(t,e={},n,o)=>{const{timeout:s=A1,retryCount:a=O1,retryableCodes:c=I1,contentTypeJson:p=B1}=e;let{newPath:d,missingVar:g}=D1(o+"/prefetch/v2/report",e.pathVars||{});if(g)return Promise.reject(z1);const m=t.serializeBinary(),S={method:"GET",headers:new Headers({Authorization:`Bearer ${n}`,"Content-Type":p?"application/json":"application/x-protobuf",Accept:p?"application/json":"application/x-protobuf",...Object.fromEntries(e.headers||new Headers)}),...e.cache?{cache:e.cache}:{}};d=d+"?"+new URLSearchParams({get_params:btoa(String.fromCharCode.apply(null,Array.from(m)))});async function y(j){try{const k=await fetch(d,S);if(!k.ok&&c.includes(k.status)&&j!==0)return y(j-1);if(p)try{return[await k.json(),k.status]}catch(E){return console.log("error in reading response body: ",E),[new se.GetReportV2Res,k.status]}try{const E=await k.arrayBuffer();if(E.byteLength===0)return[new se.GetReportV2Res,k.status];const A=new Uint8Array(E);return[se.GetReportV2Res.deserialize(A),k.status]}catch(E){return console.error("error in reading response body",E),[new se.GetReportV2Res,k.status]}}catch(k){return console.log("error getting data: ",k),[new se.GetReportV2Res,0]}}return y(a)},_1=window.location.hostname.includes(".local")||window.location.hostname.includes("localhost"),L1=_1?"https://api.smartprefetch.local":"https://api.smartprefetch.link",W1=({host:t,jwt:e,onAuthenticationFailed:n,onNavigateToSettings:o,onNavigateToUpgrade:s,showDashboardLink:a=!1})=>{const[c,p]=St.useState([]),[d,g]=St.useState(!1),[m,S]=St.useState(null),[y,j]=St.useState({suggestionsGenerated:0,averageConfidence:0,averageDivergence:0}),[k,E]=St.useState(null),A=D=>{const I={};return D.forEach(z=>{const N=z.fromPath,x=z.clusterAttrs;if(z.impressions===0||!x)return;const V=x.deviceResolutionType,G=x.networkEffectiveType;V===se.DeviceResolutionType.DRT_UNDEFINED&&G===se.NetworkEffectiveType.NET_UNDEFINED||(I[N]||(I[N]={fromPath:N,totalImpressions:0,possibleNavigations:0,details:[]}),I[N].totalImpressions+=z.impressions,I[N].possibleNavigations+=1,I[N].details.push({toPath:z.toPath,impressions:z.impressions,clusterAttrs:{deviceResolutionType:V!==se.DeviceResolutionType.DRT_UNDEFINED?V:void 0,networkEffectiveType:G!==se.NetworkEffectiveType.NET_UNDEFINED?G:void 0}}))}),Object.values(I).forEach(z=>{z.details.sort((N,x)=>x.impressions-N.impressions)}),Object.values(I)},h=(D,I,z)=>{if(I.length===0)return{suggestionsGenerated:z,averageConfidence:0,averageDivergence:0};let N=0;I.forEach(G=>{let L=0;G.details.forEach(K=>{const J=K.impressions/G.totalImpressions*100;L=Math.max(L,J)}),N+=L});const x=N/I.length,V=I.reduce((G,L)=>G+L.possibleNavigations,0)/I.length;return{suggestionsGenerated:z,averageConfidence:x,averageDivergence:V}},P=async()=>{var D,I,z,N,x;if(t){g(!0),S(null);try{const V=new se.GetReportV2Req({host:t}),[G]=await N1(V,{},e,L1),L=A(G.items||[]);p(L);const K=h(G.items||[],L,G.suggestionsGeneratedL30||0);j(K),(D=G.domain)!=null&&D.billingDetails?E({planName:G.domain.billingDetails.planName||"Free Plan",suggestionsUsed:G.domain.billingDetails.suggestionsUsed||0,suggestionsLimit:G.domain.billingDetails.suggestionsLimit||0,cycleStartDay:G.domain.billingDetails.cycleStartDay||1}):E(null)}catch(V){if(console.error("Error loading report:",V),(I=V.message)!=null&&I.includes("401")||(z=V.message)!=null&&z.includes("Unauthorized")||(N=V.message)!=null&&N.includes("authentication")||(x=V.message)!=null&&x.includes("token")){S("Your session has expired. Please sign in again to continue. Error RT109."),setTimeout(()=>{n==null||n()},2e3);return}S("Failed to load report data. Please try again."),p([])}finally{g(!1)}}};return St.useEffect(()=>{P()},[t,e]),v.jsxs(ft,{children:[v.jsx($1,{suggestionsGenerated:y.suggestionsGenerated,averageConfidence:y.averageConfidence,averageDivergence:y.averageDivergence}),v.jsx(M1,{billingDetails:k,showDashboardLink:a,onUpgradeClick:s}),v.jsx(P1,{items:c,loading:d,error:m,onNavigateToSettings:o,showDashboardLink:a})]})},U1=({showLogo:t=!0,variant:e="full"})=>{const n=()=>v.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[v.jsx("rect",{width:"64",height:"64",fill:"transparent"}),v.jsx("circle",{cx:"24",cy:"32",r:"20",stroke:"#008080",strokeWidth:"4",fill:"none"}),v.jsx("path",{d:"M24 14 L36 32 L24 51",stroke:"#008080",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),v.jsx("path",{d:"M37 32 L59 32",stroke:"#008080",strokeWidth:"4",strokeLinecap:"round"})]});return v.jsx(ft,{sx:{backgroundColor:"background.paper",borderBottom:"1px solid",borderColor:"divider",py:e==="compact"?1.5:2,px:3},children:v.jsxs(ru,{direction:"row",alignItems:"center",spacing:2,children:[t&&v.jsx(n,{}),v.jsxs(ft,{children:[v.jsx(et,{variant:e==="compact"?"h6":"h5",component:"h1",sx:{fontWeight:700,background:"linear-gradient(45deg, #008080 30%, #4db6ac 90%)",backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",textFillColor:"transparent",mb:e==="compact"?0:.5},children:"Smart Prefetch"}),e==="full"&&v.jsx(et,{variant:"body2",color:"text.secondary",sx:{fontWeight:500},children:"Intelligent Page-to-Page Navigation Optimization"})]})]})})},H1=()=>v.jsx(Rr,{sx:{mt:3,backgroundColor:"background.paper"},elevation:1,children:v.jsxs(Er,{sx:{p:3},children:[v.jsxs(ft,{sx:{display:"flex",alignItems:"center",mb:2},children:[v.jsx(Fu,{color:"primary",sx:{mr:1}}),v.jsx(et,{variant:"h6",component:"h3",color:"primary.main",children:"Understanding Your Prefetch Report"})]}),v.jsx(et,{variant:"body2",color:"text.secondary",paragraph:!0,children:"This report shows how Smart Prefetch predicts user navigation patterns on your website based on real visitor behavior."}),v.jsxs(ft,{sx:{mb:3},children:[v.jsx(et,{variant:"subtitle2",gutterBottom:!0,sx:{fontWeight:600,color:"text.primary"},children:"Column Explanations:"}),v.jsxs(Ei,{dense:!0,sx:{pl:1},children:[v.jsxs(er,{sx:{pl:0,py:.5},children:[v.jsx(rr,{sx:{minWidth:36},children:v.jsx(ft,{sx:{width:8,height:8,borderRadius:"50%",backgroundColor:"primary.main"}})}),v.jsx(nr,{primary:v.jsxs(ft,{sx:{display:"flex",alignItems:"center",gap:1},children:[v.jsx(Qe,{label:"Page",size:"small",variant:"outlined"}),v.jsx(et,{variant:"body2",children:"- Source page where predictions are made"})]})})]}),v.jsxs(er,{sx:{pl:0,py:.5},children:[v.jsx(rr,{sx:{minWidth:36},children:v.jsx(ft,{sx:{width:8,height:8,borderRadius:"50%",backgroundColor:"primary.main"}})}),v.jsx(nr,{primary:v.jsxs(ft,{sx:{display:"flex",alignItems:"center",gap:1},children:[v.jsx(Qe,{label:"Samples Collected",size:"small",variant:"outlined"}),v.jsx(et,{variant:"body2",children:"- Number of user interactions analyzed"})]})})]}),v.jsxs(er,{sx:{pl:0,py:.5},children:[v.jsx(rr,{sx:{minWidth:36},children:v.jsx(ft,{sx:{width:8,height:8,borderRadius:"50%",backgroundColor:"primary.main"}})}),v.jsx(nr,{primary:v.jsxs(ft,{sx:{display:"flex",alignItems:"center",gap:1},children:[v.jsx(Qe,{label:"Possible Navigation",size:"small",variant:"outlined"}),v.jsx(et,{variant:"body2",children:"- Number of different predicted destinations"})]})})]})]})]}),v.jsx(rb,{sx:{my:2}}),v.jsxs(ft,{sx:{mb:3},children:[v.jsx(et,{variant:"subtitle2",gutterBottom:!0,sx:{fontWeight:600,color:"text.primary"},children:"Expandable Details:"}),v.jsxs(Ei,{dense:!0,sx:{pl:1},children:[v.jsxs(er,{sx:{pl:0,py:.5},children:[v.jsx(rr,{sx:{minWidth:36},children:v.jsx(Ou,{color:"primary",fontSize:"small"})}),v.jsx(nr,{primary:v.jsxs(ft,{sx:{display:"flex",alignItems:"center",gap:1},children:[v.jsx(Qe,{label:"Winning Attribute",size:"small",variant:"outlined"}),v.jsx(et,{variant:"body2",children:"- User characteristic that best predicts navigation"})]})})]}),v.jsxs(er,{sx:{pl:0,py:.5},children:[v.jsx(rr,{sx:{minWidth:36},children:v.jsx(vn,{color:"primary",fontSize:"small"})}),v.jsx(nr,{primary:v.jsxs(ft,{sx:{display:"flex",alignItems:"center",gap:1},children:[v.jsx(Qe,{label:"Destination",size:"small",variant:"outlined"}),v.jsx(et,{variant:"body2",children:"- Predicted page user will visit next"})]})})]}),v.jsxs(er,{sx:{pl:0,py:.5},children:[v.jsx(rr,{sx:{minWidth:36},children:v.jsx(ma,{color:"primary",fontSize:"small"})}),v.jsx(nr,{primary:v.jsxs(ft,{sx:{display:"flex",alignItems:"center",gap:1},children:[v.jsx(Qe,{label:"Confidence",size:"small",variant:"outlined"}),v.jsx(et,{variant:"body2",children:"- Likelihood of this prediction (higher = better)"})]})})]})]})]}),v.jsxs(ft,{sx:{p:2,backgroundColor:"grey.50",borderRadius:1,display:"flex",alignItems:"center",gap:1},children:[v.jsx(b1,{sx:{color:"text.secondary",fontSize:20}}),v.jsxs(et,{variant:"body2",sx:{color:"text.primary",fontWeight:500},children:[v.jsx("strong",{children:"Tip:"})," Pages with higher confidence scores (70%+) will have more effective prefetching, leading to faster load times and better user experience."]})]})]})}),G1=()=>v.jsx(Rr,{elevation:1,sx:{mt:3},children:v.jsxs(Er,{children:[v.jsxs(ft,{sx:{display:"flex",alignItems:"center",mb:2},children:[v.jsx(ma,{sx:{mr:1,color:"primary.main"}}),v.jsx(et,{variant:"h6",component:"h2",color:"primary.main",children:"Performance Benefits"})]}),v.jsx(et,{variant:"body2",color:"text.secondary",sx:{mb:3},children:"Smart Prefetch intelligently predicts and preloads pages to enhance your website's performance and user experience."}),v.jsxs(Ei,{dense:!0,children:[v.jsxs(er,{sx:{px:0},children:[v.jsx(rr,{sx:{minWidth:40},children:v.jsx(vn,{color:"success"})}),v.jsx(nr,{primary:"Higher Confidence = Better Performance",secondary:"Pages with higher confidence scores are more likely to be prefetched for users matching the winning attributes, significantly reducing load times."})]}),v.jsxs(er,{sx:{px:0},children:[v.jsx(rr,{sx:{minWidth:40},children:v.jsx(zu,{color:"info"})}),v.jsx(nr,{primary:"Adaptive Learning System",secondary:"The system continuously learns from user behavior patterns to optimize predictions over time, becoming more accurate with increased usage."})]}),v.jsxs(er,{sx:{px:0},children:[v.jsx(rr,{sx:{minWidth:40},children:v.jsx(Nu,{color:"warning"})}),v.jsx(nr,{primary:"Improved Navigation Experience",secondary:"Users experience faster page transitions and smoother navigation, leading to better engagement and reduced bounce rates."})]})]}),v.jsxs(ft,{sx:{mt:2,display:"flex",flexWrap:"wrap",gap:1},children:[v.jsx(Qe,{label:"Faster Load Times",size:"small",color:"success",variant:"outlined"}),v.jsx(Qe,{label:"Better User Experience",size:"small",color:"primary",variant:"outlined"}),v.jsx(Qe,{label:"Machine Learning",size:"small",color:"info",variant:"outlined"})]})]})}),V1=()=>{const t=[{icon:ma,title:"Lightning Fast",description:"Prefetch pages before users click, reducing load times by up to 70%"},{icon:Ou,title:"Smart Analytics",description:"AI-powered predictions based on user behavior patterns"},{icon:x1,title:"Privacy First",description:"No personal data collected, GDPR compliant"},{icon:h1,title:"Cloud Powered",description:"Scalable infrastructure that grows with your traffic"},{icon:f1,title:"Auto-Optimization",description:"Continuously learns and improves predictions"},{icon:vn,title:"Performance Boost",description:"Measurable improvements in user experience metrics"}],e=[{question:"How does Smart Prefetch work?",answer:"Smart Prefetch uses machine learning to analyze user behavior and predict which pages they are likely to visit next. It then prefetches those pages in the background."},{question:"Will it slow down my website?",answer:"No, Smart Prefetch is designed to be lightweight and only prefetches during idle time. It actually makes your website faster by loading pages before users need them."},{question:"Is it compatible with my platform?",answer:"Yes! Smart Prefetch works with WordPress, Shopify, and any website through our JavaScript integration."},{question:"How much does it cost?",answer:"We offer flexible pricing plans based on your traffic volume. Contact us for a custom quote that fits your needs."}];return v.jsxs(ft,{sx:{p:3},children:[v.jsx(et,{variant:"h4",gutterBottom:!0,children:"Help & Support"}),v.jsx(et,{variant:"body1",color:"text.secondary",gutterBottom:!0,children:"Get help with Smart Prefetch and optimize your website performance."}),v.jsx(Rr,{sx:{mt:4,mb:4},children:v.jsxs(Er,{children:[v.jsxs(ft,{sx:{display:"flex",alignItems:"center",gap:2,mb:3},children:[v.jsx(Bu,{sx:{color:"primary.main",fontSize:32}}),v.jsxs(ft,{children:[v.jsx(et,{variant:"h5",gutterBottom:!0,children:"Need Help?"}),v.jsx(et,{variant:"body1",color:"text.secondary",children:"Our support team is here to help you optimize your website performance."})]})]}),v.jsx(Gy,{severity:"info",sx:{mb:3},children:v.jsxs(et,{variant:"body2",children:[v.jsx("strong",{children:"Average Response Time:"})," 2-4 business days for free tiers"]})}),v.jsxs(ft,{sx:{display:"flex",gap:2,alignItems:"center",flexWrap:"wrap"},children:[v.jsx(tu,{variant:"contained",startIcon:v.jsx(Bu,{}),href:"mailto:support@smartprefetch.link",size:"large",children:"Email Support"}),v.jsx(et,{variant:"body2",color:"text.secondary",children:"support@smartprefetch.link"}),v.jsx(Qe,{label:"24/7 Available",color:"primary",variant:"outlined",size:"small"})]})]})}),v.jsxs(ft,{sx:{mb:4},children:[v.jsx(et,{variant:"h5",gutterBottom:!0,children:"Why Smart Prefetch?"}),v.jsx(tr,{container:!0,spacing:3,children:t.map((n,o)=>{const s=n.icon;return v.jsx(tr,{item:!0,xs:12,md:6,children:v.jsx(bi,{sx:{p:2,height:"100%"},children:v.jsxs(ft,{sx:{display:"flex",alignItems:"flex-start",gap:2},children:[v.jsx(s,{sx:{color:"primary.main",mt:.5}}),v.jsxs(ft,{children:[v.jsx(et,{variant:"h6",gutterBottom:!0,children:n.title}),v.jsx(et,{variant:"body2",color:"text.secondary",children:n.description})]})]})})},o)})})]}),v.jsx(Rr,{sx:{mb:4},children:v.jsxs(Er,{children:[v.jsx(et,{variant:"h5",gutterBottom:!0,children:"Quick Start Guide"}),v.jsxs(Ei,{children:[v.jsxs(er,{children:[v.jsx(rr,{children:v.jsx(ft,{sx:{width:24,height:24,borderRadius:"50%",backgroundColor:"primary.main",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"0.875rem",fontWeight:"bold"},children:"1"})}),v.jsx(nr,{primary:"Add Your Website",secondary:"Click the 'Add Website' button in the header to register your domain"})]}),v.jsxs(er,{children:[v.jsx(rr,{children:v.jsx(ft,{sx:{width:24,height:24,borderRadius:"50%",backgroundColor:"primary.main",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"0.875rem",fontWeight:"bold"},children:"2"})}),v.jsx(nr,{primary:"Install Integration",secondary:"Follow the platform-specific instructions in Settings to integrate Smart Prefetch"})]}),v.jsxs(er,{children:[v.jsx(rr,{children:v.jsx(ft,{sx:{width:24,height:24,borderRadius:"50%",backgroundColor:"primary.main",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"0.875rem",fontWeight:"bold"},children:"3"})}),v.jsx(nr,{primary:"Monitor Performance",secondary:"View your prefetch analytics and performance improvements in the Report section"})]})]})]})}),v.jsxs(ft,{sx:{mb:4},children:[v.jsx(et,{variant:"h5",gutterBottom:!0,children:"Frequently Asked Questions"}),v.jsx(tr,{container:!0,spacing:2,children:e.map((n,o)=>v.jsx(tr,{item:!0,xs:12,children:v.jsx(Rr,{children:v.jsx(Er,{children:v.jsxs(ft,{sx:{display:"flex",alignItems:"flex-start",gap:2},children:[v.jsx(v1,{sx:{color:"primary.main",mt:.5}}),v.jsxs(ft,{children:[v.jsx(et,{variant:"h6",gutterBottom:!0,children:n.question}),v.jsx(et,{variant:"body2",color:"text.secondary",children:n.answer})]})]})})})},o))})]}),v.jsx(Rr,{children:v.jsxs(Er,{children:[v.jsx(et,{variant:"h5",gutterBottom:!0,children:"Additional Resources"}),v.jsxs(tr,{container:!0,spacing:2,children:[v.jsxs(tr,{item:!0,xs:12,md:4,children:[v.jsxs(ft,{sx:{display:"flex",alignItems:"center",gap:2,mb:2},children:[v.jsx(g1,{sx:{color:"primary.main"}}),v.jsx(et,{variant:"h6",children:"Developer Docs"})]}),v.jsx(et,{variant:"body2",color:"text.secondary",children:"Technical documentation and API references for custom integrations."})]}),v.jsxs(tr,{item:!0,xs:12,md:4,children:[v.jsxs(ft,{sx:{display:"flex",alignItems:"center",gap:2,mb:2},children:[v.jsx(Du,{sx:{color:"primary.main"}}),v.jsx(et,{variant:"h6",children:"Integration Guides"})]}),v.jsx(et,{variant:"body2",color:"text.secondary",children:"Step-by-step guides for WordPress, Shopify, and custom implementations."})]}),v.jsxs(tr,{item:!0,xs:12,md:4,children:[v.jsxs(ft,{sx:{display:"flex",alignItems:"center",gap:2,mb:2},children:[v.jsx(vn,{sx:{color:"primary.main"}}),v.jsx(et,{variant:"h6",children:"Performance Tips"})]}),v.jsx(et,{variant:"body2",color:"text.secondary",children:"Best practices to maximize your website's performance improvements."})]})]})]})})]})};function yo(t){let e="https://mui.com/production-error/?code="+t;for(let n=1;n<arguments.length;n+=1)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+t+"; visit "+e+" for the full message."}const K1=Object.freeze(Object.defineProperty({__proto__:null,default:yo},Symbol.toStringTag,{value:"Module"}));function ce(){return ce=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},ce.apply(null,arguments)}function wn(t,e){if(t==null)return{};var n={};for(var o in t)if({}.hasOwnProperty.call(t,o)){if(e.indexOf(o)!==-1)continue;n[o]=t[o]}return n}var va,Hu;function Y1(){if(Hu)return va;Hu=1;var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return va=t,va}var xa,Gu;function q1(){if(Gu)return xa;Gu=1;var t=Y1();function e(){}function n(){}return n.resetWarningCache=e,xa=function(){function o(c,p,d,g,m,S){if(S!==t){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}}o.isRequired=o;function s(){return o}var a={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:s,element:o,elementType:o,instanceOf:s,node:o,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:n,resetWarningCache:e};return a.PropTypes=a,a},xa}q1()();function Sn(t){if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function Vu(t){if(M.isValidElement(t)||!Sn(t))return t;const e={};return Object.keys(t).forEach(n=>{e[n]=Vu(t[n])}),e}function br(t,e,n={clone:!0}){const o=n.clone?ce({},t):t;return Sn(t)&&Sn(e)&&Object.keys(e).forEach(s=>{M.isValidElement(e[s])?o[s]=e[s]:Sn(e[s])&&Object.prototype.hasOwnProperty.call(t,s)&&Sn(t[s])?o[s]=br(t[s],e[s],n):n.clone?o[s]=Sn(e[s])?Vu(e[s]):e[s]:o[s]=e[s]}),o}const X1=["values","unit","step"],J1=t=>{const e=Object.keys(t).map(n=>({key:n,val:t[n]}))||[];return e.sort((n,o)=>n.val-o.val),e.reduce((n,o)=>ce({},n,{[o.key]:o.val}),{})};function Z1(t){const{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:o=5}=t,s=wn(t,X1),a=J1(e),c=Object.keys(a);function p(y){return`@media (min-width:${typeof e[y]=="number"?e[y]:y}${n})`}function d(y){return`@media (max-width:${(typeof e[y]=="number"?e[y]:y)-o/100}${n})`}function g(y,j){const k=c.indexOf(j);return`@media (min-width:${typeof e[y]=="number"?e[y]:y}${n}) and (max-width:${(k!==-1&&typeof e[c[k]]=="number"?e[c[k]]:j)-o/100}${n})`}function m(y){return c.indexOf(y)+1<c.length?g(y,c[c.indexOf(y)+1]):p(y)}function S(y){const j=c.indexOf(y);return j===0?p(c[1]):j===c.length-1?d(c[j]):g(y,c[c.indexOf(y)+1]).replace("@media","@media not all and")}return ce({keys:c,values:a,up:p,down:d,between:g,only:m,not:S,unit:n},s)}const Q1={borderRadius:4},tx=Q1;function mo(t,e){return e?br(t,e,{clone:!1}):t}const wa={xs:0,sm:600,md:900,lg:1200,xl:1536},Ku={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${wa[t]}px)`};function vr(t,e,n){const o=t.theme||{};if(Array.isArray(e)){const s=o.breakpoints||Ku;return e.reduce((a,c,p)=>(a[s.up(s.keys[p])]=n(e[p]),a),{})}if(typeof e=="object"){const s=o.breakpoints||Ku;return Object.keys(e).reduce((a,c)=>{if(Object.keys(s.values||wa).indexOf(c)!==-1){const p=s.up(c);a[p]=n(e[c],c)}else{const p=c;a[p]=e[p]}return a},{})}return n(e)}function ex(t={}){var e;return((e=t.keys)==null?void 0:e.reduce((n,o)=>{const s=t.up(o);return n[s]={},n},{}))||{}}function rx(t,e){return t.reduce((n,o)=>{const s=n[o];return(!s||Object.keys(s).length===0)&&delete n[o],n},e)}function Yu(t){if(typeof t!="string")throw new Error(yo(7));return t.charAt(0).toUpperCase()+t.slice(1)}function $i(t,e,n=!0){if(!e||typeof e!="string")return null;if(t&&t.vars&&n){const o=`vars.${e}`.split(".").reduce((s,a)=>s&&s[a]?s[a]:null,t);if(o!=null)return o}return e.split(".").reduce((o,s)=>o&&o[s]!=null?o[s]:null,t)}function Mi(t,e,n,o=n){let s;return typeof t=="function"?s=t(n):Array.isArray(t)?s=t[n]||o:s=$i(t,n)||o,e&&(s=e(s,o,t)),s}function Jt(t){const{prop:e,cssProperty:n=t.prop,themeKey:o,transform:s}=t,a=c=>{if(c[e]==null)return null;const p=c[e],d=c.theme,g=$i(d,o)||{};return vr(c,p,m=>{let S=Mi(g,s,m);return m===S&&typeof m=="string"&&(S=Mi(g,s,`${e}${m==="default"?"":Yu(m)}`,m)),n===!1?S:{[n]:S}})};return a.propTypes={},a.filterProps=[e],a}function nx(t){const e={};return n=>(e[n]===void 0&&(e[n]=t(n)),e[n])}const ox={m:"margin",p:"padding"},ix={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},qu={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},sx=nx(t=>{if(t.length>2)if(qu[t])t=qu[t];else return[t];const[e,n]=t.split(""),o=ox[e],s=ix[n]||"";return Array.isArray(s)?s.map(a=>o+a):[o+s]}),Sa=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Ca=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Sa,...Ca];function bo(t,e,n,o){var s;const a=(s=$i(t,e,!1))!=null?s:n;return typeof a=="number"?c=>typeof c=="string"?c:a*c:Array.isArray(a)?c=>typeof c=="string"?c:a[c]:typeof a=="function"?a:()=>{}}function Xu(t){return bo(t,"spacing",8)}function vo(t,e){if(typeof e=="string"||e==null)return e;const n=Math.abs(e),o=t(n);return e>=0?o:typeof o=="number"?-o:`-${o}`}function ax(t,e){return n=>t.reduce((o,s)=>(o[s]=vo(e,n),o),{})}function lx(t,e,n,o){if(e.indexOf(n)===-1)return null;const s=sx(n),a=ax(s,o),c=t[n];return vr(t,c,a)}function Ju(t,e){const n=Xu(t.theme);return Object.keys(t).map(o=>lx(t,e,o,n)).reduce(mo,{})}function Gt(t){return Ju(t,Sa)}Gt.propTypes={},Gt.filterProps=Sa;function Vt(t){return Ju(t,Ca)}Vt.propTypes={},Vt.filterProps=Ca;function cx(t=8){if(t.mui)return t;const e=Xu({spacing:t}),n=(...o)=>(o.length===0?[1]:o).map(s=>{const a=e(s);return typeof a=="number"?`${a}px`:a}).join(" ");return n.mui=!0,n}function Ai(...t){const e=t.reduce((o,s)=>(s.filterProps.forEach(a=>{o[a]=s}),o),{}),n=o=>Object.keys(o).reduce((s,a)=>e[a]?mo(s,e[a](o)):s,{});return n.propTypes={},n.filterProps=t.reduce((o,s)=>o.concat(s.filterProps),[]),n}function or(t){return typeof t!="number"?t:`${t}px solid`}function ir(t,e){return Jt({prop:t,themeKey:"borders",transform:e})}const ux=ir("border",or),px=ir("borderTop",or),dx=ir("borderRight",or),fx=ir("borderBottom",or),hx=ir("borderLeft",or),gx=ir("borderColor"),yx=ir("borderTopColor"),mx=ir("borderRightColor"),bx=ir("borderBottomColor"),vx=ir("borderLeftColor"),xx=ir("outline",or),wx=ir("outlineColor"),Oi=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const e=bo(t.theme,"shape.borderRadius",4),n=o=>({borderRadius:vo(e,o)});return vr(t,t.borderRadius,n)}return null};Oi.propTypes={},Oi.filterProps=["borderRadius"],Ai(ux,px,dx,fx,hx,gx,yx,mx,bx,vx,Oi,xx,wx);const Ii=t=>{if(t.gap!==void 0&&t.gap!==null){const e=bo(t.theme,"spacing",8),n=o=>({gap:vo(e,o)});return vr(t,t.gap,n)}return null};Ii.propTypes={},Ii.filterProps=["gap"];const Bi=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const e=bo(t.theme,"spacing",8),n=o=>({columnGap:vo(e,o)});return vr(t,t.columnGap,n)}return null};Bi.propTypes={},Bi.filterProps=["columnGap"];const Fi=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const e=bo(t.theme,"spacing",8),n=o=>({rowGap:vo(e,o)});return vr(t,t.rowGap,n)}return null};Fi.propTypes={},Fi.filterProps=["rowGap"];const Sx=Jt({prop:"gridColumn"}),Cx=Jt({prop:"gridRow"}),Rx=Jt({prop:"gridAutoFlow"}),Ex=Jt({prop:"gridAutoColumns"}),Tx=Jt({prop:"gridAutoRows"}),kx=Jt({prop:"gridTemplateColumns"}),jx=Jt({prop:"gridTemplateRows"}),Px=Jt({prop:"gridTemplateAreas"}),$x=Jt({prop:"gridArea"});Ai(Ii,Bi,Fi,Sx,Cx,Rx,Ex,Tx,kx,jx,Px,$x);function Cn(t,e){return e==="grey"?e:t}const Mx=Jt({prop:"color",themeKey:"palette",transform:Cn}),Ax=Jt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Cn}),Ox=Jt({prop:"backgroundColor",themeKey:"palette",transform:Cn});Ai(Mx,Ax,Ox);function Ne(t){return t<=1&&t!==0?`${t*100}%`:t}const Ix=Jt({prop:"width",transform:Ne}),Ra=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const e=n=>{var o,s;const a=((o=t.theme)==null||(o=o.breakpoints)==null||(o=o.values)==null?void 0:o[n])||wa[n];return a?((s=t.theme)==null||(s=s.breakpoints)==null?void 0:s.unit)!=="px"?{maxWidth:`${a}${t.theme.breakpoints.unit}`}:{maxWidth:a}:{maxWidth:Ne(n)}};return vr(t,t.maxWidth,e)}return null};Ra.filterProps=["maxWidth"];const Bx=Jt({prop:"minWidth",transform:Ne}),Fx=Jt({prop:"height",transform:Ne}),zx=Jt({prop:"maxHeight",transform:Ne}),Dx=Jt({prop:"minHeight",transform:Ne});Jt({prop:"size",cssProperty:"width",transform:Ne}),Jt({prop:"size",cssProperty:"height",transform:Ne});const Nx=Jt({prop:"boxSizing"});Ai(Ix,Ra,Bx,Fx,zx,Dx,Nx);const _x={border:{themeKey:"borders",transform:or},borderTop:{themeKey:"borders",transform:or},borderRight:{themeKey:"borders",transform:or},borderBottom:{themeKey:"borders",transform:or},borderLeft:{themeKey:"borders",transform:or},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:or},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Oi},color:{themeKey:"palette",transform:Cn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Cn},backgroundColor:{themeKey:"palette",transform:Cn},p:{style:Vt},pt:{style:Vt},pr:{style:Vt},pb:{style:Vt},pl:{style:Vt},px:{style:Vt},py:{style:Vt},padding:{style:Vt},paddingTop:{style:Vt},paddingRight:{style:Vt},paddingBottom:{style:Vt},paddingLeft:{style:Vt},paddingX:{style:Vt},paddingY:{style:Vt},paddingInline:{style:Vt},paddingInlineStart:{style:Vt},paddingInlineEnd:{style:Vt},paddingBlock:{style:Vt},paddingBlockStart:{style:Vt},paddingBlockEnd:{style:Vt},m:{style:Gt},mt:{style:Gt},mr:{style:Gt},mb:{style:Gt},ml:{style:Gt},mx:{style:Gt},my:{style:Gt},margin:{style:Gt},marginTop:{style:Gt},marginRight:{style:Gt},marginBottom:{style:Gt},marginLeft:{style:Gt},marginX:{style:Gt},marginY:{style:Gt},marginInline:{style:Gt},marginInlineStart:{style:Gt},marginInlineEnd:{style:Gt},marginBlock:{style:Gt},marginBlockStart:{style:Gt},marginBlockEnd:{style:Gt},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Ii},rowGap:{style:Fi},columnGap:{style:Bi},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ne},maxWidth:{style:Ra},minWidth:{transform:Ne},height:{transform:Ne},maxHeight:{transform:Ne},minHeight:{transform:Ne},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Ea=_x;function Lx(...t){const e=t.reduce((o,s)=>o.concat(Object.keys(s)),[]),n=new Set(e);return t.every(o=>n.size===Object.keys(o).length)}function Wx(t,e){return typeof t=="function"?t(e):t}function Ux(){function t(n,o,s,a){const c={[n]:o,theme:s},p=a[n];if(!p)return{[n]:o};const{cssProperty:d=n,themeKey:g,transform:m,style:S}=p;if(o==null)return null;if(g==="typography"&&o==="inherit")return{[n]:o};const y=$i(s,g)||{};return S?S(c):vr(c,o,j=>{let k=Mi(y,m,j);return j===k&&typeof j=="string"&&(k=Mi(y,m,`${n}${j==="default"?"":Yu(j)}`,j)),d===!1?k:{[d]:k}})}function e(n){var o;const{sx:s,theme:a={}}=n||{};if(!s)return null;const c=(o=a.unstable_sxConfig)!=null?o:Ea;function p(d){let g=d;if(typeof d=="function")g=d(a);else if(typeof d!="object")return d;if(!g)return null;const m=ex(a.breakpoints),S=Object.keys(m);let y=m;return Object.keys(g).forEach(j=>{const k=Wx(g[j],a);if(k!=null)if(typeof k=="object")if(c[j])y=mo(y,t(j,k,a,c));else{const E=vr({theme:a},k,A=>({[j]:A}));Lx(E,k)?y[j]=e({sx:k,theme:a}):y=mo(y,E)}else y=mo(y,t(j,k,a,c))}),rx(S,y)}return Array.isArray(s)?s.map(p):p(s)}return e}const Zu=Ux();Zu.filterProps=["sx"];const Qu=Zu;function Hx(t,e){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(t).replace(/(\[[^\]]+\])/,"*:where($1)")]:e}:n.palette.mode===t?e:{}}const Gx=["breakpoints","palette","spacing","shape"];function Vx(t={},...e){const{breakpoints:n={},palette:o={},spacing:s,shape:a={}}=t,c=wn(t,Gx),p=Z1(n),d=cx(s);let g=br({breakpoints:p,direction:"ltr",components:{},palette:ce({mode:"light"},o),spacing:d,shape:ce({},tx,a)},c);return g.applyStyles=Hx,g=e.reduce((m,S)=>br(m,S),g),g.unstable_sxConfig=ce({},Ea,c==null?void 0:c.unstable_sxConfig),g.unstable_sx=function(m){return Qu({sx:m,theme:this})},g}function Kx(t,e=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(e,Math.min(t,n))}const Yx=Object.freeze(Object.defineProperty({__proto__:null,default:Kx},Symbol.toStringTag,{value:"Module"}));function qx(t,e){return ce({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},e)}var Zt={},tp={exports:{}};(function(t){function e(n){return n&&n.__esModule?n:{default:n}}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})(tp);var Xx=tp.exports;const Jx=Lu(K1),Zx=Lu(Yx);var ep=Xx;Object.defineProperty(Zt,"__esModule",{value:!0}),Zt.alpha=sp,Zt.blend=p2,Zt.colorChannel=void 0;var Qx=Zt.darken=ka;Zt.decomposeColor=sr,Zt.emphasize=ap;var t2=Zt.getContrastRatio=s2;Zt.getLuminance=zi,Zt.hexToRgb=np,Zt.hslToRgb=ip;var e2=Zt.lighten=ja;Zt.private_safeAlpha=a2,Zt.private_safeColorChannel=void 0,Zt.private_safeDarken=l2,Zt.private_safeEmphasize=u2,Zt.private_safeLighten=c2,Zt.recomposeColor=Rn,Zt.rgbToHex=i2;var rp=ep(Jx),r2=ep(Zx);function Ta(t,e=0,n=1){return(0,r2.default)(t,e,n)}function np(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let n=t.match(e);return n&&n[0].length===1&&(n=n.map(o=>o+o)),n?`rgb${n.length===4?"a":""}(${n.map((o,s)=>s<3?parseInt(o,16):Math.round(parseInt(o,16)/255*1e3)/1e3).join(", ")})`:""}function n2(t){const e=t.toString(16);return e.length===1?`0${e}`:e}function sr(t){if(t.type)return t;if(t.charAt(0)==="#")return sr(np(t));const e=t.indexOf("("),n=t.substring(0,e);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,rp.default)(9,t));let o=t.substring(e+1,t.length-1),s;if(n==="color"){if(o=o.split(" "),s=o.shift(),o.length===4&&o[3].charAt(0)==="/"&&(o[3]=o[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(s)===-1)throw new Error((0,rp.default)(10,s))}else o=o.split(",");return o=o.map(a=>parseFloat(a)),{type:n,values:o,colorSpace:s}}const op=t=>{const e=sr(t);return e.values.slice(0,3).map((n,o)=>e.type.indexOf("hsl")!==-1&&o!==0?`${n}%`:n).join(" ")};Zt.colorChannel=op;const o2=(t,e)=>{try{return op(t)}catch{return t}};Zt.private_safeColorChannel=o2;function Rn(t){const{type:e,colorSpace:n}=t;let{values:o}=t;return e.indexOf("rgb")!==-1?o=o.map((s,a)=>a<3?parseInt(s,10):s):e.indexOf("hsl")!==-1&&(o[1]=`${o[1]}%`,o[2]=`${o[2]}%`),e.indexOf("color")!==-1?o=`${n} ${o.join(" ")}`:o=`${o.join(", ")}`,`${e}(${o})`}function i2(t){if(t.indexOf("#")===0)return t;const{values:e}=sr(t);return`#${e.map((n,o)=>n2(o===3?Math.round(255*n):n)).join("")}`}function ip(t){t=sr(t);const{values:e}=t,n=e[0],o=e[1]/100,s=e[2]/100,a=o*Math.min(s,1-s),c=(g,m=(g+n/30)%12)=>s-a*Math.max(Math.min(m-3,9-m,1),-1);let p="rgb";const d=[Math.round(c(0)*255),Math.round(c(8)*255),Math.round(c(4)*255)];return t.type==="hsla"&&(p+="a",d.push(e[3])),Rn({type:p,values:d})}function zi(t){t=sr(t);let e=t.type==="hsl"||t.type==="hsla"?sr(ip(t)).values:t.values;return e=e.map(n=>(t.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function s2(t,e){const n=zi(t),o=zi(e);return(Math.max(n,o)+.05)/(Math.min(n,o)+.05)}function sp(t,e){return t=sr(t),e=Ta(e),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${e}`:t.values[3]=e,Rn(t)}function a2(t,e,n){try{return sp(t,e)}catch{return t}}function ka(t,e){if(t=sr(t),e=Ta(e),t.type.indexOf("hsl")!==-1)t.values[2]*=1-e;else if(t.type.indexOf("rgb")!==-1||t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]*=1-e;return Rn(t)}function l2(t,e,n){try{return ka(t,e)}catch{return t}}function ja(t,e){if(t=sr(t),e=Ta(e),t.type.indexOf("hsl")!==-1)t.values[2]+=(100-t.values[2])*e;else if(t.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return Rn(t)}function c2(t,e,n){try{return ja(t,e)}catch{return t}}function ap(t,e=.15){return zi(t)>.5?ka(t,e):ja(t,e)}function u2(t,e,n){try{return ap(t,e)}catch{return t}}function p2(t,e,n,o=1){const s=(d,g)=>Math.round((d**(1/o)*(1-n)+g**(1/o)*n)**o),a=sr(t),c=sr(e),p=[s(a.values[0],c.values[0]),s(a.values[1],c.values[1]),s(a.values[2],c.values[2])];return Rn({type:"rgb",values:p})}const d2={black:"#000",white:"#fff"},xo=d2,f2={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"},h2=f2,g2={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"},En=g2,y2={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"},Tn=y2,m2={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"},wo=m2,b2={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"},kn=b2,v2={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"},jn=v2,x2={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"},Pn=x2,w2=["mode","contrastThreshold","tonalOffset"],lp={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:xo.white,default:xo.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}},Pa={text:{primary:xo.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:xo.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 cp(t,e,n,o){const s=o.light||o,a=o.dark||o*1.5;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:e==="light"?t.light=e2(t.main,s):e==="dark"&&(t.dark=Qx(t.main,a)))}function S2(t="light"){return t==="dark"?{main:kn[200],light:kn[50],dark:kn[400]}:{main:kn[700],light:kn[400],dark:kn[800]}}function C2(t="light"){return t==="dark"?{main:En[200],light:En[50],dark:En[400]}:{main:En[500],light:En[300],dark:En[700]}}function R2(t="light"){return t==="dark"?{main:Tn[500],light:Tn[300],dark:Tn[700]}:{main:Tn[700],light:Tn[400],dark:Tn[800]}}function E2(t="light"){return t==="dark"?{main:jn[400],light:jn[300],dark:jn[700]}:{main:jn[700],light:jn[500],dark:jn[900]}}function T2(t="light"){return t==="dark"?{main:Pn[400],light:Pn[300],dark:Pn[700]}:{main:Pn[800],light:Pn[500],dark:Pn[900]}}function k2(t="light"){return t==="dark"?{main:wo[400],light:wo[300],dark:wo[700]}:{main:"#ed6c02",light:wo[500],dark:wo[900]}}function j2(t){const{mode:e="light",contrastThreshold:n=3,tonalOffset:o=.2}=t,s=wn(t,w2),a=t.primary||S2(e),c=t.secondary||C2(e),p=t.error||R2(e),d=t.info||E2(e),g=t.success||T2(e),m=t.warning||k2(e);function S(k){return t2(k,Pa.text.primary)>=n?Pa.text.primary:lp.text.primary}const y=({color:k,name:E,mainShade:A=500,lightShade:h=300,darkShade:P=700})=>{if(k=ce({},k),!k.main&&k[A]&&(k.main=k[A]),!k.hasOwnProperty("main"))throw new Error(yo(11,E?` (${E})`:"",A));if(typeof k.main!="string")throw new Error(yo(12,E?` (${E})`:"",JSON.stringify(k.main)));return cp(k,"light",h,o),cp(k,"dark",P,o),k.contrastText||(k.contrastText=S(k.main)),k},j={dark:Pa,light:lp};return br(ce({common:ce({},xo),mode:e,primary:y({color:a,name:"primary"}),secondary:y({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:y({color:p,name:"error"}),warning:y({color:m,name:"warning"}),info:y({color:d,name:"info"}),success:y({color:g,name:"success"}),grey:h2,contrastThreshold:n,getContrastText:S,augmentColor:y,tonalOffset:o},j[e]),s)}const P2=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function $2(t){return Math.round(t*1e5)/1e5}const up={textTransform:"uppercase"},pp='"Roboto", "Helvetica", "Arial", sans-serif';function M2(t,e){const n=typeof e=="function"?e(t):e,{fontFamily:o=pp,fontSize:s=14,fontWeightLight:a=300,fontWeightRegular:c=400,fontWeightMedium:p=500,fontWeightBold:d=700,htmlFontSize:g=16,allVariants:m,pxToRem:S}=n,y=wn(n,P2),j=s/14,k=S||(h=>`${h/g*j}rem`),E=(h,P,D,I,z)=>ce({fontFamily:o,fontWeight:h,fontSize:k(P),lineHeight:D},o===pp?{letterSpacing:`${$2(I/P)}em`}:{},z,m),A={h1:E(a,96,1.167,-1.5),h2:E(a,60,1.2,-.5),h3:E(c,48,1.167,0),h4:E(c,34,1.235,.25),h5:E(c,24,1.334,0),h6:E(p,20,1.6,.15),subtitle1:E(c,16,1.75,.15),subtitle2:E(p,14,1.57,.1),body1:E(c,16,1.5,.15),body2:E(c,14,1.43,.15),button:E(p,14,1.75,.4,up),caption:E(c,12,1.66,.4),overline:E(c,12,2.66,1,up),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return br(ce({htmlFontSize:g,pxToRem:k,fontFamily:o,fontSize:s,fontWeightLight:a,fontWeightRegular:c,fontWeightMedium:p,fontWeightBold:d},A),y,{clone:!1})}const A2=.2,O2=.14,I2=.12;function _t(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${A2})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${O2})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${I2})`].join(",")}const B2=["none",_t(0,2,1,-1,0,1,1,0,0,1,3,0),_t(0,3,1,-2,0,2,2,0,0,1,5,0),_t(0,3,3,-2,0,3,4,0,0,1,8,0),_t(0,2,4,-1,0,4,5,0,0,1,10,0),_t(0,3,5,-1,0,5,8,0,0,1,14,0),_t(0,3,5,-1,0,6,10,0,0,1,18,0),_t(0,4,5,-2,0,7,10,1,0,2,16,1),_t(0,5,5,-3,0,8,10,1,0,3,14,2),_t(0,5,6,-3,0,9,12,1,0,3,16,2),_t(0,6,6,-3,0,10,14,1,0,4,18,3),_t(0,6,7,-4,0,11,15,1,0,4,20,3),_t(0,7,8,-4,0,12,17,2,0,5,22,4),_t(0,7,8,-4,0,13,19,2,0,5,24,4),_t(0,7,9,-4,0,14,21,2,0,5,26,4),_t(0,8,9,-5,0,15,22,2,0,6,28,5),_t(0,8,10,-5,0,16,24,2,0,6,30,5),_t(0,8,11,-5,0,17,26,2,0,6,32,5),_t(0,9,11,-5,0,18,28,2,0,7,34,6),_t(0,9,12,-6,0,19,29,2,0,7,36,6),_t(0,10,13,-6,0,20,31,3,0,8,38,7),_t(0,10,13,-6,0,21,33,3,0,8,40,7),_t(0,10,14,-6,0,22,35,3,0,8,42,7),_t(0,11,14,-7,0,23,36,3,0,9,44,8),_t(0,11,15,-7,0,24,38,3,0,9,46,8)],F2=B2,z2=["duration","easing","delay"],D2={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)"},N2={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function dp(t){return`${Math.round(t)}ms`}function _2(t){if(!t)return 0;const e=t/36;return Math.round((4+15*e**.25+e/5)*10)}function L2(t){const e=ce({},D2,t.easing),n=ce({},N2,t.duration);return ce({getAutoHeightDuration:_2,create:(o=["all"],s={})=>{const{duration:a=n.standard,easing:c=e.easeInOut,delay:p=0}=s;return wn(s,z2),(Array.isArray(o)?o:[o]).map(d=>`${d} ${typeof a=="string"?a:dp(a)} ${c} ${typeof p=="string"?p:dp(p)}`).join(",")}},t,{easing:e,duration:n})}const W2={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},U2=W2,H2=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function G2(t={},...e){const{mixins:n={},palette:o={},transitions:s={},typography:a={}}=t,c=wn(t,H2);if(t.vars&&t.generateCssVars===void 0)throw new Error(yo(18));const p=j2(o),d=Vx(t);let g=br(d,{mixins:qx(d.breakpoints,n),palette:p,shadows:F2.slice(),typography:M2(p,a),transitions:L2(s),zIndex:ce({},U2)});return g=br(g,c),g=e.reduce((m,S)=>br(m,S),g),g.unstable_sxConfig=ce({},Ea,c==null?void 0:c.unstable_sxConfig),g.unstable_sx=function(m){return Qu({sx:m,theme:this})},g}const V2=G2({palette:{mode:"light",primary:{main:"#008080",light:"#4db6ac",dark:"#004d40",contrastText:"#ffffff"},secondary:{main:"#ff6b35",light:"#ff9a66",dark:"#c73e00",contrastText:"#ffffff"},background:{default:"#fafafa",paper:"#ffffff"},text:{primary:"#2c3e50",secondary:"#546e7a"},error:{main:"#e74c3c"},warning:{main:"#f39c12"},info:{main:"#3498db"},success:{main:"#27ae60"},divider:"#e0e0e0"},typography:{fontFamily:'"Inter", "Roboto", "Helvetica", "Arial", sans-serif',h1:{fontWeight:700,fontSize:"2.5rem",lineHeight:1.2,letterSpacing:"-0.02em"},h2:{fontWeight:600,fontSize:"2rem",lineHeight:1.3,letterSpacing:"-0.01em"},h3:{fontWeight:600,fontSize:"1.5rem",lineHeight:1.4},h4:{fontWeight:600,fontSize:"1.25rem",lineHeight:1.4},h5:{fontWeight:600,fontSize:"1.125rem",lineHeight:1.4},h6:{fontWeight:600,fontSize:"1rem",lineHeight:1.4},body1:{fontSize:"1rem",lineHeight:1.6},body2:{fontSize:"0.875rem",lineHeight:1.6},button:{textTransform:"none",fontWeight:600,letterSpacing:"0.02em"}},shape:{borderRadius:12},components:{MuiButton:{styleOverrides:{root:{borderRadius:8,padding:"10px 24px",fontSize:"0.875rem",fontWeight:600,boxShadow:"none","&:hover":{boxShadow:"0 4px 12px rgba(0, 128, 128, 0.2)"}},contained:{background:"linear-gradient(45deg, #008080 30%, #4db6ac 90%)","&:hover":{background:"linear-gradient(45deg, #004d40 30%, #008080 90%)"}}}},MuiCard:{styleOverrides:{root:{borderRadius:16,boxShadow:"0 2px 20px rgba(0, 0, 0, 0.05)",border:"1px solid rgba(0, 0, 0, 0.05)","&:hover":{boxShadow:"0 4px 28px rgba(0, 0, 0, 0.1)"}}}},MuiPaper:{styleOverrides:{root:{borderRadius:12,boxShadow:"0 1px 8px rgba(0, 0, 0, 0.05)"}}},MuiAppBar:{styleOverrides:{root:{backgroundColor:"#ffffff",color:"#2c3e50",boxShadow:"0 1px 4px rgba(0, 0, 0, 0.05)",backdropFilter:"blur(8px)"}}},MuiChip:{styleOverrides:{root:{borderRadius:8,fontWeight:500},filled:{backgroundColor:"rgba(0, 128, 128, 0.1)",color:"#004d40"}}},MuiTextField:{styleOverrides:{root:{"& .MuiOutlinedInput-root":{borderRadius:8,"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"#008080"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"#008080"}}}}},MuiDialog:{styleOverrides:{paper:{borderRadius:16,boxShadow:"0 8px 32px rgba(0, 0, 0, 0.12)"}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:"rgba(0, 128, 128, 0.05)","& .MuiTableCell-head":{fontWeight:600,color:"#004d40"}}}},MuiTableRow:{styleOverrides:{root:{"&:hover":{backgroundColor:"rgba(0, 128, 128, 0.02)"}}}}}});function fp({children:t,value:e,index:n,...o}){return F.jsx("div",{role:"tabpanel",hidden:e!==n,id:`simple-tabpanel-${n}`,"aria-labelledby":`simple-tab-${n}`,...o,children:e===n&&F.jsx(ft,{sx:{p:3},children:t})})}const K2=({host:t,jwt:e,onAuthenticationFailed:n})=>{const[o,s]=St.useState(0),a=(c,p)=>{s(p)};return F.jsxs(Lg,{theme:V2,children:[F.jsx(X0,{}),F.jsx(U1,{variant:"full"}),F.jsxs(ft,{sx:{width:"100%"},children:[F.jsx(ft,{sx:{borderBottom:1,borderColor:"divider"},children:F.jsxs(d1,{value:o,onChange:a,"aria-label":"Smart Prefetch tabs",children:[F.jsx(xu,{label:"Report",id:"tab-0","aria-controls":"simple-tabpanel-0"}),F.jsx(xu,{label:"Help",id:"tab-1","aria-controls":"simple-tabpanel-1"})]})}),F.jsxs(fp,{value:o,index:0,children:[F.jsx(W1,{host:t||null,jwt:e||null,onAuthenticationFailed:n,showDashboardLink:!0}),F.jsx(G1,{}),F.jsx(H1,{})]})," ",F.jsx(fp,{value:o,index:1,children:F.jsx(V1,{})})]})]})};function Y2(t){const e=document.getElementById("smart_prefetch_root");if(!e){console.warn('Smart Prefetch: Container with id "smart_prefetch_root" not found');return}cs.createRoot(e).render(St.createElement(K2,t))}wr.Init=Y2,Object.defineProperty(wr,Symbol.toStringTag,{value:"Module"})}); -
smart-prefetch/trunk/autoload.php
r3326813 r3330882 4 4 define('SMART_PREFETCH_PLUG_DIR', plugin_dir_path(__FILE__)); 5 5 define('SMART_PREFETCH_PLUG_URL', plugin_dir_url(__FILE__)); 6 define('SMART_PREFETCH_PLUG_VERSION', '1. 1.0');6 define('SMART_PREFETCH_PLUG_VERSION', '1.2.0'); 7 7 define('SMART_PREFETCH_PLUG_ENV', 'PROD'); 8 8 define('SMART_PREFETCH_PLUG_SLUG', 'smart-prefetch'); -
smart-prefetch/trunk/inc/tab_init.php
r3326813 r3330882 19 19 20 20 $props = [ 21 'selectedDomain' => [ 22 'id' => '', 23 'host' => preg_replace('#^https?://#', '', rtrim(get_site_url(), '/')), 24 'platform' => '', 25 ], 21 'host' => preg_replace('#^https?://#', '', rtrim(get_site_url(), '/')), 26 22 'jwt' => '' 27 23 ]; -
smart-prefetch/trunk/readme.txt
r3326813 r3330882 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.2 7 Stable tag: 1. 1.07 Stable tag: 1.2.0 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 108 108 == Changelog == 109 109 110 = 1.2.0 = 111 * More Intuitive Report 112 * Plan details and usage indicator 113 110 114 = 1.1.0 = 111 115 * More Intuitive Report -
smart-prefetch/trunk/smart-prefetch.php
r3326813 r3330882 9 9 * Requires at least: 5.2 10 10 * Requires PHP: 7.2 11 * Version: 1. 1.011 * Version: 1.2.0 12 12 * Text Domain: smart-prefetch 13 13 * License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.