-1},tu}var qh=Hh()?String.prototype.contains:Dh(),Hr=Xf,Uf=Ph,Kf=Mf,zf=Sf,Vt=qh,Gh=$f.exports=function(t,u){var i,f,s,c,p;return arguments.length<2||typeof t!="string"?(c=u,u=t,t=null):c=arguments[2],Hr(t)?(i=Vt.call(t,"c"),f=Vt.call(t,"e"),s=Vt.call(t,"w")):(i=s=!0,f=!1),p={value:u,configurable:i,enumerable:f,writable:s},c?Kf(zf(c),p):p};Gh.gs=function(t,u,i){var f,s,c,p;return typeof t!="string"?(c=i,i=u,u=t,t=null):c=arguments[3],Hr(u)?Uf(u)?Hr(i)?Uf(i)||(c=i,i=void 0):i=void 0:(c=u,u=i=void 0):u=void 0,Hr(t)?(f=Vt.call(t,"c"),s=Vt.call(t,"e")):(f=!0,s=!1),p={get:u,set:i,configurable:f,enumerable:s},c?Kf(zf(c),p):p};var et=$f.exports,ru={exports:{}};(function(t,u){var i=et,f=He,s=Function.prototype.apply,c=Function.prototype.call,p=Object.create,g=Object.defineProperty,m=Object.defineProperties,d=Object.prototype.hasOwnProperty,y={configurable:!0,enumerable:!1,writable:!0},w,C,F,M,H,E,B;w=function(T,S){var P;return f(S),d.call(this,"__ee__")?P=this.__ee__:(P=y.value=p(null),g(this,"__ee__",y),y.value=null),P[T]?typeof P[T]=="object"?P[T].push(S):P[T]=[P[T],S]:P[T]=S,this},C=function(T,S){var P,D;return f(S),D=this,w.call(this,T,P=function(){F.call(D,T,P),s.call(S,this,arguments)}),P.__eeOnceListener__=S,this},F=function(T,S){var P,D,Y,K;if(f(S),!d.call(this,"__ee__"))return this;if(P=this.__ee__,!P[T])return this;if(D=P[T],typeof D=="object")for(K=0;Y=D[K];++K)(Y===S||Y.__eeOnceListener__===S)&&(D.length===2?P[T]=D[K?0:1]:D.splice(K,1));else(D===S||D.__eeOnceListener__===S)&&delete P[T];return this},M=function(T){var S,P,D,Y,K;if(d.call(this,"__ee__")&&(Y=this.__ee__[T],!!Y))if(typeof Y=="object"){for(P=arguments.length,K=new Array(P-1),S=1;S=55296&&P<=56319&&(nn+=C[++E])),nn=F?d.call(F,M,nn,B):nn,H?(y.value=nn,w(T,B,y)):T[B]=nn,++B;S=B}}if(S===void 0)for(S=f(C.length),H&&(T=new H(S)),E=0;E=0?y=p(y):y=u(this.length)-p(c(y)),m=y;m"}},Yu}var $u,Da;function Lp(){if(Da)return $u;Da=1;var t=Mp(),u=/[\n\r\u2028\u2029]/g;return $u=function(i){var f=t(i);return f.length>100&&(f=f.slice(0,99)+"…"),f=f.replace(u,function(s){return JSON.stringify(s).slice(1,-1)}),f},$u}var Yr={exports:{}},qa;function Ga(){if(qa)return Yr.exports;qa=1,Yr.exports=t,Yr.exports.default=t;function t(u){return!!u&&(typeof u=="object"||typeof u=="function")&&typeof u.then=="function"}return Yr.exports}var Na;function Pp(){if(Na)return Ca;Na=1;var t=Oa(),u=Cp(),i=Tp(),f=Lp(),s=Ga(),c=Hu(),p=Object.create,g=u("then","then:finally","done","done:finally");return nt.promise=function(m,d){var y=p(null),w=p(null),C=p(null);if(m===!0)m=null;else if(m=i(m),!g[m])throw new TypeError("'"+f(m)+"' is not valid promise mode");d.on("set",function(F,M,H){var E=!1;if(!s(H)){w[F]=H,d.emit("setasync",F,1);return}y[F]=1,C[F]=H;var B=function(D){var Y=y[F];if(E)throw new Error(`Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)
-Consider to rely on 'then' or 'done' mode instead.`);Y&&(delete y[F],w[F]=D,d.emit("setasync",F,Y))},T=function(){E=!0,y[F]&&(delete y[F],delete C[F],d.delete(F))},S=m;if(S||(S="then"),S==="then"){var P=function(){c(T)};H=H.then(function(D){c(B.bind(this,D))},P),typeof H.finally=="function"&&H.finally(P)}else if(S==="done"){if(typeof H.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");H.done(B,T)}else if(S==="done:finally"){if(typeof H.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof H.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");H.done(B),H.finally(T)}}),d.on("get",function(F,M,H){var E;if(y[F]){++y[F];return}E=C[F];var B=function(){d.emit("getasync",F,M,H)};s(E)?typeof E.done=="function"?E.done(B):E.then(function(){c(B)}):B()}),d.on("delete",function(F){if(delete C[F],y[F]){delete y[F];return}if(hasOwnProperty.call(w,F)){var M=w[F];delete w[F],d.emit("deleteasync",F,[M])}}),d.on("clear",function(){var F=w;w=p(null),y=p(null),C=p(null),d.emit("clearasync",t(F,function(M){return[M]}))})},Ca}var Ya={},$a;function Hp(){if($a)return Ya;$a=1;var t=He,u=Pr,i=nt,f=Function.prototype.apply;return i.dispose=function(s,c,p){var g;if(t(s),p.async&&i.async||p.promise&&i.promise){c.on("deleteasync",g=function(m,d){f.call(s,null,d)}),c.on("clearasync",function(m){u(m,function(d,y){g(y,d)})});return}c.on("delete",g=function(m,d){s(d)}),c.on("clear",function(m){u(m,function(d,y){g(y,d)})})},Ya}var Xa={},Xu,Wa;function Dp(){return Wa||(Wa=1,Xu=2147483647),Xu}var Wu,Ua;function qp(){if(Ua)return Wu;Ua=1;var t=je,u=Dp();return Wu=function(i){if(i=t(i),i>u)throw new TypeError(i+" exceeds maximum possible timeout");return i},Wu}var Ka;function Gp(){if(Ka)return Xa;Ka=1;var t=xu(),u=Pr,i=Hu(),f=Ga(),s=qp(),c=nt,p=Function.prototype,g=Math.max,m=Math.min,d=Object.create;return c.maxAge=function(y,w,C){var F,M,H,E;y=s(y),y&&(F=d(null),M=C.async&&c.async||C.promise&&c.promise?"async":"",w.on("set"+M,function(B){F[B]=setTimeout(function(){w.delete(B)},y),typeof F[B].unref=="function"&&F[B].unref(),E&&(E[B]&&E[B]!=="nextTick"&&clearTimeout(E[B]),E[B]=setTimeout(function(){delete E[B]},H),typeof E[B].unref=="function"&&E[B].unref())}),w.on("delete"+M,function(B){clearTimeout(F[B]),delete F[B],E&&(E[B]!=="nextTick"&&clearTimeout(E[B]),delete E[B])}),C.preFetch&&(C.preFetch===!0||isNaN(C.preFetch)?H=.333:H=g(m(Number(C.preFetch),1),0),H&&(E={},H=(1-H)*y,w.on("get"+M,function(B,T,S){E[B]||(E[B]="nextTick",i(function(){var P;E[B]==="nextTick"&&(delete E[B],w.delete(B),C.async&&(T=t(T),T.push(p)),P=w.memoized.apply(S,T),C.promise&&f(P)&&(typeof P.done=="function"?P.done(p,p):P.then(p,p)))}))}))),w.on("clear"+M,function(){u(F,function(B){clearTimeout(B)}),F={},E&&(u(E,function(B){B!=="nextTick"&&clearTimeout(B)}),E={})}))},Xa}var za={},Uu,ka;function Np(){if(ka)return Uu;ka=1;var t=je,u=Object.create,i=Object.prototype.hasOwnProperty;return Uu=function(f){var s=0,c=1,p=u(null),g=u(null),m=0,d;return f=t(f),{hit:function(y){var w=g[y],C=++m;if(p[C]=y,g[y]=C,!w)return++s,s<=f?void 0:(y=p[c],d(y),y);if(delete p[w],c===w)for(;!i.call(p,++c););},delete:d=function(y){var w=g[y];if(w&&(delete p[w],delete g[y],--s,c===w)){if(!s){m=0,c=1;return}for(;!i.call(p,++c););}},clear:function(){s=0,c=1,p=u(null),g=u(null),m=0}}},Uu}var Va;function Yp(){if(Va)return za;Va=1;var t=je,u=Np(),i=nt;return i.max=function(f,s,c){var p,g,m;f=t(f),f&&(g=u(f),p=c.async&&i.async||c.promise&&i.promise?"async":"",s.on("set"+p,m=function(d){d=g.hit(d),d!==void 0&&s.delete(d)}),s.on("get"+p,m),s.on("delete"+p,g.delete),s.on("clear"+p,g.clear))},za}var Za={},Ja;function $p(){if(Ja)return Za;Ja=1;var t=et,u=nt,i=Object.create,f=Object.defineProperties;return u.refCounter=function(s,c,p){var g,m;g=i(null),m=p.async&&u.async||p.promise&&u.promise?"async":"",c.on("set"+m,function(d,y){g[d]=y||1}),c.on("get"+m,function(d){++g[d]}),c.on("delete"+m,function(d){delete g[d]}),c.on("clear"+m,function(){g={}}),f(c.memoized,{deleteRef:t(function(){var d=c.get(arguments);return d===null||!g[d]?null:--g[d]?!1:(c.delete(d),!0)}),getRefCount:t(function(){var d=c.get(arguments);return d===null||!g[d]?0:g[d]})})},Za}var Xp=Sf,Wp=Rf,Up=bp,Kp=function(t){var u=Xp(arguments[1]),i;return u.normalizer||(i=u.length=Wp(u.length,t.length,u.async),i!==0&&(u.primitive?i===!1?u.normalizer=xp():i>1&&(u.normalizer=wp()(i)):i===!1?u.normalizer=Rp()():i===1?u.normalizer=Op()():u.normalizer=Ip()(i))),u.async&&Fp(),u.promise&&Pp(),u.dispose&&Hp(),u.maxAge&&Gp(),u.max&&Yp(),u.refCounter&&$p(),Up(t,u)},zp=wn(Kp);function kp(t,u,i,f,s){Qa(t,u,i||0,f||t.length-1,s||Vp)}function Qa(t,u,i,f,s){for(;f>i;){if(f-i>600){var c=f-i+1,p=u-i+1,g=Math.log(c),m=.5*Math.exp(2*g/3),d=.5*Math.sqrt(g*m*(c-m)/c)*(p-c/2<0?-1:1),y=Math.max(i,Math.floor(u-p*m/c+d)),w=Math.min(f,Math.floor(u+(c-p)*m/c+d));Qa(t,u,y,w,s)}var C=t[u],F=i,M=f;for(Jt(t,i,u),s(t[f],C)>0&&Jt(t,i,f);F0;)M--}s(t[i],C)===0?Jt(t,i,M):(M++,Jt(t,M,f)),M<=u&&(i=M+1),u<=M&&(f=M-1)}}function Jt(t,u,i){var f=t[u];t[u]=t[i],t[i]=f}function Vp(t,u){return tu?1:0}class Zp{constructor(u=9){this._maxEntries=Math.max(4,u),this._minEntries=Math.max(2,Math.ceil(this._maxEntries*.4)),this.clear()}all(){return this._all(this.data,[])}search(u){let i=this.data;const f=[];if(!Xr(u,i))return f;const s=this.toBBox,c=[];for(;i;){for(let p=0;p=0&&c[i].children.length>this._maxEntries;)this._split(c,i),i--;this._adjustParentBBoxes(s,c,i)}_split(u,i){const f=u[i],s=f.children.length,c=this._minEntries;this._chooseSplitAxis(f,c,s);const p=this._chooseSplitIndex(f,c,s),g=xt(f.children.splice(p,f.children.length-p));g.height=f.height,g.leaf=f.leaf,bt(f,this.toBBox),bt(g,this.toBBox),i?u[i-1].children.push(g):this._splitRoot(f,g)}_splitRoot(u,i){this.data=xt([u,i]),this.data.height=u.height+1,this.data.leaf=!1,bt(this.data,this.toBBox)}_chooseSplitIndex(u,i,f){let s,c=1/0,p=1/0;for(let g=i;g<=f-i;g++){const m=Qt(u,0,g,this.toBBox),d=Qt(u,g,f,this.toBBox),y=eg(m,d),w=Ku(m)+Ku(d);y=i;d--){const y=u.children[d];jt(g,u.leaf?c(y):y),m+=$r(g)}return m}_adjustParentBBoxes(u,i,f){for(let s=f;s>=0;s--)jt(i[s],u)}_condense(u){for(let i=u.length-1,f;i>=0;i--)u[i].children.length===0?i>0?(f=u[i-1].children,f.splice(f.indexOf(u[i]),1)):this.clear():bt(u[i],this.toBBox)}}function Jp(t,u,i){if(!i)return u.indexOf(t);for(let f=0;f=t.minX&&u.maxY>=t.minY}function xt(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function ja(t,u,i,f,s){const c=[u,i];for(;c.length;){if(i=c.pop(),u=c.pop(),i-u<=f)continue;const p=u+Math.ceil((i-u)/f/2)*f;kp(t,p,u,i,s),c.push(u,p,p,i)}}class tg extends Zp{toBBox(u){return{minX:u.left,minY:u.top,maxX:u.right,maxY:u.bottom}}compareMinX(u,i){return u.left-i.left}compareMinY(u,i){return u.top-i.top}}const rg={screenSize:{width:1,height:1},workerCount:4,workerIndex:0,tileResolution:{width:64,height:64},tileSubdivision:0,refreshInterval:1e3/60,animationDuration:150,debounceInterval:1e3/60,backgroundColor:"#ffffff",accentColor:"#333333",dynamicResolution:{intervalMs:5e3,increment:.25,maxScale:2,minScale:1,dtMax:1.5,dtMin:1.1}};var ns={exports:{}};(function(t){var u=Object.prototype.hasOwnProperty,i="~";function f(){}Object.create&&(f.prototype=Object.create(null),new f().__proto__||(i=!1));function s(m,d,y){this.fn=m,this.context=d,this.once=y||!1}function c(m,d,y,w,C){if(typeof y!="function")throw new TypeError("The listener must be a function");var F=new s(y,w||m,C),M=i?i+d:d;return m._events[M]?m._events[M].fn?m._events[M]=[m._events[M],F]:m._events[M].push(F):(m._events[M]=F,m._eventsCount++),m}function p(m,d){--m._eventsCount===0?m._events=new f:delete m._events[d]}function g(){this._events=new f,this._eventsCount=0}g.prototype.eventNames=function(){var d=[],y,w;if(this._eventsCount===0)return d;for(w in y=this._events)u.call(y,w)&&d.push(i?w.slice(1):w);return Object.getOwnPropertySymbols?d.concat(Object.getOwnPropertySymbols(y)):d},g.prototype.listeners=function(d){var y=i?i+d:d,w=this._events[y];if(!w)return[];if(w.fn)return[w.fn];for(var C=0,F=w.length,M=new Array(F);C=6&&(i-=6),$(i<1?255*((u-t)*i+t):i<3?255*u:i<4?255*((u-t)*(4-i)+t):255*t)},On=function(t,u,i){u/=100;var f=(i/=100)<=.5?i*(u+1):i+u-i*u,s=2*i-f;return{r:Ju(s,f,(t/=60)+2),g:Ju(s,f,t),b:Ju(s,f,t-2)}},Qu=function(t,u,i,f){return{r:$(255*(1-t)*(f=1-f)),g:$(255*(1-u)*f),b:$(255*(1-i)*f)}},rs=function(t,u,i){t/=255,u/=255,i/=255;var f=1-Math.max(t,u,i),s=1-f,c=s&&(s-u)/s,p=s&&(s-i)/s;return{c:$(100*(s&&(s-t)/s)),m:$(100*c),y:$(100*p),k:$(100*f)}},At=function(t,u,i,f){f===void 0&&(f=1),t/=255,u/=255,i/=255,f=Math.min(f,1);var s=Math.max(t,u,i),c=Math.min(t,u,i),p=s-c,g=0,m=0,d=(s+c)/2;if(p!==0){switch(s){case t:g=(u-i)/p%6;break;case u:g=(i-t)/p+2;break;case i:g=(t-u)/p+4}(g=$(60*g))<0&&(g+=360),m=p/(1-Math.abs(2*d-1))}return{h:g,s:$(100*m),l:$(100*d),a:f}},is=function(t,u){if(t<0&&(t+=360),t>360&&(t-=360),t===360||t===0)return t;var i=[[0,120],[120,180],[180,240],[240,360]],f=[[0,60],[60,120],[120,240],[240,360]],s=u?f:i,c=0,p=0,g=0,m=0;return(u?i:f).find(function(d,y){return t>=d[0]&&t360||t<0)&&(t-=360*Math.floor(t/360)),t},Ln=function(t){return typeof t=="string"&&(t=wt.test(t)?Ur(t)/100:+t),isNaN(+t)||t>1?1:$(t)},St=function(t,u,i){return u.reduce(function(f,s){return ku(ku([],f,!0),[en(en({},t),{h:i===qn.ADDITIVE?ur(t.h+s):ur(is(is(t.h,!1)+s,!0))})],!1)},[en({},t)])},hg=function(t,u){return St(t,[30,-30],u)},pg=function(t,u){return St(t,[180],u)},gg=function(t,u){return St(t,[150,-150],u)},dg=function(t,u){return St(t,[120,-120],u)},vg=function(t,u){return St(t,[60,-120,180],u)},mg=function(t,u){return St(t,[90,-90,180],u)},Zn=function(t){return typeof t=="string"?function(u){var i;if(Object.keys(z).some(function(f){if(ir[f].test(u))return i=f,!0}),!i&&~es.indexOf(u)&&(i=z.HEX),!i)throw new Error(lg);return i}(t):function(u){var i,f=!1,s=ts(Object.keys(u));if(Vu[s]&&(i=Vu[s]),i&&i===z.RGB){var c=Object.entries(u).some(function(g){return!Zu.test("".concat(g[1]))}),p=Object.entries(u).some(function(g){return!(wt.test("".concat(g[1]))||!Zu.test("".concat(g[1]))&&!isNaN(+g[1])&&+g[1]<=255)});c&&p&&(f=!0),c||(i=z.HEX)}if(!i||f)throw new Error(cg);return i}(t)},_g=((tr={})[z.HEX]=function(t){var u=(~es.indexOf(t)?Wr[t]:t).match(ir.HEX),i={r:zr(u[1]||u[5]),g:zr(u[2]||u[6]),b:zr(u[3]||u[7])},f=u[4]||u[8];return f!==void 0&&(i.a=zr(f)/255),i},tr[z.RGB]=function(t){var u=t.match(ir.RGB),i=it(u[1]||u[5]),f=it(u[2]||u[6]),s=it(u[3]||u[7]),c=u[4]||u[8],p={r:Math.min(i,255),g:Math.min(f,255),b:Math.min(s,255)};return c!==void 0&&(p.a=Ln(c)),p},tr[z.HSL]=function(t){var u=t.match(ir.HSL),i=ur(u[1]||u[5]),f=Kr(u[2]||u[6]),s=Kr(u[3]||u[7]),c=u[4]||u[8],p=On(i,f,s);return c!==void 0&&(p.a=Ln(c)),p},tr[z.CMYK]=function(t){var u=t.match(ir.CMYK),i=De(u[1]||u[6]),f=De(u[2]||u[7]),s=De(u[3]||u[8]),c=De(u[4]||u[9]),p=u[5]||u[10],g=Qu(i,f,s,c);return p!==void 0&&(g.a=Ln(p)),g},tr),yg=((rr={})[z.HEX]=function(t){var u={r:it("".concat(t.r)),g:it("".concat(t.g)),b:it("".concat(t.b))};return Bn(t,"a")&&(u.a=Math.min(it("".concat(t.a),!0),1)),u},rr[z.RGB]=function(t){return this.HEX(t)},rr[z.HSL]=function(t){var u=Kr("".concat(t.s)),i=Kr("".concat(t.l)),f=On(ur(t.h),u,i);return Bn(t,"a")&&(f.a=Ln(t.a)),f},rr[z.CMYK]=function(t){var u=De("".concat(t.c)),i=De("".concat(t.m)),f=De("".concat(t.y)),s=De("".concat(t.k)),c=Qu(u,i,f,s);return Bn(t,"a")&&(c.a=Ln(t.a)),c},rr),ut=function(t,u){return u===void 0&&(u=Zn(t)),typeof t=="string"?_g[u](t):yg[u](t)},tn=((Se={})[z.HEX]=function(t){return{r:kr(t.r),g:kr(t.g),b:kr(t.b)}},Se.HEXA=function(t){var u=tn.HEX(t);return u.a=Bn(t,"a")?kr(255*t.a):"0xFF",u},Se[z.RGB]=function(t,u){return Bn(t,"a")&&delete t.a,ot(t,u)},Se.RGBA=function(t,u){return t.a=Bn(t,"a")?$(t.a):1,ot(t,u)},Se[z.HSL]=function(t,u){var i=At(t.r,t.g,t.b);return delete i.a,Ot(i,u)},Se.HSLA=function(t,u){var i=tn.HSL(t,u);return i.a=Bn(t,"a")?$(t.a,u):1,i},Se[z.CMYK]=function(t,u){return bg(rs(t.r,t.g,t.b),u)},Se.CMYKA=function(t,u){var i=tn.CMYK(t,u);return i.a=Bn(t,"a")?$(t.a,u):1,i},Se),us=function(t,u,i,f){var s=Zn(t),c=typeof t=="string",p=ut(t,s),g=typeof t=="string"&&Bn(p,"a")||typeof t!="string"&&Bn(t,"a"),m=At(p.r,p.g,p.b,p.a);g||delete m.a;var d=i?m.l/(u+1):(100-m.l)/(u+1),y=Array(u).fill(null).map(function(w,C){return en(en({},m),{l:m.l+d*(C+1)*(1-2*+i)})});switch(s){case z.HEX:default:return y.map(function(w){var C=On(w.h,w.s,w.l);return g&&(C.a=w.a),c?g?j.HEX(ot(en(en({},C),{a:$(255*C.a)}),f)):j.HEX(ot(C,f)):g?tn.HEXA(C):tn.HEX(C)});case z.RGB:return y.map(function(w){var C=On(w.h,w.s,w.l);return g&&(C.a=w.a),c?j.RGB(ot(C,f)):g?tn.RGBA(C,f):tn.RGB(C,f)});case z.HSL:return y.map(function(w){return c?j.HSL(Ot(w,f)):g?tn.HSLA(en(en({},On(w.h,w.s,w.l)),{a:w.a}),f):tn.HSL(On(w.h,w.s,w.l),f)})}},Et=((tt={buildHarmony:function(t,u,i,f){var s=Zn(t),c=ut(t,s),p=At(c.r,c.g,c.b,c.a),g=typeof t=="string"&&Bn(c,"a")||typeof t!="string"&&Bn(t,"a"),m=typeof t=="string";switch(s){case z.HEX:default:return g?this.HEXA(Ot(p,0),u,i,m):this.HEX(Ot(p,0),u,i,m);case z.HSL:return g?this.HSLA(p,u,i,m,f):this.HSL(p,u,i,m,f);case z.RGB:return g?this.RGBA(p,u,i,m,f):this.RGB(p,u,i,m,f)}}})[z.HEX]=function(t,u,i,f){return u(t,i).map(function(s){return f?j.HEX(On(s.h,s.s,s.l)):tn.HEX(On(s.h,s.s,s.l))})},tt.HEXA=function(t,u,i,f){return u(t,i).map(function(s){return f?j.HEX(en(en({},On(s.h,s.s,s.l)),{a:255*Ln(s.a)})):tn.HEXA(en(en({},On(s.h,s.s,s.l)),{a:Ln(s.a)}))})},tt[z.RGB]=function(t,u,i,f,s){return u(t,i).map(function(c){return f?j.RGB(ot(On(c.h,c.s,c.l),s)):tn.RGB(On(c.h,c.s,c.l),s)})},tt.RGBA=function(t,u,i,f,s){return u(t,i).map(function(c){return f?j.RGB(ot(en(en({},On(c.h,c.s,c.l)),{a:Ln(c.a)}),s)):tn.RGBA(en(en({},On(c.h,c.s,c.l)),{a:Ln(c.a)}),s)})},tt[z.HSL]=function(t,u,i,f,s){return u(t,i).map(function(c){return f?j.HSL(Ot({h:c.h,s:c.s,l:c.l},s)):tn.HSL(On(c.h,c.s,c.l),s)})},tt.HSLA=function(t,u,i,f,s){return u(t,i).map(function(c){return f?j.HSL(Ot(en(en({},c),{a:Ln(c.a)}),s)):tn.HSLA(en(en({},On(c.h,c.s,c.l)),{a:Ln(c.a)}),s)})},tt),Rt=((rt={mix:function(t,u){var i,f,s,c,p,g,m,d,y,w,C,F,M,H,E,B=t.map(function(D){var Y=Zn(D);return ut(D,Y)}),T=u===qn.SUBTRACTIVE?B.map(function(D){var Y,K,nn,mn,ve,Ee,me,ar,at,sr,lr,ae,Gn,Tt,st=(Y=D.r,K=D.g,nn=D.b,mn=Math.min(Y,K,nn),ve=Math.min(255-Y,255-K,255-nn),Ee=Y-mn,me=K-mn,ar=nn-mn,at=Math.min(Ee,me),sr=Ee-at,lr=(me+at)/2,ae=(ar+me-at)/2,Gn=Math.max(sr,lr,ae)/Math.max(Ee,me,ar),Tt=isNaN(Gn)||Gn===1/0||Gn<=0?1:Gn,{r:sr/Tt+ve,y:lr/Tt+ve,b:ae/Tt+ve});return Bn(D,"a")&&(st.a=D.a),st}):null;function S(D){var Y=u===qn.ADDITIVE?{r:0,g:0,b:0,a:0}:{r:0,y:0,b:0,a:0};return D.reduce(function(K,nn){var mn=Bn(nn,"a")?nn.a:1,ve={r:Math.min(K.r+nn.r*mn,255),b:Math.min(K.b+nn.b*mn,255),a:1-(1-mn)*(1-K.a)},Ee="g"in K?K.g:K.y,me="g"in nn?nn.g:nn.y;return en(en({},ve),u===qn.ADDITIVE?{g:Math.min(Ee+me*mn,255)}:{y:Math.min(Ee+me*mn,255)})},Y)}if(u===qn.ADDITIVE)i=S(B);else{var P=S(T);f=P.r,s=P.y,c=P.b,p=Math.min(f,s,c),g=Math.min(255-f,255-s,255-c),m=f-p,d=s-p,y=c-p,w=Math.min(d,y),C=m+d-w,F=d+w,M=2*(y-w),H=Math.max(C,F,M)/Math.max(m,d,y),E=isNaN(H)||H===1/0||H<=0?1:H,(i={r:C/E+g,g:F/E+g,b:M/E+g}).a=P.a}return{r:$(i.r),g:$(i.g),b:$(i.b),a:fe(i.a,0,1)}}})[z.HEX]=function(t,u,i){var f=this.mix(t,u);return delete f.a,i?j.HEX(f):tn.HEX(f)},rt.HEXA=function(t,u,i){var f=this.mix(t,u);return f.a=i?255*Ln(f.a):Ln(f.a),i?j.HEX(f):tn.HEXA(f)},rt[z.RGB]=function(t,u,i,f){var s=this.mix(t,u);return delete s.a,i?j.RGB(s):tn.RGB(s,f)},rt.RGBA=function(t,u,i,f){var s=this.mix(t,u);return i?j.RGB(s):tn.RGBA(s,f)},rt[z.HSL]=function(t,u,i,f){var s=this.mix(t,u),c=At(s.r,s.g,s.b);return delete s.a,delete c.a,i?j.HSL(c):tn.HSL(s,f)},rt.HSLA=function(t,u,i,f){var s=this.mix(t,u),c=At(s.r,s.g,s.b,s.a);return i?j.HSL(c):tn.HSLA(s,f)},rt),ot=function(t,u){return en({r:$(t.r,u),g:$(t.g,u),b:$(t.b,u)},Bn(t,"a")?{a:$(t.a,u)}:{})},Ot=function(t,u){return en({h:$(t.h,u),s:$(t.s,u),l:$(t.l,u)},Bn(t,"a")?{a:$(t.a,u)}:{})},bg=function(t,u){return{c:$(t.c,u),m:$(t.m,u),y:$(t.y,u),k:$(t.k,u)}},qe=function(t,u,i,f,s,c){var p=s(ut(t,u),f);return i?c(p):p},It=function(t,u,i,f,s,c,p){i<1&&(i=5);var g=function(m,d,y){var w=y-1,C=(d.r-m.r)/w,F=(d.g-m.g)/w,M=(d.b-m.b)/w,H=Ln(m.a),E=(Ln(d.a)-H)/w;return Array(y).fill(null).map(function(B,T){return T===0?m:T===w?d:{r:$(m.r+C*T),g:$(m.g+F*T),b:$(m.b+M*T),a:$(H+E*T)}})}(ut(t),ut(u),i);return g.map(function(m){var d=c(m,s);return f?p(d):d})},xg=function(){function t(u,i){i===void 0&&(i=6),this.rgb=ut(u),this._decimals=i,this.updateHSL(),this.updateCMYK()}return t.prototype.updateRGB=function(){this.rgb=en(en({},On(this.hsl.h,this.hsl.s,this.hsl.l)),{a:this.hsl.a})},t.prototype.updateRGBFromCMYK=function(){this.rgb=en(en({},Qu(this.cmyk.c,this.cmyk.m,this.cmyk.y,this.cmyk.k)),{a:this.rgb.a})},t.prototype.updateHSL=function(){this.hsl=At(this.rgb.r,this.rgb.g,this.rgb.b,this.rgb.a)},t.prototype.updateCMYK=function(){this.cmyk=rs(this.rgb.r,this.rgb.g,this.rgb.b)},t.prototype.updateRGBAndCMYK=function(){return this.updateRGB(),this.updateCMYK(),this},t.prototype.updateHSLAndCMYK=function(){return this.updateHSL(),this.updateCMYK(),this},t.prototype.updateRGBAndHSL=function(){return this.updateRGBFromCMYK(),this.updateHSL(),this},t.prototype.setDecimals=function(u){return this._decimals=u,this},t.prototype.setH=function(u){return this.hsl.h=ur(u),this.updateRGBAndCMYK()},t.prototype.setS=function(u){return this.hsl.s=fe(u,0,100),this.updateRGBAndCMYK()},t.prototype.setL=function(u){return this.hsl.l=fe(u,0,100),this.updateRGBAndCMYK()},t.prototype.setR=function(u){return this.rgb.r=fe(u,0,255),this.updateHSLAndCMYK()},t.prototype.setG=function(u){return this.rgb.g=fe(u,0,255),this.updateHSLAndCMYK()},t.prototype.setB=function(u){return this.rgb.b=fe(u,0,255),this.updateHSLAndCMYK()},t.prototype.setA=function(u){return this.hsl.a=this.rgb.a=fe(u,0,1),this},t.prototype.setC=function(u){return this.cmyk.c=fe(u,0,100),this.updateRGBAndHSL()},t.prototype.setM=function(u){return this.cmyk.m=fe(u,0,100),this.updateRGBAndHSL()},t.prototype.setY=function(u){return this.cmyk.y=fe(u,0,100),this.updateRGBAndHSL()},t.prototype.setK=function(u){return this.cmyk.k=fe(u,0,100),this.updateRGBAndHSL()},Object.defineProperty(t.prototype,"decimals",{get:function(){return this._decimals},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"H",{get:function(){return $(this.hsl.h,this.decimals)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"S",{get:function(){return $(this.hsl.s,this.decimals)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"L",{get:function(){return $(this.hsl.l,this.decimals)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"R",{get:function(){return $(this.rgb.r,this.decimals)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"G",{get:function(){return $(this.rgb.g,this.decimals)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"B",{get:function(){return $(this.rgb.b,this.decimals)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"A",{get:function(){return $(this.hsl.a,this.decimals)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"C",{get:function(){return $(this.cmyk.c,this.decimals)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"M",{get:function(){return $(this.cmyk.m,this.decimals)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Y",{get:function(){return $(this.cmyk.y,this.decimals)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"K",{get:function(){return $(this.cmyk.k,this.decimals)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"HEXObject",{get:function(){return tn.HEX(this.rgb)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"HEXAObject",{get:function(){return tn.HEXA(this.rgb)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"RGBObject",{get:function(){return{r:this.R,g:this.G,b:this.B}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"RGBAObject",{get:function(){return en(en({},this.RGBObject),{a:this.A})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"HSLObject",{get:function(){return{h:this.H,s:this.S,l:this.L}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"HSLAObject",{get:function(){return en(en({},this.HSLObject),{a:this.A})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CMYKObject",{get:function(){return{c:this.C,m:this.M,y:this.Y,k:this.K}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CMYKAObject",{get:function(){return en(en({},this.CMYKObject),{a:this.A})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"HEX",{get:function(){return j.HEX({r:this.R,g:this.G,b:this.B})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"HEXA",{get:function(){return j.HEX({r:this.R,g:this.G,b:this.B,a:255*this.A})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"RGB",{get:function(){return j.RGB({r:this.R,g:this.G,b:this.B})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"RGBA",{get:function(){return j.RGB({r:this.R,g:this.G,b:this.B,a:this.A})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"HSL",{get:function(){return j.HSL({h:this.H,s:this.S,l:this.L})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"HSLA",{get:function(){return j.HSL({h:this.H,s:this.S,l:this.L,a:this.A})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CMYK",{get:function(){return j.CMYK({c:this.C,m:this.M,y:this.Y,k:this.K})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CMYKA",{get:function(){return j.CMYK({c:this.C,m:this.M,y:this.Y,k:this.K,a:this.A})},enumerable:!1,configurable:!0}),t.toHEX=function(u,i){i===void 0&&(i=!0);var f=Zn(u);return qe(u,f,i,0,tn.HEX,j.HEX)},t.toHEXA=function(u,i){i===void 0&&(i=!0);var f=Zn(u);return qe(u,f,i,0,tn.HEXA,j.HEX)},t.toRGB=function(u,i,f){i===void 0&&(i=!0),f===void 0&&(f=6);var s=Zn(u);return qe(u,s,i,f,tn.RGB,j.RGB)},t.toRGBA=function(u,i,f){i===void 0&&(i=!0),f===void 0&&(f=6);var s=Zn(u);return qe(u,s,i,f,tn.RGBA,j.RGB)},t.toHSL=function(u,i,f){i===void 0&&(i=!0),f===void 0&&(f=6);var s=Zn(u);return qe(u,s,i,f,tn.HSL,j.HSL)},t.toHSLA=function(u,i,f){i===void 0&&(i=!0),f===void 0&&(f=6);var s=Zn(u);return qe(u,s,i,f,tn.HSLA,j.HSL)},t.toCMYK=function(u,i,f){i===void 0&&(i=!0),f===void 0&&(f=6);var s=Zn(u);return qe(u,s,i,f,tn.CMYK,j.CMYK)},t.toCMYKA=function(u,i,f){i===void 0&&(i=!0),f===void 0&&(f=6);var s=Zn(u);return qe(u,s,i,f,tn.CMYKA,j.CMYK)},t.getBlendHEX=function(u,i,f,s,c){return f===void 0&&(f=5),s===void 0&&(s=!0),c===void 0&&(c=6),It(u,i,f,s,c,tn.HEX,j.HEX)},t.getBlendHEXA=function(u,i,f,s,c){return f===void 0&&(f=5),s===void 0&&(s=!0),c===void 0&&(c=6),It(u,i,f,s,c,tn.HEXA,j.HEX)},t.getBlendRGB=function(u,i,f,s,c){return f===void 0&&(f=5),s===void 0&&(s=!0),c===void 0&&(c=6),It(u,i,f,s,c,tn.RGB,j.RGB)},t.getBlendRGBA=function(u,i,f,s,c){return f===void 0&&(f=5),s===void 0&&(s=!0),c===void 0&&(c=6),It(u,i,f,s,c,tn.RGBA,j.RGB)},t.getBlendHSL=function(u,i,f,s,c){return f===void 0&&(f=5),s===void 0&&(s=!0),c===void 0&&(c=6),It(u,i,f,s,c,tn.HSL,j.HSL)},t.getBlendHSLA=function(u,i,f,s,c){return f===void 0&&(f=5),s===void 0&&(s=!0),c===void 0&&(c=6),It(u,i,f,s,c,tn.HSLA,j.HSL)},t.getMixHEX=function(u,i,f){return i===void 0&&(i=qn.ADDITIVE),f===void 0&&(f=!0),Rt.HEX(u,i,f)},t.getMixHEXA=function(u,i,f){return i===void 0&&(i=qn.ADDITIVE),f===void 0&&(f=!0),Rt.HEXA(u,i,f)},t.getMixRGB=function(u,i,f,s){return i===void 0&&(i=qn.ADDITIVE),f===void 0&&(f=!0),s===void 0&&(s=6),Rt.RGB(u,i,f,s)},t.getMixRGBA=function(u,i,f,s){return i===void 0&&(i=qn.ADDITIVE),f===void 0&&(f=!0),s===void 0&&(s=6),Rt.RGBA(u,i,f,s)},t.getMixHSL=function(u,i,f,s){return i===void 0&&(i=qn.ADDITIVE),f===void 0&&(f=!0),s===void 0&&(s=6),Rt.HSL(u,i,f,s)},t.getMixHSLA=function(u,i,f,s){return i===void 0&&(i=qn.ADDITIVE),f===void 0&&(f=!0),s===void 0&&(s=6),Rt.HSLA(u,i,f,s)},t.getShades=function(u,i,f){return f===void 0&&(f=6),us(u,i,!0,f)},t.getTints=function(u,i,f){return f===void 0&&(f=6),us(u,i,!1,f)},t.getHarmony=function(u,i,f,s){return i===void 0&&(i=Ae.COMPLEMENTARY),f===void 0&&(f=qn.ADDITIVE),s===void 0&&(s=6),function(c,p,g,m){var d;return(d={},d[Ae.ANALOGOUS]=Et.buildHarmony(p,hg,m,g),d[Ae.COMPLEMENTARY]=Et.buildHarmony(p,pg,m,g),d[Ae.SPLIT_COMPLEMENTARY]=Et.buildHarmony(p,gg,m,g),d[Ae.TRIADIC]=Et.buildHarmony(p,dg,m,g),d[Ae.TETRADIC]=Et.buildHarmony(p,vg,m,g),d[Ae.SQUARE]=Et.buildHarmony(p,mg,m,g),d)[c]}(i,u,s,f)},t}();const wg={current:void 0,parent:void 0,events:void 0,color:{source:2533018,destination:15753874,expanding:16733986,updating:16733986,generating:16771899,closing:11583173,end:15483002},scale:10,fill:"#000000",alpha:1},{ceil:In,PI:Ag}=Math,or=(t,u)=>new xg(t).setA(u??wg.alpha).RGBA,Sg=(t,u)=>or(t,u);function Ge(t,u){return{width:t.width*u.scale.x,height:t.height*u.scale.y,x:t.x*u.scale.x+u.x,y:t.y*u.scale.y+u.y}}const ju={text:{draw(t,u,i){if(t.text){const f=Ge(t,{x:t.textX,y:t.textY,scale:{x:1,y:1}}),s=Ge(f,i);u.font=`${t.fontSize*i.scale.x}px Arial`,u.fillStyle=or(t.fontColor,t.alpha),u.fillText(t.text,s.x,s.y)}},test(t){return{left:-1/0,right:1/0,top:-1/0,bottom:1/0}}},path:{draw(t,u,i){const[f,...s]=t.points;u.beginPath(),u.lineCap="round",u.lineJoin="round",u.strokeStyle=Sg(t.fill,t.alpha);const{x:c,y:p,width:g}=Ge({...f,width:t.lineWidth,height:0},i);u.lineWidth=In(g),u.moveTo(In(c),In(p));for(const m of s){const{x:d,y}=Ge({...m,width:0,height:0},i);u.lineTo(In(d),In(y))}u.stroke()},test(t){var u,i,f,s;return{left:((u=vn.minBy(t.points,"x"))==null?void 0:u.x)??0-t.lineWidth??0,right:((i=vn.maxBy(t.points,"x"))==null?void 0:i.x)??0+t.lineWidth??0,top:((f=vn.minBy(t.points,"y"))==null?void 0:f.y)??0-t.lineWidth??0,bottom:((s=vn.maxBy(t.points,"y"))==null?void 0:s.y)??0+t.lineWidth??0}}},rect:{draw(t,u,i){const{x:f,y:s,width:c,height:p}=Ge(t,i);u.fillStyle=or(t.fill,t.alpha),u.fillRect(In(f),In(s),In(c)||1,In(p)||1)},test(t){return{left:t.x,right:t.x+t.width,top:t.y,bottom:t.y+t.height}}},polygon:{draw(t,u,i){const[f,...s]=t.points;u.beginPath(),u.fillStyle=or(t.fill,t.alpha);const{x:c,y:p}=Ge({...f,width:0,height:0},i);u.moveTo(In(c),In(p));for(const g of s){const{x:m,y:d}=Ge({...g,width:0,height:0},i);u.lineTo(In(m),In(d))}u.closePath(),u.fill()},test(t){var u,i,f,s;return{left:((u=vn.minBy(t.points,"x"))==null?void 0:u.x)??0,right:((i=vn.maxBy(t.points,"x"))==null?void 0:i.x)??0,top:((f=vn.minBy(t.points,"y"))==null?void 0:f.y)??0,bottom:((s=vn.maxBy(t.points,"y"))==null?void 0:s.y)??0}}},circle:{draw(t,u,i){u.fillStyle=or(t.fill,t.alpha),u.beginPath();const f=Ge({...t,width:t.radius,height:t.radius},i);u.ellipse(In(f.x),In(f.y),In(f.width),In(f.height),0,0,2*Ag),u.fill()},test(t){return{left:t.x-t.radius,right:t.x+t.radius,top:t.y-t.radius,bottom:t.y+t.radius}}}},Eg=t=>new Error(`The component ${t.$} is not supported by this renderer.`);function os(t,u,i,f){if(t in ju)ju[t].draw(u,i,f);else throw Eg(u)}const Rg=(t,u,i)=>{os(t.$,t,u,i),t.text&&os("text",t,u,i)},Og=({x:t,y:u})=>{const i=Math.abs(t),f=Math.abs(u),s=Math.max(i,f),c=2*s,p=Math.pow(c-1,2);return t==s&&u>-s?p+u-(-s+1):u==s?p+s-t+c-1:t==-s?p+s-u+2*c-1:u==-s?p+t+s+3*c-1:0},fs=JSON.stringify,{log2:Ig,max:Fg}=Math,as=t=>vn.floor(Ig(t+1));function Cg({right:t,left:u,bottom:i,top:f},s){const c=Fg(as(t-u),as(i-f))-s,p=2**c,g={left:vn.floor(u/p),right:vn.ceil((t+1)/p),top:vn.floor(f/p),bottom:vn.ceil((i+1)/p)};return{zoom:c,order:p,tiles:vn.shuffle(Uc({x:vn.range(g.left,g.right+1),y:vn.range(g.top,g.bottom+1)}).map(m=>{const d=m.x*p,y=m.y*p;return{tile:m,bounds:{left:d-p/2,right:d+p/2,top:y-p/2,bottom:y+p/2}}}))}}const Bg=200;class Tg extends og{constructor(){super(...arguments);oe(this,Jr);oe(this,ft);oe(this,Qr);oe(this,jr);oe(this,Jn,void 0);oe(this,Ft,void 0);oe(this,Ne,void 0);oe(this,Ye,void 0);oe(this,fr,void 0);oe(this,Ct,void 0);oe(this,Bt,void 0);de(this,Jn,rg),de(this,Ft,{bottom:256,top:0,left:0,right:256}),de(this,Ne,new tg(16)),de(this,Ye,{}),de(this,fr,0),de(this,Ct,{}),de(this,Bt,vn.once(()=>vn.debounce(()=>this.render(),yn(this,Jn).refreshInterval,{leading:!1,trailing:!0}))),this.renderTile=zp((i,f)=>Je(this,jr,Wc).call(this,i,f),{normalizer:JSON.stringify,max:Bg})}getView(){return{system:yn(this,Ne),world:yn(this,Ye)}}setFrustum(i){de(this,Ft,i),yn(this,Bt).call(this)()}setTileResolution(i){vn.isEqual(i,yn(this,Jn).tileResolution)||(Object.assign(yn(this,Jn),{tileResolution:i}),Je(this,ft,Mr).call(this))}add(i,f){const s=vn.map(i,c=>({...ju[c.$].test(c),component:c,index:Je(this,Jr,$c).call(this)}));yn(this,Ne).load(s),yn(this,Ye)[f]=s,Je(this,ft,Mr).call(this)}remove(i){for(const f of yn(this,Ye)[i])yn(this,Ne).remove(f);delete yn(this,Ye)[i],Je(this,ft,Mr).call(this)}setup(i){de(this,Jn,i),Je(this,ft,Mr).call(this)}async render(){for(const{tile:i,bounds:f}of Cg(yn(this,Ft),yn(this,Jn).tileSubdivision).tiles)if(Je(this,Qr,Xc).call(this,i)){const s=this.renderTile(f,yn(this,Jn).tileResolution);s&&this.emit("message",{action:"update",payload:{bounds:f,bitmap:s}},[])}}}Jn=new WeakMap,Ft=new WeakMap,Ne=new WeakMap,Ye=new WeakMap,fr=new WeakMap,Jr=new WeakSet,$c=function(){return Yc(this,fr)._++},Ct=new WeakMap,ft=new WeakSet,Mr=function(){this.renderTile.clear(),yn(this,Bt).call(this)()},Bt=new WeakMap,Qr=new WeakSet,Xc=function({x:i,y:f}){const{workerCount:s,workerIndex:c}=yn(this,Jn);return Og({x:i,y:f})%s===c},jr=new WeakSet,Wc=function(i,f){const{top:s,right:c,bottom:p,left:g}=i,m={x:f.width/(c-g),y:f.height/(p-s)},d=vn.sortBy(yn(this,Ne).search({minX:g,maxX:c,maxY:p,minY:s}),"index"),y=fs(vn.map(d,"index")),w=fs([s,c,p,g]),C=yn(this,Ct)[w];if(!C||y!==C.hash){const F=new OffscreenCanvas(f.width,f.height),M=F.getContext("2d",{alpha:!1});M.imageSmoothingEnabled=!1,M.fillStyle=yn(this,Jn).backgroundColor,M.fillRect(0,0,f.width,f.height);const H=f.width*.05,E=1;M.fillStyle="rgba(127,127,127,0.36)",M.fillRect((f.width-H)/2,(f.height-E)/2,H,E),M.fillRect((f.width-E)/2,(f.height-H)/2,E,H);for(const{component:T}of d)Rg(T,M,{scale:m,x:-g*m.x,y:-s*m.y});const B=F.transferToImageBitmap();return yn(this,Ct)[w]={hash:y,tile:B},B}else return C.tile};const ss=new Tg;ss.on("message",(t,u)=>self.postMessage(t,u)),self.onmessage=t=>{const{action:u,payload:i}=t.data;ss[u](...i)}})();
diff --git a/assets/index-7e38d485.js b/assets/index-f007fb49.js
similarity index 86%
rename from assets/index-7e38d485.js
rename to assets/index-f007fb49.js
index 6055057b..fec24339 100644
--- a/assets/index-7e38d485.js
+++ b/assets/index-f007fb49.js
@@ -14,7 +14,7 @@ var gie=Object.defineProperty;var vie=(e,t,n)=>t in e?gie(e,t,{enumerable:!0,con
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
- */var Die=I,Lie=Symbol.for("react.element"),Nie=Symbol.for("react.fragment"),Bie=Object.prototype.hasOwnProperty,$ie=Die.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Fie={key:!0,ref:!0,__self:!0,__source:!0};function vq(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)Bie.call(t,r)&&!Fie.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Lie,type:e,key:o,ref:s,props:i,_owner:$ie.current}}qC.Fragment=Nie;qC.jsx=vq;qC.jsxs=vq;lq.exports=qC;var C=lq.exports;const zie={black:"#000",white:"#fff"},dg=zie,jie={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"},qu=jie,Uie={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},yq=Uie,Hie={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"},kh=Hie,Wie={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"},bq=Wie,Gie={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},Vie=Gie,qie={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"},Xu=qie,Xie={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"},Ah=Xie,Yie={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4"},Kie=Yie,Qie={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"},Jie=Qie,Zie={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"},Yu=Zie,eoe={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17"},toe=eoe,noe={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00"},roe=noe,ioe={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600"},xq=ioe,ooe={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"},soe=ooe,aoe={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"},zh=aoe,loe={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00"},coe=loe,uoe={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037"},doe=uoe,foe={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"},y5=foe,hoe={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64"},poe=hoe,wq=Object.freeze(Object.defineProperty({__proto__:null,amber:soe,blue:Xu,blueGrey:poe,brown:doe,common:dg,cyan:Kie,deepOrange:coe,deepPurple:bq,green:Yu,grey:y5,indigo:Vie,lightBlue:Ah,lightGreen:toe,lime:roe,orange:zh,pink:yq,purple:kh,red:qu,teal:Jie,yellow:xq},Symbol.toStringTag,{value:"Module"}));function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t[n]=_q(e[n])}),t}function Uo(e,t,n={clone:!0}){const r=n.clone?$({},e):e;return jh(e)&&jh(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(jh(t[i])&&i in e&&jh(e[i])?r[i]=Uo(e[i],t[i],n):n.clone?r[i]=jh(t[i])?_q(t[i]):t[i]:r[i]=t[i])}),r}var Sq={exports:{}},moe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",goe=moe,voe=goe;function Eq(){}function Cq(){}Cq.resetWarningCache=Eq;var yoe=function(){function e(r,i,o,s,l,c){if(c!==voe){var d=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 d.name="Invariant Violation",d}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Cq,resetWarningCache:Eq};return n.PropTypes=n,n};Sq.exports=yoe();var Vg=Sq.exports;const q0=js(Vg);function Od(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;nn==null?t:function(...i){t.apply(this,i),n.apply(this,i)},()=>{})}function XC(e,t=166){let n;function r(...i){const o=()=>{e.apply(this,i)};clearTimeout(n),n=setTimeout(o,t)}return r.clear=()=>{clearTimeout(n)},r}function dS(e,t){var n,r;return I.isValidElement(e)&&t.indexOf((n=e.type.muiName)!=null?n:(r=e.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function Ar(e){return e&&e.ownerDocument||document}function bu(e){return Ar(e).defaultView||window}function n$(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const boe=typeof window<"u"?I.useLayoutEffect:I.useEffect,Ao=boe;let o6=0;function xoe(e){const[t,n]=I.useState(e),r=e||t;return I.useEffect(()=>{t==null&&(o6+=1,n(`mui-${o6}`))},[t]),r}const s6=JS["useId".toString()];function b5(e){if(s6!==void 0){const t=s6();return e??t}return xoe(e)}function Ix({controlled:e,default:t,name:n,state:r="value"}){const{current:i}=I.useRef(e!==void 0),[o,s]=I.useState(t),l=i?e:o,c=I.useCallback(d=>{i||s(d)},[]);return[l,c]}function Zi(e){const t=I.useRef(e);return Ao(()=>{t.current=e}),I.useCallback((...n)=>(0,t.current)(...n),[])}function mr(...e){return I.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{n$(n,t)})},e)}let YC=!0,r$=!1,a6;const woe={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 _oe(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&woe[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Soe(e){e.metaKey||e.altKey||e.ctrlKey||(YC=!0)}function vD(){YC=!1}function Eoe(){this.visibilityState==="hidden"&&r$&&(YC=!0)}function Coe(e){e.addEventListener("keydown",Soe,!0),e.addEventListener("mousedown",vD,!0),e.addEventListener("pointerdown",vD,!0),e.addEventListener("touchstart",vD,!0),e.addEventListener("visibilitychange",Eoe,!0)}function Toe(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return YC||_oe(t)}function x5(){const e=I.useCallback(i=>{i!=null&&Coe(i.ownerDocument)},[]),t=I.useRef(!1);function n(){return t.current?(r$=!0,window.clearTimeout(a6),a6=window.setTimeout(()=>{r$=!1},100),t.current=!1,!0):!1}function r(i){return Toe(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function Tq(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Vp;function kq(){if(Vp)return Vp;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),Vp="reverse",e.scrollLeft>0?Vp="default":(e.scrollLeft=1,e.scrollLeft===0&&(Vp="negative")),document.body.removeChild(e),Vp}function koe(e,t){const n=e.scrollLeft;if(t!=="rtl")return n;switch(kq()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}const Aoe={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},Roe=Aoe;function w5(e,t){const n=$({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=$({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const i=e[r]||{},o=t[r];n[r]={},!o||!Object.keys(o)?n[r]=i:!i||!Object.keys(i)?n[r]=o:(n[r]=$({},o),Object.keys(i).forEach(s=>{n[r][s]=w5(i[s],o[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function Et(e,t,n=void 0){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((o,s)=>{if(s){const l=t(s);l!==""&&o.push(l),n&&n[s]&&o.push(n[s])}return o},[]).join(" ")}),r}const l6=e=>e,Ioe=()=>{let e=l6;return{configure(t){e=t},generate(t){return e(t)},reset(){e=l6}}},Poe=Ioe(),Aq=Poe,Ooe={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function _t(e,t,n="Mui"){const r=Ooe[t];return r?`${n}-${r}`:`${Aq.generate(e)}-${t}`}function Ct(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=_t(e,i,n)}),r}const ap="$$material";function Le(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function Rq(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Moe=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Doe=Rq(function(e){return Moe.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Loe(e){if(e.sheet)return e.sheet;for(var t=0;t0?$i(qg,--Yo):0,fg--,Vr===10&&(fg=1,QC--),Vr}function Rs(){return Vr=Yo2||Ox(Vr)>3?"":" "}function Xoe(e,t){for(;--t&&Rs()&&!(Vr<48||Vr>102||Vr>57&&Vr<65||Vr>70&&Vr<97););return F1(e,fS()+(t<6&&Bl()==32&&Rs()==32))}function o$(e){for(;Rs();)switch(Vr){case e:return Yo;case 34:case 39:e!==34&&e!==39&&o$(Vr);break;case 40:e===41&&o$(e);break;case 92:Rs();break}return Yo}function Yoe(e,t){for(;Rs()&&e+Vr!==47+10;)if(e+Vr===42+42&&Bl()===47)break;return"/*"+F1(t,Yo-1)+"*"+KC(e===47?e:Rs())}function Koe(e){for(;!Ox(Bl());)Rs();return F1(e,Yo)}function Qoe(e){return Lq(pS("",null,null,null,[""],e=Dq(e),0,[0],e))}function pS(e,t,n,r,i,o,s,l,c){for(var d=0,f=0,h=s,p=0,g=0,v=0,y=1,S=1,_=1,b=0,x="",E=i,A=o,R=r,k=x;S;)switch(v=b,b=Rs()){case 40:if(v!=108&&$i(k,h-1)==58){i$(k+=Rn(hS(b),"&","&\f"),"&\f")!=-1&&(_=-1);break}case 34:case 39:case 91:k+=hS(b);break;case 9:case 10:case 13:case 32:k+=qoe(v);break;case 92:k+=Xoe(fS()-1,7);continue;case 47:switch(Bl()){case 42:case 47:Tw(Joe(Yoe(Rs(),fS()),t,n),c);break;default:k+="/"}break;case 123*y:l[d++]=Al(k)*_;case 125*y:case 59:case 0:switch(b){case 0:case 125:S=0;case 59+f:_==-1&&(k=Rn(k,/\f/g,"")),g>0&&Al(k)-h&&Tw(g>32?u6(k+";",r,n,h-1):u6(Rn(k," ","")+";",r,n,h-2),c);break;case 59:k+=";";default:if(Tw(R=c6(k,t,n,d,f,i,l,x,E=[],A=[],h),o),b===123)if(f===0)pS(k,t,R,R,E,o,h,l,A);else switch(p===99&&$i(k,3)===110?100:p){case 100:case 108:case 109:case 115:pS(e,R,R,r&&Tw(c6(e,R,R,0,0,i,l,x,i,E=[],h),A),i,A,h,l,r?E:A);break;default:pS(k,R,R,R,[""],A,0,l,A)}}d=f=g=0,y=_=1,x=k="",h=s;break;case 58:h=1+Al(k),g=v;default:if(y<1){if(b==123)--y;else if(b==125&&y++==0&&Voe()==125)continue}switch(k+=KC(b),b*y){case 38:_=f>0?1:(k+="\f",-1);break;case 44:l[d++]=(Al(k)-1)*_,_=1;break;case 64:Bl()===45&&(k+=hS(Rs())),p=Bl(),f=h=Al(x=k+=Koe(fS())),b++;break;case 45:v===45&&Al(k)==2&&(y=0)}}return o}function c6(e,t,n,r,i,o,s,l,c,d,f){for(var h=i-1,p=i===0?o:[""],g=E5(p),v=0,y=0,S=0;v0?p[_]+" "+b:Rn(b,/&\f/g,p[_])))&&(c[S++]=x);return JC(e,t,n,i===0?_5:l,c,d,f)}function Joe(e,t,n){return JC(e,t,n,Iq,KC(Goe()),Px(e,2,-2),0)}function u6(e,t,n,r){return JC(e,t,n,S5,Px(e,0,r),Px(e,r+1,-1),r)}function Hm(e,t){for(var n="",r=E5(e),i=0;i6)switch($i(e,t+1)){case 109:if($i(e,t+4)!==45)break;case 102:return Rn(e,/(.+:)(.+)-([^]+)/,"$1"+An+"$2-$3$1"+ZS+($i(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~i$(e,"stretch")?Nq(Rn(e,"stretch","fill-available"),t)+e:e}break;case 4949:if($i(e,t+1)!==115)break;case 6444:switch($i(e,Al(e)-3-(~i$(e,"!important")&&10))){case 107:return Rn(e,":",":"+An)+e;case 101:return Rn(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+An+($i(e,14)===45?"inline-":"")+"box$3$1"+An+"$2$3$1"+Xi+"$2box$3")+e}break;case 5936:switch($i(e,t+11)){case 114:return An+e+Xi+Rn(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return An+e+Xi+Rn(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return An+e+Xi+Rn(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return An+e+Xi+e+e}return e}var ase=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case S5:t.return=Nq(t.value,t.length);break;case Pq:return Hm([X0(t,{value:Rn(t.value,"@","@"+An)})],i);case _5:if(t.length)return Woe(t.props,function(o){switch(Hoe(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Hm([X0(t,{props:[Rn(o,/:(read-\w+)/,":"+ZS+"$1")]})],i);case"::placeholder":return Hm([X0(t,{props:[Rn(o,/:(plac\w+)/,":"+An+"input-$1")]}),X0(t,{props:[Rn(o,/:(plac\w+)/,":"+ZS+"$1")]}),X0(t,{props:[Rn(o,/:(plac\w+)/,Xi+"input-$1")]})],i)}return""})}},lse=[ase],cse=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var S=y.getAttribute("data-emotion");S.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var i=t.stylisPlugins||lse,o={},s,l=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var S=y.getAttribute("data-emotion").split(" "),_=1;_{t[n]=_q(e[n])}),t}function Uo(e,t,n={clone:!0}){const r=n.clone?$({},e):e;return jh(e)&&jh(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(jh(t[i])&&i in e&&jh(e[i])?r[i]=Uo(e[i],t[i],n):n.clone?r[i]=jh(t[i])?_q(t[i]):t[i]:r[i]=t[i])}),r}var Sq={exports:{}},moe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",goe=moe,voe=goe;function Eq(){}function Cq(){}Cq.resetWarningCache=Eq;var yoe=function(){function e(r,i,o,s,l,c){if(c!==voe){var d=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 d.name="Invariant Violation",d}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Cq,resetWarningCache:Eq};return n.PropTypes=n,n};Sq.exports=yoe();var Vg=Sq.exports;const q0=js(Vg);function Od(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;nn==null?t:function(...i){t.apply(this,i),n.apply(this,i)},()=>{})}function XC(e,t=166){let n;function r(...i){const o=()=>{e.apply(this,i)};clearTimeout(n),n=setTimeout(o,t)}return r.clear=()=>{clearTimeout(n)},r}function dS(e,t){var n,r;return I.isValidElement(e)&&t.indexOf((n=e.type.muiName)!=null?n:(r=e.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function Ar(e){return e&&e.ownerDocument||document}function bu(e){return Ar(e).defaultView||window}function n$(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const boe=typeof window<"u"?I.useLayoutEffect:I.useEffect,Ao=boe;let o6=0;function xoe(e){const[t,n]=I.useState(e),r=e||t;return I.useEffect(()=>{t==null&&(o6+=1,n(`mui-${o6}`))},[t]),r}const s6=JS["useId".toString()];function b5(e){if(s6!==void 0){const t=s6();return e??t}return xoe(e)}function Ix({controlled:e,default:t,name:n,state:r="value"}){const{current:i}=I.useRef(e!==void 0),[o,s]=I.useState(t),l=i?e:o,c=I.useCallback(d=>{i||s(d)},[]);return[l,c]}function eo(e){const t=I.useRef(e);return Ao(()=>{t.current=e}),I.useCallback((...n)=>(0,t.current)(...n),[])}function mr(...e){return I.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{n$(n,t)})},e)}let YC=!0,r$=!1,a6;const woe={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 _oe(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&woe[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Soe(e){e.metaKey||e.altKey||e.ctrlKey||(YC=!0)}function vD(){YC=!1}function Eoe(){this.visibilityState==="hidden"&&r$&&(YC=!0)}function Coe(e){e.addEventListener("keydown",Soe,!0),e.addEventListener("mousedown",vD,!0),e.addEventListener("pointerdown",vD,!0),e.addEventListener("touchstart",vD,!0),e.addEventListener("visibilitychange",Eoe,!0)}function Toe(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return YC||_oe(t)}function x5(){const e=I.useCallback(i=>{i!=null&&Coe(i.ownerDocument)},[]),t=I.useRef(!1);function n(){return t.current?(r$=!0,window.clearTimeout(a6),a6=window.setTimeout(()=>{r$=!1},100),t.current=!1,!0):!1}function r(i){return Toe(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function Tq(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Vp;function kq(){if(Vp)return Vp;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),Vp="reverse",e.scrollLeft>0?Vp="default":(e.scrollLeft=1,e.scrollLeft===0&&(Vp="negative")),document.body.removeChild(e),Vp}function koe(e,t){const n=e.scrollLeft;if(t!=="rtl")return n;switch(kq()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}const Aoe={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},Roe=Aoe;function w5(e,t){const n=$({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=$({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const i=e[r]||{},o=t[r];n[r]={},!o||!Object.keys(o)?n[r]=i:!i||!Object.keys(i)?n[r]=o:(n[r]=$({},o),Object.keys(i).forEach(s=>{n[r][s]=w5(i[s],o[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function Et(e,t,n=void 0){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((o,s)=>{if(s){const l=t(s);l!==""&&o.push(l),n&&n[s]&&o.push(n[s])}return o},[]).join(" ")}),r}const l6=e=>e,Ioe=()=>{let e=l6;return{configure(t){e=t},generate(t){return e(t)},reset(){e=l6}}},Poe=Ioe(),Aq=Poe,Ooe={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function _t(e,t,n="Mui"){const r=Ooe[t];return r?`${n}-${r}`:`${Aq.generate(e)}-${t}`}function Ct(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=_t(e,i,n)}),r}const ap="$$material";function Le(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function Rq(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Moe=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Doe=Rq(function(e){return Moe.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Loe(e){if(e.sheet)return e.sheet;for(var t=0;t0?$i(qg,--Yo):0,fg--,Vr===10&&(fg=1,QC--),Vr}function Rs(){return Vr=Yo2||Ox(Vr)>3?"":" "}function Xoe(e,t){for(;--t&&Rs()&&!(Vr<48||Vr>102||Vr>57&&Vr<65||Vr>70&&Vr<97););return F1(e,fS()+(t<6&&Bl()==32&&Rs()==32))}function o$(e){for(;Rs();)switch(Vr){case e:return Yo;case 34:case 39:e!==34&&e!==39&&o$(Vr);break;case 40:e===41&&o$(e);break;case 92:Rs();break}return Yo}function Yoe(e,t){for(;Rs()&&e+Vr!==47+10;)if(e+Vr===42+42&&Bl()===47)break;return"/*"+F1(t,Yo-1)+"*"+KC(e===47?e:Rs())}function Koe(e){for(;!Ox(Bl());)Rs();return F1(e,Yo)}function Qoe(e){return Lq(pS("",null,null,null,[""],e=Dq(e),0,[0],e))}function pS(e,t,n,r,i,o,s,l,c){for(var d=0,f=0,h=s,p=0,g=0,v=0,y=1,S=1,_=1,b=0,x="",E=i,A=o,R=r,k=x;S;)switch(v=b,b=Rs()){case 40:if(v!=108&&$i(k,h-1)==58){i$(k+=Rn(hS(b),"&","&\f"),"&\f")!=-1&&(_=-1);break}case 34:case 39:case 91:k+=hS(b);break;case 9:case 10:case 13:case 32:k+=qoe(v);break;case 92:k+=Xoe(fS()-1,7);continue;case 47:switch(Bl()){case 42:case 47:Tw(Joe(Yoe(Rs(),fS()),t,n),c);break;default:k+="/"}break;case 123*y:l[d++]=Al(k)*_;case 125*y:case 59:case 0:switch(b){case 0:case 125:S=0;case 59+f:_==-1&&(k=Rn(k,/\f/g,"")),g>0&&Al(k)-h&&Tw(g>32?u6(k+";",r,n,h-1):u6(Rn(k," ","")+";",r,n,h-2),c);break;case 59:k+=";";default:if(Tw(R=c6(k,t,n,d,f,i,l,x,E=[],A=[],h),o),b===123)if(f===0)pS(k,t,R,R,E,o,h,l,A);else switch(p===99&&$i(k,3)===110?100:p){case 100:case 108:case 109:case 115:pS(e,R,R,r&&Tw(c6(e,R,R,0,0,i,l,x,i,E=[],h),A),i,A,h,l,r?E:A);break;default:pS(k,R,R,R,[""],A,0,l,A)}}d=f=g=0,y=_=1,x=k="",h=s;break;case 58:h=1+Al(k),g=v;default:if(y<1){if(b==123)--y;else if(b==125&&y++==0&&Voe()==125)continue}switch(k+=KC(b),b*y){case 38:_=f>0?1:(k+="\f",-1);break;case 44:l[d++]=(Al(k)-1)*_,_=1;break;case 64:Bl()===45&&(k+=hS(Rs())),p=Bl(),f=h=Al(x=k+=Koe(fS())),b++;break;case 45:v===45&&Al(k)==2&&(y=0)}}return o}function c6(e,t,n,r,i,o,s,l,c,d,f){for(var h=i-1,p=i===0?o:[""],g=E5(p),v=0,y=0,S=0;v0?p[_]+" "+b:Rn(b,/&\f/g,p[_])))&&(c[S++]=x);return JC(e,t,n,i===0?_5:l,c,d,f)}function Joe(e,t,n){return JC(e,t,n,Iq,KC(Goe()),Px(e,2,-2),0)}function u6(e,t,n,r){return JC(e,t,n,S5,Px(e,0,r),Px(e,r+1,-1),r)}function Hm(e,t){for(var n="",r=E5(e),i=0;i6)switch($i(e,t+1)){case 109:if($i(e,t+4)!==45)break;case 102:return Rn(e,/(.+:)(.+)-([^]+)/,"$1"+An+"$2-$3$1"+ZS+($i(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~i$(e,"stretch")?Nq(Rn(e,"stretch","fill-available"),t)+e:e}break;case 4949:if($i(e,t+1)!==115)break;case 6444:switch($i(e,Al(e)-3-(~i$(e,"!important")&&10))){case 107:return Rn(e,":",":"+An)+e;case 101:return Rn(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+An+($i(e,14)===45?"inline-":"")+"box$3$1"+An+"$2$3$1"+Yi+"$2box$3")+e}break;case 5936:switch($i(e,t+11)){case 114:return An+e+Yi+Rn(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return An+e+Yi+Rn(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return An+e+Yi+Rn(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return An+e+Yi+e+e}return e}var ase=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case S5:t.return=Nq(t.value,t.length);break;case Pq:return Hm([X0(t,{value:Rn(t.value,"@","@"+An)})],i);case _5:if(t.length)return Woe(t.props,function(o){switch(Hoe(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Hm([X0(t,{props:[Rn(o,/:(read-\w+)/,":"+ZS+"$1")]})],i);case"::placeholder":return Hm([X0(t,{props:[Rn(o,/:(plac\w+)/,":"+An+"input-$1")]}),X0(t,{props:[Rn(o,/:(plac\w+)/,":"+ZS+"$1")]}),X0(t,{props:[Rn(o,/:(plac\w+)/,Yi+"input-$1")]})],i)}return""})}},lse=[ase],cse=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var S=y.getAttribute("data-emotion");S.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var i=t.stylisPlugins||lse,o={},s,l=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var S=y.getAttribute("data-emotion").split(" "),_=1;_t in e?gie(e,t,{enumerable:!0,con
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
- */var dX=I,Ns=ece;function Oe(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),u$=Object.prototype.hasOwnProperty,tce=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,D6={},L6={};function nce(e){return u$.call(L6,e)?!0:u$.call(D6,e)?!1:tce.test(e)?L6[e]=!0:(D6[e]=!0,!1)}function rce(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function ice(e,t,n,r){if(t===null||typeof t>"u"||rce(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Io(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var Gi={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Gi[e]=new Io(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Gi[t]=new Io(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Gi[e]=new Io(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Gi[e]=new Io(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Gi[e]=new Io(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Gi[e]=new Io(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Gi[e]=new Io(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Gi[e]=new Io(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Gi[e]=new Io(e,5,!1,e.toLowerCase(),null,!1,!1)});var U5=/[\-:]([a-z])/g;function H5(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(U5,H5);Gi[t]=new Io(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(U5,H5);Gi[t]=new Io(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(U5,H5);Gi[t]=new Io(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Gi[e]=new Io(e,1,!1,e.toLowerCase(),null,!1,!1)});Gi.xlinkHref=new Io("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Gi[e]=new Io(e,1,!1,e.toLowerCase(),null,!0,!0)});function W5(e,t,n,r){var i=Gi.hasOwnProperty(t)?Gi[t]:null;(i!==null?i.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),u$=Object.prototype.hasOwnProperty,tce=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,D6={},L6={};function nce(e){return u$.call(L6,e)?!0:u$.call(D6,e)?!1:tce.test(e)?L6[e]=!0:(D6[e]=!0,!1)}function rce(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function ice(e,t,n,r){if(t===null||typeof t>"u"||rce(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Io(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var Vi={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Vi[e]=new Io(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Vi[t]=new Io(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Vi[e]=new Io(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Vi[e]=new Io(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Vi[e]=new Io(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Vi[e]=new Io(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Vi[e]=new Io(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Vi[e]=new Io(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Vi[e]=new Io(e,5,!1,e.toLowerCase(),null,!1,!1)});var U5=/[\-:]([a-z])/g;function H5(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(U5,H5);Vi[t]=new Io(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(U5,H5);Vi[t]=new Io(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(U5,H5);Vi[t]=new Io(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Vi[e]=new Io(e,1,!1,e.toLowerCase(),null,!1,!1)});Vi.xlinkHref=new Io("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Vi[e]=new Io(e,1,!1,e.toLowerCase(),null,!0,!0)});function W5(e,t,n,r){var i=Vi.hasOwnProperty(t)?Vi[t]:null;(i!==null?i.type!==0:r||!(2l||i[s]!==o[l]){var c=`
`+i[s].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}while(1<=s&&0<=l);break}}}finally{_D=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ob(e):""}function oce(e){switch(e.tag){case 5:return Ob(e.type);case 16:return Ob("Lazy");case 13:return Ob("Suspense");case 19:return Ob("SuspenseList");case 0:case 2:case 15:return e=SD(e.type,!1),e;case 11:return e=SD(e.type.render,!1),e;case 1:return e=SD(e.type,!0),e;default:return""}}function p$(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case wm:return"Fragment";case xm:return"Portal";case d$:return"Profiler";case G5:return"StrictMode";case f$:return"Suspense";case h$:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case pX:return(e.displayName||"Context")+".Consumer";case hX:return(e._context.displayName||"Context")+".Provider";case V5:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case q5:return t=e.displayName||null,t!==null?t:p$(e.type)||"Memo";case Ku:t=e._payload,e=e._init;try{return p$(e(t))}catch{}}return null}function sce(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return p$(t);case 8:return t===G5?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Dd(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function gX(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ace(e){var t=gX(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Aw(e){e._valueTracker||(e._valueTracker=ace(e))}function vX(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=gX(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function tE(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function m$(e,t){var n=t.checked;return Ir({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function B6(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Dd(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function yX(e,t){t=t.checked,t!=null&&W5(e,"checked",t,!1)}function g$(e,t){yX(e,t);var n=Dd(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?v$(e,t.type,n):t.hasOwnProperty("defaultValue")&&v$(e,t.type,Dd(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function $6(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function v$(e,t,n){(t!=="number"||tE(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Mb=Array.isArray;function Gm(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Rw.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Lx(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var tx={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},lce=["Webkit","ms","Moz","O"];Object.keys(tx).forEach(function(e){lce.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),tx[t]=tx[e]})});function _X(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||tx.hasOwnProperty(e)&&tx[e]?(""+t).trim():t+"px"}function SX(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=_X(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var cce=Ir({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function x$(e,t){if(t){if(cce[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Oe(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Oe(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Oe(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Oe(62))}}function w$(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var _$=null;function X5(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var S$=null,Vm=null,qm=null;function j6(e){if(e=H1(e)){if(typeof S$!="function")throw Error(Oe(280));var t=e.stateNode;t&&(t=$T(t),S$(e.stateNode,e.type,t))}}function EX(e){Vm?qm?qm.push(e):qm=[e]:Vm=e}function CX(){if(Vm){var e=Vm,t=qm;if(qm=Vm=null,j6(e),t)for(e=0;e>>=0,e===0?32:31-(xce(e)/wce|0)|0}var Iw=64,Pw=4194304;function Db(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function oE(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~i;l!==0?r=Db(l):(o&=s,o!==0&&(r=Db(o)))}else s=n&~i,s!==0?r=Db(s):o!==0&&(r=Db(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function j1(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-il(t),e[t]=n}function Cce(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=rx),K6=String.fromCharCode(32),Q6=!1;function GX(e,t){switch(e){case"keyup":return Zce.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function VX(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var _m=!1;function tue(e,t){switch(e){case"compositionend":return VX(t);case"keypress":return t.which!==32?null:(Q6=!0,K6);case"textInput":return e=t.data,e===K6&&Q6?null:e;default:return null}}function nue(e,t){if(_m)return e==="compositionend"||!n4&&GX(e,t)?(e=HX(),gS=Z5=cd=null,_m=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=tU(n)}}function KX(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?KX(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function QX(){for(var e=window,t=tE();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=tE(e.document)}return t}function r4(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function due(e){var t=QX(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&KX(n.ownerDocument.documentElement,n)){if(r!==null&&r4(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=nU(n,o);var s=nU(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Sm=null,R$=null,ox=null,I$=!1;function rU(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;I$||Sm==null||Sm!==tE(r)||(r=Sm,"selectionStart"in r&&r4(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ox&&jx(ox,r)||(ox=r,r=lE(R$,"onSelect"),0Tm||(e.current=N$[Tm],N$[Tm]=null,Tm--)}function er(e,t){Tm++,N$[Tm]=e.current,e.current=t}var Ld={},no=Vd(Ld),Ho=Vd(!1),up=Ld;function pg(e,t){var n=e.type.contextTypes;if(!n)return Ld;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Wo(e){return e=e.childContextTypes,e!=null}function uE(){ur(Ho),ur(no)}function uU(e,t,n){if(no.current!==Ld)throw Error(Oe(168));er(no,t),er(Ho,n)}function sY(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(Oe(108,sce(e)||"Unknown",i));return Ir({},n,r)}function dE(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ld,up=no.current,er(no,e),er(Ho,Ho.current),!0}function dU(e,t,n){var r=e.stateNode;if(!r)throw Error(Oe(169));n?(e=sY(e,t,up),r.__reactInternalMemoizedMergedChildContext=e,ur(Ho),ur(no),er(no,e)):ur(Ho),er(Ho,n)}var su=null,FT=!1,BD=!1;function aY(e){su===null?su=[e]:su.push(e)}function Sue(e){FT=!0,aY(e)}function qd(){if(!BD&&su!==null){BD=!0;var e=0,t=Nn;try{var n=su;for(Nn=1;e>=s,i-=s,uu=1<<32-il(t)+i|n<O?(L=k,k=null):L=k.sibling;var N=p(_,k,x[O],E);if(N===null){k===null&&(k=L);break}e&&k&&N.alternate===null&&t(_,k),b=o(N,b,O),R===null?A=N:R.sibling=N,R=N,k=L}if(O===x.length)return n(_,k),fr&&Rh(_,O),A;if(k===null){for(;OO?(L=k,k=null):L=k.sibling;var H=p(_,k,N.value,E);if(H===null){k===null&&(k=L);break}e&&k&&H.alternate===null&&t(_,k),b=o(H,b,O),R===null?A=H:R.sibling=H,R=H,k=L}if(N.done)return n(_,k),fr&&Rh(_,O),A;if(k===null){for(;!N.done;O++,N=x.next())N=h(_,N.value,E),N!==null&&(b=o(N,b,O),R===null?A=N:R.sibling=N,R=N);return fr&&Rh(_,O),A}for(k=r(_,k);!N.done;O++,N=x.next())N=g(k,_,O,N.value,E),N!==null&&(e&&N.alternate!==null&&k.delete(N.key===null?O:N.key),b=o(N,b,O),R===null?A=N:R.sibling=N,R=N);return e&&k.forEach(function(W){return t(_,W)}),fr&&Rh(_,O),A}function S(_,b,x,E){if(typeof x=="object"&&x!==null&&x.type===wm&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case kw:e:{for(var A=x.key,R=b;R!==null;){if(R.key===A){if(A=x.type,A===wm){if(R.tag===7){n(_,R.sibling),b=i(R,x.props.children),b.return=_,_=b;break e}}else if(R.elementType===A||typeof A=="object"&&A!==null&&A.$$typeof===Ku&&yU(A)===R.type){n(_,R.sibling),b=i(R,x.props),b.ref=tb(_,R,x),b.return=_,_=b;break e}n(_,R);break}else t(_,R);R=R.sibling}x.type===wm?(b=Jh(x.props.children,_.mode,E,x.key),b.return=_,_=b):(E=ES(x.type,x.key,x.props,null,_.mode,E),E.ref=tb(_,b,x),E.return=_,_=E)}return s(_);case xm:e:{for(R=x.key;b!==null;){if(b.key===R)if(b.tag===4&&b.stateNode.containerInfo===x.containerInfo&&b.stateNode.implementation===x.implementation){n(_,b.sibling),b=i(b,x.children||[]),b.return=_,_=b;break e}else{n(_,b);break}else t(_,b);b=b.sibling}b=GD(x,_.mode,E),b.return=_,_=b}return s(_);case Ku:return R=x._init,S(_,b,R(x._payload),E)}if(Mb(x))return v(_,b,x,E);if(K0(x))return y(_,b,x,E);$w(_,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,b!==null&&b.tag===6?(n(_,b.sibling),b=i(b,x),b.return=_,_=b):(n(_,b),b=WD(x,_.mode,E),b.return=_,_=b),s(_)):n(_,b)}return S}var gg=mY(!0),gY=mY(!1),W1={},Fl=Vd(W1),Gx=Vd(W1),Vx=Vd(W1);function Gh(e){if(e===W1)throw Error(Oe(174));return e}function f4(e,t){switch(er(Vx,t),er(Gx,e),er(Fl,W1),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:b$(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=b$(t,e)}ur(Fl),er(Fl,t)}function vg(){ur(Fl),ur(Gx),ur(Vx)}function vY(e){Gh(Vx.current);var t=Gh(Fl.current),n=b$(t,e.type);t!==n&&(er(Gx,e),er(Fl,n))}function h4(e){Gx.current===e&&(ur(Fl),ur(Gx))}var Cr=Vd(0);function vE(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var $D=[];function p4(){for(var e=0;e<$D.length;e++)$D[e]._workInProgressVersionPrimary=null;$D.length=0}var bS=Iu.ReactCurrentDispatcher,FD=Iu.ReactCurrentBatchConfig,fp=0,Rr=null,ci=null,gi=null,yE=!1,sx=!1,qx=0,Cue=0;function Vi(){throw Error(Oe(321))}function m4(e,t){if(t===null)return!1;for(var n=0;nn?n:4,e(!0);var r=FD.transition;FD.transition={};try{e(!1),t()}finally{Nn=n,FD.transition=r}}function MY(){return pa().memoizedState}function kue(e,t,n){var r=Ed(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},DY(e))LY(t,n);else if(n=dY(e,t,n,r),n!==null){var i=To();ol(n,e,r,i),NY(n,t,r)}}function Aue(e,t,n){var r=Ed(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(DY(e))LY(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,l=o(s,n);if(i.hasEagerState=!0,i.eagerState=l,hl(l,s)){var c=t.interleaved;c===null?(i.next=i,u4(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}finally{}n=dY(e,t,i,r),n!==null&&(i=To(),ol(n,e,r,i),NY(n,t,r))}}function DY(e){var t=e.alternate;return e===Rr||t!==null&&t===Rr}function LY(e,t){sx=yE=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function NY(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,K5(e,n)}}var bE={readContext:ha,useCallback:Vi,useContext:Vi,useEffect:Vi,useImperativeHandle:Vi,useInsertionEffect:Vi,useLayoutEffect:Vi,useMemo:Vi,useReducer:Vi,useRef:Vi,useState:Vi,useDebugValue:Vi,useDeferredValue:Vi,useTransition:Vi,useMutableSource:Vi,useSyncExternalStore:Vi,useId:Vi,unstable_isNewReconciler:!1},Rue={readContext:ha,useCallback:function(e,t){return Tl().memoizedState=[e,t===void 0?null:t],e},useContext:ha,useEffect:xU,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,xS(4194308,4,AY.bind(null,t,e),n)},useLayoutEffect:function(e,t){return xS(4194308,4,e,t)},useInsertionEffect:function(e,t){return xS(4,2,e,t)},useMemo:function(e,t){var n=Tl();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Tl();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=kue.bind(null,Rr,e),[r.memoizedState,e]},useRef:function(e){var t=Tl();return e={current:e},t.memoizedState=e},useState:bU,useDebugValue:b4,useDeferredValue:function(e){return Tl().memoizedState=e},useTransition:function(){var e=bU(!1),t=e[0];return e=Tue.bind(null,e[1]),Tl().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Rr,i=Tl();if(fr){if(n===void 0)throw Error(Oe(407));n=n()}else{if(n=t(),bi===null)throw Error(Oe(349));fp&30||xY(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,xU(_Y.bind(null,r,o,e),[e]),r.flags|=2048,Yx(9,wY.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Tl(),t=bi.identifierPrefix;if(fr){var n=du,r=uu;n=(r&~(1<<32-il(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=qx++,0Tm||(e.current=N$[Tm],N$[Tm]=null,Tm--)}function er(e,t){Tm++,N$[Tm]=e.current,e.current=t}var Ld={},ro=Vd(Ld),Ho=Vd(!1),up=Ld;function pg(e,t){var n=e.type.contextTypes;if(!n)return Ld;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Wo(e){return e=e.childContextTypes,e!=null}function uE(){ur(Ho),ur(ro)}function uU(e,t,n){if(ro.current!==Ld)throw Error(Oe(168));er(ro,t),er(Ho,n)}function sY(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(Oe(108,sce(e)||"Unknown",i));return Ir({},n,r)}function dE(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ld,up=ro.current,er(ro,e),er(Ho,Ho.current),!0}function dU(e,t,n){var r=e.stateNode;if(!r)throw Error(Oe(169));n?(e=sY(e,t,up),r.__reactInternalMemoizedMergedChildContext=e,ur(Ho),ur(ro),er(ro,e)):ur(Ho),er(Ho,n)}var su=null,FT=!1,BD=!1;function aY(e){su===null?su=[e]:su.push(e)}function Sue(e){FT=!0,aY(e)}function qd(){if(!BD&&su!==null){BD=!0;var e=0,t=Nn;try{var n=su;for(Nn=1;e>=s,i-=s,uu=1<<32-il(t)+i|n<O?(L=k,k=null):L=k.sibling;var N=p(_,k,x[O],E);if(N===null){k===null&&(k=L);break}e&&k&&N.alternate===null&&t(_,k),b=o(N,b,O),R===null?A=N:R.sibling=N,R=N,k=L}if(O===x.length)return n(_,k),fr&&Rh(_,O),A;if(k===null){for(;OO?(L=k,k=null):L=k.sibling;var H=p(_,k,N.value,E);if(H===null){k===null&&(k=L);break}e&&k&&H.alternate===null&&t(_,k),b=o(H,b,O),R===null?A=H:R.sibling=H,R=H,k=L}if(N.done)return n(_,k),fr&&Rh(_,O),A;if(k===null){for(;!N.done;O++,N=x.next())N=h(_,N.value,E),N!==null&&(b=o(N,b,O),R===null?A=N:R.sibling=N,R=N);return fr&&Rh(_,O),A}for(k=r(_,k);!N.done;O++,N=x.next())N=g(k,_,O,N.value,E),N!==null&&(e&&N.alternate!==null&&k.delete(N.key===null?O:N.key),b=o(N,b,O),R===null?A=N:R.sibling=N,R=N);return e&&k.forEach(function(W){return t(_,W)}),fr&&Rh(_,O),A}function S(_,b,x,E){if(typeof x=="object"&&x!==null&&x.type===wm&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case kw:e:{for(var A=x.key,R=b;R!==null;){if(R.key===A){if(A=x.type,A===wm){if(R.tag===7){n(_,R.sibling),b=i(R,x.props.children),b.return=_,_=b;break e}}else if(R.elementType===A||typeof A=="object"&&A!==null&&A.$$typeof===Ku&&yU(A)===R.type){n(_,R.sibling),b=i(R,x.props),b.ref=tb(_,R,x),b.return=_,_=b;break e}n(_,R);break}else t(_,R);R=R.sibling}x.type===wm?(b=Jh(x.props.children,_.mode,E,x.key),b.return=_,_=b):(E=ES(x.type,x.key,x.props,null,_.mode,E),E.ref=tb(_,b,x),E.return=_,_=E)}return s(_);case xm:e:{for(R=x.key;b!==null;){if(b.key===R)if(b.tag===4&&b.stateNode.containerInfo===x.containerInfo&&b.stateNode.implementation===x.implementation){n(_,b.sibling),b=i(b,x.children||[]),b.return=_,_=b;break e}else{n(_,b);break}else t(_,b);b=b.sibling}b=GD(x,_.mode,E),b.return=_,_=b}return s(_);case Ku:return R=x._init,S(_,b,R(x._payload),E)}if(Mb(x))return v(_,b,x,E);if(K0(x))return y(_,b,x,E);$w(_,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,b!==null&&b.tag===6?(n(_,b.sibling),b=i(b,x),b.return=_,_=b):(n(_,b),b=WD(x,_.mode,E),b.return=_,_=b),s(_)):n(_,b)}return S}var gg=mY(!0),gY=mY(!1),W1={},Fl=Vd(W1),Gx=Vd(W1),Vx=Vd(W1);function Gh(e){if(e===W1)throw Error(Oe(174));return e}function f4(e,t){switch(er(Vx,t),er(Gx,e),er(Fl,W1),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:b$(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=b$(t,e)}ur(Fl),er(Fl,t)}function vg(){ur(Fl),ur(Gx),ur(Vx)}function vY(e){Gh(Vx.current);var t=Gh(Fl.current),n=b$(t,e.type);t!==n&&(er(Gx,e),er(Fl,n))}function h4(e){Gx.current===e&&(ur(Fl),ur(Gx))}var Cr=Vd(0);function vE(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var $D=[];function p4(){for(var e=0;e<$D.length;e++)$D[e]._workInProgressVersionPrimary=null;$D.length=0}var bS=Iu.ReactCurrentDispatcher,FD=Iu.ReactCurrentBatchConfig,fp=0,Rr=null,ci=null,gi=null,yE=!1,sx=!1,qx=0,Cue=0;function qi(){throw Error(Oe(321))}function m4(e,t){if(t===null)return!1;for(var n=0;nn?n:4,e(!0);var r=FD.transition;FD.transition={};try{e(!1),t()}finally{Nn=n,FD.transition=r}}function MY(){return pa().memoizedState}function kue(e,t,n){var r=Ed(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},DY(e))LY(t,n);else if(n=dY(e,t,n,r),n!==null){var i=ko();ol(n,e,r,i),NY(n,t,r)}}function Aue(e,t,n){var r=Ed(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(DY(e))LY(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,l=o(s,n);if(i.hasEagerState=!0,i.eagerState=l,hl(l,s)){var c=t.interleaved;c===null?(i.next=i,u4(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}finally{}n=dY(e,t,i,r),n!==null&&(i=ko(),ol(n,e,r,i),NY(n,t,r))}}function DY(e){var t=e.alternate;return e===Rr||t!==null&&t===Rr}function LY(e,t){sx=yE=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function NY(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,K5(e,n)}}var bE={readContext:ha,useCallback:qi,useContext:qi,useEffect:qi,useImperativeHandle:qi,useInsertionEffect:qi,useLayoutEffect:qi,useMemo:qi,useReducer:qi,useRef:qi,useState:qi,useDebugValue:qi,useDeferredValue:qi,useTransition:qi,useMutableSource:qi,useSyncExternalStore:qi,useId:qi,unstable_isNewReconciler:!1},Rue={readContext:ha,useCallback:function(e,t){return Tl().memoizedState=[e,t===void 0?null:t],e},useContext:ha,useEffect:xU,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,xS(4194308,4,AY.bind(null,t,e),n)},useLayoutEffect:function(e,t){return xS(4194308,4,e,t)},useInsertionEffect:function(e,t){return xS(4,2,e,t)},useMemo:function(e,t){var n=Tl();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Tl();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=kue.bind(null,Rr,e),[r.memoizedState,e]},useRef:function(e){var t=Tl();return e={current:e},t.memoizedState=e},useState:bU,useDebugValue:b4,useDeferredValue:function(e){return Tl().memoizedState=e},useTransition:function(){var e=bU(!1),t=e[0];return e=Tue.bind(null,e[1]),Tl().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Rr,i=Tl();if(fr){if(n===void 0)throw Error(Oe(407));n=n()}else{if(n=t(),bi===null)throw Error(Oe(349));fp&30||xY(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,xU(_Y.bind(null,r,o,e),[e]),r.flags|=2048,Yx(9,wY.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Tl(),t=bi.identifierPrefix;if(fr){var n=du,r=uu;n=(r&~(1<<32-il(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=qx++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Ml]=t,e[Wx]=r,GY(e,t,!1,!1),t.stateNode=e;e:{switch(s=w$(n,r),n){case"dialog":cr("cancel",e),cr("close",e),i=r;break;case"iframe":case"object":case"embed":cr("load",e),i=r;break;case"video":case"audio":for(i=0;ibg&&(t.flags|=128,r=!0,nb(o,!1),t.lanes=4194304)}else{if(!r)if(e=vE(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),nb(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!fr)return qi(t),null}else 2*Hr()-o.renderingStartTime>bg&&n!==1073741824&&(t.flags|=128,r=!0,nb(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Hr(),t.sibling=null,n=Cr.current,er(Cr,r?n&1|2:n&1),t):(qi(t),null);case 22:case 23:return C4(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ws&1073741824&&(qi(t),t.subtreeFlags&6&&(t.flags|=8192)):qi(t),null;case 24:return null;case 25:return null}throw Error(Oe(156,t.tag))}function Bue(e,t){switch(o4(t),t.tag){case 1:return Wo(t.type)&&uE(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return vg(),ur(Ho),ur(no),p4(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return h4(t),null;case 13:if(ur(Cr),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Oe(340));mg()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ur(Cr),null;case 4:return vg(),null;case 10:return c4(t.type._context),null;case 22:case 23:return C4(),null;case 24:return null;default:return null}}var zw=!1,Ki=!1,$ue=typeof WeakSet=="function"?WeakSet:Set,st=null;function Im(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Br(e,t,r)}else n.current=null}function Y$(e,t,n){try{n()}catch(r){Br(e,t,r)}}var RU=!1;function Fue(e,t){if(P$=sE,e=QX(),r4(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,l=-1,c=-1,d=0,f=0,h=e,p=null;t:for(;;){for(var g;h!==n||i!==0&&h.nodeType!==3||(l=s+i),h!==o||r!==0&&h.nodeType!==3||(c=s+r),h.nodeType===3&&(s+=h.nodeValue.length),(g=h.firstChild)!==null;)p=h,h=g;for(;;){if(h===e)break t;if(p===n&&++d===i&&(l=s),p===o&&++f===r&&(c=s),(g=h.nextSibling)!==null)break;h=p,p=h.parentNode}h=g}n=l===-1||c===-1?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(O$={focusedElem:e,selectionRange:n},sE=!1,st=t;st!==null;)if(t=st,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,st=e;else for(;st!==null;){t=st;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var y=v.memoizedProps,S=v.memoizedState,_=t.stateNode,b=_.getSnapshotBeforeUpdate(t.elementType===t.type?y:Ga(t.type,y),S);_.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Oe(163))}}catch(E){Br(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,st=e;break}st=t.return}return v=RU,RU=!1,v}function ax(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Y$(t,n,o)}i=i.next}while(i!==r)}}function UT(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function K$(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function XY(e){var t=e.alternate;t!==null&&(e.alternate=null,XY(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ml],delete t[Wx],delete t[L$],delete t[wue],delete t[_ue])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function YY(e){return e.tag===5||e.tag===3||e.tag===4}function IU(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||YY(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Q$(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=cE));else if(r!==4&&(e=e.child,e!==null))for(Q$(e,t,n),e=e.sibling;e!==null;)Q$(e,t,n),e=e.sibling}function J$(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(J$(e,t,n),e=e.sibling;e!==null;)J$(e,t,n),e=e.sibling}var Ni=null,qa=!1;function zu(e,t,n){for(n=n.child;n!==null;)KY(e,t,n),n=n.sibling}function KY(e,t,n){if($l&&typeof $l.onCommitFiberUnmount=="function")try{$l.onCommitFiberUnmount(DT,n)}catch{}switch(n.tag){case 5:Ki||Im(n,t);case 6:var r=Ni,i=qa;Ni=null,zu(e,t,n),Ni=r,qa=i,Ni!==null&&(qa?(e=Ni,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ni.removeChild(n.stateNode));break;case 18:Ni!==null&&(qa?(e=Ni,n=n.stateNode,e.nodeType===8?ND(e.parentNode,n):e.nodeType===1&&ND(e,n),Fx(e)):ND(Ni,n.stateNode));break;case 4:r=Ni,i=qa,Ni=n.stateNode.containerInfo,qa=!0,zu(e,t,n),Ni=r,qa=i;break;case 0:case 11:case 14:case 15:if(!Ki&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&Y$(n,t,s),i=i.next}while(i!==r)}zu(e,t,n);break;case 1:if(!Ki&&(Im(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Br(n,t,l)}zu(e,t,n);break;case 21:zu(e,t,n);break;case 22:n.mode&1?(Ki=(r=Ki)||n.memoizedState!==null,zu(e,t,n),Ki=r):zu(e,t,n);break;default:zu(e,t,n)}}function PU(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new $ue),t.forEach(function(r){var i=Xue.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Ba(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=Hr()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*jue(r/1960))-r,10e?16:e,ud===null)var r=!1;else{if(e=ud,ud=null,_E=0,wn&6)throw Error(Oe(331));var i=wn;for(wn|=4,st=e.current;st!==null;){var o=st,s=o.child;if(st.flags&16){var l=o.deletions;if(l!==null){for(var c=0;cHr()-S4?Qh(e,0):_4|=n),Go(e,t)}function iK(e,t){t===0&&(e.mode&1?(t=Pw,Pw<<=1,!(Pw&130023424)&&(Pw=4194304)):t=1);var n=To();e=_u(e,t),e!==null&&(j1(e,t,n),Go(e,n))}function que(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),iK(e,n)}function Xue(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Oe(314))}r!==null&&r.delete(t),iK(e,n)}var oK;oK=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ho.current)zo=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return zo=!1,Lue(e,t,n);zo=!!(e.flags&131072)}else zo=!1,fr&&t.flags&1048576&&lY(t,hE,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;wS(e,t),e=t.pendingProps;var i=pg(t,no.current);Ym(t,n),i=g4(null,t,r,e,i,n);var o=v4();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Wo(r)?(o=!0,dE(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,d4(t),i.updater=zT,t.stateNode=i,i._reactInternals=t,U$(t,r,e,n),t=G$(null,t,r,!0,o,n)):(t.tag=0,fr&&o&&i4(t),wo(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(wS(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Kue(r),e=Ga(r,e),i){case 0:t=W$(null,t,r,e,n);break e;case 1:t=TU(null,t,r,e,n);break e;case 11:t=EU(null,t,r,e,n);break e;case 14:t=CU(null,t,r,Ga(r.type,e),n);break e}throw Error(Oe(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ga(r,i),W$(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ga(r,i),TU(e,t,r,i,n);case 3:e:{if(UY(t),e===null)throw Error(Oe(387));r=t.pendingProps,o=t.memoizedState,i=o.element,fY(e,t),gE(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=yg(Error(Oe(423)),t),t=kU(e,t,r,n,i);break e}else if(r!==i){i=yg(Error(Oe(424)),t),t=kU(e,t,r,n,i);break e}else for(Ts=wd(t.stateNode.containerInfo.firstChild),Is=t,fr=!0,Ya=null,n=gY(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(mg(),r===i){t=Su(e,t,n);break e}wo(e,t,r,n)}t=t.child}return t;case 5:return vY(t),e===null&&F$(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,M$(r,i)?s=null:o!==null&&M$(r,o)&&(t.flags|=32),jY(e,t),wo(e,t,s,n),t.child;case 6:return e===null&&F$(t),null;case 13:return HY(e,t,n);case 4:return f4(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=gg(t,null,r,n):wo(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ga(r,i),EU(e,t,r,i,n);case 7:return wo(e,t,t.pendingProps,n),t.child;case 8:return wo(e,t,t.pendingProps.children,n),t.child;case 12:return wo(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,er(pE,r._currentValue),r._currentValue=s,o!==null)if(hl(o.value,s)){if(o.children===i.children&&!Ho.current){t=Su(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){s=o.child;for(var c=l.firstContext;c!==null;){if(c.context===r){if(o.tag===1){c=mu(-1,n&-n),c.tag=2;var d=o.updateQueue;if(d!==null){d=d.shared;var f=d.pending;f===null?c.next=c:(c.next=f.next,f.next=c),d.pending=c}}o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),z$(o.return,n,t),l.lanes|=n;break}c=c.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(Oe(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),z$(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}wo(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Ym(t,n),i=ha(i),r=r(i),t.flags|=1,wo(e,t,r,n),t.child;case 14:return r=t.type,i=Ga(r,t.pendingProps),i=Ga(r.type,i),CU(e,t,r,i,n);case 15:return FY(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ga(r,i),wS(e,t),t.tag=1,Wo(r)?(e=!0,dE(t)):e=!1,Ym(t,n),pY(t,r,i),U$(t,r,i,n),G$(null,t,r,!0,e,n);case 19:return WY(e,t,n);case 22:return zY(e,t,n)}throw Error(Oe(156,t.tag))};function sK(e,t){return OX(e,t)}function Yue(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function na(e,t,n,r){return new Yue(e,t,n,r)}function k4(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Kue(e){if(typeof e=="function")return k4(e)?1:0;if(e!=null){if(e=e.$$typeof,e===V5)return 11;if(e===q5)return 14}return 2}function Cd(e,t){var n=e.alternate;return n===null?(n=na(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ES(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")k4(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case wm:return Jh(n.children,i,o,t);case G5:s=8,i|=8;break;case d$:return e=na(12,n,t,i|2),e.elementType=d$,e.lanes=o,e;case f$:return e=na(13,n,t,i),e.elementType=f$,e.lanes=o,e;case h$:return e=na(19,n,t,i),e.elementType=h$,e.lanes=o,e;case mX:return WT(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case hX:s=10;break e;case pX:s=9;break e;case V5:s=11;break e;case q5:s=14;break e;case Ku:s=16,r=null;break e}throw Error(Oe(130,e==null?e:typeof e,""))}return t=na(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Jh(e,t,n,r){return e=na(7,e,r,t),e.lanes=n,e}function WT(e,t,n,r){return e=na(22,e,r,t),e.elementType=mX,e.lanes=n,e.stateNode={isHidden:!1},e}function WD(e,t,n){return e=na(6,e,null,t),e.lanes=n,e}function GD(e,t,n){return t=na(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Que(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=CD(0),this.expirationTimes=CD(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=CD(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function A4(e,t,n,r,i,o,s,l,c){return e=new Que(e,t,n,l,c),t===1?(t=1,o===!0&&(t|=8)):t=0,o=na(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},d4(o),e}function Jue(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(uK)}catch(e){console.error(e)}}uK(),lX.exports=Hs;var Jg=lX.exports;const Om=js(Jg),FU={disabled:!1},CE=de.createContext(null);var rde=function(t){return t.scrollTop},Nb="unmounted",Ph="exited",Oh="entering",sm="entered",rF="exiting",Pu=function(e){MT(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var s=i,l=s&&!s.isMounting?r.enter:r.appear,c;return o.appearStatus=null,r.in?l?(c=Ph,o.appearStatus=Oh):c=sm:r.unmountOnExit||r.mountOnEnter?c=Nb:c=Ph,o.state={status:c},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var s=i.in;return s&&o.status===Nb?{status:Ph}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var s=this.state.status;this.props.in?s!==Oh&&s!==sm&&(o=Oh):(s===Oh||s===sm)&&(o=rF)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,s,l;return o=s=l=i,i!=null&&typeof i!="number"&&(o=i.exit,s=i.enter,l=i.appear!==void 0?i.appear:s),{exit:o,enter:s,appear:l}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===Oh){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:Om.findDOMNode(this);s&&rde(s)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ph&&this.setState({status:Nb})},n.performEnter=function(i){var o=this,s=this.props.enter,l=this.context?this.context.isMounting:i,c=this.props.nodeRef?[l]:[Om.findDOMNode(this),l],d=c[0],f=c[1],h=this.getTimeouts(),p=l?h.appear:h.enter;if(!i&&!s||FU.disabled){this.safeSetState({status:sm},function(){o.props.onEntered(d)});return}this.props.onEnter(d,f),this.safeSetState({status:Oh},function(){o.props.onEntering(d,f),o.onTransitionEnd(p,function(){o.safeSetState({status:sm},function(){o.props.onEntered(d,f)})})})},n.performExit=function(){var i=this,o=this.props.exit,s=this.getTimeouts(),l=this.props.nodeRef?void 0:Om.findDOMNode(this);if(!o||FU.disabled){this.safeSetState({status:Ph},function(){i.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:rF},function(){i.props.onExiting(l),i.onTransitionEnd(s.exit,function(){i.safeSetState({status:Ph},function(){i.props.onExited(l)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,s=!0;return this.nextCallback=function(l){s&&(s=!1,o.nextCallback=null,i(l))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var s=this.props.nodeRef?this.props.nodeRef.current:Om.findDOMNode(this),l=i==null&&!this.props.addEndListener;if(!s||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var c=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],d=c[0],f=c[1];this.props.addEndListener(d,f)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Nb)return null;var o=this.props,s=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var l=Le(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return de.createElement(CE.Provider,{value:null},typeof s=="function"?s(i,l):de.cloneElement(de.Children.only(s),l))},t}(de.Component);Pu.contextType=CE;Pu.propTypes={};function Xp(){}Pu.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Xp,onEntering:Xp,onEntered:Xp,onExit:Xp,onExiting:Xp,onExited:Xp};Pu.UNMOUNTED=Nb;Pu.EXITED=Ph;Pu.ENTERING=Oh;Pu.ENTERED=sm;Pu.EXITING=rF;const O4=Pu;function ide(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M4(e,t){var n=function(o){return t&&I.isValidElement(o)?t(o):o},r=Object.create(null);return e&&I.Children.map(e,function(i){return i}).forEach(function(i){r[i.key]=n(i)}),r}function ode(e,t){e=e||{},t=t||{};function n(f){return f in t?t[f]:e[f]}var r=Object.create(null),i=[];for(var o in e)o in t?i.length&&(r[o]=i,i=[]):i.push(o);var s,l={};for(var c in t){if(r[c])for(s=0;se.scrollTop;function xg(e,t){var n,r;const{timeout:i,easing:o,style:s={}}=e;return{duration:(n=s.transitionDuration)!=null?n:typeof i=="number"?i:i[t.mode]||0,easing:(r=s.transitionTimingFunction)!=null?r:typeof o=="object"?o[t.mode]:o,delay:s.transitionDelay}}function dde(e){return _t("MuiCollapse",e)}Ct("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const fde=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],hde=e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return Et(r,dde,n)},pde=Ee("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.state==="entered"&&t.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&t.hidden]}})(({theme:e,ownerState:t})=>$({height:0,overflow:"hidden",transition:e.transitions.create("height")},t.orientation==="horizontal"&&{height:"auto",width:0,transition:e.transitions.create("width")},t.state==="entered"&&$({height:"auto",overflow:"visible"},t.orientation==="horizontal"&&{width:"auto"}),t.state==="exited"&&!t.in&&t.collapsedSize==="0px"&&{visibility:"hidden"})),mde=Ee("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})(({ownerState:e})=>$({display:"flex",width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),gde=Ee("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})(({ownerState:e})=>$({width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),fK=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiCollapse"}),{addEndListener:i,children:o,className:s,collapsedSize:l="0px",component:c,easing:d,in:f,onEnter:h,onEntered:p,onEntering:g,onExit:v,onExited:y,onExiting:S,orientation:_="vertical",style:b,timeout:x=oX.standard,TransitionComponent:E=O4}=r,A=Le(r,fde),R=$({},r,{orientation:_,collapsedSize:l}),k=hde(R),O=In(),L=I.useRef(),N=I.useRef(null),H=I.useRef(),W=typeof l=="number"?`${l}px`:l,z=_==="horizontal",D=z?"width":"height";I.useEffect(()=>()=>{clearTimeout(L.current)},[]);const F=I.useRef(null),j=mr(n,F),V=Q=>ae=>{if(Q){const le=F.current;ae===void 0?Q(le):Q(le,ae)}},G=()=>N.current?N.current[z?"clientWidth":"clientHeight"]:0,K=V((Q,ae)=>{N.current&&z&&(N.current.style.position="absolute"),Q.style[D]=W,h&&h(Q,ae)}),Y=V((Q,ae)=>{const le=G();N.current&&z&&(N.current.style.position="");const{duration:he,easing:pe}=xg({style:b,timeout:x,easing:d},{mode:"enter"});if(x==="auto"){const ve=O.transitions.getAutoHeightDuration(le);Q.style.transitionDuration=`${ve}ms`,H.current=ve}else Q.style.transitionDuration=typeof he=="string"?he:`${he}ms`;Q.style[D]=`${le}px`,Q.style.transitionTimingFunction=pe,g&&g(Q,ae)}),J=V((Q,ae)=>{Q.style[D]="auto",p&&p(Q,ae)}),ie=V(Q=>{Q.style[D]=`${G()}px`,v&&v(Q)}),ce=V(y),ue=V(Q=>{const ae=G(),{duration:le,easing:he}=xg({style:b,timeout:x,easing:d},{mode:"exit"});if(x==="auto"){const pe=O.transitions.getAutoHeightDuration(ae);Q.style.transitionDuration=`${pe}ms`,H.current=pe}else Q.style.transitionDuration=typeof le=="string"?le:`${le}ms`;Q.style[D]=W,Q.style.transitionTimingFunction=he,S&&S(Q)}),se=Q=>{x==="auto"&&(L.current=setTimeout(Q,H.current||0)),i&&i(F.current,Q)};return C.jsx(E,$({in:f,onEnter:K,onEntered:J,onEntering:Y,onExit:ie,onExited:ce,onExiting:ue,addEndListener:se,nodeRef:F,timeout:x==="auto"?null:x},A,{children:(Q,ae)=>C.jsx(pde,$({as:c,className:Fe(k.root,s,{entered:k.entered,exited:!f&&W==="0px"&&k.hidden}[Q]),style:$({[z?"minWidth":"minHeight"]:W},b),ownerState:$({},R,{state:Q}),ref:j},ae,{children:C.jsx(mde,{ownerState:$({},R,{state:Q}),className:k.wrapper,ref:N,children:C.jsx(gde,{ownerState:$({},R,{state:Q}),className:k.wrapperInner,children:o})})}))}))});fK.muiSupportAuto=!0;const VD=fK;function vde(e){return _t("MuiPaper",e)}Ct("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 yde=["className","component","elevation","square","variant"],bde=e=>{const{square:t,elevation:n,variant:r,classes:i}=e,o={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Et(o,vde,i)},xde=Ee("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return $({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&$({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${_n("#fff",O6(t.elevation))}, ${_n("#fff",O6(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),wde=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiPaper"}),{className:i,component:o="div",elevation:s=1,square:l=!1,variant:c="elevation"}=r,d=Le(r,yde),f=$({},r,{component:o,elevation:s,square:l,variant:c}),h=bde(f);return C.jsx(xde,$({as:o,ownerState:f,className:Fe(h.root,i),ref:n},d))}),Zg=wde;function _de(e){const{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:o,rippleSize:s,in:l,onExited:c,timeout:d}=e,[f,h]=I.useState(!1),p=Fe(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),g={width:s,height:s,top:-(s/2)+o,left:-(s/2)+i},v=Fe(n.child,f&&n.childLeaving,r&&n.childPulsate);return!l&&!f&&h(!0),I.useEffect(()=>{if(!l&&c!=null){const y=setTimeout(c,d);return()=>{clearTimeout(y)}}},[c,l,d]),C.jsx("span",{className:p,style:g,children:C.jsx("span",{className:v})})}const Sde=Ct("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Ks=Sde,Ede=["center","classes","className"];let YT=e=>e,zU,jU,UU,HU;const iF=550,Cde=80,Tde=ec(zU||(zU=YT`
+`+o.stack}return{value:e,source:t,stack:i,digest:null}}function UD(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function H$(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Oue=typeof WeakMap=="function"?WeakMap:Map;function BY(e,t,n){n=mu(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){wE||(wE=!0,Z$=r),H$(e,t)},n}function $Y(e,t,n){n=mu(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){H$(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){H$(e,t),typeof r!="function"&&(Sd===null?Sd=new Set([this]):Sd.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function wU(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Oue;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Vue.bind(null,e,t,n),t.then(e,e))}function _U(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function SU(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=mu(-1,1),t.tag=2,_d(n,t,1))),n.lanes|=1),e)}var Mue=Iu.ReactCurrentOwner,zo=!1;function _o(e,t,n,r){t.child=e===null?gY(t,null,n,r):gg(t,e.child,n,r)}function EU(e,t,n,r,i){n=n.render;var o=t.ref;return Ym(t,i),r=g4(e,t,n,r,o,i),n=v4(),e!==null&&!zo?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Su(e,t,i)):(fr&&n&&i4(t),t.flags|=1,_o(e,t,r,i),t.child)}function CU(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!k4(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,FY(e,t,o,r,i)):(e=ES(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:jx,n(s,r)&&e.ref===t.ref)return Su(e,t,i)}return t.flags|=1,e=Cd(o,r),e.ref=t.ref,e.return=t,t.child=e}function FY(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(jx(o,r)&&e.ref===t.ref)if(zo=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(zo=!0);else return t.lanes=e.lanes,Su(e,t,i)}return W$(e,t,n,r,i)}function zY(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},er(Pm,ws),ws|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,er(Pm,ws),ws|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,er(Pm,ws),ws|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,er(Pm,ws),ws|=r;return _o(e,t,i,n),t.child}function jY(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function W$(e,t,n,r,i){var o=Wo(n)?up:ro.current;return o=pg(t,o),Ym(t,i),n=g4(e,t,n,r,o,i),r=v4(),e!==null&&!zo?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Su(e,t,i)):(fr&&r&&i4(t),t.flags|=1,_o(e,t,n,i),t.child)}function TU(e,t,n,r,i){if(Wo(n)){var o=!0;dE(t)}else o=!1;if(Ym(t,i),t.stateNode===null)wS(e,t),pY(t,n,r),U$(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,l=t.memoizedProps;s.props=l;var c=s.context,d=n.contextType;typeof d=="object"&&d!==null?d=ha(d):(d=Wo(n)?up:ro.current,d=pg(t,d));var f=n.getDerivedStateFromProps,h=typeof f=="function"||typeof s.getSnapshotBeforeUpdate=="function";h||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||c!==d)&&vU(t,s,r,d),Qu=!1;var p=t.memoizedState;s.state=p,gE(t,r,s,i),c=t.memoizedState,l!==r||p!==c||Ho.current||Qu?(typeof f=="function"&&(j$(t,n,f,r),c=t.memoizedState),(l=Qu||gU(t,n,l,r,p,c,d))?(h||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),s.props=r,s.state=c,s.context=d,r=l):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,fY(e,t),l=t.memoizedProps,d=t.type===t.elementType?l:Ga(t.type,l),s.props=d,h=t.pendingProps,p=s.context,c=n.contextType,typeof c=="object"&&c!==null?c=ha(c):(c=Wo(n)?up:ro.current,c=pg(t,c));var g=n.getDerivedStateFromProps;(f=typeof g=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==h||p!==c)&&vU(t,s,r,c),Qu=!1,p=t.memoizedState,s.state=p,gE(t,r,s,i);var v=t.memoizedState;l!==h||p!==v||Ho.current||Qu?(typeof g=="function"&&(j$(t,n,g,r),v=t.memoizedState),(d=Qu||gU(t,n,d,r,p,v,c)||!1)?(f||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,v,c),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,v,c)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),s.props=r,s.state=v,s.context=c,r=d):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return G$(e,t,n,r,o,i)}function G$(e,t,n,r,i,o){jY(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&dU(t,n,!1),Su(e,t,o);r=t.stateNode,Mue.current=t;var l=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=gg(t,e.child,null,o),t.child=gg(t,null,l,o)):_o(e,t,l,o),t.memoizedState=r.state,i&&dU(t,n,!0),t.child}function UY(e){var t=e.stateNode;t.pendingContext?uU(e,t.pendingContext,t.pendingContext!==t.context):t.context&&uU(e,t.context,!1),f4(e,t.containerInfo)}function kU(e,t,n,r,i){return mg(),s4(i),t.flags|=256,_o(e,t,n,r),t.child}var V$={dehydrated:null,treeContext:null,retryLane:0};function q$(e){return{baseLanes:e,cachePool:null,transitions:null}}function HY(e,t,n){var r=t.pendingProps,i=Cr.current,o=!1,s=(t.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(i&2)!==0),l?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),er(Cr,i&1),e===null)return F$(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,o?(r=t.mode,o=t.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=WT(s,r,0,null),e=Jh(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=q$(n),t.memoizedState=V$,e):x4(t,s));if(i=e.memoizedState,i!==null&&(l=i.dehydrated,l!==null))return Due(e,t,s,r,l,i,n);if(o){o=r.fallback,s=t.mode,i=e.child,l=i.sibling;var c={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=Cd(i,c),r.subtreeFlags=i.subtreeFlags&14680064),l!==null?o=Cd(l,o):(o=Jh(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?q$(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=V$,r}return o=e.child,e=o.sibling,r=Cd(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function x4(e,t){return t=WT({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Fw(e,t,n,r){return r!==null&&s4(r),gg(t,e.child,null,n),e=x4(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Due(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=UD(Error(Oe(422))),Fw(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=WT({mode:"visible",children:r.children},i,0,null),o=Jh(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&gg(t,e.child,null,s),t.child.memoizedState=q$(s),t.memoizedState=V$,o);if(!(t.mode&1))return Fw(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var l=r.dgst;return r=l,o=Error(Oe(419)),r=UD(o,r,void 0),Fw(e,t,s,r)}if(l=(s&e.childLanes)!==0,zo||l){if(r=bi,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,_u(e,i),ol(r,e,i,-1))}return T4(),r=UD(Error(Oe(421))),Fw(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=que.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,Ts=wd(i.nextSibling),Is=t,fr=!0,Ya=null,e!==null&&(Qs[Js++]=uu,Qs[Js++]=du,Qs[Js++]=dp,uu=e.id,du=e.overflow,dp=t),t=x4(t,r.children),t.flags|=4096,t)}function AU(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),z$(e.return,t,n)}function HD(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function WY(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(_o(e,t,r.children,n),r=Cr.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&AU(e,n,t);else if(e.tag===19)AU(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(er(Cr,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&vE(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),HD(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&vE(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}HD(t,!0,n,null,o);break;case"together":HD(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function wS(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Su(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),hp|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(Oe(153));if(t.child!==null){for(e=t.child,n=Cd(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Cd(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Lue(e,t,n){switch(t.tag){case 3:UY(t),mg();break;case 5:vY(t);break;case 1:Wo(t.type)&&dE(t);break;case 4:f4(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;er(pE,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(er(Cr,Cr.current&1),t.flags|=128,null):n&t.child.childLanes?HY(e,t,n):(er(Cr,Cr.current&1),e=Su(e,t,n),e!==null?e.sibling:null);er(Cr,Cr.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return WY(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),er(Cr,Cr.current),r)break;return null;case 22:case 23:return t.lanes=0,zY(e,t,n)}return Su(e,t,n)}var GY,X$,VY,qY;GY=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};X$=function(){};VY=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Gh(Fl.current);var o=null;switch(n){case"input":i=m$(e,i),r=m$(e,r),o=[];break;case"select":i=Ir({},i,{value:void 0}),r=Ir({},r,{value:void 0}),o=[];break;case"textarea":i=y$(e,i),r=y$(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=cE)}x$(n,r);var s;n=null;for(d in i)if(!r.hasOwnProperty(d)&&i.hasOwnProperty(d)&&i[d]!=null)if(d==="style"){var l=i[d];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else d!=="dangerouslySetInnerHTML"&&d!=="children"&&d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(Dx.hasOwnProperty(d)?o||(o=[]):(o=o||[]).push(d,null));for(d in r){var c=r[d];if(l=i!=null?i[d]:void 0,r.hasOwnProperty(d)&&c!==l&&(c!=null||l!=null))if(d==="style")if(l){for(s in l)!l.hasOwnProperty(s)||c&&c.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in c)c.hasOwnProperty(s)&&l[s]!==c[s]&&(n||(n={}),n[s]=c[s])}else n||(o||(o=[]),o.push(d,n)),n=c;else d==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,l=l?l.__html:void 0,c!=null&&l!==c&&(o=o||[]).push(d,c)):d==="children"?typeof c!="string"&&typeof c!="number"||(o=o||[]).push(d,""+c):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&(Dx.hasOwnProperty(d)?(c!=null&&d==="onScroll"&&cr("scroll",e),o||l===c||(o=[])):(o=o||[]).push(d,c))}n&&(o=o||[]).push("style",n);var d=o;(t.updateQueue=d)&&(t.flags|=4)}};qY=function(e,t,n,r){n!==r&&(t.flags|=4)};function nb(e,t){if(!fr)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Xi(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Nue(e,t,n){var r=t.pendingProps;switch(o4(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Xi(t),null;case 1:return Wo(t.type)&&uE(),Xi(t),null;case 3:return r=t.stateNode,vg(),ur(Ho),ur(ro),p4(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Bw(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ya!==null&&(nF(Ya),Ya=null))),X$(e,t),Xi(t),null;case 5:h4(t);var i=Gh(Vx.current);if(n=t.type,e!==null&&t.stateNode!=null)VY(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(Oe(166));return Xi(t),null}if(e=Gh(Fl.current),Bw(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Ml]=t,r[Wx]=o,e=(t.mode&1)!==0,n){case"dialog":cr("cancel",r),cr("close",r);break;case"iframe":case"object":case"embed":cr("load",r);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Ml]=t,e[Wx]=r,GY(e,t,!1,!1),t.stateNode=e;e:{switch(s=w$(n,r),n){case"dialog":cr("cancel",e),cr("close",e),i=r;break;case"iframe":case"object":case"embed":cr("load",e),i=r;break;case"video":case"audio":for(i=0;ibg&&(t.flags|=128,r=!0,nb(o,!1),t.lanes=4194304)}else{if(!r)if(e=vE(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),nb(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!fr)return Xi(t),null}else 2*Hr()-o.renderingStartTime>bg&&n!==1073741824&&(t.flags|=128,r=!0,nb(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Hr(),t.sibling=null,n=Cr.current,er(Cr,r?n&1|2:n&1),t):(Xi(t),null);case 22:case 23:return C4(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ws&1073741824&&(Xi(t),t.subtreeFlags&6&&(t.flags|=8192)):Xi(t),null;case 24:return null;case 25:return null}throw Error(Oe(156,t.tag))}function Bue(e,t){switch(o4(t),t.tag){case 1:return Wo(t.type)&&uE(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return vg(),ur(Ho),ur(ro),p4(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return h4(t),null;case 13:if(ur(Cr),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Oe(340));mg()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ur(Cr),null;case 4:return vg(),null;case 10:return c4(t.type._context),null;case 22:case 23:return C4(),null;case 24:return null;default:return null}}var zw=!1,Qi=!1,$ue=typeof WeakSet=="function"?WeakSet:Set,st=null;function Im(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Br(e,t,r)}else n.current=null}function Y$(e,t,n){try{n()}catch(r){Br(e,t,r)}}var RU=!1;function Fue(e,t){if(P$=sE,e=QX(),r4(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,l=-1,c=-1,d=0,f=0,h=e,p=null;t:for(;;){for(var g;h!==n||i!==0&&h.nodeType!==3||(l=s+i),h!==o||r!==0&&h.nodeType!==3||(c=s+r),h.nodeType===3&&(s+=h.nodeValue.length),(g=h.firstChild)!==null;)p=h,h=g;for(;;){if(h===e)break t;if(p===n&&++d===i&&(l=s),p===o&&++f===r&&(c=s),(g=h.nextSibling)!==null)break;h=p,p=h.parentNode}h=g}n=l===-1||c===-1?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(O$={focusedElem:e,selectionRange:n},sE=!1,st=t;st!==null;)if(t=st,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,st=e;else for(;st!==null;){t=st;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var y=v.memoizedProps,S=v.memoizedState,_=t.stateNode,b=_.getSnapshotBeforeUpdate(t.elementType===t.type?y:Ga(t.type,y),S);_.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Oe(163))}}catch(E){Br(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,st=e;break}st=t.return}return v=RU,RU=!1,v}function ax(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Y$(t,n,o)}i=i.next}while(i!==r)}}function UT(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function K$(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function XY(e){var t=e.alternate;t!==null&&(e.alternate=null,XY(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ml],delete t[Wx],delete t[L$],delete t[wue],delete t[_ue])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function YY(e){return e.tag===5||e.tag===3||e.tag===4}function IU(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||YY(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Q$(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=cE));else if(r!==4&&(e=e.child,e!==null))for(Q$(e,t,n),e=e.sibling;e!==null;)Q$(e,t,n),e=e.sibling}function J$(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(J$(e,t,n),e=e.sibling;e!==null;)J$(e,t,n),e=e.sibling}var Ni=null,qa=!1;function zu(e,t,n){for(n=n.child;n!==null;)KY(e,t,n),n=n.sibling}function KY(e,t,n){if($l&&typeof $l.onCommitFiberUnmount=="function")try{$l.onCommitFiberUnmount(DT,n)}catch{}switch(n.tag){case 5:Qi||Im(n,t);case 6:var r=Ni,i=qa;Ni=null,zu(e,t,n),Ni=r,qa=i,Ni!==null&&(qa?(e=Ni,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ni.removeChild(n.stateNode));break;case 18:Ni!==null&&(qa?(e=Ni,n=n.stateNode,e.nodeType===8?ND(e.parentNode,n):e.nodeType===1&&ND(e,n),Fx(e)):ND(Ni,n.stateNode));break;case 4:r=Ni,i=qa,Ni=n.stateNode.containerInfo,qa=!0,zu(e,t,n),Ni=r,qa=i;break;case 0:case 11:case 14:case 15:if(!Qi&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&Y$(n,t,s),i=i.next}while(i!==r)}zu(e,t,n);break;case 1:if(!Qi&&(Im(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Br(n,t,l)}zu(e,t,n);break;case 21:zu(e,t,n);break;case 22:n.mode&1?(Qi=(r=Qi)||n.memoizedState!==null,zu(e,t,n),Qi=r):zu(e,t,n);break;default:zu(e,t,n)}}function PU(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new $ue),t.forEach(function(r){var i=Xue.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Ba(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=Hr()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*jue(r/1960))-r,10e?16:e,ud===null)var r=!1;else{if(e=ud,ud=null,_E=0,wn&6)throw Error(Oe(331));var i=wn;for(wn|=4,st=e.current;st!==null;){var o=st,s=o.child;if(st.flags&16){var l=o.deletions;if(l!==null){for(var c=0;cHr()-S4?Qh(e,0):_4|=n),Go(e,t)}function iK(e,t){t===0&&(e.mode&1?(t=Pw,Pw<<=1,!(Pw&130023424)&&(Pw=4194304)):t=1);var n=ko();e=_u(e,t),e!==null&&(j1(e,t,n),Go(e,n))}function que(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),iK(e,n)}function Xue(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Oe(314))}r!==null&&r.delete(t),iK(e,n)}var oK;oK=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ho.current)zo=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return zo=!1,Lue(e,t,n);zo=!!(e.flags&131072)}else zo=!1,fr&&t.flags&1048576&&lY(t,hE,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;wS(e,t),e=t.pendingProps;var i=pg(t,ro.current);Ym(t,n),i=g4(null,t,r,e,i,n);var o=v4();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Wo(r)?(o=!0,dE(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,d4(t),i.updater=zT,t.stateNode=i,i._reactInternals=t,U$(t,r,e,n),t=G$(null,t,r,!0,o,n)):(t.tag=0,fr&&o&&i4(t),_o(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(wS(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Kue(r),e=Ga(r,e),i){case 0:t=W$(null,t,r,e,n);break e;case 1:t=TU(null,t,r,e,n);break e;case 11:t=EU(null,t,r,e,n);break e;case 14:t=CU(null,t,r,Ga(r.type,e),n);break e}throw Error(Oe(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ga(r,i),W$(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ga(r,i),TU(e,t,r,i,n);case 3:e:{if(UY(t),e===null)throw Error(Oe(387));r=t.pendingProps,o=t.memoizedState,i=o.element,fY(e,t),gE(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=yg(Error(Oe(423)),t),t=kU(e,t,r,n,i);break e}else if(r!==i){i=yg(Error(Oe(424)),t),t=kU(e,t,r,n,i);break e}else for(Ts=wd(t.stateNode.containerInfo.firstChild),Is=t,fr=!0,Ya=null,n=gY(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(mg(),r===i){t=Su(e,t,n);break e}_o(e,t,r,n)}t=t.child}return t;case 5:return vY(t),e===null&&F$(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,M$(r,i)?s=null:o!==null&&M$(r,o)&&(t.flags|=32),jY(e,t),_o(e,t,s,n),t.child;case 6:return e===null&&F$(t),null;case 13:return HY(e,t,n);case 4:return f4(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=gg(t,null,r,n):_o(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ga(r,i),EU(e,t,r,i,n);case 7:return _o(e,t,t.pendingProps,n),t.child;case 8:return _o(e,t,t.pendingProps.children,n),t.child;case 12:return _o(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,er(pE,r._currentValue),r._currentValue=s,o!==null)if(hl(o.value,s)){if(o.children===i.children&&!Ho.current){t=Su(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){s=o.child;for(var c=l.firstContext;c!==null;){if(c.context===r){if(o.tag===1){c=mu(-1,n&-n),c.tag=2;var d=o.updateQueue;if(d!==null){d=d.shared;var f=d.pending;f===null?c.next=c:(c.next=f.next,f.next=c),d.pending=c}}o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),z$(o.return,n,t),l.lanes|=n;break}c=c.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(Oe(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),z$(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}_o(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Ym(t,n),i=ha(i),r=r(i),t.flags|=1,_o(e,t,r,n),t.child;case 14:return r=t.type,i=Ga(r,t.pendingProps),i=Ga(r.type,i),CU(e,t,r,i,n);case 15:return FY(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ga(r,i),wS(e,t),t.tag=1,Wo(r)?(e=!0,dE(t)):e=!1,Ym(t,n),pY(t,r,i),U$(t,r,i,n),G$(null,t,r,!0,e,n);case 19:return WY(e,t,n);case 22:return zY(e,t,n)}throw Error(Oe(156,t.tag))};function sK(e,t){return OX(e,t)}function Yue(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function na(e,t,n,r){return new Yue(e,t,n,r)}function k4(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Kue(e){if(typeof e=="function")return k4(e)?1:0;if(e!=null){if(e=e.$$typeof,e===V5)return 11;if(e===q5)return 14}return 2}function Cd(e,t){var n=e.alternate;return n===null?(n=na(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ES(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")k4(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case wm:return Jh(n.children,i,o,t);case G5:s=8,i|=8;break;case d$:return e=na(12,n,t,i|2),e.elementType=d$,e.lanes=o,e;case f$:return e=na(13,n,t,i),e.elementType=f$,e.lanes=o,e;case h$:return e=na(19,n,t,i),e.elementType=h$,e.lanes=o,e;case mX:return WT(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case hX:s=10;break e;case pX:s=9;break e;case V5:s=11;break e;case q5:s=14;break e;case Ku:s=16,r=null;break e}throw Error(Oe(130,e==null?e:typeof e,""))}return t=na(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Jh(e,t,n,r){return e=na(7,e,r,t),e.lanes=n,e}function WT(e,t,n,r){return e=na(22,e,r,t),e.elementType=mX,e.lanes=n,e.stateNode={isHidden:!1},e}function WD(e,t,n){return e=na(6,e,null,t),e.lanes=n,e}function GD(e,t,n){return t=na(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Que(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=CD(0),this.expirationTimes=CD(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=CD(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function A4(e,t,n,r,i,o,s,l,c){return e=new Que(e,t,n,l,c),t===1?(t=1,o===!0&&(t|=8)):t=0,o=na(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},d4(o),e}function Jue(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(uK)}catch(e){console.error(e)}}uK(),lX.exports=Hs;var Jg=lX.exports;const Om=js(Jg),FU={disabled:!1},CE=de.createContext(null);var rde=function(t){return t.scrollTop},Nb="unmounted",Ph="exited",Oh="entering",sm="entered",rF="exiting",Pu=function(e){MT(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var s=i,l=s&&!s.isMounting?r.enter:r.appear,c;return o.appearStatus=null,r.in?l?(c=Ph,o.appearStatus=Oh):c=sm:r.unmountOnExit||r.mountOnEnter?c=Nb:c=Ph,o.state={status:c},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var s=i.in;return s&&o.status===Nb?{status:Ph}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var s=this.state.status;this.props.in?s!==Oh&&s!==sm&&(o=Oh):(s===Oh||s===sm)&&(o=rF)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,s,l;return o=s=l=i,i!=null&&typeof i!="number"&&(o=i.exit,s=i.enter,l=i.appear!==void 0?i.appear:s),{exit:o,enter:s,appear:l}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===Oh){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:Om.findDOMNode(this);s&&rde(s)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ph&&this.setState({status:Nb})},n.performEnter=function(i){var o=this,s=this.props.enter,l=this.context?this.context.isMounting:i,c=this.props.nodeRef?[l]:[Om.findDOMNode(this),l],d=c[0],f=c[1],h=this.getTimeouts(),p=l?h.appear:h.enter;if(!i&&!s||FU.disabled){this.safeSetState({status:sm},function(){o.props.onEntered(d)});return}this.props.onEnter(d,f),this.safeSetState({status:Oh},function(){o.props.onEntering(d,f),o.onTransitionEnd(p,function(){o.safeSetState({status:sm},function(){o.props.onEntered(d,f)})})})},n.performExit=function(){var i=this,o=this.props.exit,s=this.getTimeouts(),l=this.props.nodeRef?void 0:Om.findDOMNode(this);if(!o||FU.disabled){this.safeSetState({status:Ph},function(){i.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:rF},function(){i.props.onExiting(l),i.onTransitionEnd(s.exit,function(){i.safeSetState({status:Ph},function(){i.props.onExited(l)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,s=!0;return this.nextCallback=function(l){s&&(s=!1,o.nextCallback=null,i(l))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var s=this.props.nodeRef?this.props.nodeRef.current:Om.findDOMNode(this),l=i==null&&!this.props.addEndListener;if(!s||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var c=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],d=c[0],f=c[1];this.props.addEndListener(d,f)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Nb)return null;var o=this.props,s=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var l=Le(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return de.createElement(CE.Provider,{value:null},typeof s=="function"?s(i,l):de.cloneElement(de.Children.only(s),l))},t}(de.Component);Pu.contextType=CE;Pu.propTypes={};function Xp(){}Pu.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Xp,onEntering:Xp,onEntered:Xp,onExit:Xp,onExiting:Xp,onExited:Xp};Pu.UNMOUNTED=Nb;Pu.EXITED=Ph;Pu.ENTERING=Oh;Pu.ENTERED=sm;Pu.EXITING=rF;const O4=Pu;function ide(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M4(e,t){var n=function(o){return t&&I.isValidElement(o)?t(o):o},r=Object.create(null);return e&&I.Children.map(e,function(i){return i}).forEach(function(i){r[i.key]=n(i)}),r}function ode(e,t){e=e||{},t=t||{};function n(f){return f in t?t[f]:e[f]}var r=Object.create(null),i=[];for(var o in e)o in t?i.length&&(r[o]=i,i=[]):i.push(o);var s,l={};for(var c in t){if(r[c])for(s=0;se.scrollTop;function xg(e,t){var n,r;const{timeout:i,easing:o,style:s={}}=e;return{duration:(n=s.transitionDuration)!=null?n:typeof i=="number"?i:i[t.mode]||0,easing:(r=s.transitionTimingFunction)!=null?r:typeof o=="object"?o[t.mode]:o,delay:s.transitionDelay}}function dde(e){return _t("MuiCollapse",e)}Ct("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const fde=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],hde=e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return Et(r,dde,n)},pde=Ee("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.state==="entered"&&t.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&t.hidden]}})(({theme:e,ownerState:t})=>$({height:0,overflow:"hidden",transition:e.transitions.create("height")},t.orientation==="horizontal"&&{height:"auto",width:0,transition:e.transitions.create("width")},t.state==="entered"&&$({height:"auto",overflow:"visible"},t.orientation==="horizontal"&&{width:"auto"}),t.state==="exited"&&!t.in&&t.collapsedSize==="0px"&&{visibility:"hidden"})),mde=Ee("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})(({ownerState:e})=>$({display:"flex",width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),gde=Ee("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})(({ownerState:e})=>$({width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),fK=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiCollapse"}),{addEndListener:i,children:o,className:s,collapsedSize:l="0px",component:c,easing:d,in:f,onEnter:h,onEntered:p,onEntering:g,onExit:v,onExited:y,onExiting:S,orientation:_="vertical",style:b,timeout:x=oX.standard,TransitionComponent:E=O4}=r,A=Le(r,fde),R=$({},r,{orientation:_,collapsedSize:l}),k=hde(R),O=In(),L=I.useRef(),N=I.useRef(null),H=I.useRef(),W=typeof l=="number"?`${l}px`:l,z=_==="horizontal",D=z?"width":"height";I.useEffect(()=>()=>{clearTimeout(L.current)},[]);const F=I.useRef(null),j=mr(n,F),V=Q=>ae=>{if(Q){const le=F.current;ae===void 0?Q(le):Q(le,ae)}},G=()=>N.current?N.current[z?"clientWidth":"clientHeight"]:0,K=V((Q,ae)=>{N.current&&z&&(N.current.style.position="absolute"),Q.style[D]=W,h&&h(Q,ae)}),Y=V((Q,ae)=>{const le=G();N.current&&z&&(N.current.style.position="");const{duration:he,easing:pe}=xg({style:b,timeout:x,easing:d},{mode:"enter"});if(x==="auto"){const ve=O.transitions.getAutoHeightDuration(le);Q.style.transitionDuration=`${ve}ms`,H.current=ve}else Q.style.transitionDuration=typeof he=="string"?he:`${he}ms`;Q.style[D]=`${le}px`,Q.style.transitionTimingFunction=pe,g&&g(Q,ae)}),J=V((Q,ae)=>{Q.style[D]="auto",p&&p(Q,ae)}),ie=V(Q=>{Q.style[D]=`${G()}px`,v&&v(Q)}),ce=V(y),ue=V(Q=>{const ae=G(),{duration:le,easing:he}=xg({style:b,timeout:x,easing:d},{mode:"exit"});if(x==="auto"){const pe=O.transitions.getAutoHeightDuration(ae);Q.style.transitionDuration=`${pe}ms`,H.current=pe}else Q.style.transitionDuration=typeof le=="string"?le:`${le}ms`;Q.style[D]=W,Q.style.transitionTimingFunction=he,S&&S(Q)}),se=Q=>{x==="auto"&&(L.current=setTimeout(Q,H.current||0)),i&&i(F.current,Q)};return C.jsx(E,$({in:f,onEnter:K,onEntered:J,onEntering:Y,onExit:ie,onExited:ce,onExiting:ue,addEndListener:se,nodeRef:F,timeout:x==="auto"?null:x},A,{children:(Q,ae)=>C.jsx(pde,$({as:c,className:Fe(k.root,s,{entered:k.entered,exited:!f&&W==="0px"&&k.hidden}[Q]),style:$({[z?"minWidth":"minHeight"]:W},b),ownerState:$({},R,{state:Q}),ref:j},ae,{children:C.jsx(mde,{ownerState:$({},R,{state:Q}),className:k.wrapper,ref:N,children:C.jsx(gde,{ownerState:$({},R,{state:Q}),className:k.wrapperInner,children:o})})}))}))});fK.muiSupportAuto=!0;const VD=fK;function vde(e){return _t("MuiPaper",e)}Ct("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 yde=["className","component","elevation","square","variant"],bde=e=>{const{square:t,elevation:n,variant:r,classes:i}=e,o={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Et(o,vde,i)},xde=Ee("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return $({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&$({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${_n("#fff",O6(t.elevation))}, ${_n("#fff",O6(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),wde=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiPaper"}),{className:i,component:o="div",elevation:s=1,square:l=!1,variant:c="elevation"}=r,d=Le(r,yde),f=$({},r,{component:o,elevation:s,square:l,variant:c}),h=bde(f);return C.jsx(xde,$({as:o,ownerState:f,className:Fe(h.root,i),ref:n},d))}),Zg=wde;function _de(e){const{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:o,rippleSize:s,in:l,onExited:c,timeout:d}=e,[f,h]=I.useState(!1),p=Fe(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),g={width:s,height:s,top:-(s/2)+o,left:-(s/2)+i},v=Fe(n.child,f&&n.childLeaving,r&&n.childPulsate);return!l&&!f&&h(!0),I.useEffect(()=>{if(!l&&c!=null){const y=setTimeout(c,d);return()=>{clearTimeout(y)}}},[c,l,d]),C.jsx("span",{className:p,style:g,children:C.jsx("span",{className:v})})}const Sde=Ct("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Ks=Sde,Ede=["center","classes","className"];let YT=e=>e,zU,jU,UU,HU;const iF=550,Cde=80,Tde=ec(zU||(zU=YT`
0% {
transform: scale(0);
opacity: 0.1;
@@ -131,7 +131,7 @@ Error generating stack: `+o.message+`
animation-iteration-count: infinite;
animation-delay: 200ms;
}
-`),Ks.rippleVisible,Tde,iF,({theme:e})=>e.transitions.easing.easeInOut,Ks.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Ks.child,Ks.childLeaving,kde,iF,({theme:e})=>e.transitions.easing.easeInOut,Ks.childPulsate,Ade,({theme:e})=>e.transitions.easing.easeInOut),Pde=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:s}=r,l=Le(r,Ede),[c,d]=I.useState([]),f=I.useRef(0),h=I.useRef(null);I.useEffect(()=>{h.current&&(h.current(),h.current=null)},[c]);const p=I.useRef(!1),g=I.useRef(0),v=I.useRef(null),y=I.useRef(null);I.useEffect(()=>()=>{g.current&&clearTimeout(g.current)},[]);const S=I.useCallback(E=>{const{pulsate:A,rippleX:R,rippleY:k,rippleSize:O,cb:L}=E;d(N=>[...N,C.jsx(Ide,{classes:{ripple:Fe(o.ripple,Ks.ripple),rippleVisible:Fe(o.rippleVisible,Ks.rippleVisible),ripplePulsate:Fe(o.ripplePulsate,Ks.ripplePulsate),child:Fe(o.child,Ks.child),childLeaving:Fe(o.childLeaving,Ks.childLeaving),childPulsate:Fe(o.childPulsate,Ks.childPulsate)},timeout:iF,pulsate:A,rippleX:R,rippleY:k,rippleSize:O},f.current)]),f.current+=1,h.current=L},[o]),_=I.useCallback((E={},A={},R=()=>{})=>{const{pulsate:k=!1,center:O=i||A.pulsate,fakeElement:L=!1}=A;if((E==null?void 0:E.type)==="mousedown"&&p.current){p.current=!1;return}(E==null?void 0:E.type)==="touchstart"&&(p.current=!0);const N=L?null:y.current,H=N?N.getBoundingClientRect():{width:0,height:0,left:0,top:0};let W,z,D;if(O||E===void 0||E.clientX===0&&E.clientY===0||!E.clientX&&!E.touches)W=Math.round(H.width/2),z=Math.round(H.height/2);else{const{clientX:F,clientY:j}=E.touches&&E.touches.length>0?E.touches[0]:E;W=Math.round(F-H.left),z=Math.round(j-H.top)}if(O)D=Math.sqrt((2*H.width**2+H.height**2)/3),D%2===0&&(D+=1);else{const F=Math.max(Math.abs((N?N.clientWidth:0)-W),W)*2+2,j=Math.max(Math.abs((N?N.clientHeight:0)-z),z)*2+2;D=Math.sqrt(F**2+j**2)}E!=null&&E.touches?v.current===null&&(v.current=()=>{S({pulsate:k,rippleX:W,rippleY:z,rippleSize:D,cb:R})},g.current=setTimeout(()=>{v.current&&(v.current(),v.current=null)},Cde)):S({pulsate:k,rippleX:W,rippleY:z,rippleSize:D,cb:R})},[i,S]),b=I.useCallback(()=>{_({},{pulsate:!0})},[_]),x=I.useCallback((E,A)=>{if(clearTimeout(g.current),(E==null?void 0:E.type)==="touchend"&&v.current){v.current(),v.current=null,g.current=setTimeout(()=>{x(E,A)});return}v.current=null,d(R=>R.length>0?R.slice(1):R),h.current=A},[]);return I.useImperativeHandle(n,()=>({pulsate:b,start:_,stop:x}),[b,_,x]),C.jsx(Rde,$({className:Fe(Ks.root,o.root,s),ref:y},l,{children:C.jsx(ude,{component:null,exit:!0,children:c})}))}),Ode=Pde;function Mde(e){return _t("MuiButtonBase",e)}const Dde=Ct("MuiButtonBase",["root","disabled","focusVisible"]),Lde=Dde,Nde=["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"],Bde=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,s=Et({root:["root",t&&"disabled",n&&"focusVisible"]},Mde,i);return n&&r&&(s.root+=` ${r}`),s},$de=Ee("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Lde.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Fde=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:o=!1,children:s,className:l,component:c="button",disabled:d=!1,disableRipple:f=!1,disableTouchRipple:h=!1,focusRipple:p=!1,LinkComponent:g="a",onBlur:v,onClick:y,onContextMenu:S,onDragLeave:_,onFocus:b,onFocusVisible:x,onKeyDown:E,onKeyUp:A,onMouseDown:R,onMouseLeave:k,onMouseUp:O,onTouchEnd:L,onTouchMove:N,onTouchStart:H,tabIndex:W=0,TouchRippleProps:z,touchRippleRef:D,type:F}=r,j=Le(r,Nde),V=I.useRef(null),G=I.useRef(null),K=mr(G,D),{isFocusVisibleRef:Y,onFocus:J,onBlur:ie,ref:ce}=x5(),[ue,se]=I.useState(!1);d&&ue&&se(!1),I.useImperativeHandle(i,()=>({focusVisible:()=>{se(!0),V.current.focus()}}),[]);const[Q,ae]=I.useState(!1);I.useEffect(()=>{ae(!0)},[]);const le=Q&&!f&&!d;I.useEffect(()=>{ue&&p&&!f&&Q&&G.current.pulsate()},[f,p,ue,Q]);function he(Ne,Rt,ct=h){return Zi(Ae=>(Rt&&Rt(Ae),!ct&&G.current&&G.current[Ne](Ae),!0))}const pe=he("start",R),ve=he("stop",S),ye=he("stop",_),xe=he("stop",O),me=he("stop",Ne=>{ue&&Ne.preventDefault(),k&&k(Ne)}),be=he("start",H),Qe=he("stop",L),qe=he("stop",N),at=he("stop",Ne=>{ie(Ne),Y.current===!1&&se(!1),v&&v(Ne)},!1),Lt=Zi(Ne=>{V.current||(V.current=Ne.currentTarget),J(Ne),Y.current===!0&&(se(!0),x&&x(Ne)),b&&b(Ne)}),Ie=()=>{const Ne=V.current;return c&&c!=="button"&&!(Ne.tagName==="A"&&Ne.href)},ze=I.useRef(!1),it=Zi(Ne=>{p&&!ze.current&&ue&&G.current&&Ne.key===" "&&(ze.current=!0,G.current.stop(Ne,()=>{G.current.start(Ne)})),Ne.target===Ne.currentTarget&&Ie()&&Ne.key===" "&&Ne.preventDefault(),E&&E(Ne),Ne.target===Ne.currentTarget&&Ie()&&Ne.key==="Enter"&&!d&&(Ne.preventDefault(),y&&y(Ne))}),pt=Zi(Ne=>{p&&Ne.key===" "&&G.current&&ue&&!Ne.defaultPrevented&&(ze.current=!1,G.current.stop(Ne,()=>{G.current.pulsate(Ne)})),A&&A(Ne),y&&Ne.target===Ne.currentTarget&&Ie()&&Ne.key===" "&&!Ne.defaultPrevented&&y(Ne)});let mt=c;mt==="button"&&(j.href||j.to)&&(mt=g);const _e={};mt==="button"?(_e.type=F===void 0?"button":F,_e.disabled=d):(!j.href&&!j.to&&(_e.role="button"),d&&(_e["aria-disabled"]=d));const je=mr(n,ce,V),Ye=$({},r,{centerRipple:o,component:c,disabled:d,disableRipple:f,disableTouchRipple:h,focusRipple:p,tabIndex:W,focusVisible:ue}),$e=Bde(Ye);return C.jsxs($de,$({as:mt,className:Fe($e.root,l),ownerState:Ye,onBlur:at,onClick:y,onContextMenu:ve,onFocus:Lt,onKeyDown:it,onKeyUp:pt,onMouseDown:pe,onMouseLeave:me,onMouseUp:xe,onDragLeave:ye,onTouchEnd:Qe,onTouchMove:qe,onTouchStart:be,ref:je,tabIndex:d?-1:W,type:F},_e,j,{children:[s,le?C.jsx(Ode,$({ref:K,center:o},z)):null]}))}),Ou=Fde;function zde(e){return _t("MuiIconButton",e)}const jde=Ct("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Ude=jde,Hde=["edge","children","className","color","disabled","disableFocusRipple","size"],Wde=e=>{const{classes:t,disabled:n,color:r,edge:i,size:o}=e,s={root:["root",n&&"disabled",r!=="default"&&`color${Me(r)}`,i&&`edge${Me(i)}`,`size${Me(o)}`]};return Et(s,zde,t)},Gde=Ee(Ou,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${Me(n.color)}`],n.edge&&t[`edge${Me(n.edge)}`],t[`size${Me(n.size)}`]]}})(({theme:e,ownerState:t})=>$({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:_n(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var n;const r=(n=(e.vars||e).palette)==null?void 0:n[t.color];return $({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&$({color:r==null?void 0:r.main},!t.disableRipple&&{"&:hover":$({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:_n(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${Ude.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),Vde=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiIconButton"}),{edge:i=!1,children:o,className:s,color:l="default",disabled:c=!1,disableFocusRipple:d=!1,size:f="medium"}=r,h=Le(r,Hde),p=$({},r,{edge:i,color:l,disabled:c,disableFocusRipple:d,size:f}),g=Wde(p);return C.jsx(Gde,$({className:Fe(g.root,s),centerRipple:!0,focusRipple:!d,disabled:c,ref:n,ownerState:p},h,{children:o}))}),mp=Vde;function qde(e){return _t("MuiTypography",e)}Ct("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Xde=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Yde=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:o,classes:s}=e,l={root:["root",o,e.align!=="inherit"&&`align${Me(t)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return Et(l,qde,s)},Kde=Ee("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${Me(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>$({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),WU={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Qde={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Jde=e=>Qde[e]||e,Zde=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiTypography"}),i=Jde(r.color),o=N5($({},r,{color:i})),{align:s="inherit",className:l,component:c,gutterBottom:d=!1,noWrap:f=!1,paragraph:h=!1,variant:p="body1",variantMapping:g=WU}=o,v=Le(o,Xde),y=$({},o,{align:s,color:i,className:l,component:c,gutterBottom:d,noWrap:f,paragraph:h,variant:p,variantMapping:g}),S=c||(h?"p":g[p]||WU[p])||"span",_=Yde(y);return C.jsx(Kde,$({as:S,ref:n,ownerState:y,className:Fe(_.root,l)},v))}),zt=Zde;function efe(e){return _t("MuiAppBar",e)}Ct("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);const tfe=["className","color","enableColorOnDark","position"],nfe=e=>{const{color:t,position:n,classes:r}=e,i={root:["root",`color${Me(t)}`,`position${Me(n)}`]};return Et(i,efe,r)},Hw=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,rfe=Ee(Zg,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Me(n.position)}`],t[`color${Me(n.color)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return $({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&$({},t.color==="default"&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&$({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&$({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:Hw(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:Hw(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:Hw(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:Hw(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),ife=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiAppBar"}),{className:i,color:o="primary",enableColorOnDark:s=!1,position:l="fixed"}=r,c=Le(r,tfe),d=$({},r,{color:o,position:l,enableColorOnDark:s}),f=nfe(d);return C.jsx(rfe,$({square:!0,component:"header",ownerState:d,elevation:4,className:Fe(f.root,i,l==="fixed"&&"mui-fixed"),ref:n},c))}),ofe=ife;function zl(e){return typeof e=="string"}function Bb(e,t,n){return e===void 0||zl(e)?t:$({},t,{ownerState:$({},t.ownerState,n)})}function sfe(e,t,n=(r,i)=>r===i){return e.length===t.length&&e.every((r,i)=>n(r,t[i]))}const afe={disableDefaultClasses:!1},lfe=I.createContext(afe);function cfe(e){const{disableDefaultClasses:t}=I.useContext(lfe);return n=>t?"":e(n)}function TE(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function ufe(e,t,n){return typeof e=="function"?e(t,n):e}function GU(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function dfe(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:o}=e;if(!t){const g=Fe(i==null?void 0:i.className,r==null?void 0:r.className,o,n==null?void 0:n.className),v=$({},n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),y=$({},n,i,r);return g.length>0&&(y.className=g),Object.keys(v).length>0&&(y.style=v),{props:y,internalRef:void 0}}const s=TE($({},i,r)),l=GU(r),c=GU(i),d=t(s),f=Fe(d==null?void 0:d.className,n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),h=$({},d==null?void 0:d.style,n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),p=$({},d,n,c,l);return f.length>0&&(p.className=f),Object.keys(h).length>0&&(p.style=h),{props:p,internalRef:d.ref}}const ffe=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Wr(e){var t;const{elementType:n,externalSlotProps:r,ownerState:i,skipResolvingSlotProps:o=!1}=e,s=Le(e,ffe),l=o?{}:ufe(r,i),{props:c,internalRef:d}=dfe($({},s,{externalSlotProps:l})),f=mr(d,l==null?void 0:l.ref,(t=e.additionalProps)==null?void 0:t.ref);return Bb(n,$({},c,{ref:f}),i)}function VU(e){return e.substring(2).toLowerCase()}function hfe(e,t){return t.documentElement.clientWidth(setTimeout(()=>{c.current=!0},0),()=>{c.current=!1}),[]);const f=mr(t.ref,l),h=Zi(v=>{const y=d.current;d.current=!1;const S=Ar(l.current);if(!c.current||!l.current||"clientX"in v&&hfe(v,S))return;if(s.current){s.current=!1;return}let _;v.composedPath?_=v.composedPath().indexOf(l.current)>-1:_=!S.documentElement.contains(v.target)||l.current.contains(v.target),!_&&(n||!y)&&i(v)}),p=v=>y=>{d.current=!0;const S=t.props[v];S&&S(y)},g={ref:f};return o!==!1&&(g[o]=p(o)),I.useEffect(()=>{if(o!==!1){const v=VU(o),y=Ar(l.current),S=()=>{s.current=!0};return y.addEventListener(v,h),y.addEventListener("touchmove",S),()=>{y.removeEventListener(v,h),y.removeEventListener("touchmove",S)}}},[h,o]),r!==!1&&(g[r]=p(r)),I.useEffect(()=>{if(r!==!1){const v=VU(r),y=Ar(l.current);return y.addEventListener(v,h),()=>{y.removeEventListener(v,h)}}},[h,r]),C.jsx(I.Fragment,{children:I.cloneElement(t,g)})}const mfe=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function gfe(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function vfe(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function yfe(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||vfe(e))}function bfe(e){const t=[],n=[];return Array.from(e.querySelectorAll(mfe)).forEach((r,i)=>{const o=gfe(r);o===-1||!yfe(r)||(o===0?t.push(r):n.push({documentOrder:i,tabIndex:o,node:r}))}),n.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(t)}function xfe(){return!0}function wfe(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:o=bfe,isEnabled:s=xfe,open:l}=e,c=I.useRef(!1),d=I.useRef(null),f=I.useRef(null),h=I.useRef(null),p=I.useRef(null),g=I.useRef(!1),v=I.useRef(null),y=mr(t.ref,v),S=I.useRef(null);I.useEffect(()=>{!l||!v.current||(g.current=!n)},[n,l]),I.useEffect(()=>{if(!l||!v.current)return;const x=Ar(v.current);return v.current.contains(x.activeElement)||(v.current.hasAttribute("tabIndex")||v.current.setAttribute("tabIndex","-1"),g.current&&v.current.focus()),()=>{i||(h.current&&h.current.focus&&(c.current=!0,h.current.focus()),h.current=null)}},[l]),I.useEffect(()=>{if(!l||!v.current)return;const x=Ar(v.current),E=k=>{S.current=k,!(r||!s()||k.key!=="Tab")&&x.activeElement===v.current&&k.shiftKey&&(c.current=!0,f.current&&f.current.focus())},A=()=>{const k=v.current;if(k===null)return;if(!x.hasFocus()||!s()||c.current){c.current=!1;return}if(k.contains(x.activeElement)||r&&x.activeElement!==d.current&&x.activeElement!==f.current)return;if(x.activeElement!==p.current)p.current=null;else if(p.current!==null)return;if(!g.current)return;let O=[];if((x.activeElement===d.current||x.activeElement===f.current)&&(O=o(v.current)),O.length>0){var L,N;const H=!!((L=S.current)!=null&&L.shiftKey&&((N=S.current)==null?void 0:N.key)==="Tab"),W=O[0],z=O[O.length-1];typeof W!="string"&&typeof z!="string"&&(H?z.focus():W.focus())}else k.focus()};x.addEventListener("focusin",A),x.addEventListener("keydown",E,!0);const R=setInterval(()=>{x.activeElement&&x.activeElement.tagName==="BODY"&&A()},50);return()=>{clearInterval(R),x.removeEventListener("focusin",A),x.removeEventListener("keydown",E,!0)}},[n,r,i,s,l,o]);const _=x=>{h.current===null&&(h.current=x.relatedTarget),g.current=!0,p.current=x.target;const E=t.props.onFocus;E&&E(x)},b=x=>{h.current===null&&(h.current=x.relatedTarget),g.current=!0};return C.jsxs(I.Fragment,{children:[C.jsx("div",{tabIndex:l?0:-1,onFocus:b,ref:d,"data-testid":"sentinelStart"}),I.cloneElement(t,{ref:y,onFocus:_}),C.jsx("div",{tabIndex:l?0:-1,onFocus:b,ref:f,"data-testid":"sentinelEnd"})]})}var Vo="top",ma="bottom",ga="right",qo="left",L4="auto",G1=[Vo,ma,ga,qo],wg="start",Qx="end",_fe="clippingParents",hK="viewport",ib="popper",Sfe="reference",qU=G1.reduce(function(e,t){return e.concat([t+"-"+wg,t+"-"+Qx])},[]),pK=[].concat(G1,[L4]).reduce(function(e,t){return e.concat([t,t+"-"+wg,t+"-"+Qx])},[]),Efe="beforeRead",Cfe="read",Tfe="afterRead",kfe="beforeMain",Afe="main",Rfe="afterMain",Ife="beforeWrite",Pfe="write",Ofe="afterWrite",Mfe=[Efe,Cfe,Tfe,kfe,Afe,Rfe,Ife,Pfe,Ofe];function Xl(e){return e?(e.nodeName||"").toLowerCase():null}function Bs(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function gp(e){var t=Bs(e).Element;return e instanceof t||e instanceof Element}function ca(e){var t=Bs(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function N4(e){if(typeof ShadowRoot>"u")return!1;var t=Bs(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Dfe(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!ca(o)||!Xl(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(s){var l=i[s];l===!1?o.removeAttribute(s):o.setAttribute(s,l===!0?"":l)}))})}function Lfe(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},s=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),l=s.reduce(function(c,d){return c[d]="",c},{});!ca(i)||!Xl(i)||(Object.assign(i.style,l),Object.keys(o).forEach(function(c){i.removeAttribute(c)}))})}}const Nfe={name:"applyStyles",enabled:!0,phase:"write",fn:Dfe,effect:Lfe,requires:["computeStyles"]};function jl(e){return e.split("-")[0]}var Zh=Math.max,kE=Math.min,_g=Math.round;function oF(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function mK(){return!/^((?!chrome|android).)*safari/i.test(oF())}function Sg(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&ca(e)&&(i=e.offsetWidth>0&&_g(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&_g(r.height)/e.offsetHeight||1);var s=gp(e)?Bs(e):window,l=s.visualViewport,c=!mK()&&n,d=(r.left+(c&&l?l.offsetLeft:0))/i,f=(r.top+(c&&l?l.offsetTop:0))/o,h=r.width/i,p=r.height/o;return{width:h,height:p,top:f,right:d+h,bottom:f+p,left:d,x:d,y:f}}function B4(e){var t=Sg(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function gK(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&N4(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Eu(e){return Bs(e).getComputedStyle(e)}function Bfe(e){return["table","td","th"].indexOf(Xl(e))>=0}function Xd(e){return((gp(e)?e.ownerDocument:e.document)||window.document).documentElement}function KT(e){return Xl(e)==="html"?e:e.assignedSlot||e.parentNode||(N4(e)?e.host:null)||Xd(e)}function XU(e){return!ca(e)||Eu(e).position==="fixed"?null:e.offsetParent}function $fe(e){var t=/firefox/i.test(oF()),n=/Trident/i.test(oF());if(n&&ca(e)){var r=Eu(e);if(r.position==="fixed")return null}var i=KT(e);for(N4(i)&&(i=i.host);ca(i)&&["html","body"].indexOf(Xl(i))<0;){var o=Eu(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function V1(e){for(var t=Bs(e),n=XU(e);n&&Bfe(n)&&Eu(n).position==="static";)n=XU(n);return n&&(Xl(n)==="html"||Xl(n)==="body"&&Eu(n).position==="static")?t:n||$fe(e)||t}function $4(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ux(e,t,n){return Zh(e,kE(t,n))}function Ffe(e,t,n){var r=ux(e,t,n);return r>n?n:r}function vK(){return{top:0,right:0,bottom:0,left:0}}function yK(e){return Object.assign({},vK(),e)}function bK(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var zfe=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,yK(typeof t!="number"?t:bK(t,G1))};function jfe(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,l=jl(n.placement),c=$4(l),d=[qo,ga].indexOf(l)>=0,f=d?"height":"width";if(!(!o||!s)){var h=zfe(i.padding,n),p=B4(o),g=c==="y"?Vo:qo,v=c==="y"?ma:ga,y=n.rects.reference[f]+n.rects.reference[c]-s[c]-n.rects.popper[f],S=s[c]-n.rects.reference[c],_=V1(o),b=_?c==="y"?_.clientHeight||0:_.clientWidth||0:0,x=y/2-S/2,E=h[g],A=b-p[f]-h[v],R=b/2-p[f]/2+x,k=ux(E,R,A),O=c;n.modifiersData[r]=(t={},t[O]=k,t.centerOffset=k-R,t)}}function Ufe(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||gK(t.elements.popper,i)&&(t.elements.arrow=i))}const Hfe={name:"arrow",enabled:!0,phase:"main",fn:jfe,effect:Ufe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Eg(e){return e.split("-")[1]}var Wfe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Gfe(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:_g(n*i)/i||0,y:_g(r*i)/i||0}}function YU(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,s=e.offsets,l=e.position,c=e.gpuAcceleration,d=e.adaptive,f=e.roundOffsets,h=e.isFixed,p=s.x,g=p===void 0?0:p,v=s.y,y=v===void 0?0:v,S=typeof f=="function"?f({x:g,y}):{x:g,y};g=S.x,y=S.y;var _=s.hasOwnProperty("x"),b=s.hasOwnProperty("y"),x=qo,E=Vo,A=window;if(d){var R=V1(n),k="clientHeight",O="clientWidth";if(R===Bs(n)&&(R=Xd(n),Eu(R).position!=="static"&&l==="absolute"&&(k="scrollHeight",O="scrollWidth")),R=R,i===Vo||(i===qo||i===ga)&&o===Qx){E=ma;var L=h&&R===A&&A.visualViewport?A.visualViewport.height:R[k];y-=L-r.height,y*=c?1:-1}if(i===qo||(i===Vo||i===ma)&&o===Qx){x=ga;var N=h&&R===A&&A.visualViewport?A.visualViewport.width:R[O];g-=N-r.width,g*=c?1:-1}}var H=Object.assign({position:l},d&&Wfe),W=f===!0?Gfe({x:g,y},Bs(n)):{x:g,y};if(g=W.x,y=W.y,c){var z;return Object.assign({},H,(z={},z[E]=b?"0":"",z[x]=_?"0":"",z.transform=(A.devicePixelRatio||1)<=1?"translate("+g+"px, "+y+"px)":"translate3d("+g+"px, "+y+"px, 0)",z))}return Object.assign({},H,(t={},t[E]=b?y+"px":"",t[x]=_?g+"px":"",t.transform="",t))}function Vfe(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,s=o===void 0?!0:o,l=n.roundOffsets,c=l===void 0?!0:l,d={placement:jl(t.placement),variation:Eg(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,YU(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,YU(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const qfe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Vfe,data:{}};var Ww={passive:!0};function Xfe(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,s=r.resize,l=s===void 0?!0:s,c=Bs(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(f){f.addEventListener("scroll",n.update,Ww)}),l&&c.addEventListener("resize",n.update,Ww),function(){o&&d.forEach(function(f){f.removeEventListener("scroll",n.update,Ww)}),l&&c.removeEventListener("resize",n.update,Ww)}}const Yfe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Xfe,data:{}};var Kfe={left:"right",right:"left",bottom:"top",top:"bottom"};function CS(e){return e.replace(/left|right|bottom|top/g,function(t){return Kfe[t]})}var Qfe={start:"end",end:"start"};function KU(e){return e.replace(/start|end/g,function(t){return Qfe[t]})}function F4(e){var t=Bs(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function z4(e){return Sg(Xd(e)).left+F4(e).scrollLeft}function Jfe(e,t){var n=Bs(e),r=Xd(e),i=n.visualViewport,o=r.clientWidth,s=r.clientHeight,l=0,c=0;if(i){o=i.width,s=i.height;var d=mK();(d||!d&&t==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:o,height:s,x:l+z4(e),y:c}}function Zfe(e){var t,n=Xd(e),r=F4(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=Zh(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=Zh(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-r.scrollLeft+z4(e),c=-r.scrollTop;return Eu(i||n).direction==="rtl"&&(l+=Zh(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:l,y:c}}function j4(e){var t=Eu(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function xK(e){return["html","body","#document"].indexOf(Xl(e))>=0?e.ownerDocument.body:ca(e)&&j4(e)?e:xK(KT(e))}function dx(e,t){var n;t===void 0&&(t=[]);var r=xK(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=Bs(r),s=i?[o].concat(o.visualViewport||[],j4(r)?r:[]):r,l=t.concat(s);return i?l:l.concat(dx(KT(s)))}function sF(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ehe(e,t){var n=Sg(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function QU(e,t,n){return t===hK?sF(Jfe(e,n)):gp(t)?ehe(t,n):sF(Zfe(Xd(e)))}function the(e){var t=dx(KT(e)),n=["absolute","fixed"].indexOf(Eu(e).position)>=0,r=n&&ca(e)?V1(e):e;return gp(r)?t.filter(function(i){return gp(i)&&gK(i,r)&&Xl(i)!=="body"}):[]}function nhe(e,t,n,r){var i=t==="clippingParents"?the(e):[].concat(t),o=[].concat(i,[n]),s=o[0],l=o.reduce(function(c,d){var f=QU(e,d,r);return c.top=Zh(f.top,c.top),c.right=kE(f.right,c.right),c.bottom=kE(f.bottom,c.bottom),c.left=Zh(f.left,c.left),c},QU(e,s,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function wK(e){var t=e.reference,n=e.element,r=e.placement,i=r?jl(r):null,o=r?Eg(r):null,s=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,c;switch(i){case Vo:c={x:s,y:t.y-n.height};break;case ma:c={x:s,y:t.y+t.height};break;case ga:c={x:t.x+t.width,y:l};break;case qo:c={x:t.x-n.width,y:l};break;default:c={x:t.x,y:t.y}}var d=i?$4(i):null;if(d!=null){var f=d==="y"?"height":"width";switch(o){case wg:c[d]=c[d]-(t[f]/2-n[f]/2);break;case Qx:c[d]=c[d]+(t[f]/2-n[f]/2);break}}return c}function Jx(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,s=o===void 0?e.strategy:o,l=n.boundary,c=l===void 0?_fe:l,d=n.rootBoundary,f=d===void 0?hK:d,h=n.elementContext,p=h===void 0?ib:h,g=n.altBoundary,v=g===void 0?!1:g,y=n.padding,S=y===void 0?0:y,_=yK(typeof S!="number"?S:bK(S,G1)),b=p===ib?Sfe:ib,x=e.rects.popper,E=e.elements[v?b:p],A=nhe(gp(E)?E:E.contextElement||Xd(e.elements.popper),c,f,s),R=Sg(e.elements.reference),k=wK({reference:R,element:x,strategy:"absolute",placement:i}),O=sF(Object.assign({},x,k)),L=p===ib?O:R,N={top:A.top-L.top+_.top,bottom:L.bottom-A.bottom+_.bottom,left:A.left-L.left+_.left,right:L.right-A.right+_.right},H=e.modifiersData.offset;if(p===ib&&H){var W=H[i];Object.keys(N).forEach(function(z){var D=[ga,ma].indexOf(z)>=0?1:-1,F=[Vo,ma].indexOf(z)>=0?"y":"x";N[z]+=W[F]*D})}return N}function rhe(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,l=n.flipVariations,c=n.allowedAutoPlacements,d=c===void 0?pK:c,f=Eg(r),h=f?l?qU:qU.filter(function(v){return Eg(v)===f}):G1,p=h.filter(function(v){return d.indexOf(v)>=0});p.length===0&&(p=h);var g=p.reduce(function(v,y){return v[y]=Jx(e,{placement:y,boundary:i,rootBoundary:o,padding:s})[jl(y)],v},{});return Object.keys(g).sort(function(v,y){return g[v]-g[y]})}function ihe(e){if(jl(e)===L4)return[];var t=CS(e);return[KU(e),t,KU(t)]}function ohe(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,l=s===void 0?!0:s,c=n.fallbackPlacements,d=n.padding,f=n.boundary,h=n.rootBoundary,p=n.altBoundary,g=n.flipVariations,v=g===void 0?!0:g,y=n.allowedAutoPlacements,S=t.options.placement,_=jl(S),b=_===S,x=c||(b||!v?[CS(S)]:ihe(S)),E=[S].concat(x).reduce(function(ue,se){return ue.concat(jl(se)===L4?rhe(t,{placement:se,boundary:f,rootBoundary:h,padding:d,flipVariations:v,allowedAutoPlacements:y}):se)},[]),A=t.rects.reference,R=t.rects.popper,k=new Map,O=!0,L=E[0],N=0;N=0,F=D?"width":"height",j=Jx(t,{placement:H,boundary:f,rootBoundary:h,altBoundary:p,padding:d}),V=D?z?ga:qo:z?ma:Vo;A[F]>R[F]&&(V=CS(V));var G=CS(V),K=[];if(o&&K.push(j[W]<=0),l&&K.push(j[V]<=0,j[G]<=0),K.every(function(ue){return ue})){L=H,O=!1;break}k.set(H,K)}if(O)for(var Y=v?3:1,J=function(se){var Q=E.find(function(ae){var le=k.get(ae);if(le)return le.slice(0,se).every(function(he){return he})});if(Q)return L=Q,"break"},ie=Y;ie>0;ie--){var ce=J(ie);if(ce==="break")break}t.placement!==L&&(t.modifiersData[r]._skip=!0,t.placement=L,t.reset=!0)}}const she={name:"flip",enabled:!0,phase:"main",fn:ohe,requiresIfExists:["offset"],data:{_skip:!1}};function JU(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ZU(e){return[Vo,ga,ma,qo].some(function(t){return e[t]>=0})}function ahe(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,s=Jx(t,{elementContext:"reference"}),l=Jx(t,{altBoundary:!0}),c=JU(s,r),d=JU(l,i,o),f=ZU(c),h=ZU(d);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:f,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":h})}const lhe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ahe};function che(e,t,n){var r=jl(e),i=[qo,Vo].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=o[0],l=o[1];return s=s||0,l=(l||0)*i,[qo,ga].indexOf(r)>=0?{x:l,y:s}:{x:s,y:l}}function uhe(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,s=pK.reduce(function(f,h){return f[h]=che(h,t.rects,o),f},{}),l=s[t.placement],c=l.x,d=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=d),t.modifiersData[r]=s}const dhe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:uhe};function fhe(e){var t=e.state,n=e.name;t.modifiersData[n]=wK({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const hhe={name:"popperOffsets",enabled:!0,phase:"read",fn:fhe,data:{}};function phe(e){return e==="x"?"y":"x"}function mhe(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,l=s===void 0?!1:s,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,h=n.padding,p=n.tether,g=p===void 0?!0:p,v=n.tetherOffset,y=v===void 0?0:v,S=Jx(t,{boundary:c,rootBoundary:d,padding:h,altBoundary:f}),_=jl(t.placement),b=Eg(t.placement),x=!b,E=$4(_),A=phe(E),R=t.modifiersData.popperOffsets,k=t.rects.reference,O=t.rects.popper,L=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,N=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),H=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,W={x:0,y:0};if(R){if(o){var z,D=E==="y"?Vo:qo,F=E==="y"?ma:ga,j=E==="y"?"height":"width",V=R[E],G=V+S[D],K=V-S[F],Y=g?-O[j]/2:0,J=b===wg?k[j]:O[j],ie=b===wg?-O[j]:-k[j],ce=t.elements.arrow,ue=g&&ce?B4(ce):{width:0,height:0},se=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:vK(),Q=se[D],ae=se[F],le=ux(0,k[j],ue[j]),he=x?k[j]/2-Y-le-Q-N.mainAxis:J-le-Q-N.mainAxis,pe=x?-k[j]/2+Y+le+ae+N.mainAxis:ie+le+ae+N.mainAxis,ve=t.elements.arrow&&V1(t.elements.arrow),ye=ve?E==="y"?ve.clientTop||0:ve.clientLeft||0:0,xe=(z=H==null?void 0:H[E])!=null?z:0,me=V+he-xe-ye,be=V+pe-xe,Qe=ux(g?kE(G,me):G,V,g?Zh(K,be):K);R[E]=Qe,W[E]=Qe-V}if(l){var qe,at=E==="x"?Vo:qo,Lt=E==="x"?ma:ga,Ie=R[A],ze=A==="y"?"height":"width",it=Ie+S[at],pt=Ie-S[Lt],mt=[Vo,qo].indexOf(_)!==-1,_e=(qe=H==null?void 0:H[A])!=null?qe:0,je=mt?it:Ie-k[ze]-O[ze]-_e+N.altAxis,Ye=mt?Ie+k[ze]+O[ze]-_e-N.altAxis:pt,$e=g&&mt?Ffe(je,Ie,Ye):ux(g?je:it,Ie,g?Ye:pt);R[A]=$e,W[A]=$e-Ie}t.modifiersData[r]=W}}const ghe={name:"preventOverflow",enabled:!0,phase:"main",fn:mhe,requiresIfExists:["offset"]};function vhe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function yhe(e){return e===Bs(e)||!ca(e)?F4(e):vhe(e)}function bhe(e){var t=e.getBoundingClientRect(),n=_g(t.width)/e.offsetWidth||1,r=_g(t.height)/e.offsetHeight||1;return n!==1||r!==1}function xhe(e,t,n){n===void 0&&(n=!1);var r=ca(t),i=ca(t)&&bhe(t),o=Xd(t),s=Sg(e,i,n),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((Xl(t)!=="body"||j4(o))&&(l=yhe(t)),ca(t)?(c=Sg(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=z4(o))),{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function whe(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var s=[].concat(o.requires||[],o.requiresIfExists||[]);s.forEach(function(l){if(!n.has(l)){var c=t.get(l);c&&i(c)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function _he(e){var t=whe(e);return Mfe.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function She(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Ehe(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var e8={placement:"bottom",modifiers:[],strategy:"absolute"};function t8(){for(var e=arguments.length,t=new Array(e),n=0;n{o||l(Ahe(i)||document.body)},[i,o]),Ao(()=>{if(s&&!o)return n$(n,s),()=>{n$(n,null)}},[n,s,o]),o){if(I.isValidElement(r)){const d={ref:c};return I.cloneElement(r,d)}return C.jsx(I.Fragment,{children:r})}return C.jsx(I.Fragment,{children:s&&Jg.createPortal(r,s)})});function Rhe(e){return _t("MuiPopper",e)}Ct("MuiPopper",["root"]);const Ihe=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Phe=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Ohe(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function aF(e){return typeof e=="function"?e():e}function Mhe(e){return e.nodeType!==void 0}const Dhe=()=>Et({root:["root"]},cfe(Rhe)),Lhe={},Nhe=I.forwardRef(function(t,n){var r;const{anchorEl:i,children:o,direction:s,disablePortal:l,modifiers:c,open:d,placement:f,popperOptions:h,popperRef:p,slotProps:g={},slots:v={},TransitionProps:y}=t,S=Le(t,Ihe),_=I.useRef(null),b=mr(_,n),x=I.useRef(null),E=mr(x,p),A=I.useRef(E);Ao(()=>{A.current=E},[E]),I.useImperativeHandle(p,()=>x.current,[]);const R=Ohe(f,s),[k,O]=I.useState(R),[L,N]=I.useState(aF(i));I.useEffect(()=>{x.current&&x.current.forceUpdate()}),I.useEffect(()=>{i&&N(aF(i))},[i]),Ao(()=>{if(!L||!d)return;const F=G=>{O(G.placement)};let j=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:G})=>{F(G)}}];c!=null&&(j=j.concat(c)),h&&h.modifiers!=null&&(j=j.concat(h.modifiers));const V=khe(L,_.current,$({placement:R},h,{modifiers:j}));return A.current(V),()=>{V.destroy(),A.current(null)}},[L,l,c,d,h,R]);const H={placement:k};y!==null&&(H.TransitionProps=y);const W=Dhe(),z=(r=v.root)!=null?r:"div",D=Wr({elementType:z,externalSlotProps:g.root,externalForwardedProps:S,additionalProps:{role:"tooltip",ref:b},ownerState:t,className:W.root});return C.jsx(z,$({},D,{children:typeof o=="function"?o(H):o}))}),Bhe=I.forwardRef(function(t,n){const{anchorEl:r,children:i,container:o,direction:s="ltr",disablePortal:l=!1,keepMounted:c=!1,modifiers:d,open:f,placement:h="bottom",popperOptions:p=Lhe,popperRef:g,style:v,transition:y=!1,slotProps:S={},slots:_={}}=t,b=Le(t,Phe),[x,E]=I.useState(!0),A=()=>{E(!1)},R=()=>{E(!0)};if(!c&&!f&&(!y||x))return null;let k;if(o)k=o;else if(r){const N=aF(r);k=N&&Mhe(N)?Ar(N).body:Ar(null).body}const O=!f&&c&&(!y||x)?"none":void 0,L=y?{in:f,onEnter:A,onExited:R}:void 0;return C.jsx(_K,{disablePortal:l,container:k,children:C.jsx(Nhe,$({anchorEl:r,direction:s,disablePortal:l,modifiers:d,ref:n,open:y?!x:f,placement:h,popperOptions:p,popperRef:g,slotProps:S,slots:_},b,{style:$({position:"fixed",top:0,left:0,display:O},v),TransitionProps:L,children:i}))})});function $he(e){const t=Ar(e);return t.body===e?bu(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function fx(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function n8(e){return parseInt(bu(e).getComputedStyle(e).paddingRight,10)||0}function Fhe(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function r8(e,t,n,r,i){const o=[t,n,...r];[].forEach.call(e.children,s=>{const l=o.indexOf(s)===-1,c=!Fhe(s);l&&c&&fx(s,i)})}function qD(e,t){let n=-1;return e.some((r,i)=>t(r)?(n=i,!0):!1),n}function zhe(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if($he(r)){const s=Tq(Ar(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${n8(r)+s}px`;const l=Ar(r).querySelectorAll(".mui-fixed");[].forEach.call(l,c=>{n.push({value:c.style.paddingRight,property:"padding-right",el:c}),c.style.paddingRight=`${n8(c)+s}px`})}let o;if(r.parentNode instanceof DocumentFragment)o=Ar(r).body;else{const s=r.parentElement,l=bu(r);o=(s==null?void 0:s.nodeName)==="HTML"&&l.getComputedStyle(s).overflowY==="scroll"?s:r}n.push({value:o.style.overflow,property:"overflow",el:o},{value:o.style.overflowX,property:"overflow-x",el:o},{value:o.style.overflowY,property:"overflow-y",el:o}),o.style.overflow="hidden"}return()=>{n.forEach(({value:o,el:s,property:l})=>{o?s.style.setProperty(l,o):s.style.removeProperty(l)})}}function jhe(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class Uhe{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&fx(t.modalRef,!1);const i=jhe(n);r8(n,t.mount,t.modalRef,i,!0);const o=qD(this.containers,s=>s.container===n);return o!==-1?(this.containers[o].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:i}),r)}mount(t,n){const r=qD(this.containers,o=>o.modals.indexOf(t)!==-1),i=this.containers[r];i.restore||(i.restore=zhe(i,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const i=qD(this.containers,s=>s.modals.indexOf(t)!==-1),o=this.containers[i];if(o.modals.splice(o.modals.indexOf(t),1),this.modals.splice(r,1),o.modals.length===0)o.restore&&o.restore(),t.modalRef&&fx(t.modalRef,n),r8(o.container,t.mount,t.modalRef,o.hiddenSiblings,!1),this.containers.splice(i,1);else{const s=o.modals[o.modals.length-1];s.modalRef&&fx(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function Hhe(e){return typeof e=="function"?e():e}function Whe(e){return e?e.props.hasOwnProperty("in"):!1}const Ghe=new Uhe;function Vhe(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:i=Ghe,closeAfterTransition:o=!1,onTransitionEnter:s,onTransitionExited:l,children:c,onClose:d,open:f,rootRef:h}=e,p=I.useRef({}),g=I.useRef(null),v=I.useRef(null),y=mr(v,h),[S,_]=I.useState(!f),b=Whe(c);let x=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(x=!1);const E=()=>Ar(g.current),A=()=>(p.current.modalRef=v.current,p.current.mount=g.current,p.current),R=()=>{i.mount(A(),{disableScrollLock:r}),v.current&&(v.current.scrollTop=0)},k=Zi(()=>{const j=Hhe(t)||E().body;i.add(A(),j),v.current&&R()}),O=I.useCallback(()=>i.isTopModal(A()),[i]),L=Zi(j=>{g.current=j,j&&(f&&O()?R():v.current&&fx(v.current,x))}),N=I.useCallback(()=>{i.remove(A(),x)},[x,i]);I.useEffect(()=>()=>{N()},[N]),I.useEffect(()=>{f?k():(!b||!o)&&N()},[f,N,b,o,k]);const H=j=>V=>{var G;(G=j.onKeyDown)==null||G.call(j,V),!(V.key!=="Escape"||!O())&&(n||(V.stopPropagation(),d&&d(V,"escapeKeyDown")))},W=j=>V=>{var G;(G=j.onClick)==null||G.call(j,V),V.target===V.currentTarget&&d&&d(V,"backdropClick")};return{getRootProps:(j={})=>{const V=TE(e);delete V.onTransitionEnter,delete V.onTransitionExited;const G=$({},V,j);return $({role:"presentation"},G,{onKeyDown:H(G),ref:y})},getBackdropProps:(j={})=>{const V=j;return $({"aria-hidden":!0},V,{onClick:W(V),open:f})},getTransitionProps:()=>{const j=()=>{_(!1),s&&s()},V=()=>{_(!0),l&&l(),o&&N()};return{onEnter:i6(j,c==null?void 0:c.props.onEnter),onExited:i6(V,c==null?void 0:c.props.onExited)}},rootRef:y,portalRef:L,isTopModal:O,exited:S,hasTransition:b}}const qhe=2;function SK(e,t){return e-t}function ob(e,t,n){return e==null?t:Math.min(Math.max(t,e),n)}function i8(e,t){var n;const{index:r}=(n=e.reduce((i,o,s)=>{const l=Math.abs(t-o);return i===null||l({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},Jhe=e=>e;let Xw;function XD(){return Xw===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?Xw=CSS.supports("touch-action","none"):Xw=!0),Xw}function Zhe(e){const{"aria-labelledby":t,defaultValue:n,disabled:r=!1,disableSwap:i=!1,isRtl:o=!1,marks:s=!1,max:l=100,min:c=0,name:d,onChange:f,onChangeCommitted:h,orientation:p="horizontal",rootRef:g,scale:v=Jhe,step:y=1,tabIndex:S,value:_}=e,b=I.useRef(),[x,E]=I.useState(-1),[A,R]=I.useState(-1),[k,O]=I.useState(!1),L=I.useRef(0),[N,H]=Ix({controlled:_,default:n??c,name:"Slider"}),W=f&&((_e,je,Ye)=>{const $e=_e.nativeEvent||_e,Ne=new $e.constructor($e.type,$e);Object.defineProperty(Ne,"target",{writable:!0,value:{value:je,name:d}}),f(Ne,je,Ye)}),z=Array.isArray(N);let D=z?N.slice().sort(SK):[N];D=D.map(_e=>ob(_e,c,l));const F=s===!0&&y!==null?[...Array(Math.floor((l-c)/y)+1)].map((_e,je)=>({value:c+y*je})):s||[],j=F.map(_e=>_e.value),{isFocusVisibleRef:V,onBlur:G,onFocus:K,ref:Y}=x5(),[J,ie]=I.useState(-1),ce=I.useRef(),ue=mr(Y,ce),se=mr(g,ue),Q=_e=>je=>{var Ye;const $e=Number(je.currentTarget.getAttribute("data-index"));K(je),V.current===!0&&ie($e),R($e),_e==null||(Ye=_e.onFocus)==null||Ye.call(_e,je)},ae=_e=>je=>{var Ye;G(je),V.current===!1&&ie(-1),R(-1),_e==null||(Ye=_e.onBlur)==null||Ye.call(_e,je)};Ao(()=>{if(r&&ce.current.contains(document.activeElement)){var _e;(_e=document.activeElement)==null||_e.blur()}},[r]),r&&x!==-1&&E(-1),r&&J!==-1&&ie(-1);const le=_e=>je=>{var Ye;(Ye=_e.onChange)==null||Ye.call(_e,je);const $e=Number(je.currentTarget.getAttribute("data-index")),Ne=D[$e],Rt=j.indexOf(Ne);let ct=je.target.valueAsNumber;if(F&&y==null){const Ae=j[j.length-1];ct>Ae?ct=Ae:ct{const{current:Ye}=ce,{width:$e,height:Ne,bottom:Rt,left:ct}=Ye.getBoundingClientRect();let Ae;pe.indexOf("vertical")===0?Ae=(Rt-_e.y)/Ne:Ae=(_e.x-ct)/$e,pe.indexOf("-reverse")!==-1&&(Ae=1-Ae);let ot;if(ot=Xhe(Ae,c,l),y)ot=Khe(ot,y,c);else{const Re=i8(j,ot);ot=j[Re]}ot=ob(ot,c,l);let $t=0;if(z){je?$t=he.current:$t=i8(D,ot),i&&(ot=ob(ot,D[$t-1]||-1/0,D[$t+1]||1/0));const Re=ot;ot=o8({values:D,newValue:ot,index:$t}),i&&je||($t=ot.indexOf(Re),he.current=$t)}return{newValue:ot,activeIndex:$t}},ye=Zi(_e=>{const je=Gw(_e,b);if(!je)return;if(L.current+=1,_e.type==="mousemove"&&_e.buttons===0){xe(_e);return}const{newValue:Ye,activeIndex:$e}=ve({finger:je,move:!0});Vw({sliderRef:ce,activeIndex:$e,setActive:E}),H(Ye),!k&&L.current>qhe&&O(!0),W&&!qw(Ye,N)&&W(_e,Ye,$e)}),xe=Zi(_e=>{const je=Gw(_e,b);if(O(!1),!je)return;const{newValue:Ye}=ve({finger:je,move:!0});E(-1),_e.type==="touchend"&&R(-1),h&&h(_e,Ye),b.current=void 0,be()}),me=Zi(_e=>{if(r)return;XD()||_e.preventDefault();const je=_e.changedTouches[0];je!=null&&(b.current=je.identifier);const Ye=Gw(_e,b);if(Ye!==!1){const{newValue:Ne,activeIndex:Rt}=ve({finger:Ye});Vw({sliderRef:ce,activeIndex:Rt,setActive:E}),H(Ne),W&&!qw(Ne,N)&&W(_e,Ne,Rt)}L.current=0;const $e=Ar(ce.current);$e.addEventListener("touchmove",ye),$e.addEventListener("touchend",xe)}),be=I.useCallback(()=>{const _e=Ar(ce.current);_e.removeEventListener("mousemove",ye),_e.removeEventListener("mouseup",xe),_e.removeEventListener("touchmove",ye),_e.removeEventListener("touchend",xe)},[xe,ye]);I.useEffect(()=>{const{current:_e}=ce;return _e.addEventListener("touchstart",me,{passive:XD()}),()=>{_e.removeEventListener("touchstart",me,{passive:XD()}),be()}},[be,me]),I.useEffect(()=>{r&&be()},[r,be]);const Qe=_e=>je=>{var Ye;if((Ye=_e.onMouseDown)==null||Ye.call(_e,je),r||je.defaultPrevented||je.button!==0)return;je.preventDefault();const $e=Gw(je,b);if($e!==!1){const{newValue:Rt,activeIndex:ct}=ve({finger:$e});Vw({sliderRef:ce,activeIndex:ct,setActive:E}),H(Rt),W&&!qw(Rt,N)&&W(je,Rt,ct)}L.current=0;const Ne=Ar(ce.current);Ne.addEventListener("mousemove",ye),Ne.addEventListener("mouseup",xe)},qe=AE(z?D[0]:c,c,l),at=AE(D[D.length-1],c,l)-qe,Lt=(_e={})=>{const je={onMouseDown:Qe(_e||{})},Ye=$({},_e,je);return $({ref:se},Ye)},Ie=_e=>je=>{var Ye;(Ye=_e.onMouseOver)==null||Ye.call(_e,je);const $e=Number(je.currentTarget.getAttribute("data-index"));R($e)},ze=_e=>je=>{var Ye;(Ye=_e.onMouseLeave)==null||Ye.call(_e,je),R(-1)};return{active:x,axis:pe,axisProps:Qhe,dragging:k,focusedThumbIndex:J,getHiddenInputProps:(_e={})=>{var je;const Ye={onChange:le(_e||{}),onFocus:Q(_e||{}),onBlur:ae(_e||{})},$e=$({},_e,Ye);return $({tabIndex:S,"aria-labelledby":t,"aria-orientation":p,"aria-valuemax":v(l),"aria-valuemin":v(c),name:d,type:"range",min:e.min,max:e.max,step:e.step===null&&e.marks?"any":(je=e.step)!=null?je:void 0,disabled:r},$e,{style:$({},Roe,{direction:o?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:Lt,getThumbProps:(_e={})=>{const je={onMouseOver:Ie(_e||{}),onMouseLeave:ze(_e||{})};return $({},_e,je)},marks:F,open:A,range:z,rootRef:se,trackLeap:at,trackOffset:qe,values:D,getThumbStyle:_e=>({pointerEvents:x!==-1&&x!==_e?"none":void 0})}}function epe(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:i,resumeHideDuration:o}=e,s=I.useRef();I.useEffect(()=>{if(!i)return;function _(b){b.defaultPrevented||(b.key==="Escape"||b.key==="Esc")&&(r==null||r(b,"escapeKeyDown"))}return document.addEventListener("keydown",_),()=>{document.removeEventListener("keydown",_)}},[i,r]);const l=Zi((_,b)=>{r==null||r(_,b)}),c=Zi(_=>{!r||_==null||(clearTimeout(s.current),s.current=setTimeout(()=>{l(null,"timeout")},_))});I.useEffect(()=>(i&&c(t),()=>{clearTimeout(s.current)}),[i,t,c]);const d=_=>{r==null||r(_,"clickaway")},f=()=>{clearTimeout(s.current)},h=I.useCallback(()=>{t!=null&&c(o??t*.5)},[t,o,c]),p=_=>b=>{const x=_.onBlur;x==null||x(b),h()},g=_=>b=>{const x=_.onFocus;x==null||x(b),f()},v=_=>b=>{const x=_.onMouseEnter;x==null||x(b),f()},y=_=>b=>{const x=_.onMouseLeave;x==null||x(b),h()};return I.useEffect(()=>{if(!n&&i)return window.addEventListener("focus",h),window.addEventListener("blur",f),()=>{window.removeEventListener("focus",h),window.removeEventListener("blur",f)}},[n,h,i]),{getRootProps:(_={})=>{const b=$({},TE(e),TE(_));return $({role:"presentation"},_,b,{onBlur:p(b),onFocus:g(b),onMouseEnter:v(b),onMouseLeave:y(b)})},onClickAway:d}}const tpe=["onChange","maxRows","minRows","style","value"];function Yw(e){return parseInt(e,10)||0}const npe={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function s8(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflow}const rpe=I.forwardRef(function(t,n){const{onChange:r,maxRows:i,minRows:o=1,style:s,value:l}=t,c=Le(t,tpe),{current:d}=I.useRef(l!=null),f=I.useRef(null),h=mr(n,f),p=I.useRef(null),g=I.useRef(0),[v,y]=I.useState({outerHeightStyle:0}),S=I.useCallback(()=>{const E=f.current,R=bu(E).getComputedStyle(E);if(R.width==="0px")return{outerHeightStyle:0};const k=p.current;k.style.width=R.width,k.value=E.value||t.placeholder||"x",k.value.slice(-1)===`
+`),Ks.rippleVisible,Tde,iF,({theme:e})=>e.transitions.easing.easeInOut,Ks.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Ks.child,Ks.childLeaving,kde,iF,({theme:e})=>e.transitions.easing.easeInOut,Ks.childPulsate,Ade,({theme:e})=>e.transitions.easing.easeInOut),Pde=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:s}=r,l=Le(r,Ede),[c,d]=I.useState([]),f=I.useRef(0),h=I.useRef(null);I.useEffect(()=>{h.current&&(h.current(),h.current=null)},[c]);const p=I.useRef(!1),g=I.useRef(0),v=I.useRef(null),y=I.useRef(null);I.useEffect(()=>()=>{g.current&&clearTimeout(g.current)},[]);const S=I.useCallback(E=>{const{pulsate:A,rippleX:R,rippleY:k,rippleSize:O,cb:L}=E;d(N=>[...N,C.jsx(Ide,{classes:{ripple:Fe(o.ripple,Ks.ripple),rippleVisible:Fe(o.rippleVisible,Ks.rippleVisible),ripplePulsate:Fe(o.ripplePulsate,Ks.ripplePulsate),child:Fe(o.child,Ks.child),childLeaving:Fe(o.childLeaving,Ks.childLeaving),childPulsate:Fe(o.childPulsate,Ks.childPulsate)},timeout:iF,pulsate:A,rippleX:R,rippleY:k,rippleSize:O},f.current)]),f.current+=1,h.current=L},[o]),_=I.useCallback((E={},A={},R=()=>{})=>{const{pulsate:k=!1,center:O=i||A.pulsate,fakeElement:L=!1}=A;if((E==null?void 0:E.type)==="mousedown"&&p.current){p.current=!1;return}(E==null?void 0:E.type)==="touchstart"&&(p.current=!0);const N=L?null:y.current,H=N?N.getBoundingClientRect():{width:0,height:0,left:0,top:0};let W,z,D;if(O||E===void 0||E.clientX===0&&E.clientY===0||!E.clientX&&!E.touches)W=Math.round(H.width/2),z=Math.round(H.height/2);else{const{clientX:F,clientY:j}=E.touches&&E.touches.length>0?E.touches[0]:E;W=Math.round(F-H.left),z=Math.round(j-H.top)}if(O)D=Math.sqrt((2*H.width**2+H.height**2)/3),D%2===0&&(D+=1);else{const F=Math.max(Math.abs((N?N.clientWidth:0)-W),W)*2+2,j=Math.max(Math.abs((N?N.clientHeight:0)-z),z)*2+2;D=Math.sqrt(F**2+j**2)}E!=null&&E.touches?v.current===null&&(v.current=()=>{S({pulsate:k,rippleX:W,rippleY:z,rippleSize:D,cb:R})},g.current=setTimeout(()=>{v.current&&(v.current(),v.current=null)},Cde)):S({pulsate:k,rippleX:W,rippleY:z,rippleSize:D,cb:R})},[i,S]),b=I.useCallback(()=>{_({},{pulsate:!0})},[_]),x=I.useCallback((E,A)=>{if(clearTimeout(g.current),(E==null?void 0:E.type)==="touchend"&&v.current){v.current(),v.current=null,g.current=setTimeout(()=>{x(E,A)});return}v.current=null,d(R=>R.length>0?R.slice(1):R),h.current=A},[]);return I.useImperativeHandle(n,()=>({pulsate:b,start:_,stop:x}),[b,_,x]),C.jsx(Rde,$({className:Fe(Ks.root,o.root,s),ref:y},l,{children:C.jsx(ude,{component:null,exit:!0,children:c})}))}),Ode=Pde;function Mde(e){return _t("MuiButtonBase",e)}const Dde=Ct("MuiButtonBase",["root","disabled","focusVisible"]),Lde=Dde,Nde=["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"],Bde=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,s=Et({root:["root",t&&"disabled",n&&"focusVisible"]},Mde,i);return n&&r&&(s.root+=` ${r}`),s},$de=Ee("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Lde.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Fde=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:o=!1,children:s,className:l,component:c="button",disabled:d=!1,disableRipple:f=!1,disableTouchRipple:h=!1,focusRipple:p=!1,LinkComponent:g="a",onBlur:v,onClick:y,onContextMenu:S,onDragLeave:_,onFocus:b,onFocusVisible:x,onKeyDown:E,onKeyUp:A,onMouseDown:R,onMouseLeave:k,onMouseUp:O,onTouchEnd:L,onTouchMove:N,onTouchStart:H,tabIndex:W=0,TouchRippleProps:z,touchRippleRef:D,type:F}=r,j=Le(r,Nde),V=I.useRef(null),G=I.useRef(null),K=mr(G,D),{isFocusVisibleRef:Y,onFocus:J,onBlur:ie,ref:ce}=x5(),[ue,se]=I.useState(!1);d&&ue&&se(!1),I.useImperativeHandle(i,()=>({focusVisible:()=>{se(!0),V.current.focus()}}),[]);const[Q,ae]=I.useState(!1);I.useEffect(()=>{ae(!0)},[]);const le=Q&&!f&&!d;I.useEffect(()=>{ue&&p&&!f&&Q&&G.current.pulsate()},[f,p,ue,Q]);function he(Ne,Rt,ct=h){return eo(Ae=>(Rt&&Rt(Ae),!ct&&G.current&&G.current[Ne](Ae),!0))}const pe=he("start",R),ve=he("stop",S),ye=he("stop",_),xe=he("stop",O),me=he("stop",Ne=>{ue&&Ne.preventDefault(),k&&k(Ne)}),be=he("start",H),Qe=he("stop",L),qe=he("stop",N),at=he("stop",Ne=>{ie(Ne),Y.current===!1&&se(!1),v&&v(Ne)},!1),Lt=eo(Ne=>{V.current||(V.current=Ne.currentTarget),J(Ne),Y.current===!0&&(se(!0),x&&x(Ne)),b&&b(Ne)}),Ie=()=>{const Ne=V.current;return c&&c!=="button"&&!(Ne.tagName==="A"&&Ne.href)},ze=I.useRef(!1),it=eo(Ne=>{p&&!ze.current&&ue&&G.current&&Ne.key===" "&&(ze.current=!0,G.current.stop(Ne,()=>{G.current.start(Ne)})),Ne.target===Ne.currentTarget&&Ie()&&Ne.key===" "&&Ne.preventDefault(),E&&E(Ne),Ne.target===Ne.currentTarget&&Ie()&&Ne.key==="Enter"&&!d&&(Ne.preventDefault(),y&&y(Ne))}),pt=eo(Ne=>{p&&Ne.key===" "&&G.current&&ue&&!Ne.defaultPrevented&&(ze.current=!1,G.current.stop(Ne,()=>{G.current.pulsate(Ne)})),A&&A(Ne),y&&Ne.target===Ne.currentTarget&&Ie()&&Ne.key===" "&&!Ne.defaultPrevented&&y(Ne)});let mt=c;mt==="button"&&(j.href||j.to)&&(mt=g);const _e={};mt==="button"?(_e.type=F===void 0?"button":F,_e.disabled=d):(!j.href&&!j.to&&(_e.role="button"),d&&(_e["aria-disabled"]=d));const je=mr(n,ce,V),Ye=$({},r,{centerRipple:o,component:c,disabled:d,disableRipple:f,disableTouchRipple:h,focusRipple:p,tabIndex:W,focusVisible:ue}),$e=Bde(Ye);return C.jsxs($de,$({as:mt,className:Fe($e.root,l),ownerState:Ye,onBlur:at,onClick:y,onContextMenu:ve,onFocus:Lt,onKeyDown:it,onKeyUp:pt,onMouseDown:pe,onMouseLeave:me,onMouseUp:xe,onDragLeave:ye,onTouchEnd:Qe,onTouchMove:qe,onTouchStart:be,ref:je,tabIndex:d?-1:W,type:F},_e,j,{children:[s,le?C.jsx(Ode,$({ref:K,center:o},z)):null]}))}),Ou=Fde;function zde(e){return _t("MuiIconButton",e)}const jde=Ct("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Ude=jde,Hde=["edge","children","className","color","disabled","disableFocusRipple","size"],Wde=e=>{const{classes:t,disabled:n,color:r,edge:i,size:o}=e,s={root:["root",n&&"disabled",r!=="default"&&`color${Me(r)}`,i&&`edge${Me(i)}`,`size${Me(o)}`]};return Et(s,zde,t)},Gde=Ee(Ou,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${Me(n.color)}`],n.edge&&t[`edge${Me(n.edge)}`],t[`size${Me(n.size)}`]]}})(({theme:e,ownerState:t})=>$({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:_n(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var n;const r=(n=(e.vars||e).palette)==null?void 0:n[t.color];return $({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&$({color:r==null?void 0:r.main},!t.disableRipple&&{"&:hover":$({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:_n(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${Ude.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),Vde=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiIconButton"}),{edge:i=!1,children:o,className:s,color:l="default",disabled:c=!1,disableFocusRipple:d=!1,size:f="medium"}=r,h=Le(r,Hde),p=$({},r,{edge:i,color:l,disabled:c,disableFocusRipple:d,size:f}),g=Wde(p);return C.jsx(Gde,$({className:Fe(g.root,s),centerRipple:!0,focusRipple:!d,disabled:c,ref:n,ownerState:p},h,{children:o}))}),mp=Vde;function qde(e){return _t("MuiTypography",e)}Ct("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Xde=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Yde=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:o,classes:s}=e,l={root:["root",o,e.align!=="inherit"&&`align${Me(t)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return Et(l,qde,s)},Kde=Ee("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${Me(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>$({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),WU={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Qde={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Jde=e=>Qde[e]||e,Zde=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiTypography"}),i=Jde(r.color),o=N5($({},r,{color:i})),{align:s="inherit",className:l,component:c,gutterBottom:d=!1,noWrap:f=!1,paragraph:h=!1,variant:p="body1",variantMapping:g=WU}=o,v=Le(o,Xde),y=$({},o,{align:s,color:i,className:l,component:c,gutterBottom:d,noWrap:f,paragraph:h,variant:p,variantMapping:g}),S=c||(h?"p":g[p]||WU[p])||"span",_=Yde(y);return C.jsx(Kde,$({as:S,ref:n,ownerState:y,className:Fe(_.root,l)},v))}),zt=Zde;function efe(e){return _t("MuiAppBar",e)}Ct("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);const tfe=["className","color","enableColorOnDark","position"],nfe=e=>{const{color:t,position:n,classes:r}=e,i={root:["root",`color${Me(t)}`,`position${Me(n)}`]};return Et(i,efe,r)},Hw=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,rfe=Ee(Zg,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Me(n.position)}`],t[`color${Me(n.color)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return $({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&$({},t.color==="default"&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&$({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&$({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:Hw(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:Hw(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:Hw(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:Hw(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),ife=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiAppBar"}),{className:i,color:o="primary",enableColorOnDark:s=!1,position:l="fixed"}=r,c=Le(r,tfe),d=$({},r,{color:o,position:l,enableColorOnDark:s}),f=nfe(d);return C.jsx(rfe,$({square:!0,component:"header",ownerState:d,elevation:4,className:Fe(f.root,i,l==="fixed"&&"mui-fixed"),ref:n},c))}),ofe=ife;function zl(e){return typeof e=="string"}function Bb(e,t,n){return e===void 0||zl(e)?t:$({},t,{ownerState:$({},t.ownerState,n)})}function sfe(e,t,n=(r,i)=>r===i){return e.length===t.length&&e.every((r,i)=>n(r,t[i]))}const afe={disableDefaultClasses:!1},lfe=I.createContext(afe);function cfe(e){const{disableDefaultClasses:t}=I.useContext(lfe);return n=>t?"":e(n)}function TE(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function ufe(e,t,n){return typeof e=="function"?e(t,n):e}function GU(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function dfe(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:o}=e;if(!t){const g=Fe(i==null?void 0:i.className,r==null?void 0:r.className,o,n==null?void 0:n.className),v=$({},n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),y=$({},n,i,r);return g.length>0&&(y.className=g),Object.keys(v).length>0&&(y.style=v),{props:y,internalRef:void 0}}const s=TE($({},i,r)),l=GU(r),c=GU(i),d=t(s),f=Fe(d==null?void 0:d.className,n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),h=$({},d==null?void 0:d.style,n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),p=$({},d,n,c,l);return f.length>0&&(p.className=f),Object.keys(h).length>0&&(p.style=h),{props:p,internalRef:d.ref}}const ffe=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Wr(e){var t;const{elementType:n,externalSlotProps:r,ownerState:i,skipResolvingSlotProps:o=!1}=e,s=Le(e,ffe),l=o?{}:ufe(r,i),{props:c,internalRef:d}=dfe($({},s,{externalSlotProps:l})),f=mr(d,l==null?void 0:l.ref,(t=e.additionalProps)==null?void 0:t.ref);return Bb(n,$({},c,{ref:f}),i)}function VU(e){return e.substring(2).toLowerCase()}function hfe(e,t){return t.documentElement.clientWidth(setTimeout(()=>{c.current=!0},0),()=>{c.current=!1}),[]);const f=mr(t.ref,l),h=eo(v=>{const y=d.current;d.current=!1;const S=Ar(l.current);if(!c.current||!l.current||"clientX"in v&&hfe(v,S))return;if(s.current){s.current=!1;return}let _;v.composedPath?_=v.composedPath().indexOf(l.current)>-1:_=!S.documentElement.contains(v.target)||l.current.contains(v.target),!_&&(n||!y)&&i(v)}),p=v=>y=>{d.current=!0;const S=t.props[v];S&&S(y)},g={ref:f};return o!==!1&&(g[o]=p(o)),I.useEffect(()=>{if(o!==!1){const v=VU(o),y=Ar(l.current),S=()=>{s.current=!0};return y.addEventListener(v,h),y.addEventListener("touchmove",S),()=>{y.removeEventListener(v,h),y.removeEventListener("touchmove",S)}}},[h,o]),r!==!1&&(g[r]=p(r)),I.useEffect(()=>{if(r!==!1){const v=VU(r),y=Ar(l.current);return y.addEventListener(v,h),()=>{y.removeEventListener(v,h)}}},[h,r]),C.jsx(I.Fragment,{children:I.cloneElement(t,g)})}const mfe=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function gfe(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function vfe(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function yfe(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||vfe(e))}function bfe(e){const t=[],n=[];return Array.from(e.querySelectorAll(mfe)).forEach((r,i)=>{const o=gfe(r);o===-1||!yfe(r)||(o===0?t.push(r):n.push({documentOrder:i,tabIndex:o,node:r}))}),n.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(t)}function xfe(){return!0}function wfe(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:o=bfe,isEnabled:s=xfe,open:l}=e,c=I.useRef(!1),d=I.useRef(null),f=I.useRef(null),h=I.useRef(null),p=I.useRef(null),g=I.useRef(!1),v=I.useRef(null),y=mr(t.ref,v),S=I.useRef(null);I.useEffect(()=>{!l||!v.current||(g.current=!n)},[n,l]),I.useEffect(()=>{if(!l||!v.current)return;const x=Ar(v.current);return v.current.contains(x.activeElement)||(v.current.hasAttribute("tabIndex")||v.current.setAttribute("tabIndex","-1"),g.current&&v.current.focus()),()=>{i||(h.current&&h.current.focus&&(c.current=!0,h.current.focus()),h.current=null)}},[l]),I.useEffect(()=>{if(!l||!v.current)return;const x=Ar(v.current),E=k=>{S.current=k,!(r||!s()||k.key!=="Tab")&&x.activeElement===v.current&&k.shiftKey&&(c.current=!0,f.current&&f.current.focus())},A=()=>{const k=v.current;if(k===null)return;if(!x.hasFocus()||!s()||c.current){c.current=!1;return}if(k.contains(x.activeElement)||r&&x.activeElement!==d.current&&x.activeElement!==f.current)return;if(x.activeElement!==p.current)p.current=null;else if(p.current!==null)return;if(!g.current)return;let O=[];if((x.activeElement===d.current||x.activeElement===f.current)&&(O=o(v.current)),O.length>0){var L,N;const H=!!((L=S.current)!=null&&L.shiftKey&&((N=S.current)==null?void 0:N.key)==="Tab"),W=O[0],z=O[O.length-1];typeof W!="string"&&typeof z!="string"&&(H?z.focus():W.focus())}else k.focus()};x.addEventListener("focusin",A),x.addEventListener("keydown",E,!0);const R=setInterval(()=>{x.activeElement&&x.activeElement.tagName==="BODY"&&A()},50);return()=>{clearInterval(R),x.removeEventListener("focusin",A),x.removeEventListener("keydown",E,!0)}},[n,r,i,s,l,o]);const _=x=>{h.current===null&&(h.current=x.relatedTarget),g.current=!0,p.current=x.target;const E=t.props.onFocus;E&&E(x)},b=x=>{h.current===null&&(h.current=x.relatedTarget),g.current=!0};return C.jsxs(I.Fragment,{children:[C.jsx("div",{tabIndex:l?0:-1,onFocus:b,ref:d,"data-testid":"sentinelStart"}),I.cloneElement(t,{ref:y,onFocus:_}),C.jsx("div",{tabIndex:l?0:-1,onFocus:b,ref:f,"data-testid":"sentinelEnd"})]})}var Vo="top",ma="bottom",ga="right",qo="left",L4="auto",G1=[Vo,ma,ga,qo],wg="start",Qx="end",_fe="clippingParents",hK="viewport",ib="popper",Sfe="reference",qU=G1.reduce(function(e,t){return e.concat([t+"-"+wg,t+"-"+Qx])},[]),pK=[].concat(G1,[L4]).reduce(function(e,t){return e.concat([t,t+"-"+wg,t+"-"+Qx])},[]),Efe="beforeRead",Cfe="read",Tfe="afterRead",kfe="beforeMain",Afe="main",Rfe="afterMain",Ife="beforeWrite",Pfe="write",Ofe="afterWrite",Mfe=[Efe,Cfe,Tfe,kfe,Afe,Rfe,Ife,Pfe,Ofe];function Xl(e){return e?(e.nodeName||"").toLowerCase():null}function Bs(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function gp(e){var t=Bs(e).Element;return e instanceof t||e instanceof Element}function ca(e){var t=Bs(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function N4(e){if(typeof ShadowRoot>"u")return!1;var t=Bs(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Dfe(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!ca(o)||!Xl(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(s){var l=i[s];l===!1?o.removeAttribute(s):o.setAttribute(s,l===!0?"":l)}))})}function Lfe(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},s=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),l=s.reduce(function(c,d){return c[d]="",c},{});!ca(i)||!Xl(i)||(Object.assign(i.style,l),Object.keys(o).forEach(function(c){i.removeAttribute(c)}))})}}const Nfe={name:"applyStyles",enabled:!0,phase:"write",fn:Dfe,effect:Lfe,requires:["computeStyles"]};function jl(e){return e.split("-")[0]}var Zh=Math.max,kE=Math.min,_g=Math.round;function oF(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function mK(){return!/^((?!chrome|android).)*safari/i.test(oF())}function Sg(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&ca(e)&&(i=e.offsetWidth>0&&_g(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&_g(r.height)/e.offsetHeight||1);var s=gp(e)?Bs(e):window,l=s.visualViewport,c=!mK()&&n,d=(r.left+(c&&l?l.offsetLeft:0))/i,f=(r.top+(c&&l?l.offsetTop:0))/o,h=r.width/i,p=r.height/o;return{width:h,height:p,top:f,right:d+h,bottom:f+p,left:d,x:d,y:f}}function B4(e){var t=Sg(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function gK(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&N4(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Eu(e){return Bs(e).getComputedStyle(e)}function Bfe(e){return["table","td","th"].indexOf(Xl(e))>=0}function Xd(e){return((gp(e)?e.ownerDocument:e.document)||window.document).documentElement}function KT(e){return Xl(e)==="html"?e:e.assignedSlot||e.parentNode||(N4(e)?e.host:null)||Xd(e)}function XU(e){return!ca(e)||Eu(e).position==="fixed"?null:e.offsetParent}function $fe(e){var t=/firefox/i.test(oF()),n=/Trident/i.test(oF());if(n&&ca(e)){var r=Eu(e);if(r.position==="fixed")return null}var i=KT(e);for(N4(i)&&(i=i.host);ca(i)&&["html","body"].indexOf(Xl(i))<0;){var o=Eu(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function V1(e){for(var t=Bs(e),n=XU(e);n&&Bfe(n)&&Eu(n).position==="static";)n=XU(n);return n&&(Xl(n)==="html"||Xl(n)==="body"&&Eu(n).position==="static")?t:n||$fe(e)||t}function $4(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ux(e,t,n){return Zh(e,kE(t,n))}function Ffe(e,t,n){var r=ux(e,t,n);return r>n?n:r}function vK(){return{top:0,right:0,bottom:0,left:0}}function yK(e){return Object.assign({},vK(),e)}function bK(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var zfe=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,yK(typeof t!="number"?t:bK(t,G1))};function jfe(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,l=jl(n.placement),c=$4(l),d=[qo,ga].indexOf(l)>=0,f=d?"height":"width";if(!(!o||!s)){var h=zfe(i.padding,n),p=B4(o),g=c==="y"?Vo:qo,v=c==="y"?ma:ga,y=n.rects.reference[f]+n.rects.reference[c]-s[c]-n.rects.popper[f],S=s[c]-n.rects.reference[c],_=V1(o),b=_?c==="y"?_.clientHeight||0:_.clientWidth||0:0,x=y/2-S/2,E=h[g],A=b-p[f]-h[v],R=b/2-p[f]/2+x,k=ux(E,R,A),O=c;n.modifiersData[r]=(t={},t[O]=k,t.centerOffset=k-R,t)}}function Ufe(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||gK(t.elements.popper,i)&&(t.elements.arrow=i))}const Hfe={name:"arrow",enabled:!0,phase:"main",fn:jfe,effect:Ufe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Eg(e){return e.split("-")[1]}var Wfe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Gfe(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:_g(n*i)/i||0,y:_g(r*i)/i||0}}function YU(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,s=e.offsets,l=e.position,c=e.gpuAcceleration,d=e.adaptive,f=e.roundOffsets,h=e.isFixed,p=s.x,g=p===void 0?0:p,v=s.y,y=v===void 0?0:v,S=typeof f=="function"?f({x:g,y}):{x:g,y};g=S.x,y=S.y;var _=s.hasOwnProperty("x"),b=s.hasOwnProperty("y"),x=qo,E=Vo,A=window;if(d){var R=V1(n),k="clientHeight",O="clientWidth";if(R===Bs(n)&&(R=Xd(n),Eu(R).position!=="static"&&l==="absolute"&&(k="scrollHeight",O="scrollWidth")),R=R,i===Vo||(i===qo||i===ga)&&o===Qx){E=ma;var L=h&&R===A&&A.visualViewport?A.visualViewport.height:R[k];y-=L-r.height,y*=c?1:-1}if(i===qo||(i===Vo||i===ma)&&o===Qx){x=ga;var N=h&&R===A&&A.visualViewport?A.visualViewport.width:R[O];g-=N-r.width,g*=c?1:-1}}var H=Object.assign({position:l},d&&Wfe),W=f===!0?Gfe({x:g,y},Bs(n)):{x:g,y};if(g=W.x,y=W.y,c){var z;return Object.assign({},H,(z={},z[E]=b?"0":"",z[x]=_?"0":"",z.transform=(A.devicePixelRatio||1)<=1?"translate("+g+"px, "+y+"px)":"translate3d("+g+"px, "+y+"px, 0)",z))}return Object.assign({},H,(t={},t[E]=b?y+"px":"",t[x]=_?g+"px":"",t.transform="",t))}function Vfe(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,s=o===void 0?!0:o,l=n.roundOffsets,c=l===void 0?!0:l,d={placement:jl(t.placement),variation:Eg(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,YU(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,YU(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const qfe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Vfe,data:{}};var Ww={passive:!0};function Xfe(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,s=r.resize,l=s===void 0?!0:s,c=Bs(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(f){f.addEventListener("scroll",n.update,Ww)}),l&&c.addEventListener("resize",n.update,Ww),function(){o&&d.forEach(function(f){f.removeEventListener("scroll",n.update,Ww)}),l&&c.removeEventListener("resize",n.update,Ww)}}const Yfe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Xfe,data:{}};var Kfe={left:"right",right:"left",bottom:"top",top:"bottom"};function CS(e){return e.replace(/left|right|bottom|top/g,function(t){return Kfe[t]})}var Qfe={start:"end",end:"start"};function KU(e){return e.replace(/start|end/g,function(t){return Qfe[t]})}function F4(e){var t=Bs(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function z4(e){return Sg(Xd(e)).left+F4(e).scrollLeft}function Jfe(e,t){var n=Bs(e),r=Xd(e),i=n.visualViewport,o=r.clientWidth,s=r.clientHeight,l=0,c=0;if(i){o=i.width,s=i.height;var d=mK();(d||!d&&t==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:o,height:s,x:l+z4(e),y:c}}function Zfe(e){var t,n=Xd(e),r=F4(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=Zh(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=Zh(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-r.scrollLeft+z4(e),c=-r.scrollTop;return Eu(i||n).direction==="rtl"&&(l+=Zh(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:l,y:c}}function j4(e){var t=Eu(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function xK(e){return["html","body","#document"].indexOf(Xl(e))>=0?e.ownerDocument.body:ca(e)&&j4(e)?e:xK(KT(e))}function dx(e,t){var n;t===void 0&&(t=[]);var r=xK(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=Bs(r),s=i?[o].concat(o.visualViewport||[],j4(r)?r:[]):r,l=t.concat(s);return i?l:l.concat(dx(KT(s)))}function sF(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ehe(e,t){var n=Sg(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function QU(e,t,n){return t===hK?sF(Jfe(e,n)):gp(t)?ehe(t,n):sF(Zfe(Xd(e)))}function the(e){var t=dx(KT(e)),n=["absolute","fixed"].indexOf(Eu(e).position)>=0,r=n&&ca(e)?V1(e):e;return gp(r)?t.filter(function(i){return gp(i)&&gK(i,r)&&Xl(i)!=="body"}):[]}function nhe(e,t,n,r){var i=t==="clippingParents"?the(e):[].concat(t),o=[].concat(i,[n]),s=o[0],l=o.reduce(function(c,d){var f=QU(e,d,r);return c.top=Zh(f.top,c.top),c.right=kE(f.right,c.right),c.bottom=kE(f.bottom,c.bottom),c.left=Zh(f.left,c.left),c},QU(e,s,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function wK(e){var t=e.reference,n=e.element,r=e.placement,i=r?jl(r):null,o=r?Eg(r):null,s=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,c;switch(i){case Vo:c={x:s,y:t.y-n.height};break;case ma:c={x:s,y:t.y+t.height};break;case ga:c={x:t.x+t.width,y:l};break;case qo:c={x:t.x-n.width,y:l};break;default:c={x:t.x,y:t.y}}var d=i?$4(i):null;if(d!=null){var f=d==="y"?"height":"width";switch(o){case wg:c[d]=c[d]-(t[f]/2-n[f]/2);break;case Qx:c[d]=c[d]+(t[f]/2-n[f]/2);break}}return c}function Jx(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,s=o===void 0?e.strategy:o,l=n.boundary,c=l===void 0?_fe:l,d=n.rootBoundary,f=d===void 0?hK:d,h=n.elementContext,p=h===void 0?ib:h,g=n.altBoundary,v=g===void 0?!1:g,y=n.padding,S=y===void 0?0:y,_=yK(typeof S!="number"?S:bK(S,G1)),b=p===ib?Sfe:ib,x=e.rects.popper,E=e.elements[v?b:p],A=nhe(gp(E)?E:E.contextElement||Xd(e.elements.popper),c,f,s),R=Sg(e.elements.reference),k=wK({reference:R,element:x,strategy:"absolute",placement:i}),O=sF(Object.assign({},x,k)),L=p===ib?O:R,N={top:A.top-L.top+_.top,bottom:L.bottom-A.bottom+_.bottom,left:A.left-L.left+_.left,right:L.right-A.right+_.right},H=e.modifiersData.offset;if(p===ib&&H){var W=H[i];Object.keys(N).forEach(function(z){var D=[ga,ma].indexOf(z)>=0?1:-1,F=[Vo,ma].indexOf(z)>=0?"y":"x";N[z]+=W[F]*D})}return N}function rhe(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,l=n.flipVariations,c=n.allowedAutoPlacements,d=c===void 0?pK:c,f=Eg(r),h=f?l?qU:qU.filter(function(v){return Eg(v)===f}):G1,p=h.filter(function(v){return d.indexOf(v)>=0});p.length===0&&(p=h);var g=p.reduce(function(v,y){return v[y]=Jx(e,{placement:y,boundary:i,rootBoundary:o,padding:s})[jl(y)],v},{});return Object.keys(g).sort(function(v,y){return g[v]-g[y]})}function ihe(e){if(jl(e)===L4)return[];var t=CS(e);return[KU(e),t,KU(t)]}function ohe(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,l=s===void 0?!0:s,c=n.fallbackPlacements,d=n.padding,f=n.boundary,h=n.rootBoundary,p=n.altBoundary,g=n.flipVariations,v=g===void 0?!0:g,y=n.allowedAutoPlacements,S=t.options.placement,_=jl(S),b=_===S,x=c||(b||!v?[CS(S)]:ihe(S)),E=[S].concat(x).reduce(function(ue,se){return ue.concat(jl(se)===L4?rhe(t,{placement:se,boundary:f,rootBoundary:h,padding:d,flipVariations:v,allowedAutoPlacements:y}):se)},[]),A=t.rects.reference,R=t.rects.popper,k=new Map,O=!0,L=E[0],N=0;N=0,F=D?"width":"height",j=Jx(t,{placement:H,boundary:f,rootBoundary:h,altBoundary:p,padding:d}),V=D?z?ga:qo:z?ma:Vo;A[F]>R[F]&&(V=CS(V));var G=CS(V),K=[];if(o&&K.push(j[W]<=0),l&&K.push(j[V]<=0,j[G]<=0),K.every(function(ue){return ue})){L=H,O=!1;break}k.set(H,K)}if(O)for(var Y=v?3:1,J=function(se){var Q=E.find(function(ae){var le=k.get(ae);if(le)return le.slice(0,se).every(function(he){return he})});if(Q)return L=Q,"break"},ie=Y;ie>0;ie--){var ce=J(ie);if(ce==="break")break}t.placement!==L&&(t.modifiersData[r]._skip=!0,t.placement=L,t.reset=!0)}}const she={name:"flip",enabled:!0,phase:"main",fn:ohe,requiresIfExists:["offset"],data:{_skip:!1}};function JU(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ZU(e){return[Vo,ga,ma,qo].some(function(t){return e[t]>=0})}function ahe(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,s=Jx(t,{elementContext:"reference"}),l=Jx(t,{altBoundary:!0}),c=JU(s,r),d=JU(l,i,o),f=ZU(c),h=ZU(d);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:f,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":h})}const lhe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ahe};function che(e,t,n){var r=jl(e),i=[qo,Vo].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=o[0],l=o[1];return s=s||0,l=(l||0)*i,[qo,ga].indexOf(r)>=0?{x:l,y:s}:{x:s,y:l}}function uhe(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,s=pK.reduce(function(f,h){return f[h]=che(h,t.rects,o),f},{}),l=s[t.placement],c=l.x,d=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=d),t.modifiersData[r]=s}const dhe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:uhe};function fhe(e){var t=e.state,n=e.name;t.modifiersData[n]=wK({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const hhe={name:"popperOffsets",enabled:!0,phase:"read",fn:fhe,data:{}};function phe(e){return e==="x"?"y":"x"}function mhe(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,l=s===void 0?!1:s,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,h=n.padding,p=n.tether,g=p===void 0?!0:p,v=n.tetherOffset,y=v===void 0?0:v,S=Jx(t,{boundary:c,rootBoundary:d,padding:h,altBoundary:f}),_=jl(t.placement),b=Eg(t.placement),x=!b,E=$4(_),A=phe(E),R=t.modifiersData.popperOffsets,k=t.rects.reference,O=t.rects.popper,L=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,N=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),H=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,W={x:0,y:0};if(R){if(o){var z,D=E==="y"?Vo:qo,F=E==="y"?ma:ga,j=E==="y"?"height":"width",V=R[E],G=V+S[D],K=V-S[F],Y=g?-O[j]/2:0,J=b===wg?k[j]:O[j],ie=b===wg?-O[j]:-k[j],ce=t.elements.arrow,ue=g&&ce?B4(ce):{width:0,height:0},se=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:vK(),Q=se[D],ae=se[F],le=ux(0,k[j],ue[j]),he=x?k[j]/2-Y-le-Q-N.mainAxis:J-le-Q-N.mainAxis,pe=x?-k[j]/2+Y+le+ae+N.mainAxis:ie+le+ae+N.mainAxis,ve=t.elements.arrow&&V1(t.elements.arrow),ye=ve?E==="y"?ve.clientTop||0:ve.clientLeft||0:0,xe=(z=H==null?void 0:H[E])!=null?z:0,me=V+he-xe-ye,be=V+pe-xe,Qe=ux(g?kE(G,me):G,V,g?Zh(K,be):K);R[E]=Qe,W[E]=Qe-V}if(l){var qe,at=E==="x"?Vo:qo,Lt=E==="x"?ma:ga,Ie=R[A],ze=A==="y"?"height":"width",it=Ie+S[at],pt=Ie-S[Lt],mt=[Vo,qo].indexOf(_)!==-1,_e=(qe=H==null?void 0:H[A])!=null?qe:0,je=mt?it:Ie-k[ze]-O[ze]-_e+N.altAxis,Ye=mt?Ie+k[ze]+O[ze]-_e-N.altAxis:pt,$e=g&&mt?Ffe(je,Ie,Ye):ux(g?je:it,Ie,g?Ye:pt);R[A]=$e,W[A]=$e-Ie}t.modifiersData[r]=W}}const ghe={name:"preventOverflow",enabled:!0,phase:"main",fn:mhe,requiresIfExists:["offset"]};function vhe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function yhe(e){return e===Bs(e)||!ca(e)?F4(e):vhe(e)}function bhe(e){var t=e.getBoundingClientRect(),n=_g(t.width)/e.offsetWidth||1,r=_g(t.height)/e.offsetHeight||1;return n!==1||r!==1}function xhe(e,t,n){n===void 0&&(n=!1);var r=ca(t),i=ca(t)&&bhe(t),o=Xd(t),s=Sg(e,i,n),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((Xl(t)!=="body"||j4(o))&&(l=yhe(t)),ca(t)?(c=Sg(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=z4(o))),{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function whe(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var s=[].concat(o.requires||[],o.requiresIfExists||[]);s.forEach(function(l){if(!n.has(l)){var c=t.get(l);c&&i(c)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function _he(e){var t=whe(e);return Mfe.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function She(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Ehe(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var e8={placement:"bottom",modifiers:[],strategy:"absolute"};function t8(){for(var e=arguments.length,t=new Array(e),n=0;n{o||l(Ahe(i)||document.body)},[i,o]),Ao(()=>{if(s&&!o)return n$(n,s),()=>{n$(n,null)}},[n,s,o]),o){if(I.isValidElement(r)){const d={ref:c};return I.cloneElement(r,d)}return C.jsx(I.Fragment,{children:r})}return C.jsx(I.Fragment,{children:s&&Jg.createPortal(r,s)})});function Rhe(e){return _t("MuiPopper",e)}Ct("MuiPopper",["root"]);const Ihe=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Phe=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Ohe(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function aF(e){return typeof e=="function"?e():e}function Mhe(e){return e.nodeType!==void 0}const Dhe=()=>Et({root:["root"]},cfe(Rhe)),Lhe={},Nhe=I.forwardRef(function(t,n){var r;const{anchorEl:i,children:o,direction:s,disablePortal:l,modifiers:c,open:d,placement:f,popperOptions:h,popperRef:p,slotProps:g={},slots:v={},TransitionProps:y}=t,S=Le(t,Ihe),_=I.useRef(null),b=mr(_,n),x=I.useRef(null),E=mr(x,p),A=I.useRef(E);Ao(()=>{A.current=E},[E]),I.useImperativeHandle(p,()=>x.current,[]);const R=Ohe(f,s),[k,O]=I.useState(R),[L,N]=I.useState(aF(i));I.useEffect(()=>{x.current&&x.current.forceUpdate()}),I.useEffect(()=>{i&&N(aF(i))},[i]),Ao(()=>{if(!L||!d)return;const F=G=>{O(G.placement)};let j=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:G})=>{F(G)}}];c!=null&&(j=j.concat(c)),h&&h.modifiers!=null&&(j=j.concat(h.modifiers));const V=khe(L,_.current,$({placement:R},h,{modifiers:j}));return A.current(V),()=>{V.destroy(),A.current(null)}},[L,l,c,d,h,R]);const H={placement:k};y!==null&&(H.TransitionProps=y);const W=Dhe(),z=(r=v.root)!=null?r:"div",D=Wr({elementType:z,externalSlotProps:g.root,externalForwardedProps:S,additionalProps:{role:"tooltip",ref:b},ownerState:t,className:W.root});return C.jsx(z,$({},D,{children:typeof o=="function"?o(H):o}))}),Bhe=I.forwardRef(function(t,n){const{anchorEl:r,children:i,container:o,direction:s="ltr",disablePortal:l=!1,keepMounted:c=!1,modifiers:d,open:f,placement:h="bottom",popperOptions:p=Lhe,popperRef:g,style:v,transition:y=!1,slotProps:S={},slots:_={}}=t,b=Le(t,Phe),[x,E]=I.useState(!0),A=()=>{E(!1)},R=()=>{E(!0)};if(!c&&!f&&(!y||x))return null;let k;if(o)k=o;else if(r){const N=aF(r);k=N&&Mhe(N)?Ar(N).body:Ar(null).body}const O=!f&&c&&(!y||x)?"none":void 0,L=y?{in:f,onEnter:A,onExited:R}:void 0;return C.jsx(_K,{disablePortal:l,container:k,children:C.jsx(Nhe,$({anchorEl:r,direction:s,disablePortal:l,modifiers:d,ref:n,open:y?!x:f,placement:h,popperOptions:p,popperRef:g,slotProps:S,slots:_},b,{style:$({position:"fixed",top:0,left:0,display:O},v),TransitionProps:L,children:i}))})});function $he(e){const t=Ar(e);return t.body===e?bu(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function fx(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function n8(e){return parseInt(bu(e).getComputedStyle(e).paddingRight,10)||0}function Fhe(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function r8(e,t,n,r,i){const o=[t,n,...r];[].forEach.call(e.children,s=>{const l=o.indexOf(s)===-1,c=!Fhe(s);l&&c&&fx(s,i)})}function qD(e,t){let n=-1;return e.some((r,i)=>t(r)?(n=i,!0):!1),n}function zhe(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if($he(r)){const s=Tq(Ar(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${n8(r)+s}px`;const l=Ar(r).querySelectorAll(".mui-fixed");[].forEach.call(l,c=>{n.push({value:c.style.paddingRight,property:"padding-right",el:c}),c.style.paddingRight=`${n8(c)+s}px`})}let o;if(r.parentNode instanceof DocumentFragment)o=Ar(r).body;else{const s=r.parentElement,l=bu(r);o=(s==null?void 0:s.nodeName)==="HTML"&&l.getComputedStyle(s).overflowY==="scroll"?s:r}n.push({value:o.style.overflow,property:"overflow",el:o},{value:o.style.overflowX,property:"overflow-x",el:o},{value:o.style.overflowY,property:"overflow-y",el:o}),o.style.overflow="hidden"}return()=>{n.forEach(({value:o,el:s,property:l})=>{o?s.style.setProperty(l,o):s.style.removeProperty(l)})}}function jhe(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class Uhe{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&fx(t.modalRef,!1);const i=jhe(n);r8(n,t.mount,t.modalRef,i,!0);const o=qD(this.containers,s=>s.container===n);return o!==-1?(this.containers[o].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:i}),r)}mount(t,n){const r=qD(this.containers,o=>o.modals.indexOf(t)!==-1),i=this.containers[r];i.restore||(i.restore=zhe(i,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const i=qD(this.containers,s=>s.modals.indexOf(t)!==-1),o=this.containers[i];if(o.modals.splice(o.modals.indexOf(t),1),this.modals.splice(r,1),o.modals.length===0)o.restore&&o.restore(),t.modalRef&&fx(t.modalRef,n),r8(o.container,t.mount,t.modalRef,o.hiddenSiblings,!1),this.containers.splice(i,1);else{const s=o.modals[o.modals.length-1];s.modalRef&&fx(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function Hhe(e){return typeof e=="function"?e():e}function Whe(e){return e?e.props.hasOwnProperty("in"):!1}const Ghe=new Uhe;function Vhe(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:i=Ghe,closeAfterTransition:o=!1,onTransitionEnter:s,onTransitionExited:l,children:c,onClose:d,open:f,rootRef:h}=e,p=I.useRef({}),g=I.useRef(null),v=I.useRef(null),y=mr(v,h),[S,_]=I.useState(!f),b=Whe(c);let x=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(x=!1);const E=()=>Ar(g.current),A=()=>(p.current.modalRef=v.current,p.current.mount=g.current,p.current),R=()=>{i.mount(A(),{disableScrollLock:r}),v.current&&(v.current.scrollTop=0)},k=eo(()=>{const j=Hhe(t)||E().body;i.add(A(),j),v.current&&R()}),O=I.useCallback(()=>i.isTopModal(A()),[i]),L=eo(j=>{g.current=j,j&&(f&&O()?R():v.current&&fx(v.current,x))}),N=I.useCallback(()=>{i.remove(A(),x)},[x,i]);I.useEffect(()=>()=>{N()},[N]),I.useEffect(()=>{f?k():(!b||!o)&&N()},[f,N,b,o,k]);const H=j=>V=>{var G;(G=j.onKeyDown)==null||G.call(j,V),!(V.key!=="Escape"||!O())&&(n||(V.stopPropagation(),d&&d(V,"escapeKeyDown")))},W=j=>V=>{var G;(G=j.onClick)==null||G.call(j,V),V.target===V.currentTarget&&d&&d(V,"backdropClick")};return{getRootProps:(j={})=>{const V=TE(e);delete V.onTransitionEnter,delete V.onTransitionExited;const G=$({},V,j);return $({role:"presentation"},G,{onKeyDown:H(G),ref:y})},getBackdropProps:(j={})=>{const V=j;return $({"aria-hidden":!0},V,{onClick:W(V),open:f})},getTransitionProps:()=>{const j=()=>{_(!1),s&&s()},V=()=>{_(!0),l&&l(),o&&N()};return{onEnter:i6(j,c==null?void 0:c.props.onEnter),onExited:i6(V,c==null?void 0:c.props.onExited)}},rootRef:y,portalRef:L,isTopModal:O,exited:S,hasTransition:b}}const qhe=2;function SK(e,t){return e-t}function ob(e,t,n){return e==null?t:Math.min(Math.max(t,e),n)}function i8(e,t){var n;const{index:r}=(n=e.reduce((i,o,s)=>{const l=Math.abs(t-o);return i===null||l({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},Jhe=e=>e;let Xw;function XD(){return Xw===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?Xw=CSS.supports("touch-action","none"):Xw=!0),Xw}function Zhe(e){const{"aria-labelledby":t,defaultValue:n,disabled:r=!1,disableSwap:i=!1,isRtl:o=!1,marks:s=!1,max:l=100,min:c=0,name:d,onChange:f,onChangeCommitted:h,orientation:p="horizontal",rootRef:g,scale:v=Jhe,step:y=1,tabIndex:S,value:_}=e,b=I.useRef(),[x,E]=I.useState(-1),[A,R]=I.useState(-1),[k,O]=I.useState(!1),L=I.useRef(0),[N,H]=Ix({controlled:_,default:n??c,name:"Slider"}),W=f&&((_e,je,Ye)=>{const $e=_e.nativeEvent||_e,Ne=new $e.constructor($e.type,$e);Object.defineProperty(Ne,"target",{writable:!0,value:{value:je,name:d}}),f(Ne,je,Ye)}),z=Array.isArray(N);let D=z?N.slice().sort(SK):[N];D=D.map(_e=>ob(_e,c,l));const F=s===!0&&y!==null?[...Array(Math.floor((l-c)/y)+1)].map((_e,je)=>({value:c+y*je})):s||[],j=F.map(_e=>_e.value),{isFocusVisibleRef:V,onBlur:G,onFocus:K,ref:Y}=x5(),[J,ie]=I.useState(-1),ce=I.useRef(),ue=mr(Y,ce),se=mr(g,ue),Q=_e=>je=>{var Ye;const $e=Number(je.currentTarget.getAttribute("data-index"));K(je),V.current===!0&&ie($e),R($e),_e==null||(Ye=_e.onFocus)==null||Ye.call(_e,je)},ae=_e=>je=>{var Ye;G(je),V.current===!1&&ie(-1),R(-1),_e==null||(Ye=_e.onBlur)==null||Ye.call(_e,je)};Ao(()=>{if(r&&ce.current.contains(document.activeElement)){var _e;(_e=document.activeElement)==null||_e.blur()}},[r]),r&&x!==-1&&E(-1),r&&J!==-1&&ie(-1);const le=_e=>je=>{var Ye;(Ye=_e.onChange)==null||Ye.call(_e,je);const $e=Number(je.currentTarget.getAttribute("data-index")),Ne=D[$e],Rt=j.indexOf(Ne);let ct=je.target.valueAsNumber;if(F&&y==null){const Ae=j[j.length-1];ct>Ae?ct=Ae:ct{const{current:Ye}=ce,{width:$e,height:Ne,bottom:Rt,left:ct}=Ye.getBoundingClientRect();let Ae;pe.indexOf("vertical")===0?Ae=(Rt-_e.y)/Ne:Ae=(_e.x-ct)/$e,pe.indexOf("-reverse")!==-1&&(Ae=1-Ae);let ot;if(ot=Xhe(Ae,c,l),y)ot=Khe(ot,y,c);else{const Re=i8(j,ot);ot=j[Re]}ot=ob(ot,c,l);let $t=0;if(z){je?$t=he.current:$t=i8(D,ot),i&&(ot=ob(ot,D[$t-1]||-1/0,D[$t+1]||1/0));const Re=ot;ot=o8({values:D,newValue:ot,index:$t}),i&&je||($t=ot.indexOf(Re),he.current=$t)}return{newValue:ot,activeIndex:$t}},ye=eo(_e=>{const je=Gw(_e,b);if(!je)return;if(L.current+=1,_e.type==="mousemove"&&_e.buttons===0){xe(_e);return}const{newValue:Ye,activeIndex:$e}=ve({finger:je,move:!0});Vw({sliderRef:ce,activeIndex:$e,setActive:E}),H(Ye),!k&&L.current>qhe&&O(!0),W&&!qw(Ye,N)&&W(_e,Ye,$e)}),xe=eo(_e=>{const je=Gw(_e,b);if(O(!1),!je)return;const{newValue:Ye}=ve({finger:je,move:!0});E(-1),_e.type==="touchend"&&R(-1),h&&h(_e,Ye),b.current=void 0,be()}),me=eo(_e=>{if(r)return;XD()||_e.preventDefault();const je=_e.changedTouches[0];je!=null&&(b.current=je.identifier);const Ye=Gw(_e,b);if(Ye!==!1){const{newValue:Ne,activeIndex:Rt}=ve({finger:Ye});Vw({sliderRef:ce,activeIndex:Rt,setActive:E}),H(Ne),W&&!qw(Ne,N)&&W(_e,Ne,Rt)}L.current=0;const $e=Ar(ce.current);$e.addEventListener("touchmove",ye),$e.addEventListener("touchend",xe)}),be=I.useCallback(()=>{const _e=Ar(ce.current);_e.removeEventListener("mousemove",ye),_e.removeEventListener("mouseup",xe),_e.removeEventListener("touchmove",ye),_e.removeEventListener("touchend",xe)},[xe,ye]);I.useEffect(()=>{const{current:_e}=ce;return _e.addEventListener("touchstart",me,{passive:XD()}),()=>{_e.removeEventListener("touchstart",me,{passive:XD()}),be()}},[be,me]),I.useEffect(()=>{r&&be()},[r,be]);const Qe=_e=>je=>{var Ye;if((Ye=_e.onMouseDown)==null||Ye.call(_e,je),r||je.defaultPrevented||je.button!==0)return;je.preventDefault();const $e=Gw(je,b);if($e!==!1){const{newValue:Rt,activeIndex:ct}=ve({finger:$e});Vw({sliderRef:ce,activeIndex:ct,setActive:E}),H(Rt),W&&!qw(Rt,N)&&W(je,Rt,ct)}L.current=0;const Ne=Ar(ce.current);Ne.addEventListener("mousemove",ye),Ne.addEventListener("mouseup",xe)},qe=AE(z?D[0]:c,c,l),at=AE(D[D.length-1],c,l)-qe,Lt=(_e={})=>{const je={onMouseDown:Qe(_e||{})},Ye=$({},_e,je);return $({ref:se},Ye)},Ie=_e=>je=>{var Ye;(Ye=_e.onMouseOver)==null||Ye.call(_e,je);const $e=Number(je.currentTarget.getAttribute("data-index"));R($e)},ze=_e=>je=>{var Ye;(Ye=_e.onMouseLeave)==null||Ye.call(_e,je),R(-1)};return{active:x,axis:pe,axisProps:Qhe,dragging:k,focusedThumbIndex:J,getHiddenInputProps:(_e={})=>{var je;const Ye={onChange:le(_e||{}),onFocus:Q(_e||{}),onBlur:ae(_e||{})},$e=$({},_e,Ye);return $({tabIndex:S,"aria-labelledby":t,"aria-orientation":p,"aria-valuemax":v(l),"aria-valuemin":v(c),name:d,type:"range",min:e.min,max:e.max,step:e.step===null&&e.marks?"any":(je=e.step)!=null?je:void 0,disabled:r},$e,{style:$({},Roe,{direction:o?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:Lt,getThumbProps:(_e={})=>{const je={onMouseOver:Ie(_e||{}),onMouseLeave:ze(_e||{})};return $({},_e,je)},marks:F,open:A,range:z,rootRef:se,trackLeap:at,trackOffset:qe,values:D,getThumbStyle:_e=>({pointerEvents:x!==-1&&x!==_e?"none":void 0})}}function epe(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:i,resumeHideDuration:o}=e,s=I.useRef();I.useEffect(()=>{if(!i)return;function _(b){b.defaultPrevented||(b.key==="Escape"||b.key==="Esc")&&(r==null||r(b,"escapeKeyDown"))}return document.addEventListener("keydown",_),()=>{document.removeEventListener("keydown",_)}},[i,r]);const l=eo((_,b)=>{r==null||r(_,b)}),c=eo(_=>{!r||_==null||(clearTimeout(s.current),s.current=setTimeout(()=>{l(null,"timeout")},_))});I.useEffect(()=>(i&&c(t),()=>{clearTimeout(s.current)}),[i,t,c]);const d=_=>{r==null||r(_,"clickaway")},f=()=>{clearTimeout(s.current)},h=I.useCallback(()=>{t!=null&&c(o??t*.5)},[t,o,c]),p=_=>b=>{const x=_.onBlur;x==null||x(b),h()},g=_=>b=>{const x=_.onFocus;x==null||x(b),f()},v=_=>b=>{const x=_.onMouseEnter;x==null||x(b),f()},y=_=>b=>{const x=_.onMouseLeave;x==null||x(b),h()};return I.useEffect(()=>{if(!n&&i)return window.addEventListener("focus",h),window.addEventListener("blur",f),()=>{window.removeEventListener("focus",h),window.removeEventListener("blur",f)}},[n,h,i]),{getRootProps:(_={})=>{const b=$({},TE(e),TE(_));return $({role:"presentation"},_,b,{onBlur:p(b),onFocus:g(b),onMouseEnter:v(b),onMouseLeave:y(b)})},onClickAway:d}}const tpe=["onChange","maxRows","minRows","style","value"];function Yw(e){return parseInt(e,10)||0}const npe={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function s8(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflow}const rpe=I.forwardRef(function(t,n){const{onChange:r,maxRows:i,minRows:o=1,style:s,value:l}=t,c=Le(t,tpe),{current:d}=I.useRef(l!=null),f=I.useRef(null),h=mr(n,f),p=I.useRef(null),g=I.useRef(0),[v,y]=I.useState({outerHeightStyle:0}),S=I.useCallback(()=>{const E=f.current,R=bu(E).getComputedStyle(E);if(R.width==="0px")return{outerHeightStyle:0};const k=p.current;k.style.width=R.width,k.value=E.value||t.placeholder||"x",k.value.slice(-1)===`
`&&(k.value+=" ");const O=R.boxSizing,L=Yw(R.paddingBottom)+Yw(R.paddingTop),N=Yw(R.borderBottomWidth)+Yw(R.borderTopWidth),H=k.scrollHeight;k.value="x";const W=k.scrollHeight;let z=H;o&&(z=Math.max(Number(o)*W,z)),i&&(z=Math.min(Number(i)*W,z)),z=Math.max(z,W);const D=z+(O==="border-box"?L+N:0),F=Math.abs(z-H)<=1;return{outerHeightStyle:D,overflow:F}},[i,o,t.placeholder]),_=(E,A)=>{const{outerHeightStyle:R,overflow:k}=A;return g.current<20&&(R>0&&Math.abs((E.outerHeightStyle||0)-R)>1||E.overflow!==k)?(g.current+=1,{overflow:k,outerHeightStyle:R}):E},b=I.useCallback(()=>{const E=S();s8(E)||y(A=>_(A,E))},[S]);Ao(()=>{const E=()=>{const H=S();s8(H)||Jg.flushSync(()=>{y(W=>_(W,H))})},A=()=>{g.current=0,E()};let R;const k=XC(A),O=f.current,L=bu(O);L.addEventListener("resize",k);let N;return typeof ResizeObserver<"u"&&(N=new ResizeObserver(A),N.observe(O)),()=>{k.clear(),cancelAnimationFrame(R),L.removeEventListener("resize",k),N&&N.disconnect()}},[S]),Ao(()=>{b()}),I.useEffect(()=>{g.current=0},[l]);const x=E=>{g.current=0,d||b(),r&&r(E)};return C.jsxs(I.Fragment,{children:[C.jsx("textarea",$({value:l,onChange:x,ref:h,rows:o,style:$({height:v.outerHeightStyle,overflow:v.overflow?"hidden":void 0},s)},c)),C.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:p,tabIndex:-1,style:$({},npe.shadow,s,{paddingTop:0,paddingBottom:0})})]})}),ipe=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],ope=Ee(Bhe,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),spe=I.forwardRef(function(t,n){var r;const i=bT(),o=Tt({props:t,name:"MuiPopper"}),{anchorEl:s,component:l,components:c,componentsProps:d,container:f,disablePortal:h,keepMounted:p,modifiers:g,open:v,placement:y,popperOptions:S,popperRef:_,transition:b,slots:x,slotProps:E}=o,A=Le(o,ipe),R=(r=x==null?void 0:x.root)!=null?r:c==null?void 0:c.Root,k=$({anchorEl:s,container:f,disablePortal:h,keepMounted:p,modifiers:g,open:v,placement:y,popperOptions:S,popperRef:_,transition:b},A);return C.jsx(ope,$({as:l,direction:i==null?void 0:i.direction,slots:{root:R},slotProps:E??d},k,{ref:n}))}),EK=spe;function ape(e){return _t("MuiListSubheader",e)}Ct("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const lpe=["className","color","component","disableGutters","disableSticky","inset"],cpe=e=>{const{classes:t,color:n,disableGutters:r,inset:i,disableSticky:o}=e,s={root:["root",n!=="default"&&`color${Me(n)}`,!r&&"gutters",i&&"inset",!o&&"sticky"]};return Et(s,ape,t)},upe=Ee("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${Me(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(({theme:e,ownerState:t})=>$({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},t.color==="primary"&&{color:(e.vars||e).palette.primary.main},t.color==="inherit"&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper})),CK=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiListSubheader"}),{className:i,color:o="default",component:s="li",disableGutters:l=!1,disableSticky:c=!1,inset:d=!1}=r,f=Le(r,lpe),h=$({},r,{color:o,component:s,disableGutters:l,disableSticky:c,inset:d}),p=cpe(h);return C.jsx(upe,$({as:s,className:Fe(p.root,i),ref:n,ownerState:h},f))});CK.muiSkipListHighlight=!0;const dpe=CK;function Ip({props:e,states:t,muiFormControl:n}){return t.reduce((r,i)=>(r[i]=e[i],n&&typeof e[i]>"u"&&(r[i]=n[i]),r),{})}const fpe=I.createContext(void 0),U4=fpe;function Yd(){return I.useContext(U4)}function TK(e){return C.jsx(Bae,$({},e,{defaultTheme:_T,themeId:ap}))}function a8(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function RE(e,t=!1){return e&&(a8(e.value)&&e.value!==""||t&&a8(e.defaultValue)&&e.defaultValue!=="")}function hpe(e){return e.startAdornment}function ppe(e){return _t("MuiInputBase",e)}const mpe=Ct("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Cg=mpe,gpe=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],QT=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${Me(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},JT=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},vpe=e=>{const{classes:t,color:n,disabled:r,error:i,endAdornment:o,focused:s,formControl:l,fullWidth:c,hiddenLabel:d,multiline:f,readOnly:h,size:p,startAdornment:g,type:v}=e,y={root:["root",`color${Me(n)}`,r&&"disabled",i&&"error",c&&"fullWidth",s&&"focused",l&&"formControl",p&&p!=="medium"&&`size${Me(p)}`,f&&"multiline",g&&"adornedStart",o&&"adornedEnd",d&&"hiddenLabel",h&&"readOnly"],input:["input",r&&"disabled",v==="search"&&"inputTypeSearch",f&&"inputMultiline",p==="small"&&"inputSizeSmall",d&&"inputHiddenLabel",g&&"inputAdornedStart",o&&"inputAdornedEnd",h&&"readOnly"]};return Et(y,ppe,t)},ZT=Ee("div",{name:"MuiInputBase",slot:"Root",overridesResolver:QT})(({theme:e,ownerState:t})=>$({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Cg.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&$({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),ek=Ee("input",{name:"MuiInputBase",slot:"Input",overridesResolver:JT})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light",r=$({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),i={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return $({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Cg.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${Cg.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),ype=C.jsx(TK,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),bpe=I.forwardRef(function(t,n){var r;const i=Tt({props:t,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:s,autoFocus:l,className:c,components:d={},componentsProps:f={},defaultValue:h,disabled:p,disableInjectingGlobalStyles:g,endAdornment:v,fullWidth:y=!1,id:S,inputComponent:_="input",inputProps:b={},inputRef:x,maxRows:E,minRows:A,multiline:R=!1,name:k,onBlur:O,onChange:L,onClick:N,onFocus:H,onKeyDown:W,onKeyUp:z,placeholder:D,readOnly:F,renderSuffix:j,rows:V,slotProps:G={},slots:K={},startAdornment:Y,type:J="text",value:ie}=i,ce=Le(i,gpe),ue=b.value!=null?b.value:ie,{current:se}=I.useRef(ue!=null),Q=I.useRef(),ae=I.useCallback($e=>{},[]),le=mr(Q,x,b.ref,ae),[he,pe]=I.useState(!1),ve=Yd(),ye=Ip({props:i,muiFormControl:ve,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ye.focused=ve?ve.focused:he,I.useEffect(()=>{!ve&&p&&he&&(pe(!1),O&&O())},[ve,p,he,O]);const xe=ve&&ve.onFilled,me=ve&&ve.onEmpty,be=I.useCallback($e=>{RE($e)?xe&&xe():me&&me()},[xe,me]);Ao(()=>{se&&be({value:ue})},[ue,be,se]);const Qe=$e=>{if(ye.disabled){$e.stopPropagation();return}H&&H($e),b.onFocus&&b.onFocus($e),ve&&ve.onFocus?ve.onFocus($e):pe(!0)},qe=$e=>{O&&O($e),b.onBlur&&b.onBlur($e),ve&&ve.onBlur?ve.onBlur($e):pe(!1)},at=($e,...Ne)=>{if(!se){const Rt=$e.target||Q.current;if(Rt==null)throw new Error(Od(1));be({value:Rt.value})}b.onChange&&b.onChange($e,...Ne),L&&L($e,...Ne)};I.useEffect(()=>{be(Q.current)},[]);const Lt=$e=>{Q.current&&$e.currentTarget===$e.target&&Q.current.focus(),N&&N($e)};let Ie=_,ze=b;R&&Ie==="input"&&(V?ze=$({type:void 0,minRows:V,maxRows:V},ze):ze=$({type:void 0,maxRows:E,minRows:A},ze),Ie=rpe);const it=$e=>{be($e.animationName==="mui-auto-fill-cancel"?Q.current:{value:"x"})};I.useEffect(()=>{ve&&ve.setAdornedStart(!!Y)},[ve,Y]);const pt=$({},i,{color:ye.color||"primary",disabled:ye.disabled,endAdornment:v,error:ye.error,focused:ye.focused,formControl:ve,fullWidth:y,hiddenLabel:ye.hiddenLabel,multiline:R,size:ye.size,startAdornment:Y,type:J}),mt=vpe(pt),_e=K.root||d.Root||ZT,je=G.root||f.root||{},Ye=K.input||d.Input||ek;return ze=$({},ze,(r=G.input)!=null?r:f.input),C.jsxs(I.Fragment,{children:[!g&&ype,C.jsxs(_e,$({},je,!zl(_e)&&{ownerState:$({},pt,je.ownerState)},{ref:n,onClick:Lt},ce,{className:Fe(mt.root,je.className,c,F&&"MuiInputBase-readOnly"),children:[Y,C.jsx(U4.Provider,{value:null,children:C.jsx(Ye,$({ownerState:pt,"aria-invalid":ye.error,"aria-describedby":o,autoComplete:s,autoFocus:l,defaultValue:h,disabled:ye.disabled,id:S,onAnimationStart:it,name:k,placeholder:D,readOnly:F,required:ye.required,rows:V,value:ue,onKeyDown:W,onKeyUp:z,type:J},ze,!zl(Ye)&&{as:Ie,ownerState:$({},pt,ze.ownerState)},{ref:le,className:Fe(mt.input,ze.className,F&&"MuiInputBase-readOnly"),onBlur:qe,onChange:at,onFocus:Qe}))}),v,j?j($({},ye,{startAdornment:Y})):null]}))]})}),tk=bpe;function xpe(e){return _t("MuiInput",e)}const wpe=$({},Cg,Ct("MuiInput",["root","underline","input"])),sb=wpe;function _pe(e){return _t("MuiOutlinedInput",e)}const Spe=$({},Cg,Ct("MuiOutlinedInput",["root","notchedOutline","input"])),ju=Spe;function Epe(e){return _t("MuiFilledInput",e)}const Cpe=$({},Cg,Ct("MuiFilledInput",["root","underline","input"])),bh=Cpe,Tpe=Bt(C.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),kpe=Bt(C.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function Ape(e){return _t("MuiAvatar",e)}Ct("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const Rpe=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],Ipe=e=>{const{classes:t,variant:n,colorDefault:r}=e;return Et({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},Ape,t)},Ppe=Ee("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(({theme:e,ownerState:t})=>$({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},t.variant==="rounded"&&{borderRadius:(e.vars||e).shape.borderRadius},t.variant==="square"&&{borderRadius:0},t.colorDefault&&$({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[600]}))),Ope=Ee("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),Mpe=Ee(kpe,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function Dpe({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[i,o]=I.useState(!1);return I.useEffect(()=>{if(!n&&!r)return;o(!1);let s=!0;const l=new Image;return l.onload=()=>{s&&o("loaded")},l.onerror=()=>{s&&o("error")},l.crossOrigin=e,l.referrerPolicy=t,l.src=n,r&&(l.srcset=r),()=>{s=!1}},[e,t,n,r]),i}const Lpe=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiAvatar"}),{alt:i,children:o,className:s,component:l="div",imgProps:c,sizes:d,src:f,srcSet:h,variant:p="circular"}=r,g=Le(r,Rpe);let v=null;const y=Dpe($({},c,{src:f,srcSet:h})),S=f||h,_=S&&y!=="error",b=$({},r,{colorDefault:!_,component:l,variant:p}),x=Ipe(b);return _?v=C.jsx(Ope,$({alt:i,srcSet:h,src:f,sizes:d,ownerState:b,className:x.img},c)):o!=null?v=o:S&&i?v=i[0]:v=C.jsx(Mpe,{ownerState:b,className:x.fallback}),C.jsx(Ppe,$({as:l,ownerState:b,className:Fe(x.root,s),ref:n},g,{children:v}))}),Npe=Lpe,Bpe=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],$pe={entering:{opacity:1},entered:{opacity:1}},Fpe=I.forwardRef(function(t,n){const r=In(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:s=!0,children:l,easing:c,in:d,onEnter:f,onEntered:h,onEntering:p,onExit:g,onExited:v,onExiting:y,style:S,timeout:_=i,TransitionComponent:b=O4}=t,x=Le(t,Bpe),E=I.useRef(null),A=mr(E,l.ref,n),R=D=>F=>{if(D){const j=E.current;F===void 0?D(j):D(j,F)}},k=R(p),O=R((D,F)=>{dK(D);const j=xg({style:S,timeout:_,easing:c},{mode:"enter"});D.style.webkitTransition=r.transitions.create("opacity",j),D.style.transition=r.transitions.create("opacity",j),f&&f(D,F)}),L=R(h),N=R(y),H=R(D=>{const F=xg({style:S,timeout:_,easing:c},{mode:"exit"});D.style.webkitTransition=r.transitions.create("opacity",F),D.style.transition=r.transitions.create("opacity",F),g&&g(D)}),W=R(v),z=D=>{o&&o(E.current,D)};return C.jsx(b,$({appear:s,in:d,nodeRef:E,onEnter:O,onEntered:L,onEntering:k,onExit:H,onExited:W,onExiting:N,addEndListener:z,timeout:_},x,{children:(D,F)=>I.cloneElement(l,$({style:$({opacity:0,visibility:D==="exited"&&!d?"hidden":void 0},$pe[D],S,l.props.style),ref:A},F))}))}),vp=Fpe;function zpe(e){return _t("MuiBackdrop",e)}Ct("MuiBackdrop",["root","invisible"]);const jpe=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Upe=e=>{const{classes:t,invisible:n}=e;return Et({root:["root",n&&"invisible"]},zpe,t)},Hpe=Ee("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>$({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),Wpe=I.forwardRef(function(t,n){var r,i,o;const s=Tt({props:t,name:"MuiBackdrop"}),{children:l,className:c,component:d="div",components:f={},componentsProps:h={},invisible:p=!1,open:g,slotProps:v={},slots:y={},TransitionComponent:S=vp,transitionDuration:_}=s,b=Le(s,jpe),x=$({},s,{component:d,invisible:p}),E=Upe(x),A=(r=v.root)!=null?r:h.root;return C.jsx(S,$({in:g,timeout:_},b,{children:C.jsx(Hpe,$({"aria-hidden":!0},A,{as:(i=(o=y.root)!=null?o:f.Root)!=null?i:d,className:Fe(E.root,c,A==null?void 0:A.className),ownerState:$({},x,A==null?void 0:A.ownerState),classes:E,ref:n,children:l}))}))}),nk=Wpe,Gpe=$5(),Vpe=jae({themeId:ap,defaultTheme:Gpe,defaultClassName:"MuiBox-root",generateClassName:Aq.generate}),dt=Vpe;function qpe(e){return _t("MuiButton",e)}const Xpe=Ct("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","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Kw=Xpe,Ype=I.createContext({}),Kpe=Ype,Qpe=I.createContext(void 0),Jpe=Qpe,Zpe=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],eme=e=>{const{color:t,disableElevation:n,fullWidth:r,size:i,variant:o,classes:s}=e,l={root:["root",o,`${o}${Me(t)}`,`size${Me(i)}`,`${o}Size${Me(i)}`,t==="inherit"&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${Me(i)}`],endIcon:["endIcon",`iconSize${Me(i)}`]},c=Et(l,qpe,s);return $({},s,c)},kK=e=>$({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),tme=Ee(Ou,{shouldForwardProp:e=>va(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Me(n.color)}`],t[`size${Me(n.size)}`],t[`${n.variant}Size${Me(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;const i=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],o=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return $({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":$({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:_n(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:_n(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:_n(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:o,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":$({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Kw.focusVisible}`]:$({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Kw.disabled}`]:$({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${_n(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(r=e.palette).getContrastText)==null?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:i,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Kw.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Kw.disabled}`]:{boxShadow:"none"}}),nme=Ee("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Me(n.size)}`]]}})(({ownerState:e})=>$({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},kK(e))),rme=Ee("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Me(n.size)}`]]}})(({ownerState:e})=>$({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},kK(e))),ime=I.forwardRef(function(t,n){const r=I.useContext(Kpe),i=I.useContext(Jpe),o=w5(r,t),s=Tt({props:o,name:"MuiButton"}),{children:l,color:c="primary",component:d="button",className:f,disabled:h=!1,disableElevation:p=!1,disableFocusRipple:g=!1,endIcon:v,focusVisibleClassName:y,fullWidth:S=!1,size:_="medium",startIcon:b,type:x,variant:E="text"}=s,A=Le(s,Zpe),R=$({},s,{color:c,component:d,disabled:h,disableElevation:p,disableFocusRipple:g,fullWidth:S,size:_,type:x,variant:E}),k=eme(R),O=b&&C.jsx(nme,{className:k.startIcon,ownerState:R,children:b}),L=v&&C.jsx(rme,{className:k.endIcon,ownerState:R,children:v}),N=i||"";return C.jsxs(tme,$({ownerState:R,className:Fe(r.className,k.root,f,N),component:d,disabled:h,focusRipple:!g,focusVisibleClassName:Fe(k.focusVisible,y),ref:n,type:x},A,{classes:k,children:[O,l,L]}))}),AK=ime;function ome(e){return _t("MuiCard",e)}Ct("MuiCard",["root"]);const sme=["className","raised"],ame=e=>{const{classes:t}=e;return Et({root:["root"]},ome,t)},lme=Ee(Zg,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),cme=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiCard"}),{className:i,raised:o=!1}=r,s=Le(r,sme),l=$({},r,{raised:o}),c=ame(l);return C.jsx(lme,$({className:Fe(c.root,i),elevation:o?8:void 0,ref:n,ownerState:l},s))}),ume=cme;function dme(e){return _t("PrivateSwitchBase",e)}Ct("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const fme=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],hme=e=>{const{classes:t,checked:n,disabled:r,edge:i}=e,o={root:["root",n&&"checked",r&&"disabled",i&&`edge${Me(i)}`],input:["input"]};return Et(o,dme,t)},pme=Ee(Ou)(({ownerState:e})=>$({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),mme=Ee("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),gme=I.forwardRef(function(t,n){const{autoFocus:r,checked:i,checkedIcon:o,className:s,defaultChecked:l,disabled:c,disableFocusRipple:d=!1,edge:f=!1,icon:h,id:p,inputProps:g,inputRef:v,name:y,onBlur:S,onChange:_,onFocus:b,readOnly:x,required:E=!1,tabIndex:A,type:R,value:k}=t,O=Le(t,fme),[L,N]=Ix({controlled:i,default:!!l,name:"SwitchBase",state:"checked"}),H=Yd(),W=K=>{b&&b(K),H&&H.onFocus&&H.onFocus(K)},z=K=>{S&&S(K),H&&H.onBlur&&H.onBlur(K)},D=K=>{if(K.nativeEvent.defaultPrevented)return;const Y=K.target.checked;N(Y),_&&_(K,Y)};let F=c;H&&typeof F>"u"&&(F=H.disabled);const j=R==="checkbox"||R==="radio",V=$({},t,{checked:L,disabled:F,disableFocusRipple:d,edge:f}),G=hme(V);return C.jsxs(pme,$({component:"span",className:Fe(G.root,s),centerRipple:!0,focusRipple:!d,disabled:F,tabIndex:null,role:void 0,onFocus:W,onBlur:z,ownerState:V,ref:n},O,{children:[C.jsx(mme,$({autoFocus:r,checked:i,defaultChecked:l,className:G.input,disabled:F,id:j?p:void 0,name:y,onChange:D,readOnly:x,ref:v,required:E,ownerState:V,tabIndex:A,type:R},R==="checkbox"&&k===void 0?{}:{value:k},g)),L?o:h]}))}),RK=gme,vme=Bt(C.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),yme=Bt(C.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),bme=Bt(C.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-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function xme(e){return _t("MuiCheckbox",e)}const wme=Ct("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),YD=wme,_me=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],Sme=e=>{const{classes:t,indeterminate:n,color:r,size:i}=e,o={root:["root",n&&"indeterminate",`color${Me(r)}`,`size${Me(i)}`]},s=Et(o,xme,t);return $({},t,s)},Eme=Ee(RK,{shouldForwardProp:e=>va(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,n.color!=="default"&&t[`color${Me(n.color)}`]]}})(({theme:e,ownerState:t})=>$({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${t.color==="default"?e.vars.palette.action.activeChannel:e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:_n(t.color==="default"?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${YD.checked}, &.${YD.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${YD.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),Cme=C.jsx(yme,{}),Tme=C.jsx(vme,{}),kme=C.jsx(bme,{}),Ame=I.forwardRef(function(t,n){var r,i;const o=Tt({props:t,name:"MuiCheckbox"}),{checkedIcon:s=Cme,color:l="primary",icon:c=Tme,indeterminate:d=!1,indeterminateIcon:f=kme,inputProps:h,size:p="medium",className:g}=o,v=Le(o,_me),y=d?f:c,S=d?f:s,_=$({},o,{color:l,indeterminate:d,size:p}),b=Sme(_);return C.jsx(Eme,$({type:"checkbox",inputProps:$({"data-indeterminate":d},h),icon:I.cloneElement(y,{fontSize:(r=y.props.fontSize)!=null?r:p}),checkedIcon:I.cloneElement(S,{fontSize:(i=S.props.fontSize)!=null?i:p}),ownerState:_,ref:n,className:Fe(b.root,g)},v,{classes:b}))}),Rme=Ame;function Ime(e){return _t("MuiCircularProgress",e)}Ct("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Pme=["className","color","disableShrink","size","style","thickness","value","variant"];let rk=e=>e,l8,c8,u8,d8;const Uu=44,Ome=ec(l8||(l8=rk`
0% {
transform: rotate(0deg);
@@ -262,16 +262,16 @@ Error generating stack: `+o.message+`
right: 0;
top: 0;
}
- `),_0e,(t.vars||t).palette.action.hover)),E0e=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiSkeleton"}),{animation:i="pulse",className:o,component:s="span",height:l,style:c,variant:d="text",width:f}=r,h=Le(r,b0e),p=$({},r,{animation:i,component:s,variant:d,hasChildren:!!h.children}),g=x0e(p);return C.jsx(S0e,$({as:s,ref:n,className:Fe(g.root,o),ownerState:p},h,{style:$({width:f,height:l},c)}))}),C0e=E0e,T0e=e=>!e||!zl(e),k0e=T0e;function A0e(e){return _t("MuiSlider",e)}const R0e=Ct("MuiSlider",["root","active","colorPrimary","colorSecondary","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),tl=R0e,I0e=e=>{const{open:t}=e;return{offset:Fe(t&&tl.valueLabelOpen),circle:tl.valueLabelCircle,label:tl.valueLabelLabel}};function P0e(e){const{children:t,className:n,value:r}=e,i=I0e(e);return t?I.cloneElement(t,{className:Fe(t.props.className)},C.jsxs(I.Fragment,{children:[t.props.children,C.jsx("span",{className:Fe(i.offset,n),"aria-hidden":!0,children:C.jsx("span",{className:i.circle,children:C.jsx("span",{className:i.label,children:r})})})]})):null}const O0e=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function M8(e){return e}const M0e=Ee("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${Me(n.color)}`],n.size!=="medium"&&t[`size${Me(n.size)}`],n.marked&&t.marked,n.orientation==="vertical"&&t.vertical,n.track==="inverted"&&t.trackInverted,n.track===!1&&t.trackFalse]}})(({theme:e,ownerState:t})=>$({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:(e.vars||e).palette[t.color].main,WebkitTapHighlightColor:"transparent"},t.orientation==="horizontal"&&$({height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}},t.size==="small"&&{height:2},t.marked&&{marginBottom:20}),t.orientation==="vertical"&&$({height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}},t.size==="small"&&{width:2},t.marked&&{marginRight:44}),{"@media print":{colorAdjust:"exact"},[`&.${tl.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${tl.dragging}`]:{[`& .${tl.thumb}, & .${tl.track}`]:{transition:"none"}}})),D0e=Ee("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})(({ownerState:e})=>$({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38},e.orientation==="horizontal"&&{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"},e.orientation==="vertical"&&{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"},e.track==="inverted"&&{opacity:1})),L0e=Ee("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?Yg(e.palette[t.color].main,.62):Xg(e.palette[t.color].main,.5);return $({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest})},t.size==="small"&&{border:"none"},t.orientation==="horizontal"&&{height:"inherit",top:"50%",transform:"translateY(-50%)"},t.orientation==="vertical"&&{width:"inherit",left:"50%",transform:"translateX(-50%)"},t.track===!1&&{display:"none"},t.track==="inverted"&&{backgroundColor:e.vars?e.vars.palette.Slider[`${t.color}Track`]:n,borderColor:e.vars?e.vars.palette.Slider[`${t.color}Track`]:n})}),N0e=Ee("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${Me(n.color)}`],n.size!=="medium"&&t[`thumbSize${Me(n.size)}`]]}})(({theme:e,ownerState:t})=>$({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest})},t.size==="small"&&{width:12,height:12},t.orientation==="horizontal"&&{top:"50%",transform:"translate(-50%, -50%)"},t.orientation==="vertical"&&{left:"50%",transform:"translate(-50%, 50%)"},{"&:before":$({position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},t.size==="small"&&{boxShadow:"none"}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&:hover, &.${tl.focusVisible}`]:{boxShadow:`0px 0px 0px 8px ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.16)`:_n(e.palette[t.color].main,.16)}`,"@media (hover: none)":{boxShadow:"none"}},[`&.${tl.active}`]:{boxShadow:`0px 0px 0px 14px ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.16)`:_n(e.palette[t.color].main,.16)}`},[`&.${tl.disabled}`]:{"&:hover":{boxShadow:"none"}}})),B0e=Ee(P0e,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e,ownerState:t})=>$({[`&.${tl.valueLabelOpen}`]:{transform:`${t.orientation==="vertical"?"translateY(-50%)":"translateY(-100%)"} scale(1)`},zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),transform:`${t.orientation==="vertical"?"translateY(-50%)":"translateY(-100%)"} scale(0)`,position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem"},t.orientation==="horizontal"&&{top:"-10px",transformOrigin:"bottom center","&:before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"}},t.orientation==="vertical"&&{right:t.size==="small"?"20px":"30px",top:"50%",transformOrigin:"right center","&:before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"}},t.size==="small"&&{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"})),$0e=Ee("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>F5(e)&&e!=="markActive",overridesResolver:(e,t)=>{const{markActive:n}=e;return[t.mark,n&&t.markActive]}})(({theme:e,ownerState:t,markActive:n})=>$({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},t.orientation==="horizontal"&&{top:"50%",transform:"translate(-1px, -50%)"},t.orientation==="vertical"&&{left:"50%",transform:"translate(-50%, 1px)"},n&&{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8})),F0e=Ee("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>F5(e)&&e!=="markLabelActive",overridesResolver:(e,t)=>t.markLabel})(({theme:e,ownerState:t,markLabelActive:n})=>$({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap"},t.orientation==="horizontal"&&{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}},t.orientation==="vertical"&&{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}},n&&{color:(e.vars||e).palette.text.primary})),z0e=e=>{const{disabled:t,dragging:n,marked:r,orientation:i,track:o,classes:s,color:l,size:c}=e,d={root:["root",t&&"disabled",n&&"dragging",r&&"marked",i==="vertical"&&"vertical",o==="inverted"&&"trackInverted",o===!1&&"trackFalse",l&&`color${Me(l)}`,c&&`size${Me(c)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",c&&`thumbSize${Me(c)}`,l&&`thumbColor${Me(l)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return Et(d,A0e,s)},j0e=({children:e})=>e,U0e=I.forwardRef(function(t,n){var r,i,o,s,l,c,d,f,h,p,g,v,y,S,_,b,x,E,A,R,k,O,L,N;const H=Tt({props:t,name:"MuiSlider"}),z=In().direction==="rtl",{"aria-label":D,"aria-valuetext":F,"aria-labelledby":j,component:V="span",components:G={},componentsProps:K={},color:Y="primary",classes:J,className:ie,disableSwap:ce=!1,disabled:ue=!1,getAriaLabel:se,getAriaValueText:Q,marks:ae=!1,max:le=100,min:he=0,orientation:pe="horizontal",size:ve="medium",step:ye=1,scale:xe=M8,slotProps:me,slots:be,track:Qe="normal",valueLabelDisplay:qe="off",valueLabelFormat:at=M8}=H,Lt=Le(H,O0e),Ie=$({},H,{isRtl:z,max:le,min:he,classes:J,disabled:ue,disableSwap:ce,orientation:pe,marks:ae,color:Y,size:ve,step:ye,scale:xe,track:Qe,valueLabelDisplay:qe,valueLabelFormat:at}),{axisProps:ze,getRootProps:it,getHiddenInputProps:pt,getThumbProps:mt,open:_e,active:je,axis:Ye,focusedThumbIndex:$e,range:Ne,dragging:Rt,marks:ct,values:Ae,trackOffset:ot,trackLeap:$t,getThumbStyle:Re}=Zhe($({},Ie,{rootRef:n}));Ie.marked=ct.length>0&&ct.some(Hn=>Hn.label),Ie.dragging=Rt,Ie.focusedThumbIndex=$e;const Ue=z0e(Ie),yt=(r=(i=be==null?void 0:be.root)!=null?i:G.Root)!=null?r:M0e,Wt=(o=(s=be==null?void 0:be.rail)!=null?s:G.Rail)!=null?o:D0e,pn=(l=(c=be==null?void 0:be.track)!=null?c:G.Track)!=null?l:L0e,$r=(d=(f=be==null?void 0:be.thumb)!=null?f:G.Thumb)!=null?d:N0e,Or=(h=(p=be==null?void 0:be.valueLabel)!=null?p:G.ValueLabel)!=null?h:B0e,Mr=(g=(v=be==null?void 0:be.mark)!=null?v:G.Mark)!=null?g:$0e,Fr=(y=(S=be==null?void 0:be.markLabel)!=null?S:G.MarkLabel)!=null?y:F0e,Jr=(_=(b=be==null?void 0:be.input)!=null?b:G.Input)!=null?_:"input",Zo=(x=me==null?void 0:me.root)!=null?x:K.root,$u=(E=me==null?void 0:me.rail)!=null?E:K.rail,Gs=(A=me==null?void 0:me.track)!=null?A:K.track,ac=(R=me==null?void 0:me.thumb)!=null?R:K.thumb,lc=(k=me==null?void 0:me.valueLabel)!=null?k:K.valueLabel,sf=(O=me==null?void 0:me.mark)!=null?O:K.mark,es=(L=me==null?void 0:me.markLabel)!=null?L:K.markLabel,af=(N=me==null?void 0:me.input)!=null?N:K.input,oo=Wr({elementType:yt,getSlotProps:it,externalSlotProps:Zo,externalForwardedProps:Lt,additionalProps:$({},k0e(yt)&&{as:V}),ownerState:$({},Ie,Zo==null?void 0:Zo.ownerState),className:[Ue.root,ie]}),cc=Wr({elementType:Wt,externalSlotProps:$u,ownerState:Ie,className:Ue.rail}),Si=Wr({elementType:pn,externalSlotProps:Gs,additionalProps:{style:$({},ze[Ye].offset(ot),ze[Ye].leap($t))},ownerState:$({},Ie,Gs==null?void 0:Gs.ownerState),className:Ue.track}),ts=Wr({elementType:$r,getSlotProps:mt,externalSlotProps:ac,ownerState:$({},Ie,ac==null?void 0:ac.ownerState),className:Ue.thumb}),lf=Wr({elementType:Or,externalSlotProps:lc,ownerState:$({},Ie,lc==null?void 0:lc.ownerState),className:Ue.valueLabel}),ns=Wr({elementType:Mr,externalSlotProps:sf,ownerState:Ie,className:Ue.mark}),wa=Wr({elementType:Fr,externalSlotProps:es,ownerState:Ie,className:Ue.markLabel}),Fu=Wr({elementType:Jr,getSlotProps:pt,externalSlotProps:af,ownerState:Ie});return C.jsxs(yt,$({},oo,{children:[C.jsx(Wt,$({},cc)),C.jsx(pn,$({},Si)),ct.filter(Hn=>Hn.value>=he&&Hn.value<=le).map((Hn,Jn)=>{const bl=AE(Hn.value,he,le),xl=ze[Ye].offset(bl);let so;return Qe===!1?so=Ae.indexOf(Hn.value)!==-1:so=Qe==="normal"&&(Ne?Hn.value>=Ae[0]&&Hn.value<=Ae[Ae.length-1]:Hn.value<=Ae[0])||Qe==="inverted"&&(Ne?Hn.value<=Ae[0]||Hn.value>=Ae[Ae.length-1]:Hn.value>=Ae[0]),C.jsxs(I.Fragment,{children:[C.jsx(Mr,$({"data-index":Jn},ns,!zl(Mr)&&{markActive:so},{style:$({},xl,ns.style),className:Fe(ns.className,so&&Ue.markActive)})),Hn.label!=null?C.jsx(Fr,$({"aria-hidden":!0,"data-index":Jn},wa,!zl(Fr)&&{markLabelActive:so},{style:$({},xl,wa.style),className:Fe(Ue.markLabel,wa.className,so&&Ue.markLabelActive),children:Hn.label})):null]},Jn)}),Ae.map((Hn,Jn)=>{const bl=AE(Hn,he,le),xl=ze[Ye].offset(bl),so=qe==="off"?j0e:Or;return C.jsx(so,$({},!zl(so)&&{valueLabelFormat:at,valueLabelDisplay:qe,value:typeof at=="function"?at(xe(Hn),Jn):at,index:Jn,open:_e===Jn||je===Jn||qe==="on",disabled:ue},lf,{children:C.jsx($r,$({"data-index":Jn},ts,{className:Fe(Ue.thumb,ts.className,je===Jn&&Ue.active,$e===Jn&&Ue.focusVisible),style:$({},xl,Re(Jn),ts.style),children:C.jsx(Jr,$({"data-index":Jn,"aria-label":se?se(Jn):D,"aria-valuenow":xe(Hn),"aria-labelledby":j,"aria-valuetext":Q?Q(xe(Hn),Jn):F,value:Ae[Jn]},Fu))}))}),Jn)})]}))}),H0e=U0e;function W0e(e){return _t("MuiSnackbarContent",e)}Ct("MuiSnackbarContent",["root","message","action"]);const G0e=["action","className","message","role"],V0e=e=>{const{classes:t}=e;return Et({root:["root"],action:["action"],message:["message"]},W0e,t)},q0e=Ee(Zg,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=nle(e.palette.background.default,t);return $({},e.typography.body2,{color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})}),X0e=Ee("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),Y0e=Ee("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),K0e=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiSnackbarContent"}),{action:i,className:o,message:s,role:l="alert"}=r,c=Le(r,G0e),d=r,f=V0e(d);return C.jsxs(q0e,$({role:l,square:!0,elevation:6,className:Fe(f.root,o),ownerState:d,ref:n},c,{children:[C.jsx(X0e,{className:f.message,ownerState:d,children:s}),i?C.jsx(Y0e,{className:f.action,ownerState:d,children:i}):null]}))}),Q0e=K0e;function J0e(e){return _t("MuiSnackbar",e)}Ct("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const Z0e=["onEnter","onExited"],ebe=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],tbe=e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${Me(n.vertical)}${Me(n.horizontal)}`]};return Et(r,J0e,t)},D8=Ee("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${Me(n.anchorOrigin.vertical)}${Me(n.anchorOrigin.horizontal)}`]]}})(({theme:e,ownerState:t})=>{const n={left:"50%",right:"auto",transform:"translateX(-50%)"};return $({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},t.anchorOrigin.vertical==="top"?{top:8}:{bottom:8},t.anchorOrigin.horizontal==="left"&&{justifyContent:"flex-start"},t.anchorOrigin.horizontal==="right"&&{justifyContent:"flex-end"},{[e.breakpoints.up("sm")]:$({},t.anchorOrigin.vertical==="top"?{top:24}:{bottom:24},t.anchorOrigin.horizontal==="center"&&n,t.anchorOrigin.horizontal==="left"&&{left:24,right:"auto"},t.anchorOrigin.horizontal==="right"&&{right:24,left:"auto"})})}),nbe=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiSnackbar"}),i=In(),o={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{action:s,anchorOrigin:{vertical:l,horizontal:c}={vertical:"bottom",horizontal:"left"},autoHideDuration:d=null,children:f,className:h,ClickAwayListenerProps:p,ContentProps:g,disableWindowBlurListener:v=!1,message:y,open:S,TransitionComponent:_=IE,transitionDuration:b=o,TransitionProps:{onEnter:x,onExited:E}={}}=r,A=Le(r.TransitionProps,Z0e),R=Le(r,ebe),k=$({},r,{anchorOrigin:{vertical:l,horizontal:c},autoHideDuration:d,disableWindowBlurListener:v,TransitionComponent:_,transitionDuration:b}),O=tbe(k),{getRootProps:L,onClickAway:N}=epe($({},k)),[H,W]=I.useState(!0),z=Wr({elementType:D8,getSlotProps:L,externalForwardedProps:R,ownerState:k,additionalProps:{ref:n},className:[O.root,h]}),D=j=>{W(!0),E&&E(j)},F=(j,V)=>{W(!1),x&&x(j,V)};return!S&&H?null:C.jsx(pfe,$({onClickAway:N},p,{children:C.jsx(D8,$({},z,{children:C.jsx(_,$({appear:!0,in:S,timeout:b,direction:l==="top"?"down":"up",onEnter:F,onExited:D},A,{children:f||C.jsx(Q0e,$({message:y,action:s},g))}))}))}))}),rbe=nbe;function ibe(e){return _t("MuiTooltip",e)}const obe=Ct("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),dd=obe,sbe=["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 abe(e){return Math.round(e*1e5)/1e5}const lbe=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:i,placement:o}=e,s={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",i&&"touch",`tooltipPlacement${Me(o.split("-")[0])}`],arrow:["arrow"]};return Et(s,ibe,t)},cbe=Ee(EK,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(({theme:e,ownerState:t,open:n})=>$({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${dd.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${dd.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${dd.arrow}`]:$({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${dd.arrow}`]:$({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),ube=Ee("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${Me(n.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>$({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:_n(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${abe(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${dd.popper}[data-popper-placement*="left"] &`]:$({transformOrigin:"right center"},t.isRtl?$({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):$({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${dd.popper}[data-popper-placement*="right"] &`]:$({transformOrigin:"left center"},t.isRtl?$({marginRight:"14px"},t.touch&&{marginRight:"24px"}):$({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${dd.popper}[data-popper-placement*="top"] &`]:$({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${dd.popper}[data-popper-placement*="bottom"] &`]:$({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),dbe=Ee("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:_n(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let Qw=!1,eL=null,ub={x:0,y:0};function Jw(e,t){return n=>{t&&t(n),e(n)}}const fbe=I.forwardRef(function(t,n){var r,i,o,s,l,c,d,f,h,p,g,v,y,S,_,b,x,E,A;const R=Tt({props:t,name:"MuiTooltip"}),{arrow:k=!1,children:O,components:L={},componentsProps:N={},describeChild:H=!1,disableFocusListener:W=!1,disableHoverListener:z=!1,disableInteractive:D=!1,disableTouchListener:F=!1,enterDelay:j=100,enterNextDelay:V=0,enterTouchDelay:G=700,followCursor:K=!1,id:Y,leaveDelay:J=0,leaveTouchDelay:ie=1500,onClose:ce,onOpen:ue,open:se,placement:Q="bottom",PopperComponent:ae,PopperProps:le={},slotProps:he={},slots:pe={},title:ve,TransitionComponent:ye=IE,TransitionProps:xe}=R,me=Le(R,sbe),be=I.isValidElement(O)?O:C.jsx("span",{children:O}),Qe=In(),qe=Qe.direction==="rtl",[at,Lt]=I.useState(),[Ie,ze]=I.useState(null),it=I.useRef(!1),pt=D||K,mt=I.useRef(),_e=I.useRef(),je=I.useRef(),Ye=I.useRef(),[$e,Ne]=Ix({controlled:se,default:!1,name:"Tooltip",state:"open"});let Rt=$e;const ct=b5(Y),Ae=I.useRef(),ot=I.useCallback(()=>{Ae.current!==void 0&&(document.body.style.WebkitUserSelect=Ae.current,Ae.current=void 0),clearTimeout(Ye.current)},[]);I.useEffect(()=>()=>{clearTimeout(mt.current),clearTimeout(_e.current),clearTimeout(je.current),ot()},[ot]);const $t=Qt=>{clearTimeout(eL),Qw=!0,Ne(!0),ue&&!Rt&&ue(Qt)},Re=Zi(Qt=>{clearTimeout(eL),eL=setTimeout(()=>{Qw=!1},800+J),Ne(!1),ce&&Rt&&ce(Qt),clearTimeout(mt.current),mt.current=setTimeout(()=>{it.current=!1},Qe.transitions.duration.shortest)}),Ue=Qt=>{it.current&&Qt.type!=="touchstart"||(at&&at.removeAttribute("title"),clearTimeout(_e.current),clearTimeout(je.current),j||Qw&&V?_e.current=setTimeout(()=>{$t(Qt)},Qw?V:j):$t(Qt))},yt=Qt=>{clearTimeout(_e.current),clearTimeout(je.current),je.current=setTimeout(()=>{Re(Qt)},J)},{isFocusVisibleRef:Wt,onBlur:pn,onFocus:$r,ref:Or}=x5(),[,Mr]=I.useState(!1),Fr=Qt=>{pn(Qt),Wt.current===!1&&(Mr(!1),yt(Qt))},Jr=Qt=>{at||Lt(Qt.currentTarget),$r(Qt),Wt.current===!0&&(Mr(!0),Ue(Qt))},Zo=Qt=>{it.current=!0;const vr=be.props;vr.onTouchStart&&vr.onTouchStart(Qt)},$u=Ue,Gs=yt,ac=Qt=>{Zo(Qt),clearTimeout(je.current),clearTimeout(mt.current),ot(),Ae.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Ye.current=setTimeout(()=>{document.body.style.WebkitUserSelect=Ae.current,Ue(Qt)},G)},lc=Qt=>{be.props.onTouchEnd&&be.props.onTouchEnd(Qt),ot(),clearTimeout(je.current),je.current=setTimeout(()=>{Re(Qt)},ie)};I.useEffect(()=>{if(!Rt)return;function Qt(vr){(vr.key==="Escape"||vr.key==="Esc")&&Re(vr)}return document.addEventListener("keydown",Qt),()=>{document.removeEventListener("keydown",Qt)}},[Re,Rt]);const sf=mr(be.ref,Or,Lt,n);!ve&&ve!==0&&(Rt=!1);const es=I.useRef(),af=Qt=>{const vr=be.props;vr.onMouseMove&&vr.onMouseMove(Qt),ub={x:Qt.clientX,y:Qt.clientY},es.current&&es.current.update()},oo={},cc=typeof ve=="string";H?(oo.title=!Rt&&cc&&!z?ve:null,oo["aria-describedby"]=Rt?ct:null):(oo["aria-label"]=cc?ve:null,oo["aria-labelledby"]=Rt&&!cc?ct:null);const Si=$({},oo,me,be.props,{className:Fe(me.className,be.props.className),onTouchStart:Zo,ref:sf},K?{onMouseMove:af}:{}),ts={};F||(Si.onTouchStart=ac,Si.onTouchEnd=lc),z||(Si.onMouseOver=Jw($u,Si.onMouseOver),Si.onMouseLeave=Jw(Gs,Si.onMouseLeave),pt||(ts.onMouseOver=$u,ts.onMouseLeave=Gs)),W||(Si.onFocus=Jw(Jr,Si.onFocus),Si.onBlur=Jw(Fr,Si.onBlur),pt||(ts.onFocus=Jr,ts.onBlur=Fr));const lf=I.useMemo(()=>{var Qt;let vr=[{name:"arrow",enabled:!!Ie,options:{element:Ie,padding:4}}];return(Qt=le.popperOptions)!=null&&Qt.modifiers&&(vr=vr.concat(le.popperOptions.modifiers)),$({},le.popperOptions,{modifiers:vr})},[Ie,le]),ns=$({},R,{isRtl:qe,arrow:k,disableInteractive:pt,placement:Q,PopperComponentProp:ae,touch:it.current}),wa=lbe(ns),Fu=(r=(i=pe.popper)!=null?i:L.Popper)!=null?r:cbe,Hn=(o=(s=(l=pe.transition)!=null?l:L.Transition)!=null?s:ye)!=null?o:IE,Jn=(c=(d=pe.tooltip)!=null?d:L.Tooltip)!=null?c:ube,bl=(f=(h=pe.arrow)!=null?h:L.Arrow)!=null?f:dbe,xl=Bb(Fu,$({},le,(p=he.popper)!=null?p:N.popper,{className:Fe(wa.popper,le==null?void 0:le.className,(g=(v=he.popper)!=null?v:N.popper)==null?void 0:g.className)}),ns),so=Bb(Hn,$({},xe,(y=he.transition)!=null?y:N.transition),ns),xv=Bb(Jn,$({},(S=he.tooltip)!=null?S:N.tooltip,{className:Fe(wa.tooltip,(_=(b=he.tooltip)!=null?b:N.tooltip)==null?void 0:_.className)}),ns),wv=Bb(bl,$({},(x=he.arrow)!=null?x:N.arrow,{className:Fe(wa.arrow,(E=(A=he.arrow)!=null?A:N.arrow)==null?void 0:E.className)}),ns);return C.jsxs(I.Fragment,{children:[I.cloneElement(be,Si),C.jsx(Fu,$({as:ae??EK,placement:Q,anchorEl:K?{getBoundingClientRect:()=>({top:ub.y,left:ub.x,right:ub.x,bottom:ub.y,width:0,height:0})}:at,popperRef:es,open:at?Rt:!1,id:ct,transition:!0},ts,xl,{popperOptions:lf,children:({TransitionProps:Qt})=>C.jsx(Hn,$({timeout:Qe.transitions.duration.shorter},Qt,so,{children:C.jsxs(Jn,$({},xv,{children:[ve,k?C.jsx(bl,$({},wv,{ref:ze})):null]}))}))}))]})}),Kd=fbe;function hbe(e){return _t("MuiSwitch",e)}const pbe=Ct("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),xo=pbe,mbe=["className","color","edge","size","sx"],gbe=e=>{const{classes:t,edge:n,size:r,color:i,checked:o,disabled:s}=e,l={root:["root",n&&`edge${Me(n)}`,`size${Me(r)}`],switchBase:["switchBase",`color${Me(i)}`,o&&"checked",s&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},c=Et(l,hbe,t);return $({},t,c)},vbe=Ee("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${Me(n.edge)}`],t[`size${Me(n.size)}`]]}})(({ownerState:e})=>$({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},e.edge==="start"&&{marginLeft:-8},e.edge==="end"&&{marginRight:-8},e.size==="small"&&{width:40,height:24,padding:7,[`& .${xo.thumb}`]:{width:16,height:16},[`& .${xo.switchBase}`]:{padding:4,[`&.${xo.checked}`]:{transform:"translateX(16px)"}}})),ybe=Ee(RK,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${xo.input}`]:t.input},n.color!=="default"&&t[`color${Me(n.color)}`]]}})(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${xo.checked}`]:{transform:"translateX(20px)"},[`&.${xo.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${xo.checked} + .${xo.track}`]:{opacity:.5},[`&.${xo.disabled} + .${xo.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${xo.input}`]:{left:"-100%",width:"300%"}}),({theme:e,ownerState:t})=>$({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:_n(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${xo.checked}`]:{color:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:_n(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${xo.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t.color}DisabledColor`]:`${e.palette.mode==="light"?Yg(e.palette[t.color].main,.62):Xg(e.palette[t.color].main,.55)}`}},[`&.${xo.checked} + .${xo.track}`]:{backgroundColor:(e.vars||e).palette[t.color].main}})),bbe=Ee("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`})),xbe=Ee("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),wbe=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiSwitch"}),{className:i,color:o="primary",edge:s=!1,size:l="medium",sx:c}=r,d=Le(r,mbe),f=$({},r,{color:o,edge:s,size:l}),h=gbe(f),p=C.jsx(xbe,{className:h.thumb,ownerState:f});return C.jsxs(vbe,{className:Fe(h.root,i),sx:c,ownerState:f,children:[C.jsx(ybe,$({type:"checkbox",icon:p,checkedIcon:p,ref:n,ownerState:f},d,{classes:$({},h,{root:h.switchBase})})),C.jsx(bbe,{className:h.track,ownerState:f})]})}),Tg=wbe;function _be(e){return _t("MuiTab",e)}const Sbe=Ct("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),xh=Sbe,Ebe=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],Cbe=e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:i,icon:o,label:s,selected:l,disabled:c}=e,d={root:["root",o&&s&&"labelIcon",`textColor${Me(n)}`,r&&"fullWidth",i&&"wrapped",l&&"selected",c&&"disabled"],iconWrapper:["iconWrapper"]};return Et(d,_be,t)},Tbe=Ee(Ou,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${Me(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped]}})(({theme:e,ownerState:t})=>$({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:t.iconPosition==="top"||t.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${xh.iconWrapper}`]:$({},t.iconPosition==="top"&&{marginBottom:6},t.iconPosition==="bottom"&&{marginTop:6},t.iconPosition==="start"&&{marginRight:e.spacing(1)},t.iconPosition==="end"&&{marginLeft:e.spacing(1)})},t.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${xh.selected}`]:{opacity:1},[`&.${xh.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.textColor==="primary"&&{color:(e.vars||e).palette.text.secondary,[`&.${xh.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${xh.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.textColor==="secondary"&&{color:(e.vars||e).palette.text.secondary,[`&.${xh.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${xh.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),kbe=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiTab"}),{className:i,disabled:o=!1,disableFocusRipple:s=!1,fullWidth:l,icon:c,iconPosition:d="top",indicator:f,label:h,onChange:p,onClick:g,onFocus:v,selected:y,selectionFollowsFocus:S,textColor:_="inherit",value:b,wrapped:x=!1}=r,E=Le(r,Ebe),A=$({},r,{disabled:o,disableFocusRipple:s,selected:y,icon:!!c,iconPosition:d,label:!!h,fullWidth:l,textColor:_,wrapped:x}),R=Cbe(A),k=c&&h&&I.isValidElement(c)?I.cloneElement(c,{className:Fe(R.iconWrapper,c.props.className)}):c,O=N=>{!y&&p&&p(N,b),g&&g(N)},L=N=>{S&&!y&&p&&p(N,b),v&&v(N)};return C.jsxs(Tbe,$({focusRipple:!s,className:Fe(R.root,i),ref:n,role:"tab","aria-selected":y,disabled:o,onClick:O,onFocus:L,ownerState:A,tabIndex:y?0:-1},E,{children:[d==="top"||d==="start"?C.jsxs(I.Fragment,{children:[k,h]}):C.jsxs(I.Fragment,{children:[h,k]}),f]}))}),Mm=kbe;function Abe(e){return _t("MuiToolbar",e)}Ct("MuiToolbar",["root","gutters","regular","dense"]);const Rbe=["className","component","disableGutters","variant"],Ibe=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Et({root:["root",!n&&"gutters",r]},Abe,t)},Pbe=Ee("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(({theme:e,ownerState:t})=>$({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),Obe=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiToolbar"}),{className:i,component:o="div",disableGutters:s=!1,variant:l="regular"}=r,c=Le(r,Rbe),d=$({},r,{component:o,disableGutters:s,variant:l}),f=Ibe(d);return C.jsx(Pbe,$({as:o,className:Fe(f.root,i),ref:n,ownerState:d},c))}),Mbe=Obe,Dbe=Bt(C.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),Lbe=Bt(C.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function Nbe(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function Bbe(e,t,n,r={},i=()=>{}){const{ease:o=Nbe,duration:s=300}=r;let l=null;const c=t[e];let d=!1;const f=()=>{d=!0},h=p=>{if(d){i(new Error("Animation cancelled"));return}l===null&&(l=p);const g=Math.min(1,(p-l)/s);if(t[e]=o(g)*(n-c)+c,g>=1){requestAnimationFrame(()=>{i(null)});return}requestAnimationFrame(h)};return c===n?(i(new Error("Element already at target position")),f):(requestAnimationFrame(h),f)}const $be=["onChange"],Fbe={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function zbe(e){const{onChange:t}=e,n=Le(e,$be),r=I.useRef(),i=I.useRef(null),o=()=>{r.current=i.current.offsetHeight-i.current.clientHeight};return Ao(()=>{const s=XC(()=>{const c=r.current;o(),c!==r.current&&t(r.current)}),l=bu(i.current);return l.addEventListener("resize",s),()=>{s.clear(),l.removeEventListener("resize",s)}},[t]),I.useEffect(()=>{o(),t(r.current)},[t]),C.jsx("div",$({style:Fbe,ref:i},n))}function jbe(e){return _t("MuiTabScrollButton",e)}const Ube=Ct("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),Hbe=Ube,Wbe=["className","slots","slotProps","direction","orientation","disabled"],Gbe=e=>{const{classes:t,orientation:n,disabled:r}=e;return Et({root:["root",n,r&&"disabled"]},jbe,t)},Vbe=Ee(Ou,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})(({ownerState:e})=>$({width:40,flexShrink:0,opacity:.8,[`&.${Hbe.disabled}`]:{opacity:0}},e.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),qbe=I.forwardRef(function(t,n){var r,i;const o=Tt({props:t,name:"MuiTabScrollButton"}),{className:s,slots:l={},slotProps:c={},direction:d}=o,f=Le(o,Wbe),p=In().direction==="rtl",g=$({isRtl:p},o),v=Gbe(g),y=(r=l.StartScrollButtonIcon)!=null?r:Dbe,S=(i=l.EndScrollButtonIcon)!=null?i:Lbe,_=Wr({elementType:y,externalSlotProps:c.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:g}),b=Wr({elementType:S,externalSlotProps:c.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:g});return C.jsx(Vbe,$({component:"div",className:Fe(v.root,s),ref:n,role:null,ownerState:g,tabIndex:null},f,{children:d==="left"?C.jsx(y,$({},_)):C.jsx(S,$({},b))}))}),Xbe=qbe;function Ybe(e){return _t("MuiTabs",e)}const Kbe=Ct("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),tL=Kbe,Qbe=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],L8=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,N8=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,Zw=(e,t,n)=>{let r=!1,i=n(e,t);for(;i;){if(i===e.firstChild){if(r)return;r=!0}const o=i.disabled||i.getAttribute("aria-disabled")==="true";if(!i.hasAttribute("tabindex")||o)i=n(e,i);else{i.focus();return}}},Jbe=e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:i,scrollableY:o,centered:s,scrollButtonsHideMobile:l,classes:c}=e;return Et({root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",i&&"scrollableX",o&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",s&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",l&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},Ybe,c)},Zbe=Ee("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${tL.scrollButtons}`]:t.scrollButtons},{[`& .${tL.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>$({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${tL.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),exe=Ee("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})(({ownerState:e})=>$({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),txe=Ee("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})(({ownerState:e})=>$({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),nxe=Ee("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>$({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},e.indicatorColor==="primary"&&{backgroundColor:(t.vars||t).palette.primary.main},e.indicatorColor==="secondary"&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),rxe=Ee(zbe)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),B8={},ixe=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiTabs"}),i=In(),o=i.direction==="rtl",{"aria-label":s,"aria-labelledby":l,action:c,centered:d=!1,children:f,className:h,component:p="div",allowScrollButtonsMobile:g=!1,indicatorColor:v="primary",onChange:y,orientation:S="horizontal",ScrollButtonComponent:_=Xbe,scrollButtons:b="auto",selectionFollowsFocus:x,slots:E={},slotProps:A={},TabIndicatorProps:R={},TabScrollButtonProps:k={},textColor:O="primary",value:L,variant:N="standard",visibleScrollbar:H=!1}=r,W=Le(r,Qbe),z=N==="scrollable",D=S==="vertical",F=D?"scrollTop":"scrollLeft",j=D?"top":"left",V=D?"bottom":"right",G=D?"clientHeight":"clientWidth",K=D?"height":"width",Y=$({},r,{component:p,allowScrollButtonsMobile:g,indicatorColor:v,orientation:S,vertical:D,scrollButtons:b,textColor:O,variant:N,visibleScrollbar:H,fixed:!z,hideScrollbar:z&&!H,scrollableX:z&&!D,scrollableY:z&&D,centered:d&&!z,scrollButtonsHideMobile:!g}),J=Jbe(Y),ie=Wr({elementType:E.StartScrollButtonIcon,externalSlotProps:A.startScrollButtonIcon,ownerState:Y}),ce=Wr({elementType:E.EndScrollButtonIcon,externalSlotProps:A.endScrollButtonIcon,ownerState:Y}),[ue,se]=I.useState(!1),[Q,ae]=I.useState(B8),[le,he]=I.useState(!1),[pe,ve]=I.useState(!1),[ye,xe]=I.useState(!1),[me,be]=I.useState({overflow:"hidden",scrollbarWidth:0}),Qe=new Map,qe=I.useRef(null),at=I.useRef(null),Lt=()=>{const Re=qe.current;let Ue;if(Re){const Wt=Re.getBoundingClientRect();Ue={clientWidth:Re.clientWidth,scrollLeft:Re.scrollLeft,scrollTop:Re.scrollTop,scrollLeftNormalized:koe(Re,i.direction),scrollWidth:Re.scrollWidth,top:Wt.top,bottom:Wt.bottom,left:Wt.left,right:Wt.right}}let yt;if(Re&&L!==!1){const Wt=at.current.children;if(Wt.length>0){const pn=Wt[Qe.get(L)];yt=pn?pn.getBoundingClientRect():null}}return{tabsMeta:Ue,tabMeta:yt}},Ie=Zi(()=>{const{tabsMeta:Re,tabMeta:Ue}=Lt();let yt=0,Wt;if(D)Wt="top",Ue&&Re&&(yt=Ue.top-Re.top+Re.scrollTop);else if(Wt=o?"right":"left",Ue&&Re){const $r=o?Re.scrollLeftNormalized+Re.clientWidth-Re.scrollWidth:Re.scrollLeft;yt=(o?-1:1)*(Ue[Wt]-Re[Wt]+$r)}const pn={[Wt]:yt,[K]:Ue?Ue[K]:0};if(isNaN(Q[Wt])||isNaN(Q[K]))ae(pn);else{const $r=Math.abs(Q[Wt]-pn[Wt]),Or=Math.abs(Q[K]-pn[K]);($r>=1||Or>=1)&&ae(pn)}}),ze=(Re,{animation:Ue=!0}={})=>{Ue?Bbe(F,qe.current,Re,{duration:i.transitions.duration.standard}):qe.current[F]=Re},it=Re=>{let Ue=qe.current[F];D?Ue+=Re:(Ue+=Re*(o?-1:1),Ue*=o&&kq()==="reverse"?-1:1),ze(Ue)},pt=()=>{const Re=qe.current[G];let Ue=0;const yt=Array.from(at.current.children);for(let Wt=0;WtRe){Wt===0&&(Ue=Re);break}Ue+=pn[G]}return Ue},mt=()=>{it(-1*pt())},_e=()=>{it(pt())},je=I.useCallback(Re=>{be({overflow:null,scrollbarWidth:Re})},[]),Ye=()=>{const Re={};Re.scrollbarSizeListener=z?C.jsx(rxe,{onChange:je,className:Fe(J.scrollableX,J.hideScrollbar)}):null;const yt=z&&(b==="auto"&&(le||pe)||b===!0);return Re.scrollButtonStart=yt?C.jsx(_,$({slots:{StartScrollButtonIcon:E.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:ie},orientation:S,direction:o?"right":"left",onClick:mt,disabled:!le},k,{className:Fe(J.scrollButtons,k.className)})):null,Re.scrollButtonEnd=yt?C.jsx(_,$({slots:{EndScrollButtonIcon:E.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:ce},orientation:S,direction:o?"left":"right",onClick:_e,disabled:!pe},k,{className:Fe(J.scrollButtons,k.className)})):null,Re},$e=Zi(Re=>{const{tabsMeta:Ue,tabMeta:yt}=Lt();if(!(!yt||!Ue)){if(yt[j]Ue[V]){const Wt=Ue[F]+(yt[V]-Ue[V]);ze(Wt,{animation:Re})}}}),Ne=Zi(()=>{z&&b!==!1&&xe(!ye)});I.useEffect(()=>{const Re=XC(()=>{qe.current&&Ie()}),Ue=bu(qe.current);Ue.addEventListener("resize",Re);let yt;return typeof ResizeObserver<"u"&&(yt=new ResizeObserver(Re),Array.from(at.current.children).forEach(Wt=>{yt.observe(Wt)})),()=>{Re.clear(),Ue.removeEventListener("resize",Re),yt&&yt.disconnect()}},[Ie]),I.useEffect(()=>{const Re=Array.from(at.current.children),Ue=Re.length;if(typeof IntersectionObserver<"u"&&Ue>0&&z&&b!==!1){const yt=Re[0],Wt=Re[Ue-1],pn={root:qe.current,threshold:.99},$r=Jr=>{he(!Jr[0].isIntersecting)},Or=new IntersectionObserver($r,pn);Or.observe(yt);const Mr=Jr=>{ve(!Jr[0].isIntersecting)},Fr=new IntersectionObserver(Mr,pn);return Fr.observe(Wt),()=>{Or.disconnect(),Fr.disconnect()}}},[z,b,ye,f==null?void 0:f.length]),I.useEffect(()=>{se(!0)},[]),I.useEffect(()=>{Ie()}),I.useEffect(()=>{$e(B8!==Q)},[$e,Q]),I.useImperativeHandle(c,()=>({updateIndicator:Ie,updateScrollButtons:Ne}),[Ie,Ne]);const Rt=C.jsx(nxe,$({},R,{className:Fe(J.indicator,R.className),ownerState:Y,style:$({},Q,R.style)}));let ct=0;const Ae=I.Children.map(f,Re=>{if(!I.isValidElement(Re))return null;const Ue=Re.props.value===void 0?ct:Re.props.value;Qe.set(Ue,ct);const yt=Ue===L;return ct+=1,I.cloneElement(Re,$({fullWidth:N==="fullWidth",indicator:yt&&!ue&&Rt,selected:yt,selectionFollowsFocus:x,onChange:y,textColor:O,value:Ue},ct===1&&L===!1&&!Re.props.tabIndex?{tabIndex:0}:{}))}),ot=Re=>{const Ue=at.current,yt=Ar(Ue).activeElement;if(yt.getAttribute("role")!=="tab")return;let pn=S==="horizontal"?"ArrowLeft":"ArrowUp",$r=S==="horizontal"?"ArrowRight":"ArrowDown";switch(S==="horizontal"&&o&&(pn="ArrowRight",$r="ArrowLeft"),Re.key){case pn:Re.preventDefault(),Zw(Ue,yt,N8);break;case $r:Re.preventDefault(),Zw(Ue,yt,L8);break;case"Home":Re.preventDefault(),Zw(Ue,null,L8);break;case"End":Re.preventDefault(),Zw(Ue,null,N8);break}},$t=Ye();return C.jsxs(Zbe,$({className:Fe(J.root,h),ownerState:Y,ref:n,as:p},W,{children:[$t.scrollButtonStart,$t.scrollbarSizeListener,C.jsxs(exe,{className:J.scroller,ownerState:Y,style:{overflow:me.overflow,[D?`margin${o?"Left":"Right"}`:"marginBottom"]:H?void 0:-me.scrollbarWidth},ref:qe,children:[C.jsx(txe,{"aria-label":s,"aria-labelledby":l,"aria-orientation":S==="vertical"?"vertical":null,className:J.flexContainer,ownerState:Y,onKeyDown:ot,ref:at,role:"tablist",children:Ae}),ue&&Rt]}),$t.scrollButtonEnd]}))}),oxe=ixe;function sxe(e){return _t("MuiTextField",e)}Ct("MuiTextField",["root"]);const axe=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],lxe={standard:BK,filled:MK,outlined:WK},cxe=e=>{const{classes:t}=e;return Et({root:["root"]},sxe,t)},uxe=Ee(_ge,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),dxe=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiTextField"}),{autoComplete:i,autoFocus:o=!1,children:s,className:l,color:c="primary",defaultValue:d,disabled:f=!1,error:h=!1,FormHelperTextProps:p,fullWidth:g=!1,helperText:v,id:y,InputLabelProps:S,inputProps:_,InputProps:b,inputRef:x,label:E,maxRows:A,minRows:R,multiline:k=!1,name:O,onBlur:L,onChange:N,onFocus:H,placeholder:W,required:z=!1,rows:D,select:F=!1,SelectProps:j,type:V,value:G,variant:K="outlined"}=r,Y=Le(r,axe),J=$({},r,{autoFocus:o,color:c,disabled:f,error:h,fullWidth:g,multiline:k,required:z,select:F,variant:K}),ie=cxe(J),ce={};K==="outlined"&&(S&&typeof S.shrink<"u"&&(ce.notched=S.shrink),ce.label=E),F&&((!j||!j.native)&&(ce.id=void 0),ce["aria-describedby"]=void 0);const ue=b5(y),se=v&&ue?`${ue}-helper-text`:void 0,Q=E&&ue?`${ue}-label`:void 0,ae=lxe[K],le=C.jsx(ae,$({"aria-describedby":se,autoComplete:i,autoFocus:o,defaultValue:d,fullWidth:g,multiline:k,name:O,rows:D,maxRows:A,minRows:R,type:V,value:G,id:ue,inputRef:x,onBlur:L,onChange:N,onFocus:H,placeholder:W,inputProps:_},ce,b));return C.jsxs(uxe,$({className:Fe(ie.root,l),disabled:f,error:h,fullWidth:g,ref:n,required:z,color:c,variant:K,ownerState:J},Y,{children:[E!=null&&E!==""&&C.jsx(ave,$({htmlFor:ue,id:Q},S,{children:E})),F?C.jsx(v0e,$({"aria-describedby":se,id:ue,labelId:Q,value:G,input:le},j,{children:s})):le,v&&C.jsx($ge,$({id:se},p,{children:v}))]}))}),X1=dxe;function bn({vertical:e,...t}){return C.jsx(dt,{position:"relative",height:"100%",width:"100%",display:"flex",flexDirection:e?"column":"row",...t})}const VK=Bt(C.jsx("path",{d:"M22 11V3h-7v3H9V3H2v8h7V8h2v10h4v3h7v-8h-7v3h-2V8h2v3h7zM7 9H4V5h3v4zm10 6h3v4h-3v-4zm0-10h3v4h-3V5z"}),"AccountTreeOutlined"),fxe=Bt(C.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add"),hxe=Bt(C.jsx("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}),"ArrowBack"),pxe=Bt(C.jsx("path",{d:"M6 7c0 .55.45 1 1 1h7.59l-8.88 8.88c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L16 9.41V17c0 .55.45 1 1 1s1-.45 1-1V7c0-.55-.45-1-1-1H7c-.55 0-1 .45-1 1z"}),"ArrowOutwardRounded"),mxe=Bt(C.jsx("path",{d:"M10 9c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zM7 9.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm3 7c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm-3-3c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm3-6c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zM14 9c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-1.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zm3 6c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm0-4c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm2-3.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm0-3.5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1z"}),"BlurCircularOutlined"),gxe=Bt(C.jsx("path",{d:"M6 13c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-8c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-3 .5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zM6 5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm15 5.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zM14 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0-3.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zm-11 10c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm7 7c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm0-17c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zM10 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0 5.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm8 .5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-8c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm3 8.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zM14 17c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 3.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm-4-12c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0 8.5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm4-4.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0-4c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5z"}),"BlurOnOutlined"),vxe=Bt(C.jsx("path",{d:"M20 8h-2.81c-.45-.78-1.07-1.45-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5s-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-4 4v3c0 .22-.03.47-.07.7l-.1.65-.37.65c-.72 1.24-2.04 2-3.46 2s-2.74-.77-3.46-2l-.37-.64-.1-.65C8.03 15.48 8 15.23 8 15v-4c0-.23.03-.48.07-.7l.1-.65.37-.65c.3-.52.72-.97 1.21-1.31l.57-.39.74-.18c.31-.08.63-.12.94-.12.32 0 .63.04.95.12l.68.16.61.42c.5.34.91.78 1.21 1.31l.38.65.1.65c.04.22.07.47.07.69v1zm-6 2h4v2h-4zm0-4h4v2h-4z"}),"BugReportOutlined"),yxe=Bt(C.jsx("path",{d:"M17 12c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5 5-2.24 5-5zm-5 3c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3zm-7 0H3v4c0 1.1.9 2 2 2h4v-2H5v-4zM5 5h4V3H5c-1.1 0-2 .9-2 2v4h2V5zm14-2h-4v2h4v4h2V5c0-1.1-.9-2-2-2zm0 16h-4v2h4c1.1 0 2-.9 2-2v-4h-2v4z"}),"CenterFocusStrongOutlined"),bxe=Bt(C.jsx("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z"}),"ChevronRightOutlined"),xxe=Bt(C.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"}),"ClearOutlined"),qK=Bt(C.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"}),"CloseOutlined"),wxe=Bt(C.jsx("path",{d:"M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"}),"CodeOutlined"),_xe=Bt(C.jsx("path",{d:"M3 5v4h2V5h4V3H5c-1.1 0-2 .9-2 2zm2 10H3v4c0 1.1.9 2 2 2h4v-2H5v-4zm14 4h-4v2h4c1.1 0 2-.9 2-2v-4h-2v4zm0-16h-4v2h4v4h2V5c0-1.1-.9-2-2-2z"}),"CropFreeOutlined"),Sxe=Bt(C.jsx("path",{d:"M20 9H4v2h16V9zM4 15h16v-2H4v2z"}),"DragHandleOutlined"),ok=Bt(C.jsx("path",{d:"m14.06 9.02.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z"}),"EditOutlined"),Exe=Bt(C.jsx("circle",{cx:"12",cy:"12",r:"8"}),"FiberManualRecord"),XK=Bt(C.jsx("path",{d:"M15 22H6c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h8l6 6v6h-2V9h-5V4H6v16h9v2zm4-.34v-2.24l2.95 2.95 1.41-1.41L20.41 18h2.24v-2H17v5.66h2z"}),"FileOpenOutlined"),Cxe=Bt(C.jsx("path",{d:"M12 1.27a11 11 0 00-3.48 21.46c.55.09.73-.28.73-.55v-1.84c-3.03.64-3.67-1.46-3.67-1.46-.55-1.29-1.28-1.65-1.28-1.65-.92-.65.1-.65.1-.65 1.1 0 1.73 1.1 1.73 1.1.92 1.65 2.57 1.2 3.21.92a2 2 0 01.64-1.47c-2.47-.27-5.04-1.19-5.04-5.5 0-1.1.46-2.1 1.2-2.84a3.76 3.76 0 010-2.93s.91-.28 3.11 1.1c1.8-.49 3.7-.49 5.5 0 2.1-1.38 3.02-1.1 3.02-1.1a3.76 3.76 0 010 2.93c.83.74 1.2 1.74 1.2 2.94 0 4.21-2.57 5.13-5.04 5.4.45.37.82.92.82 2.02v3.03c0 .27.1.64.73.55A11 11 0 0012 1.27"}),"GitHub"),Txe=Bt(C.jsx("path",{d:"M2.81 2.81 1.39 4.22l2.27 2.27C2.61 8.07 2 9.96 2 12c0 5.52 4.48 10 10 10 2.04 0 3.93-.61 5.51-1.66l2.27 2.27 1.41-1.41L2.81 2.81zM12 20c-4.41 0-8-3.59-8-8 0-1.48.41-2.86 1.12-4.06l10.94 10.94C14.86 19.59 13.48 20 12 20zM7.94 5.12 6.49 3.66C8.07 2.61 9.96 2 12 2c5.52 0 10 4.48 10 10 0 2.04-.61 3.93-1.66 5.51l-1.46-1.46C19.59 14.86 20 13.48 20 12c0-4.41-3.59-8-8-8-1.48 0-2.86.41-4.06 1.12z"}),"HideSourceOutlined"),kxe=Bt(C.jsx("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"InfoOutlined"),Axe=Bt(C.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"}),"KeyboardArrowDownOutlined"),Rxe=Bt(C.jsx("path",{d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16zM16 17H5V7h11l3.55 5L16 17z"}),"LabelOutlined"),tv=Bt(C.jsx("path",{d:"m11.99 18.54-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27L12 16zm0-11.47L17.74 9 12 13.47 6.26 9 12 4.53z"}),"LayersOutlined"),YK=Bt(C.jsx("path",{d:"M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7zm-4 6h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z"}),"ListOutlined"),Ixe=Bt(C.jsx("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreVertOutlined"),Pxe=Bt(C.jsx("path",{d:"M6 19h4V5H6v14zm8-14v14h4V5h-4z"}),"PauseOutlined"),Oxe=Bt(C.jsx("path",{d:"M12 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm6-1.8C18 6.57 15.35 4 12 4s-6 2.57-6 6.2c0 2.34 1.95 5.44 6 9.14 4.05-3.7 6-6.8 6-9.14zM12 2c4.2 0 8 3.22 8 8.2 0 3.32-2.67 7.25-8 11.8-5.33-4.55-8-8.48-8-11.8C4 5.22 7.8 2 12 2z"}),"PlaceOutlined"),Mxe=Bt(C.jsx("path",{d:"M10 8.64 15.27 12 10 15.36V8.64M8 5v14l11-7L8 5z"}),"PlayArrowOutlined"),KK=Bt(C.jsx("path",{d:"M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8z"}),"ReplayOutlined"),Dxe=Bt(C.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"SearchOutlined"),Lxe=Bt(C.jsx("path",{d:"M19.43 12.98c.04-.32.07-.64.07-.98 0-.34-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.09-.16-.26-.25-.44-.25-.06 0-.12.01-.17.03l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.06-.02-.12-.03-.18-.03-.17 0-.34.09-.43.25l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98 0 .33.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.09.16.26.25.44.25.06 0 .12-.01.17-.03l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.06.02.12.03.18.03.17 0 .34-.09.43-.25l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zm-1.98-1.71c.04.31.05.52.05.73 0 .21-.02.43-.05.73l-.14 1.13.89.7 1.08.84-.7 1.21-1.27-.51-1.04-.42-.9.68c-.43.32-.84.56-1.25.73l-1.06.43-.16 1.13-.2 1.35h-1.4l-.19-1.35-.16-1.13-1.06-.43c-.43-.18-.83-.41-1.23-.71l-.91-.7-1.06.43-1.27.51-.7-1.21 1.08-.84.89-.7-.14-1.13c-.03-.31-.05-.54-.05-.74s.02-.43.05-.73l.14-1.13-.89-.7-1.08-.84.7-1.21 1.27.51 1.04.42.9-.68c.43-.32.84-.56 1.25-.73l1.06-.43.16-1.13.2-1.35h1.39l.19 1.35.16 1.13 1.06.43c.43.18.83.41 1.23.71l.91.7 1.06-.43 1.27-.51.7 1.21-1.07.85-.89.7.14 1.13zM12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"}),"SettingsOutlined"),Nxe=Bt(C.jsx("path",{d:"m6 18 8.5-6L6 6v12zm2-8.14L11.03 12 8 14.14V9.86zM16 6h2v12h-2z"}),"SkipNextOutlined"),Bxe=Bt(C.jsx("path",{d:"M6 6h2v12H6zm3.5 6 8.5 6V6l-8.5 6zm6.5 2.14L12.97 12 16 9.86v4.28z"}),"SkipPreviousOutlined"),TS=Bt(C.jsx("path",{d:"M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z"}),"SortOutlined"),$xe=Bt(C.jsx("path",{d:"M16 8v8H8V8h8m2-2H6v12h12V6z"}),"StopOutlined"),Fxe=Bt(C.jsx("path",{d:"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12zm10 6c3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6 2.69 6 6 6z"}),"TripOriginOutlined"),$8=Bt(C.jsx("path",{d:"M19 13H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm0 6H5v-4h14v4zm0-16H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 6H5V5h14v4z"}),"ViewAgendaOutlined"),QK=Bt(C.jsx("path",{d:"M3 4c0-.55.45-1 1-1h2V1H4C2.34 1 1 2.34 1 4v2h2V4zm0 16v-2H1v2c0 1.66 1.34 3 3 3h2v-2H4c-.55 0-1-.45-1-1zM20 1h-2v2h2c.55 0 1 .45 1 1v2h2V4c0-1.66-1.34-3-3-3zm1 19c0 .55-.45 1-1 1h-2v2h2c1.66 0 3-1.34 3-3v-2h-2v2zm-2-5.13V9.13c0-.72-.38-1.38-1-1.73l-5-2.88c-.31-.18-.65-.27-1-.27s-.69.09-1 .27L6 7.39c-.62.36-1 1.02-1 1.74v5.74c0 .72.38 1.38 1 1.73l5 2.88c.31.18.65.27 1 .27s.69-.09 1-.27l5-2.88c.62-.35 1-1.01 1-1.73zm-8 2.3-4-2.3v-4.63l4 2.33v4.6zm1-6.33L8.04 8.53 12 6.25l3.96 2.28L12 10.84zm5 4.03-4 2.3v-4.6l4-2.33v4.63z"}),"ViewInArOutlined"),zxe=Bt(C.jsx("path",{d:"M12 6c3.79 0 7.17 2.13 8.82 5.5C19.17 14.87 15.79 17 12 17s-7.17-2.13-8.82-5.5C4.83 8.13 8.21 6 12 6m0-2C7 4 2.73 7.11 1 11.5 2.73 15.89 7 19 12 19s9.27-3.11 11-7.5C21.27 7.11 17 4 12 4zm0 5c1.38 0 2.5 1.12 2.5 2.5S13.38 14 12 14s-2.5-1.12-2.5-2.5S10.62 9 12 9m0-2c-2.48 0-4.5 2.02-4.5 4.5S9.52 16 12 16s4.5-2.02 4.5-4.5S14.48 7 12 7z"}),"VisibilityOutlined"),jxe=Bt(C.jsx("path",{d:"m16.66 4.52 2.83 2.83-2.83 2.83-2.83-2.83 2.83-2.83M9 5v4H5V5h4m10 10v4h-4v-4h4M9 15v4H5v-4h4m7.66-13.31L11 7.34 16.66 13l5.66-5.66-5.66-5.65zM11 3H3v8h8V3zm10 10h-8v8h8v-8zm-10 0H3v8h8v-8z"}),"WidgetsOutlined"),V4=Bt(C.jsx("path",{d:"M6 15c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0-2c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm6-8c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0-2C9.8 3 8 4.8 8 7s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm6 12c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0-2c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4z"}),"WorkspacesOutlined");var DE={exports:{}};/**
+ `),_0e,(t.vars||t).palette.action.hover)),E0e=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiSkeleton"}),{animation:i="pulse",className:o,component:s="span",height:l,style:c,variant:d="text",width:f}=r,h=Le(r,b0e),p=$({},r,{animation:i,component:s,variant:d,hasChildren:!!h.children}),g=x0e(p);return C.jsx(S0e,$({as:s,ref:n,className:Fe(g.root,o),ownerState:p},h,{style:$({width:f,height:l},c)}))}),C0e=E0e,T0e=e=>!e||!zl(e),k0e=T0e;function A0e(e){return _t("MuiSlider",e)}const R0e=Ct("MuiSlider",["root","active","colorPrimary","colorSecondary","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),tl=R0e,I0e=e=>{const{open:t}=e;return{offset:Fe(t&&tl.valueLabelOpen),circle:tl.valueLabelCircle,label:tl.valueLabelLabel}};function P0e(e){const{children:t,className:n,value:r}=e,i=I0e(e);return t?I.cloneElement(t,{className:Fe(t.props.className)},C.jsxs(I.Fragment,{children:[t.props.children,C.jsx("span",{className:Fe(i.offset,n),"aria-hidden":!0,children:C.jsx("span",{className:i.circle,children:C.jsx("span",{className:i.label,children:r})})})]})):null}const O0e=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function M8(e){return e}const M0e=Ee("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${Me(n.color)}`],n.size!=="medium"&&t[`size${Me(n.size)}`],n.marked&&t.marked,n.orientation==="vertical"&&t.vertical,n.track==="inverted"&&t.trackInverted,n.track===!1&&t.trackFalse]}})(({theme:e,ownerState:t})=>$({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:(e.vars||e).palette[t.color].main,WebkitTapHighlightColor:"transparent"},t.orientation==="horizontal"&&$({height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}},t.size==="small"&&{height:2},t.marked&&{marginBottom:20}),t.orientation==="vertical"&&$({height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}},t.size==="small"&&{width:2},t.marked&&{marginRight:44}),{"@media print":{colorAdjust:"exact"},[`&.${tl.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${tl.dragging}`]:{[`& .${tl.thumb}, & .${tl.track}`]:{transition:"none"}}})),D0e=Ee("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})(({ownerState:e})=>$({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38},e.orientation==="horizontal"&&{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"},e.orientation==="vertical"&&{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"},e.track==="inverted"&&{opacity:1})),L0e=Ee("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?Yg(e.palette[t.color].main,.62):Xg(e.palette[t.color].main,.5);return $({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest})},t.size==="small"&&{border:"none"},t.orientation==="horizontal"&&{height:"inherit",top:"50%",transform:"translateY(-50%)"},t.orientation==="vertical"&&{width:"inherit",left:"50%",transform:"translateX(-50%)"},t.track===!1&&{display:"none"},t.track==="inverted"&&{backgroundColor:e.vars?e.vars.palette.Slider[`${t.color}Track`]:n,borderColor:e.vars?e.vars.palette.Slider[`${t.color}Track`]:n})}),N0e=Ee("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${Me(n.color)}`],n.size!=="medium"&&t[`thumbSize${Me(n.size)}`]]}})(({theme:e,ownerState:t})=>$({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest})},t.size==="small"&&{width:12,height:12},t.orientation==="horizontal"&&{top:"50%",transform:"translate(-50%, -50%)"},t.orientation==="vertical"&&{left:"50%",transform:"translate(-50%, 50%)"},{"&:before":$({position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},t.size==="small"&&{boxShadow:"none"}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&:hover, &.${tl.focusVisible}`]:{boxShadow:`0px 0px 0px 8px ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.16)`:_n(e.palette[t.color].main,.16)}`,"@media (hover: none)":{boxShadow:"none"}},[`&.${tl.active}`]:{boxShadow:`0px 0px 0px 14px ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.16)`:_n(e.palette[t.color].main,.16)}`},[`&.${tl.disabled}`]:{"&:hover":{boxShadow:"none"}}})),B0e=Ee(P0e,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e,ownerState:t})=>$({[`&.${tl.valueLabelOpen}`]:{transform:`${t.orientation==="vertical"?"translateY(-50%)":"translateY(-100%)"} scale(1)`},zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),transform:`${t.orientation==="vertical"?"translateY(-50%)":"translateY(-100%)"} scale(0)`,position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem"},t.orientation==="horizontal"&&{top:"-10px",transformOrigin:"bottom center","&:before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"}},t.orientation==="vertical"&&{right:t.size==="small"?"20px":"30px",top:"50%",transformOrigin:"right center","&:before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"}},t.size==="small"&&{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"})),$0e=Ee("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>F5(e)&&e!=="markActive",overridesResolver:(e,t)=>{const{markActive:n}=e;return[t.mark,n&&t.markActive]}})(({theme:e,ownerState:t,markActive:n})=>$({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},t.orientation==="horizontal"&&{top:"50%",transform:"translate(-1px, -50%)"},t.orientation==="vertical"&&{left:"50%",transform:"translate(-50%, 1px)"},n&&{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8})),F0e=Ee("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>F5(e)&&e!=="markLabelActive",overridesResolver:(e,t)=>t.markLabel})(({theme:e,ownerState:t,markLabelActive:n})=>$({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap"},t.orientation==="horizontal"&&{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}},t.orientation==="vertical"&&{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}},n&&{color:(e.vars||e).palette.text.primary})),z0e=e=>{const{disabled:t,dragging:n,marked:r,orientation:i,track:o,classes:s,color:l,size:c}=e,d={root:["root",t&&"disabled",n&&"dragging",r&&"marked",i==="vertical"&&"vertical",o==="inverted"&&"trackInverted",o===!1&&"trackFalse",l&&`color${Me(l)}`,c&&`size${Me(c)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",c&&`thumbSize${Me(c)}`,l&&`thumbColor${Me(l)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return Et(d,A0e,s)},j0e=({children:e})=>e,U0e=I.forwardRef(function(t,n){var r,i,o,s,l,c,d,f,h,p,g,v,y,S,_,b,x,E,A,R,k,O,L,N;const H=Tt({props:t,name:"MuiSlider"}),z=In().direction==="rtl",{"aria-label":D,"aria-valuetext":F,"aria-labelledby":j,component:V="span",components:G={},componentsProps:K={},color:Y="primary",classes:J,className:ie,disableSwap:ce=!1,disabled:ue=!1,getAriaLabel:se,getAriaValueText:Q,marks:ae=!1,max:le=100,min:he=0,orientation:pe="horizontal",size:ve="medium",step:ye=1,scale:xe=M8,slotProps:me,slots:be,track:Qe="normal",valueLabelDisplay:qe="off",valueLabelFormat:at=M8}=H,Lt=Le(H,O0e),Ie=$({},H,{isRtl:z,max:le,min:he,classes:J,disabled:ue,disableSwap:ce,orientation:pe,marks:ae,color:Y,size:ve,step:ye,scale:xe,track:Qe,valueLabelDisplay:qe,valueLabelFormat:at}),{axisProps:ze,getRootProps:it,getHiddenInputProps:pt,getThumbProps:mt,open:_e,active:je,axis:Ye,focusedThumbIndex:$e,range:Ne,dragging:Rt,marks:ct,values:Ae,trackOffset:ot,trackLeap:$t,getThumbStyle:Re}=Zhe($({},Ie,{rootRef:n}));Ie.marked=ct.length>0&&ct.some(Hn=>Hn.label),Ie.dragging=Rt,Ie.focusedThumbIndex=$e;const Ue=z0e(Ie),yt=(r=(i=be==null?void 0:be.root)!=null?i:G.Root)!=null?r:M0e,Wt=(o=(s=be==null?void 0:be.rail)!=null?s:G.Rail)!=null?o:D0e,pn=(l=(c=be==null?void 0:be.track)!=null?c:G.Track)!=null?l:L0e,$r=(d=(f=be==null?void 0:be.thumb)!=null?f:G.Thumb)!=null?d:N0e,Or=(h=(p=be==null?void 0:be.valueLabel)!=null?p:G.ValueLabel)!=null?h:B0e,Mr=(g=(v=be==null?void 0:be.mark)!=null?v:G.Mark)!=null?g:$0e,Fr=(y=(S=be==null?void 0:be.markLabel)!=null?S:G.MarkLabel)!=null?y:F0e,Jr=(_=(b=be==null?void 0:be.input)!=null?b:G.Input)!=null?_:"input",Zo=(x=me==null?void 0:me.root)!=null?x:K.root,$u=(E=me==null?void 0:me.rail)!=null?E:K.rail,Gs=(A=me==null?void 0:me.track)!=null?A:K.track,ac=(R=me==null?void 0:me.thumb)!=null?R:K.thumb,lc=(k=me==null?void 0:me.valueLabel)!=null?k:K.valueLabel,sf=(O=me==null?void 0:me.mark)!=null?O:K.mark,es=(L=me==null?void 0:me.markLabel)!=null?L:K.markLabel,af=(N=me==null?void 0:me.input)!=null?N:K.input,so=Wr({elementType:yt,getSlotProps:it,externalSlotProps:Zo,externalForwardedProps:Lt,additionalProps:$({},k0e(yt)&&{as:V}),ownerState:$({},Ie,Zo==null?void 0:Zo.ownerState),className:[Ue.root,ie]}),cc=Wr({elementType:Wt,externalSlotProps:$u,ownerState:Ie,className:Ue.rail}),Si=Wr({elementType:pn,externalSlotProps:Gs,additionalProps:{style:$({},ze[Ye].offset(ot),ze[Ye].leap($t))},ownerState:$({},Ie,Gs==null?void 0:Gs.ownerState),className:Ue.track}),ts=Wr({elementType:$r,getSlotProps:mt,externalSlotProps:ac,ownerState:$({},Ie,ac==null?void 0:ac.ownerState),className:Ue.thumb}),lf=Wr({elementType:Or,externalSlotProps:lc,ownerState:$({},Ie,lc==null?void 0:lc.ownerState),className:Ue.valueLabel}),ns=Wr({elementType:Mr,externalSlotProps:sf,ownerState:Ie,className:Ue.mark}),wa=Wr({elementType:Fr,externalSlotProps:es,ownerState:Ie,className:Ue.markLabel}),Fu=Wr({elementType:Jr,getSlotProps:pt,externalSlotProps:af,ownerState:Ie});return C.jsxs(yt,$({},so,{children:[C.jsx(Wt,$({},cc)),C.jsx(pn,$({},Si)),ct.filter(Hn=>Hn.value>=he&&Hn.value<=le).map((Hn,Jn)=>{const bl=AE(Hn.value,he,le),xl=ze[Ye].offset(bl);let ao;return Qe===!1?ao=Ae.indexOf(Hn.value)!==-1:ao=Qe==="normal"&&(Ne?Hn.value>=Ae[0]&&Hn.value<=Ae[Ae.length-1]:Hn.value<=Ae[0])||Qe==="inverted"&&(Ne?Hn.value<=Ae[0]||Hn.value>=Ae[Ae.length-1]:Hn.value>=Ae[0]),C.jsxs(I.Fragment,{children:[C.jsx(Mr,$({"data-index":Jn},ns,!zl(Mr)&&{markActive:ao},{style:$({},xl,ns.style),className:Fe(ns.className,ao&&Ue.markActive)})),Hn.label!=null?C.jsx(Fr,$({"aria-hidden":!0,"data-index":Jn},wa,!zl(Fr)&&{markLabelActive:ao},{style:$({},xl,wa.style),className:Fe(Ue.markLabel,wa.className,ao&&Ue.markLabelActive),children:Hn.label})):null]},Jn)}),Ae.map((Hn,Jn)=>{const bl=AE(Hn,he,le),xl=ze[Ye].offset(bl),ao=qe==="off"?j0e:Or;return C.jsx(ao,$({},!zl(ao)&&{valueLabelFormat:at,valueLabelDisplay:qe,value:typeof at=="function"?at(xe(Hn),Jn):at,index:Jn,open:_e===Jn||je===Jn||qe==="on",disabled:ue},lf,{children:C.jsx($r,$({"data-index":Jn},ts,{className:Fe(Ue.thumb,ts.className,je===Jn&&Ue.active,$e===Jn&&Ue.focusVisible),style:$({},xl,Re(Jn),ts.style),children:C.jsx(Jr,$({"data-index":Jn,"aria-label":se?se(Jn):D,"aria-valuenow":xe(Hn),"aria-labelledby":j,"aria-valuetext":Q?Q(xe(Hn),Jn):F,value:Ae[Jn]},Fu))}))}),Jn)})]}))}),H0e=U0e;function W0e(e){return _t("MuiSnackbarContent",e)}Ct("MuiSnackbarContent",["root","message","action"]);const G0e=["action","className","message","role"],V0e=e=>{const{classes:t}=e;return Et({root:["root"],action:["action"],message:["message"]},W0e,t)},q0e=Ee(Zg,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=nle(e.palette.background.default,t);return $({},e.typography.body2,{color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})}),X0e=Ee("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),Y0e=Ee("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),K0e=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiSnackbarContent"}),{action:i,className:o,message:s,role:l="alert"}=r,c=Le(r,G0e),d=r,f=V0e(d);return C.jsxs(q0e,$({role:l,square:!0,elevation:6,className:Fe(f.root,o),ownerState:d,ref:n},c,{children:[C.jsx(X0e,{className:f.message,ownerState:d,children:s}),i?C.jsx(Y0e,{className:f.action,ownerState:d,children:i}):null]}))}),Q0e=K0e;function J0e(e){return _t("MuiSnackbar",e)}Ct("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const Z0e=["onEnter","onExited"],ebe=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],tbe=e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${Me(n.vertical)}${Me(n.horizontal)}`]};return Et(r,J0e,t)},D8=Ee("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${Me(n.anchorOrigin.vertical)}${Me(n.anchorOrigin.horizontal)}`]]}})(({theme:e,ownerState:t})=>{const n={left:"50%",right:"auto",transform:"translateX(-50%)"};return $({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},t.anchorOrigin.vertical==="top"?{top:8}:{bottom:8},t.anchorOrigin.horizontal==="left"&&{justifyContent:"flex-start"},t.anchorOrigin.horizontal==="right"&&{justifyContent:"flex-end"},{[e.breakpoints.up("sm")]:$({},t.anchorOrigin.vertical==="top"?{top:24}:{bottom:24},t.anchorOrigin.horizontal==="center"&&n,t.anchorOrigin.horizontal==="left"&&{left:24,right:"auto"},t.anchorOrigin.horizontal==="right"&&{right:24,left:"auto"})})}),nbe=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiSnackbar"}),i=In(),o={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{action:s,anchorOrigin:{vertical:l,horizontal:c}={vertical:"bottom",horizontal:"left"},autoHideDuration:d=null,children:f,className:h,ClickAwayListenerProps:p,ContentProps:g,disableWindowBlurListener:v=!1,message:y,open:S,TransitionComponent:_=IE,transitionDuration:b=o,TransitionProps:{onEnter:x,onExited:E}={}}=r,A=Le(r.TransitionProps,Z0e),R=Le(r,ebe),k=$({},r,{anchorOrigin:{vertical:l,horizontal:c},autoHideDuration:d,disableWindowBlurListener:v,TransitionComponent:_,transitionDuration:b}),O=tbe(k),{getRootProps:L,onClickAway:N}=epe($({},k)),[H,W]=I.useState(!0),z=Wr({elementType:D8,getSlotProps:L,externalForwardedProps:R,ownerState:k,additionalProps:{ref:n},className:[O.root,h]}),D=j=>{W(!0),E&&E(j)},F=(j,V)=>{W(!1),x&&x(j,V)};return!S&&H?null:C.jsx(pfe,$({onClickAway:N},p,{children:C.jsx(D8,$({},z,{children:C.jsx(_,$({appear:!0,in:S,timeout:b,direction:l==="top"?"down":"up",onEnter:F,onExited:D},A,{children:f||C.jsx(Q0e,$({message:y,action:s},g))}))}))}))}),rbe=nbe;function ibe(e){return _t("MuiTooltip",e)}const obe=Ct("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),dd=obe,sbe=["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 abe(e){return Math.round(e*1e5)/1e5}const lbe=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:i,placement:o}=e,s={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",i&&"touch",`tooltipPlacement${Me(o.split("-")[0])}`],arrow:["arrow"]};return Et(s,ibe,t)},cbe=Ee(EK,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(({theme:e,ownerState:t,open:n})=>$({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${dd.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${dd.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${dd.arrow}`]:$({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${dd.arrow}`]:$({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),ube=Ee("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${Me(n.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>$({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:_n(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${abe(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${dd.popper}[data-popper-placement*="left"] &`]:$({transformOrigin:"right center"},t.isRtl?$({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):$({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${dd.popper}[data-popper-placement*="right"] &`]:$({transformOrigin:"left center"},t.isRtl?$({marginRight:"14px"},t.touch&&{marginRight:"24px"}):$({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${dd.popper}[data-popper-placement*="top"] &`]:$({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${dd.popper}[data-popper-placement*="bottom"] &`]:$({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),dbe=Ee("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:_n(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let Qw=!1,eL=null,ub={x:0,y:0};function Jw(e,t){return n=>{t&&t(n),e(n)}}const fbe=I.forwardRef(function(t,n){var r,i,o,s,l,c,d,f,h,p,g,v,y,S,_,b,x,E,A;const R=Tt({props:t,name:"MuiTooltip"}),{arrow:k=!1,children:O,components:L={},componentsProps:N={},describeChild:H=!1,disableFocusListener:W=!1,disableHoverListener:z=!1,disableInteractive:D=!1,disableTouchListener:F=!1,enterDelay:j=100,enterNextDelay:V=0,enterTouchDelay:G=700,followCursor:K=!1,id:Y,leaveDelay:J=0,leaveTouchDelay:ie=1500,onClose:ce,onOpen:ue,open:se,placement:Q="bottom",PopperComponent:ae,PopperProps:le={},slotProps:he={},slots:pe={},title:ve,TransitionComponent:ye=IE,TransitionProps:xe}=R,me=Le(R,sbe),be=I.isValidElement(O)?O:C.jsx("span",{children:O}),Qe=In(),qe=Qe.direction==="rtl",[at,Lt]=I.useState(),[Ie,ze]=I.useState(null),it=I.useRef(!1),pt=D||K,mt=I.useRef(),_e=I.useRef(),je=I.useRef(),Ye=I.useRef(),[$e,Ne]=Ix({controlled:se,default:!1,name:"Tooltip",state:"open"});let Rt=$e;const ct=b5(Y),Ae=I.useRef(),ot=I.useCallback(()=>{Ae.current!==void 0&&(document.body.style.WebkitUserSelect=Ae.current,Ae.current=void 0),clearTimeout(Ye.current)},[]);I.useEffect(()=>()=>{clearTimeout(mt.current),clearTimeout(_e.current),clearTimeout(je.current),ot()},[ot]);const $t=Qt=>{clearTimeout(eL),Qw=!0,Ne(!0),ue&&!Rt&&ue(Qt)},Re=eo(Qt=>{clearTimeout(eL),eL=setTimeout(()=>{Qw=!1},800+J),Ne(!1),ce&&Rt&&ce(Qt),clearTimeout(mt.current),mt.current=setTimeout(()=>{it.current=!1},Qe.transitions.duration.shortest)}),Ue=Qt=>{it.current&&Qt.type!=="touchstart"||(at&&at.removeAttribute("title"),clearTimeout(_e.current),clearTimeout(je.current),j||Qw&&V?_e.current=setTimeout(()=>{$t(Qt)},Qw?V:j):$t(Qt))},yt=Qt=>{clearTimeout(_e.current),clearTimeout(je.current),je.current=setTimeout(()=>{Re(Qt)},J)},{isFocusVisibleRef:Wt,onBlur:pn,onFocus:$r,ref:Or}=x5(),[,Mr]=I.useState(!1),Fr=Qt=>{pn(Qt),Wt.current===!1&&(Mr(!1),yt(Qt))},Jr=Qt=>{at||Lt(Qt.currentTarget),$r(Qt),Wt.current===!0&&(Mr(!0),Ue(Qt))},Zo=Qt=>{it.current=!0;const vr=be.props;vr.onTouchStart&&vr.onTouchStart(Qt)},$u=Ue,Gs=yt,ac=Qt=>{Zo(Qt),clearTimeout(je.current),clearTimeout(mt.current),ot(),Ae.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Ye.current=setTimeout(()=>{document.body.style.WebkitUserSelect=Ae.current,Ue(Qt)},G)},lc=Qt=>{be.props.onTouchEnd&&be.props.onTouchEnd(Qt),ot(),clearTimeout(je.current),je.current=setTimeout(()=>{Re(Qt)},ie)};I.useEffect(()=>{if(!Rt)return;function Qt(vr){(vr.key==="Escape"||vr.key==="Esc")&&Re(vr)}return document.addEventListener("keydown",Qt),()=>{document.removeEventListener("keydown",Qt)}},[Re,Rt]);const sf=mr(be.ref,Or,Lt,n);!ve&&ve!==0&&(Rt=!1);const es=I.useRef(),af=Qt=>{const vr=be.props;vr.onMouseMove&&vr.onMouseMove(Qt),ub={x:Qt.clientX,y:Qt.clientY},es.current&&es.current.update()},so={},cc=typeof ve=="string";H?(so.title=!Rt&&cc&&!z?ve:null,so["aria-describedby"]=Rt?ct:null):(so["aria-label"]=cc?ve:null,so["aria-labelledby"]=Rt&&!cc?ct:null);const Si=$({},so,me,be.props,{className:Fe(me.className,be.props.className),onTouchStart:Zo,ref:sf},K?{onMouseMove:af}:{}),ts={};F||(Si.onTouchStart=ac,Si.onTouchEnd=lc),z||(Si.onMouseOver=Jw($u,Si.onMouseOver),Si.onMouseLeave=Jw(Gs,Si.onMouseLeave),pt||(ts.onMouseOver=$u,ts.onMouseLeave=Gs)),W||(Si.onFocus=Jw(Jr,Si.onFocus),Si.onBlur=Jw(Fr,Si.onBlur),pt||(ts.onFocus=Jr,ts.onBlur=Fr));const lf=I.useMemo(()=>{var Qt;let vr=[{name:"arrow",enabled:!!Ie,options:{element:Ie,padding:4}}];return(Qt=le.popperOptions)!=null&&Qt.modifiers&&(vr=vr.concat(le.popperOptions.modifiers)),$({},le.popperOptions,{modifiers:vr})},[Ie,le]),ns=$({},R,{isRtl:qe,arrow:k,disableInteractive:pt,placement:Q,PopperComponentProp:ae,touch:it.current}),wa=lbe(ns),Fu=(r=(i=pe.popper)!=null?i:L.Popper)!=null?r:cbe,Hn=(o=(s=(l=pe.transition)!=null?l:L.Transition)!=null?s:ye)!=null?o:IE,Jn=(c=(d=pe.tooltip)!=null?d:L.Tooltip)!=null?c:ube,bl=(f=(h=pe.arrow)!=null?h:L.Arrow)!=null?f:dbe,xl=Bb(Fu,$({},le,(p=he.popper)!=null?p:N.popper,{className:Fe(wa.popper,le==null?void 0:le.className,(g=(v=he.popper)!=null?v:N.popper)==null?void 0:g.className)}),ns),ao=Bb(Hn,$({},xe,(y=he.transition)!=null?y:N.transition),ns),xv=Bb(Jn,$({},(S=he.tooltip)!=null?S:N.tooltip,{className:Fe(wa.tooltip,(_=(b=he.tooltip)!=null?b:N.tooltip)==null?void 0:_.className)}),ns),wv=Bb(bl,$({},(x=he.arrow)!=null?x:N.arrow,{className:Fe(wa.arrow,(E=(A=he.arrow)!=null?A:N.arrow)==null?void 0:E.className)}),ns);return C.jsxs(I.Fragment,{children:[I.cloneElement(be,Si),C.jsx(Fu,$({as:ae??EK,placement:Q,anchorEl:K?{getBoundingClientRect:()=>({top:ub.y,left:ub.x,right:ub.x,bottom:ub.y,width:0,height:0})}:at,popperRef:es,open:at?Rt:!1,id:ct,transition:!0},ts,xl,{popperOptions:lf,children:({TransitionProps:Qt})=>C.jsx(Hn,$({timeout:Qe.transitions.duration.shorter},Qt,ao,{children:C.jsxs(Jn,$({},xv,{children:[ve,k?C.jsx(bl,$({},wv,{ref:ze})):null]}))}))}))]})}),Kd=fbe;function hbe(e){return _t("MuiSwitch",e)}const pbe=Ct("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),wo=pbe,mbe=["className","color","edge","size","sx"],gbe=e=>{const{classes:t,edge:n,size:r,color:i,checked:o,disabled:s}=e,l={root:["root",n&&`edge${Me(n)}`,`size${Me(r)}`],switchBase:["switchBase",`color${Me(i)}`,o&&"checked",s&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},c=Et(l,hbe,t);return $({},t,c)},vbe=Ee("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${Me(n.edge)}`],t[`size${Me(n.size)}`]]}})(({ownerState:e})=>$({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},e.edge==="start"&&{marginLeft:-8},e.edge==="end"&&{marginRight:-8},e.size==="small"&&{width:40,height:24,padding:7,[`& .${wo.thumb}`]:{width:16,height:16},[`& .${wo.switchBase}`]:{padding:4,[`&.${wo.checked}`]:{transform:"translateX(16px)"}}})),ybe=Ee(RK,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${wo.input}`]:t.input},n.color!=="default"&&t[`color${Me(n.color)}`]]}})(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${wo.checked}`]:{transform:"translateX(20px)"},[`&.${wo.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${wo.checked} + .${wo.track}`]:{opacity:.5},[`&.${wo.disabled} + .${wo.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${wo.input}`]:{left:"-100%",width:"300%"}}),({theme:e,ownerState:t})=>$({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:_n(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${wo.checked}`]:{color:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:_n(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${wo.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t.color}DisabledColor`]:`${e.palette.mode==="light"?Yg(e.palette[t.color].main,.62):Xg(e.palette[t.color].main,.55)}`}},[`&.${wo.checked} + .${wo.track}`]:{backgroundColor:(e.vars||e).palette[t.color].main}})),bbe=Ee("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`})),xbe=Ee("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),wbe=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiSwitch"}),{className:i,color:o="primary",edge:s=!1,size:l="medium",sx:c}=r,d=Le(r,mbe),f=$({},r,{color:o,edge:s,size:l}),h=gbe(f),p=C.jsx(xbe,{className:h.thumb,ownerState:f});return C.jsxs(vbe,{className:Fe(h.root,i),sx:c,ownerState:f,children:[C.jsx(ybe,$({type:"checkbox",icon:p,checkedIcon:p,ref:n,ownerState:f},d,{classes:$({},h,{root:h.switchBase})})),C.jsx(bbe,{className:h.track,ownerState:f})]})}),Tg=wbe;function _be(e){return _t("MuiTab",e)}const Sbe=Ct("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),xh=Sbe,Ebe=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],Cbe=e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:i,icon:o,label:s,selected:l,disabled:c}=e,d={root:["root",o&&s&&"labelIcon",`textColor${Me(n)}`,r&&"fullWidth",i&&"wrapped",l&&"selected",c&&"disabled"],iconWrapper:["iconWrapper"]};return Et(d,_be,t)},Tbe=Ee(Ou,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${Me(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped]}})(({theme:e,ownerState:t})=>$({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:t.iconPosition==="top"||t.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${xh.iconWrapper}`]:$({},t.iconPosition==="top"&&{marginBottom:6},t.iconPosition==="bottom"&&{marginTop:6},t.iconPosition==="start"&&{marginRight:e.spacing(1)},t.iconPosition==="end"&&{marginLeft:e.spacing(1)})},t.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${xh.selected}`]:{opacity:1},[`&.${xh.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.textColor==="primary"&&{color:(e.vars||e).palette.text.secondary,[`&.${xh.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${xh.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.textColor==="secondary"&&{color:(e.vars||e).palette.text.secondary,[`&.${xh.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${xh.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),kbe=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiTab"}),{className:i,disabled:o=!1,disableFocusRipple:s=!1,fullWidth:l,icon:c,iconPosition:d="top",indicator:f,label:h,onChange:p,onClick:g,onFocus:v,selected:y,selectionFollowsFocus:S,textColor:_="inherit",value:b,wrapped:x=!1}=r,E=Le(r,Ebe),A=$({},r,{disabled:o,disableFocusRipple:s,selected:y,icon:!!c,iconPosition:d,label:!!h,fullWidth:l,textColor:_,wrapped:x}),R=Cbe(A),k=c&&h&&I.isValidElement(c)?I.cloneElement(c,{className:Fe(R.iconWrapper,c.props.className)}):c,O=N=>{!y&&p&&p(N,b),g&&g(N)},L=N=>{S&&!y&&p&&p(N,b),v&&v(N)};return C.jsxs(Tbe,$({focusRipple:!s,className:Fe(R.root,i),ref:n,role:"tab","aria-selected":y,disabled:o,onClick:O,onFocus:L,ownerState:A,tabIndex:y?0:-1},E,{children:[d==="top"||d==="start"?C.jsxs(I.Fragment,{children:[k,h]}):C.jsxs(I.Fragment,{children:[h,k]}),f]}))}),Mm=kbe;function Abe(e){return _t("MuiToolbar",e)}Ct("MuiToolbar",["root","gutters","regular","dense"]);const Rbe=["className","component","disableGutters","variant"],Ibe=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Et({root:["root",!n&&"gutters",r]},Abe,t)},Pbe=Ee("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(({theme:e,ownerState:t})=>$({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),Obe=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiToolbar"}),{className:i,component:o="div",disableGutters:s=!1,variant:l="regular"}=r,c=Le(r,Rbe),d=$({},r,{component:o,disableGutters:s,variant:l}),f=Ibe(d);return C.jsx(Pbe,$({as:o,className:Fe(f.root,i),ref:n,ownerState:d},c))}),Mbe=Obe,Dbe=Bt(C.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),Lbe=Bt(C.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function Nbe(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function Bbe(e,t,n,r={},i=()=>{}){const{ease:o=Nbe,duration:s=300}=r;let l=null;const c=t[e];let d=!1;const f=()=>{d=!0},h=p=>{if(d){i(new Error("Animation cancelled"));return}l===null&&(l=p);const g=Math.min(1,(p-l)/s);if(t[e]=o(g)*(n-c)+c,g>=1){requestAnimationFrame(()=>{i(null)});return}requestAnimationFrame(h)};return c===n?(i(new Error("Element already at target position")),f):(requestAnimationFrame(h),f)}const $be=["onChange"],Fbe={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function zbe(e){const{onChange:t}=e,n=Le(e,$be),r=I.useRef(),i=I.useRef(null),o=()=>{r.current=i.current.offsetHeight-i.current.clientHeight};return Ao(()=>{const s=XC(()=>{const c=r.current;o(),c!==r.current&&t(r.current)}),l=bu(i.current);return l.addEventListener("resize",s),()=>{s.clear(),l.removeEventListener("resize",s)}},[t]),I.useEffect(()=>{o(),t(r.current)},[t]),C.jsx("div",$({style:Fbe,ref:i},n))}function jbe(e){return _t("MuiTabScrollButton",e)}const Ube=Ct("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),Hbe=Ube,Wbe=["className","slots","slotProps","direction","orientation","disabled"],Gbe=e=>{const{classes:t,orientation:n,disabled:r}=e;return Et({root:["root",n,r&&"disabled"]},jbe,t)},Vbe=Ee(Ou,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})(({ownerState:e})=>$({width:40,flexShrink:0,opacity:.8,[`&.${Hbe.disabled}`]:{opacity:0}},e.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),qbe=I.forwardRef(function(t,n){var r,i;const o=Tt({props:t,name:"MuiTabScrollButton"}),{className:s,slots:l={},slotProps:c={},direction:d}=o,f=Le(o,Wbe),p=In().direction==="rtl",g=$({isRtl:p},o),v=Gbe(g),y=(r=l.StartScrollButtonIcon)!=null?r:Dbe,S=(i=l.EndScrollButtonIcon)!=null?i:Lbe,_=Wr({elementType:y,externalSlotProps:c.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:g}),b=Wr({elementType:S,externalSlotProps:c.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:g});return C.jsx(Vbe,$({component:"div",className:Fe(v.root,s),ref:n,role:null,ownerState:g,tabIndex:null},f,{children:d==="left"?C.jsx(y,$({},_)):C.jsx(S,$({},b))}))}),Xbe=qbe;function Ybe(e){return _t("MuiTabs",e)}const Kbe=Ct("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),tL=Kbe,Qbe=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],L8=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,N8=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,Zw=(e,t,n)=>{let r=!1,i=n(e,t);for(;i;){if(i===e.firstChild){if(r)return;r=!0}const o=i.disabled||i.getAttribute("aria-disabled")==="true";if(!i.hasAttribute("tabindex")||o)i=n(e,i);else{i.focus();return}}},Jbe=e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:i,scrollableY:o,centered:s,scrollButtonsHideMobile:l,classes:c}=e;return Et({root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",i&&"scrollableX",o&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",s&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",l&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},Ybe,c)},Zbe=Ee("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${tL.scrollButtons}`]:t.scrollButtons},{[`& .${tL.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>$({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${tL.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),exe=Ee("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})(({ownerState:e})=>$({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),txe=Ee("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})(({ownerState:e})=>$({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),nxe=Ee("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>$({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},e.indicatorColor==="primary"&&{backgroundColor:(t.vars||t).palette.primary.main},e.indicatorColor==="secondary"&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),rxe=Ee(zbe)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),B8={},ixe=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiTabs"}),i=In(),o=i.direction==="rtl",{"aria-label":s,"aria-labelledby":l,action:c,centered:d=!1,children:f,className:h,component:p="div",allowScrollButtonsMobile:g=!1,indicatorColor:v="primary",onChange:y,orientation:S="horizontal",ScrollButtonComponent:_=Xbe,scrollButtons:b="auto",selectionFollowsFocus:x,slots:E={},slotProps:A={},TabIndicatorProps:R={},TabScrollButtonProps:k={},textColor:O="primary",value:L,variant:N="standard",visibleScrollbar:H=!1}=r,W=Le(r,Qbe),z=N==="scrollable",D=S==="vertical",F=D?"scrollTop":"scrollLeft",j=D?"top":"left",V=D?"bottom":"right",G=D?"clientHeight":"clientWidth",K=D?"height":"width",Y=$({},r,{component:p,allowScrollButtonsMobile:g,indicatorColor:v,orientation:S,vertical:D,scrollButtons:b,textColor:O,variant:N,visibleScrollbar:H,fixed:!z,hideScrollbar:z&&!H,scrollableX:z&&!D,scrollableY:z&&D,centered:d&&!z,scrollButtonsHideMobile:!g}),J=Jbe(Y),ie=Wr({elementType:E.StartScrollButtonIcon,externalSlotProps:A.startScrollButtonIcon,ownerState:Y}),ce=Wr({elementType:E.EndScrollButtonIcon,externalSlotProps:A.endScrollButtonIcon,ownerState:Y}),[ue,se]=I.useState(!1),[Q,ae]=I.useState(B8),[le,he]=I.useState(!1),[pe,ve]=I.useState(!1),[ye,xe]=I.useState(!1),[me,be]=I.useState({overflow:"hidden",scrollbarWidth:0}),Qe=new Map,qe=I.useRef(null),at=I.useRef(null),Lt=()=>{const Re=qe.current;let Ue;if(Re){const Wt=Re.getBoundingClientRect();Ue={clientWidth:Re.clientWidth,scrollLeft:Re.scrollLeft,scrollTop:Re.scrollTop,scrollLeftNormalized:koe(Re,i.direction),scrollWidth:Re.scrollWidth,top:Wt.top,bottom:Wt.bottom,left:Wt.left,right:Wt.right}}let yt;if(Re&&L!==!1){const Wt=at.current.children;if(Wt.length>0){const pn=Wt[Qe.get(L)];yt=pn?pn.getBoundingClientRect():null}}return{tabsMeta:Ue,tabMeta:yt}},Ie=eo(()=>{const{tabsMeta:Re,tabMeta:Ue}=Lt();let yt=0,Wt;if(D)Wt="top",Ue&&Re&&(yt=Ue.top-Re.top+Re.scrollTop);else if(Wt=o?"right":"left",Ue&&Re){const $r=o?Re.scrollLeftNormalized+Re.clientWidth-Re.scrollWidth:Re.scrollLeft;yt=(o?-1:1)*(Ue[Wt]-Re[Wt]+$r)}const pn={[Wt]:yt,[K]:Ue?Ue[K]:0};if(isNaN(Q[Wt])||isNaN(Q[K]))ae(pn);else{const $r=Math.abs(Q[Wt]-pn[Wt]),Or=Math.abs(Q[K]-pn[K]);($r>=1||Or>=1)&&ae(pn)}}),ze=(Re,{animation:Ue=!0}={})=>{Ue?Bbe(F,qe.current,Re,{duration:i.transitions.duration.standard}):qe.current[F]=Re},it=Re=>{let Ue=qe.current[F];D?Ue+=Re:(Ue+=Re*(o?-1:1),Ue*=o&&kq()==="reverse"?-1:1),ze(Ue)},pt=()=>{const Re=qe.current[G];let Ue=0;const yt=Array.from(at.current.children);for(let Wt=0;WtRe){Wt===0&&(Ue=Re);break}Ue+=pn[G]}return Ue},mt=()=>{it(-1*pt())},_e=()=>{it(pt())},je=I.useCallback(Re=>{be({overflow:null,scrollbarWidth:Re})},[]),Ye=()=>{const Re={};Re.scrollbarSizeListener=z?C.jsx(rxe,{onChange:je,className:Fe(J.scrollableX,J.hideScrollbar)}):null;const yt=z&&(b==="auto"&&(le||pe)||b===!0);return Re.scrollButtonStart=yt?C.jsx(_,$({slots:{StartScrollButtonIcon:E.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:ie},orientation:S,direction:o?"right":"left",onClick:mt,disabled:!le},k,{className:Fe(J.scrollButtons,k.className)})):null,Re.scrollButtonEnd=yt?C.jsx(_,$({slots:{EndScrollButtonIcon:E.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:ce},orientation:S,direction:o?"left":"right",onClick:_e,disabled:!pe},k,{className:Fe(J.scrollButtons,k.className)})):null,Re},$e=eo(Re=>{const{tabsMeta:Ue,tabMeta:yt}=Lt();if(!(!yt||!Ue)){if(yt[j]Ue[V]){const Wt=Ue[F]+(yt[V]-Ue[V]);ze(Wt,{animation:Re})}}}),Ne=eo(()=>{z&&b!==!1&&xe(!ye)});I.useEffect(()=>{const Re=XC(()=>{qe.current&&Ie()}),Ue=bu(qe.current);Ue.addEventListener("resize",Re);let yt;return typeof ResizeObserver<"u"&&(yt=new ResizeObserver(Re),Array.from(at.current.children).forEach(Wt=>{yt.observe(Wt)})),()=>{Re.clear(),Ue.removeEventListener("resize",Re),yt&&yt.disconnect()}},[Ie]),I.useEffect(()=>{const Re=Array.from(at.current.children),Ue=Re.length;if(typeof IntersectionObserver<"u"&&Ue>0&&z&&b!==!1){const yt=Re[0],Wt=Re[Ue-1],pn={root:qe.current,threshold:.99},$r=Jr=>{he(!Jr[0].isIntersecting)},Or=new IntersectionObserver($r,pn);Or.observe(yt);const Mr=Jr=>{ve(!Jr[0].isIntersecting)},Fr=new IntersectionObserver(Mr,pn);return Fr.observe(Wt),()=>{Or.disconnect(),Fr.disconnect()}}},[z,b,ye,f==null?void 0:f.length]),I.useEffect(()=>{se(!0)},[]),I.useEffect(()=>{Ie()}),I.useEffect(()=>{$e(B8!==Q)},[$e,Q]),I.useImperativeHandle(c,()=>({updateIndicator:Ie,updateScrollButtons:Ne}),[Ie,Ne]);const Rt=C.jsx(nxe,$({},R,{className:Fe(J.indicator,R.className),ownerState:Y,style:$({},Q,R.style)}));let ct=0;const Ae=I.Children.map(f,Re=>{if(!I.isValidElement(Re))return null;const Ue=Re.props.value===void 0?ct:Re.props.value;Qe.set(Ue,ct);const yt=Ue===L;return ct+=1,I.cloneElement(Re,$({fullWidth:N==="fullWidth",indicator:yt&&!ue&&Rt,selected:yt,selectionFollowsFocus:x,onChange:y,textColor:O,value:Ue},ct===1&&L===!1&&!Re.props.tabIndex?{tabIndex:0}:{}))}),ot=Re=>{const Ue=at.current,yt=Ar(Ue).activeElement;if(yt.getAttribute("role")!=="tab")return;let pn=S==="horizontal"?"ArrowLeft":"ArrowUp",$r=S==="horizontal"?"ArrowRight":"ArrowDown";switch(S==="horizontal"&&o&&(pn="ArrowRight",$r="ArrowLeft"),Re.key){case pn:Re.preventDefault(),Zw(Ue,yt,N8);break;case $r:Re.preventDefault(),Zw(Ue,yt,L8);break;case"Home":Re.preventDefault(),Zw(Ue,null,L8);break;case"End":Re.preventDefault(),Zw(Ue,null,N8);break}},$t=Ye();return C.jsxs(Zbe,$({className:Fe(J.root,h),ownerState:Y,ref:n,as:p},W,{children:[$t.scrollButtonStart,$t.scrollbarSizeListener,C.jsxs(exe,{className:J.scroller,ownerState:Y,style:{overflow:me.overflow,[D?`margin${o?"Left":"Right"}`:"marginBottom"]:H?void 0:-me.scrollbarWidth},ref:qe,children:[C.jsx(txe,{"aria-label":s,"aria-labelledby":l,"aria-orientation":S==="vertical"?"vertical":null,className:J.flexContainer,ownerState:Y,onKeyDown:ot,ref:at,role:"tablist",children:Ae}),ue&&Rt]}),$t.scrollButtonEnd]}))}),oxe=ixe;function sxe(e){return _t("MuiTextField",e)}Ct("MuiTextField",["root"]);const axe=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],lxe={standard:BK,filled:MK,outlined:WK},cxe=e=>{const{classes:t}=e;return Et({root:["root"]},sxe,t)},uxe=Ee(_ge,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),dxe=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiTextField"}),{autoComplete:i,autoFocus:o=!1,children:s,className:l,color:c="primary",defaultValue:d,disabled:f=!1,error:h=!1,FormHelperTextProps:p,fullWidth:g=!1,helperText:v,id:y,InputLabelProps:S,inputProps:_,InputProps:b,inputRef:x,label:E,maxRows:A,minRows:R,multiline:k=!1,name:O,onBlur:L,onChange:N,onFocus:H,placeholder:W,required:z=!1,rows:D,select:F=!1,SelectProps:j,type:V,value:G,variant:K="outlined"}=r,Y=Le(r,axe),J=$({},r,{autoFocus:o,color:c,disabled:f,error:h,fullWidth:g,multiline:k,required:z,select:F,variant:K}),ie=cxe(J),ce={};K==="outlined"&&(S&&typeof S.shrink<"u"&&(ce.notched=S.shrink),ce.label=E),F&&((!j||!j.native)&&(ce.id=void 0),ce["aria-describedby"]=void 0);const ue=b5(y),se=v&&ue?`${ue}-helper-text`:void 0,Q=E&&ue?`${ue}-label`:void 0,ae=lxe[K],le=C.jsx(ae,$({"aria-describedby":se,autoComplete:i,autoFocus:o,defaultValue:d,fullWidth:g,multiline:k,name:O,rows:D,maxRows:A,minRows:R,type:V,value:G,id:ue,inputRef:x,onBlur:L,onChange:N,onFocus:H,placeholder:W,inputProps:_},ce,b));return C.jsxs(uxe,$({className:Fe(ie.root,l),disabled:f,error:h,fullWidth:g,ref:n,required:z,color:c,variant:K,ownerState:J},Y,{children:[E!=null&&E!==""&&C.jsx(ave,$({htmlFor:ue,id:Q},S,{children:E})),F?C.jsx(v0e,$({"aria-describedby":se,id:ue,labelId:Q,value:G,input:le},j,{children:s})):le,v&&C.jsx($ge,$({id:se},p,{children:v}))]}))}),X1=dxe;function bn({vertical:e,...t}){return C.jsx(dt,{position:"relative",height:"100%",width:"100%",display:"flex",flexDirection:e?"column":"row",...t})}const VK=Bt(C.jsx("path",{d:"M22 11V3h-7v3H9V3H2v8h7V8h2v10h4v3h7v-8h-7v3h-2V8h2v3h7zM7 9H4V5h3v4zm10 6h3v4h-3v-4zm0-10h3v4h-3V5z"}),"AccountTreeOutlined"),fxe=Bt(C.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add"),hxe=Bt(C.jsx("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}),"ArrowBack"),pxe=Bt(C.jsx("path",{d:"M6 7c0 .55.45 1 1 1h7.59l-8.88 8.88c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L16 9.41V17c0 .55.45 1 1 1s1-.45 1-1V7c0-.55-.45-1-1-1H7c-.55 0-1 .45-1 1z"}),"ArrowOutwardRounded"),mxe=Bt(C.jsx("path",{d:"M10 9c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zM7 9.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm3 7c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm-3-3c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm3-6c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zM14 9c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-1.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zm3 6c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm0-4c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm2-3.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm0-3.5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1z"}),"BlurCircularOutlined"),gxe=Bt(C.jsx("path",{d:"M6 13c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-8c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-3 .5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zM6 5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm15 5.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zM14 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0-3.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zm-11 10c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm7 7c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm0-17c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zM10 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0 5.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm8 .5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-8c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm3 8.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zM14 17c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 3.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm-4-12c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0 8.5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm4-4.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0-4c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5z"}),"BlurOnOutlined"),vxe=Bt(C.jsx("path",{d:"M20 8h-2.81c-.45-.78-1.07-1.45-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5s-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-4 4v3c0 .22-.03.47-.07.7l-.1.65-.37.65c-.72 1.24-2.04 2-3.46 2s-2.74-.77-3.46-2l-.37-.64-.1-.65C8.03 15.48 8 15.23 8 15v-4c0-.23.03-.48.07-.7l.1-.65.37-.65c.3-.52.72-.97 1.21-1.31l.57-.39.74-.18c.31-.08.63-.12.94-.12.32 0 .63.04.95.12l.68.16.61.42c.5.34.91.78 1.21 1.31l.38.65.1.65c.04.22.07.47.07.69v1zm-6 2h4v2h-4zm0-4h4v2h-4z"}),"BugReportOutlined"),yxe=Bt(C.jsx("path",{d:"M17 12c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5 5-2.24 5-5zm-5 3c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3zm-7 0H3v4c0 1.1.9 2 2 2h4v-2H5v-4zM5 5h4V3H5c-1.1 0-2 .9-2 2v4h2V5zm14-2h-4v2h4v4h2V5c0-1.1-.9-2-2-2zm0 16h-4v2h4c1.1 0 2-.9 2-2v-4h-2v4z"}),"CenterFocusStrongOutlined"),bxe=Bt(C.jsx("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z"}),"ChevronRightOutlined"),xxe=Bt(C.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"}),"ClearOutlined"),qK=Bt(C.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"}),"CloseOutlined"),wxe=Bt(C.jsx("path",{d:"M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"}),"CodeOutlined"),_xe=Bt(C.jsx("path",{d:"M3 5v4h2V5h4V3H5c-1.1 0-2 .9-2 2zm2 10H3v4c0 1.1.9 2 2 2h4v-2H5v-4zm14 4h-4v2h4c1.1 0 2-.9 2-2v-4h-2v4zm0-16h-4v2h4v4h2V5c0-1.1-.9-2-2-2z"}),"CropFreeOutlined"),Sxe=Bt(C.jsx("path",{d:"M20 9H4v2h16V9zM4 15h16v-2H4v2z"}),"DragHandleOutlined"),ok=Bt(C.jsx("path",{d:"m14.06 9.02.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z"}),"EditOutlined"),Exe=Bt(C.jsx("circle",{cx:"12",cy:"12",r:"8"}),"FiberManualRecord"),XK=Bt(C.jsx("path",{d:"M15 22H6c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h8l6 6v6h-2V9h-5V4H6v16h9v2zm4-.34v-2.24l2.95 2.95 1.41-1.41L20.41 18h2.24v-2H17v5.66h2z"}),"FileOpenOutlined"),Cxe=Bt(C.jsx("path",{d:"M12 1.27a11 11 0 00-3.48 21.46c.55.09.73-.28.73-.55v-1.84c-3.03.64-3.67-1.46-3.67-1.46-.55-1.29-1.28-1.65-1.28-1.65-.92-.65.1-.65.1-.65 1.1 0 1.73 1.1 1.73 1.1.92 1.65 2.57 1.2 3.21.92a2 2 0 01.64-1.47c-2.47-.27-5.04-1.19-5.04-5.5 0-1.1.46-2.1 1.2-2.84a3.76 3.76 0 010-2.93s.91-.28 3.11 1.1c1.8-.49 3.7-.49 5.5 0 2.1-1.38 3.02-1.1 3.02-1.1a3.76 3.76 0 010 2.93c.83.74 1.2 1.74 1.2 2.94 0 4.21-2.57 5.13-5.04 5.4.45.37.82.92.82 2.02v3.03c0 .27.1.64.73.55A11 11 0 0012 1.27"}),"GitHub"),Txe=Bt(C.jsx("path",{d:"M2.81 2.81 1.39 4.22l2.27 2.27C2.61 8.07 2 9.96 2 12c0 5.52 4.48 10 10 10 2.04 0 3.93-.61 5.51-1.66l2.27 2.27 1.41-1.41L2.81 2.81zM12 20c-4.41 0-8-3.59-8-8 0-1.48.41-2.86 1.12-4.06l10.94 10.94C14.86 19.59 13.48 20 12 20zM7.94 5.12 6.49 3.66C8.07 2.61 9.96 2 12 2c5.52 0 10 4.48 10 10 0 2.04-.61 3.93-1.66 5.51l-1.46-1.46C19.59 14.86 20 13.48 20 12c0-4.41-3.59-8-8-8-1.48 0-2.86.41-4.06 1.12z"}),"HideSourceOutlined"),kxe=Bt(C.jsx("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"InfoOutlined"),Axe=Bt(C.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"}),"KeyboardArrowDownOutlined"),Rxe=Bt(C.jsx("path",{d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16zM16 17H5V7h11l3.55 5L16 17z"}),"LabelOutlined"),tv=Bt(C.jsx("path",{d:"m11.99 18.54-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27L12 16zm0-11.47L17.74 9 12 13.47 6.26 9 12 4.53z"}),"LayersOutlined"),YK=Bt(C.jsx("path",{d:"M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7zm-4 6h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z"}),"ListOutlined"),Ixe=Bt(C.jsx("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreVertOutlined"),Pxe=Bt(C.jsx("path",{d:"M6 19h4V5H6v14zm8-14v14h4V5h-4z"}),"PauseOutlined"),Oxe=Bt(C.jsx("path",{d:"M12 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm6-1.8C18 6.57 15.35 4 12 4s-6 2.57-6 6.2c0 2.34 1.95 5.44 6 9.14 4.05-3.7 6-6.8 6-9.14zM12 2c4.2 0 8 3.22 8 8.2 0 3.32-2.67 7.25-8 11.8-5.33-4.55-8-8.48-8-11.8C4 5.22 7.8 2 12 2z"}),"PlaceOutlined"),Mxe=Bt(C.jsx("path",{d:"M10 8.64 15.27 12 10 15.36V8.64M8 5v14l11-7L8 5z"}),"PlayArrowOutlined"),KK=Bt(C.jsx("path",{d:"M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8z"}),"ReplayOutlined"),Dxe=Bt(C.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"SearchOutlined"),Lxe=Bt(C.jsx("path",{d:"M19.43 12.98c.04-.32.07-.64.07-.98 0-.34-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.09-.16-.26-.25-.44-.25-.06 0-.12.01-.17.03l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.06-.02-.12-.03-.18-.03-.17 0-.34.09-.43.25l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98 0 .33.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.09.16.26.25.44.25.06 0 .12-.01.17-.03l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.06.02.12.03.18.03.17 0 .34-.09.43-.25l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zm-1.98-1.71c.04.31.05.52.05.73 0 .21-.02.43-.05.73l-.14 1.13.89.7 1.08.84-.7 1.21-1.27-.51-1.04-.42-.9.68c-.43.32-.84.56-1.25.73l-1.06.43-.16 1.13-.2 1.35h-1.4l-.19-1.35-.16-1.13-1.06-.43c-.43-.18-.83-.41-1.23-.71l-.91-.7-1.06.43-1.27.51-.7-1.21 1.08-.84.89-.7-.14-1.13c-.03-.31-.05-.54-.05-.74s.02-.43.05-.73l.14-1.13-.89-.7-1.08-.84.7-1.21 1.27.51 1.04.42.9-.68c.43-.32.84-.56 1.25-.73l1.06-.43.16-1.13.2-1.35h1.39l.19 1.35.16 1.13 1.06.43c.43.18.83.41 1.23.71l.91.7 1.06-.43 1.27-.51.7 1.21-1.07.85-.89.7.14 1.13zM12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"}),"SettingsOutlined"),Nxe=Bt(C.jsx("path",{d:"m6 18 8.5-6L6 6v12zm2-8.14L11.03 12 8 14.14V9.86zM16 6h2v12h-2z"}),"SkipNextOutlined"),Bxe=Bt(C.jsx("path",{d:"M6 6h2v12H6zm3.5 6 8.5 6V6l-8.5 6zm6.5 2.14L12.97 12 16 9.86v4.28z"}),"SkipPreviousOutlined"),TS=Bt(C.jsx("path",{d:"M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z"}),"SortOutlined"),$xe=Bt(C.jsx("path",{d:"M16 8v8H8V8h8m2-2H6v12h12V6z"}),"StopOutlined"),Fxe=Bt(C.jsx("path",{d:"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12zm10 6c3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6 2.69 6 6 6z"}),"TripOriginOutlined"),$8=Bt(C.jsx("path",{d:"M19 13H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm0 6H5v-4h14v4zm0-16H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 6H5V5h14v4z"}),"ViewAgendaOutlined"),QK=Bt(C.jsx("path",{d:"M3 4c0-.55.45-1 1-1h2V1H4C2.34 1 1 2.34 1 4v2h2V4zm0 16v-2H1v2c0 1.66 1.34 3 3 3h2v-2H4c-.55 0-1-.45-1-1zM20 1h-2v2h2c.55 0 1 .45 1 1v2h2V4c0-1.66-1.34-3-3-3zm1 19c0 .55-.45 1-1 1h-2v2h2c1.66 0 3-1.34 3-3v-2h-2v2zm-2-5.13V9.13c0-.72-.38-1.38-1-1.73l-5-2.88c-.31-.18-.65-.27-1-.27s-.69.09-1 .27L6 7.39c-.62.36-1 1.02-1 1.74v5.74c0 .72.38 1.38 1 1.73l5 2.88c.31.18.65.27 1 .27s.69-.09 1-.27l5-2.88c.62-.35 1-1.01 1-1.73zm-8 2.3-4-2.3v-4.63l4 2.33v4.6zm1-6.33L8.04 8.53 12 6.25l3.96 2.28L12 10.84zm5 4.03-4 2.3v-4.6l4-2.33v4.63z"}),"ViewInArOutlined"),zxe=Bt(C.jsx("path",{d:"M12 6c3.79 0 7.17 2.13 8.82 5.5C19.17 14.87 15.79 17 12 17s-7.17-2.13-8.82-5.5C4.83 8.13 8.21 6 12 6m0-2C7 4 2.73 7.11 1 11.5 2.73 15.89 7 19 12 19s9.27-3.11 11-7.5C21.27 7.11 17 4 12 4zm0 5c1.38 0 2.5 1.12 2.5 2.5S13.38 14 12 14s-2.5-1.12-2.5-2.5S10.62 9 12 9m0-2c-2.48 0-4.5 2.02-4.5 4.5S9.52 16 12 16s4.5-2.02 4.5-4.5S14.48 7 12 7z"}),"VisibilityOutlined"),jxe=Bt(C.jsx("path",{d:"m16.66 4.52 2.83 2.83-2.83 2.83-2.83-2.83 2.83-2.83M9 5v4H5V5h4m10 10v4h-4v-4h4M9 15v4H5v-4h4m7.66-13.31L11 7.34 16.66 13l5.66-5.66-5.66-5.65zM11 3H3v8h8V3zm10 10h-8v8h8v-8zm-10 0H3v8h8v-8z"}),"WidgetsOutlined"),V4=Bt(C.jsx("path",{d:"M6 15c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0-2c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm6-8c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0-2C9.8 3 8 4.8 8 7s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm6 12c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0-2c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4z"}),"WorkspacesOutlined");var DE={exports:{}};/**
* @license
* Lodash
* Copyright OpenJS Foundation and other contributors
* Released under MIT license
* Based on Underscore.js 1.8.3
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- */DE.exports;(function(e,t){(function(){var n,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",l="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",d=500,f="__lodash_placeholder__",h=1,p=2,g=4,v=1,y=2,S=1,_=2,b=4,x=8,E=16,A=32,R=64,k=128,O=256,L=512,N=30,H="...",W=800,z=16,D=1,F=2,j=3,V=1/0,G=9007199254740991,K=17976931348623157e292,Y=0/0,J=4294967295,ie=J-1,ce=J>>>1,ue=[["ary",k],["bind",S],["bindKey",_],["curry",x],["curryRight",E],["flip",L],["partial",A],["partialRight",R],["rearg",O]],se="[object Arguments]",Q="[object Array]",ae="[object AsyncFunction]",le="[object Boolean]",he="[object Date]",pe="[object DOMException]",ve="[object Error]",ye="[object Function]",xe="[object GeneratorFunction]",me="[object Map]",be="[object Number]",Qe="[object Null]",qe="[object Object]",at="[object Promise]",Lt="[object Proxy]",Ie="[object RegExp]",ze="[object Set]",it="[object String]",pt="[object Symbol]",mt="[object Undefined]",_e="[object WeakMap]",je="[object WeakSet]",Ye="[object ArrayBuffer]",$e="[object DataView]",Ne="[object Float32Array]",Rt="[object Float64Array]",ct="[object Int8Array]",Ae="[object Int16Array]",ot="[object Int32Array]",$t="[object Uint8Array]",Re="[object Uint8ClampedArray]",Ue="[object Uint16Array]",yt="[object Uint32Array]",Wt=/\b__p \+= '';/g,pn=/\b(__p \+=) '' \+/g,$r=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Or=/&(?:amp|lt|gt|quot|#39);/g,Mr=/[&<>"']/g,Fr=RegExp(Or.source),Jr=RegExp(Mr.source),Zo=/<%-([\s\S]+?)%>/g,$u=/<%([\s\S]+?)%>/g,Gs=/<%=([\s\S]+?)%>/g,ac=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,lc=/^\w*$/,sf=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,es=/[\\^$.*+?()[\]{}|]/g,af=RegExp(es.source),oo=/^\s+/,cc=/\s/,Si=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ts=/\{\n\/\* \[wrapped with (.+)\] \*/,lf=/,? & /,ns=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,wa=/[()=,{}\[\]\/\s]/,Fu=/\\(\\)?/g,Hn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Jn=/\w*$/,bl=/^[-+]0x[0-9a-f]+$/i,xl=/^0b[01]+$/i,so=/^\[object .+?Constructor\]$/,xv=/^0o[0-7]+$/i,wv=/^(?:0|[1-9]\d*)$/,Qt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,vr=/($^)/,aA=/['\n\r\u2028\u2029\\]/g,uc="\\ud800-\\udfff",lA="\\u0300-\\u036f",cA="\\ufe20-\\ufe2f",uA="\\u20d0-\\u20ff",_v=lA+cA+uA,Sv="\\u2700-\\u27bf",Ev="a-z\\xdf-\\xf6\\xf8-\\xff",dA="\\xac\\xb1\\xd7\\xf7",fA="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",hA="\\u2000-\\u206f",pA=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Cv="A-Z\\xc0-\\xd6\\xd8-\\xde",Tv="\\ufe0e\\ufe0f",kv=dA+fA+hA+pA,cf="['’]",mA="["+uc+"]",Av="["+kv+"]",dc="["+_v+"]",Rv="\\d+",gA="["+Sv+"]",Iv="["+Ev+"]",Pv="[^"+uc+kv+Rv+Sv+Ev+Cv+"]",uf="\\ud83c[\\udffb-\\udfff]",vA="(?:"+dc+"|"+uf+")",Ov="[^"+uc+"]",df="(?:\\ud83c[\\udde6-\\uddff]){2}",ff="[\\ud800-\\udbff][\\udc00-\\udfff]",rs="["+Cv+"]",Mv="\\u200d",Dv="(?:"+Iv+"|"+Pv+")",yA="(?:"+rs+"|"+Pv+")",Lv="(?:"+cf+"(?:d|ll|m|re|s|t|ve))?",Nv="(?:"+cf+"(?:D|LL|M|RE|S|T|VE))?",Bv=vA+"?",$v="["+Tv+"]?",bA="(?:"+Mv+"(?:"+[Ov,df,ff].join("|")+")"+$v+Bv+")*",xA="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",wA="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Fv=$v+Bv+bA,_A="(?:"+[gA,df,ff].join("|")+")"+Fv,SA="(?:"+[Ov+dc+"?",dc,df,ff,mA].join("|")+")",EA=RegExp(cf,"g"),CA=RegExp(dc,"g"),hf=RegExp(uf+"(?="+uf+")|"+SA+Fv,"g"),TA=RegExp([rs+"?"+Iv+"+"+Lv+"(?="+[Av,rs,"$"].join("|")+")",yA+"+"+Nv+"(?="+[Av,rs+Dv,"$"].join("|")+")",rs+"?"+Dv+"+"+Lv,rs+"+"+Nv,wA,xA,Rv,_A].join("|"),"g"),kA=RegExp("["+Mv+uc+_v+Tv+"]"),AA=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,RA=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],IA=-1,Pt={};Pt[Ne]=Pt[Rt]=Pt[ct]=Pt[Ae]=Pt[ot]=Pt[$t]=Pt[Re]=Pt[Ue]=Pt[yt]=!0,Pt[se]=Pt[Q]=Pt[Ye]=Pt[le]=Pt[$e]=Pt[he]=Pt[ve]=Pt[ye]=Pt[me]=Pt[be]=Pt[qe]=Pt[Ie]=Pt[ze]=Pt[it]=Pt[_e]=!1;var kt={};kt[se]=kt[Q]=kt[Ye]=kt[$e]=kt[le]=kt[he]=kt[Ne]=kt[Rt]=kt[ct]=kt[Ae]=kt[ot]=kt[me]=kt[be]=kt[qe]=kt[Ie]=kt[ze]=kt[it]=kt[pt]=kt[$t]=kt[Re]=kt[Ue]=kt[yt]=!0,kt[ve]=kt[ye]=kt[_e]=!1;var PA={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},OA={"&":"&","<":"<",">":">",'"':""","'":"'"},MA={"&":"&","<":"<",">":">",""":'"',"'":"'"},DA={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},LA=parseFloat,NA=parseInt,zv=typeof Nt=="object"&&Nt&&Nt.Object===Object&&Nt,BA=typeof self=="object"&&self&&self.Object===Object&&self,dn=zv||BA||Function("return this")(),pf=t&&!t.nodeType&&t,ao=pf&&!0&&e&&!e.nodeType&&e,jv=ao&&ao.exports===pf,mf=jv&&zv.process,tr=function(){try{var q=ao&&ao.require&&ao.require("util").types;return q||mf&&mf.binding&&mf.binding("util")}catch{}}(),Uv=tr&&tr.isArrayBuffer,Hv=tr&&tr.isDate,Wv=tr&&tr.isMap,Gv=tr&&tr.isRegExp,Vv=tr&&tr.isSet,qv=tr&&tr.isTypedArray;function Wn(q,te,Z){switch(Z.length){case 0:return q.call(te);case 1:return q.call(te,Z[0]);case 2:return q.call(te,Z[0],Z[1]);case 3:return q.call(te,Z[0],Z[1],Z[2])}return q.apply(te,Z)}function $A(q,te,Z,ge){for(var De=-1,ut=q==null?0:q.length;++De-1}function gf(q,te,Z){for(var ge=-1,De=q==null?0:q.length;++ge-1;);return Z}function ty(q,te){for(var Z=q.length;Z--&&is(te,q[Z],0)>-1;);return Z}function qA(q,te){for(var Z=q.length,ge=0;Z--;)q[Z]===te&&++ge;return ge}var XA=xf(PA),YA=xf(OA);function KA(q){return"\\"+DA[q]}function QA(q,te){return q==null?n:q[te]}function os(q){return kA.test(q)}function JA(q){return AA.test(q)}function ZA(q){for(var te,Z=[];!(te=q.next()).done;)Z.push(te.value);return Z}function Ef(q){var te=-1,Z=Array(q.size);return q.forEach(function(ge,De){Z[++te]=[De,ge]}),Z}function ny(q,te){return function(Z){return q(te(Z))}}function Ti(q,te){for(var Z=-1,ge=q.length,De=0,ut=[];++Z-1}function zR(a,u){var m=this.__data__,w=Rc(m,a);return w<0?(++this.size,m.push([a,u])):m[w][1]=u,this}Zr.prototype.clear=NR,Zr.prototype.delete=BR,Zr.prototype.get=$R,Zr.prototype.has=FR,Zr.prototype.set=zR;function ei(a){var u=-1,m=a==null?0:a.length;for(this.clear();++u=u?a:u)),a}function or(a,u,m,w,T,M){var B,U=u&h,X=u&p,ne=u&g;if(m&&(B=T?m(a,w,T,M):m(a)),B!==n)return B;if(!Ft(a))return a;var re=Be(a);if(re){if(B=WI(a),!U)return On(a,B)}else{var oe=vn(a),fe=oe==ye||oe==xe;if(Oi(a))return $y(a,U);if(oe==qe||oe==se||fe&&!T){if(B=X||fe?{}:r0(a),!U)return X?MI(a,nI(B,a)):OI(a,py(B,a))}else{if(!kt[oe])return T?a:{};B=GI(a,oe,U)}}M||(M=new br);var we=M.get(a);if(we)return we;M.set(a,B),O0(a)?a.forEach(function(ke){B.add(or(ke,u,m,ke,a,M))}):I0(a)&&a.forEach(function(ke,Ke){B.set(Ke,or(ke,u,m,Ke,a,M))});var Te=ne?X?Kf:Yf:X?Dn:nn,Ve=re?n:Te(a);return nr(Ve||a,function(ke,Ke){Ve&&(Ke=ke,ke=a[Ke]),Aa(B,Ke,or(ke,u,m,Ke,a,M))}),B}function rI(a){var u=nn(a);return function(m){return my(m,a,u)}}function my(a,u,m){var w=m.length;if(a==null)return!w;for(a=wt(a);w--;){var T=m[w],M=u[T],B=a[T];if(B===n&&!(T in a)||!M(B))return!1}return!0}function gy(a,u,m){if(typeof a!="function")throw new rr(s);return La(function(){a.apply(n,m)},u)}function Ra(a,u,m,w){var T=-1,M=fc,B=!0,U=a.length,X=[],ne=u.length;if(!U)return X;m&&(u=Dt(u,Gn(m))),w?(M=gf,B=!1):u.length>=i&&(M=_a,B=!1,u=new uo(u));e:for(;++TT?0:T+m),w=w===n||w>T?T:We(w),w<0&&(w+=T),w=m>w?0:D0(w);m0&&m(U)?u>1?fn(U,u-1,m,w,T):Ci(T,U):w||(T[T.length]=U)}return T}var Pf=Wy(),by=Wy(!0);function zr(a,u){return a&&Pf(a,u,nn)}function Of(a,u){return a&&by(a,u,nn)}function Pc(a,u){return Ei(u,function(m){return oi(a[m])})}function ho(a,u){u=Ii(u,a);for(var m=0,w=u.length;a!=null&&mu}function sI(a,u){return a!=null&&vt.call(a,u)}function aI(a,u){return a!=null&&u in wt(a)}function lI(a,u,m){return a>=gn(u,m)&&a=120&&re.length>=120)?new uo(B&&re):n}re=a[0];var oe=-1,fe=U[0];e:for(;++oe-1;)U!==a&&_c.call(U,X,1),_c.call(a,X,1);return a}function Iy(a,u){for(var m=a?u.length:0,w=m-1;m--;){var T=u[m];if(m==w||T!==M){var M=T;ii(T)?_c.call(a,T,1):Uf(a,T)}}return a}function Ff(a,u){return a+Cc(uy()*(u-a+1))}function wI(a,u,m,w){for(var T=-1,M=Zt(Ec((u-a)/(m||1)),0),B=Z(M);M--;)B[w?M:++T]=a,a+=m;return B}function zf(a,u){var m="";if(!a||u<1||u>G)return m;do u%2&&(m+=a),u=Cc(u/2),u&&(a+=a);while(u);return m}function Xe(a,u){return rh(s0(a,u,Ln),a+"")}function _I(a){return hy(gs(a))}function SI(a,u){var m=gs(a);return Uc(m,fo(u,0,m.length))}function Oa(a,u,m,w){if(!Ft(a))return a;u=Ii(u,a);for(var T=-1,M=u.length,B=M-1,U=a;U!=null&&++TT?0:T+u),m=m>T?T:m,m<0&&(m+=T),T=u>m?0:m-u>>>0,u>>>=0;for(var M=Z(T);++w>>1,B=a[M];B!==null&&!qn(B)&&(m?B<=u:B=i){var ne=u?null:BI(a);if(ne)return pc(ne);B=!1,T=_a,X=new uo}else X=u?[]:U;e:for(;++w=w?a:sr(a,u,m)}var By=pR||function(a){return dn.clearTimeout(a)};function $y(a,u){if(u)return a.slice();var m=a.length,w=oy?oy(m):new a.constructor(m);return a.copy(w),w}function Vf(a){var u=new a.constructor(a.byteLength);return new xc(u).set(new xc(a)),u}function AI(a,u){var m=u?Vf(a.buffer):a.buffer;return new a.constructor(m,a.byteOffset,a.byteLength)}function RI(a){var u=new a.constructor(a.source,Jn.exec(a));return u.lastIndex=a.lastIndex,u}function II(a){return ka?wt(ka.call(a)):{}}function Fy(a,u){var m=u?Vf(a.buffer):a.buffer;return new a.constructor(m,a.byteOffset,a.length)}function zy(a,u){if(a!==u){var m=a!==n,w=a===null,T=a===a,M=qn(a),B=u!==n,U=u===null,X=u===u,ne=qn(u);if(!U&&!ne&&!M&&a>u||M&&B&&X&&!U&&!ne||w&&B&&X||!m&&X||!T)return 1;if(!w&&!M&&!ne&&a=U)return X;var ne=m[w];return X*(ne=="desc"?-1:1)}}return a.index-u.index}function jy(a,u,m,w){for(var T=-1,M=a.length,B=m.length,U=-1,X=u.length,ne=Zt(M-B,0),re=Z(X+ne),oe=!w;++U1?m[T-1]:n,B=T>2?m[2]:n;for(M=a.length>3&&typeof M=="function"?(T--,M):n,B&&Tn(m[0],m[1],B)&&(M=T<3?n:M,T=1),u=wt(u);++w-1?T[M?u[B]:B]:n}}function qy(a){return ri(function(u){var m=u.length,w=m,T=ir.prototype.thru;for(a&&u.reverse();w--;){var M=u[w];if(typeof M!="function")throw new rr(s);if(T&&!B&&zc(M)=="wrapper")var B=new ir([],!0)}for(w=B?w:m;++w1&&nt.reverse(),re&&XU))return!1;var ne=M.get(a),re=M.get(u);if(ne&&re)return ne==u&&re==a;var oe=-1,fe=!0,we=m&y?new uo:n;for(M.set(a,u),M.set(u,a);++oe1?"& ":"")+u[w],u=u.join(m>2?", ":" "),a.replace(Si,`{
+ */DE.exports;(function(e,t){(function(){var n,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",l="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",d=500,f="__lodash_placeholder__",h=1,p=2,g=4,v=1,y=2,S=1,_=2,b=4,x=8,E=16,A=32,R=64,k=128,O=256,L=512,N=30,H="...",W=800,z=16,D=1,F=2,j=3,V=1/0,G=9007199254740991,K=17976931348623157e292,Y=0/0,J=4294967295,ie=J-1,ce=J>>>1,ue=[["ary",k],["bind",S],["bindKey",_],["curry",x],["curryRight",E],["flip",L],["partial",A],["partialRight",R],["rearg",O]],se="[object Arguments]",Q="[object Array]",ae="[object AsyncFunction]",le="[object Boolean]",he="[object Date]",pe="[object DOMException]",ve="[object Error]",ye="[object Function]",xe="[object GeneratorFunction]",me="[object Map]",be="[object Number]",Qe="[object Null]",qe="[object Object]",at="[object Promise]",Lt="[object Proxy]",Ie="[object RegExp]",ze="[object Set]",it="[object String]",pt="[object Symbol]",mt="[object Undefined]",_e="[object WeakMap]",je="[object WeakSet]",Ye="[object ArrayBuffer]",$e="[object DataView]",Ne="[object Float32Array]",Rt="[object Float64Array]",ct="[object Int8Array]",Ae="[object Int16Array]",ot="[object Int32Array]",$t="[object Uint8Array]",Re="[object Uint8ClampedArray]",Ue="[object Uint16Array]",yt="[object Uint32Array]",Wt=/\b__p \+= '';/g,pn=/\b(__p \+=) '' \+/g,$r=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Or=/&(?:amp|lt|gt|quot|#39);/g,Mr=/[&<>"']/g,Fr=RegExp(Or.source),Jr=RegExp(Mr.source),Zo=/<%-([\s\S]+?)%>/g,$u=/<%([\s\S]+?)%>/g,Gs=/<%=([\s\S]+?)%>/g,ac=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,lc=/^\w*$/,sf=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,es=/[\\^$.*+?()[\]{}|]/g,af=RegExp(es.source),so=/^\s+/,cc=/\s/,Si=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ts=/\{\n\/\* \[wrapped with (.+)\] \*/,lf=/,? & /,ns=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,wa=/[()=,{}\[\]\/\s]/,Fu=/\\(\\)?/g,Hn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Jn=/\w*$/,bl=/^[-+]0x[0-9a-f]+$/i,xl=/^0b[01]+$/i,ao=/^\[object .+?Constructor\]$/,xv=/^0o[0-7]+$/i,wv=/^(?:0|[1-9]\d*)$/,Qt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,vr=/($^)/,aA=/['\n\r\u2028\u2029\\]/g,uc="\\ud800-\\udfff",lA="\\u0300-\\u036f",cA="\\ufe20-\\ufe2f",uA="\\u20d0-\\u20ff",_v=lA+cA+uA,Sv="\\u2700-\\u27bf",Ev="a-z\\xdf-\\xf6\\xf8-\\xff",dA="\\xac\\xb1\\xd7\\xf7",fA="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",hA="\\u2000-\\u206f",pA=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Cv="A-Z\\xc0-\\xd6\\xd8-\\xde",Tv="\\ufe0e\\ufe0f",kv=dA+fA+hA+pA,cf="['’]",mA="["+uc+"]",Av="["+kv+"]",dc="["+_v+"]",Rv="\\d+",gA="["+Sv+"]",Iv="["+Ev+"]",Pv="[^"+uc+kv+Rv+Sv+Ev+Cv+"]",uf="\\ud83c[\\udffb-\\udfff]",vA="(?:"+dc+"|"+uf+")",Ov="[^"+uc+"]",df="(?:\\ud83c[\\udde6-\\uddff]){2}",ff="[\\ud800-\\udbff][\\udc00-\\udfff]",rs="["+Cv+"]",Mv="\\u200d",Dv="(?:"+Iv+"|"+Pv+")",yA="(?:"+rs+"|"+Pv+")",Lv="(?:"+cf+"(?:d|ll|m|re|s|t|ve))?",Nv="(?:"+cf+"(?:D|LL|M|RE|S|T|VE))?",Bv=vA+"?",$v="["+Tv+"]?",bA="(?:"+Mv+"(?:"+[Ov,df,ff].join("|")+")"+$v+Bv+")*",xA="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",wA="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Fv=$v+Bv+bA,_A="(?:"+[gA,df,ff].join("|")+")"+Fv,SA="(?:"+[Ov+dc+"?",dc,df,ff,mA].join("|")+")",EA=RegExp(cf,"g"),CA=RegExp(dc,"g"),hf=RegExp(uf+"(?="+uf+")|"+SA+Fv,"g"),TA=RegExp([rs+"?"+Iv+"+"+Lv+"(?="+[Av,rs,"$"].join("|")+")",yA+"+"+Nv+"(?="+[Av,rs+Dv,"$"].join("|")+")",rs+"?"+Dv+"+"+Lv,rs+"+"+Nv,wA,xA,Rv,_A].join("|"),"g"),kA=RegExp("["+Mv+uc+_v+Tv+"]"),AA=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,RA=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],IA=-1,Pt={};Pt[Ne]=Pt[Rt]=Pt[ct]=Pt[Ae]=Pt[ot]=Pt[$t]=Pt[Re]=Pt[Ue]=Pt[yt]=!0,Pt[se]=Pt[Q]=Pt[Ye]=Pt[le]=Pt[$e]=Pt[he]=Pt[ve]=Pt[ye]=Pt[me]=Pt[be]=Pt[qe]=Pt[Ie]=Pt[ze]=Pt[it]=Pt[_e]=!1;var kt={};kt[se]=kt[Q]=kt[Ye]=kt[$e]=kt[le]=kt[he]=kt[Ne]=kt[Rt]=kt[ct]=kt[Ae]=kt[ot]=kt[me]=kt[be]=kt[qe]=kt[Ie]=kt[ze]=kt[it]=kt[pt]=kt[$t]=kt[Re]=kt[Ue]=kt[yt]=!0,kt[ve]=kt[ye]=kt[_e]=!1;var PA={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},OA={"&":"&","<":"<",">":">",'"':""","'":"'"},MA={"&":"&","<":"<",">":">",""":'"',"'":"'"},DA={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},LA=parseFloat,NA=parseInt,zv=typeof Nt=="object"&&Nt&&Nt.Object===Object&&Nt,BA=typeof self=="object"&&self&&self.Object===Object&&self,dn=zv||BA||Function("return this")(),pf=t&&!t.nodeType&&t,lo=pf&&!0&&e&&!e.nodeType&&e,jv=lo&&lo.exports===pf,mf=jv&&zv.process,tr=function(){try{var q=lo&&lo.require&&lo.require("util").types;return q||mf&&mf.binding&&mf.binding("util")}catch{}}(),Uv=tr&&tr.isArrayBuffer,Hv=tr&&tr.isDate,Wv=tr&&tr.isMap,Gv=tr&&tr.isRegExp,Vv=tr&&tr.isSet,qv=tr&&tr.isTypedArray;function Wn(q,te,Z){switch(Z.length){case 0:return q.call(te);case 1:return q.call(te,Z[0]);case 2:return q.call(te,Z[0],Z[1]);case 3:return q.call(te,Z[0],Z[1],Z[2])}return q.apply(te,Z)}function $A(q,te,Z,ge){for(var De=-1,ut=q==null?0:q.length;++De-1}function gf(q,te,Z){for(var ge=-1,De=q==null?0:q.length;++ge-1;);return Z}function ty(q,te){for(var Z=q.length;Z--&&is(te,q[Z],0)>-1;);return Z}function qA(q,te){for(var Z=q.length,ge=0;Z--;)q[Z]===te&&++ge;return ge}var XA=xf(PA),YA=xf(OA);function KA(q){return"\\"+DA[q]}function QA(q,te){return q==null?n:q[te]}function os(q){return kA.test(q)}function JA(q){return AA.test(q)}function ZA(q){for(var te,Z=[];!(te=q.next()).done;)Z.push(te.value);return Z}function Ef(q){var te=-1,Z=Array(q.size);return q.forEach(function(ge,De){Z[++te]=[De,ge]}),Z}function ny(q,te){return function(Z){return q(te(Z))}}function Ti(q,te){for(var Z=-1,ge=q.length,De=0,ut=[];++Z-1}function zR(a,u){var m=this.__data__,w=Rc(m,a);return w<0?(++this.size,m.push([a,u])):m[w][1]=u,this}Zr.prototype.clear=NR,Zr.prototype.delete=BR,Zr.prototype.get=$R,Zr.prototype.has=FR,Zr.prototype.set=zR;function ei(a){var u=-1,m=a==null?0:a.length;for(this.clear();++u=u?a:u)),a}function or(a,u,m,w,T,M){var B,U=u&h,X=u&p,ne=u&g;if(m&&(B=T?m(a,w,T,M):m(a)),B!==n)return B;if(!Ft(a))return a;var re=Be(a);if(re){if(B=WI(a),!U)return On(a,B)}else{var oe=vn(a),fe=oe==ye||oe==xe;if(Oi(a))return $y(a,U);if(oe==qe||oe==se||fe&&!T){if(B=X||fe?{}:r0(a),!U)return X?MI(a,nI(B,a)):OI(a,py(B,a))}else{if(!kt[oe])return T?a:{};B=GI(a,oe,U)}}M||(M=new br);var we=M.get(a);if(we)return we;M.set(a,B),O0(a)?a.forEach(function(ke){B.add(or(ke,u,m,ke,a,M))}):I0(a)&&a.forEach(function(ke,Ke){B.set(Ke,or(ke,u,m,Ke,a,M))});var Te=ne?X?Kf:Yf:X?Dn:nn,Ve=re?n:Te(a);return nr(Ve||a,function(ke,Ke){Ve&&(Ke=ke,ke=a[Ke]),Aa(B,Ke,or(ke,u,m,Ke,a,M))}),B}function rI(a){var u=nn(a);return function(m){return my(m,a,u)}}function my(a,u,m){var w=m.length;if(a==null)return!w;for(a=wt(a);w--;){var T=m[w],M=u[T],B=a[T];if(B===n&&!(T in a)||!M(B))return!1}return!0}function gy(a,u,m){if(typeof a!="function")throw new rr(s);return La(function(){a.apply(n,m)},u)}function Ra(a,u,m,w){var T=-1,M=fc,B=!0,U=a.length,X=[],ne=u.length;if(!U)return X;m&&(u=Dt(u,Gn(m))),w?(M=gf,B=!1):u.length>=i&&(M=_a,B=!1,u=new fo(u));e:for(;++TT?0:T+m),w=w===n||w>T?T:We(w),w<0&&(w+=T),w=m>w?0:D0(w);m0&&m(U)?u>1?fn(U,u-1,m,w,T):Ci(T,U):w||(T[T.length]=U)}return T}var Pf=Wy(),by=Wy(!0);function zr(a,u){return a&&Pf(a,u,nn)}function Of(a,u){return a&&by(a,u,nn)}function Pc(a,u){return Ei(u,function(m){return oi(a[m])})}function po(a,u){u=Ii(u,a);for(var m=0,w=u.length;a!=null&&mu}function sI(a,u){return a!=null&&vt.call(a,u)}function aI(a,u){return a!=null&&u in wt(a)}function lI(a,u,m){return a>=gn(u,m)&&a=120&&re.length>=120)?new fo(B&&re):n}re=a[0];var oe=-1,fe=U[0];e:for(;++oe-1;)U!==a&&_c.call(U,X,1),_c.call(a,X,1);return a}function Iy(a,u){for(var m=a?u.length:0,w=m-1;m--;){var T=u[m];if(m==w||T!==M){var M=T;ii(T)?_c.call(a,T,1):Uf(a,T)}}return a}function Ff(a,u){return a+Cc(uy()*(u-a+1))}function wI(a,u,m,w){for(var T=-1,M=Zt(Ec((u-a)/(m||1)),0),B=Z(M);M--;)B[w?M:++T]=a,a+=m;return B}function zf(a,u){var m="";if(!a||u<1||u>G)return m;do u%2&&(m+=a),u=Cc(u/2),u&&(a+=a);while(u);return m}function Xe(a,u){return rh(s0(a,u,Ln),a+"")}function _I(a){return hy(gs(a))}function SI(a,u){var m=gs(a);return Uc(m,ho(u,0,m.length))}function Oa(a,u,m,w){if(!Ft(a))return a;u=Ii(u,a);for(var T=-1,M=u.length,B=M-1,U=a;U!=null&&++TT?0:T+u),m=m>T?T:m,m<0&&(m+=T),T=u>m?0:m-u>>>0,u>>>=0;for(var M=Z(T);++w>>1,B=a[M];B!==null&&!qn(B)&&(m?B<=u:B=i){var ne=u?null:BI(a);if(ne)return pc(ne);B=!1,T=_a,X=new fo}else X=u?[]:U;e:for(;++w=w?a:sr(a,u,m)}var By=pR||function(a){return dn.clearTimeout(a)};function $y(a,u){if(u)return a.slice();var m=a.length,w=oy?oy(m):new a.constructor(m);return a.copy(w),w}function Vf(a){var u=new a.constructor(a.byteLength);return new xc(u).set(new xc(a)),u}function AI(a,u){var m=u?Vf(a.buffer):a.buffer;return new a.constructor(m,a.byteOffset,a.byteLength)}function RI(a){var u=new a.constructor(a.source,Jn.exec(a));return u.lastIndex=a.lastIndex,u}function II(a){return ka?wt(ka.call(a)):{}}function Fy(a,u){var m=u?Vf(a.buffer):a.buffer;return new a.constructor(m,a.byteOffset,a.length)}function zy(a,u){if(a!==u){var m=a!==n,w=a===null,T=a===a,M=qn(a),B=u!==n,U=u===null,X=u===u,ne=qn(u);if(!U&&!ne&&!M&&a>u||M&&B&&X&&!U&&!ne||w&&B&&X||!m&&X||!T)return 1;if(!w&&!M&&!ne&&a=U)return X;var ne=m[w];return X*(ne=="desc"?-1:1)}}return a.index-u.index}function jy(a,u,m,w){for(var T=-1,M=a.length,B=m.length,U=-1,X=u.length,ne=Zt(M-B,0),re=Z(X+ne),oe=!w;++U1?m[T-1]:n,B=T>2?m[2]:n;for(M=a.length>3&&typeof M=="function"?(T--,M):n,B&&Tn(m[0],m[1],B)&&(M=T<3?n:M,T=1),u=wt(u);++w-1?T[M?u[B]:B]:n}}function qy(a){return ri(function(u){var m=u.length,w=m,T=ir.prototype.thru;for(a&&u.reverse();w--;){var M=u[w];if(typeof M!="function")throw new rr(s);if(T&&!B&&zc(M)=="wrapper")var B=new ir([],!0)}for(w=B?w:m;++w1&&nt.reverse(),re&&XU))return!1;var ne=M.get(a),re=M.get(u);if(ne&&re)return ne==u&&re==a;var oe=-1,fe=!0,we=m&y?new fo:n;for(M.set(a,u),M.set(u,a);++oe1?"& ":"")+u[w],u=u.join(m>2?", ":" "),a.replace(Si,`{
/* [wrapped with `+u+`] */
-`)}function qI(a){return Be(a)||go(a)||!!(ly&&a&&a[ly])}function ii(a,u){var m=typeof a;return u=u??G,!!u&&(m=="number"||m!="symbol"&&wv.test(a))&&a>-1&&a%1==0&&a0){if(++u>=W)return arguments[0]}else u=0;return a.apply(n,arguments)}}function Uc(a,u){var m=-1,w=a.length,T=w-1;for(u=u===n?w:u;++m1?a[u-1]:n;return m=typeof m=="function"?(a.pop(),m):n,y0(a,m)});function b0(a){var u=P(a);return u.__chain__=!0,u}function i2(a,u){return u(a),a}function Hc(a,u){return u(a)}var o2=ri(function(a){var u=a.length,m=u?a[0]:0,w=this.__wrapped__,T=function(M){return If(M,a)};return u>1||this.__actions__.length||!(w instanceof Je)||!ii(m)?this.thru(T):(w=w.slice(m,+m+(u?1:0)),w.__actions__.push({func:Hc,args:[T],thisArg:n}),new ir(w,this.__chain__).thru(function(M){return u&&!M.length&&M.push(n),M}))});function s2(){return b0(this)}function a2(){return new ir(this.value(),this.__chain__)}function l2(){this.__values__===n&&(this.__values__=M0(this.value()));var a=this.__index__>=this.__values__.length,u=a?n:this.__values__[this.__index__++];return{done:a,value:u}}function c2(){return this}function u2(a){for(var u,m=this;m instanceof Ac;){var w=f0(m);w.__index__=0,w.__values__=n,u?T.__wrapped__=w:u=w;var T=w;m=m.__wrapped__}return T.__wrapped__=a,u}function d2(){var a=this.__wrapped__;if(a instanceof Je){var u=a;return this.__actions__.length&&(u=new Je(this)),u=u.reverse(),u.__actions__.push({func:Hc,args:[ih],thisArg:n}),new ir(u,this.__chain__)}return this.thru(ih)}function f2(){return Ly(this.__wrapped__,this.__actions__)}var h2=Lc(function(a,u,m){vt.call(a,m)?++a[m]:ti(a,m,1)});function p2(a,u,m){var w=Be(a)?Xv:iI;return m&&Tn(a,u,m)&&(u=n),w(a,Ce(u,3))}function m2(a,u){var m=Be(a)?Ei:yy;return m(a,Ce(u,3))}var g2=Vy(h0),v2=Vy(p0);function y2(a,u){return fn(Wc(a,u),1)}function b2(a,u){return fn(Wc(a,u),V)}function x2(a,u,m){return m=m===n?1:We(m),fn(Wc(a,u),m)}function x0(a,u){var m=Be(a)?nr:Ai;return m(a,Ce(u,3))}function w0(a,u){var m=Be(a)?FA:vy;return m(a,Ce(u,3))}var w2=Lc(function(a,u,m){vt.call(a,m)?a[m].push(u):ti(a,m,[u])});function _2(a,u,m,w){a=Mn(a)?a:gs(a),m=m&&!w?We(m):0;var T=a.length;return m<0&&(m=Zt(T+m,0)),Yc(a)?m<=T&&a.indexOf(u,m)>-1:!!T&&is(a,u,m)>-1}var S2=Xe(function(a,u,m){var w=-1,T=typeof u=="function",M=Mn(a)?Z(a.length):[];return Ai(a,function(B){M[++w]=T?Wn(u,B,m):Ia(B,u,m)}),M}),E2=Lc(function(a,u,m){ti(a,m,u)});function Wc(a,u){var m=Be(a)?Dt:Ey;return m(a,Ce(u,3))}function C2(a,u,m,w){return a==null?[]:(Be(u)||(u=u==null?[]:[u]),m=w?n:m,Be(m)||(m=m==null?[]:[m]),Ay(a,u,m))}var T2=Lc(function(a,u,m){a[m?0:1].push(u)},function(){return[[],[]]});function k2(a,u,m){var w=Be(a)?vf:Jv,T=arguments.length<3;return w(a,Ce(u,4),m,T,Ai)}function A2(a,u,m){var w=Be(a)?zA:Jv,T=arguments.length<3;return w(a,Ce(u,4),m,T,vy)}function R2(a,u){var m=Be(a)?Ei:yy;return m(a,qc(Ce(u,3)))}function I2(a){var u=Be(a)?hy:_I;return u(a)}function P2(a,u,m){(m?Tn(a,u,m):u===n)?u=1:u=We(u);var w=Be(a)?ZR:SI;return w(a,u)}function O2(a){var u=Be(a)?eI:CI;return u(a)}function M2(a){if(a==null)return 0;if(Mn(a))return Yc(a)?ss(a):a.length;var u=vn(a);return u==me||u==ze?a.size:Nf(a).length}function D2(a,u,m){var w=Be(a)?yf:TI;return m&&Tn(a,u,m)&&(u=n),w(a,Ce(u,3))}var L2=Xe(function(a,u){if(a==null)return[];var m=u.length;return m>1&&Tn(a,u[0],u[1])?u=[]:m>2&&Tn(u[0],u[1],u[2])&&(u=[u[0]]),Ay(a,fn(u,1),[])}),Gc=mR||function(){return dn.Date.now()};function N2(a,u){if(typeof u!="function")throw new rr(s);return a=We(a),function(){if(--a<1)return u.apply(this,arguments)}}function _0(a,u,m){return u=m?n:u,u=a&&u==null?a.length:u,ni(a,k,n,n,n,n,u)}function S0(a,u){var m;if(typeof u!="function")throw new rr(s);return a=We(a),function(){return--a>0&&(m=u.apply(this,arguments)),a<=1&&(u=n),m}}var sh=Xe(function(a,u,m){var w=S;if(m.length){var T=Ti(m,ps(sh));w|=A}return ni(a,w,u,m,T)}),E0=Xe(function(a,u,m){var w=S|_;if(m.length){var T=Ti(m,ps(E0));w|=A}return ni(u,w,a,m,T)});function C0(a,u,m){u=m?n:u;var w=ni(a,x,n,n,n,n,n,u);return w.placeholder=C0.placeholder,w}function T0(a,u,m){u=m?n:u;var w=ni(a,E,n,n,n,n,n,u);return w.placeholder=T0.placeholder,w}function k0(a,u,m){var w,T,M,B,U,X,ne=0,re=!1,oe=!1,fe=!0;if(typeof a!="function")throw new rr(s);u=lr(u)||0,Ft(m)&&(re=!!m.leading,oe="maxWait"in m,M=oe?Zt(lr(m.maxWait)||0,u):M,fe="trailing"in m?!!m.trailing:fe);function we(Yt){var wr=w,ai=T;return w=T=n,ne=Yt,B=a.apply(ai,wr),B}function Te(Yt){return ne=Yt,U=La(Ke,u),re?we(Yt):B}function Ve(Yt){var wr=Yt-X,ai=Yt-ne,V0=u-wr;return oe?gn(V0,M-ai):V0}function ke(Yt){var wr=Yt-X,ai=Yt-ne;return X===n||wr>=u||wr<0||oe&&ai>=M}function Ke(){var Yt=Gc();if(ke(Yt))return nt(Yt);U=La(Ke,Ve(Yt))}function nt(Yt){return U=n,fe&&w?we(Yt):(w=T=n,B)}function Xn(){U!==n&&By(U),ne=0,w=X=T=U=n}function kn(){return U===n?B:nt(Gc())}function Yn(){var Yt=Gc(),wr=ke(Yt);if(w=arguments,T=this,X=Yt,wr){if(U===n)return Te(X);if(oe)return By(U),U=La(Ke,u),we(X)}return U===n&&(U=La(Ke,u)),B}return Yn.cancel=Xn,Yn.flush=kn,Yn}var B2=Xe(function(a,u){return gy(a,1,u)}),$2=Xe(function(a,u,m){return gy(a,lr(u)||0,m)});function F2(a){return ni(a,L)}function Vc(a,u){if(typeof a!="function"||u!=null&&typeof u!="function")throw new rr(s);var m=function(){var w=arguments,T=u?u.apply(this,w):w[0],M=m.cache;if(M.has(T))return M.get(T);var B=a.apply(this,w);return m.cache=M.set(T,B)||M,B};return m.cache=new(Vc.Cache||ei),m}Vc.Cache=ei;function qc(a){if(typeof a!="function")throw new rr(s);return function(){var u=arguments;switch(u.length){case 0:return!a.call(this);case 1:return!a.call(this,u[0]);case 2:return!a.call(this,u[0],u[1]);case 3:return!a.call(this,u[0],u[1],u[2])}return!a.apply(this,u)}}function z2(a){return S0(2,a)}var j2=kI(function(a,u){u=u.length==1&&Be(u[0])?Dt(u[0],Gn(Ce())):Dt(fn(u,1),Gn(Ce()));var m=u.length;return Xe(function(w){for(var T=-1,M=gn(w.length,m);++T=u}),go=wy(function(){return arguments}())?wy:function(a){return jt(a)&&vt.call(a,"callee")&&!ay.call(a,"callee")},Be=Z.isArray,nO=Uv?Gn(Uv):uI;function Mn(a){return a!=null&&Xc(a.length)&&!oi(a)}function Xt(a){return jt(a)&&Mn(a)}function rO(a){return a===!0||a===!1||jt(a)&&Cn(a)==le}var Oi=vR||yh,iO=Hv?Gn(Hv):dI;function oO(a){return jt(a)&&a.nodeType===1&&!Na(a)}function sO(a){if(a==null)return!0;if(Mn(a)&&(Be(a)||typeof a=="string"||typeof a.splice=="function"||Oi(a)||ms(a)||go(a)))return!a.length;var u=vn(a);if(u==me||u==ze)return!a.size;if(Da(a))return!Nf(a).length;for(var m in a)if(vt.call(a,m))return!1;return!0}function aO(a,u){return Pa(a,u)}function lO(a,u,m){m=typeof m=="function"?m:n;var w=m?m(a,u):n;return w===n?Pa(a,u,n,m):!!w}function lh(a){if(!jt(a))return!1;var u=Cn(a);return u==ve||u==pe||typeof a.message=="string"&&typeof a.name=="string"&&!Na(a)}function cO(a){return typeof a=="number"&&cy(a)}function oi(a){if(!Ft(a))return!1;var u=Cn(a);return u==ye||u==xe||u==ae||u==Lt}function R0(a){return typeof a=="number"&&a==We(a)}function Xc(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=G}function Ft(a){var u=typeof a;return a!=null&&(u=="object"||u=="function")}function jt(a){return a!=null&&typeof a=="object"}var I0=Wv?Gn(Wv):hI;function uO(a,u){return a===u||Lf(a,u,Jf(u))}function dO(a,u,m){return m=typeof m=="function"?m:n,Lf(a,u,Jf(u),m)}function fO(a){return P0(a)&&a!=+a}function hO(a){if(KI(a))throw new De(o);return _y(a)}function pO(a){return a===null}function mO(a){return a==null}function P0(a){return typeof a=="number"||jt(a)&&Cn(a)==be}function Na(a){if(!jt(a)||Cn(a)!=qe)return!1;var u=wc(a);if(u===null)return!0;var m=vt.call(u,"constructor")&&u.constructor;return typeof m=="function"&&m instanceof m&&vc.call(m)==dR}var ch=Gv?Gn(Gv):pI;function gO(a){return R0(a)&&a>=-G&&a<=G}var O0=Vv?Gn(Vv):mI;function Yc(a){return typeof a=="string"||!Be(a)&&jt(a)&&Cn(a)==it}function qn(a){return typeof a=="symbol"||jt(a)&&Cn(a)==pt}var ms=qv?Gn(qv):gI;function vO(a){return a===n}function yO(a){return jt(a)&&vn(a)==_e}function bO(a){return jt(a)&&Cn(a)==je}var xO=Fc(Bf),wO=Fc(function(a,u){return a<=u});function M0(a){if(!a)return[];if(Mn(a))return Yc(a)?yr(a):On(a);if(Sa&&a[Sa])return ZA(a[Sa]());var u=vn(a),m=u==me?Ef:u==ze?pc:gs;return m(a)}function si(a){if(!a)return a===0?a:0;if(a=lr(a),a===V||a===-V){var u=a<0?-1:1;return u*K}return a===a?a:0}function We(a){var u=si(a),m=u%1;return u===u?m?u-m:u:0}function D0(a){return a?fo(We(a),0,J):0}function lr(a){if(typeof a=="number")return a;if(qn(a))return Y;if(Ft(a)){var u=typeof a.valueOf=="function"?a.valueOf():a;a=Ft(u)?u+"":u}if(typeof a!="string")return a===0?a:+a;a=Zv(a);var m=xl.test(a);return m||xv.test(a)?NA(a.slice(2),m?2:8):bl.test(a)?Y:+a}function L0(a){return jr(a,Dn(a))}function _O(a){return a?fo(We(a),-G,G):a===0?a:0}function ft(a){return a==null?"":Vn(a)}var SO=fs(function(a,u){if(Da(u)||Mn(u)){jr(u,nn(u),a);return}for(var m in u)vt.call(u,m)&&Aa(a,m,u[m])}),N0=fs(function(a,u){jr(u,Dn(u),a)}),Kc=fs(function(a,u,m,w){jr(u,Dn(u),a,w)}),EO=fs(function(a,u,m,w){jr(u,nn(u),a,w)}),CO=ri(If);function TO(a,u){var m=ds(a);return u==null?m:py(m,u)}var kO=Xe(function(a,u){a=wt(a);var m=-1,w=u.length,T=w>2?u[2]:n;for(T&&Tn(u[0],u[1],T)&&(w=1);++m1),M}),jr(a,Kf(a),m),w&&(m=or(m,h|p|g,$I));for(var T=u.length;T--;)Uf(m,u[T]);return m});function GO(a,u){return $0(a,qc(Ce(u)))}var VO=ri(function(a,u){return a==null?{}:bI(a,u)});function $0(a,u){if(a==null)return{};var m=Dt(Kf(a),function(w){return[w]});return u=Ce(u),Ry(a,m,function(w,T){return u(w,T[0])})}function qO(a,u,m){u=Ii(u,a);var w=-1,T=u.length;for(T||(T=1,a=n);++wu){var w=a;a=u,u=w}if(m||a%1||u%1){var T=uy();return gn(a+T*(u-a+LA("1e-"+((T+"").length-1))),u)}return Ff(a,u)}var iM=hs(function(a,u,m){return u=u.toLowerCase(),a+(m?j0(u):u)});function j0(a){return fh(ft(a).toLowerCase())}function U0(a){return a=ft(a),a&&a.replace(Qt,XA).replace(CA,"")}function oM(a,u,m){a=ft(a),u=Vn(u);var w=a.length;m=m===n?w:fo(We(m),0,w);var T=m;return m-=u.length,m>=0&&a.slice(m,T)==u}function sM(a){return a=ft(a),a&&Jr.test(a)?a.replace(Mr,YA):a}function aM(a){return a=ft(a),a&&af.test(a)?a.replace(es,"\\$&"):a}var lM=hs(function(a,u,m){return a+(m?"-":"")+u.toLowerCase()}),cM=hs(function(a,u,m){return a+(m?" ":"")+u.toLowerCase()}),uM=Gy("toLowerCase");function dM(a,u,m){a=ft(a),u=We(u);var w=u?ss(a):0;if(!u||w>=u)return a;var T=(u-w)/2;return $c(Cc(T),m)+a+$c(Ec(T),m)}function fM(a,u,m){a=ft(a),u=We(u);var w=u?ss(a):0;return u&&w>>0,m?(a=ft(a),a&&(typeof u=="string"||u!=null&&!ch(u))&&(u=Vn(u),!u&&os(a))?Pi(yr(a),0,m):a.split(u,m)):[]}var bM=hs(function(a,u,m){return a+(m?" ":"")+fh(u)});function xM(a,u,m){return a=ft(a),m=m==null?0:fo(We(m),0,a.length),u=Vn(u),a.slice(m,m+u.length)==u}function wM(a,u,m){var w=P.templateSettings;m&&Tn(a,u,m)&&(u=n),a=ft(a),u=Kc({},u,w,Jy);var T=Kc({},u.imports,w.imports,Jy),M=nn(T),B=Sf(T,M),U,X,ne=0,re=u.interpolate||vr,oe="__p += '",fe=Cf((u.escape||vr).source+"|"+re.source+"|"+(re===Gs?Hn:vr).source+"|"+(u.evaluate||vr).source+"|$","g"),we="//# sourceURL="+(vt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++IA+"]")+`
+`)}function qI(a){return Be(a)||vo(a)||!!(ly&&a&&a[ly])}function ii(a,u){var m=typeof a;return u=u??G,!!u&&(m=="number"||m!="symbol"&&wv.test(a))&&a>-1&&a%1==0&&a0){if(++u>=W)return arguments[0]}else u=0;return a.apply(n,arguments)}}function Uc(a,u){var m=-1,w=a.length,T=w-1;for(u=u===n?w:u;++m1?a[u-1]:n;return m=typeof m=="function"?(a.pop(),m):n,y0(a,m)});function b0(a){var u=P(a);return u.__chain__=!0,u}function i2(a,u){return u(a),a}function Hc(a,u){return u(a)}var o2=ri(function(a){var u=a.length,m=u?a[0]:0,w=this.__wrapped__,T=function(M){return If(M,a)};return u>1||this.__actions__.length||!(w instanceof Je)||!ii(m)?this.thru(T):(w=w.slice(m,+m+(u?1:0)),w.__actions__.push({func:Hc,args:[T],thisArg:n}),new ir(w,this.__chain__).thru(function(M){return u&&!M.length&&M.push(n),M}))});function s2(){return b0(this)}function a2(){return new ir(this.value(),this.__chain__)}function l2(){this.__values__===n&&(this.__values__=M0(this.value()));var a=this.__index__>=this.__values__.length,u=a?n:this.__values__[this.__index__++];return{done:a,value:u}}function c2(){return this}function u2(a){for(var u,m=this;m instanceof Ac;){var w=f0(m);w.__index__=0,w.__values__=n,u?T.__wrapped__=w:u=w;var T=w;m=m.__wrapped__}return T.__wrapped__=a,u}function d2(){var a=this.__wrapped__;if(a instanceof Je){var u=a;return this.__actions__.length&&(u=new Je(this)),u=u.reverse(),u.__actions__.push({func:Hc,args:[ih],thisArg:n}),new ir(u,this.__chain__)}return this.thru(ih)}function f2(){return Ly(this.__wrapped__,this.__actions__)}var h2=Lc(function(a,u,m){vt.call(a,m)?++a[m]:ti(a,m,1)});function p2(a,u,m){var w=Be(a)?Xv:iI;return m&&Tn(a,u,m)&&(u=n),w(a,Ce(u,3))}function m2(a,u){var m=Be(a)?Ei:yy;return m(a,Ce(u,3))}var g2=Vy(h0),v2=Vy(p0);function y2(a,u){return fn(Wc(a,u),1)}function b2(a,u){return fn(Wc(a,u),V)}function x2(a,u,m){return m=m===n?1:We(m),fn(Wc(a,u),m)}function x0(a,u){var m=Be(a)?nr:Ai;return m(a,Ce(u,3))}function w0(a,u){var m=Be(a)?FA:vy;return m(a,Ce(u,3))}var w2=Lc(function(a,u,m){vt.call(a,m)?a[m].push(u):ti(a,m,[u])});function _2(a,u,m,w){a=Mn(a)?a:gs(a),m=m&&!w?We(m):0;var T=a.length;return m<0&&(m=Zt(T+m,0)),Yc(a)?m<=T&&a.indexOf(u,m)>-1:!!T&&is(a,u,m)>-1}var S2=Xe(function(a,u,m){var w=-1,T=typeof u=="function",M=Mn(a)?Z(a.length):[];return Ai(a,function(B){M[++w]=T?Wn(u,B,m):Ia(B,u,m)}),M}),E2=Lc(function(a,u,m){ti(a,m,u)});function Wc(a,u){var m=Be(a)?Dt:Ey;return m(a,Ce(u,3))}function C2(a,u,m,w){return a==null?[]:(Be(u)||(u=u==null?[]:[u]),m=w?n:m,Be(m)||(m=m==null?[]:[m]),Ay(a,u,m))}var T2=Lc(function(a,u,m){a[m?0:1].push(u)},function(){return[[],[]]});function k2(a,u,m){var w=Be(a)?vf:Jv,T=arguments.length<3;return w(a,Ce(u,4),m,T,Ai)}function A2(a,u,m){var w=Be(a)?zA:Jv,T=arguments.length<3;return w(a,Ce(u,4),m,T,vy)}function R2(a,u){var m=Be(a)?Ei:yy;return m(a,qc(Ce(u,3)))}function I2(a){var u=Be(a)?hy:_I;return u(a)}function P2(a,u,m){(m?Tn(a,u,m):u===n)?u=1:u=We(u);var w=Be(a)?ZR:SI;return w(a,u)}function O2(a){var u=Be(a)?eI:CI;return u(a)}function M2(a){if(a==null)return 0;if(Mn(a))return Yc(a)?ss(a):a.length;var u=vn(a);return u==me||u==ze?a.size:Nf(a).length}function D2(a,u,m){var w=Be(a)?yf:TI;return m&&Tn(a,u,m)&&(u=n),w(a,Ce(u,3))}var L2=Xe(function(a,u){if(a==null)return[];var m=u.length;return m>1&&Tn(a,u[0],u[1])?u=[]:m>2&&Tn(u[0],u[1],u[2])&&(u=[u[0]]),Ay(a,fn(u,1),[])}),Gc=mR||function(){return dn.Date.now()};function N2(a,u){if(typeof u!="function")throw new rr(s);return a=We(a),function(){if(--a<1)return u.apply(this,arguments)}}function _0(a,u,m){return u=m?n:u,u=a&&u==null?a.length:u,ni(a,k,n,n,n,n,u)}function S0(a,u){var m;if(typeof u!="function")throw new rr(s);return a=We(a),function(){return--a>0&&(m=u.apply(this,arguments)),a<=1&&(u=n),m}}var sh=Xe(function(a,u,m){var w=S;if(m.length){var T=Ti(m,ps(sh));w|=A}return ni(a,w,u,m,T)}),E0=Xe(function(a,u,m){var w=S|_;if(m.length){var T=Ti(m,ps(E0));w|=A}return ni(u,w,a,m,T)});function C0(a,u,m){u=m?n:u;var w=ni(a,x,n,n,n,n,n,u);return w.placeholder=C0.placeholder,w}function T0(a,u,m){u=m?n:u;var w=ni(a,E,n,n,n,n,n,u);return w.placeholder=T0.placeholder,w}function k0(a,u,m){var w,T,M,B,U,X,ne=0,re=!1,oe=!1,fe=!0;if(typeof a!="function")throw new rr(s);u=lr(u)||0,Ft(m)&&(re=!!m.leading,oe="maxWait"in m,M=oe?Zt(lr(m.maxWait)||0,u):M,fe="trailing"in m?!!m.trailing:fe);function we(Xt){var wr=w,ai=T;return w=T=n,ne=Xt,B=a.apply(ai,wr),B}function Te(Xt){return ne=Xt,U=La(Ke,u),re?we(Xt):B}function Ve(Xt){var wr=Xt-X,ai=Xt-ne,V0=u-wr;return oe?gn(V0,M-ai):V0}function ke(Xt){var wr=Xt-X,ai=Xt-ne;return X===n||wr>=u||wr<0||oe&&ai>=M}function Ke(){var Xt=Gc();if(ke(Xt))return nt(Xt);U=La(Ke,Ve(Xt))}function nt(Xt){return U=n,fe&&w?we(Xt):(w=T=n,B)}function Xn(){U!==n&&By(U),ne=0,w=X=T=U=n}function kn(){return U===n?B:nt(Gc())}function Yn(){var Xt=Gc(),wr=ke(Xt);if(w=arguments,T=this,X=Xt,wr){if(U===n)return Te(X);if(oe)return By(U),U=La(Ke,u),we(X)}return U===n&&(U=La(Ke,u)),B}return Yn.cancel=Xn,Yn.flush=kn,Yn}var B2=Xe(function(a,u){return gy(a,1,u)}),$2=Xe(function(a,u,m){return gy(a,lr(u)||0,m)});function F2(a){return ni(a,L)}function Vc(a,u){if(typeof a!="function"||u!=null&&typeof u!="function")throw new rr(s);var m=function(){var w=arguments,T=u?u.apply(this,w):w[0],M=m.cache;if(M.has(T))return M.get(T);var B=a.apply(this,w);return m.cache=M.set(T,B)||M,B};return m.cache=new(Vc.Cache||ei),m}Vc.Cache=ei;function qc(a){if(typeof a!="function")throw new rr(s);return function(){var u=arguments;switch(u.length){case 0:return!a.call(this);case 1:return!a.call(this,u[0]);case 2:return!a.call(this,u[0],u[1]);case 3:return!a.call(this,u[0],u[1],u[2])}return!a.apply(this,u)}}function z2(a){return S0(2,a)}var j2=kI(function(a,u){u=u.length==1&&Be(u[0])?Dt(u[0],Gn(Ce())):Dt(fn(u,1),Gn(Ce()));var m=u.length;return Xe(function(w){for(var T=-1,M=gn(w.length,m);++T=u}),vo=wy(function(){return arguments}())?wy:function(a){return jt(a)&&vt.call(a,"callee")&&!ay.call(a,"callee")},Be=Z.isArray,nO=Uv?Gn(Uv):uI;function Mn(a){return a!=null&&Xc(a.length)&&!oi(a)}function qt(a){return jt(a)&&Mn(a)}function rO(a){return a===!0||a===!1||jt(a)&&Cn(a)==le}var Oi=vR||yh,iO=Hv?Gn(Hv):dI;function oO(a){return jt(a)&&a.nodeType===1&&!Na(a)}function sO(a){if(a==null)return!0;if(Mn(a)&&(Be(a)||typeof a=="string"||typeof a.splice=="function"||Oi(a)||ms(a)||vo(a)))return!a.length;var u=vn(a);if(u==me||u==ze)return!a.size;if(Da(a))return!Nf(a).length;for(var m in a)if(vt.call(a,m))return!1;return!0}function aO(a,u){return Pa(a,u)}function lO(a,u,m){m=typeof m=="function"?m:n;var w=m?m(a,u):n;return w===n?Pa(a,u,n,m):!!w}function lh(a){if(!jt(a))return!1;var u=Cn(a);return u==ve||u==pe||typeof a.message=="string"&&typeof a.name=="string"&&!Na(a)}function cO(a){return typeof a=="number"&&cy(a)}function oi(a){if(!Ft(a))return!1;var u=Cn(a);return u==ye||u==xe||u==ae||u==Lt}function R0(a){return typeof a=="number"&&a==We(a)}function Xc(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=G}function Ft(a){var u=typeof a;return a!=null&&(u=="object"||u=="function")}function jt(a){return a!=null&&typeof a=="object"}var I0=Wv?Gn(Wv):hI;function uO(a,u){return a===u||Lf(a,u,Jf(u))}function dO(a,u,m){return m=typeof m=="function"?m:n,Lf(a,u,Jf(u),m)}function fO(a){return P0(a)&&a!=+a}function hO(a){if(KI(a))throw new De(o);return _y(a)}function pO(a){return a===null}function mO(a){return a==null}function P0(a){return typeof a=="number"||jt(a)&&Cn(a)==be}function Na(a){if(!jt(a)||Cn(a)!=qe)return!1;var u=wc(a);if(u===null)return!0;var m=vt.call(u,"constructor")&&u.constructor;return typeof m=="function"&&m instanceof m&&vc.call(m)==dR}var ch=Gv?Gn(Gv):pI;function gO(a){return R0(a)&&a>=-G&&a<=G}var O0=Vv?Gn(Vv):mI;function Yc(a){return typeof a=="string"||!Be(a)&&jt(a)&&Cn(a)==it}function qn(a){return typeof a=="symbol"||jt(a)&&Cn(a)==pt}var ms=qv?Gn(qv):gI;function vO(a){return a===n}function yO(a){return jt(a)&&vn(a)==_e}function bO(a){return jt(a)&&Cn(a)==je}var xO=Fc(Bf),wO=Fc(function(a,u){return a<=u});function M0(a){if(!a)return[];if(Mn(a))return Yc(a)?yr(a):On(a);if(Sa&&a[Sa])return ZA(a[Sa]());var u=vn(a),m=u==me?Ef:u==ze?pc:gs;return m(a)}function si(a){if(!a)return a===0?a:0;if(a=lr(a),a===V||a===-V){var u=a<0?-1:1;return u*K}return a===a?a:0}function We(a){var u=si(a),m=u%1;return u===u?m?u-m:u:0}function D0(a){return a?ho(We(a),0,J):0}function lr(a){if(typeof a=="number")return a;if(qn(a))return Y;if(Ft(a)){var u=typeof a.valueOf=="function"?a.valueOf():a;a=Ft(u)?u+"":u}if(typeof a!="string")return a===0?a:+a;a=Zv(a);var m=xl.test(a);return m||xv.test(a)?NA(a.slice(2),m?2:8):bl.test(a)?Y:+a}function L0(a){return jr(a,Dn(a))}function _O(a){return a?ho(We(a),-G,G):a===0?a:0}function ft(a){return a==null?"":Vn(a)}var SO=fs(function(a,u){if(Da(u)||Mn(u)){jr(u,nn(u),a);return}for(var m in u)vt.call(u,m)&&Aa(a,m,u[m])}),N0=fs(function(a,u){jr(u,Dn(u),a)}),Kc=fs(function(a,u,m,w){jr(u,Dn(u),a,w)}),EO=fs(function(a,u,m,w){jr(u,nn(u),a,w)}),CO=ri(If);function TO(a,u){var m=ds(a);return u==null?m:py(m,u)}var kO=Xe(function(a,u){a=wt(a);var m=-1,w=u.length,T=w>2?u[2]:n;for(T&&Tn(u[0],u[1],T)&&(w=1);++m1),M}),jr(a,Kf(a),m),w&&(m=or(m,h|p|g,$I));for(var T=u.length;T--;)Uf(m,u[T]);return m});function GO(a,u){return $0(a,qc(Ce(u)))}var VO=ri(function(a,u){return a==null?{}:bI(a,u)});function $0(a,u){if(a==null)return{};var m=Dt(Kf(a),function(w){return[w]});return u=Ce(u),Ry(a,m,function(w,T){return u(w,T[0])})}function qO(a,u,m){u=Ii(u,a);var w=-1,T=u.length;for(T||(T=1,a=n);++wu){var w=a;a=u,u=w}if(m||a%1||u%1){var T=uy();return gn(a+T*(u-a+LA("1e-"+((T+"").length-1))),u)}return Ff(a,u)}var iM=hs(function(a,u,m){return u=u.toLowerCase(),a+(m?j0(u):u)});function j0(a){return fh(ft(a).toLowerCase())}function U0(a){return a=ft(a),a&&a.replace(Qt,XA).replace(CA,"")}function oM(a,u,m){a=ft(a),u=Vn(u);var w=a.length;m=m===n?w:ho(We(m),0,w);var T=m;return m-=u.length,m>=0&&a.slice(m,T)==u}function sM(a){return a=ft(a),a&&Jr.test(a)?a.replace(Mr,YA):a}function aM(a){return a=ft(a),a&&af.test(a)?a.replace(es,"\\$&"):a}var lM=hs(function(a,u,m){return a+(m?"-":"")+u.toLowerCase()}),cM=hs(function(a,u,m){return a+(m?" ":"")+u.toLowerCase()}),uM=Gy("toLowerCase");function dM(a,u,m){a=ft(a),u=We(u);var w=u?ss(a):0;if(!u||w>=u)return a;var T=(u-w)/2;return $c(Cc(T),m)+a+$c(Ec(T),m)}function fM(a,u,m){a=ft(a),u=We(u);var w=u?ss(a):0;return u&&w>>0,m?(a=ft(a),a&&(typeof u=="string"||u!=null&&!ch(u))&&(u=Vn(u),!u&&os(a))?Pi(yr(a),0,m):a.split(u,m)):[]}var bM=hs(function(a,u,m){return a+(m?" ":"")+fh(u)});function xM(a,u,m){return a=ft(a),m=m==null?0:ho(We(m),0,a.length),u=Vn(u),a.slice(m,m+u.length)==u}function wM(a,u,m){var w=P.templateSettings;m&&Tn(a,u,m)&&(u=n),a=ft(a),u=Kc({},u,w,Jy);var T=Kc({},u.imports,w.imports,Jy),M=nn(T),B=Sf(T,M),U,X,ne=0,re=u.interpolate||vr,oe="__p += '",fe=Cf((u.escape||vr).source+"|"+re.source+"|"+(re===Gs?Hn:vr).source+"|"+(u.evaluate||vr).source+"|$","g"),we="//# sourceURL="+(vt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++IA+"]")+`
`;a.replace(fe,function(ke,Ke,nt,Xn,kn,Yn){return nt||(nt=Xn),oe+=a.slice(ne,Yn).replace(aA,KA),Ke&&(U=!0,oe+=`' +
__e(`+Ke+`) +
'`),kn&&(X=!0,oe+=`';
@@ -288,7 +288,7 @@ __p += '`),nt&&(oe+=`' +
function print() { __p += __j.call(arguments, '') }
`:`;
`)+oe+`return __p
-}`;var Ve=W0(function(){return ut(M,we+"return "+oe).apply(n,B)});if(Ve.source=oe,lh(Ve))throw Ve;return Ve}function _M(a){return ft(a).toLowerCase()}function SM(a){return ft(a).toUpperCase()}function EM(a,u,m){if(a=ft(a),a&&(m||u===n))return Zv(a);if(!a||!(u=Vn(u)))return a;var w=yr(a),T=yr(u),M=ey(w,T),B=ty(w,T)+1;return Pi(w,M,B).join("")}function CM(a,u,m){if(a=ft(a),a&&(m||u===n))return a.slice(0,ry(a)+1);if(!a||!(u=Vn(u)))return a;var w=yr(a),T=ty(w,yr(u))+1;return Pi(w,0,T).join("")}function TM(a,u,m){if(a=ft(a),a&&(m||u===n))return a.replace(oo,"");if(!a||!(u=Vn(u)))return a;var w=yr(a),T=ey(w,yr(u));return Pi(w,T).join("")}function kM(a,u){var m=N,w=H;if(Ft(u)){var T="separator"in u?u.separator:T;m="length"in u?We(u.length):m,w="omission"in u?Vn(u.omission):w}a=ft(a);var M=a.length;if(os(a)){var B=yr(a);M=B.length}if(m>=M)return a;var U=m-ss(w);if(U<1)return w;var X=B?Pi(B,0,U).join(""):a.slice(0,U);if(T===n)return X+w;if(B&&(U+=X.length-U),ch(T)){if(a.slice(U).search(T)){var ne,re=X;for(T.global||(T=Cf(T.source,ft(Jn.exec(T))+"g")),T.lastIndex=0;ne=T.exec(re);)var oe=ne.index;X=X.slice(0,oe===n?U:oe)}}else if(a.indexOf(Vn(T),U)!=U){var fe=X.lastIndexOf(T);fe>-1&&(X=X.slice(0,fe))}return X+w}function AM(a){return a=ft(a),a&&Fr.test(a)?a.replace(Or,rR):a}var RM=hs(function(a,u,m){return a+(m?" ":"")+u.toUpperCase()}),fh=Gy("toUpperCase");function H0(a,u,m){return a=ft(a),u=m?n:u,u===n?JA(a)?sR(a):HA(a):a.match(u)||[]}var W0=Xe(function(a,u){try{return Wn(a,n,u)}catch(m){return lh(m)?m:new De(m)}}),IM=ri(function(a,u){return nr(u,function(m){m=Ur(m),ti(a,m,sh(a[m],a))}),a});function PM(a){var u=a==null?0:a.length,m=Ce();return a=u?Dt(a,function(w){if(typeof w[1]!="function")throw new rr(s);return[m(w[0]),w[1]]}):[],Xe(function(w){for(var T=-1;++TG)return[];var m=J,w=gn(a,J);u=Ce(u),a-=J;for(var T=_f(w,u);++m0||u<0)?new Je(m):(a<0?m=m.takeRight(-a):a&&(m=m.drop(a)),u!==n&&(u=We(u),m=u<0?m.dropRight(-u):m.take(u-a)),m)},Je.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},Je.prototype.toArray=function(){return this.take(J)},zr(Je.prototype,function(a,u){var m=/^(?:filter|find|map|reject)|While$/.test(u),w=/^(?:head|last)$/.test(u),T=P[w?"take"+(u=="last"?"Right":""):u],M=w||/^find/.test(u);T&&(P.prototype[u]=function(){var B=this.__wrapped__,U=w?[1]:arguments,X=B instanceof Je,ne=U[0],re=X||Be(B),oe=function(Ke){var nt=T.apply(P,Ci([Ke],U));return w&&fe?nt[0]:nt};re&&m&&typeof ne=="function"&&ne.length!=1&&(X=re=!1);var fe=this.__chain__,we=!!this.__actions__.length,Te=M&&!fe,Ve=X&&!we;if(!M&&re){B=Ve?B:new Je(this);var ke=a.apply(B,U);return ke.__actions__.push({func:Hc,args:[oe],thisArg:n}),new ir(ke,fe)}return Te&&Ve?a.apply(this,U):(ke=this.thru(oe),Te?w?ke.value()[0]:ke.value():ke)})}),nr(["pop","push","shift","sort","splice","unshift"],function(a){var u=mc[a],m=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",w=/^(?:pop|shift)$/.test(a);P.prototype[a]=function(){var T=arguments;if(w&&!this.__chain__){var M=this.value();return u.apply(Be(M)?M:[],T)}return this[m](function(B){return u.apply(Be(B)?B:[],T)})}}),zr(Je.prototype,function(a,u){var m=P[u];if(m){var w=m.name+"";vt.call(us,w)||(us[w]=[]),us[w].push({name:u,func:m})}}),us[Nc(n,_).name]=[{name:"wrapper",func:n}],Je.prototype.clone=AR,Je.prototype.reverse=RR,Je.prototype.value=IR,P.prototype.at=o2,P.prototype.chain=s2,P.prototype.commit=a2,P.prototype.next=l2,P.prototype.plant=u2,P.prototype.reverse=d2,P.prototype.toJSON=P.prototype.valueOf=P.prototype.value=f2,P.prototype.first=P.prototype.head,Sa&&(P.prototype[Sa]=c2),P},as=aR();ao?((ao.exports=as)._=as,pf._=as):dn._=as}).call(Nt)})(DE,DE.exports);var ee=DE.exports;function Kr(e){return C.jsx(dt,{px:.5,display:"inline-block",...e})}function q4({primary:e,secondary:t}){return C.jsxs(bn,{children:[C.jsx(dt,{children:e}),C.jsx(Kr,{}),C.jsx(dt,{sx:{opacity:.56},children:t})]})}/*! *****************************************************************************
+}`;var Ve=W0(function(){return ut(M,we+"return "+oe).apply(n,B)});if(Ve.source=oe,lh(Ve))throw Ve;return Ve}function _M(a){return ft(a).toLowerCase()}function SM(a){return ft(a).toUpperCase()}function EM(a,u,m){if(a=ft(a),a&&(m||u===n))return Zv(a);if(!a||!(u=Vn(u)))return a;var w=yr(a),T=yr(u),M=ey(w,T),B=ty(w,T)+1;return Pi(w,M,B).join("")}function CM(a,u,m){if(a=ft(a),a&&(m||u===n))return a.slice(0,ry(a)+1);if(!a||!(u=Vn(u)))return a;var w=yr(a),T=ty(w,yr(u))+1;return Pi(w,0,T).join("")}function TM(a,u,m){if(a=ft(a),a&&(m||u===n))return a.replace(so,"");if(!a||!(u=Vn(u)))return a;var w=yr(a),T=ey(w,yr(u));return Pi(w,T).join("")}function kM(a,u){var m=N,w=H;if(Ft(u)){var T="separator"in u?u.separator:T;m="length"in u?We(u.length):m,w="omission"in u?Vn(u.omission):w}a=ft(a);var M=a.length;if(os(a)){var B=yr(a);M=B.length}if(m>=M)return a;var U=m-ss(w);if(U<1)return w;var X=B?Pi(B,0,U).join(""):a.slice(0,U);if(T===n)return X+w;if(B&&(U+=X.length-U),ch(T)){if(a.slice(U).search(T)){var ne,re=X;for(T.global||(T=Cf(T.source,ft(Jn.exec(T))+"g")),T.lastIndex=0;ne=T.exec(re);)var oe=ne.index;X=X.slice(0,oe===n?U:oe)}}else if(a.indexOf(Vn(T),U)!=U){var fe=X.lastIndexOf(T);fe>-1&&(X=X.slice(0,fe))}return X+w}function AM(a){return a=ft(a),a&&Fr.test(a)?a.replace(Or,rR):a}var RM=hs(function(a,u,m){return a+(m?" ":"")+u.toUpperCase()}),fh=Gy("toUpperCase");function H0(a,u,m){return a=ft(a),u=m?n:u,u===n?JA(a)?sR(a):HA(a):a.match(u)||[]}var W0=Xe(function(a,u){try{return Wn(a,n,u)}catch(m){return lh(m)?m:new De(m)}}),IM=ri(function(a,u){return nr(u,function(m){m=Ur(m),ti(a,m,sh(a[m],a))}),a});function PM(a){var u=a==null?0:a.length,m=Ce();return a=u?Dt(a,function(w){if(typeof w[1]!="function")throw new rr(s);return[m(w[0]),w[1]]}):[],Xe(function(w){for(var T=-1;++TG)return[];var m=J,w=gn(a,J);u=Ce(u),a-=J;for(var T=_f(w,u);++m0||u<0)?new Je(m):(a<0?m=m.takeRight(-a):a&&(m=m.drop(a)),u!==n&&(u=We(u),m=u<0?m.dropRight(-u):m.take(u-a)),m)},Je.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},Je.prototype.toArray=function(){return this.take(J)},zr(Je.prototype,function(a,u){var m=/^(?:filter|find|map|reject)|While$/.test(u),w=/^(?:head|last)$/.test(u),T=P[w?"take"+(u=="last"?"Right":""):u],M=w||/^find/.test(u);T&&(P.prototype[u]=function(){var B=this.__wrapped__,U=w?[1]:arguments,X=B instanceof Je,ne=U[0],re=X||Be(B),oe=function(Ke){var nt=T.apply(P,Ci([Ke],U));return w&&fe?nt[0]:nt};re&&m&&typeof ne=="function"&&ne.length!=1&&(X=re=!1);var fe=this.__chain__,we=!!this.__actions__.length,Te=M&&!fe,Ve=X&&!we;if(!M&&re){B=Ve?B:new Je(this);var ke=a.apply(B,U);return ke.__actions__.push({func:Hc,args:[oe],thisArg:n}),new ir(ke,fe)}return Te&&Ve?a.apply(this,U):(ke=this.thru(oe),Te?w?ke.value()[0]:ke.value():ke)})}),nr(["pop","push","shift","sort","splice","unshift"],function(a){var u=mc[a],m=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",w=/^(?:pop|shift)$/.test(a);P.prototype[a]=function(){var T=arguments;if(w&&!this.__chain__){var M=this.value();return u.apply(Be(M)?M:[],T)}return this[m](function(B){return u.apply(Be(B)?B:[],T)})}}),zr(Je.prototype,function(a,u){var m=P[u];if(m){var w=m.name+"";vt.call(us,w)||(us[w]=[]),us[w].push({name:u,func:m})}}),us[Nc(n,_).name]=[{name:"wrapper",func:n}],Je.prototype.clone=AR,Je.prototype.reverse=RR,Je.prototype.value=IR,P.prototype.at=o2,P.prototype.chain=s2,P.prototype.commit=a2,P.prototype.next=l2,P.prototype.plant=u2,P.prototype.reverse=d2,P.prototype.toJSON=P.prototype.valueOf=P.prototype.value=f2,P.prototype.first=P.prototype.head,Sa&&(P.prototype[Sa]=c2),P},as=aR();lo?((lo.exports=as)._=as,pf._=as):dn._=as}).call(Nt)})(DE,DE.exports);var ee=DE.exports;function Kr(e){return C.jsx(dt,{px:.5,display:"inline-block",...e})}function q4({primary:e,secondary:t}){return C.jsxs(bn,{children:[C.jsx(dt,{children:e}),C.jsx(Kr,{}),C.jsx(dt,{sx:{opacity:.56},children:t})]})}/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
@@ -309,7 +309,7 @@ PERFORMANCE OF THIS SOFTWARE.
* https://github.com/KingSora
*
* Released under the MIT license.
- */function En(e,t){if(lk(e))for(let n=0;nt(e[n],n,e));return e}function Qi(e,t){const n=Qd(t);if($s(t)||n){let i=n?"":{};if(e){const o=window.getComputedStyle(e,null);i=n?H8(e,o,t):t.reduce((s,l)=>(s[l]=H8(e,o,l),s),i)}return i}e&&En(Fs(t),i=>O1e(e,i,t[i]))}const Ja=(e,t)=>{const{o:n,u:r,_:i}=e;let o=n,s;const l=(f,h)=>{const p=o,g=f,v=h||(r?!r(p,g):p!==g);return(v||i)&&(o=g,s=p),[o,v,s]};return[t?f=>l(t(o,s),f):l,f=>[o,!!f,s]]},Y1=()=>typeof window<"u",rQ=Y1()&&Node.ELEMENT_NODE,{toString:v1e,hasOwnProperty:nL}=Object.prototype,Mu=e=>e===void 0,ak=e=>e===null,y1e=e=>Mu(e)||ak(e)?`${e}`:v1e.call(e).replace(/^\[object (.+)\]$/,"$1").toLowerCase(),Td=e=>typeof e=="number",Qd=e=>typeof e=="string",Y4=e=>typeof e=="boolean",pl=e=>typeof e=="function",$s=e=>Array.isArray(e),e1=e=>typeof e=="object"&&!$s(e)&&!ak(e),lk=e=>{const t=!!e&&e.length,n=Td(t)&&t>-1&&t%1==0;return $s(e)||!pl(e)&&n?t>0&&e1(e)?t-1 in e:!0:!1},dF=e=>{if(!e||!e1(e)||y1e(e)!=="object")return!1;let t;const n="constructor",r=e[n],i=r&&r.prototype,o=nL.call(e,n),s=i&&nL.call(i,"isPrototypeOf");if(r&&!o&&!s)return!1;for(t in e);return Mu(t)||nL.call(e,t)},px=e=>{const t=HTMLElement;return e?t?e instanceof t:e.nodeType===rQ:!1},ck=e=>{const t=Element;return e?t?e instanceof t:e.nodeType===rQ:!1},uk=(e,t,n)=>e.indexOf(t,n),Fn=(e,t,n)=>(!n&&!Qd(t)&&lk(t)?Array.prototype.push.apply(e,t):e.push(t),e),bp=e=>{const t=Array.from,n=[];return t&&e?t(e):(e instanceof Set?e.forEach(r=>{Fn(n,r)}):En(e,r=>{Fn(n,r)}),n)},K4=e=>!!e&&e.length===0,rc=(e,t,n)=>{En(e,i=>i&&i.apply(void 0,t||[])),!n&&(e.length=0)},dk=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Fs=e=>e?Object.keys(e):[],Tr=(e,t,n,r,i,o,s)=>{const l=[t,n,r,i,o,s];return(typeof e!="object"||ak(e))&&!pl(e)&&(e={}),En(l,c=>{En(Fs(c),d=>{const f=c[d];if(e===f)return!0;const h=$s(f);if(f&&dF(f)){const p=e[d];let g=p;h&&!$s(p)?g=[]:!h&&!dF(p)&&(g={}),e[d]=Tr(g,f)}else e[d]=h?f.slice():f})}),e},Q4=e=>{for(const t in e)return!1;return!0},iQ=(e,t,n,r)=>{if(Mu(r))return n?n[e]:t;n&&(Qd(r)||Td(r))&&(n[e]=r)},_o=(e,t,n)=>{if(Mu(n))return e?e.getAttribute(t):null;e&&e.setAttribute(t,n)},oQ=(e,t)=>new Set((_o(e,t)||"").split(" ")),Oo=(e,t)=>{e&&e.removeAttribute(t)},ep=(e,t,n,r)=>{if(n){const i=oQ(e,t);i[r?"add":"delete"](n);const o=bp(i).join(" ").trim();_o(e,t,o)}},b1e=(e,t,n)=>oQ(e,t).has(n),al=(e,t)=>iQ("scrollLeft",0,e,t),vu=(e,t)=>iQ("scrollTop",0,e,t),fF=Y1()&&Element.prototype,sQ=(e,t)=>{const n=[],r=t?ck(t)&&t:document;return r?Fn(n,r.querySelectorAll(e)):n},x1e=(e,t)=>{const n=t?ck(t)&&t:document;return n?n.querySelector(e):null},NE=(e,t)=>ck(e)?(fF.matches||fF.msMatchesSelector).call(e,t):!1,J4=e=>e?bp(e.childNodes):[],Cu=e=>e&&e.parentElement,Dm=(e,t)=>{if(ck(e)){const n=fF.closest;if(n)return n.call(e,t);do{if(NE(e,t))return e;e=Cu(e)}while(e)}},w1e=(e,t,n)=>{const r=Dm(e,t),i=e&&x1e(n,r),o=Dm(i,t)===r;return r&&i?r===e||i===e||o&&Dm(Dm(e,n),t)!==r:!1},Z4=(e,t,n)=>{if(n&&e){let r=t,i;lk(n)?(i=document.createDocumentFragment(),En(n,o=>{o===r&&(r=o.previousSibling),i.appendChild(o)})):i=n,t&&(r?r!==t&&(r=r.nextSibling):r=e.firstChild),e.insertBefore(i,r||null)}},ra=(e,t)=>{Z4(e,null,t)},_1e=(e,t)=>{Z4(Cu(e),e,t)},z8=(e,t)=>{Z4(Cu(e),e&&e.nextSibling,t)},Yl=e=>{if(lk(e))En(bp(e),t=>Yl(t));else if(e){const t=Cu(e);t&&t.removeChild(e)}},tp=e=>{const t=document.createElement("div");return e&&_o(t,"class",e),t},aQ=e=>{const t=tp();return t.innerHTML=e.trim(),En(J4(t),n=>Yl(n))},hF=e=>e.charAt(0).toUpperCase()+e.slice(1),S1e=()=>tp().style,E1e=["-webkit-","-moz-","-o-","-ms-"],C1e=["WebKit","Moz","O","MS","webkit","moz","o","ms"],rL={},iL={},T1e=e=>{let t=iL[e];if(dk(iL,e))return t;const n=hF(e),r=S1e();return En(E1e,i=>{const o=i.replace(/-/g,"");return!(t=[e,i+e,o+n,hF(o)+n].find(l=>r[l]!==void 0))}),iL[e]=t||""},nv=e=>{if(Y1()){let t=rL[e]||window[e];return dk(rL,e)||(En(C1e,n=>(t=t||window[n+hF(e)],!t)),rL[e]=t),t}},k1e=nv("MutationObserver"),j8=nv("IntersectionObserver"),Lm=nv("ResizeObserver"),lQ=nv("cancelAnimationFrame"),cQ=nv("requestAnimationFrame"),pF=nv("ScrollTimeline"),BE=Y1()&&window.setTimeout,mF=Y1()&&window.clearTimeout,A1e=/[^\x20\t\r\n\f]+/g,uQ=(e,t,n)=>{const r=e&&e.classList;let i,o=0,s=!1;if(r&&t&&Qd(t)){const l=t.match(A1e)||[];for(s=l.length>0;i=l[o++];)s=!!n(r,i)&&s}return s},ez=(e,t)=>{uQ(e,t,(n,r)=>n.remove(r))},Bd=(e,t)=>(uQ(e,t,(n,r)=>n.add(r)),ez.bind(0,e,t)),fk=(e,t,n,r)=>{if(e&&t){let i=!0;return En(n,o=>{const s=r?r(e[o]):e[o],l=r?r(t[o]):t[o];s!==l&&(i=!1)}),i}return!1},dQ=(e,t)=>fk(e,t,["w","h"]),fQ=(e,t)=>fk(e,t,["x","y"]),R1e=(e,t)=>fk(e,t,["t","r","b","l"]),U8=(e,t,n)=>fk(e,t,["width","height"],n&&(r=>Math.round(r))),Es=()=>{},Mh=e=>{let t;const n=e?BE:cQ,r=e?mF:lQ;return[i=>{r(t),t=n(i,pl(e)?e():e)},()=>r(t)]},tz=(e,t)=>{let n,r,i,o=Es;const{g:s,v:l,p:c}=t||{},d=function(v){o(),mF(n),n=r=void 0,o=Es,e.apply(this,v)},f=g=>c&&r?c(r,g):g,h=()=>{o!==Es&&d(f(i)||i)},p=function(){const v=bp(arguments),y=pl(s)?s():s;if(Td(y)&&y>=0){const _=pl(l)?l():l,b=Td(_)&&_>=0,x=y>0?BE:cQ,E=y>0?mF:lQ,R=f(v)||v,k=d.bind(0,R);o();const O=x(k,y);o=()=>E(O),b&&!n&&(n=BE(h,_)),r=i=R}else d(v)};return p.m=h,p},I1e={opacity:1,zIndex:1},e_=(e,t)=>{const n=e||"",r=t?parseFloat(n):parseInt(n,10);return r===r?r:0},P1e=(e,t)=>!I1e[e]&&Td(t)?`${t}px`:t,H8=(e,t,n)=>String((t!=null?t[n]||t.getPropertyValue(n):e.style[n])||""),O1e=(e,t,n)=>{try{const{style:r}=e;Mu(r[t])?r.setProperty(t,n):r[t]=P1e(t,n)}catch{}},kg=e=>Qi(e,"direction")==="rtl",W8=(e,t,n)=>{const r=t?`${t}-`:"",i=n?`-${n}`:"",o=`${r}top${i}`,s=`${r}right${i}`,l=`${r}bottom${i}`,c=`${r}left${i}`,d=Qi(e,[o,s,l,c]);return{t:e_(d[o],!0),r:e_(d[s],!0),b:e_(d[l],!0),l:e_(d[c],!0)}},Ag=(e,t)=>`translate${$s(e)?`(${e[0]},${e[1]})`:`${t?"X":"Y"}(${e})`}`,{round:G8}=Math,nz={w:0,h:0},t1=e=>e?{w:e.offsetWidth,h:e.offsetHeight}:nz,kS=e=>e?{w:e.clientWidth,h:e.clientHeight}:nz,$E=e=>e?{w:e.scrollWidth,h:e.scrollHeight}:nz,FE=e=>{const t=parseFloat(Qi(e,"height"))||0,n=parseFloat(Qi(e,"width"))||0;return{w:n-G8(n),h:t-G8(t)}},Dl=e=>e.getBoundingClientRect(),Nm=e=>!!(e&&(e.height||e.width));let t_;const M1e=()=>{if(Mu(t_)){t_=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get(){t_=!0}}))}catch{}}return t_},hQ=e=>e.split(" "),D1e=(e,t,n,r)=>{En(hQ(t),i=>{e.removeEventListener(i,n,r)})},qr=(e,t,n,r)=>{var i;const o=M1e(),s=(i=o&&r&&r.S)!=null?i:o,l=r&&r.$||!1,c=r&&r.C||!1,d=[],f=o?{passive:s,capture:l}:l;return En(hQ(t),h=>{const p=c?g=>{e.removeEventListener(h,p,l),n&&n(g)}:n;Fn(d,D1e.bind(null,e,h,p,l)),e.addEventListener(h,p,f)}),rc.bind(0,d)},pQ=e=>e.stopPropagation(),mQ=e=>e.preventDefault(),L1e={x:0,y:0},oL=e=>{const t=e?Dl(e):0;return t?{x:t.left+window.pageYOffset,y:t.top+window.pageXOffset}:L1e},V8=(e,t)=>{En($s(t)?t:[t],e)},rz=e=>{const t=new Map,n=(o,s)=>{if(o){const l=t.get(o);V8(c=>{l&&l[c?"delete":"clear"](c)},s)}else t.forEach(l=>{l.clear()}),t.clear()},r=(o,s)=>{if(Qd(o)){const d=t.get(o)||new Set;return t.set(o,d),V8(f=>{pl(f)&&d.add(f)},s),n.bind(0,o,s)}Y4(s)&&s&&n();const l=Fs(o),c=[];return En(l,d=>{const f=o[d];f&&Fn(c,r(d,f))}),rc.bind(0,c)},i=(o,s)=>{const l=t.get(o);En(bp(l),c=>{s&&!K4(s)?c.apply(0,s):c()})};return r(e||{}),[r,n,i]},q8=e=>JSON.stringify(e,(t,n)=>{if(pl(n))throw new Error;return n}),N1e={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},gQ=(e,t)=>{const n={},r=Fs(t).concat(Fs(e));return En(r,i=>{const o=e[i],s=t[i];if(e1(o)&&e1(s))Tr(n[i]={},gQ(o,s)),Q4(n[i])&&delete n[i];else if(dk(t,i)&&s!==o){let l=!0;if($s(o)||$s(s))try{q8(o)===q8(s)&&(l=!1)}catch{}l&&(n[i]=s)}}),n},K1="data-overlayscrollbars",vQ="os-environment",yQ=`${vQ}-flexbox-glue`,B1e=`${yQ}-max`,bQ="os-scrollbar-hidden",sL=`${K1}-initialize`,Za=K1,xQ=`${Za}-overflow-x`,wQ=`${Za}-overflow-y`,Jm="overflowVisible",$1e="scrollbarHidden",X8="scrollbarPressed",zE="updating",Ju=`${K1}-viewport`,aL="arrange",_Q="scrollbarHidden",Zm=Jm,gF=`${K1}-padding`,F1e=Zm,Y8=`${K1}-content`,iz="os-size-observer",z1e=`${iz}-appear`,j1e=`${iz}-listener`,U1e="os-trinsic-observer",H1e="os-no-css-vars",W1e="os-theme-none",Qo="os-scrollbar",G1e=`${Qo}-rtl`,V1e=`${Qo}-horizontal`,q1e=`${Qo}-vertical`,SQ=`${Qo}-track`,oz=`${Qo}-handle`,X1e=`${Qo}-visible`,Y1e=`${Qo}-cornerless`,K8=`${Qo}-transitionless`,Q8=`${Qo}-interaction`,J8=`${Qo}-unusable`,vF=`${Qo}-auto-hide`,Z8=`${vF}-hidden`,eH=`${Qo}-wheel`,K1e=`${SQ}-interactive`,Q1e=`${oz}-interactive`,EQ={},xp=()=>EQ,J1e=e=>{const t=[];return En($s(e)?e:[e],n=>{const r=Fs(n);En(r,i=>{Fn(t,EQ[i]=n[i])})}),t},Z1e="__osOptionsValidationPlugin",ewe="__osSizeObserverPlugin",sz="__osScrollbarsHidingPlugin",twe="__osClickScrollPlugin";let lL;const tH=(e,t,n,r)=>{ra(e,t);const i=kS(t),o=t1(t),s=FE(n);return r&&Yl(t),{x:o.h-i.h+s.h,y:o.w-i.w+s.w}},nwe=e=>{let t=!1;const n=Bd(e,bQ);try{t=Qi(e,T1e("scrollbar-width"))==="none"||window.getComputedStyle(e,"::-webkit-scrollbar").getPropertyValue("display")==="none"}catch{}return n(),t},rwe=(e,t)=>{const n="hidden";Qi(e,{overflowX:n,overflowY:n,direction:"rtl"}),al(e,0);const r=oL(e),i=oL(t);al(e,-999);const o=oL(t);return{i:r.x===i.x,n:i.x!==o.x}},iwe=(e,t)=>{const n=Bd(e,yQ),r=Dl(e),i=Dl(t),o=U8(i,r,!0),s=Bd(e,B1e),l=Dl(e),c=Dl(t),d=U8(c,l,!0);return n(),s(),o&&d},owe=()=>{const{body:e}=document,n=aQ(``)[0],r=n.firstChild,[i,,o]=rz(),[s,l]=Ja({o:tH(e,n,r),u:fQ},tH.bind(0,e,n,r,!0)),[c]=l(),d=nwe(n),f={x:c.x===0,y:c.y===0},h={elements:{host:null,padding:!d,viewport:b=>d&&b===b.ownerDocument.body&&b,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},p=Tr({},N1e),g=Tr.bind(0,{},p),v=Tr.bind(0,{},h),y={k:c,I:f,A:d,H:Qi(n,"zIndex")==="-1",B:!!pF,V:rwe(n,r),Y:iwe(n,r),j:i.bind(0,"z"),N:i.bind(0,"r"),q:v,F:b=>Tr(h,b)&&v(),G:g,X:b=>Tr(p,b)&&g(),U:Tr({},h),W:Tr({},p)},S=window.addEventListener,_=tz(b=>o(b?"z":"r"),{g:33,v:99});if(Oo(n,"style"),Yl(n),S("resize",_.bind(0,!1)),!d&&(!f.x||!f.y)){let b;S("resize",()=>{const x=xp()[sz];b=b||x&&x.R(),b&&b(y,s,_.bind(0,!0))})}return y},Jo=()=>(lL||(lL=owe()),lL),az=(e,t)=>pl(t)?t.apply(0,e):t,swe=(e,t,n,r)=>{const i=Mu(r)?n:r;return az(e,i)||t.apply(0,e)},CQ=(e,t,n,r)=>{const i=Mu(r)?n:r,o=az(e,i);return!!o&&(px(o)?o:t.apply(0,e))},awe=(e,t,n)=>{const{nativeScrollbarsOverlaid:r,body:i}=n||{},{I:o,A:s}=Jo(),{nativeScrollbarsOverlaid:l,body:c}=t,d=r??l,f=Mu(i)?c:i,h=(o.x||o.y)&&d,p=e&&(ak(f)?!s:f);return!!h||!!p},lz=new WeakMap,lwe=(e,t)=>{lz.set(e,t)},cwe=e=>{lz.delete(e)},TQ=e=>lz.get(e),nH=(e,t)=>e?t.split(".").reduce((n,r)=>n&&dk(n,r)?n[r]:void 0,e):void 0,yF=(e,t,n)=>r=>[nH(e,r),n||nH(t,r)!==void 0],kQ=e=>{let t=e;return[()=>t,n=>{t=Tr({},t,n)}]},n_="tabindex",r_=tp.bind(0,""),cL=e=>{ra(Cu(e),J4(e)),Yl(e)},uwe=e=>{const t=Jo(),{q:n,A:r}=t,i=xp()[sz],o=i&&i.T,{elements:s}=n(),{host:l,padding:c,viewport:d,content:f}=s,h=px(e),p=h?{}:e,{elements:g}=p,{host:v,padding:y,viewport:S,content:_}=g||{},b=h?e:p.target,x=NE(b,"textarea"),E=b.ownerDocument,A=E.documentElement,R=b===E.body,k=E.defaultView,O=swe.bind(0,[b]),L=CQ.bind(0,[b]),N=az.bind(0,[b]),H=O.bind(0,r_,d),W=L.bind(0,r_,f),z=H(S),D=z===b,F=D&&R,j=!D&&W(_),V=!D&&px(z)&&z===j,G=V&&!!N(f),K=G?H():z,Y=G?j:W(),ie=F?A:V?K:z,ce=x?O(r_,l,v):b,ue=F?ie:ce,se=V?Y:j,Q=E.activeElement,ae=!D&&k.top===k&&Q===b,le={Z:b,J:ue,K:ie,tt:!D&&L(r_,c,y),nt:se,ot:!D&&!r&&o&&o(t),st:F?A:ie,et:F?E:ie,ct:k,rt:E,lt:x,it:R,ut:h,ft:D,dt:V,_t:(it,pt)=>b1e(ie,D?Za:Ju,D?pt:it),ht:(it,pt,mt)=>ep(ie,D?Za:Ju,D?pt:it,mt)},he=Fs(le).reduce((it,pt)=>{const mt=le[pt];return Fn(it,mt&&px(mt)&&!Cu(mt)?mt:!1)},[]),pe=it=>it?uk(he,it)>-1:null,{Z:ve,J:ye,tt:xe,K:me,nt:be,ot:Qe}=le,qe=[()=>{Oo(ye,Za),Oo(ye,sL),Oo(ve,sL),R&&(Oo(A,Za),Oo(A,sL))}],at=x&&pe(ye);let Lt=x?ve:J4([be,me,xe,ye,ve].find(it=>pe(it)===!1));const Ie=F?ve:be||me;return[le,()=>{_o(ye,Za,D?"viewport":"host"),_o(xe,gF,""),_o(be,Y8,""),D||_o(me,Ju,"");const it=R&&!D?Bd(Cu(b),bQ):Es;if(at&&(z8(ve,ye),Fn(qe,()=>{z8(ye,ve),Yl(ye)})),ra(Ie,Lt),ra(ye,xe),ra(xe||ye,!D&&me),ra(me,be),Fn(qe,()=>{it(),Oo(xe,gF),Oo(be,Y8),Oo(me,xQ),Oo(me,wQ),Oo(me,Ju),pe(be)&&cL(be),pe(me)&&cL(me),pe(xe)&&cL(xe)}),r&&!D&&(ep(me,Ju,_Q,!0),Fn(qe,Oo.bind(0,me,Ju))),Qe&&(_1e(me,Qe),Fn(qe,Yl.bind(0,Qe))),ae){const pt=_o(me,n_);_o(me,n_,"-1"),me.focus();const mt=()=>pt?_o(me,n_,pt):Oo(me,n_),_e=qr(E,"pointerdown keydown",()=>{mt(),_e()});Fn(qe,[mt,_e])}else Q&&Q.focus&&Q.focus();Lt=0},rc.bind(0,qe)]},dwe=(e,t)=>{const{nt:n}=e,[r]=t;return i=>{const{Y:o}=Jo(),{gt:s}=r(),{vt:l}=i,c=(n||!o)&&l;return c&&Qi(n,{height:s?"":"100%"}),{wt:c,bt:c}}},fwe=(e,t)=>{const[n,r]=t,{J:i,tt:o,K:s,ft:l}=e,[c,d]=Ja({u:R1e,o:W8()},W8.bind(0,i,"padding",""));return(f,h,p)=>{let[g,v]=d(p);const{A:y,Y:S}=Jo(),{yt:_}=n(),{wt:b,bt:x,St:E}=f,[A,R]=h("paddingAbsolute");(b||v||!S&&x)&&([g,v]=c(p));const O=!l&&(R||E||v);if(O){const L=!A||!o&&!y,N=g.r+g.l,H=g.t+g.b,W={marginRight:L&&!_?-N:0,marginBottom:L?-H:0,marginLeft:L&&_?-N:0,top:L?-g.t:0,right:L?_?-g.r:"auto":0,left:L?_?"auto":-g.l:0,width:L?`calc(100% + ${N}px)`:""},z={paddingTop:L?g.t:0,paddingRight:L?g.r:0,paddingBottom:L?g.b:0,paddingLeft:L?g.l:0};Qi(o||s,W),Qi(s,z),r({tt:g,$t:!L,P:o?z:Tr({},W,z)})}return{xt:O}}},{max:bF}=Math,Zu=bF.bind(0,0),AQ="visible",rH="hidden",hwe=42,i_={u:dQ,o:{w:0,h:0}},pwe={u:fQ,o:{x:rH,y:rH}},mwe=(e,t)=>{const n=window.devicePixelRatio%1!==0?1:0,r={w:Zu(e.w-t.w),h:Zu(e.h-t.h)};return{w:r.w>n?r.w:0,h:r.h>n?r.h:0}},o_=e=>e.indexOf(AQ)===0,gwe=(e,t)=>{const[n,r]=t,{J:i,tt:o,K:s,ot:l,ft:c,ht:d,it:f,ct:h}=e,{k:p,Y:g,A:v,I:y}=Jo(),S=xp()[sz],_=!c&&!v&&(y.x||y.y),b=f&&c,[x,E]=Ja(i_,FE.bind(0,s)),[A,R]=Ja(i_,$E.bind(0,s)),[k,O]=Ja(i_),[L,N]=Ja(i_),[H]=Ja(pwe),W=(G,K)=>{if(Qi(s,{height:""}),K){const{$t:Y,tt:J}=n(),{Ct:ie,M:ce}=G,ue=FE(i),se=kS(i),Q=Qi(s,"boxSizing")==="content-box",ae=Y||Q?J.b+J.t:0,le=!(y.x&&Q);Qi(s,{height:se.h+ue.h+(ie.x&&le?ce.x:0)-ae})}},z=(G,K)=>{const Y=!v&&!G?hwe:0,J=(pe,ve,ye)=>{const xe=Qi(s,pe),be=(K?K[pe]:xe)==="scroll";return[xe,be,be&&!v?ve?Y:ye:0,ve&&!!Y]},[ie,ce,ue,se]=J("overflowX",y.x,p.x),[Q,ae,le,he]=J("overflowY",y.y,p.y);return{Ot:{x:ie,y:Q},Ct:{x:ce,y:ae},M:{x:ue,y:le},D:{x:se,y:he}}},D=(G,K,Y,J)=>{const ie=(ae,le)=>{const he=o_(ae),pe=le&&he&&ae.replace(`${AQ}-`,"")||"";return[le&&!he?ae:"",o_(pe)?"hidden":pe]},[ce,ue]=ie(Y.x,K.x),[se,Q]=ie(Y.y,K.y);return J.overflowX=ue&&se?ue:ce,J.overflowY=Q&&ce?Q:se,z(G,J)},F=(G,K,Y,J)=>{const{M:ie,D:ce}=G,{x:ue,y:se}=ce,{x:Q,y:ae}=ie,{P:le}=n(),he=K?"marginLeft":"marginRight",pe=K?"paddingLeft":"paddingRight",ve=le[he],ye=le.marginBottom,xe=le[pe],me=le.paddingBottom;J.width=`calc(100% + ${ae+ve*-1}px)`,J[he]=-ae+ve,J.marginBottom=-Q+ye,Y&&(J[pe]=xe+(se?ae:0),J.paddingBottom=me+(ue?Q:0))},[j,V]=S?S.L(_,g,s,l,n,z,F):[()=>_,()=>[Es]];return(G,K,Y)=>{const{wt:J,Tt:ie,bt:ce,xt:ue,vt:se,St:Q}=G,{gt:ae,yt:le}=n(),[he,pe]=K("showNativeOverlaidScrollbars"),[ve,ye]=K("overflow"),xe=he&&y.x&&y.y,me=!c&&!g&&(J||ce||ie||pe||se),be=o_(ve.x),Qe=o_(ve.y),qe=be||Qe;let at=E(Y),Lt=R(Y),Ie=O(Y),ze=N(Y),it;if(pe&&v&&d(_Q,$1e,!xe),me&&(it=z(xe),W(it,ae)),J||ue||ce||Q||pe){qe&&d(Zm,Jm,!1);const[Re,Ue]=V(xe,le,it),[yt,Wt]=at=x(Y),[pn,$r]=Lt=A(Y),Or=kS(s);let Mr=pn,Fr=Or;Re(),($r||Wt||pe)&&Ue&&!xe&&j(Ue,pn,yt,le)&&(Fr=kS(s),Mr=$E(s));const Jr={w:Zu(bF(pn.w,Mr.w)+yt.w),h:Zu(bF(pn.h,Mr.h)+yt.h)},Zo={w:Zu((b?h.innerWidth:Fr.w+Zu(Or.w-pn.w))+yt.w),h:Zu((b?h.innerHeight+yt.h:Fr.h+Zu(Or.h-pn.h))+yt.h)};ze=L(Zo),Ie=k(mwe(Jr,Zo),Y)}const[pt,mt]=ze,[_e,je]=Ie,[Ye,$e]=Lt,[Ne,Rt]=at,ct={x:_e.w>0,y:_e.h>0},Ae=be&&Qe&&(ct.x||ct.y)||be&&ct.x&&!ct.y||Qe&&ct.y&&!ct.x;if(ue||Q||Rt||$e||mt||je||ye||pe||me){const Re={marginRight:0,marginBottom:0,marginLeft:0,width:"",overflowY:"",overflowX:""},Ue=D(xe,ct,ve,Re),yt=j(Ue,Ye,Ne,le);c||F(Ue,le,yt,Re),me&&W(Ue,ae),c?(_o(i,xQ,Re.overflowX),_o(i,wQ,Re.overflowY)):Qi(s,Re)}ep(i,Za,Jm,Ae),ep(o,gF,F1e,Ae),c||ep(s,Ju,Zm,qe);const[ot,$t]=H(z(xe).Ot);return r({Ot:ot,zt:{x:pt.w,y:pt.h},Et:{x:_e.w,y:_e.h},At:ct}),{It:$t,Ht:mt,Lt:je}}},iH=(e,t,n)=>{const r={},i=t||{},o=Fs(e).concat(Fs(i));return En(o,s=>{const l=e[s],c=i[s];r[s]=!!(n||l||c)}),r},vwe=(e,t)=>{const{Z:n,K:r,ht:i,ft:o}=e,{A:s,I:l,Y:c}=Jo(),d=!s&&(l.x||l.y),f=[dwe(e,t),fwe(e,t),gwe(e,t)];return(h,p,g)=>{const v=iH(Tr({wt:!1,xt:!1,St:!1,vt:!1,Ht:!1,Lt:!1,It:!1,Tt:!1,bt:!1,Pt:!1},p),{},g),y=d||!c,S=y&&al(r),_=y&&vu(r);i("",zE,!0);let b=v;return En(f,x=>{b=iH(b,x(b,h,!!g)||{},g)}),al(r,S),vu(r,_),i("",zE),o||(al(n,0),vu(n,0)),b}},ywe=(e,t,n)=>{let r,i=!1;const o=()=>{i=!0},s=l=>{if(n){const c=n.reduce((d,f)=>{if(f){const[h,p]=f,g=p&&h&&(l?l(h):sQ(h,e));g&&g.length&&p&&Qd(p)&&Fn(d,[g,p.trim()],!0)}return d},[]);En(c,d=>En(d[0],f=>{const h=d[1],p=r.get(f)||[];if(e.contains(f)){const v=qr(f,h,y=>{i?(v(),r.delete(f)):t(y)});r.set(f,Fn(p,v))}else rc(p),r.delete(f)}))}};return n&&(r=new WeakMap,s()),[o,s]},oH=(e,t,n,r)=>{let i=!1;const{Mt:o,Dt:s,Rt:l,kt:c,Bt:d,Vt:f}=r||{},h=tz(()=>i&&n(!0),{g:33,v:99}),[p,g]=ywe(e,h,l),v=o||[],y=s||[],S=v.concat(y),_=(x,E)=>{const A=d||Es,R=f||Es,k=new Set,O=new Set;let L=!1,N=!1;if(En(x,H=>{const{attributeName:W,target:z,type:D,oldValue:F,addedNodes:j,removedNodes:V}=H,G=D==="attributes",K=D==="childList",Y=e===z,J=G&&Qd(W)?_o(z,W):0,ie=J!==0&&F!==J,ce=uk(y,W)>-1&&ie;if(t&&(K||!Y)){const ue=!G,se=G&&ie,Q=se&&c&&NE(z,c),le=(Q?!A(z,W,F,J):ue||se)&&!R(H,!!Q,e,r);En(j,he=>k.add(he)),En(V,he=>k.add(he)),N=N||le}!t&&Y&&ie&&!A(z,W,F,J)&&(O.add(W),L=L||ce)}),k.size>0&&g(H=>bp(k).reduce((W,z)=>(Fn(W,sQ(H,z)),NE(z,H)?Fn(W,z):W),[])),t)return!E&&N&&n(!1),[!1];if(O.size>0||L){const H=[bp(O),L];return!E&&n.apply(0,H),H}},b=new k1e(x=>_(x));return b.observe(e,{attributes:!0,attributeOldValue:!0,attributeFilter:S,subtree:t,childList:t,characterData:t}),i=!0,[()=>{i&&(p(),b.disconnect(),i=!1)},()=>{if(i){h.m();const x=b.takeRecords();return!K4(x)&&_(x,!0)}}]},s_=3333333,RQ=(e,t,n)=>{const{Yt:r,Pt:i}=n||{},o=xp()[ewe],{V:s}=Jo(),c=aQ(``)[0],d=c.firstChild,f=kg.bind(0,e),[h]=Ja({o:!1,_:!0,u:(v,y)=>!(!v||!Nm(v)&&Nm(y))}),p=v=>{const y=$s(v)&&v.length>0&&e1(v[0]),S=!y&&Y4(v[0]);let _=!1,b=!1,x=!0;if(y){const[E,,A]=h(v.pop().contentRect),R=Nm(E),k=Nm(A);_=!A&&!!k||!R,b=!k&&R,x=!_}else S?[,x]=v:b=v===!0;if(r&&x){const E=S?v[0]:kg(c);al(c,E?s.n?-s_:s.i?0:s_:s_),vu(c,s_)}_||t({wt:!S,jt:S?v:void 0,Pt:!!b})},g=[];return[()=>{rc(g),Yl(c)},()=>{let v=i&&p;if(Lm){const y=new Lm(p);y.observe(d),Fn(g,()=>{y.disconnect()})}else if(o){const[y,S]=o.O(d,p,i);v=y,Fn(g,S)}if(r){const[y]=Ja({o:void 0},f);Fn(g,qr(c,"scroll",S=>{const _=y(),[b,x,E]=_;x&&(ez(d,"ltr rtl"),Bd(d,b?"rtl":"ltr"),p([!!b,x,E])),pQ(S)}))}v&&(Bd(c,z1e),Fn(g,qr(c,"animationstart",v,{C:!!Lm}))),(Lm||o)&&ra(e,c)}]},bwe=e=>e.h===0||e.isIntersecting||e.intersectionRatio>0,xwe=(e,t)=>{let n;const r=tp(U1e),i=[],[o]=Ja({o:!1}),s=(c,d)=>{if(c){const f=o(bwe(c)),[,h]=f;return h&&!d&&t(f)&&[f]}},l=(c,d)=>c&&c.length>0&&s(c.pop(),d);return[()=>{rc(i),Yl(r)},()=>{if(j8)n=new j8(c=>l(c),{root:e}),n.observe(r),Fn(i,()=>{n.disconnect()});else{const c=()=>{const h=t1(r);s(h)},[d,f]=RQ(r,c);Fn(i,d),f(),c()}ra(e,r)},()=>n&&l(n.takeRecords(),!0)]},sH=`[${Za}]`,wwe=`[${Ju}]`,uL=["tabindex"],aH=["wrap","cols","rows"],dL=["id","class","style","open"],_we=(e,t,n)=>{let r,i,o;const{J:s,K:l,nt:c,lt:d,ft:f,_t:h,ht:p}=e,{Y:g}=Jo(),[v]=Ja({u:dQ,o:{w:0,h:0}},()=>{const F=h(Zm,Jm),j=h(aL,""),V=j&&al(l),G=j&&vu(l);p(Zm,Jm),p(aL,""),p("",zE,!0);const K=$E(c),Y=$E(l),J=FE(l);return p(Zm,Jm,F),p(aL,"",j),p("",zE),al(l,V),vu(l,G),{w:Y.w+K.w+J.w,h:Y.h+K.h+J.h}}),y=d?aH:dL.concat(aH),S=tz(n,{g:()=>r,v:()=>i,p(F,j){const[V]=F,[G]=j;return[Fs(V).concat(Fs(G)).reduce((K,Y)=>(K[Y]=V[Y]||G[Y],K),{})]}}),_=F=>{En(F||uL,j=>{if(uk(uL,j)>-1){const V=_o(s,j);Qd(V)?_o(l,j,V):Oo(l,j)}})},b=(F,j)=>{const[V,G]=F,K={vt:G};return t({gt:V}),!j&&n(K),K},x=({wt:F,jt:j,Pt:V})=>{const G=!F||V?n:S;let K=!1;if(j){const[Y,J]=j;K=J,t({yt:Y})}G({wt:F,Pt:V,St:K})},E=(F,j)=>{const[,V]=v(),G={bt:V};return V&&!j&&(F?n:S)(G),G},A=(F,j,V)=>{const G={Tt:j};return j?!V&&S(G):f||_(F),G},[R,k,O]=c||!g?xwe(s,b):[Es,Es,Es],[L,N]=f?[Es,Es]:RQ(s,x,{Pt:!0,Yt:!0}),[H,W]=oH(s,!1,A,{Dt:dL,Mt:dL.concat(uL)});let z;const D=f&&Lm&&new Lm(F=>{const j=F[F.length-1].contentRect,V=Nm(j),K=!Nm(z)&&V;x({wt:!0,Pt:K}),z=j});return[()=>{R(),L(),o&&o[0](),D&&D.disconnect(),H()},()=>{D&&D.observe(s),_(),N(),k()},()=>{const F={},j=W(),V=O(),G=o&&o[1]();return j&&Tr(F,A.apply(0,Fn(j,!0))),V&&Tr(F,b.apply(0,Fn(V,!0))),G&&Tr(F,E.apply(0,Fn(G,!0))),F},F=>{const[j]=F("update.ignoreMutation"),[V,G]=F("update.attributes"),[K,Y]=F("update.elementEvents"),[J,ie]=F("update.debounce"),ce=Y||G,ue=se=>pl(j)&&j(se);if(ce&&(o&&(o[1](),o[0]()),o=oH(c||l,!0,E,{Mt:y.concat(V||[]),Rt:K,kt:sH,Vt:(se,Q)=>{const{target:ae,attributeName:le}=se;return(!Q&&le&&!f?w1e(ae,sH,wwe):!1)||!!Dm(ae,`.${Qo}`)||!!ue(se)}})),ie)if(S.m(),$s(J)){const se=J[0],Q=J[1];r=Td(se)&&se,i=Td(Q)&&Q}else Td(J)?(r=J,i=!1):(r=!1,i=!1)}]},lH={x:0,y:0},Swe=e=>({tt:{t:0,r:0,b:0,l:0},$t:!1,P:{marginRight:0,marginBottom:0,marginLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},zt:lH,Et:lH,Ot:{x:"hidden",y:"hidden"},At:{x:!1,y:!1},gt:!1,yt:kg(e.J)}),Ewe=(e,t)=>{const n=yF(t,{}),[r,i,o]=rz(),[s,l,c]=uwe(e),d=kQ(Swe(s)),[f,h]=d,p=vwe(s,d),g=(x,E,A)=>{const k=Fs(x).some(O=>!!x[O])||!Q4(E)||A;return k&&o("u",[x,E,A]),k},[v,y,S,_]=_we(s,h,x=>g(p(n,x),{},!1)),b=f.bind(0);return b.Nt=x=>r("u",x),b.qt=()=>{const{Z:x,K:E,rt:A,it:R}=s,k=R?A.documentElement:x,O=al(k),L=vu(k);y(),l(),al(E,O),vu(E,L)},b.Ft=s,[(x,E)=>{const A=yF(t,x,E);return _(A),g(p(A,S(),E),x,!!E)},b,()=>{i(),v(),c()}]},{round:cH}=Math,Cwe=e=>{const{width:t,height:n}=Dl(e),{w:r,h:i}=t1(e);return{x:cH(t)/r||1,y:cH(n)/i||1}},Twe=(e,t,n)=>{const r=t.scrollbars,{button:i,isPrimary:o,pointerType:s}=e,{pointers:l}=r;return i===0&&o&&r[n?"dragScroll":"clickScroll"]&&(l||[]).includes(s)},uH="pointerup pointerleave pointercancel lostpointercapture",kwe=(e,t)=>qr(e,"mousedown",qr.bind(0,t,"click",pQ,{C:!0,$:!0}),{$:!0}),Awe=(e,t,n,r,i,o,s)=>{const{V:l}=Jo(),{Gt:c,Xt:d,Ut:f}=r,h=`scroll${s?"Left":"Top"}`,p=`client${s?"X":"Y"}`,g=s?"width":"height",v=s?"left":"top",y=s?"w":"h",S=s?"x":"y",_=(b,x)=>E=>{const{Et:A}=o(),R=t1(d)[y]-t1(c)[y],O=x*E/R*A[S],N=kg(f)&&s?l.n||l.i?1:-1:1;i[h]=b+O*N};return qr(d,"pointerdown",b=>{const x=Dm(b.target,`.${oz}`)===c,E=x?c:d;if(ep(t,Za,X8,!0),Twe(b,e,x)){const A=!x&&b.shiftKey,R=()=>Dl(c),k=()=>Dl(d),O=(K,Y)=>(K||R())[v]-(Y||k())[v],L=_(i[h]||0,1/Cwe(i)[S]),N=b[p],H=R(),W=k(),z=H[g],D=O(H,W)+z/2,F=N-W[v],j=x?0:F-D,V=K=>{rc(G),E.releasePointerCapture(K.pointerId)},G=[ep.bind(0,t,Za,X8),qr(n,uH,V),qr(n,"selectstart",K=>mQ(K),{S:!1}),qr(d,uH,V),qr(d,"pointermove",K=>{const Y=K[p]-N;(x||A)&&L(j+Y)})];if(A)L(j);else if(!x){const K=xp()[twe];K&&Fn(G,K.O(L,O,j,z,F))}E.setPointerCapture(b.pointerId)}})},Rwe=(e,t)=>(n,r,i,o,s,l,c)=>{const{Ut:d}=n,[f,h]=Mh(333),p=!!s.scrollBy;let g=!0;return rc.bind(0,[qr(d,"pointerenter",()=>{r(Q8,!0)}),qr(d,"pointerleave pointercancel",()=>{r(Q8)}),qr(d,"wheel",v=>{const{deltaX:y,deltaY:S,deltaMode:_}=v;p&&g&&_===0&&Cu(d)===o&&s.scrollBy({left:y,top:S,behavior:"smooth"}),g=!1,r(eH,!0),f(()=>{g=!0,r(eH)}),mQ(v)},{S:!1,$:!0}),kwe(d,i),Awe(e,o,i,n,s,t,c),h])},{min:jE,max:xF,round:Iwe}=Math,IQ=(e,t,n,r)=>{if(r){const l=n?"x":"y",{Et:c,zt:d}=r,f=d[l],h=c[l];return xF(0,jE(1,f/(f+h)))}const i=n?"width":"height",o=Dl(e)[i],s=Dl(t)[i];return xF(0,jE(1,o/s))},Pwe=(e,t,n,r,i,o)=>{const{V:s}=Jo(),l=o?"x":"y",c=o?"Left":"Top",{Et:d}=r,f=Iwe(d[l]),h=jE(f,xF(0,n[`scroll${c}`])),p=o&&i,g=s.i?h:f-h,y=jE(1,(p?g:h)/f),S=IQ(e,t,o);return 1/S*(1-S)*y},PQ=(e,t,n,r)=>t&&e.animate(n,{timeline:t,composite:r}),Owe=(e,t)=>({transform:[Ag("0%",t),Ag(t&&e?"100%":"-100%",t)],[t?e?"right":"left":"top"]:["0%","100%"]}),Mwe=e=>`${Math.max(0,e-.5)}px`,dH=(e,t,n,r)=>PQ(e,t,{transform:[Ag("0px",r),Ag(Mwe(n),r)]},"add"),fH=(e,t)=>pF?new pF({source:e,axis:t}):null,Dwe=(e,t,n)=>{const{q:r,H:i}=Jo(),{scrollbars:o}=r(),{slot:s}=o,{rt:l,Z:c,J:d,K:f,ut:h,st:p,it:g,ft:v}=t,{scrollbars:y}=h?{}:e,{slot:S}=y||{},_=new Map,b=fH(p,"x"),x=fH(p,"y"),E=CQ([c,d,f],()=>v&&g?c:d,s,S),A=se=>v&&!g&&Cu(se)===f,R=se=>{_.forEach((Q,ae)=>{(se?uk($s(se)?se:[se],ae)>-1:!0)&&((Q||[]).forEach(he=>{he&&he.cancel()}),_.delete(ae))})},k=(se,Q,ae)=>{const le=ae?Bd:ez;En(se,he=>{le(he.Ut,Q)})},O=(se,Q)=>{En(se,ae=>{const[le,he]=Q(ae);Qi(le,he)})},L=(se,Q,ae)=>{O(se,le=>{const{Gt:he,Xt:pe}=le;return[he,{[ae?"width":"height"]:`${(IQ(he,pe,ae,Q)*100).toFixed(3)}%`}]})},N=(se,Q,ae)=>{!x&&!x&&O(se,le=>{const{Gt:he,Xt:pe,Ut:ve}=le,ye=Pwe(he,pe,p,Q,kg(ve),ae);return[he,{transform:ye===ye?Ag(`${(ye*100).toFixed(3)}%`,ae):""}]})},H=se=>{const{Ut:Q}=se,ae=A(Q)&&Q;return[ae,{transform:ae?Ag([`${al(p)}px`,`${vu(p)}px`]):""}]},W=[],z=[],D=[],F=(se,Q,ae)=>{const le=Y4(ae),he=le?ae:!0,pe=le?!ae:!0;he&&k(z,se,Q),pe&&k(D,se,Q)},j=se=>{L(z,se,!0),L(D,se)},V=se=>{N(z,se,!0),N(D,se)},G=()=>{const se=(Q,{Ut:ae,Gt:le})=>{R(le),_.set(le,[PQ(le,Q?b:x,Owe(Q&&kg(ae),Q))])};z.forEach(se.bind(0,!0)),D.forEach(se.bind(0,!1))},K=()=>{!x&&!x&&(v&&O(z,H),v&&O(D,H))},Y=({Et:se})=>{D.concat(z).forEach(({Ut:Q})=>{R(Q),A(Q)&&_.set(Q,[dH(Q,b,se.x,!0),dH(Q,x,se.y)])})},J=se=>{const Q=se?V1e:q1e,ae=se?z:D,le=K4(ae)?K8:"",he=tp(`${Qo} ${Q} ${le}`),pe=tp(SQ),ve=tp(oz),ye={Ut:he,Xt:pe,Gt:ve};return i||Bd(he,H1e),ra(he,pe),ra(pe,ve),Fn(ae,ye),Fn(W,[Yl.bind(0,he),R,n(ye,F,l,d,p,se?b:x,se)]),ye},ie=J.bind(0,!0),ce=J.bind(0,!1),ue=()=>{ra(E,z[0].Ut),ra(E,D[0].Ut),BE(()=>{F(K8)},300)};return ie(),ce(),[{Wt:j,Zt:V,Jt:G,Kt:Y,Qt:K,tn:F,nn:{B:b,sn:z,en:ie,cn:O.bind(0,z)},rn:{B:x,sn:D,en:ce,cn:O.bind(0,D)}},ue,rc.bind(0,W)]},fL=e=>e.pointerType==="mouse",Lwe=(e,t,n,r)=>{let i,o,s,l,c,d=Es,f=0;const h=kQ({}),[p]=h,[g,v]=Mh(),[y,S]=Mh(),[_,b]=Mh(100),[x,E]=Mh(100),[A,R]=Mh(100),[k,O]=Mh(()=>f),[L,N,H]=Dwe(e,n.Ft,Rwe(t,n)),{J:W,et:z,it:D}=n.Ft,{tn:F,Wt:j,Zt:V,Jt:G,Kt:K,Qt:Y}=L,J=Q=>{F(vF,Q,!0),F(vF,Q,!1)},ie=(Q,ae)=>{if(O(),Q)F(Z8);else{const le=()=>F(Z8,!0);f>0&&!ae?k(le):le()}},ce=Q=>{fL(Q)&&(l=o,l&&ie(!0))},ue=[b,O,E,R,S,v,H,qr(W,"pointerover",ce,{C:!0}),qr(W,"pointerenter",ce),qr(W,"pointerleave",Q=>{fL(Q)&&(l=!1,o&&ie(!1))}),qr(W,"pointermove",Q=>{fL(Q)&&i&&g(()=>{b(),ie(!0),x(()=>{i&&ie(!1)})})}),qr(z,"scroll",Q=>{y(()=>{V(n()),s&&ie(!0),_(()=>{s&&!l&&ie(!1)})}),r(Q),Y()})],se=p.bind(0);return se.Ft=L,se.qt=N,[(Q,ae,le)=>{const{Ht:he,Lt:pe,It:ve,St:ye,Pt:xe}=le,{I:me}=Jo(),be=yF(t,Q,ae),Qe=n(),{Et:qe,Ot:at,yt:Lt,At:Ie}=Qe,[ze,it]=be("showNativeOverlaidScrollbars"),[pt,mt]=be("scrollbars.theme"),[_e,je]=be("scrollbars.visibility"),[Ye,$e]=be("scrollbars.autoHide"),[Ne,Rt]=be("scrollbars.autoHideSuspend"),[ct]=be("scrollbars.autoHideDelay"),[Ae,ot]=be("scrollbars.dragScroll"),[$t,Re]=be("scrollbars.clickScroll"),Ue=xe&&!ae,yt=Ie.x||Ie.y,Wt=he||pe||ye,pn=ve||je,$r=ze&&me.x&&me.y,Or=(Mr,Fr)=>{const Jr=_e==="visible"||_e==="auto"&&Mr==="scroll";return F(X1e,Jr,Fr),Jr};if(f=ct,Ue&&(Ne&&yt?(J(!1),d(),A(()=>{d=qr(z,"scroll",J.bind(0,!0),{C:!0})})):J(!0)),it&&F(W1e,$r),mt&&(F(c),F(pt,!0),c=pt),Rt&&!Ne&&J(!0),$e&&(i=Ye==="move",o=Ye==="leave",s=Ye!=="never",ie(!s,!0)),ot&&F(Q1e,Ae),Re&&F(K1e,$t),pn){const Mr=Or(at.x,!0),Fr=Or(at.y,!1);F(Y1e,!(Mr&&Fr))}Wt&&(j(Qe),V(Qe),G(Qe),K(Qe),Y(),F(J8,!qe.x,!0),F(J8,!qe.y,!1),F(G1e,Lt&&!D))},se,()=>{rc(ue),d()}]},OQ=(e,t,n)=>{pl(e)&&e(t||void 0,n||void 0)},fd=(e,t,n)=>{const{G:r,q:i,j:o,N:s}=Jo(),l=xp(),c=px(e),d=c?e:e.target,f=TQ(d);if(t&&!f){let h=!1;const p=z=>{const D=xp()[Z1e],F=D&&D.O;return F?F(z,!0):z},g=Tr({},r(),p(t)),[v,y,S]=rz(n),[_,b,x]=Ewe(e,g),[E,A,R]=Lwe(e,g,b,z=>S("scroll",[W,z])),k=(z,D)=>_(z,!!D),O=k.bind(0,{},!0),L=o(O),N=s(O),H=z=>{cwe(d),L(),N(),R(),x(),h=!0,S("destroyed",[W,!!z]),y()},W={options(z,D){if(z){const F=D?r():{},j=gQ(g,Tr(F,p(z)));Q4(j)||(Tr(g,j),k(j))}return Tr({},g)},on:v,off:(z,D)=>{z&&D&&y(z,D)},state(){const{zt:z,Et:D,Ot:F,At:j,tt:V,$t:G,yt:K}=b();return Tr({},{overflowEdge:z,overflowAmount:D,overflowStyle:F,hasOverflow:j,padding:V,paddingAbsolute:G,directionRTL:K,destroyed:h})},elements(){const{Z:z,J:D,tt:F,K:j,nt:V,st:G,et:K}=b.Ft,{nn:Y,rn:J}=A.Ft,ie=ue=>{const{Gt:se,Xt:Q,Ut:ae}=ue;return{scrollbar:ae,track:Q,handle:se}},ce=ue=>{const{sn:se,en:Q}=ue,ae=ie(se[0]);return Tr({},ae,{clone:()=>{const le=ie(Q());return E({},!0,{}),le}})};return Tr({},{target:z,host:D,padding:F||j,viewport:j,content:V||j,scrollOffsetElement:G,scrollEventElement:K,scrollbarHorizontal:ce(Y),scrollbarVertical:ce(J)})},update:z=>k({},z),destroy:H.bind(0)};return b.Nt((z,D,F)=>{E(D,F,z)}),lwe(d,W),En(Fs(l),z=>OQ(l[z],0,W)),awe(b.Ft.it,i().cancel,!c&&e.cancel)?(H(!0),W):(b.qt(),A.qt(),S("initialized",[W]),b.Nt((z,D,F)=>{const{wt:j,St:V,vt:G,Ht:K,Lt:Y,It:J,bt:ie,Tt:ce}=z;S("updated",[W,{updateHints:{sizeChanged:j,directionChanged:V,heightIntrinsicChanged:G,overflowEdgeChanged:K,overflowAmountChanged:Y,overflowStyleChanged:J,contentMutation:ie,hostMutation:ce},changedOptions:D,force:F}])}),W.update(!0),W)}return f};fd.plugin=e=>{En(J1e(e),t=>OQ(t,fd))};fd.valid=e=>{const t=e&&e.elements,n=pl(t)&&t();return dF(n)&&!!TQ(n.target)};fd.env=()=>{const{k:e,I:t,A:n,V:r,Y:i,H:o,B:s,U:l,W:c,q:d,F:f,G:h,X:p}=Jo();return Tr({},{scrollbarsSize:e,scrollbarsOverlaid:t,scrollbarsHiding:n,rtlScrollBehavior:r,flexboxGlue:i,cssCustomProperties:o,scrollTimeline:s,staticDefaultInitialization:l,staticDefaultOptions:c,getDefaultInitialization:d,setDefaultInitialization:f,getDefaultOptions:h,setDefaultOptions:p})};const Nwe=()=>{if(typeof window>"u"){const d=()=>{};return[d,d]}let e,t;const n=window,r=typeof n.requestIdleCallback=="function",i=n.requestAnimationFrame,o=n.cancelAnimationFrame,s=r?n.requestIdleCallback:i,l=r?n.cancelIdleCallback:o,c=()=>{l(e),o(t)};return[(d,f)=>{c(),e=s(r?()=>{c(),t=i(d)}:d,typeof f=="object"?f:{timeout:2233})},c]},MQ=e=>{const{options:t,events:n,defer:r}=e||{},[i,o]=I.useMemo(Nwe,[]),s=I.useRef(null),l=I.useRef(r),c=I.useRef(t),d=I.useRef(n);return I.useEffect(()=>{l.current=r},[r]),I.useEffect(()=>{const{current:f}=s;c.current=t,fd.valid(f)&&f.options(t||{},!0)},[t]),I.useEffect(()=>{const{current:f}=s;d.current=n,fd.valid(f)&&f.on(n||{},!0)},[n]),I.useEffect(()=>()=>{var f;o(),(f=s.current)==null||f.destroy()},[]),I.useMemo(()=>[f=>{const h=s.current;if(fd.valid(h))return;const p=l.current,g=c.current||{},v=d.current||{},y=()=>s.current=fd(f,g,v);p?i(y,p):y()},()=>s.current],[])},Bwe=(e,t)=>{const{element:n="div",options:r,events:i,defer:o,children:s,...l}=e,c=n,d=I.useRef(null),f=I.useRef(null),[h,p]=I.useState(!1),[g,v]=MQ({options:r,events:i,defer:o});return I.useEffect(()=>{p(!0)},[]),I.useEffect(()=>{const{current:y}=d,{current:S}=f;return h&&y&&S&&g({target:y,elements:{viewport:S,content:S}}),()=>{var _;return(_=v())==null?void 0:_.destroy()}},[h,g,n]),I.useImperativeHandle(t,()=>({osInstance:v,getElement:()=>d.current}),[]),de.createElement(c,{"data-overlayscrollbars-initialize":"",ref:d,...l},h?de.createElement("div",{ref:f,"data-overlayscrollbars-contents":!0},s):s)},$we=I.forwardRef(Bwe),rv=I.forwardRef(({children:e,x:t,y:n,px:r=6,...i},o)=>{const{palette:s,spacing:l}=In(),c=Zx({"div.os-scrollbar-vertical > div.os-scrollbar-track":{height:`calc(100% - ${l(r)})`,marginTop:l(r)}}),d=I.useCallback(f=>{if(o&&f){const h=f.elements().viewport;h&&(typeof o=="function"?o(h):o.current=h)}},[o]);return C.jsx($we,{options:{overflow:{x:t?"scroll":"hidden",y:n?"scroll":"hidden"},scrollbars:{autoHide:"move",theme:s.mode==="dark"?"os-theme-light":"os-theme-dark"}},...i,className:`${c} ${i.className}`,events:{initialized:d},children:e})});var DQ={exports:{}},Qn={};/** @license React v17.0.2
+ */function En(e,t){if(lk(e))for(let n=0;nt(e[n],n,e));return e}function Ji(e,t){const n=Qd(t);if($s(t)||n){let i=n?"":{};if(e){const o=window.getComputedStyle(e,null);i=n?H8(e,o,t):t.reduce((s,l)=>(s[l]=H8(e,o,l),s),i)}return i}e&&En(Fs(t),i=>O1e(e,i,t[i]))}const Ja=(e,t)=>{const{o:n,u:r,_:i}=e;let o=n,s;const l=(f,h)=>{const p=o,g=f,v=h||(r?!r(p,g):p!==g);return(v||i)&&(o=g,s=p),[o,v,s]};return[t?f=>l(t(o,s),f):l,f=>[o,!!f,s]]},Y1=()=>typeof window<"u",rQ=Y1()&&Node.ELEMENT_NODE,{toString:v1e,hasOwnProperty:nL}=Object.prototype,Mu=e=>e===void 0,ak=e=>e===null,y1e=e=>Mu(e)||ak(e)?`${e}`:v1e.call(e).replace(/^\[object (.+)\]$/,"$1").toLowerCase(),Td=e=>typeof e=="number",Qd=e=>typeof e=="string",Y4=e=>typeof e=="boolean",pl=e=>typeof e=="function",$s=e=>Array.isArray(e),e1=e=>typeof e=="object"&&!$s(e)&&!ak(e),lk=e=>{const t=!!e&&e.length,n=Td(t)&&t>-1&&t%1==0;return $s(e)||!pl(e)&&n?t>0&&e1(e)?t-1 in e:!0:!1},dF=e=>{if(!e||!e1(e)||y1e(e)!=="object")return!1;let t;const n="constructor",r=e[n],i=r&&r.prototype,o=nL.call(e,n),s=i&&nL.call(i,"isPrototypeOf");if(r&&!o&&!s)return!1;for(t in e);return Mu(t)||nL.call(e,t)},px=e=>{const t=HTMLElement;return e?t?e instanceof t:e.nodeType===rQ:!1},ck=e=>{const t=Element;return e?t?e instanceof t:e.nodeType===rQ:!1},uk=(e,t,n)=>e.indexOf(t,n),Fn=(e,t,n)=>(!n&&!Qd(t)&&lk(t)?Array.prototype.push.apply(e,t):e.push(t),e),bp=e=>{const t=Array.from,n=[];return t&&e?t(e):(e instanceof Set?e.forEach(r=>{Fn(n,r)}):En(e,r=>{Fn(n,r)}),n)},K4=e=>!!e&&e.length===0,rc=(e,t,n)=>{En(e,i=>i&&i.apply(void 0,t||[])),!n&&(e.length=0)},dk=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Fs=e=>e?Object.keys(e):[],Tr=(e,t,n,r,i,o,s)=>{const l=[t,n,r,i,o,s];return(typeof e!="object"||ak(e))&&!pl(e)&&(e={}),En(l,c=>{En(Fs(c),d=>{const f=c[d];if(e===f)return!0;const h=$s(f);if(f&&dF(f)){const p=e[d];let g=p;h&&!$s(p)?g=[]:!h&&!dF(p)&&(g={}),e[d]=Tr(g,f)}else e[d]=h?f.slice():f})}),e},Q4=e=>{for(const t in e)return!1;return!0},iQ=(e,t,n,r)=>{if(Mu(r))return n?n[e]:t;n&&(Qd(r)||Td(r))&&(n[e]=r)},So=(e,t,n)=>{if(Mu(n))return e?e.getAttribute(t):null;e&&e.setAttribute(t,n)},oQ=(e,t)=>new Set((So(e,t)||"").split(" ")),Oo=(e,t)=>{e&&e.removeAttribute(t)},ep=(e,t,n,r)=>{if(n){const i=oQ(e,t);i[r?"add":"delete"](n);const o=bp(i).join(" ").trim();So(e,t,o)}},b1e=(e,t,n)=>oQ(e,t).has(n),al=(e,t)=>iQ("scrollLeft",0,e,t),vu=(e,t)=>iQ("scrollTop",0,e,t),fF=Y1()&&Element.prototype,sQ=(e,t)=>{const n=[],r=t?ck(t)&&t:document;return r?Fn(n,r.querySelectorAll(e)):n},x1e=(e,t)=>{const n=t?ck(t)&&t:document;return n?n.querySelector(e):null},NE=(e,t)=>ck(e)?(fF.matches||fF.msMatchesSelector).call(e,t):!1,J4=e=>e?bp(e.childNodes):[],Cu=e=>e&&e.parentElement,Dm=(e,t)=>{if(ck(e)){const n=fF.closest;if(n)return n.call(e,t);do{if(NE(e,t))return e;e=Cu(e)}while(e)}},w1e=(e,t,n)=>{const r=Dm(e,t),i=e&&x1e(n,r),o=Dm(i,t)===r;return r&&i?r===e||i===e||o&&Dm(Dm(e,n),t)!==r:!1},Z4=(e,t,n)=>{if(n&&e){let r=t,i;lk(n)?(i=document.createDocumentFragment(),En(n,o=>{o===r&&(r=o.previousSibling),i.appendChild(o)})):i=n,t&&(r?r!==t&&(r=r.nextSibling):r=e.firstChild),e.insertBefore(i,r||null)}},ra=(e,t)=>{Z4(e,null,t)},_1e=(e,t)=>{Z4(Cu(e),e,t)},z8=(e,t)=>{Z4(Cu(e),e&&e.nextSibling,t)},Yl=e=>{if(lk(e))En(bp(e),t=>Yl(t));else if(e){const t=Cu(e);t&&t.removeChild(e)}},tp=e=>{const t=document.createElement("div");return e&&So(t,"class",e),t},aQ=e=>{const t=tp();return t.innerHTML=e.trim(),En(J4(t),n=>Yl(n))},hF=e=>e.charAt(0).toUpperCase()+e.slice(1),S1e=()=>tp().style,E1e=["-webkit-","-moz-","-o-","-ms-"],C1e=["WebKit","Moz","O","MS","webkit","moz","o","ms"],rL={},iL={},T1e=e=>{let t=iL[e];if(dk(iL,e))return t;const n=hF(e),r=S1e();return En(E1e,i=>{const o=i.replace(/-/g,"");return!(t=[e,i+e,o+n,hF(o)+n].find(l=>r[l]!==void 0))}),iL[e]=t||""},nv=e=>{if(Y1()){let t=rL[e]||window[e];return dk(rL,e)||(En(C1e,n=>(t=t||window[n+hF(e)],!t)),rL[e]=t),t}},k1e=nv("MutationObserver"),j8=nv("IntersectionObserver"),Lm=nv("ResizeObserver"),lQ=nv("cancelAnimationFrame"),cQ=nv("requestAnimationFrame"),pF=nv("ScrollTimeline"),BE=Y1()&&window.setTimeout,mF=Y1()&&window.clearTimeout,A1e=/[^\x20\t\r\n\f]+/g,uQ=(e,t,n)=>{const r=e&&e.classList;let i,o=0,s=!1;if(r&&t&&Qd(t)){const l=t.match(A1e)||[];for(s=l.length>0;i=l[o++];)s=!!n(r,i)&&s}return s},ez=(e,t)=>{uQ(e,t,(n,r)=>n.remove(r))},Bd=(e,t)=>(uQ(e,t,(n,r)=>n.add(r)),ez.bind(0,e,t)),fk=(e,t,n,r)=>{if(e&&t){let i=!0;return En(n,o=>{const s=r?r(e[o]):e[o],l=r?r(t[o]):t[o];s!==l&&(i=!1)}),i}return!1},dQ=(e,t)=>fk(e,t,["w","h"]),fQ=(e,t)=>fk(e,t,["x","y"]),R1e=(e,t)=>fk(e,t,["t","r","b","l"]),U8=(e,t,n)=>fk(e,t,["width","height"],n&&(r=>Math.round(r))),Es=()=>{},Mh=e=>{let t;const n=e?BE:cQ,r=e?mF:lQ;return[i=>{r(t),t=n(i,pl(e)?e():e)},()=>r(t)]},tz=(e,t)=>{let n,r,i,o=Es;const{g:s,v:l,p:c}=t||{},d=function(v){o(),mF(n),n=r=void 0,o=Es,e.apply(this,v)},f=g=>c&&r?c(r,g):g,h=()=>{o!==Es&&d(f(i)||i)},p=function(){const v=bp(arguments),y=pl(s)?s():s;if(Td(y)&&y>=0){const _=pl(l)?l():l,b=Td(_)&&_>=0,x=y>0?BE:cQ,E=y>0?mF:lQ,R=f(v)||v,k=d.bind(0,R);o();const O=x(k,y);o=()=>E(O),b&&!n&&(n=BE(h,_)),r=i=R}else d(v)};return p.m=h,p},I1e={opacity:1,zIndex:1},e_=(e,t)=>{const n=e||"",r=t?parseFloat(n):parseInt(n,10);return r===r?r:0},P1e=(e,t)=>!I1e[e]&&Td(t)?`${t}px`:t,H8=(e,t,n)=>String((t!=null?t[n]||t.getPropertyValue(n):e.style[n])||""),O1e=(e,t,n)=>{try{const{style:r}=e;Mu(r[t])?r.setProperty(t,n):r[t]=P1e(t,n)}catch{}},kg=e=>Ji(e,"direction")==="rtl",W8=(e,t,n)=>{const r=t?`${t}-`:"",i=n?`-${n}`:"",o=`${r}top${i}`,s=`${r}right${i}`,l=`${r}bottom${i}`,c=`${r}left${i}`,d=Ji(e,[o,s,l,c]);return{t:e_(d[o],!0),r:e_(d[s],!0),b:e_(d[l],!0),l:e_(d[c],!0)}},Ag=(e,t)=>`translate${$s(e)?`(${e[0]},${e[1]})`:`${t?"X":"Y"}(${e})`}`,{round:G8}=Math,nz={w:0,h:0},t1=e=>e?{w:e.offsetWidth,h:e.offsetHeight}:nz,kS=e=>e?{w:e.clientWidth,h:e.clientHeight}:nz,$E=e=>e?{w:e.scrollWidth,h:e.scrollHeight}:nz,FE=e=>{const t=parseFloat(Ji(e,"height"))||0,n=parseFloat(Ji(e,"width"))||0;return{w:n-G8(n),h:t-G8(t)}},Dl=e=>e.getBoundingClientRect(),Nm=e=>!!(e&&(e.height||e.width));let t_;const M1e=()=>{if(Mu(t_)){t_=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get(){t_=!0}}))}catch{}}return t_},hQ=e=>e.split(" "),D1e=(e,t,n,r)=>{En(hQ(t),i=>{e.removeEventListener(i,n,r)})},qr=(e,t,n,r)=>{var i;const o=M1e(),s=(i=o&&r&&r.S)!=null?i:o,l=r&&r.$||!1,c=r&&r.C||!1,d=[],f=o?{passive:s,capture:l}:l;return En(hQ(t),h=>{const p=c?g=>{e.removeEventListener(h,p,l),n&&n(g)}:n;Fn(d,D1e.bind(null,e,h,p,l)),e.addEventListener(h,p,f)}),rc.bind(0,d)},pQ=e=>e.stopPropagation(),mQ=e=>e.preventDefault(),L1e={x:0,y:0},oL=e=>{const t=e?Dl(e):0;return t?{x:t.left+window.pageYOffset,y:t.top+window.pageXOffset}:L1e},V8=(e,t)=>{En($s(t)?t:[t],e)},rz=e=>{const t=new Map,n=(o,s)=>{if(o){const l=t.get(o);V8(c=>{l&&l[c?"delete":"clear"](c)},s)}else t.forEach(l=>{l.clear()}),t.clear()},r=(o,s)=>{if(Qd(o)){const d=t.get(o)||new Set;return t.set(o,d),V8(f=>{pl(f)&&d.add(f)},s),n.bind(0,o,s)}Y4(s)&&s&&n();const l=Fs(o),c=[];return En(l,d=>{const f=o[d];f&&Fn(c,r(d,f))}),rc.bind(0,c)},i=(o,s)=>{const l=t.get(o);En(bp(l),c=>{s&&!K4(s)?c.apply(0,s):c()})};return r(e||{}),[r,n,i]},q8=e=>JSON.stringify(e,(t,n)=>{if(pl(n))throw new Error;return n}),N1e={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},gQ=(e,t)=>{const n={},r=Fs(t).concat(Fs(e));return En(r,i=>{const o=e[i],s=t[i];if(e1(o)&&e1(s))Tr(n[i]={},gQ(o,s)),Q4(n[i])&&delete n[i];else if(dk(t,i)&&s!==o){let l=!0;if($s(o)||$s(s))try{q8(o)===q8(s)&&(l=!1)}catch{}l&&(n[i]=s)}}),n},K1="data-overlayscrollbars",vQ="os-environment",yQ=`${vQ}-flexbox-glue`,B1e=`${yQ}-max`,bQ="os-scrollbar-hidden",sL=`${K1}-initialize`,Za=K1,xQ=`${Za}-overflow-x`,wQ=`${Za}-overflow-y`,Jm="overflowVisible",$1e="scrollbarHidden",X8="scrollbarPressed",zE="updating",Ju=`${K1}-viewport`,aL="arrange",_Q="scrollbarHidden",Zm=Jm,gF=`${K1}-padding`,F1e=Zm,Y8=`${K1}-content`,iz="os-size-observer",z1e=`${iz}-appear`,j1e=`${iz}-listener`,U1e="os-trinsic-observer",H1e="os-no-css-vars",W1e="os-theme-none",Qo="os-scrollbar",G1e=`${Qo}-rtl`,V1e=`${Qo}-horizontal`,q1e=`${Qo}-vertical`,SQ=`${Qo}-track`,oz=`${Qo}-handle`,X1e=`${Qo}-visible`,Y1e=`${Qo}-cornerless`,K8=`${Qo}-transitionless`,Q8=`${Qo}-interaction`,J8=`${Qo}-unusable`,vF=`${Qo}-auto-hide`,Z8=`${vF}-hidden`,eH=`${Qo}-wheel`,K1e=`${SQ}-interactive`,Q1e=`${oz}-interactive`,EQ={},xp=()=>EQ,J1e=e=>{const t=[];return En($s(e)?e:[e],n=>{const r=Fs(n);En(r,i=>{Fn(t,EQ[i]=n[i])})}),t},Z1e="__osOptionsValidationPlugin",ewe="__osSizeObserverPlugin",sz="__osScrollbarsHidingPlugin",twe="__osClickScrollPlugin";let lL;const tH=(e,t,n,r)=>{ra(e,t);const i=kS(t),o=t1(t),s=FE(n);return r&&Yl(t),{x:o.h-i.h+s.h,y:o.w-i.w+s.w}},nwe=e=>{let t=!1;const n=Bd(e,bQ);try{t=Ji(e,T1e("scrollbar-width"))==="none"||window.getComputedStyle(e,"::-webkit-scrollbar").getPropertyValue("display")==="none"}catch{}return n(),t},rwe=(e,t)=>{const n="hidden";Ji(e,{overflowX:n,overflowY:n,direction:"rtl"}),al(e,0);const r=oL(e),i=oL(t);al(e,-999);const o=oL(t);return{i:r.x===i.x,n:i.x!==o.x}},iwe=(e,t)=>{const n=Bd(e,yQ),r=Dl(e),i=Dl(t),o=U8(i,r,!0),s=Bd(e,B1e),l=Dl(e),c=Dl(t),d=U8(c,l,!0);return n(),s(),o&&d},owe=()=>{const{body:e}=document,n=aQ(``)[0],r=n.firstChild,[i,,o]=rz(),[s,l]=Ja({o:tH(e,n,r),u:fQ},tH.bind(0,e,n,r,!0)),[c]=l(),d=nwe(n),f={x:c.x===0,y:c.y===0},h={elements:{host:null,padding:!d,viewport:b=>d&&b===b.ownerDocument.body&&b,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},p=Tr({},N1e),g=Tr.bind(0,{},p),v=Tr.bind(0,{},h),y={k:c,I:f,A:d,H:Ji(n,"zIndex")==="-1",B:!!pF,V:rwe(n,r),Y:iwe(n,r),j:i.bind(0,"z"),N:i.bind(0,"r"),q:v,F:b=>Tr(h,b)&&v(),G:g,X:b=>Tr(p,b)&&g(),U:Tr({},h),W:Tr({},p)},S=window.addEventListener,_=tz(b=>o(b?"z":"r"),{g:33,v:99});if(Oo(n,"style"),Yl(n),S("resize",_.bind(0,!1)),!d&&(!f.x||!f.y)){let b;S("resize",()=>{const x=xp()[sz];b=b||x&&x.R(),b&&b(y,s,_.bind(0,!0))})}return y},Jo=()=>(lL||(lL=owe()),lL),az=(e,t)=>pl(t)?t.apply(0,e):t,swe=(e,t,n,r)=>{const i=Mu(r)?n:r;return az(e,i)||t.apply(0,e)},CQ=(e,t,n,r)=>{const i=Mu(r)?n:r,o=az(e,i);return!!o&&(px(o)?o:t.apply(0,e))},awe=(e,t,n)=>{const{nativeScrollbarsOverlaid:r,body:i}=n||{},{I:o,A:s}=Jo(),{nativeScrollbarsOverlaid:l,body:c}=t,d=r??l,f=Mu(i)?c:i,h=(o.x||o.y)&&d,p=e&&(ak(f)?!s:f);return!!h||!!p},lz=new WeakMap,lwe=(e,t)=>{lz.set(e,t)},cwe=e=>{lz.delete(e)},TQ=e=>lz.get(e),nH=(e,t)=>e?t.split(".").reduce((n,r)=>n&&dk(n,r)?n[r]:void 0,e):void 0,yF=(e,t,n)=>r=>[nH(e,r),n||nH(t,r)!==void 0],kQ=e=>{let t=e;return[()=>t,n=>{t=Tr({},t,n)}]},n_="tabindex",r_=tp.bind(0,""),cL=e=>{ra(Cu(e),J4(e)),Yl(e)},uwe=e=>{const t=Jo(),{q:n,A:r}=t,i=xp()[sz],o=i&&i.T,{elements:s}=n(),{host:l,padding:c,viewport:d,content:f}=s,h=px(e),p=h?{}:e,{elements:g}=p,{host:v,padding:y,viewport:S,content:_}=g||{},b=h?e:p.target,x=NE(b,"textarea"),E=b.ownerDocument,A=E.documentElement,R=b===E.body,k=E.defaultView,O=swe.bind(0,[b]),L=CQ.bind(0,[b]),N=az.bind(0,[b]),H=O.bind(0,r_,d),W=L.bind(0,r_,f),z=H(S),D=z===b,F=D&&R,j=!D&&W(_),V=!D&&px(z)&&z===j,G=V&&!!N(f),K=G?H():z,Y=G?j:W(),ie=F?A:V?K:z,ce=x?O(r_,l,v):b,ue=F?ie:ce,se=V?Y:j,Q=E.activeElement,ae=!D&&k.top===k&&Q===b,le={Z:b,J:ue,K:ie,tt:!D&&L(r_,c,y),nt:se,ot:!D&&!r&&o&&o(t),st:F?A:ie,et:F?E:ie,ct:k,rt:E,lt:x,it:R,ut:h,ft:D,dt:V,_t:(it,pt)=>b1e(ie,D?Za:Ju,D?pt:it),ht:(it,pt,mt)=>ep(ie,D?Za:Ju,D?pt:it,mt)},he=Fs(le).reduce((it,pt)=>{const mt=le[pt];return Fn(it,mt&&px(mt)&&!Cu(mt)?mt:!1)},[]),pe=it=>it?uk(he,it)>-1:null,{Z:ve,J:ye,tt:xe,K:me,nt:be,ot:Qe}=le,qe=[()=>{Oo(ye,Za),Oo(ye,sL),Oo(ve,sL),R&&(Oo(A,Za),Oo(A,sL))}],at=x&&pe(ye);let Lt=x?ve:J4([be,me,xe,ye,ve].find(it=>pe(it)===!1));const Ie=F?ve:be||me;return[le,()=>{So(ye,Za,D?"viewport":"host"),So(xe,gF,""),So(be,Y8,""),D||So(me,Ju,"");const it=R&&!D?Bd(Cu(b),bQ):Es;if(at&&(z8(ve,ye),Fn(qe,()=>{z8(ye,ve),Yl(ye)})),ra(Ie,Lt),ra(ye,xe),ra(xe||ye,!D&&me),ra(me,be),Fn(qe,()=>{it(),Oo(xe,gF),Oo(be,Y8),Oo(me,xQ),Oo(me,wQ),Oo(me,Ju),pe(be)&&cL(be),pe(me)&&cL(me),pe(xe)&&cL(xe)}),r&&!D&&(ep(me,Ju,_Q,!0),Fn(qe,Oo.bind(0,me,Ju))),Qe&&(_1e(me,Qe),Fn(qe,Yl.bind(0,Qe))),ae){const pt=So(me,n_);So(me,n_,"-1"),me.focus();const mt=()=>pt?So(me,n_,pt):Oo(me,n_),_e=qr(E,"pointerdown keydown",()=>{mt(),_e()});Fn(qe,[mt,_e])}else Q&&Q.focus&&Q.focus();Lt=0},rc.bind(0,qe)]},dwe=(e,t)=>{const{nt:n}=e,[r]=t;return i=>{const{Y:o}=Jo(),{gt:s}=r(),{vt:l}=i,c=(n||!o)&&l;return c&&Ji(n,{height:s?"":"100%"}),{wt:c,bt:c}}},fwe=(e,t)=>{const[n,r]=t,{J:i,tt:o,K:s,ft:l}=e,[c,d]=Ja({u:R1e,o:W8()},W8.bind(0,i,"padding",""));return(f,h,p)=>{let[g,v]=d(p);const{A:y,Y:S}=Jo(),{yt:_}=n(),{wt:b,bt:x,St:E}=f,[A,R]=h("paddingAbsolute");(b||v||!S&&x)&&([g,v]=c(p));const O=!l&&(R||E||v);if(O){const L=!A||!o&&!y,N=g.r+g.l,H=g.t+g.b,W={marginRight:L&&!_?-N:0,marginBottom:L?-H:0,marginLeft:L&&_?-N:0,top:L?-g.t:0,right:L?_?-g.r:"auto":0,left:L?_?"auto":-g.l:0,width:L?`calc(100% + ${N}px)`:""},z={paddingTop:L?g.t:0,paddingRight:L?g.r:0,paddingBottom:L?g.b:0,paddingLeft:L?g.l:0};Ji(o||s,W),Ji(s,z),r({tt:g,$t:!L,P:o?z:Tr({},W,z)})}return{xt:O}}},{max:bF}=Math,Zu=bF.bind(0,0),AQ="visible",rH="hidden",hwe=42,i_={u:dQ,o:{w:0,h:0}},pwe={u:fQ,o:{x:rH,y:rH}},mwe=(e,t)=>{const n=window.devicePixelRatio%1!==0?1:0,r={w:Zu(e.w-t.w),h:Zu(e.h-t.h)};return{w:r.w>n?r.w:0,h:r.h>n?r.h:0}},o_=e=>e.indexOf(AQ)===0,gwe=(e,t)=>{const[n,r]=t,{J:i,tt:o,K:s,ot:l,ft:c,ht:d,it:f,ct:h}=e,{k:p,Y:g,A:v,I:y}=Jo(),S=xp()[sz],_=!c&&!v&&(y.x||y.y),b=f&&c,[x,E]=Ja(i_,FE.bind(0,s)),[A,R]=Ja(i_,$E.bind(0,s)),[k,O]=Ja(i_),[L,N]=Ja(i_),[H]=Ja(pwe),W=(G,K)=>{if(Ji(s,{height:""}),K){const{$t:Y,tt:J}=n(),{Ct:ie,M:ce}=G,ue=FE(i),se=kS(i),Q=Ji(s,"boxSizing")==="content-box",ae=Y||Q?J.b+J.t:0,le=!(y.x&&Q);Ji(s,{height:se.h+ue.h+(ie.x&&le?ce.x:0)-ae})}},z=(G,K)=>{const Y=!v&&!G?hwe:0,J=(pe,ve,ye)=>{const xe=Ji(s,pe),be=(K?K[pe]:xe)==="scroll";return[xe,be,be&&!v?ve?Y:ye:0,ve&&!!Y]},[ie,ce,ue,se]=J("overflowX",y.x,p.x),[Q,ae,le,he]=J("overflowY",y.y,p.y);return{Ot:{x:ie,y:Q},Ct:{x:ce,y:ae},M:{x:ue,y:le},D:{x:se,y:he}}},D=(G,K,Y,J)=>{const ie=(ae,le)=>{const he=o_(ae),pe=le&&he&&ae.replace(`${AQ}-`,"")||"";return[le&&!he?ae:"",o_(pe)?"hidden":pe]},[ce,ue]=ie(Y.x,K.x),[se,Q]=ie(Y.y,K.y);return J.overflowX=ue&&se?ue:ce,J.overflowY=Q&&ce?Q:se,z(G,J)},F=(G,K,Y,J)=>{const{M:ie,D:ce}=G,{x:ue,y:se}=ce,{x:Q,y:ae}=ie,{P:le}=n(),he=K?"marginLeft":"marginRight",pe=K?"paddingLeft":"paddingRight",ve=le[he],ye=le.marginBottom,xe=le[pe],me=le.paddingBottom;J.width=`calc(100% + ${ae+ve*-1}px)`,J[he]=-ae+ve,J.marginBottom=-Q+ye,Y&&(J[pe]=xe+(se?ae:0),J.paddingBottom=me+(ue?Q:0))},[j,V]=S?S.L(_,g,s,l,n,z,F):[()=>_,()=>[Es]];return(G,K,Y)=>{const{wt:J,Tt:ie,bt:ce,xt:ue,vt:se,St:Q}=G,{gt:ae,yt:le}=n(),[he,pe]=K("showNativeOverlaidScrollbars"),[ve,ye]=K("overflow"),xe=he&&y.x&&y.y,me=!c&&!g&&(J||ce||ie||pe||se),be=o_(ve.x),Qe=o_(ve.y),qe=be||Qe;let at=E(Y),Lt=R(Y),Ie=O(Y),ze=N(Y),it;if(pe&&v&&d(_Q,$1e,!xe),me&&(it=z(xe),W(it,ae)),J||ue||ce||Q||pe){qe&&d(Zm,Jm,!1);const[Re,Ue]=V(xe,le,it),[yt,Wt]=at=x(Y),[pn,$r]=Lt=A(Y),Or=kS(s);let Mr=pn,Fr=Or;Re(),($r||Wt||pe)&&Ue&&!xe&&j(Ue,pn,yt,le)&&(Fr=kS(s),Mr=$E(s));const Jr={w:Zu(bF(pn.w,Mr.w)+yt.w),h:Zu(bF(pn.h,Mr.h)+yt.h)},Zo={w:Zu((b?h.innerWidth:Fr.w+Zu(Or.w-pn.w))+yt.w),h:Zu((b?h.innerHeight+yt.h:Fr.h+Zu(Or.h-pn.h))+yt.h)};ze=L(Zo),Ie=k(mwe(Jr,Zo),Y)}const[pt,mt]=ze,[_e,je]=Ie,[Ye,$e]=Lt,[Ne,Rt]=at,ct={x:_e.w>0,y:_e.h>0},Ae=be&&Qe&&(ct.x||ct.y)||be&&ct.x&&!ct.y||Qe&&ct.y&&!ct.x;if(ue||Q||Rt||$e||mt||je||ye||pe||me){const Re={marginRight:0,marginBottom:0,marginLeft:0,width:"",overflowY:"",overflowX:""},Ue=D(xe,ct,ve,Re),yt=j(Ue,Ye,Ne,le);c||F(Ue,le,yt,Re),me&&W(Ue,ae),c?(So(i,xQ,Re.overflowX),So(i,wQ,Re.overflowY)):Ji(s,Re)}ep(i,Za,Jm,Ae),ep(o,gF,F1e,Ae),c||ep(s,Ju,Zm,qe);const[ot,$t]=H(z(xe).Ot);return r({Ot:ot,zt:{x:pt.w,y:pt.h},Et:{x:_e.w,y:_e.h},At:ct}),{It:$t,Ht:mt,Lt:je}}},iH=(e,t,n)=>{const r={},i=t||{},o=Fs(e).concat(Fs(i));return En(o,s=>{const l=e[s],c=i[s];r[s]=!!(n||l||c)}),r},vwe=(e,t)=>{const{Z:n,K:r,ht:i,ft:o}=e,{A:s,I:l,Y:c}=Jo(),d=!s&&(l.x||l.y),f=[dwe(e,t),fwe(e,t),gwe(e,t)];return(h,p,g)=>{const v=iH(Tr({wt:!1,xt:!1,St:!1,vt:!1,Ht:!1,Lt:!1,It:!1,Tt:!1,bt:!1,Pt:!1},p),{},g),y=d||!c,S=y&&al(r),_=y&&vu(r);i("",zE,!0);let b=v;return En(f,x=>{b=iH(b,x(b,h,!!g)||{},g)}),al(r,S),vu(r,_),i("",zE),o||(al(n,0),vu(n,0)),b}},ywe=(e,t,n)=>{let r,i=!1;const o=()=>{i=!0},s=l=>{if(n){const c=n.reduce((d,f)=>{if(f){const[h,p]=f,g=p&&h&&(l?l(h):sQ(h,e));g&&g.length&&p&&Qd(p)&&Fn(d,[g,p.trim()],!0)}return d},[]);En(c,d=>En(d[0],f=>{const h=d[1],p=r.get(f)||[];if(e.contains(f)){const v=qr(f,h,y=>{i?(v(),r.delete(f)):t(y)});r.set(f,Fn(p,v))}else rc(p),r.delete(f)}))}};return n&&(r=new WeakMap,s()),[o,s]},oH=(e,t,n,r)=>{let i=!1;const{Mt:o,Dt:s,Rt:l,kt:c,Bt:d,Vt:f}=r||{},h=tz(()=>i&&n(!0),{g:33,v:99}),[p,g]=ywe(e,h,l),v=o||[],y=s||[],S=v.concat(y),_=(x,E)=>{const A=d||Es,R=f||Es,k=new Set,O=new Set;let L=!1,N=!1;if(En(x,H=>{const{attributeName:W,target:z,type:D,oldValue:F,addedNodes:j,removedNodes:V}=H,G=D==="attributes",K=D==="childList",Y=e===z,J=G&&Qd(W)?So(z,W):0,ie=J!==0&&F!==J,ce=uk(y,W)>-1&&ie;if(t&&(K||!Y)){const ue=!G,se=G&&ie,Q=se&&c&&NE(z,c),le=(Q?!A(z,W,F,J):ue||se)&&!R(H,!!Q,e,r);En(j,he=>k.add(he)),En(V,he=>k.add(he)),N=N||le}!t&&Y&&ie&&!A(z,W,F,J)&&(O.add(W),L=L||ce)}),k.size>0&&g(H=>bp(k).reduce((W,z)=>(Fn(W,sQ(H,z)),NE(z,H)?Fn(W,z):W),[])),t)return!E&&N&&n(!1),[!1];if(O.size>0||L){const H=[bp(O),L];return!E&&n.apply(0,H),H}},b=new k1e(x=>_(x));return b.observe(e,{attributes:!0,attributeOldValue:!0,attributeFilter:S,subtree:t,childList:t,characterData:t}),i=!0,[()=>{i&&(p(),b.disconnect(),i=!1)},()=>{if(i){h.m();const x=b.takeRecords();return!K4(x)&&_(x,!0)}}]},s_=3333333,RQ=(e,t,n)=>{const{Yt:r,Pt:i}=n||{},o=xp()[ewe],{V:s}=Jo(),c=aQ(``)[0],d=c.firstChild,f=kg.bind(0,e),[h]=Ja({o:!1,_:!0,u:(v,y)=>!(!v||!Nm(v)&&Nm(y))}),p=v=>{const y=$s(v)&&v.length>0&&e1(v[0]),S=!y&&Y4(v[0]);let _=!1,b=!1,x=!0;if(y){const[E,,A]=h(v.pop().contentRect),R=Nm(E),k=Nm(A);_=!A&&!!k||!R,b=!k&&R,x=!_}else S?[,x]=v:b=v===!0;if(r&&x){const E=S?v[0]:kg(c);al(c,E?s.n?-s_:s.i?0:s_:s_),vu(c,s_)}_||t({wt:!S,jt:S?v:void 0,Pt:!!b})},g=[];return[()=>{rc(g),Yl(c)},()=>{let v=i&&p;if(Lm){const y=new Lm(p);y.observe(d),Fn(g,()=>{y.disconnect()})}else if(o){const[y,S]=o.O(d,p,i);v=y,Fn(g,S)}if(r){const[y]=Ja({o:void 0},f);Fn(g,qr(c,"scroll",S=>{const _=y(),[b,x,E]=_;x&&(ez(d,"ltr rtl"),Bd(d,b?"rtl":"ltr"),p([!!b,x,E])),pQ(S)}))}v&&(Bd(c,z1e),Fn(g,qr(c,"animationstart",v,{C:!!Lm}))),(Lm||o)&&ra(e,c)}]},bwe=e=>e.h===0||e.isIntersecting||e.intersectionRatio>0,xwe=(e,t)=>{let n;const r=tp(U1e),i=[],[o]=Ja({o:!1}),s=(c,d)=>{if(c){const f=o(bwe(c)),[,h]=f;return h&&!d&&t(f)&&[f]}},l=(c,d)=>c&&c.length>0&&s(c.pop(),d);return[()=>{rc(i),Yl(r)},()=>{if(j8)n=new j8(c=>l(c),{root:e}),n.observe(r),Fn(i,()=>{n.disconnect()});else{const c=()=>{const h=t1(r);s(h)},[d,f]=RQ(r,c);Fn(i,d),f(),c()}ra(e,r)},()=>n&&l(n.takeRecords(),!0)]},sH=`[${Za}]`,wwe=`[${Ju}]`,uL=["tabindex"],aH=["wrap","cols","rows"],dL=["id","class","style","open"],_we=(e,t,n)=>{let r,i,o;const{J:s,K:l,nt:c,lt:d,ft:f,_t:h,ht:p}=e,{Y:g}=Jo(),[v]=Ja({u:dQ,o:{w:0,h:0}},()=>{const F=h(Zm,Jm),j=h(aL,""),V=j&&al(l),G=j&&vu(l);p(Zm,Jm),p(aL,""),p("",zE,!0);const K=$E(c),Y=$E(l),J=FE(l);return p(Zm,Jm,F),p(aL,"",j),p("",zE),al(l,V),vu(l,G),{w:Y.w+K.w+J.w,h:Y.h+K.h+J.h}}),y=d?aH:dL.concat(aH),S=tz(n,{g:()=>r,v:()=>i,p(F,j){const[V]=F,[G]=j;return[Fs(V).concat(Fs(G)).reduce((K,Y)=>(K[Y]=V[Y]||G[Y],K),{})]}}),_=F=>{En(F||uL,j=>{if(uk(uL,j)>-1){const V=So(s,j);Qd(V)?So(l,j,V):Oo(l,j)}})},b=(F,j)=>{const[V,G]=F,K={vt:G};return t({gt:V}),!j&&n(K),K},x=({wt:F,jt:j,Pt:V})=>{const G=!F||V?n:S;let K=!1;if(j){const[Y,J]=j;K=J,t({yt:Y})}G({wt:F,Pt:V,St:K})},E=(F,j)=>{const[,V]=v(),G={bt:V};return V&&!j&&(F?n:S)(G),G},A=(F,j,V)=>{const G={Tt:j};return j?!V&&S(G):f||_(F),G},[R,k,O]=c||!g?xwe(s,b):[Es,Es,Es],[L,N]=f?[Es,Es]:RQ(s,x,{Pt:!0,Yt:!0}),[H,W]=oH(s,!1,A,{Dt:dL,Mt:dL.concat(uL)});let z;const D=f&&Lm&&new Lm(F=>{const j=F[F.length-1].contentRect,V=Nm(j),K=!Nm(z)&&V;x({wt:!0,Pt:K}),z=j});return[()=>{R(),L(),o&&o[0](),D&&D.disconnect(),H()},()=>{D&&D.observe(s),_(),N(),k()},()=>{const F={},j=W(),V=O(),G=o&&o[1]();return j&&Tr(F,A.apply(0,Fn(j,!0))),V&&Tr(F,b.apply(0,Fn(V,!0))),G&&Tr(F,E.apply(0,Fn(G,!0))),F},F=>{const[j]=F("update.ignoreMutation"),[V,G]=F("update.attributes"),[K,Y]=F("update.elementEvents"),[J,ie]=F("update.debounce"),ce=Y||G,ue=se=>pl(j)&&j(se);if(ce&&(o&&(o[1](),o[0]()),o=oH(c||l,!0,E,{Mt:y.concat(V||[]),Rt:K,kt:sH,Vt:(se,Q)=>{const{target:ae,attributeName:le}=se;return(!Q&&le&&!f?w1e(ae,sH,wwe):!1)||!!Dm(ae,`.${Qo}`)||!!ue(se)}})),ie)if(S.m(),$s(J)){const se=J[0],Q=J[1];r=Td(se)&&se,i=Td(Q)&&Q}else Td(J)?(r=J,i=!1):(r=!1,i=!1)}]},lH={x:0,y:0},Swe=e=>({tt:{t:0,r:0,b:0,l:0},$t:!1,P:{marginRight:0,marginBottom:0,marginLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},zt:lH,Et:lH,Ot:{x:"hidden",y:"hidden"},At:{x:!1,y:!1},gt:!1,yt:kg(e.J)}),Ewe=(e,t)=>{const n=yF(t,{}),[r,i,o]=rz(),[s,l,c]=uwe(e),d=kQ(Swe(s)),[f,h]=d,p=vwe(s,d),g=(x,E,A)=>{const k=Fs(x).some(O=>!!x[O])||!Q4(E)||A;return k&&o("u",[x,E,A]),k},[v,y,S,_]=_we(s,h,x=>g(p(n,x),{},!1)),b=f.bind(0);return b.Nt=x=>r("u",x),b.qt=()=>{const{Z:x,K:E,rt:A,it:R}=s,k=R?A.documentElement:x,O=al(k),L=vu(k);y(),l(),al(E,O),vu(E,L)},b.Ft=s,[(x,E)=>{const A=yF(t,x,E);return _(A),g(p(A,S(),E),x,!!E)},b,()=>{i(),v(),c()}]},{round:cH}=Math,Cwe=e=>{const{width:t,height:n}=Dl(e),{w:r,h:i}=t1(e);return{x:cH(t)/r||1,y:cH(n)/i||1}},Twe=(e,t,n)=>{const r=t.scrollbars,{button:i,isPrimary:o,pointerType:s}=e,{pointers:l}=r;return i===0&&o&&r[n?"dragScroll":"clickScroll"]&&(l||[]).includes(s)},uH="pointerup pointerleave pointercancel lostpointercapture",kwe=(e,t)=>qr(e,"mousedown",qr.bind(0,t,"click",pQ,{C:!0,$:!0}),{$:!0}),Awe=(e,t,n,r,i,o,s)=>{const{V:l}=Jo(),{Gt:c,Xt:d,Ut:f}=r,h=`scroll${s?"Left":"Top"}`,p=`client${s?"X":"Y"}`,g=s?"width":"height",v=s?"left":"top",y=s?"w":"h",S=s?"x":"y",_=(b,x)=>E=>{const{Et:A}=o(),R=t1(d)[y]-t1(c)[y],O=x*E/R*A[S],N=kg(f)&&s?l.n||l.i?1:-1:1;i[h]=b+O*N};return qr(d,"pointerdown",b=>{const x=Dm(b.target,`.${oz}`)===c,E=x?c:d;if(ep(t,Za,X8,!0),Twe(b,e,x)){const A=!x&&b.shiftKey,R=()=>Dl(c),k=()=>Dl(d),O=(K,Y)=>(K||R())[v]-(Y||k())[v],L=_(i[h]||0,1/Cwe(i)[S]),N=b[p],H=R(),W=k(),z=H[g],D=O(H,W)+z/2,F=N-W[v],j=x?0:F-D,V=K=>{rc(G),E.releasePointerCapture(K.pointerId)},G=[ep.bind(0,t,Za,X8),qr(n,uH,V),qr(n,"selectstart",K=>mQ(K),{S:!1}),qr(d,uH,V),qr(d,"pointermove",K=>{const Y=K[p]-N;(x||A)&&L(j+Y)})];if(A)L(j);else if(!x){const K=xp()[twe];K&&Fn(G,K.O(L,O,j,z,F))}E.setPointerCapture(b.pointerId)}})},Rwe=(e,t)=>(n,r,i,o,s,l,c)=>{const{Ut:d}=n,[f,h]=Mh(333),p=!!s.scrollBy;let g=!0;return rc.bind(0,[qr(d,"pointerenter",()=>{r(Q8,!0)}),qr(d,"pointerleave pointercancel",()=>{r(Q8)}),qr(d,"wheel",v=>{const{deltaX:y,deltaY:S,deltaMode:_}=v;p&&g&&_===0&&Cu(d)===o&&s.scrollBy({left:y,top:S,behavior:"smooth"}),g=!1,r(eH,!0),f(()=>{g=!0,r(eH)}),mQ(v)},{S:!1,$:!0}),kwe(d,i),Awe(e,o,i,n,s,t,c),h])},{min:jE,max:xF,round:Iwe}=Math,IQ=(e,t,n,r)=>{if(r){const l=n?"x":"y",{Et:c,zt:d}=r,f=d[l],h=c[l];return xF(0,jE(1,f/(f+h)))}const i=n?"width":"height",o=Dl(e)[i],s=Dl(t)[i];return xF(0,jE(1,o/s))},Pwe=(e,t,n,r,i,o)=>{const{V:s}=Jo(),l=o?"x":"y",c=o?"Left":"Top",{Et:d}=r,f=Iwe(d[l]),h=jE(f,xF(0,n[`scroll${c}`])),p=o&&i,g=s.i?h:f-h,y=jE(1,(p?g:h)/f),S=IQ(e,t,o);return 1/S*(1-S)*y},PQ=(e,t,n,r)=>t&&e.animate(n,{timeline:t,composite:r}),Owe=(e,t)=>({transform:[Ag("0%",t),Ag(t&&e?"100%":"-100%",t)],[t?e?"right":"left":"top"]:["0%","100%"]}),Mwe=e=>`${Math.max(0,e-.5)}px`,dH=(e,t,n,r)=>PQ(e,t,{transform:[Ag("0px",r),Ag(Mwe(n),r)]},"add"),fH=(e,t)=>pF?new pF({source:e,axis:t}):null,Dwe=(e,t,n)=>{const{q:r,H:i}=Jo(),{scrollbars:o}=r(),{slot:s}=o,{rt:l,Z:c,J:d,K:f,ut:h,st:p,it:g,ft:v}=t,{scrollbars:y}=h?{}:e,{slot:S}=y||{},_=new Map,b=fH(p,"x"),x=fH(p,"y"),E=CQ([c,d,f],()=>v&&g?c:d,s,S),A=se=>v&&!g&&Cu(se)===f,R=se=>{_.forEach((Q,ae)=>{(se?uk($s(se)?se:[se],ae)>-1:!0)&&((Q||[]).forEach(he=>{he&&he.cancel()}),_.delete(ae))})},k=(se,Q,ae)=>{const le=ae?Bd:ez;En(se,he=>{le(he.Ut,Q)})},O=(se,Q)=>{En(se,ae=>{const[le,he]=Q(ae);Ji(le,he)})},L=(se,Q,ae)=>{O(se,le=>{const{Gt:he,Xt:pe}=le;return[he,{[ae?"width":"height"]:`${(IQ(he,pe,ae,Q)*100).toFixed(3)}%`}]})},N=(se,Q,ae)=>{!x&&!x&&O(se,le=>{const{Gt:he,Xt:pe,Ut:ve}=le,ye=Pwe(he,pe,p,Q,kg(ve),ae);return[he,{transform:ye===ye?Ag(`${(ye*100).toFixed(3)}%`,ae):""}]})},H=se=>{const{Ut:Q}=se,ae=A(Q)&&Q;return[ae,{transform:ae?Ag([`${al(p)}px`,`${vu(p)}px`]):""}]},W=[],z=[],D=[],F=(se,Q,ae)=>{const le=Y4(ae),he=le?ae:!0,pe=le?!ae:!0;he&&k(z,se,Q),pe&&k(D,se,Q)},j=se=>{L(z,se,!0),L(D,se)},V=se=>{N(z,se,!0),N(D,se)},G=()=>{const se=(Q,{Ut:ae,Gt:le})=>{R(le),_.set(le,[PQ(le,Q?b:x,Owe(Q&&kg(ae),Q))])};z.forEach(se.bind(0,!0)),D.forEach(se.bind(0,!1))},K=()=>{!x&&!x&&(v&&O(z,H),v&&O(D,H))},Y=({Et:se})=>{D.concat(z).forEach(({Ut:Q})=>{R(Q),A(Q)&&_.set(Q,[dH(Q,b,se.x,!0),dH(Q,x,se.y)])})},J=se=>{const Q=se?V1e:q1e,ae=se?z:D,le=K4(ae)?K8:"",he=tp(`${Qo} ${Q} ${le}`),pe=tp(SQ),ve=tp(oz),ye={Ut:he,Xt:pe,Gt:ve};return i||Bd(he,H1e),ra(he,pe),ra(pe,ve),Fn(ae,ye),Fn(W,[Yl.bind(0,he),R,n(ye,F,l,d,p,se?b:x,se)]),ye},ie=J.bind(0,!0),ce=J.bind(0,!1),ue=()=>{ra(E,z[0].Ut),ra(E,D[0].Ut),BE(()=>{F(K8)},300)};return ie(),ce(),[{Wt:j,Zt:V,Jt:G,Kt:Y,Qt:K,tn:F,nn:{B:b,sn:z,en:ie,cn:O.bind(0,z)},rn:{B:x,sn:D,en:ce,cn:O.bind(0,D)}},ue,rc.bind(0,W)]},fL=e=>e.pointerType==="mouse",Lwe=(e,t,n,r)=>{let i,o,s,l,c,d=Es,f=0;const h=kQ({}),[p]=h,[g,v]=Mh(),[y,S]=Mh(),[_,b]=Mh(100),[x,E]=Mh(100),[A,R]=Mh(100),[k,O]=Mh(()=>f),[L,N,H]=Dwe(e,n.Ft,Rwe(t,n)),{J:W,et:z,it:D}=n.Ft,{tn:F,Wt:j,Zt:V,Jt:G,Kt:K,Qt:Y}=L,J=Q=>{F(vF,Q,!0),F(vF,Q,!1)},ie=(Q,ae)=>{if(O(),Q)F(Z8);else{const le=()=>F(Z8,!0);f>0&&!ae?k(le):le()}},ce=Q=>{fL(Q)&&(l=o,l&&ie(!0))},ue=[b,O,E,R,S,v,H,qr(W,"pointerover",ce,{C:!0}),qr(W,"pointerenter",ce),qr(W,"pointerleave",Q=>{fL(Q)&&(l=!1,o&&ie(!1))}),qr(W,"pointermove",Q=>{fL(Q)&&i&&g(()=>{b(),ie(!0),x(()=>{i&&ie(!1)})})}),qr(z,"scroll",Q=>{y(()=>{V(n()),s&&ie(!0),_(()=>{s&&!l&&ie(!1)})}),r(Q),Y()})],se=p.bind(0);return se.Ft=L,se.qt=N,[(Q,ae,le)=>{const{Ht:he,Lt:pe,It:ve,St:ye,Pt:xe}=le,{I:me}=Jo(),be=yF(t,Q,ae),Qe=n(),{Et:qe,Ot:at,yt:Lt,At:Ie}=Qe,[ze,it]=be("showNativeOverlaidScrollbars"),[pt,mt]=be("scrollbars.theme"),[_e,je]=be("scrollbars.visibility"),[Ye,$e]=be("scrollbars.autoHide"),[Ne,Rt]=be("scrollbars.autoHideSuspend"),[ct]=be("scrollbars.autoHideDelay"),[Ae,ot]=be("scrollbars.dragScroll"),[$t,Re]=be("scrollbars.clickScroll"),Ue=xe&&!ae,yt=Ie.x||Ie.y,Wt=he||pe||ye,pn=ve||je,$r=ze&&me.x&&me.y,Or=(Mr,Fr)=>{const Jr=_e==="visible"||_e==="auto"&&Mr==="scroll";return F(X1e,Jr,Fr),Jr};if(f=ct,Ue&&(Ne&&yt?(J(!1),d(),A(()=>{d=qr(z,"scroll",J.bind(0,!0),{C:!0})})):J(!0)),it&&F(W1e,$r),mt&&(F(c),F(pt,!0),c=pt),Rt&&!Ne&&J(!0),$e&&(i=Ye==="move",o=Ye==="leave",s=Ye!=="never",ie(!s,!0)),ot&&F(Q1e,Ae),Re&&F(K1e,$t),pn){const Mr=Or(at.x,!0),Fr=Or(at.y,!1);F(Y1e,!(Mr&&Fr))}Wt&&(j(Qe),V(Qe),G(Qe),K(Qe),Y(),F(J8,!qe.x,!0),F(J8,!qe.y,!1),F(G1e,Lt&&!D))},se,()=>{rc(ue),d()}]},OQ=(e,t,n)=>{pl(e)&&e(t||void 0,n||void 0)},fd=(e,t,n)=>{const{G:r,q:i,j:o,N:s}=Jo(),l=xp(),c=px(e),d=c?e:e.target,f=TQ(d);if(t&&!f){let h=!1;const p=z=>{const D=xp()[Z1e],F=D&&D.O;return F?F(z,!0):z},g=Tr({},r(),p(t)),[v,y,S]=rz(n),[_,b,x]=Ewe(e,g),[E,A,R]=Lwe(e,g,b,z=>S("scroll",[W,z])),k=(z,D)=>_(z,!!D),O=k.bind(0,{},!0),L=o(O),N=s(O),H=z=>{cwe(d),L(),N(),R(),x(),h=!0,S("destroyed",[W,!!z]),y()},W={options(z,D){if(z){const F=D?r():{},j=gQ(g,Tr(F,p(z)));Q4(j)||(Tr(g,j),k(j))}return Tr({},g)},on:v,off:(z,D)=>{z&&D&&y(z,D)},state(){const{zt:z,Et:D,Ot:F,At:j,tt:V,$t:G,yt:K}=b();return Tr({},{overflowEdge:z,overflowAmount:D,overflowStyle:F,hasOverflow:j,padding:V,paddingAbsolute:G,directionRTL:K,destroyed:h})},elements(){const{Z:z,J:D,tt:F,K:j,nt:V,st:G,et:K}=b.Ft,{nn:Y,rn:J}=A.Ft,ie=ue=>{const{Gt:se,Xt:Q,Ut:ae}=ue;return{scrollbar:ae,track:Q,handle:se}},ce=ue=>{const{sn:se,en:Q}=ue,ae=ie(se[0]);return Tr({},ae,{clone:()=>{const le=ie(Q());return E({},!0,{}),le}})};return Tr({},{target:z,host:D,padding:F||j,viewport:j,content:V||j,scrollOffsetElement:G,scrollEventElement:K,scrollbarHorizontal:ce(Y),scrollbarVertical:ce(J)})},update:z=>k({},z),destroy:H.bind(0)};return b.Nt((z,D,F)=>{E(D,F,z)}),lwe(d,W),En(Fs(l),z=>OQ(l[z],0,W)),awe(b.Ft.it,i().cancel,!c&&e.cancel)?(H(!0),W):(b.qt(),A.qt(),S("initialized",[W]),b.Nt((z,D,F)=>{const{wt:j,St:V,vt:G,Ht:K,Lt:Y,It:J,bt:ie,Tt:ce}=z;S("updated",[W,{updateHints:{sizeChanged:j,directionChanged:V,heightIntrinsicChanged:G,overflowEdgeChanged:K,overflowAmountChanged:Y,overflowStyleChanged:J,contentMutation:ie,hostMutation:ce},changedOptions:D,force:F}])}),W.update(!0),W)}return f};fd.plugin=e=>{En(J1e(e),t=>OQ(t,fd))};fd.valid=e=>{const t=e&&e.elements,n=pl(t)&&t();return dF(n)&&!!TQ(n.target)};fd.env=()=>{const{k:e,I:t,A:n,V:r,Y:i,H:o,B:s,U:l,W:c,q:d,F:f,G:h,X:p}=Jo();return Tr({},{scrollbarsSize:e,scrollbarsOverlaid:t,scrollbarsHiding:n,rtlScrollBehavior:r,flexboxGlue:i,cssCustomProperties:o,scrollTimeline:s,staticDefaultInitialization:l,staticDefaultOptions:c,getDefaultInitialization:d,setDefaultInitialization:f,getDefaultOptions:h,setDefaultOptions:p})};const Nwe=()=>{if(typeof window>"u"){const d=()=>{};return[d,d]}let e,t;const n=window,r=typeof n.requestIdleCallback=="function",i=n.requestAnimationFrame,o=n.cancelAnimationFrame,s=r?n.requestIdleCallback:i,l=r?n.cancelIdleCallback:o,c=()=>{l(e),o(t)};return[(d,f)=>{c(),e=s(r?()=>{c(),t=i(d)}:d,typeof f=="object"?f:{timeout:2233})},c]},MQ=e=>{const{options:t,events:n,defer:r}=e||{},[i,o]=I.useMemo(Nwe,[]),s=I.useRef(null),l=I.useRef(r),c=I.useRef(t),d=I.useRef(n);return I.useEffect(()=>{l.current=r},[r]),I.useEffect(()=>{const{current:f}=s;c.current=t,fd.valid(f)&&f.options(t||{},!0)},[t]),I.useEffect(()=>{const{current:f}=s;d.current=n,fd.valid(f)&&f.on(n||{},!0)},[n]),I.useEffect(()=>()=>{var f;o(),(f=s.current)==null||f.destroy()},[]),I.useMemo(()=>[f=>{const h=s.current;if(fd.valid(h))return;const p=l.current,g=c.current||{},v=d.current||{},y=()=>s.current=fd(f,g,v);p?i(y,p):y()},()=>s.current],[])},Bwe=(e,t)=>{const{element:n="div",options:r,events:i,defer:o,children:s,...l}=e,c=n,d=I.useRef(null),f=I.useRef(null),[h,p]=I.useState(!1),[g,v]=MQ({options:r,events:i,defer:o});return I.useEffect(()=>{p(!0)},[]),I.useEffect(()=>{const{current:y}=d,{current:S}=f;return h&&y&&S&&g({target:y,elements:{viewport:S,content:S}}),()=>{var _;return(_=v())==null?void 0:_.destroy()}},[h,g,n]),I.useImperativeHandle(t,()=>({osInstance:v,getElement:()=>d.current}),[]),de.createElement(c,{"data-overlayscrollbars-initialize":"",ref:d,...l},h?de.createElement("div",{ref:f,"data-overlayscrollbars-contents":!0},s):s)},$we=I.forwardRef(Bwe),rv=I.forwardRef(({children:e,x:t,y:n,px:r=6,...i},o)=>{const{palette:s,spacing:l}=In(),c=Zx({"div.os-scrollbar-vertical > div.os-scrollbar-track":{height:`calc(100% - ${l(r)})`,marginTop:l(r)}}),d=I.useCallback(f=>{if(o&&f){const h=f.elements().viewport;h&&(typeof o=="function"?o(h):o.current=h)}},[o]);return C.jsx($we,{options:{overflow:{x:t?"scroll":"hidden",y:n?"scroll":"hidden"},scrollbars:{autoHide:"move",theme:s.mode==="dark"?"os-theme-light":"os-theme-dark"}},...i,className:`${c} ${i.className}`,events:{initialized:d},children:e})});var DQ={exports:{}},Qn={};/** @license React v17.0.2
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
@@ -418,12 +418,12 @@ PERFORMANCE OF THIS SOFTWARE.
.__dbk__dragger.Dark {
background: #434252;
}
-/* ====== */`);const Ywe=de.forwardRef(({className:e,theme:t,draggerClassName:n,direction:r=Er.Vertical,onDragging:i},o)=>{const s=`__dbk__gutter ${r} ${e||t}`,l=`__dbk__dragger ${r} ${n||t}`;return C.jsx("div",Object.assign({className:s,ref:o,dir:r,onMouseDown:i,onTouchStart:AS?i:void 0},{children:C.jsx("div",{className:l},void 0)}),void 0)});var ea;function wF(e,t,n){let r,i;return t?(r=e/2,i=e):n?(r=e,i=e/2):(r=e,i=e),{aGutterSize:r,bGutterSize:i}}function Kwe(e,t){switch(t.type){case ea.SetIsReadyToCompute:return Object.assign(Object.assign({},e),{isReady:t.payload.isReady});case ea.CreatePairs:{const{direction:n,children:r,gutters:i}=t.payload,o=r[0].parentNode;if(!o)throw new Error("Cannot create pairs - parent is undefined.");const s=UE(n,o);if(s===void 0)throw new Error(`Cannot create pairs - parent has undefined or zero size: ${s}.`);const l=[];return r.forEach((c,d)=>{if(d>0){const f=r[d-1],h=r[d],p=i[d-1],g=n===Er.Horizontal?f.getBoundingClientRect().left:f.getBoundingClientRect().top,v=n===Er.Horizontal?h.getBoundingClientRect().right:h.getBoundingClientRect().bottom,y=n===Er.Horizontal?f.getBoundingClientRect().width+p.getBoundingClientRect().width+h.getBoundingClientRect().width:f.getBoundingClientRect().height+p.getBoundingClientRect().height+h.getBoundingClientRect().height,S=n===Er.Horizontal?p.getBoundingClientRect().width:p.getBoundingClientRect().height,_={idx:d-1,a:f,b:h,gutter:p,parent:o,start:g,end:v,size:y,gutterSize:S,aSizePct:100/r.length,bSizePct:100/r.length};l.push(_)}}),Object.assign(Object.assign({},e),{pairs:l})}case ea.StartDragging:{const{gutterIdx:n}=t.payload;return Object.assign(Object.assign({},e),{isDragging:!0,draggingIdx:n})}case ea.StopDragging:return Object.assign(Object.assign({},e),{isDragging:!1});case ea.CalculateSizes:{const{direction:n,gutterIdx:r}=t.payload,i=e.pairs[r],o=UE(n,i.parent);if(!o)throw new Error("Cannot calculate sizes - 'pair.parent' has undefined or zero size.");const s=i.gutter[n===Er.Horizontal?"clientWidth":"clientHeight"],l=r===0,c=r===e.pairs.length-1,{aGutterSize:d,bGutterSize:f}=wF(s,l,c);let h,p,g,v,y;return n===Er.Horizontal?(h=i.a.getBoundingClientRect().left,p=i.b.getBoundingClientRect().right,v=(i.a.getBoundingClientRect().width+d)/o*100,y=(i.b.getBoundingClientRect().width+f)/o*100,g=i.a.getBoundingClientRect().width+d+f+i.b.getBoundingClientRect().width):(h=i.a.getBoundingClientRect().top,p=i.b.getBoundingClientRect().bottom,v=(i.a.getBoundingClientRect().height+d)/o*100,y=(i.b.getBoundingClientRect().height+f)/o*100,g=i.a.getBoundingClientRect().height+d+f+i.b.getBoundingClientRect().height),e.pairs[r]=Object.assign(Object.assign({},i),{start:h,end:p,size:g,aSizePct:v,bSizePct:y,gutterSize:s}),Object.assign({},e)}default:return e}}function jQ(e,t=0,n=[]){return I.Children.toArray(e).reduce((r,i,o)=>(zQ.isFragment(i)?r.push.apply(r,jQ(i.props.children,t+1,n.concat(i.key||o))):I.isValidElement(i)?r.push(I.cloneElement(i,{key:n.concat(String(i.key)).join(".")})):typeof i!="string"&&typeof i!="number"||r.push(i),r),[])}(function(e){e[e.SetIsReadyToCompute=0]="SetIsReadyToCompute",e[e.CreatePairs=1]="CreatePairs",e[e.CalculateSizes=2]="CalculateSizes",e[e.StartDragging=3]="StartDragging",e[e.StopDragging=4]="StopDragging"})(ea||(ea={}));const hH=e=>"changedTouches"in e;var Er,_F;(function(e){e.Horizontal="Horizontal",e.Vertical="Vertical"})(Er||(Er={})),function(e){e.Light="Light",e.Dark="Dark"}(_F||(_F={}));const AS=typeof window<"u"&&"ontouchstart"in window;function hL(e){return e===Er.Horizontal?"col-resize":"row-resize"}const Qwe={isReady:!1,isDragging:!1,pairs:[]};function Jwe({direction:e=Er.Horizontal,minWidths:t=[],minHeights:n=[],initialSizes:r,gutterTheme:i=_F.Dark,gutterClassName:o,draggerClassName:s,children:l,onResizeStarted:c,onResizeFinished:d,classes:f=[]}){const h=jQ(l),[p,g]=I.useReducer(Kwe,Qwe),v=I.useRef(null),y=I.useRef([]),S=I.useRef([]);y.current=[],S.current=[];const _=de.useCallback(W=>{g({type:ea.SetIsReadyToCompute,payload:{isReady:W}})},[]),b=de.useCallback((W,z)=>{g({type:ea.StartDragging,payload:{gutterIdx:z}});const D=p.pairs[z];c==null||c(D.idx),D.a.style.userSelect="none",D.b.style.userSelect="none",D.gutter.style.cursor=hL(W),D.parent.style.cursor=hL(W),document.body.style.cursor=hL(W)},[p.pairs]),x=de.useCallback(()=>{g({type:ea.StopDragging});const W=[];for(let D=0;D{g({type:ea.CalculateSizes,payload:{direction:W,gutterIdx:z}})},[]),A=de.useCallback((W,z,D)=>{g({type:ea.CreatePairs,payload:{direction:W,children:z,gutters:D}})},[]),R=de.useCallback((W,z,D,F)=>{const j=z[0].parentNode;if(!j)throw new Error("Cannot set initial sizes - parent is undefined");if(UE(W,j)===void 0)throw new Error("Cannot set initial sizes - parent has undefined size");z.forEach((V,G)=>{const K=G===0,Y=G===z.length-1;let J,ie=0;z.length>1&&(ie=D[Y?G-1:G].getBoundingClientRect()[W===Er.Horizontal?"width":"height"],ie=K||Y?ie/2:ie),J=F&&G{if(p.draggingIdx===void 0)throw new Error("Cannot adjust size - 'draggingIdx' is undefined");const D=p.pairs[p.draggingIdx];if(D.size===void 0)throw new Error("Cannot adjust size - 'pair.size' is undefined");if(D.gutterSize===void 0)throw new Error("Cannot adjust size - 'pair.gutterSize' is undefined");const F=D.aSizePct+D.bSizePct,j=z/D.size*F,V=F-z/D.size*F,G=p.draggingIdx===0,K=p.draggingIdx===p.pairs.length-1,{aGutterSize:Y,bGutterSize:J}=wF(D.gutterSize,G,K),ie=`calc(${j}% - ${Y}px)`,ce=`calc(${V}% - ${J}px)`;W===Er.Horizontal?(D.a.style.width=ie,D.b.style.width=ce):(D.a.style.height=ie,D.b.style.height=ce)},[p.draggingIdx,p.pairs,e]),O=de.useCallback((W,z,D)=>{if(!p.isDragging)return;if(p.draggingIdx===void 0)throw new Error("Cannot drag - 'draggingIdx' is undefined");const F=p.pairs[p.draggingIdx];if(F.start===void 0)throw new Error("Cannot drag - 'pair.start' is undefined");if(F.size===void 0)throw new Error("Cannot drag - 'pair.size' is undefined");if(F.gutterSize===void 0)throw new Error("Cannot drag - 'pair.gutterSize' is undefined");let j=function(K,Y){const J=hH(Y)?Y.changedTouches[0]:Y;return K===Er.Horizontal?J.clientX:J.clientY}(z,W)-F.start,V=16,G=16;D.length>p.draggingIdx&&(V=D[p.draggingIdx]),D.length>=p.draggingIdx+1&&(G=D[p.draggingIdx+1]),j=F.size-(F.gutterSize+G)&&(j=F.size-(F.gutterSize+G)),k(z,j)},[p.isDragging,p.draggingIdx,p.pairs,k]),L=()=>{if(p.isDragging){if(p.draggingIdx===void 0)throw new Error("Cannot calculate sizes after dragging = 'state.draggingIdx' is undefined");E(e,p.draggingIdx),x()}},N=W=>{p.isDragging&&(hH(W)&&W.preventDefault(),O(W,e,e===Er.Horizontal?t:n))};function H(W,z){if(!W.current)throw new Error("Can't add element to ref object - ref isn't initialized");z&&!W.current.includes(z)&&W.current.push(z)}return a_("mouseup",L,[p.isDragging,x]),a_("mousemove",N,[e,p.isDragging,O,t,n]),a_("touchend",L,[p.isDragging,x],{condition:AS}),a_("touchmove",N,[e,p.isDragging,O,t,n],{condition:AS,passive:!AS}),I.useEffect(function(){if(!v.current)return;const W=v.current.parentElement;if(!W)return;const z=new ResizeObserver(()=>{const D=getComputedStyle(W),F=e===Er.Horizontal?W.clientWidth:W.clientHeight;_(!!D&&!!F)});return z.observe(W),()=>{z.disconnect()}},[v.current,e]),I.useEffect(function(){if(p.isReady&&(!y.current||y.current[0].offsetParent)){if(!y.current||!S.current)throw new Error("Cannot create pairs - either variable 'childRefs' or 'gutterRefs' is undefined");h.length<=1?R(e,y.current,S.current,r):(R(e,y.current,S.current,r),A(e,y.current,S.current))}},[l,p.isReady,e,R,A,r]),C.jsx("div",Object.assign({className:`__dbk__container ${e}`,ref:v},{children:p.isReady&&h.map((W,z)=>C.jsxs(de.Fragment,{children:[C.jsx("div",Object.assign({ref:D=>H(y,D),className:"__dbk__child-wrapper "+(zH(S,D),className:o,theme:i,draggerClassName:s,direction:e,onDragging:()=>{return E(e,D=z),void b(e,D);var D}},void 0)]},z))}),void 0)}let Do=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((t,n)=>(n&=63,n<36?t+=n.toString(36):n<62?t+=(n-26).toString(36).toUpperCase():n>62?t+="-":t+="_",t),"");function db(e){if(typeof window>"u")return e;const t=I.useRef(null);return I.useLayoutEffect(()=>{t.current=e}),I.useCallback((...n)=>{var r;(r=t.current)===null||r===void 0||r.call(t,...n)},[])}const pH={};function Zwe(e,t){pH[e]||(pH[e]=!0,console.error("[material-ui-popup-state] WARNING",t))}const e_e={isOpen:!1,setAnchorElUsed:!1,anchorEl:void 0,anchorPosition:void 0,hovered:!1,focused:!1,_openEventType:null,_childPopupState:null,_deferNextOpen:!1,_deferNextClose:!1};function t_e({parentPopupState:e,popupId:t,variant:n,disableAutoFocus:r}){const i=I.useRef(!0);I.useEffect(()=>(i.current=!0,()=>{i.current=!1}),[]);const[o,s]=I.useState(e_e),l=I.useCallback(b=>{i.current&&s(b)},[]),c=I.useCallback(b=>l(x=>({...x,setAnchorElUsed:!0,anchorEl:b??void 0})),[]),d=db(b=>(o.isOpen?p(b):f(b),o)),f=db(b=>{const x=b instanceof Element?void 0:b,E=b instanceof Element?b:(b==null?void 0:b.currentTarget)instanceof Element?b.currentTarget:void 0;if((x==null?void 0:x.type)==="touchstart"){l(L=>({...L,_deferNextOpen:!0}));return}const A=x==null?void 0:x.clientX,R=x==null?void 0:x.clientY,k=typeof A=="number"&&typeof R=="number"?{left:A,top:R}:void 0,O=L=>{if(!b&&!L.setAnchorElUsed&&n!=="dialog"&&Zwe("missingEventOrAnchorEl","eventOrAnchorEl should be defined if setAnchorEl is not used"),e){if(!e.isOpen)return L;setTimeout(()=>e._setChildPopupState(_))}const N={...L,isOpen:!0,anchorPosition:k,hovered:(x==null?void 0:x.type)==="mouseover"||L.hovered,focused:(x==null?void 0:x.type)==="focus"||L.focused,_openEventType:x==null?void 0:x.type};return x!=null&&x.currentTarget?L.setAnchorElUsed||(N.anchorEl=x==null?void 0:x.currentTarget):E&&(N.anchorEl=E),N};l(L=>L._deferNextOpen?(setTimeout(()=>l(O),0),{...L,_deferNextOpen:!1}):O(L))}),h=b=>{const{_childPopupState:x}=b;return setTimeout(()=>{x==null||x.close(),e==null||e._setChildPopupState(null)}),{...b,isOpen:!1,hovered:!1,focused:!1}},p=db(b=>{const x=b instanceof Element?void 0:b;if((x==null?void 0:x.type)==="touchstart"){l(E=>({...E,_deferNextClose:!0}));return}l(E=>E._deferNextClose?(setTimeout(()=>l(h),0),{...E,_deferNextClose:!1}):h(E))}),g=I.useCallback((b,x)=>{b?f(x):p(x)},[]),v=db(b=>{const{relatedTarget:x}=b;l(E=>E.hovered&&!(x instanceof Element&&SF(x,_))?E.focused?{...E,hovered:!1}:h(E):E)}),y=db(b=>{if(!b)return;const{relatedTarget:x}=b;l(E=>E.focused&&!(x instanceof Element&&SF(x,_))?E.hovered?{...E,focused:!1}:h(E):E)}),S=I.useCallback(b=>l(x=>({...x,_childPopupState:b})),[]),_={...o,setAnchorEl:c,popupId:t,variant:n,open:f,close:p,toggle:d,setOpen:g,onBlur:y,onMouseLeave:v,disableAutoFocus:r??!!(o.hovered||o.focused),_setChildPopupState:S};return _}function n_e({isOpen:e,popupId:t,variant:n}){return{...n==="popover"?{"aria-haspopup":!0,"aria-controls":e&&t!=null?t:void 0}:n==="popper"?{"aria-describedby":e&&t!=null?t:void 0}:void 0}}function mk(e){return{...n_e(e),onClick:e.open,onTouchStart:e.open}}function sw({isOpen:e,anchorEl:t,anchorPosition:n,close:r,popupId:i,onMouseLeave:o,disableAutoFocus:s,_openEventType:l}){return{id:i,anchorEl:t,anchorPosition:n,anchorReference:l==="contextmenu"?"anchorPosition":"anchorEl",open:e,onClose:r,onMouseLeave:o,...s&&{autoFocus:!1,disableAutoFocusItem:!0,disableAutoFocus:!0,disableEnforceFocus:!0,disableRestoreFocus:!0}}}function r_e(e,{popupId:t}){if(!t)return null;const n=typeof e.getRootNode=="function"?e.getRootNode():document;return typeof n.getElementById=="function"?n.getElementById(t):null}function SF(e,t){const{anchorEl:n,_childPopupState:r}=t;return mH(n,e)||mH(r_e(e,t),e)||r!=null&&SF(e,r)}function mH(e,t){if(!e)return!1;for(;t;){if(t===e)return!0;t=t.parentElement}return!1}function Op({children:e,popupId:t,variant:n,parentPopupState:r,disableAutoFocus:i}){const o=t_e({popupId:t,variant:n,parentPopupState:r,disableAutoFocus:i}),s=e(o);return s??null}Op.propTypes={children:q0.func.isRequired,popupId:q0.string,variant:q0.oneOf(["popover","popper"]).isRequired,parentPopupState:q0.object,disableAutoFocus:q0.bool};function i_e({onSplitHorizontal:e,onClose:t,onSplitVertical:n,closeDisabled:r,splitHorizontalDisabled:i,splitVerticalDisabled:o}){return C.jsx(Op,{variant:"popover",children:s=>C.jsxs(C.Fragment,{children:[C.jsx(Nd,{sx:{m:1},children:C.jsx(Kd,{title:"Panel Options",children:C.jsx(mp,{size:"small",...mk(s),children:C.jsx(Ixe,{fontSize:"small"})})})}),C.jsxs(Pp,{...sw(s),transformOrigin:{horizontal:"right",vertical:"top"},anchorOrigin:{horizontal:"right",vertical:"top"},children:[C.jsxs(gu,{onClick:n,disabled:o,children:[C.jsx(Ul,{children:C.jsx($8,{fontSize:"small"})}),C.jsx(sl,{children:"Split Vertical"})]}),C.jsxs(gu,{onClick:e,disabled:i,children:[C.jsx(Ul,{children:C.jsx($8,{fontSize:"small",sx:{transform:"rotate(90deg)"}})}),C.jsx(sl,{children:"Split Horizontal"})]}),C.jsx(tc,{}),C.jsxs(gu,{onClick:t,disabled:r,children:[C.jsx(Ul,{children:C.jsx(qK,{fontSize:"small"})}),C.jsx(sl,{children:"Close Panel"})]})]})]})})}function ko(e,t){const n=ee.clone(e);return t(n),n}function gH(e,t){return t(ee.clone(e))}function Rg(e){return t=>I.createElement(e,{...t,produce:n=>{var r;return(r=t==null?void 0:t.onChange)==null?void 0:r.call(t,i=>ko(i,n))}})}const UQ=I.createContext({});function Du(){return I.useContext(UQ)}function HQ({root:e={type:"leaf",key:""},renderLeaf:t,onChange:n,onClose:r,depth:i=0}){const{palette:o,spacing:s,transitions:l}=In(),c=Zx({"div&":{background:o.text.secondary,opacity:1-o.action.activatedOpacity,transition:l.create("opacity"),"&.Horizontal":{width:"3px"},"&.Vertical":{height:"3px"}}}),d=Zx({"div&":{background:o.background.default,[`&:hover .${c}`]:{opacity:1},"&.Horizontal":{padding:0},"&.Vertical":{padding:0}}}),f=g=>Number(s(g).slice(0,-2));function h(g){const v=100-ee.sumBy(g,"size"),y=ee.filter(g,S=>!S.size).length;return y?v/y:0}const p=I.useMemo(()=>{const g=v=>n==null?void 0:n(gH(e,y=>({key:Do(),type:"branch",orientation:v,children:[{...structuredClone(y),size:50,key:Do()},{...structuredClone(y),size:50,key:Do()}]})));return e.type==="leaf"?{state:e.content,controls:C.jsx(i_e,{onClose:r,closeDisabled:!i,onSplitHorizontal:()=>g("horizontal"),onSplitVertical:()=>g("vertical")}),onChange:v=>n==null?void 0:n(ko(e,y=>{y.content={...y.content,...v}}))}:{}},[n,r,i,e]);return C.jsx(C.Fragment,{children:e.type==="leaf"?C.jsx(bn,{children:C.jsx(bn,{sx:{borderRadius:g=>g.spacing(1),overflow:"hidden"},children:C.jsx(UQ.Provider,{value:p,children:t==null?void 0:t(e)})})}):C.jsx(Jwe,{gutterClassName:d,draggerClassName:c,onResizeFinished:(g,v)=>n==null?void 0:n(ko(e,y=>{ee.forEach(v,(S,_)=>{y.children[_].size=S})})),minHeights:ee.map(e.children,()=>f(6)-8),minWidths:ee.map(e.children,()=>f(32)),initialSizes:ee.map(e.children,(g,v,y)=>g.size??h(y)),direction:{vertical:Er.Vertical,horizontal:Er.Horizontal}[e.orientation],children:ee.map(e.children,(g,v)=>C.jsx(HQ,{depth:i+1,renderLeaf:t,root:g,onChange:y=>n==null?void 0:n(ko(e,S=>S.children[v]=y)),onClose:()=>n==null?void 0:n(gH(e,y=>(y.children.splice(v,1),y.children.length===1?y.children[0].type==="leaf"?{type:"leaf",key:Do(),content:y.children[0].content}:y.children[0]:(ee.forEach(y.children,(S,_,b)=>S.size=100/b.length),y))))},g.key))})})}function n1(){return n1=Object.assign||function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}var s_e=["PropTypes"],a_e=function(t,n){return I.Children.toArray(t).reduce(function(r,i){if(I.isValidElement(i)){var o=i.type.displayName;n!=null&&n.includes(o)&&(r[o]=i.props)}return r},{})},l_e=function(t,n){var r=I.Children.toArray(t).filter(function(i){if(I.isValidElement(i)){var o=i.type.displayName;return!(n!=null&&n.includes(o))}return!0});return r.length>0?r:void 0},c_e=function(t){return typeof t=="string"&&!s_e.includes(t)&&t.match(/^[A-Z0-9]/)},u_e=function(t){var n=I.memo(function(r){var i=r.children,o=r.propagateSlotProps,s=r.slotKeys,l=s===void 0?[]:s,c=o_e(r,["children","propagateSlotProps","slotKeys"]),d=I.useMemo(function(){return a_e(i,l)},[l,i]),f=I.useMemo(function(){return l_e(i,l)},[l,i]),h=I.useMemo(function(){return n1({},c,{slotProps:n1({},o,d)})},[c,d,o]);return I.createElement(t,h,f)});return n},d_e=function(t){var n=I.memo(u_e(t));n.displayName="WithSlots("+(t.displayName||t.name)+")";var r=new Proxy(n,{get:function(o,s,l){var c;if(s in o||typeof s=="symbol"||!c_e(s))return Reflect.get(o,s,l);var d=((c=Reflect.get(o,"defaultProps"))==null?void 0:c.slotKeys)||[],f=Reflect.get(o,s);if(!f){var h=function(){return null};h.displayName=s,Reflect.set(o,s,h)}return Reflect.set(o,"defaultProps",n1({},o.defaultProps,{slotKeys:[].concat(d,[s])})),Reflect.get(o,s,l)}});return r};function uz(){const e=In();return Qge(e.breakpoints.down("sm"))}const f_e=e=>e?48:36,h_e=8;function p_e({trigger:e,items:t,value:n,onChange:r,placeholder:i="Select Option"}){const o=uz(),s=ee.max([ee.findIndex(t,{value:n}),0])??0;return C.jsx(Op,{variant:"popover",children:l=>C.jsxs(C.Fragment,{children:[C.jsx(Kd,{title:i,children:C.jsx("span",{children:e==null?void 0:e(mk(l))})}),C.jsx(Pp,{...sw(l),anchorOrigin:{horizontal:"center",vertical:-f_e(o)*s-h_e},transformOrigin:{vertical:"top",horizontal:"center"},children:ee.map(t,({value:c,label:d,disabled:f})=>C.jsx(gu,{disabled:f,value:c,selected:c===n,onClick:()=>{l.close(),r==null||r(c)},children:d},c))})]})})}function mx(e){const{placeholder:t,value:n,items:r=[],onChange:i}=e;return C.jsx(X1,{sx:{minWidth:120},select:!0,label:t,value:n,variant:"filled",...e,onChange:o=>i==null?void 0:i(o.target.value),children:ee.map(r,o=>C.jsx(gu,{value:o.value,children:o.label},o.value))})}function $d({children:e,icon:t,showArrow:n,...r}){return C.jsx(AK,{...r,startIcon:t,endIcon:n&&C.jsx(Axe,{sx:{ml:-.5,color:"text.primary",opacity:i=>r.disabled?i.palette.action.disabledOpacity:1}}),children:C.jsx(dt,{sx:{color:"text.primary",opacity:i=>r.disabled?i.palette.action.disabledOpacity:1},children:e})})}function Xo({label:e,value:t,onChange:n,items:r,icon:i,showArrow:o,disabled:s,ButtonProps:l}){const c=ee.find(r,{id:t});return C.jsx(p_e,{placeholder:ee.startCase(e),trigger:d=>C.jsx($d,{...d,...l,disabled:!(r!=null&&r.length)||s,icon:i,showArrow:o,children:(c==null?void 0:c.name)??e}),items:ee.map(r,({id:d,name:f,description:h,hidden:p})=>({value:d,label:C.jsxs(C.Fragment,{children:[C.jsx(zt,{children:f}),C.jsx(Kr,{}),C.jsx(zt,{variant:"body2",color:"text.secondary",children:h})]}),disabled:p})),value:c==null?void 0:c.id,onChange:n})}const WQ=[{url:"https://cdn.jsdelivr.net/gh/path-visualiser/app@adapter-warthog-wasm-dist/warthog-wasm.mjs",transport:"ipc",key:"default-ipc"}],GQ=[{url:"internal://d2-renderer/",key:"d2-renderer",transport:"native"}],cm=1,m_e={renderer:GQ,remote:WQ,playbackRate:cm,theme:"dark",acrylic:!0,accentColor:"blue"},[Lu,g_e]=nc({},p1e("settings",m_e)),{common:sVe,...v_e}=wq,y_e=`
+/* ====== */`);const Ywe=de.forwardRef(({className:e,theme:t,draggerClassName:n,direction:r=Er.Vertical,onDragging:i},o)=>{const s=`__dbk__gutter ${r} ${e||t}`,l=`__dbk__dragger ${r} ${n||t}`;return C.jsx("div",Object.assign({className:s,ref:o,dir:r,onMouseDown:i,onTouchStart:AS?i:void 0},{children:C.jsx("div",{className:l},void 0)}),void 0)});var ea;function wF(e,t,n){let r,i;return t?(r=e/2,i=e):n?(r=e,i=e/2):(r=e,i=e),{aGutterSize:r,bGutterSize:i}}function Kwe(e,t){switch(t.type){case ea.SetIsReadyToCompute:return Object.assign(Object.assign({},e),{isReady:t.payload.isReady});case ea.CreatePairs:{const{direction:n,children:r,gutters:i}=t.payload,o=r[0].parentNode;if(!o)throw new Error("Cannot create pairs - parent is undefined.");const s=UE(n,o);if(s===void 0)throw new Error(`Cannot create pairs - parent has undefined or zero size: ${s}.`);const l=[];return r.forEach((c,d)=>{if(d>0){const f=r[d-1],h=r[d],p=i[d-1],g=n===Er.Horizontal?f.getBoundingClientRect().left:f.getBoundingClientRect().top,v=n===Er.Horizontal?h.getBoundingClientRect().right:h.getBoundingClientRect().bottom,y=n===Er.Horizontal?f.getBoundingClientRect().width+p.getBoundingClientRect().width+h.getBoundingClientRect().width:f.getBoundingClientRect().height+p.getBoundingClientRect().height+h.getBoundingClientRect().height,S=n===Er.Horizontal?p.getBoundingClientRect().width:p.getBoundingClientRect().height,_={idx:d-1,a:f,b:h,gutter:p,parent:o,start:g,end:v,size:y,gutterSize:S,aSizePct:100/r.length,bSizePct:100/r.length};l.push(_)}}),Object.assign(Object.assign({},e),{pairs:l})}case ea.StartDragging:{const{gutterIdx:n}=t.payload;return Object.assign(Object.assign({},e),{isDragging:!0,draggingIdx:n})}case ea.StopDragging:return Object.assign(Object.assign({},e),{isDragging:!1});case ea.CalculateSizes:{const{direction:n,gutterIdx:r}=t.payload,i=e.pairs[r],o=UE(n,i.parent);if(!o)throw new Error("Cannot calculate sizes - 'pair.parent' has undefined or zero size.");const s=i.gutter[n===Er.Horizontal?"clientWidth":"clientHeight"],l=r===0,c=r===e.pairs.length-1,{aGutterSize:d,bGutterSize:f}=wF(s,l,c);let h,p,g,v,y;return n===Er.Horizontal?(h=i.a.getBoundingClientRect().left,p=i.b.getBoundingClientRect().right,v=(i.a.getBoundingClientRect().width+d)/o*100,y=(i.b.getBoundingClientRect().width+f)/o*100,g=i.a.getBoundingClientRect().width+d+f+i.b.getBoundingClientRect().width):(h=i.a.getBoundingClientRect().top,p=i.b.getBoundingClientRect().bottom,v=(i.a.getBoundingClientRect().height+d)/o*100,y=(i.b.getBoundingClientRect().height+f)/o*100,g=i.a.getBoundingClientRect().height+d+f+i.b.getBoundingClientRect().height),e.pairs[r]=Object.assign(Object.assign({},i),{start:h,end:p,size:g,aSizePct:v,bSizePct:y,gutterSize:s}),Object.assign({},e)}default:return e}}function jQ(e,t=0,n=[]){return I.Children.toArray(e).reduce((r,i,o)=>(zQ.isFragment(i)?r.push.apply(r,jQ(i.props.children,t+1,n.concat(i.key||o))):I.isValidElement(i)?r.push(I.cloneElement(i,{key:n.concat(String(i.key)).join(".")})):typeof i!="string"&&typeof i!="number"||r.push(i),r),[])}(function(e){e[e.SetIsReadyToCompute=0]="SetIsReadyToCompute",e[e.CreatePairs=1]="CreatePairs",e[e.CalculateSizes=2]="CalculateSizes",e[e.StartDragging=3]="StartDragging",e[e.StopDragging=4]="StopDragging"})(ea||(ea={}));const hH=e=>"changedTouches"in e;var Er,_F;(function(e){e.Horizontal="Horizontal",e.Vertical="Vertical"})(Er||(Er={})),function(e){e.Light="Light",e.Dark="Dark"}(_F||(_F={}));const AS=typeof window<"u"&&"ontouchstart"in window;function hL(e){return e===Er.Horizontal?"col-resize":"row-resize"}const Qwe={isReady:!1,isDragging:!1,pairs:[]};function Jwe({direction:e=Er.Horizontal,minWidths:t=[],minHeights:n=[],initialSizes:r,gutterTheme:i=_F.Dark,gutterClassName:o,draggerClassName:s,children:l,onResizeStarted:c,onResizeFinished:d,classes:f=[]}){const h=jQ(l),[p,g]=I.useReducer(Kwe,Qwe),v=I.useRef(null),y=I.useRef([]),S=I.useRef([]);y.current=[],S.current=[];const _=de.useCallback(W=>{g({type:ea.SetIsReadyToCompute,payload:{isReady:W}})},[]),b=de.useCallback((W,z)=>{g({type:ea.StartDragging,payload:{gutterIdx:z}});const D=p.pairs[z];c==null||c(D.idx),D.a.style.userSelect="none",D.b.style.userSelect="none",D.gutter.style.cursor=hL(W),D.parent.style.cursor=hL(W),document.body.style.cursor=hL(W)},[p.pairs]),x=de.useCallback(()=>{g({type:ea.StopDragging});const W=[];for(let D=0;D{g({type:ea.CalculateSizes,payload:{direction:W,gutterIdx:z}})},[]),A=de.useCallback((W,z,D)=>{g({type:ea.CreatePairs,payload:{direction:W,children:z,gutters:D}})},[]),R=de.useCallback((W,z,D,F)=>{const j=z[0].parentNode;if(!j)throw new Error("Cannot set initial sizes - parent is undefined");if(UE(W,j)===void 0)throw new Error("Cannot set initial sizes - parent has undefined size");z.forEach((V,G)=>{const K=G===0,Y=G===z.length-1;let J,ie=0;z.length>1&&(ie=D[Y?G-1:G].getBoundingClientRect()[W===Er.Horizontal?"width":"height"],ie=K||Y?ie/2:ie),J=F&&G{if(p.draggingIdx===void 0)throw new Error("Cannot adjust size - 'draggingIdx' is undefined");const D=p.pairs[p.draggingIdx];if(D.size===void 0)throw new Error("Cannot adjust size - 'pair.size' is undefined");if(D.gutterSize===void 0)throw new Error("Cannot adjust size - 'pair.gutterSize' is undefined");const F=D.aSizePct+D.bSizePct,j=z/D.size*F,V=F-z/D.size*F,G=p.draggingIdx===0,K=p.draggingIdx===p.pairs.length-1,{aGutterSize:Y,bGutterSize:J}=wF(D.gutterSize,G,K),ie=`calc(${j}% - ${Y}px)`,ce=`calc(${V}% - ${J}px)`;W===Er.Horizontal?(D.a.style.width=ie,D.b.style.width=ce):(D.a.style.height=ie,D.b.style.height=ce)},[p.draggingIdx,p.pairs,e]),O=de.useCallback((W,z,D)=>{if(!p.isDragging)return;if(p.draggingIdx===void 0)throw new Error("Cannot drag - 'draggingIdx' is undefined");const F=p.pairs[p.draggingIdx];if(F.start===void 0)throw new Error("Cannot drag - 'pair.start' is undefined");if(F.size===void 0)throw new Error("Cannot drag - 'pair.size' is undefined");if(F.gutterSize===void 0)throw new Error("Cannot drag - 'pair.gutterSize' is undefined");let j=function(K,Y){const J=hH(Y)?Y.changedTouches[0]:Y;return K===Er.Horizontal?J.clientX:J.clientY}(z,W)-F.start,V=16,G=16;D.length>p.draggingIdx&&(V=D[p.draggingIdx]),D.length>=p.draggingIdx+1&&(G=D[p.draggingIdx+1]),j=F.size-(F.gutterSize+G)&&(j=F.size-(F.gutterSize+G)),k(z,j)},[p.isDragging,p.draggingIdx,p.pairs,k]),L=()=>{if(p.isDragging){if(p.draggingIdx===void 0)throw new Error("Cannot calculate sizes after dragging = 'state.draggingIdx' is undefined");E(e,p.draggingIdx),x()}},N=W=>{p.isDragging&&(hH(W)&&W.preventDefault(),O(W,e,e===Er.Horizontal?t:n))};function H(W,z){if(!W.current)throw new Error("Can't add element to ref object - ref isn't initialized");z&&!W.current.includes(z)&&W.current.push(z)}return a_("mouseup",L,[p.isDragging,x]),a_("mousemove",N,[e,p.isDragging,O,t,n]),a_("touchend",L,[p.isDragging,x],{condition:AS}),a_("touchmove",N,[e,p.isDragging,O,t,n],{condition:AS,passive:!AS}),I.useEffect(function(){if(!v.current)return;const W=v.current.parentElement;if(!W)return;const z=new ResizeObserver(()=>{const D=getComputedStyle(W),F=e===Er.Horizontal?W.clientWidth:W.clientHeight;_(!!D&&!!F)});return z.observe(W),()=>{z.disconnect()}},[v.current,e]),I.useEffect(function(){if(p.isReady&&(!y.current||y.current[0].offsetParent)){if(!y.current||!S.current)throw new Error("Cannot create pairs - either variable 'childRefs' or 'gutterRefs' is undefined");h.length<=1?R(e,y.current,S.current,r):(R(e,y.current,S.current,r),A(e,y.current,S.current))}},[l,p.isReady,e,R,A,r]),C.jsx("div",Object.assign({className:`__dbk__container ${e}`,ref:v},{children:p.isReady&&h.map((W,z)=>C.jsxs(de.Fragment,{children:[C.jsx("div",Object.assign({ref:D=>H(y,D),className:"__dbk__child-wrapper "+(zH(S,D),className:o,theme:i,draggerClassName:s,direction:e,onDragging:()=>{return E(e,D=z),void b(e,D);var D}},void 0)]},z))}),void 0)}let Do=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((t,n)=>(n&=63,n<36?t+=n.toString(36):n<62?t+=(n-26).toString(36).toUpperCase():n>62?t+="-":t+="_",t),"");function db(e){if(typeof window>"u")return e;const t=I.useRef(null);return I.useLayoutEffect(()=>{t.current=e}),I.useCallback((...n)=>{var r;(r=t.current)===null||r===void 0||r.call(t,...n)},[])}const pH={};function Zwe(e,t){pH[e]||(pH[e]=!0,console.error("[material-ui-popup-state] WARNING",t))}const e_e={isOpen:!1,setAnchorElUsed:!1,anchorEl:void 0,anchorPosition:void 0,hovered:!1,focused:!1,_openEventType:null,_childPopupState:null,_deferNextOpen:!1,_deferNextClose:!1};function t_e({parentPopupState:e,popupId:t,variant:n,disableAutoFocus:r}){const i=I.useRef(!0);I.useEffect(()=>(i.current=!0,()=>{i.current=!1}),[]);const[o,s]=I.useState(e_e),l=I.useCallback(b=>{i.current&&s(b)},[]),c=I.useCallback(b=>l(x=>({...x,setAnchorElUsed:!0,anchorEl:b??void 0})),[]),d=db(b=>(o.isOpen?p(b):f(b),o)),f=db(b=>{const x=b instanceof Element?void 0:b,E=b instanceof Element?b:(b==null?void 0:b.currentTarget)instanceof Element?b.currentTarget:void 0;if((x==null?void 0:x.type)==="touchstart"){l(L=>({...L,_deferNextOpen:!0}));return}const A=x==null?void 0:x.clientX,R=x==null?void 0:x.clientY,k=typeof A=="number"&&typeof R=="number"?{left:A,top:R}:void 0,O=L=>{if(!b&&!L.setAnchorElUsed&&n!=="dialog"&&Zwe("missingEventOrAnchorEl","eventOrAnchorEl should be defined if setAnchorEl is not used"),e){if(!e.isOpen)return L;setTimeout(()=>e._setChildPopupState(_))}const N={...L,isOpen:!0,anchorPosition:k,hovered:(x==null?void 0:x.type)==="mouseover"||L.hovered,focused:(x==null?void 0:x.type)==="focus"||L.focused,_openEventType:x==null?void 0:x.type};return x!=null&&x.currentTarget?L.setAnchorElUsed||(N.anchorEl=x==null?void 0:x.currentTarget):E&&(N.anchorEl=E),N};l(L=>L._deferNextOpen?(setTimeout(()=>l(O),0),{...L,_deferNextOpen:!1}):O(L))}),h=b=>{const{_childPopupState:x}=b;return setTimeout(()=>{x==null||x.close(),e==null||e._setChildPopupState(null)}),{...b,isOpen:!1,hovered:!1,focused:!1}},p=db(b=>{const x=b instanceof Element?void 0:b;if((x==null?void 0:x.type)==="touchstart"){l(E=>({...E,_deferNextClose:!0}));return}l(E=>E._deferNextClose?(setTimeout(()=>l(h),0),{...E,_deferNextClose:!1}):h(E))}),g=I.useCallback((b,x)=>{b?f(x):p(x)},[]),v=db(b=>{const{relatedTarget:x}=b;l(E=>E.hovered&&!(x instanceof Element&&SF(x,_))?E.focused?{...E,hovered:!1}:h(E):E)}),y=db(b=>{if(!b)return;const{relatedTarget:x}=b;l(E=>E.focused&&!(x instanceof Element&&SF(x,_))?E.hovered?{...E,focused:!1}:h(E):E)}),S=I.useCallback(b=>l(x=>({...x,_childPopupState:b})),[]),_={...o,setAnchorEl:c,popupId:t,variant:n,open:f,close:p,toggle:d,setOpen:g,onBlur:y,onMouseLeave:v,disableAutoFocus:r??!!(o.hovered||o.focused),_setChildPopupState:S};return _}function n_e({isOpen:e,popupId:t,variant:n}){return{...n==="popover"?{"aria-haspopup":!0,"aria-controls":e&&t!=null?t:void 0}:n==="popper"?{"aria-describedby":e&&t!=null?t:void 0}:void 0}}function mk(e){return{...n_e(e),onClick:e.open,onTouchStart:e.open}}function sw({isOpen:e,anchorEl:t,anchorPosition:n,close:r,popupId:i,onMouseLeave:o,disableAutoFocus:s,_openEventType:l}){return{id:i,anchorEl:t,anchorPosition:n,anchorReference:l==="contextmenu"?"anchorPosition":"anchorEl",open:e,onClose:r,onMouseLeave:o,...s&&{autoFocus:!1,disableAutoFocusItem:!0,disableAutoFocus:!0,disableEnforceFocus:!0,disableRestoreFocus:!0}}}function r_e(e,{popupId:t}){if(!t)return null;const n=typeof e.getRootNode=="function"?e.getRootNode():document;return typeof n.getElementById=="function"?n.getElementById(t):null}function SF(e,t){const{anchorEl:n,_childPopupState:r}=t;return mH(n,e)||mH(r_e(e,t),e)||r!=null&&SF(e,r)}function mH(e,t){if(!e)return!1;for(;t;){if(t===e)return!0;t=t.parentElement}return!1}function Op({children:e,popupId:t,variant:n,parentPopupState:r,disableAutoFocus:i}){const o=t_e({popupId:t,variant:n,parentPopupState:r,disableAutoFocus:i}),s=e(o);return s??null}Op.propTypes={children:q0.func.isRequired,popupId:q0.string,variant:q0.oneOf(["popover","popper"]).isRequired,parentPopupState:q0.object,disableAutoFocus:q0.bool};function i_e({onSplitHorizontal:e,onClose:t,onSplitVertical:n,closeDisabled:r,splitHorizontalDisabled:i,splitVerticalDisabled:o}){return C.jsx(Op,{variant:"popover",children:s=>C.jsxs(C.Fragment,{children:[C.jsx(Nd,{sx:{m:1},children:C.jsx(Kd,{title:"Panel Options",children:C.jsx(mp,{size:"small",...mk(s),children:C.jsx(Ixe,{fontSize:"small"})})})}),C.jsxs(Pp,{...sw(s),transformOrigin:{horizontal:"right",vertical:"top"},anchorOrigin:{horizontal:"right",vertical:"top"},children:[C.jsxs(gu,{onClick:n,disabled:o,children:[C.jsx(Ul,{children:C.jsx($8,{fontSize:"small"})}),C.jsx(sl,{children:"Split Vertical"})]}),C.jsxs(gu,{onClick:e,disabled:i,children:[C.jsx(Ul,{children:C.jsx($8,{fontSize:"small",sx:{transform:"rotate(90deg)"}})}),C.jsx(sl,{children:"Split Horizontal"})]}),C.jsx(tc,{}),C.jsxs(gu,{onClick:t,disabled:r,children:[C.jsx(Ul,{children:C.jsx(qK,{fontSize:"small"})}),C.jsx(sl,{children:"Close Panel"})]})]})]})})}function Ui(e,t){const n=ee.clone(e);return t(n),n}function gH(e,t){return t(ee.clone(e))}function Rg(e){return t=>I.createElement(e,{...t,produce:n=>{var r;return(r=t==null?void 0:t.onChange)==null?void 0:r.call(t,i=>Ui(i,n))}})}const UQ=I.createContext({});function Du(){return I.useContext(UQ)}function HQ({root:e={type:"leaf",key:""},renderLeaf:t,onChange:n,onClose:r,depth:i=0}){const{palette:o,spacing:s,transitions:l}=In(),c=Zx({"div&":{background:o.text.secondary,opacity:1-o.action.activatedOpacity,transition:l.create("opacity"),"&.Horizontal":{width:"3px"},"&.Vertical":{height:"3px"}}}),d=Zx({"div&":{background:o.background.default,[`&:hover .${c}`]:{opacity:1},"&.Horizontal":{padding:0},"&.Vertical":{padding:0}}}),f=g=>Number(s(g).slice(0,-2));function h(g){const v=100-ee.sumBy(g,"size"),y=ee.filter(g,S=>!S.size).length;return y?v/y:0}const p=I.useMemo(()=>{const g=v=>n==null?void 0:n(gH(e,y=>({key:Do(),type:"branch",orientation:v,children:[{...structuredClone(y),size:50,key:Do()},{...structuredClone(y),size:50,key:Do()}]})));return e.type==="leaf"?{state:e.content,controls:C.jsx(i_e,{onClose:r,closeDisabled:!i,onSplitHorizontal:()=>g("horizontal"),onSplitVertical:()=>g("vertical")}),onChange:v=>n==null?void 0:n(Ui(e,y=>{y.content={...y.content,...v}}))}:{}},[n,r,i,e]);return C.jsx(C.Fragment,{children:e.type==="leaf"?C.jsx(bn,{children:C.jsx(bn,{sx:{borderRadius:g=>g.spacing(1),overflow:"hidden"},children:C.jsx(UQ.Provider,{value:p,children:t==null?void 0:t(e)})})}):C.jsx(Jwe,{gutterClassName:d,draggerClassName:c,onResizeFinished:(g,v)=>n==null?void 0:n(Ui(e,y=>{ee.forEach(v,(S,_)=>{y.children[_].size=S})})),minHeights:ee.map(e.children,()=>f(6)-8),minWidths:ee.map(e.children,()=>f(32)),initialSizes:ee.map(e.children,(g,v,y)=>g.size??h(y)),direction:{vertical:Er.Vertical,horizontal:Er.Horizontal}[e.orientation],children:ee.map(e.children,(g,v)=>C.jsx(HQ,{depth:i+1,renderLeaf:t,root:g,onChange:y=>n==null?void 0:n(Ui(e,S=>S.children[v]=y)),onClose:()=>n==null?void 0:n(gH(e,y=>(y.children.splice(v,1),y.children.length===1?y.children[0].type==="leaf"?{type:"leaf",key:Do(),content:y.children[0].content}:y.children[0]:(ee.forEach(y.children,(S,_,b)=>S.size=100/b.length),y))))},g.key))})})}function n1(){return n1=Object.assign||function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}var s_e=["PropTypes"],a_e=function(t,n){return I.Children.toArray(t).reduce(function(r,i){if(I.isValidElement(i)){var o=i.type.displayName;n!=null&&n.includes(o)&&(r[o]=i.props)}return r},{})},l_e=function(t,n){var r=I.Children.toArray(t).filter(function(i){if(I.isValidElement(i)){var o=i.type.displayName;return!(n!=null&&n.includes(o))}return!0});return r.length>0?r:void 0},c_e=function(t){return typeof t=="string"&&!s_e.includes(t)&&t.match(/^[A-Z0-9]/)},u_e=function(t){var n=I.memo(function(r){var i=r.children,o=r.propagateSlotProps,s=r.slotKeys,l=s===void 0?[]:s,c=o_e(r,["children","propagateSlotProps","slotKeys"]),d=I.useMemo(function(){return a_e(i,l)},[l,i]),f=I.useMemo(function(){return l_e(i,l)},[l,i]),h=I.useMemo(function(){return n1({},c,{slotProps:n1({},o,d)})},[c,d,o]);return I.createElement(t,h,f)});return n},d_e=function(t){var n=I.memo(u_e(t));n.displayName="WithSlots("+(t.displayName||t.name)+")";var r=new Proxy(n,{get:function(o,s,l){var c;if(s in o||typeof s=="symbol"||!c_e(s))return Reflect.get(o,s,l);var d=((c=Reflect.get(o,"defaultProps"))==null?void 0:c.slotKeys)||[],f=Reflect.get(o,s);if(!f){var h=function(){return null};h.displayName=s,Reflect.set(o,s,h)}return Reflect.set(o,"defaultProps",n1({},o.defaultProps,{slotKeys:[].concat(d,[s])})),Reflect.get(o,s,l)}});return r};function uz(){const e=In();return Qge(e.breakpoints.down("sm"))}const f_e=e=>e?48:36,h_e=8;function p_e({trigger:e,items:t,value:n,onChange:r,placeholder:i="Select Option"}){const o=uz(),s=ee.max([ee.findIndex(t,{value:n}),0])??0;return C.jsx(Op,{variant:"popover",children:l=>C.jsxs(C.Fragment,{children:[C.jsx(Kd,{title:i,children:C.jsx("span",{children:e==null?void 0:e(mk(l))})}),C.jsx(Pp,{...sw(l),anchorOrigin:{horizontal:"center",vertical:-f_e(o)*s-h_e},transformOrigin:{vertical:"top",horizontal:"center"},children:ee.map(t,({value:c,label:d,disabled:f})=>C.jsx(gu,{disabled:f,value:c,selected:c===n,onClick:()=>{l.close(),r==null||r(c)},children:d},c))})]})})}function mx(e){const{placeholder:t,value:n,items:r=[],onChange:i}=e;return C.jsx(X1,{sx:{minWidth:120},select:!0,label:t,value:n,variant:"filled",...e,onChange:o=>i==null?void 0:i(o.target.value),children:ee.map(r,o=>C.jsx(gu,{value:o.value,children:o.label},o.value))})}function $d({children:e,icon:t,showArrow:n,...r}){return C.jsx(AK,{...r,startIcon:t,endIcon:n&&C.jsx(Axe,{sx:{ml:-.5,color:"text.primary",opacity:i=>r.disabled?i.palette.action.disabledOpacity:1}}),children:C.jsx(dt,{sx:{color:"text.primary",opacity:i=>r.disabled?i.palette.action.disabledOpacity:1},children:e})})}function Xo({label:e,value:t,onChange:n,items:r,icon:i,showArrow:o,disabled:s,ButtonProps:l}){const c=ee.find(r,{id:t});return C.jsx(p_e,{placeholder:ee.startCase(e),trigger:d=>C.jsx($d,{...d,...l,disabled:!(r!=null&&r.length)||s,icon:i,showArrow:o,children:(c==null?void 0:c.name)??e}),items:ee.map(r,({id:d,name:f,description:h,hidden:p})=>({value:d,label:C.jsxs(C.Fragment,{children:[C.jsx(zt,{children:f}),C.jsx(Kr,{}),C.jsx(zt,{variant:"body2",color:"text.secondary",children:h})]}),disabled:p})),value:c==null?void 0:c.id,onChange:n})}const WQ=[{url:"https://cdn.jsdelivr.net/gh/path-visualiser/app@adapter-warthog-wasm-dist/warthog-wasm.mjs",transport:"ipc",key:"default-ipc"}],GQ=[{url:"internal://d2-renderer/",key:"d2-renderer",transport:"native"}],cm=1,m_e={renderer:GQ,remote:WQ,playbackRate:cm,theme:"dark",acrylic:!0,accentColor:"blue"},[Lu,g_e]=nc({},p1e("settings",m_e)),{common:aVe,...v_e}=wq,y_e=`
0px 8px 18px -1px rgb(0 0 0 / 8%),
0px 10px 48px 0px rgb(0 0 0 / 1%),
0px 20px 96px 0px rgb(0 0 0 / 0.5%)
`,vH=`"Inter", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans",
- "Droid Sans", "Helvetica Neue", "Arial", sans-serif`,b_e=(e,t)=>$5({palette:{primary:{main:wq[t][e==="dark"?"A100":"A700"]},mode:e,background:e==="dark"?{default:"#1c2128",paper:"#22272e"}:{default:"#f6f8fa",paper:"#ffffff"}},typography:{allVariants:{fontFamily:vH},button:{textTransform:"none",fontWeight:400,letterSpacing:0,backgroundColor:"background.paper"}},components:{MuiPopover:{styleOverrides:{paper:{backgroundImage:"linear-gradient(rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06))"}}},MuiTooltip:{styleOverrides:{tooltip:{backgroundImage:"linear-gradient(#1c2128, #1c2128)",fontFamily:vH}}},MuiTypography:{styleOverrides:{body1:{fontWeight:400,fontSize:"0.875rem"},overline:{fontWeight:400,textTransform:"none",letterSpacing:0,fontSize:"0.875rem"},h6:{fontWeight:500,letterSpacing:-.4}}}},shadows:["",...ee.times(24,ee.constant(y_e))]});function dz(){const[{acrylic:e}]=Lu();return e?{backdropFilter:"blur(10px)",background:({palette:t})=>_n(t.background.paper,.75)}:{backdropFilter:"blur(0px)",background:({palette:t})=>t.background.paper}}const x_e=C.jsx(tc,{orientation:"vertical",flexItem:!0,sx:{m:1,height:e=>e.spacing(3),alignSelf:"auto"}}),Sn=d_e(({slotProps:e,onChange:t,stack:n})=>{var i,o,s,l;const r=dz();return C.jsxs(bn,{vertical:!0,children:[C.jsx(bn,{sx:{position:"absolute",top:0,left:0,width:"100%"},children:C.jsx(vp,{in:!0,children:C.jsx(dt,{sx:{width:"100%",height:"100%",bgcolor:"background.paper"},children:(i=e.Content)==null?void 0:i.children})})}),C.jsxs(bn,{sx:{height:c=>c.spacing(6)},children:[C.jsx(bn,{sx:{p:0,position:"absolute",top:0,left:0,width:"100%",borderBottom:1,borderColor:"divider",alignItems:"center",pr:6,...r},children:C.jsx(rv,{x:!0,children:C.jsxs(bn,{sx:{width:"max-content",height:c=>c.spacing(6),alignItems:"center",p:1},children:[C.jsx(Xo,{showArrow:!0,label:"Page",onChange:c=>t==null?void 0:t({...n,type:c}),icon:(o=h5[n.type])==null?void 0:o.icon,value:n==null?void 0:n.type,items:ee.values(h5)}),((s=e.Options)==null?void 0:s.children)&&C.jsxs(C.Fragment,{children:[x_e,e.Options.children]})]})})}),C.jsx(Kr,{sx:{mx:"auto"}}),(l=e.Extras)==null?void 0:l.children]})]})}),VQ=""+new URL("logo512-23eace97.png",import.meta.url).href,EF="Visualiser",w_e="1.1.0",__e="1.1.0; mid November 2023",S_e="https://github.com/path-visualiser/app",E_e="https://github.com/path-visualiser/app/blob/master/docs",C_e=[{name:"Dr Daniel Harabor",email:"daniel.harabor@monash.edu"},{name:"Dr Michael Wybrow",email:"michael.wybrow@monash.edu"},{name:"Karan Batta",email:"krnbatta@gmail.com"},{name:"Jay Wingate",email:"jaypeterwingate@gmail.com"},{name:"Kevin Zheng",email:"kzhe0012@student.monash.edu"},{name:"Leo Whitehead",email:"leo@whiteheadsoftware.dev"},{name:"Can Wang",email:"camwang@outlook.com"},{name:"Rory Tobin-Underwood",email:"rorytu@gmail.com"}];function T_e(){const{controls:e,onChange:t,state:n}=Du();function r(i,o){return C.jsxs(dt,{sx:{pt:2},children:[C.jsx(zt,{variant:"overline",color:"text.secondary",children:i}),C.jsx(zt,{variant:"body2",children:o})]})}return C.jsxs(Sn,{onChange:t,stack:n,children:[C.jsx(Sn.Content,{children:C.jsxs(bn,{children:[" ",C.jsx(rv,{y:!0,children:C.jsxs(dt,{sx:{p:2},children:[C.jsx(dt,{sx:{pt:6,pb:2},children:C.jsx("img",{src:VQ,height:"64"})}),C.jsx(zt,{variant:"h6",children:EF}),r("Build Info",C.jsx(C.Fragment,{children:__e})),r("About this App",C.jsxs(C.Fragment,{children:[EF," is a visualising debugging tool for pathfinding search. It can be used to visualise progression of search and debug pathfinding algorithms. It can handle range of different types of algorithms (demos are provided in the home page). This tool is highly customizable and provide flexibility to visualise any algorithm trace that you can augment using our docs."]})),r("Team",C.jsxs(C.Fragment,{children:["Our team is made up of present/past Monash students and Professors Dr Daniel Harabor:",C.jsx(yp,{sx:{mx:-2},children:C_e.map(({name:i,email:o},s)=>C.jsxs(PE,{href:`mailto:${o}`,children:[C.jsx(Jve,{children:C.jsx(Npe,{children:ee.head(i)})}),C.jsx(sl,{primary:i,secondary:o})]},s))})]})),r("Resources",C.jsx(C.Fragment,{children:C.jsx(yp,{sx:{mx:-2},children:C.jsxs(PE,{target:"_blank",href:"https://github.com/path-visualiser",children:[C.jsx(Ul,{children:C.jsx(Cxe,{})}),C.jsx(sl,{primary:"Repository",secondary:"https://github.com/path-visualiser"})]})})}))]})})]})}),C.jsx(Sn.Extras,{children:e})]})}const qQ=I.createContext(null);function k_e(){const[e,t]=I.useState(null);return I.useEffect(()=>{t(`mui-p-${Math.round(Math.random()*1e5)}`)},[]),e}function XQ(e){const{children:t,value:n}=e,r=k_e(),i=I.useMemo(()=>({idPrefix:r,value:n}),[r,n]);return C.jsx(qQ.Provider,{value:i,children:t})}function YQ(){return I.useContext(qQ)}function KQ(e,t){const{idPrefix:n}=e;return n===null?null:`${e.idPrefix}-P-${t}`}function QQ(e,t){const{idPrefix:n}=e;return n===null?null:`${e.idPrefix}-T-${t}`}const A_e=["children"],R_e=I.forwardRef(function(t,n){const{children:r}=t,i=Le(t,A_e),o=YQ();if(o===null)throw new TypeError("No TabContext provided");const s=I.Children.map(r,l=>I.isValidElement(l)?I.cloneElement(l,{"aria-controls":KQ(o,l.props.value),id:QQ(o,l.props.value)}):null);return C.jsx(oxe,$({},i,{ref:n,value:o.value,children:s}))}),JQ=R_e;function I_e(e){return _t("MuiTabPanel",e)}Ct("MuiTabPanel",["root"]);const P_e=["children","className","value"],O_e=e=>{const{classes:t}=e;return Et({root:["root"]},I_e,t)},M_e=Ee("div",{name:"MuiTabPanel",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({padding:e.spacing(3)})),D_e=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiTabPanel"}),{children:i,className:o,value:s}=r,l=Le(r,P_e),c=$({},r),d=O_e(c),f=YQ();if(f===null)throw new TypeError("No TabContext provided");const h=KQ(f,s),p=QQ(f,s);return C.jsx(M_e,$({"aria-labelledby":p,className:Fe(d.root,o),hidden:s!==f.value,id:h,ref:n,role:"tabpanel",ownerState:c},l,{children:s===f.value&&i}))}),Bm=D_e;var ZQ={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(ZQ);var fz=ZQ.exports;function CF({label:e=C.jsx(C.Fragment,{}),...t}){return C.jsx(Pge,{control:C.jsx(Tg,{defaultChecked:!0,...t}),label:e})}function L_e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function bH(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function B_e(e,t){if(e==null)return{};var n=N_e(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function $_e(e,t){return F_e(e)||z_e(e,t)||j_e(e,t)||U_e()}function F_e(e){if(Array.isArray(e))return e}function z_e(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var n=[],r=!0,i=!1,o=void 0;try{for(var s=e[Symbol.iterator](),l;!(r=(l=s.next()).done)&&(n.push(l.value),!(t&&n.length===t));r=!0);}catch(c){i=!0,o=c}finally{try{!r&&s.return!=null&&s.return()}finally{if(i)throw o}}return n}}function j_e(e,t){if(e){if(typeof e=="string")return xH(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xH(e,t)}}function xH(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n$5({palette:{primary:{main:wq[t][e==="dark"?"A100":"A700"]},mode:e,background:e==="dark"?{default:"#1c2128",paper:"#22272e"}:{default:"#f6f8fa",paper:"#ffffff"}},typography:{allVariants:{fontFamily:vH},button:{textTransform:"none",fontWeight:400,letterSpacing:0,backgroundColor:"background.paper"}},components:{MuiPopover:{styleOverrides:{paper:{backgroundImage:"linear-gradient(rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06))"}}},MuiTooltip:{styleOverrides:{tooltip:{backgroundImage:"linear-gradient(#1c2128, #1c2128)",fontFamily:vH}}},MuiTypography:{styleOverrides:{body1:{fontWeight:400,fontSize:"0.875rem"},overline:{fontWeight:400,textTransform:"none",letterSpacing:0,fontSize:"0.875rem"},h6:{fontWeight:500,letterSpacing:-.4}}}},shadows:["",...ee.times(24,ee.constant(y_e))]});function dz(){const[{acrylic:e}]=Lu();return e?{backdropFilter:"blur(10px)",background:({palette:t})=>_n(t.background.paper,.75)}:{backdropFilter:"blur(0px)",background:({palette:t})=>t.background.paper}}const x_e=C.jsx(tc,{orientation:"vertical",flexItem:!0,sx:{m:1,height:e=>e.spacing(3),alignSelf:"auto"}}),Sn=d_e(({slotProps:e,onChange:t,stack:n})=>{var i,o,s,l;const r=dz();return C.jsxs(bn,{vertical:!0,children:[C.jsx(bn,{sx:{position:"absolute",top:0,left:0,width:"100%"},children:C.jsx(vp,{in:!0,children:C.jsx(dt,{sx:{width:"100%",height:"100%",bgcolor:"background.paper"},children:(i=e.Content)==null?void 0:i.children})})}),C.jsxs(bn,{sx:{height:c=>c.spacing(6)},children:[C.jsx(bn,{sx:{p:0,position:"absolute",top:0,left:0,width:"100%",borderBottom:1,borderColor:"divider",alignItems:"center",pr:6,...r},children:C.jsx(rv,{x:!0,children:C.jsxs(bn,{sx:{width:"max-content",height:c=>c.spacing(6),alignItems:"center",p:1},children:[C.jsx(Xo,{showArrow:!0,label:"Page",onChange:c=>t==null?void 0:t({...n,type:c}),icon:(o=h5[n.type])==null?void 0:o.icon,value:n==null?void 0:n.type,items:ee.values(h5)}),((s=e.Options)==null?void 0:s.children)&&C.jsxs(C.Fragment,{children:[x_e,e.Options.children]})]})})}),C.jsx(Kr,{sx:{mx:"auto"}}),(l=e.Extras)==null?void 0:l.children]})]})}),VQ=""+new URL("logo512-23eace97.png",import.meta.url).href,EF="Visualiser",w_e="1.1.1",__e="1.1.1; early December 2023",S_e="https://github.com/path-visualiser/app",E_e="https://github.com/path-visualiser/app/blob/master/docs",C_e=[{name:"Dr Daniel Harabor",email:"daniel.harabor@monash.edu"},{name:"Dr Michael Wybrow",email:"michael.wybrow@monash.edu"},{name:"Karan Batta",email:"krnbatta@gmail.com"},{name:"Jay Wingate",email:"jaypeterwingate@gmail.com"},{name:"Kevin Zheng",email:"kzhe0012@student.monash.edu"},{name:"Leo Whitehead",email:"leo@whiteheadsoftware.dev"},{name:"Can Wang",email:"camwang@outlook.com"},{name:"Rory Tobin-Underwood",email:"rorytu@gmail.com"}];function T_e(){const{controls:e,onChange:t,state:n}=Du();function r(i,o){return C.jsxs(dt,{sx:{pt:2},children:[C.jsx(zt,{variant:"overline",color:"text.secondary",children:i}),C.jsx(zt,{variant:"body2",children:o})]})}return C.jsxs(Sn,{onChange:t,stack:n,children:[C.jsx(Sn.Content,{children:C.jsxs(bn,{children:[" ",C.jsx(rv,{y:!0,children:C.jsxs(dt,{sx:{p:2},children:[C.jsx(dt,{sx:{pt:6,pb:2},children:C.jsx("img",{src:VQ,height:"64"})}),C.jsx(zt,{variant:"h6",children:EF}),r("Build Info",C.jsx(C.Fragment,{children:__e})),r("About this App",C.jsxs(C.Fragment,{children:[EF," is a visualising debugging tool for pathfinding search. It can be used to visualise progression of search and debug pathfinding algorithms. It can handle range of different types of algorithms (demos are provided in the home page). This tool is highly customizable and provide flexibility to visualise any algorithm trace that you can augment using our docs."]})),r("Team",C.jsxs(C.Fragment,{children:["Our team is made up of present/past Monash students and Professors Dr Daniel Harabor:",C.jsx(yp,{sx:{mx:-2},children:C_e.map(({name:i,email:o},s)=>C.jsxs(PE,{href:`mailto:${o}`,children:[C.jsx(Jve,{children:C.jsx(Npe,{children:ee.head(i)})}),C.jsx(sl,{primary:i,secondary:o})]},s))})]})),r("Resources",C.jsx(C.Fragment,{children:C.jsx(yp,{sx:{mx:-2},children:C.jsxs(PE,{target:"_blank",href:"https://github.com/path-visualiser",children:[C.jsx(Ul,{children:C.jsx(Cxe,{})}),C.jsx(sl,{primary:"Repository",secondary:"https://github.com/path-visualiser"})]})})}))]})})]})}),C.jsx(Sn.Extras,{children:e})]})}const qQ=I.createContext(null);function k_e(){const[e,t]=I.useState(null);return I.useEffect(()=>{t(`mui-p-${Math.round(Math.random()*1e5)}`)},[]),e}function XQ(e){const{children:t,value:n}=e,r=k_e(),i=I.useMemo(()=>({idPrefix:r,value:n}),[r,n]);return C.jsx(qQ.Provider,{value:i,children:t})}function YQ(){return I.useContext(qQ)}function KQ(e,t){const{idPrefix:n}=e;return n===null?null:`${e.idPrefix}-P-${t}`}function QQ(e,t){const{idPrefix:n}=e;return n===null?null:`${e.idPrefix}-T-${t}`}const A_e=["children"],R_e=I.forwardRef(function(t,n){const{children:r}=t,i=Le(t,A_e),o=YQ();if(o===null)throw new TypeError("No TabContext provided");const s=I.Children.map(r,l=>I.isValidElement(l)?I.cloneElement(l,{"aria-controls":KQ(o,l.props.value),id:QQ(o,l.props.value)}):null);return C.jsx(oxe,$({},i,{ref:n,value:o.value,children:s}))}),JQ=R_e;function I_e(e){return _t("MuiTabPanel",e)}Ct("MuiTabPanel",["root"]);const P_e=["children","className","value"],O_e=e=>{const{classes:t}=e;return Et({root:["root"]},I_e,t)},M_e=Ee("div",{name:"MuiTabPanel",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({padding:e.spacing(3)})),D_e=I.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiTabPanel"}),{children:i,className:o,value:s}=r,l=Le(r,P_e),c=$({},r),d=O_e(c),f=YQ();if(f===null)throw new TypeError("No TabContext provided");const h=KQ(f,s),p=QQ(f,s);return C.jsx(M_e,$({"aria-labelledby":p,className:Fe(d.root,o),hidden:s!==f.value,id:h,ref:n,role:"tabpanel",ownerState:c},l,{children:s===f.value&&i}))}),Bm=D_e;var ZQ={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(ZQ);var fz=ZQ.exports;function CF({label:e=C.jsx(C.Fragment,{}),...t}){return C.jsx(Pge,{control:C.jsx(Tg,{defaultChecked:!0,...t}),label:e})}function L_e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function bH(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function B_e(e,t){if(e==null)return{};var n=N_e(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function $_e(e,t){return F_e(e)||z_e(e,t)||j_e(e,t)||U_e()}function F_e(e){if(Array.isArray(e))return e}function z_e(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var n=[],r=!0,i=!1,o=void 0;try{for(var s=e[Symbol.iterator](),l;!(r=(l=s.next()).done)&&(n.push(l.value),!(t&&n.length===t));r=!0);}catch(c){i=!0,o=c}finally{try{!r&&s.return!=null&&s.return()}finally{if(i)throw o}}return n}}function j_e(e,t){if(e){if(typeof e=="string")return xH(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xH(e,t)}}function xH(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?e.apply(this,i):function(){for(var s=arguments.length,l=new Array(s),c=0;c1&&arguments[1]!==void 0?arguments[1]:{};l_.initial(e),l_.handler(t);var n={current:e},r=Fb(nSe)(n,t),i=Fb(tSe)(n),o=Fb(l_.changes)(e),s=Fb(eSe)(n);function l(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(f){return f};return l_.selector(d),d(n.current)}function c(d){W_e(r,i,o,s)(d)}return[l,c]}function eSe(e,t){return r1(t)?t(e.current):t}function tSe(e,t){return e.current=_H(_H({},e.current),t),t}function nSe(e,t,n){return r1(t)?t(e.current):Object.keys(n).forEach(function(r){var i;return(i=t[r])===null||i===void 0?void 0:i.call(t,e.current[r])}),n}var rSe={create:Z_e},iSe={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.36.1/min/vs"}};function oSe(e){return function t(){for(var n=this,r=arguments.length,i=new Array(r),o=0;o=e.length?e.apply(this,i):function(){for(var s=arguments.length,l=new Array(s),c=0;cee.join([USe(t),HSe(t)],`
`)),`
-`)}const GSe={name:"shouldBreak",description:"Define in what situations the debugger should break, in addition to the conditions defined in the standard options.",params:[{name:"step",type:"number"},{name:"event",type:"any"},{name:"events",type:"any"}],defaultReturnValue:!1,returnType:"boolean"},VSe={name:"shouldRender",description:"Define which objects the renderer should display.",params:[{name:"step",type:"number"},{name:"event",type:"any"},{name:"events",type:"any"}],defaultReturnValue:!0,returnType:"boolean"},cJ={shouldRender:VSe,shouldBreak:GSe},[uJ,qSe]=nc({code:WSe(ee.values(cJ)),busy:{}}),XSe=2500;function YSe(){const[{code:e},t]=uJ(),n=In();return C.jsx(bn,{height:"100%",overflow:"hidden",children:C.jsx(vk,{children:({width:r,height:i})=>C.jsx(lJ,{theme:n.palette.mode==="dark"?"vs-dark":"light",width:r,loading:C.jsx(q1,{variant:"indeterminate"}),height:i,language:"javascript",defaultValue:e,onChange:ee.debounce(o=>t(()=>({code:o})),XSe),options:{minimap:{enabled:!1}}})})})}function KSe(e){const t=In();return C.jsx(bn,{height:"100%",overflow:"hidden",children:C.jsx(vk,{children:({width:n,height:r})=>C.jsx(lJ,{theme:t.palette.mode==="dark"?"vs-dark":"light",width:n,loading:C.jsx(q1,{variant:"indeterminate"}),height:r,language:"javascript",...e,options:{minimap:{enabled:!1},...e.options}})})})}const[Ig,QSe]=nc([],{reduce:eQ}),[WE,JSe]=nc({algorithms:[],maps:[],formats:[]}),[yk,ZSe]=nc({specimen:0,connections:0,features:0,map:0,general:0},{reduce:(e,{action:t,key:n})=>ko(e,r=>{switch(t){case"start":r[n]+=1;break;case"end":r[n]-=1}return r})});function eEe(){const[e]=yk();return ee.some(ee.values(e))}function Jd(e="general"){const[,t]=yk();return I.useCallback(async n=>{t(()=>({action:"start",key:e}));const r=await n();return t(()=>({action:"end",key:e})),r},[e,t])}let dJ=class extends Error{},tEe=class extends dJ{},nEe=class extends dJ{};const rEe=(e,t=",")=>e.join(t),iEe={accept:"*",multiple:!1,strict:!1},hz=e=>{const{accept:t,multiple:n,strict:r}={...iEe,...e},i=aEe({multiple:n,accept:Array.isArray(t)?rEe(t):t});return new Promise(o=>{i.onchange=()=>{o(oEe(i.files,n,r)),i.remove()},i.click()})},oEe=(e,t,n)=>new Promise((r,i)=>{if(!e)return i(new tEe);const o=sEe(e,t,n);if(!o)return i(new nEe);r(o)}),sEe=(e,t,n)=>!t&&n?e.length===1?e[0]:null:e.length?e:null,aEe=({accept:e,multiple:t})=>{const n=document.createElement("input");return n.type="file",n.multiple=t,n.accept=e,n},lEe=""+new URL("hash.worker-76266fd6.js",import.meta.url).href,cEe=""+new URL("ipc.worker-78007631.js",import.meta.url).href,uEe=""+new URL("compress.worker-5a39bbab.js",import.meta.url).href,dEe=""+new URL("compressBinary.worker-0e5dbf65.js",import.meta.url).href,fEe=""+new URL("decompressBinary.worker-e2ab768a.js",import.meta.url).href,hEe=""+new URL("parseYaml.worker-858dc2e2.js",import.meta.url).href;class pEe extends Worker{constructor(){super(lEe,{type:"module"})}}class mEe extends Worker{constructor(){super(uEe,{type:"module"})}}class gEe extends Worker{constructor(){super(dEe,{type:"module"})}}class vEe extends Worker{constructor(){super(fEe,{type:"module"})}}class yEe extends Worker{constructor(){super(cEe,{type:"module"})}}class bEe extends Worker{constructor(){super(hEe,{type:"module"})}}var xEe=function(){},wEe=xEe(),Mp=function(e){return e!==wEe&&e!==null},_Ee=Mp,SEe=Array.prototype.forEach,EEe=Object.create,CEe=function(e,t){var n;for(n in e)t[n]=e[n]},fJ=function(e){var t=EEe(null);return SEe.call(arguments,function(n){_Ee(n)&&CEe(Object(n),t)}),t},TEe=function(){var e=Math.sign;return typeof e!="function"?!1:e(10)===1&&e(-20)===-1},bL,kH;function kEe(){return kH||(kH=1,bL=function(e){return e=Number(e),isNaN(e)||e===0?e:e>0?1:-1}),bL}var AEe=TEe()?Math.sign:kEe(),REe=AEe,IEe=Math.abs,PEe=Math.floor,OEe=function(e){return isNaN(e)?0:(e=Number(e),e===0||!isFinite(e)?e:REe(e)*PEe(IEe(e)))},MEe=OEe,DEe=Math.max,Dp=function(e){return DEe(0,MEe(e))},LEe=Dp,hJ=function(e,t,n){var r;return isNaN(e)?(r=t,r>=0?n&&r?r-1:r:1):e===!1?!1:LEe(e)},Zd=function(e){if(typeof e!="function")throw new TypeError(e+" is not a function");return e},NEe=Mp,iv=function(e){if(!NEe(e))throw new TypeError("Cannot use null or undefined");return e},BEe=Zd,$Ee=iv,FEe=Function.prototype.bind,AH=Function.prototype.call,zEe=Object.keys,jEe=Object.prototype.propertyIsEnumerable,UEe=function(e,t){return function(n,r){var i,o=arguments[2],s=arguments[3];return n=Object($Ee(n)),BEe(r),i=zEe(n),s&&i.sort(typeof s=="function"?FEe.call(s,n):void 0),typeof e!="function"&&(e=i[e]),AH.call(e,i,function(l,c){return jEe.call(n,l)?AH.call(r,o,n[l],l,n,c):t})}},bk=UEe("forEach"),Lp={},pJ={exports:{}},HEe=function(){var e=Object.assign,t;return typeof e!="function"?!1:(t={foo:"raz"},e(t,{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")},xL,RH;function WEe(){return RH||(RH=1,xL=function(){try{return Object.keys("primitive"),!0}catch{return!1}}),xL}var wL,IH;function GEe(){if(IH)return wL;IH=1;var e=Mp,t=Object.keys;return wL=function(n){return t(e(n)?Object(n):n)},wL}var _L,PH;function VEe(){return PH||(PH=1,_L=WEe()()?Object.keys:GEe()),_L}var SL,OH;function qEe(){if(OH)return SL;OH=1;var e=VEe(),t=iv,n=Math.max;return SL=function(r,i){var o,s,l=n(arguments.length,2),c;for(r=Object(t(r)),c=function(d){try{r[d]=i[d]}catch(f){o||(o=f)}},s=1;s-1},kL}var fCe=uCe()?String.prototype.contains:dCe(),RS=xJ,FH=cCe,wJ=mJ,_J=fJ,vx=fCe,hCe=bJ.exports=function(e,t){var n,r,i,o,s;return arguments.length<2||typeof e!="string"?(o=t,t=e,e=null):o=arguments[2],RS(e)?(n=vx.call(e,"c"),r=vx.call(e,"e"),i=vx.call(e,"w")):(n=i=!0,r=!1),s={value:t,configurable:n,enumerable:r,writable:i},o?wJ(_J(o),s):s};hCe.gs=function(e,t,n){var r,i,o,s;return typeof e!="string"?(o=n,n=t,t=e,e=null):o=arguments[3],RS(t)?FH(t)?RS(n)?FH(n)||(o=n,n=void 0):n=void 0:(o=t,t=n=void 0):t=void 0,RS(e)?(r=vx.call(e,"c"),i=vx.call(e,"e")):(r=!0,i=!1),s={get:t,set:n,configurable:r,enumerable:i},o?wJ(_J(o),s):s};var Np=bJ.exports,RF={exports:{}};(function(e,t){var n=Np,r=Zd,i=Function.prototype.apply,o=Function.prototype.call,s=Object.create,l=Object.defineProperty,c=Object.defineProperties,d=Object.prototype.hasOwnProperty,f={configurable:!0,enumerable:!1,writable:!0},h,p,g,v,y,S,_;h=function(b,x){var E;return r(x),d.call(this,"__ee__")?E=this.__ee__:(E=f.value=s(null),l(this,"__ee__",f),f.value=null),E[b]?typeof E[b]=="object"?E[b].push(x):E[b]=[E[b],x]:E[b]=x,this},p=function(b,x){var E,A;return r(x),A=this,h.call(this,b,E=function(){g.call(A,b,E),i.call(x,this,arguments)}),E.__eeOnceListener__=x,this},g=function(b,x){var E,A,R,k;if(r(x),!d.call(this,"__ee__"))return this;if(E=this.__ee__,!E[b])return this;if(A=E[b],typeof A=="object")for(k=0;R=A[k];++k)(R===x||R.__eeOnceListener__===x)&&(A.length===2?E[b]=A[k?0:1]:A.splice(k,1));else(A===x||A.__eeOnceListener__===x)&&delete E[b];return this},v=function(b){var x,E,A,R,k;if(d.call(this,"__ee__")&&(R=this.__ee__[b],!!R))if(typeof R=="object"){for(E=arguments.length,k=new Array(E-1),x=1;x=55296&&E<=56319&&(O+=p[++S])),O=g?d.call(g,v,O,_):O,y?(f.value=O,h(b,_,f)):b[_]=O,++_;x=_}}if(x===void 0)for(x=r(p.length),y&&(b=new y(x)),S=0;S=0?f=s(f):f=t(this.length)-s(o(f)),c=f;c"}},lN}var cN,EW;function lTe(){if(EW)return cN;EW=1;var e=aTe(),t=/[\n\r\u2028\u2029]/g;return cN=function(n){var r=e(n);return r.length>100&&(r=r.slice(0,99)+"…"),r=r.replace(t,function(i){return JSON.stringify(i).slice(1,-1)}),r},cN}var h_={exports:{}},CW;function AJ(){if(CW)return h_.exports;CW=1,h_.exports=e,h_.exports.default=e;function e(t){return!!t&&(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}return h_.exports}var TW;function cTe(){if(TW)return yW;TW=1;var e=TJ(),t=iTe(),n=sTe(),r=lTe(),i=AJ(),o=gz(),s=Object.create,l=t("then","then:finally","done","done:finally");return Lp.promise=function(c,d){var f=s(null),h=s(null),p=s(null);if(c===!0)c=null;else if(c=n(c),!l[c])throw new TypeError("'"+r(c)+"' is not valid promise mode");d.on("set",function(g,v,y){var S=!1;if(!i(y)){h[g]=y,d.emit("setasync",g,1);return}f[g]=1,p[g]=y;var _=function(A){var R=f[g];if(S)throw new Error(`Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)
-Consider to rely on 'then' or 'done' mode instead.`);R&&(delete f[g],h[g]=A,d.emit("setasync",g,R))},b=function(){S=!0,f[g]&&(delete f[g],delete p[g],d.delete(g))},x=c;if(x||(x="then"),x==="then"){var E=function(){o(b)};y=y.then(function(A){o(_.bind(this,A))},E),typeof y.finally=="function"&&y.finally(E)}else if(x==="done"){if(typeof y.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");y.done(_,b)}else if(x==="done:finally"){if(typeof y.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof y.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");y.done(_),y.finally(b)}}),d.on("get",function(g,v,y){var S;if(f[g]){++f[g];return}S=p[g];var _=function(){d.emit("getasync",g,v,y)};i(S)?typeof S.done=="function"?S.done(_):S.then(function(){o(_)}):_()}),d.on("delete",function(g){if(delete p[g],f[g]){delete f[g];return}if(hasOwnProperty.call(h,g)){var v=h[g];delete h[g],d.emit("deleteasync",g,[v])}}),d.on("clear",function(){var g=h;h=s(null),f=s(null),p=s(null),d.emit("clearasync",e(g,function(v){return[v]}))})},yW}var kW={},AW;function uTe(){if(AW)return kW;AW=1;var e=Zd,t=bk,n=Lp,r=Function.prototype.apply;return n.dispose=function(i,o,s){var l;if(e(i),s.async&&n.async||s.promise&&n.promise){o.on("deleteasync",l=function(c,d){r.call(i,null,d)}),o.on("clearasync",function(c){t(c,function(d,f){l(f,d)})});return}o.on("delete",l=function(c,d){i(d)}),o.on("clear",function(c){t(c,function(d,f){l(f,d)})})},kW}var RW={},uN,IW;function dTe(){return IW||(IW=1,uN=2147483647),uN}var dN,PW;function fTe(){if(PW)return dN;PW=1;var e=Dp,t=dTe();return dN=function(n){if(n=e(n),n>t)throw new TypeError(n+" exceeds maximum possible timeout");return n},dN}var OW;function hTe(){if(OW)return RW;OW=1;var e=pz(),t=bk,n=gz(),r=AJ(),i=fTe(),o=Lp,s=Function.prototype,l=Math.max,c=Math.min,d=Object.create;return o.maxAge=function(f,h,p){var g,v,y,S;f=i(f),f&&(g=d(null),v=p.async&&o.async||p.promise&&o.promise?"async":"",h.on("set"+v,function(_){g[_]=setTimeout(function(){h.delete(_)},f),typeof g[_].unref=="function"&&g[_].unref(),S&&(S[_]&&S[_]!=="nextTick"&&clearTimeout(S[_]),S[_]=setTimeout(function(){delete S[_]},y),typeof S[_].unref=="function"&&S[_].unref())}),h.on("delete"+v,function(_){clearTimeout(g[_]),delete g[_],S&&(S[_]!=="nextTick"&&clearTimeout(S[_]),delete S[_])}),p.preFetch&&(p.preFetch===!0||isNaN(p.preFetch)?y=.333:y=l(c(Number(p.preFetch),1),0),y&&(S={},y=(1-y)*f,h.on("get"+v,function(_,b,x){S[_]||(S[_]="nextTick",n(function(){var E;S[_]==="nextTick"&&(delete S[_],h.delete(_),p.async&&(b=e(b),b.push(s)),E=h.memoized.apply(x,b),p.promise&&r(E)&&(typeof E.done=="function"?E.done(s,s):E.then(s,s)))}))}))),h.on("clear"+v,function(){t(g,function(_){clearTimeout(_)}),g={},S&&(t(S,function(_){_!=="nextTick"&&clearTimeout(_)}),S={})}))},RW}var MW={},fN,DW;function pTe(){if(DW)return fN;DW=1;var e=Dp,t=Object.create,n=Object.prototype.hasOwnProperty;return fN=function(r){var i=0,o=1,s=t(null),l=t(null),c=0,d;return r=e(r),{hit:function(f){var h=l[f],p=++c;if(s[p]=f,l[f]=p,!h)return++i,i<=r?void 0:(f=s[o],d(f),f);if(delete s[h],o===h)for(;!n.call(s,++o););},delete:d=function(f){var h=l[f];if(h&&(delete s[h],delete l[f],--i,o===h)){if(!i){c=0,o=1;return}for(;!n.call(s,++o););}},clear:function(){i=0,o=1,s=t(null),l=t(null),c=0}}},fN}var LW;function mTe(){if(LW)return MW;LW=1;var e=Dp,t=pTe(),n=Lp;return n.max=function(r,i,o){var s,l,c;r=e(r),r&&(l=t(r),s=o.async&&n.async||o.promise&&n.promise?"async":"",i.on("set"+s,c=function(d){d=l.hit(d),d!==void 0&&i.delete(d)}),i.on("get"+s,c),i.on("delete"+s,l.delete),i.on("clear"+s,l.clear))},MW}var NW={},BW;function gTe(){if(BW)return NW;BW=1;var e=Np,t=Lp,n=Object.create,r=Object.defineProperties;return t.refCounter=function(i,o,s){var l,c;l=n(null),c=s.async&&t.async||s.promise&&t.promise?"async":"",o.on("set"+c,function(d,f){l[d]=f||1}),o.on("get"+c,function(d){++l[d]}),o.on("delete"+c,function(d){delete l[d]}),o.on("clear"+c,function(){l={}}),r(o.memoized,{deleteRef:e(function(){var d=o.get(arguments);return d===null||!l[d]?null:--l[d]?!1:(o.delete(d),!0)}),getRefCount:e(function(){var d=o.get(arguments);return d===null||!l[d]?0:l[d]})})},NW}var vTe=fJ,yTe=hJ,bTe=XCe,xTe=function(e){var t=vTe(arguments[1]),n;return t.normalizer||(n=t.length=yTe(t.length,e.length,t.async),n!==0&&(t.primitive?n===!1?t.normalizer=YCe():n>1&&(t.normalizer=KCe()(n)):n===!1?t.normalizer=eTe()():n===1?t.normalizer=tTe()():t.normalizer=nTe()(n))),t.async&&rTe(),t.promise&&cTe(),t.dispose&&uTe(),t.maxAge&&hTe(),t.max&&mTe(),t.refCounter&&gTe(),bTe(e,t)};const Nu=js(xTe),wTe=e=>async t=>{const n=new e,r=await t(n);return n.terminate(),r},ov=e=>t=>wTe(e)(n=>(n.postMessage(t),new Promise((r,i)=>{n.onmessage=o=>{r(o.data)},n.onerror=i}))),sv=(e,t={async:!0,length:1})=>Nu(ov(e),t);ee.memoize(ov(pEe));ee.memoize(ov(mEe));const _Te=ee.memoize(ov(gEe)),STe=ee.memoize(ov(vEe)),RJ=ee.memoize(ov(bEe));function yx(e){return e.split(".").pop()}function IJ(e){return e.split(".").shift()}const $W="internal/custom",IF="json",PF=e=>({name:(e==null?void 0:e.id)===$W?`Imported Map - ${e==null?void 0:e.name}`:"Import Map",description:"Internal",id:$W}),ETe=e=>({name:(e==null?void 0:e.type)===IF?`Imported Trace - ${e==null?void 0:e.name}`:"Import Trace",description:"Internal",id:IF}),FW=["json","yaml"];async function CTe(){const e=await hz({accept:FW.map(t=>`.trace.${t}`),strict:!0});if(e)return{file:e,read:async()=>{if(FW.includes(yx(e.name))){const t=await e.text(),n=await RJ(t);return{...ETe(),format:n==null?void 0:n.format,content:n,name:ee.startCase(IJ(e.name)),type:IF}}else throw new Error(`The format (${yx(e.name)}) is unsupported.`)}}}async function TTe(e){const t=await hz({accept:e.map(({id:n})=>`.${n}`),strict:!0});if(t)return{file:t,read:async()=>{if(ee.find(e,{id:yx(t.name)}))return{...PF(),format:yx(t.name),content:await t.text(),name:ee.startCase(IJ(t.name))};throw new Error(`The format (${yx(t.name)}) is unsupported.`)}}}const PJ=20*1024*1024,[OJ,kTe]=nc({},{reduce:(e,t)=>ee.omitBy(sk(e,t),ee.isUndefined)});function ATe(e){return new Promise(t=>ee.delay(t,e))}function vz(e){const[,t]=OJ();return I.useCallback(async(n,r)=>{t(()=>({[e]:r})),ATe(300);const i=await n();return t(()=>({[e]:void 0})),i},[e,t])}function yz(e){return`${(e/(1024*1024)).toFixed(2)} MB`}function RTe({onChange:e,value:t}){const n=ba(),r=Jd("map"),i=vz("map"),[o]=Ig(),[{maps:s,formats:l}]=WE();return C.jsx(Xo,{showArrow:!0,icon:C.jsx(XK,{}),label:"Choose Map",value:t==null?void 0:t.id,items:[PF(t),...s.map(c=>{var d;return{...c,description:(d=ee.find(o,{url:c.source}))==null?void 0:d.name}})],onChange:async c=>{switch(c){case PF().id:try{const d=await TTe(l);d&&r(async()=>{n("Opening map...");const f=d.file.size>PJ?await i(d.read,`Opening map (${yz(d.file.size)})`):await d.read();f&&(e==null||e(f))})}catch(d){n(`${d}`)}break;default:e==null||e(ee.find(s,{id:c}));break}}})}function ITe({onChange:e,value:t}){const n=ba(),r=Jd("specimen"),i=vz("specimen");return C.jsx($d,{icon:C.jsx(XK,{}),onClick:async()=>{try{const o=await CTe();o&&r(async()=>{n("Opening trace...");const s=o.file.size>PJ?await i(o.read,`Opening trace (${yz(o.file.size)})`):await o.read();s&&(e==null||e(s))})}catch(o){n(`${o}`)}},children:t!=null&&t.id?`Uploaded Trace - ${t.name}`:"Choose File"})}const MJ=({label:e})=>C.jsx(zt,{variant:"overline",color:"text.secondary",sx:{pt:1},component:"p",children:e}),PTe=({label:e})=>C.jsx(zt,{variant:"body1",children:e}),i1=({label:e,content:t})=>C.jsxs(bn,{alignItems:"center",children:[C.jsx(PTe,{label:e}),C.jsx(Kr,{flex:1}),t]}),wk=({variables:e},{x:t,y:n})=>(e==null?void 0:e.x)===t&&(e==null?void 0:e.y)===n,OTe=""+new URL("parseGrid.worker-d5269b43.js",import.meta.url).href;class MTe extends Worker{constructor(){super(OTe,{type:"module"})}}const DTe=sv(MTe),{floor:zW}=Math;function jW(e,t,n){return e>=t&&e({...await DTe({map:e,options:t})}),{normalizer:JSON.stringify}),NTe=e=>{const{width:t,height:n}=e.bounds;return{...e,snap:({x:r,y:i},o=1)=>{const[s,l]=[zW(r+o/2),zW(i+o/2)];if(jW(s,0,t)&&jW(l,0,n))return{x:s,y:l}},nodeAt:r=>{const{x:i,y:o}=r;return o*t+i},pointOf:r=>({x:r%t,y:~~(r/t)}),matchNode:wk}},BTe=Object.freeze(Object.defineProperty({__proto__:null,hydrate:NTe,parse:LTe},Symbol.toStringTag,{value:"Module"})),$Te=""+new URL("parseMesh.worker-114081b8.js",import.meta.url).href;class FTe extends Worker{constructor(){super($Te,{type:"module"})}}const zTe=sv(FTe),jTe=Nu(async(e="",t)=>await zTe({map:e,options:t}),{normalizer:JSON.stringify}),UTe=e=>({...e,snap:ee.identity,nodeAt:ee.constant(0),pointOf:ee.constant({x:0,y:0}),matchNode:wk}),HTe=Object.freeze(Object.defineProperty({__proto__:null,hydrate:UTe,parse:jTe},Symbol.toStringTag,{value:"Module"})),WTe=""+new URL("parseNetwork.worker-0345a67d.js",import.meta.url).href;class GTe extends Worker{constructor(){super(WTe,{type:"module"})}}const VTe=sv(GTe),qTe=Nu(async(e="",t)=>await VTe({map:e,options:t}),{normalizer:JSON.stringify}),XTe=e=>({...e,snap:ee.identity,nodeAt:ee.constant(0),pointOf:ee.constant({x:0,y:0}),matchNode:wk}),YTe=Object.freeze(Object.defineProperty({__proto__:null,hydrate:XTe,parse:qTe},Symbol.toStringTag,{value:"Module"})),KTe=""+new URL("parsePoly.worker-bf1460fa.js",import.meta.url).href;class QTe extends Worker{constructor(){super(KTe,{type:"module"})}}const JTe=sv(QTe),ZTe=Nu(async(e="",t)=>await JTe({map:e,options:t}),{normalizer:JSON.stringify}),eke=e=>({...e,snap:ee.identity,nodeAt:ee.constant(0),pointOf:ee.constant({x:0,y:0}),matchNode:wk}),tke=Object.freeze(Object.defineProperty({__proto__:null,hydrate:eke,parse:ZTe},Symbol.toStringTag,{value:"Module"})),bz={grid:BTe,xy:YTe,mesh:HTe,poly:tke};function xz(e=""){return bz[e]}function eg({label:e,icon:t=C.jsx(jxe,{}),...n}){return C.jsxs(bn,{justifyContent:"center",alignItems:"center",color:"text.secondary",bgcolor:"background.paper",textAlign:"center",vertical:!0,pt:6,...n,children:[I.cloneElement(t,{sx:{mb:2},fontSize:"large"}),C.jsx(zt,{children:e})]})}const zb="500";function nke(e){return parseInt(e.replace("#","0x"))}const wz={source:Yu.A400,destination:qu.A400,updating:zh[zb],expanding:bq[zb],generating:xq[zb],closing:yq[zb],end:Xu.A400};ee.mapValues(wz,nke);function Pg(e){return(e&&wz[e])??y5[zb]}function rke(e){var t=0,n=e.children,r=n&&n.length;if(!r)t=1;else for(;--r>=0;)t+=n[r].value;e.value=t}function ike(){return this.eachAfter(rke)}function oke(e){var t=this,n,r=[t],i,o,s;do for(n=r.reverse(),r=[];t=n.pop();)if(e(t),i=t.children,i)for(o=0,s=i.length;o=0;--i)n.push(r[i]);return this}function ake(e){for(var t=this,n=[t],r=[],i,o,s;t=n.pop();)if(r.push(t),i=t.children,i)for(o=0,s=i.length;o=0;)n+=r[i].value;t.value=n})}function cke(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}function uke(e){for(var t=this,n=dke(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r}function dke(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;for(e=n.pop(),t=r.pop();e===t;)i=e,e=n.pop(),t=r.pop();return i}function fke(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}function hke(){var e=[];return this.each(function(t){e.push(t)}),e}function pke(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}function mke(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t}function _z(e,t){var n=new o1(e),r=+e.value&&(n.value=e.value),i,o=[n],s,l,c,d;for(t==null&&(t=vke);i=o.pop();)if(r&&(i.value=+i.data.value),(l=t(i.data))&&(d=l.length))for(i.children=new Array(d),c=d-1;c>=0;--c)o.push(s=i.children[c]=new o1(l[c])),s.parent=i,s.depth=i.depth+1;return n.eachBefore(bke)}function gke(){return _z(this).eachBefore(yke)}function vke(e){return e.children}function yke(e){e.data=e.data.data}function bke(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function o1(e){this.data=e,this.depth=this.height=0,this.parent=null}o1.prototype=_z.prototype={constructor:o1,count:ike,each:oke,eachAfter:ake,eachBefore:ske,sum:lke,sort:cke,path:uke,ancestors:fke,descendants:hke,leaves:pke,links:mke,copy:gke};function xke(e,t){return e.parent===t.parent?1:2}function hN(e){var t=e.children;return t?t[0]:e.t}function pN(e){var t=e.children;return t?t[t.length-1]:e.t}function wke(e,t,n){var r=n/(t.i-e.i);t.c-=r,t.s+=n,e.c+=r,t.z+=n,t.m+=n}function _ke(e){for(var t=0,n=0,r=e.children,i=r.length,o;--i>=0;)o=r[i],o.z+=t,o.m+=t,t+=o.s+(n+=o.c)}function Ske(e,t,n){return e.a.parent===t.parent?e.a:n}function IS(e,t){this._=e,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=t}IS.prototype=Object.create(o1.prototype);function Eke(e){for(var t=new IS(e,0),n,r=[t],i,o,s,l;n=r.pop();)if(o=n._.children)for(n.children=new Array(l=o.length),s=l-1;s>=0;--s)r.push(i=n.children[s]=new IS(o[s],s)),i.parent=n;return(t.parent=new IS(null,0)).children=[t],t}function Cke(){var e=xke,t=1,n=1,r=null;function i(d){var f=Eke(d);if(f.eachAfter(o),f.parent.m=-f.z,f.eachBefore(s),r)d.eachBefore(c);else{var h=d,p=d,g=d;d.eachBefore(function(b){b.xp.x&&(p=b),b.depth>g.depth&&(g=b)});var v=h===p?1:e(h,p)/2,y=v-h.x,S=t/(p.x+v+y),_=n/(g.depth||1);d.eachBefore(function(b){b.x=(b.x+y)*S,b.y=b.depth*_})}return d}function o(d){var f=d.children,h=d.parent.children,p=d.i?h[d.i-1]:null;if(f){_ke(d);var g=(f[0].z+f[f.length-1].z)/2;p?(d.z=p.z+e(d._,p._),d.m=d.z-g):d.z=g}else p&&(d.z=p.z+e(d._,p._));d.parent.A=l(d,p,d.parent.A||h[0])}function s(d){d._.x=d.z+d.parent.m,d.m+=d.parent.m}function l(d,f,h){if(f){for(var p=d,g=d,v=f,y=p.parent.children[0],S=p.m,_=g.m,b=v.m,x=y.m,E;v=pN(v),p=hN(p),v&&p;)y=hN(y),g=pN(g),g.a=d,E=v.z+b-p.z-S+e(v._,p._),E>0&&(wke(Ske(v,d,h),d,E),S+=E,_+=E),b+=v.m,S+=p.m,x+=y.m,_+=g.m;v&&!pN(g)&&(g.t=v,g.m+=b-_),p&&!hN(y)&&(y.t=p,y.m+=S-x,h=d)}return h}function c(d){d.x*=t,d.y=d.depth*n}return i.separation=function(d){return arguments.length?(e=d,i):e},i.size=function(d){return arguments.length?(r=!1,t=+d[0],n=+d[1],i):r?null:[t,n]},i.nodeSize=function(d){return arguments.length?(r=!0,t=+d[0],n=+d[1],i):r?[t,n]:null},i}var OF="http://www.w3.org/1999/xhtml";const UW={svg:"http://www.w3.org/2000/svg",xhtml:OF,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function _k(e){var t=e+="",n=t.indexOf(":");return n>=0&&(t=e.slice(0,n))!=="xmlns"&&(e=e.slice(n+1)),UW.hasOwnProperty(t)?{space:UW[t],local:e}:e}function Tke(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===OF&&t.documentElement.namespaceURI===OF?t.createElement(e):t.createElementNS(n,e)}}function kke(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function DJ(e){var t=_k(e);return(t.local?kke:Tke)(t)}function Ake(){}function Sz(e){return e==null?Ake:function(){return this.querySelector(e)}}function Rke(e){typeof e!="function"&&(e=Sz(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i=x&&(x=b+1);!(A=S[x])&&++x=0;)(s=r[i])&&(o&&s.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(s,o),o=s);return this}function eAe(e){e||(e=tAe);function t(h,p){return h&&p?e(h.__data__,p.__data__):!h-!p}for(var n=this._groups,r=n.length,i=new Array(r),o=0;ot?1:e>=t?0:NaN}function nAe(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function rAe(){return Array.from(this)}function iAe(){for(var e=this._groups,t=0,n=e.length;t1?this.each((t==null?mAe:typeof t=="function"?vAe:gAe)(e,t,n??"")):Og(this.node(),e)}function Og(e,t){return e.style.getPropertyValue(t)||FJ(e).getComputedStyle(e,null).getPropertyValue(t)}function bAe(e){return function(){delete this[e]}}function xAe(e,t){return function(){this[e]=t}}function wAe(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function _Ae(e,t){return arguments.length>1?this.each((t==null?bAe:typeof t=="function"?wAe:xAe)(e,t)):this.node()[e]}function zJ(e){return e.trim().split(/^|\s+/)}function Ez(e){return e.classList||new jJ(e)}function jJ(e){this._node=e,this._names=zJ(e.getAttribute("class")||"")}jJ.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function UJ(e,t){for(var n=Ez(e),r=-1,i=t.length;++r=0&&(n=t.slice(r+1),t=t.slice(0,r)),{type:t,name:n}})}function KAe(e){return function(){var t=this.__on;if(t){for(var n=0,r=-1,i=t.length,o;n{}};function Cz(){for(var e=0,t=arguments.length,n={},r;e=0&&(r=n.slice(i+1),n=n.slice(0,i)),n&&!t.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:r}})}PS.prototype=Cz.prototype={constructor:PS,on:function(e,t){var n=this._,r=sRe(e+"",n),i,o=-1,s=r.length;if(arguments.length<2){for(;++o0)for(var n=new Array(i),r=0,i,o;r>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?p_(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?p_(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=dRe.exec(e))?new jo(t[1],t[2],t[3],1):(t=fRe.exec(e))?new jo(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=hRe.exec(e))?p_(t[1],t[2],t[3],t[4]):(t=pRe.exec(e))?p_(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=mRe.exec(e))?KW(t[1],t[2]/100,t[3]/100,1):(t=gRe.exec(e))?KW(t[1],t[2]/100,t[3]/100,t[4]):WW.hasOwnProperty(e)?qW(WW[e]):e==="transparent"?new jo(NaN,NaN,NaN,0):null}function qW(e){return new jo(e>>16&255,e>>8&255,e&255,1)}function p_(e,t,n,r){return r<=0&&(e=t=n=NaN),new jo(e,t,n,r)}function bRe(e){return e instanceof cw||(e=l1(e)),e?(e=e.rgb(),new jo(e.r,e.g,e.b,e.opacity)):new jo}function LF(e,t,n,r){return arguments.length===1?bRe(e):new jo(e,t,n,r??1)}function jo(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}Tz(jo,LF,VJ(cw,{brighter(e){return e=e==null?VE:Math.pow(VE,e),new jo(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?s1:Math.pow(s1,e),new jo(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new jo(np(this.r),np(this.g),np(this.b),qE(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:XW,formatHex:XW,formatHex8:xRe,formatRgb:YW,toString:YW}));function XW(){return`#${qh(this.r)}${qh(this.g)}${qh(this.b)}`}function xRe(){return`#${qh(this.r)}${qh(this.g)}${qh(this.b)}${qh((isNaN(this.opacity)?1:this.opacity)*255)}`}function YW(){const e=qE(this.opacity);return`${e===1?"rgb(":"rgba("}${np(this.r)}, ${np(this.g)}, ${np(this.b)}${e===1?")":`, ${e})`}`}function qE(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function np(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function qh(e){return e=np(e),(e<16?"0":"")+e.toString(16)}function KW(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new el(e,t,n,r)}function qJ(e){if(e instanceof el)return new el(e.h,e.s,e.l,e.opacity);if(e instanceof cw||(e=l1(e)),!e)return new el;if(e instanceof el)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),s=NaN,l=o-i,c=(o+i)/2;return l?(t===o?s=(n-r)/l+(n0&&c<1?0:s,new el(s,l,c,e.opacity)}function wRe(e,t,n,r){return arguments.length===1?qJ(e):new el(e,t,n,r??1)}function el(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}Tz(el,wRe,VJ(cw,{brighter(e){return e=e==null?VE:Math.pow(VE,e),new el(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?s1:Math.pow(s1,e),new el(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new jo(mN(e>=240?e-240:e+120,i,r),mN(e,i,r),mN(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new el(QW(this.h),m_(this.s),m_(this.l),qE(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=qE(this.opacity);return`${e===1?"hsl(":"hsla("}${QW(this.h)}, ${m_(this.s)*100}%, ${m_(this.l)*100}%${e===1?")":`, ${e})`}`}}));function QW(e){return e=(e||0)%360,e<0?e+360:e}function m_(e){return Math.max(0,Math.min(1,e||0))}function mN(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const XJ=e=>()=>e;function _Re(e,t){return function(n){return e+n*t}}function SRe(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function ERe(e){return(e=+e)==1?YJ:function(t,n){return n-t?SRe(t,n,e):XJ(isNaN(t)?n:t)}}function YJ(e,t){var n=t-e;return n?_Re(e,n):XJ(isNaN(e)?t:e)}const JW=function e(t){var n=ERe(t);function r(i,o){var s=n((i=LF(i)).r,(o=LF(o)).r),l=n(i.g,o.g),c=n(i.b,o.b),d=YJ(i.opacity,o.opacity);return function(f){return i.r=s(f),i.g=l(f),i.b=c(f),i.opacity=d(f),i+""}}return r.gamma=e,r}(1);function ed(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var NF=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,gN=new RegExp(NF.source,"g");function CRe(e){return function(){return e}}function TRe(e){return function(t){return e(t)+""}}function kRe(e,t){var n=NF.lastIndex=gN.lastIndex=0,r,i,o,s=-1,l=[],c=[];for(e=e+"",t=t+"";(r=NF.exec(e))&&(i=gN.exec(t));)(o=i.index)>n&&(o=t.slice(n,o),l[s]?l[s]+=o:l[++s]=o),(r=r[0])===(i=i[0])?l[s]?l[s]+=i:l[++s]=i:(l[++s]=null,c.push({i:s,x:ed(r,i)})),n=gN.lastIndex;return n180?f+=360:f-d>180&&(d+=360),p.push({i:h.push(i(h)+"rotate(",null,r)-2,x:ed(d,f)})):f&&h.push(i(h)+"rotate("+f+r)}function l(d,f,h,p){d!==f?p.push({i:h.push(i(h)+"skewX(",null,r)-2,x:ed(d,f)}):f&&h.push(i(h)+"skewX("+f+r)}function c(d,f,h,p,g,v){if(d!==h||f!==p){var y=g.push(i(g)+"scale(",null,",",null,")");v.push({i:y-4,x:ed(d,h)},{i:y-2,x:ed(f,p)})}else(h!==1||p!==1)&&g.push(i(g)+"scale("+h+","+p+")")}return function(d,f){var h=[],p=[];return d=e(d),f=e(f),o(d.translateX,d.translateY,f.translateX,f.translateY,h,p),s(d.rotate,f.rotate,h,p),l(d.skewX,f.skewX,h,p),c(d.scaleX,d.scaleY,f.scaleX,f.scaleY,h,p),d=f=null,function(g){for(var v=-1,y=p.length,S;++v=0&&e._call.call(void 0,t),e=e._next;--Mg}function tG(){wp=(YE=c1.now())+Sk,Mg=jb=0;try{BRe()}finally{Mg=0,FRe(),wp=0}}function $Re(){var e=c1.now(),t=e-YE;t>JJ&&(Sk-=t,YE=e)}function FRe(){for(var e,t=XE,n,r=1/0;t;)t._call?(r>t._time&&(r=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:XE=n);Ub=e,$F(r)}function $F(e){if(!Mg){jb&&(jb=clearTimeout(jb));var t=e-wp;t>24?(e<1/0&&(jb=setTimeout(tG,e-c1.now()-Sk)),hb&&(hb=clearInterval(hb))):(hb||(YE=c1.now(),hb=setInterval($Re,JJ)),Mg=1,ZJ(tG))}}function nG(e,t,n){var r=new KE;return t=t==null?0:+t,r.restart(i=>{r.stop(),e(i+t)},t,n),r}var zRe=Cz("start","end","cancel","interrupt"),jRe=[],tZ=0,rG=1,FF=2,OS=3,iG=4,zF=5,MS=6;function Ek(e,t,n,r,i,o){var s=e.__transition;if(!s)e.__transition={};else if(n in s)return;URe(e,n,{name:t,index:r,group:i,on:zRe,tween:jRe,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:tZ})}function Az(e,t){var n=vl(e,t);if(n.state>tZ)throw new Error("too late; already scheduled");return n}function ic(e,t){var n=vl(e,t);if(n.state>OS)throw new Error("too late; already running");return n}function vl(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function URe(e,t,n){var r=e.__transition,i;r[t]=n,n.timer=eZ(o,0,n.time);function o(d){n.state=rG,n.timer.restart(s,n.delay,n.time),n.delay<=d&&s(d-n.delay)}function s(d){var f,h,p,g;if(n.state!==rG)return c();for(f in r)if(g=r[f],g.name===n.name){if(g.state===OS)return nG(s);g.state===iG?(g.state=MS,g.timer.stop(),g.on.call("interrupt",e,e.__data__,g.index,g.group),delete r[f]):+fFF&&r.state=0&&(t=t.slice(0,n)),!t||t==="start"})}function yIe(e,t,n){var r,i,o=vIe(t)?Az:ic;return function(){var s=o(this,e),l=s.on;l!==r&&(i=(r=l).copy()).on(t,n),s.on=i}}function bIe(e,t){var n=this._id;return arguments.length<2?vl(this.node(),n).on.on(e):this.each(yIe(n,e,t))}function xIe(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function wIe(){return this.on("end.remove",xIe(this._id))}function _Ie(e){var t=this._name,n=this._id;typeof e!="function"&&(e=Sz(e));for(var r=this._groups,i=r.length,o=new Array(i),s=0;s()=>e;function qIe(e,{sourceEvent:t,target:n,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function fu(e,t,n){this.k=e,this.x=t,this.y=n}fu.prototype={constructor:fu,scale:function(e){return e===1?this:new fu(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new fu(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var QE=new fu(1,0,0);fu.prototype;function vN(e){e.stopImmediatePropagation()}function pb(e){e.preventDefault(),e.stopImmediatePropagation()}function XIe(e){return(!e.ctrlKey||e.type==="wheel")&&!e.button}function YIe(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e,e.hasAttribute("viewBox")?(e=e.viewBox.baseVal,[[e.x,e.y],[e.x+e.width,e.y+e.height]]):[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]):[[0,0],[e.clientWidth,e.clientHeight]]}function oG(){return this.__zoom||QE}function KIe(e){return-e.deltaY*(e.deltaMode===1?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function QIe(){return navigator.maxTouchPoints||"ontouchstart"in this}function JIe(e,t,n){var r=e.invertX(t[0][0])-n[0][0],i=e.invertX(t[1][0])-n[1][0],o=e.invertY(t[0][1])-n[0][1],s=e.invertY(t[1][1])-n[1][1];return e.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),s>o?(o+s)/2:Math.min(0,o)||Math.max(0,s))}function yN(){var e=XIe,t=YIe,n=JIe,r=KIe,i=QIe,o=[0,1/0],s=[[-1/0,-1/0],[1/0,1/0]],l=250,c=LRe,d=Cz("start","zoom","end"),f,h,p,g=500,v=150,y=0,S=10;function _(D){D.property("__zoom",oG).on("wheel.zoom",O,{passive:!1}).on("mousedown.zoom",L).on("dblclick.zoom",N).filter(i).on("touchstart.zoom",H).on("touchmove.zoom",W).on("touchend.zoom touchcancel.zoom",z).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}_.transform=function(D,F,j,V){var G=D.selection?D.selection():D;G.property("__zoom",oG),D!==G?A(D,F,j,V):G.interrupt().each(function(){R(this,arguments).event(V).start().zoom(null,typeof F=="function"?F.apply(this,arguments):F).end()})},_.scaleBy=function(D,F,j,V){_.scaleTo(D,function(){var G=this.__zoom.k,K=typeof F=="function"?F.apply(this,arguments):F;return G*K},j,V)},_.scaleTo=function(D,F,j,V){_.transform(D,function(){var G=t.apply(this,arguments),K=this.__zoom,Y=j==null?E(G):typeof j=="function"?j.apply(this,arguments):j,J=K.invert(Y),ie=typeof F=="function"?F.apply(this,arguments):F;return n(x(b(K,ie),Y,J),G,s)},j,V)},_.translateBy=function(D,F,j,V){_.transform(D,function(){return n(this.__zoom.translate(typeof F=="function"?F.apply(this,arguments):F,typeof j=="function"?j.apply(this,arguments):j),t.apply(this,arguments),s)},null,V)},_.translateTo=function(D,F,j,V,G){_.transform(D,function(){var K=t.apply(this,arguments),Y=this.__zoom,J=V==null?E(K):typeof V=="function"?V.apply(this,arguments):V;return n(QE.translate(J[0],J[1]).scale(Y.k).translate(typeof F=="function"?-F.apply(this,arguments):-F,typeof j=="function"?-j.apply(this,arguments):-j),K,s)},V,G)};function b(D,F){return F=Math.max(o[0],Math.min(o[1],F)),F===D.k?D:new fu(F,D.x,D.y)}function x(D,F,j){var V=F[0]-j[0]*D.k,G=F[1]-j[1]*D.k;return V===D.x&&G===D.y?D:new fu(D.k,V,G)}function E(D){return[(+D[0][0]+ +D[1][0])/2,(+D[0][1]+ +D[1][1])/2]}function A(D,F,j,V){D.on("start.zoom",function(){R(this,arguments).event(V).start()}).on("interrupt.zoom end.zoom",function(){R(this,arguments).event(V).end()}).tween("zoom",function(){var G=this,K=arguments,Y=R(G,K).event(V),J=t.apply(G,K),ie=j==null?E(J):typeof j=="function"?j.apply(G,K):j,ce=Math.max(J[1][0]-J[0][0],J[1][1]-J[0][1]),ue=G.__zoom,se=typeof F=="function"?F.apply(G,K):F,Q=c(ue.invert(ie).concat(ce/ue.k),se.invert(ie).concat(ce/se.k));return function(ae){if(ae===1)ae=se;else{var le=Q(ae),he=ce/le[2];ae=new fu(he,ie[0]-le[0]*he,ie[1]-le[1]*he)}Y.zoom(null,ae)}})}function R(D,F,j){return!j&&D.__zooming||new k(D,F)}function k(D,F){this.that=D,this.args=F,this.active=0,this.sourceEvent=null,this.extent=t.apply(D,F),this.taps=0}k.prototype={event:function(D){return D&&(this.sourceEvent=D),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(D,F){return this.mouse&&D!=="mouse"&&(this.mouse[1]=F.invert(this.mouse[0])),this.touch0&&D!=="touch"&&(this.touch0[1]=F.invert(this.touch0[0])),this.touch1&&D!=="touch"&&(this.touch1[1]=F.invert(this.touch1[0])),this.that.__zoom=F,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(D){var F=Eo(this.that).datum();d.call(D,this.that,new qIe(D,{sourceEvent:this.sourceEvent,target:_,type:D,transform:this.that.__zoom,dispatch:d}),F)}};function O(D,...F){if(!e.apply(this,arguments))return;var j=R(this,F).event(D),V=this.__zoom,G=Math.max(o[0],Math.min(o[1],V.k*Math.pow(2,r.apply(this,arguments)))),K=wh(D);if(j.wheel)(j.mouse[0][0]!==K[0]||j.mouse[0][1]!==K[1])&&(j.mouse[1]=V.invert(j.mouse[0]=K)),clearTimeout(j.wheel);else{if(V.k===G)return;j.mouse=[K,V.invert(K)],DS(this),j.start()}pb(D),j.wheel=setTimeout(Y,v),j.zoom("mouse",n(x(b(V,G),j.mouse[0],j.mouse[1]),j.extent,s));function Y(){j.wheel=null,j.end()}}function L(D,...F){if(p||!e.apply(this,arguments))return;var j=D.currentTarget,V=R(this,F,!0).event(D),G=Eo(D.view).on("mousemove.zoom",ie,!0).on("mouseup.zoom",ce,!0),K=wh(D,j),Y=D.clientX,J=D.clientY;lRe(D.view),vN(D),V.mouse=[K,this.__zoom.invert(K)],DS(this),V.start();function ie(ue){if(pb(ue),!V.moved){var se=ue.clientX-Y,Q=ue.clientY-J;V.moved=se*se+Q*Q>y}V.event(ue).zoom("mouse",n(x(V.that.__zoom,V.mouse[0]=wh(ue,j),V.mouse[1]),V.extent,s))}function ce(ue){G.on("mousemove.zoom mouseup.zoom",null),cRe(ue.view,V.moved),pb(ue),V.event(ue).end()}}function N(D,...F){if(e.apply(this,arguments)){var j=this.__zoom,V=wh(D.changedTouches?D.changedTouches[0]:D,this),G=j.invert(V),K=j.k*(D.shiftKey?.5:2),Y=n(x(b(j,K),V,G),t.apply(this,F),s);pb(D),l>0?Eo(this).transition().duration(l).call(A,Y,V,D):Eo(this).call(_.transform,Y,V,D)}}function H(D,...F){if(e.apply(this,arguments)){var j=D.touches,V=j.length,G=R(this,F,D.changedTouches.length===V).event(D),K,Y,J,ie;for(vN(D),Y=0;Y"u"&&(g=!0),typeof v>"u"&&(v=1/0);function E(A,R){if(A===null)return null;if(R===0)return A;var k,O;if(typeof A!="object")return A;if(n(A,r))k=new r;else if(n(A,i))k=new i;else if(n(A,o))k=new o(function(V,G){A.then(function(K){V(E(K,R-1))},function(K){G(E(K,R-1))})});else if(s.__isArray(A))k=[];else if(s.__isRegExp(A))k=new RegExp(A.source,h(A)),A.lastIndex&&(k.lastIndex=A.lastIndex);else if(s.__isDate(A))k=new Date(A.getTime());else{if(x&&Buffer.isBuffer(A))return Buffer.allocUnsafe?k=Buffer.allocUnsafe(A.length):k=new Buffer(A.length),A.copy(k),k;n(A,Error)?k=Object.create(A):typeof y>"u"?(O=Object.getPrototypeOf(A),k=Object.create(O)):(k=Object.create(y),O=y)}if(g){var L=_.indexOf(A);if(L!=-1)return b[L];_.push(A),b.push(k)}n(A,r)&&A.forEach(function(V,G){var K=E(G,R-1),Y=E(V,R-1);k.set(K,Y)}),n(A,i)&&A.forEach(function(V){var G=E(V,R-1);k.add(G)});for(var N in A){var H;O&&(H=Object.getOwnPropertyDescriptor(O,N)),!(H&&H.set==null)&&(k[N]=E(A[N],R-1))}if(Object.getOwnPropertySymbols)for(var W=Object.getOwnPropertySymbols(A),N=0;N1&&arguments[1]!==void 0?arguments[1]:0,n=(Li[e[t+0]]+Li[e[t+1]]+Li[e[t+2]]+Li[e[t+3]]+"-"+Li[e[t+4]]+Li[e[t+5]]+"-"+Li[e[t+6]]+Li[e[t+7]]+"-"+Li[e[t+8]]+Li[e[t+9]]+"-"+Li[e[t+10]]+Li[e[t+11]]+Li[e[t+12]]+Li[e[t+13]]+Li[e[t+14]]+Li[e[t+15]]).toLowerCase();if(!rPe(n))throw TypeError("Stringified UUID is invalid");return n}function xN(e,t,n){e=e||{};var r=e.random||(e.rng||tPe)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return iPe(r)}var jF={exports:{}},UF={exports:{}},oPe=function(){for(var t=arguments.length,n=[],r=0;rC.jsx(lJ,{theme:n.palette.mode==="dark"?"vs-dark":"light",width:r,loading:C.jsx(q1,{variant:"indeterminate"}),height:i,language:"javascript",defaultValue:e,onChange:ee.debounce(o=>t(()=>({code:o})),XSe),options:{minimap:{enabled:!1}}})})})}function KSe(e){const t=In();return C.jsx(bn,{height:"100%",overflow:"hidden",children:C.jsx(vk,{children:({width:n,height:r})=>C.jsx(lJ,{theme:t.palette.mode==="dark"?"vs-dark":"light",width:n,loading:C.jsx(q1,{variant:"indeterminate"}),height:r,language:"javascript",...e,options:{minimap:{enabled:!1},...e.options}})})})}const[Ig,QSe]=nc([],{reduce:eQ}),[WE,JSe]=nc({algorithms:[],maps:[],formats:[]}),[yk,ZSe]=nc({specimen:0,connections:0,features:0,map:0,general:0},{reduce:(e,{action:t,key:n})=>Ui(e,r=>{switch(t){case"start":r[n]+=1;break;case"end":r[n]-=1}return r})});function eEe(){const[e]=yk();return ee.some(ee.values(e))}function Jd(e="general"){const[,t]=yk();return I.useCallback(async n=>{t(()=>({action:"start",key:e}));const r=await n();return t(()=>({action:"end",key:e})),r},[e,t])}let dJ=class extends Error{},tEe=class extends dJ{},nEe=class extends dJ{};const rEe=(e,t=",")=>e.join(t),iEe={accept:"*",multiple:!1,strict:!1},hz=e=>{const{accept:t,multiple:n,strict:r}={...iEe,...e},i=aEe({multiple:n,accept:Array.isArray(t)?rEe(t):t});return new Promise(o=>{i.onchange=()=>{o(oEe(i.files,n,r)),i.remove()},i.click()})},oEe=(e,t,n)=>new Promise((r,i)=>{if(!e)return i(new tEe);const o=sEe(e,t,n);if(!o)return i(new nEe);r(o)}),sEe=(e,t,n)=>!t&&n?e.length===1?e[0]:null:e.length?e:null,aEe=({accept:e,multiple:t})=>{const n=document.createElement("input");return n.type="file",n.multiple=t,n.accept=e,n},lEe=""+new URL("hash.worker-76266fd6.js",import.meta.url).href,cEe=""+new URL("ipc.worker-78007631.js",import.meta.url).href,uEe=""+new URL("compress.worker-5a39bbab.js",import.meta.url).href,dEe=""+new URL("compressBinary.worker-0e5dbf65.js",import.meta.url).href,fEe=""+new URL("decompressBinary.worker-e2ab768a.js",import.meta.url).href,hEe=""+new URL("parseYaml.worker-858dc2e2.js",import.meta.url).href;class pEe extends Worker{constructor(){super(lEe,{type:"module"})}}class mEe extends Worker{constructor(){super(uEe,{type:"module"})}}class gEe extends Worker{constructor(){super(dEe,{type:"module"})}}class vEe extends Worker{constructor(){super(fEe,{type:"module"})}}class yEe extends Worker{constructor(){super(cEe,{type:"module"})}}class bEe extends Worker{constructor(){super(hEe,{type:"module"})}}var xEe=function(){},wEe=xEe(),Mp=function(e){return e!==wEe&&e!==null},_Ee=Mp,SEe=Array.prototype.forEach,EEe=Object.create,CEe=function(e,t){var n;for(n in e)t[n]=e[n]},fJ=function(e){var t=EEe(null);return SEe.call(arguments,function(n){_Ee(n)&&CEe(Object(n),t)}),t},TEe=function(){var e=Math.sign;return typeof e!="function"?!1:e(10)===1&&e(-20)===-1},bL,kH;function kEe(){return kH||(kH=1,bL=function(e){return e=Number(e),isNaN(e)||e===0?e:e>0?1:-1}),bL}var AEe=TEe()?Math.sign:kEe(),REe=AEe,IEe=Math.abs,PEe=Math.floor,OEe=function(e){return isNaN(e)?0:(e=Number(e),e===0||!isFinite(e)?e:REe(e)*PEe(IEe(e)))},MEe=OEe,DEe=Math.max,Dp=function(e){return DEe(0,MEe(e))},LEe=Dp,hJ=function(e,t,n){var r;return isNaN(e)?(r=t,r>=0?n&&r?r-1:r:1):e===!1?!1:LEe(e)},Zd=function(e){if(typeof e!="function")throw new TypeError(e+" is not a function");return e},NEe=Mp,iv=function(e){if(!NEe(e))throw new TypeError("Cannot use null or undefined");return e},BEe=Zd,$Ee=iv,FEe=Function.prototype.bind,AH=Function.prototype.call,zEe=Object.keys,jEe=Object.prototype.propertyIsEnumerable,UEe=function(e,t){return function(n,r){var i,o=arguments[2],s=arguments[3];return n=Object($Ee(n)),BEe(r),i=zEe(n),s&&i.sort(typeof s=="function"?FEe.call(s,n):void 0),typeof e!="function"&&(e=i[e]),AH.call(e,i,function(l,c){return jEe.call(n,l)?AH.call(r,o,n[l],l,n,c):t})}},bk=UEe("forEach"),Lp={},pJ={exports:{}},HEe=function(){var e=Object.assign,t;return typeof e!="function"?!1:(t={foo:"raz"},e(t,{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")},xL,RH;function WEe(){return RH||(RH=1,xL=function(){try{return Object.keys("primitive"),!0}catch{return!1}}),xL}var wL,IH;function GEe(){if(IH)return wL;IH=1;var e=Mp,t=Object.keys;return wL=function(n){return t(e(n)?Object(n):n)},wL}var _L,PH;function VEe(){return PH||(PH=1,_L=WEe()()?Object.keys:GEe()),_L}var SL,OH;function qEe(){if(OH)return SL;OH=1;var e=VEe(),t=iv,n=Math.max;return SL=function(r,i){var o,s,l=n(arguments.length,2),c;for(r=Object(t(r)),c=function(d){try{r[d]=i[d]}catch(f){o||(o=f)}},s=1;s-1},kL}var fCe=uCe()?String.prototype.contains:dCe(),RS=xJ,FH=cCe,wJ=mJ,_J=fJ,vx=fCe,hCe=bJ.exports=function(e,t){var n,r,i,o,s;return arguments.length<2||typeof e!="string"?(o=t,t=e,e=null):o=arguments[2],RS(e)?(n=vx.call(e,"c"),r=vx.call(e,"e"),i=vx.call(e,"w")):(n=i=!0,r=!1),s={value:t,configurable:n,enumerable:r,writable:i},o?wJ(_J(o),s):s};hCe.gs=function(e,t,n){var r,i,o,s;return typeof e!="string"?(o=n,n=t,t=e,e=null):o=arguments[3],RS(t)?FH(t)?RS(n)?FH(n)||(o=n,n=void 0):n=void 0:(o=t,t=n=void 0):t=void 0,RS(e)?(r=vx.call(e,"c"),i=vx.call(e,"e")):(r=!0,i=!1),s={get:t,set:n,configurable:r,enumerable:i},o?wJ(_J(o),s):s};var Np=bJ.exports,RF={exports:{}};(function(e,t){var n=Np,r=Zd,i=Function.prototype.apply,o=Function.prototype.call,s=Object.create,l=Object.defineProperty,c=Object.defineProperties,d=Object.prototype.hasOwnProperty,f={configurable:!0,enumerable:!1,writable:!0},h,p,g,v,y,S,_;h=function(b,x){var E;return r(x),d.call(this,"__ee__")?E=this.__ee__:(E=f.value=s(null),l(this,"__ee__",f),f.value=null),E[b]?typeof E[b]=="object"?E[b].push(x):E[b]=[E[b],x]:E[b]=x,this},p=function(b,x){var E,A;return r(x),A=this,h.call(this,b,E=function(){g.call(A,b,E),i.call(x,this,arguments)}),E.__eeOnceListener__=x,this},g=function(b,x){var E,A,R,k;if(r(x),!d.call(this,"__ee__"))return this;if(E=this.__ee__,!E[b])return this;if(A=E[b],typeof A=="object")for(k=0;R=A[k];++k)(R===x||R.__eeOnceListener__===x)&&(A.length===2?E[b]=A[k?0:1]:A.splice(k,1));else(A===x||A.__eeOnceListener__===x)&&delete E[b];return this},v=function(b){var x,E,A,R,k;if(d.call(this,"__ee__")&&(R=this.__ee__[b],!!R))if(typeof R=="object"){for(E=arguments.length,k=new Array(E-1),x=1;x=55296&&E<=56319&&(O+=p[++S])),O=g?d.call(g,v,O,_):O,y?(f.value=O,h(b,_,f)):b[_]=O,++_;x=_}}if(x===void 0)for(x=r(p.length),y&&(b=new y(x)),S=0;S=0?f=s(f):f=t(this.length)-s(o(f)),c=f;c"}},lN}var cN,EW;function lTe(){if(EW)return cN;EW=1;var e=aTe(),t=/[\n\r\u2028\u2029]/g;return cN=function(n){var r=e(n);return r.length>100&&(r=r.slice(0,99)+"…"),r=r.replace(t,function(i){return JSON.stringify(i).slice(1,-1)}),r},cN}var h_={exports:{}},CW;function AJ(){if(CW)return h_.exports;CW=1,h_.exports=e,h_.exports.default=e;function e(t){return!!t&&(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}return h_.exports}var TW;function cTe(){if(TW)return yW;TW=1;var e=TJ(),t=iTe(),n=sTe(),r=lTe(),i=AJ(),o=gz(),s=Object.create,l=t("then","then:finally","done","done:finally");return Lp.promise=function(c,d){var f=s(null),h=s(null),p=s(null);if(c===!0)c=null;else if(c=n(c),!l[c])throw new TypeError("'"+r(c)+"' is not valid promise mode");d.on("set",function(g,v,y){var S=!1;if(!i(y)){h[g]=y,d.emit("setasync",g,1);return}f[g]=1,p[g]=y;var _=function(A){var R=f[g];if(S)throw new Error(`Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)
+Consider to rely on 'then' or 'done' mode instead.`);R&&(delete f[g],h[g]=A,d.emit("setasync",g,R))},b=function(){S=!0,f[g]&&(delete f[g],delete p[g],d.delete(g))},x=c;if(x||(x="then"),x==="then"){var E=function(){o(b)};y=y.then(function(A){o(_.bind(this,A))},E),typeof y.finally=="function"&&y.finally(E)}else if(x==="done"){if(typeof y.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");y.done(_,b)}else if(x==="done:finally"){if(typeof y.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof y.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");y.done(_),y.finally(b)}}),d.on("get",function(g,v,y){var S;if(f[g]){++f[g];return}S=p[g];var _=function(){d.emit("getasync",g,v,y)};i(S)?typeof S.done=="function"?S.done(_):S.then(function(){o(_)}):_()}),d.on("delete",function(g){if(delete p[g],f[g]){delete f[g];return}if(hasOwnProperty.call(h,g)){var v=h[g];delete h[g],d.emit("deleteasync",g,[v])}}),d.on("clear",function(){var g=h;h=s(null),f=s(null),p=s(null),d.emit("clearasync",e(g,function(v){return[v]}))})},yW}var kW={},AW;function uTe(){if(AW)return kW;AW=1;var e=Zd,t=bk,n=Lp,r=Function.prototype.apply;return n.dispose=function(i,o,s){var l;if(e(i),s.async&&n.async||s.promise&&n.promise){o.on("deleteasync",l=function(c,d){r.call(i,null,d)}),o.on("clearasync",function(c){t(c,function(d,f){l(f,d)})});return}o.on("delete",l=function(c,d){i(d)}),o.on("clear",function(c){t(c,function(d,f){l(f,d)})})},kW}var RW={},uN,IW;function dTe(){return IW||(IW=1,uN=2147483647),uN}var dN,PW;function fTe(){if(PW)return dN;PW=1;var e=Dp,t=dTe();return dN=function(n){if(n=e(n),n>t)throw new TypeError(n+" exceeds maximum possible timeout");return n},dN}var OW;function hTe(){if(OW)return RW;OW=1;var e=pz(),t=bk,n=gz(),r=AJ(),i=fTe(),o=Lp,s=Function.prototype,l=Math.max,c=Math.min,d=Object.create;return o.maxAge=function(f,h,p){var g,v,y,S;f=i(f),f&&(g=d(null),v=p.async&&o.async||p.promise&&o.promise?"async":"",h.on("set"+v,function(_){g[_]=setTimeout(function(){h.delete(_)},f),typeof g[_].unref=="function"&&g[_].unref(),S&&(S[_]&&S[_]!=="nextTick"&&clearTimeout(S[_]),S[_]=setTimeout(function(){delete S[_]},y),typeof S[_].unref=="function"&&S[_].unref())}),h.on("delete"+v,function(_){clearTimeout(g[_]),delete g[_],S&&(S[_]!=="nextTick"&&clearTimeout(S[_]),delete S[_])}),p.preFetch&&(p.preFetch===!0||isNaN(p.preFetch)?y=.333:y=l(c(Number(p.preFetch),1),0),y&&(S={},y=(1-y)*f,h.on("get"+v,function(_,b,x){S[_]||(S[_]="nextTick",n(function(){var E;S[_]==="nextTick"&&(delete S[_],h.delete(_),p.async&&(b=e(b),b.push(s)),E=h.memoized.apply(x,b),p.promise&&r(E)&&(typeof E.done=="function"?E.done(s,s):E.then(s,s)))}))}))),h.on("clear"+v,function(){t(g,function(_){clearTimeout(_)}),g={},S&&(t(S,function(_){_!=="nextTick"&&clearTimeout(_)}),S={})}))},RW}var MW={},fN,DW;function pTe(){if(DW)return fN;DW=1;var e=Dp,t=Object.create,n=Object.prototype.hasOwnProperty;return fN=function(r){var i=0,o=1,s=t(null),l=t(null),c=0,d;return r=e(r),{hit:function(f){var h=l[f],p=++c;if(s[p]=f,l[f]=p,!h)return++i,i<=r?void 0:(f=s[o],d(f),f);if(delete s[h],o===h)for(;!n.call(s,++o););},delete:d=function(f){var h=l[f];if(h&&(delete s[h],delete l[f],--i,o===h)){if(!i){c=0,o=1;return}for(;!n.call(s,++o););}},clear:function(){i=0,o=1,s=t(null),l=t(null),c=0}}},fN}var LW;function mTe(){if(LW)return MW;LW=1;var e=Dp,t=pTe(),n=Lp;return n.max=function(r,i,o){var s,l,c;r=e(r),r&&(l=t(r),s=o.async&&n.async||o.promise&&n.promise?"async":"",i.on("set"+s,c=function(d){d=l.hit(d),d!==void 0&&i.delete(d)}),i.on("get"+s,c),i.on("delete"+s,l.delete),i.on("clear"+s,l.clear))},MW}var NW={},BW;function gTe(){if(BW)return NW;BW=1;var e=Np,t=Lp,n=Object.create,r=Object.defineProperties;return t.refCounter=function(i,o,s){var l,c;l=n(null),c=s.async&&t.async||s.promise&&t.promise?"async":"",o.on("set"+c,function(d,f){l[d]=f||1}),o.on("get"+c,function(d){++l[d]}),o.on("delete"+c,function(d){delete l[d]}),o.on("clear"+c,function(){l={}}),r(o.memoized,{deleteRef:e(function(){var d=o.get(arguments);return d===null||!l[d]?null:--l[d]?!1:(o.delete(d),!0)}),getRefCount:e(function(){var d=o.get(arguments);return d===null||!l[d]?0:l[d]})})},NW}var vTe=fJ,yTe=hJ,bTe=XCe,xTe=function(e){var t=vTe(arguments[1]),n;return t.normalizer||(n=t.length=yTe(t.length,e.length,t.async),n!==0&&(t.primitive?n===!1?t.normalizer=YCe():n>1&&(t.normalizer=KCe()(n)):n===!1?t.normalizer=eTe()():n===1?t.normalizer=tTe()():t.normalizer=nTe()(n))),t.async&&rTe(),t.promise&&cTe(),t.dispose&&uTe(),t.maxAge&&hTe(),t.max&&mTe(),t.refCounter&&gTe(),bTe(e,t)};const Nu=js(xTe),wTe=e=>async t=>{const n=new e,r=await t(n);return n.terminate(),r},ov=e=>t=>wTe(e)(n=>(n.postMessage(t),new Promise((r,i)=>{n.onmessage=o=>{r(o.data)},n.onerror=i}))),sv=(e,t={async:!0,length:1})=>Nu(ov(e),t);ee.memoize(ov(pEe));ee.memoize(ov(mEe));const _Te=ee.memoize(ov(gEe)),STe=ee.memoize(ov(vEe)),RJ=ee.memoize(ov(bEe));function yx(e){return e.split(".").pop()}function IJ(e){return e.split(".").shift()}const $W="internal/custom",IF="json",PF=e=>({name:(e==null?void 0:e.id)===$W?`Imported Map - ${e==null?void 0:e.name}`:"Import Map",description:"Internal",id:$W}),ETe=e=>({name:(e==null?void 0:e.type)===IF?`Imported Trace - ${e==null?void 0:e.name}`:"Import Trace",description:"Internal",id:IF}),FW=["json","yaml"];async function CTe(){const e=await hz({accept:FW.map(t=>`.trace.${t}`),strict:!0});if(e)return{file:e,read:async()=>{if(FW.includes(yx(e.name))){const t=await e.text(),n=await RJ(t);return{...ETe(),format:n==null?void 0:n.format,content:n,name:ee.startCase(IJ(e.name)),type:IF}}else throw new Error(`The format (${yx(e.name)}) is unsupported.`)}}}async function TTe(e){const t=await hz({accept:e.map(({id:n})=>`.${n}`),strict:!0});if(t)return{file:t,read:async()=>{if(ee.find(e,{id:yx(t.name)}))return{...PF(),format:yx(t.name),content:await t.text(),name:ee.startCase(IJ(t.name))};throw new Error(`The format (${yx(t.name)}) is unsupported.`)}}}const PJ=20*1024*1024,[OJ,kTe]=nc({},{reduce:(e,t)=>ee.omitBy(sk(e,t),ee.isUndefined)});function ATe(e){return new Promise(t=>ee.delay(t,e))}function vz(e){const[,t]=OJ();return I.useCallback(async(n,r)=>{t(()=>({[e]:r})),ATe(300);const i=await n();return t(()=>({[e]:void 0})),i},[e,t])}function yz(e){return`${(e/(1024*1024)).toFixed(2)} MB`}function RTe({onChange:e,value:t}){const n=ba(),r=Jd("map"),i=vz("map"),[o]=Ig(),[{maps:s,formats:l}]=WE();return C.jsx(Xo,{showArrow:!0,icon:C.jsx(XK,{}),label:"Choose Map",value:t==null?void 0:t.id,items:[PF(t),...s.map(c=>{var d;return{...c,description:(d=ee.find(o,{url:c.source}))==null?void 0:d.name}})],onChange:async c=>{switch(c){case PF().id:try{const d=await TTe(l);d&&r(async()=>{n("Opening map...");const f=d.file.size>PJ?await i(d.read,`Opening map (${yz(d.file.size)})`):await d.read();f&&(e==null||e(f))})}catch(d){n(`${d}`)}break;default:e==null||e(ee.find(s,{id:c}));break}}})}function ITe({onChange:e,value:t}){const n=ba(),r=Jd("specimen"),i=vz("specimen");return C.jsx($d,{icon:C.jsx(XK,{}),onClick:async()=>{try{const o=await CTe();o&&r(async()=>{n("Opening trace...");const s=o.file.size>PJ?await i(o.read,`Opening trace (${yz(o.file.size)})`):await o.read();s&&(e==null||e(s))})}catch(o){n(`${o}`)}},children:t!=null&&t.id?`Uploaded Trace - ${t.name}`:"Choose File"})}const MJ=({label:e})=>C.jsx(zt,{variant:"overline",color:"text.secondary",sx:{pt:1},component:"p",children:e}),PTe=({label:e})=>C.jsx(zt,{variant:"body1",children:e}),i1=({label:e,content:t})=>C.jsxs(bn,{alignItems:"center",children:[C.jsx(PTe,{label:e}),C.jsx(Kr,{flex:1}),t]}),wk=({variables:e},{x:t,y:n})=>(e==null?void 0:e.x)===t&&(e==null?void 0:e.y)===n,OTe=""+new URL("parseGrid.worker-d5269b43.js",import.meta.url).href;class MTe extends Worker{constructor(){super(OTe,{type:"module"})}}const DTe=sv(MTe),{floor:zW}=Math;function jW(e,t,n){return e>=t&&e({...await DTe({map:e,options:t})}),{normalizer:JSON.stringify}),NTe=e=>{const{width:t,height:n}=e.bounds;return{...e,snap:({x:r,y:i},o=1)=>{const[s,l]=[zW(r+o/2),zW(i+o/2)];if(jW(s,0,t)&&jW(l,0,n))return{x:s,y:l}},nodeAt:r=>{const{x:i,y:o}=r;return o*t+i},pointOf:r=>({x:r%t,y:~~(r/t)}),matchNode:wk}},BTe=Object.freeze(Object.defineProperty({__proto__:null,hydrate:NTe,parse:LTe},Symbol.toStringTag,{value:"Module"})),$Te=""+new URL("parseMesh.worker-114081b8.js",import.meta.url).href;class FTe extends Worker{constructor(){super($Te,{type:"module"})}}const zTe=sv(FTe),jTe=Nu(async(e="",t)=>await zTe({map:e,options:t}),{normalizer:JSON.stringify}),UTe=e=>({...e,snap:ee.identity,nodeAt:ee.constant(0),pointOf:ee.constant({x:0,y:0}),matchNode:wk}),HTe=Object.freeze(Object.defineProperty({__proto__:null,hydrate:UTe,parse:jTe},Symbol.toStringTag,{value:"Module"})),WTe=""+new URL("parseNetwork.worker-0345a67d.js",import.meta.url).href;class GTe extends Worker{constructor(){super(WTe,{type:"module"})}}const VTe=sv(GTe),qTe=Nu(async(e="",t)=>await VTe({map:e,options:t}),{normalizer:JSON.stringify}),XTe=e=>({...e,snap:ee.identity,nodeAt:ee.constant(0),pointOf:ee.constant({x:0,y:0}),matchNode:wk}),YTe=Object.freeze(Object.defineProperty({__proto__:null,hydrate:XTe,parse:qTe},Symbol.toStringTag,{value:"Module"})),KTe=""+new URL("parsePoly.worker-bf1460fa.js",import.meta.url).href;class QTe extends Worker{constructor(){super(KTe,{type:"module"})}}const JTe=sv(QTe),ZTe=Nu(async(e="",t)=>await JTe({map:e,options:t}),{normalizer:JSON.stringify}),eke=e=>({...e,snap:ee.identity,nodeAt:ee.constant(0),pointOf:ee.constant({x:0,y:0}),matchNode:wk}),tke=Object.freeze(Object.defineProperty({__proto__:null,hydrate:eke,parse:ZTe},Symbol.toStringTag,{value:"Module"})),bz={grid:BTe,xy:YTe,mesh:HTe,poly:tke};function xz(e=""){return bz[e]}function eg({label:e,icon:t=C.jsx(jxe,{}),...n}){return C.jsxs(bn,{justifyContent:"center",alignItems:"center",color:"text.secondary",bgcolor:"background.paper",textAlign:"center",vertical:!0,pt:6,...n,children:[I.cloneElement(t,{sx:{mb:2},fontSize:"large"}),C.jsx(zt,{children:e})]})}const zb="500";function nke(e){return parseInt(e.replace("#","0x"))}const wz={source:Yu.A400,destination:qu.A400,updating:zh[zb],expanding:bq[zb],generating:xq[zb],closing:yq[zb],end:Xu.A400};ee.mapValues(wz,nke);function Pg(e){return(e&&wz[e])??y5[zb]}function rke(e){var t=0,n=e.children,r=n&&n.length;if(!r)t=1;else for(;--r>=0;)t+=n[r].value;e.value=t}function ike(){return this.eachAfter(rke)}function oke(e){var t=this,n,r=[t],i,o,s;do for(n=r.reverse(),r=[];t=n.pop();)if(e(t),i=t.children,i)for(o=0,s=i.length;o=0;--i)n.push(r[i]);return this}function ake(e){for(var t=this,n=[t],r=[],i,o,s;t=n.pop();)if(r.push(t),i=t.children,i)for(o=0,s=i.length;o=0;)n+=r[i].value;t.value=n})}function cke(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}function uke(e){for(var t=this,n=dke(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r}function dke(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;for(e=n.pop(),t=r.pop();e===t;)i=e,e=n.pop(),t=r.pop();return i}function fke(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}function hke(){var e=[];return this.each(function(t){e.push(t)}),e}function pke(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}function mke(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t}function _z(e,t){var n=new o1(e),r=+e.value&&(n.value=e.value),i,o=[n],s,l,c,d;for(t==null&&(t=vke);i=o.pop();)if(r&&(i.value=+i.data.value),(l=t(i.data))&&(d=l.length))for(i.children=new Array(d),c=d-1;c>=0;--c)o.push(s=i.children[c]=new o1(l[c])),s.parent=i,s.depth=i.depth+1;return n.eachBefore(bke)}function gke(){return _z(this).eachBefore(yke)}function vke(e){return e.children}function yke(e){e.data=e.data.data}function bke(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function o1(e){this.data=e,this.depth=this.height=0,this.parent=null}o1.prototype=_z.prototype={constructor:o1,count:ike,each:oke,eachAfter:ake,eachBefore:ske,sum:lke,sort:cke,path:uke,ancestors:fke,descendants:hke,leaves:pke,links:mke,copy:gke};function xke(e,t){return e.parent===t.parent?1:2}function hN(e){var t=e.children;return t?t[0]:e.t}function pN(e){var t=e.children;return t?t[t.length-1]:e.t}function wke(e,t,n){var r=n/(t.i-e.i);t.c-=r,t.s+=n,e.c+=r,t.z+=n,t.m+=n}function _ke(e){for(var t=0,n=0,r=e.children,i=r.length,o;--i>=0;)o=r[i],o.z+=t,o.m+=t,t+=o.s+(n+=o.c)}function Ske(e,t,n){return e.a.parent===t.parent?e.a:n}function IS(e,t){this._=e,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=t}IS.prototype=Object.create(o1.prototype);function Eke(e){for(var t=new IS(e,0),n,r=[t],i,o,s,l;n=r.pop();)if(o=n._.children)for(n.children=new Array(l=o.length),s=l-1;s>=0;--s)r.push(i=n.children[s]=new IS(o[s],s)),i.parent=n;return(t.parent=new IS(null,0)).children=[t],t}function Cke(){var e=xke,t=1,n=1,r=null;function i(d){var f=Eke(d);if(f.eachAfter(o),f.parent.m=-f.z,f.eachBefore(s),r)d.eachBefore(c);else{var h=d,p=d,g=d;d.eachBefore(function(b){b.x