@zeniai/web-app-ui 5.2.11-dev → 5.2.12-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.
Files changed (105) hide show
  1. package/dist/assets/AddressRoutes-BOzgywtR.js +1 -0
  2. package/dist/assets/{AddressScreen-B9qIDuai.js → AddressScreen-DNvDqjgO.js} +1 -1
  3. package/dist/assets/{AiCfoScreen-vunuko6i.js → AiCfoScreen-S1TvbRR3.js} +1 -1
  4. package/dist/assets/{BillPayApprovalRoutes-pStG307K.js → BillPayApprovalRoutes-B-ROXZYR.js} +1 -1
  5. package/dist/assets/{BillPayRoutes-DbYnaX3_.js → BillPayRoutes-CVqrMONI.js} +1 -1
  6. package/dist/assets/{BusinessVerificationPageScreen-C7ez20uI.js → BusinessVerificationPageScreen-BnlB9hzf.js} +1 -1
  7. package/dist/assets/{CardsAiCfoScreen-gbRXVqr8.js → CardsAiCfoScreen-WlQWob2P.js} +1 -1
  8. package/dist/assets/{ChargeCardRoutes--zXOSegl.js → ChargeCardRoutes-VBAuQkMp.js} +1 -1
  9. package/dist/assets/{CompanyPassportScreen-BFAkEtYn.js → CompanyPassportScreen-CbDLS2SF.js} +1 -1
  10. package/dist/assets/{ConnectionAuthScreen-DHpBzuhF.js → ConnectionAuthScreen-1mEE-36o.js} +1 -1
  11. package/dist/assets/CustomerOnboardingAuthScreen-BkkgW1uu.js +1 -0
  12. package/dist/assets/{CustomerOnboardingRoutes-DXqGvG-i.js → CustomerOnboardingRoutes-DN9IodGC.js} +1 -1
  13. package/dist/assets/{DashboardRoutes-V58yuU0O.js → DashboardRoutes-CEwOWXiF.js} +1 -1
  14. package/dist/assets/{DefaultTenantHome-DFUBuSUw.js → DefaultTenantHome-BVU21X-M.js} +1 -1
  15. package/dist/assets/{DomesticWireDetailScreen-DV-LDQl5.js → DomesticWireDetailScreen-CaDuKqYU.js} +1 -1
  16. package/dist/assets/{DrawerScreen-CLmFnWBR.js → DrawerScreen-xsTYM7JQ.js} +1 -1
  17. package/dist/assets/{EntityDetailRoutes-D-VExL9R.js → EntityDetailRoutes-Jtef7gVQ.js} +1 -1
  18. package/dist/assets/{ExpenseAutomationRoutes-DxTIqyhg.js → ExpenseAutomationRoutes-DrtVbHLt.js} +1 -1
  19. package/dist/assets/{FeaturePreviewScreen-DQZK8Tkd.js → FeaturePreviewScreen-DuuiKcJV.js} +1 -1
  20. package/dist/assets/{HubSpotOAuthCallbackScreen-DD2ALtLX.js → HubSpotOAuthCallbackScreen-Cev2taVI.js} +1 -1
  21. package/dist/assets/{MagicLinkRoutes-0xFiI_gt.js → MagicLinkRoutes-IxXOukse.js} +1 -1
  22. package/dist/assets/{MagicLinkSignInScreen-CAbcD9gJ.js → MagicLinkSignInScreen-CDhpIX3Z.js} +1 -1
  23. package/dist/assets/{MobileAppDrawer-BSqYxsX2.js → MobileAppDrawer-BYVmvK8K.js} +1 -1
  24. package/dist/assets/NotFoundScreen-DJIdPrRl.js +1 -0
  25. package/dist/assets/{NotificationRoutes-BSEbFYc7.js → NotificationRoutes-DLvB4oRQ.js} +1 -1
  26. package/dist/assets/{OAuthConsentScreen-DDzTn8ex.js → OAuthConsentScreen-CYxgorLl.js} +1 -1
  27. package/dist/assets/{PandLWithForecastRoutes-DL85XT-N.js → PandLWithForecastRoutes-Ib7VS25h.js} +1 -1
  28. package/dist/assets/{PeopleRoutes-tvVCUcKN.js → PeopleRoutes-Z_1b26ez.js} +1 -1
  29. package/dist/assets/{PerformanceRoutes-CRPowUNZ.js → PerformanceRoutes-BfQJUzi3.js} +1 -1
  30. package/dist/assets/{Preview-BFORWhGg.js → Preview-Cvkizx6n.js} +1 -1
  31. package/dist/assets/{QBOConnectionScreen-BY-ET0xU.js → QBOConnectionScreen-C7NluIAB.js} +1 -1
  32. package/dist/assets/{ReimbursementApprovalRoutes-xDcJz-Qa.js → ReimbursementApprovalRoutes-DYNGinbq.js} +1 -1
  33. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-Dds_onx1.js → ReimbursementApprovalRuleDetailScreen-B3aN1WXt.js} +1 -1
  34. package/dist/assets/{ReimbursementRoutes-Br35P7Ex.js → ReimbursementRoutes-DXV3DKYQ.js} +1 -1
  35. package/dist/assets/{ReportsRoutes-DlFjy5j4.js → ReportsRoutes-zjFyxUUV.js} +1 -1
  36. package/dist/assets/{RewardsRoutes-ybfqamBR.js → RewardsRoutes-DmgbTchk.js} +1 -1
  37. package/dist/assets/{ScreenRoutes-ZHVecYPB.js → ScreenRoutes-D5bNkmwt.js} +2 -2
  38. package/dist/assets/{SettingsRoutes-BTJJZw7w.js → SettingsRoutes-Bi3lSLL8.js} +1 -1
  39. package/dist/assets/{SetupPagesScreen-BoNxDLXk.js → SetupPagesScreen-DEi1cjNn.js} +1 -1
  40. package/dist/assets/{SignInScreen-DSHzSt42.js → SignInScreen-joU5wP4w.js} +1 -1
  41. package/dist/assets/{SignOutScreen-C0pSERkC.js → SignOutScreen-CPywKCC9.js} +1 -1
  42. package/dist/assets/{TaskListScreen-eY2qEexK.js → TaskListScreen-DMVBn9ES.js} +1 -1
  43. package/dist/assets/{TaskRoutes-DK4tCNck.js → TaskRoutes-BBIJ5Nfx.js} +1 -1
  44. package/dist/assets/{TransactionDetailRoutes-C2A6Ai04.js → TransactionDetailRoutes-Cb78nupJ.js} +1 -1
  45. package/dist/assets/{TransactionDetailScreen-Y2A-PdMn.js → TransactionDetailScreen-CYYrtHxH.js} +1 -1
  46. package/dist/assets/{TransactionListRoutes-DV5L4e1G.js → TransactionListRoutes-CkELx4zC.js} +1 -1
  47. package/dist/assets/{TreasuryRoutes-foYlsfsF.js → TreasuryRoutes-BAXyBDwm.js} +1 -1
  48. package/dist/assets/{VendorsRoutes-B1TOelcz.js → VendorsRoutes-C4kReU_P.js} +1 -1
  49. package/dist/assets/{WiseConfirmationScreen-CI_HPhh8.js → WiseConfirmationScreen-CUdBn_6P.js} +1 -1
  50. package/dist/assets/{ZeniAccountRoutes-Cs3s5yj2.js → ZeniAccountRoutes-DSKlSZ03.js} +1 -1
  51. package/dist/assets/{ZeniAccountStatementScreen-COiOGQqB.js → ZeniAccountStatementScreen-COuoYBe7.js} +1 -1
  52. package/dist/assets/{accountMappingHelper-Bc02_HWR.js → accountMappingHelper-BoMcJRmU.js} +1 -1
  53. package/dist/assets/{analytics-B6nQWxMm.js → analytics-tnLNAAzo.js} +1 -1
  54. package/dist/assets/{analyticsHelper-Og8Rmx5y.js → analyticsHelper-Ckyw1Xvc.js} +1 -1
  55. package/dist/assets/{core-D-w0syUt.js → core-73g-CRXm.js} +1 -1
  56. package/dist/assets/{decodeURIComponentSafe-C7k2Nrj_.js → decodeURIComponentSafe-vreX6HdN.js} +1 -1
  57. package/dist/assets/{dnd-Dt7EosAi.js → dnd-CCmj5-_i.js} +1 -1
  58. package/dist/assets/{empty-DF-g8Byo.js → empty-AoB5TcI1.js} +1 -1
  59. package/dist/assets/{empty-B7Efn92X.js → empty-Dgn5BJ4x.js} +1 -1
  60. package/dist/assets/{emptyVideoElement-CBdlopDC.js → emptyVideoElement-BE66TwHH.js} +1 -1
  61. package/dist/assets/{epic-DUSro8MZ.js → epic-LDMRAHZs.js} +1 -1
  62. package/dist/assets/{getLocaleForTenant-DXpgdwm2.js → getLocaleForTenant-ChdmW8tg.js} +1 -1
  63. package/dist/assets/{index-DbHK73QC.js → index-B7mOZ36a.js} +1 -1
  64. package/dist/assets/{index-DtTeUJqK.js → index-BLWrH2KT.js} +7 -7
  65. package/dist/assets/{index-BrvX8Bq4.js → index-B_4cz_K1.js} +1 -1
  66. package/dist/assets/{index-Cf0JRE_u.js → index-Bf1SUo7G.js} +1 -1
  67. package/dist/assets/{index-CnDcHHGX.js → index-BlFohoS1.js} +1 -1
  68. package/dist/assets/{index-BNrt1EOu.js → index-C9WNu74T.js} +1 -1
  69. package/dist/assets/{index-BZ0hEAE3.js → index-CdShvsd9.js} +1 -1
  70. package/dist/assets/{index-B3J9WxT7.js → index-CwCXBsVA.js} +2 -2
  71. package/dist/assets/{lexical-BvIUj_Gq.js → lexical-B-MdcDyi.js} +1 -1
  72. package/dist/assets/{liveblocks-B6veqs_8.js → liveblocks-ff5jvbRc.js} +1 -1
  73. package/dist/assets/{lottie-HMB6u1mD.js → lottie-DvKGbHR7.js} +1 -1
  74. package/dist/assets/{mui-CvZ4Namd.js → mui-C6EPTIjM.js} +1 -1
  75. package/dist/assets/{pathToGoBack-BAEsrU0U.js → pathToGoBack-DB-OtIUd.js} +1 -1
  76. package/dist/assets/{pdf-DTyc8UuT.js → pdf-BJ608N2P.js} +4 -4
  77. package/dist/assets/{pdf-lib-HRxxOoqR.js → pdf-lib-Dhic7kAC.js} +1 -1
  78. package/dist/assets/{plaid-DOxsEQPt.js → plaid-BGzMn-Ja.js} +1 -1
  79. package/dist/assets/{pusher-NGpa4s20.js → pusher-WaTQDWIq.js} +1 -1
  80. package/dist/assets/{react-B0Ke89Rd.js → react-B29GLwIL.js} +1 -1
  81. package/dist/assets/{react-BlxcdXL2.js → react-BD0aRB2D.js} +1 -1
  82. package/dist/assets/{react-CiknC4Jf.js → react-BUwb_BL7.js} +1 -1
  83. package/dist/assets/{react-CH6MMJtW.js → react-COsTIbDv.js} +1 -1
  84. package/dist/assets/{react-S6dZMq1W.js → react-D8hZ-zAO.js} +1 -1
  85. package/dist/assets/{react-RglhJ9zO.js → react-DxulePqx.js} +1 -1
  86. package/dist/assets/{recharts-CCZTRBr_.js → recharts-CuGywxsn.js} +1 -1
  87. package/dist/assets/{routePaths-BXH8zPZv.js → routePaths-CvSXk656.js} +1 -1
  88. package/dist/assets/{sentry-BW637Fua.js → sentry-DRJyi6Lv.js} +1 -1
  89. package/dist/assets/{url-CQ6e4A8i.js → url-94cOi_su.js} +1 -1
  90. package/dist/assets/{url-CCU74SLo.js → url-nWZmwppH.js} +1 -1
  91. package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-C2yPn_Vp.js → useAiCfoDashboardSuggestedQuestionsChips-BUjWMjA1.js} +1 -1
  92. package/dist/assets/{useAskAiCfoHostNavButtonProps-aY04YP0S.js → useAskAiCfoHostNavButtonProps-DH_q3Za4.js} +1 -1
  93. package/dist/assets/{useCashManagementBanner-mgRwIUZG.js → useCashManagementBanner-D2omOwMC.js} +1 -1
  94. package/dist/assets/{useChargeCardPusherEvents-D2Li6UoT.js → useChargeCardPusherEvents-BOpUkAk7.js} +1 -1
  95. package/dist/assets/{useDeviceId-BEnHMBJt.js → useDeviceId-Dn2y2Mec.js} +1 -1
  96. package/dist/assets/{useEmailConnectResultRefresh-D1no2UPa.js → useEmailConnectResultRefresh-BBseyDU1.js} +1 -1
  97. package/dist/assets/{useInitialThreadRequest-BMYYqer4.js → useInitialThreadRequest-DtAu4YVw.js} +1 -1
  98. package/dist/assets/{utils-BAwT1yty.js → utils-DSjwo3lj.js} +1 -1
  99. package/dist/assets/{withTransactionSidePanel-CRqIqwQF.js → withTransactionSidePanel-0FU39SV3.js} +1 -1
  100. package/dist/assets/{zeni-epic-state-DyOMcw4f.js → zeni-epic-state-CVqp5cMc.js} +5 -5
  101. package/dist/index.html +1 -1
  102. package/package.json +3 -3
  103. package/dist/assets/AddressRoutes-Dd5BLPNk.js +0 -1
  104. package/dist/assets/CustomerOnboardingAuthScreen-Dt45S7Zn.js +0 -1
  105. package/dist/assets/NotFoundScreen-B35T6J3X.js +0 -1
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/zeni-epic-state-DyOMcw4f.js","assets/sentry-BW637Fua.js","assets/core-D-w0syUt.js","assets/index-B3J9WxT7.js","assets/DefaultTenantHome-DFUBuSUw.js","assets/mui-CvZ4Namd.js","assets/getLocaleForTenant-DXpgdwm2.js","assets/analytics-B6nQWxMm.js","assets/utils-BAwT1yty.js","assets/ScreenRoutes-ZHVecYPB.js","assets/analyticsHelper-Og8Rmx5y.js","assets/ConnectionAuthScreen-DHpBzuhF.js","assets/QBOConnectionScreen-BY-ET0xU.js","assets/empty-DF-g8Byo.js","assets/index-Cf0JRE_u.js","assets/url-CCU74SLo.js","assets/index-CnDcHHGX.js","assets/decodeURIComponentSafe-C7k2Nrj_.js","assets/SignInScreen-DSHzSt42.js","assets/useDeviceId-BEnHMBJt.js","assets/MagicLinkSignInScreen-CAbcD9gJ.js","assets/NotFoundScreen-B35T6J3X.js","assets/MagicLinkRoutes-0xFiI_gt.js","assets/WiseConfirmationScreen-CI_HPhh8.js","assets/HubSpotOAuthCallbackScreen-DD2ALtLX.js","assets/CustomerOnboardingAuthScreen-Dt45S7Zn.js","assets/SignOutScreen-C0pSERkC.js","assets/OAuthConsentScreen-DDzTn8ex.js"])))=>i.map(i=>d[i]);
2
- import{a as m,b as L,c as ase,R as lDt,p as qq,r as Op,g as ilt,e as wfe,f as sDt,s as Cfe,i as cDt,w as dDt,j as uDt,S as pDt,k as hDt,l as mDt,m as gDt,n as fDt,o as xDt}from"./sentry-BW637Fua.js";import{L as yDt,C as vfe,_ as zp,a as ST,b as bDt,c as aW,d as kT,u as rlt,T as wDt,e as CDt,f as vDt,g as ADt,h as alt,i as SDt,k as kDt,j as Mt,l as jDt}from"./liveblocks-B6veqs_8.js";import{f as llt,r as Fr,R as $8,P as zl,O as $Dt,N as slt,u as yu,g as Dh,h as jT,i as clt,j as qo,m as Ape,s as b_,k as dlt,l as kI,n as EDt,o as IDt,p as Pu,q as DDt,B as LDt}from"./core-D-w0syUt.js";import{L as Afe,bl as TDt,bm as BDt,bn as h6,bo as Gt,bp as Bk,bq as PDt,br as MDt,bs as ml,bt as W2,bu as ODt,bv as v5,bw as ul,bx as zDt,by as FDt,bz as RDt,bA as hL,bB as d5,bC as af,bD as lW,bE as fn,bF as ult,bG as S1,bH as NDt,bI as zS,bJ as plt,bK as hlt,bL as Spe,bM as $p,bN as lf,bO as Dd,bP as Q4,bQ as _Dt,bR as Ss,bS as VDt,bT as Pk,bU as HDt,bV as UDt,bW as lse,bX as WDt,bY as QDt,bZ as Ab,b_ as Sfe,b$ as YDt,c0 as GDt,c1 as qDt,c2 as KDt,c3 as ZDt,c4 as JDt,c5 as XDt,c6 as eLt,c7 as Ix,c8 as sW,c9 as tLt,ca as cW,cb as dW,cc as uW,cd as kpe,ce as $T,cf as Sb,cg as FS,ch as pW,ci as nLt,cj as ob,ck as oLt,cl as kfe,cm as iLt,cn as rLt,co as aLt,cp as mlt,cq as jpe,cr as lLt,cs as Ay,ct as jfe,cu as sLt,cv as cLt,cw as dLt,cx as ew,cy as tw,cz as glt,cA as flt,cB as $pe,cC as uLt,cD as xlt,cE as pLt,cF as w_,cG as ylt,cH as hLt,cI as blt,cJ as mLt,cK as jI,cL as $fe,cM as gLt,cN as wlt,cO as Clt,cP as vlt,cQ as fLt,cR as Efe,cS as xLt,cT as Alt,cU as yLt,cV as Slt,cW as bLt,cX as Uc,cY as Nl,cZ as wLt,c_ as b1,c$ as klt,d0 as CLt,d1 as mL,d2 as ib,d3 as Ua,d4 as vLt,d5 as ALt,d6 as SLt,d7 as kLt,d8 as sP,d9 as T0,da as jLt,db as $Lt,dc as ELt,dd as ILt,de as cP,df as kb,dg as hW,dh as DLt,di as LLt,dj as nw,dk as k1,dl as jlt,dm as $lt,dn as TLt,dp as BLt,dq as PLt,dr as Mk,ds as MLt,dt as Epe,du as Elt,dv as Ilt,dw as Dlt,dx as Llt,dy as Tlt,dz as Blt,dA as OLt,dB as Ife,dC as zLt,_ as Xc,dD as ET,dE as Plt,dF as FLt,dG as cD,dH as Wp,dI as Y4,dJ as RLt,dK as Dfe,dL as Mlt,dM as Olt,dN as zlt,dO as sse,dP as XR,dQ as NLt,dR as _Lt,dS as VLt,dT as HLt,dU as ULt,dV as WLt,dW as QLt,dX as YLt,dY as GLt,dZ as qLt,d_ as dD,d$ as uD,e0 as Flt,e1 as wh,e2 as KLt,e3 as ZLt,e4 as Ipe,e5 as Dpe,e6 as Ok,e7 as Lpe,e8 as Tpe,e9 as Bpe,ea as Ppe,eb as Rlt,ec as Mpe,ed as JLt,ee as XLt,ef as Nlt,eg as Lfe,eh as eTt,ei as Ope,ej as tTt,ek as nTt,el as _lt,em as oTt,en as iTt,eo as rTt,ep as Vlt,eq as zpe,er as aTt,es as Hlt,et as lTt,eu as sTt,ev as cTt,ew as dTt,ex as uTt,ey as pTt,ez as hTt,eA as mTt,eB as Ult,eC as gTt,eD as Tfe,eE as mW,eF as fTt,eG as xTt,eH as yTt,eI as bTt,eJ as wTt,eK as CTt,eL as vTt,eM as ATt,eN as Bfe,eO as Wlt,eP as Qlt,eQ as Ylt,eR as Glt,eS as qlt,eT as Klt,eU as STt,eV as kTt,eW as cse,eX as jTt,v as $Tt,eY as IT,eZ as P1,e_ as Zlt,e$ as Jlt,f0 as ETt,f1 as ITt,f2 as Pfe,f3 as DTt,f4 as LTt,f5 as TTt,f6 as BTt,f7 as PTt,f8 as MTt,f9 as OTt,fa as zTt,fb as FTt,fc as RTt,fd as NTt,fe as _Tt,ff as VTt,fg as HTt,fh as UTt,fi as WTt,fj as QTt,fk as YTt,fl as GTt,fm as Mfe,fn as qTt,fo as KTt,fp as ZTt,fq as JTt,fr as XTt,fs as Fpe,ft as DT,fu as Rpe,fv as Xlt,fw as eBt,fx as tBt,fy as nBt,fz as est,fA as Ofe,fB as oBt,fC as tst,fD as iBt,fE as nst,fF as rBt,fG as ost,fH as aBt,fI as ist,fJ as lBt,fK as sBt,fL as cBt,fM as dBt,fN as uBt,fO as zfe,fP as rst,fQ as iC,fR as Ffe,fS as pBt,fT as Rfe,fU as hBt,fV as mBt,fW as ast,fX as lst,fY as gBt,fZ as fBt,f_ as xBt,f$ as yBt,g0 as bBt,g1 as C_,g2 as Npe,g3 as sst,g4 as wBt,g5 as pD,g6 as CBt,g7 as vBt,g8 as ABt,g9 as SBt,ga as kBt,gb as jBt,gc as $Bt,gd as EBt,ge as IBt,gf as DBt,gg as LBt,gh as TBt,gi as cst,gj as BBt,gk as PBt,gl as MBt,gm as Nfe,gn as OBt,go as zBt,gp as FBt,gq as RBt,gr as NBt,gs as dse,gt as _Bt,gu as VBt,gv as HBt,gw as UBt,gx as WBt,gy as QBt,gz as YBt,gA as GBt,gB as _fe,gC as qBt,gD as KBt}from"./zeni-epic-state-DyOMcw4f.js";import{n as l,T as dst,G as LT,j as ni,c as De,k as Nn,C as ust,u as _pe,a as use,A as ZBt,b as JBt,I as XBt,d as ePt,D as v_,S as pst}from"./mui-CvZ4Namd.js";import{r as tPt,m as v0}from"./analytics-B6nQWxMm.js";import{u as Fp}from"./plaid-DOxsEQPt.js";import{D as Vpe,H as gW,g as nPt,O as oPt,S as iPt,T as rPt,u as Hpe,a as Upe,b as aPt}from"./dnd-Dt7EosAi.js";import{l as lPt}from"./stripe-cKAAJElX.js";import{L as eS}from"./lottie-HMB6u1mD.js";import{r as Ws}from"./lexical-BvIUj_Gq.js";import{D as pse,P as hse,_ as hst,a as mst}from"./pdf-DTyc8UuT.js";import{R as RS,G as Wx,H as Ep,X as ss,Y as Wl,I as Zc,J as sPt,K as Qx,L as ow,M as _h,N as zk,O as gst,P as cPt,Q as dPt,S as fW,U as tS,V as uPt,W as Wpe,Z as pPt,_ as hPt,$ as mPt,d as gPt}from"./recharts-CCZTRBr_.js";import{r as fPt,n as Vfe}from"./utils-BAwT1yty.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]="39104dd9-e017-4056-92c4-16e2b577a2d3",e._sentryDebugIdIdentifier="sentry-dbid-39104dd9-e017-4056-92c4-16e2b577a2d3")}catch{}})();(function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver((o=>{for(const r of o)if(r.type==="childList")for(const a of r.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)})).observe(document,{childList:!0,subtree:!0})}function n(o){if(o.ep)return;o.ep=!0;const r=(function(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s})(o);fetch(o.href,r)}})();var Hfe,dP={},xPt=(function(){if(Hfe)return dP;Hfe=1;var e=llt();return dP.createRoot=e.createRoot,dP.hydrateRoot=e.hydrateRoot,dP})(),yp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof ase<"u"?ase:typeof self<"u"?self:{};function Ui(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ufe,Wfe,Qfe={exports:{}},Rj={};function fst(){return Wfe||(Wfe=1,Qfe.exports=(function(){if(Ufe)return Rj;Ufe=1;var e=L,n=Symbol.for("react.element"),o=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={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)&&!s.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:a.current}}return Rj.Fragment=o,Rj.jsx=c,Rj.jsxs=c,Rj})()),Qfe.exports}var t=fst();const yPt=m.createContext(null),Kq={didCatch:!1,error:null};let bPt=class extends m.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=Kq}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){const{error:e}=this.state;if(e!==null){for(var n,o,r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];(n=(o=this.props).onReset)===null||n===void 0||n.call(o,{args:a,reason:"imperative-api"}),this.setState(Kq)}}componentDidCatch(e,n){var o,r;(o=(r=this.props).onError)===null||o===void 0||o.call(r,e,n)}componentDidUpdate(e,n){const{didCatch:o}=this.state,{resetKeys:r}=this.props;var a,s;o&&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)&&((a=(s=this.props).onReset)===null||a===void 0||a.call(s,{next:r,prev:e.resetKeys,reason:"keys"}),this.setState(Kq))}render(){const{children:e,fallbackRender:n,FallbackComponent:o,fallback:r}=this.props,{didCatch:a,error:s}=this.state;let c=e;if(a){const d={error:s,resetErrorBoundary:this.resetErrorBoundary};if(typeof n=="function")c=n(d);else if(o)c=m.createElement(o,d);else{if(r===void 0)throw s;c=r}}return m.createElement(yPt.Provider,{value:{didCatch:a,error:s,resetErrorBoundary:this.resetErrorBoundary}},c)}};var Yfe,Zq={exports:{}},Gfe,qfe,Jq,wPt=(Yfe||(Yfe=1,qfe=Zq.exports,Jq=function(){var e,n,o,r,a,s,c={},d={},u={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},p={currentLocale:u.currentLocale,zeroFormat:u.zeroFormat,nullFormat:u.nullFormat,defaultFormat:u.defaultFormat,scalePercentBy100:u.scalePercentBy100};function h(g,f){this._input=g,this._value=f}return e=function(g){var f,x,y,b;if(e.isNumeral(g))f=g.value();else if(g===0||typeof g>"u")f=0;else if(g===null||n.isNaN(g))f=null;else if(typeof g=="string")if(p.zeroFormat&&g===p.zeroFormat)f=0;else if(p.nullFormat&&g===p.nullFormat||!g.replace(/[^0-9]+/g,"").length)f=null;else{for(x in c)if((b=typeof c[x].regexps.unformat=="function"?c[x].regexps.unformat():c[x].regexps.unformat)&&g.match(b)){y=c[x].unformat;break}f=(y=y||e._.stringToNumber)(g)}else f=Number(g)||null;return new h(g,f)},e.version="2.0.6",e.isNumeral=function(g){return g instanceof h},e._=n={numberToFormat:function(g,f,x){var y,b,w,C,v,A,k,$,j=d[e.options.currentLocale],E=!1,I=!1,D="",F=1e12,z=1e9,O=1e6,H="",_=!1;if(g=g||0,w=Math.abs(g),e._.includes(f,"(")?(E=!0,f=f.replace(/[\(|\)]/g,"")):(e._.includes(f,"+")||e._.includes(f,"-"))&&(A=e._.includes(f,"+")?f.indexOf("+"):g<0?f.indexOf("-"):-1,f=f.replace(/[\+|\-]/g,"")),e._.includes(f,"a")&&(b=!!(b=f.match(/a(k|m|b|t)?/))&&b[1],e._.includes(f," a")&&(D=" "),f=f.replace(new RegExp(D+"a[kmbt]?"),""),w>=F&&!b||b==="t"?(D+=j.abbreviations.trillion,g/=F):w<F&&w>=z&&!b||b==="b"?(D+=j.abbreviations.billion,g/=z):w<z&&w>=O&&!b||b==="m"?(D+=j.abbreviations.million,g/=O):(w<O&&w>=1e3&&!b||b==="k")&&(D+=j.abbreviations.thousand,g/=1e3)),e._.includes(f,"[.]")&&(I=!0,f=f.replace("[.]",".")),C=g.toString().split(".")[0],v=f.split(".")[1],k=f.indexOf(","),y=(f.split(".")[0].split(",")[0].match(/0/g)||[]).length,v?(e._.includes(v,"[")?(v=(v=v.replace("]","")).split("["),H=e._.toFixed(g,v[0].length+v[1].length,x,v[1].length)):H=e._.toFixed(g,v.length,x),C=H.split(".")[0],H=e._.includes(H,".")?j.delimiters.decimal+H.split(".")[1]:"",I&&Number(H.slice(1))===0&&(H="")):C=e._.toFixed(g,0,x),D&&!b&&Number(C)>=1e3&&D!==j.abbreviations.trillion)switch(C=String(Number(C)/1e3),D){case j.abbreviations.thousand:D=j.abbreviations.million;break;case j.abbreviations.million:D=j.abbreviations.billion;break;case j.abbreviations.billion:D=j.abbreviations.trillion}if(e._.includes(C,"-")&&(C=C.slice(1),_=!0),C.length<y)for(var M=y-C.length;M>0;M--)C="0"+C;return k>-1&&(C=C.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+j.delimiters.thousands)),f.indexOf(".")===0&&(C=""),$=C+H+(D||""),E?$=(E&&_?"(":"")+$+(E&&_?")":""):A>=0?$=A===0?(_?"-":"+")+$:$+(_?"-":"+"):_&&($="-"+$),$},stringToNumber:function(g){var f,x,y,b=d[p.currentLocale],w=g,C={thousand:3,million:6,billion:9,trillion:12};if(p.zeroFormat&&g===p.zeroFormat)x=0;else if(p.nullFormat&&g===p.nullFormat||!g.replace(/[^0-9]+/g,"").length)x=null;else{for(f in x=1,b.delimiters.decimal!=="."&&(g=g.replace(/\./g,"").replace(b.delimiters.decimal,".")),C)if(y=new RegExp("[^a-zA-Z]"+b.abbreviations[f]+"(?:\\)|(\\"+b.currency.symbol+")?(?:\\))?)?$"),w.match(y)){x*=Math.pow(10,C[f]);break}x*=(g.split("-").length+Math.min(g.split("(").length-1,g.split(")").length-1))%2?1:-1,g=g.replace(/[^0-9\.]+/g,""),x*=Number(g)}return x},isNaN:function(g){return typeof g=="number"&&isNaN(g)},includes:function(g,f){return g.indexOf(f)!==-1},insert:function(g,f,x){return g.slice(0,x)+f+g.slice(x)},reduce:function(g,f){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof f!="function")throw new TypeError(f+" is not a function");var x,y=Object(g),b=y.length>>>0,w=0;if(arguments.length===3)x=arguments[2];else{for(;w<b&&!(w in y);)w++;if(w>=b)throw new TypeError("Reduce of empty array with no initial value");x=y[w++]}for(;w<b;w++)w in y&&(x=f(x,y[w],w,y));return x},multiplier:function(g){var f=g.toString().split(".");return f.length<2?1:Math.pow(10,f[1].length)},correctionFactor:function(){return Array.prototype.slice.call(arguments).reduce((function(g,f){var x=n.multiplier(f);return g>x?g:x}),1)},toFixed:function(g,f,x,y){var b,w,C,v,A=g.toString().split("."),k=f-(y||0);return b=A.length===2?Math.min(Math.max(A[1].length,k),f):k,C=Math.pow(10,b),v=(x(g+"e+"+b)/C).toFixed(b),y>f-b&&(w=new RegExp("\\.?0{1,"+(y-(f-b))+"}$"),v=v.replace(w,"")),v}},e.options=p,e.formats=c,e.locales=d,e.locale=function(g){return g&&(p.currentLocale=g.toLowerCase()),p.currentLocale},e.localeData=function(g){if(!g)return d[p.currentLocale];if(g=g.toLowerCase(),!d[g])throw new Error("Unknown locale : "+g);return d[g]},e.reset=function(){for(var g in u)p[g]=u[g]},e.zeroFormat=function(g){p.zeroFormat=typeof g=="string"?g:null},e.nullFormat=function(g){p.nullFormat=typeof g=="string"?g:null},e.defaultFormat=function(g){p.defaultFormat=typeof g=="string"?g:"0.0"},e.register=function(g,f,x){if(f=f.toLowerCase(),this[g+"s"][f])throw new TypeError(f+" "+g+" already registered.");return this[g+"s"][f]=x,x},e.validate=function(g,f){var x,y,b,w,C,v,A,k;if(typeof g!="string"&&(g+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",g)),(g=g.trim()).match(/^\d+$/))return!0;if(g==="")return!1;try{A=e.localeData(f)}catch{A=e.localeData(e.locale())}return b=A.currency.symbol,C=A.abbreviations,x=A.delimiters.decimal,y=A.delimiters.thousands==="."?"\\.":A.delimiters.thousands,!((k=g.match(/^[^\d]+/))!==null&&(g=g.substr(1),k[0]!==b)||(k=g.match(/[^\d]+$/))!==null&&(g=g.slice(0,-1),k[0]!==C.thousand&&k[0]!==C.million&&k[0]!==C.billion&&k[0]!==C.trillion)||(v=new RegExp(y+"{2}"),g.match(/[^\d.,]/g)||(w=g.split(x)).length>2||(w.length<2?!w[0].match(/^\d+.*\d$/)||w[0].match(v):w[0].length===1?!w[0].match(/^\d+$/)||w[0].match(v)||!w[1].match(/^\d+$/):!w[0].match(/^\d+.*\d$/)||w[0].match(v)||!w[1].match(/^\d+$/))))},e.fn=h.prototype={clone:function(){return e(this)},format:function(g,f){var x,y,b,w=this._value,C=g||p.defaultFormat;if(f=f||Math.round,w===0&&p.zeroFormat!==null)y=p.zeroFormat;else if(w===null&&p.nullFormat!==null)y=p.nullFormat;else{for(x in c)if(C.match(c[x].regexps.format)){b=c[x].format;break}y=(b=b||e._.numberToFormat)(w,C,f)}return y},value:function(){return this._value},input:function(){return this._input},set:function(g){return this._value=Number(g),this},add:function(g){var f=n.correctionFactor.call(null,this._value,g);return this._value=n.reduce([this._value,g],(function(x,y,b,w){return x+Math.round(f*y)}),0)/f,this},subtract:function(g){var f=n.correctionFactor.call(null,this._value,g);return this._value=n.reduce([g],(function(x,y,b,w){return x-Math.round(f*y)}),Math.round(this._value*f))/f,this},multiply:function(g){return this._value=n.reduce([this._value,g],(function(f,x,y,b){var w=n.correctionFactor(f,x);return Math.round(f*w)*Math.round(x*w)/Math.round(w*w)}),1),this},divide:function(g){return this._value=n.reduce([this._value,g],(function(f,x,y,b){var w=n.correctionFactor(f,x);return Math.round(f*w)/Math.round(x*w)})),this},difference:function(g){return Math.abs(e(this._value).subtract(g).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(g){var f=g%10;return~~(g%100/10)==1?"th":f===1?"st":f===2?"nd":f===3?"rd":"th"},currency:{symbol:"$"}}),e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(g,f,x){var y,b=e._.includes(f," BPS")?" ":"";return g*=1e4,f=f.replace(/\s?BPS/,""),y=e._.numberToFormat(g,f,x),e._.includes(y,")")?((y=y.split("")).splice(-1,0,b+"BPS"),y=y.join("")):y=y+b+"BPS",y},unformat:function(g){return+(1e-4*e._.stringToNumber(g)).toFixed(15)}}),r={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},a=(o={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}).suffixes.concat(r.suffixes.filter((function(g){return o.suffixes.indexOf(g)<0}))),s="("+(s=a.join("|")).replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(s)},format:function(g,f,x){var y,b,w,C=e._.includes(f,"ib")?r:o,v=e._.includes(f," b")||e._.includes(f," ib")?" ":"";for(f=f.replace(/\s?i?b/,""),y=0;y<=C.suffixes.length;y++)if(b=Math.pow(C.base,y),w=Math.pow(C.base,y+1),g===null||g===0||g>=b&&g<w){v+=C.suffixes[y],b>0&&(g/=b);break}return e._.numberToFormat(g,f,x)+v},unformat:function(g){var f,x,y=e._.stringToNumber(g);if(y){for(f=o.suffixes.length-1;f>=0;f--){if(e._.includes(g,o.suffixes[f])){x=Math.pow(o.base,f);break}if(e._.includes(g,r.suffixes[f])){x=Math.pow(r.base,f);break}}y*=x||1}return y}}),e.register("format","currency",{regexps:{format:/(\$)/},format:function(g,f,x){var y,b,w,C=e.locales[e.options.currentLocale],v={before:f.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:f.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(f=f.replace(/\s?\$\s?/,""),y=e._.numberToFormat(g,f,x),g>=0?(v.before=v.before.replace(/[\-\(]/,""),v.after=v.after.replace(/[\-\)]/,"")):g<0&&!e._.includes(v.before,"-")&&!e._.includes(v.before,"(")&&(v.before="-"+v.before),w=0;w<v.before.length;w++)switch(b=v.before[w],b){case"$":y=e._.insert(y,C.currency.symbol,w);break;case" ":y=e._.insert(y," ",w+C.currency.symbol.length-1)}for(w=v.after.length-1;w>=0;w--)switch(b=v.after[w],b){case"$":y=w===v.after.length-1?y+C.currency.symbol:e._.insert(y,C.currency.symbol,-(v.after.length-(1+w)));break;case" ":y=w===v.after.length-1?y+" ":e._.insert(y," ",-(v.after.length-(1+w)+C.currency.symbol.length-1))}return y}}),e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(g,f,x){var y=(typeof g!="number"||e._.isNaN(g)?"0e+0":g.toExponential()).split("e");return f=f.replace(/e[\+|\-]{1}0/,""),e._.numberToFormat(Number(y[0]),f,x)+"e"+y[1]},unformat:function(g){var f=e._.includes(g,"e+")?g.split("e+"):g.split("e-"),x=Number(f[0]),y=Number(f[1]);return y=e._.includes(g,"e-")?y*=-1:y,e._.reduce([x,Math.pow(10,y)],(function(b,w,C,v){var A=e._.correctionFactor(b,w);return b*A*(w*A)/(A*A)}),1)}}),e.register("format","ordinal",{regexps:{format:/(o)/},format:function(g,f,x){var y=e.locales[e.options.currentLocale],b=e._.includes(f," o")?" ":"";return f=f.replace(/\s?o/,""),b+=y.ordinal(g),e._.numberToFormat(g,f,x)+b}}),e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(g,f,x){var y,b=e._.includes(f," %")?" ":"";return e.options.scalePercentBy100&&(g*=100),f=f.replace(/\s?\%/,""),y=e._.numberToFormat(g,f,x),e._.includes(y,")")?((y=y.split("")).splice(-1,0,b+"%"),y=y.join("")):y=y+b+"%",y},unformat:function(g){var f=e._.stringToNumber(g);return e.options.scalePercentBy100?.01*f:f}}),e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(g,f,x){var y=Math.floor(g/60/60),b=Math.floor((g-60*y*60)/60),w=Math.round(g-60*y*60-60*b);return y+":"+(b<10?"0"+b:b)+":"+(w<10?"0"+w:w)},unformat:function(g){var f=g.split(":"),x=0;return f.length===3?(x+=60*Number(f[0])*60,x+=60*Number(f[1]),x+=Number(f[2])):f.length===2&&(x+=60*Number(f[0]),x+=Number(f[1])),Number(x)}}),e},(Gfe=Zq).exports?Gfe.exports=Jq():qfe.numeral=Jq()),Zq.exports);const e5=Ui(wPt);function u5(e,...n){const o=new URL(`https://mui.com/production-error/?code=${e}`);return n.forEach((r=>o.searchParams.append("args[]",r))),`Minified MUI error #${e}; visit ${o} for the full message.`}const t5="$$material";var CPt={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 vPt(e){var n=Object.create(null);return function(o){return n[o]===void 0&&(n[o]=e(o)),n[o]}}var APt=/[A-Z]|^ms/g,SPt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,xst=function(e){return e.charCodeAt(1)===45},Kfe=function(e){return e!=null&&typeof e!="boolean"},Xq=vPt((function(e){return xst(e)?e:e.replace(APt,"-$&").toLowerCase()})),Zfe=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(SPt,(function(o,r,a){return dx={name:r,styles:a,next:dx},r}))}return CPt[e]===1||xst(e)||typeof n!="number"||n===0?n:n+"px"};function A_(e,n,o){if(o==null)return"";var r=o;if(r.__emotion_styles!==void 0)return r;switch(typeof o){case"boolean":return"";case"object":var a=o;if(a.anim===1)return dx={name:a.name,styles:a.styles,next:dx},a.name;var s=o;if(s.styles!==void 0){var c=s.next;if(c!==void 0)for(;c!==void 0;)dx={name:c.name,styles:c.styles,next:dx},c=c.next;return s.styles+";"}return(function(d,u,p){var h="";if(Array.isArray(p))for(var g=0;g<p.length;g++)h+=A_(d,u,p[g])+";";else for(var f in p){var x=p[f];if(typeof x!="object"){var y=x;Kfe(y)&&(h+=Xq(f)+":"+Zfe(f,y)+";")}else if(Array.isArray(x)&&typeof x[0]=="string"&&u==null)for(var b=0;b<x.length;b++)Kfe(x[b])&&(h+=Xq(f)+":"+Zfe(f,x[b])+";");else{var w=A_(d,u,x);switch(f){case"animation":case"animationName":h+=Xq(f)+":"+w+";";break;default:h+=f+"{"+w+"}"}}}return h})(e,n,o)}return o}var dx,Jfe=/label:\s*([^\s;{]+)\s*(;|$)/g,Xfe,e4e,t4e,n4e,o4e,i4e={exports:{}};function kPt(){return e4e?Xfe:(e4e=1,Xfe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}function jPt(){if(n4e)return t4e;n4e=1;var e=kPt();function n(){}function o(){}return o.resetWarningCache=n,t4e=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 a(){return r}r.isRequired=r;var s={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:a,element:r,elementType:r,instanceOf:a,node:r,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:o,resetWarningCache:n};return s.PropTypes=s,s}}function Qpe(){return o4e||(o4e=1,i4e.exports=jPt()()),i4e.exports}const $n=Ui(Qpe());var $Pt=(function(){function e(o){var r=this;this._insertTag=function(a){var s;s=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(a,s),r.tags.push(a)},this.isSpeedy=o.speedy===void 0||o.speedy,this.tags=[],this.ctr=0,this.nonce=o.nonce,this.key=o.key,this.container=o.container,this.prepend=o.prepend,this.insertionPoint=o.insertionPoint,this.before=null}var n=e.prototype;return n.hydrate=function(o){o.forEach(this._insertTag)},n.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag((function(s){var c=document.createElement("style");return c.setAttribute("data-emotion",s.key),s.nonce!==void 0&&c.setAttribute("nonce",s.nonce),c.appendChild(document.createTextNode("")),c.setAttribute("data-s",""),c})(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var a=(function(s){if(s.sheet)return s.sheet;for(var c=0;c<document.styleSheets.length;c++)if(document.styleSheets[c].ownerNode===s)return document.styleSheets[c]})(r);try{a.insertRule(o,a.cssRules.length)}catch{}}else r.appendChild(document.createTextNode(o));this.ctr++},n.flush=function(){this.tags.forEach((function(o){var r;return(r=o.parentNode)==null?void 0:r.removeChild(o)})),this.tags=[],this.ctr=0},e})(),p1="-ms-",r4e="-moz-",ta="-webkit-",yst="comm",Ype="rule",Gpe="decl",bst="@keyframes",EPt=Math.abs,xW=String.fromCharCode,IPt=Object.assign;function wst(e){return e.trim()}function na(e,n,o){return e.replace(n,o)}function mse(e,n){return e.indexOf(n)}function Sd(e,n){return 0|e.charCodeAt(n)}function gL(e,n,o){return e.slice(n,o)}function x3(e){return e.length}function qpe(e){return e.length}function uP(e,n){return n.push(e),e}var yW=1,NS=1,Cst=0,Ip=0,Ns=0,Fk="";function bW(e,n,o,r,a,s,c){return{value:e,root:n,parent:o,type:r,props:a,children:s,line:yW,column:NS,length:c,return:""}}function Nj(e,n){return IPt(bW("",null,null,"",null,null,0),e,{length:-e.length},n)}function Sh(){return Ns=Ip<Cst?Sd(Fk,Ip++):0,NS++,Ns===10&&(NS=1,yW++),Ns}function G3(){return Sd(Fk,Ip)}function eN(){return Ip}function TT(e,n){return gL(Fk,e,n)}function fL(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 vst(e){return yW=NS=1,Cst=x3(Fk=e),Ip=0,[]}function Ast(e){return Fk="",e}function tN(e){return wst(TT(Ip-1,gse(e===91?e+2:e===40?e+1:e)))}function DPt(e){for(;(Ns=G3())&&Ns<33;)Sh();return fL(e)>2||fL(Ns)>3?"":" "}function LPt(e,n){for(;--n&&Sh()&&!(Ns<48||Ns>102||Ns>57&&Ns<65||Ns>70&&Ns<97););return TT(e,eN()+(n<6&&G3()==32&&Sh()==32))}function gse(e){for(;Sh();)switch(Ns){case e:return Ip;case 34:case 39:e!==34&&e!==39&&gse(Ns);break;case 40:e===41&&gse(e);break;case 92:Sh()}return Ip}function TPt(e,n){for(;Sh()&&e+Ns!==57&&(e+Ns!==84||G3()!==47););return"/*"+TT(n,Ip-1)+"*"+xW(e===47?e:Sh())}function BPt(e){for(;!fL(G3());)Sh();return TT(e,Ip)}function PPt(e){return Ast(nN("",null,null,null,[""],e=vst(e),0,[0],e))}function nN(e,n,o,r,a,s,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="",k=a,$=s,j=r,E=A;w;)switch(y=v,v=Sh()){case 40:if(y!=108&&Sd(E,g-1)==58){mse(E+=na(tN(v),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:E+=tN(v);break;case 9:case 10:case 13:case 32:E+=DPt(y);break;case 92:E+=LPt(eN()-1,7);continue;case 47:switch(G3()){case 42:case 47:uP(MPt(TPt(Sh(),eN()),n,o),u);break;default:E+="/"}break;case 123*b:d[p++]=x3(E)*C;case 125*b:case 59:case 0:switch(v){case 0:case 125:w=0;case 59+h:C==-1&&(E=na(E,/\f/g,"")),x>0&&x3(E)-g&&uP(x>32?l4e(E+";",r,o,g-1):l4e(na(E," ","")+";",r,o,g-2),u);break;case 59:E+=";";default:if(uP(j=a4e(E,n,o,p,h,a,d,A,k=[],$=[],g),s),v===123)if(h===0)nN(E,n,j,j,k,s,g,d,$);else switch(f===99&&Sd(E,3)===110?100:f){case 100:case 108:case 109:case 115:nN(e,j,j,r&&uP(a4e(e,j,j,0,0,a,d,A,a,k=[],g),$),a,$,g,d,r?k:$);break;default:nN(E,j,j,j,[""],$,0,d,$)}}p=h=x=0,b=C=1,A=E="",g=c;break;case 58:g=1+x3(E),x=y;default:if(b<1){if(v==123)--b;else if(v==125&&b++==0&&(Ns=Ip>0?Sd(Fk,--Ip):0,NS--,Ns===10&&(NS=1,yW--),Ns==125))continue}switch(E+=xW(v),v*b){case 38:C=h>0?1:(E+="\f",-1);break;case 44:d[p++]=(x3(E)-1)*C,C=1;break;case 64:G3()===45&&(E+=tN(Sh())),f=G3(),h=g=x3(A=E+=BPt(eN())),v++;break;case 45:y===45&&x3(E)==2&&(b=0)}}return s}function a4e(e,n,o,r,a,s,c,d,u,p,h){for(var g=a-1,f=a===0?s:[""],x=qpe(f),y=0,b=0,w=0;y<r;++y)for(var C=0,v=gL(e,g+1,g=EPt(b=c[y])),A=e;C<x;++C)(A=wst(b>0?f[C]+" "+v:na(v,/&\f/g,f[C])))&&(u[w++]=A);return bW(e,n,o,a===0?Ype:d,u,p,h)}function MPt(e,n,o){return bW(e,n,o,yst,xW(Ns),gL(e,2,-2),0)}function l4e(e,n,o,r){return bW(e,n,o,Gpe,gL(e,0,r),gL(e,r+1,-1),r)}function nS(e,n){for(var o="",r=qpe(e),a=0;a<r;a++)o+=n(e[a],a,e,n)||"";return o}function OPt(e,n,o,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Gpe:return e.return=e.return||e.value;case yst:return"";case bst:return e.return=e.value+"{"+nS(e.children,r)+"}";case Ype:e.value=e.props.join(",")}return x3(o=nS(e.children,r))?e.return=e.value+"{"+o+"}":""}function zPt(e){return function(n){n.root||(n=n.return)&&e(n)}}var FPt=function(e,n,o){for(var r=0,a=0;r=a,a=G3(),r===38&&a===12&&(n[o]=1),!fL(a);)Sh();return TT(e,Ip)},RPt=function(e,n){return Ast((function(o,r){var a=-1,s=44;do switch(fL(s)){case 0:s===38&&G3()===12&&(r[a]=1),o[a]+=FPt(Ip-1,r,a);break;case 2:o[a]+=tN(s);break;case 4:if(s===44){o[++a]=G3()===58?"&\f":"",r[a]=o[a].length;break}default:o[a]+=xW(s)}while(s=Sh());return o})(vst(e),n))},s4e=new WeakMap,NPt=function(e){if(e.type==="rule"&&e.parent&&!(e.length<1)){for(var n=e.value,o=e.parent,r=e.column===o.column&&e.line===o.line;o.type!=="rule";)if(!(o=o.parent))return;if((e.props.length!==1||n.charCodeAt(0)===58||s4e.get(o))&&!r){s4e.set(e,!0);for(var a=[],s=RPt(n,a),c=o.props,d=0,u=0;d<s.length;d++)for(var p=0;p<c.length;p++,u++)e.props[u]=a[d]?s[d].replace(/&\f/g,c[p]):c[p]+" "+s[d]}}},_Pt=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}};function Sst(e,n){switch((function(o,r){return 45^Sd(o,0)?(((r<<2^Sd(o,0))<<2^Sd(o,1))<<2^Sd(o,2))<<2^Sd(o,3):0})(e,n)){case 5103:return ta+"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 ta+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ta+e+r4e+e+p1+e+e;case 6828:case 4268:return ta+e+p1+e+e;case 6165:return ta+e+p1+"flex-"+e+e;case 5187:return ta+e+na(e,/(\w+).+(:[^]+)/,ta+"box-$1$2"+p1+"flex-$1$2")+e;case 5443:return ta+e+p1+"flex-item-"+na(e,/flex-|-self/,"")+e;case 4675:return ta+e+p1+"flex-line-pack"+na(e,/align-content|flex-|-self/,"")+e;case 5548:return ta+e+p1+na(e,"shrink","negative")+e;case 5292:return ta+e+p1+na(e,"basis","preferred-size")+e;case 6060:return ta+"box-"+na(e,"-grow","")+ta+e+p1+na(e,"grow","positive")+e;case 4554:return ta+na(e,/([^-])(transform)/g,"$1"+ta+"$2")+e;case 6187:return na(na(na(e,/(zoom-|grab)/,ta+"$1"),/(image-set)/,ta+"$1"),e,"")+e;case 5495:case 3959:return na(e,/(image-set\([^]*)/,ta+"$1$`$1");case 4968:return na(na(e,/(.+:)(flex-)?(.*)/,ta+"box-pack:$3"+p1+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ta+e+e;case 4095:case 3583:case 4068:case 2532:return na(e,/(.+)-inline(.+)/,ta+"$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(x3(e)-1-n>6)switch(Sd(e,n+1)){case 109:if(Sd(e,n+4)!==45)break;case 102:return na(e,/(.+:)(.+)-([^]+)/,"$1"+ta+"$2-$3$1"+r4e+(Sd(e,n+3)==108?"$3":"$2-$3"))+e;case 115:return~mse(e,"stretch")?Sst(na(e,"stretch","fill-available"),n)+e:e}break;case 4949:if(Sd(e,n+1)!==115)break;case 6444:switch(Sd(e,x3(e)-3-(~mse(e,"!important")&&10))){case 107:return na(e,":",":"+ta)+e;case 101:return na(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ta+(Sd(e,14)===45?"inline-":"")+"box$3$1"+ta+"$2$3$1"+p1+"$2box$3")+e}break;case 5936:switch(Sd(e,n+11)){case 114:return ta+e+p1+na(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ta+e+p1+na(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ta+e+p1+na(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ta+e+p1+e+e}return e}var VPt=[function(e,n,o,r){if(e.length>-1&&!e.return)switch(e.type){case Gpe:e.return=Sst(e.value,e.length);break;case bst:return nS([Nj(e,{value:na(e.value,"@","@"+ta)})],r);case Ype:if(e.length)return(function(a,s){return a.map(s).join("")})(e.props,(function(a){switch((function(s,c){return(s=c.exec(s))?s[0]:s})(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return nS([Nj(e,{props:[na(a,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return nS([Nj(e,{props:[na(a,/:(plac\w+)/,":"+ta+"input-$1")]}),Nj(e,{props:[na(a,/:(plac\w+)/,":-moz-$1")]}),Nj(e,{props:[na(a,/:(plac\w+)/,p1+"input-$1")]})],r)}return""}))}}],kst=function(e){var n=e.key;if(n==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,(function(x){x.getAttribute("data-emotion").indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))}))}var r,a=e.stylisPlugins||VPt,s={},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++)s[y[b]]=!0;c.push(x)}));var d,u,p=[NPt,_Pt],h=[OPt,zPt((function(x){u.insert(x)}))],g=(function(x){var y=qpe(x);return function(b,w,C,v){for(var A="",k=0;k<y;k++)A+=x[k](b,w,C,v)||"";return A}})(p.concat(a,h));d=function(x,y,b,w){u=b,(function(C){nS(PPt(C),g)})(x?x+"{"+y.styles+"}":y.styles),w&&(f.inserted[y.name]=!0)};var f={key:n,sheet:new $Pt({key:n,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:d};return f.sheet.hydrate(c),f};function jst(e){const{styles:n,defaultTheme:o={}}=e,r=typeof n=="function"?a=>n((function(s){return s==null||Object.keys(s).length===0})(a)?o:a):n;return t.jsx(LT,{styles:r})}const c4e=[];function Dx(e){return c4e[0]=e,(function(n,o,r){if(n.length===1&&typeof n[0]=="object"&&n[0]!==null&&n[0].styles!==void 0)return n[0];var a=!0,s="";dx=void 0;var c=n[0];c==null||c.raw===void 0?(a=!1,s+=A_(r,o,c)):s+=c[0];for(var d=1;d<n.length;d++)s+=A_(r,o,n[d]),a&&(s+=c[d]);Jfe.lastIndex=0;for(var u,p="";(u=Jfe.exec(s))!==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)})(s)+p;return{name:h,styles:s,next:dx}})(c4e)}var d4e,u4e,p4e={exports:{}},Da={};function HPt(){if(d4e)return Da;d4e=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=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 o:case a: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 s:return b;default:return w}}case n:return w}}}return Da.ContextConsumer=s,Da.ContextProvider=c,Da.Element=e,Da.ForwardRef=d,Da.Fragment=o,Da.Lazy=g,Da.Memo=h,Da.Portal=n,Da.Profiler=a,Da.StrictMode=r,Da.Suspense=u,Da.SuspenseList=p,Da.isContextConsumer=function(b){return y(b)===s},Da.isContextProvider=function(b){return y(b)===c},Da.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},Da.isForwardRef=function(b){return y(b)===d},Da.isFragment=function(b){return y(b)===o},Da.isLazy=function(b){return y(b)===g},Da.isMemo=function(b){return y(b)===h},Da.isPortal=function(b){return y(b)===n},Da.isProfiler=function(b){return y(b)===a},Da.isStrictMode=function(b){return y(b)===r},Da.isSuspense=function(b){return y(b)===u},Da.isSuspenseList=function(b){return y(b)===p},Da.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===o||b===a||b===r||b===u||b===p||typeof b=="object"&&b!==null&&(b.$$typeof===g||b.$$typeof===h||b.$$typeof===c||b.$$typeof===s||b.$$typeof===d||b.$$typeof===x||b.getModuleId!==void 0)},Da.typeOf=y,Da}function UPt(){return u4e||(u4e=1,p4e.exports=HPt()),p4e.exports}var $st=UPt();function M4(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 Est(e){if(m.isValidElement(e)||$st.isValidElementType(e)||!M4(e))return e;const n={};return Object.keys(e).forEach((o=>{n[o]=Est(e[o])})),n}function j1(e,n,o={clone:!0}){const r=o.clone?{...e}:e;return M4(e)&&M4(n)&&Object.keys(n).forEach((a=>{m.isValidElement(n[a])||$st.isValidElementType(n[a])?r[a]=n[a]:M4(n[a])&&Object.prototype.hasOwnProperty.call(e,a)&&M4(e[a])?r[a]=j1(e[a],n[a],o):o.clone?r[a]=M4(n[a])?Est(n[a]):n[a]:r[a]=n[a]})),r}function WPt(e){const{values:n={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:r=5,...a}=e,s=(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(s);function d(h){return`@media (min-width:${typeof n[h]=="number"?n[h]:h}${o})`}function u(h){return`@media (max-width:${(typeof n[h]=="number"?n[h]:h)-r/100}${o})`}function p(h,g){const f=c.indexOf(g);return`@media (min-width:${typeof n[h]=="number"?n[h]:h}${o}) and (max-width:${(f!==-1&&typeof n[c[f]]=="number"?n[c[f]]:g)-r/100}${o})`}return{keys:c,values:s,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:o,...a}}function h4e(e,n){if(!e.containerQueries)return n;const o=Object.keys(n).filter((r=>r.startsWith("@container"))).sort(((r,a)=>{const s=/min-width:\s*([0-9.]+)/;return+(r.match(s)?.[1]||0)-+(a.match(s)?.[1]||0)}));return o.length?o.reduce(((r,a)=>{const s=n[a];return delete r[a],r[a]=s,r}),{...n}):n}const QPt={borderRadius:4};function hD(e,n){return n?j1(e,n,{clone:!1}):e}const wW={xs:0,sm:600,md:900,lg:1200,xl:1536},m4e={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${wW[e]}px)`},YPt={containerQueries:e=>({up:n=>{let o=typeof n=="number"?n:wW[n]||n;return typeof o=="number"&&(o=`${o}px`),e?`@container ${e} (min-width:${o})`:`@container (min-width:${o})`}})};function p5(e,n,o){const r=e.theme||{};if(Array.isArray(n)){const a=r.breakpoints||m4e;return n.reduce(((s,c,d)=>(s[a.up(a.keys[d])]=o(n[d]),s)),{})}if(typeof n=="object"){const a=r.breakpoints||m4e;return Object.keys(n).reduce(((s,c)=>{if((function(d,u){return u==="@"||u.startsWith("@")&&(d.some((p=>u.startsWith(`@${p}`)))||!!u.match(/^@\d/))})(a.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:YPt,c);d&&(s[d]=o(n[c],c))}else if(Object.keys(a.values||wW).includes(c))s[a.up(c)]=o(n[c],c);else{const d=c;s[d]=n[d]}return s}),{})}return o(n)}function g4e(e,n){return e.reduce(((o,r)=>{const a=o[r];return(!a||Object.keys(a).length===0)&&delete o[r],o}),n)}function $i(e){if(typeof e!="string")throw new Error(u5(7));return e.charAt(0).toUpperCase()+e.slice(1)}function CW(e,n,o=!0){if(!n||typeof n!="string")return null;if(e&&e.vars&&o){const r=`vars.${n}`.split(".").reduce(((a,s)=>a&&a[s]?a[s]:null),e);if(r!=null)return r}return n.split(".").reduce(((r,a)=>r&&r[a]!=null?r[a]:null),e)}function S_(e,n,o,r=o){let a;return a=typeof e=="function"?e(o):Array.isArray(e)?e[o]||r:CW(e,o)||r,n&&(a=n(a,r,e)),a}function ws(e){const{prop:n,cssProperty:o=e.prop,themeKey:r,transform:a}=e,s=c=>{if(c[n]==null)return null;const d=c[n],u=CW(c.theme,r)||{};return p5(c,d,(p=>{let h=S_(u,a,p);return p===h&&typeof p=="string"&&(h=S_(u,a,`${n}${p==="default"?"":$i(p)}`,p)),o===!1?h:{[o]:h}}))};return s.propTypes={},s.filterProps=[n],s}const GPt={m:"margin",p:"padding"},qPt={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},f4e={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},KPt=(function(e){const n={};return o=>(n[o]===void 0&&(n[o]=e(o)),n[o])})((e=>{if(e.length>2){if(!f4e[e])return[e];e=f4e[e]}const[n,o]=e.split(""),r=GPt[n],a=qPt[o]||"";return Array.isArray(a)?a.map((s=>r+s)):[r+a]})),Ist=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Dst=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function BT(e,n,o,r){const a=CW(e,n,!0)??o;return typeof a=="number"||typeof a=="string"?s=>typeof s=="string"?s:typeof a=="string"?a.startsWith("var(")&&s===0?0:a.startsWith("var(")&&s===1?a:`calc(${s} * ${a})`:a*s:Array.isArray(a)?s=>{if(typeof s=="string")return s;const c=Math.abs(s),d=a[c];return s>=0?d:typeof d=="number"?-d:typeof d=="string"&&d.startsWith("var(")?`calc(-1 * ${d})`:`-${d}`}:typeof a=="function"?a:()=>{}}function Kpe(e){return BT(e,"spacing",8)}function PT(e,n){return typeof n=="string"||n==null?n:e(n)}function ZPt(e,n,o,r){if(!n.includes(o))return null;const a=(function(s,c){return d=>s.reduce(((u,p)=>(u[p]=PT(c,d),u)),{})})(KPt(o),r);return p5(e,e[o],a)}function Lst(e,n){const o=Kpe(e.theme);return Object.keys(e).map((r=>ZPt(e,n,r,o))).reduce(hD,{})}function Kl(e){return Lst(e,Ist)}function Zl(e){return Lst(e,Dst)}function Tst(e=8,n=Kpe({spacing:e})){if(e.mui)return e;const o=(...r)=>(r.length===0?[1]:r).map((a=>{const s=n(a);return typeof s=="number"?`${s}px`:s})).join(" ");return o.mui=!0,o}function vW(...e){const n=e.reduce(((r,a)=>(a.filterProps.forEach((s=>{r[s]=a})),r)),{}),o=r=>Object.keys(r).reduce(((a,s)=>n[s]?hD(a,n[s](r)):a),{});return o.propTypes={},o.filterProps=e.reduce(((r,a)=>r.concat(a.filterProps)),[]),o}function B0(e){return typeof e!="number"?e:`${e}px solid`}function lm(e,n){return ws({prop:e,themeKey:"borders",transform:n})}Kl.propTypes={},Kl.filterProps=Ist,Zl.propTypes={},Zl.filterProps=Dst;const JPt=lm("border",B0),XPt=lm("borderTop",B0),eMt=lm("borderRight",B0),tMt=lm("borderBottom",B0),nMt=lm("borderLeft",B0),oMt=lm("borderColor"),iMt=lm("borderTopColor"),rMt=lm("borderRightColor"),aMt=lm("borderBottomColor"),lMt=lm("borderLeftColor"),sMt=lm("outline",B0),cMt=lm("outlineColor"),oN=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const n=BT(e.theme,"shape.borderRadius",4),o=r=>({borderRadius:PT(n,r)});return p5(e,e.borderRadius,o)}return null};oN.propTypes={},oN.filterProps=["borderRadius"],vW(JPt,XPt,eMt,tMt,nMt,oMt,iMt,rMt,aMt,lMt,oN,sMt,cMt);const k_=e=>{if(e.gap!==void 0&&e.gap!==null){const n=BT(e.theme,"spacing",8),o=r=>({gap:PT(n,r)});return p5(e,e.gap,o)}return null};k_.propTypes={},k_.filterProps=["gap"];const j_=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const n=BT(e.theme,"spacing",8),o=r=>({columnGap:PT(n,r)});return p5(e,e.columnGap,o)}return null};j_.propTypes={},j_.filterProps=["columnGap"];const $_=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const n=BT(e.theme,"spacing",8),o=r=>({rowGap:PT(n,r)});return p5(e,e.rowGap,o)}return null};$_.propTypes={},$_.filterProps=["rowGap"];function oS(e,n){return n==="grey"?n:e}vW(k_,j_,$_,ws({prop:"gridColumn"}),ws({prop:"gridRow"}),ws({prop:"gridAutoFlow"}),ws({prop:"gridAutoColumns"}),ws({prop:"gridAutoRows"}),ws({prop:"gridTemplateColumns"}),ws({prop:"gridTemplateRows"}),ws({prop:"gridTemplateAreas"}),ws({prop:"gridArea"}));function fh(e){return e<=1&&e!==0?100*e+"%":e}vW(ws({prop:"color",themeKey:"palette",transform:oS}),ws({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:oS}),ws({prop:"backgroundColor",themeKey:"palette",transform:oS}));const dMt=ws({prop:"width",transform:fh}),Zpe=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const n=o=>{const r=e.theme?.breakpoints?.values?.[o]||wW[o];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:fh(o)}};return p5(e,e.maxWidth,n)}return null};Zpe.filterProps=["maxWidth"];const uMt=ws({prop:"minWidth",transform:fh}),pMt=ws({prop:"height",transform:fh}),hMt=ws({prop:"maxHeight",transform:fh}),mMt=ws({prop:"minHeight",transform:fh});ws({prop:"size",cssProperty:"width",transform:fh}),ws({prop:"size",cssProperty:"height",transform:fh});vW(dMt,Zpe,uMt,pMt,hMt,mMt,ws({prop:"boxSizing"}));const AW={border:{themeKey:"borders",transform:B0},borderTop:{themeKey:"borders",transform:B0},borderRight:{themeKey:"borders",transform:B0},borderBottom:{themeKey:"borders",transform:B0},borderLeft:{themeKey:"borders",transform:B0},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:B0},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:oN},color:{themeKey:"palette",transform:oS},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:oS},backgroundColor:{themeKey:"palette",transform:oS},p:{style:Zl},pt:{style:Zl},pr:{style:Zl},pb:{style:Zl},pl:{style:Zl},px:{style:Zl},py:{style:Zl},padding:{style:Zl},paddingTop:{style:Zl},paddingRight:{style:Zl},paddingBottom:{style:Zl},paddingLeft:{style:Zl},paddingX:{style:Zl},paddingY:{style:Zl},paddingInline:{style:Zl},paddingInlineStart:{style:Zl},paddingInlineEnd:{style:Zl},paddingBlock:{style:Zl},paddingBlockStart:{style:Zl},paddingBlockEnd:{style:Zl},m:{style:Kl},mt:{style:Kl},mr:{style:Kl},mb:{style:Kl},ml:{style:Kl},mx:{style:Kl},my:{style:Kl},margin:{style:Kl},marginTop:{style:Kl},marginRight:{style:Kl},marginBottom:{style:Kl},marginLeft:{style:Kl},marginX:{style:Kl},marginY:{style:Kl},marginInline:{style:Kl},marginInlineStart:{style:Kl},marginInlineEnd:{style:Kl},marginBlock:{style:Kl},marginBlockStart:{style:Kl},marginBlockEnd:{style:Kl},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:k_},rowGap:{style:$_},columnGap:{style:j_},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:fh},maxWidth:{style:Zpe},minWidth:{transform:fh},height:{transform:fh},maxHeight:{transform:fh},minHeight:{transform:fh},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"}},jb=(function(){function e(n,o,r,a){const s={[n]:o,theme:r},c=a[n];if(!c)return{[n]:o};const{cssProperty:d=n,themeKey:u,transform:p,style:h}=c;if(o==null)return null;if(u==="typography"&&o==="inherit")return{[n]:o};const g=CW(r,u)||{};return h?h(s):p5(s,o,(f=>{let x=S_(g,p,f);return f===x&&typeof f=="string"&&(x=S_(g,p,`${n}${f==="default"?"":$i(f)}`,f)),d===!1?x:{[d]:x}}))}return function n(o){const{sx:r,theme:a={},nested:s}=o||{};if(!r)return null;const c=a.unstable_sxConfig??AW;function d(u){let p=u;if(typeof u=="function")p=u(a);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)),{})||{}})(a.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],a);if(y!=null)if(typeof y=="object")if(c[x])f=hD(f,e(x,y,a,c));else{const b=p5({theme:a},y,(w=>({[x]:w})));(function(...w){const C=w.reduce(((A,k)=>A.concat(Object.keys(k))),[]),v=new Set(C);return w.every((A=>v.size===Object.keys(A).length))})(b,y)?f[x]=n({sx:y,theme:a,nested:!0}):f=hD(f,b)}else f=hD(f,e(x,y,a,c))})),!s&&a.modularCssLayers?{"@layer sx":h4e(a,g4e(g,f))}:h4e(a,g4e(g,f))}return Array.isArray(r)?r.map(d):d(r)}})();function gMt(e,n){const o=this;if(o.vars){if(!o.colorSchemes?.[e]||typeof o.getColorSchemeSelector!="function")return{};let r=o.getColorSchemeSelector(e);return r==="&"?n:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:n})}return o.palette.mode===e?n:{}}function Jpe(e={},...n){const{breakpoints:o={},palette:r={},spacing:a,shape:s={},...c}=e;let d=j1({breakpoints:WPt(o),direction:"ltr",components:{},palette:{mode:"light",...r},spacing:Tst(a),shape:{...QPt,...s}},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=gMt,d=n.reduce(((u,p)=>j1(u,p)),d),d.unstable_sxConfig={...AW,...c?.unstable_sxConfig},d.unstable_sx=function(u){return jb({sx:u,theme:this})},d}function fse(e=null){const n=m.useContext(dst);return!n||(function(o){return Object.keys(o).length===0})(n)?e:n}jb.filterProps=["sx"];const fMt=Jpe();function Bst(e=fMt){return fse(e)}function x4e(e){const n=Dx(e);return e!==n&&n.styles?(n.styles.match(/^@layer\s+[^{]*$/)||(n.styles=`@layer global{${n.styles}}`),n):e}function Pst({styles:e,themeId:n,defaultTheme:o={}}){const r=Bst(o),a=n&&r[n]||r;let s=typeof e=="function"?e(a):e;return a.modularCssLayers&&(s=Array.isArray(s)?s.map((c=>x4e(typeof c=="function"?c(a):c))):x4e(s)),t.jsx(jst,{styles:s})}const y4e=e=>e,xMt=(()=>{let e=y4e;return{configure(n){e=n},generate:n=>e(n),reset(){e=y4e}}})();function Mst(e){var n,o,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(n=0;n<a;n++)e[n]&&(o=Mst(e[n]))&&(r&&(r+=" "),r+=o)}else for(o in e)e[o]&&(r&&(r+=" "),r+=o);return r}function Di(){for(var e,n,o=0,r="",a=arguments.length;o<a;o++)(e=arguments[o])&&(n=Mst(e))&&(r&&(r+=" "),r+=n);return r}const yMt={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 ia(e,n,o="Mui"){const r=yMt[n];return r?`${o}-${r}`:`${xMt.generate(e)}-${n}`}function Nr(e,n,o="Mui"){const r={};return n.forEach((a=>{r[a]=ia(e,a,o)})),r}function Ost(e){const{variants:n,...o}=e,r={variants:n,style:Dx(o),isProcessed:!0};return r.style===o||n&&n.forEach((a=>{typeof a.style!="function"&&(a.style=Dx(a.style))})),r}const bMt=Jpe();function eK(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function E8(e,n){return n&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${n}{${String(e.styles)}}`),e}function wMt(e){return e?(n,o)=>o[e]:null}function iN(e,n,o){const r=typeof n=="function"?n(e):n;if(Array.isArray(r))return r.flatMap((a=>iN(e,a,o)));if(Array.isArray(r?.variants)){let a;if(r.isProcessed)a=o?E8(r.style,o):r.style;else{const{variants:s,...c}=r;a=o?E8(Dx(c),o):c}return zst(e,r.variants,[a],o)}return r?.isProcessed?o?E8(Dx(r.style),o):r.style:o?E8(Dx(r),o):r}function zst(e,n,o=[],r=void 0){let a;e:for(let s=0;s<n.length;s+=1){const c=n[s];if(typeof c.props=="function"){if(a??={...e,...e.ownerState,ownerState:e.ownerState},!c.props(a))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"?(a??={...e,...e.ownerState,ownerState:e.ownerState},o.push(r?E8(Dx(c.style(a)),r):c.style(a))):o.push(r?E8(Dx(c.style),r):c.style)}return o}function CMt(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function xse(e,n,o=!1){const r={...n};for(const a in e)if(Object.prototype.hasOwnProperty.call(e,a)){const s=a;if(s==="components"||s==="slots")r[s]={...e[s],...r[s]};else if(s==="componentsProps"||s==="slotProps"){const c=e[s],d=n[s];if(d)if(c){r[s]={...d};for(const u in c)if(Object.prototype.hasOwnProperty.call(c,u)){const p=u;r[s][p]=xse(c[p],d[p],o)}}else r[s]=d;else r[s]=c||{}}else s==="className"&&o&&n.className?r.className=Di(e?.className,n?.className):s==="style"&&o&&n.style?r.style={...e?.style,...n?.style}:r[s]===void 0&&(r[s]=e[s])}return r}const Lh=typeof window<"u"?m.useLayoutEffect:m.useEffect;function Xpe(e,n=0,o=1){return(function(r,a=Number.MIN_SAFE_INTEGER,s=Number.MAX_SAFE_INTEGER){return Math.max(a,Math.min(r,s))})(e,n,o)}function Yx(e){if(e.type)return e;if(e.charAt(0)==="#")return Yx((function(s){s=s.slice(1);const c=new RegExp(`.{1,${s.length>=6?2:1}}`,"g");let d=s.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("("),o=e.substring(0,n);if(!["rgb","rgba","hsl","hsla","color"].includes(o))throw new Error(u5(9,e));let r,a=e.substring(n+1,e.length-1);if(o==="color"){if(a=a.split(" "),r=a.shift(),a.length===4&&a[3].charAt(0)==="/"&&(a[3]=a[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(r))throw new Error(u5(10,r))}else a=a.split(",");return a=a.map((s=>parseFloat(s))),{type:o,values:a,colorSpace:r}}const $I=(e,n)=>{try{return(o=>{const r=Yx(o);return r.values.slice(0,3).map(((a,s)=>r.type.includes("hsl")&&s!==0?`${a}%`:a)).join(" ")})(e)}catch{return e}};function SW(e){const{type:n,colorSpace:o}=e;let{values:r}=e;return n.includes("rgb")?r=r.map(((a,s)=>s<3?parseInt(a,10):a)):n.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=n.includes("color")?`${o} ${r.join(" ")}`:`${r.join(", ")}`,`${n}(${r})`}function Fst(e){e=Yx(e);const{values:n}=e,o=n[0],r=n[1]/100,a=n[2]/100,s=r*Math.min(a,1-a),c=(p,h=(p+o/30)%12)=>a-s*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])),SW({type:d,values:u})}function yse(e){let n=(e=Yx(e)).type==="hsl"||e.type==="hsla"?Yx(Fst(e)).values:e.values;return n=n.map((o=>(e.type!=="color"&&(o/=255),o<=.03928?o/12.92:((o+.055)/1.055)**2.4))),Number((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3))}function E_(e,n){return e=Yx(e),n=Xpe(n),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${n}`:e.values[3]=n,SW(e)}function Sy(e,n,o){try{return E_(e,n)}catch{return e}}function kW(e,n){if(e=Yx(e),n=Xpe(n),e.type.includes("hsl"))e.values[2]*=1-n;else if(e.type.includes("rgb")||e.type.includes("color"))for(let o=0;o<3;o+=1)e.values[o]*=1-n;return SW(e)}function ba(e,n,o){try{return kW(e,n)}catch{return e}}function jW(e,n){if(e=Yx(e),n=Xpe(n),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*n;else if(e.type.includes("rgb"))for(let o=0;o<3;o+=1)e.values[o]+=(255-e.values[o])*n;else if(e.type.includes("color"))for(let o=0;o<3;o+=1)e.values[o]+=(1-e.values[o])*n;return SW(e)}function wa(e,n,o){try{return jW(e,n)}catch{return e}}function pP(e,n,o){try{return(function(r,a=.15){return yse(r)>.5?kW(r,a):jW(r,a)})(e,n)}catch{return e}}const Rst=m.createContext(null);function ehe(){return m.useContext(Rst)}const vMt=typeof Symbol=="function"&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function AMt(e){const{children:n,theme:o}=e,r=ehe(),a=m.useMemo((()=>{const s=r===null?{...o}:(function(c,d){return typeof d=="function"?d(c):{...c,...d}})(r,o);return s!=null&&(s[vMt]=r!==null),s}),[o,r]);return t.jsx(Rst.Provider,{value:a,children:n})}const Nst=m.createContext();function SMt({value:e,...n}){return t.jsx(Nst.Provider,{value:e??!0,...n})}const $W=()=>m.useContext(Nst)??!1,_st=m.createContext(void 0);function kMt({value:e,children:n}){return t.jsx(_st.Provider,{value:e,children:n})}function jMt({props:e,name:n}){return(function(o){const{theme:r,name:a,props:s}=o;if(!r||!r.components||!r.components[a])return s;const c=r.components[a];return c.defaultProps?xse(c.defaultProps,s,r.components.mergeClassNameAndStyle):c.styleOverrides||c.variants?s:xse(c,s,r.components.mergeClassNameAndStyle)})({props:e,name:n,theme:{components:m.useContext(_st)}})}let b4e=0;const w4e={...lDt}.useId;function EW(e){if(w4e!==void 0){const n=w4e();return e??n}return(function(n){const[o,r]=m.useState(n),a=n||o;return m.useEffect((()=>{o==null&&(b4e+=1,r(`mui-${b4e}`))}),[o]),a})(e)}const C4e={};function v4e(e,n,o,r=!1){return m.useMemo((()=>{const a=e&&n[e]||n;if(typeof o=="function"){const s=o(a),c=e?{...n,[e]:s}:s;return r?()=>c:c}return e?{...n,[e]:o}:{...n,...o}}),[e,n,o,r])}function Vst(e){const{children:n,theme:o,themeId:r}=e,a=fse(C4e),s=ehe()||C4e,c=v4e(r,a,o),d=v4e(r,s,o,!0),u=(r?c[r]:c).direction==="rtl",p=(function(h){const g=fse(),f=EW()||"",{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};`:"",Lh((()=>{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(Pst,{styles:y}):null})(c);return t.jsx(AMt,{theme:d,children:t.jsx(dst.Provider,{value:c,children:t.jsx(SMt,{value:u,children:t.jsxs(kMt,{value:r?c[r].components:c.components,children:[p,n]})})})})}const A4e={theme:void 0},bse="mode",wse="color-scheme",$Mt="data-color-scheme";function EMt(){}const IMt=({key:e,storageWindow:n})=>(!n&&typeof window<"u"&&(n=window),{get(o){if(typeof window>"u")return;if(!n)return o;let r;try{r=n.localStorage.getItem(e)}catch{}return r||o},set:o=>{if(n)try{n.localStorage.setItem(e,o)}catch{}},subscribe:o=>{if(!n)return EMt;const r=a=>{const s=a.newValue;a.key===e&&o(s)};return n.addEventListener("storage",r),()=>{n.removeEventListener("storage",r)}}});function tK(){}function S4e(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function k4e(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 DMt(e){const{defaultMode:n="light",defaultLightColorScheme:o,defaultDarkColorScheme:r,supportedColorSchemes:a=[],modeStorageKey:s=bse,colorSchemeStorageKey:c=wse,storageWindow:d=typeof window>"u"?void 0:window,storageManager:u=IMt,noSsr:p=!1}=e,h=a.join(","),g=a.length>1,f=m.useMemo((()=>u?.({key:s,storageWindow:d})),[u,s,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(o)||o,F=y?.get(r)||r;return{mode:I,systemMode:S4e(I),lightColorScheme:D,darkColorScheme:F}})),[C,v]=m.useState(p||!g);m.useEffect((()=>{v(!0)}),[]);const A=(function(I){return k4e(I,(D=>D==="light"?I.lightColorScheme:D==="dark"?I.darkColorScheme:void 0))})(b),k=m.useCallback((I=>{w((D=>{if(I===D.mode)return D;const F=I??n;return f?.set(F),{...D,mode:F,systemMode:S4e(F)}}))}),[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 F={...D};return k4e(D,(z=>{z==="light"&&(x?.set(I),F.lightColorScheme=I),z==="dark"&&(y?.set(I),F.darkColorScheme=I)})),F})):w((D=>{const F={...D},z=I.light===null?o:I.light,O=I.dark===null?r:I.dark;return z&&(h.includes(z)?(F.lightColorScheme=z,x?.set(z)):console.error(`\`${z}\` does not exist in \`theme.colorSchemes\`.`)),O&&(h.includes(O)?(F.darkColorScheme=O,y?.set(O)):console.error(`\`${O}\` does not exist in \`theme.colorSchemes\`.`)),F})):w((D=>(x?.set(o),y?.set(r),{...D,lightColorScheme:o,darkColorScheme:r})))}),[h,x,y,o,r]),j=m.useCallback((I=>{b.mode==="system"&&w((D=>{const F=I?.matches?"dark":"light";return D.systemMode===F?D:{...D,systemMode:F}}))}),[b.mode]),E=m.useRef(j);return E.current=j,m.useEffect((()=>{if(typeof window.matchMedia!="function"||!g)return;const I=(...F)=>E.current(...F),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((z=>{(!z||["light","dark","system"].includes(z))&&k(z||n)}))||tK,D=x?.subscribe((z=>{(!z||h.match(z))&&$({light:z})}))||tK,F=y?.subscribe((z=>{(!z||h.match(z))&&$({dark:z})}))||tK;return()=>{I(),D(),F()}}}),[$,k,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:k,setColorScheme:$}}function LMt(e=""){function n(...o){if(!o.length)return"";const r=o[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(...o.slice(1))})`}return(o,...r)=>`var(--${e?`${e}-`:""}${o}${n(...r)})`}const j4e=(e,n,o,r=[])=>{let a=e;n.forEach(((s,c)=>{c===n.length-1?Array.isArray(a)?a[Number(s)]=o:a&&typeof a=="object"&&(a[s]=o):a&&typeof a=="object"&&(a[s]||(a[s]=r.includes(s)?[]:{}),a=a[s])}))};function nK(e,n){const{prefix:o,shouldSkipGeneratingVar:r}=n||{},a={},s={},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=`--${o?`${o}-`:""}${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(a,{[h]:g}),j4e(s,d,`var(${h})`,p),j4e(c,d,`var(${h}, ${g})`,p)}}),(d=>d[0]==="vars")),{css:a,vars:s,varsWithDefaults:c}}function ra(e,n,o=void 0){const r={};for(const a in e){const s=e[a];let c="",d=!0;for(let u=0;u<s.length;u+=1){const p=s[u];p&&(c+=(d===!0?"":" ")+n(p),d=!1,o&&o[p]&&(c+=" "+o[p]))}r[a]=c}return r}function oK(e,n){return m.isValidElement(e)&&n.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}const xL={black:"#000",white:"#fff"},TMt={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"},BMt="#f3e5f5",PMt="#ce93d8",MMt="#ba68c8",OMt="#ab47bc",zMt="#9c27b0",FMt="#7b1fa2",RMt="#e57373",NMt="#ef5350",_Mt="#f44336",$4e="#d32f2f",VMt="#c62828",HMt="#ffb74d",UMt="#ffa726",WMt="#ff9800",QMt="#f57c00",YMt="#e65100",GMt="#e3f2fd",qMt="#90caf9",E4e="#42a5f5",KMt="#1976d2",ZMt="#1565c0",JMt="#4fc3f7",XMt="#29b6f6",eOt="#03a9f4",I4e="#0288d1",tOt="#01579b",nOt="#81c784",oOt="#66bb6a",iOt="#4caf50",rOt="#388e3c",aOt="#2e7d32",lOt="#1b5e20";function Hst(){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:xL.white,default:xL.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 Ust=Hst();function Wst(){return{text:{primary:xL.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:xL.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 Cse=Wst();function D4e(e,n,o,r){const a=r.light||r,s=r.dark||1.5*r;e[n]||(e.hasOwnProperty(o)?e[n]=e[o]:n==="light"?e.light=jW(e.main,a):n==="dark"&&(e.dark=kW(e.main,s)))}function L4e(e,n,o,r,a){const s=a.light||a,c=a.dark||1.5*a;n[o]||(n.hasOwnProperty(r)?n[o]=n[r]:o==="light"?n.light=`color-mix(in ${e}, ${n.main}, #fff ${(100*s).toFixed(0)}%)`:o==="dark"&&(n.dark=`color-mix(in ${e}, ${n.main}, #000 ${(100*c).toFixed(0)}%)`))}function the(e){const{mode:n="light",contrastThreshold:o=3,tonalOffset:r=.2,colorSpace:a,...s}=e,c=e.primary||(function(b="light"){return b==="dark"?{main:qMt,light:GMt,dark:E4e}:{main:KMt,light:E4e,dark:ZMt}})(n),d=e.secondary||(function(b="light"){return b==="dark"?{main:PMt,light:BMt,dark:OMt}:{main:zMt,light:MMt,dark:FMt}})(n),u=e.error||(function(b="light"){return b==="dark"?{main:_Mt,light:RMt,dark:$4e}:{main:$4e,light:NMt,dark:VMt}})(n),p=e.info||(function(b="light"){return b==="dark"?{main:XMt,light:JMt,dark:I4e}:{main:I4e,light:eOt,dark:tOt}})(n),h=e.success||(function(b="light"){return b==="dark"?{main:oOt,light:nOt,dark:rOt}:{main:aOt,light:iOt,dark:lOt}})(n),g=e.warning||(function(b="light"){return b==="dark"?{main:UMt,light:HMt,dark:QMt}:{main:"#ed6c02",light:WMt,dark:YMt}})(n);function f(b){return a?(function(C){return`oklch(from ${C} var(--__l) 0 h / var(--__a))`})(b):(function(C,v){const A=yse(C),k=yse(v);return(Math.max(A,k)+.05)/(Math.min(A,k)+.05)})(b,Cse.text.primary)>=o?Cse.text.primary:Ust.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(u5(11,w?` (${w})`:"",C));if(typeof b.main!="string")throw new Error(u5(12,w?` (${w})`:"",JSON.stringify(b.main)));return a?(L4e(a,b,"light",v,r),L4e(a,b,"dark",A,r)):(D4e(b,"light",v,r),D4e(b,"dark",A,r)),b.contrastText||(b.contrastText=f(b.main)),b};let y;return n==="light"?y=Hst():n==="dark"&&(y=Wst()),j1({common:{...xL},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:TMt,contrastThreshold:o,getContrastText:f,augmentColor:x,tonalOffset:r,...y},s)}function sOt(e){const n={};return Object.entries(e).forEach((o=>{const[r,a]=o;typeof a=="object"&&(n[r]=`${a.fontStyle?`${a.fontStyle} `:""}${a.fontVariant?`${a.fontVariant} `:""}${a.fontWeight?`${a.fontWeight} `:""}${a.fontStretch?`${a.fontStretch} `:""}${a.fontSize||""}${a.lineHeight?`/${a.lineHeight} `:""}${a.fontFamily||""}`)})),n}function cOt(e,n){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...n}}function dOt(e){return Math.round(1e5*e)/1e5}const T4e={textTransform:"uppercase"},B4e='"Roboto", "Helvetica", "Arial", sans-serif';function Qst(e,n){const{fontFamily:o=B4e,fontSize:r=14,fontWeightLight:a=300,fontWeightRegular:s=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,k)=>({fontFamily:o,fontWeight:w,fontSize:x(C),lineHeight:v,...o===B4e?{letterSpacing:`${dOt(A/C)}em`}:{},...k,...p}),b={h1:y(a,96,1.167,-1.5),h2:y(a,60,1.2,-.5),h3:y(s,48,1.167,0),h4:y(s,34,1.235,.25),h5:y(s,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(s,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(s,16,1.5,.15),body2:y(s,14,1.43,.15),button:y(c,14,1.75,.4,T4e),caption:y(s,12,1.66,.4),overline:y(s,12,2.66,1,T4e),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return j1({htmlFontSize:u,pxToRem:x,fontFamily:o,fontSize:r,fontWeightLight:a,fontWeightRegular:s,fontWeightMedium:c,fontWeightBold:d,...b},g,{clone:!1})}function vl(...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 uOt=["none",vl(0,2,1,-1,0,1,1,0,0,1,3,0),vl(0,3,1,-2,0,2,2,0,0,1,5,0),vl(0,3,3,-2,0,3,4,0,0,1,8,0),vl(0,2,4,-1,0,4,5,0,0,1,10,0),vl(0,3,5,-1,0,5,8,0,0,1,14,0),vl(0,3,5,-1,0,6,10,0,0,1,18,0),vl(0,4,5,-2,0,7,10,1,0,2,16,1),vl(0,5,5,-3,0,8,10,1,0,3,14,2),vl(0,5,6,-3,0,9,12,1,0,3,16,2),vl(0,6,6,-3,0,10,14,1,0,4,18,3),vl(0,6,7,-4,0,11,15,1,0,4,20,3),vl(0,7,8,-4,0,12,17,2,0,5,22,4),vl(0,7,8,-4,0,13,19,2,0,5,24,4),vl(0,7,9,-4,0,14,21,2,0,5,26,4),vl(0,8,9,-5,0,15,22,2,0,6,28,5),vl(0,8,10,-5,0,16,24,2,0,6,30,5),vl(0,8,11,-5,0,17,26,2,0,6,32,5),vl(0,9,11,-5,0,18,28,2,0,7,34,6),vl(0,9,12,-6,0,19,29,2,0,7,36,6),vl(0,10,13,-6,0,20,31,3,0,8,38,7),vl(0,10,13,-6,0,21,33,3,0,8,40,7),vl(0,10,14,-6,0,22,35,3,0,8,42,7),vl(0,11,14,-7,0,23,36,3,0,9,44,8),vl(0,11,15,-7,0,24,38,3,0,9,46,8)],pOt={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)"},Yst={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function P4e(e){return`${Math.round(e)}ms`}function hOt(e){if(!e)return 0;const n=e/36;return Math.min(Math.round(10*(4+15*n**.25+n/5)),3e3)}function mOt(e){const n={...pOt,...e.easing},o={...Yst,...e.duration};return{getAutoHeightDuration:hOt,create:(r=["all"],a={})=>{const{duration:s=o.standard,easing:c=n.easeInOut,delay:d=0,...u}=a;return(Array.isArray(r)?r:[r]).map((p=>`${p} ${typeof s=="string"?s:P4e(s)} ${c} ${typeof d=="string"?d:P4e(d)}`)).join(",")},...e,easing:n,duration:o}}const gOt={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function fOt(e){return M4(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Gst(e={}){const n={...e};return(function o(r){const a=Object.entries(r);for(let s=0;s<a.length;s++){const[c,d]=a[s];!fOt(d)||c.startsWith("unstable_")?delete r[c]:M4(d)&&(r[c]={...d},o(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-CVqp5cMc.js","assets/sentry-DRJyi6Lv.js","assets/core-73g-CRXm.js","assets/index-CwCXBsVA.js","assets/DefaultTenantHome-BVU21X-M.js","assets/mui-C6EPTIjM.js","assets/getLocaleForTenant-ChdmW8tg.js","assets/analytics-tnLNAAzo.js","assets/utils-DSjwo3lj.js","assets/ScreenRoutes-D5bNkmwt.js","assets/analyticsHelper-Ckyw1Xvc.js","assets/ConnectionAuthScreen-1mEE-36o.js","assets/QBOConnectionScreen-C7NluIAB.js","assets/empty-AoB5TcI1.js","assets/index-Bf1SUo7G.js","assets/url-nWZmwppH.js","assets/index-BlFohoS1.js","assets/decodeURIComponentSafe-vreX6HdN.js","assets/SignInScreen-joU5wP4w.js","assets/useDeviceId-Dn2y2Mec.js","assets/MagicLinkSignInScreen-CDhpIX3Z.js","assets/NotFoundScreen-DJIdPrRl.js","assets/MagicLinkRoutes-IxXOukse.js","assets/WiseConfirmationScreen-CUdBn_6P.js","assets/HubSpotOAuthCallbackScreen-Cev2taVI.js","assets/CustomerOnboardingAuthScreen-BkkgW1uu.js","assets/SignOutScreen-CPywKCC9.js","assets/OAuthConsentScreen-CYxgorLl.js"])))=>i.map(i=>d[i]);
2
+ import{a as m,b as L,c as ase,R as lDt,p as qq,r as Op,g as ilt,e as wfe,f as sDt,s as Cfe,i as cDt,w as dDt,j as uDt,S as pDt,k as hDt,l as mDt,m as gDt,n as fDt,o as xDt}from"./sentry-DRJyi6Lv.js";import{L as yDt,C as vfe,_ as zp,a as ST,b as bDt,c as aW,d as kT,u as rlt,T as wDt,e as CDt,f as vDt,g as ADt,h as alt,i as SDt,k as kDt,j as Mt,l as jDt}from"./liveblocks-ff5jvbRc.js";import{f as llt,r as Fr,R as $8,P as zl,O as $Dt,N as slt,u as yu,g as Dh,h as jT,i as clt,j as qo,m as Ape,s as b_,k as dlt,l as kI,n as EDt,o as IDt,p as Pu,q as DDt,B as LDt}from"./core-73g-CRXm.js";import{L as Afe,bl as TDt,bm as BDt,bn as h6,bo as Gt,bp as Bk,bq as PDt,br as MDt,bs as ml,bt as W2,bu as ODt,bv as v5,bw as ul,bx as zDt,by as FDt,bz as RDt,bA as hL,bB as d5,bC as af,bD as lW,bE as fn,bF as ult,bG as S1,bH as NDt,bI as zS,bJ as plt,bK as hlt,bL as Spe,bM as $p,bN as lf,bO as Dd,bP as Q4,bQ as _Dt,bR as Ss,bS as VDt,bT as Pk,bU as HDt,bV as UDt,bW as lse,bX as WDt,bY as QDt,bZ as Ab,b_ as Sfe,b$ as YDt,c0 as GDt,c1 as qDt,c2 as KDt,c3 as ZDt,c4 as JDt,c5 as XDt,c6 as eLt,c7 as Ix,c8 as sW,c9 as tLt,ca as cW,cb as dW,cc as uW,cd as kpe,ce as $T,cf as Sb,cg as FS,ch as pW,ci as nLt,cj as ob,ck as oLt,cl as kfe,cm as iLt,cn as rLt,co as aLt,cp as mlt,cq as jpe,cr as lLt,cs as Ay,ct as jfe,cu as sLt,cv as cLt,cw as dLt,cx as ew,cy as tw,cz as glt,cA as flt,cB as $pe,cC as uLt,cD as xlt,cE as pLt,cF as w_,cG as ylt,cH as hLt,cI as blt,cJ as mLt,cK as jI,cL as $fe,cM as gLt,cN as wlt,cO as Clt,cP as vlt,cQ as fLt,cR as Efe,cS as xLt,cT as Alt,cU as yLt,cV as Slt,cW as bLt,cX as Uc,cY as Nl,cZ as wLt,c_ as b1,c$ as klt,d0 as CLt,d1 as mL,d2 as ib,d3 as Ua,d4 as vLt,d5 as ALt,d6 as SLt,d7 as kLt,d8 as sP,d9 as T0,da as jLt,db as $Lt,dc as ELt,dd as ILt,de as cP,df as kb,dg as hW,dh as DLt,di as LLt,dj as nw,dk as k1,dl as jlt,dm as $lt,dn as TLt,dp as BLt,dq as PLt,dr as Mk,ds as MLt,dt as Epe,du as Elt,dv as Ilt,dw as Dlt,dx as Llt,dy as Tlt,dz as Blt,dA as OLt,dB as Ife,dC as zLt,_ as Xc,dD as ET,dE as Plt,dF as FLt,dG as cD,dH as Wp,dI as Y4,dJ as RLt,dK as Dfe,dL as Mlt,dM as Olt,dN as zlt,dO as sse,dP as XR,dQ as NLt,dR as _Lt,dS as VLt,dT as HLt,dU as ULt,dV as WLt,dW as QLt,dX as YLt,dY as GLt,dZ as qLt,d_ as dD,d$ as uD,e0 as Flt,e1 as wh,e2 as KLt,e3 as ZLt,e4 as Ipe,e5 as Dpe,e6 as Ok,e7 as Lpe,e8 as Tpe,e9 as Bpe,ea as Ppe,eb as Rlt,ec as Mpe,ed as JLt,ee as XLt,ef as Nlt,eg as Lfe,eh as eTt,ei as Ope,ej as tTt,ek as nTt,el as _lt,em as oTt,en as iTt,eo as rTt,ep as Vlt,eq as zpe,er as aTt,es as Hlt,et as lTt,eu as sTt,ev as cTt,ew as dTt,ex as uTt,ey as pTt,ez as hTt,eA as mTt,eB as Ult,eC as gTt,eD as Tfe,eE as mW,eF as fTt,eG as xTt,eH as yTt,eI as bTt,eJ as wTt,eK as CTt,eL as vTt,eM as ATt,eN as Bfe,eO as Wlt,eP as Qlt,eQ as Ylt,eR as Glt,eS as qlt,eT as Klt,eU as STt,eV as kTt,eW as cse,eX as jTt,v as $Tt,eY as IT,eZ as P1,e_ as Zlt,e$ as Jlt,f0 as ETt,f1 as ITt,f2 as Pfe,f3 as DTt,f4 as LTt,f5 as TTt,f6 as BTt,f7 as PTt,f8 as MTt,f9 as OTt,fa as zTt,fb as FTt,fc as RTt,fd as NTt,fe as _Tt,ff as VTt,fg as HTt,fh as UTt,fi as WTt,fj as QTt,fk as YTt,fl as GTt,fm as Mfe,fn as qTt,fo as KTt,fp as ZTt,fq as JTt,fr as XTt,fs as Fpe,ft as DT,fu as Rpe,fv as Xlt,fw as eBt,fx as tBt,fy as nBt,fz as est,fA as Ofe,fB as oBt,fC as tst,fD as iBt,fE as nst,fF as rBt,fG as ost,fH as aBt,fI as ist,fJ as lBt,fK as sBt,fL as cBt,fM as dBt,fN as uBt,fO as zfe,fP as rst,fQ as iC,fR as Ffe,fS as pBt,fT as Rfe,fU as hBt,fV as mBt,fW as ast,fX as lst,fY as gBt,fZ as fBt,f_ as xBt,f$ as yBt,g0 as bBt,g1 as C_,g2 as Npe,g3 as sst,g4 as wBt,g5 as pD,g6 as CBt,g7 as vBt,g8 as ABt,g9 as SBt,ga as kBt,gb as jBt,gc as $Bt,gd as EBt,ge as IBt,gf as DBt,gg as LBt,gh as TBt,gi as cst,gj as BBt,gk as PBt,gl as MBt,gm as Nfe,gn as OBt,go as zBt,gp as FBt,gq as RBt,gr as NBt,gs as dse,gt as _Bt,gu as VBt,gv as HBt,gw as UBt,gx as WBt,gy as QBt,gz as YBt,gA as GBt,gB as _fe,gC as qBt,gD as KBt}from"./zeni-epic-state-CVqp5cMc.js";import{n as l,T as dst,G as LT,j as ni,c as De,k as Nn,C as ust,u as _pe,a as use,A as ZBt,b as JBt,I as XBt,d as ePt,D as v_,S as pst}from"./mui-C6EPTIjM.js";import{r as tPt,m as v0}from"./analytics-tnLNAAzo.js";import{u as Fp}from"./plaid-BGzMn-Ja.js";import{D as Vpe,H as gW,g as nPt,O as oPt,S as iPt,T as rPt,u as Hpe,a as Upe,b as aPt}from"./dnd-CCmj5-_i.js";import{l as lPt}from"./stripe-cKAAJElX.js";import{L as eS}from"./lottie-DvKGbHR7.js";import{r as Ws}from"./lexical-B-MdcDyi.js";import{D as pse,P as hse,_ as hst,a as mst}from"./pdf-BJ608N2P.js";import{R as RS,G as Wx,H as Ep,X as ss,Y as Wl,I as Zc,J as sPt,K as Qx,L as ow,M as _h,N as zk,O as gst,P as cPt,Q as dPt,S as fW,U as tS,V as uPt,W as Wpe,Z as pPt,_ as hPt,$ as mPt,d as gPt}from"./recharts-CuGywxsn.js";import{r as fPt,n as Vfe}from"./utils-DSjwo3lj.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]="a668e17a-f749-4640-9a11-39938c125a7c",e._sentryDebugIdIdentifier="sentry-dbid-a668e17a-f749-4640-9a11-39938c125a7c")}catch{}})();(function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver((o=>{for(const r of o)if(r.type==="childList")for(const a of r.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)})).observe(document,{childList:!0,subtree:!0})}function n(o){if(o.ep)return;o.ep=!0;const r=(function(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s})(o);fetch(o.href,r)}})();var Hfe,dP={},xPt=(function(){if(Hfe)return dP;Hfe=1;var e=llt();return dP.createRoot=e.createRoot,dP.hydrateRoot=e.hydrateRoot,dP})(),yp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof ase<"u"?ase:typeof self<"u"?self:{};function Ui(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ufe,Wfe,Qfe={exports:{}},Rj={};function fst(){return Wfe||(Wfe=1,Qfe.exports=(function(){if(Ufe)return Rj;Ufe=1;var e=L,n=Symbol.for("react.element"),o=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={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)&&!s.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:a.current}}return Rj.Fragment=o,Rj.jsx=c,Rj.jsxs=c,Rj})()),Qfe.exports}var t=fst();const yPt=m.createContext(null),Kq={didCatch:!1,error:null};let bPt=class extends m.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=Kq}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){const{error:e}=this.state;if(e!==null){for(var n,o,r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];(n=(o=this.props).onReset)===null||n===void 0||n.call(o,{args:a,reason:"imperative-api"}),this.setState(Kq)}}componentDidCatch(e,n){var o,r;(o=(r=this.props).onError)===null||o===void 0||o.call(r,e,n)}componentDidUpdate(e,n){const{didCatch:o}=this.state,{resetKeys:r}=this.props;var a,s;o&&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)&&((a=(s=this.props).onReset)===null||a===void 0||a.call(s,{next:r,prev:e.resetKeys,reason:"keys"}),this.setState(Kq))}render(){const{children:e,fallbackRender:n,FallbackComponent:o,fallback:r}=this.props,{didCatch:a,error:s}=this.state;let c=e;if(a){const d={error:s,resetErrorBoundary:this.resetErrorBoundary};if(typeof n=="function")c=n(d);else if(o)c=m.createElement(o,d);else{if(r===void 0)throw s;c=r}}return m.createElement(yPt.Provider,{value:{didCatch:a,error:s,resetErrorBoundary:this.resetErrorBoundary}},c)}};var Yfe,Zq={exports:{}},Gfe,qfe,Jq,wPt=(Yfe||(Yfe=1,qfe=Zq.exports,Jq=function(){var e,n,o,r,a,s,c={},d={},u={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},p={currentLocale:u.currentLocale,zeroFormat:u.zeroFormat,nullFormat:u.nullFormat,defaultFormat:u.defaultFormat,scalePercentBy100:u.scalePercentBy100};function h(g,f){this._input=g,this._value=f}return e=function(g){var f,x,y,b;if(e.isNumeral(g))f=g.value();else if(g===0||typeof g>"u")f=0;else if(g===null||n.isNaN(g))f=null;else if(typeof g=="string")if(p.zeroFormat&&g===p.zeroFormat)f=0;else if(p.nullFormat&&g===p.nullFormat||!g.replace(/[^0-9]+/g,"").length)f=null;else{for(x in c)if((b=typeof c[x].regexps.unformat=="function"?c[x].regexps.unformat():c[x].regexps.unformat)&&g.match(b)){y=c[x].unformat;break}f=(y=y||e._.stringToNumber)(g)}else f=Number(g)||null;return new h(g,f)},e.version="2.0.6",e.isNumeral=function(g){return g instanceof h},e._=n={numberToFormat:function(g,f,x){var y,b,w,C,v,A,k,$,j=d[e.options.currentLocale],E=!1,I=!1,D="",F=1e12,z=1e9,O=1e6,H="",_=!1;if(g=g||0,w=Math.abs(g),e._.includes(f,"(")?(E=!0,f=f.replace(/[\(|\)]/g,"")):(e._.includes(f,"+")||e._.includes(f,"-"))&&(A=e._.includes(f,"+")?f.indexOf("+"):g<0?f.indexOf("-"):-1,f=f.replace(/[\+|\-]/g,"")),e._.includes(f,"a")&&(b=!!(b=f.match(/a(k|m|b|t)?/))&&b[1],e._.includes(f," a")&&(D=" "),f=f.replace(new RegExp(D+"a[kmbt]?"),""),w>=F&&!b||b==="t"?(D+=j.abbreviations.trillion,g/=F):w<F&&w>=z&&!b||b==="b"?(D+=j.abbreviations.billion,g/=z):w<z&&w>=O&&!b||b==="m"?(D+=j.abbreviations.million,g/=O):(w<O&&w>=1e3&&!b||b==="k")&&(D+=j.abbreviations.thousand,g/=1e3)),e._.includes(f,"[.]")&&(I=!0,f=f.replace("[.]",".")),C=g.toString().split(".")[0],v=f.split(".")[1],k=f.indexOf(","),y=(f.split(".")[0].split(",")[0].match(/0/g)||[]).length,v?(e._.includes(v,"[")?(v=(v=v.replace("]","")).split("["),H=e._.toFixed(g,v[0].length+v[1].length,x,v[1].length)):H=e._.toFixed(g,v.length,x),C=H.split(".")[0],H=e._.includes(H,".")?j.delimiters.decimal+H.split(".")[1]:"",I&&Number(H.slice(1))===0&&(H="")):C=e._.toFixed(g,0,x),D&&!b&&Number(C)>=1e3&&D!==j.abbreviations.trillion)switch(C=String(Number(C)/1e3),D){case j.abbreviations.thousand:D=j.abbreviations.million;break;case j.abbreviations.million:D=j.abbreviations.billion;break;case j.abbreviations.billion:D=j.abbreviations.trillion}if(e._.includes(C,"-")&&(C=C.slice(1),_=!0),C.length<y)for(var M=y-C.length;M>0;M--)C="0"+C;return k>-1&&(C=C.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+j.delimiters.thousands)),f.indexOf(".")===0&&(C=""),$=C+H+(D||""),E?$=(E&&_?"(":"")+$+(E&&_?")":""):A>=0?$=A===0?(_?"-":"+")+$:$+(_?"-":"+"):_&&($="-"+$),$},stringToNumber:function(g){var f,x,y,b=d[p.currentLocale],w=g,C={thousand:3,million:6,billion:9,trillion:12};if(p.zeroFormat&&g===p.zeroFormat)x=0;else if(p.nullFormat&&g===p.nullFormat||!g.replace(/[^0-9]+/g,"").length)x=null;else{for(f in x=1,b.delimiters.decimal!=="."&&(g=g.replace(/\./g,"").replace(b.delimiters.decimal,".")),C)if(y=new RegExp("[^a-zA-Z]"+b.abbreviations[f]+"(?:\\)|(\\"+b.currency.symbol+")?(?:\\))?)?$"),w.match(y)){x*=Math.pow(10,C[f]);break}x*=(g.split("-").length+Math.min(g.split("(").length-1,g.split(")").length-1))%2?1:-1,g=g.replace(/[^0-9\.]+/g,""),x*=Number(g)}return x},isNaN:function(g){return typeof g=="number"&&isNaN(g)},includes:function(g,f){return g.indexOf(f)!==-1},insert:function(g,f,x){return g.slice(0,x)+f+g.slice(x)},reduce:function(g,f){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof f!="function")throw new TypeError(f+" is not a function");var x,y=Object(g),b=y.length>>>0,w=0;if(arguments.length===3)x=arguments[2];else{for(;w<b&&!(w in y);)w++;if(w>=b)throw new TypeError("Reduce of empty array with no initial value");x=y[w++]}for(;w<b;w++)w in y&&(x=f(x,y[w],w,y));return x},multiplier:function(g){var f=g.toString().split(".");return f.length<2?1:Math.pow(10,f[1].length)},correctionFactor:function(){return Array.prototype.slice.call(arguments).reduce((function(g,f){var x=n.multiplier(f);return g>x?g:x}),1)},toFixed:function(g,f,x,y){var b,w,C,v,A=g.toString().split("."),k=f-(y||0);return b=A.length===2?Math.min(Math.max(A[1].length,k),f):k,C=Math.pow(10,b),v=(x(g+"e+"+b)/C).toFixed(b),y>f-b&&(w=new RegExp("\\.?0{1,"+(y-(f-b))+"}$"),v=v.replace(w,"")),v}},e.options=p,e.formats=c,e.locales=d,e.locale=function(g){return g&&(p.currentLocale=g.toLowerCase()),p.currentLocale},e.localeData=function(g){if(!g)return d[p.currentLocale];if(g=g.toLowerCase(),!d[g])throw new Error("Unknown locale : "+g);return d[g]},e.reset=function(){for(var g in u)p[g]=u[g]},e.zeroFormat=function(g){p.zeroFormat=typeof g=="string"?g:null},e.nullFormat=function(g){p.nullFormat=typeof g=="string"?g:null},e.defaultFormat=function(g){p.defaultFormat=typeof g=="string"?g:"0.0"},e.register=function(g,f,x){if(f=f.toLowerCase(),this[g+"s"][f])throw new TypeError(f+" "+g+" already registered.");return this[g+"s"][f]=x,x},e.validate=function(g,f){var x,y,b,w,C,v,A,k;if(typeof g!="string"&&(g+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",g)),(g=g.trim()).match(/^\d+$/))return!0;if(g==="")return!1;try{A=e.localeData(f)}catch{A=e.localeData(e.locale())}return b=A.currency.symbol,C=A.abbreviations,x=A.delimiters.decimal,y=A.delimiters.thousands==="."?"\\.":A.delimiters.thousands,!((k=g.match(/^[^\d]+/))!==null&&(g=g.substr(1),k[0]!==b)||(k=g.match(/[^\d]+$/))!==null&&(g=g.slice(0,-1),k[0]!==C.thousand&&k[0]!==C.million&&k[0]!==C.billion&&k[0]!==C.trillion)||(v=new RegExp(y+"{2}"),g.match(/[^\d.,]/g)||(w=g.split(x)).length>2||(w.length<2?!w[0].match(/^\d+.*\d$/)||w[0].match(v):w[0].length===1?!w[0].match(/^\d+$/)||w[0].match(v)||!w[1].match(/^\d+$/):!w[0].match(/^\d+.*\d$/)||w[0].match(v)||!w[1].match(/^\d+$/))))},e.fn=h.prototype={clone:function(){return e(this)},format:function(g,f){var x,y,b,w=this._value,C=g||p.defaultFormat;if(f=f||Math.round,w===0&&p.zeroFormat!==null)y=p.zeroFormat;else if(w===null&&p.nullFormat!==null)y=p.nullFormat;else{for(x in c)if(C.match(c[x].regexps.format)){b=c[x].format;break}y=(b=b||e._.numberToFormat)(w,C,f)}return y},value:function(){return this._value},input:function(){return this._input},set:function(g){return this._value=Number(g),this},add:function(g){var f=n.correctionFactor.call(null,this._value,g);return this._value=n.reduce([this._value,g],(function(x,y,b,w){return x+Math.round(f*y)}),0)/f,this},subtract:function(g){var f=n.correctionFactor.call(null,this._value,g);return this._value=n.reduce([g],(function(x,y,b,w){return x-Math.round(f*y)}),Math.round(this._value*f))/f,this},multiply:function(g){return this._value=n.reduce([this._value,g],(function(f,x,y,b){var w=n.correctionFactor(f,x);return Math.round(f*w)*Math.round(x*w)/Math.round(w*w)}),1),this},divide:function(g){return this._value=n.reduce([this._value,g],(function(f,x,y,b){var w=n.correctionFactor(f,x);return Math.round(f*w)/Math.round(x*w)})),this},difference:function(g){return Math.abs(e(this._value).subtract(g).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(g){var f=g%10;return~~(g%100/10)==1?"th":f===1?"st":f===2?"nd":f===3?"rd":"th"},currency:{symbol:"$"}}),e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(g,f,x){var y,b=e._.includes(f," BPS")?" ":"";return g*=1e4,f=f.replace(/\s?BPS/,""),y=e._.numberToFormat(g,f,x),e._.includes(y,")")?((y=y.split("")).splice(-1,0,b+"BPS"),y=y.join("")):y=y+b+"BPS",y},unformat:function(g){return+(1e-4*e._.stringToNumber(g)).toFixed(15)}}),r={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},a=(o={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}).suffixes.concat(r.suffixes.filter((function(g){return o.suffixes.indexOf(g)<0}))),s="("+(s=a.join("|")).replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(s)},format:function(g,f,x){var y,b,w,C=e._.includes(f,"ib")?r:o,v=e._.includes(f," b")||e._.includes(f," ib")?" ":"";for(f=f.replace(/\s?i?b/,""),y=0;y<=C.suffixes.length;y++)if(b=Math.pow(C.base,y),w=Math.pow(C.base,y+1),g===null||g===0||g>=b&&g<w){v+=C.suffixes[y],b>0&&(g/=b);break}return e._.numberToFormat(g,f,x)+v},unformat:function(g){var f,x,y=e._.stringToNumber(g);if(y){for(f=o.suffixes.length-1;f>=0;f--){if(e._.includes(g,o.suffixes[f])){x=Math.pow(o.base,f);break}if(e._.includes(g,r.suffixes[f])){x=Math.pow(r.base,f);break}}y*=x||1}return y}}),e.register("format","currency",{regexps:{format:/(\$)/},format:function(g,f,x){var y,b,w,C=e.locales[e.options.currentLocale],v={before:f.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:f.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(f=f.replace(/\s?\$\s?/,""),y=e._.numberToFormat(g,f,x),g>=0?(v.before=v.before.replace(/[\-\(]/,""),v.after=v.after.replace(/[\-\)]/,"")):g<0&&!e._.includes(v.before,"-")&&!e._.includes(v.before,"(")&&(v.before="-"+v.before),w=0;w<v.before.length;w++)switch(b=v.before[w],b){case"$":y=e._.insert(y,C.currency.symbol,w);break;case" ":y=e._.insert(y," ",w+C.currency.symbol.length-1)}for(w=v.after.length-1;w>=0;w--)switch(b=v.after[w],b){case"$":y=w===v.after.length-1?y+C.currency.symbol:e._.insert(y,C.currency.symbol,-(v.after.length-(1+w)));break;case" ":y=w===v.after.length-1?y+" ":e._.insert(y," ",-(v.after.length-(1+w)+C.currency.symbol.length-1))}return y}}),e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(g,f,x){var y=(typeof g!="number"||e._.isNaN(g)?"0e+0":g.toExponential()).split("e");return f=f.replace(/e[\+|\-]{1}0/,""),e._.numberToFormat(Number(y[0]),f,x)+"e"+y[1]},unformat:function(g){var f=e._.includes(g,"e+")?g.split("e+"):g.split("e-"),x=Number(f[0]),y=Number(f[1]);return y=e._.includes(g,"e-")?y*=-1:y,e._.reduce([x,Math.pow(10,y)],(function(b,w,C,v){var A=e._.correctionFactor(b,w);return b*A*(w*A)/(A*A)}),1)}}),e.register("format","ordinal",{regexps:{format:/(o)/},format:function(g,f,x){var y=e.locales[e.options.currentLocale],b=e._.includes(f," o")?" ":"";return f=f.replace(/\s?o/,""),b+=y.ordinal(g),e._.numberToFormat(g,f,x)+b}}),e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(g,f,x){var y,b=e._.includes(f," %")?" ":"";return e.options.scalePercentBy100&&(g*=100),f=f.replace(/\s?\%/,""),y=e._.numberToFormat(g,f,x),e._.includes(y,")")?((y=y.split("")).splice(-1,0,b+"%"),y=y.join("")):y=y+b+"%",y},unformat:function(g){var f=e._.stringToNumber(g);return e.options.scalePercentBy100?.01*f:f}}),e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(g,f,x){var y=Math.floor(g/60/60),b=Math.floor((g-60*y*60)/60),w=Math.round(g-60*y*60-60*b);return y+":"+(b<10?"0"+b:b)+":"+(w<10?"0"+w:w)},unformat:function(g){var f=g.split(":"),x=0;return f.length===3?(x+=60*Number(f[0])*60,x+=60*Number(f[1]),x+=Number(f[2])):f.length===2&&(x+=60*Number(f[0]),x+=Number(f[1])),Number(x)}}),e},(Gfe=Zq).exports?Gfe.exports=Jq():qfe.numeral=Jq()),Zq.exports);const e5=Ui(wPt);function u5(e,...n){const o=new URL(`https://mui.com/production-error/?code=${e}`);return n.forEach((r=>o.searchParams.append("args[]",r))),`Minified MUI error #${e}; visit ${o} for the full message.`}const t5="$$material";var CPt={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 vPt(e){var n=Object.create(null);return function(o){return n[o]===void 0&&(n[o]=e(o)),n[o]}}var APt=/[A-Z]|^ms/g,SPt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,xst=function(e){return e.charCodeAt(1)===45},Kfe=function(e){return e!=null&&typeof e!="boolean"},Xq=vPt((function(e){return xst(e)?e:e.replace(APt,"-$&").toLowerCase()})),Zfe=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(SPt,(function(o,r,a){return dx={name:r,styles:a,next:dx},r}))}return CPt[e]===1||xst(e)||typeof n!="number"||n===0?n:n+"px"};function A_(e,n,o){if(o==null)return"";var r=o;if(r.__emotion_styles!==void 0)return r;switch(typeof o){case"boolean":return"";case"object":var a=o;if(a.anim===1)return dx={name:a.name,styles:a.styles,next:dx},a.name;var s=o;if(s.styles!==void 0){var c=s.next;if(c!==void 0)for(;c!==void 0;)dx={name:c.name,styles:c.styles,next:dx},c=c.next;return s.styles+";"}return(function(d,u,p){var h="";if(Array.isArray(p))for(var g=0;g<p.length;g++)h+=A_(d,u,p[g])+";";else for(var f in p){var x=p[f];if(typeof x!="object"){var y=x;Kfe(y)&&(h+=Xq(f)+":"+Zfe(f,y)+";")}else if(Array.isArray(x)&&typeof x[0]=="string"&&u==null)for(var b=0;b<x.length;b++)Kfe(x[b])&&(h+=Xq(f)+":"+Zfe(f,x[b])+";");else{var w=A_(d,u,x);switch(f){case"animation":case"animationName":h+=Xq(f)+":"+w+";";break;default:h+=f+"{"+w+"}"}}}return h})(e,n,o)}return o}var dx,Jfe=/label:\s*([^\s;{]+)\s*(;|$)/g,Xfe,e4e,t4e,n4e,o4e,i4e={exports:{}};function kPt(){return e4e?Xfe:(e4e=1,Xfe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}function jPt(){if(n4e)return t4e;n4e=1;var e=kPt();function n(){}function o(){}return o.resetWarningCache=n,t4e=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 a(){return r}r.isRequired=r;var s={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:a,element:r,elementType:r,instanceOf:a,node:r,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:o,resetWarningCache:n};return s.PropTypes=s,s}}function Qpe(){return o4e||(o4e=1,i4e.exports=jPt()()),i4e.exports}const $n=Ui(Qpe());var $Pt=(function(){function e(o){var r=this;this._insertTag=function(a){var s;s=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(a,s),r.tags.push(a)},this.isSpeedy=o.speedy===void 0||o.speedy,this.tags=[],this.ctr=0,this.nonce=o.nonce,this.key=o.key,this.container=o.container,this.prepend=o.prepend,this.insertionPoint=o.insertionPoint,this.before=null}var n=e.prototype;return n.hydrate=function(o){o.forEach(this._insertTag)},n.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag((function(s){var c=document.createElement("style");return c.setAttribute("data-emotion",s.key),s.nonce!==void 0&&c.setAttribute("nonce",s.nonce),c.appendChild(document.createTextNode("")),c.setAttribute("data-s",""),c})(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var a=(function(s){if(s.sheet)return s.sheet;for(var c=0;c<document.styleSheets.length;c++)if(document.styleSheets[c].ownerNode===s)return document.styleSheets[c]})(r);try{a.insertRule(o,a.cssRules.length)}catch{}}else r.appendChild(document.createTextNode(o));this.ctr++},n.flush=function(){this.tags.forEach((function(o){var r;return(r=o.parentNode)==null?void 0:r.removeChild(o)})),this.tags=[],this.ctr=0},e})(),p1="-ms-",r4e="-moz-",ta="-webkit-",yst="comm",Ype="rule",Gpe="decl",bst="@keyframes",EPt=Math.abs,xW=String.fromCharCode,IPt=Object.assign;function wst(e){return e.trim()}function na(e,n,o){return e.replace(n,o)}function mse(e,n){return e.indexOf(n)}function Sd(e,n){return 0|e.charCodeAt(n)}function gL(e,n,o){return e.slice(n,o)}function x3(e){return e.length}function qpe(e){return e.length}function uP(e,n){return n.push(e),e}var yW=1,NS=1,Cst=0,Ip=0,Ns=0,Fk="";function bW(e,n,o,r,a,s,c){return{value:e,root:n,parent:o,type:r,props:a,children:s,line:yW,column:NS,length:c,return:""}}function Nj(e,n){return IPt(bW("",null,null,"",null,null,0),e,{length:-e.length},n)}function Sh(){return Ns=Ip<Cst?Sd(Fk,Ip++):0,NS++,Ns===10&&(NS=1,yW++),Ns}function G3(){return Sd(Fk,Ip)}function eN(){return Ip}function TT(e,n){return gL(Fk,e,n)}function fL(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 vst(e){return yW=NS=1,Cst=x3(Fk=e),Ip=0,[]}function Ast(e){return Fk="",e}function tN(e){return wst(TT(Ip-1,gse(e===91?e+2:e===40?e+1:e)))}function DPt(e){for(;(Ns=G3())&&Ns<33;)Sh();return fL(e)>2||fL(Ns)>3?"":" "}function LPt(e,n){for(;--n&&Sh()&&!(Ns<48||Ns>102||Ns>57&&Ns<65||Ns>70&&Ns<97););return TT(e,eN()+(n<6&&G3()==32&&Sh()==32))}function gse(e){for(;Sh();)switch(Ns){case e:return Ip;case 34:case 39:e!==34&&e!==39&&gse(Ns);break;case 40:e===41&&gse(e);break;case 92:Sh()}return Ip}function TPt(e,n){for(;Sh()&&e+Ns!==57&&(e+Ns!==84||G3()!==47););return"/*"+TT(n,Ip-1)+"*"+xW(e===47?e:Sh())}function BPt(e){for(;!fL(G3());)Sh();return TT(e,Ip)}function PPt(e){return Ast(nN("",null,null,null,[""],e=vst(e),0,[0],e))}function nN(e,n,o,r,a,s,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="",k=a,$=s,j=r,E=A;w;)switch(y=v,v=Sh()){case 40:if(y!=108&&Sd(E,g-1)==58){mse(E+=na(tN(v),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:E+=tN(v);break;case 9:case 10:case 13:case 32:E+=DPt(y);break;case 92:E+=LPt(eN()-1,7);continue;case 47:switch(G3()){case 42:case 47:uP(MPt(TPt(Sh(),eN()),n,o),u);break;default:E+="/"}break;case 123*b:d[p++]=x3(E)*C;case 125*b:case 59:case 0:switch(v){case 0:case 125:w=0;case 59+h:C==-1&&(E=na(E,/\f/g,"")),x>0&&x3(E)-g&&uP(x>32?l4e(E+";",r,o,g-1):l4e(na(E," ","")+";",r,o,g-2),u);break;case 59:E+=";";default:if(uP(j=a4e(E,n,o,p,h,a,d,A,k=[],$=[],g),s),v===123)if(h===0)nN(E,n,j,j,k,s,g,d,$);else switch(f===99&&Sd(E,3)===110?100:f){case 100:case 108:case 109:case 115:nN(e,j,j,r&&uP(a4e(e,j,j,0,0,a,d,A,a,k=[],g),$),a,$,g,d,r?k:$);break;default:nN(E,j,j,j,[""],$,0,d,$)}}p=h=x=0,b=C=1,A=E="",g=c;break;case 58:g=1+x3(E),x=y;default:if(b<1){if(v==123)--b;else if(v==125&&b++==0&&(Ns=Ip>0?Sd(Fk,--Ip):0,NS--,Ns===10&&(NS=1,yW--),Ns==125))continue}switch(E+=xW(v),v*b){case 38:C=h>0?1:(E+="\f",-1);break;case 44:d[p++]=(x3(E)-1)*C,C=1;break;case 64:G3()===45&&(E+=tN(Sh())),f=G3(),h=g=x3(A=E+=BPt(eN())),v++;break;case 45:y===45&&x3(E)==2&&(b=0)}}return s}function a4e(e,n,o,r,a,s,c,d,u,p,h){for(var g=a-1,f=a===0?s:[""],x=qpe(f),y=0,b=0,w=0;y<r;++y)for(var C=0,v=gL(e,g+1,g=EPt(b=c[y])),A=e;C<x;++C)(A=wst(b>0?f[C]+" "+v:na(v,/&\f/g,f[C])))&&(u[w++]=A);return bW(e,n,o,a===0?Ype:d,u,p,h)}function MPt(e,n,o){return bW(e,n,o,yst,xW(Ns),gL(e,2,-2),0)}function l4e(e,n,o,r){return bW(e,n,o,Gpe,gL(e,0,r),gL(e,r+1,-1),r)}function nS(e,n){for(var o="",r=qpe(e),a=0;a<r;a++)o+=n(e[a],a,e,n)||"";return o}function OPt(e,n,o,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Gpe:return e.return=e.return||e.value;case yst:return"";case bst:return e.return=e.value+"{"+nS(e.children,r)+"}";case Ype:e.value=e.props.join(",")}return x3(o=nS(e.children,r))?e.return=e.value+"{"+o+"}":""}function zPt(e){return function(n){n.root||(n=n.return)&&e(n)}}var FPt=function(e,n,o){for(var r=0,a=0;r=a,a=G3(),r===38&&a===12&&(n[o]=1),!fL(a);)Sh();return TT(e,Ip)},RPt=function(e,n){return Ast((function(o,r){var a=-1,s=44;do switch(fL(s)){case 0:s===38&&G3()===12&&(r[a]=1),o[a]+=FPt(Ip-1,r,a);break;case 2:o[a]+=tN(s);break;case 4:if(s===44){o[++a]=G3()===58?"&\f":"",r[a]=o[a].length;break}default:o[a]+=xW(s)}while(s=Sh());return o})(vst(e),n))},s4e=new WeakMap,NPt=function(e){if(e.type==="rule"&&e.parent&&!(e.length<1)){for(var n=e.value,o=e.parent,r=e.column===o.column&&e.line===o.line;o.type!=="rule";)if(!(o=o.parent))return;if((e.props.length!==1||n.charCodeAt(0)===58||s4e.get(o))&&!r){s4e.set(e,!0);for(var a=[],s=RPt(n,a),c=o.props,d=0,u=0;d<s.length;d++)for(var p=0;p<c.length;p++,u++)e.props[u]=a[d]?s[d].replace(/&\f/g,c[p]):c[p]+" "+s[d]}}},_Pt=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}};function Sst(e,n){switch((function(o,r){return 45^Sd(o,0)?(((r<<2^Sd(o,0))<<2^Sd(o,1))<<2^Sd(o,2))<<2^Sd(o,3):0})(e,n)){case 5103:return ta+"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 ta+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ta+e+r4e+e+p1+e+e;case 6828:case 4268:return ta+e+p1+e+e;case 6165:return ta+e+p1+"flex-"+e+e;case 5187:return ta+e+na(e,/(\w+).+(:[^]+)/,ta+"box-$1$2"+p1+"flex-$1$2")+e;case 5443:return ta+e+p1+"flex-item-"+na(e,/flex-|-self/,"")+e;case 4675:return ta+e+p1+"flex-line-pack"+na(e,/align-content|flex-|-self/,"")+e;case 5548:return ta+e+p1+na(e,"shrink","negative")+e;case 5292:return ta+e+p1+na(e,"basis","preferred-size")+e;case 6060:return ta+"box-"+na(e,"-grow","")+ta+e+p1+na(e,"grow","positive")+e;case 4554:return ta+na(e,/([^-])(transform)/g,"$1"+ta+"$2")+e;case 6187:return na(na(na(e,/(zoom-|grab)/,ta+"$1"),/(image-set)/,ta+"$1"),e,"")+e;case 5495:case 3959:return na(e,/(image-set\([^]*)/,ta+"$1$`$1");case 4968:return na(na(e,/(.+:)(flex-)?(.*)/,ta+"box-pack:$3"+p1+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ta+e+e;case 4095:case 3583:case 4068:case 2532:return na(e,/(.+)-inline(.+)/,ta+"$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(x3(e)-1-n>6)switch(Sd(e,n+1)){case 109:if(Sd(e,n+4)!==45)break;case 102:return na(e,/(.+:)(.+)-([^]+)/,"$1"+ta+"$2-$3$1"+r4e+(Sd(e,n+3)==108?"$3":"$2-$3"))+e;case 115:return~mse(e,"stretch")?Sst(na(e,"stretch","fill-available"),n)+e:e}break;case 4949:if(Sd(e,n+1)!==115)break;case 6444:switch(Sd(e,x3(e)-3-(~mse(e,"!important")&&10))){case 107:return na(e,":",":"+ta)+e;case 101:return na(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ta+(Sd(e,14)===45?"inline-":"")+"box$3$1"+ta+"$2$3$1"+p1+"$2box$3")+e}break;case 5936:switch(Sd(e,n+11)){case 114:return ta+e+p1+na(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ta+e+p1+na(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ta+e+p1+na(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ta+e+p1+e+e}return e}var VPt=[function(e,n,o,r){if(e.length>-1&&!e.return)switch(e.type){case Gpe:e.return=Sst(e.value,e.length);break;case bst:return nS([Nj(e,{value:na(e.value,"@","@"+ta)})],r);case Ype:if(e.length)return(function(a,s){return a.map(s).join("")})(e.props,(function(a){switch((function(s,c){return(s=c.exec(s))?s[0]:s})(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return nS([Nj(e,{props:[na(a,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return nS([Nj(e,{props:[na(a,/:(plac\w+)/,":"+ta+"input-$1")]}),Nj(e,{props:[na(a,/:(plac\w+)/,":-moz-$1")]}),Nj(e,{props:[na(a,/:(plac\w+)/,p1+"input-$1")]})],r)}return""}))}}],kst=function(e){var n=e.key;if(n==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,(function(x){x.getAttribute("data-emotion").indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))}))}var r,a=e.stylisPlugins||VPt,s={},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++)s[y[b]]=!0;c.push(x)}));var d,u,p=[NPt,_Pt],h=[OPt,zPt((function(x){u.insert(x)}))],g=(function(x){var y=qpe(x);return function(b,w,C,v){for(var A="",k=0;k<y;k++)A+=x[k](b,w,C,v)||"";return A}})(p.concat(a,h));d=function(x,y,b,w){u=b,(function(C){nS(PPt(C),g)})(x?x+"{"+y.styles+"}":y.styles),w&&(f.inserted[y.name]=!0)};var f={key:n,sheet:new $Pt({key:n,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:d};return f.sheet.hydrate(c),f};function jst(e){const{styles:n,defaultTheme:o={}}=e,r=typeof n=="function"?a=>n((function(s){return s==null||Object.keys(s).length===0})(a)?o:a):n;return t.jsx(LT,{styles:r})}const c4e=[];function Dx(e){return c4e[0]=e,(function(n,o,r){if(n.length===1&&typeof n[0]=="object"&&n[0]!==null&&n[0].styles!==void 0)return n[0];var a=!0,s="";dx=void 0;var c=n[0];c==null||c.raw===void 0?(a=!1,s+=A_(r,o,c)):s+=c[0];for(var d=1;d<n.length;d++)s+=A_(r,o,n[d]),a&&(s+=c[d]);Jfe.lastIndex=0;for(var u,p="";(u=Jfe.exec(s))!==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)})(s)+p;return{name:h,styles:s,next:dx}})(c4e)}var d4e,u4e,p4e={exports:{}},Da={};function HPt(){if(d4e)return Da;d4e=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=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 o:case a: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 s:return b;default:return w}}case n:return w}}}return Da.ContextConsumer=s,Da.ContextProvider=c,Da.Element=e,Da.ForwardRef=d,Da.Fragment=o,Da.Lazy=g,Da.Memo=h,Da.Portal=n,Da.Profiler=a,Da.StrictMode=r,Da.Suspense=u,Da.SuspenseList=p,Da.isContextConsumer=function(b){return y(b)===s},Da.isContextProvider=function(b){return y(b)===c},Da.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},Da.isForwardRef=function(b){return y(b)===d},Da.isFragment=function(b){return y(b)===o},Da.isLazy=function(b){return y(b)===g},Da.isMemo=function(b){return y(b)===h},Da.isPortal=function(b){return y(b)===n},Da.isProfiler=function(b){return y(b)===a},Da.isStrictMode=function(b){return y(b)===r},Da.isSuspense=function(b){return y(b)===u},Da.isSuspenseList=function(b){return y(b)===p},Da.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===o||b===a||b===r||b===u||b===p||typeof b=="object"&&b!==null&&(b.$$typeof===g||b.$$typeof===h||b.$$typeof===c||b.$$typeof===s||b.$$typeof===d||b.$$typeof===x||b.getModuleId!==void 0)},Da.typeOf=y,Da}function UPt(){return u4e||(u4e=1,p4e.exports=HPt()),p4e.exports}var $st=UPt();function M4(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 Est(e){if(m.isValidElement(e)||$st.isValidElementType(e)||!M4(e))return e;const n={};return Object.keys(e).forEach((o=>{n[o]=Est(e[o])})),n}function j1(e,n,o={clone:!0}){const r=o.clone?{...e}:e;return M4(e)&&M4(n)&&Object.keys(n).forEach((a=>{m.isValidElement(n[a])||$st.isValidElementType(n[a])?r[a]=n[a]:M4(n[a])&&Object.prototype.hasOwnProperty.call(e,a)&&M4(e[a])?r[a]=j1(e[a],n[a],o):o.clone?r[a]=M4(n[a])?Est(n[a]):n[a]:r[a]=n[a]})),r}function WPt(e){const{values:n={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:r=5,...a}=e,s=(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(s);function d(h){return`@media (min-width:${typeof n[h]=="number"?n[h]:h}${o})`}function u(h){return`@media (max-width:${(typeof n[h]=="number"?n[h]:h)-r/100}${o})`}function p(h,g){const f=c.indexOf(g);return`@media (min-width:${typeof n[h]=="number"?n[h]:h}${o}) and (max-width:${(f!==-1&&typeof n[c[f]]=="number"?n[c[f]]:g)-r/100}${o})`}return{keys:c,values:s,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:o,...a}}function h4e(e,n){if(!e.containerQueries)return n;const o=Object.keys(n).filter((r=>r.startsWith("@container"))).sort(((r,a)=>{const s=/min-width:\s*([0-9.]+)/;return+(r.match(s)?.[1]||0)-+(a.match(s)?.[1]||0)}));return o.length?o.reduce(((r,a)=>{const s=n[a];return delete r[a],r[a]=s,r}),{...n}):n}const QPt={borderRadius:4};function hD(e,n){return n?j1(e,n,{clone:!1}):e}const wW={xs:0,sm:600,md:900,lg:1200,xl:1536},m4e={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${wW[e]}px)`},YPt={containerQueries:e=>({up:n=>{let o=typeof n=="number"?n:wW[n]||n;return typeof o=="number"&&(o=`${o}px`),e?`@container ${e} (min-width:${o})`:`@container (min-width:${o})`}})};function p5(e,n,o){const r=e.theme||{};if(Array.isArray(n)){const a=r.breakpoints||m4e;return n.reduce(((s,c,d)=>(s[a.up(a.keys[d])]=o(n[d]),s)),{})}if(typeof n=="object"){const a=r.breakpoints||m4e;return Object.keys(n).reduce(((s,c)=>{if((function(d,u){return u==="@"||u.startsWith("@")&&(d.some((p=>u.startsWith(`@${p}`)))||!!u.match(/^@\d/))})(a.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:YPt,c);d&&(s[d]=o(n[c],c))}else if(Object.keys(a.values||wW).includes(c))s[a.up(c)]=o(n[c],c);else{const d=c;s[d]=n[d]}return s}),{})}return o(n)}function g4e(e,n){return e.reduce(((o,r)=>{const a=o[r];return(!a||Object.keys(a).length===0)&&delete o[r],o}),n)}function $i(e){if(typeof e!="string")throw new Error(u5(7));return e.charAt(0).toUpperCase()+e.slice(1)}function CW(e,n,o=!0){if(!n||typeof n!="string")return null;if(e&&e.vars&&o){const r=`vars.${n}`.split(".").reduce(((a,s)=>a&&a[s]?a[s]:null),e);if(r!=null)return r}return n.split(".").reduce(((r,a)=>r&&r[a]!=null?r[a]:null),e)}function S_(e,n,o,r=o){let a;return a=typeof e=="function"?e(o):Array.isArray(e)?e[o]||r:CW(e,o)||r,n&&(a=n(a,r,e)),a}function ws(e){const{prop:n,cssProperty:o=e.prop,themeKey:r,transform:a}=e,s=c=>{if(c[n]==null)return null;const d=c[n],u=CW(c.theme,r)||{};return p5(c,d,(p=>{let h=S_(u,a,p);return p===h&&typeof p=="string"&&(h=S_(u,a,`${n}${p==="default"?"":$i(p)}`,p)),o===!1?h:{[o]:h}}))};return s.propTypes={},s.filterProps=[n],s}const GPt={m:"margin",p:"padding"},qPt={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},f4e={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},KPt=(function(e){const n={};return o=>(n[o]===void 0&&(n[o]=e(o)),n[o])})((e=>{if(e.length>2){if(!f4e[e])return[e];e=f4e[e]}const[n,o]=e.split(""),r=GPt[n],a=qPt[o]||"";return Array.isArray(a)?a.map((s=>r+s)):[r+a]})),Ist=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Dst=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function BT(e,n,o,r){const a=CW(e,n,!0)??o;return typeof a=="number"||typeof a=="string"?s=>typeof s=="string"?s:typeof a=="string"?a.startsWith("var(")&&s===0?0:a.startsWith("var(")&&s===1?a:`calc(${s} * ${a})`:a*s:Array.isArray(a)?s=>{if(typeof s=="string")return s;const c=Math.abs(s),d=a[c];return s>=0?d:typeof d=="number"?-d:typeof d=="string"&&d.startsWith("var(")?`calc(-1 * ${d})`:`-${d}`}:typeof a=="function"?a:()=>{}}function Kpe(e){return BT(e,"spacing",8)}function PT(e,n){return typeof n=="string"||n==null?n:e(n)}function ZPt(e,n,o,r){if(!n.includes(o))return null;const a=(function(s,c){return d=>s.reduce(((u,p)=>(u[p]=PT(c,d),u)),{})})(KPt(o),r);return p5(e,e[o],a)}function Lst(e,n){const o=Kpe(e.theme);return Object.keys(e).map((r=>ZPt(e,n,r,o))).reduce(hD,{})}function Kl(e){return Lst(e,Ist)}function Zl(e){return Lst(e,Dst)}function Tst(e=8,n=Kpe({spacing:e})){if(e.mui)return e;const o=(...r)=>(r.length===0?[1]:r).map((a=>{const s=n(a);return typeof s=="number"?`${s}px`:s})).join(" ");return o.mui=!0,o}function vW(...e){const n=e.reduce(((r,a)=>(a.filterProps.forEach((s=>{r[s]=a})),r)),{}),o=r=>Object.keys(r).reduce(((a,s)=>n[s]?hD(a,n[s](r)):a),{});return o.propTypes={},o.filterProps=e.reduce(((r,a)=>r.concat(a.filterProps)),[]),o}function B0(e){return typeof e!="number"?e:`${e}px solid`}function lm(e,n){return ws({prop:e,themeKey:"borders",transform:n})}Kl.propTypes={},Kl.filterProps=Ist,Zl.propTypes={},Zl.filterProps=Dst;const JPt=lm("border",B0),XPt=lm("borderTop",B0),eMt=lm("borderRight",B0),tMt=lm("borderBottom",B0),nMt=lm("borderLeft",B0),oMt=lm("borderColor"),iMt=lm("borderTopColor"),rMt=lm("borderRightColor"),aMt=lm("borderBottomColor"),lMt=lm("borderLeftColor"),sMt=lm("outline",B0),cMt=lm("outlineColor"),oN=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const n=BT(e.theme,"shape.borderRadius",4),o=r=>({borderRadius:PT(n,r)});return p5(e,e.borderRadius,o)}return null};oN.propTypes={},oN.filterProps=["borderRadius"],vW(JPt,XPt,eMt,tMt,nMt,oMt,iMt,rMt,aMt,lMt,oN,sMt,cMt);const k_=e=>{if(e.gap!==void 0&&e.gap!==null){const n=BT(e.theme,"spacing",8),o=r=>({gap:PT(n,r)});return p5(e,e.gap,o)}return null};k_.propTypes={},k_.filterProps=["gap"];const j_=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const n=BT(e.theme,"spacing",8),o=r=>({columnGap:PT(n,r)});return p5(e,e.columnGap,o)}return null};j_.propTypes={},j_.filterProps=["columnGap"];const $_=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const n=BT(e.theme,"spacing",8),o=r=>({rowGap:PT(n,r)});return p5(e,e.rowGap,o)}return null};$_.propTypes={},$_.filterProps=["rowGap"];function oS(e,n){return n==="grey"?n:e}vW(k_,j_,$_,ws({prop:"gridColumn"}),ws({prop:"gridRow"}),ws({prop:"gridAutoFlow"}),ws({prop:"gridAutoColumns"}),ws({prop:"gridAutoRows"}),ws({prop:"gridTemplateColumns"}),ws({prop:"gridTemplateRows"}),ws({prop:"gridTemplateAreas"}),ws({prop:"gridArea"}));function fh(e){return e<=1&&e!==0?100*e+"%":e}vW(ws({prop:"color",themeKey:"palette",transform:oS}),ws({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:oS}),ws({prop:"backgroundColor",themeKey:"palette",transform:oS}));const dMt=ws({prop:"width",transform:fh}),Zpe=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const n=o=>{const r=e.theme?.breakpoints?.values?.[o]||wW[o];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:fh(o)}};return p5(e,e.maxWidth,n)}return null};Zpe.filterProps=["maxWidth"];const uMt=ws({prop:"minWidth",transform:fh}),pMt=ws({prop:"height",transform:fh}),hMt=ws({prop:"maxHeight",transform:fh}),mMt=ws({prop:"minHeight",transform:fh});ws({prop:"size",cssProperty:"width",transform:fh}),ws({prop:"size",cssProperty:"height",transform:fh});vW(dMt,Zpe,uMt,pMt,hMt,mMt,ws({prop:"boxSizing"}));const AW={border:{themeKey:"borders",transform:B0},borderTop:{themeKey:"borders",transform:B0},borderRight:{themeKey:"borders",transform:B0},borderBottom:{themeKey:"borders",transform:B0},borderLeft:{themeKey:"borders",transform:B0},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:B0},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:oN},color:{themeKey:"palette",transform:oS},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:oS},backgroundColor:{themeKey:"palette",transform:oS},p:{style:Zl},pt:{style:Zl},pr:{style:Zl},pb:{style:Zl},pl:{style:Zl},px:{style:Zl},py:{style:Zl},padding:{style:Zl},paddingTop:{style:Zl},paddingRight:{style:Zl},paddingBottom:{style:Zl},paddingLeft:{style:Zl},paddingX:{style:Zl},paddingY:{style:Zl},paddingInline:{style:Zl},paddingInlineStart:{style:Zl},paddingInlineEnd:{style:Zl},paddingBlock:{style:Zl},paddingBlockStart:{style:Zl},paddingBlockEnd:{style:Zl},m:{style:Kl},mt:{style:Kl},mr:{style:Kl},mb:{style:Kl},ml:{style:Kl},mx:{style:Kl},my:{style:Kl},margin:{style:Kl},marginTop:{style:Kl},marginRight:{style:Kl},marginBottom:{style:Kl},marginLeft:{style:Kl},marginX:{style:Kl},marginY:{style:Kl},marginInline:{style:Kl},marginInlineStart:{style:Kl},marginInlineEnd:{style:Kl},marginBlock:{style:Kl},marginBlockStart:{style:Kl},marginBlockEnd:{style:Kl},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:k_},rowGap:{style:$_},columnGap:{style:j_},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:fh},maxWidth:{style:Zpe},minWidth:{transform:fh},height:{transform:fh},maxHeight:{transform:fh},minHeight:{transform:fh},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"}},jb=(function(){function e(n,o,r,a){const s={[n]:o,theme:r},c=a[n];if(!c)return{[n]:o};const{cssProperty:d=n,themeKey:u,transform:p,style:h}=c;if(o==null)return null;if(u==="typography"&&o==="inherit")return{[n]:o};const g=CW(r,u)||{};return h?h(s):p5(s,o,(f=>{let x=S_(g,p,f);return f===x&&typeof f=="string"&&(x=S_(g,p,`${n}${f==="default"?"":$i(f)}`,f)),d===!1?x:{[d]:x}}))}return function n(o){const{sx:r,theme:a={},nested:s}=o||{};if(!r)return null;const c=a.unstable_sxConfig??AW;function d(u){let p=u;if(typeof u=="function")p=u(a);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)),{})||{}})(a.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],a);if(y!=null)if(typeof y=="object")if(c[x])f=hD(f,e(x,y,a,c));else{const b=p5({theme:a},y,(w=>({[x]:w})));(function(...w){const C=w.reduce(((A,k)=>A.concat(Object.keys(k))),[]),v=new Set(C);return w.every((A=>v.size===Object.keys(A).length))})(b,y)?f[x]=n({sx:y,theme:a,nested:!0}):f=hD(f,b)}else f=hD(f,e(x,y,a,c))})),!s&&a.modularCssLayers?{"@layer sx":h4e(a,g4e(g,f))}:h4e(a,g4e(g,f))}return Array.isArray(r)?r.map(d):d(r)}})();function gMt(e,n){const o=this;if(o.vars){if(!o.colorSchemes?.[e]||typeof o.getColorSchemeSelector!="function")return{};let r=o.getColorSchemeSelector(e);return r==="&"?n:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:n})}return o.palette.mode===e?n:{}}function Jpe(e={},...n){const{breakpoints:o={},palette:r={},spacing:a,shape:s={},...c}=e;let d=j1({breakpoints:WPt(o),direction:"ltr",components:{},palette:{mode:"light",...r},spacing:Tst(a),shape:{...QPt,...s}},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=gMt,d=n.reduce(((u,p)=>j1(u,p)),d),d.unstable_sxConfig={...AW,...c?.unstable_sxConfig},d.unstable_sx=function(u){return jb({sx:u,theme:this})},d}function fse(e=null){const n=m.useContext(dst);return!n||(function(o){return Object.keys(o).length===0})(n)?e:n}jb.filterProps=["sx"];const fMt=Jpe();function Bst(e=fMt){return fse(e)}function x4e(e){const n=Dx(e);return e!==n&&n.styles?(n.styles.match(/^@layer\s+[^{]*$/)||(n.styles=`@layer global{${n.styles}}`),n):e}function Pst({styles:e,themeId:n,defaultTheme:o={}}){const r=Bst(o),a=n&&r[n]||r;let s=typeof e=="function"?e(a):e;return a.modularCssLayers&&(s=Array.isArray(s)?s.map((c=>x4e(typeof c=="function"?c(a):c))):x4e(s)),t.jsx(jst,{styles:s})}const y4e=e=>e,xMt=(()=>{let e=y4e;return{configure(n){e=n},generate:n=>e(n),reset(){e=y4e}}})();function Mst(e){var n,o,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(n=0;n<a;n++)e[n]&&(o=Mst(e[n]))&&(r&&(r+=" "),r+=o)}else for(o in e)e[o]&&(r&&(r+=" "),r+=o);return r}function Di(){for(var e,n,o=0,r="",a=arguments.length;o<a;o++)(e=arguments[o])&&(n=Mst(e))&&(r&&(r+=" "),r+=n);return r}const yMt={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 ia(e,n,o="Mui"){const r=yMt[n];return r?`${o}-${r}`:`${xMt.generate(e)}-${n}`}function Nr(e,n,o="Mui"){const r={};return n.forEach((a=>{r[a]=ia(e,a,o)})),r}function Ost(e){const{variants:n,...o}=e,r={variants:n,style:Dx(o),isProcessed:!0};return r.style===o||n&&n.forEach((a=>{typeof a.style!="function"&&(a.style=Dx(a.style))})),r}const bMt=Jpe();function eK(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function E8(e,n){return n&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${n}{${String(e.styles)}}`),e}function wMt(e){return e?(n,o)=>o[e]:null}function iN(e,n,o){const r=typeof n=="function"?n(e):n;if(Array.isArray(r))return r.flatMap((a=>iN(e,a,o)));if(Array.isArray(r?.variants)){let a;if(r.isProcessed)a=o?E8(r.style,o):r.style;else{const{variants:s,...c}=r;a=o?E8(Dx(c),o):c}return zst(e,r.variants,[a],o)}return r?.isProcessed?o?E8(Dx(r.style),o):r.style:o?E8(Dx(r),o):r}function zst(e,n,o=[],r=void 0){let a;e:for(let s=0;s<n.length;s+=1){const c=n[s];if(typeof c.props=="function"){if(a??={...e,...e.ownerState,ownerState:e.ownerState},!c.props(a))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"?(a??={...e,...e.ownerState,ownerState:e.ownerState},o.push(r?E8(Dx(c.style(a)),r):c.style(a))):o.push(r?E8(Dx(c.style),r):c.style)}return o}function CMt(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function xse(e,n,o=!1){const r={...n};for(const a in e)if(Object.prototype.hasOwnProperty.call(e,a)){const s=a;if(s==="components"||s==="slots")r[s]={...e[s],...r[s]};else if(s==="componentsProps"||s==="slotProps"){const c=e[s],d=n[s];if(d)if(c){r[s]={...d};for(const u in c)if(Object.prototype.hasOwnProperty.call(c,u)){const p=u;r[s][p]=xse(c[p],d[p],o)}}else r[s]=d;else r[s]=c||{}}else s==="className"&&o&&n.className?r.className=Di(e?.className,n?.className):s==="style"&&o&&n.style?r.style={...e?.style,...n?.style}:r[s]===void 0&&(r[s]=e[s])}return r}const Lh=typeof window<"u"?m.useLayoutEffect:m.useEffect;function Xpe(e,n=0,o=1){return(function(r,a=Number.MIN_SAFE_INTEGER,s=Number.MAX_SAFE_INTEGER){return Math.max(a,Math.min(r,s))})(e,n,o)}function Yx(e){if(e.type)return e;if(e.charAt(0)==="#")return Yx((function(s){s=s.slice(1);const c=new RegExp(`.{1,${s.length>=6?2:1}}`,"g");let d=s.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("("),o=e.substring(0,n);if(!["rgb","rgba","hsl","hsla","color"].includes(o))throw new Error(u5(9,e));let r,a=e.substring(n+1,e.length-1);if(o==="color"){if(a=a.split(" "),r=a.shift(),a.length===4&&a[3].charAt(0)==="/"&&(a[3]=a[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(r))throw new Error(u5(10,r))}else a=a.split(",");return a=a.map((s=>parseFloat(s))),{type:o,values:a,colorSpace:r}}const $I=(e,n)=>{try{return(o=>{const r=Yx(o);return r.values.slice(0,3).map(((a,s)=>r.type.includes("hsl")&&s!==0?`${a}%`:a)).join(" ")})(e)}catch{return e}};function SW(e){const{type:n,colorSpace:o}=e;let{values:r}=e;return n.includes("rgb")?r=r.map(((a,s)=>s<3?parseInt(a,10):a)):n.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=n.includes("color")?`${o} ${r.join(" ")}`:`${r.join(", ")}`,`${n}(${r})`}function Fst(e){e=Yx(e);const{values:n}=e,o=n[0],r=n[1]/100,a=n[2]/100,s=r*Math.min(a,1-a),c=(p,h=(p+o/30)%12)=>a-s*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])),SW({type:d,values:u})}function yse(e){let n=(e=Yx(e)).type==="hsl"||e.type==="hsla"?Yx(Fst(e)).values:e.values;return n=n.map((o=>(e.type!=="color"&&(o/=255),o<=.03928?o/12.92:((o+.055)/1.055)**2.4))),Number((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3))}function E_(e,n){return e=Yx(e),n=Xpe(n),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${n}`:e.values[3]=n,SW(e)}function Sy(e,n,o){try{return E_(e,n)}catch{return e}}function kW(e,n){if(e=Yx(e),n=Xpe(n),e.type.includes("hsl"))e.values[2]*=1-n;else if(e.type.includes("rgb")||e.type.includes("color"))for(let o=0;o<3;o+=1)e.values[o]*=1-n;return SW(e)}function ba(e,n,o){try{return kW(e,n)}catch{return e}}function jW(e,n){if(e=Yx(e),n=Xpe(n),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*n;else if(e.type.includes("rgb"))for(let o=0;o<3;o+=1)e.values[o]+=(255-e.values[o])*n;else if(e.type.includes("color"))for(let o=0;o<3;o+=1)e.values[o]+=(1-e.values[o])*n;return SW(e)}function wa(e,n,o){try{return jW(e,n)}catch{return e}}function pP(e,n,o){try{return(function(r,a=.15){return yse(r)>.5?kW(r,a):jW(r,a)})(e,n)}catch{return e}}const Rst=m.createContext(null);function ehe(){return m.useContext(Rst)}const vMt=typeof Symbol=="function"&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function AMt(e){const{children:n,theme:o}=e,r=ehe(),a=m.useMemo((()=>{const s=r===null?{...o}:(function(c,d){return typeof d=="function"?d(c):{...c,...d}})(r,o);return s!=null&&(s[vMt]=r!==null),s}),[o,r]);return t.jsx(Rst.Provider,{value:a,children:n})}const Nst=m.createContext();function SMt({value:e,...n}){return t.jsx(Nst.Provider,{value:e??!0,...n})}const $W=()=>m.useContext(Nst)??!1,_st=m.createContext(void 0);function kMt({value:e,children:n}){return t.jsx(_st.Provider,{value:e,children:n})}function jMt({props:e,name:n}){return(function(o){const{theme:r,name:a,props:s}=o;if(!r||!r.components||!r.components[a])return s;const c=r.components[a];return c.defaultProps?xse(c.defaultProps,s,r.components.mergeClassNameAndStyle):c.styleOverrides||c.variants?s:xse(c,s,r.components.mergeClassNameAndStyle)})({props:e,name:n,theme:{components:m.useContext(_st)}})}let b4e=0;const w4e={...lDt}.useId;function EW(e){if(w4e!==void 0){const n=w4e();return e??n}return(function(n){const[o,r]=m.useState(n),a=n||o;return m.useEffect((()=>{o==null&&(b4e+=1,r(`mui-${b4e}`))}),[o]),a})(e)}const C4e={};function v4e(e,n,o,r=!1){return m.useMemo((()=>{const a=e&&n[e]||n;if(typeof o=="function"){const s=o(a),c=e?{...n,[e]:s}:s;return r?()=>c:c}return e?{...n,[e]:o}:{...n,...o}}),[e,n,o,r])}function Vst(e){const{children:n,theme:o,themeId:r}=e,a=fse(C4e),s=ehe()||C4e,c=v4e(r,a,o),d=v4e(r,s,o,!0),u=(r?c[r]:c).direction==="rtl",p=(function(h){const g=fse(),f=EW()||"",{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};`:"",Lh((()=>{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(Pst,{styles:y}):null})(c);return t.jsx(AMt,{theme:d,children:t.jsx(dst.Provider,{value:c,children:t.jsx(SMt,{value:u,children:t.jsxs(kMt,{value:r?c[r].components:c.components,children:[p,n]})})})})}const A4e={theme:void 0},bse="mode",wse="color-scheme",$Mt="data-color-scheme";function EMt(){}const IMt=({key:e,storageWindow:n})=>(!n&&typeof window<"u"&&(n=window),{get(o){if(typeof window>"u")return;if(!n)return o;let r;try{r=n.localStorage.getItem(e)}catch{}return r||o},set:o=>{if(n)try{n.localStorage.setItem(e,o)}catch{}},subscribe:o=>{if(!n)return EMt;const r=a=>{const s=a.newValue;a.key===e&&o(s)};return n.addEventListener("storage",r),()=>{n.removeEventListener("storage",r)}}});function tK(){}function S4e(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function k4e(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 DMt(e){const{defaultMode:n="light",defaultLightColorScheme:o,defaultDarkColorScheme:r,supportedColorSchemes:a=[],modeStorageKey:s=bse,colorSchemeStorageKey:c=wse,storageWindow:d=typeof window>"u"?void 0:window,storageManager:u=IMt,noSsr:p=!1}=e,h=a.join(","),g=a.length>1,f=m.useMemo((()=>u?.({key:s,storageWindow:d})),[u,s,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(o)||o,F=y?.get(r)||r;return{mode:I,systemMode:S4e(I),lightColorScheme:D,darkColorScheme:F}})),[C,v]=m.useState(p||!g);m.useEffect((()=>{v(!0)}),[]);const A=(function(I){return k4e(I,(D=>D==="light"?I.lightColorScheme:D==="dark"?I.darkColorScheme:void 0))})(b),k=m.useCallback((I=>{w((D=>{if(I===D.mode)return D;const F=I??n;return f?.set(F),{...D,mode:F,systemMode:S4e(F)}}))}),[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 F={...D};return k4e(D,(z=>{z==="light"&&(x?.set(I),F.lightColorScheme=I),z==="dark"&&(y?.set(I),F.darkColorScheme=I)})),F})):w((D=>{const F={...D},z=I.light===null?o:I.light,O=I.dark===null?r:I.dark;return z&&(h.includes(z)?(F.lightColorScheme=z,x?.set(z)):console.error(`\`${z}\` does not exist in \`theme.colorSchemes\`.`)),O&&(h.includes(O)?(F.darkColorScheme=O,y?.set(O)):console.error(`\`${O}\` does not exist in \`theme.colorSchemes\`.`)),F})):w((D=>(x?.set(o),y?.set(r),{...D,lightColorScheme:o,darkColorScheme:r})))}),[h,x,y,o,r]),j=m.useCallback((I=>{b.mode==="system"&&w((D=>{const F=I?.matches?"dark":"light";return D.systemMode===F?D:{...D,systemMode:F}}))}),[b.mode]),E=m.useRef(j);return E.current=j,m.useEffect((()=>{if(typeof window.matchMedia!="function"||!g)return;const I=(...F)=>E.current(...F),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((z=>{(!z||["light","dark","system"].includes(z))&&k(z||n)}))||tK,D=x?.subscribe((z=>{(!z||h.match(z))&&$({light:z})}))||tK,F=y?.subscribe((z=>{(!z||h.match(z))&&$({dark:z})}))||tK;return()=>{I(),D(),F()}}}),[$,k,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:k,setColorScheme:$}}function LMt(e=""){function n(...o){if(!o.length)return"";const r=o[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(...o.slice(1))})`}return(o,...r)=>`var(--${e?`${e}-`:""}${o}${n(...r)})`}const j4e=(e,n,o,r=[])=>{let a=e;n.forEach(((s,c)=>{c===n.length-1?Array.isArray(a)?a[Number(s)]=o:a&&typeof a=="object"&&(a[s]=o):a&&typeof a=="object"&&(a[s]||(a[s]=r.includes(s)?[]:{}),a=a[s])}))};function nK(e,n){const{prefix:o,shouldSkipGeneratingVar:r}=n||{},a={},s={},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=`--${o?`${o}-`:""}${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(a,{[h]:g}),j4e(s,d,`var(${h})`,p),j4e(c,d,`var(${h}, ${g})`,p)}}),(d=>d[0]==="vars")),{css:a,vars:s,varsWithDefaults:c}}function ra(e,n,o=void 0){const r={};for(const a in e){const s=e[a];let c="",d=!0;for(let u=0;u<s.length;u+=1){const p=s[u];p&&(c+=(d===!0?"":" ")+n(p),d=!1,o&&o[p]&&(c+=" "+o[p]))}r[a]=c}return r}function oK(e,n){return m.isValidElement(e)&&n.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}const xL={black:"#000",white:"#fff"},TMt={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"},BMt="#f3e5f5",PMt="#ce93d8",MMt="#ba68c8",OMt="#ab47bc",zMt="#9c27b0",FMt="#7b1fa2",RMt="#e57373",NMt="#ef5350",_Mt="#f44336",$4e="#d32f2f",VMt="#c62828",HMt="#ffb74d",UMt="#ffa726",WMt="#ff9800",QMt="#f57c00",YMt="#e65100",GMt="#e3f2fd",qMt="#90caf9",E4e="#42a5f5",KMt="#1976d2",ZMt="#1565c0",JMt="#4fc3f7",XMt="#29b6f6",eOt="#03a9f4",I4e="#0288d1",tOt="#01579b",nOt="#81c784",oOt="#66bb6a",iOt="#4caf50",rOt="#388e3c",aOt="#2e7d32",lOt="#1b5e20";function Hst(){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:xL.white,default:xL.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 Ust=Hst();function Wst(){return{text:{primary:xL.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:xL.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 Cse=Wst();function D4e(e,n,o,r){const a=r.light||r,s=r.dark||1.5*r;e[n]||(e.hasOwnProperty(o)?e[n]=e[o]:n==="light"?e.light=jW(e.main,a):n==="dark"&&(e.dark=kW(e.main,s)))}function L4e(e,n,o,r,a){const s=a.light||a,c=a.dark||1.5*a;n[o]||(n.hasOwnProperty(r)?n[o]=n[r]:o==="light"?n.light=`color-mix(in ${e}, ${n.main}, #fff ${(100*s).toFixed(0)}%)`:o==="dark"&&(n.dark=`color-mix(in ${e}, ${n.main}, #000 ${(100*c).toFixed(0)}%)`))}function the(e){const{mode:n="light",contrastThreshold:o=3,tonalOffset:r=.2,colorSpace:a,...s}=e,c=e.primary||(function(b="light"){return b==="dark"?{main:qMt,light:GMt,dark:E4e}:{main:KMt,light:E4e,dark:ZMt}})(n),d=e.secondary||(function(b="light"){return b==="dark"?{main:PMt,light:BMt,dark:OMt}:{main:zMt,light:MMt,dark:FMt}})(n),u=e.error||(function(b="light"){return b==="dark"?{main:_Mt,light:RMt,dark:$4e}:{main:$4e,light:NMt,dark:VMt}})(n),p=e.info||(function(b="light"){return b==="dark"?{main:XMt,light:JMt,dark:I4e}:{main:I4e,light:eOt,dark:tOt}})(n),h=e.success||(function(b="light"){return b==="dark"?{main:oOt,light:nOt,dark:rOt}:{main:aOt,light:iOt,dark:lOt}})(n),g=e.warning||(function(b="light"){return b==="dark"?{main:UMt,light:HMt,dark:QMt}:{main:"#ed6c02",light:WMt,dark:YMt}})(n);function f(b){return a?(function(C){return`oklch(from ${C} var(--__l) 0 h / var(--__a))`})(b):(function(C,v){const A=yse(C),k=yse(v);return(Math.max(A,k)+.05)/(Math.min(A,k)+.05)})(b,Cse.text.primary)>=o?Cse.text.primary:Ust.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(u5(11,w?` (${w})`:"",C));if(typeof b.main!="string")throw new Error(u5(12,w?` (${w})`:"",JSON.stringify(b.main)));return a?(L4e(a,b,"light",v,r),L4e(a,b,"dark",A,r)):(D4e(b,"light",v,r),D4e(b,"dark",A,r)),b.contrastText||(b.contrastText=f(b.main)),b};let y;return n==="light"?y=Hst():n==="dark"&&(y=Wst()),j1({common:{...xL},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:TMt,contrastThreshold:o,getContrastText:f,augmentColor:x,tonalOffset:r,...y},s)}function sOt(e){const n={};return Object.entries(e).forEach((o=>{const[r,a]=o;typeof a=="object"&&(n[r]=`${a.fontStyle?`${a.fontStyle} `:""}${a.fontVariant?`${a.fontVariant} `:""}${a.fontWeight?`${a.fontWeight} `:""}${a.fontStretch?`${a.fontStretch} `:""}${a.fontSize||""}${a.lineHeight?`/${a.lineHeight} `:""}${a.fontFamily||""}`)})),n}function cOt(e,n){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...n}}function dOt(e){return Math.round(1e5*e)/1e5}const T4e={textTransform:"uppercase"},B4e='"Roboto", "Helvetica", "Arial", sans-serif';function Qst(e,n){const{fontFamily:o=B4e,fontSize:r=14,fontWeightLight:a=300,fontWeightRegular:s=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,k)=>({fontFamily:o,fontWeight:w,fontSize:x(C),lineHeight:v,...o===B4e?{letterSpacing:`${dOt(A/C)}em`}:{},...k,...p}),b={h1:y(a,96,1.167,-1.5),h2:y(a,60,1.2,-.5),h3:y(s,48,1.167,0),h4:y(s,34,1.235,.25),h5:y(s,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(s,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(s,16,1.5,.15),body2:y(s,14,1.43,.15),button:y(c,14,1.75,.4,T4e),caption:y(s,12,1.66,.4),overline:y(s,12,2.66,1,T4e),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return j1({htmlFontSize:u,pxToRem:x,fontFamily:o,fontSize:r,fontWeightLight:a,fontWeightRegular:s,fontWeightMedium:c,fontWeightBold:d,...b},g,{clone:!1})}function vl(...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 uOt=["none",vl(0,2,1,-1,0,1,1,0,0,1,3,0),vl(0,3,1,-2,0,2,2,0,0,1,5,0),vl(0,3,3,-2,0,3,4,0,0,1,8,0),vl(0,2,4,-1,0,4,5,0,0,1,10,0),vl(0,3,5,-1,0,5,8,0,0,1,14,0),vl(0,3,5,-1,0,6,10,0,0,1,18,0),vl(0,4,5,-2,0,7,10,1,0,2,16,1),vl(0,5,5,-3,0,8,10,1,0,3,14,2),vl(0,5,6,-3,0,9,12,1,0,3,16,2),vl(0,6,6,-3,0,10,14,1,0,4,18,3),vl(0,6,7,-4,0,11,15,1,0,4,20,3),vl(0,7,8,-4,0,12,17,2,0,5,22,4),vl(0,7,8,-4,0,13,19,2,0,5,24,4),vl(0,7,9,-4,0,14,21,2,0,5,26,4),vl(0,8,9,-5,0,15,22,2,0,6,28,5),vl(0,8,10,-5,0,16,24,2,0,6,30,5),vl(0,8,11,-5,0,17,26,2,0,6,32,5),vl(0,9,11,-5,0,18,28,2,0,7,34,6),vl(0,9,12,-6,0,19,29,2,0,7,36,6),vl(0,10,13,-6,0,20,31,3,0,8,38,7),vl(0,10,13,-6,0,21,33,3,0,8,40,7),vl(0,10,14,-6,0,22,35,3,0,8,42,7),vl(0,11,14,-7,0,23,36,3,0,9,44,8),vl(0,11,15,-7,0,24,38,3,0,9,46,8)],pOt={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)"},Yst={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function P4e(e){return`${Math.round(e)}ms`}function hOt(e){if(!e)return 0;const n=e/36;return Math.min(Math.round(10*(4+15*n**.25+n/5)),3e3)}function mOt(e){const n={...pOt,...e.easing},o={...Yst,...e.duration};return{getAutoHeightDuration:hOt,create:(r=["all"],a={})=>{const{duration:s=o.standard,easing:c=n.easeInOut,delay:d=0,...u}=a;return(Array.isArray(r)?r:[r]).map((p=>`${p} ${typeof s=="string"?s:P4e(s)} ${c} ${typeof d=="string"?d:P4e(d)}`)).join(",")},...e,easing:n,duration:o}}const gOt={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function fOt(e){return M4(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Gst(e={}){const n={...e};return(function o(r){const a=Object.entries(r);for(let s=0;s<a.length;s++){const[c,d]=a[s];!fOt(d)||c.startsWith("unstable_")?delete r[c]:M4(d)&&(r[c]={...d},o(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
 
@@ -270,7 +270,7 @@ _failed_count_ Transaction failed.`},transactionsUpdated_transactionsFailed:{suc
270
270
  _updated_count_ Transaction updated.
271
271
  _failed_count_ Transactions failed.`},transactionCategorized_transactionUpdated_transactionFailed:{success:"",failed:"",notification:`_categorized_count_ Transaction categorized.
272
272
  _updated_count_ Transaction updated.
273
- _failed_count_ Transaction failed.`},people_invite_people:{success:"Invitation sent",failed:"",notification:""},people_invite_multiple_people:{success:"Users invited",failed:"",notification:""},people_update_person:{success:"User info changed",failed:"",notification:""},people_delete_person:{success:"User deleted",failed:"",notification:""},reimbursement_updated:{success:"Reimbursement saved",failed:"_api-error_.",notification:""},reimbursement_approved:{success:"Reimbursement approved",failed:"_api-error_.",notification:""},reimbursement_rejected:{success:"Reimbursement rejected",failed:"_api-error_.",notification:""},reimbursement_sent_for_approval:{success:"Reimbursement sent for approval",failed:"_api-error_.",notification:""},reimbursement_deleted:{success:"Reimbursement deleted",failed:"_api-error_.",notification:""},reimbursement_cancelled:{success:"Reimbursement canceled",failed:"_api-error_.",notification:""},reimbursement_cancelled_deleted:{success:"Reimbursement canceled and deleted",failed:"_api-error_.",notification:""},reimbursement_bulk_submit:{success:"_count_ _report_ will be _action_. You'll be notified once it's done.",failed:"_api-error_.",notification:""},reimbursement_bulk_processed:{success:"_report_ _has_ been _action_. The page will refresh now to reflect updates.",failed:"_api-error_.",notification:""},save_reconcile_for_later:{success:"Reconciliation saved",failed:"Reconciliation not saved. Please try again!",notification:""},reconcile:{success:"_reconcile_account_ reconciliation in progress.",failed:"Reconciliation failed for _reconcile_account_",notification:""},exclude_transaction:{success:"Transaction excluded",failed:"Transaction exclusion failed",notification:""},account_added:{success:"Account added successfully",failed:"",notification:""},issue_charge_card:{success:"New _card_ issued for _user-name_",failed:"",notification:""},issue_charge_cards:{success:"New cards issued",failed:"Couldn't create cards. _api-error_.",notification:""},charge_card_auto_pay_enable:{success:"Early payment enabled",failed:"",notification:""},charge_card_auto_pay_disable:{success:"Early payment disabled",failed:"",notification:""},business_verification_save:{success:"Business Verification Details saved successfully.",failed:"Couldn't save Business Verification Details. Please try again.",notification:""},business_verification_submit:{success:"Business Verification Details submitted successfully.",failed:"Couldn't submit Business Verification Details. Please try again.",notification:""},business_verification_from_bills_submit:{success:"Verified successfully.",failed:"Couldn't submit Business Verification Details. Please try again.",notification:""},plaid_connection:{success:"",failed:"Something went wrong! Please try again.",notification:""},bill_pay_setup:{success:"",failed:"Failed to load Bill Pay Setup Details! Please try again.",notification:""},zeni_accounts_setup:{success:"",failed:"Failed to load Zeni Accounts Setup Details! Please try again.",notification:""},bill_pay_approval_create:{success:"Approval Rule created successfully.",failed:"Couldn't create Approval Rule! Please try again.",notification:""},bill_pay_duplicate_approval_create:{success:"Approval Rule created successfully.",failed:"_api-error_",notification:""},bill_pay_approval_update:{success:"Approval Rule updated successfully.",failed:"Couldn't update Approval Rule! Please try again.",notification:""},update_zeni_account_nickname:{success:"Zeni Account nickname updated successfully",failed:"_api-error_.",notification:""},create_checking_account:{success:"New Business Account Added",failed:"_api-error_.",notification:""},deposit_check:{success:"Check Deposit Successful",failed:"_api-error_.",notification:""},bill_pay_duplicate_approval_update:{success:"Approval Rule updated successfully.",failed:"_api-error_",notification:""},bill_pay_approval_delete:{success:"Approval Rule deleted successfully.",failed:"Couldn't delete Approval Rule! Please try again.",notification:""},bill_pay_approval_reorder:{success:"Approval rules reordered.",failed:"Couldn't reorder Approval Rules. Please try again.",notification:""},reimbursement_setup:{success:"",failed:"Failed to load Reimbursements Setup Details! Please try again.",notification:""},reimbursement_approval_create:{success:"Approval Rule created successfully.",failed:"Couldn't create Approval Rule! Please try again.",notification:""},reimbursement_duplicate_approval_create:{success:"Approval Rule created successfully.",failed:"_api-error_",notification:""},reimbursement_approval_update:{success:"Approval Rule updated successfully.",failed:"Couldn't update Approval Rule! Please try again.",notification:""},reimbursement_duplicate_approval_update:{success:"Approval Rule updated successfully.",failed:"_api-error_",notification:""},reimbursement_approval_delete:{success:"Approval Rule deleted successfully.",failed:"Couldn't delete Approval Rule! Please try again.",notification:""},reimbursement_approval_reorder:{success:"Approval rules reordered.",failed:"Couldn't reorder Approval Rules. Please try again.",notification:""},reimbursement_create_mileage:{success:"Mileage rate added successfully.",failed:"_api-error_.",notification:""},reimbursement_update_mileage:{success:"Mileage rate updated successfully.",failed:"_api-error_.",notification:""},reimbursement_accept_term:{success:"",failed:"_api-error_.",notification:""},reimbursement_accept_employee_term:{success:"",failed:"_api-error_.",notification:""},cockpit_month_end_email_sent:{success:"Zeni Insights sent successfully for _company-name_.",failed:"",notification:""},cockpit_month_end_email_save:{success:"Zeni Insights saved successfully for _company-name_.",failed:"",notification:""},cockpit_month_end_email_attachment_upload:{success:"",failed:"Sorry, the file you uploaded is too large. Maximum file size allowed is 700KB",notification:""},audit_score_updated:{success:"Audit Score updated",failed:"",notification:""},create_bank_account_ach:{success:"ACH account added successfully.",failed:"",notification:""},unlink_deposit_account:{success:"",failed:"_api-error_.",notification:""},create_bank_account_wire:{success:"_wire-type_ wire account added successfully.",failed:"",notification:""},create_bank_account_international:{success:"_wire-type_ wire account added successfully.",failed:"",notification:""},bill_pay_updated:{success:"Bill saved",failed:"_api-error_.",notification:""},bill_pay_deleted:{success:"Bill deleted",failed:"_api-error_.",notification:""},bill_pay_bulk_submit:{success:"_count_ _bill_ will be _action_. You'll be notified once it's done.",failed:"_api-error_.",notification:""},bill_pay_bulk_processed:{success:"_bill_ _has_ been _action_. The page will refresh now to reflect updates.",failed:"_api-error_.",notification:""},bill_pay_cancelled_deleted:{success:"Bill canceled and deleted",failed:"_api-error_.",notification:""},bill_pay_cancelled:{success:"Bill canceled",failed:"_api-error_.",notification:""},bill_pay_approved:{success:"Bill approved",failed:"_api-error_.",notification:""},bill_pay_rejected:{success:"Bill rejected",failed:"_api-error_.",notification:""},bill_pay_sent_for_approval:{success:"Bill sent for approval",failed:"_api-error_.",notification:""},bill_pay_accept_term:{success:"",failed:"_api-error_.",notification:""},bill_pay_refund:{success:"Refund process initiated",failed:"_api-error_.",notification:""},bill_pay_retry:{success:"Payment retried",failed:"_api-error_.",notification:""},bill_pay_marked_as_paid:{success:"Bill marked as paid",failed:"_api-error_.",notification:""},update_vendor:{success:"Vendor updated successfully.",failed:"_api-error_.",notification:""},data_refresh_update:{success:"Data refreshed",failed:"_api-error_.",notification:""},delete_bank_account:{success:"Bank account deleted successfully.",failed:"_api-error_.",notification:""},update_debit_card_pin_attempt:{success:"PIN changed successfully",failed:"_api-error_.",notification:""},set_debit_card_pin:{success:"PIN set successfully",failed:"_api-error_.",notification:""},create_bank_account:{success:"",failed:"_api-error_.",notification:""},send_email_magic_link_to_user:{success:"",failed:"_api-error_.",notification:""},complete_profile_done:{success:"Profile details saved.",failed:"_api-error_.",notification:""},zeni_account_accept_term:{success:"",failed:"_api-error_.",notification:""},transfer_money:{success:"",failed:"_api-error_.",notification:""},create_vendor:{success:"Vendor created successfully.",failed:"_api-error_.",notification:""},onboarding_customer_view:{success:"Onboarding Business Details fetched successfully.",failed:"Couldn't fetch Onboarding Business Details. Please try again.",notification:""},onboarding_customer_view_complete:{success:"Onboarding status updated successfully.",failed:"Couldn't update Onboarding status. Please try again.",notification:""},onboarding_customer_identity_verification_save:{success:"Onboarding Identity Details saved successfully.",failed:"Couldn't save Onboarding Identity Details. Please try again.",notification:""},onboarding_customer_identity_verification_submit:{success:"Onboarding Identity Details submitted successfully.",failed:"Couldn't submit Onboarding Identity Details. Please try again.",notification:""},onboarding_customer_business_verification_save:{success:"Onboarding Business Details saved successfully.",failed:"Couldn't save Onboarding Business Details. Please try again.",notification:""},onboarding_customer_business_verification_submit:{success:"Onboarding Business Details submitted successfully.",failed:"Couldn't submit Onboarding Business Details. Please try again.",notification:""},retry_bank_account_connection:{success:"Bank account connection completed successfully.",failed:"Bank account connection failed.",notification:""},dashboard_invite_sent:{success:"Dashboard invite sent to _user-name_ for _company-name_ successfully.",failed:"Dashboard invite failed",notification:""},onboarding_info_saved:{success:"Saved successfully",failed:"Save failed",notification:""},approve_original_merchant:{success:'Review request for "_merchant_name_" is approved successfully.',failed:"_api-error_.",notification:""},approve_global_merchant:{success:'Review request for "_original_merchant_name_" to "_approved_merchant_name_" is approved successfully.',failed:"_api-error_.",notification:""},reject_global_merchant:{success:'Vendor "_merchant_name_" review rejected',failed:"_api-error_.",notification:""},create_global_merchant:{success:'Vendor "_global_merchant_name_" successfully added to global list.',failed:"_api-error_.",notification:""},fetch_global_merchant_no_recommendation:{success:'There are no recommendations for the name "_global_merchant_name_".',failed:"_api-error_.",notification:""},save_vendor_sent_for_review:{success:'Vendor "_vendor_name_" sent for the review.',failed:"_api-error_.",notification:""},save_vendor_renamed:{success:'Vendor "_old_vendor_name_" renamed to "_updated_vendor_name_."',failed:"_api-error_.",notification:""},save_vendor_marked_as_employee:{success:"Marked as employee",failed:"_api-error_.",notification:""},save_vendor_marked_as_local_contractor:{success:"Marked as local contractor",failed:"_api-error_.",notification:""},charge_card_setup:{success:"",failed:"Failed to load Cards Setup Details! Please try again.",notification:""},charge_card_receipt_upload:{success:"Card receipt uploaded",failed:"_api-error_.",notification:""},charge_card_resend_invite:{success:"Card invite resent",failed:"_api-error_.",notification:""},charge_card_revoke_invite:{success:"Card invite revoked",failed:"_api-error_.",notification:""},card_policy_created:{success:"New policy created",failed:"_api-error_.",notification:""},card_policy_updated:{success:"Policy updated",failed:"_api-error_.",notification:""},card_policy_deleted:{success:"Policy deleted",failed:"_api-error_.",notification:""},charge_card_update_limit:{success:"Card limit updated to _amount_",failed:"Limit updation failed with _api-error_.",notification:""},charge_cards_update_limit:{success:"Limit updated for _number_of_cards_",failed:"Limit updation failed with _api-error_.",notification:""},update_charge_card_name:{success:'Card _masked_card_number_ renamed to "_new_card_name_"',failed:"Card name updation failed with _api-error_.",notification:""},update_charge_card_name_card_user:{success:'Card renamed to "_new_card_name_"',failed:"Card name updation failed with _api-error_.",notification:""},lock_charge_card:{success:"Card _masked_card_number_ locked",failed:"Card lock failed with _api-error_.",notification:""},lock_charge_card_card_user:{success:"Card locked",failed:"Card lock failed with _api-error_.",notification:""},unlock_charge_card:{success:"Card _masked_card_number_ unlocked",failed:"Card unlock failed with _api-error_.",notification:""},unlock_charge_card_card_user:{success:"Card unlocked",failed:"Card unlock failed with _api-error_.",notification:""},close_charge_card:{success:"Card _masked_card_number_ closed",failed:"Card close failed with _api-error_.",notification:""},unlock_charge_cards:{success:"_number_of_cards_ unlocked",failed:"Cards unlock failed with _api-error_.",notification:""},lock_charge_cards:{success:"_number_of_cards_ locked",failed:"Cards lock failed with _api-error_.",notification:""},close_charge_cards:{success:"_number_of_cards_ closed",failed:"Cards close failed with _api-error_.",notification:""},revoke_invite_charge_cards:{success:"Invite revoked for _number_of_cards_",failed:"Invite revoke failed with _api-error_.",notification:""},create_schedule:{success:'Schedule created for "_vendor_name_"',failed:"Schedule creation failed with _api-error_.",notification:""},save_schedule:{success:'Schedule saved for "_vendor_name_"',failed:"Save schedule failed with _api-error_.",notification:""},je_posted:{success:"JE Posted",failed:"JE Posting failed with _api-error_.",notification:""},ignore_schedule:{success:"Schedule Ignored",failed:"Schedule Ignore failed with _api-error_.",notification:""},delete_schedule:{success:'Schedule deleted for "_vendor_name_"',failed:"Delete schedule failed with _api-error_.",notification:""},mark_as_complete_schedule:{success:'Schedule marked as completed for "_vendor_name_"',failed:"Mark as complete schedule failed with _api-error_.",notification:""},cancel_journal_entry:{success:"Accrual Canceled",failed:"Accrual Cancel failed with _api-error_.",notification:""},charge_card_accept_term:{success:"",failed:"_api-error_.",notification:""},charge_card_express_interest:{success:"Interest expressed successfully",failed:"_api-error_.",notification:""},save_task_detail:{success:"",failed:"_api-error_.",notification:""},fetch_task_detail:{success:"Task details fetched successfully.",failed:"_api-error_.",notification:""},delete_task:{success:"",failed:"_api-error_.",notification:""},archive_task:{success:"",failed:"_api-error_.",notification:""},snooze_task:{success:"Task snoozed until _snoozed_until_",failed:"_api-error_.",notification:""},unsnooze_task:{success:"Task unsnoozed",failed:"_api-error_.",notification:""},update_charge_card:{success:"",failed:"_api-error_.",notification:""},notification_settings_saved:{success:"Notification Settings Saved",failed:"_api-error_.",notification:""},referral_invite_sent:{success:"Referral Invite Sent",failed:"_api-error_.",notification:""},notification_mark_as_read:{success:"Notifications marked as read successfully.",failed:"Something went wrong! Please try again.",notification:""},settings_accounting_accounts_updated:{success:"Accounts saved",failed:"",notification:""},task_group_creation_success:{success:"Task group created successfully",failed:"Task group creation failed",notification:""},task_group_deletion_success:{success:"Task group deleted successfully",failed:"Task group deletion failed",notification:""},task_group_update_success:{success:"Task group updated successfully",failed:"Task group update failed",notification:""},primary_funding_account_updated:{success:"Bank account updated for _productType_.",failed:"",notification:""},task_time_spent_validation:{success:"",failed:"Time can't exceed 99h 59m",notification:""},missing_receipts_attachment:{success:"",failed:"Failed to upload attachment__message__ please try again!",notification:""},flux_analysis_reviewed:{success:"_vendors_count_ _vendor_ reviewed",failed:"_api-error_.",notification:""},flux_analysis_unreviewed:{success:"_vendors_count_ _vendor_ unreviewed",failed:"_api-error_.",notification:""},express_pay_submit:{success:"Payment scheduled",failed:"_api-error_.",notification:""},recon_transaction_categorize:{success:"Transaction reviewed",failed:"_api-error_.",notification:""},recon_transaction_match:{success:"Transaction matched",failed:"_api-error_.",notification:""},ai_cfo_create_session_and_submit:{success:"",failed:"Something went wrong, please try again!",notification:""},ai_cfo_chat_session_deleted:{success:"Chat session deleted successfully",failed:"_api-error_.",notification:""},treasury_setup:{success:"",failed:"Failed to load Treasury Setup Details! Please try again.",notification:""},treasury_accept_term:{success:"Treasury Terms accepted successfully.",failed:"Failed to accept terms. Please try again.",notification:""},treasury_transfer_money:{success:"Transfer initiated.",failed:"Transfer failed. Please try again.",notification:""},treasury_transfer_money_failed:{success:"",failed:"Transfer failed. Please try again.",notification:""},auto_transfer_rule_create:{success:"Auto transfer rule created successfully.",failed:"_api-error_.",notification:""},auto_transfer_rule_update:{success:"Auto transfer rule updated successfully.",failed:"_api-error_.",notification:""},auto_transfer_rule_delete:{success:"Rule deleted.",failed:"_api-error_.",notification:""},auto_transfer_rule_pause:{success:'Rule paused "__ruleName__"',failed:"_api-error_.",notification:""},auto_transfer_rule_resume:{success:'Rule resumed "__ruleName__"',failed:"_api-error_.",notification:""},treasury_update_portfolio_allocation:{success:"Portfolio allocation updated.",failed:"Portfolio allocation update failed. Please try again!",notification:""},reports_resync:{success:"",failed:"Something went wrong. Please try again.",notification:"No new data available."},invalid_phone_number:{success:"",failed:"Invalid phone number",notification:""},create_transfer_entry:{success:`Expense deleted.
273
+ _failed_count_ Transaction failed.`},people_invite_people:{success:"Invitation sent",failed:"",notification:""},people_invite_multiple_people:{success:"Users invited",failed:"",notification:""},people_update_person:{success:"User info changed",failed:"",notification:""},people_delete_person:{success:"User deleted",failed:"",notification:""},reimbursement_updated:{success:"Reimbursement saved",failed:"_api-error_.",notification:""},reimbursement_approved:{success:"Reimbursement approved",failed:"_api-error_.",notification:""},reimbursement_rejected:{success:"Reimbursement rejected",failed:"_api-error_.",notification:""},reimbursement_sent_for_approval:{success:"Reimbursement sent for approval",failed:"_api-error_.",notification:""},reimbursement_deleted:{success:"Reimbursement deleted",failed:"_api-error_.",notification:""},reimbursement_cancelled:{success:"Reimbursement canceled",failed:"_api-error_.",notification:""},reimbursement_cancelled_deleted:{success:"Reimbursement canceled and deleted",failed:"_api-error_.",notification:""},reimbursement_bulk_submit:{success:"_count_ _report_ will be _action_. You'll be notified once it's done.",failed:"_api-error_.",notification:""},reimbursement_bulk_processed:{success:"_report_ _has_ been _action_. The page will refresh now to reflect updates.",failed:"_api-error_.",notification:""},save_reconcile_for_later:{success:"Reconciliation saved",failed:"Reconciliation not saved. Please try again!",notification:""},reconcile:{success:"_reconcile_account_ reconciliation in progress.",failed:"Reconciliation failed for _reconcile_account_",notification:""},exclude_transaction:{success:"Transaction excluded",failed:"Transaction exclusion failed",notification:""},account_added:{success:"Account added successfully",failed:"",notification:""},issue_charge_card:{success:"New _card_ issued for _user-name_",failed:"",notification:""},issue_charge_cards:{success:"New cards issued",failed:"Couldn't create cards. _api-error_.",notification:""},charge_card_auto_pay_enable:{success:"Early payment enabled",failed:"",notification:""},charge_card_auto_pay_disable:{success:"Early payment disabled",failed:"",notification:""},business_verification_save:{success:"Business Verification Details saved successfully.",failed:"Couldn't save Business Verification Details. Please try again.",notification:""},business_verification_submit:{success:"Business Verification Details submitted successfully.",failed:"Couldn't submit Business Verification Details. Please try again.",notification:""},business_verification_from_bills_submit:{success:"Verified successfully.",failed:"Couldn't submit Business Verification Details. Please try again.",notification:""},plaid_connection:{success:"",failed:"Something went wrong! Please try again.",notification:""},bill_pay_setup:{success:"",failed:"Failed to load Bill Pay Setup Details! Please try again.",notification:""},zeni_accounts_setup:{success:"",failed:"Failed to load Zeni Accounts Setup Details! Please try again.",notification:""},bill_pay_approval_create:{success:"Approval Rule created successfully.",failed:"Couldn't create Approval Rule! Please try again.",notification:""},bill_pay_duplicate_approval_create:{success:"Approval Rule created successfully.",failed:"_api-error_",notification:""},bill_pay_approval_update:{success:"Approval Rule updated successfully.",failed:"Couldn't update Approval Rule! Please try again.",notification:""},update_zeni_account_nickname:{success:"Zeni Account nickname updated successfully",failed:"_api-error_.",notification:""},create_checking_account:{success:"New Business Account Added",failed:"_api-error_.",notification:""},deposit_check:{success:"Check Deposit Successful",failed:"_api-error_.",notification:""},bill_pay_duplicate_approval_update:{success:"Approval Rule updated successfully.",failed:"_api-error_",notification:""},bill_pay_approval_delete:{success:"Approval Rule deleted successfully.",failed:"Couldn't delete Approval Rule! Please try again.",notification:""},bill_pay_approval_reorder:{success:"Approval rules reordered.",failed:"Couldn't reorder Approval Rules. Please try again.",notification:""},reimbursement_setup:{success:"",failed:"Failed to load Reimbursements Setup Details! Please try again.",notification:""},reimbursement_approval_create:{success:"Approval Rule created successfully.",failed:"Couldn't create Approval Rule! Please try again.",notification:""},reimbursement_duplicate_approval_create:{success:"Approval Rule created successfully.",failed:"_api-error_",notification:""},reimbursement_approval_update:{success:"Approval Rule updated successfully.",failed:"Couldn't update Approval Rule! Please try again.",notification:""},reimbursement_duplicate_approval_update:{success:"Approval Rule updated successfully.",failed:"_api-error_",notification:""},reimbursement_approval_delete:{success:"Approval Rule deleted successfully.",failed:"Couldn't delete Approval Rule! Please try again.",notification:""},reimbursement_approval_reorder:{success:"Approval rules reordered.",failed:"Couldn't reorder Approval Rules. Please try again.",notification:""},reimbursement_create_mileage:{success:"Mileage rate added successfully.",failed:"_api-error_.",notification:""},reimbursement_update_mileage:{success:"Mileage rate updated successfully.",failed:"_api-error_.",notification:""},reimbursement_accept_term:{success:"",failed:"_api-error_.",notification:""},reimbursement_accept_employee_term:{success:"",failed:"_api-error_.",notification:""},cockpit_month_end_email_sent:{success:"Zeni Insights sent successfully for _company-name_.",failed:"",notification:""},cockpit_month_end_email_save:{success:"Zeni Insights saved successfully for _company-name_.",failed:"",notification:""},cockpit_month_end_email_attachment_upload:{success:"",failed:"Sorry, the file you uploaded is too large. Maximum file size allowed is 700KB",notification:""},audit_score_updated:{success:"Audit Score updated",failed:"",notification:""},create_bank_account_ach:{success:"ACH account added successfully.",failed:"",notification:""},unlink_deposit_account:{success:"",failed:"_api-error_.",notification:""},create_bank_account_wire:{success:"_wire-type_ wire account added successfully.",failed:"",notification:""},create_bank_account_international:{success:"_wire-type_ wire account added successfully.",failed:"",notification:""},bill_pay_updated:{success:"Bill saved",failed:"_api-error_.",notification:""},bill_pay_deleted:{success:"Bill deleted",failed:"_api-error_.",notification:""},bill_pay_bulk_submit:{success:"_count_ _bill_ will be _action_. You'll be notified once it's done.",failed:"_api-error_.",notification:""},bill_pay_bulk_processed:{success:"_bill_ _has_ been _action_. The page will refresh now to reflect updates.",failed:"_api-error_.",notification:""},bill_pay_cancelled_deleted:{success:"Bill canceled and deleted",failed:"_api-error_.",notification:""},bill_pay_cancelled:{success:"Bill canceled",failed:"_api-error_.",notification:""},bill_pay_approved:{success:"Bill approved",failed:"_api-error_.",notification:""},bill_pay_rejected:{success:"Bill rejected",failed:"_api-error_.",notification:""},bill_pay_sent_for_approval:{success:"Bill sent for approval",failed:"_api-error_.",notification:""},bill_pay_accept_term:{success:"",failed:"_api-error_.",notification:""},bill_pay_refund:{success:"Refund process initiated",failed:"_api-error_.",notification:""},bill_pay_retry:{success:"Payment retried",failed:"_api-error_.",notification:""},bill_pay_marked_as_paid:{success:"Bill marked as paid",failed:"_api-error_.",notification:""},update_vendor:{success:"Vendor updated successfully.",failed:"_api-error_.",notification:""},data_refresh_update:{success:"Data refreshed",failed:"_api-error_.",notification:""},delete_bank_account:{success:"Bank account deleted successfully.",failed:"_api-error_.",notification:""},update_debit_card_pin_attempt:{success:"PIN changed successfully",failed:"_api-error_.",notification:""},set_debit_card_pin:{success:"PIN set successfully",failed:"_api-error_.",notification:""},create_bank_account:{success:"",failed:"_api-error_.",notification:""},send_email_magic_link_to_user:{success:"",failed:"_api-error_.",notification:""},qbo_connection_already_linked:{success:"",failed:"This QuickBooks company is already connected to another active Zeni tenant.",notification:""},complete_profile_done:{success:"Profile details saved.",failed:"_api-error_.",notification:""},zeni_account_accept_term:{success:"",failed:"_api-error_.",notification:""},transfer_money:{success:"",failed:"_api-error_.",notification:""},create_vendor:{success:"Vendor created successfully.",failed:"_api-error_.",notification:""},onboarding_customer_view:{success:"Onboarding Business Details fetched successfully.",failed:"Couldn't fetch Onboarding Business Details. Please try again.",notification:""},onboarding_customer_view_complete:{success:"Onboarding status updated successfully.",failed:"Couldn't update Onboarding status. Please try again.",notification:""},onboarding_customer_identity_verification_save:{success:"Onboarding Identity Details saved successfully.",failed:"Couldn't save Onboarding Identity Details. Please try again.",notification:""},onboarding_customer_identity_verification_submit:{success:"Onboarding Identity Details submitted successfully.",failed:"Couldn't submit Onboarding Identity Details. Please try again.",notification:""},onboarding_customer_business_verification_save:{success:"Onboarding Business Details saved successfully.",failed:"Couldn't save Onboarding Business Details. Please try again.",notification:""},onboarding_customer_business_verification_submit:{success:"Onboarding Business Details submitted successfully.",failed:"Couldn't submit Onboarding Business Details. Please try again.",notification:""},retry_bank_account_connection:{success:"Bank account connection completed successfully.",failed:"Bank account connection failed.",notification:""},dashboard_invite_sent:{success:"Dashboard invite sent to _user-name_ for _company-name_ successfully.",failed:"Dashboard invite failed",notification:""},onboarding_info_saved:{success:"Saved successfully",failed:"Save failed",notification:""},approve_original_merchant:{success:'Review request for "_merchant_name_" is approved successfully.',failed:"_api-error_.",notification:""},approve_global_merchant:{success:'Review request for "_original_merchant_name_" to "_approved_merchant_name_" is approved successfully.',failed:"_api-error_.",notification:""},reject_global_merchant:{success:'Vendor "_merchant_name_" review rejected',failed:"_api-error_.",notification:""},create_global_merchant:{success:'Vendor "_global_merchant_name_" successfully added to global list.',failed:"_api-error_.",notification:""},fetch_global_merchant_no_recommendation:{success:'There are no recommendations for the name "_global_merchant_name_".',failed:"_api-error_.",notification:""},save_vendor_sent_for_review:{success:'Vendor "_vendor_name_" sent for the review.',failed:"_api-error_.",notification:""},save_vendor_renamed:{success:'Vendor "_old_vendor_name_" renamed to "_updated_vendor_name_."',failed:"_api-error_.",notification:""},save_vendor_marked_as_employee:{success:"Marked as employee",failed:"_api-error_.",notification:""},save_vendor_marked_as_local_contractor:{success:"Marked as local contractor",failed:"_api-error_.",notification:""},charge_card_setup:{success:"",failed:"Failed to load Cards Setup Details! Please try again.",notification:""},charge_card_receipt_upload:{success:"Card receipt uploaded",failed:"_api-error_.",notification:""},charge_card_resend_invite:{success:"Card invite resent",failed:"_api-error_.",notification:""},charge_card_revoke_invite:{success:"Card invite revoked",failed:"_api-error_.",notification:""},card_policy_created:{success:"New policy created",failed:"_api-error_.",notification:""},card_policy_updated:{success:"Policy updated",failed:"_api-error_.",notification:""},card_policy_deleted:{success:"Policy deleted",failed:"_api-error_.",notification:""},charge_card_update_limit:{success:"Card limit updated to _amount_",failed:"Limit updation failed with _api-error_.",notification:""},charge_cards_update_limit:{success:"Limit updated for _number_of_cards_",failed:"Limit updation failed with _api-error_.",notification:""},update_charge_card_name:{success:'Card _masked_card_number_ renamed to "_new_card_name_"',failed:"Card name updation failed with _api-error_.",notification:""},update_charge_card_name_card_user:{success:'Card renamed to "_new_card_name_"',failed:"Card name updation failed with _api-error_.",notification:""},lock_charge_card:{success:"Card _masked_card_number_ locked",failed:"Card lock failed with _api-error_.",notification:""},lock_charge_card_card_user:{success:"Card locked",failed:"Card lock failed with _api-error_.",notification:""},unlock_charge_card:{success:"Card _masked_card_number_ unlocked",failed:"Card unlock failed with _api-error_.",notification:""},unlock_charge_card_card_user:{success:"Card unlocked",failed:"Card unlock failed with _api-error_.",notification:""},close_charge_card:{success:"Card _masked_card_number_ closed",failed:"Card close failed with _api-error_.",notification:""},unlock_charge_cards:{success:"_number_of_cards_ unlocked",failed:"Cards unlock failed with _api-error_.",notification:""},lock_charge_cards:{success:"_number_of_cards_ locked",failed:"Cards lock failed with _api-error_.",notification:""},close_charge_cards:{success:"_number_of_cards_ closed",failed:"Cards close failed with _api-error_.",notification:""},revoke_invite_charge_cards:{success:"Invite revoked for _number_of_cards_",failed:"Invite revoke failed with _api-error_.",notification:""},create_schedule:{success:'Schedule created for "_vendor_name_"',failed:"Schedule creation failed with _api-error_.",notification:""},save_schedule:{success:'Schedule saved for "_vendor_name_"',failed:"Save schedule failed with _api-error_.",notification:""},je_posted:{success:"JE Posted",failed:"JE Posting failed with _api-error_.",notification:""},ignore_schedule:{success:"Schedule Ignored",failed:"Schedule Ignore failed with _api-error_.",notification:""},delete_schedule:{success:'Schedule deleted for "_vendor_name_"',failed:"Delete schedule failed with _api-error_.",notification:""},mark_as_complete_schedule:{success:'Schedule marked as completed for "_vendor_name_"',failed:"Mark as complete schedule failed with _api-error_.",notification:""},cancel_journal_entry:{success:"Accrual Canceled",failed:"Accrual Cancel failed with _api-error_.",notification:""},charge_card_accept_term:{success:"",failed:"_api-error_.",notification:""},charge_card_express_interest:{success:"Interest expressed successfully",failed:"_api-error_.",notification:""},save_task_detail:{success:"",failed:"_api-error_.",notification:""},fetch_task_detail:{success:"Task details fetched successfully.",failed:"_api-error_.",notification:""},delete_task:{success:"",failed:"_api-error_.",notification:""},archive_task:{success:"",failed:"_api-error_.",notification:""},snooze_task:{success:"Task snoozed until _snoozed_until_",failed:"_api-error_.",notification:""},unsnooze_task:{success:"Task unsnoozed",failed:"_api-error_.",notification:""},update_charge_card:{success:"",failed:"_api-error_.",notification:""},notification_settings_saved:{success:"Notification Settings Saved",failed:"_api-error_.",notification:""},referral_invite_sent:{success:"Referral Invite Sent",failed:"_api-error_.",notification:""},notification_mark_as_read:{success:"Notifications marked as read successfully.",failed:"Something went wrong! Please try again.",notification:""},settings_accounting_accounts_updated:{success:"Accounts saved",failed:"",notification:""},task_group_creation_success:{success:"Task group created successfully",failed:"Task group creation failed",notification:""},task_group_deletion_success:{success:"Task group deleted successfully",failed:"Task group deletion failed",notification:""},task_group_update_success:{success:"Task group updated successfully",failed:"Task group update failed",notification:""},primary_funding_account_updated:{success:"Bank account updated for _productType_.",failed:"",notification:""},task_time_spent_validation:{success:"",failed:"Time can't exceed 99h 59m",notification:""},missing_receipts_attachment:{success:"",failed:"Failed to upload attachment__message__ please try again!",notification:""},flux_analysis_reviewed:{success:"_vendors_count_ _vendor_ reviewed",failed:"_api-error_.",notification:""},flux_analysis_unreviewed:{success:"_vendors_count_ _vendor_ unreviewed",failed:"_api-error_.",notification:""},express_pay_submit:{success:"Payment scheduled",failed:"_api-error_.",notification:""},recon_transaction_categorize:{success:"Transaction reviewed",failed:"_api-error_.",notification:""},recon_transaction_match:{success:"Transaction matched",failed:"_api-error_.",notification:""},ai_cfo_create_session_and_submit:{success:"",failed:"Something went wrong, please try again!",notification:""},ai_cfo_chat_session_deleted:{success:"Chat session deleted successfully",failed:"_api-error_.",notification:""},treasury_setup:{success:"",failed:"Failed to load Treasury Setup Details! Please try again.",notification:""},treasury_accept_term:{success:"Treasury Terms accepted successfully.",failed:"Failed to accept terms. Please try again.",notification:""},treasury_transfer_money:{success:"Transfer initiated.",failed:"Transfer failed. Please try again.",notification:""},treasury_transfer_money_failed:{success:"",failed:"Transfer failed. Please try again.",notification:""},auto_transfer_rule_create:{success:"Auto transfer rule created successfully.",failed:"_api-error_.",notification:""},auto_transfer_rule_update:{success:"Auto transfer rule updated successfully.",failed:"_api-error_.",notification:""},auto_transfer_rule_delete:{success:"Rule deleted.",failed:"_api-error_.",notification:""},auto_transfer_rule_pause:{success:'Rule paused "__ruleName__"',failed:"_api-error_.",notification:""},auto_transfer_rule_resume:{success:'Rule resumed "__ruleName__"',failed:"_api-error_.",notification:""},treasury_update_portfolio_allocation:{success:"Portfolio allocation updated.",failed:"Portfolio allocation update failed. Please try again!",notification:""},reports_resync:{success:"",failed:"Something went wrong. Please try again.",notification:"No new data available."},invalid_phone_number:{success:"",failed:"Invalid phone number",notification:""},create_transfer_entry:{success:`Expense deleted.
274
274
  Transfer created.`,failed:"Unable to create transfer. Please try again.",notification:""},accounting_classes_enabled_update:{success:"Accounting Classes setting updated.",failed:"Couldn't update Accounting Classes setting. Please try again.",notification:""},capitalization_threshold_update:{success:"Capitalization threshold updated.",failed:"Couldn't update capitalization threshold. Please try again.",notification:""},account_excluded_from_reconciliation:{success:"_account-name_ excluded",failed:"Account exclusion failed",notification:""},account_included_in_reconciliation:{success:"_account-name_ included",failed:"Account inclusion failed",notification:""},statement_parsing_in_progress:{success:"_account_name_ parsing in progress",failed:"",notification:""},statement_parsing_complete:{success:"_account_name_ parsing complete. Review _transaction_count_ transactions",failed:"",notification:""},ai_accountant_trigger_job:{success:"AI Accountant job triggered",failed:"Couldn't trigger the job. __reason__",notification:""},credit_agent_update_profile:{success:"Card profile updated successfully.",failed:"Couldn't update card profile. Please try again.",notification:""},credit_agent_save_macro:{success:"Credit agent prompt saved.",failed:"Couldn't save prompt. Please try again.",notification:""},credit_agent_schedule_cron:{success:"Credit score analysis started.",failed:"Couldn't start analysis. Please try again.",notification:""},oauth_consent_approve:{success:"",failed:"OAuth authorization failed. __reason__",notification:""},oauth_consent_invalid_request:{success:"",failed:"Invalid OAuth request. __reason__",notification:""}},currency:{currencyCode:"USD",currencySymbol:"$",currency:"United States Dollar",countryCode:"US"},format:{ssnFormat:"###-##-####",tinFormat:"##-#######"},status:{pending:"Pending",reviewed:"Reviewed"},cancel:"Cancel",confirm:"Confirm",continue:"Continue",proceed:"Proceed",next:"Next",noText:"--",privacy:"Zeni Privacy Policy",terms:"Terms and Conditions",privacyPolicyUrl:"https://www.zeni.ai/legal/privacy-policy",termsUrl:"https://www.zeni.ai/legal/terms-of-service",footer:{approve:"Approve",reject:"Reject",resubmit:"Resubmit",continueAnyway:"Continue Anyway",resolve:"Resolve",inReview:"In Review",sentForReview:"Sent for Review",linkCard:"Link Card",markAsUnReviewed:"Mark as Unreviewed",markAsReviewed:"Mark as Reviewed",saveForLater:"Save for Later",reconcile:"Reconcile",noThanks:"No, Thanks",letsGetStarted:"Let's Get Started"},completeText:"Complete",incompleteText:"Incomplete",notInitiatedText:"Not Initiated",pendingReviewText:"Pending Review",pendingVerificationText:"Pending Verification",retry:"Retry",verified:"Verified",validation:{emailAddressRequired:"Email address required",invalidEmailAddress:"Invalid email address",invalidUrlAddress:"Invalid URL"},needHelp:{text:"Need Help",hoverPrefix:"Experiencing issues?",hoverSuffix:" Schedule a call"},confirmationPopup:{discardTitle:"Discard unsaved changes?",discardDescription:"Changes are not automatically saved. Your changes will be lost if you continue.",discard:"Discard"},via:"via",cockpit:"cockpit",analytics:"Analytics",filters:{noOptions:"No Options",noMatchesFound:"No Matches Found",userProfileAltText:"Failed to load",startDate:"Start Date",endDate:"End Date"},updated:"Updated",hoursAgo:"hours ago",minutesAgo:"a few minutes ago",noMatches:"Nothing matched your search. Please try again!",noReport:"No _item-name_ to display yet!",reloadPage:{label:"Something went wrong, please try again!"},settings:{title:{accounting:"Accounting",approvalRules:"Approval Rules",bankConnections:"Bank Connections",integrations:"Integrations",myProfile:"My Profile",myBankConnections:"My Bank Connections",notifications:"Notifications"},common:{productTypeString:"My Profile"},subtitle:{myProfile:"Profile Details",myBankConnections:"Reimbursements"},label:{primary:"Primary",billPay:"Bill Pay",reimbursements:"Reimbursements",bankAccount:"Bank Account",noManager:"No Manager",myProfile:"My Profile"},infoText:{accounting:"Quick access to manage the company's accounting-related settings",approvalRules:"Quick access to manage the multi-level approval rules for bills & reimbursements to make Zeni work better for you",businessVerification:"Financial regulations require Zeni to collect both identity & company details to verify your business",companyDetails:"Quick access to manage the company's detailed information"},bankConnectionHeader:{productType:"Products",primaryAccount:"Primary Account",linkAccount:"QBO Linked Account",status:"Status",balance:"Balance"},bankConnectionListHeader:{primary:"Primary",other:"Other Connections"},productNameByType:{bill_pay:"Bill Pay",reimbursement:"Reimbursements",zeni_accounts:"Checking",zeni_treasury:"Treasury",charge_cards:"Cards"},otherAccount:{subTitle:"Not assigned",subTitleSmall:"not assigned",remove:"Remove Connection"},notifications:{sectionTitle:{reminders:"Reminders",monthEndInsights:"Month-end Insights"},frequency:{biWeekly:"Bi-Weekly"},mode:{email:"Email",dashboard:"Dashboard"},reminders:{missingReceiptNotification:"Receipts:",uncategorizedTransactionNotification:"Uncategorized Transactions:",pendingBillApprovalNotification:"Bill Approvals:",pendingReimbursementApprovalNotification:"Reimbursement Approvals:"},monthEndInsights:{labels:{notifyMe:"Notify Me:",notifyOthers:"Notify Others:"},userFieldPlaceholder:"Who should receive this email?",stopReceivingEmailsText:"To stop receiving this email, reach out to",stopReceivingMonthEndInsightsSubject:"Stop Month End Insights"},reminderFrequencyOptions:[{label:"Daily",value:"daily"},{label:"Weekly",value:"weekly"},{label:"Bi-weekly",value:"bi-weekly"},{label:"Monthly",value:"monthly"}]},integrations:{title:"Integrations",aiAgents:{accountant:{name:"AI Accountant",tagline:"Day-to-day books",description:"Runs your books continuously — categorizes transactions, reconciles bank and card feeds, drafts journal entries, and manages AP/AR aging without manual intervention.",tags:["Auto categorization","Reconciliation","Receipt matching","Journal entries","Bill drafting","AP/AR aging","Flux analysis"]},cfo:{name:"AI CFO",tagline:"Strategic finance",description:"Answers any financial question in real time — builds forecasts, surfaces weekly and monthly insights, analyzes vendor exposure, and tracks collections and cash position.",tags:["Any financial question","Forecasting","Monthly insights","Spend analysis","Vendor exposure","Collections"]}},progress:{headlineTemplate:"{connected} of {total} areas connected — your AI agents are running at {coverage}% coverage",description:"{total} areas need attention. Each connection unlocks new AI capabilities — the more you connect, the less manual work for your team.",completeSuffix:"complete"},tabs:{ledger:{title:"Ledger",pillTitle:"Ledger",description:"Connect your ledger and watch your AI team go to work."},banks:{title:"Banks and corporate cards",pillTitle:"Banks and cards",description:"Connect any accounts you have access to."},revenue:{title:"Revenue and payments",pillTitle:"Revenue & payments",description:"Connect any tools you use — mix and match as needed."},payroll:{title:"Payroll and HR",pillTitle:"Payroll and HR",description:"People costs and headcount intelligence."},email:{title:"Email and calendar",pillTitle:"Email and calendar",description:"Financial context that lives outside your ledger."}},badges:{connected:"Connected",notConnected:"Not Connected",comingSoon:"Coming Soon",active:"Active",inactive:"Inactive"},aiCapabilityHeader:{heading:"What your AI Agents can see",subheadingConnected:"{{areasConnected}} connected — connect more areas to unlock full AI capability.",subheadingEmpty:"Connect any area to unlock AI capabilities.",footnote:"Connect what you use — you do not need all five areas for AI Agents to deliver value."},recommended:{first:"Recommended first",second:"Recommended second",third:"Recommended third",fourth:"Recommended fourth",fallback:"Recommended next"},aiBenefits:{ledger:{accountant:"AI Accountant runs your books continuously, no manual work.",cfo:"AI CFO grounds every answer in your live general ledger."},banks:{accountant:"AI Accountant does faster close through automatic reconciliation.",cfo:"AI CFO answers with real time precision."},revenue:{accountant:"AI Accountant drafts revenue JEs and matches invoices automatically.",cfo:"AI CFO tracks MRR, churn, and ARR in real time."},payroll:{accountant:"AI Accountant handles payroll journal entries automatically.",cfo:"AI CFO tracks headcount cost in real time."},email:{accountant:"AI Accountant handles every emailed receipt, invoice, and itinerary.",cfo:"AI CFO catches commitments and gaps before the close.",accountantBullets:[{iconKey:"receipt-email",text:"Receipts matched and auto-drafted JEs"},{iconKey:"calendar",text:"Calendar context on every expense"},{iconKey:"bills",text:"Vendor invoices ingested and journalized"},{iconKey:"reimbursements",text:"Travel expenses built automatically"}],cfoBullets:[{iconKey:"notification",text:"Subscription renewal radar"},{iconKey:"search",text:"Pre close gap detection"}]},unlocksAccountantCta:"What it unlocks for AI Accountant",unlocksCfoCta:"What it unlocks for AI CFO",unlocksCombinedCta:"What it unlocks for AI Accountant + AI CFO"},plaidCard:{title:"Bank accounts and credit cards",subtitle:"Connected via Plaid — covers checking, savings, and all major credit cards.",worksWithLabel:"Works with",worksWithInstitutions:["Chase","Wells Fargo","Bank of America","Amex","Citi","Capital One","+12,000 more"],accountMaskSuffix:" · Connected via Plaid",addAccountButton:"Add account or card",loadingState:"Loading your bank accounts…",emptyStateNotConnected:"Connect your first bank account to get started.",connectButton:"Connect via Plaid"},corporateSpend:{heading:"Corporate spend platforms",subtitle:"Native direct connections — richer than Plaid because receipts are already matched, spend is pre-categorized, and employee analytics are included.",directConnectionNote:"Direct connection — not via Plaid"},emailCard:{title:"Connect your inbox and calendar",subtitle:"Read only — receipts and invoices only — nothing stored."},actions:{connect:"Connect",disconnect:"Disconnect",notifyMe:"Notify Me",notifyMeQueued:"We'll notify you",reconnect:"Reconnect"},disconnectDialog:{title:"Disconnect {connectorName}",description:"Are you sure you want to disconnect {connectorName}? Zeni will no longer be able to query your {connectorName} data through AI CFO chat. You can reconnect at any time.",disconnecting:"Disconnecting..."},comingSoonFooter:"Coming soon",cards:{quickbooks:{name:"QuickBooks Online",description:"Read and write ledger of record. Invoices, expenses, GL, chart of accounts, journal entries.",capability:"Activates AI Accountant auto categorization, reconciliation, and the full journal entry engine — gives AI CFO its financial foundation for every answer and forecast.",footerText:"Takes about 2 mins"},netsuite:{name:"NetSuite",description:"Enterprise ERP — multi entity consolidation, advanced revenue recognition, GL across subsidiaries.",capability:"Enables both AI Agents to operate across subsidiaries with consolidated close and multi entity reporting.",footerText:"For multi-entity companies"},plaid:{name:"Plaid",description:"Bank account connections — cash balances, real-time transactions, statement-level history.",capability:"Feeds AI Accountant the daily cash and card activity that powers reconciliation, missing-receipt detection, and live balance views for AI CFO.",footerText:"Takes about 1 min"},brex:{name:"Brex",description:"Corporate card and spend management — real time transactions, receipts, spend controls, and employee analytics.",capability:"AI Accountant gets receipt data already attached and spend categorized at source — significantly higher reconciliation accuracy than a bank feed alone.",footerText:"Coming soon"},ramp:{name:"Ramp",description:"Corporate card and spend management — real time transactions, receipt matching, vendor management, and savings insights.",capability:"AI Accountant accesses Ramp's already categorized spend and matched receipts — fewer corrections, cleaner journal entries, faster close.",footerText:"Coming soon"},chargebee:{name:"Chargebee",description:"Subscription analytics — MRR, ARR, churn, active subscriptions.",capability:"AI Accountant handles subscription revenue journal entries each month — AI CFO gains full ARR waterfall for churn analysis and forecasting.",footerText:"Takes about 1 min",dialog:{title:"Connect ChargeBee",description:"Enter your ChargeBee site and API key to connect. You can find your API key in ChargeBee under Settings › Configure ChargeBee › API Keys.",siteLabel:"Site / Subdomain",sitePlaceholder:"your-site",siteHintPrefix:"The subdomain of your ChargeBee URL: ",siteHintFallback:"your-site",siteHintSuffix:".chargebee.com",apiKeyLabel:"API Key",apiKeyPlaceholder:"Enter your API key",readOnlyRecommendation:"We recommend using a read-only API key — Zeni only needs read access to your subscription data. In ChargeBee, select “Read-Only Key” when creating the key."}},stripe:{name:"Stripe",description:"Payment processing — charges, refunds, payouts, disputes, MRR.",capability:"AI Accountant reconciles every payment and handles all related journal entries — AI CFO tracks real time MRR and payment trends.",footerText:"Takes about 1 min",dialog:{title:"Connect Stripe",description:"Enter a Stripe restricted API key. Create one in Stripe under Developers › API keys › Create restricted key. Grant read-only access to Charges, Refunds, Disputes, Payouts, and Balance.",apiKeyLabel:"Restricted API Key",apiKeyPlaceholder:"rk_live_...",readOnlyRecommendation:"We recommend a restricted key with read-only scopes only — Zeni never needs write access to your Stripe account."}},mercury:{name:"Mercury",description:"Business banking — account balances, transactions, statements.",capability:"Feeds AI Accountant daily Mercury cash and card activity for reconciliation and gives AI CFO live cash balances across accounts.",footerText:"Takes about 1 min",dialog:{title:"Connect Mercury",description:"Enter a Mercury API token. Create one in Mercury under Settings › Tokens & API › New token. Grant read-only access to Accounts and Transactions.",apiKeyLabel:"API Token",apiKeyPlaceholder:"secret-token-...",readOnlyRecommendation:"We recommend a read-only token — Zeni never needs write access to your Mercury accounts."}},paypal:{name:"PayPal",description:"Online payments — balance, transaction history, payouts.",capability:"Lets AI CFO see PayPal collected revenue, refunds, and payouts alongside Stripe and bank cash.",footerText:"Takes about 2 mins",dialog:{title:"Connect PayPal",description:"Enter your PayPal REST API client ID and secret. Create them in the PayPal Developer dashboard under Apps & Credentials › Live › Create App. Enable Transaction Search, Invoicing, Subscriptions, and Disputes Read on the app.",clientIdLabel:"Client ID",clientIdPlaceholder:"AeA1...",clientSecretLabel:"Secret",clientSecretPlaceholder:"Enter your client secret",readOnlyRecommendation:"Zeni only needs read access to your PayPal data — leave write features (e.g. Payments) disabled on the app you create."}},hubspot:{name:"HubSpot",description:"CRM and sales pipeline — deals, contacts, close rates, forecasting.",capability:"AI CFO connects pipeline to actuals for precise revenue forecasts and close rate analysis.",footerText:"Takes about 2 mins"},billDotCom:{name:"Bill.com",description:"AP and AR workflows — vendor bills, customer invoices, payments, approvals.",capability:"AI Accountant drafts bills, handles all AP and AR journal entries, and tracks aging — AI CFO surfaces vendor insights and cash flow forecasts.",footerText:"Coming soon"},gusto:{name:"Gusto",description:"Payroll, benefits, contractor pay — runs, taxes, and headcount.",capability:"Gives AI Accountant payroll-aware journal entries and lets AI CFO break down compensation by team and role.",footerText:"Coming soon"},rippling:{name:"Rippling",description:"HRIS, payroll, and IT — unified people data.",capability:"Lets AI CFO trace headcount, role, and comp changes through the financial picture — no manual spreadsheets.",footerText:"Coming soon"},moreProviders:{name:"More providers",description:"ADP, Paychex, Justworks and others — tell us what you use.",requestButtonLabel:"Request"},gmail:{name:"Gmail",description:"Email context — invoice attachments, vendor threads, payment confirmations.",capability:"Feeds AI Accountant the supporting docs sitting in inbox threads — receipts, bills, and payment confirmations land in the ledger automatically.",footerText:"Coming soon"},outlook:{name:"Microsoft 365",description:"Outlook — Exchange — Microsoft Calendar",capability:"AI Accountant reads receipt emails to match transactions and determine the right accounting treatment, then drafts the correct journal entry without anyone asking.",footerText:"Coming soon"}},connectorTooltips:{accountantSectionLabel:"AI Accountant",cfoSectionLabel:"AI CFO",quickbooks:{heading:"What you unlock by connecting QuickBooks",accountantBullets:["Auto-categorizes every transaction into your chart of accounts.","Reconciles bank, card, and ledger lines end-to-end.","Drafts the journal entries that close your books."],cfoBullets:["Grounds every forecast and answer in your live ledger.","Powers cash, burn, and runway in the dashboard."]},netsuite:{heading:"What you will unlock by connecting NetSuite",accountantBullets:["Consolidates close across every subsidiary in your structure.","Drafts multi-entity GL with intercompany eliminations.","Handles advanced revenue recognition schedules."],cfoBullets:["Rolls cash, burn, and runway up across all subsidiaries.","Forecasts respect entity-level transfer pricing and FX."]},plaid:{heading:"What you unlock by connecting banks & cards",accountantBullets:["Live bank and card feeds give AI Accountant everything it needs to automatically reconcile every transaction the moment it lands.","No waiting for exports, no manual matching at month end.","Each account connected means more transactions reconciled automatically and a close that takes days instead of weeks."],cfoBullets:["Every connected account gives AI CFO live cash position, accurate burn rate, and runway answers based on what is actually in the bank right now and not last month's close.","The richer your data, the more precise every answer becomes."]},brex:{heading:"What you unlock by connecting Brex",accountantBullets:["Receipts arrive pre-attached — no chasing employees at month end.","Spend is categorized at source, with merchant and policy context.","Reconciliation accuracy lifts significantly vs. a bank feed alone."],cfoBullets:["Burn drilldowns by department, employee, and vendor.","Live policy-violation flags surface in the cash review."]},ramp:{heading:"What you unlock by connecting Ramp",accountantBullets:["Matched receipts and pre-categorized spend arrive ready to post.","Vendor management context cleans up duplicates and renames.","Fewer corrections in the close — journal entries land cleaner."],cfoBullets:["Vendor-level spend forecasts with renewal and contract dates.","Savings insights flow into the runway model automatically."]},mercury:{heading:"What you unlock by connecting Mercury",accountantBullets:["Direct Mercury feed gives AI Accountant transaction details without Plaid latency.","Wires, ACH, and card spend reconcile against the ledger automatically."],cfoBullets:["Live operating cash, runway, and reserve balances in the dashboard.","Treasury yield surfaces in cash position views."]},stripe:{heading:"What you unlock by connecting Stripe",accountantBullets:["Reconciles every charge, refund, payout, and dispute end-to-end.","Posts the fee and Stripe-balance journal entries for you.","Handles foreign-currency settlements and FX gain/loss."],cfoBullets:["Live MRR and payment-trend telemetry in the dashboard.","Dispute and refund signal feeds churn and risk forecasts."]},paypal:{heading:"What you unlock by connecting PayPal",accountantBullets:["PayPal sales, refunds, and fees post to the ledger automatically.","Multi-currency conversions are matched and journaled per ASC 830."],cfoBullets:["PayPal-driven revenue and refunds flow into MRR and churn metrics.","Held-funds visibility in the cash position view."]},hubspot:{heading:"What you unlock by connecting Hubspot",accountantBullets:[],cfoBullets:["Live MRR and payment-trend telemetry in the dashboard.","Dispute and refund signal feeds churn and risk forecasts."]},chargebee:{heading:"What you unlock by connecting Chargebee",accountantBullets:["Monthly subscription revenue journal entries posted automatically.","Deferred revenue + accrual schedules drafted from your billing data.","Refunds, credits, and proration handled per ASC 606."],cfoBullets:["Full ARR waterfall — new, expansion, contraction, churn.","Cohort churn and forecast scenarios in the dashboard."]},billDotCom:{heading:"What you unlock by connecting Bill.com",accountantBullets:["Monthly subscription revenue journal entries posted automatically.","Deferred revenue + accrual schedules drafted from your billing data.","Refunds, credits, and proration handled per ASC 606."],cfoBullets:["Full ARR waterfall — new, expansion, contraction, churn.","Cohort churn and forecast scenarios in the dashboard."]},gusto:{heading:"What you unlock by connecting Gusto",accountantBullets:["Every pay run drafts journal entries across salaries, benefits, taxes, and contractor payments.","Tax filings and benefits accruals land in the ledger every period."],cfoBullets:["Fully-loaded cost per head by department, live.","Headcount spend vs. budget answers without spreadsheets."]},rippling:{heading:"What you unlock by connecting Rippling",accountantBullets:["Payroll, benefits, and contractor payments post journal entries automatically.","Stock-comp and equity events flow into the ledger as configured."],cfoBullets:["Fully-loaded comp visibility by department, role, and location.","Headcount-driven runway scenarios update in real time."]},gmail:{heading:"What you unlock by connecting Gmail",accountantBullets:["Receipts to JEs — reads receipt emails, matches them to transactions, drafts the journal entry.","Calendar context cross-checks client, event, and business purpose on every expense.","Invoice attachments are detected, parsed into Bills, and journaled on arrival.","Travel reports are built automatically from flight and hotel confirmations."],cfoBullets:["Renewal radar surfaces upcoming renewals and pricing changes before charges hit.","Pre-close gap scan catches unreconciled invoices and receipts before month end."]},outlook:{heading:"What you unlock by connecting Outlook",accountantBullets:["Reads receipt emails to match transactions and draft the right journal entry.","Detects invoice attachments and posts them straight into AP.","Builds travel reports from flight and hotel confirmations."],cfoBullets:["Renewal radar surfaces upcoming renewals and pricing changes before charges hit.","Pre-close gap scan catches unreconciled invoices and receipts before month end."]}},areaTooltips:{accountantSectionLabel:"AI Accountant",cfoSectionLabel:"AI CFO",ledger:{heading:"What you unlock by connecting your ledger",accountantBullets:["Categorizes every transaction into your chart of accounts.","Reconciles bank, card, and GL lines and drafts journal entries."],cfoBullets:["Grounds every forecast and answer in your live ledger.","Powers cash, burn, and runway in the dashboard."]},banks:{heading:"What you unlock by connecting banks & cards",accountantBullets:["Live bank and card feeds give AI Accountant everything it needs to automatically reconcile every transaction the moment it lands. No waiting for exports, no manual matching at month end. Each account connected means more transactions reconciled automatically and a close that takes days instead of weeks."],cfoBullets:["Every connected account gives AI CFO live cash position, accurate burn rate, and runway answers based on what is actually in the bank right now and not last month's close. The richer your data, the more precise every answer becomes."]},revenue:{heading:"What you unlock by connecting revenue & payments",accountantBullets:["Charges, refunds, payouts, and disputes reconcile end-to-end.","Subscription billing posts revenue and deferred-revenue schedules per ASC 606."],cfoBullets:["Full ARR waterfall — new, expansion, contraction, churn.","Live MRR and payment-trend telemetry in the dashboard."]},payroll:{heading:"What you unlock by connecting payroll & HR tools",accountantBullets:["Every pay run generates journal entries across salaries, benefits, taxes, and contractor payments. AI Accountant reads your payroll data and automatically drafts, schedules, and maintains all of these every period — so your books reflect payroll costs accurately without anyone entering a line item."],cfoBullets:['With payroll connected, AI CFO can answer "what is our fully loaded cost per head by department?" and "how does headcount spend compare to budget?" with live data and not a spreadsheet someone pulled last week.']},email:{heading:"What you unlock by connecting email & calendar tools",accountantBullets:[{title:"Receipts to JEs",body:"Reads receipt emails, matches them to transactions, drafts the right journal entry."},{title:"Calendar",body:"When a receipt arrives, cross-checks your calendar to prefill client, event, and business purpose on every expense."},{title:"Invoices auto-posted",body:"Detects invoice attachments, parses them into Bills, and posts the journal entry on arrival right away."},{title:"Travel reports built",body:"Reconciles flight and hotel confirmations to build full travel reports — name, dates, purpose prefilled."}],cfoBullets:[{title:"Renewal radar",body:"Surfaces renewal and pricing-change emails before charges hit your card."},{title:"Pre-close gap scan",body:"Scans for unreconciled invoices and receipts before month end — gaps land pre-close, not after."}]}}}},copyToClipBoard:{copied:"Copied"},aiAgentsActivatingPage:{navTitle:"AI Agents are activating",stepCounter:"Step {current} of {total}",sidebar:{connectLedger:"Connect Ledger",connectLedgerSubtitle:"Quickbooks or Netsuite",connectDataSource:"Connect data source",connectDataSourceSubtitle:"Bank, revenue, payroll and more...",setUpBilling:"Set up billing",setUpBillingSubtitle:"Your zeni subscription",verify:"Verify",verifyTag:"Optional",verifySubtitle:"Unlock your finance stack"},ledgerSection:{title:"QBO connected. Your AI team is reading your books.",subtitle:"Your finance graph and personalized AI models are being built. Here's what's happening right now.",readyInLabel:"Will be ready in 2 hrs",workingPillLabel:"Working",buildingPillLabel:"Building",readingCountsSubtitle:"Reading __transactionCount__ transactions and __glAccountCount__ GL accounts.",rows:[{title:"Reading chart of accounts and transactions",subtitle:"Reading your chart of accounts and transactions."},{title:"Building your company's finance graph",subtitle:"Finance graph built — vendors, accounts, and cash flow patterns mapped."},{title:"Configuring reconciliation and flux analysis",subtitle:"Reconciliation engine configured and flux analysis running."},{title:"AI CFO financial foundation established",subtitle:"AI CFO financial foundation established — ready to answer questions."}]},backgroundSection:{title:"Deeper AI work running in the background",subtitle:"No action required!",readyInLabel:"Will be ready in 2-4 hrs",buildingPillLabel:"Building",startingPillLabel:"Starting",rows:[{title:"Fine-tuning LLM models for {tenantName}",subtitle:"Personalizing to your vendors, accounts, and transaction patterns — informed by 1,000+ Zeni customers and $20B in transactions."},{title:"Configuring RAG-based financial knowledge graph",subtitle:"Building a retrieval layer over your entire financial history — directly improves AI Accountant's transaction categorization accuracy."},{title:"Creating personalized financial context for {tenantName}",subtitle:"Your AI Agents will know your industry, seasonality, vendor relationships, and close patterns before you ask a single question."}]},footerButtonLabel:"Continue to connect more sources"},monthsByIndex:{1:"January",2:"February",3:"March",4:"April",5:"May",6:"June",7:"July",8:"August",9:"September",10:"October",11:"November",12:"December"},oauthConsent:{invalidRequestTitle:"Invalid Authorization Request",authorizeTitle:"Authorize __clientName__",accessSubtitle:"wants to access your Zeni financial data.",signedOutHeadlineSuffix:"wants to access your Zeni financial data",signInToContinue:"Sign in to continue",signIn:"Sign In",signedInAs:"Signed in as __email__",permissionsLabel:"This will allow __clientName__ to:",permissionReadFinancials:"Read your financial data and reports",permissionAccessTransactions:"Access transaction and account information",permissionQueryAi:"Query your Zeni AI assistant on your behalf",selectCompany:"Select a company",company:"Company",allow:"Allow",deny:"Deny",validityNotice:"Authorization is valid for 1 year."}},download:{errorMessages:{unsupportedFileType:"Unsupported Filetype",fileDownloadError:"Download __feature__ Failed with"},defaultFileName:"Report.xlsx"},balanceCard:{cashBalanceSectionTitle:"Total Cash Balance",cardBalanceSectionTitle:"Total Card Balance",comparedTo:"compared to",noBalanceText:"No balance data to display yet!"},insightsCard:{vs:"vs",title:"Insights",askSomethingElse:"Ask something else?",no_data:{label:"Cash, Opex, Revenue, COS, and Cash In Cash Out Insights, will appear once you have sufficient financial activity. Stay tuned! 💸"}},timeframe:{day:"Days",month:"Months",quarter:"Quarters",year:"Years",week:"Weeks",free_range:"Time period",this_week_to_date:"This Week",last_week:"Last Week",this_month_to_date:"This Month",last_month:"Last Month",last_3_months:"Last 3 Months",last_6_months:"Last 6 Months",last_12_months:"Last 12 Months",this_year_to_date:"This Year",last_year:"Last Year"},quarterPrefix:"Q",compareSwitchLabel:"Compare",compareMode:{off:"Off",compare_mode_percent:"Percentage",compare_mode_amount:"Amount",changePercent:"Change %",changePrefix:"Change"},chartCard:{total:"Total",activity:"Activity",no_data_available:"No data available!",no_data_available_for:"No data available for",tooltip:{actual:"Actual",forecast:"Forecast",change:"Change",change_percent:"Change %"},forecast_dropdown:{forecast_source:"Via Quickbooks",forecast_invalid_issue:"This period is not in the time frame of the actuals. Please view it via the Forecast tab."},netBurnOrIncome:{grossBurn:"Gross Burn",netBurnOrIncome:"Net Income / Burn",gross_burn:"Gross Burn",cogs:"COS",net_burn_or_income:"Net Income / Burn",income:"Revenue",expenses:"OPEX",net_burn:"Net Burn",net_income:"Net Income",no_data_available:"A minimum of one-month data is required!",cogs_forecast:"Forecast",net_burn_or_income_forecast:"Forecast",income_forecast:"Forecast",expenses_forecast:"Forecast"},netBurnOrIncomeCalculator:{title:"Burn Rate Calculator",accounting_method:{label:"Configure Burn Rate, Runway, and Cash Zero date based on below options:",cash:"Cash Flow from Operating Activities",ebitda:"EBITDA",net_income:"Net Income"},time_span_id_for_average:{label:"Further configure Burn Rate, Runway, and Cash Zero date based on below options:",last_month:"Last month",last_completed_month:"Last completed month",average_of_last_2_months:"Average of last 2 completed months",average_of_last_3_months:"Average of last 3 completed months",under_review_last_month_label:"(Including Under Review)"}},revenue:{income:"Revenue",cogs:"COS",gross_margin:"Gross Margin",grossMargin:"Gross Margin",income_forecast:"Forecast",cogs_forecast:"Forecast",gross_margin_forecast:"Forecast",grossMargin_forecast:"Forecast"},cashInCashOut:{cash_in:"Cash In",cash_out:"Cash Out",net_cash_flow:"Net Cash Flow"},no_data:{revenue:"No revenues to display yet, but thrift is a great revenue. Fight On!🤘",cash_in_cash_out:"No cash in cash out to display yet!",cash_position:"No cash position to display yet!",net_burn_or_income:"No net burn to display yet!",operating_expenses:"No operating expenses to display yet!",top_expenses:{this_week_to_date:"No expenses this week 🤷",last_week:"No expenses last week 🤷",this_month_to_date:"No expenses this month 🤷",last_month:"No expenses last month 🤷",last_3_months:"No expenses last 3 months 🤷",last_6_months:"No expenses last 6 months 🤷",last_12_months:"No expenses last 12 months 🤷",this_year_to_date:"No expenses this year 🤷",last_year:"No expenses last year 🤷"},aging_report:"No data to display yet!"}},drawerMenus:{home:"Home",dashboard:"Dashboard",cockpit:"Cockpit",reports:"Reports",people:"People",users_and_roles:"Users & Roles",forecast:"Forecast",cards:"Cards",bills:"Bills",ai_automation:"AI Bookkeeping",storybooks:"Storybooks",settings:"Settings",logout:"Logout",reimbursements:"Reimbursements",checking:"Checking",vendors:"Vendors",rewards:"Rewards",accounting:"Accounting",approval_rules:"Approval Rules",billing:"Billing",bank_connections:"Bank Connections",business_verification:"Business Verification",company_details:"Company Details",company_settings:"Company Settings",integrations:"Integrations",my_profile:"My Profile",my_bank_connections:"My Bank Connections",notifications:"Notifications",performance:"AI Accountant",ai_cfo:"AI CFO",new_chat:"New Chat",explore:"Explore",search_chats:"Search Chats",treasury:"Treasury",command_center:"AI Close",task_checklist:"Task Checklist",transaction_categorization:"Transactions",je_schedules:"JE Schedules",missing_receipts:"Receipts",flux_analysis:"Flux Analysis",reconciliation:"Reconciliations"},drawerMenuSubtitles:{rewards:"Earn up to __reward-amount__ per referral"},drawerGroups:{finance:"Finance",cash:"Cash",spend_management:"Spend Management",accounts_payable:"Accounts Payable",ai_intelligence:"AI Intelligence",close_management:"Your AI Agents",banking:"Banking",administration:"Administration",company:"Company",company_settings:"Company Settings",personal_settings:"Personal Settings",ai_bookkeeping:"AI Bookkeeping",ai_cfo:"",ai_agents:"AI Agents"},drawerTags:{new:"NEW"},dashboardDropDownList:{menuOption:{logout:{label:"Logout",value:"logout"},my_profile:{label:"My Profile",value:"my_profile"},referrals:{label:"Referrals",value:"referrals",referralSubText:{earn:"Earn up to __reward-amount__",suffix:" for every new company you refer to Zeni"}},cockpit:{label:"Cockpit",value:"cockpit"}}},transactionItem:{date:"Date",account:"Account"},transactionType:{invoice:"Invoice",creditMemo:"Credit Memo",salesReceipt:"Sales Receipt",refund:"Refund",expense:"Expense",check:"Check",bill:"Bill",billPayment:"Bill Payment",transfer:"Transfer",vendorCredit:"Vendor Credit",creditCardCredit:"Credit Card Credit",deposit:"Deposit",creditCardPayment:"Credit Card Payment",journalEntry:"Journal Entry",payment:"Payment"},signIn:{heading:"Welcome to Zeni",confirmationLinkSent:"Sign-in link sent",message:"Your financial dashboard is just one step away. Get started.",autoLogoutHeading:"You've been logged out",autoLogoutMessagePrefix:"For your security, this session expired after ",autoLogoutMessageSuffix:" of inactivity.",signInSecurelyMessage:"Choose an account to sign in securely",signInGoogleButton:"Sign In With Google",signInMicrosoftButton:"Sign In With Microsoft",termsPrivacyFinePrintPart:"By creating an account on Zeni, you confirm that you ",agreeWith:"agree with our ",termsOfService:"terms of service",and:"and",privacyPolicy:"privacy policy",termsUrl:"https://www.zeni.ai/terms",privacyPolicyUrl:"https://www.zeni.ai/privacy-policy",signInError:`Couldn’t sign-in to your account.
275
275
  Please try again.`,signInAuthError:`Authorization failed, and sign-in is restricted.
276
276
  Please try and authorize again.`,emailNotFoundPopup:{title:`If an account exists for this email,
@@ -9317,7 +9317,7 @@ Initiate your first transfer to start earning yield.`,insuredFundsTooltip:"Secur
9317
9317
  padding-top: ${e=>Bp.ButtonContainerPaddingTop.valuePx(e.windowSize)};
9318
9318
  `,nNn=l.div``,oNn=l((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"}))))`
9319
9319
  transform: scale(1, 0.9);
9320
- `,iNn=l(sl)``,JDe="application/pdf",O5t=["image/jpg","image/jpeg","image/png","image/webp","image/bmp"],rNn={useWebWorker:!0,maxWidthOrHeight:1920,initialQuality:.92,maxSizeMB:2};async function aNn(e,n,o){const r=e.getViewport({scale:n}),a=document.createElement("canvas");a.width=Math.floor(r.width),a.height=Math.floor(r.height);const s=a.getContext("2d");if(s==null)throw new Error("Could not get canvas 2d context");return await e.render({canvasContext:s,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)}))})(a,o)).arrayBuffer()}async function lNn(e,n){const o=e instanceof File?e:new File([e],n,{type:e.type});if(e.type===JDe){const a=await(async function(s,c){const[{PDFDocument:d},u]=await Promise.all([Xc((()=>import("./pdf-lib-HRxxOoqR.js").then((b=>b.i))),__vite__mapDeps([0,1,2])),Xc((()=>import("./pdf-DTyc8UuT.js").then((b=>b.i))),__vite__mapDeps([0,1,2])).then((b=>b.pdfjs))]),p=await s.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 aNn(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:JDe,lastModified:s.lastModified})})(o,n);return a.size<o.size?{blob:a,name:a.name}:{blob:e,name:n}}const r=await(async(a,s)=>{if(O5t.includes(a.type)===!1)return a;const c=await wd(a,rNn),d=c.type.split("/")[1],u=`${s.replace(/\.[^.]+$/,"")||"image"}.${d}`;return new File([c],u,{lastModified:a.lastModified,type:c.type})})(o,n);return{blob:r,name:r.name}}const sNn=({fileType:e="file",fileRef:n,name:o,value:r="",multiple:a=!1,acceptableTypes:s,onFileSizeError:c,onImageChange:d})=>t.jsx("input",{type:e,ref:n,name:o,value:r,size:1e3,"data-testid":G("input-file-element-mobile",o),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:`${(s??"image/jpg, image/jpeg").toString()}`,multiple:a,capture:!0}),pB=({shouldDisplay:e,width:n=30,height:o=30,styles:r,animationInLoop:a=!1})=>{const[,s]=z0e(G3t),[c]=yr("MoneyTransferSuccess");return L.useEffect((()=>{e&&s(!0)}),[e,s]),e&&c!=null?t.jsx(rl,{style:{width:n,height:o,...r},play:!0,animationData:c,loop:a,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null},Ime=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"}));mst.workerSrc=`//cdnjs.cloudflare.com/ajax/libs/pdf.js/${hst}/pdf.worker.mjs`;const cNn=K.getLocalizedStrings().common,XDe=(e,n)=>e.variant==="deleted"?"deleted":e.variant==="excluded"?"excluded":n!=null&&e.statementTransactionId===n?"hovered":e.variant??"default",eLe=(e,n)=>n==null?void 0:e.find((o=>o.statementTransactionId===n))?.page,dNn=(e,n,o="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:o,block:"center"});const a=e.getBoundingClientRect(),s=r.getBoundingClientRect(),c=r.scrollTop+(a.top-s.top)-(r.clientHeight-a.height)/2;r.scrollTo({top:Math.max(0,c),behavior:o})};function tLe(e){const n=e.map((r=>r.x)),o=e.map((r=>r.y));return{maxX:Math.max(...n),maxY:Math.max(...o),minX:Math.min(...n),minY:Math.min(...o)}}function FL(e){const[n,o]=m.useState(0),[r,a]=m.useState(null),s=pe(),c=m.useRef(null),d=m.useRef(null),u=e.highlightedCitations!=null&&e.highlightedCitations.length>0&&e.onCitationHover!=null,p=K.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail,h=m.useCallback((()=>{if(e.highlightedCitations==null||e.highlightedCitations.length===0)return;const f=eLe(e.highlightedCitations,e.hoveredStatementTransactionId);if(f==null)return;const x=d.current?.querySelector(`[data-testid="pdf-page-${f}"]`);if(x!=null){const y=d.current,b=y!=null&&y.scrollHeight>y.clientHeight?y:null;dNn(x,b)}}),[e.highlightedCitations,e.hoveredStatementTransactionId]);m.useEffect((()=>{if(e.highlightedCitations==null||e.highlightedCitations.length===0)return;h();const f=requestAnimationFrame(h),x=window.setTimeout(h,150);return()=>{cancelAnimationFrame(f),window.clearTimeout(x)}}),[e.highlightedCitations,e.hoveredStatementTransactionId,n,h]),m.useEffect((()=>{a(null),o(0)}),[e.fileUrl]);const g=f=>{if(!e.highlightedCitations)return null;const x=e.highlightedCitations.filter((b=>b.page===f));if(x.length===0)return null;const y=e.isFullScreen?1.5:1;return t.jsx(nLe,{children:x.flatMap(((b,w)=>{const C=(function(v,A){const{minX:k,maxX:$,minY:j,maxY:E}=tLe(v);return{height:(E-j)*A,left:k*A,top:j*A,width:($-k)*A}})(b.polygon,y);return t.jsx(oLe,{$interactive:u,$variant:XDe(b,e.hoveredStatementTransactionId),style:{height:`${C.height}px`,left:`${C.left}px`,top:`${C.top}px`,width:`${C.width}px`},onMouseEnter:()=>{b.variant!=="excluded"&&e.onCitationHover?.(b.statementTransactionId)},onMouseLeave:()=>{b.variant!=="excluded"&&e.onCitationHover?.(void 0)}},`${w}`)}))})};return t.jsxs(t.Fragment,{children:[t.jsx(Lp,{fileRef:c,name:"invoice",onFileChange:f=>{if(f.target.files!=null){const x=f.target.files[0];e.onUploadAttachment?.([x],[x.name])}},multiple:e.allowMultiFiles,sizeLimit:pb,onFileSizeError:f=>e.openSizeLimitPopup?.(f)}),t.jsx(uNn,{maxHeight:e.maxHeight??!1,onClick:()=>e.setShowFullScreenView(!0),windowSize:s,"data-testid":G("attachment-container",e.pdfTitle),children:t.jsxs(pNn,{isFullScreen:e.isFullScreen,ref:d,children:[e.showTitlebar===!0?t.jsxs(hNn,{children:[t.jsx(mNn,{children:e.pdfTitle}),e.showTitlebarIcon===!0?t.jsxs(gNn,{className:"actionIcons",children:[e.showReplaceIcon!==!1?t.jsx(Ke,{enterDelay:600,display:"flex",title:p.replace,placement:"top-end",children:t.jsx(fNn,{"data-testid":G("replace-attachment",e.pdfTitle),onClick:f=>{f.stopPropagation(),c.current?.click()}})}):null,s==="small"?t.jsx(yNn,{"data-testid":e.deleteAttachmentDataTestId!=null?`${e.deleteAttachmentDataTestId}-mobile`:G("delete-attachment-mobile",e.pdfTitle),onClick:f=>{f.stopPropagation(),e.onDeleteClick?.()}}):t.jsx(Ke,{enterDelay:600,display:"flex",title:cNn.delete,placement:"top",children:t.jsx(xNn,{onClick:f=>{f.stopPropagation(),e.onDeleteClick?.()},"data-testid":e.deleteAttachmentDataTestId??G("delete-attachment",e.pdfTitle)})})]}):null]}):null,(()=>{const f=e.fileUrl.toLowerCase();return[".jpg",".jpeg",".png",".gif",".webp",".bmp"].some((x=>f.includes(x)))})()?t.jsx(ANn,{children:t.jsxs(SNn,{children:[t.jsx(kNn,{src:e.fileUrl,alt:e.pdfTitle,onLoad:f=>{const x=f.currentTarget;a({width:x.naturalWidth,height:x.naturalHeight})}},e.fileUrl),(()=>{if(!e.highlightedCitations||r==null)return null;const f=e.highlightedCitations.filter((x=>x.page===1));return f.length===0?null:t.jsx(nLe,{children:f.flatMap(((x,y)=>{const b=(function(w,C,v){const{minX:A,maxX:k,minY:$,maxY:j}=tLe(w);return{height:(j-$)/v*100,left:A/C*100,top:$/v*100,width:(k-A)/C*100}})(x.polygon,x.pageWidth,x.pageHeight);return t.jsx(oLe,{$interactive:u,$variant:XDe(x,e.hoveredStatementTransactionId),style:{height:`${b.height}%`,left:`${b.left}%`,top:`${b.top}%`,width:`${b.width}%`},onMouseEnter:()=>{x.variant!=="excluded"&&e.onCitationHover?.(x.statementTransactionId)},onMouseLeave:()=>{x.variant!=="excluded"&&e.onCitationHover?.(void 0)}},`${y}`)}))})})()]})}):t.jsxs(pse,{file:e.fileUrl,onLoadSuccess:({numPages:f})=>o(f),onLoadError:()=>o(0),loading:t.jsx(CNn,{children:t.jsx(Pn,{size:"ExtraLarge",start:!0})}),className:"pdfDoc",children:[Array.from(new Array(n),((f,x)=>t.jsx(Yn,{onClickAway:()=>e.onCrossClick?.(),children:t.jsxs(bNn,{windowSize:s,isFullScreen:e.isFullScreen,$interactiveHighlights:u,children:[t.jsxs(vNn,{"data-testid":`pdf-page-${x+1}`,children:[t.jsx(hse,{pageNumber:x+1,className:"reactPdfPage",scale:e.isFullScreen?1.5:1,error:t.jsx("div",{}),onRenderSuccess:()=>{(e.highlightedCitations!=null?eLe(e.highlightedCitations,e.hoveredStatementTransactionId):void 0)===x+1&&h()}},`page_${x+1}`),g(x+1)]}),n!=x+1?t.jsx(wNn,{}):null]})},`page_${x+1}`))),t.jsx("div",{})]},e.fileUrl)]})})]})}const uNn=l.div`
9320
+ `,iNn=l(sl)``,JDe="application/pdf",O5t=["image/jpg","image/jpeg","image/png","image/webp","image/bmp"],rNn={useWebWorker:!0,maxWidthOrHeight:1920,initialQuality:.92,maxSizeMB:2};async function aNn(e,n,o){const r=e.getViewport({scale:n}),a=document.createElement("canvas");a.width=Math.floor(r.width),a.height=Math.floor(r.height);const s=a.getContext("2d");if(s==null)throw new Error("Could not get canvas 2d context");return await e.render({canvasContext:s,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)}))})(a,o)).arrayBuffer()}async function lNn(e,n){const o=e instanceof File?e:new File([e],n,{type:e.type});if(e.type===JDe){const a=await(async function(s,c){const[{PDFDocument:d},u]=await Promise.all([Xc((()=>import("./pdf-lib-Dhic7kAC.js").then((b=>b.i))),__vite__mapDeps([0,1,2])),Xc((()=>import("./pdf-BJ608N2P.js").then((b=>b.i))),__vite__mapDeps([0,1,2])).then((b=>b.pdfjs))]),p=await s.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 aNn(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:JDe,lastModified:s.lastModified})})(o,n);return a.size<o.size?{blob:a,name:a.name}:{blob:e,name:n}}const r=await(async(a,s)=>{if(O5t.includes(a.type)===!1)return a;const c=await wd(a,rNn),d=c.type.split("/")[1],u=`${s.replace(/\.[^.]+$/,"")||"image"}.${d}`;return new File([c],u,{lastModified:a.lastModified,type:c.type})})(o,n);return{blob:r,name:r.name}}const sNn=({fileType:e="file",fileRef:n,name:o,value:r="",multiple:a=!1,acceptableTypes:s,onFileSizeError:c,onImageChange:d})=>t.jsx("input",{type:e,ref:n,name:o,value:r,size:1e3,"data-testid":G("input-file-element-mobile",o),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:`${(s??"image/jpg, image/jpeg").toString()}`,multiple:a,capture:!0}),pB=({shouldDisplay:e,width:n=30,height:o=30,styles:r,animationInLoop:a=!1})=>{const[,s]=z0e(G3t),[c]=yr("MoneyTransferSuccess");return L.useEffect((()=>{e&&s(!0)}),[e,s]),e&&c!=null?t.jsx(rl,{style:{width:n,height:o,...r},play:!0,animationData:c,loop:a,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null},Ime=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"}));mst.workerSrc=`//cdnjs.cloudflare.com/ajax/libs/pdf.js/${hst}/pdf.worker.mjs`;const cNn=K.getLocalizedStrings().common,XDe=(e,n)=>e.variant==="deleted"?"deleted":e.variant==="excluded"?"excluded":n!=null&&e.statementTransactionId===n?"hovered":e.variant??"default",eLe=(e,n)=>n==null?void 0:e.find((o=>o.statementTransactionId===n))?.page,dNn=(e,n,o="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:o,block:"center"});const a=e.getBoundingClientRect(),s=r.getBoundingClientRect(),c=r.scrollTop+(a.top-s.top)-(r.clientHeight-a.height)/2;r.scrollTo({top:Math.max(0,c),behavior:o})};function tLe(e){const n=e.map((r=>r.x)),o=e.map((r=>r.y));return{maxX:Math.max(...n),maxY:Math.max(...o),minX:Math.min(...n),minY:Math.min(...o)}}function FL(e){const[n,o]=m.useState(0),[r,a]=m.useState(null),s=pe(),c=m.useRef(null),d=m.useRef(null),u=e.highlightedCitations!=null&&e.highlightedCitations.length>0&&e.onCitationHover!=null,p=K.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail,h=m.useCallback((()=>{if(e.highlightedCitations==null||e.highlightedCitations.length===0)return;const f=eLe(e.highlightedCitations,e.hoveredStatementTransactionId);if(f==null)return;const x=d.current?.querySelector(`[data-testid="pdf-page-${f}"]`);if(x!=null){const y=d.current,b=y!=null&&y.scrollHeight>y.clientHeight?y:null;dNn(x,b)}}),[e.highlightedCitations,e.hoveredStatementTransactionId]);m.useEffect((()=>{if(e.highlightedCitations==null||e.highlightedCitations.length===0)return;h();const f=requestAnimationFrame(h),x=window.setTimeout(h,150);return()=>{cancelAnimationFrame(f),window.clearTimeout(x)}}),[e.highlightedCitations,e.hoveredStatementTransactionId,n,h]),m.useEffect((()=>{a(null),o(0)}),[e.fileUrl]);const g=f=>{if(!e.highlightedCitations)return null;const x=e.highlightedCitations.filter((b=>b.page===f));if(x.length===0)return null;const y=e.isFullScreen?1.5:1;return t.jsx(nLe,{children:x.flatMap(((b,w)=>{const C=(function(v,A){const{minX:k,maxX:$,minY:j,maxY:E}=tLe(v);return{height:(E-j)*A,left:k*A,top:j*A,width:($-k)*A}})(b.polygon,y);return t.jsx(oLe,{$interactive:u,$variant:XDe(b,e.hoveredStatementTransactionId),style:{height:`${C.height}px`,left:`${C.left}px`,top:`${C.top}px`,width:`${C.width}px`},onMouseEnter:()=>{b.variant!=="excluded"&&e.onCitationHover?.(b.statementTransactionId)},onMouseLeave:()=>{b.variant!=="excluded"&&e.onCitationHover?.(void 0)}},`${w}`)}))})};return t.jsxs(t.Fragment,{children:[t.jsx(Lp,{fileRef:c,name:"invoice",onFileChange:f=>{if(f.target.files!=null){const x=f.target.files[0];e.onUploadAttachment?.([x],[x.name])}},multiple:e.allowMultiFiles,sizeLimit:pb,onFileSizeError:f=>e.openSizeLimitPopup?.(f)}),t.jsx(uNn,{maxHeight:e.maxHeight??!1,onClick:()=>e.setShowFullScreenView(!0),windowSize:s,"data-testid":G("attachment-container",e.pdfTitle),children:t.jsxs(pNn,{isFullScreen:e.isFullScreen,ref:d,children:[e.showTitlebar===!0?t.jsxs(hNn,{children:[t.jsx(mNn,{children:e.pdfTitle}),e.showTitlebarIcon===!0?t.jsxs(gNn,{className:"actionIcons",children:[e.showReplaceIcon!==!1?t.jsx(Ke,{enterDelay:600,display:"flex",title:p.replace,placement:"top-end",children:t.jsx(fNn,{"data-testid":G("replace-attachment",e.pdfTitle),onClick:f=>{f.stopPropagation(),c.current?.click()}})}):null,s==="small"?t.jsx(yNn,{"data-testid":e.deleteAttachmentDataTestId!=null?`${e.deleteAttachmentDataTestId}-mobile`:G("delete-attachment-mobile",e.pdfTitle),onClick:f=>{f.stopPropagation(),e.onDeleteClick?.()}}):t.jsx(Ke,{enterDelay:600,display:"flex",title:cNn.delete,placement:"top",children:t.jsx(xNn,{onClick:f=>{f.stopPropagation(),e.onDeleteClick?.()},"data-testid":e.deleteAttachmentDataTestId??G("delete-attachment",e.pdfTitle)})})]}):null]}):null,(()=>{const f=e.fileUrl.toLowerCase();return[".jpg",".jpeg",".png",".gif",".webp",".bmp"].some((x=>f.includes(x)))})()?t.jsx(ANn,{children:t.jsxs(SNn,{children:[t.jsx(kNn,{src:e.fileUrl,alt:e.pdfTitle,onLoad:f=>{const x=f.currentTarget;a({width:x.naturalWidth,height:x.naturalHeight})}},e.fileUrl),(()=>{if(!e.highlightedCitations||r==null)return null;const f=e.highlightedCitations.filter((x=>x.page===1));return f.length===0?null:t.jsx(nLe,{children:f.flatMap(((x,y)=>{const b=(function(w,C,v){const{minX:A,maxX:k,minY:$,maxY:j}=tLe(w);return{height:(j-$)/v*100,left:A/C*100,top:$/v*100,width:(k-A)/C*100}})(x.polygon,x.pageWidth,x.pageHeight);return t.jsx(oLe,{$interactive:u,$variant:XDe(x,e.hoveredStatementTransactionId),style:{height:`${b.height}%`,left:`${b.left}%`,top:`${b.top}%`,width:`${b.width}%`},onMouseEnter:()=>{x.variant!=="excluded"&&e.onCitationHover?.(x.statementTransactionId)},onMouseLeave:()=>{x.variant!=="excluded"&&e.onCitationHover?.(void 0)}},`${y}`)}))})})()]})}):t.jsxs(pse,{file:e.fileUrl,onLoadSuccess:({numPages:f})=>o(f),onLoadError:()=>o(0),loading:t.jsx(CNn,{children:t.jsx(Pn,{size:"ExtraLarge",start:!0})}),className:"pdfDoc",children:[Array.from(new Array(n),((f,x)=>t.jsx(Yn,{onClickAway:()=>e.onCrossClick?.(),children:t.jsxs(bNn,{windowSize:s,isFullScreen:e.isFullScreen,$interactiveHighlights:u,children:[t.jsxs(vNn,{"data-testid":`pdf-page-${x+1}`,children:[t.jsx(hse,{pageNumber:x+1,className:"reactPdfPage",scale:e.isFullScreen?1.5:1,error:t.jsx("div",{}),onRenderSuccess:()=>{(e.highlightedCitations!=null?eLe(e.highlightedCitations,e.hoveredStatementTransactionId):void 0)===x+1&&h()}},`page_${x+1}`),g(x+1)]}),n!=x+1?t.jsx(wNn,{}):null]})},`page_${x+1}`))),t.jsx("div",{})]},e.fileUrl)]})})]})}const uNn=l.div`
9321
9321
  max-height: ${e=>e.maxHeight===!0?"650px":"auto"};
9322
9322
  display: flex;
9323
9323
  flex-direction: column;
@@ -22867,7 +22867,7 @@ to {
22867
22867
  ${({isMenuVisible:e})=>e===!1?De`
22868
22868
  display: none;
22869
22869
  `:null};
22870
- `,b2e=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)"})))),OMe=m.lazy((()=>Xc((()=>import("./index-B3J9WxT7.js")),__vite__mapDeps([3,0,1,2]))));function w2e({src:e,autoPlay:n=!0,config:o,controls:r=!0,height:a="100%",isModalOpen:s,loop:c=!1,muted:d=!1,showPlayButton:u=!1,style:p,thumbnail:h,width:g="100%",onEnded:f,onModalClose:x,onPlay:y}){const b=pe(),[w,C]=m.useState(!1);m.useEffect((()=>{s===!0&&n?C(!0):s===!1&&C(!1)}),[s,n]);const v={};o?.youtube&&(v.youtube=o.youtube);const A=()=>{C(!1),f?.(),s!=null&&x?.()},k=()=>{C(!0),y?.()};return s!=null?s?Fr.createPortal(t.jsx(mfo,{windowSize:b,role:"presentation",children:t.jsx(Yn,{onClickAway:()=>{C(!1),x?.()},children:t.jsx(gfo,{windowSize:b,"data-testid":"video-player-modal",children:t.jsxs(ffo,{children:[u&&!w&&t.jsxs(t.Fragment,{children:[h!=null&&h!==""&&t.jsx(hfo,{src:h,alt:"Video thumbnail"}),t.jsx(ufo,{onClick:()=>{C(!0),y?.()},children:t.jsx(pfo,{windowSize:b})})]}),(!u||w)&&t.jsx(m.Suspense,{fallback:t.jsx("div",{style:{width:"100%",height:"100%"}}),children:t.jsx(OMe,{src:e,playing:w,controls:r,muted:d,loop:c,width:"100%",height:"100%",onEnded:A,onPlay:k,config:v})})]})})})}),document.body):null:t.jsx(m.Suspense,{fallback:t.jsx("div",{style:{width:g,height:a,...p}}),children:t.jsx(OMe,{src:e,playing:w,controls:r,muted:d,loop:c,width:g,height:a,style:p,light:!(!u||w)&&(h??!0),onEnded:A,onPlay:k,config:v})})}const dfo=Nn`
22870
+ `,b2e=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)"})))),OMe=m.lazy((()=>Xc((()=>import("./index-CwCXBsVA.js")),__vite__mapDeps([3,0,1,2]))));function w2e({src:e,autoPlay:n=!0,config:o,controls:r=!0,height:a="100%",isModalOpen:s,loop:c=!1,muted:d=!1,showPlayButton:u=!1,style:p,thumbnail:h,width:g="100%",onEnded:f,onModalClose:x,onPlay:y}){const b=pe(),[w,C]=m.useState(!1);m.useEffect((()=>{s===!0&&n?C(!0):s===!1&&C(!1)}),[s,n]);const v={};o?.youtube&&(v.youtube=o.youtube);const A=()=>{C(!1),f?.(),s!=null&&x?.()},k=()=>{C(!0),y?.()};return s!=null?s?Fr.createPortal(t.jsx(mfo,{windowSize:b,role:"presentation",children:t.jsx(Yn,{onClickAway:()=>{C(!1),x?.()},children:t.jsx(gfo,{windowSize:b,"data-testid":"video-player-modal",children:t.jsxs(ffo,{children:[u&&!w&&t.jsxs(t.Fragment,{children:[h!=null&&h!==""&&t.jsx(hfo,{src:h,alt:"Video thumbnail"}),t.jsx(ufo,{onClick:()=>{C(!0),y?.()},children:t.jsx(pfo,{windowSize:b})})]}),(!u||w)&&t.jsx(m.Suspense,{fallback:t.jsx("div",{style:{width:"100%",height:"100%"}}),children:t.jsx(OMe,{src:e,playing:w,controls:r,muted:d,loop:c,width:"100%",height:"100%",onEnded:A,onPlay:k,config:v})})]})})})}),document.body):null:t.jsx(m.Suspense,{fallback:t.jsx("div",{style:{width:g,height:a,...p}}),children:t.jsx(OMe,{src:e,playing:w,controls:r,muted:d,loop:c,width:g,height:a,style:p,light:!(!u||w)&&(h??!0),onEnded:A,onPlay:k,config:v})})}const dfo=Nn`
22871
22871
  0% {
22872
22872
  transform: rotate(0deg);
22873
22873
  }
@@ -77396,7 +77396,7 @@ ${zv.gap.expectedStartDate(u)}.`:f.description,y=p===!0||d!=null;return t.jsx(jo
77396
77396
  width: 18px;
77397
77397
  height: 18px;
77398
77398
  color: ${e=>e.theme.colors.champion};
77399
- `,xFr=new Set([".jpg",".jpeg",".png",".gif",".webp",".bmp"]);async function yFr(e){if(e==null)return;if((function(o){if(o.contentType?.toLowerCase()?.startsWith("image/")===!0)return!0;const r=o.extension?.toLowerCase();return r!=null&&xFr.has(r)})(e))return 1;if(!(function(o){return o.contentType?.toLowerCase()==="application/pdf"||o.extension?.toLowerCase()===".pdf"})(e))return;const n=e.signedUrl.trim();if(n!=="")try{const o=await fetch(n);return o.ok?(await(await Xc((()=>import("./pdf-DTyc8UuT.js").then((r=>r.i))),__vite__mapDeps([0,1,2])).then((r=>r.pdfjs))).getDocument({data:new Uint8Array(await o.arrayBuffer())}).promise).numPages:void 0}catch{return}}function bFr(e){if(e==null||e.signedUrl==null)return;const n=String(e.signedUrl).trim();if(n==="")return;const o=e.extension??(function(r){if(r==null)return;const a=r.lastIndexOf(".");if(a!==-1)return r.slice(a).toLowerCase()})("fileName"in e?e.fileName:void 0);return{signedUrl:n,contentType:e.contentType,extension:o}}function Qia(e){const n=e.accountReconEntity.account.accountName??"",o=e.parsedStatementData?.statementUpload.account.last4Digits;return(function(r,a){const s=r.trim();return a!=null&&a!==""?`"${s} ${a}"`:`"${s}"`})(n,o)}function Yia(e){return e.parsedStatementData?.statementUpload.statementTransactions.length??0}function aD(e){return e.parsedStatementData?.statementUpload.statementMeta.statementUploadId??e.accountReconEntity.statementMetaData?.statementUploadId??""}function sL(e,n){const o=aD(e),r=e.accountReconEntity.statementMetaData?.statementUploadId??"",a=o!==""&&(n===""||o===n||o===r||n===r);return e.parsedStatementData!=null&&a&&e.statementParseStatus.fetchState==="Completed"}function EEt(e,n,o=""){const r=e.statementProcessingBackgroundCompletedSteps??0,a=e.statementProcessingStartedAtMs,s=e.statementProcessingTotalDurationSeconds;return a==null||s==null?r:(function({startedAtMs:c,totalDurationSeconds:d,totalSteps:u,isParsedDataReady:p,minSteps:h=0}){if(u<=0)return h;if(p)return Math.max(h,u);const g=Math.max(u-1,1),f=Math.max(d,1),x=Math.max(0,Math.floor((Date.now()-c)/1e3)),y=Math.max(1,Math.min(g,Math.ceil(x/f*u)));return Math.max(h,y)})({startedAtMs:a,totalDurationSeconds:s,totalSteps:n,isParsedDataReady:sL(e,o),minSteps:r})}function Tot(e,n,o,r=""){const a=e.statementProcessingBackgroundCompletedSteps??0,s=e.accountReconEntity.statementMetaData?.file!=null;return n===!0?{isActive:!1,showParseInfo:!1,uploadComplete:s,completedSteps:EEt(e,o,r)}:sL(e,r)?{isActive:!0,showParseInfo:!0,uploadComplete:!0,completedSteps:o}:(function(c){return c.statementParseInProgress===!0||c.statementUploadStatus.fetchState==="In-Progress"||c.statementParseStatus.fetchState==="In-Progress"||c.reparseStatementStatus.fetchState==="In-Progress"})(e)&&s?{isActive:!0,showParseInfo:!1,uploadComplete:!0,completedSteps:Math.max(a,1)}:{isActive:!1,showParseInfo:!1,uploadComplete:s,completedSteps:a}}const P9="statement-processing-page";function wFr(){const[e]=yr("AiStar");return t.jsx(Y0,{$slotSize:i.sp4,children:e!=null?t.jsx(qk,{animationData:e,play:!0,loop:!0,slotSize:i.sp4}):t.jsx(EFr,{})})}function CFr({isUploadComplete:e,_storyCompletedSteps:n,_storyPageCount:o,isParsedDataReady:r,statementFile:a,onCancel:s,onContinueInBackground:c,onAllStepsComplete:d,onCompletedStepsChange:u}){const p=K.getLocalizedStrings().expenseAutomation.accountRecon.statementProcessing,h=K.getLocalizedStrings().common,g=p.cancelConfirmation,f=p.steps.length,x=Math.max(f-1,0),[y,b]=m.useState(n??0),[w,C]=m.useState((()=>f===0?0:(n??0)/f*100)),v=a?.signedUrl?.trim()??"",[A,k]=m.useState(o),[$,j]=m.useState(o!=null),[E,I]=m.useState(null),[D,F]=m.useState(0),[z,O]=m.useState(!1),H=m.useRef(null),_=m.useRef(!1);m.useEffect((()=>{if(o!=null)return k(o),void j(!0);if(v==="")return k(void 0),void j(!1);let q=!1;return j(!1),yFr({signedUrl:v,contentType:a?.contentType,extension:a?.extension}).then((Z=>{q||(k(Z),j(!0))})),()=>{q=!0}}),[o,v,a?.contentType,a?.extension]),m.useEffect((()=>{I(null)}),[v]),m.useEffect((()=>{!$||E!=null||I((function(q){return q==null||q<=0?125:q<=2?65:q<=4?120:q<=8?160:q<=12?190:200})(A))}),[$,E,A]);const M=E??125,R=1e3*M,B=Math.floor(R/Math.max(f-1,1));m.useEffect((()=>{if(!e)return H.current=null,_.current=!1,F(0),void I(null);if(!_.current){const J=Math.max(n??0,y,1),oe=M*(Math.min(J,f)/Math.max(f,1));H.current=Date.now()-1e3*oe,_.current=!0}const q=()=>{H.current!=null&&F(Math.floor((Date.now()-H.current)/1e3))};q();const Z=setInterval(q,5e3);return()=>clearInterval(Z)}),[e,M,f,n,y]);const V=E!=null?Math.max(0,E-D):0,N=E!=null?(function(q,Z,J){return Z?null:q<=0?{label:J.takingLongerThanExpected,showClock:!1}:q<60?{label:J.timeRemainingSeconds(q),showClock:!0}:{label:J.timeRemainingMinutes(Math.ceil(q/60)),showClock:!0}})(V,y>=f,p):null;m.useEffect((()=>{u?.(y)}),[y,u]),m.useEffect((()=>{n!=null&&n>y&&b(n)}),[n,y]),m.useEffect((()=>{e&&y===0&&b(1)}),[e,y]),m.useEffect((()=>{if(y===0||y>=f||r!==!0&&y>=x)return;const q=setTimeout((()=>{b((Z=>Z+1))}),r===!0?300:B);return()=>clearTimeout(q)}),[y,r,x,B,f]),m.useEffect((()=>{if(y!==f||d==null)return;const q=setTimeout(d,1e3);return()=>clearTimeout(q)}),[y,d,f]),m.useEffect((()=>{if(f===0)return void C(0);const q=y/f*100;if(y===0)return void C(0);if(y>=f)return void C(100);if(r!==!0&&y>=x)return void C(q);const Z=(y+1)/f*100,J=r===!0?300:B,oe=performance.now();let ee=0;const ne=re=>{const ae=Math.min((re-oe)/J,1);C(q+(Z-q)*ae),ae<1&&(ee=requestAnimationFrame(ne))};return ee=requestAnimationFrame(ne),()=>cancelAnimationFrame(ee)}),[y,r,x,B,f]);const Y=Math.min(100,Math.round(w)),U=y>=f?f-1:Math.min(y,p.stepSubtitles.length-1),Q=p.stepSubtitles[U];return t.jsxs(t.Fragment,{children:[t.jsxs(vFr,{"data-testid":G(P9,"container"),children:[t.jsxs(SFr,{"data-testid":G(P9,"header"),children:[t.jsxs(kFr,{children:[t.jsxs(jFr,{children:[t.jsxs($Fr,{children:[t.jsx(wFr,{}),t.jsx(IFr,{children:p.headerTitle})]}),N!=null?t.jsxs(LFr,{"data-testid":G(P9,"time-remaining"),children:[N.showClock?t.jsx(TFr,{}):null,t.jsx(BFr,{children:N.label})]}):null]}),t.jsx(DFr,{children:Q})]}),t.jsxs(PFr,{children:[t.jsxs(MFr,{children:[t.jsx(OFr,{children:p.stepProgressLabel(y,f)}),t.jsx(zFr,{children:`${Y}%`})]}),t.jsx(FFr,{children:t.jsx(RFr,{style:{width:`${w}%`}})})]})]}),t.jsx(AFr,{"data-testid":G(P9,"steps"),children:p.steps.map(((q,Z)=>{const J=Z+1,oe=J<=y,ee=J===y+1,ne=Z===p.steps.length-1;return t.jsxs(NFr,{"data-testid":G(P9,`step-${J}`),children:[t.jsxs(_Fr,{children:[t.jsx(HFr,{$isDone:oe,$isInProgress:ee,children:J}),ne?null:t.jsx(VFr,{$isDone:oe})]}),t.jsx(GFr,{children:q}),t.jsx(qFr,{children:oe?t.jsx(UFr,{}):ee?t.jsxs(WFr,{children:[t.jsx(YFr,{}),t.jsx(QFr,{children:p.working})]}):null})]},J)}))})]}),t.jsx(Xn,{formId:P9,showCancel:!0,cancelBtn:{label:h.cancel,onClick:()=>O(!0),style:{width:"195px"}},primaryBtn:{label:p.continueInBackground,onClick:()=>{const q=H.current??Date.now();c({completedSteps:y,startedAtMs:q,totalDurationSeconds:M})},variant:"secondary",style:{width:"195px"}}}),z?t.jsx(jo,{formId:G(P9,"cancel-confirmation"),shouldClickAway:!1,containerStyle:{width:416,maxWidth:416},titleComponent:t.jsx(Qo,{children:g.heading}),descriptionComponent:t.jsx(Ko,{children:g.description}),secondaryButtonText:g.discard,secondaryButtonVariant:"destructive",proceedButtonVariant:"secondary",primaryButtonText:g.continueParsing,primaryButtonWidth:152,secondaryButtonWidth:152,buttonSeparatorStyle:{width:i.sp3},action:{onCancelClick:()=>{O(!1),s()},onOkClick:()=>O(!1)}}):null]})}const vFr=l.div`
77399
+ `,xFr=new Set([".jpg",".jpeg",".png",".gif",".webp",".bmp"]);async function yFr(e){if(e==null)return;if((function(o){if(o.contentType?.toLowerCase()?.startsWith("image/")===!0)return!0;const r=o.extension?.toLowerCase();return r!=null&&xFr.has(r)})(e))return 1;if(!(function(o){return o.contentType?.toLowerCase()==="application/pdf"||o.extension?.toLowerCase()===".pdf"})(e))return;const n=e.signedUrl.trim();if(n!=="")try{const o=await fetch(n);return o.ok?(await(await Xc((()=>import("./pdf-BJ608N2P.js").then((r=>r.i))),__vite__mapDeps([0,1,2])).then((r=>r.pdfjs))).getDocument({data:new Uint8Array(await o.arrayBuffer())}).promise).numPages:void 0}catch{return}}function bFr(e){if(e==null||e.signedUrl==null)return;const n=String(e.signedUrl).trim();if(n==="")return;const o=e.extension??(function(r){if(r==null)return;const a=r.lastIndexOf(".");if(a!==-1)return r.slice(a).toLowerCase()})("fileName"in e?e.fileName:void 0);return{signedUrl:n,contentType:e.contentType,extension:o}}function Qia(e){const n=e.accountReconEntity.account.accountName??"",o=e.parsedStatementData?.statementUpload.account.last4Digits;return(function(r,a){const s=r.trim();return a!=null&&a!==""?`"${s} ${a}"`:`"${s}"`})(n,o)}function Yia(e){return e.parsedStatementData?.statementUpload.statementTransactions.length??0}function aD(e){return e.parsedStatementData?.statementUpload.statementMeta.statementUploadId??e.accountReconEntity.statementMetaData?.statementUploadId??""}function sL(e,n){const o=aD(e),r=e.accountReconEntity.statementMetaData?.statementUploadId??"",a=o!==""&&(n===""||o===n||o===r||n===r);return e.parsedStatementData!=null&&a&&e.statementParseStatus.fetchState==="Completed"}function EEt(e,n,o=""){const r=e.statementProcessingBackgroundCompletedSteps??0,a=e.statementProcessingStartedAtMs,s=e.statementProcessingTotalDurationSeconds;return a==null||s==null?r:(function({startedAtMs:c,totalDurationSeconds:d,totalSteps:u,isParsedDataReady:p,minSteps:h=0}){if(u<=0)return h;if(p)return Math.max(h,u);const g=Math.max(u-1,1),f=Math.max(d,1),x=Math.max(0,Math.floor((Date.now()-c)/1e3)),y=Math.max(1,Math.min(g,Math.ceil(x/f*u)));return Math.max(h,y)})({startedAtMs:a,totalDurationSeconds:s,totalSteps:n,isParsedDataReady:sL(e,o),minSteps:r})}function Tot(e,n,o,r=""){const a=e.statementProcessingBackgroundCompletedSteps??0,s=e.accountReconEntity.statementMetaData?.file!=null;return n===!0?{isActive:!1,showParseInfo:!1,uploadComplete:s,completedSteps:EEt(e,o,r)}:sL(e,r)?{isActive:!0,showParseInfo:!0,uploadComplete:!0,completedSteps:o}:(function(c){return c.statementParseInProgress===!0||c.statementUploadStatus.fetchState==="In-Progress"||c.statementParseStatus.fetchState==="In-Progress"||c.reparseStatementStatus.fetchState==="In-Progress"})(e)&&s?{isActive:!0,showParseInfo:!1,uploadComplete:!0,completedSteps:Math.max(a,1)}:{isActive:!1,showParseInfo:!1,uploadComplete:s,completedSteps:a}}const P9="statement-processing-page";function wFr(){const[e]=yr("AiStar");return t.jsx(Y0,{$slotSize:i.sp4,children:e!=null?t.jsx(qk,{animationData:e,play:!0,loop:!0,slotSize:i.sp4}):t.jsx(EFr,{})})}function CFr({isUploadComplete:e,_storyCompletedSteps:n,_storyPageCount:o,isParsedDataReady:r,statementFile:a,onCancel:s,onContinueInBackground:c,onAllStepsComplete:d,onCompletedStepsChange:u}){const p=K.getLocalizedStrings().expenseAutomation.accountRecon.statementProcessing,h=K.getLocalizedStrings().common,g=p.cancelConfirmation,f=p.steps.length,x=Math.max(f-1,0),[y,b]=m.useState(n??0),[w,C]=m.useState((()=>f===0?0:(n??0)/f*100)),v=a?.signedUrl?.trim()??"",[A,k]=m.useState(o),[$,j]=m.useState(o!=null),[E,I]=m.useState(null),[D,F]=m.useState(0),[z,O]=m.useState(!1),H=m.useRef(null),_=m.useRef(!1);m.useEffect((()=>{if(o!=null)return k(o),void j(!0);if(v==="")return k(void 0),void j(!1);let q=!1;return j(!1),yFr({signedUrl:v,contentType:a?.contentType,extension:a?.extension}).then((Z=>{q||(k(Z),j(!0))})),()=>{q=!0}}),[o,v,a?.contentType,a?.extension]),m.useEffect((()=>{I(null)}),[v]),m.useEffect((()=>{!$||E!=null||I((function(q){return q==null||q<=0?125:q<=2?65:q<=4?120:q<=8?160:q<=12?190:200})(A))}),[$,E,A]);const M=E??125,R=1e3*M,B=Math.floor(R/Math.max(f-1,1));m.useEffect((()=>{if(!e)return H.current=null,_.current=!1,F(0),void I(null);if(!_.current){const J=Math.max(n??0,y,1),oe=M*(Math.min(J,f)/Math.max(f,1));H.current=Date.now()-1e3*oe,_.current=!0}const q=()=>{H.current!=null&&F(Math.floor((Date.now()-H.current)/1e3))};q();const Z=setInterval(q,5e3);return()=>clearInterval(Z)}),[e,M,f,n,y]);const V=E!=null?Math.max(0,E-D):0,N=E!=null?(function(q,Z,J){return Z?null:q<=0?{label:J.takingLongerThanExpected,showClock:!1}:q<60?{label:J.timeRemainingSeconds(q),showClock:!0}:{label:J.timeRemainingMinutes(Math.ceil(q/60)),showClock:!0}})(V,y>=f,p):null;m.useEffect((()=>{u?.(y)}),[y,u]),m.useEffect((()=>{n!=null&&n>y&&b(n)}),[n,y]),m.useEffect((()=>{e&&y===0&&b(1)}),[e,y]),m.useEffect((()=>{if(y===0||y>=f||r!==!0&&y>=x)return;const q=setTimeout((()=>{b((Z=>Z+1))}),r===!0?300:B);return()=>clearTimeout(q)}),[y,r,x,B,f]),m.useEffect((()=>{if(y!==f||d==null)return;const q=setTimeout(d,1e3);return()=>clearTimeout(q)}),[y,d,f]),m.useEffect((()=>{if(f===0)return void C(0);const q=y/f*100;if(y===0)return void C(0);if(y>=f)return void C(100);if(r!==!0&&y>=x)return void C(q);const Z=(y+1)/f*100,J=r===!0?300:B,oe=performance.now();let ee=0;const ne=re=>{const ae=Math.min((re-oe)/J,1);C(q+(Z-q)*ae),ae<1&&(ee=requestAnimationFrame(ne))};return ee=requestAnimationFrame(ne),()=>cancelAnimationFrame(ee)}),[y,r,x,B,f]);const Y=Math.min(100,Math.round(w)),U=y>=f?f-1:Math.min(y,p.stepSubtitles.length-1),Q=p.stepSubtitles[U];return t.jsxs(t.Fragment,{children:[t.jsxs(vFr,{"data-testid":G(P9,"container"),children:[t.jsxs(SFr,{"data-testid":G(P9,"header"),children:[t.jsxs(kFr,{children:[t.jsxs(jFr,{children:[t.jsxs($Fr,{children:[t.jsx(wFr,{}),t.jsx(IFr,{children:p.headerTitle})]}),N!=null?t.jsxs(LFr,{"data-testid":G(P9,"time-remaining"),children:[N.showClock?t.jsx(TFr,{}):null,t.jsx(BFr,{children:N.label})]}):null]}),t.jsx(DFr,{children:Q})]}),t.jsxs(PFr,{children:[t.jsxs(MFr,{children:[t.jsx(OFr,{children:p.stepProgressLabel(y,f)}),t.jsx(zFr,{children:`${Y}%`})]}),t.jsx(FFr,{children:t.jsx(RFr,{style:{width:`${w}%`}})})]})]}),t.jsx(AFr,{"data-testid":G(P9,"steps"),children:p.steps.map(((q,Z)=>{const J=Z+1,oe=J<=y,ee=J===y+1,ne=Z===p.steps.length-1;return t.jsxs(NFr,{"data-testid":G(P9,`step-${J}`),children:[t.jsxs(_Fr,{children:[t.jsx(HFr,{$isDone:oe,$isInProgress:ee,children:J}),ne?null:t.jsx(VFr,{$isDone:oe})]}),t.jsx(GFr,{children:q}),t.jsx(qFr,{children:oe?t.jsx(UFr,{}):ee?t.jsxs(WFr,{children:[t.jsx(YFr,{}),t.jsx(QFr,{children:p.working})]}):null})]},J)}))})]}),t.jsx(Xn,{formId:P9,showCancel:!0,cancelBtn:{label:h.cancel,onClick:()=>O(!0),style:{width:"195px"}},primaryBtn:{label:p.continueInBackground,onClick:()=>{const q=H.current??Date.now();c({completedSteps:y,startedAtMs:q,totalDurationSeconds:M})},variant:"secondary",style:{width:"195px"}}}),z?t.jsx(jo,{formId:G(P9,"cancel-confirmation"),shouldClickAway:!1,containerStyle:{width:416,maxWidth:416},titleComponent:t.jsx(Qo,{children:g.heading}),descriptionComponent:t.jsx(Ko,{children:g.description}),secondaryButtonText:g.discard,secondaryButtonVariant:"destructive",proceedButtonVariant:"secondary",primaryButtonText:g.continueParsing,primaryButtonWidth:152,secondaryButtonWidth:152,buttonSeparatorStyle:{width:i.sp3},action:{onCancelClick:()=>{O(!1),s()},onOkClick:()=>O(!1)}}):null]})}const vFr=l.div`
77400
77400
  flex: 1;
77401
77401
  display: flex;
77402
77402
  flex-direction: column;
@@ -82788,7 +82788,7 @@ ${zv.gap.expectedStartDate(u)}.`:f.description,y=p===!0||d!=null;return t.jsx(jo
82788
82788
  display: flex;
82789
82789
  min-height: 100%;
82790
82790
  flex-direction: column;
82791
- `,Lea=()=>{const[e,n]=m.useState((()=>Vi.getSignedInUser())),o=yu(),[r,a]=m.useState(!1),[s,c]=m.useState(!1),d=qo((g=>cst(g).fetchState)),u=qo((g=>P1(g)));m.useEffect((()=>{const g=e!=null&&e.authProvider==="email"&&(!e?.firstName||!e?.lastName||!e.phoneNumber);a(g)}),[e]);const p=m.useCallback((()=>{const g=Vi.getSignedInUser();n((f=>JSON.stringify(f)!==JSON.stringify(g)?g:f))}),[]);m.useEffect((()=>(window.addEventListener("completeProfileDone",p),()=>{window.removeEventListener("completeProfileDone",p)})),[]),m.useEffect((()=>{d!=="In-Progress"&&d!=="Completed"&&o(OBt(u.companyId))}),[d,u.companyId,o]);const h=m.useMemo((()=>!!e?.firstName&&!e?.phoneNumber),[e]);return Mt.jsxs(m.Fragment,{children:[s&&Mt.jsx(l2e,{showConfetti:!0}),e?.userEmail!=null&&e.authProvider==="email"?Mt.jsx(Iea,{userEmail:e.userEmail,isCompleteProfileOpen:r,closeDrawerHandler:()=>{a(!1),c(!0)},hasUserEnteredBasicDetails:h}):null]})},Fat="init-enter",Tea=m.memo((function({location:e,visitedUrl:n}){const{pathname:o}=e;return m.useLayoutEffect((()=>{const r=n.get(o||Fat);Bea(r!==void 0?r:0)})),null}),((e,n)=>{const{location:o,visitedUrl:r}=e,{location:a}=n,s=o.pathname||Fat,c=Pea();return r.set(s,c),!((a.pathname!==o.pathname||a.search!==o.search)&&a.hash==="")})),Bea=(e=0)=>window.requestAnimationFrame((()=>{window.scrollTo(0,e)})),Pea=()=>{let e=0;return document!=null&&document.documentElement!==null&&(e=document.documentElement.scrollTop),window.pageYOffset||e},qh=e=>m.lazy((async()=>{const n=e.toString(),o=Vi.getForceRefreshedComponents(),r=new Set(o),a=Vi.isSignedIn(),s=r.has(n);try{const c=await e();return r.delete(n),a&&Vi.saveForceRefreshedComponents(Array.from(r)),c}catch(c){throw s||(r.add(n),a&&Vi.saveForceRefreshedComponents(Array.from(r)),location.reload()),c}})),qIt=globalThis.window?.location.href.startsWith("https://delhi-dot-zeni"),KIt=globalThis.window?.location.href.startsWith("https://pune-dot-zeni"),ZIt=globalThis.window?.location.href.startsWith("https://sunnyvale-dot-zeni"),JIt=globalThis.window?.location.href.startsWith("https://dev.app.zeni.ai");function ys(...e){const n=Hc==="DEV"||Hc==="QA";if(qIt||KIt||ZIt||JIt)return void console.log(...e);const o=globalThis.window!==void 0&&(globalThis.window.location.hostname==="localhost"||globalThis.window.location.hostname==="127.0.0.1")&&globalThis.window.location.port==="3000";n&&o&&console.log(...e)}function OS(...e){const n=Hc==="DEV"||Hc==="QA";if(qIt||KIt||ZIt||JIt)return void console.warn(...e);const o=globalThis.window!==void 0&&(globalThis.window.location.hostname==="localhost"||globalThis.window.location.hostname==="127.0.0.1")&&globalThis.window.location.port==="3000";n&&o&&console.warn(...e)}let tA=null,SI=!1;const bs=Hc==="PROD"?"https://api.zeni.ai":Hc==="DEV"?"https://dev.api.zeni.ai":"https://qa.api.zeni.ai";function Rat(e){const n=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["months"]})),o=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["quarters"]})),r=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["years"]})),a=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["months"]})),s=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:`${bs}/accounting/2.0/reports/profit_and_loss?query=${n}`,priority:"HIGH",reason:"Reports - Profit & Loss by Months (first load)",apiType:"reports"},{url:`${bs}/accounting/2.0/reports/profit_and_loss?query=${o}`,priority:"HIGH",reason:"Reports - Profit & Loss by Quarters (first load)",apiType:"reports"},{url:`${bs}/accounting/2.0/reports/profit_and_loss?query=${r}`,priority:"HIGH",reason:"Reports - Profit & Loss by Years (first load)",apiType:"reports"},{url:`${bs}/accounting/2.0/reports/balance_sheet?query=${a}`,priority:"HIGH",reason:"Reports - Balance Sheet by Months (first load)",apiType:"reports"},{url:`${bs}/accounting/2.0/reports/balance_sheet?query=${s}`,priority:"HIGH",reason:"Reports - Balance Sheet by Quarters (first load)",apiType:"reports"},{url:`${bs}/accounting/2.0/reports/balance_sheet?query=${c}`,priority:"HIGH",reason:"Reports - Balance Sheet by Years (first load)",apiType:"reports"},{url:`${bs}/accounting/2.0/reports/cash_flow?query=${d}`,priority:"HIGH",reason:"Reports - Cash Flow by Months (first load)",apiType:"reports"},{url:`${bs}/accounting/2.0/reports/cash_flow?query=${u}`,priority:"HIGH",reason:"Reports - Cash Flow by Quarters (first load)",apiType:"reports"},{url:`${bs}/accounting/2.0/reports/cash_flow?query=${p}`,priority:"HIGH",reason:"Reports - Cash Flow by Years (first load)",apiType:"reports"}]}const Mea={dashboard:function(e){return[...Rat()]},reports:Rat,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})),o=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:`${bs}/accounting/2.0/reports/profit_and_loss?query=${n}`,priority:"HIGH",reason:"Forecast - Profit & Loss by Months (first load)",apiType:"forecast"},{url:`${bs}/accounting/2.0/reports/profit_and_loss?query=${o}`,priority:"HIGH",reason:"Forecast - Profit & Loss by Quarters (first load)",apiType:"forecast"},{url:`${bs}/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:`${bs}/banking/1.0/deposit-accounts?query=${n}`,priority:"HIGH",reason:"Checking - Deposit Accounts (first load)",apiType:"checking"},{url:`${bs}/pay/1.0/payment-accounts`,priority:"HIGH",reason:"Checking - Payment Accounts (first load)",apiType:"checking"},{url:`${bs}/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:`${bs}/tenant/1.0/company-refer-reward-plan?query=${n}`,priority:"HIGH",reason:"Rewards Page - Rewards Plan (first load)",apiType:"rewards"},{url:`${bs}/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:o}=e,r=encodeURIComponent(JSON.stringify({view:"passport"}));return[{url:`${bs}/tenant/1.0/user-roles`,priority:"HIGH",reason:"People Page - User Roles (first load)",apiType:"people"},{url:`${bs}/tenant/1.0/users?query=${n}`,priority:"HIGH",reason:"People Page - Users (first load)",apiType:"people"},{url:`${bs}/accounting/1.0/classes`,priority:"HIGH",reason:"People Page - Classes (first load)",apiType:"people"},{url:`${bs}/tenant/1.0/companies/${o}?query=${r}`,priority:"HIGH",reason:"People Page - Company Passport (first load)",apiType:"people"}]}};function Nat(e){const{currentPage:n,isRewardsFeatureEnabled:o,isPeopleTabVisible:r,isReportsPageVisible:a,isPageIndependent:s=!1}=e,c=(0,Mea[s?"dashboard":n])(e),d=c.filter((u=>o===!1&&u.reason.includes("Rewards")?(ys(`[Prefetch Manager - Service Worker] ⚠️ Skipping rewards URL (feature disabled): ${u.url}`),!1):r===!1&&u.reason.includes("People")?(ys(`[Prefetch Manager - Service Worker] ⚠️ Skipping people URL (feature disabled): ${u.url}`),!1):a!==!1||!u.reason.includes("Reports")||(ys(`[Prefetch Manager - Service Worker] ⚠️ Skipping reports URL (feature disabled): ${u.url}`),!1)));return ys(`[Prefetch Manager - Service Worker] 📋 Prefetch list: ${c.length} total, ${d.length} after filtering`),d}async function _at(e,n=0,o){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?(ys("[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),a=navigator.serviceWorker.controller||r.active;if(!a)return void OS("[Prefetch Manager - Service Worker] No active Service Worker available");const s=(function(u){const p={HIGH:0,MEDIUM:1,LOW:2};return u.sort(((h,g)=>p[h.priority]-p[g.priority]))})(e);ys("[Prefetch Manager - Service Worker] 📋 Sending prefetch list to SW:",{total:s.length,high:s.filter((u=>u.priority==="HIGH")).length,medium:s.filter((u=>u.priority==="MEDIUM")).length,low:s.filter((u=>u.priority==="LOW")).length,batchSize:n>0?n:"disabled",expirationTime:o??"20 minutes",viaController:!!navigator.serviceWorker.controller}),s.forEach(((u,p)=>{ys(`[Prefetch Manager - Service Worker] ${p+1}. [${u.priority}] ${u.reason} - ${u.url}`),ys(` URL: ${u.url}`)}));const c=DT(),d={"zeni-session-id":c.sessionId,"zeni-user-id":c.userId,"zeni-tenant-id":c.tenantId};a.postMessage({type:"PREFETCH_URLS",payload:{urls:s.map((u=>({url:u.url,priority:u.priority,apiType:u.apiType}))),authHeaders:d,batchSize:n,expirationTime:o}}),ys("[Prefetch Manager - Service Worker] ✅ Prefetch request sent to Service Worker")}catch(r){OS("[Prefetch Manager - Service Worker] Failed to send prefetch request:",r instanceof Error?r.message:"Unknown error")}else OS("[Prefetch Manager - Service Worker] Service Worker not supported in this browser")}function Oea({children:e,currentPage:n,tenantId:o,batchCalls:r=0,expirationTime:a,delay:s=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=Dh(),A=Vi.getSignedInUser(),{useFeatureGate:k}=ga(),{isFeatureEnabled:$}=k(Mi.isReferralFeatureEnabled),j=bn(),E=Ix(j?.loggedInUserRole??[]),I=qo((H=>P1(H))),{isFeatureEnabled:D}=k(Mi.isDebitCardFeatureEnabled),F=ost(D,I),z=nst(I),O=F===!1&&z===!1;return m.useEffect((()=>{if(!c||x||!A||!o)return;const H=Nat({currentPage:n,userId:A.userId,tenantId:o,sessionId:A.zeniSessionId??"",features:u,forecastId:p,isRewardsFeatureEnabled:$,isPeopleTabVisible:E,isReportsPageVisible:O,companyId:I?.companyId??"",isPageIndependent:g}),_=g?"dashboard":n;if(H.length===0)return void ys(`[Prefetch Provider - ${_}${g?" (base)":""}] No URLs to prefetch`);ys(`[Prefetch Provider - ${_}${g?" (base)":""}] 📦 Generated ${H.length} URLs to prefetch`);const M=setTimeout((()=>{_at(H,r,a).catch((R=>{OS(`[Prefetch Provider - ${_}${g?" (base)":""}] Prefetch failed:`,R)})),y(!0)}),s);return()=>clearTimeout(M)}),[c,x,A,o,n,u,p,$,E,O,I?.companyId,g,r,a,s,v.pathname]),m.useEffect((()=>{y(!1)}),[o,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&&o)||b)return;ys(`[Prefetch Provider - Idle] 👀 Setting up idle prefetch detection (timeout: ${h}ms)`);const H=(function(_){const{timeout:M=2e3,onIdle:R}=_;ys(`[Idle Detection - Service Worker] 👀 Starting Idle Detection - Service Worker (timeout: ${M}ms)`);const B=()=>{SI&&(ys("[Idle Detection - Service Worker] 🏃 User became active again"),SI=!1),tA&&clearTimeout(tA),tA=setTimeout((()=>{SI||(ys("[Idle Detection - Service Worker] ⏱️ Browser is now IDLE"),SI=!0,R())}),M)},V=["mousedown","mousemove","keypress","scroll","touchstart","click"];return V.forEach((N=>{document.addEventListener(N,B,!0)})),B(),()=>{ys("[Idle Detection - Service Worker] 🛑 Stopping Idle Detection - Service Worker"),tA&&(clearTimeout(tA),tA=null),V.forEach((N=>{document.removeEventListener(N,B,!0)})),SI=!1}})({timeout:h,onIdle:()=>{if(b)return;ys("[Prefetch Provider - Idle] ⏱️ Browser is idle, fetching prefetch list with isIdleCallEnabled=true");const _=Nat({currentPage:n,userId:A.userId,tenantId:o,sessionId:A.zeniSessionId??"",features:u,forecastId:p,isRewardsFeatureEnabled:$,isPeopleTabVisible:E,isReportsPageVisible:O,companyId:I.companyId,isPageIndependent:g,isIdleCallEnabled:!0}),M=g?"dashboard":n;_.length!==0?(ys(`[Prefetch Provider - Idle - ${M}${g?" (base)":""}] 📦 Generated ${_.length} URLs to prefetch on idle`),_at(_,r,a).catch((R=>{OS(`[Prefetch Provider - Idle - ${M}${g?" (base)":""}] Idle prefetch failed:`,R)})),w(!0)):ys(`[Prefetch Provider - Idle - ${M}${g?" (base)":""}] No URLs to prefetch on idle`)}});return C.current=H,()=>{C.current&&(C.current(),C.current=null)}}),[c,d,h,A,o,b,n,u,p,$,E,O,I.companyId,g,r,a]),m.useEffect((()=>{w(!1)}),[o]),m.useEffect((()=>{(function(){const H=performance.getEntriesByType("navigation");if(H.length>0)return H[0].type==="reload";const _=performance.navigation;return!(!_||typeof _.type!="number")&&_.type===1})()&&f&&(ys("[Prefetch Provider] 🔄 Page refresh detected - will bypass cache for fresh data"),(async function(){if("serviceWorker"in navigator)try{const H=await navigator.serviceWorker.ready,_=navigator.serviceWorker.controller||H.active;if(!_)return;ys("[Prefetch Provider] 🔄 Page refresh detected, notifying service worker to bypass cache"),_.postMessage({type:"PAGE_REFRESH",payload:{timestamp:Date.now()}})}catch(H){OS("[Prefetch Provider] Failed to notify service worker of refresh:",H)}})())}),[]),Mt.jsx(Mt.Fragment,{children:e})}function zea({children:e,isPageIndependent:n=!1,batchCalls:o=0,enableIdlePrefetch:r=!1,expirationTime:a,idleTimeout:s=2e3,isRefreshTriggerEnabled:c=!1}){const d=Dh(),u=qo((y=>P1(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}=ga(),{isFeatureEnabled:x}=f(Mi.isServiceWorkerPrefetchingEnabled);return g&&p?Mt.jsx(Oea,{currentPage:p,tenantId:g,delay:5e3,enabled:x,batchCalls:o,enableIdlePrefetch:r,expirationTime:a,idleTimeout:s,isRefreshTriggerEnabled:c,isPageIndependent:n,children:e}):Mt.jsx(Mt.Fragment,{children:e})}function Fea(e,n){const o=bo.extractUtmParamsFromUrl(n),r=new URLSearchParams(o).toString();if(!r)return e;const a=e.includes("?")?"&":"?";return`${e}${a}${r}`}const Rea=qh((()=>Xc((()=>import("./DefaultTenantHome-DFUBuSUw.js")),__vite__mapDeps([4,1,2,0,5,6,7,8])))),Vat=qh((()=>Xc((()=>Promise.resolve().then((()=>cea))),void 0))),Hat=qh((()=>Xc((()=>import("./ScreenRoutes-ZHVecYPB.js")),__vite__mapDeps([9,0,1,2,5,10,6,7,8])))),Nea=qh((()=>Xc((()=>import("./ConnectionAuthScreen-DHpBzuhF.js")),__vite__mapDeps([11,1,2,0,5,6,12,8,13,14,15,16,17,7])))),_ea=qh((()=>Xc((()=>import("./SignInScreen-DSHzSt42.js")),__vite__mapDeps([18,1,2,0,5,19,10,6,7,8])))),Vea=qh((()=>Xc((()=>import("./MagicLinkSignInScreen-CAbcD9gJ.js")),__vite__mapDeps([20,1,2,0,5,19,10,6,7,8])))),Uat=qh((()=>Xc((()=>import("./NotFoundScreen-B35T6J3X.js")),__vite__mapDeps([21,1,2,0,5,7,8])))),Hea=qh((()=>Xc((()=>import("./MagicLinkRoutes-0xFiI_gt.js")),__vite__mapDeps([22,1,2,0,5,21,7,8])))),Uea=qh((()=>Xc((()=>import("./WiseConfirmationScreen-CI_HPhh8.js")),__vite__mapDeps([23,1,2,0,5,7,8])))),Wea=qh((()=>Xc((()=>import("./HubSpotOAuthCallbackScreen-DD2ALtLX.js")),__vite__mapDeps([24,1,2,0,5,7,8])))),Qea=qh((()=>Xc((()=>import("./CustomerOnboardingAuthScreen-Dt45S7Zn.js")),__vite__mapDeps([25,1,2,0,12,8,13,14,15,16,5,17,7])))),Yea=qh((()=>Xc((()=>import("./SignOutScreen-C0pSERkC.js")),__vite__mapDeps([26,1,2,0,5,7,8])))),Gea=qh((()=>Xc((()=>import("./OAuthConsentScreen-DDzTn8ex.js")),__vite__mapDeps([27,1,2,0,5,7,8])))),qea=()=>{const e=Dh(),n=new URLSearchParams(e.search),o=n.get("question"),r=o?.replace(/^["']|["']$/g,"")??null,a=n.get("should_submit")==="true",s=Fea("/",n);return Mt.jsx(slt,{to:s,replace:!0,state:{origin:"/aicfo",message:"",queryParams:{aiCfoQuestion:r,aiCfoShouldSubmit:a?"true":"false"}}})};function Wat(){const{isOpen:e}=Dw(),n=XPn(),{isAiCfoOpen:o,setIsAiCfoOpen:r}=_q(),a=m.useRef(!1),s=m.useRef(o),c=m.useRef(!1);return m.useLayoutEffect((()=>{const d=o&&!s.current;s.current=o,d&&e&&(r(!1),n(),c.current=!0)}),[o,e,r,n]),m.useEffect((()=>{e&&!a.current&&(c.current=!1,o&&r(!1)),a.current=e}),[e,o,r]),m.useEffect((()=>{!e&&c.current&&(c.current=!1,r(!0))}),[e,r]),null}const Kea=({tenantEmailDomain:e,setTenantEmailDomain:n})=>{const o=Vi.isSignedIn(),r=qo((O=>P1(O))),a=Vi.getSignedInUser(),s=o&&h6(a),c=qo((O=>zBt(O))).tenantsBaseInOrder.map((O=>({companyId:O.companyId,tenantId:O.tenantId,companyName:O.companyName}))),d={userId:a?.userId??"",sessionId:a?.zeniSessionId??"",tenantId:r.tenantId??""},u=yu(),p=Mc(["/:tenantEmailDomain/dashboard/*","/:tenantEmailDomain/dashboard"]),h=AIt(),g=Hq(),[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}=ga(),{isFeatureEnabled:v}=C(Mi.isAiCfoFileUploadEnabled),{isFeatureEnabled:A}=C(Mi.isBillPayCommentingEnabled),{isFeatureEnabled:k}=C(Mi.isReimbursementCommentingEnabled),{isFeatureEnabled:$}=C(Mi.isExpenseAutomationEnabled),{isFeatureEnabled:j}=C(Mi.isExpenseAutomationEnabledV2),{isFeatureEnabled:E}=C(Mi.isTreasuryCommentingEnabled),{isFeatureEnabled:I}=C(Mi.isCheckingCommentingEnabled),{isFeatureEnabled:D}=C(Mi.isTransactionCommentingEnabled),{isFeatureEnabled:F}=C(Mi.isCardsCommentingEnabled),z=A||k||s&&$||!s&&j||E||I||D||F;return m.useEffect((()=>{!h&&f&&x(!1)}),[h,f]),m.useEffect((()=>{h||u(FBt())}),[u,h]),Mt.jsx(JPn,{children:r.tenantId!=null?Mt.jsx(ayr,{roomId:`dashboard_${r.companyId}`,authParams:d,users:[],companies:c,authUrlEndPoint:`${Tk.tenantMicroServiceBaseUrl}/1.0/commenting/auth`,fetchZeniUsers:!0,commentingUsersUrlEndPoint:`${Tk.tenantMicroServiceBaseUrl}/1.0/users/commenting-users`,isZeniUser:s,autoConnect:s||D||F,loggedInUser:a,withRoomProvider:!0,withThreadsProvider:z,threadsIndexStrategy:"roomThreads",filter:{application:"dashboard",companyId:r.companyId},children:Mt.jsxs(Cpe.Provider,{value:w,children:[Mt.jsx(Wat,{}),Mt.jsxs(Gat,{children:[Mt.jsx(Vat,{tenantEmailDomain:e}),Mt.jsx(Yat,{children:Mt.jsx(Qat,{setTenantEmailDomain:n,isOnDashboard:p,userHasZeniAiCfoAccess:g,isAiCfoFileUploadEnabled:v})})]})]})}):Mt.jsx(syr,{children:Mt.jsxs(Cpe.Provider,{value:w,children:[Mt.jsx(Wat,{}),Mt.jsxs(Gat,{children:[Mt.jsx(Vat,{tenantEmailDomain:e}),Mt.jsx(Yat,{children:Mt.jsx(Qat,{setTenantEmailDomain:n,isOnDashboard:p,userHasZeniAiCfoAccess:g,isAiCfoFileUploadEnabled:v})})]})]})})})},Qat=({setTenantEmailDomain:e,isOnDashboard:n,userHasZeniAiCfoAccess:o,isAiCfoFileUploadEnabled:r})=>{const a=qo((x=>x.tenantState.loggedInUser)),{useDynamicConfig:s}=ga(),{configValue:c}=s(vf.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}=Vq(),{isAiCfoOpen:g,setIsAiCfoOpen:f}=_q();return m.useEffect((()=>{h(tfe.APP_INITIALIZATION)}),[h]),Mt.jsx(m.Suspense,{fallback:null,children:Mt.jsx(zea,{isPageIndependent:!0,batchCalls:d,isRefreshTriggerEnabled:!1,enableIdlePrefetch:!1,idleTimeout:u,expirationTime:p,children:Mt.jsxs(IDt,{children:[Mt.jsx(Pu,{path:"/magic_links/*",element:Mt.jsx(Hea,{})}),Mt.jsx(Pu,{path:"/wise/callback/link-account/*",element:Mt.jsx(Uea,{})}),Mt.jsx(Pu,{path:"/page-not-found",element:Mt.jsx(Uat,{})}),Mt.jsx(Pu,{path:"/",element:Mt.jsx(Rea,{})}),Mt.jsx(Pu,{path:"/aicfo",element:Mt.jsx(qea,{})}),Mt.jsx(Pu,{path:"/onboarding/auth",element:Mt.jsx(Qea,{})}),Mt.jsx(Pu,{path:"/:tenantEmailDomain/*",element:Mt.jsx(Xea,{children:Mt.jsxs(zXr,{children:[Mt.jsxs(eta,{children:[a!=null?Mt.jsx(Lea,{}):null,n?Mt.jsx(Hat,{setTenantEmailDomain:e}):Mt.jsx(ise,{children:Mt.jsx(Hat,{setTenantEmailDomain:e})})]}),o?Mt.jsxs(Mt.Fragment,{children:[Mt.jsx(hXr,{}),Mt.jsx(tta,{isOpen:g,children:Mt.jsx(Cea,{isOpen:g,onClose:()=>f(!1),isFileUploadEnabled:r})})]}):null]})})}),Mt.jsx(Pu,{path:"/signin/auth",element:Mt.jsx(ise,{children:Mt.jsx(_ea,{setTenantEmailDomain:e})})}),Mt.jsx(Pu,{path:"/signin/magic-link",element:Mt.jsx(ise,{children:Mt.jsx(Vea,{})})}),Mt.jsx(Pu,{path:"/signout",element:Mt.jsx(Yea,{})}),Mt.jsx(Pu,{path:"/connection/auth",element:Mt.jsx(Nea,{})}),Mt.jsx(Pu,{path:"/oauth/hubspot/callback",element:Mt.jsx(Wea,{})}),Mt.jsx(Pu,{path:"/oauth/authorize",element:Mt.jsx(Gea,{})}),Mt.jsx(Pu,{path:"*",element:Mt.jsx(Uat,{})})]})})})},Yat=({children:e})=>{const{isOpen:n,width:o}=Dw();return Mt.jsx(Jea,{commentsDrawerWidth:n?o:0,children:e})},Zea=Rn("div")`
82791
+ `,Lea=()=>{const[e,n]=m.useState((()=>Vi.getSignedInUser())),o=yu(),[r,a]=m.useState(!1),[s,c]=m.useState(!1),d=qo((g=>cst(g).fetchState)),u=qo((g=>P1(g)));m.useEffect((()=>{const g=e!=null&&e.authProvider==="email"&&(!e?.firstName||!e?.lastName||!e.phoneNumber);a(g)}),[e]);const p=m.useCallback((()=>{const g=Vi.getSignedInUser();n((f=>JSON.stringify(f)!==JSON.stringify(g)?g:f))}),[]);m.useEffect((()=>(window.addEventListener("completeProfileDone",p),()=>{window.removeEventListener("completeProfileDone",p)})),[]),m.useEffect((()=>{d!=="In-Progress"&&d!=="Completed"&&o(OBt(u.companyId))}),[d,u.companyId,o]);const h=m.useMemo((()=>!!e?.firstName&&!e?.phoneNumber),[e]);return Mt.jsxs(m.Fragment,{children:[s&&Mt.jsx(l2e,{showConfetti:!0}),e?.userEmail!=null&&e.authProvider==="email"?Mt.jsx(Iea,{userEmail:e.userEmail,isCompleteProfileOpen:r,closeDrawerHandler:()=>{a(!1),c(!0)},hasUserEnteredBasicDetails:h}):null]})},Fat="init-enter",Tea=m.memo((function({location:e,visitedUrl:n}){const{pathname:o}=e;return m.useLayoutEffect((()=>{const r=n.get(o||Fat);Bea(r!==void 0?r:0)})),null}),((e,n)=>{const{location:o,visitedUrl:r}=e,{location:a}=n,s=o.pathname||Fat,c=Pea();return r.set(s,c),!((a.pathname!==o.pathname||a.search!==o.search)&&a.hash==="")})),Bea=(e=0)=>window.requestAnimationFrame((()=>{window.scrollTo(0,e)})),Pea=()=>{let e=0;return document!=null&&document.documentElement!==null&&(e=document.documentElement.scrollTop),window.pageYOffset||e},qh=e=>m.lazy((async()=>{const n=e.toString(),o=Vi.getForceRefreshedComponents(),r=new Set(o),a=Vi.isSignedIn(),s=r.has(n);try{const c=await e();return r.delete(n),a&&Vi.saveForceRefreshedComponents(Array.from(r)),c}catch(c){throw s||(r.add(n),a&&Vi.saveForceRefreshedComponents(Array.from(r)),location.reload()),c}})),qIt=globalThis.window?.location.href.startsWith("https://delhi-dot-zeni"),KIt=globalThis.window?.location.href.startsWith("https://pune-dot-zeni"),ZIt=globalThis.window?.location.href.startsWith("https://sunnyvale-dot-zeni"),JIt=globalThis.window?.location.href.startsWith("https://dev.app.zeni.ai");function ys(...e){const n=Hc==="DEV"||Hc==="QA";if(qIt||KIt||ZIt||JIt)return void console.log(...e);const o=globalThis.window!==void 0&&(globalThis.window.location.hostname==="localhost"||globalThis.window.location.hostname==="127.0.0.1")&&globalThis.window.location.port==="3000";n&&o&&console.log(...e)}function OS(...e){const n=Hc==="DEV"||Hc==="QA";if(qIt||KIt||ZIt||JIt)return void console.warn(...e);const o=globalThis.window!==void 0&&(globalThis.window.location.hostname==="localhost"||globalThis.window.location.hostname==="127.0.0.1")&&globalThis.window.location.port==="3000";n&&o&&console.warn(...e)}let tA=null,SI=!1;const bs=Hc==="PROD"?"https://api.zeni.ai":Hc==="DEV"?"https://dev.api.zeni.ai":"https://qa.api.zeni.ai";function Rat(e){const n=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["months"]})),o=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["quarters"]})),r=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["years"]})),a=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["months"]})),s=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:`${bs}/accounting/2.0/reports/profit_and_loss?query=${n}`,priority:"HIGH",reason:"Reports - Profit & Loss by Months (first load)",apiType:"reports"},{url:`${bs}/accounting/2.0/reports/profit_and_loss?query=${o}`,priority:"HIGH",reason:"Reports - Profit & Loss by Quarters (first load)",apiType:"reports"},{url:`${bs}/accounting/2.0/reports/profit_and_loss?query=${r}`,priority:"HIGH",reason:"Reports - Profit & Loss by Years (first load)",apiType:"reports"},{url:`${bs}/accounting/2.0/reports/balance_sheet?query=${a}`,priority:"HIGH",reason:"Reports - Balance Sheet by Months (first load)",apiType:"reports"},{url:`${bs}/accounting/2.0/reports/balance_sheet?query=${s}`,priority:"HIGH",reason:"Reports - Balance Sheet by Quarters (first load)",apiType:"reports"},{url:`${bs}/accounting/2.0/reports/balance_sheet?query=${c}`,priority:"HIGH",reason:"Reports - Balance Sheet by Years (first load)",apiType:"reports"},{url:`${bs}/accounting/2.0/reports/cash_flow?query=${d}`,priority:"HIGH",reason:"Reports - Cash Flow by Months (first load)",apiType:"reports"},{url:`${bs}/accounting/2.0/reports/cash_flow?query=${u}`,priority:"HIGH",reason:"Reports - Cash Flow by Quarters (first load)",apiType:"reports"},{url:`${bs}/accounting/2.0/reports/cash_flow?query=${p}`,priority:"HIGH",reason:"Reports - Cash Flow by Years (first load)",apiType:"reports"}]}const Mea={dashboard:function(e){return[...Rat()]},reports:Rat,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})),o=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:`${bs}/accounting/2.0/reports/profit_and_loss?query=${n}`,priority:"HIGH",reason:"Forecast - Profit & Loss by Months (first load)",apiType:"forecast"},{url:`${bs}/accounting/2.0/reports/profit_and_loss?query=${o}`,priority:"HIGH",reason:"Forecast - Profit & Loss by Quarters (first load)",apiType:"forecast"},{url:`${bs}/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:`${bs}/banking/1.0/deposit-accounts?query=${n}`,priority:"HIGH",reason:"Checking - Deposit Accounts (first load)",apiType:"checking"},{url:`${bs}/pay/1.0/payment-accounts`,priority:"HIGH",reason:"Checking - Payment Accounts (first load)",apiType:"checking"},{url:`${bs}/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:`${bs}/tenant/1.0/company-refer-reward-plan?query=${n}`,priority:"HIGH",reason:"Rewards Page - Rewards Plan (first load)",apiType:"rewards"},{url:`${bs}/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:o}=e,r=encodeURIComponent(JSON.stringify({view:"passport"}));return[{url:`${bs}/tenant/1.0/user-roles`,priority:"HIGH",reason:"People Page - User Roles (first load)",apiType:"people"},{url:`${bs}/tenant/1.0/users?query=${n}`,priority:"HIGH",reason:"People Page - Users (first load)",apiType:"people"},{url:`${bs}/accounting/1.0/classes`,priority:"HIGH",reason:"People Page - Classes (first load)",apiType:"people"},{url:`${bs}/tenant/1.0/companies/${o}?query=${r}`,priority:"HIGH",reason:"People Page - Company Passport (first load)",apiType:"people"}]}};function Nat(e){const{currentPage:n,isRewardsFeatureEnabled:o,isPeopleTabVisible:r,isReportsPageVisible:a,isPageIndependent:s=!1}=e,c=(0,Mea[s?"dashboard":n])(e),d=c.filter((u=>o===!1&&u.reason.includes("Rewards")?(ys(`[Prefetch Manager - Service Worker] ⚠️ Skipping rewards URL (feature disabled): ${u.url}`),!1):r===!1&&u.reason.includes("People")?(ys(`[Prefetch Manager - Service Worker] ⚠️ Skipping people URL (feature disabled): ${u.url}`),!1):a!==!1||!u.reason.includes("Reports")||(ys(`[Prefetch Manager - Service Worker] ⚠️ Skipping reports URL (feature disabled): ${u.url}`),!1)));return ys(`[Prefetch Manager - Service Worker] 📋 Prefetch list: ${c.length} total, ${d.length} after filtering`),d}async function _at(e,n=0,o){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?(ys("[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),a=navigator.serviceWorker.controller||r.active;if(!a)return void OS("[Prefetch Manager - Service Worker] No active Service Worker available");const s=(function(u){const p={HIGH:0,MEDIUM:1,LOW:2};return u.sort(((h,g)=>p[h.priority]-p[g.priority]))})(e);ys("[Prefetch Manager - Service Worker] 📋 Sending prefetch list to SW:",{total:s.length,high:s.filter((u=>u.priority==="HIGH")).length,medium:s.filter((u=>u.priority==="MEDIUM")).length,low:s.filter((u=>u.priority==="LOW")).length,batchSize:n>0?n:"disabled",expirationTime:o??"20 minutes",viaController:!!navigator.serviceWorker.controller}),s.forEach(((u,p)=>{ys(`[Prefetch Manager - Service Worker] ${p+1}. [${u.priority}] ${u.reason} - ${u.url}`),ys(` URL: ${u.url}`)}));const c=DT(),d={"zeni-session-id":c.sessionId,"zeni-user-id":c.userId,"zeni-tenant-id":c.tenantId};a.postMessage({type:"PREFETCH_URLS",payload:{urls:s.map((u=>({url:u.url,priority:u.priority,apiType:u.apiType}))),authHeaders:d,batchSize:n,expirationTime:o}}),ys("[Prefetch Manager - Service Worker] ✅ Prefetch request sent to Service Worker")}catch(r){OS("[Prefetch Manager - Service Worker] Failed to send prefetch request:",r instanceof Error?r.message:"Unknown error")}else OS("[Prefetch Manager - Service Worker] Service Worker not supported in this browser")}function Oea({children:e,currentPage:n,tenantId:o,batchCalls:r=0,expirationTime:a,delay:s=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=Dh(),A=Vi.getSignedInUser(),{useFeatureGate:k}=ga(),{isFeatureEnabled:$}=k(Mi.isReferralFeatureEnabled),j=bn(),E=Ix(j?.loggedInUserRole??[]),I=qo((H=>P1(H))),{isFeatureEnabled:D}=k(Mi.isDebitCardFeatureEnabled),F=ost(D,I),z=nst(I),O=F===!1&&z===!1;return m.useEffect((()=>{if(!c||x||!A||!o)return;const H=Nat({currentPage:n,userId:A.userId,tenantId:o,sessionId:A.zeniSessionId??"",features:u,forecastId:p,isRewardsFeatureEnabled:$,isPeopleTabVisible:E,isReportsPageVisible:O,companyId:I?.companyId??"",isPageIndependent:g}),_=g?"dashboard":n;if(H.length===0)return void ys(`[Prefetch Provider - ${_}${g?" (base)":""}] No URLs to prefetch`);ys(`[Prefetch Provider - ${_}${g?" (base)":""}] 📦 Generated ${H.length} URLs to prefetch`);const M=setTimeout((()=>{_at(H,r,a).catch((R=>{OS(`[Prefetch Provider - ${_}${g?" (base)":""}] Prefetch failed:`,R)})),y(!0)}),s);return()=>clearTimeout(M)}),[c,x,A,o,n,u,p,$,E,O,I?.companyId,g,r,a,s,v.pathname]),m.useEffect((()=>{y(!1)}),[o,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&&o)||b)return;ys(`[Prefetch Provider - Idle] 👀 Setting up idle prefetch detection (timeout: ${h}ms)`);const H=(function(_){const{timeout:M=2e3,onIdle:R}=_;ys(`[Idle Detection - Service Worker] 👀 Starting Idle Detection - Service Worker (timeout: ${M}ms)`);const B=()=>{SI&&(ys("[Idle Detection - Service Worker] 🏃 User became active again"),SI=!1),tA&&clearTimeout(tA),tA=setTimeout((()=>{SI||(ys("[Idle Detection - Service Worker] ⏱️ Browser is now IDLE"),SI=!0,R())}),M)},V=["mousedown","mousemove","keypress","scroll","touchstart","click"];return V.forEach((N=>{document.addEventListener(N,B,!0)})),B(),()=>{ys("[Idle Detection - Service Worker] 🛑 Stopping Idle Detection - Service Worker"),tA&&(clearTimeout(tA),tA=null),V.forEach((N=>{document.removeEventListener(N,B,!0)})),SI=!1}})({timeout:h,onIdle:()=>{if(b)return;ys("[Prefetch Provider - Idle] ⏱️ Browser is idle, fetching prefetch list with isIdleCallEnabled=true");const _=Nat({currentPage:n,userId:A.userId,tenantId:o,sessionId:A.zeniSessionId??"",features:u,forecastId:p,isRewardsFeatureEnabled:$,isPeopleTabVisible:E,isReportsPageVisible:O,companyId:I.companyId,isPageIndependent:g,isIdleCallEnabled:!0}),M=g?"dashboard":n;_.length!==0?(ys(`[Prefetch Provider - Idle - ${M}${g?" (base)":""}] 📦 Generated ${_.length} URLs to prefetch on idle`),_at(_,r,a).catch((R=>{OS(`[Prefetch Provider - Idle - ${M}${g?" (base)":""}] Idle prefetch failed:`,R)})),w(!0)):ys(`[Prefetch Provider - Idle - ${M}${g?" (base)":""}] No URLs to prefetch on idle`)}});return C.current=H,()=>{C.current&&(C.current(),C.current=null)}}),[c,d,h,A,o,b,n,u,p,$,E,O,I.companyId,g,r,a]),m.useEffect((()=>{w(!1)}),[o]),m.useEffect((()=>{(function(){const H=performance.getEntriesByType("navigation");if(H.length>0)return H[0].type==="reload";const _=performance.navigation;return!(!_||typeof _.type!="number")&&_.type===1})()&&f&&(ys("[Prefetch Provider] 🔄 Page refresh detected - will bypass cache for fresh data"),(async function(){if("serviceWorker"in navigator)try{const H=await navigator.serviceWorker.ready,_=navigator.serviceWorker.controller||H.active;if(!_)return;ys("[Prefetch Provider] 🔄 Page refresh detected, notifying service worker to bypass cache"),_.postMessage({type:"PAGE_REFRESH",payload:{timestamp:Date.now()}})}catch(H){OS("[Prefetch Provider] Failed to notify service worker of refresh:",H)}})())}),[]),Mt.jsx(Mt.Fragment,{children:e})}function zea({children:e,isPageIndependent:n=!1,batchCalls:o=0,enableIdlePrefetch:r=!1,expirationTime:a,idleTimeout:s=2e3,isRefreshTriggerEnabled:c=!1}){const d=Dh(),u=qo((y=>P1(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}=ga(),{isFeatureEnabled:x}=f(Mi.isServiceWorkerPrefetchingEnabled);return g&&p?Mt.jsx(Oea,{currentPage:p,tenantId:g,delay:5e3,enabled:x,batchCalls:o,enableIdlePrefetch:r,expirationTime:a,idleTimeout:s,isRefreshTriggerEnabled:c,isPageIndependent:n,children:e}):Mt.jsx(Mt.Fragment,{children:e})}function Fea(e,n){const o=bo.extractUtmParamsFromUrl(n),r=new URLSearchParams(o).toString();if(!r)return e;const a=e.includes("?")?"&":"?";return`${e}${a}${r}`}const Rea=qh((()=>Xc((()=>import("./DefaultTenantHome-BVU21X-M.js")),__vite__mapDeps([4,1,2,0,5,6,7,8])))),Vat=qh((()=>Xc((()=>Promise.resolve().then((()=>cea))),void 0))),Hat=qh((()=>Xc((()=>import("./ScreenRoutes-D5bNkmwt.js")),__vite__mapDeps([9,0,1,2,5,10,6,7,8])))),Nea=qh((()=>Xc((()=>import("./ConnectionAuthScreen-1mEE-36o.js")),__vite__mapDeps([11,1,2,0,5,6,12,8,13,14,15,16,17,7])))),_ea=qh((()=>Xc((()=>import("./SignInScreen-joU5wP4w.js")),__vite__mapDeps([18,1,2,0,5,19,10,6,7,8])))),Vea=qh((()=>Xc((()=>import("./MagicLinkSignInScreen-CDhpIX3Z.js")),__vite__mapDeps([20,1,2,0,5,19,10,6,7,8])))),Uat=qh((()=>Xc((()=>import("./NotFoundScreen-DJIdPrRl.js")),__vite__mapDeps([21,1,2,0,5,7,8])))),Hea=qh((()=>Xc((()=>import("./MagicLinkRoutes-IxXOukse.js")),__vite__mapDeps([22,1,2,0,5,21,7,8])))),Uea=qh((()=>Xc((()=>import("./WiseConfirmationScreen-CUdBn_6P.js")),__vite__mapDeps([23,1,2,0,5,7,8])))),Wea=qh((()=>Xc((()=>import("./HubSpotOAuthCallbackScreen-Cev2taVI.js")),__vite__mapDeps([24,1,2,0,5,7,8])))),Qea=qh((()=>Xc((()=>import("./CustomerOnboardingAuthScreen-BkkgW1uu.js")),__vite__mapDeps([25,1,2,0,12,8,13,14,15,16,5,17,7])))),Yea=qh((()=>Xc((()=>import("./SignOutScreen-CPywKCC9.js")),__vite__mapDeps([26,1,2,0,5,7,8])))),Gea=qh((()=>Xc((()=>import("./OAuthConsentScreen-CYxgorLl.js")),__vite__mapDeps([27,1,2,0,5,7,8])))),qea=()=>{const e=Dh(),n=new URLSearchParams(e.search),o=n.get("question"),r=o?.replace(/^["']|["']$/g,"")??null,a=n.get("should_submit")==="true",s=Fea("/",n);return Mt.jsx(slt,{to:s,replace:!0,state:{origin:"/aicfo",message:"",queryParams:{aiCfoQuestion:r,aiCfoShouldSubmit:a?"true":"false"}}})};function Wat(){const{isOpen:e}=Dw(),n=XPn(),{isAiCfoOpen:o,setIsAiCfoOpen:r}=_q(),a=m.useRef(!1),s=m.useRef(o),c=m.useRef(!1);return m.useLayoutEffect((()=>{const d=o&&!s.current;s.current=o,d&&e&&(r(!1),n(),c.current=!0)}),[o,e,r,n]),m.useEffect((()=>{e&&!a.current&&(c.current=!1,o&&r(!1)),a.current=e}),[e,o,r]),m.useEffect((()=>{!e&&c.current&&(c.current=!1,r(!0))}),[e,r]),null}const Kea=({tenantEmailDomain:e,setTenantEmailDomain:n})=>{const o=Vi.isSignedIn(),r=qo((O=>P1(O))),a=Vi.getSignedInUser(),s=o&&h6(a),c=qo((O=>zBt(O))).tenantsBaseInOrder.map((O=>({companyId:O.companyId,tenantId:O.tenantId,companyName:O.companyName}))),d={userId:a?.userId??"",sessionId:a?.zeniSessionId??"",tenantId:r.tenantId??""},u=yu(),p=Mc(["/:tenantEmailDomain/dashboard/*","/:tenantEmailDomain/dashboard"]),h=AIt(),g=Hq(),[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}=ga(),{isFeatureEnabled:v}=C(Mi.isAiCfoFileUploadEnabled),{isFeatureEnabled:A}=C(Mi.isBillPayCommentingEnabled),{isFeatureEnabled:k}=C(Mi.isReimbursementCommentingEnabled),{isFeatureEnabled:$}=C(Mi.isExpenseAutomationEnabled),{isFeatureEnabled:j}=C(Mi.isExpenseAutomationEnabledV2),{isFeatureEnabled:E}=C(Mi.isTreasuryCommentingEnabled),{isFeatureEnabled:I}=C(Mi.isCheckingCommentingEnabled),{isFeatureEnabled:D}=C(Mi.isTransactionCommentingEnabled),{isFeatureEnabled:F}=C(Mi.isCardsCommentingEnabled),z=A||k||s&&$||!s&&j||E||I||D||F;return m.useEffect((()=>{!h&&f&&x(!1)}),[h,f]),m.useEffect((()=>{h||u(FBt())}),[u,h]),Mt.jsx(JPn,{children:r.tenantId!=null?Mt.jsx(ayr,{roomId:`dashboard_${r.companyId}`,authParams:d,users:[],companies:c,authUrlEndPoint:`${Tk.tenantMicroServiceBaseUrl}/1.0/commenting/auth`,fetchZeniUsers:!0,commentingUsersUrlEndPoint:`${Tk.tenantMicroServiceBaseUrl}/1.0/users/commenting-users`,isZeniUser:s,autoConnect:s||D||F,loggedInUser:a,withRoomProvider:!0,withThreadsProvider:z,threadsIndexStrategy:"roomThreads",filter:{application:"dashboard",companyId:r.companyId},children:Mt.jsxs(Cpe.Provider,{value:w,children:[Mt.jsx(Wat,{}),Mt.jsxs(Gat,{children:[Mt.jsx(Vat,{tenantEmailDomain:e}),Mt.jsx(Yat,{children:Mt.jsx(Qat,{setTenantEmailDomain:n,isOnDashboard:p,userHasZeniAiCfoAccess:g,isAiCfoFileUploadEnabled:v})})]})]})}):Mt.jsx(syr,{children:Mt.jsxs(Cpe.Provider,{value:w,children:[Mt.jsx(Wat,{}),Mt.jsxs(Gat,{children:[Mt.jsx(Vat,{tenantEmailDomain:e}),Mt.jsx(Yat,{children:Mt.jsx(Qat,{setTenantEmailDomain:n,isOnDashboard:p,userHasZeniAiCfoAccess:g,isAiCfoFileUploadEnabled:v})})]})]})})})},Qat=({setTenantEmailDomain:e,isOnDashboard:n,userHasZeniAiCfoAccess:o,isAiCfoFileUploadEnabled:r})=>{const a=qo((x=>x.tenantState.loggedInUser)),{useDynamicConfig:s}=ga(),{configValue:c}=s(vf.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}=Vq(),{isAiCfoOpen:g,setIsAiCfoOpen:f}=_q();return m.useEffect((()=>{h(tfe.APP_INITIALIZATION)}),[h]),Mt.jsx(m.Suspense,{fallback:null,children:Mt.jsx(zea,{isPageIndependent:!0,batchCalls:d,isRefreshTriggerEnabled:!1,enableIdlePrefetch:!1,idleTimeout:u,expirationTime:p,children:Mt.jsxs(IDt,{children:[Mt.jsx(Pu,{path:"/magic_links/*",element:Mt.jsx(Hea,{})}),Mt.jsx(Pu,{path:"/wise/callback/link-account/*",element:Mt.jsx(Uea,{})}),Mt.jsx(Pu,{path:"/page-not-found",element:Mt.jsx(Uat,{})}),Mt.jsx(Pu,{path:"/",element:Mt.jsx(Rea,{})}),Mt.jsx(Pu,{path:"/aicfo",element:Mt.jsx(qea,{})}),Mt.jsx(Pu,{path:"/onboarding/auth",element:Mt.jsx(Qea,{})}),Mt.jsx(Pu,{path:"/:tenantEmailDomain/*",element:Mt.jsx(Xea,{children:Mt.jsxs(zXr,{children:[Mt.jsxs(eta,{children:[a!=null?Mt.jsx(Lea,{}):null,n?Mt.jsx(Hat,{setTenantEmailDomain:e}):Mt.jsx(ise,{children:Mt.jsx(Hat,{setTenantEmailDomain:e})})]}),o?Mt.jsxs(Mt.Fragment,{children:[Mt.jsx(hXr,{}),Mt.jsx(tta,{isOpen:g,children:Mt.jsx(Cea,{isOpen:g,onClose:()=>f(!1),isFileUploadEnabled:r})})]}):null]})})}),Mt.jsx(Pu,{path:"/signin/auth",element:Mt.jsx(ise,{children:Mt.jsx(_ea,{setTenantEmailDomain:e})})}),Mt.jsx(Pu,{path:"/signin/magic-link",element:Mt.jsx(ise,{children:Mt.jsx(Vea,{})})}),Mt.jsx(Pu,{path:"/signout",element:Mt.jsx(Yea,{})}),Mt.jsx(Pu,{path:"/connection/auth",element:Mt.jsx(Nea,{})}),Mt.jsx(Pu,{path:"/oauth/hubspot/callback",element:Mt.jsx(Wea,{})}),Mt.jsx(Pu,{path:"/oauth/authorize",element:Mt.jsx(Gea,{})}),Mt.jsx(Pu,{path:"*",element:Mt.jsx(Uat,{})})]})})})},Yat=({children:e})=>{const{isOpen:n,width:o}=Dw();return Mt.jsx(Jea,{commentsDrawerWidth:n?o:0,children:e})},Zea=Rn("div")`
82792
82792
  display:flex;
82793
82793
  `,Gat=Rn("div")`
82794
82794
  display: flex;