@zeniai/web-cockpit-ui 2.0.2-dev → 2.0.2-qa
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ScreenRoutes-DMhgKCg6.js → ScreenRoutes-D2nEcOZw.js} +1 -1
- package/dist/assets/{SignInScreen-Cat6T0mP.js → SignInScreen-DF-mQuQN.js} +1 -1
- package/dist/assets/{analyticsHelper-eR5cUpPw.js → analyticsHelper-CQ_NJ64f.js} +1 -1
- package/dist/assets/{index-CdUT09CA.js → index-BFo-bXQg.js} +4 -4
- package/dist/index.html +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{FP as Yh,FQ as ar,FR as Wh,jd as Lt,hQ as xl,jf as Tt,hN as Kh,hU as Il,FS as hs,hW as Jh,hX as Xh,FT as gr,FU as or,hj as Qh,FV as an,FW as Do,c$ as ed,fj as Mo,fg as Qr,fo as jt,fm as td,FX as Al,FY as Cl,i9 as rd,i6 as nd,FZ as id,il as ad,ig as ds,ic as od,i1 as sd,F_ as ud,dX as cd,d5 as fd,jr as Pl,F$ as ld,be as Xr,h_ as ps,i3 as hd,qb as kl,je as on,G0 as pt,iB as Fo,G1 as dd,jx as pd,B as et,bi as Bo,G2 as md,hg as gd,G3 as vd,G4 as jl,G5 as yd,oL as ms,og as _d,G6 as bd,om as En,G7 as wd,oo as Ed,G8 as St,od as Sd,cP as Rd,ji as ql,jj as Ll,jh as Uo,jg as Go,jk as Od,G9 as Td,oO as xd,Ga as Id,ov as Ad,oI as Cd,Gb as Pd,oz as kd,Gc as jd,Gd as Yt,Ge as Vo,Gf as qd,Gg as Ld,nh as Nd,nn as Nl,Gh as Dl,gN as Dd,EV as Ml,Gi as Md,EP as Fd,Gj as Bd,Gk as Ud,nq as Gd,Gl as Vd,E_ as $d,EO as zd,rM as Fl,Gm as Sn,Gn as Bl,BX as $o,BJ as Hd,B_ as Ul,BM as Zd,Go as Yd,BR as Wd,BD as Kd,BG as Jd,Gp as Xd,C2 as Qd,BU as ep,bl as tp,bd as rp,Gq as np,Gr as Bt,Gs as ip,Gt as ap,Gu as op,iq as jo,iw as sp,ba as up}from"./zeni-epic-state-BRXzaXEX.js";import{j as G}from"./liveblocks-MdBSm47b.js";import{a as le,p as ye,e as Gl,d as Vl,g as cp}from"./sentry-D4s0taNl.js";import{X as fp,m as Gt,Z as sn,u as lp,a as Ge,z as We,O as hp,Q as dp,b as ut,c as un,d as pp,M as xt,D as sr,g as Vt,h as Nt,$ as cn,o as kt,e as mp,V as gp,t as Rt,i as fn,N as qt,r as vp,s as yp,f as Rn,j as _p,k as $l,l as bp,n as zl,p as Hl,q as qo,W as wp,I as Ep,v as Sp,w as Zl,x as Rp,y as Op,T as Tp,L as xp,A as Ip,B as Ap,C as Cp,E as Pp,F as kp,J as jp,G as qp,Y as Lp,H as Np}from"./index-CdUT09CA.js";import{f as Dp}from"./analyticsHelper-eR5cUpPw.js";import{o as Yl,i as Ve,n as Ke,p as ct,g as Oe,h as $e,N as tr,k as bt,l as Te,u as zo,j as Lo}from"./core-DJqJSXg7.js";import{D as ln,n as tt,S as $t}from"./mui-C6GD0jRa.js";import{a as He,b as Mp,c as Fp,d as Bp,e as Ho,f as Up,g as Gp,h as Vp,i as zt,j as $p,k as nr,l as hn,m as zp,n as ur,o as Hp}from"./utils-CPUHikhf.js";import{r as Zo}from"./empty-B21GhML_.js";import{r as cr,a as Zp}from"./index-BxgOoqGm.js";import{r as Yp}from"./index-DgPAMj43.js";import"./recharts-K1p0NQzK.js";import"./lottie-B7ijoRF5.js";import"./analytics-C2zi4yYl.js";import"./lexical-DRk-qy6i.js";import"./url-C8bzLilf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9c856a08-ad03-40d5-beee-4e0fcaae638d",e._sentryDebugIdIdentifier="sentry-dbid-9c856a08-ad03-40d5-beee-4e0fcaae638d")}catch{}})();var On={},gs;function dn(){return gs||(gs=1,function(e){var n=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function o(t,r){return Object.prototype.hasOwnProperty.call(t,r)}e.assign=function(t){for(var r=Array.prototype.slice.call(arguments,1);r.length;){var s=r.shift();if(s){if(typeof s!="object")throw new TypeError(s+"must be non-object");for(var d in s)o(s,d)&&(t[d]=s[d])}}return t},e.shrinkBuf=function(t,r){return t.length===r?t:t.subarray?t.subarray(0,r):(t.length=r,t)};var i={arraySet:function(t,r,s,d,f){if(r.subarray&&t.subarray){t.set(r.subarray(s,s+d),f);return}for(var l=0;l<d;l++)t[f+l]=r[s+l]},flattenChunks:function(t){var r,s,d,f,l,h;for(d=0,r=0,s=t.length;r<s;r++)d+=t[r].length;for(h=new Uint8Array(d),f=0,r=0,s=t.length;r<s;r++)l=t[r],h.set(l,f),f+=l.length;return h}},a={arraySet:function(t,r,s,d,f){for(var l=0;l<d;l++)t[f+l]=r[s+l]},flattenChunks:function(t){return[].concat.apply([],t)}};e.setTyped=function(t){t?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,i)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,a))},e.setTyped(n)}(On)),On}var ot={},It={},vs;function Wp(){if(vs)return It;vs=1;var e=dn(),n=4,o=0,i=1,a=2;function t(A){for(var ne=A.length;--ne>=0;)A[ne]=0}var r=0,s=1,d=2,f=3,l=258,h=29,c=256,b=c+1+h,m=30,y=19,g=2*b+1,u=15,_=16,w=7,v=256,E=16,x=17,O=18,C=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],D=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],W=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],H=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S=512,R=new Array((b+2)*2);t(R);var q=new Array(m*2);t(q);var N=new Array(S);t(N);var V=new Array(l-f+1);t(V);var P=new Array(h);t(P);var j=new Array(m);t(j);function k(A,ne,se,fe,Z){this.static_tree=A,this.extra_bits=ne,this.extra_base=se,this.elems=fe,this.max_length=Z,this.has_stree=A&&A.length}var F,Y,z;function B(A,ne){this.dyn_tree=A,this.max_code=0,this.stat_desc=ne}function L(A){return A<256?N[A]:N[256+(A>>>7)]}function M(A,ne){A.pending_buf[A.pending++]=ne&255,A.pending_buf[A.pending++]=ne>>>8&255}function U(A,ne,se){A.bi_valid>_-se?(A.bi_buf|=ne<<A.bi_valid&65535,M(A,A.bi_buf),A.bi_buf=ne>>_-A.bi_valid,A.bi_valid+=se-_):(A.bi_buf|=ne<<A.bi_valid&65535,A.bi_valid+=se)}function X(A,ne,se){U(A,se[ne*2],se[ne*2+1])}function J(A,ne){var se=0;do se|=A&1,A>>>=1,se<<=1;while(--ne>0);return se>>>1}function ae(A){A.bi_valid===16?(M(A,A.bi_buf),A.bi_buf=0,A.bi_valid=0):A.bi_valid>=8&&(A.pending_buf[A.pending++]=A.bi_buf&255,A.bi_buf>>=8,A.bi_valid-=8)}function ue(A,ne){var se=ne.dyn_tree,fe=ne.max_code,Z=ne.stat_desc.static_tree,ie=ne.stat_desc.has_stree,T=ne.stat_desc.extra_bits,oe=ne.stat_desc.extra_base,be=ne.stat_desc.max_length,p,te,re,I,$,ee,_e=0;for(I=0;I<=u;I++)A.bl_count[I]=0;for(se[A.heap[A.heap_max]*2+1]=0,p=A.heap_max+1;p<g;p++)te=A.heap[p],I=se[se[te*2+1]*2+1]+1,I>be&&(I=be,_e++),se[te*2+1]=I,!(te>fe)&&(A.bl_count[I]++,$=0,te>=oe&&($=T[te-oe]),ee=se[te*2],A.opt_len+=ee*(I+$),ie&&(A.static_len+=ee*(Z[te*2+1]+$)));if(_e!==0){do{for(I=be-1;A.bl_count[I]===0;)I--;A.bl_count[I]--,A.bl_count[I+1]+=2,A.bl_count[be]--,_e-=2}while(_e>0);for(I=be;I!==0;I--)for(te=A.bl_count[I];te!==0;)re=A.heap[--p],!(re>fe)&&(se[re*2+1]!==I&&(A.opt_len+=(I-se[re*2+1])*se[re*2],se[re*2+1]=I),te--)}}function ve(A,ne,se){var fe=new Array(u+1),Z=0,ie,T;for(ie=1;ie<=u;ie++)fe[ie]=Z=Z+se[ie-1]<<1;for(T=0;T<=ne;T++){var oe=A[T*2+1];oe!==0&&(A[T*2]=J(fe[oe]++,oe))}}function me(){var A,ne,se,fe,Z,ie=new Array(u+1);for(se=0,fe=0;fe<h-1;fe++)for(P[fe]=se,A=0;A<1<<C[fe];A++)V[se++]=fe;for(V[se-1]=fe,Z=0,fe=0;fe<16;fe++)for(j[fe]=Z,A=0;A<1<<D[fe];A++)N[Z++]=fe;for(Z>>=7;fe<m;fe++)for(j[fe]=Z<<7,A=0;A<1<<D[fe]-7;A++)N[256+Z++]=fe;for(ne=0;ne<=u;ne++)ie[ne]=0;for(A=0;A<=143;)R[A*2+1]=8,A++,ie[8]++;for(;A<=255;)R[A*2+1]=9,A++,ie[9]++;for(;A<=279;)R[A*2+1]=7,A++,ie[7]++;for(;A<=287;)R[A*2+1]=8,A++,ie[8]++;for(ve(R,b+1,ie),A=0;A<m;A++)q[A*2+1]=5,q[A*2]=J(A,5);F=new k(R,C,c+1,b,u),Y=new k(q,D,0,m,u),z=new k(new Array(0),W,0,y,w)}function we(A){var ne;for(ne=0;ne<b;ne++)A.dyn_ltree[ne*2]=0;for(ne=0;ne<m;ne++)A.dyn_dtree[ne*2]=0;for(ne=0;ne<y;ne++)A.bl_tree[ne*2]=0;A.dyn_ltree[v*2]=1,A.opt_len=A.static_len=0,A.last_lit=A.matches=0}function Ce(A){A.bi_valid>8?M(A,A.bi_buf):A.bi_valid>0&&(A.pending_buf[A.pending++]=A.bi_buf),A.bi_buf=0,A.bi_valid=0}function ke(A,ne,se,fe){Ce(A),M(A,se),M(A,~se),e.arraySet(A.pending_buf,A.window,ne,se,A.pending),A.pending+=se}function je(A,ne,se,fe){var Z=ne*2,ie=se*2;return A[Z]<A[ie]||A[Z]===A[ie]&&fe[ne]<=fe[se]}function Ie(A,ne,se){for(var fe=A.heap[se],Z=se<<1;Z<=A.heap_len&&(Z<A.heap_len&&je(ne,A.heap[Z+1],A.heap[Z],A.depth)&&Z++,!je(ne,fe,A.heap[Z],A.depth));)A.heap[se]=A.heap[Z],se=Z,Z<<=1;A.heap[se]=fe}function Ee(A,ne,se){var fe,Z,ie=0,T,oe;if(A.last_lit!==0)do fe=A.pending_buf[A.d_buf+ie*2]<<8|A.pending_buf[A.d_buf+ie*2+1],Z=A.pending_buf[A.l_buf+ie],ie++,fe===0?X(A,Z,ne):(T=V[Z],X(A,T+c+1,ne),oe=C[T],oe!==0&&(Z-=P[T],U(A,Z,oe)),fe--,T=L(fe),X(A,T,se),oe=D[T],oe!==0&&(fe-=j[T],U(A,fe,oe)));while(ie<A.last_lit);X(A,v,ne)}function Ue(A,ne){var se=ne.dyn_tree,fe=ne.stat_desc.static_tree,Z=ne.stat_desc.has_stree,ie=ne.stat_desc.elems,T,oe,be=-1,p;for(A.heap_len=0,A.heap_max=g,T=0;T<ie;T++)se[T*2]!==0?(A.heap[++A.heap_len]=be=T,A.depth[T]=0):se[T*2+1]=0;for(;A.heap_len<2;)p=A.heap[++A.heap_len]=be<2?++be:0,se[p*2]=1,A.depth[p]=0,A.opt_len--,Z&&(A.static_len-=fe[p*2+1]);for(ne.max_code=be,T=A.heap_len>>1;T>=1;T--)Ie(A,se,T);p=ie;do T=A.heap[1],A.heap[1]=A.heap[A.heap_len--],Ie(A,se,1),oe=A.heap[1],A.heap[--A.heap_max]=T,A.heap[--A.heap_max]=oe,se[p*2]=se[T*2]+se[oe*2],A.depth[p]=(A.depth[T]>=A.depth[oe]?A.depth[T]:A.depth[oe])+1,se[T*2+1]=se[oe*2+1]=p,A.heap[1]=p++,Ie(A,se,1);while(A.heap_len>=2);A.heap[--A.heap_max]=A.heap[1],ue(A,ne),ve(se,be,A.bl_count)}function at(A,ne,se){var fe,Z=-1,ie,T=ne[0*2+1],oe=0,be=7,p=4;for(T===0&&(be=138,p=3),ne[(se+1)*2+1]=65535,fe=0;fe<=se;fe++)ie=T,T=ne[(fe+1)*2+1],!(++oe<be&&ie===T)&&(oe<p?A.bl_tree[ie*2]+=oe:ie!==0?(ie!==Z&&A.bl_tree[ie*2]++,A.bl_tree[E*2]++):oe<=10?A.bl_tree[x*2]++:A.bl_tree[O*2]++,oe=0,Z=ie,T===0?(be=138,p=3):ie===T?(be=6,p=3):(be=7,p=4))}function Le(A,ne,se){var fe,Z=-1,ie,T=ne[0*2+1],oe=0,be=7,p=4;for(T===0&&(be=138,p=3),fe=0;fe<=se;fe++)if(ie=T,T=ne[(fe+1)*2+1],!(++oe<be&&ie===T)){if(oe<p)do X(A,ie,A.bl_tree);while(--oe!==0);else ie!==0?(ie!==Z&&(X(A,ie,A.bl_tree),oe--),X(A,E,A.bl_tree),U(A,oe-3,2)):oe<=10?(X(A,x,A.bl_tree),U(A,oe-3,3)):(X(A,O,A.bl_tree),U(A,oe-11,7));oe=0,Z=ie,T===0?(be=138,p=3):ie===T?(be=6,p=3):(be=7,p=4)}}function De(A){var ne;for(at(A,A.dyn_ltree,A.l_desc.max_code),at(A,A.dyn_dtree,A.d_desc.max_code),Ue(A,A.bl_desc),ne=y-1;ne>=3&&A.bl_tree[H[ne]*2+1]===0;ne--);return A.opt_len+=3*(ne+1)+5+5+4,ne}function Ze(A,ne,se,fe){var Z;for(U(A,ne-257,5),U(A,se-1,5),U(A,fe-4,4),Z=0;Z<fe;Z++)U(A,A.bl_tree[H[Z]*2+1],3);Le(A,A.dyn_ltree,ne-1),Le(A,A.dyn_dtree,se-1)}function K(A){var ne=4093624447,se;for(se=0;se<=31;se++,ne>>>=1)if(ne&1&&A.dyn_ltree[se*2]!==0)return o;if(A.dyn_ltree[9*2]!==0||A.dyn_ltree[10*2]!==0||A.dyn_ltree[13*2]!==0)return i;for(se=32;se<c;se++)if(A.dyn_ltree[se*2]!==0)return i;return o}var Q=!1;function ce(A){Q||(me(),Q=!0),A.l_desc=new B(A.dyn_ltree,F),A.d_desc=new B(A.dyn_dtree,Y),A.bl_desc=new B(A.bl_tree,z),A.bi_buf=0,A.bi_valid=0,we(A)}function ge(A,ne,se,fe){U(A,(r<<1)+(fe?1:0),3),ke(A,ne,se)}function he(A){U(A,s<<1,3),X(A,v,R),ae(A)}function Se(A,ne,se,fe){var Z,ie,T=0;A.level>0?(A.strm.data_type===a&&(A.strm.data_type=K(A)),Ue(A,A.l_desc),Ue(A,A.d_desc),T=De(A),Z=A.opt_len+3+7>>>3,ie=A.static_len+3+7>>>3,ie<=Z&&(Z=ie)):Z=ie=se+5,se+4<=Z&&ne!==-1?ge(A,ne,se,fe):A.strategy===n||ie===Z?(U(A,(s<<1)+(fe?1:0),3),Ee(A,R,q)):(U(A,(d<<1)+(fe?1:0),3),Ze(A,A.l_desc.max_code+1,A.d_desc.max_code+1,T+1),Ee(A,A.dyn_ltree,A.dyn_dtree)),we(A),fe&&Ce(A)}function Re(A,ne,se){return A.pending_buf[A.d_buf+A.last_lit*2]=ne>>>8&255,A.pending_buf[A.d_buf+A.last_lit*2+1]=ne&255,A.pending_buf[A.l_buf+A.last_lit]=se&255,A.last_lit++,ne===0?A.dyn_ltree[se*2]++:(A.matches++,ne--,A.dyn_ltree[(V[se]+c+1)*2]++,A.dyn_dtree[L(ne)*2]++),A.last_lit===A.lit_bufsize-1}return It._tr_init=ce,It._tr_stored_block=ge,It._tr_flush_block=Se,It._tr_tally=Re,It._tr_align=he,It}var Tn,ys;function Wl(){if(ys)return Tn;ys=1;function e(n,o,i,a){for(var t=n&65535|0,r=n>>>16&65535|0,s=0;i!==0;){s=i>2e3?2e3:i,i-=s;do t=t+o[a++]|0,r=r+t|0;while(--s);t%=65521,r%=65521}return t|r<<16|0}return Tn=e,Tn}var xn,_s;function Kl(){if(_s)return xn;_s=1;function e(){for(var i,a=[],t=0;t<256;t++){i=t;for(var r=0;r<8;r++)i=i&1?3988292384^i>>>1:i>>>1;a[t]=i}return a}var n=e();function o(i,a,t,r){var s=n,d=r+t;i^=-1;for(var f=r;f<d;f++)i=i>>>8^s[(i^a[f])&255];return i^-1}return xn=o,xn}var In,bs;function Kp(){return bs||(bs=1,In={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}),In}var ws;function Jp(){if(ws)return ot;ws=1;var e=dn(),n=Wp(),o=Wl(),i=Kl(),a=Kp(),t=0,r=1,s=3,d=4,f=5,l=0,h=1,c=-2,b=-3,m=-5,y=-1,g=1,u=2,_=3,w=4,v=0,E=2,x=8,O=9,C=15,D=8,W=29,H=256,S=H+1+W,R=30,q=19,N=2*S+1,V=15,P=3,j=258,k=j+P+1,F=32,Y=42,z=69,B=73,L=91,M=103,U=113,X=666,J=1,ae=2,ue=3,ve=4,me=3;function we(p,te){return p.msg=a[te],te}function Ce(p){return(p<<1)-(p>4?9:0)}function ke(p){for(var te=p.length;--te>=0;)p[te]=0}function je(p){var te=p.state,re=te.pending;re>p.avail_out&&(re=p.avail_out),re!==0&&(e.arraySet(p.output,te.pending_buf,te.pending_out,re,p.next_out),p.next_out+=re,te.pending_out+=re,p.total_out+=re,p.avail_out-=re,te.pending-=re,te.pending===0&&(te.pending_out=0))}function Ie(p,te){n._tr_flush_block(p,p.block_start>=0?p.block_start:-1,p.strstart-p.block_start,te),p.block_start=p.strstart,je(p.strm)}function Ee(p,te){p.pending_buf[p.pending++]=te}function Ue(p,te){p.pending_buf[p.pending++]=te>>>8&255,p.pending_buf[p.pending++]=te&255}function at(p,te,re,I){var $=p.avail_in;return $>I&&($=I),$===0?0:(p.avail_in-=$,e.arraySet(te,p.input,p.next_in,$,re),p.state.wrap===1?p.adler=o(p.adler,te,$,re):p.state.wrap===2&&(p.adler=i(p.adler,te,$,re)),p.next_in+=$,p.total_in+=$,$)}function Le(p,te){var re=p.max_chain_length,I=p.strstart,$,ee,_e=p.prev_length,de=p.nice_match,pe=p.strstart>p.w_size-k?p.strstart-(p.w_size-k):0,xe=p.window,gt=p.w_mask,qe=p.prev,Ae=p.strstart+j,Fe=xe[I+_e-1],Ye=xe[I+_e];p.prev_length>=p.good_match&&(re>>=2),de>p.lookahead&&(de=p.lookahead);do if($=te,!(xe[$+_e]!==Ye||xe[$+_e-1]!==Fe||xe[$]!==xe[I]||xe[++$]!==xe[I+1])){I+=2,$++;do;while(xe[++I]===xe[++$]&&xe[++I]===xe[++$]&&xe[++I]===xe[++$]&&xe[++I]===xe[++$]&&xe[++I]===xe[++$]&&xe[++I]===xe[++$]&&xe[++I]===xe[++$]&&xe[++I]===xe[++$]&&I<Ae);if(ee=j-(Ae-I),I=Ae-j,ee>_e){if(p.match_start=te,_e=ee,ee>=de)break;Fe=xe[I+_e-1],Ye=xe[I+_e]}}while((te=qe[te>])>pe&&--re!==0);return _e<=p.lookahead?_e:p.lookahead}function De(p){var te=p.w_size,re,I,$,ee,_e;do{if(ee=p.window_size-p.lookahead-p.strstart,p.strstart>=te+(te-k)){e.arraySet(p.window,p.window,te,te,0),p.match_start-=te,p.strstart-=te,p.block_start-=te,I=p.hash_size,re=I;do $=p.head[--re],p.head[re]=$>=te?$-te:0;while(--I);I=te,re=I;do $=p.prev[--re],p.prev[re]=$>=te?$-te:0;while(--I);ee+=te}if(p.strm.avail_in===0)break;if(I=at(p.strm,p.window,p.strstart+p.lookahead,ee),p.lookahead+=I,p.lookahead+p.insert>=P)for(_e=p.strstart-p.insert,p.ins_h=p.window[_e],p.ins_h=(p.ins_h<<p.hash_shift^p.window[_e+1])&p.hash_mask;p.insert&&(p.ins_h=(p.ins_h<<p.hash_shift^p.window[_e+P-1])&p.hash_mask,p.prev[_e&p.w_mask]=p.head[p.ins_h],p.head[p.ins_h]=_e,_e++,p.insert--,!(p.lookahead+p.insert<P)););}while(p.lookahead<k&&p.strm.avail_in!==0)}function Ze(p,te){var re=65535;for(re>p.pending_buf_size-5&&(re=p.pending_buf_size-5);;){if(p.lookahead<=1){if(De(p),p.lookahead===0&&te===t)return J;if(p.lookahead===0)break}p.strstart+=p.lookahead,p.lookahead=0;var I=p.block_start+re;if((p.strstart===0||p.strstart>=I)&&(p.lookahead=p.strstart-I,p.strstart=I,Ie(p,!1),p.strm.avail_out===0)||p.strstart-p.block_start>=p.w_size-k&&(Ie(p,!1),p.strm.avail_out===0))return J}return p.insert=0,te===d?(Ie(p,!0),p.strm.avail_out===0?ue:ve):(p.strstart>p.block_start&&(Ie(p,!1),p.strm.avail_out===0),J)}function K(p,te){for(var re,I;;){if(p.lookahead<k){if(De(p),p.lookahead<k&&te===t)return J;if(p.lookahead===0)break}if(re=0,p.lookahead>=P&&(p.ins_h=(p.ins_h<<p.hash_shift^p.window[p.strstart+P-1])&p.hash_mask,re=p.prev[p.strstart&p.w_mask]=p.head[p.ins_h],p.head[p.ins_h]=p.strstart),re!==0&&p.strstart-re<=p.w_size-k&&(p.match_length=Le(p,re)),p.match_length>=P)if(I=n._tr_tally(p,p.strstart-p.match_start,p.match_length-P),p.lookahead-=p.match_length,p.match_length<=p.max_lazy_match&&p.lookahead>=P){p.match_length--;do p.strstart++,p.ins_h=(p.ins_h<<p.hash_shift^p.window[p.strstart+P-1])&p.hash_mask,re=p.prev[p.strstart&p.w_mask]=p.head[p.ins_h],p.head[p.ins_h]=p.strstart;while(--p.match_length!==0);p.strstart++}else p.strstart+=p.match_length,p.match_length=0,p.ins_h=p.window[p.strstart],p.ins_h=(p.ins_h<<p.hash_shift^p.window[p.strstart+1])&p.hash_mask;else I=n._tr_tally(p,0,p.window[p.strstart]),p.lookahead--,p.strstart++;if(I&&(Ie(p,!1),p.strm.avail_out===0))return J}return p.insert=p.strstart<P-1?p.strstart:P-1,te===d?(Ie(p,!0),p.strm.avail_out===0?ue:ve):p.last_lit&&(Ie(p,!1),p.strm.avail_out===0)?J:ae}function Q(p,te){for(var re,I,$;;){if(p.lookahead<k){if(De(p),p.lookahead<k&&te===t)return J;if(p.lookahead===0)break}if(re=0,p.lookahead>=P&&(p.ins_h=(p.ins_h<<p.hash_shift^p.window[p.strstart+P-1])&p.hash_mask,re=p.prev[p.strstart&p.w_mask]=p.head[p.ins_h],p.head[p.ins_h]=p.strstart),p.prev_length=p.match_length,p.prev_match=p.match_start,p.match_length=P-1,re!==0&&p.prev_length<p.max_lazy_match&&p.strstart-re<=p.w_size-k&&(p.match_length=Le(p,re),p.match_length<=5&&(p.strategy===g||p.match_length===P&&p.strstart-p.match_start>4096)&&(p.match_length=P-1)),p.prev_length>=P&&p.match_length<=p.prev_length){$=p.strstart+p.lookahead-P,I=n._tr_tally(p,p.strstart-1-p.prev_match,p.prev_length-P),p.lookahead-=p.prev_length-1,p.prev_length-=2;do++p.strstart<=$&&(p.ins_h=(p.ins_h<<p.hash_shift^p.window[p.strstart+P-1])&p.hash_mask,re=p.prev[p.strstart&p.w_mask]=p.head[p.ins_h],p.head[p.ins_h]=p.strstart);while(--p.prev_length!==0);if(p.match_available=0,p.match_length=P-1,p.strstart++,I&&(Ie(p,!1),p.strm.avail_out===0))return J}else if(p.match_available){if(I=n._tr_tally(p,0,p.window[p.strstart-1]),I&&Ie(p,!1),p.strstart++,p.lookahead--,p.strm.avail_out===0)return J}else p.match_available=1,p.strstart++,p.lookahead--}return p.match_available&&(I=n._tr_tally(p,0,p.window[p.strstart-1]),p.match_available=0),p.insert=p.strstart<P-1?p.strstart:P-1,te===d?(Ie(p,!0),p.strm.avail_out===0?ue:ve):p.last_lit&&(Ie(p,!1),p.strm.avail_out===0)?J:ae}function ce(p,te){for(var re,I,$,ee,_e=p.window;;){if(p.lookahead<=j){if(De(p),p.lookahead<=j&&te===t)return J;if(p.lookahead===0)break}if(p.match_length=0,p.lookahead>=P&&p.strstart>0&&($=p.strstart-1,I=_e[$],I===_e[++$]&&I===_e[++$]&&I===_e[++$])){ee=p.strstart+j;do;while(I===_e[++$]&&I===_e[++$]&&I===_e[++$]&&I===_e[++$]&&I===_e[++$]&&I===_e[++$]&&I===_e[++$]&&I===_e[++$]&&$<ee);p.match_length=j-(ee-$),p.match_length>p.lookahead&&(p.match_length=p.lookahead)}if(p.match_length>=P?(re=n._tr_tally(p,1,p.match_length-P),p.lookahead-=p.match_length,p.strstart+=p.match_length,p.match_length=0):(re=n._tr_tally(p,0,p.window[p.strstart]),p.lookahead--,p.strstart++),re&&(Ie(p,!1),p.strm.avail_out===0))return J}return p.insert=0,te===d?(Ie(p,!0),p.strm.avail_out===0?ue:ve):p.last_lit&&(Ie(p,!1),p.strm.avail_out===0)?J:ae}function ge(p,te){for(var re;;){if(p.lookahead===0&&(De(p),p.lookahead===0)){if(te===t)return J;break}if(p.match_length=0,re=n._tr_tally(p,0,p.window[p.strstart]),p.lookahead--,p.strstart++,re&&(Ie(p,!1),p.strm.avail_out===0))return J}return p.insert=0,te===d?(Ie(p,!0),p.strm.avail_out===0?ue:ve):p.last_lit&&(Ie(p,!1),p.strm.avail_out===0)?J:ae}function he(p,te,re,I,$){this.good_length=p,this.max_lazy=te,this.nice_length=re,this.max_chain=I,this.func=$}var Se;Se=[new he(0,0,0,0,Ze),new he(4,4,8,4,K),new he(4,5,16,8,K),new he(4,6,32,32,K),new he(4,4,16,16,Q),new he(8,16,32,32,Q),new he(8,16,128,128,Q),new he(8,32,128,256,Q),new he(32,128,258,1024,Q),new he(32,258,258,4096,Q)];function Re(p){p.window_size=2*p.w_size,ke(p.head),p.max_lazy_match=Se[p.level].max_lazy,p.good_match=Se[p.level].good_length,p.nice_match=Se[p.level].nice_length,p.max_chain_length=Se[p.level].max_chain,p.strstart=0,p.block_start=0,p.lookahead=0,p.insert=0,p.match_length=p.prev_length=P-1,p.match_available=0,p.ins_h=0}function A(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=x,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new e.Buf16(N*2),this.dyn_dtree=new e.Buf16((2*R+1)*2),this.bl_tree=new e.Buf16((2*q+1)*2),ke(this.dyn_ltree),ke(this.dyn_dtree),ke(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new e.Buf16(V+1),this.heap=new e.Buf16(2*S+1),ke(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new e.Buf16(2*S+1),ke(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function ne(p){var te;return!p||!p.state?we(p,c):(p.total_in=p.total_out=0,p.data_type=E,te=p.state,te.pending=0,te.pending_out=0,te.wrap<0&&(te.wrap=-te.wrap),te.status=te.wrap?Y:U,p.adler=te.wrap===2?0:1,te.last_flush=t,n._tr_init(te),l)}function se(p){var te=ne(p);return te===l&&Re(p.state),te}function fe(p,te){return!p||!p.state||p.state.wrap!==2?c:(p.state.gzhead=te,l)}function Z(p,te,re,I,$,ee){if(!p)return c;var _e=1;if(te===y&&(te=6),I<0?(_e=0,I=-I):I>15&&(_e=2,I-=16),$<1||$>O||re!==x||I<8||I>15||te<0||te>9||ee<0||ee>w)return we(p,c);I===8&&(I=9);var de=new A;return p.state=de,de.strm=p,de.wrap=_e,de.gzhead=null,de.w_bits=I,de.w_size=1<<de.w_bits,de.w_mask=de.w_size-1,de.hash_bits=$+7,de.hash_size=1<<de.hash_bits,de.hash_mask=de.hash_size-1,de.hash_shift=~~((de.hash_bits+P-1)/P),de.window=new e.Buf8(de.w_size*2),de.head=new e.Buf16(de.hash_size),de.prev=new e.Buf16(de.w_size),de.lit_bufsize=1<<$+6,de.pending_buf_size=de.lit_bufsize*4,de.pending_buf=new e.Buf8(de.pending_buf_size),de.d_buf=1*de.lit_bufsize,de.l_buf=3*de.lit_bufsize,de.level=te,de.strategy=ee,de.method=re,se(p)}function ie(p,te){return Z(p,te,x,C,D,v)}function T(p,te){var re,I,$,ee;if(!p||!p.state||te>f||te<0)return p?we(p,c):c;if(I=p.state,!p.output||!p.input&&p.avail_in!==0||I.status===X&&te!==d)return we(p,p.avail_out===0?m:c);if(I.strm=p,re=I.last_flush,I.last_flush=te,I.status===Y)if(I.wrap===2)p.adler=0,Ee(I,31),Ee(I,139),Ee(I,8),I.gzhead?(Ee(I,(I.gzhead.text?1:0)+(I.gzhead.hcrc?2:0)+(I.gzhead.extra?4:0)+(I.gzhead.name?8:0)+(I.gzhead.comment?16:0)),Ee(I,I.gzhead.time&255),Ee(I,I.gzhead.time>>8&255),Ee(I,I.gzhead.time>>16&255),Ee(I,I.gzhead.time>>24&255),Ee(I,I.level===9?2:I.strategy>=u||I.level<2?4:0),Ee(I,I.gzhead.os&255),I.gzhead.extra&&I.gzhead.extra.length&&(Ee(I,I.gzhead.extra.length&255),Ee(I,I.gzhead.extra.length>>8&255)),I.gzhead.hcrc&&(p.adler=i(p.adler,I.pending_buf,I.pending,0)),I.gzindex=0,I.status=z):(Ee(I,0),Ee(I,0),Ee(I,0),Ee(I,0),Ee(I,0),Ee(I,I.level===9?2:I.strategy>=u||I.level<2?4:0),Ee(I,me),I.status=U);else{var _e=x+(I.w_bits-8<<4)<<8,de=-1;I.strategy>=u||I.level<2?de=0:I.level<6?de=1:I.level===6?de=2:de=3,_e|=de<<6,I.strstart!==0&&(_e|=F),_e+=31-_e%31,I.status=U,Ue(I,_e),I.strstart!==0&&(Ue(I,p.adler>>>16),Ue(I,p.adler&65535)),p.adler=1}if(I.status===z)if(I.gzhead.extra){for($=I.pending;I.gzindex<(I.gzhead.extra.length&65535)&&!(I.pending===I.pending_buf_size&&(I.gzhead.hcrc&&I.pending>$&&(p.adler=i(p.adler,I.pending_buf,I.pending-$,$)),je(p),$=I.pending,I.pending===I.pending_buf_size));)Ee(I,I.gzhead.extra[I.gzindex]&255),I.gzindex++;I.gzhead.hcrc&&I.pending>$&&(p.adler=i(p.adler,I.pending_buf,I.pending-$,$)),I.gzindex===I.gzhead.extra.length&&(I.gzindex=0,I.status=B)}else I.status=B;if(I.status===B)if(I.gzhead.name){$=I.pending;do{if(I.pending===I.pending_buf_size&&(I.gzhead.hcrc&&I.pending>$&&(p.adler=i(p.adler,I.pending_buf,I.pending-$,$)),je(p),$=I.pending,I.pending===I.pending_buf_size)){ee=1;break}I.gzindex<I.gzhead.name.length?ee=I.gzhead.name.charCodeAt(I.gzindex++)&255:ee=0,Ee(I,ee)}while(ee!==0);I.gzhead.hcrc&&I.pending>$&&(p.adler=i(p.adler,I.pending_buf,I.pending-$,$)),ee===0&&(I.gzindex=0,I.status=L)}else I.status=L;if(I.status===L)if(I.gzhead.comment){$=I.pending;do{if(I.pending===I.pending_buf_size&&(I.gzhead.hcrc&&I.pending>$&&(p.adler=i(p.adler,I.pending_buf,I.pending-$,$)),je(p),$=I.pending,I.pending===I.pending_buf_size)){ee=1;break}I.gzindex<I.gzhead.comment.length?ee=I.gzhead.comment.charCodeAt(I.gzindex++)&255:ee=0,Ee(I,ee)}while(ee!==0);I.gzhead.hcrc&&I.pending>$&&(p.adler=i(p.adler,I.pending_buf,I.pending-$,$)),ee===0&&(I.status=M)}else I.status=M;if(I.status===M&&(I.gzhead.hcrc?(I.pending+2>I.pending_buf_size&&je(p),I.pending+2<=I.pending_buf_size&&(Ee(I,p.adler&255),Ee(I,p.adler>>8&255),p.adler=0,I.status=U)):I.status=U),I.pending!==0){if(je(p),p.avail_out===0)return I.last_flush=-1,l}else if(p.avail_in===0&&Ce(te)<=Ce(re)&&te!==d)return we(p,m);if(I.status===X&&p.avail_in!==0)return we(p,m);if(p.avail_in!==0||I.lookahead!==0||te!==t&&I.status!==X){var pe=I.strategy===u?ge(I,te):I.strategy===_?ce(I,te):Se[I.level].func(I,te);if((pe===ue||pe===ve)&&(I.status=X),pe===J||pe===ue)return p.avail_out===0&&(I.last_flush=-1),l;if(pe===ae&&(te===r?n._tr_align(I):te!==f&&(n._tr_stored_block(I,0,0,!1),te===s&&(ke(I.head),I.lookahead===0&&(I.strstart=0,I.block_start=0,I.insert=0))),je(p),p.avail_out===0))return I.last_flush=-1,l}return te!==d?l:I.wrap<=0?h:(I.wrap===2?(Ee(I,p.adler&255),Ee(I,p.adler>>8&255),Ee(I,p.adler>>16&255),Ee(I,p.adler>>24&255),Ee(I,p.total_in&255),Ee(I,p.total_in>>8&255),Ee(I,p.total_in>>16&255),Ee(I,p.total_in>>24&255)):(Ue(I,p.adler>>>16),Ue(I,p.adler&65535)),je(p),I.wrap>0&&(I.wrap=-I.wrap),I.pending!==0?l:h)}function oe(p){var te;return!p||!p.state?c:(te=p.state.status,te!==Y&&te!==z&&te!==B&&te!==L&&te!==M&&te!==U&&te!==X?we(p,c):(p.state=null,te===U?we(p,b):l))}function be(p,te){var re=te.length,I,$,ee,_e,de,pe,xe,gt;if(!p||!p.state||(I=p.state,_e=I.wrap,_e===2||_e===1&&I.status!==Y||I.lookahead))return c;for(_e===1&&(p.adler=o(p.adler,te,re,0)),I.wrap=0,re>=I.w_size&&(_e===0&&(ke(I.head),I.strstart=0,I.block_start=0,I.insert=0),gt=new e.Buf8(I.w_size),e.arraySet(gt,te,re-I.w_size,I.w_size,0),te=gt,re=I.w_size),de=p.avail_in,pe=p.next_in,xe=p.input,p.avail_in=re,p.next_in=0,p.input=te,De(I);I.lookahead>=P;){$=I.strstart,ee=I.lookahead-(P-1);do I.ins_h=(I.ins_h<<I.hash_shift^I.window[$+P-1])&I.hash_mask,I.prev[$&I.w_mask]=I.head[I.ins_h],I.head[I.ins_h]=$,$++;while(--ee);I.strstart=$,I.lookahead=P-1,De(I)}return I.strstart+=I.lookahead,I.block_start=I.strstart,I.insert=I.lookahead,I.lookahead=0,I.match_length=I.prev_length=P-1,I.match_available=0,p.next_in=pe,p.input=xe,p.avail_in=de,I.wrap=_e,l}return ot.deflateInit=ie,ot.deflateInit2=Z,ot.deflateReset=se,ot.deflateResetKeep=ne,ot.deflateSetHeader=fe,ot.deflate=T,ot.deflateEnd=oe,ot.deflateSetDictionary=be,ot.deflateInfo="pako deflate (from Nodeca project)",ot}var An,Es;function Xp(){if(Es)return An;Es=1;function e(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}return An=e,An}var it={},Cn,Ss;function Qp(){if(Ss)return Cn;Ss=1;var e=30,n=12;return Cn=function(i,a){var t,r,s,d,f,l,h,c,b,m,y,g,u,_,w,v,E,x,O,C,D,W,H,S,R;t=i.state,r=i.next_in,S=i.input,s=r+(i.avail_in-5),d=i.next_out,R=i.output,f=d-(a-i.avail_out),l=d+(i.avail_out-257),h=t.dmax,c=t.wsize,b=t.whave,m=t.wnext,y=t.window,g=t.hold,u=t.bits,_=t.lencode,w=t.distcode,v=(1<<t.lenbits)-1,E=(1<<t.distbits)-1;e:do{u<15&&(g+=S[r++]<<u,u+=8,g+=S[r++]<<u,u+=8),x=_[g&v];t:for(;;){if(O=x>>>24,g>>>=O,u-=O,O=x>>>16&255,O===0)R[d++]=x&65535;else if(O&16){C=x&65535,O&=15,O&&(u<O&&(g+=S[r++]<<u,u+=8),C+=g&(1<<O)-1,g>>>=O,u-=O),u<15&&(g+=S[r++]<<u,u+=8,g+=S[r++]<<u,u+=8),x=w[g&E];r:for(;;){if(O=x>>>24,g>>>=O,u-=O,O=x>>>16&255,O&16){if(D=x&65535,O&=15,u<O&&(g+=S[r++]<<u,u+=8,u<O&&(g+=S[r++]<<u,u+=8)),D+=g&(1<<O)-1,D>h){i.msg="invalid distance too far back",t.mode=e;break e}if(g>>>=O,u-=O,O=d-f,D>O){if(O=D-O,O>b&&t.sane){i.msg="invalid distance too far back",t.mode=e;break e}if(W=0,H=y,m===0){if(W+=c-O,O<C){C-=O;do R[d++]=y[W++];while(--O);W=d-D,H=R}}else if(m<O){if(W+=c+m-O,O-=m,O<C){C-=O;do R[d++]=y[W++];while(--O);if(W=0,m<C){O=m,C-=O;do R[d++]=y[W++];while(--O);W=d-D,H=R}}}else if(W+=m-O,O<C){C-=O;do R[d++]=y[W++];while(--O);W=d-D,H=R}for(;C>2;)R[d++]=H[W++],R[d++]=H[W++],R[d++]=H[W++],C-=3;C&&(R[d++]=H[W++],C>1&&(R[d++]=H[W++]))}else{W=d-D;do R[d++]=R[W++],R[d++]=R[W++],R[d++]=R[W++],C-=3;while(C>2);C&&(R[d++]=R[W++],C>1&&(R[d++]=R[W++]))}}else if((O&64)===0){x=w[(x&65535)+(g&(1<<O)-1)];continue r}else{i.msg="invalid distance code",t.mode=e;break e}break}}else if((O&64)===0){x=_[(x&65535)+(g&(1<<O)-1)];continue t}else if(O&32){t.mode=n;break e}else{i.msg="invalid literal/length code",t.mode=e;break e}break}}while(r<s&&d<l);C=u>>3,r-=C,u-=C<<3,g&=(1<<u)-1,i.next_in=r,i.next_out=d,i.avail_in=r<s?5+(s-r):5-(r-s),i.avail_out=d<l?257+(l-d):257-(d-l),t.hold=g,t.bits=u},Cn}var Pn,Rs;function em(){if(Rs)return Pn;Rs=1;var e=dn(),n=15,o=852,i=592,a=0,t=1,r=2,s=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],d=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],f=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];return Pn=function(c,b,m,y,g,u,_,w){var v=w.bits,E=0,x=0,O=0,C=0,D=0,W=0,H=0,S=0,R=0,q=0,N,V,P,j,k,F=null,Y=0,z,B=new e.Buf16(n+1),L=new e.Buf16(n+1),M=null,U=0,X,J,ae;for(E=0;E<=n;E++)B[E]=0;for(x=0;x<y;x++)B[b[m+x]]++;for(D=v,C=n;C>=1&&B[C]===0;C--);if(D>C&&(D=C),C===0)return g[u++]=1<<24|64<<16|0,g[u++]=1<<24|64<<16|0,w.bits=1,0;for(O=1;O<C&&B[O]===0;O++);for(D<O&&(D=O),S=1,E=1;E<=n;E++)if(S<<=1,S-=B[E],S<0)return-1;if(S>0&&(c===a||C!==1))return-1;for(L[1]=0,E=1;E<n;E++)L[E+1]=L[E]+B[E];for(x=0;x<y;x++)b[m+x]!==0&&(_[L[b[m+x]]++]=x);if(c===a?(F=M=_,z=19):c===t?(F=s,Y-=257,M=d,U-=257,z=256):(F=f,M=l,z=-1),q=0,x=0,E=O,k=u,W=D,H=0,P=-1,R=1<<D,j=R-1,c===t&&R>o||c===r&&R>i)return 1;for(;;){X=E-H,_[x]<z?(J=0,ae=_[x]):_[x]>z?(J=M[U+_[x]],ae=F[Y+_[x]]):(J=96,ae=0),N=1<<E-H,V=1<<W,O=V;do V-=N,g[k+(q>>H)+V]=X<<24|J<<16|ae|0;while(V!==0);for(N=1<<E-1;q&N;)N>>=1;if(N!==0?(q&=N-1,q+=N):q=0,x++,--B[E]===0){if(E===C)break;E=b[m+_[x]]}if(E>D&&(q&j)!==P){for(H===0&&(H=D),k+=O,W=E-H,S=1<<W;W+H<C&&(S-=B[W+H],!(S<=0));)W++,S<<=1;if(R+=1<<W,c===t&&R>o||c===r&&R>i)return 1;P=q&j,g[P]=D<<24|W<<16|k-u|0}}return q!==0&&(g[k+q]=E-H<<24|64<<16|0),w.bits=D,0},Pn}var Os;function tm(){if(Os)return it;Os=1;var e=dn(),n=Wl(),o=Kl(),i=Qp(),a=em(),t=0,r=1,s=2,d=4,f=5,l=6,h=0,c=1,b=2,m=-2,y=-3,g=-4,u=-5,_=8,w=1,v=2,E=3,x=4,O=5,C=6,D=7,W=8,H=9,S=10,R=11,q=12,N=13,V=14,P=15,j=16,k=17,F=18,Y=19,z=20,B=21,L=22,M=23,U=24,X=25,J=26,ae=27,ue=28,ve=29,me=30,we=31,Ce=32,ke=852,je=592,Ie=15,Ee=Ie;function Ue(Z){return(Z>>>24&255)+(Z>>>8&65280)+((Z&65280)<<8)+((Z&255)<<24)}function at(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new e.Buf16(320),this.work=new e.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Le(Z){var ie;return!Z||!Z.state?m:(ie=Z.state,Z.total_in=Z.total_out=ie.total=0,Z.msg="",ie.wrap&&(Z.adler=ie.wrap&1),ie.mode=w,ie.last=0,ie.havedict=0,ie.dmax=32768,ie.head=null,ie.hold=0,ie.bits=0,ie.lencode=ie.lendyn=new e.Buf32(ke),ie.distcode=ie.distdyn=new e.Buf32(je),ie.sane=1,ie.back=-1,h)}function De(Z){var ie;return!Z||!Z.state?m:(ie=Z.state,ie.wsize=0,ie.whave=0,ie.wnext=0,Le(Z))}function Ze(Z,ie){var T,oe;return!Z||!Z.state||(oe=Z.state,ie<0?(T=0,ie=-ie):(T=(ie>>4)+1,ie<48&&(ie&=15)),ie&&(ie<8||ie>15))?m:(oe.window!==null&&oe.wbits!==ie&&(oe.window=null),oe.wrap=T,oe.wbits=ie,De(Z))}function K(Z,ie){var T,oe;return Z?(oe=new at,Z.state=oe,oe.window=null,T=Ze(Z,ie),T!==h&&(Z.state=null),T):m}function Q(Z){return K(Z,Ee)}var ce=!0,ge,he;function Se(Z){if(ce){var ie;for(ge=new e.Buf32(512),he=new e.Buf32(32),ie=0;ie<144;)Z.lens[ie++]=8;for(;ie<256;)Z.lens[ie++]=9;for(;ie<280;)Z.lens[ie++]=7;for(;ie<288;)Z.lens[ie++]=8;for(a(r,Z.lens,0,288,ge,0,Z.work,{bits:9}),ie=0;ie<32;)Z.lens[ie++]=5;a(s,Z.lens,0,32,he,0,Z.work,{bits:5}),ce=!1}Z.lencode=ge,Z.lenbits=9,Z.distcode=he,Z.distbits=5}function Re(Z,ie,T,oe){var be,p=Z.state;return p.window===null&&(p.wsize=1<<p.wbits,p.wnext=0,p.whave=0,p.window=new e.Buf8(p.wsize)),oe>=p.wsize?(e.arraySet(p.window,ie,T-p.wsize,p.wsize,0),p.wnext=0,p.whave=p.wsize):(be=p.wsize-p.wnext,be>oe&&(be=oe),e.arraySet(p.window,ie,T-oe,be,p.wnext),oe-=be,oe?(e.arraySet(p.window,ie,T-oe,oe,0),p.wnext=oe,p.whave=p.wsize):(p.wnext+=be,p.wnext===p.wsize&&(p.wnext=0),p.whave<p.wsize&&(p.whave+=be))),0}function A(Z,ie){var T,oe,be,p,te,re,I,$,ee,_e,de,pe,xe,gt,qe=0,Ae,Fe,Ye,Xe,pr,mr,Me,nt,ze=new e.Buf8(4),vt,ht,ls=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!Z||!Z.state||!Z.output||!Z.input&&Z.avail_in!==0)return m;T=Z.state,T.mode===q&&(T.mode=N),te=Z.next_out,be=Z.output,I=Z.avail_out,p=Z.next_in,oe=Z.input,re=Z.avail_in,$=T.hold,ee=T.bits,_e=re,de=I,nt=h;e:for(;;)switch(T.mode){case w:if(T.wrap===0){T.mode=N;break}for(;ee<16;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}if(T.wrap&2&&$===35615){T.check=0,ze[0]=$&255,ze[1]=$>>>8&255,T.check=o(T.check,ze,2,0),$=0,ee=0,T.mode=v;break}if(T.flags=0,T.head&&(T.head.done=!1),!(T.wrap&1)||((($&255)<<8)+($>>8))%31){Z.msg="incorrect header check",T.mode=me;break}if(($&15)!==_){Z.msg="unknown compression method",T.mode=me;break}if($>>>=4,ee-=4,Me=($&15)+8,T.wbits===0)T.wbits=Me;else if(Me>T.wbits){Z.msg="invalid window size",T.mode=me;break}T.dmax=1<<Me,Z.adler=T.check=1,T.mode=$&512?S:q,$=0,ee=0;break;case v:for(;ee<16;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}if(T.flags=$,(T.flags&255)!==_){Z.msg="unknown compression method",T.mode=me;break}if(T.flags&57344){Z.msg="unknown header flags set",T.mode=me;break}T.head&&(T.head.text=$>>8&1),T.flags&512&&(ze[0]=$&255,ze[1]=$>>>8&255,T.check=o(T.check,ze,2,0)),$=0,ee=0,T.mode=E;case E:for(;ee<32;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}T.head&&(T.head.time=$),T.flags&512&&(ze[0]=$&255,ze[1]=$>>>8&255,ze[2]=$>>>16&255,ze[3]=$>>>24&255,T.check=o(T.check,ze,4,0)),$=0,ee=0,T.mode=x;case x:for(;ee<16;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}T.head&&(T.head.xflags=$&255,T.head.os=$>>8),T.flags&512&&(ze[0]=$&255,ze[1]=$>>>8&255,T.check=o(T.check,ze,2,0)),$=0,ee=0,T.mode=O;case O:if(T.flags&1024){for(;ee<16;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}T.length=$,T.head&&(T.head.extra_len=$),T.flags&512&&(ze[0]=$&255,ze[1]=$>>>8&255,T.check=o(T.check,ze,2,0)),$=0,ee=0}else T.head&&(T.head.extra=null);T.mode=C;case C:if(T.flags&1024&&(pe=T.length,pe>re&&(pe=re),pe&&(T.head&&(Me=T.head.extra_len-T.length,T.head.extra||(T.head.extra=new Array(T.head.extra_len)),e.arraySet(T.head.extra,oe,p,pe,Me)),T.flags&512&&(T.check=o(T.check,oe,pe,p)),re-=pe,p+=pe,T.length-=pe),T.length))break e;T.length=0,T.mode=D;case D:if(T.flags&2048){if(re===0)break e;pe=0;do Me=oe[p+pe++],T.head&&Me&&T.length<65536&&(T.head.name+=String.fromCharCode(Me));while(Me&&pe<re);if(T.flags&512&&(T.check=o(T.check,oe,pe,p)),re-=pe,p+=pe,Me)break e}else T.head&&(T.head.name=null);T.length=0,T.mode=W;case W:if(T.flags&4096){if(re===0)break e;pe=0;do Me=oe[p+pe++],T.head&&Me&&T.length<65536&&(T.head.comment+=String.fromCharCode(Me));while(Me&&pe<re);if(T.flags&512&&(T.check=o(T.check,oe,pe,p)),re-=pe,p+=pe,Me)break e}else T.head&&(T.head.comment=null);T.mode=H;case H:if(T.flags&512){for(;ee<16;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}if($!==(T.check&65535)){Z.msg="header crc mismatch",T.mode=me;break}$=0,ee=0}T.head&&(T.head.hcrc=T.flags>>9&1,T.head.done=!0),Z.adler=T.check=0,T.mode=q;break;case S:for(;ee<32;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}Z.adler=T.check=Ue($),$=0,ee=0,T.mode=R;case R:if(T.havedict===0)return Z.next_out=te,Z.avail_out=I,Z.next_in=p,Z.avail_in=re,T.hold=$,T.bits=ee,b;Z.adler=T.check=1,T.mode=q;case q:if(ie===f||ie===l)break e;case N:if(T.last){$>>>=ee&7,ee-=ee&7,T.mode=ae;break}for(;ee<3;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}switch(T.last=$&1,$>>>=1,ee-=1,$&3){case 0:T.mode=V;break;case 1:if(Se(T),T.mode=z,ie===l){$>>>=2,ee-=2;break e}break;case 2:T.mode=k;break;case 3:Z.msg="invalid block type",T.mode=me}$>>>=2,ee-=2;break;case V:for($>>>=ee&7,ee-=ee&7;ee<32;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}if(($&65535)!==($>>>16^65535)){Z.msg="invalid stored block lengths",T.mode=me;break}if(T.length=$&65535,$=0,ee=0,T.mode=P,ie===l)break e;case P:T.mode=j;case j:if(pe=T.length,pe){if(pe>re&&(pe=re),pe>I&&(pe=I),pe===0)break e;e.arraySet(be,oe,p,pe,te),re-=pe,p+=pe,I-=pe,te+=pe,T.length-=pe;break}T.mode=q;break;case k:for(;ee<14;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}if(T.nlen=($&31)+257,$>>>=5,ee-=5,T.ndist=($&31)+1,$>>>=5,ee-=5,T.ncode=($&15)+4,$>>>=4,ee-=4,T.nlen>286||T.ndist>30){Z.msg="too many length or distance symbols",T.mode=me;break}T.have=0,T.mode=F;case F:for(;T.have<T.ncode;){for(;ee<3;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}T.lens[ls[T.have++]]=$&7,$>>>=3,ee-=3}for(;T.have<19;)T.lens[ls[T.have++]]=0;if(T.lencode=T.lendyn,T.lenbits=7,vt={bits:T.lenbits},nt=a(t,T.lens,0,19,T.lencode,0,T.work,vt),T.lenbits=vt.bits,nt){Z.msg="invalid code lengths set",T.mode=me;break}T.have=0,T.mode=Y;case Y:for(;T.have<T.nlen+T.ndist;){for(;qe=T.lencode[$&(1<<T.lenbits)-1],Ae=qe>>>24,Fe=qe>>>16&255,Ye=qe&65535,!(Ae<=ee);){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}if(Ye<16)$>>>=Ae,ee-=Ae,T.lens[T.have++]=Ye;else{if(Ye===16){for(ht=Ae+2;ee<ht;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}if($>>>=Ae,ee-=Ae,T.have===0){Z.msg="invalid bit length repeat",T.mode=me;break}Me=T.lens[T.have-1],pe=3+($&3),$>>>=2,ee-=2}else if(Ye===17){for(ht=Ae+3;ee<ht;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}$>>>=Ae,ee-=Ae,Me=0,pe=3+($&7),$>>>=3,ee-=3}else{for(ht=Ae+7;ee<ht;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}$>>>=Ae,ee-=Ae,Me=0,pe=11+($&127),$>>>=7,ee-=7}if(T.have+pe>T.nlen+T.ndist){Z.msg="invalid bit length repeat",T.mode=me;break}for(;pe--;)T.lens[T.have++]=Me}}if(T.mode===me)break;if(T.lens[256]===0){Z.msg="invalid code -- missing end-of-block",T.mode=me;break}if(T.lenbits=9,vt={bits:T.lenbits},nt=a(r,T.lens,0,T.nlen,T.lencode,0,T.work,vt),T.lenbits=vt.bits,nt){Z.msg="invalid literal/lengths set",T.mode=me;break}if(T.distbits=6,T.distcode=T.distdyn,vt={bits:T.distbits},nt=a(s,T.lens,T.nlen,T.ndist,T.distcode,0,T.work,vt),T.distbits=vt.bits,nt){Z.msg="invalid distances set",T.mode=me;break}if(T.mode=z,ie===l)break e;case z:T.mode=B;case B:if(re>=6&&I>=258){Z.next_out=te,Z.avail_out=I,Z.next_in=p,Z.avail_in=re,T.hold=$,T.bits=ee,i(Z,de),te=Z.next_out,be=Z.output,I=Z.avail_out,p=Z.next_in,oe=Z.input,re=Z.avail_in,$=T.hold,ee=T.bits,T.mode===q&&(T.back=-1);break}for(T.back=0;qe=T.lencode[$&(1<<T.lenbits)-1],Ae=qe>>>24,Fe=qe>>>16&255,Ye=qe&65535,!(Ae<=ee);){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}if(Fe&&(Fe&240)===0){for(Xe=Ae,pr=Fe,mr=Ye;qe=T.lencode[mr+(($&(1<<Xe+pr)-1)>>Xe)],Ae=qe>>>24,Fe=qe>>>16&255,Ye=qe&65535,!(Xe+Ae<=ee);){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}$>>>=Xe,ee-=Xe,T.back+=Xe}if($>>>=Ae,ee-=Ae,T.back+=Ae,T.length=Ye,Fe===0){T.mode=J;break}if(Fe&32){T.back=-1,T.mode=q;break}if(Fe&64){Z.msg="invalid literal/length code",T.mode=me;break}T.extra=Fe&15,T.mode=L;case L:if(T.extra){for(ht=T.extra;ee<ht;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}T.length+=$&(1<<T.extra)-1,$>>>=T.extra,ee-=T.extra,T.back+=T.extra}T.was=T.length,T.mode=M;case M:for(;qe=T.distcode[$&(1<<T.distbits)-1],Ae=qe>>>24,Fe=qe>>>16&255,Ye=qe&65535,!(Ae<=ee);){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}if((Fe&240)===0){for(Xe=Ae,pr=Fe,mr=Ye;qe=T.distcode[mr+(($&(1<<Xe+pr)-1)>>Xe)],Ae=qe>>>24,Fe=qe>>>16&255,Ye=qe&65535,!(Xe+Ae<=ee);){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}$>>>=Xe,ee-=Xe,T.back+=Xe}if($>>>=Ae,ee-=Ae,T.back+=Ae,Fe&64){Z.msg="invalid distance code",T.mode=me;break}T.offset=Ye,T.extra=Fe&15,T.mode=U;case U:if(T.extra){for(ht=T.extra;ee<ht;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}T.offset+=$&(1<<T.extra)-1,$>>>=T.extra,ee-=T.extra,T.back+=T.extra}if(T.offset>T.dmax){Z.msg="invalid distance too far back",T.mode=me;break}T.mode=X;case X:if(I===0)break e;if(pe=de-I,T.offset>pe){if(pe=T.offset-pe,pe>T.whave&&T.sane){Z.msg="invalid distance too far back",T.mode=me;break}pe>T.wnext?(pe-=T.wnext,xe=T.wsize-pe):xe=T.wnext-pe,pe>T.length&&(pe=T.length),gt=T.window}else gt=be,xe=te-T.offset,pe=T.length;pe>I&&(pe=I),I-=pe,T.length-=pe;do be[te++]=gt[xe++];while(--pe);T.length===0&&(T.mode=B);break;case J:if(I===0)break e;be[te++]=T.length,I--,T.mode=B;break;case ae:if(T.wrap){for(;ee<32;){if(re===0)break e;re--,$|=oe[p++]<<ee,ee+=8}if(de-=I,Z.total_out+=de,T.total+=de,de&&(Z.adler=T.check=T.flags?o(T.check,be,de,te-de):n(T.check,be,de,te-de)),de=I,(T.flags?$:Ue($))!==T.check){Z.msg="incorrect data check",T.mode=me;break}$=0,ee=0}T.mode=ue;case ue:if(T.wrap&&T.flags){for(;ee<32;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}if($!==(T.total&4294967295)){Z.msg="incorrect length check",T.mode=me;break}$=0,ee=0}T.mode=ve;case ve:nt=c;break e;case me:nt=y;break e;case we:return g;case Ce:default:return m}return Z.next_out=te,Z.avail_out=I,Z.next_in=p,Z.avail_in=re,T.hold=$,T.bits=ee,(T.wsize||de!==Z.avail_out&&T.mode<me&&(T.mode<ae||ie!==d))&&Re(Z,Z.output,Z.next_out,de-Z.avail_out),_e-=Z.avail_in,de-=Z.avail_out,Z.total_in+=_e,Z.total_out+=de,T.total+=de,T.wrap&&de&&(Z.adler=T.check=T.flags?o(T.check,be,de,Z.next_out-de):n(T.check,be,de,Z.next_out-de)),Z.data_type=T.bits+(T.last?64:0)+(T.mode===q?128:0)+(T.mode===z||T.mode===P?256:0),(_e===0&&de===0||ie===d)&&nt===h&&(nt=u),nt}function ne(Z){if(!Z||!Z.state)return m;var ie=Z.state;return ie.window&&(ie.window=null),Z.state=null,h}function se(Z,ie){var T;return!Z||!Z.state||(T=Z.state,(T.wrap&2)===0)?m:(T.head=ie,ie.done=!1,h)}function fe(Z,ie){var T=ie.length,oe,be,p;return!Z||!Z.state||(oe=Z.state,oe.wrap!==0&&oe.mode!==R)?m:oe.mode===R&&(be=1,be=n(be,ie,T,0),be!==oe.check)?y:(p=Re(Z,ie,T,T),p?(oe.mode=we,g):(oe.havedict=1,h))}return it.inflateReset=De,it.inflateReset2=Ze,it.inflateResetKeep=Le,it.inflateInit=Q,it.inflateInit2=K,it.inflate=A,it.inflateEnd=ne,it.inflateGetHeader=se,it.inflateSetDictionary=fe,it.inflateInfo="pako inflate (from Nodeca project)",it}var kn,Ts;function rm(){return Ts||(Ts=1,kn={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}),kn}const Dt=()=>{const[e,n]=Yl(),[o,i]=le.useState(),a=le.useRef(!1);return le.useEffect(()=>{if(a.current===!0||!(e.has("thread_id")||e.has("entity_type")||e.has("company_id")))return;const r=fp(e);r!=null&&i(r);const s=new URLSearchParams(e);s.delete("thread_id"),s.delete("entity_type"),s.delete("company_id"),n(s,{replace:!0}),a.current=!0},[e,n]),o},nm={overlayWidth:new ut(100,100,50)},{common:{strings:xs}}=sr.getLocalizedStrings();function im(e,n){return{headerActions:{onTabChange:o=>{const i=Nt(o),a=Vt(o);Ge.trackCockpitTabClicked(a),n.navigate(`../../${i}`,{replace:!0})},filterActions:{onFilterTextChanged:(o,i)=>{e(gr({uiState:{filterText:i}}))},onFiltersChange:(o,i)=>{i.categories!=null&&i.categoryCombinationOperator!=null&&Ge.trackHealthMonitorFiltersApplied({filterSelection:{condition:i.categories.map(a=>a.matchingOperator).join(xs.comma),logic:i.categoryCombinationOperator,parameter:i.categories.map(a=>a.field).join(xs.comma)}}),e(gr({uiState:{filters:i}}))}}},healthPageActions:{onRowClick:o=>{e(Il(o))},onColumnSortConfigChanged:(o,i)=>{e(gr({uiState:{sortKey:o,sortOrder:i}}))},onCockpitReloadData:o=>{o==="healthMonitor"&&e(xl())},onFiltersChange:o=>{e(gr({uiState:{filters:o}}))}}}}function am(e,n){return{headerData:{selectedTabOption:xt("healthMonitor")},healthPageData:{healthView:n.healthView,managementView:n.managementView,mixpanelUrl:n.mixpanelHMUrl}}}const om=$e(am,im)(pp);function jn({isDrawerOpen:e}){const n=Ve(),o=Ke(),i=Gt(),a=sn(),{companyId:t}=ct(),[r,s]=Yl(),[d,f]=le.useState(!1),l=Dt(),h=Oe(v=>Yh(v)),c=Oe(v=>ar(v)),{additionalChurnFactors:b}=Oe(v=>Wh(v)),{selectedCompanyDetail:m,selectedCompanyId:y,localFormDataAndStatusByCompanyId:g}=h,u=Oe(v=>v.companyViewState.zeniUsers.fetchState),_=Oe(v=>v.companyHealthMetricConfigViewState);if(le.useEffect(()=>{const v=E=>E==="Not-Started"||E==="Error";h.fetchState==="Completed"?o(Lt(!1)):v(h.fetchState)&&(o(xl()),v(u)&&o(Tt()),v(_.fetchState)&&o(Kh()))},[h.fetchState,_.fetchState]),le.useEffect(()=>{t!=null&&h.fetchState==="Completed"&&r.has("utm_source")===!0&&(o(Il(t)),m!=null&&(lp(),Ge.trackCockpitHealthMonitorNotificationAlertClicked({companyId:m.companyInfo.companyId,companyName:m.companyInfo.name,churnProbability:m.companyHealthMetric.churnProbabilityPercentage??null}),f(!0),r.delete("utm_source"),s(r)))},[h.fetchState,m?.companyInfo.companyId,m?.companyInfo.name]),We.getSignedInUser()==null)throw Error("Can't access Health Monitor page without signing in...");return G.jsxs(G.Fragment,{children:[e===!0||y!=null&&m!=null?G.jsx(ln,{anchor:"right",open:y!=null,PaperProps:{style:{width:nm.overlayWidth.valuePercentage(a),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:i.colors.black,opacity:.75,cursor:"pointer"}}},onClose:()=>o(hs()),children:G.jsx(hp,{roomId:`cockpit_${y}`,autoConnect:!0,children:G.jsx(dp,{onSaveClick:()=>{y!=null&&o(Xh(y))},onSaveChangesToLocalStore:v=>{h.selectedCompanyId!=null&&o(Jh({companyId:h.selectedCompanyId,updatedLocalData:v}))},localData:g?.companyHealthMetricLocalData??{netPromoterScore:void 0,externalProductServiceExposure:void 0,additionalChurnFactors:{increasingChurnProbability:[],decreasingChurnProbability:[]}},companyHealthMetricViewSelector:h,onCloseDrawer:()=>o(hs()),analytics:Ge,urlSource:d,additionalChurnFactorsOptions:b})})}):null,G.jsx(om,{initialOpenThreadRequest:l??void 0,healthView:h,managementView:c,navigate:n,mixpanelHMUrl:un.mixpanelHMUrl})]})}const Jl=(e,n)=>{const o=[...e??[]];return o.push(n),o},sm=e=>{const n=[...e??[]];return{poppedPathname:n.pop(),newStack:n}},um=(e=2)=>{let n="../";for(let o=0;o<e;o++)n=`${n}../`;return n},Pe=({state:e,element:n})=>We.isSignedIn()===!0?G.jsx(G.Fragment,{children:n}):G.jsx(tr,{to:"/signin/auth",replace:!0,state:{...e,message:"...",origin:window.location.pathname}});function cm(){return G.jsxs(bt,{children:[G.jsx(Te,{path:"/companies/:companyId",element:G.jsx(Pe,{element:G.jsx(jn,{isDrawerOpen:!0})})}),G.jsx(Te,{path:"/",element:G.jsx(Pe,{element:G.jsx(jn,{})})}),G.jsx(Te,{path:"/*",element:G.jsx(Pe,{element:G.jsx(jn,{})})})]})}const fm={drawerLeftMargin:new ut(0,0,240)};function fr(e){const{isOpen:n,drawerLeftMargin:o,children:i,onClose:a}=e,t=sn(),r=o?.valuePx(t)??fm.drawerLeftMargin.valuePx(t),s=Gt();return G.jsx(ln,{anchor:"right",open:n,PaperProps:{style:{width:`calc(100% - ${r})`}},slotProps:{backdrop:{style:{backgroundColor:s.colors.black,opacity:.8,cursor:"pointer"}}},onClose:a,children:i})}const lm=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?G.jsx(hm,{children:G.jsx(cn,{size:"ExtraLarge",start:!0})}):null,hm=tt.div`
|
|
1
|
+
import{FP as Yh,FQ as ar,FR as Wh,jd as Lt,hQ as xl,jf as Tt,hN as Kh,hU as Il,FS as hs,hW as Jh,hX as Xh,FT as gr,FU as or,hj as Qh,FV as an,FW as Do,c$ as ed,fj as Mo,fg as Qr,fo as jt,fm as td,FX as Al,FY as Cl,i9 as rd,i6 as nd,FZ as id,il as ad,ig as ds,ic as od,i1 as sd,F_ as ud,dX as cd,d5 as fd,jr as Pl,F$ as ld,be as Xr,h_ as ps,i3 as hd,qb as kl,je as on,G0 as pt,iB as Fo,G1 as dd,jx as pd,B as et,bi as Bo,G2 as md,hg as gd,G3 as vd,G4 as jl,G5 as yd,oL as ms,og as _d,G6 as bd,om as En,G7 as wd,oo as Ed,G8 as St,od as Sd,cP as Rd,ji as ql,jj as Ll,jh as Uo,jg as Go,jk as Od,G9 as Td,oO as xd,Ga as Id,ov as Ad,oI as Cd,Gb as Pd,oz as kd,Gc as jd,Gd as Yt,Ge as Vo,Gf as qd,Gg as Ld,nh as Nd,nn as Nl,Gh as Dl,gN as Dd,EV as Ml,Gi as Md,EP as Fd,Gj as Bd,Gk as Ud,nq as Gd,Gl as Vd,E_ as $d,EO as zd,rM as Fl,Gm as Sn,Gn as Bl,BX as $o,BJ as Hd,B_ as Ul,BM as Zd,Go as Yd,BR as Wd,BD as Kd,BG as Jd,Gp as Xd,C2 as Qd,BU as ep,bl as tp,bd as rp,Gq as np,Gr as Bt,Gs as ip,Gt as ap,Gu as op,iq as jo,iw as sp,ba as up}from"./zeni-epic-state-BRXzaXEX.js";import{j as G}from"./liveblocks-MdBSm47b.js";import{a as le,p as ye,e as Gl,d as Vl,g as cp}from"./sentry-D4s0taNl.js";import{X as fp,m as Gt,Z as sn,u as lp,a as Ge,z as We,O as hp,Q as dp,b as ut,c as un,d as pp,M as xt,D as sr,g as Vt,h as Nt,$ as cn,o as kt,e as mp,V as gp,t as Rt,i as fn,N as qt,r as vp,s as yp,f as Rn,j as _p,k as $l,l as bp,n as zl,p as Hl,q as qo,W as wp,I as Ep,v as Sp,w as Zl,x as Rp,y as Op,T as Tp,L as xp,A as Ip,B as Ap,C as Cp,E as Pp,F as kp,J as jp,G as qp,Y as Lp,H as Np}from"./index-BFo-bXQg.js";import{f as Dp}from"./analyticsHelper-CQ_NJ64f.js";import{o as Yl,i as Ve,n as Ke,p as ct,g as Oe,h as $e,N as tr,k as bt,l as Te,u as zo,j as Lo}from"./core-DJqJSXg7.js";import{D as ln,n as tt,S as $t}from"./mui-C6GD0jRa.js";import{a as He,b as Mp,c as Fp,d as Bp,e as Ho,f as Up,g as Gp,h as Vp,i as zt,j as $p,k as nr,l as hn,m as zp,n as ur,o as Hp}from"./utils-CPUHikhf.js";import{r as Zo}from"./empty-B21GhML_.js";import{r as cr,a as Zp}from"./index-BxgOoqGm.js";import{r as Yp}from"./index-DgPAMj43.js";import"./recharts-K1p0NQzK.js";import"./lottie-B7ijoRF5.js";import"./analytics-C2zi4yYl.js";import"./lexical-DRk-qy6i.js";import"./url-C8bzLilf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9c856a08-ad03-40d5-beee-4e0fcaae638d",e._sentryDebugIdIdentifier="sentry-dbid-9c856a08-ad03-40d5-beee-4e0fcaae638d")}catch{}})();var On={},gs;function dn(){return gs||(gs=1,function(e){var n=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function o(t,r){return Object.prototype.hasOwnProperty.call(t,r)}e.assign=function(t){for(var r=Array.prototype.slice.call(arguments,1);r.length;){var s=r.shift();if(s){if(typeof s!="object")throw new TypeError(s+"must be non-object");for(var d in s)o(s,d)&&(t[d]=s[d])}}return t},e.shrinkBuf=function(t,r){return t.length===r?t:t.subarray?t.subarray(0,r):(t.length=r,t)};var i={arraySet:function(t,r,s,d,f){if(r.subarray&&t.subarray){t.set(r.subarray(s,s+d),f);return}for(var l=0;l<d;l++)t[f+l]=r[s+l]},flattenChunks:function(t){var r,s,d,f,l,h;for(d=0,r=0,s=t.length;r<s;r++)d+=t[r].length;for(h=new Uint8Array(d),f=0,r=0,s=t.length;r<s;r++)l=t[r],h.set(l,f),f+=l.length;return h}},a={arraySet:function(t,r,s,d,f){for(var l=0;l<d;l++)t[f+l]=r[s+l]},flattenChunks:function(t){return[].concat.apply([],t)}};e.setTyped=function(t){t?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,i)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,a))},e.setTyped(n)}(On)),On}var ot={},It={},vs;function Wp(){if(vs)return It;vs=1;var e=dn(),n=4,o=0,i=1,a=2;function t(A){for(var ne=A.length;--ne>=0;)A[ne]=0}var r=0,s=1,d=2,f=3,l=258,h=29,c=256,b=c+1+h,m=30,y=19,g=2*b+1,u=15,_=16,w=7,v=256,E=16,x=17,O=18,C=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],D=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],W=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],H=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S=512,R=new Array((b+2)*2);t(R);var q=new Array(m*2);t(q);var N=new Array(S);t(N);var V=new Array(l-f+1);t(V);var P=new Array(h);t(P);var j=new Array(m);t(j);function k(A,ne,se,fe,Z){this.static_tree=A,this.extra_bits=ne,this.extra_base=se,this.elems=fe,this.max_length=Z,this.has_stree=A&&A.length}var F,Y,z;function B(A,ne){this.dyn_tree=A,this.max_code=0,this.stat_desc=ne}function L(A){return A<256?N[A]:N[256+(A>>>7)]}function M(A,ne){A.pending_buf[A.pending++]=ne&255,A.pending_buf[A.pending++]=ne>>>8&255}function U(A,ne,se){A.bi_valid>_-se?(A.bi_buf|=ne<<A.bi_valid&65535,M(A,A.bi_buf),A.bi_buf=ne>>_-A.bi_valid,A.bi_valid+=se-_):(A.bi_buf|=ne<<A.bi_valid&65535,A.bi_valid+=se)}function X(A,ne,se){U(A,se[ne*2],se[ne*2+1])}function J(A,ne){var se=0;do se|=A&1,A>>>=1,se<<=1;while(--ne>0);return se>>>1}function ae(A){A.bi_valid===16?(M(A,A.bi_buf),A.bi_buf=0,A.bi_valid=0):A.bi_valid>=8&&(A.pending_buf[A.pending++]=A.bi_buf&255,A.bi_buf>>=8,A.bi_valid-=8)}function ue(A,ne){var se=ne.dyn_tree,fe=ne.max_code,Z=ne.stat_desc.static_tree,ie=ne.stat_desc.has_stree,T=ne.stat_desc.extra_bits,oe=ne.stat_desc.extra_base,be=ne.stat_desc.max_length,p,te,re,I,$,ee,_e=0;for(I=0;I<=u;I++)A.bl_count[I]=0;for(se[A.heap[A.heap_max]*2+1]=0,p=A.heap_max+1;p<g;p++)te=A.heap[p],I=se[se[te*2+1]*2+1]+1,I>be&&(I=be,_e++),se[te*2+1]=I,!(te>fe)&&(A.bl_count[I]++,$=0,te>=oe&&($=T[te-oe]),ee=se[te*2],A.opt_len+=ee*(I+$),ie&&(A.static_len+=ee*(Z[te*2+1]+$)));if(_e!==0){do{for(I=be-1;A.bl_count[I]===0;)I--;A.bl_count[I]--,A.bl_count[I+1]+=2,A.bl_count[be]--,_e-=2}while(_e>0);for(I=be;I!==0;I--)for(te=A.bl_count[I];te!==0;)re=A.heap[--p],!(re>fe)&&(se[re*2+1]!==I&&(A.opt_len+=(I-se[re*2+1])*se[re*2],se[re*2+1]=I),te--)}}function ve(A,ne,se){var fe=new Array(u+1),Z=0,ie,T;for(ie=1;ie<=u;ie++)fe[ie]=Z=Z+se[ie-1]<<1;for(T=0;T<=ne;T++){var oe=A[T*2+1];oe!==0&&(A[T*2]=J(fe[oe]++,oe))}}function me(){var A,ne,se,fe,Z,ie=new Array(u+1);for(se=0,fe=0;fe<h-1;fe++)for(P[fe]=se,A=0;A<1<<C[fe];A++)V[se++]=fe;for(V[se-1]=fe,Z=0,fe=0;fe<16;fe++)for(j[fe]=Z,A=0;A<1<<D[fe];A++)N[Z++]=fe;for(Z>>=7;fe<m;fe++)for(j[fe]=Z<<7,A=0;A<1<<D[fe]-7;A++)N[256+Z++]=fe;for(ne=0;ne<=u;ne++)ie[ne]=0;for(A=0;A<=143;)R[A*2+1]=8,A++,ie[8]++;for(;A<=255;)R[A*2+1]=9,A++,ie[9]++;for(;A<=279;)R[A*2+1]=7,A++,ie[7]++;for(;A<=287;)R[A*2+1]=8,A++,ie[8]++;for(ve(R,b+1,ie),A=0;A<m;A++)q[A*2+1]=5,q[A*2]=J(A,5);F=new k(R,C,c+1,b,u),Y=new k(q,D,0,m,u),z=new k(new Array(0),W,0,y,w)}function we(A){var ne;for(ne=0;ne<b;ne++)A.dyn_ltree[ne*2]=0;for(ne=0;ne<m;ne++)A.dyn_dtree[ne*2]=0;for(ne=0;ne<y;ne++)A.bl_tree[ne*2]=0;A.dyn_ltree[v*2]=1,A.opt_len=A.static_len=0,A.last_lit=A.matches=0}function Ce(A){A.bi_valid>8?M(A,A.bi_buf):A.bi_valid>0&&(A.pending_buf[A.pending++]=A.bi_buf),A.bi_buf=0,A.bi_valid=0}function ke(A,ne,se,fe){Ce(A),M(A,se),M(A,~se),e.arraySet(A.pending_buf,A.window,ne,se,A.pending),A.pending+=se}function je(A,ne,se,fe){var Z=ne*2,ie=se*2;return A[Z]<A[ie]||A[Z]===A[ie]&&fe[ne]<=fe[se]}function Ie(A,ne,se){for(var fe=A.heap[se],Z=se<<1;Z<=A.heap_len&&(Z<A.heap_len&&je(ne,A.heap[Z+1],A.heap[Z],A.depth)&&Z++,!je(ne,fe,A.heap[Z],A.depth));)A.heap[se]=A.heap[Z],se=Z,Z<<=1;A.heap[se]=fe}function Ee(A,ne,se){var fe,Z,ie=0,T,oe;if(A.last_lit!==0)do fe=A.pending_buf[A.d_buf+ie*2]<<8|A.pending_buf[A.d_buf+ie*2+1],Z=A.pending_buf[A.l_buf+ie],ie++,fe===0?X(A,Z,ne):(T=V[Z],X(A,T+c+1,ne),oe=C[T],oe!==0&&(Z-=P[T],U(A,Z,oe)),fe--,T=L(fe),X(A,T,se),oe=D[T],oe!==0&&(fe-=j[T],U(A,fe,oe)));while(ie<A.last_lit);X(A,v,ne)}function Ue(A,ne){var se=ne.dyn_tree,fe=ne.stat_desc.static_tree,Z=ne.stat_desc.has_stree,ie=ne.stat_desc.elems,T,oe,be=-1,p;for(A.heap_len=0,A.heap_max=g,T=0;T<ie;T++)se[T*2]!==0?(A.heap[++A.heap_len]=be=T,A.depth[T]=0):se[T*2+1]=0;for(;A.heap_len<2;)p=A.heap[++A.heap_len]=be<2?++be:0,se[p*2]=1,A.depth[p]=0,A.opt_len--,Z&&(A.static_len-=fe[p*2+1]);for(ne.max_code=be,T=A.heap_len>>1;T>=1;T--)Ie(A,se,T);p=ie;do T=A.heap[1],A.heap[1]=A.heap[A.heap_len--],Ie(A,se,1),oe=A.heap[1],A.heap[--A.heap_max]=T,A.heap[--A.heap_max]=oe,se[p*2]=se[T*2]+se[oe*2],A.depth[p]=(A.depth[T]>=A.depth[oe]?A.depth[T]:A.depth[oe])+1,se[T*2+1]=se[oe*2+1]=p,A.heap[1]=p++,Ie(A,se,1);while(A.heap_len>=2);A.heap[--A.heap_max]=A.heap[1],ue(A,ne),ve(se,be,A.bl_count)}function at(A,ne,se){var fe,Z=-1,ie,T=ne[0*2+1],oe=0,be=7,p=4;for(T===0&&(be=138,p=3),ne[(se+1)*2+1]=65535,fe=0;fe<=se;fe++)ie=T,T=ne[(fe+1)*2+1],!(++oe<be&&ie===T)&&(oe<p?A.bl_tree[ie*2]+=oe:ie!==0?(ie!==Z&&A.bl_tree[ie*2]++,A.bl_tree[E*2]++):oe<=10?A.bl_tree[x*2]++:A.bl_tree[O*2]++,oe=0,Z=ie,T===0?(be=138,p=3):ie===T?(be=6,p=3):(be=7,p=4))}function Le(A,ne,se){var fe,Z=-1,ie,T=ne[0*2+1],oe=0,be=7,p=4;for(T===0&&(be=138,p=3),fe=0;fe<=se;fe++)if(ie=T,T=ne[(fe+1)*2+1],!(++oe<be&&ie===T)){if(oe<p)do X(A,ie,A.bl_tree);while(--oe!==0);else ie!==0?(ie!==Z&&(X(A,ie,A.bl_tree),oe--),X(A,E,A.bl_tree),U(A,oe-3,2)):oe<=10?(X(A,x,A.bl_tree),U(A,oe-3,3)):(X(A,O,A.bl_tree),U(A,oe-11,7));oe=0,Z=ie,T===0?(be=138,p=3):ie===T?(be=6,p=3):(be=7,p=4)}}function De(A){var ne;for(at(A,A.dyn_ltree,A.l_desc.max_code),at(A,A.dyn_dtree,A.d_desc.max_code),Ue(A,A.bl_desc),ne=y-1;ne>=3&&A.bl_tree[H[ne]*2+1]===0;ne--);return A.opt_len+=3*(ne+1)+5+5+4,ne}function Ze(A,ne,se,fe){var Z;for(U(A,ne-257,5),U(A,se-1,5),U(A,fe-4,4),Z=0;Z<fe;Z++)U(A,A.bl_tree[H[Z]*2+1],3);Le(A,A.dyn_ltree,ne-1),Le(A,A.dyn_dtree,se-1)}function K(A){var ne=4093624447,se;for(se=0;se<=31;se++,ne>>>=1)if(ne&1&&A.dyn_ltree[se*2]!==0)return o;if(A.dyn_ltree[9*2]!==0||A.dyn_ltree[10*2]!==0||A.dyn_ltree[13*2]!==0)return i;for(se=32;se<c;se++)if(A.dyn_ltree[se*2]!==0)return i;return o}var Q=!1;function ce(A){Q||(me(),Q=!0),A.l_desc=new B(A.dyn_ltree,F),A.d_desc=new B(A.dyn_dtree,Y),A.bl_desc=new B(A.bl_tree,z),A.bi_buf=0,A.bi_valid=0,we(A)}function ge(A,ne,se,fe){U(A,(r<<1)+(fe?1:0),3),ke(A,ne,se)}function he(A){U(A,s<<1,3),X(A,v,R),ae(A)}function Se(A,ne,se,fe){var Z,ie,T=0;A.level>0?(A.strm.data_type===a&&(A.strm.data_type=K(A)),Ue(A,A.l_desc),Ue(A,A.d_desc),T=De(A),Z=A.opt_len+3+7>>>3,ie=A.static_len+3+7>>>3,ie<=Z&&(Z=ie)):Z=ie=se+5,se+4<=Z&&ne!==-1?ge(A,ne,se,fe):A.strategy===n||ie===Z?(U(A,(s<<1)+(fe?1:0),3),Ee(A,R,q)):(U(A,(d<<1)+(fe?1:0),3),Ze(A,A.l_desc.max_code+1,A.d_desc.max_code+1,T+1),Ee(A,A.dyn_ltree,A.dyn_dtree)),we(A),fe&&Ce(A)}function Re(A,ne,se){return A.pending_buf[A.d_buf+A.last_lit*2]=ne>>>8&255,A.pending_buf[A.d_buf+A.last_lit*2+1]=ne&255,A.pending_buf[A.l_buf+A.last_lit]=se&255,A.last_lit++,ne===0?A.dyn_ltree[se*2]++:(A.matches++,ne--,A.dyn_ltree[(V[se]+c+1)*2]++,A.dyn_dtree[L(ne)*2]++),A.last_lit===A.lit_bufsize-1}return It._tr_init=ce,It._tr_stored_block=ge,It._tr_flush_block=Se,It._tr_tally=Re,It._tr_align=he,It}var Tn,ys;function Wl(){if(ys)return Tn;ys=1;function e(n,o,i,a){for(var t=n&65535|0,r=n>>>16&65535|0,s=0;i!==0;){s=i>2e3?2e3:i,i-=s;do t=t+o[a++]|0,r=r+t|0;while(--s);t%=65521,r%=65521}return t|r<<16|0}return Tn=e,Tn}var xn,_s;function Kl(){if(_s)return xn;_s=1;function e(){for(var i,a=[],t=0;t<256;t++){i=t;for(var r=0;r<8;r++)i=i&1?3988292384^i>>>1:i>>>1;a[t]=i}return a}var n=e();function o(i,a,t,r){var s=n,d=r+t;i^=-1;for(var f=r;f<d;f++)i=i>>>8^s[(i^a[f])&255];return i^-1}return xn=o,xn}var In,bs;function Kp(){return bs||(bs=1,In={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}),In}var ws;function Jp(){if(ws)return ot;ws=1;var e=dn(),n=Wp(),o=Wl(),i=Kl(),a=Kp(),t=0,r=1,s=3,d=4,f=5,l=0,h=1,c=-2,b=-3,m=-5,y=-1,g=1,u=2,_=3,w=4,v=0,E=2,x=8,O=9,C=15,D=8,W=29,H=256,S=H+1+W,R=30,q=19,N=2*S+1,V=15,P=3,j=258,k=j+P+1,F=32,Y=42,z=69,B=73,L=91,M=103,U=113,X=666,J=1,ae=2,ue=3,ve=4,me=3;function we(p,te){return p.msg=a[te],te}function Ce(p){return(p<<1)-(p>4?9:0)}function ke(p){for(var te=p.length;--te>=0;)p[te]=0}function je(p){var te=p.state,re=te.pending;re>p.avail_out&&(re=p.avail_out),re!==0&&(e.arraySet(p.output,te.pending_buf,te.pending_out,re,p.next_out),p.next_out+=re,te.pending_out+=re,p.total_out+=re,p.avail_out-=re,te.pending-=re,te.pending===0&&(te.pending_out=0))}function Ie(p,te){n._tr_flush_block(p,p.block_start>=0?p.block_start:-1,p.strstart-p.block_start,te),p.block_start=p.strstart,je(p.strm)}function Ee(p,te){p.pending_buf[p.pending++]=te}function Ue(p,te){p.pending_buf[p.pending++]=te>>>8&255,p.pending_buf[p.pending++]=te&255}function at(p,te,re,I){var $=p.avail_in;return $>I&&($=I),$===0?0:(p.avail_in-=$,e.arraySet(te,p.input,p.next_in,$,re),p.state.wrap===1?p.adler=o(p.adler,te,$,re):p.state.wrap===2&&(p.adler=i(p.adler,te,$,re)),p.next_in+=$,p.total_in+=$,$)}function Le(p,te){var re=p.max_chain_length,I=p.strstart,$,ee,_e=p.prev_length,de=p.nice_match,pe=p.strstart>p.w_size-k?p.strstart-(p.w_size-k):0,xe=p.window,gt=p.w_mask,qe=p.prev,Ae=p.strstart+j,Fe=xe[I+_e-1],Ye=xe[I+_e];p.prev_length>=p.good_match&&(re>>=2),de>p.lookahead&&(de=p.lookahead);do if($=te,!(xe[$+_e]!==Ye||xe[$+_e-1]!==Fe||xe[$]!==xe[I]||xe[++$]!==xe[I+1])){I+=2,$++;do;while(xe[++I]===xe[++$]&&xe[++I]===xe[++$]&&xe[++I]===xe[++$]&&xe[++I]===xe[++$]&&xe[++I]===xe[++$]&&xe[++I]===xe[++$]&&xe[++I]===xe[++$]&&xe[++I]===xe[++$]&&I<Ae);if(ee=j-(Ae-I),I=Ae-j,ee>_e){if(p.match_start=te,_e=ee,ee>=de)break;Fe=xe[I+_e-1],Ye=xe[I+_e]}}while((te=qe[te>])>pe&&--re!==0);return _e<=p.lookahead?_e:p.lookahead}function De(p){var te=p.w_size,re,I,$,ee,_e;do{if(ee=p.window_size-p.lookahead-p.strstart,p.strstart>=te+(te-k)){e.arraySet(p.window,p.window,te,te,0),p.match_start-=te,p.strstart-=te,p.block_start-=te,I=p.hash_size,re=I;do $=p.head[--re],p.head[re]=$>=te?$-te:0;while(--I);I=te,re=I;do $=p.prev[--re],p.prev[re]=$>=te?$-te:0;while(--I);ee+=te}if(p.strm.avail_in===0)break;if(I=at(p.strm,p.window,p.strstart+p.lookahead,ee),p.lookahead+=I,p.lookahead+p.insert>=P)for(_e=p.strstart-p.insert,p.ins_h=p.window[_e],p.ins_h=(p.ins_h<<p.hash_shift^p.window[_e+1])&p.hash_mask;p.insert&&(p.ins_h=(p.ins_h<<p.hash_shift^p.window[_e+P-1])&p.hash_mask,p.prev[_e&p.w_mask]=p.head[p.ins_h],p.head[p.ins_h]=_e,_e++,p.insert--,!(p.lookahead+p.insert<P)););}while(p.lookahead<k&&p.strm.avail_in!==0)}function Ze(p,te){var re=65535;for(re>p.pending_buf_size-5&&(re=p.pending_buf_size-5);;){if(p.lookahead<=1){if(De(p),p.lookahead===0&&te===t)return J;if(p.lookahead===0)break}p.strstart+=p.lookahead,p.lookahead=0;var I=p.block_start+re;if((p.strstart===0||p.strstart>=I)&&(p.lookahead=p.strstart-I,p.strstart=I,Ie(p,!1),p.strm.avail_out===0)||p.strstart-p.block_start>=p.w_size-k&&(Ie(p,!1),p.strm.avail_out===0))return J}return p.insert=0,te===d?(Ie(p,!0),p.strm.avail_out===0?ue:ve):(p.strstart>p.block_start&&(Ie(p,!1),p.strm.avail_out===0),J)}function K(p,te){for(var re,I;;){if(p.lookahead<k){if(De(p),p.lookahead<k&&te===t)return J;if(p.lookahead===0)break}if(re=0,p.lookahead>=P&&(p.ins_h=(p.ins_h<<p.hash_shift^p.window[p.strstart+P-1])&p.hash_mask,re=p.prev[p.strstart&p.w_mask]=p.head[p.ins_h],p.head[p.ins_h]=p.strstart),re!==0&&p.strstart-re<=p.w_size-k&&(p.match_length=Le(p,re)),p.match_length>=P)if(I=n._tr_tally(p,p.strstart-p.match_start,p.match_length-P),p.lookahead-=p.match_length,p.match_length<=p.max_lazy_match&&p.lookahead>=P){p.match_length--;do p.strstart++,p.ins_h=(p.ins_h<<p.hash_shift^p.window[p.strstart+P-1])&p.hash_mask,re=p.prev[p.strstart&p.w_mask]=p.head[p.ins_h],p.head[p.ins_h]=p.strstart;while(--p.match_length!==0);p.strstart++}else p.strstart+=p.match_length,p.match_length=0,p.ins_h=p.window[p.strstart],p.ins_h=(p.ins_h<<p.hash_shift^p.window[p.strstart+1])&p.hash_mask;else I=n._tr_tally(p,0,p.window[p.strstart]),p.lookahead--,p.strstart++;if(I&&(Ie(p,!1),p.strm.avail_out===0))return J}return p.insert=p.strstart<P-1?p.strstart:P-1,te===d?(Ie(p,!0),p.strm.avail_out===0?ue:ve):p.last_lit&&(Ie(p,!1),p.strm.avail_out===0)?J:ae}function Q(p,te){for(var re,I,$;;){if(p.lookahead<k){if(De(p),p.lookahead<k&&te===t)return J;if(p.lookahead===0)break}if(re=0,p.lookahead>=P&&(p.ins_h=(p.ins_h<<p.hash_shift^p.window[p.strstart+P-1])&p.hash_mask,re=p.prev[p.strstart&p.w_mask]=p.head[p.ins_h],p.head[p.ins_h]=p.strstart),p.prev_length=p.match_length,p.prev_match=p.match_start,p.match_length=P-1,re!==0&&p.prev_length<p.max_lazy_match&&p.strstart-re<=p.w_size-k&&(p.match_length=Le(p,re),p.match_length<=5&&(p.strategy===g||p.match_length===P&&p.strstart-p.match_start>4096)&&(p.match_length=P-1)),p.prev_length>=P&&p.match_length<=p.prev_length){$=p.strstart+p.lookahead-P,I=n._tr_tally(p,p.strstart-1-p.prev_match,p.prev_length-P),p.lookahead-=p.prev_length-1,p.prev_length-=2;do++p.strstart<=$&&(p.ins_h=(p.ins_h<<p.hash_shift^p.window[p.strstart+P-1])&p.hash_mask,re=p.prev[p.strstart&p.w_mask]=p.head[p.ins_h],p.head[p.ins_h]=p.strstart);while(--p.prev_length!==0);if(p.match_available=0,p.match_length=P-1,p.strstart++,I&&(Ie(p,!1),p.strm.avail_out===0))return J}else if(p.match_available){if(I=n._tr_tally(p,0,p.window[p.strstart-1]),I&&Ie(p,!1),p.strstart++,p.lookahead--,p.strm.avail_out===0)return J}else p.match_available=1,p.strstart++,p.lookahead--}return p.match_available&&(I=n._tr_tally(p,0,p.window[p.strstart-1]),p.match_available=0),p.insert=p.strstart<P-1?p.strstart:P-1,te===d?(Ie(p,!0),p.strm.avail_out===0?ue:ve):p.last_lit&&(Ie(p,!1),p.strm.avail_out===0)?J:ae}function ce(p,te){for(var re,I,$,ee,_e=p.window;;){if(p.lookahead<=j){if(De(p),p.lookahead<=j&&te===t)return J;if(p.lookahead===0)break}if(p.match_length=0,p.lookahead>=P&&p.strstart>0&&($=p.strstart-1,I=_e[$],I===_e[++$]&&I===_e[++$]&&I===_e[++$])){ee=p.strstart+j;do;while(I===_e[++$]&&I===_e[++$]&&I===_e[++$]&&I===_e[++$]&&I===_e[++$]&&I===_e[++$]&&I===_e[++$]&&I===_e[++$]&&$<ee);p.match_length=j-(ee-$),p.match_length>p.lookahead&&(p.match_length=p.lookahead)}if(p.match_length>=P?(re=n._tr_tally(p,1,p.match_length-P),p.lookahead-=p.match_length,p.strstart+=p.match_length,p.match_length=0):(re=n._tr_tally(p,0,p.window[p.strstart]),p.lookahead--,p.strstart++),re&&(Ie(p,!1),p.strm.avail_out===0))return J}return p.insert=0,te===d?(Ie(p,!0),p.strm.avail_out===0?ue:ve):p.last_lit&&(Ie(p,!1),p.strm.avail_out===0)?J:ae}function ge(p,te){for(var re;;){if(p.lookahead===0&&(De(p),p.lookahead===0)){if(te===t)return J;break}if(p.match_length=0,re=n._tr_tally(p,0,p.window[p.strstart]),p.lookahead--,p.strstart++,re&&(Ie(p,!1),p.strm.avail_out===0))return J}return p.insert=0,te===d?(Ie(p,!0),p.strm.avail_out===0?ue:ve):p.last_lit&&(Ie(p,!1),p.strm.avail_out===0)?J:ae}function he(p,te,re,I,$){this.good_length=p,this.max_lazy=te,this.nice_length=re,this.max_chain=I,this.func=$}var Se;Se=[new he(0,0,0,0,Ze),new he(4,4,8,4,K),new he(4,5,16,8,K),new he(4,6,32,32,K),new he(4,4,16,16,Q),new he(8,16,32,32,Q),new he(8,16,128,128,Q),new he(8,32,128,256,Q),new he(32,128,258,1024,Q),new he(32,258,258,4096,Q)];function Re(p){p.window_size=2*p.w_size,ke(p.head),p.max_lazy_match=Se[p.level].max_lazy,p.good_match=Se[p.level].good_length,p.nice_match=Se[p.level].nice_length,p.max_chain_length=Se[p.level].max_chain,p.strstart=0,p.block_start=0,p.lookahead=0,p.insert=0,p.match_length=p.prev_length=P-1,p.match_available=0,p.ins_h=0}function A(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=x,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new e.Buf16(N*2),this.dyn_dtree=new e.Buf16((2*R+1)*2),this.bl_tree=new e.Buf16((2*q+1)*2),ke(this.dyn_ltree),ke(this.dyn_dtree),ke(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new e.Buf16(V+1),this.heap=new e.Buf16(2*S+1),ke(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new e.Buf16(2*S+1),ke(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function ne(p){var te;return!p||!p.state?we(p,c):(p.total_in=p.total_out=0,p.data_type=E,te=p.state,te.pending=0,te.pending_out=0,te.wrap<0&&(te.wrap=-te.wrap),te.status=te.wrap?Y:U,p.adler=te.wrap===2?0:1,te.last_flush=t,n._tr_init(te),l)}function se(p){var te=ne(p);return te===l&&Re(p.state),te}function fe(p,te){return!p||!p.state||p.state.wrap!==2?c:(p.state.gzhead=te,l)}function Z(p,te,re,I,$,ee){if(!p)return c;var _e=1;if(te===y&&(te=6),I<0?(_e=0,I=-I):I>15&&(_e=2,I-=16),$<1||$>O||re!==x||I<8||I>15||te<0||te>9||ee<0||ee>w)return we(p,c);I===8&&(I=9);var de=new A;return p.state=de,de.strm=p,de.wrap=_e,de.gzhead=null,de.w_bits=I,de.w_size=1<<de.w_bits,de.w_mask=de.w_size-1,de.hash_bits=$+7,de.hash_size=1<<de.hash_bits,de.hash_mask=de.hash_size-1,de.hash_shift=~~((de.hash_bits+P-1)/P),de.window=new e.Buf8(de.w_size*2),de.head=new e.Buf16(de.hash_size),de.prev=new e.Buf16(de.w_size),de.lit_bufsize=1<<$+6,de.pending_buf_size=de.lit_bufsize*4,de.pending_buf=new e.Buf8(de.pending_buf_size),de.d_buf=1*de.lit_bufsize,de.l_buf=3*de.lit_bufsize,de.level=te,de.strategy=ee,de.method=re,se(p)}function ie(p,te){return Z(p,te,x,C,D,v)}function T(p,te){var re,I,$,ee;if(!p||!p.state||te>f||te<0)return p?we(p,c):c;if(I=p.state,!p.output||!p.input&&p.avail_in!==0||I.status===X&&te!==d)return we(p,p.avail_out===0?m:c);if(I.strm=p,re=I.last_flush,I.last_flush=te,I.status===Y)if(I.wrap===2)p.adler=0,Ee(I,31),Ee(I,139),Ee(I,8),I.gzhead?(Ee(I,(I.gzhead.text?1:0)+(I.gzhead.hcrc?2:0)+(I.gzhead.extra?4:0)+(I.gzhead.name?8:0)+(I.gzhead.comment?16:0)),Ee(I,I.gzhead.time&255),Ee(I,I.gzhead.time>>8&255),Ee(I,I.gzhead.time>>16&255),Ee(I,I.gzhead.time>>24&255),Ee(I,I.level===9?2:I.strategy>=u||I.level<2?4:0),Ee(I,I.gzhead.os&255),I.gzhead.extra&&I.gzhead.extra.length&&(Ee(I,I.gzhead.extra.length&255),Ee(I,I.gzhead.extra.length>>8&255)),I.gzhead.hcrc&&(p.adler=i(p.adler,I.pending_buf,I.pending,0)),I.gzindex=0,I.status=z):(Ee(I,0),Ee(I,0),Ee(I,0),Ee(I,0),Ee(I,0),Ee(I,I.level===9?2:I.strategy>=u||I.level<2?4:0),Ee(I,me),I.status=U);else{var _e=x+(I.w_bits-8<<4)<<8,de=-1;I.strategy>=u||I.level<2?de=0:I.level<6?de=1:I.level===6?de=2:de=3,_e|=de<<6,I.strstart!==0&&(_e|=F),_e+=31-_e%31,I.status=U,Ue(I,_e),I.strstart!==0&&(Ue(I,p.adler>>>16),Ue(I,p.adler&65535)),p.adler=1}if(I.status===z)if(I.gzhead.extra){for($=I.pending;I.gzindex<(I.gzhead.extra.length&65535)&&!(I.pending===I.pending_buf_size&&(I.gzhead.hcrc&&I.pending>$&&(p.adler=i(p.adler,I.pending_buf,I.pending-$,$)),je(p),$=I.pending,I.pending===I.pending_buf_size));)Ee(I,I.gzhead.extra[I.gzindex]&255),I.gzindex++;I.gzhead.hcrc&&I.pending>$&&(p.adler=i(p.adler,I.pending_buf,I.pending-$,$)),I.gzindex===I.gzhead.extra.length&&(I.gzindex=0,I.status=B)}else I.status=B;if(I.status===B)if(I.gzhead.name){$=I.pending;do{if(I.pending===I.pending_buf_size&&(I.gzhead.hcrc&&I.pending>$&&(p.adler=i(p.adler,I.pending_buf,I.pending-$,$)),je(p),$=I.pending,I.pending===I.pending_buf_size)){ee=1;break}I.gzindex<I.gzhead.name.length?ee=I.gzhead.name.charCodeAt(I.gzindex++)&255:ee=0,Ee(I,ee)}while(ee!==0);I.gzhead.hcrc&&I.pending>$&&(p.adler=i(p.adler,I.pending_buf,I.pending-$,$)),ee===0&&(I.gzindex=0,I.status=L)}else I.status=L;if(I.status===L)if(I.gzhead.comment){$=I.pending;do{if(I.pending===I.pending_buf_size&&(I.gzhead.hcrc&&I.pending>$&&(p.adler=i(p.adler,I.pending_buf,I.pending-$,$)),je(p),$=I.pending,I.pending===I.pending_buf_size)){ee=1;break}I.gzindex<I.gzhead.comment.length?ee=I.gzhead.comment.charCodeAt(I.gzindex++)&255:ee=0,Ee(I,ee)}while(ee!==0);I.gzhead.hcrc&&I.pending>$&&(p.adler=i(p.adler,I.pending_buf,I.pending-$,$)),ee===0&&(I.status=M)}else I.status=M;if(I.status===M&&(I.gzhead.hcrc?(I.pending+2>I.pending_buf_size&&je(p),I.pending+2<=I.pending_buf_size&&(Ee(I,p.adler&255),Ee(I,p.adler>>8&255),p.adler=0,I.status=U)):I.status=U),I.pending!==0){if(je(p),p.avail_out===0)return I.last_flush=-1,l}else if(p.avail_in===0&&Ce(te)<=Ce(re)&&te!==d)return we(p,m);if(I.status===X&&p.avail_in!==0)return we(p,m);if(p.avail_in!==0||I.lookahead!==0||te!==t&&I.status!==X){var pe=I.strategy===u?ge(I,te):I.strategy===_?ce(I,te):Se[I.level].func(I,te);if((pe===ue||pe===ve)&&(I.status=X),pe===J||pe===ue)return p.avail_out===0&&(I.last_flush=-1),l;if(pe===ae&&(te===r?n._tr_align(I):te!==f&&(n._tr_stored_block(I,0,0,!1),te===s&&(ke(I.head),I.lookahead===0&&(I.strstart=0,I.block_start=0,I.insert=0))),je(p),p.avail_out===0))return I.last_flush=-1,l}return te!==d?l:I.wrap<=0?h:(I.wrap===2?(Ee(I,p.adler&255),Ee(I,p.adler>>8&255),Ee(I,p.adler>>16&255),Ee(I,p.adler>>24&255),Ee(I,p.total_in&255),Ee(I,p.total_in>>8&255),Ee(I,p.total_in>>16&255),Ee(I,p.total_in>>24&255)):(Ue(I,p.adler>>>16),Ue(I,p.adler&65535)),je(p),I.wrap>0&&(I.wrap=-I.wrap),I.pending!==0?l:h)}function oe(p){var te;return!p||!p.state?c:(te=p.state.status,te!==Y&&te!==z&&te!==B&&te!==L&&te!==M&&te!==U&&te!==X?we(p,c):(p.state=null,te===U?we(p,b):l))}function be(p,te){var re=te.length,I,$,ee,_e,de,pe,xe,gt;if(!p||!p.state||(I=p.state,_e=I.wrap,_e===2||_e===1&&I.status!==Y||I.lookahead))return c;for(_e===1&&(p.adler=o(p.adler,te,re,0)),I.wrap=0,re>=I.w_size&&(_e===0&&(ke(I.head),I.strstart=0,I.block_start=0,I.insert=0),gt=new e.Buf8(I.w_size),e.arraySet(gt,te,re-I.w_size,I.w_size,0),te=gt,re=I.w_size),de=p.avail_in,pe=p.next_in,xe=p.input,p.avail_in=re,p.next_in=0,p.input=te,De(I);I.lookahead>=P;){$=I.strstart,ee=I.lookahead-(P-1);do I.ins_h=(I.ins_h<<I.hash_shift^I.window[$+P-1])&I.hash_mask,I.prev[$&I.w_mask]=I.head[I.ins_h],I.head[I.ins_h]=$,$++;while(--ee);I.strstart=$,I.lookahead=P-1,De(I)}return I.strstart+=I.lookahead,I.block_start=I.strstart,I.insert=I.lookahead,I.lookahead=0,I.match_length=I.prev_length=P-1,I.match_available=0,p.next_in=pe,p.input=xe,p.avail_in=de,I.wrap=_e,l}return ot.deflateInit=ie,ot.deflateInit2=Z,ot.deflateReset=se,ot.deflateResetKeep=ne,ot.deflateSetHeader=fe,ot.deflate=T,ot.deflateEnd=oe,ot.deflateSetDictionary=be,ot.deflateInfo="pako deflate (from Nodeca project)",ot}var An,Es;function Xp(){if(Es)return An;Es=1;function e(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}return An=e,An}var it={},Cn,Ss;function Qp(){if(Ss)return Cn;Ss=1;var e=30,n=12;return Cn=function(i,a){var t,r,s,d,f,l,h,c,b,m,y,g,u,_,w,v,E,x,O,C,D,W,H,S,R;t=i.state,r=i.next_in,S=i.input,s=r+(i.avail_in-5),d=i.next_out,R=i.output,f=d-(a-i.avail_out),l=d+(i.avail_out-257),h=t.dmax,c=t.wsize,b=t.whave,m=t.wnext,y=t.window,g=t.hold,u=t.bits,_=t.lencode,w=t.distcode,v=(1<<t.lenbits)-1,E=(1<<t.distbits)-1;e:do{u<15&&(g+=S[r++]<<u,u+=8,g+=S[r++]<<u,u+=8),x=_[g&v];t:for(;;){if(O=x>>>24,g>>>=O,u-=O,O=x>>>16&255,O===0)R[d++]=x&65535;else if(O&16){C=x&65535,O&=15,O&&(u<O&&(g+=S[r++]<<u,u+=8),C+=g&(1<<O)-1,g>>>=O,u-=O),u<15&&(g+=S[r++]<<u,u+=8,g+=S[r++]<<u,u+=8),x=w[g&E];r:for(;;){if(O=x>>>24,g>>>=O,u-=O,O=x>>>16&255,O&16){if(D=x&65535,O&=15,u<O&&(g+=S[r++]<<u,u+=8,u<O&&(g+=S[r++]<<u,u+=8)),D+=g&(1<<O)-1,D>h){i.msg="invalid distance too far back",t.mode=e;break e}if(g>>>=O,u-=O,O=d-f,D>O){if(O=D-O,O>b&&t.sane){i.msg="invalid distance too far back",t.mode=e;break e}if(W=0,H=y,m===0){if(W+=c-O,O<C){C-=O;do R[d++]=y[W++];while(--O);W=d-D,H=R}}else if(m<O){if(W+=c+m-O,O-=m,O<C){C-=O;do R[d++]=y[W++];while(--O);if(W=0,m<C){O=m,C-=O;do R[d++]=y[W++];while(--O);W=d-D,H=R}}}else if(W+=m-O,O<C){C-=O;do R[d++]=y[W++];while(--O);W=d-D,H=R}for(;C>2;)R[d++]=H[W++],R[d++]=H[W++],R[d++]=H[W++],C-=3;C&&(R[d++]=H[W++],C>1&&(R[d++]=H[W++]))}else{W=d-D;do R[d++]=R[W++],R[d++]=R[W++],R[d++]=R[W++],C-=3;while(C>2);C&&(R[d++]=R[W++],C>1&&(R[d++]=R[W++]))}}else if((O&64)===0){x=w[(x&65535)+(g&(1<<O)-1)];continue r}else{i.msg="invalid distance code",t.mode=e;break e}break}}else if((O&64)===0){x=_[(x&65535)+(g&(1<<O)-1)];continue t}else if(O&32){t.mode=n;break e}else{i.msg="invalid literal/length code",t.mode=e;break e}break}}while(r<s&&d<l);C=u>>3,r-=C,u-=C<<3,g&=(1<<u)-1,i.next_in=r,i.next_out=d,i.avail_in=r<s?5+(s-r):5-(r-s),i.avail_out=d<l?257+(l-d):257-(d-l),t.hold=g,t.bits=u},Cn}var Pn,Rs;function em(){if(Rs)return Pn;Rs=1;var e=dn(),n=15,o=852,i=592,a=0,t=1,r=2,s=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],d=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],f=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];return Pn=function(c,b,m,y,g,u,_,w){var v=w.bits,E=0,x=0,O=0,C=0,D=0,W=0,H=0,S=0,R=0,q=0,N,V,P,j,k,F=null,Y=0,z,B=new e.Buf16(n+1),L=new e.Buf16(n+1),M=null,U=0,X,J,ae;for(E=0;E<=n;E++)B[E]=0;for(x=0;x<y;x++)B[b[m+x]]++;for(D=v,C=n;C>=1&&B[C]===0;C--);if(D>C&&(D=C),C===0)return g[u++]=1<<24|64<<16|0,g[u++]=1<<24|64<<16|0,w.bits=1,0;for(O=1;O<C&&B[O]===0;O++);for(D<O&&(D=O),S=1,E=1;E<=n;E++)if(S<<=1,S-=B[E],S<0)return-1;if(S>0&&(c===a||C!==1))return-1;for(L[1]=0,E=1;E<n;E++)L[E+1]=L[E]+B[E];for(x=0;x<y;x++)b[m+x]!==0&&(_[L[b[m+x]]++]=x);if(c===a?(F=M=_,z=19):c===t?(F=s,Y-=257,M=d,U-=257,z=256):(F=f,M=l,z=-1),q=0,x=0,E=O,k=u,W=D,H=0,P=-1,R=1<<D,j=R-1,c===t&&R>o||c===r&&R>i)return 1;for(;;){X=E-H,_[x]<z?(J=0,ae=_[x]):_[x]>z?(J=M[U+_[x]],ae=F[Y+_[x]]):(J=96,ae=0),N=1<<E-H,V=1<<W,O=V;do V-=N,g[k+(q>>H)+V]=X<<24|J<<16|ae|0;while(V!==0);for(N=1<<E-1;q&N;)N>>=1;if(N!==0?(q&=N-1,q+=N):q=0,x++,--B[E]===0){if(E===C)break;E=b[m+_[x]]}if(E>D&&(q&j)!==P){for(H===0&&(H=D),k+=O,W=E-H,S=1<<W;W+H<C&&(S-=B[W+H],!(S<=0));)W++,S<<=1;if(R+=1<<W,c===t&&R>o||c===r&&R>i)return 1;P=q&j,g[P]=D<<24|W<<16|k-u|0}}return q!==0&&(g[k+q]=E-H<<24|64<<16|0),w.bits=D,0},Pn}var Os;function tm(){if(Os)return it;Os=1;var e=dn(),n=Wl(),o=Kl(),i=Qp(),a=em(),t=0,r=1,s=2,d=4,f=5,l=6,h=0,c=1,b=2,m=-2,y=-3,g=-4,u=-5,_=8,w=1,v=2,E=3,x=4,O=5,C=6,D=7,W=8,H=9,S=10,R=11,q=12,N=13,V=14,P=15,j=16,k=17,F=18,Y=19,z=20,B=21,L=22,M=23,U=24,X=25,J=26,ae=27,ue=28,ve=29,me=30,we=31,Ce=32,ke=852,je=592,Ie=15,Ee=Ie;function Ue(Z){return(Z>>>24&255)+(Z>>>8&65280)+((Z&65280)<<8)+((Z&255)<<24)}function at(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new e.Buf16(320),this.work=new e.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Le(Z){var ie;return!Z||!Z.state?m:(ie=Z.state,Z.total_in=Z.total_out=ie.total=0,Z.msg="",ie.wrap&&(Z.adler=ie.wrap&1),ie.mode=w,ie.last=0,ie.havedict=0,ie.dmax=32768,ie.head=null,ie.hold=0,ie.bits=0,ie.lencode=ie.lendyn=new e.Buf32(ke),ie.distcode=ie.distdyn=new e.Buf32(je),ie.sane=1,ie.back=-1,h)}function De(Z){var ie;return!Z||!Z.state?m:(ie=Z.state,ie.wsize=0,ie.whave=0,ie.wnext=0,Le(Z))}function Ze(Z,ie){var T,oe;return!Z||!Z.state||(oe=Z.state,ie<0?(T=0,ie=-ie):(T=(ie>>4)+1,ie<48&&(ie&=15)),ie&&(ie<8||ie>15))?m:(oe.window!==null&&oe.wbits!==ie&&(oe.window=null),oe.wrap=T,oe.wbits=ie,De(Z))}function K(Z,ie){var T,oe;return Z?(oe=new at,Z.state=oe,oe.window=null,T=Ze(Z,ie),T!==h&&(Z.state=null),T):m}function Q(Z){return K(Z,Ee)}var ce=!0,ge,he;function Se(Z){if(ce){var ie;for(ge=new e.Buf32(512),he=new e.Buf32(32),ie=0;ie<144;)Z.lens[ie++]=8;for(;ie<256;)Z.lens[ie++]=9;for(;ie<280;)Z.lens[ie++]=7;for(;ie<288;)Z.lens[ie++]=8;for(a(r,Z.lens,0,288,ge,0,Z.work,{bits:9}),ie=0;ie<32;)Z.lens[ie++]=5;a(s,Z.lens,0,32,he,0,Z.work,{bits:5}),ce=!1}Z.lencode=ge,Z.lenbits=9,Z.distcode=he,Z.distbits=5}function Re(Z,ie,T,oe){var be,p=Z.state;return p.window===null&&(p.wsize=1<<p.wbits,p.wnext=0,p.whave=0,p.window=new e.Buf8(p.wsize)),oe>=p.wsize?(e.arraySet(p.window,ie,T-p.wsize,p.wsize,0),p.wnext=0,p.whave=p.wsize):(be=p.wsize-p.wnext,be>oe&&(be=oe),e.arraySet(p.window,ie,T-oe,be,p.wnext),oe-=be,oe?(e.arraySet(p.window,ie,T-oe,oe,0),p.wnext=oe,p.whave=p.wsize):(p.wnext+=be,p.wnext===p.wsize&&(p.wnext=0),p.whave<p.wsize&&(p.whave+=be))),0}function A(Z,ie){var T,oe,be,p,te,re,I,$,ee,_e,de,pe,xe,gt,qe=0,Ae,Fe,Ye,Xe,pr,mr,Me,nt,ze=new e.Buf8(4),vt,ht,ls=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!Z||!Z.state||!Z.output||!Z.input&&Z.avail_in!==0)return m;T=Z.state,T.mode===q&&(T.mode=N),te=Z.next_out,be=Z.output,I=Z.avail_out,p=Z.next_in,oe=Z.input,re=Z.avail_in,$=T.hold,ee=T.bits,_e=re,de=I,nt=h;e:for(;;)switch(T.mode){case w:if(T.wrap===0){T.mode=N;break}for(;ee<16;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}if(T.wrap&2&&$===35615){T.check=0,ze[0]=$&255,ze[1]=$>>>8&255,T.check=o(T.check,ze,2,0),$=0,ee=0,T.mode=v;break}if(T.flags=0,T.head&&(T.head.done=!1),!(T.wrap&1)||((($&255)<<8)+($>>8))%31){Z.msg="incorrect header check",T.mode=me;break}if(($&15)!==_){Z.msg="unknown compression method",T.mode=me;break}if($>>>=4,ee-=4,Me=($&15)+8,T.wbits===0)T.wbits=Me;else if(Me>T.wbits){Z.msg="invalid window size",T.mode=me;break}T.dmax=1<<Me,Z.adler=T.check=1,T.mode=$&512?S:q,$=0,ee=0;break;case v:for(;ee<16;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}if(T.flags=$,(T.flags&255)!==_){Z.msg="unknown compression method",T.mode=me;break}if(T.flags&57344){Z.msg="unknown header flags set",T.mode=me;break}T.head&&(T.head.text=$>>8&1),T.flags&512&&(ze[0]=$&255,ze[1]=$>>>8&255,T.check=o(T.check,ze,2,0)),$=0,ee=0,T.mode=E;case E:for(;ee<32;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}T.head&&(T.head.time=$),T.flags&512&&(ze[0]=$&255,ze[1]=$>>>8&255,ze[2]=$>>>16&255,ze[3]=$>>>24&255,T.check=o(T.check,ze,4,0)),$=0,ee=0,T.mode=x;case x:for(;ee<16;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}T.head&&(T.head.xflags=$&255,T.head.os=$>>8),T.flags&512&&(ze[0]=$&255,ze[1]=$>>>8&255,T.check=o(T.check,ze,2,0)),$=0,ee=0,T.mode=O;case O:if(T.flags&1024){for(;ee<16;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}T.length=$,T.head&&(T.head.extra_len=$),T.flags&512&&(ze[0]=$&255,ze[1]=$>>>8&255,T.check=o(T.check,ze,2,0)),$=0,ee=0}else T.head&&(T.head.extra=null);T.mode=C;case C:if(T.flags&1024&&(pe=T.length,pe>re&&(pe=re),pe&&(T.head&&(Me=T.head.extra_len-T.length,T.head.extra||(T.head.extra=new Array(T.head.extra_len)),e.arraySet(T.head.extra,oe,p,pe,Me)),T.flags&512&&(T.check=o(T.check,oe,pe,p)),re-=pe,p+=pe,T.length-=pe),T.length))break e;T.length=0,T.mode=D;case D:if(T.flags&2048){if(re===0)break e;pe=0;do Me=oe[p+pe++],T.head&&Me&&T.length<65536&&(T.head.name+=String.fromCharCode(Me));while(Me&&pe<re);if(T.flags&512&&(T.check=o(T.check,oe,pe,p)),re-=pe,p+=pe,Me)break e}else T.head&&(T.head.name=null);T.length=0,T.mode=W;case W:if(T.flags&4096){if(re===0)break e;pe=0;do Me=oe[p+pe++],T.head&&Me&&T.length<65536&&(T.head.comment+=String.fromCharCode(Me));while(Me&&pe<re);if(T.flags&512&&(T.check=o(T.check,oe,pe,p)),re-=pe,p+=pe,Me)break e}else T.head&&(T.head.comment=null);T.mode=H;case H:if(T.flags&512){for(;ee<16;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}if($!==(T.check&65535)){Z.msg="header crc mismatch",T.mode=me;break}$=0,ee=0}T.head&&(T.head.hcrc=T.flags>>9&1,T.head.done=!0),Z.adler=T.check=0,T.mode=q;break;case S:for(;ee<32;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}Z.adler=T.check=Ue($),$=0,ee=0,T.mode=R;case R:if(T.havedict===0)return Z.next_out=te,Z.avail_out=I,Z.next_in=p,Z.avail_in=re,T.hold=$,T.bits=ee,b;Z.adler=T.check=1,T.mode=q;case q:if(ie===f||ie===l)break e;case N:if(T.last){$>>>=ee&7,ee-=ee&7,T.mode=ae;break}for(;ee<3;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}switch(T.last=$&1,$>>>=1,ee-=1,$&3){case 0:T.mode=V;break;case 1:if(Se(T),T.mode=z,ie===l){$>>>=2,ee-=2;break e}break;case 2:T.mode=k;break;case 3:Z.msg="invalid block type",T.mode=me}$>>>=2,ee-=2;break;case V:for($>>>=ee&7,ee-=ee&7;ee<32;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}if(($&65535)!==($>>>16^65535)){Z.msg="invalid stored block lengths",T.mode=me;break}if(T.length=$&65535,$=0,ee=0,T.mode=P,ie===l)break e;case P:T.mode=j;case j:if(pe=T.length,pe){if(pe>re&&(pe=re),pe>I&&(pe=I),pe===0)break e;e.arraySet(be,oe,p,pe,te),re-=pe,p+=pe,I-=pe,te+=pe,T.length-=pe;break}T.mode=q;break;case k:for(;ee<14;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}if(T.nlen=($&31)+257,$>>>=5,ee-=5,T.ndist=($&31)+1,$>>>=5,ee-=5,T.ncode=($&15)+4,$>>>=4,ee-=4,T.nlen>286||T.ndist>30){Z.msg="too many length or distance symbols",T.mode=me;break}T.have=0,T.mode=F;case F:for(;T.have<T.ncode;){for(;ee<3;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}T.lens[ls[T.have++]]=$&7,$>>>=3,ee-=3}for(;T.have<19;)T.lens[ls[T.have++]]=0;if(T.lencode=T.lendyn,T.lenbits=7,vt={bits:T.lenbits},nt=a(t,T.lens,0,19,T.lencode,0,T.work,vt),T.lenbits=vt.bits,nt){Z.msg="invalid code lengths set",T.mode=me;break}T.have=0,T.mode=Y;case Y:for(;T.have<T.nlen+T.ndist;){for(;qe=T.lencode[$&(1<<T.lenbits)-1],Ae=qe>>>24,Fe=qe>>>16&255,Ye=qe&65535,!(Ae<=ee);){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}if(Ye<16)$>>>=Ae,ee-=Ae,T.lens[T.have++]=Ye;else{if(Ye===16){for(ht=Ae+2;ee<ht;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}if($>>>=Ae,ee-=Ae,T.have===0){Z.msg="invalid bit length repeat",T.mode=me;break}Me=T.lens[T.have-1],pe=3+($&3),$>>>=2,ee-=2}else if(Ye===17){for(ht=Ae+3;ee<ht;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}$>>>=Ae,ee-=Ae,Me=0,pe=3+($&7),$>>>=3,ee-=3}else{for(ht=Ae+7;ee<ht;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}$>>>=Ae,ee-=Ae,Me=0,pe=11+($&127),$>>>=7,ee-=7}if(T.have+pe>T.nlen+T.ndist){Z.msg="invalid bit length repeat",T.mode=me;break}for(;pe--;)T.lens[T.have++]=Me}}if(T.mode===me)break;if(T.lens[256]===0){Z.msg="invalid code -- missing end-of-block",T.mode=me;break}if(T.lenbits=9,vt={bits:T.lenbits},nt=a(r,T.lens,0,T.nlen,T.lencode,0,T.work,vt),T.lenbits=vt.bits,nt){Z.msg="invalid literal/lengths set",T.mode=me;break}if(T.distbits=6,T.distcode=T.distdyn,vt={bits:T.distbits},nt=a(s,T.lens,T.nlen,T.ndist,T.distcode,0,T.work,vt),T.distbits=vt.bits,nt){Z.msg="invalid distances set",T.mode=me;break}if(T.mode=z,ie===l)break e;case z:T.mode=B;case B:if(re>=6&&I>=258){Z.next_out=te,Z.avail_out=I,Z.next_in=p,Z.avail_in=re,T.hold=$,T.bits=ee,i(Z,de),te=Z.next_out,be=Z.output,I=Z.avail_out,p=Z.next_in,oe=Z.input,re=Z.avail_in,$=T.hold,ee=T.bits,T.mode===q&&(T.back=-1);break}for(T.back=0;qe=T.lencode[$&(1<<T.lenbits)-1],Ae=qe>>>24,Fe=qe>>>16&255,Ye=qe&65535,!(Ae<=ee);){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}if(Fe&&(Fe&240)===0){for(Xe=Ae,pr=Fe,mr=Ye;qe=T.lencode[mr+(($&(1<<Xe+pr)-1)>>Xe)],Ae=qe>>>24,Fe=qe>>>16&255,Ye=qe&65535,!(Xe+Ae<=ee);){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}$>>>=Xe,ee-=Xe,T.back+=Xe}if($>>>=Ae,ee-=Ae,T.back+=Ae,T.length=Ye,Fe===0){T.mode=J;break}if(Fe&32){T.back=-1,T.mode=q;break}if(Fe&64){Z.msg="invalid literal/length code",T.mode=me;break}T.extra=Fe&15,T.mode=L;case L:if(T.extra){for(ht=T.extra;ee<ht;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}T.length+=$&(1<<T.extra)-1,$>>>=T.extra,ee-=T.extra,T.back+=T.extra}T.was=T.length,T.mode=M;case M:for(;qe=T.distcode[$&(1<<T.distbits)-1],Ae=qe>>>24,Fe=qe>>>16&255,Ye=qe&65535,!(Ae<=ee);){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}if((Fe&240)===0){for(Xe=Ae,pr=Fe,mr=Ye;qe=T.distcode[mr+(($&(1<<Xe+pr)-1)>>Xe)],Ae=qe>>>24,Fe=qe>>>16&255,Ye=qe&65535,!(Xe+Ae<=ee);){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}$>>>=Xe,ee-=Xe,T.back+=Xe}if($>>>=Ae,ee-=Ae,T.back+=Ae,Fe&64){Z.msg="invalid distance code",T.mode=me;break}T.offset=Ye,T.extra=Fe&15,T.mode=U;case U:if(T.extra){for(ht=T.extra;ee<ht;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}T.offset+=$&(1<<T.extra)-1,$>>>=T.extra,ee-=T.extra,T.back+=T.extra}if(T.offset>T.dmax){Z.msg="invalid distance too far back",T.mode=me;break}T.mode=X;case X:if(I===0)break e;if(pe=de-I,T.offset>pe){if(pe=T.offset-pe,pe>T.whave&&T.sane){Z.msg="invalid distance too far back",T.mode=me;break}pe>T.wnext?(pe-=T.wnext,xe=T.wsize-pe):xe=T.wnext-pe,pe>T.length&&(pe=T.length),gt=T.window}else gt=be,xe=te-T.offset,pe=T.length;pe>I&&(pe=I),I-=pe,T.length-=pe;do be[te++]=gt[xe++];while(--pe);T.length===0&&(T.mode=B);break;case J:if(I===0)break e;be[te++]=T.length,I--,T.mode=B;break;case ae:if(T.wrap){for(;ee<32;){if(re===0)break e;re--,$|=oe[p++]<<ee,ee+=8}if(de-=I,Z.total_out+=de,T.total+=de,de&&(Z.adler=T.check=T.flags?o(T.check,be,de,te-de):n(T.check,be,de,te-de)),de=I,(T.flags?$:Ue($))!==T.check){Z.msg="incorrect data check",T.mode=me;break}$=0,ee=0}T.mode=ue;case ue:if(T.wrap&&T.flags){for(;ee<32;){if(re===0)break e;re--,$+=oe[p++]<<ee,ee+=8}if($!==(T.total&4294967295)){Z.msg="incorrect length check",T.mode=me;break}$=0,ee=0}T.mode=ve;case ve:nt=c;break e;case me:nt=y;break e;case we:return g;case Ce:default:return m}return Z.next_out=te,Z.avail_out=I,Z.next_in=p,Z.avail_in=re,T.hold=$,T.bits=ee,(T.wsize||de!==Z.avail_out&&T.mode<me&&(T.mode<ae||ie!==d))&&Re(Z,Z.output,Z.next_out,de-Z.avail_out),_e-=Z.avail_in,de-=Z.avail_out,Z.total_in+=_e,Z.total_out+=de,T.total+=de,T.wrap&&de&&(Z.adler=T.check=T.flags?o(T.check,be,de,Z.next_out-de):n(T.check,be,de,Z.next_out-de)),Z.data_type=T.bits+(T.last?64:0)+(T.mode===q?128:0)+(T.mode===z||T.mode===P?256:0),(_e===0&&de===0||ie===d)&&nt===h&&(nt=u),nt}function ne(Z){if(!Z||!Z.state)return m;var ie=Z.state;return ie.window&&(ie.window=null),Z.state=null,h}function se(Z,ie){var T;return!Z||!Z.state||(T=Z.state,(T.wrap&2)===0)?m:(T.head=ie,ie.done=!1,h)}function fe(Z,ie){var T=ie.length,oe,be,p;return!Z||!Z.state||(oe=Z.state,oe.wrap!==0&&oe.mode!==R)?m:oe.mode===R&&(be=1,be=n(be,ie,T,0),be!==oe.check)?y:(p=Re(Z,ie,T,T),p?(oe.mode=we,g):(oe.havedict=1,h))}return it.inflateReset=De,it.inflateReset2=Ze,it.inflateResetKeep=Le,it.inflateInit=Q,it.inflateInit2=K,it.inflate=A,it.inflateEnd=ne,it.inflateGetHeader=se,it.inflateSetDictionary=fe,it.inflateInfo="pako inflate (from Nodeca project)",it}var kn,Ts;function rm(){return Ts||(Ts=1,kn={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}),kn}const Dt=()=>{const[e,n]=Yl(),[o,i]=le.useState(),a=le.useRef(!1);return le.useEffect(()=>{if(a.current===!0||!(e.has("thread_id")||e.has("entity_type")||e.has("company_id")))return;const r=fp(e);r!=null&&i(r);const s=new URLSearchParams(e);s.delete("thread_id"),s.delete("entity_type"),s.delete("company_id"),n(s,{replace:!0}),a.current=!0},[e,n]),o},nm={overlayWidth:new ut(100,100,50)},{common:{strings:xs}}=sr.getLocalizedStrings();function im(e,n){return{headerActions:{onTabChange:o=>{const i=Nt(o),a=Vt(o);Ge.trackCockpitTabClicked(a),n.navigate(`../../${i}`,{replace:!0})},filterActions:{onFilterTextChanged:(o,i)=>{e(gr({uiState:{filterText:i}}))},onFiltersChange:(o,i)=>{i.categories!=null&&i.categoryCombinationOperator!=null&&Ge.trackHealthMonitorFiltersApplied({filterSelection:{condition:i.categories.map(a=>a.matchingOperator).join(xs.comma),logic:i.categoryCombinationOperator,parameter:i.categories.map(a=>a.field).join(xs.comma)}}),e(gr({uiState:{filters:i}}))}}},healthPageActions:{onRowClick:o=>{e(Il(o))},onColumnSortConfigChanged:(o,i)=>{e(gr({uiState:{sortKey:o,sortOrder:i}}))},onCockpitReloadData:o=>{o==="healthMonitor"&&e(xl())},onFiltersChange:o=>{e(gr({uiState:{filters:o}}))}}}}function am(e,n){return{headerData:{selectedTabOption:xt("healthMonitor")},healthPageData:{healthView:n.healthView,managementView:n.managementView,mixpanelUrl:n.mixpanelHMUrl}}}const om=$e(am,im)(pp);function jn({isDrawerOpen:e}){const n=Ve(),o=Ke(),i=Gt(),a=sn(),{companyId:t}=ct(),[r,s]=Yl(),[d,f]=le.useState(!1),l=Dt(),h=Oe(v=>Yh(v)),c=Oe(v=>ar(v)),{additionalChurnFactors:b}=Oe(v=>Wh(v)),{selectedCompanyDetail:m,selectedCompanyId:y,localFormDataAndStatusByCompanyId:g}=h,u=Oe(v=>v.companyViewState.zeniUsers.fetchState),_=Oe(v=>v.companyHealthMetricConfigViewState);if(le.useEffect(()=>{const v=E=>E==="Not-Started"||E==="Error";h.fetchState==="Completed"?o(Lt(!1)):v(h.fetchState)&&(o(xl()),v(u)&&o(Tt()),v(_.fetchState)&&o(Kh()))},[h.fetchState,_.fetchState]),le.useEffect(()=>{t!=null&&h.fetchState==="Completed"&&r.has("utm_source")===!0&&(o(Il(t)),m!=null&&(lp(),Ge.trackCockpitHealthMonitorNotificationAlertClicked({companyId:m.companyInfo.companyId,companyName:m.companyInfo.name,churnProbability:m.companyHealthMetric.churnProbabilityPercentage??null}),f(!0),r.delete("utm_source"),s(r)))},[h.fetchState,m?.companyInfo.companyId,m?.companyInfo.name]),We.getSignedInUser()==null)throw Error("Can't access Health Monitor page without signing in...");return G.jsxs(G.Fragment,{children:[e===!0||y!=null&&m!=null?G.jsx(ln,{anchor:"right",open:y!=null,PaperProps:{style:{width:nm.overlayWidth.valuePercentage(a),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:i.colors.black,opacity:.75,cursor:"pointer"}}},onClose:()=>o(hs()),children:G.jsx(hp,{roomId:`cockpit_${y}`,autoConnect:!0,children:G.jsx(dp,{onSaveClick:()=>{y!=null&&o(Xh(y))},onSaveChangesToLocalStore:v=>{h.selectedCompanyId!=null&&o(Jh({companyId:h.selectedCompanyId,updatedLocalData:v}))},localData:g?.companyHealthMetricLocalData??{netPromoterScore:void 0,externalProductServiceExposure:void 0,additionalChurnFactors:{increasingChurnProbability:[],decreasingChurnProbability:[]}},companyHealthMetricViewSelector:h,onCloseDrawer:()=>o(hs()),analytics:Ge,urlSource:d,additionalChurnFactorsOptions:b})})}):null,G.jsx(om,{initialOpenThreadRequest:l??void 0,healthView:h,managementView:c,navigate:n,mixpanelHMUrl:un.mixpanelHMUrl})]})}const Jl=(e,n)=>{const o=[...e??[]];return o.push(n),o},sm=e=>{const n=[...e??[]];return{poppedPathname:n.pop(),newStack:n}},um=(e=2)=>{let n="../";for(let o=0;o<e;o++)n=`${n}../`;return n},Pe=({state:e,element:n})=>We.isSignedIn()===!0?G.jsx(G.Fragment,{children:n}):G.jsx(tr,{to:"/signin/auth",replace:!0,state:{...e,message:"...",origin:window.location.pathname}});function cm(){return G.jsxs(bt,{children:[G.jsx(Te,{path:"/companies/:companyId",element:G.jsx(Pe,{element:G.jsx(jn,{isDrawerOpen:!0})})}),G.jsx(Te,{path:"/",element:G.jsx(Pe,{element:G.jsx(jn,{})})}),G.jsx(Te,{path:"/*",element:G.jsx(Pe,{element:G.jsx(jn,{})})})]})}const fm={drawerLeftMargin:new ut(0,0,240)};function fr(e){const{isOpen:n,drawerLeftMargin:o,children:i,onClose:a}=e,t=sn(),r=o?.valuePx(t)??fm.drawerLeftMargin.valuePx(t),s=Gt();return G.jsx(ln,{anchor:"right",open:n,PaperProps:{style:{width:`calc(100% - ${r})`}},slotProps:{backdrop:{style:{backgroundColor:s.colors.black,opacity:.8,cursor:"pointer"}}},onClose:a,children:i})}const lm=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?G.jsx(hm,{children:G.jsx(cn,{size:"ExtraLarge",start:!0})}):null,hm=tt.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: 100%;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as d}from"./liveblocks-MdBSm47b.js";import{a as S,b as f,n as m}from"./sentry-D4s0taNl.js";import{n as I,i as w,g,u as h,N as b,h as y}from"./core-DJqJSXg7.js";import{z as l,m as v,D as C,a as E,q as U,K as x,c as p}from"./index-
|
|
1
|
+
import{j as d}from"./liveblocks-MdBSm47b.js";import{a as S,b as f,n as m}from"./sentry-D4s0taNl.js";import{n as I,i as w,g,u as h,N as b,h as y}from"./core-DJqJSXg7.js";import{z as l,m as v,D as C,a as E,q as U,K as x,c as p}from"./index-BFo-bXQg.js";import{Gv as T,Gw as D,Gx as L,Gy as z,bi as u}from"./zeni-epic-state-BRXzaXEX.js";import{f as A}from"./analyticsHelper-CQ_NJ64f.js";import"./recharts-K1p0NQzK.js";import"./mui-C6GD0jRa.js";import"./lottie-B7ijoRF5.js";import"./analytics-C2zi4yYl.js";import"./lexical-DRk-qy6i.js";import"./utils-CPUHikhf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="aa3328b9-e0a2-4219-aea8-650dc4c1b701",e._sentryDebugIdIdentifier="sentry-dbid-aa3328b9-e0a2-4219-aea8-650dc4c1b701")}catch{}})();function N(e){const o=e.tenantState.fetchState,i=e.tenantState.sendEmailMagicLinkFetchState;return{googleClientId:p.googleClientId,microsoftClientId:p.microsoftClientId,signInError:e.tenantState.error?.error,fetchState:o,sendMagicLinkStatus:i,showEmailLogin:!1}}function k(e,o){const{location:i,navigate:r}=o;return console.warn(JSON.stringify(window.location)),{onOAuthError:(n,t)=>{m({message:`OAuth error from provider ${t} with error ${n}`,level:"error",tags:{authProvider:t,errorType:"zeni.login.error"},extra:{error:n,windowLocation:window.location.href}})},onOAuthSuccess:(n,t)=>{const s=t==="google"?window.location.origin:window.location.origin+window.location.pathname;e(z({authCode:n,oauthProvider:t,appType:"web",redirectUri:u(s),sourceUri:u(i.state!=null?i.state.origin:"")}))},getSignedInUser:()=>l.getSignedInUser(),onSignedInCallback:()=>{const n=i.state?.origin;n&&n!=="/"?r(n,{replace:!0}):window.open(window.location.origin,"_self")},clearSignInError:()=>{e(L())}}}const P=y(N,k)(x),_=f.memo(P);function J(){const e=I(),o=w(),i=l.getSignedInUser(),r=g(a=>a.tenantState.fetchState),n=g(a=>a.tenantState.signInState),t=g(a=>a.tenantState.loggedInUser),s=v().mode,c=h();if(S.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(l.saveSignedInUserWithSession(t,t.zeniSessionId),T(t.userId,t.zeniSessionId),e(D("Completed")),C.updateAppLocaleID("en"),A(t,s),setTimeout(()=>{E.trackLogin(U.Event.loginSuccess,t.authProvider??"google")},2e3))},[]),n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null||i!=null){const a=c.state?.origin??"/";return d.jsx(b,{to:a,state:{...c.state,origin:""}})}else return d.jsx(_,{navigate:o,location:c})}export{J as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./index-
|
|
1
|
+
import{a as n}from"./index-BFo-bXQg.js";import"./sentry-D4s0taNl.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new a.Error().stack;i&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[i]="7b42a103-155a-44ea-b0f4-31bca932f024",a._sentryDebugIdIdentifier="sentry-dbid-7b42a103-155a-44ea-b0f4-31bca932f024")}catch{}})();const d=(a,i,e,o)=>{n.identify(a.userId,{tenant_id:e?.tenantId,tenant_email_domain:e?.tenantEmailDomain,company_id:e?.companyId,company_name:e?.companyName,user_role:e?.userRole,$email:a.userEmail,user_email_domain:a.userEmailDomain,$first_name:a.firstName,$last_name:a.lastName,company_ids:void 0,company_names:void 0,user_roles:void 0,app_type:"web",appearance:i})};export{d as f};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/empty-Bk3huslZ.js","assets/sentry-D4s0taNl.js","assets/empty-B21GhML_.js","assets/index-yyXegiMy.js","assets/index-BxgOoqGm.js","assets/zeni-epic-state-BRXzaXEX.js","assets/core-DJqJSXg7.js","assets/utils-CPUHikhf.js","assets/recharts-K1p0NQzK.js","assets/url-C8bzLilf.js","assets/index-Cq4l3zxM.js","assets/index-DgPAMj43.js","assets/url-C8ECIdKT.js","assets/index-BhBiwiQa.js","assets/ScreenRoutes-
|
|
2
|
-
import{a as f,b as k,R as APe,c as Kg,p as Fp,e as VG,r as El,g as qN,f as EPe,s as UG,w as LPe,i as jPe,S as IPe,j as MPe,k as PPe,l as TPe,m as BPe}from"./sentry-D4s0taNl.js";import{j as cr,_ as t3e,a as ec,u as r3e,T as DPe,C as _Pe,b as zPe,c as hk,d as mk,e as RPe,f as o3e,g as FPe,h as OPe,L as NPe,i as WG,k as HPe,l as VPe,P as UPe,m as WPe,n as QPe,o as i3e,p as GPe,q as YPe,I as QG,r as KPe,s as qPe,t as ZPe,v as JPe,w as XPe,x as eTe,y as n3e,z as tTe,A as rTe,B as oTe}from"./liveblocks-MdBSm47b.js";import{f as a3e,R as vg,r as Ns,P as Yi,u as gk,g as Du,h as iTe,i as ZN,j as nTe,k as aTe,l as KL,N as sTe,m as lTe,n as dTe,B as cTe}from"./core-DJqJSXg7.js";import{B as Gv,ba as Cg,bb as uTe,bc as GG,bd as y3,be as Vo,bf as s3e,bg as xo,bh as pTe,bi as S5,bj as t2,bk as JN,bl as l3e,bm as hTe,bn as d3e,bo as XN,bp as mTe,bq as c3e,br as gTe,bs as vi,bt as A5,bu as pu,bv as fTe,bw as xTe,bx as yTe,by as wTe,bz as YG,bA as bTe,bB as vTe,bC as CTe,bD as $Te,bE as fk,bF as u3e,bG as r2,bH as kTe,bI as p3e,bJ as xR,bK as KG,bL as qG,bM as ZG,bN as Bs,bO as eH,bP as tH,bQ as o7,bR as rH,bS as oH,bT as iH,bU as nH,bV as STe,bW as Yv,bX as ATe,bY as ETe,bZ as aH,b_ as LTe,b$ as Xp,c0 as jTe,c1 as ITe,c2 as MTe,c3 as PTe,c4 as TTe,c5 as BTe,c6 as DTe,c7 as _Te,c8 as zTe,c9 as RTe,ca as FTe,cb as OTe,cc as NTe,cd as HTe,ce as VTe,cf as UTe,cg as WTe,ch as QTe,ci as GTe,cj as YTe,ck as KTe,cl as xk,cm as yk,cn as h3e,co as qTe,cp as JG,cq as ZTe,cr as JTe,cs as XTe,ct as E9,cu as m3e,cv as g3e,cw as eBe,cx as f3e,cy as XG,cz as x3e,cA as y3e,cB as w3e,cC as b3e,cD as v3e,cE as C3e,cF as tBe,cG as rBe,cH as oBe,cI as $3e,cJ as yR,cK as iBe,cL as k3e,cM as S3e,cN as nBe,cO as aBe,cP as sBe,cQ as lBe,cR as dBe,cS as cBe,cT as uBe,cU as pBe,v as hBe,cV as wk,cW as A3e,cX as E3e,cY as mBe,cZ as gBe,c_ as fBe,c$ as xBe,d0 as yBe,d1 as wBe,d2 as bBe,d3 as vBe,d4 as CBe,d5 as eY,d6 as $Be,d7 as kBe,d8 as SBe,d9 as ABe}from"./zeni-epic-state-BRXzaXEX.js";import{T as L3e,j as $r,n as a,c as ge,k as Ft,C as j3e,G as xx,u as I3e,a as EBe}from"./mui-C6GD0jRa.js";import{L as wR}from"./lottie-B7ijoRF5.js";import{r as LBe,m as hu}from"./analytics-C2zi4yYl.js";import{r as On}from"./lexical-DRk-qy6i.js";import{E as ui,c as bk,P as jBe,R as bR,F as Kv,X as od,Y as id,G as bh,H as qv,I as vk,J as vh,K as M3e,L as IBe,M as MBe,N as w3,O as sH,Q as lH,S as yx,U as PBe}from"./recharts-K1p0NQzK.js";import{r as TBe}from"./utils-CPUHikhf.js";(function(){try{var e=typeof window<"u"?window:typeof Kg<"u"?Kg:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b3fe1377-3f46-4ae4-9e5b-4e919e527829",e._sentryDebugIdIdentifier="sentry-dbid-b3fe1377-3f46-4ae4-9e5b-4e919e527829")}catch{}})();(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))i(n);new MutationObserver(n=>{for(const s of n)if(s.type==="childList")for(const d of s.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&i(d)}).observe(document,{childList:!0,subtree:!0});function r(n){const s={};return n.integrity&&(s.integrity=n.integrity),n.referrerPolicy&&(s.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?s.credentials="include":n.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(n){if(n.ep)return;n.ep=!0;const s=r(n);fetch(n.href,s)}})();var Iy={},tY;function BBe(){if(tY)return Iy;tY=1;var e=a3e();return Iy.createRoot=e.createRoot,Iy.hydrateRoot=e.hydrateRoot,Iy}var DBe=BBe(),ul=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Kg<"u"?Kg:typeof self<"u"?self:{};function oo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var rY={exports:{}},X7={},oY;function _Be(){if(oY)return X7;oY=1;var e=k,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function d(c,u,p){var h,m={},g=null,x=null;p!==void 0&&(g=""+p),u.key!==void 0&&(g=""+u.key),u.ref!==void 0&&(x=u.ref);for(h in u)i.call(u,h)&&!s.hasOwnProperty(h)&&(m[h]=u[h]);if(c&&c.defaultProps)for(h in u=c.defaultProps,u)m[h]===void 0&&(m[h]=u[h]);return{$$typeof:t,type:c,key:g,ref:x,props:m,_owner:n.current}}return X7.Fragment=r,X7.jsx=d,X7.jsxs=d,X7}var iY;function P3e(){return iY||(iY=1,rY.exports=_Be()),rY.exports}var l=P3e();const zBe=f.createContext(null),qL={didCatch:!1,error:null};let RBe=class extends f.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=qL}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){const{error:t}=this.state;if(t!==null){for(var r,i,n=arguments.length,s=new Array(n),d=0;d<n;d++)s[d]=arguments[d];(r=(i=this.props).onReset)===null||r===void 0||r.call(i,{args:s,reason:"imperative-api"}),this.setState(qL)}}componentDidCatch(t,r){var i,n;(i=(n=this.props).onError)===null||i===void 0||i.call(n,t,r)}componentDidUpdate(t,r){const{didCatch:i}=this.state,{resetKeys:n}=this.props;if(i&&r.error!==null&&FBe(t.resetKeys,n)){var s,d;(s=(d=this.props).onReset)===null||s===void 0||s.call(d,{next:n,prev:t.resetKeys,reason:"keys"}),this.setState(qL)}}render(){const{children:t,fallbackRender:r,FallbackComponent:i,fallback:n}=this.props,{didCatch:s,error:d}=this.state;let c=t;if(s){const u={error:d,resetErrorBoundary:this.resetErrorBoundary};if(typeof r=="function")c=r(u);else if(i)c=f.createElement(i,u);else if(n!==void 0)c=n;else throw d}return f.createElement(zBe.Provider,{value:{didCatch:s,error:d,resetErrorBoundary:this.resetErrorBoundary}},c)}};function FBe(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((r,i)=>!Object.is(r,t[i]))}var vR={exports:{}},OBe=vR.exports,nY;function NBe(){return nY||(nY=1,function(e){(function(t,r){e.exports?e.exports=r():t.numeral=r()})(OBe,function(){var t,r,i="2.0.6",n={},s={},d={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},c={currentLocale:d.currentLocale,zeroFormat:d.zeroFormat,nullFormat:d.nullFormat,defaultFormat:d.defaultFormat,scalePercentBy100:d.scalePercentBy100};function u(p,h){this._input=p,this._value=h}return t=function(p){var h,m,g,x;if(t.isNumeral(p))h=p.value();else if(p===0||typeof p>"u")h=0;else if(p===null||r.isNaN(p))h=null;else if(typeof p=="string")if(c.zeroFormat&&p===c.zeroFormat)h=0;else if(c.nullFormat&&p===c.nullFormat||!p.replace(/[^0-9]+/g,"").length)h=null;else{for(m in n)if(x=typeof n[m].regexps.unformat=="function"?n[m].regexps.unformat():n[m].regexps.unformat,x&&p.match(x)){g=n[m].unformat;break}g=g||t._.stringToNumber,h=g(p)}else h=Number(p)||null;return new u(p,h)},t.version=i,t.isNumeral=function(p){return p instanceof u},t._=r={numberToFormat:function(p,h,m){var g=s[t.options.currentLocale],x=!1,y=!1,w=0,b="",C=1e12,$=1e9,A=1e6,L=1e3,I="",j=!1,T,P,B,_,O,z,G;if(p=p||0,P=Math.abs(p),t._.includes(h,"(")?(x=!0,h=h.replace(/[\(|\)]/g,"")):(t._.includes(h,"+")||t._.includes(h,"-"))&&(O=t._.includes(h,"+")?h.indexOf("+"):p<0?h.indexOf("-"):-1,h=h.replace(/[\+|\-]/g,"")),t._.includes(h,"a")&&(T=h.match(/a(k|m|b|t)?/),T=T?T[1]:!1,t._.includes(h," a")&&(b=" "),h=h.replace(new RegExp(b+"a[kmbt]?"),""),P>=C&&!T||T==="t"?(b+=g.abbreviations.trillion,p=p/C):P<C&&P>=$&&!T||T==="b"?(b+=g.abbreviations.billion,p=p/$):P<$&&P>=A&&!T||T==="m"?(b+=g.abbreviations.million,p=p/A):(P<A&&P>=L&&!T||T==="k")&&(b+=g.abbreviations.thousand,p=p/L)),t._.includes(h,"[.]")&&(y=!0,h=h.replace("[.]",".")),B=p.toString().split(".")[0],_=h.split(".")[1],z=h.indexOf(","),w=(h.split(".")[0].split(",")[0].match(/0/g)||[]).length,_?(t._.includes(_,"[")?(_=_.replace("]",""),_=_.split("["),I=t._.toFixed(p,_[0].length+_[1].length,m,_[1].length)):I=t._.toFixed(p,_.length,m),B=I.split(".")[0],t._.includes(I,".")?I=g.delimiters.decimal+I.split(".")[1]:I="",y&&Number(I.slice(1))===0&&(I="")):B=t._.toFixed(p,0,m),b&&!T&&Number(B)>=1e3&&b!==g.abbreviations.trillion)switch(B=String(Number(B)/1e3),b){case g.abbreviations.thousand:b=g.abbreviations.million;break;case g.abbreviations.million:b=g.abbreviations.billion;break;case g.abbreviations.billion:b=g.abbreviations.trillion;break}if(t._.includes(B,"-")&&(B=B.slice(1),j=!0),B.length<w)for(var Z=w-B.length;Z>0;Z--)B="0"+B;return z>-1&&(B=B.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+g.delimiters.thousands)),h.indexOf(".")===0&&(B=""),G=B+I+(b||""),x?G=(x&&j?"(":"")+G+(x&&j?")":""):O>=0?G=O===0?(j?"-":"+")+G:G+(j?"-":"+"):j&&(G="-"+G),G},stringToNumber:function(p){var h=s[c.currentLocale],m=p,g={thousand:3,million:6,billion:9,trillion:12},x,y,w;if(c.zeroFormat&&p===c.zeroFormat)y=0;else if(c.nullFormat&&p===c.nullFormat||!p.replace(/[^0-9]+/g,"").length)y=null;else{y=1,h.delimiters.decimal!=="."&&(p=p.replace(/\./g,"").replace(h.delimiters.decimal,"."));for(x in g)if(w=new RegExp("[^a-zA-Z]"+h.abbreviations[x]+"(?:\\)|(\\"+h.currency.symbol+")?(?:\\))?)?$"),m.match(w)){y*=Math.pow(10,g[x]);break}y*=(p.split("-").length+Math.min(p.split("(").length-1,p.split(")").length-1))%2?1:-1,p=p.replace(/[^0-9\.]+/g,""),y*=Number(p)}return y},isNaN:function(p){return typeof p=="number"&&isNaN(p)},includes:function(p,h){return p.indexOf(h)!==-1},insert:function(p,h,m){return p.slice(0,m)+h+p.slice(m)},reduce:function(p,h){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof h!="function")throw new TypeError(h+" is not a function");var m=Object(p),g=m.length>>>0,x=0,y;if(arguments.length===3)y=arguments[2];else{for(;x<g&&!(x in m);)x++;if(x>=g)throw new TypeError("Reduce of empty array with no initial value");y=m[x++]}for(;x<g;x++)x in m&&(y=h(y,m[x],x,m));return y},multiplier:function(p){var h=p.toString().split(".");return h.length<2?1:Math.pow(10,h[1].length)},correctionFactor:function(){var p=Array.prototype.slice.call(arguments);return p.reduce(function(h,m){var g=r.multiplier(m);return h>g?h:g},1)},toFixed:function(p,h,m,g){var x=p.toString().split("."),y=h-(g||0),w,b,C,$;return x.length===2?w=Math.min(Math.max(x[1].length,y),h):w=y,C=Math.pow(10,w),$=(m(p+"e+"+w)/C).toFixed(w),g>h-w&&(b=new RegExp("\\.?0{1,"+(g-(h-w))+"}$"),$=$.replace(b,"")),$}},t.options=c,t.formats=n,t.locales=s,t.locale=function(p){return p&&(c.currentLocale=p.toLowerCase()),c.currentLocale},t.localeData=function(p){if(!p)return s[c.currentLocale];if(p=p.toLowerCase(),!s[p])throw new Error("Unknown locale : "+p);return s[p]},t.reset=function(){for(var p in d)c[p]=d[p]},t.zeroFormat=function(p){c.zeroFormat=typeof p=="string"?p:null},t.nullFormat=function(p){c.nullFormat=typeof p=="string"?p:null},t.defaultFormat=function(p){c.defaultFormat=typeof p=="string"?p:"0.0"},t.register=function(p,h,m){if(h=h.toLowerCase(),this[p+"s"][h])throw new TypeError(h+" "+p+" already registered.");return this[p+"s"][h]=m,m},t.validate=function(p,h){var m,g,x,y,w,b,C,$;if(typeof p!="string"&&(p+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",p)),p=p.trim(),p.match(/^\d+$/))return!0;if(p==="")return!1;try{C=t.localeData(h)}catch{C=t.localeData(t.locale())}return x=C.currency.symbol,w=C.abbreviations,m=C.delimiters.decimal,C.delimiters.thousands==="."?g="\\.":g=C.delimiters.thousands,$=p.match(/^[^\d]+/),$!==null&&(p=p.substr(1),$[0]!==x)||($=p.match(/[^\d]+$/),$!==null&&(p=p.slice(0,-1),$[0]!==w.thousand&&$[0]!==w.million&&$[0]!==w.billion&&$[0]!==w.trillion))?!1:(b=new RegExp(g+"{2}"),p.match(/[^\d.,]/g)?!1:(y=p.split(m),y.length>2?!1:y.length<2?!!y[0].match(/^\d+.*\d$/)&&!y[0].match(b):y[0].length===1?!!y[0].match(/^\d+$/)&&!y[0].match(b)&&!!y[1].match(/^\d+$/):!!y[0].match(/^\d+.*\d$/)&&!y[0].match(b)&&!!y[1].match(/^\d+$/)))},t.fn=u.prototype={clone:function(){return t(this)},format:function(p,h){var m=this._value,g=p||c.defaultFormat,x,y,w;if(h=h||Math.round,m===0&&c.zeroFormat!==null)y=c.zeroFormat;else if(m===null&&c.nullFormat!==null)y=c.nullFormat;else{for(x in n)if(g.match(n[x].regexps.format)){w=n[x].format;break}w=w||t._.numberToFormat,y=w(m,g,h)}return y},value:function(){return this._value},input:function(){return this._input},set:function(p){return this._value=Number(p),this},add:function(p){var h=r.correctionFactor.call(null,this._value,p);function m(g,x,y,w){return g+Math.round(h*x)}return this._value=r.reduce([this._value,p],m,0)/h,this},subtract:function(p){var h=r.correctionFactor.call(null,this._value,p);function m(g,x,y,w){return g-Math.round(h*x)}return this._value=r.reduce([p],m,Math.round(this._value*h))/h,this},multiply:function(p){function h(m,g,x,y){var w=r.correctionFactor(m,g);return Math.round(m*w)*Math.round(g*w)/Math.round(w*w)}return this._value=r.reduce([this._value,p],h,1),this},divide:function(p){function h(m,g,x,y){var w=r.correctionFactor(m,g);return Math.round(m*w)/Math.round(g*w)}return this._value=r.reduce([this._value,p],h),this},difference:function(p){return Math.abs(t(this._value).subtract(p).value())}},t.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(p){var h=p%10;return~~(p%100/10)===1?"th":h===1?"st":h===2?"nd":h===3?"rd":"th"},currency:{symbol:"$"}}),function(){t.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(p,h,m){var g=t._.includes(h," BPS")?" ":"",x;return p=p*1e4,h=h.replace(/\s?BPS/,""),x=t._.numberToFormat(p,h,m),t._.includes(x,")")?(x=x.split(""),x.splice(-1,0,g+"BPS"),x=x.join("")):x=x+g+"BPS",x},unformat:function(p){return+(t._.stringToNumber(p)*1e-4).toFixed(15)}})}(),function(){var p={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},h={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},m=p.suffixes.concat(h.suffixes.filter(function(x){return p.suffixes.indexOf(x)<0})),g=m.join("|");g="("+g.replace("B","B(?!PS)")+")",t.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(g)},format:function(x,y,w){var b,C=t._.includes(y,"ib")?h:p,$=t._.includes(y," b")||t._.includes(y," ib")?" ":"",A,L,I;for(y=y.replace(/\s?i?b/,""),A=0;A<=C.suffixes.length;A++)if(L=Math.pow(C.base,A),I=Math.pow(C.base,A+1),x===null||x===0||x>=L&&x<I){$+=C.suffixes[A],L>0&&(x=x/L);break}return b=t._.numberToFormat(x,y,w),b+$},unformat:function(x){var y=t._.stringToNumber(x),w,b;if(y){for(w=p.suffixes.length-1;w>=0;w--){if(t._.includes(x,p.suffixes[w])){b=Math.pow(p.base,w);break}if(t._.includes(x,h.suffixes[w])){b=Math.pow(h.base,w);break}}y*=b||1}return y}})}(),function(){t.register("format","currency",{regexps:{format:/(\$)/},format:function(p,h,m){var g=t.locales[t.options.currentLocale],x={before:h.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:h.match(/([\+|\-|\)|\s|\$]*)$/)[0]},y,w,b;for(h=h.replace(/\s?\$\s?/,""),y=t._.numberToFormat(p,h,m),p>=0?(x.before=x.before.replace(/[\-\(]/,""),x.after=x.after.replace(/[\-\)]/,"")):p<0&&!t._.includes(x.before,"-")&&!t._.includes(x.before,"(")&&(x.before="-"+x.before),b=0;b<x.before.length;b++)switch(w=x.before[b],w){case"$":y=t._.insert(y,g.currency.symbol,b);break;case" ":y=t._.insert(y," ",b+g.currency.symbol.length-1);break}for(b=x.after.length-1;b>=0;b--)switch(w=x.after[b],w){case"$":y=b===x.after.length-1?y+g.currency.symbol:t._.insert(y,g.currency.symbol,-(x.after.length-(1+b)));break;case" ":y=b===x.after.length-1?y+" ":t._.insert(y," ",-(x.after.length-(1+b)+g.currency.symbol.length-1));break}return y}})}(),function(){t.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(p,h,m){var g,x=typeof p=="number"&&!t._.isNaN(p)?p.toExponential():"0e+0",y=x.split("e");return h=h.replace(/e[\+|\-]{1}0/,""),g=t._.numberToFormat(Number(y[0]),h,m),g+"e"+y[1]},unformat:function(p){var h=t._.includes(p,"e+")?p.split("e+"):p.split("e-"),m=Number(h[0]),g=Number(h[1]);g=t._.includes(p,"e-")?g*=-1:g;function x(y,w,b,C){var $=t._.correctionFactor(y,w),A=y*$*(w*$)/($*$);return A}return t._.reduce([m,Math.pow(10,g)],x,1)}})}(),function(){t.register("format","ordinal",{regexps:{format:/(o)/},format:function(p,h,m){var g=t.locales[t.options.currentLocale],x,y=t._.includes(h," o")?" ":"";return h=h.replace(/\s?o/,""),y+=g.ordinal(p),x=t._.numberToFormat(p,h,m),x+y}})}(),function(){t.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(p,h,m){var g=t._.includes(h," %")?" ":"",x;return t.options.scalePercentBy100&&(p=p*100),h=h.replace(/\s?\%/,""),x=t._.numberToFormat(p,h,m),t._.includes(x,")")?(x=x.split(""),x.splice(-1,0,g+"%"),x=x.join("")):x=x+g+"%",x},unformat:function(p){var h=t._.stringToNumber(p);return t.options.scalePercentBy100?h*.01:h}})}(),function(){t.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(p,h,m){var g=Math.floor(p/60/60),x=Math.floor((p-g*60*60)/60),y=Math.round(p-g*60*60-x*60);return g+":"+(x<10?"0"+x:x)+":"+(y<10?"0"+y:y)},unformat:function(p){var h=p.split(":"),m=0;return h.length===3?(m=m+Number(h[0])*60*60,m=m+Number(h[1])*60,m=m+Number(h[2])):h.length===2&&(m=m+Number(h[0])*60,m=m+Number(h[1])),Number(m)}})}(),t})}(vR)),vR.exports}var HBe=NBe();const oh=oo(HBe);function ch(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(i=>r.searchParams.append("args[]",i)),`Minified MUI error #${e}; visit ${r} for the full message.`}const ih="$$material";function VBe(e){for(var t=0,r,i=0,n=e.length;n>=4;++i,n-=4)r=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(i+2)&255)<<16;case 2:t^=(e.charCodeAt(i+1)&255)<<8;case 1:t^=e.charCodeAt(i)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var UBe={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function WBe(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var QBe=/[A-Z]|^ms/g,GBe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,T3e=function(e){return e.charCodeAt(1)===45},aY=function(e){return e!=null&&typeof e!="boolean"},ZL=WBe(function(e){return T3e(e)?e:e.replace(QBe,"-$&").toLowerCase()}),sY=function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(GBe,function(r,i,n){return I0={name:i,styles:n,next:I0},i})}return UBe[e]!==1&&!T3e(e)&&typeof t=="number"&&t!==0?t+"px":t};function Zv(e,t,r){if(r==null)return"";var i=r;if(i.__emotion_styles!==void 0)return i;switch(typeof r){case"boolean":return"";case"object":{var n=r;if(n.anim===1)return I0={name:n.name,styles:n.styles,next:I0},n.name;var s=r;if(s.styles!==void 0){var d=s.next;if(d!==void 0)for(;d!==void 0;)I0={name:d.name,styles:d.styles,next:I0},d=d.next;var c=s.styles+";";return c}return YBe(e,t,r)}}var u=r;return u}function YBe(e,t,r){var i="";if(Array.isArray(r))for(var n=0;n<r.length;n++)i+=Zv(e,t,r[n])+";";else for(var s in r){var d=r[s];if(typeof d!="object"){var c=d;aY(c)&&(i+=ZL(s)+":"+sY(s,c)+";")}else if(Array.isArray(d)&&typeof d[0]=="string"&&t==null)for(var u=0;u<d.length;u++)aY(d[u])&&(i+=ZL(s)+":"+sY(s,d[u])+";");else{var p=Zv(e,t,d);switch(s){case"animation":case"animationName":{i+=ZL(s)+":"+p+";";break}default:i+=s+"{"+p+"}"}}}return i}var lY=/label:\s*([^\s;{]+)\s*(;|$)/g,I0;function KBe(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var i=!0,n="";I0=void 0;var s=e[0];if(s==null||s.raw===void 0)i=!1,n+=Zv(r,t,s);else{var d=s;n+=d[0]}for(var c=1;c<e.length;c++)if(n+=Zv(r,t,e[c]),i){var u=s;n+=u[c]}lY.lastIndex=0;for(var p="",h;(h=lY.exec(n))!==null;)p+="-"+h[1];var m=VBe(n)+p;return{name:m,styles:n,next:I0}}var JL={exports:{}},XL,dY;function qBe(){if(dY)return XL;dY=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return XL=e,XL}var ej,cY;function ZBe(){if(cY)return ej;cY=1;var e=qBe();function t(){}function r(){}return r.resetWarningCache=t,ej=function(){function i(d,c,u,p,h,m){if(m!==e){var g=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 g.name="Invariant Violation",g}}i.isRequired=i;function n(){return i}var s={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:n,element:i,elementType:i,instanceOf:n,node:i,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:r,resetWarningCache:t};return s.PropTypes=s,s},ej}var uY;function dH(){return uY||(uY=1,JL.exports=ZBe()()),JL.exports}var JBe=dH();const It=oo(JBe);function XBe(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function eDe(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var B3e=function(){function e(r){var i=this;this._insertTag=function(n){var s;i.tags.length===0?i.insertionPoint?s=i.insertionPoint.nextSibling:i.prepend?s=i.container.firstChild:s=i.before:s=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(n,s),i.tags.push(n)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(eDe(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var n=XBe(i);try{n.insertRule(r,n.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var i;return(i=r.parentNode)==null?void 0:i.removeChild(r)}),this.tags=[],this.ctr=0},e}(),ts="-ms-",Jv="-moz-",Fo="-webkit-",D3e="comm",cH="rule",uH="decl",tDe="@import",_3e="@keyframes",rDe="@layer",oDe=Math.abs,Ck=String.fromCharCode,iDe=Object.assign;function nDe(e,t){return Na(e,0)^45?(((t<<2^Na(e,0))<<2^Na(e,1))<<2^Na(e,2))<<2^Na(e,3):0}function z3e(e){return e.trim()}function aDe(e,t){return(e=t.exec(e))?e[0]:e}function Oo(e,t,r){return e.replace(t,r)}function CR(e,t){return e.indexOf(t)}function Na(e,t){return e.charCodeAt(t)|0}function L9(e,t,r){return e.slice(t,r)}function mu(e){return e.length}function pH(e){return e.length}function My(e,t){return t.push(e),e}function sDe(e,t){return e.map(t).join("")}var $k=1,E5=1,R3e=0,Cl=0,Dn=0,i7="";function kk(e,t,r,i,n,s,d){return{value:e,root:t,parent:r,type:i,props:n,children:s,line:$k,column:E5,length:d,return:""}}function e6(e,t){return iDe(kk("",null,null,"",null,null,0),e,{length:-e.length},t)}function lDe(){return Dn}function dDe(){return Dn=Cl>0?Na(i7,--Cl):0,E5--,Dn===10&&(E5=1,$k--),Dn}function ed(){return Dn=Cl<R3e?Na(i7,Cl++):0,E5++,Dn===10&&(E5=1,$k++),Dn}function Hu(){return Na(i7,Cl)}function mv(){return Cl}function wx(e,t){return L9(i7,e,t)}function j9(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function F3e(e){return $k=E5=1,R3e=mu(i7=e),Cl=0,[]}function O3e(e){return i7="",e}function gv(e){return z3e(wx(Cl-1,$R(e===91?e+2:e===40?e+1:e)))}function cDe(e){for(;(Dn=Hu())&&Dn<33;)ed();return j9(e)>2||j9(Dn)>3?"":" "}function uDe(e,t){for(;--t&&ed()&&!(Dn<48||Dn>102||Dn>57&&Dn<65||Dn>70&&Dn<97););return wx(e,mv()+(t<6&&Hu()==32&&ed()==32))}function $R(e){for(;ed();)switch(Dn){case e:return Cl;case 34:case 39:e!==34&&e!==39&&$R(Dn);break;case 40:e===41&&$R(e);break;case 92:ed();break}return Cl}function pDe(e,t){for(;ed()&&e+Dn!==57&&!(e+Dn===84&&Hu()===47););return"/*"+wx(t,Cl-1)+"*"+Ck(e===47?e:ed())}function hDe(e){for(;!j9(Hu());)ed();return wx(e,Cl)}function mDe(e){return O3e(fv("",null,null,null,[""],e=F3e(e),0,[0],e))}function fv(e,t,r,i,n,s,d,c,u){for(var p=0,h=0,m=d,g=0,x=0,y=0,w=1,b=1,C=1,$=0,A="",L=n,I=s,j=i,T=A;b;)switch(y=$,$=ed()){case 40:if(y!=108&&Na(T,m-1)==58){CR(T+=Oo(gv($),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:T+=gv($);break;case 9:case 10:case 13:case 32:T+=cDe(y);break;case 92:T+=uDe(mv()-1,7);continue;case 47:switch(Hu()){case 42:case 47:My(gDe(pDe(ed(),mv()),t,r),u);break;default:T+="/"}break;case 123*w:c[p++]=mu(T)*C;case 125*w:case 59:case 0:switch($){case 0:case 125:b=0;case 59+h:C==-1&&(T=Oo(T,/\f/g,"")),x>0&&mu(T)-m&&My(x>32?hY(T+";",i,r,m-1):hY(Oo(T," ","")+";",i,r,m-2),u);break;case 59:T+=";";default:if(My(j=pY(T,t,r,p,h,n,c,A,L=[],I=[],m),s),$===123)if(h===0)fv(T,t,j,j,L,s,m,c,I);else switch(g===99&&Na(T,3)===110?100:g){case 100:case 108:case 109:case 115:fv(e,j,j,i&&My(pY(e,j,j,0,0,n,c,A,n,L=[],m),I),n,I,m,c,i?L:I);break;default:fv(T,j,j,j,[""],I,0,c,I)}}p=h=x=0,w=C=1,A=T="",m=d;break;case 58:m=1+mu(T),x=y;default:if(w<1){if($==123)--w;else if($==125&&w++==0&&dDe()==125)continue}switch(T+=Ck($),$*w){case 38:C=h>0?1:(T+="\f",-1);break;case 44:c[p++]=(mu(T)-1)*C,C=1;break;case 64:Hu()===45&&(T+=gv(ed())),g=Hu(),h=m=mu(A=T+=hDe(mv())),$++;break;case 45:y===45&&mu(T)==2&&(w=0)}}return s}function pY(e,t,r,i,n,s,d,c,u,p,h){for(var m=n-1,g=n===0?s:[""],x=pH(g),y=0,w=0,b=0;y<i;++y)for(var C=0,$=L9(e,m+1,m=oDe(w=d[y])),A=e;C<x;++C)(A=z3e(w>0?g[C]+" "+$:Oo($,/&\f/g,g[C])))&&(u[b++]=A);return kk(e,t,r,n===0?cH:c,u,p,h)}function gDe(e,t,r){return kk(e,t,r,D3e,Ck(lDe()),L9(e,2,-2),0)}function hY(e,t,r,i){return kk(e,t,r,uH,L9(e,0,i),L9(e,i+1,-1),i)}function e5(e,t){for(var r="",i=pH(e),n=0;n<i;n++)r+=t(e[n],n,e,t)||"";return r}function fDe(e,t,r,i){switch(e.type){case rDe:if(e.children.length)break;case tDe:case uH:return e.return=e.return||e.value;case D3e:return"";case _3e:return e.return=e.value+"{"+e5(e.children,i)+"}";case cH:e.value=e.props.join(",")}return mu(r=e5(e.children,i))?e.return=e.value+"{"+r+"}":""}function xDe(e){var t=pH(e);return function(r,i,n,s){for(var d="",c=0;c<t;c++)d+=e[c](r,i,n,s)||"";return d}}function yDe(e){return function(t){t.root||(t=t.return)&&e(t)}}var wDe=function(e,t,r){for(var i=0,n=0;i=n,n=Hu(),i===38&&n===12&&(t[r]=1),!j9(n);)ed();return wx(e,Cl)},bDe=function(e,t){var r=-1,i=44;do switch(j9(i)){case 0:i===38&&Hu()===12&&(t[r]=1),e[r]+=wDe(Cl-1,t,r);break;case 2:e[r]+=gv(i);break;case 4:if(i===44){e[++r]=Hu()===58?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Ck(i)}while(i=ed());return e},vDe=function(e,t){return O3e(bDe(F3e(e),t))},mY=new WeakMap,CDe=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var t=e.value,r=e.parent,i=e.column===r.column&&e.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!mY.get(r))&&!i){mY.set(e,!0);for(var n=[],s=vDe(t,n),d=r.props,c=0,u=0;c<s.length;c++)for(var p=0;p<d.length;p++,u++)e.props[u]=n[c]?s[c].replace(/&\f/g,d[p]):d[p]+" "+s[c]}}},$De=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}};function N3e(e,t){switch(nDe(e,t)){case 5103:return Fo+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Fo+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Fo+e+Jv+e+ts+e+e;case 6828:case 4268:return Fo+e+ts+e+e;case 6165:return Fo+e+ts+"flex-"+e+e;case 5187:return Fo+e+Oo(e,/(\w+).+(:[^]+)/,Fo+"box-$1$2"+ts+"flex-$1$2")+e;case 5443:return Fo+e+ts+"flex-item-"+Oo(e,/flex-|-self/,"")+e;case 4675:return Fo+e+ts+"flex-line-pack"+Oo(e,/align-content|flex-|-self/,"")+e;case 5548:return Fo+e+ts+Oo(e,"shrink","negative")+e;case 5292:return Fo+e+ts+Oo(e,"basis","preferred-size")+e;case 6060:return Fo+"box-"+Oo(e,"-grow","")+Fo+e+ts+Oo(e,"grow","positive")+e;case 4554:return Fo+Oo(e,/([^-])(transform)/g,"$1"+Fo+"$2")+e;case 6187:return Oo(Oo(Oo(e,/(zoom-|grab)/,Fo+"$1"),/(image-set)/,Fo+"$1"),e,"")+e;case 5495:case 3959:return Oo(e,/(image-set\([^]*)/,Fo+"$1$`$1");case 4968:return Oo(Oo(e,/(.+:)(flex-)?(.*)/,Fo+"box-pack:$3"+ts+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Fo+e+e;case 4095:case 3583:case 4068:case 2532:return Oo(e,/(.+)-inline(.+)/,Fo+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(mu(e)-1-t>6)switch(Na(e,t+1)){case 109:if(Na(e,t+4)!==45)break;case 102:return Oo(e,/(.+:)(.+)-([^]+)/,"$1"+Fo+"$2-$3$1"+Jv+(Na(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~CR(e,"stretch")?N3e(Oo(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Na(e,t+1)!==115)break;case 6444:switch(Na(e,mu(e)-3-(~CR(e,"!important")&&10))){case 107:return Oo(e,":",":"+Fo)+e;case 101:return Oo(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Fo+(Na(e,14)===45?"inline-":"")+"box$3$1"+Fo+"$2$3$1"+ts+"$2box$3")+e}break;case 5936:switch(Na(e,t+11)){case 114:return Fo+e+ts+Oo(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Fo+e+ts+Oo(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Fo+e+ts+Oo(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Fo+e+ts+e+e}return e}var kDe=function(e,t,r,i){if(e.length>-1&&!e.return)switch(e.type){case uH:e.return=N3e(e.value,e.length);break;case _3e:return e5([e6(e,{value:Oo(e.value,"@","@"+Fo)})],i);case cH:if(e.length)return sDe(e.props,function(n){switch(aDe(n,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return e5([e6(e,{props:[Oo(n,/:(read-\w+)/,":"+Jv+"$1")]})],i);case"::placeholder":return e5([e6(e,{props:[Oo(n,/:(plac\w+)/,":"+Fo+"input-$1")]}),e6(e,{props:[Oo(n,/:(plac\w+)/,":"+Jv+"$1")]}),e6(e,{props:[Oo(n,/:(plac\w+)/,ts+"input-$1")]})],i)}return""})}},SDe=[kDe],H3e=function(e){var t=e.key;if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var w=y.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var i=e.stylisPlugins||SDe,n={},s,d=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(y){for(var w=y.getAttribute("data-emotion").split(" "),b=1;b<w.length;b++)n[w[b]]=!0;d.push(y)});var c,u=[CDe,$De];{var p,h=[fDe,yDe(function(y){p.insert(y)})],m=xDe(u.concat(i,h)),g=function(y){return e5(mDe(y),m)};c=function(y,w,b,C){p=b,g(y?y+"{"+w.styles+"}":w.styles),C&&(x.inserted[w.name]=!0)}}var x={key:t,sheet:new B3e({key:t,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:n,registered:{},insert:c};return x.sheet.hydrate(d),x};const tj=new Map,ADe=(e,t)=>{const r=H3e(e);return r.sheet=new t({key:r.key,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy,prepend:r.sheet.prepend,insertionPoint:r.sheet.insertionPoint}),r};let g0;if(typeof document=="object"&&(g0=document.querySelector('[name="emotion-insertion-point"]'),!g0)){g0=document.createElement("meta"),g0.setAttribute("name","emotion-insertion-point"),g0.setAttribute("content","");const e=document.querySelector("head");e&&e.prepend(g0)}function EDe(e,t){if(e||t){class r extends B3e{insert(s,d){return this.key&&this.key.endsWith("global")&&(this.before=g0),super.insert(s,d)}}const i=ADe({key:"css",insertionPoint:e?g0:void 0},r);if(t){const n=i.insert;i.insert=(...s)=>(s[1].styles.match(/^@layer\s+[^{]*$/)||(s[1].styles=`@layer mui {${s[1].styles}}`),n(...s))}return i}}function LDe(e){const{injectFirst:t,enableCssLayer:r,children:i}=e,n=f.useMemo(()=>{const s=`${t}-${r}`;if(typeof document=="object"&&tj.has(s))return tj.get(s);const d=EDe(t,r);return tj.set(s,d),d},[t,r]);return n?l.jsx(j3e,{value:n,children:i}):i}function jDe(e){return e==null||Object.keys(e).length===0}function V3e(e){const{styles:t,defaultTheme:r={}}=e,i=typeof t=="function"?n=>t(jDe(n)?r:n):t;return l.jsx(xx,{styles:i})}function IDe(e,t){return a(e,t)}function MDe(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const gY=[];function H0(e){return gY[0]=e,KBe(gY)}var fY={exports:{}},ni={},xY;function PDe(){if(xY)return ni;xY=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),d=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.view_transition"),x=Symbol.for("react.client.reference");function y(w){if(typeof w=="object"&&w!==null){var b=w.$$typeof;switch(b){case e:switch(w=w.type,w){case r:case n:case i:case u:case p:case g:return w;default:switch(w=w&&w.$$typeof,w){case d:case c:case m:case h:return w;case s:return w;default:return b}}case t:return b}}}return ni.ContextConsumer=s,ni.ContextProvider=d,ni.Element=e,ni.ForwardRef=c,ni.Fragment=r,ni.Lazy=m,ni.Memo=h,ni.Portal=t,ni.Profiler=n,ni.StrictMode=i,ni.Suspense=u,ni.SuspenseList=p,ni.isContextConsumer=function(w){return y(w)===s},ni.isContextProvider=function(w){return y(w)===d},ni.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===e},ni.isForwardRef=function(w){return y(w)===c},ni.isFragment=function(w){return y(w)===r},ni.isLazy=function(w){return y(w)===m},ni.isMemo=function(w){return y(w)===h},ni.isPortal=function(w){return y(w)===t},ni.isProfiler=function(w){return y(w)===n},ni.isStrictMode=function(w){return y(w)===i},ni.isSuspense=function(w){return y(w)===u},ni.isSuspenseList=function(w){return y(w)===p},ni.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===r||w===n||w===i||w===u||w===p||typeof w=="object"&&w!==null&&(w.$$typeof===m||w.$$typeof===h||w.$$typeof===d||w.$$typeof===s||w.$$typeof===c||w.$$typeof===x||w.getModuleId!==void 0)},ni.typeOf=y,ni}var yY;function TDe(){return yY||(yY=1,fY.exports=PDe()),fY.exports}var U3e=TDe();function Gp(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function W3e(e){if(f.isValidElement(e)||U3e.isValidElementType(e)||!Gp(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=W3e(e[r])}),t}function us(e,t,r={clone:!0}){const i=r.clone?{...e}:e;return Gp(e)&&Gp(t)&&Object.keys(t).forEach(n=>{f.isValidElement(t[n])||U3e.isValidElementType(t[n])?i[n]=t[n]:Gp(t[n])&&Object.prototype.hasOwnProperty.call(e,n)&&Gp(e[n])?i[n]=us(e[n],t[n],r):r.clone?i[n]=Gp(t[n])?W3e(t[n]):t[n]:i[n]=t[n]}),i}const BDe=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,i)=>r.val-i.val),t.reduce((r,i)=>({...r,[i.key]:i.val}),{})};function DDe(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:i=5,...n}=e,s=BDe(t),d=Object.keys(s);function c(g){return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${r})`}function u(g){return`@media (max-width:${(typeof t[g]=="number"?t[g]:g)-i/100}${r})`}function p(g,x){const y=d.indexOf(x);return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${r}) and (max-width:${(y!==-1&&typeof t[d[y]]=="number"?t[d[y]]:x)-i/100}${r})`}function h(g){return d.indexOf(g)+1<d.length?p(g,d[d.indexOf(g)+1]):c(g)}function m(g){const x=d.indexOf(g);return x===0?c(d[1]):x===d.length-1?u(d[x]):p(g,d[d.indexOf(g)+1]).replace("@media","@media not all and")}return{keys:d,values:s,up:c,down:u,between:p,only:h,not:m,unit:r,...n}}function wY(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(i=>i.startsWith("@container")).sort((i,n)=>{const s=/min-width:\s*([0-9.]+)/;return+(i.match(s)?.[1]||0)-+(n.match(s)?.[1]||0)});return r.length?r.reduce((i,n)=>{const s=t[n];return delete i[n],i[n]=s,i},{...t}):t}function _De(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function zDe(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;const[,i,n]=r,s=Number.isNaN(+i)?i||0:+i;return e.containerQueries(n).up(s)}function RDe(e){const t=(s,d)=>s.replace("@media",d?`@container ${d}`:"@container");function r(s,d){s.up=(...c)=>t(e.breakpoints.up(...c),d),s.down=(...c)=>t(e.breakpoints.down(...c),d),s.between=(...c)=>t(e.breakpoints.between(...c),d),s.only=(...c)=>t(e.breakpoints.only(...c),d),s.not=(...c)=>{const u=t(e.breakpoints.not(...c),d);return u.includes("not all and")?u.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):u}}const i={},n=s=>(r(i,s),i);return r(n),{...e,containerQueries:n}}const FDe={borderRadius:4};function J8(e,t){return t?us(e,t,{clone:!1}):e}const Sk={xs:0,sm:600,md:900,lg:1200,xl:1536},bY={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Sk[e]}px)`},ODe={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:Sk[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function uh(e,t,r){const i=e.theme||{};if(Array.isArray(t)){const n=i.breakpoints||bY;return t.reduce((s,d,c)=>(s[n.up(n.keys[c])]=r(t[c]),s),{})}if(typeof t=="object"){const n=i.breakpoints||bY;return Object.keys(t).reduce((s,d)=>{if(_De(n.keys,d)){const c=zDe(i.containerQueries?i:ODe,d);c&&(s[c]=r(t[d],d))}else if(Object.keys(n.values||Sk).includes(d)){const c=n.up(d);s[c]=r(t[d],d)}else{const c=d;s[c]=t[c]}return s},{})}return r(t)}function NDe(e={}){return e.keys?.reduce((t,r)=>{const i=e.up(r);return t[i]={},t},{})||{}}function vY(e,t){return e.reduce((r,i)=>{const n=r[i];return(!n||Object.keys(n).length===0)&&delete r[i],r},t)}function Ur(e){if(typeof e!="string")throw new Error(ch(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Ak(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const i=`vars.${t}`.split(".").reduce((n,s)=>n&&n[s]?n[s]:null,e);if(i!=null)return i}return t.split(".").reduce((i,n)=>i&&i[n]!=null?i[n]:null,e)}function Xv(e,t,r,i=r){let n;return typeof e=="function"?n=e(r):Array.isArray(e)?n=e[r]||i:n=Ak(e,r)||i,t&&(n=t(n,i,e)),n}function kn(e){const{prop:t,cssProperty:r=e.prop,themeKey:i,transform:n}=e,s=d=>{if(d[t]==null)return null;const c=d[t],u=d.theme,p=Ak(u,i)||{};return uh(d,c,h=>{let m=Xv(p,n,h);return h===m&&typeof h=="string"&&(m=Xv(p,n,`${t}${h==="default"?"":Ur(h)}`,h)),r===!1?m:{[r]:m}})};return s.propTypes={},s.filterProps=[t],s}function HDe(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const VDe={m:"margin",p:"padding"},UDe={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},CY={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},WDe=HDe(e=>{if(e.length>2)if(CY[e])e=CY[e];else return[e];const[t,r]=e.split(""),i=VDe[t],n=UDe[r]||"";return Array.isArray(n)?n.map(s=>i+s):[i+n]}),hH=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],mH=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...hH,...mH];function bx(e,t,r,i){const n=Ak(e,t,!0)??r;return typeof n=="number"||typeof n=="string"?s=>typeof s=="string"?s:typeof n=="string"?n.startsWith("var(")&&s===0?0:n.startsWith("var(")&&s===1?n:`calc(${s} * ${n})`:n*s:Array.isArray(n)?s=>{if(typeof s=="string")return s;const d=Math.abs(s),c=n[d];return s>=0?c:typeof c=="number"?-c:typeof c=="string"&&c.startsWith("var(")?`calc(-1 * ${c})`:`-${c}`}:typeof n=="function"?n:()=>{}}function gH(e){return bx(e,"spacing",8)}function vx(e,t){return typeof t=="string"||t==null?t:e(t)}function QDe(e,t){return r=>e.reduce((i,n)=>(i[n]=vx(t,r),i),{})}function GDe(e,t,r,i){if(!t.includes(r))return null;const n=WDe(r),s=QDe(n,i),d=e[r];return uh(e,d,s)}function Q3e(e,t){const r=gH(e.theme);return Object.keys(e).map(i=>GDe(e,t,i,r)).reduce(J8,{})}function rn(e){return Q3e(e,hH)}rn.propTypes={};rn.filterProps=hH;function on(e){return Q3e(e,mH)}on.propTypes={};on.filterProps=mH;function G3e(e=8,t=gH({spacing:e})){if(e.mui)return e;const r=(...i)=>(i.length===0?[1]:i).map(n=>{const s=t(n);return typeof s=="number"?`${s}px`:s}).join(" ");return r.mui=!0,r}function Ek(...e){const t=e.reduce((i,n)=>(n.filterProps.forEach(s=>{i[s]=n}),i),{}),r=i=>Object.keys(i).reduce((n,s)=>t[s]?J8(n,t[s](i)):n,{});return r.propTypes={},r.filterProps=e.reduce((i,n)=>i.concat(n.filterProps),[]),r}function jd(e){return typeof e!="number"?e:`${e}px solid`}function tc(e,t){return kn({prop:e,themeKey:"borders",transform:t})}const YDe=tc("border",jd),KDe=tc("borderTop",jd),qDe=tc("borderRight",jd),ZDe=tc("borderBottom",jd),JDe=tc("borderLeft",jd),XDe=tc("borderColor"),e_e=tc("borderTopColor"),t_e=tc("borderRightColor"),r_e=tc("borderBottomColor"),o_e=tc("borderLeftColor"),i_e=tc("outline",jd),n_e=tc("outlineColor"),Lk=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=bx(e.theme,"shape.borderRadius",4),r=i=>({borderRadius:vx(t,i)});return uh(e,e.borderRadius,r)}return null};Lk.propTypes={};Lk.filterProps=["borderRadius"];Ek(YDe,KDe,qDe,ZDe,JDe,XDe,e_e,t_e,r_e,o_e,Lk,i_e,n_e);const jk=e=>{if(e.gap!==void 0&&e.gap!==null){const t=bx(e.theme,"spacing",8),r=i=>({gap:vx(t,i)});return uh(e,e.gap,r)}return null};jk.propTypes={};jk.filterProps=["gap"];const Ik=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=bx(e.theme,"spacing",8),r=i=>({columnGap:vx(t,i)});return uh(e,e.columnGap,r)}return null};Ik.propTypes={};Ik.filterProps=["columnGap"];const Mk=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=bx(e.theme,"spacing",8),r=i=>({rowGap:vx(t,i)});return uh(e,e.rowGap,r)}return null};Mk.propTypes={};Mk.filterProps=["rowGap"];const a_e=kn({prop:"gridColumn"}),s_e=kn({prop:"gridRow"}),l_e=kn({prop:"gridAutoFlow"}),d_e=kn({prop:"gridAutoColumns"}),c_e=kn({prop:"gridAutoRows"}),u_e=kn({prop:"gridTemplateColumns"}),p_e=kn({prop:"gridTemplateRows"}),h_e=kn({prop:"gridTemplateAreas"}),m_e=kn({prop:"gridArea"});Ek(jk,Ik,Mk,a_e,s_e,l_e,d_e,c_e,u_e,p_e,h_e,m_e);function t5(e,t){return t==="grey"?t:e}const g_e=kn({prop:"color",themeKey:"palette",transform:t5}),f_e=kn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:t5}),x_e=kn({prop:"backgroundColor",themeKey:"palette",transform:t5});Ek(g_e,f_e,x_e);function Gl(e){return e<=1&&e!==0?`${e*100}%`:e}const y_e=kn({prop:"width",transform:Gl}),fH=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{const i=e.theme?.breakpoints?.values?.[r]||Sk[r];return i?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Gl(r)}};return uh(e,e.maxWidth,t)}return null};fH.filterProps=["maxWidth"];const w_e=kn({prop:"minWidth",transform:Gl}),b_e=kn({prop:"height",transform:Gl}),v_e=kn({prop:"maxHeight",transform:Gl}),C_e=kn({prop:"minHeight",transform:Gl});kn({prop:"size",cssProperty:"width",transform:Gl});kn({prop:"size",cssProperty:"height",transform:Gl});const $_e=kn({prop:"boxSizing"});Ek(y_e,fH,w_e,b_e,v_e,C_e,$_e);const Pk={border:{themeKey:"borders",transform:jd},borderTop:{themeKey:"borders",transform:jd},borderRight:{themeKey:"borders",transform:jd},borderBottom:{themeKey:"borders",transform:jd},borderLeft:{themeKey:"borders",transform:jd},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:jd},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Lk},color:{themeKey:"palette",transform:t5},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:t5},backgroundColor:{themeKey:"palette",transform:t5},p:{style:on},pt:{style:on},pr:{style:on},pb:{style:on},pl:{style:on},px:{style:on},py:{style:on},padding:{style:on},paddingTop:{style:on},paddingRight:{style:on},paddingBottom:{style:on},paddingLeft:{style:on},paddingX:{style:on},paddingY:{style:on},paddingInline:{style:on},paddingInlineStart:{style:on},paddingInlineEnd:{style:on},paddingBlock:{style:on},paddingBlockStart:{style:on},paddingBlockEnd:{style:on},m:{style:rn},mt:{style:rn},mr:{style:rn},mb:{style:rn},ml:{style:rn},mx:{style:rn},my:{style:rn},margin:{style:rn},marginTop:{style:rn},marginRight:{style:rn},marginBottom:{style:rn},marginLeft:{style:rn},marginX:{style:rn},marginY:{style:rn},marginInline:{style:rn},marginInlineStart:{style:rn},marginInlineEnd:{style:rn},marginBlock:{style:rn},marginBlockStart:{style:rn},marginBlockEnd:{style:rn},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:jk},rowGap:{style:Mk},columnGap:{style:Ik},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Gl},maxWidth:{style:fH},minWidth:{transform:Gl},height:{transform:Gl},maxHeight:{transform:Gl},minHeight:{transform:Gl},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function k_e(...e){const t=e.reduce((i,n)=>i.concat(Object.keys(n)),[]),r=new Set(t);return e.every(i=>r.size===Object.keys(i).length)}function S_e(e,t){return typeof e=="function"?e(t):e}function A_e(){function e(r,i,n,s){const d={[r]:i,theme:n},c=s[r];if(!c)return{[r]:i};const{cssProperty:u=r,themeKey:p,transform:h,style:m}=c;if(i==null)return null;if(p==="typography"&&i==="inherit")return{[r]:i};const g=Ak(n,p)||{};return m?m(d):uh(d,i,x=>{let y=Xv(g,h,x);return x===y&&typeof x=="string"&&(y=Xv(g,h,`${r}${x==="default"?"":Ur(x)}`,x)),u===!1?y:{[u]:y}})}function t(r){const{sx:i,theme:n={},nested:s}=r||{};if(!i)return null;const d=n.unstable_sxConfig??Pk;function c(u){let p=u;if(typeof u=="function")p=u(n);else if(typeof u!="object")return u;if(!p)return null;const h=NDe(n.breakpoints),m=Object.keys(h);let g=h;return Object.keys(p).forEach(x=>{const y=S_e(p[x],n);if(y!=null)if(typeof y=="object")if(d[x])g=J8(g,e(x,y,n,d));else{const w=uh({theme:n},y,b=>({[x]:b}));k_e(w,y)?g[x]=t({sx:y,theme:n,nested:!0}):g=J8(g,w)}else g=J8(g,e(x,y,n,d))}),!s&&n.modularCssLayers?{"@layer sx":wY(n,vY(m,g))}:wY(n,vY(m,g))}return Array.isArray(i)?i.map(c):c(i)}return t}const qg=A_e();qg.filterProps=["sx"];function E_e(e,t){const r=this;if(r.vars){if(!r.colorSchemes?.[e]||typeof r.getColorSchemeSelector!="function")return{};let i=r.getColorSchemeSelector(e);return i==="&"?t:((i.includes("data-")||i.includes("."))&&(i=`*:where(${i.replace(/\s*&$/,"")}) &`),{[i]:t})}return r.palette.mode===e?t:{}}function xH(e={},...t){const{breakpoints:r={},palette:i={},spacing:n,shape:s={},...d}=e,c=DDe(r),u=G3e(n);let p=us({breakpoints:c,direction:"ltr",components:{},palette:{mode:"light",...i},spacing:u,shape:{...FDe,...s}},d);return p=RDe(p),p.applyStyles=E_e,p=t.reduce((h,m)=>us(h,m),p),p.unstable_sxConfig={...Pk,...d?.unstable_sxConfig},p.unstable_sx=function(h){return qg({sx:h,theme:this})},p}function L_e(e){return Object.keys(e).length===0}function yH(e=null){const t=f.useContext(L3e);return!t||L_e(t)?e:t}const j_e=xH();function Y3e(e=j_e){return yH(e)}function $Y(e){const t=H0(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function K3e({styles:e,themeId:t,defaultTheme:r={}}){const i=Y3e(r),n=t&&i[t]||i;let s=typeof e=="function"?e(n):e;return n.modularCssLayers&&(Array.isArray(s)?s=s.map(d=>$Y(typeof d=="function"?d(n):d)):s=$Y(s)),l.jsx(V3e,{styles:s})}const kY=e=>e,I_e=()=>{let e=kY;return{configure(t){e=t},generate(t){return e(t)},reset(){e=kY}}},M_e=I_e();function q3e(e){var t,r,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=q3e(e[t]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function Sr(){for(var e,t,r=0,i="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=q3e(e))&&(i&&(i+=" "),i+=t);return i}const P_e={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 Uo(e,t,r="Mui"){const i=P_e[t];return i?`${r}-${i}`:`${M_e.generate(e)}-${t}`}function Wo(e,t,r="Mui"){const i={};return t.forEach(n=>{i[n]=Uo(e,n,r)}),i}function Z3e(e){const{variants:t,...r}=e,i={variants:t,style:H0(r),isProcessed:!0};return i.style===r||t&&t.forEach(n=>{typeof n.style!="function"&&(n.style=H0(n.style))}),i}const T_e=xH();function rj(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function $g(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function B_e(e){return e?(t,r)=>r[e]:null}function D_e(e,t,r){e.theme=R_e(e.theme)?r:e.theme[t]||e.theme}function xv(e,t,r){const i=typeof t=="function"?t(e):t;if(Array.isArray(i))return i.flatMap(n=>xv(e,n,r));if(Array.isArray(i?.variants)){let n;if(i.isProcessed)n=r?$g(i.style,r):i.style;else{const{variants:s,...d}=i;n=r?$g(H0(d),r):d}return J3e(e,i.variants,[n],r)}return i?.isProcessed?r?$g(H0(i.style),r):i.style:r?$g(H0(i),r):i}function J3e(e,t,r=[],i=void 0){let n;e:for(let s=0;s<t.length;s+=1){const d=t[s];if(typeof d.props=="function"){if(n??={...e,...e.ownerState,ownerState:e.ownerState},!d.props(n))continue}else for(const c in d.props)if(e[c]!==d.props[c]&&e.ownerState?.[c]!==d.props[c])continue e;typeof d.style=="function"?(n??={...e,...e.ownerState,ownerState:e.ownerState},r.push(i?$g(H0(d.style(n)),i):d.style(n))):r.push(i?$g(H0(d.style),i):d.style)}return r}function __e(e={}){const{themeId:t,defaultTheme:r=T_e,rootShouldForwardProp:i=rj,slotShouldForwardProp:n=rj}=e;function s(d){D_e(d,t,r)}return(d,c={})=>{MDe(d,I=>I.filter(j=>j!==qg));const{name:u,slot:p,skipVariantsResolver:h,skipSx:m,overridesResolver:g=B_e(O_e(p)),...x}=c,y=u&&u.startsWith("Mui")||p?"components":"custom",w=h!==void 0?h:p&&p!=="Root"&&p!=="root"||!1,b=m||!1;let C=rj;p==="Root"||p==="root"?C=i:p?C=n:F_e(d)&&(C=void 0);const $=IDe(d,{shouldForwardProp:C,label:z_e(),...x}),A=I=>{if(I.__emotion_real===I)return I;if(typeof I=="function")return function(j){return xv(j,I,j.theme.modularCssLayers?y:void 0)};if(Gp(I)){const j=Z3e(I);return function(T){return j.variants?xv(T,j,T.theme.modularCssLayers?y:void 0):T.theme.modularCssLayers?$g(j.style,y):j.style}}return I},L=(...I)=>{const j=[],T=I.map(A),P=[];if(j.push(s),u&&g&&P.push(function(O){const z=O.theme.components?.[u]?.styleOverrides;if(!z)return null;const G={};for(const Z in z)G[Z]=xv(O,z[Z],O.theme.modularCssLayers?"theme":void 0);return g(O,G)}),u&&!w&&P.push(function(O){const z=O.theme?.components?.[u]?.variants;return z?J3e(O,z,[],O.theme.modularCssLayers?"theme":void 0):null}),b||P.push(qg),Array.isArray(T[0])){const O=T.shift(),z=new Array(j.length).fill(""),G=new Array(P.length).fill("");let Z;Z=[...z,...O,...G],Z.raw=[...z,...O.raw,...G],j.unshift(Z)}const B=[...j,...T,...P],_=$(...B);return d.muiName&&(_.muiName=d.muiName),_};return $.withConfig&&(L.withConfig=$.withConfig),L}}function z_e(e,t){return void 0}function R_e(e){for(const t in e)return!1;return!0}function F_e(e){return typeof e=="string"&&e.charCodeAt(0)>96}function O_e(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function kR(e,t,r=!1){const i={...t};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const s=n;if(s==="components"||s==="slots")i[s]={...e[s],...i[s]};else if(s==="componentsProps"||s==="slotProps"){const d=e[s],c=t[s];if(!c)i[s]=d||{};else if(!d)i[s]=c;else{i[s]={...c};for(const u in d)if(Object.prototype.hasOwnProperty.call(d,u)){const p=u;i[s][p]=kR(d[p],c[p],r)}}}else s==="className"&&r&&t.className?i.className=Sr(e?.className,t?.className):s==="style"&&r&&t.style?i.style={...e?.style,...t?.style}:i[s]===void 0&&(i[s]=e[s])}return i}const Yd=typeof window<"u"?f.useLayoutEffect:f.useEffect;function N_e(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function wH(e,t=0,r=1){return N_e(e,t,r)}function H_e(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(i=>i+i)),r?`rgb${r.length===4?"a":""}(${r.map((i,n)=>n<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function o2(e){if(e.type)return e;if(e.charAt(0)==="#")return o2(H_e(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(ch(9,e));let i=e.substring(t+1,e.length-1),n;if(r==="color"){if(i=i.split(" "),n=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(n))throw new Error(ch(10,n))}else i=i.split(",");return i=i.map(s=>parseFloat(s)),{type:r,values:i,colorSpace:n}}const V_e=e=>{const t=o2(e);return t.values.slice(0,3).map((r,i)=>t.type.includes("hsl")&&i!==0?`${r}%`:r).join(" ")},S8=(e,t)=>{try{return V_e(e)}catch{return e}};function Tk(e){const{type:t,colorSpace:r}=e;let{values:i}=e;return t.includes("rgb")?i=i.map((n,s)=>s<3?parseInt(n,10):n):t.includes("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),t.includes("color")?i=`${r} ${i.join(" ")}`:i=`${i.join(", ")}`,`${t}(${i})`}function X3e(e){e=o2(e);const{values:t}=e,r=t[0],i=t[1]/100,n=t[2]/100,s=i*Math.min(n,1-n),d=(p,h=(p+r/30)%12)=>n-s*Math.max(Math.min(h-3,9-h,1),-1);let c="rgb";const u=[Math.round(d(0)*255),Math.round(d(8)*255),Math.round(d(4)*255)];return e.type==="hsla"&&(c+="a",u.push(t[3])),Tk({type:c,values:u})}function SR(e){e=o2(e);let t=e.type==="hsl"||e.type==="hsla"?o2(X3e(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function U_e(e,t){const r=SR(e),i=SR(t);return(Math.max(r,i)+.05)/(Math.min(r,i)+.05)}function eC(e,t){return e=o2(e),t=wH(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Tk(e)}function km(e,t,r){try{return eC(e,t)}catch{return e}}function Bk(e,t){if(e=o2(e),t=wH(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Tk(e)}function Jo(e,t,r){try{return Bk(e,t)}catch{return e}}function Dk(e,t){if(e=o2(e),t=wH(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Tk(e)}function Xo(e,t,r){try{return Dk(e,t)}catch{return e}}function W_e(e,t=.15){return SR(e)>.5?Bk(e,t):Dk(e,t)}function Py(e,t,r){try{return W_e(e,t)}catch{return e}}const efe=f.createContext(null);function bH(){return f.useContext(efe)}const Q_e=typeof Symbol=="function"&&Symbol.for,G_e=Q_e?Symbol.for("mui.nested"):"__THEME_NESTED__";function Y_e(e,t){return typeof t=="function"?t(e):{...e,...t}}function K_e(e){const{children:t,theme:r}=e,i=bH(),n=f.useMemo(()=>{const s=i===null?{...r}:Y_e(i,r);return s!=null&&(s[G_e]=i!==null),s},[r,i]);return l.jsx(efe.Provider,{value:n,children:t})}const tfe=f.createContext();function q_e({value:e,...t}){return l.jsx(tfe.Provider,{value:e??!0,...t})}const n7=()=>f.useContext(tfe)??!1,rfe=f.createContext(void 0);function Z_e({value:e,children:t}){return l.jsx(rfe.Provider,{value:e,children:t})}function J_e(e){const{theme:t,name:r,props:i}=e;if(!t||!t.components||!t.components[r])return i;const n=t.components[r];return n.defaultProps?kR(n.defaultProps,i,t.components.mergeClassNameAndStyle):!n.styleOverrides&&!n.variants?kR(n,i,t.components.mergeClassNameAndStyle):i}function X_e({props:e,name:t}){const r=f.useContext(rfe);return J_e({props:e,name:t,theme:{components:r}})}let SY=0;function eze(e){const[t,r]=f.useState(e),i=e||t;return f.useEffect(()=>{t==null&&(SY+=1,r(`mui-${SY}`))},[t]),i}const tze={...APe},AY=tze.useId;function _k(e){if(AY!==void 0){const t=AY();return e??t}return eze(e)}function rze(e){const t=yH(),r=_k()||"",{modularCssLayers:i}=e;let n="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!i||t!==null?n="":typeof i=="string"?n=i.replace(/mui(?!\.)/g,n):n=`@layer ${n};`,Yd(()=>{const s=document.querySelector("head");if(!s)return;const d=s.firstChild;if(n){if(d&&d.hasAttribute?.("data-mui-layer-order")&&d.getAttribute("data-mui-layer-order")===r)return;const c=document.createElement("style");c.setAttribute("data-mui-layer-order",r),c.textContent=n,s.prepend(c)}else s.querySelector(`style[data-mui-layer-order="${r}"]`)?.remove()},[n,r]),n?l.jsx(K3e,{styles:n}):null}const EY={};function LY(e,t,r,i=!1){return f.useMemo(()=>{const n=e&&t[e]||t;if(typeof r=="function"){const s=r(n),d=e?{...t,[e]:s}:s;return i?()=>d:d}return e?{...t,[e]:r}:{...t,...r}},[e,t,r,i])}function ofe(e){const{children:t,theme:r,themeId:i}=e,n=yH(EY),s=bH()||EY,d=LY(i,n,r),c=LY(i,s,r,!0),u=(i?d[i]:d).direction==="rtl",p=rze(d);return l.jsx(K_e,{theme:c,children:l.jsx(L3e.Provider,{value:d,children:l.jsx(q_e,{value:u,children:l.jsxs(Z_e,{value:i?d[i].components:d.components,children:[p,t]})})})})}const jY={theme:void 0};function oze(e){let t,r;return function(i){let n=t;return(n===void 0||i.theme!==r)&&(jY.theme=i.theme,n=Z3e(e(jY)),t=n,r=i.theme),n}}const vH="mode",CH="color-scheme",ize="data-color-scheme";function nze(e){const{defaultMode:t="system",defaultLightColorScheme:r="light",defaultDarkColorScheme:i="dark",modeStorageKey:n=vH,colorSchemeStorageKey:s=CH,attribute:d=ize,colorSchemeNode:c="document.documentElement",nonce:u}=e||{};let p="",h=d;if(d==="class"&&(h=".%s"),d==="data"&&(h="[data-%s]"),h.startsWith(".")){const g=h.substring(1);p+=`${c}.classList.remove('${g}'.replace('%s', light), '${g}'.replace('%s', dark));
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/empty-Bk3huslZ.js","assets/sentry-D4s0taNl.js","assets/empty-B21GhML_.js","assets/index-yyXegiMy.js","assets/index-BxgOoqGm.js","assets/zeni-epic-state-BRXzaXEX.js","assets/core-DJqJSXg7.js","assets/utils-CPUHikhf.js","assets/recharts-K1p0NQzK.js","assets/url-C8bzLilf.js","assets/index-Cq4l3zxM.js","assets/index-DgPAMj43.js","assets/url-C8ECIdKT.js","assets/index-BhBiwiQa.js","assets/ScreenRoutes-D2nEcOZw.js","assets/liveblocks-MdBSm47b.js","assets/analyticsHelper-CQ_NJ64f.js","assets/mui-C6GD0jRa.js","assets/lottie-B7ijoRF5.js","assets/analytics-C2zi4yYl.js","assets/lexical-DRk-qy6i.js","assets/SignInScreen-DF-mQuQN.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{a as f,b as k,R as APe,c as Kg,p as Fp,e as VG,r as El,g as qN,f as EPe,s as UG,w as LPe,i as jPe,S as IPe,j as MPe,k as PPe,l as TPe,m as BPe}from"./sentry-D4s0taNl.js";import{j as cr,_ as t3e,a as ec,u as r3e,T as DPe,C as _Pe,b as zPe,c as hk,d as mk,e as RPe,f as o3e,g as FPe,h as OPe,L as NPe,i as WG,k as HPe,l as VPe,P as UPe,m as WPe,n as QPe,o as i3e,p as GPe,q as YPe,I as QG,r as KPe,s as qPe,t as ZPe,v as JPe,w as XPe,x as eTe,y as n3e,z as tTe,A as rTe,B as oTe}from"./liveblocks-MdBSm47b.js";import{f as a3e,R as vg,r as Ns,P as Yi,u as gk,g as Du,h as iTe,i as ZN,j as nTe,k as aTe,l as KL,N as sTe,m as lTe,n as dTe,B as cTe}from"./core-DJqJSXg7.js";import{B as Gv,ba as Cg,bb as uTe,bc as GG,bd as y3,be as Vo,bf as s3e,bg as xo,bh as pTe,bi as S5,bj as t2,bk as JN,bl as l3e,bm as hTe,bn as d3e,bo as XN,bp as mTe,bq as c3e,br as gTe,bs as vi,bt as A5,bu as pu,bv as fTe,bw as xTe,bx as yTe,by as wTe,bz as YG,bA as bTe,bB as vTe,bC as CTe,bD as $Te,bE as fk,bF as u3e,bG as r2,bH as kTe,bI as p3e,bJ as xR,bK as KG,bL as qG,bM as ZG,bN as Bs,bO as eH,bP as tH,bQ as o7,bR as rH,bS as oH,bT as iH,bU as nH,bV as STe,bW as Yv,bX as ATe,bY as ETe,bZ as aH,b_ as LTe,b$ as Xp,c0 as jTe,c1 as ITe,c2 as MTe,c3 as PTe,c4 as TTe,c5 as BTe,c6 as DTe,c7 as _Te,c8 as zTe,c9 as RTe,ca as FTe,cb as OTe,cc as NTe,cd as HTe,ce as VTe,cf as UTe,cg as WTe,ch as QTe,ci as GTe,cj as YTe,ck as KTe,cl as xk,cm as yk,cn as h3e,co as qTe,cp as JG,cq as ZTe,cr as JTe,cs as XTe,ct as E9,cu as m3e,cv as g3e,cw as eBe,cx as f3e,cy as XG,cz as x3e,cA as y3e,cB as w3e,cC as b3e,cD as v3e,cE as C3e,cF as tBe,cG as rBe,cH as oBe,cI as $3e,cJ as yR,cK as iBe,cL as k3e,cM as S3e,cN as nBe,cO as aBe,cP as sBe,cQ as lBe,cR as dBe,cS as cBe,cT as uBe,cU as pBe,v as hBe,cV as wk,cW as A3e,cX as E3e,cY as mBe,cZ as gBe,c_ as fBe,c$ as xBe,d0 as yBe,d1 as wBe,d2 as bBe,d3 as vBe,d4 as CBe,d5 as eY,d6 as $Be,d7 as kBe,d8 as SBe,d9 as ABe}from"./zeni-epic-state-BRXzaXEX.js";import{T as L3e,j as $r,n as a,c as ge,k as Ft,C as j3e,G as xx,u as I3e,a as EBe}from"./mui-C6GD0jRa.js";import{L as wR}from"./lottie-B7ijoRF5.js";import{r as LBe,m as hu}from"./analytics-C2zi4yYl.js";import{r as On}from"./lexical-DRk-qy6i.js";import{E as ui,c as bk,P as jBe,R as bR,F as Kv,X as od,Y as id,G as bh,H as qv,I as vk,J as vh,K as M3e,L as IBe,M as MBe,N as w3,O as sH,Q as lH,S as yx,U as PBe}from"./recharts-K1p0NQzK.js";import{r as TBe}from"./utils-CPUHikhf.js";(function(){try{var e=typeof window<"u"?window:typeof Kg<"u"?Kg:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="eeb30655-b9c5-4547-8f28-69996ea7895d",e._sentryDebugIdIdentifier="sentry-dbid-eeb30655-b9c5-4547-8f28-69996ea7895d")}catch{}})();(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))i(n);new MutationObserver(n=>{for(const s of n)if(s.type==="childList")for(const d of s.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&i(d)}).observe(document,{childList:!0,subtree:!0});function r(n){const s={};return n.integrity&&(s.integrity=n.integrity),n.referrerPolicy&&(s.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?s.credentials="include":n.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(n){if(n.ep)return;n.ep=!0;const s=r(n);fetch(n.href,s)}})();var Iy={},tY;function BBe(){if(tY)return Iy;tY=1;var e=a3e();return Iy.createRoot=e.createRoot,Iy.hydrateRoot=e.hydrateRoot,Iy}var DBe=BBe(),ul=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Kg<"u"?Kg:typeof self<"u"?self:{};function oo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var rY={exports:{}},X7={},oY;function _Be(){if(oY)return X7;oY=1;var e=k,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function d(c,u,p){var h,m={},g=null,x=null;p!==void 0&&(g=""+p),u.key!==void 0&&(g=""+u.key),u.ref!==void 0&&(x=u.ref);for(h in u)i.call(u,h)&&!s.hasOwnProperty(h)&&(m[h]=u[h]);if(c&&c.defaultProps)for(h in u=c.defaultProps,u)m[h]===void 0&&(m[h]=u[h]);return{$$typeof:t,type:c,key:g,ref:x,props:m,_owner:n.current}}return X7.Fragment=r,X7.jsx=d,X7.jsxs=d,X7}var iY;function P3e(){return iY||(iY=1,rY.exports=_Be()),rY.exports}var l=P3e();const zBe=f.createContext(null),qL={didCatch:!1,error:null};let RBe=class extends f.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=qL}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){const{error:t}=this.state;if(t!==null){for(var r,i,n=arguments.length,s=new Array(n),d=0;d<n;d++)s[d]=arguments[d];(r=(i=this.props).onReset)===null||r===void 0||r.call(i,{args:s,reason:"imperative-api"}),this.setState(qL)}}componentDidCatch(t,r){var i,n;(i=(n=this.props).onError)===null||i===void 0||i.call(n,t,r)}componentDidUpdate(t,r){const{didCatch:i}=this.state,{resetKeys:n}=this.props;if(i&&r.error!==null&&FBe(t.resetKeys,n)){var s,d;(s=(d=this.props).onReset)===null||s===void 0||s.call(d,{next:n,prev:t.resetKeys,reason:"keys"}),this.setState(qL)}}render(){const{children:t,fallbackRender:r,FallbackComponent:i,fallback:n}=this.props,{didCatch:s,error:d}=this.state;let c=t;if(s){const u={error:d,resetErrorBoundary:this.resetErrorBoundary};if(typeof r=="function")c=r(u);else if(i)c=f.createElement(i,u);else if(n!==void 0)c=n;else throw d}return f.createElement(zBe.Provider,{value:{didCatch:s,error:d,resetErrorBoundary:this.resetErrorBoundary}},c)}};function FBe(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((r,i)=>!Object.is(r,t[i]))}var vR={exports:{}},OBe=vR.exports,nY;function NBe(){return nY||(nY=1,function(e){(function(t,r){e.exports?e.exports=r():t.numeral=r()})(OBe,function(){var t,r,i="2.0.6",n={},s={},d={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},c={currentLocale:d.currentLocale,zeroFormat:d.zeroFormat,nullFormat:d.nullFormat,defaultFormat:d.defaultFormat,scalePercentBy100:d.scalePercentBy100};function u(p,h){this._input=p,this._value=h}return t=function(p){var h,m,g,x;if(t.isNumeral(p))h=p.value();else if(p===0||typeof p>"u")h=0;else if(p===null||r.isNaN(p))h=null;else if(typeof p=="string")if(c.zeroFormat&&p===c.zeroFormat)h=0;else if(c.nullFormat&&p===c.nullFormat||!p.replace(/[^0-9]+/g,"").length)h=null;else{for(m in n)if(x=typeof n[m].regexps.unformat=="function"?n[m].regexps.unformat():n[m].regexps.unformat,x&&p.match(x)){g=n[m].unformat;break}g=g||t._.stringToNumber,h=g(p)}else h=Number(p)||null;return new u(p,h)},t.version=i,t.isNumeral=function(p){return p instanceof u},t._=r={numberToFormat:function(p,h,m){var g=s[t.options.currentLocale],x=!1,y=!1,w=0,b="",C=1e12,$=1e9,A=1e6,L=1e3,I="",j=!1,T,P,B,_,O,z,G;if(p=p||0,P=Math.abs(p),t._.includes(h,"(")?(x=!0,h=h.replace(/[\(|\)]/g,"")):(t._.includes(h,"+")||t._.includes(h,"-"))&&(O=t._.includes(h,"+")?h.indexOf("+"):p<0?h.indexOf("-"):-1,h=h.replace(/[\+|\-]/g,"")),t._.includes(h,"a")&&(T=h.match(/a(k|m|b|t)?/),T=T?T[1]:!1,t._.includes(h," a")&&(b=" "),h=h.replace(new RegExp(b+"a[kmbt]?"),""),P>=C&&!T||T==="t"?(b+=g.abbreviations.trillion,p=p/C):P<C&&P>=$&&!T||T==="b"?(b+=g.abbreviations.billion,p=p/$):P<$&&P>=A&&!T||T==="m"?(b+=g.abbreviations.million,p=p/A):(P<A&&P>=L&&!T||T==="k")&&(b+=g.abbreviations.thousand,p=p/L)),t._.includes(h,"[.]")&&(y=!0,h=h.replace("[.]",".")),B=p.toString().split(".")[0],_=h.split(".")[1],z=h.indexOf(","),w=(h.split(".")[0].split(",")[0].match(/0/g)||[]).length,_?(t._.includes(_,"[")?(_=_.replace("]",""),_=_.split("["),I=t._.toFixed(p,_[0].length+_[1].length,m,_[1].length)):I=t._.toFixed(p,_.length,m),B=I.split(".")[0],t._.includes(I,".")?I=g.delimiters.decimal+I.split(".")[1]:I="",y&&Number(I.slice(1))===0&&(I="")):B=t._.toFixed(p,0,m),b&&!T&&Number(B)>=1e3&&b!==g.abbreviations.trillion)switch(B=String(Number(B)/1e3),b){case g.abbreviations.thousand:b=g.abbreviations.million;break;case g.abbreviations.million:b=g.abbreviations.billion;break;case g.abbreviations.billion:b=g.abbreviations.trillion;break}if(t._.includes(B,"-")&&(B=B.slice(1),j=!0),B.length<w)for(var Z=w-B.length;Z>0;Z--)B="0"+B;return z>-1&&(B=B.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+g.delimiters.thousands)),h.indexOf(".")===0&&(B=""),G=B+I+(b||""),x?G=(x&&j?"(":"")+G+(x&&j?")":""):O>=0?G=O===0?(j?"-":"+")+G:G+(j?"-":"+"):j&&(G="-"+G),G},stringToNumber:function(p){var h=s[c.currentLocale],m=p,g={thousand:3,million:6,billion:9,trillion:12},x,y,w;if(c.zeroFormat&&p===c.zeroFormat)y=0;else if(c.nullFormat&&p===c.nullFormat||!p.replace(/[^0-9]+/g,"").length)y=null;else{y=1,h.delimiters.decimal!=="."&&(p=p.replace(/\./g,"").replace(h.delimiters.decimal,"."));for(x in g)if(w=new RegExp("[^a-zA-Z]"+h.abbreviations[x]+"(?:\\)|(\\"+h.currency.symbol+")?(?:\\))?)?$"),m.match(w)){y*=Math.pow(10,g[x]);break}y*=(p.split("-").length+Math.min(p.split("(").length-1,p.split(")").length-1))%2?1:-1,p=p.replace(/[^0-9\.]+/g,""),y*=Number(p)}return y},isNaN:function(p){return typeof p=="number"&&isNaN(p)},includes:function(p,h){return p.indexOf(h)!==-1},insert:function(p,h,m){return p.slice(0,m)+h+p.slice(m)},reduce:function(p,h){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof h!="function")throw new TypeError(h+" is not a function");var m=Object(p),g=m.length>>>0,x=0,y;if(arguments.length===3)y=arguments[2];else{for(;x<g&&!(x in m);)x++;if(x>=g)throw new TypeError("Reduce of empty array with no initial value");y=m[x++]}for(;x<g;x++)x in m&&(y=h(y,m[x],x,m));return y},multiplier:function(p){var h=p.toString().split(".");return h.length<2?1:Math.pow(10,h[1].length)},correctionFactor:function(){var p=Array.prototype.slice.call(arguments);return p.reduce(function(h,m){var g=r.multiplier(m);return h>g?h:g},1)},toFixed:function(p,h,m,g){var x=p.toString().split("."),y=h-(g||0),w,b,C,$;return x.length===2?w=Math.min(Math.max(x[1].length,y),h):w=y,C=Math.pow(10,w),$=(m(p+"e+"+w)/C).toFixed(w),g>h-w&&(b=new RegExp("\\.?0{1,"+(g-(h-w))+"}$"),$=$.replace(b,"")),$}},t.options=c,t.formats=n,t.locales=s,t.locale=function(p){return p&&(c.currentLocale=p.toLowerCase()),c.currentLocale},t.localeData=function(p){if(!p)return s[c.currentLocale];if(p=p.toLowerCase(),!s[p])throw new Error("Unknown locale : "+p);return s[p]},t.reset=function(){for(var p in d)c[p]=d[p]},t.zeroFormat=function(p){c.zeroFormat=typeof p=="string"?p:null},t.nullFormat=function(p){c.nullFormat=typeof p=="string"?p:null},t.defaultFormat=function(p){c.defaultFormat=typeof p=="string"?p:"0.0"},t.register=function(p,h,m){if(h=h.toLowerCase(),this[p+"s"][h])throw new TypeError(h+" "+p+" already registered.");return this[p+"s"][h]=m,m},t.validate=function(p,h){var m,g,x,y,w,b,C,$;if(typeof p!="string"&&(p+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",p)),p=p.trim(),p.match(/^\d+$/))return!0;if(p==="")return!1;try{C=t.localeData(h)}catch{C=t.localeData(t.locale())}return x=C.currency.symbol,w=C.abbreviations,m=C.delimiters.decimal,C.delimiters.thousands==="."?g="\\.":g=C.delimiters.thousands,$=p.match(/^[^\d]+/),$!==null&&(p=p.substr(1),$[0]!==x)||($=p.match(/[^\d]+$/),$!==null&&(p=p.slice(0,-1),$[0]!==w.thousand&&$[0]!==w.million&&$[0]!==w.billion&&$[0]!==w.trillion))?!1:(b=new RegExp(g+"{2}"),p.match(/[^\d.,]/g)?!1:(y=p.split(m),y.length>2?!1:y.length<2?!!y[0].match(/^\d+.*\d$/)&&!y[0].match(b):y[0].length===1?!!y[0].match(/^\d+$/)&&!y[0].match(b)&&!!y[1].match(/^\d+$/):!!y[0].match(/^\d+.*\d$/)&&!y[0].match(b)&&!!y[1].match(/^\d+$/)))},t.fn=u.prototype={clone:function(){return t(this)},format:function(p,h){var m=this._value,g=p||c.defaultFormat,x,y,w;if(h=h||Math.round,m===0&&c.zeroFormat!==null)y=c.zeroFormat;else if(m===null&&c.nullFormat!==null)y=c.nullFormat;else{for(x in n)if(g.match(n[x].regexps.format)){w=n[x].format;break}w=w||t._.numberToFormat,y=w(m,g,h)}return y},value:function(){return this._value},input:function(){return this._input},set:function(p){return this._value=Number(p),this},add:function(p){var h=r.correctionFactor.call(null,this._value,p);function m(g,x,y,w){return g+Math.round(h*x)}return this._value=r.reduce([this._value,p],m,0)/h,this},subtract:function(p){var h=r.correctionFactor.call(null,this._value,p);function m(g,x,y,w){return g-Math.round(h*x)}return this._value=r.reduce([p],m,Math.round(this._value*h))/h,this},multiply:function(p){function h(m,g,x,y){var w=r.correctionFactor(m,g);return Math.round(m*w)*Math.round(g*w)/Math.round(w*w)}return this._value=r.reduce([this._value,p],h,1),this},divide:function(p){function h(m,g,x,y){var w=r.correctionFactor(m,g);return Math.round(m*w)/Math.round(g*w)}return this._value=r.reduce([this._value,p],h),this},difference:function(p){return Math.abs(t(this._value).subtract(p).value())}},t.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(p){var h=p%10;return~~(p%100/10)===1?"th":h===1?"st":h===2?"nd":h===3?"rd":"th"},currency:{symbol:"$"}}),function(){t.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(p,h,m){var g=t._.includes(h," BPS")?" ":"",x;return p=p*1e4,h=h.replace(/\s?BPS/,""),x=t._.numberToFormat(p,h,m),t._.includes(x,")")?(x=x.split(""),x.splice(-1,0,g+"BPS"),x=x.join("")):x=x+g+"BPS",x},unformat:function(p){return+(t._.stringToNumber(p)*1e-4).toFixed(15)}})}(),function(){var p={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},h={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},m=p.suffixes.concat(h.suffixes.filter(function(x){return p.suffixes.indexOf(x)<0})),g=m.join("|");g="("+g.replace("B","B(?!PS)")+")",t.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(g)},format:function(x,y,w){var b,C=t._.includes(y,"ib")?h:p,$=t._.includes(y," b")||t._.includes(y," ib")?" ":"",A,L,I;for(y=y.replace(/\s?i?b/,""),A=0;A<=C.suffixes.length;A++)if(L=Math.pow(C.base,A),I=Math.pow(C.base,A+1),x===null||x===0||x>=L&&x<I){$+=C.suffixes[A],L>0&&(x=x/L);break}return b=t._.numberToFormat(x,y,w),b+$},unformat:function(x){var y=t._.stringToNumber(x),w,b;if(y){for(w=p.suffixes.length-1;w>=0;w--){if(t._.includes(x,p.suffixes[w])){b=Math.pow(p.base,w);break}if(t._.includes(x,h.suffixes[w])){b=Math.pow(h.base,w);break}}y*=b||1}return y}})}(),function(){t.register("format","currency",{regexps:{format:/(\$)/},format:function(p,h,m){var g=t.locales[t.options.currentLocale],x={before:h.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:h.match(/([\+|\-|\)|\s|\$]*)$/)[0]},y,w,b;for(h=h.replace(/\s?\$\s?/,""),y=t._.numberToFormat(p,h,m),p>=0?(x.before=x.before.replace(/[\-\(]/,""),x.after=x.after.replace(/[\-\)]/,"")):p<0&&!t._.includes(x.before,"-")&&!t._.includes(x.before,"(")&&(x.before="-"+x.before),b=0;b<x.before.length;b++)switch(w=x.before[b],w){case"$":y=t._.insert(y,g.currency.symbol,b);break;case" ":y=t._.insert(y," ",b+g.currency.symbol.length-1);break}for(b=x.after.length-1;b>=0;b--)switch(w=x.after[b],w){case"$":y=b===x.after.length-1?y+g.currency.symbol:t._.insert(y,g.currency.symbol,-(x.after.length-(1+b)));break;case" ":y=b===x.after.length-1?y+" ":t._.insert(y," ",-(x.after.length-(1+b)+g.currency.symbol.length-1));break}return y}})}(),function(){t.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(p,h,m){var g,x=typeof p=="number"&&!t._.isNaN(p)?p.toExponential():"0e+0",y=x.split("e");return h=h.replace(/e[\+|\-]{1}0/,""),g=t._.numberToFormat(Number(y[0]),h,m),g+"e"+y[1]},unformat:function(p){var h=t._.includes(p,"e+")?p.split("e+"):p.split("e-"),m=Number(h[0]),g=Number(h[1]);g=t._.includes(p,"e-")?g*=-1:g;function x(y,w,b,C){var $=t._.correctionFactor(y,w),A=y*$*(w*$)/($*$);return A}return t._.reduce([m,Math.pow(10,g)],x,1)}})}(),function(){t.register("format","ordinal",{regexps:{format:/(o)/},format:function(p,h,m){var g=t.locales[t.options.currentLocale],x,y=t._.includes(h," o")?" ":"";return h=h.replace(/\s?o/,""),y+=g.ordinal(p),x=t._.numberToFormat(p,h,m),x+y}})}(),function(){t.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(p,h,m){var g=t._.includes(h," %")?" ":"",x;return t.options.scalePercentBy100&&(p=p*100),h=h.replace(/\s?\%/,""),x=t._.numberToFormat(p,h,m),t._.includes(x,")")?(x=x.split(""),x.splice(-1,0,g+"%"),x=x.join("")):x=x+g+"%",x},unformat:function(p){var h=t._.stringToNumber(p);return t.options.scalePercentBy100?h*.01:h}})}(),function(){t.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(p,h,m){var g=Math.floor(p/60/60),x=Math.floor((p-g*60*60)/60),y=Math.round(p-g*60*60-x*60);return g+":"+(x<10?"0"+x:x)+":"+(y<10?"0"+y:y)},unformat:function(p){var h=p.split(":"),m=0;return h.length===3?(m=m+Number(h[0])*60*60,m=m+Number(h[1])*60,m=m+Number(h[2])):h.length===2&&(m=m+Number(h[0])*60,m=m+Number(h[1])),Number(m)}})}(),t})}(vR)),vR.exports}var HBe=NBe();const oh=oo(HBe);function ch(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(i=>r.searchParams.append("args[]",i)),`Minified MUI error #${e}; visit ${r} for the full message.`}const ih="$$material";function VBe(e){for(var t=0,r,i=0,n=e.length;n>=4;++i,n-=4)r=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(i+2)&255)<<16;case 2:t^=(e.charCodeAt(i+1)&255)<<8;case 1:t^=e.charCodeAt(i)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var UBe={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function WBe(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var QBe=/[A-Z]|^ms/g,GBe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,T3e=function(e){return e.charCodeAt(1)===45},aY=function(e){return e!=null&&typeof e!="boolean"},ZL=WBe(function(e){return T3e(e)?e:e.replace(QBe,"-$&").toLowerCase()}),sY=function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(GBe,function(r,i,n){return I0={name:i,styles:n,next:I0},i})}return UBe[e]!==1&&!T3e(e)&&typeof t=="number"&&t!==0?t+"px":t};function Zv(e,t,r){if(r==null)return"";var i=r;if(i.__emotion_styles!==void 0)return i;switch(typeof r){case"boolean":return"";case"object":{var n=r;if(n.anim===1)return I0={name:n.name,styles:n.styles,next:I0},n.name;var s=r;if(s.styles!==void 0){var d=s.next;if(d!==void 0)for(;d!==void 0;)I0={name:d.name,styles:d.styles,next:I0},d=d.next;var c=s.styles+";";return c}return YBe(e,t,r)}}var u=r;return u}function YBe(e,t,r){var i="";if(Array.isArray(r))for(var n=0;n<r.length;n++)i+=Zv(e,t,r[n])+";";else for(var s in r){var d=r[s];if(typeof d!="object"){var c=d;aY(c)&&(i+=ZL(s)+":"+sY(s,c)+";")}else if(Array.isArray(d)&&typeof d[0]=="string"&&t==null)for(var u=0;u<d.length;u++)aY(d[u])&&(i+=ZL(s)+":"+sY(s,d[u])+";");else{var p=Zv(e,t,d);switch(s){case"animation":case"animationName":{i+=ZL(s)+":"+p+";";break}default:i+=s+"{"+p+"}"}}}return i}var lY=/label:\s*([^\s;{]+)\s*(;|$)/g,I0;function KBe(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var i=!0,n="";I0=void 0;var s=e[0];if(s==null||s.raw===void 0)i=!1,n+=Zv(r,t,s);else{var d=s;n+=d[0]}for(var c=1;c<e.length;c++)if(n+=Zv(r,t,e[c]),i){var u=s;n+=u[c]}lY.lastIndex=0;for(var p="",h;(h=lY.exec(n))!==null;)p+="-"+h[1];var m=VBe(n)+p;return{name:m,styles:n,next:I0}}var JL={exports:{}},XL,dY;function qBe(){if(dY)return XL;dY=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return XL=e,XL}var ej,cY;function ZBe(){if(cY)return ej;cY=1;var e=qBe();function t(){}function r(){}return r.resetWarningCache=t,ej=function(){function i(d,c,u,p,h,m){if(m!==e){var g=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 g.name="Invariant Violation",g}}i.isRequired=i;function n(){return i}var s={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:n,element:i,elementType:i,instanceOf:n,node:i,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:r,resetWarningCache:t};return s.PropTypes=s,s},ej}var uY;function dH(){return uY||(uY=1,JL.exports=ZBe()()),JL.exports}var JBe=dH();const It=oo(JBe);function XBe(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function eDe(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var B3e=function(){function e(r){var i=this;this._insertTag=function(n){var s;i.tags.length===0?i.insertionPoint?s=i.insertionPoint.nextSibling:i.prepend?s=i.container.firstChild:s=i.before:s=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(n,s),i.tags.push(n)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(eDe(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var n=XBe(i);try{n.insertRule(r,n.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var i;return(i=r.parentNode)==null?void 0:i.removeChild(r)}),this.tags=[],this.ctr=0},e}(),ts="-ms-",Jv="-moz-",Fo="-webkit-",D3e="comm",cH="rule",uH="decl",tDe="@import",_3e="@keyframes",rDe="@layer",oDe=Math.abs,Ck=String.fromCharCode,iDe=Object.assign;function nDe(e,t){return Na(e,0)^45?(((t<<2^Na(e,0))<<2^Na(e,1))<<2^Na(e,2))<<2^Na(e,3):0}function z3e(e){return e.trim()}function aDe(e,t){return(e=t.exec(e))?e[0]:e}function Oo(e,t,r){return e.replace(t,r)}function CR(e,t){return e.indexOf(t)}function Na(e,t){return e.charCodeAt(t)|0}function L9(e,t,r){return e.slice(t,r)}function mu(e){return e.length}function pH(e){return e.length}function My(e,t){return t.push(e),e}function sDe(e,t){return e.map(t).join("")}var $k=1,E5=1,R3e=0,Cl=0,Dn=0,i7="";function kk(e,t,r,i,n,s,d){return{value:e,root:t,parent:r,type:i,props:n,children:s,line:$k,column:E5,length:d,return:""}}function e6(e,t){return iDe(kk("",null,null,"",null,null,0),e,{length:-e.length},t)}function lDe(){return Dn}function dDe(){return Dn=Cl>0?Na(i7,--Cl):0,E5--,Dn===10&&(E5=1,$k--),Dn}function ed(){return Dn=Cl<R3e?Na(i7,Cl++):0,E5++,Dn===10&&(E5=1,$k++),Dn}function Hu(){return Na(i7,Cl)}function mv(){return Cl}function wx(e,t){return L9(i7,e,t)}function j9(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function F3e(e){return $k=E5=1,R3e=mu(i7=e),Cl=0,[]}function O3e(e){return i7="",e}function gv(e){return z3e(wx(Cl-1,$R(e===91?e+2:e===40?e+1:e)))}function cDe(e){for(;(Dn=Hu())&&Dn<33;)ed();return j9(e)>2||j9(Dn)>3?"":" "}function uDe(e,t){for(;--t&&ed()&&!(Dn<48||Dn>102||Dn>57&&Dn<65||Dn>70&&Dn<97););return wx(e,mv()+(t<6&&Hu()==32&&ed()==32))}function $R(e){for(;ed();)switch(Dn){case e:return Cl;case 34:case 39:e!==34&&e!==39&&$R(Dn);break;case 40:e===41&&$R(e);break;case 92:ed();break}return Cl}function pDe(e,t){for(;ed()&&e+Dn!==57&&!(e+Dn===84&&Hu()===47););return"/*"+wx(t,Cl-1)+"*"+Ck(e===47?e:ed())}function hDe(e){for(;!j9(Hu());)ed();return wx(e,Cl)}function mDe(e){return O3e(fv("",null,null,null,[""],e=F3e(e),0,[0],e))}function fv(e,t,r,i,n,s,d,c,u){for(var p=0,h=0,m=d,g=0,x=0,y=0,w=1,b=1,C=1,$=0,A="",L=n,I=s,j=i,T=A;b;)switch(y=$,$=ed()){case 40:if(y!=108&&Na(T,m-1)==58){CR(T+=Oo(gv($),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:T+=gv($);break;case 9:case 10:case 13:case 32:T+=cDe(y);break;case 92:T+=uDe(mv()-1,7);continue;case 47:switch(Hu()){case 42:case 47:My(gDe(pDe(ed(),mv()),t,r),u);break;default:T+="/"}break;case 123*w:c[p++]=mu(T)*C;case 125*w:case 59:case 0:switch($){case 0:case 125:b=0;case 59+h:C==-1&&(T=Oo(T,/\f/g,"")),x>0&&mu(T)-m&&My(x>32?hY(T+";",i,r,m-1):hY(Oo(T," ","")+";",i,r,m-2),u);break;case 59:T+=";";default:if(My(j=pY(T,t,r,p,h,n,c,A,L=[],I=[],m),s),$===123)if(h===0)fv(T,t,j,j,L,s,m,c,I);else switch(g===99&&Na(T,3)===110?100:g){case 100:case 108:case 109:case 115:fv(e,j,j,i&&My(pY(e,j,j,0,0,n,c,A,n,L=[],m),I),n,I,m,c,i?L:I);break;default:fv(T,j,j,j,[""],I,0,c,I)}}p=h=x=0,w=C=1,A=T="",m=d;break;case 58:m=1+mu(T),x=y;default:if(w<1){if($==123)--w;else if($==125&&w++==0&&dDe()==125)continue}switch(T+=Ck($),$*w){case 38:C=h>0?1:(T+="\f",-1);break;case 44:c[p++]=(mu(T)-1)*C,C=1;break;case 64:Hu()===45&&(T+=gv(ed())),g=Hu(),h=m=mu(A=T+=hDe(mv())),$++;break;case 45:y===45&&mu(T)==2&&(w=0)}}return s}function pY(e,t,r,i,n,s,d,c,u,p,h){for(var m=n-1,g=n===0?s:[""],x=pH(g),y=0,w=0,b=0;y<i;++y)for(var C=0,$=L9(e,m+1,m=oDe(w=d[y])),A=e;C<x;++C)(A=z3e(w>0?g[C]+" "+$:Oo($,/&\f/g,g[C])))&&(u[b++]=A);return kk(e,t,r,n===0?cH:c,u,p,h)}function gDe(e,t,r){return kk(e,t,r,D3e,Ck(lDe()),L9(e,2,-2),0)}function hY(e,t,r,i){return kk(e,t,r,uH,L9(e,0,i),L9(e,i+1,-1),i)}function e5(e,t){for(var r="",i=pH(e),n=0;n<i;n++)r+=t(e[n],n,e,t)||"";return r}function fDe(e,t,r,i){switch(e.type){case rDe:if(e.children.length)break;case tDe:case uH:return e.return=e.return||e.value;case D3e:return"";case _3e:return e.return=e.value+"{"+e5(e.children,i)+"}";case cH:e.value=e.props.join(",")}return mu(r=e5(e.children,i))?e.return=e.value+"{"+r+"}":""}function xDe(e){var t=pH(e);return function(r,i,n,s){for(var d="",c=0;c<t;c++)d+=e[c](r,i,n,s)||"";return d}}function yDe(e){return function(t){t.root||(t=t.return)&&e(t)}}var wDe=function(e,t,r){for(var i=0,n=0;i=n,n=Hu(),i===38&&n===12&&(t[r]=1),!j9(n);)ed();return wx(e,Cl)},bDe=function(e,t){var r=-1,i=44;do switch(j9(i)){case 0:i===38&&Hu()===12&&(t[r]=1),e[r]+=wDe(Cl-1,t,r);break;case 2:e[r]+=gv(i);break;case 4:if(i===44){e[++r]=Hu()===58?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Ck(i)}while(i=ed());return e},vDe=function(e,t){return O3e(bDe(F3e(e),t))},mY=new WeakMap,CDe=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var t=e.value,r=e.parent,i=e.column===r.column&&e.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!mY.get(r))&&!i){mY.set(e,!0);for(var n=[],s=vDe(t,n),d=r.props,c=0,u=0;c<s.length;c++)for(var p=0;p<d.length;p++,u++)e.props[u]=n[c]?s[c].replace(/&\f/g,d[p]):d[p]+" "+s[c]}}},$De=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}};function N3e(e,t){switch(nDe(e,t)){case 5103:return Fo+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Fo+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Fo+e+Jv+e+ts+e+e;case 6828:case 4268:return Fo+e+ts+e+e;case 6165:return Fo+e+ts+"flex-"+e+e;case 5187:return Fo+e+Oo(e,/(\w+).+(:[^]+)/,Fo+"box-$1$2"+ts+"flex-$1$2")+e;case 5443:return Fo+e+ts+"flex-item-"+Oo(e,/flex-|-self/,"")+e;case 4675:return Fo+e+ts+"flex-line-pack"+Oo(e,/align-content|flex-|-self/,"")+e;case 5548:return Fo+e+ts+Oo(e,"shrink","negative")+e;case 5292:return Fo+e+ts+Oo(e,"basis","preferred-size")+e;case 6060:return Fo+"box-"+Oo(e,"-grow","")+Fo+e+ts+Oo(e,"grow","positive")+e;case 4554:return Fo+Oo(e,/([^-])(transform)/g,"$1"+Fo+"$2")+e;case 6187:return Oo(Oo(Oo(e,/(zoom-|grab)/,Fo+"$1"),/(image-set)/,Fo+"$1"),e,"")+e;case 5495:case 3959:return Oo(e,/(image-set\([^]*)/,Fo+"$1$`$1");case 4968:return Oo(Oo(e,/(.+:)(flex-)?(.*)/,Fo+"box-pack:$3"+ts+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Fo+e+e;case 4095:case 3583:case 4068:case 2532:return Oo(e,/(.+)-inline(.+)/,Fo+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(mu(e)-1-t>6)switch(Na(e,t+1)){case 109:if(Na(e,t+4)!==45)break;case 102:return Oo(e,/(.+:)(.+)-([^]+)/,"$1"+Fo+"$2-$3$1"+Jv+(Na(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~CR(e,"stretch")?N3e(Oo(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Na(e,t+1)!==115)break;case 6444:switch(Na(e,mu(e)-3-(~CR(e,"!important")&&10))){case 107:return Oo(e,":",":"+Fo)+e;case 101:return Oo(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Fo+(Na(e,14)===45?"inline-":"")+"box$3$1"+Fo+"$2$3$1"+ts+"$2box$3")+e}break;case 5936:switch(Na(e,t+11)){case 114:return Fo+e+ts+Oo(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Fo+e+ts+Oo(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Fo+e+ts+Oo(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Fo+e+ts+e+e}return e}var kDe=function(e,t,r,i){if(e.length>-1&&!e.return)switch(e.type){case uH:e.return=N3e(e.value,e.length);break;case _3e:return e5([e6(e,{value:Oo(e.value,"@","@"+Fo)})],i);case cH:if(e.length)return sDe(e.props,function(n){switch(aDe(n,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return e5([e6(e,{props:[Oo(n,/:(read-\w+)/,":"+Jv+"$1")]})],i);case"::placeholder":return e5([e6(e,{props:[Oo(n,/:(plac\w+)/,":"+Fo+"input-$1")]}),e6(e,{props:[Oo(n,/:(plac\w+)/,":"+Jv+"$1")]}),e6(e,{props:[Oo(n,/:(plac\w+)/,ts+"input-$1")]})],i)}return""})}},SDe=[kDe],H3e=function(e){var t=e.key;if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var w=y.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var i=e.stylisPlugins||SDe,n={},s,d=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(y){for(var w=y.getAttribute("data-emotion").split(" "),b=1;b<w.length;b++)n[w[b]]=!0;d.push(y)});var c,u=[CDe,$De];{var p,h=[fDe,yDe(function(y){p.insert(y)})],m=xDe(u.concat(i,h)),g=function(y){return e5(mDe(y),m)};c=function(y,w,b,C){p=b,g(y?y+"{"+w.styles+"}":w.styles),C&&(x.inserted[w.name]=!0)}}var x={key:t,sheet:new B3e({key:t,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:n,registered:{},insert:c};return x.sheet.hydrate(d),x};const tj=new Map,ADe=(e,t)=>{const r=H3e(e);return r.sheet=new t({key:r.key,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy,prepend:r.sheet.prepend,insertionPoint:r.sheet.insertionPoint}),r};let g0;if(typeof document=="object"&&(g0=document.querySelector('[name="emotion-insertion-point"]'),!g0)){g0=document.createElement("meta"),g0.setAttribute("name","emotion-insertion-point"),g0.setAttribute("content","");const e=document.querySelector("head");e&&e.prepend(g0)}function EDe(e,t){if(e||t){class r extends B3e{insert(s,d){return this.key&&this.key.endsWith("global")&&(this.before=g0),super.insert(s,d)}}const i=ADe({key:"css",insertionPoint:e?g0:void 0},r);if(t){const n=i.insert;i.insert=(...s)=>(s[1].styles.match(/^@layer\s+[^{]*$/)||(s[1].styles=`@layer mui {${s[1].styles}}`),n(...s))}return i}}function LDe(e){const{injectFirst:t,enableCssLayer:r,children:i}=e,n=f.useMemo(()=>{const s=`${t}-${r}`;if(typeof document=="object"&&tj.has(s))return tj.get(s);const d=EDe(t,r);return tj.set(s,d),d},[t,r]);return n?l.jsx(j3e,{value:n,children:i}):i}function jDe(e){return e==null||Object.keys(e).length===0}function V3e(e){const{styles:t,defaultTheme:r={}}=e,i=typeof t=="function"?n=>t(jDe(n)?r:n):t;return l.jsx(xx,{styles:i})}function IDe(e,t){return a(e,t)}function MDe(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const gY=[];function H0(e){return gY[0]=e,KBe(gY)}var fY={exports:{}},ni={},xY;function PDe(){if(xY)return ni;xY=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),d=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.view_transition"),x=Symbol.for("react.client.reference");function y(w){if(typeof w=="object"&&w!==null){var b=w.$$typeof;switch(b){case e:switch(w=w.type,w){case r:case n:case i:case u:case p:case g:return w;default:switch(w=w&&w.$$typeof,w){case d:case c:case m:case h:return w;case s:return w;default:return b}}case t:return b}}}return ni.ContextConsumer=s,ni.ContextProvider=d,ni.Element=e,ni.ForwardRef=c,ni.Fragment=r,ni.Lazy=m,ni.Memo=h,ni.Portal=t,ni.Profiler=n,ni.StrictMode=i,ni.Suspense=u,ni.SuspenseList=p,ni.isContextConsumer=function(w){return y(w)===s},ni.isContextProvider=function(w){return y(w)===d},ni.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===e},ni.isForwardRef=function(w){return y(w)===c},ni.isFragment=function(w){return y(w)===r},ni.isLazy=function(w){return y(w)===m},ni.isMemo=function(w){return y(w)===h},ni.isPortal=function(w){return y(w)===t},ni.isProfiler=function(w){return y(w)===n},ni.isStrictMode=function(w){return y(w)===i},ni.isSuspense=function(w){return y(w)===u},ni.isSuspenseList=function(w){return y(w)===p},ni.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===r||w===n||w===i||w===u||w===p||typeof w=="object"&&w!==null&&(w.$$typeof===m||w.$$typeof===h||w.$$typeof===d||w.$$typeof===s||w.$$typeof===c||w.$$typeof===x||w.getModuleId!==void 0)},ni.typeOf=y,ni}var yY;function TDe(){return yY||(yY=1,fY.exports=PDe()),fY.exports}var U3e=TDe();function Gp(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function W3e(e){if(f.isValidElement(e)||U3e.isValidElementType(e)||!Gp(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=W3e(e[r])}),t}function us(e,t,r={clone:!0}){const i=r.clone?{...e}:e;return Gp(e)&&Gp(t)&&Object.keys(t).forEach(n=>{f.isValidElement(t[n])||U3e.isValidElementType(t[n])?i[n]=t[n]:Gp(t[n])&&Object.prototype.hasOwnProperty.call(e,n)&&Gp(e[n])?i[n]=us(e[n],t[n],r):r.clone?i[n]=Gp(t[n])?W3e(t[n]):t[n]:i[n]=t[n]}),i}const BDe=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,i)=>r.val-i.val),t.reduce((r,i)=>({...r,[i.key]:i.val}),{})};function DDe(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:i=5,...n}=e,s=BDe(t),d=Object.keys(s);function c(g){return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${r})`}function u(g){return`@media (max-width:${(typeof t[g]=="number"?t[g]:g)-i/100}${r})`}function p(g,x){const y=d.indexOf(x);return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${r}) and (max-width:${(y!==-1&&typeof t[d[y]]=="number"?t[d[y]]:x)-i/100}${r})`}function h(g){return d.indexOf(g)+1<d.length?p(g,d[d.indexOf(g)+1]):c(g)}function m(g){const x=d.indexOf(g);return x===0?c(d[1]):x===d.length-1?u(d[x]):p(g,d[d.indexOf(g)+1]).replace("@media","@media not all and")}return{keys:d,values:s,up:c,down:u,between:p,only:h,not:m,unit:r,...n}}function wY(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(i=>i.startsWith("@container")).sort((i,n)=>{const s=/min-width:\s*([0-9.]+)/;return+(i.match(s)?.[1]||0)-+(n.match(s)?.[1]||0)});return r.length?r.reduce((i,n)=>{const s=t[n];return delete i[n],i[n]=s,i},{...t}):t}function _De(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function zDe(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;const[,i,n]=r,s=Number.isNaN(+i)?i||0:+i;return e.containerQueries(n).up(s)}function RDe(e){const t=(s,d)=>s.replace("@media",d?`@container ${d}`:"@container");function r(s,d){s.up=(...c)=>t(e.breakpoints.up(...c),d),s.down=(...c)=>t(e.breakpoints.down(...c),d),s.between=(...c)=>t(e.breakpoints.between(...c),d),s.only=(...c)=>t(e.breakpoints.only(...c),d),s.not=(...c)=>{const u=t(e.breakpoints.not(...c),d);return u.includes("not all and")?u.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):u}}const i={},n=s=>(r(i,s),i);return r(n),{...e,containerQueries:n}}const FDe={borderRadius:4};function J8(e,t){return t?us(e,t,{clone:!1}):e}const Sk={xs:0,sm:600,md:900,lg:1200,xl:1536},bY={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Sk[e]}px)`},ODe={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:Sk[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function uh(e,t,r){const i=e.theme||{};if(Array.isArray(t)){const n=i.breakpoints||bY;return t.reduce((s,d,c)=>(s[n.up(n.keys[c])]=r(t[c]),s),{})}if(typeof t=="object"){const n=i.breakpoints||bY;return Object.keys(t).reduce((s,d)=>{if(_De(n.keys,d)){const c=zDe(i.containerQueries?i:ODe,d);c&&(s[c]=r(t[d],d))}else if(Object.keys(n.values||Sk).includes(d)){const c=n.up(d);s[c]=r(t[d],d)}else{const c=d;s[c]=t[c]}return s},{})}return r(t)}function NDe(e={}){return e.keys?.reduce((t,r)=>{const i=e.up(r);return t[i]={},t},{})||{}}function vY(e,t){return e.reduce((r,i)=>{const n=r[i];return(!n||Object.keys(n).length===0)&&delete r[i],r},t)}function Ur(e){if(typeof e!="string")throw new Error(ch(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Ak(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const i=`vars.${t}`.split(".").reduce((n,s)=>n&&n[s]?n[s]:null,e);if(i!=null)return i}return t.split(".").reduce((i,n)=>i&&i[n]!=null?i[n]:null,e)}function Xv(e,t,r,i=r){let n;return typeof e=="function"?n=e(r):Array.isArray(e)?n=e[r]||i:n=Ak(e,r)||i,t&&(n=t(n,i,e)),n}function kn(e){const{prop:t,cssProperty:r=e.prop,themeKey:i,transform:n}=e,s=d=>{if(d[t]==null)return null;const c=d[t],u=d.theme,p=Ak(u,i)||{};return uh(d,c,h=>{let m=Xv(p,n,h);return h===m&&typeof h=="string"&&(m=Xv(p,n,`${t}${h==="default"?"":Ur(h)}`,h)),r===!1?m:{[r]:m}})};return s.propTypes={},s.filterProps=[t],s}function HDe(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const VDe={m:"margin",p:"padding"},UDe={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},CY={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},WDe=HDe(e=>{if(e.length>2)if(CY[e])e=CY[e];else return[e];const[t,r]=e.split(""),i=VDe[t],n=UDe[r]||"";return Array.isArray(n)?n.map(s=>i+s):[i+n]}),hH=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],mH=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...hH,...mH];function bx(e,t,r,i){const n=Ak(e,t,!0)??r;return typeof n=="number"||typeof n=="string"?s=>typeof s=="string"?s:typeof n=="string"?n.startsWith("var(")&&s===0?0:n.startsWith("var(")&&s===1?n:`calc(${s} * ${n})`:n*s:Array.isArray(n)?s=>{if(typeof s=="string")return s;const d=Math.abs(s),c=n[d];return s>=0?c:typeof c=="number"?-c:typeof c=="string"&&c.startsWith("var(")?`calc(-1 * ${c})`:`-${c}`}:typeof n=="function"?n:()=>{}}function gH(e){return bx(e,"spacing",8)}function vx(e,t){return typeof t=="string"||t==null?t:e(t)}function QDe(e,t){return r=>e.reduce((i,n)=>(i[n]=vx(t,r),i),{})}function GDe(e,t,r,i){if(!t.includes(r))return null;const n=WDe(r),s=QDe(n,i),d=e[r];return uh(e,d,s)}function Q3e(e,t){const r=gH(e.theme);return Object.keys(e).map(i=>GDe(e,t,i,r)).reduce(J8,{})}function rn(e){return Q3e(e,hH)}rn.propTypes={};rn.filterProps=hH;function on(e){return Q3e(e,mH)}on.propTypes={};on.filterProps=mH;function G3e(e=8,t=gH({spacing:e})){if(e.mui)return e;const r=(...i)=>(i.length===0?[1]:i).map(n=>{const s=t(n);return typeof s=="number"?`${s}px`:s}).join(" ");return r.mui=!0,r}function Ek(...e){const t=e.reduce((i,n)=>(n.filterProps.forEach(s=>{i[s]=n}),i),{}),r=i=>Object.keys(i).reduce((n,s)=>t[s]?J8(n,t[s](i)):n,{});return r.propTypes={},r.filterProps=e.reduce((i,n)=>i.concat(n.filterProps),[]),r}function jd(e){return typeof e!="number"?e:`${e}px solid`}function tc(e,t){return kn({prop:e,themeKey:"borders",transform:t})}const YDe=tc("border",jd),KDe=tc("borderTop",jd),qDe=tc("borderRight",jd),ZDe=tc("borderBottom",jd),JDe=tc("borderLeft",jd),XDe=tc("borderColor"),e_e=tc("borderTopColor"),t_e=tc("borderRightColor"),r_e=tc("borderBottomColor"),o_e=tc("borderLeftColor"),i_e=tc("outline",jd),n_e=tc("outlineColor"),Lk=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=bx(e.theme,"shape.borderRadius",4),r=i=>({borderRadius:vx(t,i)});return uh(e,e.borderRadius,r)}return null};Lk.propTypes={};Lk.filterProps=["borderRadius"];Ek(YDe,KDe,qDe,ZDe,JDe,XDe,e_e,t_e,r_e,o_e,Lk,i_e,n_e);const jk=e=>{if(e.gap!==void 0&&e.gap!==null){const t=bx(e.theme,"spacing",8),r=i=>({gap:vx(t,i)});return uh(e,e.gap,r)}return null};jk.propTypes={};jk.filterProps=["gap"];const Ik=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=bx(e.theme,"spacing",8),r=i=>({columnGap:vx(t,i)});return uh(e,e.columnGap,r)}return null};Ik.propTypes={};Ik.filterProps=["columnGap"];const Mk=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=bx(e.theme,"spacing",8),r=i=>({rowGap:vx(t,i)});return uh(e,e.rowGap,r)}return null};Mk.propTypes={};Mk.filterProps=["rowGap"];const a_e=kn({prop:"gridColumn"}),s_e=kn({prop:"gridRow"}),l_e=kn({prop:"gridAutoFlow"}),d_e=kn({prop:"gridAutoColumns"}),c_e=kn({prop:"gridAutoRows"}),u_e=kn({prop:"gridTemplateColumns"}),p_e=kn({prop:"gridTemplateRows"}),h_e=kn({prop:"gridTemplateAreas"}),m_e=kn({prop:"gridArea"});Ek(jk,Ik,Mk,a_e,s_e,l_e,d_e,c_e,u_e,p_e,h_e,m_e);function t5(e,t){return t==="grey"?t:e}const g_e=kn({prop:"color",themeKey:"palette",transform:t5}),f_e=kn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:t5}),x_e=kn({prop:"backgroundColor",themeKey:"palette",transform:t5});Ek(g_e,f_e,x_e);function Gl(e){return e<=1&&e!==0?`${e*100}%`:e}const y_e=kn({prop:"width",transform:Gl}),fH=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{const i=e.theme?.breakpoints?.values?.[r]||Sk[r];return i?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Gl(r)}};return uh(e,e.maxWidth,t)}return null};fH.filterProps=["maxWidth"];const w_e=kn({prop:"minWidth",transform:Gl}),b_e=kn({prop:"height",transform:Gl}),v_e=kn({prop:"maxHeight",transform:Gl}),C_e=kn({prop:"minHeight",transform:Gl});kn({prop:"size",cssProperty:"width",transform:Gl});kn({prop:"size",cssProperty:"height",transform:Gl});const $_e=kn({prop:"boxSizing"});Ek(y_e,fH,w_e,b_e,v_e,C_e,$_e);const Pk={border:{themeKey:"borders",transform:jd},borderTop:{themeKey:"borders",transform:jd},borderRight:{themeKey:"borders",transform:jd},borderBottom:{themeKey:"borders",transform:jd},borderLeft:{themeKey:"borders",transform:jd},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:jd},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Lk},color:{themeKey:"palette",transform:t5},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:t5},backgroundColor:{themeKey:"palette",transform:t5},p:{style:on},pt:{style:on},pr:{style:on},pb:{style:on},pl:{style:on},px:{style:on},py:{style:on},padding:{style:on},paddingTop:{style:on},paddingRight:{style:on},paddingBottom:{style:on},paddingLeft:{style:on},paddingX:{style:on},paddingY:{style:on},paddingInline:{style:on},paddingInlineStart:{style:on},paddingInlineEnd:{style:on},paddingBlock:{style:on},paddingBlockStart:{style:on},paddingBlockEnd:{style:on},m:{style:rn},mt:{style:rn},mr:{style:rn},mb:{style:rn},ml:{style:rn},mx:{style:rn},my:{style:rn},margin:{style:rn},marginTop:{style:rn},marginRight:{style:rn},marginBottom:{style:rn},marginLeft:{style:rn},marginX:{style:rn},marginY:{style:rn},marginInline:{style:rn},marginInlineStart:{style:rn},marginInlineEnd:{style:rn},marginBlock:{style:rn},marginBlockStart:{style:rn},marginBlockEnd:{style:rn},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:jk},rowGap:{style:Mk},columnGap:{style:Ik},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Gl},maxWidth:{style:fH},minWidth:{transform:Gl},height:{transform:Gl},maxHeight:{transform:Gl},minHeight:{transform:Gl},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function k_e(...e){const t=e.reduce((i,n)=>i.concat(Object.keys(n)),[]),r=new Set(t);return e.every(i=>r.size===Object.keys(i).length)}function S_e(e,t){return typeof e=="function"?e(t):e}function A_e(){function e(r,i,n,s){const d={[r]:i,theme:n},c=s[r];if(!c)return{[r]:i};const{cssProperty:u=r,themeKey:p,transform:h,style:m}=c;if(i==null)return null;if(p==="typography"&&i==="inherit")return{[r]:i};const g=Ak(n,p)||{};return m?m(d):uh(d,i,x=>{let y=Xv(g,h,x);return x===y&&typeof x=="string"&&(y=Xv(g,h,`${r}${x==="default"?"":Ur(x)}`,x)),u===!1?y:{[u]:y}})}function t(r){const{sx:i,theme:n={},nested:s}=r||{};if(!i)return null;const d=n.unstable_sxConfig??Pk;function c(u){let p=u;if(typeof u=="function")p=u(n);else if(typeof u!="object")return u;if(!p)return null;const h=NDe(n.breakpoints),m=Object.keys(h);let g=h;return Object.keys(p).forEach(x=>{const y=S_e(p[x],n);if(y!=null)if(typeof y=="object")if(d[x])g=J8(g,e(x,y,n,d));else{const w=uh({theme:n},y,b=>({[x]:b}));k_e(w,y)?g[x]=t({sx:y,theme:n,nested:!0}):g=J8(g,w)}else g=J8(g,e(x,y,n,d))}),!s&&n.modularCssLayers?{"@layer sx":wY(n,vY(m,g))}:wY(n,vY(m,g))}return Array.isArray(i)?i.map(c):c(i)}return t}const qg=A_e();qg.filterProps=["sx"];function E_e(e,t){const r=this;if(r.vars){if(!r.colorSchemes?.[e]||typeof r.getColorSchemeSelector!="function")return{};let i=r.getColorSchemeSelector(e);return i==="&"?t:((i.includes("data-")||i.includes("."))&&(i=`*:where(${i.replace(/\s*&$/,"")}) &`),{[i]:t})}return r.palette.mode===e?t:{}}function xH(e={},...t){const{breakpoints:r={},palette:i={},spacing:n,shape:s={},...d}=e,c=DDe(r),u=G3e(n);let p=us({breakpoints:c,direction:"ltr",components:{},palette:{mode:"light",...i},spacing:u,shape:{...FDe,...s}},d);return p=RDe(p),p.applyStyles=E_e,p=t.reduce((h,m)=>us(h,m),p),p.unstable_sxConfig={...Pk,...d?.unstable_sxConfig},p.unstable_sx=function(h){return qg({sx:h,theme:this})},p}function L_e(e){return Object.keys(e).length===0}function yH(e=null){const t=f.useContext(L3e);return!t||L_e(t)?e:t}const j_e=xH();function Y3e(e=j_e){return yH(e)}function $Y(e){const t=H0(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function K3e({styles:e,themeId:t,defaultTheme:r={}}){const i=Y3e(r),n=t&&i[t]||i;let s=typeof e=="function"?e(n):e;return n.modularCssLayers&&(Array.isArray(s)?s=s.map(d=>$Y(typeof d=="function"?d(n):d)):s=$Y(s)),l.jsx(V3e,{styles:s})}const kY=e=>e,I_e=()=>{let e=kY;return{configure(t){e=t},generate(t){return e(t)},reset(){e=kY}}},M_e=I_e();function q3e(e){var t,r,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=q3e(e[t]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function Sr(){for(var e,t,r=0,i="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=q3e(e))&&(i&&(i+=" "),i+=t);return i}const P_e={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 Uo(e,t,r="Mui"){const i=P_e[t];return i?`${r}-${i}`:`${M_e.generate(e)}-${t}`}function Wo(e,t,r="Mui"){const i={};return t.forEach(n=>{i[n]=Uo(e,n,r)}),i}function Z3e(e){const{variants:t,...r}=e,i={variants:t,style:H0(r),isProcessed:!0};return i.style===r||t&&t.forEach(n=>{typeof n.style!="function"&&(n.style=H0(n.style))}),i}const T_e=xH();function rj(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function $g(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function B_e(e){return e?(t,r)=>r[e]:null}function D_e(e,t,r){e.theme=R_e(e.theme)?r:e.theme[t]||e.theme}function xv(e,t,r){const i=typeof t=="function"?t(e):t;if(Array.isArray(i))return i.flatMap(n=>xv(e,n,r));if(Array.isArray(i?.variants)){let n;if(i.isProcessed)n=r?$g(i.style,r):i.style;else{const{variants:s,...d}=i;n=r?$g(H0(d),r):d}return J3e(e,i.variants,[n],r)}return i?.isProcessed?r?$g(H0(i.style),r):i.style:r?$g(H0(i),r):i}function J3e(e,t,r=[],i=void 0){let n;e:for(let s=0;s<t.length;s+=1){const d=t[s];if(typeof d.props=="function"){if(n??={...e,...e.ownerState,ownerState:e.ownerState},!d.props(n))continue}else for(const c in d.props)if(e[c]!==d.props[c]&&e.ownerState?.[c]!==d.props[c])continue e;typeof d.style=="function"?(n??={...e,...e.ownerState,ownerState:e.ownerState},r.push(i?$g(H0(d.style(n)),i):d.style(n))):r.push(i?$g(H0(d.style),i):d.style)}return r}function __e(e={}){const{themeId:t,defaultTheme:r=T_e,rootShouldForwardProp:i=rj,slotShouldForwardProp:n=rj}=e;function s(d){D_e(d,t,r)}return(d,c={})=>{MDe(d,I=>I.filter(j=>j!==qg));const{name:u,slot:p,skipVariantsResolver:h,skipSx:m,overridesResolver:g=B_e(O_e(p)),...x}=c,y=u&&u.startsWith("Mui")||p?"components":"custom",w=h!==void 0?h:p&&p!=="Root"&&p!=="root"||!1,b=m||!1;let C=rj;p==="Root"||p==="root"?C=i:p?C=n:F_e(d)&&(C=void 0);const $=IDe(d,{shouldForwardProp:C,label:z_e(),...x}),A=I=>{if(I.__emotion_real===I)return I;if(typeof I=="function")return function(j){return xv(j,I,j.theme.modularCssLayers?y:void 0)};if(Gp(I)){const j=Z3e(I);return function(T){return j.variants?xv(T,j,T.theme.modularCssLayers?y:void 0):T.theme.modularCssLayers?$g(j.style,y):j.style}}return I},L=(...I)=>{const j=[],T=I.map(A),P=[];if(j.push(s),u&&g&&P.push(function(O){const z=O.theme.components?.[u]?.styleOverrides;if(!z)return null;const G={};for(const Z in z)G[Z]=xv(O,z[Z],O.theme.modularCssLayers?"theme":void 0);return g(O,G)}),u&&!w&&P.push(function(O){const z=O.theme?.components?.[u]?.variants;return z?J3e(O,z,[],O.theme.modularCssLayers?"theme":void 0):null}),b||P.push(qg),Array.isArray(T[0])){const O=T.shift(),z=new Array(j.length).fill(""),G=new Array(P.length).fill("");let Z;Z=[...z,...O,...G],Z.raw=[...z,...O.raw,...G],j.unshift(Z)}const B=[...j,...T,...P],_=$(...B);return d.muiName&&(_.muiName=d.muiName),_};return $.withConfig&&(L.withConfig=$.withConfig),L}}function z_e(e,t){return void 0}function R_e(e){for(const t in e)return!1;return!0}function F_e(e){return typeof e=="string"&&e.charCodeAt(0)>96}function O_e(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function kR(e,t,r=!1){const i={...t};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const s=n;if(s==="components"||s==="slots")i[s]={...e[s],...i[s]};else if(s==="componentsProps"||s==="slotProps"){const d=e[s],c=t[s];if(!c)i[s]=d||{};else if(!d)i[s]=c;else{i[s]={...c};for(const u in d)if(Object.prototype.hasOwnProperty.call(d,u)){const p=u;i[s][p]=kR(d[p],c[p],r)}}}else s==="className"&&r&&t.className?i.className=Sr(e?.className,t?.className):s==="style"&&r&&t.style?i.style={...e?.style,...t?.style}:i[s]===void 0&&(i[s]=e[s])}return i}const Yd=typeof window<"u"?f.useLayoutEffect:f.useEffect;function N_e(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function wH(e,t=0,r=1){return N_e(e,t,r)}function H_e(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(i=>i+i)),r?`rgb${r.length===4?"a":""}(${r.map((i,n)=>n<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function o2(e){if(e.type)return e;if(e.charAt(0)==="#")return o2(H_e(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(ch(9,e));let i=e.substring(t+1,e.length-1),n;if(r==="color"){if(i=i.split(" "),n=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(n))throw new Error(ch(10,n))}else i=i.split(",");return i=i.map(s=>parseFloat(s)),{type:r,values:i,colorSpace:n}}const V_e=e=>{const t=o2(e);return t.values.slice(0,3).map((r,i)=>t.type.includes("hsl")&&i!==0?`${r}%`:r).join(" ")},S8=(e,t)=>{try{return V_e(e)}catch{return e}};function Tk(e){const{type:t,colorSpace:r}=e;let{values:i}=e;return t.includes("rgb")?i=i.map((n,s)=>s<3?parseInt(n,10):n):t.includes("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),t.includes("color")?i=`${r} ${i.join(" ")}`:i=`${i.join(", ")}`,`${t}(${i})`}function X3e(e){e=o2(e);const{values:t}=e,r=t[0],i=t[1]/100,n=t[2]/100,s=i*Math.min(n,1-n),d=(p,h=(p+r/30)%12)=>n-s*Math.max(Math.min(h-3,9-h,1),-1);let c="rgb";const u=[Math.round(d(0)*255),Math.round(d(8)*255),Math.round(d(4)*255)];return e.type==="hsla"&&(c+="a",u.push(t[3])),Tk({type:c,values:u})}function SR(e){e=o2(e);let t=e.type==="hsl"||e.type==="hsla"?o2(X3e(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function U_e(e,t){const r=SR(e),i=SR(t);return(Math.max(r,i)+.05)/(Math.min(r,i)+.05)}function eC(e,t){return e=o2(e),t=wH(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Tk(e)}function km(e,t,r){try{return eC(e,t)}catch{return e}}function Bk(e,t){if(e=o2(e),t=wH(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Tk(e)}function Jo(e,t,r){try{return Bk(e,t)}catch{return e}}function Dk(e,t){if(e=o2(e),t=wH(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Tk(e)}function Xo(e,t,r){try{return Dk(e,t)}catch{return e}}function W_e(e,t=.15){return SR(e)>.5?Bk(e,t):Dk(e,t)}function Py(e,t,r){try{return W_e(e,t)}catch{return e}}const efe=f.createContext(null);function bH(){return f.useContext(efe)}const Q_e=typeof Symbol=="function"&&Symbol.for,G_e=Q_e?Symbol.for("mui.nested"):"__THEME_NESTED__";function Y_e(e,t){return typeof t=="function"?t(e):{...e,...t}}function K_e(e){const{children:t,theme:r}=e,i=bH(),n=f.useMemo(()=>{const s=i===null?{...r}:Y_e(i,r);return s!=null&&(s[G_e]=i!==null),s},[r,i]);return l.jsx(efe.Provider,{value:n,children:t})}const tfe=f.createContext();function q_e({value:e,...t}){return l.jsx(tfe.Provider,{value:e??!0,...t})}const n7=()=>f.useContext(tfe)??!1,rfe=f.createContext(void 0);function Z_e({value:e,children:t}){return l.jsx(rfe.Provider,{value:e,children:t})}function J_e(e){const{theme:t,name:r,props:i}=e;if(!t||!t.components||!t.components[r])return i;const n=t.components[r];return n.defaultProps?kR(n.defaultProps,i,t.components.mergeClassNameAndStyle):!n.styleOverrides&&!n.variants?kR(n,i,t.components.mergeClassNameAndStyle):i}function X_e({props:e,name:t}){const r=f.useContext(rfe);return J_e({props:e,name:t,theme:{components:r}})}let SY=0;function eze(e){const[t,r]=f.useState(e),i=e||t;return f.useEffect(()=>{t==null&&(SY+=1,r(`mui-${SY}`))},[t]),i}const tze={...APe},AY=tze.useId;function _k(e){if(AY!==void 0){const t=AY();return e??t}return eze(e)}function rze(e){const t=yH(),r=_k()||"",{modularCssLayers:i}=e;let n="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!i||t!==null?n="":typeof i=="string"?n=i.replace(/mui(?!\.)/g,n):n=`@layer ${n};`,Yd(()=>{const s=document.querySelector("head");if(!s)return;const d=s.firstChild;if(n){if(d&&d.hasAttribute?.("data-mui-layer-order")&&d.getAttribute("data-mui-layer-order")===r)return;const c=document.createElement("style");c.setAttribute("data-mui-layer-order",r),c.textContent=n,s.prepend(c)}else s.querySelector(`style[data-mui-layer-order="${r}"]`)?.remove()},[n,r]),n?l.jsx(K3e,{styles:n}):null}const EY={};function LY(e,t,r,i=!1){return f.useMemo(()=>{const n=e&&t[e]||t;if(typeof r=="function"){const s=r(n),d=e?{...t,[e]:s}:s;return i?()=>d:d}return e?{...t,[e]:r}:{...t,...r}},[e,t,r,i])}function ofe(e){const{children:t,theme:r,themeId:i}=e,n=yH(EY),s=bH()||EY,d=LY(i,n,r),c=LY(i,s,r,!0),u=(i?d[i]:d).direction==="rtl",p=rze(d);return l.jsx(K_e,{theme:c,children:l.jsx(L3e.Provider,{value:d,children:l.jsx(q_e,{value:u,children:l.jsxs(Z_e,{value:i?d[i].components:d.components,children:[p,t]})})})})}const jY={theme:void 0};function oze(e){let t,r;return function(i){let n=t;return(n===void 0||i.theme!==r)&&(jY.theme=i.theme,n=Z3e(e(jY)),t=n,r=i.theme),n}}const vH="mode",CH="color-scheme",ize="data-color-scheme";function nze(e){const{defaultMode:t="system",defaultLightColorScheme:r="light",defaultDarkColorScheme:i="dark",modeStorageKey:n=vH,colorSchemeStorageKey:s=CH,attribute:d=ize,colorSchemeNode:c="document.documentElement",nonce:u}=e||{};let p="",h=d;if(d==="class"&&(h=".%s"),d==="data"&&(h="[data-%s]"),h.startsWith(".")){const g=h.substring(1);p+=`${c}.classList.remove('${g}'.replace('%s', light), '${g}'.replace('%s', dark));
|
|
3
3
|
${c}.classList.add('${g}'.replace('%s', colorScheme));`}const m=h.match(/\[([^[\]]+)\]/);if(m){const[g,x]=m[1].split("=");x||(p+=`${c}.removeAttribute('${g}'.replace('%s', light));
|
|
4
4
|
${c}.removeAttribute('${g}'.replace('%s', dark));`),p+=`
|
|
5
5
|
${c}.setAttribute('${g}'.replace('%s', colorScheme), ${x?`${x}.replace('%s', colorScheme)`:'""'});`}else p+=`${c}.setAttribute('${h}', colorScheme);`;return l.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?u:"",dangerouslySetInnerHTML:{__html:`(function() {
|
|
@@ -75467,7 +75467,7 @@ ${e}`,F0o=e=>f.createElement("svg",{width:38,height:39,viewBox:"0 0 38 39",fill:
|
|
|
75467
75467
|
align-items: end;
|
|
75468
75468
|
color: ${S.brandColorGoldDark};
|
|
75469
75469
|
margin-left: ${o.sp2};
|
|
75470
|
-
`;var Evo=TBe();const A9=qN(Evo);class Lvo{getSignedInUser(){const t=window.localStorage.getItem(this.ZENI_SESSION_ID),r=window.localStorage.getItem(this.ZENI_SIGNED_IN_USER);if(r!=null&&t!=null)return JSON.parse(this.decrypt(r,t))}getShowNegativeAmountInParenthesis(){const t=window.localStorage.getItem(this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS),r=window.localStorage.getItem(this.ZENI_SESSION_ID);return t!=null&&r!=null?JSON.parse(this.decrypt(t,r)):!1}getShowNegativeAmountInParenthesisPDF(){const t=window.localStorage.getItem(this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF),r=window.localStorage.getItem(this.ZENI_SESSION_ID);return t!=null&&r!=null?JSON.parse(this.decrypt(t,r)):!0}getSignedInUserTenant(t){const r=window.localStorage.getItem(this.ZENI_SIGNED_IN_USER_TENANTS),i=window.localStorage.getItem(this.ZENI_SESSION_ID);if(r!=null&&i!=null)return JSON.parse(this.decrypt(r,i)).find(s=>s.tenantEmailDomain===t)}getSignedInUserTenantWithId(t){const r=window.localStorage.getItem(this.ZENI_SIGNED_IN_USER_TENANTS),i=window.localStorage.getItem(this.ZENI_SESSION_ID);if(r!=null&&i!=null)return JSON.parse(this.decrypt(r,i)).find(s=>s.tenantId===t)}getForceRefreshedComponents(){const t=window.localStorage.getItem(this.ZENI_SESSION_ID),r=window.localStorage.getItem(this.ZENI_FORCE_REFRESHED_COMPONENTS);if(r&&t!=null){const i=this.decrypt(r,t);return i?JSON.parse(i):[]}return[]}saveForceRefreshedComponents(t){const r=window.localStorage.getItem(this.ZENI_SESSION_ID);r!=null?window.localStorage.setItem(this.ZENI_FORCE_REFRESHED_COMPONENTS,this.encrypt(JSON.stringify(t),r)):console.warn("Can't update the force refreshed components when the user is logged out!")}saveSignedInUserWithSession(t,r){if(t==null||r==null)throw new Error("Can't accept nil for user or session Id");window.localStorage.setItem(this.ZENI_SESSION_ID,r),window.localStorage.setItem(this.ZENI_SIGNED_IN_USER,this.encrypt(JSON.stringify(t),r))}saveSignedInUserTenants(t,r){const i=r??window.localStorage.getItem(this.ZENI_SESSION_ID);i!=null?window.localStorage.setItem(this.ZENI_SIGNED_IN_USER_TENANTS,this.encrypt(JSON.stringify(t),i)):console.warn("Can't update the setting when the user is logged out!")}saveShowNegativeAmountInParenthesis(t){const r=window.localStorage.getItem(this.ZENI_SESSION_ID);if(r!=null)window.localStorage.setItem(this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS,this.encrypt(JSON.stringify(t),r));else throw new Error("Can't update the setting when the user is logged out!")}saveShowNegativeAmountInParenthesisPDF(t){const r=window.localStorage.getItem(this.ZENI_SESSION_ID);if(r!=null)window.localStorage.setItem(this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF,this.encrypt(JSON.stringify(t),r));else throw new Error("Can't update the setting when the user is logged out!")}isSignedIn(){return[this.ZENI_SESSION_ID,this.ZENI_SIGNED_IN_USER].map(r=>window.localStorage.getItem(r)!=null).reduce((r,i)=>r&&i)}clearAll(){this.ALL_IDs.forEach(t=>window.localStorage.removeItem(t))}setTheme(t){const r=window.localStorage.getItem(this.ZENI_SESSION_ID);r!=null&&window.localStorage.setItem(this.ZENI_THEME,this.encrypt(t,r))}getTheme(){const t=window.localStorage.getItem(this.ZENI_THEME),r=window.localStorage.getItem(this.ZENI_SESSION_ID);if(t!=null&&r!==null)return this.decrypt(t,r)}encrypt(t,r){return A9.AES.encrypt(t,r).toString()}decrypt(t,r){return A9.AES.decrypt(t,r).toString(A9.enc.Utf8)}ZENI_SESSION_ID="ZENI_SESSION_ID";ZENI_SIGNED_IN_USER="ZENI_SIGNED_IN_USER";ZENI_SIGNED_IN_USER_TENANTS="ZENI_SIGNED_IN_USER_TENANTS";ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS="ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS";ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF="ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF";ZENI_THEME="ZENI_THEME";ZENI_FORCE_REFRESHED_COMPONENTS="ZENI_FORCE_REFRESHED_COMPONENTS";ALL_IDs=[this.ZENI_SESSION_ID,this.ZENI_SIGNED_IN_USER,this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS,this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF,this.ZENI_SIGNED_IN_USER_TENANTS,this.ZENI_THEME,this.ZENI_FORCE_REFRESHED_COMPONENTS]}const Ya=new Lvo,jvo=({children:e})=>{const t=EBe("(prefers-color-scheme: dark)"),[r,i]=k.useState({dark:t});f.useEffect(()=>{const d=Ya.getTheme()==null?t:Ya.getTheme()==="dark";r.dark!==d&&i({dark:d})},[r,t]);const n=()=>{const d=!r.dark;Ya.setTheme(d?"dark":"light"),i({...r,dark:d})},s=r.dark?wur():yur();return cr.jsx(clr,{dark:r.dark,webAppTheme:s,toggle:n,children:e})},Ivo=["sandbox","production"],Mvo=e=>y3(e,Ivo),Pvo=e=>{switch(e){case"DEV":case"QA":case"PUNE":case"SUNNYVALE":case"DELHI":case"MOHALI":return"sandbox";case"PROD":case"NEXT":return"production";default:return"sandbox"}},Tvo=["development","staging","production"],Bvo=e=>y3(e,Tvo),Dvo=e=>{switch(e){case"QA":case"PUNE":case"SUNNYVALE":case"DELHI":case"MOHALI":return"staging";case"PROD":case"NEXT":return"production";case"DEV":default:return"development"}},_vo=["DEV","QA","PUNE","SUNNYVALE","DELHI","MOHALI","PROD","NEXT"],zvo=e=>y3(e,_vo),zd=zvo("DEV"),fx=()=>zd==="DEV"||zd==="QA"||zd==="PUNE"||zd==="SUNNYVALE"||zd==="DELHI"||zd==="MOHALI",pG="https://zeni-webapp-dev.uc.r.appspot.com",Rvo="63d3a2406505a5737a2b4debdb513f20",WDo=Mvo(Pvo(zd)),Fvo=Bvo(Dvo(zd));function Ovo(e,t){return A9.AES.decrypt(e,t).toString(A9.enc.Utf8)}const Nvo="ZENI-WEB-APP-",HMe=zd==="DEV"||zd==="QA"?.2:.8,Mn={sentryDsn:"",sentryTraceSamplingRate:HMe,googleClientId:"",googleMapsAPIKey:"",microsoftClientId:"",mixpanelToken:"",pusherClientSecret:"",pusherCluster:"",quickbooksKey:"",appUrl:"",featureClientSecret:"",featureClientSecretCockpit:"",cardVaultId:"",stripeKey:"",qboRedirectionUrl:"",mixpanelUrl:"",mixpanelHMUrl:""};let x3,hG;function Hvo(e){Mn.sentryDsn=e.keys.SENTRY_DSN,Mn.sentryTraceSamplingRate=e.keys.SENTRY_TRACE_SAMPLE_RATES!=null?parseInt(e.keys.SENTRY_TRACE_SAMPLE_RATES):HMe,Mn.googleClientId=e.keys.GOOGLE_CLIENT_ID,Mn.googleMapsAPIKey=e.keys.GOOGLE_MAP_KEY,Mn.microsoftClientId=e.keys.MICROSOFT_CLIENT_ID,Mn.mixpanelToken=e.keys.MIXPANEL_TOKEN,Mn.pusherClientSecret=e.keys.PUSHER_CLIENT_SECRET,Mn.pusherCluster=e.keys.PUSHER_CLUSTER,Mn.quickbooksKey=e.keys.QUICKBOOK_TOKEN,Mn.appUrl=e.keys.WEB_ENDPOINT,Mn.featureClientSecret=e.keys.STATSIG_CLIENT_SECRET,Mn.featureClientSecretCockpit=e.keys.STATSIG_CLIENT_SECRET_COCKPIT,Mn.cardVaultId=e.keys.UNIT_VAULT_ID,Mn.stripeKey=e.keys.STRIPE_KEY,Mn.qboRedirectionUrl=e.keys.QBO_URL,Mn.mixpanelUrl=e.keys.MIXPANEL_URL,Mn.mixpanelHMUrl=e.keys.MIXPANEL_HM_URL,hG=e.externalEndPoints,x3=e.apiEndPoints,Vvo()}function Vvo(){try{const e=new Set;if(x3!=null){for(const t of Object.values(x3))if(typeof t=="string"&&t.startsWith("http"))try{e.add(new URL(t).origin)}catch{}}for(const t of e){const r=document.createElement("link");r.rel="preconnect",r.href=t,r.crossOrigin="anonymous",document.head.appendChild(r)}}catch{}}async function Uvo(){const t=encodeURIComponent(JSON.stringify({environment:zd}));try{const r=await fetch(`${pG}/api/keys?query=${t}`);if(!r.ok)throw new Error(`HTTP error! status: ${r.status}`);return await r.json()}catch(r){return console.error("Error fetching details:",r),null}}let Kge=!1;function Z8(){Kge||(hu.init(Rvo,{api_host:hG.mixpanelBaseUrl,ignore_dnt:!0,store_google:!1,track_marketing:!1}),Kge=!0)}let qge=!1,Zge=!1;function VMe(){if(qge)return;qge=!0,Z8();const e=pl.extractUtmParamsFromUrl();Object.keys(e).length>0&&hu.register(e),fx()&&console.log(`[UTM] first-touch bootstrap: ${JSON.stringify(e)}`)}function Wvo(){return hu?.persistence?.props??null}const Qvo=new Set(["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"]);function Gvo(){const e=Wvo();if(e==null)return;const t=Object.keys(e).filter(r=>r.startsWith("utm_")||Qvo.has(r));for(const r of t)hu.unregister(r);fx()&&t.length>0&&console.log(`[UTM] cleared from cookie: ${JSON.stringify(t)}`)}function Yvo(){Zge||(Zge=!0,Gvo())}class bg{identify(t,r){if(Z8(),this.#r=t,t!=null&&r!=null&&(bg.#t==null||hBe({userId:t,traits:r},bg.#t)!==!0)){const{$email:i,...n}={...r};hu.identify(t),i&&i!=null&&hu.people.set_once({$email:i}),hu.people.set(n),bg.#t={userId:t,traits:r},fx()&&console.log(`*** Called people set with userId ${t} traits ${JSON.stringify(r)} `)}}identifyUserAndCompany(t,r,i,n,s){throw Error("Use identify in the web-app!!")}track(t,r){if(Z8(),this.#r==null){console.error("user is not identified :(, so can not fire event");return}VMe();const i={distinct_id:this.#r,...r};hu.track(t,i),Yvo(),fx()&&console.log(`*** firing ${t} with props ${JSON.stringify(r)}`)}alias(t,r){Z8(),hu.alias(t,r)}reset(){Z8(),hu.reset(),this.#r=void 0,bg.#t=void 0}static get analytics(){return this.#e}static#e=new pl.Analytics(new bg);static#t;#r}const _L=bg.analytics;function Kvo(){VMe()}const qvo=()=>{const e=gk(),t=Du(r=>r.companyState);if(e.pathname.includes("/management/parent/")){const r=e.pathname.split("/")[3],i=t.companiesById[r];if(i!=null)return`${i.companyInfo.name} ${Q.getLocalizedStrings().cockpit.cockpitHeaderSubsidiaryText}`}if(e.pathname.includes("management/month-end-report/company/")){const r=e.pathname.split("/")[4],i=t.companiesById[r];if(i!=null)return i.companyInfo.name}},Jge=e=>{switch(e){case"healthMonitor":return"health-monitor";case"taskManager":return"task-manager";default:return e}},QDo=e=>{switch(e){case"healthMonitor":return"health monitor";case"taskManager":return"task manager";default:return e}};function Zvo(e,t){return{updateDownloadStateHandler:r=>{e(mBe(r))},onZeniLogoClick:()=>{t.themeState.toggle()},onLogOutClick:()=>{e(A3e()),e(E3e(!1)),Ya.clearAll();const r=t.locationHook.state?.origin??"/";t.navigate(r,{replace:!0})},onNewCustomerClick:()=>{t.navigate("/onboarding/new"),_L?.trackOnboardingNewCustomerStarted()},onThreadClick:(r,i,n)=>{const s=r.entityType.split(".");if(s.length===2){const d=bme(s[0]);if(d!=null){const c=Jge(d);t.navigate(`/${c}`),n(r,i)}else console.warn(`Invalid navigation target in thread: ${s[0]}`)}},onNotificationClick:(r,i,n)=>{const s=r.entityType.split(".");if(r.isGlobalComment&&s.length===2){const d=bme(s[0]);if(d!=null){const c=Jge(d);t.navigate(`/${c}`),n(r,i)}else console.warn(`Invalid navigation target in notification: ${s[0]}`)}}}}function Jvo(e,t){const{signedInUser:r,cockpitHeader:i}=t,n=e.tenantState.currentTenantId,d=wk(e)?.companyName??"",c={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:n??""};return{signedInUser:r,cockpitHeader:i,downloadState:e.companyViewState.downloadState,downloadParams:{currentTenantCompanyName:d,cockpitEndPoint:`${pG}/cockpitTabs`,authParams:c}}}const Xvo=iTe(Jvo,Zvo)(Tpo);function eCo(){const e=b$e(),t=Ya.getSignedInUser(),r=ZN(),i=gk(),n=qvo(),s=Du(u=>gBe(u)),d={tabsFileType:"excel",tabs:["management","subscription","portfolio","onboarding","healthMonitor"],filterByTabs:s.filterByTabs,timezone:fBe()},c=i.pathname.split("/")[1];return cr.jsx(Xvo,{locationHook:i,themeState:e,signedInUser:t,cockpitHeader:n,allTabsViews:s,defaultOptions:d,analytics:_L,currentTab:c,navigate:r})}const tCo=["/management/*","/subscription/*","/onboarding/*","/portfolio/*","/audit/*","/health-monitor/*","/task-manager/*"];function rCo({appContent:e}){const t=tCo.filter(r=>nTe(r)).length===0;return cr.jsxs(cr.Fragment,{children:[t?null:cr.jsx(eCo,{}),cr.jsx(cr.Fragment,{children:e})]})}const oCo="cockpit",UMe="init-enter";function iCo({location:e,visitedUrl:t}){const{pathname:r}=e;return f.useLayoutEffect(()=>{const i=t.get(r||UMe);Xge(i!==void 0?i:0)}),null}const nCo=f.memo(iCo,(e,t)=>{const{location:r,visitedUrl:i}=e,{location:n}=t,s=r.pathname||UMe,d=aCo();return i.set(s,d),!((n.pathname!==r.pathname||n.search!==r.search)&&n.hash==="")}),Xge=(e=0)=>window.requestAnimationFrame(()=>{window.scrollTo(0,e)}),aCo=()=>{let e=0;return document!=null&&document.documentElement!==null&&(e=document.documentElement.scrollTop),window.pageYOffset||e},WMe=e=>f.lazy(async()=>{const t=e.toString(),r=Ya.getForceRefreshedComponents(),i=new Set(r),n=i.has(t);try{const s=await e();return i.delete(t),Ya.saveForceRefreshedComponents(Array.from(i)),s}catch(s){throw n||(i.add(t),Ya.saveForceRefreshedComponents(Array.from(i)),location.reload()),s}}),sCo=WMe(()=>Cg(()=>import("./ScreenRoutes-DMhgKCg6.js"),__vite__mapDeps([14,5,1,6,15,8,16,17,7,2,4,9,11,18,19,20]))),lCo=WMe(()=>Cg(()=>import("./SignInScreen-Cat6T0mP.js"),__vite__mapDeps([21,15,1,6,8,5,16,17,18,19,20,7])));function dCo(){const e=f.useRef();e.current==null&&(e.current=new Map);const t=ZN(),r=gk();return f.useEffect(()=>{Kvo()},[]),f.useEffect(()=>{const i="signin/auth";Ya.isSignedIn()===!1&&!r.pathname.includes(i)&&t(i,{replace:!0,state:{...r.state,message:"...",origin:r.pathname}})}),cr.jsxs(pCo,{children:[cr.jsx(nCo,{visitedUrl:e.current,location:r}),cr.jsx(cCo,{})]})}const cCo=()=>{const e=Ya.isSignedIn(),t=Ya.getSignedInUser(),r=e&&XN(t),i=Du(u=>wk(u)),n={userId:t?.userId??"",sessionId:t?.zeniSessionId??"",tenantId:i.tenantId??""},s=Du(u=>xBe(u)),c=Du(u=>yBe(u)).map(u=>({companyId:u.companyId,tenantId:u.tenantId,companyName:u.name}));return cr.jsx(Qio,{roomId:oCo,authParams:n,users:s,companies:c,authUrlEndPoint:`${x3.tenantMicroServiceBaseUrl}/1.0/commenting/auth`,fetchZeniUsers:!1,commentingUsersUrlEndPoint:`${x3.tenantMicroServiceBaseUrl}/1.0/users/zeni-users`,autoConnect:r,withRoomProvider:!1,loggedInUser:t,withThreadsProvider:!0,filter:{application:"cockpit"},children:cr.jsx(uCo,{})})},uCo=()=>cr.jsx(f.Suspense,{fallback:cr.jsx(hCo,{children:cr.jsx(kr,{size:"Large",start:!0})}),children:cr.jsxs(aTe,{children:[cr.jsx(KL,{path:"/",element:cr.jsx(sTe,{to:"management",replace:!0})}),cr.jsx(KL,{path:"/signin/auth",element:cr.jsx(lCo,{})}),cr.jsx(KL,{path:"*",element:cr.jsx(rCo,{appContent:cr.jsx(sCo,{})})})]})}),pCo=Xt("div")``,hCo=Xt("div")`
|
|
75470
|
+
`;var Evo=TBe();const A9=qN(Evo);class Lvo{getSignedInUser(){const t=window.localStorage.getItem(this.ZENI_SESSION_ID),r=window.localStorage.getItem(this.ZENI_SIGNED_IN_USER);if(r!=null&&t!=null)return JSON.parse(this.decrypt(r,t))}getShowNegativeAmountInParenthesis(){const t=window.localStorage.getItem(this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS),r=window.localStorage.getItem(this.ZENI_SESSION_ID);return t!=null&&r!=null?JSON.parse(this.decrypt(t,r)):!1}getShowNegativeAmountInParenthesisPDF(){const t=window.localStorage.getItem(this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF),r=window.localStorage.getItem(this.ZENI_SESSION_ID);return t!=null&&r!=null?JSON.parse(this.decrypt(t,r)):!0}getSignedInUserTenant(t){const r=window.localStorage.getItem(this.ZENI_SIGNED_IN_USER_TENANTS),i=window.localStorage.getItem(this.ZENI_SESSION_ID);if(r!=null&&i!=null)return JSON.parse(this.decrypt(r,i)).find(s=>s.tenantEmailDomain===t)}getSignedInUserTenantWithId(t){const r=window.localStorage.getItem(this.ZENI_SIGNED_IN_USER_TENANTS),i=window.localStorage.getItem(this.ZENI_SESSION_ID);if(r!=null&&i!=null)return JSON.parse(this.decrypt(r,i)).find(s=>s.tenantId===t)}getForceRefreshedComponents(){const t=window.localStorage.getItem(this.ZENI_SESSION_ID),r=window.localStorage.getItem(this.ZENI_FORCE_REFRESHED_COMPONENTS);if(r&&t!=null){const i=this.decrypt(r,t);return i?JSON.parse(i):[]}return[]}saveForceRefreshedComponents(t){const r=window.localStorage.getItem(this.ZENI_SESSION_ID);r!=null?window.localStorage.setItem(this.ZENI_FORCE_REFRESHED_COMPONENTS,this.encrypt(JSON.stringify(t),r)):console.warn("Can't update the force refreshed components when the user is logged out!")}saveSignedInUserWithSession(t,r){if(t==null||r==null)throw new Error("Can't accept nil for user or session Id");window.localStorage.setItem(this.ZENI_SESSION_ID,r),window.localStorage.setItem(this.ZENI_SIGNED_IN_USER,this.encrypt(JSON.stringify(t),r))}saveSignedInUserTenants(t,r){const i=r??window.localStorage.getItem(this.ZENI_SESSION_ID);i!=null?window.localStorage.setItem(this.ZENI_SIGNED_IN_USER_TENANTS,this.encrypt(JSON.stringify(t),i)):console.warn("Can't update the setting when the user is logged out!")}saveShowNegativeAmountInParenthesis(t){const r=window.localStorage.getItem(this.ZENI_SESSION_ID);if(r!=null)window.localStorage.setItem(this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS,this.encrypt(JSON.stringify(t),r));else throw new Error("Can't update the setting when the user is logged out!")}saveShowNegativeAmountInParenthesisPDF(t){const r=window.localStorage.getItem(this.ZENI_SESSION_ID);if(r!=null)window.localStorage.setItem(this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF,this.encrypt(JSON.stringify(t),r));else throw new Error("Can't update the setting when the user is logged out!")}isSignedIn(){return[this.ZENI_SESSION_ID,this.ZENI_SIGNED_IN_USER].map(r=>window.localStorage.getItem(r)!=null).reduce((r,i)=>r&&i)}clearAll(){this.ALL_IDs.forEach(t=>window.localStorage.removeItem(t))}setTheme(t){const r=window.localStorage.getItem(this.ZENI_SESSION_ID);r!=null&&window.localStorage.setItem(this.ZENI_THEME,this.encrypt(t,r))}getTheme(){const t=window.localStorage.getItem(this.ZENI_THEME),r=window.localStorage.getItem(this.ZENI_SESSION_ID);if(t!=null&&r!==null)return this.decrypt(t,r)}encrypt(t,r){return A9.AES.encrypt(t,r).toString()}decrypt(t,r){return A9.AES.decrypt(t,r).toString(A9.enc.Utf8)}ZENI_SESSION_ID="ZENI_SESSION_ID";ZENI_SIGNED_IN_USER="ZENI_SIGNED_IN_USER";ZENI_SIGNED_IN_USER_TENANTS="ZENI_SIGNED_IN_USER_TENANTS";ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS="ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS";ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF="ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF";ZENI_THEME="ZENI_THEME";ZENI_FORCE_REFRESHED_COMPONENTS="ZENI_FORCE_REFRESHED_COMPONENTS";ALL_IDs=[this.ZENI_SESSION_ID,this.ZENI_SIGNED_IN_USER,this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS,this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF,this.ZENI_SIGNED_IN_USER_TENANTS,this.ZENI_THEME,this.ZENI_FORCE_REFRESHED_COMPONENTS]}const Ya=new Lvo,jvo=({children:e})=>{const t=EBe("(prefers-color-scheme: dark)"),[r,i]=k.useState({dark:t});f.useEffect(()=>{const d=Ya.getTheme()==null?t:Ya.getTheme()==="dark";r.dark!==d&&i({dark:d})},[r,t]);const n=()=>{const d=!r.dark;Ya.setTheme(d?"dark":"light"),i({...r,dark:d})},s=r.dark?wur():yur();return cr.jsx(clr,{dark:r.dark,webAppTheme:s,toggle:n,children:e})},Ivo=["sandbox","production"],Mvo=e=>y3(e,Ivo),Pvo=e=>{switch(e){case"DEV":case"QA":case"PUNE":case"SUNNYVALE":case"DELHI":case"MOHALI":return"sandbox";case"PROD":case"NEXT":return"production";default:return"sandbox"}},Tvo=["development","staging","production"],Bvo=e=>y3(e,Tvo),Dvo=e=>{switch(e){case"QA":case"PUNE":case"SUNNYVALE":case"DELHI":case"MOHALI":return"staging";case"PROD":case"NEXT":return"production";case"DEV":default:return"development"}},_vo=["DEV","QA","PUNE","SUNNYVALE","DELHI","MOHALI","PROD","NEXT"],zvo=e=>y3(e,_vo),zd=zvo("QA"),fx=()=>zd==="DEV"||zd==="QA"||zd==="PUNE"||zd==="SUNNYVALE"||zd==="DELHI"||zd==="MOHALI",pG="https://zeni-webapp-qa.uc.r.appspot.com",Rvo="ed1936cb971f6aad4104ddbe708f812c",WDo=Mvo(Pvo(zd)),Fvo=Bvo(Dvo(zd));function Ovo(e,t){return A9.AES.decrypt(e,t).toString(A9.enc.Utf8)}const Nvo="ZENI-WEB-APP-",HMe=zd==="DEV"||zd==="QA"?.2:.8,Mn={sentryDsn:"",sentryTraceSamplingRate:HMe,googleClientId:"",googleMapsAPIKey:"",microsoftClientId:"",mixpanelToken:"",pusherClientSecret:"",pusherCluster:"",quickbooksKey:"",appUrl:"",featureClientSecret:"",featureClientSecretCockpit:"",cardVaultId:"",stripeKey:"",qboRedirectionUrl:"",mixpanelUrl:"",mixpanelHMUrl:""};let x3,hG;function Hvo(e){Mn.sentryDsn=e.keys.SENTRY_DSN,Mn.sentryTraceSamplingRate=e.keys.SENTRY_TRACE_SAMPLE_RATES!=null?parseInt(e.keys.SENTRY_TRACE_SAMPLE_RATES):HMe,Mn.googleClientId=e.keys.GOOGLE_CLIENT_ID,Mn.googleMapsAPIKey=e.keys.GOOGLE_MAP_KEY,Mn.microsoftClientId=e.keys.MICROSOFT_CLIENT_ID,Mn.mixpanelToken=e.keys.MIXPANEL_TOKEN,Mn.pusherClientSecret=e.keys.PUSHER_CLIENT_SECRET,Mn.pusherCluster=e.keys.PUSHER_CLUSTER,Mn.quickbooksKey=e.keys.QUICKBOOK_TOKEN,Mn.appUrl=e.keys.WEB_ENDPOINT,Mn.featureClientSecret=e.keys.STATSIG_CLIENT_SECRET,Mn.featureClientSecretCockpit=e.keys.STATSIG_CLIENT_SECRET_COCKPIT,Mn.cardVaultId=e.keys.UNIT_VAULT_ID,Mn.stripeKey=e.keys.STRIPE_KEY,Mn.qboRedirectionUrl=e.keys.QBO_URL,Mn.mixpanelUrl=e.keys.MIXPANEL_URL,Mn.mixpanelHMUrl=e.keys.MIXPANEL_HM_URL,hG=e.externalEndPoints,x3=e.apiEndPoints,Vvo()}function Vvo(){try{const e=new Set;if(x3!=null){for(const t of Object.values(x3))if(typeof t=="string"&&t.startsWith("http"))try{e.add(new URL(t).origin)}catch{}}for(const t of e){const r=document.createElement("link");r.rel="preconnect",r.href=t,r.crossOrigin="anonymous",document.head.appendChild(r)}}catch{}}async function Uvo(){const t=encodeURIComponent(JSON.stringify({environment:zd}));try{const r=await fetch(`${pG}/api/keys?query=${t}`);if(!r.ok)throw new Error(`HTTP error! status: ${r.status}`);return await r.json()}catch(r){return console.error("Error fetching details:",r),null}}let Kge=!1;function Z8(){Kge||(hu.init(Rvo,{api_host:hG.mixpanelBaseUrl,ignore_dnt:!0,store_google:!1,track_marketing:!1}),Kge=!0)}let qge=!1,Zge=!1;function VMe(){if(qge)return;qge=!0,Z8();const e=pl.extractUtmParamsFromUrl();Object.keys(e).length>0&&hu.register(e),fx()&&console.log(`[UTM] first-touch bootstrap: ${JSON.stringify(e)}`)}function Wvo(){return hu?.persistence?.props??null}const Qvo=new Set(["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"]);function Gvo(){const e=Wvo();if(e==null)return;const t=Object.keys(e).filter(r=>r.startsWith("utm_")||Qvo.has(r));for(const r of t)hu.unregister(r);fx()&&t.length>0&&console.log(`[UTM] cleared from cookie: ${JSON.stringify(t)}`)}function Yvo(){Zge||(Zge=!0,Gvo())}class bg{identify(t,r){if(Z8(),this.#r=t,t!=null&&r!=null&&(bg.#t==null||hBe({userId:t,traits:r},bg.#t)!==!0)){const{$email:i,...n}={...r};hu.identify(t),i&&i!=null&&hu.people.set_once({$email:i}),hu.people.set(n),bg.#t={userId:t,traits:r},fx()&&console.log(`*** Called people set with userId ${t} traits ${JSON.stringify(r)} `)}}identifyUserAndCompany(t,r,i,n,s){throw Error("Use identify in the web-app!!")}track(t,r){if(Z8(),this.#r==null){console.error("user is not identified :(, so can not fire event");return}VMe();const i={distinct_id:this.#r,...r};hu.track(t,i),Yvo(),fx()&&console.log(`*** firing ${t} with props ${JSON.stringify(r)}`)}alias(t,r){Z8(),hu.alias(t,r)}reset(){Z8(),hu.reset(),this.#r=void 0,bg.#t=void 0}static get analytics(){return this.#e}static#e=new pl.Analytics(new bg);static#t;#r}const _L=bg.analytics;function Kvo(){VMe()}const qvo=()=>{const e=gk(),t=Du(r=>r.companyState);if(e.pathname.includes("/management/parent/")){const r=e.pathname.split("/")[3],i=t.companiesById[r];if(i!=null)return`${i.companyInfo.name} ${Q.getLocalizedStrings().cockpit.cockpitHeaderSubsidiaryText}`}if(e.pathname.includes("management/month-end-report/company/")){const r=e.pathname.split("/")[4],i=t.companiesById[r];if(i!=null)return i.companyInfo.name}},Jge=e=>{switch(e){case"healthMonitor":return"health-monitor";case"taskManager":return"task-manager";default:return e}},QDo=e=>{switch(e){case"healthMonitor":return"health monitor";case"taskManager":return"task manager";default:return e}};function Zvo(e,t){return{updateDownloadStateHandler:r=>{e(mBe(r))},onZeniLogoClick:()=>{t.themeState.toggle()},onLogOutClick:()=>{e(A3e()),e(E3e(!1)),Ya.clearAll();const r=t.locationHook.state?.origin??"/";t.navigate(r,{replace:!0})},onNewCustomerClick:()=>{t.navigate("/onboarding/new"),_L?.trackOnboardingNewCustomerStarted()},onThreadClick:(r,i,n)=>{const s=r.entityType.split(".");if(s.length===2){const d=bme(s[0]);if(d!=null){const c=Jge(d);t.navigate(`/${c}`),n(r,i)}else console.warn(`Invalid navigation target in thread: ${s[0]}`)}},onNotificationClick:(r,i,n)=>{const s=r.entityType.split(".");if(r.isGlobalComment&&s.length===2){const d=bme(s[0]);if(d!=null){const c=Jge(d);t.navigate(`/${c}`),n(r,i)}else console.warn(`Invalid navigation target in notification: ${s[0]}`)}}}}function Jvo(e,t){const{signedInUser:r,cockpitHeader:i}=t,n=e.tenantState.currentTenantId,d=wk(e)?.companyName??"",c={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:n??""};return{signedInUser:r,cockpitHeader:i,downloadState:e.companyViewState.downloadState,downloadParams:{currentTenantCompanyName:d,cockpitEndPoint:`${pG}/cockpitTabs`,authParams:c}}}const Xvo=iTe(Jvo,Zvo)(Tpo);function eCo(){const e=b$e(),t=Ya.getSignedInUser(),r=ZN(),i=gk(),n=qvo(),s=Du(u=>gBe(u)),d={tabsFileType:"excel",tabs:["management","subscription","portfolio","onboarding","healthMonitor"],filterByTabs:s.filterByTabs,timezone:fBe()},c=i.pathname.split("/")[1];return cr.jsx(Xvo,{locationHook:i,themeState:e,signedInUser:t,cockpitHeader:n,allTabsViews:s,defaultOptions:d,analytics:_L,currentTab:c,navigate:r})}const tCo=["/management/*","/subscription/*","/onboarding/*","/portfolio/*","/audit/*","/health-monitor/*","/task-manager/*"];function rCo({appContent:e}){const t=tCo.filter(r=>nTe(r)).length===0;return cr.jsxs(cr.Fragment,{children:[t?null:cr.jsx(eCo,{}),cr.jsx(cr.Fragment,{children:e})]})}const oCo="cockpit",UMe="init-enter";function iCo({location:e,visitedUrl:t}){const{pathname:r}=e;return f.useLayoutEffect(()=>{const i=t.get(r||UMe);Xge(i!==void 0?i:0)}),null}const nCo=f.memo(iCo,(e,t)=>{const{location:r,visitedUrl:i}=e,{location:n}=t,s=r.pathname||UMe,d=aCo();return i.set(s,d),!((n.pathname!==r.pathname||n.search!==r.search)&&n.hash==="")}),Xge=(e=0)=>window.requestAnimationFrame(()=>{window.scrollTo(0,e)}),aCo=()=>{let e=0;return document!=null&&document.documentElement!==null&&(e=document.documentElement.scrollTop),window.pageYOffset||e},WMe=e=>f.lazy(async()=>{const t=e.toString(),r=Ya.getForceRefreshedComponents(),i=new Set(r),n=i.has(t);try{const s=await e();return i.delete(t),Ya.saveForceRefreshedComponents(Array.from(i)),s}catch(s){throw n||(i.add(t),Ya.saveForceRefreshedComponents(Array.from(i)),location.reload()),s}}),sCo=WMe(()=>Cg(()=>import("./ScreenRoutes-D2nEcOZw.js"),__vite__mapDeps([14,5,1,6,15,8,16,17,7,2,4,9,11,18,19,20]))),lCo=WMe(()=>Cg(()=>import("./SignInScreen-DF-mQuQN.js"),__vite__mapDeps([21,15,1,6,8,5,16,17,18,19,20,7])));function dCo(){const e=f.useRef();e.current==null&&(e.current=new Map);const t=ZN(),r=gk();return f.useEffect(()=>{Kvo()},[]),f.useEffect(()=>{const i="signin/auth";Ya.isSignedIn()===!1&&!r.pathname.includes(i)&&t(i,{replace:!0,state:{...r.state,message:"...",origin:r.pathname}})}),cr.jsxs(pCo,{children:[cr.jsx(nCo,{visitedUrl:e.current,location:r}),cr.jsx(cCo,{})]})}const cCo=()=>{const e=Ya.isSignedIn(),t=Ya.getSignedInUser(),r=e&&XN(t),i=Du(u=>wk(u)),n={userId:t?.userId??"",sessionId:t?.zeniSessionId??"",tenantId:i.tenantId??""},s=Du(u=>xBe(u)),c=Du(u=>yBe(u)).map(u=>({companyId:u.companyId,tenantId:u.tenantId,companyName:u.name}));return cr.jsx(Qio,{roomId:oCo,authParams:n,users:s,companies:c,authUrlEndPoint:`${x3.tenantMicroServiceBaseUrl}/1.0/commenting/auth`,fetchZeniUsers:!1,commentingUsersUrlEndPoint:`${x3.tenantMicroServiceBaseUrl}/1.0/users/zeni-users`,autoConnect:r,withRoomProvider:!1,loggedInUser:t,withThreadsProvider:!0,filter:{application:"cockpit"},children:cr.jsx(uCo,{})})},uCo=()=>cr.jsx(f.Suspense,{fallback:cr.jsx(hCo,{children:cr.jsx(kr,{size:"Large",start:!0})}),children:cr.jsxs(aTe,{children:[cr.jsx(KL,{path:"/",element:cr.jsx(sTe,{to:"management",replace:!0})}),cr.jsx(KL,{path:"/signin/auth",element:cr.jsx(lCo,{})}),cr.jsx(KL,{path:"*",element:cr.jsx(rCo,{appContent:cr.jsx(sCo,{})})})]})}),pCo=Xt("div")``,hCo=Xt("div")`
|
|
75471
75471
|
display: flex;
|
|
75472
75472
|
flex: 1 1 auto;
|
|
75473
75473
|
flex-direction: row;
|
|
@@ -75478,4 +75478,4 @@ ${e}`,F0o=e=>f.createElement("svg",{width:38,height:39,viewBox:"0 0 38 39",fill:
|
|
|
75478
75478
|
background-color: ${e=>e.theme.colors.background};
|
|
75479
75479
|
`;function mCo(){Q.updateAppLocaleID("en"),yCo();const e=wCo(),[t,r]=f.useState(!1),i=f.useCallback(s=>{s.data?.type==="UPDATE_READY"?r(!0):s.data?.type==="HIDE_UPDATE_POPUP"&&r(!1)},[]);f.useEffect(()=>("serviceWorker"in navigator&&(navigator.serviceWorker.addEventListener("message",i),navigator.serviceWorker.addEventListener("controllerchange",()=>{r(!1)})),()=>{navigator.serviceWorker.removeEventListener("message",i)}),[i]);const n=()=>{r(!1),window.location.reload()};return cr.jsx(jvo,{children:cr.jsx(lTe,{store:e,children:cr.jsx(Nwt,{children:cr.jsxs($Ut,{children:[t?cr.jsx(KKt,{onPrimaryClick:n}):null,cr.jsx(fCo,{})]})})})})}const gCo=()=>{const e=Ya.getSignedInUser(),t=Du($=>wk($)),r=Du($=>CBe($,t.companyId)),i=gk(),n=ZN(),s=dTe(),d=t?.excludedResources?.fetchState=="Completed"?t.excludedResources.resources:[];f.useEffect(()=>()=>{s(eY())},[]);const c=Du($=>$Be($)),u=t?.externalConnections?.accounting[0]?.connectionName,p=()=>{s(eY())},h=f.useMemo(()=>kBe(t.userRole),[t.userRole]),m=Du($=>$.companyViewState.zeniUsers),g=f.useMemo(()=>{const $=m.fetchState==="Error"&&SBe(m.error);return $&&console.warn("Auto-logout triggered due to invalid session"),$},[m.fetchState,m.error]),x=f.useMemo(()=>{const $=m.fetchState==="Error"&&ABe(m.error)===!0;return $&&console.warn("Page is not accessible, show 404"),$},[m.fetchState,m.error]),y=f.useRef(!1);f.useEffect(()=>(g&&!y.current&&(y.current=!0,w()),()=>{y.current=!1}),[g]),f.useEffect(()=>{x&&window.open("/page-not-found","_self")},[x]);const w=f.useCallback(()=>{s(A3e()),s(E3e(!1)),Ya.clearAll();const $=i.state?.origin??"/";n($,{replace:!0})},[]),b=f.useMemo(()=>Ya.getSignedInUser(),[]),C=f.useMemo(()=>({userId:b?.userId??"",sessionId:b?.zeniSessionId??"",tenantId:t.tenantId??""}),[b,t.tenantId]);return cr.jsx(_Ut,{globalInfo:{loggedInUser:e,loggedInUserRole:t?.userRole,excludedResources:d,loggedInUserRoleMap:h,currentTenant:t,connectionName:u,controllersList:r},children:cr.jsx(EUt,{toolkit:{analytics:_L,sentry:IPe,authParams:C},children:cr.jsxs(OVt,{endPoint:{url:pG},children:[cr.jsx(MNr,{isOnDashboard:!1,showSnackbar:c.isSnackbarOpen,snackbar:{message:c.message,messageType:c.messageType,onRemoveSnackbar:p,showStatusIcon:c.showStatusIcon}}),cr.jsx(dCo,{})]})})})},fCo=()=>{const e=Ya.isSignedIn(),r=Du(i=>wk(i)).companyId;return cr.jsx(cGt,{isUserSignedIn:e,featureGateCustomFields:{companyId:r},zeniFeatureConfig:{currentFeatureEnv:Fvo,featureClientSecret:Mn.featureClientSecretCockpit,providerEndPoint:hG.statsigBaseUrl},children:cr.jsx(gCo,{})})},xCo=LPe(mCo);function yCo(){console.log("Initialize any 3rd party libs!")}let fR=null;function wCo(){return fR===null&&(fR=bCo(),wBe().catch(e=>{console.error("Failed to load feature epics:",e),jPe(e,{tags:{critical:"true",module:"epicManager"}}),alert(`The application failed to load required modules. Some features may not work correctly.
|
|
75480
75480
|
|
|
75481
|
-
Please refresh the page to try again.`)})),fR}function bCo(){console.warn(`initializing epic state with url ${JSON.stringify(x3)}`);const e=Ya.getSignedInUser(),t=bBe(x3,e?.userId,e?.zeniSessionId,void 0,fx()),r=vBe();return r.userId!=null&&_L.identify(r.userId,{tenant_id:r.tenantId}),t}const vCo=!!(window.location.hostname==="localhost"||window.location.hostname==="[::1]"||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/)),CCo="
|
|
75481
|
+
Please refresh the page to try again.`)})),fR}function bCo(){console.warn(`initializing epic state with url ${JSON.stringify(x3)}`);const e=Ya.getSignedInUser(),t=bBe(x3,e?.userId,e?.zeniSessionId,void 0,fx()),r=vBe();return r.userId!=null&&_L.identify(r.userId,{tenant_id:r.tenantId}),t}const vCo=!!(window.location.hostname==="localhost"||window.location.hostname==="[::1]"||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/)),CCo="QA",$Co="https://zeni-webapp-qa.uc.r.appspot.com",e3e=`/service-worker.js?v=${Date.now()}&env=${CCo}&endpoint=${encodeURIComponent($Co)}`;function kCo(e){if("serviceWorker"in navigator){if(new URL("https://qa.app.zeni.ai",window.location.href).origin!==window.location.origin)return;window.addEventListener("load",()=>{vCo?SCo(e3e):QMe(e3e)})}}function QMe(e,t){navigator.serviceWorker.register(e).then(r=>{r.onupdatefound=()=>{const i=r.installing;i!=null&&(i.onstatechange=()=>{i.state==="installed"&&(navigator.serviceWorker.controller?(console.log("New content available; will be used when all tabs are closed."),navigator.serviceWorker.controller?.postMessage({type:"UPDATE_READY"}),r.waiting?.postMessage({type:"SKIP_WAITING"})):console.log("Content is cached for offline use."))})},r.waiting&&r.waiting.postMessage({type:"SKIP_WAITING"}),navigator.serviceWorker.addEventListener("controllerchange",()=>{console.log("New service worker activated."),r.active?.postMessage({type:"CLIENTS_CLAIM"})})}).catch(r=>{console.error("Error during service worker registration:",r)})}function SCo(e,t){fetch(e,{headers:{"Service-Worker":"script"}}).then(r=>{const i=r.headers.get("content-type");r.status===404||i!=null&&!i.includes("javascript")?navigator.serviceWorker.ready.then(n=>{n.unregister().then(()=>window.location.reload())}):QMe(e)}).catch(()=>{console.log("No internet connection found. App is running in offline mode.")})}const ACo=Ya.getSignedInUser(),ECo=ACo?.zeniSessionId;async function LCo(){try{const e=await Uvo(),t=Ovo(e,Nvo+zd);Hvo(JSON.parse(t)),DBe.createRoot(document.getElementById("root")).render(cr.jsx(k.StrictMode,{children:cr.jsx(cTe,{basename:"/cockpit",children:cr.jsx(xCo,{})})})),jCo()}catch(e){console.error("Error initializing app:",e)}}function jCo(){const e=()=>{MPe({dsn:Mn.sentryDsn,integrations:[PPe(),TPe({maskAllText:!0,blockAllMedia:!0})],tracesSampleRate:Mn.sentryTraceSamplingRate,replaysSessionSampleRate:0,replaysOnErrorSampleRate:1,beforeSendTransaction(t){return t.breadcrumbs&&(t.breadcrumbs=t.breadcrumbs.filter(r=>r.category!=="console"?!0:(r.message??"").toLowerCase().includes("called people set")||Array.isArray(r.data?.arguments)&&r.data.arguments.some(n=>typeof n=="string"&&n.toLowerCase().includes("called people set"))?!1:(Array.isArray(r.data?.arguments)&&(r.data.arguments=r.data.arguments.map(n=>{if(typeof n=="string"&&n.includes("user_roles"))try{const s=n.match(/\{.*\}/s);if(s!==null){const d=JSON.parse(s[0]);if(d.user_roles!=null)return delete d.user_roles,n.replace(s[0],JSON.stringify(d))}}catch{}return n})),!0))),t}}),BPe("session-id",ECo)};typeof requestIdleCallback=="function"?requestIdleCallback(e):setTimeout(e,0)}LCo();kCo();export{kr as $,UDo as A,HDo as B,_Do as C,Q as D,hAo as E,mAo as F,BDo as G,WMe as H,a3 as I,DDo as J,PSo as K,yjo as L,lf as M,m$o as N,Gio as O,PDo as Q,xjo as T,DEo as V,mko as W,OMo as X,MDo as Y,Pe as Z,_L as a,E as b,Mn as c,TDo as d,VDo as e,v as f,QDo as g,Jge as h,nCe as i,MSo as j,IDo as k,sAo as l,st as m,WDo as n,o,hur as p,pl as q,ODo as r,NDo as s,lCe as t,Kvo as u,FDo as v,YCo as w,RDo as x,zDo as y,Ya as z};
|
package/dist/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap"><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Zeni - Modern Finance Team For Startups</title><script type="module" crossorigin src="/assets/index-
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap"><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Zeni - Modern Finance Team For Startups</title><script type="module" crossorigin src="/assets/index-BFo-bXQg.js"></script><link rel="modulepreload" crossorigin href="/assets/sentry-D4s0taNl.js"><link rel="modulepreload" crossorigin href="/assets/core-DJqJSXg7.js"><link rel="modulepreload" crossorigin href="/assets/zeni-epic-state-BRXzaXEX.js"><link rel="modulepreload" crossorigin href="/assets/recharts-K1p0NQzK.js"><link rel="modulepreload" crossorigin href="/assets/liveblocks-MdBSm47b.js"><link rel="modulepreload" crossorigin href="/assets/mui-C6GD0jRa.js"><link rel="modulepreload" crossorigin href="/assets/lottie-B7ijoRF5.js"><link rel="modulepreload" crossorigin href="/assets/analytics-C2zi4yYl.js"><link rel="modulepreload" crossorigin href="/assets/lexical-DRk-qy6i.js"><link rel="modulepreload" crossorigin href="/assets/utils-CPUHikhf.js"><link rel="stylesheet" crossorigin href="/assets/index-t8y498Dk.css"></head><body><div id="root"></div></body></html>
|