@zeniai/web-app-ui 5.3.50-dev → 5.3.51-dev
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/{AccountMappingScreen-DmqoCa3c.js → AccountMappingScreen-Z-noj29C.js} +1 -1
- package/dist/assets/{ActualMatchingMatchDetailScreen-TwL-xb39.js → ActualMatchingMatchDetailScreen-DX30h_LR.js} +1 -1
- package/dist/assets/AddressRoutes-Dt1bxWU6.js +1 -0
- package/dist/assets/{AddressScreen-BYSQEhtw.js → AddressScreen-DVZRYb6q.js} +1 -1
- package/dist/assets/{AiCfoScreen-BewbKzK3.js → AiCfoScreen-CzHb-C0a.js} +1 -1
- package/dist/assets/{AppDrawer-CBK1Z7HE.js → AppDrawer-P5Yq4elH.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-E0nmOEzS.js → BillPayApprovalRoutes-Ckj7qIG3.js} +1 -1
- package/dist/assets/{BillPayRoutes-BqO0BK4h.js → BillPayRoutes-D99xPk1k.js} +1 -1
- package/dist/assets/{BusinessVerificationPageScreen-D6Rq9ZNv.js → BusinessVerificationPageScreen-DorF9wJm.js} +1 -1
- package/dist/assets/{CardsAiCfoScreen-B9tbqWLV.js → CardsAiCfoScreen-DAVWTdRh.js} +1 -1
- package/dist/assets/{ChargeCardRoutes-CRhIOSsz.js → ChargeCardRoutes-_seq6gak.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-Dz5q5hWq.js → CompanyPassportScreen-heZQuNGW.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-BwNANSHO.js → ConnectionAuthScreen-CAbs1jqS.js} +1 -1
- package/dist/assets/CustomerOnboardingAuthScreen-eCRYYI-e.js +1 -0
- package/dist/assets/{CustomerOnboardingRoutes-Cf_gmRzi.js → CustomerOnboardingRoutes-B070sYq6.js} +1 -1
- package/dist/assets/{DashboardRoutes-BMZnhIZN.js → DashboardRoutes-DIsM75u-.js} +1 -1
- package/dist/assets/{DefaultTenantHome-BtUhfodL.js → DefaultTenantHome-C2rq74c5.js} +1 -1
- package/dist/assets/{DomesticWireDetailScreen-BB7It_DQ.js → DomesticWireDetailScreen-C66MIDqV.js} +1 -1
- package/dist/assets/{DrawerScreen-BuT_QNsD.js → DrawerScreen-BeG5NZLa.js} +1 -1
- package/dist/assets/{EntityDetailRoutes-fQIgW7FG.js → EntityDetailRoutes-BH1gTNai.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-BYMPO7kQ.js → ExpenseAutomationRoutes-BuGgZVE5.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-CFiPnn5B.js → FeaturePreviewScreen-CTfF2kJg.js} +1 -1
- package/dist/assets/{HubSpotOAuthCallbackScreen-BrUxv_nJ.js → HubSpotOAuthCallbackScreen-Cry2n_9T.js} +1 -1
- package/dist/assets/{InboxNotificationsProvider-C4Mxy7-U.js → InboxNotificationsProvider-DGF7zUT5.js} +1 -1
- package/dist/assets/InvoicingRoutes-CjVz3D16.js +2 -0
- package/dist/assets/{MagicLinkRoutes-CerOmGKe.js → MagicLinkRoutes-FsL_pDsr.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-yMDI7WJH.js → MagicLinkSignInScreen-dWMA5rvs.js} +1 -1
- package/dist/assets/{MobileAppDrawer-C8iDRk5w.js → MobileAppDrawer-3hdMdgHl.js} +1 -1
- package/dist/assets/NotFoundScreen-BrZDNi9u.js +1 -0
- package/dist/assets/{NotificationRoutes-CoYbWE_c.js → NotificationRoutes-Ia_StQxO.js} +1 -1
- package/dist/assets/{OAuthConsentScreen-Cy4kXLe6.js → OAuthConsentScreen-ENkiOwVE.js} +1 -1
- package/dist/assets/{PandLWithForecastRoutes-CDH5SiiT.js → PandLWithForecastRoutes-Ca9l165b.js} +1 -1
- package/dist/assets/{PaymentLinkScreen-DRAYFHgx.js → PaymentLinkScreen-CLJWnz9d.js} +1 -1
- package/dist/assets/{PeopleRoutes-G1nNAEYc.js → PeopleRoutes-BRgSPKLo.js} +1 -1
- package/dist/assets/{PerformanceRoutes-IOB0iQJZ.js → PerformanceRoutes-CSiIWS3d.js} +1 -1
- package/dist/assets/{Preview-D3nFS6CS.js → Preview-CL5JOwkW.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-DytF9SZj.js → QBOConnectionScreen-DmjyrlYE.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-DFDZ_Pua.js → ReimbursementApprovalRoutes-CtpP2r7b.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-BxSLUehu.js → ReimbursementApprovalRuleDetailScreen-BBs9NH1t.js} +1 -1
- package/dist/assets/{ReimbursementRoutes-B8fThrLC.js → ReimbursementRoutes-FUlKeO6E.js} +1 -1
- package/dist/assets/{ReportsRoutes-DSf5iG_q.js → ReportsRoutes-BEEImGc5.js} +1 -1
- package/dist/assets/{RewardsRoutes-b9nRXJ3D.js → RewardsRoutes-BjHgr-LO.js} +1 -1
- package/dist/assets/{ScheduleDetailsPrepaidExpensesScreen-BD7_D3Gj.js → ScheduleDetailsPrepaidExpensesScreen--r68Mash.js} +1 -1
- package/dist/assets/{ScreenRoutes-BO3i74yN.js → ScreenRoutes-BQzMSFT2.js} +2 -2
- package/dist/assets/{SettingsRoutes-BXSUSWec.js → SettingsRoutes-89yhvrtM.js} +1 -1
- package/dist/assets/{SetupPagesScreen-CGDlrXLo.js → SetupPagesScreen-CDlcHNSJ.js} +1 -1
- package/dist/assets/{SignInScreen-cGrV6xax.js → SignInScreen-DIeWOvHk.js} +1 -1
- package/dist/assets/{SignOutScreen-BIJRSo1i.js → SignOutScreen-wUiFAd90.js} +1 -1
- package/dist/assets/{TaskListScreen-Bcn2DnCn.js → TaskListScreen-Ca08z5uM.js} +1 -1
- package/dist/assets/{TaskRoutes-7wDNdngg.js → TaskRoutes-CystW5mI.js} +1 -1
- package/dist/assets/TransactionDetailRoutes-DdQ9jI4d.js +1 -0
- package/dist/assets/{TransactionDetailScreen-GeE6uQiI.js → TransactionDetailScreen-BJgGk4vk.js} +1 -1
- package/dist/assets/{TransactionListRoutes-CBKGJ-lP.js → TransactionListRoutes-BSWCSgmV.js} +1 -1
- package/dist/assets/{TreasuryRoutes-CojGiR1x.js → TreasuryRoutes-BM-7oNnZ.js} +1 -1
- package/dist/assets/{VendorsRoutes-D2K2nhWR.js → VendorsRoutes-DhpExNly.js} +1 -1
- package/dist/assets/{WiseConfirmationScreen-Bfu8ww5t.js → WiseConfirmationScreen-B--eryvX.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-Cuc_P5i5.js → ZeniAccountRoutes-AimNmFB1.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-BBPGoykx.js → ZeniAccountStatementScreen-D6V8KkrS.js} +1 -1
- package/dist/assets/{accountMappingHelper-C49jxhGs.js → accountMappingHelper-3Hm_-9n-.js} +1 -1
- package/dist/assets/{analytics-CqtBdMPM.js → analytics-D_bfwrdA.js} +1 -1
- package/dist/assets/{analyticsHelper-D3KF3oFw.js → analyticsHelper-CddHs7OT.js} +1 -1
- package/dist/assets/{core-D9_r48xZ.js → core-C5ZG3tJS.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-DyEaiyWX.js → decodeURIComponentSafe-ukN1WN7f.js} +1 -1
- package/dist/assets/{dnd-BCAK2sIw.js → dnd-C67Dx0fq.js} +1 -1
- package/dist/assets/{empty-BoonXjm8.js → empty-CytNejfB.js} +1 -1
- package/dist/assets/{empty-DHCuvVpz.js → empty-D8AdB3zX.js} +1 -1
- package/dist/assets/{emptyVideoElement-DDkVcaiD.js → emptyVideoElement-DRkRIcLt.js} +1 -1
- package/dist/assets/{epic-DVDsBNia.js → epic-Dij6qtSX.js} +1 -1
- package/dist/assets/{expenseAutomationHelper-Bmn0IF_K.js → expenseAutomationHelper-TRaObTJj.js} +1 -1
- package/dist/assets/{getLocaleForTenant-yLuRQ-S_.js → getLocaleForTenant-CaacUyT4.js} +1 -1
- package/dist/assets/{index-CYjuawf_.js → index-B7_eMJP9.js} +1 -1
- package/dist/assets/{index-BYMHtOlo.js → index-BJSiEm2J.js} +1 -1
- package/dist/assets/{index-DmXcZyli.js → index-BQn16-dp.js} +1 -1
- package/dist/assets/{index-9Ja3Lqmf.js → index-BUVBGxEt.js} +1 -1
- package/dist/assets/{index-dTLcnBHt.js → index-BkMAt9Jn.js} +1 -1
- package/dist/assets/{index-bQlS7Nxz.js → index-C-mLGw3d.js} +1 -1
- package/dist/assets/{index-HSAOUhxo.js → index-DcQYDhNo.js} +6 -6
- package/dist/assets/{index-DNkFQuNQ.js → index-GiMM0ckT.js} +2 -2
- package/dist/assets/{lexical-2BO6qHmP.js → lexical-BpFcNSrv.js} +1 -1
- package/dist/assets/{liveblocks-BIpuBqDU.js → liveblocks-DsNaXx1Y.js} +1 -1
- package/dist/assets/{lottie-CDi-6upx.js → lottie-x1U_1T_X.js} +1 -1
- package/dist/assets/{mui-81_cRiBE.js → mui-BWEZqJM6.js} +1 -1
- package/dist/assets/{pathToGoBack-B4fU8Azr.js → pathToGoBack-Bx2jKiUl.js} +1 -1
- package/dist/assets/{pdf-Bb_1563M.js → pdf-Da5t4yqS.js} +3 -3
- package/dist/assets/{pdf-lib-CJ09PoKW.js → pdf-lib-BkS3YoMW.js} +1 -1
- package/dist/assets/{plaid-BDcnIkZ0.js → plaid-B_2YsVA4.js} +1 -1
- package/dist/assets/{pusher-Ct1YtECO.js → pusher-BHd7HOLE.js} +1 -1
- package/dist/assets/{react-903GIdr_.js → react-BQz1q-qh.js} +1 -1
- package/dist/assets/{react-Ad5cTmQt.js → react-CLpDx285.js} +1 -1
- package/dist/assets/{react-GWNxCIDF.js → react-CXAUR01O.js} +1 -1
- package/dist/assets/{react-CD8gkbD7.js → react-Cl3JZyLA.js} +1 -1
- package/dist/assets/{react-B3Wl6nG2.js → react-CluwtJMc.js} +1 -1
- package/dist/assets/{react-CWdNL9zh.js → react-aer_dY1C.js} +1 -1
- package/dist/assets/{recharts-D2tzVFIn.js → recharts-Cbxp2ciV.js} +1 -1
- package/dist/assets/{routePaths-B7ws5QsO.js → routePaths-CK0hdDvv.js} +1 -1
- package/dist/assets/{sentry-B2ljjuRI.js → sentry-D4qoEIco.js} +1 -1
- package/dist/assets/{stripSplatSuffix-UCDmTxu6.js → stripSplatSuffix-Ca96gi6n.js} +1 -1
- package/dist/assets/{url-DyU7tVdi.js → url-C1Mc-kLe.js} +1 -1
- package/dist/assets/{url-BpHe0UXt.js → url-rUBTkYeh.js} +1 -1
- package/dist/assets/{useActualMatchingMatchDetail-D89W-nIl.js → useActualMatchingMatchDetail-B2otLn9e.js} +1 -1
- package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-DEa4Nmca.js → useAiCfoDashboardSuggestedQuestionsChips-DdUF__iY.js} +1 -1
- package/dist/assets/{useAskAiCfoHostNavButtonProps-4YttUrJe.js → useAskAiCfoHostNavButtonProps-ChLA2qVa.js} +1 -1
- package/dist/assets/{useChargeCardPusherEvents-oAlDNiPg.js → useChargeCardPusherEvents-C7Th_zSY.js} +1 -1
- package/dist/assets/{useDeviceId-CrjinlLp.js → useDeviceId-D51quroZ.js} +1 -1
- package/dist/assets/{useEmailConnectResultRefresh-XoKEb5Ne.js → useEmailConnectResultRefresh-DwAwhMvM.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-DpEz9463.js → useInitialThreadRequest-eMzMoXzm.js} +1 -1
- package/dist/assets/{useTaskManagerAccess-bW41OpZE.js → useTaskManagerAccess-C5N90dEy.js} +1 -1
- package/dist/assets/{utils-DajTl1fi.js → utils-DBZ_QSme.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-D_JcHv53.js → withTransactionSidePanel-_EtsUxtd.js} +1 -1
- package/dist/assets/{zeni-epic-state-D8p_bjl4.js → zeni-epic-state-BcPOXb6_.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/AddressRoutes-COik6vq7.js +0 -1
- package/dist/assets/CustomerOnboardingAuthScreen-DACkSHVB.js +0 -1
- package/dist/assets/InvoicingRoutes-DGpm5Rjv.js +0 -2
- package/dist/assets/NotFoundScreen-BQEX4Gy6.js +0 -1
- package/dist/assets/TransactionDetailRoutes-sSD_0b6S.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/zeni-epic-state-
|
|
2
|
-
import{a as m,R as M,b as z5e,e as csn,p as wse,r as Am,g as jAt,d as Gje,f as dsn,s as qje,i as usn,w as psn,j as hsn,S as msn,k as gsn,l as fsn,m as xsn,n as ysn,o as bsn}from"./sentry-B2ljjuRI.js";import{L as wsn,C as Kje,_ as ah,a as Csn,b as HN,c as vsn,d as Xte,e as UN,u as $At,T as Asn,f as Ssn,g as ksn,h as jsn,i as $sn,k as EAt,l as Esn,m as Isn,j as Zt}from"./liveblocks-BIpuBqDU.js";import{f as IAt,r as Aa,R as xA,P as Vl,O as Dsn,N as DAt,u as qp,g as c2,h as ene,i as TAt,j as Gr,m as E8e,s as QZ,k as LAt,l as Tsn,n as Lsn,o as lp,p as Bsn,B as Psn}from"./core-D9_r48xZ.js";import{L as Zje,bl as Msn,bm as Osn,bn as WN,bo as Fsn,bp as Rsn,bq as zs,br as Wt,bs as cL,bt as s3,bu as zsn,bv as K7,bw as Os,bx as Nsn,by as _sn,bz as Vsn,bA as d1,bB as ep,bC as Sz,bD as s8,bE as pn,bF as BAt,bG as W1,bH as va,bI as aT,bJ as PAt,bK as MAt,bL as I8e,bM as dx,bN as n1,bO as d7,bP as Hsn,bQ as Rc,bR as Usn,bS as dL,bT as Wsn,bU as Qsn,bV as YZ,bW as Ysn,bX as Gsn,bY as GZ,bZ as qsn,b_ as Ksn,b$ as l8,c0 as Jje,c1 as Zsn,c2 as Jsn,c3 as Xsn,c4 as eln,c5 as tln,c6 as nln,c7 as iln,c8 as u7,c9 as tne,ca as oln,cb as nne,cc as ine,cd as one,ce as D8e,cf as QN,cg as kS,ch as YN,ci as sT,cj as lT,ck as jS,cl as rne,cm as KA,cn as rln,co as Xje,cp as aln,cq as sln,cr as lln,cs as cln,ct as OAt,cu as dln,cv as uln,cw as Zw,cx as e$e,cy as pln,cz as hln,cA as mln,cB as dk,cC as uk,cD as FAt,cE as RAt,cF as T8e,cG as gln,cH as zAt,cI as fln,cJ as qZ,cK as NAt,cL as xln,cM as _At,cN as yln,cO as KO,cP as bln,cQ as wln,cR as t$e,cS as Cln,cT as L8e,cU as B8e,cV as vln,cW as Aln,cX as Sln,cY as kln,cZ as zV,c_ as kz,c$ as NV,d0 as jln,d1 as $ln,d2 as VAt,d3 as Eln,d4 as Iln,d5 as Dln,d6 as Tln,d7 as Lln,d8 as HAt,d9 as n$e,da as Bln,db as P8e,dc as Pln,dd as Mln,de as Oln,df as UAt,dg as mu,dh as Wl,di as ane,dj as Fln,dk as Rln,dl as F1,dm as WAt,dn as zln,dp as jz,dq as ZA,dr as Qs,ds as i$e,dt as Nln,du as _ln,dv as Vln,dw as QAt,dx as M8e,dy as _V,dz as YAt,dA as Pg,dB as Hln,dC as Uln,dD as Wln,dE as Qln,dF as Yln,dG as Gln,dH as qln,dI as Kln,dJ as VV,dK as $S,dL as sne,dM as Zln,dN as Jln,dO as pk,dP as Q1,dQ as GAt,dR as qAt,dS as Xln,dT as KAt,dU as ecn,dV as tcn,dW as ncn,dX as icn,dY as uL,dZ as O8e,d_ as F8e,d$ as ocn,e0 as R8e,e1 as ZAt,e2 as JAt,e3 as XAt,e4 as eSt,e5 as tSt,e6 as nSt,e7 as rcn,_ as Pd,e8 as pL,e9 as acn,ea as o$e,eb as lne,ec as scn,ed as lcn,ee as iSt,ef as ccn,eg as tR,eh as Mm,ei as p7,ej as oSt,ek as rSt,el as dcn,em as aSt,en as N5e,eo as ucn,ep as sK,eq as pcn,er as hcn,es as mcn,et as gcn,eu as fcn,ev as sSt,ew as lSt,ex as xcn,ey as ycn,ez as cSt,eA as nR,eB as iR,eC as dSt,eD as bcn,eE as wcn,eF as Ccn,eG as vcn,eH as z8e,eI as uSt,eJ as pSt,eK as N8e,eL as hL,eM as cne,eN as _8e,eO as V8e,eP as H8e,eQ as U8e,eR as Acn,eS as Scn,eT as hSt,eU as r$e,eV as kcn,eW as W8e,eX as jcn,eY as $cn,eZ as N1,e_ as Ecn,e$ as dne,f0 as mSt,f1 as gSt,f2 as Icn,f3 as Q8e,f4 as Y8e,f5 as Dcn,f6 as Tcn,f7 as Lcn,f8 as Bcn,f9 as Pcn,fa as Kg,fb as a$e,fc as fSt,fd as Mcn,fe as Ocn,ff as Fcn,fg as xSt,fh as ySt,fi as bSt,fj as wSt,fk as CSt,fl as vSt,fm as Rcn,fn as cT,fo as zcn,fp as Ncn,fq as _cn,fr as Vcn,fs as ASt,ft as SSt,fu as s$e,fv as l$e,fw as Hcn,fx as Ucn,fy as c$e,fz as d$e,fA as Wcn,fB as Qcn,fC as _5e,fD as Ycn,v as Gcn,fE as une,fF as xm,fG as kSt,fH as jSt,fI as qcn,fJ as Kcn,fK as u$e,fL as Zcn,fM as Jcn,fN as Xcn,fO as edn,fP as tdn,fQ as ndn,fR as idn,fS as odn,fT as rdn,fU as adn,fV as sdn,fW as ldn,fX as cdn,fY as ddn,fZ as udn,f_ as pdn,f$ as hdn,g0 as mdn,g1 as gdn,g2 as p$e,g3 as fdn,g4 as xdn,g5 as ydn,g6 as bdn,g7 as wdn,g8 as $St,g9 as pne,ga as G8e,gb as ESt,gc as Cdn,gd as vdn,ge as Adn,gf as ISt,gg as h$e,gh as DSt,gi as TSt,gj as Sdn,gk as LSt,gl as BSt,gm as kdn,gn as jdn,go as V5e,gp as $dn,gq as oR,gr as Edn,gs as Idn,gt as Ddn,gu as Tdn,gv as Ldn,gw as Bdn,gx as Pdn,gy as Mdn,gz as Odn,gA as Fdn,gB as Rdn,gC as zdn,gD as PSt,gE as Ndn,gF as _dn,gG as Vdn,gH as m$e,gI as Hdn,gJ as Udn,gK as Wdn,gL as Qdn,gM as Ydn,gN as Gdn,gO as MSt,gP as OSt,gQ as qdn,gR as FSt,gS as Kdn,gT as Zdn,gU as H5e,gV as Jdn,gW as Xdn,gX as eun,gY as tun,gZ as nun,g_ as iun,g$ as g$e,h0 as oun,h1 as run,h2 as aun}from"./zeni-epic-state-D8p_bjl4.js";import{n as a,T as RSt,G as GN,j as Io,c as Ie,k as ni,C as zSt,u as sun,D as NSt,S as _St,a as lun}from"./mui-81_cRiBE.js";import{r as cun,m as kg}from"./analytics-CqtBdMPM.js";import{u as np}from"./plaid-BDcnIkZ0.js";import{D as q8e,H as hne,g as dun,O as uun,S as pun,T as hun,u as K8e,a as Z8e,b as mun}from"./dnd-BCAK2sIw.js";import{l as J8e}from"./stripe-cKAAJElX.js";import{L as bD}from"./lottie-CDi-6upx.js";import{r as sd}from"./lexical-2BO6qHmP.js";import{D as U5e,P as W5e,_ as VSt,a as HSt}from"./pdf-Bb_1563M.js";import{R as ES,G as c8,H as eh,X as ql,Y as Ll,I as Dd,J as d8,K as R8,L as JA,M as J1,N as mL,O as USt,P as gun,Q as fun,S as mne,U as xun,V as X8e,W as yun,Z as bun,_ as wun,d as Cun}from"./recharts-D2tzVFIn.js";import{r as vun,n as f$e}from"./utils-DajTl1fi.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]="57525f6d-042b-483c-8d0e-cec36d823e16",e._sentryDebugIdIdentifier="sentry-dbid-57525f6d-042b-483c-8d0e-cec36d823e16")}catch{}})();(function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver((i=>{for(const r of i)if(r.type==="childList")for(const s of r.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)})).observe(document,{childList:!0,subtree:!0})}function n(i){if(i.ep)return;i.ep=!0;const r=(function(s){const l={};return s.integrity&&(l.integrity=s.integrity),s.referrerPolicy&&(l.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?l.credentials="include":s.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l})(i);fetch(i.href,r)}})();var x$e,HV={},Aun=(function(){if(x$e)return HV;x$e=1;var e=IAt();return HV.createRoot=e.createRoot,HV.hydrateRoot=e.hydrateRoot,HV})(),cm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof z5e<"u"?z5e:typeof self<"u"?self:{};function fr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var y$e,b$e,w$e={exports:{}},yB={};function WSt(){return b$e||(b$e=1,w$e.exports=(function(){if(y$e)return yB;y$e=1;var e=M,n=Symbol.for("react.element"),i=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(d,u,p){var h,g={},f=null,x=null;for(h in p!==void 0&&(f=""+p),u.key!==void 0&&(f=""+u.key),u.ref!==void 0&&(x=u.ref),u)r.call(u,h)&&!l.hasOwnProperty(h)&&(g[h]=u[h]);if(d&&d.defaultProps)for(h in u=d.defaultProps)g[h]===void 0&&(g[h]=u[h]);return{$$typeof:n,type:d,key:f,ref:x,props:g,_owner:s.current}}return yB.Fragment=i,yB.jsx=c,yB.jsxs=c,yB})()),w$e.exports}var t=WSt();const Sun=m.createContext(null),Cse={didCatch:!1,error:null};let kun=class extends m.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=Cse}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){const{error:e}=this.state;if(e!==null){for(var n,i,r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];(n=(i=this.props).onReset)===null||n===void 0||n.call(i,{args:s,reason:"imperative-api"}),this.setState(Cse)}}componentDidCatch(e,n){var i,r;(i=(r=this.props).onError)===null||i===void 0||i.call(r,e,n)}componentDidUpdate(e,n){const{didCatch:i}=this.state,{resetKeys:r}=this.props;var s,l;i&&n.error!==null&&(function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return c.length!==d.length||c.some(((u,p)=>!Object.is(u,d[p])))})(e.resetKeys,r)&&((s=(l=this.props).onReset)===null||s===void 0||s.call(l,{next:r,prev:e.resetKeys,reason:"keys"}),this.setState(Cse))}render(){const{children:e,fallbackRender:n,FallbackComponent:i,fallback:r}=this.props,{didCatch:s,error:l}=this.state;let c=e;if(s){const d={error:l,resetErrorBoundary:this.resetErrorBoundary};if(typeof n=="function")c=n(d);else if(i)c=m.createElement(i,d);else{if(r===void 0)throw l;c=r}}return m.createElement(Sun.Provider,{value:{didCatch:s,error:l,resetErrorBoundary:this.resetErrorBoundary}},c)}};var C$e,vse={exports:{}},Ase,jun=(C$e||(C$e=1,Ase=vse,(function(e,n){Ase.exports?Ase.exports=n():e.numeral=n()})(vse.exports,(function(){var e,n,i,r,s,l={},c={},d={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},u={currentLocale:d.currentLocale,zeroFormat:d.zeroFormat,nullFormat:d.nullFormat,defaultFormat:d.defaultFormat,scalePercentBy100:d.scalePercentBy100};function p(h,g){this._input=h,this._value=g}return e=function(h){var g,f,x,y;if(e.isNumeral(h))g=h.value();else if(h===0||typeof h>"u")g=0;else if(h===null||n.isNaN(h))g=null;else if(typeof h=="string")if(u.zeroFormat&&h===u.zeroFormat)g=0;else if(u.nullFormat&&h===u.nullFormat||!h.replace(/[^0-9]+/g,"").length)g=null;else{for(f in l)if((y=typeof l[f].regexps.unformat=="function"?l[f].regexps.unformat():l[f].regexps.unformat)&&h.match(y)){x=l[f].unformat;break}g=(x=x||e._.stringToNumber)(h)}else g=Number(h)||null;return new p(h,g)},e.version="2.0.6",e.isNumeral=function(h){return h instanceof p},e._=n={numberToFormat:function(h,g,f){var x,y,b,w,C,v,A,S,$=c[e.options.currentLocale],j=!1,E=!1,I="",D=1e12,B=1e9,F=1e6,R="",_=!1;if(h=h||0,b=Math.abs(h),e._.includes(g,"(")?(j=!0,g=g.replace(/[\(|\)]/g,"")):(e._.includes(g,"+")||e._.includes(g,"-"))&&(v=e._.includes(g,"+")?g.indexOf("+"):h<0?g.indexOf("-"):-1,g=g.replace(/[\+|\-]/g,"")),e._.includes(g,"a")&&(y=!!(y=g.match(/a(k|m|b|t)?/))&&y[1],e._.includes(g," a")&&(I=" "),g=g.replace(new RegExp(I+"a[kmbt]?"),""),b>=D&&!y||y==="t"?(I+=$.abbreviations.trillion,h/=D):b<D&&b>=B&&!y||y==="b"?(I+=$.abbreviations.billion,h/=B):b<B&&b>=F&&!y||y==="m"?(I+=$.abbreviations.million,h/=F):(b<F&&b>=1e3&&!y||y==="k")&&(I+=$.abbreviations.thousand,h/=1e3)),e._.includes(g,"[.]")&&(E=!0,g=g.replace("[.]",".")),w=h.toString().split(".")[0],C=g.split(".")[1],A=g.indexOf(","),x=(g.split(".")[0].split(",")[0].match(/0/g)||[]).length,C?(e._.includes(C,"[")?(C=(C=C.replace("]","")).split("["),R=e._.toFixed(h,C[0].length+C[1].length,f,C[1].length)):R=e._.toFixed(h,C.length,f),w=R.split(".")[0],R=e._.includes(R,".")?$.delimiters.decimal+R.split(".")[1]:"",E&&Number(R.slice(1))===0&&(R="")):w=e._.toFixed(h,0,f),I&&!y&&Number(w)>=1e3&&I!==$.abbreviations.trillion)switch(w=String(Number(w)/1e3),I){case $.abbreviations.thousand:I=$.abbreviations.million;break;case $.abbreviations.million:I=$.abbreviations.billion;break;case $.abbreviations.billion:I=$.abbreviations.trillion}if(e._.includes(w,"-")&&(w=w.slice(1),_=!0),w.length<x)for(var N=x-w.length;N>0;N--)w="0"+w;return A>-1&&(w=w.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+$.delimiters.thousands)),g.indexOf(".")===0&&(w=""),S=w+R+(I||""),j?S=(j&&_?"(":"")+S+(j&&_?")":""):v>=0?S=v===0?(_?"-":"+")+S:S+(_?"-":"+"):_&&(S="-"+S),S},stringToNumber:function(h){var g,f,x,y=c[u.currentLocale],b=h,w={thousand:3,million:6,billion:9,trillion:12};if(u.zeroFormat&&h===u.zeroFormat)f=0;else if(u.nullFormat&&h===u.nullFormat||!h.replace(/[^0-9]+/g,"").length)f=null;else{for(g in f=1,y.delimiters.decimal!=="."&&(h=h.replace(/\./g,"").replace(y.delimiters.decimal,".")),w)if(x=new RegExp("[^a-zA-Z]"+y.abbreviations[g]+"(?:\\)|(\\"+y.currency.symbol+")?(?:\\))?)?$"),b.match(x)){f*=Math.pow(10,w[g]);break}f*=(h.split("-").length+Math.min(h.split("(").length-1,h.split(")").length-1))%2?1:-1,h=h.replace(/[^0-9\.]+/g,""),f*=Number(h)}return f},isNaN:function(h){return typeof h=="number"&&isNaN(h)},includes:function(h,g){return h.indexOf(g)!==-1},insert:function(h,g,f){return h.slice(0,f)+g+h.slice(f)},reduce:function(h,g){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof g!="function")throw new TypeError(g+" is not a function");var f,x=Object(h),y=x.length>>>0,b=0;if(arguments.length===3)f=arguments[2];else{for(;b<y&&!(b in x);)b++;if(b>=y)throw new TypeError("Reduce of empty array with no initial value");f=x[b++]}for(;b<y;b++)b in x&&(f=g(f,x[b],b,x));return f},multiplier:function(h){var g=h.toString().split(".");return g.length<2?1:Math.pow(10,g[1].length)},correctionFactor:function(){return Array.prototype.slice.call(arguments).reduce((function(h,g){var f=n.multiplier(g);return h>f?h:f}),1)},toFixed:function(h,g,f,x){var y,b,w,C,v=h.toString().split("."),A=g-(x||0);return y=v.length===2?Math.min(Math.max(v[1].length,A),g):A,w=Math.pow(10,y),C=(f(h+"e+"+y)/w).toFixed(y),x>g-y&&(b=new RegExp("\\.?0{1,"+(x-(g-y))+"}$"),C=C.replace(b,"")),C}},e.options=u,e.formats=l,e.locales=c,e.locale=function(h){return h&&(u.currentLocale=h.toLowerCase()),u.currentLocale},e.localeData=function(h){if(!h)return c[u.currentLocale];if(h=h.toLowerCase(),!c[h])throw new Error("Unknown locale : "+h);return c[h]},e.reset=function(){for(var h in d)u[h]=d[h]},e.zeroFormat=function(h){u.zeroFormat=typeof h=="string"?h:null},e.nullFormat=function(h){u.nullFormat=typeof h=="string"?h:null},e.defaultFormat=function(h){u.defaultFormat=typeof h=="string"?h:"0.0"},e.register=function(h,g,f){if(g=g.toLowerCase(),this[h+"s"][g])throw new TypeError(g+" "+h+" already registered.");return this[h+"s"][g]=f,f},e.validate=function(h,g){var f,x,y,b,w,C,v,A;if(typeof h!="string"&&(h+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",h)),(h=h.trim()).match(/^\d+$/))return!0;if(h==="")return!1;try{v=e.localeData(g)}catch{v=e.localeData(e.locale())}return y=v.currency.symbol,w=v.abbreviations,f=v.delimiters.decimal,x=v.delimiters.thousands==="."?"\\.":v.delimiters.thousands,!((A=h.match(/^[^\d]+/))!==null&&(h=h.substr(1),A[0]!==y)||(A=h.match(/[^\d]+$/))!==null&&(h=h.slice(0,-1),A[0]!==w.thousand&&A[0]!==w.million&&A[0]!==w.billion&&A[0]!==w.trillion)||(C=new RegExp(x+"{2}"),h.match(/[^\d.,]/g)||(b=h.split(f)).length>2||(b.length<2?!b[0].match(/^\d+.*\d$/)||b[0].match(C):b[0].length===1?!b[0].match(/^\d+$/)||b[0].match(C)||!b[1].match(/^\d+$/):!b[0].match(/^\d+.*\d$/)||b[0].match(C)||!b[1].match(/^\d+$/))))},e.fn=p.prototype={clone:function(){return e(this)},format:function(h,g){var f,x,y,b=this._value,w=h||u.defaultFormat;if(g=g||Math.round,b===0&&u.zeroFormat!==null)x=u.zeroFormat;else if(b===null&&u.nullFormat!==null)x=u.nullFormat;else{for(f in l)if(w.match(l[f].regexps.format)){y=l[f].format;break}x=(y=y||e._.numberToFormat)(b,w,g)}return x},value:function(){return this._value},input:function(){return this._input},set:function(h){return this._value=Number(h),this},add:function(h){var g=n.correctionFactor.call(null,this._value,h);return this._value=n.reduce([this._value,h],(function(f,x,y,b){return f+Math.round(g*x)}),0)/g,this},subtract:function(h){var g=n.correctionFactor.call(null,this._value,h);return this._value=n.reduce([h],(function(f,x,y,b){return f-Math.round(g*x)}),Math.round(this._value*g))/g,this},multiply:function(h){return this._value=n.reduce([this._value,h],(function(g,f,x,y){var b=n.correctionFactor(g,f);return Math.round(g*b)*Math.round(f*b)/Math.round(b*b)}),1),this},divide:function(h){return this._value=n.reduce([this._value,h],(function(g,f,x,y){var b=n.correctionFactor(g,f);return Math.round(g*b)/Math.round(f*b)})),this},difference:function(h){return Math.abs(e(this._value).subtract(h).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(h){var g=h%10;return~~(h%100/10)==1?"th":g===1?"st":g===2?"nd":g===3?"rd":"th"},currency:{symbol:"$"}}),e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(h,g,f){var x,y=e._.includes(g," BPS")?" ":"";return h*=1e4,g=g.replace(/\s?BPS/,""),x=e._.numberToFormat(h,g,f),e._.includes(x,")")?((x=x.split("")).splice(-1,0,y+"BPS"),x=x.join("")):x=x+y+"BPS",x},unformat:function(h){return+(1e-4*e._.stringToNumber(h)).toFixed(15)}}),r={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},s="("+(s=(i={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}).suffixes.concat(r.suffixes.filter((function(h){return i.suffixes.indexOf(h)<0}))).join("|")).replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(s)},format:function(h,g,f){var x,y,b,w=e._.includes(g,"ib")?r:i,C=e._.includes(g," b")||e._.includes(g," ib")?" ":"";for(g=g.replace(/\s?i?b/,""),x=0;x<=w.suffixes.length;x++)if(y=Math.pow(w.base,x),b=Math.pow(w.base,x+1),h===null||h===0||h>=y&&h<b){C+=w.suffixes[x],y>0&&(h/=y);break}return e._.numberToFormat(h,g,f)+C},unformat:function(h){var g,f,x=e._.stringToNumber(h);if(x){for(g=i.suffixes.length-1;g>=0;g--){if(e._.includes(h,i.suffixes[g])){f=Math.pow(i.base,g);break}if(e._.includes(h,r.suffixes[g])){f=Math.pow(r.base,g);break}}x*=f||1}return x}}),e.register("format","currency",{regexps:{format:/(\$)/},format:function(h,g,f){var x,y,b,w=e.locales[e.options.currentLocale],C={before:g.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:g.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(g=g.replace(/\s?\$\s?/,""),x=e._.numberToFormat(h,g,f),h>=0?(C.before=C.before.replace(/[\-\(]/,""),C.after=C.after.replace(/[\-\)]/,"")):h<0&&!e._.includes(C.before,"-")&&!e._.includes(C.before,"(")&&(C.before="-"+C.before),b=0;b<C.before.length;b++)switch(y=C.before[b],y){case"$":x=e._.insert(x,w.currency.symbol,b);break;case" ":x=e._.insert(x," ",b+w.currency.symbol.length-1)}for(b=C.after.length-1;b>=0;b--)switch(y=C.after[b],y){case"$":x=b===C.after.length-1?x+w.currency.symbol:e._.insert(x,w.currency.symbol,-(C.after.length-(1+b)));break;case" ":x=b===C.after.length-1?x+" ":e._.insert(x," ",-(C.after.length-(1+b)+w.currency.symbol.length-1))}return x}}),e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(h,g,f){var x=(typeof h!="number"||e._.isNaN(h)?"0e+0":h.toExponential()).split("e");return g=g.replace(/e[\+|\-]{1}0/,""),e._.numberToFormat(Number(x[0]),g,f)+"e"+x[1]},unformat:function(h){var g=e._.includes(h,"e+")?h.split("e+"):h.split("e-"),f=Number(g[0]),x=Number(g[1]);return x=e._.includes(h,"e-")?x*=-1:x,e._.reduce([f,Math.pow(10,x)],(function(y,b,w,C){var v=e._.correctionFactor(y,b);return y*v*(b*v)/(v*v)}),1)}}),e.register("format","ordinal",{regexps:{format:/(o)/},format:function(h,g,f){var x=e.locales[e.options.currentLocale],y=e._.includes(g," o")?" ":"";return g=g.replace(/\s?o/,""),y+=x.ordinal(h),e._.numberToFormat(h,g,f)+y}}),e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(h,g,f){var x,y=e._.includes(g," %")?" ":"";return e.options.scalePercentBy100&&(h*=100),g=g.replace(/\s?\%/,""),x=e._.numberToFormat(h,g,f),e._.includes(x,")")?((x=x.split("")).splice(-1,0,y+"%"),x=x.join("")):x=x+y+"%",x},unformat:function(h){var g=e._.stringToNumber(h);return e.options.scalePercentBy100?.01*g:g}}),e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(h,g,f){var x=Math.floor(h/60/60),y=Math.floor((h-60*x*60)/60),b=Math.round(h-60*x*60-60*y);return x+":"+(y<10?"0"+y:y)+":"+(b<10?"0"+b:b)},unformat:function(h){var g=h.split(":"),f=0;return g.length===3?(f+=60*Number(g[0])*60,f+=60*Number(g[1]),f+=Number(g[2])):g.length===2&&(f+=60*Number(g[0]),f+=Number(g[1])),Number(f)}}),e}))),vse.exports);const Rf=fr(jun);function M7(e,...n){const i=new URL(`https://mui.com/production-error/?code=${e}`);return n.forEach((r=>i.searchParams.append("args[]",r))),`Minified MUI error #${e}; visit ${i} for the full message.`}const k7="$$material";var $un={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 Eun(e){var n=Object.create(null);return function(i){return n[i]===void 0&&(n[i]=e(i)),n[i]}}var Iun=/[A-Z]|^ms/g,Dun=/_EMO_([^_]+?)_([^]*?)_EMO_/g,QSt=function(e){return e.charCodeAt(1)===45},v$e=function(e){return e!=null&&typeof e!="boolean"},Sse=Eun((function(e){return QSt(e)?e:e.replace(Iun,"-$&").toLowerCase()})),A$e=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(Dun,(function(i,r,s){return D9={name:r,styles:s,next:D9},r}))}return $un[e]===1||QSt(e)||typeof n!="number"||n===0?n:n+"px"};function KZ(e,n,i){if(i==null)return"";var r=i;if(r.__emotion_styles!==void 0)return r;switch(typeof i){case"boolean":return"";case"object":var s=i;if(s.anim===1)return D9={name:s.name,styles:s.styles,next:D9},s.name;var l=i;if(l.styles!==void 0){var c=l.next;if(c!==void 0)for(;c!==void 0;)D9={name:c.name,styles:c.styles,next:D9},c=c.next;return l.styles+";"}return(function(d,u,p){var h="";if(Array.isArray(p))for(var g=0;g<p.length;g++)h+=KZ(d,u,p[g])+";";else for(var f in p){var x=p[f];if(typeof x!="object"){var y=x;v$e(y)&&(h+=Sse(f)+":"+A$e(f,y)+";")}else if(Array.isArray(x)&&typeof x[0]=="string"&&u==null)for(var b=0;b<x.length;b++)v$e(x[b])&&(h+=Sse(f)+":"+A$e(f,x[b])+";");else{var w=KZ(d,u,x);switch(f){case"animation":case"animationName":h+=Sse(f)+":"+w+";";break;default:h+=f+"{"+w+"}"}}}return h})(e,n,i)}return i}var D9,S$e=/label:\s*([^\s;{]+)\s*(;|$)/g,k$e,j$e,$$e,E$e,I$e,D$e={exports:{}};function Tun(){return j$e?k$e:(j$e=1,k$e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}function Lun(){if(E$e)return $$e;E$e=1;var e=Tun();function n(){}function i(){}return i.resetWarningCache=n,$$e=function(){function r(c,d,u,p,h,g){if(g!==e){var f=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 f.name="Invariant Violation",f}}function s(){return r}r.isRequired=r;var l={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:s,element:r,elementType:r,instanceOf:s,node:r,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:i,resetWarningCache:n};return l.PropTypes=l,l}}function ewe(){return I$e||(I$e=1,D$e.exports=Lun()()),D$e.exports}const _n=fr(ewe());var Bun=(function(){function e(i){var r=this;this._insertTag=function(s){var l;l=r.tags.length===0?r.insertionPoint?r.insertionPoint.nextSibling:r.prepend?r.container.firstChild:r.before:r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(s,l),r.tags.push(s)},this.isSpeedy=i.speedy===void 0||i.speedy,this.tags=[],this.ctr=0,this.nonce=i.nonce,this.key=i.key,this.container=i.container,this.prepend=i.prepend,this.insertionPoint=i.insertionPoint,this.before=null}var n=e.prototype;return n.hydrate=function(i){i.forEach(this._insertTag)},n.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag((function(l){var c=document.createElement("style");return c.setAttribute("data-emotion",l.key),l.nonce!==void 0&&c.setAttribute("nonce",l.nonce),c.appendChild(document.createTextNode("")),c.setAttribute("data-s",""),c})(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var s=(function(l){if(l.sheet)return l.sheet;for(var c=0;c<document.styleSheets.length;c++)if(document.styleSheets[c].ownerNode===l)return document.styleSheets[c]})(r);try{s.insertRule(i,s.cssRules.length)}catch{}}else r.appendChild(document.createTextNode(i));this.ctr++},n.flush=function(){this.tags.forEach((function(i){var r;return(r=i.parentNode)==null?void 0:r.removeChild(i)})),this.tags=[],this.ctr=0},e})(),$1="-ms-",T$e="-moz-",Ja="-webkit-",YSt="comm",twe="rule",nwe="decl",GSt="@keyframes",Pun=Math.abs,gne=String.fromCharCode,Mun=Object.assign;function qSt(e){return e.trim()}function es(e,n,i){return e.replace(n,i)}function Q5e(e,n){return e.indexOf(n)}function Gu(e,n){return 0|e.charCodeAt(n)}function $z(e,n,i){return e.slice(n,i)}function p5(e){return e.length}function iwe(e){return e.length}function UV(e,n){return n.push(e),e}var fne=1,dT=1,KSt=0,ym=0,Xc=0,gL="";function xne(e,n,i,r,s,l,c){return{value:e,root:n,parent:i,type:r,props:s,children:l,line:fne,column:dT,length:c,return:""}}function bB(e,n){return Mun(xne("",null,null,"",null,null,0),e,{length:-e.length},n)}function A0(){return Xc=ym<KSt?Gu(gL,ym++):0,dT++,Xc===10&&(dT=1,fne++),Xc}function X5(){return Gu(gL,ym)}function lK(){return ym}function qN(e,n){return $z(gL,e,n)}function Ez(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 ZSt(e){return fne=dT=1,KSt=p5(gL=e),ym=0,[]}function JSt(e){return gL="",e}function cK(e){return qSt(qN(ym-1,Y5e(e===91?e+2:e===40?e+1:e)))}function Oun(e){for(;(Xc=X5())&&Xc<33;)A0();return Ez(e)>2||Ez(Xc)>3?"":" "}function Fun(e,n){for(;--n&&A0()&&!(Xc<48||Xc>102||Xc>57&&Xc<65||Xc>70&&Xc<97););return qN(e,lK()+(n<6&&X5()==32&&A0()==32))}function Y5e(e){for(;A0();)switch(Xc){case e:return ym;case 34:case 39:e!==34&&e!==39&&Y5e(Xc);break;case 40:e===41&&Y5e(e);break;case 92:A0()}return ym}function Run(e,n){for(;A0()&&e+Xc!==57&&(e+Xc!==84||X5()!==47););return"/*"+qN(n,ym-1)+"*"+gne(e===47?e:A0())}function zun(e){for(;!Ez(X5());)A0();return qN(e,ym)}function Nun(e){return JSt(dK("",null,null,null,[""],e=ZSt(e),0,[0],e))}function dK(e,n,i,r,s,l,c,d,u){for(var p=0,h=0,g=c,f=0,x=0,y=0,b=1,w=1,C=1,v=0,A="",S=s,$=l,j=r,E=A;w;)switch(y=v,v=A0()){case 40:if(y!=108&&Gu(E,g-1)==58){Q5e(E+=es(cK(v),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:E+=cK(v);break;case 9:case 10:case 13:case 32:E+=Oun(y);break;case 92:E+=Fun(lK()-1,7);continue;case 47:switch(X5()){case 42:case 47:UV(_un(Run(A0(),lK()),n,i),u);break;default:E+="/"}break;case 123*b:d[p++]=p5(E)*C;case 125*b:case 59:case 0:switch(v){case 0:case 125:w=0;case 59+h:C==-1&&(E=es(E,/\f/g,"")),x>0&&p5(E)-g&&UV(x>32?B$e(E+";",r,i,g-1):B$e(es(E," ","")+";",r,i,g-2),u);break;case 59:E+=";";default:if(UV(j=L$e(E,n,i,p,h,s,d,A,S=[],$=[],g),l),v===123)if(h===0)dK(E,n,j,j,S,l,g,d,$);else switch(f===99&&Gu(E,3)===110?100:f){case 100:case 108:case 109:case 115:dK(e,j,j,r&&UV(L$e(e,j,j,0,0,s,d,A,s,S=[],g),$),s,$,g,d,r?S:$);break;default:dK(E,j,j,j,[""],$,0,d,$)}}p=h=x=0,b=C=1,A=E="",g=c;break;case 58:g=1+p5(E),x=y;default:if(b<1){if(v==123)--b;else if(v==125&&b++==0&&(Xc=ym>0?Gu(gL,--ym):0,dT--,Xc===10&&(dT=1,fne--),Xc==125))continue}switch(E+=gne(v),v*b){case 38:C=h>0?1:(E+="\f",-1);break;case 44:d[p++]=(p5(E)-1)*C,C=1;break;case 64:X5()===45&&(E+=cK(A0())),f=X5(),h=g=p5(A=E+=zun(lK())),v++;break;case 45:y===45&&p5(E)==2&&(b=0)}}return l}function L$e(e,n,i,r,s,l,c,d,u,p,h){for(var g=s-1,f=s===0?l:[""],x=iwe(f),y=0,b=0,w=0;y<r;++y)for(var C=0,v=$z(e,g+1,g=Pun(b=c[y])),A=e;C<x;++C)(A=qSt(b>0?f[C]+" "+v:es(v,/&\f/g,f[C])))&&(u[w++]=A);return xne(e,n,i,s===0?twe:d,u,p,h)}function _un(e,n,i){return xne(e,n,i,YSt,gne(Xc),$z(e,2,-2),0)}function B$e(e,n,i,r){return xne(e,n,i,nwe,$z(e,0,r),$z(e,r+1,-1),r)}function wD(e,n){for(var i="",r=iwe(e),s=0;s<r;s++)i+=n(e[s],s,e,n)||"";return i}function Vun(e,n,i,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case nwe:return e.return=e.return||e.value;case YSt:return"";case GSt:return e.return=e.value+"{"+wD(e.children,r)+"}";case twe:e.value=e.props.join(",")}return p5(i=wD(e.children,r))?e.return=e.value+"{"+i+"}":""}function Hun(e){return function(n){n.root||(n=n.return)&&e(n)}}var Uun=function(e,n,i){for(var r=0,s=0;r=s,s=X5(),r===38&&s===12&&(n[i]=1),!Ez(s);)A0();return qN(e,ym)},Wun=function(e,n){return JSt((function(i,r){var s=-1,l=44;do switch(Ez(l)){case 0:l===38&&X5()===12&&(r[s]=1),i[s]+=Uun(ym-1,r,s);break;case 2:i[s]+=cK(l);break;case 4:if(l===44){i[++s]=X5()===58?"&\f":"",r[s]=i[s].length;break}default:i[s]+=gne(l)}while(l=A0());return i})(ZSt(e),n))},P$e=new WeakMap,Qun=function(e){if(e.type==="rule"&&e.parent&&!(e.length<1)){for(var n=e.value,i=e.parent,r=e.column===i.column&&e.line===i.line;i.type!=="rule";)if(!(i=i.parent))return;if((e.props.length!==1||n.charCodeAt(0)===58||P$e.get(i))&&!r){P$e.set(e,!0);for(var s=[],l=Wun(n,s),c=i.props,d=0,u=0;d<l.length;d++)for(var p=0;p<c.length;p++,u++)e.props[u]=s[d]?l[d].replace(/&\f/g,c[p]):c[p]+" "+l[d]}}},Yun=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}};function XSt(e,n){switch((function(i,r){return 45^Gu(i,0)?(((r<<2^Gu(i,0))<<2^Gu(i,1))<<2^Gu(i,2))<<2^Gu(i,3):0})(e,n)){case 5103:return Ja+"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 Ja+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ja+e+T$e+e+$1+e+e;case 6828:case 4268:return Ja+e+$1+e+e;case 6165:return Ja+e+$1+"flex-"+e+e;case 5187:return Ja+e+es(e,/(\w+).+(:[^]+)/,Ja+"box-$1$2"+$1+"flex-$1$2")+e;case 5443:return Ja+e+$1+"flex-item-"+es(e,/flex-|-self/,"")+e;case 4675:return Ja+e+$1+"flex-line-pack"+es(e,/align-content|flex-|-self/,"")+e;case 5548:return Ja+e+$1+es(e,"shrink","negative")+e;case 5292:return Ja+e+$1+es(e,"basis","preferred-size")+e;case 6060:return Ja+"box-"+es(e,"-grow","")+Ja+e+$1+es(e,"grow","positive")+e;case 4554:return Ja+es(e,/([^-])(transform)/g,"$1"+Ja+"$2")+e;case 6187:return es(es(es(e,/(zoom-|grab)/,Ja+"$1"),/(image-set)/,Ja+"$1"),e,"")+e;case 5495:case 3959:return es(e,/(image-set\([^]*)/,Ja+"$1$`$1");case 4968:return es(es(e,/(.+:)(flex-)?(.*)/,Ja+"box-pack:$3"+$1+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ja+e+e;case 4095:case 3583:case 4068:case 2532:return es(e,/(.+)-inline(.+)/,Ja+"$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(p5(e)-1-n>6)switch(Gu(e,n+1)){case 109:if(Gu(e,n+4)!==45)break;case 102:return es(e,/(.+:)(.+)-([^]+)/,"$1"+Ja+"$2-$3$1"+T$e+(Gu(e,n+3)==108?"$3":"$2-$3"))+e;case 115:return~Q5e(e,"stretch")?XSt(es(e,"stretch","fill-available"),n)+e:e}break;case 4949:if(Gu(e,n+1)!==115)break;case 6444:switch(Gu(e,p5(e)-3-(~Q5e(e,"!important")&&10))){case 107:return es(e,":",":"+Ja)+e;case 101:return es(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ja+(Gu(e,14)===45?"inline-":"")+"box$3$1"+Ja+"$2$3$1"+$1+"$2box$3")+e}break;case 5936:switch(Gu(e,n+11)){case 114:return Ja+e+$1+es(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ja+e+$1+es(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ja+e+$1+es(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ja+e+$1+e+e}return e}var Gun=[function(e,n,i,r){if(e.length>-1&&!e.return)switch(e.type){case nwe:e.return=XSt(e.value,e.length);break;case GSt:return wD([bB(e,{value:es(e.value,"@","@"+Ja)})],r);case twe:if(e.length)return(function(s,l){return s.map(l).join("")})(e.props,(function(s){switch((function(l,c){return(l=c.exec(l))?l[0]:l})(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return wD([bB(e,{props:[es(s,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return wD([bB(e,{props:[es(s,/:(plac\w+)/,":"+Ja+"input-$1")]}),bB(e,{props:[es(s,/:(plac\w+)/,":-moz-$1")]}),bB(e,{props:[es(s,/:(plac\w+)/,$1+"input-$1")]})],r)}return""}))}}],ekt=function(e){var n=e.key;if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,(function(x){x.getAttribute("data-emotion").indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))}))}var r,s=e.stylisPlugins||Gun,l={},c=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),(function(x){for(var y=x.getAttribute("data-emotion").split(" "),b=1;b<y.length;b++)l[y[b]]=!0;c.push(x)}));var d,u,p=[Qun,Yun],h=[Vun,Hun((function(x){u.insert(x)}))],g=(function(x){var y=iwe(x);return function(b,w,C,v){for(var A="",S=0;S<y;S++)A+=x[S](b,w,C,v)||"";return A}})(p.concat(s,h));d=function(x,y,b,w){u=b,(function(C){wD(Nun(C),g)})(x?x+"{"+y.styles+"}":y.styles),w&&(f.inserted[y.name]=!0)};var f={key:n,sheet:new Bun({key:n,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:l,registered:{},insert:d};return f.sheet.hydrate(c),f};function tkt(e){const{styles:n,defaultTheme:i={}}=e,r=typeof n=="function"?s=>n((function(l){return l==null||Object.keys(l).length===0})(s)?i:s):n;return t.jsx(GN,{styles:r})}const M$e=[];function Y9(e){return M$e[0]=e,(function(n,i,r){if(n.length===1&&typeof n[0]=="object"&&n[0]!==null&&n[0].styles!==void 0)return n[0];var s=!0,l="";D9=void 0;var c=n[0];c==null||c.raw===void 0?(s=!1,l+=KZ(r,i,c)):l+=c[0];for(var d=1;d<n.length;d++)l+=KZ(r,i,n[d]),s&&(l+=c[d]);S$e.lastIndex=0;for(var u,p="";(u=S$e.exec(l))!==null;)p+="-"+u[1];var h=(function(g){for(var f,x=0,y=0,b=g.length;b>=4;++y,b-=4)f=1540483477*(65535&(f=255&g.charCodeAt(y)|(255&g.charCodeAt(++y))<<8|(255&g.charCodeAt(++y))<<16|(255&g.charCodeAt(++y))<<24))+(59797*(f>>>16)<<16),x=1540483477*(65535&(f^=f>>>24))+(59797*(f>>>16)<<16)^1540483477*(65535&x)+(59797*(x>>>16)<<16);switch(b){case 3:x^=(255&g.charCodeAt(y+2))<<16;case 2:x^=(255&g.charCodeAt(y+1))<<8;case 1:x=1540483477*(65535&(x^=255&g.charCodeAt(y)))+(59797*(x>>>16)<<16)}return(((x=1540483477*(65535&(x^=x>>>13))+(59797*(x>>>16)<<16))^x>>>15)>>>0).toString(36)})(l)+p;return{name:h,styles:l,next:D9}})(M$e)}var O$e,F$e,R$e={exports:{}},Ds={};function qun(){if(O$e)return Ds;O$e=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),f=Symbol.for("react.view_transition"),x=Symbol.for("react.client.reference");function y(b){if(typeof b=="object"&&b!==null){var w=b.$$typeof;switch(w){case e:switch(b=b.type){case i:case s:case r:case u:case p:case f:return b;default:switch(b=b&&b.$$typeof){case c:case d:case g:case h:case l:return b;default:return w}}case n:return w}}}return Ds.ContextConsumer=l,Ds.ContextProvider=c,Ds.Element=e,Ds.ForwardRef=d,Ds.Fragment=i,Ds.Lazy=g,Ds.Memo=h,Ds.Portal=n,Ds.Profiler=s,Ds.StrictMode=r,Ds.Suspense=u,Ds.SuspenseList=p,Ds.isContextConsumer=function(b){return y(b)===l},Ds.isContextProvider=function(b){return y(b)===c},Ds.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},Ds.isForwardRef=function(b){return y(b)===d},Ds.isFragment=function(b){return y(b)===i},Ds.isLazy=function(b){return y(b)===g},Ds.isMemo=function(b){return y(b)===h},Ds.isPortal=function(b){return y(b)===n},Ds.isProfiler=function(b){return y(b)===s},Ds.isStrictMode=function(b){return y(b)===r},Ds.isSuspense=function(b){return y(b)===u},Ds.isSuspenseList=function(b){return y(b)===p},Ds.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===i||b===s||b===r||b===u||b===p||typeof b=="object"&&b!==null&&(b.$$typeof===g||b.$$typeof===h||b.$$typeof===c||b.$$typeof===l||b.$$typeof===d||b.$$typeof===x||b.getModuleId!==void 0)},Ds.typeOf=y,Ds}function Kun(){return F$e||(F$e=1,R$e.exports=qun()),R$e.exports}var nkt=Kun();function Xy(e){if(typeof e!="object"||e===null)return!1;const n=Object.getPrototypeOf(e);return!(n!==null&&n!==Object.prototype&&Object.getPrototypeOf(n)!==null||Symbol.toStringTag in e||Symbol.iterator in e)}function ikt(e){if(m.isValidElement(e)||nkt.isValidElementType(e)||!Xy(e))return e;const n={};return Object.keys(e).forEach((i=>{n[i]=ikt(e[i])})),n}function Y1(e,n,i={clone:!0}){const r=i.clone?{...e}:e;return Xy(e)&&Xy(n)&&Object.keys(n).forEach((s=>{m.isValidElement(n[s])||nkt.isValidElementType(n[s])?r[s]=n[s]:Xy(n[s])&&Object.prototype.hasOwnProperty.call(e,s)&&Xy(e[s])?r[s]=Y1(e[s],n[s],i):i.clone?r[s]=Xy(n[s])?ikt(n[s]):n[s]:r[s]=n[s]})),r}function Zun(e){const{values:n={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:i="px",step:r=5,...s}=e,l=(h=>{const g=Object.keys(h).map((f=>({key:f,val:h[f]})))||[];return g.sort(((f,x)=>f.val-x.val)),g.reduce(((f,x)=>({...f,[x.key]:x.val})),{})})(n),c=Object.keys(l);function d(h){return`@media (min-width:${typeof n[h]=="number"?n[h]:h}${i})`}function u(h){return`@media (max-width:${(typeof n[h]=="number"?n[h]:h)-r/100}${i})`}function p(h,g){const f=c.indexOf(g);return`@media (min-width:${typeof n[h]=="number"?n[h]:h}${i}) and (max-width:${(f!==-1&&typeof n[c[f]]=="number"?n[c[f]]:g)-r/100}${i})`}return{keys:c,values:l,up:d,down:u,between:p,only:function(h){return c.indexOf(h)+1<c.length?p(h,c[c.indexOf(h)+1]):d(h)},not:function(h){const g=c.indexOf(h);return g===0?d(c[1]):g===c.length-1?u(c[g]):p(h,c[c.indexOf(h)+1]).replace("@media","@media not all and")},unit:i,...s}}function z$e(e,n){if(!e.containerQueries)return n;const i=Object.keys(n).filter((r=>r.startsWith("@container"))).sort(((r,s)=>{const l=/min-width:\s*([0-9.]+)/;return+(r.match(l)?.[1]||0)-+(s.match(l)?.[1]||0)}));return i.length?i.reduce(((r,s)=>{const l=n[s];return delete r[s],r[s]=l,r}),{...n}):n}const Jun={borderRadius:4};function rR(e,n){return n?Y1(e,n,{clone:!1}):e}const yne={xs:0,sm:600,md:900,lg:1200,xl:1536},N$e={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${yne[e]}px)`},Xun={containerQueries:e=>({up:n=>{let i=typeof n=="number"?n:yne[n]||n;return typeof i=="number"&&(i=`${i}px`),e?`@container ${e} (min-width:${i})`:`@container (min-width:${i})`}})};function O7(e,n,i){const r=e.theme||{};if(Array.isArray(n)){const s=r.breakpoints||N$e;return n.reduce(((l,c,d)=>(l[s.up(s.keys[d])]=i(n[d]),l)),{})}if(typeof n=="object"){const s=r.breakpoints||N$e;return Object.keys(n).reduce(((l,c)=>{if((function(d,u){return u==="@"||u.startsWith("@")&&(d.some((p=>u.startsWith(`@${p}`)))||!!u.match(/^@\d/))})(s.keys,c)){const d=(function(u,p){const h=p.match(/^@([^/]+)?\/?(.+)?$/);if(!h)return null;const[,g,f]=h,x=Number.isNaN(+g)?g||0:+g;return u.containerQueries(f).up(x)})(r.containerQueries?r:Xun,c);d&&(l[d]=i(n[c],c))}else if(Object.keys(s.values||yne).includes(c))l[s.up(c)]=i(n[c],c);else{const d=c;l[d]=n[d]}return l}),{})}return i(n)}function _$e(e,n){return e.reduce(((i,r)=>{const s=i[r];return(!s||Object.keys(s).length===0)&&delete i[r],i}),n)}function tr(e){if(typeof e!="string")throw new Error(M7(7));return e.charAt(0).toUpperCase()+e.slice(1)}function bne(e,n,i=!0){if(!n||typeof n!="string")return null;if(e&&e.vars&&i){const r=`vars.${n}`.split(".").reduce(((s,l)=>s&&s[l]?s[l]:null),e);if(r!=null)return r}return n.split(".").reduce(((r,s)=>r&&r[s]!=null?r[s]:null),e)}function ZZ(e,n,i,r=i){let s;return s=typeof e=="function"?e(i):Array.isArray(e)?e[i]||r:bne(e,i)||r,n&&(s=n(s,r,e)),s}function Bc(e){const{prop:n,cssProperty:i=e.prop,themeKey:r,transform:s}=e,l=c=>{if(c[n]==null)return null;const d=c[n],u=bne(c.theme,r)||{};return O7(c,d,(p=>{let h=ZZ(u,s,p);return p===h&&typeof p=="string"&&(h=ZZ(u,s,`${n}${p==="default"?"":tr(p)}`,p)),i===!1?h:{[i]:h}}))};return l.propTypes={},l.filterProps=[n],l}const e1n={m:"margin",p:"padding"},t1n={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},V$e={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},n1n=(function(e){const n={};return i=>(n[i]===void 0&&(n[i]=e(i)),n[i])})((e=>{if(e.length>2){if(!V$e[e])return[e];e=V$e[e]}const[n,i]=e.split(""),r=e1n[n],s=t1n[i]||"";return Array.isArray(s)?s.map((l=>r+l)):[r+s]})),okt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],rkt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function KN(e,n,i,r){const s=bne(e,n,!0)??i;return typeof s=="number"||typeof s=="string"?l=>typeof l=="string"?l:typeof s=="string"?s.startsWith("var(")&&l===0?0:s.startsWith("var(")&&l===1?s:`calc(${l} * ${s})`:s*l:Array.isArray(s)?l=>{if(typeof l=="string")return l;const c=Math.abs(l),d=s[c];return l>=0?d:typeof d=="number"?-d:typeof d=="string"&&d.startsWith("var(")?`calc(-1 * ${d})`:`-${d}`}:typeof s=="function"?s:()=>{}}function owe(e){return KN(e,"spacing",8)}function ZN(e,n){return typeof n=="string"||n==null?n:e(n)}function i1n(e,n,i,r){if(!n.includes(i))return null;const s=(function(l,c){return d=>l.reduce(((u,p)=>(u[p]=ZN(c,d),u)),{})})(n1n(i),r);return O7(e,e[i],s)}function akt(e,n){const i=owe(e.theme);return Object.keys(e).map((r=>i1n(e,n,r,i))).reduce(rR,{})}function rc(e){return akt(e,okt)}function ac(e){return akt(e,rkt)}function skt(e=8,n=owe({spacing:e})){if(e.mui)return e;const i=(...r)=>(r.length===0?[1]:r).map((s=>{const l=n(s);return typeof l=="number"?`${l}px`:l})).join(" ");return i.mui=!0,i}function wne(...e){const n=e.reduce(((r,s)=>(s.filterProps.forEach((l=>{r[l]=s})),r)),{}),i=r=>Object.keys(r).reduce(((s,l)=>n[l]?rR(s,n[l](r)):s),{});return i.propTypes={},i.filterProps=e.reduce(((r,s)=>r.concat(s.filterProps)),[]),i}function Mg(e){return typeof e!="number"?e:`${e}px solid`}function x2(e,n){return Bc({prop:e,themeKey:"borders",transform:n})}rc.propTypes={},rc.filterProps=okt,ac.propTypes={},ac.filterProps=rkt;const o1n=x2("border",Mg),r1n=x2("borderTop",Mg),a1n=x2("borderRight",Mg),s1n=x2("borderBottom",Mg),l1n=x2("borderLeft",Mg),c1n=x2("borderColor"),d1n=x2("borderTopColor"),u1n=x2("borderRightColor"),p1n=x2("borderBottomColor"),h1n=x2("borderLeftColor"),m1n=x2("outline",Mg),g1n=x2("outlineColor"),uK=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const n=KN(e.theme,"shape.borderRadius",4),i=r=>({borderRadius:ZN(n,r)});return O7(e,e.borderRadius,i)}return null};uK.propTypes={},uK.filterProps=["borderRadius"],wne(o1n,r1n,a1n,s1n,l1n,c1n,d1n,u1n,p1n,h1n,uK,m1n,g1n);const JZ=e=>{if(e.gap!==void 0&&e.gap!==null){const n=KN(e.theme,"spacing",8),i=r=>({gap:ZN(n,r)});return O7(e,e.gap,i)}return null};JZ.propTypes={},JZ.filterProps=["gap"];const XZ=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const n=KN(e.theme,"spacing",8),i=r=>({columnGap:ZN(n,r)});return O7(e,e.columnGap,i)}return null};XZ.propTypes={},XZ.filterProps=["columnGap"];const eJ=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const n=KN(e.theme,"spacing",8),i=r=>({rowGap:ZN(n,r)});return O7(e,e.rowGap,i)}return null};eJ.propTypes={},eJ.filterProps=["rowGap"];function CD(e,n){return n==="grey"?n:e}wne(JZ,XZ,eJ,Bc({prop:"gridColumn"}),Bc({prop:"gridRow"}),Bc({prop:"gridAutoFlow"}),Bc({prop:"gridAutoColumns"}),Bc({prop:"gridAutoRows"}),Bc({prop:"gridTemplateColumns"}),Bc({prop:"gridTemplateRows"}),Bc({prop:"gridTemplateAreas"}),Bc({prop:"gridArea"}));function u0(e){return e<=1&&e!==0?100*e+"%":e}wne(Bc({prop:"color",themeKey:"palette",transform:CD}),Bc({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:CD}),Bc({prop:"backgroundColor",themeKey:"palette",transform:CD}));const f1n=Bc({prop:"width",transform:u0}),rwe=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const n=i=>{const r=e.theme?.breakpoints?.values?.[i]||yne[i];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:u0(i)}};return O7(e,e.maxWidth,n)}return null};rwe.filterProps=["maxWidth"];const x1n=Bc({prop:"minWidth",transform:u0}),y1n=Bc({prop:"height",transform:u0}),b1n=Bc({prop:"maxHeight",transform:u0}),w1n=Bc({prop:"minHeight",transform:u0});Bc({prop:"size",cssProperty:"width",transform:u0}),Bc({prop:"size",cssProperty:"height",transform:u0});wne(f1n,rwe,x1n,y1n,b1n,w1n,Bc({prop:"boxSizing"}));const Cne={border:{themeKey:"borders",transform:Mg},borderTop:{themeKey:"borders",transform:Mg},borderRight:{themeKey:"borders",transform:Mg},borderBottom:{themeKey:"borders",transform:Mg},borderLeft:{themeKey:"borders",transform:Mg},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Mg},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:uK},color:{themeKey:"palette",transform:CD},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:CD},backgroundColor:{themeKey:"palette",transform:CD},p:{style:ac},pt:{style:ac},pr:{style:ac},pb:{style:ac},pl:{style:ac},px:{style:ac},py:{style:ac},padding:{style:ac},paddingTop:{style:ac},paddingRight:{style:ac},paddingBottom:{style:ac},paddingLeft:{style:ac},paddingX:{style:ac},paddingY:{style:ac},paddingInline:{style:ac},paddingInlineStart:{style:ac},paddingInlineEnd:{style:ac},paddingBlock:{style:ac},paddingBlockStart:{style:ac},paddingBlockEnd:{style:ac},m:{style:rc},mt:{style:rc},mr:{style:rc},mb:{style:rc},ml:{style:rc},mx:{style:rc},my:{style:rc},margin:{style:rc},marginTop:{style:rc},marginRight:{style:rc},marginBottom:{style:rc},marginLeft:{style:rc},marginX:{style:rc},marginY:{style:rc},marginInline:{style:rc},marginInlineStart:{style:rc},marginInlineEnd:{style:rc},marginBlock:{style:rc},marginBlockStart:{style:rc},marginBlockEnd:{style:rc},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:JZ},rowGap:{style:eJ},columnGap:{style:XZ},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:u0},maxWidth:{style:rwe},minWidth:{transform:u0},height:{transform:u0},maxHeight:{transform:u0},minHeight:{transform:u0},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"}},IS=(function(){function e(n,i,r,s){const l={[n]:i,theme:r},c=s[n];if(!c)return{[n]:i};const{cssProperty:d=n,themeKey:u,transform:p,style:h}=c;if(i==null)return null;if(u==="typography"&&i==="inherit")return{[n]:i};const g=bne(r,u)||{};return h?h(l):O7(l,i,(f=>{let x=ZZ(g,p,f);return f===x&&typeof f=="string"&&(x=ZZ(g,p,`${n}${f==="default"?"":tr(f)}`,f)),d===!1?x:{[d]:x}}))}return function n(i){const{sx:r,theme:s={},nested:l}=i||{};if(!r)return null;const c=s.unstable_sxConfig??Cne;function d(u){let p=u;if(typeof u=="function")p=u(s);else if(typeof u!="object")return u;if(!p)return null;const h=(function(x={}){return x.keys?.reduce(((y,b)=>(y[x.up(b)]={},y)),{})||{}})(s.breakpoints),g=Object.keys(h);let f=h;return Object.keys(p).forEach((x=>{const y=(function(b,w){return typeof b=="function"?b(w):b})(p[x],s);if(y!=null)if(typeof y=="object")if(c[x])f=rR(f,e(x,y,s,c));else{const b=O7({theme:s},y,(w=>({[x]:w})));(function(...w){const C=w.reduce(((A,S)=>A.concat(Object.keys(S))),[]),v=new Set(C);return w.every((A=>v.size===Object.keys(A).length))})(b,y)?f[x]=n({sx:y,theme:s,nested:!0}):f=rR(f,b)}else f=rR(f,e(x,y,s,c))})),!l&&s.modularCssLayers?{"@layer sx":z$e(s,_$e(g,f))}:z$e(s,_$e(g,f))}return Array.isArray(r)?r.map(d):d(r)}})();function C1n(e,n){const i=this;if(i.vars){if(!i.colorSchemes?.[e]||typeof i.getColorSchemeSelector!="function")return{};let r=i.getColorSchemeSelector(e);return r==="&"?n:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:n})}return i.palette.mode===e?n:{}}function awe(e={},...n){const{breakpoints:i={},palette:r={},spacing:s,shape:l={},...c}=e;let d=Y1({breakpoints:Zun(i),direction:"ltr",components:{},palette:{mode:"light",...r},spacing:skt(s),shape:{...Jun,...l}},c);return d=(function(u){const p=(x,y)=>x.replace("@media",y?`@container ${y}`:"@container");function h(x,y){x.up=(...b)=>p(u.breakpoints.up(...b),y),x.down=(...b)=>p(u.breakpoints.down(...b),y),x.between=(...b)=>p(u.breakpoints.between(...b),y),x.only=(...b)=>p(u.breakpoints.only(...b),y),x.not=(...b)=>{const w=p(u.breakpoints.not(...b),y);return w.includes("not all and")?w.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):w}}const g={},f=x=>(h(g,x),g);return h(f),{...u,containerQueries:f}})(d),d.applyStyles=C1n,d=n.reduce(((u,p)=>Y1(u,p)),d),d.unstable_sxConfig={...Cne,...c?.unstable_sxConfig},d.unstable_sx=function(u){return IS({sx:u,theme:this})},d}function G5e(e=null){const n=m.useContext(RSt);return!n||(function(i){return Object.keys(i).length===0})(n)?e:n}IS.filterProps=["sx"];const v1n=awe();function lkt(e=v1n){return G5e(e)}function H$e(e){const n=Y9(e);return e!==n&&n.styles?(n.styles.match(/^@layer\s+[^{]*$/)||(n.styles=`@layer global{${n.styles}}`),n):e}function ckt({styles:e,themeId:n,defaultTheme:i={}}){const r=lkt(i),s=n&&r[n]||r;let l=typeof e=="function"?e(s):e;return s.modularCssLayers&&(l=Array.isArray(l)?l.map((c=>H$e(typeof c=="function"?c(s):c))):H$e(l)),t.jsx(tkt,{styles:l})}const U$e=e=>e,A1n=(()=>{let e=U$e;return{configure(n){e=n},generate:n=>e(n),reset(){e=U$e}}})();function dkt(e){var n,i,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(n=0;n<s;n++)e[n]&&(i=dkt(e[n]))&&(r&&(r+=" "),r+=i)}else for(i in e)e[i]&&(r&&(r+=" "),r+=i);return r}function ir(){for(var e,n,i=0,r="",s=arguments.length;i<s;i++)(e=arguments[i])&&(n=dkt(e))&&(r&&(r+=" "),r+=n);return r}const S1n={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 ns(e,n,i="Mui"){const r=S1n[n];return r?`${i}-${r}`:`${A1n.generate(e)}-${n}`}function La(e,n,i="Mui"){const r={};return n.forEach((s=>{r[s]=ns(e,s,i)})),r}function ukt(e){const{variants:n,...i}=e,r={variants:n,style:Y9(i),isProcessed:!0};return r.style===i||n&&n.forEach((s=>{typeof s.style!="function"&&(s.style=Y9(s.style))})),r}const k1n=awe();function kse(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function yA(e,n){return n&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${n}{${String(e.styles)}}`),e}function j1n(e){return e?(n,i)=>i[e]:null}function pK(e,n,i){const r=typeof n=="function"?n(e):n;if(Array.isArray(r))return r.flatMap((s=>pK(e,s,i)));if(Array.isArray(r?.variants)){let s;if(r.isProcessed)s=i?yA(r.style,i):r.style;else{const{variants:l,...c}=r;s=i?yA(Y9(c),i):c}return pkt(e,r.variants,[s],i)}return r?.isProcessed?i?yA(Y9(r.style),i):r.style:i?yA(Y9(r),i):r}function pkt(e,n,i=[],r=void 0){let s;e:for(let l=0;l<n.length;l+=1){const c=n[l];if(typeof c.props=="function"){if(s??={...e,...e.ownerState,ownerState:e.ownerState},!c.props(s))continue}else for(const d in c.props)if(e[d]!==c.props[d]&&e.ownerState?.[d]!==c.props[d])continue e;typeof c.style=="function"?(s??={...e,...e.ownerState,ownerState:e.ownerState},i.push(r?yA(Y9(c.style(s)),r):c.style(s))):i.push(r?yA(Y9(c.style),r):c.style)}return i}function $1n(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function q5e(e,n,i=!1){const r={...n};for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)){const l=s;if(l==="components"||l==="slots")r[l]={...e[l],...r[l]};else if(l==="componentsProps"||l==="slotProps"){const c=e[l],d=n[l];if(d)if(c){r[l]={...d};for(const u in c)if(Object.prototype.hasOwnProperty.call(c,u)){const p=u;r[l][p]=q5e(c[p],d[p],i)}}else r[l]=d;else r[l]=c||{}}else l==="className"&&i&&n.className?r.className=ir(e?.className,n?.className):l==="style"&&i&&n.style?r.style={...e?.style,...n?.style}:r[l]===void 0&&(r[l]=e[l])}return r}const I0=typeof window<"u"?m.useLayoutEffect:m.useEffect;function swe(e,n=0,i=1){return(function(r,s=Number.MIN_SAFE_INTEGER,l=Number.MAX_SAFE_INTEGER){return Math.max(s,Math.min(r,l))})(e,n,i)}function u8(e){if(e.type)return e;if(e.charAt(0)==="#")return u8((function(l){l=l.slice(1);const c=new RegExp(`.{1,${l.length>=6?2:1}}`,"g");let d=l.match(c);return d&&d[0].length===1&&(d=d.map((u=>u+u))),d?`rgb${d.length===4?"a":""}(${d.map(((u,p)=>p<3?parseInt(u,16):Math.round(parseInt(u,16)/255*1e3)/1e3)).join(", ")})`:""})(e));const n=e.indexOf("("),i=e.substring(0,n);if(!["rgb","rgba","hsl","hsla","color"].includes(i))throw new Error(M7(9,e));let r,s=e.substring(n+1,e.length-1);if(i==="color"){if(s=s.split(" "),r=s.shift(),s.length===4&&s[3].charAt(0)==="/"&&(s[3]=s[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(r))throw new Error(M7(10,r))}else s=s.split(",");return s=s.map((l=>parseFloat(l))),{type:i,values:s,colorSpace:r}}const ZO=(e,n)=>{try{return(i=>{const r=u8(i);return r.values.slice(0,3).map(((s,l)=>r.type.includes("hsl")&&l!==0?`${s}%`:s)).join(" ")})(e)}catch{return e}};function vne(e){const{type:n,colorSpace:i}=e;let{values:r}=e;return n.includes("rgb")?r=r.map(((s,l)=>l<3?parseInt(s,10):s)):n.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=n.includes("color")?`${i} ${r.join(" ")}`:`${r.join(", ")}`,`${n}(${r})`}function hkt(e){e=u8(e);const{values:n}=e,i=n[0],r=n[1]/100,s=n[2]/100,l=r*Math.min(s,1-s),c=(p,h=(p+i/30)%12)=>s-l*Math.max(Math.min(h-3,9-h,1),-1);let d="rgb";const u=[Math.round(255*c(0)),Math.round(255*c(8)),Math.round(255*c(4))];return e.type==="hsla"&&(d+="a",u.push(n[3])),vne({type:d,values:u})}function K5e(e){let n=(e=u8(e)).type==="hsl"||e.type==="hsla"?u8(hkt(e)).values:e.values;return n=n.map((i=>(e.type!=="color"&&(i/=255),i<=.03928?i/12.92:((i+.055)/1.055)**2.4))),Number((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3))}function tJ(e,n){return e=u8(e),n=swe(n),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${n}`:e.values[3]=n,vne(e)}function Jw(e,n,i){try{return tJ(e,n)}catch{return e}}function Ane(e,n){if(e=u8(e),n=swe(n),e.type.includes("hsl"))e.values[2]*=1-n;else if(e.type.includes("rgb")||e.type.includes("color"))for(let i=0;i<3;i+=1)e.values[i]*=1-n;return vne(e)}function xs(e,n,i){try{return Ane(e,n)}catch{return e}}function Sne(e,n){if(e=u8(e),n=swe(n),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*n;else if(e.type.includes("rgb"))for(let i=0;i<3;i+=1)e.values[i]+=(255-e.values[i])*n;else if(e.type.includes("color"))for(let i=0;i<3;i+=1)e.values[i]+=(1-e.values[i])*n;return vne(e)}function ys(e,n,i){try{return Sne(e,n)}catch{return e}}function WV(e,n,i){try{return(function(r,s=.15){return K5e(r)>.5?Ane(r,s):Sne(r,s)})(e,n)}catch{return e}}const mkt=m.createContext(null);function lwe(){return m.useContext(mkt)}const E1n=typeof Symbol=="function"&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function I1n(e){const{children:n,theme:i}=e,r=lwe(),s=m.useMemo((()=>{const l=r===null?{...i}:(function(c,d){return typeof d=="function"?d(c):{...c,...d}})(r,i);return l!=null&&(l[E1n]=r!==null),l}),[i,r]);return t.jsx(mkt.Provider,{value:s,children:n})}const gkt=m.createContext();function D1n({value:e,...n}){return t.jsx(gkt.Provider,{value:e??!0,...n})}const kne=()=>m.useContext(gkt)??!1,fkt=m.createContext(void 0);function T1n({value:e,children:n}){return t.jsx(fkt.Provider,{value:e,children:n})}function L1n({props:e,name:n}){return(function(i){const{theme:r,name:s,props:l}=i;if(!r||!r.components||!r.components[s])return l;const c=r.components[s];return c.defaultProps?q5e(c.defaultProps,l,r.components.mergeClassNameAndStyle):c.styleOverrides||c.variants?l:q5e(c,l,r.components.mergeClassNameAndStyle)})({props:e,name:n,theme:{components:m.useContext(fkt)}})}let W$e=0;const Q$e={...csn}.useId;function jne(e){if(Q$e!==void 0){const n=Q$e();return e??n}return(function(n){const[i,r]=m.useState(n),s=n||i;return m.useEffect((()=>{i==null&&(W$e+=1,r(`mui-${W$e}`))}),[i]),s})(e)}const Y$e={};function G$e(e,n,i,r=!1){return m.useMemo((()=>{const s=e&&n[e]||n;if(typeof i=="function"){const l=i(s),c=e?{...n,[e]:l}:l;return r?()=>c:c}return e?{...n,[e]:i}:{...n,...i}}),[e,n,i,r])}function xkt(e){const{children:n,theme:i,themeId:r}=e,s=G5e(Y$e),l=lwe()||Y$e,c=G$e(r,s,i),d=G$e(r,l,i,!0),u=(r?c[r]:c).direction==="rtl",p=(function(h){const g=G5e(),f=jne()||"",{modularCssLayers:x}=h;let y="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return y=x&&g===null?typeof x=="string"?x.replace(/mui(?!\.)/g,y):`@layer ${y};`:"",I0((()=>{const b=document.querySelector("head");if(!b)return;const w=b.firstChild;if(y){if(w&&w.hasAttribute?.("data-mui-layer-order")&&w.getAttribute("data-mui-layer-order")===f)return;const C=document.createElement("style");C.setAttribute("data-mui-layer-order",f),C.textContent=y,b.prepend(C)}else b.querySelector(`style[data-mui-layer-order="${f}"]`)?.remove()}),[y,f]),y?t.jsx(ckt,{styles:y}):null})(c);return t.jsx(I1n,{theme:d,children:t.jsx(RSt.Provider,{value:c,children:t.jsx(D1n,{value:u,children:t.jsxs(T1n,{value:r?c[r].components:c.components,children:[p,n]})})})})}const q$e={theme:void 0},Z5e="mode",J5e="color-scheme",B1n="data-color-scheme";function P1n(){}const M1n=({key:e,storageWindow:n})=>(!n&&typeof window<"u"&&(n=window),{get(i){if(typeof window>"u")return;if(!n)return i;let r;try{r=n.localStorage.getItem(e)}catch{}return r||i},set:i=>{if(n)try{n.localStorage.setItem(e,i)}catch{}},subscribe:i=>{if(!n)return P1n;const r=s=>{const l=s.newValue;s.key===e&&i(l)};return n.addEventListener("storage",r),()=>{n.removeEventListener("storage",r)}}});function jse(){}function K$e(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Z$e(e,n){return e.mode==="light"||e.mode==="system"&&e.systemMode==="light"?n("light"):e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark"?n("dark"):void 0}function O1n(e){const{defaultMode:n="light",defaultLightColorScheme:i,defaultDarkColorScheme:r,supportedColorSchemes:s=[],modeStorageKey:l=Z5e,colorSchemeStorageKey:c=J5e,storageWindow:d=typeof window>"u"?void 0:window,storageManager:u=M1n,noSsr:p=!1}=e,h=s.join(","),g=s.length>1,f=m.useMemo((()=>u?.({key:l,storageWindow:d})),[u,l,d]),x=m.useMemo((()=>u?.({key:`${c}-light`,storageWindow:d})),[u,c,d]),y=m.useMemo((()=>u?.({key:`${c}-dark`,storageWindow:d})),[u,c,d]),[b,w]=m.useState((()=>{const I=f?.get(n)||n,D=x?.get(i)||i,B=y?.get(r)||r;return{mode:I,systemMode:K$e(I),lightColorScheme:D,darkColorScheme:B}})),[C,v]=m.useState(p||!g);m.useEffect((()=>{v(!0)}),[]);const A=(function(I){return Z$e(I,(D=>D==="light"?I.lightColorScheme:D==="dark"?I.darkColorScheme:void 0))})(b),S=m.useCallback((I=>{w((D=>{if(I===D.mode)return D;const B=I??n;return f?.set(B),{...D,mode:B,systemMode:K$e(B)}}))}),[f,n]),$=m.useCallback((I=>{I?typeof I=="string"?I&&!h.includes(I)?console.error(`\`${I}\` does not exist in \`theme.colorSchemes\`.`):w((D=>{const B={...D};return Z$e(D,(F=>{F==="light"&&(x?.set(I),B.lightColorScheme=I),F==="dark"&&(y?.set(I),B.darkColorScheme=I)})),B})):w((D=>{const B={...D},F=I.light===null?i:I.light,R=I.dark===null?r:I.dark;return F&&(h.includes(F)?(B.lightColorScheme=F,x?.set(F)):console.error(`\`${F}\` does not exist in \`theme.colorSchemes\`.`)),R&&(h.includes(R)?(B.darkColorScheme=R,y?.set(R)):console.error(`\`${R}\` does not exist in \`theme.colorSchemes\`.`)),B})):w((D=>(x?.set(i),y?.set(r),{...D,lightColorScheme:i,darkColorScheme:r})))}),[h,x,y,i,r]),j=m.useCallback((I=>{b.mode==="system"&&w((D=>{const B=I?.matches?"dark":"light";return D.systemMode===B?D:{...D,systemMode:B}}))}),[b.mode]),E=m.useRef(j);return E.current=j,m.useEffect((()=>{if(typeof window.matchMedia!="function"||!g)return;const I=(...B)=>E.current(...B),D=window.matchMedia("(prefers-color-scheme: dark)");return D.addListener(I),I(D),()=>{D.removeListener(I)}}),[g]),m.useEffect((()=>{if(g){const I=f?.subscribe((F=>{(!F||["light","dark","system"].includes(F))&&S(F||n)}))||jse,D=x?.subscribe((F=>{(!F||h.match(F))&&$({light:F})}))||jse,B=y?.subscribe((F=>{(!F||h.match(F))&&$({dark:F})}))||jse;return()=>{I(),D(),B()}}}),[$,S,h,n,d,g,f,x,y]),{...b,mode:C?b.mode:void 0,systemMode:C?b.systemMode:void 0,colorScheme:C?A:void 0,setMode:S,setColorScheme:$}}function F1n(e=""){function n(...i){if(!i.length)return"";const r=i[0];return typeof r!="string"||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${n(...i.slice(1))})`}return(i,...r)=>`var(--${e?`${e}-`:""}${i}${n(...r)})`}const J$e=(e,n,i,r=[])=>{let s=e;n.forEach(((l,c)=>{c===n.length-1?Array.isArray(s)?s[Number(l)]=i:s&&typeof s=="object"&&(s[l]=i):s&&typeof s=="object"&&(s[l]||(s[l]=r.includes(l)?[]:{}),s=s[l])}))};function $se(e,n){const{prefix:i,shouldSkipGeneratingVar:r}=n||{},s={},l={},c={};return((d,u,p)=>{(function h(g,f=[],x=[]){Object.entries(g).forEach((([y,b])=>{(!p||p&&!p([...f,y]))&&b!=null&&(typeof b=="object"&&Object.keys(b).length>0?h(b,[...f,y],Array.isArray(b)?[...x,y]:x):u([...f,y],b,x))}))})(d)})(e,((d,u,p)=>{if(!(typeof u!="string"&&typeof u!="number"||r&&r(d,u))){const h=`--${i?`${i}-`:""}${d.join("-")}`,g=((f,x)=>typeof x=="number"?["lineHeight","fontWeight","opacity","zIndex"].some((y=>f.includes(y)))||f[f.length-1].toLowerCase().includes("opacity")?x:`${x}px`:x)(d,u);Object.assign(s,{[h]:g}),J$e(l,d,`var(${h})`,p),J$e(c,d,`var(${h}, ${g})`,p)}}),(d=>d[0]==="vars")),{css:s,vars:l,varsWithDefaults:c}}function is(e,n,i=void 0){const r={};for(const s in e){const l=e[s];let c="",d=!0;for(let u=0;u<l.length;u+=1){const p=l[u];p&&(c+=(d===!0?"":" ")+n(p),d=!1,i&&i[p]&&(c+=" "+i[p]))}r[s]=c}return r}function Ese(e,n){return m.isValidElement(e)&&n.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}const Iz={black:"#000",white:"#fff"},R1n={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},z1n="#f3e5f5",N1n="#ce93d8",_1n="#ba68c8",V1n="#ab47bc",H1n="#9c27b0",U1n="#7b1fa2",W1n="#e57373",Q1n="#ef5350",Y1n="#f44336",X$e="#d32f2f",G1n="#c62828",q1n="#ffb74d",K1n="#ffa726",Z1n="#ff9800",J1n="#f57c00",X1n="#e65100",epn="#e3f2fd",tpn="#90caf9",eEe="#42a5f5",npn="#1976d2",ipn="#1565c0",opn="#4fc3f7",rpn="#29b6f6",apn="#03a9f4",tEe="#0288d1",spn="#01579b",lpn="#81c784",cpn="#66bb6a",dpn="#4caf50",upn="#388e3c",ppn="#2e7d32",hpn="#1b5e20";function ykt(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Iz.white,default:Iz.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const bkt=ykt();function wkt(){return{text:{primary:Iz.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Iz.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const X5e=wkt();function nEe(e,n,i,r){const s=r.light||r,l=r.dark||1.5*r;e[n]||(e.hasOwnProperty(i)?e[n]=e[i]:n==="light"?e.light=Sne(e.main,s):n==="dark"&&(e.dark=Ane(e.main,l)))}function iEe(e,n,i,r,s){const l=s.light||s,c=s.dark||1.5*s;n[i]||(n.hasOwnProperty(r)?n[i]=n[r]:i==="light"?n.light=`color-mix(in ${e}, ${n.main}, #fff ${(100*l).toFixed(0)}%)`:i==="dark"&&(n.dark=`color-mix(in ${e}, ${n.main}, #000 ${(100*c).toFixed(0)}%)`))}function cwe(e){const{mode:n="light",contrastThreshold:i=3,tonalOffset:r=.2,colorSpace:s,...l}=e,c=e.primary||(function(b="light"){return b==="dark"?{main:tpn,light:epn,dark:eEe}:{main:npn,light:eEe,dark:ipn}})(n),d=e.secondary||(function(b="light"){return b==="dark"?{main:N1n,light:z1n,dark:V1n}:{main:H1n,light:_1n,dark:U1n}})(n),u=e.error||(function(b="light"){return b==="dark"?{main:Y1n,light:W1n,dark:X$e}:{main:X$e,light:Q1n,dark:G1n}})(n),p=e.info||(function(b="light"){return b==="dark"?{main:rpn,light:opn,dark:tEe}:{main:tEe,light:apn,dark:spn}})(n),h=e.success||(function(b="light"){return b==="dark"?{main:cpn,light:lpn,dark:upn}:{main:ppn,light:dpn,dark:hpn}})(n),g=e.warning||(function(b="light"){return b==="dark"?{main:K1n,light:q1n,dark:J1n}:{main:"#ed6c02",light:Z1n,dark:X1n}})(n);function f(b){return s?(function(C){return`oklch(from ${C} var(--__l) 0 h / var(--__a))`})(b):(function(C,v){const A=K5e(C),S=K5e(v);return(Math.max(A,S)+.05)/(Math.min(A,S)+.05)})(b,X5e.text.primary)>=i?X5e.text.primary:bkt.text.primary}const x=({color:b,name:w,mainShade:C=500,lightShade:v=300,darkShade:A=700})=>{if(!(b={...b}).main&&b[C]&&(b.main=b[C]),!b.hasOwnProperty("main"))throw new Error(M7(11,w?` (${w})`:"",C));if(typeof b.main!="string")throw new Error(M7(12,w?` (${w})`:"",JSON.stringify(b.main)));return s?(iEe(s,b,"light",v,r),iEe(s,b,"dark",A,r)):(nEe(b,"light",v,r),nEe(b,"dark",A,r)),b.contrastText||(b.contrastText=f(b.main)),b};let y;return n==="light"?y=ykt():n==="dark"&&(y=wkt()),Y1({common:{...Iz},mode:n,primary:x({color:c,name:"primary"}),secondary:x({color:d,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:x({color:u,name:"error"}),warning:x({color:g,name:"warning"}),info:x({color:p,name:"info"}),success:x({color:h,name:"success"}),grey:R1n,contrastThreshold:i,getContrastText:f,augmentColor:x,tonalOffset:r,...y},l)}function mpn(e){const n={};return Object.entries(e).forEach((i=>{const[r,s]=i;typeof s=="object"&&(n[r]=`${s.fontStyle?`${s.fontStyle} `:""}${s.fontVariant?`${s.fontVariant} `:""}${s.fontWeight?`${s.fontWeight} `:""}${s.fontStretch?`${s.fontStretch} `:""}${s.fontSize||""}${s.lineHeight?`/${s.lineHeight} `:""}${s.fontFamily||""}`)})),n}function gpn(e,n){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...n}}function fpn(e){return Math.round(1e5*e)/1e5}const oEe={textTransform:"uppercase"},rEe='"Roboto", "Helvetica", "Arial", sans-serif';function Ckt(e,n){const{fontFamily:i=rEe,fontSize:r=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:d=700,htmlFontSize:u=16,allVariants:p,pxToRem:h,...g}=typeof n=="function"?n(e):n,f=r/14,x=h||(w=>w/u*f+"rem"),y=(w,C,v,A,S)=>({fontFamily:i,fontWeight:w,fontSize:x(C),lineHeight:v,...i===rEe?{letterSpacing:`${fpn(A/C)}em`}:{},...S,...p}),b={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(c,14,1.75,.4,oEe),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,oEe),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Y1({htmlFontSize:u,pxToRem:x,fontFamily:i,fontSize:r,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:d,...b},g,{clone:!1})}function Sl(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const xpn=["none",Sl(0,2,1,-1,0,1,1,0,0,1,3,0),Sl(0,3,1,-2,0,2,2,0,0,1,5,0),Sl(0,3,3,-2,0,3,4,0,0,1,8,0),Sl(0,2,4,-1,0,4,5,0,0,1,10,0),Sl(0,3,5,-1,0,5,8,0,0,1,14,0),Sl(0,3,5,-1,0,6,10,0,0,1,18,0),Sl(0,4,5,-2,0,7,10,1,0,2,16,1),Sl(0,5,5,-3,0,8,10,1,0,3,14,2),Sl(0,5,6,-3,0,9,12,1,0,3,16,2),Sl(0,6,6,-3,0,10,14,1,0,4,18,3),Sl(0,6,7,-4,0,11,15,1,0,4,20,3),Sl(0,7,8,-4,0,12,17,2,0,5,22,4),Sl(0,7,8,-4,0,13,19,2,0,5,24,4),Sl(0,7,9,-4,0,14,21,2,0,5,26,4),Sl(0,8,9,-5,0,15,22,2,0,6,28,5),Sl(0,8,10,-5,0,16,24,2,0,6,30,5),Sl(0,8,11,-5,0,17,26,2,0,6,32,5),Sl(0,9,11,-5,0,18,28,2,0,7,34,6),Sl(0,9,12,-6,0,19,29,2,0,7,36,6),Sl(0,10,13,-6,0,20,31,3,0,8,38,7),Sl(0,10,13,-6,0,21,33,3,0,8,40,7),Sl(0,10,14,-6,0,22,35,3,0,8,42,7),Sl(0,11,14,-7,0,23,36,3,0,9,44,8),Sl(0,11,15,-7,0,24,38,3,0,9,46,8)],ypn={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},vkt={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function aEe(e){return`${Math.round(e)}ms`}function bpn(e){if(!e)return 0;const n=e/36;return Math.min(Math.round(10*(4+15*n**.25+n/5)),3e3)}function wpn(e){const n={...ypn,...e.easing},i={...vkt,...e.duration};return{getAutoHeightDuration:bpn,create:(r=["all"],s={})=>{const{duration:l=i.standard,easing:c=n.easeInOut,delay:d=0,...u}=s;return(Array.isArray(r)?r:[r]).map((p=>`${p} ${typeof l=="string"?l:aEe(l)} ${c} ${typeof d=="string"?d:aEe(d)}`)).join(",")},...e,easing:n,duration:i}}const Cpn={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function vpn(e){return Xy(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Akt(e={}){const n={...e};return(function i(r){const s=Object.entries(r);for(let l=0;l<s.length;l++){const[c,d]=s[l];!vpn(d)||c.startsWith("unstable_")?delete r[c]:Xy(d)&&(r[c]={...d},i(r[c]))}})(n),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/zeni-epic-state-BcPOXb6_.js","assets/sentry-D4qoEIco.js","assets/core-C5ZG3tJS.js","assets/index-GiMM0ckT.js","assets/DefaultTenantHome-C2rq74c5.js","assets/mui-BWEZqJM6.js","assets/getLocaleForTenant-CaacUyT4.js","assets/analytics-D_bfwrdA.js","assets/utils-DBZ_QSme.js","assets/AppDrawer-P5Yq4elH.js","assets/InboxNotificationsProvider-DGF7zUT5.js","assets/useTaskManagerAccess-C5N90dEy.js","assets/expenseAutomationHelper-TRaObTJj.js","assets/ScreenRoutes-BQzMSFT2.js","assets/analyticsHelper-CddHs7OT.js","assets/ConnectionAuthScreen-CAbs1jqS.js","assets/AccountMappingScreen-Z-noj29C.js","assets/MobileAppDrawer-3hdMdgHl.js","assets/QBOConnectionScreen-DmjyrlYE.js","assets/empty-D8AdB3zX.js","assets/index-BJSiEm2J.js","assets/url-C1Mc-kLe.js","assets/index-BUVBGxEt.js","assets/decodeURIComponentSafe-ukN1WN7f.js","assets/accountMappingHelper-3Hm_-9n-.js","assets/SignInScreen-DIeWOvHk.js","assets/useDeviceId-D51quroZ.js","assets/MagicLinkSignInScreen-dWMA5rvs.js","assets/NotFoundScreen-BrZDNi9u.js","assets/MagicLinkRoutes-FsL_pDsr.js","assets/PaymentLinkScreen-CLJWnz9d.js","assets/WiseConfirmationScreen-B--eryvX.js","assets/HubSpotOAuthCallbackScreen-Cry2n_9T.js","assets/CustomerOnboardingAuthScreen-eCRYYI-e.js","assets/SignOutScreen-wUiFAd90.js","assets/OAuthConsentScreen-ENkiOwVE.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{a as m,R as M,b as z5e,e as csn,p as wse,r as Am,g as jAt,d as Gje,f as dsn,s as qje,i as usn,w as psn,j as hsn,S as msn,k as gsn,l as fsn,m as xsn,n as ysn,o as bsn}from"./sentry-D4qoEIco.js";import{L as wsn,C as Kje,_ as ah,a as Csn,b as HN,c as vsn,d as Xte,e as UN,u as $At,T as Asn,f as Ssn,g as ksn,h as jsn,i as $sn,k as EAt,l as Esn,m as Isn,j as Zt}from"./liveblocks-DsNaXx1Y.js";import{f as IAt,r as Aa,R as xA,P as Vl,O as Dsn,N as DAt,u as qp,g as c2,h as ene,i as TAt,j as Gr,m as E8e,s as QZ,k as LAt,l as Tsn,n as Lsn,o as lp,p as Bsn,B as Psn}from"./core-C5ZG3tJS.js";import{L as Zje,bl as Msn,bm as Osn,bn as WN,bo as Fsn,bp as Rsn,bq as zs,br as Wt,bs as cL,bt as s3,bu as zsn,bv as K7,bw as Os,bx as Nsn,by as _sn,bz as Vsn,bA as d1,bB as ep,bC as Sz,bD as s8,bE as pn,bF as BAt,bG as W1,bH as va,bI as aT,bJ as PAt,bK as MAt,bL as I8e,bM as dx,bN as n1,bO as d7,bP as Hsn,bQ as Rc,bR as Usn,bS as dL,bT as Wsn,bU as Qsn,bV as YZ,bW as Ysn,bX as Gsn,bY as GZ,bZ as qsn,b_ as Ksn,b$ as l8,c0 as Jje,c1 as Zsn,c2 as Jsn,c3 as Xsn,c4 as eln,c5 as tln,c6 as nln,c7 as iln,c8 as u7,c9 as tne,ca as oln,cb as nne,cc as ine,cd as one,ce as D8e,cf as QN,cg as kS,ch as YN,ci as sT,cj as lT,ck as jS,cl as rne,cm as KA,cn as rln,co as Xje,cp as aln,cq as sln,cr as lln,cs as cln,ct as OAt,cu as dln,cv as uln,cw as Zw,cx as e$e,cy as pln,cz as hln,cA as mln,cB as dk,cC as uk,cD as FAt,cE as RAt,cF as T8e,cG as gln,cH as zAt,cI as fln,cJ as qZ,cK as NAt,cL as xln,cM as _At,cN as yln,cO as KO,cP as bln,cQ as wln,cR as t$e,cS as Cln,cT as L8e,cU as B8e,cV as vln,cW as Aln,cX as Sln,cY as kln,cZ as zV,c_ as kz,c$ as NV,d0 as jln,d1 as $ln,d2 as VAt,d3 as Eln,d4 as Iln,d5 as Dln,d6 as Tln,d7 as Lln,d8 as HAt,d9 as n$e,da as Bln,db as P8e,dc as Pln,dd as Mln,de as Oln,df as UAt,dg as mu,dh as Wl,di as ane,dj as Fln,dk as Rln,dl as F1,dm as WAt,dn as zln,dp as jz,dq as ZA,dr as Qs,ds as i$e,dt as Nln,du as _ln,dv as Vln,dw as QAt,dx as M8e,dy as _V,dz as YAt,dA as Pg,dB as Hln,dC as Uln,dD as Wln,dE as Qln,dF as Yln,dG as Gln,dH as qln,dI as Kln,dJ as VV,dK as $S,dL as sne,dM as Zln,dN as Jln,dO as pk,dP as Q1,dQ as GAt,dR as qAt,dS as Xln,dT as KAt,dU as ecn,dV as tcn,dW as ncn,dX as icn,dY as uL,dZ as O8e,d_ as F8e,d$ as ocn,e0 as R8e,e1 as ZAt,e2 as JAt,e3 as XAt,e4 as eSt,e5 as tSt,e6 as nSt,e7 as rcn,_ as Pd,e8 as pL,e9 as acn,ea as o$e,eb as lne,ec as scn,ed as lcn,ee as iSt,ef as ccn,eg as tR,eh as Mm,ei as p7,ej as oSt,ek as rSt,el as dcn,em as aSt,en as N5e,eo as ucn,ep as sK,eq as pcn,er as hcn,es as mcn,et as gcn,eu as fcn,ev as sSt,ew as lSt,ex as xcn,ey as ycn,ez as cSt,eA as nR,eB as iR,eC as dSt,eD as bcn,eE as wcn,eF as Ccn,eG as vcn,eH as z8e,eI as uSt,eJ as pSt,eK as N8e,eL as hL,eM as cne,eN as _8e,eO as V8e,eP as H8e,eQ as U8e,eR as Acn,eS as Scn,eT as hSt,eU as r$e,eV as kcn,eW as W8e,eX as jcn,eY as $cn,eZ as N1,e_ as Ecn,e$ as dne,f0 as mSt,f1 as gSt,f2 as Icn,f3 as Q8e,f4 as Y8e,f5 as Dcn,f6 as Tcn,f7 as Lcn,f8 as Bcn,f9 as Pcn,fa as Kg,fb as a$e,fc as fSt,fd as Mcn,fe as Ocn,ff as Fcn,fg as xSt,fh as ySt,fi as bSt,fj as wSt,fk as CSt,fl as vSt,fm as Rcn,fn as cT,fo as zcn,fp as Ncn,fq as _cn,fr as Vcn,fs as ASt,ft as SSt,fu as s$e,fv as l$e,fw as Hcn,fx as Ucn,fy as c$e,fz as d$e,fA as Wcn,fB as Qcn,fC as _5e,fD as Ycn,v as Gcn,fE as une,fF as xm,fG as kSt,fH as jSt,fI as qcn,fJ as Kcn,fK as u$e,fL as Zcn,fM as Jcn,fN as Xcn,fO as edn,fP as tdn,fQ as ndn,fR as idn,fS as odn,fT as rdn,fU as adn,fV as sdn,fW as ldn,fX as cdn,fY as ddn,fZ as udn,f_ as pdn,f$ as hdn,g0 as mdn,g1 as gdn,g2 as p$e,g3 as fdn,g4 as xdn,g5 as ydn,g6 as bdn,g7 as wdn,g8 as $St,g9 as pne,ga as G8e,gb as ESt,gc as Cdn,gd as vdn,ge as Adn,gf as ISt,gg as h$e,gh as DSt,gi as TSt,gj as Sdn,gk as LSt,gl as BSt,gm as kdn,gn as jdn,go as V5e,gp as $dn,gq as oR,gr as Edn,gs as Idn,gt as Ddn,gu as Tdn,gv as Ldn,gw as Bdn,gx as Pdn,gy as Mdn,gz as Odn,gA as Fdn,gB as Rdn,gC as zdn,gD as PSt,gE as Ndn,gF as _dn,gG as Vdn,gH as m$e,gI as Hdn,gJ as Udn,gK as Wdn,gL as Qdn,gM as Ydn,gN as Gdn,gO as MSt,gP as OSt,gQ as qdn,gR as FSt,gS as Kdn,gT as Zdn,gU as H5e,gV as Jdn,gW as Xdn,gX as eun,gY as tun,gZ as nun,g_ as iun,g$ as g$e,h0 as oun,h1 as run,h2 as aun}from"./zeni-epic-state-BcPOXb6_.js";import{n as a,T as RSt,G as GN,j as Io,c as Ie,k as ni,C as zSt,u as sun,D as NSt,S as _St,a as lun}from"./mui-BWEZqJM6.js";import{r as cun,m as kg}from"./analytics-D_bfwrdA.js";import{u as np}from"./plaid-B_2YsVA4.js";import{D as q8e,H as hne,g as dun,O as uun,S as pun,T as hun,u as K8e,a as Z8e,b as mun}from"./dnd-C67Dx0fq.js";import{l as J8e}from"./stripe-cKAAJElX.js";import{L as bD}from"./lottie-x1U_1T_X.js";import{r as sd}from"./lexical-BpFcNSrv.js";import{D as U5e,P as W5e,_ as VSt,a as HSt}from"./pdf-Da5t4yqS.js";import{R as ES,G as c8,H as eh,X as ql,Y as Ll,I as Dd,J as d8,K as R8,L as JA,M as J1,N as mL,O as USt,P as gun,Q as fun,S as mne,U as xun,V as X8e,W as yun,Z as bun,_ as wun,d as Cun}from"./recharts-Cbxp2ciV.js";import{r as vun,n as f$e}from"./utils-DBZ_QSme.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]="57525f6d-042b-483c-8d0e-cec36d823e16",e._sentryDebugIdIdentifier="sentry-dbid-57525f6d-042b-483c-8d0e-cec36d823e16")}catch{}})();(function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver((i=>{for(const r of i)if(r.type==="childList")for(const s of r.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)})).observe(document,{childList:!0,subtree:!0})}function n(i){if(i.ep)return;i.ep=!0;const r=(function(s){const l={};return s.integrity&&(l.integrity=s.integrity),s.referrerPolicy&&(l.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?l.credentials="include":s.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l})(i);fetch(i.href,r)}})();var x$e,HV={},Aun=(function(){if(x$e)return HV;x$e=1;var e=IAt();return HV.createRoot=e.createRoot,HV.hydrateRoot=e.hydrateRoot,HV})(),cm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof z5e<"u"?z5e:typeof self<"u"?self:{};function fr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var y$e,b$e,w$e={exports:{}},yB={};function WSt(){return b$e||(b$e=1,w$e.exports=(function(){if(y$e)return yB;y$e=1;var e=M,n=Symbol.for("react.element"),i=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(d,u,p){var h,g={},f=null,x=null;for(h in p!==void 0&&(f=""+p),u.key!==void 0&&(f=""+u.key),u.ref!==void 0&&(x=u.ref),u)r.call(u,h)&&!l.hasOwnProperty(h)&&(g[h]=u[h]);if(d&&d.defaultProps)for(h in u=d.defaultProps)g[h]===void 0&&(g[h]=u[h]);return{$$typeof:n,type:d,key:f,ref:x,props:g,_owner:s.current}}return yB.Fragment=i,yB.jsx=c,yB.jsxs=c,yB})()),w$e.exports}var t=WSt();const Sun=m.createContext(null),Cse={didCatch:!1,error:null};let kun=class extends m.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=Cse}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){const{error:e}=this.state;if(e!==null){for(var n,i,r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];(n=(i=this.props).onReset)===null||n===void 0||n.call(i,{args:s,reason:"imperative-api"}),this.setState(Cse)}}componentDidCatch(e,n){var i,r;(i=(r=this.props).onError)===null||i===void 0||i.call(r,e,n)}componentDidUpdate(e,n){const{didCatch:i}=this.state,{resetKeys:r}=this.props;var s,l;i&&n.error!==null&&(function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return c.length!==d.length||c.some(((u,p)=>!Object.is(u,d[p])))})(e.resetKeys,r)&&((s=(l=this.props).onReset)===null||s===void 0||s.call(l,{next:r,prev:e.resetKeys,reason:"keys"}),this.setState(Cse))}render(){const{children:e,fallbackRender:n,FallbackComponent:i,fallback:r}=this.props,{didCatch:s,error:l}=this.state;let c=e;if(s){const d={error:l,resetErrorBoundary:this.resetErrorBoundary};if(typeof n=="function")c=n(d);else if(i)c=m.createElement(i,d);else{if(r===void 0)throw l;c=r}}return m.createElement(Sun.Provider,{value:{didCatch:s,error:l,resetErrorBoundary:this.resetErrorBoundary}},c)}};var C$e,vse={exports:{}},Ase,jun=(C$e||(C$e=1,Ase=vse,(function(e,n){Ase.exports?Ase.exports=n():e.numeral=n()})(vse.exports,(function(){var e,n,i,r,s,l={},c={},d={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},u={currentLocale:d.currentLocale,zeroFormat:d.zeroFormat,nullFormat:d.nullFormat,defaultFormat:d.defaultFormat,scalePercentBy100:d.scalePercentBy100};function p(h,g){this._input=h,this._value=g}return e=function(h){var g,f,x,y;if(e.isNumeral(h))g=h.value();else if(h===0||typeof h>"u")g=0;else if(h===null||n.isNaN(h))g=null;else if(typeof h=="string")if(u.zeroFormat&&h===u.zeroFormat)g=0;else if(u.nullFormat&&h===u.nullFormat||!h.replace(/[^0-9]+/g,"").length)g=null;else{for(f in l)if((y=typeof l[f].regexps.unformat=="function"?l[f].regexps.unformat():l[f].regexps.unformat)&&h.match(y)){x=l[f].unformat;break}g=(x=x||e._.stringToNumber)(h)}else g=Number(h)||null;return new p(h,g)},e.version="2.0.6",e.isNumeral=function(h){return h instanceof p},e._=n={numberToFormat:function(h,g,f){var x,y,b,w,C,v,A,S,$=c[e.options.currentLocale],j=!1,E=!1,I="",D=1e12,B=1e9,F=1e6,R="",_=!1;if(h=h||0,b=Math.abs(h),e._.includes(g,"(")?(j=!0,g=g.replace(/[\(|\)]/g,"")):(e._.includes(g,"+")||e._.includes(g,"-"))&&(v=e._.includes(g,"+")?g.indexOf("+"):h<0?g.indexOf("-"):-1,g=g.replace(/[\+|\-]/g,"")),e._.includes(g,"a")&&(y=!!(y=g.match(/a(k|m|b|t)?/))&&y[1],e._.includes(g," a")&&(I=" "),g=g.replace(new RegExp(I+"a[kmbt]?"),""),b>=D&&!y||y==="t"?(I+=$.abbreviations.trillion,h/=D):b<D&&b>=B&&!y||y==="b"?(I+=$.abbreviations.billion,h/=B):b<B&&b>=F&&!y||y==="m"?(I+=$.abbreviations.million,h/=F):(b<F&&b>=1e3&&!y||y==="k")&&(I+=$.abbreviations.thousand,h/=1e3)),e._.includes(g,"[.]")&&(E=!0,g=g.replace("[.]",".")),w=h.toString().split(".")[0],C=g.split(".")[1],A=g.indexOf(","),x=(g.split(".")[0].split(",")[0].match(/0/g)||[]).length,C?(e._.includes(C,"[")?(C=(C=C.replace("]","")).split("["),R=e._.toFixed(h,C[0].length+C[1].length,f,C[1].length)):R=e._.toFixed(h,C.length,f),w=R.split(".")[0],R=e._.includes(R,".")?$.delimiters.decimal+R.split(".")[1]:"",E&&Number(R.slice(1))===0&&(R="")):w=e._.toFixed(h,0,f),I&&!y&&Number(w)>=1e3&&I!==$.abbreviations.trillion)switch(w=String(Number(w)/1e3),I){case $.abbreviations.thousand:I=$.abbreviations.million;break;case $.abbreviations.million:I=$.abbreviations.billion;break;case $.abbreviations.billion:I=$.abbreviations.trillion}if(e._.includes(w,"-")&&(w=w.slice(1),_=!0),w.length<x)for(var N=x-w.length;N>0;N--)w="0"+w;return A>-1&&(w=w.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+$.delimiters.thousands)),g.indexOf(".")===0&&(w=""),S=w+R+(I||""),j?S=(j&&_?"(":"")+S+(j&&_?")":""):v>=0?S=v===0?(_?"-":"+")+S:S+(_?"-":"+"):_&&(S="-"+S),S},stringToNumber:function(h){var g,f,x,y=c[u.currentLocale],b=h,w={thousand:3,million:6,billion:9,trillion:12};if(u.zeroFormat&&h===u.zeroFormat)f=0;else if(u.nullFormat&&h===u.nullFormat||!h.replace(/[^0-9]+/g,"").length)f=null;else{for(g in f=1,y.delimiters.decimal!=="."&&(h=h.replace(/\./g,"").replace(y.delimiters.decimal,".")),w)if(x=new RegExp("[^a-zA-Z]"+y.abbreviations[g]+"(?:\\)|(\\"+y.currency.symbol+")?(?:\\))?)?$"),b.match(x)){f*=Math.pow(10,w[g]);break}f*=(h.split("-").length+Math.min(h.split("(").length-1,h.split(")").length-1))%2?1:-1,h=h.replace(/[^0-9\.]+/g,""),f*=Number(h)}return f},isNaN:function(h){return typeof h=="number"&&isNaN(h)},includes:function(h,g){return h.indexOf(g)!==-1},insert:function(h,g,f){return h.slice(0,f)+g+h.slice(f)},reduce:function(h,g){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof g!="function")throw new TypeError(g+" is not a function");var f,x=Object(h),y=x.length>>>0,b=0;if(arguments.length===3)f=arguments[2];else{for(;b<y&&!(b in x);)b++;if(b>=y)throw new TypeError("Reduce of empty array with no initial value");f=x[b++]}for(;b<y;b++)b in x&&(f=g(f,x[b],b,x));return f},multiplier:function(h){var g=h.toString().split(".");return g.length<2?1:Math.pow(10,g[1].length)},correctionFactor:function(){return Array.prototype.slice.call(arguments).reduce((function(h,g){var f=n.multiplier(g);return h>f?h:f}),1)},toFixed:function(h,g,f,x){var y,b,w,C,v=h.toString().split("."),A=g-(x||0);return y=v.length===2?Math.min(Math.max(v[1].length,A),g):A,w=Math.pow(10,y),C=(f(h+"e+"+y)/w).toFixed(y),x>g-y&&(b=new RegExp("\\.?0{1,"+(x-(g-y))+"}$"),C=C.replace(b,"")),C}},e.options=u,e.formats=l,e.locales=c,e.locale=function(h){return h&&(u.currentLocale=h.toLowerCase()),u.currentLocale},e.localeData=function(h){if(!h)return c[u.currentLocale];if(h=h.toLowerCase(),!c[h])throw new Error("Unknown locale : "+h);return c[h]},e.reset=function(){for(var h in d)u[h]=d[h]},e.zeroFormat=function(h){u.zeroFormat=typeof h=="string"?h:null},e.nullFormat=function(h){u.nullFormat=typeof h=="string"?h:null},e.defaultFormat=function(h){u.defaultFormat=typeof h=="string"?h:"0.0"},e.register=function(h,g,f){if(g=g.toLowerCase(),this[h+"s"][g])throw new TypeError(g+" "+h+" already registered.");return this[h+"s"][g]=f,f},e.validate=function(h,g){var f,x,y,b,w,C,v,A;if(typeof h!="string"&&(h+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",h)),(h=h.trim()).match(/^\d+$/))return!0;if(h==="")return!1;try{v=e.localeData(g)}catch{v=e.localeData(e.locale())}return y=v.currency.symbol,w=v.abbreviations,f=v.delimiters.decimal,x=v.delimiters.thousands==="."?"\\.":v.delimiters.thousands,!((A=h.match(/^[^\d]+/))!==null&&(h=h.substr(1),A[0]!==y)||(A=h.match(/[^\d]+$/))!==null&&(h=h.slice(0,-1),A[0]!==w.thousand&&A[0]!==w.million&&A[0]!==w.billion&&A[0]!==w.trillion)||(C=new RegExp(x+"{2}"),h.match(/[^\d.,]/g)||(b=h.split(f)).length>2||(b.length<2?!b[0].match(/^\d+.*\d$/)||b[0].match(C):b[0].length===1?!b[0].match(/^\d+$/)||b[0].match(C)||!b[1].match(/^\d+$/):!b[0].match(/^\d+.*\d$/)||b[0].match(C)||!b[1].match(/^\d+$/))))},e.fn=p.prototype={clone:function(){return e(this)},format:function(h,g){var f,x,y,b=this._value,w=h||u.defaultFormat;if(g=g||Math.round,b===0&&u.zeroFormat!==null)x=u.zeroFormat;else if(b===null&&u.nullFormat!==null)x=u.nullFormat;else{for(f in l)if(w.match(l[f].regexps.format)){y=l[f].format;break}x=(y=y||e._.numberToFormat)(b,w,g)}return x},value:function(){return this._value},input:function(){return this._input},set:function(h){return this._value=Number(h),this},add:function(h){var g=n.correctionFactor.call(null,this._value,h);return this._value=n.reduce([this._value,h],(function(f,x,y,b){return f+Math.round(g*x)}),0)/g,this},subtract:function(h){var g=n.correctionFactor.call(null,this._value,h);return this._value=n.reduce([h],(function(f,x,y,b){return f-Math.round(g*x)}),Math.round(this._value*g))/g,this},multiply:function(h){return this._value=n.reduce([this._value,h],(function(g,f,x,y){var b=n.correctionFactor(g,f);return Math.round(g*b)*Math.round(f*b)/Math.round(b*b)}),1),this},divide:function(h){return this._value=n.reduce([this._value,h],(function(g,f,x,y){var b=n.correctionFactor(g,f);return Math.round(g*b)/Math.round(f*b)})),this},difference:function(h){return Math.abs(e(this._value).subtract(h).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(h){var g=h%10;return~~(h%100/10)==1?"th":g===1?"st":g===2?"nd":g===3?"rd":"th"},currency:{symbol:"$"}}),e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(h,g,f){var x,y=e._.includes(g," BPS")?" ":"";return h*=1e4,g=g.replace(/\s?BPS/,""),x=e._.numberToFormat(h,g,f),e._.includes(x,")")?((x=x.split("")).splice(-1,0,y+"BPS"),x=x.join("")):x=x+y+"BPS",x},unformat:function(h){return+(1e-4*e._.stringToNumber(h)).toFixed(15)}}),r={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},s="("+(s=(i={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}).suffixes.concat(r.suffixes.filter((function(h){return i.suffixes.indexOf(h)<0}))).join("|")).replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(s)},format:function(h,g,f){var x,y,b,w=e._.includes(g,"ib")?r:i,C=e._.includes(g," b")||e._.includes(g," ib")?" ":"";for(g=g.replace(/\s?i?b/,""),x=0;x<=w.suffixes.length;x++)if(y=Math.pow(w.base,x),b=Math.pow(w.base,x+1),h===null||h===0||h>=y&&h<b){C+=w.suffixes[x],y>0&&(h/=y);break}return e._.numberToFormat(h,g,f)+C},unformat:function(h){var g,f,x=e._.stringToNumber(h);if(x){for(g=i.suffixes.length-1;g>=0;g--){if(e._.includes(h,i.suffixes[g])){f=Math.pow(i.base,g);break}if(e._.includes(h,r.suffixes[g])){f=Math.pow(r.base,g);break}}x*=f||1}return x}}),e.register("format","currency",{regexps:{format:/(\$)/},format:function(h,g,f){var x,y,b,w=e.locales[e.options.currentLocale],C={before:g.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:g.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(g=g.replace(/\s?\$\s?/,""),x=e._.numberToFormat(h,g,f),h>=0?(C.before=C.before.replace(/[\-\(]/,""),C.after=C.after.replace(/[\-\)]/,"")):h<0&&!e._.includes(C.before,"-")&&!e._.includes(C.before,"(")&&(C.before="-"+C.before),b=0;b<C.before.length;b++)switch(y=C.before[b],y){case"$":x=e._.insert(x,w.currency.symbol,b);break;case" ":x=e._.insert(x," ",b+w.currency.symbol.length-1)}for(b=C.after.length-1;b>=0;b--)switch(y=C.after[b],y){case"$":x=b===C.after.length-1?x+w.currency.symbol:e._.insert(x,w.currency.symbol,-(C.after.length-(1+b)));break;case" ":x=b===C.after.length-1?x+" ":e._.insert(x," ",-(C.after.length-(1+b)+w.currency.symbol.length-1))}return x}}),e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(h,g,f){var x=(typeof h!="number"||e._.isNaN(h)?"0e+0":h.toExponential()).split("e");return g=g.replace(/e[\+|\-]{1}0/,""),e._.numberToFormat(Number(x[0]),g,f)+"e"+x[1]},unformat:function(h){var g=e._.includes(h,"e+")?h.split("e+"):h.split("e-"),f=Number(g[0]),x=Number(g[1]);return x=e._.includes(h,"e-")?x*=-1:x,e._.reduce([f,Math.pow(10,x)],(function(y,b,w,C){var v=e._.correctionFactor(y,b);return y*v*(b*v)/(v*v)}),1)}}),e.register("format","ordinal",{regexps:{format:/(o)/},format:function(h,g,f){var x=e.locales[e.options.currentLocale],y=e._.includes(g," o")?" ":"";return g=g.replace(/\s?o/,""),y+=x.ordinal(h),e._.numberToFormat(h,g,f)+y}}),e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(h,g,f){var x,y=e._.includes(g," %")?" ":"";return e.options.scalePercentBy100&&(h*=100),g=g.replace(/\s?\%/,""),x=e._.numberToFormat(h,g,f),e._.includes(x,")")?((x=x.split("")).splice(-1,0,y+"%"),x=x.join("")):x=x+y+"%",x},unformat:function(h){var g=e._.stringToNumber(h);return e.options.scalePercentBy100?.01*g:g}}),e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(h,g,f){var x=Math.floor(h/60/60),y=Math.floor((h-60*x*60)/60),b=Math.round(h-60*x*60-60*y);return x+":"+(y<10?"0"+y:y)+":"+(b<10?"0"+b:b)},unformat:function(h){var g=h.split(":"),f=0;return g.length===3?(f+=60*Number(g[0])*60,f+=60*Number(g[1]),f+=Number(g[2])):g.length===2&&(f+=60*Number(g[0]),f+=Number(g[1])),Number(f)}}),e}))),vse.exports);const Rf=fr(jun);function M7(e,...n){const i=new URL(`https://mui.com/production-error/?code=${e}`);return n.forEach((r=>i.searchParams.append("args[]",r))),`Minified MUI error #${e}; visit ${i} for the full message.`}const k7="$$material";var $un={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 Eun(e){var n=Object.create(null);return function(i){return n[i]===void 0&&(n[i]=e(i)),n[i]}}var Iun=/[A-Z]|^ms/g,Dun=/_EMO_([^_]+?)_([^]*?)_EMO_/g,QSt=function(e){return e.charCodeAt(1)===45},v$e=function(e){return e!=null&&typeof e!="boolean"},Sse=Eun((function(e){return QSt(e)?e:e.replace(Iun,"-$&").toLowerCase()})),A$e=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(Dun,(function(i,r,s){return D9={name:r,styles:s,next:D9},r}))}return $un[e]===1||QSt(e)||typeof n!="number"||n===0?n:n+"px"};function KZ(e,n,i){if(i==null)return"";var r=i;if(r.__emotion_styles!==void 0)return r;switch(typeof i){case"boolean":return"";case"object":var s=i;if(s.anim===1)return D9={name:s.name,styles:s.styles,next:D9},s.name;var l=i;if(l.styles!==void 0){var c=l.next;if(c!==void 0)for(;c!==void 0;)D9={name:c.name,styles:c.styles,next:D9},c=c.next;return l.styles+";"}return(function(d,u,p){var h="";if(Array.isArray(p))for(var g=0;g<p.length;g++)h+=KZ(d,u,p[g])+";";else for(var f in p){var x=p[f];if(typeof x!="object"){var y=x;v$e(y)&&(h+=Sse(f)+":"+A$e(f,y)+";")}else if(Array.isArray(x)&&typeof x[0]=="string"&&u==null)for(var b=0;b<x.length;b++)v$e(x[b])&&(h+=Sse(f)+":"+A$e(f,x[b])+";");else{var w=KZ(d,u,x);switch(f){case"animation":case"animationName":h+=Sse(f)+":"+w+";";break;default:h+=f+"{"+w+"}"}}}return h})(e,n,i)}return i}var D9,S$e=/label:\s*([^\s;{]+)\s*(;|$)/g,k$e,j$e,$$e,E$e,I$e,D$e={exports:{}};function Tun(){return j$e?k$e:(j$e=1,k$e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}function Lun(){if(E$e)return $$e;E$e=1;var e=Tun();function n(){}function i(){}return i.resetWarningCache=n,$$e=function(){function r(c,d,u,p,h,g){if(g!==e){var f=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 f.name="Invariant Violation",f}}function s(){return r}r.isRequired=r;var l={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:s,element:r,elementType:r,instanceOf:s,node:r,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:i,resetWarningCache:n};return l.PropTypes=l,l}}function ewe(){return I$e||(I$e=1,D$e.exports=Lun()()),D$e.exports}const _n=fr(ewe());var Bun=(function(){function e(i){var r=this;this._insertTag=function(s){var l;l=r.tags.length===0?r.insertionPoint?r.insertionPoint.nextSibling:r.prepend?r.container.firstChild:r.before:r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(s,l),r.tags.push(s)},this.isSpeedy=i.speedy===void 0||i.speedy,this.tags=[],this.ctr=0,this.nonce=i.nonce,this.key=i.key,this.container=i.container,this.prepend=i.prepend,this.insertionPoint=i.insertionPoint,this.before=null}var n=e.prototype;return n.hydrate=function(i){i.forEach(this._insertTag)},n.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag((function(l){var c=document.createElement("style");return c.setAttribute("data-emotion",l.key),l.nonce!==void 0&&c.setAttribute("nonce",l.nonce),c.appendChild(document.createTextNode("")),c.setAttribute("data-s",""),c})(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var s=(function(l){if(l.sheet)return l.sheet;for(var c=0;c<document.styleSheets.length;c++)if(document.styleSheets[c].ownerNode===l)return document.styleSheets[c]})(r);try{s.insertRule(i,s.cssRules.length)}catch{}}else r.appendChild(document.createTextNode(i));this.ctr++},n.flush=function(){this.tags.forEach((function(i){var r;return(r=i.parentNode)==null?void 0:r.removeChild(i)})),this.tags=[],this.ctr=0},e})(),$1="-ms-",T$e="-moz-",Ja="-webkit-",YSt="comm",twe="rule",nwe="decl",GSt="@keyframes",Pun=Math.abs,gne=String.fromCharCode,Mun=Object.assign;function qSt(e){return e.trim()}function es(e,n,i){return e.replace(n,i)}function Q5e(e,n){return e.indexOf(n)}function Gu(e,n){return 0|e.charCodeAt(n)}function $z(e,n,i){return e.slice(n,i)}function p5(e){return e.length}function iwe(e){return e.length}function UV(e,n){return n.push(e),e}var fne=1,dT=1,KSt=0,ym=0,Xc=0,gL="";function xne(e,n,i,r,s,l,c){return{value:e,root:n,parent:i,type:r,props:s,children:l,line:fne,column:dT,length:c,return:""}}function bB(e,n){return Mun(xne("",null,null,"",null,null,0),e,{length:-e.length},n)}function A0(){return Xc=ym<KSt?Gu(gL,ym++):0,dT++,Xc===10&&(dT=1,fne++),Xc}function X5(){return Gu(gL,ym)}function lK(){return ym}function qN(e,n){return $z(gL,e,n)}function Ez(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 ZSt(e){return fne=dT=1,KSt=p5(gL=e),ym=0,[]}function JSt(e){return gL="",e}function cK(e){return qSt(qN(ym-1,Y5e(e===91?e+2:e===40?e+1:e)))}function Oun(e){for(;(Xc=X5())&&Xc<33;)A0();return Ez(e)>2||Ez(Xc)>3?"":" "}function Fun(e,n){for(;--n&&A0()&&!(Xc<48||Xc>102||Xc>57&&Xc<65||Xc>70&&Xc<97););return qN(e,lK()+(n<6&&X5()==32&&A0()==32))}function Y5e(e){for(;A0();)switch(Xc){case e:return ym;case 34:case 39:e!==34&&e!==39&&Y5e(Xc);break;case 40:e===41&&Y5e(e);break;case 92:A0()}return ym}function Run(e,n){for(;A0()&&e+Xc!==57&&(e+Xc!==84||X5()!==47););return"/*"+qN(n,ym-1)+"*"+gne(e===47?e:A0())}function zun(e){for(;!Ez(X5());)A0();return qN(e,ym)}function Nun(e){return JSt(dK("",null,null,null,[""],e=ZSt(e),0,[0],e))}function dK(e,n,i,r,s,l,c,d,u){for(var p=0,h=0,g=c,f=0,x=0,y=0,b=1,w=1,C=1,v=0,A="",S=s,$=l,j=r,E=A;w;)switch(y=v,v=A0()){case 40:if(y!=108&&Gu(E,g-1)==58){Q5e(E+=es(cK(v),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:E+=cK(v);break;case 9:case 10:case 13:case 32:E+=Oun(y);break;case 92:E+=Fun(lK()-1,7);continue;case 47:switch(X5()){case 42:case 47:UV(_un(Run(A0(),lK()),n,i),u);break;default:E+="/"}break;case 123*b:d[p++]=p5(E)*C;case 125*b:case 59:case 0:switch(v){case 0:case 125:w=0;case 59+h:C==-1&&(E=es(E,/\f/g,"")),x>0&&p5(E)-g&&UV(x>32?B$e(E+";",r,i,g-1):B$e(es(E," ","")+";",r,i,g-2),u);break;case 59:E+=";";default:if(UV(j=L$e(E,n,i,p,h,s,d,A,S=[],$=[],g),l),v===123)if(h===0)dK(E,n,j,j,S,l,g,d,$);else switch(f===99&&Gu(E,3)===110?100:f){case 100:case 108:case 109:case 115:dK(e,j,j,r&&UV(L$e(e,j,j,0,0,s,d,A,s,S=[],g),$),s,$,g,d,r?S:$);break;default:dK(E,j,j,j,[""],$,0,d,$)}}p=h=x=0,b=C=1,A=E="",g=c;break;case 58:g=1+p5(E),x=y;default:if(b<1){if(v==123)--b;else if(v==125&&b++==0&&(Xc=ym>0?Gu(gL,--ym):0,dT--,Xc===10&&(dT=1,fne--),Xc==125))continue}switch(E+=gne(v),v*b){case 38:C=h>0?1:(E+="\f",-1);break;case 44:d[p++]=(p5(E)-1)*C,C=1;break;case 64:X5()===45&&(E+=cK(A0())),f=X5(),h=g=p5(A=E+=zun(lK())),v++;break;case 45:y===45&&p5(E)==2&&(b=0)}}return l}function L$e(e,n,i,r,s,l,c,d,u,p,h){for(var g=s-1,f=s===0?l:[""],x=iwe(f),y=0,b=0,w=0;y<r;++y)for(var C=0,v=$z(e,g+1,g=Pun(b=c[y])),A=e;C<x;++C)(A=qSt(b>0?f[C]+" "+v:es(v,/&\f/g,f[C])))&&(u[w++]=A);return xne(e,n,i,s===0?twe:d,u,p,h)}function _un(e,n,i){return xne(e,n,i,YSt,gne(Xc),$z(e,2,-2),0)}function B$e(e,n,i,r){return xne(e,n,i,nwe,$z(e,0,r),$z(e,r+1,-1),r)}function wD(e,n){for(var i="",r=iwe(e),s=0;s<r;s++)i+=n(e[s],s,e,n)||"";return i}function Vun(e,n,i,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case nwe:return e.return=e.return||e.value;case YSt:return"";case GSt:return e.return=e.value+"{"+wD(e.children,r)+"}";case twe:e.value=e.props.join(",")}return p5(i=wD(e.children,r))?e.return=e.value+"{"+i+"}":""}function Hun(e){return function(n){n.root||(n=n.return)&&e(n)}}var Uun=function(e,n,i){for(var r=0,s=0;r=s,s=X5(),r===38&&s===12&&(n[i]=1),!Ez(s);)A0();return qN(e,ym)},Wun=function(e,n){return JSt((function(i,r){var s=-1,l=44;do switch(Ez(l)){case 0:l===38&&X5()===12&&(r[s]=1),i[s]+=Uun(ym-1,r,s);break;case 2:i[s]+=cK(l);break;case 4:if(l===44){i[++s]=X5()===58?"&\f":"",r[s]=i[s].length;break}default:i[s]+=gne(l)}while(l=A0());return i})(ZSt(e),n))},P$e=new WeakMap,Qun=function(e){if(e.type==="rule"&&e.parent&&!(e.length<1)){for(var n=e.value,i=e.parent,r=e.column===i.column&&e.line===i.line;i.type!=="rule";)if(!(i=i.parent))return;if((e.props.length!==1||n.charCodeAt(0)===58||P$e.get(i))&&!r){P$e.set(e,!0);for(var s=[],l=Wun(n,s),c=i.props,d=0,u=0;d<l.length;d++)for(var p=0;p<c.length;p++,u++)e.props[u]=s[d]?l[d].replace(/&\f/g,c[p]):c[p]+" "+l[d]}}},Yun=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}};function XSt(e,n){switch((function(i,r){return 45^Gu(i,0)?(((r<<2^Gu(i,0))<<2^Gu(i,1))<<2^Gu(i,2))<<2^Gu(i,3):0})(e,n)){case 5103:return Ja+"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 Ja+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ja+e+T$e+e+$1+e+e;case 6828:case 4268:return Ja+e+$1+e+e;case 6165:return Ja+e+$1+"flex-"+e+e;case 5187:return Ja+e+es(e,/(\w+).+(:[^]+)/,Ja+"box-$1$2"+$1+"flex-$1$2")+e;case 5443:return Ja+e+$1+"flex-item-"+es(e,/flex-|-self/,"")+e;case 4675:return Ja+e+$1+"flex-line-pack"+es(e,/align-content|flex-|-self/,"")+e;case 5548:return Ja+e+$1+es(e,"shrink","negative")+e;case 5292:return Ja+e+$1+es(e,"basis","preferred-size")+e;case 6060:return Ja+"box-"+es(e,"-grow","")+Ja+e+$1+es(e,"grow","positive")+e;case 4554:return Ja+es(e,/([^-])(transform)/g,"$1"+Ja+"$2")+e;case 6187:return es(es(es(e,/(zoom-|grab)/,Ja+"$1"),/(image-set)/,Ja+"$1"),e,"")+e;case 5495:case 3959:return es(e,/(image-set\([^]*)/,Ja+"$1$`$1");case 4968:return es(es(e,/(.+:)(flex-)?(.*)/,Ja+"box-pack:$3"+$1+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ja+e+e;case 4095:case 3583:case 4068:case 2532:return es(e,/(.+)-inline(.+)/,Ja+"$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(p5(e)-1-n>6)switch(Gu(e,n+1)){case 109:if(Gu(e,n+4)!==45)break;case 102:return es(e,/(.+:)(.+)-([^]+)/,"$1"+Ja+"$2-$3$1"+T$e+(Gu(e,n+3)==108?"$3":"$2-$3"))+e;case 115:return~Q5e(e,"stretch")?XSt(es(e,"stretch","fill-available"),n)+e:e}break;case 4949:if(Gu(e,n+1)!==115)break;case 6444:switch(Gu(e,p5(e)-3-(~Q5e(e,"!important")&&10))){case 107:return es(e,":",":"+Ja)+e;case 101:return es(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ja+(Gu(e,14)===45?"inline-":"")+"box$3$1"+Ja+"$2$3$1"+$1+"$2box$3")+e}break;case 5936:switch(Gu(e,n+11)){case 114:return Ja+e+$1+es(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ja+e+$1+es(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ja+e+$1+es(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ja+e+$1+e+e}return e}var Gun=[function(e,n,i,r){if(e.length>-1&&!e.return)switch(e.type){case nwe:e.return=XSt(e.value,e.length);break;case GSt:return wD([bB(e,{value:es(e.value,"@","@"+Ja)})],r);case twe:if(e.length)return(function(s,l){return s.map(l).join("")})(e.props,(function(s){switch((function(l,c){return(l=c.exec(l))?l[0]:l})(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return wD([bB(e,{props:[es(s,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return wD([bB(e,{props:[es(s,/:(plac\w+)/,":"+Ja+"input-$1")]}),bB(e,{props:[es(s,/:(plac\w+)/,":-moz-$1")]}),bB(e,{props:[es(s,/:(plac\w+)/,$1+"input-$1")]})],r)}return""}))}}],ekt=function(e){var n=e.key;if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,(function(x){x.getAttribute("data-emotion").indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))}))}var r,s=e.stylisPlugins||Gun,l={},c=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),(function(x){for(var y=x.getAttribute("data-emotion").split(" "),b=1;b<y.length;b++)l[y[b]]=!0;c.push(x)}));var d,u,p=[Qun,Yun],h=[Vun,Hun((function(x){u.insert(x)}))],g=(function(x){var y=iwe(x);return function(b,w,C,v){for(var A="",S=0;S<y;S++)A+=x[S](b,w,C,v)||"";return A}})(p.concat(s,h));d=function(x,y,b,w){u=b,(function(C){wD(Nun(C),g)})(x?x+"{"+y.styles+"}":y.styles),w&&(f.inserted[y.name]=!0)};var f={key:n,sheet:new Bun({key:n,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:l,registered:{},insert:d};return f.sheet.hydrate(c),f};function tkt(e){const{styles:n,defaultTheme:i={}}=e,r=typeof n=="function"?s=>n((function(l){return l==null||Object.keys(l).length===0})(s)?i:s):n;return t.jsx(GN,{styles:r})}const M$e=[];function Y9(e){return M$e[0]=e,(function(n,i,r){if(n.length===1&&typeof n[0]=="object"&&n[0]!==null&&n[0].styles!==void 0)return n[0];var s=!0,l="";D9=void 0;var c=n[0];c==null||c.raw===void 0?(s=!1,l+=KZ(r,i,c)):l+=c[0];for(var d=1;d<n.length;d++)l+=KZ(r,i,n[d]),s&&(l+=c[d]);S$e.lastIndex=0;for(var u,p="";(u=S$e.exec(l))!==null;)p+="-"+u[1];var h=(function(g){for(var f,x=0,y=0,b=g.length;b>=4;++y,b-=4)f=1540483477*(65535&(f=255&g.charCodeAt(y)|(255&g.charCodeAt(++y))<<8|(255&g.charCodeAt(++y))<<16|(255&g.charCodeAt(++y))<<24))+(59797*(f>>>16)<<16),x=1540483477*(65535&(f^=f>>>24))+(59797*(f>>>16)<<16)^1540483477*(65535&x)+(59797*(x>>>16)<<16);switch(b){case 3:x^=(255&g.charCodeAt(y+2))<<16;case 2:x^=(255&g.charCodeAt(y+1))<<8;case 1:x=1540483477*(65535&(x^=255&g.charCodeAt(y)))+(59797*(x>>>16)<<16)}return(((x=1540483477*(65535&(x^=x>>>13))+(59797*(x>>>16)<<16))^x>>>15)>>>0).toString(36)})(l)+p;return{name:h,styles:l,next:D9}})(M$e)}var O$e,F$e,R$e={exports:{}},Ds={};function qun(){if(O$e)return Ds;O$e=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),f=Symbol.for("react.view_transition"),x=Symbol.for("react.client.reference");function y(b){if(typeof b=="object"&&b!==null){var w=b.$$typeof;switch(w){case e:switch(b=b.type){case i:case s:case r:case u:case p:case f:return b;default:switch(b=b&&b.$$typeof){case c:case d:case g:case h:case l:return b;default:return w}}case n:return w}}}return Ds.ContextConsumer=l,Ds.ContextProvider=c,Ds.Element=e,Ds.ForwardRef=d,Ds.Fragment=i,Ds.Lazy=g,Ds.Memo=h,Ds.Portal=n,Ds.Profiler=s,Ds.StrictMode=r,Ds.Suspense=u,Ds.SuspenseList=p,Ds.isContextConsumer=function(b){return y(b)===l},Ds.isContextProvider=function(b){return y(b)===c},Ds.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},Ds.isForwardRef=function(b){return y(b)===d},Ds.isFragment=function(b){return y(b)===i},Ds.isLazy=function(b){return y(b)===g},Ds.isMemo=function(b){return y(b)===h},Ds.isPortal=function(b){return y(b)===n},Ds.isProfiler=function(b){return y(b)===s},Ds.isStrictMode=function(b){return y(b)===r},Ds.isSuspense=function(b){return y(b)===u},Ds.isSuspenseList=function(b){return y(b)===p},Ds.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===i||b===s||b===r||b===u||b===p||typeof b=="object"&&b!==null&&(b.$$typeof===g||b.$$typeof===h||b.$$typeof===c||b.$$typeof===l||b.$$typeof===d||b.$$typeof===x||b.getModuleId!==void 0)},Ds.typeOf=y,Ds}function Kun(){return F$e||(F$e=1,R$e.exports=qun()),R$e.exports}var nkt=Kun();function Xy(e){if(typeof e!="object"||e===null)return!1;const n=Object.getPrototypeOf(e);return!(n!==null&&n!==Object.prototype&&Object.getPrototypeOf(n)!==null||Symbol.toStringTag in e||Symbol.iterator in e)}function ikt(e){if(m.isValidElement(e)||nkt.isValidElementType(e)||!Xy(e))return e;const n={};return Object.keys(e).forEach((i=>{n[i]=ikt(e[i])})),n}function Y1(e,n,i={clone:!0}){const r=i.clone?{...e}:e;return Xy(e)&&Xy(n)&&Object.keys(n).forEach((s=>{m.isValidElement(n[s])||nkt.isValidElementType(n[s])?r[s]=n[s]:Xy(n[s])&&Object.prototype.hasOwnProperty.call(e,s)&&Xy(e[s])?r[s]=Y1(e[s],n[s],i):i.clone?r[s]=Xy(n[s])?ikt(n[s]):n[s]:r[s]=n[s]})),r}function Zun(e){const{values:n={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:i="px",step:r=5,...s}=e,l=(h=>{const g=Object.keys(h).map((f=>({key:f,val:h[f]})))||[];return g.sort(((f,x)=>f.val-x.val)),g.reduce(((f,x)=>({...f,[x.key]:x.val})),{})})(n),c=Object.keys(l);function d(h){return`@media (min-width:${typeof n[h]=="number"?n[h]:h}${i})`}function u(h){return`@media (max-width:${(typeof n[h]=="number"?n[h]:h)-r/100}${i})`}function p(h,g){const f=c.indexOf(g);return`@media (min-width:${typeof n[h]=="number"?n[h]:h}${i}) and (max-width:${(f!==-1&&typeof n[c[f]]=="number"?n[c[f]]:g)-r/100}${i})`}return{keys:c,values:l,up:d,down:u,between:p,only:function(h){return c.indexOf(h)+1<c.length?p(h,c[c.indexOf(h)+1]):d(h)},not:function(h){const g=c.indexOf(h);return g===0?d(c[1]):g===c.length-1?u(c[g]):p(h,c[c.indexOf(h)+1]).replace("@media","@media not all and")},unit:i,...s}}function z$e(e,n){if(!e.containerQueries)return n;const i=Object.keys(n).filter((r=>r.startsWith("@container"))).sort(((r,s)=>{const l=/min-width:\s*([0-9.]+)/;return+(r.match(l)?.[1]||0)-+(s.match(l)?.[1]||0)}));return i.length?i.reduce(((r,s)=>{const l=n[s];return delete r[s],r[s]=l,r}),{...n}):n}const Jun={borderRadius:4};function rR(e,n){return n?Y1(e,n,{clone:!1}):e}const yne={xs:0,sm:600,md:900,lg:1200,xl:1536},N$e={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${yne[e]}px)`},Xun={containerQueries:e=>({up:n=>{let i=typeof n=="number"?n:yne[n]||n;return typeof i=="number"&&(i=`${i}px`),e?`@container ${e} (min-width:${i})`:`@container (min-width:${i})`}})};function O7(e,n,i){const r=e.theme||{};if(Array.isArray(n)){const s=r.breakpoints||N$e;return n.reduce(((l,c,d)=>(l[s.up(s.keys[d])]=i(n[d]),l)),{})}if(typeof n=="object"){const s=r.breakpoints||N$e;return Object.keys(n).reduce(((l,c)=>{if((function(d,u){return u==="@"||u.startsWith("@")&&(d.some((p=>u.startsWith(`@${p}`)))||!!u.match(/^@\d/))})(s.keys,c)){const d=(function(u,p){const h=p.match(/^@([^/]+)?\/?(.+)?$/);if(!h)return null;const[,g,f]=h,x=Number.isNaN(+g)?g||0:+g;return u.containerQueries(f).up(x)})(r.containerQueries?r:Xun,c);d&&(l[d]=i(n[c],c))}else if(Object.keys(s.values||yne).includes(c))l[s.up(c)]=i(n[c],c);else{const d=c;l[d]=n[d]}return l}),{})}return i(n)}function _$e(e,n){return e.reduce(((i,r)=>{const s=i[r];return(!s||Object.keys(s).length===0)&&delete i[r],i}),n)}function tr(e){if(typeof e!="string")throw new Error(M7(7));return e.charAt(0).toUpperCase()+e.slice(1)}function bne(e,n,i=!0){if(!n||typeof n!="string")return null;if(e&&e.vars&&i){const r=`vars.${n}`.split(".").reduce(((s,l)=>s&&s[l]?s[l]:null),e);if(r!=null)return r}return n.split(".").reduce(((r,s)=>r&&r[s]!=null?r[s]:null),e)}function ZZ(e,n,i,r=i){let s;return s=typeof e=="function"?e(i):Array.isArray(e)?e[i]||r:bne(e,i)||r,n&&(s=n(s,r,e)),s}function Bc(e){const{prop:n,cssProperty:i=e.prop,themeKey:r,transform:s}=e,l=c=>{if(c[n]==null)return null;const d=c[n],u=bne(c.theme,r)||{};return O7(c,d,(p=>{let h=ZZ(u,s,p);return p===h&&typeof p=="string"&&(h=ZZ(u,s,`${n}${p==="default"?"":tr(p)}`,p)),i===!1?h:{[i]:h}}))};return l.propTypes={},l.filterProps=[n],l}const e1n={m:"margin",p:"padding"},t1n={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},V$e={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},n1n=(function(e){const n={};return i=>(n[i]===void 0&&(n[i]=e(i)),n[i])})((e=>{if(e.length>2){if(!V$e[e])return[e];e=V$e[e]}const[n,i]=e.split(""),r=e1n[n],s=t1n[i]||"";return Array.isArray(s)?s.map((l=>r+l)):[r+s]})),okt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],rkt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function KN(e,n,i,r){const s=bne(e,n,!0)??i;return typeof s=="number"||typeof s=="string"?l=>typeof l=="string"?l:typeof s=="string"?s.startsWith("var(")&&l===0?0:s.startsWith("var(")&&l===1?s:`calc(${l} * ${s})`:s*l:Array.isArray(s)?l=>{if(typeof l=="string")return l;const c=Math.abs(l),d=s[c];return l>=0?d:typeof d=="number"?-d:typeof d=="string"&&d.startsWith("var(")?`calc(-1 * ${d})`:`-${d}`}:typeof s=="function"?s:()=>{}}function owe(e){return KN(e,"spacing",8)}function ZN(e,n){return typeof n=="string"||n==null?n:e(n)}function i1n(e,n,i,r){if(!n.includes(i))return null;const s=(function(l,c){return d=>l.reduce(((u,p)=>(u[p]=ZN(c,d),u)),{})})(n1n(i),r);return O7(e,e[i],s)}function akt(e,n){const i=owe(e.theme);return Object.keys(e).map((r=>i1n(e,n,r,i))).reduce(rR,{})}function rc(e){return akt(e,okt)}function ac(e){return akt(e,rkt)}function skt(e=8,n=owe({spacing:e})){if(e.mui)return e;const i=(...r)=>(r.length===0?[1]:r).map((s=>{const l=n(s);return typeof l=="number"?`${l}px`:l})).join(" ");return i.mui=!0,i}function wne(...e){const n=e.reduce(((r,s)=>(s.filterProps.forEach((l=>{r[l]=s})),r)),{}),i=r=>Object.keys(r).reduce(((s,l)=>n[l]?rR(s,n[l](r)):s),{});return i.propTypes={},i.filterProps=e.reduce(((r,s)=>r.concat(s.filterProps)),[]),i}function Mg(e){return typeof e!="number"?e:`${e}px solid`}function x2(e,n){return Bc({prop:e,themeKey:"borders",transform:n})}rc.propTypes={},rc.filterProps=okt,ac.propTypes={},ac.filterProps=rkt;const o1n=x2("border",Mg),r1n=x2("borderTop",Mg),a1n=x2("borderRight",Mg),s1n=x2("borderBottom",Mg),l1n=x2("borderLeft",Mg),c1n=x2("borderColor"),d1n=x2("borderTopColor"),u1n=x2("borderRightColor"),p1n=x2("borderBottomColor"),h1n=x2("borderLeftColor"),m1n=x2("outline",Mg),g1n=x2("outlineColor"),uK=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const n=KN(e.theme,"shape.borderRadius",4),i=r=>({borderRadius:ZN(n,r)});return O7(e,e.borderRadius,i)}return null};uK.propTypes={},uK.filterProps=["borderRadius"],wne(o1n,r1n,a1n,s1n,l1n,c1n,d1n,u1n,p1n,h1n,uK,m1n,g1n);const JZ=e=>{if(e.gap!==void 0&&e.gap!==null){const n=KN(e.theme,"spacing",8),i=r=>({gap:ZN(n,r)});return O7(e,e.gap,i)}return null};JZ.propTypes={},JZ.filterProps=["gap"];const XZ=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const n=KN(e.theme,"spacing",8),i=r=>({columnGap:ZN(n,r)});return O7(e,e.columnGap,i)}return null};XZ.propTypes={},XZ.filterProps=["columnGap"];const eJ=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const n=KN(e.theme,"spacing",8),i=r=>({rowGap:ZN(n,r)});return O7(e,e.rowGap,i)}return null};eJ.propTypes={},eJ.filterProps=["rowGap"];function CD(e,n){return n==="grey"?n:e}wne(JZ,XZ,eJ,Bc({prop:"gridColumn"}),Bc({prop:"gridRow"}),Bc({prop:"gridAutoFlow"}),Bc({prop:"gridAutoColumns"}),Bc({prop:"gridAutoRows"}),Bc({prop:"gridTemplateColumns"}),Bc({prop:"gridTemplateRows"}),Bc({prop:"gridTemplateAreas"}),Bc({prop:"gridArea"}));function u0(e){return e<=1&&e!==0?100*e+"%":e}wne(Bc({prop:"color",themeKey:"palette",transform:CD}),Bc({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:CD}),Bc({prop:"backgroundColor",themeKey:"palette",transform:CD}));const f1n=Bc({prop:"width",transform:u0}),rwe=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const n=i=>{const r=e.theme?.breakpoints?.values?.[i]||yne[i];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:u0(i)}};return O7(e,e.maxWidth,n)}return null};rwe.filterProps=["maxWidth"];const x1n=Bc({prop:"minWidth",transform:u0}),y1n=Bc({prop:"height",transform:u0}),b1n=Bc({prop:"maxHeight",transform:u0}),w1n=Bc({prop:"minHeight",transform:u0});Bc({prop:"size",cssProperty:"width",transform:u0}),Bc({prop:"size",cssProperty:"height",transform:u0});wne(f1n,rwe,x1n,y1n,b1n,w1n,Bc({prop:"boxSizing"}));const Cne={border:{themeKey:"borders",transform:Mg},borderTop:{themeKey:"borders",transform:Mg},borderRight:{themeKey:"borders",transform:Mg},borderBottom:{themeKey:"borders",transform:Mg},borderLeft:{themeKey:"borders",transform:Mg},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Mg},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:uK},color:{themeKey:"palette",transform:CD},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:CD},backgroundColor:{themeKey:"palette",transform:CD},p:{style:ac},pt:{style:ac},pr:{style:ac},pb:{style:ac},pl:{style:ac},px:{style:ac},py:{style:ac},padding:{style:ac},paddingTop:{style:ac},paddingRight:{style:ac},paddingBottom:{style:ac},paddingLeft:{style:ac},paddingX:{style:ac},paddingY:{style:ac},paddingInline:{style:ac},paddingInlineStart:{style:ac},paddingInlineEnd:{style:ac},paddingBlock:{style:ac},paddingBlockStart:{style:ac},paddingBlockEnd:{style:ac},m:{style:rc},mt:{style:rc},mr:{style:rc},mb:{style:rc},ml:{style:rc},mx:{style:rc},my:{style:rc},margin:{style:rc},marginTop:{style:rc},marginRight:{style:rc},marginBottom:{style:rc},marginLeft:{style:rc},marginX:{style:rc},marginY:{style:rc},marginInline:{style:rc},marginInlineStart:{style:rc},marginInlineEnd:{style:rc},marginBlock:{style:rc},marginBlockStart:{style:rc},marginBlockEnd:{style:rc},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:JZ},rowGap:{style:eJ},columnGap:{style:XZ},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:u0},maxWidth:{style:rwe},minWidth:{transform:u0},height:{transform:u0},maxHeight:{transform:u0},minHeight:{transform:u0},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"}},IS=(function(){function e(n,i,r,s){const l={[n]:i,theme:r},c=s[n];if(!c)return{[n]:i};const{cssProperty:d=n,themeKey:u,transform:p,style:h}=c;if(i==null)return null;if(u==="typography"&&i==="inherit")return{[n]:i};const g=bne(r,u)||{};return h?h(l):O7(l,i,(f=>{let x=ZZ(g,p,f);return f===x&&typeof f=="string"&&(x=ZZ(g,p,`${n}${f==="default"?"":tr(f)}`,f)),d===!1?x:{[d]:x}}))}return function n(i){const{sx:r,theme:s={},nested:l}=i||{};if(!r)return null;const c=s.unstable_sxConfig??Cne;function d(u){let p=u;if(typeof u=="function")p=u(s);else if(typeof u!="object")return u;if(!p)return null;const h=(function(x={}){return x.keys?.reduce(((y,b)=>(y[x.up(b)]={},y)),{})||{}})(s.breakpoints),g=Object.keys(h);let f=h;return Object.keys(p).forEach((x=>{const y=(function(b,w){return typeof b=="function"?b(w):b})(p[x],s);if(y!=null)if(typeof y=="object")if(c[x])f=rR(f,e(x,y,s,c));else{const b=O7({theme:s},y,(w=>({[x]:w})));(function(...w){const C=w.reduce(((A,S)=>A.concat(Object.keys(S))),[]),v=new Set(C);return w.every((A=>v.size===Object.keys(A).length))})(b,y)?f[x]=n({sx:y,theme:s,nested:!0}):f=rR(f,b)}else f=rR(f,e(x,y,s,c))})),!l&&s.modularCssLayers?{"@layer sx":z$e(s,_$e(g,f))}:z$e(s,_$e(g,f))}return Array.isArray(r)?r.map(d):d(r)}})();function C1n(e,n){const i=this;if(i.vars){if(!i.colorSchemes?.[e]||typeof i.getColorSchemeSelector!="function")return{};let r=i.getColorSchemeSelector(e);return r==="&"?n:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:n})}return i.palette.mode===e?n:{}}function awe(e={},...n){const{breakpoints:i={},palette:r={},spacing:s,shape:l={},...c}=e;let d=Y1({breakpoints:Zun(i),direction:"ltr",components:{},palette:{mode:"light",...r},spacing:skt(s),shape:{...Jun,...l}},c);return d=(function(u){const p=(x,y)=>x.replace("@media",y?`@container ${y}`:"@container");function h(x,y){x.up=(...b)=>p(u.breakpoints.up(...b),y),x.down=(...b)=>p(u.breakpoints.down(...b),y),x.between=(...b)=>p(u.breakpoints.between(...b),y),x.only=(...b)=>p(u.breakpoints.only(...b),y),x.not=(...b)=>{const w=p(u.breakpoints.not(...b),y);return w.includes("not all and")?w.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):w}}const g={},f=x=>(h(g,x),g);return h(f),{...u,containerQueries:f}})(d),d.applyStyles=C1n,d=n.reduce(((u,p)=>Y1(u,p)),d),d.unstable_sxConfig={...Cne,...c?.unstable_sxConfig},d.unstable_sx=function(u){return IS({sx:u,theme:this})},d}function G5e(e=null){const n=m.useContext(RSt);return!n||(function(i){return Object.keys(i).length===0})(n)?e:n}IS.filterProps=["sx"];const v1n=awe();function lkt(e=v1n){return G5e(e)}function H$e(e){const n=Y9(e);return e!==n&&n.styles?(n.styles.match(/^@layer\s+[^{]*$/)||(n.styles=`@layer global{${n.styles}}`),n):e}function ckt({styles:e,themeId:n,defaultTheme:i={}}){const r=lkt(i),s=n&&r[n]||r;let l=typeof e=="function"?e(s):e;return s.modularCssLayers&&(l=Array.isArray(l)?l.map((c=>H$e(typeof c=="function"?c(s):c))):H$e(l)),t.jsx(tkt,{styles:l})}const U$e=e=>e,A1n=(()=>{let e=U$e;return{configure(n){e=n},generate:n=>e(n),reset(){e=U$e}}})();function dkt(e){var n,i,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(n=0;n<s;n++)e[n]&&(i=dkt(e[n]))&&(r&&(r+=" "),r+=i)}else for(i in e)e[i]&&(r&&(r+=" "),r+=i);return r}function ir(){for(var e,n,i=0,r="",s=arguments.length;i<s;i++)(e=arguments[i])&&(n=dkt(e))&&(r&&(r+=" "),r+=n);return r}const S1n={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 ns(e,n,i="Mui"){const r=S1n[n];return r?`${i}-${r}`:`${A1n.generate(e)}-${n}`}function La(e,n,i="Mui"){const r={};return n.forEach((s=>{r[s]=ns(e,s,i)})),r}function ukt(e){const{variants:n,...i}=e,r={variants:n,style:Y9(i),isProcessed:!0};return r.style===i||n&&n.forEach((s=>{typeof s.style!="function"&&(s.style=Y9(s.style))})),r}const k1n=awe();function kse(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function yA(e,n){return n&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${n}{${String(e.styles)}}`),e}function j1n(e){return e?(n,i)=>i[e]:null}function pK(e,n,i){const r=typeof n=="function"?n(e):n;if(Array.isArray(r))return r.flatMap((s=>pK(e,s,i)));if(Array.isArray(r?.variants)){let s;if(r.isProcessed)s=i?yA(r.style,i):r.style;else{const{variants:l,...c}=r;s=i?yA(Y9(c),i):c}return pkt(e,r.variants,[s],i)}return r?.isProcessed?i?yA(Y9(r.style),i):r.style:i?yA(Y9(r),i):r}function pkt(e,n,i=[],r=void 0){let s;e:for(let l=0;l<n.length;l+=1){const c=n[l];if(typeof c.props=="function"){if(s??={...e,...e.ownerState,ownerState:e.ownerState},!c.props(s))continue}else for(const d in c.props)if(e[d]!==c.props[d]&&e.ownerState?.[d]!==c.props[d])continue e;typeof c.style=="function"?(s??={...e,...e.ownerState,ownerState:e.ownerState},i.push(r?yA(Y9(c.style(s)),r):c.style(s))):i.push(r?yA(Y9(c.style),r):c.style)}return i}function $1n(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function q5e(e,n,i=!1){const r={...n};for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)){const l=s;if(l==="components"||l==="slots")r[l]={...e[l],...r[l]};else if(l==="componentsProps"||l==="slotProps"){const c=e[l],d=n[l];if(d)if(c){r[l]={...d};for(const u in c)if(Object.prototype.hasOwnProperty.call(c,u)){const p=u;r[l][p]=q5e(c[p],d[p],i)}}else r[l]=d;else r[l]=c||{}}else l==="className"&&i&&n.className?r.className=ir(e?.className,n?.className):l==="style"&&i&&n.style?r.style={...e?.style,...n?.style}:r[l]===void 0&&(r[l]=e[l])}return r}const I0=typeof window<"u"?m.useLayoutEffect:m.useEffect;function swe(e,n=0,i=1){return(function(r,s=Number.MIN_SAFE_INTEGER,l=Number.MAX_SAFE_INTEGER){return Math.max(s,Math.min(r,l))})(e,n,i)}function u8(e){if(e.type)return e;if(e.charAt(0)==="#")return u8((function(l){l=l.slice(1);const c=new RegExp(`.{1,${l.length>=6?2:1}}`,"g");let d=l.match(c);return d&&d[0].length===1&&(d=d.map((u=>u+u))),d?`rgb${d.length===4?"a":""}(${d.map(((u,p)=>p<3?parseInt(u,16):Math.round(parseInt(u,16)/255*1e3)/1e3)).join(", ")})`:""})(e));const n=e.indexOf("("),i=e.substring(0,n);if(!["rgb","rgba","hsl","hsla","color"].includes(i))throw new Error(M7(9,e));let r,s=e.substring(n+1,e.length-1);if(i==="color"){if(s=s.split(" "),r=s.shift(),s.length===4&&s[3].charAt(0)==="/"&&(s[3]=s[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(r))throw new Error(M7(10,r))}else s=s.split(",");return s=s.map((l=>parseFloat(l))),{type:i,values:s,colorSpace:r}}const ZO=(e,n)=>{try{return(i=>{const r=u8(i);return r.values.slice(0,3).map(((s,l)=>r.type.includes("hsl")&&l!==0?`${s}%`:s)).join(" ")})(e)}catch{return e}};function vne(e){const{type:n,colorSpace:i}=e;let{values:r}=e;return n.includes("rgb")?r=r.map(((s,l)=>l<3?parseInt(s,10):s)):n.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=n.includes("color")?`${i} ${r.join(" ")}`:`${r.join(", ")}`,`${n}(${r})`}function hkt(e){e=u8(e);const{values:n}=e,i=n[0],r=n[1]/100,s=n[2]/100,l=r*Math.min(s,1-s),c=(p,h=(p+i/30)%12)=>s-l*Math.max(Math.min(h-3,9-h,1),-1);let d="rgb";const u=[Math.round(255*c(0)),Math.round(255*c(8)),Math.round(255*c(4))];return e.type==="hsla"&&(d+="a",u.push(n[3])),vne({type:d,values:u})}function K5e(e){let n=(e=u8(e)).type==="hsl"||e.type==="hsla"?u8(hkt(e)).values:e.values;return n=n.map((i=>(e.type!=="color"&&(i/=255),i<=.03928?i/12.92:((i+.055)/1.055)**2.4))),Number((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3))}function tJ(e,n){return e=u8(e),n=swe(n),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${n}`:e.values[3]=n,vne(e)}function Jw(e,n,i){try{return tJ(e,n)}catch{return e}}function Ane(e,n){if(e=u8(e),n=swe(n),e.type.includes("hsl"))e.values[2]*=1-n;else if(e.type.includes("rgb")||e.type.includes("color"))for(let i=0;i<3;i+=1)e.values[i]*=1-n;return vne(e)}function xs(e,n,i){try{return Ane(e,n)}catch{return e}}function Sne(e,n){if(e=u8(e),n=swe(n),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*n;else if(e.type.includes("rgb"))for(let i=0;i<3;i+=1)e.values[i]+=(255-e.values[i])*n;else if(e.type.includes("color"))for(let i=0;i<3;i+=1)e.values[i]+=(1-e.values[i])*n;return vne(e)}function ys(e,n,i){try{return Sne(e,n)}catch{return e}}function WV(e,n,i){try{return(function(r,s=.15){return K5e(r)>.5?Ane(r,s):Sne(r,s)})(e,n)}catch{return e}}const mkt=m.createContext(null);function lwe(){return m.useContext(mkt)}const E1n=typeof Symbol=="function"&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function I1n(e){const{children:n,theme:i}=e,r=lwe(),s=m.useMemo((()=>{const l=r===null?{...i}:(function(c,d){return typeof d=="function"?d(c):{...c,...d}})(r,i);return l!=null&&(l[E1n]=r!==null),l}),[i,r]);return t.jsx(mkt.Provider,{value:s,children:n})}const gkt=m.createContext();function D1n({value:e,...n}){return t.jsx(gkt.Provider,{value:e??!0,...n})}const kne=()=>m.useContext(gkt)??!1,fkt=m.createContext(void 0);function T1n({value:e,children:n}){return t.jsx(fkt.Provider,{value:e,children:n})}function L1n({props:e,name:n}){return(function(i){const{theme:r,name:s,props:l}=i;if(!r||!r.components||!r.components[s])return l;const c=r.components[s];return c.defaultProps?q5e(c.defaultProps,l,r.components.mergeClassNameAndStyle):c.styleOverrides||c.variants?l:q5e(c,l,r.components.mergeClassNameAndStyle)})({props:e,name:n,theme:{components:m.useContext(fkt)}})}let W$e=0;const Q$e={...csn}.useId;function jne(e){if(Q$e!==void 0){const n=Q$e();return e??n}return(function(n){const[i,r]=m.useState(n),s=n||i;return m.useEffect((()=>{i==null&&(W$e+=1,r(`mui-${W$e}`))}),[i]),s})(e)}const Y$e={};function G$e(e,n,i,r=!1){return m.useMemo((()=>{const s=e&&n[e]||n;if(typeof i=="function"){const l=i(s),c=e?{...n,[e]:l}:l;return r?()=>c:c}return e?{...n,[e]:i}:{...n,...i}}),[e,n,i,r])}function xkt(e){const{children:n,theme:i,themeId:r}=e,s=G5e(Y$e),l=lwe()||Y$e,c=G$e(r,s,i),d=G$e(r,l,i,!0),u=(r?c[r]:c).direction==="rtl",p=(function(h){const g=G5e(),f=jne()||"",{modularCssLayers:x}=h;let y="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return y=x&&g===null?typeof x=="string"?x.replace(/mui(?!\.)/g,y):`@layer ${y};`:"",I0((()=>{const b=document.querySelector("head");if(!b)return;const w=b.firstChild;if(y){if(w&&w.hasAttribute?.("data-mui-layer-order")&&w.getAttribute("data-mui-layer-order")===f)return;const C=document.createElement("style");C.setAttribute("data-mui-layer-order",f),C.textContent=y,b.prepend(C)}else b.querySelector(`style[data-mui-layer-order="${f}"]`)?.remove()}),[y,f]),y?t.jsx(ckt,{styles:y}):null})(c);return t.jsx(I1n,{theme:d,children:t.jsx(RSt.Provider,{value:c,children:t.jsx(D1n,{value:u,children:t.jsxs(T1n,{value:r?c[r].components:c.components,children:[p,n]})})})})}const q$e={theme:void 0},Z5e="mode",J5e="color-scheme",B1n="data-color-scheme";function P1n(){}const M1n=({key:e,storageWindow:n})=>(!n&&typeof window<"u"&&(n=window),{get(i){if(typeof window>"u")return;if(!n)return i;let r;try{r=n.localStorage.getItem(e)}catch{}return r||i},set:i=>{if(n)try{n.localStorage.setItem(e,i)}catch{}},subscribe:i=>{if(!n)return P1n;const r=s=>{const l=s.newValue;s.key===e&&i(l)};return n.addEventListener("storage",r),()=>{n.removeEventListener("storage",r)}}});function jse(){}function K$e(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Z$e(e,n){return e.mode==="light"||e.mode==="system"&&e.systemMode==="light"?n("light"):e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark"?n("dark"):void 0}function O1n(e){const{defaultMode:n="light",defaultLightColorScheme:i,defaultDarkColorScheme:r,supportedColorSchemes:s=[],modeStorageKey:l=Z5e,colorSchemeStorageKey:c=J5e,storageWindow:d=typeof window>"u"?void 0:window,storageManager:u=M1n,noSsr:p=!1}=e,h=s.join(","),g=s.length>1,f=m.useMemo((()=>u?.({key:l,storageWindow:d})),[u,l,d]),x=m.useMemo((()=>u?.({key:`${c}-light`,storageWindow:d})),[u,c,d]),y=m.useMemo((()=>u?.({key:`${c}-dark`,storageWindow:d})),[u,c,d]),[b,w]=m.useState((()=>{const I=f?.get(n)||n,D=x?.get(i)||i,B=y?.get(r)||r;return{mode:I,systemMode:K$e(I),lightColorScheme:D,darkColorScheme:B}})),[C,v]=m.useState(p||!g);m.useEffect((()=>{v(!0)}),[]);const A=(function(I){return Z$e(I,(D=>D==="light"?I.lightColorScheme:D==="dark"?I.darkColorScheme:void 0))})(b),S=m.useCallback((I=>{w((D=>{if(I===D.mode)return D;const B=I??n;return f?.set(B),{...D,mode:B,systemMode:K$e(B)}}))}),[f,n]),$=m.useCallback((I=>{I?typeof I=="string"?I&&!h.includes(I)?console.error(`\`${I}\` does not exist in \`theme.colorSchemes\`.`):w((D=>{const B={...D};return Z$e(D,(F=>{F==="light"&&(x?.set(I),B.lightColorScheme=I),F==="dark"&&(y?.set(I),B.darkColorScheme=I)})),B})):w((D=>{const B={...D},F=I.light===null?i:I.light,R=I.dark===null?r:I.dark;return F&&(h.includes(F)?(B.lightColorScheme=F,x?.set(F)):console.error(`\`${F}\` does not exist in \`theme.colorSchemes\`.`)),R&&(h.includes(R)?(B.darkColorScheme=R,y?.set(R)):console.error(`\`${R}\` does not exist in \`theme.colorSchemes\`.`)),B})):w((D=>(x?.set(i),y?.set(r),{...D,lightColorScheme:i,darkColorScheme:r})))}),[h,x,y,i,r]),j=m.useCallback((I=>{b.mode==="system"&&w((D=>{const B=I?.matches?"dark":"light";return D.systemMode===B?D:{...D,systemMode:B}}))}),[b.mode]),E=m.useRef(j);return E.current=j,m.useEffect((()=>{if(typeof window.matchMedia!="function"||!g)return;const I=(...B)=>E.current(...B),D=window.matchMedia("(prefers-color-scheme: dark)");return D.addListener(I),I(D),()=>{D.removeListener(I)}}),[g]),m.useEffect((()=>{if(g){const I=f?.subscribe((F=>{(!F||["light","dark","system"].includes(F))&&S(F||n)}))||jse,D=x?.subscribe((F=>{(!F||h.match(F))&&$({light:F})}))||jse,B=y?.subscribe((F=>{(!F||h.match(F))&&$({dark:F})}))||jse;return()=>{I(),D(),B()}}}),[$,S,h,n,d,g,f,x,y]),{...b,mode:C?b.mode:void 0,systemMode:C?b.systemMode:void 0,colorScheme:C?A:void 0,setMode:S,setColorScheme:$}}function F1n(e=""){function n(...i){if(!i.length)return"";const r=i[0];return typeof r!="string"||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${n(...i.slice(1))})`}return(i,...r)=>`var(--${e?`${e}-`:""}${i}${n(...r)})`}const J$e=(e,n,i,r=[])=>{let s=e;n.forEach(((l,c)=>{c===n.length-1?Array.isArray(s)?s[Number(l)]=i:s&&typeof s=="object"&&(s[l]=i):s&&typeof s=="object"&&(s[l]||(s[l]=r.includes(l)?[]:{}),s=s[l])}))};function $se(e,n){const{prefix:i,shouldSkipGeneratingVar:r}=n||{},s={},l={},c={};return((d,u,p)=>{(function h(g,f=[],x=[]){Object.entries(g).forEach((([y,b])=>{(!p||p&&!p([...f,y]))&&b!=null&&(typeof b=="object"&&Object.keys(b).length>0?h(b,[...f,y],Array.isArray(b)?[...x,y]:x):u([...f,y],b,x))}))})(d)})(e,((d,u,p)=>{if(!(typeof u!="string"&&typeof u!="number"||r&&r(d,u))){const h=`--${i?`${i}-`:""}${d.join("-")}`,g=((f,x)=>typeof x=="number"?["lineHeight","fontWeight","opacity","zIndex"].some((y=>f.includes(y)))||f[f.length-1].toLowerCase().includes("opacity")?x:`${x}px`:x)(d,u);Object.assign(s,{[h]:g}),J$e(l,d,`var(${h})`,p),J$e(c,d,`var(${h}, ${g})`,p)}}),(d=>d[0]==="vars")),{css:s,vars:l,varsWithDefaults:c}}function is(e,n,i=void 0){const r={};for(const s in e){const l=e[s];let c="",d=!0;for(let u=0;u<l.length;u+=1){const p=l[u];p&&(c+=(d===!0?"":" ")+n(p),d=!1,i&&i[p]&&(c+=" "+i[p]))}r[s]=c}return r}function Ese(e,n){return m.isValidElement(e)&&n.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}const Iz={black:"#000",white:"#fff"},R1n={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},z1n="#f3e5f5",N1n="#ce93d8",_1n="#ba68c8",V1n="#ab47bc",H1n="#9c27b0",U1n="#7b1fa2",W1n="#e57373",Q1n="#ef5350",Y1n="#f44336",X$e="#d32f2f",G1n="#c62828",q1n="#ffb74d",K1n="#ffa726",Z1n="#ff9800",J1n="#f57c00",X1n="#e65100",epn="#e3f2fd",tpn="#90caf9",eEe="#42a5f5",npn="#1976d2",ipn="#1565c0",opn="#4fc3f7",rpn="#29b6f6",apn="#03a9f4",tEe="#0288d1",spn="#01579b",lpn="#81c784",cpn="#66bb6a",dpn="#4caf50",upn="#388e3c",ppn="#2e7d32",hpn="#1b5e20";function ykt(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Iz.white,default:Iz.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const bkt=ykt();function wkt(){return{text:{primary:Iz.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Iz.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const X5e=wkt();function nEe(e,n,i,r){const s=r.light||r,l=r.dark||1.5*r;e[n]||(e.hasOwnProperty(i)?e[n]=e[i]:n==="light"?e.light=Sne(e.main,s):n==="dark"&&(e.dark=Ane(e.main,l)))}function iEe(e,n,i,r,s){const l=s.light||s,c=s.dark||1.5*s;n[i]||(n.hasOwnProperty(r)?n[i]=n[r]:i==="light"?n.light=`color-mix(in ${e}, ${n.main}, #fff ${(100*l).toFixed(0)}%)`:i==="dark"&&(n.dark=`color-mix(in ${e}, ${n.main}, #000 ${(100*c).toFixed(0)}%)`))}function cwe(e){const{mode:n="light",contrastThreshold:i=3,tonalOffset:r=.2,colorSpace:s,...l}=e,c=e.primary||(function(b="light"){return b==="dark"?{main:tpn,light:epn,dark:eEe}:{main:npn,light:eEe,dark:ipn}})(n),d=e.secondary||(function(b="light"){return b==="dark"?{main:N1n,light:z1n,dark:V1n}:{main:H1n,light:_1n,dark:U1n}})(n),u=e.error||(function(b="light"){return b==="dark"?{main:Y1n,light:W1n,dark:X$e}:{main:X$e,light:Q1n,dark:G1n}})(n),p=e.info||(function(b="light"){return b==="dark"?{main:rpn,light:opn,dark:tEe}:{main:tEe,light:apn,dark:spn}})(n),h=e.success||(function(b="light"){return b==="dark"?{main:cpn,light:lpn,dark:upn}:{main:ppn,light:dpn,dark:hpn}})(n),g=e.warning||(function(b="light"){return b==="dark"?{main:K1n,light:q1n,dark:J1n}:{main:"#ed6c02",light:Z1n,dark:X1n}})(n);function f(b){return s?(function(C){return`oklch(from ${C} var(--__l) 0 h / var(--__a))`})(b):(function(C,v){const A=K5e(C),S=K5e(v);return(Math.max(A,S)+.05)/(Math.min(A,S)+.05)})(b,X5e.text.primary)>=i?X5e.text.primary:bkt.text.primary}const x=({color:b,name:w,mainShade:C=500,lightShade:v=300,darkShade:A=700})=>{if(!(b={...b}).main&&b[C]&&(b.main=b[C]),!b.hasOwnProperty("main"))throw new Error(M7(11,w?` (${w})`:"",C));if(typeof b.main!="string")throw new Error(M7(12,w?` (${w})`:"",JSON.stringify(b.main)));return s?(iEe(s,b,"light",v,r),iEe(s,b,"dark",A,r)):(nEe(b,"light",v,r),nEe(b,"dark",A,r)),b.contrastText||(b.contrastText=f(b.main)),b};let y;return n==="light"?y=ykt():n==="dark"&&(y=wkt()),Y1({common:{...Iz},mode:n,primary:x({color:c,name:"primary"}),secondary:x({color:d,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:x({color:u,name:"error"}),warning:x({color:g,name:"warning"}),info:x({color:p,name:"info"}),success:x({color:h,name:"success"}),grey:R1n,contrastThreshold:i,getContrastText:f,augmentColor:x,tonalOffset:r,...y},l)}function mpn(e){const n={};return Object.entries(e).forEach((i=>{const[r,s]=i;typeof s=="object"&&(n[r]=`${s.fontStyle?`${s.fontStyle} `:""}${s.fontVariant?`${s.fontVariant} `:""}${s.fontWeight?`${s.fontWeight} `:""}${s.fontStretch?`${s.fontStretch} `:""}${s.fontSize||""}${s.lineHeight?`/${s.lineHeight} `:""}${s.fontFamily||""}`)})),n}function gpn(e,n){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...n}}function fpn(e){return Math.round(1e5*e)/1e5}const oEe={textTransform:"uppercase"},rEe='"Roboto", "Helvetica", "Arial", sans-serif';function Ckt(e,n){const{fontFamily:i=rEe,fontSize:r=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:d=700,htmlFontSize:u=16,allVariants:p,pxToRem:h,...g}=typeof n=="function"?n(e):n,f=r/14,x=h||(w=>w/u*f+"rem"),y=(w,C,v,A,S)=>({fontFamily:i,fontWeight:w,fontSize:x(C),lineHeight:v,...i===rEe?{letterSpacing:`${fpn(A/C)}em`}:{},...S,...p}),b={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(c,14,1.75,.4,oEe),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,oEe),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Y1({htmlFontSize:u,pxToRem:x,fontFamily:i,fontSize:r,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:d,...b},g,{clone:!1})}function Sl(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const xpn=["none",Sl(0,2,1,-1,0,1,1,0,0,1,3,0),Sl(0,3,1,-2,0,2,2,0,0,1,5,0),Sl(0,3,3,-2,0,3,4,0,0,1,8,0),Sl(0,2,4,-1,0,4,5,0,0,1,10,0),Sl(0,3,5,-1,0,5,8,0,0,1,14,0),Sl(0,3,5,-1,0,6,10,0,0,1,18,0),Sl(0,4,5,-2,0,7,10,1,0,2,16,1),Sl(0,5,5,-3,0,8,10,1,0,3,14,2),Sl(0,5,6,-3,0,9,12,1,0,3,16,2),Sl(0,6,6,-3,0,10,14,1,0,4,18,3),Sl(0,6,7,-4,0,11,15,1,0,4,20,3),Sl(0,7,8,-4,0,12,17,2,0,5,22,4),Sl(0,7,8,-4,0,13,19,2,0,5,24,4),Sl(0,7,9,-4,0,14,21,2,0,5,26,4),Sl(0,8,9,-5,0,15,22,2,0,6,28,5),Sl(0,8,10,-5,0,16,24,2,0,6,30,5),Sl(0,8,11,-5,0,17,26,2,0,6,32,5),Sl(0,9,11,-5,0,18,28,2,0,7,34,6),Sl(0,9,12,-6,0,19,29,2,0,7,36,6),Sl(0,10,13,-6,0,20,31,3,0,8,38,7),Sl(0,10,13,-6,0,21,33,3,0,8,40,7),Sl(0,10,14,-6,0,22,35,3,0,8,42,7),Sl(0,11,14,-7,0,23,36,3,0,9,44,8),Sl(0,11,15,-7,0,24,38,3,0,9,46,8)],ypn={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},vkt={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function aEe(e){return`${Math.round(e)}ms`}function bpn(e){if(!e)return 0;const n=e/36;return Math.min(Math.round(10*(4+15*n**.25+n/5)),3e3)}function wpn(e){const n={...ypn,...e.easing},i={...vkt,...e.duration};return{getAutoHeightDuration:bpn,create:(r=["all"],s={})=>{const{duration:l=i.standard,easing:c=n.easeInOut,delay:d=0,...u}=s;return(Array.isArray(r)?r:[r]).map((p=>`${p} ${typeof l=="string"?l:aEe(l)} ${c} ${typeof d=="string"?d:aEe(d)}`)).join(",")},...e,easing:n,duration:i}}const Cpn={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function vpn(e){return Xy(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Akt(e={}){const n={...e};return(function i(r){const s=Object.entries(r);for(let l=0;l<s.length;l++){const[c,d]=s[l];!vpn(d)||c.startsWith("unstable_")?delete r[c]:Xy(d)&&(r[c]={...d},i(r[c]))}})(n),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
3
3
|
|
|
4
4
|
const theme = ${JSON.stringify(n,null,2)};
|
|
5
5
|
|
|
@@ -10581,7 +10581,7 @@ To reactivate your account, please settle the outstanding balance. Contact suppo
|
|
|
10581
10581
|
padding-top: ${e=>Cm.ButtonContainerPaddingTop.valuePx(e.windowSize)};
|
|
10582
10582
|
`,Y5i=a.div``,G5i=a((e=>m.createElement("svg",{width:598,height:361,viewBox:"0 0 598 361",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},m.createElement("path",{d:"M3 42V10C3 5.58172 6.58172 2 11 2H43",stroke:"#FEFEFE",strokeWidth:3,strokeLinejoin:"round"}),m.createElement("path",{d:"M595 42V10C595 5.58172 591.418 2 587 2H555",stroke:"#FEFEFE",strokeWidth:3,strokeLinejoin:"round"}),m.createElement("path",{d:"M3 319V351C3 355.418 6.58172 359 11 359H43",stroke:"#FEFEFE",strokeWidth:3,strokeLinejoin:"round"}),m.createElement("path",{d:"M595 319V351C595 355.418 591.418 359 587 359H555",stroke:"#FEFEFE",strokeWidth:3,strokeLinejoin:"round"}),m.createElement("path",{d:"M160 164.999C160 163.344 161.05 162 162.344 162L232.656 162C233.95 162 235 163.344 235 164.999C235 166.655 233.95 167.999 232.656 167.999L162.344 167.999C161.05 167.999 160 166.655 160 164.999Z",fill:"#FEFEFE"}),m.createElement("path",{d:"M337.544 164.999C337.544 163.344 338.944 162 340.669 162L434.419 162C436.144 162 437.544 163.344 437.544 164.999C437.544 166.655 436.144 167.999 434.419 167.999L340.669 167.999C338.944 167.999 337.544 166.655 337.544 164.999Z",fill:"#FEFEFE"}),m.createElement("path",{d:"M261.544 165C261.544 163.344 262.594 162 263.888 162L309.2 162C310.494 162 311.544 163.344 311.544 165C311.544 166.656 310.494 168 309.2 168L263.888 168C262.594 168 261.544 166.656 261.544 165Z",fill:"#FEFEFE"}),m.createElement("path",{d:"M138 202C138 200.344 140.924 199 144.527 199L453.473 199C457.076 199 460 200.344 460 202C460 203.656 457.076 205 453.473 205L144.527 205C140.924 205 138 203.656 138 202Z",fill:"#FEFEFE"}),m.createElement("path",{d:"M138 276C138 274.344 140.924 273 144.527 273L453.473 273C457.076 273 460 274.344 460 276C460 277.656 457.076 279 453.473 279L144.527 279C140.924 279 138 277.656 138 276Z",fill:"#FEFEFE"}),m.createElement("path",{d:"M207 239C207 237.344 209.29 236 212.111 236L385.889 236C388.71 236 391 237.344 391 239C391 240.656 388.71 242 385.889 242L212.111 242C209.29 242 207 240.656 207 239Z",fill:"#FEFEFE"}),m.createElement("path",{d:"M3 113C234.19 51.6667 363.81 51.6667 595 113",stroke:"#FAFAFA",strokeWidth:5,strokeLinecap:"round"}))))`
|
|
10583
10583
|
transform: scale(1, 0.9);
|
|
10584
|
-
`,q5i=a(dl)``,gqe="application/pdf",Qzt=["image/jpg","image/jpeg","image/png","image/webp","image/bmp"],K5i={useWebWorker:!0,maxWidthOrHeight:1920,initialQuality:.92,maxSizeMB:2};async function Z5i(e,n,i){const r=e.getViewport({scale:n}),s=document.createElement("canvas");s.width=Math.floor(r.width),s.height=Math.floor(r.height);const l=s.getContext("2d");if(l==null)throw new Error("Could not get canvas 2d context");return await e.render({canvasContext:l,viewport:r}).promise,(await(function(c,d){return new Promise(((u,p)=>{c.toBlob((h=>{h!=null?u(h):p(new Error("canvas.toBlob returned null"))}),"image/jpeg",d)}))})(s,i)).arrayBuffer()}async function J5i(e,n){const i=e instanceof File?e:new File([e],n,{type:e.type});if(e.type===gqe){const s=await(async function(l,c){const[{PDFDocument:d},u]=await Promise.all([Pd((()=>import("./pdf-lib-
|
|
10584
|
+
`,q5i=a(dl)``,gqe="application/pdf",Qzt=["image/jpg","image/jpeg","image/png","image/webp","image/bmp"],K5i={useWebWorker:!0,maxWidthOrHeight:1920,initialQuality:.92,maxSizeMB:2};async function Z5i(e,n,i){const r=e.getViewport({scale:n}),s=document.createElement("canvas");s.width=Math.floor(r.width),s.height=Math.floor(r.height);const l=s.getContext("2d");if(l==null)throw new Error("Could not get canvas 2d context");return await e.render({canvasContext:l,viewport:r}).promise,(await(function(c,d){return new Promise(((u,p)=>{c.toBlob((h=>{h!=null?u(h):p(new Error("canvas.toBlob returned null"))}),"image/jpeg",d)}))})(s,i)).arrayBuffer()}async function J5i(e,n){const i=e instanceof File?e:new File([e],n,{type:e.type});if(e.type===gqe){const s=await(async function(l,c){const[{PDFDocument:d},u]=await Promise.all([Pd((()=>import("./pdf-lib-BkS3YoMW.js").then((b=>b.i))),__vite__mapDeps([0,1,2])),Pd((()=>import("./pdf-Da5t4yqS.js").then((b=>b.i))),__vite__mapDeps([0,1,2])).then((b=>b.pdfjs))]),p=await l.arrayBuffer(),h=await u.getDocument({data:new Uint8Array(p)}).promise,g=h.numPages,f=await d.create();for(let b=1;b<=g;b++){const w=await h.getPage(b),C=await Z5i(w,1.5,.7),v=await f.embedJpg(new Uint8Array(C)),A=v.scale(1);f.addPage([A.width,A.height]).drawImage(v,{x:0,y:0,width:A.width,height:A.height})}const x=await f.save(),y=c.toLowerCase().endsWith(".pdf")?c:`${c}.pdf`;return new File([x],y,{type:gqe,lastModified:l.lastModified})})(i,n);return s.size<i.size?{blob:s,name:s.name}:{blob:e,name:n}}const r=await(async(s,l)=>{if(Qzt.includes(s.type)===!1)return s;const c=await Hu(s,K5i),d=c.type.split("/")[1],u=`${l.replace(/\.[^.]+$/,"")||"image"}.${d}`;return new File([c],u,{lastModified:s.lastModified,type:c.type})})(i,n);return{blob:r,name:r.name}}const X5i=({fileType:e="file",fileRef:n,name:i,value:r="",multiple:s=!1,acceptableTypes:l,onFileSizeError:c,onImageChange:d})=>t.jsx("input",{type:e,ref:n,name:i,value:r,size:1e3,"data-testid":Y("input-file-element-mobile",i),onChange:async u=>{const p=u.target.files?.[0],h=p?.size;p!=null&&h!=null?(c?.(!1),d(p),u.target.value=""):(c?.(!0),u.target.value="")},style:{display:"none"},accept:`${(l??"image/jpg, image/jpeg").toString()}`,multiple:s,capture:!0}),j_=({shouldDisplay:e,width:n=30,height:i=30,styles:r,animationInLoop:s=!1})=>{const[,l]=qCe(SOt),[c]=oa("MoneyTransferSuccess");return M.useEffect((()=>{e&&l(!0)}),[e,l]),e&&c!=null?t.jsx(qs,{style:{width:n,height:i,...r},play:!0,animationData:c,loop:s,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null},Qve=e=>m.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},m.createElement("path",{d:"M7.5055 4L1.5 9.54354L22.5 9.5435",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),m.createElement("path",{d:"M16.4945 19.7067L22.5 14.1632H1.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}));HSt.workerSrc=`//cdnjs.cloudflare.com/ajax/libs/pdf.js/${VSt}/pdf.worker.mjs`;const{common:fqe}=se.getLocalizedStrings(),xqe=(e,n,i)=>e.variant==="deleted"?"deleted":e.variant==="excluded"?"excluded":n!=null&&e.statementTransactionId===n||i!=null&&e.statementTransactionId===i?"hovered":e.variant??"default",yqe=(e,n,i)=>{const r=Array.from(e.querySelectorAll("[data-statement-transaction-id]"));for(const s of r){if(s.dataset.citationVariant==="excluded")continue;const l=s.getBoundingClientRect();if(n>=l.left&&n<=l.right&&i>=l.top&&i<=l.bottom)return s.dataset.statementTransactionId}},bqe=(e,n)=>n==null?void 0:e.find((i=>i.statementTransactionId===n))?.page,exi=(e,n,i="smooth")=>{const r=n??(d=>{let u=d.parentElement;for(;u!=null;){const{overflowY:p}=window.getComputedStyle(u);if((p==="auto"||p==="scroll")&&u.scrollHeight>u.clientHeight)return u;u=u.parentElement}return null})(e);if(r==null)return void e.scrollIntoView({behavior:i,block:"center"});const s=e.getBoundingClientRect(),l=r.getBoundingClientRect(),c=r.scrollTop+(s.top-l.top)-(r.clientHeight-s.height)/2;r.scrollTo({top:Math.max(0,c),behavior:i})};function wqe(e,n,i){const{minX:r,maxX:s,minY:l,maxY:c}=(function(d){const u=d.map((h=>h.x)),p=d.map((h=>h.y));return{maxX:Math.max(...u),maxY:Math.max(...p),minX:Math.min(...u),minY:Math.min(...p)}})(e);return{height:(c-l)/i*100,left:r/n*100,top:l/i*100,width:(s-r)/n*100}}function Jz(e){const[n,i]=m.useState(0),[r,s]=m.useState(void 0),[l,c]=m.useState(null),[d,u]=m.useState(void 0),p=fe(),h=m.useRef(null),g=m.useRef(null),f=m.useRef(void 0),x=e.highlightedCitations!=null&&e.highlightedCitations.length>0;m.useLayoutEffect((()=>{if(e.isFullScreen)return void s(void 0);const $=g.current;if($==null)return;const j=()=>{const I=Math.floor($.clientWidth);I>0&&s((D=>D===I?D:I))};j();const E=new ResizeObserver(j);return E.observe($),()=>{E.disconnect()}}),[e.isFullScreen,e.fileUrl]);const y=$=>{f.current!==$&&(f.current=$,u($),e.onCitationHover?.($))},b=$=>{x===!0&&y(yqe($.currentTarget,$.clientX,$.clientY))},w=()=>{x===!0&&y(void 0)},C=$=>{e.onCitationClick!=null&&e.onCitationClick(yqe($.currentTarget,$.clientX,$.clientY))},v=m.useCallback((()=>{if(e.highlightedCitations==null||e.highlightedCitations.length===0)return;const $=bqe(e.highlightedCitations,e.selectedStatementTransactionId);if($==null)return;const j=g.current?.querySelector(`[data-testid="pdf-page-${$}"]`);if(j!=null){const E=g.current,I=E!=null&&E.scrollHeight>E.clientHeight?E:null,D=(e.selectedStatementTransactionId!=null?j.querySelector(`[data-statement-transaction-id="${CSS.escape(String(e.selectedStatementTransactionId))}"]`):null)??j;if(((B,F)=>{const R=B.getBoundingClientRect(),_=F!=null?F.getBoundingClientRect():{top:0,left:0,bottom:window.innerHeight,right:window.innerWidth};return R.bottom>_.top&&R.top<_.bottom&&R.right>_.left&&R.left<_.right})(D,I))return;exi(D,I)}}),[e.highlightedCitations,e.selectedStatementTransactionId]);m.useEffect((()=>{if(e.highlightedCitations==null||e.highlightedCitations.length===0||e.selectedStatementTransactionId==null)return;v();const $=requestAnimationFrame(v),j=window.setTimeout(v,150);return()=>{cancelAnimationFrame($),window.clearTimeout(j)}}),[e.highlightedCitations,e.selectedStatementTransactionId,n,v]),m.useEffect((()=>{c(null),i(0)}),[e.fileUrl]);const A=$=>{if(!e.highlightedCitations)return null;const j=e.highlightedCitations.filter((E=>E.page===$));return j.length===0?null:t.jsx(Cqe,{children:j.flatMap(((E,I)=>{const D=wqe(E.polygon,E.pageWidth,E.pageHeight),B=xqe(E,e.selectedStatementTransactionId,d);return t.jsx(vqe,{"data-citation-variant":B,"data-statement-transaction-id":E.statementTransactionId,$variant:B,style:{height:`${D.height}%`,left:`${D.left}%`,top:`${D.top}%`,width:`${D.width}%`}},`${I}`)}))})},S=()=>{e.setShowFullScreenView(!0)};return t.jsxs(t.Fragment,{children:[t.jsx(nh,{fileRef:h,name:"invoice",onFileChange:$=>{if($.target.files!=null){const j=$.target.files[0];e.onUploadAttachment?.([j],[j.name])}},multiple:e.allowMultiFiles,sizeLimit:sS,onFileSizeError:$=>e.openSizeLimitPopup?.($)}),t.jsx(txi,{maxHeight:e.maxHeight??!1,$allowTextSelection:x,"data-statement-pdf-surface":"",onClick:()=>{x||S()},onDoubleClick:()=>{x&&S()},windowSize:p,"data-testid":Y("attachment-container",e.pdfTitle),children:t.jsxs(nxi,{isFullScreen:e.isFullScreen,ref:g,children:[e.showTitlebar===!0?t.jsxs(ixi,{children:[t.jsx(oxi,{children:e.pdfTitle}),e.showTitlebarIcon===!0?t.jsxs(rxi,{className:"actionIcons",children:[e.showReplaceIcon!==!1?t.jsx(Ge,{enterDelay:600,display:"flex",title:fqe.texts.replace,placement:"top-end",children:t.jsx(axi,{"data-testid":Y("replace-attachment",e.pdfTitle),onClick:$=>{$.stopPropagation(),h.current?.click()}})}):null,p==="small"?t.jsx(lxi,{"data-testid":e.deleteAttachmentDataTestId!=null?`${e.deleteAttachmentDataTestId}-mobile`:Y("delete-attachment-mobile",e.pdfTitle),onClick:$=>{$.stopPropagation(),e.onDeleteClick?.()}}):t.jsx(Ge,{enterDelay:600,display:"flex",title:fqe.delete,placement:"top",children:t.jsx(sxi,{onClick:$=>{$.stopPropagation(),e.onDeleteClick?.()},"data-testid":e.deleteAttachmentDataTestId??Y("delete-attachment",e.pdfTitle)})})]}):null]}):null,(()=>{const $=e.fileUrl.toLowerCase();return[".jpg",".jpeg",".png",".gif",".webp",".bmp"].some((j=>$.includes(j)))})()?t.jsx(hxi,{children:t.jsxs(mxi,{onMouseMove:b,onMouseLeave:w,onClick:C,children:[t.jsx(gxi,{src:e.fileUrl,alt:e.pdfTitle,onLoad:$=>{const j=$.currentTarget;c({width:j.naturalWidth,height:j.naturalHeight})}},e.fileUrl),(()=>{if(!e.highlightedCitations||l==null)return null;const $=e.highlightedCitations.filter((j=>j.page===1));return $.length===0?null:t.jsx(Cqe,{children:$.flatMap(((j,E)=>{const I=wqe(j.polygon,j.pageWidth,j.pageHeight),D=xqe(j,e.selectedStatementTransactionId,d);return t.jsx(vqe,{"data-citation-variant":D,"data-statement-transaction-id":j.statementTransactionId,$variant:D,style:{height:`${I.height}%`,left:`${I.left}%`,top:`${I.top}%`,width:`${I.width}%`}},`${E}`)}))})})()]})}):t.jsxs(U5e,{file:e.fileUrl,onLoadSuccess:({numPages:$})=>i($),onLoadError:()=>i(0),loading:t.jsx(uxi,{children:t.jsx(Yn,{size:"ExtraLarge",start:!0})}),className:"pdfDoc",children:[Array.from(new Array(n),(($,j)=>t.jsx(ai,{onClickAway:()=>e.onCrossClick?.(),children:t.jsxs(cxi,{windowSize:p,isFullScreen:e.isFullScreen,children:[t.jsxs(pxi,{"data-testid":`pdf-page-${j+1}`,isFullScreen:e.isFullScreen,onMouseMove:b,onMouseLeave:w,onClick:C,children:[t.jsx(W5e,{pageNumber:j+1,className:"reactPdfPage",...e.isFullScreen?{scale:1.5}:r!=null?{width:r}:{scale:1},error:t.jsx("div",{}),onRenderSuccess:()=>{(e.highlightedCitations!=null?bqe(e.highlightedCitations,e.selectedStatementTransactionId):void 0)===j+1&&v()}},`page_${j+1}`),A(j+1)]}),n!=j+1?t.jsx(dxi,{}):null]})},`page_${j+1}`))),t.jsx("div",{})]},e.fileUrl)]})})]})}const txi=a.div`
|
|
10585
10585
|
max-height: ${e=>e.maxHeight===!0?"650px":"auto"};
|
|
10586
10586
|
display: flex;
|
|
10587
10587
|
flex-direction: column;
|
|
@@ -23906,7 +23906,7 @@ to {
|
|
|
23906
23906
|
${({isMenuVisible:e})=>e===!1?Ie`
|
|
23907
23907
|
display: none;
|
|
23908
23908
|
`:null};
|
|
23909
|
-
`,HAe=e=>m.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},m.createElement("g",{filter:"url(#filter0_f_251_38441)"},m.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),m.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),m.createElement("g",{filter:"url(#filter1_d_251_38441)"},m.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),m.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),m.createElement("g",{clipPath:"url(#clip0_251_38441)"},m.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),m.createElement("defs",null,m.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},m.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),m.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),m.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),m.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},m.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),m.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),m.createElement("feOffset",{dy:4}),m.createElement("feGaussianBlur",{stdDeviation:2}),m.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),m.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),m.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),m.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),m.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#7135FF"}),m.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),m.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),m.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),m.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),m.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),m.createElement("stop",{offset:1,stopColor:"#EE609C"})),m.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#7135FF"}),m.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),m.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),m.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),m.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),m.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),m.createElement("stop",{offset:1,stopColor:"#EE609C"})),m.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#7135FF"}),m.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),m.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),m.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),m.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),m.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),m.createElement("stop",{offset:1,stopColor:"#EE609C"})),m.createElement("clipPath",{id:"clip0_251_38441"},m.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"})))),Qet=m.lazy((()=>Pd((()=>import("./index-
|
|
23909
|
+
`,HAe=e=>m.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},m.createElement("g",{filter:"url(#filter0_f_251_38441)"},m.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),m.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),m.createElement("g",{filter:"url(#filter1_d_251_38441)"},m.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),m.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),m.createElement("g",{clipPath:"url(#clip0_251_38441)"},m.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),m.createElement("defs",null,m.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},m.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),m.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),m.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),m.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},m.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),m.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),m.createElement("feOffset",{dy:4}),m.createElement("feGaussianBlur",{stdDeviation:2}),m.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),m.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),m.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),m.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),m.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#7135FF"}),m.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),m.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),m.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),m.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),m.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),m.createElement("stop",{offset:1,stopColor:"#EE609C"})),m.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#7135FF"}),m.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),m.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),m.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),m.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),m.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),m.createElement("stop",{offset:1,stopColor:"#EE609C"})),m.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#7135FF"}),m.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),m.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),m.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),m.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),m.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),m.createElement("stop",{offset:1,stopColor:"#EE609C"})),m.createElement("clipPath",{id:"clip0_251_38441"},m.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"})))),Qet=m.lazy((()=>Pd((()=>import("./index-GiMM0ckT.js")),__vite__mapDeps([3,0,1,2]))));function UAe({src:e,autoPlay:n=!0,config:i,controls:r=!0,height:s="100%",isModalOpen:l,loop:c=!1,muted:d=!1,showPlayButton:u=!1,style:p,thumbnail:h,width:g="100%",onEnded:f,onModalClose:x,onPlay:y}){const b=fe(),[w,C]=m.useState(!1);m.useEffect((()=>{l===!0&&n?C(!0):l===!1&&C(!1)}),[l,n]);const v={};i?.youtube&&(v.youtube=i.youtube);const A=()=>{C(!1),f?.(),l!=null&&x?.()},S=()=>{C(!0),y?.()};return l!=null?l?Aa.createPortal(t.jsx($Zi,{windowSize:b,role:"presentation",children:t.jsx(ai,{onClickAway:()=>{C(!1),x?.()},children:t.jsx(EZi,{windowSize:b,"data-testid":"video-player-modal",children:t.jsxs(IZi,{children:[u&&!w&&t.jsxs(t.Fragment,{children:[h!=null&&h!==""&&t.jsx(jZi,{src:h,alt:"Video thumbnail"}),t.jsx(SZi,{onClick:()=>{C(!0),y?.()},children:t.jsx(kZi,{windowSize:b})})]}),(!u||w)&&t.jsx(m.Suspense,{fallback:t.jsx("div",{style:{width:"100%",height:"100%"}}),children:t.jsx(Qet,{src:e,playing:w,controls:r,muted:d,loop:c,width:"100%",height:"100%",onEnded:A,onPlay:S,config:v})})]})})})}),document.body):null:t.jsx(m.Suspense,{fallback:t.jsx("div",{style:{width:g,height:s,...p}}),children:t.jsx(Qet,{src:e,playing:w,controls:r,muted:d,loop:c,width:g,height:s,style:p,light:!(!u||w)&&(h??!0),onEnded:A,onPlay:S,config:v})})}const AZi=ni`
|
|
23910
23910
|
0% {
|
|
23911
23911
|
transform: rotate(0deg);
|
|
23912
23912
|
}
|
|
@@ -85927,7 +85927,7 @@ ${OO.gap.expectedStartDate(u)}.`:f.description,y=p===!0||d!=null;return t.jsx($i
|
|
|
85927
85927
|
color: ${O.tagWarningColorLight};
|
|
85928
85928
|
`,P1s=a(wt)`
|
|
85929
85929
|
color: ${O.tagWarningColorLight};
|
|
85930
|
-
`,{expenseAutomation:{accountRecon:{statementProcessing:Zm}},common:Tq}=se.getLocalizedStrings(),yy="statement-processing-page";function M1s(){const[e]=oa("AiStar");return t.jsx(Xg,{$slotSize:o.sp4,children:e!=null?t.jsx(jL,{animationData:e,play:!0,loop:!0,slotSize:o.sp4}):t.jsx(H1s,{})})}function O1s({isUploadComplete:e,_storyCompletedSteps:n,_storyPageCount:i,accountMapping:r,isParsedDataReady:s,statementFile:l,onCancel:c,onContinueInBackground:d,onAllStepsComplete:u,onCompletedStepsChange:p}){const h=Zm.steps.length,g=Math.max(h-1,0),f=r!=null&&r.accounts.length>0,x=r?.isConfirmLoading===!0,y=r?.isConfirmCompleted===!0,[b,w]=m.useState(n??0),[C,v]=m.useState([]),[A,S]=m.useState(!1),$=m.useCallback(((ue,re)=>{v(ue),S(re)}),[]),[j,E]=m.useState((()=>h===0?0:(n??0)/h*100)),I=l?.signedUrl?.trim()??"",[D,B]=m.useState(i),[F,R]=m.useState(i!=null),[_,N]=m.useState(null),[T,P]=m.useState(0),L=m.useRef(null),V=m.useRef(!1),H=m.useRef(null),Q=m.useRef(!1);m.useEffect((()=>{if(i!=null)return B(i),void R(!0);if(I==="")return B(void 0),void R(!1);let ue=!1;return R(!1),(async function(re){if(re==null)return;if(frn(re))return 1;if(!(function(de){return de.contentType?.toLowerCase()==="application/pdf"||de.extension?.toLowerCase()===".pdf"})(re))return;const le=re.signedUrl.trim();if(le!=="")try{const de=await fetch(le);return de.ok?(await(await Pd((()=>import("./pdf-
|
|
85930
|
+
`,{expenseAutomation:{accountRecon:{statementProcessing:Zm}},common:Tq}=se.getLocalizedStrings(),yy="statement-processing-page";function M1s(){const[e]=oa("AiStar");return t.jsx(Xg,{$slotSize:o.sp4,children:e!=null?t.jsx(jL,{animationData:e,play:!0,loop:!0,slotSize:o.sp4}):t.jsx(H1s,{})})}function O1s({isUploadComplete:e,_storyCompletedSteps:n,_storyPageCount:i,accountMapping:r,isParsedDataReady:s,statementFile:l,onCancel:c,onContinueInBackground:d,onAllStepsComplete:u,onCompletedStepsChange:p}){const h=Zm.steps.length,g=Math.max(h-1,0),f=r!=null&&r.accounts.length>0,x=r?.isConfirmLoading===!0,y=r?.isConfirmCompleted===!0,[b,w]=m.useState(n??0),[C,v]=m.useState([]),[A,S]=m.useState(!1),$=m.useCallback(((ue,re)=>{v(ue),S(re)}),[]),[j,E]=m.useState((()=>h===0?0:(n??0)/h*100)),I=l?.signedUrl?.trim()??"",[D,B]=m.useState(i),[F,R]=m.useState(i!=null),[_,N]=m.useState(null),[T,P]=m.useState(0),L=m.useRef(null),V=m.useRef(!1),H=m.useRef(null),Q=m.useRef(!1);m.useEffect((()=>{if(i!=null)return B(i),void R(!0);if(I==="")return B(void 0),void R(!1);let ue=!1;return R(!1),(async function(re){if(re==null)return;if(frn(re))return 1;if(!(function(de){return de.contentType?.toLowerCase()==="application/pdf"||de.extension?.toLowerCase()===".pdf"})(re))return;const le=re.signedUrl.trim();if(le!=="")try{const de=await fetch(le);return de.ok?(await(await Pd((()=>import("./pdf-Da5t4yqS.js").then((ge=>ge.i))),__vite__mapDeps([0,1,2])).then((ge=>ge.pdfjs))).getDocument({data:new Uint8Array(await de.arrayBuffer())}).promise).numPages:void 0}catch{return}})({signedUrl:I,contentType:l?.contentType,extension:l?.extension}).then((re=>{ue||(B(re),R(!0))})),()=>{ue=!0}}),[i,I,l?.contentType,l?.extension]),m.useEffect((()=>{N(null)}),[I]),m.useEffect((()=>{!F||_!=null||N((function(ue){return ue==null||ue<=0?125:ue<=2?65:ue<=4?120:ue<=8?160:ue<=12?190:200})(D))}),[F,_,D]);const U=_??125,W=l8e(h),q=1e3*U,K=Math.floor(q/Math.max(W,1));m.useEffect((()=>{if(!e)return L.current=null,V.current=!1,P(0),void N(null);if(!V.current){const le=(function(de,ge,me){const xe=l8e(me);return ge*(Math.max(0,Math.min(de,me)-1)/xe)})(Math.max(n??0,b,1),U,h);L.current=Date.now()-1e3*le,V.current=!0}const ue=()=>{L.current!=null&&P(Math.floor((Date.now()-L.current)/1e3))};ue();const re=setInterval(ue,5e3);return()=>clearInterval(re)}),[e,U,h,n,b]);const J=_!=null?Math.max(0,_-T):0,te=_!=null?(function(ue,re,le){return re?null:ue<=0?{label:le.takingLongerThanExpected,showClock:!1}:ue<60?{label:le.timeRemainingSeconds(ue),showClock:!0}:{label:le.timeRemainingMinutes(Math.ceil(ue/60)),showClock:!0}})(J,b>=h,Zm):null;m.useEffect((()=>{p?.(b)}),[b,p]),m.useEffect((()=>{n!=null&&n>b&&w(n)}),[n,b]),m.useEffect((()=>{e&&b===0&&w(1)}),[e,b]);const ne=s===!0||f===!0&&b<g;m.useEffect((()=>{if(b===0||b>=h||s!==!0&&b>=g||f===!0&&b>=g)return;const ue=setTimeout((()=>{w((re=>re+1))}),ne?300:K);return()=>clearTimeout(ue)}),[b,s,f,g,ne,K,h]),m.useEffect((()=>{if(b!==h||u==null||f===!0)return;const ue=setTimeout(u,1e3);return()=>clearTimeout(ue)}),[b,f,u,h]);const X=f===!0&&b>=g,ie=m.useCallback((()=>{const ue=L.current??Date.now();d({completedSteps:b,startedAtMs:ue,totalDurationSeconds:U,accountMappings:X===!0?C:void 0})}),[b,X,C,d,U]);m.useEffect((()=>{if(X!==!0)return void(Q.current=!1);if(Q.current===!0)return;Q.current=!0;const ue=requestAnimationFrame((()=>{const re=H.current;re?.scrollTo({top:re.scrollHeight,behavior:"smooth"})}));return()=>cancelAnimationFrame(ue)}),[X]),m.useEffect((()=>{if(h===0)return void E(0);const ue=b/h*100;if(b===0)return void E(0);if(b>=h)return void E(100);if(s!==!0&&f!==!0&&b>=g||f===!0&&b>=g)return void E(ue);const re=(b+1)/h*100,le=ne?300:K,de=performance.now();let ge=0;const me=xe=>{const be=Math.min((xe-de)/le,1);E(ue+(re-ue)*be),be<1&&(ge=requestAnimationFrame(me))};return ge=requestAnimationFrame(me),()=>cancelAnimationFrame(ge)}),[b,s,f,g,ne,K,h]);const oe=Math.min(100,Math.round(j)),ae=b>=h?h-1:Math.min(b,Zm.stepSubtitles.length-1),he=r?.accounts.length??0,ce=X===!0&&he>0?r?.accountType==="bank"?Zm.accountMapping.headerSubtitleAccounts(he):Zm.accountMapping.headerSubtitle(he):Zm.stepSubtitles[ae];return t.jsxs(t.Fragment,{children:[t.jsxs(F1s,{ref:H,"data-testid":Y(yy,"container"),children:[t.jsxs(z1s,{"data-testid":Y(yy,"header"),children:[t.jsxs(N1s,{children:[t.jsxs(_1s,{children:[t.jsxs(V1s,{children:[t.jsx(M1s,{}),t.jsx(U1s,{children:Zm.headerTitle})]}),X===!0?t.jsxs(bwt,{"data-testid":Y(yy,"action-needed"),children:[t.jsx(G1s,{}),t.jsx(q1s,{children:Zm.actionNeeded})]}):te!=null?t.jsxs(bwt,{"data-testid":Y(yy,"time-remaining"),children:[te.showClock?t.jsx(Q1s,{}):null,t.jsx(Y1s,{children:te.label})]}):null]}),t.jsx(W1s,{children:ce})]}),t.jsxs(K1s,{children:[t.jsxs(Z1s,{children:[t.jsx(J1s,{children:Zm.stepProgressLabel(b,h)}),t.jsx(X1s,{children:`${oe}%`})]}),t.jsx(eps,{children:t.jsx(tps,{style:{width:`${j}%`}})})]})]}),t.jsx(R1s,{"data-testid":Y(yy,"steps"),children:Zm.steps.map(((ue,re)=>{const le=re+1,de=re===Zm.steps.length-1,ge=X===!0&&y!==!0&&de===!0,me=f===!0&&y===!0&&de===!0&&b>=g,xe=ge!==!0&&me!==!0&&le<=b,be=me===!0||ge!==!0&&le===b+1;return t.jsxs(nps,{"data-testid":Y(yy,`step-${le}`),children:[t.jsxs(ips,{children:[t.jsx(rps,{$isDone:xe,$isInProgress:be,children:le}),de?null:t.jsx(ops,{$isDone:xe})]}),t.jsx(pps,{children:ue}),t.jsx(hps,{children:ge===!0?t.jsx(cps,{"data-testid":Y(yy,"action-required"),children:t.jsx(dps,{children:Tq.texts.actionRequired})}):xe?t.jsx(aps,{}):be?t.jsxs(sps,{children:[t.jsx(ups,{}),t.jsx(lps,{children:Tq.aiAgentsActivatingPage.ledgerSection.workingPillLabel})]}):null})]},le)}))}),X===!0&&r!=null?t.jsx(p1s,{accounts:r.accounts,fileName:l?.fileName??"",ledgerAccounts:r.ledgerAccounts,accountType:r.accountType,initialMappings:r.initialMappings,statementOverrideWarningAccountIds:r.statementOverrideWarningAccountIds,unavailableLedgerAccountIds:r.unavailableLedgerAccountIds,onMappingsChange:$}):null]}),X===!0&&r!=null?t.jsx(Kn,{formId:yy,showCancel:!0,cancelBtn:{label:Zm.continueInBackground,onClick:ie,style:{width:"195px"}},primaryBtn:{label:Tq.confirm,isDisabled:A!==!0||x===!0||y===!0,isLoading:x,onClick:()=>{y===!0||x===!0||r.onConfirmMapping(C)},style:{width:"195px"}}}):t.jsx(Kn,{formId:yy,showCancel:!0,cancelBtn:{label:Tq.cancel,onClick:c,style:{width:"195px"}},primaryBtn:{label:Zm.continueInBackground,onClick:ie,variant:"secondary",style:{width:"195px"}}})]})}const F1s=a.div`
|
|
85931
85931
|
flex: 1;
|
|
85932
85932
|
display: flex;
|
|
85933
85933
|
flex-direction: column;
|
|
@@ -90847,7 +90847,7 @@ ${OO.gap.expectedStartDate(u)}.`:f.description,y=p===!0||d!=null;return t.jsx($i
|
|
|
90847
90847
|
display: flex;
|
|
90848
90848
|
min-height: 100%;
|
|
90849
90849
|
flex-direction: column;
|
|
90850
|
-
`,g9s=()=>{const[e,n]=m.useState((()=>Lr.getSignedInUser())),i=qp(),[r,s]=m.useState(!1),[l,c]=m.useState(!1),d=Gr((g=>PSt(g).fetchState)),u=Gr((g=>xm(g)));m.useEffect((()=>{const g=e!=null&&e.authProvider==="email"&&(!e?.firstName||!e?.lastName||!e.phoneNumber);s(g)}),[e]);const p=m.useCallback((()=>{const g=Lr.getSignedInUser();n((f=>JSON.stringify(f)!==JSON.stringify(g)?g:f))}),[]);m.useEffect((()=>(window.addEventListener("completeProfileDone",p),()=>{window.removeEventListener("completeProfileDone",p)})),[]),m.useEffect((()=>{u?.companyId!=null&&d==="Not-Started"&&i(Hdn(u.companyId))}),[d,u.companyId,i]);const h=m.useMemo((()=>!!e?.firstName&&!e?.phoneNumber),[e]);return Zt.jsxs(m.Fragment,{children:[l&&Zt.jsx(TAe,{showConfetti:!0}),e?.userEmail!=null&&e.authProvider==="email"?Zt.jsx(h9s,{userEmail:e.userEmail,isCompleteProfileOpen:r,closeDrawerHandler:()=>{s(!1),c(!0)},hasUserEnteredBasicDetails:h}):null]})},aAt="init-enter",f9s=m.memo((function({location:e,visitedUrl:n}){const{pathname:i}=e;return m.useLayoutEffect((()=>{const r=n.get(i||aAt);x9s(r!==void 0?r:0)})),null}),((e,n)=>{const{location:i,visitedUrl:r}=e,{location:s}=n,l=i.pathname||aAt,c=y9s();return r.set(l,c),!((s.pathname!==i.pathname||s.search!==i.search)&&s.hash==="")})),x9s=(e=0)=>window.requestAnimationFrame((()=>{window.scrollTo(0,e)})),y9s=()=>{let e=0;return document!=null&&document.documentElement!==null&&(e=document.documentElement.scrollTop),window.pageYOffset||e},Bm=e=>m.lazy((async()=>{const n=e.toString(),i=Lr.getForceRefreshedComponents(),r=new Set(i),s=Lr.isSignedIn(),l=r.has(n);try{const c=await e();return r.delete(n),s&&Lr.saveForceRefreshedComponents(Array.from(r)),c}catch(c){throw l||(r.add(n),s&&Lr.saveForceRefreshedComponents(Array.from(r)),location.reload()),c}})),_js=(e,n,i)=>{const r=O8e(e),s=ane(e),l=F8e(i,e);return(n||i||s||r||l)&&P8e(e.company)},tsn=globalThis.window?.location.href.startsWith("https://delhi-dot-zeni"),nsn=globalThis.window?.location.href.startsWith("https://pune-dot-zeni"),isn=globalThis.window?.location.href.startsWith("https://sunnyvale-dot-zeni"),osn=globalThis.window?.location.href.startsWith("https://dev.app.zeni.ai");function Dc(...e){const n=Pc==="DEV"||Pc==="QA";if(tsn||nsn||isn||osn)return void console.log(...e);const i=globalThis.window!==void 0&&(globalThis.window.location.hostname==="localhost"||globalThis.window.location.hostname==="127.0.0.1")&&globalThis.window.location.port==="3000";n&&i&&console.log(...e)}function rT(...e){const n=Pc==="DEV"||Pc==="QA";if(tsn||nsn||isn||osn)return void console.warn(...e);const i=globalThis.window!==void 0&&(globalThis.window.location.hostname==="localhost"||globalThis.window.location.hostname==="127.0.0.1")&&globalThis.window.location.port==="3000";n&&i&&console.warn(...e)}let QE=null,qO=!1;const Tc=Pc==="PROD"?"https://api.zeni.ai":Pc==="DEV"?"https://dev.api.zeni.ai":"https://qa.api.zeni.ai";function sAt(e){const n=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["months"]})),i=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["quarters"]})),r=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["years"]})),s=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["months"]})),l=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["quarters"]})),c=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["years"]})),d=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["months"]})),u=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["quarters"]})),p=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["years"]}));return[{url:`${Tc}/accounting/2.0/reports/profit_and_loss?query=${n}`,priority:"HIGH",reason:"Reports - Profit & Loss by Months (first load)",apiType:"reports"},{url:`${Tc}/accounting/2.0/reports/profit_and_loss?query=${i}`,priority:"HIGH",reason:"Reports - Profit & Loss by Quarters (first load)",apiType:"reports"},{url:`${Tc}/accounting/2.0/reports/profit_and_loss?query=${r}`,priority:"HIGH",reason:"Reports - Profit & Loss by Years (first load)",apiType:"reports"},{url:`${Tc}/accounting/2.0/reports/balance_sheet?query=${s}`,priority:"HIGH",reason:"Reports - Balance Sheet by Months (first load)",apiType:"reports"},{url:`${Tc}/accounting/2.0/reports/balance_sheet?query=${l}`,priority:"HIGH",reason:"Reports - Balance Sheet by Quarters (first load)",apiType:"reports"},{url:`${Tc}/accounting/2.0/reports/balance_sheet?query=${c}`,priority:"HIGH",reason:"Reports - Balance Sheet by Years (first load)",apiType:"reports"},{url:`${Tc}/accounting/2.0/reports/cash_flow?query=${d}`,priority:"HIGH",reason:"Reports - Cash Flow by Months (first load)",apiType:"reports"},{url:`${Tc}/accounting/2.0/reports/cash_flow?query=${u}`,priority:"HIGH",reason:"Reports - Cash Flow by Quarters (first load)",apiType:"reports"},{url:`${Tc}/accounting/2.0/reports/cash_flow?query=${p}`,priority:"HIGH",reason:"Reports - Cash Flow by Years (first load)",apiType:"reports"}]}const b9s={dashboard:function(e){return[...sAt()]},reports:sAt,aging:function(e){return[]},transactions:function(e){return[]},forecast:function(e){const n=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["months"],forecast_id:e.forecastId,is_forecast_vs_actual:!0})),i=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["quarters"],forecast_id:e.forecastId,is_forecast_vs_actual:!0})),r=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["years"],forecast_id:e.forecastId,is_forecast_vs_actual:!0}));return[{url:`${Tc}/accounting/2.0/reports/profit_and_loss?query=${n}`,priority:"HIGH",reason:"Forecast - Profit & Loss by Months (first load)",apiType:"forecast"},{url:`${Tc}/accounting/2.0/reports/profit_and_loss?query=${i}`,priority:"HIGH",reason:"Forecast - Profit & Loss by Quarters (first load)",apiType:"forecast"},{url:`${Tc}/accounting/2.0/reports/profit_and_loss?query=${r}`,priority:"HIGH",reason:"Forecast - Profit & Loss by Years (first load)",apiType:"forecast"}]},checking:function(e){const n=encodeURIComponent(JSON.stringify({is_include_deposit_accounts_summary:!0}));return[{url:`${Tc}/banking/1.0/deposit-accounts?query=${n}`,priority:"HIGH",reason:"Checking - Deposit Accounts (first load)",apiType:"checking"},{url:`${Tc}/pay/1.0/payment-accounts`,priority:"HIGH",reason:"Checking - Payment Accounts (first load)",apiType:"checking"},{url:`${Tc}/banking/1.0/baas/config`,priority:"HIGH",reason:"Checking - BAAS Config (first load)",apiType:"checking"}]},rewards:function(e){const n=encodeURIComponent(JSON.stringify({is_primary_refer_reward_plan:!0}));return[{url:`${Tc}/tenant/1.0/company-refer-reward-plan?query=${n}`,priority:"HIGH",reason:"Rewards Page - Rewards Plan (first load)",apiType:"rewards"},{url:`${Tc}/tenant/1.0/company-referrals`,priority:"HIGH",reason:"Rewards Page - Referrals (first load)",apiType:"rewards"}]},people:function(e){const n=encodeURIComponent(JSON.stringify({is_manager_candidate:!0})),{companyId:i}=e,r=encodeURIComponent(JSON.stringify({view:"passport"}));return[{url:`${Tc}/tenant/1.0/user-roles`,priority:"HIGH",reason:"People Page - User Roles (first load)",apiType:"people"},{url:`${Tc}/tenant/1.0/users?query=${n}`,priority:"HIGH",reason:"People Page - Users (first load)",apiType:"people"},{url:`${Tc}/accounting/1.0/classes`,priority:"HIGH",reason:"People Page - Classes (first load)",apiType:"people"},{url:`${Tc}/tenant/1.0/companies/${i}?query=${r}`,priority:"HIGH",reason:"People Page - Company Passport (first load)",apiType:"people"}]}};function lAt(e){const{currentPage:n,isRewardsFeatureEnabled:i,isPeopleTabVisible:r,isReportsPageVisible:s,isPageIndependent:l=!1}=e,c=(0,b9s[l?"dashboard":n])(e),d=c.filter((u=>i===!1&&u.reason.includes("Rewards")?(Dc(`[Prefetch Manager - Service Worker] ⚠️ Skipping rewards URL (feature disabled): ${u.url}`),!1):r===!1&&u.reason.includes("People")?(Dc(`[Prefetch Manager - Service Worker] ⚠️ Skipping people URL (feature disabled): ${u.url}`),!1):s!==!1||!u.reason.includes("Reports")||(Dc(`[Prefetch Manager - Service Worker] ⚠️ Skipping reports URL (feature disabled): ${u.url}`),!1)));return Dc(`[Prefetch Manager - Service Worker] 📋 Prefetch list: ${c.length} total, ${d.length} after filtering`),d}async function cAt(e,n=0,i){if("serviceWorker"in navigator)try{const r=await(async function(u=1e4){if(!("serviceWorker"in navigator))throw new Error("Service Worker not supported");if(navigator.serviceWorker.controller)return navigator.serviceWorker.ready;const p=await navigator.serviceWorker.ready;return navigator.serviceWorker.controller!=null?p:new Promise(((h,g)=>{const f=Date.now();let x=100;const y=()=>navigator.serviceWorker.controller?(C(),void h(p)):Date.now()-f>=u?(C(),void(p.active?(Dc("[Prefetch Manager - Service Worker] ⚠️ No controller but SW is active, proceeding anyway"),h(p)):g(new Error("Service Worker controller timeout")))):(x=Math.min(1.5*x,1e3),void(b=setTimeout(y,x)));let b;const w=()=>{navigator.serviceWorker.controller&&(C(),h(p))},C=()=>{clearTimeout(b),navigator.serviceWorker.removeEventListener("controllerchange",w)};navigator.serviceWorker.addEventListener("controllerchange",w),b=setTimeout(y,x)}))})(1e4),s=navigator.serviceWorker.controller||r.active;if(!s)return void rT("[Prefetch Manager - Service Worker] No active Service Worker available");const l=(function(u){const p={HIGH:0,MEDIUM:1,LOW:2};return u.sort(((h,g)=>p[h.priority]-p[g.priority]))})(e);Dc("[Prefetch Manager - Service Worker] 📋 Sending prefetch list to SW:",{total:l.length,high:l.filter((u=>u.priority==="HIGH")).length,medium:l.filter((u=>u.priority==="MEDIUM")).length,low:l.filter((u=>u.priority==="LOW")).length,batchSize:n>0?n:"disabled",expirationTime:i??"20 minutes",viaController:!!navigator.serviceWorker.controller}),l.forEach(((u,p)=>{Dc(`[Prefetch Manager - Service Worker] ${p+1}. [${u.priority}] ${u.reason} - ${u.url}`),Dc(` URL: ${u.url}`)}));const c=pne(),d={"zeni-session-id":c.sessionId,"zeni-user-id":c.userId,"zeni-tenant-id":c.tenantId};s.postMessage({type:"PREFETCH_URLS",payload:{urls:l.map((u=>({url:u.url,priority:u.priority,apiType:u.apiType}))),authHeaders:d,batchSize:n,expirationTime:i}}),Dc("[Prefetch Manager - Service Worker] ✅ Prefetch request sent to Service Worker")}catch(r){rT("[Prefetch Manager - Service Worker] Failed to send prefetch request:",r instanceof Error?r.message:"Unknown error")}else rT("[Prefetch Manager - Service Worker] Service Worker not supported in this browser")}function w9s({children:e,currentPage:n,tenantId:i,batchCalls:r=0,expirationTime:s,delay:l=1e3,enabled:c=!0,enableIdlePrefetch:d=!1,features:u,forecastId:p,idleTimeout:h=2e3,isPageIndependent:g=!1,isRefreshTriggerEnabled:f=!1}){const[x,y]=m.useState(!1),[b,w]=m.useState(!1),C=m.useRef(null),v=c2(),A=Lr.getSignedInUser(),{useFeatureGate:S}=ds(),{isFeatureEnabled:$}=S(Yr.isReferralFeatureEnabled),j=Dn(),E=u7(j?.loggedInUserRole??[]),I=Gr((_=>xm(_))),{isFeatureEnabled:D}=S(Yr.isDebitCardFeatureEnabled),B=F8e(D,I),F=O8e(I),R=B===!1&&F===!1;return m.useEffect((()=>{if(!c||x||!A||!i)return;const _=lAt({currentPage:n,userId:A.userId,tenantId:i,sessionId:A.zeniSessionId??"",features:u,forecastId:p,isRewardsFeatureEnabled:$,isPeopleTabVisible:E,isReportsPageVisible:R,companyId:I?.companyId??"",isPageIndependent:g}),N=g?"dashboard":n;if(_.length===0)return void Dc(`[Prefetch Provider - ${N}${g?" (base)":""}] No URLs to prefetch`);Dc(`[Prefetch Provider - ${N}${g?" (base)":""}] 📦 Generated ${_.length} URLs to prefetch`);const T=setTimeout((()=>{cAt(_,r,s).catch((P=>{rT(`[Prefetch Provider - ${N}${g?" (base)":""}] Prefetch failed:`,P)})),y(!0)}),l);return()=>clearTimeout(T)}),[c,x,A,i,n,u,p,$,E,R,I?.companyId,g,r,s,l,v.pathname]),m.useEffect((()=>{y(!1)}),[i,v.pathname]),m.useEffect((()=>{g||(y(!1),w(!1))}),[v.pathname,g]),m.useEffect((()=>{if(C.current&&(C.current(),C.current=null),!(c&&d&&A&&i)||b)return;Dc(`[Prefetch Provider - Idle] 👀 Setting up idle prefetch detection (timeout: ${h}ms)`);const _=(function(N){const{timeout:T=2e3,onIdle:P}=N;Dc(`[Idle Detection - Service Worker] 👀 Starting Idle Detection - Service Worker (timeout: ${T}ms)`);const L=()=>{qO&&(Dc("[Idle Detection - Service Worker] 🏃 User became active again"),qO=!1),QE&&clearTimeout(QE),QE=setTimeout((()=>{qO||(Dc("[Idle Detection - Service Worker] ⏱️ Browser is now IDLE"),qO=!0,P())}),T)},V=["mousedown","mousemove","keypress","scroll","touchstart","click"];return V.forEach((H=>{document.addEventListener(H,L,!0)})),L(),()=>{Dc("[Idle Detection - Service Worker] 🛑 Stopping Idle Detection - Service Worker"),QE&&(clearTimeout(QE),QE=null),V.forEach((H=>{document.removeEventListener(H,L,!0)})),qO=!1}})({timeout:h,onIdle:()=>{if(b)return;Dc("[Prefetch Provider - Idle] ⏱️ Browser is idle, fetching prefetch list with isIdleCallEnabled=true");const N=lAt({currentPage:n,userId:A.userId,tenantId:i,sessionId:A.zeniSessionId??"",features:u,forecastId:p,isRewardsFeatureEnabled:$,isPeopleTabVisible:E,isReportsPageVisible:R,companyId:I.companyId,isPageIndependent:g,isIdleCallEnabled:!0}),T=g?"dashboard":n;N.length!==0?(Dc(`[Prefetch Provider - Idle - ${T}${g?" (base)":""}] 📦 Generated ${N.length} URLs to prefetch on idle`),cAt(N,r,s).catch((P=>{rT(`[Prefetch Provider - Idle - ${T}${g?" (base)":""}] Idle prefetch failed:`,P)})),w(!0)):Dc(`[Prefetch Provider - Idle - ${T}${g?" (base)":""}] No URLs to prefetch on idle`)}});return C.current=_,()=>{C.current&&(C.current(),C.current=null)}}),[c,d,h,A,i,b,n,u,p,$,E,R,I.companyId,g,r,s]),m.useEffect((()=>{w(!1)}),[i]),m.useEffect((()=>{(function(){const _=performance.getEntriesByType("navigation");if(_.length>0)return _[0].type==="reload";const N=performance.navigation;return!(!N||typeof N.type!="number")&&N.type===1})()&&f&&(Dc("[Prefetch Provider] 🔄 Page refresh detected - will bypass cache for fresh data"),(async function(){if("serviceWorker"in navigator)try{const _=await navigator.serviceWorker.ready,N=navigator.serviceWorker.controller||_.active;if(!N)return;Dc("[Prefetch Provider] 🔄 Page refresh detected, notifying service worker to bypass cache"),N.postMessage({type:"PAGE_REFRESH",payload:{timestamp:Date.now()}})}catch(_){rT("[Prefetch Provider] Failed to notify service worker of refresh:",_)}})())}),[]),Zt.jsx(Zt.Fragment,{children:e})}function C9s({children:e,isPageIndependent:n=!1,batchCalls:i=0,enableIdlePrefetch:r=!1,expirationTime:s,idleTimeout:l=2e3,isRefreshTriggerEnabled:c=!1}){const d=c2(),u=Gr((y=>xm(y))),p=(h=d.pathname).includes("/dashboard")?"dashboard":h.includes("/reports")||h.includes("/financials")?"reports":h.includes("/aging")?"aging":h.includes("/transactions")?"transactions":h.includes("/forecast")?"forecast":h.includes("/checking")||h.includes("/bank-accounts")?"checking":h.includes("/rewards")?"rewards":null;var h;const g=u.tenantId,{useFeatureGate:f}=ds(),{isFeatureEnabled:x}=f(Yr.isServiceWorkerPrefetchingEnabled);return g&&p?Zt.jsx(w9s,{currentPage:p,tenantId:g,delay:5e3,enabled:x,batchCalls:i,enableIdlePrefetch:r,expirationTime:s,idleTimeout:l,isRefreshTriggerEnabled:c,isPageIndependent:n,children:e}):Zt.jsx(Zt.Fragment,{children:e})}function v9s(e,n){const i=Bi.extractUtmParamsFromUrl(n),r=new URLSearchParams(i).toString();if(!r)return e;const s=e.includes("?")?"&":"?";return`${e}${s}${r}`}const A9s=Bm((()=>Pd((()=>import("./DefaultTenantHome-BtUhfodL.js")),__vite__mapDeps([4,1,2,0,5,6,7,8])))),S9s=Bm((()=>Pd((()=>import("./AppDrawer-CBK1Z7HE.js")),__vite__mapDeps([9,1,2,0,5,10,11,12,7,8])))),dAt=Bm((()=>Pd((()=>import("./ScreenRoutes-BO3i74yN.js").then((e=>e.S))),__vite__mapDeps([13,0,1,2,5,14,6])))),k9s=Bm((()=>Pd((()=>import("./ConnectionAuthScreen-BwNANSHO.js")),__vite__mapDeps([15,1,2,0,5,16,17,10,11,18,8,19,20,21,22,23,24,6,7])))),j9s=Bm((()=>Pd((()=>import("./SignInScreen-cGrV6xax.js")),__vite__mapDeps([25,1,2,0,5,26,14,6,7,8])))),$9s=Bm((()=>Pd((()=>import("./MagicLinkSignInScreen-yMDI7WJH.js")),__vite__mapDeps([27,1,2,0,5,26,14,6,7,8])))),uAt=Bm((()=>Pd((()=>import("./NotFoundScreen-BQEX4Gy6.js")),__vite__mapDeps([28,1,2,0,5,7,8])))),E9s=Bm((()=>Pd((()=>import("./MagicLinkRoutes-CerOmGKe.js")),__vite__mapDeps([29,1,2,0,5,28,7,8])))),I9s=Bm((()=>Pd((()=>import("./PaymentLinkScreen-DRAYFHgx.js")),__vite__mapDeps([30,1,2,0,5,7,8])))),D9s=Bm((()=>Pd((()=>import("./WiseConfirmationScreen-Bfu8ww5t.js")),__vite__mapDeps([31,1,2,0,5,7,8])))),T9s=Bm((()=>Pd((()=>import("./HubSpotOAuthCallbackScreen-BrUxv_nJ.js")),__vite__mapDeps([32,1,2,0,5,7,8])))),L9s=Bm((()=>Pd((()=>import("./CustomerOnboardingAuthScreen-DACkSHVB.js")),__vite__mapDeps([33,1,2,0,18,8,19,20,21,22,5,23,7])))),B9s=Bm((()=>Pd((()=>import("./SignOutScreen-BIJRSo1i.js")),__vite__mapDeps([34,1,2,0,5,7,8])))),P9s=Bm((()=>Pd((()=>import("./OAuthConsentScreen-Cy4kXLe6.js")),__vite__mapDeps([35,1,2,0,5,7,8])))),M9s=()=>{const e=c2(),n=new URLSearchParams(e.search),i=n.get("question"),r=i?.replace(/^["']|["']$/g,"")??null,s=n.get("should_submit")==="true",l=v9s("/",n);return Zt.jsx(DAt,{to:l,replace:!0,state:{origin:"/aicfo",message:"",queryParams:{aiCfoQuestion:r,aiCfoShouldSubmit:s?"true":"false"}}})};function O9s(){const{isOpen:e}=Rk(),n=fgi(),{isAiCfoOpen:i,setIsAiCfoOpen:r}=Oje(),s=m.useRef(!1),l=m.useRef(i),c=m.useRef(!1);return m.useLayoutEffect((()=>{const d=i&&!l.current;l.current=i,d&&e&&(r(!1),n(),c.current=!0)}),[i,e,r,n]),m.useEffect((()=>{e&&!s.current&&(c.current=!1,i&&r(!1)),s.current=e}),[e,i,r]),m.useEffect((()=>{!e&&c.current&&(c.current=!1,r(!0))}),[e,r]),null}const F9s=({tenantEmailDomain:e,setTenantEmailDomain:n})=>{const i=Lr.isSignedIn(),r=Gr((T=>xm(T))),s=Lr.getSignedInUser(),l=i&&WN(s),c=Gr((T=>Udn(T))).tenantsBaseInOrder.map((T=>({companyId:T.companyId,tenantId:T.tenantId,companyName:T.companyName}))),d={userId:s?.userId??"",sessionId:s?.zeniSessionId??"",tenantId:r.tenantId??""},u=qp(),p=iu(["/:tenantEmailDomain/dashboard/*","/:tenantEmailDomain/dashboard"]),h=Ean(),g=Uje(),[f,x]=m.useState(!1),[y,b]=m.useState(null),w=m.useMemo((()=>({isAiCfoOpen:f,setIsAiCfoOpen:x,aiCfoSidePanelQuestionToSubmit:y,setAiCfoSidePanelQuestionToSubmit:b})),[f,y,x,b]),{useFeatureGate:C}=ds(),{isFeatureEnabled:v}=C(Yr.isAiCfoFileUploadEnabled),{isFeatureEnabled:A}=C(Yr.isBillPayCommentingEnabled),{isFeatureEnabled:S}=C(Yr.isReimbursementCommentingEnabled),{isFeatureEnabled:$}=C(Yr.isExpenseAutomationEnabled),{isFeatureEnabled:j}=C(Yr.isExpenseAutomationEnabledV2),{isFeatureEnabled:E}=C(Yr.isTreasuryCommentingEnabled),{isFeatureEnabled:I}=C(Yr.isCheckingCommentingEnabled),{isFeatureEnabled:D}=C(Yr.isTransactionCommentingEnabled),{isFeatureEnabled:B}=C(Yr.isCardsCommentingEnabled),F=A||S||l&&$||!l&&j||E||I||D||B;m.useEffect((()=>{!h&&f&&x(!1)}),[h,f]),m.useEffect((()=>{h||u(Wdn())}),[u,h]);const R=c2().pathname.includes("/collect-payment/"),_=Zt.jsx(R9s,{setTenantEmailDomain:n,isOnDashboard:p,userHasZeniAiCfoAccess:g,isAiCfoFileUploadEnabled:v});if(R)return Zt.jsx(TGe,{children:Zt.jsx(s5t,{children:Zt.jsx(S8e.Provider,{value:w,children:_})})});const N=Zt.jsxs(S8e.Provider,{value:w,children:[Zt.jsx(O9s,{}),Zt.jsxs(_9s,{children:[Zt.jsx(S9s,{tenantEmailDomain:e}),Zt.jsx(z9s,{children:_})]})]});return Zt.jsx(TGe,{children:r.tenantId!=null?Zt.jsx(m4a,{roomId:`dashboard_${r.companyId}`,authParams:d,users:[],companies:c,authUrlEndPoint:`${F8.tenantMicroServiceBaseUrl}/1.0/commenting/auth`,fetchZeniUsers:!0,commentingUsersUrlEndPoint:`${F8.tenantMicroServiceBaseUrl}/1.0/users/commenting-users`,isZeniUser:l,autoConnect:l||D||B,loggedInUser:s,withRoomProvider:!0,withThreadsProvider:F,threadsIndexStrategy:"roomThreads",filter:{application:"dashboard",companyId:r.companyId},children:N},r.tenantId):Zt.jsx(s5t,{children:N})})},R9s=({setTenantEmailDomain:e,isOnDashboard:n,userHasZeniAiCfoAccess:i,isAiCfoFileUploadEnabled:r})=>{const s=Gr((x=>x.tenantState.loggedInUser)),{useDynamicConfig:l}=ds(),{configValue:c}=l(t6.webappPrefetchConfig),d=typeof c.SERVICE_WORKER_BATCH_CALLS=="number"?c.SERVICE_WORKER_BATCH_CALLS:15,u=typeof c.SERVICE_WORKER_IDLE_TIMEOUT=="number"?c.SERVICE_WORKER_IDLE_TIMEOUT:3e3,p=typeof c.EXPIRATION_TIME=="number"&&c.EXPIRATION_TIME>0?c.EXPIRATION_TIME:12e5,{clearLoading:h}=zje(),{isAiCfoOpen:g,setIsAiCfoOpen:f}=Oje();return m.useEffect((()=>{h(Dan.APP_INITIALIZATION)}),[h]),Zt.jsx(m.Suspense,{fallback:null,children:Zt.jsx(C9s,{isPageIndependent:!0,batchCalls:d,isRefreshTriggerEnabled:!1,enableIdlePrefetch:!1,idleTimeout:u,expirationTime:p,children:Zt.jsxs(Lsn,{children:[Zt.jsx(lp,{path:"/magic_links/*",element:Zt.jsx(E9s,{})}),Zt.jsx(lp,{path:"/collect-payment/:namespace/:token",element:Zt.jsx(I9s,{})}),Zt.jsx(lp,{path:"/wise/callback/link-account/*",element:Zt.jsx(D9s,{})}),Zt.jsx(lp,{path:"/page-not-found",element:Zt.jsx(uAt,{})}),Zt.jsx(lp,{path:"/",element:Zt.jsx(A9s,{})}),Zt.jsx(lp,{path:"/aicfo",element:Zt.jsx(M9s,{})}),Zt.jsx(lp,{path:"/onboarding/auth",element:Zt.jsx(L9s,{})}),Zt.jsx(lp,{path:"/:tenantEmailDomain/*",element:Zt.jsx(H9s,{children:Zt.jsxs(Bbs,{children:[Zt.jsxs(U9s,{children:[s!=null?Zt.jsx(g9s,{}):null,n?Zt.jsx(dAt,{setTenantEmailDomain:e}):Zt.jsx(F5e,{children:Zt.jsx(dAt,{setTenantEmailDomain:e})})]}),i?Zt.jsxs(Zt.Fragment,{children:[Zt.jsx(ubs,{}),Zt.jsx(W9s,{isOpen:g,children:Zt.jsx(r9s,{isOpen:g,onClose:()=>f(!1),isFileUploadEnabled:r})})]}):null]})})}),Zt.jsx(lp,{path:"/signin/auth",element:Zt.jsx(F5e,{children:Zt.jsx(j9s,{setTenantEmailDomain:e})})}),Zt.jsx(lp,{path:"/signin/magic-link",element:Zt.jsx(F5e,{children:Zt.jsx($9s,{})})}),Zt.jsx(lp,{path:"/signout",element:Zt.jsx(B9s,{})}),Zt.jsx(lp,{path:"/connection/auth",element:Zt.jsx(k9s,{})}),Zt.jsx(lp,{path:"/oauth/hubspot/callback",element:Zt.jsx(T9s,{})}),Zt.jsx(lp,{path:"/oauth/authorize",element:Zt.jsx(P9s,{})}),Zt.jsx(lp,{path:"*",element:Zt.jsx(uAt,{})})]})})})},z9s=({children:e})=>{const{isOpen:n,width:i}=Rk();return Zt.jsx(V9s,{commentsDrawerWidth:n?i:0,children:e})},N9s=ci("div")`
|
|
90850
|
+
`,g9s=()=>{const[e,n]=m.useState((()=>Lr.getSignedInUser())),i=qp(),[r,s]=m.useState(!1),[l,c]=m.useState(!1),d=Gr((g=>PSt(g).fetchState)),u=Gr((g=>xm(g)));m.useEffect((()=>{const g=e!=null&&e.authProvider==="email"&&(!e?.firstName||!e?.lastName||!e.phoneNumber);s(g)}),[e]);const p=m.useCallback((()=>{const g=Lr.getSignedInUser();n((f=>JSON.stringify(f)!==JSON.stringify(g)?g:f))}),[]);m.useEffect((()=>(window.addEventListener("completeProfileDone",p),()=>{window.removeEventListener("completeProfileDone",p)})),[]),m.useEffect((()=>{u?.companyId!=null&&d==="Not-Started"&&i(Hdn(u.companyId))}),[d,u.companyId,i]);const h=m.useMemo((()=>!!e?.firstName&&!e?.phoneNumber),[e]);return Zt.jsxs(m.Fragment,{children:[l&&Zt.jsx(TAe,{showConfetti:!0}),e?.userEmail!=null&&e.authProvider==="email"?Zt.jsx(h9s,{userEmail:e.userEmail,isCompleteProfileOpen:r,closeDrawerHandler:()=>{s(!1),c(!0)},hasUserEnteredBasicDetails:h}):null]})},aAt="init-enter",f9s=m.memo((function({location:e,visitedUrl:n}){const{pathname:i}=e;return m.useLayoutEffect((()=>{const r=n.get(i||aAt);x9s(r!==void 0?r:0)})),null}),((e,n)=>{const{location:i,visitedUrl:r}=e,{location:s}=n,l=i.pathname||aAt,c=y9s();return r.set(l,c),!((s.pathname!==i.pathname||s.search!==i.search)&&s.hash==="")})),x9s=(e=0)=>window.requestAnimationFrame((()=>{window.scrollTo(0,e)})),y9s=()=>{let e=0;return document!=null&&document.documentElement!==null&&(e=document.documentElement.scrollTop),window.pageYOffset||e},Bm=e=>m.lazy((async()=>{const n=e.toString(),i=Lr.getForceRefreshedComponents(),r=new Set(i),s=Lr.isSignedIn(),l=r.has(n);try{const c=await e();return r.delete(n),s&&Lr.saveForceRefreshedComponents(Array.from(r)),c}catch(c){throw l||(r.add(n),s&&Lr.saveForceRefreshedComponents(Array.from(r)),location.reload()),c}})),_js=(e,n,i)=>{const r=O8e(e),s=ane(e),l=F8e(i,e);return(n||i||s||r||l)&&P8e(e.company)},tsn=globalThis.window?.location.href.startsWith("https://delhi-dot-zeni"),nsn=globalThis.window?.location.href.startsWith("https://pune-dot-zeni"),isn=globalThis.window?.location.href.startsWith("https://sunnyvale-dot-zeni"),osn=globalThis.window?.location.href.startsWith("https://dev.app.zeni.ai");function Dc(...e){const n=Pc==="DEV"||Pc==="QA";if(tsn||nsn||isn||osn)return void console.log(...e);const i=globalThis.window!==void 0&&(globalThis.window.location.hostname==="localhost"||globalThis.window.location.hostname==="127.0.0.1")&&globalThis.window.location.port==="3000";n&&i&&console.log(...e)}function rT(...e){const n=Pc==="DEV"||Pc==="QA";if(tsn||nsn||isn||osn)return void console.warn(...e);const i=globalThis.window!==void 0&&(globalThis.window.location.hostname==="localhost"||globalThis.window.location.hostname==="127.0.0.1")&&globalThis.window.location.port==="3000";n&&i&&console.warn(...e)}let QE=null,qO=!1;const Tc=Pc==="PROD"?"https://api.zeni.ai":Pc==="DEV"?"https://dev.api.zeni.ai":"https://qa.api.zeni.ai";function sAt(e){const n=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["months"]})),i=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["quarters"]})),r=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["years"]})),s=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["months"]})),l=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["quarters"]})),c=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["years"]})),d=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["months"]})),u=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["quarters"]})),p=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["years"]}));return[{url:`${Tc}/accounting/2.0/reports/profit_and_loss?query=${n}`,priority:"HIGH",reason:"Reports - Profit & Loss by Months (first load)",apiType:"reports"},{url:`${Tc}/accounting/2.0/reports/profit_and_loss?query=${i}`,priority:"HIGH",reason:"Reports - Profit & Loss by Quarters (first load)",apiType:"reports"},{url:`${Tc}/accounting/2.0/reports/profit_and_loss?query=${r}`,priority:"HIGH",reason:"Reports - Profit & Loss by Years (first load)",apiType:"reports"},{url:`${Tc}/accounting/2.0/reports/balance_sheet?query=${s}`,priority:"HIGH",reason:"Reports - Balance Sheet by Months (first load)",apiType:"reports"},{url:`${Tc}/accounting/2.0/reports/balance_sheet?query=${l}`,priority:"HIGH",reason:"Reports - Balance Sheet by Quarters (first load)",apiType:"reports"},{url:`${Tc}/accounting/2.0/reports/balance_sheet?query=${c}`,priority:"HIGH",reason:"Reports - Balance Sheet by Years (first load)",apiType:"reports"},{url:`${Tc}/accounting/2.0/reports/cash_flow?query=${d}`,priority:"HIGH",reason:"Reports - Cash Flow by Months (first load)",apiType:"reports"},{url:`${Tc}/accounting/2.0/reports/cash_flow?query=${u}`,priority:"HIGH",reason:"Reports - Cash Flow by Quarters (first load)",apiType:"reports"},{url:`${Tc}/accounting/2.0/reports/cash_flow?query=${p}`,priority:"HIGH",reason:"Reports - Cash Flow by Years (first load)",apiType:"reports"}]}const b9s={dashboard:function(e){return[...sAt()]},reports:sAt,aging:function(e){return[]},transactions:function(e){return[]},forecast:function(e){const n=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["months"],forecast_id:e.forecastId,is_forecast_vs_actual:!0})),i=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["quarters"],forecast_id:e.forecastId,is_forecast_vs_actual:!0})),r=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["years"],forecast_id:e.forecastId,is_forecast_vs_actual:!0}));return[{url:`${Tc}/accounting/2.0/reports/profit_and_loss?query=${n}`,priority:"HIGH",reason:"Forecast - Profit & Loss by Months (first load)",apiType:"forecast"},{url:`${Tc}/accounting/2.0/reports/profit_and_loss?query=${i}`,priority:"HIGH",reason:"Forecast - Profit & Loss by Quarters (first load)",apiType:"forecast"},{url:`${Tc}/accounting/2.0/reports/profit_and_loss?query=${r}`,priority:"HIGH",reason:"Forecast - Profit & Loss by Years (first load)",apiType:"forecast"}]},checking:function(e){const n=encodeURIComponent(JSON.stringify({is_include_deposit_accounts_summary:!0}));return[{url:`${Tc}/banking/1.0/deposit-accounts?query=${n}`,priority:"HIGH",reason:"Checking - Deposit Accounts (first load)",apiType:"checking"},{url:`${Tc}/pay/1.0/payment-accounts`,priority:"HIGH",reason:"Checking - Payment Accounts (first load)",apiType:"checking"},{url:`${Tc}/banking/1.0/baas/config`,priority:"HIGH",reason:"Checking - BAAS Config (first load)",apiType:"checking"}]},rewards:function(e){const n=encodeURIComponent(JSON.stringify({is_primary_refer_reward_plan:!0}));return[{url:`${Tc}/tenant/1.0/company-refer-reward-plan?query=${n}`,priority:"HIGH",reason:"Rewards Page - Rewards Plan (first load)",apiType:"rewards"},{url:`${Tc}/tenant/1.0/company-referrals`,priority:"HIGH",reason:"Rewards Page - Referrals (first load)",apiType:"rewards"}]},people:function(e){const n=encodeURIComponent(JSON.stringify({is_manager_candidate:!0})),{companyId:i}=e,r=encodeURIComponent(JSON.stringify({view:"passport"}));return[{url:`${Tc}/tenant/1.0/user-roles`,priority:"HIGH",reason:"People Page - User Roles (first load)",apiType:"people"},{url:`${Tc}/tenant/1.0/users?query=${n}`,priority:"HIGH",reason:"People Page - Users (first load)",apiType:"people"},{url:`${Tc}/accounting/1.0/classes`,priority:"HIGH",reason:"People Page - Classes (first load)",apiType:"people"},{url:`${Tc}/tenant/1.0/companies/${i}?query=${r}`,priority:"HIGH",reason:"People Page - Company Passport (first load)",apiType:"people"}]}};function lAt(e){const{currentPage:n,isRewardsFeatureEnabled:i,isPeopleTabVisible:r,isReportsPageVisible:s,isPageIndependent:l=!1}=e,c=(0,b9s[l?"dashboard":n])(e),d=c.filter((u=>i===!1&&u.reason.includes("Rewards")?(Dc(`[Prefetch Manager - Service Worker] ⚠️ Skipping rewards URL (feature disabled): ${u.url}`),!1):r===!1&&u.reason.includes("People")?(Dc(`[Prefetch Manager - Service Worker] ⚠️ Skipping people URL (feature disabled): ${u.url}`),!1):s!==!1||!u.reason.includes("Reports")||(Dc(`[Prefetch Manager - Service Worker] ⚠️ Skipping reports URL (feature disabled): ${u.url}`),!1)));return Dc(`[Prefetch Manager - Service Worker] 📋 Prefetch list: ${c.length} total, ${d.length} after filtering`),d}async function cAt(e,n=0,i){if("serviceWorker"in navigator)try{const r=await(async function(u=1e4){if(!("serviceWorker"in navigator))throw new Error("Service Worker not supported");if(navigator.serviceWorker.controller)return navigator.serviceWorker.ready;const p=await navigator.serviceWorker.ready;return navigator.serviceWorker.controller!=null?p:new Promise(((h,g)=>{const f=Date.now();let x=100;const y=()=>navigator.serviceWorker.controller?(C(),void h(p)):Date.now()-f>=u?(C(),void(p.active?(Dc("[Prefetch Manager - Service Worker] ⚠️ No controller but SW is active, proceeding anyway"),h(p)):g(new Error("Service Worker controller timeout")))):(x=Math.min(1.5*x,1e3),void(b=setTimeout(y,x)));let b;const w=()=>{navigator.serviceWorker.controller&&(C(),h(p))},C=()=>{clearTimeout(b),navigator.serviceWorker.removeEventListener("controllerchange",w)};navigator.serviceWorker.addEventListener("controllerchange",w),b=setTimeout(y,x)}))})(1e4),s=navigator.serviceWorker.controller||r.active;if(!s)return void rT("[Prefetch Manager - Service Worker] No active Service Worker available");const l=(function(u){const p={HIGH:0,MEDIUM:1,LOW:2};return u.sort(((h,g)=>p[h.priority]-p[g.priority]))})(e);Dc("[Prefetch Manager - Service Worker] 📋 Sending prefetch list to SW:",{total:l.length,high:l.filter((u=>u.priority==="HIGH")).length,medium:l.filter((u=>u.priority==="MEDIUM")).length,low:l.filter((u=>u.priority==="LOW")).length,batchSize:n>0?n:"disabled",expirationTime:i??"20 minutes",viaController:!!navigator.serviceWorker.controller}),l.forEach(((u,p)=>{Dc(`[Prefetch Manager - Service Worker] ${p+1}. [${u.priority}] ${u.reason} - ${u.url}`),Dc(` URL: ${u.url}`)}));const c=pne(),d={"zeni-session-id":c.sessionId,"zeni-user-id":c.userId,"zeni-tenant-id":c.tenantId};s.postMessage({type:"PREFETCH_URLS",payload:{urls:l.map((u=>({url:u.url,priority:u.priority,apiType:u.apiType}))),authHeaders:d,batchSize:n,expirationTime:i}}),Dc("[Prefetch Manager - Service Worker] ✅ Prefetch request sent to Service Worker")}catch(r){rT("[Prefetch Manager - Service Worker] Failed to send prefetch request:",r instanceof Error?r.message:"Unknown error")}else rT("[Prefetch Manager - Service Worker] Service Worker not supported in this browser")}function w9s({children:e,currentPage:n,tenantId:i,batchCalls:r=0,expirationTime:s,delay:l=1e3,enabled:c=!0,enableIdlePrefetch:d=!1,features:u,forecastId:p,idleTimeout:h=2e3,isPageIndependent:g=!1,isRefreshTriggerEnabled:f=!1}){const[x,y]=m.useState(!1),[b,w]=m.useState(!1),C=m.useRef(null),v=c2(),A=Lr.getSignedInUser(),{useFeatureGate:S}=ds(),{isFeatureEnabled:$}=S(Yr.isReferralFeatureEnabled),j=Dn(),E=u7(j?.loggedInUserRole??[]),I=Gr((_=>xm(_))),{isFeatureEnabled:D}=S(Yr.isDebitCardFeatureEnabled),B=F8e(D,I),F=O8e(I),R=B===!1&&F===!1;return m.useEffect((()=>{if(!c||x||!A||!i)return;const _=lAt({currentPage:n,userId:A.userId,tenantId:i,sessionId:A.zeniSessionId??"",features:u,forecastId:p,isRewardsFeatureEnabled:$,isPeopleTabVisible:E,isReportsPageVisible:R,companyId:I?.companyId??"",isPageIndependent:g}),N=g?"dashboard":n;if(_.length===0)return void Dc(`[Prefetch Provider - ${N}${g?" (base)":""}] No URLs to prefetch`);Dc(`[Prefetch Provider - ${N}${g?" (base)":""}] 📦 Generated ${_.length} URLs to prefetch`);const T=setTimeout((()=>{cAt(_,r,s).catch((P=>{rT(`[Prefetch Provider - ${N}${g?" (base)":""}] Prefetch failed:`,P)})),y(!0)}),l);return()=>clearTimeout(T)}),[c,x,A,i,n,u,p,$,E,R,I?.companyId,g,r,s,l,v.pathname]),m.useEffect((()=>{y(!1)}),[i,v.pathname]),m.useEffect((()=>{g||(y(!1),w(!1))}),[v.pathname,g]),m.useEffect((()=>{if(C.current&&(C.current(),C.current=null),!(c&&d&&A&&i)||b)return;Dc(`[Prefetch Provider - Idle] 👀 Setting up idle prefetch detection (timeout: ${h}ms)`);const _=(function(N){const{timeout:T=2e3,onIdle:P}=N;Dc(`[Idle Detection - Service Worker] 👀 Starting Idle Detection - Service Worker (timeout: ${T}ms)`);const L=()=>{qO&&(Dc("[Idle Detection - Service Worker] 🏃 User became active again"),qO=!1),QE&&clearTimeout(QE),QE=setTimeout((()=>{qO||(Dc("[Idle Detection - Service Worker] ⏱️ Browser is now IDLE"),qO=!0,P())}),T)},V=["mousedown","mousemove","keypress","scroll","touchstart","click"];return V.forEach((H=>{document.addEventListener(H,L,!0)})),L(),()=>{Dc("[Idle Detection - Service Worker] 🛑 Stopping Idle Detection - Service Worker"),QE&&(clearTimeout(QE),QE=null),V.forEach((H=>{document.removeEventListener(H,L,!0)})),qO=!1}})({timeout:h,onIdle:()=>{if(b)return;Dc("[Prefetch Provider - Idle] ⏱️ Browser is idle, fetching prefetch list with isIdleCallEnabled=true");const N=lAt({currentPage:n,userId:A.userId,tenantId:i,sessionId:A.zeniSessionId??"",features:u,forecastId:p,isRewardsFeatureEnabled:$,isPeopleTabVisible:E,isReportsPageVisible:R,companyId:I.companyId,isPageIndependent:g,isIdleCallEnabled:!0}),T=g?"dashboard":n;N.length!==0?(Dc(`[Prefetch Provider - Idle - ${T}${g?" (base)":""}] 📦 Generated ${N.length} URLs to prefetch on idle`),cAt(N,r,s).catch((P=>{rT(`[Prefetch Provider - Idle - ${T}${g?" (base)":""}] Idle prefetch failed:`,P)})),w(!0)):Dc(`[Prefetch Provider - Idle - ${T}${g?" (base)":""}] No URLs to prefetch on idle`)}});return C.current=_,()=>{C.current&&(C.current(),C.current=null)}}),[c,d,h,A,i,b,n,u,p,$,E,R,I.companyId,g,r,s]),m.useEffect((()=>{w(!1)}),[i]),m.useEffect((()=>{(function(){const _=performance.getEntriesByType("navigation");if(_.length>0)return _[0].type==="reload";const N=performance.navigation;return!(!N||typeof N.type!="number")&&N.type===1})()&&f&&(Dc("[Prefetch Provider] 🔄 Page refresh detected - will bypass cache for fresh data"),(async function(){if("serviceWorker"in navigator)try{const _=await navigator.serviceWorker.ready,N=navigator.serviceWorker.controller||_.active;if(!N)return;Dc("[Prefetch Provider] 🔄 Page refresh detected, notifying service worker to bypass cache"),N.postMessage({type:"PAGE_REFRESH",payload:{timestamp:Date.now()}})}catch(_){rT("[Prefetch Provider] Failed to notify service worker of refresh:",_)}})())}),[]),Zt.jsx(Zt.Fragment,{children:e})}function C9s({children:e,isPageIndependent:n=!1,batchCalls:i=0,enableIdlePrefetch:r=!1,expirationTime:s,idleTimeout:l=2e3,isRefreshTriggerEnabled:c=!1}){const d=c2(),u=Gr((y=>xm(y))),p=(h=d.pathname).includes("/dashboard")?"dashboard":h.includes("/reports")||h.includes("/financials")?"reports":h.includes("/aging")?"aging":h.includes("/transactions")?"transactions":h.includes("/forecast")?"forecast":h.includes("/checking")||h.includes("/bank-accounts")?"checking":h.includes("/rewards")?"rewards":null;var h;const g=u.tenantId,{useFeatureGate:f}=ds(),{isFeatureEnabled:x}=f(Yr.isServiceWorkerPrefetchingEnabled);return g&&p?Zt.jsx(w9s,{currentPage:p,tenantId:g,delay:5e3,enabled:x,batchCalls:i,enableIdlePrefetch:r,expirationTime:s,idleTimeout:l,isRefreshTriggerEnabled:c,isPageIndependent:n,children:e}):Zt.jsx(Zt.Fragment,{children:e})}function v9s(e,n){const i=Bi.extractUtmParamsFromUrl(n),r=new URLSearchParams(i).toString();if(!r)return e;const s=e.includes("?")?"&":"?";return`${e}${s}${r}`}const A9s=Bm((()=>Pd((()=>import("./DefaultTenantHome-C2rq74c5.js")),__vite__mapDeps([4,1,2,0,5,6,7,8])))),S9s=Bm((()=>Pd((()=>import("./AppDrawer-P5Yq4elH.js")),__vite__mapDeps([9,1,2,0,5,10,11,12,7,8])))),dAt=Bm((()=>Pd((()=>import("./ScreenRoutes-BQzMSFT2.js").then((e=>e.S))),__vite__mapDeps([13,0,1,2,5,14,6])))),k9s=Bm((()=>Pd((()=>import("./ConnectionAuthScreen-CAbs1jqS.js")),__vite__mapDeps([15,1,2,0,5,16,17,10,11,18,8,19,20,21,22,23,24,6,7])))),j9s=Bm((()=>Pd((()=>import("./SignInScreen-DIeWOvHk.js")),__vite__mapDeps([25,1,2,0,5,26,14,6,7,8])))),$9s=Bm((()=>Pd((()=>import("./MagicLinkSignInScreen-dWMA5rvs.js")),__vite__mapDeps([27,1,2,0,5,26,14,6,7,8])))),uAt=Bm((()=>Pd((()=>import("./NotFoundScreen-BrZDNi9u.js")),__vite__mapDeps([28,1,2,0,5,7,8])))),E9s=Bm((()=>Pd((()=>import("./MagicLinkRoutes-FsL_pDsr.js")),__vite__mapDeps([29,1,2,0,5,28,7,8])))),I9s=Bm((()=>Pd((()=>import("./PaymentLinkScreen-CLJWnz9d.js")),__vite__mapDeps([30,1,2,0,5,7,8])))),D9s=Bm((()=>Pd((()=>import("./WiseConfirmationScreen-B--eryvX.js")),__vite__mapDeps([31,1,2,0,5,7,8])))),T9s=Bm((()=>Pd((()=>import("./HubSpotOAuthCallbackScreen-Cry2n_9T.js")),__vite__mapDeps([32,1,2,0,5,7,8])))),L9s=Bm((()=>Pd((()=>import("./CustomerOnboardingAuthScreen-eCRYYI-e.js")),__vite__mapDeps([33,1,2,0,18,8,19,20,21,22,5,23,7])))),B9s=Bm((()=>Pd((()=>import("./SignOutScreen-wUiFAd90.js")),__vite__mapDeps([34,1,2,0,5,7,8])))),P9s=Bm((()=>Pd((()=>import("./OAuthConsentScreen-ENkiOwVE.js")),__vite__mapDeps([35,1,2,0,5,7,8])))),M9s=()=>{const e=c2(),n=new URLSearchParams(e.search),i=n.get("question"),r=i?.replace(/^["']|["']$/g,"")??null,s=n.get("should_submit")==="true",l=v9s("/",n);return Zt.jsx(DAt,{to:l,replace:!0,state:{origin:"/aicfo",message:"",queryParams:{aiCfoQuestion:r,aiCfoShouldSubmit:s?"true":"false"}}})};function O9s(){const{isOpen:e}=Rk(),n=fgi(),{isAiCfoOpen:i,setIsAiCfoOpen:r}=Oje(),s=m.useRef(!1),l=m.useRef(i),c=m.useRef(!1);return m.useLayoutEffect((()=>{const d=i&&!l.current;l.current=i,d&&e&&(r(!1),n(),c.current=!0)}),[i,e,r,n]),m.useEffect((()=>{e&&!s.current&&(c.current=!1,i&&r(!1)),s.current=e}),[e,i,r]),m.useEffect((()=>{!e&&c.current&&(c.current=!1,r(!0))}),[e,r]),null}const F9s=({tenantEmailDomain:e,setTenantEmailDomain:n})=>{const i=Lr.isSignedIn(),r=Gr((T=>xm(T))),s=Lr.getSignedInUser(),l=i&&WN(s),c=Gr((T=>Udn(T))).tenantsBaseInOrder.map((T=>({companyId:T.companyId,tenantId:T.tenantId,companyName:T.companyName}))),d={userId:s?.userId??"",sessionId:s?.zeniSessionId??"",tenantId:r.tenantId??""},u=qp(),p=iu(["/:tenantEmailDomain/dashboard/*","/:tenantEmailDomain/dashboard"]),h=Ean(),g=Uje(),[f,x]=m.useState(!1),[y,b]=m.useState(null),w=m.useMemo((()=>({isAiCfoOpen:f,setIsAiCfoOpen:x,aiCfoSidePanelQuestionToSubmit:y,setAiCfoSidePanelQuestionToSubmit:b})),[f,y,x,b]),{useFeatureGate:C}=ds(),{isFeatureEnabled:v}=C(Yr.isAiCfoFileUploadEnabled),{isFeatureEnabled:A}=C(Yr.isBillPayCommentingEnabled),{isFeatureEnabled:S}=C(Yr.isReimbursementCommentingEnabled),{isFeatureEnabled:$}=C(Yr.isExpenseAutomationEnabled),{isFeatureEnabled:j}=C(Yr.isExpenseAutomationEnabledV2),{isFeatureEnabled:E}=C(Yr.isTreasuryCommentingEnabled),{isFeatureEnabled:I}=C(Yr.isCheckingCommentingEnabled),{isFeatureEnabled:D}=C(Yr.isTransactionCommentingEnabled),{isFeatureEnabled:B}=C(Yr.isCardsCommentingEnabled),F=A||S||l&&$||!l&&j||E||I||D||B;m.useEffect((()=>{!h&&f&&x(!1)}),[h,f]),m.useEffect((()=>{h||u(Wdn())}),[u,h]);const R=c2().pathname.includes("/collect-payment/"),_=Zt.jsx(R9s,{setTenantEmailDomain:n,isOnDashboard:p,userHasZeniAiCfoAccess:g,isAiCfoFileUploadEnabled:v});if(R)return Zt.jsx(TGe,{children:Zt.jsx(s5t,{children:Zt.jsx(S8e.Provider,{value:w,children:_})})});const N=Zt.jsxs(S8e.Provider,{value:w,children:[Zt.jsx(O9s,{}),Zt.jsxs(_9s,{children:[Zt.jsx(S9s,{tenantEmailDomain:e}),Zt.jsx(z9s,{children:_})]})]});return Zt.jsx(TGe,{children:r.tenantId!=null?Zt.jsx(m4a,{roomId:`dashboard_${r.companyId}`,authParams:d,users:[],companies:c,authUrlEndPoint:`${F8.tenantMicroServiceBaseUrl}/1.0/commenting/auth`,fetchZeniUsers:!0,commentingUsersUrlEndPoint:`${F8.tenantMicroServiceBaseUrl}/1.0/users/commenting-users`,isZeniUser:l,autoConnect:l||D||B,loggedInUser:s,withRoomProvider:!0,withThreadsProvider:F,threadsIndexStrategy:"roomThreads",filter:{application:"dashboard",companyId:r.companyId},children:N},r.tenantId):Zt.jsx(s5t,{children:N})})},R9s=({setTenantEmailDomain:e,isOnDashboard:n,userHasZeniAiCfoAccess:i,isAiCfoFileUploadEnabled:r})=>{const s=Gr((x=>x.tenantState.loggedInUser)),{useDynamicConfig:l}=ds(),{configValue:c}=l(t6.webappPrefetchConfig),d=typeof c.SERVICE_WORKER_BATCH_CALLS=="number"?c.SERVICE_WORKER_BATCH_CALLS:15,u=typeof c.SERVICE_WORKER_IDLE_TIMEOUT=="number"?c.SERVICE_WORKER_IDLE_TIMEOUT:3e3,p=typeof c.EXPIRATION_TIME=="number"&&c.EXPIRATION_TIME>0?c.EXPIRATION_TIME:12e5,{clearLoading:h}=zje(),{isAiCfoOpen:g,setIsAiCfoOpen:f}=Oje();return m.useEffect((()=>{h(Dan.APP_INITIALIZATION)}),[h]),Zt.jsx(m.Suspense,{fallback:null,children:Zt.jsx(C9s,{isPageIndependent:!0,batchCalls:d,isRefreshTriggerEnabled:!1,enableIdlePrefetch:!1,idleTimeout:u,expirationTime:p,children:Zt.jsxs(Lsn,{children:[Zt.jsx(lp,{path:"/magic_links/*",element:Zt.jsx(E9s,{})}),Zt.jsx(lp,{path:"/collect-payment/:namespace/:token",element:Zt.jsx(I9s,{})}),Zt.jsx(lp,{path:"/wise/callback/link-account/*",element:Zt.jsx(D9s,{})}),Zt.jsx(lp,{path:"/page-not-found",element:Zt.jsx(uAt,{})}),Zt.jsx(lp,{path:"/",element:Zt.jsx(A9s,{})}),Zt.jsx(lp,{path:"/aicfo",element:Zt.jsx(M9s,{})}),Zt.jsx(lp,{path:"/onboarding/auth",element:Zt.jsx(L9s,{})}),Zt.jsx(lp,{path:"/:tenantEmailDomain/*",element:Zt.jsx(H9s,{children:Zt.jsxs(Bbs,{children:[Zt.jsxs(U9s,{children:[s!=null?Zt.jsx(g9s,{}):null,n?Zt.jsx(dAt,{setTenantEmailDomain:e}):Zt.jsx(F5e,{children:Zt.jsx(dAt,{setTenantEmailDomain:e})})]}),i?Zt.jsxs(Zt.Fragment,{children:[Zt.jsx(ubs,{}),Zt.jsx(W9s,{isOpen:g,children:Zt.jsx(r9s,{isOpen:g,onClose:()=>f(!1),isFileUploadEnabled:r})})]}):null]})})}),Zt.jsx(lp,{path:"/signin/auth",element:Zt.jsx(F5e,{children:Zt.jsx(j9s,{setTenantEmailDomain:e})})}),Zt.jsx(lp,{path:"/signin/magic-link",element:Zt.jsx(F5e,{children:Zt.jsx($9s,{})})}),Zt.jsx(lp,{path:"/signout",element:Zt.jsx(B9s,{})}),Zt.jsx(lp,{path:"/connection/auth",element:Zt.jsx(k9s,{})}),Zt.jsx(lp,{path:"/oauth/hubspot/callback",element:Zt.jsx(T9s,{})}),Zt.jsx(lp,{path:"/oauth/authorize",element:Zt.jsx(P9s,{})}),Zt.jsx(lp,{path:"*",element:Zt.jsx(uAt,{})})]})})})},z9s=({children:e})=>{const{isOpen:n,width:i}=Rk();return Zt.jsx(V9s,{commentsDrawerWidth:n?i:0,children:e})},N9s=ci("div")`
|
|
90851
90851
|
display:flex;
|
|
90852
90852
|
`,_9s=ci("div")`
|
|
90853
90853
|
display: flex;
|