@zeniai/web-app-ui 4.14.31-dev → 4.14.32-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 (375) hide show
  1. package/dist/assets/{ACHDetailsPage-CFhoboVe-JodbwPsQ.js → ACHDetailsPage-BO7lxW8c-CaH7vfBB.js} +2 -2
  2. package/dist/assets/{AIPerformancePage-DB-fTWME-CgGQsnV1.js → AIPerformancePage-SF-quMkk-CZFFBw1a.js} +1 -1
  3. package/dist/assets/AccountInfoPage-v8-NT3FJ-Bw3uGZG4.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-eYEsv7ac-vCK7G4bh.js → AccountInfoPageContent-DIWh6VaI-HqDSQPfy.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-jYWr_8TD-q_Ikf2Tn.js → AccountLockedInfoModal-DloPB9vd-BSxEQO_S.js} +6 -6
  6. package/dist/assets/{AccountReconDetailsDrawerPage-3Q0EPYhL-BH4of7uu.js → AccountReconDetailsDrawerPage-BAgQsFiF-CyK6H2le.js} +4 -4
  7. package/dist/assets/{AccountRow-CdgvnPG8-Cz30EYLJ.js → AccountRow-Dczx5rSu-CwZA98Uy.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-DHo59LLN-SJuuNn3m.js → AccountsPromoCardStack-Ywhto4lV-cevnOXMT.js} +11 -11
  9. package/dist/assets/{AddAddressForCardDrawer-BzO1FXUa-Fyg_NOS1.js → AddAddressForCardDrawer-B8srmVT6-DsXtVyAN.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BfXFbHjk-CMzYyYW2.js → AddToWalletPage-k__RW699-BSoFKwS5.js} +1 -1
  11. package/dist/assets/{AddressRoutes-B6KyTWyT.js → AddressRoutes-Bnm4H7bD.js} +1 -1
  12. package/dist/assets/{AddressScreen-ZPcySSaO.js → AddressScreen-INYb_JGl.js} +2 -2
  13. package/dist/assets/{AgingReportsPage-C1hFq4KH-Zi5GTQ1z.js → AgingReportsPage-BuIXjljE-DwSwkj0s.js} +5 -5
  14. package/dist/assets/{AiCfoScreen-C7jQo3LZ.js → AiCfoScreen-Dg31g97F.js} +1 -1
  15. package/dist/assets/{AllUserItems-B6pnKByY-z-llp8Ld.js → AllUserItems-BdgTe4WF-H7QxO-h-.js} +7 -7
  16. package/dist/assets/ApAgingDetailPage-6F47t31h-BJY-Gjjh.js +46 -0
  17. package/dist/assets/{AppBasePage-DiVxF606-DEIAJtmX.js → AppBasePage-DaTueT-x-Db3mer79.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-B_EWsf8O-nCzxlMlY.js → AppDrawerContent-CtCI6jpp-B-tHPrrL.js} +3 -3
  19. package/dist/assets/{ApprovalRulesSettingsPage-HHjDp_NQ-Dk_su188.js → ApprovalRulesSettingsPage-BVxu4soW-Nu7LfFuU.js} +1 -1
  20. package/dist/assets/{ArAgingChart-Ba4A-i2N-DVKxnxLC.js → ArAgingChart-BK-JyW2V-CpKqA7Z3.js} +1 -1
  21. package/dist/assets/{ArAgingDetailPage-prgcvsS4-B6KvY1N_.js → ArAgingDetailPage-CvqLu3q8-DFRtVqyv.js} +3 -3
  22. package/dist/assets/{AttachmentView-SsWJw4A8-CiFA7Mtk.js → AttachmentView-DQdb3v_e-BgOMzST7.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-DE6gDjGA-CuriAdQu.js → BalancesInsightWithToolTip-D4q45w1q-CBufZlsy.js} +4 -4
  24. package/dist/assets/{BankAccountSection-B4jmT0lb-D2VaI5gJ.js → BankAccountSection-DgbfU8F--DERufWYy.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-Bz2itMx0-EQdFts4P.js → BankAccountWarningSection-litL0o_Z-YNoMxnsQ.js} +11 -11
  26. package/dist/assets/{BankConnectionsSettingsPage-BcVk7bTt-CcJ2zW2K.js → BankConnectionsSettingsPage-bAj9uB9k-D373ilzg.js} +1 -1
  27. package/dist/assets/{BillDetailPage-Dkqmi4H1-BFTmBvTz.js → BillDetailPage-CiHal44n-DIfTrfpQ.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-CB_WVdNG.js → BillPayApprovalRoutes-BILiu13g.js} +1 -1
  29. package/dist/assets/BillPayApprovalRuleDetailPage-CRBli7lk-Cp1ol6-S.js +27 -0
  30. package/dist/assets/{BillPayApprovalRulesPage-B_QwggJS-Csxvsi8z.js → BillPayApprovalRulesPage-BTOmSLcs-D3SM4r7K.js} +7 -7
  31. package/dist/assets/{BillPayPromoPage-Bx2AXpWe-DWku5Qhm.js → BillPayPromoPage-B5gkQjT2-D9lr-mmz.js} +9 -9
  32. package/dist/assets/{BillPayRoutes-9FjXpkgQ.js → BillPayRoutes-BIHt-HL2.js} +7 -7
  33. package/dist/assets/{BillPaySetUpPage-CM7_DkHC-B8MycdyA.js → BillPaySetUpPage-DM3r09by-BlBEwtA1.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-DM0OIfxa-B3DQmXkS.js → BillingSettingsPage-CiTKyJeG-BkRQgSD8.js} +2 -2
  35. package/dist/assets/{BillsBulkReviewDrawerPage-C3xmQ7wz-DgU-ZFK3.js → BillsBulkReviewDrawerPage-B6ofRDkg-B-xdke4y.js} +1 -1
  36. package/dist/assets/{BoxItem-CvCo0wr6-QhJ82HMO.js → BoxItem-C39hQSVg-B9WMvkwI.js} +1 -1
  37. package/dist/assets/{BusinessVerificationPage-BAZmkR4a-DKUcO_Rf.js → BusinessVerificationPage-BiWEnJET-BPuB56i7.js} +2 -2
  38. package/dist/assets/{BusinessVerificationPageScreen-BKBP5CJh.js → BusinessVerificationPageScreen-C9kI0BR_.js} +2 -2
  39. package/dist/assets/{BusyIndication-Cp8KWKB2-C3oZ8Ini.js → BusyIndication-DmApVsF7-DQl3VYqH.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-DHtSIcZZ-kHFdQu5S.js → CardNumberSubText-FNfrozX6-tv8Brnnn.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-CNS1FA6b-Clcw1gL0.js → CashbackDetailPage-DaLICa_v-BHzYFFJ0.js} +7 -7
  42. package/dist/assets/{ChargeCardDetailPage-C4NeG7IM-CcgpSGTB.js → ChargeCardDetailPage-B0Aq7zO5-40fQ7jsk.js} +28 -28
  43. package/dist/assets/{ChargeCardListPage-DNYiWaEf-BZBAcxPe.js → ChargeCardListPage-CfRto2rQ-ClyjE_iT.js} +16 -16
  44. package/dist/assets/{ChargeCardListTable-DdnyzdFf-D27zGMD0.js → ChargeCardListTable-DMdC4lxo-KnHyTkme.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-CXlqzaUt-Cw-q5fHs.js → ChargeCardPaymentHistoryPage-BYTmtF_y-i9mylyuZ.js} +1 -1
  46. package/dist/assets/ChargeCardPromoPage-AI5bladj-BDPOfxSx.js +222 -0
  47. package/dist/assets/{ChargeCardRoutes-B9ifIaPD.js → ChargeCardRoutes-CUAUmOPf.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-BtikPFOq-B1Q5Q-k4.js → ChargeCardSetupPage-BjhqdubL-u9TM5_mu.js} +1 -1
  49. package/dist/assets/{ChargeCardStatementsPage-RepWBbvJ-BeTG3xG9.js → ChargeCardStatementsPage-DCM92s6v-CAUZgBlq.js} +2 -2
  50. package/dist/assets/{CheckDepositDrawerPage-BCqg3irO-LJQj-9cr.js → CheckDepositDrawerPage-CkIxEqHU-B7qz4vrp.js} +1 -1
  51. package/dist/assets/{CollapsableReportTable-gy7Ue_fk-xkuj86hA.js → CollapsableReportTable-ClHwXtCj-BfwfqIOK.js} +1 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-BsCx7q-g-C5hfQprP.js → CompanyOfficerDetailsSection-BY8hFQnp-DJfNkZb4.js} +16 -16
  53. package/dist/assets/{CompanyPassportCard-BbUWOs1U-Dw1HMrsN.js → CompanyPassportCard-B3rZE3pg-CtuQmTD5.js} +2 -2
  54. package/dist/assets/{CompanyPassportPage-BnP2oA1U-BahIQeuB.js → CompanyPassportPage-4FXVf3EP-DhUTHw6y.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-CT9c7lvA.js → CompanyPassportScreen-m_gXhHG_.js} +1 -1
  56. package/dist/assets/{CompleteProfile-TiRsm2Fm-fE1NUszo.js → CompleteProfile-B1BoilWd-LUJNszjE.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-D7J36hZf-CSVT9V2q.js → ConfettiBurst-CsbAGF65-C9KfsdE7.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-D6BkdM1l.js → ConnectionAuthScreen-Zn6jvlmq.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-vBI13ZbI.js → ConstrainedInnerElement-CgdnMeoA-Dc3P_0OR.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-Dihzr1D5-BUR2QFLa.js → CreateOrEditVendorPage-C50eYOFo-D8POwrMQ.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-CZGzDuxC-BUIdND4_.js → CreditCardPaymentDrawerPage-Dxz_SY7N-D8up_BJ4.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-BTAmIqPa-rlZjvsTh.js → CurrencySelectField-D2Ogwvbr-B4ftuyL3.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-MVI7kqIh-JD8ZqQ1I.js → CustomerOnboardingActivationPage-5Sh7hmI9-DpPsiuW1.js} +1 -1
  64. package/dist/assets/CustomerOnboardingAuthScreen-BhtVN8fo.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-B5kVGk_V-DpOBarI8.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CaI_0pCb-D_9R8ntI.js → CustomerOnboardingDetailPageSkeleton-CL-mOSUp-Crb7CsXj.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-CO_c2COV-CTf7zsp5.js → CustomerOnboardingNoStepsPage-CyL1AK78-Dsu24NnA.js} +9 -9
  68. package/dist/assets/{CustomerOnboardingPage-BF0vuYaJ-DB-M7FrJ.js → CustomerOnboardingPage-C8nxJPwo-UENXO6qW.js} +16 -16
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-BGFdLX1i-C8cOT0zx.js → CustomerOnboardingProductSuitePage-C7FbnHpU-C2FaoJHQ.js} +3 -3
  70. package/dist/assets/{CustomerOnboardingRoutes-BiogvBuq.js → CustomerOnboardingRoutes-DbUQBREw.js} +1 -1
  71. package/dist/assets/{Dashboard-Qjedd4r--CRbsfODt.js → Dashboard-Bpu-6Sm5-CcAT-BJw.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-Deith_ON-D8fEi8Zc.js → DashboardReportPage-B1aAikQG-BWThnMBB.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-BQeGUCAH.js → DashboardRoutes-aFJ2Gmek.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-C7DfUDio-C16c7XTp.js → DashboardSidebarBackgroundAnimation-C6xm-p2j-BW7a7KRi.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-DDgedZUJ.js → DefaultTenantHome-D-V97ZoE.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-7kYotKov-QpJvWZ45.js → DepositAccTransactionItem-DEU0DgtI-DX-mlAdm.js} +7 -7
  77. package/dist/assets/{DepositAccTransactionListPage-Bop4Uj5w-oeif2Id9.js → DepositAccTransactionListPage-Bh0dIkE9-CF_bG5NL.js} +4 -4
  78. package/dist/assets/{DomesticWireDetailScreen-6HCK_7TE.js → DomesticWireDetailScreen-DBNwn4TO.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-_TyXsqEx-BYHoiTtM.js → DomesticWireDetailsPage-2WyD73c9-B2JWW3fS.js} +1 -1
  80. package/dist/assets/{DownloadOverlay-Cmd727bN-C-PzxP5F.js → DownloadOverlay-B7M2VI7K-93vOHyTt.js} +14 -14
  81. package/dist/assets/{DrawerPage-DmGwfnGp-soZmQNN_.js → DrawerPage-DsQTxXa8-D8CWGNJU.js} +4 -4
  82. package/dist/assets/{DrawerScreen-C_1QezB2.js → DrawerScreen-DDmYCdH3.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-YyluIC6R-B0i1VKsb.js → EditPeoplePage-fY0HXvVS-C62IbLj9.js} +5 -5
  84. package/dist/assets/{EditReimbursementDetailPage-DeMid2Ko-B5ltV9Cy.js → EditReimbursementDetailPage-D7RUWSTZ-DVOazN97.js} +18 -18
  85. package/dist/assets/EntityDetailPage-BDyO7iLI-DsywTSaM.js +18 -0
  86. package/dist/assets/{EntityDetailRoutes--mZVfECz.js → EntityDetailRoutes-BGXfmx5_.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-5NbutA8l-DL6jpdFo.js → EntitySummarySection-0rRkC5V6-BD_Ykbrq.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-CQ_3WluW-CCAAzH1q.js → ExpenseAutomationOverviewPage-DOGAdZXV-Bv58nG4M.js} +8 -8
  89. package/dist/assets/{ExpenseAutomationPage-VuU4acYd-BNMHy7wa.js → ExpenseAutomationPage-DOsIzX0P-X4utEwdy.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-DyeVLVvz.js → ExpenseAutomationRoutes-eS-fi8G6.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-DhoNmyC2-BM7D8t94.js → ExpressPayPage-CIi6jM8Y-zeultZzf.js} +8 -8
  92. package/dist/assets/{FeaturePreviewPage-GSwhPxgP-CknFQRpv.js → FeaturePreviewPage-BVn6ZUOB-QQqfkJ8p.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-DcXxWeeZ.js → FeaturePreviewScreen-D5VxTq6D.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-DaueHRo4-R5WhFSRV.js → FollowStepsSection-CvWPHXDW-CX31cI67.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-DG7_1HOT-BY_P61_d.js → GlobalReviewListPage-CS_11bx0-BWWUBfxL.js} +1 -1
  96. package/dist/assets/{InformationCardStack-zc-BxR7F-Dc1qaC3e.js → InformationCardStack-B9g7W7Xx-BMa0JHtx.js} +3 -3
  97. package/dist/assets/{InsightsCardStack-DxCA5sFh-BcClR9fT.js → InsightsCardStack-mvzIc2uY-FQWyC3NM.js} +1 -1
  98. package/dist/assets/{InsightsSection-BdFG3j3R-D7JeFV31.js → InsightsSection-rGyA4lY9-ztCddwYb.js} +8 -8
  99. package/dist/assets/{IntegrationsSettingsPage-CaiL3kqS-BK30afn3.js → IntegrationsSettingsPage-Dwz4ukHF-I8L8bnwJ.js} +3 -3
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-BrQVSzeS-BpNTGybF.js → InternationalWireSwiftDetailsPage-Cm0H9oyf-Dq6HjvzW.js} +1 -1
  101. package/dist/assets/{InternationalWireVerificationPage-NaLnhW9C-xEbEY4G_.js → InternationalWireVerificationPage-woIoME3I-Dczyy-qA.js} +10 -10
  102. package/dist/assets/{InviteFormPage-fjqv2l7h-CN7vzCNz.js → InviteFormPage-DaZ-sJYV-B1D96lar.js} +13 -13
  103. package/dist/assets/{InvitePageListView-CQecQhxr-D7nG5RDJ.js → InvitePageListView-Do7EVQrj-CnaoEv-w.js} +1 -1
  104. package/dist/assets/{InvitePeoplePage-DAEBuOnk-etA_btSE.js → InvitePeoplePage-CpD7YoC2-CAkwuWqR.js} +2 -2
  105. package/dist/assets/{InvoiceUploadSection-58l6ePuH-DGEZcLC_.js → InvoiceUploadSection-DOuTQPee-DNxyr3cj.js} +11 -11
  106. package/dist/assets/{IssueChargeCardPage-Bkxqsgax-BZ-SKXi3.js → IssueChargeCardPage-ClMhr27d-m0kTf6sc.js} +9 -9
  107. package/dist/assets/{LabeledAddressValue-CZfFV97h-Bb57sB9z.js → LabeledAddressValue-B6_PZDTO-xVytB-P9.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-D66XOhMx-DAzGEgKS.js → LabeledAddressValueField-Cz6tRMoW-C7dop0k-.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-BtnsqE4D-pO3EStbM.js → LabeledControlledCheckBoxField-BEpAlnvo-BRLqoAnU.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-kopByxLB-CVmx734o.js → LabeledCountryMultiSelectField-1kTcZMQW-Cq5wOhkQ.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-B6An-cwq-ZwV4dPE-.js → LabeledCreatableSingleSelectField-PiLB1S77-CXLJARhZ.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-D_ZD8JTn-EgNCcbbj.js → LabeledDocumentField-Cicw8ABs-CehJpiD9.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-CJ7ncCzH-yHUhBReW.js → LabeledDropDownFormattedTextField-BEVVgIGK-ByxutmzB.js} +7 -7
  114. package/dist/assets/{LabeledEmailInputField-CSfzMDYO-Ccf6Bxv0.js → LabeledEmailInputField-C6gk3B5x-DQKZx3MY.js} +1 -1
  115. package/dist/assets/{LabeledNameField-DZJXGYR9-C9Z5T7ep.js → LabeledNameField-BpfxLnfN-Dp4_3qSf.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-D_LoOMiZ-CAsbCcep.js → LabeledSingleSelectField-Utmk8KVy-Cxr5xWDf.js} +1 -1
  117. package/dist/assets/{LabeledText-A1h_ionS-CcjmiFmI.js → LabeledText-C56xvYuX-BYR-B_G0.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-EIyuSMIG.js → LabeledUserSingleSelectWithSubtitlesField-CF4oVI17-C2nSJ6yS.js} +1 -1
  119. package/dist/assets/{LabeledZeniRolesDropDownField-DmynBXbJ-DglcXxDL.js → LabeledZeniRolesDropDownField-B5rxYfam-qcmbm9V-.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-D6-fL4a6-DlR8vjGO.js → LinkJETransactionPage-DbnaYlRA-UFjDu7p8.js} +10 -10
  121. package/dist/assets/{LockCardPage-BDlnh_zf-64lzFlF5.js → LockCardPage-XHbTmzq8-CizhFaVR.js} +8 -8
  122. package/dist/assets/{LowBalancePopup-CBPl_udd-Nqllub28.js → LowBalancePopup-IF7NG9aL-DyQqJJ_L.js} +5 -5
  123. package/dist/assets/MagicLinkACHDetailsPage-DbhqYo7W-C6hltO5g.js +1 -0
  124. package/dist/assets/MagicLinkDomesticWireDetailsPage-D0JDLfbz-Nd5n74ys.js +1 -0
  125. package/dist/assets/MagicLinkInternationalWireDetailsPage-DChqrJN7-d6t2QZpk.js +1 -0
  126. package/dist/assets/{MagicLinkRoutes-B4rSGEA5.js → MagicLinkRoutes-D4nTqNcw.js} +18 -18
  127. package/dist/assets/{MagicLinkSignInScreen-DL54w9kv.js → MagicLinkSignInScreen-DhnaHV0D.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-Cl461HWp-DrFI3SFX.js → MagicLinkSuccessPage-Cyr3p_8a-CVhCJtyQ.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-DoIMYrRv-BmkYYs3S.js → MagicLinkTitleSection-A4zyF5bg-B40bJuh0.js} +1 -1
  130. package/dist/assets/{MailingDetailsSection-NdwWGQ88-M0GYvrro.js → MailingDetailsSection-DqSOlu2t-CyUaZRam.js} +1 -1
  131. package/dist/assets/{MobileAppDrawer-D4KAg1N8.js → MobileAppDrawer-BRK9r0e2.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-CkkW1atP-BhjeSlOV.js → MoreMenuButton-B1OKwXLg-CUWjb2Vn.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-BU6TBzI1-D2Qaudqr.js → MyBankConnectionsSettingsPage-DtTjhna--DTBZyR2y.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-DcunCDU6-NjjjBd7F.js → MyPendingActivationChargeCardListPage-CKSWf7I4-5HMiO4ol.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-DF7ahyXE-BjXkIrz2.js → MyProfileSettingsPage-WF1pNlyU-DCBVPnlL.js} +1 -1
  136. package/dist/assets/NavBarWithPicker-DiCaJ8Qy-BnNZsOl6.js +30 -0
  137. package/dist/assets/{NavigationArrow-CWUL-6kN-DVve579d.js → NavigationArrow-f4Z3TuXg-UuhH1nBa.js} +7 -7
  138. package/dist/assets/{NavigationDots-c-XSrFzE-eujVKwdH.js → NavigationDots-WiVjbUsC-Crp3ArrF.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-FGEO68I8-XZyzhNzP.js → NewGlobalMerchantPage-kvjjwV8d-C2-dLqkh.js} +1 -1
  140. package/dist/assets/{NoDataChart-DJhSgtLu-BSak9fMr.js → NoDataChart-DlSLTzZl-FuGU3dm-.js} +1 -1
  141. package/dist/assets/{NoDataTable-BZiwo2qK-Cb8q0aH6.js → NoDataTable-9vLoRpsR-CqXldB2y.js} +1 -1
  142. package/dist/assets/{NotFoundPage-BN5unYX8-CqJlv_oy.js → NotFoundPage-CFlNCHFs-HVhDj2Ia.js} +5 -5
  143. package/dist/assets/{NotFoundScreen-DxyQKnff.js → NotFoundScreen-YeCuKQy4.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-DqG-dvkw.js → NotificationRoutes-Dd09Cbi8.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-d8kHDj0M-Beqgksyi.js → NotificationSettingsPage-KJzE9v4p-DOQO6pCa.js} +4 -4
  146. package/dist/assets/{NotificationsListConfig-ThKLok_w-B2H6cGPA.js → NotificationsListConfig-6sXXtF_E-BS4C2OAr.js} +1 -1
  147. package/dist/assets/{NotificationsPage-Uvu6XESA-B1Rgn8VW.js → NotificationsPage-D4AmPdo9-BPnTsbgm.js} +1 -1
  148. package/dist/assets/{OpExByVendorPage-QyqRkD2_-D5R40Gs5.js → OpExByVendorPage-B5Wtu3ww-DQg4-jJ4.js} +6 -6
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-C7rxXRm5.js → OverlayContainerPage-BG9y5C0t-COHi_UQx.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-DJ2v5qbE-BEs_yDo8.js → PandLWithForecastPage-CjkaxTx7-DQmjDDak.js} +1 -1
  151. package/dist/assets/PandLWithForecastRoutes-C4ljq3MB.js +1 -0
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-q5z8XZFC-DgyJWqIO.js → PaymentAccountSetupBillingAddressSection-eeLSg7xb-CRk9dKLv.js} +1 -1
  153. package/dist/assets/{PeoplePage-C5ZdpVyR-DYtjpv4S.js → PeoplePage-CQREy6SW-aaRJEBLV.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-BODLG-b6.js → PeopleRoutes-ChdDR42u.js} +3 -3
  155. package/dist/assets/{PerformanceRoutes-BqLOjKSO.js → PerformanceRoutes-C9_QucnY.js} +1 -1
  156. package/dist/assets/{Preview-C2UYzTeJ.js → Preview-CQ45ZFEO.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-CXjLTOLy-BLUY71s0.js → ProductsCarousel-COZZMTcH-Bzu55dWw.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-CN9uZfG4-BbNgX9Bb.js → PromoBaseCards-Bmn6TN2k-Bz52UdXc.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-CXSi1Pd9-dALyjXGw.js → QBOConnectionDialog-DYxoiSkA-BahHoGsk.js} +4 -4
  160. package/dist/assets/{QBOConnectionScreen-Ac9DU04j.js → QBOConnectionScreen-CvnGX6ip.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-BrtLMvEP-DHfwqwJo.js → QBOSetupSection-Cdz2PDxV-3UdpeU-_.js} +7 -7
  162. package/dist/assets/ReferralListScreen-rNybuoN2.js +5 -0
  163. package/dist/assets/{ReimbursementApprovalRoutes-B3As-zjk.js → ReimbursementApprovalRoutes-CoADYXXE.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CS1BQ7pL-DnepdUba.js → ReimbursementApprovalRuleDetailPage-C-QEoqCw-nwX6DLtF.js} +5 -5
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-gUYecGxU.js → ReimbursementApprovalRuleDetailScreen-Bqm6EOL1.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-aLRkhkZB-BEmJZKcM.js → ReimbursementApprovalRulesPage-Ch2sxTFV-tKNtb0zE.js} +26 -26
  167. package/dist/assets/{ReimbursementDetailPage-Dr5BTvEq-mnlxt9h1.js → ReimbursementDetailPage-DSF6SfKn--PtdBuMK.js} +5 -5
  168. package/dist/assets/{ReimbursementPromoPage-C5Z0mVhQ-nERw0M4a.js → ReimbursementPromoPage-F1ROFd63-BFHAhlMX.js} +11 -11
  169. package/dist/assets/{ReimbursementRoutes-vASJxFJ_.js → ReimbursementRoutes-DGj3kepc.js} +3 -3
  170. package/dist/assets/{ReimbursementSetUpPage-CXhOBErm-CR6Shq7r.js → ReimbursementSetUpPage-l2mhLFuo-DfOuAAr0.js} +1 -1
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CA0n0mau-Dwnq8e4l.js → ReimbursementsBulkReviewDrawerPage-DyPxPnlu-BmJ-UskM.js} +1 -1
  172. package/dist/assets/{ReloadCard-Bjp8ygC2-fExG7Dij.js → ReloadCard-CDcJMl9F-DmOo4rMc.js} +1 -1
  173. package/dist/assets/{ReportTableViewSelector-DTk1dNWC-tS3w4hoK.js → ReportTableViewSelector-DvCk55Hn-DU86kKFX.js} +5 -5
  174. package/dist/assets/ReportsPage-DfqqKSt3-DjEpZpYh.js +269 -0
  175. package/dist/assets/{ReportsRoutes-DYYeCY0N.js → ReportsRoutes-DrS0PfFL.js} +1 -1
  176. package/dist/assets/{RevenueChart-CqGvXDr4-BYM89H6k.js → RevenueChart-BONT9upM-Wgu_yKns.js} +1 -1
  177. package/dist/assets/{ReviewDetailsPage-CWBP7FBN-D5XTlGGP.js → ReviewDetailsPage-857bVurA-DISEdilE.js} +6 -6
  178. package/dist/assets/{ReviewOverlay-Cxkp85Kw-DWi1LLwl.js → ReviewOverlay-ClQg7d2j-DMLhTFSB.js} +1 -1
  179. package/dist/assets/RewardsRoutes-BI3CFx__.js +1 -0
  180. package/dist/assets/RoleWithToolTip-C0G1Hgp_-C6OnScGb.js +22 -0
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CYvlB3Nf-BjmGalLA.js → ScheduleDetailsFixedAssetsPage-CJ_JBtxS-BI5TWCkt.js} +4 -4
  182. package/dist/assets/{ScheduleDetailsPage-CZXJ15tN-Cvz9LjHh.js → ScheduleDetailsPage-B1aEwPL--CmKbMEkF.js} +3 -3
  183. package/dist/assets/{ScheduleSequenceTable-DNPID_7F-Dpy7XGsr.js → ScheduleSequenceTable-DhU7PI91-B_rwqPJI.js} +1 -1
  184. package/dist/assets/{ScreenRoutes-DMiG7sGl.js → ScreenRoutes-BEfnlKLo.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-_WPR-q2V-D1in60I8.js → SetUpAccountSection-C8dulq9s-NOviRS6G.js} +20 -20
  186. package/dist/assets/{SettingsRoutes-Cq0IT0xM.js → SettingsRoutes-Cv3I5FcH.js} +1 -1
  187. package/dist/assets/{SetupPagesScreen-By_64UnM.js → SetupPagesScreen-DXJ1IvhH.js} +1 -1
  188. package/dist/assets/{SignIn-CDEsZw_T-CdZG3KKx.js → SignIn-wDe7lbGR-CsMJoTy9.js} +4 -4
  189. package/dist/assets/{SignInScreen-BbMIUMVO.js → SignInScreen-TFIvhVsE.js} +1 -1
  190. package/dist/assets/{SignOutScreen-D0CN7EZM.js → SignOutScreen-DNlfKKyW.js} +1 -1
  191. package/dist/assets/{SpendManagementListViewPage-MOCWuROI-B6XDQZbP.js → SpendManagementListViewPage-BdddUHrW-DddaRnSk.js} +8 -8
  192. package/dist/assets/{SpendManagementPerTabPage-BeK0SCeE-uu94FLdi.js → SpendManagementPerTabPage-BBJm3884-BFVFYDTY.js} +1 -1
  193. package/dist/assets/{SpendManagementSection-DZFPfKNi-a6NNMz0d.js → SpendManagementSection-6R5y0Hy4-BDNcg1eM.js} +9 -9
  194. package/dist/assets/StatementItem-qsoXKx_p-B1TzdTRA.js +31 -0
  195. package/dist/assets/{StatementsPage-DYLp_e7W-DQJFRbex.js → StatementsPage-Cn7WG5-S-RUted-8P.js} +2 -2
  196. package/dist/assets/{StatusSwitcher-jxaonB4S-BRWCrppB.js → StatusSwitcher-D3qCg5J1-CR1Mcm2E.js} +1 -1
  197. package/dist/assets/{SubTabSwitcher-CudjNlsi-B0ZvqQ02.js → SubTabSwitcher-BXajy75j-Dc5sli1z.js} +1 -1
  198. package/dist/assets/{SuccessAnimation-DE_x1Zz_-CSRw6QzL.js → SuccessAnimation-CSblamOQ-Bn7t6Lwt.js} +1 -1
  199. package/dist/assets/SummaryCard-B1d4_5lE-Dcb38d7W.js +1 -0
  200. package/dist/assets/{TaskDetailPage-CXexRKAY-PJYd8Hc8.js → TaskDetailPage-CrsQnhu1-DqJUU9CD.js} +1 -1
  201. package/dist/assets/{TaskListScreen-D5r5oVZW.js → TaskListScreen-DQaj367P.js} +1 -1
  202. package/dist/assets/{TaskManagementPage-CTMoHv0R-DqoYVk-e.js → TaskManagementPage-h3Rb49Jj-CiFXDTcp.js} +1 -1
  203. package/dist/assets/TaskRoutes-DcIHRznV.js +9 -0
  204. package/dist/assets/{TimeRangeSwitcher-SqY2MHGs-vaeYYQAs.js → TimeRangeSwitcher-DpUOmqiR-D_tIz1xP.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcher-BlJ2fuHy-C0bwk8vS.js → TimeframeSwitcher-BKEtsv_r-CS6zQ4bX.js} +1 -1
  206. package/dist/assets/{TimeframeSwitcherWithToggle-Dgc1odUH-6AO25YrU.js → TimeframeSwitcherWithToggle-DECnQIMT-DCOsHatx.js} +10 -10
  207. package/dist/assets/{TopExCard-CG8YLsYe-Dhi0dyPE.js → TopExCard-leQR29Sq-DG9ySZIm.js} +1 -1
  208. package/dist/assets/{TopExDetailPage-TvYCbzSP-CwBViHGc.js → TopExDetailPage-Dgg7Do6D-B22efZAA.js} +3 -3
  209. package/dist/assets/{TransactionActivityLogPage-BL3vEAdU-CS7vD3qG.js → TransactionActivityLogPage-CU2pUJQL-CgftV9ye.js} +5 -5
  210. package/dist/assets/{TransactionDetailPage-DUouBL0o-BaXoqvey.js → TransactionDetailPage-FT2IPLH7-DAfWSPCG.js} +32 -32
  211. package/dist/assets/{TransactionDetailRoutes-B-UBtWLp.js → TransactionDetailRoutes-l4cqdz7w.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-B7XWRVbF.js → TransactionDetailScreen-BxZ1AvRI.js} +1 -1
  213. package/dist/assets/{TransactionList-B16NONME-CRFiM4VM.js → TransactionList-C2MGkQYM-CPp22oMb.js} +8 -8
  214. package/dist/assets/{TransactionListBig-CItPbTRV-UNSverIa.js → TransactionListBig-CZ3jIxzR-BG5pwJlw.js} +6 -6
  215. package/dist/assets/TransactionListPage-PCa4exLO-uM7mJD-y.js +35 -0
  216. package/dist/assets/{TransactionListRoutes-CMu9kV3q.js → TransactionListRoutes-veIGR3tC.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-DpqisXN8-D2bHcxtn.js → TransactionVendorDetailPage-BgcqndCu-BSSs2Jcd.js} +1 -1
  218. package/dist/assets/{TransferDrawerPage-Dsmbswu0-uDwjyCTF.js → TransferDrawerPage-SirvPH4z-DtzIcgDc.js} +10 -10
  219. package/dist/assets/{TreasuryOverviewPage-BcRpcYmB-OKQJLbcE.js → TreasuryOverviewPage-B_WK1aOv-Bqerf9ct.js} +1 -1
  220. package/dist/assets/{TreasuryPromoPage-DOO_OMRa-8BGrxptq.js → TreasuryPromoPage-B_D63Dr2-Di08g28n.js} +6 -6
  221. package/dist/assets/{TreasuryRoutes-Cb-myn_k.js → TreasuryRoutes-BDfDMqyl.js} +6 -6
  222. package/dist/assets/{TreasuryStatementsPage-A_U7bEy5-CYr3tH5Z.js → TreasuryStatementsPage-BGe0fhBe-D_xnH4qk.js} +2 -2
  223. package/dist/assets/{TreasuryTaxLetterPage-BsJn-BgX-D1G4s_HP.js → TreasuryTaxLetterPage-9gNdkQZp-CGVWuYY2.js} +2 -2
  224. package/dist/assets/{TrendChart-GMMat-NG-DkIjx5iX.js → TrendChart-COItOWPp-Bqzu2MgM.js} +2 -2
  225. package/dist/assets/{TrendWithTransactions-CrA4opNV-BCS_tNQW.js → TrendWithTransactions-DgAw_8CI-MC8wGnO9.js} +8 -8
  226. package/dist/assets/{UncategorizedAccountsMappingPage-CrzbFGOi-7c9nQkHm.js → UncategorizedAccountsMappingPage-B9EziB6Q-gv_x6dec.js} +1 -1
  227. package/dist/assets/{UnitIntegrationPage-XZY6zJa7-Bog6bLZs.js → UnitIntegrationPage-DGWNyWV1-Dx2SNOLo.js} +1 -1
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-eqwSLigx-Cfv8NRXy.js → UploadAdditionalDocumentOverlay-DWmMz_8y-Dm_NzTDF.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-BHDivuPB-CB8oiip3.js → Vendor2FAPopup-dh2g8kqu-tmyn1K6T.js} +1 -1
  230. package/dist/assets/VendorACHDetailsPage-C0vIRpRW-DV0u5MUr.js +1 -0
  231. package/dist/assets/{VendorDetailPage-DEu-yS8w-BHxBRvla.js → VendorDetailPage-CGqoIODq-DATvkiT-.js} +13 -13
  232. package/dist/assets/VendorDomesticWireDetailsPage-BVXSOMiH-DLIihksm.js +1 -0
  233. package/dist/assets/{VendorFiling1099EditablePage-C461SzO0-Cw1duzzR.js → VendorFiling1099EditablePage-CsnlHrCl-DrSHAjrS.js} +1 -1
  234. package/dist/assets/{VendorFirstReviewPage-klbCHS04-yDjeltgT.js → VendorFirstReviewPage-DC1j2sO_-BShWc2PZ.js} +7 -7
  235. package/dist/assets/{VendorInternationalWireDetailsPage-DY0V-VbO-BJcPP-gp.js → VendorInternationalWireDetailsPage-Drr00a6C-B8ypeLTf.js} +1 -1
  236. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CZ5N8G2o-Cr3Iymam.js +1 -0
  237. package/dist/assets/{VendorsAccountsSection-Cqcr-ArD-BIHA7sqx.js → VendorsAccountsSection-BtdwR8u4-CH_AUGJD.js} +1 -1
  238. package/dist/assets/{VendorsRoutes-CgJOnYMS.js → VendorsRoutes-DTveFO9E.js} +11 -11
  239. package/dist/assets/{VerifyDevice-Dhu5iywf-CpE-kgrB.js → VerifyDevice-Bhr_yHpE-BmXUueZN.js} +4 -4
  240. package/dist/assets/{VideoPlayer-ZGjx_Hp7-BHgQYkml.js → VideoPlayer-wlJX6lEq-BRAB9bV0.js} +1 -1
  241. package/dist/assets/VideoPopup-BPptwR51-Dm-cn-KD.js +31 -0
  242. package/dist/assets/{WiseConfirmationScreen-BTkxegx5.js → WiseConfirmationScreen-Be5nRHHx.js} +1 -1
  243. package/dist/assets/{ZeniAccountDetailPage-DQB7sXU9-ZmSVhLSw.js → ZeniAccountDetailPage-CSsu44ls-2H7-YqPq.js} +12 -12
  244. package/dist/assets/{ZeniAccountListViewPage-BwXKgf6g-Ctizh7he.js → ZeniAccountListViewPage-BZwGCrzx-Hl1cOwI1.js} +32 -32
  245. package/dist/assets/{ZeniAccountNavBarPieces-CHUTFAWG-BmLRxXwk.js → ZeniAccountNavBarPieces-CrNjnkNS-CNki38NN.js} +5 -5
  246. package/dist/assets/{ZeniAccountPromoPage-BkfJuMNV-Ckl9m4pN.js → ZeniAccountPromoPage-CahV-Rmf-Dvz1FwqA.js} +1 -1
  247. package/dist/assets/{ZeniAccountRoutes-D71bZRux.js → ZeniAccountRoutes-BMxuBylQ.js} +1 -1
  248. package/dist/assets/{ZeniAccountSetupPage-C3drM4Zs-B_sQz9qJ.js → ZeniAccountSetupPage-DSNDNKZr-CwYlMf2d.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-BI6AQKJr.js → ZeniAccountStatementScreen-BJVQBUGi.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-C38T0-5--BSN8GGLN.js → ZeniAvatar-De0hFvIm-DzjTiqNz.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-CznSgVJF-B8RRSTgM.js → ZeniCopyright-BNGdkMOa-Cl7T_xPz.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-Bw9RlgoL-BmT27weB.js → ZeniDatePicker-CYNEE0pM-DG-NDcrF.js} +4 -4
  253. package/dist/assets/{ZeniTransferAmountSlider-C77DEl-C-CruP3RMa.js → ZeniTransferAmountSlider-DuD1JtSv-DhSBAK_q.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-B1SwIfFo.js → accountMappingHelper-FrhvxzcW.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-2vbkyqzY.js → add-to-wallet-DgdBD8_G-BqBidt5n.js} +1 -1
  256. package/dist/assets/{analytics-Qgv3Fhaa.js → analytics-CVqRc8fh.js} +1 -1
  257. package/dist/assets/{analyticsHelper-BtB7CtC3.js → analyticsHelper-DJS6x-LZ.js} +1 -1
  258. package/dist/assets/{analyticsHelper-Bh8o1v3y-DbxZaMDt.js → analyticsHelper-DjQYjslY-BxoS4N1f.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-CHgaZ-yo.js → arrow-south-east-round-PEovUgvH-B3QTzBHA.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-BdBsn5Ol.js → auto-transfer-rule-mbafm5D3-de_8OjuK.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-CxU8IzEu.js → avatar-Dz7aEm3d-B-3VAvb3.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-DhC6VHDB.js → bank-letter-BOcVjN6J-KdddOmyc.js} +1 -1
  263. package/dist/assets/{calculateSize-QoQyn_Ku-BQL_mWcG.js → calculateSize-i9QGr8q0-Dp5VSL_N.js} +1 -1
  264. package/dist/assets/{chartTypes-C14YY2Rq--XZc2xV6.js → chartTypes-BGl-YMiu-DyUWLIfR.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-BBrb7jeK.js → clock-CJkylEKt-CB7HCMZv.js} +1 -1
  266. package/dist/assets/common-Cws59IN1-fneKv-li.js +1 -0
  267. package/dist/assets/{commonDimensions-CVpc-NCw-CA0m656N.js → commonDimensions-CuKo3wam-D08uyy0o.js} +1 -1
  268. package/dist/assets/{commonTypes-Ec-PxfpT-DzRDGsuT.js → commonTypes-CfAg6Jvv-C_Qjl0Ts.js} +1 -1
  269. package/dist/assets/{core-CaikJZHD.js → core-AYNw6kyJ.js} +1 -1
  270. package/dist/assets/{dash.all.min-CteFsaah.js → dash.all.min-Dq_dQY1I.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-DcEFJStp.js → decodeURIComponentSafe-E-sgiudi.js} +1 -1
  272. package/dist/assets/{dnd-CzsffKNn.js → dnd-Dw-riVE4.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-BF4Thvjs.js → dollar-round-D18u7nlm-CvsBoEut.js} +1 -1
  274. package/dist/assets/{downloadPdf-BuPJ6cfr-Bn04BzVs.js → downloadPdf-Dcd8BY_9--BaRfov1.js} +1 -1
  275. package/dist/assets/{empty-B5B-FKq1.js → empty-C9c-cai_.js} +1 -1
  276. package/dist/assets/{empty-CTO6rJhq.js → empty-CX0U2Ty5.js} +1 -1
  277. package/dist/assets/{epic-DtTDCbBB.js → epic-B6fOiqme.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-CWbeOwgA.js → filter-cZIFUNvj-lFkn5gVk.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-dwEXf4rX.js → getLocaleForTenant-x8J8_kQc.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-BfzCBGHZ.js → gift-box-Cmt9OgIZ-BPwbjUGz.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DEuKmvBU.js → graphic-no-data-l-DU4J8fDt-CaJy2HdS.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CIA_wKU3.js → graphic-no-data-net-burn-l-CzmycA0m-C9pmzSAL.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-Z_I5plJl.js → handshake-BPg58FML-BSOSNqUk.js} +1 -1
  284. package/dist/assets/{helper-AgH8nJln-BDBxe9FK.js → helper-DkzA3y2L-CVdrHzZT.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-Bwqrw7ES.js → hyperlink-DQyCeXx2-CVVb97aA.js} +1 -1
  286. package/dist/assets/{index-CuxRoVvZ.js → index-CilRLucN.js} +6 -6
  287. package/dist/assets/{index-BL34svil.js → index-Dm85Hu6Z.js} +1 -1
  288. package/dist/assets/{index-B7wRNic7.js → index-DqcXLX0N.js} +1 -1
  289. package/dist/assets/{index-B9eknY8q.js → index-DubSD1fb.js} +1 -1
  290. package/dist/assets/{index-CLf01Vy8.js → index-NZat51vK.js} +1 -1
  291. package/dist/assets/{index-B9myuWEH.js → index-wicPWwlB.js} +1 -1
  292. package/dist/assets/{lexical-CXNTSpM4.js → lexical-B-dyW3-4.js} +1 -1
  293. package/dist/assets/{liveblocks--AdozwCz.js → liveblocks-DJcRPJQh.js} +1 -1
  294. package/dist/assets/{lottie-D86WIi_0.js → lottie-DdLBMmzp.js} +1 -1
  295. package/dist/assets/{mapLoadingInProgressToTreeNode-DTyQHWMc-tj_AEx0m.js → mapLoadingInProgressToTreeNode-lABm-2N9-Chsh4dr_.js} +1 -1
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D7pjBGp6-bV4CDhWS.js → mapSectionWithAcOnlyToTreeNode-COcUb2pF-DXYL2e9L.js} +1 -1
  297. package/dist/assets/mapSpacerToTreeNode-BDjo5N-i-D6CiBSSk.js +1 -0
  298. package/dist/assets/mapTimeframeBalancesToTreeNode-CvVUjW74-CI8ETEqs.js +1 -0
  299. package/dist/assets/mapTimeframeBalancesToTreeNode-CwHF76sn-CrCtE0Hw.js +1 -0
  300. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B7LYTZXQ-Dr2IrdLd.js +1 -0
  301. package/dist/assets/{media-player-OnsEq_AY.js → media-player-V7uSzi45.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-CfgKOIyt.js → money-2cg1MuG4-B7YE6t0I.js} +1 -1
  303. package/dist/assets/{mui-G2MlMTlr.js → mui-Ckdcx_YE.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-CWJ8fnGp.js → page-detail-CWX5S47F-NqWvakND.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-CaK_VLEF.js → page-summary-D7_VQHwN-BvkWkaoT.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-XfdQwEMM.js → panelSelectedMixin-Cddsb26L-CROMd__p.js} +1 -1
  307. package/dist/assets/{pathToGoBack-Dh6AhADv.js → pathToGoBack-C_2xxQDe.js} +1 -1
  308. package/dist/assets/{pdf-DwfifS04.js → pdf-CwWlK-Dr.js} +3 -3
  309. package/dist/assets/{pdf-lib-CuGtb6jg.js → pdf-lib-DhaWOBih.js} +1 -1
  310. package/dist/assets/{plaid-CcxzSXZd.js → plaid-BhP6n1uc.js} +1 -1
  311. package/dist/assets/{pusher-BNSVRSP_.js → pusher-8DhjdTCA.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-CF7OSKL1.js → radio-default-CiSgisfh-BoUlFA9D.js} +1 -1
  313. package/dist/assets/{react-BEcxr4nX.js → react-BHDcRwxI.js} +1 -1
  314. package/dist/assets/{react-V3TERlfD.js → react-BwCmpEw6.js} +1 -1
  315. package/dist/assets/{react-Cobj-_wp.js → react-CB4dPBRZ.js} +3 -3
  316. package/dist/assets/{react-DOvM9ag3.js → react-CE6422aE.js} +1 -1
  317. package/dist/assets/{react-Chqt_ss-.js → react-CGVKTtsW.js} +1 -1
  318. package/dist/assets/{react-BUDcsgZo.js → react-D-APY71d.js} +1 -1
  319. package/dist/assets/{react-C0Whd_8a.js → react-D4pZVe2B.js} +1 -1
  320. package/dist/assets/{react-WpjiT9jD.js → react-D_0srhsg.js} +1 -1
  321. package/dist/assets/{recharts-3tylCZU1.js → recharts-Dr1JzI4y.js} +1 -1
  322. package/dist/assets/{routePaths-CkO80-xL.js → routePaths-DqRhLReO.js} +1 -1
  323. package/dist/assets/{sentry-Cm8I7E9J.js → sentry-D-LCra2M.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-tt-dORuJ.js → shield-DOlUxcFf-D5PHf2Tj.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-d-tIWfnn.js → spend-limit-D6SyboD4-D85B38gI.js} +1 -1
  326. package/dist/assets/toCOABalancesWithID-CGYYTIjt-Cbihktyj.js +1 -0
  327. package/dist/assets/{toChartData-G5y-N82I-CpDZEMyX.js → toChartData-B4ligi4c-CgbG1qSk.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-CXIruzlf.js → transaction-placeholder-CpOwZAMG-Ca0HZ2W6.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-5VNbpbUY.js → undo-b_3XZ5CX-CSQ0fDLS.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-8UNw8MhM.js → unlock-BPWn2I5L-DDdPB9QU.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BhCuFTsT.js → upload-reimbursement-receipt-O2N8vcO7-DNsQOTk3.js} +1 -1
  332. package/dist/assets/{uploadAttachment-RbkIBMGO-DWkpV7gc.js → uploadAttachment-DgPDimcm-gkAtAf5q.js} +1 -1
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-BxCHb2mc.js → uploadReceipts-CIgkuVpu-CPDGmbPp.js} +1 -1
  334. package/dist/assets/{url-CvhemPUG.js → url-BK92KGZc.js} +1 -1
  335. package/dist/assets/{url-BMzuxPwA.js → url-DUid0IO0.js} +1 -1
  336. package/dist/assets/{useDeviceId-BzlY8kf5.js → useDeviceId-BCros22l.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-CtiCksTW.js → useInitialThreadRequest-Wj3ao3U4.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-BgmUYGJ7.js → useLongPress-GCK2COYQ-Bs4IMufW.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-BqojtCEK.js → usp-line-BBd1wKwW-BBaxYQlT.js} +1 -1
  340. package/dist/assets/{utils-BhOlvYO8.js → utils-CI1RvLss.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-DXYKCsTM.js → withTransactionSidePanel-CEBXOpSa.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-lC5X-sam.js → zeni-epic-state-B1zsDZZ4.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-DZ6h0uLr.js → zeni-icon-only-Bb7XRMgX.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +2 -2
  346. package/dist/assets/AccountInfoPage-pEEhPqOb-BzcKyQfW.js +0 -18
  347. package/dist/assets/ApAgingDetailPage-CxLVGnpY-BrZpRxc6.js +0 -46
  348. package/dist/assets/BillPayApprovalRuleDetailPage-Blxlv3pa-NuWc5jPY.js +0 -27
  349. package/dist/assets/ChargeCardPromoPage-D4canPX9-B2gMZ94L.js +0 -222
  350. package/dist/assets/CustomerOnboardingAuthScreen-DsZqZ3Im.js +0 -1
  351. package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--zNlFTkjO.js +0 -1
  352. package/dist/assets/EntityDetailPage-DPTSSZdS-CPjJOO2E.js +0 -18
  353. package/dist/assets/MagicLinkACHDetailsPage-eq8wlXQr-DwBTA9or.js +0 -1
  354. package/dist/assets/MagicLinkDomesticWireDetailsPage-BcNOhJgL-M9e4wRPN.js +0 -1
  355. package/dist/assets/MagicLinkInternationalWireDetailsPage-Df8XYlkg-BKUO0J46.js +0 -1
  356. package/dist/assets/NavBarWithPicker-D2v1fhLS-CH1wdNXM.js +0 -30
  357. package/dist/assets/PandLWithForecastRoutes-CRImnf0E.js +0 -1
  358. package/dist/assets/ReferralListScreen-BaUv0jQW.js +0 -5
  359. package/dist/assets/ReportsPage-DrjOGopt-CEvm9-2-.js +0 -258
  360. package/dist/assets/RewardsRoutes-BcQjimjg.js +0 -1
  361. package/dist/assets/RoleWithToolTip-CqLxmtj6-BxFgYmxI.js +0 -22
  362. package/dist/assets/StatementItem-DjvU5wiI-BbvkEOCR.js +0 -31
  363. package/dist/assets/SummaryCard-DPOhBmkr-Bkvd2_eX.js +0 -1
  364. package/dist/assets/TaskRoutes-ByOGwdlB.js +0 -9
  365. package/dist/assets/TransactionListPage-DNecYY8M-BHlckINI.js +0 -35
  366. package/dist/assets/VendorACHDetailsPage-DJ4Crnr0-ChbQ_fot.js +0 -1
  367. package/dist/assets/VendorDomesticWireDetailsPage-WFcOmpiN-0MxyPK7N.js +0 -1
  368. package/dist/assets/VendorInternationalWireSwiftDetailsPage-B8sx02I_-CFJY5gem.js +0 -1
  369. package/dist/assets/VideoPopup-R3u0N_if-SR7jlWFi.js +0 -31
  370. package/dist/assets/common-Cu5K0AJk-Cxd55kqL.js +0 -1
  371. package/dist/assets/mapSpacerToTreeNode-Cd4FCXAf-9PB61B4X.js +0 -1
  372. package/dist/assets/mapTimeframeBalancesToTreeNode-Drhl_lnP-DCqw81Fp.js +0 -1
  373. package/dist/assets/mapTimeframeBalancesToTreeNode-UsawmMLa-CPc-fd5T.js +0 -1
  374. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-BaY2mTy_.js +0 -1
  375. package/dist/assets/toCOABalancesWithID-wh35N3no-D_L2t0iR.js +0 -1
@@ -1,4 +1,4 @@
1
- import{e as K,N as Ei,h as de,T as Li,V as i,a as Z,E as T,O as y,b as Ze,p as Ue,A as Mi,W as _i,o as n,c as Be,x as v,r as Ti,d as We,M as ce,f as m,u as gi,n as pi,R as Pi,C as B,g as Vi,L as Di,i as Fi,l as hi,w as U,H as ge,j as Hi,k as Ai,m as P,s as Ni,D as Oi,q as Ri,t as Zi,$ as Ui,v as Bi}from"./index-CuxRoVvZ.js";import{a as t,b as Wi}from"./sentry-Cm8I7E9J.js";import{n as o,c as mi,k as xi}from"./mui-G2MlMTlr.js";import{F3 as se}from"./zeni-epic-state-lC5X-sam.js";import{a as Gi}from"./ZeniCopyright-CznSgVJF-B8RRSTgM.js";import{T as Ji}from"./ProductsCarousel-CXjLTOLy-BLUY71s0.js";import{t as qi}from"./handshake-BPg58FML-Z_I5plJl.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="1eb9ff4c-0be0-4a9e-8e55-34c64153d9a1",e._sentryDebugIdIdentifier="sentry-dbid-1eb9ff4c-0be0-4a9e-8e55-34c64153d9a1")}catch{}})();const Ki=(e,l,c,p,g)=>{const a=Math.max(p,Math.min(g,e)),f=g-p;return l+(c-l)*(f>0?(a-p)/f:0)},ui=e=>t.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M5.49686 0.437846C3.50884 1.1044 1.81485 2.56223 0.871312 4.40709C0.542169 5.04355 0.305187 5.71871 0.160364 6.41967C-0.199498 8.15702 0.0506501 10.0105 0.866923 11.593C1.39794 12.6251 2.16155 13.5454 3.08315 14.2636C3.95647 14.943 4.97023 15.4505 6.04982 15.73C7.41028 16.0869 8.8585 16.0783 10.2277 15.773C11.4653 15.4935 12.6371 14.9129 13.5718 14.07C14.5592 13.1799 15.2658 12.0102 15.6388 10.7502C16.047 9.37833 16.0996 7.9119 15.8451 6.50138C13.2866 6.50138 10.7236 6.50138 8.16511 6.50138C8.16511 7.54207 8.16511 8.58276 8.16511 9.62345C9.64844 9.62345 11.1318 9.62345 12.6151 9.62345C12.444 10.6211 11.8383 11.5328 10.9826 12.0962C10.4428 12.4531 9.82399 12.681 9.18326 12.7928C8.54253 12.9003 7.87546 12.9132 7.23473 12.7885C6.58084 12.6595 5.96205 12.3929 5.41787 12.0188C4.54893 11.421 3.88626 10.548 3.54834 9.56325C3.20164 8.56126 3.19725 7.44746 3.54834 6.44977C3.7941 5.74451 4.19784 5.09515 4.73325 4.56191C5.39153 3.89965 6.24731 3.42661 7.17329 3.23309C7.96323 3.06968 8.79706 3.09978 9.56945 3.3277C10.2277 3.52122 10.8334 3.87815 11.3293 4.34259C11.8296 3.85235 12.3299 3.3621 12.8302 2.87186C13.0935 2.60954 13.3699 2.35581 13.6245 2.08489C12.8653 1.39683 11.97 0.842081 10.9957 0.48945C9.24031 -0.147006 7.26545 -0.159907 5.49686 0.437846Z",fill:"white"}),t.createElement("path",{d:"M5.49686 0.43784C7.26106 -0.159913 9.2403 -0.147012 10.9957 0.485144C11.97 0.837775 12.8609 1.38822 13.6245 2.08058C13.3699 2.35151 13.0935 2.60523 12.8302 2.86755C12.3299 3.3578 11.8296 3.84804 11.3293 4.33828C10.8334 3.87384 10.2277 3.52121 9.56945 3.32339C8.79706 3.09547 7.96323 3.06107 7.17329 3.22879C6.25169 3.4223 5.39592 3.89534 4.73325 4.5576C4.19784 5.08655 3.79409 5.74021 3.54833 6.44547C2.65745 5.76601 1.76657 5.09085 0.871307 4.41139C1.81485 2.56223 3.50884 1.1044 5.49686 0.43784Z",fill:"#EA4335"}),t.createElement("path",{d:"M0.164771 6.41539C0.309594 5.71873 0.546576 5.03927 0.875719 4.40282C1.7666 5.08228 2.65748 5.75744 3.55274 6.4369C3.20166 7.43888 3.20166 8.55268 3.55274 9.55037C2.66186 10.2298 1.77099 10.9093 0.880107 11.5844C0.0550569 10.0062 -0.195091 8.15275 0.164771 6.41539Z",fill:"#FBBC05"}),t.createElement("path",{d:"M8.16515 6.49707C10.7237 6.49707 13.2866 6.49707 15.8451 6.49707C16.0997 7.90329 16.0426 9.36972 15.6389 10.7458C15.2659 12.0059 14.5593 13.1756 13.5719 14.0657C12.7073 13.4078 11.8428 12.7498 10.9782 12.0919C11.834 11.5285 12.4396 10.6168 12.6108 9.61914C11.1274 9.61914 9.6441 9.61914 8.16077 9.61914C8.16516 8.57845 8.16515 7.53776 8.16515 6.49707Z",fill:"#4285F4"}),t.createElement("path",{d:"M0.871338 11.5887C1.76222 10.9135 2.6531 10.2341 3.54397 9.55461C3.88628 10.5394 4.54457 11.4124 5.4135 12.0101C5.95769 12.3843 6.58086 12.6509 7.23037 12.7799C7.8711 12.9089 8.53377 12.8917 9.17889 12.7842C9.81962 12.6724 10.4384 12.4445 10.9782 12.0875C11.8428 12.7455 12.7073 13.4034 13.5718 14.0614C12.6371 14.9086 11.4653 15.4848 10.2278 15.7644C8.85853 16.0697 7.4103 16.0783 6.04985 15.7214C4.97026 15.4418 3.9565 14.9387 3.08317 14.2549C2.16596 13.5411 1.40235 12.6208 0.871338 11.5887Z",fill:"#34A853"})),wi=e=>t.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M0 0H7.58546V7.58546H0V0Z",fill:"#F25022"}),t.createElement("path",{d:"M8.37742 0H15.9629V7.58546H8.37742V0Z",fill:"#7FBA00"}),t.createElement("path",{d:"M0 8.37741H7.58546V15.9629H0V8.37741Z",fill:"#00A4EF"}),t.createElement("path",{d:"M8.41454 8.41454H16V16H8.41454V8.41454Z",fill:"#FFB900"})),Xi=y.getLocalizedStrings(),Qi=o.div`
1
+ import{e as K,N as Ei,h as de,T as Li,V as i,a as Z,E as T,O as y,b as Ze,p as Ue,A as Mi,W as _i,o as n,c as Be,x as v,r as Ti,d as We,M as ce,f as m,u as gi,n as pi,R as Pi,C as B,g as Vi,L as Di,i as Fi,l as hi,w as U,H as ge,j as Hi,k as Ai,m as P,s as Ni,D as Oi,q as Ri,t as Zi,$ as Ui,v as Bi}from"./index-CilRLucN.js";import{a as t,b as Wi}from"./sentry-D-LCra2M.js";import{n as o,c as mi,k as xi}from"./mui-Ckdcx_YE.js";import{F3 as se}from"./zeni-epic-state-B1zsDZZ4.js";import{a as Ji}from"./ZeniCopyright-BNGdkMOa-Cl7T_xPz.js";import{T as Gi}from"./ProductsCarousel-COZZMTcH-Bzu55dWw.js";import{t as qi}from"./handshake-BPg58FML-BSOSNqUk.js";import"./pdf-CwWlK-Dr.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="5a177958-3b54-4e00-a028-056f29b58301",e._sentryDebugIdIdentifier="sentry-dbid-5a177958-3b54-4e00-a028-056f29b58301")}catch{}})();const Ki=(e,l,c,p,g)=>{const a=Math.max(p,Math.min(g,e)),f=g-p;return l+(c-l)*(f>0?(a-p)/f:0)},ui=e=>t.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M5.49686 0.437846C3.50884 1.1044 1.81485 2.56223 0.871312 4.40709C0.542169 5.04355 0.305187 5.71871 0.160364 6.41967C-0.199498 8.15702 0.0506501 10.0105 0.866923 11.593C1.39794 12.6251 2.16155 13.5454 3.08315 14.2636C3.95647 14.943 4.97023 15.4505 6.04982 15.73C7.41028 16.0869 8.8585 16.0783 10.2277 15.773C11.4653 15.4935 12.6371 14.9129 13.5718 14.07C14.5592 13.1799 15.2658 12.0102 15.6388 10.7502C16.047 9.37833 16.0996 7.9119 15.8451 6.50138C13.2866 6.50138 10.7236 6.50138 8.16511 6.50138C8.16511 7.54207 8.16511 8.58276 8.16511 9.62345C9.64844 9.62345 11.1318 9.62345 12.6151 9.62345C12.444 10.6211 11.8383 11.5328 10.9826 12.0962C10.4428 12.4531 9.82399 12.681 9.18326 12.7928C8.54253 12.9003 7.87546 12.9132 7.23473 12.7885C6.58084 12.6595 5.96205 12.3929 5.41787 12.0188C4.54893 11.421 3.88626 10.548 3.54834 9.56325C3.20164 8.56126 3.19725 7.44746 3.54834 6.44977C3.7941 5.74451 4.19784 5.09515 4.73325 4.56191C5.39153 3.89965 6.24731 3.42661 7.17329 3.23309C7.96323 3.06968 8.79706 3.09978 9.56945 3.3277C10.2277 3.52122 10.8334 3.87815 11.3293 4.34259C11.8296 3.85235 12.3299 3.3621 12.8302 2.87186C13.0935 2.60954 13.3699 2.35581 13.6245 2.08489C12.8653 1.39683 11.97 0.842081 10.9957 0.48945C9.24031 -0.147006 7.26545 -0.159907 5.49686 0.437846Z",fill:"white"}),t.createElement("path",{d:"M5.49686 0.43784C7.26106 -0.159913 9.2403 -0.147012 10.9957 0.485144C11.97 0.837775 12.8609 1.38822 13.6245 2.08058C13.3699 2.35151 13.0935 2.60523 12.8302 2.86755C12.3299 3.3578 11.8296 3.84804 11.3293 4.33828C10.8334 3.87384 10.2277 3.52121 9.56945 3.32339C8.79706 3.09547 7.96323 3.06107 7.17329 3.22879C6.25169 3.4223 5.39592 3.89534 4.73325 4.5576C4.19784 5.08655 3.79409 5.74021 3.54833 6.44547C2.65745 5.76601 1.76657 5.09085 0.871307 4.41139C1.81485 2.56223 3.50884 1.1044 5.49686 0.43784Z",fill:"#EA4335"}),t.createElement("path",{d:"M0.164771 6.41539C0.309594 5.71873 0.546576 5.03927 0.875719 4.40282C1.7666 5.08228 2.65748 5.75744 3.55274 6.4369C3.20166 7.43888 3.20166 8.55268 3.55274 9.55037C2.66186 10.2298 1.77099 10.9093 0.880107 11.5844C0.0550569 10.0062 -0.195091 8.15275 0.164771 6.41539Z",fill:"#FBBC05"}),t.createElement("path",{d:"M8.16515 6.49707C10.7237 6.49707 13.2866 6.49707 15.8451 6.49707C16.0997 7.90329 16.0426 9.36972 15.6389 10.7458C15.2659 12.0059 14.5593 13.1756 13.5719 14.0657C12.7073 13.4078 11.8428 12.7498 10.9782 12.0919C11.834 11.5285 12.4396 10.6168 12.6108 9.61914C11.1274 9.61914 9.6441 9.61914 8.16077 9.61914C8.16516 8.57845 8.16515 7.53776 8.16515 6.49707Z",fill:"#4285F4"}),t.createElement("path",{d:"M0.871338 11.5887C1.76222 10.9135 2.6531 10.2341 3.54397 9.55461C3.88628 10.5394 4.54457 11.4124 5.4135 12.0101C5.95769 12.3843 6.58086 12.6509 7.23037 12.7799C7.8711 12.9089 8.53377 12.8917 9.17889 12.7842C9.81962 12.6724 10.4384 12.4445 10.9782 12.0875C11.8428 12.7455 12.7073 13.4034 13.5718 14.0614C12.6371 14.9086 11.4653 15.4848 10.2278 15.7644C8.85853 16.0697 7.4103 16.0783 6.04985 15.7214C4.97026 15.4418 3.9565 14.9387 3.08317 14.2549C2.16596 13.5411 1.40235 12.6208 0.871338 11.5887Z",fill:"#34A853"})),wi=e=>t.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M0 0H7.58546V7.58546H0V0Z",fill:"#F25022"}),t.createElement("path",{d:"M8.37742 0H15.9629V7.58546H8.37742V0Z",fill:"#7FBA00"}),t.createElement("path",{d:"M0 8.37741H7.58546V15.9629H0V8.37741Z",fill:"#00A4EF"}),t.createElement("path",{d:"M8.41454 8.41454H16V16H8.41454V8.41454Z",fill:"#FFB900"})),Xi=y.getLocalizedStrings(),Qi=o.div`
2
2
  margin-left: ${n.sp3};
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  font-family: ${Bi.Roboto};
@@ -81,7 +81,7 @@ import{e as K,N as Ei,h as de,T as Li,V as i,a as Z,E as T,O as y,b as Ze,p as U
81
81
  flex-direction: column;
82
82
  align-items: flex-start;
83
83
  justify-content: center;
84
- `,mn=({type:e,titleText:l})=>{const c=K();return i.jsxs(rn,{children:[e==="Google"?i.jsx(tn,{}):i.jsx(an,{}),i.jsx(Qi,{windowSize:c,children:l})]})},xn=({type:e,email:l,firstName:c,photo:p})=>i.jsxs(gn,{children:[i.jsxs(pn,{children:[i.jsx(Yi,{src:p?.href,alt:l,onError:({currentTarget:g})=>{g.onerror=null,g.src=Ni},loading:"lazy"}),i.jsxs(hn,{children:[i.jsxs(dn,{children:[Xi.signIn.continueAs," ",c??""]}),i.jsxs(en,{children:[i.jsx(cn,{children:l}),i.jsx(nn,{})]})]})]}),e==="Google"?i.jsx(sn,{}):i.jsx(ln,{})]});function le({type:e,titleText:l,disabled:c,loadingIndication:p,email:g,firstName:a,photo:f,onClick:C}){const x=K();return i.jsx(on,{setWidth:g==null,windowSize:x,disabled:c===!0,onClick:c===!0?void 0:C,children:p===!0?i.jsx(Di,{size:"Standard",start:p===!0}):i.jsx(i.Fragment,{children:g!=null?i.jsx(xn,{type:e,email:g,firstName:a,photo:f}):i.jsx(mn,{type:e,titleText:l})})})}const Ge=({inProgress:e,disabled:l,onSuccess:c,onSignedInCallback:p,getSignedInUser:g,onError:a,email:f,firstName:C,photo:x})=>{const{analytics:b}=de(),S=Vi({onSuccess:c,flow:"auth-code",onError:a});return i.jsx(le,{onClick:()=>{g()==null?(b.trackSignInClick("google"),S()):p()},disabled:l,type:"Google",titleText:y.getLocalizedStrings().signIn.signInGoogleButton,loadingIndication:e,email:f,firstName:C,photo:x})},Je=e=>{const{clientId:l,scopes:c,getSignedInUser:p,onSignedInCallback:g,render:a,onSuccess:f,onFailure:C,disabled:x}=e,{analytics:b}=de();let S,V,{responseType:k,responseMode:j,prompt:z,redirectUri:d}=e;const I=["openid","profile"];k=k??"code",j=j??"fragment",z=z??"consent",Wi.useEffect(()=>{const h=se(window.location[j==="fragment"?"hash":"search"],!0).query;(window.location.search||window.location.hash)&&(h.code!=null||h.access_token!=null||h.error!=null)&&D()},[]);const D=()=>{window.opener?.authScope.authCompletedCB(se(window.location[j==="fragment"?"hash":"search"],!0).query),window.close()};return a({onClick:()=>{if(p()!=null)return void g();b.trackSignInClick("microsoft"),S=!1,window.authScope={authCompletedCB:h=>{S=!0,clearInterval(V),k==="code"&&h.code?f({code:h.code}):k==="token"&&h.access_token?f({accessToken:h.access_token,tokenType:h.token_type,scope:h.scope}):h.error==="access_denied"?C({error:y.getLocalizedStrings().signIn.signInAuthError,errorDetail:h}):C({error:y.getLocalizedStrings().signIn.signInError,errorDetail:h})}},((h,L)=>{const F=window.screen.width/2-287.5,W=window.screen.height/2-300,M=window.open(h,L,`toolbar=0,status=0, width=575, height=600, top=${W}, left=${F}`);V=setInterval(()=>{M.closed&&!S&&(C({error:y.getLocalizedStrings().signIn.signInError,errorDetail:{reason:"Signin popup window was closed"}}),clearInterval(V))},500)})((()=>{const h=encodeURIComponent((c??I).join(" "));return d=d??window.location.origin+window.location.pathname,`https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=${l}&response_type=${k}&redirect_uri=${encodeURIComponent(d)}&scope=${h}&prompt=${z}&response_mode=${j}`})(),"Microsoft Sign In")},disabled:x})},q={width:new v(343,572,572),containerTop:new v(17,25,25)},{signIn:{emailNotFoundPopup:J},common:{gotIt:un}}=y.getLocalizedStrings();function wn({signInError:e,onClose:l}){const c=K(),[p,g]=t.useState(!1),a=e?.email;return i.jsx(fn,{windowSize:c,role:"presentation",style:{background:m.overlayDark},children:i.jsx(Ai,{onClickAway:()=>{g(!0),l()},children:i.jsxs(Sn,{windowSize:c,className:p?"containerClass fade":"containerClass",fade:p,children:[i.jsxs($n,{children:[J.title,i.jsx(jn,{children:a})]}),i.jsxs(In,{children:[i.jsxs(re,{children:[i.jsx(ne,{children:i.jsx(yn,{})}),i.jsx(oe,{windowSize:c,children:J.confirmEmail})]}),i.jsxs(re,{children:[i.jsx(ne,{children:i.jsx(kn,{})}),i.jsx(oe,{windowSize:c,children:J.checkAccess})]}),i.jsxs(re,{children:[i.jsx(ne,{children:i.jsx(bn,{})}),i.jsx(oe,{windowSize:c,children:J.contactZeni})]})]}),i.jsx(Z,{label:un,variant:"primary",onClick:()=>{g(!0),l()}})]})})})}const fn=o.div`
84
+ `,mn=({type:e,titleText:l})=>{const c=K();return i.jsxs(rn,{children:[e==="Google"?i.jsx(tn,{}):i.jsx(an,{}),i.jsx(Qi,{windowSize:c,children:l})]})},xn=({type:e,email:l,firstName:c,photo:p})=>i.jsxs(gn,{children:[i.jsxs(pn,{children:[i.jsx(Yi,{src:p?.href,alt:l,onError:({currentTarget:g})=>{g.onerror=null,g.src=Ni},loading:"lazy"}),i.jsxs(hn,{children:[i.jsxs(dn,{children:[Xi.signIn.continueAs," ",c??""]}),i.jsxs(en,{children:[i.jsx(cn,{children:l}),i.jsx(nn,{})]})]})]}),e==="Google"?i.jsx(sn,{}):i.jsx(ln,{})]});function le({type:e,titleText:l,disabled:c,loadingIndication:p,email:g,firstName:a,photo:f,onClick:C}){const x=K();return i.jsx(on,{setWidth:g==null,windowSize:x,disabled:c===!0,onClick:c===!0?void 0:C,children:p===!0?i.jsx(Di,{size:"Standard",start:p===!0}):i.jsx(i.Fragment,{children:g!=null?i.jsx(xn,{type:e,email:g,firstName:a,photo:f}):i.jsx(mn,{type:e,titleText:l})})})}const Je=({inProgress:e,disabled:l,onSuccess:c,onSignedInCallback:p,getSignedInUser:g,onError:a,email:f,firstName:C,photo:x})=>{const{analytics:b}=de(),S=Vi({onSuccess:c,flow:"auth-code",onError:a});return i.jsx(le,{onClick:()=>{g()==null?(b.trackSignInClick("google"),S()):p()},disabled:l,type:"Google",titleText:y.getLocalizedStrings().signIn.signInGoogleButton,loadingIndication:e,email:f,firstName:C,photo:x})},Ge=e=>{const{clientId:l,scopes:c,getSignedInUser:p,onSignedInCallback:g,render:a,onSuccess:f,onFailure:C,disabled:x}=e,{analytics:b}=de();let S,V,{responseType:k,responseMode:j,prompt:z,redirectUri:d}=e;const I=["openid","profile"];k=k??"code",j=j??"fragment",z=z??"consent",Wi.useEffect(()=>{const h=se(window.location[j==="fragment"?"hash":"search"],!0).query;(window.location.search||window.location.hash)&&(h.code!=null||h.access_token!=null||h.error!=null)&&D()},[]);const D=()=>{window.opener?.authScope.authCompletedCB(se(window.location[j==="fragment"?"hash":"search"],!0).query),window.close()};return a({onClick:()=>{if(p()!=null)return void g();b.trackSignInClick("microsoft"),S=!1,window.authScope={authCompletedCB:h=>{S=!0,clearInterval(V),k==="code"&&h.code?f({code:h.code}):k==="token"&&h.access_token?f({accessToken:h.access_token,tokenType:h.token_type,scope:h.scope}):h.error==="access_denied"?C({error:y.getLocalizedStrings().signIn.signInAuthError,errorDetail:h}):C({error:y.getLocalizedStrings().signIn.signInError,errorDetail:h})}},((h,L)=>{const F=window.screen.width/2-287.5,W=window.screen.height/2-300,M=window.open(h,L,`toolbar=0,status=0, width=575, height=600, top=${W}, left=${F}`);V=setInterval(()=>{M.closed&&!S&&(C({error:y.getLocalizedStrings().signIn.signInError,errorDetail:{reason:"Signin popup window was closed"}}),clearInterval(V))},500)})((()=>{const h=encodeURIComponent((c??I).join(" "));return d=d??window.location.origin+window.location.pathname,`https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=${l}&response_type=${k}&redirect_uri=${encodeURIComponent(d)}&scope=${h}&prompt=${z}&response_mode=${j}`})(),"Microsoft Sign In")},disabled:x})},q={width:new v(343,572,572),containerTop:new v(17,25,25)},{signIn:{emailNotFoundPopup:G},common:{gotIt:un}}=y.getLocalizedStrings();function wn({signInError:e,onClose:l}){const c=K(),[p,g]=t.useState(!1),a=e?.email;return i.jsx(fn,{windowSize:c,role:"presentation",style:{background:m.overlayDark},children:i.jsx(Ai,{onClickAway:()=>{g(!0),l()},children:i.jsxs(Sn,{windowSize:c,className:p?"containerClass fade":"containerClass",fade:p,children:[i.jsxs($n,{children:[G.title,i.jsx(jn,{children:a})]}),i.jsxs(In,{children:[i.jsxs(re,{children:[i.jsx(ne,{children:i.jsx(yn,{})}),i.jsx(oe,{windowSize:c,children:G.confirmEmail})]}),i.jsxs(re,{children:[i.jsx(ne,{children:i.jsx(kn,{})}),i.jsx(oe,{windowSize:c,children:G.checkAccess})]}),i.jsxs(re,{children:[i.jsx(ne,{children:i.jsx(bn,{})}),i.jsx(oe,{windowSize:c,children:G.contactZeni})]})]}),i.jsx(Z,{label:un,variant:"primary",onClick:()=>{g(!0),l()}})]})})})}const fn=o.div`
85
85
  position: fixed;
86
86
  top: 0;
87
87
  left: 0;
@@ -443,7 +443,7 @@ import{e as K,N as Ei,h as de,T as Li,V as i,a as Z,E as T,O as y,b as Ze,p as U
443
443
  align-items: center;
444
444
  justify-content: center;
445
445
  overflow: visible;
446
- `,Gn=o.form``,Jn=o(Z)`
446
+ `,Jn=o.form``,Gn=o(Z)`
447
447
  padding: ${n.sp2} ${n.sp3};
448
448
  `,qn=o(Z)`
449
449
  &:disabled {
@@ -488,4 +488,4 @@ import{e as K,N as Ei,h as de,T as Li,V as i,a as Z,E as T,O as y,b as Ze,p as U
488
488
  box-sizing: border-box;
489
489
  `,no=o(pi)`
490
490
  color: ${e=>e.isDarkTheme?m.brandColorJadeLight:e.theme.colors.brandColorSapphire};
491
- `,ae=3;function So({googleClientId:e,microsoftClientId:l,fetchState:c,signInError:p={},showEmailLogin:g=!1,sendMagicLinkStatus:a,magicLinkAlreadyUsed:f,magicLinkExpired:C,magicLinkExpiredEmail:x,getSignedInUser:b,onSignedInCallback:S,clearSignInError:V,onOAuthSuccess:k,onOAuthError:j,sendMagicLink:z}){const d=K(),{dark:I}=Ei(),{analytics:D}=de(),h=((r=.68,$=1.3,_=1440,Ii=2560)=>{const[vi,zi]=t.useState(()=>typeof window<"u"?window.innerWidth:_);return t.useEffect(()=>{const Re=()=>{zi(window.innerWidth)};return window.addEventListener("resize",Re),()=>window.removeEventListener("resize",Re)},[]),Ki(vi,r,$,_,Ii)})(.68,1.2,1440,2560),L=c==="In-Progress",F=c==="Error",[W,M]=t.useState(void 0),[me,xe]=t.useState(""),[X,ue]=t.useState(!1),[we,fe]=t.useState(!1),[H,fi]=t.useState(void 0),[u,Q]=t.useState(!1),Ce=c==="In-Progress"&&me==="google",Se=c==="In-Progress"&&me==="microsoft",$e=Li({mode:"onSubmit",defaultValues:{email:""}}),{register:Ci,handleSubmit:Si,formState:{errors:ye},setValue:be,watch:$i,clearErrors:yi}=$e,G=a.fetchState==="Error"&&a.error?.error?.type==="email_not_found",ke=a.fetchState==="Error"&&a.error?.details?.application_error_code!=="LOGIN_VIA_EMAIL_LOCKED"&&!G,A=$i("email"),je=!!ye.email||we||ke,Ie=!!ye.email;t.useEffect(()=>{C===!0&&x!=null&&x.trim()!==""&&be("email",x)},[C,x,be]),t.useEffect(()=>{g&&a.fetchState==="Error"&&a.error?.details?.application_error_code==="LOGIN_VIA_MAGIC_LINK_RESTRICTED"&&(Q(!1),fi(()=>{const r=a.error?.details?.domain_type;if(r==="google"||r==="microsoft")return r}))},[a.error?.details,a.fetchState,g]);const ve=F&&p.type==="email_not_found";t.useEffect(()=>{(ve||G)&&ue(!0)},[G,ve]);const ze=r=>{console.log(JSON.stringify(r)),M(void 0),k(r.code,"google"),xe("google")},Ee=r=>{M("Error = "+r?.error+" Error Description = "+r?.error_description),j?.(JSON.stringify(r),"google")},Le=r=>{console.log(JSON.stringify(r)),M(void 0),k(r.code,"microsoft"),xe("microsoft")},Me=r=>{console.log(JSON.stringify(r)),M(r.error??"Microsoft authorization failed."),j?.(JSON.stringify(r),"microsoft")},[bi,_e]=t.useState(!1);t.useEffect(()=>{a.fetchState==="Completed"&&_e(!0)},[a.fetchState]);const w=bi,Te=w?s.signIn.confirmationLinkSent:s.signIn.heading,Pe=H!=null?s.signIn.signInSecurelyMessage:s.signIn.message,Ve=f===!0&&!w,ki=C===!0&&!Ve&&!w,De=()=>{x!=null&&x.trim()!==""&&z?.(x)},[N,Y]=t.useState(0),[ee,Fe]=t.useState(0),O=ee>=ae,[R,He]=t.useState(0);t.useEffect(()=>{w&&Y(45)},[w]),t.useEffect(()=>{if(N<=0)return;const r=setTimeout(()=>Y(N-1),1e3);return()=>clearTimeout(r)},[N]),t.useEffect(()=>{O&&He(3)},[O]),t.useEffect(()=>{if(R<=0||a.fetchState==="In-Progress")return;const r=setTimeout(()=>{const $=R-1;He($),$===0&&(_e(!1),Fe(0),Q(!1))},1e3);return()=>clearTimeout(r)},[R,a.fetchState]);const Ae=()=>{O||(z?.(A),Fe(r=>r+1),Y(45))},ji=G&&a.error?.error?a.error.error:p,ie=a.error?.details?.user,Ne=ie?.first_name??void 0,Oe=ie?.photo?.original!=null?se(ie.photo.original):void 0;return i.jsxs(Tn,{windowSize:d,children:[i.jsxs(Pn,{windowSize:d,children:[i.jsxs(Bn,{children:[i.jsx(Zn,{windowSize:d,children:i.jsx(Un,{className:"zeni-logo"})}),Ve?i.jsx(te,{windowSize:d,style:{flex:1},children:i.jsxs(eo,{children:[i.jsx(ci,{windowSize:d,children:s.signIn.magicLinkAlreadyUsedHeading}),i.jsxs(io,{isDarkTheme:I,children:[i.jsx(oi,{children:i.jsx(ni,{})}),i.jsx(no,{isDarkTheme:I,children:s.signIn.magicLinkAlreadyUsedMessage})]}),i.jsx(Z,{variant:"primary",label:s.signIn.requestNewLink,onClick:De,loading:a.fetchState==="In-Progress"})]})}):ki?i.jsx(te,{windowSize:d,style:{flex:1},children:i.jsxs(Yn,{children:[i.jsx(ci,{windowSize:d,children:s.signIn.magicLinkExpiredHeading}),i.jsx(Z,{variant:"primary",label:s.signIn.requestNewLink,onClick:De,loading:a.fetchState==="In-Progress"})]})}):i.jsxs(i.Fragment,{children:[i.jsxs(ai,{isMagicLinkSent:w,windowSize:d,style:{display:d==="small"?"flex":"none"},children:[i.jsx(Ke,{windowSize:d,children:Te}),i.jsx(T,{controller:!w,children:i.jsx(Xe,{windowSize:d,children:Pe})}),i.jsx(T,{controller:w,children:i.jsxs(ei,{children:[i.jsx(ii,{isDarkTheme:I,"data-testid":Ze("magic-link-primary-message","small"),children:i.jsx(ri,{isDarkTheme:I,children:y.getLocalizedStrings().signIn.magicLinkSent.primaryMessage.split("__email__").map((r,$,_)=>i.jsxs(si,{children:[r,$<_.length-1&&i.jsx(ti,{children:A})]},$))})}),i.jsx(li,{children:s.signIn.magicLinkSent.secondaryMessage}),i.jsx(di,{resendCountdown:N,resendCount:ee,resendLimitReached:O,redirectCountdown:R,onClick:Ae})]})})]}),i.jsxs(ai,{isMagicLinkSent:w,windowSize:d,style:{display:d==="small"?"none":"flex"},children:[i.jsx(Ke,{windowSize:d,children:Te}),i.jsx(T,{controller:!w,children:i.jsx(Xe,{windowSize:d,children:Pe})}),i.jsx(T,{controller:w,children:i.jsxs(ei,{children:[i.jsxs(ii,{isDarkTheme:I,"data-testid":Ze("magic-link-primary-message","large"),children:[i.jsx(oi,{children:i.jsx(ni,{})}),i.jsx(ri,{isDarkTheme:I,children:y.getLocalizedStrings().signIn.magicLinkSent.primaryMessage.split("__email__").map((r,$,_)=>i.jsxs(si,{children:[r,$<_.length-1&&i.jsx(ti,{children:A})]},$))})]}),i.jsx(li,{children:s.signIn.magicLinkSent.secondaryMessage}),i.jsx(di,{resendCountdown:N,resendCount:ee,resendLimitReached:O,redirectCountdown:R,onClick:Ae})]})})]}),i.jsx(T,{controller:!w,children:i.jsxs(te,{windowSize:d,children:[i.jsxs(Nn,{showEmailError:je,showEmailForm:u,children:[!u&&!H&&i.jsxs(On,{windowSize:d,children:[i.jsx(Ue,{clientId:e,children:i.jsx(Ge,{disabled:L,inProgress:Ce,getSignedInUser:b,onSuccess:ze,onSignedInCallback:S,onError:Ee})}),i.jsx(Je,{clientId:l,scopes:["openid","profile","email","offline_access","User.Read"],getSignedInUser:b,prompt:"select_account",responseType:"code",responseMode:"query",render:r=>i.jsx(le,{onClick:r.onClick,disabled:L||r.disabled,type:"Microsoft",titleText:s.signIn.signInMicrosoftButton,loadingIndication:Se}),onSignedInCallback:S,onSuccess:Le,onFailure:Me})]}),!u&&H==="google"&&i.jsx(Ue,{clientId:e,children:i.jsx(Ge,{disabled:L,inProgress:Ce,email:A,firstName:Ne,photo:Oe,getSignedInUser:b,onSuccess:ze,onSignedInCallback:S,onError:Ee})}),!u&&H==="microsoft"&&i.jsx(Je,{clientId:l,scopes:["openid","profile","email","offline_access","User.Read"],getSignedInUser:b,prompt:"select_account",responseType:"code",responseMode:"query",render:r=>i.jsx(le,{onClick:r.onClick,disabled:L||r.disabled,type:"Microsoft",titleText:s.signIn.signInMicrosoftButton,loadingIndication:Se,email:A,firstName:Ne,photo:Oe}),onSignedInCallback:S,onSuccess:Le,onFailure:Me}),g&&u&&i.jsx(Mi,{...$e,children:i.jsxs(Dn,{windowSize:d,children:[i.jsx(Gn,{onSubmit:Si(r=>{fe(!1),r.email.trim()&&(D.trackSignInClick("email"),z?.(r.email))}),children:i.jsxs(Fn,{windowSize:d,hasError:Ie,children:[i.jsx(Hn,{windowSize:d,type:"text",placeholder:s.signIn.workEmailExample,variant:"outlined",fullWidth:!0,isValid:!Ie,autoComplete:"off",...Ci("email",{required:s.signIn.invalidEmailMessage,pattern:{value:_i,message:s.signIn.invalidEmailMessage},onChange:()=>{fe(!1),yi("email")}})}),i.jsx(Jn,{variant:"primary",type:"submit",label:s.signIn.signInButton,loading:a.fetchState==="In-Progress"})]})}),je&&i.jsx(An,{children:we?s.signIn.magicLinkExpired:ke?s.common.errorMessage.somethingWentWrongPleaseTryAgain:s.signIn.invalidEmailMessage})]})}),g&&!H&&i.jsxs(En,{children:[i.jsxs(vn,{showEmailForm:u,windowSize:d,children:[i.jsx(qe,{showEmailForm:u,windowSize:d}),i.jsx(zn,{children:s.common.texts.or.toUpperCase()}),i.jsx(qe,{showEmailForm:u,windowSize:d})]}),i.jsxs(_n,{children:[i.jsx(Ln,{onClick:()=>{u?D.trackSignInViaGoogleMicrosoft():D.trackSignInViaEmail(),Q(!u)},children:u?s.signIn.googleOrMicrosoftLink:s.signIn.workEmailLink}),i.jsx(Mn,{isVisible:!u,children:s.signIn.workEmailSubText})]})]})]}),X===!1&&F&&i.jsx(Rn,{children:i.jsx(Vn,{children:(()=>{let r="";return(F||W!=null)&&X===!1&&(r=W??s.signIn.signInAuthError),r})()})})]})})]})]}),i.jsx(T,{controller:d!=="small",children:i.jsx(Wn,{children:i.jsx(Ji,{scale:h})})}),i.jsx(Qe,{style:{maxWidth:"100%",textAlign:"center",marginBottom:d==="small"?n.sp5:n.sp1},children:i.jsxs(Qe,{children:[i.jsxs(Ye,{children:[s.signIn.termsPrivacyFinePrintPart,s.signIn.agreeWith,i.jsx(Be,{href:s.signIn.termsUrl,target:"_Blank",rel:"noopener noreferrer",linkText:s.signIn.termsOfService})," ",s.signIn.and," ",i.jsx(Be,{href:s.signIn.privacyPolicyUrl,target:"_Blank",rel:"noopener noreferrer",linkText:s.signIn.privacyPolicy}),"."]}),i.jsx(Ye,{children:i.jsx(Gi,{})})]})})]}),X&&i.jsx(wn,{signInError:ji,onClose:()=>{V(),ue(!1)}})]})}export{So as default};
491
+ `,ae=3;function So({googleClientId:e,microsoftClientId:l,fetchState:c,signInError:p={},showEmailLogin:g=!1,sendMagicLinkStatus:a,magicLinkAlreadyUsed:f,magicLinkExpired:C,magicLinkExpiredEmail:x,getSignedInUser:b,onSignedInCallback:S,clearSignInError:V,onOAuthSuccess:k,onOAuthError:j,sendMagicLink:z}){const d=K(),{dark:I}=Ei(),{analytics:D}=de(),h=((r=.68,$=1.3,_=1440,Ii=2560)=>{const[vi,zi]=t.useState(()=>typeof window<"u"?window.innerWidth:_);return t.useEffect(()=>{const Re=()=>{zi(window.innerWidth)};return window.addEventListener("resize",Re),()=>window.removeEventListener("resize",Re)},[]),Ki(vi,r,$,_,Ii)})(.68,1.2,1440,2560),L=c==="In-Progress",F=c==="Error",[W,M]=t.useState(void 0),[me,xe]=t.useState(""),[X,ue]=t.useState(!1),[we,fe]=t.useState(!1),[H,fi]=t.useState(void 0),[u,Q]=t.useState(!1),Ce=c==="In-Progress"&&me==="google",Se=c==="In-Progress"&&me==="microsoft",$e=Li({mode:"onSubmit",defaultValues:{email:""}}),{register:Ci,handleSubmit:Si,formState:{errors:ye},setValue:be,watch:$i,clearErrors:yi}=$e,J=a.fetchState==="Error"&&a.error?.error?.type==="email_not_found",ke=a.fetchState==="Error"&&a.error?.details?.application_error_code!=="LOGIN_VIA_EMAIL_LOCKED"&&!J,A=$i("email"),je=!!ye.email||we||ke,Ie=!!ye.email;t.useEffect(()=>{C===!0&&x!=null&&x.trim()!==""&&be("email",x)},[C,x,be]),t.useEffect(()=>{g&&a.fetchState==="Error"&&a.error?.details?.application_error_code==="LOGIN_VIA_MAGIC_LINK_RESTRICTED"&&(Q(!1),fi(()=>{const r=a.error?.details?.domain_type;if(r==="google"||r==="microsoft")return r}))},[a.error?.details,a.fetchState,g]);const ve=F&&p.type==="email_not_found";t.useEffect(()=>{(ve||J)&&ue(!0)},[J,ve]);const ze=r=>{console.log(JSON.stringify(r)),M(void 0),k(r.code,"google"),xe("google")},Ee=r=>{M("Error = "+r?.error+" Error Description = "+r?.error_description),j?.(JSON.stringify(r),"google")},Le=r=>{console.log(JSON.stringify(r)),M(void 0),k(r.code,"microsoft"),xe("microsoft")},Me=r=>{console.log(JSON.stringify(r)),M(r.error??"Microsoft authorization failed."),j?.(JSON.stringify(r),"microsoft")},[bi,_e]=t.useState(!1);t.useEffect(()=>{a.fetchState==="Completed"&&_e(!0)},[a.fetchState]);const w=bi,Te=w?s.signIn.confirmationLinkSent:s.signIn.heading,Pe=H!=null?s.signIn.signInSecurelyMessage:s.signIn.message,Ve=f===!0&&!w,ki=C===!0&&!Ve&&!w,De=()=>{x!=null&&x.trim()!==""&&z?.(x)},[N,Y]=t.useState(0),[ee,Fe]=t.useState(0),O=ee>=ae,[R,He]=t.useState(0);t.useEffect(()=>{w&&Y(45)},[w]),t.useEffect(()=>{if(N<=0)return;const r=setTimeout(()=>Y(N-1),1e3);return()=>clearTimeout(r)},[N]),t.useEffect(()=>{O&&He(3)},[O]),t.useEffect(()=>{if(R<=0||a.fetchState==="In-Progress")return;const r=setTimeout(()=>{const $=R-1;He($),$===0&&(_e(!1),Fe(0),Q(!1))},1e3);return()=>clearTimeout(r)},[R,a.fetchState]);const Ae=()=>{O||(z?.(A),Fe(r=>r+1),Y(45))},ji=J&&a.error?.error?a.error.error:p,ie=a.error?.details?.user,Ne=ie?.first_name??void 0,Oe=ie?.photo?.original!=null?se(ie.photo.original):void 0;return i.jsxs(Tn,{windowSize:d,children:[i.jsxs(Pn,{windowSize:d,children:[i.jsxs(Bn,{children:[i.jsx(Zn,{windowSize:d,children:i.jsx(Un,{className:"zeni-logo"})}),Ve?i.jsx(te,{windowSize:d,style:{flex:1},children:i.jsxs(eo,{children:[i.jsx(ci,{windowSize:d,children:s.signIn.magicLinkAlreadyUsedHeading}),i.jsxs(io,{isDarkTheme:I,children:[i.jsx(oi,{children:i.jsx(ni,{})}),i.jsx(no,{isDarkTheme:I,children:s.signIn.magicLinkAlreadyUsedMessage})]}),i.jsx(Z,{variant:"primary",label:s.signIn.requestNewLink,onClick:De,loading:a.fetchState==="In-Progress"})]})}):ki?i.jsx(te,{windowSize:d,style:{flex:1},children:i.jsxs(Yn,{children:[i.jsx(ci,{windowSize:d,children:s.signIn.magicLinkExpiredHeading}),i.jsx(Z,{variant:"primary",label:s.signIn.requestNewLink,onClick:De,loading:a.fetchState==="In-Progress"})]})}):i.jsxs(i.Fragment,{children:[i.jsxs(ai,{isMagicLinkSent:w,windowSize:d,style:{display:d==="small"?"flex":"none"},children:[i.jsx(Ke,{windowSize:d,children:Te}),i.jsx(T,{controller:!w,children:i.jsx(Xe,{windowSize:d,children:Pe})}),i.jsx(T,{controller:w,children:i.jsxs(ei,{children:[i.jsx(ii,{isDarkTheme:I,"data-testid":Ze("magic-link-primary-message","small"),children:i.jsx(ri,{isDarkTheme:I,children:y.getLocalizedStrings().signIn.magicLinkSent.primaryMessage.split("__email__").map((r,$,_)=>i.jsxs(si,{children:[r,$<_.length-1&&i.jsx(ti,{children:A})]},$))})}),i.jsx(li,{children:s.signIn.magicLinkSent.secondaryMessage}),i.jsx(di,{resendCountdown:N,resendCount:ee,resendLimitReached:O,redirectCountdown:R,onClick:Ae})]})})]}),i.jsxs(ai,{isMagicLinkSent:w,windowSize:d,style:{display:d==="small"?"none":"flex"},children:[i.jsx(Ke,{windowSize:d,children:Te}),i.jsx(T,{controller:!w,children:i.jsx(Xe,{windowSize:d,children:Pe})}),i.jsx(T,{controller:w,children:i.jsxs(ei,{children:[i.jsxs(ii,{isDarkTheme:I,"data-testid":Ze("magic-link-primary-message","large"),children:[i.jsx(oi,{children:i.jsx(ni,{})}),i.jsx(ri,{isDarkTheme:I,children:y.getLocalizedStrings().signIn.magicLinkSent.primaryMessage.split("__email__").map((r,$,_)=>i.jsxs(si,{children:[r,$<_.length-1&&i.jsx(ti,{children:A})]},$))})]}),i.jsx(li,{children:s.signIn.magicLinkSent.secondaryMessage}),i.jsx(di,{resendCountdown:N,resendCount:ee,resendLimitReached:O,redirectCountdown:R,onClick:Ae})]})})]}),i.jsx(T,{controller:!w,children:i.jsxs(te,{windowSize:d,children:[i.jsxs(Nn,{showEmailError:je,showEmailForm:u,children:[!u&&!H&&i.jsxs(On,{windowSize:d,children:[i.jsx(Ue,{clientId:e,children:i.jsx(Je,{disabled:L,inProgress:Ce,getSignedInUser:b,onSuccess:ze,onSignedInCallback:S,onError:Ee})}),i.jsx(Ge,{clientId:l,scopes:["openid","profile","email","offline_access","User.Read"],getSignedInUser:b,prompt:"select_account",responseType:"code",responseMode:"query",render:r=>i.jsx(le,{onClick:r.onClick,disabled:L||r.disabled,type:"Microsoft",titleText:s.signIn.signInMicrosoftButton,loadingIndication:Se}),onSignedInCallback:S,onSuccess:Le,onFailure:Me})]}),!u&&H==="google"&&i.jsx(Ue,{clientId:e,children:i.jsx(Je,{disabled:L,inProgress:Ce,email:A,firstName:Ne,photo:Oe,getSignedInUser:b,onSuccess:ze,onSignedInCallback:S,onError:Ee})}),!u&&H==="microsoft"&&i.jsx(Ge,{clientId:l,scopes:["openid","profile","email","offline_access","User.Read"],getSignedInUser:b,prompt:"select_account",responseType:"code",responseMode:"query",render:r=>i.jsx(le,{onClick:r.onClick,disabled:L||r.disabled,type:"Microsoft",titleText:s.signIn.signInMicrosoftButton,loadingIndication:Se,email:A,firstName:Ne,photo:Oe}),onSignedInCallback:S,onSuccess:Le,onFailure:Me}),g&&u&&i.jsx(Mi,{...$e,children:i.jsxs(Dn,{windowSize:d,children:[i.jsx(Jn,{onSubmit:Si(r=>{fe(!1),r.email.trim()&&(D.trackSignInClick("email"),z?.(r.email))}),children:i.jsxs(Fn,{windowSize:d,hasError:Ie,children:[i.jsx(Hn,{windowSize:d,type:"text",placeholder:s.signIn.workEmailExample,variant:"outlined",fullWidth:!0,isValid:!Ie,autoComplete:"off",...Ci("email",{required:s.signIn.invalidEmailMessage,pattern:{value:_i,message:s.signIn.invalidEmailMessage},onChange:()=>{fe(!1),yi("email")}})}),i.jsx(Gn,{variant:"primary",type:"submit",label:s.signIn.signInButton,loading:a.fetchState==="In-Progress"})]})}),je&&i.jsx(An,{children:we?s.signIn.magicLinkExpired:ke?s.common.errorMessage.somethingWentWrongPleaseTryAgain:s.signIn.invalidEmailMessage})]})}),g&&!H&&i.jsxs(En,{children:[i.jsxs(vn,{showEmailForm:u,windowSize:d,children:[i.jsx(qe,{showEmailForm:u,windowSize:d}),i.jsx(zn,{children:s.common.texts.or.toUpperCase()}),i.jsx(qe,{showEmailForm:u,windowSize:d})]}),i.jsxs(_n,{children:[i.jsx(Ln,{onClick:()=>{u?D.trackSignInViaGoogleMicrosoft():D.trackSignInViaEmail(),Q(!u)},children:u?s.signIn.googleOrMicrosoftLink:s.signIn.workEmailLink}),i.jsx(Mn,{isVisible:!u,children:s.signIn.workEmailSubText})]})]})]}),X===!1&&F&&i.jsx(Rn,{children:i.jsx(Vn,{children:(()=>{let r="";return(F||W!=null)&&X===!1&&(r=W??s.signIn.signInAuthError),r})()})})]})})]})]}),i.jsx(T,{controller:d!=="small",children:i.jsx(Wn,{children:i.jsx(Gi,{scale:h})})}),i.jsx(Qe,{style:{maxWidth:"100%",textAlign:"center",marginBottom:d==="small"?n.sp5:n.sp1},children:i.jsxs(Qe,{children:[i.jsxs(Ye,{children:[s.signIn.termsPrivacyFinePrintPart,s.signIn.agreeWith,i.jsx(Be,{href:s.signIn.termsUrl,target:"_Blank",rel:"noopener noreferrer",linkText:s.signIn.termsOfService})," ",s.signIn.and," ",i.jsx(Be,{href:s.signIn.privacyPolicyUrl,target:"_Blank",rel:"noopener noreferrer",linkText:s.signIn.privacyPolicy}),"."]}),i.jsx(Ye,{children:i.jsx(Ji,{})})]})})]}),X&&i.jsx(wn,{signInError:ji,onClose:()=>{V(),ue(!1)}})]})}export{So as default};
@@ -1 +1 @@
1
- import{j as f}from"./pdf-DwfifS04.js";import{a as u,b as x,q as T}from"./sentry-Cm8I7E9J.js";import{i as A,j as D,u as l,h as z,N as F,k as O}from"./core-CaikJZHD.js";import{jr as H,js as s,y as M,jz as w,O as P,jE as _,J as B,jF as N,jG as $,jH as G,jD as v}from"./index-CuxRoVvZ.js";import{ct as J,H9 as V,Ha as q,cu as W,c$ as K,Hj as Q,dn as R,Gk as X,Hk as b,Hl as Y,Hm as Z,F3 as y}from"./zeni-epic-state-lC5X-sam.js";import"./mui-G2MlMTlr.js";import{u as ee}from"./useDeviceId-BzlY8kf5.js";import{f as te}from"./analyticsHelper-BtB7CtC3.js";import{t as ne}from"./getLocaleForTenant-dwEXf4rX.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="9bd3e7f7-f80a-4104-9e04-8817df9f2cab",t._sentryDebugIdIdentifier="sentry-dbid-9bd3e7f7-f80a-4104-9e04-8817df9f2cab")}catch{}})();const ie=O(function(t,i){const d=t.tenantState.fetchState,g=t.tenantState.sendEmailMagicLinkFetchState,{magicLinkExpired:n,magicLinkAlreadyUsed:a,magicLinkExpiredEmail:c}=i;return{googleClientId:v.googleClientId,microsoftClientId:v.microsoftClientId,signInError:t.tenantState.error?.error,fetchState:d,sendMagicLinkStatus:g,magicLinkExpired:n,magicLinkAlreadyUsed:a,magicLinkExpiredEmail:c}},function(t,i){const{location:d,navigate:g}=i;return console.warn(JSON.stringify(window.location)),{onOAuthError:(n,a)=>{T({message:`OAuth error from provider ${a} with error ${n}`,level:"error",tags:{authProvider:a,errorType:"zeni.login.error"},extra:{error:n,windowLocation:window.location.href}})},onOAuthSuccess:(n,a)=>{const c=a==="google"?window.location.origin:window.location.origin+window.location.pathname;t(Z({authCode:n,oauthProvider:a,appType:"web",redirectUri:y(c),sourceUri:y(d.state!=null?d.state.origin:"")}))},getSignedInUser:()=>s.getSignedInUser(),onSignedInCallback:()=>{const n=d.state?.origin;n&&n!=="/"?g(n,{replace:!0}):window.open(window.location.origin,"_self")},sendMagicLink:n=>{const{deviceId:a}=i;a!=null&&(s.saveMagicLinkEmail(n),t(Y(n,a)))},clearSignInError:()=>{t(b())}}})(G),ae=x.memo(ie);function Ee({setTenantEmailDomain:t}){const i=A(),d=D(),{clearAllLoading:g}=H(),n=s.getSignedInUser();u.useLayoutEffect(()=>{g()},[g]);const a=ee(),c=l(e=>e.tenantState.magicLinkCodeVerifier),{sendEmailMagicLinkFetchState:k,accountLocked:j,accountUnlockTime:L}=l(e=>e.tenantState),p=l(e=>e.tenantState.fetchState),h=l(e=>e.tenantState.activeTenantFetchState.fetchState),S=l(e=>e.tenantState.signInState),o=l(e=>e.tenantState.loggedInUser),r=l(e=>J(e)),I=l(e=>V(e)),m=z(),E=M().mode,C=m.state?.magicLinkExpired,U=m.state?.magicLinkAlreadyUsed;if(u.useEffect(()=>{k.fetchState==="Completed"&&c!=null&&(w.trackSignInLinkSent(),s.saveMagicLinkCodeVerifier(c))},[k.fetchState,c]),u.useEffect(()=>{t(void 0)},[]),u.useEffect(()=>{S!=="In-Progress"||p!=="Completed"&&h!=="Completed"||o?.zeniSessionId==null||r==null||(s.savePayNowInfoTooltip(!0,o.zeniSessionId),s.saveSignedInUserWithSession(o,o.zeniSessionId),s.saveSignedInUserTenants(q(I.tenantsInOrder),o.zeniSessionId),W(o.userId,o.zeniSessionId,r.tenantId),i(K(r.tenantId)),s.saveActiveTenantDomainForUser(r.tenantEmailDomain),i(Q("Completed")),P.updateAppLocaleID(ne(r)),te(o,r,E,void 0,I.tenantsInOrder),R().then(()=>{const e=$();e!=null&&_(e)}),setTimeout(()=>{w.trackLogin(B.Event.loginSuccess,o.authProvider??"google",X(r.productSettings))},2e3))},[S,p,h,o,r,I,E,m.state,i]),S==="In-Progress"&&p==="Completed"&&o?.zeniSessionId!=null&&r!=null||n!=null){const e=m.state?.origin??"/";return f.jsx(F,{to:e,state:{...m.state,origin:""}})}return f.jsxs(f.Fragment,{children:[f.jsx(ae,{magicLinkExpired:!!C,magicLinkAlreadyUsed:!!U,magicLinkExpiredEmail:s.getMagicLinkEmail()??void 0,location:m,navigate:d,deviceId:a??void 0,showEmailLogin:!0}),j===!0&&L!=null?f.jsx(N,{onClose:()=>i(b()),unlockDate:L}):null]})}export{Ee as default};
1
+ import{j as f}from"./pdf-CwWlK-Dr.js";import{a as u,b as x,q as T}from"./sentry-D-LCra2M.js";import{i as A,j as D,u as l,h as z,N as F,k as O}from"./core-AYNw6kyJ.js";import{jr as H,js as s,y as M,jz as w,O as P,jE as _,J as B,jF as N,jG as $,jH as G,jD as v}from"./index-CilRLucN.js";import{ct as J,H9 as V,Ha as q,cu as W,c$ as K,Hj as Q,dn as R,Gk as X,Hk as b,Hl as Y,Hm as Z,F3 as y}from"./zeni-epic-state-B1zsDZZ4.js";import"./mui-Ckdcx_YE.js";import{u as ee}from"./useDeviceId-BCros22l.js";import{f as te}from"./analyticsHelper-DJS6x-LZ.js";import{t as ne}from"./getLocaleForTenant-x8J8_kQc.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="9bd3e7f7-f80a-4104-9e04-8817df9f2cab",t._sentryDebugIdIdentifier="sentry-dbid-9bd3e7f7-f80a-4104-9e04-8817df9f2cab")}catch{}})();const ie=O(function(t,i){const d=t.tenantState.fetchState,g=t.tenantState.sendEmailMagicLinkFetchState,{magicLinkExpired:n,magicLinkAlreadyUsed:a,magicLinkExpiredEmail:c}=i;return{googleClientId:v.googleClientId,microsoftClientId:v.microsoftClientId,signInError:t.tenantState.error?.error,fetchState:d,sendMagicLinkStatus:g,magicLinkExpired:n,magicLinkAlreadyUsed:a,magicLinkExpiredEmail:c}},function(t,i){const{location:d,navigate:g}=i;return console.warn(JSON.stringify(window.location)),{onOAuthError:(n,a)=>{T({message:`OAuth error from provider ${a} with error ${n}`,level:"error",tags:{authProvider:a,errorType:"zeni.login.error"},extra:{error:n,windowLocation:window.location.href}})},onOAuthSuccess:(n,a)=>{const c=a==="google"?window.location.origin:window.location.origin+window.location.pathname;t(Z({authCode:n,oauthProvider:a,appType:"web",redirectUri:y(c),sourceUri:y(d.state!=null?d.state.origin:"")}))},getSignedInUser:()=>s.getSignedInUser(),onSignedInCallback:()=>{const n=d.state?.origin;n&&n!=="/"?g(n,{replace:!0}):window.open(window.location.origin,"_self")},sendMagicLink:n=>{const{deviceId:a}=i;a!=null&&(s.saveMagicLinkEmail(n),t(Y(n,a)))},clearSignInError:()=>{t(b())}}})(G),ae=x.memo(ie);function Ee({setTenantEmailDomain:t}){const i=A(),d=D(),{clearAllLoading:g}=H(),n=s.getSignedInUser();u.useLayoutEffect(()=>{g()},[g]);const a=ee(),c=l(e=>e.tenantState.magicLinkCodeVerifier),{sendEmailMagicLinkFetchState:k,accountLocked:j,accountUnlockTime:L}=l(e=>e.tenantState),p=l(e=>e.tenantState.fetchState),h=l(e=>e.tenantState.activeTenantFetchState.fetchState),S=l(e=>e.tenantState.signInState),o=l(e=>e.tenantState.loggedInUser),r=l(e=>J(e)),I=l(e=>V(e)),m=z(),E=M().mode,C=m.state?.magicLinkExpired,U=m.state?.magicLinkAlreadyUsed;if(u.useEffect(()=>{k.fetchState==="Completed"&&c!=null&&(w.trackSignInLinkSent(),s.saveMagicLinkCodeVerifier(c))},[k.fetchState,c]),u.useEffect(()=>{t(void 0)},[]),u.useEffect(()=>{S!=="In-Progress"||p!=="Completed"&&h!=="Completed"||o?.zeniSessionId==null||r==null||(s.savePayNowInfoTooltip(!0,o.zeniSessionId),s.saveSignedInUserWithSession(o,o.zeniSessionId),s.saveSignedInUserTenants(q(I.tenantsInOrder),o.zeniSessionId),W(o.userId,o.zeniSessionId,r.tenantId),i(K(r.tenantId)),s.saveActiveTenantDomainForUser(r.tenantEmailDomain),i(Q("Completed")),P.updateAppLocaleID(ne(r)),te(o,r,E,void 0,I.tenantsInOrder),R().then(()=>{const e=$();e!=null&&_(e)}),setTimeout(()=>{w.trackLogin(B.Event.loginSuccess,o.authProvider??"google",X(r.productSettings))},2e3))},[S,p,h,o,r,I,E,m.state,i]),S==="In-Progress"&&p==="Completed"&&o?.zeniSessionId!=null&&r!=null||n!=null){const e=m.state?.origin??"/";return f.jsx(F,{to:e,state:{...m.state,origin:""}})}return f.jsxs(f.Fragment,{children:[f.jsx(ae,{magicLinkExpired:!!C,magicLinkAlreadyUsed:!!U,magicLinkExpiredEmail:s.getMagicLinkEmail()??void 0,location:m,navigate:d,deviceId:a??void 0,showEmailLogin:!0}),j===!0&&L!=null?f.jsx(N,{onClose:()=>i(b()),unlockDate:L}):null]})}export{Ee as default};
@@ -1,4 +1,4 @@
1
- import{j as s}from"./pdf-DwfifS04.js";import{a as n}from"./sentry-Cm8I7E9J.js";import{i as u,h as m,j as g,N as p}from"./core-CaikJZHD.js";import{js as f,jQ as y,ju as b,jz as c,J as h}from"./index-CuxRoVvZ.js";import{Hx as j,He as x,Hy as I}from"./zeni-epic-state-lC5X-sam.js";import{n as w}from"./mui-G2MlMTlr.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="fcf9a1a6-bafe-4b44-868b-024a8409c422",e._sentryDebugIdIdentifier="sentry-dbid-fcf9a1a6-bafe-4b44-868b-024a8409c422")}catch{}})();function Q(){const e=u(),t=m(),a=g(),i=n.useRef(!1),l=f.isSignedIn(),r=t.state?.message==="logout",o=r||l;return n.useEffect(()=>{o&&!i.current&&(i.current=!0,setTimeout(()=>{try{f.clearAll(),e(j()),e(x(!1)),I(),b.reset(),c.trackLogout(h.Event.logoutSuccess),c.resetUserIdentity()}catch(d){console.error("Error during sign out:",d)}finally{r||a("/signin/auth",{replace:!0})}},0))},[o,r]),o?s.jsx(v,{children:s.jsx(y,{fetchState:"In-Progress"})}):s.jsx(p,{to:"../",replace:!0})}const v=w.div`
1
+ import{j as s}from"./pdf-CwWlK-Dr.js";import{a as n}from"./sentry-D-LCra2M.js";import{i as u,h as m,j as g,N as p}from"./core-AYNw6kyJ.js";import{js as f,jQ as y,ju as b,jz as c,J as h}from"./index-CilRLucN.js";import{Hx as j,He as x,Hy as I}from"./zeni-epic-state-B1zsDZZ4.js";import{n as w}from"./mui-Ckdcx_YE.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="fcf9a1a6-bafe-4b44-868b-024a8409c422",e._sentryDebugIdIdentifier="sentry-dbid-fcf9a1a6-bafe-4b44-868b-024a8409c422")}catch{}})();function Q(){const e=u(),t=m(),a=g(),i=n.useRef(!1),l=f.isSignedIn(),r=t.state?.message==="logout",o=r||l;return n.useEffect(()=>{o&&!i.current&&(i.current=!0,setTimeout(()=>{try{f.clearAll(),e(j()),e(x(!1)),I(),b.reset(),c.trackLogout(h.Event.logoutSuccess),c.resetUserIdentity()}catch(d){console.error("Error during sign out:",d)}finally{r||a("/signin/auth",{replace:!0})}},0))},[o,r]),o?s.jsx(v,{children:s.jsx(y,{fetchState:"In-Progress"})}):s.jsx(p,{to:"../",replace:!0})}const v=w.div`
2
2
  display: flex;
3
3
  height: 100vh;
4
4
  width: 100%;
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SpendManagementPerTabPage-BeK0SCeE-uu94FLdi.js","assets/index-CuxRoVvZ.js","assets/sentry-Cm8I7E9J.js","assets/pdf-DwfifS04.js","assets/zeni-epic-state-lC5X-sam.js","assets/core-CaikJZHD.js","assets/mui-G2MlMTlr.js","assets/recharts-3tylCZU1.js","assets/lottie-D86WIi_0.js","assets/liveblocks--AdozwCz.js","assets/dnd-CzsffKNn.js","assets/analytics-Qgv3Fhaa.js","assets/plaid-CcxzSXZd.js","assets/utils-BhOlvYO8.js","assets/index-D-vub4_t.css","assets/BusyIndication-Cp8KWKB2-C3oZ8Ini.js","assets/StatusSwitcher-jxaonB4S-BRWCrppB.js","assets/common-Cu5K0AJk-Cxd55kqL.js","assets/calculateSize-QoQyn_Ku-BQL_mWcG.js","assets/useLongPress-GCK2COYQ-BgmUYGJ7.js"])))=>i.map(i=>d[i]);
2
- import{G9 as ze,Ga as Ge,Gb as Ue,Gc as G,Gd as He,F3 as Ve,Ge as We,Gf as qe,Gg as Je,FY as Xe,FX as Ye,G5 as Ze,_ as Qe}from"./zeni-epic-state-lC5X-sam.js";import{V as n,y as Ke,_ as U,e as H,ba as et,g2 as tt,a_ as ot,w as at,o as t,cX as nt,gj as N,aD as it,O as V,gk as rt,gl as st,gm as lt,gn as ct,f as $,k as dt,go as ut,be as pt,x as S,fi as mt,gp as ht,a8 as bt,bp as yt,l as gt,bH as ft,gq as wt,aA as Ct,H as vt,m as k}from"./index-CuxRoVvZ.js";import{a as h}from"./sentry-Cm8I7E9J.js";import{n as d,k as W}from"./mui-G2MlMTlr.js";import{_ as xt}from"./liveblocks--AdozwCz.js";import{t as Tt}from"./SpendManagementSection-DZFPfKNi-a6NNMz0d.js";import{K as St}from"./StatusSwitcher-jxaonB4S-BRWCrppB.js";import"./core-CaikJZHD.js";import"./pdf-DwfifS04.js";import"./lottie-D86WIi_0.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./recharts-3tylCZU1.js";import"./utils-BhOlvYO8.js";import"./MoreMenuButton-CkkW1atP-BhjeSlOV.js";import"./bank-letter-BOcVjN6J-DhC6VHDB.js";import"./spend-limit-D6SyboD4-d-tIWfnn.js";import"./dollar-round-D18u7nlm-BF4Thvjs.js";import"./money-2cg1MuG4-CfgKOIyt.js";import"./page-summary-D7_VQHwN-CaK_VLEF.js";import"./transaction-placeholder-CpOwZAMG-CXIruzlf.js";import"./unlock-BPWn2I5L-8UNw8MhM.js";import"./filter-cZIFUNvj-CWbeOwgA.js";import"./ZeniDatePicker-Bw9RlgoL-BmT27weB.js";import"./avatar-Dz7aEm3d-CxU8IzEu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="babe01d8-2adb-456f-8d3f-dab113e1fdf1",e._sentryDebugIdIdentifier="sentry-dbid-babe01d8-2adb-456f-8d3f-dab113e1fdf1")}catch{}})();const F=e=>h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},h.createElement("path",{d:"M22.781 11.8215C22.7883 14.6988 21.6612 17.4629 19.6441 19.5146C17.627 21.5664 14.8825 22.7404 12.0055 22.7822C10.6005 22.8033 9.20515 22.5453 7.90056 22.023C6.59596 21.5008 5.40804 20.7247 4.40567 19.7399C3.40331 18.755 2.60645 17.5809 2.06132 16.2857C1.51619 14.9905 1.23362 13.6 1.23002 12.1948C1.22199 9.31703 2.34875 6.55215 4.36593 4.49975C6.38312 2.44735 9.1281 1.27292 12.0055 1.23117C13.4108 1.21016 14.8063 1.46837 16.111 1.99085C17.4158 2.51332 18.6038 3.28965 19.6061 4.27481C20.6085 5.25996 21.4053 6.43433 21.9503 7.72981C22.4953 9.02529 22.7777 10.4161 22.781 11.8215Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M17.1573 10.374H9.83934C9.05979 10.374 8.31216 10.6766 7.76093 11.2151C7.2097 11.7537 6.90002 12.4841 6.90002 13.2457C6.90002 14.0074 7.2097 14.7378 7.76093 15.2764C8.31216 15.8149 9.05979 16.1175 9.83934 16.1175H11.309",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M14.2151 13.2434L17.1544 10.3717L14.2151 7.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),kt=d.div`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SpendManagementPerTabPage-BBJm3884-BFVFYDTY.js","assets/index-CilRLucN.js","assets/sentry-D-LCra2M.js","assets/pdf-CwWlK-Dr.js","assets/zeni-epic-state-B1zsDZZ4.js","assets/core-AYNw6kyJ.js","assets/mui-Ckdcx_YE.js","assets/recharts-Dr1JzI4y.js","assets/lottie-DdLBMmzp.js","assets/liveblocks-DJcRPJQh.js","assets/dnd-Dw-riVE4.js","assets/analytics-CVqRc8fh.js","assets/plaid-BhP6n1uc.js","assets/utils-CI1RvLss.js","assets/index-D-vub4_t.css","assets/BusyIndication-DmApVsF7-DQl3VYqH.js","assets/StatusSwitcher-D3qCg5J1-CR1Mcm2E.js","assets/common-Cws59IN1-fneKv-li.js","assets/calculateSize-i9QGr8q0-Dp5VSL_N.js","assets/useLongPress-GCK2COYQ-Bs4IMufW.js"])))=>i.map(i=>d[i]);
2
+ import{G9 as ze,Ga as Ge,Gb as Ue,Gc as G,Gd as He,F3 as Ve,Ge as qe,Gf as Je,Gg as We,FY as Ke,FX as Xe,G5 as Qe,_ as Ye}from"./zeni-epic-state-B1zsDZZ4.js";import{V as n,y as Ze,_ as U,e as H,ba as et,g2 as tt,a_ as ot,w as at,o as t,cX as nt,gj as N,aD as it,O as V,gk as rt,gl as st,gm as lt,gn as ct,f as $,k as dt,go as ut,be as pt,x as S,fi as mt,gp as ht,a8 as bt,bq as yt,l as gt,bH as wt,gq as ft,aA as Ct,H as vt,m as k}from"./index-CilRLucN.js";import{a as h}from"./sentry-D-LCra2M.js";import{n as d,k as q}from"./mui-Ckdcx_YE.js";import{_ as xt}from"./liveblocks-DJcRPJQh.js";import{t as Tt}from"./SpendManagementSection-6R5y0Hy4-BDNcg1eM.js";import{K as St}from"./StatusSwitcher-D3qCg5J1-CR1Mcm2E.js";import"./core-AYNw6kyJ.js";import"./pdf-CwWlK-Dr.js";import"./lottie-DdLBMmzp.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./recharts-Dr1JzI4y.js";import"./utils-CI1RvLss.js";import"./MoreMenuButton-B1OKwXLg-CUWjb2Vn.js";import"./bank-letter-BOcVjN6J-KdddOmyc.js";import"./spend-limit-D6SyboD4-D85B38gI.js";import"./dollar-round-D18u7nlm-CvsBoEut.js";import"./money-2cg1MuG4-B7YE6t0I.js";import"./page-summary-D7_VQHwN-BvkWkaoT.js";import"./transaction-placeholder-CpOwZAMG-Ca0HZ2W6.js";import"./unlock-BPWn2I5L-DDdPB9QU.js";import"./filter-cZIFUNvj-lFkn5gVk.js";import"./ZeniDatePicker-CYNEE0pM-DG-NDcrF.js";import"./avatar-Dz7aEm3d-B-3VAvb3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="410e3453-d95f-4948-9ca4-41e80a5c08d6",e._sentryDebugIdIdentifier="sentry-dbid-410e3453-d95f-4948-9ca4-41e80a5c08d6")}catch{}})();const F=e=>h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},h.createElement("path",{d:"M22.781 11.8215C22.7883 14.6988 21.6612 17.4629 19.6441 19.5146C17.627 21.5664 14.8825 22.7404 12.0055 22.7822C10.6005 22.8033 9.20515 22.5453 7.90056 22.023C6.59596 21.5008 5.40804 20.7247 4.40567 19.7399C3.40331 18.755 2.60645 17.5809 2.06132 16.2857C1.51619 14.9905 1.23362 13.6 1.23002 12.1948C1.22199 9.31703 2.34875 6.55215 4.36593 4.49975C6.38312 2.44735 9.1281 1.27292 12.0055 1.23117C13.4108 1.21016 14.8063 1.46837 16.111 1.99085C17.4158 2.51332 18.6038 3.28965 19.6061 4.27481C20.6085 5.25996 21.4053 6.43433 21.9503 7.72981C22.4953 9.02529 22.7777 10.4161 22.781 11.8215Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M17.1573 10.374H9.83934C9.05979 10.374 8.31216 10.6766 7.76093 11.2151C7.2097 11.7537 6.90002 12.4841 6.90002 13.2457C6.90002 14.0074 7.2097 14.7378 7.76093 15.2764C8.31216 15.8149 9.05979 16.1175 9.83934 16.1175H11.309",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M14.2151 13.2434L17.1544 10.3717L14.2151 7.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),kt=d.div`
3
3
  min-width: ${t.sp3};
4
4
  width: ${t.sp3};
5
5
  height: ${t.sp3};
@@ -24,7 +24,7 @@ import{G9 as ze,Ga as Ge,Gb as Ue,Gc as G,Gd as He,F3 as Ve,Ge as We,Gf as qe,Gg
24
24
  .fade {
25
25
  animation: ${e=>Bt(e)} 0.25s linear;
26
26
  }
27
- `,Bt=({windowSize:e})=>W`
27
+ `,Bt=({windowSize:e})=>q`
28
28
  0% {
29
29
  top: ${v.containerTop.valuePercentage(e)};
30
30
  }
@@ -43,7 +43,7 @@ import{G9 as ze,Ga as Ge,Gb as Ue,Gc as G,Gd as He,F3 as Ve,Ge as We,Gf as qe,Gg
43
43
  top: ${e=>e.fade?"100%":v.containerTop.valuePercentage(e.windowSize)};
44
44
  padding: ${e=>`${t.sp7} ${v.containerPaddingLeftRight.valuePx(e.windowSize)}`};
45
45
  width: ${e=>v.width.valuePx(e.windowSize)};
46
- animation: ${e=>(({windowSize:r})=>W`
46
+ animation: ${e=>(({windowSize:r})=>q`
47
47
  0% {
48
48
  top: 100%;
49
49
  }
@@ -82,7 +82,7 @@ import{G9 as ze,Ga as Ge,Gb as Ue,Gc as G,Gd as He,F3 as Ve,Ge as We,Gf as qe,Gg
82
82
  cursor: ${e=>e.showCopyIcon?"pointer":"default"};
83
83
  border: 1px solid
84
84
  ${e=>e.showCopyText?e.theme.colors.champion:e.theme.colors.primary};
85
- `,_t=d(wt)`
85
+ `,_t=d(ft)`
86
86
  width: ${t.sp3};
87
87
  height: ${t.sp3};
88
88
  cursor: pointer;
@@ -93,7 +93,7 @@ import{G9 as ze,Ga as Ge,Gb as Ue,Gc as G,Gd as He,F3 as Ve,Ge as We,Gf as qe,Gg
93
93
  display: flex;
94
94
  align-items: center;
95
95
  color: ${e=>e.showCopyText?e.theme.colors.primary:e.theme.colors.grey1};
96
- `,Nt=d(ft)`
96
+ `,Nt=d(wt)`
97
97
  margin-right: ${t.sp2};
98
98
  color: ${e=>e.showCopyText?e.theme.colors.champion:e.theme.colors.primary};
99
99
  `,Ft=d(Ct)`
@@ -117,7 +117,7 @@ import{G9 as ze,Ga as Ge,Gb as Ue,Gc as G,Gd as He,F3 as Ve,Ge as We,Gf as qe,Gg
117
117
  color: ${e=>e.theme.colors.primary};
118
118
  position: absolute;
119
119
  bottom: 22px;
120
- `,M=V.getLocalizedStrings().common.copyToClipBoard;function Ut(e){const r=H(),[,u]=lt(),[p,g]=h.useState(!0),[l,i]=h.useState(!1),[o,s]=h.useState(!1),{isMobileOrTabletScreen:a}=ct();return h.useEffect(()=>{p===!1&&setTimeout(()=>{g(!0)},2e3)},[p]),n.jsx(At,{windowSize:r,role:"presentation",style:{background:$.overlayDark,...e.style},children:n.jsx(dt,{onClickAway:()=>{s(!0),setTimeout(()=>e.onCancelClick?.(),250)},children:n.jsxs(jt,{windowSize:r,className:o?"fade":"",fade:o,children:[n.jsx(Mt,{onClick:()=>{s(!0),setTimeout(()=>e.onCancelClick?.(),250)}}),n.jsx(Lt,{children:e.title}),n.jsx(zt,{children:e.descriptionLines.map((b,C)=>n.jsxs(Pt,{children:[n.jsx(Dt,{children:b.icon}),n.jsx(Et,{windowSize:r,children:b.text})]},C))}),n.jsxs(Ot,{onClick:()=>{if(p){const b=e.botEmail;u(b),g(!1)}},onMouseOver:()=>{i(!0)},onMouseLeave:()=>{i(!1)},showCopyIcon:p,showCopyText:l,children:[n.jsx(Nt,{showCopyText:l,children:e.botEmail}),p?n.jsx(Rt,{windowSize:r,showCopyText:l&&!a,children:n.jsx(_t,{})}):n.jsx(Ft,{})]}),n.jsx(Gt,{children:p?l&&!a?M.copy:null:M.copied})]})})})}const q=V.getLocalizedStrings(),m=q.spendManagement,{common:{texts:{comments:Ht}},collaboration:{threads:{placeholder:{addANewComment:Vt,replyAComment:Wt},tooltip:{resolveComment:qt,unResolveComment:Jt}}}}=q,Xt={drawerSectionPaddingLeftRight:new S(k[4],k[5])},Yt=({threadData:e,collaborationTab:r,isThreadsOpen:u,setIsThreadsOpen:p,handleThreadClick:g,windowSize:l,backgroundColor:i})=>{const o=U(),s=h.useMemo(()=>({application:"dashboard",companyId:o.currentTenant?.companyId,tab:r,entityId:e?.entityId,isGlobalComment:!1}),[o.currentTenant?.companyId,r,e?.entityId]),{threads:a,isLoading:b}=ut({filter:s});return n.jsx(pt,{isDrawerOpen:u,allowComposer:!1,drawerTitle:Ht,threads:a,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:o.currentTenant?.companyId,isGlobalComment:!1,tab:r},isLoading:b,textOverrides:{composerPlaceholder:Vt,replyComposerPlaceholder:Wt,threadResolve:qt,threadUnResolve:Jt},onThreadClick:(C,f)=>g(C,f),onCloseAllThreadsDrawer:()=>p(!1),drawerSectionStyle:{width:l==="small"?"100%":"400px",boxSizing:l==="small"?"border-box":"content-box",padding:`${t.sp0} ${Xt.drawerSectionPaddingLeftRight.valuePx(l)}`,backgroundColor:i},collapsibleThreadStyle:{width:l==="small"?"100%":"360px"}})},Zt=ht(()=>Qe(()=>import("./SpendManagementPerTabPage-BeK0SCeE-uu94FLdi.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]))),Qt=e=>e.base64!==void 0?`${mt}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",z=(e,r,u,p,g)=>{const l=m.filters.filterOptions;return e==="bill_pay"?ze.reduce((i,o)=>{switch(o.value){case"amount":return{...i,[o.value]:l.billAmountOptions};case"paymentMethod":return{...i,[o.value]:l.paymentMethodOptions};case"status":return{...i,[o.value]:[...l.commonStatusOptions,...l.billStatusOptions]};case"paymentType":return{...i,[o.value]:l.billPaymentTypeOptions};default:return{...i,[o.value]:[]}}},{}):e==="reimbursement"?(G(u)?Ge:Ue).reduce((i,o)=>{switch(o.value){case"createdBy":{if(r?.length===0)return{...i,[o.value]:[]};const s=r.map(a=>({label:a?.firstName||a?.lastName?`${a?.firstName} ${a?.lastName}`:a?.email??"",value:a.userId,photo:a?.photo,email:a?.email}));return{...i,[o.value]:s}}case"paymentMethod":return{...i,[o.value]:l.paymentMethodOptions};case"status":return{...i,[o.value]:l.commonStatusOptions};case"amount":return{...i,[o.value]:l.reimbursementAmountOptions};default:return{...i,[o.value]:[]}}},{}):e==="charge_card_payment_history"?(He??[]).reduce((i,o)=>{switch(o.value){case"status":return{...i,[o.value]:l.paymentHistoryStatusOptions};case"initiatedBy":{if(r?.length===0)return{...i,[o.value]:[]};const s=r.map(a=>({label:a?.firstName||a?.lastName?`${a?.firstName} ${a?.lastName}`:a?.email??"",value:a.userId,photo:a?.photo,email:a?.email}));return{...i,[o.value]:[{label:"Autopay",value:"autopay"},...s]}}case"sourceAccount":{const s=g?Object.entries(g).map(([a,b])=>{const C=It(b.depositAccountName,b.depositAccountLast4,m.chargeCard.paymentHistory.sourceAccountUnknown),f=function(y,A){if(y.accountType==="depositAccount"&&y.depositAccountName!=null&&y.depositAccountName!=="")return{iconType:"zeniChecking",iconColor:rt(0)};if(y.accountType==="paymentAccount"&&y.accountLogo!=null&&(y.accountLogo.base64||y.accountLogo.url)){const T=A(y.accountLogo);if(T!=="")return{photo:T}}return{}}(b,Qt),x=f.iconType!=null&&f.iconColor!=null,c=f.photo,I=c!=null&&c!=="";return{label:C,value:a,...x&&{iconType:f.iconType,iconColor:f.iconColor},...I&&{photo:Ve(c)}}}):[];return{...i,[o.value]:s}}case"repaymentDate":return{...i,[o.value]:[]};default:return{...i,[o.value]:[]}}},{}):We.reduce((i,o)=>{switch(o.value){case"assignee":{if(r?.length===0)return{...i,[o.value]:[]};const s=r.map(a=>({label:a?.firstName||a?.lastName?`${a?.firstName} ${a?.lastName}`:a?.email??"",value:a.userId,photo:a?.photo,email:a?.email}));return{...i,[o.value]:s}}case"status":return{...i,[o.value]:[...Je.map(s=>({label:s.name,value:s.code}))]};case"priority":return{...i,[o.value]:[...qe.map(s=>({label:s.name,value:s.code}))]};case"tag":return{...i,[o.value]:[...p.map(s=>({label:s.name,value:s.tagId}))]};default:return{...i,[o.value]:[]}}},{})},Kt=d.div`
120
+ `,M=V.getLocalizedStrings().common.copyToClipBoard;function Ut(e){const r=H(),[,u]=lt(),[p,g]=h.useState(!0),[l,i]=h.useState(!1),[o,s]=h.useState(!1),{isMobileOrTabletScreen:a}=ct();return h.useEffect(()=>{p===!1&&setTimeout(()=>{g(!0)},2e3)},[p]),n.jsx(At,{windowSize:r,role:"presentation",style:{background:$.overlayDark,...e.style},children:n.jsx(dt,{onClickAway:()=>{s(!0),setTimeout(()=>e.onCancelClick?.(),250)},children:n.jsxs(jt,{windowSize:r,className:o?"fade":"",fade:o,children:[n.jsx(Mt,{onClick:()=>{s(!0),setTimeout(()=>e.onCancelClick?.(),250)}}),n.jsx(Lt,{children:e.title}),n.jsx(zt,{children:e.descriptionLines.map((b,C)=>n.jsxs(Pt,{children:[n.jsx(Dt,{children:b.icon}),n.jsx(Et,{windowSize:r,children:b.text})]},C))}),n.jsxs(Ot,{onClick:()=>{if(p){const b=e.botEmail;u(b),g(!1)}},onMouseOver:()=>{i(!0)},onMouseLeave:()=>{i(!1)},showCopyIcon:p,showCopyText:l,children:[n.jsx(Nt,{showCopyText:l,children:e.botEmail}),p?n.jsx(Rt,{windowSize:r,showCopyText:l&&!a,children:n.jsx(_t,{})}):n.jsx(Ft,{})]}),n.jsx(Gt,{children:p?l&&!a?M.copy:null:M.copied})]})})})}const J=V.getLocalizedStrings(),m=J.spendManagement,{common:{texts:{comments:Ht}},collaboration:{threads:{placeholder:{addANewComment:Vt,replyAComment:qt},tooltip:{resolveComment:Jt,unResolveComment:Wt}}}}=J,Kt={drawerSectionPaddingLeftRight:new S(k[4],k[5])},Xt=({threadData:e,collaborationTab:r,isThreadsOpen:u,setIsThreadsOpen:p,handleThreadClick:g,windowSize:l,backgroundColor:i})=>{const o=U(),s=h.useMemo(()=>({application:"dashboard",companyId:o.currentTenant?.companyId,tab:r,entityId:e?.entityId,isGlobalComment:!1}),[o.currentTenant?.companyId,r,e?.entityId]),{threads:a,isLoading:b}=ut({filter:s});return n.jsx(pt,{isDrawerOpen:u,allowComposer:!1,drawerTitle:Ht,threads:a,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:o.currentTenant?.companyId,isGlobalComment:!1,tab:r},isLoading:b,textOverrides:{composerPlaceholder:Vt,replyComposerPlaceholder:qt,threadResolve:Jt,threadUnResolve:Wt},onThreadClick:(C,w)=>g(C,w),onCloseAllThreadsDrawer:()=>p(!1),drawerSectionStyle:{width:l==="small"?"100%":"400px",boxSizing:l==="small"?"border-box":"content-box",padding:`${t.sp0} ${Kt.drawerSectionPaddingLeftRight.valuePx(l)}`,backgroundColor:i},collapsibleThreadStyle:{width:l==="small"?"100%":"360px"}})},Qt=ht(()=>Ye(()=>import("./SpendManagementPerTabPage-BBJm3884-BFVFYDTY.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]))),Yt=e=>e.base64!==void 0?`${mt}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",z=(e,r,u,p,g)=>{const l=m.filters.filterOptions;return e==="bill_pay"?ze.reduce((i,o)=>{switch(o.value){case"amount":return{...i,[o.value]:l.billAmountOptions};case"paymentMethod":return{...i,[o.value]:l.paymentMethodOptions};case"status":return{...i,[o.value]:[...l.commonStatusOptions,...l.billStatusOptions]};case"paymentType":return{...i,[o.value]:l.billPaymentTypeOptions};default:return{...i,[o.value]:[]}}},{}):e==="reimbursement"?(G(u)?Ge:Ue).reduce((i,o)=>{switch(o.value){case"createdBy":{if(r?.length===0)return{...i,[o.value]:[]};const s=r.map(a=>({label:a?.firstName||a?.lastName?`${a?.firstName} ${a?.lastName}`:a?.email??"",value:a.userId,photo:a?.photo,email:a?.email}));return{...i,[o.value]:s}}case"paymentMethod":return{...i,[o.value]:l.paymentMethodOptions};case"status":return{...i,[o.value]:l.commonStatusOptions};case"amount":return{...i,[o.value]:l.reimbursementAmountOptions};default:return{...i,[o.value]:[]}}},{}):e==="charge_card_payment_history"?(He??[]).reduce((i,o)=>{switch(o.value){case"status":return{...i,[o.value]:l.paymentHistoryStatusOptions};case"initiatedBy":{if(r?.length===0)return{...i,[o.value]:[]};const s=r.map(a=>({label:a?.firstName||a?.lastName?`${a?.firstName} ${a?.lastName}`:a?.email??"",value:a.userId,photo:a?.photo,email:a?.email}));return{...i,[o.value]:[{label:"Autopay",value:"autopay"},...s]}}case"sourceAccount":{const s=g?Object.entries(g).map(([a,b])=>{const C=It(b.depositAccountName,b.depositAccountLast4,m.chargeCard.paymentHistory.sourceAccountUnknown),w=function(y,A){if(y.accountType==="depositAccount"&&y.depositAccountName!=null&&y.depositAccountName!=="")return{iconType:"zeniChecking",iconColor:rt(0)};if(y.accountType==="paymentAccount"&&y.accountLogo!=null&&(y.accountLogo.base64||y.accountLogo.url)){const T=A(y.accountLogo);if(T!=="")return{photo:T}}return{}}(b,Yt),x=w.iconType!=null&&w.iconColor!=null,c=w.photo,I=c!=null&&c!=="";return{label:C,value:a,...x&&{iconType:w.iconType,iconColor:w.iconColor},...I&&{photo:Ve(c)}}}):[];return{...i,[o.value]:s}}case"repaymentDate":return{...i,[o.value]:[]};default:return{...i,[o.value]:[]}}},{}):qe.reduce((i,o)=>{switch(o.value){case"assignee":{if(r?.length===0)return{...i,[o.value]:[]};const s=r.map(a=>({label:a?.firstName||a?.lastName?`${a?.firstName} ${a?.lastName}`:a?.email??"",value:a.userId,photo:a?.photo,email:a?.email}));return{...i,[o.value]:s}}case"status":return{...i,[o.value]:[...We.map(s=>({label:s.name,value:s.code}))]};case"priority":return{...i,[o.value]:[...Je.map(s=>({label:s.name,value:s.code}))]};case"tag":return{...i,[o.value]:[...p.map(s=>({label:s.name,value:s.tagId}))]};default:return{...i,[o.value]:[]}}},{})},Zt=d.div`
121
121
  display: flex;
122
122
  min-height: 100%;
123
123
  flex-direction: column;
@@ -131,4 +131,4 @@ import{G9 as ze,Ga as Ge,Gb as Ue,Gc as G,Gd as He,F3 as Ve,Ge as We,Gf as qe,Gg
131
131
  display: flex;
132
132
  margin-top: ${t.sp3};
133
133
  justify-content: center;
134
- `,Lo=Object.freeze(Object.defineProperty({__proto__:null,default:e=>{const r=Ke(),u=U(),p=H(),{transactionList:g,allSubTabs:l,isAdmin:i,botEmail:o,isEmployee:s=!1,currentTab:a,currentSubTab:b,approvalCount:C,fetchState:f,analytics:x,entity:c,uiState:I,searchText:y,filters:A,vendorSearchAutoCompleteData:T,vendorSearchAutoCompleteActions:J,createdByUserList:X,createdByUserListFetchState:j,downloadParams:Y,downloadState:Z,isDownloadEnabled:Q,isShowDeletedBillsEnabled:K,isShowDeletedReimbursementEnabled:ee,billPayApprovalRulesAffectedEntityIds:te,remiApprovalRulesAffectedEntityIds:oe,isBillPayCommentingEnabled:L,isReimbursementCommentingEnabled:D,isDetectInsufficientFundsEnabled:ae=!1,updateTabToState:ne,onSubtabChange:E,onReloadTransactions:ie,onTransactionClick:P,onClickSetupIcon:O,onBackClick:re,onAddTransactionClick:se,onColumnSortConfigChanged:le,onSearchTextChanged:ce,onClickMenuIcon:de,onFiltersChange:ue,updateDownloadStateHandler:pe,bulkSubmissionLimit:me=10,isBulkActionAllowed:he=!1,isRecurringBillInBulkActionList:be=!1,transactionsSelectedForBulkAction:ye=[],allowedBulkActions:ge=[],bulkSubmissionFetchState:fe,updateBulkActionList:we,removeAllTransactionsFromBulkActionList:Ce,onProceedForBulkActionClick:ve}=e,xe=n.jsx(Zt,{botEmail:o,transactionList:g,allSubTabs:l,isAdmin:i,selectedTab:a,selectedSubTab:b,fetchState:f,onSubtabChange:E,onTransactionRowClick:w=>{P(w,a)},onReloadTransactions:ie,onColumnSortConfigChanged:le,analytics:x,entity:c,uiState:I,searchText:y,isShowDeletedBillsEnabled:K,isShowDeletedReimbursementEnabled:ee,billPayApprovalRulesAffectedEntityIds:te,remiApprovalRulesAffectedEntityIds:oe,isBillPayCommentingEnabled:L,isReimbursementCommentingEnabled:D,bulkSubmissionLimit:me,isBulkActionAllowed:he,isRecurringBillInBulkActionList:be,transactionsSelectedForBulkAction:ye,isDetectInsufficientFundsEnabled:ae,allowedBulkActions:ge,bulkSubmissionFetchState:fe,updateBulkActionList:we,removeAllTransactionsFromBulkActionList:Ce,onProceedForBulkActionClick:ve}),Te=Xe(u.loggedInUserRoleMap),[_,Se]=h.useState(!1),[ke,R]=h.useState(!1),$e=c==="bill_pay"?Ye(u.loggedInUserRoleMap):Ze(u.loggedInUserRoleMap),Ie={entity:c,showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!0,newButtonLabel:"New",isSearchOpen:_,searchPlaceHolder:c==="bill_pay"?m.billPay.billsByTabs.searchPlaceHolder:m.reimbursement.reimbursementByTabs.searchPlaceHolder,searchText:y,searchTextBoxStyle:{right:"204px"},showSettingsIconOnNavbar:$e,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!0,disableDownloadButton:Q===!1,downloadParams:Y,downloadState:Z,filters:A,vendorSearchAutoCompleteData:T,vendorSearchAutoCompleteActions:J,createdByUserListLoaded:!(c!=="bill_pay"&&!G(u.loggedInUserRole??[]))||j==="Completed"||j==="Error",analytics:x,onNewButtonClick:se,onSearchOpen:w=>{Se(w)},onSearchTextChanged:ce,onClickSetupIcon:O,onClickEmailInfoIcon:()=>R(!0),onFiltersChange:ue,getFilterOptions:c==="bill_pay"||c==="reimbursement"?()=>z(c,X??[],u.loggedInUserRole??[],[]):void 0,updateDownloadStateHandler:pe},Ae=n.jsx(Tt,{spendManagementSectionProps:Ie}),[Be,je]=h.useState(null),[Le,B]=h.useState(!1),{setRequestToOpenThread:De}=h.useContext(et),Ee=`dashboard_${u.currentTenant?.companyId}`,Pe=c==="bill_pay"?"bill":"reimbursement",Oe=c==="bill_pay"&&L||c==="reimbursement"&&D,_e={openAllThreadsDrawer:w=>{je({...w}),B(!0)}};return n.jsx(tt,{sharedItems:{sharedFunctions:{subtreeFunctions:_e},sharedRef:void 0},children:n.jsxs(Kt,{children:[n.jsx(ot,{source:"SpendManagementListViewPage",title:c==="bill_pay"?m.billPay.billsByTabs.pageTitle:m.reimbursement.reimbursementByTabs.pageTitle,showBackButton:!s&&!Te,showMenuIcon:p==="medium-compact"||p==="small",backgroundColor:r.colors.grey4,style:{zIndex:3,...at.largeSemiBold.cssObject},onBackClick:re,rightSideComponent:Ae,onClickMenuIcon:de,isSearchOpen:_}),n.jsxs(eo,{children:[n.jsx(to,{children:n.jsx(St,{tabIds:["draft","pending_approval","scheduled","paid"],approvalCount:C,selectedTab:a,entity:c,enablePerformanceTracking:!1,onTabSelectedChange:w=>{ne(w),E("all")},onClickSetupIcon:O})}),xe]}),ke?n.jsx(Ut,{botEmail:o,onCancelClick:()=>R(!1),title:c==="bill_pay"?m.billPay.billsByTabs.emailInfoTitle:m.reimbursement.reimbursementByTabs.emailInfoTitle,descriptionLines:c==="bill_pay"?[{icon:n.jsx(F,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription1},{icon:n.jsx(nt,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription2},{icon:n.jsx(N,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription3}]:[{icon:n.jsx(F,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription1},{icon:n.jsx(it,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription2},{icon:n.jsx(N,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription3}]}):null,Oe?n.jsx(xt,{id:Ee,children:n.jsx(Yt,{threadData:Be,collaborationTab:Pe,isThreadsOpen:Le,setIsThreadsOpen:B,handleThreadClick:(w,Re)=>{const{companyId:Ne,entityId:Fe,entityType:Me}=w;B(!1),De({threadId:Re,companyId:Ne,entityType:Me}),P(Fe,a)},windowSize:p,backgroundColor:r.colors.background})}):null]})})},getDashboardFilterCategoryValues:z},Symbol.toStringTag,{value:"Module"}));export{Lo as S,z as a,It as g,Bo as i,jo as r};
134
+ `,Lo=Object.freeze(Object.defineProperty({__proto__:null,default:e=>{const r=Ze(),u=U(),p=H(),{transactionList:g,allSubTabs:l,isAdmin:i,botEmail:o,isEmployee:s=!1,currentTab:a,currentSubTab:b,approvalCount:C,fetchState:w,analytics:x,entity:c,uiState:I,searchText:y,filters:A,vendorSearchAutoCompleteData:T,vendorSearchAutoCompleteActions:W,createdByUserList:K,createdByUserListFetchState:j,downloadParams:X,downloadState:Q,isDownloadEnabled:Y,isShowDeletedBillsEnabled:Z,isShowDeletedReimbursementEnabled:ee,billPayApprovalRulesAffectedEntityIds:te,remiApprovalRulesAffectedEntityIds:oe,isBillPayCommentingEnabled:L,isReimbursementCommentingEnabled:D,isDetectInsufficientFundsEnabled:ae=!1,updateTabToState:ne,onSubtabChange:E,onReloadTransactions:ie,onTransactionClick:P,onClickSetupIcon:O,onBackClick:re,onAddTransactionClick:se,onColumnSortConfigChanged:le,onSearchTextChanged:ce,onClickMenuIcon:de,onFiltersChange:ue,updateDownloadStateHandler:pe,bulkSubmissionLimit:me=10,isBulkActionAllowed:he=!1,isRecurringBillInBulkActionList:be=!1,transactionsSelectedForBulkAction:ye=[],allowedBulkActions:ge=[],bulkSubmissionFetchState:we,updateBulkActionList:fe,removeAllTransactionsFromBulkActionList:Ce,onProceedForBulkActionClick:ve}=e,xe=n.jsx(Qt,{botEmail:o,transactionList:g,allSubTabs:l,isAdmin:i,selectedTab:a,selectedSubTab:b,fetchState:w,onSubtabChange:E,onTransactionRowClick:f=>{P(f,a)},onReloadTransactions:ie,onColumnSortConfigChanged:le,analytics:x,entity:c,uiState:I,searchText:y,isShowDeletedBillsEnabled:Z,isShowDeletedReimbursementEnabled:ee,billPayApprovalRulesAffectedEntityIds:te,remiApprovalRulesAffectedEntityIds:oe,isBillPayCommentingEnabled:L,isReimbursementCommentingEnabled:D,bulkSubmissionLimit:me,isBulkActionAllowed:he,isRecurringBillInBulkActionList:be,transactionsSelectedForBulkAction:ye,isDetectInsufficientFundsEnabled:ae,allowedBulkActions:ge,bulkSubmissionFetchState:we,updateBulkActionList:fe,removeAllTransactionsFromBulkActionList:Ce,onProceedForBulkActionClick:ve}),Te=Ke(u.loggedInUserRoleMap),[_,Se]=h.useState(!1),[ke,R]=h.useState(!1),$e=c==="bill_pay"?Xe(u.loggedInUserRoleMap):Qe(u.loggedInUserRoleMap),Ie={entity:c,showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!0,newButtonLabel:"New",isSearchOpen:_,searchPlaceHolder:c==="bill_pay"?m.billPay.billsByTabs.searchPlaceHolder:m.reimbursement.reimbursementByTabs.searchPlaceHolder,searchText:y,searchTextBoxStyle:{right:"204px"},showSettingsIconOnNavbar:$e,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!0,disableDownloadButton:Y===!1,downloadParams:X,downloadState:Q,filters:A,vendorSearchAutoCompleteData:T,vendorSearchAutoCompleteActions:W,createdByUserListLoaded:!(c!=="bill_pay"&&!G(u.loggedInUserRole??[]))||j==="Completed"||j==="Error",analytics:x,onNewButtonClick:se,onSearchOpen:f=>{Se(f)},onSearchTextChanged:ce,onClickSetupIcon:O,onClickEmailInfoIcon:()=>R(!0),onFiltersChange:ue,getFilterOptions:c==="bill_pay"||c==="reimbursement"?()=>z(c,K??[],u.loggedInUserRole??[],[]):void 0,updateDownloadStateHandler:pe},Ae=n.jsx(Tt,{spendManagementSectionProps:Ie}),[Be,je]=h.useState(null),[Le,B]=h.useState(!1),{setRequestToOpenThread:De}=h.useContext(et),Ee=`dashboard_${u.currentTenant?.companyId}`,Pe=c==="bill_pay"?"bill":"reimbursement",Oe=c==="bill_pay"&&L||c==="reimbursement"&&D,_e={openAllThreadsDrawer:f=>{je({...f}),B(!0)}};return n.jsx(tt,{sharedItems:{sharedFunctions:{subtreeFunctions:_e},sharedRef:void 0},children:n.jsxs(Zt,{children:[n.jsx(ot,{source:"SpendManagementListViewPage",title:c==="bill_pay"?m.billPay.billsByTabs.pageTitle:m.reimbursement.reimbursementByTabs.pageTitle,showBackButton:!s&&!Te,showMenuIcon:p==="medium-compact"||p==="small",backgroundColor:r.colors.grey4,style:{zIndex:3,...at.largeSemiBold.cssObject},onBackClick:re,rightSideComponent:Ae,onClickMenuIcon:de,isSearchOpen:_}),n.jsxs(eo,{children:[n.jsx(to,{children:n.jsx(St,{tabIds:["draft","pending_approval","scheduled","paid"],approvalCount:C,selectedTab:a,entity:c,enablePerformanceTracking:!1,onTabSelectedChange:f=>{ne(f),E("all")},onClickSetupIcon:O})}),xe]}),ke?n.jsx(Ut,{botEmail:o,onCancelClick:()=>R(!1),title:c==="bill_pay"?m.billPay.billsByTabs.emailInfoTitle:m.reimbursement.reimbursementByTabs.emailInfoTitle,descriptionLines:c==="bill_pay"?[{icon:n.jsx(F,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription1},{icon:n.jsx(nt,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription2},{icon:n.jsx(N,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription3}]:[{icon:n.jsx(F,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription1},{icon:n.jsx(it,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription2},{icon:n.jsx(N,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription3}]}):null,Oe?n.jsx(xt,{id:Ee,children:n.jsx(Xt,{threadData:Be,collaborationTab:Pe,isThreadsOpen:Le,setIsThreadsOpen:B,handleThreadClick:(f,Re)=>{const{companyId:Ne,entityId:Fe,entityType:Me}=f;B(!1),De({threadId:Re,companyId:Ne,entityType:Me}),P(Fe,a)},windowSize:p,backgroundColor:r.colors.background})}):null]})})},getDashboardFilterCategoryValues:z},Symbol.toStringTag,{value:"Module"}));export{Lo as S,z as a,It as g,Bo as i,jo as r};
@@ -1,4 +1,4 @@
1
- import{T as Vt,c8 as Nt,e as J,jU as Wt,V as t,A as Kt,bR as Ut,bS as Ht,bT as Gt,a9 as Zt,o as i,O as ee,bF as Xt,bN as ot,an as Yt,bV as qt,L as Jt,bn as Y,bd as Qt,ab as ei,x as h,y as Ze,fy as ti,f as q,cp as ii,H as N,l as O,C as se,jV as oi,eH as li,jW as ni,jX as yt,jY as bt,_ as Ie,fm as ri,iU as si,jZ as ai,j_ as di,bl as xt,w as _e,b as Q,g6 as Xe,h as Ye,gU as qe,cc as wt,j$ as ft,k0 as ze,a5 as Ae,gW as Je,a1 as fe,ib as $t,b_ as vt,c1 as St,k1 as E,fT as kt,co as Tt,cR as Qe,m as p}from"./index-CuxRoVvZ.js";import{a as B,b as Ct}from"./sentry-Cm8I7E9J.js";import{n as o,c as G}from"./mui-G2MlMTlr.js";import{Hz as Te,GK as Ce,G6 as Le,cm as jt}from"./zeni-epic-state-lC5X-sam.js";import{m as ci}from"./BusyIndication-Cp8KWKB2-C3oZ8Ini.js";import{K as pi,L as mi,_ as ui}from"./StatusSwitcher-jxaonB4S-BRWCrppB.js";import{L as hi,_ as gi,r as yi,M as Pt,S as Bt,i as _t,I as It}from"./common-Cu5K0AJk-Cxd55kqL.js";import{d as zt}from"./useLongPress-GCK2COYQ-BgmUYGJ7.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./calculateSize-QoQyn_Ku-BQL_mWcG.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="bc35fcd7-34e4-4299-879b-46c97ec1dadb",e._sentryDebugIdIdentifier="sentry-dbid-bc35fcd7-34e4-4299-879b-46c97ec1dadb")}catch{}})();const he=ee.getLocalizedStrings().spendManagement.billPay.billsByTabs.header,De={key:"name",value:he.name,sortOrder:"ascending",width:new h(p[5],p[5])},Re={key:"invoiceDate",value:he.invoiceDate,sortOrder:"ascending",width:new h(20,20)},bi={key:"dueDate",value:he.dueDate,sortOrder:"ascending",width:new h(20,20)},et={key:"dueDate",value:he.paymentDate,sortOrder:"ascending",width:new h(20,20)},tt={key:"status",value:he.status,sortOrder:"ascending",width:new h(18,18)},xi={key:"paymentMethod",value:he.paymentMethod,sortOrder:"ascending",width:new h(18,18)},Ee={key:"amount",value:he.amount,sortOrder:"ascending",width:new h(10,10)},xe=[De,Re,bi,tt,Ee],wi=[De,Re,et,tt,Ee],fi=[De,Re,et,tt,Ee],$i=[De,Re,et,xi,Ee],be={headerLastColumnTopPadding:new h(p[0],p[4]),headerLastColumnRightPadding:new h(p[3],p[11]),headerLastColumnBottomPadding:new h(p[0],p[4]),headerLastColumnLeftPadding:new h(p[0],p[4]),headerHeight:new h(Pt,Bt)},vi=Ct.memo(function({companyNameSticky:e,currentTab:l,onColumnSortConfigChanged:d,sortConfig:r}){const s=Ze(),g=J(),[y,x]=B.useState(Ii(l));B.useEffect(()=>{const a=[...y];for(const n of a)n.key===r.sortKey?n.sortOrder=r.sortOrder:n.sortOrder="ascending";x(a)},[r.sortKey,r.sortOrder]);const $=(a,n)=>{let c=n;r.sortKey===a&&(c=n==="ascending"?"descending":"ascending"),d?.(a,c)},w=y.find(a=>a.key===r.sortKey)??y[0],b=y.map(a=>a.key),u=ee.getLocalizedStrings().spendManagement.billPay.billsByTabs;return g==="small"?t.jsxs(lt,{windowSize:g,companyNameSticky:!1,children:[t.jsxs(Ti,{children:[t.jsx(ji,{children:t.jsx(Ci,{})}),t.jsx(xt,{title:u.sortBy,placeholder:u.sortBy,pickerValues:b,valueToLabel:a=>y.find(n=>n.key===a)?.value??"",selectedValue:r.sortKey,onPickerSelectionChanged:a=>{$(a,"ascending")},optionTextStyle:_e.smallRegular,titleTextStyle:_e.smallRegular,titleColor:s.colors.primary,selectedOptionColor:s.colors.hero,optionBackgroundColor:s.colors.grey5,downChevronVisible:!1,backgroundColor:s.colors.background})]}),t.jsxs(_i,{onClick:()=>$(w.key,w.sortOrder),"data-testid":Q("bill-pay-list-header-mobile",r.sortKey),children:[t.jsx(se,{children:w.value}),t.jsx(nt,{sortDataValue:r.sortKey,headerdata:w,children:t.jsx(rt,{})})]})]}):t.jsx(lt,{companyNameSticky:e,windowSize:g,children:y.map(a=>t.jsxs(Si,{companyNameSticky:e&&a.key==="name",sortDataValue:r.sortKey,actualDataValue:a.key,wrapperWidth:a.width,windowSize:g,children:[t.jsxs(Bi,{onClick:()=>$(a.key,a.sortOrder),"data-testid":Q("bill-pay-list-header",r.sortKey),children:[t.jsx(se,{children:a.value}),t.jsx(nt,{sortDataValue:r.sortKey,headerdata:a,children:t.jsx(rt,{})})]}),t.jsx(Pi,{sortDataValue:r.sortKey,windowSize:g,isVisible:r.sortKey===a.key&&a.key!=="dueDate",children:t.jsx(ki,{onClick:()=>$("dueDate","ascending"),"data-testid":Q("bill-pay-list-header-sort-close",r.sortKey)})})]},a.key))})}),lt=o(se)`
1
+ import{T as Vt,c8 as Nt,e as J,jU as Wt,V as t,A as Kt,bR as Ut,bS as Ht,bT as Gt,a9 as Zt,o as i,O as ee,bF as Xt,bN as ot,an as Yt,bV as qt,L as Jt,bo as Y,bd as Qt,ab as ei,x as h,y as Ze,fy as ti,f as q,cp as ii,H as N,l as O,C as se,jV as oi,eH as li,jW as ni,jX as yt,jY as bt,_ as Ie,fm as ri,iU as si,jZ as ai,j_ as di,bm as xt,w as _e,b as Q,g6 as Xe,h as Ye,gU as qe,cc as wt,j$ as ft,k0 as ze,a5 as Ae,gW as Je,a1 as fe,ib as $t,b_ as vt,c1 as St,k1 as E,fT as kt,co as Tt,cR as Qe,m as p}from"./index-CilRLucN.js";import{a as B,b as Ct}from"./sentry-D-LCra2M.js";import{n as o,c as G}from"./mui-Ckdcx_YE.js";import{Hz as Te,GK as Ce,G6 as Le,cm as jt}from"./zeni-epic-state-B1zsDZZ4.js";import{m as ci}from"./BusyIndication-DmApVsF7-DQl3VYqH.js";import{K as pi,L as mi,_ as ui}from"./StatusSwitcher-D3qCg5J1-CR1Mcm2E.js";import{L as hi,_ as gi,r as yi,M as Pt,S as Bt,i as _t,I as It}from"./common-Cws59IN1-fneKv-li.js";import{d as zt}from"./useLongPress-GCK2COYQ-Bs4IMufW.js";import"./pdf-CwWlK-Dr.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";import"./calculateSize-i9QGr8q0-Dp5VSL_N.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="141899e9-60a7-475d-bc37-e4caf7cf6b93",e._sentryDebugIdIdentifier="sentry-dbid-141899e9-60a7-475d-bc37-e4caf7cf6b93")}catch{}})();const he=ee.getLocalizedStrings().spendManagement.billPay.billsByTabs.header,De={key:"name",value:he.name,sortOrder:"ascending",width:new h(p[5],p[5])},Re={key:"invoiceDate",value:he.invoiceDate,sortOrder:"ascending",width:new h(20,20)},bi={key:"dueDate",value:he.dueDate,sortOrder:"ascending",width:new h(20,20)},et={key:"dueDate",value:he.paymentDate,sortOrder:"ascending",width:new h(20,20)},tt={key:"status",value:he.status,sortOrder:"ascending",width:new h(18,18)},xi={key:"paymentMethod",value:he.paymentMethod,sortOrder:"ascending",width:new h(18,18)},Ee={key:"amount",value:he.amount,sortOrder:"ascending",width:new h(10,10)},xe=[De,Re,bi,tt,Ee],wi=[De,Re,et,tt,Ee],fi=[De,Re,et,tt,Ee],$i=[De,Re,et,xi,Ee],be={headerLastColumnTopPadding:new h(p[0],p[4]),headerLastColumnRightPadding:new h(p[3],p[11]),headerLastColumnBottomPadding:new h(p[0],p[4]),headerLastColumnLeftPadding:new h(p[0],p[4]),headerHeight:new h(Pt,Bt)},vi=Ct.memo(function({companyNameSticky:e,currentTab:l,onColumnSortConfigChanged:d,sortConfig:r}){const s=Ze(),g=J(),[y,x]=B.useState(Ii(l));B.useEffect(()=>{const a=[...y];for(const n of a)n.key===r.sortKey?n.sortOrder=r.sortOrder:n.sortOrder="ascending";x(a)},[r.sortKey,r.sortOrder]);const $=(a,n)=>{let c=n;r.sortKey===a&&(c=n==="ascending"?"descending":"ascending"),d?.(a,c)},w=y.find(a=>a.key===r.sortKey)??y[0],b=y.map(a=>a.key),u=ee.getLocalizedStrings().spendManagement.billPay.billsByTabs;return g==="small"?t.jsxs(lt,{windowSize:g,companyNameSticky:!1,children:[t.jsxs(Ti,{children:[t.jsx(ji,{children:t.jsx(Ci,{})}),t.jsx(xt,{title:u.sortBy,placeholder:u.sortBy,pickerValues:b,valueToLabel:a=>y.find(n=>n.key===a)?.value??"",selectedValue:r.sortKey,onPickerSelectionChanged:a=>{$(a,"ascending")},optionTextStyle:_e.smallRegular,titleTextStyle:_e.smallRegular,titleColor:s.colors.primary,selectedOptionColor:s.colors.hero,optionBackgroundColor:s.colors.grey5,downChevronVisible:!1,backgroundColor:s.colors.background})]}),t.jsxs(_i,{onClick:()=>$(w.key,w.sortOrder),"data-testid":Q("bill-pay-list-header-mobile",r.sortKey),children:[t.jsx(se,{children:w.value}),t.jsx(nt,{sortDataValue:r.sortKey,headerdata:w,children:t.jsx(rt,{})})]})]}):t.jsx(lt,{companyNameSticky:e,windowSize:g,children:y.map(a=>t.jsxs(Si,{companyNameSticky:e&&a.key==="name",sortDataValue:r.sortKey,actualDataValue:a.key,wrapperWidth:a.width,windowSize:g,children:[t.jsxs(Bi,{onClick:()=>$(a.key,a.sortOrder),"data-testid":Q("bill-pay-list-header",r.sortKey),children:[t.jsx(se,{children:a.value}),t.jsx(nt,{sortDataValue:r.sortKey,headerdata:a,children:t.jsx(rt,{})})]}),t.jsx(Pi,{sortDataValue:r.sortKey,windowSize:g,isVisible:r.sortKey===a.key&&a.key!=="dueDate",children:t.jsx(ki,{onClick:()=>$("dueDate","ascending"),"data-testid":Q("bill-pay-list-header-sort-close",r.sortKey)})})]},a.key))})}),lt=o(se)`
2
2
  width: 100%;
3
3
  top: ${i.sp0};
4
4
  left: ${i.sp0};
@@ -1,4 +1,4 @@
1
- import{V as r,gr as be,o,b as I,gs as ye,j as fe,y as _,gt as ve,au as W,b3 as G,w as z,O,b4 as F,C as U,e as E,bE as $e,b2 as Y,l as V,bP as J,L as pe,m as N,a as Ce,x as he,bx as we,gu as je,cq as ue,_ as ke,at as Se,gv as Oe,B as Le,f as De,cp as Ie,bd as Ae,M as X,a8 as Me,fw as ze,ab as Fe}from"./index-CuxRoVvZ.js";import{a as l}from"./sentry-Cm8I7E9J.js";import{n as s,k as _e}from"./mui-G2MlMTlr.js";import{y as Be}from"./MoreMenuButton-CkkW1atP-BhjeSlOV.js";import{t as Ee}from"./filter-cZIFUNvj-CWbeOwgA.js";import{g as K}from"./ZeniDatePicker-Bw9RlgoL-BmT27weB.js";import{r as Re}from"./avatar-Dz7aEm3d-CxU8IzEu.js";import{Gd as Pe,Ge as He,Ga as Te,Gb as Ve,Gc as Ne,G9 as We}from"./zeni-epic-state-lC5X-sam.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="56c91d6b-5d79-4d8a-add4-2fa11662d6b3",e._sentryDebugIdIdentifier="sentry-dbid-56c91d6b-5d79-4d8a-add4-2fa11662d6b3")}catch{}})();const Ge=s.div`
1
+ import{V as r,gr as be,o,b as I,gs as ye,j as fe,y as _,gt as ve,au as W,b3 as G,w as z,O,b4 as F,C as U,e as R,bi as $e,b2 as Y,l as V,bP as J,L as pe,m as N,a as Ce,x as he,by as we,gu as je,cq as ue,_ as ke,at as Se,gv as Oe,B as Le,f as De,cp as Ie,bd as Ae,M as X,a8 as Me,fw as ze,ab as Fe}from"./index-CilRLucN.js";import{a as l}from"./sentry-D-LCra2M.js";import{n as s,k as _e}from"./mui-Ckdcx_YE.js";import{y as Be}from"./MoreMenuButton-B1OKwXLg-CUWjb2Vn.js";import{t as Re}from"./filter-cZIFUNvj-lFkn5gVk.js";import{g as K}from"./ZeniDatePicker-CYNEE0pM-DG-NDcrF.js";import{r as Ee}from"./avatar-Dz7aEm3d-B-3VAvb3.js";import{Gd as Pe,Ge as He,Ga as Te,Gb as Ve,Gc as Ne,G9 as We}from"./zeni-epic-state-B1zsDZZ4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ac34d006-0266-4a3f-b8d1-5adcabcc9bd8",e._sentryDebugIdIdentifier="sentry-dbid-ac34d006-0266-4a3f-b8d1-5adcabcc9bd8")}catch{}})();const Ge=s.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  height: ${o.sp6};
@@ -86,7 +86,7 @@ import{V as r,gr as be,o,b as I,gs as ye,j as fe,y as _,gt as ve,au as W,b3 as G
86
86
  border-top-right-radius: ${o.sp1};
87
87
  border-bottom-right-radius: ${o.sp1};
88
88
  box-sizing: border-box;
89
- `,ge=l.forwardRef(({onSearchTextChanged:e,onFilterButtonClick:t,isFilterBtnActive:n,isFilterDisabled:d,filtersCount:c,filterText:a,searchPlaceholder:i,includeSearch:b=!0},g)=>{const v=l.useRef(null),y=c!=null&&c>0;return r.jsxs(Ge,{"data-testid":I("spend-management-filters"),children:[b?r.jsxs(Ue,{stretched:a.trim().length>0,children:[r.jsx(Je,{onClick:()=>{v.current?.focus()},children:r.jsx(be,{width:o.sp4,height:o.sp4})}),r.jsx(Ye,{value:a,ref:v,onChange:j=>{e&&e(j.target.value)},type:"text",placeholder:i})]}):null,r.jsx(Ke,{buttonOnly:!b,children:r.jsxs(qe,{isActive:n,isDisabled:d??!1,buttonOnly:!b,ref:g,onClick:()=>{t&&t()},children:[r.jsx(Ee,{width:o.sp4,height:o.sp4}),y&&r.jsx(Xe,{children:c})]})})]})});ge.displayName="SearchBoxWithFilterButton";const Qe=({open:e,anchorEl:t,children:n,paperStyle:d,onClose:c})=>{const a=_();return r.jsx(ve,{transitionDuration:400,anchorEl:t,open:e,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},PaperProps:{style:{...d,marginTop:"6px",background:"transparent",boxShadow:`${o.sp0} 2px ${o.sp2} ${a.colors.dropShadowHover}`}},"data-testid":I("cockpit-filters-popover-panel"),onClose:c,children:n})},Ze=e=>({placeholder:t=>({...t,color:e.colors.grey1,...z.standardRegular.cssObject}),input:t=>({...t,color:e.colors.primary,margin:0,padding:0}),control:t=>({...t,backgroundColor:e.colors.background,border:"none",boxShadow:"none",height:o.sp6,cursor:"pointer"}),valueContainer:t=>({...t,height:"100%",padding:`${o.sp2} ${o.sp3}`}),indicatorSeparator:t=>({...t,display:"none"}),indicatorsContainer:t=>({...t,display:"none"}),option:(t,n)=>({...t,...z.standardRegular.cssObject,padding:`${o.sp2} ${o.sp3}`,cursor:"pointer",color:n.isSelected||n.isFocused?e.colors.primary:e.colors.hero,background:n.isSelected||n.isFocused?e.colors.background:e.colors.grey5,":hover":{color:e.colors.primary,backgroundColor:e.colors.background}}),singleValue:t=>({...t,color:e.colors.primary,margin:0}),menuList:t=>({...t,backgroundColor:e.colors.grey5,maxHeight:"320px"}),menu:t=>({...t,boxShadow:`${o.sp0} 2px ${o.sp2} ${e.colors.dropShadowHover}`})}),et=e=>({placeholder:t=>({...t,color:e.colors.grey1,...z.standardRegular.cssObject}),input:t=>({...t,color:e.colors.primary,margin:0,padding:0}),control:t=>({...t,backgroundColor:e.colors.background,border:"none",boxShadow:"none",minHeight:"unset"}),valueContainer:t=>({...t,height:"100%",padding:0,rowGap:o.sp2,columnGap:o.sp1}),indicatorSeparator:t=>({...t,display:"none"}),indicatorsContainer:t=>({...t,display:"none"}),option:(t,n)=>({...t,...z.standardRegular.cssObject,padding:`${o.sp2} ${o.sp3}`,cursor:"pointer",color:n.isSelected?e.colors.primary:e.colors.hero,background:n.isSelected?e.colors.background:e.colors.grey5,":hover":{color:e.colors.primary,backgroundColor:e.colors.background}}),singleValue:t=>({...t,color:e.colors.primary}),multiValue:t=>({...t,padding:`${o.sp0} ${o.sp2}`,border:`1px solid ${e.colors.primary}`,background:"none",borderRadius:o.sp1,margin:0,columnGap:o.sp2,alignItems:"center",height:o.sp4}),multiValueLabel:t=>({...t,padding:0,paddingLeft:0,color:e.colors.primary,maxWidth:"200px"}),multiValueRemove:t=>({...t,padding:0,":hover":{background:"none",cursor:"pointer"},svg:{color:e.colors.primary}}),menuList:t=>({...t,backgroundColor:e.colors.grey5}),menu:t=>({...t,boxShadow:`${o.sp0} 2px ${o.sp2} ${e.colors.dropShadowHover}`,width:"315px",right:`-${o.sp3}`,marginTop:o.sp3}),container:t=>({...t,flex:1})}),tt=({categoryCombinationOperator:e,onChange:t,buttonsDisabled:n})=>{const d=s.button`
89
+ `,ge=l.forwardRef(({onSearchTextChanged:e,onFilterButtonClick:t,isFilterBtnActive:n,isFilterDisabled:d,filtersCount:c,filterText:a,searchPlaceholder:i,includeSearch:b=!0},g)=>{const v=l.useRef(null),y=c!=null&&c>0;return r.jsxs(Ge,{"data-testid":I("spend-management-filters"),children:[b?r.jsxs(Ue,{stretched:a.trim().length>0,children:[r.jsx(Je,{onClick:()=>{v.current?.focus()},children:r.jsx(be,{width:o.sp4,height:o.sp4})}),r.jsx(Ye,{value:a,ref:v,onChange:j=>{e&&e(j.target.value)},type:"text",placeholder:i})]}):null,r.jsx(Ke,{buttonOnly:!b,children:r.jsxs(qe,{isActive:n,isDisabled:d??!1,buttonOnly:!b,ref:g,onClick:()=>{t&&t()},children:[r.jsx(Re,{width:o.sp4,height:o.sp4}),y&&r.jsx(Xe,{children:c})]})})]})});ge.displayName="SearchBoxWithFilterButton";const Qe=({open:e,anchorEl:t,children:n,paperStyle:d,onClose:c})=>{const a=_();return r.jsx(ve,{transitionDuration:400,anchorEl:t,open:e,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},PaperProps:{style:{...d,marginTop:"6px",background:"transparent",boxShadow:`${o.sp0} 2px ${o.sp2} ${a.colors.dropShadowHover}`}},"data-testid":I("cockpit-filters-popover-panel"),onClose:c,children:n})},Ze=e=>({placeholder:t=>({...t,color:e.colors.grey1,...z.standardRegular.cssObject}),input:t=>({...t,color:e.colors.primary,margin:0,padding:0}),control:t=>({...t,backgroundColor:e.colors.background,border:"none",boxShadow:"none",height:o.sp6,cursor:"pointer"}),valueContainer:t=>({...t,height:"100%",padding:`${o.sp2} ${o.sp3}`}),indicatorSeparator:t=>({...t,display:"none"}),indicatorsContainer:t=>({...t,display:"none"}),option:(t,n)=>({...t,...z.standardRegular.cssObject,padding:`${o.sp2} ${o.sp3}`,cursor:"pointer",color:n.isSelected||n.isFocused?e.colors.primary:e.colors.hero,background:n.isSelected||n.isFocused?e.colors.background:e.colors.grey5,":hover":{color:e.colors.primary,backgroundColor:e.colors.background}}),singleValue:t=>({...t,color:e.colors.primary,margin:0}),menuList:t=>({...t,backgroundColor:e.colors.grey5,maxHeight:"320px"}),menu:t=>({...t,boxShadow:`${o.sp0} 2px ${o.sp2} ${e.colors.dropShadowHover}`})}),et=e=>({placeholder:t=>({...t,color:e.colors.grey1,...z.standardRegular.cssObject}),input:t=>({...t,color:e.colors.primary,margin:0,padding:0}),control:t=>({...t,backgroundColor:e.colors.background,border:"none",boxShadow:"none",minHeight:"unset"}),valueContainer:t=>({...t,height:"100%",padding:0,rowGap:o.sp2,columnGap:o.sp1}),indicatorSeparator:t=>({...t,display:"none"}),indicatorsContainer:t=>({...t,display:"none"}),option:(t,n)=>({...t,...z.standardRegular.cssObject,padding:`${o.sp2} ${o.sp3}`,cursor:"pointer",color:n.isSelected?e.colors.primary:e.colors.hero,background:n.isSelected?e.colors.background:e.colors.grey5,":hover":{color:e.colors.primary,backgroundColor:e.colors.background}}),singleValue:t=>({...t,color:e.colors.primary}),multiValue:t=>({...t,padding:`${o.sp0} ${o.sp2}`,border:`1px solid ${e.colors.primary}`,background:"none",borderRadius:o.sp1,margin:0,columnGap:o.sp2,alignItems:"center",height:o.sp4}),multiValueLabel:t=>({...t,padding:0,paddingLeft:0,color:e.colors.primary,maxWidth:"200px"}),multiValueRemove:t=>({...t,padding:0,":hover":{background:"none",cursor:"pointer"},svg:{color:e.colors.primary}}),menuList:t=>({...t,backgroundColor:e.colors.grey5}),menu:t=>({...t,boxShadow:`${o.sp0} 2px ${o.sp2} ${e.colors.dropShadowHover}`,width:"315px",right:`-${o.sp3}`,marginTop:o.sp3}),container:t=>({...t,flex:1})}),tt=({categoryCombinationOperator:e,onChange:t,buttonsDisabled:n})=>{const d=s.button`
90
90
  padding: ${o.sp2};
91
91
  outline: none;
92
92
  border: none;
@@ -100,7 +100,7 @@ import{V as r,gr as be,o,b as I,gs as ye,j as fe,y as _,gt as ve,au as W,b3 as G
100
100
  border: ${i=>"1px solid "+i.theme.colors.grey3};
101
101
  border-radius: ${o.sp1};
102
102
  overflow: hidden;
103
- `;return r.jsxs(a,{"data-testid":I("cockpit-filters-combop-wrapper"),children:[r.jsx(d,{disabled:n,onClick:()=>{t("AND")},selected:e==="AND","data-testid":I("cockpit-filters-combop-and"),children:r.jsx(c,{buttonsDisabled:n,selected:e==="AND",children:"and"})}),r.jsx(d,{disabled:n,onClick:()=>{t("OR")},selected:e==="OR","data-testid":I("cockpit-filters-combop-or"),children:r.jsx(c,{buttonsDisabled:n,selected:e==="OR",children:"or"})})]})},rt=({selectedDates:e,onDateRangeChange:t})=>{const n=_(),d=E(),c=e?.[0],a=e?.[1],[i,b]=l.useState(c?{date:c}:void 0),[g,v]=l.useState(a?{date:a}:void 0);l.useEffect(()=>{i!=null&&g!=null&&t({startDate:i?.date,endDate:g?.date})},[i,g]);const{dateFormat:{visual:{MMMDCommaYYYYformat:y}},spendManagement:{filters:j}}=O.getLocalizedStrings();return r.jsxs(ot,{size:d,children:[r.jsx(nt,{children:r.jsx($e,{})}),r.jsx(Q,{children:r.jsx(K,{onSelectedDateChanged:C=>{C.isAfter(g?.date)&&v(void 0),b({date:C})},selectedDate:i,dateFormat:y,placeHolder:r.jsx(R,{children:j.from}),style:{backgroundColor:n.colors.background}})}),r.jsx(R,{children:j.enDash}),r.jsx(Q,{children:r.jsx(K,{onSelectedDateChanged:C=>{v({date:C})},minDate:st(i?.date),selectedDate:g,dateFormat:y,placeHolder:r.jsx(R,{children:j.to}),style:{backgroundColor:n.colors.background}})})]})},ot=s.div`
103
+ `;return r.jsxs(a,{"data-testid":I("cockpit-filters-combop-wrapper"),children:[r.jsx(d,{disabled:n,onClick:()=>{t("AND")},selected:e==="AND","data-testid":I("cockpit-filters-combop-and"),children:r.jsx(c,{buttonsDisabled:n,selected:e==="AND",children:"and"})}),r.jsx(d,{disabled:n,onClick:()=>{t("OR")},selected:e==="OR","data-testid":I("cockpit-filters-combop-or"),children:r.jsx(c,{buttonsDisabled:n,selected:e==="OR",children:"or"})})]})},rt=({selectedDates:e,onDateRangeChange:t})=>{const n=_(),d=R(),c=e?.[0],a=e?.[1],[i,b]=l.useState(c?{date:c}:void 0),[g,v]=l.useState(a?{date:a}:void 0);l.useEffect(()=>{i!=null&&g!=null&&t({startDate:i?.date,endDate:g?.date})},[i,g]);const{dateFormat:{visual:{MMMDCommaYYYYformat:y}},spendManagement:{filters:j}}=O.getLocalizedStrings();return r.jsxs(ot,{size:d,children:[r.jsx(nt,{children:r.jsx($e,{})}),r.jsx(Q,{children:r.jsx(K,{onSelectedDateChanged:C=>{C.isAfter(g?.date)&&v(void 0),b({date:C})},selectedDate:i,dateFormat:y,placeHolder:r.jsx(E,{children:j.from}),style:{backgroundColor:n.colors.background}})}),r.jsx(E,{children:j.enDash}),r.jsx(Q,{children:r.jsx(K,{onSelectedDateChanged:C=>{v({date:C})},minDate:st(i?.date),selectedDate:g,dateFormat:y,placeHolder:r.jsx(E,{children:j.to}),style:{backgroundColor:n.colors.background}})})]})},ot=s.div`
104
104
  position: relative;
105
105
  display: flex;
106
106
  align-items: center;
@@ -112,7 +112,7 @@ import{V as r,gr as be,o,b as I,gs as ye,j as fe,y as _,gt as ve,au as W,b3 as G
112
112
  align-items: center;
113
113
  padding-left: ${o.sp3};
114
114
  cursor: pointer;
115
- `,R=s(V)`
115
+ `,E=s(V)`
116
116
  color: ${e=>e.theme.colors.hero};
117
117
  background: ${e=>e.theme.colors.background};
118
118
  `,nt=s.div`
@@ -166,7 +166,7 @@ import{V as r,gr as be,o,b as I,gs as ye,j as fe,y as _,gt as ve,au as W,b3 as G
166
166
  border-radius: 50%;
167
167
  justify-content: center;
168
168
  color: ${e=>e.theme.colors.hero};
169
- `,Ct=s(Re)`
169
+ `,Ct=s(Ee)`
170
170
  color: ${e=>e.theme.colors.hero};
171
171
  height: ${o.sp4};
172
172
  width: ${o.sp4};
@@ -223,13 +223,13 @@ import{V as r,gr as be,o,b as I,gs as ye,j as fe,y as _,gt as ve,au as W,b3 as G
223
223
  color: ${e=>e.theme.colors.hero};
224
224
  `,Bt=s.div`
225
225
  width: ${o.sp10};
226
- `,Et=s.div`
226
+ `,Rt=s.div`
227
227
  display: flex;
228
228
  justify-content: space-between;
229
229
  align-items: center;
230
230
  `,ce=s(Se)`
231
231
  color: ${e=>e.theme.colors.primary};
232
- `,Rt=s.button`
232
+ `,Et=s.button`
233
233
  display: ${e=>e.windowSize==="small"?"none":"block"};
234
234
  border: none;
235
235
  background: none;
@@ -268,7 +268,7 @@ import{V as r,gr as be,o,b as I,gs as ye,j as fe,y as _,gt as ve,au as W,b3 as G
268
268
  align-items: flex-start;
269
269
  column-gap: ${o.sp3};
270
270
  animation: ${Vt} 0.4s;
271
- `,xe=l.forwardRef(({filters:e,filterValues:t,selectedEntity:n,vendorSearchAutoCompleteData:d,vendorSearchAutoCompleteActions:c,onFiltersChange:a,renderDropdownOptionIcon:i},b)=>{const g=ke(),v=E(),y=l.useCallback((p,h)=>{const $=(({currentFilters:f,selectedOption:k,categoryIndex:x})=>f.categories==null||f.categories.length===0?{categoryCombinationOperator:"AND",categories:[{...oe,field:k.value}]}:{...f,categories:f.categories.map((w,u)=>u!==x?w:{...w,field:k.value,values:[]})})({currentFilters:e,selectedOption:p,categoryIndex:h});a($)},[e,a]),j=l.useCallback((p,h)=>{const $=(({currentFilters:f,selectedOption:k,categoryIndex:x})=>f.categories==null||f.categories.length===0?f:{...f,categories:f.categories.map((w,u)=>u!==x?w:{...w,matchingOperator:k.value})})({currentFilters:e,selectedOption:p,categoryIndex:h});a($)},[e,a]),C=l.useCallback(p=>{if(e!=null){const h={...e,categoryCombinationOperator:p};a(h)}},[e,a]),S=l.useCallback(p=>{if(p!==0||e.categories==null||e.categories.length!==1){if(e.categories!=null&&e.categories.length!==0){if([...e.categories.slice(0,p),...e.categories.slice(p+1)].filter(h=>h.field!=null).length){const h={...e,categories:[...e.categories.slice(0,p),...e.categories.slice(p+1)]};return void a(h)}a(P)}}else a(P)},[a,e]),L=()=>{e.categories!=null&&e.categories.length&&a({...e,categories:[...e.categories,{...oe}]})},A=()=>{a(P)},M=l.useCallback((p,h)=>{const $=(({currentFilters:f,selectedOptions:k,categoryIndex:x})=>f.categories==null||f.categories.length===0?f:{...f,categories:f.categories.map((w,u)=>u!==x?w:{...w,values:k.map(B=>B.value)})})({currentFilters:e,selectedOptions:p,categoryIndex:h});a($)},[e,a]),m=O.getLocalizedStrings().spendManagement.filters;return r.jsxs(ne,{ref:b,children:[e.categories==null||e.categories.length===0?r.jsx(ne,{children:r.jsx(se,{children:r.jsxs(de,{children:[r.jsx(ie,{children:r.jsx(ce,{children:m.filterByLabel})}),r.jsx(ae,{children:r.jsx(ee,{defaultMenuIsOpen:!0,onChange:y,placeHolder:m.categoryPlaceholder,getOptionLabel:p=>T(n,p),options:H(n,g.loggedInUserRole)})})]})})}):r.jsx(l.Fragment,{children:e.categories.map((p,h)=>{const $=H(n,g.loggedInUserRole??[]).find(x=>x.value===p.field),f=$?.type,k=$!=null?T(n,$?.value):"";return r.jsxs(se,{windowSize:v,children:[r.jsxs(de,{children:[r.jsxs(ie,{children:[h===0&&r.jsx(ce,{children:m.filterByLabel}),h!==0?r.jsx(tt,{categoryCombinationOperator:e.categoryCombinationOperator,onChange:C,buttonsDisabled:h>1}):null]}),r.jsx(ae,{children:r.jsx(ee,{value:p.field,placeHolder:m.categoryPlaceholder,onChange:x=>y(x,h),getOptionLabel:x=>T(n,x),options:H(n,g.loggedInUserRole??[])})})]}),p.field?r.jsxs(Nt,{children:[r.jsx(Bt,{children:r.jsx(dt,{categoryIndex:h,value:p.matchingOperator,onChange:j})}),r.jsxs(Ht,{children:[r.jsx(Tt,{windowSize:v,children:r.jsx(St,{options:t[p.field]!=null?t[p.field]:[],placeHolder:f==="searchAutocomplete"?m.searchPlaceholder:`${m.select} ${k}`,value:p.values,filterCategoryType:f??"dropdown",onChange:x=>M(x,h),valuesCombinationOperator:p.valuesCombinationOperator,searchAutoCompleteData:d,searchAutoCompleteActions:c,renderOptionIcon:i})}),r.jsx(Rt,{onClick:()=>S(h),windowSize:v,children:r.jsx(Pt,{})})]})]}):null]},p.field?p.field+h:h)})}),e.categories!=null&&e.categories.length!==0?r.jsxs(Et,{children:[r.jsxs(le,{onClick:L,children:[r.jsx(Ft,{}),r.jsx(V,{children:m.addFilterBtnText})]}),r.jsxs(le,{onClick:A,children:[r.jsx(_t,{}),r.jsx(V,{children:m.clearAllBtnText})]})]}):null]})});xe.displayName="FiltersSelection";const Wt=s.div`
271
+ `,xe=l.forwardRef(({filters:e,filterValues:t,selectedEntity:n,vendorSearchAutoCompleteData:d,vendorSearchAutoCompleteActions:c,onFiltersChange:a,renderDropdownOptionIcon:i},b)=>{const g=ke(),v=R(),y=l.useCallback((p,h)=>{const $=(({currentFilters:f,selectedOption:k,categoryIndex:x})=>f.categories==null||f.categories.length===0?{categoryCombinationOperator:"AND",categories:[{...oe,field:k.value}]}:{...f,categories:f.categories.map((w,u)=>u!==x?w:{...w,field:k.value,values:[]})})({currentFilters:e,selectedOption:p,categoryIndex:h});a($)},[e,a]),j=l.useCallback((p,h)=>{const $=(({currentFilters:f,selectedOption:k,categoryIndex:x})=>f.categories==null||f.categories.length===0?f:{...f,categories:f.categories.map((w,u)=>u!==x?w:{...w,matchingOperator:k.value})})({currentFilters:e,selectedOption:p,categoryIndex:h});a($)},[e,a]),C=l.useCallback(p=>{if(e!=null){const h={...e,categoryCombinationOperator:p};a(h)}},[e,a]),S=l.useCallback(p=>{if(p!==0||e.categories==null||e.categories.length!==1){if(e.categories!=null&&e.categories.length!==0){if([...e.categories.slice(0,p),...e.categories.slice(p+1)].filter(h=>h.field!=null).length){const h={...e,categories:[...e.categories.slice(0,p),...e.categories.slice(p+1)]};return void a(h)}a(P)}}else a(P)},[a,e]),L=()=>{e.categories!=null&&e.categories.length&&a({...e,categories:[...e.categories,{...oe}]})},A=()=>{a(P)},M=l.useCallback((p,h)=>{const $=(({currentFilters:f,selectedOptions:k,categoryIndex:x})=>f.categories==null||f.categories.length===0?f:{...f,categories:f.categories.map((w,u)=>u!==x?w:{...w,values:k.map(B=>B.value)})})({currentFilters:e,selectedOptions:p,categoryIndex:h});a($)},[e,a]),m=O.getLocalizedStrings().spendManagement.filters;return r.jsxs(ne,{ref:b,children:[e.categories==null||e.categories.length===0?r.jsx(ne,{children:r.jsx(se,{children:r.jsxs(de,{children:[r.jsx(ie,{children:r.jsx(ce,{children:m.filterByLabel})}),r.jsx(ae,{children:r.jsx(ee,{defaultMenuIsOpen:!0,onChange:y,placeHolder:m.categoryPlaceholder,getOptionLabel:p=>T(n,p),options:H(n,g.loggedInUserRole)})})]})})}):r.jsx(l.Fragment,{children:e.categories.map((p,h)=>{const $=H(n,g.loggedInUserRole??[]).find(x=>x.value===p.field),f=$?.type,k=$!=null?T(n,$?.value):"";return r.jsxs(se,{windowSize:v,children:[r.jsxs(de,{children:[r.jsxs(ie,{children:[h===0&&r.jsx(ce,{children:m.filterByLabel}),h!==0?r.jsx(tt,{categoryCombinationOperator:e.categoryCombinationOperator,onChange:C,buttonsDisabled:h>1}):null]}),r.jsx(ae,{children:r.jsx(ee,{value:p.field,placeHolder:m.categoryPlaceholder,onChange:x=>y(x,h),getOptionLabel:x=>T(n,x),options:H(n,g.loggedInUserRole??[])})})]}),p.field?r.jsxs(Nt,{children:[r.jsx(Bt,{children:r.jsx(dt,{categoryIndex:h,value:p.matchingOperator,onChange:j})}),r.jsxs(Ht,{children:[r.jsx(Tt,{windowSize:v,children:r.jsx(St,{options:t[p.field]!=null?t[p.field]:[],placeHolder:f==="searchAutocomplete"?m.searchPlaceholder:`${m.select} ${k}`,value:p.values,filterCategoryType:f??"dropdown",onChange:x=>M(x,h),valuesCombinationOperator:p.valuesCombinationOperator,searchAutoCompleteData:d,searchAutoCompleteActions:c,renderOptionIcon:i})}),r.jsx(Et,{onClick:()=>S(h),windowSize:v,children:r.jsx(Pt,{})})]})]}):null]},p.field?p.field+h:h)})}),e.categories!=null&&e.categories.length!==0?r.jsxs(Rt,{children:[r.jsxs(le,{onClick:L,children:[r.jsx(Ft,{}),r.jsx(V,{children:m.addFilterBtnText})]}),r.jsxs(le,{onClick:A,children:[r.jsx(_t,{}),r.jsx(V,{children:m.clearAllBtnText})]})]}):null]})});xe.displayName="FiltersSelection";const Wt=s.div`
272
272
  padding-top: ${o.sp4};
273
273
  padding-bottom: ${o.sp4};
274
274
  box-sizing: border-box;
@@ -286,7 +286,7 @@ import{V as r,gr as be,o,b as I,gs as ye,j as fe,y as _,gt as ve,au as W,b3 as G
286
286
  `,Ut=s.div`
287
287
  padding-left: ${o.sp4};
288
288
  padding-right: ${o.sp4};
289
- `,Yt=({entity:e,filters:t,vendorSearchAutoCompleteData:n,vendorSearchAutoCompleteActions:d,disableFilters:c=!1,transactionsLoaded:a=!0,createdByUserListLoaded:i=!0,analytics:b,groupByFiltersComponent:g,onFiltersChange:v,getCategoryWiseOptions:y,renderDropdownOptionIcon:j})=>{const C=l.useRef(null),[S,L]=l.useState(!1),A=l.useRef(!1),[M,m]=l.useState({bill_pay:{},reimbursement:{},task_management:{},charge_card_payment_history:{}}),[p,h]=l.useState("auto"),$=l.useRef(null),f=E(),k=l.useCallback(()=>{L(!1)},[]),x=O.getLocalizedStrings().common.strings.empty,w=l.useCallback(()=>{e!=="task_management"&&e!=="charge_card_payment_history"&&b?.trackSpendManagmentFilterClick(e),c===!1&&L(!0)},[c,b,e]);l.useEffect(()=>{y&&i&&a&&m(D=>Object.keys(D[e]??{}).length===0?{...D,[e]:y()}:D)},[e,a,i]);const u=l.useCallback(()=>{if(t?.categories==null||t.categories.length===0)return g!=null?88+g.height:88;const D=$.current,q=D!=null?D.clientHeight:0;return f==="small"?"auto":N[7]+(q>0?q:88)+(g!=null?g.height:0)},[t,f,g]);l.useEffect(()=>{S===A.current?h(u()):h("auto")},[u,S]),l.useEffect(()=>{A.current=S},[S]),l.useEffect(()=>{p==="auto"&&h(u())},[p,u]);const B=t?.categories==null||t?.categories.length===0?0:t.categories.filter(D=>D.field!=null&&D.values.length>0).length;return r.jsxs(l.Fragment,{children:[r.jsx(ge,{searchPlaceholder:x,isFilterBtnActive:S||B>0,ref:C,isFilterDisabled:c,onFilterButtonClick:w,filtersCount:B,includeSearch:!1,filterText:x}),c!=1&&r.jsx(Qe,{anchorEl:C.current,open:S,onClose:k,paperStyle:{overflow:"visible"},children:r.jsxs(Wt,{height:p,windowSize:f,children:[g!=null?r.jsx(Gt,{children:g?.component}):null,r.jsx(Ut,{children:r.jsx(xe,{filters:t,onFiltersChange:v,filterValues:M[e],selectedEntity:e,ref:$,vendorSearchAutoCompleteActions:d,vendorSearchAutoCompleteData:n,renderDropdownOptionIcon:j})})]})},t?.categories==null||t.categories.length===0?"smallBox":"largeBox")]})},{spendManagement:qt}=O.getLocalizedStrings(),Jt={filterIconContainerPaddingRight:new he(18,10)};function mr({spendManagementSectionProps:e}){const{entity:t,moreIconContainerStyle:n,searchTextBoxStyle:d,disableDownloadButton:c,filters:a,searchText:i,downloadParams:b,downloadState:g,showSettingsIcon:v=!0,showSettingsIconOnNavbar:y,showDownloadButtonOnNavbar:j,showStatementButtonOnNavbar:C,showPayEarlyButtonOnNavbar:S,showPaymentHistoryButtonOnNavbar:L,groupByFiltersComponent:A,updateDownloadStateHandler:M,onMenuOpen:m,filterIconContainerStyle:p}=e,h=E(),$=_(),[f,k]=l.useState(void 0);l.useEffect(()=>{g!=="Error"&&k(!1)},[g]);let x=qt.moreMenuOptions;y||(x=x.filter(u=>u.value!=="settings")),C||(x=x.filter(u=>u.value!=="statements")),S||(x=x.filter(u=>u.value!=="payEarly")),L||(x=x.filter(u=>u.value!=="paymentHistory")),j||(x=x.filter(u=>u.value!=="download"));const w={};return e.entity==="charge_cards"?w.width="275px":e.entity==="reimbursement"&&(w.width="208px"),r.jsxs(er,{children:[r.jsxs(Zt,{isSearchOpen:e.isSearchOpen&&h==="small",windowsize:h,children:[h==="small"||e.hideSearchBtn?null:r.jsx(J,{"data-testid":I("list-page-search-input-box"),style:{position:"absolute",left:"unset",...d},placeholder:e.searchPlaceHolder,searchText:e.searchText,disabled:e.disableSearch,onSearchTextChanged:u=>{e.onSearchTextChanged?.(u)},onSearchOpen:e.onSearchOpen,inputWrapperStyle:w,searchIconMarginRight:e.entity==="charge_cards"?o.sp4:"10px"}),e.entity!=="bill_pay"&&e.entity!=="reimbursement"&&e.entity!=="task_management"&&e.entity!=="charge_card_payment_history"||e.onFiltersChange==null?null:r.jsx(or,{size:h,style:p,children:r.jsx(Yt,{entity:e.entity,groupByFiltersComponent:A,onFiltersChange:e.onFiltersChange,filters:e.filters,disableFilters:e.disableFilters,getCategoryWiseOptions:e.getFilterOptions,vendorSearchAutoCompleteData:e.vendorSearchAutoCompleteData,vendorSearchAutoCompleteActions:e.vendorSearchAutoCompleteActions,createdByUserListLoaded:e.createdByUserListLoaded,analytics:e.analytics,renderDropdownOptionIcon:e.renderDropdownOptionIcon})}),e.showDownloadIcon===!0&&e.onDownloadClick!=null?r.jsx(Qt,{onClick:e.onDownloadClick,disabled:c,children:g==="In-Progress"?r.jsx(pe,{size:"Standard",start:!0}):r.jsx(Kt,{"data-testid":I("spend-management-download-icon"),disabled:c})}):null,e.showEntityEmailInfoIconOnNavbar===!0?r.jsx(rr,{onClick:e.onClickEmailInfoIcon,children:r.jsx(Xt,{})}):null,v?r.jsx(tr,{onClick:()=>k(void 0),style:n,children:t==="bill_pay"||t==="reimbursement"||t==="charge_cards"?r.jsx(Be,{entity:t,isMoreOption:!0,closeMenuOnSelect:!1,isMenuOpen:h!=="small"?f:void 0,options:x,onMenuOpen:m,customStyleConfig:{control:()=>({backgroundColor:"inherit",cursor:"pointer",border:"none",":hover":{backgroundColor:"inherit"}}),menu:u=>({...u,left:"23px",top:"29px",transform:"translateX(-100%)",width:"auto",backgroundColor:$.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${$.colors.dropShadowHover}`,whiteSpace:"nowrap"}),container:()=>({marginLeft:N[0]}),valueContainer:()=>({display:"flex","#react-select-2-placeholder":{marginRight:N[0],marginLeft:-1}})},onOptionSelection:u=>{u==="settings"?e.onClickSetupIcon?.():u==="statements"?e.onClickStatementsIcon?.():u==="payEarly"?e.onClickPayEarlyIcon?.():u==="paymentHistory"&&e.onClickPaymentHistoryIcon?.()},downloadProps:t!=="bill_pay"&&t!=="reimbursement"||b==null?void 0:{entity:t,isDisabled:c,filter:{filters:a,searchText:i},downloadParams:b,downloadState:g,updateDownloadStateHandler:M}}):r.jsx(sr,{onClick:e.onClickSetupIcon})}):null,e.showNewButtonOnNavbar===!0?r.jsx(r.Fragment,{children:h==="small"?r.jsx(nr,{onClick:e.onNewButtonClick,children:r.jsx(ir,{})}):r.jsx(Ce,{variant:"primary",onClick:e.onNewButtonClick,label:e.newButtonLabel??"",size:"small",style:{height:"29px",paddingLeft:"12px",paddingRight:"12px",...z.extraSmallRegular.cssObject,whiteSpace:"nowrap",display:"flex",alignItems:"center"}})}):null]}),h!=="small"||e.hideSearchBtn?null:r.jsx(J,{style:{position:"absolute",left:"5px",right:h!=="small"?"120px":"unset",top:o.sp6,width:"98%"},placeholder:e.searchPlaceHolder,searchText:e.searchText,disabled:e.disableSearch,onSearchTextChanged:u=>{e.onSearchTextChanged?.(u)},onSearchOpen:e.onSearchOpen,keepSearchBoxOpen:!0,inputWrapperStyle:e.entity==="charge_cards"?{width:270}:{}})]})}const Xt=s(e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M18.8447 9.03137L22.4962 11.5418V21.127C22.4962 21.4902 22.3519 21.8385 22.0951 22.0953C21.8383 22.3521 21.4901 22.4963 21.1269 22.4963H2.86932C2.50615 22.4963 2.15786 22.3521 1.90106 22.0953C1.64427 21.8385 1.5 21.4902 1.5 21.127V11.5418L5.15151 9.03137",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M4.24207 19.7577L8.80646 16.1062H15.1966L19.761 19.7577",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M22.5 11.5416L17.0227 15.1931",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M1.50378 11.5416L6.98105 15.1931",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M18.8446 13.9754V2.41288C18.8446 2.17077 18.7484 1.93857 18.5772 1.76738C18.406 1.59618 18.1738 1.5 17.9317 1.5H6.06431C5.8222 1.5 5.59 1.59618 5.4188 1.76738C5.24761 1.93857 5.15143 2.17077 5.15143 2.41288V13.9754",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M9.23108 5.55005H14.7654",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M9.23108 8.83069H13.3818",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M9.23108 12.0398H10.9606",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})))`
289
+ `,Yt=({entity:e,filters:t,vendorSearchAutoCompleteData:n,vendorSearchAutoCompleteActions:d,disableFilters:c=!1,transactionsLoaded:a=!0,createdByUserListLoaded:i=!0,analytics:b,groupByFiltersComponent:g,onFiltersChange:v,getCategoryWiseOptions:y,renderDropdownOptionIcon:j})=>{const C=l.useRef(null),[S,L]=l.useState(!1),A=l.useRef(!1),[M,m]=l.useState({bill_pay:{},reimbursement:{},task_management:{},charge_card_payment_history:{}}),[p,h]=l.useState("auto"),$=l.useRef(null),f=R(),k=l.useCallback(()=>{L(!1)},[]),x=O.getLocalizedStrings().common.strings.empty,w=l.useCallback(()=>{e!=="task_management"&&e!=="charge_card_payment_history"&&b?.trackSpendManagmentFilterClick(e),c===!1&&L(!0)},[c,b,e]);l.useEffect(()=>{y&&i&&a&&m(D=>Object.keys(D[e]??{}).length===0?{...D,[e]:y()}:D)},[e,a,i]);const u=l.useCallback(()=>{if(t?.categories==null||t.categories.length===0)return g!=null?88+g.height:88;const D=$.current,q=D!=null?D.clientHeight:0;return f==="small"?"auto":N[7]+(q>0?q:88)+(g!=null?g.height:0)},[t,f,g]);l.useEffect(()=>{S===A.current?h(u()):h("auto")},[u,S]),l.useEffect(()=>{A.current=S},[S]),l.useEffect(()=>{p==="auto"&&h(u())},[p,u]);const B=t?.categories==null||t?.categories.length===0?0:t.categories.filter(D=>D.field!=null&&D.values.length>0).length;return r.jsxs(l.Fragment,{children:[r.jsx(ge,{searchPlaceholder:x,isFilterBtnActive:S||B>0,ref:C,isFilterDisabled:c,onFilterButtonClick:w,filtersCount:B,includeSearch:!1,filterText:x}),c!=1&&r.jsx(Qe,{anchorEl:C.current,open:S,onClose:k,paperStyle:{overflow:"visible"},children:r.jsxs(Wt,{height:p,windowSize:f,children:[g!=null?r.jsx(Gt,{children:g?.component}):null,r.jsx(Ut,{children:r.jsx(xe,{filters:t,onFiltersChange:v,filterValues:M[e],selectedEntity:e,ref:$,vendorSearchAutoCompleteActions:d,vendorSearchAutoCompleteData:n,renderDropdownOptionIcon:j})})]})},t?.categories==null||t.categories.length===0?"smallBox":"largeBox")]})},{spendManagement:qt}=O.getLocalizedStrings(),Jt={filterIconContainerPaddingRight:new he(18,10)};function mr({spendManagementSectionProps:e}){const{entity:t,moreIconContainerStyle:n,searchTextBoxStyle:d,disableDownloadButton:c,filters:a,searchText:i,downloadParams:b,downloadState:g,showSettingsIcon:v=!0,showSettingsIconOnNavbar:y,showDownloadButtonOnNavbar:j,showStatementButtonOnNavbar:C,showPayEarlyButtonOnNavbar:S,showPaymentHistoryButtonOnNavbar:L,groupByFiltersComponent:A,updateDownloadStateHandler:M,onMenuOpen:m,filterIconContainerStyle:p}=e,h=R(),$=_(),[f,k]=l.useState(void 0);l.useEffect(()=>{g!=="Error"&&k(!1)},[g]);let x=qt.moreMenuOptions;y||(x=x.filter(u=>u.value!=="settings")),C||(x=x.filter(u=>u.value!=="statements")),S||(x=x.filter(u=>u.value!=="payEarly")),L||(x=x.filter(u=>u.value!=="paymentHistory")),j||(x=x.filter(u=>u.value!=="download"));const w={};return e.entity==="charge_cards"?w.width="275px":e.entity==="reimbursement"&&(w.width="208px"),r.jsxs(er,{children:[r.jsxs(Zt,{isSearchOpen:e.isSearchOpen&&h==="small",windowsize:h,children:[h==="small"||e.hideSearchBtn?null:r.jsx(J,{"data-testid":I("list-page-search-input-box"),style:{position:"absolute",left:"unset",...d},placeholder:e.searchPlaceHolder,searchText:e.searchText,disabled:e.disableSearch,onSearchTextChanged:u=>{e.onSearchTextChanged?.(u)},onSearchOpen:e.onSearchOpen,inputWrapperStyle:w,searchIconMarginRight:e.entity==="charge_cards"?o.sp4:"10px"}),e.entity!=="bill_pay"&&e.entity!=="reimbursement"&&e.entity!=="task_management"&&e.entity!=="charge_card_payment_history"||e.onFiltersChange==null?null:r.jsx(or,{size:h,style:p,children:r.jsx(Yt,{entity:e.entity,groupByFiltersComponent:A,onFiltersChange:e.onFiltersChange,filters:e.filters,disableFilters:e.disableFilters,getCategoryWiseOptions:e.getFilterOptions,vendorSearchAutoCompleteData:e.vendorSearchAutoCompleteData,vendorSearchAutoCompleteActions:e.vendorSearchAutoCompleteActions,createdByUserListLoaded:e.createdByUserListLoaded,analytics:e.analytics,renderDropdownOptionIcon:e.renderDropdownOptionIcon})}),e.showDownloadIcon===!0&&e.onDownloadClick!=null?r.jsx(Qt,{onClick:e.onDownloadClick,disabled:c,children:g==="In-Progress"?r.jsx(pe,{size:"Standard",start:!0}):r.jsx(Kt,{"data-testid":I("spend-management-download-icon"),disabled:c})}):null,e.showEntityEmailInfoIconOnNavbar===!0?r.jsx(rr,{onClick:e.onClickEmailInfoIcon,children:r.jsx(Xt,{})}):null,v?r.jsx(tr,{onClick:()=>k(void 0),style:n,children:t==="bill_pay"||t==="reimbursement"||t==="charge_cards"?r.jsx(Be,{entity:t,isMoreOption:!0,closeMenuOnSelect:!1,isMenuOpen:h!=="small"?f:void 0,options:x,onMenuOpen:m,customStyleConfig:{control:()=>({backgroundColor:"inherit",cursor:"pointer",border:"none",":hover":{backgroundColor:"inherit"}}),menu:u=>({...u,left:"23px",top:"29px",transform:"translateX(-100%)",width:"auto",backgroundColor:$.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${$.colors.dropShadowHover}`,whiteSpace:"nowrap"}),container:()=>({marginLeft:N[0]}),valueContainer:()=>({display:"flex","#react-select-2-placeholder":{marginRight:N[0],marginLeft:-1}})},onOptionSelection:u=>{u==="settings"?e.onClickSetupIcon?.():u==="statements"?e.onClickStatementsIcon?.():u==="payEarly"?e.onClickPayEarlyIcon?.():u==="paymentHistory"&&e.onClickPaymentHistoryIcon?.()},downloadProps:t!=="bill_pay"&&t!=="reimbursement"||b==null?void 0:{entity:t,isDisabled:c,filter:{filters:a,searchText:i},downloadParams:b,downloadState:g,updateDownloadStateHandler:M}}):r.jsx(sr,{onClick:e.onClickSetupIcon})}):null,e.showNewButtonOnNavbar===!0?r.jsx(r.Fragment,{children:h==="small"?r.jsx(nr,{onClick:e.onNewButtonClick,children:r.jsx(ir,{})}):r.jsx(Ce,{variant:"primary",onClick:e.onNewButtonClick,label:e.newButtonLabel??"",size:"small",style:{height:"29px",paddingLeft:"12px",paddingRight:"12px",...z.extraSmallRegular.cssObject,whiteSpace:"nowrap",display:"flex",alignItems:"center"}})}):null]}),h!=="small"||e.hideSearchBtn?null:r.jsx(J,{style:{position:"absolute",left:"5px",right:h!=="small"?"120px":"unset",top:o.sp6,width:"98%"},placeholder:e.searchPlaceHolder,searchText:e.searchText,disabled:e.disableSearch,onSearchTextChanged:u=>{e.onSearchTextChanged?.(u)},onSearchOpen:e.onSearchOpen,keepSearchBoxOpen:!0,inputWrapperStyle:e.entity==="charge_cards"?{width:270}:{}})]})}const Xt=s(e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M18.8447 9.03137L22.4962 11.5418V21.127C22.4962 21.4902 22.3519 21.8385 22.0951 22.0953C21.8383 22.3521 21.4901 22.4963 21.1269 22.4963H2.86932C2.50615 22.4963 2.15786 22.3521 1.90106 22.0953C1.64427 21.8385 1.5 21.4902 1.5 21.127V11.5418L5.15151 9.03137",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M4.24207 19.7577L8.80646 16.1062H15.1966L19.761 19.7577",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M22.5 11.5416L17.0227 15.1931",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M1.50378 11.5416L6.98105 15.1931",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M18.8446 13.9754V2.41288C18.8446 2.17077 18.7484 1.93857 18.5772 1.76738C18.406 1.59618 18.1738 1.5 17.9317 1.5H6.06431C5.8222 1.5 5.59 1.59618 5.4188 1.76738C5.24761 1.93857 5.15143 2.17077 5.15143 2.41288V13.9754",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M9.23108 5.55005H14.7654",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M9.23108 8.83069H13.3818",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M9.23108 12.0398H10.9606",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})))`
290
290
  height: ${o.sp4};
291
291
  width: ${o.sp4};
292
292
  `,Kt=s(we)`
@@ -0,0 +1,31 @@
1
+ import{e as x,h9 as $,V as o,O as g,L as S,o as s,l as v,x as z,by as j,m as k}from"./index-CilRLucN.js";import{a as I}from"./sentry-D-LCra2M.js";import{n as a}from"./mui-Ckdcx_YE.js";import{g as L}from"./BoxItem-C39hQSVg-B9WMvkwI.js";import{w as T}from"./downloadPdf-Dcd8BY_9--BaRfov1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="08481d0a-c865-410c-ba92-e28b7ca519dc",e._sentryDebugIdIdentifier="sentry-dbid-08481d0a-c865-410c-ba92-e28b7ca519dc")}catch{}})();const l=g.getLocalizedStrings().months,r={downloadButtonSize:new z(k[4],20)},D=a.div`
2
+ display: flex;
3
+ padding: ${s.sp3} ${s.sp4};
4
+ flex-direction: row;
5
+ width: 100%;
6
+ `,P=a.div`
7
+ display: flex;
8
+ justify-content: space-between;
9
+ align-items: center;
10
+ width: 100%;
11
+ `,B=a(v)`
12
+ display: -webkit-box;
13
+ -webkit-box-orient: vertical;
14
+ -webkit-line-clamp: 1;
15
+ margin-left: ${s.sp2};
16
+ max-height: ${s.sp11};
17
+ text-overflow: ellipsis;
18
+ word-break: break-word;
19
+ text-align: left;
20
+ overflow: hidden;
21
+ `,C=a.div`
22
+ cursor: pointer;
23
+ `,_=a(j)`
24
+ width: ${e=>r.downloadButtonSize.valuePx(e.windowSize)};
25
+ height: ${e=>r.downloadButtonSize.valuePx(e.windowSize)};
26
+ min-height: ${e=>r.downloadButtonSize.valuePx(e.windowSize)};
27
+ color: ${e=>e.theme.colors.hero};
28
+ &:hover {
29
+ color: ${e=>e.theme.colors.primary};
30
+ }
31
+ `;function R({accountLast4:e,currentTenantCompanyName:i,data:t,authParams:c,downloadEndPoint:d,documentType:n="statement",boxType:m}){const[p,f]=I.useState(!1),w=x(),y=n==="taxLetter"?`${t.title.year}`:`${l[t.title.month-1]} ${t.title.year}`,h=n==="taxLetter"?`${i}-treasury-tax-letter-${t.title.year}.pdf`:`${i}-${e}-monthly-statement-${l[t.title.month-1]}-${t.title.year}.pdf`,u={period:`${t.title.year}-${$(t.title.month)}`,format:"pdf"},b=o.jsx(D,{children:o.jsxs(P,{children:[o.jsx(B,{children:y}),o.jsx(C,{onClick:()=>T(n==="treasuryStatement"||n==="taxLetter"?`${d}/statements/${t.id}`:`${d}/statements?query=${encodeURIComponent(JSON.stringify(u))}`,h,c,f),children:p?o.jsx(S,{size:"Small",start:!0}):o.jsx(_,{windowSize:w})})]})});return o.jsx(L,{content:b,boxType:m,isDisabled:!1,isNotClickable:!0})}export{R as O};
@@ -1,4 +1,4 @@
1
- import{y as I,e as S,V as e,a_ as z,an as C,o as r,O as P,f as p,bV as B,x as T,m as b,l as _}from"./index-CuxRoVvZ.js";import{a as u}from"./sentry-Cm8I7E9J.js";import{n as o}from"./mui-G2MlMTlr.js";import{$ as D}from"./BoxItem-CvCo0wr6-QhJ82HMO.js";import{o as L}from"./commonDimensions-CVpc-NCw-CA0m656N.js";import{O as M}from"./StatementItem-DjvU5wiI-BbvkEOCR.js";import"./pdf-DwfifS04.js";import"./zeni-epic-state-lC5X-sam.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./downloadPdf-BuPJ6cfr-Bn04BzVs.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="003c3448-048f-40b3-8920-973d9edc0241",t._sentryDebugIdIdentifier="sentry-dbid-003c3448-048f-40b3-8920-973d9edc0241")}catch{}})();const g=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,x={listItemMargin:new T(b[3],b[8])},it=({currentTenantCompanyName:t,authParams:n,downloadEndPoint:m,statementListView:i,accountLast4:w,onBackClick:y})=>{const k=I(),d=S(),$=u.createRef(),c=u.useRef(null),h=i.statements.length===0,j=()=>h===!1?L.transactionItemHeight:24,v=({index:a,style:s})=>{const l=i.statements[a];return h===!1?e.jsx(f,{windowSize:d,style:{...s,width:`calc(100% - 2*${x.listItemMargin.valuePx(d)})`},children:e.jsx(M,{currentTenantCompanyName:t,accountLast4:w,data:l,authParams:n,downloadEndPoint:m,boxType:D(a,i.statements.length)},l.id)}):e.jsx(E,{style:{...s},children:e.jsx(O,{children:e.jsx(f,{windowSize:d,children:e.jsx(V,{children:g.noStatements})})})})};return e.jsxs(R,{children:[e.jsx(z,{title:g.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),e.jsx(N,{children:e.jsx(C,{children:({height:a,width:s})=>e.jsx(A,{ref:$,height:a,width:s,outerRef:c,itemKey:l=>l,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},E=o.div``,f=o.div`
1
+ import{y as I,e as S,V as e,a_ as z,an as C,o as r,O as P,f as p,bV as B,x as T,m as b,l as _}from"./index-CilRLucN.js";import{a as f}from"./sentry-D-LCra2M.js";import{n as o}from"./mui-Ckdcx_YE.js";import{$ as D}from"./BoxItem-C39hQSVg-B9WMvkwI.js";import{o as L}from"./commonDimensions-CuKo3wam-D08uyy0o.js";import{O as M}from"./StatementItem-qsoXKx_p-B1TzdTRA.js";import"./pdf-CwWlK-Dr.js";import"./zeni-epic-state-B1zsDZZ4.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";import"./downloadPdf-Dcd8BY_9--BaRfov1.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="3b9ee28d-9af7-4fb3-9de6-213107a7bf81",t._sentryDebugIdIdentifier="sentry-dbid-3b9ee28d-9af7-4fb3-9de6-213107a7bf81")}catch{}})();const u=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,x={listItemMargin:new T(b[3],b[8])},at=({currentTenantCompanyName:t,authParams:n,downloadEndPoint:m,statementListView:a,accountLast4:w,onBackClick:y})=>{const k=I(),d=S(),$=f.createRef(),c=f.useRef(null),h=a.statements.length===0,j=()=>h===!1?L.transactionItemHeight:24,v=({index:i,style:s})=>{const l=a.statements[i];return h===!1?e.jsx(g,{windowSize:d,style:{...s,width:`calc(100% - 2*${x.listItemMargin.valuePx(d)})`},children:e.jsx(M,{currentTenantCompanyName:t,accountLast4:w,data:l,authParams:n,downloadEndPoint:m,boxType:D(i,a.statements.length)},l.id)}):e.jsx(E,{style:{...s},children:e.jsx(O,{children:e.jsx(g,{windowSize:d,children:e.jsx(V,{children:u.noStatements})})})})};return e.jsxs(R,{children:[e.jsx(z,{title:u.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),e.jsx(N,{children:e.jsx(C,{children:({height:i,width:s})=>e.jsx(A,{ref:$,height:i,width:s,outerRef:c,itemKey:l=>l,itemCount:a.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},E=o.div``,g=o.div`
2
2
  margin: ${t=>`${r.sp0} ${x.listItemMargin.valuePx(t.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -55,4 +55,4 @@ import{y as I,e as S,V as e,a_ as z,an as C,o as r,O as P,f as p,bV as B,x as T,
55
55
  border-radius: 2px;
56
56
  }
57
57
  }
58
- `;export{it as default};
58
+ `;export{at as default};
@@ -1,4 +1,4 @@
1
- import{e as x,bF as T,V as p,O as $,x as f,o as n,m as l,C as _}from"./index-CuxRoVvZ.js";import{n as d,c as w}from"./mui-G2MlMTlr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="48d5da12-bacf-412a-9c10-fa0bf7abebbc",e._sentryDebugIdIdentifier="sentry-dbid-48d5da12-bacf-412a-9c10-fa0bf7abebbc")}catch{}})();function h(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(i=>i.charAt(0).toUpperCase()+i.slice(1)).join(" ")}const z=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function c(e,i,s){const o=e[i];return o!=null?function(r,a){if(typeof r=="string")return r;if(r!=null&&typeof r=="object"){const t=Object.values(r)[0];return typeof t=="string"?t:h(a)}return h(a)}(o,s):null}const L=(e,i)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:s}},reimbursement:{reimbursementByTabs:{tabsById:o}},zeniAccounts:{zeniAccountList:{tabsById:r}}}}=$.getLocalizedStrings(),a=String(e);if(i)switch(i){case"bill_pay":{const t=c(s,a,a);if(t!=null)return t.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const t=c(o,a,a);if(t!=null)return t.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const t=c(r,a,a);if(t!=null)return t.replace(/\s+/g,"_").toLowerCase();break}}return(c(s,a,a)??c(o,a,a)??c(r,a,a)??h(a)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:m}},reimbursement:{reimbursementByTabs:{tabsById:y}},zeniAccounts:{zeniAccountList:{tabsById:A}}}}=$.getLocalizedStrings(),g={containerMarginLeft:new f(l[4],l[8]),containerMarginRight:new f(l[4],l[8]),segmentContainerMarginLeft:new f(l[4],l[8])},D=d.div`
1
+ import{e as x,bF as T,V as p,O as $,x as f,o as n,m as l,C as _}from"./index-CilRLucN.js";import{n as d,c as w}from"./mui-Ckdcx_YE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="48d5da12-bacf-412a-9c10-fa0bf7abebbc",e._sentryDebugIdIdentifier="sentry-dbid-48d5da12-bacf-412a-9c10-fa0bf7abebbc")}catch{}})();function h(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(i=>i.charAt(0).toUpperCase()+i.slice(1)).join(" ")}const z=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function c(e,i,s){const o=e[i];return o!=null?function(r,a){if(typeof r=="string")return r;if(r!=null&&typeof r=="object"){const t=Object.values(r)[0];return typeof t=="string"?t:h(a)}return h(a)}(o,s):null}const L=(e,i)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:s}},reimbursement:{reimbursementByTabs:{tabsById:o}},zeniAccounts:{zeniAccountList:{tabsById:r}}}}=$.getLocalizedStrings(),a=String(e);if(i)switch(i){case"bill_pay":{const t=c(s,a,a);if(t!=null)return t.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const t=c(o,a,a);if(t!=null)return t.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const t=c(r,a,a);if(t!=null)return t.replace(/\s+/g,"_").toLowerCase();break}}return(c(s,a,a)??c(o,a,a)??c(r,a,a)??h(a)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:m}},reimbursement:{reimbursementByTabs:{tabsById:y}},zeniAccounts:{zeniAccountList:{tabsById:A}}}}=$.getLocalizedStrings(),g={containerMarginLeft:new f(l[4],l[8]),containerMarginRight:new f(l[4],l[8]),segmentContainerMarginLeft:new f(l[4],l[8])},D=d.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{V as t,L as u,b,o as i,C as g,ah as f}from"./index-CuxRoVvZ.js";import{n as r,c}from"./mui-G2MlMTlr.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]="5ed45d61-5e6a-4b14-b681-6bba9de18f8b",e._sentryDebugIdIdentifier="sentry-dbid-5ed45d61-5e6a-4b14-b681-6bba9de18f8b")}catch{}})();function S({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return t.jsxs(y,{style:o,hasRightComponent:h,children:[t.jsx(m,{children:e.map(s=>{const a=s.id===n,d=s.isDisabled!=null;return t.jsxs($,{onClick:()=>{a===!1&&!d&&p(s)},isSelected:a,isDisabled:d,"data-testid":b("sub-tab-switcher",String(s.id)),children:[t.jsx(x,{children:s.label}),s.countDetails?.count!=null?t.jsx(w,{children:t.jsx(D,{isCircular:s.countDetails.count==null||s.countDetails.count<10,children:t.jsx(j,{children:s.countDetails.isFetching?t.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):s.countDetails.count})})}):null]},s.id)})}),l]})}const y=r.div`
1
+ import{V as t,L as u,b,o as i,C as g,ah as f}from"./index-CilRLucN.js";import{n as r,c}from"./mui-Ckdcx_YE.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]="5ed45d61-5e6a-4b14-b681-6bba9de18f8b",e._sentryDebugIdIdentifier="sentry-dbid-5ed45d61-5e6a-4b14-b681-6bba9de18f8b")}catch{}})();function S({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return t.jsxs(y,{style:o,hasRightComponent:h,children:[t.jsx(m,{children:e.map(s=>{const a=s.id===n,d=s.isDisabled!=null;return t.jsxs($,{onClick:()=>{a===!1&&!d&&p(s)},isSelected:a,isDisabled:d,"data-testid":b("sub-tab-switcher",String(s.id)),children:[t.jsx(x,{children:s.label}),s.countDetails?.count!=null?t.jsx(w,{children:t.jsx(D,{isCircular:s.countDetails.count==null||s.countDetails.count<10,children:t.jsx(j,{children:s.countDetails.isFetching?t.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):s.countDetails.count})})}):null]},s.id)})}),l]})}const y=r.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: ${e=>e.hasRightComponent?"space-between":"flex-start"};
@@ -1,4 +1,4 @@
1
- import{cx as c,h7 as u,z as p,V as n,ap as y}from"./index-CuxRoVvZ.js";import{a as m,b}from"./sentry-Cm8I7E9J.js";import{c as h,n as g,k as w}from"./mui-G2MlMTlr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="1eaba43a-29f2-4999-83e9-1475de7780c8",e._sentryDebugIdIdentifier="sentry-dbid-1eaba43a-29f2-4999-83e9-1475de7780c8")}catch{}})();const x=w`
1
+ import{cx as c,h7 as u,z as p,V as n,ap as y}from"./index-CilRLucN.js";import{a as m,b}from"./sentry-D-LCra2M.js";import{c as h,n as g,k as w}from"./mui-Ckdcx_YE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="1eaba43a-29f2-4999-83e9-1475de7780c8",e._sentryDebugIdIdentifier="sentry-dbid-1eaba43a-29f2-4999-83e9-1475de7780c8")}catch{}})();const x=w`
2
2
  from {
3
3
  opacity: 1;
4
4
  }
@@ -0,0 +1 @@
1
+ import{V as a}from"./index-CilRLucN.js";import{E as n,T as r}from"./ReloadCard-CDcJMl9F-DmOo4rMc.js";(function(){try{var d=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new d.Error().stack;e&&(d._sentryDebugIds=d._sentryDebugIds||{},d._sentryDebugIds[e]="d306c904-0bee-4952-ad63-d42a45639431",d._sentryDebugIdIdentifier="sentry-dbid-d306c904-0bee-4952-ad63-d42a45639431")}catch{}})();const s=d=>a.jsx("div",{children:d.card.fetchState==="In-Progress"||d.card.fetchState==="Not-Started"?a.jsx(n,{dimension:d.card.dimension,animated:!d.card.disableAnimations}):d.card.fetchState==="Error"?a.jsx(r,{dimension:d.card.dimension,cardType:d.card.cardType,cardIndex:d.card.cardIndex,onReloadData:d.actions.onReloadData}):a.jsx("div",{children:d.children})});export{s as c};